@univerjs-pro/bases 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/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/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/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/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2ee582,_0x44a226){const _0x33f1ae=_0x4fc5,_0x3f8614=_0x2ee582();while(!![]){try{const _0x4e282d=parseInt(_0x33f1ae(0x2e7))/0x1*(parseInt(_0x33f1ae(0x589))/0x2)+-parseInt(_0x33f1ae(0x188))/0x3+parseInt(_0x33f1ae(0x255))/0x4+-parseInt(_0x33f1ae(0x49f))/0x5+parseInt(_0x33f1ae(0x244))/0x6*(-parseInt(_0x33f1ae(0x2d7))/0x7)+parseInt(_0x33f1ae(0x42e))/0x8*(parseInt(_0x33f1ae(0x4a6))/0x9)+-parseInt(_0x33f1ae(0x5b6))/0xa;if(_0x4e282d===_0x44a226)break;else _0x3f8614['push'](_0x3f8614['shift']());}catch(_0x48dcdc){_0x3f8614['push'](_0x3f8614['shift']());}}}(_0xd0ee,0x66ac1),function(_0x3f700b,_0x38e92f){const _0x36ad3c=_0x4fc5;typeof exports=='object'&&typeof module<'u'?_0x38e92f(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==_0x36ad3c(0x3ac)&&define[_0x36ad3c(0x493)]?define([_0x36ad3c(0x437),_0x36ad3c(0x55d),_0x36ad3c(0x191),'@univerjs/protocol',_0x36ad3c(0x4b3),_0x36ad3c(0x3ef),'@univerjs/engine-formula'],_0x38e92f):(_0x3f700b=typeof globalThis<'u'?globalThis:_0x3f700b||self,_0x38e92f(_0x3f700b[_0x36ad3c(0x17d)]={},_0x3f700b[_0x36ad3c(0x519)],_0x3f700b[_0x36ad3c(0x55a)],_0x3f700b[_0x36ad3c(0x457)],_0x3f700b[_0x36ad3c(0x1f0)],_0x3f700b[_0x36ad3c(0x357)],_0x3f700b[_0x36ad3c(0x2ad)]));}(this,function(_0xed53b0,_0x13cf76,_0x43fb1e,_0x93a0d4,_0x2f1c4f,_0x44eadb,_0x310830){const _0x571676=_0x4fc5;Object[_0x571676(0x1a1)](_0xed53b0,Symbol[_0x571676(0x4ad)],{'value':_0x571676(0x1e9)});function _0x51db2d(_0x33976e){const _0x17388a=_0x571676;let _0x200744=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x267)],_0x5d7c94=_0x33976e['config'][_0x17388a(0x383)],_0x5606ae=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1dd)],_0x3e8d04=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1c0)],_0x48c1e8=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x2fe)];return typeof _0x200744!=_0x17388a(0x2b6)||!_0x200744||typeof _0x5d7c94!=_0x17388a(0x42a)||_0x5606ae!==void 0x0&&(typeof _0x5606ae!=_0x17388a(0x2b6)||!_0x5606ae)||_0x48c1e8!==void 0x0&&_0x48c1e8!==_0x13cf76[_0x17388a(0x521)]['Parent']||_0x3e8d04!==void 0x0&&(!Array[_0x17388a(0x21f)](_0x3e8d04)||_0x3e8d04[_0x17388a(0x1ab)](_0x55a17b=>typeof _0x55a17b!=_0x17388a(0x2b6)||!_0x55a17b)||new Set(_0x3e8d04)['size']!==_0x3e8d04[_0x17388a(0x4e9)])?null:{'targetTableId':_0x200744,'multiple':_0x5d7c94,..._0x5606ae?{'displayFieldId':_0x5606ae}:{},..._0x3e8d04?{'pickerFieldIds':[..._0x3e8d04]}:{},..._0x48c1e8?{'relationRole':_0x48c1e8}:{}};}function _0x5a5d43(_0xcc6c3a){const _0x3230c5=_0x571676;return typeof _0xcc6c3a!=_0x3230c5(0x2b6)||_0xcc6c3a===''?[]:_0xcc6c3a[_0x3230c5(0x21e)](',');}function _0xddc2f4(_0x2c5d64){const _0x1051de=_0x571676;return Array[_0x1051de(0x2ed)](new Set(_0x2c5d64))[_0x1051de(0x4b9)](',');}function _0x35e826(_0x414972,_0x1a939f){const _0xbf4a06=_0x571676;if(typeof _0x414972!='string')return{'valid':!0x1,'reason':_0xbf4a06(0x24b)};if(_0x414972==='')return{'valid':!0x0};let _0x43ec3d=_0x414972[_0xbf4a06(0x21e)](',');return!_0x1a939f&&_0x43ec3d[_0xbf4a06(0x4e9)]>0x1?{'valid':!0x1,'reason':_0xbf4a06(0x499)}:_0x43ec3d['some'](_0x331f13=>!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x331f13))||new Set(_0x43ec3d)[_0xbf4a06(0x366)]!==_0x43ec3d['length']||_0xddc2f4(_0x43ec3d)!==_0x414972?{'valid':!0x1,'reason':_0xbf4a06(0x40d)}:{'valid':!0x0};}function _0x5a4a77(_0x5d7208,_0x41d03c){const _0x19ba63=_0x571676;if(_0x41d03c[_0x19ba63(0x292)]!==_0x13cf76['BaseFieldType'][_0x19ba63(0x5b0)])return{'valid':!0x0};let _0x430b60=_0x51db2d(_0x41d03c),_0x346f6d=_0x430b60?_0x5d7208[_0x19ba63(0x291)][_0x430b60['targetTableId']]:void 0x0;if(!_0x430b60||!_0x346f6d)return{'valid':!0x1,'reason':_0x19ba63(0x21c)};let _0x88690f=[..._0x430b60[_0x19ba63(0x1dd)]?[_0x430b60[_0x19ba63(0x1dd)]]:[],..._0x430b60[_0x19ba63(0x1c0)]??[]][_0x19ba63(0x56a)](_0x42b218=>{const _0x485189=_0x19ba63;let _0xfa355a=_0x346f6d[_0x485189(0x3c2)][_0x42b218];return!_0xfa355a||_0xfa355a[_0x485189(0x4f8)]===!0x0||_0xfa355a[_0x485189(0x292)]===_0x13cf76[_0x485189(0x517)][_0x485189(0x2ea)];});return _0x88690f?{'valid':!0x1,'reason':_0x19ba63(0x27f)+_0x88690f+_0x19ba63(0x4a0)}:{'valid':!0x0};}function _0x5d7c0c(_0x6f3a93,_0x255236,_0x17974a,_0x44479a={}){const _0x522a3f=_0x571676;let _0x6e95ef=_0x51db2d(_0x255236);if(_0x255236[_0x522a3f(0x292)]!==_0x13cf76[_0x522a3f(0x517)][_0x522a3f(0x5b0)]||!_0x6e95ef)return{'valid':!0x1,'reason':_0x522a3f(0x566)};let _0x4959e5=_0x35e826(_0x17974a,_0x6e95ef[_0x522a3f(0x383)]);if(!_0x4959e5[_0x522a3f(0x49e)]||_0x44479a['allowDangling'])return _0x4959e5;let _0x718638=_0x6f3a93[_0x522a3f(0x291)][_0x6e95ef[_0x522a3f(0x267)]];if(!_0x718638)return{'valid':!0x1,'reason':_0x522a3f(0x21c)};let _0x1a667d=_0x5a5d43(_0x17974a)[_0x522a3f(0x56a)](_0x4024fb=>!_0x718638[_0x522a3f(0x38f)][_0x4024fb]);return _0x1a667d?{'valid':!0x1,'reason':_0x522a3f(0x322)+_0x1a667d+_0x522a3f(0x2ec)}:{'valid':!0x0};}function _0x520eb7(_0x3e6cd6,_0x3c021f){const _0x59c0da=_0x571676;return Object[_0x59c0da(0x334)](_0x3e6cd6[_0x59c0da(0x291)])[_0x59c0da(0x387)](_0x198f61=>Object['values'](_0x198f61[_0x59c0da(0x3c2)])['flatMap'](_0x18ea04=>{const _0x21f826=_0x59c0da;let _0x5b88aa=_0x18ea04[_0x21f826(0x292)]===_0x13cf76[_0x21f826(0x517)][_0x21f826(0x5b0)]?_0x51db2d(_0x18ea04):null;return(_0x5b88aa==null?void 0x0:_0x5b88aa[_0x21f826(0x267)])===_0x3c021f?[{'tableId':_0x198f61['id'],'fieldId':_0x18ea04['id']}]:[];}));}let _0x571f6c='__base_hierarchy_parent__',_0x244067=function(_0x441e26){const _0x2c948b=_0x571676;return _0x441e26['InvalidField']=_0x2c948b(0x481),_0x441e26[_0x2c948b(0x36c)]=_0x2c948b(0x2ba),_0x441e26[_0x2c948b(0x2d4)]='selfParent',_0x441e26[_0x2c948b(0x375)]=_0x2c948b(0x3f4),_0x441e26[_0x2c948b(0x2c9)]=_0x2c948b(0x2ab),_0x441e26['SortedView']='sortedView',_0x441e26;}({});var _0x2dec10=class extends Error{constructor(_0x27ebe1,_0x4b56f9='[BaseHierarchy]:\x20'+_0x27ebe1){const _0xd6cd63=_0x571676;super(_0x4b56f9),this[_0xd6cd63(0x568)]=_0x27ebe1,this[_0xd6cd63(0x46d)]=_0xd6cd63(0x486);}};let _0x75538d=function(_0x4a47c4){const _0x58f0af=_0x571676;return _0x4a47c4['UI']='ui',_0x4a47c4[_0x58f0af(0x410)]=_0x58f0af(0x1f9),_0x4a47c4[_0x58f0af(0x35e)]='remote',_0x4a47c4[_0x58f0af(0x2e4)]=_0x58f0af(0x505),_0x4a47c4[_0x58f0af(0x585)]=_0x58f0af(0x3ee),_0x4a47c4[_0x58f0af(0x2d5)]=_0x58f0af(0x330),_0x4a47c4;}({});function _0x53a126(_0x1be716,_0x2c56a3){const _0x5c3b3d=_0x571676;if(!_0x2c56a3)return!0x1;let _0x5614ac=_0x1be716[_0x5c3b3d(0x3c2)][_0x2c56a3];if(!_0x5614ac||_0x5614ac[_0x5c3b3d(0x292)]!==_0x13cf76['BaseFieldType']['RecordLink'])return!0x1;let _0x448a76=_0x51db2d(_0x5614ac);return _0x448a76?_0x448a76[_0x5c3b3d(0x267)]===_0x1be716['id']&&_0x448a76[_0x5c3b3d(0x383)]===!0x1:!0x1;}function _0x19ec27(_0x2d9cf8){const _0x79eea3=_0x571676;return[..._0x2d9cf8[_0x79eea3(0x582)],...Object[_0x79eea3(0x2db)](_0x2d9cf8[_0x79eea3(0x3c2)])[_0x79eea3(0x3c4)](_0x587adb=>!_0x2d9cf8[_0x79eea3(0x582)][_0x79eea3(0x358)](_0x587adb))[_0x79eea3(0x4af)]()]['find'](_0x211339=>{const _0x4c837e=_0x79eea3;var _0x1abe0a;return _0x53a126(_0x2d9cf8,_0x211339)?((_0x1abe0a=_0x51db2d(_0x2d9cf8[_0x4c837e(0x3c2)][_0x211339]))==null?void 0x0:_0x1abe0a[_0x4c837e(0x2fe)])===_0x13cf76[_0x4c837e(0x521)]['Parent']:!0x1;})??null;}function _0x2d5926(_0x22566f){const _0x135839=_0x571676;let _0x531f07=_0x19ec27(_0x22566f);if(_0x531f07)return _0x531f07;let _0x58e015=_0x571f6c,_0x4d541d=0x2;for(;_0x22566f[_0x135839(0x3c2)][_0x58e015];)_0x58e015=_0x571f6c+'_'+_0x4d541d++;return _0x58e015;}function _0xb8ceba(_0x586344,_0x1168fe=_0x2d5926(_0x586344),_0x184084=_0x571676(0x5b4)){const _0x708398=_0x571676;return{'id':_0x1168fe,'name':_0x184084,'type':_0x13cf76[_0x708398(0x517)][_0x708398(0x5b0)],'config':{'targetTableId':_0x586344['id'],'multiple':!0x1,'displayFieldId':_0x586344[_0x708398(0x422)],'pickerFieldIds':[_0x586344[_0x708398(0x422)]],'relationRole':_0x13cf76[_0x708398(0x521)][_0x708398(0x4ce)]}};}function _0x25a1a4(_0x16efcf){let _0x3c1e7b=_0x19ec27(_0x16efcf);return _0x3c1e7b?[_0x3c1e7b]:[];}function _0x226acd(_0x230493,_0x348e7e){const _0x223dcd=_0x571676;let _0x5ae4e0=[..._0x25a1a4(_0x230493)][_0x223dcd(0x3c4)](_0x46bc33=>_0x348e7e['some'](_0x373f25=>Object[_0x223dcd(0x41e)][_0x223dcd(0x189)]['call'](_0x373f25['values'],_0x46bc33)));if(!_0x5ae4e0[_0x223dcd(0x4e9)])return[];let _0x4bd62b={..._0x230493[_0x223dcd(0x38f)]};_0x348e7e[_0x223dcd(0x3c9)](_0x31f5b7=>{const _0x2939f4=_0x223dcd;let _0x55f001=_0x4bd62b[_0x31f5b7[_0x2939f4(0x5c4)]];_0x55f001&&(_0x4bd62b[_0x31f5b7['recordId']]={..._0x55f001,'values':{..._0x55f001['values'],..._0x31f5b7[_0x2939f4(0x334)]}});});let _0x2bfddb={..._0x230493,'records':_0x4bd62b},_0x4556d5=[];return _0x5ae4e0['forEach'](_0x1b7cf3=>{const _0x5179b0=_0x223dcd;let _0x3a4862=_0x4067d3(_0x230493,_0x1b7cf3),_0x30ee4c=_0x4067d3(_0x2bfddb,_0x1b7cf3);for(let [_0x17e4d7,_0x52b416]of _0x30ee4c[_0x5179b0(0x47f)]){let _0x3f290f=_0x348e7e[_0x5179b0(0x1ab)](_0x49e3e3=>_0x49e3e3[_0x5179b0(0x5c4)]===_0x17e4d7&&Object[_0x5179b0(0x41e)]['hasOwnProperty']['call'](_0x49e3e3[_0x5179b0(0x334)],_0x1b7cf3));if(_0x3a4862['invalidReasonByRecordId'][_0x5179b0(0x59c)](_0x17e4d7)!==_0x52b416||_0x3f290f)throw new _0x2dec10(_0x13126b(_0x52b416));}_0x348e7e[_0x5179b0(0x3c9)](_0x3076ff=>{const _0x52365=_0x5179b0;if(!Object['prototype'][_0x52365(0x189)][_0x52365(0x279)](_0x3076ff[_0x52365(0x334)],_0x1b7cf3))return;let _0x5f4693=_0x3a4862[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff['recordId'])??null,_0x3bf75b=_0x30ee4c[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff[_0x52365(0x5c4)])??null;_0x5f4693!==_0x3bf75b&&_0x4556d5[_0x52365(0x401)]({'tableId':_0x230493['id'],'fieldId':_0x1b7cf3,'recordId':_0x3076ff[_0x52365(0x5c4)],'oldParentRecordId':_0x5f4693,'parentRecordId':_0x3bf75b});});}),_0x4556d5;}function _0x16b24a(_0x49b8c4,_0x4e718e){const _0xbc33a8=_0x571676;let _0x359d21=_0x4e718e['map'](_0xde6e9d=>_0xde6e9d['id']);if(new Set(_0x359d21)[_0xbc33a8(0x366)]!==_0x359d21['length']||_0x359d21['some'](_0x45bdae=>_0x49b8c4['records'][_0x45bdae]))return[];let _0x3508ff=_0x25a1a4(_0x49b8c4),_0x4bbbd9=_0x3508ff['length']?null:_0x2d5926(_0x49b8c4),_0x22ce5b=[..._0x3508ff,..._0x4bbbd9&&_0x4e718e['some'](_0x1087e8=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)]['call'](_0x1087e8[_0xbc33a8(0x334)],_0x4bbbd9))?[_0x4bbbd9]:[]][_0xbc33a8(0x3c4)](_0x43157a=>_0x4e718e['some'](_0x146409=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)][_0xbc33a8(0x279)](_0x146409['values'],_0x43157a)));if(!_0x22ce5b['length'])return[];let _0x2eaaa3={..._0x49b8c4,'records':{..._0x49b8c4[_0xbc33a8(0x38f)],...Object[_0xbc33a8(0x1fc)](_0x4e718e['map'](_0x3a0ed4=>[_0x3a0ed4['id'],_0x3a0ed4]))},'recordOrder':[..._0x49b8c4[_0xbc33a8(0x1cd)]??[],..._0x4e718e[_0xbc33a8(0x329)](_0x5990a1=>_0x5990a1['id'])]},_0x578024=[];return _0x22ce5b[_0xbc33a8(0x3c9)](_0x330240=>{const _0x2e3cc0=_0xbc33a8;let _0x173070=_0x4067d3(_0x2eaaa3,_0x330240);_0x4e718e[_0x2e3cc0(0x3c9)](_0x28f811=>{const _0x131b6b=_0x2e3cc0;let _0x334869=_0x173070['invalidReasonByRecordId']['get'](_0x28f811['id']);if(_0x334869)throw new _0x2dec10(_0x13126b(_0x334869));let _0x2cf318=_0x173070[_0x131b6b(0x31b)][_0x131b6b(0x59c)](_0x28f811['id'])??null;_0x2cf318&&_0x578024['push']({'tableId':_0x49b8c4['id'],'fieldId':_0x330240,'recordId':_0x28f811['id'],'oldParentRecordId':null,'parentRecordId':_0x2cf318});});}),_0x578024;}function _0x13126b(_0x380ae6){const _0x10c4d7=_0x571676;switch(_0x380ae6){case _0x13cf76[_0x10c4d7(0x462)]['MissingParent']:return _0x10c4d7(0x2ba);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x2d4)]:return _0x10c4d7(0x41c);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x375)]:return _0x10c4d7(0x3f4);case _0x13cf76[_0x10c4d7(0x462)][_0x10c4d7(0x2c9)]:return'maxDepth';}}function _0xaf3938(_0x3ed24a,_0x44f7b2){const _0x2e2528=_0x571676;let _0x597c5e=new Set(_0x44f7b2),_0x191604=_0x25a1a4(_0x3ed24a);return Object[_0x2e2528(0x334)](_0x3ed24a[_0x2e2528(0x38f)])[_0x2e2528(0x387)](_0xc91bae=>_0x597c5e['has'](_0xc91bae['id'])?[]:Array['from'](_0x191604)[_0x2e2528(0x387)](_0x483ee3=>{const _0x1151c1=_0x2e2528;let _0x3e5ebb=_0x5a5d43(_0xc91bae[_0x1151c1(0x334)][_0x483ee3])[0x0]??null;return _0x3e5ebb&&_0x597c5e[_0x1151c1(0x370)](_0x3e5ebb)?[{'tableId':_0x3ed24a['id'],'fieldId':_0x483ee3,'recordId':_0xc91bae['id'],'oldParentRecordId':_0x3e5ebb,'parentRecordId':null}]:[];}));}function _0x4067d3(_0x1fca16,_0x2ef266,_0x2a9b15=_0x1fca16[_0x571676(0x1cd)]??Object[_0x571676(0x2db)](_0x1fca16[_0x571676(0x38f)])){const _0x6b3a0b=_0x571676;if((_0x1fca16[_0x6b3a0b(0x3c2)][_0x2ef266]||_0x2ef266!==_0x2d5926(_0x1fca16))&&!_0x53a126(_0x1fca16,_0x2ef266))throw Error(_0x6b3a0b(0x22b)+_0x2ef266+_0x6b3a0b(0x448));let _0x2bf127=_0x4ee215(_0x1fca16,_0x2a9b15),_0x5003ba=new Map(),_0x230140=new Map();for(let _0x75c89 of _0x2bf127){var _0x2af7d4;let _0x5b83cc=_0x5a5d43((_0x2af7d4=_0x1fca16[_0x6b3a0b(0x38f)][_0x75c89])==null?void 0x0:_0x2af7d4[_0x6b3a0b(0x334)][_0x2ef266])[0x0]??null;_0x5b83cc?_0x5b83cc===_0x75c89?(_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76['BaseHierarchyInvalidReason'][_0x6b3a0b(0x2d4)])):_0x1fca16[_0x6b3a0b(0x38f)][_0x5b83cc]?_0x5003ba['set'](_0x75c89,_0x5b83cc):(_0x5003ba['set'](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76[_0x6b3a0b(0x462)]['MissingParent'])):_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null);}_0x1557fa(_0x5003ba,_0x230140,_0x2bf127),_0x3cbf33(_0x5003ba,_0x230140,_0x2bf127);let _0x378f4b=new Map(_0x2bf127['map']((_0x16b858,_0x3d02b0)=>[_0x16b858,_0x3d02b0])),_0x263fe2=new Map();for(let _0x5a6cf1 of _0x2bf127){let _0x2e19bb=_0x5003ba['get'](_0x5a6cf1)??null,_0x44143b=_0x263fe2['get'](_0x2e19bb)??[];_0x44143b[_0x6b3a0b(0x401)](_0x5a6cf1),_0x263fe2[_0x6b3a0b(0x569)](_0x2e19bb,_0x44143b);}_0x263fe2[_0x6b3a0b(0x3c9)](_0x277e22=>_0x277e22[_0x6b3a0b(0x4af)]((_0x2940f9,_0x3d66e6)=>(_0x378f4b[_0x6b3a0b(0x59c)](_0x2940f9)??0x0)-(_0x378f4b['get'](_0x3d66e6)??0x0)));let _0x800be0=_0x263fe2[_0x6b3a0b(0x59c)](null)??[],_0x52bc43=new Map(),_0x156b86=new Map(),_0x4a8212=[],_0x152362=(_0x407479,_0x495adf)=>{const _0xf38bb4=_0x6b3a0b;_0x52bc43[_0xf38bb4(0x569)](_0x407479,_0x495adf),_0x4a8212[_0xf38bb4(0x401)](_0x407479);let _0x26d656=0x0;for(let _0x4b645b of _0x263fe2['get'](_0x407479)??[])_0x26d656=Math['max'](_0x26d656,0x1+_0x152362(_0x4b645b,_0x495adf+0x1));return _0x156b86[_0xf38bb4(0x569)](_0x407479,_0x26d656),_0x26d656;};return _0x800be0[_0x6b3a0b(0x3c9)](_0x217cc5=>_0x152362(_0x217cc5,0x0)),{'fieldId':_0x2ef266,'parentByRecordId':_0x5003ba,'childrenByParentId':_0x263fe2,'depthByRecordId':_0x52bc43,'subtreeHeightByRecordId':_0x156b86,'invalidReasonByRecordId':_0x230140,'rootRecordIds':_0x800be0,'orderedRecordIds':_0x4a8212};}function _0x4ceb91(_0x3158bc,_0x25d0ee,_0x359045=new Set(_0x25d0ee[_0x571676(0x329)](_0x29895b=>_0x29895b[_0x571676(0x5c4)]))){const _0x41eff1=_0x571676;let _0x4111f3=new Set(_0x359045);for(let _0x54398b of _0x359045){let _0x385dae=_0x3158bc['parentByRecordId']['get'](_0x54398b)??null;for(;_0x385dae;)_0x4111f3[_0x41eff1(0x54c)](_0x385dae),_0x385dae=_0x3158bc['parentByRecordId'][_0x41eff1(0x59c)](_0x385dae)??null;}let _0x5a31fc=new Map(_0x25d0ee[_0x41eff1(0x329)](_0x527881=>[_0x527881[_0x41eff1(0x5c4)],_0x527881])),_0x245902=_0x3158bc[_0x41eff1(0x5d5)][_0x41eff1(0x3c4)](_0x218d95=>_0x4111f3['has'](_0x218d95)),_0x1a395d=_0x245902[_0x41eff1(0x387)](_0x146cf2=>{const _0x1873d1=_0x41eff1;let _0x3e093d=_0x5a31fc[_0x1873d1(0x59c)](_0x146cf2);return _0x3e093d?[_0x3e093d]:[];}),_0x3580c6={};for(let _0x15601d=0x0;_0x15601d<_0x245902['length'];_0x15601d++){let _0x1d9fcf=_0x245902[_0x15601d];_0x3580c6[_0x1d9fcf]={'recordId':_0x1d9fcf,'parentRecordId':_0x3158bc[_0x41eff1(0x31b)]['get'](_0x1d9fcf)??null,'depth':_0x3158bc[_0x41eff1(0x45b)]['get'](_0x1d9fcf)??0x0,'directChildCount':(_0x3158bc[_0x41eff1(0x296)]['get'](_0x1d9fcf)??[])[_0x41eff1(0x4e9)],'subtreeHeight':_0x3158bc[_0x41eff1(0x538)][_0x41eff1(0x59c)](_0x1d9fcf)??0x0,'subtreeEndIndex':_0x15601d,'invalidReason':_0x3158bc[_0x41eff1(0x47f)]['get'](_0x1d9fcf)};}let _0x4c28ac=[];for(let _0x1d708d=0x0;_0x1d708d<_0x245902['length'];_0x1d708d++){let _0x12e88a=_0x245902[_0x1d708d],_0x20abba=_0x3580c6[_0x12e88a][_0x41eff1(0x41a)];for(;_0x4c28ac[_0x41eff1(0x4e9)]&&_0x4c28ac[_0x4c28ac[_0x41eff1(0x4e9)]-0x1][_0x41eff1(0x41a)]>=_0x20abba;){let _0x18a975=_0x4c28ac['pop']();_0x3580c6[_0x18a975[_0x41eff1(0x5c4)]]['subtreeEndIndex']=_0x1d708d-0x1;}_0x4c28ac[_0x41eff1(0x401)]({'recordId':_0x12e88a,'depth':_0x20abba});}return _0x4c28ac[_0x41eff1(0x3c9)](({recordId:_0x5a54fd})=>{const _0x33844d=_0x41eff1;_0x3580c6[_0x5a54fd][_0x33844d(0x28d)]=_0x245902[_0x33844d(0x4e9)]-0x1;}),{'rows':_0x1a395d,'hierarchy':{'fieldId':_0x3158bc['fieldId'],'rootRecordIds':_0x3158bc[_0x41eff1(0x549)][_0x41eff1(0x3c4)](_0x39a010=>_0x4111f3['has'](_0x39a010)),'orderedRecordIds':_0x245902,'nodes':_0x3580c6}};}function _0x4e1dc3(_0x52d34c,_0x120d30){const _0xeb51ce=_0x571676;if(!_0x52d34c[_0xeb51ce(0x206)]||!(_0x120d30!=null&&_0x120d30[_0xeb51ce(0x366)]))return _0x52d34c['rows'];let _0x3c3a9e=[],_0x4f8431=0x0;for(;_0x4f8431<_0x52d34c['rows'][_0xeb51ce(0x4e9)];){let _0xbc255b=_0x52d34c[_0xeb51ce(0x3f0)][_0x4f8431];_0x3c3a9e[_0xeb51ce(0x401)](_0xbc255b);let _0x1000a6=_0x52d34c[_0xeb51ce(0x206)]['nodes'][_0xbc255b[_0xeb51ce(0x5c4)]];_0x4f8431=_0x120d30[_0xeb51ce(0x370)](_0xbc255b[_0xeb51ce(0x5c4)])&&_0x1000a6?_0x1000a6[_0xeb51ce(0x28d)]+0x1:_0x4f8431+0x1;}return _0x3c3a9e;}function _0x158fff(_0x2b30db,_0x3fd08d,_0x40061b){const _0x59d023=_0x571676;if(!_0x40061b)return{'valid':!0x0};if(_0x3fd08d===_0x40061b)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x2d4)]};let _0xa26a47=_0x40061b;for(;_0xa26a47;){if(_0xa26a47===_0x3fd08d)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x375)]};_0xa26a47=_0x2b30db['parentByRecordId'][_0x59d023(0x59c)](_0xa26a47)??null;}return(_0x2b30db[_0x59d023(0x45b)][_0x59d023(0x59c)](_0x40061b)??0x0)+0x1+(_0x2b30db[_0x59d023(0x538)][_0x59d023(0x59c)](_0x3fd08d)??0x0)>=0x5?{'valid':!0x1,'reason':_0x13cf76['BaseHierarchyInvalidReason'][_0x59d023(0x2c9)]}:{'valid':!0x0};}function _0x4ee215(_0x1bfc4e,_0x6fcfe9){const _0x1abade=_0x571676;let _0x37a3f6=new Set(),_0x3a7b6a=[];for(let _0xf9d1d5 of _0x6fcfe9)_0x1bfc4e[_0x1abade(0x38f)][_0xf9d1d5]&&!_0x37a3f6['has'](_0xf9d1d5)&&(_0x37a3f6[_0x1abade(0x54c)](_0xf9d1d5),_0x3a7b6a['push'](_0xf9d1d5));return Object[_0x1abade(0x2db)](_0x1bfc4e[_0x1abade(0x38f)])['sort']()[_0x1abade(0x3c9)](_0x498cc2=>{const _0x36fbad=_0x1abade;_0x37a3f6[_0x36fbad(0x370)](_0x498cc2)||_0x3a7b6a[_0x36fbad(0x401)](_0x498cc2);}),_0x3a7b6a;}function _0x1557fa(_0x2a0d0f,_0x1fa4b6,_0xfbeca6){const _0xa302ef=_0x571676;let _0xfc0c1e=new Set();for(let _0x13ffab of _0xfbeca6){if(_0xfc0c1e['has'](_0x13ffab))continue;let _0x590a7f=[],_0x22c4f0=new Map(),_0x57d354=_0x13ffab;for(;_0x57d354&&!_0xfc0c1e[_0xa302ef(0x370)](_0x57d354);){let _0x4f66fe=_0x22c4f0[_0xa302ef(0x59c)](_0x57d354);if(_0x4f66fe!=null){let _0x3c449a=[..._0x590a7f[_0xa302ef(0x377)](_0x4f66fe)][_0xa302ef(0x4af)]()[_0xa302ef(0x4e4)]();_0x2a0d0f['set'](_0x3c449a,null),_0x1fa4b6['set'](_0x3c449a,_0x13cf76['BaseHierarchyInvalidReason'][_0xa302ef(0x375)]);break;}_0x22c4f0['set'](_0x57d354,_0x590a7f[_0xa302ef(0x4e9)]),_0x590a7f[_0xa302ef(0x401)](_0x57d354),_0x57d354=_0x2a0d0f[_0xa302ef(0x59c)](_0x57d354)??null;}_0x590a7f[_0xa302ef(0x3c9)](_0x3f0fea=>_0xfc0c1e['add'](_0x3f0fea));}}function _0x3cbf33(_0xbd46f4,_0x2acab0,_0x459583){const _0x20c412=_0x571676;let _0x5894ab=new Map(),_0x6759c3=_0x2eb869=>{const _0x3cb11b=_0x4fc5;let _0x4ce513=_0x5894ab[_0x3cb11b(0x59c)](_0x2eb869);if(_0x4ce513!=null)return _0x4ce513;let _0x18f0bc=_0xbd46f4[_0x3cb11b(0x59c)](_0x2eb869)??null;if(!_0x18f0bc)return _0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0;let _0x76c73e=_0x6759c3(_0x18f0bc)+0x1;return _0x76c73e>=0x5?(_0xbd46f4[_0x3cb11b(0x569)](_0x2eb869,null),_0x2acab0[_0x3cb11b(0x569)](_0x2eb869,_0x13cf76[_0x3cb11b(0x462)][_0x3cb11b(0x2c9)]),_0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0):(_0x5894ab['set'](_0x2eb869,_0x76c73e),_0x76c73e);};_0x459583[_0x20c412(0x3c9)](_0x6759c3);}let _0x18bf57=0x0;function _0x60e31d(){const _0x979aa6=_0x571676;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x508164=typeof location>'u'?'':location[_0x979aa6(0x2b2)],_0x47bf1f=new URLSearchParams(_0x508164);if(_0x47bf1f[_0x979aa6(0x59c)]('basePerf')==='1'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x42b))==='true'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x475))==='1')return!0x0;}catch{}try{let _0x5a7431=typeof localStorage>'u'?null:localStorage[_0x979aa6(0x2e6)]('univer.basePerf');return _0x5a7431==='1'||_0x5a7431===_0x979aa6(0x477);}catch{return!0x1;}}function _0x32800a(_0x57236f,_0x992e0c,_0x40c6cd){const _0x34cac1=_0x571676;if(!_0x60e31d())return _0x992e0c();let _0x28bf42=_0x4de031(),_0x5506ab=_0x34cac1(0x1a8)+_0x18bf57++;_0x5d9b82(_0x5506ab+_0x34cac1(0x1f5));try{return _0x992e0c();}finally{let _0x432dce=_0x4de031()-_0x28bf42;_0x5d9b82(_0x5506ab+':end'),_0x46f238(_0x57236f,_0x5506ab+_0x34cac1(0x1f5),_0x5506ab+_0x34cac1(0x276)),_0x159ee3(_0x57236f,_0x432dce,_0x40c6cd);}}function _0x159ee3(_0x303a0f,_0x339577,_0x412f5d){const _0x4d0d78=_0x571676;if(!_0x60e31d())return;let _0x41b54a=Math['round'](_0x339577*0x64)/0x64,_0x2d2b81=_0x412f5d&&Object[_0x4d0d78(0x2db)](_0x412f5d)['length']?'\x20'+JSON[_0x4d0d78(0x30d)](_0x412f5d):'';console[_0x4d0d78(0x2c1)](_0x4d0d78(0x308)+_0x303a0f+':\x20'+_0x41b54a+'ms'+_0x2d2b81);}function _0x4de031(){const _0x17d879=_0x571676;return typeof performance<'u'&&typeof performance[_0x17d879(0x5e4)]==_0x17d879(0x3ac)?performance['now']():Date[_0x17d879(0x5e4)]();}function _0x5d9b82(_0x410fb2){const _0x4af60c=_0x571676;try{if(typeof performance<'u'){var _0x400d89,_0x32cd22;(_0x400d89=(_0x32cd22=performance)[_0x4af60c(0x19c)])==null||_0x400d89[_0x4af60c(0x279)](_0x32cd22,_0x410fb2);}}catch{}}function _0x46f238(_0xb6fe07,_0x3b6bd4,_0x3de883){const _0x1c4ac0=_0x571676;try{if(typeof performance<'u'){var _0x216f82,_0x6e1ab9;(_0x216f82=(_0x6e1ab9=performance)['measure'])==null||_0x216f82[_0x1c4ac0(0x279)](_0x6e1ab9,_0x1c4ac0(0x308)+_0xb6fe07,_0x3b6bd4,_0x3de883);}}catch{}}function _0x48b6e1(_0x342547){const _0x3af999=_0x571676;var _0x2f54ad;return _0x60e31d()?_0x32800a(_0x3af999(0x202),()=>_0x2bae1e(_0x342547),{'tableId':_0x342547['id'],'records':Object[_0x3af999(0x2db)](_0x342547[_0x3af999(0x38f)]??{})['length'],'fields':_0x342547['fieldOrder'][_0x3af999(0x4e9)],'hasRecordOrder':!!((_0x2f54ad=_0x342547[_0x3af999(0x1cd)])!=null&&_0x2f54ad[_0x3af999(0x4e9)])}):_0x2bae1e(_0x342547);}function _0x2bae1e(_0x5a6ad6){const _0x3dd784=_0x571676;var _0x2669f5;let _0x487cd9=_0x5a6ad6[_0x3dd784(0x38f)]??{},_0x3c3877=_0x5a6ad6['fields']??{},_0x3ae235=((_0x2669f5=_0x5a6ad6['recordOrder'])==null?void 0x0:_0x2669f5['filter'](_0x373a13=>_0x487cd9[_0x373a13]))??[],_0x2341e6=new Set(_0x3ae235),_0x3ea379=[];for(let _0x3a954e of Object['values'](_0x487cd9))_0x2341e6[_0x3dd784(0x370)](_0x3a954e['id'])||_0x3ea379[_0x3dd784(0x401)](_0x3a954e);let _0x15cb3b=_0x3ea379[_0x3dd784(0x4e9)]?[..._0x3ae235,..._0x50f6b3(_0x3ea379)]:_0x3ae235,_0x5056b7=_0x5a6ad6[_0x3dd784(0x582)][_0x3dd784(0x3c4)](_0x3e310f=>_0x3c3877[_0x3e310f]),_0x166e14={..._0x5a6ad6[_0x3dd784(0x556)]??{}},_0x708379={..._0x5a6ad6['colId']??{}},_0x4e0658={..._0x5a6ad6[_0x3dd784(0x38e)]??{}};_0x5a6ad6['recordOrder']=_0x15cb3b,_0x5a6ad6['rowIndex']={},_0x5a6ad6[_0x3dd784(0x556)]={},_0x5a6ad6[_0x3dd784(0x28e)]={},_0x5a6ad6['colId']={},_0x5a6ad6[_0x3dd784(0x38e)]={},_0x5a6ad6[_0x3dd784(0x23c)]={..._0x5a6ad6['resources']??{}},_0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]={..._0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]??{}},_0x5a6ad6['resources']['attachments']={..._0x5a6ad6['resources']['attachments']??{}};let _0x197219=_0x5a6ad6[_0x3dd784(0x563)],_0x390dc4=_0x5a6ad6[_0x3dd784(0x556)],_0x17fc9e=_0x5a6ad6[_0x3dd784(0x28e)],_0x1bdb63=_0x5a6ad6[_0x3dd784(0x351)],_0x31478c=_0x5a6ad6[_0x3dd784(0x38e)];return _0x15cb3b['forEach']((_0x223855,_0x238a1f)=>{_0x197219[_0x223855]=_0x238a1f,_0x390dc4[_0x238a1f]=_0x223855;}),_0x5056b7[_0x3dd784(0x3c9)]((_0x28e6aa,_0x4afbae)=>{_0x17fc9e[_0x28e6aa]=_0x4afbae,_0x1bdb63[_0x4afbae]=_0x28e6aa;}),Object[_0x3dd784(0x460)](_0x4e0658)[_0x3dd784(0x3c9)](([_0x417552,_0x4b8466])=>{let _0x3bceaa=Number(_0x417552),_0x1aab66=_0x166e14[_0x3bceaa]??_0x15cb3b[_0x3bceaa],_0x40a035=_0x1aab66?_0x197219[_0x1aab66]:void 0x0;_0x40a035!=null&&(_0x31478c[_0x40a035]={..._0x31478c[_0x40a035]??{}},Object['entries'](_0x4b8466??{})['forEach'](([_0x5799d3,_0x19c0f1])=>{let _0x4e4343=Number(_0x5799d3),_0x35ea75=_0x708379[_0x4e4343]??_0x5056b7[_0x4e4343],_0x4dff7c=_0x35ea75?_0x17fc9e[_0x35ea75]:void 0x0;_0x4dff7c!=null&&(_0x31478c[_0x40a035][_0x4dff7c]=_0xfd4c49(_0x19c0f1));}));}),Object['values'](_0x487cd9)[_0x3dd784(0x3c9)](_0x2c9654=>{const _0x4a1719=_0x3dd784;let _0x593287=_0x197219[_0x2c9654['id']];_0x593287!=null&&(_0x2c9654[_0x4a1719(0x334)]={..._0x2c9654['values']??{},[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x2c9654['id']},_0x31478c[_0x593287]={..._0x31478c[_0x593287]??{},0x0:{'v':_0x2c9654['id'],'t':_0x13cf76[_0x4a1719(0x32d)][_0x4a1719(0x562)]}},Object[_0x4a1719(0x460)](_0x2c9654['values']??{})[_0x4a1719(0x3c9)](([_0x20c5b8,_0x11f46e])=>{const _0x554a03=_0x4a1719;let _0x295371=_0x3c3877[_0x20c5b8];(_0x295371==null?void 0x0:_0x295371[_0x554a03(0x292)])===_0x13cf76[_0x554a03(0x517)][_0x554a03(0x312)]&&_0x9b3645(_0x5a6ad6,_0x2c9654['id'],_0x20c5b8,_0x11f46e);let _0xd6e262=_0x17fc9e[_0x20c5b8];if(_0xd6e262==null)return;let _0xc5338e=_0x31478c[_0x593287][_0xd6e262];(_0xc5338e==null||_0x58e19b(_0xc5338e,_0x295371,_0x11f46e))&&(_0x31478c[_0x593287][_0xd6e262]=_0x4c5834(_0x11f46e,_0x295371));}));}),_0x5a6ad6;}function _0x2a0625(_0x1ac0cf,_0x284975){const _0x378b22=_0x571676;return _0x1ac0cf[_0x378b22(0x38f)]=Object[_0x378b22(0x1fc)](Object[_0x378b22(0x460)](_0x1ac0cf[_0x378b22(0x38f)])[_0x378b22(0x329)](([_0x4d9a02,_0x2c44c3])=>[_0x4d9a02,{..._0x2c44c3}])),_0x48b6e1(_0x1ac0cf),Object[_0x378b22(0x460)](_0x1ac0cf['rowId']??{})['forEach'](([_0x203ab1,_0x5ee146])=>{const _0x2d3884=_0x378b22;var _0x27a87f;let _0x4cea3c=Number(_0x203ab1),_0x23950a=_0x1ac0cf[_0x2d3884(0x38f)][_0x5ee146];_0x23950a&&(_0x23950a[_0x2d3884(0x334)]={..._0x23950a['values']??{}},Object[_0x2d3884(0x460)](((_0x27a87f=_0x1ac0cf[_0x2d3884(0x38e)])==null?void 0x0:_0x27a87f[_0x4cea3c])??{})[_0x2d3884(0x3c9)](([_0x145c08,_0x30cc9a])=>{const _0x41b60f=_0x2d3884;var _0x576b96;let _0x14d97d=(_0x576b96=_0x1ac0cf[_0x41b60f(0x351)])==null?void 0x0:_0x576b96[Number(_0x145c08)];_0x14d97d&&_0x284975&&!_0x284975(_0x5ee146,_0x14d97d)||(_0x14d97d===_0x13cf76[_0x41b60f(0x544)]?_0x23950a[_0x41b60f(0x334)][_0x13cf76[_0x41b60f(0x544)]]=_0x23950a['id']:_0x14d97d&&(_0x23950a['values'][_0x14d97d]=_0x17b274(_0x30cc9a,_0x1ac0cf['fields'][_0x14d97d],_0x1ac0cf,_0x5ee146)));}));}),_0x1ac0cf;}function _0x4ff55d(_0x5be9f1,_0xd1444c){const _0x3ebd63=_0x571676;for(let {row:_0x3729d5,col:_0x43048f}of _0xd1444c){var _0x3f1cdc,_0x250820,_0x2d007d;let _0x267644=(_0x3f1cdc=_0x5be9f1['rowId'])==null?void 0x0:_0x3f1cdc[_0x3729d5],_0x315f54=(_0x250820=_0x5be9f1[_0x3ebd63(0x351)])==null?void 0x0:_0x250820[_0x43048f],_0x55d8c1=_0x267644?_0x5be9f1[_0x3ebd63(0x38f)][_0x267644]:void 0x0;if(!_0x55d8c1||!_0x315f54)continue;if(_0x315f54===_0x13cf76['BASE_RECORD_ID_FIELD_ID']){_0x55d8c1[_0x3ebd63(0x334)][_0x13cf76[_0x3ebd63(0x544)]]=_0x55d8c1['id'];continue;}let _0x576520=(_0x2d007d=_0x5be9f1['cellData'])==null||(_0x2d007d=_0x2d007d[_0x3729d5])==null?void 0x0:_0x2d007d[_0x43048f];(_0x576520!=null||Object[_0x3ebd63(0x41e)]['hasOwnProperty'][_0x3ebd63(0x279)](_0x55d8c1[_0x3ebd63(0x334)]??{},_0x315f54))&&(_0x55d8c1[_0x3ebd63(0x334)]={..._0x55d8c1[_0x3ebd63(0x334)]??{}},_0x55d8c1[_0x3ebd63(0x334)][_0x315f54]=_0x17b274(_0x576520,_0x5be9f1[_0x3ebd63(0x3c2)][_0x315f54],_0x5be9f1,_0x267644));}return _0x5be9f1;}function _0x46d754(_0x42bba8,_0x17ac34,_0x52c591){const _0x4b5b97=_0x571676;var _0x36e4f4,_0x46f3b8,_0x4f045c,_0x3165bb,_0x35181b,_0x592b6e;let _0x55675b=(_0x36e4f4=_0x42bba8['rowIndex'])==null?void 0x0:_0x36e4f4[_0x17ac34],_0x53e812=(_0x46f3b8=_0x42bba8['colIndex'])==null?void 0x0:_0x46f3b8[_0x52c591];if(_0x55675b!=null&&_0x53e812!=null&&((_0x4f045c=_0x42bba8['rowId'])==null?void 0x0:_0x4f045c[_0x55675b])===_0x17ac34&&((_0x3165bb=_0x42bba8[_0x4b5b97(0x351)])==null?void 0x0:_0x3165bb[_0x53e812])===_0x52c591)return{'row':_0x55675b,'col':_0x53e812};let _0x362f94=_0x48b6e1(_0x42bba8),_0x196aad=(_0x35181b=_0x362f94[_0x4b5b97(0x563)])==null?void 0x0:_0x35181b[_0x17ac34],_0x4edbc1=(_0x592b6e=_0x362f94['colIndex'])==null?void 0x0:_0x592b6e[_0x52c591];return _0x196aad==null||_0x4edbc1==null?null:{'row':_0x196aad,'col':_0x4edbc1};}function _0x5acb7f(_0x3a0ea2,_0x2d6928,_0x3c1ada){const _0xb7e7ae=_0x571676;var _0x19768e;let _0x58926c=_0x46d754(_0x3a0ea2,_0x2d6928,_0x3c1ada);if(_0x58926c)return(_0x19768e=_0x3a0ea2[_0xb7e7ae(0x38e)])==null||(_0x19768e=_0x19768e[_0x58926c[_0xb7e7ae(0x22f)]])==null?void 0x0:_0x19768e[_0x58926c[_0xb7e7ae(0x5ac)]];}function _0x5d2adc(_0x5cd73d,_0x5f5e02,_0x229bef){const _0x2fb237=_0x571676;var _0x44e122;let _0x27dd7e=_0x5acb7f(_0x5cd73d,_0x5f5e02,_0x229bef),_0xf9c3e0=_0x5cd73d[_0x2fb237(0x3c2)][_0x229bef];if((_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x312)]){var _0x5595a3;return _0xef3bd(_0x5cd73d,_0x5f5e02,_0x229bef)??_0x293a71((_0x5595a3=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x5595a3=_0x5595a3[_0x2fb237(0x334)])==null?void 0x0:_0x5595a3[_0x229bef]);}if(_0x7652b5(_0xf9c3e0)||_0x30cfed(_0xf9c3e0)||(_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x3b6)]){var _0x4e331d;let _0x258e35=(_0x4e331d=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x4e331d=_0x4e331d[_0x2fb237(0x334)])==null?void 0x0:_0x4e331d[_0x229bef];return _0x258e35!=null&&_0x258e35!==''?_0x7e7bc3(_0x258e35,_0xf9c3e0):_0x17b274(_0x27dd7e,_0xf9c3e0,_0x5cd73d,_0x5f5e02);}return _0x27dd7e&&Object[_0x2fb237(0x41e)][_0x2fb237(0x189)][_0x2fb237(0x279)](_0x27dd7e,'v')?_0x27dd7e['v']??null:((_0x44e122=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x44e122=_0x44e122['values'])==null?void 0x0:_0x44e122[_0x229bef])??null;}function _0x41bd7c(_0x440021,_0x23c86f,_0x172468){const _0x33e55a=_0x571676;var _0x2fac99;let _0x2a055d=_0x5acb7f(_0x440021,_0x23c86f,_0x172468);if(_0x2a055d&&Object['prototype'][_0x33e55a(0x189)][_0x33e55a(0x279)](_0x2a055d,'v'))return _0x2a055d['v']??null;let _0x2b7545=_0x440021[_0x33e55a(0x3c2)][_0x172468];return _0x4c5834(((_0x2fac99=_0x440021[_0x33e55a(0x38f)][_0x23c86f])==null||(_0x2fac99=_0x2fac99['values'])==null?void 0x0:_0x2fac99[_0x172468])??null,_0x2b7545)['v']??null;}function _0x4c5834(_0x140e01,_0x292cd7){const _0x5cdf09=_0x571676;if(_0x3f35e5(_0x140e01))return(_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)]['Attachment']?{..._0x140e01,'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]}:_0xfd4c49(_0x140e01);if((_0x292cd7==null?void 0x0:_0x292cd7['type'])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x312)])return{'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};if(_0x30cfed(_0x292cd7)){let _0x539786=_0x473be(_0x140e01);return{'v':_0x539786,'t':_0x5e8cd6(_0x539786)};}if(_0x7652b5(_0x292cd7))return{'v':_0x2d166e(_0x140e01)[_0x5cdf09(0x4b9)](',\x20'),'t':_0x13cf76['CellValueType'][_0x5cdf09(0x562)]};if((_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x3b6)]&&_0x140e01&&typeof _0x140e01==_0x5cdf09(0x1a7)&&!Array[_0x5cdf09(0x21f)](_0x140e01)){let _0x14a42c=_0x140e01;return{'v':String(_0x14a42c['text']??_0x14a42c['url']??''),'t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};}return _0x140e01===null||typeof _0x140e01=='string'||typeof _0x140e01==_0x5cdf09(0x3dc)||typeof _0x140e01=='boolean'?{'v':_0x140e01,'t':_0x5e8cd6(_0x140e01)}:{'v':null,'t':null};}function _0xfd4c49(_0x3fdae8){let _0x2673bd=_0x11c8d3(_0x3fdae8['t'],_0x3fdae8['v']);if(_0x2673bd===void 0x0){let {t:_0x1ef04d,..._0x346d99}=_0x3fdae8;return _0x346d99;}return{..._0x3fdae8,'t':_0x2673bd};}function _0x17b274(_0x3a3454,_0x573821,_0x5dc18d,_0x70655){const _0x58e103=_0x571676;if(!_0x3a3454)return null;if((_0x573821==null?void 0x0:_0x573821[_0x58e103(0x292)])===_0x13cf76[_0x58e103(0x517)][_0x58e103(0x312)])return _0x5dc18d&&_0x70655?_0xef3bd(_0x5dc18d,_0x70655,_0x573821['id'])??[]:[];if(_0x7652b5(_0x573821))return _0x2d166e(_0x3a3454['v']);if((_0x573821==null?void 0x0:_0x573821['type'])===_0x13cf76[_0x58e103(0x517)]['Link']&&_0x5dc18d&&_0x70655){var _0x5adc80;let _0x114a4e=(_0x5adc80=_0x5dc18d[_0x58e103(0x38f)][_0x70655])==null||(_0x5adc80=_0x5adc80['values'])==null?void 0x0:_0x5adc80[_0x573821['id']];if(_0x114a4e&&typeof _0x114a4e==_0x58e103(0x1a7)&&!Array['isArray'](_0x114a4e))return _0x114a4e;}return Object[_0x58e103(0x41e)][_0x58e103(0x189)][_0x58e103(0x279)](_0x3a3454,'v')?_0x3a3454['v']??null:null;}function _0x19f247(_0x10e6ca,_0x5aba94,_0x510815,_0x35b8e8,_0x57b722){const _0x40fda1=_0x571676;return(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType']['Attachment']?_0x293a71(_0x10e6ca):_0x30cfed(_0x510815)?_0x473be(_0x10e6ca):_0x7652b5(_0x510815)?_0x2d166e(_0x10e6ca):(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType'][_0x40fda1(0x3b6)]&&(_0x10e6ca==null||_0x10e6ca==='')?null:(_0x510815==null?void 0x0:_0x510815['type'])===_0x13cf76[_0x40fda1(0x517)][_0x40fda1(0x3b6)]&&_0x10e6ca&&typeof _0x10e6ca==_0x40fda1(0x1a7)&&!Array[_0x40fda1(0x21f)](_0x10e6ca)&&!_0x3f35e5(_0x10e6ca)?_0x10e6ca:_0x17b274(_0x5aba94,_0x510815,_0x35b8e8,_0x57b722);}function _0x3f35e5(_0x262c8c){const _0x31e346=_0x571676;return!!_0x262c8c&&typeof _0x262c8c==_0x31e346(0x1a7)&&(Object[_0x31e346(0x41e)][_0x31e346(0x189)]['call'](_0x262c8c,'v')||Object['prototype']['hasOwnProperty'][_0x31e346(0x279)](_0x262c8c,'t')||Object['prototype'][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'p')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'f')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'si'));}function _0x43571f(_0x2e3c23,_0x339ac1){return _0x2e3c23+'\x1f'+_0x339ac1;}function _0x9b3645(_0x4bacb3,_0x9f4a9b,_0x3177ad,_0x22ec31){const _0x5043da=_0x571676;let _0x2c1464=_0x293a71(_0x22ec31);_0x4bacb3[_0x5043da(0x23c)]={..._0x4bacb3['resources']??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]??{}};let _0x43a793=_0x43571f(_0x3177ad,_0x9f4a9b),_0x39f59e=[];for(let _0x264a10=0x0;_0x264a10<_0x2c1464[_0x5043da(0x4e9)];_0x264a10++){if(!(_0x264a10 in _0x2c1464))continue;let _0x4da265=_0x2c1464[_0x264a10],_0x4321af=String(_0x4da265['id']??_0x43a793+'\x1f'+_0x264a10),_0x17e7b4={..._0x4da265,'id':_0x4321af};_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)][_0x4321af]=_0x17e7b4,_0x39f59e[_0x5043da(0x401)](_0x4321af);}_0x4bacb3[_0x5043da(0x23c)]['attachmentSets'][_0x43a793]=_0x39f59e;}function _0xef3bd(_0x5d7090,_0x4b41b4,_0x1093bd){const _0x43e2b0=_0x571676;var _0x1f2314;let _0xace3a1=_0x43571f(_0x1093bd,_0x4b41b4),_0x3bc5f0=(_0x1f2314=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x1f2314=_0x1f2314[_0x43e2b0(0x1df)])==null?void 0x0:_0x1f2314[_0xace3a1];if(!_0x3bc5f0)return null;let _0x129ff3=[];for(let _0xceeae5=0x0;_0xceeae5<_0x3bc5f0[_0x43e2b0(0x4e9)];_0xceeae5++){var _0x59750b;if(!(_0xceeae5 in _0x3bc5f0))continue;let _0x52f5c0=(_0x59750b=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x59750b=_0x59750b[_0x43e2b0(0x1d4)])==null?void 0x0:_0x59750b[_0x3bc5f0[_0xceeae5]];_0x52f5c0&&_0x129ff3[_0x43e2b0(0x401)]({..._0x52f5c0});}return _0x129ff3;}function _0x293a71(_0xdf419d){const _0x2cceb6=_0x571676;if(_0xdf419d==null||_0xdf419d===''||_0x3f35e5(_0xdf419d)&&!('id'in _0xdf419d)&&!(_0x2cceb6(0x46d)in _0xdf419d))return[];let _0x1acabc=Array['isArray'](_0xdf419d)?_0xdf419d:[_0xdf419d],_0x491907=[];for(let _0x462016=0x0;_0x462016<_0x1acabc['length'];_0x462016++){if(!(_0x462016 in _0x1acabc))continue;let _0x8a8a9c=_0x1acabc[_0x462016],_0x224f39=_0x8a8a9c&&typeof _0x8a8a9c==_0x2cceb6(0x1a7)?{..._0x8a8a9c}:{'id':_0x2cceb6(0x2a2)+_0x462016,'name':String(_0x8a8a9c)};Object[_0x2cceb6(0x2db)](_0x224f39)['length']>0x0&&_0x491907[_0x2cceb6(0x401)](_0x224f39);}return _0x491907;}function _0x7e7bc3(_0x3edbea,_0x438b7e){const _0x104e18=_0x571676;return(_0x438b7e==null?void 0x0:_0x438b7e['type'])===_0x13cf76[_0x104e18(0x517)][_0x104e18(0x312)]?_0x293a71(_0x3edbea):_0x30cfed(_0x438b7e)?_0x473be(_0x3edbea):_0x7652b5(_0x438b7e)?_0x2d166e(_0x3edbea):_0x3edbea;}function _0x58e19b(_0x1cfc11,_0xe4496a,_0x275889){const _0x473ac4=_0x571676;return(_0xe4496a==null?void 0x0:_0xe4496a[_0x473ac4(0x292)])===_0x13cf76[_0x473ac4(0x517)][_0x473ac4(0x312)]?_0x1cfc11['v']!=='':_0x30cfed(_0xe4496a)?_0x1cfc11['v']!==_0x473be(_0x275889):_0x7652b5(_0xe4496a)?Array[_0x473ac4(0x21f)](_0x275889)&&(_0x1cfc11['v']==null||_0x1cfc11['v']===''):!0x1;}function _0x7652b5(_0x589560){const _0x15b9d4=_0x571676;return(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)][_0x15b9d4(0x247)]||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76['BaseFieldType']['Group']||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)]['Person']&&_0x589560[_0x15b9d4(0x5b9)]['allowMultiple']===!0x0;}function _0x30cfed(_0x1412ab){const _0x466ccd=_0x571676;return(_0x1412ab==null?void 0x0:_0x1412ab['type'])===_0x13cf76[_0x466ccd(0x517)][_0x466ccd(0x43f)]&&_0x1412ab[_0x466ccd(0x5b9)][_0x466ccd(0x440)]!==!0x0;}function _0x473be(_0x532e5a){const _0x3b2e85=_0x571676;let _0xf8dd87=_0x3f35e5(_0x532e5a)?_0x532e5a['v']:_0x532e5a,_0x472434=Array[_0x3b2e85(0x21f)](_0xf8dd87)?_0xf8dd87[0x0]:_0xf8dd87;return _0x472434==null||_0x472434===''?null:String(_0x472434);}function _0x2d166e(_0x38719d){const _0x3eedfb=_0x571676;if(_0x38719d==null||_0x38719d==='')return[];let _0x5035fb=[];if(Array[_0x3eedfb(0x21f)](_0x38719d)){for(let _0x3d0cbc=0x0;_0x3d0cbc<_0x38719d[_0x3eedfb(0x4e9)];_0x3d0cbc++){if(!(_0x3d0cbc in _0x38719d))continue;let _0x157880=_0x39c7b0(_0x38719d[_0x3d0cbc]);_0x157880&&_0x5035fb[_0x3eedfb(0x401)](_0x157880);}return _0x5035fb;}for(let _0x491465 of String(_0x38719d)['split'](',')){let _0x43fb98=_0x491465[_0x3eedfb(0x2cd)]();_0x43fb98&&_0x5035fb[_0x3eedfb(0x401)](_0x43fb98);}return _0x5035fb;}function _0x39c7b0(_0x230b30){const _0x124878=_0x571676;if(_0x230b30==null)return'';if(typeof _0x230b30==_0x124878(0x2b6)||typeof _0x230b30==_0x124878(0x3dc)||typeof _0x230b30==_0x124878(0x42a))return String(_0x230b30);if(typeof _0x230b30=='object'){let _0x1bd7af=_0x230b30;return String(_0x1bd7af['id']??_0x1bd7af[_0x124878(0x46d)]??_0x1bd7af[_0x124878(0x5df)]??'');}return String(_0x230b30);}function _0x5e8cd6(_0x5a12d5){const _0x5cf7e2=_0x571676;return _0x5a12d5==null?null:typeof _0x5a12d5==_0x5cf7e2(0x3dc)?_0x13cf76[_0x5cf7e2(0x32d)]['NUMBER']:typeof _0x5a12d5==_0x5cf7e2(0x42a)?_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x228)]:_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x562)];}function _0x50f6b3(_0x2ffb0d){const _0x2f4e18=_0x571676;_0x2ffb0d[_0x2f4e18(0x4af)]((_0x31d8e9,_0x82cc90)=>_0x31d8e9[_0x2f4e18(0x34c)]['localeCompare'](_0x82cc90[_0x2f4e18(0x34c)]));let _0x4d06f8=[];for(let _0x3c629b of _0x2ffb0d)_0x4d06f8[_0x2f4e18(0x401)](_0x3c629b['id']);return _0x4d06f8;}function _0x11c8d3(_0x271ace,_0x3a1ca0){const _0x27beb9=_0x571676;return _0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x562)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)]['NUMBER']||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x228)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x217)]||_0x271ace==null?_0x271ace:_0x5e8cd6(_0x3a1ca0??null);}function _0x16f182(_0x3a27dc){const _0xee7e4=_0x571676;let _0x1eb339=null;for(let _0x32075c of _0x3a27dc)_0x1eb339=_0x1eb339===null?_0x32075c:_0x13cf76[_0xee7e4(0x575)]['type'][_0xee7e4(0x199)](_0x1eb339,_0x32075c);return _0x1eb339;}var _0x1aaf1b=class _0x1170c5{static[_0x571676(0x4c4)](_0x28be55,_0x54cec1){const _0x1b47a8=_0x571676;let _0x2b4af1=[];for(let _0x149404 of _0x54cec1){let _0x44e3ff=_0x309b4f(_0x149404);if(!_0x44e3ff||_0x44e3ff['unitId']!==_0x28be55['id'])return null;_0x2b4af1[_0x1b47a8(0x401)](_0x44e3ff['op']);}try{let _0x5eb69c=_0x16f182(_0x2b4af1);return _0x5eb69c===null?_0x28be55:new _0x1170c5()[_0x1b47a8(0x4d8)](_0x28be55,_0x5eb69c);}catch{return null;}}['applyOp'](_0x3d96c3,_0x12a9b8){const _0x12d3ad=_0x571676;let _0x2b69c0=this[_0x12d3ad(0x491)](_0x12a9b8),_0x5036a1=_0x32800a('BaseJson1.cloneForOp',()=>_0x4b5f82(_0x3d96c3,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x546c3d=_0x32800a('BaseJson1.json1Apply',()=>_0x13cf76[_0x12d3ad(0x575)]['type'][_0x12d3ad(0x213)](_0x5036a1,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x1417ce=_0x799441(_0x546c3d,_0x2b69c0);return _0x32800a('BaseJson1.syncCellInvalidations',()=>_0x209429(_0x546c3d,_0x2b69c0),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]})?(_0x112584(_0x546c3d,_0x1417ce),_0x546c3d):(_0x32800a(_0x12d3ad(0x50a),()=>{const _0x802553=_0x12d3ad;this['_getTablesToNormalize'](_0x546c3d,_0x2b69c0)[_0x802553(0x3c9)](_0x2b05e7=>{const _0x3aa10e=_0x802553;let _0x17c90d=_0x2b69c0[_0x3aa10e(0x3c4)](_0x35d5f3=>_0x35d5f3['tableId']===_0x2b05e7['id']),_0x3f79b4=_0x17c90d[_0x3aa10e(0x4e9)]>0x0&&_0x17c90d[_0x3aa10e(0x5a5)](_0x1cfaea=>_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x407)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x197)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x4d1)||_0x1cfaea['reason']===_0x3aa10e(0x4a9))?new Set(_0x17c90d[_0x3aa10e(0x387)](_0x3b128b=>{const _0x2561c8=_0x3aa10e;var _0x48ce70;if(_0x3b128b['reason']!==_0x2561c8(0x407)||!_0x3b128b[_0x2561c8(0x384)])return[];let _0x1b4041=(_0x48ce70=_0x3d96c3[_0x2561c8(0x291)][_0x2b05e7['id']])==null?void 0x0:_0x48ce70[_0x2561c8(0x3c2)][_0x3b128b['fieldId']],_0x550a55=_0x2b05e7[_0x2561c8(0x3c2)][_0x3b128b[_0x2561c8(0x384)]];return(_0x1b4041==null?void 0x0:_0x1b4041['type'])!==(_0x550a55==null?void 0x0:_0x550a55['type'])||(_0x1b4041==null?void 0x0:_0x1b4041[_0x2561c8(0x5b9)][_0x2561c8(0x440)])!==(_0x550a55==null?void 0x0:_0x550a55[_0x2561c8(0x5b9)][_0x2561c8(0x440)])?[_0x3b128b[_0x2561c8(0x384)]]:[];})):void 0x0,_0x4f68e8=new Set(_0x17c90d[_0x3aa10e(0x387)](_0x543a36=>{const _0x496b24=_0x3aa10e;var _0x168e56,_0x567614;return _0x543a36[_0x496b24(0x2a3)]!==_0x496b24(0x4d1)||_0x543a36[_0x496b24(0x22f)]==null||_0x543a36[_0x496b24(0x235)]==null?[]:[JSON[_0x496b24(0x30d)]([(_0x168e56=_0x2b05e7[_0x496b24(0x556)])==null?void 0x0:_0x168e56[_0x543a36[_0x496b24(0x22f)]],(_0x567614=_0x2b05e7[_0x496b24(0x351)])==null?void 0x0:_0x567614[_0x543a36[_0x496b24(0x235)]]])];}));_0x2a0625(_0x2b05e7,_0x3f79b4?(_0x2f1226,_0x4ff502)=>_0x3f79b4[_0x3aa10e(0x370)](_0x4ff502)||_0x4f68e8[_0x3aa10e(0x370)](JSON[_0x3aa10e(0x30d)]([_0x2f1226,_0x4ff502])):void 0x0);});},{'invalidations':_0x2b69c0['length']}),_0x112584(_0x546c3d,_0x1417ce),_0x546c3d);}[_0x571676(0x4b4)](_0xead09b,_0x367217){const _0x46fafd=_0x571676;return _0x13cf76['JSON1'][_0x46fafd(0x292)][_0x46fafd(0x4bc)](_0x367217,_0xead09b);}['getAffectedRanges'](_0x285676){const _0x4bd488=_0x571676;let _0x79b962=_0x32373e(_0x285676);return _0x79b962[_0x4bd488(0x4e9)]?_0x504bfd(_0x79b962[_0x4bd488(0x387)](_0x2b1eac=>this[_0x4bd488(0x491)](_0x2b1eac))):_0x184a59(_0x285676);}[_0x571676(0x196)](_0x3dc269,_0x476ab6){const _0x34f102=_0x571676;let _0x39cc46=_0x476ab6[_0x34f102(0x3c4)](_0x38803b=>_0x38803b[_0x34f102(0x2a3)]!==_0x34f102(0x197));return _0x39cc46[_0x34f102(0x4e9)]?_0x39cc46[_0x34f102(0x1ab)](_0x48f248=>!_0x48f248['tableId'])?Object[_0x34f102(0x334)](_0x3dc269[_0x34f102(0x291)]??{}):Array[_0x34f102(0x2ed)](new Set(_0x39cc46[_0x34f102(0x329)](_0x924a96=>_0x924a96[_0x34f102(0x33f)])))[_0x34f102(0x387)](_0x1a4c5f=>{const _0x2c9090=_0x34f102;var _0x10e0fe;let _0x5b6790=(_0x10e0fe=_0x3dc269[_0x2c9090(0x291)])==null?void 0x0:_0x10e0fe[_0x1a4c5f];return _0x5b6790?[_0x5b6790]:[];}):[];}};function _0x309b4f(_0x3d1f9e){const _0x36a74c=_0x571676;let _0x4554f8=_0x3d1f9e[_0x36a74c(0x1b8)];return _0x3d1f9e['id']!=='base.mutation.apply-base-json1'||typeof _0x4554f8!='object'||!_0x4554f8||!('unitId'in _0x4554f8)||typeof _0x4554f8[_0x36a74c(0x2aa)]!=_0x36a74c(0x2b6)||!('op'in _0x4554f8)||!Array[_0x36a74c(0x21f)](_0x4554f8['op'])?null:{'unitId':_0x4554f8[_0x36a74c(0x2aa)],'op':_0x4554f8['op']};}function _0x209429(_0x404ba4,_0x474ee8){const _0x139976=_0x571676;if(!_0x474ee8[_0x139976(0x4e9)]||_0x474ee8[_0x139976(0x1ab)](_0x356841=>_0x356841[_0x139976(0x2a3)]!==_0x139976(0x4d1)))return!0x1;let _0x125a4e=new Map();for(let _0x20809e of _0x474ee8){if(!_0x20809e['tableId']||_0x20809e[_0x139976(0x22f)]==null||_0x20809e[_0x139976(0x235)]==null)continue;let _0x169fc2=_0x125a4e[_0x139976(0x59c)](_0x20809e[_0x139976(0x33f)])??[];_0x169fc2[_0x139976(0x401)]({'row':_0x20809e['row'],'col':_0x20809e['column']}),_0x125a4e[_0x139976(0x569)](_0x20809e[_0x139976(0x33f)],_0x169fc2);}return _0x125a4e[_0x139976(0x3c9)]((_0x37884f,_0x3e7d2a)=>{const _0x1ceb9e=_0x139976;var _0x151e88;let _0x443e43=(_0x151e88=_0x404ba4[_0x1ceb9e(0x291)])==null?void 0x0:_0x151e88[_0x3e7d2a];_0x443e43&&_0x4ff55d(_0x443e43,_0x37884f);}),!0x0;}function _0x799441(_0x31a08d,_0x4a0df1){const _0x48f06b=_0x571676;let _0x1b6d42=new Set();return _0x4a0df1[_0x48f06b(0x387)](_0x1e5ae0=>{const _0x394f89=_0x48f06b;var _0xf5fe00;if(!_0x1e5ae0['tableId']||!_0x1e5ae0['recordId']||!_0x1e5ae0[_0x394f89(0x384)])return[];let _0x27a472=_0x1e5ae0[_0x394f89(0x33f)]+'\x1f'+_0x1e5ae0[_0x394f89(0x5c4)]+'\x1f'+_0x1e5ae0['fieldId'];if(_0x1b6d42[_0x394f89(0x370)](_0x27a472))return[];_0x1b6d42[_0x394f89(0x54c)](_0x27a472);let _0x1b0ff9=(_0xf5fe00=_0x31a08d[_0x394f89(0x291)][_0x1e5ae0[_0x394f89(0x33f)]])==null||(_0xf5fe00=_0xf5fe00[_0x394f89(0x38f)][_0x1e5ae0[_0x394f89(0x5c4)]])==null?void 0x0:_0xf5fe00[_0x394f89(0x334)];return _0x1b0ff9?[{'tableId':_0x1e5ae0[_0x394f89(0x33f)],'recordId':_0x1e5ae0[_0x394f89(0x5c4)],'fieldId':_0x1e5ae0[_0x394f89(0x384)],'exists':Object[_0x394f89(0x41e)][_0x394f89(0x189)][_0x394f89(0x279)](_0x1b0ff9,_0x1e5ae0[_0x394f89(0x384)]),'value':_0x1b0ff9[_0x1e5ae0[_0x394f89(0x384)]]}]:[];});}function _0x112584(_0x17563f,_0x5e3925){const _0x35093f=_0x571676;_0x5e3925[_0x35093f(0x3c9)](_0x211030=>{const _0x192013=_0x35093f;var _0x5aff8c;let _0xac70b3=(_0x5aff8c=_0x17563f[_0x192013(0x291)][_0x211030[_0x192013(0x33f)]])==null||(_0x5aff8c=_0x5aff8c[_0x192013(0x38f)][_0x211030[_0x192013(0x5c4)]])==null?void 0x0:_0x5aff8c[_0x192013(0x334)];_0xac70b3&&(_0x211030[_0x192013(0x558)]?_0xac70b3[_0x211030['fieldId']]=_0x211030[_0x192013(0x315)]:delete _0xac70b3[_0x211030[_0x192013(0x384)]]);});}function _0x184a59(_0x56dea6){const _0x2964cc=_0x571676;if(!Array[_0x2964cc(0x21f)](_0x56dea6)||_0x56dea6[_0x2964cc(0x4e9)]<0x2)return[{'tableId':'','reason':_0x2964cc(0x56e)}];let _0x5098f0=_0x56dea6,_0x123c72=_0x5098f0[_0x2964cc(0x406)]('tables');return _0x123c72===-0x1||typeof _0x5098f0[_0x123c72+0x1]!=_0x2964cc(0x2b6)?_0x5098f0[0x0]===_0x2964cc(0x4d9)?[]:[{'tableId':'','reason':_0x2964cc(0x56e)}]:_0x353828(_0x5098f0,_0x123c72,String(_0x5098f0[_0x123c72+0x1]));}function _0x353828(_0x3ab366,_0x306fc1,_0x581a38){const _0x4becd9=_0x571676;let _0x47b64d=_0x3ab366[_0x306fc1+0x2];return _0x47b64d===_0x4becd9(0x38f)&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?_0x4ea8d1(_0x3ab366,_0x306fc1,_0x581a38,String(_0x3ab366[_0x306fc1+0x3])):_0x47b64d==='cellData'&&_0x3ab366[_0x306fc1+0x3]!=null&&_0x3ab366[_0x306fc1+0x4]!=null?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1),'row':Number(_0x3ab366[_0x306fc1+0x3]),'column':Number(_0x3ab366[_0x306fc1+0x4])}]:_0x47b64d==='fields'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x407),'fieldId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='fieldOrder'?[{'tableId':_0x581a38,'reason':'field'}]:_0x47b64d==='recordOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4a9)}]:_0x47b64d==='views'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197),'viewId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='viewOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197)}]:_0x47b64d==='resources'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1)}]:[{'tableId':_0x581a38,'reason':_0x47b64d===void 0x0?_0x4becd9(0x4b7):_0x4becd9(0x56e)}];}function _0x4ea8d1(_0x1e32a5,_0x2269e2,_0x1d44ce,_0x1ca33e){const _0x526200=_0x571676;return _0x1e32a5[_0x2269e2+0x4]===_0x526200(0x334)&&typeof _0x1e32a5[_0x2269e2+0x5]=='string'?[{'tableId':_0x1d44ce,'reason':'cell','recordId':_0x1ca33e,'fieldId':String(_0x1e32a5[_0x2269e2+0x5])}]:_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x548)||_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x32a)?[]:[{'tableId':_0x1d44ce,'reason':_0x526200(0x4a9),'recordId':_0x1ca33e}];}function _0x32373e(_0x2f590e){const _0x259bf0=_0x571676;if(!Array['isArray'](_0x2f590e))return[];let _0x34500f=_0x2f590e[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);if(_0x34500f[_0x259bf0(0x4e9)]>0x1&&_0x34500f[_0x259bf0(0x4e9)]===_0x2f590e['length'])return _0x34500f;let _0x1b94a3=_0x2f590e[_0x259bf0(0x453)](Array['isArray']);if(_0x1b94a3>0x0&&_0x2f590e['slice'](_0x1b94a3)[_0x259bf0(0x5a5)](Array[_0x259bf0(0x21f)])){let _0x1e8a14=_0x2f590e[_0x259bf0(0x377)](0x0,_0x1b94a3);return _0x2f590e['slice'](_0x1b94a3)['map'](_0x29100b=>[..._0x1e8a14,..._0x29100b]);}let _0xd69c17=_0x2f590e[_0x259bf0(0x406)](_0x259bf0(0x291));if(_0xd69c17===-0x1||typeof _0x2f590e[_0xd69c17+0x1]!=_0x259bf0(0x2b6))return[];let _0x2d83b0=String(_0x2f590e[_0xd69c17+0x1]),_0x5bd6ab=_0x2f590e[_0x259bf0(0x377)](_0xd69c17+0x2)[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);return _0x5bd6ab[_0x259bf0(0x4e9)]<=0x1?[]:_0x5bd6ab[_0x259bf0(0x329)](_0x59b5b9=>[_0x259bf0(0x291),_0x2d83b0,..._0x59b5b9]);}function _0x504bfd(_0x2bccf2){const _0x47b07e=_0x571676;let _0x255ac=new Set();return _0x2bccf2[_0x47b07e(0x3c4)](_0x327702=>{const _0x4a9361=_0x47b07e;let _0x48b741=JSON[_0x4a9361(0x30d)](_0x327702);return!_0x255ac[_0x4a9361(0x370)](_0x48b741)&&(_0x255ac[_0x4a9361(0x54c)](_0x48b741),!0x0);});}function _0x568691(_0x59451e){const _0x44aa44=_0x571676;return _0x13cf76[_0x44aa44(0x39a)][_0x44aa44(0x495)](_0x59451e);}function _0x4b5f82(_0x150ac0,_0x5baf8b){const _0x41deee=_0x571676;let _0x279ba6=_0x553abc(_0x5baf8b);if(!_0x279ba6[_0x41deee(0x4e9)])return _0x568691(_0x150ac0);let _0x50c510=_0x189c16(_0x150ac0),_0x146199=new Set();for(let _0xa06a53 of _0x279ba6)_0x537c68(_0x50c510,_0xa06a53,_0x146199);return _0x50c510;}function _0x553abc(_0xd83b67){let _0xea2a8e=[];return _0x17e2a2(_0xd83b67,[],_0xea2a8e),_0xea2a8e;}function _0x17e2a2(_0x5d3be3,_0x2eb92a,_0x5501e5){const _0x587b11=_0x571676;if(!Array[_0x587b11(0x21f)](_0x5d3be3))return;let _0x3a8b78=[];for(let _0x202125 of _0x5d3be3)Array[_0x587b11(0x21f)](_0x202125)?_0x17e2a2(_0x202125,[..._0x2eb92a,..._0x3a8b78],_0x5501e5):_0x5bdf6f(_0x202125)?_0x5501e5[_0x587b11(0x401)]([..._0x2eb92a,..._0x3a8b78]):(typeof _0x202125=='string'||typeof _0x202125==_0x587b11(0x3dc))&&_0x3a8b78[_0x587b11(0x401)](_0x202125);}function _0x5bdf6f(_0x2a94f3){const _0x145807=_0x571676;if(!_0x2a94f3||typeof _0x2a94f3!=_0x145807(0x1a7)||Array[_0x145807(0x21f)](_0x2a94f3))return!0x1;let _0x146c95=_0x2a94f3;return'i'in _0x146c95||'r'in _0x146c95||'p'in _0x146c95||'d'in _0x146c95||'es'in _0x146c95||_0x145807(0x40f)in _0x146c95||'et'in _0x146c95;}function _0x537c68(_0x5cfecd,_0x478fec,_0x188a7d){const _0x3d4e25=_0x571676;let _0x129c56=_0x5cfecd,_0x50121f=[];for(let _0x44dc6e=0x0;_0x44dc6e<_0x478fec[_0x3d4e25(0x4e9)]-0x1;_0x44dc6e++){let _0x51a1a6=_0x478fec[_0x44dc6e];_0x50121f['push'](_0x51a1a6);let _0x5b0e04=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x5b0e04))return;let _0x4b419d=JSON['stringify'](_0x50121f);_0x188a7d['has'](_0x4b419d)||(_0x327447(_0x129c56,_0x51a1a6,_0x189c16(_0x5b0e04)),_0x188a7d[_0x3d4e25(0x54c)](_0x4b419d));let _0x2b5c92=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x2b5c92))return;_0x129c56=_0x2b5c92;}}function _0x4e9477(_0xff6068,_0x50ec31){const _0xe7a78e=_0x571676;return Array[_0xe7a78e(0x21f)](_0xff6068)?typeof _0x50ec31==_0xe7a78e(0x3dc)?_0xff6068[_0x50ec31]:void 0x0:Reflect[_0xe7a78e(0x59c)](_0xff6068,_0x50ec31);}function _0x327447(_0x5dad7b,_0x3de510,_0x340996){const _0x2a5cae=_0x571676;Array[_0x2a5cae(0x21f)](_0x5dad7b)?typeof _0x3de510=='number'&&(_0x5dad7b[_0x3de510]=_0x340996):Reflect[_0x2a5cae(0x569)](_0x5dad7b,_0x3de510,_0x340996);}function _0xd07f31(_0x4f39f7){const _0x2a7f7f=_0x571676;return!!_0x4f39f7&&typeof _0x4f39f7==_0x2a7f7f(0x1a7);}function _0x189c16(_0x546544){const _0x45688f=_0x571676;return Array[_0x45688f(0x21f)](_0x546544)?_0x546544[_0x45688f(0x377)]():{..._0x546544};}let _0x4050fc=_0x571676(0x3ad),_0x5df746=/\s+hh:mm\s*$/i,_0x38eb8f={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x571676(0x21d),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x571676(0x29e),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x35414f(_0x2f1f90,_0x172036=_0x13cf76['DateSystem'][_0x571676(0x542)]){const _0x317e71=_0x571676;let _0x3c6288=(0x0,_0x13cf76[_0x317e71(0x3e0)])(_0x2f1f90)[_0x317e71(0x412)]();return(0x0,_0x13cf76[_0x317e71(0x310)])(new Date(_0x3c6288),_0x172036);}function _0x29d29e(_0x4c2d00,_0x1074f5=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x47c658=_0x571676;return(0x0,_0x13cf76[_0x47c658(0x299)])(_0x4c2d00,_0x1074f5)[_0x47c658(0x3e9)]();}function _0x14a5f1(_0x6e077,_0x5d3d83=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x2c5ec2=_0x571676;if(_0x6e077==null||_0x6e077==='')return null;if(_0x6e077 instanceof Date)return _0x35414f(_0x6e077,_0x5d3d83);if(typeof _0x6e077==_0x2c5ec2(0x3dc))return Number['isFinite'](_0x6e077)?_0x6e077>0xf4240?_0x35414f(_0x6e077,_0x5d3d83):_0x6e077:null;let _0x95ff98=Date['parse'](String(_0x6e077));return Number[_0x2c5ec2(0x597)](_0x95ff98)?null:_0x35414f(_0x95ff98,_0x5d3d83);}function _0x397f72(_0x50133d,_0x67b15f=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){let _0x52020f=_0x14a5f1(_0x50133d,_0x67b15f);return _0x52020f==null?null:_0x29d29e(_0x52020f,_0x67b15f);}function _0x35238c(_0x26d745={}){const _0x387dc7=_0x571676;let _0x1fda61=String(_0x26d745[_0x387dc7(0x37f)]??_0x26d745[_0x387dc7(0x278)]??_0x26d745[_0x387dc7(0x3d1)]??_0x4050fc)[_0x387dc7(0x2cd)]()||_0x4050fc,_0xb4f7cc=_0x5df746[_0x387dc7(0x50e)](_0x1fda61);return{'pattern':_0x1fda61['replace'](_0x5df746,'')||_0x4050fc,'includeTime':typeof _0x26d745[_0x387dc7(0x1f3)]==_0x387dc7(0x42a)?_0x26d745['includeTime']:_0xb4f7cc,'hourCycle':_0x26d745['hourCycle']===_0x387dc7(0x2f7)?_0x387dc7(0x2f7):'h24'};}function _0x3d3ab9(_0x526304={}){let {format:_0x2bb04a,dateFormat:_0x4d57d3,..._0x41c5de}=_0x526304;return{..._0x41c5de,..._0x35238c(_0x526304)};}function _0x259f65(_0x18236b,_0x3f1fda={}){const _0x16c1ec=_0x571676;let _0x58ace4=_0x397f72(_0x18236b);if(_0x58ace4==null||!Number[_0x16c1ec(0x195)](_0x58ace4))return'';let _0x2ba4c1=_0x35238c(_0x3f1fda);return(0x0,_0x13cf76['dateKit'])(_0x58ace4)[_0x16c1ec(0x278)](_0x4177fa(_0x2ba4c1));}function _0x4177fa(_0x47635d){const _0x3727e3=_0x571676;let {pattern:_0x5e6154,includeTime:_0x352aa1,hourCycle:_0x5d7cd5}=_0x47635d,_0x60021c=_0x38eb8f[_0x5e6154]??_0x38eb8f[_0x4050fc];return _0x352aa1?_0x60021c+'\x20'+(_0x5d7cd5===_0x3727e3(0x2f7)?_0x3727e3(0x40b):_0x3727e3(0x2dd)):_0x60021c;}let _0x50c7ad={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x1727a9=new Set([_0x13cf76['BaseFieldType'][_0x571676(0x2ea)]]);function _0xd379e5(_0x293181){const _0x50f11e=_0x571676;switch(_0x293181){case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x400)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x39e)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x51c)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x238)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)]['GREATER_THAN'],_0x13cf76[_0x50f11e(0x1b1)]['LESS_THAN'],_0x13cf76['BaseConditionalColorOperator']['IS_EMPTY'],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x52d)]];case _0x13cf76['BaseFieldType'][_0x50f11e(0x494)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x337)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x472)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x184)],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x27a)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x1b7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x55f)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)]];default:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5e2)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x3b3)],_0x13cf76[_0x50f11e(0x1b1)]['IS_EMPTY'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];}}function _0x33b8b5(_0x1f7679){const _0x8d79c8=_0x571676;return _0x1f7679===_0x13cf76['BaseFieldType'][_0x8d79c8(0x494)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x337)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x472)];}function _0x344b98(_0x202a98,_0x58e863){const _0x580b38=_0x571676;return _0x202a98==null&&_0x58e863==null?0x0:_0x202a98==null?-0x1:_0x58e863==null?0x1:typeof _0x202a98==_0x580b38(0x3dc)&&typeof _0x58e863=='number'?_0x202a98-_0x58e863:String(_0x202a98)['localeCompare'](String(_0x58e863));}function _0x4231b9(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028,_0x5cad72={}){const _0x2ed4e9=_0x571676;if(_0x3ca31f===_0x2ed4e9(0x4d0))return _0x55fdd3(_0xd4ded4);if(_0x3ca31f==='isNotEmpty')return!_0x55fdd3(_0xd4ded4);switch(_0x464028[_0x2ed4e9(0x292)]){case _0x13cf76[_0x2ed4e9(0x517)]['Number']:case _0x13cf76[_0x2ed4e9(0x517)]['Currency']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x51c)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x238)]:return _0x4dd9a0(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['Date']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x337)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x472)]:return _0x45d779(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x5cad72);case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x55f)]:return _0x4d9569(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['SingleSelect']:case _0x13cf76[_0x2ed4e9(0x517)]['MultiSelect']:case _0x13cf76['BaseFieldType']['Person']:case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x53b)]:return _0x514a41(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028);default:return _0x4f14f6(_0xd4ded4,_0x3ca31f,_0xcbb636);}}function _0x55fdd3(_0x1260ae){const _0x171e22=_0x571676;return _0x1260ae==null?!0x0:Array[_0x171e22(0x21f)](_0x1260ae)?_0x1260ae['length']===0x0:typeof _0x1260ae==_0x171e22(0x2b6)&&_0x1260ae['trim']()==='';}function _0x4dd9a0(_0x567a51,_0x400746,_0x21e1f8){const _0x19c36e=_0x571676;let _0x2f2e8c=_0xdc1c86(_0x567a51),_0x20af1f=_0xdc1c86(_0x21e1f8);if(_0x2f2e8c==null||_0x20af1f==null)return!0x1;switch(_0x400746){case'is':return _0x2f2e8c===_0x20af1f;case _0x19c36e(0x3f5):return _0x2f2e8c!==_0x20af1f;case'greaterThan':return _0x2f2e8c>_0x20af1f;case'greaterThanOrEqual':return _0x2f2e8c>=_0x20af1f;case'lessThan':return _0x2f2e8c<_0x20af1f;case _0x19c36e(0x355):return _0x2f2e8c<=_0x20af1f;default:return!0x1;}}function _0xdc1c86(_0x1f50f3){const _0x267c95=_0x571676;if(_0x1f50f3==null||_0x1f50f3==='')return null;let _0x954323=Number(_0x1f50f3);return Number[_0x267c95(0x195)](_0x954323)?_0x954323:null;}function _0x45d779(_0x5a3da9,_0x36f204,_0x3d6c7a,_0x102bd6){const _0x2ff495=_0x571676;let _0x20b0e6=_0x50802c(_0x5a3da9);if(_0x20b0e6==null)return!0x1;let _0x3bcb0b=_0x2560c9(_0x102bd6[_0x2ff495(0x39c)]??_0x13cf76[_0x2ff495(0x218)][_0x2ff495(0x43d)],_0x3d6c7a,_0x102bd6[_0x2ff495(0x5e4)]);if(!_0x3bcb0b)return!0x1;switch(_0x36f204){case _0x13cf76[_0x2ff495(0x1b1)]['IS']:return _0x20b0e6>=_0x3bcb0b['start']&&_0x20b0e6<=_0x3bcb0b['end'];case _0x13cf76[_0x2ff495(0x1b1)][_0x2ff495(0x5a7)]:return _0x20b0e6<_0x3bcb0b[_0x2ff495(0x3aa)]||_0x20b0e6>_0x3bcb0b[_0x2ff495(0x5a8)];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x184)]:return _0x20b0e6<_0x3bcb0b['start'];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x27a)]:return _0x20b0e6>_0x3bcb0b['end'];default:return!0x1;}}function _0x2560c9(_0x1339ed,_0x306d44,_0x1bcf7b=Date['now']()){const _0x3ef818=_0x571676;let _0x3f4113=_0x1fc74c(_0x1bcf7b);switch(_0x1339ed){case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x43d)]:{let _0x5e14de=_0x50802c(_0x306d44);return _0x5e14de==null?null:_0x34e6a7(_0x5e14de,0x0,0x1);}case _0x13cf76[_0x3ef818(0x218)]['TODAY']:return _0x34e6a7(_0x3f4113,0x0,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x304)]:return _0x34e6a7(_0x3f4113,0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x5dd)]:return _0x34e6a7(_0x3f4113,-0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x360)]:return _0x172a8c(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)]['LAST_WEEK']:return _0x172a8c(_0x3f4113,-0x1);case _0x13cf76['BaseConditionalDateMode'][_0x3ef818(0x2b3)]:return _0x30e093(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x392)]:return _0x30e093(_0x3f4113,-0x1);case _0x13cf76[_0x3ef818(0x218)]['PAST_7_DAYS']:return _0x34e6a7(_0x3f4113,-0x6,0x7);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x52f)]:return _0x34e6a7(_0x3f4113,0x0,0x7);case _0x13cf76[_0x3ef818(0x218)]['PAST_30_DAYS']:return _0x34e6a7(_0x3f4113,-0x1d,0x1e);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x347)]:return _0x34e6a7(_0x3f4113,0x0,0x1e);}}function _0x50802c(_0x23eb61){let _0x26a95b=_0x14a5f1(_0x23eb61);return _0x26a95b==null?null:_0x1fc74c(_0x29d29e(_0x26a95b));}function _0x1fc74c(_0x3cc5f4){const _0x1e8ac5=_0x571676;let _0x50997f=new Date(_0x3cc5f4);return _0x50997f[_0x1e8ac5(0x1f7)](0x0,0x0,0x0,0x0),_0x50997f[_0x1e8ac5(0x3e9)]();}function _0x172a8c(_0x23e2b5,_0x1dbc28){const _0x18a09d=_0x571676;return _0x34e6a7(_0x23e2b5,-((new Date(_0x23e2b5)[_0x18a09d(0x4e1)]()+0x6)%0x7)+_0x1dbc28*0x7,0x7);}function _0x34e6a7(_0xa7d396,_0x12a0ea,_0x1efd39){const _0x19adbd=_0x571676;let _0x3a7192=(0x0,_0x13cf76[_0x19adbd(0x3e0)])(_0xa7d396)['add'](_0x12a0ea,_0x19adbd(0x2b4));return{'start':_0x3a7192['valueOf'](),'end':_0x3a7192[_0x19adbd(0x54c)](_0x1efd39,_0x19adbd(0x2b4))[_0x19adbd(0x412)]()-0x1};}function _0x30e093(_0x101db9,_0x5abd03){const _0x371c0e=_0x571676;let _0x5424e5=new Date(_0x101db9),_0x57ff6f=new Date(_0x5424e5['getFullYear'](),_0x5424e5[_0x371c0e(0x3a5)]()+_0x5abd03,0x1),_0xa6cb7a=new Date(_0x5424e5[_0x371c0e(0x326)](),_0x5424e5['getMonth']()+_0x5abd03+0x1,0x1);return{'start':_0x57ff6f[_0x371c0e(0x3e9)](),'end':_0xa6cb7a[_0x371c0e(0x3e9)]()-0x1};}function _0x4d9569(_0xb0839,_0x8c1b3f,_0x409ab5){const _0x41e6d2=_0x571676;let _0x287f32=_0x5df3bf(_0xb0839),_0x57a9fe=_0x5df3bf(_0x409ab5);switch(_0x8c1b3f){case'is':return _0x287f32===_0x57a9fe;case _0x41e6d2(0x3f5):return _0x287f32!==_0x57a9fe;default:return!0x1;}}function _0x5df3bf(_0x2b5e26){const _0x271925=_0x571676;return _0x2b5e26===!0x0||_0x2b5e26===_0x271925(0x477)||_0x2b5e26===0x1||_0x2b5e26==='1';}function _0x514a41(_0x494534,_0xbee542,_0x2669c5,_0x49f7a5){const _0x5973cb=_0x571676;let _0x2a8486=_0x3819f7(_0x494534,_0x49f7a5),_0x417fe8=_0x3819f7(_0x2669c5,_0x49f7a5),_0xfba98=_0x417fe8['length']>0x0&&_0x417fe8[_0x5973cb(0x1ab)](_0x237e77=>_0x2a8486[_0x5973cb(0x358)](_0x237e77));switch(_0xbee542){case'is':case _0x5973cb(0x390):return _0xfba98;case _0x5973cb(0x3f5):case'notContains':return!_0xfba98;default:return!0x1;}}function _0x4f14f6(_0x494917,_0x33faee,_0x3af203){const _0x4e1378=_0x571676;let _0xf75f68=_0x59ee1e(_0x494917),_0x33bbc6=_0x59ee1e(_0x3af203);switch(_0x33faee){case'is':return _0xf75f68===_0x33bbc6;case _0x4e1378(0x3f5):return _0xf75f68!==_0x33bbc6;case _0x4e1378(0x390):return _0x33bbc6?_0xf75f68[_0x4e1378(0x358)](_0x33bbc6):!0x1;case _0x4e1378(0x257):return!_0x33bbc6||!_0xf75f68[_0x4e1378(0x358)](_0x33bbc6);default:return!0x1;}}function _0x59ee1e(_0x1d2d58){const _0x1135c0=_0x571676;if(Array[_0x1135c0(0x21f)](_0x1d2d58))return _0x1d2d58[_0x1135c0(0x329)](_0x1f1a3c=>_0x59ee1e(_0x1f1a3c))[_0x1135c0(0x4b9)]('\x0a');if(_0x1d2d58&&typeof _0x1d2d58==_0x1135c0(0x1a7)){let _0x2008c9=_0x1d2d58;return String(_0x2008c9[_0x1135c0(0x46d)]??_0x2008c9[_0x1135c0(0x3e5)]??_0x2008c9[_0x1135c0(0x5df)]??_0x2008c9[_0x1135c0(0x315)]??_0x2008c9['id']??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}return String(_0x1d2d58??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}function _0x3819f7(_0x37a7e3,_0x3746e8){const _0x4af118=_0x571676;let _0x3fafd1=_0x52fe45(_0x37a7e3),_0x4e9fd1=_0x561e8a(_0x3746e8[_0x4af118(0x5b9)]??{});return _0x3fafd1[_0x4af118(0x387)](_0x415c0b=>_0x4e9fd1['get'](_0x415c0b)??[_0x415c0b])[_0x4af118(0x3c4)]((_0x574ce4,_0x51a24e,_0x4f3b68)=>_0x574ce4!==''&&_0x4f3b68[_0x4af118(0x406)](_0x574ce4)===_0x51a24e);}function _0x52fe45(_0x2e2b8f){const _0x3b0926=_0x571676;if(_0x2e2b8f==null||_0x2e2b8f==='')return[];if(Array[_0x3b0926(0x21f)](_0x2e2b8f))return _0x2e2b8f[_0x3b0926(0x387)](_0x2c149e=>_0x52fe45(_0x2c149e));if(_0x2e2b8f&&typeof _0x2e2b8f=='object'){let _0x56e8ce=_0x2e2b8f;return['id',_0x3b0926(0x46d),'label','value','text'][_0x3b0926(0x387)](_0x3cfd1e=>_0x52fe45(_0x56e8ce[_0x3cfd1e]))[_0x3b0926(0x3c4)]((_0x2ce177,_0x5e0fd6,_0xb4c89f)=>_0xb4c89f[_0x3b0926(0x406)](_0x2ce177)===_0x5e0fd6);}return[_0x59ee1e(_0x2e2b8f)];}function _0x561e8a(_0x28be82){const _0x3d0ea9=_0x571676;let _0x3ed69d=new Map();return(Array[_0x3d0ea9(0x21f)](_0x28be82[_0x3d0ea9(0x386)])?_0x28be82[_0x3d0ea9(0x386)]:[])['forEach'](_0x390c6b=>{const _0x5abb4e=_0x3d0ea9;if(!_0x390c6b||typeof _0x390c6b!='object')return;let _0x251af2=_0x52fe45(_0x390c6b),_0x248767=_0x251af2[_0x5abb4e(0x3c4)]((_0x4c5854,_0x35e680)=>_0x4c5854!==''&&_0x251af2[_0x5abb4e(0x406)](_0x4c5854)===_0x35e680);_0x248767[_0x5abb4e(0x3c9)](_0x1c2314=>_0x3ed69d[_0x5abb4e(0x569)](_0x1c2314,_0x248767));}),_0x3ed69d;}function _0x4add01(_0x2d6745,_0xac23e3={},_0x249720=_0x377297=>_0x377297,_0x1c5e5c={}){const _0x42d50b=_0x571676;let _0x4034e2=!_0x1727a9['has'](_0x2d6745),_0x34c86e=_0x249720??(_0x3ee660=>_0x3ee660);return{'type':_0x2d6745,'i18nKey':_0x42d50b(0x4ef)+_0x2d6745,'enabled':_0x4034e2,'visibleInCreateMenu':_0x4034e2,'createDefaultConfig':_0x1c5e5c[_0x42d50b(0x461)]??(()=>({})),'createDefaultValue':_0x1c5e5c[_0x42d50b(0x227)]??(_0x5f37c7=>_0x5f37c7['defaultValue']??null),'normalize':(_0x310355,_0x275fb2)=>_0x34c86e(_0x310355,_0x275fb2),'validate':(_0x1ca664,_0x1d9eea)=>{const _0x17e897=_0x42d50b;var _0x5dbb4a;return _0x4034e2?((_0x5dbb4a=_0x1c5e5c[_0x17e897(0x3a4)])==null?void 0x0:_0x5dbb4a[_0x17e897(0x279)](_0x1c5e5c,_0x1ca664,_0x1d9eea))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1956d8,_0x3609d5)=>_0x344b98(_0x1956d8,_0x3609d5),'filter':(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab)=>_0x4231b9(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab),'toPlainText':_0x1c5e5c[_0x42d50b(0x25d)]??(_0x5ab3f6=>_0x5ab3f6==null?'':String(_0x5ab3f6)),'fromPlainText':_0x1c5e5c[_0x42d50b(0x1c3)]??(_0x1293b7=>_0x34c86e(_0x1293b7,{'id':'','name':'','type':_0x2d6745,'config':{}})),'getCapabilities':()=>({..._0x50c7ad,..._0xac23e3,'editable':_0x4034e2&&(_0xac23e3[_0x42d50b(0x3fe)]??_0x50c7ad[_0x42d50b(0x3fe)])})};}function _0x44e8e4(){const _0xd8259a=_0x571676;return[_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x4c5)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x343)}),'createDefaultValue':_0x133463=>_0x133463[_0xd8259a(0x5ce)]??''}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1be62b=>_0x1be62b==null||_0x1be62b===''?null:String(_0x1be62b),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x247)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x66b1a6=>Array[_0xd8259a(0x21f)](_0x66b1a6)?_0x66b1a6[_0xd8259a(0x329)](String):_0x66b1a6==null?[]:[String(_0x66b1a6)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xd8259a(0x203)}}),'createDefaultValue':_0x5b1ca8=>_0x5b1ca8[_0xd8259a(0x5ce)]??[]}),_0x4add01(_0x13cf76['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3d0bb9,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xd8259a(0x22d)}),'validate':_0x844302}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x53b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x49704e,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0xd8259a(0x42c)}),'createDefaultValue':_0x1b1cd2=>_0x1b1cd2[_0xd8259a(0x5ce)]??[],'validate':_0x326574}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x494)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x35f1ef=>_0x14a5f1(_0x35f1ef),{'createDefaultConfig':()=>_0x4cdc79(),'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x312)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x246eba=>_0x246eba==null?[]:Array[_0xd8259a(0x21f)](_0x246eba)?_0x246eba:[_0x246eba],{'createDefaultValue':_0x589175=>_0x589175['defaultValue']??[]}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Number'],{},_0x15b558=>_0x15b558==null||_0x15b558===''?null:Number(_0x15b558),{'createDefaultConfig':()=>_0x53311f(),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x11ab1d=>_0x11ab1d===!0x0||_0x11ab1d===_0xd8259a(0x477)||_0x11ab1d===0x1||_0x11ab1d==='1',{'createDefaultConfig':()=>({'icon':_0xd8259a(0x5e3),'color':_0xd8259a(0x1d2)}),'createDefaultValue':_0x332d70=>_0x332d70[_0xd8259a(0x5ce)]??!0x1,'validate':_0x50060a=>typeof _0x50060a==_0xd8259a(0x42a)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x3b6)],{'supportsRelation':!0x0},_0x2f43e3,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x251)}),'toPlainText':_0x2fb9a5=>_0x562340(_0x2fb9a5),'fromPlainText':_0x5831d4=>_0x2f43e3(_0x5831d4)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x26c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xd8259a(0x3a3),'pattern':'General'}}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2a4)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xd8259a(0x509)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x419)],{'usableAsTitle':!0x0},_0x4cbb27=>_0x4cbb27==null?null:String(_0x4cbb27)['trim'](),{'validate':_0x53732c=>_0x53732c==null||_0x53732c===''||/^\+?[0-9 ()-]{6,20}$/[_0xd8259a(0x50e)](String(_0x53732c))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x261)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x1fa)],{'usableAsTitle':!0x0},_0x5c3c42=>_0x5c3c42==null?null:String(_0x5c3c42)[_0xd8259a(0x2cd)](),{'validate':_0x3abfc5=>_0x3abfc5==null||_0x3abfc5===''||_0x18b9d0(String(_0x3abfc5))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x3b1)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x51c)],{'usableAsGanttProgress':!0x0},_0x27818c=>_0x27818c==null||_0x27818c===''?null:Number(_0x27818c),{'createDefaultConfig':()=>({'format':_0xd8259a(0x5db),'decimalPlaces':0x0,'color':_0xd8259a(0x4d5),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x104c0c,_0x1d3612)=>_0xb6fb06(_0x104c0c,_0x1d3612,_0xd8259a(0x4e5))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x39e)],{},_0x52f990=>_0x52f990==null||_0x52f990===''?null:Number(_0x52f990),{'createDefaultConfig':()=>({..._0x53311f(),'currencySymbol':'$'}),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x38507f=>_0x38507f==null||_0x38507f===''?null:Number(_0x38507f),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x525aa0,_0x489855)=>_0xb6fb06(_0x525aa0,_0x489855,_0xd8259a(0x29a))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x5b0)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x5a5934,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x18c802,_0x4ccd88)=>_0x35e826(_0x18c802,_0x4ccd88[_0xd8259a(0x5b9)]['multiple']===!0x0)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2ea)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x537)],{'editable':!0x1,'groupable':!0x0},_0x5f0e0c=>_0x5f0e0c==null?null:String(_0x5f0e0c),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x320)],{'editable':!0x1,'groupable':!0x0},_0x391661=>_0x391661==null?null:String(_0x391661),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x337)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x51c99c=>_0x14a5f1(_0x51c99c),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3425e3=>_0x14a5f1(_0x3425e3),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff})];}function _0x53311f(){const _0x39f083=_0x571676;return{'pattern':_0x39f083(0x452),'decimalPlaces':0x2,'separatorStyle':_0x39f083(0x576),'useThousands':!0x0,'abbreviation':_0x39f083(0x2a6),'allowNegative':!0x0};}function _0x4cdc79(){const _0x5cfdbd=_0x571676;return{'locale':'en-US','pattern':_0x5cfdbd(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x5cfdbd(0x2a6)};}function _0x49704e(_0x4cb49a){const _0x3757fa=_0x571676;return _0x4cb49a==null||_0x4cb49a===''?[]:Array[_0x3757fa(0x21f)](_0x4cb49a)?_0x4cb49a[_0x3757fa(0x329)](String):[String(_0x4cb49a)];}function _0x5a5934(_0xdb84a0){const _0x4d7b08=_0x571676;return typeof _0xdb84a0==_0x4d7b08(0x2b6)?_0xdb84a0:'';}function _0x3d0bb9(_0x1a039d,_0xf349f0){const _0x28f801=_0x571676;return _0x1a039d==null||_0x1a039d===''?_0xf349f0[_0x28f801(0x5b9)]['allowMultiple']===!0x0?[]:null:_0xf349f0[_0x28f801(0x5b9)][_0x28f801(0x440)]===!0x0?Array['isArray'](_0x1a039d)?_0x1a039d['map'](String):[String(_0x1a039d)]:Array[_0x28f801(0x21f)](_0x1a039d)?String(_0x1a039d[0x0]??'')||null:String(_0x1a039d);}function _0x844302(_0x5c1acc,_0x6dca09){const _0x1f75d4=_0x571676;return _0x6dca09[_0x1f75d4(0x5b9)]['allowMultiple']===!0x0?_0x326574(_0x5c1acc):_0x5c1acc==null||_0x5c1acc===''||typeof _0x5c1acc==_0x1f75d4(0x2b6)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x326574(_0x2c375d){const _0xc35316=_0x571676;return _0x2c375d==null||Array[_0xc35316(0x21f)](_0x2c375d)&&_0x2c375d[_0xc35316(0x5a5)](_0x1236bc=>typeof _0x1236bc==_0xc35316(0x2b6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc35316(0x301)};}function _0x18d0ff(_0x4ec8f9){const _0x23aeda=_0x571676;return _0x4ec8f9==null||typeof _0x4ec8f9=='number'&&Number[_0x23aeda(0x195)](_0x4ec8f9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x23aeda(0x249)};}function _0x5e1137(_0x3fb8c5,_0x4764f7){const _0x362e31=_0x571676;return _0x3fb8c5==null||_0x3fb8c5===''?{'valid':!0x0}:typeof _0x3fb8c5!='number'||!Number[_0x362e31(0x195)](_0x3fb8c5)?{'valid':!0x1,'reason':_0x362e31(0x21a)}:_0x4764f7['config']['allowNegative']===!0x1&&_0x3fb8c5<0x0?{'valid':!0x1,'reason':_0x362e31(0x4dc)}:{'valid':!0x0};}function _0xb6fb06(_0x23e6a2,_0x174558,_0x184aa7){const _0x51bc52=_0x571676;let _0x3403e4=_0x5e1137(_0x23e6a2,_0x174558);if(!_0x3403e4[_0x51bc52(0x49e)]||_0x23e6a2==null||_0x23e6a2==='')return _0x3403e4;let _0x1b955e=Number(_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a2)]??_0x174558[_0x51bc52(0x5b9)]['start']??0x0),_0xb9ce90=Number(_0x174558['config'][_0x51bc52(0x402)]??_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a8)]??0x64),_0x25e363=Number(_0x23e6a2);return _0x25e363>=_0x1b955e&&_0x25e363<=_0xb9ce90?{'valid':!0x0}:{'valid':!0x1,'reason':_0x184aa7};}function _0x2f43e3(_0xb71d83){const _0x46e443=_0x571676;if(_0xb71d83==null||_0xb71d83==='')return null;if(typeof _0xb71d83==_0x46e443(0x1a7)&&!Array[_0x46e443(0x21f)](_0xb71d83)){let _0x39d056=_0xb71d83,_0x3af6ac=typeof _0x39d056[_0x46e443(0x5df)]=='string'?_0x39d056[_0x46e443(0x5df)][_0x46e443(0x2cd)]():'',_0x2efc5c=typeof _0x39d056[_0x46e443(0x395)]==_0x46e443(0x2b6)?_0x39d056['url']['trim']():'',_0x139a81=_0x2f680d(_0x2efc5c||_0x3af6ac);return _0x139a81?{'text':_0x3af6ac||_0x2efc5c||_0x139a81,'url':_0x139a81}:null;}let _0x39291b=String(_0xb71d83)['trim'](),_0x382c13=_0x2f680d(_0x39291b);return _0x382c13?{'text':_0x39291b,'url':_0x382c13}:null;}function _0x562340(_0x261ca7){const _0x5a5aa3=_0x571676;if(_0x261ca7==null)return'';if(typeof _0x261ca7=='object'&&!Array['isArray'](_0x261ca7)){let _0x56e385=_0x261ca7;return String(_0x56e385[_0x5a5aa3(0x5df)]||_0x56e385[_0x5a5aa3(0x395)]||'');}return String(_0x261ca7);}function _0x2f680d(_0x4f1b0d){const _0x908816=_0x571676;let _0xa9fa31=_0x4f1b0d[_0x908816(0x2cd)]();if(!_0xa9fa31)return'';let _0x49dfa2=/^[a-z][a-z\d+.-]*:/i[_0x908816(0x50e)](_0xa9fa31)?_0xa9fa31:_0xa9fa31[_0x908816(0x33b)]('//')?_0x908816(0x3ce)+_0xa9fa31:_0x908816(0x1ed)+_0xa9fa31;try{let _0xa188b7=new URL(_0x49dfa2);return _0xa188b7[_0x908816(0x4ab)]===_0x908816(0x295)||_0xa188b7[_0x908816(0x4ab)]===_0x908816(0x3ce)?_0xa188b7[_0x908816(0x38c)]:'';}catch{return'';}}function _0x18b9d0(_0x42cee2){const _0x53fe78=_0x571676;let _0x564bd3=_0x42cee2[_0x53fe78(0x406)]('@');if(_0x564bd3<=0x0||_0x564bd3!==_0x42cee2['lastIndexOf']('@'))return!0x1;let _0x4c690e=_0x42cee2[_0x53fe78(0x377)](_0x564bd3+0x1);return _0x4c690e[_0x53fe78(0x358)]('.')&&!_0x42cee2[_0x53fe78(0x358)]('\x20')&&!_0x4c690e[_0x53fe78(0x33b)]('.')&&!_0x4c690e[_0x53fe78(0x398)]('.');}let _0x4c83f7={'table':_0x2ef63c=>[_0x571676(0x291),_0x2ef63c],'field':(_0x794d23,_0x27b505)=>[_0x571676(0x291),_0x794d23,_0x571676(0x3c2),_0x27b505],'fieldOrder':(_0x210800,_0x1dbcfc)=>['tables',_0x210800,'fieldOrder',_0x1dbcfc],'record':(_0x4fd32e,_0x2301fc)=>['tables',_0x4fd32e,_0x571676(0x38f),_0x2301fc],'cell':(_0x3e47cf,_0x7ea40d,_0x40c16b)=>[_0x571676(0x291),_0x3e47cf,_0x571676(0x38f),_0x7ea40d,_0x571676(0x334),_0x40c16b],'cellData':(_0x3ec5df,_0x23d1d8,_0x15291c)=>[_0x571676(0x291),_0x3ec5df,_0x571676(0x38e),String(_0x23d1d8),String(_0x15291c)],'attachmentSet':(_0xa3dd60,_0x53e637)=>[_0x571676(0x291),_0xa3dd60,_0x571676(0x23c),_0x571676(0x1df),_0x53e637],'attachment':(_0x407a9e,_0x30034d)=>['tables',_0x407a9e,_0x571676(0x23c),_0x571676(0x1d4),_0x30034d],'view':(_0x18570d,_0x159574)=>[_0x571676(0x291),_0x18570d,_0x571676(0x18d),_0x159574],'viewFieldHidden':(_0x495cab,_0x627503,_0x13281e)=>[_0x571676(0x291),_0x495cab,'views',_0x627503,'fieldSettings',_0x13281e,'hidden']};var _0x3db0f3=class{[_0x571676(0x3b9)](_0x189eca,_0x4f4bed){const _0x19742a=_0x571676;let _0x1953cc=this[_0x19742a(0x3f7)](_0x189eca,_0x189eca['name'],_0x4f4bed);return _0x16f182([this[_0x19742a(0x40e)]([_0x19742a(0x46d)],_0x189eca[_0x19742a(0x46d)],_0x4f4bed),..._0x1953cc?[_0x1953cc]:[]]);}[_0x571676(0x3f7)](_0x8b8a21,_0x51ff94,_0x3d8fb9){const _0x5ddb16=_0x571676;let _0x147882=Object[_0x5ddb16(0x334)](_0x8b8a21['tables'])['flatMap'](_0x337d34=>Object[_0x5ddb16(0x334)](_0x337d34['fields'])[_0x5ddb16(0x387)](_0x1c7ff4=>{const _0x44dc8c=_0x5ddb16;var _0x2d9dc4,_0x55e870;if(_0x1c7ff4['type']!==_0x13cf76['BaseFieldType'][_0x44dc8c(0x26c)])return[];let _0x30c1bf=String(((_0x2d9dc4=_0x1c7ff4['config'])==null?void 0x0:_0x2d9dc4[_0x44dc8c(0x2b7)])??''),_0x3ba0f5=(0x0,_0x43fb1e[_0x44dc8c(0x27e)])(_0x30c1bf,_0x51ff94,_0x3d8fb9);return _0x3ba0f5===_0x30c1bf?[]:[this[_0x44dc8c(0x40e)]([..._0x4c83f7[_0x44dc8c(0x407)](_0x337d34['id'],_0x1c7ff4['id']),'config',_0x44dc8c(0x2b7)],(_0x55e870=_0x1c7ff4[_0x44dc8c(0x5b9)])==null?void 0x0:_0x55e870[_0x44dc8c(0x2b7)],_0x3ba0f5)];}));return _0x147882['length']>0x0?_0x16f182(_0x147882):void 0x0;}['createTable'](_0x387c0b,_0x4f89d3,_0x17a528=_0x387c0b['tableOrder']['length']){const _0x3f7d61=_0x571676;let _0x27fb39=(0x0,_0x13cf76[_0x3f7d61(0x280)])(_0x4f89d3[_0x3f7d61(0x46d)],(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x387c0b)[_0x3f7d61(0x334)](),_0x4f89d3[_0x3f7d61(0x4b8)]),_0x3f343f=_0x4f89d3['formulaName']===_0x27fb39?_0x4f89d3:{..._0x4f89d3,'formulaName':_0x27fb39};return _0x16f182([...this[_0x3f7d61(0x559)](_0x387c0b),_0x13cf76['JSON1'][_0x3f7d61(0x48c)](_0x4c83f7[_0x3f7d61(0x4b7)](_0x4f89d3['id']),_0x3f343f),_0x13cf76['JSON1'][_0x3f7d61(0x48c)]([_0x3f7d61(0x4d9),_0x17a528],_0x4f89d3['id'])]);}['renameTable'](_0x55a9a4,_0x12bf4b,_0x45b7ea){const _0x54b689=_0x571676;let _0x4bb120=_0x55a9a4['tables'][_0x12bf4b];return _0x16f182([...this[_0x54b689(0x559)](_0x55a9a4),_0x13cf76['JSON1'][_0x54b689(0x1b4)]([..._0x4c83f7['table'](_0x12bf4b),'name'],_0x4bb120[_0x54b689(0x46d)],_0x45b7ea)]);}['deleteTable'](_0x214e58,_0x4db2be){const _0x35494f=_0x571676;let _0x597e3e=_0x214e58[_0x35494f(0x291)][_0x4db2be],_0x28003b=_0x214e58[_0x35494f(0x4d9)][_0x35494f(0x406)](_0x4db2be);return _0x16f182([...this[_0x35494f(0x559)](_0x214e58,new Set([_0x4db2be])),_0x13cf76['JSON1']['removeOp'](_0x4c83f7[_0x35494f(0x4b7)](_0x4db2be),_0x597e3e),_0x13cf76[_0x35494f(0x575)][_0x35494f(0x4ed)](['tableOrder',_0x28003b],_0x4db2be)]);}['createRecord'](_0x176518,_0xc8eab,_0x228625){return this['createRecords'](_0x176518,_0xc8eab,[_0x228625]);}[_0x571676(0x248)](_0xf904d,_0x56b702,_0x52808c){const _0x2a3fef=_0x571676;let _0x477233=_0xf904d[_0x2a3fef(0x291)][_0x56b702],_0x3c029f=_0x52808c[_0x2a3fef(0x3c4)](_0x311e18=>_0x311e18&&!_0x477233[_0x2a3fef(0x38f)][_0x311e18['id']])['map'](_0x31e2f7=>({..._0x31e2f7,'values':{..._0x31e2f7['values'],[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x31e2f7['id']}}));if(!_0x3c029f[_0x2a3fef(0x4e9)])return _0x13cf76[_0x2a3fef(0x575)][_0x2a3fef(0x1b4)]([..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)]);let _0x4cdf4b=new _0x13cf76[(_0x2a3fef(0x575))]['WriteCursor'](),_0x4038bf=[..._0x3c029f]['sort']((_0x48a2a9,_0x1f9753)=>_0x48a2a9['id']<_0x1f9753['id']?-0x1:+(_0x48a2a9['id']>_0x1f9753['id'])),_0x16a235=[..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),'records'];_0x4cdf4b[_0x2a3fef(0x3c1)](_0x16a235);for(let _0x45044e of _0x4038bf)_0x4cdf4b[_0x2a3fef(0x3d7)](_0x45044e['id']),_0x4cdf4b[_0x2a3fef(0x4e0)]('i',_0x45044e),_0x4cdf4b[_0x2a3fef(0x314)]();for(let _0x351c59=0x0;_0x351c59<_0x16a235[_0x2a3fef(0x4e9)];_0x351c59+=0x1)_0x4cdf4b[_0x2a3fef(0x314)]();return _0x16f182([_0x4cdf4b[_0x2a3fef(0x59c)](),this[_0x2a3fef(0x5c9)](_0xf904d,_0x56b702,_0x3c029f)]);}[_0x571676(0x5dc)](_0x531d94,_0x2cc91f,_0x378074){const _0x53344d=_0x571676;return this[_0x53344d(0x23e)](_0x531d94,_0x2cc91f,[_0x378074]);}[_0x571676(0x23e)](_0x126708,_0xfa4a82,_0xbea6c4){const _0x1fdb13=_0x571676;let _0x59ad1d=_0x126708[_0x1fdb13(0x291)][_0xfa4a82],_0x54fe4e=Array[_0x1fdb13(0x2ed)](new Set(_0xbea6c4))[_0x1fdb13(0x3c4)](_0x4d8d1c=>_0x59ad1d[_0x1fdb13(0x38f)][_0x4d8d1c]);if(!_0x54fe4e[_0x1fdb13(0x4e9)])return _0x13cf76[_0x1fdb13(0x575)][_0x1fdb13(0x1b4)]([..._0x4c83f7[_0x1fdb13(0x4b7)](_0xfa4a82),_0x1fdb13(0x38f)],_0x59ad1d[_0x1fdb13(0x38f)],_0x59ad1d['records']);let _0x597b6c=new Set(_0x54fe4e),_0x2d80f9=_0xaf3938(_0x59ad1d,_0x54fe4e)['map'](_0x4fcb16=>this[_0x1fdb13(0x4a1)](_0x126708,_0xfa4a82,_0x4fcb16['recordId'],_0x4fcb16[_0x1fdb13(0x384)],''));return _0x16f182([this[_0x1fdb13(0x3f9)](_0x126708,_0xfa4a82,_0x54fe4e,_0x597b6c),..._0x2d80f9]);}[_0x571676(0x41b)](_0x11739b,_0x378563,_0x1e5172,_0x1b24b7){const _0x37c9a5=_0x571676;let _0x4eba1d=_0x11739b[_0x37c9a5(0x291)][_0x1e5172],_0xa25b0f=Array['from'](new Set(_0x1b24b7))['filter'](_0x3195ea=>_0x4eba1d['records'][_0x3195ea]),_0x476cd8=new Set(_0xa25b0f);return _0x16f182([new _0x1aaf1b()['invertOp'](_0x11739b,this[_0x37c9a5(0x3f9)](_0x11739b,_0x1e5172,_0xa25b0f,_0x476cd8)),..._0xaf3938(_0x4eba1d,_0xa25b0f)['map'](_0x14d5d7=>this[_0x37c9a5(0x4a1)](_0x378563,_0x1e5172,_0x14d5d7[_0x37c9a5(0x5c4)],_0x14d5d7[_0x37c9a5(0x384)],_0x14d5d7[_0x37c9a5(0x182)]??''))]);}[_0x571676(0x3f9)](_0x393da2,_0x3f7ade,_0x3108f8,_0x15d8ed){const _0x3a73e2=_0x571676;let _0x1613cb=_0x393da2['tables'][_0x3f7ade],_0x264c9b=_0x3108f8[_0x3a73e2(0x329)](_0x51e64a=>{const _0xf9b304=_0x3a73e2;var _0x4eb6a7;return{'recordId':_0x51e64a,'index':((_0x4eb6a7=_0x1613cb[_0xf9b304(0x1cd)])==null?void 0x0:_0x4eb6a7[_0xf9b304(0x406)](_0x51e64a))??-0x1};})[_0x3a73e2(0x3c4)](_0x279be6=>_0x279be6[_0x3a73e2(0x36f)]>=0x0)[_0x3a73e2(0x4af)]((_0x111b2e,_0x1bc575)=>_0x1bc575[_0x3a73e2(0x36f)]-_0x111b2e[_0x3a73e2(0x36f)]);return _0x16f182([..._0x3108f8[_0x3a73e2(0x329)](_0x13288d=>_0x13cf76[_0x3a73e2(0x575)]['removeOp'](_0x4c83f7[_0x3a73e2(0x4a9)](_0x3f7ade,_0x13288d),_0x1613cb[_0x3a73e2(0x38f)][_0x13288d])),..._0x264c9b[_0x3a73e2(0x329)](({recordId:_0x5ee893,index:_0x350901})=>_0x13cf76['JSON1'][_0x3a73e2(0x4ed)]([_0x3a73e2(0x291),_0x3f7ade,_0x3a73e2(0x1cd),_0x350901],_0x5ee893)),...this[_0x3a73e2(0x515)](_0x1613cb,_0x3f7ade,_0x2613a2=>{const _0x4c0acf=_0x3a73e2;let _0x3fc780=_0x2613a2['slice'](_0x2613a2[_0x4c0acf(0x4d6)]('\x1f')+0x1);return _0x15d8ed['has'](_0x3fc780);})]);}[_0x571676(0x529)](_0x56efb8,_0x4aab21,_0x4b34a9,_0x2a5da0){const _0x2f16c8=_0x571676;return this[_0x2f16c8(0x5ad)](_0x56efb8,_0x4aab21,{..._0x2a5da0,'values':{..._0x56efb8[_0x2f16c8(0x291)][_0x4aab21]['records'][_0x4b34a9][_0x2f16c8(0x334)],..._0x2a5da0[_0x2f16c8(0x334)],[_0x13cf76[_0x2f16c8(0x544)]]:_0x2a5da0['id']}});}[_0x571676(0x1ad)](_0x2375ee,_0x46eade,_0x41176d,_0x369f79){const _0x24277a=_0x571676;let _0x444b80=_0x2375ee[_0x24277a(0x291)][_0x46eade],_0xa9324c=[..._0x4c83f7[_0x24277a(0x4a9)](_0x46eade,_0x41176d),_0x24277a(0x34c)],_0x7918cf=Object['values'](_0x444b80[_0x24277a(0x38f)])[_0x24277a(0x329)](_0xbd239e=>_0xbd239e['id']===_0x41176d?{..._0xbd239e,'orderKey':_0x369f79}:_0xbd239e)[_0x24277a(0x4af)]((_0x45a9c9,_0x4335e3)=>String(_0x45a9c9['orderKey']??_0x45a9c9['id'])['localeCompare'](String(_0x4335e3[_0x24277a(0x34c)]??_0x4335e3['id'])))[_0x24277a(0x329)](_0x6a6101=>_0x6a6101['id']),_0x3e6e8b=[..._0x4c83f7[_0x24277a(0x4b7)](_0x46eade),_0x24277a(0x1cd)];return _0x16f182([this[_0x24277a(0x40e)](_0xa9324c,_0x444b80[_0x24277a(0x38f)][_0x41176d][_0x24277a(0x34c)],_0x369f79),_0x444b80[_0x24277a(0x1cd)]?_0x13cf76[_0x24277a(0x575)][_0x24277a(0x1b4)](_0x3e6e8b,_0x444b80['recordOrder'],_0x7918cf):_0x13cf76[_0x24277a(0x575)][_0x24277a(0x48c)](_0x3e6e8b,_0x7918cf)]);}[_0x571676(0x4a1)](_0x13af0a,_0x1f3918,_0x362efc,_0x12b564,_0xcec694){const _0x32b041=_0x571676;var _0x2ca0b6,_0x4045fc;let _0x114c7e=_0x13af0a[_0x32b041(0x291)][_0x1f3918],_0x54aa23=_0x102c8d(_0x114c7e,_0x362efc,_0x12b564)?_0x114c7e:_0x48b6e1(_0x114c7e),_0x2fa4d2=(_0x2ca0b6=_0x54aa23[_0x32b041(0x563)])==null?void 0x0:_0x2ca0b6[_0x362efc],_0x19a014=(_0x4045fc=_0x54aa23[_0x32b041(0x28e)])==null?void 0x0:_0x4045fc[_0x12b564];if(_0x2fa4d2==null||_0x19a014==null){var _0xfd5ebe;return this[_0x32b041(0x40e)](_0x4c83f7[_0x32b041(0x4d1)](_0x1f3918,_0x362efc,_0x12b564),(_0xfd5ebe=_0x13af0a[_0x32b041(0x291)][_0x1f3918])==null||(_0xfd5ebe=_0xfd5ebe[_0x32b041(0x38f)][_0x362efc])==null?void 0x0:_0xfd5ebe['values'][_0x12b564],_0xcec694);}return this[_0x32b041(0x23a)](_0x13af0a,_0x1f3918,[{'row':_0x2fa4d2,'col':_0x19a014,'value':_0xcec694}]);}[_0x571676(0x565)](_0x115450,_0x1c0980,_0x55a253){const _0x54a02b=_0x571676;let _0x3ee8eb=_0x115450['tables'][_0x1c0980],_0x484336=_0x55a253[_0x54a02b(0x5a5)](_0xb717d8=>Object[_0x54a02b(0x2db)](_0xb717d8[_0x54a02b(0x334)])[_0x54a02b(0x5a5)](_0x1f4a06=>_0x102c8d(_0x3ee8eb,_0xb717d8['recordId'],_0x1f4a06)))?_0x3ee8eb:_0x48b6e1(_0x3ee8eb),_0x3ee0c0=_0x55a253[_0x54a02b(0x387)](_0x10e0b9=>Object[_0x54a02b(0x460)](_0x10e0b9['values'])[_0x54a02b(0x387)](([_0x331bc8,_0x55988a])=>{const _0x32af5a=_0x54a02b;var _0xe32874,_0x54d77b;let _0x3e616c=(_0xe32874=_0x484336[_0x32af5a(0x563)])==null?void 0x0:_0xe32874[_0x10e0b9['recordId']],_0x34b701=(_0x54d77b=_0x484336[_0x32af5a(0x28e)])==null?void 0x0:_0x54d77b[_0x331bc8];return _0x3e616c==null||_0x34b701==null?[]:[{'row':_0x3e616c,'col':_0x34b701,'value':_0x55988a}];})),_0x34eb43=_0x55a253['flatMap'](_0x5b860b=>Object[_0x54a02b(0x460)](_0x5b860b[_0x54a02b(0x34a)]??{})[_0x54a02b(0x329)](([_0x356121,_0x179635])=>{const _0x4405df=_0x54a02b;var _0x2b8a7f;let _0x133988=[..._0x4c83f7[_0x4405df(0x4a9)](_0x1c0980,_0x5b860b[_0x4405df(0x5c4)]),_0x356121],_0x1c6104=(_0x2b8a7f=_0x115450[_0x4405df(0x291)][_0x1c0980])==null||(_0x2b8a7f=_0x2b8a7f[_0x4405df(0x38f)][_0x5b860b['recordId']])==null?void 0x0:_0x2b8a7f[_0x356121];return this['_replaceOptional'](_0x133988,_0x1c6104,_0x179635);}));return _0x16f182([this[_0x54a02b(0x23a)](_0x115450,_0x1c0980,_0x3ee0c0),..._0x34eb43]);}['setRangeValues'](_0x24220e,_0x479765,_0x3fc586){const _0x4ba9d9=_0x571676;let _0x17b386=_0x24220e[_0x4ba9d9(0x291)][_0x479765],_0x5c0f30=_0x3fc586['every'](_0x3d0fda=>_0x13c483(_0x17b386,_0x3d0fda[_0x4ba9d9(0x22f)],_0x3d0fda[_0x4ba9d9(0x5ac)]))?_0x17b386:_0x48b6e1(_0x17b386),_0x324cbc=new Map(),_0x55b373=_0x3fc586[_0x4ba9d9(0x387)](_0x4acb02=>{const _0x2b21b5=_0x4ba9d9;var _0x37a5aa,_0x32ef32,_0x169c7f,_0x506e57;let _0x50b0f8=(_0x37a5aa=_0x5c0f30['colId'])==null?void 0x0:_0x37a5aa[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5dc5c6=(_0x32ef32=_0x5c0f30[_0x2b21b5(0x556)])==null?void 0x0:_0x32ef32[_0x4acb02['row']],_0x444a4d=_0x50b0f8?_0x5c0f30[_0x2b21b5(0x3c2)][_0x50b0f8]:void 0x0;if(_0x50b0f8===_0x13cf76[_0x2b21b5(0x544)]||(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)][_0x2b21b5(0x2ea)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x2e47c6=_0x4c5834(_0x4acb02[_0x2b21b5(0x315)],_0x444a4d),_0xf3a72b=(_0x169c7f=_0x5c0f30['cellData'])==null||(_0x169c7f=_0x169c7f[_0x4acb02['row']])==null?void 0x0:_0x169c7f[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5211e3=this['_replaceOptional'](_0x4c83f7['cellData'](_0x479765,_0x4acb02[_0x2b21b5(0x22f)],_0x4acb02[_0x2b21b5(0x5ac)]),_0xf3a72b,_0x2e47c6);if(!_0x50b0f8||!_0x5dc5c6)return[_0x5211e3];let _0x183d89=(_0x506e57=_0x5c0f30[_0x2b21b5(0x38f)][_0x5dc5c6])==null?void 0x0:_0x506e57[_0x2b21b5(0x334)][_0x50b0f8],_0x402e54=(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)]['Attachment']?_0x293a71(_0x4acb02[_0x2b21b5(0x315)]):_0x19f247(_0x4acb02[_0x2b21b5(0x315)],_0x2e47c6,_0x444a4d,_0x5c0f30,_0x5dc5c6),_0x12305f=[_0x5211e3,this[_0x2b21b5(0x40e)](_0x4c83f7['cell'](_0x479765,_0x5dc5c6,_0x50b0f8),_0x183d89,_0x402e54)];return(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76['BaseFieldType']['Attachment']&&_0x324cbc['set'](_0x43571f(_0x50b0f8,_0x5dc5c6),{'recordId':_0x5dc5c6,'fieldId':_0x50b0f8,'attachments':_0x402e54}),_0x12305f;});return _0x55b373[_0x4ba9d9(0x4e9)]?_0x16f182([..._0x55b373,...this[_0x4ba9d9(0x587)](_0x5c0f30,_0x479765,Array[_0x4ba9d9(0x2ed)](_0x324cbc['values']()))]):_0x13cf76[_0x4ba9d9(0x575)][_0x4ba9d9(0x1b4)]([_0x4ba9d9(0x291),_0x479765,_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)]);}[_0x571676(0x444)](_0xb3c594,_0x5ebf6b,_0x4d14e3){const _0x10850b=_0x571676;let _0x4378d3=_0xb3c594[_0x10850b(0x291)][_0x5ebf6b];if(_0x4378d3[_0x10850b(0x3c2)][_0x4d14e3[_0x10850b(0x407)]['id']]||_0x4378d3[_0x10850b(0x582)]['includes'](_0x4d14e3[_0x10850b(0x407)]['id']))return _0x13cf76[_0x10850b(0x575)][_0x10850b(0x1b4)]([_0x10850b(0x291),_0x5ebf6b,_0x10850b(0x582)],_0x4378d3['fieldOrder'],_0x4378d3[_0x10850b(0x582)]);let _0x416f61=Math[_0x10850b(0x402)](0x1,_0x4d14e3['index']??_0x4378d3[_0x10850b(0x582)][_0x10850b(0x4e9)]),_0x27c785=Object[_0x10850b(0x334)](_0x4378d3['views']??{})['flatMap'](_0x44b8a4=>{const _0x33d730=_0x10850b;var _0x3f0764;if(!_0x44b8a4[_0x33d730(0x582)]||_0x44b8a4[_0x33d730(0x582)][_0x33d730(0x358)](_0x4d14e3[_0x33d730(0x407)]['id']))return[];let _0x3448bf=_0x206e7e(((_0x3f0764=_0x4d14e3['viewIndexes'])==null?void 0x0:_0x3f0764[_0x44b8a4['id']])??_0x416f61,_0x44b8a4['fieldOrder'][_0x33d730(0x4e9)]);return[_0x13cf76['JSON1']['insertOp']([..._0x4c83f7[_0x33d730(0x197)](_0x5ebf6b,_0x44b8a4['id']),_0x33d730(0x582),_0x3448bf],_0x4d14e3[_0x33d730(0x407)]['id'])];});return _0x16f182([..._0x4d14e3['field'][_0x10850b(0x292)]===_0x13cf76[_0x10850b(0x517)][_0x10850b(0x26c)]?this[_0x10850b(0x559)](_0xb3c594):[],_0x13cf76[_0x10850b(0x575)][_0x10850b(0x48c)](_0x4c83f7[_0x10850b(0x407)](_0x5ebf6b,_0x4d14e3[_0x10850b(0x407)]['id']),_0x4d14e3[_0x10850b(0x407)]),_0x13cf76[_0x10850b(0x575)]['insertOp'](_0x4c83f7['fieldOrder'](_0x5ebf6b,_0x416f61),_0x4d14e3['field']['id']),..._0x27c785]);}['duplicateField'](_0xc6ad59,_0x4e1170,_0xcae806,_0x55353d){const _0x6a7cbc=_0x571676;let _0x1b4dc2=_0xc6ad59[_0x6a7cbc(0x291)][_0x4e1170];if(!_0x1b4dc2[_0x6a7cbc(0x3c2)][_0xcae806]||_0x1b4dc2['fields'][_0x55353d[_0x6a7cbc(0x407)]['id']]||_0x1b4dc2['fieldOrder'][_0x6a7cbc(0x358)](_0x55353d[_0x6a7cbc(0x407)]['id']))return _0x13cf76[_0x6a7cbc(0x575)][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x1b4dc2['fieldOrder']);let _0x5e94bd=_0x55353d[_0x6a7cbc(0x36f)]??_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x406)](_0xcae806)+0x1,_0x259790=_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x3c4)](_0xc767c8=>_0xc767c8!==_0x55353d['field']['id']),_0x519f02=_0x57eac1(_0x259790,_0x55353d[_0x6a7cbc(0x407)]['id'],_0x5e94bd),_0x44ee92=Object['values'](_0x1b4dc2['views']??{})[_0x6a7cbc(0x387)](_0x4535e1=>{const _0x325ddb=_0x6a7cbc;var _0x4a1772,_0x5e2726,_0x5a4f23,_0x1b83b9;let _0x573056=(_0x4a1772=_0x4535e1[_0x325ddb(0x582)])!=null&&_0x4a1772['length']?_0x4535e1[_0x325ddb(0x582)]:_0x259790;if(_0x573056[_0x325ddb(0x358)](_0x55353d[_0x325ddb(0x407)]['id']))return[];let _0xaa908a=_0x57eac1(_0x573056,_0x55353d[_0x325ddb(0x407)]['id'],((_0x5e2726=_0x55353d[_0x325ddb(0x3ff)])==null?void 0x0:_0x5e2726[_0x4535e1['id']])??_0x5e94bd),_0x256119=(_0x5a4f23=_0x4535e1['fieldSettings'])==null?void 0x0:_0x5a4f23[_0xcae806];return[this[_0x325ddb(0x40e)]([..._0x4c83f7['view'](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x582)],_0x4535e1[_0x325ddb(0x582)],_0xaa908a),..._0x256119?[this[_0x325ddb(0x40e)]([..._0x4c83f7[_0x325ddb(0x197)](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x3ea),_0x55353d['field']['id']],(_0x1b83b9=_0x4535e1[_0x325ddb(0x3ea)])==null?void 0x0:_0x1b83b9[_0x55353d[_0x325ddb(0x407)]['id']],_0x256119)]:[]];}),_0x3e8f7e=Object['values'](_0x1b4dc2[_0x6a7cbc(0x38f)])[_0x6a7cbc(0x3c4)](_0x5c0508=>Object[_0x6a7cbc(0x41e)][_0x6a7cbc(0x189)]['call'](_0x5c0508[_0x6a7cbc(0x334)],_0xcae806))[_0x6a7cbc(0x329)](_0x2ca1f3=>this['_replaceOptional'](_0x4c83f7[_0x6a7cbc(0x4d1)](_0x4e1170,_0x2ca1f3['id'],_0x55353d[_0x6a7cbc(0x407)]['id']),_0x2ca1f3[_0x6a7cbc(0x334)][_0x55353d[_0x6a7cbc(0x407)]['id']],_0x2ca1f3[_0x6a7cbc(0x334)][_0xcae806]));return _0x16f182([..._0x55353d[_0x6a7cbc(0x407)][_0x6a7cbc(0x292)]===_0x13cf76['BaseFieldType'][_0x6a7cbc(0x26c)]?this[_0x6a7cbc(0x559)](_0xc6ad59):[],_0x13cf76[_0x6a7cbc(0x575)]['insertOp'](_0x4c83f7[_0x6a7cbc(0x407)](_0x4e1170,_0x55353d[_0x6a7cbc(0x407)]['id']),_0x55353d[_0x6a7cbc(0x407)]),_0x13cf76['JSON1'][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x519f02),..._0x44ee92,..._0x3e8f7e]);}[_0x571676(0x241)](_0x479831,_0x5eca40,_0x97b9a9,_0x1751e4){const _0x23e42d=_0x571676;let _0x2547a5=_0x479831['tables'][_0x5eca40][_0x23e42d(0x3c2)][_0x97b9a9],_0x567133={..._0x2547a5,..._0x1751e4};Object[_0x23e42d(0x2db)](_0x1751e4)[_0x23e42d(0x3c9)](_0x4b0e58=>{_0x1751e4[_0x4b0e58]===void 0x0&&delete _0x567133[_0x4b0e58];});let _0x4ae4c6=_0x296551(_0x479831['tables'][_0x5eca40],_0x97b9a9,_0x2547a5,_0x567133);_0x567133=_0x4ae4c6[_0x23e42d(0x407)];let _0x24dffb=_0x13cf76[_0x23e42d(0x575)][_0x23e42d(0x1b4)](_0x4c83f7[_0x23e42d(0x407)](_0x5eca40,_0x97b9a9),_0x2547a5,_0x567133);return _0x567133[_0x23e42d(0x292)]===_0x13cf76[_0x23e42d(0x517)][_0x23e42d(0x26c)]?_0x16f182([...this['_materializeFormulaTableNames'](_0x479831),_0x24dffb,...this[_0x23e42d(0x46b)](_0x479831,_0x5eca40,_0x97b9a9,_0x567133)]):_0x16f182([_0x24dffb,..._0x4ae4c6['patches'][_0x23e42d(0x4e9)]?[this['setRangeValues'](_0x479831,_0x5eca40,_0x4ae4c6[_0x23e42d(0x2d8)])]:[]]);}[_0x571676(0x1d1)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad){const _0x370f41=_0x571676;return this[_0x370f41(0x241)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad);}['deleteField'](_0x1809dc,_0x17815a,_0x31d675){const _0x1d5959=_0x571676;let _0x4bb8b5=_0x1809dc[_0x1d5959(0x291)][_0x17815a];if(!(_0x4bb8b5!=null&&_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675])||_0x4bb8b5[_0x1d5959(0x422)]===_0x31d675||_0x31d675===_0x13cf76[_0x1d5959(0x544)])return _0x13cf76[_0x1d5959(0x575)][_0x1d5959(0x1b4)]([_0x1d5959(0x291),_0x17815a,_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5[_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5['fieldOrder']);let _0xacb25=_0x4bb8b5[_0x1d5959(0x582)][_0x1d5959(0x406)](_0x31d675),_0x283fca=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x18d)])[_0x1d5959(0x387)](_0x3f6afd=>{const _0x48ee2a=_0x1d5959;var _0x3a495b,_0x231d4c,_0x49d483,_0x516f11,_0x5f3449,_0x2df84b,_0x46bbca;let _0x45db36=[],_0x356a87=((_0x3a495b=_0x3f6afd[_0x48ee2a(0x582)])==null?void 0x0:_0x3a495b[_0x48ee2a(0x406)](_0x31d675))??-0x1;_0x356a87>=0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'fieldOrder',_0x356a87],_0x31d675));let _0x4235ca=(_0x231d4c=_0x3f6afd['fieldSettings'])==null?void 0x0:_0x231d4c[_0x31d675];_0x4235ca!==void 0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x3ea),_0x31d675],_0x4235ca));let _0x349309=_0x3f6afd[_0x48ee2a(0x3c4)]?{..._0x3f6afd[_0x48ee2a(0x3c4)],'conditions':_0x3f6afd['filter'][_0x48ee2a(0x3af)][_0x48ee2a(0x3c4)](_0x452895=>_0x452895[_0x48ee2a(0x384)]!==_0x31d675)}:_0x3f6afd[_0x48ee2a(0x3c4)];_0x349309&&_0x349309[_0x48ee2a(0x3af)][_0x48ee2a(0x4e9)]!==((_0x49d483=_0x3f6afd[_0x48ee2a(0x3c4)])==null?void 0x0:_0x49d483['conditions'][_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'filter'],_0x3f6afd[_0x48ee2a(0x3c4)],_0x349309));let _0x5c3ab5=(_0x516f11=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x516f11[_0x48ee2a(0x3c4)](_0x506f56=>_0x506f56[_0x48ee2a(0x384)]!==_0x31d675);_0x5c3ab5&&_0x5c3ab5[_0x48ee2a(0x4e9)]!==((_0x5f3449=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x5f3449[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x4af)],_0x3f6afd[_0x48ee2a(0x4af)],_0x5c3ab5));let _0x399b13=(_0x2df84b=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x2df84b['filter'](_0x33292b=>_0x33292b['fieldId']!==_0x31d675);_0x399b13&&_0x399b13[_0x48ee2a(0x4e9)]!==((_0x46bbca=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x46bbca[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x42c)],_0x3f6afd[_0x48ee2a(0x42c)],_0x399b13));let _0x1a8a22=_0x171da6(_0x3f6afd['config'],_0x31d675);return JSON['stringify'](_0x1a8a22)!==JSON[_0x48ee2a(0x30d)](_0x3f6afd[_0x48ee2a(0x5b9)])&&_0x45db36['push'](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x1b4)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x5b9)],_0x3f6afd[_0x48ee2a(0x5b9)],_0x1a8a22)),_0x45db36;}),_0x58180c=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x38f)])[_0x1d5959(0x387)](_0x5aabb4=>Object[_0x1d5959(0x41e)][_0x1d5959(0x189)][_0x1d5959(0x279)](_0x5aabb4['values'],_0x31d675)?[_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x4d1)](_0x17815a,_0x5aabb4['id'],_0x31d675),_0x5aabb4[_0x1d5959(0x334)][_0x31d675])]:[]);return _0x16f182([_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x407)](_0x17815a,_0x31d675),_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675]),_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7['fieldOrder'](_0x17815a,_0xacb25),_0x31d675),..._0x283fca,..._0x58180c,...this[_0x1d5959(0x515)](_0x4bb8b5,_0x17815a,_0x4d659a=>_0x4d659a[_0x1d5959(0x33b)](_0x31d675+'\x1f'))]);}[_0x571676(0x1c4)](_0x56caf8,_0x1a724d,_0x4224f8,_0x5cceb9){const _0x57e890=_0x571676;let _0x4f07bf=_0x56caf8['tables'][_0x1a724d][_0x57e890(0x582)];if(_0x4224f8===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x5cceb9[_0x57e890(0x2a9)]===_0x13cf76[_0x57e890(0x544)])throw Error(_0x57e890(0x29d));let _0x409135=_0x3f7fa2(_0x4f07bf,_0x4224f8,_0x5cceb9);return _0x13cf76[_0x57e890(0x575)][_0x57e890(0x1b4)]([_0x57e890(0x291),_0x1a724d,_0x57e890(0x582)],_0x4f07bf,_0x409135);}[_0x571676(0x18a)](_0xda2967,_0x3e8426,_0x26c006,_0x395b82=_0xda2967['tables'][_0x3e8426]['viewOrder'][_0x571676(0x4e9)]){const _0x583c0e=_0x571676;return _0x16f182([_0x13cf76[_0x583c0e(0x575)][_0x583c0e(0x48c)](_0x4c83f7[_0x583c0e(0x197)](_0x3e8426,_0x26c006['id']),_0x26c006),_0x13cf76['JSON1'][_0x583c0e(0x48c)]([_0x583c0e(0x291),_0x3e8426,_0x583c0e(0x43a),_0x395b82],_0x26c006['id'])]);}[_0x571676(0x455)](_0x30a392,_0x407d8e,_0x2843b7,_0xa11917){const _0x392475=_0x571676;return _0x13cf76[_0x392475(0x575)]['replaceOp']([..._0x4c83f7[_0x392475(0x197)](_0x407d8e,_0x2843b7),'name'],_0x30a392[_0x392475(0x291)][_0x407d8e][_0x392475(0x18d)][_0x2843b7][_0x392475(0x46d)],_0xa11917);}['deleteView'](_0x29ed19,_0x541c0f,_0x39d92b){const _0x5cf766=_0x571676;let _0x35a2c8=_0x29ed19['tables'][_0x541c0f],_0x48fdf9=_0x35a2c8['views'][_0x39d92b],_0x553f96=_0x35a2c8[_0x5cf766(0x43a)]['indexOf'](_0x39d92b);return _0x16f182([_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)](_0x4c83f7[_0x5cf766(0x197)](_0x541c0f,_0x39d92b),_0x48fdf9),_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)]([_0x5cf766(0x291),_0x541c0f,_0x5cf766(0x43a),_0x553f96],_0x39d92b)]);}[_0x571676(0x5b5)](_0xf739f3,_0x2e71c6,_0x24102c,_0x5c8710){const _0x31671f=_0x571676;let _0x109188=_0xf739f3[_0x31671f(0x291)][_0x2e71c6]['viewOrder'],_0x1c94c1=_0x3f7fa2(_0x109188,_0x24102c,{'beforeFieldId':_0x5c8710[_0x31671f(0x262)],'afterFieldId':_0x5c8710[_0x31671f(0x338)]});return _0x13cf76[_0x31671f(0x575)][_0x31671f(0x1b4)]([_0x31671f(0x291),_0x2e71c6,_0x31671f(0x43a)],_0x109188,_0x1c94c1);}[_0x571676(0x20d)](_0x3c4f18,_0x490dff,_0x592e63,_0x4e7580){const _0x22c0d6=_0x571676;let _0x566da5=_0x3c4f18[_0x22c0d6(0x291)][_0x490dff]['views'][_0x592e63][_0x22c0d6(0x5b9)]??{},_0x369a6e={..._0x566da5,..._0x4e7580};return Object['keys'](_0x4e7580)[_0x22c0d6(0x3c9)](_0x49935f=>{_0x4e7580[_0x49935f]===void 0x0&&delete _0x369a6e[_0x49935f];}),_0x13cf76[_0x22c0d6(0x575)][_0x22c0d6(0x1b4)]([..._0x4c83f7[_0x22c0d6(0x197)](_0x490dff,_0x592e63),_0x22c0d6(0x5b9)],_0x566da5,_0x369a6e);}[_0x571676(0x1e1)](_0x4f6ab3,_0x51233c,_0x261ea1,_0x3c2689){const _0x3e810c=_0x571676;return this[_0x3e810c(0x40e)]([..._0x4c83f7[_0x3e810c(0x197)](_0x51233c,_0x261ea1),_0x3e810c(0x3c4)],_0x4f6ab3[_0x3e810c(0x291)][_0x51233c]['views'][_0x261ea1][_0x3e810c(0x3c4)],_0x3c2689);}[_0x571676(0x27b)](_0x1f71d8,_0x5dfbf2,_0x495fb1,_0x133420){const _0x497750=_0x571676;return this[_0x497750(0x40e)]([..._0x4c83f7[_0x497750(0x197)](_0x5dfbf2,_0x495fb1),'sort'],_0x1f71d8[_0x497750(0x291)][_0x5dfbf2][_0x497750(0x18d)][_0x495fb1][_0x497750(0x4af)],_0x133420);}[_0x571676(0x43b)](_0x8ca994,_0x53b4aa,_0x46c7a8,_0x3bd997){const _0x5afa58=_0x571676;return this['_replaceOptional']([..._0x4c83f7[_0x5afa58(0x197)](_0x53b4aa,_0x46c7a8),_0x5afa58(0x42c)],_0x8ca994[_0x5afa58(0x291)][_0x53b4aa][_0x5afa58(0x18d)][_0x46c7a8][_0x5afa58(0x42c)],_0x3bd997);}['setViewFieldVisible'](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,_0x13d3b7){const _0x1ea01a=_0x571676;return this[_0x1ea01a(0x2d3)](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,{'hidden':!_0x13d3b7});}[_0x571676(0x272)](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,_0x68037b){return this['_setViewFieldSetting'](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,{'width':_0x68037b});}[_0x571676(0x55c)](_0x505255,_0x3b65ee,_0x2be32e,_0x17f3e2,_0x5de9c2){const _0x1379ba=_0x571676;let _0x24b2d7=_0x505255[_0x1379ba(0x291)][_0x3b65ee]['views'][_0x2be32e],_0x291ef6=_0x3f7fa2(_0x24b2d7['fieldOrder']??_0x505255[_0x1379ba(0x291)][_0x3b65ee][_0x1379ba(0x582)],_0x17f3e2,_0x5de9c2);return this['_replaceOptional']([..._0x4c83f7[_0x1379ba(0x197)](_0x3b65ee,_0x2be32e),_0x1379ba(0x582)],_0x24b2d7[_0x1379ba(0x582)],_0x291ef6);}[_0x571676(0x2d3)](_0x135cc6,_0x37e07e,_0x2c9af3,_0x2fa2f8,_0x4a04e9){const _0x118bb2=_0x571676;let _0x56da1c=_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)]??{},_0x4e5107={..._0x56da1c,[_0x2fa2f8]:{..._0x56da1c[_0x2fa2f8],..._0x4a04e9}};return this[_0x118bb2(0x40e)]([..._0x4c83f7[_0x118bb2(0x197)](_0x37e07e,_0x2c9af3),_0x118bb2(0x3ea)],_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)],_0x4e5107);}['_createRecordOrderOp'](_0x4f8e94,_0x21e6de,_0x5aca59){const _0x342ff2=_0x571676;let _0x24dd5b=_0x4f8e94['tables'][_0x21e6de],_0x8f74ad=new Set(_0x5aca59[_0x342ff2(0x329)](_0x427487=>_0x427487['id'])),_0x550dbf=[...Object['values'](_0x24dd5b[_0x342ff2(0x38f)])[_0x342ff2(0x3c4)](_0x20dc92=>!_0x8f74ad[_0x342ff2(0x370)](_0x20dc92['id'])),..._0x5aca59][_0x342ff2(0x4af)]((_0x2303b9,_0x1bde74)=>String(_0x2303b9[_0x342ff2(0x34c)]??_0x2303b9['id'])['localeCompare'](String(_0x1bde74[_0x342ff2(0x34c)]??_0x1bde74['id'])))[_0x342ff2(0x329)](_0x3e2dcd=>_0x3e2dcd['id']),_0x25a468=[..._0x4c83f7['table'](_0x21e6de),_0x342ff2(0x1cd)];return _0x24dd5b[_0x342ff2(0x1cd)]?_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x1b4)](_0x25a468,_0x24dd5b['recordOrder'],_0x550dbf):_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x48c)](_0x25a468,_0x550dbf);}[_0x571676(0x559)](_0x14c7e2,_0x3aa30e=new Set()){const _0x5eb946=_0x571676;let _0x3aa388=(0x0,_0x13cf76[_0x5eb946(0x3a1)])(_0x14c7e2);return Object[_0x5eb946(0x334)](_0x14c7e2[_0x5eb946(0x291)])[_0x5eb946(0x3c4)](_0x1bf9bc=>!_0x3aa30e[_0x5eb946(0x370)](_0x1bf9bc['id']))['sort']((_0x217c94,_0x568544)=>_0x217c94['id'][_0x5eb946(0x391)](_0x568544['id']))[_0x5eb946(0x387)](_0x48d942=>{const _0x50c330=_0x5eb946;let _0x472711=_0x3aa388['get'](_0x48d942['id']);return!_0x472711||_0x48d942[_0x50c330(0x4b8)]===_0x472711?[]:[this[_0x50c330(0x40e)]([..._0x4c83f7[_0x50c330(0x4b7)](_0x48d942['id']),_0x50c330(0x4b8)],_0x48d942['formulaName'],_0x472711)];});}[_0x571676(0x46b)](_0x439d81,_0x619e63,_0x489cb4,_0x2da6ce){const _0x23cc34=_0x571676;var _0x526c62,_0x41c3f7;let _0x5a9886=_0x48b6e1(_0x439d81['tables'][_0x619e63]),_0x4e7bd8=String(((_0x526c62=_0x2da6ce[_0x23cc34(0x5b9)])==null?void 0x0:_0x526c62[_0x23cc34(0x2b7)])??'')['trim'](),_0x4d79b5=(_0x41c3f7=_0x5a9886[_0x23cc34(0x28e)])==null?void 0x0:_0x41c3f7[_0x489cb4];if(_0x4d79b5==null)return[];let _0xb1436b=_0x5a9886[_0x23cc34(0x1cd)]??Object['keys'](_0x5a9886[_0x23cc34(0x38f)]),_0x138e88=_0xb1436b[_0x23cc34(0x329)](_0x4ac483=>{const _0x16766b=_0x23cc34;var _0x12a602;return(_0x12a602=_0x5a9886[_0x16766b(0x563)])==null?void 0x0:_0x12a602[_0x4ac483];})['find'](_0x4c183a=>_0x4c183a!=null);return _0xb1436b[_0x23cc34(0x387)](_0x50c4d5=>{const _0x236e5f=_0x23cc34;var _0x1b9471,_0x5d2378;let _0x5a1835=(_0x1b9471=_0x5a9886[_0x236e5f(0x563)])==null?void 0x0:_0x1b9471[_0x50c4d5];if(_0x5a1835==null)return[];let _0x4bebbd=(_0x5d2378=_0x5a9886[_0x236e5f(0x38e)])==null||(_0x5d2378=_0x5d2378[_0x5a1835])==null?void 0x0:_0x5d2378[_0x4d79b5],_0x597867=_0x4e7bd8?_0x5a1835===_0x138e88?{'f':_0x4e7bd8,'si':_0x489cb4}:{'si':_0x489cb4}:{'v':null,'t':null};return[this[_0x236e5f(0x40e)](_0x4c83f7['cellData'](_0x619e63,_0x5a1835,_0x4d79b5),_0x4bebbd,_0x597867)];});}[_0x571676(0x587)](_0x14e705,_0x8304dd,_0xbf492e){const _0x2c2aa7=_0x571676;var _0x42e8cb;let _0x2e70b2=new Map(Object[_0x2c2aa7(0x460)](((_0x42e8cb=_0x14e705[_0x2c2aa7(0x23c)])==null?void 0x0:_0x42e8cb[_0x2c2aa7(0x1df)])??{})),_0x338512=new Map(),_0x182f52=new Set(),_0x55d7c9=_0xbf492e[_0x2c2aa7(0x329)](({recordId:_0x450e67,fieldId:_0x55890c,attachments:_0x8895f6})=>{const _0x20e75d=_0x2c2aa7;var _0x1496b2;let _0x3228e4=_0x43571f(_0x55890c,_0x450e67),_0x4095b7=_0x8895f6[_0x20e75d(0x329)]((_0x14a7ed,_0x40d9d8)=>String(_0x14a7ed['id']??_0x3228e4+'\x1f'+_0x40d9d8));return _0x182f52[_0x20e75d(0x54c)](_0x3228e4),_0x2e70b2['set'](_0x3228e4,_0x4095b7),_0x8895f6['forEach']((_0x45a0ca,_0x498efd)=>{const _0xe1d0cd=_0x20e75d;let _0x1500b0=_0x4095b7[_0x498efd];_0x338512[_0xe1d0cd(0x569)](_0x1500b0,{..._0x45a0ca,'id':_0x1500b0});}),this['_replaceOptional'](_0x4c83f7[_0x20e75d(0x3cd)](_0x8304dd,_0x3228e4),(_0x1496b2=_0x14e705[_0x20e75d(0x23c)])==null||(_0x1496b2=_0x1496b2[_0x20e75d(0x1df)])==null?void 0x0:_0x1496b2[_0x3228e4],_0x4095b7);}),_0x5933db=Array[_0x2c2aa7(0x2ed)](_0x338512)[_0x2c2aa7(0x329)](([_0x5c2358,_0x1861c3])=>{const _0x9b2bfa=_0x2c2aa7;var _0x256057;return this[_0x9b2bfa(0x40e)](_0x4c83f7[_0x9b2bfa(0x4fe)](_0x8304dd,_0x5c2358),(_0x256057=_0x14e705[_0x9b2bfa(0x23c)])==null||(_0x256057=_0x256057[_0x9b2bfa(0x1d4)])==null?void 0x0:_0x256057[_0x5c2358],_0x1861c3);}),_0x1d5bbf=new Set(Array[_0x2c2aa7(0x2ed)](_0x2e70b2['values']())[_0x2c2aa7(0x541)]()),_0x63e458=new Set(Array[_0x2c2aa7(0x2ed)](_0x182f52)[_0x2c2aa7(0x387)](_0x535393=>{const _0x52a76b=_0x2c2aa7;var _0x4932a6;return((_0x4932a6=_0x14e705['resources'])==null||(_0x4932a6=_0x4932a6[_0x52a76b(0x1df)])==null?void 0x0:_0x4932a6[_0x535393])??[];})),_0x13e4b6=Array[_0x2c2aa7(0x2ed)](_0x63e458)[_0x2c2aa7(0x387)](_0x53330c=>{const _0x4a9e37=_0x2c2aa7;var _0xab1372;let _0x53dfe6=(_0xab1372=_0x14e705[_0x4a9e37(0x23c)])==null||(_0xab1372=_0xab1372[_0x4a9e37(0x1d4)])==null?void 0x0:_0xab1372[_0x53330c];return _0x53dfe6!==void 0x0&&!_0x1d5bbf[_0x4a9e37(0x370)](_0x53330c)?[_0x13cf76[_0x4a9e37(0x575)]['removeOp'](_0x4c83f7[_0x4a9e37(0x4fe)](_0x8304dd,_0x53330c),_0x53dfe6)]:[];});return[..._0x55d7c9,..._0x5933db,..._0x13e4b6];}[_0x571676(0x515)](_0x57a0ef,_0x1da52b,_0x523bf2){const _0x52d7f2=_0x571676;var _0x576085;let _0x4d85d2=((_0x576085=_0x57a0ef[_0x52d7f2(0x23c)])==null?void 0x0:_0x576085[_0x52d7f2(0x1df)])??{},_0x4ad81f=Object['entries'](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0x14b3fb])=>_0x523bf2(_0x14b3fb));if(!_0x4ad81f[_0x52d7f2(0x4e9)])return[];let _0x57ff22=new Set(Object[_0x52d7f2(0x460)](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0xfb84c4])=>!_0x523bf2(_0xfb84c4))[_0x52d7f2(0x387)](([,_0x93f832])=>_0x93f832)),_0xf6151a=new Set(_0x4ad81f[_0x52d7f2(0x387)](([,_0x5a030c])=>_0x5a030c));return[..._0x4ad81f[_0x52d7f2(0x329)](([_0x7aa18f,_0x1bbf14])=>_0x13cf76[_0x52d7f2(0x575)][_0x52d7f2(0x4ed)](_0x4c83f7[_0x52d7f2(0x3cd)](_0x1da52b,_0x7aa18f),_0x1bbf14)),...Array[_0x52d7f2(0x2ed)](_0xf6151a)[_0x52d7f2(0x387)](_0x2f8d18=>{const _0x2e07af=_0x52d7f2;var _0x443d34;let _0x2e8d0c=(_0x443d34=_0x57a0ef[_0x2e07af(0x23c)])==null||(_0x443d34=_0x443d34[_0x2e07af(0x1d4)])==null?void 0x0:_0x443d34[_0x2f8d18];return _0x2e8d0c!==void 0x0&&!_0x57ff22[_0x2e07af(0x370)](_0x2f8d18)?[_0x13cf76[_0x2e07af(0x575)]['removeOp'](_0x4c83f7[_0x2e07af(0x4fe)](_0x1da52b,_0x2f8d18),_0x2e8d0c)]:[];})];}[_0x571676(0x40e)](_0x54c02d,_0x1ca991,_0x5162c7){const _0x366e89=_0x571676;return _0x1ca991===void 0x0?_0x13cf76['JSON1'][_0x366e89(0x48c)](_0x54c02d,_0x5162c7):_0x13cf76[_0x366e89(0x575)][_0x366e89(0x1b4)](_0x54c02d,_0x1ca991,_0x5162c7);}};function _0x296551(_0x11f3c8,_0x428b31,_0x2773e4,_0x359600){const _0x3badb1=_0x571676;var _0x2bc5c6;let _0x254cba=_0x359600['type'];if(_0x2773e4['type']!==_0x254cba||_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x221)]&&_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x247)]||_0x5440b6(_0x359600[_0x3badb1(0x5b9)][_0x3badb1(0x17b)]))return{'field':_0x359600,'patches':[]};let _0x3f00b4=_0x467848(_0x2773e4),_0xb6cd59=_0x467848(_0x359600);if(![..._0x3f00b4][_0x3badb1(0x1ab)](_0xac1641=>!_0xb6cd59[_0x3badb1(0x370)](_0xac1641)))return{'field':_0x359600,'patches':[]};let _0x31461f=_0x9655a9(_0x359600['defaultValue'],_0xb6cd59,_0x254cba),_0x236626=_0x3c83ac(_0x31461f,_0x359600[_0x3badb1(0x5ce)])?_0x359600:{..._0x359600,'defaultValue':_0x31461f},_0x2f1fac=_0x48b6e1(_0x11f3c8),_0x44cbff=(_0x2bc5c6=_0x2f1fac['colIndex'])==null?void 0x0:_0x2bc5c6[_0x428b31];return _0x44cbff==null?{'field':_0x236626,'patches':[]}:{'field':_0x236626,'patches':(_0x2f1fac['recordOrder']??[])['flatMap'](_0x4e1135=>{const _0x4cc526=_0x3badb1;var _0x27bd85,_0xa13100;let _0x4fe0c3=(_0x27bd85=_0x2f1fac['rowIndex'])==null?void 0x0:_0x27bd85[_0x4e1135],_0xf5ed36=(_0xa13100=_0x2f1fac['records'][_0x4e1135])==null?void 0x0:_0xa13100[_0x4cc526(0x334)][_0x428b31],_0x299eb4=_0x9655a9(_0xf5ed36,_0xb6cd59,_0x254cba);return _0x4fe0c3==null||_0x3c83ac(_0x299eb4,_0xf5ed36)?[]:[{'row':_0x4fe0c3,'col':_0x44cbff,'value':_0x299eb4??null}];})};}function _0x5440b6(_0x37d0ec){const _0x559be4=_0x571676;return typeof _0x37d0ec==_0x559be4(0x1a7)&&!!_0x37d0ec&&_0x559be4(0x292)in _0x37d0ec&&_0x37d0ec[_0x559be4(0x292)]===_0x559be4(0x407);}function _0x467848(_0x4da644){const _0x1bd316=_0x571676;var _0x33c3b6;let _0x4098f6=Array['isArray']((_0x33c3b6=_0x4da644[_0x1bd316(0x5b9)])==null?void 0x0:_0x33c3b6[_0x1bd316(0x386)])?_0x4da644[_0x1bd316(0x5b9)][_0x1bd316(0x386)]:[];return new Set(_0x4098f6[_0x1bd316(0x387)](_0x4ec846=>{const _0x4f25be=_0x1bd316;if(!_0x4ec846||typeof _0x4ec846!=_0x4f25be(0x1a7)||!('id'in _0x4ec846))return[];let _0x3948b4=String(_0x4ec846['id']);return _0x3948b4?[_0x3948b4]:[];}));}function _0x9655a9(_0x542e7d,_0xac5c7b,_0x2a2538){const _0x31d4ab=_0x571676;if(_0x542e7d==null||_0x542e7d==='')return _0x542e7d;if(_0x2a2538===_0x13cf76[_0x31d4ab(0x517)][_0x31d4ab(0x221)])return _0xac5c7b[_0x31d4ab(0x370)](String(_0x542e7d))?_0x542e7d:null;let _0x1460dc=Array[_0x31d4ab(0x21f)](_0x542e7d)?_0x542e7d[_0x31d4ab(0x329)](String):String(_0x542e7d)[_0x31d4ab(0x21e)](',')[_0x31d4ab(0x329)](_0x1692e9=>_0x1692e9['trim']())[_0x31d4ab(0x3c4)](Boolean),_0xa7c0c9=_0x1460dc[_0x31d4ab(0x3c4)](_0x6ccc97=>_0xac5c7b[_0x31d4ab(0x370)](_0x6ccc97));return _0xa7c0c9[_0x31d4ab(0x4e9)]===_0x1460dc['length']?_0x542e7d:Array[_0x31d4ab(0x21f)](_0x542e7d)?_0xa7c0c9:String(_0x542e7d)['includes'](',')?_0xa7c0c9['join'](','):_0xa7c0c9[0x0]??[];}function _0x3c83ac(_0x2711c8,_0x443c91){const _0x6d58f4=_0x571676;return JSON[_0x6d58f4(0x30d)](_0x2711c8)===JSON['stringify'](_0x443c91);}function _0x102c8d(_0x362486,_0xbef237,_0x2e2923){const _0x13114f=_0x571676;var _0x28324f,_0x1fd654,_0x53d3ff,_0x628fdb;let _0x3f41ed=(_0x28324f=_0x362486[_0x13114f(0x563)])==null?void 0x0:_0x28324f[_0xbef237],_0x1bb51d=(_0x1fd654=_0x362486[_0x13114f(0x28e)])==null?void 0x0:_0x1fd654[_0x2e2923];return _0x3f41ed!=null&&_0x1bb51d!=null&&((_0x53d3ff=_0x362486[_0x13114f(0x556)])==null?void 0x0:_0x53d3ff[_0x3f41ed])===_0xbef237&&((_0x628fdb=_0x362486[_0x13114f(0x351)])==null?void 0x0:_0x628fdb[_0x1bb51d])===_0x2e2923&&_0x362486[_0x13114f(0x38e)]!=null;}function _0x13c483(_0xf97d67,_0x4850a4,_0x485b3d){const _0x31bf5f=_0x571676;var _0x1f4a89,_0x382684;return((_0x1f4a89=_0xf97d67['rowId'])==null?void 0x0:_0x1f4a89[_0x4850a4])!=null&&((_0x382684=_0xf97d67['colId'])==null?void 0x0:_0x382684[_0x485b3d])!=null&&_0xf97d67[_0x31bf5f(0x38e)]!=null;}function _0x3f7fa2(_0x49cebb,_0x51200c,_0x4e1915){const _0x45f5e1=_0x571676;let _0x5a75e2=_0x49cebb[_0x45f5e1(0x3c4)](_0x568d36=>_0x568d36!==_0x51200c),_0xd42380=_0x4e1915['beforeFieldId']?_0x5a75e2[_0x45f5e1(0x406)](_0x4e1915[_0x45f5e1(0x2a9)]):_0x4e1915[_0x45f5e1(0x319)]?_0x5a75e2['indexOf'](_0x4e1915[_0x45f5e1(0x319)])+0x1:_0x5a75e2[_0x45f5e1(0x4e9)];return _0x5a75e2[_0x45f5e1(0x5bf)](_0xd42380<0x0?_0x5a75e2[_0x45f5e1(0x4e9)]:_0xd42380,0x0,_0x51200c),_0x5a75e2;}function _0x57eac1(_0x51d405,_0x40b6eb,_0x12af63){const _0x1eb53b=_0x571676;let _0x1a8b91=_0x51d405[_0x1eb53b(0x3c4)](_0x19048a=>_0x19048a!==_0x40b6eb);return _0x1a8b91[_0x1eb53b(0x5bf)](_0x206e7e(_0x12af63,_0x1a8b91[_0x1eb53b(0x4e9)]),0x0,_0x40b6eb),_0x1a8b91;}function _0x171da6(_0x5469c0,_0x1d9dc6,_0x571e51){const _0x1386f3=_0x571676;if(Array[_0x1386f3(0x21f)](_0x5469c0))return _0x571e51===_0x1386f3(0x1bb)?_0x5469c0[_0x1386f3(0x3c4)](_0x422993=>_0x422993!==_0x1d9dc6):_0x5469c0[_0x1386f3(0x387)](_0x122cb4=>{const _0x4b8c18=_0x1386f3;if(_0x122cb4&&typeof _0x122cb4=='object'&&!Array[_0x4b8c18(0x21f)](_0x122cb4)&&_0x122cb4[_0x4b8c18(0x384)]===_0x1d9dc6)return[];let _0x1ad9af=_0x171da6(_0x122cb4,_0x1d9dc6);return _0x1ad9af===void 0x0?[]:[_0x1ad9af];});if(!_0x5469c0||typeof _0x5469c0!=_0x1386f3(0x1a7))return _0x571e51!=null&&_0x571e51[_0x1386f3(0x398)](_0x1386f3(0x20b))&&_0x5469c0===_0x1d9dc6?void 0x0:_0x5469c0;let _0x554a2f=_0x5469c0;if(_0x554a2f['fieldId']!==_0x1d9dc6)return Object[_0x1386f3(0x1fc)](Object['entries'](_0x554a2f)['flatMap'](([_0x4d111d,_0x257116])=>{const _0x1c1a4f=_0x1386f3;if(_0x4d111d===_0x1d9dc6&&_0x571e51===_0x1c1a4f(0x3ea))return[];let _0x48f168=_0x171da6(_0x257116,_0x1d9dc6,_0x4d111d);return _0x48f168===void 0x0?[]:[[_0x4d111d,_0x48f168]];}));}function _0x206e7e(_0x233cc8,_0x33ebb7){const _0x5a3695=_0x571676;return Math[_0x5a3695(0x402)](0x0,Math[_0x5a3695(0x5a2)](_0x233cc8,_0x33ebb7));}function _0x110a65(_0x234552){'@babel/helpers - typeof';const _0x53c070=_0x571676;return _0x110a65=typeof Symbol=='function'&&typeof Symbol[_0x53c070(0x2de)]==_0x53c070(0x45e)?function(_0x26ab60){return typeof _0x26ab60;}:function(_0x1772bf){const _0x4ebc8b=_0x53c070;return _0x1772bf&&typeof Symbol==_0x4ebc8b(0x3ac)&&_0x1772bf[_0x4ebc8b(0x298)]===Symbol&&_0x1772bf!==Symbol[_0x4ebc8b(0x41e)]?_0x4ebc8b(0x45e):typeof _0x1772bf;},_0x110a65(_0x234552);}function _0x5cf9cd(_0x388aaf,_0x1b897d){const _0x23b6f7=_0x571676;if(_0x110a65(_0x388aaf)!=_0x23b6f7(0x1a7)||!_0x388aaf)return _0x388aaf;var _0x1e4db1=_0x388aaf[Symbol[_0x23b6f7(0x489)]];if(_0x1e4db1!==void 0x0){var _0x51269f=_0x1e4db1['call'](_0x388aaf,_0x1b897d||_0x23b6f7(0x353));if(_0x110a65(_0x51269f)!=_0x23b6f7(0x1a7))return _0x51269f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1b897d===_0x23b6f7(0x2b6)?String:Number)(_0x388aaf);}function _0x26539e(_0x156b3c){const _0x20d780=_0x571676;var _0x42390c=_0x5cf9cd(_0x156b3c,_0x20d780(0x2b6));return _0x110a65(_0x42390c)=='symbol'?_0x42390c:_0x42390c+'';}function _0x1a302a(_0x4dbd0f,_0x551138,_0x1758a8){const _0x5b6105=_0x571676;return(_0x551138=_0x26539e(_0x551138))in _0x4dbd0f?Object[_0x5b6105(0x1a1)](_0x4dbd0f,_0x551138,{'value':_0x1758a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4dbd0f[_0x551138]=_0x1758a8,_0x4dbd0f;}let _0x1be8ce=(0x0,_0x13cf76[_0x571676(0x220)])('base.field-registry.service');var _0x314c5d=class extends _0x13cf76[_0x571676(0x323)]{constructor(..._0x2b3f78){const _0x3b4c59=_0x571676;super(..._0x2b3f78),_0x1a302a(this,_0x3b4c59(0x28b),new Map());}['register'](_0x38b364){const _0x38882a=_0x571676;return this[_0x38882a(0x28b)][_0x38882a(0x569)](_0x38b364['type'],_0x38b364),(0x0,_0x13cf76['toDisposable'])(()=>this[_0x38882a(0x28b)][_0x38882a(0x37c)](_0x38b364[_0x38882a(0x292)]));}[_0x571676(0x59c)](_0x1a6fd0){const _0x8aa367=_0x571676;let _0x2d9a3d=this[_0x8aa367(0x28b)][_0x8aa367(0x59c)](_0x1a6fd0);if(!_0x2d9a3d)throw Error(_0x8aa367(0x1d5)+_0x1a6fd0+_0x8aa367(0x352));return _0x2d9a3d;}['getTypePlugin'](_0x5727a6){const _0x348b2c=_0x571676;return this[_0x348b2c(0x28b)]['get'](_0x5727a6);}[_0x571676(0x245)](){const _0xa6fe02=_0x571676;return Array[_0xa6fe02(0x2ed)](this[_0xa6fe02(0x28b)][_0xa6fe02(0x334)]());}},_0x47eee2=class{constructor(_0x5f27db){const _0x1e3418=_0x571676;this[_0x1e3418(0x2aa)]=_0x5f27db,_0x1a302a(this,_0x1e3418(0x292),_0x93a0d4[_0x1e3418(0x1a5)][_0x1e3418(0x52e)]),_0x1a302a(this,'subType',_0x93a0d4[_0x1e3418(0x2a0)][_0x1e3418(0x423)]),_0x1a302a(this,_0x1e3418(0x19f),_0x13cf76[_0x1e3418(0x46c)][_0x1e3418(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x1e3418(0x315),!0x0),this['id']=this[_0x1e3418(0x292)]+'.'+this['subType']+'_'+_0x5f27db;}},_0x144443=class{constructor(_0x423f05){const _0x2f40ee=_0x571676;this[_0x2f40ee(0x2aa)]=_0x423f05,_0x1a302a(this,_0x2f40ee(0x292),_0x93a0d4[_0x2f40ee(0x1a5)][_0x2f40ee(0x52e)]),_0x1a302a(this,_0x2f40ee(0x3ba),_0x93a0d4[_0x2f40ee(0x2a0)][_0x2f40ee(0x4a8)]),_0x1a302a(this,_0x2f40ee(0x19f),_0x13cf76[_0x2f40ee(0x46c)][_0x2f40ee(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this[_0x2f40ee(0x292)]+'.'+this[_0x2f40ee(0x3ba)]+'_'+_0x423f05;}},_0x5af97c=class{constructor(_0x2edfaa){const _0x50725d=_0x571676;this[_0x50725d(0x2aa)]=_0x2edfaa,_0x1a302a(this,_0x50725d(0x292),_0x93a0d4[_0x50725d(0x1a5)]['Base']),_0x1a302a(this,_0x50725d(0x3ba),_0x93a0d4[_0x50725d(0x2a0)]['Edit']),_0x1a302a(this,_0x50725d(0x19f),_0x13cf76['PermissionStatus'][_0x50725d(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x50725d(0x315),!0x0),this['id']=this[_0x50725d(0x292)]+'.'+this['subType']+'_'+_0x2edfaa;}},_0x2199dd=class{constructor(_0x54ce74){const _0x2af923=_0x571676;this[_0x2af923(0x2aa)]=_0x54ce74,_0x1a302a(this,'type',_0x93a0d4[_0x2af923(0x1a5)][_0x2af923(0x52e)]),_0x1a302a(this,_0x2af923(0x3ba),_0x93a0d4[_0x2af923(0x2a0)][_0x2af923(0x466)]),_0x1a302a(this,_0x2af923(0x19f),_0x13cf76[_0x2af923(0x46c)][_0x2af923(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x2af923(0x315),!0x0),this['id']=this[_0x2af923(0x292)]+'.'+this[_0x2af923(0x3ba)]+'_'+_0x54ce74;}},_0xdd0e39=class{constructor(_0x13684c,_0x57d987){const _0x4f916a=_0x571676;this[_0x4f916a(0x2aa)]=_0x13684c,this[_0x4f916a(0x3f3)]=_0x57d987,_0x1a302a(this,_0x4f916a(0x292),_0x93a0d4['UnitObject'][_0x4f916a(0x4d7)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4f916a(0x2a0)][_0x4f916a(0x5a0)]),_0x1a302a(this,_0x4f916a(0x19f),_0x13cf76['PermissionStatus'][_0x4f916a(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x4f916a(0x3ba)]+'_'+_0x13684c+'_'+_0x57d987;}},_0x2f2a0a=class{constructor(_0x5e2660,_0x3df6d6){const _0x5d45c6=_0x571676;this[_0x5d45c6(0x2aa)]=_0x5e2660,this['objectId']=_0x3df6d6,_0x1a302a(this,_0x5d45c6(0x292),_0x93a0d4[_0x5d45c6(0x1a5)][_0x5d45c6(0x24c)]),_0x1a302a(this,_0x5d45c6(0x3ba),_0x93a0d4['UnitAction'][_0x5d45c6(0x5a0)]),_0x1a302a(this,_0x5d45c6(0x19f),_0x13cf76[_0x5d45c6(0x46c)][_0x5d45c6(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x5d45c6(0x315),!0x0),this['id']=this[_0x5d45c6(0x292)]+'.'+this[_0x5d45c6(0x3ba)]+'_'+_0x5e2660+'_'+_0x3df6d6;}},_0x27232b=class{constructor(_0x1d830d,_0x1566a0){const _0xca47f5=_0x571676;this[_0xca47f5(0x2aa)]=_0x1d830d,this[_0xca47f5(0x3f3)]=_0x1566a0,_0x1a302a(this,_0xca47f5(0x292),_0x93a0d4['UnitObject'][_0xca47f5(0x52c)]),_0x1a302a(this,'subType',_0x93a0d4[_0xca47f5(0x2a0)]['Edit']),_0x1a302a(this,'status',_0x13cf76[_0xca47f5(0x46c)][_0xca47f5(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0xca47f5(0x315),!0x0),this['id']=this['type']+'.'+this[_0xca47f5(0x3ba)]+'_'+_0x1d830d+'_'+_0x1566a0;}},_0x1a10c2=class{constructor(_0x15aa5a,_0xcfe33c){const _0x410f2f=_0x571676;this[_0x410f2f(0x2aa)]=_0x15aa5a,this[_0x410f2f(0x3f3)]=_0xcfe33c,_0x1a302a(this,_0x410f2f(0x292),_0x93a0d4['UnitObject'][_0x410f2f(0x346)]),_0x1a302a(this,_0x410f2f(0x3ba),_0x93a0d4[_0x410f2f(0x2a0)]['Edit']),_0x1a302a(this,_0x410f2f(0x19f),_0x13cf76[_0x410f2f(0x46c)][_0x410f2f(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x410f2f(0x315),!0x0),this['id']=this[_0x410f2f(0x292)]+'.'+this['subType']+'_'+_0x15aa5a+'_'+_0xcfe33c;}},_0x46a5c4=class{constructor(_0x1e76a8,_0x1820fc){const _0x4d2d14=_0x571676;this[_0x4d2d14(0x2aa)]=_0x1e76a8,this[_0x4d2d14(0x3f3)]=_0x1820fc,_0x1a302a(this,_0x4d2d14(0x292),_0x93a0d4[_0x4d2d14(0x1a5)][_0x4d2d14(0x32f)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4d2d14(0x2a0)][_0x4d2d14(0x5a0)]),_0x1a302a(this,_0x4d2d14(0x19f),_0x13cf76[_0x4d2d14(0x46c)]['INIT']),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x4d2d14(0x315),!0x0),this['id']=this['type']+'.'+this[_0x4d2d14(0x3ba)]+'_'+_0x1e76a8+'_'+_0x1820fc;}};let _0x147f37=[_0x93a0d4['UnitAction'][_0x571676(0x5a0)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x4a8)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x466)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x423)]],_0xcee863=new Set([_0x93a0d4[_0x571676(0x1a5)]['Base'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x346)],_0x93a0d4['UnitObject']['BaseField'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x52c)],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x32f)],_0x93a0d4[_0x571676(0x1a5)]['BaseDashboard']]),_0x1a654f=_0x571676(0x211),_0x2383e6=_0x571676(0x26e),_0xbd8392=_0x571676(0x507),_0x870127=_0x571676(0x30c),_0xbce93f=_0x571676(0x546);function _0x1162c3(_0x23ce17){return''+_0x1a654f+encodeURIComponent(_0x23ce17);}function _0x1d768a(_0x53f17a,_0x415e58){return''+_0x2383e6+encodeURIComponent(_0x53f17a)+'/'+encodeURIComponent(_0x415e58);}function _0x458252(_0x577399,_0x12dbd7){return''+_0xbd8392+encodeURIComponent(_0x577399)+'/'+encodeURIComponent(_0x12dbd7);}function _0x3c9691(_0x4c9a33,_0x475539){return''+_0x870127+encodeURIComponent(_0x4c9a33)+'/'+encodeURIComponent(_0x475539);}function _0x47141a(_0xc3e94c){return''+_0xbce93f+encodeURIComponent(_0xc3e94c);}function _0x41f091(_0x246e3a,_0x5cd3e0,_0xb30799){const _0x27b621=_0x571676;if(_0x5cd3e0===_0x246e3a)switch(_0xb30799){case _0x93a0d4[_0x27b621(0x2a0)][_0x27b621(0x5a0)]:return new _0x5af97c(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x4a8)]:return new _0x144443(_0x246e3a);case _0x93a0d4[_0x27b621(0x2a0)]['Export']:return new _0x2199dd(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x423)]:return new _0x47eee2(_0x246e3a);default:throw Error(_0x27b621(0x1b2)+_0xb30799);}if(_0xb30799!==_0x93a0d4['UnitAction'][_0x27b621(0x5a0)])throw Error(_0x27b621(0x3e7)+_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x1a654f))return new _0x1a10c2(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x2383e6))return new _0x2f2a0a(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0xbd8392))return new _0x27232b(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0x870127))return new _0x46a5c4(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0xbce93f))return new _0xdd0e39(_0x246e3a,_0x5cd3e0);throw Error(_0x27b621(0x4aa)+_0x5cd3e0);}function _0x22a775(_0x349a50,_0x357ae8,_0x2ea948,_0x508b2e){const _0x38af54=_0x571676;var _0x2d0bc7;return((_0x2d0bc7=_0x349a50[_0x38af54(0x488)](_0x41f091(_0x357ae8,_0x2ea948,_0x508b2e)['id']))==null?void 0x0:_0x2d0bc7['value'])??!0x0;}function _0x10a84e(_0x44e3c7,_0x33e606,_0x23e2cc,_0x2b7572,_0x6be8a9){const _0x3b401b=_0x571676;let _0x551b34=_0x41f091(_0x33e606,_0x23e2cc,_0x2b7572);_0x44e3c7[_0x3b401b(0x488)](_0x551b34['id'])||_0x44e3c7['addPermissionPoint'](_0x551b34),_0x44e3c7[_0x3b401b(0x1f2)](_0x551b34['id'],_0x6be8a9);}function _0xf687c4(_0x976592,_0x98bbc8,_0x17ab21,_0xe56c43){const _0x3978a4=_0x571676;_0x976592[_0x3978a4(0x42f)](_0x41f091(_0x98bbc8,_0x17ab21,_0xe56c43)['id']);}function _0x43ed86(_0x4e7d47,_0x1dbc97){const _0x1f0965=_0x571676;_0x4e7d47[_0x1f0965(0x451)]()[_0x1f0965(0x3c9)]((_0x2fc6cb,_0x1ca4d7)=>{const _0xe1c280=_0x1f0965;_0x2fc6cb[_0xe1c280(0x362)](_0x284a7a=>{const _0x2d4c54=_0xe1c280;_0xcee863['has'](_0x284a7a[_0x2d4c54(0x292)])&&_0x2d4c54(0x2aa)in _0x284a7a&&_0x284a7a[_0x2d4c54(0x2aa)]===_0x1dbc97&&_0x4e7d47[_0x2d4c54(0x42f)](_0x1ca4d7);})[_0xe1c280(0x294)]();});}function _0x712233(_0x26826a,_0xfd0b62,_0xba9186){const _0x265ef3=_0x571676;return _0x22a775(_0x26826a,_0xfd0b62,_0xfd0b62,_0x93a0d4[_0x265ef3(0x2a0)][_0x265ef3(0x5a0)])&&Array[_0x265ef3(0x2ed)](_0xba9186)[_0x265ef3(0x5a5)](_0x100a7c=>_0x22a775(_0x26826a,_0xfd0b62,_0x100a7c,_0x93a0d4['UnitAction'][_0x265ef3(0x5a0)]));}function _0xddcdca(_0x2ad919,_0x310be2){return function(_0x1ee72c,_0x1e0c0a){_0x310be2(_0x1ee72c,_0x1e0c0a,_0x2ad919);};}function _0xd015f8(_0x377755,_0x4b6650,_0x57497e,_0x6f964c){const _0x3f5a64=_0x571676;var _0x1c7009=arguments[_0x3f5a64(0x4e9)],_0x4fbfd2=_0x1c7009<0x3?_0x4b6650:_0x6f964c===null?_0x6f964c=Object[_0x3f5a64(0x2cf)](_0x4b6650,_0x57497e):_0x6f964c,_0x543d81;if(typeof Reflect==_0x3f5a64(0x1a7)&&typeof Reflect[_0x3f5a64(0x3e2)]==_0x3f5a64(0x3ac))_0x4fbfd2=Reflect[_0x3f5a64(0x3e2)](_0x377755,_0x4b6650,_0x57497e,_0x6f964c);else{for(var _0x72a7a6=_0x377755['length']-0x1;_0x72a7a6>=0x0;_0x72a7a6--)(_0x543d81=_0x377755[_0x72a7a6])&&(_0x4fbfd2=(_0x1c7009<0x3?_0x543d81(_0x4fbfd2):_0x1c7009>0x3?_0x543d81(_0x4b6650,_0x57497e,_0x4fbfd2):_0x543d81(_0x4b6650,_0x57497e))||_0x4fbfd2);}return _0x1c7009>0x3&&_0x4fbfd2&&Object['defineProperty'](_0x4b6650,_0x57497e,_0x4fbfd2),_0x4fbfd2;}let _0x43d5bd=(0x0,_0x13cf76['createIdentifier'])('base.permission.service'),_0x156190=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x476204,_0x50cedd){const _0x2c5667=_0x571676;super(),this['_permissionService']=_0x476204,this[_0x2c5667(0x1c6)]=_0x50cedd,_0x1a302a(this,_0x2c5667(0x1bd),new Map()),_0x1a302a(this,'_tablePermissions',new Map()),_0x1a302a(this,_0x2c5667(0x2d9),new Map()),_0x1a302a(this,_0x2c5667(0x372),new Map()),_0x1a302a(this,_0x2c5667(0x2ce),new Map()),_0x1a302a(this,_0x2c5667(0x240),new Map()),this[_0x2c5667(0x48a)](this['_instanceService'][_0x2c5667(0x33a)](_0x13cf76[_0x2c5667(0x331)][_0x2c5667(0x321)])[_0x2c5667(0x362)](_0x57a02f=>this['_clearUnit'](_0x57a02f[_0x2c5667(0x5ca)]())));}[_0x571676(0x4f6)](_0x4b43d4){const _0x396833=_0x571676;var _0x2435aa;return this[_0x396833(0x2fd)](_0x4b43d4,[])&&(((_0x2435aa=this[_0x396833(0x1bd)][_0x396833(0x59c)](_0x4b43d4))==null?void 0x0:_0x2435aa[_0x396833(0x2af)])??!0x0);}['canEditTable'](_0x316719){const _0x5cf0b3=_0x571676;return this[_0x5cf0b3(0x526)](_0x316719);}['canDeleteTable'](_0x3c3efe){const _0x11c625=_0x571676;var _0x386cd7;return this['_canEditTable'](_0x3c3efe)&&(((_0x386cd7=this[_0x11c625(0x531)][_0x11c625(0x59c)](_0x3c3efe))==null?void 0x0:_0x386cd7[_0x11c625(0x37c)])??!0x0);}[_0x571676(0x309)](_0x4c7700){const _0x16c71d=_0x571676;var _0x35792b;return this['_canEditTable'](_0x4c7700)&&(((_0x35792b=this['_tablePermissions']['get'](_0x4c7700))==null?void 0x0:_0x35792b[_0x16c71d(0x444)])??!0x0);}[_0x571676(0x265)](_0x15a432,_0x290b45){const _0x41fb0a=_0x571676;var _0x3975c4;return this[_0x41fb0a(0x526)](_0x15a432)&&this[_0x41fb0a(0x2fd)](_0x15a432,[_0x1d768a(_0x15a432,_0x290b45)])&&(((_0x3975c4=this[_0x41fb0a(0x2d9)]['get'](_0x56e44b(_0x15a432,_0x290b45)))==null?void 0x0:_0x3975c4['edit'])??!0x0);}['canDeleteField'](_0x3c22d7,_0x1d1846){const _0x1f2fc1=_0x571676;var _0x34baa1;return this['canEditField'](_0x3c22d7,_0x1d1846)&&(((_0x34baa1=this[_0x1f2fc1(0x2d9)][_0x1f2fc1(0x59c)](_0x56e44b(_0x3c22d7,_0x1d1846)))==null?void 0x0:_0x34baa1[_0x1f2fc1(0x37c)])??!0x0);}['canCreateRecord'](_0x43329e){const _0x4f1b92=_0x571676;var _0x23977a;return this[_0x4f1b92(0x526)](_0x43329e)&&(((_0x23977a=this[_0x4f1b92(0x531)][_0x4f1b92(0x59c)](_0x43329e))==null?void 0x0:_0x23977a[_0x4f1b92(0x5ad)])??!0x0);}[_0x571676(0x4ff)](_0x4552b9,_0x2d19c2){const _0x4a40ac=_0x571676;var _0x3f9964;let _0x47ea15=this[_0x4a40ac(0x372)][_0x4a40ac(0x59c)](_0x3f872d(_0x4552b9,_0x2d19c2));return this[_0x4a40ac(0x2fd)](_0x4552b9,[_0x1162c3(_0x4552b9),_0x458252(_0x4552b9,_0x2d19c2)])&&(((_0x3f9964=this['_tablePermissions'][_0x4a40ac(0x59c)](_0x4552b9))==null?void 0x0:_0x3f9964[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x501)])??!0x0);}['canDeleteRecord'](_0x482b6a,_0x389d14){const _0x596be4=_0x571676;var _0x3d1d95,_0x2fcef7,_0x507a6c;return this[_0x596be4(0x2fd)](_0x482b6a,[_0x1162c3(_0x482b6a),_0x458252(_0x482b6a,_0x389d14)])&&(((_0x3d1d95=this['_tablePermissions'][_0x596be4(0x59c)](_0x482b6a))==null?void 0x0:_0x3d1d95[_0x596be4(0x5e1)])??!0x0)&&(((_0x2fcef7=this[_0x596be4(0x372)][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x2fcef7[_0x596be4(0x5e1)])??!0x0)&&(((_0x507a6c=this['_recordPermissions'][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x507a6c['delete'])??!0x0);}[_0x571676(0x502)](_0x4f9746,_0xbd1e8d,_0x10d35b){const _0x3595bf=_0x571676;var _0x2a71b9,_0x12f7a2,_0x4b9890;let _0x2205aa=this[_0x3595bf(0x2d9)][_0x3595bf(0x59c)](_0x56e44b(_0x4f9746,_0x10d35b));return this[_0x3595bf(0x2fd)](_0x4f9746,[_0x1162c3(_0x4f9746),_0x1d768a(_0x4f9746,_0x10d35b),_0x458252(_0x4f9746,_0xbd1e8d)])&&(((_0x2a71b9=this['_tablePermissions'][_0x3595bf(0x59c)](_0x4f9746))==null?void 0x0:_0x2a71b9[_0x3595bf(0x5e1)])??!0x0)&&(((_0x12f7a2=this[_0x3595bf(0x372)]['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x12f7a2[_0x3595bf(0x5e1)])??!0x0)&&(((_0x4b9890=this['_recordPermissions']['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x4b9890['editCell'])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x5e1)])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x501)])??!0x0);}[_0x571676(0x447)](_0x14ede8,_0x23b2f2){const _0x5c23eb=_0x571676;var _0x44e951,_0x44f861,_0x2d13a7;return this['_canEdit'](_0x14ede8,[_0x1162c3(_0x14ede8),_0x3c9691(_0x14ede8,_0x23b2f2)])&&(((_0x44e951=this['_tablePermissions'][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x44e951[_0x5c23eb(0x5e1)])??!0x0)&&(((_0x44f861=this[_0x5c23eb(0x2ce)][_0x5c23eb(0x59c)](_0x291a16(_0x14ede8,_0x23b2f2)))==null?void 0x0:_0x44f861['edit'])??!0x0)&&(((_0x2d13a7=this[_0x5c23eb(0x531)][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x2d13a7['manageView'])??!0x0);}[_0x571676(0x581)](_0x3dce10,_0x3c5937){const _0x449816=_0x571676;this[_0x449816(0x1bd)][_0x449816(0x569)](_0x3dce10,{...this[_0x449816(0x1bd)][_0x449816(0x59c)](_0x3dce10),..._0x3c5937}),_0x3c5937[_0x449816(0x5e1)]!==void 0x0&&_0x10a84e(this[_0x449816(0x3e4)],_0x3dce10,_0x3dce10,_0x93a0d4[_0x449816(0x2a0)][_0x449816(0x5a0)],_0x3c5937[_0x449816(0x5e1)]);}['setTablePermission'](_0x2a6853,_0x49debe){const _0x314bc1=_0x571676;this[_0x314bc1(0x311)](_0x2a6853),this[_0x314bc1(0x531)]['set'](_0x2a6853,{...this[_0x314bc1(0x531)][_0x314bc1(0x59c)](_0x2a6853),..._0x49debe}),this[_0x314bc1(0x577)](_0x2a6853,_0x1162c3(_0x2a6853),_0x49debe[_0x314bc1(0x5e1)]);}[_0x571676(0x356)](_0x4bdc31,_0x4508f3,_0x38a92b){const _0x4e7488=_0x571676;this[_0x4e7488(0x311)](_0x4bdc31);let _0x108614=_0x56e44b(_0x4bdc31,_0x4508f3);this[_0x4e7488(0x2d9)][_0x4e7488(0x569)](_0x108614,{...this[_0x4e7488(0x2d9)][_0x4e7488(0x59c)](_0x108614),..._0x38a92b}),this[_0x4e7488(0x577)](_0x4bdc31,_0x1d768a(_0x4bdc31,_0x4508f3),_0x38a92b[_0x4e7488(0x5e1)]);}[_0x571676(0x583)](_0x1ba94f,_0x2682a7,_0x866e63){const _0x3682b7=_0x571676;this[_0x3682b7(0x311)](_0x1ba94f);let _0x4b12f9=_0x3f872d(_0x1ba94f,_0x2682a7);this[_0x3682b7(0x372)][_0x3682b7(0x569)](_0x4b12f9,{...this[_0x3682b7(0x372)]['get'](_0x4b12f9),..._0x866e63}),this[_0x3682b7(0x577)](_0x1ba94f,_0x458252(_0x1ba94f,_0x2682a7),_0x866e63[_0x3682b7(0x5e1)]);}[_0x571676(0x35b)](_0x3cf3a8,_0x33d7ab,_0xa805ae){const _0x10f9d7=_0x571676;this[_0x10f9d7(0x311)](_0x3cf3a8);let _0x2ae851=_0x291a16(_0x3cf3a8,_0x33d7ab);this['_viewPermissions'][_0x10f9d7(0x569)](_0x2ae851,{...this[_0x10f9d7(0x2ce)][_0x10f9d7(0x59c)](_0x2ae851),..._0xa805ae}),this[_0x10f9d7(0x577)](_0x3cf3a8,_0x3c9691(_0x3cf3a8,_0x33d7ab),_0xa805ae[_0x10f9d7(0x5e1)]);}[_0x571676(0x439)](_0x5cf343){const _0x5cb914=_0x571676;this[_0x5cb914(0x1bd)]['delete'](_0x5cf343),_0xf687c4(this['_permissionService'],_0x5cf343,_0x5cf343,_0x93a0d4['UnitAction'][_0x5cb914(0x5a0)]);}[_0x571676(0x5a3)](_0x2a1407){const _0x328f1f=_0x571676;this[_0x328f1f(0x531)][_0x328f1f(0x37c)](_0x2a1407),this[_0x328f1f(0x328)](_0x2a1407,_0x1162c3(_0x2a1407));}[_0x571676(0x54e)](_0x228e88,_0x42bac3){const _0x33fe68=_0x571676;this[_0x33fe68(0x2d9)][_0x33fe68(0x37c)](_0x56e44b(_0x228e88,_0x42bac3)),this[_0x33fe68(0x328)](_0x228e88,_0x1d768a(_0x228e88,_0x42bac3));}['clearRecordPermission'](_0x2e7d5a,_0x5b0434){const _0x3ea68d=_0x571676;this[_0x3ea68d(0x372)][_0x3ea68d(0x37c)](_0x3f872d(_0x2e7d5a,_0x5b0434)),this[_0x3ea68d(0x328)](_0x2e7d5a,_0x458252(_0x2e7d5a,_0x5b0434));}['clearViewPermission'](_0x403ed8,_0x3340c9){const _0x501369=_0x571676;this['_viewPermissions']['delete'](_0x291a16(_0x403ed8,_0x3340c9)),this[_0x501369(0x328)](_0x403ed8,_0x3c9691(_0x403ed8,_0x3340c9));}[_0x571676(0x463)](){const _0x5bda16=_0x571676;return{'bases':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x1bd)]),'tables':Object['fromEntries'](this[_0x5bda16(0x531)]),'fields':Object['fromEntries'](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x5bda16(0x372)]),'views':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x2ce)])};}[_0x571676(0x526)](_0x24abb3){const _0x5d524d=_0x571676;var _0x1b6042;return this['_canEdit'](_0x24abb3,[_0x1162c3(_0x24abb3)])&&(((_0x1b6042=this[_0x5d524d(0x531)][_0x5d524d(0x59c)](_0x24abb3))==null?void 0x0:_0x1b6042['edit'])??!0x0);}[_0x571676(0x2fd)](_0x701c8e,_0x289d09){const _0x5d9634=_0x571676;var _0x208d34;let _0x1d47a2=this[_0x5d9634(0x2c3)](_0x701c8e);return!_0x1d47a2||_0x712233(this[_0x5d9634(0x3e4)],_0x1d47a2,_0x289d09)&&(((_0x208d34=this[_0x5d9634(0x1bd)][_0x5d9634(0x59c)](_0x1d47a2))==null?void 0x0:_0x208d34[_0x5d9634(0x5e1)])??!0x0);}[_0x571676(0x577)](_0x63c328,_0x5822c1,_0x56ef4f){const _0x452d4a=_0x571676;if(_0x56ef4f===void 0x0)return;let _0x48c46f=this[_0x452d4a(0x2c3)](_0x63c328);_0x48c46f&&_0x10a84e(this['_permissionService'],_0x48c46f,_0x5822c1,_0x93a0d4[_0x452d4a(0x2a0)][_0x452d4a(0x5a0)],_0x56ef4f);}[_0x571676(0x328)](_0x20d8f7,_0x3caf57){const _0x21ebbc=_0x571676;let _0x1e54e3=this['_resolveBaseId'](_0x20d8f7);_0x1e54e3&&_0xf687c4(this[_0x21ebbc(0x3e4)],_0x1e54e3,_0x3caf57,_0x93a0d4[_0x21ebbc(0x2a0)][_0x21ebbc(0x5a0)]);}[_0x571676(0x2c3)](_0x5a2bfe){const _0x1b6db3=_0x571676;var _0x51795e;let _0xac5f74=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x363)](_0x5a2bfe,_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)]);return _0xac5f74?_0xac5f74[_0x1b6db3(0x5ca)]():(_0x51795e=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x4bd)](_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)])[_0x1b6db3(0x56a)](_0x296d90=>!!_0x296d90[_0x1b6db3(0x463)]()[_0x1b6db3(0x291)][_0x5a2bfe]))==null?void 0x0:_0x51795e[_0x1b6db3(0x5ca)]();}['_rememberTable'](_0x516ed5){const _0x452d9d=_0x571676;let _0x3c9489=this[_0x452d9d(0x2c3)](_0x516ed5);_0x3c9489&&this[_0x452d9d(0x240)][_0x452d9d(0x569)](_0x516ed5,_0x3c9489);}[_0x571676(0x194)](_0x320d7c){const _0x18759d=_0x571676;this[_0x18759d(0x1bd)]['delete'](_0x320d7c),this[_0x18759d(0x240)][_0x18759d(0x3c9)]((_0x11773f,_0x10f587)=>{const _0x2ff9ed=_0x18759d;_0x11773f===_0x320d7c&&(this[_0x2ff9ed(0x531)][_0x2ff9ed(0x37c)](_0x10f587),_0x502dca(this[_0x2ff9ed(0x2d9)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x372)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x2ce)],_0x10f587+'\x1f'),this['_tableBaseIds'][_0x2ff9ed(0x37c)](_0x10f587));});}};_0x156190=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x156190);function _0x502dca(_0x4bb4d9,_0x34b89f){const _0x57c335=_0x571676;_0x4bb4d9[_0x57c335(0x3c9)]((_0x2c9d4e,_0x40e346)=>{const _0x135bf0=_0x57c335;_0x40e346[_0x135bf0(0x33b)](_0x34b89f)&&_0x4bb4d9[_0x135bf0(0x37c)](_0x40e346);});}function _0x56e44b(_0x15529e,_0x4c5df1){return _0x15529e+'\x1f'+_0x4c5df1;}function _0x3f872d(_0x22243f,_0x1e2bd9){return _0x22243f+'\x1f'+_0x1e2bd9;}function _0x291a16(_0x450fe9,_0x22292c){return _0x450fe9+'\x1f'+_0x22292c;}let _0x5cf6f3=(0x0,_0x13cf76['createIdentifier'])(_0x571676(0x3db)),_0x2f32b0=class{constructor(_0x20a661,_0x466693=_0x1468a8(),_0x54177d={}){const _0x1f90ec=_0x571676;this[_0x1f90ec(0x3e4)]=_0x20a661,this[_0x1f90ec(0x26f)]=_0x466693,this[_0x1f90ec(0x511)]=_0x54177d,_0x1a302a(this,_0x1f90ec(0x300),new _0x3db0f3()),_0x1a302a(this,_0x1f90ec(0x396),new _0x1aaf1b());}[_0x571676(0x2af)](_0x41bf80,_0x5300bf,_0x4d5f8f){const _0x20a8a0=_0x571676;if(!this[_0x20a8a0(0x3e4)][_0x20a8a0(0x4f6)](_0x41bf80['getUnitId']()))throw Error(_0x20a8a0(0x510));(0x0,_0x13cf76[_0x20a8a0(0x518)])(_0x5300bf),this['_apply'](_0x41bf80,this[_0x20a8a0(0x300)][_0x20a8a0(0x2af)](_0x41bf80[_0x20a8a0(0x463)](),_0x5300bf,_0x4d5f8f));}['renameTable'](_0xde459b,_0x15b4a0,_0x2ed6b5){const _0x49fc34=_0x571676;if(!this[_0x49fc34(0x3e4)]['canEditTable'](_0x15b4a0))throw Error(_0x49fc34(0x588));this['_apply'](_0xde459b,this[_0x49fc34(0x300)]['renameTable'](_0xde459b[_0x49fc34(0x463)](),_0x15b4a0,_0x2ed6b5));}[_0x571676(0x214)](_0x330941,_0x590647){const _0x1c7482=_0x571676;if(!this['_permissionService']['canDeleteTable'](_0x590647))throw Error(_0x1c7482(0x5c8));let _0x358170=_0x520eb7(_0x330941[_0x1c7482(0x463)](),_0x590647);if(_0x358170[_0x1c7482(0x4e9)]>0x0)throw Error(_0x1c7482(0x394)+_0x358170[_0x1c7482(0x329)](_0x5650db=>_0x5650db['tableId']+'.'+_0x5650db[_0x1c7482(0x384)])[_0x1c7482(0x4b9)](',\x20')+').');this[_0x1c7482(0x28f)](_0x330941,this[_0x1c7482(0x300)][_0x1c7482(0x214)](_0x330941[_0x1c7482(0x463)](),_0x590647));}[_0x571676(0x4a1)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6){const _0x108451=_0x571676;this[_0x108451(0x28f)](_0x2341b5,this[_0x108451(0x420)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6));}[_0x571676(0x565)](_0xb4d17c,_0x4675e3,_0x5cca78){const _0x218d0a=_0x571676;this[_0x218d0a(0x28f)](_0xb4d17c,this[_0x218d0a(0x59f)](_0xb4d17c,_0x4675e3,_0x5cca78));}[_0x571676(0x5ad)](_0x211355,_0x3e61a0,_0x42d382){const _0x32df3e=_0x571676;this['_apply'](_0x211355,this[_0x32df3e(0x557)](_0x211355,_0x3e61a0,_0x42d382));}[_0x571676(0x420)](_0x1b000c,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9){const _0x79daf1=_0x571676;let _0x43c1ba=_0x1b000c['getSnapshot'](),_0x435a98=this[_0x79daf1(0x50c)](_0x43c1ba,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9),_0x3ff120=this[_0x79daf1(0x5a1)](_0x43c1ba,_0x56f8a4,_0x7b4719,{[_0x19faee]:_0x435a98});return this[_0x79daf1(0x300)][_0x79daf1(0x565)](_0x43c1ba,_0x56f8a4,[_0x3ff120]);}[_0x571676(0x59f)](_0x3763e0,_0x43af95,_0x2d502e){const _0x1e60b3=_0x571676;let _0xffe40c=_0x3763e0[_0x1e60b3(0x463)](),_0x40c862=_0x2d502e[_0x1e60b3(0x329)](_0x339386=>this['_withModifiedSystemValues'](_0xffe40c,_0x43af95,_0x339386[_0x1e60b3(0x5c4)],{...Object[_0x1e60b3(0x1fc)](Object[_0x1e60b3(0x460)](_0x339386['values'])[_0x1e60b3(0x329)](([_0x33db4b,_0x2dbd98])=>[_0x33db4b,this[_0x1e60b3(0x50c)](_0xffe40c,_0x43af95,_0x339386['recordId'],_0x33db4b,_0x2dbd98)]))}));return this[_0x1e60b3(0x300)][_0x1e60b3(0x565)](_0xffe40c,_0x43af95,_0x40c862);}[_0x571676(0x557)](_0x5b47b3,_0x962ca7,_0x5ec270){const _0x8ef849=_0x571676;if(!this[_0x8ef849(0x3e4)]['canCreateRecord'](_0x962ca7))throw Error(_0x8ef849(0x44a));let _0x4ce6f1=_0x5b47b3[_0x8ef849(0x463)](),_0xf69929=this['_createNumberingAllocators'](_0x4ce6f1[_0x8ef849(0x291)][_0x962ca7]);return this['_factory']['createRecord'](_0x4ce6f1,_0x962ca7,this[_0x8ef849(0x567)](_0x4ce6f1,_0x962ca7,_0x5ec270,_0xf69929));}['createBatchCreateRecordsOp'](_0x5eff68,_0x2ee566,_0xddad3c){const _0x42f123=_0x571676;if(!this[_0x42f123(0x3e4)][_0x42f123(0x434)](_0x2ee566))throw Error(_0x42f123(0x44a));let _0x5df4a0=_0x5eff68['getSnapshot']();return _0x32800a(_0x42f123(0x4de),()=>{const _0x98161b=_0x42f123;let _0x1163a3=this['_createNumberingAllocators'](_0x5df4a0[_0x98161b(0x291)][_0x2ee566]);return this['_factory'][_0x98161b(0x248)](_0x5df4a0,_0x2ee566,_0xddad3c[_0x98161b(0x329)](_0x141f8e=>this['_createRecordWithDefaults'](_0x5df4a0,_0x2ee566,_0x141f8e,_0x1163a3)));},{'existingRecords':Object[_0x42f123(0x2db)](_0x5df4a0['tables'][_0x2ee566][_0x42f123(0x38f)])['length'],'records':_0xddad3c[_0x42f123(0x4e9)]});}[_0x571676(0x586)](_0x4cb3e8,_0x3f1f53,_0xfac17e,_0x65d859,_0x18ce50){const _0x4239cc=_0x571676;if(!this['_permissionService'][_0x4239cc(0x309)](_0x3f1f53))throw Error(_0x4239cc(0x514));let _0x11cabf=_0x4cb3e8['getSnapshot']();if(this['_assertFieldDefinition'](_0x11cabf,_0xfac17e),_0x65d859===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x3d3f10=this[_0x4239cc(0x300)]['createField'](_0x11cabf,_0x3f1f53,{'field':_0xfac17e,'index':_0x65d859,'viewIndexes':_0x18ce50}),_0x17e2bb=this[_0x4239cc(0x24f)](_0x11cabf,_0x3f1f53,_0xfac17e);if(!_0x17e2bb[_0x4239cc(0x4e9)])return _0x3d3f10;let _0x19eba7=this[_0x4239cc(0x396)][_0x4239cc(0x4d8)](_0x11cabf,_0x3d3f10);return _0x16f182([_0x3d3f10,this[_0x4239cc(0x300)][_0x4239cc(0x565)](_0x19eba7,_0x3f1f53,_0x17e2bb)]);}[_0x571676(0x5dc)](_0x18d50a,_0x1bde1e,_0x1aba34){const _0x31d34f=_0x571676;if(!this['_permissionService'][_0x31d34f(0x1c5)](_0x1bde1e,_0x1aba34))throw Error(_0x31d34f(0x1ee));this['_apply'](_0x18d50a,this[_0x31d34f(0x300)][_0x31d34f(0x5dc)](_0x18d50a['getSnapshot'](),_0x1bde1e,_0x1aba34));}['duplicateRecord'](_0x407bef,_0x5fee1,_0x3664a8,_0xe73b5){const _0x2d6988=_0x571676;if(!this[_0x2d6988(0x3e4)][_0x2d6988(0x434)](_0x5fee1))throw Error(_0x2d6988(0x44a));this[_0x2d6988(0x28f)](_0x407bef,this[_0x2d6988(0x300)][_0x2d6988(0x529)](_0x407bef[_0x2d6988(0x463)](),_0x5fee1,_0x3664a8,{..._0xe73b5,'values':{..._0xe73b5[_0x2d6988(0x334)],[_0x13cf76[_0x2d6988(0x544)]]:_0xe73b5['id']}}));}[_0x571676(0x1ad)](_0x58e0ac,_0x4c86e0,_0x6197b1,_0x1025c2){const _0x4ebe57=_0x571676;if(!this[_0x4ebe57(0x3e4)][_0x4ebe57(0x4ff)](_0x4c86e0,_0x6197b1))throw Error(_0x4ebe57(0x382));this[_0x4ebe57(0x28f)](_0x58e0ac,this[_0x4ebe57(0x300)][_0x4ebe57(0x1ad)](_0x58e0ac[_0x4ebe57(0x463)](),_0x4c86e0,_0x6197b1,_0x1025c2));}['createField'](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d){const _0x4ab224=_0x571676;this['_apply'](_0x12714b,this[_0x4ab224(0x586)](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d));}[_0x571676(0x241)](_0x2d332d,_0x138514,_0x4cdf30,_0x19ae4c){const _0xac9398=_0x571676;var _0x584d5d;if(!this[_0xac9398(0x3e4)]['canEditField'](_0x138514,_0x4cdf30))throw Error(_0xac9398(0x3e1));let _0x59252f=_0x2d332d['getSnapshot'](),_0x31a1d9=(_0x584d5d=_0x59252f[_0xac9398(0x291)][_0x138514])==null?void 0x0:_0x584d5d[_0xac9398(0x3c2)][_0x4cdf30];if(!_0x31a1d9||_0x4cdf30===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])throw Error(_0xac9398(0x3d5));this[_0xac9398(0x364)](_0x59252f,{..._0x31a1d9,..._0x19ae4c}),this[_0xac9398(0x28f)](_0x2d332d,this[_0xac9398(0x300)][_0xac9398(0x241)](_0x59252f,_0x138514,_0x4cdf30,_0x19ae4c));}[_0x571676(0x1d1)](_0x4cdf1d,_0x19427e,_0x15f1e7,_0x2de9e6){const _0x1b0745=_0x571676;var _0x4f6ceb;if(!this[_0x1b0745(0x3e4)][_0x1b0745(0x265)](_0x19427e,_0x15f1e7))throw Error(_0x1b0745(0x3e1));let _0x263a73=_0x4cdf1d[_0x1b0745(0x463)](),_0x368fe3=(_0x4f6ceb=_0x263a73['tables'][_0x19427e])==null?void 0x0:_0x4f6ceb[_0x1b0745(0x3c2)][_0x15f1e7];if(!_0x368fe3||_0x15f1e7===_0x13cf76[_0x1b0745(0x544)])throw Error(_0x1b0745(0x3ec));this[_0x1b0745(0x364)](_0x263a73,{..._0x368fe3,..._0x2de9e6}),this[_0x1b0745(0x28f)](_0x4cdf1d,this['_factory'][_0x1b0745(0x1d1)](_0x263a73,_0x19427e,_0x15f1e7,_0x2de9e6));}[_0x571676(0x36a)](_0x4c081c,_0x59c6a3,_0xd203c5){const _0x349c9a=_0x571676;var _0x6cefed;if(((_0x6cefed=_0x4c081c[_0x349c9a(0x463)]()[_0x349c9a(0x291)][_0x59c6a3])==null?void 0x0:_0x6cefed[_0x349c9a(0x422)])===_0xd203c5||_0xd203c5===_0x13cf76[_0x349c9a(0x544)])throw Error(_0x349c9a(0x4ba));if(!this['_permissionService'][_0x349c9a(0x478)](_0x59c6a3,_0xd203c5))throw Error(_0x349c9a(0x250));this[_0x349c9a(0x28f)](_0x4c081c,this[_0x349c9a(0x300)][_0x349c9a(0x36a)](_0x4c081c[_0x349c9a(0x463)](),_0x59c6a3,_0xd203c5));}['moveField'](_0x5bef97,_0xbfcb95,_0x521676,_0xf28295){const _0x344020=_0x571676;if(!this[_0x344020(0x3e4)]['canEditField'](_0xbfcb95,_0x521676))throw Error(_0x344020(0x3e1));if(_0x521676===_0x13cf76[_0x344020(0x544)]||_0xf28295[_0x344020(0x2a9)]===_0x13cf76[_0x344020(0x544)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x344020(0x28f)](_0x5bef97,this[_0x344020(0x300)][_0x344020(0x1c4)](_0x5bef97[_0x344020(0x463)](),_0xbfcb95,_0x521676,_0xf28295));}[_0x571676(0x18a)](_0x5a6983,_0x1acd37,_0x370bce,_0x4b8269){const _0x55b80d=_0x571676;if(!this[_0x55b80d(0x3e4)]['canManageView'](_0x1acd37,_0x370bce['id']))throw Error(_0x55b80d(0x1b6));this['_apply'](_0x5a6983,this[_0x55b80d(0x300)][_0x55b80d(0x18a)](_0x5a6983[_0x55b80d(0x463)](),_0x1acd37,_0x370bce,_0x4b8269));}['renameView'](_0x4830df,_0x56c516,_0x396b50,_0x201e11){const _0x48aa69=_0x571676;if(!this[_0x48aa69(0x3e4)][_0x48aa69(0x447)](_0x56c516,_0x396b50))throw Error(_0x48aa69(0x1b6));this[_0x48aa69(0x28f)](_0x4830df,this[_0x48aa69(0x300)][_0x48aa69(0x455)](_0x4830df[_0x48aa69(0x463)](),_0x56c516,_0x396b50,_0x201e11));}['deleteView'](_0x16ad1e,_0x5a72c4,_0x4b30d5){const _0x48bcd8=_0x571676;if(!this['_permissionService'][_0x48bcd8(0x447)](_0x5a72c4,_0x4b30d5))throw Error(_0x48bcd8(0x1b6));this[_0x48bcd8(0x28f)](_0x16ad1e,this[_0x48bcd8(0x300)][_0x48bcd8(0x458)](_0x16ad1e['getSnapshot'](),_0x5a72c4,_0x4b30d5));}[_0x571676(0x5b5)](_0x3d61e3,_0x5a919b,_0x2fd4cf,_0x5c5607){const _0x4d250a=_0x571676;if(!this[_0x4d250a(0x3e4)]['canManageView'](_0x5a919b,_0x2fd4cf))throw Error(_0x4d250a(0x1b6));this['_apply'](_0x3d61e3,this[_0x4d250a(0x300)]['moveView'](_0x3d61e3[_0x4d250a(0x463)](),_0x5a919b,_0x2fd4cf,_0x5c5607));}[_0x571676(0x20d)](_0x11499e,_0x298094,_0x31d1a2,_0x47f98c){const _0x429e4c=_0x571676;if(!this['_permissionService']['canManageView'](_0x298094,_0x31d1a2))throw Error(_0x429e4c(0x1b6));this['_apply'](_0x11499e,this[_0x429e4c(0x300)][_0x429e4c(0x20d)](_0x11499e['getSnapshot'](),_0x298094,_0x31d1a2,_0x47f98c));}[_0x571676(0x1e1)](_0x489816,_0x12cb7b,_0x266e63,_0x478f6d){const _0x48880a=_0x571676;if(!this[_0x48880a(0x3e4)][_0x48880a(0x447)](_0x12cb7b,_0x266e63))throw Error(_0x48880a(0x1b6));this[_0x48880a(0x28f)](_0x489816,this[_0x48880a(0x300)]['setViewFilter'](_0x489816[_0x48880a(0x463)](),_0x12cb7b,_0x266e63,_0x478f6d));}[_0x571676(0x27b)](_0x16cae1,_0xc71f61,_0x53f3b7,_0x4aab8d){const _0x1e217f=_0x571676;if(!this[_0x1e217f(0x3e4)][_0x1e217f(0x447)](_0xc71f61,_0x53f3b7))throw Error(_0x1e217f(0x1b6));this[_0x1e217f(0x28f)](_0x16cae1,this['_factory'][_0x1e217f(0x27b)](_0x16cae1['getSnapshot'](),_0xc71f61,_0x53f3b7,_0x4aab8d));}['setViewGroup'](_0x327738,_0x58bba6,_0x54ccaf,_0x4d711c){const _0x4b1d27=_0x571676;if(!this[_0x4b1d27(0x3e4)]['canManageView'](_0x58bba6,_0x54ccaf))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4b1d27(0x28f)](_0x327738,this[_0x4b1d27(0x300)][_0x4b1d27(0x43b)](_0x327738[_0x4b1d27(0x463)](),_0x58bba6,_0x54ccaf,_0x4d711c));}[_0x571676(0x37e)](_0x4c192d,_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486){const _0x58d03c=_0x571676;if(!this['_permissionService']['canManageView'](_0x28d0af,_0x36135a))throw Error(_0x58d03c(0x1b6));this[_0x58d03c(0x28f)](_0x4c192d,this[_0x58d03c(0x300)][_0x58d03c(0x37e)](_0x4c192d[_0x58d03c(0x463)](),_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486));}[_0x571676(0x272)](_0x9d9712,_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18){const _0x31f2d4=_0x571676;if(!this[_0x31f2d4(0x3e4)][_0x31f2d4(0x447)](_0xfd7cab,_0x42e96a))throw Error(_0x31f2d4(0x1b6));this[_0x31f2d4(0x28f)](_0x9d9712,this[_0x31f2d4(0x300)][_0x31f2d4(0x272)](_0x9d9712[_0x31f2d4(0x463)](),_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18));}[_0x571676(0x55c)](_0x1d2dea,_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36){const _0x55d76c=_0x571676;if(!this[_0x55d76c(0x3e4)][_0x55d76c(0x447)](_0x527629,_0x3efdaa))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x55d76c(0x28f)](_0x1d2dea,this['_factory']['setViewFieldOrder'](_0x1d2dea[_0x55d76c(0x463)](),_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36));}[_0x571676(0x28f)](_0x7db7b4,_0x316464){const _0x51ba11=_0x571676;let _0x4199d1=_0x7db7b4[_0x51ba11(0x463)]();_0x7db7b4[_0x51ba11(0x3dd)](this[_0x51ba11(0x396)][_0x51ba11(0x4d8)](_0x4199d1,_0x316464));}[_0x571676(0x567)](_0x248860,_0x165e47,_0x5f3876,_0x234788=this[_0x571676(0x459)](_0x248860['tables'][_0x165e47])){const _0x1b9747=_0x571676;let _0x2d1a79=_0x248860['tables'][_0x165e47],_0x5b02ca=_0x5f3876[_0x1b9747(0x193)]??_0x5f3876['updatedBy']??this[_0x1b9747(0x508)](),_0x36bd51={..._0x5f3876,'createdBy':_0x5f3876[_0x1b9747(0x193)]??_0x5b02ca,'updatedBy':_0x5f3876[_0x1b9747(0x32a)]??_0x5b02ca,'values':{..._0x5f3876['values']}};return _0x36bd51[_0x1b9747(0x334)][_0x13cf76['BASE_RECORD_ID_FIELD_ID']]=_0x36bd51['id'],_0x2d1a79[_0x1b9747(0x582)][_0x1b9747(0x3c9)](_0x40f39f=>{const _0x373c24=_0x1b9747;let _0x7cf4e1=_0x2d1a79['fields'][_0x40f39f];if(_0x7cf4e1&&_0x36bd51[_0x373c24(0x334)][_0x40f39f]===void 0x0)switch(_0x7cf4e1['type']){case _0x13cf76[_0x373c24(0x517)]['Numbering']:var _0x329ead;_0x36bd51[_0x373c24(0x334)][_0x40f39f]=((_0x329ead=_0x234788[_0x373c24(0x59c)](_0x40f39f))==null?void 0x0:_0x329ead())??this[_0x373c24(0x443)](_0x2d1a79,_0x40f39f)();break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x537)]:_0x36bd51['createdBy']&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x36bd51['createdBy']);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x320)]:_0x36bd51[_0x373c24(0x32a)]&&(_0x36bd51['values'][_0x40f39f]=_0x36bd51[_0x373c24(0x32a)]);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x337)]:_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x484)]);break;case _0x13cf76[_0x373c24(0x517)]['UpdatedAt']:_0x36bd51['values'][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x548)]);break;default:{let _0x283905=_0x7cf4e1[_0x373c24(0x5ce)];_0x283905!=null&&_0x283905!==''&&!(Array[_0x373c24(0x21f)](_0x283905)&&_0x283905['length']===0x0)&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x283905);}}}),_0x36bd51;}['_withModifiedSystemValues'](_0x6ba117,_0x1d0434,_0x3d7e55,_0x469728){const _0x7122f1=_0x571676;var _0x5425ab,_0x597085;let _0x4fc3bd=_0x6ba117['tables'][_0x1d0434],_0x1f6b35=((_0x5425ab=(_0x597085=this[_0x7122f1(0x511)])[_0x7122f1(0x5e4)])==null?void 0x0:_0x5425ab['call'](_0x597085))??Date['now'](),_0x30204c=this[_0x7122f1(0x508)](),_0x251fbc={..._0x469728};return _0x4fc3bd[_0x7122f1(0x582)]['forEach'](_0x54dd68=>{const _0x2bd902=_0x7122f1;let _0x1ae01b=_0x4fc3bd['fields'][_0x54dd68];_0x1ae01b&&(_0x1ae01b[_0x2bd902(0x292)]===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x472)]&&(_0x251fbc[_0x54dd68]=_0x35414f(_0x1f6b35)),_0x1ae01b['type']===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x320)]&&_0x30204c&&(_0x251fbc[_0x54dd68]=_0x30204c));}),{'recordId':_0x3d7e55,'values':_0x251fbc,'recordPatch':{'updatedAt':_0x1f6b35,..._0x30204c?{'updatedBy':_0x30204c}:{}}};}[_0x571676(0x24f)](_0x5d3efe,_0x3d83f4,_0x1ee9a9){const _0x3d8272=_0x571676;let _0x42d633=_0x5d3efe[_0x3d8272(0x291)][_0x3d83f4];return!_0x42d633||!_0x3d0c74(_0x1ee9a9)?[]:_0x1ee9a9[_0x3d8272(0x292)]===_0x13cf76['BaseFieldType']['Numbering']?this[_0x3d8272(0x4a4)](_0x42d633,_0x1ee9a9['id']):Object[_0x3d8272(0x334)](_0x42d633[_0x3d8272(0x38f)])['flatMap'](_0x5c550e=>{const _0x1c9d9a=_0x3d8272;let _0xcf7f2d=this[_0x1c9d9a(0x258)](_0x1ee9a9,_0x5c550e);return _0xcf7f2d===void 0x0?[]:[{'recordId':_0x5c550e['id'],'values':{[_0x1ee9a9['id']]:_0xcf7f2d}}];});}['_getSystemFieldValue'](_0x10e95e,_0x330f2d){const _0x1fa8e7=_0x571676;switch(_0x10e95e['type']){case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x537)]:return _0x330f2d[_0x1fa8e7(0x193)]??this[_0x1fa8e7(0x508)]();case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x320)]:return _0x330f2d[_0x1fa8e7(0x32a)]??this['_getCurrentUserId']();case _0x13cf76[_0x1fa8e7(0x517)]['CreatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x484)]??Date[_0x1fa8e7(0x5e4)]());case _0x13cf76[_0x1fa8e7(0x517)]['UpdatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x548)]??Date[_0x1fa8e7(0x5e4)]());default:return;}}[_0x571676(0x459)](_0xc3a78d){const _0x43e0a8=_0x571676;let _0x5939c7=new Map();return _0xc3a78d&&_0xc3a78d['fieldOrder'][_0x43e0a8(0x3c9)](_0x35a042=>{const _0x1e9df8=_0x43e0a8;let _0x452909=_0xc3a78d[_0x1e9df8(0x3c2)][_0x35a042];(_0x452909==null?void 0x0:_0x452909[_0x1e9df8(0x292)])===_0x13cf76[_0x1e9df8(0x517)][_0x1e9df8(0x2a4)]&&_0x5939c7[_0x1e9df8(0x569)](_0x35a042,this[_0x1e9df8(0x443)](_0xc3a78d,_0x35a042));}),_0x5939c7;}['_createNumberingAllocator'](_0x3e870f,_0x326e76){const _0x43d9c0=_0x571676;let _0x366074=Object[_0x43d9c0(0x334)](_0x3e870f[_0x43d9c0(0x38f)])['reduce']((_0x2ddace,_0x24b38b)=>{const _0x47dfd5=_0x43d9c0;let _0x533d28=Number(_0x24b38b[_0x47dfd5(0x334)][_0x326e76]);return Number['isFinite'](_0x533d28)?Math[_0x47dfd5(0x402)](_0x2ddace,_0x533d28):_0x2ddace;},0x0);return()=>String(++_0x366074);}[_0x571676(0x4a4)](_0x4f95d6,_0x5cdf27){const _0x5415e1=_0x571676;let _0x573427=this[_0x5415e1(0x318)](_0x4f95d6),_0xea55e8=this['_createNumberingAllocator'](_0x4f95d6,_0x5cdf27);return _0x573427[_0x5415e1(0x387)](_0x4339f7=>this[_0x5415e1(0x30f)](_0x4339f7[_0x5415e1(0x334)][_0x5cdf27])?[]:[{'recordId':_0x4339f7['id'],'values':{[_0x5cdf27]:_0xea55e8()}}]);}[_0x571676(0x318)](_0x15caa0){const _0x4c2d17=_0x571676;var _0x16e98c;let _0x1605e3=Object['values'](_0x15caa0[_0x4c2d17(0x38f)]),_0x2291a0=new Map(_0x1605e3[_0x4c2d17(0x329)](_0xe5bb44=>[_0xe5bb44['id'],_0xe5bb44])),_0x25e03a=[],_0x24d62d=new Set();(_0x16e98c=_0x15caa0[_0x4c2d17(0x1cd)])==null||_0x16e98c['forEach'](_0x505e26=>{const _0x52f18c=_0x4c2d17;let _0x118fdb=_0x2291a0[_0x52f18c(0x59c)](_0x505e26);_0x118fdb&&(_0x25e03a[_0x52f18c(0x401)](_0x118fdb),_0x24d62d[_0x52f18c(0x54c)](_0x505e26));});let _0x4214fb=_0x1605e3[_0x4c2d17(0x3c4)](_0xcf6358=>!_0x24d62d['has'](_0xcf6358['id']))[_0x4c2d17(0x4af)]((_0x35c2d0,_0x2ded95)=>String(_0x35c2d0[_0x4c2d17(0x34c)]??_0x35c2d0['id'])[_0x4c2d17(0x391)](String(_0x2ded95['orderKey']??_0x2ded95['id']))||_0x35c2d0['id'][_0x4c2d17(0x391)](_0x2ded95['id']));return[..._0x25e03a,..._0x4214fb];}['_isNonEmptyCellValue'](_0x3b21c1){const _0x5cb081=_0x571676;return _0x3b21c1!=null&&_0x3b21c1!==''&&!(Array[_0x5cb081(0x21f)](_0x3b21c1)&&_0x3b21c1[_0x5cb081(0x4e9)]===0x0);}['_getCurrentUserId'](){const _0x319443=_0x571676;var _0x45a541,_0x4ab198,_0x34d30a,_0x62628d;return((_0x45a541=(_0x4ab198=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x45a541[_0x319443(0x279)](_0x4ab198))??((_0x34d30a=(_0x62628d=this[_0x319443(0x511)])[_0x319443(0x36e)])==null||(_0x34d30a=_0x34d30a[_0x319443(0x279)](_0x62628d))==null?void 0x0:_0x34d30a[_0x319443(0x4f9)])??void 0x0;}[_0x571676(0x50c)](_0x1770b9,_0x1fb750,_0x526581,_0x346f2a,_0x38c46e){const _0x52ceac=_0x571676;var _0x4f4211;if(!this['_permissionService'][_0x52ceac(0x502)](_0x1fb750,_0x526581,_0x346f2a))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x1ec526=(_0x4f4211=_0x1770b9[_0x52ceac(0x291)][_0x1fb750])==null?void 0x0:_0x4f4211['fields'][_0x346f2a];if(!_0x1ec526)throw Error(_0x52ceac(0x32b)+_0x346f2a+'\x22\x20does\x20not\x20exist.');let _0x95ab0c=this['_fieldRegistry'][_0x52ceac(0x59c)](_0x1ec526[_0x52ceac(0x292)]);if(_0x1ec526[_0x52ceac(0x59b)]||_0x1ec526[_0x52ceac(0x4f8)]||!_0x95ab0c['getCapabilities'](_0x1ec526)[_0x52ceac(0x3fe)])throw Error(_0x52ceac(0x2b8));let _0x2f90a4=_0x95ab0c['normalize'](_0x38c46e,_0x1ec526),_0x2ef86f=_0x95ab0c[_0x52ceac(0x3a4)](_0x2f90a4,_0x1ec526);if(!_0x2ef86f[_0x52ceac(0x49e)])throw Error(_0x2ef86f[_0x52ceac(0x2a3)]??_0x52ceac(0x3fc));let _0x3130b7=_0x1ec526[_0x52ceac(0x292)]===_0x13cf76[_0x52ceac(0x517)][_0x52ceac(0x5b0)]?_0x5d7c0c(_0x1770b9,_0x1ec526,_0x2f90a4):{'valid':!0x0};if(!_0x3130b7[_0x52ceac(0x49e)])throw Error(_0x3130b7[_0x52ceac(0x2a3)]??_0x52ceac(0x543));return _0x2f90a4;}[_0x571676(0x364)](_0x23a240,_0x717834){const _0x535381=_0x571676;if(_0x717834['id']===_0x13cf76[_0x535381(0x544)]||_0x717834[_0x535381(0x292)]===_0x13cf76[_0x535381(0x517)][_0x535381(0x2ea)]||(0x0,_0x13cf76[_0x535381(0x4ec)])(_0x717834[_0x535381(0x46d)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0xad98cd=_0x5a4a77(_0x23a240,_0x717834);if(!_0xad98cd[_0x535381(0x49e)])throw Error(_0xad98cd[_0x535381(0x2a3)]??_0x535381(0x54b));}};_0x2f32b0=_0xd015f8([_0xddcdca(0x0,_0x43d5bd),_0xddcdca(0x1,_0x1be8ce)],_0x2f32b0);function _0x1468a8(){const _0x5e285d=_0x571676;let _0x500b90=new _0x314c5d();return _0x44e8e4()[_0x5e285d(0x3c9)](_0x12c28a=>_0x500b90[_0x5e285d(0x339)](_0x12c28a)),_0x500b90;}function _0x3d0c74(_0xafec59){const _0x354b08=_0x571676;return _0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x2a4)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x537)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x320)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76['BaseFieldType'][_0x354b08(0x337)]||_0xafec59['type']===_0x13cf76['BaseFieldType'][_0x354b08(0x472)];}let _0x2246eb=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)],_0x13cf76[_0x571676(0x517)][_0x571676(0x55f)]]);function _0x1b61d0(_0x479298){const _0x5df6fb=_0x571676;let _0x4da629=_0x479298['fields'][_0x479298[_0x5df6fb(0x422)]];if((!_0x4da629||_0x4da629[_0x5df6fb(0x4f8)]!==!0x0&&_0x4da629['id'][_0x5df6fb(0x2b0)]()!=='id'&&_0x4da629[_0x5df6fb(0x46d)]['trim']()[_0x5df6fb(0x2b0)]()!=='id')&&_0x4da629)return _0x4da629['id'];for(let _0x6305f3 of _0x479298[_0x5df6fb(0x582)]){let _0x3b0042=_0x479298[_0x5df6fb(0x3c2)][_0x6305f3];if(_0x3b0042&&_0x3b0042['id']!==_0x479298[_0x5df6fb(0x422)]&&_0x3b0042[_0x5df6fb(0x4f8)]!==!0x0&&_0x3b0042[_0x5df6fb(0x292)]!==_0x13cf76[_0x5df6fb(0x517)]['RecordId'])return _0x3b0042['id'];}return _0x479298[_0x5df6fb(0x422)];}function _0x47953f(_0x44c7e6,_0xde6929=[],_0x57cfa9=0x5){const _0xb4736a=_0x571676;let _0x3889fb=new Set(_0xde6929[_0xb4736a(0x3c4)](_0x43fca6=>!!_0x43fca6)),_0x7a8ad0=[],_0x3f70eb=[];for(let _0x4f2af1 of _0x44c7e6[_0xb4736a(0x582)]){let _0x29cb51=_0x44c7e6['fields'][_0x4f2af1];_0x29cb51&&_0x29cb51[_0xb4736a(0x4f8)]!==!0x0&&_0x29cb51[_0xb4736a(0x292)]!==_0x13cf76['BaseFieldType'][_0xb4736a(0x2ea)]&&!_0x3889fb[_0xb4736a(0x370)](_0x29cb51['id'])&&(_0x2246eb['has'](_0x29cb51[_0xb4736a(0x292)])?_0x7a8ad0:_0x3f70eb)[_0xb4736a(0x401)](_0x29cb51['id']);}return[..._0x7a8ad0,..._0x3f70eb][_0xb4736a(0x377)](0x0,_0x57cfa9);}function _0x10ad0c(){const _0x370bcc=_0x571676;return[{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x4fc)],'i18nKey':_0x370bcc(0x345),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2bac55=_0x370bcc;throw Error(_0x2bac55(0x4f5));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x58a)],'i18nKey':_0x370bcc(0x23b),'createDefaultConfig':_0x409e30=>{const _0x3d1679=_0x370bcc;let _0x35a68d=_0x1970c0(_0x409e30);return{'groupFieldId':_0x35a68d,'coverFieldId':null,'cardLayout':_0x3d1679(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x409e30[_0x3d1679(0x422)],'fieldIds':_0x47953f(_0x409e30,[_0x409e30[_0x3d1679(0x422)],_0x35a68d])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c32eb=_0x370bcc;throw Error(_0x5c32eb(0x55e));}},{'type':_0x13cf76[_0x370bcc(0x5ba)]['Calendar'],'i18nKey':_0x370bcc(0x2e9),'createDefaultConfig':_0x1d7559=>{const _0x41bc3f=_0x370bcc;let _0x1530a4=_0x575234(_0x1d7559);return{'startDateFieldId':_0x1530a4,'endDateFieldId':_0x227cf0(_0x1d7559,_0x1530a4),'titleFieldId':_0x1d7559[_0x41bc3f(0x422)],'mode':'month','timeslotSize':'medium','timeZone':'local','displayColor':{'type':_0x41bc3f(0x5cd),'color':_0x41bc3f(0x19d)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c0b8f=_0x370bcc;throw Error(_0x5c0b8f(0x2c8));}},{'type':_0x13cf76['BaseViewType']['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x187a7f=>{const _0x128fad=_0x370bcc;let _0x89c985=_0x575234(_0x187a7f);return{'startDateFieldId':_0x89c985,'endDateFieldId':_0x227cf0(_0x187a7f,_0x89c985)??_0x89c985,'titleFieldId':_0x187a7f['primaryFieldId'],'scale':_0x128fad(0x5d8),'showTodayLine':!0x0,'displayColor':{'type':_0x128fad(0x5cd),'color':_0x128fad(0x1fe)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2e2c2b=_0x370bcc;throw Error(_0x2e2c2b(0x4da));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x51a)],'i18nKey':_0x370bcc(0x3a6),'createDefaultConfig':_0x4bdb5f=>{const _0x1ae106=_0x370bcc;let _0x5eef25=_0x1b61d0(_0x4bdb5f);return{'coverFieldId':null,'cardLayout':_0x1ae106(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5eef25,'coverFieldId':null,'fieldIds':_0x47953f(_0x4bdb5f,[_0x5eef25,_0x4bdb5f['primaryFieldId']])},'cardSize':_0x1ae106(0x532)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xb78cae=_0x370bcc;throw Error(_0xb78cae(0x260));}}];}function _0x1970c0(_0x292fd7){const _0x4b2e47=_0x571676;var _0x72109f,_0x11d9c4,_0x167871;let _0x5d5d90=_0x292fd7['fieldOrder'][_0x4b2e47(0x329)](_0x256f76=>_0x292fd7[_0x4b2e47(0x3c2)][_0x256f76])['filter'](_0x318d59=>!!_0x318d59);return((_0x72109f=_0x5d5d90['find'](_0x94fd0b=>_0x94fd0b[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x221)]||_0x94fd0b['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x247)]||_0x94fd0b['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x53b)]))==null?void 0x0:_0x72109f['id'])??((_0x11d9c4=_0x5d5d90[_0x4b2e47(0x56a)](_0x3975aa=>_0x3975aa[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x4c5)]))==null?void 0x0:_0x11d9c4['id'])??((_0x167871=_0x5d5d90[_0x4b2e47(0x56a)](_0x101841=>_0x101841[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x494)]||_0x101841['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x337)]||_0x101841['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x472)]))==null?void 0x0:_0x167871['id'])??_0x292fd7[_0x4b2e47(0x422)];}function _0x575234(_0xd2ae1){const _0x501619=_0x571676;var _0x580a57;return((_0x580a57=_0xd2ae1['fieldOrder']['map'](_0x2e4450=>_0xd2ae1['fields'][_0x2e4450])[_0x501619(0x56a)](_0xe88d69))==null?void 0x0:_0x580a57['id'])??'';}function _0x227cf0(_0x1a1715,_0x4db0d9){const _0x44221d=_0x571676;var _0x59fa52;return(_0x59fa52=_0x1a1715[_0x44221d(0x582)][_0x44221d(0x329)](_0x393a9b=>_0x1a1715[_0x44221d(0x3c2)][_0x393a9b])[_0x44221d(0x56a)](_0x2663a1=>_0xe88d69(_0x2663a1)&&_0x2663a1['id']!==_0x4db0d9))==null?void 0x0:_0x59fa52['id'];}function _0xe88d69(_0x10f3db){const _0x3043e9=_0x571676;return!!_0x10f3db&&_0x10f3db[_0x3043e9(0x292)]===_0x13cf76[_0x3043e9(0x517)][_0x3043e9(0x494)]&&_0x10f3db[_0x3043e9(0x59b)]!==!0x0&&_0x10f3db[_0x3043e9(0x4f8)]!==!0x0;}let _0x5c11cd=(0x0,_0x13cf76[_0x571676(0x220)])(_0x571676(0x1dc)),_0x39090b=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)]['Rating'],_0x13cf76['BaseFieldType'][_0x571676(0x494)],_0x13cf76[_0x571676(0x517)]['CreatedAt'],_0x13cf76[_0x571676(0x517)][_0x571676(0x472)],_0x13cf76[_0x571676(0x517)]['Checkbox']]),_0xb61d09=0x5265c00,_0x308bae=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x26c525){const _0x244deb=_0x571676;super(),this[_0x244deb(0x26f)]=_0x26c525,_0x1a302a(this,_0x244deb(0x45f),new Map()),_0x1a302a(this,_0x244deb(0x53d),new WeakMap()),_0x1a302a(this,_0x244deb(0x45c),new Map()),_0x1a302a(this,_0x244deb(0x4f4),new Map()),_0x1a302a(this,_0x244deb(0x198),new Map()),_0x1a302a(this,_0x244deb(0x1d8),new Map()),_0x1a302a(this,'_globalRevision',0x0),_0x1a302a(this,'_tableRevisions',new Map()),_0x1a302a(this,_0x244deb(0x5b7),new Map()),_0x1a302a(this,_0x244deb(0x43c),new Map()),_0x1a302a(this,_0x244deb(0x2fb),new Map());}[_0x571676(0x2a1)](_0xa5183e){const _0x3cfd07=_0x571676;return this[_0x3cfd07(0x45f)]['set'](_0xa5183e[_0x3cfd07(0x292)],_0xa5183e),(0x0,_0x13cf76[_0x3cfd07(0x539)])(()=>this['_views']['delete'](_0xa5183e[_0x3cfd07(0x292)]));}[_0x571676(0x56c)](_0xf50a9,_0xf6bd0d,_0x2d80d0){const _0x3c494f=_0x571676;var _0x55d68a,_0x42fe3e,_0x36a504;return _0x32800a('BaseProjection.getProjection',()=>{const _0x6d63a3=_0x4fc5;let _0x4df23e=this[_0x6d63a3(0x5d4)](_0xf50a9,_0xf6bd0d,_0x2d80d0);if(_0x4df23e)return _0x4df23e;let _0x110721=_0xf50a9[_0x6d63a3(0x291)][_0xf6bd0d],_0x566ba3=_0x110721==null?void 0x0:_0x110721['views'][_0x2d80d0];if(!_0x110721||!_0x566ba3)return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,{'type':_0x6d63a3(0x3a9),'viewType':(_0x566ba3==null?void 0x0:_0x566ba3[_0x6d63a3(0x292)])??_0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)],'reason':_0x6d63a3(0x34e)});let _0x2cb7bf;switch(_0x566ba3['type']){case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)]:_0x2cb7bf=this[_0x6d63a3(0x4b6)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x520)]:_0x2cb7bf=this[_0x6d63a3(0x2f5)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x58a)]:_0x2cb7bf=this[_0x6d63a3(0x22e)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x17a)]:_0x2cb7bf=this[_0x6d63a3(0x540)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x51a)]:_0x2cb7bf=this[_0x6d63a3(0x3bd)](_0x110721,_0x566ba3);break;default:_0x2cb7bf={'type':_0x6d63a3(0x3a9),'viewType':_0x566ba3[_0x6d63a3(0x292)],'reason':'missingField'};}return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,_0x2cb7bf);},{'tableId':_0xf6bd0d,'viewId':_0x2d80d0,'viewType':(_0x55d68a=_0xf50a9['tables'][_0xf6bd0d])==null||(_0x55d68a=_0x55d68a[_0x3c494f(0x18d)][_0x2d80d0])==null?void 0x0:_0x55d68a['type'],'records':((_0x42fe3e=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null||(_0x42fe3e=_0x42fe3e[_0x3c494f(0x1cd)])==null?void 0x0:_0x42fe3e[_0x3c494f(0x4e9)])??Object[_0x3c494f(0x2db)](((_0x36a504=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null?void 0x0:_0x36a504[_0x3c494f(0x38f)])??{})[_0x3c494f(0x4e9)]});}[_0x571676(0x2a7)](_0x55408f,_0x431d37,_0x3526b8){const _0x3e9262=_0x571676;var _0x2040e8,_0x293b61,_0x2ac62f;let _0x815121=_0x55408f[_0x3e9262(0x291)][_0x431d37],_0x411ed8=_0x815121==null?void 0x0:_0x815121['views'][_0x3526b8];if(!_0x815121||!_0x411ed8)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x3526b8+'\x22.');let _0x2ed2a0=_0x589661=>!!_0x815121[_0x3e9262(0x3c2)][_0x589661],_0x521779={..._0x411ed8,'filter':_0x411ed8[_0x3e9262(0x3c4)]?{..._0x411ed8[_0x3e9262(0x3c4)],'conditions':_0x411ed8['filter'][_0x3e9262(0x3af)]['filter'](_0x22bfde=>_0x2ed2a0(_0x22bfde[_0x3e9262(0x384)]))}:_0x411ed8[_0x3e9262(0x3c4)],'sort':(_0x2040e8=_0x411ed8[_0x3e9262(0x4af)])==null?void 0x0:_0x2040e8[_0x3e9262(0x3c4)](_0x265c7d=>_0x2ed2a0(_0x265c7d[_0x3e9262(0x384)])),'group':(_0x293b61=_0x411ed8[_0x3e9262(0x42c)])==null?void 0x0:_0x293b61[_0x3e9262(0x3c4)](_0x47f306=>_0x2ed2a0(_0x47f306['fieldId'])),'fieldOrder':(_0x2ac62f=_0x411ed8[_0x3e9262(0x582)])==null?void 0x0:_0x2ac62f[_0x3e9262(0x3c4)](_0x2ed2a0),'fieldSettings':Object[_0x3e9262(0x1fc)](Object[_0x3e9262(0x460)](_0x411ed8[_0x3e9262(0x3ea)]??{})[_0x3e9262(0x3c4)](([_0xc5ec4a])=>_0x2ed2a0(_0xc5ec4a)))};if(_0x521779[_0x3e9262(0x292)]===_0x3e9262(0x592)){var _0x5312ef;let _0x47632d=_0x521779[_0x3e9262(0x5b9)]??{},_0x1cce92=this[_0x3e9262(0x468)](_0x815121,_0x521779),_0x152028=this[_0x3e9262(0x5ab)](_0x815121,(_0x5312ef=_0x47632d[_0x3e9262(0x2ac)])==null?void 0x0:_0x5312ef[_0x3e9262(0x41d)]);_0x521779['config']={..._0x47632d,'groupFieldId':_0x1cce92??_0x47632d['groupFieldId'],'coverFieldId':this[_0x3e9262(0x431)](_0x815121,_0x47632d),'cardLayout':_0x47632d[_0x3e9262(0x528)]===_0x3e9262(0x199)?_0x3e9262(0x199):_0x3e9262(0x2f6),'showFieldNames':_0x47632d[_0x3e9262(0x3e8)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3e9262(0x460)](_0x47632d[_0x3e9262(0x3ea)]??{})['filter'](([_0x3574b5])=>_0x2ed2a0(_0x3574b5))),'columnSettings':_0x47632d[_0x3e9262(0x4b2)]??{},'card':{..._0x47632d[_0x3e9262(0x2ac)]??{},'titleFieldId':_0x152028,'fieldIds':this[_0x3e9262(0x49b)](_0x815121,_0x521779,_0x1cce92??'',_0x152028)}};}return{'repaired':JSON['stringify'](_0x521779)!==JSON[_0x3e9262(0x30d)](_0x411ed8),'view':_0x521779};}[_0x571676(0x5cb)](){this['_globalRevision']++;}[_0x571676(0x4bb)](_0x312624,_0x3c790b,_0x190273){const _0x1b4227=_0x571676;let _0x1961eb=this[_0x1b4227(0x1e5)](_0x312624)+0x1;this[_0x1b4227(0x5b7)][_0x1b4227(0x569)](_0x312624,_0x1961eb);let _0x301e9c=this['_cellInvalidations'][_0x1b4227(0x59c)](_0x312624)??[];_0x301e9c[_0x1b4227(0x401)]({'revision':_0x1961eb,'recordId':_0x3c790b,'fieldId':_0x190273}),this[_0x1b4227(0x43c)][_0x1b4227(0x569)](_0x312624,_0x301e9c);}['invalidateByField'](_0x48fa3e,_0x42d197){this['_bumpTableRevision'](_0x48fa3e);}[_0x571676(0x47a)](_0x3cb040,_0x1d39f2){const _0x5077f1=_0x571676;this['_viewRevisions']['set'](this[_0x5077f1(0x33d)](_0x3cb040,_0x1d39f2),this[_0x5077f1(0x4ae)](_0x3cb040,_0x1d39f2)+0x1);}[_0x571676(0x5d4)](_0x443428,_0x14496c,_0xd47c36){const _0x953cf9=_0x571676;var _0x5abf42;let _0x18c062=(_0x5abf42=this[_0x953cf9(0x53d)]['get'](_0x443428))==null?void 0x0:_0x5abf42['get'](this[_0x953cf9(0x479)](_0x14496c,_0xd47c36));return _0x18c062&&_0x18c062[_0x953cf9(0x22a)]===this[_0x953cf9(0x3f8)]&&_0x18c062[_0x953cf9(0x49d)]===this[_0x953cf9(0x5e5)](_0x14496c)&&_0x18c062[_0x953cf9(0x51d)]===this[_0x953cf9(0x1e5)](_0x14496c)&&_0x18c062['viewRevision']===this[_0x953cf9(0x4ae)](_0x14496c,_0xd47c36)?_0x18c062[_0x953cf9(0x210)]:null;}[_0x571676(0x1ba)](_0x4ef96b,_0xadd8b6,_0x275855,_0x23ef8e){const _0x259f93=_0x571676;let _0x4a3626=this[_0x259f93(0x53d)]['get'](_0x4ef96b);return _0x4a3626||(_0x4a3626=new Map(),this[_0x259f93(0x53d)][_0x259f93(0x569)](_0x4ef96b,_0x4a3626)),_0x4a3626['set'](this[_0x259f93(0x479)](_0xadd8b6,_0x275855),{'projection':_0x23ef8e,'globalRevision':this[_0x259f93(0x3f8)],'tableRevision':this[_0x259f93(0x5e5)](_0xadd8b6),'cellRevision':this[_0x259f93(0x1e5)](_0xadd8b6),'viewRevision':this['_getViewRevision'](_0xadd8b6,_0x275855)}),_0x23ef8e;}[_0x571676(0x3b8)](_0x96c08){const _0x2b27d6=_0x571676;this[_0x2b27d6(0x4c9)][_0x2b27d6(0x569)](_0x96c08,this['_getTableRevision'](_0x96c08)+0x1);}[_0x571676(0x5e5)](_0x423533){return this['_tableRevisions']['get'](_0x423533)??0x0;}[_0x571676(0x1e5)](_0x125819){const _0x4da4ab=_0x571676;return this[_0x4da4ab(0x5b7)][_0x4da4ab(0x59c)](_0x125819)??0x0;}[_0x571676(0x4ae)](_0x4f7e95,_0x37210f){const _0x164141=_0x571676;return this['_viewRevisions'][_0x164141(0x59c)](this[_0x164141(0x33d)](_0x4f7e95,_0x37210f))??0x0;}['_cacheKey'](_0x4d7ddf,_0x4f3feb){return _0x4d7ddf+'\x00'+_0x4f3feb;}[_0x571676(0x28a)](_0x127bc3,_0x3fd099){const _0x2c8654=_0x571676;return _0x127bc3+'\x00'+this[_0x2c8654(0x44c)](_0x3fd099);}[_0x571676(0x201)](_0x4f649c,_0x8a9b8a,_0x2cc8c0){const _0x10fb72=_0x571676;return _0x4f649c+'\x00'+this[_0x10fb72(0x44c)](_0x8a9b8a)+'\x00'+this[_0x10fb72(0x29b)](_0x2cc8c0);}[_0x571676(0x44c)](_0x20caa8){const _0x4634c0=_0x571676;return _0x20caa8?_0x59f21e({'filter':_0x394f5b(_0x20caa8[_0x4634c0(0x3c4)]),'sort':_0x42c04c(_0x20caa8[_0x4634c0(0x4af)])}):_0x4634c0(0x34b);}[_0x571676(0x29b)](_0x1a6937){const _0x550d39=_0x571676;return _0x59f21e(_0x1a6937[_0x550d39(0x329)](_0x4cfc52=>({'fieldId':_0x4cfc52[_0x550d39(0x384)],'direction':_0x4cfc52[_0x550d39(0x1c7)]??null})));}[_0x571676(0x33d)](_0x2dce8d,_0x395507){return _0x2dce8d+'\x00'+_0x395507;}[_0x571676(0x4b6)](_0x4ad86f,_0x275527){const _0x3d5003=_0x571676;var _0x2d9115;let _0x5251e4=_0x2d5926(_0x4ad86f),_0x283ff3=this[_0x3d5003(0x38a)](_0x4ad86f,_0x275527),_0x29b363=(_0x2d9115=_0x275527['filter'])!=null&&_0x2d9115[_0x3d5003(0x3af)][_0x3d5003(0x4e9)]?this[_0x3d5003(0x38a)](_0x4ad86f,{..._0x275527,'filter':null}):_0x283ff3,_0xd5b7b0=_0x4ceb91(this[_0x3d5003(0x239)](_0x4ad86f,_0x5251e4,_0x275527['id'],_0x29b363[_0x3d5003(0x329)](_0x3fe8f3=>_0x3fe8f3[_0x3d5003(0x5c4)])),_0x29b363,new Set(_0x283ff3[_0x3d5003(0x329)](_0x4745ec=>_0x4745ec[_0x3d5003(0x5c4)])));return{'type':_0x13cf76[_0x3d5003(0x5ba)]['Grid'],'fields':this[_0x3d5003(0x5cf)](_0x4ad86f,_0x275527),'rows':_0xd5b7b0['rows'],'groups':this[_0x3d5003(0x51e)](_0x4ad86f,_0x275527,_0xd5b7b0['rows'],_0xd5b7b0['hierarchy']),'hierarchy':_0xd5b7b0[_0x3d5003(0x206)],'frozenFieldCount':typeof _0x275527['config']['frozenFieldCount']==_0x3d5003(0x3dc)?_0x275527[_0x3d5003(0x5b9)][_0x3d5003(0x379)]:0x0};}[_0x571676(0x239)](_0x5bd3b5,_0x5b450b,_0x36ade4,_0xf5bfdf){const _0x14e0f1=_0x571676;let _0x22e247=_0x5bd3b5['id']+'\x00'+_0x5b450b+'\x00'+_0x36ade4,_0x359a7e=this[_0x14e0f1(0x1e5)](_0x5bd3b5['id']),_0x840906=this['_hierarchyIndexCache'][_0x14e0f1(0x59c)](_0x22e247);if(_0x840906&&_0x840906['globalRevision']===this[_0x14e0f1(0x3f8)]&&_0x840906[_0x14e0f1(0x49d)]===this[_0x14e0f1(0x5e5)](_0x5bd3b5['id'])&&_0x840906['orderedRecordIds'][_0x14e0f1(0x4e9)]===_0xf5bfdf[_0x14e0f1(0x4e9)]&&_0x840906[_0x14e0f1(0x5d5)][_0x14e0f1(0x5a5)]((_0x5b6d1c,_0x5737c4)=>_0x5b6d1c===_0xf5bfdf[_0x5737c4])){if(_0x840906[_0x14e0f1(0x51d)]===_0x359a7e&&_0x840906[_0x14e0f1(0x4b7)]===_0x5bd3b5)return _0x840906[_0x14e0f1(0x36f)];if(!this[_0x14e0f1(0x229)](_0x5bd3b5['id'],_0x840906[_0x14e0f1(0x51d)],_0x359a7e,new Set([_0x5b450b])))return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{..._0x840906,'table':_0x5bd3b5,'cellRevision':_0x359a7e}),_0x840906[_0x14e0f1(0x36f)];}let _0x44ca23=_0x4067d3(_0x5bd3b5,_0x5b450b,_0xf5bfdf);return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{'table':_0x5bd3b5,'index':_0x44ca23,'orderedRecordIds':_0xf5bfdf,'globalRevision':this[_0x14e0f1(0x3f8)],'tableRevision':this[_0x14e0f1(0x5e5)](_0x5bd3b5['id']),'cellRevision':_0x359a7e}),_0x44ca23;}[_0x571676(0x51e)](_0x2ff520,_0x3e365a,_0x229eb9,_0x58aa43){const _0x5f1d00=_0x571676;var _0x5284ac;if(!((_0x5284ac=_0x3e365a[_0x5f1d00(0x42c)])!=null&&_0x5284ac[_0x5f1d00(0x4e9)]))return[];let _0x2d24a3=new Map(_0x229eb9[_0x5f1d00(0x329)](_0x1555a7=>[_0x1555a7['recordId'],_0x1555a7])),_0x31d5a0=_0x58aa43[_0x5f1d00(0x549)][_0x5f1d00(0x387)](_0x26aedd=>{let _0x31faf3=_0x2d24a3['get'](_0x26aedd);return _0x31faf3?[_0x31faf3]:[];}),_0x130ca7=this[_0x5f1d00(0x4eb)](_0x2ff520,_0x3e365a,_0x31d5a0),_0x598a99=new Map(_0x58aa43[_0x5f1d00(0x5d5)][_0x5f1d00(0x329)]((_0xd90a70,_0x39831e)=>[_0xd90a70,_0x39831e])),_0x5d42ca=_0xb6c5fe=>{const _0x2901a2=_0x5f1d00;let _0x5f3dbe=_0x58aa43['nodes'][_0xb6c5fe],_0x221d16=_0x598a99[_0x2901a2(0x59c)](_0xb6c5fe)??-0x1;return _0x221d16<0x0||!_0x5f3dbe?[]:_0x58aa43[_0x2901a2(0x5d5)]['slice'](_0x221d16,_0x5f3dbe[_0x2901a2(0x28d)]+0x1);},_0x30f6e6=_0x39ae2e=>{const _0x20c6e7=_0x5f1d00;var _0x4ccd6e,_0x5168ac;return{..._0x39ae2e,'recordIds':(_0x4ccd6e=_0x39ae2e[_0x20c6e7(0x2e1)])!=null&&_0x4ccd6e['length']?_0x39ae2e[_0x20c6e7(0x2bc)]:_0x39ae2e[_0x20c6e7(0x2bc)][_0x20c6e7(0x387)](_0x5d42ca),'children':(_0x5168ac=_0x39ae2e[_0x20c6e7(0x2e1)])==null?void 0x0:_0x5168ac[_0x20c6e7(0x329)](_0x30f6e6)};};return _0x130ca7[_0x5f1d00(0x329)](_0x30f6e6);}[_0x571676(0x22e)](_0x124d73,_0x47c800){const _0x16f079=_0x571676;var _0x2bd0ce;let _0x528c7b=this[_0x16f079(0x468)](_0x124d73,_0x47c800),_0x39006d=_0x528c7b?_0x124d73[_0x16f079(0x3c2)][_0x528c7b]:void 0x0;if(!_0x39006d)return{'type':_0x16f079(0x3a9),'viewType':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'reason':_0x16f079(0x42d),'fieldId':_0x47c800[_0x16f079(0x5b9)][_0x16f079(0x34f)]};let _0x17549e=this[_0x16f079(0x38a)](_0x124d73,_0x47c800),_0x9c8f7a=this[_0x16f079(0x5cf)](_0x124d73,_0x47c800),_0x50d6d1=_0x47c800['config']??{},_0x5588fe=this[_0x16f079(0x5ab)](_0x124d73,(_0x2bd0ce=_0x50d6d1['card'])==null?void 0x0:_0x2bd0ce['titleFieldId']),_0x4bbc1e=this[_0x16f079(0x49b)](_0x124d73,_0x47c800,_0x39006d['id'],_0x5588fe),_0x1a21d3=new Map();if(_0x53a126(_0x124d73,_0x39006d['id'])){let _0x2e75e5=this['_getHierarchyIndex'](_0x124d73,_0x39006d['id'],_0x47c800['id'],_0x17549e[_0x16f079(0x329)](_0x236b9d=>_0x236b9d[_0x16f079(0x5c4)])),_0x488bd2=new Map();return _0x17549e[_0x16f079(0x3c9)](_0x526b57=>{const _0x22ca90=_0x16f079;let _0x409d7f=_0x2e75e5[_0x22ca90(0x31b)][_0x22ca90(0x59c)](_0x526b57[_0x22ca90(0x5c4)])??null,_0x397a2c=_0x409d7f??'',_0x57ea44=_0x409d7f?_0x124d73[_0x22ca90(0x38f)][_0x409d7f]:void 0x0,_0xc1ba64=_0x488bd2[_0x22ca90(0x59c)](_0x397a2c)??{'key':_0x397a2c,'title':_0x57ea44?String(_0x5d2adc(_0x124d73,_0x57ea44['id'],_0x124d73[_0x22ca90(0x422)])??_0x409d7f):this[_0x22ca90(0x281)](_0x39006d,_0x397a2c,_0x50d6d1),'recordIds':[]};_0xc1ba64['recordIds'][_0x22ca90(0x401)](_0x526b57[_0x22ca90(0x5c4)]),_0x488bd2[_0x22ca90(0x569)](_0x397a2c,_0xc1ba64);}),{'type':_0x13cf76[_0x16f079(0x5ba)]['Kanban'],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':[],'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':['',..._0x2e75e5[_0x16f079(0x5d5)]][_0x16f079(0x387)](_0x5f2ac5=>{const _0x54e0a2=_0x16f079;let _0x57a73b=_0x488bd2[_0x54e0a2(0x59c)](_0x5f2ac5);return _0x57a73b!=null&&_0x57a73b[_0x54e0a2(0x2bc)][_0x54e0a2(0x4e9)]?[_0x57a73b]:[];})};}return this['_getKanbanConfiguredLanes'](_0x39006d,_0x50d6d1)[_0x16f079(0x3c9)](_0x655771=>_0x1a21d3[_0x16f079(0x569)](_0x655771['key'],{..._0x655771,'recordIds':[]})),_0x17549e['forEach'](_0x515b12=>{const _0xf4e7d6=_0x16f079;this[_0xf4e7d6(0x534)](_0x39006d,_0x515b12[_0xf4e7d6(0x334)][_0x39006d['id']])[_0xf4e7d6(0x3c9)](_0x19da5b=>{const _0x5231f2=_0xf4e7d6;let _0x170d91=_0x1a21d3['get'](_0x19da5b)??{'key':_0x19da5b,'title':this[_0x5231f2(0x281)](_0x39006d,_0x19da5b,_0x50d6d1),'color':this['_kanbanLaneColor'](_0x39006d,_0x19da5b,_0x50d6d1),'recordIds':[]};_0x170d91[_0x5231f2(0x2bc)][_0x5231f2(0x401)](_0x515b12[_0x5231f2(0x5c4)]),_0x1a21d3[_0x5231f2(0x569)](_0x19da5b,_0x170d91);});}),{'type':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':this['_projectGroups'](_0x124d73,_0x47c800,_0x17549e),'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':Array[_0x16f079(0x2ed)](_0x1a21d3[_0x16f079(0x334)]())};}[_0x571676(0x468)](_0x34c326,_0x1fbf44){const _0x14b695=_0x571676;var _0x1ac24c;let _0x56a389=(_0x1ac24c=_0x1fbf44[_0x14b695(0x5b9)])==null?void 0x0:_0x1ac24c[_0x14b695(0x34f)];return _0x56a389&&this['_isKanbanGroupField'](_0x34c326,_0x56a389)?_0x56a389:this[_0x14b695(0x4b5)](_0x34c326,_0x4a7814=>this['_isAllowedKanbanGroupField'](_0x4a7814));}[_0x571676(0x4b5)](_0x68cf3d,_0x40192b){const _0x400edd=_0x571676;for(let _0x3a0a46 of _0x68cf3d['fieldOrder']){let _0x39da03=_0x68cf3d[_0x400edd(0x3c2)][_0x3a0a46];if(_0x39da03&&_0x40192b(_0x39da03))return _0x39da03['id'];}return null;}[_0x571676(0x31f)](_0x3895a8,_0x2261a5){const _0x48a393=_0x571676;let _0x52d803=_0x3895a8[_0x48a393(0x3c2)][_0x2261a5];return this[_0x48a393(0x4b1)](_0x52d803)||_0x53a126(_0x3895a8,_0x2261a5);}[_0x571676(0x4b1)](_0x30fba1){const _0x3fbaa1=_0x571676;return!!_0x30fba1&&(_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)]['SingleSelect']||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x247)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x238)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x43f)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x53b)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x55f)]);}[_0x571676(0x1a2)](_0x1db317){const _0x211e38=_0x571676;return _0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x221)]||_0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x247)];}[_0x571676(0x431)](_0x3579ae,_0x293eb3){const _0xe816e7=_0x571676;var _0x12bc37;let _0x29d63b=_0x293eb3[_0xe816e7(0x36d)]??((_0x12bc37=_0x293eb3['card'])==null?void 0x0:_0x12bc37['coverFieldId'])??null;if(!_0x29d63b)return null;let _0x1393a0=_0x3579ae[_0xe816e7(0x3c2)][_0x29d63b];return _0x1393a0&&this[_0xe816e7(0x1d7)](_0x1393a0)[_0xe816e7(0x20f)]?_0x1393a0['id']:null;}['_resolveKanbanCardFieldIds'](_0x159da7,_0x44baec,_0x5d8dc9,_0x40d790=this[_0x571676(0x5ab)](_0x159da7,((()=>{const _0x80d1cf=_0x571676;var _0x6b5d1f;return(_0x6b5d1f=_0x44baec[_0x80d1cf(0x5b9)])==null||(_0x6b5d1f=_0x6b5d1f[_0x80d1cf(0x2ac)])==null?void 0x0:_0x6b5d1f['titleFieldId'];})()))){const _0x2b5246=_0x571676;var _0x40eab8;let _0x5af70e=_0x44baec['config']??{},_0x89a165=(_0x40eab8=_0x5af70e[_0x2b5246(0x2ac)])!=null&&(_0x40eab8=_0x40eab8['fieldIds'])!=null&&_0x40eab8[_0x2b5246(0x4e9)]?_0x5af70e[_0x2b5246(0x2ac)][_0x2b5246(0x1bb)]:_0x47953f(_0x159da7,[_0x40d790,_0x159da7[_0x2b5246(0x422)],_0x5d8dc9]),_0x51f518=_0x5af70e[_0x2b5246(0x3ea)]??{};return _0x89a165[_0x2b5246(0x3c4)](_0x524174=>{const _0x898332=_0x2b5246;var _0x4d81f6,_0x254533;let _0x19a3e9=_0x159da7['fields'][_0x524174];return!(!_0x19a3e9||_0x19a3e9[_0x898332(0x4f8)]===!0x0||_0x19a3e9[_0x898332(0x292)]===_0x13cf76[_0x898332(0x517)][_0x898332(0x2ea)]||_0x19a3e9['id']===_0x5d8dc9||_0x19a3e9['id']===_0x40d790||(_0x4d81f6=_0x44baec[_0x898332(0x3ea)])!=null&&(_0x4d81f6=_0x4d81f6[_0x524174])!=null&&_0x4d81f6[_0x898332(0x3fd)]||(_0x254533=_0x51f518[_0x524174])!=null&&_0x254533['hidden']);})[_0x2b5246(0x4af)]((_0x1ced03,_0x3e8478)=>{const _0x385bf1=_0x2b5246;var _0x380df5,_0x42c51a;return(((_0x380df5=_0x51f518[_0x1ced03])==null?void 0x0:_0x380df5[_0x385bf1(0x1e3)])??_0x89a165['indexOf'](_0x1ced03))-(((_0x42c51a=_0x51f518[_0x3e8478])==null?void 0x0:_0x42c51a[_0x385bf1(0x1e3)])??_0x89a165[_0x385bf1(0x406)](_0x3e8478));});}[_0x571676(0x287)](_0x225c74,_0xf6b440){const _0x40ff5e=_0x571676;var _0x2eb103;let _0x5daad2=(Array['isArray']((_0x2eb103=_0x225c74[_0x40ff5e(0x5b9)])==null?void 0x0:_0x2eb103[_0x40ff5e(0x386)])?_0x225c74['config'][_0x40ff5e(0x386)]:[])['flatMap']((_0x494957,_0x24cbb6)=>{const _0x31dd22=_0x40ff5e;if(_0x494957==null)return[];let _0x15094a=typeof _0x494957==_0x31dd22(0x2b6)?{'id':_0x494957,'name':_0x494957,'color':void 0x0}:_0x494957,_0x4b0bca=String(_0x15094a['id']??_0x15094a[_0x31dd22(0x46d)]??_0x31dd22(0x190)+(_0x24cbb6+0x1));return[{'key':_0x4b0bca,'title':String(_0x15094a[_0x31dd22(0x46d)]??_0x15094a['id']??_0x4b0bca),'color':this['_kanbanLaneColor'](_0x225c74,_0x4b0bca,_0xf6b440)}];});return Object[_0x40ff5e(0x460)](_0xf6b440[_0x40ff5e(0x4b2)]??{})[_0x40ff5e(0x3c9)](([_0x5301a7,_0x4ccdf8])=>{const _0x1a7565=_0x40ff5e;_0x5daad2[_0x1a7565(0x1ab)](_0x425373=>_0x425373[_0x1a7565(0x40c)]===_0x5301a7)||_0x5daad2['push']({'key':_0x5301a7,'title':this[_0x1a7565(0x1a2)](_0x225c74)?_0x4ccdf8[_0x1a7565(0x297)]??this[_0x1a7565(0x281)](_0x225c74,_0x5301a7,_0xf6b440):this['_kanbanLaneTitle'](_0x225c74,_0x5301a7,_0xf6b440),'color':this[_0x1a7565(0x5c5)](_0x225c74,_0x5301a7,_0xf6b440)});}),_0x5daad2;}[_0x571676(0x534)](_0x275574,_0x1e25a6){const _0x25b74e=_0x571676;let _0x1996bc=_0x14f24a=>{const _0x54a169=_0x4fc5;var _0x2346a0;let _0x756f30=_0x14f24a==null?'':String(_0x14f24a);return!_0x756f30||!this[_0x54a169(0x1a2)](_0x275574)?_0x756f30:((_0x2346a0=_0x40d76c(_0x275574,_0x756f30))==null?void 0x0:_0x2346a0['id'])??_0x756f30;};if(Array[_0x25b74e(0x21f)](_0x1e25a6)){let _0x356173=_0x1e25a6['map'](_0x1996bc)['filter'](_0x1411ee=>_0x1411ee!=='');return _0x356173[_0x25b74e(0x4e9)]?_0x356173:[''];}return[_0x1996bc(_0x1e25a6)];}[_0x571676(0x281)](_0x1c4a6a,_0x53597b,_0x571357){const _0x497bf0=_0x571676;if(!_0x53597b)return _0x497bf0(0x2fc);let _0x36818f=_0x40d76c(_0x1c4a6a,_0x53597b);return(_0x36818f==null?void 0x0:_0x36818f['name'])??_0x53597b;}[_0x571676(0x5c5)](_0x2a74dd,_0x1db7ed,_0xa05227){const _0x4d08e8=_0x571676;var _0x56c45d;if(this['_isColorfulKanbanGroupField'](_0x2a74dd))return(_0x56c45d=_0x40d76c(_0x2a74dd,_0x1db7ed))==null?void 0x0:_0x56c45d[_0x4d08e8(0x393)];}[_0x571676(0x540)](_0x1fdf29,_0x2db1af){const _0x2e6b14=_0x571676;let _0x2bcda9=this[_0x2e6b14(0x5af)](_0x1fdf29,_0x2db1af[_0x2e6b14(0x5b9)]??{}),_0x3e5857=_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x348)]];if(!_0x3e5857||_0x3e5857[_0x2e6b14(0x292)]!==_0x13cf76['BaseFieldType'][_0x2e6b14(0x494)]||_0x3e5857[_0x2e6b14(0x59b)]===!0x0||_0x3e5857['system']===!0x0||!this['_capabilities'](_0x3e5857)[_0x2e6b14(0x35d)])return{'type':_0x2e6b14(0x3a9),'viewType':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'reason':_0x2e6b14(0x1e4),'fieldId':_0x2bcda9[_0x2e6b14(0x348)]};let _0x333040=_0x2bcda9[_0x2e6b14(0x282)]?_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x282)]]:void 0x0,_0x1ebcda=this['_projectRows'](_0x1fdf29,_0x2db1af);return{'type':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'config':_0x2bcda9,'fields':this[_0x2e6b14(0x5cf)](_0x1fdf29,_0x2db1af),'rows':_0x1ebcda,'groups':this[_0x2e6b14(0x4eb)](_0x1fdf29,_0x2db1af,_0x1ebcda),'events':_0x1ebcda[_0x2e6b14(0x387)](_0x533b08=>{const _0xa5d447=_0x2e6b14;let _0x21293d=_0x397f72(_0x533b08[_0xa5d447(0x334)][_0x2bcda9['startDateFieldId']]);if(!Number['isFinite'](_0x21293d))return[];let _0x561be1=_0x533b08[_0xa5d447(0x334)][_0x2bcda9[_0xa5d447(0x348)]],_0x189956=_0x2bcda9['endDateFieldId']==null?void 0x0:_0x533b08[_0xa5d447(0x334)][_0x2bcda9['endDateFieldId']],_0xf04611=_0x2bcda9[_0xa5d447(0x282)]==null?void 0x0:_0x397f72(_0x189956),_0x58a927=Number[_0xa5d447(0x195)](_0xf04611)?_0xf04611:void 0x0;return[{'recordId':_0x533b08[_0xa5d447(0x5c4)],'title':this[_0xa5d447(0x1aa)](_0x1fdf29,_0x533b08,_0x2bcda9['titleFieldId']),'start':_0x21293d,'end':_0x58a927,'color':this[_0xa5d447(0x1ea)](_0x1fdf29,_0x533b08,_0x2bcda9),'startMs':_0x21293d,'endMs':_0x58a927,'allDay':this[_0xa5d447(0x27d)](_0x3e5857,_0x333040,_0x561be1,_0x189956),'fieldValues':_0x533b08['values']}];})};}[_0x571676(0x5af)](_0x353eea,_0x344850){const _0x2eb7c1=_0x571676;let _0x443eab=this[_0x2eb7c1(0x327)](_0x353eea,_0x344850[_0x2eb7c1(0x348)]),_0x1395ac=_0x344850[_0x2eb7c1(0x282)]&&this['_isCalendarDateField'](_0x353eea,_0x344850[_0x2eb7c1(0x282)])?_0x344850[_0x2eb7c1(0x282)]:this[_0x2eb7c1(0x5a9)](_0x353eea,_0x443eab)??void 0x0,_0x46164=_0x344850[_0x2eb7c1(0x41d)]?_0x353eea[_0x2eb7c1(0x3c2)][_0x344850[_0x2eb7c1(0x41d)]]:void 0x0,_0x44aa19=_0x46164&&_0x46164[_0x2eb7c1(0x4f8)]!==!0x0&&_0x46164['type']!==_0x13cf76[_0x2eb7c1(0x517)][_0x2eb7c1(0x2ea)]?_0x344850['titleFieldId']:_0x353eea[_0x2eb7c1(0x422)],_0x34686c=_0x344850[_0x2eb7c1(0x54d)]===_0x2eb7c1(0x2b4)||_0x344850[_0x2eb7c1(0x54d)]==='week'?_0x344850[_0x2eb7c1(0x54d)]:_0x2eb7c1(0x5d8),_0x577e01=_0x344850['timeslotSize']===_0x2eb7c1(0x378)||_0x344850[_0x2eb7c1(0x3b2)]==='long'?_0x344850['timeslotSize']:'medium',_0x32ac44=typeof _0x344850['timeZone']==_0x2eb7c1(0x2b6)&&_0x344850[_0x2eb7c1(0x4ea)][_0x2eb7c1(0x2cd)]()?_0x344850['timeZone']:_0x2eb7c1(0x576),_0x4c7e66=this[_0x2eb7c1(0x1c8)](_0x353eea,_0x344850);return{..._0x344850,'startDateFieldId':_0x443eab,'endDateFieldId':_0x1395ac,'titleFieldId':_0x44aa19,'mode':_0x34686c,'timeslotSize':_0x577e01,'timeZone':_0x32ac44,'displayColor':_0x4c7e66,'fieldSettings':Object[_0x2eb7c1(0x1fc)](Object[_0x2eb7c1(0x460)](_0x344850[_0x2eb7c1(0x3ea)]??{})['filter'](([_0x5dafe7])=>{const _0x51f28f=_0x2eb7c1;let _0x10a9aa=_0x353eea[_0x51f28f(0x3c2)][_0x5dafe7];return!!(_0x10a9aa&&_0x10a9aa['system']!==!0x0&&_0x10a9aa[_0x51f28f(0x292)]!==_0x13cf76[_0x51f28f(0x517)][_0x51f28f(0x2ea)]);}))};}[_0x571676(0x327)](_0x11594d,_0x4f7d75){const _0xed5ab8=_0x571676;return _0x4f7d75&&this[_0xed5ab8(0x263)](_0x11594d,_0x4f7d75)?_0x4f7d75:this[_0xed5ab8(0x5a9)](_0x11594d)??_0x4f7d75??'';}[_0x571676(0x5a9)](_0x33c016,_0x1f0266){const _0x241711=_0x571676;for(let _0x3e74fd of _0x33c016[_0x241711(0x582)])if(_0x3e74fd!==_0x1f0266&&this[_0x241711(0x263)](_0x33c016,_0x3e74fd))return _0x3e74fd;return null;}['_isCalendarDateField'](_0x479094,_0x35c934){const _0xf6ae16=_0x571676;let _0x6d8ee5=_0x479094[_0xf6ae16(0x3c2)][_0x35c934];return!!_0x6d8ee5&&_0x6d8ee5[_0xf6ae16(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x6d8ee5[_0xf6ae16(0x59b)]!==!0x0&&_0x6d8ee5['system']!==!0x0&&this['_capabilities'](_0x6d8ee5)[_0xf6ae16(0x35d)];}['_normalizeCalendarDisplayColor'](_0xb37c10,_0x33276f){const _0x5238de=_0x571676;let _0x9e93b4=_0x33276f[_0x5238de(0x2ef)];if((_0x9e93b4==null?void 0x0:_0x9e93b4[_0x5238de(0x292)])===_0x5238de(0x18c)){let _0x477167=_0xb37c10[_0x5238de(0x3c2)][_0x9e93b4['fieldId']];if(_0x477167&&_0x477167[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return _0x9e93b4;}if((_0x9e93b4==null?void 0x0:_0x9e93b4['type'])===_0x5238de(0x5cd)&&typeof _0x9e93b4['color']==_0x5238de(0x2b6)&&_0x9e93b4[_0x5238de(0x393)][_0x5238de(0x2cd)]())return{'type':_0x5238de(0x5cd),'color':_0x9e93b4['color']};if(_0x33276f[_0x5238de(0x2e0)]){let _0x5823dd=_0xb37c10[_0x5238de(0x3c2)][_0x33276f[_0x5238de(0x2e0)]];if(_0x5823dd&&_0x5823dd[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return{'type':_0x5238de(0x18c),'fieldId':_0x33276f['colorFieldId']};}return{'type':_0x5238de(0x5cd),'color':_0x5238de(0x19d)};}[_0x571676(0x1ea)](_0x6d1616,_0x434191,_0x1f444f){const _0x50233d=_0x571676;let _0x56f3af=_0x1f444f[_0x50233d(0x2ef)];if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])===_0x50233d(0x18c)){var _0x4b9f92;let _0xb69bad=_0x6d1616[_0x50233d(0x3c2)][_0x56f3af[_0x50233d(0x384)]];if(!_0xb69bad)return;let _0x272fbd=_0x434191[_0x50233d(0x334)][_0x56f3af[_0x50233d(0x384)]],_0x547f4b=Array[_0x50233d(0x21f)](_0x272fbd)?_0x272fbd[0x0]:_0x272fbd;return _0x547f4b==null||(_0x4b9f92=_0x40d76c(_0xb69bad,String(_0x547f4b)))==null?void 0x0:_0x4b9f92[_0x50233d(0x393)];}if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])==='custom')return _0x56f3af[_0x50233d(0x393)];}[_0x571676(0x27d)](_0xcc4aaa,_0x4a9c41,_0x1beb4e,_0x427bd0){const _0x264941=_0x571676;var _0x5e19eb,_0x24f04f;let _0x7ac527=((_0x5e19eb=_0xcc4aaa[_0x264941(0x5b9)])==null?void 0x0:_0x5e19eb['includeTime'])===!0x0,_0x2a238f=(_0x4a9c41==null||(_0x24f04f=_0x4a9c41['config'])==null?void 0x0:_0x24f04f['includeTime'])===!0x0;return!_0x7ac527&&!_0x2a238f;}['_isAllDayGanttDateRange'](_0x469735,_0x481808){const _0xece81b=_0x571676;var _0x470c5d,_0x25d7bc;let _0xdd66b3=((_0x470c5d=_0x469735['config'])==null?void 0x0:_0x470c5d['includeTime'])===!0x0,_0x3e1edd=((_0x25d7bc=_0x481808['config'])==null?void 0x0:_0x25d7bc[_0xece81b(0x1f3)])===!0x0;return!_0xdd66b3&&!_0x3e1edd;}[_0x571676(0x2f5)](_0x30e6fb,_0x3b265e){const _0x17b630=_0x571676;let _0x10f415=this[_0x17b630(0x57a)](_0x30e6fb,_0x3b265e[_0x17b630(0x5b9)]),_0x1b3384=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x348)]];if(!_0x1b3384||_0x1b3384[_0x17b630(0x292)]!==_0x13cf76[_0x17b630(0x517)][_0x17b630(0x494)]||_0x1b3384[_0x17b630(0x59b)]===!0x0||_0x1b3384[_0x17b630(0x4f8)]===!0x0||!this['_capabilities'](_0x1b3384)[_0x17b630(0x1ce)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)][_0x17b630(0x520)],'reason':'invalidGanttStartField','fieldId':_0x10f415[_0x17b630(0x348)]};let _0x535250=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x282)]];if(!_0x535250||_0x535250['type']!==_0x13cf76['BaseFieldType'][_0x17b630(0x494)]||_0x535250[_0x17b630(0x59b)]===!0x0||_0x535250['system']===!0x0||!this['_capabilities'](_0x535250)[_0x17b630(0x19e)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'reason':_0x17b630(0x5c0),'fieldId':_0x10f415['endDateFieldId']};let _0x53cbee=this[_0x17b630(0x37b)](_0x1b3384,_0x535250),_0x2bab55=this[_0x17b630(0x38a)](_0x30e6fb,_0x3b265e),_0x1d2dd5=_0x2bab55[_0x17b630(0x387)](_0x819c4f=>{const _0x338582=_0x17b630;let _0x573745=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415['startDateFieldId']]),_0x48efa5=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415[_0x338582(0x282)]]);if(!Number[_0x338582(0x195)](_0x573745)||!Number[_0x338582(0x195)](_0x48efa5))return[];let _0x10cbda=Math['min'](_0x573745,_0x48efa5),_0x33eaa8=Math['max'](_0x573745,_0x48efa5),_0x2694b=_0x10f415[_0x338582(0x433)]==null?void 0x0:Number(_0x819c4f['values'][_0x10f415['progressFieldId']]);return[{'recordId':_0x819c4f['recordId'],'title':this[_0x338582(0x1aa)](_0x30e6fb,_0x819c4f,_0x10f415[_0x338582(0x41d)]),'start':_0x10cbda,'end':_0x33eaa8,'color':this[_0x338582(0x3fb)](_0x30e6fb,_0x819c4f,_0x10f415),'progress':Number[_0x338582(0x195)](_0x2694b)?_0x2694b:void 0x0,'workingDayCount':_0x10f415['workingDaysOnly']?_0x571a96(_0x10cbda,_0x33eaa8,_0x10f415['workingDays']):void 0x0,'dependencyRecordIds':this[_0x338582(0x46e)](_0x819c4f['values'][_0x10f415[_0x338582(0x58d)]??''])}];}),_0x3ab98c=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math[_0x17b630(0x5a2)](..._0x1d2dd5[_0x17b630(0x329)](_0x252038=>_0x252038[_0x17b630(0x3aa)]))-0x5a*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()-0x5a*_0xb61d09),_0x37140e=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math['max'](..._0x1d2dd5[_0x17b630(0x329)](_0x513eab=>_0x513eab['end']))+0x5b*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()+0x5b*_0xb61d09),_0x4cc3fe=_0x40c45e(_0x10f415['scale'],_0x3ab98c,_0x37140e,_0x10f415[_0x17b630(0x29c)]?_0x10f415[_0x17b630(0x4fb)]:void 0x0);return{'type':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'fields':this[_0x17b630(0x5cf)](_0x30e6fb,{..._0x3b265e,'config':_0x10f415}),'rows':_0x2bab55,'groups':this[_0x17b630(0x4eb)](_0x30e6fb,_0x3b265e,_0x2bab55),'config':_0x10f415,'dateRangeAllDay':_0x53cbee,'timeline':{'scale':_0x10f415[_0x17b630(0x465)],'start':_0x3ab98c,'end':_0x37140e,'unitWidth':_0x4cc3fe[_0x17b630(0x37d)],'majorHeaders':_0x4cc3fe[_0x17b630(0x5c7)],'columns':_0x4cc3fe[_0x17b630(0x523)]},'bars':_0x1d2dd5};}['_normalizeGanttConfig'](_0x32c5c0,_0x465036){const _0x4cf5e7=_0x571676;let _0x515fe6=this['_resolveGanttDateFieldId'](_0x32c5c0,_0x465036[_0x4cf5e7(0x348)],'start'),_0x14e512=this[_0x4cf5e7(0x426)](_0x32c5c0,_0x465036[_0x4cf5e7(0x282)],_0x4cf5e7(0x5a8))||_0x515fe6,_0x9f6dc9=_0x465036[_0x4cf5e7(0x41d)]?_0x32c5c0[_0x4cf5e7(0x3c2)][_0x465036[_0x4cf5e7(0x41d)]]:void 0x0,_0x8021cf=_0x9f6dc9&&_0x9f6dc9[_0x4cf5e7(0x4f8)]!==!0x0&&_0x9f6dc9['type']!==_0x13cf76[_0x4cf5e7(0x517)]['RecordId']?_0x465036['titleFieldId']:_0x32c5c0['primaryFieldId'],_0x3f59ee=_0x465036['scale']==='week'||_0x465036['scale']===_0x4cf5e7(0x35c)||_0x465036[_0x4cf5e7(0x465)]==='year'?_0x465036[_0x4cf5e7(0x465)]:'month',_0x49c7a5=_0x48adc8(_0x465036['workingDays']);return{..._0x465036,'startDateFieldId':_0x515fe6,'endDateFieldId':_0x14e512,'titleFieldId':_0x8021cf,'scale':_0x3f59ee,'leftPaneWidth':typeof _0x465036[_0x4cf5e7(0x432)]==_0x4cf5e7(0x3dc)?_0x465036[_0x4cf5e7(0x432)]:void 0x0,'leftPaneCollapsed':_0x465036[_0x4cf5e7(0x2d1)]===!0x0,'showTodayLine':_0x465036[_0x4cf5e7(0x50d)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x32c5c0,_0x465036),'fieldSettings':Object[_0x4cf5e7(0x1fc)](Object[_0x4cf5e7(0x460)](_0x465036[_0x4cf5e7(0x3ea)]??{})[_0x4cf5e7(0x3c4)](([_0x536992])=>{const _0x39ae85=_0x4cf5e7;let _0x36efd7=_0x32c5c0[_0x39ae85(0x3c2)][_0x536992];return!!(_0x36efd7&&_0x36efd7['system']!==!0x0&&_0x36efd7[_0x39ae85(0x292)]!==_0x13cf76[_0x39ae85(0x517)][_0x39ae85(0x2ea)]);})),'workingDaysOnly':_0x465036['workingDaysOnly']===!0x0,'workingDays':_0x49c7a5};}[_0x571676(0x426)](_0x4b8382,_0x294a54,_0x5c2f43){const _0x45b936=_0x571676;if(_0x294a54&&this[_0x45b936(0x536)](_0x4b8382,_0x294a54,_0x5c2f43)||_0x294a54)return _0x294a54;for(let _0x64dfe9 of _0x4b8382['fieldOrder'])if(this[_0x45b936(0x536)](_0x4b8382,_0x64dfe9,_0x5c2f43))return _0x64dfe9;return _0x294a54??'';}[_0x571676(0x536)](_0x6d7516,_0x478cec,_0x2b7dea){const _0x54d2af=_0x571676;let _0x454ceb=_0x6d7516[_0x54d2af(0x3c2)][_0x478cec];if(!_0x454ceb||_0x454ceb[_0x54d2af(0x292)]!==_0x13cf76[_0x54d2af(0x517)]['Date']||_0x454ceb[_0x54d2af(0x59b)]===!0x0||_0x454ceb[_0x54d2af(0x4f8)]===!0x0)return!0x1;let _0x4cba80=this[_0x54d2af(0x1d7)](_0x454ceb);return _0x2b7dea===_0x54d2af(0x3aa)?_0x4cba80[_0x54d2af(0x1ce)]:_0x4cba80['usableAsGanttEnd'];}[_0x571676(0x51b)](_0x25c602,_0x359786){const _0x5920af=_0x571676;let _0x816dc5=_0x359786[_0x5920af(0x2ef)];if((_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])===_0x5920af(0x18c)){let _0x595ef3=_0x25c602[_0x5920af(0x3c2)][_0x816dc5[_0x5920af(0x384)]];if(_0x595ef3&&_0x595ef3[_0x5920af(0x292)]===_0x13cf76[_0x5920af(0x517)][_0x5920af(0x221)])return _0x816dc5;}return(_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])==='conditional'&&Array[_0x5920af(0x21f)](_0x816dc5[_0x5920af(0x4a5)])?{'type':_0x5920af(0x4d3),'rules':_0x816dc5[_0x5920af(0x4a5)][_0x5920af(0x3c4)](_0x162f51=>!!_0x25c602[_0x5920af(0x3c2)][_0x162f51[_0x5920af(0x384)]])}:(_0x816dc5==null?void 0x0:_0x816dc5['type'])===_0x5920af(0x5cd)&&typeof _0x816dc5[_0x5920af(0x393)]==_0x5920af(0x2b6)&&_0x816dc5[_0x5920af(0x393)][_0x5920af(0x2cd)]()?{'type':'custom','color':_0x816dc5[_0x5920af(0x393)]}:{'type':'custom','color':_0x5920af(0x1fe)};}[_0x571676(0x3fb)](_0x3035cf,_0x47c6a1,_0xcc2245){const _0x1e8d51=_0x571676;let _0x27e1fe=_0xcc2245[_0x1e8d51(0x2ef)];if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='conditional'){let _0x13124a=_0x27e1fe[_0x1e8d51(0x4a5)][_0x1e8d51(0x56a)](_0x29391d=>this[_0x1e8d51(0x580)](_0x3035cf,_0x47c6a1,_0x29391d));if(_0x13124a)return _0x13124a[_0x1e8d51(0x393)];}if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='selectField'){let _0x1d6f15=_0x3035cf['fields'][_0x27e1fe[_0x1e8d51(0x384)]];if(_0x1d6f15){var _0x3f301f;let _0x3d25da=_0x47c6a1[_0x1e8d51(0x334)][_0x27e1fe[_0x1e8d51(0x384)]],_0x2d484d=Array[_0x1e8d51(0x21f)](_0x3d25da)?_0x3d25da[0x0]:_0x3d25da,_0x1c8593=_0x2d484d==null||(_0x3f301f=_0x40d76c(_0x1d6f15,String(_0x2d484d)))==null?void 0x0:_0x3f301f[_0x1e8d51(0x393)];if(_0x1c8593)return _0x1c8593;}}return(_0x27e1fe==null?void 0x0:_0x27e1fe['type'])===_0x1e8d51(0x5cd)?_0x27e1fe[_0x1e8d51(0x393)]:_0x1e8d51(0x1fe);}['_matchesGanttColorRule'](_0x282983,_0x9ef2b9,_0x881c0b){const _0x2e65e8=_0x571676;let _0x49c065=_0x282983['fields'][_0x881c0b[_0x2e65e8(0x384)]];return _0x49c065?_0x4231b9(_0x9ef2b9[_0x2e65e8(0x334)][_0x49c065['id']],_0x881c0b[_0x2e65e8(0x4a2)],_0x881c0b['operand'],_0x49c065,{'dateMode':_0x881c0b['dateMode']}):!0x1;}[_0x571676(0x3bd)](_0x555f39,_0x24d255){const _0x5b1b6b=_0x571676;let _0x3dc9f8=this[_0x5b1b6b(0x38a)](_0x555f39,_0x24d255),_0x52dc2c=this['_normalizeGalleryConfig'](_0x555f39,_0x24d255[_0x5b1b6b(0x5b9)]??{}),_0x2e27c1=this[_0x5b1b6b(0x5cf)](_0x555f39,_0x24d255);return{'type':_0x13cf76[_0x5b1b6b(0x5ba)]['Gallery'],'fields':_0x2e27c1,'rows':_0x3dc9f8,'groups':this[_0x5b1b6b(0x4eb)](_0x555f39,_0x24d255,_0x3dc9f8),'titleFieldId':_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)],'coverFieldId':_0x52dc2c['coverFieldId'],'cardLayout':_0x52dc2c[_0x5b1b6b(0x528)]??_0x5b1b6b(0x2f6),'showFieldNames':_0x52dc2c[_0x5b1b6b(0x3e8)]!==!0x1,'visibleCardFieldIds':this[_0x5b1b6b(0x1d6)](_0x555f39,_0x24d255,_0x52dc2c),'cardSize':_0x52dc2c[_0x5b1b6b(0x35f)]??_0x5b1b6b(0x532),'cards':_0x3dc9f8['map'](_0x355616=>({'recordId':_0x355616['recordId'],'title':this['_title'](_0x555f39,_0x355616,_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)]),'values':_0x355616[_0x5b1b6b(0x334)]}))};}[_0x571676(0x4f0)](_0x97f510,_0x214126){const _0x4bdf56=_0x571676;let _0x174dc2=_0x214126[_0x4bdf56(0x2ac)]??{'fieldIds':[]},_0x3ea235=this[_0x4bdf56(0x5ab)](_0x97f510,_0x174dc2[_0x4bdf56(0x41d)]),_0x5116c4=this['_resolveGalleryCoverFieldId'](_0x97f510,_0x214126),_0x113f1a=_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x4ac)||_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x3d9)?_0x214126[_0x4bdf56(0x35f)]:'medium';return{..._0x214126,'coverFieldId':_0x5116c4,'cardLayout':_0x214126[_0x4bdf56(0x528)]==='compose'?_0x4bdf56(0x199):_0x4bdf56(0x2f6),'showFieldNames':_0x214126[_0x4bdf56(0x3e8)]!==!0x1,'fieldSettings':Object[_0x4bdf56(0x1fc)](Object[_0x4bdf56(0x460)](_0x214126[_0x4bdf56(0x3ea)]??{})[_0x4bdf56(0x3c4)](([_0x11efab])=>{const _0x3749b0=_0x4bdf56;let _0x45a678=_0x97f510[_0x3749b0(0x3c2)][_0x11efab];return!!(_0x45a678&&_0x45a678['system']!==!0x0&&_0x45a678[_0x3749b0(0x292)]!==_0x13cf76['BaseFieldType'][_0x3749b0(0x2ea)]);})),'card':{..._0x174dc2,'titleFieldId':_0x3ea235,'coverFieldId':_0x5116c4,'fieldIds':Array[_0x4bdf56(0x21f)](_0x174dc2['fieldIds'])?_0x174dc2[_0x4bdf56(0x1bb)]:[]},'cardSize':_0x113f1a};}[_0x571676(0x5ab)](_0x17e30b,_0x76a14f){const _0x7d0245=_0x571676;let _0x27de8f=_0x76a14f?_0x17e30b[_0x7d0245(0x3c2)][_0x76a14f]:void 0x0;return _0x27de8f&&_0x27de8f[_0x7d0245(0x4f8)]!==!0x0&&_0x27de8f[_0x7d0245(0x292)]!==_0x13cf76[_0x7d0245(0x517)][_0x7d0245(0x2ea)]?_0x27de8f['id']:_0x1b61d0(_0x17e30b);}[_0x571676(0x500)](_0x4c60d7,_0x142eb4){const _0x1c11b7=_0x571676;var _0x5a7bfd;let _0xd37287=_0x142eb4[_0x1c11b7(0x36d)]??((_0x5a7bfd=_0x142eb4[_0x1c11b7(0x2ac)])==null?void 0x0:_0x5a7bfd['coverFieldId'])??null;if(!_0xd37287)return null;let _0xb677df=_0x4c60d7[_0x1c11b7(0x3c2)][_0xd37287];return _0xb677df&&this[_0x1c11b7(0x1d7)](_0xb677df)['usableAsCardCover']?_0xb677df['id']:null;}[_0x571676(0x1d6)](_0x378bf3,_0x5a5971,_0x26914b){const _0x12ddf3=_0x571676;var _0x2f4a46,_0x890146,_0x26336d;let _0x433e52=_0x26914b[_0x12ddf3(0x3ea)]??{},_0x4131a9=((_0x2f4a46=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x2f4a46[_0x12ddf3(0x41d)])??_0x1b61d0(_0x378bf3),_0xc5eada=_0x26914b['coverFieldId']??((_0x890146=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x890146[_0x12ddf3(0x36d)])??null,_0x58b696=(_0x26336d=_0x26914b[_0x12ddf3(0x2ac)])!=null&&(_0x26336d=_0x26336d[_0x12ddf3(0x1bb)])!=null&&_0x26336d[_0x12ddf3(0x4e9)]?_0x26914b['card'][_0x12ddf3(0x1bb)]:_0x47953f(_0x378bf3,[_0x4131a9,_0xc5eada,_0x378bf3[_0x12ddf3(0x422)]]);return _0x58b696[_0x12ddf3(0x3c4)](_0x2b8d86=>{const _0x4bffbd=_0x12ddf3;var _0x2251cd,_0xa37f1c;let _0x59d68d=_0x378bf3['fields'][_0x2b8d86];return!(!_0x59d68d||_0x59d68d[_0x4bffbd(0x4f8)]===!0x0||_0x59d68d['type']===_0x13cf76[_0x4bffbd(0x517)][_0x4bffbd(0x2ea)]||_0x59d68d['id']===_0x4131a9||_0x59d68d['id']===_0xc5eada||(_0x2251cd=_0x5a5971[_0x4bffbd(0x3ea)])!=null&&(_0x2251cd=_0x2251cd[_0x2b8d86])!=null&&_0x2251cd[_0x4bffbd(0x3fd)]||(_0xa37f1c=_0x433e52[_0x2b8d86])!=null&&_0xa37f1c[_0x4bffbd(0x3fd)]);})['sort']((_0x575fb9,_0x2fe340)=>{const _0xd2b356=_0x12ddf3;var _0x30dfac,_0x465097;return(((_0x30dfac=_0x433e52[_0x575fb9])==null?void 0x0:_0x30dfac[_0xd2b356(0x1e3)])??_0x58b696[_0xd2b356(0x406)](_0x575fb9))-(((_0x465097=_0x433e52[_0x2fe340])==null?void 0x0:_0x465097[_0xd2b356(0x1e3)])??_0x58b696['indexOf'](_0x2fe340));});}[_0x571676(0x5cf)](_0x1c2ba6,_0x4aa129){const _0x30c07b=_0x571676;var _0x1ccae5;return((_0x1ccae5=_0x4aa129[_0x30c07b(0x582)])!=null&&_0x1ccae5['length']?_0x4aa129[_0x30c07b(0x582)]:_0x1c2ba6[_0x30c07b(0x582)])[_0x30c07b(0x387)](_0x4af927=>{const _0x828181=_0x30c07b;var _0x4cf353;let _0x19635a=_0x1c2ba6['fields'][_0x4af927],_0x381aaf=((_0x4cf353=_0x4aa129[_0x828181(0x3ea)])==null?void 0x0:_0x4cf353[_0x4af927])??{};return!_0x19635a||_0x19635a['system']===!0x0||_0x19635a[_0x828181(0x292)]===_0x13cf76['BaseFieldType'][_0x828181(0x2ea)]||_0x381aaf[_0x828181(0x3fd)]?[]:[{'id':_0x19635a['id'],'name':_0x19635a[_0x828181(0x46d)],'description':_0x19635a[_0x828181(0x234)],'type':_0x19635a[_0x828181(0x292)],'config':_0x19635a[_0x828181(0x5b9)],'width':_0x381aaf[_0x828181(0x1e2)],'setting':_0x381aaf}];});}[_0x571676(0x38a)](_0x44cc91,_0x5003af){const _0x295490=_0x571676;var _0x1c48d1;return _0x32800a(_0x295490(0x1e6),()=>{const _0x46e0ff=_0x295490;var _0x59b62b,_0x5b8485;let _0x3291ac=this[_0x46e0ff(0x181)](_0x44cc91),_0x4989ec=this[_0x46e0ff(0x28a)](_0x44cc91['id'],_0x5003af),_0x578970=this[_0x46e0ff(0x1e5)](_0x44cc91['id']),_0x4aac12=this['_projectedViewRowsCache']['get'](_0x4989ec);if(_0x4aac12&&_0x4aac12[_0x46e0ff(0x22a)]===this[_0x46e0ff(0x3f8)]&&_0x4aac12[_0x46e0ff(0x49d)]===this[_0x46e0ff(0x5e5)](_0x44cc91['id'])){if(_0x4aac12['cellRevision']===_0x578970&&_0x4aac12[_0x46e0ff(0x590)]===_0x3291ac)return _0x4aac12['rows'];if(_0x4aac12[_0x46e0ff(0x51d)]!==_0x578970&&!this['_cellInvalidationsTouchFields'](_0x44cc91['id'],_0x4aac12[_0x46e0ff(0x51d)],_0x578970,this['_filterSortFieldIds'](_0x5003af))){let _0x5d8200=_0x4aac12[_0x46e0ff(0x3f0)]===_0x4aac12[_0x46e0ff(0x590)]?_0x3291ac:this[_0x46e0ff(0x18b)](_0x4aac12[_0x46e0ff(0x3f0)],_0x3291ac);if(_0x5d8200)return this[_0x46e0ff(0x4f4)][_0x46e0ff(0x569)](_0x4989ec,{..._0x4aac12,'rows':_0x5d8200,'baseRows':_0x3291ac,'cellRevision':_0x578970}),_0x5d8200;}}let _0x53364a=_0x32800a(_0x46e0ff(0x2ff),()=>this[_0x46e0ff(0x58c)](_0x44cc91,_0x5003af,this[_0x46e0ff(0x47b)](_0x44cc91,_0x5003af,_0x3291ac)),{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af[_0x46e0ff(0x292)],'rows':_0x3291ac[_0x46e0ff(0x4e9)],'filters':(_0x5003af==null||(_0x59b62b=_0x5003af['filter'])==null?void 0x0:_0x59b62b[_0x46e0ff(0x3af)]['length'])??0x0,'sorts':(_0x5003af==null||(_0x5b8485=_0x5003af[_0x46e0ff(0x4af)])==null?void 0x0:_0x5b8485[_0x46e0ff(0x4e9)])??0x0});return this['_projectedViewRowsCache'][_0x46e0ff(0x569)](_0x4989ec,{'table':_0x44cc91,'rows':_0x53364a,'baseRows':_0x3291ac,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x46e0ff(0x5e5)](_0x44cc91['id']),'cellRevision':_0x578970}),_0x53364a;},{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af['type'],'records':((_0x1c48d1=_0x44cc91['recordOrder'])==null?void 0x0:_0x1c48d1[_0x295490(0x4e9)])??Object['keys'](_0x44cc91[_0x295490(0x38f)]??{})['length']});}[_0x571676(0x181)](_0x3e5863){const _0x4cee81=_0x571676;var _0x558ca1;return _0x32800a('BaseProjection.projectTableRows',()=>{const _0x4869fa=_0x4fc5;var _0x56061e;let _0xc83eee=this['_getCellRevision'](_0x3e5863['id']),_0x41be6e=this[_0x4869fa(0x45c)]['get'](_0x3e5863['id']);if(_0x41be6e&&_0x41be6e[_0x4869fa(0x22a)]===this['_globalRevision']&&_0x41be6e[_0x4869fa(0x49d)]===this[_0x4869fa(0x5e5)](_0x3e5863['id'])){if(_0x41be6e[_0x4869fa(0x51d)]===_0xc83eee&&_0x20446f(_0x41be6e[_0x4869fa(0x4b7)],_0x3e5863))return _0x41be6e['table']=_0x3e5863,_0x41be6e[_0x4869fa(0x3f0)];let _0x83a186=this['_patchProjectedRowsForCellInvalidations'](_0x3e5863,_0x41be6e,_0xc83eee);if(_0x83a186)return _0x83a186;}_0x37f4e9(_0x3e5863)||_0x48b6e1(_0x3e5863);let _0x41415d=(_0x56061e=_0x3e5863['recordOrder'])!=null&&_0x56061e['length']?_0x3e5863[_0x4869fa(0x1cd)]:_0x14359c(_0x3e5863[_0x4869fa(0x38f)]),_0x3732f9=_0x32800a(_0x4869fa(0x5de),()=>{const _0x47f648=_0x4869fa;let _0x12308f=[];for(let _0x2ab8ec of _0x41415d){let _0x3065a4=_0x3e5863[_0x47f648(0x38f)][_0x2ab8ec];if(!_0x3065a4)continue;let _0x22e0d4={};for(let _0x4d6047 of _0x3e5863[_0x47f648(0x582)])_0x22e0d4[_0x4d6047]=_0x5d2adc(_0x3e5863,_0x3065a4['id'],_0x4d6047);_0x12308f[_0x47f648(0x401)]({'recordId':_0x3065a4['id'],'values':_0x22e0d4});}return _0x12308f;},{'tableId':_0x3e5863['id'],'records':_0x41415d[_0x4869fa(0x4e9)],'fields':_0x3e5863['fieldOrder']['length']});return this[_0x4869fa(0x45c)][_0x4869fa(0x569)](_0x3e5863['id'],{'table':_0x3e5863,'rows':_0x3732f9,'rowIndexById':_0x58816a(_0x3732f9),'globalRevision':this[_0x4869fa(0x3f8)],'tableRevision':this[_0x4869fa(0x5e5)](_0x3e5863['id']),'cellRevision':_0xc83eee}),_0x3732f9;},{'tableId':_0x3e5863['id'],'records':((_0x558ca1=_0x3e5863[_0x4cee81(0x1cd)])==null?void 0x0:_0x558ca1[_0x4cee81(0x4e9)])??Object[_0x4cee81(0x2db)](_0x3e5863['records']??{})[_0x4cee81(0x4e9)],'fields':_0x3e5863[_0x4cee81(0x582)]['length']});}[_0x571676(0x47c)](_0x83c833,_0x1ef268,_0x4a32a3){const _0x5674d9=_0x571676;let _0xda5025=(this['_cellInvalidations']['get'](_0x83c833['id'])??[])['filter'](_0x2a272d=>_0x2a272d[_0x5674d9(0x53a)]>_0x1ef268[_0x5674d9(0x51d)]&&_0x2a272d['revision']<=_0x4a32a3);if(!_0xda5025[_0x5674d9(0x4e9)])return _0x1ef268['table']===_0x83c833?_0x1ef268[_0x5674d9(0x3f0)]:null;let _0x299e3d=_0x1ef268[_0x5674d9(0x3f0)],_0x4e323b=new Map();for(let _0x2976d0 of _0xda5025){let _0x4f72ba=_0x4e323b[_0x5674d9(0x59c)](_0x2976d0[_0x5674d9(0x5c4)]);_0x4f72ba||(_0x4f72ba=new Set(),_0x4e323b['set'](_0x2976d0[_0x5674d9(0x5c4)],_0x4f72ba)),_0x4f72ba[_0x5674d9(0x54c)](_0x2976d0['fieldId']);}for(let [_0x38a4c7,_0x3b4320]of _0x4e323b){if(!_0x83c833[_0x5674d9(0x38f)][_0x38a4c7])return null;let _0x553655=_0x1ef268[_0x5674d9(0x361)][_0x5674d9(0x59c)](_0x38a4c7);if(_0x553655==null)return null;_0x299e3d===_0x1ef268[_0x5674d9(0x3f0)]&&(_0x299e3d=[..._0x1ef268[_0x5674d9(0x3f0)]]);let _0x1be559=_0x299e3d[_0x553655],_0x55231e={..._0x1be559[_0x5674d9(0x334)]};_0x3b4320[_0x5674d9(0x3c9)](_0x3cbb2a=>{_0x55231e[_0x3cbb2a]=_0x5d2adc(_0x83c833,_0x38a4c7,_0x3cbb2a);}),_0x299e3d[_0x553655]={..._0x1be559,'values':_0x55231e};}let _0x278d6b={'table':_0x83c833,'rows':_0x299e3d,'rowIndexById':_0x1ef268[_0x5674d9(0x361)],'globalRevision':this[_0x5674d9(0x3f8)],'tableRevision':this[_0x5674d9(0x5e5)](_0x83c833['id']),'cellRevision':_0x4a32a3};return this[_0x5674d9(0x45c)]['set'](_0x83c833['id'],_0x278d6b),this[_0x5674d9(0x43c)][_0x5674d9(0x569)](_0x83c833['id'],(this['_cellInvalidations']['get'](_0x83c833['id'])??[])[_0x5674d9(0x3c4)](_0x54f936=>_0x54f936[_0x5674d9(0x53a)]>Math[_0x5674d9(0x402)](0x0,_0x4a32a3-0x100))),_0x299e3d;}['_patchCachedProjectedRows'](_0x35ebb2,_0x374a89){const _0x16c1eb=_0x571676;let _0x546936=new Map(_0x374a89[_0x16c1eb(0x329)](_0x3bb78f=>[_0x3bb78f[_0x16c1eb(0x5c4)],_0x3bb78f])),_0x2e4252=!0x1,_0x5d429c=_0x35ebb2[_0x16c1eb(0x329)](_0x41ec2c=>{const _0x2fab5c=_0x16c1eb;let _0x1c9563=_0x546936[_0x2fab5c(0x59c)](_0x41ec2c['recordId']);return _0x1c9563?_0x1c9563===_0x41ec2c?_0x41ec2c:(_0x2e4252=!0x0,_0x1c9563):_0x41ec2c;});return _0x2e4252?_0x5d429c:_0x35ebb2;}[_0x571676(0x229)](_0x307c9d,_0x32c673,_0x235132,_0x315585){const _0x3d11af=_0x571676;return!_0x315585[_0x3d11af(0x366)]||_0x32c673===_0x235132?!0x1:_0x235132-_0x32c673>0x100||(this[_0x3d11af(0x43c)][_0x3d11af(0x59c)](_0x307c9d)??[])['some'](_0x1240ec=>_0x1240ec[_0x3d11af(0x53a)]>_0x32c673&&_0x1240ec['revision']<=_0x235132&&_0x315585['has'](_0x1240ec[_0x3d11af(0x384)]));}[_0x571676(0x367)](_0x2b5df2){const _0x552441=_0x571676;var _0x486448,_0x12cd21;let _0x270043=new Set();return _0x2b5df2==null||(_0x486448=_0x2b5df2[_0x552441(0x3c4)])==null||_0x486448['conditions'][_0x552441(0x3c9)](_0x4ae501=>_0x270043[_0x552441(0x54c)](_0x4ae501['fieldId'])),_0x2b5df2==null||(_0x12cd21=_0x2b5df2['sort'])==null||_0x12cd21['forEach'](_0x3ec7a5=>_0x270043[_0x552441(0x54c)](_0x3ec7a5['fieldId'])),_0x270043;}[_0x571676(0x5bd)](_0x2172cf){const _0x139c90=_0x571676;var _0x3e8cc2;let _0x51ecdd=this['_filterSortFieldIds'](_0x2172cf);return(_0x3e8cc2=_0x2172cf['group'])==null||_0x3e8cc2['forEach'](_0x513d9d=>_0x51ecdd[_0x139c90(0x54c)](_0x513d9d[_0x139c90(0x384)])),_0x51ecdd;}['_filterRows'](_0x3b84d8,_0x29372f,_0x4492c9){const _0x564bbe=_0x571676;let _0x598a37=_0x29372f==null?void 0x0:_0x29372f[_0x564bbe(0x3c4)];if(!(_0x598a37!=null&&_0x598a37[_0x564bbe(0x3af)]['length']))return _0x4492c9;let _0x30f21d=_0x598a37[_0x564bbe(0x3af)][_0x564bbe(0x3c4)](_0xea82ab=>!_0x164636(_0xea82ab));return _0x30f21d[_0x564bbe(0x4e9)]?_0x4492c9[_0x564bbe(0x3c4)](_0x4754f0=>{const _0x3406a0=_0x564bbe;if(_0x598a37[_0x3406a0(0x5bc)]===_0x13cf76[_0x3406a0(0x20a)]['OR']){for(let _0x30a466 of _0x30f21d){let _0x4bcf35=_0x3b84d8[_0x3406a0(0x3c2)][_0x30a466['fieldId']];if(!_0x4bcf35||this[_0x3406a0(0x26f)][_0x3406a0(0x59c)](_0x4bcf35[_0x3406a0(0x292)])[_0x3406a0(0x3c4)](_0x4754f0[_0x3406a0(0x334)][_0x4bcf35['id']],_0x30a466[_0x3406a0(0x4a2)],_0x30a466[_0x3406a0(0x417)],_0x4bcf35))return!0x0;}return!0x1;}for(let _0x9b007f of _0x30f21d){let _0x33deaa=_0x3b84d8[_0x3406a0(0x3c2)][_0x9b007f[_0x3406a0(0x384)]];if(_0x33deaa&&!this['_fieldRegistry'][_0x3406a0(0x59c)](_0x33deaa[_0x3406a0(0x292)])['filter'](_0x4754f0[_0x3406a0(0x334)][_0x33deaa['id']],_0x9b007f[_0x3406a0(0x4a2)],_0x9b007f[_0x3406a0(0x417)],_0x33deaa))return!0x1;}return!0x0;}):_0x4492c9;}[_0x571676(0x58c)](_0x445b25,_0x41dd38,_0x638a26){const _0x4779ee=_0x571676;let _0x34217f=(_0x41dd38==null?void 0x0:_0x41dd38[_0x4779ee(0x4af)])??[];if(!_0x34217f[_0x4779ee(0x4e9)])return _0x638a26;let _0x1b610e=_0x34217f['flatMap'](_0x177079=>{const _0x51d2a0=_0x4779ee;let _0x130ab5=_0x445b25['fields'][_0x177079[_0x51d2a0(0x384)]];return _0x130ab5?[{..._0x177079,'field':_0x130ab5}]:[];});return _0x1b610e[_0x4779ee(0x4e9)]?this[_0x4779ee(0x57b)](_0x1b610e)?this[_0x4779ee(0x435)](_0x1b610e,_0x638a26):[..._0x638a26]['sort']((_0x8fb8,_0x47c24d)=>{const _0x96048=_0x4779ee;for(let _0xbc0db9 of _0x1b610e){let _0x739e13=_0xbc0db9[_0x96048(0x407)],_0x4e2afc=this[_0x96048(0x26f)][_0x96048(0x59c)](_0x739e13[_0x96048(0x292)])[_0x96048(0x1e0)](_0x8fb8[_0x96048(0x334)][_0x739e13['id']],_0x47c24d['values'][_0x739e13['id']],_0x739e13);if(_0x4e2afc!==0x0)return _0xbc0db9[_0x96048(0x1c7)]===_0x13cf76[_0x96048(0x3a7)][_0x96048(0x38b)]?-_0x4e2afc:_0x4e2afc;}return 0x0;}):_0x638a26;}[_0x571676(0x57b)](_0x166c6e){const _0x2a37bb=_0x571676;return _0x166c6e[_0x2a37bb(0x5a5)](_0x552d48=>_0x39090b[_0x2a37bb(0x370)](_0x552d48[_0x2a37bb(0x407)][_0x2a37bb(0x292)]));}[_0x571676(0x435)](_0x1c10fb,_0x4a1173){const _0x1f77e3=_0x571676;return _0x4a1173[_0x1f77e3(0x329)]((_0x3f331c,_0x4dc002)=>({'row':_0x3f331c,'index':_0x4dc002,'keys':_0x1c10fb['map'](_0x1254b9=>_0x3f331c[_0x1f77e3(0x334)][_0x1254b9['fieldId']])}))[_0x1f77e3(0x4af)]((_0x3232b2,_0x554c0d)=>{const _0x504d16=_0x1f77e3;for(let _0x48b88a=0x0;_0x48b88a<_0x1c10fb['length'];_0x48b88a++){let _0x470e47=_0x58409e(_0x3232b2[_0x504d16(0x2db)][_0x48b88a],_0x554c0d['keys'][_0x48b88a]);if(_0x470e47!==0x0)return _0x1c10fb[_0x48b88a]['direction']===_0x13cf76[_0x504d16(0x3a7)][_0x504d16(0x38b)]?-_0x470e47:_0x470e47;}return _0x3232b2['index']-_0x554c0d['index'];})['map'](_0xbdab7e=>_0xbdab7e[_0x1f77e3(0x22f)]);}[_0x571676(0x4eb)](_0x26251e,_0x59cd9e,_0x2f5842){const _0x1bc253=_0x571676;var _0x5b8b37;return _0x32800a(_0x1bc253(0x3f1),()=>{const _0x355223=_0x1bc253;var _0x322efa;if(!((_0x322efa=_0x59cd9e[_0x355223(0x42c)])!=null&&_0x322efa[_0x355223(0x4e9)]))return[];let _0x1783b7=_0x59cd9e[_0x355223(0x42c)]['filter'](_0x526202=>_0x26251e[_0x355223(0x3c2)][_0x526202['fieldId']]);if(!_0x1783b7[_0x355223(0x4e9)])return[];let _0x19a542=this[_0x355223(0x201)](_0x26251e['id'],_0x59cd9e,_0x1783b7),_0x3c39f3=this[_0x355223(0x1e5)](_0x26251e['id']),_0x30ccbf=this[_0x355223(0x198)]['get'](_0x19a542);if(_0x30ccbf&&_0x30ccbf['globalRevision']===this[_0x355223(0x3f8)]&&_0x30ccbf[_0x355223(0x49d)]===this[_0x355223(0x5e5)](_0x26251e['id'])){if(_0x30ccbf[_0x355223(0x51d)]===_0x3c39f3&&_0x30ccbf[_0x355223(0x3f0)]===_0x2f5842)return _0x30ccbf['groups'];if(_0x30ccbf[_0x355223(0x51d)]!==_0x3c39f3&&!this['_cellInvalidationsTouchFields'](_0x26251e['id'],_0x30ccbf['cellRevision'],_0x3c39f3,this[_0x355223(0x5bd)](_0x59cd9e)))return this['_projectedGroupsCache'][_0x355223(0x569)](_0x19a542,{..._0x30ccbf,'rows':_0x2f5842,'cellRevision':_0x3c39f3}),_0x30ccbf['groups'];}let _0x308030=new Map();for(let _0x5137b7 of _0x2f5842){let _0x56f6e9=_0x308030,_0x128407='';for(let _0x4b1021=0x0;_0x4b1021<_0x1783b7[_0x355223(0x4e9)];_0x4b1021++){let _0x9548a8=_0x1783b7[_0x4b1021],_0x37bcf8=_0x5137b7['values'][_0x9548a8[_0x355223(0x384)]],_0x22c73a=_0x4eb0e7(_0x37bcf8),_0x4bf283=_0x9548a8['fieldId']+'\x00'+_0x22c73a,_0x14dbb3=_0x128407+'/'+_0x9548a8['fieldId']+':'+_0x22c73a,_0x4d04a1=_0x56f6e9[_0x355223(0x59c)](_0x4bf283);_0x4d04a1||(_0x4d04a1={'key':_0x22c73a,'value':_0x37bcf8,'path':_0x14dbb3,'label':_0x22c73a||_0x355223(0x5d7),'fieldId':_0x9548a8['fieldId'],'level':_0x4b1021,'recordIds':[],'children':new Map()},_0x56f6e9[_0x355223(0x569)](_0x4bf283,_0x4d04a1)),_0x4d04a1[_0x355223(0x2bc)]['push'](_0x5137b7[_0x355223(0x5c4)]),_0x56f6e9=_0x4d04a1[_0x355223(0x2e1)],_0x128407=_0x14dbb3;}}let _0x4ea31a=this[_0x355223(0x20c)](_0x1783b7,_0x308030,0x0);return this[_0x355223(0x198)]['set'](_0x19a542,{'table':_0x26251e,'rows':_0x2f5842,'groups':_0x4ea31a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x355223(0x5e5)](_0x26251e['id']),'cellRevision':_0x3c39f3}),_0x4ea31a;},{'tableId':_0x26251e['id'],'viewId':_0x59cd9e['id'],'viewType':_0x59cd9e[_0x1bc253(0x292)],'rows':_0x2f5842[_0x1bc253(0x4e9)],'groupFields':((_0x5b8b37=_0x59cd9e[_0x1bc253(0x42c)])==null?void 0x0:_0x5b8b37[_0x1bc253(0x4e9)])??0x0});}[_0x571676(0x20c)](_0x259e8d,_0x2c6b95,_0x44bf82){const _0x547290=_0x571676;var _0x3729e7;let _0x3b6c7e=Array[_0x547290(0x2ed)](_0x2c6b95[_0x547290(0x334)]()),_0x3b0a32=(_0x3729e7=_0x259e8d[_0x44bf82])==null?void 0x0:_0x3729e7[_0x547290(0x1c7)];return _0x3b0a32&&_0x3b6c7e[_0x547290(0x4af)]((_0xa194a2,_0x36d578)=>{const _0x4a03fa=_0x547290;let _0x5dafb4=_0xa194a2[_0x4a03fa(0x40c)][_0x4a03fa(0x391)](_0x36d578['key']);return _0x3b0a32===_0x13cf76['BaseSortDirection'][_0x4a03fa(0x38b)]?-_0x5dafb4:_0x5dafb4;}),_0x3b6c7e[_0x547290(0x329)](_0x558033=>({'key':_0x558033[_0x547290(0x40c)],'value':_0x558033[_0x547290(0x315)],'path':_0x558033[_0x547290(0x4cf)],'label':_0x558033['label'],'fieldId':_0x558033[_0x547290(0x384)],'level':_0x558033[_0x547290(0x2ee)],'recordIds':_0x558033['recordIds'],'children':this['_materializeGroups'](_0x259e8d,_0x558033[_0x547290(0x2e1)],_0x44bf82+0x1)}));}['_title'](_0x57d769,_0x177eee,_0x11a865){const _0x645b25=_0x571676;let _0x17eb8e=_0x11a865??_0x57d769[_0x645b25(0x422)],_0x344d3f=_0x177eee[_0x645b25(0x334)][_0x17eb8e];return _0x344d3f==null?'':String(_0x344d3f);}['_recordIds'](_0x533a2f){const _0x2034c1=_0x571676;if(Array[_0x2034c1(0x21f)](_0x533a2f))return _0x533a2f[_0x2034c1(0x329)](String);if(typeof _0x533a2f==_0x2034c1(0x2b6)&&_0x533a2f)return[_0x533a2f];}[_0x571676(0x1d7)](_0x1a8289){const _0x87e221=_0x571676;return this['_fieldRegistry']['get'](_0x1a8289['type'])[_0x87e221(0x552)](_0x1a8289);}};_0x308bae=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x1be8ce))],_0x308bae);function _0x4eb0e7(_0x512b46){return _0x512b46==null?'':String(_0x512b46);}function _0x58816a(_0x16d612){const _0x75cba3=_0x571676;return new Map(_0x16d612[_0x75cba3(0x329)]((_0x5d3285,_0x297f02)=>[_0x5d3285[_0x75cba3(0x5c4)],_0x297f02]));}function _0x37f4e9(_0x4ecaf9){const _0x13faea=_0x571676;return!!(Array[_0x13faea(0x21f)](_0x4ecaf9[_0x13faea(0x1cd)])&&_0x4ecaf9[_0x13faea(0x563)]&&_0x4ecaf9[_0x13faea(0x556)]&&_0x4ecaf9[_0x13faea(0x28e)]&&_0x4ecaf9[_0x13faea(0x351)]&&_0x4ecaf9[_0x13faea(0x38e)]);}function _0x394f5b(_0x165072){const _0x1dc567=_0x571676;let _0x1bdb56=(_0x165072==null?void 0x0:_0x165072['conditions'][_0x1dc567(0x3c4)](_0x31c20b=>!_0x164636(_0x31c20b)))??[];return!_0x165072||!_0x1bdb56['length']?null:{'conjunction':_0x165072[_0x1dc567(0x5bc)],'conditions':_0x1bdb56[_0x1dc567(0x329)](_0x33222b=>({'fieldId':_0x33222b[_0x1dc567(0x384)],'operator':_0x33222b[_0x1dc567(0x4a2)],'operand':_0x33222b[_0x1dc567(0x417)]}))};}function _0x20446f(_0x2e0743,_0x302cf1){const _0x3dd9ca=_0x571676;return _0x2e0743[_0x3dd9ca(0x38f)]===_0x302cf1['records']&&_0x2e0743['recordOrder']===_0x302cf1[_0x3dd9ca(0x1cd)]&&_0x2e0743['fields']===_0x302cf1['fields']&&_0x2e0743[_0x3dd9ca(0x582)]===_0x302cf1[_0x3dd9ca(0x582)]&&_0x2e0743[_0x3dd9ca(0x38e)]===_0x302cf1[_0x3dd9ca(0x38e)]&&_0x2e0743[_0x3dd9ca(0x563)]===_0x302cf1[_0x3dd9ca(0x563)]&&_0x2e0743[_0x3dd9ca(0x556)]===_0x302cf1['rowId']&&_0x2e0743[_0x3dd9ca(0x28e)]===_0x302cf1['colIndex']&&_0x2e0743[_0x3dd9ca(0x351)]===_0x302cf1[_0x3dd9ca(0x351)];}function _0x42c04c(_0x4cb256){const _0x380882=_0x571676;return _0x4cb256!=null&&_0x4cb256[_0x380882(0x4e9)]?_0x4cb256['map'](_0x550ccd=>({'fieldId':_0x550ccd['fieldId'],'direction':_0x550ccd[_0x380882(0x1c7)]})):null;}function _0x59f21e(_0x5da612){const _0x51800f=_0x571676;if(typeof _0x5da612!=_0x51800f(0x1a7)||!_0x5da612)return JSON['stringify'](_0x5da612)??_0x51800f(0x306);if(Array[_0x51800f(0x21f)](_0x5da612))return'['+_0x5da612['map'](_0x59f21e)['join'](',')+']';let _0x26b8d3=_0x5da612;return'{'+Object[_0x51800f(0x2db)](_0x26b8d3)[_0x51800f(0x4af)]()[_0x51800f(0x329)](_0x2b88cf=>JSON[_0x51800f(0x30d)](_0x2b88cf)+':'+_0x59f21e(_0x26b8d3[_0x2b88cf]))['join'](',')+'}';}function _0x14359c(_0x2caeac){const _0x326baa=_0x571676;let _0x4951d1=Object[_0x326baa(0x334)](_0x2caeac)['sort']((_0x3aca00,_0x1bb2bb)=>_0x3aca00[_0x326baa(0x34c)][_0x326baa(0x391)](_0x1bb2bb[_0x326baa(0x34c)])),_0x491785=[];for(let _0x25a75c of _0x4951d1)_0x491785['push'](_0x25a75c['id']);return _0x491785;}function _0x48adc8(_0xb5cc33){const _0x4b0236=_0x571676;return{'weekdays':Array[_0x4b0236(0x21f)](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x578)])&&_0xb5cc33[_0x4b0236(0x578)][_0x4b0236(0x4e9)]?[...new Set(_0xb5cc33['weekdays'][_0x4b0236(0x3c4)](_0x18e51d=>Number['isInteger'](_0x18e51d)&&_0x18e51d>=0x1&&_0x18e51d<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x324)])?_0xb5cc33['exceptions'][_0x4b0236(0x387)](_0x362578=>!_0x362578||!Number['isFinite'](_0x362578['date'])?[]:[{'id':String(_0x362578['id']||'exception-'+_0x362578['date']),'date':_0x24cf45(Number(_0x362578['date'])),'name':String(_0x362578[_0x4b0236(0x46d)]||_0x4b0236(0x290)),'type':_0x362578[_0x4b0236(0x292)]===_0x4b0236(0x231)?_0x4b0236(0x231):_0x4b0236(0x2fa)}]):[]};}function _0x40c45e(_0x5501ac,_0x4ecc13,_0x85986d,_0x1971c4){let _0x1f79bc=_0x1f01b6(_0x5501ac,_0x4ecc13),_0x43628d=_0x4f0328(_0x5501ac,_0x85986d),_0x3d5558=_0x1726df(_0x5501ac,_0x1f79bc,_0x43628d,_0x1971c4);return{'scale':_0x5501ac,'start':_0x1f79bc,'end':_0x43628d,'unitWidth':_0x48ebd2(_0x5501ac),'majorHeaders':_0x2c8675(_0x5501ac,_0x1f79bc,_0x43628d),'columns':_0x3d5558};}function _0x1726df(_0x261b0c,_0x49c4aa,_0x3e1bfa,_0x39d23c){const _0x4833b6=_0x571676;let _0x51a847=[],_0x288a30=_0x49c4aa;for(;_0x288a30<_0x3e1bfa;){let _0x2e28ec=_0x261b0c===_0x4833b6(0x35c)?_0x52be1a(_0x288a30,0x7):_0x261b0c===_0x4833b6(0x271)?_0x5b7e4c(_0x288a30,0x1):_0x52be1a(_0x288a30,0x1);_0x51a847[_0x4833b6(0x401)]({'id':_0x261b0c+'-'+_0x288a30,'label':_0x45c188(_0x261b0c,_0x288a30,_0x2e28ec),'majorLabel':_0x1eee6f(_0x261b0c,_0x288a30),'start':_0x288a30,'end':_0x2e28ec,'nonWorking':_0x5c58f7(_0x288a30,_0x2e28ec,_0x39d23c)}),_0x288a30=_0x2e28ec;}return _0x51a847;}function _0x2c8675(_0x269eb2,_0x3d3c75,_0x51ab77){const _0x503890=_0x571676;let _0x37b540=[],_0x190dbd=_0x269eb2==='year'?_0x54089f(_0x3d3c75):_0x44f328(_0x3d3c75);for(;_0x190dbd<_0x51ab77;){let _0x240cf3=_0x269eb2==='year'?_0x21c6fb(_0x190dbd,0x1):_0x5b7e4c(_0x190dbd,0x1);_0x37b540[_0x503890(0x401)]({'id':_0x503890(0x3cc)+_0x190dbd,'label':_0x269eb2===_0x503890(0x271)?String(new Date(_0x190dbd)[_0x503890(0x2eb)]()):_0x40375a(_0x190dbd),'start':_0x190dbd,'end':_0x240cf3}),_0x190dbd=_0x240cf3;}return _0x37b540;}function _0x48ebd2(_0x423fdf){const _0x287cb5=_0x571676;switch(_0x423fdf){case _0x287cb5(0x3a2):return 0xac;case _0x287cb5(0x35c):return 0xac;case _0x287cb5(0x271):return 0x88;default:return 0x56;}}function _0x1f01b6(_0x101336,_0x5550a1){const _0x2ce160=_0x571676;return _0x101336==='year'?_0x54089f(_0x5550a1):_0x101336===_0x2ce160(0x35c)?_0x174d10(_0x5550a1):_0x24cf45(_0x5550a1);}function _0x4f0328(_0x54580c,_0x5484d4){const _0x11a722=_0x571676;return _0x54580c===_0x11a722(0x271)?_0x21c6fb(_0x54089f(_0x5484d4),0x1):_0x54580c==='quarter'?_0x52be1a(_0x174d10(_0x5484d4),0x7):_0x52be1a(_0x24cf45(_0x5484d4),0x1);}function _0x45c188(_0x4630e3,_0x10aa8e,_0x459041){const _0xbb9286=_0x571676;let _0x238dc=new Date(_0x10aa8e);return _0x4630e3===_0xbb9286(0x35c)?_0x238dc[_0xbb9286(0x284)]()+'-'+new Date(_0x459041-_0xb61d09)[_0xbb9286(0x284)]():_0x4630e3==='year'?_0x238dc[_0xbb9286(0x506)]('en-US',{'month':_0xbb9286(0x378),'timeZone':'UTC'}):String(_0x238dc[_0xbb9286(0x284)]());}function _0x1eee6f(_0x553986,_0x2113c2){const _0x5dacc6=_0x571676;return _0x553986===_0x5dacc6(0x271)?String(new Date(_0x2113c2)['getUTCFullYear']()):_0x40375a(_0x2113c2);}function _0x571a96(_0xae301a,_0x3ffbb0,_0x5bea84){let _0x50874a=_0x48adc8(_0x5bea84),_0x466572=0x0;for(let _0x590e87=_0x24cf45(_0xae301a);_0x590e87<=_0x24cf45(_0x3ffbb0);_0x590e87=_0x52be1a(_0x590e87,0x1))_0x1c49a4(_0x590e87,_0x50874a)||_0x466572++;return _0x466572;}function _0x5c58f7(_0x5c7a2a,_0x222a8e,_0x5ef767){if(!_0x5ef767)return!0x1;let _0x312ad5=_0x48adc8(_0x5ef767);for(let _0xf0e13d=_0x24cf45(_0x5c7a2a);_0xf0e13d<_0x222a8e;_0xf0e13d=_0x52be1a(_0xf0e13d,0x1))if(!_0x1c49a4(_0xf0e13d,_0x312ad5))return!0x1;return!0x0;}function _0x1c49a4(_0x5c5db3,_0x4b5dc0){const _0x2f2f5e=_0x571676;let _0x17e80e=_0x24cf45(_0x5c5db3),_0x4765ad=_0x4b5dc0[_0x2f2f5e(0x324)][_0x2f2f5e(0x56a)](_0x5e2a87=>_0x24cf45(_0x5e2a87[_0x2f2f5e(0x44b)])===_0x17e80e);if(_0x4765ad)return _0x4765ad[_0x2f2f5e(0x292)]===_0x2f2f5e(0x2fa);let _0x38b6a1=new Date(_0x17e80e)[_0x2f2f5e(0x1de)](),_0x2bc579=_0x38b6a1===0x0?0x7:_0x38b6a1;return!_0x4b5dc0[_0x2f2f5e(0x578)][_0x2f2f5e(0x358)](_0x2bc579);}function _0x24cf45(_0x382a52){const _0x5c4da4=_0x571676;let _0x29f503=new Date(_0x382a52);return Date[_0x5c4da4(0x205)](_0x29f503[_0x5c4da4(0x2eb)](),_0x29f503[_0x5c4da4(0x3de)](),_0x29f503[_0x5c4da4(0x284)]());}function _0x174d10(_0x1ab03e){const _0x57ca9d=_0x571676;let _0x354848=_0x24cf45(_0x1ab03e),_0x46e5e9=new Date(_0x354848)[_0x57ca9d(0x1de)]();return _0x52be1a(_0x354848,-(_0x46e5e9===0x0?0x6:_0x46e5e9-0x1));}function _0x44f328(_0x59b0a5){const _0xd278ac=_0x571676;let _0x4748f0=new Date(_0x59b0a5);return Date[_0xd278ac(0x205)](_0x4748f0['getUTCFullYear'](),_0x4748f0[_0xd278ac(0x3de)](),0x1);}function _0x54089f(_0x5cea23){const _0x1bd7c8=_0x571676;let _0x43dbdb=new Date(_0x5cea23);return Date[_0x1bd7c8(0x205)](_0x43dbdb[_0x1bd7c8(0x2eb)](),0x0,0x1);}function _0x52be1a(_0x16a6eb,_0x4630f4){return _0x16a6eb+_0x4630f4*_0xb61d09;}function _0x5b7e4c(_0x5c5674,_0x5f2d77){const _0x3b318c=_0x571676;let _0x34f758=new Date(_0x5c5674);return Date['UTC'](_0x34f758['getUTCFullYear'](),_0x34f758[_0x3b318c(0x3de)]()+_0x5f2d77,0x1);}function _0x21c6fb(_0x5f221a,_0x225410){const _0x3cc93d=_0x571676;let _0x1d1ff2=new Date(_0x5f221a);return Date['UTC'](_0x1d1ff2[_0x3cc93d(0x2eb)]()+_0x225410,0x0,0x1);}function _0x40375a(_0x153b00){const _0x6005bc=_0x571676;let _0x2b95ca=new Date(_0x153b00);return _0x2b95ca['toLocaleString'](_0x6005bc(0x1b9),{'month':_0x6005bc(0x378),'timeZone':'UTC'})+'\x20'+_0x2b95ca[_0x6005bc(0x2eb)]();}function _0x58409e(_0x637d43,_0x1c2f7c){const _0x5b1d=_0x571676;if(_0x637d43==null&&_0x1c2f7c==null)return 0x0;if(_0x637d43==null)return-0x1;if(_0x1c2f7c==null)return 0x1;if(typeof _0x637d43=='boolean'||typeof _0x1c2f7c==_0x5b1d(0x42a))return Number(_0x637d43===!0x0)-Number(_0x1c2f7c===!0x0);let _0x37ecba=Number(_0x637d43),_0x52bcf1=Number(_0x1c2f7c),_0x3873c9=Number[_0x5b1d(0x195)](_0x37ecba),_0x1b4d30=Number[_0x5b1d(0x195)](_0x52bcf1);return _0x3873c9&&_0x1b4d30?_0x37ecba-_0x52bcf1:_0x3873c9?0x1:_0x1b4d30?-0x1:String(_0x637d43)['localeCompare'](String(_0x1c2f7c));}function _0x164636(_0x17db4e){const _0xcb14e6=_0x571676;if(_0x17db4e['operator']!=='is'&&_0x17db4e[_0xcb14e6(0x4a2)]!==_0xcb14e6(0x3f5))return!0x1;let _0x68ff84=_0x17db4e[_0xcb14e6(0x417)];return _0x68ff84==null?!0x0:typeof _0x68ff84==_0xcb14e6(0x2b6)?_0x68ff84[_0xcb14e6(0x2cd)]()==='':Array[_0xcb14e6(0x21f)](_0x68ff84)?_0x68ff84[_0xcb14e6(0x4e9)]===0x0:!0x1;}function _0x40d76c(_0x57d124,_0x1d2f84){const _0x14c763=_0x571676;var _0x18ee7a;let _0x3d1135=Array['isArray']((_0x18ee7a=_0x57d124['config'])==null?void 0x0:_0x18ee7a[_0x14c763(0x386)])?_0x57d124[_0x14c763(0x5b9)][_0x14c763(0x386)]:[];for(let _0x1eb3e0 of _0x3d1135){if(_0x1eb3e0==null)continue;if(typeof _0x1eb3e0==_0x14c763(0x2b6)){if(_0x1eb3e0===_0x1d2f84)return{'id':_0x1eb3e0,'name':_0x1eb3e0};continue;}let _0x482fb6=_0x1eb3e0,_0x6e087c=String(_0x482fb6['id']??_0x482fb6['name']??''),_0x39909a=String(_0x482fb6['name']??_0x482fb6['id']??_0x6e087c);if(_0x6e087c===_0x1d2f84||_0x39909a===_0x1d2f84)return{'id':_0x6e087c,'name':_0x39909a,'color':_0x482fb6[_0x14c763(0x393)]==null?void 0x0:String(_0x482fb6[_0x14c763(0x393)])};}return null;}let _0x3996a0=function(_0x43a007){const _0x157582=_0x571676;return _0x43a007['CreateView']='create-view',_0x43a007[_0x157582(0x436)]=_0x157582(0x3c3),_0x43a007;}({}),_0x4d02c8={'id':_0x571676(0x441),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler'(_0x5dd486,_0x511eb5){const _0x13338b=_0x571676;let {unitId:_0x6c3c5,op:_0x33026b}=_0x511eb5,_0x42e5c8=_0x5dd486['get'](_0x13cf76['IUniverInstanceService'])['getUnit'](_0x6c3c5,_0x13cf76['UniverInstanceType'][_0x13338b(0x321)]);if(!_0x42e5c8)return!0x1;let _0x1b7191=_0x42e5c8[_0x13338b(0x463)](),_0x471cd3=new _0x1aaf1b(),_0x2ff03c=_0x471cd3[_0x13338b(0x491)](_0x33026b),_0x4f940a=_0x471cd3[_0x13338b(0x4d8)](_0x1b7191,_0x33026b);return _0x42e5c8['setSnapshot'](_0x4f940a),_0x2b3ca7(_0x4f940a,_0x2ff03c,_0x5dd486['get'](_0x5c11cd)),!0x0;}};function _0x2b3ca7(_0x57d65b,_0x455166,_0x4b7483){const _0x42949d=_0x571676;let _0x241782=new Set(),_0x31e5ed=new Set(),_0x31a52a=new Set();for(let _0x1cbd81 of _0x455166){if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x197)&&_0x1cbd81['tableId']&&_0x1cbd81[_0x42949d(0x1ca)]){let _0x474e56=_0x1cbd81[_0x42949d(0x33f)]+'\x00'+_0x1cbd81['viewId'];_0x31a52a[_0x42949d(0x370)](_0x474e56)||(_0x31a52a[_0x42949d(0x54c)](_0x474e56),_0x4b7483['invalidateByView'](_0x1cbd81[_0x42949d(0x33f)],_0x1cbd81[_0x42949d(0x1ca)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x407)&&_0x1cbd81[_0x42949d(0x33f)]&&_0x1cbd81[_0x42949d(0x384)]){let _0x47d7f6=_0x1cbd81['tableId']+'\x00'+_0x1cbd81['fieldId'];_0x31e5ed['has'](_0x47d7f6)||(_0x31e5ed['add'](_0x47d7f6),_0x4b7483[_0x42949d(0x404)](_0x1cbd81['tableId'],_0x1cbd81[_0x42949d(0x384)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]!=='cell'){_0x4b7483['invalidateByOp']();return;}let _0x2a77d3=_0x24abd7(_0x57d65b,_0x1cbd81);if(!_0x2a77d3){_0x4b7483['invalidateByOp']();return;}let _0x33b01e=_0x2a77d3[_0x42949d(0x33f)]+'\x00'+_0x2a77d3[_0x42949d(0x5c4)]+'\x00'+_0x2a77d3[_0x42949d(0x384)];_0x241782[_0x42949d(0x370)](_0x33b01e)||(_0x241782[_0x42949d(0x54c)](_0x33b01e),_0x4b7483[_0x42949d(0x4bb)](_0x2a77d3[_0x42949d(0x33f)],_0x2a77d3[_0x42949d(0x5c4)],_0x2a77d3[_0x42949d(0x384)]));}}function _0x24abd7(_0x59a496,_0x315318){const _0x2aba3d=_0x571676;var _0x3f1bb7,_0x363a8b;if(!_0x315318[_0x2aba3d(0x33f)])return null;if(_0x315318[_0x2aba3d(0x5c4)]&&_0x315318[_0x2aba3d(0x384)])return{'tableId':_0x315318['tableId'],'recordId':_0x315318[_0x2aba3d(0x5c4)],'fieldId':_0x315318[_0x2aba3d(0x384)]};if(_0x315318[_0x2aba3d(0x22f)]==null||_0x315318['column']==null)return null;let _0x13e49a=_0x59a496['tables'][_0x315318['tableId']],_0x483480=_0x13e49a==null||(_0x3f1bb7=_0x13e49a[_0x2aba3d(0x556)])==null?void 0x0:_0x3f1bb7[_0x315318[_0x2aba3d(0x22f)]],_0x667fd0=_0x13e49a==null||(_0x363a8b=_0x13e49a[_0x2aba3d(0x351)])==null?void 0x0:_0x363a8b[_0x315318['column']];return!_0x483480||!_0x667fd0?null:{'tableId':_0x315318[_0x2aba3d(0x33f)],'recordId':_0x483480,'fieldId':_0x667fd0};}let _0x45b75c=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2b4618=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x3ceab1=/\{([^}]+)\}/g,_0x29e3da=_0x13cf76['regexp'][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x2aff18=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1b821a=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0xb32c83=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x5dabb9=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x48d5ed=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x3bb03f=class{[_0x571676(0x374)](_0x5350ca,_0x464f5c=_0x5350ca['id']){const _0x2b1056=_0x571676;var _0x1db0c7;let _0x3942f2=((_0x1db0c7=_0x5350ca[_0x2b1056(0x1cd)])==null?void 0x0:_0x1db0c7[_0x2b1056(0x4e9)])??Object[_0x2b1056(0x334)](_0x5350ca[_0x2b1056(0x38f)])[_0x2b1056(0x4e9)];return{'sheetId':_0x464f5c,'titleMap':new Map(_0x5350ca[_0x2b1056(0x582)]['map']((_0x185296,_0x4d3f79)=>{const _0xb8ebb3=_0x2b1056;var _0x187e11;return[((_0x187e11=_0x5350ca[_0xb8ebb3(0x3c2)][_0x185296])==null?void 0x0:_0x187e11[_0xb8ebb3(0x46d)])??_0x185296,_0x4d3f79];})),'range':{'startRow':0x0,'endRow':Math[_0x2b1056(0x402)](0x0,_0x3942f2-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x5350ca[_0x2b1056(0x582)][_0x2b1056(0x4e9)]-0x1)},'showHeader':!0x1};}[_0x571676(0x48d)](_0x49614b,_0x4f65ef){const _0x3e18d5=_0x571676;let _0x15f52c=[],_0x2827b7=_0x4f65ef?new Set(_0x4f65ef):null,_0x3d9917=(0x0,_0x13cf76[_0x3e18d5(0x3a1)])(_0x49614b);return Object[_0x3e18d5(0x334)](_0x49614b[_0x3e18d5(0x291)])[_0x3e18d5(0x3c4)](_0x2a55b9=>!_0x2827b7||_0x2827b7[_0x3e18d5(0x370)](_0x2a55b9['id']))['forEach'](_0x167fca=>{const _0x294365=_0x3e18d5;let _0x2c7e33=this[_0x294365(0x374)](_0x167fca,_0x167fca['id']);_0x15f52c['push']({'tableId':_0x167fca['id'],'tableName':_0x3d9917[_0x294365(0x59c)](_0x167fca['id']),'reference':_0x2c7e33});}),_0x15f52c;}['validateFormula'](_0x46cee5,_0x503c9d,_0x499d5f={}){const _0x18aae4=_0x571676;let _0x1ab279=_0x46cee5[_0x18aae4(0x2cd)]();if(!_0x1ab279)return{'valid':!0x0};if(_0x423701(_0x1ab279))return{'valid':!0x1,'reason':_0x18aae4(0x454)};let _0x4370e5=_0x499d5f[_0x18aae4(0x4cb)]?(0x0,_0x13cf76[_0x18aae4(0x3a1)])(_0x499d5f[_0x18aae4(0x4cb)]):void 0x0;for(let _0x389e4d of _0x1c6846(_0x1ab279)){let _0x39114a=_0x459058(_0x389e4d,_0x503c9d,_0x499d5f[_0x18aae4(0x4cb)],_0x4370e5);if(!_0x39114a[_0x18aae4(0x4b7)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x389e4d[_0x18aae4(0x51f)]+_0x18aae4(0x20e)};if(!_0x39114a['field'])return{'valid':!0x1,'reason':_0x18aae4(0x4e3)+_0x389e4d[_0x18aae4(0x524)]+_0x18aae4(0x2ec)};}return{'valid':!0x0};}[_0x571676(0x57d)](_0x4b015e,_0x47b03f,_0x21bd96={}){const _0x1d829e=_0x571676;let _0x44501a=new Set();for(let _0x93ff76 of this[_0x1d829e(0x3eb)](_0x4b015e,_0x47b03f,_0x21bd96))_0x93ff76[_0x1d829e(0x33f)]===_0x47b03f['id']&&_0x44501a['add'](_0x93ff76[_0x1d829e(0x384)]);return Array[_0x1d829e(0x2ed)](_0x44501a);}[_0x571676(0x3eb)](_0x2f87dc,_0x554438,_0x1861ad={}){const _0x3ff824=_0x571676;let _0x409cc7=new Map(),_0x3d804c=_0x1861ad[_0x3ff824(0x4cb)]?(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x1861ad[_0x3ff824(0x4cb)]):void 0x0;for(let _0x58efa8 of _0x1c6846(_0x2f87dc)){let _0x39dcd8=_0x459058(_0x58efa8,_0x554438,_0x1861ad[_0x3ff824(0x4cb)],_0x3d804c);if(!_0x39dcd8[_0x3ff824(0x4b7)]||!_0x39dcd8['field'])continue;let _0x2c4bcc=_0x39dcd8['table']['id']+'\x1f'+_0x39dcd8[_0x3ff824(0x407)]['id'];_0x409cc7[_0x3ff824(0x569)](_0x2c4bcc,{'tableId':_0x39dcd8['table']['id'],'fieldId':_0x39dcd8[_0x3ff824(0x407)]['id']});}return Array[_0x3ff824(0x2ed)](_0x409cc7[_0x3ff824(0x334)]());}};function _0x182f9d(_0x34115e,_0x5e6a99){const _0x452f41=_0x571676;var _0x216a6b;let _0x26059f=[],_0x2da268=(_0x216a6b=_0x5e6a99[_0x452f41(0x225)])==null?void 0x0:_0x216a6b[_0x34115e['id']];return _0x2da268&&Object[_0x452f41(0x460)](_0x2da268)['forEach'](([_0x3c8c32,_0x314cde])=>{const _0xc21ae2=_0x452f41;let _0x50c025=_0x34115e[_0xc21ae2(0x291)][_0x3c8c32];if(!_0x50c025||!_0x314cde)return;let _0x55961c=_0x48b6e1(_0x50c025),_0x25f5be=[];new _0x13cf76[(_0xc21ae2(0x53f))](_0x314cde)['forValue']((_0x1924a6,_0x104cd5,_0x49436f)=>{const _0x1beef4=_0xc21ae2;let _0x207415=_0xd9f9c9(_0x55961c,_0x1924a6,_0x104cd5,_0x49436f);_0x207415&&_0x25f5be[_0x1beef4(0x401)](_0x207415);}),_0x25f5be[_0xc21ae2(0x4e9)]&&_0x26059f[_0xc21ae2(0x401)]({'unitId':_0x34115e['id'],'tableId':_0x3c8c32,'patches':_0x25f5be});}),_0x26059f;}function _0xd9f9c9(_0x5a8ceb,_0x1b3dd2,_0x3417bb,_0x31b286){const _0x20fdec=_0x571676;var _0x397e28,_0x2d0149,_0x390a44;let _0x2e691d=(_0x397e28=_0x5a8ceb['rowId'])==null?void 0x0:_0x397e28[_0x1b3dd2],_0x1bd4d1=(_0x2d0149=_0x5a8ceb['colId'])==null?void 0x0:_0x2d0149[_0x3417bb];if(!_0x2e691d||!_0x5a8ceb[_0x20fdec(0x38f)][_0x2e691d]||!_0x1bd4d1)return null;let _0x40d189=_0x5a8ceb[_0x20fdec(0x3c2)][_0x1bd4d1];if(!_0x40d189||_0x40d189[_0x20fdec(0x292)]!==_0x20fdec(0x2b7))return null;let _0x32c0d5=String(((_0x390a44=_0x40d189[_0x20fdec(0x5b9)])==null?void 0x0:_0x390a44[_0x20fdec(0x2b7)])??'')['trim'](),_0x59742b=(_0x31b286==null?void 0x0:_0x31b286['v'])??null,_0xb607ad={'v':_0x59742b,'t':_0x184c18(_0x59742b),..._0x1b3dd2===0x0&&_0x32c0d5?{'f':_0x32c0d5}:{},'si':_0x40d189['id']};return _0xdaba56(_0x5acb7f(_0x5a8ceb,_0x2e691d,_0x1bd4d1),_0xb607ad)?null:{'row':_0x1b3dd2,'col':_0x3417bb,'value':_0xb607ad};}function _0xdaba56(_0x505e86,_0x3ebc2f){return _0x505e86!=null&&Object['is'](_0x505e86['v']??null,_0x3ebc2f['v']??null)&&_0x505e86['t']===_0x3ebc2f['t']&&_0x505e86['f']===_0x3ebc2f['f']&&_0x505e86['si']===_0x3ebc2f['si'];}function _0x184c18(_0x15ba0d){const _0x41bbdc=_0x571676;return typeof _0x15ba0d==_0x41bbdc(0x3dc)?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x1f1)]:typeof _0x15ba0d==_0x41bbdc(0x42a)?_0x13cf76['CellValueType'][_0x41bbdc(0x228)]:typeof _0x15ba0d=='string'?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x562)]:null;}function _0x1c6846(_0x15c1e1){const _0x220d08=_0x571676;let _0x2de31a=_0x29b9b8(_0x15c1e1,()=>''),_0x1bddf8=new Map(),_0x4e29b1=_0x26db4b=>{const _0x28067e=_0x4fc5;_0x1bddf8[_0x28067e(0x569)]((_0x26db4b[_0x28067e(0x51f)]??'')+'\x1f'+_0x26db4b['fieldName'],_0x26db4b);};for(let _0x3c909b of _0x2de31a[_0x220d08(0x44e)](_0x3ceab1))_0x4e29b1({'fieldName':_0x3c909b[0x1],'scope':_0x220d08(0x49a)});_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x29e3da,(_0x317df0,_0x4274af,_0x2f7750,_0x49168e)=>(_0x4e29b1({'tableName':_0x4274af,'fieldName':_0x49168e,'scope':_0x2f7750[_0x220d08(0x2b0)]()==='data'?_0x220d08(0x54f):_0x220d08(0x49a)}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x2aff18,(_0xecb889,_0x456a29,_0x1cb347)=>(_0x4e29b1({'tableName':_0x456a29,'fieldName':_0x1cb347,'scope':'this-row'}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0xb32c83,(_0x23c06b,_0x3ca620,_0xcd2404,_0x49516d)=>(_0x4e29b1({'fieldName':_0x49516d,'scope':_0xcd2404['toLowerCase']()===_0x220d08(0x54f)?_0x220d08(0x54f):_0x220d08(0x49a)}),_0x3ca620+'\x20')),_0x2de31a=_0x2de31a['replace'](_0x5dabb9,(_0x393ef5,_0x3663ca,_0x35cdd2)=>(_0x4e29b1({'fieldName':_0x35cdd2,'scope':_0x220d08(0x49a)}),_0x3663ca+'\x20'));for(let _0x49ba71 of _0x2de31a['matchAll'](_0x1b821a))_0x4e29b1({'tableName':_0x49ba71[0x1],'fieldName':_0x49ba71[0x2]});for(let _0xdca5b3 of _0x2de31a['matchAll'](_0x48d5ed))_0x4e29b1({'fieldName':_0xdca5b3[0x2],'scope':_0x220d08(0x49a)});return Array[_0x220d08(0x2ed)](_0x1bddf8[_0x220d08(0x334)]());}function _0x423701(_0x4347f8){const _0x395ec6=_0x571676;let _0x39c6f4=_0x29b9b8(_0x4347f8,()=>'\x20')[_0x395ec6(0x5ae)](_0x3ceab1,'\x20')[_0x395ec6(0x5ae)](_0x29e3da,'\x20')[_0x395ec6(0x5ae)](_0x2aff18,'\x20')['replace'](_0xb32c83,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x5dabb9,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x1b821a,'\x20')[_0x395ec6(0x5ae)](_0x48d5ed,'$1\x20');return _0x45b75c[_0x395ec6(0x50e)](_0x39c6f4);}function _0x37fbd1(_0x41fb28,_0x1bfd9b){return _0x59a6fd(_0x4c53c2(_0x41fb28,_0x1bfd9b),_0x1bfd9b);}function _0x29b9b8(_0xf7385c,_0x3a4f7e){return _0x4264bb(_0x37fbd1(_0xf7385c,_0x3a4f7e),_0x3a4f7e);}function _0x4264bb(_0x3ab6fe,_0x381c36){const _0x37f39d=_0x571676;return _0x3ab6fe[_0x37f39d(0x5ae)](/"(?:""|[^"])*"/g,_0x381c36);}function _0x4c53c2(_0x3df433,_0x5459ef){const _0x37f221=_0x571676;return _0x2b4618[_0x37f221(0x3d6)]=0x0,_0x3df433['replace'](_0x2b4618,(_0x457835,_0x22ae87)=>_0x74a76e(_0x3df433,_0x22ae87)?_0x457835:_0x5459ef(_0x457835));}let _0x134368=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x59a6fd(_0x4e05cd,_0x41e217){const _0x1ac06b=_0x571676;let _0x29d593=[];for(_0x134368['lastIndex']=0x0;;){let _0x4d5b4a=_0x134368[_0x1ac06b(0x266)](_0x4e05cd);if(_0x4d5b4a==null)break;if(_0x74a76e(_0x4e05cd,_0x4d5b4a[_0x1ac06b(0x36f)]))continue;let _0x596674=_0x134368[_0x1ac06b(0x3d6)]-0x1,_0x2a121a=0x0;for(let _0x26d9b7=_0x596674;_0x26d9b7<_0x4e05cd[_0x1ac06b(0x4e9)];_0x26d9b7++)if(_0x4e05cd[_0x26d9b7]==='['&&_0x2a121a++,_0x4e05cd[_0x26d9b7]===']'&&(_0x2a121a--,_0x2a121a===0x0)){_0x29d593[_0x1ac06b(0x401)]({'start':_0x4d5b4a[_0x1ac06b(0x36f)],'end':_0x26d9b7+0x1}),_0x134368[_0x1ac06b(0x3d6)]=_0x26d9b7+0x1;break;}}if(_0x29d593['length']===0x0)return _0x4e05cd;let _0x35486f='',_0x1228fa=0x0;for(let _0x4b9622 of _0x29d593)_0x35486f+=_0x4e05cd[_0x1ac06b(0x377)](_0x1228fa,_0x4b9622[_0x1ac06b(0x3aa)]),_0x35486f+=_0x41e217(_0x4e05cd[_0x1ac06b(0x377)](_0x4b9622[_0x1ac06b(0x3aa)],_0x4b9622[_0x1ac06b(0x5a8)])),_0x1228fa=_0x4b9622[_0x1ac06b(0x5a8)];return _0x35486f+_0x4e05cd['slice'](_0x1228fa);}function _0x74a76e(_0x435bee,_0x11355c){let _0x4ae9a2=!0x1;for(let _0x29f366=0x0;_0x29f366<_0x11355c;_0x29f366++)_0x435bee[_0x29f366]==='\x22'&&(_0x4ae9a2&&_0x435bee[_0x29f366+0x1]==='\x22'?_0x29f366++:_0x4ae9a2=!_0x4ae9a2);return _0x4ae9a2;}function _0x459058(_0x2126e3,_0x1cd5fb,_0x1ca504,_0x33671c){const _0x1586af=_0x571676;let _0x504bc0=_0x2bc007(_0x2126e3[_0x1586af(0x51f)],_0x1cd5fb,_0x1ca504,_0x33671c);return{'table':_0x504bc0,'field':_0x504bc0?Object[_0x1586af(0x334)](_0x504bc0[_0x1586af(0x3c2)])[_0x1586af(0x56a)](_0x2402bc=>_0x2402bc['name']===_0x2126e3[_0x1586af(0x524)]):void 0x0};}function _0x2bc007(_0x5cc497,_0x5d76f8,_0x58904d,_0x1475fc){const _0x55beed=_0x571676;if(!_0x5cc497)return _0x5d76f8;if(!_0x58904d){var _0x2822f4;let _0x10f7e4=_0x5cc497[_0x55beed(0x2b0)]();return _0x10f7e4===_0x5d76f8['id']['toLowerCase']()||_0x10f7e4===_0x5d76f8[_0x55beed(0x46d)]['toLowerCase']()||_0x10f7e4===((_0x2822f4=_0x5d76f8[_0x55beed(0x4b8)])==null?void 0x0:_0x2822f4[_0x55beed(0x2b0)]())?_0x5d76f8:void 0x0;}let _0x32131b=_0x5cc497[_0x55beed(0x2b0)](),_0x28fd38=_0x1475fc??(0x0,_0x13cf76[_0x55beed(0x3a1)])(_0x58904d),_0xd900c4=Object[_0x55beed(0x334)](_0x58904d[_0x55beed(0x291)])[_0x55beed(0x3c4)](_0x1e5380=>{const _0x4585c2=_0x55beed;var _0x292276;return _0x1e5380['id'][_0x4585c2(0x2b0)]()===_0x32131b||_0x1e5380['name'][_0x4585c2(0x2b0)]()===_0x32131b||((_0x292276=_0x28fd38[_0x4585c2(0x59c)](_0x1e5380['id']))==null?void 0x0:_0x292276['toLowerCase']())===_0x32131b||_0x1bf44e(_0x1e5380['id'])[_0x4585c2(0x2b0)]()===_0x32131b;});return _0xd900c4[_0x55beed(0x4e9)]===0x1?_0xd900c4[0x0]:void 0x0;}function _0x1bf44e(_0x596f41){const _0x319bab=_0x571676;return _0x319bab(0x32c)+Array[_0x319bab(0x2ed)](_0x596f41,_0x590559=>{const _0x1bbb59=_0x319bab;var _0x44536e;return/[A-Za-z0-9]/[_0x1bbb59(0x50e)](_0x590559)?_0x590559:'_x'+(((_0x44536e=_0x590559[_0x1bbb59(0x253)](0x0))==null?void 0x0:_0x44536e[_0x1bbb59(0x3ca)](0x10))??'0')+'_';})[_0x319bab(0x4b9)]('');}let _0x5882e8=new _0x3bb03f();function _0x5c5b63(_0x2f36f0,_0x17f537,_0x1f3155){const _0x29e05d=_0x571676;var _0x5f2f5f;if(_0x1f3155[_0x29e05d(0x292)]!==_0x13cf76[_0x29e05d(0x517)][_0x29e05d(0x26c)])return!0x0;let _0x5a4b7d=String(((_0x5f2f5f=_0x1f3155['config'])==null?void 0x0:_0x5f2f5f['formula'])??''),_0x3312d0=_0x2f36f0[_0x29e05d(0x463)]();return _0x5882e8[_0x29e05d(0x2e2)](_0x5a4b7d,_0x3312d0[_0x29e05d(0x291)][_0x17f537],{'snapshot':_0x3312d0})[_0x29e05d(0x49e)];}function _0x2062fb(_0x2ba6e8,_0x549d3e,_0xd3700a){const _0x356856=_0x571676;let _0x4383ee=_0x2ba6e8[_0x356856(0x463)]()[_0x356856(0x291)][_0x549d3e];if(!_0x4383ee)return!0x1;let {viewIds:_0x4f8376,fieldIds:_0x4b55cf,recordIds:_0x1c1afb}=_0xd3700a||{};if(_0x4f8376){for(let _0x41635e of _0x4f8376)if(!_0x4383ee['views'][_0x41635e])return!0x1;}if(_0x4b55cf){for(let _0x2601ef of _0x4b55cf)if(!_0x4383ee['fields'][_0x2601ef])return!0x1;}if(_0x1c1afb){for(let _0x2b2afd of _0x1c1afb)if(!_0x4383ee['records'][_0x2b2afd])return!0x1;}return!0x0;}function _0x4e03f1(_0x128f1b,_0x24f5aa,_0x4947ad){const _0x1a129b=_0x571676;if(_0x4947ad['id']===_0x13cf76[_0x1a129b(0x544)]||_0x4947ad[_0x1a129b(0x292)]===_0x13cf76[_0x1a129b(0x517)][_0x1a129b(0x2ea)]||(0x0,_0x13cf76[_0x1a129b(0x4ec)])(_0x4947ad[_0x1a129b(0x46d)])||!_0x5c5b63(_0x128f1b,_0x24f5aa,_0x4947ad))return!0x1;let _0x282a9f=_0x128f1b[_0x1a129b(0x463)]();if(!_0x5a4a77(_0x282a9f,_0x4947ad)[_0x1a129b(0x49e)])return!0x1;if(_0x4947ad[_0x1a129b(0x292)]!==_0x13cf76['BaseFieldType'][_0x1a129b(0x5b0)])return!0x0;let _0xd5061a=_0x51db2d(_0x4947ad);if(!_0xd5061a)return!0x1;if(_0xd5061a[_0x1a129b(0x2fe)]===void 0x0)return!0x0;if(_0xd5061a[_0x1a129b(0x2fe)]!==_0x13cf76[_0x1a129b(0x521)][_0x1a129b(0x4ce)]||_0xd5061a['targetTableId']!==_0x24f5aa||_0xd5061a['multiple']!==!0x1)return!0x1;let _0x25d6cb=_0x282a9f['tables'][_0x24f5aa];return!Object['values'](_0x25d6cb[_0x1a129b(0x3c2)])[_0x1a129b(0x1ab)](_0x5578ec=>{const _0x5636ef=_0x1a129b;var _0x1f459e;return _0x5578ec['id']!==_0x4947ad['id']&&_0x5578ec[_0x5636ef(0x292)]===_0x13cf76[_0x5636ef(0x517)][_0x5636ef(0x5b0)]&&((_0x1f459e=_0x51db2d(_0x5578ec))==null?void 0x0:_0x1f459e[_0x5636ef(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent'];});}function _0x2432ed(_0x1c393a,_0x9e6713,_0x455810,_0x49adac){const _0x328f0c=_0x571676;var _0x20e71a;let _0x1b5bd6=_0x1c393a[_0x328f0c(0x463)](),_0x37f6c7=(_0x20e71a=_0x1b5bd6[_0x328f0c(0x291)][_0x9e6713])==null?void 0x0:_0x20e71a[_0x328f0c(0x3c2)][_0x455810];return!_0x37f6c7||_0x37f6c7['id']===_0x13cf76[_0x328f0c(0x544)]||_0x37f6c7[_0x328f0c(0x292)]===_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x2ea)]?!0x1:_0x37f6c7[_0x328f0c(0x292)]!==_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x5b0)]||_0x5d7c0c(_0x1b5bd6,_0x37f6c7,_0x54f08d(_0x49adac))[_0x328f0c(0x49e)];}function _0x1439a1(_0x319a41,_0x1ebbf4,_0x3adffe){const _0x588e0c=_0x571676;let _0x1a28e9=_0x319a41[_0x588e0c(0x463)]()[_0x588e0c(0x291)][_0x1ebbf4];return!_0x1a28e9||!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x3adffe['id'])||_0x1a28e9['records'][_0x3adffe['id']]||Object[_0x588e0c(0x41e)][_0x588e0c(0x189)][_0x588e0c(0x279)](_0x3adffe[_0x588e0c(0x334)],_0x13cf76[_0x588e0c(0x544)])&&_0x3adffe[_0x588e0c(0x334)][_0x13cf76[_0x588e0c(0x544)]]!==_0x3adffe['id']?!0x1:Object[_0x588e0c(0x460)](_0x3adffe['values'])[_0x588e0c(0x5a5)](([_0x4d2063,_0x12f947])=>_0x4d2063===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x2432ed(_0x319a41,_0x1ebbf4,_0x4d2063,_0x12f947));}function _0x50277a(_0x11b591){const _0x1fe243=_0x571676;return{..._0x11b591,'values':{..._0x11b591[_0x1fe243(0x334)],[_0x13cf76[_0x1fe243(0x544)]]:_0x11b591['id']}};}function _0x54f08d(_0x36a711){const _0x4d6a9f=_0x571676;if(_0x36a711&&typeof _0x36a711==_0x4d6a9f(0x1a7)&&!Array[_0x4d6a9f(0x21f)](_0x36a711)&&'v'in _0x36a711){let _0xc1fdcd=_0x36a711['v'];return _0xc1fdcd===void 0x0?null:_0xc1fdcd;}return _0x36a711;}function _0x5a9b17(_0x4aa5c4,_0x6c0d24,_0x404e1c,_0x3e8dd0){const _0x4cb262=_0x571676;let _0x2286c1=_0x4aa5c4[_0x4cb262(0x463)]()['tables'][_0x6c0d24];if(!_0x2286c1)return null;let _0x3c7910=_0x19ec27(_0x2286c1),_0x450ef8=_0x3c7910??_0x2d5926(_0x2286c1),_0xbe4d68=_0x404e1c[_0x4cb262(0x1ab)](_0x5b3ae1=>Object['prototype'][_0x4cb262(0x189)]['call'](_0x5b3ae1[_0x4cb262(0x334)],_0x450ef8)),_0x1957b6=_0x3c7910?_0x2286c1['fields'][_0x3c7910]:_0xbe4d68?_0xb8ceba(_0x2286c1,_0x450ef8,_0x3e8dd0):null,_0x448b30=[];for(let _0x1f9eef of _0x404e1c){let _0x1537ac=_0x1f9eef[_0x4cb262(0x334)][_0x450ef8],_0x310503=_0x1957b6!==null&&Object[_0x4cb262(0x41e)][_0x4cb262(0x189)][_0x4cb262(0x279)](_0x1f9eef[_0x4cb262(0x334)],_0x450ef8),_0x23cfa2=_0x54f08d(_0x1537ac),_0x51c897=null;if(_0x310503){if(typeof _0x23cfa2!=_0x4cb262(0x2b6)||!_0x35e826(_0x23cfa2,!0x1)['valid'])return null;_0x51c897=_0x23cfa2;}let _0x2597b7={};if(Object[_0x4cb262(0x460)](_0x1f9eef[_0x4cb262(0x334)])[_0x4cb262(0x3c9)](([_0x12ac1e,_0xf28701])=>{(!_0x310503||_0x12ac1e!==_0x450ef8)&&(_0x2597b7[_0x12ac1e]=_0xf28701);}),!_0x1439a1(_0x4aa5c4,_0x6c0d24,{..._0x1f9eef,'values':_0x2597b7}))return null;let _0x2b0ef5={..._0x1f9eef['values']};_0x51c897!==null&&(_0x2b0ef5[_0x450ef8]=_0x51c897),_0x448b30[_0x4cb262(0x401)](_0x50277a({..._0x1f9eef,'values':_0x2b0ef5}));}return{'records':_0x448b30,'hierarchyFieldToMaterialize':_0x3c7910?null:_0x1957b6,'hierarchyChanges':_0x16b24a(_0x2286c1,_0x448b30)};}let _0x191150={'id':_0x571676(0x31d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler'(_0x1a5568,_0xa7e26f){const _0x2ea5ba=_0x571676;if(!_0xa7e26f)return!0x1;let _0x4a25be=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x444e36,tableId:_0x81a283,records:_0xb5d5a8}=_0xa7e26f,_0x4215db=_0x4a25be['getUnit'](_0x444e36,_0x13cf76['UniverInstanceType'][_0x2ea5ba(0x321)]),_0x44892a=_0xb5d5a8[_0x2ea5ba(0x329)](_0x43f9bf=>_0x43f9bf['id']);if(!_0x4215db||!_0x2062fb(_0x4215db,_0x81a283)||new Set(_0x44892a)[_0x2ea5ba(0x366)]!==_0x44892a[_0x2ea5ba(0x4e9)])return!0x1;let _0x593b0a=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76[_0x2ea5ba(0x1d3)]),_0x173e8f=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUndoRedoService']),_0x1e6154=_0x1a5568[_0x2ea5ba(0x59c)](_0x5cf6f3),_0x2f6e09=_0x4215db[_0x2ea5ba(0x463)](),_0x2ddc13=_0x5a9b17(_0x4215db,_0x81a283,_0xb5d5a8);if(!_0x2ddc13)return!0x1;let {records:_0x26d2ce,hierarchyChanges:_0x2cd251,hierarchyFieldToMaterialize:_0x13fa59}=_0x2ddc13,_0x19b970=_0x13fa59?_0x1e6154[_0x2ea5ba(0x586)](_0x4215db,_0x81a283,_0x13fa59,_0x2f6e09[_0x2ea5ba(0x291)][_0x81a283]['fieldOrder'][_0x2ea5ba(0x4e9)]):null,_0x470f80=_0x1e6154[_0x2ea5ba(0x3df)](_0x4215db,_0x81a283,_0x26d2ce),_0x22b4cf=_0x16f182([..._0x19b970?[_0x19b970]:[],_0x470f80]),_0x4ceb17=new _0x1aaf1b()[_0x2ea5ba(0x4b4)](_0x2f6e09,_0x22b4cf),_0x717512={'unitId':_0x444e36,'op':_0x22b4cf,'hierarchyChanges':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2cd251:void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0xa7e26f[_0x2ea5ba(0x47d)]??'ui':void 0x0},_0x5830ec={..._0x717512,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x3ee):void 0x0},_0x1e4746={'unitId':_0x444e36,'op':_0x4ceb17,'hierarchyChanges':_0x2cd251['length']?_0x2cd251[_0x2ea5ba(0x329)](_0x9a5735=>({..._0x9a5735,'oldParentRecordId':_0x9a5735[_0x2ea5ba(0x561)],'parentRecordId':null})):void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x505):void 0x0};return _0x593b0a['syncExecuteCommand'](_0x4d02c8['id'],_0x717512)?(_0x4a25be[_0x2ea5ba(0x2bd)](_0x444e36),_0x173e8f[_0x2ea5ba(0x4f2)]({'unitID':_0x444e36,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1e4746}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5830ec}]}),!0x0):!0x1;}},_0x45c212={'id':'base.command.batch-delete-base-records','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xcb77c9,_0x15fa44)=>{const _0x49d776=_0x571676;if(!_0x15fa44)return!0x1;let _0x31650b=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4202b8,tableId:_0x2d8322,recordIds:_0x436a52}=_0x15fa44,_0x1cfe1e=_0x31650b['getUnit'](_0x4202b8,_0x13cf76[_0x49d776(0x331)][_0x49d776(0x321)]);if(!_0x1cfe1e||!_0x2062fb(_0x1cfe1e,_0x2d8322,{'recordIds':_0x436a52}))return!0x1;let _0x4d6a99=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x1d3)]),_0x56cfb8=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x425)]),_0x519134=_0x1cfe1e[_0x49d776(0x463)](),_0x1a00cf=_0xaf3938(_0x519134['tables'][_0x2d8322],_0x436a52),_0x32c8b5=new _0x3db0f3(),_0x2a100a=new _0x1aaf1b(),_0x35c7b1=_0x32c8b5[_0x49d776(0x23e)](_0x519134,_0x2d8322,_0x436a52),_0xf7ef91=_0x2a100a[_0x49d776(0x4d8)](_0x519134,_0x35c7b1),_0x12ba5c=_0x32c8b5[_0x49d776(0x41b)](_0x519134,_0xf7ef91,_0x2d8322,_0x436a52),_0x56d31c={'unitId':_0x4202b8,'op':_0x35c7b1,'hierarchyChanges':_0x1a00cf,'source':_0x15fa44[_0x49d776(0x47d)]??'ui'},_0x184633={..._0x56d31c,'source':_0x49d776(0x3ee)},_0x1a0667={'unitId':_0x4202b8,'op':_0x12ba5c,'hierarchyChanges':_0x1a00cf[_0x49d776(0x329)](_0x3b1ab1=>({..._0x3b1ab1,'oldParentRecordId':_0x3b1ab1[_0x49d776(0x561)],'parentRecordId':_0x3b1ab1[_0x49d776(0x182)]})),'source':_0x49d776(0x505)};return _0x4d6a99[_0x49d776(0x56d)](_0x4d02c8['id'],_0x56d31c)?(_0x31650b[_0x49d776(0x2bd)](_0x4202b8),_0x56cfb8['pushUndoRedo']({'unitID':_0x4202b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1a0667}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x184633}]}),!0x0):!0x1;}},_0x5e6b94={'id':_0x571676(0x3fa),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0xbe6c11,_0x32af90)=>{const _0x1342d1=_0x571676;if(!_0x32af90)return!0x1;let _0x37d9c2=_0xbe6c11['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x574abe,tableId:_0xbbc54c,fieldId:_0x797347,input:_0x47bb0f}=_0x32af90,_0x3ac617=_0x37d9c2[_0x1342d1(0x363)](_0x574abe,_0x13cf76[_0x1342d1(0x331)][_0x1342d1(0x321)]);if(!_0x3ac617||_0x797347===_0x13cf76[_0x1342d1(0x544)]||!_0x2062fb(_0x3ac617,_0xbbc54c,{'fieldIds':[_0x797347]}))return!0x1;let _0x230648=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76[_0x1342d1(0x1d3)]),_0x3ad310=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76['IUndoRedoService']),_0x23974=_0x3ac617[_0x1342d1(0x463)]();if(!_0x4e03f1(_0x3ac617,_0xbbc54c,{..._0x23974[_0x1342d1(0x291)][_0xbbc54c]['fields'][_0x797347],..._0x47bb0f}))return!0x1;let _0x4eaced=new _0x3db0f3()['changeFieldType'](_0x23974,_0xbbc54c,_0x797347,_0x47bb0f),_0x4c5c79=new _0x1aaf1b()[_0x1342d1(0x4b4)](_0x23974,_0x4eaced),_0x48b749={'unitId':_0x574abe,'op':_0x4eaced},_0x3d28d3={'unitId':_0x574abe,'op':_0x4c5c79};return _0x230648[_0x1342d1(0x56d)](_0x4d02c8['id'],_0x48b749)?(_0x37d9c2[_0x1342d1(0x2bd)](_0x574abe),_0x3ad310['pushUndoRedo']({'unitID':_0x574abe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d28d3}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x48b749}]}),!0x0):!0x1;}},_0x7be1ba={'id':_0x571676(0x30a),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x22b2ae,_0x37afae){const _0x316b94=_0x571676;var _0x550001;if(!_0x37afae)return!0x1;let {unitId:_0x50311c,tableId:_0x10f173,parentRecordId:_0xa11655}=_0x37afae,_0x6ee4da=_0x22b2ae[_0x316b94(0x59c)](_0x13cf76[_0x316b94(0x59e)]),_0x3c662c=_0x6ee4da[_0x316b94(0x363)](_0x50311c,_0x13cf76[_0x316b94(0x331)]['UNIVER_BASE']);if(!_0x3c662c||!_0x2062fb(_0x3c662c,_0x10f173,{'recordIds':[_0xa11655]}))throw new _0x2dec10(_0x316b94(0x2ba));let _0x20a100=_0x3c662c['getSnapshot'](),_0x54e1cf=_0x20a100['tables'][_0x10f173],_0x4421e1=_0x19ec27(_0x54e1cf),_0x39ab00=_0x4421e1??_0x37afae[_0x316b94(0x384)]??_0x2d5926(_0x54e1cf);if(_0x4421e1&&_0x37afae[_0x316b94(0x384)]&&_0x37afae[_0x316b94(0x384)]!==_0x4421e1||_0x54e1cf['fields'][_0x39ab00]&&!_0x53a126(_0x54e1cf,_0x39ab00))throw new _0x2dec10('invalidField');if((_0x4067d3(_0x54e1cf,_0x39ab00)[_0x316b94(0x45b)][_0x316b94(0x59c)](_0xa11655)??0x0)+0x1>=0x5)throw new _0x2dec10('maxDepth');if(!_0x1439a1(_0x3c662c,_0x10f173,_0x37afae[_0x316b94(0x4a9)]))return!0x1;let _0xda97e7=_0x50277a({..._0x37afae['record'],'values':{..._0x37afae[_0x316b94(0x4a9)][_0x316b94(0x334)],[_0x39ab00]:_0xddc2f4([_0xa11655])}}),_0x21e409=_0x22b2ae['get'](_0x5cf6f3),_0x3bf84f=new _0x3db0f3(),_0xe22577=_0x54e1cf[_0x316b94(0x3c2)][_0x39ab00],_0x579a71=_0xe22577?((_0x550001=_0x51db2d(_0xe22577))==null?void 0x0:_0x550001[_0x316b94(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent']?null:_0x3bf84f[_0x316b94(0x241)](_0x20a100,_0x10f173,_0x39ab00,{'config':{..._0xe22577[_0x316b94(0x5b9)],'relationRole':_0x13cf76['BaseRecordLinkRole'][_0x316b94(0x4ce)]}}):_0x21e409[_0x316b94(0x586)](_0x3c662c,_0x10f173,_0xb8ceba(_0x54e1cf,_0x39ab00,_0x37afae[_0x316b94(0x57e)]),_0x54e1cf[_0x316b94(0x582)][_0x316b94(0x4e9)]),_0x412b89=_0x21e409[_0x316b94(0x557)](_0x3c662c,_0x10f173,_0xda97e7),_0x52d337=_0x16f182([..._0x579a71?[_0x579a71]:[],_0x412b89]),_0x3f2f42=new _0x1aaf1b()[_0x316b94(0x4b4)](_0x20a100,_0x52d337),_0x35b930={'tableId':_0x10f173,'fieldId':_0x39ab00,'recordId':_0xda97e7['id'],'oldParentRecordId':null,'parentRecordId':_0xa11655},_0x228446={'unitId':_0x50311c,'op':_0x52d337,'trigger':_0x7be1ba['id'],'hierarchyChanges':[_0x35b930],'source':_0x37afae[_0x316b94(0x47d)]??'ui'},_0x3d526a={..._0x228446,'source':_0x316b94(0x3ee)},_0x260583={'unitId':_0x50311c,'op':_0x3f2f42,'trigger':_0x7be1ba['id'],'hierarchyChanges':[{..._0x35b930,'oldParentRecordId':_0xa11655,'parentRecordId':null}],'source':_0x316b94(0x505)};return _0x22b2ae[_0x316b94(0x59c)](_0x13cf76['ICommandService'])[_0x316b94(0x56d)](_0x4d02c8['id'],_0x228446)?(_0x6ee4da[_0x316b94(0x2bd)](_0x50311c),_0x22b2ae['get'](_0x13cf76[_0x316b94(0x425)])['pushUndoRedo']({'unitID':_0x50311c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x260583}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d526a}]}),!0x0):!0x1;}},_0x3ae6cb={'id':'base.command.create-base-field','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler'(_0x5f1543,_0x4a916e){const _0x18ec03=_0x571676;if(!_0x4a916e)return!0x1;let _0x286e98=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x2a6df0,tableId:_0xc2a87a,field:_0x2953ab,index:_0x2120e6,viewIndexes:_0x1ecef5}=_0x4a916e,_0x314266=_0x286e98[_0x18ec03(0x363)](_0x2a6df0,_0x13cf76['UniverInstanceType'][_0x18ec03(0x321)]);if(!_0x314266||!_0x2062fb(_0x314266,_0xc2a87a)||_0x314266[_0x18ec03(0x463)]()[_0x18ec03(0x291)][_0xc2a87a][_0x18ec03(0x3c2)][_0x2953ab['id']]||_0x2120e6===0x0||!_0x4e03f1(_0x314266,_0xc2a87a,_0x2953ab))return!0x1;let _0x140a74=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x1d3)]),_0x47b575=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x425)]),_0x2c125e=_0x5f1543['get'](_0x5cf6f3)[_0x18ec03(0x586)](_0x314266,_0xc2a87a,_0x2953ab,_0x2120e6,_0x1ecef5),_0x14e248=new _0x1aaf1b()[_0x18ec03(0x4b4)](_0x314266[_0x18ec03(0x463)](),_0x2c125e),_0x1cd947={'unitId':_0x2a6df0,'op':_0x2c125e},_0xc31c66={'unitId':_0x2a6df0,'op':_0x14e248};return _0x140a74['syncExecuteCommand'](_0x4d02c8['id'],_0x1cd947)?(_0x286e98[_0x18ec03(0x2bd)](_0x2a6df0),_0x47b575[_0x18ec03(0x4f2)]({'unitID':_0x2a6df0,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xc31c66}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1cd947}]}),!0x0):!0x1;}},_0x1d23ba={'id':_0x571676(0x3cf),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x146c19,_0x114152){const _0x536a91=_0x571676;if(!_0x114152)return!0x1;let _0x2d3be7=_0x146c19[_0x536a91(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x5d5d10,tableId:_0x2ac5f6,record:_0x39dded}=_0x114152,_0x1667c7=_0x2d3be7[_0x536a91(0x363)](_0x5d5d10,_0x13cf76['UniverInstanceType']['UNIVER_BASE']);if(!_0x1667c7||!_0x2062fb(_0x1667c7,_0x2ac5f6))return!0x1;let _0x311669=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x1d3)]),_0xad1f42=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x425)]),_0x216d61=_0x146c19[_0x536a91(0x59c)](_0x5cf6f3),_0x36e0d8=_0x1667c7[_0x536a91(0x463)](),_0x12e286=_0x5a9b17(_0x1667c7,_0x2ac5f6,[_0x39dded]);if(!_0x12e286)return!0x1;let [_0x5f2fbf]=_0x12e286[_0x536a91(0x38f)],{hierarchyChanges:_0xc37558,hierarchyFieldToMaterialize:_0x4fb4f3}=_0x12e286,_0x4ee1c7=_0x4fb4f3?_0x216d61['createCreateFieldOp'](_0x1667c7,_0x2ac5f6,_0x4fb4f3,_0x36e0d8[_0x536a91(0x291)][_0x2ac5f6][_0x536a91(0x582)][_0x536a91(0x4e9)]):null,_0x275ba8=_0x216d61[_0x536a91(0x557)](_0x1667c7,_0x2ac5f6,_0x5f2fbf),_0x4f6a6b=_0x16f182([..._0x4ee1c7?[_0x4ee1c7]:[],_0x275ba8]),_0x42b658=new _0x1aaf1b()[_0x536a91(0x4b4)](_0x36e0d8,_0x4f6a6b),_0x12f21b={'unitId':_0x5d5d10,'op':_0x4f6a6b,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558:void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x114152[_0x536a91(0x47d)]??'ui':void 0x0},_0x87ba98={..._0x12f21b,'source':_0xc37558['length']?_0x536a91(0x3ee):void 0x0},_0x5dab9e={'unitId':_0x5d5d10,'op':_0x42b658,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558['map'](_0x274fef=>({..._0x274fef,'oldParentRecordId':_0x274fef[_0x536a91(0x561)],'parentRecordId':null})):void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x536a91(0x505):void 0x0};return _0x311669[_0x536a91(0x56d)](_0x4d02c8['id'],_0x12f21b)?(_0x2d3be7[_0x536a91(0x2bd)](_0x5d5d10),_0xad1f42[_0x536a91(0x4f2)]({'unitID':_0x5d5d10,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5dab9e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x87ba98}]}),!0x0):!0x1;}};function _0x475287(_0x4f694c,_0x45848d,_0x4e3102){const _0x45f153=_0x571676;if(!_0x45848d[_0x45f153(0x2cd)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x45f153(0x449)};if(_0x45848d['length']>0x1f)return{'valid':!0x1,'reason':_0x45f153(0x335),'error':_0x45f153(0x1ec)};if(_0x45848d[_0x45f153(0x33b)]('\x27')||_0x45848d[_0x45f153(0x398)]('\x27'))return{'valid':!0x1,'reason':_0x45f153(0x428),'error':_0x45f153(0x52b)};if(/[:\\/?*\[\]]/[_0x45f153(0x50e)](_0x45848d))return{'valid':!0x1,'reason':_0x45f153(0x187),'error':'invalid-characters'};if(!(0x0,_0x13cf76[_0x45f153(0x1ac)])(_0x45848d))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':_0x45f153(0x3a9)};let _0x1faf67=_0x45848d[_0x45f153(0x2b0)]();return Object[_0x45f153(0x334)](_0x4f694c[_0x45f153(0x291)])[_0x45f153(0x1ab)](_0x135305=>_0x135305['id']!==_0x4e3102&&_0x135305[_0x45f153(0x46d)][_0x45f153(0x2b0)]()===_0x1faf67)?{'valid':!0x1,'reason':_0x45f153(0x288),'error':_0x45f153(0x551)}:{'valid':!0x0};}function _0x14d06a(_0x42878d,_0x135ea0){const _0x1081cb=_0x571676;let _0x245033=_0x135ea0[_0x1081cb(0x5ae)](/[:\\/?*\[\]]/g,'\x20')[_0x1081cb(0x5ae)](/^'+|'+$/g,'')[_0x1081cb(0x2cd)]()||_0x1081cb(0x4cc),_0x403f84=0x1;for(;;){let _0xa3021a=_0x403f84===0x1?'':'\x20'+_0x403f84,_0x3c825b=''+_0x245033[_0x1081cb(0x377)](0x0,0x1f-_0xa3021a['length'])+_0xa3021a;if(_0x475287(_0x42878d,_0x3c825b)[_0x1081cb(0x49e)])return _0x3c825b;_0x403f84++;}}let _0x362922={'id':_0x571676(0x46f),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x580ff,_0x5220bd)=>{const _0x1ca766=_0x571676;if(!_0x5220bd)return!0x1;let _0x10e5ce=_0x580ff[_0x1ca766(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x3d13bf,table:_0x28d276,index:_0x4c945a}=_0x5220bd,_0x27d2be=_0x10e5ce['getUnit'](_0x3d13bf,_0x13cf76[_0x1ca766(0x331)][_0x1ca766(0x321)]);if(!_0x27d2be||_0x27d2be[_0x1ca766(0x463)]()[_0x1ca766(0x291)][_0x28d276['id']]||!_0x475287(_0x27d2be[_0x1ca766(0x463)](),_0x28d276[_0x1ca766(0x46d)])[_0x1ca766(0x49e)])return!0x1;try{(0x0,_0x13cf76['assertBaseTableRecordIdentity'])(_0x28d276);}catch{return!0x1;}let _0x325d73=_0x580ff['get'](_0x13cf76[_0x1ca766(0x1d3)]),_0x567162=_0x580ff['get'](_0x13cf76[_0x1ca766(0x425)]),_0x2d9e44=_0x27d2be[_0x1ca766(0x463)](),_0x12b246=new _0x3db0f3()['createTable'](_0x2d9e44,_0x28d276,_0x4c945a),_0x5b7893=new _0x1aaf1b()[_0x1ca766(0x4b4)](_0x2d9e44,_0x12b246),_0x407ddb={'unitId':_0x3d13bf,'op':_0x12b246},_0x186b41={'unitId':_0x3d13bf,'op':_0x5b7893};return _0x325d73['syncExecuteCommand'](_0x4d02c8['id'],_0x407ddb)?(_0x10e5ce[_0x1ca766(0x2bd)](_0x3d13bf),_0x567162[_0x1ca766(0x4f2)]({'unitID':_0x3d13bf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x186b41}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x407ddb}]}),!0x0):!0x1;}};function _0x1df899(_0x2cc31b,_0x2c38a6,_0x15a686=[]){const _0x331e00=_0x571676;let _0x52d8c7=new Set([...Object[_0x331e00(0x334)](_0x2cc31b[_0x331e00(0x3c2)])[_0x331e00(0x3c4)](_0xb55ec0=>_0xb55ec0)[_0x331e00(0x329)](_0x32d26e=>_0x32d26e[_0x331e00(0x46d)]),..._0x15a686[_0x331e00(0x329)](_0x2dff9f=>_0x2dff9f[_0x331e00(0x46d)])]);if(!_0x52d8c7[_0x331e00(0x370)](_0x2c38a6))return _0x2c38a6;let _0x15c59f=0x2;for(;_0x52d8c7['has'](_0x2c38a6+'\x20'+_0x15c59f);)_0x15c59f++;return _0x2c38a6+'\x20'+_0x15c59f;}function _0x4091af(_0x16f0b0,_0x49254e){if(!_0x16f0b0||!_0x49254e['length'])return;let _0x597fa0=[..._0x16f0b0];return _0x49254e['forEach'](_0x445742=>{const _0x24e08b=_0x4fc5;_0x597fa0[_0x24e08b(0x358)](_0x445742)||_0x597fa0[_0x24e08b(0x401)](_0x445742);}),_0x597fa0;}let _0x540277={'options':[{'id':'todo','name':'Todo','color':_0x571676(0x4ca)},{'id':_0x571676(0x200),'name':_0x571676(0x302),'color':_0x571676(0x28c)},{'id':_0x571676(0x4c6),'name':_0x571676(0x3ab),'color':_0x571676(0x5a4)}]},_0x289764={'locale':'en-US','pattern':_0x571676(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x571676(0x2a6)};function _0x56c161(_0x1d5d36,_0x34e0cb,_0x2ce0dd,_0x4d077c){const _0x549f89=_0x571676;var _0x5c2735;let _0x393e0c=new _0x3db0f3(),_0x15c8bc=_0x1d5d36['tables'][_0x34e0cb],_0x5c36c8=_0x15c8bc?{..._0x2ce0dd,'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],...(_0x2ce0dd['fieldOrder']??_0x15c8bc['fieldOrder'])[_0x549f89(0x3c4)](_0x3b27ab=>_0x3b27ab!==_0x13cf76['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x2ce0dd['fieldSettings'],[_0x13cf76[_0x549f89(0x544)]]:{...(_0x5c2735=_0x2ce0dd['fieldSettings'])==null?void 0x0:_0x5c2735[_0x13cf76['BASE_RECORD_ID_FIELD_ID']],'hidden':!0x0}}}:_0x2ce0dd;if(_0x15c8bc&&_0x5c36c8[_0x549f89(0x292)]==='kanban'){let _0x132007=_0x34ead4(_0x15c8bc,_0x5c36c8),_0x4f84c8=_0x132007[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x132007[_0x549f89(0x5b9)],'fieldOrder':_0x132007['fieldOrder']??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x16f182([..._0x132007[_0x549f89(0x3c2)]['map'](_0x5d6c26=>_0x393e0c['createField'](_0x1d5d36,_0x34e0cb,{'field':_0x5d6c26})),_0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x4f84c8,_0x4d077c)]);}if(!_0x15c8bc||_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x2ca)&&_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x23d))return _0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x5c36c8,_0x4d077c);let _0x2d6100=_0x2abe27(_0x15c8bc,_0x5c36c8),_0x45890f=_0x2d6100[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x2d6100['config'],'fieldOrder':_0x2d6100[_0x549f89(0x582)]??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x5c36c8['type']===_0x549f89(0x23d)&&_0x15c391(_0x5c36c8)&&(_0x45890f=_0x5a1454(_0x15c8bc,_0x45890f,_0x2d6100['fields'])),_0x16f182([..._0x2d6100[_0x549f89(0x3c2)][_0x549f89(0x329)](_0x255bce=>_0x393e0c[_0x549f89(0x444)](_0x1d5d36,_0x34e0cb,{'field':_0x255bce})),_0x393e0c['createView'](_0x1d5d36,_0x34e0cb,_0x45890f,_0x4d077c)]);}function _0x2abe27(_0x34e714,_0x1fc90f,_0x301311=!0x1){const _0x4a19f2=_0x571676;var _0x42c754,_0x2380d0;let _0x43f190=_0x34e714[_0x4a19f2(0x582)][_0x4a19f2(0x3c4)](_0x2076d1=>_0x72af33(_0x34e714,_0x2076d1)),_0x2e34e9=[],_0x3749c1={..._0x1fc90f[_0x4a19f2(0x5b9)]??{}},_0x209e9f=typeof _0x3749c1[_0x4a19f2(0x348)]==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['startDateFieldId'])?_0x3749c1[_0x4a19f2(0x348)]:_0x43f190[0x0],_0x49bb6e=typeof _0x3749c1['endDateFieldId']==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['endDateFieldId'])&&_0x3749c1['endDateFieldId']!==_0x209e9f?_0x3749c1[_0x4a19f2(0x282)]:_0x43f190['find'](_0x53825c=>_0x53825c!==_0x209e9f);if(!_0x209e9f){let _0x186c55=_0x29e925(_0x34e714,_0x2e34e9,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)?_0x4a19f2(0x469):_0x4a19f2(0x494));_0x2e34e9[_0x4a19f2(0x401)](_0x186c55),_0x209e9f=_0x186c55['id'];}if((_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)||_0x301311)&&!_0x49bb6e){let _0x483f51=_0x29e925(_0x34e714,_0x2e34e9,'End\x20date');_0x2e34e9[_0x4a19f2(0x401)](_0x483f51),_0x49bb6e=_0x483f51['id'];}_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&!_0x49bb6e&&delete _0x3749c1['endDateFieldId'],_0x3749c1[_0x4a19f2(0x348)]=_0x209e9f,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&_0x49bb6e&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e),_0x1fc90f['type']==='gantt'&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e??_0x209e9f);let _0x19a958=_0x4091af(_0x1fc90f['fieldOrder'],_0x2e34e9[_0x4a19f2(0x329)](_0x108a8d=>_0x108a8d['id']));return{'changed':_0x2e34e9[_0x4a19f2(0x4e9)]>0x0||_0x3749c1[_0x4a19f2(0x348)]!==((_0x42c754=_0x1fc90f['config'])==null?void 0x0:_0x42c754[_0x4a19f2(0x348)])||_0x3749c1['endDateFieldId']!==((_0x2380d0=_0x1fc90f[_0x4a19f2(0x5b9)])==null?void 0x0:_0x2380d0[_0x4a19f2(0x282)])||!(!_0x19a958||_0x13cf76[_0x4a19f2(0x39a)]['diffValue'](_0x19a958,_0x1fc90f[_0x4a19f2(0x582)]??[])),'fields':_0x2e34e9,'config':_0x3749c1,'fieldOrder':_0x19a958};}function _0x34ead4(_0x96f838,_0x354486){const _0x4aaaca=_0x571676;var _0x3ea425;let _0x44e6e3=[],_0x365a58={..._0x354486[_0x4aaaca(0x5b9)]??{}},_0x12fe2a=typeof _0x365a58[_0x4aaaca(0x34f)]==_0x4aaaca(0x2b6)&&_0x4ef538(_0x96f838,_0x365a58['groupFieldId'])?_0x365a58['groupFieldId']:_0x96f838[_0x4aaaca(0x582)]['find'](_0x26a191=>_0x4ef538(_0x96f838,_0x26a191));if(!_0x12fe2a){let _0xb92dff=_0x2097c5(_0x96f838,_0x44e6e3);_0x44e6e3['push'](_0xb92dff),_0x12fe2a=_0xb92dff['id'];}_0x365a58[_0x4aaaca(0x34f)]=_0x12fe2a;let _0x304f7e=_0x4091af(_0x354486['fieldOrder'],_0x44e6e3[_0x4aaaca(0x329)](_0x4a0238=>_0x4a0238['id']));return{'changed':_0x44e6e3[_0x4aaaca(0x4e9)]>0x0||_0x365a58[_0x4aaaca(0x34f)]!==((_0x3ea425=_0x354486['config'])==null?void 0x0:_0x3ea425[_0x4aaaca(0x34f)])||!(!_0x304f7e||_0x13cf76[_0x4aaaca(0x39a)]['diffValue'](_0x304f7e,_0x354486[_0x4aaaca(0x582)]??[])),'fields':_0x44e6e3,'config':_0x365a58,'fieldOrder':_0x304f7e};}function _0x4ef538(_0x326344,_0x56ecf0){const _0x38a898=_0x571676;let _0x2b16db=_0x56ecf0?_0x326344['fields'][_0x56ecf0]:null;return _0x2b16db?[_0x13cf76[_0x38a898(0x517)][_0x38a898(0x221)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x247)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x238)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x43f)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x53b)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x55f)]][_0x38a898(0x358)](_0x2b16db['type']):!0x1;}function _0x2097c5(_0x2e842d,_0x2d8818){const _0x2453b4=_0x571676;return{'id':_0x2453b4(0x344)+(0x0,_0x13cf76['generateRandomId'])(0x8),'name':_0x1df899(_0x2e842d,_0x2453b4(0x47e),_0x2d8818),'type':_0x13cf76['BaseFieldType'][_0x2453b4(0x221)],'config':_0x13cf76[_0x2453b4(0x39a)][_0x2453b4(0x495)](_0x540277)};}function _0x15c391(_0x3e9f9b){const _0x541ae9=_0x571676;return Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x5b9)]??{})[_0x541ae9(0x4e9)]===0x0&&Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x3ea)]??{})['length']===0x0;}function _0x5a1454(_0x630b90,_0x576053,_0x225531){const _0x119712=_0x571676;let _0x1b5058={..._0x576053[_0x119712(0x5b9)]??{}},_0x4b18aa=_0x225531['map'](_0x51589d=>_0x51589d['id']),_0x57fa3f=[..._0x630b90['fieldOrder'],..._0x4b18aa],_0x942ebb=typeof _0x1b5058[_0x119712(0x41d)]=='string'&&_0x15b9c6(_0x630b90,_0x225531,_0x1b5058[_0x119712(0x41d)])?_0x1b5058[_0x119712(0x41d)]:_0x630b90[_0x119712(0x422)],_0x50790f=typeof _0x1b5058[_0x119712(0x348)]==_0x119712(0x2b6)?_0x1b5058[_0x119712(0x348)]:'',_0x4c0ff2=typeof _0x1b5058['endDateFieldId']==_0x119712(0x2b6)?_0x1b5058['endDateFieldId']:_0x50790f,_0x112141=new Set([_0x942ebb,_0x50790f,_0x4c0ff2]['filter'](_0x1ad5d3=>_0x1ad5d3&&_0x15b9c6(_0x630b90,_0x225531,_0x1ad5d3))),_0x646159=Object[_0x119712(0x1fc)](_0x57fa3f[_0x119712(0x387)](_0x98db5e=>_0x112141[_0x119712(0x370)](_0x98db5e)||!_0x15b9c6(_0x630b90,_0x225531,_0x98db5e)?[]:[[_0x98db5e,{'hidden':!0x0}]]));return{..._0x576053,'config':{..._0x1b5058,'titleFieldId':_0x942ebb},'fieldSettings':_0x646159};}function _0x15b9c6(_0x539143,_0x59f9a8,_0x9a0925){const _0x320ff7=_0x571676;return!!(_0x539143[_0x320ff7(0x3c2)][_0x9a0925]??_0x59f9a8[_0x320ff7(0x56a)](_0x44e3c5=>_0x44e3c5['id']===_0x9a0925))&&!0x0;}function _0x72af33(_0x546f0a,_0x352f65){const _0x524aff=_0x571676;let _0x8aa691=_0x352f65?_0x546f0a[_0x524aff(0x3c2)][_0x352f65]:null;return!!_0x8aa691&&_0x8aa691[_0x524aff(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x8aa691[_0x524aff(0x59b)]!==!0x0&&_0x8aa691[_0x524aff(0x4f8)]!==!0x0;}function _0x29e925(_0x2c5ae8,_0x3936a4,_0x111a04){const _0x4fff88=_0x571676;let _0x12fe71=new Set([...Object[_0x4fff88(0x2db)](_0x2c5ae8[_0x4fff88(0x3c2)]),..._0x3936a4[_0x4fff88(0x329)](_0x2339ca=>_0x2339ca['id'])]),_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);for(;_0x12fe71[_0x4fff88(0x370)](_0x142fdd);)_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);return{'id':_0x142fdd,'name':_0x1df899(_0x2c5ae8,_0x111a04,_0x3936a4),'type':_0x13cf76[_0x4fff88(0x517)]['Date'],'config':{..._0x289764}};}let _0x497b38={'id':_0x571676(0x498),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x4d9a3e,_0x49400f)=>{const _0x321ff5=_0x571676;if(!_0x49400f)return!0x1;let _0x2de39b=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x59e)]),{unitId:_0x59890c,tableId:_0x464d92,view:_0x6e5112,index:_0x344d5d}=_0x49400f,_0x156d07=_0x2de39b[_0x321ff5(0x363)](_0x59890c,_0x13cf76[_0x321ff5(0x331)]['UNIVER_BASE']);if(!_0x156d07||!_0x2062fb(_0x156d07,_0x464d92)||_0x156d07[_0x321ff5(0x463)]()[_0x321ff5(0x291)][_0x464d92][_0x321ff5(0x18d)][_0x6e5112['id']])return!0x1;let _0x56e4ca=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x1d3)]),_0x41ee06=_0x4d9a3e['get'](_0x13cf76[_0x321ff5(0x425)]),_0x2b7f9b=_0x156d07[_0x321ff5(0x463)](),_0x5ce8f5=_0x56c161(_0x2b7f9b,_0x464d92,_0x6e5112,_0x344d5d),_0x5b67dc=new _0x1aaf1b()['invertOp'](_0x2b7f9b,_0x5ce8f5),_0x4de8f4={'historyAction':_0x321ff5(0x424),'unitId':_0x59890c,'op':_0x5ce8f5,'viewType':_0x6e5112[_0x321ff5(0x292)]},_0x3827db={'historyAction':_0x321ff5(0x3c3),'unitId':_0x59890c,'op':_0x5b67dc,'viewType':_0x6e5112[_0x321ff5(0x292)]};return _0x56e4ca[_0x321ff5(0x56d)](_0x4d02c8['id'],_0x4de8f4)?(_0x2de39b[_0x321ff5(0x2bd)](_0x59890c),_0x41ee06[_0x321ff5(0x4f2)]({'unitID':_0x59890c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3827db}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4de8f4}]}),!0x0):!0x1;}},_0x1637ea={'id':_0x571676(0x599),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x301f31,_0x16a949){const _0xee02ee=_0x571676;if(!_0x16a949)return!0x1;let _0x235f16=_0x301f31[_0xee02ee(0x59c)](_0x13cf76[_0xee02ee(0x59e)]),{unitId:_0x350a38,tableId:_0x5e1c39,fieldId:_0x1dba58}=_0x16a949,_0x1cf310=_0x235f16[_0xee02ee(0x363)](_0x350a38,_0x13cf76[_0xee02ee(0x331)]['UNIVER_BASE']);if(!_0x1cf310)return!0x1;let _0x1531ee=_0x1cf310[_0xee02ee(0x463)](),_0x136573=_0x1531ee[_0xee02ee(0x291)][_0x5e1c39];if(!_0x2062fb(_0x1cf310,_0x5e1c39,{'fieldIds':[_0x1dba58]})||_0x136573['primaryFieldId']===_0x1dba58||_0x1dba58===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x2dc6e3=_0x301f31[_0xee02ee(0x59c)](_0x13cf76['ICommandService']),_0x5dfb75=_0x301f31['get'](_0x13cf76['IUndoRedoService']),_0x24e2eb=new _0x3db0f3()[_0xee02ee(0x36a)](_0x1531ee,_0x5e1c39,_0x1dba58),_0x21b6e8=new _0x1aaf1b()[_0xee02ee(0x4b4)](_0x1531ee,_0x24e2eb),_0x18c0fe={'unitId':_0x350a38,'op':_0x24e2eb},_0x3e3d77={'unitId':_0x350a38,'op':_0x21b6e8};return _0x2dc6e3[_0xee02ee(0x56d)](_0x4d02c8['id'],_0x18c0fe)?(_0x235f16['focusUnit'](_0x350a38),_0x5dfb75['pushUndoRedo']({'unitID':_0x350a38,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e3d77}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c0fe}]}),!0x0):!0x1;}},_0x1c859a={'id':_0x571676(0x438),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4ef41f,_0x183a4d)=>{const _0xb1f013=_0x571676;if(!_0x183a4d)return!0x1;let _0x409128=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x59e)]),{unitId:_0x9ae2f8,tableId:_0x530f30,recordId:_0x104ab5}=_0x183a4d,_0x240edd=_0x409128[_0xb1f013(0x363)](_0x9ae2f8,_0x13cf76[_0xb1f013(0x331)][_0xb1f013(0x321)]);if(!_0x240edd||!_0x2062fb(_0x240edd,_0x530f30,{'recordIds':[_0x104ab5]}))return!0x1;let _0x5c1196=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x1d3)]),_0x330634=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x425)]),_0x324522=_0x240edd[_0xb1f013(0x463)](),_0x3bb4f5=_0xaf3938(_0x324522['tables'][_0x530f30],[_0x104ab5]),_0x2d8339=new _0x3db0f3(),_0x12d190=new _0x1aaf1b(),_0x1b1173=_0x2d8339[_0xb1f013(0x5dc)](_0x324522,_0x530f30,_0x104ab5),_0x25f37a=_0x12d190[_0xb1f013(0x4d8)](_0x324522,_0x1b1173),_0x2cb1dd=_0x2d8339[_0xb1f013(0x41b)](_0x324522,_0x25f37a,_0x530f30,[_0x104ab5]),_0x4cef5a={'unitId':_0x9ae2f8,'op':_0x1b1173,'hierarchyChanges':_0x3bb4f5,'source':_0x183a4d[_0xb1f013(0x47d)]??'ui'},_0x1501cc={..._0x4cef5a,'source':'redo'},_0x3085f9={'unitId':_0x9ae2f8,'op':_0x2cb1dd,'hierarchyChanges':_0x3bb4f5['map'](_0x224fc0=>({..._0x224fc0,'oldParentRecordId':_0x224fc0['parentRecordId'],'parentRecordId':_0x224fc0['oldParentRecordId']})),'source':_0xb1f013(0x505)};return _0x5c1196[_0xb1f013(0x56d)](_0x4d02c8['id'],_0x4cef5a)?(_0x409128['focusUnit'](_0x9ae2f8),_0x330634[_0xb1f013(0x4f2)]({'unitID':_0x9ae2f8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3085f9}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1501cc}]}),!0x0):!0x1;}},_0x1608ef={'id':'base.command.delete-base-table','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3725df,_0x31653d)=>{const _0x45a322=_0x571676;if(!_0x31653d)return!0x1;let _0x25230f=_0x3725df['get'](_0x13cf76[_0x45a322(0x59e)]),{unitId:_0x4bb610,tableId:_0x2e966d}=_0x31653d,_0x4ebf52=_0x25230f[_0x45a322(0x363)](_0x4bb610,_0x13cf76['UniverInstanceType'][_0x45a322(0x321)]);if(!_0x4ebf52||!_0x2062fb(_0x4ebf52,_0x2e966d))return!0x1;let _0x48ca02=_0x3725df[_0x45a322(0x59c)](_0x13cf76[_0x45a322(0x1d3)]),_0xac9239=_0x3725df['get'](_0x13cf76[_0x45a322(0x425)]),_0x2e16e1=_0x4ebf52[_0x45a322(0x463)](),_0x479459=_0x520eb7(_0x2e16e1,_0x2e966d);if(_0x479459[_0x45a322(0x4e9)]>0x0)return console['error']('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x2e966d+'\x22\x20is\x20referenced\x20by\x20'+_0x479459['map'](_0x45dca5=>_0x45dca5['tableId']+'.'+_0x45dca5['fieldId'])[_0x45a322(0x4b9)](',\x20')+'.'),!0x1;let _0x4bef6c=new _0x3db0f3()[_0x45a322(0x214)](_0x2e16e1,_0x2e966d),_0xcb9c8d=new _0x1aaf1b()[_0x45a322(0x4b4)](_0x2e16e1,_0x4bef6c),_0x429fff={'unitId':_0x4bb610,'op':_0x4bef6c},_0xbd5d4d={'unitId':_0x4bb610,'op':_0xcb9c8d};return _0x48ca02[_0x45a322(0x56d)](_0x4d02c8['id'],_0x429fff)?(_0x25230f[_0x45a322(0x2bd)](_0x4bb610),_0xac9239[_0x45a322(0x4f2)]({'unitID':_0x4bb610,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xbd5d4d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x429fff}]}),!0x0):!0x1;}},_0x3cccd9={'id':_0x571676(0x237),'type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x50cb0f,_0x25a7e4)=>{const _0x22e93a=_0x571676;if(!_0x25a7e4)return!0x1;let _0x48a266=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76[_0x22e93a(0x59e)]),{unitId:_0x3848c9,tableId:_0x277ea6,viewId:_0x3d3674}=_0x25a7e4,_0x77d288=_0x48a266[_0x22e93a(0x363)](_0x3848c9,_0x13cf76[_0x22e93a(0x331)][_0x22e93a(0x321)]);if(!_0x77d288||!_0x2062fb(_0x77d288,_0x277ea6,{'viewIds':[_0x3d3674]}))return!0x1;let _0x100616=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['ICommandService']),_0x2c0501=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['IUndoRedoService']),_0xc75cc3=_0x77d288['getSnapshot'](),_0x5c9028=_0xc75cc3[_0x22e93a(0x291)][_0x277ea6][_0x22e93a(0x18d)][_0x3d3674][_0x22e93a(0x292)],_0x10fca6=new _0x3db0f3()[_0x22e93a(0x458)](_0xc75cc3,_0x277ea6,_0x3d3674),_0x503f3d=new _0x1aaf1b()[_0x22e93a(0x4b4)](_0xc75cc3,_0x10fca6),_0x5aef7a={'historyAction':_0x22e93a(0x3c3),'unitId':_0x3848c9,'op':_0x10fca6,'viewType':_0x5c9028},_0x47e682={'historyAction':_0x22e93a(0x424),'unitId':_0x3848c9,'op':_0x503f3d,'viewType':_0x5c9028};return _0x100616['syncExecuteCommand'](_0x4d02c8['id'],_0x5aef7a)?(_0x48a266[_0x22e93a(0x2bd)](_0x3848c9),_0x2c0501['pushUndoRedo']({'unitID':_0x3848c9,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x47e682}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5aef7a}]}),!0x0):!0x1;}},_0xa04f45={'id':_0x571676(0x30b),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x3206ff,_0x1177b5)=>{const _0x5021f0=_0x571676;if(!_0x1177b5)return!0x1;let _0x542ed2=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x59e)]),{unitId:_0x3bb1fd,tableId:_0x410c18,sourceFieldId:_0x57268f,field:_0x55c3bd,index:_0x19e28f,viewIndexes:_0x1ec45c}=_0x1177b5,_0x19736d=_0x542ed2['getUnit'](_0x3bb1fd,_0x13cf76[_0x5021f0(0x331)][_0x5021f0(0x321)]);if(!_0x19736d||!_0x2062fb(_0x19736d,_0x410c18,{'fieldIds':[_0x57268f]})||_0x57268f===_0x13cf76[_0x5021f0(0x544)]||_0x19736d[_0x5021f0(0x463)]()['tables'][_0x410c18]['fields'][_0x55c3bd['id']]||_0x19e28f===0x0||!_0x4e03f1(_0x19736d,_0x410c18,_0x55c3bd))return!0x1;let _0x5cc3da=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x1d3)]),_0x8355bd=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76['IUndoRedoService']),_0x1b3f33=_0x19736d[_0x5021f0(0x463)](),_0x16a8f7=new _0x3db0f3()[_0x5021f0(0x2cc)](_0x1b3f33,_0x410c18,_0x57268f,{'field':_0x55c3bd,'index':_0x19e28f,'viewIndexes':_0x1ec45c}),_0x1459e7=new _0x1aaf1b()['invertOp'](_0x1b3f33,_0x16a8f7),_0x106361={'unitId':_0x3bb1fd,'op':_0x16a8f7},_0x4bd98f={'unitId':_0x3bb1fd,'op':_0x1459e7};return _0x5cc3da[_0x5021f0(0x56d)](_0x4d02c8['id'],_0x106361)?(_0x542ed2[_0x5021f0(0x2bd)](_0x3bb1fd),_0x8355bd[_0x5021f0(0x4f2)]({'unitID':_0x3bb1fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd98f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x106361}]}),!0x0):!0x1;}},_0x5a49a5={'id':'base.command.duplicate-base-record','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x423b73,_0x598ffc)=>{const _0x22a57e=_0x571676;if(!_0x598ffc)return!0x1;let _0x264ebb=_0x423b73[_0x22a57e(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x403dfe,tableId:_0x70466,sourceRecordId:_0x134ef8,record:_0x18c4c2}=_0x598ffc,_0x54b961=_0x264ebb[_0x22a57e(0x363)](_0x403dfe,_0x13cf76[_0x22a57e(0x331)]['UNIVER_BASE']);if(!_0x54b961||!_0x2062fb(_0x54b961,_0x70466,{'recordIds':[_0x134ef8]})||!_0x1439a1(_0x54b961,_0x70466,_0x18c4c2))return!0x1;let _0x5e03de=_0x423b73[_0x22a57e(0x59c)](_0x13cf76[_0x22a57e(0x1d3)]),_0x325ded=_0x423b73['get'](_0x13cf76[_0x22a57e(0x425)]),_0xf1a81c=_0x54b961[_0x22a57e(0x463)](),_0xbe851b=_0x50277a(_0x18c4c2),_0x391d0f=_0x16b24a(_0xf1a81c[_0x22a57e(0x291)][_0x70466],[_0xbe851b]),_0x5d8c8a=new _0x3db0f3()['duplicateRecord'](_0xf1a81c,_0x70466,_0x134ef8,_0xbe851b),_0x4341c0=new _0x1aaf1b()[_0x22a57e(0x4b4)](_0xf1a81c,_0x5d8c8a),_0x561deb={'unitId':_0x403dfe,'op':_0x5d8c8a,'hierarchyChanges':_0x391d0f[_0x22a57e(0x4e9)]?_0x391d0f:void 0x0,'source':_0x391d0f[_0x22a57e(0x4e9)]?_0x598ffc[_0x22a57e(0x47d)]??'ui':void 0x0},_0x18d1bc={..._0x561deb,'source':_0x391d0f['length']?'redo':void 0x0},_0x478730={'unitId':_0x403dfe,'op':_0x4341c0,'hierarchyChanges':_0x391d0f['length']?_0x391d0f[_0x22a57e(0x329)](_0x2de863=>({..._0x2de863,'oldParentRecordId':_0x2de863['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x391d0f['length']?_0x22a57e(0x505):void 0x0};return _0x5e03de[_0x22a57e(0x56d)](_0x4d02c8['id'],_0x561deb)?(_0x264ebb[_0x22a57e(0x2bd)](_0x403dfe),_0x325ded[_0x22a57e(0x4f2)]({'unitID':_0x403dfe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x478730}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18d1bc}]}),!0x0):!0x1;}},_0x26e35d={'id':_0x571676(0x3a0),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x4d9f59,_0x47db22){const _0x58de18=_0x571676;if(!_0x47db22)return!0x1;let _0x2f18ba=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x59e)]),{unitId:_0x45747d,tableId:_0x253d55,viewId:_0x4bf3ce,ensureEndDateField:_0x51d736}=_0x47db22,_0x390e73=_0x2f18ba[_0x58de18(0x363)](_0x45747d,_0x13cf76[_0x58de18(0x331)][_0x58de18(0x321)]);if(!_0x390e73||!_0x2062fb(_0x390e73,_0x253d55,{'viewIds':[_0x4bf3ce]}))return!0x1;let _0x5c849d=_0x390e73[_0x58de18(0x463)](),_0x50f95a=_0x5c849d['tables'][_0x253d55],_0x535537=_0x50f95a==null?void 0x0:_0x50f95a['views'][_0x4bf3ce];if(!_0x50f95a||!_0x535537||_0x535537[_0x58de18(0x292)]!==_0x58de18(0x2ca)&&_0x535537[_0x58de18(0x292)]!==_0x58de18(0x23d))return!0x1;let _0x1608a9=_0x2abe27(_0x50f95a,_0x535537,_0x51d736===!0x0);if(!_0x1608a9[_0x58de18(0x411)])return!0x1;let _0x85f458=_0x4d9f59['get'](_0x13cf76[_0x58de18(0x1d3)]),_0x37f2b7=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x425)]),_0x10e1bb=new _0x3db0f3(),_0x2e6e87=[..._0x1608a9[_0x58de18(0x3c2)]['map'](_0x1e91b5=>_0x10e1bb[_0x58de18(0x444)](_0x5c849d,_0x47db22[_0x58de18(0x33f)],{'field':_0x1e91b5})),_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22[_0x58de18(0x1ca)]),'config'],_0x535537['config'],_0x1608a9[_0x58de18(0x5b9)])];_0x1608a9[_0x58de18(0x582)]&&_0x2e6e87['push'](_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22['viewId']),_0x58de18(0x582)],_0x535537[_0x58de18(0x582)],_0x1608a9[_0x58de18(0x582)]));let _0xd66981=_0x16f182(_0x2e6e87),_0x5e3eaf=new _0x1aaf1b()[_0x58de18(0x4b4)](_0x5c849d,_0xd66981),_0x2c5895={'unitId':_0x45747d,'op':_0xd66981},_0x583baa={'unitId':_0x45747d,'op':_0x5e3eaf};return _0x85f458[_0x58de18(0x56d)](_0x4d02c8['id'],_0x2c5895)?(_0x2f18ba[_0x58de18(0x2bd)](_0x45747d),_0x37f2b7[_0x58de18(0x4f2)]({'unitID':_0x45747d,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x583baa}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2c5895}]}),!0x0):!0x1;}};function _0x96e035(_0x4b62b3,_0x242076,_0x3acf43){const _0x313f71=_0x571676;return _0x242076===void 0x0?_0x13cf76[_0x313f71(0x575)][_0x313f71(0x48c)](_0x4b62b3,_0x3acf43):_0x13cf76[_0x313f71(0x575)][_0x313f71(0x1b4)](_0x4b62b3,_0x242076,_0x3acf43);}function _0x46ef2c(_0x4c8819,_0x54ac75){const _0x1fbc41=_0x571676;return[_0x1fbc41(0x291),_0x4c8819,_0x1fbc41(0x18d),_0x54ac75];}let _0x6cfbf6={'id':'base.command.move-base-field','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x1f157a,_0x4a95bc)=>{const _0x551bcf=_0x571676;if(!_0x4a95bc)return!0x1;let _0xca3776=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x59e)]),{unitId:_0x41b5c5,tableId:_0x36baee,fieldId:_0x5518be,target:_0x180025}=_0x4a95bc,_0x55fc82=_0xca3776[_0x551bcf(0x363)](_0x41b5c5,_0x13cf76[_0x551bcf(0x331)][_0x551bcf(0x321)]),_0x58fcfa=_0x180025[_0x551bcf(0x2a9)]??_0x180025[_0x551bcf(0x319)];if(!_0x55fc82||!!_0x180025[_0x551bcf(0x2a9)]==!!_0x180025[_0x551bcf(0x319)]||!_0x58fcfa||_0x58fcfa===_0x5518be||_0x5518be===_0x13cf76[_0x551bcf(0x544)]||_0x180025['beforeFieldId']===_0x13cf76[_0x551bcf(0x544)]||!_0x2062fb(_0x55fc82,_0x36baee,{'fieldIds':[_0x5518be,_0x58fcfa]}))return!0x1;let _0x2898c6=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x1d3)]),_0x342ebd=_0x1f157a[_0x551bcf(0x59c)](_0x13cf76[_0x551bcf(0x425)]),_0x237ab1=_0x55fc82[_0x551bcf(0x463)](),_0x39aea2=new _0x3db0f3()[_0x551bcf(0x1c4)](_0x237ab1,_0x36baee,_0x5518be,_0x180025),_0x2e4d78=new _0x1aaf1b()[_0x551bcf(0x4b4)](_0x237ab1,_0x39aea2),_0x29159d={'unitId':_0x41b5c5,'op':_0x39aea2},_0x24aa09={'unitId':_0x41b5c5,'op':_0x2e4d78};return _0x2898c6[_0x551bcf(0x56d)](_0x4d02c8['id'],_0x29159d)?(_0xca3776[_0x551bcf(0x2bd)](_0x41b5c5),_0x342ebd['pushUndoRedo']({'unitID':_0x41b5c5,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x24aa09}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x29159d}]}),!0x0):!0x1;}},_0x222f05={'id':_0x571676(0x533),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2a90d1,_0x4a4a49)=>{const _0x29391e=_0x571676;var _0x2cb3ef;if(!_0x4a4a49)return!0x1;let {unitId:_0x2246fd,tableId:_0x2c6f71,recordId:_0xf91305,parentRecordId:_0x5c6e13,orderKey:_0x57c945}=_0x4a4a49,_0xbc82d7=_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x59e)]),_0x1d36f9=_0xbc82d7[_0x29391e(0x363)](_0x2246fd,_0x13cf76[_0x29391e(0x331)][_0x29391e(0x321)]);if(!_0x1d36f9||!_0x2062fb(_0x1d36f9,_0x2c6f71,{'recordIds':[_0xf91305,..._0x5c6e13?[_0x5c6e13]:[]]}))throw new _0x2dec10(_0x29391e(0x2ba));let _0x176625=_0x1d36f9[_0x29391e(0x463)](),_0x403022=_0x176625[_0x29391e(0x291)][_0x2c6f71],_0x48be04=_0x19ec27(_0x403022),_0x2b3f1c=_0x48be04??_0x4a4a49[_0x29391e(0x384)]??_0x2d5926(_0x403022);if(_0x48be04&&_0x4a4a49['fieldId']&&_0x4a4a49[_0x29391e(0x384)]!==_0x48be04||_0x403022['fields'][_0x2b3f1c]&&!_0x53a126(_0x403022,_0x2b3f1c))throw new _0x2dec10('invalidField');let _0x324116=_0x4067d3(_0x403022,_0x2b3f1c),_0x417ef3=_0x158fff(_0x324116,_0xf91305,_0x5c6e13);if(!_0x417ef3[_0x29391e(0x49e)])throw new _0x2dec10(_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x2d4)]?_0x29391e(0x41c):_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x375)]?_0x29391e(0x3f4):_0x29391e(0x2ab));let _0x22bd43=_0x324116['parentByRecordId']['get'](_0xf91305)??null,_0x3c6882=_0x403022[_0x29391e(0x38f)][_0xf91305]['orderKey'];if(_0x22bd43===_0x5c6e13&&(_0x57c945===void 0x0||_0x57c945===_0x3c6882))return!0x0;let _0x1ee63b=_0x22bd43!==_0x5c6e13,_0x460b03=_0x57c945!==void 0x0&&_0x57c945!==_0x3c6882,_0x29c492=new _0x3db0f3(),_0x5555d1=[],_0x1ab553=_0x403022[_0x29391e(0x3c2)][_0x2b3f1c],_0x5d301f=_0x1ee63b&&(!_0x1ab553||((_0x2cb3ef=_0x51db2d(_0x1ab553))==null?void 0x0:_0x2cb3ef['relationRole'])!==_0x13cf76['BaseRecordLinkRole'][_0x29391e(0x4ce)])?_0x1ab553?_0x29c492['updateField'](_0x176625,_0x2c6f71,_0x2b3f1c,{'config':{..._0x1ab553[_0x29391e(0x5b9)],'relationRole':_0x13cf76[_0x29391e(0x521)][_0x29391e(0x4ce)]}}):_0x2a90d1[_0x29391e(0x59c)](_0x5cf6f3)[_0x29391e(0x586)](_0x1d36f9,_0x2c6f71,_0xb8ceba(_0x403022,_0x2b3f1c,_0x4a4a49[_0x29391e(0x57e)]),_0x403022[_0x29391e(0x582)]['length']):null;_0x5d301f&&_0x5555d1['push'](_0x5d301f),_0x1ee63b&&_0x5555d1[_0x29391e(0x401)](_0x29c492['updateCell'](_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c,_0x5c6e13?_0xddc2f4([_0x5c6e13]):'')),_0x460b03&&_0x5555d1[_0x29391e(0x401)](_0x29c492[_0x29391e(0x1ad)](_0x176625,_0x2c6f71,_0xf91305,_0x57c945));let _0xcf15=_0x16f182(_0x5555d1),_0x9c0775={'tableId':_0x2c6f71,'fieldId':_0x2b3f1c,'recordId':_0xf91305,'oldParentRecordId':_0x22bd43,'parentRecordId':_0x5c6e13},_0x3e8b65={'unitId':_0x2246fd,'op':_0xcf15,'trigger':_0x222f05['id'],'hierarchyChanges':[_0x9c0775],'source':_0x4a4a49[_0x29391e(0x47d)]??'ui'},_0x5b567f={..._0x3e8b65,'source':_0x29391e(0x3ee)};if(!_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x1d3)])[_0x29391e(0x56d)](_0x4d02c8['id'],_0x3e8b65))return!0x1;let _0x25108c=_0x1d36f9['getSnapshot'](),_0x2704fc=[];_0x1ee63b&&_0x2704fc['push'](_0x429542(_0x25108c,_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c)),_0x460b03&&_0x2704fc['push'](_0x1f4f07(_0x25108c,_0x176625,_0x2c6f71,_0xf91305)),_0x5d301f&&_0x2704fc[_0x29391e(0x401)](new _0x1aaf1b()[_0x29391e(0x4b4)](_0x176625,_0x5d301f));let _0xf105df={'unitId':_0x2246fd,'op':_0x16f182(_0x2704fc),'trigger':_0x222f05['id'],'hierarchyChanges':[{..._0x9c0775,'oldParentRecordId':_0x5c6e13,'parentRecordId':_0x22bd43}],'source':_0x29391e(0x505)};return _0xbc82d7[_0x29391e(0x2bd)](_0x2246fd),_0x2a90d1[_0x29391e(0x59c)](_0x13cf76['IUndoRedoService'])[_0x29391e(0x4f2)]({'unitID':_0x2246fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xf105df}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b567f}]}),!0x0;}};function _0x429542(_0x1b6e05,_0x525d02,_0xdbc375,_0x41ce4,_0xf469f9){const _0x532a8c=_0x571676;var _0x3f2142,_0x364ef2,_0x596e36,_0x50459a,_0x57eb71,_0x3e033e,_0x5168e8,_0x4d852d;let _0x490dd2=_0x1b6e05['tables'][_0xdbc375],_0x5c55bd=_0x525d02[_0x532a8c(0x291)][_0xdbc375],_0xdb4b94=(_0x3f2142=_0x490dd2[_0x532a8c(0x563)])==null?void 0x0:_0x3f2142[_0x41ce4],_0x6cd918=(_0x364ef2=_0x490dd2[_0x532a8c(0x28e)])==null?void 0x0:_0x364ef2[_0xf469f9],_0x49daae=(_0x596e36=_0x5c55bd[_0x532a8c(0x563)])==null?void 0x0:_0x596e36[_0x41ce4],_0x12fe1f=(_0x50459a=_0x5c55bd[_0x532a8c(0x28e)])==null?void 0x0:_0x50459a[_0xf469f9],_0x10d3b2=_0xdb4b94==null||_0x6cd918==null||(_0x57eb71=_0x490dd2[_0x532a8c(0x38e)])==null||(_0x57eb71=_0x57eb71[_0xdb4b94])==null?void 0x0:_0x57eb71[_0x6cd918],_0x1ce72b=_0x49daae==null||_0x12fe1f==null||(_0x3e033e=_0x5c55bd['cellData'])==null||(_0x3e033e=_0x3e033e[_0x49daae])==null?void 0x0:_0x3e033e[_0x12fe1f],_0x4f9246=(_0x5168e8=_0x490dd2[_0x532a8c(0x38f)][_0x41ce4])==null?void 0x0:_0x5168e8[_0x532a8c(0x334)][_0xf469f9],_0x4a653e=(_0x4d852d=_0x5c55bd['records'][_0x41ce4])==null?void 0x0:_0x4d852d[_0x532a8c(0x334)][_0xf469f9],_0x4e4a7c=[],_0xd66763=_0x4d0b33(_0xdb4b94==null||_0x6cd918==null?null:_0x4c83f7[_0x532a8c(0x38e)](_0xdbc375,_0xdb4b94,_0x6cd918),_0x10d3b2,_0x1ce72b);_0xd66763&&_0x4e4a7c['push'](_0xd66763);let _0x4f445a=_0x4d0b33(_0x4c83f7[_0x532a8c(0x4d1)](_0xdbc375,_0x41ce4,_0xf469f9),_0x4f9246,_0x4a653e);return _0x4f445a&&_0x4e4a7c[_0x532a8c(0x401)](_0x4f445a),_0x16f182(_0x4e4a7c);}function _0x1f4f07(_0x5a16c6,_0x5a8fa0,_0x411018,_0x5f3aa2){const _0x5dbd94=_0x571676;var _0x416e58,_0x19f95b;let _0x52defd=_0x5a16c6[_0x5dbd94(0x291)][_0x411018],_0x38e30f=_0x5a8fa0[_0x5dbd94(0x291)][_0x411018];return _0x16f182([_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4a9)](_0x411018,_0x5f3aa2),_0x5dbd94(0x34c)],(_0x416e58=_0x52defd[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x416e58[_0x5dbd94(0x34c)],(_0x19f95b=_0x38e30f[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x19f95b[_0x5dbd94(0x34c)]),_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4b7)](_0x411018),_0x5dbd94(0x1cd)],_0x52defd['recordOrder'],_0x38e30f[_0x5dbd94(0x1cd)])][_0x5dbd94(0x3c4)](_0x10be8e=>!!_0x10be8e));}function _0x4d0b33(_0x180fec,_0x4c51f1,_0xfef920){const _0x3155bd=_0x571676;if(!_0x180fec||_0x4c51f1===void 0x0&&_0xfef920===void 0x0)return null;let _0xa8206=_0x13cf76['JSONX'][_0x3155bd(0x381)]();return _0xfef920===void 0x0?_0xa8206['removeOp'](_0x180fec,_0x4c51f1):_0x4c51f1===void 0x0?_0xa8206[_0x3155bd(0x48c)](_0x180fec,_0xfef920):_0xa8206['replaceOp'](_0x180fec,_0x4c51f1,_0xfef920);}let _0x2011a2={'id':'base.command.move-base-view','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3a8687,_0x337883)=>{const _0x429a8c=_0x571676;if(!_0x337883)return!0x1;let _0x1cfd36=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x59e)]),{unitId:_0x4f1ddf,tableId:_0x357390,viewId:_0x33b395,target:_0x5d3e70}=_0x337883,_0x108248=_0x1cfd36[_0x429a8c(0x363)](_0x4f1ddf,_0x13cf76[_0x429a8c(0x331)]['UNIVER_BASE']),_0x542c17=_0x5d3e70[_0x429a8c(0x262)]??_0x5d3e70[_0x429a8c(0x338)];if(!_0x108248||!_0x542c17||_0x542c17===_0x33b395||!_0x2062fb(_0x108248,_0x357390,{'viewIds':[_0x33b395,_0x542c17]}))return!0x1;let _0x375dd0=_0x3a8687[_0x429a8c(0x59c)](_0x13cf76[_0x429a8c(0x1d3)]),_0x19f4f5=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x425)]),_0x1aee23=_0x108248['getSnapshot'](),_0x228270=new _0x3db0f3()[_0x429a8c(0x5b5)](_0x1aee23,_0x357390,_0x33b395,_0x5d3e70),_0x24aa2c=new _0x1aaf1b()[_0x429a8c(0x4b4)](_0x1aee23,_0x228270),_0x4a24ad={'unitId':_0x4f1ddf,'op':_0x228270},_0x2f5319={'unitId':_0x4f1ddf,'op':_0x24aa2c};return _0x375dd0[_0x429a8c(0x56d)](_0x4d02c8['id'],_0x4a24ad)?(_0x1cfd36[_0x429a8c(0x2bd)](_0x4f1ddf),_0x19f4f5['pushUndoRedo']({'unitID':_0x4f1ddf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2f5319}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4a24ad}]}),!0x0):!0x1;}},_0x5bf158={'id':_0x571676(0x259),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x150784,_0x287f1b)=>{const _0x5a437a=_0x571676;if(!_0x287f1b)return!0x1;let _0x15567f=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x59e)]),{unitId:_0x4debfb,tableId:_0x5f22d3,name:_0x49b189}=_0x287f1b,_0x314ac5=_0x15567f[_0x5a437a(0x363)](_0x4debfb,_0x13cf76['UniverInstanceType'][_0x5a437a(0x321)]);if(!_0x314ac5||!_0x2062fb(_0x314ac5,_0x5f22d3)||!_0x475287(_0x314ac5[_0x5a437a(0x463)](),_0x49b189,_0x5f22d3)[_0x5a437a(0x49e)])return!0x1;let _0x3eb1aa=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x1d3)]),_0x413fab=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x425)]),_0x14d76a=_0x314ac5[_0x5a437a(0x463)](),_0x3630f9=new _0x3db0f3()[_0x5a437a(0x429)](_0x14d76a,_0x5f22d3,_0x49b189),_0x5070eb=new _0x1aaf1b()['invertOp'](_0x14d76a,_0x3630f9),_0x1f0df4={'unitId':_0x4debfb,'op':_0x3630f9},_0x5457e1={'unitId':_0x4debfb,'op':_0x5070eb};return _0x3eb1aa['syncExecuteCommand'](_0x4d02c8['id'],_0x1f0df4)?(_0x15567f[_0x5a437a(0x2bd)](_0x4debfb),_0x413fab[_0x5a437a(0x4f2)]({'unitID':_0x4debfb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5457e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1f0df4}]}),!0x0):!0x1;}},_0x1df208={'id':_0x571676(0x18f),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4b67fd,_0x3dd114)=>{const _0x516a79=_0x571676;if(!_0x3dd114)return!0x1;let _0x4be02f=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0xb0d7e3,tableId:_0x1477e7,viewId:_0x391f04,name:_0x483ae5}=_0x3dd114,_0x17c200=_0x4be02f[_0x516a79(0x363)](_0xb0d7e3,_0x13cf76[_0x516a79(0x331)]['UNIVER_BASE']);if(!_0x17c200||!_0x2062fb(_0x17c200,_0x1477e7,{'viewIds':[_0x391f04]}))return!0x1;let _0x765872=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x1d3)]),_0x199d73=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x425)]),_0x449868=_0x17c200[_0x516a79(0x463)](),_0x451042=new _0x3db0f3()[_0x516a79(0x455)](_0x449868,_0x1477e7,_0x391f04,_0x483ae5),_0x50141e=new _0x1aaf1b()[_0x516a79(0x4b4)](_0x449868,_0x451042),_0x487f2e={'unitId':_0xb0d7e3,'op':_0x451042},_0x277f9f={'unitId':_0xb0d7e3,'op':_0x50141e};return _0x765872[_0x516a79(0x56d)](_0x4d02c8['id'],_0x487f2e)?(_0x4be02f[_0x516a79(0x2bd)](_0xb0d7e3),_0x199d73[_0x516a79(0x4f2)]({'unitID':_0xb0d7e3,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x277f9f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x487f2e}]}),!0x0):!0x1;}},_0x747472={'id':'base.command.set-base-kanban-group-field','type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x4cb567,_0x155b80)=>{const _0x3f2319=_0x571676;if(!_0x155b80)return!0x1;let _0x3b8709=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x200feb,tableId:_0x3f0dec,viewId:_0x45e8d8,fieldId:_0x3a6dce}=_0x155b80,_0x1e1294=_0x3b8709[_0x3f2319(0x363)](_0x200feb,_0x13cf76['UniverInstanceType'][_0x3f2319(0x321)]);if(!_0x1e1294||!_0x2062fb(_0x1e1294,_0x3f0dec,{'viewIds':[_0x45e8d8],'fieldIds':[_0x3a6dce]}))return!0x1;let _0x348c4a=_0x4cb567['get'](_0x13cf76[_0x3f2319(0x1d3)]),_0xc15ca0=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76[_0x3f2319(0x425)]),_0x448f43=_0x1e1294[_0x3f2319(0x463)](),_0x41924f=new _0x3db0f3()['updateViewConfig'](_0x448f43,_0x3f0dec,_0x45e8d8,{'groupFieldId':_0x3a6dce}),_0x38865c=new _0x1aaf1b()[_0x3f2319(0x4b4)](_0x448f43,_0x41924f),_0x3f0fff={'unitId':_0x200feb,'op':_0x41924f},_0x44b1b2={'unitId':_0x200feb,'op':_0x38865c};return _0x348c4a[_0x3f2319(0x56d)](_0x4d02c8['id'],_0x3f0fff)?(_0x3b8709[_0x3f2319(0x2bd)](_0x200feb),_0xc15ca0[_0x3f2319(0x4f2)]({'unitID':_0x200feb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x44b1b2}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3f0fff}]}),!0x0):!0x1;}},_0x55d71e={'id':'base.command.set-base-name','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xc2ced0,_0x2c83c3)=>{const _0x23f490=_0x571676;if(!_0x2c83c3)return!0x1;let _0x12558e=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x59e)]),_0x5823c9=_0x12558e['getUnit'](_0x2c83c3['unitId'],_0x13cf76['UniverInstanceType'][_0x23f490(0x321)]);if(!_0x5823c9)return!0x1;let _0x50dc60=_0x5823c9['getSnapshot']()['name'];if(_0x50dc60===_0x2c83c3[_0x23f490(0x46d)])return!0x0;let _0x1e9495=new _0x3db0f3(),_0x4a8b7d=new _0x1aaf1b(),_0x5bcc19=[],_0x452690=[],_0x1a3223=[_0x5823c9,..._0x12558e[_0x23f490(0x4bd)](_0x13cf76[_0x23f490(0x331)][_0x23f490(0x321)])[_0x23f490(0x3c4)](_0x257073=>_0x257073[_0x23f490(0x5ca)]()!==_0x2c83c3['unitId'])];for(let _0x447072 of _0x1a3223){let _0xda3118=_0x447072['getSnapshot'](),_0x319f47=_0x447072===_0x5823c9?_0x1e9495[_0x23f490(0x3b9)](_0xda3118,_0x2c83c3[_0x23f490(0x46d)]):_0x1e9495[_0x23f490(0x3f7)](_0xda3118,_0x50dc60,_0x2c83c3[_0x23f490(0x46d)]);_0x319f47&&(_0x5bcc19[_0x23f490(0x401)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x319f47,'trigger':_0x55d71e['id']}}),_0x452690[_0x23f490(0x1c1)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x4a8b7d['invertOp'](_0xda3118,_0x319f47),'trigger':_0x55d71e['id']}}));}let _0x143c2b=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x1d3)]),_0x497459=_0xc2ced0['get'](_0x13cf76[_0x23f490(0x425)]),_0x27f0fc=_0x497459[_0x23f490(0x1d0)](_0x2c83c3[_0x23f490(0x2aa)]);try{return(0x0,_0x13cf76[_0x23f490(0x31a)])(_0x5bcc19,_0x143c2b)['result']?(_0x12558e[_0x23f490(0x2bd)](_0x2c83c3[_0x23f490(0x2aa)]),_0x497459[_0x23f490(0x4f2)]({'unitID':_0x2c83c3[_0x23f490(0x2aa)],'undoMutations':_0x452690,'redoMutations':_0x5bcc19}),!0x0):!0x1;}finally{_0x27f0fc[_0x23f490(0x230)]();}}},_0x7879f9={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':_0x571676(0x430),async 'handler'(_0x2be30d,_0x57caad){const _0x52859a=_0x571676;if(!_0x57caad||!_0x147f37['includes'](_0x57caad[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x57caad[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)][_0x52859a(0x5a0)]||_0x57caad[_0x52859a(0x554)]&&(![_0x52859a(0x4c3),_0x52859a(0x2d0),_0x52859a(0x2b1)]['includes'](_0x57caad[_0x52859a(0x554)][_0x52859a(0x5e1)])||_0x57caad[_0x52859a(0x554)][_0x52859a(0x3da)]['some'](_0x5544f4=>!_0x147f37[_0x52859a(0x358)](_0x5544f4[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x5544f4[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)]['Edit'])))return!0x1;let _0x2865a1=_0x41f091(_0x57caad[_0x52859a(0x2aa)],_0x57caad[_0x52859a(0x3f3)],_0x57caad[_0x52859a(0x2b9)]),_0x1535b6={'unitId':_0x57caad['unitId'],'objectId':_0x57caad['objectId'],'objectType':_0x2865a1['type']},_0x316e8b=_0x2be30d[_0x52859a(0x59c)](_0x13cf76[_0x52859a(0x4fa)]);return _0x57caad[_0x52859a(0x349)]?await _0x316e8b[_0x52859a(0x349)](_0x1535b6):_0x57caad[_0x52859a(0x554)]?await _0x316e8b[_0x52859a(0x58e)](_0x1535b6,_0x57caad['policy']):await _0x316e8b['setPoint'](_0x1535b6,_0x2865a1,_0x57caad[_0x52859a(0x315)]),!0x0;}},_0x1d1662={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':'base.command.set-permissions',async 'handler'(_0x43357c,_0x2b33d9){const _0x2e8a47=_0x571676;if(!(_0x2b33d9!=null&&_0x2b33d9[_0x2e8a47(0x2aa)])||!Array[_0x2e8a47(0x21f)](_0x2b33d9[_0x2e8a47(0x342)])||!_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x4e9)]||_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x1ab)](_0x2133b0=>!(_0x2133b0!=null&&_0x2133b0[_0x2e8a47(0x3f3)])||_0x2133b0[_0x2e8a47(0x3f3)]===_0x2b33d9[_0x2e8a47(0x2aa)]||_0x2133b0[_0x2e8a47(0x554)]!==null&&(!_0x2133b0[_0x2e8a47(0x554)]||![_0x2e8a47(0x4c3),_0x2e8a47(0x2d0),_0x2e8a47(0x2b1)][_0x2e8a47(0x358)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x5e1)])||!Array[_0x2e8a47(0x21f)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x572)])||!Array['isArray'](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)])||_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)][_0x2e8a47(0x1ab)](_0x1df5f0=>_0x1df5f0[_0x2e8a47(0x2b9)]!==_0x93a0d4[_0x2e8a47(0x2a0)][_0x2e8a47(0x5a0)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x43357c[_0x2e8a47(0x59c)](_0x13cf76[_0x2e8a47(0x4fa)])[_0x2e8a47(0x2df)](_0x2b33d9['changes'][_0x2e8a47(0x329)](_0x223bfd=>{const _0x140f0f=_0x2e8a47;let _0x3d2683=_0x41f091(_0x2b33d9[_0x140f0f(0x2aa)],_0x223bfd[_0x140f0f(0x3f3)],_0x93a0d4[_0x140f0f(0x2a0)][_0x140f0f(0x5a0)]);return{'unitId':_0x2b33d9['unitId'],'objectId':_0x223bfd['objectId'],'objectType':_0x3d2683[_0x140f0f(0x292)],'policy':_0x223bfd['policy']};}));}};function _0x57c380(_0x43032e,_0x229c2c){const _0x401031=_0x571676;let _0x593bef=_0x48b6e1(_0x13cf76[_0x401031(0x39a)]['deepClone'](_0x43032e)),_0x1c5c13=new Map();return _0x229c2c[_0x401031(0x3c9)](_0x4c3768=>{const _0x5ec599=_0x401031;var _0x2f011a,_0x4da10c;let _0x814dca=_0x5ec599(0x5c4)in _0x4c3768?_0x4c3768[_0x5ec599(0x5c4)]:(_0x2f011a=_0x593bef[_0x5ec599(0x556)])==null?void 0x0:_0x2f011a[_0x4c3768[_0x5ec599(0x22f)]],_0x42b38c=_0x5ec599(0x384)in _0x4c3768?_0x4c3768[_0x5ec599(0x384)]:(_0x4da10c=_0x593bef['colId'])==null?void 0x0:_0x4da10c[_0x4c3768[_0x5ec599(0x5ac)]],_0x16d93d=_0x42b38c?_0x593bef['fields'][_0x42b38c]:void 0x0;if(!_0x814dca||!_0x42b38c||!_0x16d93d||!_0x593bef[_0x5ec599(0x38f)][_0x814dca])return;let _0x183d4a=_0x4c5834(_0x4c3768['value'],_0x16d93d),_0xf4b925=_0x19f247(_0x4c3768[_0x5ec599(0x315)],_0x183d4a,_0x16d93d,_0x593bef,_0x814dca),_0x35b542=_0x1c5c13[_0x5ec599(0x59c)](_0x814dca)??{};_0x35b542[_0x42b38c]=_0xf4b925,_0x1c5c13[_0x5ec599(0x569)](_0x814dca,_0x35b542);}),[..._0x1c5c13][_0x401031(0x329)](([_0x48617f,_0x688c51])=>({'recordId':_0x48617f,'values':_0x688c51}));}let _0x7cb956={'id':_0x571676(0x3b5),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x302425,_0x10d268){const _0x30e83b=_0x571676;if(!_0x10d268)return!0x1;let _0x2be188=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x59e)]),{unitId:_0x6df541,tableId:_0x88b154,patches:_0x239929}=_0x10d268,_0x4dedf3=_0x2be188[_0x30e83b(0x363)](_0x6df541,_0x13cf76[_0x30e83b(0x331)][_0x30e83b(0x321)]);if(!_0x4dedf3||!_0x2062fb(_0x4dedf3,_0x88b154))return!0x1;let _0x1c793f=_0x302425['get'](_0x13cf76[_0x30e83b(0x1d3)]),_0x30d83d=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x425)]),_0x3107ef=_0x4dedf3[_0x30e83b(0x463)](),_0x14a4da=_0x48b6e1(_0x3107ef['tables'][_0x88b154]),_0x2ca8b1=_0x239929[_0x30e83b(0x329)](_0x499968=>{const _0x43fe61=_0x30e83b;var _0x3c597d;return _0x43fe61(0x5c4)in _0x499968?_0x499968['recordId']:(_0x3c597d=_0x14a4da[_0x43fe61(0x556)])==null?void 0x0:_0x3c597d[_0x499968[_0x43fe61(0x22f)]];})[_0x30e83b(0x3c4)](_0x134201=>_0x134201!=null),_0xfd3e3c=_0x239929[_0x30e83b(0x329)](_0xa4f112=>{const _0x5688f7=_0x30e83b;var _0x42e8a2;return'fieldId'in _0xa4f112?_0xa4f112['fieldId']:(_0x42e8a2=_0x14a4da[_0x5688f7(0x351)])==null?void 0x0:_0x42e8a2[_0xa4f112['col']];})[_0x30e83b(0x3c4)](_0x481d6f=>_0x481d6f!=null);if(_0x2ca8b1[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||_0xfd3e3c[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||!_0x2062fb(_0x4dedf3,_0x88b154,{'recordIds':_0x2ca8b1,'fieldIds':_0xfd3e3c})||_0x239929['some']((_0x1bcc9d,_0x547de6)=>!_0x2432ed(_0x4dedf3,_0x88b154,_0xfd3e3c[_0x547de6],_0x1bcc9d['value'])))return!0x1;let _0x30055e=_0x226acd(_0x14a4da,_0x57c380(_0x14a4da,_0x239929)),_0x403e04=_0x239929[_0x30e83b(0x387)](_0x2e3ce9=>{const _0x57c806=_0x30e83b;var _0x58a68f,_0x4ac199;if(_0x57c806(0x22f)in _0x2e3ce9)return[_0x2e3ce9];let _0x150421=(_0x58a68f=_0x14a4da[_0x57c806(0x563)])==null?void 0x0:_0x58a68f[_0x2e3ce9['recordId']],_0x3ff5ab=(_0x4ac199=_0x14a4da[_0x57c806(0x28e)])==null?void 0x0:_0x4ac199[_0x2e3ce9[_0x57c806(0x384)]];return _0x150421==null||_0x3ff5ab==null?[]:[{'row':_0x150421,'col':_0x3ff5ab,'value':_0x2e3ce9[_0x57c806(0x315)]}];}),_0x21b0a7=new _0x3db0f3()[_0x30e83b(0x23a)](_0x3107ef,_0x88b154,_0x403e04),_0xe2c4ed=new _0x1aaf1b()[_0x30e83b(0x4b4)](_0x3107ef,_0x21b0a7),_0x4bd308={'unitId':_0x6df541,'op':_0x21b0a7,'trigger':_0x30055e['length']?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e:void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'redo':void 0x0},_0x36f2d6={'unitId':_0x6df541,'op':_0xe2c4ed,'trigger':_0x30055e[_0x30e83b(0x4e9)]?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e[_0x30e83b(0x329)](_0x1b3a00=>({..._0x1b3a00,'oldParentRecordId':_0x1b3a00[_0x30e83b(0x561)],'parentRecordId':_0x1b3a00[_0x30e83b(0x182)]})):void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'undo':void 0x0},_0xe6fc51={..._0x4bd308,'source':_0x30055e[_0x30e83b(0x4e9)]?_0x10d268[_0x30e83b(0x47d)]??'ui':void 0x0};return _0x1c793f[_0x30e83b(0x56d)](_0x4d02c8['id'],_0xe6fc51)?(_0x2be188[_0x30e83b(0x2bd)](_0x6df541),_0x30d83d[_0x30e83b(0x4f2)]({'unitID':_0x6df541,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x36f2d6}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd308}]}),!0x0):!0x1;}},_0x14468a={'id':_0x571676(0x2ae),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x122f28,_0x288239){const _0x32bf29=_0x571676;if(!_0x288239)return!0x1;let _0x113a24=_0x122f28[_0x32bf29(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x484cea,tableId:_0x560533,patches:_0x41e03b}=_0x288239,_0x1ce40b=_0x113a24[_0x32bf29(0x363)](_0x484cea,_0x13cf76[_0x32bf29(0x331)][_0x32bf29(0x321)]),_0x2b63cf=_0x41e03b[_0x32bf29(0x329)](_0x33507e=>_0x33507e[_0x32bf29(0x5c4)]),_0x176f68=_0x41e03b['flatMap'](_0x340e36=>Object[_0x32bf29(0x2db)](_0x340e36[_0x32bf29(0x334)]));if(!_0x1ce40b||!_0x2062fb(_0x1ce40b,_0x560533,{'recordIds':_0x2b63cf,'fieldIds':_0x176f68})||_0x41e03b[_0x32bf29(0x1ab)](_0x49284a=>Object['entries'](_0x49284a[_0x32bf29(0x334)])[_0x32bf29(0x1ab)](([_0x224538,_0x30b8e3])=>!_0x2432ed(_0x1ce40b,_0x560533,_0x224538,_0x30b8e3))))return!0x1;let _0x8e4e64=_0x226acd(_0x1ce40b[_0x32bf29(0x463)]()[_0x32bf29(0x291)][_0x560533],_0x41e03b),_0xa42868=_0x122f28['get'](_0x13cf76[_0x32bf29(0x1d3)]),_0xc80731=_0x122f28['get'](_0x13cf76[_0x32bf29(0x425)]),_0x54ef2f=_0x122f28[_0x32bf29(0x59c)](_0x5cf6f3)[_0x32bf29(0x59f)](_0x1ce40b,_0x560533,_0x41e03b),_0x3cd7ec=new _0x1aaf1b()[_0x32bf29(0x4b4)](_0x1ce40b[_0x32bf29(0x463)](),_0x54ef2f),_0x538b3e={'unitId':_0x484cea,'op':_0x54ef2f,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64['length']?_0x8e4e64:void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x288239[_0x32bf29(0x47d)]??'ui':void 0x0},_0x2eade6={..._0x538b3e,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x3ee):void 0x0},_0x27bacd={'unitId':_0x484cea,'op':_0x3cd7ec,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64[_0x32bf29(0x4e9)]?_0x8e4e64[_0x32bf29(0x329)](_0x11b65e=>({..._0x11b65e,'oldParentRecordId':_0x11b65e[_0x32bf29(0x561)],'parentRecordId':_0x11b65e[_0x32bf29(0x182)]})):void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x505):void 0x0};return _0xa42868[_0x32bf29(0x56d)](_0x4d02c8['id'],_0x538b3e)?(_0x113a24['focusUnit'](_0x484cea),_0xc80731[_0x32bf29(0x4f2)]({'unitID':_0x484cea,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x27bacd}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2eade6}]}),!0x0):!0x1;}},_0x19979c={'id':_0x571676(0x373),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x408a10,_0x4871bc)=>{const _0xf76d26=_0x571676;if(!_0x4871bc)return!0x1;let {unitId:_0x4b1052,tableId:_0x2e4987,fieldId:_0x46a8b2}=_0x4871bc,_0x4da0ed=_0x408a10[_0xf76d26(0x59c)](_0x13cf76['IUniverInstanceService']),_0x245d73=_0x4da0ed['getUnit'](_0x4b1052,_0x13cf76[_0xf76d26(0x331)]['UNIVER_BASE']);if(!_0x245d73||!_0x2062fb(_0x245d73,_0x2e4987))return!0x1;let _0x5744fc=_0x245d73[_0xf76d26(0x463)](),_0x1a7852=_0x5744fc[_0xf76d26(0x291)][_0x2e4987];if(_0x46a8b2!==null&&!_0x53a126(_0x1a7852,_0x46a8b2))throw new _0x2dec10(_0xf76d26(0x481));if(_0x19ec27(_0x1a7852)===_0x46a8b2)return!0x0;let _0x3f6b65=new _0x3db0f3(),_0x39845d=_0x16f182(Object[_0xf76d26(0x334)](_0x1a7852[_0xf76d26(0x3c2)])[_0xf76d26(0x387)](_0x490bdd=>{const _0x5cae09=_0xf76d26;if(!_0x53a126(_0x1a7852,_0x490bdd['id']))return[];let _0x1e4cd9=_0x51db2d(_0x490bdd);if(!_0x1e4cd9)return[];let _0x392f64=_0x490bdd['id']===_0x46a8b2;if(_0x1e4cd9[_0x5cae09(0x2fe)]===_0x13cf76[_0x5cae09(0x521)][_0x5cae09(0x4ce)]===_0x392f64)return[];let _0x95222d={..._0x490bdd['config'],'targetTableId':_0x1e4cd9[_0x5cae09(0x267)],'multiple':_0x1e4cd9[_0x5cae09(0x383)]};return _0x392f64?_0x95222d['relationRole']=_0x13cf76['BaseRecordLinkRole'][_0x5cae09(0x4ce)]:delete _0x95222d[_0x5cae09(0x2fe)],[_0x3f6b65[_0x5cae09(0x241)](_0x5744fc,_0x2e4987,_0x490bdd['id'],{'config':_0x95222d})];})),_0x4684cf=new _0x1aaf1b()[_0xf76d26(0x4b4)](_0x5744fc,_0x39845d),_0x2fa7b5={'unitId':_0x4b1052,'op':_0x39845d},_0x4e00e1={'unitId':_0x4b1052,'op':_0x4684cf};return _0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x1d3)])[_0xf76d26(0x56d)](_0x4d02c8['id'],_0x2fa7b5)?(_0x4da0ed[_0xf76d26(0x2bd)](_0x4b1052),_0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x425)])[_0xf76d26(0x4f2)]({'unitID':_0x4b1052,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4e00e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2fa7b5}]}),!0x0):!0x1;}},_0x72026a={'id':'base.command.set-base-view-field-order','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x215326,_0x361ff7)=>{const _0x28bc96=_0x571676;if(!_0x361ff7)return!0x1;let _0x2e94f5=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x59e)]),{unitId:_0x427acc,tableId:_0x172960,viewId:_0x3403d7,fieldId:_0x1b3690,target:_0x3302ad}=_0x361ff7,_0x43d8a4=_0x2e94f5[_0x28bc96(0x363)](_0x427acc,_0x13cf76[_0x28bc96(0x331)]['UNIVER_BASE']),_0x203c71=_0x3302ad[_0x28bc96(0x2a9)]??_0x3302ad['afterFieldId'];if(!_0x43d8a4||!_0x203c71||_0x203c71===_0x1b3690||!_0x2062fb(_0x43d8a4,_0x172960,{'viewIds':[_0x3403d7],'fieldIds':[_0x1b3690,_0x203c71]}))return!0x1;let _0xc6a95b=_0x43d8a4['getSnapshot']()[_0x28bc96(0x291)][_0x172960],_0x5238eb=_0xc6a95b[_0x28bc96(0x3c2)][_0x1b3690],_0xd02570=_0xc6a95b[_0x28bc96(0x3c2)][_0x203c71];if(_0x5238eb[_0x28bc96(0x4f8)]===!0x0||_0x5238eb[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)]||_0xd02570[_0x28bc96(0x4f8)]===!0x0||_0xd02570[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)])return!0x1;let _0xcf51c=_0x215326[_0x28bc96(0x59c)](_0x13cf76['ICommandService']),_0x3fe190=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x425)]),_0x27e973=_0x43d8a4[_0x28bc96(0x463)](),_0x23868e=new _0x3db0f3()[_0x28bc96(0x55c)](_0x27e973,_0x172960,_0x3403d7,_0x1b3690,_0x3302ad),_0x2f5fdb=new _0x1aaf1b()[_0x28bc96(0x4b4)](_0x27e973,_0x23868e),_0x264647={'unitId':_0x427acc,'op':_0x23868e},_0x2416ad={'unitId':_0x427acc,'op':_0x2f5fdb};return _0xcf51c[_0x28bc96(0x56d)](_0x4d02c8['id'],_0x264647)?(_0x2e94f5['focusUnit'](_0x427acc),_0x3fe190[_0x28bc96(0x4f2)]({'unitID':_0x427acc,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2416ad}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x264647}]}),!0x0):!0x1;}},_0x5b0eaf={'id':_0x571676(0x413),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x20a618,_0x524e40){const _0x51b75b=_0x571676;if(!_0x524e40)return!0x1;let _0x4c10b8=_0x20a618['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x5dcfd1,tableId:_0x54e106,viewId:_0x2014fe,fieldId:_0x5cea96,visible:_0x4b5e99}=_0x524e40,_0x484f58=_0x4c10b8[_0x51b75b(0x363)](_0x5dcfd1,_0x13cf76[_0x51b75b(0x331)][_0x51b75b(0x321)]);if(!_0x484f58||!_0x2062fb(_0x484f58,_0x54e106,{'viewIds':[_0x2014fe],'fieldIds':[_0x5cea96]}))return!0x1;let _0x1c907c=_0x484f58['getSnapshot']()[_0x51b75b(0x291)][_0x54e106]['fields'][_0x5cea96];if(_0x1c907c[_0x51b75b(0x4f8)]===!0x0||_0x1c907c['type']===_0x13cf76[_0x51b75b(0x517)][_0x51b75b(0x2ea)])return!0x1;let _0x257f4b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x1d3)]),_0x45719b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x425)]),_0x2e8373=_0x484f58[_0x51b75b(0x463)](),_0x4fb080=new _0x3db0f3()[_0x51b75b(0x37e)](_0x2e8373,_0x54e106,_0x2014fe,_0x5cea96,_0x4b5e99),_0x59dc57=new _0x1aaf1b()[_0x51b75b(0x4b4)](_0x2e8373,_0x4fb080),_0xa766bf={'unitId':_0x5dcfd1,'op':_0x4fb080},_0x316c6e={'unitId':_0x5dcfd1,'op':_0x59dc57};return _0x257f4b[_0x51b75b(0x56d)](_0x4d02c8['id'],_0xa766bf)?(_0x4c10b8['focusUnit'](_0x5dcfd1),_0x45719b[_0x51b75b(0x4f2)]({'unitID':_0x5dcfd1,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x316c6e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0xa766bf}]}),!0x0):!0x1;}},_0x1e62e1={'id':'base.command.set-base-view-field-width','type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x45dc95,_0xdb9cd6)=>{const _0x276f67=_0x571676;if(!_0xdb9cd6)return!0x1;let _0x147ecc=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x27a404,tableId:_0x5b6b22,viewId:_0x1fa2a7,fieldId:_0xb82de6,width:_0x53a224}=_0xdb9cd6,_0x2b3648=_0x147ecc[_0x276f67(0x363)](_0x27a404,_0x13cf76['UniverInstanceType'][_0x276f67(0x321)]);if(!_0x2b3648||!_0x2062fb(_0x2b3648,_0x5b6b22,{'viewIds':[_0x1fa2a7],'fieldIds':[_0xb82de6]}))return!0x1;let _0xa5d7f=_0x2b3648[_0x276f67(0x463)]()[_0x276f67(0x291)][_0x5b6b22][_0x276f67(0x3c2)][_0xb82de6];if(_0xa5d7f['system']===!0x0||_0xa5d7f[_0x276f67(0x292)]===_0x13cf76['BaseFieldType'][_0x276f67(0x2ea)])return!0x1;let _0x3fb88a=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['ICommandService']),_0x24a3b7=_0x45dc95[_0x276f67(0x59c)](_0x13cf76[_0x276f67(0x425)]),_0x319e9a=_0x2b3648['getSnapshot'](),_0x7fe105=new _0x3db0f3()[_0x276f67(0x272)](_0x319e9a,_0x5b6b22,_0x1fa2a7,_0xb82de6,_0x53a224),_0x2a5b2a=new _0x1aaf1b()[_0x276f67(0x4b4)](_0x319e9a,_0x7fe105),_0x1479a8={'unitId':_0x27a404,'op':_0x7fe105},_0x495a7a={'unitId':_0x27a404,'op':_0x2a5b2a};return _0x3fb88a[_0x276f67(0x56d)](_0x4d02c8['id'],_0x1479a8)?(_0x147ecc[_0x276f67(0x2bd)](_0x27a404),_0x24a3b7[_0x276f67(0x4f2)]({'unitID':_0x27a404,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x495a7a}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1479a8}]}),!0x0):!0x1;}},_0x16dc22={'id':'base.command.set-base-view-filter','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4bcd76,_0x2e01dd)=>{const _0xa35e7b=_0x571676;if(!_0x2e01dd)return!0x1;let _0x5e37de=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x57e725,tableId:_0x17f4ca,viewId:_0x2a2c0d,filter:_0x299448}=_0x2e01dd,_0x4e2212=_0x5e37de[_0xa35e7b(0x363)](_0x57e725,_0x13cf76[_0xa35e7b(0x331)][_0xa35e7b(0x321)]),_0x40b592=(_0x299448==null?void 0x0:_0x299448[_0xa35e7b(0x3af)][_0xa35e7b(0x329)](_0xf5fb5b=>_0xf5fb5b[_0xa35e7b(0x384)]))??[];if(!_0x4e2212||!_0x2062fb(_0x4e2212,_0x17f4ca,{'viewIds':[_0x2a2c0d],'fieldIds':_0x40b592}))return!0x1;let _0x34b78e=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x1d3)]),_0x5b93f3=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x425)]),_0x1be463=_0x4e2212[_0xa35e7b(0x463)](),_0x2befe7=new _0x3db0f3()[_0xa35e7b(0x1e1)](_0x1be463,_0x17f4ca,_0x2a2c0d,_0x299448),_0x48b894=new _0x1aaf1b()[_0xa35e7b(0x4b4)](_0x1be463,_0x2befe7),_0x26af81={'unitId':_0x57e725,'op':_0x2befe7},_0x5cb151={'unitId':_0x57e725,'op':_0x48b894};return _0x34b78e[_0xa35e7b(0x56d)](_0x4d02c8['id'],_0x26af81)?(_0x5e37de[_0xa35e7b(0x2bd)](_0x57e725),_0x5b93f3[_0xa35e7b(0x4f2)]({'unitID':_0x57e725,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5cb151}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x26af81}]}),!0x0):!0x1;}},_0x20fd70={'id':_0x571676(0x49c),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x33279c,_0x35e927)=>{const _0x55a745=_0x571676;if(!_0x35e927)return!0x1;let _0x3b2f2e=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x59e)]),{unitId:_0x49d866,tableId:_0x50158f,viewId:_0x40b34c,group:_0x121853}=_0x35e927,_0x56ce44=_0x3b2f2e[_0x55a745(0x363)](_0x49d866,_0x13cf76['UniverInstanceType'][_0x55a745(0x321)]);if(!_0x56ce44||!_0x2062fb(_0x56ce44,_0x50158f,{'viewIds':[_0x40b34c],'fieldIds':_0x121853[_0x55a745(0x329)](_0x4de1cf=>_0x4de1cf[_0x55a745(0x384)])}))return!0x1;let _0xef0284=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x1d3)]),_0x15dc68=_0x33279c['get'](_0x13cf76[_0x55a745(0x425)]),_0x1aa109=_0x56ce44['getSnapshot'](),_0x594a7f=new _0x3db0f3()[_0x55a745(0x43b)](_0x1aa109,_0x50158f,_0x40b34c,_0x121853),_0x1091b3=new _0x1aaf1b()[_0x55a745(0x4b4)](_0x1aa109,_0x594a7f),_0x5b4df9={'unitId':_0x49d866,'op':_0x594a7f},_0x250371={'unitId':_0x49d866,'op':_0x1091b3};return _0xef0284[_0x55a745(0x56d)](_0x4d02c8['id'],_0x5b4df9)?(_0x3b2f2e[_0x55a745(0x2bd)](_0x49d866),_0x15dc68[_0x55a745(0x4f2)]({'unitID':_0x49d866,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x250371}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b4df9}]}),!0x0):!0x1;}},_0x34cc97={'id':_0x571676(0x4f1),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x245a54,_0x1377bc)=>{const _0x5b9085=_0x571676;if(!_0x1377bc)return!0x1;let _0x3dddd7=_0x245a54[_0x5b9085(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4c6569,tableId:_0x55bff4,viewId:_0x35c8e9,sort:_0x4be1cb}=_0x1377bc,_0x25d4d4=_0x3dddd7['getUnit'](_0x4c6569,_0x13cf76[_0x5b9085(0x331)][_0x5b9085(0x321)]);if(!_0x25d4d4||!_0x2062fb(_0x25d4d4,_0x55bff4,{'viewIds':[_0x35c8e9],'fieldIds':_0x4be1cb[_0x5b9085(0x329)](_0x58594e=>_0x58594e['fieldId'])}))return!0x1;let _0x5ea89b=_0x245a54['get'](_0x13cf76[_0x5b9085(0x1d3)]),_0x1c1607=_0x245a54[_0x5b9085(0x59c)](_0x13cf76[_0x5b9085(0x425)]),_0x16cfc9=_0x25d4d4['getSnapshot'](),_0x33e194=new _0x3db0f3()[_0x5b9085(0x27b)](_0x16cfc9,_0x55bff4,_0x35c8e9,_0x4be1cb),_0x5e0458=new _0x1aaf1b()[_0x5b9085(0x4b4)](_0x16cfc9,_0x33e194),_0x23b8ea={'unitId':_0x4c6569,'op':_0x33e194},_0x5da516={'unitId':_0x4c6569,'op':_0x5e0458};return _0x5ea89b['syncExecuteCommand'](_0x4d02c8['id'],_0x23b8ea)?(_0x3dddd7[_0x5b9085(0x2bd)](_0x4c6569),_0x1c1607[_0x5b9085(0x4f2)]({'unitID':_0x4c6569,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5da516}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x23b8ea}]}),!0x0):!0x1;}},_0x2f1b8b={'id':'base.command.update-base-cell','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x456f1d,_0x2f921f){const _0x4ad488=_0x571676;if(!_0x2f921f)return!0x1;let _0x426ca6=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x34fb70,tableId:_0xac4b03,recordId:_0x5a5ae8,fieldId:_0x4332eb,value:_0x178675}=_0x2f921f,_0x2a6269=_0x426ca6['getUnit'](_0x34fb70,_0x13cf76[_0x4ad488(0x331)]['UNIVER_BASE']);if(!_0x2a6269||!_0x2062fb(_0x2a6269,_0xac4b03,{'recordIds':[_0x5a5ae8],'fieldIds':[_0x4332eb]})||!_0x2432ed(_0x2a6269,_0xac4b03,_0x4332eb,_0x178675))return!0x1;let _0x1e79fe=_0x2a6269[_0x4ad488(0x463)]()[_0x4ad488(0x291)][_0xac4b03],_0x49b43d=_0x53a126(_0x1e79fe,_0x4332eb)&&_0x25a1a4(_0x1e79fe)[_0x4ad488(0x358)](_0x4332eb),_0x38361b=_0x49b43d?_0x4067d3(_0x1e79fe,_0x4332eb):null,_0x10127f=(_0x38361b==null?void 0x0:_0x38361b['parentByRecordId'][_0x4ad488(0x59c)](_0x5a5ae8))??null,_0x4640c4=_0x49b43d?_0x5a5d43(_0x178675)[0x0]??null:null;if(_0x38361b){if(_0x4640c4&&!_0x1e79fe[_0x4ad488(0x38f)][_0x4640c4])throw new _0x2dec10(_0x4ad488(0x2ba));let _0x281ebc=_0x158fff(_0x38361b,_0x5a5ae8,_0x4640c4);if(!_0x281ebc[_0x4ad488(0x49e)])throw new _0x2dec10(_0x281ebc['reason']===_0x13cf76['BaseHierarchyInvalidReason']['SelfParent']?'selfParent':_0x281ebc[_0x4ad488(0x2a3)]===_0x13cf76['BaseHierarchyInvalidReason'][_0x4ad488(0x375)]?_0x4ad488(0x3f4):_0x4ad488(0x2ab));}let _0x5b2e2d=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x1d3)]),_0x2db606=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x425)]),_0x2d2f9b=_0x456f1d['get'](_0x5cf6f3),_0x1f8318;try{_0x1f8318=_0x2d2f9b[_0x4ad488(0x420)](_0x2a6269,_0xac4b03,_0x5a5ae8,_0x4332eb,_0x178675);}catch(_0x1a704a){return console[_0x4ad488(0x26a)](_0x4ad488(0x19a),_0x1a704a),!0x1;}let _0x3c6fca=new _0x1aaf1b()[_0x4ad488(0x4b4)](_0x2a6269[_0x4ad488(0x463)](),_0x1f8318),_0x5f47a5=_0x49b43d&&_0x10127f!==_0x4640c4?[{'tableId':_0xac4b03,'fieldId':_0x4332eb,'recordId':_0x5a5ae8,'oldParentRecordId':_0x10127f,'parentRecordId':_0x4640c4}]:void 0x0,_0x1b3677={'unitId':_0x34fb70,'op':_0x1f8318,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5,'source':_0x5f47a5?_0x2f921f[_0x4ad488(0x47d)]??'ui':void 0x0},_0x4fe9bf={..._0x1b3677,'source':_0x5f47a5?_0x4ad488(0x3ee):void 0x0},_0x18c48c={'unitId':_0x34fb70,'op':_0x3c6fca,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5==null?void 0x0:_0x5f47a5[_0x4ad488(0x329)](_0x34d789=>({..._0x34d789,'oldParentRecordId':_0x34d789[_0x4ad488(0x561)],'parentRecordId':_0x34d789[_0x4ad488(0x182)]})),'source':_0x5f47a5?_0x4ad488(0x505):void 0x0};return _0x5b2e2d[_0x4ad488(0x56d)](_0x4d02c8['id'],_0x1b3677)?(_0x426ca6['focusUnit'](_0x34fb70),_0x2db606['pushUndoRedo']({'unitID':_0x34fb70,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c48c}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4fe9bf}]}),!0x0):!0x1;}},_0x11e333={'id':'base.command.update-base-field-description','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x34d18b,_0x1b5f3a){const _0x432dd0=_0x571676;if(!_0x1b5f3a)return!0x1;let _0x54de73=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x59e)]),{unitId:_0x39aee7,tableId:_0x193e36,fieldId:_0x1294ed}=_0x1b5f3a,_0x10d5d7=_0x54de73['getUnit'](_0x39aee7,_0x13cf76[_0x432dd0(0x331)][_0x432dd0(0x321)]);if(!_0x10d5d7||!_0x2062fb(_0x10d5d7,_0x193e36,{'fieldIds':[_0x1294ed]}))return!0x1;let _0x398976=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x1d3)]),_0x4acff6=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x425)]),_0x52abba=_0x10d5d7[_0x432dd0(0x463)](),_0x5b5545=_0x1b5f3a['description'][_0x432dd0(0x2cd)](),_0x5b097e=new _0x3db0f3()[_0x432dd0(0x241)](_0x52abba,_0x193e36,_0x1294ed,{'description':_0x5b5545}),_0x237ce1=new _0x1aaf1b()[_0x432dd0(0x4b4)](_0x10d5d7[_0x432dd0(0x463)](),_0x5b097e),_0x32c312={'unitId':_0x39aee7,'op':_0x5b097e},_0x839a52={'unitId':_0x39aee7,'op':_0x237ce1};return _0x398976[_0x432dd0(0x56d)](_0x4d02c8['id'],_0x32c312)?(_0x54de73[_0x432dd0(0x2bd)](_0x39aee7),_0x4acff6[_0x432dd0(0x4f2)]({'unitID':_0x39aee7,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x839a52}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x32c312}]}),!0x0):!0x1;}},_0x2ea211={'id':_0x571676(0x17c),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x515744,_0x21c6e4)=>{const _0x85dd5=_0x571676;if(!_0x21c6e4)return!0x1;let _0x2700d6=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x59e)]),{unitId:_0x21c3b8,tableId:_0x409a1e,fieldId:_0x3facec,patch:_0x16a0a0}=_0x21c6e4,_0x4565e9=_0x2700d6[_0x85dd5(0x363)](_0x21c3b8,_0x13cf76[_0x85dd5(0x331)][_0x85dd5(0x321)]);if(!_0x4565e9||_0x3facec===_0x13cf76[_0x85dd5(0x544)]||!_0x2062fb(_0x4565e9,_0x409a1e,{'fieldIds':[_0x3facec]}))return!0x1;let _0xb55f21=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x1d3)]),_0x9e0fe7=_0x515744['get'](_0x13cf76['IUndoRedoService']),_0x167ad9=_0x4565e9['getSnapshot']();if(!_0x4e03f1(_0x4565e9,_0x409a1e,{..._0x167ad9[_0x85dd5(0x291)][_0x409a1e][_0x85dd5(0x3c2)][_0x3facec],..._0x16a0a0}))return!0x1;let _0x30daeb=new _0x3db0f3()[_0x85dd5(0x241)](_0x167ad9,_0x409a1e,_0x3facec,_0x16a0a0),_0x55c283=new _0x1aaf1b()['invertOp'](_0x167ad9,_0x30daeb),_0x1036aa={'unitId':_0x21c3b8,'op':_0x30daeb},_0x524b00={'unitId':_0x21c3b8,'op':_0x55c283};return _0xb55f21[_0x85dd5(0x56d)](_0x4d02c8['id'],_0x1036aa)?(_0x2700d6[_0x85dd5(0x2bd)](_0x21c3b8),_0x9e0fe7[_0x85dd5(0x4f2)]({'unitID':_0x21c3b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x524b00}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1036aa}]}),!0x0):!0x1;}},_0x292a44={'id':_0x571676(0x1b0),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x10daf5,_0x16005a)=>{const _0x3541cd=_0x571676;if(!_0x16005a)return!0x1;let _0x266fa3=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x59e)]),{unitId:_0x54ab82,tableId:_0x25fdc6,viewId:_0x27396b,patch:_0x5e9ec5}=_0x16005a,_0x58e437=_0x266fa3[_0x3541cd(0x363)](_0x54ab82,_0x13cf76[_0x3541cd(0x331)]['UNIVER_BASE']);if(!_0x58e437||!_0x2062fb(_0x58e437,_0x25fdc6,{'viewIds':[_0x27396b]}))return!0x1;let _0x14f7b6=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x1d3)]),_0x4d6b2a=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76['IUndoRedoService']),_0x1448a8=_0x58e437[_0x3541cd(0x463)](),_0x2b76af=new _0x3db0f3()['updateViewConfig'](_0x1448a8,_0x25fdc6,_0x27396b,_0x5e9ec5),_0x53e255=new _0x1aaf1b()[_0x3541cd(0x4b4)](_0x1448a8,_0x2b76af),_0x111613={'unitId':_0x54ab82,'op':_0x2b76af},_0x374a46={'unitId':_0x54ab82,'op':_0x53e255};return _0x14f7b6[_0x3541cd(0x56d)](_0x4d02c8['id'],_0x111613)?(_0x266fa3[_0x3541cd(0x2bd)](_0x54ab82),_0x4d6b2a[_0x3541cd(0x4f2)]({'unitID':_0x54ab82,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x374a46}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x111613}]}),!0x0):!0x1;}},_0x3975dc={'id':_0x571676(0x470),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2e7583,_0x423324)=>{const _0x474aa0=_0x571676;if(!_0x423324)return!0x1;let _0x38dcd5=_0x2e7583['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x362b78,tableId:_0x1a518c,recordId:_0x361a0f,orderKey:_0x52215a}=_0x423324,_0x378c10=_0x38dcd5[_0x474aa0(0x363)](_0x362b78,_0x13cf76[_0x474aa0(0x331)]['UNIVER_BASE']);if(!_0x378c10||!_0x2062fb(_0x378c10,_0x1a518c,{'recordIds':[_0x361a0f]}))return!0x1;let _0x630f97=_0x2e7583[_0x474aa0(0x59c)](_0x13cf76[_0x474aa0(0x1d3)]),_0x532c35=_0x2e7583['get'](_0x13cf76[_0x474aa0(0x425)]),_0x481a84=_0x378c10[_0x474aa0(0x463)](),_0x314a94=new _0x3db0f3()[_0x474aa0(0x1ad)](_0x481a84,_0x1a518c,_0x361a0f,_0x52215a),_0x3f436e=new _0x1aaf1b()[_0x474aa0(0x4b4)](_0x481a84,_0x314a94),_0x1103ca={'unitId':_0x362b78,'op':_0x314a94},_0x10b449={'unitId':_0x362b78,'op':_0x3f436e};return _0x630f97[_0x474aa0(0x56d)](_0x4d02c8['id'],_0x1103ca)?(_0x38dcd5[_0x474aa0(0x2bd)](_0x362b78),_0x532c35[_0x474aa0(0x4f2)]({'unitID':_0x362b78,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x10b449}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1103ca}]}),!0x0):!0x1;}},_0x4904eb=function(_0x36ffab){const _0x29ff72=_0x571676;return _0x36ffab[_0x29ff72(0x36b)]=_0x29ff72(0x569),_0x36ffab[_0x29ff72(0x1d9)]=_0x29ff72(0x54c),_0x36ffab[_0x29ff72(0x553)]=_0x29ff72(0x37c),_0x36ffab[_0x29ff72(0x4d2)]=_0x29ff72(0x35a),_0x36ffab;}({}),_0x5c63df={'id':_0x571676(0x305),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x47618f,_0x24eda1)=>{const _0x4fbd2f=_0x571676;var _0x31c556;if(!_0x24eda1)return!0x1;let _0x33eb2a=_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x59e)]),_0x367612=_0x33eb2a[_0x4fbd2f(0x363)](_0x24eda1[_0x4fbd2f(0x2aa)],_0x13cf76['UniverInstanceType'][_0x4fbd2f(0x321)]);if(!_0x367612||!_0x2062fb(_0x367612,_0x24eda1[_0x4fbd2f(0x33f)],{'viewIds':[_0x24eda1[_0x4fbd2f(0x1ca)]]}))return!0x1;let _0x2f180b=_0x367612[_0x4fbd2f(0x463)](),_0x20f0bc=_0x2f180b[_0x4fbd2f(0x291)][_0x24eda1[_0x4fbd2f(0x33f)]],_0x346eb0=_0x1a950b(((_0x31c556=_0x20f0bc[_0x4fbd2f(0x18d)][_0x24eda1['viewId']][_0x4fbd2f(0x5b9)][_0x4fbd2f(0x403)])==null?void 0x0:_0x31c556['rules'])??[],_0x24eda1);if(!_0x346eb0)return!0x1;_0x50f31a(_0x20f0bc,_0x346eb0);let _0x48b266=new _0x3db0f3()[_0x4fbd2f(0x20d)](_0x2f180b,_0x24eda1[_0x4fbd2f(0x33f)],_0x24eda1['viewId'],{'conditionalColoring':_0x346eb0[_0x4fbd2f(0x4e9)]?{'rules':_0x346eb0}:null}),_0xdc86d6=new _0x1aaf1b()[_0x4fbd2f(0x4b4)](_0x2f180b,_0x48b266),_0x588fbd={'unitId':_0x24eda1[_0x4fbd2f(0x2aa)],'op':_0x48b266},_0x21d911={'unitId':_0x24eda1['unitId'],'op':_0xdc86d6};return _0x47618f['get'](_0x13cf76[_0x4fbd2f(0x1d3)])['syncExecuteCommand'](_0x4d02c8['id'],_0x588fbd)?(_0x33eb2a[_0x4fbd2f(0x2bd)](_0x24eda1['unitId']),_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x425)])[_0x4fbd2f(0x4f2)]({'unitID':_0x24eda1[_0x4fbd2f(0x2aa)],'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x21d911}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x588fbd}]}),!0x0):!0x1;}};function _0x1a950b(_0x59d2e9,_0x167c44){const _0x54fbb5=_0x571676;switch(_0x167c44[_0x54fbb5(0x292)]){case _0x54fbb5(0x569):return _0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x167c44[_0x54fbb5(0x4a5)]);case _0x54fbb5(0x54c):return[..._0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x59d2e9),_0x13cf76[_0x54fbb5(0x39a)][_0x54fbb5(0x495)](_0x167c44[_0x54fbb5(0x336)])];case _0x54fbb5(0x37c):{let _0xb3092f=_0x59d2e9[_0x54fbb5(0x3c4)](_0x35953c=>_0x35953c['id']!==_0x167c44[_0x54fbb5(0x487)]);return _0xb3092f[_0x54fbb5(0x4e9)]===_0x59d2e9[_0x54fbb5(0x4e9)]?null:_0x13cf76['Tools'][_0x54fbb5(0x495)](_0xb3092f);}case'clear':return _0x59d2e9[_0x54fbb5(0x4e9)]?[]:null;}}function _0x50f31a(_0x3ec3b8,_0x331d31){const _0x40ef1f=_0x571676;if(!Array[_0x40ef1f(0x21f)](_0x331d31))throw TypeError(_0x40ef1f(0x5a6));let _0x2d6ac0=new Set();for(let [_0x1b7711,_0x5318ac]of _0x331d31[_0x40ef1f(0x460)]())_0x2aa1a4(_0x3ec3b8,_0x5318ac,_0x536edd(_0x5318ac,_0x1b7711,_0x2d6ac0));}function _0x536edd(_0x1be5ea,_0x1e2900,_0x16a54b){const _0x59ced0=_0x571676;if(!_0x1be5ea||typeof _0x1be5ea!=_0x59ced0(0x1a7))throw TypeError(_0x59ced0(0x219)+_0x1e2900+_0x59ced0(0x1a9));let _0x19111d=typeof _0x1be5ea['id']==_0x59ced0(0x2b6)&&_0x1be5ea['id'][_0x59ced0(0x2cd)]()?'\x22'+_0x1be5ea['id']+'\x22':_0x59ced0(0x2b5)+_0x1e2900;if(typeof _0x1be5ea['id']!=_0x59ced0(0x2b6)||!_0x1be5ea['id'][_0x59ced0(0x2cd)]())throw Error(_0x59ced0(0x3c6)+_0x19111d+_0x59ced0(0x5b1));if(_0x16a54b['has'](_0x1be5ea['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x1be5ea['id']+'\x22.');_0x16a54b[_0x59ced0(0x54c)](_0x1be5ea['id']);let _0x348821=typeof _0x1be5ea['color']==_0x59ced0(0x2b6)&&_0x1be5ea['color'][_0x59ced0(0x2cd)]()?new _0x13cf76[(_0x59ced0(0x236))](_0x1be5ea[_0x59ced0(0x393)]):null;if(!(_0x348821!=null&&_0x348821[_0x59ced0(0x385)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x19111d+_0x59ced0(0x25b));return _0x19111d;}function _0x2aa1a4(_0x35aa37,_0x15d4f8,_0x4a5752){const _0x29ab57=_0x571676;let _0x3dba85=new Set(Object['values'](_0x13cf76[_0x29ab57(0x446)])),_0x10b371=new Set(Object['values'](_0x13cf76[_0x29ab57(0x1b1)])),_0x556ba8=new Set(Object[_0x29ab57(0x334)](_0x13cf76[_0x29ab57(0x218)]));if(!_0x3dba85[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4dd)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x5c2)+String(_0x15d4f8[_0x29ab57(0x4dd)])+'\x22.');let _0x4fbcfa=typeof _0x15d4f8['fieldId']==_0x29ab57(0x2b6)?_0x35aa37[_0x29ab57(0x3c2)][_0x15d4f8[_0x29ab57(0x384)]]:void 0x0;if(!_0x4fbcfa||_0x4fbcfa[_0x29ab57(0x4f8)]===!0x0||_0x4fbcfa['type']===_0x13cf76[_0x29ab57(0x517)][_0x29ab57(0x2ea)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x15d4f8[_0x29ab57(0x384)])+'\x22.');if(!_0x10b371[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4a2)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x23f)+String(_0x15d4f8[_0x29ab57(0x4a2)])+'\x22.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x556ba8[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x39c)]))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x24e)+String(_0x15d4f8[_0x29ab57(0x39c)])+'\x22.');if(_0x15d4f8['target']===_0x13cf76[_0x29ab57(0x446)]['COLUMN'])return;let _0x3eb97b=_0xd379e5(_0x4fbcfa['type']);if(!_0x3eb97b[_0x29ab57(0x358)](_0x15d4f8['operator']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+'\x20cannot\x20use\x20operator\x20\x22'+_0x15d4f8[_0x29ab57(0x4a2)]+_0x29ab57(0x333)+_0x4fbcfa[_0x29ab57(0x292)]+_0x29ab57(0x4a7)+_0x3eb97b[_0x29ab57(0x4b9)](',\x20')+'.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x33b8b5(_0x4fbcfa['type']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x25a));}let _0x3f4bfc={'id':_0x571676(0x24d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x4bde4c,_0x2fbc4a)=>{const _0xb0d2f6=_0x571676;if(!_0x2fbc4a)return!0x1;let _0x44d099=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x59e)]),{unitId:_0x394324,tableId:_0x5c3c07,viewId:_0x1bc1ff,patch:_0x4ce3c8}=_0x2fbc4a,_0x43128c=_0x44d099[_0xb0d2f6(0x363)](_0x394324,_0x13cf76[_0xb0d2f6(0x331)][_0xb0d2f6(0x321)]);if(!_0x43128c||!_0x2062fb(_0x43128c,_0x5c3c07,{'viewIds':[_0x1bc1ff]}))return!0x1;let _0x100341=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76['ICommandService']),_0x209357=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x425)]),_0x5ef246=_0x43128c[_0xb0d2f6(0x463)](),_0x449db6=new _0x3db0f3()[_0xb0d2f6(0x20d)](_0x5ef246,_0x5c3c07,_0x1bc1ff,_0x4ce3c8),_0x118e57=new _0x1aaf1b()[_0xb0d2f6(0x4b4)](_0x5ef246,_0x449db6),_0x3e567c={'unitId':_0x394324,'op':_0x449db6},_0x30149d={'unitId':_0x394324,'op':_0x118e57};return _0x100341[_0xb0d2f6(0x56d)](_0x4d02c8['id'],_0x3e567c)?(_0x44d099['focusUnit'](_0x394324),_0x209357['pushUndoRedo']({'unitID':_0x394324,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x30149d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e567c}]}),!0x0):!0x1;}},_0x37f9a6={'id':_0x571676(0x476),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x1ab67a,_0x4a71b9){const _0x219c43=_0x571676;if(!_0x4a71b9)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x110c0c=_0x1ab67a['get'](_0x13cf76['IUniverInstanceService'])[_0x219c43(0x363)](_0x4a71b9[_0x219c43(0x2aa)],_0x13cf76[_0x219c43(0x331)][_0x219c43(0x321)]),_0x3a2d15=_0x110c0c==null?void 0x0:_0x110c0c['getSnapshot'](),_0x2ad951=_0x3a2d15==null?void 0x0:_0x3a2d15[_0x219c43(0x291)][_0x4a71b9[_0x219c43(0x33f)]];return!_0x3a2d15||!_0x2ad951?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0x3bb03f()['validateFormula'](_0x4a71b9[_0x219c43(0x2b7)],_0x2ad951,{'snapshot':_0x3a2d15});}},_0x15ceca=class extends _0x13cf76[_0x571676(0x579)]{constructor(_0x56d6b5){const _0x5baf52=_0x571676;super(_0x56d6b5,'BASE_OBJECT_PERMISSION_PLUGIN',_0x13cf76['UniverInstanceType'][_0x5baf52(0x321)],[_0x93a0d4['UnitObject']['BaseTable'],_0x93a0d4['UnitObject'][_0x5baf52(0x24c)],_0x93a0d4['UnitObject'][_0x5baf52(0x52c)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x32f)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x4d7)]]);}};_0x15ceca=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x4f7)])],_0x15ceca);let _0x592127={'id':_0x571676(0x59a),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x40b419,_0x4e09aa)=>!_0x4e09aa||!_0x40b419[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x4e09aa[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x40b419[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x5da)](_0x4e09aa['unitId'],_0x4e09aa[_0x571676(0x1ff)],_0x4e09aa[_0x571676(0x3f3)],_0x4e09aa['rule'])},_0x5ba4b4={'id':_0x571676(0x371),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x55f06d,_0x3357cd)=>!_0x3357cd||!_0x55f06d[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x3357cd[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x55f06d[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x283)](_0x3357cd[_0x571676(0x2aa)],_0x3357cd[_0x571676(0x4a5)])};function _0x910a(_0x57b0cc){const _0x56d147=_0x571676;let _0x3d3434=_0x57b0cc[_0x56d147(0x5e4)]??Date[_0x56d147(0x5e4)](),_0x3a2f88=_0x57b0cc[_0x56d147(0x422)]??_0x57b0cc['id']+_0x56d147(0x4e8),_0x40c041=_0x57b0cc['gridViewId']??_0x57b0cc['id']+_0x56d147(0x25f),_0x52c5a2=_0x57b0cc[_0x56d147(0x473)]??0x0,_0x1d42f9=(0x0,_0x13cf76[_0x56d147(0x365)])(),_0x4c28bb={'id':_0x3a2f88,'name':_0x57b0cc['primaryFieldName']??_0x56d147(0x48b),'type':_0x13cf76[_0x56d147(0x517)][_0x56d147(0x4c5)],'config':{'placeholder':_0x56d147(0x343)}},_0x1d71be={},_0x4a254c=[],_0xda83={},_0x351a65={},_0xa62e6e={};for(let _0x5c5dbf=0x0;_0x5c5dbf<_0x52c5a2;_0x5c5dbf++){let _0xbb7e92=_0x57b0cc['id']+_0x56d147(0x286)+(_0x5c5dbf+0x1);_0x1d71be[_0xbb7e92]={'id':_0xbb7e92,'values':{[_0x13cf76[_0x56d147(0x544)]]:_0xbb7e92,..._0x57b0cc[_0x56d147(0x2a5)]?{[_0x3a2f88]:_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1)}:{}},'orderKey':String(_0x5c5dbf+0x1)[_0x56d147(0x59d)](0x4,'0'),'createdAt':_0x3d3434,'updatedAt':_0x3d3434},_0x4a254c[_0x56d147(0x401)](_0xbb7e92),_0xda83[_0xbb7e92]=_0x5c5dbf,_0x351a65[_0x5c5dbf]=_0xbb7e92,_0xa62e6e[_0x5c5dbf]={0x0:{'v':_0xbb7e92,'t':_0x13cf76[_0x56d147(0x32d)][_0x56d147(0x562)]}},_0x57b0cc[_0x56d147(0x2a5)]&&(_0xa62e6e[_0x5c5dbf][0x1]={'v':_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1),'t':_0x13cf76['CellValueType'][_0x56d147(0x562)]});}let _0x367872={'id':_0x40c041,'tableId':_0x57b0cc['id'],'name':_0x56d147(0x4fc),'type':_0x13cf76['BaseViewType'][_0x56d147(0x4fc)],'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],_0x3a2f88],'fieldSettings':{[_0x13cf76[_0x56d147(0x544)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x57b0cc['id'],'name':_0x57b0cc[_0x56d147(0x46d)],'primaryFieldId':_0x3a2f88,'fieldOrder':[_0x13cf76[_0x56d147(0x544)],_0x3a2f88],'fields':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x1d42f9,[_0x3a2f88]:_0x4c28bb},'records':_0x1d71be,'recordOrder':_0x4a254c,'rowIndex':_0xda83,'rowId':_0x351a65,'colIndex':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x3a2f88]:0x1},'colId':{0x0:_0x13cf76[_0x56d147(0x544)],0x1:_0x3a2f88},'cellData':_0xa62e6e,'views':{[_0x40c041]:_0x367872},'viewOrder':[_0x40c041]};}let _0x3d977d='UNIVER_EMBED_BASES_TABLE';function _0x32bf44(_0x521a59){const _0xc0d0da=_0x571676;let _0x5bc3f7=_0x910a({'id':_0x521a59[_0xc0d0da(0x183)],'name':_0x521a59[_0xc0d0da(0x46d)]??_0x521a59[_0xc0d0da(0x37a)],'recordCount':0x0});return{..._0x5bc3f7,'resources':{..._0x5bc3f7[_0xc0d0da(0x23c)]??{},[_0x3d977d]:_0x2a0328(_0x521a59)}};}function _0x293936(_0x21de27){const _0x3c9741=_0x571676;return{'id':_0x4d02c8['id'],'params':{'unitId':_0x21de27[_0x3c9741(0x2aa)],'op':_0x13cf76['JSON1'][_0x3c9741(0x292)][_0x3c9741(0x199)](_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x291),_0x21de27[_0x3c9741(0x4b7)]['id']],_0x21de27[_0x3c9741(0x4b7)]),_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x4d9),_0x21de27[_0x3c9741(0x36f)]??_0x21de27[_0x3c9741(0x4cb)][_0x3c9741(0x4d9)][_0x3c9741(0x4e9)]],_0x21de27[_0x3c9741(0x4b7)]['id'])),'trigger':_0x3c9741(0x530)}};}function _0x1b9b54(_0x444a98){const _0x46e325=_0x571676;let _0xe3f384=_0x444a98['snapshot'][_0x46e325(0x4d9)][_0x46e325(0x406)](_0x444a98[_0x46e325(0x33f)]);if(!(!_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]||_0xe3f384<0x0))return{'id':_0x4d02c8['id'],'params':{'unitId':_0x444a98[_0x46e325(0x2aa)],'op':_0x13cf76[_0x46e325(0x575)][_0x46e325(0x292)][_0x46e325(0x199)](_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)](['tables',_0x444a98[_0x46e325(0x33f)]],_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]),_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)]([_0x46e325(0x4d9),_0xe3f384],_0x444a98['tableId'])),'trigger':_0x46e325(0x530)}};}function _0x2a0328(_0x6b5857){const _0x1e2862=_0x571676;return{'version':0x1,'embedId':_0x6b5857[_0x1e2862(0x37a)],'hostAnchorId':_0x6b5857[_0x1e2862(0x183)],'childUnitId':_0x6b5857[_0x1e2862(0x50f)],'childType':_0x6b5857[_0x1e2862(0x354)]};}function _0x68e884(_0x27adec){const _0x54ea2b=_0x571676;let _0x23a95d=Math['max'](0x0,Number(_0x27adec[_0x54ea2b(0x598)]??0x0)),_0x3df370=_0x27adec['useThousands']===!0x1?'0':_0x54ea2b(0x204),_0x18eb30=_0x23a95d?'.'+'0'[_0x54ea2b(0x289)](_0x23a95d):'',_0x5db175=_0x1a69fe(_0x27adec[_0x54ea2b(0x5d9)]);return''+(_0x27adec[_0x54ea2b(0x595)]?_0x371668(_0x27adec[_0x54ea2b(0x595)]):'')+_0x3df370+_0x18eb30+_0x5db175;}function _0x4dcf16(_0x3e1701,_0x1e1f3c){const _0x1930b0=_0x571676;let _0x7546ca=_0x68e884(_0x1e1f3c),_0x35838e=_0x13cf76['numfmt'][_0x1930b0(0x278)](_0x7546ca,_0x3e1701,{'throws':!0x1});return _0x118aed(String(_0x35838e),_0x1e1f3c['separatorStyle'],_0x1e1f3c[_0x1930b0(0x40a)]);}function _0x1a69fe(_0x5c17bf){const _0x32128a=_0x571676;return _0x5c17bf==='K'?_0x32128a(0x2e5):_0x5c17bf==='M'?_0x32128a(0x25e):_0x5c17bf==='B'?_0x32128a(0x535):'';}function _0x371668(_0x3db15f){const _0x2a0644=_0x571676;return/^[A-Z]+$/i[_0x2a0644(0x50e)](_0x3db15f)?'\x22'+_0x3db15f+'\x22':_0x3db15f;}function _0x118aed(_0x2fe8fd,_0x159437,_0x7c5b6f){const _0x26ecb3=_0x571676;let _0x4729e5=_0x159437==='local'?_0x6f7f1(_0x7c5b6f):_0x159437;return _0x4729e5===_0x26ecb3(0x3e3)?_0x2fe8fd['replace'](/,/g,'\x00')[_0x26ecb3(0x5ae)](/\./g,',')[_0x26ecb3(0x5ae)](/\0/g,'.'):_0x4729e5===_0x26ecb3(0x471)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20')[_0x26ecb3(0x5ae)](/\./g,','):_0x4729e5===_0x26ecb3(0x464)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20'):_0x2fe8fd;}function _0x6f7f1(_0x324858){const _0x52e600=_0x571676;var _0x2008e6,_0x3365cf;let _0xa898d5=_0x324858||new Intl[(_0x52e600(0x58f))]()['resolvedOptions']()[_0x52e600(0x40a)],_0x38242b;try{_0x38242b=new Intl['NumberFormat'](_0xa898d5,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x52e600(0x504);}let _0x3bcc20=(_0x2008e6=_0x38242b[_0x52e600(0x56a)](_0x46e610=>_0x46e610['type']==='group'))==null?void 0x0:_0x2008e6[_0x52e600(0x315)],_0xce8d66=(_0x3365cf=_0x38242b[_0x52e600(0x56a)](_0x36c956=>_0x36c956['type']===_0x52e600(0x207)))==null?void 0x0:_0x3365cf[_0x52e600(0x315)],_0x38e940=_0x3bcc20==='\u00a0'||_0x3bcc20==='\u202f'?'\x20':_0x3bcc20;return _0x38e940==='.'&&_0xce8d66===','?_0x52e600(0x3e3):_0x38e940==='\x20'&&_0xce8d66===','?_0x52e600(0x471):_0x38e940==='\x20'&&_0xce8d66==='.'?_0x52e600(0x464):'commaPeriod';}function _0x40750c(_0x2c0d67,_0x62e2b8){const _0x53e83e=_0x571676;let _0x31ada3=_0x62e2b8&&typeof _0x62e2b8==_0x53e83e(0x1a7)&&!Array['isArray'](_0x62e2b8)?_0x62e2b8:{},_0x5c6460=_0x32d060(_0x31ada3[_0x53e83e(0x598)],0x0,0x2,0x0),_0x169c13=_0x2c0d67[_0x53e83e(0x2da)](_0x5c6460);return _0x31ada3[_0x53e83e(0x278)]===_0x53e83e(0x3dc)?_0x169c13:_0x169c13+'%';}function _0x32d060(_0x1c3709,_0x3a40f9,_0x5756c9,_0x366d7c){const _0x59a5e0=_0x571676;if(_0x1c3709==null||_0x1c3709==='')return _0x366d7c;let _0x7a145=typeof _0x1c3709==_0x59a5e0(0x3dc)?_0x1c3709:Number(_0x1c3709);return Number[_0x59a5e0(0x195)](_0x7a145)?Math['max'](_0x3a40f9,Math[_0x59a5e0(0x5a2)](_0x5756c9,Math[_0x59a5e0(0x43e)](_0x7a145))):_0x366d7c;}let _0x49b302=['count',_0x571676(0x18e),'empty',_0x571676(0x3bf),_0x571676(0x1db),'average',_0x571676(0x5a2),_0x571676(0x402)],_0x566424=[_0x571676(0x1fb),_0x571676(0x18e),_0x571676(0x252),_0x571676(0x3bf)],_0x56f032=['sum',_0x571676(0x442),_0x571676(0x5a2),_0x571676(0x402)],_0x3cdb38=[_0x571676(0x5a2),_0x571676(0x402)],_0x3df33c=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76['BaseFieldType'][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)]]),_0x450dd3=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x247)],_0x13cf76['BaseFieldType'][_0x571676(0x43f)],_0x13cf76[_0x571676(0x517)][_0x571676(0x53b)]]),_0x3791de=_0x571676(0x3b0);function _0x9ba099(_0x25062b){const _0x2035dc=_0x571676;return typeof _0x25062b==_0x2035dc(0x2b6)&&_0x49b302['includes'](_0x25062b);}function _0x22bd83(_0x3b0d62){const _0x4536a0=_0x571676;return!_0x3b0d62||typeof _0x3b0d62!=_0x4536a0(0x1a7)?{}:Object[_0x4536a0(0x1fc)](Object[_0x4536a0(0x460)](_0x3b0d62)['filter'](_0x48e2c2=>_0x9ba099(_0x48e2c2[0x1])));}function _0x2e2ae5(_0x12f5fa){const _0x2197ee=_0x571676;return _0x3df33c['has'](_0x12f5fa[_0x2197ee(0x292)])?[..._0x566424,..._0x56f032]:_0x12f5fa[_0x2197ee(0x292)]===_0x13cf76[_0x2197ee(0x517)]['Formula']?[..._0x566424,..._0x4d721f(_0x12f5fa)===_0x2197ee(0x44b)?_0x3cdb38:_0x56f032]:_0x566424;}function _0xb8bdd7(_0x1891e2,_0x5ec547){return _0x2e2ae5(_0x1891e2)['includes'](_0x5ec547);}function _0xa2d18d(_0x208854,_0x3399cf,_0x2fb35e){const _0x296bf8=_0x571676;if(!_0xb8bdd7(_0x208854,_0x2fb35e))return null;let _0x346f44=_0x3399cf[_0x296bf8(0x3c4)](_0x5a288a=>!_0x578626(_0x208854,_0x5a288a));switch(_0x2fb35e){case _0x296bf8(0x1fb):return _0x3399cf['length'];case _0x296bf8(0x18e):return _0x346f44['length'];case _0x296bf8(0x252):return _0x3399cf[_0x296bf8(0x4e9)]-_0x346f44['length'];case _0x296bf8(0x3bf):return new Set(_0x346f44[_0x296bf8(0x329)](_0x1cb9fa=>_0x3c3cbb(_0x208854,_0x1cb9fa)))[_0x296bf8(0x366)];case _0x296bf8(0x1db):{let _0x4837ee=_0x2c3031(_0x208854,_0x346f44);return _0x4837ee[_0x296bf8(0x4e9)]?_0x4badca(_0x4837ee):null;}case _0x296bf8(0x442):{let _0x42f5f9=_0x2c3031(_0x208854,_0x346f44);return _0x42f5f9[_0x296bf8(0x4e9)]?_0x4badca(_0x42f5f9)/_0x42f5f9[_0x296bf8(0x4e9)]:null;}case _0x296bf8(0x5a2):{let _0x3d0c02=_0x2c3031(_0x208854,_0x346f44);return _0x3d0c02['length']?Math[_0x296bf8(0x5a2)](..._0x3d0c02):null;}case'max':{let _0x154724=_0x2c3031(_0x208854,_0x346f44);return _0x154724['length']?Math[_0x296bf8(0x402)](..._0x154724):null;}}}function _0x2e2210(_0x5c8e42,_0x4aa231,_0x490475){const _0x16918e=_0x571676;if(_0x490475==null||!Number[_0x16918e(0x195)](_0x490475))return'-';if(_0x566424['includes'](_0x4aa231))return String(_0x490475);switch(_0x5c8e42['type']){case _0x13cf76[_0x16918e(0x517)]['Number']:return _0x4dcf16(_0x490475,_0x2f78d7(_0x5c8e42));case _0x13cf76[_0x16918e(0x517)][_0x16918e(0x39e)]:return _0x4dcf16(_0x490475,_0xc13aef(_0x5c8e42));case _0x13cf76['BaseFieldType'][_0x16918e(0x51c)]:return _0x40750c(_0x490475,_0x5c8e42['config']);case _0x13cf76['BaseFieldType'][_0x16918e(0x26c)]:return _0x44d203(_0x490475,_0x5c8e42);default:return _0x5547f3(_0x490475);}}function _0x578626(_0x14256f,_0x1143d2){const _0x2eac29=_0x571676;if(_0x1143d2==null)return!0x0;if(typeof _0x1143d2==_0x2eac29(0x2b6))return _0x1143d2[_0x2eac29(0x2cd)]()==='';if(Array[_0x2eac29(0x21f)](_0x1143d2))return _0x14256f[_0x2eac29(0x292)]===_0x13cf76[_0x2eac29(0x517)][_0x2eac29(0x312)]?!_0x1143d2[_0x2eac29(0x1ab)](_0x2305b6):_0x1143d2['length']===0x0;if(_0x14256f[_0x2eac29(0x292)]===_0x13cf76['BaseFieldType'][_0x2eac29(0x3b6)]&&typeof _0x1143d2==_0x2eac29(0x1a7)){let _0x35f452=_0x1143d2;return[_0x35f452[_0x2eac29(0x5df)],_0x35f452['url']][_0x2eac29(0x5a5)](_0x2a587d=>_0x2a587d==null||String(_0x2a587d)['trim']()==='');}return!0x1;}function _0x2c3031(_0x42218b,_0x4c4107){const _0x38db53=_0x571676;let _0x30e865=[];for(let _0x1be0a7 of _0x4c4107){let _0x4f47e7=_0x1397fc(_0x42218b,_0x1be0a7);_0x4f47e7!=null&&_0x30e865[_0x38db53(0x401)](_0x4f47e7);}return _0x30e865;}function _0x1397fc(_0x4477a4,_0x55c884){const _0x4f60bb=_0x571676;if(typeof _0x55c884==_0x4f60bb(0x3dc))return Number[_0x4f60bb(0x195)](_0x55c884)?_0x55c884:null;if(_0x4477a4[_0x4f60bb(0x292)]!==_0x13cf76['BaseFieldType']['Formula']&&typeof _0x55c884==_0x4f60bb(0x2b6)&&_0x55c884['trim']()!==''){let _0x1666e9=Number(_0x55c884);return Number['isFinite'](_0x1666e9)?_0x1666e9:null;}return null;}function _0x4badca(_0x4c8fcc){const _0x4f66cb=_0x571676;let _0x56d79b=0x0,_0x402316=0x0;for(let _0x477cec of _0x4c8fcc){let _0x5dd3ff=_0x56d79b+_0x477cec;_0x402316+=Math[_0x4f66cb(0x1cf)](_0x56d79b)>=Math['abs'](_0x477cec)?_0x56d79b-_0x5dd3ff+_0x477cec:_0x477cec-_0x5dd3ff+_0x56d79b,_0x56d79b=_0x5dd3ff;}return _0x56d79b+_0x402316;}function _0x3c3cbb(_0x36591d,_0x3109a6){const _0x4f8f51=_0x571676;return _0x450dd3[_0x4f8f51(0x370)](_0x36591d['type'])&&Array[_0x4f8f51(0x21f)](_0x3109a6)?_0x162b8b([...new Set(_0x3109a6['map'](_0x36cdf8=>_0x162b8b(_0xdb0a1f(_0x36cdf8))))]['sort']()):_0x162b8b(_0xdb0a1f(_0x3109a6));}function _0xdb0a1f(_0x2fbbac){const _0x4dec10=_0x571676;return Array[_0x4dec10(0x21f)](_0x2fbbac)?_0x2fbbac['map'](_0xdb0a1f):_0x2fbbac&&typeof _0x2fbbac=='object'?Object[_0x4dec10(0x1fc)](Object[_0x4dec10(0x460)](_0x2fbbac)[_0x4dec10(0x4af)](([_0x9dddf6],[_0x18ad2a])=>_0x9dddf6[_0x4dec10(0x391)](_0x18ad2a))['map'](([_0x160ed7,_0x56daee])=>[_0x160ed7,_0xdb0a1f(_0x56daee)])):_0x2fbbac;}function _0x162b8b(_0x391229){const _0x5350a7=_0x571676;return JSON[_0x5350a7(0x30d)](_0x391229)??_0x5350a7(0x306);}function _0x2305b6(_0x3662a2){const _0x1def23=_0x571676;if(typeof _0x3662a2==_0x1def23(0x2b6))return _0x3662a2[_0x1def23(0x2cd)]()!=='';if(!_0x3662a2||typeof _0x3662a2!=_0x1def23(0x1a7))return!0x1;let _0xfdf2a0=_0x3662a2;return[_0xfdf2a0['id'],_0xfdf2a0[_0x1def23(0x46d)],_0xfdf2a0[_0x1def23(0x47d)],_0xfdf2a0[_0x1def23(0x395)],_0xfdf2a0['thumbnail']][_0x1def23(0x1ab)](_0x238386=>_0x238386!=null&&String(_0x238386)[_0x1def23(0x2cd)]()!=='');}function _0x2f78d7(_0x230a93){const _0x53cf42=_0x571676;let _0x11dc50=_0x54f791(_0x230a93[_0x53cf42(0x5b9)]);return{'decimalPlaces':_0x514550(_0x11dc50[_0x53cf42(0x598)],0x0,0x14,0x2),'separatorStyle':typeof _0x11dc50[_0x53cf42(0x570)]=='string'?_0x11dc50['separatorStyle']:_0x53cf42(0x576),'locale':typeof _0x11dc50[_0x53cf42(0x40a)]==_0x53cf42(0x2b6)?_0x11dc50['locale']:void 0x0,'useThousands':_0x11dc50[_0x53cf42(0x26b)]!==!0x1,'abbreviation':typeof _0x11dc50[_0x53cf42(0x5d9)]==_0x53cf42(0x2b6)?_0x11dc50[_0x53cf42(0x5d9)]:_0x53cf42(0x2a6)};}function _0xc13aef(_0x1243f7){const _0xd6dd97=_0x571676;let _0x50b6e2=_0x54f791(_0x1243f7[_0xd6dd97(0x5b9)]);return{..._0x2f78d7(_0x1243f7),'currencySymbol':String(_0x50b6e2[_0xd6dd97(0x595)]??'$')};}function _0x44d203(_0x1a4e4d,_0x581f7b){const _0x91e663=_0x571676;let _0x37531e=_0x375ae7(_0x581f7b);if(_0x37531e===_0x3791de)return _0x5547f3(_0x1a4e4d);try{return String(_0x13cf76['numfmt'][_0x91e663(0x278)](_0x37531e,_0x1a4e4d,{'throws':!0x1}));}catch{return _0x5547f3(_0x1a4e4d);}}function _0x4d721f(_0x1ec4c8){const _0x4c4af0=_0x571676;let _0x562da2=_0x54f791(_0x54f791(_0x1ec4c8[_0x4c4af0(0x5b9)])['numfmt']);return typeof _0x562da2[_0x4c4af0(0x292)]==_0x4c4af0(0x2b6)?_0x562da2[_0x4c4af0(0x292)]:'general';}function _0x375ae7(_0x64d83a){const _0x5c705e=_0x571676;let _0x23297d=_0x54f791(_0x54f791(_0x64d83a['config'])[_0x5c705e(0x57f)]);return String(_0x23297d['pattern']??_0x3791de)[_0x5c705e(0x2cd)]()||_0x3791de;}function _0x5547f3(_0x35b01d){const _0x1f30cd=_0x571676;return String(Number[_0x1f30cd(0x5be)](_0x35b01d)?_0x35b01d:Math[_0x1f30cd(0x43e)]((_0x35b01d+0x2**-0x34)*0x64)/0x64);}function _0x54f791(_0x5af07d){const _0x33e4aa=_0x571676;return _0x5af07d&&typeof _0x5af07d==_0x33e4aa(0x1a7)&&!Array[_0x33e4aa(0x21f)](_0x5af07d)?_0x5af07d:{};}function _0x25168e(_0x50241f){const _0x1ddfb3=_0x571676;if(_0x50241f==null||_0x50241f==='')return null;let _0x23a690=typeof _0x50241f=='number'?_0x50241f:Number(_0x50241f);return Number[_0x1ddfb3(0x195)](_0x23a690)?_0x23a690:null;}function _0x514550(_0x5c6d8c,_0x2d9093,_0x219fec,_0x54285d){const _0x188f68=_0x571676;let _0x1118dd=_0x25168e(_0x5c6d8c);return _0x1118dd==null?_0x54285d:Math['max'](_0x2d9093,Math[_0x188f68(0x5a2)](_0x219fec,Math[_0x188f68(0x43e)](_0x1118dd)));}function _0x4849e3(_0x2f1443,_0x2b9bec){const _0x2ac538=_0x571676;let _0x55f4c5=_0x13cf76[_0x2ac538(0x39a)]['deepClone'](_0x2f1443),_0x44559a=_0x2b9bec[_0x2ac538(0x416)]===!0x0,_0x74af9=new Map(),_0x218f35=_0x2b9bec[_0x2ac538(0x303)]??(()=>'view-'+(0x0,_0x13cf76[_0x2ac538(0x3c0)])(0x8)),_0x2266dc=_0x55f4c5[_0x2ac538(0x43a)];return _0x2b9bec[_0x2ac538(0x571)]&&(_0x2266dc=_0x55f4c5['viewOrder'][_0x2ac538(0x329)](_0x8ae338=>{let _0x176df3=_0x218f35();return _0x74af9['set'](_0x8ae338,_0x176df3),_0x176df3;})),{..._0x55f4c5,'id':_0x2b9bec['id'],'name':_0x2b9bec[_0x2ac538(0x46d)],'records':_0x44559a?_0x55f4c5[_0x2ac538(0x38f)]:{},'recordOrder':_0x44559a?_0x55f4c5[_0x2ac538(0x1cd)]:[],'rowIndex':_0x44559a?_0x55f4c5[_0x2ac538(0x563)]:{},'rowId':_0x44559a?_0x55f4c5[_0x2ac538(0x556)]:{},'cellData':_0x44559a?_0x55f4c5[_0x2ac538(0x38e)]:{},'resources':_0x44559a?_0x55f4c5[_0x2ac538(0x23c)]:{},'viewOrder':_0x2266dc,'views':Object[_0x2ac538(0x1fc)](Object[_0x2ac538(0x460)](_0x55f4c5[_0x2ac538(0x18d)]??{})[_0x2ac538(0x329)](([_0x5363bc,_0x3e486c])=>{const _0x46e80e=_0x2ac538;let _0x3cb640=_0x74af9[_0x46e80e(0x59c)](_0x5363bc)??(_0x2b9bec[_0x46e80e(0x571)]?_0x218f35():_0x5363bc);return[_0x3cb640,{..._0x3e486c,'id':_0x3cb640,'tableId':_0x2b9bec['id']}];}))};}var _0x52eb37=_0x571676(0x212),_0x126433=_0x571676(0x4f3);let _0xca87a2={},_0x274a16={};function _0x261471(_0x55da82){const _0x259f38=_0x571676;return new _0x1aaf1b()[_0x259f38(0x491)](_0x55da82);}function _0x30020a(_0x2f9084){const _0x26f115=_0x571676;return _0x2f9084[_0x26f115(0x2d8)]['map'](_0x4e5d81=>({'unitId':_0x2f9084[_0x26f115(0x2aa)],'sheetId':_0x2f9084['tableId'],'range':{'startRow':_0x4e5d81[_0x26f115(0x22f)],'endRow':_0x4e5d81[_0x26f115(0x22f)],'startColumn':_0x4e5d81[_0x26f115(0x5ac)],'endColumn':_0x4e5d81[_0x26f115(0x5ac)]}}));}function _0x3d81f3(_0x583549,_0x5dcfb7){const _0x49d8ea=_0x571676;return{[_0x583549]:Object[_0x49d8ea(0x1fc)](_0x5dcfb7[_0x49d8ea(0x329)](_0x312328=>[_0x312328,'1']))};}let _0x34294d=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x32f943,_0x1977af){const _0x46a2be=_0x571676;super(),this[_0x46a2be(0x19b)]=_0x32f943,this[_0x46a2be(0x380)]=_0x1977af,this[_0x46a2be(0x50b)]();}[_0x571676(0x50b)](){const _0x4fb0b7=_0x571676;this[_0x4fb0b7(0x19b)][_0x4fb0b7(0x339)](_0x4d02c8['id'],{'commandId':_0x4d02c8['id'],'getDirtyData':_0x46a0bf=>this[_0x4fb0b7(0x522)](_0x46a0bf['params'])}),this[_0x4fb0b7(0x48a)]((0x0,_0x13cf76[_0x4fb0b7(0x539)])(()=>{const _0x24754b=_0x4fb0b7;this[_0x24754b(0x19b)][_0x24754b(0x349)](_0x4d02c8['id']);}));}['_getTable'](_0x51b30c,_0x14c370){const _0x1eb966=_0x571676;let _0x46293a=this['_univerInstanceService'][_0x1eb966(0x363)](_0x51b30c,_0x13cf76[_0x1eb966(0x331)][_0x1eb966(0x321)]);return(_0x46293a==null?void 0x0:_0x46293a[_0x1eb966(0x463)]()['tables'][_0x14c370])??null;}[_0x571676(0x522)](_0x217fab){const _0x1b13dc=_0x571676;if(_0x217fab[_0x1b13dc(0x512)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x217fab[_0x1b13dc(0x2aa)]||!_0x217fab['op'])return{'clearDependencyTreeCache':this[_0x1b13dc(0x224)](),'forceCalculation':!0x0};let _0x140163=_0x261471(_0x217fab['op']),_0x30b805=this[_0x1b13dc(0x1bf)](_0x217fab['unitId'],_0x140163);if(_0x30b805[_0x1b13dc(0x4e9)])return{'clearDependencyTreeCache':_0x3d81f3(_0x217fab[_0x1b13dc(0x2aa)],_0x30b805),'forceCalculation':!0x0};let _0x3db33f=Object[_0x1b13dc(0x460)](this[_0x1b13dc(0x341)](_0x217fab[_0x1b13dc(0x2aa)],_0x140163))['flatMap'](([_0x391eb8,_0x6ae0c8])=>_0x30020a({'unitId':_0x217fab[_0x1b13dc(0x2aa)],'tableId':_0x391eb8,'patches':_0x6ae0c8}));return _0x3db33f[_0x1b13dc(0x4e9)]?{'dirtyRanges':_0x3db33f}:{};}[_0x571676(0x1bf)](_0x3e29b4,_0x420e76){const _0x59ce2e=_0x571676;let _0xc7f745=_0x420e76[_0x59ce2e(0x3c4)](_0x23a40e=>_0x23a40e[_0x59ce2e(0x2a3)]!==_0x59ce2e(0x4d1))[_0x59ce2e(0x387)](_0x35a9c9=>_0x35a9c9[_0x59ce2e(0x33f)]?[_0x35a9c9['tableId']]:this[_0x59ce2e(0x45d)](_0x3e29b4));return Array['from'](new Set(_0xc7f745));}['_groupCellInvalidations'](_0x4e2e1b,_0x299c9a){const _0x1ac5cd=_0x571676;let _0x27838e=new Set();return _0x299c9a[_0x1ac5cd(0x53e)]((_0xf56547,_0x39a1c7)=>{const _0x4f19f6=_0x1ac5cd;let _0x434e5e=this['_toDirtyRangePatch'](_0x4e2e1b,_0x39a1c7);if(!_0x434e5e)return _0xf56547;let _0x11870d=_0x39a1c7['tableId']+':'+_0x434e5e[_0x4f19f6(0x22f)]+':'+_0x434e5e[_0x4f19f6(0x5ac)];return _0x27838e['has'](_0x11870d)||(_0x27838e['add'](_0x11870d),_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]=_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]??[],_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]][_0x4f19f6(0x401)](_0x434e5e)),_0xf56547;},{});}[_0x571676(0x17e)](_0x76e230,_0x3ee3b9){const _0x3f17b6=_0x571676;if(_0x3ee3b9[_0x3f17b6(0x2a3)]!==_0x3f17b6(0x4d1))return null;if(_0x3ee3b9[_0x3f17b6(0x22f)]!=null&&_0x3ee3b9[_0x3f17b6(0x235)]!=null)return{'row':_0x3ee3b9[_0x3f17b6(0x22f)],'col':_0x3ee3b9[_0x3f17b6(0x235)],'value':null};if(!_0x3ee3b9[_0x3f17b6(0x5c4)]||!_0x3ee3b9[_0x3f17b6(0x384)])return null;let _0x7633d8=this[_0x3f17b6(0x456)](_0x76e230,_0x3ee3b9[_0x3f17b6(0x33f)]);if(!_0x7633d8)return null;let _0x3e57ee=_0x46d754(_0x7633d8,_0x3ee3b9[_0x3f17b6(0x5c4)],_0x3ee3b9['fieldId']);return _0x3e57ee?{'row':_0x3e57ee[_0x3f17b6(0x22f)],'col':_0x3e57ee[_0x3f17b6(0x5ac)],'value':null}:null;}['_getAllTableIds'](_0x6cc350){const _0x166631=_0x571676;let _0x27b066=this[_0x166631(0x380)][_0x166631(0x363)](_0x6cc350,_0x13cf76[_0x166631(0x331)][_0x166631(0x321)]);return Object[_0x166631(0x334)]((_0x27b066==null?void 0x0:_0x27b066[_0x166631(0x463)]()[_0x166631(0x291)])??{})[_0x166631(0x329)](_0x3a472b=>_0x3a472b['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x5a8fc9=_0x571676;let _0x1e2585=this[_0x5a8fc9(0x380)][_0x5a8fc9(0x4bd)](_0x13cf76[_0x5a8fc9(0x331)][_0x5a8fc9(0x321)])[_0x5a8fc9(0x329)](_0x5741ca=>_0x3d81f3(_0x5741ca[_0x5a8fc9(0x5ca)](),Object[_0x5a8fc9(0x2db)](_0x5741ca[_0x5a8fc9(0x463)]()['tables'])));return Object['assign']({},..._0x1e2585);}};_0x34294d=_0xd015f8([_0xddcdca(0x0,_0x43fb1e[_0x571676(0x3bc)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x34294d);let _0x109762=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0xcb3a18,_0x7a6176,_0x56ce9b,_0x5a4a1a){const _0x39d209=_0x571676;super(),this[_0x39d209(0x485)]=_0xcb3a18,this['_univerInstanceService']=_0x7a6176,this[_0x39d209(0x4b0)]=_0x56ce9b,this['_formulaCalculationSessionService']=_0x5a4a1a,_0x1a302a(this,'_formulaService',new _0x3bb03f()),_0x1a302a(this,_0x39d209(0x216),new Map()),_0x1a302a(this,'_scheduledSuperTableSyncs',new Set()),_0x1a302a(this,_0x39d209(0x3c7),Promise['resolve']()),_0x1a302a(this,'_applyingFormulaResults',!0x1),this[_0x39d209(0x50b)]();}['_initialize'](){const _0x25c042=_0x571676;this[_0x25c042(0x380)][_0x25c042(0x4bd)](_0x13cf76['UniverInstanceType'][_0x25c042(0x321)])[_0x25c042(0x3c9)](_0x50bc3a=>{this['_scheduleSuperTableSync'](_0x50bc3a);}),this[_0x25c042(0x48a)](this[_0x25c042(0x380)][_0x25c042(0x325)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](({unit:_0x4eb1c2})=>{const _0x4b6474=_0x25c042;this[_0x4b6474(0x2c6)](_0x4eb1c2);})),this[_0x25c042(0x48a)](this['_univerInstanceService'][_0x25c042(0x33a)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](_0x39b1bd=>{const _0x9a6f43=_0x25c042;this[_0x9a6f43(0x54a)](()=>this[_0x9a6f43(0x2f0)](_0x39b1bd[_0x9a6f43(0x5ca)]()));})),this[_0x25c042(0x48a)](this[_0x25c042(0x485)][_0x25c042(0x38d)](_0x435b0f=>this['_onCommandExecuted'](_0x435b0f)));}[_0x571676(0x233)](_0x4c7d5b){const _0xdf4c87=_0x571676;if(_0x4c7d5b['id']===_0x43fb1e[_0xdf4c87(0x4c7)]['id']){_0x2d960e(_0x4c7d5b[_0xdf4c87(0x1b8)])&&this[_0xdf4c87(0x22c)](_0x4c7d5b['params']);return;}if(this[_0xdf4c87(0x3b7)]||_0x4c7d5b['id']!==_0x4d02c8['id'])return;let _0x38b7f6=_0x2c6cbb(_0x4c7d5b[_0xdf4c87(0x1b8)])?_0x4c7d5b[_0xdf4c87(0x1b8)]:void 0x0,_0x2c4c0d=_0x38b7f6!=null&&_0x38b7f6[_0xdf4c87(0x2aa)]?[this[_0xdf4c87(0x380)][_0xdf4c87(0x363)](_0x38b7f6['unitId'],_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)])][_0xdf4c87(0x3c4)](_0x1087ba=>!!_0x1087ba):this['_univerInstanceService'][_0xdf4c87(0x4bd)](_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)]),_0x32de76=_0x38b7f6==null?void 0x0:_0x38b7f6['op'];_0x2c4c0d[_0xdf4c87(0x3c9)](_0x520ebc=>{const _0x1e24d4=_0xdf4c87;let _0x43ca5c=_0x32de76?_0x261471(_0x32de76):[];(!_0x32de76||_0x43ca5c[_0x1e24d4(0x1ab)](_0x22993f=>_0x22993f[_0x1e24d4(0x2a3)]!=='cell'))&&this[_0x1e24d4(0x2c6)](_0x520ebc);});}[_0x571676(0x2c6)](_0x21bf81){const _0x5d5c7d=_0x571676;let _0x2d0df4=_0x21bf81[_0x5d5c7d(0x5ca)]();this['_scheduledSuperTableSyncs']['has'](_0x2d0df4)||(this[_0x5d5c7d(0x573)][_0x5d5c7d(0x54c)](_0x2d0df4),this[_0x5d5c7d(0x54a)](async()=>{const _0x5643a6=_0x5d5c7d;this[_0x5643a6(0x573)][_0x5643a6(0x37c)](_0x2d0df4),await this[_0x5643a6(0x222)](_0x21bf81);}));}async[_0x571676(0x222)](_0xe6ff1d){const _0x5f09f9=_0x571676;let _0x3a305c=_0xe6ff1d[_0x5f09f9(0x5ca)](),_0x58c225=this[_0x5f09f9(0x408)][_0x5f09f9(0x48d)](_0xe6ff1d[_0x5f09f9(0x463)]()),_0x4a11b3=new Set(_0x58c225['map'](({tableName:_0x3de490})=>_0x3de490)),_0x4dcf7f=this[_0x5f09f9(0x216)][_0x5f09f9(0x59c)](_0x3a305c)??new Set();for(let _0x49bdaa of _0x4dcf7f)if(!_0x4a11b3[_0x5f09f9(0x370)](_0x49bdaa)&&!await this['_executeSuperTableMutationWhileActive'](_0x43fb1e[_0x5f09f9(0x482)]['id'],{'unitId':_0x3a305c,'tableName':_0x49bdaa}))return;for(let {tableName:_0x3016b1,reference:_0x36e634}of _0x58c225)if(!await this[_0x5f09f9(0x1e8)](_0x43fb1e[_0x5f09f9(0x3f2)]['id'],{'unitId':_0x3a305c,'tableName':_0x3016b1,'reference':_0x36e634}))return;this['_registeredSuperTableNames'][_0x5f09f9(0x569)](_0x3a305c,_0x4a11b3);}async[_0x571676(0x2f0)](_0x3c09aa){const _0x138523=_0x571676;let _0x4b04ba=this[_0x138523(0x216)][_0x138523(0x59c)](_0x3c09aa)??new Set();for(let _0x13201d of _0x4b04ba)if(!await this[_0x138523(0x1e8)](_0x43fb1e['RemoveSuperTableMutation']['id'],{'unitId':_0x3c09aa,'tableName':_0x13201d}))return;this[_0x138523(0x216)]['delete'](_0x3c09aa);}async[_0x571676(0x1e8)](_0x752d53,_0x21a6a8){const _0x550f67=_0x571676;return!this[_0x550f67(0x17f)]&&await this[_0x550f67(0x485)]['executeCommand'](_0x752d53,_0x21a6a8,{'onlyLocal':!0x0})&&!this[_0x550f67(0x17f)];}['_enqueueFormulaSync'](_0x40438e){const _0x5370b9=_0x571676;this['_formulaSyncQueue']=this[_0x5370b9(0x3c7)][_0x5370b9(0x1bc)](_0x40438e,_0x40438e)[_0x5370b9(0x3d4)](()=>void 0x0);}[_0x571676(0x22c)](_0x5caa6d){const _0x5a3e7c=_0x571676;let _0x58ddd4=this[_0x5a3e7c(0x380)][_0x5a3e7c(0x4bd)](_0x13cf76[_0x5a3e7c(0x331)]['UNIVER_BASE']);if(!_0x58ddd4[_0x5a3e7c(0x1ab)](_0x15b9e0=>{const _0xb5ea3f=_0x5a3e7c;var _0x3aa5d0;return((_0x3aa5d0=_0x5caa6d[_0xb5ea3f(0x225)])==null?void 0x0:_0x3aa5d0[_0x15b9e0[_0xb5ea3f(0x5ca)]()])!=null;}))return;let _0x17648f=_0x58ddd4['flatMap'](_0x5c4cd6=>_0x182f9d(_0x5c4cd6[_0x5a3e7c(0x463)](),_0x5caa6d));if(!_0x17648f['length']){this['_formulaCalculationSessionService'][_0x5a3e7c(0x2a8)](_0x310830[_0x5a3e7c(0x31c)][_0x5a3e7c(0x555)],_0x5caa6d);return;}let _0xde0136=new _0x3db0f3(),_0x57bd9f=_0x17648f['flatMap'](_0x5d5bc1=>_0x30020a({'unitId':_0x5d5bc1[_0x5a3e7c(0x2aa)],'tableId':_0x5d5bc1['tableId'],'patches':_0x5d5bc1[_0x5a3e7c(0x2d8)]}));this[_0x5a3e7c(0x3b7)]=!0x0,(async()=>{const _0x3da524=_0x5a3e7c;for(let _0x44f396 of _0x17648f){let _0x3ae2c3=this[_0x3da524(0x380)][_0x3da524(0x363)](_0x44f396[_0x3da524(0x2aa)],_0x13cf76[_0x3da524(0x331)][_0x3da524(0x321)]);_0x3ae2c3&&await this[_0x3da524(0x485)][_0x3da524(0x242)](_0x4d02c8['id'],{'unitId':_0x44f396[_0x3da524(0x2aa)],'op':_0xde0136[_0x3da524(0x23a)](_0x3ae2c3['getSnapshot'](),_0x44f396[_0x3da524(0x33f)],_0x44f396[_0x3da524(0x2d8)]),'trigger':_0x43fb1e['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x3da524(0x485)]['executeCommand'](_0x43fb1e[_0x3da524(0x1a0)]['id'],{'dirtyRanges':_0x57bd9f},{'onlyLocal':!0x0});})()[_0x5a3e7c(0x215)](()=>{const _0x39139c=_0x5a3e7c;this[_0x39139c(0x3b7)]=!0x1,this[_0x39139c(0x550)][_0x39139c(0x2a8)](_0x310830[_0x39139c(0x31c)][_0x39139c(0x555)],_0x5caa6d);});}};_0x109762=_0xd015f8([_0xddcdca(0x0,_0x13cf76['ICommandService']),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x2,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x43fb1e[_0x571676(0x480)])),_0xddcdca(0x3,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x310830[_0x571676(0x316)]))],_0x109762);function _0x2c6cbb(_0x22afd7){const _0x1c7ad2=_0x571676;return typeof _0x22afd7==_0x1c7ad2(0x1a7)&&!!_0x22afd7&&'unitId'in _0x22afd7&&typeof _0x22afd7[_0x1c7ad2(0x2aa)]==_0x1c7ad2(0x2b6)&&'op'in _0x22afd7&&Array[_0x1c7ad2(0x21f)](_0x22afd7['op']);}function _0x2d960e(_0x445b5f){const _0x2a70a0=_0x571676;return typeof _0x445b5f==_0x2a70a0(0x1a7)&&!!_0x445b5f&&'unitData'in _0x445b5f&&_0x2a70a0(0x5cc)in _0x445b5f;}let _0x28a88b=new Set([_0x7879f9['id'],_0x1d1662['id'],_0x37f9a6['id']]),_0x2ed944=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x5c38e6,_0x1f8e0f,_0x1f2f9d,_0x48cd08){const _0xcb83a6=_0x571676;super(),this[_0xcb83a6(0x340)]=_0x5c38e6,this[_0xcb83a6(0x485)]=_0x1f8e0f,this[_0xcb83a6(0x3e4)]=_0x1f2f9d,this[_0xcb83a6(0x1c6)]=_0x48cd08,this[_0xcb83a6(0x1c6)][_0xcb83a6(0x4bd)](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x3c9)](_0x3f1dd5=>this[_0xcb83a6(0x275)](_0x3f1dd5['getUnitId']())),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)]['getTypeOfUnitAdded$'](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](({unit:_0x405d9a})=>this['_registerUnitPermissionPoints'](_0x405d9a['getUnitId']()))),this['disposeWithMe'](this['_commandService'][_0xcb83a6(0x3d3)]((_0x3ae9dd,_0x1df90a)=>this[_0xcb83a6(0x376)](_0x3ae9dd,_0x1df90a))),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)][_0xcb83a6(0x33a)](_0x13cf76[_0xcb83a6(0x331)][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](_0x3e5290=>{const _0x1e32f7=_0xcb83a6;this[_0x1e32f7(0x340)][_0x1e32f7(0x59c)](_0x13cf76[_0x1e32f7(0x4fa)])[_0x1e32f7(0x5c6)](_0x3e5290[_0x1e32f7(0x5ca)]()),_0x43ed86(this['_permissionService'],_0x3e5290[_0x1e32f7(0x5ca)]());}));}[_0x571676(0x275)](_0x273b3a){const _0x588415=_0x571676;_0x147f37[_0x588415(0x3c9)](_0x14bea2=>{const _0xef434b=_0x588415;let _0x176af3=_0x41f091(_0x273b3a,_0x273b3a,_0x14bea2);this['_permissionService']['getPermissionPoint'](_0x176af3['id'])||this['_permissionService'][_0xef434b(0x2d2)](_0x176af3);}),this[_0x588415(0x340)][_0x588415(0x59c)](_0x13cf76[_0x588415(0x4fa)])['initializeUnit']({'unitId':_0x273b3a,'objectId':_0x273b3a,'objectType':_0x93a0d4[_0x588415(0x1a5)][_0x588415(0x52e)]});}[_0x571676(0x376)](_0x34103d,_0x19e718){const _0x136465=_0x571676;var _0xd4b8d8;if(_0x19e718!=null&&_0x19e718['fromCollab']||_0x19e718!=null&&_0x19e718['fromChangeset'])return;let _0x56635e=_0x1541b3(_0x34103d[_0x136465(0x1b8)])?_0x34103d[_0x136465(0x1b8)]:void 0x0;if(_0x19e718!=null&&_0x19e718['onlyLocal']&&_0x34103d['id']===_0x136465(0x441)&&(_0x56635e==null?void 0x0:_0x56635e['trigger'])===_0x43fb1e[_0x136465(0x4c7)]['id'])return;let _0x36fea1=_0x151f2b(_0x34103d['id']),_0x44b8ee=_0x401a24(_0x56635e==null?void 0x0:_0x56635e[_0x136465(0x2aa)],_0x19e718)??(_0x36fea1?(_0xd4b8d8=this[_0x136465(0x1c6)][_0x136465(0x591)](_0x13cf76[_0x136465(0x331)][_0x136465(0x321)]))==null?void 0x0:_0xd4b8d8[_0x136465(0x5ca)]():void 0x0);if(!_0x44b8ee||this[_0x136465(0x1c6)][_0x136465(0x4db)](_0x44b8ee)!==_0x13cf76[_0x136465(0x331)][_0x136465(0x321)])return;if(_0x36fea1){if(!_0x22a775(this[_0x136465(0x3e4)],_0x44b8ee,_0x44b8ee,_0x36fea1))throw this[_0x136465(0x340)][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])['emitPermissionDenied'](_0x44b8ee),new _0x13cf76['CustomCommandExecutionError']('Base\x20'+_0x93a0d4[_0x136465(0x2a0)][_0x36fea1]+_0x136465(0x2f2));return;}if(_0x28a88b[_0x136465(0x370)](_0x34103d['id'])||!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x5b3))&&!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x274)))return;let _0x4973b8=this[_0x136465(0x1c6)][_0x136465(0x363)](_0x44b8ee,_0x13cf76['UniverInstanceType'][_0x136465(0x321)]),_0x592083=_0x4973b8?_0x24d555(_0x4973b8,_0x56635e??{},_0x34103d['id']):[];if(!_0x4973b8||!_0x712233(this[_0x136465(0x3e4)],_0x44b8ee,_0x592083))throw this['_injector'][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])[_0x136465(0x46a)](_0x44b8ee,_0x592083),new _0x13cf76[(_0x136465(0x56b))](_0x136465(0x1c9));}};_0x2ed944=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x1,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x3,_0x13cf76['IUniverInstanceService'])],_0x2ed944);function _0x401a24(_0x30d14a,_0x48afab){const _0x4c6c5e=_0x571676;return typeof _0x30d14a==_0x4c6c5e(0x2b6)?_0x30d14a:typeof(_0x48afab==null?void 0x0:_0x48afab[_0x4c6c5e(0x2aa)])==_0x4c6c5e(0x2b6)?_0x48afab[_0x4c6c5e(0x2aa)]:void 0x0;}function _0x151f2b(_0x5acf11){const _0x5f1f1e=_0x571676;if(_0x5acf11===_0x5f1f1e(0x503)||_0x5acf11===_0x5f1f1e(0x3d2))return _0x93a0d4[_0x5f1f1e(0x2a0)][_0x5f1f1e(0x466)];if(_0x5acf11[_0x5f1f1e(0x33b)](_0x5f1f1e(0x2f4))||_0x5acf11['startsWith'](_0x5f1f1e(0x57c)))return _0x93a0d4['UnitAction'][_0x5f1f1e(0x423)];}function _0x24d555(_0x7fd5f7,_0x4fd742,_0x41b7cd){const _0x2d0201=_0x571676;if(_0x41b7cd===_0x2d0201(0x441)&&_0x1f6ea6(_0x4fd742['op']))return _0x21ac5(_0x7fd5f7,_0x4fd742['op']);let _0x2dcf52=new Set(),_0x2eadda=_0x864491(_0x4fd742,_0x2d0201(0x4b7)),_0x372dc9=typeof _0x4fd742['tableId']==_0x2d0201(0x2b6)?_0x4fd742[_0x2d0201(0x33f)]:_0x2eadda[0x0];if(_0x2eadda[_0x2d0201(0x3c9)](_0x5bccae=>_0x2dcf52[_0x2d0201(0x54c)](_0x1162c3(_0x5bccae))),!_0x372dc9)return[..._0x2dcf52];let _0x9ec10b=_0x7fd5f7[_0x2d0201(0x463)]()[_0x2d0201(0x291)][_0x372dc9],_0x204005=new Set(_0x864491(_0x4fd742,'field')),_0x202b6b=new Set(_0x864491(_0x4fd742,_0x2d0201(0x4a9))),_0x5a5a13=new Set(_0x864491(_0x4fd742,_0x2d0201(0x197)));return _0x1870db(_0x9ec10b,_0x4fd742[_0x2d0201(0x2d8)],_0x202b6b,_0x204005),_0x4e9e02(_0x4fd742,_0x204005),_0x204005[_0x2d0201(0x3c9)](_0xb9ee61=>_0x2dcf52[_0x2d0201(0x54c)](_0x1d768a(_0x372dc9,_0xb9ee61))),_0x202b6b[_0x2d0201(0x3c9)](_0x3d657e=>_0x2dcf52[_0x2d0201(0x54c)](_0x458252(_0x372dc9,_0x3d657e))),_0x5a5a13['forEach'](_0x296014=>_0x2dcf52['add'](_0x3c9691(_0x372dc9,_0x296014))),[..._0x2dcf52];}function _0x21ac5(_0xdeff64,_0x4edd4c){const _0x1962ae=_0x571676;let _0x369396=_0xdeff64[_0x1962ae(0x463)](),_0x51007b=new _0x1aaf1b()['getAffectedRanges'](_0x4edd4c),_0x5ecec4=_0x1b4841(_0x4edd4c),_0x1c7f30=new Set();return _0x51007b['forEach'](_0x16a03c=>{const _0x255ab0=_0x1962ae;var _0x1bc6cb,_0x21d454;let {tableId:_0x94c0b0}=_0x16a03c;if(!_0x94c0b0)return;_0x1c7f30['add'](_0x1162c3(_0x94c0b0));let _0x439291=_0x369396[_0x255ab0(0x291)][_0x94c0b0],_0x47180a=_0x16a03c[_0x255ab0(0x5c4)]??(_0x16a03c[_0x255ab0(0x22f)]==null||_0x439291==null||(_0x1bc6cb=_0x439291[_0x255ab0(0x556)])==null?void 0x0:_0x1bc6cb[_0x16a03c[_0x255ab0(0x22f)]]),_0xd0b92b=_0x16a03c[_0x255ab0(0x384)]??(_0x16a03c[_0x255ab0(0x235)]==null||_0x439291==null||(_0x21d454=_0x439291[_0x255ab0(0x351)])==null?void 0x0:_0x21d454[_0x16a03c['column']]);_0x47180a&&_0x1c7f30['add'](_0x458252(_0x94c0b0,_0x47180a)),_0xd0b92b&&_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0xd0b92b)),_0x16a03c[_0x255ab0(0x1ca)]&&_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x16a03c['viewId'])),(_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4b7)||_0x5ecec4['has'](_0x94c0b0))&&_0x439291&&(Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])['forEach'](_0x50fae3=>_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0x50fae3))),Object['keys'](_0x439291[_0x255ab0(0x38f)])['forEach'](_0x232072=>_0x1c7f30[_0x255ab0(0x54c)](_0x458252(_0x94c0b0,_0x232072))),Object[_0x255ab0(0x2db)](_0x439291['views'])['forEach'](_0x509b34=>_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x509b34)))),_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4a9)&&_0x439291&&Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])[_0x255ab0(0x3c9)](_0x44d35a=>_0x1c7f30[_0x255ab0(0x54c)](_0x1d768a(_0x94c0b0,_0x44d35a)));}),_0x51007b['length']===0x0&&_0x50be0c(_0x4edd4c,'tableOrder')&&Object[_0x1962ae(0x2db)](_0x369396[_0x1962ae(0x291)])['forEach'](_0xa01a95=>_0x1c7f30[_0x1962ae(0x54c)](_0x1162c3(_0xa01a95))),[..._0x1c7f30];}function _0x1b4841(_0x51ac15){let _0x50e9e8=new Set(),_0x56bb93=_0x39c101=>{Array['isArray'](_0x39c101)&&_0x39c101['forEach']((_0xf10ed8,_0x572efc)=>{const _0x2671e8=_0x4fc5;_0xf10ed8===_0x2671e8(0x291)&&typeof _0x39c101[_0x572efc+0x1]=='string'&&_0x528e2d(_0x39c101[_0x572efc+0x2])&&_0x50e9e8[_0x2671e8(0x54c)](_0x39c101[_0x572efc+0x1]),_0x56bb93(_0xf10ed8);});};return _0x56bb93(_0x51ac15),_0x50e9e8;}function _0x528e2d(_0x37748f){const _0x3d37a8=_0x571676;return!!_0x37748f&&typeof _0x37748f==_0x3d37a8(0x1a7)&&!Array['isArray'](_0x37748f)&&('i'in _0x37748f||'r'in _0x37748f||'p'in _0x37748f||'d'in _0x37748f||'es'in _0x37748f||_0x3d37a8(0x40f)in _0x37748f||'et'in _0x37748f);}function _0x50be0c(_0x1bd863,_0x4d9bb1){const _0x5c46de=_0x571676;return Array[_0x5c46de(0x21f)](_0x1bd863)&&_0x1bd863[_0x5c46de(0x1ab)](_0x3f9bd1=>_0x3f9bd1===_0x4d9bb1||_0x50be0c(_0x3f9bd1,_0x4d9bb1));}function _0x864491(_0x358202,_0x300419){const _0x19e1e7=_0x571676;let _0x57bae5=new Set(),_0x49c5a3=_0x300419+'Id',_0x1989d7=_0x300419+_0x19e1e7(0x2dc),_0x1ae5ea=(_0x3415ca,_0x5cd736='')=>{const _0x3ce2ea=_0x19e1e7;typeof _0x3415ca=='string'?_0x5cd736===_0x49c5a3&&_0x57bae5['add'](_0x3415ca):Array[_0x3ce2ea(0x21f)](_0x3415ca)?_0x5cd736===_0x1989d7?_0x3415ca[_0x3ce2ea(0x3c9)](_0x3ab36d=>{const _0x5c7fcf=_0x3ce2ea;typeof _0x3ab36d==_0x5c7fcf(0x2b6)&&_0x57bae5[_0x5c7fcf(0x54c)](_0x3ab36d);}):_0x3415ca[_0x3ce2ea(0x3c9)](_0x1670f5=>_0x1ae5ea(_0x1670f5,_0x5cd736)):_0x1541b3(_0x3415ca)&&Object[_0x3ce2ea(0x460)](_0x3415ca)[_0x3ce2ea(0x3c9)](([_0x229e18,_0x20820b])=>{const _0xdaa505=_0x3ce2ea;_0x229e18==='id'&&_0x5cd736===_0x300419&&typeof _0x20820b==_0xdaa505(0x2b6)?_0x57bae5[_0xdaa505(0x54c)](_0x20820b):_0x1ae5ea(_0x20820b,_0x229e18);});};return _0x1ae5ea(_0x358202),[..._0x57bae5];}function _0x1870db(_0x4d1b80,_0x1fde13,_0x1b8c11,_0x51b09b){const _0x8d5d45=_0x571676;_0x4d1b80&&Array[_0x8d5d45(0x21f)](_0x1fde13)&&_0x1fde13[_0x8d5d45(0x3c9)](_0x12ae5e=>{const _0x49084=_0x8d5d45;if(!_0x1541b3(_0x12ae5e))return;let _0x429970=_0x12ae5e;if(typeof _0x429970[_0x49084(0x22f)]==_0x49084(0x3dc)){var _0x16416a;let _0x46709c=(_0x16416a=_0x4d1b80[_0x49084(0x556)])==null?void 0x0:_0x16416a[_0x429970[_0x49084(0x22f)]];_0x46709c&&_0x1b8c11['add'](_0x46709c);}if(typeof _0x429970[_0x49084(0x5ac)]==_0x49084(0x3dc)){var _0xdc3e1f;let _0x586b06=(_0xdc3e1f=_0x4d1b80[_0x49084(0x351)])==null?void 0x0:_0xdc3e1f[_0x429970[_0x49084(0x5ac)]];_0x586b06&&_0x51b09b[_0x49084(0x54c)](_0x586b06);}});}function _0x4e9e02(_0x14a163,_0x3857ec,_0x2680fb=''){const _0x2d85fb=_0x571676;_0x14a163&&typeof _0x14a163=='object'&&(Array['isArray'](_0x14a163)?_0x14a163[_0x2d85fb(0x3c9)](_0x28da2c=>_0x4e9e02(_0x28da2c,_0x3857ec,_0x2680fb)):_0x1541b3(_0x14a163)&&Object['entries'](_0x14a163)['forEach'](([_0x36bd3c,_0x9c2572])=>{const _0x3efdbe=_0x2d85fb;_0x2680fb===_0x3efdbe(0x334)&&_0x3857ec[_0x3efdbe(0x54c)](_0x36bd3c),_0x4e9e02(_0x9c2572,_0x3857ec,_0x36bd3c);}));}function _0x1f6ea6(_0x3b3264){const _0x19d665=_0x571676;return Array[_0x19d665(0x21f)](_0x3b3264);}function _0x1541b3(_0x45dbdb){const _0x539ec3=_0x571676;return typeof _0x45dbdb==_0x539ec3(0x1a7)&&!!_0x45dbdb&&!Array[_0x539ec3(0x21f)](_0x45dbdb);}let _0x2215ee=(0x0,_0x13cf76[_0x571676(0x220)])('base.resource.service'),_0x312145=class{constructor(_0x48c73a){const _0x43ae4f=_0x571676;this[_0x43ae4f(0x380)]=_0x48c73a;}[_0x571676(0x58b)](_0x149d73){const _0x519564=_0x571676;return this['_univerInstanceService'][_0x519564(0x363)](_0x149d73,_0x13cf76[_0x519564(0x331)][_0x519564(0x321)])??null;}[_0x571676(0x39d)](){const _0x5dff6d=_0x571676;return this[_0x5dff6d(0x380)][_0x5dff6d(0x4bd)](_0x13cf76[_0x5dff6d(0x331)][_0x5dff6d(0x321)]);}[_0x571676(0x513)](_0x7ada75){const _0x2957de=_0x571676;return this['_univerInstanceService']['createUnit'](_0x13cf76[_0x2957de(0x331)]['UNIVER_BASE'],_0x7ada75);}};_0x312145=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x59e)])],_0x312145);let _0x31f2d3=(0x0,_0x13cf76[_0x571676(0x220)])('base.view-registry.service');var _0x417de1=class extends _0x13cf76['Disposable']{constructor(..._0x281a15){const _0x51d8d9=_0x571676;super(..._0x281a15),_0x1a302a(this,_0x51d8d9(0x28b),new Map());}['register'](_0x3c604e){const _0x2a5c71=_0x571676;return this[_0x2a5c71(0x28b)]['set'](_0x3c604e[_0x2a5c71(0x292)],_0x3c604e),(0x0,_0x13cf76[_0x2a5c71(0x539)])(()=>this[_0x2a5c71(0x28b)][_0x2a5c71(0x37c)](_0x3c604e[_0x2a5c71(0x292)]));}[_0x571676(0x59c)](_0x524417){const _0x17c94c=_0x571676;let _0x1e9218=this[_0x17c94c(0x28b)][_0x17c94c(0x59c)](_0x524417);if(!_0x1e9218)throw Error(_0x17c94c(0x3c8)+_0x524417+_0x17c94c(0x352));return _0x1e9218;}['getAll'](){const _0x9f00ff=_0x571676;return Array[_0x9f00ff(0x2ed)](this['_plugins'][_0x9f00ff(0x334)]());}};let _0x4a3eb2=[_0x4d02c8],_0x1d3ce7=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x4c8432=_0xca87a2,_0x47926e,_0x3daef1,_0x2e4e2d,_0x1043c9,_0x1d511e){const _0x10c535=_0x571676;super(),this[_0x10c535(0x5d0)]=_0x4c8432,this[_0x10c535(0x340)]=_0x47926e,this[_0x10c535(0x485)]=_0x3daef1,this[_0x10c535(0x380)]=_0x2e4e2d,this['_configService']=_0x1043c9,this[_0x10c535(0x21b)]=_0x1d511e,_0x1a302a(this,'_baseSyncDisposables',new Map());let {..._0x5356da}=(0x0,_0x13cf76[_0x10c535(0x2c4)])({},_0xca87a2,this[_0x10c535(0x5d0)]);this[_0x10c535(0x270)][_0x10c535(0x226)](_0x10c535(0x1eb),_0x5356da),this[_0x10c535(0x380)]['registerCtorForType'](_0x13cf76['UniverInstanceType']['UNIVER_BASE'],_0x13cf76['BaseDataModel']),this[_0x10c535(0x264)](),this[_0x10c535(0x55b)](),this[_0x10c535(0x3d8)](),this[_0x10c535(0x369)]();}[_0x571676(0x389)](){const _0x51eb34=_0x571676;this['_injector']['add']([_0x15ceca]),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76[_0x51eb34(0x1d3)])['registerCommand'](_0x592127)),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ICommandService'])[_0x51eb34(0x45a)](_0x5ba4b4)),this['disposeWithMe'](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ObjectPermissionService'])[_0x51eb34(0x1b5)](_0x93a0d4[_0x51eb34(0x1a5)][_0x51eb34(0x52e)],this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x15ceca),_0x592127['id'],_0x5ba4b4['id']));}[_0x571676(0x2d6)](){const _0xeca840=_0x571676;(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x312145],[_0x2f32b0],[_0x34294d]]),this[_0xeca840(0x380)][_0xeca840(0x4bd)](_0x13cf76['UniverInstanceType']['UNIVER_BASE'])['forEach'](_0x4b9a0f=>this[_0xeca840(0x4df)](_0x4b9a0f['getUnitId']())),(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x109762],[_0x2ed944]]);}[_0x571676(0x264)](){const _0x61e623=_0x571676;[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x31f2d3,{'useClass':_0x417de1}],[_0x5c11cd,{'useClass':_0x308bae}],[_0x2215ee,{'useClass':_0x312145}],[_0x43d5bd,{'useClass':_0x156190}],[_0x5cf6f3,{'useClass':_0x2f32b0}],[_0x34294d],[_0x109762],[_0x2ed944]][_0x61e623(0x3c9)](_0x3b955e=>this[_0x61e623(0x340)][_0x61e623(0x54c)](_0x3b955e));}[_0x571676(0x55b)](){const _0x2ab6ec=_0x571676;[_0x362922,_0x5bf158,_0x1608ef,_0x2f1b8b,_0x14468a,_0x7cb956,_0x1d23ba,_0x7be1ba,_0x191150,_0x1c859a,_0x45c212,_0x5a49a5,_0x3975dc,_0x222f05,_0x3ae6cb,_0xa04f45,_0x2ea211,_0x11e333,_0x5e6b94,_0x1637ea,_0x6cfbf6,_0x37f9a6,_0x497b38,_0x26e35d,_0x1df208,_0x55d71e,_0x3cccd9,_0x2011a2,_0x3f4bfc,_0x5c63df,_0x747472,_0x7879f9,_0x1d1662,_0x292a44,_0x16dc22,_0x34cc97,_0x20fd70,_0x19979c,_0x5b0eaf,_0x1e62e1,_0x72026a,..._0x4a3eb2]['forEach'](_0x2ef736=>this[_0x2ab6ec(0x48a)](this[_0x2ab6ec(0x485)][_0x2ab6ec(0x45a)](_0x2ef736))),_0x4a3eb2[_0x2ab6ec(0x3c9)](_0x399f15=>{const _0x25e128=_0x2ab6ec;var _0x26a913;return(_0x26a913=this[_0x25e128(0x21b)])==null?void 0x0:_0x26a913[_0x25e128(0x33e)](_0x399f15);});}[_0x571676(0x369)](){const _0x5308ab=_0x571676;this[_0x5308ab(0x21b)]&&(this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)]['getTypeOfUnitAdded$'](_0x13cf76[_0x5308ab(0x331)][_0x5308ab(0x321)])[_0x5308ab(0x362)](({unit:_0x21649a})=>{const _0xb70f25=_0x5308ab;this['_syncBaseUnit'](_0x21649a[_0xb70f25(0x5ca)]());})),this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)][_0x5308ab(0x33a)](_0x13cf76[_0x5308ab(0x331)]['UNIVER_BASE'])[_0x5308ab(0x362)](_0x30c5af=>{const _0xe1eace=_0x5308ab;var _0xf17278;(_0xf17278=this[_0xe1eace(0x445)][_0xe1eace(0x59c)](_0x30c5af[_0xe1eace(0x5ca)]()))==null||_0xf17278['dispose'](),this[_0xe1eace(0x445)][_0xe1eace(0x37c)](_0x30c5af['getUnitId']());})));}[_0x571676(0x4df)](_0x3b7cbc){const _0x436106=_0x571676;this['_dataSyncPrimaryController']&&!this[_0x436106(0x445)][_0x436106(0x370)](_0x3b7cbc)&&this['_baseSyncDisposables'][_0x436106(0x569)](_0x3b7cbc,this[_0x436106(0x21b)][_0x436106(0x5b2)](_0x3b7cbc));}['_initRegistries'](){const _0x41bff1=_0x571676;let _0x301132=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x1be8ce);_0x44e8e4()[_0x41bff1(0x3c9)](_0x5ae883=>_0x301132[_0x41bff1(0x339)](_0x5ae883));let _0x3ce285=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x31f2d3),_0x112fb9=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x5c11cd);_0x10ad0c()[_0x41bff1(0x3c9)](_0x154f4b=>{const _0x515dfd=_0x41bff1;_0x3ce285[_0x515dfd(0x339)](_0x154f4b),_0x112fb9[_0x515dfd(0x2a1)](_0x154f4b);});}};_0x1a302a(_0x1d3ce7,_0x571676(0x5d6),_0x571676(0x41f)),_0x1a302a(_0x1d3ce7,_0x571676(0x243),_0x52eb37),_0x1a302a(_0x1d3ce7,'version',_0x126433),_0x1a302a(_0x1d3ce7,_0x571676(0x292),_0x13cf76[_0x571676(0x331)]['UNIVER_BASE']),_0x1d3ce7=_0xd015f8([(0x0,_0x13cf76[_0x571676(0x30e)])(_0x2f1c4f[_0x571676(0x5c3)],_0x43fb1e[_0x571676(0x3e6)]),_0xddcdca(0x1,(0x0,_0x13cf76['Inject'])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x3,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x4,_0x13cf76['IConfigService']),_0xddcdca(0x5,(0x0,_0x13cf76[_0x571676(0x1cb)])(_0x44eadb[_0x571676(0x427)]))],_0x1d3ce7);let _0x153623=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x9a02e9=_0x274a16,_0x48ea12,_0x3062f8,_0x2c926f,_0x5f3988){const _0x12b900=_0x571676;super(),this['_config']=_0x9a02e9,this[_0x12b900(0x340)]=_0x48ea12,this[_0x12b900(0x485)]=_0x3062f8,this['_configService']=_0x2c926f,this[_0x12b900(0x380)]=_0x5f3988;let {..._0x12db60}=(0x0,_0x13cf76[_0x12b900(0x2c4)])({},_0x274a16,this[_0x12b900(0x5d0)]);this[_0x12b900(0x270)][_0x12b900(0x226)](_0x12b900(0x232),_0x12db60),this[_0x12b900(0x380)][_0x12b900(0x2c7)](_0x13cf76['UniverInstanceType'][_0x12b900(0x321)],_0x13cf76['BaseDataModel']),[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x5c11cd,{'useClass':_0x308bae}]]['forEach'](_0x52a97d=>this[_0x12b900(0x340)][_0x12b900(0x54c)](_0x52a97d)),_0x4a3eb2[_0x12b900(0x3c9)](_0x3e09fe=>this[_0x12b900(0x48a)](this[_0x12b900(0x485)][_0x12b900(0x45a)](_0x3e09fe)));}};_0x1a302a(_0x153623,'pluginName',_0x571676(0x3bb)),_0x1a302a(_0x153623,'packageName',_0x52eb37),_0x1a302a(_0x153623,'version',_0x126433),_0x1a302a(_0x153623,'type',_0x13cf76[_0x571676(0x331)][_0x571676(0x321)]),_0x153623=_0xd015f8([(0x0,_0x13cf76['DependentOn'])(_0x2f1c4f['UniverLicensePlugin'],_0x43fb1e['UniverProFormulaEnginePlugin']),_0xddcdca(0x1,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76['Injector'])),_0xddcdca(0x2,_0x13cf76['ICommandService']),_0xddcdca(0x3,_0x13cf76[_0x571676(0x32e)]),_0xddcdca(0x4,_0x13cf76[_0x571676(0x59e)])],_0x153623);function _0x3fe1f2(_0x5d731e){const _0x46b629=_0x571676;let _0x19745c=_0x8b589d(_0x5d731e[_0x46b629(0x1cc)]);if(!_0x19745c)return{'query':'','total':0x0,'matches':[]};let _0x257e9e=[],_0x44ca6a=[];for(let _0xfe66b9=0x0;_0xfe66b9<_0x5d731e[_0x46b629(0x1bb)][_0x46b629(0x4e9)];_0xfe66b9++){if(!(_0xfe66b9 in _0x5d731e[_0x46b629(0x1bb)]))continue;let _0xd3e285=_0x5d731e[_0x46b629(0x4b7)][_0x46b629(0x3c2)][_0x5d731e[_0x46b629(0x1bb)][_0xfe66b9]];_0xd3e285&&_0x44ca6a[_0x46b629(0x401)]({'field':_0xd3e285,'fieldIndex':_0xfe66b9});}_0x5d731e['rows'][_0x46b629(0x3c9)]((_0x3211cc,_0x5f52e3)=>{const _0x2d0ab9=_0x46b629;_0x44ca6a[_0x2d0ab9(0x3c9)](({field:_0x1351d9,fieldIndex:_0x2d3945})=>{const _0x29a06e=_0x2d0ab9;let _0x532552=_0x1f38bb(_0x3211cc[_0x29a06e(0x334)][_0x1351d9['id']],_0x1351d9);if(!_0x532552)return;let _0x3f965a=_0x5c2ed3(_0x19745c,_0x532552[_0x29a06e(0x4c8)]);_0x3f965a<=0x0||_0x257e9e[_0x29a06e(0x401)]({'recordId':_0x3211cc[_0x29a06e(0x5c4)],'fieldId':_0x1351d9['id'],'fieldType':_0x1351d9['type'],'text':_0x532552['displayText'],'score':_0x3f965a,'rowIndex':_0x5f52e3,'fieldIndex':_0x2d3945});});}),_0x257e9e[_0x46b629(0x4af)]((_0x2392dc,_0xe880fd)=>_0xe880fd[_0x46b629(0x1af)]-_0x2392dc['score']||_0x2392dc[_0x46b629(0x563)]-_0xe880fd[_0x46b629(0x563)]||_0x2392dc[_0x46b629(0x1f6)]-_0xe880fd['fieldIndex']);let _0x480ff5=_0x5d731e[_0x46b629(0x5bb)]==null?_0x257e9e:_0x257e9e['slice'](0x0,Math[_0x46b629(0x402)](0x0,_0x5d731e[_0x46b629(0x5bb)]));return{'query':_0x19745c,'total':_0x257e9e['length'],'matches':_0x313c91(_0x480ff5)};}function _0x1f38bb(_0x4e0ca4,_0x354216){const _0xd3bb9e=_0x571676;let _0x413092=[];for(let _0x2cdaa6 of _0x4759ed(_0x4e0ca4,_0x354216)){let _0x13197b=_0x8b589d(_0x2cdaa6);_0x13197b&&_0x413092[_0xd3bb9e(0x401)](_0x13197b);}return _0x413092[_0xd3bb9e(0x4e9)]?{'displayText':_0x461929(_0x4e0ca4,_0x354216),'searchTexts':_0x987b35(_0x413092)}:null;}function _0x461929(_0x5ec99a,_0x2b3b45){const _0x56f344=_0x571676;switch(_0x2b3b45['type']){case _0x13cf76['BaseFieldType'][_0x56f344(0x221)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x247)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x53b)]:return _0x1e8b79(_0x5ec99a,_0x2b3b45)['join'](',\x20');case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x3b6)]:return _0x436047(_0x5ec99a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x494)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x337)]:case _0x13cf76[_0x56f344(0x517)]['UpdatedAt']:return _0x172622(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x400)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x39e)]:return _0x561b21(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)]['Progress']:return _0x2d5feb(_0x5ec99a,_0x2b3b45);case _0x13cf76['BaseFieldType'][_0x56f344(0x55f)]:return _0x5ec99a?_0x56f344(0x3ed):_0x56f344(0x24a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x312)]:return _0x411968(_0x5ec99a)[_0x56f344(0x4b9)](',\x20');default:return _0x2cd85b(_0x5ec99a);}}function _0x4759ed(_0x501fd8,_0x2eca75){const _0x504fb7=_0x571676;switch(_0x2eca75[_0x504fb7(0x292)]){case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x221)]:case _0x13cf76['BaseFieldType'][_0x504fb7(0x247)]:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x53b)]:{let _0x8ecac9=_0x1e8b79(_0x501fd8,_0x2eca75);if(Array['isArray'](_0x501fd8)){let _0x457882=[..._0x8ecac9];for(let _0x2bce65=0x0;_0x2bce65<_0x501fd8[_0x504fb7(0x4e9)];_0x2bce65++)_0x2bce65 in _0x501fd8&&_0x457882[_0x504fb7(0x401)](String(_0x501fd8[_0x2bce65]));return _0x457882;}return _0x501fd8==null?_0x8ecac9:[..._0x8ecac9,String(_0x501fd8)];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x3b6)]:{let _0x5a63c9=_0x11966a(_0x501fd8);return[_0x5a63c9[_0x504fb7(0x5df)],_0x5a63c9[_0x504fb7(0x395)]];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x494)]:case _0x13cf76[_0x504fb7(0x517)]['CreatedAt']:case _0x13cf76['BaseFieldType'][_0x504fb7(0x472)]:return[_0x172622(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)]['Number']:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x39e)]:return[_0x561b21(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x51c)]:return[_0x2d5feb(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x55f)]:return _0x501fd8?[_0x504fb7(0x3ed),'Yes',_0x504fb7(0x48e)]:[_0x504fb7(0x24a),'No','False'];case _0x13cf76['BaseFieldType'][_0x504fb7(0x312)]:return _0x411968(_0x501fd8);default:return[_0x2cd85b(_0x501fd8)];}}function _0x1e8b79(_0x58b1e8,_0x31d3cc){const _0x1ba504=_0x571676;var _0x1a58c4;let _0x46a7e7=Array[_0x1ba504(0x21f)]((_0x1a58c4=_0x31d3cc['config'])==null?void 0x0:_0x1a58c4[_0x1ba504(0x386)])?_0x31d3cc[_0x1ba504(0x5b9)]['options']:[],_0x59ac21=[];if(Array[_0x1ba504(0x21f)](_0x58b1e8)){for(let _0x3db138=0x0;_0x3db138<_0x58b1e8['length'];_0x3db138++){if(!(_0x3db138 in _0x58b1e8))continue;let _0x68a4d7=String(_0x58b1e8[_0x3db138]);_0x68a4d7&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x68a4d7));}return _0x59ac21;}if(_0x58b1e8!=null){let _0x263ab5=String(_0x58b1e8);_0x263ab5&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x263ab5));}return _0x59ac21;}function _0x51fc67(_0x57f972,_0x43c650){const _0x10e3cd=_0x571676;for(let _0x41c95e of _0x57f972){if(typeof _0x41c95e=='string'&&_0x41c95e===_0x43c650)return _0x41c95e;if(_0x41c95e&&typeof _0x41c95e=='object'){let _0x519e8c=_0x41c95e;if(String(_0x519e8c['id']??_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650||String(_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650)return String(_0x519e8c[_0x10e3cd(0x46d)]??_0x519e8c['id']??_0x43c650);}}return _0x43c650;}function _0x11966a(_0x281dcf){const _0x35decd=_0x571676;if(_0x281dcf&&typeof _0x281dcf==_0x35decd(0x1a7)&&!Array[_0x35decd(0x21f)](_0x281dcf)){let _0x49d071=_0x281dcf;return{'text':String(_0x49d071[_0x35decd(0x5df)]??_0x49d071[_0x35decd(0x395)]??''),'url':String(_0x49d071[_0x35decd(0x395)]??'')};}return{'text':_0x2cd85b(_0x281dcf),'url':_0x2cd85b(_0x281dcf)};}function _0x436047(_0x1b6745){const _0x2373fd=_0x571676;let _0x426b07=_0x11966a(_0x1b6745);return _0x426b07[_0x2373fd(0x5df)]||_0x426b07[_0x2373fd(0x395)];}function _0x172622(_0x16aeab,_0x3af956){const _0x467d9f=_0x571676;return typeof _0x16aeab!='number'||!Number[_0x467d9f(0x195)](_0x16aeab)?'':_0x259f65(_0x16aeab,_0x3af956[_0x467d9f(0x5b9)]);}function _0x561b21(_0x5a9a71,_0x1c440b){const _0x406e6a=_0x571676;let _0x2e8a41=typeof _0x5a9a71==_0x406e6a(0x3dc)?_0x5a9a71:Number(_0x5a9a71);return Number[_0x406e6a(0x195)](_0x2e8a41)?_0x4dcf16(_0x2e8a41,_0x1c440b[_0x406e6a(0x5b9)]):'';}function _0x2d5feb(_0x505a0c,_0x33f36c){const _0x45b7fa=_0x571676;let _0x2193a6=typeof _0x505a0c==_0x45b7fa(0x3dc)?_0x505a0c:Number(_0x505a0c);return Number[_0x45b7fa(0x195)](_0x2193a6)?_0x40750c(_0x2193a6,_0x33f36c[_0x45b7fa(0x5b9)]):'';}function _0x411968(_0x17ae41){const _0x4ac2c7=_0x571676;return Array[_0x4ac2c7(0x21f)](_0x17ae41)?_0x17ae41[_0x4ac2c7(0x387)](_0x2b6294=>{const _0x3d0c1a=_0x4ac2c7;if(!_0x2b6294||typeof _0x2b6294!=_0x3d0c1a(0x1a7))return[];let _0x2003fb=_0x2b6294,_0x332e53=String(_0x2003fb[_0x3d0c1a(0x46d)]??_0x2003fb['url']??'')['trim']();return _0x332e53?[_0x332e53]:[];}):[];}function _0x2cd85b(_0x5794b8){const _0x333581=_0x571676;if(_0x5794b8==null)return'';if(typeof _0x5794b8==_0x333581(0x42a))return _0x5794b8?'true':_0x333581(0x574);if(typeof _0x5794b8==_0x333581(0x3dc))return String(_0x5794b8);if(Array['isArray'](_0x5794b8)){let _0x33fb61=[];for(let _0x226a64=0x0;_0x226a64<_0x5794b8[_0x333581(0x4e9)];_0x226a64++){if(!(_0x226a64 in _0x5794b8))continue;let _0x4531ef=_0x2cd85b(_0x5794b8[_0x226a64]);_0x4531ef&&_0x33fb61['push'](_0x4531ef);}return _0x33fb61[_0x333581(0x4b9)](',\x20');}if(typeof _0x5794b8==_0x333581(0x1a7)){let _0x514bc0=_0x5794b8;return String(_0x514bc0[_0x333581(0x297)]??_0x514bc0[_0x333581(0x46d)]??_0x514bc0[_0x333581(0x5df)]??_0x514bc0['url']??'')[_0x333581(0x2cd)]();}return String(_0x5794b8);}function _0x5c2ed3(_0x48adab,_0x1656cd){const _0x36bd37=_0x571676;let _0x5c97be=0x0;for(let _0x1cfdd7 of _0x1656cd)_0x1cfdd7&&(_0x1cfdd7===_0x48adab?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0x12c):_0x1cfdd7[_0x36bd37(0x33b)](_0x48adab)?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0xfa):_0x1cfdd7[_0x36bd37(0x358)](_0x48adab)&&(_0x5c97be=Math['max'](_0x5c97be,0xc8)));return _0x5c97be;}function _0x8b589d(_0x403a80){const _0x1ab91f=_0x571676;return _0x403a80[_0x1ab91f(0x2cd)]()[_0x1ab91f(0x5ae)](/\s+/g,'\x20')['toLowerCase']();}function _0x987b35(_0xa66d0d){return Array['from'](new Set(_0xa66d0d));}function _0x313c91(_0x558b2){const _0xb79af=_0x571676;let _0x662026=[];for(let {rowIndex:_0x38e981,fieldIndex:_0x15e0d0,..._0x2b146a}of _0x558b2)_0x662026[_0xb79af(0x401)](_0x2b146a);return _0x662026;}function _0x9c1284(_0x83080a){const _0x1f48a3=_0x571676;return{'compress':!0x0,'kind':_0x1f48a3(0x317),'u':_0x83080a[_0x1f48a3(0x2aa)],'t':_0x83080a['tableId'],'p':_0x83080a['patches'][_0x1f48a3(0x329)](_0x25b90b=>[_0x25b90b[_0x1f48a3(0x22f)],_0x25b90b['col'],_0x7b2799(_0x25b90b['value'])]),..._0x83080a[_0x1f48a3(0x512)]===void 0x0?{}:{'g':_0x83080a['trigger']}};}function _0x53a563(_0x2059ed){const _0x173ab6=_0x571676;if(_0xfb1d00(_0x2059ed,_0x173ab6(0x317)),!_0x733fdd(_0x2059ed)){if(!_0x590f77(_0x2059ed))throw Error(_0x173ab6(0x2f8));return _0x2059ed;}return{'unitId':_0x2059ed['u'],'tableId':_0x2059ed['t'],'patches':_0x2059ed['p'][_0x173ab6(0x329)](([_0x5c1844,_0x3528db,_0x56efaa])=>({'row':_0x5c1844,'col':_0x3528db,'value':_0x4a2e71(_0x56efaa)})),..._0x2059ed['g']===void 0x0?{}:{'trigger':_0x2059ed['g']}};}function _0x733fdd(_0x294a90){const _0x5df420=_0x571676;return!_0x386f7c(_0x294a90)||_0x294a90['compress']!==!0x0||_0x294a90['kind']!==_0x5df420(0x317)?!0x1:typeof _0x294a90['u']==_0x5df420(0x2b6)&&typeof _0x294a90['t']=='string'&&(_0x294a90['g']===void 0x0||typeof _0x294a90['g']==_0x5df420(0x2b6))&&Array['isArray'](_0x294a90['p'])&&_0x294a90['p'][_0x5df420(0x5a5)](_0x395958=>Array['isArray'](_0x395958)&&_0x395958[_0x5df420(0x4e9)]===0x3&&Number[_0x5df420(0x5be)](_0x395958[0x0])&&Number[_0x5df420(0x5be)](_0x395958[0x1]));}function _0x4a085d(_0x1b395b){const _0x24903f=_0x571676;return!_0x386f7c(_0x1b395b)||_0x1b395b[_0x24903f(0x593)]!==!0x0||_0x1b395b['kind']!==_0x24903f(0x307)||!_0x386f7c(_0x1b395b['tables'])?!0x1:Object[_0x24903f(0x334)](_0x1b395b[_0x24903f(0x291)])[_0x24903f(0x5a5)](_0x12399a=>_0x386f7c(_0x12399a)&&(_0x12399a['cd']===void 0x0||Array['isArray'](_0x12399a['cd'])&&_0x12399a['cd'][_0x24903f(0x5a5)](_0x361a0b=>Array['isArray'](_0x361a0b)&&_0x361a0b[_0x24903f(0x4e9)]===0x3&&Number['isInteger'](_0x361a0b[0x0])&&Number[_0x24903f(0x5be)](_0x361a0b[0x1])&&_0x1076c7(_0x361a0b[0x2]))));}function _0x7b2799(_0x41487f){return _0x3bffd6(_0x41487f)?_0x4ba3d6(_0x41487f):_0x41487f;}function _0x4a2e71(_0x442890){return _0x1076c7(_0x442890)?_0x2fa5ad(_0x442890):_0x442890;}function _0x4ba3d6(_0x5607ac){return{'c':0x1,..._0x5607ac['v']===void 0x0?{}:{'v':_0x5607ac['v']},..._0x5607ac['t']!==void 0x0&&_0x5607ac['t']!==null?{'t':_0x5607ac['t']}:_0x5607ac['t']===null?{'t':null}:{},..._0x5607ac['f']!==void 0x0&&_0x5607ac['f']!==null?{'f':_0x5607ac['f']}:_0x5607ac['f']===null?{'f':null}:{},..._0x5607ac['si']!==void 0x0&&_0x5607ac['si']!==null?{'si':_0x5607ac['si']}:_0x5607ac['si']===null?{'si':null}:{},..._0x5607ac['p']!==void 0x0&&_0x5607ac['p']!==null?{'p':_0x5607ac['p']}:_0x5607ac['p']===null?{'p':null}:{}};}function _0x2fa5ad(_0x5cc46a){return{..._0x5cc46a['v']===void 0x0?{}:{'v':_0x5cc46a['v']},..._0x5cc46a['t']===void 0x0?{}:{'t':_0x5cc46a['t']},..._0x5cc46a['f']===void 0x0?{}:{'f':_0x5cc46a['f']},..._0x5cc46a['si']===void 0x0?{}:{'si':_0x5cc46a['si']},..._0x5cc46a['p']===void 0x0?{}:{'p':_0x5cc46a['p']}};}function _0x3bffd6(_0xc03a80){const _0x2b1d6e=_0x571676;return!!_0xc03a80&&typeof _0xc03a80==_0x2b1d6e(0x1a7)&&!Array['isArray'](_0xc03a80)&&(Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'v')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'t')||Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'p')||Object['prototype']['hasOwnProperty']['call'](_0xc03a80,'f')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'si'));}function _0x1076c7(_0x444931){return _0x386f7c(_0x444931)&&_0x444931['c']===0x1;}function _0x590f77(_0x5b8b49){const _0x1e64d2=_0x571676;return _0x386f7c(_0x5b8b49)&&typeof _0x5b8b49[_0x1e64d2(0x2aa)]==_0x1e64d2(0x2b6)&&typeof _0x5b8b49[_0x1e64d2(0x33f)]==_0x1e64d2(0x2b6)&&(_0x5b8b49['trigger']===void 0x0||typeof _0x5b8b49[_0x1e64d2(0x512)]==_0x1e64d2(0x2b6))&&Array[_0x1e64d2(0x21f)](_0x5b8b49['patches'])&&_0x5b8b49[_0x1e64d2(0x2d8)][_0x1e64d2(0x5a5)](_0x5e5a64=>_0x386f7c(_0x5e5a64)&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x22f)])&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x5ac)])&&_0x1e64d2(0x315)in _0x5e5a64);}function _0xfb1d00(_0x35ee82,_0x13fd3e){const _0x46a531=_0x571676;if(_0x386f7c(_0x35ee82)&&_0x35ee82[_0x46a531(0x593)]===!0x0){if(_0x35ee82[_0x46a531(0x4e6)]!==_0x13fd3e)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x35ee82['kind'])+'\x22.');if(!(_0x13fd3e===_0x46a531(0x317)?_0x733fdd(_0x35ee82):_0x4a085d(_0x35ee82)))throw Error(_0x46a531(0x397)+_0x13fd3e+'\x22.');}}function _0x386f7c(_0xcf43f6){const _0x48e4d5=_0x571676;return!!_0xcf43f6&&typeof _0xcf43f6==_0x48e4d5(0x1a7)&&!Array[_0x48e4d5(0x21f)](_0xcf43f6);}_0xed53b0['ApplyBaseJson1Mutation']=_0x4d02c8,_0xed53b0[_0x571676(0x2e3)]=_0x49b302,_0xed53b0[_0x571676(0x5d2)]=0x5,_0xed53b0[_0x571676(0x4ee)]=_0x571f6c,_0xed53b0[_0x571676(0x1a4)]=_0x571676(0x1fd),_0xed53b0[_0x571676(0x350)]=_0x147f37,_0xed53b0[_0x571676(0x39f)]=_0x4904eb,_0xed53b0[_0x571676(0x3a8)]=_0x75538d,_0xed53b0['BaseFormulaService']=_0x3bb03f,_0xed53b0['BaseHierarchyError']=_0x2dec10,_0xed53b0[_0x571676(0x53c)]=_0x244067,_0xed53b0[_0x571676(0x52a)]=_0x3996a0,_0xed53b0[_0x571676(0x421)]=_0x1aaf1b,_0xed53b0['BaseJson1OpFactory']=_0x3db0f3,_0xed53b0[_0x571676(0x1be)]=_0x191150,_0xed53b0[_0x571676(0x596)]=_0x45c212,_0xed53b0[_0x571676(0x5b8)]=_0x5e6b94,_0xed53b0[_0x571676(0x26d)]=_0x7be1ba,_0xed53b0['CreateBaseFieldCommand']=_0x3ae6cb,_0xed53b0[_0x571676(0x3b4)]=_0x1d23ba,_0xed53b0[_0x571676(0x5aa)]=_0x362922,_0xed53b0[_0x571676(0x1a3)]=_0x497b38,_0xed53b0[_0x571676(0x25c)]=_0x1637ea,_0xed53b0[_0x571676(0x409)]=_0x1c859a,_0xed53b0[_0x571676(0x269)]=_0x1608ef,_0xed53b0[_0x571676(0x483)]=_0x3cccd9,_0xed53b0[_0x571676(0x368)]=_0xa04f45,_0xed53b0['DuplicateBaseRecordCommand']=_0x5a49a5,_0xed53b0[_0x571676(0x474)]=_0x3d977d,_0xed53b0[_0x571676(0x31e)]=_0x26e35d,_0xed53b0['IBaseCommandService']=_0x5cf6f3,_0xed53b0['IBasePermissionService']=_0x43d5bd,_0xed53b0['IBaseProjectionService']=_0x5c11cd,_0xed53b0['IBaseViewRegistryService']=_0x31f2d3,_0xed53b0[_0x571676(0x1b3)]=_0x6cfbf6,_0xed53b0[_0x571676(0x185)]=_0x222f05,_0xed53b0['MoveBaseViewCommand']=_0x2011a2,_0xed53b0[_0x571676(0x4d4)]=_0x5bf158,_0xed53b0['RenameBaseViewCommand']=_0x1df208,_0xed53b0[_0x571676(0x332)]=_0x747472,_0xed53b0['SetBaseNameCommand']=_0x55d71e,_0xed53b0[_0x571676(0x547)]=_0x7879f9,_0xed53b0[_0x571676(0x4fd)]=_0x592127,_0xed53b0['SetBasePermissionRulesMutation']=_0x5ba4b4,_0xed53b0[_0x571676(0x246)]=_0x1d1662,_0xed53b0[_0x571676(0x277)]=_0x7cb956,_0xed53b0[_0x571676(0x4a3)]=_0x14468a,_0xed53b0['SetBaseTableHierarchyFieldCommand']=_0x19979c,_0xed53b0[_0x571676(0x516)]=_0x72026a,_0xed53b0[_0x571676(0x285)]=_0x5b0eaf,_0xed53b0['SetBaseViewFieldWidthCommand']=_0x1e62e1,_0xed53b0[_0x571676(0x1f4)]=_0x16dc22,_0xed53b0[_0x571676(0x545)]=_0x20fd70,_0xed53b0[_0x571676(0x414)]=_0x34cc97,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x2be),{'enumerable':!0x0,'get':function(){return _0x1d3ce7;}}),Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x33c),{'enumerable':!0x0,'get':function(){return _0x153623;}}),_0xed53b0['UpdateBaseCellCommand']=_0x2f1b8b,_0xed53b0[_0x571676(0x208)]=_0x2ea211,_0xed53b0['UpdateBaseFieldDescriptionCommand']=_0x11e333,_0xed53b0['UpdateBaseKanbanConfigCommand']=_0x292a44,_0xed53b0[_0x571676(0x3be)]=_0x3975dc,_0xed53b0[_0x571676(0x4c2)]=_0x5c63df,_0xed53b0[_0x571676(0x1ef)]=_0x3f4bfc,_0xed53b0[_0x571676(0x467)]=_0x37f9a6,_0xed53b0[_0x571676(0x2f1)]=_0x397f72,_0xed53b0[_0x571676(0x5e0)]=_0x4067d3,_0xed53b0['calculateBaseFieldStat']=_0xa2d18d,_0xed53b0[_0x571676(0x48f)]=_0x712233,_0xed53b0[_0x571676(0x186)]=_0x9c1284,_0xed53b0[_0x571676(0x2bf)]=_0x4849e3,_0xed53b0[_0x571676(0x293)]=_0xb8ceba,_0xed53b0['createDefaultBaseTableSnapshot']=_0x910a,_0xed53b0[_0x571676(0x5d3)]=_0x32bf44,_0xed53b0[_0x571676(0x4be)]=_0x293936,_0xed53b0[_0x571676(0x1c2)]=_0x1b9b54,_0xed53b0[_0x571676(0x2c0)]=_0x14d06a,_0xed53b0[_0x571676(0x1ae)]=_0x35414f,_0xed53b0[_0x571676(0x496)]=_0x53a563,_0xed53b0[_0x571676(0x2f9)]=_0x48b6e1,_0xed53b0[_0x571676(0x34d)]=_0x520eb7,_0xed53b0[_0x571676(0x4e2)]=_0x259f65,_0xed53b0['formatBaseFieldStatValue']=_0x2e2210,_0xed53b0[_0x571676(0x44d)]=_0x4dcf16,_0xed53b0[_0x571676(0x2bb)]=_0x40750c,_0xed53b0[_0x571676(0x3ae)]=_0x25a1a4,_0xed53b0[_0x571676(0x399)]=_0x41bd7c,_0xed53b0[_0x571676(0x2c2)]=_0x5d2adc,_0xed53b0[_0x571676(0x418)]=_0xd379e5,_0xed53b0[_0x571676(0x4bf)]=_0x47141a,_0xed53b0['getBaseFieldPermissionObjectId']=_0x1d768a,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x256),{'enumerable':!0x0,'get':function(){const _0xecfaf6=_0x571676;return _0x13cf76[_0xecfaf6(0x256)];}}),_0xed53b0['getBaseHierarchyDeletePromotions']=_0xaf3938,_0xed53b0['getBaseHierarchyFieldId']=_0x19ec27,_0xed53b0[_0x571676(0x29f)]=_0x22a775,_0xed53b0[_0x571676(0x490)]=_0x458252,_0xed53b0['getBaseTablePermissionObjectId']=_0x1162c3,_0xed53b0[_0x571676(0x497)]=_0x3c9691,_0xed53b0['getRecordLinkFieldConfig']=_0x51db2d,_0xed53b0[_0x571676(0x415)]=_0x2e2ae5,_0xed53b0[_0x571676(0x56f)]=_0x4e1dc3,_0xed53b0[_0x571676(0x527)]=_0x6f7f1,_0xed53b0[_0x571676(0x525)]=_0x33b8b5,_0xed53b0[_0x571676(0x359)]=_0x578626,_0xed53b0[_0x571676(0x27c)]=_0xb8bdd7,_0xed53b0[_0x571676(0x192)]=_0x9ba099,_0xed53b0[_0x571676(0x44f)]=_0x53a126,_0xed53b0[_0x571676(0x313)]=_0x733fdd,_0xed53b0[_0x571676(0x5d1)]=_0x4231b9,_0xed53b0[_0x571676(0x39b)]=_0x3d3ab9,_0xed53b0[_0x571676(0x5e6)]=_0x14a5f1,_0xed53b0['normalizeBaseFieldStatsConfig']=_0x22bd83,_0xed53b0[_0x571676(0x2c5)]=_0x5a5d43,_0xed53b0[_0x571676(0x3d0)]=_0x4ceb91,_0xed53b0[_0x571676(0x388)]=_0x35238c,_0xed53b0[_0x571676(0x223)]=_0x2d5926,_0xed53b0[_0x571676(0x450)]=_0x57c380,_0xed53b0[_0x571676(0x180)]=_0x3fe1f2,_0xed53b0[_0x571676(0x209)]=_0xddc2f4,_0xed53b0[_0x571676(0x492)]=_0x10a84e,_0xed53b0['traceBasePerformance']=_0x32800a,_0xed53b0[_0x571676(0x2cb)]=_0x1df899,_0xed53b0[_0x571676(0x4cd)]=_0x158fff,_0xed53b0['validateBaseHierarchyRecordCreations']=_0x16b24a,_0xed53b0[_0x571676(0x560)]=_0x226acd,_0xed53b0[_0x571676(0x3cb)]=_0x475287,_0xed53b0[_0x571676(0x1f8)]=_0x35e826,_0xed53b0[_0x571676(0x4c0)]=_0x5a4a77,_0xed53b0[_0x571676(0x4c1)]=_0x5d7c0c;}));function _0x4fc5(_0x86325f,_0x10d49b){_0x86325f=_0x86325f-0x17a;const _0xd0ee0b=_0xd0ee();let _0x4fc500=_0xd0ee0b[_0x86325f];return _0x4fc500;}function _0xd0ee(){const _0x3dbc18=[',,,\x22B\x22','_isGanttDateField','CreatedBy','subtreeHeightByRecordId','toDisposable','revision','Group','BaseHierarchyErrorCode','_projectionCache','reduce','ObjectMatrix','_buildCalendar','flat','Date1900','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','BASE_RECORD_ID_FIELD_ID','SetBaseViewGroupCommand','dashboard/','SetBasePermissionCommand','updatedAt','rootRecordIds','_enqueueFormulaSync','[BaseCommandService]:\x20invalid\x20field\x20definition.','add','mode','clearFieldPermission','data','_formulaCalculationSessionService','duplicate','getCapabilities','Delete','policy','BASE','rowId','createCreateRecordOp','exists','_materializeFormulaTableNames','UniverProEngineFormula','_initCommands','setViewFieldOrder','@univerjs/core','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Checkbox','validateBaseHierarchyRecordPatches','parentRecordId','STRING','rowIndex','CommandType','setRecordValues','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_createRecordWithDefaults','code','set','find','CustomCommandExecutionError','getProjection','syncExecuteCommand','unknown','getVisibleBaseHierarchyRows','separatorStyle','regenerateViewIds','collaborators','_scheduledSuperTableSyncs','false','JSON1','local','_setObjectEdit','weekdays','ObjectPermissionRuleModel','_normalizeGanttConfig','_canUseFastSort','thread-comment.mutation.','getDependencies','parentFieldName','numfmt','_matchesGanttColorRule','setBasePermission','fieldOrder','setRecordPermission','INIT','Redo','createCreateFieldOp','_setAttachmentResources','[BaseCommandService]:\x20cannot\x20edit\x20table.','525652HDmMjB','Kanban','getBase','_sortRows','dependencyFieldId','save','NumberFormat','baseRows','getCurrentUnitOfType','kanban','compress','COMMAND','currencySymbol','BatchDeleteBaseRecordsCommand','isNaN','decimalPlaces','base.command.delete-base-field','base.mutation.set-permission-rule','readonly','get','padStart','IUniverInstanceService','createSetRecordValuesOp','Edit','_withModifiedSystemValues','min','clearTablePermission','#BBF7D0','every','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','IS_NOT','end','_findCalendarDateFieldId','CreateBaseTableCommand','_resolveCardTitleFieldId','col','createRecord','replace','_normalizeCalendarConfig','RecordLink','\x20must\x20have\x20a\x20non-empty\x20id.','syncUnit','base.command.','Parent\x20Items','moveView','4097140clJFfh','_cellRevisions','ChangeBaseFieldTypeCommand','config','BaseViewType','limit','conjunction','_groupProjectionFieldIds','isInteger','splice','invalidGanttEndField','Inject','\x20has\x20unsupported\x20target\x20\x22','UniverLicensePlugin','recordId','_kanbanLaneColor','clearUnit','majorHeaders','[BaseCommandService]:\x20cannot\x20delete\x20table.','_createRecordOrderOp','getUnitId','invalidateByOp','unitOtherData','custom','defaultValue','_projectFields','_config','matchesBaseCondition','BASE_HIERARCHY_MAX_LEVELS','createEmbedBasesTable','_getCachedProjection','orderedRecordIds','pluginName','Empty','month','abbreviation','setRule','percent','deleteRecord','YESTERDAY','BaseProjection.materializeTableRows','text','buildBaseHierarchyIndex','edit','CONTAINS','check','now','_getTableRevision','normalizeBaseDateSerial','Calendar','optionSource','base.command.update-base-field','UniverProBases','_toDirtyRangePatch','_disposed','searchBaseTable','_projectTableRows','oldParentRecordId','hostAnchorId','BEFORE','MoveBaseHierarchyRecordCommand','compressBaseRangeValuesPayload','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','2289327OODfGJ','hasOwnProperty','createView','_patchCachedProjectedRows','selectField','views','filled','base.command.rename-base-view','option-','@univerjs-pro/engine-formula','isBaseFieldStatType','createdBy','_clearUnit','isFinite','_getTablesToNormalize','view','_projectedGroupsCache','compose','Failed\x20to\x20create\x20update\x20cell\x20operation:','_activeDirtyManagerService','mark','#3b82f6','usableAsGanttEnd','status','SetTriggerFormulaCalculationStartMutation','defineProperty','_isColorfulKanbanGroupField','CreateBaseViewCommand','BASE_TABLE_NAME_REQUIREMENTS','UnitObject','Injector','object','base-perf-','\x20must\x20be\x20an\x20object.','_title','some','nameCharacterCheck','updateRecordOrder','dateToExcelSerial','score','base.command.update-base-kanban-config','BaseConditionalColorOperator','Unsupported\x20Base\x20permission\x20action:\x20','MoveBaseFieldCommand','replaceOp','registerRuleModel','[BaseCommandService]:\x20cannot\x20manage\x20view.','IS_EMPTY','params','en-US','_setCachedProjection','fieldIds','then','_basePermissions','BatchCreateBaseRecordsCommand','_getStructureDirtyTableIds','pickerFieldIds','unshift','createEmbedBasesTableRemoveMutation','fromPlainText','moveField','canDeleteRecord','_instanceService','direction','_normalizeCalendarDisplayColor','Base\x20edit\x20permission\x20denied.','viewId','Optional','query','recordOrder','usableAsGanttStart','abs','__tempBatchingUndoRedo','changeFieldType','#16a34a','ICommandService','attachments','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_resolveGalleryCardFieldIds','_capabilities','_hierarchyIndexCache','Add','regexp','sum','base.projection.service','displayFieldId','getUTCDay','attachmentSets','compare','setViewFilter','width','order','invalidDateField','_getCellRevision','BaseProjection.projectRows','IPermissionService','_executeSuperTableMutationWhileActive','Module','_calendarEventColor','bases.config','too-long','https://','[BaseCommandService]:\x20cannot\x20delete\x20record.','UpdateBaseViewConfigCommand','UniverProLicense','NUMBER','updatePermissionPoint','includeTime','SetBaseViewFilterCommand',':start','fieldIndex','setHours','validateCanonicalRecordLinkValue','facade','Email','count','fromEntries','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).','#14b8a6','objectType','doing','_groupsCacheKey','IBaseCellData.ensureTableCellLayout','manual','#,##0','UTC','hierarchy','decimal','UpdateBaseFieldCommand','serializeRecordLinkIds','BaseFilterConjunction','FieldId','_materializeGroups','updateViewConfig','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','usableAsCardCover','projection','table/','@univerjs-pro/bases','apply','deleteTable','finally','_registeredSuperTableNames','FORCE_STRING','BaseConditionalDateMode','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','[BaseField]:\x20invalid\x20number\x20value.','_dataSyncPrimaryController','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','MM-DD','split','isArray','createIdentifier','SingleSelect','_syncSuperTables','resolveBaseHierarchyFieldId','_getAllBaseDependencyTreeCacheMap','unitData','setConfig','createDefaultValue','BOOLEAN','_cellInvalidationsTouchFields','globalRevision','[BaseHierarchy]:\x20field\x20\x22','_applyFormulaResult','person','_buildKanban','row','dispose','working','bases.remote.config','_onCommandExecuted','description','column','ColorKit','base.command.delete-base-view','Rating','_getHierarchyIndex','setRangeValues','base.viewType.kanban','resources','gantt','deleteRecords','\x20has\x20unsupported\x20operator\x20\x22','_tableBaseIds','updateField','executeCommand','packageName','19974hpYszO','getAll','SetBasePermissionsCommand','MultiSelect','createRecords','[BaseField]:\x20invalid\x20date\x20value.','Unchecked','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','BaseField','base.command.update-base-view-config','\x20has\x20unsupported\x20date\x20mode\x20\x22','_createSystemFieldValuePatches','[BaseCommandService]:\x20cannot\x20delete\x20field.','bases.fieldConfig.linkPlaceholder','empty','codePointAt','touchDependencies','2043324UcIjqh','getBaseFormulaTableName','notContains','_getSystemFieldValue','base.command.rename-base-table','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','DeleteBaseFieldCommand','toPlainText',',,\x22M\x22','-view-grid','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseField]:\x20invalid\x20phone\x20value.','beforeViewId','_isCalendarDateField','_initDependencies','canEditField','exec','targetTableId','createRegExpFromSafeFragment','DeleteBaseTableCommand','error','useThousands','Formula','CreateBaseChildRecordCommand','field/','_fieldRegistry','_configService','year','setViewFieldWidth','user','base.mutation.','_registerUnitPermissionPoints',':end','SetBaseRangeValuesCommand','format','call','AFTER','setViewSort','isBaseFieldStatSupported','_isAllDayCalendarEvent','refactorFormulaUnitQualifier','[RecordLink]:\x20display\x20field\x20\x22','allocateBaseFormulaTableName','_kanbanLaneTitle','endDateFieldId','setRules','getUTCDate','SetBaseViewFieldVisibleCommand','-record-','_getKanbanConfiguredLanes','A\x20table\x20with\x20this\x20name\x20already\x20exists.','repeat','_viewRowsCacheKey','_plugins','#FDE68A','subtreeEndIndex','colIndex','_apply','Working\x20day','tables','type','createBaseHierarchyParentField','unsubscribe','http:','childrenByParentId','title','constructor','excelSerialToDateTime','[BaseField]:\x20invalid\x20rating\x20value.','_groupConfigCacheSegment','workingDaysOnly','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','DD/MM/YYYY','getBasePermissionValue','UnitAction','registerView','attachment-','reason','Numbering','recordNamePrefix','none','repairViewConfig','markResultApplied','beforeFieldId','unitId','maxDepth','card','UniverEngineFormula','base.command.set-base-record-values','createTable','toLowerCase','members','search','THIS_MONTH','day','at\x20index\x20','string','formula','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','action','missingRecord','formatBaseProgressValue','recordIds','focusUnit','UniverBasesPlugin','copyBaseTableSnapshot','createUniqueBaseTableName','info','getBaseCellValue','_resolveBaseId','merge','parseRecordLinkIds','_scheduleSuperTableSync','registerCtorForType','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','MaxDepth','calendar','uniqueFieldName','duplicateField','trim','_viewPermissions','getOwnPropertyDescriptor','owner','leftPaneCollapsed','addPermissionPoint','_setViewFieldSetting','SelfParent','Import','onReady','161KIgLyR','patches','_fieldPermissions','toFixed','keys','Ids','HH:mm','iterator','saveMany','colorFieldId','children','validateFormula','BASE_FIELD_STAT_TYPES','Undo',',\x22K\x22','getItem','3weopPI','raw','base.viewType.calendar','RecordId','getUTCFullYear','\x22\x20does\x20not\x20exist.','from','level','displayColor','_removeSuperTables','baseDateSerialToDateMs','\x20permission\x20denied.','$1\x20','thread-comment.command.','_buildGantt','normal','h12','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','ensureBaseTableCellLayout','off','_viewRevisions','Uncategorized','_canEdit','relationRole','BaseProjection.filterAndSortRows','_factory','[BaseField]:\x20invalid\x20multi-value\x20reference.','Doing','createViewId','TOMORROW','base.command.update-base-view-conditional-color-rules','undefined','base-snapshot-v1','[BasePerf]\x20','canCreateField','base.command.create-base-child-record','base.command.duplicate-base-field','view/','stringify','DependentOn','_isNonEmptyCellValue','excelDateTimeSerial','_rememberTable','Attachment','isCompressedBaseRangeValuesPayload','ascend','value','FormulaCalculationSessionService','base-range-values-v1','_getOrderedRecords','afterFieldId','sequenceExecute','parentByRecordId','FormulaResultApplicationType','base.command.batch-create-base-records','EnsureBaseTemporalViewDateFieldsCommand','_isKanbanGroupField','UpdatedBy','UNIVER_BASE','[RecordLink]:\x20target\x20record\x20\x22','Disposable','exceptions','getTypeOfUnitAdded$','getFullYear','_resolveCalendarDateFieldId','_clearObjectEdit','map','updatedBy','[BaseCommandService]:\x20field\x20\x22','_T_','CellValueType','IConfigService','BaseView','import','UniverInstanceType','SetBaseKanbanGroupFieldCommand','\x22\x20with\x20field\x20type\x20\x22','values','Use\x2031\x20characters\x20or\x20fewer.','rule','CreatedAt','afterViewId','register','getTypeOfUnitDisposed$','startsWith','UniverRemoteBasesPlugin','_viewRevisionKey','registerSyncingMutations','tableId','_injector','_groupCellInvalidations','changes','bases.fieldConfig.textPlaceholder','fld-','base.viewType.grid','BaseTable','NEXT_30_DAYS','startDateFieldId','remove','recordPatch','__all__','orderKey','findRecordLinkReferences','missingField','groupFieldId','BASE_UNIT_PERMISSION_ACTIONS','colId','\x22\x20is\x20not\x20registered.','default','childType','lessThanOrEqual','setFieldPermission','UniverRpc','includes','isBaseFieldStatEmptyValue','clear','setViewPermission','quarter','usableAsCalendarDate','Remote','cardSize','THIS_WEEK','rowIndexById','subscribe','getUnit','_assertFieldDefinition','createBaseRecordIdField','size','_filterSortFieldIds','DuplicateBaseFieldCommand','_initDataSync','deleteField','Set','MissingRecord','coverFieldId','getCurrentUser','index','has','base.mutation.set-permission-rules','_recordPermissions','base.command.set-base-table-hierarchy-field','createSuperTableReference','Cycle','_check','slice','short','frozenFieldCount','embedId','_isAllDayGanttDateRange','delete','unitWidth','setViewFieldVisible','pattern','_univerInstanceService','getInstance','[BaseCommandService]:\x20cannot\x20edit\x20record.','multiple','fieldId','isValid','options','flatMap','resolveBaseDateFieldConfig','onStarting','_projectRows','DESC','href','onCommandExecuted','cellData','records','contains','localeCompare','LAST_MONTH','color','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','url','_applier','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','endsWith','getBaseCellFormulaValue','Tools','normalizeBaseDateFieldConfig','dateMode','getAllBases','Currency','BaseConditionalColorRuleUpdateType','base.command.ensure-base-temporal-view-date-fields','createBaseFormulaTableNameMap','week','general','validate','getMonth','base.viewType.gallery','BaseSortDirection','BaseEventSource','invalid','start','Done','function','yyyy/mm/dd','getActiveBaseHierarchyFieldIds','conditions','General','[BaseField]:\x20invalid\x20email\x20value.','timeslotSize','NOT_CONTAINS','CreateBaseRecordCommand','base.command.set-base-range-values','Link','_applyingFormulaResults','_bumpTableRevision','setBaseName','subType','REMOTE_BASES_PLUGIN','IActiveDirtyManagerService','_buildGallery','UpdateBaseRecordOrderCommand','unique','generateRandomId','descendPath','fields','delete-view','filter','MUTATION','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_formulaSyncQueue','[BaseViewRegistryService]:\x20view\x20type\x20\x22','forEach','toString','validateBaseTableName','major-','attachmentSet','https:','base.command.create-base-record','projectBaseHierarchy','dateFormat','bases-exchange-client.operation.export-base-by-format','beforeCommandExecuted','catch','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','lastIndex','descend','_initRegistries','large','strategies','base.command.service','number','setSnapshot','getUTCMonth','createBatchCreateRecordsOp','dateKit','[BaseCommandService]:\x20cannot\x20edit\x20field.','decorate','periodComma','_permissionService','label','UniverProFormulaEnginePlugin','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','showFieldNames','getTime','fieldSettings','getStructuredDependencies','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','Checked','redo','@univerjs/rpc','rows','BaseProjection.projectGroups','SetSuperTableMutation','objectId','cycle','isNot','Plugin','renameFormulaUnitReferences','_globalRevision','_deleteRecordsBaseOp','base.command.change-base-field-type','_ganttBarColor','[BaseCommandService]:\x20invalid\x20cell\x20value.','hidden','editable','viewIndexes','Number','push','max','conditionalColoring','invalidateByField','ErrorService','indexOf','field','_formulaService','DeleteBaseRecordCommand','locale','h:mm\x20a','key','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_replaceOptional','ena','Facade','changed','valueOf','base.command.set-base-view-field-visible','SetBaseViewSortCommand','getSupportedBaseFieldStatTypes','includeRecords','operand','getBaseConditionalColorOperators','Phone','depth','createDeleteRecordsUndoOp','selfParent','titleFieldId','prototype','BASES_PLUGIN','createUpdateCellOp','BaseJson1OpApplier','primaryFieldId','Comment','create-view','IUndoRedoService','_resolveGanttDateFieldId','DataSyncPrimaryController','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','renameTable','boolean','basePerf','group','invalidGroupField','104VQaKue','deletePermissionPoint','base.command.set-permission','_resolveKanbanCoverFieldId','leftPaneWidth','progressFieldId','canCreateRecord','_fastSortRows','DeleteView','exports','base.command.delete-base-record','clearBasePermission','viewOrder','setViewGroup','_cellInvalidations','EXACT','round','Person','allowMultiple','base.mutation.apply-base-json1','average','_createNumberingAllocator','createField','_baseSyncDisposables','BaseConditionalColorTarget','canManageView','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','required','[BaseCommandService]:\x20cannot\x20create\x20record.','date','_rowTransformCacheSegment','formatBaseNumberValue','matchAll','isBaseHierarchyField','resolveBaseRangeHierarchyPatches','getAllPermissionPoint','#,##0.00','findIndex','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','renameView','_getTable','UniverProtocol','deleteView','_createNumberingAllocators','registerCommand','depthByRecordId','_projectedRowsCache','_getAllTableIds','symbol','_views','entries','createDefaultConfig','BaseHierarchyInvalidReason','getSnapshot','spacePeriod','scale','Export','ValidateBaseFormulaCommand','_resolveKanbanGroupFieldId','Start\x20date','emitPermissionDenied','_setFormulaFieldCells','PermissionStatus','name','_recordIds','base.command.create-base-table','base.command.update-base-record-order','spaceComma','UpdatedAt','recordCount','EMBED_BASES_TABLE_RESOURCE_KEY','base-perf','base.command.validate-formula','true','canDeleteField','_cacheKey','invalidateByView','_filterRows','_patchProjectedRowsForCellInvalidations','source','Status','invalidReasonByRecordId','FormulaCalculationTriggerService','invalidField','RemoveSuperTableMutation','DeleteBaseViewCommand','createdAt','_commandService','BaseHierarchyError','ruleId','getPermissionPoint','toPrimitive','disposeWithMe','Name','insertOp','getSuperTableRegistrations','True','canEditBaseTargets','getBaseRecordPermissionObjectId','getAffectedRanges','setBasePermissionValue','amd','Date','deepClone','decompressBaseRangeValuesPayload','getBaseViewPermissionObjectId','base.command.create-base-view','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','this-row','_resolveKanbanCardFieldIds','base.command.set-base-view-group','tableRevision','valid','1045675BbIRvm','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','updateCell','operator','SetBaseRecordValuesCommand','_createNumberingFieldValuePatches','rules','401373pVfwaX','\x22.\x20Allowed\x20operators:\x20','Copy','record','Unsupported\x20Base\x20permission\x20object:\x20','protocol','small','toStringTag','_getViewRevision','sort','_formulaCalculationTriggerService','_isAllowedKanbanGroupField','columnSettings','@univerjs-pro/license','invertOp','_findKanbanGroupField','_buildGrid','table','formulaName','join','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','invalidateByCell','invertWithDoc','getAllUnitsForType','createEmbedBasesTableAddMutation','getBaseDashboardPermissionObjectId','validateRecordLinkField','validateRecordLinkValue','UpdateBaseViewConditionalColorRulesCommand','all','tryMaterializeSnapshot','Text','done','SetFormulaCalculationResultMutation','searchTexts','_tableRevisions','#BFDBFE','snapshot','Table','validateBaseHierarchyMove','Parent','path','isEmpty','cell','Clear','conditional','RenameBaseTableCommand','blue','lastIndexOf','BaseDashboard','applyOp','tableOrder','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getUnitType','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','target','BaseCommand.createBatchCreateRecordsOp','_syncBaseUnit','write','getDay','formatBaseDateValue','[BaseFormula]:\x20field\x20\x22','pop','[BaseField]:\x20invalid\x20progress\x20value.','kind','DateSystem','-field-name','length','timeZone','_projectGroups','isBaseRecordIdFieldName','removeOp','BASE_HIERARCHY_PARENT_FIELD_ID','base.fieldType.','_normalizeGalleryConfig','base.command.set-base-view-sort','pushUndoRedo','1.1.0','_projectedViewRowsCache','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','canCreateTable','IResourceManagerService','system','userID','ObjectPermissionService','workingDays','Grid','SetBasePermissionRuleMutation','attachment','canEditRecord','_resolveGalleryCoverFieldId','editCell','canEditCell','bases-exchange-client.operation.export-base','commaPeriod','undo','toLocaleString','record/','_getCurrentUserId','autoIncrement','BaseJson1.normalizeTables','_initialize','_normalizeCellValue','showTodayLine','test','childUnitId','[BaseCommandService]:\x20cannot\x20create\x20table.','_runtimeContext','trigger','createBase','[BaseCommandService]:\x20cannot\x20create\x20field.','_deleteAttachmentResources','SetBaseViewFieldOrderCommand','BaseFieldType','assertBaseTableRecordIdentity','UniverCore','Gallery','_normalizeGanttDisplayColor','Progress','cellRevision','_projectHierarchyGroups','tableName','Gantt','BaseRecordLinkRole','_getJson1DirtyData','columns','fieldName','isBaseConditionalColorDateField','_canEditTable','inferBaseSeparatorStyle','cardLayout','duplicateRecord','BaseHistoryAction','apostrophe','BaseRecord','IS_NOT_EMPTY','Base','NEXT_7_DAYS','embed-ui','_tablePermissions','medium','base.command.move-base-hierarchy-record','_kanbanGroupKeys'];_0xd0ee=function(){return _0x3dbc18;};return _0xd0ee();}
|
|
1
|
+
function _0xdd9b(){const _0x5db296=['[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','thread-comment.command.','recordPatch','UNIVER_EMBED_BASES_TABLE','base.command.delete-base-table','SingleSelect','bases.config','manual','_getAllBaseDependencyTreeCacheMap','base.viewType.gallery','projection','invalidDateField','base.command.delete-base-field','NUMBER','BaseField','-view-grid','focusUnit','_buildGallery','invalidGanttStartField','status','Choose\x20another\x20name.','getUTCFullYear','CreateBaseFieldCommand','SelfParent','Gallery','UniverProtocol','base.command.update-base-record-order','\x20must\x20be\x20an\x20object.','targetTableId','getCurrentUserId','spaceComma','table','endDateFieldId','autoIncrement','__tempBatchingUndoRedo','CellValueType','function','sum','get','getAllPermissionPoint','createSuperTableReference','view/','action',':end','base.command.move-base-field','createCreateRecordOp','reason','general','BaseRecord','[BaseCommandService]:\x20cannot\x20delete\x20field.','254602rfWSLX','ApplyBaseJson1Mutation','afterFieldId','apply','members','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','[DeleteBaseTableCommand]:\x20table\x20\x22','THIS_MONTH','IResourceManagerService','_tableBaseIds','IS_NOT','STRING','_matchesGanttColorRule','recordId','pop','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','deleteView','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','_executeSuperTableMutationWhileActive','setViewSort','getTime','frozenFieldCount','MUTATION','_getKanbanConfiguredLanes','abs','startsWith','Optional','baseDateSerialToDateMs','_resolveKanbanGroupFieldId','pushUndoRedo','column','create-view','setViewFieldVisible','Unsupported\x20Base\x20permission\x20action:\x20','editable','_basePermissions','[BaseField]:\x20invalid\x20rating\x20value.','day','small','group','orderKey','afterViewId','_instanceService','_initDataSync','canEditRecord','\x20has\x20unsupported\x20target\x20\x22','_resolveKanbanCoverFieldId','dateKit','tables','weekdays','_deleteAttachmentResources','_getOrderedRecords','currencySymbol','duplicate','isBaseFieldStatEmptyValue','data','iterator','_removeSuperTables','invalidateByOp','Base\x20edit\x20permission\x20denied.','_rowTransformCacheSegment','BASES_PLUGIN','Empty','getUnitType','value','base.command.validate-formula','contains','max','descendPath','system','_filterRows','SetBasePermissionRuleMutation','number','sortedView','leftPaneWidth','generateRandomId','formatBaseDateValue','BaseJson1.cloneForOp','manageView','createField','order','UniverRemoteBasesPlugin','call','Date1900','_resolveBaseId','BaseProjection.materializeTableRows','Plugin','updateRecordOrder','_cacheKey','_isKanbanGroupField','_cellInvalidations','_groupsCacheKey','bases.remote.config','SetBaseTableHierarchyFieldCommand','__all__','base.command.set-base-view-field-width','formula','lastIndexOf','_patchProjectedRowsForCellInvalidations','BatchCreateBaseRecordsCommand','attachmentSet','now','cardSize','objectType','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','rowIndex','primaryFieldId','long','IPermissionService','_canUseFastSort','base.command.update-base-view-config','UnitAction','747859YViuBs','CustomCommandExecutionError','type','[BaseFormula]:\x20table\x20does\x20not\x20exist.','126yuEKGn','_setViewFieldSetting','format','tableName','BaseConditionalDateMode','row','ruleId','getFocusedUnit','setViewFilter','base.command.update-base-field','getOwnPropertyDescriptor','remote','packageName','MissingParent','_toDirtyRangePatch','UTC','colorFieldId','RenameBaseViewCommand','DuplicateBaseFieldCommand','getTypeOfUnitAdded$','_resolveGalleryCoverFieldId','unitWidth','level','_applyingFormulaResults','[BaseCommandService]:\x20cannot\x20edit\x20field.','field','MM-DD','getProjection','INIT','info','toPrimitive','Parent\x20Items','\x22\x20is\x20not\x20registered.','addPermissionPoint','refactorFormulaUnitQualifier','2taBflj','getActiveBaseHierarchyFieldIds','exception-','DD/MM/YYYY','getSuperTableRegistrations','BaseJson1OpApplier','validateBaseHierarchyMove','view','#BFDBFE','resolveBaseDateFieldConfig','push','UniverProBases','kind','optionSource','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','Done','BaseJson1OpFactory','fromEntries','getBasePermissionValue','fieldIds','InvalidField','UniverEngineFormula','SetBaseViewSortCommand','_getTable','isBaseHierarchyField','splice','flat','check','conjunction','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_projectTableRows','recordCount','medium','clearFieldPermission','End\x20date','__UNIVER_BASE_PERF__','cellData','tryMaterializeSnapshot','False','moveView','getBaseRecordPermissionObjectId','_getCurrentUserId','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','undo','validateCanonicalRecordLinkValue','createDefaultBaseTableSnapshot','notContains','canEditCell','assertBaseTableRecordIdentity','RenameBaseTableCommand','http:','searchTexts','_isGanttDateField','DeleteBaseViewCommand','_isNonEmptyCellValue','BaseHierarchyErrorCode','Number','BaseHistoryAction','rowIndexById','base.command.move-base-view','round','[BaseCommandService]:\x20cannot\x20delete\x20table.','rootRecordIds','fieldOrder','_calendarEventColor','apostrophe','record','Doing','base.projection.service','all','_projectFields','_normalizeCellValue','limit','_syncBaseUnit','_onCommandExecuted','Date','forEach','getAllUnitsForType','_dataSyncPrimaryController','_projectionCache','resolveBaseHierarchyFieldId','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','THIS_WEEK','#,##0.00','changeFieldType','text','BatchDeleteBaseRecordsCommand','selfParent','color','Parent','repeat','add','spacePeriod','BaseConditionalColorTarget','getBaseHierarchyFieldId','_groupConfigCacheSegment','dateToExcelSerial','selectField','prototype','Disposable','false','base.command.change-base-field-type','canCreateField','_findCalendarDateFieldId','_createRecordWithDefaults','clear','remove','recordNamePrefix','greaterThanOrEqual','unique','unknown','Gantt','Set','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','base.command.ensure-base-temporal-view-date-fields','_applier','validateBaseHierarchyRecordPatches','delete-view','parseRecordLinkIds','userID','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','description','TODAY','duplicateField','UniverInstanceType','orderedRecordIds','BASE','getUTCDay','separatorStyle','base.command.set-base-view-filter','formatBaseFieldStatValue','initializeUnit','edit','A\x20table\x20with\x20this\x20name\x20already\x20exists.','missingField','Clear','excelSerialToDateTime','_globalRevision','toLowerCase','Checked','BASE_OBJECT_PERMISSION_PLUGIN','custom','base.command.create-base-field','_sortRows','getRecordLinkFieldConfig','base.command.service','Link','renameView','repairViewConfig','TOMORROW','invalidateByField','search','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','primaryFieldName','doing','findIndex','values','_check','Copy','_capabilities','getStructuredDependencies','@univerjs-pro/license','DeleteView','getBase','UpdatedAt','BaseConditionalColorOperator','abbreviation','defineProperty','index','base.command.duplicate-base-record','descend','h:mm\x20a','tableRevision','_projectedGroupsCache','_registerUnitPermissionPoints','local','[BaseProjectionService]:\x20missing\x20view\x20\x22','syncUnit','validateFormula','viewOrder','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','base.command.delete-base-record','progressFieldId','_groupProjectionFieldIds','Uncategorized','start','BaseFieldType','showTodayLine','@univerjs/engine-formula','CreatedAt','Failed\x20to\x20create\x20update\x20cell\x20operation:','basePerf','record/','syncExecuteCommand','_scheduleSuperTableSync','_initCommands','Start\x20date','UniverProLicense','_getJson1DirtyData','timeZone','finally','SetFormulaCalculationResultMutation','user','BaseHierarchyInvalidReason','_getViewRevision','codePointAt','join','formulaName','base.command.update-base-cell','True','MaxDepth','average','coverFieldId','snapshot','attachments','createRecords','onlyLocal','raw','updatedBy','en-US','slice','[BaseCommandService]:\x20cannot\x20manage\x20view.','fromCollab','IBasePermissionService','_kanbanLaneTitle','base.command.','deleteRecord','_setCachedProjection','_isAllDayGanttDateRange','_isAllowedKanbanGroupField','scale','SetTriggerFormulaCalculationStartMutation','inferBaseSeparatorStyle','assign','BASE_HIERARCHY_MAX_LEVELS','dashboard/','includeRecords','tableOrder','BOOLEAN','key','recordIds','ErrorService','redo','bases-exchange-client.operation.export-base','_tableRevisions','19834419BHTBnS','deepClone','resources','isFinite','operand','groupFieldId','usableAsCardCover','invalidGanttEndField','isBaseFieldStatSupported',',,\x22M\x22','none','EXACT','Formula','min','createRecord','gantt','base.command.update-base-kanban-config','large','ObjectPermissionService','moveField','[RecordLink]:\x20display\x20field\x20\x22','createView','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','dependencyFieldId','BaseFilterConjunction','base.command.create-base-table','registerSyncingMutations','parentRecordId','Edit','Base','Text','_views','Kanban','decimalPlaces','policy','validateBaseTableName','isBaseConditionalColorDateField','catch','createBaseRecordIdField','result','https://','setFieldPermission','EMBED_BASES_TABLE_RESOURCE_KEY','dateMode','CreateBaseTableCommand','decimal','off','viewId','FormulaCalculationSessionService','_univerInstanceService','rules','base.command.update-base-field-description','base.command.set-permission','this-row','Todo','validateRecordLinkField','operator','registerView','IBaseCommandService','DESC','JSON1','Import','showFieldNames','4KNpsiT','setRules','_setFormulaFieldCells','createDefaultConfig','getBaseCellValue','viewRevision','unsubscribe','IS_EMPTY','maxDepth','\x22\x20with\x20field\x20type\x20\x22','getBaseTablePermissionObjectId','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.create-base-record','BaseProjection.filterAndSortRows','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','setSnapshot','getAffectedRanges','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).','_viewRevisionKey','recordOrder','BEFORE','ascend','DuplicateBaseRecordCommand','padStart','_materializeFormulaTableNames','canCreateTable','emitPermissionDenied',',,,\x22B\x22','some','isArray','base.mutation.apply-base-json1','setViewGroup','DeleteBaseFieldCommand','FormulaResultApplicationType','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','timeslotSize','toFixed','registerRuleModel','base.fieldType.','error','Use\x2031\x20characters\x20or\x20fewer.','thumbnail','#,##0','BaseDataModel','ICommandService','BaseJson1.syncCellInvalidations','canDeleteRecord','Injector','dateFormat','fld-','validate','getPermissionPoint','base.command.rename-base-table','createDeleteRecordsUndoOp','getBaseFieldPermissionObjectId','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','symbol','setRecordValues','_canEdit','createdBy','getUnit','collaborators','_buildCalendar','COLUMN','_kanbanGroupKeys','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','diffValue','embed-ui','base-range-values-v1','_enqueueFormulaSync','replace','base.permission.service','[BaseCommandService]:\x20cannot\x20edit\x20table.','_createSystemFieldValuePatches','Redo','code','_clearUnit','decompressBaseRangeValuesPayload','unitOtherData','bases-exchange-client.operation.export-base-by-format','executeCommand','#3b82f6','normalizeBaseDateSerial','has','BaseViewType','greaterThan','[BaseField]:\x20invalid\x20date\x20value.','_tablePermissions','Unchecked','version','fromChangeset','calendar','_getCellRevision','base.viewType.kanban','allocateBaseFormulaTableName','_injector','cardLayout','every','usableAsGanttEnd','_formulaService','UpdatedBy','DateSystem','replaceOp','BaseView','sort','SetBasePermissionRulesMutation','MMM\x20D,\x20YYYY','invalid','beforeViewId','LAST_MONTH','getAllBases','UniverLicensePlugin','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','base.mutation.','clearUnit','_resolveCardTitleFieldId','source','createUnit','undefined','#14b8a6','setConfig','DataSyncPrimaryController','_setObjectEdit','getBaseFormulaTableName','buildBaseHierarchyIndex','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','empty','getBaseCellFormulaValue','params','_cellRevisions','owner','hourCycle','MoveBaseViewCommand','pickerFieldIds','_formulaSyncQueue','ObjectMatrix','valueOf','_fastSortRows','_registeredSuperTableNames','_disposed','missingRecord','formula.mutation.set-formula-calculation-result','registerCtorForType','YYYY-MM-DD','table/','invalidateByView','hidden','SetBaseRecordValuesCommand','_initRegistries','commaPeriod','SetBaseViewFieldWidthCommand','_fieldPermissions','_hierarchyIndexCache','_resolveKanbanCardFieldIds','trigger','SetBaseViewFieldOrderCommand','_findKanbanGroupField','ColorKit','FormulaCalculationTriggerService','delete','_formulaCalculationTriggerService','-field-name','globalRevision','NEXT_7_DAYS','setTablePermission','FieldId','normalize','CommandType','_title','\x20has\x20unsupported\x20operator\x20\x22','depthByRecordId','quarter','tableId','rows','setPoint','from','conditions','includes','normalizeBaseFieldStatsConfig','flatMap','createEmbedBasesTableAddMutation','path','IBaseViewRegistryService','parentByRecordId','SetBaseViewFieldVisibleCommand','_replaceOptional','isValidBaseRecordId','base-snapshot-v1','lessThanOrEqual','count','parentFieldName','_normalizeCalendarDisplayColor','[BaseCommandService]:\x20cannot\x20create\x20record.','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','oldParentRecordId','_resolveGanttDateFieldId','_getAllTableIds','468712lpLvpX','MultiSelect','_bumpTableRevision','direction','bases.fieldConfig.textPlaceholder','setViewFieldOrder','Rating','subtreeEndIndex','_kanbanLaneColor','pluginName','GREATER_THAN','_permissionService','viewIndexes','changed','yyyy/mm/dd','#16a34a',':start','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.',',\x22K\x22','getVisibleBaseHierarchyRows','workingDays','Unsupported\x20Base\x20permission\x20object:\x20','\x22.\x20Allowed\x20operators:\x20','deleteRecords','regexp','Module','Person','SetBasePermissionsCommand','Yes','[RecordLink]:\x20field\x20config\x20is\x20invalid.','columnSettings','_canEditTable','cycle','field/','getTypePlugin','updatedAt','setViewFieldWidth','UniverProEngineFormula','subType','RecordLink','parse','startDateFieldId','find','register','createBase','depth','getAll','invalidField','fieldId','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','onStarting','SetBaseViewGroupCommand','constructor','relationRole','toDisposable','getBaseViewPermissionObjectId','dispose','createSetRecordValuesOp','_viewRevisions','canEditField','compress','6szSHsK','BaseFormulaService','_projectRows','[BaseField]:\x20invalid\x20person\x20value.','invertOp','BaseProjection.projectRows','_viewRowsCacheKey','invalidateByCell','deleteTable','Add','[BaseHierarchy]:\x20','strategies','createIdentifier','target','CreateView','locale','Ids','base.command.duplicate-base-field','PAST_30_DAYS','canEditBaseTargets','beforeFieldId','base.command.set-base-view-group','forValue','beforeCommandExecuted','PermissionStatus','titleFieldId','getMonth','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','441665dgOBvh','major-','_normalizeGanttConfig','isBaseRecordIdFieldName','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','_buildGantt','compare','_isCalendarDateField','trim','Progress','_getTablesToNormalize','CreatedBy','conditional','revision','includeTime','Status','getCurrentUnitOfType','@univerjs/protocol','views','createUpdateCellOp','_clearObjectEdit','resolve','query','base.command.batch-create-base-records','setBasePermissionValue','h12','decorate','nameCharacterCheck','facade','colId','object','base.command.set-permissions','_activeDirtyManagerService','Tools','base-perf','base.command.move-base-hierarchy-record','children','$1\x20','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_getHierarchyIndex','623283vhvkhu','mode','validateRecordLinkValue','pattern','url','UpdateBaseKanbanConfigCommand','base.command.delete-base-view','\x20has\x20unsupported\x20date\x20mode\x20\x22','normal','fieldIndex','name','cellRevision','[BaseField]:\x20invalid\x20progress\x20value.','working','createViewId','setBaseName','\x22\x20is\x20referenced\x20by\x20','updatePermissionPoint','MoveBaseFieldCommand','YESTERDAY','end','_syncSuperTables','_apply','usableAsGanttStart','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BasePerf]\x20','@univerjs-pro/bases','clearViewPermission','stringify','attachmentSets','usableAsCalendarDate','keys','nodes','getUTCMonth','exports','\x22\x20does\x20not\x20exist.','deletePermissionPoint','_scheduledSuperTableSyncs','star','_resolveGalleryCardFieldIds','h24','_commandService','registerCommand','base.command.set-base-table-hierarchy-field','_projectedViewRowsCache','_viewPermissions','canCreateRecord','colIndex','unitId','\x20cannot\x20use\x20operator\x20\x22','_T_','[BaseCommandService]:\x20field\x20\x22','7146640UqQULy','rule','sequenceExecute','Cycle','_getTableRevision','removeOp','Checkbox','lessThan','ena','createEmbedBasesTable','Phone','BaseConditionalColorRuleUpdateType','IS_NOT_EMPTY','getCapabilities','PAST_7_DAYS','LESS_THAN','General','_buildGrid','__base_hierarchy_parent__','filled','default','renameTable','columns','displayText','IActiveDirtyManagerService','isNot','childType','base.mutation.set-permission-rules','BaseHierarchyError','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','UNIVER_BASE','[BaseField]:\x20invalid\x20multi-value\x20reference.','write','entries','canEditTable','BASE_UNIT_PERMISSION_ACTIONS','CreateBaseViewCommand','_filterSortFieldIds','\x20must\x20have\x20a\x20non-empty\x20id.','month','compose','isValid','Undo','title','mark','_assertFieldDefinition','renameFormulaUnitReferences','Export','objectId','ChangeBaseFieldTypeCommand','_fieldRegistry','subscribe','SetBaseNameCommand','conditionalColoring','fields','createdAt','_recordPermissions','options','UpdateBaseViewConditionalColorRulesCommand','uniqueFieldName','_materializeGroups','Delete','week','updateCell','BaseSortDirection','getUTCDate','invalidGroupField','BaseProjection.projectGroups','invalidReasonByRecordId','changes','createRegExpFromSafeFragment','periodComma','filter','base.command.create-base-view','col','createBaseHierarchyParentField','workingDaysOnly','exists','UpdateBaseRecordOrderCommand','UpdateBaseFieldDescriptionCommand','Calendar','Numbering','_buildKanban','_patchCachedProjectedRows','Table\x20name\x20is\x20required.','lastIndex','BASE_RECORD_ID_FIELD_ID','measure','resolvedOptions','createBatchCreateRecordsOp','canManageView','_withModifiedSystemValues','_plugins','fieldSettings','https:','markResultApplied','_factory','hostAnchorId','test','groups','COMMAND','BaseRecordLinkRole','isEmpty','toString','createCreateFieldOp','YYYY/MM/DD','BaseDashboard','duplicateRecord','formatBaseNumberValue','[BaseCommandService]:\x20cannot\x20delete\x20record.','UpdateBaseCellCommand','subtreeHeightByRecordId','disposeWithMe','createDefaultValue','_deleteRecordsBaseOp','MM/DD/YYYY','label','isInteger','displayFieldId','indexOf','_getSystemFieldValue','Comment','_createNumberingAllocator','cell','boolean','reduce','DeleteBaseTableCommand','allowMultiple','univer.basePerf','_runtimeContext','Inject','map','_isColorfulKanbanGroupField','base.command.set-base-name','IUniverInstanceService','set','BaseProjection.projectTableRows','_createNumberingAllocators','MissingRecord','applyOp','date','createTable','isCompressedBaseRangeValuesPayload','insertOp','\x20permission\x20denied.','required','@univerjs-pro/engine-formula','RecordId','Currency','getTypeOfUnitDisposed$','getDay','width','touchDependencies','NumberFormat','matchAll','_initDependencies','_getStructureDirtyTableIds','_normalizeGalleryConfig','exceptions','score','year','thread-comment.mutation.','base.resource.service','@univerjs/rpc','_projectedRowsCache','attachment','string','records','UniverProFormulaEnginePlugin','SetBaseRangeValuesCommand','config','length','canDeleteField','_recordIds','short','getBaseHierarchyDeletePromotions','numfmt','_cellInvalidationsTouchFields','multiple','embedId','NEXT_30_DAYS','_projectGroups','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','[BaseCommandService]:\x20cannot\x20edit\x20cell.','base.field-registry.service','BASE_FIELD_STAT_TYPES','_rememberTable','_config','UnitObject','_configService','isBaseFieldStatType','SortedView','setRule','bases.fieldConfig.linkPlaceholder','toLocaleString','readonly','[BaseFormula]:\x20table\x20\x22','EnsureBaseTemporalViewDateFieldsCommand','defaultValue','deleteField','hasOwnProperty','base.command.batch-delete-base-records','isNotEmpty','localeCompare','getFullYear','Group','card','_createRecordOrderOp','unitData','protocol','true','getUnitId','editCell','12cdCmBz','updateField','childUnitId','[BaseCommandService]:\x20invalid\x20field\x20definition.','attachment-','canDeleteTable','#BBF7D0','#FDE68A','setRangeValues','ValidateBaseFormulaCommand','IUndoRedoService','AFTER','base.command.update-base-view-conditional-color-rules','base.viewType.calendar','CONTAINS','href','BASE_TABLE_NAME_REQUIREMENTS','serializeRecordLinkIds','getSnapshot','_initialize','Attachment','endsWith','[BaseCommandService]:\x20invalid\x20cell\x20value.','hierarchy','valid','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','NOT_CONTAINS','formatBaseProgressValue','_formulaCalculationSessionService','[BaseField]:\x20invalid\x20email\x20value.','setHours','[BaseField]:\x20invalid\x20checkbox\x20value.','getItem','UniverCore','_groupCellInvalidations','regenerateViewIds','_ganttBarColor','blue','rowId','_baseSyncDisposables','view-','split','Grid','getBaseConditionalColorOperators','invertWithDoc','_getCachedProjection','base.command.rename-base-view','MoveBaseHierarchyRecordCommand','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','createBaseFormulaTableNameMap','calculateBaseFieldStat','base.view-registry.service','size','BaseTable','base.command.create-base-child-record','updateViewConfig','_resolveCalendarDateFieldId','patches','[BaseCommandService]:\x20cannot\x20create\x20table.'];_0xdd9b=function(){return _0x5db296;};return _0xdd9b();}function _0x45c5(_0x46c5a0,_0x4433dc){_0x46c5a0=_0x46c5a0-0x198;const _0xdd9b92=_0xdd9b();let _0x45c5ec=_0xdd9b92[_0x46c5a0];return _0x45c5ec;}(function(_0x37e159,_0x3298d9){const _0x326b55=_0x45c5,_0xad1e09=_0x37e159();while(!![]){try{const _0x3bca64=parseInt(_0x326b55(0x564))/0x1+parseInt(_0x326b55(0x5fb))/0x2*(-parseInt(_0x326b55(0x3ee))/0x3)+-parseInt(_0x326b55(0x2a7))/0x4*(-parseInt(_0x326b55(0x3c5))/0x5)+-parseInt(_0x326b55(0x3a9))/0x6*(-parseInt(_0x326b55(0x5d4))/0x7)+parseInt(_0x326b55(0x36c))/0x8*(-parseInt(_0x326b55(0x5d8))/0x9)+-parseInt(_0x326b55(0x422))/0xa+parseInt(_0x326b55(0x268))/0xb*(parseInt(_0x326b55(0x4f7))/0xc);if(_0x3bca64===_0x3298d9)break;else _0xad1e09['push'](_0xad1e09['shift']());}catch(_0x43b881){_0xad1e09['push'](_0xad1e09['shift']());}}}(_0xdd9b,0x7c916),function(_0x45d7e1,_0x4c5ea9){const _0x353285=_0x45c5;typeof exports==_0x353285(0x3e4)&&typeof module<'u'?_0x4c5ea9(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==_0x353285(0x556)&&define['amd']?define([_0x353285(0x410),'@univerjs/core',_0x353285(0x4b4),_0x353285(0x3d7),_0x353285(0x214),_0x353285(0x4c5),_0x353285(0x22f)],_0x4c5ea9):(_0x45d7e1=typeof globalThis<'u'?globalThis:_0x45d7e1||self,_0x4c5ea9(_0x45d7e1[_0x353285(0x606)]={},_0x45d7e1[_0x353285(0x518)],_0x45d7e1[_0x353285(0x391)],_0x45d7e1[_0x353285(0x54b)],_0x45d7e1[_0x353285(0x238)],_0x45d7e1['UniverRpc'],_0x45d7e1[_0x353285(0x610)]));}(this,function(_0x312799,_0x26cf17,_0x386470,_0xf5110d,_0x24f38d,_0x44a612,_0x55cce4){const _0x36f63a=_0x45c5;Object[_0x36f63a(0x21a)](_0x312799,Symbol['toStringTag'],{'value':_0x36f63a(0x385)});function _0x3caba0(_0x4f89b9){const _0x50e331=_0x36f63a;let _0x2b454d=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x54e)],_0x40f232=_0x4f89b9['config'][_0x50e331(0x4d4)],_0x486bb8=_0x4f89b9['config'][_0x50e331(0x498)],_0x38544d=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x32c)],_0x1f7df4=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x3a1)];return typeof _0x2b454d!=_0x50e331(0x4c8)||!_0x2b454d||typeof _0x40f232!='boolean'||_0x486bb8!==void 0x0&&(typeof _0x486bb8!=_0x50e331(0x4c8)||!_0x486bb8)||_0x1f7df4!==void 0x0&&_0x1f7df4!==_0x26cf17[_0x50e331(0x487)][_0x50e331(0x1cc)]||_0x38544d!==void 0x0&&(!Array[_0x50e331(0x2c4)](_0x38544d)||_0x38544d[_0x50e331(0x2c3)](_0x24c795=>typeof _0x24c795!=_0x50e331(0x4c8)||!_0x24c795)||new Set(_0x38544d)['size']!==_0x38544d['length'])?null:{'targetTableId':_0x2b454d,'multiple':_0x40f232,..._0x486bb8?{'displayFieldId':_0x486bb8}:{},..._0x38544d?{'pickerFieldIds':[..._0x38544d]}:{},..._0x1f7df4?{'relationRole':_0x1f7df4}:{}};}function _0x4db4ea(_0x6514dd){const _0x185ace=_0x36f63a;return typeof _0x6514dd!='string'||_0x6514dd===''?[]:_0x6514dd[_0x185ace(0x520)](',');}function _0x1bd71a(_0x328960){const _0x1618ff=_0x36f63a;return Array['from'](new Set(_0x328960))[_0x1618ff(0x241)](',');}function _0x31953c(_0x5033eb,_0x40fca6){const _0x3aa69b=_0x36f63a;if(typeof _0x5033eb!='string')return{'valid':!0x1,'reason':_0x3aa69b(0x227)};if(_0x5033eb==='')return{'valid':!0x0};let _0x3714a6=_0x5033eb[_0x3aa69b(0x520)](',');return!_0x40fca6&&_0x3714a6[_0x3aa69b(0x4cd)]>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x3714a6[_0x3aa69b(0x2c3)](_0x21b286=>!(0x0,_0x26cf17[_0x3aa69b(0x361)])(_0x21b286))||new Set(_0x3714a6)[_0x3aa69b(0x52b)]!==_0x3714a6['length']||_0x1bd71a(_0x3714a6)!==_0x5033eb?{'valid':!0x1,'reason':_0x3aa69b(0x1eb)}:{'valid':!0x0};}function _0x5f1ecb(_0x5e0e42,_0x2c45b9){const _0x19ffe9=_0x36f63a;if(_0x2c45b9[_0x19ffe9(0x5d6)]!==_0x26cf17[_0x19ffe9(0x22d)][_0x19ffe9(0x393)])return{'valid':!0x0};let _0x3eb05b=_0x3caba0(_0x2c45b9),_0x9e2f8f=_0x3eb05b?_0x5e0e42['tables'][_0x3eb05b[_0x19ffe9(0x54e)]]:void 0x0;if(!_0x3eb05b||!_0x9e2f8f)return{'valid':!0x1,'reason':_0x19ffe9(0x527)};let _0x8e710d=[..._0x3eb05b[_0x19ffe9(0x498)]?[_0x3eb05b['displayFieldId']]:[],..._0x3eb05b[_0x19ffe9(0x32c)]??[]][_0x19ffe9(0x396)](_0x59b395=>{const _0x2cc372=_0x19ffe9;let _0x29061a=_0x9e2f8f[_0x2cc372(0x458)][_0x59b395];return!_0x29061a||_0x29061a['system']===!0x0||_0x29061a[_0x2cc372(0x5d6)]===_0x26cf17[_0x2cc372(0x22d)][_0x2cc372(0x4b5)];});return _0x8e710d?{'valid':!0x1,'reason':_0x19ffe9(0x27c)+_0x8e710d+_0x19ffe9(0x569)}:{'valid':!0x0};}function _0x288789(_0x153820,_0x55c487,_0x145718,_0x357f2f={}){const _0x1ab752=_0x36f63a;let _0x4a49eb=_0x3caba0(_0x55c487);if(_0x55c487[_0x1ab752(0x5d6)]!==_0x26cf17[_0x1ab752(0x22d)]['RecordLink']||!_0x4a49eb)return{'valid':!0x1,'reason':_0x1ab752(0x389)};let _0x194b7a=_0x31953c(_0x145718,_0x4a49eb[_0x1ab752(0x4d4)]);if(!_0x194b7a[_0x1ab752(0x50f)]||_0x357f2f['allowDangling'])return _0x194b7a;let _0x53274d=_0x153820['tables'][_0x4a49eb[_0x1ab752(0x54e)]];if(!_0x53274d)return{'valid':!0x1,'reason':_0x1ab752(0x527)};let _0x5bde31=_0x4db4ea(_0x145718)[_0x1ab752(0x396)](_0x173aa3=>!_0x53274d[_0x1ab752(0x4c9)][_0x173aa3]);return _0x5bde31?{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20record\x20\x22'+_0x5bde31+_0x1ab752(0x411)}:{'valid':!0x0};}function _0x283ed9(_0x56ad7b,_0x3f304b){const _0x2671af=_0x36f63a;return Object[_0x2671af(0x20f)](_0x56ad7b[_0x2671af(0x594)])[_0x2671af(0x35a)](_0x3ee387=>Object[_0x2671af(0x20f)](_0x3ee387[_0x2671af(0x458)])[_0x2671af(0x35a)](_0x263360=>{const _0x26b590=_0x2671af;let _0x3acb56=_0x263360['type']===_0x26cf17[_0x26b590(0x22d)][_0x26b590(0x393)]?_0x3caba0(_0x263360):null;return(_0x3acb56==null?void 0x0:_0x3acb56[_0x26b590(0x54e)])===_0x3f304b?[{'tableId':_0x3ee387['id'],'fieldId':_0x263360['id']}]:[];}));}let _0x4506fa=_0x36f63a(0x434),_0x389e50=function(_0x4c3134){const _0x3bdd46=_0x36f63a;return _0x4c3134[_0x3bdd46(0x60f)]=_0x3bdd46(0x39b),_0x4c3134[_0x3bdd46(0x4ac)]=_0x3bdd46(0x333),_0x4c3134[_0x3bdd46(0x549)]='selfParent',_0x4c3134[_0x3bdd46(0x425)]=_0x3bdd46(0x38c),_0x4c3134[_0x3bdd46(0x245)]=_0x3bdd46(0x2af),_0x4c3134[_0x3bdd46(0x4e1)]=_0x3bdd46(0x5ad),_0x4c3134;}({});var _0x3763ee=class extends Error{constructor(_0x17a8a3,_0x12a8b6=_0x36f63a(0x3b3)+_0x17a8a3){const _0x18567d=_0x36f63a;super(_0x12a8b6),this[_0x18567d(0x2f2)]=_0x17a8a3,this[_0x18567d(0x3f8)]=_0x18567d(0x43e);}};let _0x4fead6=function(_0x737adb){const _0x146433=_0x36f63a;return _0x737adb['UI']='ui',_0x737adb['Facade']=_0x146433(0x3e2),_0x737adb['Remote']=_0x146433(0x5e3),_0x737adb[_0x146433(0x44c)]=_0x146433(0x19e),_0x737adb[_0x146433(0x2f1)]='redo',_0x737adb[_0x146433(0x2a5)]='import',_0x737adb;}({});function _0x2e8fb1(_0x289941,_0x3782fb){const _0x3c1414=_0x36f63a;if(!_0x3782fb)return!0x1;let _0x1d83a8=_0x289941[_0x3c1414(0x458)][_0x3782fb];if(!_0x1d83a8||_0x1d83a8[_0x3c1414(0x5d6)]!==_0x26cf17[_0x3c1414(0x22d)]['RecordLink'])return!0x1;let _0xd2bd34=_0x3caba0(_0x1d83a8);return _0xd2bd34?_0xd2bd34['targetTableId']===_0x289941['id']&&_0xd2bd34[_0x3c1414(0x4d4)]===!0x1:!0x1;}function _0x126b6c(_0x311aa7){const _0x5f3f0b=_0x36f63a;return[..._0x311aa7['fieldOrder'],...Object[_0x5f3f0b(0x40d)](_0x311aa7['fields'])[_0x5f3f0b(0x46a)](_0x1eb22a=>!_0x311aa7[_0x5f3f0b(0x1b2)]['includes'](_0x1eb22a))[_0x5f3f0b(0x30f)]()][_0x5f3f0b(0x396)](_0x511776=>{const _0x1bbf2c=_0x5f3f0b;var _0x4c4cde;return _0x2e8fb1(_0x311aa7,_0x511776)?((_0x4c4cde=_0x3caba0(_0x311aa7['fields'][_0x511776]))==null?void 0x0:_0x4c4cde[_0x1bbf2c(0x3a1)])===_0x26cf17[_0x1bbf2c(0x487)][_0x1bbf2c(0x1cc)]:!0x1;})??null;}function _0xcff95d(_0x5cfd3b){const _0x4a11aa=_0x36f63a;let _0x344ab6=_0x126b6c(_0x5cfd3b);if(_0x344ab6)return _0x344ab6;let _0xefc6e7=_0x4506fa,_0x669167=0x2;for(;_0x5cfd3b[_0x4a11aa(0x458)][_0xefc6e7];)_0xefc6e7=_0x4506fa+'_'+_0x669167++;return _0xefc6e7;}function _0x39e357(_0x9108f3,_0x52b470=_0xcff95d(_0x9108f3),_0x3ada7b=_0x36f63a(0x5f7)){const _0x79b164=_0x36f63a;return{'id':_0x52b470,'name':_0x3ada7b,'type':_0x26cf17[_0x79b164(0x22d)][_0x79b164(0x393)],'config':{'targetTableId':_0x9108f3['id'],'multiple':!0x1,'displayFieldId':_0x9108f3['primaryFieldId'],'pickerFieldIds':[_0x9108f3['primaryFieldId']],'relationRole':_0x26cf17[_0x79b164(0x487)]['Parent']}};}function _0x91f8f5(_0x3ad9b6){let _0x33ff5e=_0x126b6c(_0x3ad9b6);return _0x33ff5e?[_0x33ff5e]:[];}function _0x37fba2(_0x362225,_0x495496){const _0x5c945e=_0x36f63a;let _0x195c02=[..._0x91f8f5(_0x362225)][_0x5c945e(0x46a)](_0x6e3cd0=>_0x495496['some'](_0x27a444=>Object['prototype'][_0x5c945e(0x4ea)]['call'](_0x27a444[_0x5c945e(0x20f)],_0x6e3cd0)));if(!_0x195c02[_0x5c945e(0x4cd)])return[];let _0x165b37={..._0x362225[_0x5c945e(0x4c9)]};_0x495496['forEach'](_0x21242d=>{const _0x53a8c1=_0x5c945e;let _0x488143=_0x165b37[_0x21242d['recordId']];_0x488143&&(_0x165b37[_0x21242d[_0x53a8c1(0x571)]]={..._0x488143,'values':{..._0x488143[_0x53a8c1(0x20f)],..._0x21242d[_0x53a8c1(0x20f)]}});});let _0x427b8f={..._0x362225,'records':_0x165b37},_0x26c766=[];return _0x195c02[_0x5c945e(0x1bf)](_0x120475=>{const _0x273f19=_0x5c945e;let _0x45b3f7=_0x17cc3f(_0x362225,_0x120475),_0x459f78=_0x17cc3f(_0x427b8f,_0x120475);for(let [_0x4546f4,_0x3aa07c]of _0x459f78[_0x273f19(0x466)]){let _0x33dacd=_0x495496[_0x273f19(0x2c3)](_0x5067ac=>_0x5067ac[_0x273f19(0x571)]===_0x4546f4&&Object[_0x273f19(0x1d5)][_0x273f19(0x4ea)][_0x273f19(0x5b6)](_0x5067ac[_0x273f19(0x20f)],_0x120475));if(_0x45b3f7[_0x273f19(0x466)][_0x273f19(0x558)](_0x4546f4)!==_0x3aa07c||_0x33dacd)throw new _0x3763ee(_0x3f9147(_0x3aa07c));}_0x495496['forEach'](_0x41907e=>{const _0x186842=_0x273f19;if(!Object[_0x186842(0x1d5)][_0x186842(0x4ea)][_0x186842(0x5b6)](_0x41907e['values'],_0x120475))return;let _0xac4fac=_0x45b3f7[_0x186842(0x35e)]['get'](_0x41907e['recordId'])??null,_0x25d8a0=_0x459f78['parentByRecordId']['get'](_0x41907e[_0x186842(0x571)])??null;_0xac4fac!==_0x25d8a0&&_0x26c766['push']({'tableId':_0x362225['id'],'fieldId':_0x120475,'recordId':_0x41907e['recordId'],'oldParentRecordId':_0xac4fac,'parentRecordId':_0x25d8a0});});}),_0x26c766;}function _0x298dba(_0x5c89e6,_0x445e9d){const _0x174ff5=_0x36f63a;let _0x5424fe=_0x445e9d[_0x174ff5(0x4a5)](_0xcee851=>_0xcee851['id']);if(new Set(_0x5424fe)['size']!==_0x5424fe[_0x174ff5(0x4cd)]||_0x5424fe[_0x174ff5(0x2c3)](_0x44d88c=>_0x5c89e6[_0x174ff5(0x4c9)][_0x44d88c]))return[];let _0x53cc2c=_0x91f8f5(_0x5c89e6),_0x121e54=_0x53cc2c[_0x174ff5(0x4cd)]?null:_0xcff95d(_0x5c89e6),_0x3860a0=[..._0x53cc2c,..._0x121e54&&_0x445e9d[_0x174ff5(0x2c3)](_0x44f3e0=>Object[_0x174ff5(0x1d5)][_0x174ff5(0x4ea)]['call'](_0x44f3e0[_0x174ff5(0x20f)],_0x121e54))?[_0x121e54]:[]]['filter'](_0x3b9c0b=>_0x445e9d['some'](_0x3c4172=>Object[_0x174ff5(0x1d5)][_0x174ff5(0x4ea)]['call'](_0x3c4172[_0x174ff5(0x20f)],_0x3b9c0b)));if(!_0x3860a0['length'])return[];let _0x3163a4={..._0x5c89e6,'records':{..._0x5c89e6['records'],...Object[_0x174ff5(0x60c)](_0x445e9d[_0x174ff5(0x4a5)](_0x19479d=>[_0x19479d['id'],_0x19479d]))},'recordOrder':[..._0x5c89e6['recordOrder']??[],..._0x445e9d[_0x174ff5(0x4a5)](_0x45f1ba=>_0x45f1ba['id'])]},_0x1af264=[];return _0x3860a0[_0x174ff5(0x1bf)](_0x343e2b=>{const _0x75b8b7=_0x174ff5;let _0x341ffb=_0x17cc3f(_0x3163a4,_0x343e2b);_0x445e9d[_0x75b8b7(0x1bf)](_0x55adb7=>{const _0x3a69ed=_0x75b8b7;let _0x34f724=_0x341ffb[_0x3a69ed(0x466)][_0x3a69ed(0x558)](_0x55adb7['id']);if(_0x34f724)throw new _0x3763ee(_0x3f9147(_0x34f724));let _0x16a693=_0x341ffb['parentByRecordId']['get'](_0x55adb7['id'])??null;_0x16a693&&_0x1af264[_0x3a69ed(0x605)]({'tableId':_0x5c89e6['id'],'fieldId':_0x343e2b,'recordId':_0x55adb7['id'],'oldParentRecordId':null,'parentRecordId':_0x16a693});});}),_0x1af264;}function _0x3f9147(_0xfedd7f){const _0x3948ca=_0x36f63a;switch(_0xfedd7f){case _0x26cf17[_0x3948ca(0x23e)][_0x3948ca(0x5e5)]:return _0x3948ca(0x333);case _0x26cf17[_0x3948ca(0x23e)]['SelfParent']:return'selfParent';case _0x26cf17[_0x3948ca(0x23e)][_0x3948ca(0x425)]:return'cycle';case _0x26cf17[_0x3948ca(0x23e)]['MaxDepth']:return'maxDepth';}}function _0x4665b4(_0x49fd58,_0x4a0bf6){const _0x12ad9b=_0x36f63a;let _0x28f3a8=new Set(_0x4a0bf6),_0x38a8d6=_0x91f8f5(_0x49fd58);return Object[_0x12ad9b(0x20f)](_0x49fd58[_0x12ad9b(0x4c9)])[_0x12ad9b(0x35a)](_0x149f5a=>_0x28f3a8[_0x12ad9b(0x2fa)](_0x149f5a['id'])?[]:Array['from'](_0x38a8d6)[_0x12ad9b(0x35a)](_0x17074b=>{const _0xca853e=_0x12ad9b;let _0xa66a5a=_0x4db4ea(_0x149f5a[_0xca853e(0x20f)][_0x17074b])[0x0]??null;return _0xa66a5a&&_0x28f3a8[_0xca853e(0x2fa)](_0xa66a5a)?[{'tableId':_0x49fd58['id'],'fieldId':_0x17074b,'recordId':_0x149f5a['id'],'oldParentRecordId':_0xa66a5a,'parentRecordId':null}]:[];}));}function _0x17cc3f(_0x2ebed0,_0x5b292c,_0xd894d5=_0x2ebed0[_0x36f63a(0x2ba)]??Object[_0x36f63a(0x40d)](_0x2ebed0['records'])){const _0x5433c5=_0x36f63a;if((_0x2ebed0[_0x5433c5(0x458)][_0x5b292c]||_0x5b292c!==_0xcff95d(_0x2ebed0))&&!_0x2e8fb1(_0x2ebed0,_0x5b292c))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x5b292c+_0x5433c5(0x4d8));let _0x405a52=_0x3db5e2(_0x2ebed0,_0xd894d5),_0x3378e0=new Map(),_0x34dd9f=new Map();for(let _0x218d2e of _0x405a52){var _0x2d6ca2;let _0x1433d9=_0x4db4ea((_0x2d6ca2=_0x2ebed0['records'][_0x218d2e])==null?void 0x0:_0x2d6ca2[_0x5433c5(0x20f)][_0x5b292c])[0x0]??null;_0x1433d9?_0x1433d9===_0x218d2e?(_0x3378e0['set'](_0x218d2e,null),_0x34dd9f['set'](_0x218d2e,_0x26cf17[_0x5433c5(0x23e)]['SelfParent'])):_0x2ebed0['records'][_0x1433d9]?_0x3378e0[_0x5433c5(0x4a9)](_0x218d2e,_0x1433d9):(_0x3378e0[_0x5433c5(0x4a9)](_0x218d2e,null),_0x34dd9f[_0x5433c5(0x4a9)](_0x218d2e,_0x26cf17[_0x5433c5(0x23e)][_0x5433c5(0x5e5)])):_0x3378e0['set'](_0x218d2e,null);}_0xa995b4(_0x3378e0,_0x34dd9f,_0x405a52),_0x4d47ee(_0x3378e0,_0x34dd9f,_0x405a52);let _0x7be898=new Map(_0x405a52['map']((_0x430aa2,_0x229649)=>[_0x430aa2,_0x229649])),_0x32ff2=new Map();for(let _0x2363d4 of _0x405a52){let _0x113ccd=_0x3378e0[_0x5433c5(0x558)](_0x2363d4)??null,_0xdc3293=_0x32ff2[_0x5433c5(0x558)](_0x113ccd)??[];_0xdc3293[_0x5433c5(0x605)](_0x2363d4),_0x32ff2['set'](_0x113ccd,_0xdc3293);}_0x32ff2[_0x5433c5(0x1bf)](_0x1e7a85=>_0x1e7a85['sort']((_0x502119,_0x560c27)=>(_0x7be898[_0x5433c5(0x558)](_0x502119)??0x0)-(_0x7be898['get'](_0x560c27)??0x0)));let _0x429293=_0x32ff2['get'](null)??[],_0x71c463=new Map(),_0x3aa6b7=new Map(),_0x40c15b=[],_0x3d7e5c=(_0x365b33,_0x647eba)=>{const _0x515fd7=_0x5433c5;_0x71c463[_0x515fd7(0x4a9)](_0x365b33,_0x647eba),_0x40c15b[_0x515fd7(0x605)](_0x365b33);let _0x446b62=0x0;for(let _0x342d63 of _0x32ff2[_0x515fd7(0x558)](_0x365b33)??[])_0x446b62=Math[_0x515fd7(0x5a7)](_0x446b62,0x1+_0x3d7e5c(_0x342d63,_0x647eba+0x1));return _0x3aa6b7[_0x515fd7(0x4a9)](_0x365b33,_0x446b62),_0x446b62;};return _0x429293[_0x5433c5(0x1bf)](_0x27d092=>_0x3d7e5c(_0x27d092,0x0)),{'fieldId':_0x5b292c,'parentByRecordId':_0x3378e0,'childrenByParentId':_0x32ff2,'depthByRecordId':_0x71c463,'subtreeHeightByRecordId':_0x3aa6b7,'invalidReasonByRecordId':_0x34dd9f,'rootRecordIds':_0x429293,'orderedRecordIds':_0x40c15b};}function _0x53de46(_0x4464ef,_0xd78ab7,_0xef6bdd=new Set(_0xd78ab7[_0x36f63a(0x4a5)](_0x76dca5=>_0x76dca5[_0x36f63a(0x571)]))){const _0x5d76f3=_0x36f63a;let _0x2ad7ae=new Set(_0xef6bdd);for(let _0x38a046 of _0xef6bdd){let _0x2dff1a=_0x4464ef['parentByRecordId'][_0x5d76f3(0x558)](_0x38a046)??null;for(;_0x2dff1a;)_0x2ad7ae[_0x5d76f3(0x1ce)](_0x2dff1a),_0x2dff1a=_0x4464ef[_0x5d76f3(0x35e)]['get'](_0x2dff1a)??null;}let _0x589897=new Map(_0xd78ab7[_0x5d76f3(0x4a5)](_0x4ff12a=>[_0x4ff12a[_0x5d76f3(0x571)],_0x4ff12a])),_0x3ea68a=_0x4464ef['orderedRecordIds'][_0x5d76f3(0x46a)](_0x4a3073=>_0x2ad7ae[_0x5d76f3(0x2fa)](_0x4a3073)),_0x128d78=_0x3ea68a[_0x5d76f3(0x35a)](_0x5a551b=>{const _0x440fb0=_0x5d76f3;let _0x43cfd7=_0x589897[_0x440fb0(0x558)](_0x5a551b);return _0x43cfd7?[_0x43cfd7]:[];}),_0xa2d05a={};for(let _0x11a816=0x0;_0x11a816<_0x3ea68a[_0x5d76f3(0x4cd)];_0x11a816++){let _0x3b5051=_0x3ea68a[_0x11a816];_0xa2d05a[_0x3b5051]={'recordId':_0x3b5051,'parentRecordId':_0x4464ef[_0x5d76f3(0x35e)]['get'](_0x3b5051)??null,'depth':_0x4464ef[_0x5d76f3(0x351)]['get'](_0x3b5051)??0x0,'directChildCount':(_0x4464ef['childrenByParentId'][_0x5d76f3(0x558)](_0x3b5051)??[])[_0x5d76f3(0x4cd)],'subtreeHeight':_0x4464ef[_0x5d76f3(0x491)]['get'](_0x3b5051)??0x0,'subtreeEndIndex':_0x11a816,'invalidReason':_0x4464ef[_0x5d76f3(0x466)][_0x5d76f3(0x558)](_0x3b5051)};}let _0x38386b=[];for(let _0x459191=0x0;_0x459191<_0x3ea68a[_0x5d76f3(0x4cd)];_0x459191++){let _0x5331=_0x3ea68a[_0x459191],_0x87d7fa=_0xa2d05a[_0x5331][_0x5d76f3(0x399)];for(;_0x38386b['length']&&_0x38386b[_0x38386b[_0x5d76f3(0x4cd)]-0x1][_0x5d76f3(0x399)]>=_0x87d7fa;){let _0x598b4e=_0x38386b[_0x5d76f3(0x572)]();_0xa2d05a[_0x598b4e[_0x5d76f3(0x571)]][_0x5d76f3(0x373)]=_0x459191-0x1;}_0x38386b[_0x5d76f3(0x605)]({'recordId':_0x5331,'depth':_0x87d7fa});}return _0x38386b[_0x5d76f3(0x1bf)](({recordId:_0x589d1c})=>{const _0x5656f7=_0x5d76f3;_0xa2d05a[_0x589d1c][_0x5656f7(0x373)]=_0x3ea68a[_0x5656f7(0x4cd)]-0x1;}),{'rows':_0x128d78,'hierarchy':{'fieldId':_0x4464ef[_0x5d76f3(0x39c)],'rootRecordIds':_0x4464ef['rootRecordIds']['filter'](_0x5d288c=>_0x2ad7ae[_0x5d76f3(0x2fa)](_0x5d288c)),'orderedRecordIds':_0x3ea68a,'nodes':_0xa2d05a}};}function _0x5cca96(_0x3efa8b,_0x1dd712){const _0x4aab5c=_0x36f63a;if(!_0x3efa8b[_0x4aab5c(0x50e)]||!(_0x1dd712!=null&&_0x1dd712['size']))return _0x3efa8b[_0x4aab5c(0x354)];let _0x3d5b47=[],_0x156e4e=0x0;for(;_0x156e4e<_0x3efa8b[_0x4aab5c(0x354)]['length'];){let _0x3c3ee4=_0x3efa8b[_0x4aab5c(0x354)][_0x156e4e];_0x3d5b47[_0x4aab5c(0x605)](_0x3c3ee4);let _0x3aea97=_0x3efa8b[_0x4aab5c(0x50e)][_0x4aab5c(0x40e)][_0x3c3ee4[_0x4aab5c(0x571)]];_0x156e4e=_0x1dd712[_0x4aab5c(0x2fa)](_0x3c3ee4[_0x4aab5c(0x571)])&&_0x3aea97?_0x3aea97[_0x4aab5c(0x373)]+0x1:_0x156e4e+0x1;}return _0x3d5b47;}function _0xc17f5a(_0x131b18,_0x164dba,_0x3ea707){const _0x4fcb3c=_0x36f63a;if(!_0x3ea707)return{'valid':!0x0};if(_0x164dba===_0x3ea707)return{'valid':!0x1,'reason':_0x26cf17[_0x4fcb3c(0x23e)]['SelfParent']};let _0x26d69e=_0x3ea707;for(;_0x26d69e;){if(_0x26d69e===_0x164dba)return{'valid':!0x1,'reason':_0x26cf17['BaseHierarchyInvalidReason'][_0x4fcb3c(0x425)]};_0x26d69e=_0x131b18['parentByRecordId']['get'](_0x26d69e)??null;}return(_0x131b18['depthByRecordId'][_0x4fcb3c(0x558)](_0x3ea707)??0x0)+0x1+(_0x131b18[_0x4fcb3c(0x491)][_0x4fcb3c(0x558)](_0x164dba)??0x0)>=0x5?{'valid':!0x1,'reason':_0x26cf17[_0x4fcb3c(0x23e)][_0x4fcb3c(0x245)]}:{'valid':!0x0};}function _0x3db5e2(_0x191253,_0x562a3e){const _0x14cb4e=_0x36f63a;let _0xf744c1=new Set(),_0x383674=[];for(let _0x5a5610 of _0x562a3e)_0x191253[_0x14cb4e(0x4c9)][_0x5a5610]&&!_0xf744c1[_0x14cb4e(0x2fa)](_0x5a5610)&&(_0xf744c1[_0x14cb4e(0x1ce)](_0x5a5610),_0x383674[_0x14cb4e(0x605)](_0x5a5610));return Object[_0x14cb4e(0x40d)](_0x191253[_0x14cb4e(0x4c9)])[_0x14cb4e(0x30f)]()[_0x14cb4e(0x1bf)](_0x132624=>{const _0x459306=_0x14cb4e;_0xf744c1['has'](_0x132624)||_0x383674[_0x459306(0x605)](_0x132624);}),_0x383674;}function _0xa995b4(_0x3b07de,_0xd193f8,_0x2a806a){const _0xc74e0c=_0x36f63a;let _0x2e981b=new Set();for(let _0x537398 of _0x2a806a){if(_0x2e981b[_0xc74e0c(0x2fa)](_0x537398))continue;let _0x634be=[],_0x467527=new Map(),_0x12578c=_0x537398;for(;_0x12578c&&!_0x2e981b[_0xc74e0c(0x2fa)](_0x12578c);){let _0x508f86=_0x467527[_0xc74e0c(0x558)](_0x12578c);if(_0x508f86!=null){let _0x20463c=[..._0x634be[_0xc74e0c(0x24f)](_0x508f86)][_0xc74e0c(0x30f)]()[_0xc74e0c(0x572)]();_0x3b07de['set'](_0x20463c,null),_0xd193f8[_0xc74e0c(0x4a9)](_0x20463c,_0x26cf17[_0xc74e0c(0x23e)][_0xc74e0c(0x425)]);break;}_0x467527[_0xc74e0c(0x4a9)](_0x12578c,_0x634be['length']),_0x634be[_0xc74e0c(0x605)](_0x12578c),_0x12578c=_0x3b07de[_0xc74e0c(0x558)](_0x12578c)??null;}_0x634be[_0xc74e0c(0x1bf)](_0x4624f1=>_0x2e981b[_0xc74e0c(0x1ce)](_0x4624f1));}}function _0x4d47ee(_0x340ede,_0x15051f,_0x3ca959){const _0x3ecdbf=_0x36f63a;let _0x1ea3a7=new Map(),_0x316ff1=_0x55b715=>{const _0x192a6e=_0x45c5;let _0x4369f4=_0x1ea3a7[_0x192a6e(0x558)](_0x55b715);if(_0x4369f4!=null)return _0x4369f4;let _0x282dd8=_0x340ede[_0x192a6e(0x558)](_0x55b715)??null;if(!_0x282dd8)return _0x1ea3a7[_0x192a6e(0x4a9)](_0x55b715,0x0),0x0;let _0x501ce4=_0x316ff1(_0x282dd8)+0x1;return _0x501ce4>=0x5?(_0x340ede['set'](_0x55b715,null),_0x15051f[_0x192a6e(0x4a9)](_0x55b715,_0x26cf17[_0x192a6e(0x23e)][_0x192a6e(0x245)]),_0x1ea3a7['set'](_0x55b715,0x0),0x0):(_0x1ea3a7[_0x192a6e(0x4a9)](_0x55b715,_0x501ce4),_0x501ce4);};_0x3ca959[_0x3ecdbf(0x1bf)](_0x316ff1);}let _0x4886f4=0x0;function _0x59c673(){const _0x54ca19=_0x36f63a;if(globalThis[_0x54ca19(0x61e)]===!0x0)return!0x0;try{let _0x1aa608=typeof location>'u'?'':location[_0x54ca19(0x20a)],_0x3fdf66=new URLSearchParams(_0x1aa608);if(_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x232))==='1'||_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x232))===_0x54ca19(0x4f4)||_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x3e8))==='1')return!0x0;}catch{}try{let _0x2d5390=typeof localStorage>'u'?null:localStorage[_0x54ca19(0x517)](_0x54ca19(0x4a2));return _0x2d5390==='1'||_0x2d5390===_0x54ca19(0x4f4);}catch{return!0x1;}}function _0xdade1e(_0x1eb2f5,_0x330e15,_0xdd1d8c){const _0x246080=_0x36f63a;if(!_0x59c673())return _0x330e15();let _0x5d0bd1=_0x1530ef(),_0x3a295e='base-perf-'+_0x4886f4++;_0x59fd42(_0x3a295e+_0x246080(0x37c));try{return _0x330e15();}finally{let _0x5cc0d9=_0x1530ef()-_0x5d0bd1;_0x59fd42(_0x3a295e+':end'),_0x1158f9(_0x1eb2f5,_0x3a295e+_0x246080(0x37c),_0x3a295e+_0x246080(0x55d)),_0x1e7cef(_0x1eb2f5,_0x5cc0d9,_0xdd1d8c);}}function _0x1e7cef(_0x2b1dc7,_0x28c5cb,_0xfdcac8){const _0x2d03ec=_0x36f63a;if(!_0x59c673())return;let _0x2d74bd=Math['round'](_0x28c5cb*0x64)/0x64,_0x4740ed=_0xfdcac8&&Object['keys'](_0xfdcac8)[_0x2d03ec(0x4cd)]?'\x20'+JSON[_0x2d03ec(0x40a)](_0xfdcac8):'';console[_0x2d03ec(0x5f5)](_0x2d03ec(0x407)+_0x2b1dc7+':\x20'+_0x2d74bd+'ms'+_0x4740ed);}function _0x1530ef(){const _0x265604=_0x36f63a;return typeof performance<'u'&&typeof performance[_0x265604(0x5c9)]==_0x265604(0x556)?performance[_0x265604(0x5c9)]():Date['now']();}function _0x59fd42(_0x5087a4){const _0x1c62ff=_0x36f63a;try{if(typeof performance<'u'){var _0x3fa60b,_0x3795a7;(_0x3fa60b=(_0x3795a7=performance)[_0x1c62ff(0x44e)])==null||_0x3fa60b[_0x1c62ff(0x5b6)](_0x3795a7,_0x5087a4);}}catch{}}function _0x1158f9(_0x2618bc,_0x7feff7,_0x140388){const _0x299375=_0x36f63a;try{if(typeof performance<'u'){var _0x573724,_0x404a64;(_0x573724=(_0x404a64=performance)[_0x299375(0x479)])==null||_0x573724[_0x299375(0x5b6)](_0x404a64,_0x299375(0x407)+_0x2618bc,_0x7feff7,_0x140388);}}catch{}}function _0x58de72(_0x4ed5f2){const _0x3ceaa9=_0x36f63a;var _0x424631;return _0x59c673()?_0xdade1e('IBaseCellData.ensureTableCellLayout',()=>_0x2152f7(_0x4ed5f2),{'tableId':_0x4ed5f2['id'],'records':Object['keys'](_0x4ed5f2[_0x3ceaa9(0x4c9)]??{})['length'],'fields':_0x4ed5f2[_0x3ceaa9(0x1b2)][_0x3ceaa9(0x4cd)],'hasRecordOrder':!!((_0x424631=_0x4ed5f2[_0x3ceaa9(0x2ba)])!=null&&_0x424631[_0x3ceaa9(0x4cd)])}):_0x2152f7(_0x4ed5f2);}function _0x2152f7(_0x234a07){const _0x5c619e=_0x36f63a;var _0x5960e2;let _0x1cf6e8=_0x234a07['records']??{},_0x540f44=_0x234a07['fields']??{},_0x5c36df=((_0x5960e2=_0x234a07['recordOrder'])==null?void 0x0:_0x5960e2[_0x5c619e(0x46a)](_0x530c94=>_0x1cf6e8[_0x530c94]))??[],_0x580a6d=new Set(_0x5c36df),_0x537bc3=[];for(let _0x5d32fc of Object[_0x5c619e(0x20f)](_0x1cf6e8))_0x580a6d['has'](_0x5d32fc['id'])||_0x537bc3['push'](_0x5d32fc);let _0x3854e9=_0x537bc3[_0x5c619e(0x4cd)]?[..._0x5c36df,..._0x167408(_0x537bc3)]:_0x5c36df,_0x4b3fa5=_0x234a07['fieldOrder'][_0x5c619e(0x46a)](_0x893cd2=>_0x540f44[_0x893cd2]),_0x37fc6d={..._0x234a07[_0x5c619e(0x51d)]??{}},_0x114724={..._0x234a07[_0x5c619e(0x3e3)]??{}},_0x4697b7={..._0x234a07[_0x5c619e(0x61f)]??{}};_0x234a07[_0x5c619e(0x2ba)]=_0x3854e9,_0x234a07[_0x5c619e(0x5cd)]={},_0x234a07[_0x5c619e(0x51d)]={},_0x234a07[_0x5c619e(0x41d)]={},_0x234a07[_0x5c619e(0x3e3)]={},_0x234a07[_0x5c619e(0x61f)]={},_0x234a07[_0x5c619e(0x26a)]={..._0x234a07[_0x5c619e(0x26a)]??{}},_0x234a07[_0x5c619e(0x26a)][_0x5c619e(0x40b)]={..._0x234a07['resources'][_0x5c619e(0x40b)]??{}},_0x234a07[_0x5c619e(0x26a)][_0x5c619e(0x249)]={..._0x234a07['resources'][_0x5c619e(0x249)]??{}};let _0x577171=_0x234a07[_0x5c619e(0x5cd)],_0x5d5251=_0x234a07[_0x5c619e(0x51d)],_0x5e16cc=_0x234a07[_0x5c619e(0x41d)],_0x41887d=_0x234a07[_0x5c619e(0x3e3)],_0xd0b315=_0x234a07['cellData'];return _0x3854e9[_0x5c619e(0x1bf)]((_0x223299,_0x403092)=>{_0x577171[_0x223299]=_0x403092,_0x5d5251[_0x403092]=_0x223299;}),_0x4b3fa5[_0x5c619e(0x1bf)]((_0x3a3faf,_0x5b108d)=>{_0x5e16cc[_0x3a3faf]=_0x5b108d,_0x41887d[_0x5b108d]=_0x3a3faf;}),Object['entries'](_0x4697b7)[_0x5c619e(0x1bf)](([_0x3794cc,_0x2f045c])=>{const _0x37b82d=_0x5c619e;let _0x53e9d4=Number(_0x3794cc),_0x343111=_0x37fc6d[_0x53e9d4]??_0x3854e9[_0x53e9d4],_0x2160f5=_0x343111?_0x577171[_0x343111]:void 0x0;_0x2160f5!=null&&(_0xd0b315[_0x2160f5]={..._0xd0b315[_0x2160f5]??{}},Object[_0x37b82d(0x443)](_0x2f045c??{})['forEach'](([_0x3e9b44,_0x4a2ac7])=>{let _0x30e53a=Number(_0x3e9b44),_0x27b9d7=_0x114724[_0x30e53a]??_0x4b3fa5[_0x30e53a],_0x5b3647=_0x27b9d7?_0x5e16cc[_0x27b9d7]:void 0x0;_0x5b3647!=null&&(_0xd0b315[_0x2160f5][_0x5b3647]=_0x52b356(_0x4a2ac7));}));}),Object[_0x5c619e(0x20f)](_0x1cf6e8)[_0x5c619e(0x1bf)](_0x5a9b57=>{const _0x5dd955=_0x5c619e;let _0x300176=_0x577171[_0x5a9b57['id']];_0x300176!=null&&(_0x5a9b57['values']={..._0x5a9b57['values']??{},[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x5a9b57['id']},_0xd0b315[_0x300176]={..._0xd0b315[_0x300176]??{},0x0:{'v':_0x5a9b57['id'],'t':_0x26cf17[_0x5dd955(0x555)][_0x5dd955(0x56f)]}},Object[_0x5dd955(0x443)](_0x5a9b57[_0x5dd955(0x20f)]??{})[_0x5dd955(0x1bf)](([_0x20573c,_0x425ab1])=>{const _0x201c94=_0x5dd955;let _0x2ea9e5=_0x540f44[_0x20573c];(_0x2ea9e5==null?void 0x0:_0x2ea9e5[_0x201c94(0x5d6)])===_0x26cf17['BaseFieldType']['Attachment']&&_0x1eb926(_0x234a07,_0x5a9b57['id'],_0x20573c,_0x425ab1);let _0x3b6ffb=_0x5e16cc[_0x20573c];if(_0x3b6ffb==null)return;let _0x4c2169=_0xd0b315[_0x300176][_0x3b6ffb];(_0x4c2169==null||_0x27168a(_0x4c2169,_0x2ea9e5,_0x425ab1))&&(_0xd0b315[_0x300176][_0x3b6ffb]=_0x545d9f(_0x425ab1,_0x2ea9e5));}));}),_0x234a07;}function _0x4136d5(_0x56d2dc,_0x3da8ab){const _0x483c77=_0x36f63a;return _0x56d2dc[_0x483c77(0x4c9)]=Object[_0x483c77(0x60c)](Object[_0x483c77(0x443)](_0x56d2dc[_0x483c77(0x4c9)])['map'](([_0x468db9,_0x44b1c0])=>[_0x468db9,{..._0x44b1c0}])),_0x58de72(_0x56d2dc),Object[_0x483c77(0x443)](_0x56d2dc[_0x483c77(0x51d)]??{})[_0x483c77(0x1bf)](([_0x1b9473,_0x32fad9])=>{const _0x3eb395=_0x483c77;var _0x23a8a5;let _0x1ede03=Number(_0x1b9473),_0xd0f803=_0x56d2dc[_0x3eb395(0x4c9)][_0x32fad9];_0xd0f803&&(_0xd0f803[_0x3eb395(0x20f)]={..._0xd0f803[_0x3eb395(0x20f)]??{}},Object[_0x3eb395(0x443)](((_0x23a8a5=_0x56d2dc['cellData'])==null?void 0x0:_0x23a8a5[_0x1ede03])??{})['forEach'](([_0x19ed73,_0x10796f])=>{const _0x49172a=_0x3eb395;var _0x267755;let _0x43afb6=(_0x267755=_0x56d2dc['colId'])==null?void 0x0:_0x267755[Number(_0x19ed73)];_0x43afb6&&_0x3da8ab&&!_0x3da8ab(_0x32fad9,_0x43afb6)||(_0x43afb6===_0x26cf17[_0x49172a(0x478)]?_0xd0f803[_0x49172a(0x20f)][_0x26cf17[_0x49172a(0x478)]]=_0xd0f803['id']:_0x43afb6&&(_0xd0f803[_0x49172a(0x20f)][_0x43afb6]=_0x194f16(_0x10796f,_0x56d2dc[_0x49172a(0x458)][_0x43afb6],_0x56d2dc,_0x32fad9)));}));}),_0x56d2dc;}function _0xbbc2dc(_0x21c201,_0x5728b2){const _0x28ea95=_0x36f63a;for(let {row:_0x74d51c,col:_0x2d0b45}of _0x5728b2){var _0x2b9728,_0x10b4bf,_0x763215;let _0x156975=(_0x2b9728=_0x21c201['rowId'])==null?void 0x0:_0x2b9728[_0x74d51c],_0x32841e=(_0x10b4bf=_0x21c201['colId'])==null?void 0x0:_0x10b4bf[_0x2d0b45],_0x150c0c=_0x156975?_0x21c201[_0x28ea95(0x4c9)][_0x156975]:void 0x0;if(!_0x150c0c||!_0x32841e)continue;if(_0x32841e===_0x26cf17['BASE_RECORD_ID_FIELD_ID']){_0x150c0c[_0x28ea95(0x20f)][_0x26cf17[_0x28ea95(0x478)]]=_0x150c0c['id'];continue;}let _0x42863c=(_0x763215=_0x21c201[_0x28ea95(0x61f)])==null||(_0x763215=_0x763215[_0x74d51c])==null?void 0x0:_0x763215[_0x2d0b45];(_0x42863c!=null||Object[_0x28ea95(0x1d5)][_0x28ea95(0x4ea)][_0x28ea95(0x5b6)](_0x150c0c[_0x28ea95(0x20f)]??{},_0x32841e))&&(_0x150c0c[_0x28ea95(0x20f)]={..._0x150c0c[_0x28ea95(0x20f)]??{}},_0x150c0c[_0x28ea95(0x20f)][_0x32841e]=_0x194f16(_0x42863c,_0x21c201['fields'][_0x32841e],_0x21c201,_0x156975));}return _0x21c201;}function _0x45e3a4(_0x15c0e4,_0x8ac07b,_0x2c4762){const _0x2b28d0=_0x36f63a;var _0x464377,_0x10896d,_0x2b8945,_0xc5489a,_0x26849f,_0x5bd188;let _0x1207fd=(_0x464377=_0x15c0e4['rowIndex'])==null?void 0x0:_0x464377[_0x8ac07b],_0x3c9cf3=(_0x10896d=_0x15c0e4['colIndex'])==null?void 0x0:_0x10896d[_0x2c4762];if(_0x1207fd!=null&&_0x3c9cf3!=null&&((_0x2b8945=_0x15c0e4[_0x2b28d0(0x51d)])==null?void 0x0:_0x2b8945[_0x1207fd])===_0x8ac07b&&((_0xc5489a=_0x15c0e4[_0x2b28d0(0x3e3)])==null?void 0x0:_0xc5489a[_0x3c9cf3])===_0x2c4762)return{'row':_0x1207fd,'col':_0x3c9cf3};let _0x31045f=_0x58de72(_0x15c0e4),_0x4d963c=(_0x26849f=_0x31045f[_0x2b28d0(0x5cd)])==null?void 0x0:_0x26849f[_0x8ac07b],_0x16da0e=(_0x5bd188=_0x31045f[_0x2b28d0(0x41d)])==null?void 0x0:_0x5bd188[_0x2c4762];return _0x4d963c==null||_0x16da0e==null?null:{'row':_0x4d963c,'col':_0x16da0e};}function _0x18de85(_0x1e7c72,_0x3c4af8,_0x36dc73){const _0x2b192b=_0x36f63a;var _0x457a91;let _0x4f326a=_0x45e3a4(_0x1e7c72,_0x3c4af8,_0x36dc73);if(_0x4f326a)return(_0x457a91=_0x1e7c72['cellData'])==null||(_0x457a91=_0x457a91[_0x4f326a['row']])==null?void 0x0:_0x457a91[_0x4f326a[_0x2b192b(0x46c)]];}function _0x2db5fc(_0x4ea91a,_0xa31254,_0x30c2f9){const _0x212571=_0x36f63a;var _0x2ba04e;let _0x490fdd=_0x18de85(_0x4ea91a,_0xa31254,_0x30c2f9),_0x44c9f8=_0x4ea91a[_0x212571(0x458)][_0x30c2f9];if((_0x44c9f8==null?void 0x0:_0x44c9f8[_0x212571(0x5d6)])===_0x26cf17[_0x212571(0x22d)][_0x212571(0x50b)]){var _0x2e3888;return _0xc0d903(_0x4ea91a,_0xa31254,_0x30c2f9)??_0x509f7b((_0x2e3888=_0x4ea91a['records'][_0xa31254])==null||(_0x2e3888=_0x2e3888['values'])==null?void 0x0:_0x2e3888[_0x30c2f9]);}if(_0xf8a6e2(_0x44c9f8)||_0x30c524(_0x44c9f8)||(_0x44c9f8==null?void 0x0:_0x44c9f8[_0x212571(0x5d6)])===_0x26cf17[_0x212571(0x22d)]['Link']){var _0x3ccb65;let _0x402d8c=(_0x3ccb65=_0x4ea91a['records'][_0xa31254])==null||(_0x3ccb65=_0x3ccb65[_0x212571(0x20f)])==null?void 0x0:_0x3ccb65[_0x30c2f9];return _0x402d8c!=null&&_0x402d8c!==''?_0xeb0b29(_0x402d8c,_0x44c9f8):_0x194f16(_0x490fdd,_0x44c9f8,_0x4ea91a,_0xa31254);}return _0x490fdd&&Object[_0x212571(0x1d5)]['hasOwnProperty'][_0x212571(0x5b6)](_0x490fdd,'v')?_0x490fdd['v']??null:((_0x2ba04e=_0x4ea91a[_0x212571(0x4c9)][_0xa31254])==null||(_0x2ba04e=_0x2ba04e[_0x212571(0x20f)])==null?void 0x0:_0x2ba04e[_0x30c2f9])??null;}function _0x5e403e(_0x3453c0,_0x1271b5,_0x5ee848){const _0x4c4ad3=_0x36f63a;var _0x4907b5;let _0x39811e=_0x18de85(_0x3453c0,_0x1271b5,_0x5ee848);if(_0x39811e&&Object[_0x4c4ad3(0x1d5)][_0x4c4ad3(0x4ea)][_0x4c4ad3(0x5b6)](_0x39811e,'v'))return _0x39811e['v']??null;let _0x3006dc=_0x3453c0[_0x4c4ad3(0x458)][_0x5ee848];return _0x545d9f(((_0x4907b5=_0x3453c0[_0x4c4ad3(0x4c9)][_0x1271b5])==null||(_0x4907b5=_0x4907b5[_0x4c4ad3(0x20f)])==null?void 0x0:_0x4907b5[_0x5ee848])??null,_0x3006dc)['v']??null;}function _0x545d9f(_0xc76261,_0x1fdfdb){const _0x3406c2=_0x36f63a;if(_0x1b4934(_0xc76261))return(_0x1fdfdb==null?void 0x0:_0x1fdfdb[_0x3406c2(0x5d6)])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x50b)]?{..._0xc76261,'v':'','t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]}:_0x52b356(_0xc76261);if((_0x1fdfdb==null?void 0x0:_0x1fdfdb['type'])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x50b)])return{'v':'','t':_0x26cf17[_0x3406c2(0x555)]['STRING']};if(_0x30c524(_0x1fdfdb)){let _0x396e60=_0x3d8acf(_0xc76261);return{'v':_0x396e60,'t':_0x3deb44(_0x396e60)};}if(_0xf8a6e2(_0x1fdfdb))return{'v':_0xc67cce(_0xc76261)[_0x3406c2(0x241)](',\x20'),'t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]};if((_0x1fdfdb==null?void 0x0:_0x1fdfdb['type'])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x205)]&&_0xc76261&&typeof _0xc76261==_0x3406c2(0x3e4)&&!Array[_0x3406c2(0x2c4)](_0xc76261)){let _0x19c01f=_0xc76261;return{'v':String(_0x19c01f[_0x3406c2(0x1c8)]??_0x19c01f[_0x3406c2(0x3f2)]??''),'t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]};}return _0xc76261===null||typeof _0xc76261==_0x3406c2(0x4c8)||typeof _0xc76261==_0x3406c2(0x5ac)||typeof _0xc76261==_0x3406c2(0x49e)?{'v':_0xc76261,'t':_0x3deb44(_0xc76261)}:{'v':null,'t':null};}function _0x52b356(_0x441867){let _0x3a4b3d=_0x1f5fa1(_0x441867['t'],_0x441867['v']);if(_0x3a4b3d===void 0x0){let {t:_0x508fe4,..._0x124e2e}=_0x441867;return _0x124e2e;}return{..._0x441867,'t':_0x3a4b3d};}function _0x194f16(_0x59efe5,_0x4cac28,_0x377a03,_0xbf860a){const _0x11dc48=_0x36f63a;if(!_0x59efe5)return null;if((_0x4cac28==null?void 0x0:_0x4cac28[_0x11dc48(0x5d6)])===_0x26cf17[_0x11dc48(0x22d)][_0x11dc48(0x50b)])return _0x377a03&&_0xbf860a?_0xc0d903(_0x377a03,_0xbf860a,_0x4cac28['id'])??[]:[];if(_0xf8a6e2(_0x4cac28))return _0xc67cce(_0x59efe5['v']);if((_0x4cac28==null?void 0x0:_0x4cac28[_0x11dc48(0x5d6)])===_0x26cf17['BaseFieldType'][_0x11dc48(0x205)]&&_0x377a03&&_0xbf860a){var _0x5b8b73;let _0x508f7d=(_0x5b8b73=_0x377a03[_0x11dc48(0x4c9)][_0xbf860a])==null||(_0x5b8b73=_0x5b8b73[_0x11dc48(0x20f)])==null?void 0x0:_0x5b8b73[_0x4cac28['id']];if(_0x508f7d&&typeof _0x508f7d==_0x11dc48(0x3e4)&&!Array[_0x11dc48(0x2c4)](_0x508f7d))return _0x508f7d;}return Object[_0x11dc48(0x1d5)][_0x11dc48(0x4ea)][_0x11dc48(0x5b6)](_0x59efe5,'v')?_0x59efe5['v']??null:null;}function _0x1871e5(_0x621619,_0x20ff05,_0x34b9cb,_0x8795d9,_0x153f0c){const _0x165268=_0x36f63a;return(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)]['Attachment']?_0x509f7b(_0x621619):_0x30c524(_0x34b9cb)?_0x3d8acf(_0x621619):_0xf8a6e2(_0x34b9cb)?_0xc67cce(_0x621619):(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)][_0x165268(0x205)]&&(_0x621619==null||_0x621619==='')?null:(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)][_0x165268(0x205)]&&_0x621619&&typeof _0x621619=='object'&&!Array[_0x165268(0x2c4)](_0x621619)&&!_0x1b4934(_0x621619)?_0x621619:_0x194f16(_0x20ff05,_0x34b9cb,_0x8795d9,_0x153f0c);}function _0x1b4934(_0x46a240){const _0x447c42=_0x36f63a;return!!_0x46a240&&typeof _0x46a240=='object'&&(Object['prototype']['hasOwnProperty'][_0x447c42(0x5b6)](_0x46a240,'v')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)]['call'](_0x46a240,'t')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'p')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'f')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'si'));}function _0x5d9a67(_0x2ff7f5,_0x555281){return _0x2ff7f5+'\x1f'+_0x555281;}function _0x1eb926(_0x23e64e,_0x57694a,_0x3078ed,_0x20ae1c){const _0x3735d0=_0x36f63a;let _0x2ff9ad=_0x509f7b(_0x20ae1c);_0x23e64e[_0x3735d0(0x26a)]={..._0x23e64e[_0x3735d0(0x26a)]??{}},_0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)]={..._0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)]??{}},_0x23e64e['resources']['attachments']={..._0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x249)]??{}};let _0x3d6e29=_0x5d9a67(_0x3078ed,_0x57694a),_0x1faf81=[];for(let _0x160ad3=0x0;_0x160ad3<_0x2ff9ad[_0x3735d0(0x4cd)];_0x160ad3++){if(!(_0x160ad3 in _0x2ff9ad))continue;let _0x1535ad=_0x2ff9ad[_0x160ad3],_0x306528=String(_0x1535ad['id']??_0x3d6e29+'\x1f'+_0x160ad3),_0x4b31b9={..._0x1535ad,'id':_0x306528};_0x23e64e['resources'][_0x3735d0(0x249)][_0x306528]=_0x4b31b9,_0x1faf81[_0x3735d0(0x605)](_0x306528);}_0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)][_0x3d6e29]=_0x1faf81;}function _0xc0d903(_0x24a5a5,_0x26ba76,_0x3623b1){const _0x161ec4=_0x36f63a;var _0x17d479;let _0x45a95b=_0x5d9a67(_0x3623b1,_0x26ba76),_0x59ea45=(_0x17d479=_0x24a5a5[_0x161ec4(0x26a)])==null||(_0x17d479=_0x17d479['attachmentSets'])==null?void 0x0:_0x17d479[_0x45a95b];if(!_0x59ea45)return null;let _0x3c19fb=[];for(let _0xb460f1=0x0;_0xb460f1<_0x59ea45['length'];_0xb460f1++){var _0x2cc453;if(!(_0xb460f1 in _0x59ea45))continue;let _0x1bc73a=(_0x2cc453=_0x24a5a5[_0x161ec4(0x26a)])==null||(_0x2cc453=_0x2cc453[_0x161ec4(0x249)])==null?void 0x0:_0x2cc453[_0x59ea45[_0xb460f1]];_0x1bc73a&&_0x3c19fb[_0x161ec4(0x605)]({..._0x1bc73a});}return _0x3c19fb;}function _0x509f7b(_0x551c4b){const _0x533c82=_0x36f63a;if(_0x551c4b==null||_0x551c4b===''||_0x1b4934(_0x551c4b)&&!('id'in _0x551c4b)&&!('name'in _0x551c4b))return[];let _0x3f05ae=Array[_0x533c82(0x2c4)](_0x551c4b)?_0x551c4b:[_0x551c4b],_0x13a516=[];for(let _0x3fc291=0x0;_0x3fc291<_0x3f05ae[_0x533c82(0x4cd)];_0x3fc291++){if(!(_0x3fc291 in _0x3f05ae))continue;let _0x10c507=_0x3f05ae[_0x3fc291],_0x4dd8b1=_0x10c507&&typeof _0x10c507==_0x533c82(0x3e4)?{..._0x10c507}:{'id':_0x533c82(0x4fb)+_0x3fc291,'name':String(_0x10c507)};Object['keys'](_0x4dd8b1)['length']>0x0&&_0x13a516[_0x533c82(0x605)](_0x4dd8b1);}return _0x13a516;}function _0xeb0b29(_0x417119,_0x1b7ceb){const _0x531922=_0x36f63a;return(_0x1b7ceb==null?void 0x0:_0x1b7ceb[_0x531922(0x5d6)])===_0x26cf17[_0x531922(0x22d)][_0x531922(0x50b)]?_0x509f7b(_0x417119):_0x30c524(_0x1b7ceb)?_0x3d8acf(_0x417119):_0xf8a6e2(_0x1b7ceb)?_0xc67cce(_0x417119):_0x417119;}function _0x27168a(_0x1abb0b,_0x11a59c,_0x51f579){const _0x1678b5=_0x36f63a;return(_0x11a59c==null?void 0x0:_0x11a59c[_0x1678b5(0x5d6)])===_0x26cf17[_0x1678b5(0x22d)][_0x1678b5(0x50b)]?_0x1abb0b['v']!=='':_0x30c524(_0x11a59c)?_0x1abb0b['v']!==_0x3d8acf(_0x51f579):_0xf8a6e2(_0x11a59c)?Array[_0x1678b5(0x2c4)](_0x51f579)&&(_0x1abb0b['v']==null||_0x1abb0b['v']===''):!0x1;}function _0xf8a6e2(_0x4037b0){const _0x183323=_0x36f63a;return(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17[_0x183323(0x22d)][_0x183323(0x36d)]||(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17[_0x183323(0x22d)][_0x183323(0x4ef)]||(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17['BaseFieldType'][_0x183323(0x386)]&&_0x4037b0[_0x183323(0x4cc)][_0x183323(0x4a1)]===!0x0;}function _0x30c524(_0x4bcf59){const _0x4aac04=_0x36f63a;return(_0x4bcf59==null?void 0x0:_0x4bcf59['type'])===_0x26cf17['BaseFieldType']['Person']&&_0x4bcf59[_0x4aac04(0x4cc)][_0x4aac04(0x4a1)]!==!0x0;}function _0x3d8acf(_0x589021){const _0x526813=_0x36f63a;let _0x4c4823=_0x1b4934(_0x589021)?_0x589021['v']:_0x589021,_0x3f60cd=Array[_0x526813(0x2c4)](_0x4c4823)?_0x4c4823[0x0]:_0x4c4823;return _0x3f60cd==null||_0x3f60cd===''?null:String(_0x3f60cd);}function _0xc67cce(_0x2bfb57){const _0x425812=_0x36f63a;if(_0x2bfb57==null||_0x2bfb57==='')return[];let _0x352e56=[];if(Array['isArray'](_0x2bfb57)){for(let _0x4f5058=0x0;_0x4f5058<_0x2bfb57[_0x425812(0x4cd)];_0x4f5058++){if(!(_0x4f5058 in _0x2bfb57))continue;let _0x4f42b5=_0x49be81(_0x2bfb57[_0x4f5058]);_0x4f42b5&&_0x352e56[_0x425812(0x605)](_0x4f42b5);}return _0x352e56;}for(let _0x5d9316 of String(_0x2bfb57)[_0x425812(0x520)](',')){let _0xb35e08=_0x5d9316['trim']();_0xb35e08&&_0x352e56[_0x425812(0x605)](_0xb35e08);}return _0x352e56;}function _0x49be81(_0x535efd){const _0x3bba6f=_0x36f63a;if(_0x535efd==null)return'';if(typeof _0x535efd==_0x3bba6f(0x4c8)||typeof _0x535efd==_0x3bba6f(0x5ac)||typeof _0x535efd==_0x3bba6f(0x49e))return String(_0x535efd);if(typeof _0x535efd==_0x3bba6f(0x3e4)){let _0x281664=_0x535efd;return String(_0x281664['id']??_0x281664['name']??_0x281664[_0x3bba6f(0x1c8)]??'');}return String(_0x535efd);}function _0x3deb44(_0x13a146){const _0x1f81fd=_0x36f63a;return _0x13a146==null?null:typeof _0x13a146==_0x1f81fd(0x5ac)?_0x26cf17[_0x1f81fd(0x555)][_0x1f81fd(0x53f)]:typeof _0x13a146==_0x1f81fd(0x49e)?_0x26cf17[_0x1f81fd(0x555)][_0x1f81fd(0x261)]:_0x26cf17[_0x1f81fd(0x555)]['STRING'];}function _0x167408(_0x337a4d){const _0x4c9338=_0x36f63a;_0x337a4d[_0x4c9338(0x30f)]((_0x1e4370,_0x4736a0)=>_0x1e4370[_0x4c9338(0x58c)]['localeCompare'](_0x4736a0[_0x4c9338(0x58c)]));let _0x26582f=[];for(let _0xaf11ce of _0x337a4d)_0x26582f['push'](_0xaf11ce['id']);return _0x26582f;}function _0x1f5fa1(_0x4b5c1d,_0x44d75b){const _0x3c6a19=_0x36f63a;return _0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)][_0x3c6a19(0x56f)]||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)][_0x3c6a19(0x53f)]||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)]['BOOLEAN']||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)]['FORCE_STRING']||_0x4b5c1d==null?_0x4b5c1d:_0x3deb44(_0x44d75b??null);}function _0x396f18(_0x35c411){const _0x52dc05=_0x36f63a;let _0x1bc772=null;for(let _0x4a857b of _0x35c411)_0x1bc772=_0x1bc772===null?_0x4a857b:_0x26cf17[_0x52dc05(0x2a4)][_0x52dc05(0x5d6)][_0x52dc05(0x44a)](_0x1bc772,_0x4a857b);return _0x1bc772;}var _0x5070bf=class _0x2ee064{static[_0x36f63a(0x198)](_0x148fa4,_0x251913){const _0x2b72dd=_0x36f63a;let _0x35de82=[];for(let _0x222a0d of _0x251913){let _0x2dcdd7=_0x5de495(_0x222a0d);if(!_0x2dcdd7||_0x2dcdd7[_0x2b72dd(0x41e)]!==_0x148fa4['id'])return null;_0x35de82[_0x2b72dd(0x605)](_0x2dcdd7['op']);}try{let _0xdd2653=_0x396f18(_0x35de82);return _0xdd2653===null?_0x148fa4:new _0x2ee064()['applyOp'](_0x148fa4,_0xdd2653);}catch{return null;}}[_0x36f63a(0x4ad)](_0x217fc6,_0x367b48){const _0x4c9ac7=_0x36f63a;let _0x412718=this[_0x4c9ac7(0x2b7)](_0x367b48),_0xa1b8d8=_0xdade1e(_0x4c9ac7(0x5b1),()=>_0x41d627(_0x217fc6,_0x367b48),{'invalidations':_0x412718['length']}),_0x57513f=_0xdade1e('BaseJson1.json1Apply',()=>_0x26cf17[_0x4c9ac7(0x2a4)]['type'][_0x4c9ac7(0x567)](_0xa1b8d8,_0x367b48),{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]}),_0x30c7de=_0x1802ff(_0x57513f,_0x412718);return _0xdade1e(_0x4c9ac7(0x2d4),()=>_0x2b2aae(_0x57513f,_0x412718),{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]})?(_0x4a32e5(_0x57513f,_0x30c7de),_0x57513f):(_0xdade1e('BaseJson1.normalizeTables',()=>{const _0x305d94=_0x4c9ac7;this[_0x305d94(0x3d0)](_0x57513f,_0x412718)[_0x305d94(0x1bf)](_0x2c0375=>{const _0x588ad5=_0x305d94;let _0x3a6f95=_0x412718[_0x588ad5(0x46a)](_0x1999ed=>_0x1999ed['tableId']===_0x2c0375['id']),_0x2a7adf=_0x3a6f95[_0x588ad5(0x4cd)]>0x0&&_0x3a6f95[_0x588ad5(0x308)](_0x233541=>_0x233541[_0x588ad5(0x560)]==='field'||_0x233541['reason']===_0x588ad5(0x602)||_0x233541[_0x588ad5(0x560)]===_0x588ad5(0x49d)||_0x233541[_0x588ad5(0x560)]===_0x588ad5(0x1b5))?new Set(_0x3a6f95[_0x588ad5(0x35a)](_0x38730f=>{const _0x3dd6db=_0x588ad5;var _0x5c1268;if(_0x38730f[_0x3dd6db(0x560)]!==_0x3dd6db(0x5f1)||!_0x38730f['fieldId'])return[];let _0x5ca43e=(_0x5c1268=_0x217fc6[_0x3dd6db(0x594)][_0x2c0375['id']])==null?void 0x0:_0x5c1268['fields'][_0x38730f['fieldId']],_0x534aa9=_0x2c0375[_0x3dd6db(0x458)][_0x38730f[_0x3dd6db(0x39c)]];return(_0x5ca43e==null?void 0x0:_0x5ca43e[_0x3dd6db(0x5d6)])!==(_0x534aa9==null?void 0x0:_0x534aa9[_0x3dd6db(0x5d6)])||(_0x5ca43e==null?void 0x0:_0x5ca43e[_0x3dd6db(0x4cc)][_0x3dd6db(0x4a1)])!==(_0x534aa9==null?void 0x0:_0x534aa9['config'][_0x3dd6db(0x4a1)])?[_0x38730f['fieldId']]:[];})):void 0x0,_0x4f80e1=new Set(_0x3a6f95[_0x588ad5(0x35a)](_0x267b75=>{const _0x32b66d=_0x588ad5;var _0x244d5c,_0x100260;return _0x267b75[_0x32b66d(0x560)]!=='cell'||_0x267b75[_0x32b66d(0x5dd)]==null||_0x267b75[_0x32b66d(0x582)]==null?[]:[JSON[_0x32b66d(0x40a)]([(_0x244d5c=_0x2c0375['rowId'])==null?void 0x0:_0x244d5c[_0x267b75[_0x32b66d(0x5dd)]],(_0x100260=_0x2c0375[_0x32b66d(0x3e3)])==null?void 0x0:_0x100260[_0x267b75[_0x32b66d(0x582)]]])];}));_0x4136d5(_0x2c0375,_0x2a7adf?(_0x278279,_0x12c7a2)=>_0x2a7adf[_0x588ad5(0x2fa)](_0x12c7a2)||_0x4f80e1[_0x588ad5(0x2fa)](JSON[_0x588ad5(0x40a)]([_0x278279,_0x12c7a2])):void 0x0);});},{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]}),_0x4a32e5(_0x57513f,_0x30c7de),_0x57513f);}[_0x36f63a(0x3ad)](_0x1fd8bc,_0x34df30){const _0x1989d1=_0x36f63a;return _0x26cf17[_0x1989d1(0x2a4)][_0x1989d1(0x5d6)][_0x1989d1(0x523)](_0x34df30,_0x1fd8bc);}[_0x36f63a(0x2b7)](_0x371091){const _0x12faa3=_0x36f63a;let _0x2bf054=_0x30131f(_0x371091);return _0x2bf054[_0x12faa3(0x4cd)]?_0x498cf1(_0x2bf054[_0x12faa3(0x35a)](_0x2bf4df=>this[_0x12faa3(0x2b7)](_0x2bf4df))):_0x280483(_0x371091);}['_getTablesToNormalize'](_0x500511,_0x489183){const _0x176340=_0x36f63a;let _0x4300df=_0x489183[_0x176340(0x46a)](_0x3cf312=>_0x3cf312[_0x176340(0x560)]!==_0x176340(0x602));return _0x4300df[_0x176340(0x4cd)]?_0x4300df[_0x176340(0x2c3)](_0x113815=>!_0x113815['tableId'])?Object[_0x176340(0x20f)](_0x500511[_0x176340(0x594)]??{}):Array[_0x176340(0x356)](new Set(_0x4300df[_0x176340(0x4a5)](_0x10edb3=>_0x10edb3[_0x176340(0x353)])))['flatMap'](_0x2fd0a3=>{const _0x255036=_0x176340;var _0x3da35c;let _0x121725=(_0x3da35c=_0x500511[_0x255036(0x594)])==null?void 0x0:_0x3da35c[_0x2fd0a3];return _0x121725?[_0x121725]:[];}):[];}};function _0x5de495(_0x33849f){const _0x559a90=_0x36f63a;let _0x4e2545=_0x33849f[_0x559a90(0x327)];return _0x33849f['id']!==_0x559a90(0x2c5)||typeof _0x4e2545!=_0x559a90(0x3e4)||!_0x4e2545||!(_0x559a90(0x41e)in _0x4e2545)||typeof _0x4e2545[_0x559a90(0x41e)]!=_0x559a90(0x4c8)||!('op'in _0x4e2545)||!Array[_0x559a90(0x2c4)](_0x4e2545['op'])?null:{'unitId':_0x4e2545['unitId'],'op':_0x4e2545['op']};}function _0x2b2aae(_0x4be346,_0x3ed4ee){const _0x38a166=_0x36f63a;if(!_0x3ed4ee[_0x38a166(0x4cd)]||_0x3ed4ee[_0x38a166(0x2c3)](_0x10ddf1=>_0x10ddf1[_0x38a166(0x560)]!==_0x38a166(0x49d)))return!0x1;let _0x4d7a1e=new Map();for(let _0x5e3a2b of _0x3ed4ee){if(!_0x5e3a2b[_0x38a166(0x353)]||_0x5e3a2b[_0x38a166(0x5dd)]==null||_0x5e3a2b['column']==null)continue;let _0x4ec8e6=_0x4d7a1e['get'](_0x5e3a2b['tableId'])??[];_0x4ec8e6[_0x38a166(0x605)]({'row':_0x5e3a2b['row'],'col':_0x5e3a2b['column']}),_0x4d7a1e[_0x38a166(0x4a9)](_0x5e3a2b[_0x38a166(0x353)],_0x4ec8e6);}return _0x4d7a1e[_0x38a166(0x1bf)]((_0x250b48,_0x495112)=>{const _0x843795=_0x38a166;var _0x5d664a;let _0xc39fed=(_0x5d664a=_0x4be346[_0x843795(0x594)])==null?void 0x0:_0x5d664a[_0x495112];_0xc39fed&&_0xbbc2dc(_0xc39fed,_0x250b48);}),!0x0;}function _0x1802ff(_0x336ef3,_0x552206){let _0x32589e=new Set();return _0x552206['flatMap'](_0x1186f9=>{const _0xd76c27=_0x45c5;var _0x22276e;if(!_0x1186f9[_0xd76c27(0x353)]||!_0x1186f9[_0xd76c27(0x571)]||!_0x1186f9['fieldId'])return[];let _0x2333be=_0x1186f9[_0xd76c27(0x353)]+'\x1f'+_0x1186f9[_0xd76c27(0x571)]+'\x1f'+_0x1186f9[_0xd76c27(0x39c)];if(_0x32589e[_0xd76c27(0x2fa)](_0x2333be))return[];_0x32589e[_0xd76c27(0x1ce)](_0x2333be);let _0x5b9163=(_0x22276e=_0x336ef3[_0xd76c27(0x594)][_0x1186f9[_0xd76c27(0x353)]])==null||(_0x22276e=_0x22276e[_0xd76c27(0x4c9)][_0x1186f9[_0xd76c27(0x571)]])==null?void 0x0:_0x22276e['values'];return _0x5b9163?[{'tableId':_0x1186f9[_0xd76c27(0x353)],'recordId':_0x1186f9[_0xd76c27(0x571)],'fieldId':_0x1186f9[_0xd76c27(0x39c)],'exists':Object['prototype'][_0xd76c27(0x4ea)][_0xd76c27(0x5b6)](_0x5b9163,_0x1186f9[_0xd76c27(0x39c)]),'value':_0x5b9163[_0x1186f9[_0xd76c27(0x39c)]]}]:[];});}function _0x4a32e5(_0x3422b5,_0x28d31c){const _0x59dbe4=_0x36f63a;_0x28d31c[_0x59dbe4(0x1bf)](_0x3b3f03=>{const _0x1de2e0=_0x59dbe4;var _0x2621b3;let _0x4d637d=(_0x2621b3=_0x3422b5[_0x1de2e0(0x594)][_0x3b3f03[_0x1de2e0(0x353)]])==null||(_0x2621b3=_0x2621b3[_0x1de2e0(0x4c9)][_0x3b3f03[_0x1de2e0(0x571)]])==null?void 0x0:_0x2621b3[_0x1de2e0(0x20f)];_0x4d637d&&(_0x3b3f03[_0x1de2e0(0x46f)]?_0x4d637d[_0x3b3f03[_0x1de2e0(0x39c)]]=_0x3b3f03[_0x1de2e0(0x5a4)]:delete _0x4d637d[_0x3b3f03['fieldId']]);});}function _0x280483(_0x345db5){const _0xc6b3fc=_0x36f63a;if(!Array[_0xc6b3fc(0x2c4)](_0x345db5)||_0x345db5[_0xc6b3fc(0x4cd)]<0x2)return[{'tableId':'','reason':_0xc6b3fc(0x1e1)}];let _0x556d74=_0x345db5,_0x1bc9f8=_0x556d74[_0xc6b3fc(0x499)](_0xc6b3fc(0x594));return _0x1bc9f8===-0x1||typeof _0x556d74[_0x1bc9f8+0x1]!=_0xc6b3fc(0x4c8)?_0x556d74[0x0]===_0xc6b3fc(0x260)?[]:[{'tableId':'','reason':_0xc6b3fc(0x1e1)}]:_0x7f847b(_0x556d74,_0x1bc9f8,String(_0x556d74[_0x1bc9f8+0x1]));}function _0x7f847b(_0x3ec67c,_0x3a098e,_0x6ad4e4){const _0x5cd045=_0x36f63a;let _0x2b42ca=_0x3ec67c[_0x3a098e+0x2];return _0x2b42ca===_0x5cd045(0x4c9)&&typeof _0x3ec67c[_0x3a098e+0x3]==_0x5cd045(0x4c8)?_0x1b28e5(_0x3ec67c,_0x3a098e,_0x6ad4e4,String(_0x3ec67c[_0x3a098e+0x3])):_0x2b42ca===_0x5cd045(0x61f)&&_0x3ec67c[_0x3a098e+0x3]!=null&&_0x3ec67c[_0x3a098e+0x4]!=null?[{'tableId':_0x6ad4e4,'reason':'cell','row':Number(_0x3ec67c[_0x3a098e+0x3]),'column':Number(_0x3ec67c[_0x3a098e+0x4])}]:_0x2b42ca==='fields'&&typeof _0x3ec67c[_0x3a098e+0x3]=='string'?[{'tableId':_0x6ad4e4,'reason':'field','fieldId':String(_0x3ec67c[_0x3a098e+0x3])}]:_0x2b42ca==='fieldOrder'?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x5f1)}]:_0x2b42ca===_0x5cd045(0x2ba)?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x1b5)}]:_0x2b42ca===_0x5cd045(0x3d8)&&typeof _0x3ec67c[_0x3a098e+0x3]==_0x5cd045(0x4c8)?[{'tableId':_0x6ad4e4,'reason':'view','viewId':String(_0x3ec67c[_0x3a098e+0x3])}]:_0x2b42ca===_0x5cd045(0x226)?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x602)}]:_0x2b42ca===_0x5cd045(0x26a)?[{'tableId':_0x6ad4e4,'reason':'cell'}]:[{'tableId':_0x6ad4e4,'reason':_0x2b42ca===void 0x0?_0x5cd045(0x551):_0x5cd045(0x1e1)}];}function _0x1b28e5(_0x1da8fb,_0x1826a3,_0x6361ad,_0x372685){const _0x40cb3f=_0x36f63a;return _0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x20f)&&typeof _0x1da8fb[_0x1826a3+0x5]=='string'?[{'tableId':_0x6361ad,'reason':_0x40cb3f(0x49d),'recordId':_0x372685,'fieldId':String(_0x1da8fb[_0x1826a3+0x5])}]:_0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x38f)||_0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x24d)?[]:[{'tableId':_0x6361ad,'reason':_0x40cb3f(0x1b5),'recordId':_0x372685}];}function _0x30131f(_0x5b102d){const _0x348c82=_0x36f63a;if(!Array[_0x348c82(0x2c4)](_0x5b102d))return[];let _0x56fcd0=_0x5b102d[_0x348c82(0x46a)](Array[_0x348c82(0x2c4)]);if(_0x56fcd0[_0x348c82(0x4cd)]>0x1&&_0x56fcd0[_0x348c82(0x4cd)]===_0x5b102d['length'])return _0x56fcd0;let _0x331528=_0x5b102d[_0x348c82(0x20e)](Array[_0x348c82(0x2c4)]);if(_0x331528>0x0&&_0x5b102d[_0x348c82(0x24f)](_0x331528)[_0x348c82(0x308)](Array[_0x348c82(0x2c4)])){let _0x57388b=_0x5b102d[_0x348c82(0x24f)](0x0,_0x331528);return _0x5b102d[_0x348c82(0x24f)](_0x331528)[_0x348c82(0x4a5)](_0x1312a4=>[..._0x57388b,..._0x1312a4]);}let _0x118e81=_0x5b102d['indexOf'](_0x348c82(0x594));if(_0x118e81===-0x1||typeof _0x5b102d[_0x118e81+0x1]!='string')return[];let _0x1200e5=String(_0x5b102d[_0x118e81+0x1]),_0x48844e=_0x5b102d[_0x348c82(0x24f)](_0x118e81+0x2)[_0x348c82(0x46a)](Array['isArray']);return _0x48844e[_0x348c82(0x4cd)]<=0x1?[]:_0x48844e[_0x348c82(0x4a5)](_0x216cdc=>[_0x348c82(0x594),_0x1200e5,..._0x216cdc]);}function _0x498cf1(_0x377253){const _0x5cc2be=_0x36f63a;let _0x451f07=new Set();return _0x377253[_0x5cc2be(0x46a)](_0x1b7637=>{const _0x36602e=_0x5cc2be;let _0x453459=JSON[_0x36602e(0x40a)](_0x1b7637);return!_0x451f07[_0x36602e(0x2fa)](_0x453459)&&(_0x451f07[_0x36602e(0x1ce)](_0x453459),!0x0);});}function _0x52d3e8(_0x1a9d71){const _0x3193a7=_0x36f63a;return _0x26cf17['Tools'][_0x3193a7(0x269)](_0x1a9d71);}function _0x41d627(_0x236723,_0x255568){const _0x4097d1=_0x36f63a;let _0x24c908=_0x47cc81(_0x255568);if(!_0x24c908[_0x4097d1(0x4cd)])return _0x52d3e8(_0x236723);let _0x18131e=_0x19696b(_0x236723),_0xcc4908=new Set();for(let _0x462896 of _0x24c908)_0x386856(_0x18131e,_0x462896,_0xcc4908);return _0x18131e;}function _0x47cc81(_0x377027){let _0x478976=[];return _0x3c6ef6(_0x377027,[],_0x478976),_0x478976;}function _0x3c6ef6(_0x19511b,_0x36dc16,_0x2424e2){const _0x59082e=_0x36f63a;if(!Array[_0x59082e(0x2c4)](_0x19511b))return;let _0x5d266e=[];for(let _0x857163 of _0x19511b)Array[_0x59082e(0x2c4)](_0x857163)?_0x3c6ef6(_0x857163,[..._0x36dc16,..._0x5d266e],_0x2424e2):_0x1d14e8(_0x857163)?_0x2424e2[_0x59082e(0x605)]([..._0x36dc16,..._0x5d266e]):(typeof _0x857163==_0x59082e(0x4c8)||typeof _0x857163=='number')&&_0x5d266e[_0x59082e(0x605)](_0x857163);}function _0x1d14e8(_0x551a0d){const _0xc13e75=_0x36f63a;if(!_0x551a0d||typeof _0x551a0d!=_0xc13e75(0x3e4)||Array[_0xc13e75(0x2c4)](_0x551a0d))return!0x1;let _0x55aaf4=_0x551a0d;return'i'in _0x55aaf4||'r'in _0x55aaf4||'p'in _0x55aaf4||'d'in _0x55aaf4||'es'in _0x55aaf4||_0xc13e75(0x42a)in _0x55aaf4||'et'in _0x55aaf4;}function _0x386856(_0x55df01,_0x5597ee,_0x37090b){const _0x196ae3=_0x36f63a;let _0x48e7b7=_0x55df01,_0x471a07=[];for(let _0x27275c=0x0;_0x27275c<_0x5597ee[_0x196ae3(0x4cd)]-0x1;_0x27275c++){let _0x341ef4=_0x5597ee[_0x27275c];_0x471a07[_0x196ae3(0x605)](_0x341ef4);let _0x49dd1d=_0x26df21(_0x48e7b7,_0x341ef4);if(!_0x3b1ab8(_0x49dd1d))return;let _0x2996f1=JSON['stringify'](_0x471a07);_0x37090b[_0x196ae3(0x2fa)](_0x2996f1)||(_0x504f9d(_0x48e7b7,_0x341ef4,_0x19696b(_0x49dd1d)),_0x37090b[_0x196ae3(0x1ce)](_0x2996f1));let _0x40a7f2=_0x26df21(_0x48e7b7,_0x341ef4);if(!_0x3b1ab8(_0x40a7f2))return;_0x48e7b7=_0x40a7f2;}}function _0x26df21(_0x5e678a,_0x207e6a){const _0x37edd9=_0x36f63a;return Array[_0x37edd9(0x2c4)](_0x5e678a)?typeof _0x207e6a=='number'?_0x5e678a[_0x207e6a]:void 0x0:Reflect[_0x37edd9(0x558)](_0x5e678a,_0x207e6a);}function _0x504f9d(_0x5cb58b,_0x260f01,_0x6078de){const _0x2fa137=_0x36f63a;Array['isArray'](_0x5cb58b)?typeof _0x260f01=='number'&&(_0x5cb58b[_0x260f01]=_0x6078de):Reflect[_0x2fa137(0x4a9)](_0x5cb58b,_0x260f01,_0x6078de);}function _0x3b1ab8(_0x24ea8f){const _0x62777c=_0x36f63a;return!!_0x24ea8f&&typeof _0x24ea8f==_0x62777c(0x3e4);}function _0x19696b(_0x99f49){const _0xf87159=_0x36f63a;return Array[_0xf87159(0x2c4)](_0x99f49)?_0x99f49['slice']():{..._0x99f49};}let _0x1dded8=_0x36f63a(0x37a),_0x458283=/\s+hh:mm\s*$/i,_0x38a511={'yyyy/mm/dd':_0x36f63a(0x48b),'yyyy-mm-dd':_0x36f63a(0x336),'mm-dd':_0x36f63a(0x5f2),'mm/dd/yyyy':_0x36f63a(0x495),'dd/mm/yyyy':_0x36f63a(0x5fe),'mmm\x20d,\x20yyyy':_0x36f63a(0x311)};function _0x3815fa(_0x5d5a3e,_0x2ea1e3=_0x26cf17[_0x36f63a(0x30c)][_0x36f63a(0x5b7)]){const _0x53b6cf=_0x36f63a;let _0x182cd8=(0x0,_0x26cf17[_0x53b6cf(0x593)])(_0x5d5a3e)[_0x53b6cf(0x32f)]();return(0x0,_0x26cf17['excelDateTimeSerial'])(new Date(_0x182cd8),_0x2ea1e3);}function _0x694e27(_0xfbfb1e,_0x102b28=_0x26cf17[_0x36f63a(0x30c)][_0x36f63a(0x5b7)]){const _0x5741ad=_0x36f63a;return(0x0,_0x26cf17[_0x5741ad(0x1fb)])(_0xfbfb1e,_0x102b28)[_0x5741ad(0x578)]();}function _0x141f6f(_0x24bbf1,_0x409a8c=_0x26cf17['DateSystem'][_0x36f63a(0x5b7)]){const _0x5d5be3=_0x36f63a;if(_0x24bbf1==null||_0x24bbf1==='')return null;if(_0x24bbf1 instanceof Date)return _0x3815fa(_0x24bbf1,_0x409a8c);if(typeof _0x24bbf1=='number')return Number['isFinite'](_0x24bbf1)?_0x24bbf1>0xf4240?_0x3815fa(_0x24bbf1,_0x409a8c):_0x24bbf1:null;let _0x1fe829=Date[_0x5d5be3(0x394)](String(_0x24bbf1));return Number['isNaN'](_0x1fe829)?null:_0x3815fa(_0x1fe829,_0x409a8c);}function _0x134f0b(_0x2a8b12,_0x49a617=_0x26cf17['DateSystem'][_0x36f63a(0x5b7)]){let _0x401a88=_0x141f6f(_0x2a8b12,_0x49a617);return _0x401a88==null?null:_0x694e27(_0x401a88,_0x49a617);}function _0x1d2879(_0x2752fa={}){const _0x248e70=_0x36f63a;let _0x311319=String(_0x2752fa[_0x248e70(0x3f1)]??_0x2752fa[_0x248e70(0x5da)]??_0x2752fa[_0x248e70(0x2d7)]??_0x1dded8)[_0x248e70(0x3ce)]()||_0x1dded8,_0x1a49a1=_0x458283[_0x248e70(0x484)](_0x311319);return{'pattern':_0x311319[_0x248e70(0x2ed)](_0x458283,'')||_0x1dded8,'includeTime':typeof _0x2752fa[_0x248e70(0x3d4)]==_0x248e70(0x49e)?_0x2752fa[_0x248e70(0x3d4)]:_0x1a49a1,'hourCycle':_0x2752fa[_0x248e70(0x32a)]===_0x248e70(0x3df)?_0x248e70(0x3df):_0x248e70(0x416)};}function _0x4ee288(_0x1efa97={}){let {format:_0x42b7d7,dateFormat:_0x4ec321,..._0x2a0954}=_0x1efa97;return{..._0x2a0954,..._0x1d2879(_0x1efa97)};}function _0x44d5ce(_0x10df3a,_0x2ed622={}){const _0x303047=_0x36f63a;let _0x40a876=_0x134f0b(_0x10df3a);if(_0x40a876==null||!Number['isFinite'](_0x40a876))return'';let _0x524878=_0x1d2879(_0x2ed622);return(0x0,_0x26cf17['dateKit'])(_0x40a876)[_0x303047(0x5da)](_0x136111(_0x524878));}function _0x136111(_0xb39894){const _0x5e9a09=_0x36f63a;let {pattern:_0x451e49,includeTime:_0x1c906a,hourCycle:_0x436095}=_0xb39894,_0x551fea=_0x38a511[_0x451e49]??_0x38a511[_0x1dded8];return _0x1c906a?_0x551fea+'\x20'+(_0x436095===_0x5e9a09(0x3df)?_0x5e9a09(0x21e):'HH:mm'):_0x551fea;}let _0x8f7e57={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x5dc9a9=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4b5)]]);function _0x175c6c(_0xda5847){const _0x5e8f47=_0x36f63a;switch(_0xda5847){case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x1ab)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x4b6)]:case _0x26cf17['BaseFieldType']['Progress']:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x372)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x56e)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x376)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x431)],_0x26cf17['BaseConditionalColorOperator']['IS_EMPTY'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];case _0x26cf17['BaseFieldType'][_0x5e8f47(0x1be)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x230)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x217)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x56e)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x2bb)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x502)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x2ae)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];case _0x26cf17['BaseFieldType'][_0x5e8f47(0x428)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17[_0x5e8f47(0x218)]['IS_NOT']];default:return[_0x26cf17['BaseConditionalColorOperator']['IS'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x56e)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x505)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x511)],_0x26cf17['BaseConditionalColorOperator']['IS_EMPTY'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];}}function _0x35496(_0x1e0d37){const _0x984dde=_0x36f63a;return _0x1e0d37===_0x26cf17[_0x984dde(0x22d)]['Date']||_0x1e0d37===_0x26cf17[_0x984dde(0x22d)]['CreatedAt']||_0x1e0d37===_0x26cf17['BaseFieldType'][_0x984dde(0x217)];}function _0x6a7e7(_0x1ab321,_0x35412b){const _0x20c289=_0x36f63a;return _0x1ab321==null&&_0x35412b==null?0x0:_0x1ab321==null?-0x1:_0x35412b==null?0x1:typeof _0x1ab321==_0x20c289(0x5ac)&&typeof _0x35412b==_0x20c289(0x5ac)?_0x1ab321-_0x35412b:String(_0x1ab321)[_0x20c289(0x4ed)](String(_0x35412b));}function _0x300f16(_0x2b5b40,_0x9c60af,_0x51bb44,_0x1e55ca,_0x2f78a6={}){const _0x48ced4=_0x36f63a;if(_0x9c60af===_0x48ced4(0x488))return _0x527442(_0x2b5b40);if(_0x9c60af===_0x48ced4(0x4ec))return!_0x527442(_0x2b5b40);switch(_0x1e55ca['type']){case _0x26cf17[_0x48ced4(0x22d)]['Number']:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x4b6)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x3cf)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x372)]:return _0x3ad306(_0x2b5b40,_0x9c60af,_0x51bb44);case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x1be)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x230)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x217)]:return _0x338902(_0x2b5b40,_0x9c60af,_0x51bb44,_0x2f78a6);case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x428)]:return _0x358893(_0x2b5b40,_0x9c60af,_0x51bb44);case _0x26cf17[_0x48ced4(0x22d)]['SingleSelect']:case _0x26cf17['BaseFieldType'][_0x48ced4(0x36d)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x386)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x4ef)]:return _0x4223d5(_0x2b5b40,_0x9c60af,_0x51bb44,_0x1e55ca);default:return _0x28a3f3(_0x2b5b40,_0x9c60af,_0x51bb44);}}function _0x527442(_0x49728e){const _0x21bbf1=_0x36f63a;return _0x49728e==null?!0x0:Array[_0x21bbf1(0x2c4)](_0x49728e)?_0x49728e[_0x21bbf1(0x4cd)]===0x0:typeof _0x49728e==_0x21bbf1(0x4c8)&&_0x49728e[_0x21bbf1(0x3ce)]()==='';}function _0x3ad306(_0x3c9b85,_0x3a4b65,_0x51bd3d){const _0x5133cf=_0x36f63a;let _0x1a372e=_0x5e9e61(_0x3c9b85),_0x489635=_0x5e9e61(_0x51bd3d);if(_0x1a372e==null||_0x489635==null)return!0x1;switch(_0x3a4b65){case'is':return _0x1a372e===_0x489635;case'isNot':return _0x1a372e!==_0x489635;case _0x5133cf(0x2fc):return _0x1a372e>_0x489635;case _0x5133cf(0x1df):return _0x1a372e>=_0x489635;case _0x5133cf(0x429):return _0x1a372e<_0x489635;case _0x5133cf(0x363):return _0x1a372e<=_0x489635;default:return!0x1;}}function _0x5e9e61(_0x1b98e2){if(_0x1b98e2==null||_0x1b98e2==='')return null;let _0x38a119=Number(_0x1b98e2);return Number['isFinite'](_0x38a119)?_0x38a119:null;}function _0x338902(_0x1ceefb,_0x3d98ff,_0x1a74a7,_0x3af6f9){const _0x4f6792=_0x36f63a;let _0x1aedbf=_0x3fa497(_0x1ceefb);if(_0x1aedbf==null)return!0x1;let _0x5be220=_0x38d1a1(_0x3af6f9[_0x4f6792(0x293)]??_0x26cf17[_0x4f6792(0x5dc)][_0x4f6792(0x273)],_0x1a74a7,_0x3af6f9[_0x4f6792(0x5c9)]);if(!_0x5be220)return!0x1;switch(_0x3d98ff){case _0x26cf17[_0x4f6792(0x218)]['IS']:return _0x1aedbf>=_0x5be220[_0x4f6792(0x22c)]&&_0x1aedbf<=_0x5be220['end'];case _0x26cf17['BaseConditionalColorOperator'][_0x4f6792(0x56e)]:return _0x1aedbf<_0x5be220[_0x4f6792(0x22c)]||_0x1aedbf>_0x5be220[_0x4f6792(0x402)];case _0x26cf17[_0x4f6792(0x218)][_0x4f6792(0x2bb)]:return _0x1aedbf<_0x5be220[_0x4f6792(0x22c)];case _0x26cf17[_0x4f6792(0x218)][_0x4f6792(0x502)]:return _0x1aedbf>_0x5be220[_0x4f6792(0x402)];default:return!0x1;}}function _0x38d1a1(_0x35ca95,_0x236e90,_0x57d6d=Date[_0x36f63a(0x5c9)]()){const _0x135c12=_0x36f63a;let _0x97150b=_0x2132f1(_0x57d6d);switch(_0x35ca95){case _0x26cf17[_0x135c12(0x5dc)]['EXACT']:{let _0x3c566e=_0x3fa497(_0x236e90);return _0x3c566e==null?null:_0x3734e0(_0x3c566e,0x0,0x1);}case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x1ed)]:return _0x3734e0(_0x97150b,0x0,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x208)]:return _0x3734e0(_0x97150b,0x1,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x401)]:return _0x3734e0(_0x97150b,-0x1,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x1c5)]:return _0x15ecf3(_0x97150b,0x0);case _0x26cf17[_0x135c12(0x5dc)]['LAST_WEEK']:return _0x15ecf3(_0x97150b,-0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x56b)]:return _0x2e5f3f(_0x97150b,0x0);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x314)]:return _0x2e5f3f(_0x97150b,-0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x430)]:return _0x3734e0(_0x97150b,-0x6,0x7);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x34a)]:return _0x3734e0(_0x97150b,0x0,0x7);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x3bb)]:return _0x3734e0(_0x97150b,-0x1d,0x1e);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x4d6)]:return _0x3734e0(_0x97150b,0x0,0x1e);}}function _0x3fa497(_0x6ba0f0){let _0x578955=_0x141f6f(_0x6ba0f0);return _0x578955==null?null:_0x2132f1(_0x694e27(_0x578955));}function _0x2132f1(_0x4a5265){const _0x523ad4=_0x36f63a;let _0x4eb5b7=new Date(_0x4a5265);return _0x4eb5b7[_0x523ad4(0x515)](0x0,0x0,0x0,0x0),_0x4eb5b7[_0x523ad4(0x578)]();}function _0x15ecf3(_0x4c89a8,_0x3aa143){const _0x403dd3=_0x36f63a;return _0x3734e0(_0x4c89a8,-((new Date(_0x4c89a8)[_0x403dd3(0x4b8)]()+0x6)%0x7)+_0x3aa143*0x7,0x7);}function _0x3734e0(_0x2e2272,_0x311bb2,_0x2adcb2){const _0x1a09b5=_0x36f63a;let _0x48b6fb=(0x0,_0x26cf17[_0x1a09b5(0x593)])(_0x2e2272)[_0x1a09b5(0x1ce)](_0x311bb2,'day');return{'start':_0x48b6fb[_0x1a09b5(0x32f)](),'end':_0x48b6fb[_0x1a09b5(0x1ce)](_0x2adcb2,'day')[_0x1a09b5(0x32f)]()-0x1};}function _0x2e5f3f(_0x41e166,_0x3480ca){const _0x294946=_0x36f63a;let _0x55e70d=new Date(_0x41e166),_0x4bb460=new Date(_0x55e70d[_0x294946(0x4ee)](),_0x55e70d[_0x294946(0x3c3)]()+_0x3480ca,0x1),_0x4f07c0=new Date(_0x55e70d[_0x294946(0x4ee)](),_0x55e70d[_0x294946(0x3c3)]()+_0x3480ca+0x1,0x1);return{'start':_0x4bb460[_0x294946(0x578)](),'end':_0x4f07c0[_0x294946(0x578)]()-0x1};}function _0x358893(_0x598cd3,_0xd8bcd6,_0x31c5f5){const _0x40d0a9=_0x36f63a;let _0x128826=_0x5d4472(_0x598cd3),_0xbc4abe=_0x5d4472(_0x31c5f5);switch(_0xd8bcd6){case'is':return _0x128826===_0xbc4abe;case _0x40d0a9(0x43b):return _0x128826!==_0xbc4abe;default:return!0x1;}}function _0x5d4472(_0x165587){const _0x314162=_0x36f63a;return _0x165587===!0x0||_0x165587===_0x314162(0x4f4)||_0x165587===0x1||_0x165587==='1';}function _0x4223d5(_0x34665a,_0x6c91bf,_0x48fbed,_0x3612cf){const _0x35f3d3=_0x36f63a;let _0x15519a=_0x1dfd10(_0x34665a,_0x3612cf),_0x109ebb=_0x1dfd10(_0x48fbed,_0x3612cf),_0x28f605=_0x109ebb['length']>0x0&&_0x109ebb[_0x35f3d3(0x2c3)](_0x4865f1=>_0x15519a['includes'](_0x4865f1));switch(_0x6c91bf){case'is':case'contains':return _0x28f605;case'isNot':case _0x35f3d3(0x1a1):return!_0x28f605;default:return!0x1;}}function _0x28a3f3(_0x379821,_0x243a3c,_0x4a43c8){const _0xf13499=_0x36f63a;let _0x34a394=_0x55d267(_0x379821),_0x2acc99=_0x55d267(_0x4a43c8);switch(_0x243a3c){case'is':return _0x34a394===_0x2acc99;case'isNot':return _0x34a394!==_0x2acc99;case _0xf13499(0x5a6):return _0x2acc99?_0x34a394[_0xf13499(0x358)](_0x2acc99):!0x1;case'notContains':return!_0x2acc99||!_0x34a394[_0xf13499(0x358)](_0x2acc99);default:return!0x1;}}function _0x55d267(_0x1cc9a3){const _0x45405f=_0x36f63a;if(Array[_0x45405f(0x2c4)](_0x1cc9a3))return _0x1cc9a3[_0x45405f(0x4a5)](_0x55f8f4=>_0x55d267(_0x55f8f4))[_0x45405f(0x241)]('\x0a');if(_0x1cc9a3&&typeof _0x1cc9a3==_0x45405f(0x3e4)){let _0x195404=_0x1cc9a3;return String(_0x195404[_0x45405f(0x3f8)]??_0x195404[_0x45405f(0x496)]??_0x195404[_0x45405f(0x1c8)]??_0x195404[_0x45405f(0x5a4)]??_0x195404['id']??'')['trim']()['toLowerCase']();}return String(_0x1cc9a3??'')[_0x45405f(0x3ce)]()[_0x45405f(0x1fd)]();}function _0x1dfd10(_0x52cc8d,_0x24f1f8){const _0x7a2152=_0x36f63a;let _0x2d39fe=_0x1bef16(_0x52cc8d),_0x15f86b=_0x492506(_0x24f1f8['config']??{});return _0x2d39fe[_0x7a2152(0x35a)](_0x408a65=>_0x15f86b[_0x7a2152(0x558)](_0x408a65)??[_0x408a65])['filter']((_0x8e674c,_0x3de75c,_0x2af452)=>_0x8e674c!==''&&_0x2af452['indexOf'](_0x8e674c)===_0x3de75c);}function _0x1bef16(_0x42adb2){const _0x8751b=_0x36f63a;if(_0x42adb2==null||_0x42adb2==='')return[];if(Array['isArray'](_0x42adb2))return _0x42adb2[_0x8751b(0x35a)](_0x8f9d57=>_0x1bef16(_0x8f9d57));if(_0x42adb2&&typeof _0x42adb2==_0x8751b(0x3e4)){let _0x4bc3b6=_0x42adb2;return['id',_0x8751b(0x3f8),_0x8751b(0x496),_0x8751b(0x5a4),_0x8751b(0x1c8)]['flatMap'](_0xea03d9=>_0x1bef16(_0x4bc3b6[_0xea03d9]))['filter']((_0x25ae2d,_0x3ee522,_0x32503f)=>_0x32503f[_0x8751b(0x499)](_0x25ae2d)===_0x3ee522);}return[_0x55d267(_0x42adb2)];}function _0x492506(_0x25ce88){const _0x4061f5=_0x36f63a;let _0x403a9d=new Map();return(Array[_0x4061f5(0x2c4)](_0x25ce88[_0x4061f5(0x45b)])?_0x25ce88['options']:[])['forEach'](_0x24d140=>{const _0x5ab96c=_0x4061f5;if(!_0x24d140||typeof _0x24d140!=_0x5ab96c(0x3e4))return;let _0x43ae30=_0x1bef16(_0x24d140),_0x3693fc=_0x43ae30['filter']((_0x5546fb,_0x1fa721)=>_0x5546fb!==''&&_0x43ae30[_0x5ab96c(0x499)](_0x5546fb)===_0x1fa721);_0x3693fc[_0x5ab96c(0x1bf)](_0x10db46=>_0x403a9d[_0x5ab96c(0x4a9)](_0x10db46,_0x3693fc));}),_0x403a9d;}function _0x2046a7(_0x1d254d,_0x413e2a={},_0xc6e084=_0x402224=>_0x402224,_0xd8ec70={}){const _0x59baa3=_0x36f63a;let _0x4966f7=!_0x5dc9a9[_0x59baa3(0x2fa)](_0x1d254d),_0x1c9f2f=_0xc6e084??(_0x14e371=>_0x14e371);return{'type':_0x1d254d,'i18nKey':_0x59baa3(0x2cd)+_0x1d254d,'enabled':_0x4966f7,'visibleInCreateMenu':_0x4966f7,'createDefaultConfig':_0xd8ec70[_0x59baa3(0x2aa)]??(()=>({})),'createDefaultValue':_0xd8ec70[_0x59baa3(0x493)]??(_0x20d66f=>_0x20d66f[_0x59baa3(0x4e8)]??null),'normalize':(_0x11db8a,_0x1a8109)=>_0x1c9f2f(_0x11db8a,_0x1a8109),'validate':(_0x24035d,_0x5b7b86)=>{const _0x380438=_0x59baa3;var _0x2a6331;return _0x4966f7?((_0x2a6331=_0xd8ec70['validate'])==null?void 0x0:_0x2a6331[_0x380438(0x5b6)](_0xd8ec70,_0x24035d,_0x5b7b86))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x7011dd,_0x354953)=>_0x6a7e7(_0x7011dd,_0x354953),'filter':(_0x4f0d62,_0x5dcb3b,_0xe4e05b,_0x392e7f)=>_0x300f16(_0x4f0d62,_0x5dcb3b,_0xe4e05b,_0x392e7f),'toPlainText':_0xd8ec70['toPlainText']??(_0x289574=>_0x289574==null?'':String(_0x289574)),'fromPlainText':_0xd8ec70['fromPlainText']??(_0x8d3209=>_0x1c9f2f(_0x8d3209,{'id':'','name':'','type':_0x1d254d,'config':{}})),'getCapabilities':()=>({..._0x8f7e57,..._0x413e2a,'editable':_0x4966f7&&(_0x413e2a[_0x59baa3(0x586)]??_0x8f7e57[_0x59baa3(0x586)])})};}function _0x5f0176(){const _0x4f7597=_0x36f63a;return[_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x4f7597(0x370)}),'createDefaultValue':_0x1df05e=>_0x1df05e[_0x4f7597(0x4e8)]??''}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x537)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0xc56930=>_0xc56930==null||_0xc56930===''?null:String(_0xc56930),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4f7597(0x539)}})}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3477fc=>Array['isArray'](_0x3477fc)?_0x3477fc[_0x4f7597(0x4a5)](String):_0x3477fc==null?[]:[String(_0x3477fc)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4f7597(0x539)}}),'createDefaultValue':_0x32608e=>_0x32608e[_0x4f7597(0x4e8)]??[]}),_0x2046a7(_0x26cf17['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x2134a0,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0xe7d079}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x4ef)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3867e4,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x4f7597(0x58b)}),'createDefaultValue':_0x3663d6=>_0x3663d6['defaultValue']??[],'validate':_0x31601f}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x1be)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3ad5ef=>_0x141f6f(_0x3ad5ef),{'createDefaultConfig':()=>_0xba34eb(),'validate':_0x13e8ac}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x5899cd=>_0x5899cd==null?[]:Array[_0x4f7597(0x2c4)](_0x5899cd)?_0x5899cd:[_0x5899cd],{'createDefaultValue':_0x421bd9=>_0x421bd9[_0x4f7597(0x4e8)]??[]}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x1ab)],{},_0x397f8d=>_0x397f8d==null||_0x397f8d===''?null:Number(_0x397f8d),{'createDefaultConfig':()=>_0x22b006(),'validate':_0x5675fb}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x428)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45dfa0=>_0x45dfa0===!0x0||_0x45dfa0===_0x4f7597(0x4f4)||_0x45dfa0===0x1||_0x45dfa0==='1',{'createDefaultConfig':()=>({'icon':_0x4f7597(0x616),'color':_0x4f7597(0x37b)}),'createDefaultValue':_0x1e6360=>_0x1e6360[_0x4f7597(0x4e8)]??!0x1,'validate':_0x26af03=>typeof _0x26af03==_0x4f7597(0x49e)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4f7597(0x516)}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Link'],{'supportsRelation':!0x0},_0x5619a3,{'createDefaultConfig':()=>({'placeholder':_0x4f7597(0x4e3)}),'toPlainText':_0x53e61a=>_0x40b7e5(_0x53e61a),'fromPlainText':_0x179286=>_0x5619a3(_0x179286)}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x274)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x4f7597(0x561),'pattern':_0x4f7597(0x432)}}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x473)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x4f7597(0x553)}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x42c)],{'usableAsTitle':!0x0},_0x398704=>_0x398704==null?null:String(_0x398704)['trim'](),{'validate':_0x22358d=>_0x22358d==null||_0x22358d===''||/^\+?[0-9 ()-]{6,20}$/[_0x4f7597(0x484)](String(_0x22358d))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Email'],{'usableAsTitle':!0x0},_0x2d39f1=>_0x2d39f1==null?null:String(_0x2d39f1)[_0x4f7597(0x3ce)](),{'validate':_0xdd81c8=>_0xdd81c8==null||_0xdd81c8===''||_0x2716b9(String(_0xdd81c8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4f7597(0x514)}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x3cf)],{'usableAsGanttProgress':!0x0},_0x14b961=>_0x14b961==null||_0x14b961===''?null:Number(_0x14b961),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x4f7597(0x51c),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2dd768,_0x4f1384)=>_0x793dfd(_0x2dd768,_0x4f1384,_0x4f7597(0x3fa))}),_0x2046a7(_0x26cf17['BaseFieldType']['Currency'],{},_0x46998f=>_0x46998f==null||_0x46998f===''?null:Number(_0x46998f),{'createDefaultConfig':()=>({..._0x22b006(),'currencySymbol':'$'}),'validate':_0x5675fb}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x372)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x9719be=>_0x9719be==null||_0x9719be===''?null:Number(_0x9719be),{'createDefaultConfig':()=>({'icon':_0x4f7597(0x414),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x4c85a2,_0x2e84c2)=>_0x793dfd(_0x4c85a2,_0x2e84c2,_0x4f7597(0x588))}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x393)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x606009,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x5249df,_0x56bd2b)=>_0x31953c(_0x5249df,_0x56bd2b[_0x4f7597(0x4cc)][_0x4f7597(0x4d4)]===!0x0)}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x46e9e8=>_0x46e9e8==null?null:String(_0x46e9e8),{'createDefaultConfig':()=>({'provider':_0x4f7597(0x23d)}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x30b)],{'editable':!0x1,'groupable':!0x0},_0xeb3b5=>_0xeb3b5==null?null:String(_0xeb3b5),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x230)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1fa67d=>_0x141f6f(_0x1fa67d),{'createDefaultConfig':()=>_0xba34eb(),'createDefaultValue':()=>null,'validate':_0x13e8ac}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x217)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5d0be3=>_0x141f6f(_0x5d0be3),{'createDefaultConfig':()=>_0xba34eb(),'createDefaultValue':()=>null,'validate':_0x13e8ac})];}function _0x22b006(){const _0x38775a=_0x36f63a;return{'pattern':_0x38775a(0x1c6),'decimalPlaces':0x2,'separatorStyle':_0x38775a(0x222),'useThousands':!0x0,'abbreviation':_0x38775a(0x272),'allowNegative':!0x0};}function _0xba34eb(){const _0x590859=_0x36f63a;return{'locale':_0x590859(0x24e),'pattern':_0x590859(0x37a),'includeTime':!0x1,'hourCycle':_0x590859(0x416),'defaultMode':'none'};}function _0x3867e4(_0x40438f){const _0xfb1fe6=_0x36f63a;return _0x40438f==null||_0x40438f===''?[]:Array[_0xfb1fe6(0x2c4)](_0x40438f)?_0x40438f[_0xfb1fe6(0x4a5)](String):[String(_0x40438f)];}function _0x606009(_0x17f2c8){const _0x3e092c=_0x36f63a;return typeof _0x17f2c8==_0x3e092c(0x4c8)?_0x17f2c8:'';}function _0x2134a0(_0x45a946,_0x585d3a){const _0x538b8d=_0x36f63a;return _0x45a946==null||_0x45a946===''?_0x585d3a['config']['allowMultiple']===!0x0?[]:null:_0x585d3a[_0x538b8d(0x4cc)]['allowMultiple']===!0x0?Array[_0x538b8d(0x2c4)](_0x45a946)?_0x45a946[_0x538b8d(0x4a5)](String):[String(_0x45a946)]:Array[_0x538b8d(0x2c4)](_0x45a946)?String(_0x45a946[0x0]??'')||null:String(_0x45a946);}function _0xe7d079(_0xe1be1,_0x12f977){const _0x2a6475=_0x36f63a;return _0x12f977[_0x2a6475(0x4cc)][_0x2a6475(0x4a1)]===!0x0?_0x31601f(_0xe1be1):_0xe1be1==null||_0xe1be1===''||typeof _0xe1be1==_0x2a6475(0x4c8)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2a6475(0x3ac)};}function _0x31601f(_0x4cca78){const _0x3e9fe2=_0x36f63a;return _0x4cca78==null||Array[_0x3e9fe2(0x2c4)](_0x4cca78)&&_0x4cca78[_0x3e9fe2(0x308)](_0x3cb979=>typeof _0x3cb979=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3e9fe2(0x441)};}function _0x13e8ac(_0x142341){const _0x2acaaa=_0x36f63a;return _0x142341==null||typeof _0x142341==_0x2acaaa(0x5ac)&&Number[_0x2acaaa(0x26b)](_0x142341)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2acaaa(0x2fd)};}function _0x5675fb(_0x1d4d84,_0x3d9bcc){const _0x2f205f=_0x36f63a;return _0x1d4d84==null||_0x1d4d84===''?{'valid':!0x0}:typeof _0x1d4d84!=_0x2f205f(0x5ac)||!Number['isFinite'](_0x1d4d84)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x3d9bcc[_0x2f205f(0x4cc)]['allowNegative']===!0x1&&_0x1d4d84<0x0?{'valid':!0x1,'reason':_0x2f205f(0x27e)}:{'valid':!0x0};}function _0x793dfd(_0x282370,_0x3ba734,_0x440e2a){const _0x50efff=_0x36f63a;let _0x15fe8a=_0x5675fb(_0x282370,_0x3ba734);if(!_0x15fe8a[_0x50efff(0x50f)]||_0x282370==null||_0x282370==='')return _0x15fe8a;let _0x5966a4=Number(_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x275)]??_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x22c)]??0x0),_0x39c9ec=Number(_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x5a7)]??_0x3ba734['config'][_0x50efff(0x402)]??0x64),_0x5750a5=Number(_0x282370);return _0x5750a5>=_0x5966a4&&_0x5750a5<=_0x39c9ec?{'valid':!0x0}:{'valid':!0x1,'reason':_0x440e2a};}function _0x5619a3(_0x269c55){const _0x11ea54=_0x36f63a;if(_0x269c55==null||_0x269c55==='')return null;if(typeof _0x269c55==_0x11ea54(0x3e4)&&!Array[_0x11ea54(0x2c4)](_0x269c55)){let _0x5883e7=_0x269c55,_0x2fa986=typeof _0x5883e7[_0x11ea54(0x1c8)]==_0x11ea54(0x4c8)?_0x5883e7['text'][_0x11ea54(0x3ce)]():'',_0x1041d8=typeof _0x5883e7[_0x11ea54(0x3f2)]=='string'?_0x5883e7[_0x11ea54(0x3f2)]['trim']():'',_0x24331b=_0x50e24f(_0x1041d8||_0x2fa986);return _0x24331b?{'text':_0x2fa986||_0x1041d8||_0x24331b,'url':_0x24331b}:null;}let _0x1a6900=String(_0x269c55)['trim'](),_0x2f215a=_0x50e24f(_0x1a6900);return _0x2f215a?{'text':_0x1a6900,'url':_0x2f215a}:null;}function _0x40b7e5(_0x35d6e9){const _0x5a6d02=_0x36f63a;if(_0x35d6e9==null)return'';if(typeof _0x35d6e9==_0x5a6d02(0x3e4)&&!Array[_0x5a6d02(0x2c4)](_0x35d6e9)){let _0x583a2a=_0x35d6e9;return String(_0x583a2a[_0x5a6d02(0x1c8)]||_0x583a2a[_0x5a6d02(0x3f2)]||'');}return String(_0x35d6e9);}function _0x50e24f(_0x14ac43){const _0xb82060=_0x36f63a;let _0x661e3a=_0x14ac43['trim']();if(!_0x661e3a)return'';let _0x1ee874=/^[a-z][a-z\d+.-]*:/i[_0xb82060(0x484)](_0x661e3a)?_0x661e3a:_0x661e3a[_0xb82060(0x57d)]('//')?_0xb82060(0x480)+_0x661e3a:_0xb82060(0x290)+_0x661e3a;try{let _0x265a7a=new URL(_0x1ee874);return _0x265a7a[_0xb82060(0x4f3)]===_0xb82060(0x1a5)||_0x265a7a[_0xb82060(0x4f3)]===_0xb82060(0x480)?_0x265a7a[_0xb82060(0x506)]:'';}catch{return'';}}function _0x2716b9(_0x473ef0){const _0x237313=_0x36f63a;let _0x55bf98=_0x473ef0[_0x237313(0x499)]('@');if(_0x55bf98<=0x0||_0x55bf98!==_0x473ef0['lastIndexOf']('@'))return!0x1;let _0x9eb87f=_0x473ef0[_0x237313(0x24f)](_0x55bf98+0x1);return _0x9eb87f[_0x237313(0x358)]('.')&&!_0x473ef0[_0x237313(0x358)]('\x20')&&!_0x9eb87f[_0x237313(0x57d)]('.')&&!_0x9eb87f[_0x237313(0x50c)]('.');}let _0x1db9f2={'table':_0x193ffc=>[_0x36f63a(0x594),_0x193ffc],'field':(_0x333cbb,_0x3e55e7)=>[_0x36f63a(0x594),_0x333cbb,_0x36f63a(0x458),_0x3e55e7],'fieldOrder':(_0x10754f,_0x1ab863)=>[_0x36f63a(0x594),_0x10754f,_0x36f63a(0x1b2),_0x1ab863],'record':(_0x394b2d,_0x5a0e09)=>[_0x36f63a(0x594),_0x394b2d,_0x36f63a(0x4c9),_0x5a0e09],'cell':(_0x3b8ba2,_0x2feddd,_0x21538e)=>[_0x36f63a(0x594),_0x3b8ba2,_0x36f63a(0x4c9),_0x2feddd,_0x36f63a(0x20f),_0x21538e],'cellData':(_0x3a633c,_0x1092d7,_0x7d1bd8)=>[_0x36f63a(0x594),_0x3a633c,_0x36f63a(0x61f),String(_0x1092d7),String(_0x7d1bd8)],'attachmentSet':(_0x2587de,_0x25ec50)=>[_0x36f63a(0x594),_0x2587de,_0x36f63a(0x26a),'attachmentSets',_0x25ec50],'attachment':(_0x557e16,_0x4c9c87)=>[_0x36f63a(0x594),_0x557e16,_0x36f63a(0x26a),_0x36f63a(0x249),_0x4c9c87],'view':(_0xb0aa91,_0x2141dd)=>[_0x36f63a(0x594),_0xb0aa91,_0x36f63a(0x3d8),_0x2141dd],'viewFieldHidden':(_0x146541,_0x535374,_0x1d13c2)=>[_0x36f63a(0x594),_0x146541,_0x36f63a(0x3d8),_0x535374,_0x36f63a(0x47f),_0x1d13c2,'hidden']};var _0x3c2e91=class{[_0x36f63a(0x3fd)](_0x4bb497,_0x1fb714){const _0x4ad71a=_0x36f63a;let _0x4fea37=this[_0x4ad71a(0x450)](_0x4bb497,_0x4bb497['name'],_0x1fb714);return _0x396f18([this['_replaceOptional']([_0x4ad71a(0x3f8)],_0x4bb497[_0x4ad71a(0x3f8)],_0x1fb714),..._0x4fea37?[_0x4fea37]:[]]);}[_0x36f63a(0x450)](_0xf5d9b5,_0x4b3cf3,_0x1c3f17){const _0x15c488=_0x36f63a;let _0xc0e1d0=Object['values'](_0xf5d9b5[_0x15c488(0x594)])[_0x15c488(0x35a)](_0x36ba9a=>Object[_0x15c488(0x20f)](_0x36ba9a[_0x15c488(0x458)])['flatMap'](_0x42223a=>{const _0x3733da=_0x15c488;var _0x132665,_0xf84c85;if(_0x42223a[_0x3733da(0x5d6)]!==_0x26cf17[_0x3733da(0x22d)][_0x3733da(0x274)])return[];let _0x4310d8=String(((_0x132665=_0x42223a[_0x3733da(0x4cc)])==null?void 0x0:_0x132665[_0x3733da(0x5c4)])??''),_0x34cb18=(0x0,_0x386470[_0x3733da(0x5fa)])(_0x4310d8,_0x4b3cf3,_0x1c3f17);return _0x34cb18===_0x4310d8?[]:[this['_replaceOptional']([..._0x1db9f2[_0x3733da(0x5f1)](_0x36ba9a['id'],_0x42223a['id']),_0x3733da(0x4cc),_0x3733da(0x5c4)],(_0xf84c85=_0x42223a[_0x3733da(0x4cc)])==null?void 0x0:_0xf84c85[_0x3733da(0x5c4)],_0x34cb18)];}));return _0xc0e1d0['length']>0x0?_0x396f18(_0xc0e1d0):void 0x0;}[_0x36f63a(0x4af)](_0x52ded9,_0x58d93f,_0x23b324=_0x52ded9[_0x36f63a(0x260)][_0x36f63a(0x4cd)]){const _0xbe4eb=_0x36f63a;let _0x154755=(0x0,_0x26cf17[_0xbe4eb(0x305)])(_0x58d93f[_0xbe4eb(0x3f8)],(0x0,_0x26cf17[_0xbe4eb(0x528)])(_0x52ded9)[_0xbe4eb(0x20f)](),_0x58d93f['formulaName']),_0x259d35=_0x58d93f[_0xbe4eb(0x242)]===_0x154755?_0x58d93f:{..._0x58d93f,'formulaName':_0x154755};return _0x396f18([...this[_0xbe4eb(0x2bf)](_0x52ded9),_0x26cf17[_0xbe4eb(0x2a4)]['insertOp'](_0x1db9f2[_0xbe4eb(0x551)](_0x58d93f['id']),_0x259d35),_0x26cf17[_0xbe4eb(0x2a4)][_0xbe4eb(0x4b1)]([_0xbe4eb(0x260),_0x23b324],_0x58d93f['id'])]);}['renameTable'](_0xc3e1be,_0x67dc2a,_0x5b693b){const _0x3a669a=_0x36f63a;let _0xbe41f4=_0xc3e1be[_0x3a669a(0x594)][_0x67dc2a];return _0x396f18([...this[_0x3a669a(0x2bf)](_0xc3e1be),_0x26cf17[_0x3a669a(0x2a4)][_0x3a669a(0x30d)]([..._0x1db9f2['table'](_0x67dc2a),'name'],_0xbe41f4['name'],_0x5b693b)]);}[_0x36f63a(0x3b1)](_0x41d5a3,_0x3adbbc){const _0x54097b=_0x36f63a;let _0x4a835f=_0x41d5a3[_0x54097b(0x594)][_0x3adbbc],_0x4c80a0=_0x41d5a3['tableOrder'][_0x54097b(0x499)](_0x3adbbc);return _0x396f18([...this[_0x54097b(0x2bf)](_0x41d5a3,new Set([_0x3adbbc])),_0x26cf17[_0x54097b(0x2a4)][_0x54097b(0x427)](_0x1db9f2[_0x54097b(0x551)](_0x3adbbc),_0x4a835f),_0x26cf17['JSON1']['removeOp']([_0x54097b(0x260),_0x4c80a0],_0x3adbbc)]);}[_0x36f63a(0x276)](_0x3db6f2,_0x21ac4a,_0x4364e9){const _0x1406e3=_0x36f63a;return this[_0x1406e3(0x24a)](_0x3db6f2,_0x21ac4a,[_0x4364e9]);}[_0x36f63a(0x24a)](_0x4a696d,_0x270b86,_0x5d69d1){const _0x5be17d=_0x36f63a;let _0x49faa2=_0x4a696d['tables'][_0x270b86],_0x59683d=_0x5d69d1[_0x5be17d(0x46a)](_0x3aeb6c=>_0x3aeb6c&&!_0x49faa2[_0x5be17d(0x4c9)][_0x3aeb6c['id']])[_0x5be17d(0x4a5)](_0x1baa7f=>({..._0x1baa7f,'values':{..._0x1baa7f[_0x5be17d(0x20f)],[_0x26cf17[_0x5be17d(0x478)]]:_0x1baa7f['id']}}));if(!_0x59683d[_0x5be17d(0x4cd)])return _0x26cf17[_0x5be17d(0x2a4)][_0x5be17d(0x30d)]([..._0x1db9f2[_0x5be17d(0x551)](_0x270b86),_0x5be17d(0x4c9)],_0x49faa2[_0x5be17d(0x4c9)],_0x49faa2[_0x5be17d(0x4c9)]);let _0xb6faac=new _0x26cf17['JSON1']['WriteCursor'](),_0x2566bf=[..._0x59683d][_0x5be17d(0x30f)]((_0x2f755a,_0x22a886)=>_0x2f755a['id']<_0x22a886['id']?-0x1:+(_0x2f755a['id']>_0x22a886['id'])),_0x337d9e=[..._0x1db9f2[_0x5be17d(0x551)](_0x270b86),'records'];_0xb6faac[_0x5be17d(0x5a8)](_0x337d9e);for(let _0xa4f87 of _0x2566bf)_0xb6faac[_0x5be17d(0x21d)](_0xa4f87['id']),_0xb6faac[_0x5be17d(0x442)]('i',_0xa4f87),_0xb6faac[_0x5be17d(0x2bc)]();for(let _0x577958=0x0;_0x577958<_0x337d9e[_0x5be17d(0x4cd)];_0x577958+=0x1)_0xb6faac[_0x5be17d(0x2bc)]();return _0x396f18([_0xb6faac['get'](),this[_0x5be17d(0x4f1)](_0x4a696d,_0x270b86,_0x59683d)]);}[_0x36f63a(0x255)](_0x5d3d13,_0x2a434f,_0x388b89){const _0x3b4364=_0x36f63a;return this[_0x3b4364(0x383)](_0x5d3d13,_0x2a434f,[_0x388b89]);}[_0x36f63a(0x383)](_0x42a3aa,_0x10f8fa,_0xabe030){const _0x5d1567=_0x36f63a;let _0x26165d=_0x42a3aa[_0x5d1567(0x594)][_0x10f8fa],_0x5a6346=Array[_0x5d1567(0x356)](new Set(_0xabe030))[_0x5d1567(0x46a)](_0xae4dfb=>_0x26165d[_0x5d1567(0x4c9)][_0xae4dfb]);if(!_0x5a6346[_0x5d1567(0x4cd)])return _0x26cf17[_0x5d1567(0x2a4)][_0x5d1567(0x30d)]([..._0x1db9f2[_0x5d1567(0x551)](_0x10f8fa),_0x5d1567(0x4c9)],_0x26165d[_0x5d1567(0x4c9)],_0x26165d[_0x5d1567(0x4c9)]);let _0x4d8e56=new Set(_0x5a6346),_0x2d9503=_0x4665b4(_0x26165d,_0x5a6346)[_0x5d1567(0x4a5)](_0x49f80a=>this[_0x5d1567(0x461)](_0x42a3aa,_0x10f8fa,_0x49f80a[_0x5d1567(0x571)],_0x49f80a[_0x5d1567(0x39c)],''));return _0x396f18([this['_deleteRecordsBaseOp'](_0x42a3aa,_0x10f8fa,_0x5a6346,_0x4d8e56),..._0x2d9503]);}[_0x36f63a(0x2dc)](_0x48f7a7,_0xfb07d,_0x33a17e,_0x5a74db){const _0x467d83=_0x36f63a;let _0x131e0b=_0x48f7a7[_0x467d83(0x594)][_0x33a17e],_0x26fe98=Array['from'](new Set(_0x5a74db))[_0x467d83(0x46a)](_0xcc6ad5=>_0x131e0b[_0x467d83(0x4c9)][_0xcc6ad5]),_0x4a7cb7=new Set(_0x26fe98);return _0x396f18([new _0x5070bf()['invertOp'](_0x48f7a7,this[_0x467d83(0x494)](_0x48f7a7,_0x33a17e,_0x26fe98,_0x4a7cb7)),..._0x4665b4(_0x131e0b,_0x26fe98)[_0x467d83(0x4a5)](_0x2505c=>this[_0x467d83(0x461)](_0xfb07d,_0x33a17e,_0x2505c['recordId'],_0x2505c['fieldId'],_0x2505c[_0x467d83(0x369)]??''))]);}[_0x36f63a(0x494)](_0x802112,_0x4f41ec,_0x2b3686,_0x24fbaf){const _0x49e8ed=_0x36f63a;let _0x643ff0=_0x802112[_0x49e8ed(0x594)][_0x4f41ec],_0x500c3b=_0x2b3686['map'](_0x43e923=>{const _0xcd2668=_0x49e8ed;var _0x20b449;return{'recordId':_0x43e923,'index':((_0x20b449=_0x643ff0[_0xcd2668(0x2ba)])==null?void 0x0:_0x20b449[_0xcd2668(0x499)](_0x43e923))??-0x1};})[_0x49e8ed(0x46a)](_0x318df3=>_0x318df3[_0x49e8ed(0x21b)]>=0x0)['sort']((_0x311b59,_0x8fcf27)=>_0x8fcf27['index']-_0x311b59[_0x49e8ed(0x21b)]);return _0x396f18([..._0x2b3686[_0x49e8ed(0x4a5)](_0x58b09c=>_0x26cf17[_0x49e8ed(0x2a4)][_0x49e8ed(0x427)](_0x1db9f2[_0x49e8ed(0x1b5)](_0x4f41ec,_0x58b09c),_0x643ff0[_0x49e8ed(0x4c9)][_0x58b09c])),..._0x500c3b['map'](({recordId:_0x5f0d66,index:_0x1d3c7e})=>_0x26cf17['JSON1']['removeOp']([_0x49e8ed(0x594),_0x4f41ec,_0x49e8ed(0x2ba),_0x1d3c7e],_0x5f0d66)),...this['_deleteAttachmentResources'](_0x643ff0,_0x4f41ec,_0x22806c=>{const _0x4530e8=_0x49e8ed;let _0x625975=_0x22806c[_0x4530e8(0x24f)](_0x22806c[_0x4530e8(0x5c5)]('\x1f')+0x1);return _0x24fbaf[_0x4530e8(0x2fa)](_0x625975);})]);}[_0x36f63a(0x48d)](_0xb050b,_0x2c05d4,_0x55ca31,_0x3ffe61){const _0x1ef2ea=_0x36f63a;return this[_0x1ef2ea(0x276)](_0xb050b,_0x2c05d4,{..._0x3ffe61,'values':{..._0xb050b[_0x1ef2ea(0x594)][_0x2c05d4][_0x1ef2ea(0x4c9)][_0x55ca31][_0x1ef2ea(0x20f)],..._0x3ffe61[_0x1ef2ea(0x20f)],[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x3ffe61['id']}});}[_0x36f63a(0x5bb)](_0x111e32,_0x3d357e,_0x3312aa,_0x3eeb89){const _0x30b882=_0x36f63a;let _0x49cbe0=_0x111e32[_0x30b882(0x594)][_0x3d357e],_0x5618a2=[..._0x1db9f2[_0x30b882(0x1b5)](_0x3d357e,_0x3312aa),_0x30b882(0x58c)],_0x45ed55=Object['values'](_0x49cbe0['records'])[_0x30b882(0x4a5)](_0x1c7b1b=>_0x1c7b1b['id']===_0x3312aa?{..._0x1c7b1b,'orderKey':_0x3eeb89}:_0x1c7b1b)['sort']((_0x2234f5,_0x3c0156)=>String(_0x2234f5[_0x30b882(0x58c)]??_0x2234f5['id'])[_0x30b882(0x4ed)](String(_0x3c0156['orderKey']??_0x3c0156['id'])))[_0x30b882(0x4a5)](_0x5c3f74=>_0x5c3f74['id']),_0x2a6ea7=[..._0x1db9f2[_0x30b882(0x551)](_0x3d357e),_0x30b882(0x2ba)];return _0x396f18([this[_0x30b882(0x360)](_0x5618a2,_0x49cbe0[_0x30b882(0x4c9)][_0x3312aa][_0x30b882(0x58c)],_0x3eeb89),_0x49cbe0[_0x30b882(0x2ba)]?_0x26cf17['JSON1'][_0x30b882(0x30d)](_0x2a6ea7,_0x49cbe0[_0x30b882(0x2ba)],_0x45ed55):_0x26cf17[_0x30b882(0x2a4)][_0x30b882(0x4b1)](_0x2a6ea7,_0x45ed55)]);}['updateCell'](_0x1dd6fd,_0x1de803,_0x687c70,_0x523470,_0x2d8c11){const _0x12537d=_0x36f63a;var _0x23ca79,_0x1342d4;let _0x3e1de2=_0x1dd6fd['tables'][_0x1de803],_0x3e47a0=_0x28d135(_0x3e1de2,_0x687c70,_0x523470)?_0x3e1de2:_0x58de72(_0x3e1de2),_0x9617f5=(_0x23ca79=_0x3e47a0['rowIndex'])==null?void 0x0:_0x23ca79[_0x687c70],_0xb5bb7d=(_0x1342d4=_0x3e47a0[_0x12537d(0x41d)])==null?void 0x0:_0x1342d4[_0x523470];if(_0x9617f5==null||_0xb5bb7d==null){var _0x29389a;return this['_replaceOptional'](_0x1db9f2['cell'](_0x1de803,_0x687c70,_0x523470),(_0x29389a=_0x1dd6fd[_0x12537d(0x594)][_0x1de803])==null||(_0x29389a=_0x29389a[_0x12537d(0x4c9)][_0x687c70])==null?void 0x0:_0x29389a['values'][_0x523470],_0x2d8c11);}return this[_0x12537d(0x4ff)](_0x1dd6fd,_0x1de803,[{'row':_0x9617f5,'col':_0xb5bb7d,'value':_0x2d8c11}]);}[_0x36f63a(0x2e0)](_0x5988a6,_0x46f05e,_0x26ec91){const _0x1d1867=_0x36f63a;let _0xb197bc=_0x5988a6['tables'][_0x46f05e],_0x50c675=_0x26ec91[_0x1d1867(0x308)](_0x4a75b3=>Object[_0x1d1867(0x40d)](_0x4a75b3[_0x1d1867(0x20f)])[_0x1d1867(0x308)](_0x55aa48=>_0x28d135(_0xb197bc,_0x4a75b3['recordId'],_0x55aa48)))?_0xb197bc:_0x58de72(_0xb197bc),_0x452e72=_0x26ec91[_0x1d1867(0x35a)](_0x243d07=>Object[_0x1d1867(0x443)](_0x243d07[_0x1d1867(0x20f)])[_0x1d1867(0x35a)](([_0x29932e,_0x27bdbc])=>{const _0x3e141d=_0x1d1867;var _0x32f09c,_0x366a2c;let _0x54b08c=(_0x32f09c=_0x50c675[_0x3e141d(0x5cd)])==null?void 0x0:_0x32f09c[_0x243d07['recordId']],_0x245482=(_0x366a2c=_0x50c675[_0x3e141d(0x41d)])==null?void 0x0:_0x366a2c[_0x29932e];return _0x54b08c==null||_0x245482==null?[]:[{'row':_0x54b08c,'col':_0x245482,'value':_0x27bdbc}];})),_0x2a023b=_0x26ec91['flatMap'](_0x133921=>Object[_0x1d1867(0x443)](_0x133921[_0x1d1867(0x534)]??{})['map'](([_0x137aff,_0x159a1b])=>{const _0x1601b7=_0x1d1867;var _0x352cb6;let _0x2bf989=[..._0x1db9f2[_0x1601b7(0x1b5)](_0x46f05e,_0x133921[_0x1601b7(0x571)]),_0x137aff],_0x2c5871=(_0x352cb6=_0x5988a6[_0x1601b7(0x594)][_0x46f05e])==null||(_0x352cb6=_0x352cb6[_0x1601b7(0x4c9)][_0x133921[_0x1601b7(0x571)]])==null?void 0x0:_0x352cb6[_0x137aff];return this['_replaceOptional'](_0x2bf989,_0x2c5871,_0x159a1b);}));return _0x396f18([this[_0x1d1867(0x4ff)](_0x5988a6,_0x46f05e,_0x452e72),..._0x2a023b]);}[_0x36f63a(0x4ff)](_0x463baa,_0x53a6bf,_0x20c163){const _0x4e9795=_0x36f63a;let _0x5b4a53=_0x463baa['tables'][_0x53a6bf],_0x8e9c41=_0x20c163[_0x4e9795(0x308)](_0x19f538=>_0x47d9b0(_0x5b4a53,_0x19f538[_0x4e9795(0x5dd)],_0x19f538[_0x4e9795(0x46c)]))?_0x5b4a53:_0x58de72(_0x5b4a53),_0x1111f0=new Map(),_0x38ddb1=_0x20c163[_0x4e9795(0x35a)](_0x1e96fd=>{const _0x11dc57=_0x4e9795;var _0x33bfe4,_0x253016,_0x4606a4,_0x614054;let _0x1d9b1e=(_0x33bfe4=_0x8e9c41[_0x11dc57(0x3e3)])==null?void 0x0:_0x33bfe4[_0x1e96fd['col']],_0x5dd349=(_0x253016=_0x8e9c41[_0x11dc57(0x51d)])==null?void 0x0:_0x253016[_0x1e96fd[_0x11dc57(0x5dd)]],_0x5dc9e1=_0x1d9b1e?_0x8e9c41['fields'][_0x1d9b1e]:void 0x0;if(_0x1d9b1e===_0x26cf17[_0x11dc57(0x478)]||(_0x5dc9e1==null?void 0x0:_0x5dc9e1['type'])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x4b5)])throw Error(_0x11dc57(0x532));let _0x1f2afb=_0x545d9f(_0x1e96fd['value'],_0x5dc9e1),_0x22d575=(_0x4606a4=_0x8e9c41[_0x11dc57(0x61f)])==null||(_0x4606a4=_0x4606a4[_0x1e96fd[_0x11dc57(0x5dd)]])==null?void 0x0:_0x4606a4[_0x1e96fd[_0x11dc57(0x46c)]],_0x431c2c=this[_0x11dc57(0x360)](_0x1db9f2[_0x11dc57(0x61f)](_0x53a6bf,_0x1e96fd[_0x11dc57(0x5dd)],_0x1e96fd[_0x11dc57(0x46c)]),_0x22d575,_0x1f2afb);if(!_0x1d9b1e||!_0x5dd349)return[_0x431c2c];let _0x49686a=(_0x614054=_0x8e9c41[_0x11dc57(0x4c9)][_0x5dd349])==null?void 0x0:_0x614054[_0x11dc57(0x20f)][_0x1d9b1e],_0x22cd48=(_0x5dc9e1==null?void 0x0:_0x5dc9e1[_0x11dc57(0x5d6)])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x50b)]?_0x509f7b(_0x1e96fd[_0x11dc57(0x5a4)]):_0x1871e5(_0x1e96fd[_0x11dc57(0x5a4)],_0x1f2afb,_0x5dc9e1,_0x8e9c41,_0x5dd349),_0x37264a=[_0x431c2c,this[_0x11dc57(0x360)](_0x1db9f2[_0x11dc57(0x49d)](_0x53a6bf,_0x5dd349,_0x1d9b1e),_0x49686a,_0x22cd48)];return(_0x5dc9e1==null?void 0x0:_0x5dc9e1[_0x11dc57(0x5d6)])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x50b)]&&_0x1111f0[_0x11dc57(0x4a9)](_0x5d9a67(_0x1d9b1e,_0x5dd349),{'recordId':_0x5dd349,'fieldId':_0x1d9b1e,'attachments':_0x22cd48}),_0x37264a;});return _0x38ddb1[_0x4e9795(0x4cd)]?_0x396f18([..._0x38ddb1,...this['_setAttachmentResources'](_0x8e9c41,_0x53a6bf,Array[_0x4e9795(0x356)](_0x1111f0[_0x4e9795(0x20f)]()))]):_0x26cf17[_0x4e9795(0x2a4)][_0x4e9795(0x30d)]([_0x4e9795(0x594),_0x53a6bf,_0x4e9795(0x61f)],_0x8e9c41[_0x4e9795(0x61f)],_0x8e9c41['cellData']);}[_0x36f63a(0x5b3)](_0x15e70d,_0x1eab3a,_0x44e6d){const _0x4521a7=_0x36f63a;let _0x152d83=_0x15e70d['tables'][_0x1eab3a];if(_0x152d83[_0x4521a7(0x458)][_0x44e6d['field']['id']]||_0x152d83[_0x4521a7(0x1b2)][_0x4521a7(0x358)](_0x44e6d[_0x4521a7(0x5f1)]['id']))return _0x26cf17['JSON1'][_0x4521a7(0x30d)]([_0x4521a7(0x594),_0x1eab3a,'fieldOrder'],_0x152d83['fieldOrder'],_0x152d83[_0x4521a7(0x1b2)]);let _0x3134f1=Math['max'](0x1,_0x44e6d['index']??_0x152d83[_0x4521a7(0x1b2)]['length']),_0x233cc6=Object[_0x4521a7(0x20f)](_0x152d83[_0x4521a7(0x3d8)]??{})[_0x4521a7(0x35a)](_0x28a74c=>{const _0x1d5a6b=_0x4521a7;var _0x9d6639;if(!_0x28a74c[_0x1d5a6b(0x1b2)]||_0x28a74c[_0x1d5a6b(0x1b2)][_0x1d5a6b(0x358)](_0x44e6d[_0x1d5a6b(0x5f1)]['id']))return[];let _0x5b825a=_0x37acea(((_0x9d6639=_0x44e6d['viewIndexes'])==null?void 0x0:_0x9d6639[_0x28a74c['id']])??_0x3134f1,_0x28a74c[_0x1d5a6b(0x1b2)][_0x1d5a6b(0x4cd)]);return[_0x26cf17['JSON1']['insertOp']([..._0x1db9f2[_0x1d5a6b(0x602)](_0x1eab3a,_0x28a74c['id']),_0x1d5a6b(0x1b2),_0x5b825a],_0x44e6d[_0x1d5a6b(0x5f1)]['id'])];});return _0x396f18([..._0x44e6d[_0x4521a7(0x5f1)][_0x4521a7(0x5d6)]===_0x26cf17[_0x4521a7(0x22d)][_0x4521a7(0x274)]?this[_0x4521a7(0x2bf)](_0x15e70d):[],_0x26cf17['JSON1'][_0x4521a7(0x4b1)](_0x1db9f2[_0x4521a7(0x5f1)](_0x1eab3a,_0x44e6d[_0x4521a7(0x5f1)]['id']),_0x44e6d['field']),_0x26cf17[_0x4521a7(0x2a4)]['insertOp'](_0x1db9f2[_0x4521a7(0x1b2)](_0x1eab3a,_0x3134f1),_0x44e6d['field']['id']),..._0x233cc6]);}[_0x36f63a(0x1ee)](_0x11921c,_0x3ef386,_0x12a704,_0x44bc31){const _0x2dc035=_0x36f63a;let _0x1facf7=_0x11921c['tables'][_0x3ef386];if(!_0x1facf7[_0x2dc035(0x458)][_0x12a704]||_0x1facf7[_0x2dc035(0x458)][_0x44bc31['field']['id']]||_0x1facf7[_0x2dc035(0x1b2)][_0x2dc035(0x358)](_0x44bc31[_0x2dc035(0x5f1)]['id']))return _0x26cf17[_0x2dc035(0x2a4)][_0x2dc035(0x30d)](['tables',_0x3ef386,_0x2dc035(0x1b2)],_0x1facf7['fieldOrder'],_0x1facf7[_0x2dc035(0x1b2)]);let _0x37868d=_0x44bc31['index']??_0x1facf7['fieldOrder']['indexOf'](_0x12a704)+0x1,_0x3355c6=_0x1facf7[_0x2dc035(0x1b2)]['filter'](_0x45ba34=>_0x45ba34!==_0x44bc31[_0x2dc035(0x5f1)]['id']),_0x4d73d6=_0x2147ea(_0x3355c6,_0x44bc31[_0x2dc035(0x5f1)]['id'],_0x37868d),_0x393a0c=Object[_0x2dc035(0x20f)](_0x1facf7[_0x2dc035(0x3d8)]??{})[_0x2dc035(0x35a)](_0x13fdb5=>{const _0x2c98dd=_0x2dc035;var _0x230794,_0x4afc4a,_0x89910d,_0x546856;let _0x52a8b5=(_0x230794=_0x13fdb5[_0x2c98dd(0x1b2)])!=null&&_0x230794[_0x2c98dd(0x4cd)]?_0x13fdb5[_0x2c98dd(0x1b2)]:_0x3355c6;if(_0x52a8b5['includes'](_0x44bc31['field']['id']))return[];let _0x3c7c38=_0x2147ea(_0x52a8b5,_0x44bc31[_0x2c98dd(0x5f1)]['id'],((_0x4afc4a=_0x44bc31[_0x2c98dd(0x378)])==null?void 0x0:_0x4afc4a[_0x13fdb5['id']])??_0x37868d),_0x28bafa=(_0x89910d=_0x13fdb5[_0x2c98dd(0x47f)])==null?void 0x0:_0x89910d[_0x12a704];return[this[_0x2c98dd(0x360)]([..._0x1db9f2[_0x2c98dd(0x602)](_0x3ef386,_0x13fdb5['id']),_0x2c98dd(0x1b2)],_0x13fdb5['fieldOrder'],_0x3c7c38),..._0x28bafa?[this['_replaceOptional']([..._0x1db9f2[_0x2c98dd(0x602)](_0x3ef386,_0x13fdb5['id']),_0x2c98dd(0x47f),_0x44bc31[_0x2c98dd(0x5f1)]['id']],(_0x546856=_0x13fdb5[_0x2c98dd(0x47f)])==null?void 0x0:_0x546856[_0x44bc31[_0x2c98dd(0x5f1)]['id']],_0x28bafa)]:[]];}),_0x2d9d4c=Object[_0x2dc035(0x20f)](_0x1facf7[_0x2dc035(0x4c9)])[_0x2dc035(0x46a)](_0x98b75e=>Object[_0x2dc035(0x1d5)][_0x2dc035(0x4ea)][_0x2dc035(0x5b6)](_0x98b75e[_0x2dc035(0x20f)],_0x12a704))[_0x2dc035(0x4a5)](_0x1e2b8c=>this[_0x2dc035(0x360)](_0x1db9f2['cell'](_0x3ef386,_0x1e2b8c['id'],_0x44bc31['field']['id']),_0x1e2b8c[_0x2dc035(0x20f)][_0x44bc31[_0x2dc035(0x5f1)]['id']],_0x1e2b8c[_0x2dc035(0x20f)][_0x12a704]));return _0x396f18([..._0x44bc31[_0x2dc035(0x5f1)][_0x2dc035(0x5d6)]===_0x26cf17[_0x2dc035(0x22d)][_0x2dc035(0x274)]?this[_0x2dc035(0x2bf)](_0x11921c):[],_0x26cf17['JSON1'][_0x2dc035(0x4b1)](_0x1db9f2[_0x2dc035(0x5f1)](_0x3ef386,_0x44bc31[_0x2dc035(0x5f1)]['id']),_0x44bc31[_0x2dc035(0x5f1)]),_0x26cf17['JSON1'][_0x2dc035(0x30d)]([_0x2dc035(0x594),_0x3ef386,'fieldOrder'],_0x1facf7[_0x2dc035(0x1b2)],_0x4d73d6),..._0x393a0c,..._0x2d9d4c]);}[_0x36f63a(0x4f8)](_0x28924b,_0x3dfd6c,_0x3aa024,_0x550c93){const _0x985563=_0x36f63a;let _0x35f30a=_0x28924b[_0x985563(0x594)][_0x3dfd6c]['fields'][_0x3aa024],_0x26e3e1={..._0x35f30a,..._0x550c93};Object[_0x985563(0x40d)](_0x550c93)[_0x985563(0x1bf)](_0x49c352=>{_0x550c93[_0x49c352]===void 0x0&&delete _0x26e3e1[_0x49c352];});let _0x545885=_0x59b3ef(_0x28924b[_0x985563(0x594)][_0x3dfd6c],_0x3aa024,_0x35f30a,_0x26e3e1);_0x26e3e1=_0x545885[_0x985563(0x5f1)];let _0x5c708e=_0x26cf17['JSON1'][_0x985563(0x30d)](_0x1db9f2['field'](_0x3dfd6c,_0x3aa024),_0x35f30a,_0x26e3e1);return _0x26e3e1[_0x985563(0x5d6)]===_0x26cf17['BaseFieldType'][_0x985563(0x274)]?_0x396f18([...this[_0x985563(0x2bf)](_0x28924b),_0x5c708e,...this[_0x985563(0x2a9)](_0x28924b,_0x3dfd6c,_0x3aa024,_0x26e3e1)]):_0x396f18([_0x5c708e,..._0x545885[_0x985563(0x530)]['length']?[this[_0x985563(0x4ff)](_0x28924b,_0x3dfd6c,_0x545885['patches'])]:[]]);}[_0x36f63a(0x1c7)](_0x134b1f,_0x12712c,_0x538d98,_0x38a93f){const _0x5b1e4a=_0x36f63a;return this[_0x5b1e4a(0x4f8)](_0x134b1f,_0x12712c,_0x538d98,_0x38a93f);}['deleteField'](_0x58fd69,_0x1dd3b4,_0x5d13a1){const _0x28b83c=_0x36f63a;let _0x332266=_0x58fd69[_0x28b83c(0x594)][_0x1dd3b4];if(!(_0x332266!=null&&_0x332266[_0x28b83c(0x458)][_0x5d13a1])||_0x332266[_0x28b83c(0x5ce)]===_0x5d13a1||_0x5d13a1===_0x26cf17[_0x28b83c(0x478)])return _0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x30d)](['tables',_0x1dd3b4,'fieldOrder'],_0x332266==null?void 0x0:_0x332266[_0x28b83c(0x1b2)],_0x332266==null?void 0x0:_0x332266[_0x28b83c(0x1b2)]);let _0x2e80e9=_0x332266[_0x28b83c(0x1b2)][_0x28b83c(0x499)](_0x5d13a1),_0x281b4b=Object[_0x28b83c(0x20f)](_0x332266[_0x28b83c(0x3d8)])['flatMap'](_0x3641e7=>{const _0x1d7466=_0x28b83c;var _0x590df3,_0x504f2b,_0x26664c,_0x26a77c,_0x5cb7e8,_0x48c0c0,_0x1a484b;let _0x549180=[],_0x2dd371=((_0x590df3=_0x3641e7[_0x1d7466(0x1b2)])==null?void 0x0:_0x590df3['indexOf'](_0x5d13a1))??-0x1;_0x2dd371>=0x0&&_0x549180['push'](_0x26cf17['JSON1'][_0x1d7466(0x427)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x1b2),_0x2dd371],_0x5d13a1));let _0x49ca3f=(_0x504f2b=_0x3641e7[_0x1d7466(0x47f)])==null?void 0x0:_0x504f2b[_0x5d13a1];_0x49ca3f!==void 0x0&&_0x549180[_0x1d7466(0x605)](_0x26cf17[_0x1d7466(0x2a4)][_0x1d7466(0x427)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x47f),_0x5d13a1],_0x49ca3f));let _0x37f1f4=_0x3641e7['filter']?{..._0x3641e7[_0x1d7466(0x46a)],'conditions':_0x3641e7[_0x1d7466(0x46a)][_0x1d7466(0x357)][_0x1d7466(0x46a)](_0x367384=>_0x367384['fieldId']!==_0x5d13a1)}:_0x3641e7[_0x1d7466(0x46a)];_0x37f1f4&&_0x37f1f4[_0x1d7466(0x357)][_0x1d7466(0x4cd)]!==((_0x26664c=_0x3641e7[_0x1d7466(0x46a)])==null?void 0x0:_0x26664c[_0x1d7466(0x357)][_0x1d7466(0x4cd)])&&_0x549180[_0x1d7466(0x605)](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x46a)],_0x3641e7[_0x1d7466(0x46a)],_0x37f1f4));let _0x1e74b3=(_0x26a77c=_0x3641e7[_0x1d7466(0x30f)])==null?void 0x0:_0x26a77c[_0x1d7466(0x46a)](_0x26926f=>_0x26926f[_0x1d7466(0x39c)]!==_0x5d13a1);_0x1e74b3&&_0x1e74b3[_0x1d7466(0x4cd)]!==((_0x5cb7e8=_0x3641e7[_0x1d7466(0x30f)])==null?void 0x0:_0x5cb7e8[_0x1d7466(0x4cd)])&&_0x549180[_0x1d7466(0x605)](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x30f)],_0x3641e7[_0x1d7466(0x30f)],_0x1e74b3));let _0x13e7ac=(_0x48c0c0=_0x3641e7[_0x1d7466(0x58b)])==null?void 0x0:_0x48c0c0[_0x1d7466(0x46a)](_0x1511ad=>_0x1511ad[_0x1d7466(0x39c)]!==_0x5d13a1);_0x13e7ac&&_0x13e7ac[_0x1d7466(0x4cd)]!==((_0x1a484b=_0x3641e7[_0x1d7466(0x58b)])==null?void 0x0:_0x1a484b[_0x1d7466(0x4cd)])&&_0x549180['push'](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x58b)],_0x3641e7[_0x1d7466(0x58b)],_0x13e7ac));let _0x1b9213=_0x28c236(_0x3641e7['config'],_0x5d13a1);return JSON[_0x1d7466(0x40a)](_0x1b9213)!==JSON[_0x1d7466(0x40a)](_0x3641e7[_0x1d7466(0x4cc)])&&_0x549180[_0x1d7466(0x605)](_0x26cf17[_0x1d7466(0x2a4)][_0x1d7466(0x30d)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x4cc)],_0x3641e7[_0x1d7466(0x4cc)],_0x1b9213)),_0x549180;}),_0x147170=Object['values'](_0x332266[_0x28b83c(0x4c9)])[_0x28b83c(0x35a)](_0x1ddf4e=>Object[_0x28b83c(0x1d5)][_0x28b83c(0x4ea)][_0x28b83c(0x5b6)](_0x1ddf4e[_0x28b83c(0x20f)],_0x5d13a1)?[_0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x427)](_0x1db9f2['cell'](_0x1dd3b4,_0x1ddf4e['id'],_0x5d13a1),_0x1ddf4e[_0x28b83c(0x20f)][_0x5d13a1])]:[]);return _0x396f18([_0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x427)](_0x1db9f2['field'](_0x1dd3b4,_0x5d13a1),_0x332266[_0x28b83c(0x458)][_0x5d13a1]),_0x26cf17['JSON1'][_0x28b83c(0x427)](_0x1db9f2[_0x28b83c(0x1b2)](_0x1dd3b4,_0x2e80e9),_0x5d13a1),..._0x281b4b,..._0x147170,...this[_0x28b83c(0x596)](_0x332266,_0x1dd3b4,_0x3945d2=>_0x3945d2[_0x28b83c(0x57d)](_0x5d13a1+'\x1f'))]);}[_0x36f63a(0x27b)](_0x42e245,_0x4d9bb2,_0x2af887,_0x48569a){const _0x58acd3=_0x36f63a;let _0x263a6=_0x42e245[_0x58acd3(0x594)][_0x4d9bb2][_0x58acd3(0x1b2)];if(_0x2af887===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x48569a[_0x58acd3(0x3bd)]===_0x26cf17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x58acd3(0x3c9));let _0x4125b5=_0x50aac3(_0x263a6,_0x2af887,_0x48569a);return _0x26cf17[_0x58acd3(0x2a4)]['replaceOp']([_0x58acd3(0x594),_0x4d9bb2,_0x58acd3(0x1b2)],_0x263a6,_0x4125b5);}[_0x36f63a(0x27d)](_0x3530b1,_0x861bdd,_0x1140e1,_0x1b84b7=_0x3530b1[_0x36f63a(0x594)][_0x861bdd][_0x36f63a(0x226)][_0x36f63a(0x4cd)]){const _0x3f0deb=_0x36f63a;return _0x396f18([_0x26cf17[_0x3f0deb(0x2a4)][_0x3f0deb(0x4b1)](_0x1db9f2['view'](_0x861bdd,_0x1140e1['id']),_0x1140e1),_0x26cf17[_0x3f0deb(0x2a4)][_0x3f0deb(0x4b1)]([_0x3f0deb(0x594),_0x861bdd,_0x3f0deb(0x226),_0x1b84b7],_0x1140e1['id'])]);}[_0x36f63a(0x206)](_0x469c89,_0x53c846,_0x51ce0e,_0x1a3584){const _0x7ef47d=_0x36f63a;return _0x26cf17[_0x7ef47d(0x2a4)][_0x7ef47d(0x30d)]([..._0x1db9f2[_0x7ef47d(0x602)](_0x53c846,_0x51ce0e),'name'],_0x469c89[_0x7ef47d(0x594)][_0x53c846][_0x7ef47d(0x3d8)][_0x51ce0e]['name'],_0x1a3584);}[_0x36f63a(0x574)](_0x3f1840,_0x14e294,_0x3ba90c){const _0xde9c12=_0x36f63a;let _0x1246c4=_0x3f1840[_0xde9c12(0x594)][_0x14e294],_0x38c0e2=_0x1246c4[_0xde9c12(0x3d8)][_0x3ba90c],_0x5580dd=_0x1246c4[_0xde9c12(0x226)][_0xde9c12(0x499)](_0x3ba90c);return _0x396f18([_0x26cf17['JSON1'][_0xde9c12(0x427)](_0x1db9f2[_0xde9c12(0x602)](_0x14e294,_0x3ba90c),_0x38c0e2),_0x26cf17[_0xde9c12(0x2a4)][_0xde9c12(0x427)]([_0xde9c12(0x594),_0x14e294,_0xde9c12(0x226),_0x5580dd],_0x3ba90c)]);}['moveView'](_0x522017,_0x49e3a2,_0x17e8fc,_0x1c9621){const _0x2bed05=_0x36f63a;let _0x14edcf=_0x522017[_0x2bed05(0x594)][_0x49e3a2][_0x2bed05(0x226)],_0x182d97=_0x50aac3(_0x14edcf,_0x17e8fc,{'beforeFieldId':_0x1c9621[_0x2bed05(0x313)],'afterFieldId':_0x1c9621[_0x2bed05(0x58d)]});return _0x26cf17['JSON1'][_0x2bed05(0x30d)](['tables',_0x49e3a2,_0x2bed05(0x226)],_0x14edcf,_0x182d97);}[_0x36f63a(0x52e)](_0x3ad0da,_0x3a60c3,_0x4829dd,_0x431395){const _0x32089a=_0x36f63a;let _0x4a9e88=_0x3ad0da[_0x32089a(0x594)][_0x3a60c3][_0x32089a(0x3d8)][_0x4829dd]['config']??{},_0x1212e2={..._0x4a9e88,..._0x431395};return Object['keys'](_0x431395)[_0x32089a(0x1bf)](_0x1094df=>{_0x431395[_0x1094df]===void 0x0&&delete _0x1212e2[_0x1094df];}),_0x26cf17[_0x32089a(0x2a4)][_0x32089a(0x30d)]([..._0x1db9f2[_0x32089a(0x602)](_0x3a60c3,_0x4829dd),_0x32089a(0x4cc)],_0x4a9e88,_0x1212e2);}[_0x36f63a(0x5e0)](_0x4d3e2e,_0x497e9c,_0x500e42,_0x264ab3){const _0x1ed7be=_0x36f63a;return this[_0x1ed7be(0x360)]([..._0x1db9f2[_0x1ed7be(0x602)](_0x497e9c,_0x500e42),_0x1ed7be(0x46a)],_0x4d3e2e[_0x1ed7be(0x594)][_0x497e9c][_0x1ed7be(0x3d8)][_0x500e42][_0x1ed7be(0x46a)],_0x264ab3);}['setViewSort'](_0x3e97a2,_0x1c2f01,_0x1de514,_0x46c92c){const _0xfc09b0=_0x36f63a;return this[_0xfc09b0(0x360)]([..._0x1db9f2['view'](_0x1c2f01,_0x1de514),_0xfc09b0(0x30f)],_0x3e97a2[_0xfc09b0(0x594)][_0x1c2f01][_0xfc09b0(0x3d8)][_0x1de514][_0xfc09b0(0x30f)],_0x46c92c);}[_0x36f63a(0x2c6)](_0x266977,_0x35bbf1,_0x58c6f1,_0x9c10){const _0x558c7f=_0x36f63a;return this['_replaceOptional']([..._0x1db9f2[_0x558c7f(0x602)](_0x35bbf1,_0x58c6f1),_0x558c7f(0x58b)],_0x266977['tables'][_0x35bbf1][_0x558c7f(0x3d8)][_0x58c6f1][_0x558c7f(0x58b)],_0x9c10);}['setViewFieldVisible'](_0x34d9b9,_0x239943,_0x546eb5,_0x466ef3,_0x27f046){const _0x57342f=_0x36f63a;return this[_0x57342f(0x5d9)](_0x34d9b9,_0x239943,_0x546eb5,_0x466ef3,{'hidden':!_0x27f046});}['setViewFieldWidth'](_0x5bd620,_0x4891f0,_0xd55bb5,_0x22ec56,_0x225114){const _0x13aa34=_0x36f63a;return this[_0x13aa34(0x5d9)](_0x5bd620,_0x4891f0,_0xd55bb5,_0x22ec56,{'width':_0x225114});}[_0x36f63a(0x371)](_0x122f9e,_0x5359cc,_0x531a0b,_0x4ee7dd,_0x3cfefe){const _0x2cf17a=_0x36f63a;let _0x4d5e90=_0x122f9e[_0x2cf17a(0x594)][_0x5359cc][_0x2cf17a(0x3d8)][_0x531a0b],_0x7a7c37=_0x50aac3(_0x4d5e90[_0x2cf17a(0x1b2)]??_0x122f9e[_0x2cf17a(0x594)][_0x5359cc][_0x2cf17a(0x1b2)],_0x4ee7dd,_0x3cfefe);return this[_0x2cf17a(0x360)]([..._0x1db9f2[_0x2cf17a(0x602)](_0x5359cc,_0x531a0b),_0x2cf17a(0x1b2)],_0x4d5e90['fieldOrder'],_0x7a7c37);}['_setViewFieldSetting'](_0x3f706d,_0x2d71e5,_0x308f54,_0x1b0290,_0x1a0f2c){const _0x28be93=_0x36f63a;let _0xf22c14=_0x3f706d[_0x28be93(0x594)][_0x2d71e5][_0x28be93(0x3d8)][_0x308f54][_0x28be93(0x47f)]??{},_0x4ee503={..._0xf22c14,[_0x1b0290]:{..._0xf22c14[_0x1b0290],..._0x1a0f2c}};return this[_0x28be93(0x360)]([..._0x1db9f2[_0x28be93(0x602)](_0x2d71e5,_0x308f54),_0x28be93(0x47f)],_0x3f706d[_0x28be93(0x594)][_0x2d71e5]['views'][_0x308f54][_0x28be93(0x47f)],_0x4ee503);}[_0x36f63a(0x4f1)](_0x271d65,_0x2b64db,_0x4baac0){const _0x48afae=_0x36f63a;let _0x35495f=_0x271d65[_0x48afae(0x594)][_0x2b64db],_0x3108af=new Set(_0x4baac0[_0x48afae(0x4a5)](_0x2ed9ca=>_0x2ed9ca['id'])),_0x5d034f=[...Object['values'](_0x35495f[_0x48afae(0x4c9)])[_0x48afae(0x46a)](_0x348ef3=>!_0x3108af[_0x48afae(0x2fa)](_0x348ef3['id'])),..._0x4baac0][_0x48afae(0x30f)]((_0x5aa0e2,_0x15014e)=>String(_0x5aa0e2['orderKey']??_0x5aa0e2['id'])[_0x48afae(0x4ed)](String(_0x15014e[_0x48afae(0x58c)]??_0x15014e['id'])))[_0x48afae(0x4a5)](_0x5cd192=>_0x5cd192['id']),_0x318ce7=[..._0x1db9f2[_0x48afae(0x551)](_0x2b64db),_0x48afae(0x2ba)];return _0x35495f[_0x48afae(0x2ba)]?_0x26cf17[_0x48afae(0x2a4)]['replaceOp'](_0x318ce7,_0x35495f[_0x48afae(0x2ba)],_0x5d034f):_0x26cf17[_0x48afae(0x2a4)][_0x48afae(0x4b1)](_0x318ce7,_0x5d034f);}[_0x36f63a(0x2bf)](_0x27cc32,_0x5a20d8=new Set()){const _0x11e04e=_0x36f63a;let _0x5e53e4=(0x0,_0x26cf17[_0x11e04e(0x528)])(_0x27cc32);return Object[_0x11e04e(0x20f)](_0x27cc32[_0x11e04e(0x594)])[_0x11e04e(0x46a)](_0x2f83ed=>!_0x5a20d8[_0x11e04e(0x2fa)](_0x2f83ed['id']))[_0x11e04e(0x30f)]((_0x2e9f4c,_0x422d71)=>_0x2e9f4c['id'][_0x11e04e(0x4ed)](_0x422d71['id']))[_0x11e04e(0x35a)](_0xb64da7=>{const _0xa37828=_0x11e04e;let _0x259ff1=_0x5e53e4[_0xa37828(0x558)](_0xb64da7['id']);return!_0x259ff1||_0xb64da7[_0xa37828(0x242)]===_0x259ff1?[]:[this[_0xa37828(0x360)]([..._0x1db9f2[_0xa37828(0x551)](_0xb64da7['id']),_0xa37828(0x242)],_0xb64da7[_0xa37828(0x242)],_0x259ff1)];});}[_0x36f63a(0x2a9)](_0x27c15f,_0x502f8e,_0x164130,_0x5e22db){const _0x8d0612=_0x36f63a;var _0x44939e,_0x305a38;let _0x12dda9=_0x58de72(_0x27c15f[_0x8d0612(0x594)][_0x502f8e]),_0x51ceac=String(((_0x44939e=_0x5e22db['config'])==null?void 0x0:_0x44939e[_0x8d0612(0x5c4)])??'')[_0x8d0612(0x3ce)](),_0xfe4515=(_0x305a38=_0x12dda9[_0x8d0612(0x41d)])==null?void 0x0:_0x305a38[_0x164130];if(_0xfe4515==null)return[];let _0x41513a=_0x12dda9[_0x8d0612(0x2ba)]??Object['keys'](_0x12dda9[_0x8d0612(0x4c9)]),_0x507471=_0x41513a[_0x8d0612(0x4a5)](_0x349403=>{const _0x53a20e=_0x8d0612;var _0x195594;return(_0x195594=_0x12dda9[_0x53a20e(0x5cd)])==null?void 0x0:_0x195594[_0x349403];})[_0x8d0612(0x396)](_0x2a7190=>_0x2a7190!=null);return _0x41513a[_0x8d0612(0x35a)](_0x1316ed=>{const _0x59a3cf=_0x8d0612;var _0x1a6ee9,_0x5026e3;let _0x4c71fc=(_0x1a6ee9=_0x12dda9['rowIndex'])==null?void 0x0:_0x1a6ee9[_0x1316ed];if(_0x4c71fc==null)return[];let _0x3c8206=(_0x5026e3=_0x12dda9['cellData'])==null||(_0x5026e3=_0x5026e3[_0x4c71fc])==null?void 0x0:_0x5026e3[_0xfe4515],_0x5de4e7=_0x51ceac?_0x4c71fc===_0x507471?{'f':_0x51ceac,'si':_0x164130}:{'si':_0x164130}:{'v':null,'t':null};return[this[_0x59a3cf(0x360)](_0x1db9f2[_0x59a3cf(0x61f)](_0x502f8e,_0x4c71fc,_0xfe4515),_0x3c8206,_0x5de4e7)];});}['_setAttachmentResources'](_0x373be1,_0x3fc180,_0x335f4d){const _0x4083f0=_0x36f63a;var _0x3b5765;let _0x29c1fb=new Map(Object['entries'](((_0x3b5765=_0x373be1[_0x4083f0(0x26a)])==null?void 0x0:_0x3b5765['attachmentSets'])??{})),_0x5c0c45=new Map(),_0x5ce536=new Set(),_0x2855c3=_0x335f4d[_0x4083f0(0x4a5)](({recordId:_0x3eaaae,fieldId:_0x17d743,attachments:_0x5d5f0d})=>{const _0x5923aa=_0x4083f0;var _0x5ce8f8;let _0x2ef11a=_0x5d9a67(_0x17d743,_0x3eaaae),_0x2d4af2=_0x5d5f0d[_0x5923aa(0x4a5)]((_0x1e5ef5,_0x412085)=>String(_0x1e5ef5['id']??_0x2ef11a+'\x1f'+_0x412085));return _0x5ce536[_0x5923aa(0x1ce)](_0x2ef11a),_0x29c1fb[_0x5923aa(0x4a9)](_0x2ef11a,_0x2d4af2),_0x5d5f0d[_0x5923aa(0x1bf)]((_0x1b3a84,_0x592525)=>{const _0x204865=_0x5923aa;let _0x36971c=_0x2d4af2[_0x592525];_0x5c0c45[_0x204865(0x4a9)](_0x36971c,{..._0x1b3a84,'id':_0x36971c});}),this[_0x5923aa(0x360)](_0x1db9f2[_0x5923aa(0x5c8)](_0x3fc180,_0x2ef11a),(_0x5ce8f8=_0x373be1[_0x5923aa(0x26a)])==null||(_0x5ce8f8=_0x5ce8f8[_0x5923aa(0x40b)])==null?void 0x0:_0x5ce8f8[_0x2ef11a],_0x2d4af2);}),_0x1fbc6a=Array[_0x4083f0(0x356)](_0x5c0c45)[_0x4083f0(0x4a5)](([_0x14cdf9,_0x715b33])=>{const _0x17cd73=_0x4083f0;var _0x515793;return this[_0x17cd73(0x360)](_0x1db9f2[_0x17cd73(0x4c7)](_0x3fc180,_0x14cdf9),(_0x515793=_0x373be1['resources'])==null||(_0x515793=_0x515793[_0x17cd73(0x249)])==null?void 0x0:_0x515793[_0x14cdf9],_0x715b33);}),_0x131af0=new Set(Array[_0x4083f0(0x356)](_0x29c1fb['values']())[_0x4083f0(0x615)]()),_0x36edc0=new Set(Array[_0x4083f0(0x356)](_0x5ce536)[_0x4083f0(0x35a)](_0x17d475=>{const _0x20d618=_0x4083f0;var _0x32f464;return((_0x32f464=_0x373be1[_0x20d618(0x26a)])==null||(_0x32f464=_0x32f464[_0x20d618(0x40b)])==null?void 0x0:_0x32f464[_0x17d475])??[];})),_0x33520a=Array[_0x4083f0(0x356)](_0x36edc0)['flatMap'](_0xea8040=>{const _0x58a67b=_0x4083f0;var _0x4b13d8;let _0x32ba58=(_0x4b13d8=_0x373be1[_0x58a67b(0x26a)])==null||(_0x4b13d8=_0x4b13d8[_0x58a67b(0x249)])==null?void 0x0:_0x4b13d8[_0xea8040];return _0x32ba58!==void 0x0&&!_0x131af0['has'](_0xea8040)?[_0x26cf17[_0x58a67b(0x2a4)][_0x58a67b(0x427)](_0x1db9f2[_0x58a67b(0x4c7)](_0x3fc180,_0xea8040),_0x32ba58)]:[];});return[..._0x2855c3,..._0x1fbc6a,..._0x33520a];}[_0x36f63a(0x596)](_0x140dc7,_0x542570,_0xe70d15){const _0x3a2a8e=_0x36f63a;var _0x47d2d1;let _0x13c324=((_0x47d2d1=_0x140dc7[_0x3a2a8e(0x26a)])==null?void 0x0:_0x47d2d1[_0x3a2a8e(0x40b)])??{},_0x5ddfd7=Object[_0x3a2a8e(0x443)](_0x13c324)[_0x3a2a8e(0x46a)](([_0x3386de])=>_0xe70d15(_0x3386de));if(!_0x5ddfd7[_0x3a2a8e(0x4cd)])return[];let _0x5360f8=new Set(Object[_0x3a2a8e(0x443)](_0x13c324)[_0x3a2a8e(0x46a)](([_0x23d09a])=>!_0xe70d15(_0x23d09a))[_0x3a2a8e(0x35a)](([,_0x5e10b7])=>_0x5e10b7)),_0x31f047=new Set(_0x5ddfd7['flatMap'](([,_0x40c7fb])=>_0x40c7fb));return[..._0x5ddfd7['map'](([_0x1c9aae,_0x5ca921])=>_0x26cf17[_0x3a2a8e(0x2a4)][_0x3a2a8e(0x427)](_0x1db9f2[_0x3a2a8e(0x5c8)](_0x542570,_0x1c9aae),_0x5ca921)),...Array[_0x3a2a8e(0x356)](_0x31f047)[_0x3a2a8e(0x35a)](_0x5af466=>{const _0xe604df=_0x3a2a8e;var _0xf006a6;let _0x28a4e1=(_0xf006a6=_0x140dc7[_0xe604df(0x26a)])==null||(_0xf006a6=_0xf006a6[_0xe604df(0x249)])==null?void 0x0:_0xf006a6[_0x5af466];return _0x28a4e1!==void 0x0&&!_0x5360f8[_0xe604df(0x2fa)](_0x5af466)?[_0x26cf17['JSON1'][_0xe604df(0x427)](_0x1db9f2[_0xe604df(0x4c7)](_0x542570,_0x5af466),_0x28a4e1)]:[];})];}['_replaceOptional'](_0x4fdbc0,_0x5bf6ba,_0x36118b){const _0x12e192=_0x36f63a;return _0x5bf6ba===void 0x0?_0x26cf17['JSON1'][_0x12e192(0x4b1)](_0x4fdbc0,_0x36118b):_0x26cf17[_0x12e192(0x2a4)][_0x12e192(0x30d)](_0x4fdbc0,_0x5bf6ba,_0x36118b);}};function _0x59b3ef(_0x272376,_0x31cfa6,_0x58587a,_0x1ba17d){const _0x45fe74=_0x36f63a;var _0x4d1377;let _0x5117a4=_0x1ba17d[_0x45fe74(0x5d6)];if(_0x58587a[_0x45fe74(0x5d6)]!==_0x5117a4||_0x5117a4!==_0x26cf17[_0x45fe74(0x22d)][_0x45fe74(0x537)]&&_0x5117a4!==_0x26cf17['BaseFieldType'][_0x45fe74(0x36d)]||_0x4f60f4(_0x1ba17d[_0x45fe74(0x4cc)][_0x45fe74(0x608)]))return{'field':_0x1ba17d,'patches':[]};let _0x520cc6=_0xd3d180(_0x58587a),_0x14bb3b=_0xd3d180(_0x1ba17d);if(![..._0x520cc6]['some'](_0x289472=>!_0x14bb3b['has'](_0x289472)))return{'field':_0x1ba17d,'patches':[]};let _0x44924b=_0x54e989(_0x1ba17d[_0x45fe74(0x4e8)],_0x14bb3b,_0x5117a4),_0x5b7570=_0x1d09b4(_0x44924b,_0x1ba17d[_0x45fe74(0x4e8)])?_0x1ba17d:{..._0x1ba17d,'defaultValue':_0x44924b},_0x53edde=_0x58de72(_0x272376),_0x454d4f=(_0x4d1377=_0x53edde[_0x45fe74(0x41d)])==null?void 0x0:_0x4d1377[_0x31cfa6];return _0x454d4f==null?{'field':_0x5b7570,'patches':[]}:{'field':_0x5b7570,'patches':(_0x53edde[_0x45fe74(0x2ba)]??[])[_0x45fe74(0x35a)](_0x40cd44=>{const _0x344ef9=_0x45fe74;var _0x27ebe6,_0x58fc88;let _0x222055=(_0x27ebe6=_0x53edde[_0x344ef9(0x5cd)])==null?void 0x0:_0x27ebe6[_0x40cd44],_0x4151f7=(_0x58fc88=_0x53edde[_0x344ef9(0x4c9)][_0x40cd44])==null?void 0x0:_0x58fc88[_0x344ef9(0x20f)][_0x31cfa6],_0x1fbdd8=_0x54e989(_0x4151f7,_0x14bb3b,_0x5117a4);return _0x222055==null||_0x1d09b4(_0x1fbdd8,_0x4151f7)?[]:[{'row':_0x222055,'col':_0x454d4f,'value':_0x1fbdd8??null}];})};}function _0x4f60f4(_0x47e54c){return typeof _0x47e54c=='object'&&!!_0x47e54c&&'type'in _0x47e54c&&_0x47e54c['type']==='field';}function _0xd3d180(_0x3d6f43){const _0x5993d4=_0x36f63a;var _0x4bbcb0;let _0x584685=Array[_0x5993d4(0x2c4)]((_0x4bbcb0=_0x3d6f43['config'])==null?void 0x0:_0x4bbcb0[_0x5993d4(0x45b)])?_0x3d6f43[_0x5993d4(0x4cc)][_0x5993d4(0x45b)]:[];return new Set(_0x584685['flatMap'](_0xa9537b=>{const _0x536391=_0x5993d4;if(!_0xa9537b||typeof _0xa9537b!=_0x536391(0x3e4)||!('id'in _0xa9537b))return[];let _0x5e137e=String(_0xa9537b['id']);return _0x5e137e?[_0x5e137e]:[];}));}function _0x54e989(_0x40b862,_0x42c979,_0x5cf2bd){const _0x3a1b82=_0x36f63a;if(_0x40b862==null||_0x40b862==='')return _0x40b862;if(_0x5cf2bd===_0x26cf17[_0x3a1b82(0x22d)]['SingleSelect'])return _0x42c979[_0x3a1b82(0x2fa)](String(_0x40b862))?_0x40b862:null;let _0x2eee13=Array[_0x3a1b82(0x2c4)](_0x40b862)?_0x40b862['map'](String):String(_0x40b862)['split'](',')[_0x3a1b82(0x4a5)](_0x5389ec=>_0x5389ec[_0x3a1b82(0x3ce)]())[_0x3a1b82(0x46a)](Boolean),_0x357700=_0x2eee13[_0x3a1b82(0x46a)](_0x5ba9fc=>_0x42c979['has'](_0x5ba9fc));return _0x357700[_0x3a1b82(0x4cd)]===_0x2eee13[_0x3a1b82(0x4cd)]?_0x40b862:Array[_0x3a1b82(0x2c4)](_0x40b862)?_0x357700:String(_0x40b862)[_0x3a1b82(0x358)](',')?_0x357700[_0x3a1b82(0x241)](','):_0x357700[0x0]??[];}function _0x1d09b4(_0x96dbec,_0x133ecf){const _0x592dc4=_0x36f63a;return JSON[_0x592dc4(0x40a)](_0x96dbec)===JSON['stringify'](_0x133ecf);}function _0x28d135(_0x18e94e,_0x3a6ee2,_0xa3878e){const _0x21220c=_0x36f63a;var _0x4f5013,_0x1d6581,_0x3aa8cc,_0x333908;let _0x550de2=(_0x4f5013=_0x18e94e['rowIndex'])==null?void 0x0:_0x4f5013[_0x3a6ee2],_0x37c097=(_0x1d6581=_0x18e94e[_0x21220c(0x41d)])==null?void 0x0:_0x1d6581[_0xa3878e];return _0x550de2!=null&&_0x37c097!=null&&((_0x3aa8cc=_0x18e94e[_0x21220c(0x51d)])==null?void 0x0:_0x3aa8cc[_0x550de2])===_0x3a6ee2&&((_0x333908=_0x18e94e[_0x21220c(0x3e3)])==null?void 0x0:_0x333908[_0x37c097])===_0xa3878e&&_0x18e94e[_0x21220c(0x61f)]!=null;}function _0x47d9b0(_0x5b1531,_0x3ca8d7,_0x3aebfa){const _0x1e3838=_0x36f63a;var _0x2971ce,_0x1c5486;return((_0x2971ce=_0x5b1531[_0x1e3838(0x51d)])==null?void 0x0:_0x2971ce[_0x3ca8d7])!=null&&((_0x1c5486=_0x5b1531[_0x1e3838(0x3e3)])==null?void 0x0:_0x1c5486[_0x3aebfa])!=null&&_0x5b1531['cellData']!=null;}function _0x50aac3(_0x39ad1b,_0x2a4d33,_0x3015ed){const _0xa85f9b=_0x36f63a;let _0x8c5c24=_0x39ad1b[_0xa85f9b(0x46a)](_0x18a672=>_0x18a672!==_0x2a4d33),_0x39563f=_0x3015ed[_0xa85f9b(0x3bd)]?_0x8c5c24[_0xa85f9b(0x499)](_0x3015ed[_0xa85f9b(0x3bd)]):_0x3015ed['afterFieldId']?_0x8c5c24[_0xa85f9b(0x499)](_0x3015ed[_0xa85f9b(0x566)])+0x1:_0x8c5c24[_0xa85f9b(0x4cd)];return _0x8c5c24[_0xa85f9b(0x614)](_0x39563f<0x0?_0x8c5c24[_0xa85f9b(0x4cd)]:_0x39563f,0x0,_0x2a4d33),_0x8c5c24;}function _0x2147ea(_0x2dbb2e,_0x22d689,_0xe21c3d){const _0x2bf659=_0x36f63a;let _0x412f78=_0x2dbb2e[_0x2bf659(0x46a)](_0x431e2c=>_0x431e2c!==_0x22d689);return _0x412f78[_0x2bf659(0x614)](_0x37acea(_0xe21c3d,_0x412f78[_0x2bf659(0x4cd)]),0x0,_0x22d689),_0x412f78;}function _0x28c236(_0x219c1c,_0x573b80,_0x2384e5){const _0x3da6b7=_0x36f63a;if(Array[_0x3da6b7(0x2c4)](_0x219c1c))return _0x2384e5===_0x3da6b7(0x60e)?_0x219c1c['filter'](_0x20703d=>_0x20703d!==_0x573b80):_0x219c1c[_0x3da6b7(0x35a)](_0x46edc2=>{const _0x3f35cf=_0x3da6b7;if(_0x46edc2&&typeof _0x46edc2==_0x3f35cf(0x3e4)&&!Array[_0x3f35cf(0x2c4)](_0x46edc2)&&_0x46edc2['fieldId']===_0x573b80)return[];let _0x22484c=_0x28c236(_0x46edc2,_0x573b80);return _0x22484c===void 0x0?[]:[_0x22484c];});if(!_0x219c1c||typeof _0x219c1c!=_0x3da6b7(0x3e4))return _0x2384e5!=null&&_0x2384e5['endsWith'](_0x3da6b7(0x34c))&&_0x219c1c===_0x573b80?void 0x0:_0x219c1c;let _0xf08d09=_0x219c1c;if(_0xf08d09[_0x3da6b7(0x39c)]!==_0x573b80)return Object[_0x3da6b7(0x60c)](Object[_0x3da6b7(0x443)](_0xf08d09)['flatMap'](([_0x5a32f8,_0x250135])=>{const _0x300f8d=_0x3da6b7;if(_0x5a32f8===_0x573b80&&_0x2384e5===_0x300f8d(0x47f))return[];let _0x5200dc=_0x28c236(_0x250135,_0x573b80,_0x5a32f8);return _0x5200dc===void 0x0?[]:[[_0x5a32f8,_0x5200dc]];}));}function _0x37acea(_0x4ee2d4,_0x5dc6cd){const _0x5f41d6=_0x36f63a;return Math[_0x5f41d6(0x5a7)](0x0,Math[_0x5f41d6(0x275)](_0x4ee2d4,_0x5dc6cd));}function _0x1b2f2e(_0x49727){'@babel/helpers - typeof';const _0x370744=_0x36f63a;return _0x1b2f2e=typeof Symbol==_0x370744(0x556)&&typeof Symbol[_0x370744(0x59c)]=='symbol'?function(_0x4b473b){return typeof _0x4b473b;}:function(_0x5f1d52){const _0x450781=_0x370744;return _0x5f1d52&&typeof Symbol==_0x450781(0x556)&&_0x5f1d52[_0x450781(0x3a0)]===Symbol&&_0x5f1d52!==Symbol[_0x450781(0x1d5)]?_0x450781(0x2df):typeof _0x5f1d52;},_0x1b2f2e(_0x49727);}function _0x308301(_0x136889,_0x413728){const _0x4bc20f=_0x36f63a;if(_0x1b2f2e(_0x136889)!='object'||!_0x136889)return _0x136889;var _0x4bcfaa=_0x136889[Symbol[_0x4bc20f(0x5f6)]];if(_0x4bcfaa!==void 0x0){var _0x24f07c=_0x4bcfaa[_0x4bc20f(0x5b6)](_0x136889,_0x413728||_0x4bc20f(0x436));if(_0x1b2f2e(_0x24f07c)!=_0x4bc20f(0x3e4))return _0x24f07c;throw TypeError(_0x4bc20f(0x20b));}return(_0x413728===_0x4bc20f(0x4c8)?String:Number)(_0x136889);}function _0x437c70(_0x2940c3){const _0x3a77ab=_0x36f63a;var _0x167822=_0x308301(_0x2940c3,_0x3a77ab(0x4c8));return _0x1b2f2e(_0x167822)==_0x3a77ab(0x2df)?_0x167822:_0x167822+'';}function _0x52a6e5(_0x4c2f5c,_0xce5ffe,_0x237653){const _0x34d18f=_0x36f63a;return(_0xce5ffe=_0x437c70(_0xce5ffe))in _0x4c2f5c?Object[_0x34d18f(0x21a)](_0x4c2f5c,_0xce5ffe,{'value':_0x237653,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4c2f5c[_0xce5ffe]=_0x237653,_0x4c2f5c;}let _0x270bb8=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x4da));var _0x5317ce=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(..._0xf81def){const _0x212474=_0x36f63a;super(..._0xf81def),_0x52a6e5(this,_0x212474(0x47e),new Map());}[_0x36f63a(0x397)](_0xb4eec2){const _0x524e98=_0x36f63a;return this[_0x524e98(0x47e)][_0x524e98(0x4a9)](_0xb4eec2['type'],_0xb4eec2),(0x0,_0x26cf17[_0x524e98(0x3a2)])(()=>this[_0x524e98(0x47e)][_0x524e98(0x346)](_0xb4eec2[_0x524e98(0x5d6)]));}[_0x36f63a(0x558)](_0x92e51a){const _0x8f5b3b=_0x36f63a;let _0x47fa71=this['_plugins']['get'](_0x92e51a);if(!_0x47fa71)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x92e51a+_0x8f5b3b(0x5f8));return _0x47fa71;}[_0x36f63a(0x38e)](_0xa1bcc0){return this['_plugins']['get'](_0xa1bcc0);}[_0x36f63a(0x39a)](){return Array['from'](this['_plugins']['values']());}},_0x5b7cf0=class{constructor(_0x27c59c){const _0x342926=_0x36f63a;this[_0x342926(0x41e)]=_0x27c59c,_0x52a6e5(this,_0x342926(0x5d6),_0xf5110d['UnitObject'][_0x342926(0x285)]),_0x52a6e5(this,_0x342926(0x392),_0xf5110d['UnitAction'][_0x342926(0x49b)]),_0x52a6e5(this,_0x342926(0x545),_0x26cf17[_0x342926(0x3c1)]['INIT']),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x342926(0x5a4),!0x0),this['id']=this[_0x342926(0x5d6)]+'.'+this[_0x342926(0x392)]+'_'+_0x27c59c;}},_0xc1cd75=class{constructor(_0x5d0ff3){const _0x4778ff=_0x36f63a;this[_0x4778ff(0x41e)]=_0x5d0ff3,_0x52a6e5(this,_0x4778ff(0x5d6),_0xf5110d[_0x4778ff(0x4de)][_0x4778ff(0x285)]),_0x52a6e5(this,_0x4778ff(0x392),_0xf5110d[_0x4778ff(0x5d3)][_0x4778ff(0x211)]),_0x52a6e5(this,_0x4778ff(0x545),_0x26cf17[_0x4778ff(0x3c1)][_0x4778ff(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x4778ff(0x5a4),!0x0),this['id']=this[_0x4778ff(0x5d6)]+'.'+this[_0x4778ff(0x392)]+'_'+_0x5d0ff3;}},_0x558a27=class{constructor(_0x2d73a4){const _0x5f3811=_0x36f63a;this[_0x5f3811(0x41e)]=_0x2d73a4,_0x52a6e5(this,_0x5f3811(0x5d6),_0xf5110d[_0x5f3811(0x4de)]['Base']),_0x52a6e5(this,_0x5f3811(0x392),_0xf5110d[_0x5f3811(0x5d3)]['Edit']),_0x52a6e5(this,_0x5f3811(0x545),_0x26cf17['PermissionStatus'][_0x5f3811(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x5f3811(0x5a4),!0x0),this['id']=this[_0x5f3811(0x5d6)]+'.'+this['subType']+'_'+_0x2d73a4;}},_0x5e1181=class{constructor(_0x14cfc7){const _0x23a216=_0x36f63a;this['unitId']=_0x14cfc7,_0x52a6e5(this,_0x23a216(0x5d6),_0xf5110d['UnitObject'][_0x23a216(0x285)]),_0x52a6e5(this,_0x23a216(0x392),_0xf5110d[_0x23a216(0x5d3)][_0x23a216(0x451)]),_0x52a6e5(this,_0x23a216(0x545),_0x26cf17[_0x23a216(0x3c1)][_0x23a216(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x23a216(0x5a4),!0x0),this['id']=this[_0x23a216(0x5d6)]+'.'+this['subType']+'_'+_0x14cfc7;}},_0x2e16f7=class{constructor(_0x56442b,_0x1e018e){const _0xc385c3=_0x36f63a;this['unitId']=_0x56442b,this[_0xc385c3(0x452)]=_0x1e018e,_0x52a6e5(this,_0xc385c3(0x5d6),_0xf5110d[_0xc385c3(0x4de)][_0xc385c3(0x48c)]),_0x52a6e5(this,_0xc385c3(0x392),_0xf5110d[_0xc385c3(0x5d3)]['Edit']),_0x52a6e5(this,_0xc385c3(0x545),_0x26cf17['PermissionStatus'][_0xc385c3(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0xc385c3(0x5a4),!0x0),this['id']=this['type']+'.'+this[_0xc385c3(0x392)]+'_'+_0x56442b+'_'+_0x1e018e;}},_0x52d443=class{constructor(_0x25174c,_0x3a864d){const _0xa6b97c=_0x36f63a;this['unitId']=_0x25174c,this[_0xa6b97c(0x452)]=_0x3a864d,_0x52a6e5(this,_0xa6b97c(0x5d6),_0xf5110d[_0xa6b97c(0x4de)][_0xa6b97c(0x540)]),_0x52a6e5(this,'subType',_0xf5110d[_0xa6b97c(0x5d3)][_0xa6b97c(0x284)]),_0x52a6e5(this,_0xa6b97c(0x545),_0x26cf17[_0xa6b97c(0x3c1)][_0xa6b97c(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0xa6b97c(0x5a4),!0x0),this['id']=this['type']+'.'+this[_0xa6b97c(0x392)]+'_'+_0x25174c+'_'+_0x3a864d;}},_0x529949=class{constructor(_0x293e2f,_0x1ad3e5){const _0x4c6c7c=_0x36f63a;this['unitId']=_0x293e2f,this['objectId']=_0x1ad3e5,_0x52a6e5(this,'type',_0xf5110d[_0x4c6c7c(0x4de)][_0x4c6c7c(0x562)]),_0x52a6e5(this,_0x4c6c7c(0x392),_0xf5110d[_0x4c6c7c(0x5d3)][_0x4c6c7c(0x284)]),_0x52a6e5(this,'status',_0x26cf17[_0x4c6c7c(0x3c1)]['INIT']),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,'value',!0x0),this['id']=this[_0x4c6c7c(0x5d6)]+'.'+this[_0x4c6c7c(0x392)]+'_'+_0x293e2f+'_'+_0x1ad3e5;}},_0x44b1bc=class{constructor(_0xc3bd3,_0xa32028){const _0x516be7=_0x36f63a;this[_0x516be7(0x41e)]=_0xc3bd3,this[_0x516be7(0x452)]=_0xa32028,_0x52a6e5(this,_0x516be7(0x5d6),_0xf5110d[_0x516be7(0x4de)][_0x516be7(0x52c)]),_0x52a6e5(this,_0x516be7(0x392),_0xf5110d['UnitAction']['Edit']),_0x52a6e5(this,_0x516be7(0x545),_0x26cf17[_0x516be7(0x3c1)][_0x516be7(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x516be7(0x5a4),!0x0),this['id']=this[_0x516be7(0x5d6)]+'.'+this[_0x516be7(0x392)]+'_'+_0xc3bd3+'_'+_0xa32028;}},_0x3bb5c6=class{constructor(_0x415b7f,_0x229846){const _0x152f43=_0x36f63a;this[_0x152f43(0x41e)]=_0x415b7f,this[_0x152f43(0x452)]=_0x229846,_0x52a6e5(this,_0x152f43(0x5d6),_0xf5110d['UnitObject'][_0x152f43(0x30e)]),_0x52a6e5(this,'subType',_0xf5110d['UnitAction']['Edit']),_0x52a6e5(this,_0x152f43(0x545),_0x26cf17[_0x152f43(0x3c1)][_0x152f43(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x152f43(0x5a4),!0x0),this['id']=this[_0x152f43(0x5d6)]+'.'+this['subType']+'_'+_0x415b7f+'_'+_0x229846;}};let _0x46e218=[_0xf5110d[_0x36f63a(0x5d3)][_0x36f63a(0x284)],_0xf5110d[_0x36f63a(0x5d3)]['Copy'],_0xf5110d[_0x36f63a(0x5d3)][_0x36f63a(0x451)],_0xf5110d[_0x36f63a(0x5d3)]['Comment']],_0x1f517c=new Set([_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x285)],_0xf5110d['UnitObject'][_0x36f63a(0x52c)],_0xf5110d[_0x36f63a(0x4de)]['BaseField'],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x562)],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x30e)],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x48c)]]),_0x4f06dc=_0x36f63a(0x337),_0x70ee6e=_0x36f63a(0x38d),_0x120ca4=_0x36f63a(0x233),_0x2f1b9c=_0x36f63a(0x55b),_0x26c004=_0x36f63a(0x25e);function _0x1c40e5(_0x32ecba){return''+_0x4f06dc+encodeURIComponent(_0x32ecba);}function _0x32d579(_0x18a07d,_0x573ec9){return''+_0x70ee6e+encodeURIComponent(_0x18a07d)+'/'+encodeURIComponent(_0x573ec9);}function _0x523656(_0x36ec8d,_0x36ec32){return''+_0x120ca4+encodeURIComponent(_0x36ec8d)+'/'+encodeURIComponent(_0x36ec32);}function _0x3b5ace(_0x35e339,_0x5283fd){return''+_0x2f1b9c+encodeURIComponent(_0x35e339)+'/'+encodeURIComponent(_0x5283fd);}function _0x498862(_0x255022){return''+_0x26c004+encodeURIComponent(_0x255022);}function _0x353921(_0xe70dc6,_0x34f868,_0x1a5b82){const _0x23447f=_0x36f63a;if(_0x34f868===_0xe70dc6)switch(_0x1a5b82){case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x284)]:return new _0x558a27(_0xe70dc6);case _0xf5110d['UnitAction'][_0x23447f(0x211)]:return new _0xc1cd75(_0xe70dc6);case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x451)]:return new _0x5e1181(_0xe70dc6);case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x49b)]:return new _0x5b7cf0(_0xe70dc6);default:throw Error(_0x23447f(0x585)+_0x1a5b82);}if(_0x1a5b82!==_0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x284)])throw Error(_0x23447f(0x573)+_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x4f06dc))return new _0x44b1bc(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x70ee6e))return new _0x52d443(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x120ca4))return new _0x529949(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x2f1b9c))return new _0x3bb5c6(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x26c004))return new _0x2e16f7(_0xe70dc6,_0x34f868);throw Error(_0x23447f(0x381)+_0x34f868);}function _0x3139d7(_0x37aa15,_0x133331,_0x54c5c5,_0x481cff){const _0x49f91e=_0x36f63a;var _0x4adcf5;return((_0x4adcf5=_0x37aa15[_0x49f91e(0x2da)](_0x353921(_0x133331,_0x54c5c5,_0x481cff)['id']))==null?void 0x0:_0x4adcf5['value'])??!0x0;}function _0x1874b2(_0x136ba5,_0x79afd6,_0xea3e55,_0x1984f8,_0x2ca027){const _0x804f42=_0x36f63a;let _0x643b42=_0x353921(_0x79afd6,_0xea3e55,_0x1984f8);_0x136ba5['getPermissionPoint'](_0x643b42['id'])||_0x136ba5[_0x804f42(0x5f9)](_0x643b42),_0x136ba5[_0x804f42(0x3ff)](_0x643b42['id'],_0x2ca027);}function _0x430a5f(_0x13b48d,_0x154012,_0x1ea12d,_0x3ddfed){const _0x3fd00d=_0x36f63a;_0x13b48d[_0x3fd00d(0x412)](_0x353921(_0x154012,_0x1ea12d,_0x3ddfed)['id']);}function _0x26786d(_0x6d8676,_0x119651){const _0x3416b5=_0x36f63a;_0x6d8676[_0x3416b5(0x559)]()[_0x3416b5(0x1bf)]((_0x40e546,_0x13e757)=>{const _0x3003ed=_0x3416b5;_0x40e546['subscribe'](_0xd46cfb=>{const _0x17f9a8=_0x45c5;_0x1f517c[_0x17f9a8(0x2fa)](_0xd46cfb[_0x17f9a8(0x5d6)])&&_0x17f9a8(0x41e)in _0xd46cfb&&_0xd46cfb['unitId']===_0x119651&&_0x6d8676[_0x17f9a8(0x412)](_0x13e757);})[_0x3003ed(0x2ad)]();});}function _0x2c4137(_0x1b6e49,_0x31db6a,_0x55d000){const _0x678041=_0x36f63a;return _0x3139d7(_0x1b6e49,_0x31db6a,_0x31db6a,_0xf5110d[_0x678041(0x5d3)]['Edit'])&&Array['from'](_0x55d000)['every'](_0x515c69=>_0x3139d7(_0x1b6e49,_0x31db6a,_0x515c69,_0xf5110d[_0x678041(0x5d3)][_0x678041(0x284)]));}function _0x5712fb(_0x35bc3b,_0x4fbdf9){return function(_0x100ca6,_0x45d768){_0x4fbdf9(_0x100ca6,_0x45d768,_0x35bc3b);};}function _0x184c3d(_0x8b3be3,_0x2d98e3,_0x156f25,_0x354733){const _0xc92324=_0x36f63a;var _0x5f186c=arguments[_0xc92324(0x4cd)],_0x4020c3=_0x5f186c<0x3?_0x2d98e3:_0x354733===null?_0x354733=Object[_0xc92324(0x5e2)](_0x2d98e3,_0x156f25):_0x354733,_0x1c6652;if(typeof Reflect==_0xc92324(0x3e4)&&typeof Reflect[_0xc92324(0x3e0)]==_0xc92324(0x556))_0x4020c3=Reflect[_0xc92324(0x3e0)](_0x8b3be3,_0x2d98e3,_0x156f25,_0x354733);else{for(var _0x175018=_0x8b3be3[_0xc92324(0x4cd)]-0x1;_0x175018>=0x0;_0x175018--)(_0x1c6652=_0x8b3be3[_0x175018])&&(_0x4020c3=(_0x5f186c<0x3?_0x1c6652(_0x4020c3):_0x5f186c>0x3?_0x1c6652(_0x2d98e3,_0x156f25,_0x4020c3):_0x1c6652(_0x2d98e3,_0x156f25))||_0x4020c3);}return _0x5f186c>0x3&&_0x4020c3&&Object['defineProperty'](_0x2d98e3,_0x156f25,_0x4020c3),_0x4020c3;}let _0x55f82b=(0x0,_0x26cf17['createIdentifier'])(_0x36f63a(0x2ee)),_0x57d557=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x17bd85,_0x5b9a84){const _0x3b4c25=_0x36f63a;super(),this[_0x3b4c25(0x377)]=_0x17bd85,this[_0x3b4c25(0x58e)]=_0x5b9a84,_0x52a6e5(this,_0x3b4c25(0x587),new Map()),_0x52a6e5(this,_0x3b4c25(0x2fe),new Map()),_0x52a6e5(this,_0x3b4c25(0x33e),new Map()),_0x52a6e5(this,'_recordPermissions',new Map()),_0x52a6e5(this,_0x3b4c25(0x41b),new Map()),_0x52a6e5(this,_0x3b4c25(0x56d),new Map()),this[_0x3b4c25(0x492)](this['_instanceService'][_0x3b4c25(0x4b7)](_0x26cf17[_0x3b4c25(0x1ef)][_0x3b4c25(0x440)])[_0x3b4c25(0x455)](_0x42736=>this[_0x3b4c25(0x2f3)](_0x42736[_0x3b4c25(0x4f5)]())));}[_0x36f63a(0x2c0)](_0x40e603){const _0x573a4b=_0x36f63a;var _0x683dd4;return this[_0x573a4b(0x2e1)](_0x40e603,[])&&(((_0x683dd4=this[_0x573a4b(0x587)][_0x573a4b(0x558)](_0x40e603))==null?void 0x0:_0x683dd4[_0x573a4b(0x4af)])??!0x0);}['canEditTable'](_0x48724d){const _0x342bf7=_0x36f63a;return this[_0x342bf7(0x38b)](_0x48724d);}[_0x36f63a(0x4fc)](_0x544995){const _0x4f5e06=_0x36f63a;var _0x4149d6;return this[_0x4f5e06(0x38b)](_0x544995)&&(((_0x4149d6=this[_0x4f5e06(0x2fe)][_0x4f5e06(0x558)](_0x544995))==null?void 0x0:_0x4149d6['delete'])??!0x0);}[_0x36f63a(0x1d9)](_0x112b82){const _0x51ecba=_0x36f63a;var _0x46ceb7;return this['_canEditTable'](_0x112b82)&&(((_0x46ceb7=this['_tablePermissions'][_0x51ecba(0x558)](_0x112b82))==null?void 0x0:_0x46ceb7[_0x51ecba(0x5b3)])??!0x0);}[_0x36f63a(0x3a7)](_0x594f50,_0x500286){const _0x498bed=_0x36f63a;var _0x1bacf7;return this['_canEditTable'](_0x594f50)&&this[_0x498bed(0x2e1)](_0x594f50,[_0x32d579(_0x594f50,_0x500286)])&&(((_0x1bacf7=this[_0x498bed(0x33e)]['get'](_0x14ea76(_0x594f50,_0x500286)))==null?void 0x0:_0x1bacf7[_0x498bed(0x1f7)])??!0x0);}[_0x36f63a(0x4ce)](_0x42dbdc,_0x1a5e74){const _0x5a3614=_0x36f63a;var _0xa1f9b7;return this['canEditField'](_0x42dbdc,_0x1a5e74)&&(((_0xa1f9b7=this['_fieldPermissions'][_0x5a3614(0x558)](_0x14ea76(_0x42dbdc,_0x1a5e74)))==null?void 0x0:_0xa1f9b7[_0x5a3614(0x346)])??!0x0);}[_0x36f63a(0x41c)](_0x459aa3){const _0x28469e=_0x36f63a;var _0x4052a4;return this[_0x28469e(0x38b)](_0x459aa3)&&(((_0x4052a4=this[_0x28469e(0x2fe)][_0x28469e(0x558)](_0x459aa3))==null?void 0x0:_0x4052a4[_0x28469e(0x276)])??!0x0);}[_0x36f63a(0x590)](_0xed430f,_0x297890){const _0x422704=_0x36f63a;var _0x12edc9;let _0xff3250=this['_recordPermissions'][_0x422704(0x558)](_0x1ddd07(_0xed430f,_0x297890));return this[_0x422704(0x2e1)](_0xed430f,[_0x1c40e5(_0xed430f),_0x523656(_0xed430f,_0x297890)])&&(((_0x12edc9=this['_tablePermissions'][_0x422704(0x558)](_0xed430f))==null?void 0x0:_0x12edc9[_0x422704(0x1f7)])??!0x0)&&((_0xff3250==null?void 0x0:_0xff3250[_0x422704(0x1f7)])??!0x0)&&((_0xff3250==null?void 0x0:_0xff3250[_0x422704(0x4f6)])??!0x0);}[_0x36f63a(0x2d5)](_0x28fe89,_0xbfb5a6){const _0xe4b83=_0x36f63a;var _0x49cf57,_0xc735a6,_0x1da305;return this[_0xe4b83(0x2e1)](_0x28fe89,[_0x1c40e5(_0x28fe89),_0x523656(_0x28fe89,_0xbfb5a6)])&&(((_0x49cf57=this[_0xe4b83(0x2fe)][_0xe4b83(0x558)](_0x28fe89))==null?void 0x0:_0x49cf57[_0xe4b83(0x1f7)])??!0x0)&&(((_0xc735a6=this[_0xe4b83(0x45a)][_0xe4b83(0x558)](_0x1ddd07(_0x28fe89,_0xbfb5a6)))==null?void 0x0:_0xc735a6[_0xe4b83(0x1f7)])??!0x0)&&(((_0x1da305=this[_0xe4b83(0x45a)][_0xe4b83(0x558)](_0x1ddd07(_0x28fe89,_0xbfb5a6)))==null?void 0x0:_0x1da305['delete'])??!0x0);}[_0x36f63a(0x1a2)](_0x263381,_0x1eba22,_0x59d483){const _0x11e696=_0x36f63a;var _0x177c18,_0x166ceb,_0x23990d;let _0x102f3b=this[_0x11e696(0x33e)][_0x11e696(0x558)](_0x14ea76(_0x263381,_0x59d483));return this[_0x11e696(0x2e1)](_0x263381,[_0x1c40e5(_0x263381),_0x32d579(_0x263381,_0x59d483),_0x523656(_0x263381,_0x1eba22)])&&(((_0x177c18=this['_tablePermissions']['get'](_0x263381))==null?void 0x0:_0x177c18[_0x11e696(0x1f7)])??!0x0)&&(((_0x166ceb=this[_0x11e696(0x45a)][_0x11e696(0x558)](_0x1ddd07(_0x263381,_0x1eba22)))==null?void 0x0:_0x166ceb[_0x11e696(0x1f7)])??!0x0)&&(((_0x23990d=this['_recordPermissions']['get'](_0x1ddd07(_0x263381,_0x1eba22)))==null?void 0x0:_0x23990d[_0x11e696(0x4f6)])??!0x0)&&((_0x102f3b==null?void 0x0:_0x102f3b[_0x11e696(0x1f7)])??!0x0)&&((_0x102f3b==null?void 0x0:_0x102f3b[_0x11e696(0x4f6)])??!0x0);}[_0x36f63a(0x47c)](_0x133f33,_0xee8f2c){const _0x257db1=_0x36f63a;var _0x3730c9,_0x465046,_0x532411;return this[_0x257db1(0x2e1)](_0x133f33,[_0x1c40e5(_0x133f33),_0x3b5ace(_0x133f33,_0xee8f2c)])&&(((_0x3730c9=this[_0x257db1(0x2fe)]['get'](_0x133f33))==null?void 0x0:_0x3730c9['edit'])??!0x0)&&(((_0x465046=this[_0x257db1(0x41b)][_0x257db1(0x558)](_0x2b72d2(_0x133f33,_0xee8f2c)))==null?void 0x0:_0x465046[_0x257db1(0x1f7)])??!0x0)&&(((_0x532411=this['_tablePermissions'][_0x257db1(0x558)](_0x133f33))==null?void 0x0:_0x532411[_0x257db1(0x5b2)])??!0x0);}['setBasePermission'](_0xdf33a,_0x1797b2){const _0x1bff74=_0x36f63a;this[_0x1bff74(0x587)][_0x1bff74(0x4a9)](_0xdf33a,{...this[_0x1bff74(0x587)][_0x1bff74(0x558)](_0xdf33a),..._0x1797b2}),_0x1797b2['edit']!==void 0x0&&_0x1874b2(this[_0x1bff74(0x377)],_0xdf33a,_0xdf33a,_0xf5110d[_0x1bff74(0x5d3)][_0x1bff74(0x284)],_0x1797b2[_0x1bff74(0x1f7)]);}[_0x36f63a(0x34b)](_0x488c26,_0x471ae2){const _0x3f46b5=_0x36f63a;this[_0x3f46b5(0x4dc)](_0x488c26),this[_0x3f46b5(0x2fe)][_0x3f46b5(0x4a9)](_0x488c26,{...this[_0x3f46b5(0x2fe)][_0x3f46b5(0x558)](_0x488c26),..._0x471ae2}),this[_0x3f46b5(0x321)](_0x488c26,_0x1c40e5(_0x488c26),_0x471ae2[_0x3f46b5(0x1f7)]);}[_0x36f63a(0x291)](_0x525de0,_0xca0c62,_0x4457b4){const _0x1d1bcb=_0x36f63a;this[_0x1d1bcb(0x4dc)](_0x525de0);let _0x1992b7=_0x14ea76(_0x525de0,_0xca0c62);this['_fieldPermissions'][_0x1d1bcb(0x4a9)](_0x1992b7,{...this['_fieldPermissions']['get'](_0x1992b7),..._0x4457b4}),this[_0x1d1bcb(0x321)](_0x525de0,_0x32d579(_0x525de0,_0xca0c62),_0x4457b4['edit']);}['setRecordPermission'](_0x27939f,_0x3145fc,_0x5364c0){const _0x5bc657=_0x36f63a;this[_0x5bc657(0x4dc)](_0x27939f);let _0x3e6217=_0x1ddd07(_0x27939f,_0x3145fc);this[_0x5bc657(0x45a)][_0x5bc657(0x4a9)](_0x3e6217,{...this[_0x5bc657(0x45a)][_0x5bc657(0x558)](_0x3e6217),..._0x5364c0}),this[_0x5bc657(0x321)](_0x27939f,_0x523656(_0x27939f,_0x3145fc),_0x5364c0['edit']);}['setViewPermission'](_0x16418b,_0x4f5e05,_0x5b8f5a){const _0x48c622=_0x36f63a;this[_0x48c622(0x4dc)](_0x16418b);let _0x2050db=_0x2b72d2(_0x16418b,_0x4f5e05);this[_0x48c622(0x41b)][_0x48c622(0x4a9)](_0x2050db,{...this['_viewPermissions'][_0x48c622(0x558)](_0x2050db),..._0x5b8f5a}),this['_setObjectEdit'](_0x16418b,_0x3b5ace(_0x16418b,_0x4f5e05),_0x5b8f5a[_0x48c622(0x1f7)]);}['clearBasePermission'](_0x1eb616){const _0x3bcb1c=_0x36f63a;this[_0x3bcb1c(0x587)][_0x3bcb1c(0x346)](_0x1eb616),_0x430a5f(this[_0x3bcb1c(0x377)],_0x1eb616,_0x1eb616,_0xf5110d['UnitAction'][_0x3bcb1c(0x284)]);}['clearTablePermission'](_0xb0b757){const _0x42e000=_0x36f63a;this[_0x42e000(0x2fe)][_0x42e000(0x346)](_0xb0b757),this[_0x42e000(0x3da)](_0xb0b757,_0x1c40e5(_0xb0b757));}[_0x36f63a(0x61c)](_0x5b19ed,_0x19137a){const _0x43815b=_0x36f63a;this['_fieldPermissions'][_0x43815b(0x346)](_0x14ea76(_0x5b19ed,_0x19137a)),this[_0x43815b(0x3da)](_0x5b19ed,_0x32d579(_0x5b19ed,_0x19137a));}['clearRecordPermission'](_0x57dc1e,_0x4302e7){const _0x11d3f2=_0x36f63a;this[_0x11d3f2(0x45a)]['delete'](_0x1ddd07(_0x57dc1e,_0x4302e7)),this['_clearObjectEdit'](_0x57dc1e,_0x523656(_0x57dc1e,_0x4302e7));}[_0x36f63a(0x409)](_0x5656e8,_0x361451){const _0x5b3331=_0x36f63a;this[_0x5b3331(0x41b)][_0x5b3331(0x346)](_0x2b72d2(_0x5656e8,_0x361451)),this[_0x5b3331(0x3da)](_0x5656e8,_0x3b5ace(_0x5656e8,_0x361451));}[_0x36f63a(0x509)](){const _0x2f4131=_0x36f63a;return{'bases':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x587)]),'tables':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x2fe)]),'fields':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x33e)]),'records':Object[_0x2f4131(0x60c)](this['_recordPermissions']),'views':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x41b)])};}[_0x36f63a(0x38b)](_0x3ee81e){const _0x43f74a=_0x36f63a;var _0x227a34;return this[_0x43f74a(0x2e1)](_0x3ee81e,[_0x1c40e5(_0x3ee81e)])&&(((_0x227a34=this[_0x43f74a(0x2fe)][_0x43f74a(0x558)](_0x3ee81e))==null?void 0x0:_0x227a34[_0x43f74a(0x1f7)])??!0x0);}[_0x36f63a(0x2e1)](_0x400023,_0x3f73d1){const _0x2f6dbc=_0x36f63a;var _0x169b3f;let _0x224833=this[_0x2f6dbc(0x5b8)](_0x400023);return!_0x224833||_0x2c4137(this['_permissionService'],_0x224833,_0x3f73d1)&&(((_0x169b3f=this[_0x2f6dbc(0x587)][_0x2f6dbc(0x558)](_0x224833))==null?void 0x0:_0x169b3f[_0x2f6dbc(0x1f7)])??!0x0);}[_0x36f63a(0x321)](_0x226338,_0x5aa7e6,_0x390925){const _0x4d62a0=_0x36f63a;if(_0x390925===void 0x0)return;let _0x3c9adb=this[_0x4d62a0(0x5b8)](_0x226338);_0x3c9adb&&_0x1874b2(this[_0x4d62a0(0x377)],_0x3c9adb,_0x5aa7e6,_0xf5110d[_0x4d62a0(0x5d3)][_0x4d62a0(0x284)],_0x390925);}[_0x36f63a(0x3da)](_0x131af8,_0x2569dc){const _0x362e62=_0x36f63a;let _0x2909b8=this[_0x362e62(0x5b8)](_0x131af8);_0x2909b8&&_0x430a5f(this[_0x362e62(0x377)],_0x2909b8,_0x2569dc,_0xf5110d[_0x362e62(0x5d3)]['Edit']);}['_resolveBaseId'](_0x5c1730){const _0x31e150=_0x36f63a;var _0x48803b;let _0x800714=this[_0x31e150(0x58e)][_0x31e150(0x2e3)](_0x5c1730,_0x26cf17[_0x31e150(0x1ef)]['UNIVER_BASE']);return _0x800714?_0x800714[_0x31e150(0x4f5)]():(_0x48803b=this[_0x31e150(0x58e)][_0x31e150(0x1c0)](_0x26cf17[_0x31e150(0x1ef)][_0x31e150(0x440)])['find'](_0x13e86d=>!!_0x13e86d[_0x31e150(0x509)]()[_0x31e150(0x594)][_0x5c1730]))==null?void 0x0:_0x48803b[_0x31e150(0x4f5)]();}[_0x36f63a(0x4dc)](_0x7e0d2c){const _0x4f6667=_0x36f63a;let _0x2c16c5=this['_resolveBaseId'](_0x7e0d2c);_0x2c16c5&&this[_0x4f6667(0x56d)][_0x4f6667(0x4a9)](_0x7e0d2c,_0x2c16c5);}[_0x36f63a(0x2f3)](_0x459388){const _0x4407ae=_0x36f63a;this[_0x4407ae(0x587)][_0x4407ae(0x346)](_0x459388),this['_tableBaseIds'][_0x4407ae(0x1bf)]((_0x2f7279,_0x2a6e71)=>{const _0x1ec718=_0x4407ae;_0x2f7279===_0x459388&&(this[_0x1ec718(0x2fe)]['delete'](_0x2a6e71),_0x2489f6(this[_0x1ec718(0x33e)],_0x2a6e71+'\x1f'),_0x2489f6(this['_recordPermissions'],_0x2a6e71+'\x1f'),_0x2489f6(this['_viewPermissions'],_0x2a6e71+'\x1f'),this['_tableBaseIds'][_0x1ec718(0x346)](_0x2a6e71));});}};_0x57d557=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x5d0)]),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x4a8)])],_0x57d557);function _0x2489f6(_0x1f3881,_0x4aca95){_0x1f3881['forEach']((_0x38a7ec,_0x3d898d)=>{const _0x315202=_0x45c5;_0x3d898d[_0x315202(0x57d)](_0x4aca95)&&_0x1f3881[_0x315202(0x346)](_0x3d898d);});}function _0x14ea76(_0x4c452b,_0x463489){return _0x4c452b+'\x1f'+_0x463489;}function _0x1ddd07(_0x508ef9,_0x58184e){return _0x508ef9+'\x1f'+_0x58184e;}function _0x2b72d2(_0x3e5c91,_0x5acec3){return _0x3e5c91+'\x1f'+_0x5acec3;}let _0x10f260=(0x0,_0x26cf17['createIdentifier'])(_0x36f63a(0x204)),_0x2c090c=class{constructor(_0x1c66bc,_0x5cdd66=_0x30a3da(),_0x423e15={}){const _0x126b7c=_0x36f63a;this[_0x126b7c(0x377)]=_0x1c66bc,this[_0x126b7c(0x454)]=_0x5cdd66,this[_0x126b7c(0x4a3)]=_0x423e15,_0x52a6e5(this,_0x126b7c(0x482),new _0x3c2e91()),_0x52a6e5(this,_0x126b7c(0x1e6),new _0x5070bf());}[_0x36f63a(0x4af)](_0x38ba51,_0x461ac1,_0x551ac5){const _0x185f70=_0x36f63a;if(!this[_0x185f70(0x377)][_0x185f70(0x2c0)](_0x38ba51[_0x185f70(0x4f5)]()))throw Error(_0x185f70(0x531));(0x0,_0x26cf17[_0x185f70(0x1a3)])(_0x461ac1),this['_apply'](_0x38ba51,this['_factory'][_0x185f70(0x4af)](_0x38ba51[_0x185f70(0x509)](),_0x461ac1,_0x551ac5));}[_0x36f63a(0x437)](_0x3df754,_0x553b48,_0x1b78b9){const _0x3943bb=_0x36f63a;if(!this[_0x3943bb(0x377)][_0x3943bb(0x444)](_0x553b48))throw Error(_0x3943bb(0x2ef));this[_0x3943bb(0x404)](_0x3df754,this[_0x3943bb(0x482)][_0x3943bb(0x437)](_0x3df754['getSnapshot'](),_0x553b48,_0x1b78b9));}[_0x36f63a(0x3b1)](_0x59c012,_0x2aa4b7){const _0x37e49f=_0x36f63a;if(!this['_permissionService'][_0x37e49f(0x4fc)](_0x2aa4b7))throw Error(_0x37e49f(0x1b0));let _0x459fd0=_0x283ed9(_0x59c012[_0x37e49f(0x509)](),_0x2aa4b7);if(_0x459fd0[_0x37e49f(0x4cd)]>0x0)throw Error(_0x37e49f(0x1c4)+_0x459fd0['map'](_0x4b4e1e=>_0x4b4e1e[_0x37e49f(0x353)]+'.'+_0x4b4e1e['fieldId'])['join'](',\x20')+').');this['_apply'](_0x59c012,this[_0x37e49f(0x482)]['deleteTable'](_0x59c012[_0x37e49f(0x509)](),_0x2aa4b7));}['updateCell'](_0x45f430,_0x5e2ac9,_0xdcc8cf,_0x5d47dc,_0xd33966){const _0x4e2a8c=_0x36f63a;this['_apply'](_0x45f430,this[_0x4e2a8c(0x3d9)](_0x45f430,_0x5e2ac9,_0xdcc8cf,_0x5d47dc,_0xd33966));}[_0x36f63a(0x2e0)](_0x40e01c,_0x3449f4,_0x1bacfb){const _0x3deebb=_0x36f63a;this[_0x3deebb(0x404)](_0x40e01c,this['createSetRecordValuesOp'](_0x40e01c,_0x3449f4,_0x1bacfb));}[_0x36f63a(0x276)](_0x5720,_0x5af3c0,_0xbfe019){const _0x3b02d4=_0x36f63a;this['_apply'](_0x5720,this[_0x3b02d4(0x55f)](_0x5720,_0x5af3c0,_0xbfe019));}[_0x36f63a(0x3d9)](_0x4d0366,_0x531dd6,_0x753325,_0x46fb51,_0x357ea4){const _0x24df56=_0x36f63a;let _0x2135d3=_0x4d0366['getSnapshot'](),_0x469cc4=this[_0x24df56(0x1ba)](_0x2135d3,_0x531dd6,_0x753325,_0x46fb51,_0x357ea4),_0x4c7b2a=this[_0x24df56(0x47d)](_0x2135d3,_0x531dd6,_0x753325,{[_0x46fb51]:_0x469cc4});return this['_factory'][_0x24df56(0x2e0)](_0x2135d3,_0x531dd6,[_0x4c7b2a]);}[_0x36f63a(0x3a5)](_0x35edf1,_0x41db07,_0x53838b){const _0x520d2d=_0x36f63a;let _0x959d07=_0x35edf1['getSnapshot'](),_0x3238c8=_0x53838b[_0x520d2d(0x4a5)](_0x4fc706=>this[_0x520d2d(0x47d)](_0x959d07,_0x41db07,_0x4fc706[_0x520d2d(0x571)],{...Object[_0x520d2d(0x60c)](Object['entries'](_0x4fc706[_0x520d2d(0x20f)])[_0x520d2d(0x4a5)](([_0x5b368a,_0x3f345b])=>[_0x5b368a,this[_0x520d2d(0x1ba)](_0x959d07,_0x41db07,_0x4fc706[_0x520d2d(0x571)],_0x5b368a,_0x3f345b)]))}));return this[_0x520d2d(0x482)]['setRecordValues'](_0x959d07,_0x41db07,_0x3238c8);}['createCreateRecordOp'](_0x717a7b,_0x21ee37,_0x15d930){const _0x1b34e6=_0x36f63a;if(!this[_0x1b34e6(0x377)][_0x1b34e6(0x41c)](_0x21ee37))throw Error(_0x1b34e6(0x367));let _0x2ab274=_0x717a7b[_0x1b34e6(0x509)](),_0x51de05=this[_0x1b34e6(0x4ab)](_0x2ab274[_0x1b34e6(0x594)][_0x21ee37]);return this[_0x1b34e6(0x482)][_0x1b34e6(0x276)](_0x2ab274,_0x21ee37,this['_createRecordWithDefaults'](_0x2ab274,_0x21ee37,_0x15d930,_0x51de05));}[_0x36f63a(0x47b)](_0x44d707,_0x149b43,_0x221500){const _0x2e480d=_0x36f63a;if(!this['_permissionService'][_0x2e480d(0x41c)](_0x149b43))throw Error(_0x2e480d(0x367));let _0x5a555a=_0x44d707[_0x2e480d(0x509)]();return _0xdade1e('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x132250=_0x2e480d;let _0xa2ff37=this[_0x132250(0x4ab)](_0x5a555a[_0x132250(0x594)][_0x149b43]);return this[_0x132250(0x482)]['createRecords'](_0x5a555a,_0x149b43,_0x221500[_0x132250(0x4a5)](_0x10a3ba=>this[_0x132250(0x1db)](_0x5a555a,_0x149b43,_0x10a3ba,_0xa2ff37)));},{'existingRecords':Object['keys'](_0x5a555a[_0x2e480d(0x594)][_0x149b43]['records'])['length'],'records':_0x221500[_0x2e480d(0x4cd)]});}[_0x36f63a(0x48a)](_0x3b6838,_0x4b98d9,_0x11490a,_0x489783,_0x5c9f72){const _0x3fb39f=_0x36f63a;if(!this[_0x3fb39f(0x377)][_0x3fb39f(0x1d9)](_0x4b98d9))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x1f4537=_0x3b6838[_0x3fb39f(0x509)]();if(this[_0x3fb39f(0x44f)](_0x1f4537,_0x11490a),_0x489783===0x0)throw Error(_0x3fb39f(0x2b5));let _0x3b10f6=this[_0x3fb39f(0x482)][_0x3fb39f(0x5b3)](_0x1f4537,_0x4b98d9,{'field':_0x11490a,'index':_0x489783,'viewIndexes':_0x5c9f72}),_0x28761f=this[_0x3fb39f(0x2f0)](_0x1f4537,_0x4b98d9,_0x11490a);if(!_0x28761f[_0x3fb39f(0x4cd)])return _0x3b10f6;let _0xd71b1a=this[_0x3fb39f(0x1e6)][_0x3fb39f(0x4ad)](_0x1f4537,_0x3b10f6);return _0x396f18([_0x3b10f6,this[_0x3fb39f(0x482)][_0x3fb39f(0x2e0)](_0xd71b1a,_0x4b98d9,_0x28761f)]);}[_0x36f63a(0x255)](_0x42a13f,_0x360b44,_0x4ce3c0){const _0x5bab7e=_0x36f63a;if(!this[_0x5bab7e(0x377)]['canDeleteRecord'](_0x360b44,_0x4ce3c0))throw Error(_0x5bab7e(0x48f));this[_0x5bab7e(0x404)](_0x42a13f,this[_0x5bab7e(0x482)][_0x5bab7e(0x255)](_0x42a13f[_0x5bab7e(0x509)](),_0x360b44,_0x4ce3c0));}[_0x36f63a(0x48d)](_0xff3ea0,_0x26f4a1,_0x17a494,_0x329533){const _0x195dc3=_0x36f63a;if(!this[_0x195dc3(0x377)][_0x195dc3(0x41c)](_0x26f4a1))throw Error(_0x195dc3(0x367));this[_0x195dc3(0x404)](_0xff3ea0,this[_0x195dc3(0x482)]['duplicateRecord'](_0xff3ea0[_0x195dc3(0x509)](),_0x26f4a1,_0x17a494,{..._0x329533,'values':{..._0x329533[_0x195dc3(0x20f)],[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x329533['id']}}));}['updateRecordOrder'](_0x5d5a40,_0x1cf0c9,_0x4d5f0e,_0x34ad83){const _0x4eb09d=_0x36f63a;if(!this[_0x4eb09d(0x377)][_0x4eb09d(0x590)](_0x1cf0c9,_0x4d5f0e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record.');this[_0x4eb09d(0x404)](_0x5d5a40,this[_0x4eb09d(0x482)][_0x4eb09d(0x5bb)](_0x5d5a40[_0x4eb09d(0x509)](),_0x1cf0c9,_0x4d5f0e,_0x34ad83));}[_0x36f63a(0x5b3)](_0x1708bb,_0x31a573,_0x1b5b0b,_0x4ac937,_0x4fd5b7){const _0x548d7a=_0x36f63a;this[_0x548d7a(0x404)](_0x1708bb,this[_0x548d7a(0x48a)](_0x1708bb,_0x31a573,_0x1b5b0b,_0x4ac937,_0x4fd5b7));}[_0x36f63a(0x4f8)](_0x59638e,_0x5b636e,_0x2eb2f8,_0x4d3c63){const _0x111353=_0x36f63a;var _0x17481c;if(!this[_0x111353(0x377)][_0x111353(0x3a7)](_0x5b636e,_0x2eb2f8))throw Error(_0x111353(0x5f0));let _0x100e38=_0x59638e[_0x111353(0x509)](),_0x3c4267=(_0x17481c=_0x100e38[_0x111353(0x594)][_0x5b636e])==null?void 0x0:_0x17481c[_0x111353(0x458)][_0x2eb2f8];if(!_0x3c4267||_0x2eb2f8===_0x26cf17[_0x111353(0x478)])throw Error(_0x111353(0x317));this[_0x111353(0x44f)](_0x100e38,{..._0x3c4267,..._0x4d3c63}),this[_0x111353(0x404)](_0x59638e,this[_0x111353(0x482)]['updateField'](_0x100e38,_0x5b636e,_0x2eb2f8,_0x4d3c63));}['changeFieldType'](_0x5c73b3,_0x1ed490,_0x251d07,_0x2d0788){const _0x4740ce=_0x36f63a;var _0x53652e;if(!this[_0x4740ce(0x377)][_0x4740ce(0x3a7)](_0x1ed490,_0x251d07))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x1acee2=_0x5c73b3['getSnapshot'](),_0x1bd605=(_0x53652e=_0x1acee2[_0x4740ce(0x594)][_0x1ed490])==null?void 0x0:_0x53652e[_0x4740ce(0x458)][_0x251d07];if(!_0x1bd605||_0x251d07===_0x26cf17[_0x4740ce(0x478)])throw Error(_0x4740ce(0x368));this[_0x4740ce(0x44f)](_0x1acee2,{..._0x1bd605,..._0x2d0788}),this[_0x4740ce(0x404)](_0x5c73b3,this['_factory'][_0x4740ce(0x1c7)](_0x1acee2,_0x1ed490,_0x251d07,_0x2d0788));}[_0x36f63a(0x4e9)](_0x188001,_0xc0900e,_0x5941b0){const _0x9057d8=_0x36f63a;var _0x46cadb;if(((_0x46cadb=_0x188001[_0x9057d8(0x509)]()[_0x9057d8(0x594)][_0xc0900e])==null?void 0x0:_0x46cadb[_0x9057d8(0x5ce)])===_0x5941b0||_0x5941b0===_0x26cf17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x9057d8(0x43f));if(!this[_0x9057d8(0x377)][_0x9057d8(0x4ce)](_0xc0900e,_0x5941b0))throw Error(_0x9057d8(0x563));this[_0x9057d8(0x404)](_0x188001,this[_0x9057d8(0x482)]['deleteField'](_0x188001[_0x9057d8(0x509)](),_0xc0900e,_0x5941b0));}['moveField'](_0x11c420,_0x5e04f0,_0x2443a5,_0x2481d7){const _0x4936a5=_0x36f63a;if(!this['_permissionService'][_0x4936a5(0x3a7)](_0x5e04f0,_0x2443a5))throw Error(_0x4936a5(0x5f0));if(_0x2443a5===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x2481d7['beforeFieldId']===_0x26cf17[_0x4936a5(0x478)])throw Error(_0x4936a5(0x3ca));this['_apply'](_0x11c420,this[_0x4936a5(0x482)][_0x4936a5(0x27b)](_0x11c420[_0x4936a5(0x509)](),_0x5e04f0,_0x2443a5,_0x2481d7));}['createView'](_0x5e3a07,_0x39fbf2,_0x32e129,_0x41b343){const _0x38c6d2=_0x36f63a;if(!this[_0x38c6d2(0x377)][_0x38c6d2(0x47c)](_0x39fbf2,_0x32e129['id']))throw Error(_0x38c6d2(0x250));this[_0x38c6d2(0x404)](_0x5e3a07,this[_0x38c6d2(0x482)][_0x38c6d2(0x27d)](_0x5e3a07[_0x38c6d2(0x509)](),_0x39fbf2,_0x32e129,_0x41b343));}[_0x36f63a(0x206)](_0x22b465,_0x3d3353,_0x34b69f,_0x32fcb3){const _0x33d7d6=_0x36f63a;if(!this[_0x33d7d6(0x377)][_0x33d7d6(0x47c)](_0x3d3353,_0x34b69f))throw Error(_0x33d7d6(0x250));this['_apply'](_0x22b465,this[_0x33d7d6(0x482)][_0x33d7d6(0x206)](_0x22b465['getSnapshot'](),_0x3d3353,_0x34b69f,_0x32fcb3));}[_0x36f63a(0x574)](_0xd0b7ef,_0xafdd23,_0x517f3b){const _0x508ac9=_0x36f63a;if(!this[_0x508ac9(0x377)]['canManageView'](_0xafdd23,_0x517f3b))throw Error(_0x508ac9(0x250));this[_0x508ac9(0x404)](_0xd0b7ef,this[_0x508ac9(0x482)]['deleteView'](_0xd0b7ef['getSnapshot'](),_0xafdd23,_0x517f3b));}[_0x36f63a(0x19a)](_0x5962fd,_0x5a59e6,_0x36e7ba,_0x33ad9e){const _0x1fd6ac=_0x36f63a;if(!this[_0x1fd6ac(0x377)][_0x1fd6ac(0x47c)](_0x5a59e6,_0x36e7ba))throw Error(_0x1fd6ac(0x250));this[_0x1fd6ac(0x404)](_0x5962fd,this[_0x1fd6ac(0x482)][_0x1fd6ac(0x19a)](_0x5962fd[_0x1fd6ac(0x509)](),_0x5a59e6,_0x36e7ba,_0x33ad9e));}['updateViewConfig'](_0x43b6d1,_0x2eb156,_0x3f8e7a,_0x32c1cd){const _0x353fc5=_0x36f63a;if(!this[_0x353fc5(0x377)][_0x353fc5(0x47c)](_0x2eb156,_0x3f8e7a))throw Error(_0x353fc5(0x250));this[_0x353fc5(0x404)](_0x43b6d1,this['_factory']['updateViewConfig'](_0x43b6d1['getSnapshot'](),_0x2eb156,_0x3f8e7a,_0x32c1cd));}['setViewFilter'](_0x57fc32,_0x51cf42,_0x5503ad,_0xf63972){const _0x4f1f52=_0x36f63a;if(!this[_0x4f1f52(0x377)][_0x4f1f52(0x47c)](_0x51cf42,_0x5503ad))throw Error(_0x4f1f52(0x250));this['_apply'](_0x57fc32,this[_0x4f1f52(0x482)][_0x4f1f52(0x5e0)](_0x57fc32[_0x4f1f52(0x509)](),_0x51cf42,_0x5503ad,_0xf63972));}[_0x36f63a(0x577)](_0x403db3,_0x36e8a0,_0x594760,_0x14dc6a){const _0x1e8646=_0x36f63a;if(!this['_permissionService']['canManageView'](_0x36e8a0,_0x594760))throw Error(_0x1e8646(0x250));this[_0x1e8646(0x404)](_0x403db3,this[_0x1e8646(0x482)][_0x1e8646(0x577)](_0x403db3[_0x1e8646(0x509)](),_0x36e8a0,_0x594760,_0x14dc6a));}[_0x36f63a(0x2c6)](_0x571654,_0x4f4901,_0x477a18,_0x3e6ef4){const _0x29c0bf=_0x36f63a;if(!this[_0x29c0bf(0x377)][_0x29c0bf(0x47c)](_0x4f4901,_0x477a18))throw Error(_0x29c0bf(0x250));this['_apply'](_0x571654,this[_0x29c0bf(0x482)]['setViewGroup'](_0x571654[_0x29c0bf(0x509)](),_0x4f4901,_0x477a18,_0x3e6ef4));}[_0x36f63a(0x584)](_0x5a18bf,_0x510f75,_0x4a1b59,_0x5c6ab8,_0x9f66ea){const _0x5b8009=_0x36f63a;if(!this[_0x5b8009(0x377)][_0x5b8009(0x47c)](_0x510f75,_0x4a1b59))throw Error(_0x5b8009(0x250));this[_0x5b8009(0x404)](_0x5a18bf,this['_factory']['setViewFieldVisible'](_0x5a18bf[_0x5b8009(0x509)](),_0x510f75,_0x4a1b59,_0x5c6ab8,_0x9f66ea));}[_0x36f63a(0x390)](_0x5d5d14,_0x3173c4,_0xd92396,_0x25348d,_0x597a2f){const _0x4a4ecd=_0x36f63a;if(!this[_0x4a4ecd(0x377)]['canManageView'](_0x3173c4,_0xd92396))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4a4ecd(0x404)](_0x5d5d14,this[_0x4a4ecd(0x482)][_0x4a4ecd(0x390)](_0x5d5d14['getSnapshot'](),_0x3173c4,_0xd92396,_0x25348d,_0x597a2f));}[_0x36f63a(0x371)](_0x60d1fb,_0x17a723,_0x321523,_0x1659ad,_0x2de5a3){const _0x5528b9=_0x36f63a;if(!this[_0x5528b9(0x377)][_0x5528b9(0x47c)](_0x17a723,_0x321523))throw Error(_0x5528b9(0x250));this[_0x5528b9(0x404)](_0x60d1fb,this[_0x5528b9(0x482)]['setViewFieldOrder'](_0x60d1fb[_0x5528b9(0x509)](),_0x17a723,_0x321523,_0x1659ad,_0x2de5a3));}[_0x36f63a(0x404)](_0x4d1858,_0x5a3f6d){const _0x47aa7a=_0x36f63a;let _0x325928=_0x4d1858[_0x47aa7a(0x509)]();_0x4d1858[_0x47aa7a(0x2b6)](this[_0x47aa7a(0x1e6)][_0x47aa7a(0x4ad)](_0x325928,_0x5a3f6d));}[_0x36f63a(0x1db)](_0x4db0f0,_0x56abe0,_0x4a3685,_0x1d2ccd=this[_0x36f63a(0x4ab)](_0x4db0f0[_0x36f63a(0x594)][_0x56abe0])){const _0x218ada=_0x36f63a;let _0x1d0c24=_0x4db0f0[_0x218ada(0x594)][_0x56abe0],_0x248cae=_0x4a3685[_0x218ada(0x2e2)]??_0x4a3685['updatedBy']??this[_0x218ada(0x19c)](),_0xd77818={..._0x4a3685,'createdBy':_0x4a3685[_0x218ada(0x2e2)]??_0x248cae,'updatedBy':_0x4a3685[_0x218ada(0x24d)]??_0x248cae,'values':{..._0x4a3685[_0x218ada(0x20f)]}};return _0xd77818[_0x218ada(0x20f)][_0x26cf17[_0x218ada(0x478)]]=_0xd77818['id'],_0x1d0c24[_0x218ada(0x1b2)][_0x218ada(0x1bf)](_0x196d5a=>{const _0x49ac78=_0x218ada;let _0x7562dd=_0x1d0c24[_0x49ac78(0x458)][_0x196d5a];if(_0x7562dd&&_0xd77818['values'][_0x196d5a]===void 0x0)switch(_0x7562dd[_0x49ac78(0x5d6)]){case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x473)]:var _0x2d1683;_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=((_0x2d1683=_0x1d2ccd['get'](_0x196d5a))==null?void 0x0:_0x2d1683())??this[_0x49ac78(0x49c)](_0x1d0c24,_0x196d5a)();break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x3d1)]:_0xd77818[_0x49ac78(0x2e2)]&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0xd77818[_0x49ac78(0x2e2)]);break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x30b)]:_0xd77818[_0x49ac78(0x24d)]&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0xd77818[_0x49ac78(0x24d)]);break;case _0x26cf17[_0x49ac78(0x22d)]['CreatedAt']:_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x3815fa(_0xd77818[_0x49ac78(0x459)]);break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x217)]:_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x3815fa(_0xd77818['updatedAt']);break;default:{let _0x1d0916=_0x7562dd[_0x49ac78(0x4e8)];_0x1d0916!=null&&_0x1d0916!==''&&!(Array['isArray'](_0x1d0916)&&_0x1d0916[_0x49ac78(0x4cd)]===0x0)&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x1d0916);}}}),_0xd77818;}[_0x36f63a(0x47d)](_0xbd3a39,_0x3a1508,_0x16fd72,_0x6e862a){const _0x5ce60b=_0x36f63a;var _0x36c06d,_0x28f5e7;let _0x235d63=_0xbd3a39[_0x5ce60b(0x594)][_0x3a1508],_0xeeccbe=((_0x36c06d=(_0x28f5e7=this[_0x5ce60b(0x4a3)])[_0x5ce60b(0x5c9)])==null?void 0x0:_0x36c06d[_0x5ce60b(0x5b6)](_0x28f5e7))??Date[_0x5ce60b(0x5c9)](),_0x13a9f3=this[_0x5ce60b(0x19c)](),_0x25efa6={..._0x6e862a};return _0x235d63[_0x5ce60b(0x1b2)][_0x5ce60b(0x1bf)](_0x56e6d9=>{const _0x464035=_0x5ce60b;let _0x1b8a54=_0x235d63['fields'][_0x56e6d9];_0x1b8a54&&(_0x1b8a54['type']===_0x26cf17['BaseFieldType'][_0x464035(0x217)]&&(_0x25efa6[_0x56e6d9]=_0x3815fa(_0xeeccbe)),_0x1b8a54['type']===_0x26cf17[_0x464035(0x22d)]['UpdatedBy']&&_0x13a9f3&&(_0x25efa6[_0x56e6d9]=_0x13a9f3));}),{'recordId':_0x16fd72,'values':_0x25efa6,'recordPatch':{'updatedAt':_0xeeccbe,..._0x13a9f3?{'updatedBy':_0x13a9f3}:{}}};}[_0x36f63a(0x2f0)](_0x37b49e,_0x488999,_0x54e5bf){const _0x200142=_0x36f63a;let _0x37eb23=_0x37b49e[_0x200142(0x594)][_0x488999];return!_0x37eb23||!_0x14cd5b(_0x54e5bf)?[]:_0x54e5bf[_0x200142(0x5d6)]===_0x26cf17[_0x200142(0x22d)][_0x200142(0x473)]?this['_createNumberingFieldValuePatches'](_0x37eb23,_0x54e5bf['id']):Object['values'](_0x37eb23[_0x200142(0x4c9)])['flatMap'](_0x24ac6d=>{const _0x3263b3=_0x200142;let _0x585c9b=this[_0x3263b3(0x49a)](_0x54e5bf,_0x24ac6d);return _0x585c9b===void 0x0?[]:[{'recordId':_0x24ac6d['id'],'values':{[_0x54e5bf['id']]:_0x585c9b}}];});}[_0x36f63a(0x49a)](_0x23fbe1,_0x26d530){const _0x21dbb8=_0x36f63a;switch(_0x23fbe1[_0x21dbb8(0x5d6)]){case _0x26cf17[_0x21dbb8(0x22d)][_0x21dbb8(0x3d1)]:return _0x26d530[_0x21dbb8(0x2e2)]??this['_getCurrentUserId']();case _0x26cf17[_0x21dbb8(0x22d)]['UpdatedBy']:return _0x26d530[_0x21dbb8(0x24d)]??this[_0x21dbb8(0x19c)]();case _0x26cf17['BaseFieldType'][_0x21dbb8(0x230)]:return _0x3815fa(_0x26d530['createdAt']??Date[_0x21dbb8(0x5c9)]());case _0x26cf17[_0x21dbb8(0x22d)][_0x21dbb8(0x217)]:return _0x3815fa(_0x26d530[_0x21dbb8(0x38f)]??Date[_0x21dbb8(0x5c9)]());default:return;}}[_0x36f63a(0x4ab)](_0x4a127f){const _0xbe0f89=_0x36f63a;let _0x1d00a3=new Map();return _0x4a127f&&_0x4a127f['fieldOrder'][_0xbe0f89(0x1bf)](_0x2a2511=>{const _0xaf7e7a=_0xbe0f89;let _0x199804=_0x4a127f[_0xaf7e7a(0x458)][_0x2a2511];(_0x199804==null?void 0x0:_0x199804['type'])===_0x26cf17[_0xaf7e7a(0x22d)][_0xaf7e7a(0x473)]&&_0x1d00a3[_0xaf7e7a(0x4a9)](_0x2a2511,this['_createNumberingAllocator'](_0x4a127f,_0x2a2511));}),_0x1d00a3;}[_0x36f63a(0x49c)](_0x3b3ce0,_0x35a3a0){const _0x11f75c=_0x36f63a;let _0x128c35=Object['values'](_0x3b3ce0[_0x11f75c(0x4c9)])[_0x11f75c(0x49f)]((_0x512ba5,_0x12e784)=>{const _0x761b14=_0x11f75c;let _0x341125=Number(_0x12e784[_0x761b14(0x20f)][_0x35a3a0]);return Number['isFinite'](_0x341125)?Math[_0x761b14(0x5a7)](_0x512ba5,_0x341125):_0x512ba5;},0x0);return()=>String(++_0x128c35);}['_createNumberingFieldValuePatches'](_0x3dc5bc,_0x1a1bfd){const _0x1db7cd=_0x36f63a;let _0x504222=this[_0x1db7cd(0x597)](_0x3dc5bc),_0x2aa313=this['_createNumberingAllocator'](_0x3dc5bc,_0x1a1bfd);return _0x504222[_0x1db7cd(0x35a)](_0x366e72=>this[_0x1db7cd(0x1a9)](_0x366e72[_0x1db7cd(0x20f)][_0x1a1bfd])?[]:[{'recordId':_0x366e72['id'],'values':{[_0x1a1bfd]:_0x2aa313()}}]);}[_0x36f63a(0x597)](_0x9e7ecb){const _0x4d80cb=_0x36f63a;var _0xeb0ab3;let _0xd086dc=Object[_0x4d80cb(0x20f)](_0x9e7ecb['records']),_0x14b2c4=new Map(_0xd086dc[_0x4d80cb(0x4a5)](_0x1ec592=>[_0x1ec592['id'],_0x1ec592])),_0x327ebd=[],_0x3a72d6=new Set();(_0xeb0ab3=_0x9e7ecb[_0x4d80cb(0x2ba)])==null||_0xeb0ab3[_0x4d80cb(0x1bf)](_0x571507=>{const _0x4dbbdf=_0x4d80cb;let _0x549d06=_0x14b2c4[_0x4dbbdf(0x558)](_0x571507);_0x549d06&&(_0x327ebd[_0x4dbbdf(0x605)](_0x549d06),_0x3a72d6[_0x4dbbdf(0x1ce)](_0x571507));});let _0x25a77e=_0xd086dc[_0x4d80cb(0x46a)](_0x59cdd9=>!_0x3a72d6['has'](_0x59cdd9['id']))[_0x4d80cb(0x30f)]((_0x2cbcd7,_0x577ac4)=>String(_0x2cbcd7[_0x4d80cb(0x58c)]??_0x2cbcd7['id'])[_0x4d80cb(0x4ed)](String(_0x577ac4[_0x4d80cb(0x58c)]??_0x577ac4['id']))||_0x2cbcd7['id'][_0x4d80cb(0x4ed)](_0x577ac4['id']));return[..._0x327ebd,..._0x25a77e];}[_0x36f63a(0x1a9)](_0x4211c4){const _0x2da49b=_0x36f63a;return _0x4211c4!=null&&_0x4211c4!==''&&!(Array['isArray'](_0x4211c4)&&_0x4211c4[_0x2da49b(0x4cd)]===0x0);}[_0x36f63a(0x19c)](){const _0xd19e0=_0x36f63a;var _0x21b34c,_0x55578d,_0x1cc4f7,_0x146d34;return((_0x21b34c=(_0x55578d=this[_0xd19e0(0x4a3)])[_0xd19e0(0x54f)])==null?void 0x0:_0x21b34c[_0xd19e0(0x5b6)](_0x55578d))??((_0x1cc4f7=(_0x146d34=this[_0xd19e0(0x4a3)])['getCurrentUser'])==null||(_0x1cc4f7=_0x1cc4f7[_0xd19e0(0x5b6)](_0x146d34))==null?void 0x0:_0x1cc4f7[_0xd19e0(0x1ea)])??void 0x0;}['_normalizeCellValue'](_0x66abcb,_0x3d826a,_0x5d7e8e,_0x1aebb8,_0x2e368c){const _0x479768=_0x36f63a;var _0x230b74;if(!this[_0x479768(0x377)][_0x479768(0x1a2)](_0x3d826a,_0x5d7e8e,_0x1aebb8))throw Error(_0x479768(0x4d9));let _0x2bd180=(_0x230b74=_0x66abcb[_0x479768(0x594)][_0x3d826a])==null?void 0x0:_0x230b74[_0x479768(0x458)][_0x1aebb8];if(!_0x2bd180)throw Error(_0x479768(0x421)+_0x1aebb8+_0x479768(0x411));let _0x4a752f=this[_0x479768(0x454)][_0x479768(0x558)](_0x2bd180[_0x479768(0x5d6)]);if(_0x2bd180[_0x479768(0x4e5)]||_0x2bd180[_0x479768(0x5a9)]||!_0x4a752f['getCapabilities'](_0x2bd180)['editable'])throw Error(_0x479768(0x575));let _0x2a3e03=_0x4a752f[_0x479768(0x34d)](_0x2e368c,_0x2bd180),_0x4eaddb=_0x4a752f[_0x479768(0x2d9)](_0x2a3e03,_0x2bd180);if(!_0x4eaddb[_0x479768(0x50f)])throw Error(_0x4eaddb['reason']??_0x479768(0x50d));let _0x36e5d5=_0x2bd180[_0x479768(0x5d6)]===_0x26cf17['BaseFieldType'][_0x479768(0x393)]?_0x288789(_0x66abcb,_0x2bd180,_0x2a3e03):{'valid':!0x0};if(!_0x36e5d5[_0x479768(0x50f)])throw Error(_0x36e5d5[_0x479768(0x560)]??_0x479768(0x510));return _0x2a3e03;}[_0x36f63a(0x44f)](_0x45d113,_0x40cff0){const _0x1e73e4=_0x36f63a;if(_0x40cff0['id']===_0x26cf17[_0x1e73e4(0x478)]||_0x40cff0['type']===_0x26cf17[_0x1e73e4(0x22d)]['RecordId']||(0x0,_0x26cf17[_0x1e73e4(0x3c8)])(_0x40cff0[_0x1e73e4(0x3f8)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x4b1878=_0x5f1ecb(_0x45d113,_0x40cff0);if(!_0x4b1878[_0x1e73e4(0x50f)])throw Error(_0x4b1878[_0x1e73e4(0x560)]??_0x1e73e4(0x4fa));}};_0x2c090c=_0x184c3d([_0x5712fb(0x0,_0x55f82b),_0x5712fb(0x1,_0x270bb8)],_0x2c090c);function _0x30a3da(){const _0x26f651=_0x36f63a;let _0x5b8a29=new _0x5317ce();return _0x5f0176()['forEach'](_0x15d8ba=>_0x5b8a29[_0x26f651(0x397)](_0x15d8ba)),_0x5b8a29;}function _0x14cd5b(_0x1e6bec){const _0x6052b6=_0x36f63a;return _0x1e6bec['type']===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x473)]||_0x1e6bec[_0x6052b6(0x5d6)]===_0x26cf17['BaseFieldType'][_0x6052b6(0x3d1)]||_0x1e6bec['type']===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x30b)]||_0x1e6bec['type']===_0x26cf17['BaseFieldType']['CreatedAt']||_0x1e6bec[_0x6052b6(0x5d6)]===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x217)];}let _0x251480=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17[_0x36f63a(0x22d)]['Rating'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x428)]]);function _0x4485ec(_0x51a953){const _0x242fce=_0x36f63a;let _0x115f95=_0x51a953[_0x242fce(0x458)][_0x51a953[_0x242fce(0x5ce)]];if((!_0x115f95||_0x115f95['system']!==!0x0&&_0x115f95['id']['toLowerCase']()!=='id'&&_0x115f95['name'][_0x242fce(0x3ce)]()[_0x242fce(0x1fd)]()!=='id')&&_0x115f95)return _0x115f95['id'];for(let _0x1bb227 of _0x51a953[_0x242fce(0x1b2)]){let _0x1f7642=_0x51a953['fields'][_0x1bb227];if(_0x1f7642&&_0x1f7642['id']!==_0x51a953['primaryFieldId']&&_0x1f7642[_0x242fce(0x5a9)]!==!0x0&&_0x1f7642['type']!==_0x26cf17['BaseFieldType'][_0x242fce(0x4b5)])return _0x1f7642['id'];}return _0x51a953[_0x242fce(0x5ce)];}function _0x17b3aa(_0x57c04d,_0x4848ee=[],_0x11505d=0x5){const _0x434012=_0x36f63a;let _0x2aa2aa=new Set(_0x4848ee[_0x434012(0x46a)](_0xfc81a=>!!_0xfc81a)),_0x3bb516=[],_0x468447=[];for(let _0xe2d586 of _0x57c04d[_0x434012(0x1b2)]){let _0x38fdef=_0x57c04d[_0x434012(0x458)][_0xe2d586];_0x38fdef&&_0x38fdef[_0x434012(0x5a9)]!==!0x0&&_0x38fdef['type']!==_0x26cf17[_0x434012(0x22d)][_0x434012(0x4b5)]&&!_0x2aa2aa['has'](_0x38fdef['id'])&&(_0x251480[_0x434012(0x2fa)](_0x38fdef[_0x434012(0x5d6)])?_0x3bb516:_0x468447)[_0x434012(0x605)](_0x38fdef['id']);}return[..._0x3bb516,..._0x468447]['slice'](0x0,_0x11505d);}function _0x1a24bf(){const _0x15b4ce=_0x36f63a;return[{'type':_0x26cf17[_0x15b4ce(0x2fb)][_0x15b4ce(0x521)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Kanban'],'i18nKey':_0x15b4ce(0x304),'createDefaultConfig':_0x4465c4=>{const _0x3fff9f=_0x15b4ce;let _0x59588f=_0x22672e(_0x4465c4);return{'groupFieldId':_0x59588f,'coverFieldId':null,'cardLayout':_0x3fff9f(0x3f6),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x4465c4[_0x3fff9f(0x5ce)],'fieldIds':_0x17b3aa(_0x4465c4,[_0x4465c4['primaryFieldId'],_0x59588f])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x51fd23=_0x15b4ce;throw Error(_0x51fd23(0x406));}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Calendar'],'i18nKey':_0x15b4ce(0x504),'createDefaultConfig':_0xc3739e=>{const _0x5ad897=_0x15b4ce;let _0x4bf623=_0x67b990(_0xc3739e);return{'startDateFieldId':_0x4bf623,'endDateFieldId':_0x46f682(_0xc3739e,_0x4bf623),'titleFieldId':_0xc3739e[_0x5ad897(0x5ce)],'mode':'month','timeslotSize':'medium','timeZone':_0x5ad897(0x222),'displayColor':{'type':_0x5ad897(0x200),'color':_0x5ad897(0x2f8)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0xfb32a1=>{const _0x5ed165=_0x15b4ce;let _0xf04bef=_0x67b990(_0xfb32a1);return{'startDateFieldId':_0xf04bef,'endDateFieldId':_0x46f682(_0xfb32a1,_0xf04bef)??_0xf04bef,'titleFieldId':_0xfb32a1[_0x5ed165(0x5ce)],'scale':_0x5ed165(0x449),'showTodayLine':!0x0,'displayColor':{'type':_0x5ed165(0x200),'color':_0x5ed165(0x31e)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)][_0x15b4ce(0x54a)],'i18nKey':_0x15b4ce(0x53b),'createDefaultConfig':_0x2731b0=>{const _0x264385=_0x15b4ce;let _0x158720=_0x4485ec(_0x2731b0);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x158720,'coverFieldId':null,'fieldIds':_0x17b3aa(_0x2731b0,[_0x158720,_0x2731b0[_0x264385(0x5ce)]])},'cardSize':_0x264385(0x61b)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xc262f7=_0x15b4ce;throw Error(_0xc262f7(0x2b2));}}];}function _0x22672e(_0x226467){const _0x32299e=_0x36f63a;var _0x7b694d,_0xaa6356,_0x3aef3d;let _0x28fa6b=_0x226467[_0x32299e(0x1b2)][_0x32299e(0x4a5)](_0x1272df=>_0x226467[_0x32299e(0x458)][_0x1272df])['filter'](_0x30d6a8=>!!_0x30d6a8);return((_0x7b694d=_0x28fa6b['find'](_0x4aed08=>_0x4aed08['type']===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x537)]||_0x4aed08[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x36d)]||_0x4aed08[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x4ef)]))==null?void 0x0:_0x7b694d['id'])??((_0xaa6356=_0x28fa6b[_0x32299e(0x396)](_0xcf0d8c=>_0xcf0d8c[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x286)]))==null?void 0x0:_0xaa6356['id'])??((_0x3aef3d=_0x28fa6b[_0x32299e(0x396)](_0xce45b4=>_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x1be)]||_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17['BaseFieldType']['CreatedAt']||_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x217)]))==null?void 0x0:_0x3aef3d['id'])??_0x226467['primaryFieldId'];}function _0x67b990(_0xa0c86d){const _0x27ced6=_0x36f63a;var _0x575e2e;return((_0x575e2e=_0xa0c86d[_0x27ced6(0x1b2)][_0x27ced6(0x4a5)](_0x1bfd72=>_0xa0c86d['fields'][_0x1bfd72])[_0x27ced6(0x396)](_0x526b76))==null?void 0x0:_0x575e2e['id'])??'';}function _0x46f682(_0x469f03,_0x48d62f){const _0x5b8fe0=_0x36f63a;var _0x2c8238;return(_0x2c8238=_0x469f03[_0x5b8fe0(0x1b2)][_0x5b8fe0(0x4a5)](_0x6b65c8=>_0x469f03[_0x5b8fe0(0x458)][_0x6b65c8])[_0x5b8fe0(0x396)](_0x397b3d=>_0x526b76(_0x397b3d)&&_0x397b3d['id']!==_0x48d62f))==null?void 0x0:_0x2c8238['id'];}function _0x526b76(_0x5dcdf2){const _0x32cc31=_0x36f63a;return!!_0x5dcdf2&&_0x5dcdf2[_0x32cc31(0x5d6)]===_0x26cf17[_0x32cc31(0x22d)][_0x32cc31(0x1be)]&&_0x5dcdf2['readonly']!==!0x0&&_0x5dcdf2[_0x32cc31(0x5a9)]!==!0x0;}let _0x4076d2=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x1b7)),_0x150a74=new Set([_0x26cf17[_0x36f63a(0x22d)]['Number'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4b6)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17['BaseFieldType'][_0x36f63a(0x372)],_0x26cf17[_0x36f63a(0x22d)]['Date'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x230)],_0x26cf17[_0x36f63a(0x22d)]['UpdatedAt'],_0x26cf17[_0x36f63a(0x22d)]['Checkbox']]),_0x4ab1b5=0x5265c00,_0x4149ac=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x2ab740){const _0x272a7b=_0x36f63a;super(),this[_0x272a7b(0x454)]=_0x2ab740,_0x52a6e5(this,_0x272a7b(0x287),new Map()),_0x52a6e5(this,_0x272a7b(0x1c2),new WeakMap()),_0x52a6e5(this,_0x272a7b(0x4c6),new Map()),_0x52a6e5(this,_0x272a7b(0x41a),new Map()),_0x52a6e5(this,_0x272a7b(0x220),new Map()),_0x52a6e5(this,'_hierarchyIndexCache',new Map()),_0x52a6e5(this,_0x272a7b(0x1fc),0x0),_0x52a6e5(this,'_tableRevisions',new Map()),_0x52a6e5(this,_0x272a7b(0x328),new Map()),_0x52a6e5(this,_0x272a7b(0x5be),new Map()),_0x52a6e5(this,'_viewRevisions',new Map());}[_0x36f63a(0x2a1)](_0x332468){const _0xff9ad0=_0x36f63a;return this[_0xff9ad0(0x287)][_0xff9ad0(0x4a9)](_0x332468[_0xff9ad0(0x5d6)],_0x332468),(0x0,_0x26cf17[_0xff9ad0(0x3a2)])(()=>this[_0xff9ad0(0x287)][_0xff9ad0(0x346)](_0x332468['type']));}[_0x36f63a(0x5f3)](_0x272277,_0x4df559,_0x32665a){const _0x1df78a=_0x36f63a;var _0x174fd1,_0x11ae2d,_0x219da9;return _0xdade1e('BaseProjection.getProjection',()=>{const _0x5c7c42=_0x45c5;let _0x5387c0=this[_0x5c7c42(0x524)](_0x272277,_0x4df559,_0x32665a);if(_0x5387c0)return _0x5387c0;let _0x2f3287=_0x272277[_0x5c7c42(0x594)][_0x4df559],_0x45b6a2=_0x2f3287==null?void 0x0:_0x2f3287[_0x5c7c42(0x3d8)][_0x32665a];if(!_0x2f3287||!_0x45b6a2)return this[_0x5c7c42(0x256)](_0x272277,_0x4df559,_0x32665a,{'type':'invalid','viewType':(_0x45b6a2==null?void 0x0:_0x45b6a2[_0x5c7c42(0x5d6)])??_0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x521)],'reason':_0x5c7c42(0x1f9)});let _0x4622d2;switch(_0x45b6a2[_0x5c7c42(0x5d6)]){case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x521)]:_0x4622d2=this[_0x5c7c42(0x433)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x1e2)]:_0x4622d2=this[_0x5c7c42(0x3cb)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x288)]:_0x4622d2=this[_0x5c7c42(0x474)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x472)]:_0x4622d2=this[_0x5c7c42(0x2e5)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x54a)]:_0x4622d2=this[_0x5c7c42(0x543)](_0x2f3287,_0x45b6a2);break;default:_0x4622d2={'type':_0x5c7c42(0x312),'viewType':_0x45b6a2[_0x5c7c42(0x5d6)],'reason':_0x5c7c42(0x1f9)};}return this[_0x5c7c42(0x256)](_0x272277,_0x4df559,_0x32665a,_0x4622d2);},{'tableId':_0x4df559,'viewId':_0x32665a,'viewType':(_0x174fd1=_0x272277['tables'][_0x4df559])==null||(_0x174fd1=_0x174fd1[_0x1df78a(0x3d8)][_0x32665a])==null?void 0x0:_0x174fd1[_0x1df78a(0x5d6)],'records':((_0x11ae2d=_0x272277['tables'][_0x4df559])==null||(_0x11ae2d=_0x11ae2d[_0x1df78a(0x2ba)])==null?void 0x0:_0x11ae2d['length'])??Object[_0x1df78a(0x40d)](((_0x219da9=_0x272277[_0x1df78a(0x594)][_0x4df559])==null?void 0x0:_0x219da9[_0x1df78a(0x4c9)])??{})[_0x1df78a(0x4cd)]});}[_0x36f63a(0x207)](_0x3ccb48,_0x492606,_0x3618b8){const _0x52366d=_0x36f63a;var _0x53b18d,_0x2252ac,_0x38845f;let _0x2ead82=_0x3ccb48['tables'][_0x492606],_0x142332=_0x2ead82==null?void 0x0:_0x2ead82[_0x52366d(0x3d8)][_0x3618b8];if(!_0x2ead82||!_0x142332)throw Error(_0x52366d(0x223)+_0x3618b8+'\x22.');let _0x1a5ba3=_0x53f3de=>!!_0x2ead82[_0x52366d(0x458)][_0x53f3de],_0xb6e988={..._0x142332,'filter':_0x142332['filter']?{..._0x142332['filter'],'conditions':_0x142332[_0x52366d(0x46a)][_0x52366d(0x357)][_0x52366d(0x46a)](_0x2de112=>_0x1a5ba3(_0x2de112['fieldId']))}:_0x142332[_0x52366d(0x46a)],'sort':(_0x53b18d=_0x142332[_0x52366d(0x30f)])==null?void 0x0:_0x53b18d['filter'](_0xef923=>_0x1a5ba3(_0xef923[_0x52366d(0x39c)])),'group':(_0x2252ac=_0x142332[_0x52366d(0x58b)])==null?void 0x0:_0x2252ac[_0x52366d(0x46a)](_0x3d784e=>_0x1a5ba3(_0x3d784e[_0x52366d(0x39c)])),'fieldOrder':(_0x38845f=_0x142332[_0x52366d(0x1b2)])==null?void 0x0:_0x38845f[_0x52366d(0x46a)](_0x1a5ba3),'fieldSettings':Object[_0x52366d(0x60c)](Object[_0x52366d(0x443)](_0x142332[_0x52366d(0x47f)]??{})[_0x52366d(0x46a)](([_0x32a1f2])=>_0x1a5ba3(_0x32a1f2)))};if(_0xb6e988[_0x52366d(0x5d6)]==='kanban'){var _0x2c9bf7;let _0x497e6e=_0xb6e988[_0x52366d(0x4cc)]??{},_0x11285a=this[_0x52366d(0x580)](_0x2ead82,_0xb6e988),_0x35f0df=this[_0x52366d(0x31a)](_0x2ead82,(_0x2c9bf7=_0x497e6e[_0x52366d(0x4f0)])==null?void 0x0:_0x2c9bf7[_0x52366d(0x3c2)]);_0xb6e988['config']={..._0x497e6e,'groupFieldId':_0x11285a??_0x497e6e[_0x52366d(0x26d)],'coverFieldId':this[_0x52366d(0x592)](_0x2ead82,_0x497e6e),'cardLayout':_0x497e6e[_0x52366d(0x307)]===_0x52366d(0x44a)?'compose':_0x52366d(0x3f6),'showFieldNames':_0x497e6e[_0x52366d(0x2a6)]!==!0x1,'fieldSettings':Object[_0x52366d(0x60c)](Object['entries'](_0x497e6e[_0x52366d(0x47f)]??{})[_0x52366d(0x46a)](([_0x20636d])=>_0x1a5ba3(_0x20636d))),'columnSettings':_0x497e6e[_0x52366d(0x38a)]??{},'card':{..._0x497e6e[_0x52366d(0x4f0)]??{},'titleFieldId':_0x35f0df,'fieldIds':this[_0x52366d(0x340)](_0x2ead82,_0xb6e988,_0x11285a??'',_0x35f0df)}};}return{'repaired':JSON[_0x52366d(0x40a)](_0xb6e988)!==JSON['stringify'](_0x142332),'view':_0xb6e988};}[_0x36f63a(0x59e)](){const _0x19b917=_0x36f63a;this[_0x19b917(0x1fc)]++;}[_0x36f63a(0x3b0)](_0x4c3f54,_0x3c1dc9,_0x599522){const _0x4e8bd9=_0x36f63a;let _0xd61c78=this[_0x4e8bd9(0x303)](_0x4c3f54)+0x1;this[_0x4e8bd9(0x328)][_0x4e8bd9(0x4a9)](_0x4c3f54,_0xd61c78);let _0x458325=this[_0x4e8bd9(0x5be)]['get'](_0x4c3f54)??[];_0x458325['push']({'revision':_0xd61c78,'recordId':_0x3c1dc9,'fieldId':_0x599522}),this[_0x4e8bd9(0x5be)][_0x4e8bd9(0x4a9)](_0x4c3f54,_0x458325);}['invalidateByField'](_0x52dc42,_0x3815a1){const _0x150311=_0x36f63a;this[_0x150311(0x36e)](_0x52dc42);}[_0x36f63a(0x338)](_0x59e84f,_0x3249e9){const _0x10576b=_0x36f63a;this['_viewRevisions'][_0x10576b(0x4a9)](this['_viewRevisionKey'](_0x59e84f,_0x3249e9),this['_getViewRevision'](_0x59e84f,_0x3249e9)+0x1);}['_getCachedProjection'](_0x27bd53,_0x178fe4,_0x59f315){const _0x11e942=_0x36f63a;var _0x4c64f9;let _0x5000ba=(_0x4c64f9=this[_0x11e942(0x1c2)][_0x11e942(0x558)](_0x27bd53))==null?void 0x0:_0x4c64f9[_0x11e942(0x558)](this[_0x11e942(0x5bc)](_0x178fe4,_0x59f315));return _0x5000ba&&_0x5000ba[_0x11e942(0x349)]===this[_0x11e942(0x1fc)]&&_0x5000ba[_0x11e942(0x21f)]===this[_0x11e942(0x426)](_0x178fe4)&&_0x5000ba[_0x11e942(0x3f9)]===this[_0x11e942(0x303)](_0x178fe4)&&_0x5000ba[_0x11e942(0x2ac)]===this['_getViewRevision'](_0x178fe4,_0x59f315)?_0x5000ba[_0x11e942(0x53c)]:null;}[_0x36f63a(0x256)](_0x4f042d,_0x21fa86,_0x3ece8f,_0x33d2eb){const _0x31f36d=_0x36f63a;let _0x3b0edd=this[_0x31f36d(0x1c2)][_0x31f36d(0x558)](_0x4f042d);return _0x3b0edd||(_0x3b0edd=new Map(),this[_0x31f36d(0x1c2)][_0x31f36d(0x4a9)](_0x4f042d,_0x3b0edd)),_0x3b0edd[_0x31f36d(0x4a9)](this[_0x31f36d(0x5bc)](_0x21fa86,_0x3ece8f),{'projection':_0x33d2eb,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x21fa86),'cellRevision':this[_0x31f36d(0x303)](_0x21fa86),'viewRevision':this[_0x31f36d(0x23f)](_0x21fa86,_0x3ece8f)}),_0x33d2eb;}[_0x36f63a(0x36e)](_0x2f2cee){const _0x103147=_0x36f63a;this[_0x103147(0x267)][_0x103147(0x4a9)](_0x2f2cee,this[_0x103147(0x426)](_0x2f2cee)+0x1);}[_0x36f63a(0x426)](_0x5db70d){const _0x5701e0=_0x36f63a;return this['_tableRevisions'][_0x5701e0(0x558)](_0x5db70d)??0x0;}['_getCellRevision'](_0x31a7a0){const _0xcd67ad=_0x36f63a;return this[_0xcd67ad(0x328)][_0xcd67ad(0x558)](_0x31a7a0)??0x0;}['_getViewRevision'](_0x22cefa,_0x33c21e){const _0x528ec2=_0x36f63a;return this[_0x528ec2(0x3a6)]['get'](this[_0x528ec2(0x2b9)](_0x22cefa,_0x33c21e))??0x0;}[_0x36f63a(0x5bc)](_0x183004,_0x139834){return _0x183004+'\x00'+_0x139834;}[_0x36f63a(0x3af)](_0x349f09,_0x3bf3a1){const _0x49a93b=_0x36f63a;return _0x349f09+'\x00'+this[_0x49a93b(0x5a0)](_0x3bf3a1);}[_0x36f63a(0x5bf)](_0x56359,_0x12311e,_0x190b7f){const _0xef92a4=_0x36f63a;return _0x56359+'\x00'+this[_0xef92a4(0x5a0)](_0x12311e)+'\x00'+this[_0xef92a4(0x1d2)](_0x190b7f);}[_0x36f63a(0x5a0)](_0x3060df){const _0x56a282=_0x36f63a;return _0x3060df?_0x43250e({'filter':_0x216680(_0x3060df[_0x56a282(0x46a)]),'sort':_0x34b40f(_0x3060df[_0x56a282(0x30f)])}):_0x56a282(0x5c2);}[_0x36f63a(0x1d2)](_0x188ee3){const _0x5017a5=_0x36f63a;return _0x43250e(_0x188ee3[_0x5017a5(0x4a5)](_0xf6188f=>({'fieldId':_0xf6188f[_0x5017a5(0x39c)],'direction':_0xf6188f['direction']??null})));}[_0x36f63a(0x2b9)](_0x1fb896,_0x5e54a9){return _0x1fb896+'\x00'+_0x5e54a9;}[_0x36f63a(0x433)](_0x2467b1,_0x22b167){const _0x168421=_0x36f63a;var _0x3f4063;let _0x16a601=_0xcff95d(_0x2467b1),_0x20e5cd=this[_0x168421(0x3ab)](_0x2467b1,_0x22b167),_0x7f2c15=(_0x3f4063=_0x22b167[_0x168421(0x46a)])!=null&&_0x3f4063[_0x168421(0x357)][_0x168421(0x4cd)]?this[_0x168421(0x3ab)](_0x2467b1,{..._0x22b167,'filter':null}):_0x20e5cd,_0x3a2e69=_0x53de46(this[_0x168421(0x3ed)](_0x2467b1,_0x16a601,_0x22b167['id'],_0x7f2c15[_0x168421(0x4a5)](_0x4b7573=>_0x4b7573[_0x168421(0x571)])),_0x7f2c15,new Set(_0x20e5cd[_0x168421(0x4a5)](_0x5ed25b=>_0x5ed25b['recordId'])));return{'type':_0x26cf17[_0x168421(0x2fb)]['Grid'],'fields':this[_0x168421(0x1b9)](_0x2467b1,_0x22b167),'rows':_0x3a2e69['rows'],'groups':this['_projectHierarchyGroups'](_0x2467b1,_0x22b167,_0x3a2e69[_0x168421(0x354)],_0x3a2e69[_0x168421(0x50e)]),'hierarchy':_0x3a2e69['hierarchy'],'frozenFieldCount':typeof _0x22b167['config']['frozenFieldCount']=='number'?_0x22b167[_0x168421(0x4cc)][_0x168421(0x579)]:0x0};}['_getHierarchyIndex'](_0x20ab6f,_0x253f65,_0x8b70b5,_0x1b3cbf){const _0x551e45=_0x36f63a;let _0x2b7289=_0x20ab6f['id']+'\x00'+_0x253f65+'\x00'+_0x8b70b5,_0x2915f5=this[_0x551e45(0x303)](_0x20ab6f['id']),_0xeaf12c=this[_0x551e45(0x33f)][_0x551e45(0x558)](_0x2b7289);if(_0xeaf12c&&_0xeaf12c['globalRevision']===this[_0x551e45(0x1fc)]&&_0xeaf12c[_0x551e45(0x21f)]===this[_0x551e45(0x426)](_0x20ab6f['id'])&&_0xeaf12c[_0x551e45(0x1f0)][_0x551e45(0x4cd)]===_0x1b3cbf[_0x551e45(0x4cd)]&&_0xeaf12c[_0x551e45(0x1f0)][_0x551e45(0x308)]((_0x44da90,_0x525aa9)=>_0x44da90===_0x1b3cbf[_0x525aa9])){if(_0xeaf12c['cellRevision']===_0x2915f5&&_0xeaf12c[_0x551e45(0x551)]===_0x20ab6f)return _0xeaf12c['index'];if(!this['_cellInvalidationsTouchFields'](_0x20ab6f['id'],_0xeaf12c[_0x551e45(0x3f9)],_0x2915f5,new Set([_0x253f65])))return this['_hierarchyIndexCache']['set'](_0x2b7289,{..._0xeaf12c,'table':_0x20ab6f,'cellRevision':_0x2915f5}),_0xeaf12c[_0x551e45(0x21b)];}let _0x2f6dff=_0x17cc3f(_0x20ab6f,_0x253f65,_0x1b3cbf);return this[_0x551e45(0x33f)][_0x551e45(0x4a9)](_0x2b7289,{'table':_0x20ab6f,'index':_0x2f6dff,'orderedRecordIds':_0x1b3cbf,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x551e45(0x426)](_0x20ab6f['id']),'cellRevision':_0x2915f5}),_0x2f6dff;}['_projectHierarchyGroups'](_0x5bdc58,_0x3fa3ba,_0xce5324,_0x594635){const _0x13e485=_0x36f63a;var _0x3fa3a3;if(!((_0x3fa3a3=_0x3fa3ba[_0x13e485(0x58b)])!=null&&_0x3fa3a3[_0x13e485(0x4cd)]))return[];let _0x2bee62=new Map(_0xce5324[_0x13e485(0x4a5)](_0x3c9fc5=>[_0x3c9fc5[_0x13e485(0x571)],_0x3c9fc5])),_0x22ddf1=_0x594635[_0x13e485(0x1b1)][_0x13e485(0x35a)](_0x5f2c6e=>{let _0x3c7dd7=_0x2bee62['get'](_0x5f2c6e);return _0x3c7dd7?[_0x3c7dd7]:[];}),_0x4cf5c7=this[_0x13e485(0x4d7)](_0x5bdc58,_0x3fa3ba,_0x22ddf1),_0x119086=new Map(_0x594635[_0x13e485(0x1f0)][_0x13e485(0x4a5)]((_0x37501a,_0x2eeff7)=>[_0x37501a,_0x2eeff7])),_0x25d935=_0x520289=>{const _0x156074=_0x13e485;let _0x56535a=_0x594635['nodes'][_0x520289],_0x502551=_0x119086['get'](_0x520289)??-0x1;return _0x502551<0x0||!_0x56535a?[]:_0x594635['orderedRecordIds'][_0x156074(0x24f)](_0x502551,_0x56535a[_0x156074(0x373)]+0x1);},_0x47c9ad=_0x4255ea=>{const _0x271f55=_0x13e485;var _0x496a69,_0x575585;return{..._0x4255ea,'recordIds':(_0x496a69=_0x4255ea['children'])!=null&&_0x496a69[_0x271f55(0x4cd)]?_0x4255ea[_0x271f55(0x263)]:_0x4255ea[_0x271f55(0x263)][_0x271f55(0x35a)](_0x25d935),'children':(_0x575585=_0x4255ea[_0x271f55(0x3ea)])==null?void 0x0:_0x575585[_0x271f55(0x4a5)](_0x47c9ad)};};return _0x4cf5c7['map'](_0x47c9ad);}[_0x36f63a(0x474)](_0x27b2c6,_0x402af6){const _0x1d518d=_0x36f63a;var _0xf2a4bd;let _0x4eb7e0=this[_0x1d518d(0x580)](_0x27b2c6,_0x402af6),_0x2d9a4a=_0x4eb7e0?_0x27b2c6[_0x1d518d(0x458)][_0x4eb7e0]:void 0x0;if(!_0x2d9a4a)return{'type':_0x1d518d(0x312),'viewType':_0x26cf17[_0x1d518d(0x2fb)][_0x1d518d(0x288)],'reason':_0x1d518d(0x464),'fieldId':_0x402af6['config'][_0x1d518d(0x26d)]};let _0x5b30da=this[_0x1d518d(0x3ab)](_0x27b2c6,_0x402af6),_0x53501a=this[_0x1d518d(0x1b9)](_0x27b2c6,_0x402af6),_0x527ac6=_0x402af6['config']??{},_0x5715ab=this[_0x1d518d(0x31a)](_0x27b2c6,(_0xf2a4bd=_0x527ac6['card'])==null?void 0x0:_0xf2a4bd[_0x1d518d(0x3c2)]),_0x18fa47=this['_resolveKanbanCardFieldIds'](_0x27b2c6,_0x402af6,_0x2d9a4a['id'],_0x5715ab),_0x28a623=new Map();if(_0x2e8fb1(_0x27b2c6,_0x2d9a4a['id'])){let _0x3025c3=this[_0x1d518d(0x3ed)](_0x27b2c6,_0x2d9a4a['id'],_0x402af6['id'],_0x5b30da[_0x1d518d(0x4a5)](_0x2562b3=>_0x2562b3[_0x1d518d(0x571)])),_0x2b8bbe=new Map();return _0x5b30da[_0x1d518d(0x1bf)](_0x455275=>{const _0x10c3af=_0x1d518d;let _0x2a3448=_0x3025c3[_0x10c3af(0x35e)][_0x10c3af(0x558)](_0x455275[_0x10c3af(0x571)])??null,_0xc76081=_0x2a3448??'',_0x407128=_0x2a3448?_0x27b2c6['records'][_0x2a3448]:void 0x0,_0x50252c=_0x2b8bbe[_0x10c3af(0x558)](_0xc76081)??{'key':_0xc76081,'title':_0x407128?String(_0x2db5fc(_0x27b2c6,_0x407128['id'],_0x27b2c6[_0x10c3af(0x5ce)])??_0x2a3448):this['_kanbanLaneTitle'](_0x2d9a4a,_0xc76081,_0x527ac6),'recordIds':[]};_0x50252c[_0x10c3af(0x263)][_0x10c3af(0x605)](_0x455275['recordId']),_0x2b8bbe['set'](_0xc76081,_0x50252c);}),{'type':_0x26cf17[_0x1d518d(0x2fb)][_0x1d518d(0x288)],'fields':_0x53501a,'rows':_0x5b30da,'groups':[],'groupFieldId':_0x2d9a4a['id'],'titleFieldId':_0x5715ab,'coverFieldId':this[_0x1d518d(0x592)](_0x27b2c6,_0x527ac6),'cardLayout':_0x527ac6['cardLayout']===_0x1d518d(0x44a)?_0x1d518d(0x44a):_0x1d518d(0x3f6),'showFieldNames':_0x527ac6[_0x1d518d(0x2a6)]!==!0x1,'visibleCardFieldIds':_0x18fa47,'lanes':['',..._0x3025c3[_0x1d518d(0x1f0)]][_0x1d518d(0x35a)](_0x1cc69d=>{const _0x2bddd0=_0x1d518d;let _0x44de68=_0x2b8bbe['get'](_0x1cc69d);return _0x44de68!=null&&_0x44de68[_0x2bddd0(0x263)][_0x2bddd0(0x4cd)]?[_0x44de68]:[];})};}return this[_0x1d518d(0x57b)](_0x2d9a4a,_0x527ac6)['forEach'](_0x11cf07=>_0x28a623[_0x1d518d(0x4a9)](_0x11cf07[_0x1d518d(0x262)],{..._0x11cf07,'recordIds':[]})),_0x5b30da[_0x1d518d(0x1bf)](_0x2661bc=>{const _0x533ec2=_0x1d518d;this[_0x533ec2(0x2e7)](_0x2d9a4a,_0x2661bc[_0x533ec2(0x20f)][_0x2d9a4a['id']])[_0x533ec2(0x1bf)](_0x3ccac5=>{const _0x2dc5c7=_0x533ec2;let _0x164704=_0x28a623[_0x2dc5c7(0x558)](_0x3ccac5)??{'key':_0x3ccac5,'title':this[_0x2dc5c7(0x253)](_0x2d9a4a,_0x3ccac5,_0x527ac6),'color':this['_kanbanLaneColor'](_0x2d9a4a,_0x3ccac5,_0x527ac6),'recordIds':[]};_0x164704['recordIds'][_0x2dc5c7(0x605)](_0x2661bc['recordId']),_0x28a623['set'](_0x3ccac5,_0x164704);});}),{'type':_0x26cf17['BaseViewType'][_0x1d518d(0x288)],'fields':_0x53501a,'rows':_0x5b30da,'groups':this['_projectGroups'](_0x27b2c6,_0x402af6,_0x5b30da),'groupFieldId':_0x2d9a4a['id'],'titleFieldId':_0x5715ab,'coverFieldId':this[_0x1d518d(0x592)](_0x27b2c6,_0x527ac6),'cardLayout':_0x527ac6['cardLayout']===_0x1d518d(0x44a)?_0x1d518d(0x44a):_0x1d518d(0x3f6),'showFieldNames':_0x527ac6['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x18fa47,'lanes':Array[_0x1d518d(0x356)](_0x28a623[_0x1d518d(0x20f)]())};}[_0x36f63a(0x580)](_0x278f1a,_0x585cac){const _0x5dd438=_0x36f63a;var _0x1d2f18;let _0x34162a=(_0x1d2f18=_0x585cac[_0x5dd438(0x4cc)])==null?void 0x0:_0x1d2f18[_0x5dd438(0x26d)];return _0x34162a&&this['_isKanbanGroupField'](_0x278f1a,_0x34162a)?_0x34162a:this[_0x5dd438(0x343)](_0x278f1a,_0x568a48=>this[_0x5dd438(0x258)](_0x568a48));}[_0x36f63a(0x343)](_0x3fc33e,_0x11b1e6){const _0x420173=_0x36f63a;for(let _0x4c77bf of _0x3fc33e[_0x420173(0x1b2)]){let _0x4bfeb9=_0x3fc33e['fields'][_0x4c77bf];if(_0x4bfeb9&&_0x11b1e6(_0x4bfeb9))return _0x4bfeb9['id'];}return null;}[_0x36f63a(0x5bd)](_0x3aa48c,_0x252dc6){const _0x5d9c29=_0x36f63a;let _0x5845f8=_0x3aa48c['fields'][_0x252dc6];return this[_0x5d9c29(0x258)](_0x5845f8)||_0x2e8fb1(_0x3aa48c,_0x252dc6);}['_isAllowedKanbanGroupField'](_0x39fef8){const _0x33a46d=_0x36f63a;return!!_0x39fef8&&(_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x537)]||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)]['MultiSelect']||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x372)]||_0x39fef8['type']===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x386)]||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)]['Group']||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17['BaseFieldType'][_0x33a46d(0x428)]);}[_0x36f63a(0x4a6)](_0x111725){const _0x48b496=_0x36f63a;return _0x111725[_0x48b496(0x5d6)]===_0x26cf17[_0x48b496(0x22d)]['SingleSelect']||_0x111725[_0x48b496(0x5d6)]===_0x26cf17['BaseFieldType']['MultiSelect'];}[_0x36f63a(0x592)](_0x4dfc44,_0x347ab7){const _0x11b4bf=_0x36f63a;var _0x43b6e1;let _0x57d6a4=_0x347ab7[_0x11b4bf(0x247)]??((_0x43b6e1=_0x347ab7[_0x11b4bf(0x4f0)])==null?void 0x0:_0x43b6e1[_0x11b4bf(0x247)])??null;if(!_0x57d6a4)return null;let _0x26274e=_0x4dfc44[_0x11b4bf(0x458)][_0x57d6a4];return _0x26274e&&this[_0x11b4bf(0x212)](_0x26274e)[_0x11b4bf(0x26e)]?_0x26274e['id']:null;}[_0x36f63a(0x340)](_0x31f81e,_0x63a41f,_0xe99fb,_0xd9d70e=this['_resolveCardTitleFieldId'](_0x31f81e,((()=>{const _0x9e223f=_0x36f63a;var _0x5ac09f;return(_0x5ac09f=_0x63a41f[_0x9e223f(0x4cc)])==null||(_0x5ac09f=_0x5ac09f['card'])==null?void 0x0:_0x5ac09f[_0x9e223f(0x3c2)];})()))){const _0x343620=_0x36f63a;var _0x115f4d;let _0x375237=_0x63a41f['config']??{},_0x302cd3=(_0x115f4d=_0x375237[_0x343620(0x4f0)])!=null&&(_0x115f4d=_0x115f4d[_0x343620(0x60e)])!=null&&_0x115f4d[_0x343620(0x4cd)]?_0x375237['card'][_0x343620(0x60e)]:_0x17b3aa(_0x31f81e,[_0xd9d70e,_0x31f81e[_0x343620(0x5ce)],_0xe99fb]),_0x229c7c=_0x375237[_0x343620(0x47f)]??{};return _0x302cd3[_0x343620(0x46a)](_0x107ba5=>{const _0x46aca6=_0x343620;var _0x49932d,_0x4c3825;let _0x3fa178=_0x31f81e['fields'][_0x107ba5];return!(!_0x3fa178||_0x3fa178[_0x46aca6(0x5a9)]===!0x0||_0x3fa178['type']===_0x26cf17['BaseFieldType']['RecordId']||_0x3fa178['id']===_0xe99fb||_0x3fa178['id']===_0xd9d70e||(_0x49932d=_0x63a41f[_0x46aca6(0x47f)])!=null&&(_0x49932d=_0x49932d[_0x107ba5])!=null&&_0x49932d[_0x46aca6(0x339)]||(_0x4c3825=_0x229c7c[_0x107ba5])!=null&&_0x4c3825['hidden']);})['sort']((_0x1de24a,_0x26bc5b)=>{const _0x189c57=_0x343620;var _0x2b640e,_0x30221f;return(((_0x2b640e=_0x229c7c[_0x1de24a])==null?void 0x0:_0x2b640e['order'])??_0x302cd3[_0x189c57(0x499)](_0x1de24a))-(((_0x30221f=_0x229c7c[_0x26bc5b])==null?void 0x0:_0x30221f[_0x189c57(0x5b4)])??_0x302cd3[_0x189c57(0x499)](_0x26bc5b));});}[_0x36f63a(0x57b)](_0x4d1817,_0x103b54){const _0x2603af=_0x36f63a;var _0x4a7325;let _0x335bba=(Array['isArray']((_0x4a7325=_0x4d1817[_0x2603af(0x4cc)])==null?void 0x0:_0x4a7325[_0x2603af(0x45b)])?_0x4d1817[_0x2603af(0x4cc)][_0x2603af(0x45b)]:[])['flatMap']((_0x1aa6d2,_0x747672)=>{const _0x4c30c4=_0x2603af;if(_0x1aa6d2==null)return[];let _0xa2501d=typeof _0x1aa6d2==_0x4c30c4(0x4c8)?{'id':_0x1aa6d2,'name':_0x1aa6d2,'color':void 0x0}:_0x1aa6d2,_0x4878be=String(_0xa2501d['id']??_0xa2501d[_0x4c30c4(0x3f8)]??'option-'+(_0x747672+0x1));return[{'key':_0x4878be,'title':String(_0xa2501d[_0x4c30c4(0x3f8)]??_0xa2501d['id']??_0x4878be),'color':this['_kanbanLaneColor'](_0x4d1817,_0x4878be,_0x103b54)}];});return Object[_0x2603af(0x443)](_0x103b54[_0x2603af(0x38a)]??{})[_0x2603af(0x1bf)](([_0x24cb1a,_0x2b3c24])=>{const _0x21978b=_0x2603af;_0x335bba[_0x21978b(0x2c3)](_0x512a09=>_0x512a09['key']===_0x24cb1a)||_0x335bba[_0x21978b(0x605)]({'key':_0x24cb1a,'title':this[_0x21978b(0x4a6)](_0x4d1817)?_0x2b3c24[_0x21978b(0x44d)]??this[_0x21978b(0x253)](_0x4d1817,_0x24cb1a,_0x103b54):this[_0x21978b(0x253)](_0x4d1817,_0x24cb1a,_0x103b54),'color':this[_0x21978b(0x374)](_0x4d1817,_0x24cb1a,_0x103b54)});}),_0x335bba;}[_0x36f63a(0x2e7)](_0x22be06,_0xd6ac20){const _0x216894=_0x36f63a;let _0x290754=_0x4e149a=>{const _0x3421ca=_0x45c5;var _0x3430fc;let _0x29b5b0=_0x4e149a==null?'':String(_0x4e149a);return!_0x29b5b0||!this[_0x3421ca(0x4a6)](_0x22be06)?_0x29b5b0:((_0x3430fc=_0x20d5b3(_0x22be06,_0x29b5b0))==null?void 0x0:_0x3430fc['id'])??_0x29b5b0;};if(Array[_0x216894(0x2c4)](_0xd6ac20)){let _0x19ec4c=_0xd6ac20[_0x216894(0x4a5)](_0x290754)[_0x216894(0x46a)](_0x53a3a8=>_0x53a3a8!=='');return _0x19ec4c[_0x216894(0x4cd)]?_0x19ec4c:[''];}return[_0x290754(_0xd6ac20)];}[_0x36f63a(0x253)](_0x59cd0d,_0x41c968,_0x5e0ede){const _0xd0900f=_0x36f63a;if(!_0x41c968)return _0xd0900f(0x22b);let _0x1b9455=_0x20d5b3(_0x59cd0d,_0x41c968);return(_0x1b9455==null?void 0x0:_0x1b9455['name'])??_0x41c968;}[_0x36f63a(0x374)](_0x41f708,_0x245859,_0x58e77a){const _0x581978=_0x36f63a;var _0x1f6129;if(this[_0x581978(0x4a6)](_0x41f708))return(_0x1f6129=_0x20d5b3(_0x41f708,_0x245859))==null?void 0x0:_0x1f6129[_0x581978(0x1cb)];}[_0x36f63a(0x2e5)](_0x4aeead,_0x4ec056){const _0x45465d=_0x36f63a;let _0x366763=this['_normalizeCalendarConfig'](_0x4aeead,_0x4ec056[_0x45465d(0x4cc)]??{}),_0x57bcc6=_0x4aeead[_0x45465d(0x458)][_0x366763[_0x45465d(0x395)]];if(!_0x57bcc6||_0x57bcc6[_0x45465d(0x5d6)]!==_0x26cf17[_0x45465d(0x22d)][_0x45465d(0x1be)]||_0x57bcc6[_0x45465d(0x4e5)]===!0x0||_0x57bcc6[_0x45465d(0x5a9)]===!0x0||!this[_0x45465d(0x212)](_0x57bcc6)[_0x45465d(0x40c)])return{'type':_0x45465d(0x312),'viewType':_0x26cf17[_0x45465d(0x2fb)]['Calendar'],'reason':_0x45465d(0x53d),'fieldId':_0x366763[_0x45465d(0x395)]};let _0x264797=_0x366763['endDateFieldId']?_0x4aeead[_0x45465d(0x458)][_0x366763[_0x45465d(0x552)]]:void 0x0,_0x3aa6f7=this['_projectRows'](_0x4aeead,_0x4ec056);return{'type':_0x26cf17[_0x45465d(0x2fb)]['Calendar'],'config':_0x366763,'fields':this[_0x45465d(0x1b9)](_0x4aeead,_0x4ec056),'rows':_0x3aa6f7,'groups':this[_0x45465d(0x4d7)](_0x4aeead,_0x4ec056,_0x3aa6f7),'events':_0x3aa6f7[_0x45465d(0x35a)](_0x30cb01=>{const _0x1579cd=_0x45465d;let _0x3dbd52=_0x134f0b(_0x30cb01[_0x1579cd(0x20f)][_0x366763[_0x1579cd(0x395)]]);if(!Number[_0x1579cd(0x26b)](_0x3dbd52))return[];let _0x4e2fca=_0x30cb01[_0x1579cd(0x20f)][_0x366763[_0x1579cd(0x395)]],_0x567284=_0x366763['endDateFieldId']==null?void 0x0:_0x30cb01['values'][_0x366763[_0x1579cd(0x552)]],_0x3244ec=_0x366763['endDateFieldId']==null?void 0x0:_0x134f0b(_0x567284),_0x1d4522=Number['isFinite'](_0x3244ec)?_0x3244ec:void 0x0;return[{'recordId':_0x30cb01[_0x1579cd(0x571)],'title':this[_0x1579cd(0x34f)](_0x4aeead,_0x30cb01,_0x366763[_0x1579cd(0x3c2)]),'start':_0x3dbd52,'end':_0x1d4522,'color':this[_0x1579cd(0x1b3)](_0x4aeead,_0x30cb01,_0x366763),'startMs':_0x3dbd52,'endMs':_0x1d4522,'allDay':this['_isAllDayCalendarEvent'](_0x57bcc6,_0x264797,_0x4e2fca,_0x567284),'fieldValues':_0x30cb01[_0x1579cd(0x20f)]}];})};}['_normalizeCalendarConfig'](_0x361eda,_0x22d266){const _0x58e09e=_0x36f63a;let _0x59cac1=this[_0x58e09e(0x52f)](_0x361eda,_0x22d266[_0x58e09e(0x395)]),_0x2b7fb6=_0x22d266[_0x58e09e(0x552)]&&this[_0x58e09e(0x3cd)](_0x361eda,_0x22d266['endDateFieldId'])?_0x22d266[_0x58e09e(0x552)]:this[_0x58e09e(0x1da)](_0x361eda,_0x59cac1)??void 0x0,_0xed0032=_0x22d266['titleFieldId']?_0x361eda[_0x58e09e(0x458)][_0x22d266[_0x58e09e(0x3c2)]]:void 0x0,_0x25a3b3=_0xed0032&&_0xed0032[_0x58e09e(0x5a9)]!==!0x0&&_0xed0032['type']!==_0x26cf17['BaseFieldType'][_0x58e09e(0x4b5)]?_0x22d266[_0x58e09e(0x3c2)]:_0x361eda[_0x58e09e(0x5ce)],_0x388385=_0x22d266[_0x58e09e(0x3ef)]===_0x58e09e(0x589)||_0x22d266['mode']===_0x58e09e(0x460)?_0x22d266[_0x58e09e(0x3ef)]:_0x58e09e(0x449),_0x3dcf3f=_0x22d266[_0x58e09e(0x2ca)]==='short'||_0x22d266[_0x58e09e(0x2ca)]===_0x58e09e(0x5cf)?_0x22d266[_0x58e09e(0x2ca)]:'medium',_0xbabc7a=typeof _0x22d266[_0x58e09e(0x23a)]==_0x58e09e(0x4c8)&&_0x22d266['timeZone'][_0x58e09e(0x3ce)]()?_0x22d266[_0x58e09e(0x23a)]:'local',_0x44775f=this[_0x58e09e(0x366)](_0x361eda,_0x22d266);return{..._0x22d266,'startDateFieldId':_0x59cac1,'endDateFieldId':_0x2b7fb6,'titleFieldId':_0x25a3b3,'mode':_0x388385,'timeslotSize':_0x3dcf3f,'timeZone':_0xbabc7a,'displayColor':_0x44775f,'fieldSettings':Object[_0x58e09e(0x60c)](Object[_0x58e09e(0x443)](_0x22d266[_0x58e09e(0x47f)]??{})[_0x58e09e(0x46a)](([_0x348530])=>{const _0x58f9ae=_0x58e09e;let _0x18ecd1=_0x361eda[_0x58f9ae(0x458)][_0x348530];return!!(_0x18ecd1&&_0x18ecd1['system']!==!0x0&&_0x18ecd1['type']!==_0x26cf17[_0x58f9ae(0x22d)]['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x39a722,_0x268295){const _0x5f44f2=_0x36f63a;return _0x268295&&this[_0x5f44f2(0x3cd)](_0x39a722,_0x268295)?_0x268295:this['_findCalendarDateFieldId'](_0x39a722)??_0x268295??'';}[_0x36f63a(0x1da)](_0x52e803,_0x28b25f){const _0x823361=_0x36f63a;for(let _0x1cf958 of _0x52e803['fieldOrder'])if(_0x1cf958!==_0x28b25f&&this[_0x823361(0x3cd)](_0x52e803,_0x1cf958))return _0x1cf958;return null;}['_isCalendarDateField'](_0x5ab456,_0x2fbb5a){const _0x277e22=_0x36f63a;let _0x1d294c=_0x5ab456[_0x277e22(0x458)][_0x2fbb5a];return!!_0x1d294c&&_0x1d294c['type']===_0x26cf17[_0x277e22(0x22d)]['Date']&&_0x1d294c[_0x277e22(0x4e5)]!==!0x0&&_0x1d294c[_0x277e22(0x5a9)]!==!0x0&&this[_0x277e22(0x212)](_0x1d294c)[_0x277e22(0x40c)];}[_0x36f63a(0x366)](_0x225351,_0x60a849){const _0x3342ea=_0x36f63a;let _0x59e385=_0x60a849['displayColor'];if((_0x59e385==null?void 0x0:_0x59e385['type'])===_0x3342ea(0x1d4)){let _0xbc00cd=_0x225351['fields'][_0x59e385[_0x3342ea(0x39c)]];if(_0xbc00cd&&_0xbc00cd['type']===_0x26cf17['BaseFieldType']['SingleSelect'])return _0x59e385;}if((_0x59e385==null?void 0x0:_0x59e385[_0x3342ea(0x5d6)])===_0x3342ea(0x200)&&typeof _0x59e385[_0x3342ea(0x1cb)]==_0x3342ea(0x4c8)&&_0x59e385['color'][_0x3342ea(0x3ce)]())return{'type':'custom','color':_0x59e385[_0x3342ea(0x1cb)]};if(_0x60a849[_0x3342ea(0x5e8)]){let _0x2a6950=_0x225351[_0x3342ea(0x458)][_0x60a849[_0x3342ea(0x5e8)]];if(_0x2a6950&&_0x2a6950[_0x3342ea(0x5d6)]===_0x26cf17[_0x3342ea(0x22d)]['SingleSelect'])return{'type':'selectField','fieldId':_0x60a849['colorFieldId']};}return{'type':_0x3342ea(0x200),'color':_0x3342ea(0x2f8)};}[_0x36f63a(0x1b3)](_0x1c16ac,_0x14b607,_0x33f3a6){const _0x305f42=_0x36f63a;let _0x618cd0=_0x33f3a6['displayColor'];if((_0x618cd0==null?void 0x0:_0x618cd0[_0x305f42(0x5d6)])===_0x305f42(0x1d4)){var _0x18e36c;let _0x55e8c1=_0x1c16ac[_0x305f42(0x458)][_0x618cd0[_0x305f42(0x39c)]];if(!_0x55e8c1)return;let _0x5acf94=_0x14b607['values'][_0x618cd0[_0x305f42(0x39c)]],_0x1c39e8=Array[_0x305f42(0x2c4)](_0x5acf94)?_0x5acf94[0x0]:_0x5acf94;return _0x1c39e8==null||(_0x18e36c=_0x20d5b3(_0x55e8c1,String(_0x1c39e8)))==null?void 0x0:_0x18e36c['color'];}if((_0x618cd0==null?void 0x0:_0x618cd0['type'])===_0x305f42(0x200))return _0x618cd0['color'];}['_isAllDayCalendarEvent'](_0x487bfb,_0x10afe5,_0x2594bd,_0x461fb9){const _0x3934eb=_0x36f63a;var _0x295af6,_0x30af09;let _0x44d541=((_0x295af6=_0x487bfb[_0x3934eb(0x4cc)])==null?void 0x0:_0x295af6[_0x3934eb(0x3d4)])===!0x0,_0x3e735a=(_0x10afe5==null||(_0x30af09=_0x10afe5[_0x3934eb(0x4cc)])==null?void 0x0:_0x30af09[_0x3934eb(0x3d4)])===!0x0;return!_0x44d541&&!_0x3e735a;}['_isAllDayGanttDateRange'](_0x3eff86,_0x3eb894){const _0x34cc97=_0x36f63a;var _0x420f4e,_0x401a75;let _0x3dd87b=((_0x420f4e=_0x3eff86[_0x34cc97(0x4cc)])==null?void 0x0:_0x420f4e[_0x34cc97(0x3d4)])===!0x0,_0x201e03=((_0x401a75=_0x3eb894[_0x34cc97(0x4cc)])==null?void 0x0:_0x401a75[_0x34cc97(0x3d4)])===!0x0;return!_0x3dd87b&&!_0x201e03;}[_0x36f63a(0x3cb)](_0x5af939,_0x29c63a){const _0x2f6fdb=_0x36f63a;let _0x4b3225=this['_normalizeGanttConfig'](_0x5af939,_0x29c63a[_0x2f6fdb(0x4cc)]),_0xbcc719=_0x5af939[_0x2f6fdb(0x458)][_0x4b3225[_0x2f6fdb(0x395)]];if(!_0xbcc719||_0xbcc719[_0x2f6fdb(0x5d6)]!==_0x26cf17[_0x2f6fdb(0x22d)][_0x2f6fdb(0x1be)]||_0xbcc719[_0x2f6fdb(0x4e5)]===!0x0||_0xbcc719[_0x2f6fdb(0x5a9)]===!0x0||!this[_0x2f6fdb(0x212)](_0xbcc719)['usableAsGanttStart'])return{'type':_0x2f6fdb(0x312),'viewType':_0x26cf17[_0x2f6fdb(0x2fb)][_0x2f6fdb(0x1e2)],'reason':_0x2f6fdb(0x544),'fieldId':_0x4b3225[_0x2f6fdb(0x395)]};let _0x1e2b71=_0x5af939['fields'][_0x4b3225[_0x2f6fdb(0x552)]];if(!_0x1e2b71||_0x1e2b71[_0x2f6fdb(0x5d6)]!==_0x26cf17['BaseFieldType'][_0x2f6fdb(0x1be)]||_0x1e2b71[_0x2f6fdb(0x4e5)]===!0x0||_0x1e2b71['system']===!0x0||!this[_0x2f6fdb(0x212)](_0x1e2b71)[_0x2f6fdb(0x309)])return{'type':_0x2f6fdb(0x312),'viewType':_0x26cf17['BaseViewType'][_0x2f6fdb(0x1e2)],'reason':_0x2f6fdb(0x26f),'fieldId':_0x4b3225[_0x2f6fdb(0x552)]};let _0xbc98c=this[_0x2f6fdb(0x257)](_0xbcc719,_0x1e2b71),_0x26357b=this[_0x2f6fdb(0x3ab)](_0x5af939,_0x29c63a),_0x2a4096=_0x26357b[_0x2f6fdb(0x35a)](_0x4169d6=>{const _0x578ed0=_0x2f6fdb;let _0x526488=_0x134f0b(_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x395)]]),_0x5896ad=_0x134f0b(_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x552)]]);if(!Number['isFinite'](_0x526488)||!Number[_0x578ed0(0x26b)](_0x5896ad))return[];let _0x2998be=Math[_0x578ed0(0x275)](_0x526488,_0x5896ad),_0x131b10=Math[_0x578ed0(0x5a7)](_0x526488,_0x5896ad),_0x981739=_0x4b3225['progressFieldId']==null?void 0x0:Number(_0x4169d6['values'][_0x4b3225[_0x578ed0(0x229)]]);return[{'recordId':_0x4169d6[_0x578ed0(0x571)],'title':this[_0x578ed0(0x34f)](_0x5af939,_0x4169d6,_0x4b3225['titleFieldId']),'start':_0x2998be,'end':_0x131b10,'color':this['_ganttBarColor'](_0x5af939,_0x4169d6,_0x4b3225),'progress':Number[_0x578ed0(0x26b)](_0x981739)?_0x981739:void 0x0,'workingDayCount':_0x4b3225[_0x578ed0(0x46e)]?_0xe26be9(_0x2998be,_0x131b10,_0x4b3225[_0x578ed0(0x380)]):void 0x0,'dependencyRecordIds':this[_0x578ed0(0x4cf)](_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x27f)]??''])}];}),_0x3eb6f4=_0x2a4096['length']?_0x441ed0(Math[_0x2f6fdb(0x275)](..._0x2a4096[_0x2f6fdb(0x4a5)](_0x31e3f6=>_0x31e3f6[_0x2f6fdb(0x22c)]))-0x5a*_0x4ab1b5):_0x441ed0(Date[_0x2f6fdb(0x5c9)]()-0x5a*_0x4ab1b5),_0x413cd0=_0x2a4096[_0x2f6fdb(0x4cd)]?_0x441ed0(Math[_0x2f6fdb(0x5a7)](..._0x2a4096[_0x2f6fdb(0x4a5)](_0x15c081=>_0x15c081['end']))+0x5b*_0x4ab1b5):_0x441ed0(Date[_0x2f6fdb(0x5c9)]()+0x5b*_0x4ab1b5),_0x9e626b=_0x1b9af2(_0x4b3225['scale'],_0x3eb6f4,_0x413cd0,_0x4b3225[_0x2f6fdb(0x46e)]?_0x4b3225[_0x2f6fdb(0x380)]:void 0x0);return{'type':_0x26cf17[_0x2f6fdb(0x2fb)][_0x2f6fdb(0x1e2)],'fields':this['_projectFields'](_0x5af939,{..._0x29c63a,'config':_0x4b3225}),'rows':_0x26357b,'groups':this[_0x2f6fdb(0x4d7)](_0x5af939,_0x29c63a,_0x26357b),'config':_0x4b3225,'dateRangeAllDay':_0xbc98c,'timeline':{'scale':_0x4b3225['scale'],'start':_0x3eb6f4,'end':_0x413cd0,'unitWidth':_0x9e626b[_0x2f6fdb(0x5ed)],'majorHeaders':_0x9e626b['majorHeaders'],'columns':_0x9e626b[_0x2f6fdb(0x438)]},'bars':_0x2a4096};}[_0x36f63a(0x3c7)](_0x49357b,_0x4df700){const _0xe5db87=_0x36f63a;let _0x1a085e=this['_resolveGanttDateFieldId'](_0x49357b,_0x4df700[_0xe5db87(0x395)],'start'),_0x260aaf=this[_0xe5db87(0x36a)](_0x49357b,_0x4df700[_0xe5db87(0x552)],'end')||_0x1a085e,_0x42b79c=_0x4df700[_0xe5db87(0x3c2)]?_0x49357b[_0xe5db87(0x458)][_0x4df700['titleFieldId']]:void 0x0,_0x30e069=_0x42b79c&&_0x42b79c[_0xe5db87(0x5a9)]!==!0x0&&_0x42b79c[_0xe5db87(0x5d6)]!==_0x26cf17['BaseFieldType'][_0xe5db87(0x4b5)]?_0x4df700[_0xe5db87(0x3c2)]:_0x49357b[_0xe5db87(0x5ce)],_0x43d9f7=_0x4df700['scale']===_0xe5db87(0x460)||_0x4df700[_0xe5db87(0x259)]===_0xe5db87(0x352)||_0x4df700[_0xe5db87(0x259)]===_0xe5db87(0x4c2)?_0x4df700[_0xe5db87(0x259)]:'month',_0x4faf7f=_0x59a2bb(_0x4df700[_0xe5db87(0x380)]);return{..._0x4df700,'startDateFieldId':_0x1a085e,'endDateFieldId':_0x260aaf,'titleFieldId':_0x30e069,'scale':_0x43d9f7,'leftPaneWidth':typeof _0x4df700[_0xe5db87(0x5ae)]==_0xe5db87(0x5ac)?_0x4df700[_0xe5db87(0x5ae)]:void 0x0,'leftPaneCollapsed':_0x4df700['leftPaneCollapsed']===!0x0,'showTodayLine':_0x4df700[_0xe5db87(0x22e)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x49357b,_0x4df700),'fieldSettings':Object[_0xe5db87(0x60c)](Object[_0xe5db87(0x443)](_0x4df700[_0xe5db87(0x47f)]??{})[_0xe5db87(0x46a)](([_0x3d894f])=>{const _0x4e613f=_0xe5db87;let _0x29a932=_0x49357b[_0x4e613f(0x458)][_0x3d894f];return!!(_0x29a932&&_0x29a932[_0x4e613f(0x5a9)]!==!0x0&&_0x29a932[_0x4e613f(0x5d6)]!==_0x26cf17[_0x4e613f(0x22d)][_0x4e613f(0x4b5)]);})),'workingDaysOnly':_0x4df700[_0xe5db87(0x46e)]===!0x0,'workingDays':_0x4faf7f};}['_resolveGanttDateFieldId'](_0x3d8487,_0x49a89b,_0x50eecc){const _0x3adc78=_0x36f63a;if(_0x49a89b&&this['_isGanttDateField'](_0x3d8487,_0x49a89b,_0x50eecc)||_0x49a89b)return _0x49a89b;for(let _0xd7de84 of _0x3d8487[_0x3adc78(0x1b2)])if(this['_isGanttDateField'](_0x3d8487,_0xd7de84,_0x50eecc))return _0xd7de84;return _0x49a89b??'';}[_0x36f63a(0x1a7)](_0x6014d7,_0x3c3899,_0x514275){const _0x519844=_0x36f63a;let _0x1cdef0=_0x6014d7[_0x519844(0x458)][_0x3c3899];if(!_0x1cdef0||_0x1cdef0[_0x519844(0x5d6)]!==_0x26cf17[_0x519844(0x22d)][_0x519844(0x1be)]||_0x1cdef0[_0x519844(0x4e5)]===!0x0||_0x1cdef0['system']===!0x0)return!0x1;let _0x5a0909=this[_0x519844(0x212)](_0x1cdef0);return _0x514275===_0x519844(0x22c)?_0x5a0909[_0x519844(0x405)]:_0x5a0909['usableAsGanttEnd'];}['_normalizeGanttDisplayColor'](_0x1ea2ae,_0x52e8ec){const _0xcdabb6=_0x36f63a;let _0x34ea93=_0x52e8ec['displayColor'];if((_0x34ea93==null?void 0x0:_0x34ea93[_0xcdabb6(0x5d6)])===_0xcdabb6(0x1d4)){let _0x503846=_0x1ea2ae['fields'][_0x34ea93[_0xcdabb6(0x39c)]];if(_0x503846&&_0x503846[_0xcdabb6(0x5d6)]===_0x26cf17[_0xcdabb6(0x22d)]['SingleSelect'])return _0x34ea93;}return(_0x34ea93==null?void 0x0:_0x34ea93['type'])==='conditional'&&Array['isArray'](_0x34ea93[_0xcdabb6(0x29a)])?{'type':'conditional','rules':_0x34ea93[_0xcdabb6(0x29a)][_0xcdabb6(0x46a)](_0x5993df=>!!_0x1ea2ae['fields'][_0x5993df[_0xcdabb6(0x39c)]])}:(_0x34ea93==null?void 0x0:_0x34ea93[_0xcdabb6(0x5d6)])===_0xcdabb6(0x200)&&typeof _0x34ea93['color']==_0xcdabb6(0x4c8)&&_0x34ea93['color']['trim']()?{'type':_0xcdabb6(0x200),'color':_0x34ea93[_0xcdabb6(0x1cb)]}:{'type':_0xcdabb6(0x200),'color':_0xcdabb6(0x31e)};}[_0x36f63a(0x51b)](_0x453409,_0x2880db,_0x19c92d){const _0x1d64ff=_0x36f63a;let _0x1b75e8=_0x19c92d['displayColor'];if((_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x3d2)){let _0x3b9365=_0x1b75e8[_0x1d64ff(0x29a)][_0x1d64ff(0x396)](_0x3db248=>this['_matchesGanttColorRule'](_0x453409,_0x2880db,_0x3db248));if(_0x3b9365)return _0x3b9365[_0x1d64ff(0x1cb)];}if((_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x1d4)){let _0x48b1ce=_0x453409['fields'][_0x1b75e8[_0x1d64ff(0x39c)]];if(_0x48b1ce){var _0x432b3b;let _0x4482db=_0x2880db[_0x1d64ff(0x20f)][_0x1b75e8[_0x1d64ff(0x39c)]],_0x20546=Array['isArray'](_0x4482db)?_0x4482db[0x0]:_0x4482db,_0x330710=_0x20546==null||(_0x432b3b=_0x20d5b3(_0x48b1ce,String(_0x20546)))==null?void 0x0:_0x432b3b[_0x1d64ff(0x1cb)];if(_0x330710)return _0x330710;}}return(_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x200)?_0x1b75e8['color']:'#14b8a6';}[_0x36f63a(0x570)](_0x68cf33,_0x1541fd,_0x3ad2e3){const _0x3d8ce4=_0x36f63a;let _0x5139a3=_0x68cf33[_0x3d8ce4(0x458)][_0x3ad2e3[_0x3d8ce4(0x39c)]];return _0x5139a3?_0x300f16(_0x1541fd[_0x3d8ce4(0x20f)][_0x5139a3['id']],_0x3ad2e3[_0x3d8ce4(0x2a0)],_0x3ad2e3[_0x3d8ce4(0x26c)],_0x5139a3,{'dateMode':_0x3ad2e3['dateMode']}):!0x1;}[_0x36f63a(0x543)](_0x2ef0ec,_0x454379){const _0x37c829=_0x36f63a;let _0x4fa9c3=this[_0x37c829(0x3ab)](_0x2ef0ec,_0x454379),_0x57bf64=this[_0x37c829(0x4bf)](_0x2ef0ec,_0x454379[_0x37c829(0x4cc)]??{}),_0x4e2c43=this[_0x37c829(0x1b9)](_0x2ef0ec,_0x454379);return{'type':_0x26cf17[_0x37c829(0x2fb)]['Gallery'],'fields':_0x4e2c43,'rows':_0x4fa9c3,'groups':this['_projectGroups'](_0x2ef0ec,_0x454379,_0x4fa9c3),'titleFieldId':_0x57bf64[_0x37c829(0x4f0)][_0x37c829(0x3c2)],'coverFieldId':_0x57bf64['coverFieldId'],'cardLayout':_0x57bf64['cardLayout']??_0x37c829(0x3f6),'showFieldNames':_0x57bf64[_0x37c829(0x2a6)]!==!0x1,'visibleCardFieldIds':this[_0x37c829(0x415)](_0x2ef0ec,_0x454379,_0x57bf64),'cardSize':_0x57bf64[_0x37c829(0x5ca)]??_0x37c829(0x61b),'cards':_0x4fa9c3[_0x37c829(0x4a5)](_0x4ffe85=>({'recordId':_0x4ffe85['recordId'],'title':this['_title'](_0x2ef0ec,_0x4ffe85,_0x57bf64[_0x37c829(0x4f0)][_0x37c829(0x3c2)]),'values':_0x4ffe85[_0x37c829(0x20f)]}))};}[_0x36f63a(0x4bf)](_0x413ec4,_0x4d83aa){const _0x9b7e02=_0x36f63a;let _0x463a81=_0x4d83aa[_0x9b7e02(0x4f0)]??{'fieldIds':[]},_0x58d3c2=this['_resolveCardTitleFieldId'](_0x413ec4,_0x463a81[_0x9b7e02(0x3c2)]),_0x10548f=this[_0x9b7e02(0x5ec)](_0x413ec4,_0x4d83aa),_0x41d47d=_0x4d83aa[_0x9b7e02(0x5ca)]===_0x9b7e02(0x58a)||_0x4d83aa[_0x9b7e02(0x5ca)]===_0x9b7e02(0x279)?_0x4d83aa[_0x9b7e02(0x5ca)]:'medium';return{..._0x4d83aa,'coverFieldId':_0x10548f,'cardLayout':_0x4d83aa['cardLayout']===_0x9b7e02(0x44a)?_0x9b7e02(0x44a):_0x9b7e02(0x3f6),'showFieldNames':_0x4d83aa[_0x9b7e02(0x2a6)]!==!0x1,'fieldSettings':Object[_0x9b7e02(0x60c)](Object['entries'](_0x4d83aa[_0x9b7e02(0x47f)]??{})['filter'](([_0x13e07f])=>{const _0x3ad4b4=_0x9b7e02;let _0x5c2ee5=_0x413ec4['fields'][_0x13e07f];return!!(_0x5c2ee5&&_0x5c2ee5[_0x3ad4b4(0x5a9)]!==!0x0&&_0x5c2ee5['type']!==_0x26cf17[_0x3ad4b4(0x22d)][_0x3ad4b4(0x4b5)]);})),'card':{..._0x463a81,'titleFieldId':_0x58d3c2,'coverFieldId':_0x10548f,'fieldIds':Array[_0x9b7e02(0x2c4)](_0x463a81[_0x9b7e02(0x60e)])?_0x463a81[_0x9b7e02(0x60e)]:[]},'cardSize':_0x41d47d};}[_0x36f63a(0x31a)](_0x56ffc7,_0x31f668){const _0x1daf77=_0x36f63a;let _0x3e4fad=_0x31f668?_0x56ffc7['fields'][_0x31f668]:void 0x0;return _0x3e4fad&&_0x3e4fad[_0x1daf77(0x5a9)]!==!0x0&&_0x3e4fad[_0x1daf77(0x5d6)]!==_0x26cf17['BaseFieldType'][_0x1daf77(0x4b5)]?_0x3e4fad['id']:_0x4485ec(_0x56ffc7);}[_0x36f63a(0x5ec)](_0x3fa81b,_0x151fb6){const _0x57b917=_0x36f63a;var _0x41378f;let _0x5d7ade=_0x151fb6[_0x57b917(0x247)]??((_0x41378f=_0x151fb6['card'])==null?void 0x0:_0x41378f[_0x57b917(0x247)])??null;if(!_0x5d7ade)return null;let _0x90e003=_0x3fa81b[_0x57b917(0x458)][_0x5d7ade];return _0x90e003&&this[_0x57b917(0x212)](_0x90e003)[_0x57b917(0x26e)]?_0x90e003['id']:null;}[_0x36f63a(0x415)](_0xb8087a,_0x748a52,_0x80b1ae){const _0x3239a7=_0x36f63a;var _0x4cf51d,_0x3eb0c9,_0x138db0;let _0x22b434=_0x80b1ae[_0x3239a7(0x47f)]??{},_0x2bf9dc=((_0x4cf51d=_0x80b1ae[_0x3239a7(0x4f0)])==null?void 0x0:_0x4cf51d[_0x3239a7(0x3c2)])??_0x4485ec(_0xb8087a),_0x2a0b83=_0x80b1ae[_0x3239a7(0x247)]??((_0x3eb0c9=_0x80b1ae[_0x3239a7(0x4f0)])==null?void 0x0:_0x3eb0c9[_0x3239a7(0x247)])??null,_0x2eb4a6=(_0x138db0=_0x80b1ae['card'])!=null&&(_0x138db0=_0x138db0[_0x3239a7(0x60e)])!=null&&_0x138db0[_0x3239a7(0x4cd)]?_0x80b1ae['card'][_0x3239a7(0x60e)]:_0x17b3aa(_0xb8087a,[_0x2bf9dc,_0x2a0b83,_0xb8087a[_0x3239a7(0x5ce)]]);return _0x2eb4a6[_0x3239a7(0x46a)](_0x24aa18=>{const _0x45ed49=_0x3239a7;var _0x1003b1,_0x46e2f9;let _0x204d5a=_0xb8087a[_0x45ed49(0x458)][_0x24aa18];return!(!_0x204d5a||_0x204d5a[_0x45ed49(0x5a9)]===!0x0||_0x204d5a['type']===_0x26cf17[_0x45ed49(0x22d)]['RecordId']||_0x204d5a['id']===_0x2bf9dc||_0x204d5a['id']===_0x2a0b83||(_0x1003b1=_0x748a52[_0x45ed49(0x47f)])!=null&&(_0x1003b1=_0x1003b1[_0x24aa18])!=null&&_0x1003b1['hidden']||(_0x46e2f9=_0x22b434[_0x24aa18])!=null&&_0x46e2f9[_0x45ed49(0x339)]);})[_0x3239a7(0x30f)]((_0x387e91,_0x6b673c)=>{const _0x59abd0=_0x3239a7;var _0x14087a,_0x2e1062;return(((_0x14087a=_0x22b434[_0x387e91])==null?void 0x0:_0x14087a[_0x59abd0(0x5b4)])??_0x2eb4a6[_0x59abd0(0x499)](_0x387e91))-(((_0x2e1062=_0x22b434[_0x6b673c])==null?void 0x0:_0x2e1062[_0x59abd0(0x5b4)])??_0x2eb4a6['indexOf'](_0x6b673c));});}['_projectFields'](_0x370aaf,_0x7f97b5){const _0x5cfa8e=_0x36f63a;var _0x33e9be;return((_0x33e9be=_0x7f97b5[_0x5cfa8e(0x1b2)])!=null&&_0x33e9be[_0x5cfa8e(0x4cd)]?_0x7f97b5[_0x5cfa8e(0x1b2)]:_0x370aaf['fieldOrder'])[_0x5cfa8e(0x35a)](_0x2753b4=>{const _0x45244e=_0x5cfa8e;var _0x281031;let _0x432f02=_0x370aaf['fields'][_0x2753b4],_0x16be2a=((_0x281031=_0x7f97b5['fieldSettings'])==null?void 0x0:_0x281031[_0x2753b4])??{};return!_0x432f02||_0x432f02[_0x45244e(0x5a9)]===!0x0||_0x432f02[_0x45244e(0x5d6)]===_0x26cf17[_0x45244e(0x22d)][_0x45244e(0x4b5)]||_0x16be2a[_0x45244e(0x339)]?[]:[{'id':_0x432f02['id'],'name':_0x432f02[_0x45244e(0x3f8)],'description':_0x432f02[_0x45244e(0x1ec)],'type':_0x432f02[_0x45244e(0x5d6)],'config':_0x432f02[_0x45244e(0x4cc)],'width':_0x16be2a[_0x45244e(0x4b9)],'setting':_0x16be2a}];});}['_projectRows'](_0xb4c37f,_0x520a4a){const _0x53ef9a=_0x36f63a;var _0x59de06;return _0xdade1e(_0x53ef9a(0x3ae),()=>{const _0x380e14=_0x53ef9a;var _0x3bb151,_0x5dbc79;let _0x13aa0c=this[_0x380e14(0x619)](_0xb4c37f),_0x31e104=this[_0x380e14(0x3af)](_0xb4c37f['id'],_0x520a4a),_0xb8aee8=this['_getCellRevision'](_0xb4c37f['id']),_0x53b5b6=this[_0x380e14(0x41a)]['get'](_0x31e104);if(_0x53b5b6&&_0x53b5b6[_0x380e14(0x349)]===this[_0x380e14(0x1fc)]&&_0x53b5b6[_0x380e14(0x21f)]===this[_0x380e14(0x426)](_0xb4c37f['id'])){if(_0x53b5b6[_0x380e14(0x3f9)]===_0xb8aee8&&_0x53b5b6['baseRows']===_0x13aa0c)return _0x53b5b6[_0x380e14(0x354)];if(_0x53b5b6['cellRevision']!==_0xb8aee8&&!this[_0x380e14(0x4d3)](_0xb4c37f['id'],_0x53b5b6[_0x380e14(0x3f9)],_0xb8aee8,this[_0x380e14(0x447)](_0x520a4a))){let _0x471042=_0x53b5b6[_0x380e14(0x354)]===_0x53b5b6['baseRows']?_0x13aa0c:this[_0x380e14(0x475)](_0x53b5b6[_0x380e14(0x354)],_0x13aa0c);if(_0x471042)return this[_0x380e14(0x41a)][_0x380e14(0x4a9)](_0x31e104,{..._0x53b5b6,'rows':_0x471042,'baseRows':_0x13aa0c,'cellRevision':_0xb8aee8}),_0x471042;}}let _0x41c06a=_0xdade1e(_0x380e14(0x2b4),()=>this[_0x380e14(0x202)](_0xb4c37f,_0x520a4a,this[_0x380e14(0x5aa)](_0xb4c37f,_0x520a4a,_0x13aa0c)),{'tableId':_0xb4c37f['id'],'viewId':_0x520a4a==null?void 0x0:_0x520a4a['id'],'viewType':_0x520a4a==null?void 0x0:_0x520a4a['type'],'rows':_0x13aa0c['length'],'filters':(_0x520a4a==null||(_0x3bb151=_0x520a4a[_0x380e14(0x46a)])==null?void 0x0:_0x3bb151[_0x380e14(0x357)][_0x380e14(0x4cd)])??0x0,'sorts':(_0x520a4a==null||(_0x5dbc79=_0x520a4a[_0x380e14(0x30f)])==null?void 0x0:_0x5dbc79[_0x380e14(0x4cd)])??0x0});return this[_0x380e14(0x41a)]['set'](_0x31e104,{'table':_0xb4c37f,'rows':_0x41c06a,'baseRows':_0x13aa0c,'globalRevision':this[_0x380e14(0x1fc)],'tableRevision':this[_0x380e14(0x426)](_0xb4c37f['id']),'cellRevision':_0xb8aee8}),_0x41c06a;},{'tableId':_0xb4c37f['id'],'viewId':_0x520a4a==null?void 0x0:_0x520a4a['id'],'viewType':_0x520a4a==null?void 0x0:_0x520a4a['type'],'records':((_0x59de06=_0xb4c37f['recordOrder'])==null?void 0x0:_0x59de06[_0x53ef9a(0x4cd)])??Object[_0x53ef9a(0x40d)](_0xb4c37f[_0x53ef9a(0x4c9)]??{})['length']});}['_projectTableRows'](_0x2378b8){const _0xeb91c1=_0x36f63a;var _0x236e64;return _0xdade1e(_0xeb91c1(0x4aa),()=>{const _0x580d3b=_0xeb91c1;var _0x511f8e;let _0xc615f8=this['_getCellRevision'](_0x2378b8['id']),_0x3bc94d=this['_projectedRowsCache']['get'](_0x2378b8['id']);if(_0x3bc94d&&_0x3bc94d[_0x580d3b(0x349)]===this[_0x580d3b(0x1fc)]&&_0x3bc94d[_0x580d3b(0x21f)]===this['_getTableRevision'](_0x2378b8['id'])){if(_0x3bc94d[_0x580d3b(0x3f9)]===_0xc615f8&&_0x2fac65(_0x3bc94d[_0x580d3b(0x551)],_0x2378b8))return _0x3bc94d['table']=_0x2378b8,_0x3bc94d[_0x580d3b(0x354)];let _0x2243da=this[_0x580d3b(0x5c6)](_0x2378b8,_0x3bc94d,_0xc615f8);if(_0x2243da)return _0x2243da;}_0x461a03(_0x2378b8)||_0x58de72(_0x2378b8);let _0x3c3cd4=(_0x511f8e=_0x2378b8[_0x580d3b(0x2ba)])!=null&&_0x511f8e[_0x580d3b(0x4cd)]?_0x2378b8[_0x580d3b(0x2ba)]:_0x54eacc(_0x2378b8[_0x580d3b(0x4c9)]),_0x543dd5=_0xdade1e(_0x580d3b(0x5b9),()=>{const _0x334f37=_0x580d3b;let _0x2c0ac4=[];for(let _0x154f16 of _0x3c3cd4){let _0x18be6=_0x2378b8[_0x334f37(0x4c9)][_0x154f16];if(!_0x18be6)continue;let _0x53b63d={};for(let _0x2cb8d7 of _0x2378b8[_0x334f37(0x1b2)])_0x53b63d[_0x2cb8d7]=_0x2db5fc(_0x2378b8,_0x18be6['id'],_0x2cb8d7);_0x2c0ac4[_0x334f37(0x605)]({'recordId':_0x18be6['id'],'values':_0x53b63d});}return _0x2c0ac4;},{'tableId':_0x2378b8['id'],'records':_0x3c3cd4[_0x580d3b(0x4cd)],'fields':_0x2378b8['fieldOrder'][_0x580d3b(0x4cd)]});return this[_0x580d3b(0x4c6)][_0x580d3b(0x4a9)](_0x2378b8['id'],{'table':_0x2378b8,'rows':_0x543dd5,'rowIndexById':_0x2fbcc9(_0x543dd5),'globalRevision':this[_0x580d3b(0x1fc)],'tableRevision':this[_0x580d3b(0x426)](_0x2378b8['id']),'cellRevision':_0xc615f8}),_0x543dd5;},{'tableId':_0x2378b8['id'],'records':((_0x236e64=_0x2378b8[_0xeb91c1(0x2ba)])==null?void 0x0:_0x236e64[_0xeb91c1(0x4cd)])??Object[_0xeb91c1(0x40d)](_0x2378b8[_0xeb91c1(0x4c9)]??{})[_0xeb91c1(0x4cd)],'fields':_0x2378b8[_0xeb91c1(0x1b2)][_0xeb91c1(0x4cd)]});}[_0x36f63a(0x5c6)](_0x316374,_0x57bc7f,_0x140948){const _0x30764e=_0x36f63a;let _0x227548=(this[_0x30764e(0x5be)][_0x30764e(0x558)](_0x316374['id'])??[])[_0x30764e(0x46a)](_0x255d1=>_0x255d1['revision']>_0x57bc7f[_0x30764e(0x3f9)]&&_0x255d1[_0x30764e(0x3d3)]<=_0x140948);if(!_0x227548[_0x30764e(0x4cd)])return _0x57bc7f[_0x30764e(0x551)]===_0x316374?_0x57bc7f[_0x30764e(0x354)]:null;let _0x2c53ba=_0x57bc7f['rows'],_0x3520e7=new Map();for(let _0x5c1fe7 of _0x227548){let _0x41ff20=_0x3520e7[_0x30764e(0x558)](_0x5c1fe7[_0x30764e(0x571)]);_0x41ff20||(_0x41ff20=new Set(),_0x3520e7[_0x30764e(0x4a9)](_0x5c1fe7[_0x30764e(0x571)],_0x41ff20)),_0x41ff20[_0x30764e(0x1ce)](_0x5c1fe7[_0x30764e(0x39c)]);}for(let [_0x2495b1,_0x52ac43]of _0x3520e7){if(!_0x316374[_0x30764e(0x4c9)][_0x2495b1])return null;let _0x4ae162=_0x57bc7f[_0x30764e(0x1ad)][_0x30764e(0x558)](_0x2495b1);if(_0x4ae162==null)return null;_0x2c53ba===_0x57bc7f['rows']&&(_0x2c53ba=[..._0x57bc7f['rows']]);let _0x19c776=_0x2c53ba[_0x4ae162],_0x5b955d={..._0x19c776[_0x30764e(0x20f)]};_0x52ac43[_0x30764e(0x1bf)](_0x109d58=>{_0x5b955d[_0x109d58]=_0x2db5fc(_0x316374,_0x2495b1,_0x109d58);}),_0x2c53ba[_0x4ae162]={..._0x19c776,'values':_0x5b955d};}let _0x29a6c5={'table':_0x316374,'rows':_0x2c53ba,'rowIndexById':_0x57bc7f[_0x30764e(0x1ad)],'globalRevision':this[_0x30764e(0x1fc)],'tableRevision':this[_0x30764e(0x426)](_0x316374['id']),'cellRevision':_0x140948};return this[_0x30764e(0x4c6)][_0x30764e(0x4a9)](_0x316374['id'],_0x29a6c5),this['_cellInvalidations'][_0x30764e(0x4a9)](_0x316374['id'],(this['_cellInvalidations'][_0x30764e(0x558)](_0x316374['id'])??[])[_0x30764e(0x46a)](_0x21705a=>_0x21705a['revision']>Math[_0x30764e(0x5a7)](0x0,_0x140948-0x100))),_0x2c53ba;}[_0x36f63a(0x475)](_0x13c277,_0xa427fc){const _0x3d861f=_0x36f63a;let _0x531b35=new Map(_0xa427fc[_0x3d861f(0x4a5)](_0x16fcc8=>[_0x16fcc8['recordId'],_0x16fcc8])),_0x2582e6=!0x1,_0xf4b9d8=_0x13c277[_0x3d861f(0x4a5)](_0x21eba7=>{const _0x4829aa=_0x3d861f;let _0x1d2414=_0x531b35[_0x4829aa(0x558)](_0x21eba7[_0x4829aa(0x571)]);return _0x1d2414?_0x1d2414===_0x21eba7?_0x21eba7:(_0x2582e6=!0x0,_0x1d2414):_0x21eba7;});return _0x2582e6?_0xf4b9d8:_0x13c277;}[_0x36f63a(0x4d3)](_0x154c23,_0xde4290,_0x5db0f7,_0xa30d9b){const _0x1be7dc=_0x36f63a;return!_0xa30d9b['size']||_0xde4290===_0x5db0f7?!0x1:_0x5db0f7-_0xde4290>0x100||(this['_cellInvalidations'][_0x1be7dc(0x558)](_0x154c23)??[])['some'](_0x4fcd49=>_0x4fcd49[_0x1be7dc(0x3d3)]>_0xde4290&&_0x4fcd49[_0x1be7dc(0x3d3)]<=_0x5db0f7&&_0xa30d9b[_0x1be7dc(0x2fa)](_0x4fcd49[_0x1be7dc(0x39c)]));}[_0x36f63a(0x447)](_0x2be35c){const _0x47ad27=_0x36f63a;var _0x4f5dc1,_0x148df0;let _0x4d2fbf=new Set();return _0x2be35c==null||(_0x4f5dc1=_0x2be35c['filter'])==null||_0x4f5dc1[_0x47ad27(0x357)][_0x47ad27(0x1bf)](_0xee55d1=>_0x4d2fbf[_0x47ad27(0x1ce)](_0xee55d1[_0x47ad27(0x39c)])),_0x2be35c==null||(_0x148df0=_0x2be35c[_0x47ad27(0x30f)])==null||_0x148df0[_0x47ad27(0x1bf)](_0xa78db5=>_0x4d2fbf[_0x47ad27(0x1ce)](_0xa78db5[_0x47ad27(0x39c)])),_0x4d2fbf;}[_0x36f63a(0x22a)](_0x2356dd){const _0x42a8ab=_0x36f63a;var _0x40ee3a;let _0x2c9111=this[_0x42a8ab(0x447)](_0x2356dd);return(_0x40ee3a=_0x2356dd[_0x42a8ab(0x58b)])==null||_0x40ee3a[_0x42a8ab(0x1bf)](_0x7394c3=>_0x2c9111[_0x42a8ab(0x1ce)](_0x7394c3[_0x42a8ab(0x39c)])),_0x2c9111;}[_0x36f63a(0x5aa)](_0x1a9a02,_0xafdfcf,_0x206be9){const _0x1ab92e=_0x36f63a;let _0x303f16=_0xafdfcf==null?void 0x0:_0xafdfcf[_0x1ab92e(0x46a)];if(!(_0x303f16!=null&&_0x303f16[_0x1ab92e(0x357)]['length']))return _0x206be9;let _0x333590=_0x303f16[_0x1ab92e(0x357)][_0x1ab92e(0x46a)](_0x2dbb42=>!_0x21b558(_0x2dbb42));return _0x333590['length']?_0x206be9[_0x1ab92e(0x46a)](_0x2875bc=>{const _0x5b86a5=_0x1ab92e;if(_0x303f16[_0x5b86a5(0x617)]===_0x26cf17[_0x5b86a5(0x280)]['OR']){for(let _0x34df84 of _0x333590){let _0x368f34=_0x1a9a02[_0x5b86a5(0x458)][_0x34df84[_0x5b86a5(0x39c)]];if(!_0x368f34||this[_0x5b86a5(0x454)]['get'](_0x368f34[_0x5b86a5(0x5d6)])[_0x5b86a5(0x46a)](_0x2875bc[_0x5b86a5(0x20f)][_0x368f34['id']],_0x34df84[_0x5b86a5(0x2a0)],_0x34df84['operand'],_0x368f34))return!0x0;}return!0x1;}for(let _0x291b31 of _0x333590){let _0x4f5bf7=_0x1a9a02[_0x5b86a5(0x458)][_0x291b31[_0x5b86a5(0x39c)]];if(_0x4f5bf7&&!this['_fieldRegistry']['get'](_0x4f5bf7[_0x5b86a5(0x5d6)])[_0x5b86a5(0x46a)](_0x2875bc[_0x5b86a5(0x20f)][_0x4f5bf7['id']],_0x291b31[_0x5b86a5(0x2a0)],_0x291b31[_0x5b86a5(0x26c)],_0x4f5bf7))return!0x1;}return!0x0;}):_0x206be9;}[_0x36f63a(0x202)](_0x57022f,_0x1ad1ff,_0x425401){const _0x1490b5=_0x36f63a;let _0x2feac9=(_0x1ad1ff==null?void 0x0:_0x1ad1ff['sort'])??[];if(!_0x2feac9[_0x1490b5(0x4cd)])return _0x425401;let _0x24609a=_0x2feac9[_0x1490b5(0x35a)](_0x3cd647=>{const _0x587bf8=_0x1490b5;let _0x186346=_0x57022f[_0x587bf8(0x458)][_0x3cd647[_0x587bf8(0x39c)]];return _0x186346?[{..._0x3cd647,'field':_0x186346}]:[];});return _0x24609a[_0x1490b5(0x4cd)]?this[_0x1490b5(0x5d1)](_0x24609a)?this[_0x1490b5(0x330)](_0x24609a,_0x425401):[..._0x425401][_0x1490b5(0x30f)]((_0x36f634,_0x3dc6c1)=>{const _0x4c7220=_0x1490b5;for(let _0x44562d of _0x24609a){let _0x13fe7c=_0x44562d[_0x4c7220(0x5f1)],_0x2398a4=this[_0x4c7220(0x454)][_0x4c7220(0x558)](_0x13fe7c[_0x4c7220(0x5d6)])[_0x4c7220(0x3cc)](_0x36f634['values'][_0x13fe7c['id']],_0x3dc6c1['values'][_0x13fe7c['id']],_0x13fe7c);if(_0x2398a4!==0x0)return _0x44562d[_0x4c7220(0x36f)]===_0x26cf17[_0x4c7220(0x462)]['DESC']?-_0x2398a4:_0x2398a4;}return 0x0;}):_0x425401;}['_canUseFastSort'](_0x525cbe){const _0x4a758c=_0x36f63a;return _0x525cbe['every'](_0x122e95=>_0x150a74[_0x4a758c(0x2fa)](_0x122e95['field'][_0x4a758c(0x5d6)]));}[_0x36f63a(0x330)](_0x555724,_0x411312){const _0x4128cf=_0x36f63a;return _0x411312[_0x4128cf(0x4a5)]((_0x5e86b4,_0x1e037e)=>({'row':_0x5e86b4,'index':_0x1e037e,'keys':_0x555724[_0x4128cf(0x4a5)](_0x19a491=>_0x5e86b4[_0x4128cf(0x20f)][_0x19a491[_0x4128cf(0x39c)]])}))[_0x4128cf(0x30f)]((_0x41b70,_0xfc57c3)=>{const _0x1f8b37=_0x4128cf;for(let _0x195898=0x0;_0x195898<_0x555724[_0x1f8b37(0x4cd)];_0x195898++){let _0x3529e1=_0x3be0ed(_0x41b70[_0x1f8b37(0x40d)][_0x195898],_0xfc57c3['keys'][_0x195898]);if(_0x3529e1!==0x0)return _0x555724[_0x195898]['direction']===_0x26cf17[_0x1f8b37(0x462)][_0x1f8b37(0x2a3)]?-_0x3529e1:_0x3529e1;}return _0x41b70[_0x1f8b37(0x21b)]-_0xfc57c3[_0x1f8b37(0x21b)];})[_0x4128cf(0x4a5)](_0x13e78f=>_0x13e78f[_0x4128cf(0x5dd)]);}['_projectGroups'](_0x169ccf,_0x96170e,_0x2a38f3){const _0x200d56=_0x36f63a;var _0x2d8dc0;return _0xdade1e(_0x200d56(0x465),()=>{const _0x61a650=_0x200d56;var _0x287930;if(!((_0x287930=_0x96170e[_0x61a650(0x58b)])!=null&&_0x287930[_0x61a650(0x4cd)]))return[];let _0x341a1e=_0x96170e['group'][_0x61a650(0x46a)](_0x498b70=>_0x169ccf[_0x61a650(0x458)][_0x498b70['fieldId']]);if(!_0x341a1e['length'])return[];let _0x249857=this[_0x61a650(0x5bf)](_0x169ccf['id'],_0x96170e,_0x341a1e),_0x4dce0d=this[_0x61a650(0x303)](_0x169ccf['id']),_0x1b9d93=this[_0x61a650(0x220)][_0x61a650(0x558)](_0x249857);if(_0x1b9d93&&_0x1b9d93[_0x61a650(0x349)]===this[_0x61a650(0x1fc)]&&_0x1b9d93['tableRevision']===this['_getTableRevision'](_0x169ccf['id'])){if(_0x1b9d93[_0x61a650(0x3f9)]===_0x4dce0d&&_0x1b9d93['rows']===_0x2a38f3)return _0x1b9d93[_0x61a650(0x485)];if(_0x1b9d93['cellRevision']!==_0x4dce0d&&!this['_cellInvalidationsTouchFields'](_0x169ccf['id'],_0x1b9d93[_0x61a650(0x3f9)],_0x4dce0d,this[_0x61a650(0x22a)](_0x96170e)))return this[_0x61a650(0x220)][_0x61a650(0x4a9)](_0x249857,{..._0x1b9d93,'rows':_0x2a38f3,'cellRevision':_0x4dce0d}),_0x1b9d93[_0x61a650(0x485)];}let _0x3c92de=new Map();for(let _0x149e4e of _0x2a38f3){let _0x5db012=_0x3c92de,_0x35db2d='';for(let _0x3452f5=0x0;_0x3452f5<_0x341a1e['length'];_0x3452f5++){let _0x48fb0e=_0x341a1e[_0x3452f5],_0x58526c=_0x149e4e[_0x61a650(0x20f)][_0x48fb0e[_0x61a650(0x39c)]],_0x33aebe=_0x22b21f(_0x58526c),_0x129f7b=_0x48fb0e['fieldId']+'\x00'+_0x33aebe,_0x4e57c4=_0x35db2d+'/'+_0x48fb0e[_0x61a650(0x39c)]+':'+_0x33aebe,_0x591c75=_0x5db012[_0x61a650(0x558)](_0x129f7b);_0x591c75||(_0x591c75={'key':_0x33aebe,'value':_0x58526c,'path':_0x4e57c4,'label':_0x33aebe||_0x61a650(0x5a2),'fieldId':_0x48fb0e[_0x61a650(0x39c)],'level':_0x3452f5,'recordIds':[],'children':new Map()},_0x5db012[_0x61a650(0x4a9)](_0x129f7b,_0x591c75)),_0x591c75[_0x61a650(0x263)][_0x61a650(0x605)](_0x149e4e['recordId']),_0x5db012=_0x591c75['children'],_0x35db2d=_0x4e57c4;}}let _0x46e61d=this['_materializeGroups'](_0x341a1e,_0x3c92de,0x0);return this[_0x61a650(0x220)][_0x61a650(0x4a9)](_0x249857,{'table':_0x169ccf,'rows':_0x2a38f3,'groups':_0x46e61d,'globalRevision':this[_0x61a650(0x1fc)],'tableRevision':this['_getTableRevision'](_0x169ccf['id']),'cellRevision':_0x4dce0d}),_0x46e61d;},{'tableId':_0x169ccf['id'],'viewId':_0x96170e['id'],'viewType':_0x96170e[_0x200d56(0x5d6)],'rows':_0x2a38f3[_0x200d56(0x4cd)],'groupFields':((_0x2d8dc0=_0x96170e[_0x200d56(0x58b)])==null?void 0x0:_0x2d8dc0[_0x200d56(0x4cd)])??0x0});}[_0x36f63a(0x45e)](_0x3548ad,_0x41476c,_0x12c63f){const _0x1d724e=_0x36f63a;var _0x57e13d;let _0x3b704b=Array['from'](_0x41476c['values']()),_0x154e5e=(_0x57e13d=_0x3548ad[_0x12c63f])==null?void 0x0:_0x57e13d[_0x1d724e(0x36f)];return _0x154e5e&&_0x3b704b['sort']((_0xd429db,_0x23ea13)=>{const _0x5a0e04=_0x1d724e;let _0x439d18=_0xd429db[_0x5a0e04(0x262)][_0x5a0e04(0x4ed)](_0x23ea13[_0x5a0e04(0x262)]);return _0x154e5e===_0x26cf17['BaseSortDirection']['DESC']?-_0x439d18:_0x439d18;}),_0x3b704b[_0x1d724e(0x4a5)](_0x3b0d12=>({'key':_0x3b0d12[_0x1d724e(0x262)],'value':_0x3b0d12[_0x1d724e(0x5a4)],'path':_0x3b0d12[_0x1d724e(0x35c)],'label':_0x3b0d12[_0x1d724e(0x496)],'fieldId':_0x3b0d12[_0x1d724e(0x39c)],'level':_0x3b0d12[_0x1d724e(0x5ee)],'recordIds':_0x3b0d12[_0x1d724e(0x263)],'children':this['_materializeGroups'](_0x3548ad,_0x3b0d12['children'],_0x12c63f+0x1)}));}[_0x36f63a(0x34f)](_0x3a661d,_0x55b00c,_0x313905){const _0x490797=_0x36f63a;let _0x2a6a5e=_0x313905??_0x3a661d[_0x490797(0x5ce)],_0x118687=_0x55b00c[_0x490797(0x20f)][_0x2a6a5e];return _0x118687==null?'':String(_0x118687);}['_recordIds'](_0x10c361){const _0x46f202=_0x36f63a;if(Array[_0x46f202(0x2c4)](_0x10c361))return _0x10c361['map'](String);if(typeof _0x10c361=='string'&&_0x10c361)return[_0x10c361];}[_0x36f63a(0x212)](_0x35e507){const _0x36321d=_0x36f63a;return this[_0x36321d(0x454)]['get'](_0x35e507[_0x36321d(0x5d6)])[_0x36321d(0x42f)](_0x35e507);}};_0x4149ac=_0x184c3d([_0x5712fb(0x0,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x270bb8))],_0x4149ac);function _0x22b21f(_0x2289d9){return _0x2289d9==null?'':String(_0x2289d9);}function _0x2fbcc9(_0x20dd5d){const _0x34480c=_0x36f63a;return new Map(_0x20dd5d[_0x34480c(0x4a5)]((_0x480d6a,_0x56b381)=>[_0x480d6a[_0x34480c(0x571)],_0x56b381]));}function _0x461a03(_0x597774){const _0x901f7a=_0x36f63a;return!!(Array[_0x901f7a(0x2c4)](_0x597774[_0x901f7a(0x2ba)])&&_0x597774[_0x901f7a(0x5cd)]&&_0x597774[_0x901f7a(0x51d)]&&_0x597774['colIndex']&&_0x597774['colId']&&_0x597774['cellData']);}function _0x216680(_0x57ddde){const _0x477d19=_0x36f63a;let _0x139ffb=(_0x57ddde==null?void 0x0:_0x57ddde[_0x477d19(0x357)][_0x477d19(0x46a)](_0x5b4907=>!_0x21b558(_0x5b4907)))??[];return!_0x57ddde||!_0x139ffb[_0x477d19(0x4cd)]?null:{'conjunction':_0x57ddde[_0x477d19(0x617)],'conditions':_0x139ffb[_0x477d19(0x4a5)](_0x5d8904=>({'fieldId':_0x5d8904[_0x477d19(0x39c)],'operator':_0x5d8904[_0x477d19(0x2a0)],'operand':_0x5d8904[_0x477d19(0x26c)]}))};}function _0x2fac65(_0x401530,_0x295ebd){const _0x3ddc40=_0x36f63a;return _0x401530['records']===_0x295ebd[_0x3ddc40(0x4c9)]&&_0x401530[_0x3ddc40(0x2ba)]===_0x295ebd[_0x3ddc40(0x2ba)]&&_0x401530['fields']===_0x295ebd[_0x3ddc40(0x458)]&&_0x401530[_0x3ddc40(0x1b2)]===_0x295ebd[_0x3ddc40(0x1b2)]&&_0x401530['cellData']===_0x295ebd[_0x3ddc40(0x61f)]&&_0x401530[_0x3ddc40(0x5cd)]===_0x295ebd[_0x3ddc40(0x5cd)]&&_0x401530[_0x3ddc40(0x51d)]===_0x295ebd[_0x3ddc40(0x51d)]&&_0x401530[_0x3ddc40(0x41d)]===_0x295ebd[_0x3ddc40(0x41d)]&&_0x401530[_0x3ddc40(0x3e3)]===_0x295ebd[_0x3ddc40(0x3e3)];}function _0x34b40f(_0x4a6675){const _0x2f6aba=_0x36f63a;return _0x4a6675!=null&&_0x4a6675[_0x2f6aba(0x4cd)]?_0x4a6675[_0x2f6aba(0x4a5)](_0x5595cb=>({'fieldId':_0x5595cb[_0x2f6aba(0x39c)],'direction':_0x5595cb[_0x2f6aba(0x36f)]})):null;}function _0x43250e(_0x1736d6){const _0x27d749=_0x36f63a;if(typeof _0x1736d6!=_0x27d749(0x3e4)||!_0x1736d6)return JSON['stringify'](_0x1736d6)??_0x27d749(0x31d);if(Array['isArray'](_0x1736d6))return'['+_0x1736d6[_0x27d749(0x4a5)](_0x43250e)[_0x27d749(0x241)](',')+']';let _0x1b35b0=_0x1736d6;return'{'+Object[_0x27d749(0x40d)](_0x1b35b0)[_0x27d749(0x30f)]()[_0x27d749(0x4a5)](_0x2d2d2d=>JSON[_0x27d749(0x40a)](_0x2d2d2d)+':'+_0x43250e(_0x1b35b0[_0x2d2d2d]))[_0x27d749(0x241)](',')+'}';}function _0x54eacc(_0xafbbf6){const _0x344721=_0x36f63a;let _0x5a672e=Object[_0x344721(0x20f)](_0xafbbf6)['sort']((_0x118388,_0x4ffe50)=>_0x118388['orderKey'][_0x344721(0x4ed)](_0x4ffe50[_0x344721(0x58c)])),_0x435e06=[];for(let _0x335ba5 of _0x5a672e)_0x435e06['push'](_0x335ba5['id']);return _0x435e06;}function _0x59a2bb(_0x46051d){const _0x486f4e=_0x36f63a;return{'weekdays':Array[_0x486f4e(0x2c4)](_0x46051d==null?void 0x0:_0x46051d['weekdays'])&&_0x46051d['weekdays'][_0x486f4e(0x4cd)]?[...new Set(_0x46051d['weekdays'][_0x486f4e(0x46a)](_0x85159f=>Number['isInteger'](_0x85159f)&&_0x85159f>=0x1&&_0x85159f<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x486f4e(0x2c4)](_0x46051d==null?void 0x0:_0x46051d['exceptions'])?_0x46051d[_0x486f4e(0x4c0)][_0x486f4e(0x35a)](_0xf9e2c5=>!_0xf9e2c5||!Number[_0x486f4e(0x26b)](_0xf9e2c5[_0x486f4e(0x4ae)])?[]:[{'id':String(_0xf9e2c5['id']||_0x486f4e(0x5fd)+_0xf9e2c5[_0x486f4e(0x4ae)]),'date':_0x441ed0(Number(_0xf9e2c5['date'])),'name':String(_0xf9e2c5[_0x486f4e(0x3f8)]||'Working\x20day'),'type':_0xf9e2c5[_0x486f4e(0x5d6)]===_0x486f4e(0x3fb)?_0x486f4e(0x3fb):_0x486f4e(0x296)}]):[]};}function _0x1b9af2(_0x1cd3b1,_0x265fb0,_0x347e1b,_0x42ccc1){let _0x2638cb=_0x23cd15(_0x1cd3b1,_0x265fb0),_0x196295=_0x3d04d4(_0x1cd3b1,_0x347e1b),_0x41faf6=_0x10cbf0(_0x1cd3b1,_0x2638cb,_0x196295,_0x42ccc1);return{'scale':_0x1cd3b1,'start':_0x2638cb,'end':_0x196295,'unitWidth':_0x4cc237(_0x1cd3b1),'majorHeaders':_0x29cf0b(_0x1cd3b1,_0x2638cb,_0x196295),'columns':_0x41faf6};}function _0x10cbf0(_0x4a6c45,_0x265cd6,_0x58654f,_0x1ab6b8){const _0x577fd1=_0x36f63a;let _0x4f53a6=[],_0x3411b6=_0x265cd6;for(;_0x3411b6<_0x58654f;){let _0x596099=_0x4a6c45===_0x577fd1(0x352)?_0x12e4ee(_0x3411b6,0x7):_0x4a6c45===_0x577fd1(0x4c2)?_0x4bc95d(_0x3411b6,0x1):_0x12e4ee(_0x3411b6,0x1);_0x4f53a6['push']({'id':_0x4a6c45+'-'+_0x3411b6,'label':_0x2e8b30(_0x4a6c45,_0x3411b6,_0x596099),'majorLabel':_0x5e4f94(_0x4a6c45,_0x3411b6),'start':_0x3411b6,'end':_0x596099,'nonWorking':_0x2ac27a(_0x3411b6,_0x596099,_0x1ab6b8)}),_0x3411b6=_0x596099;}return _0x4f53a6;}function _0x29cf0b(_0x2a9cbb,_0x42c2cd,_0x389bb3){const _0x3496ba=_0x36f63a;let _0x1a8400=[],_0x3a044b=_0x2a9cbb===_0x3496ba(0x4c2)?_0x1272c3(_0x42c2cd):_0x49b043(_0x42c2cd);for(;_0x3a044b<_0x389bb3;){let _0x5711b1=_0x2a9cbb==='year'?_0x3a0934(_0x3a044b,0x1):_0x4bc95d(_0x3a044b,0x1);_0x1a8400['push']({'id':_0x3496ba(0x3c6)+_0x3a044b,'label':_0x2a9cbb===_0x3496ba(0x4c2)?String(new Date(_0x3a044b)[_0x3496ba(0x547)]()):_0x4e424e(_0x3a044b),'start':_0x3a044b,'end':_0x5711b1}),_0x3a044b=_0x5711b1;}return _0x1a8400;}function _0x4cc237(_0x100ec0){const _0x5140f1=_0x36f63a;switch(_0x100ec0){case _0x5140f1(0x460):return 0xac;case _0x5140f1(0x352):return 0xac;case _0x5140f1(0x4c2):return 0x88;default:return 0x56;}}function _0x23cd15(_0x816f60,_0x18cd50){const _0x5c511f=_0x36f63a;return _0x816f60===_0x5c511f(0x4c2)?_0x1272c3(_0x18cd50):_0x816f60===_0x5c511f(0x352)?_0x53b6a8(_0x18cd50):_0x441ed0(_0x18cd50);}function _0x3d04d4(_0x18952f,_0x19ba77){const _0x375d3f=_0x36f63a;return _0x18952f===_0x375d3f(0x4c2)?_0x3a0934(_0x1272c3(_0x19ba77),0x1):_0x18952f===_0x375d3f(0x352)?_0x12e4ee(_0x53b6a8(_0x19ba77),0x7):_0x12e4ee(_0x441ed0(_0x19ba77),0x1);}function _0x2e8b30(_0x1ba5f1,_0x9fe99e,_0x8165a2){const _0x2d5127=_0x36f63a;let _0xc97618=new Date(_0x9fe99e);return _0x1ba5f1===_0x2d5127(0x352)?_0xc97618[_0x2d5127(0x463)]()+'-'+new Date(_0x8165a2-_0x4ab1b5)[_0x2d5127(0x463)]():_0x1ba5f1===_0x2d5127(0x4c2)?_0xc97618[_0x2d5127(0x4e4)](_0x2d5127(0x24e),{'month':_0x2d5127(0x4d0),'timeZone':_0x2d5127(0x5e7)}):String(_0xc97618[_0x2d5127(0x463)]());}function _0x5e4f94(_0x1916dc,_0x4fdfd3){const _0x4f0e2c=_0x36f63a;return _0x1916dc==='year'?String(new Date(_0x4fdfd3)[_0x4f0e2c(0x547)]()):_0x4e424e(_0x4fdfd3);}function _0xe26be9(_0x478513,_0x1df89d,_0x4fa66e){let _0x565b4c=_0x59a2bb(_0x4fa66e),_0x242ee2=0x0;for(let _0x3388ed=_0x441ed0(_0x478513);_0x3388ed<=_0x441ed0(_0x1df89d);_0x3388ed=_0x12e4ee(_0x3388ed,0x1))_0x3c1c35(_0x3388ed,_0x565b4c)||_0x242ee2++;return _0x242ee2;}function _0x2ac27a(_0x48288b,_0x76dca3,_0x4055fe){if(!_0x4055fe)return!0x1;let _0x497cd4=_0x59a2bb(_0x4055fe);for(let _0xfbfaa6=_0x441ed0(_0x48288b);_0xfbfaa6<_0x76dca3;_0xfbfaa6=_0x12e4ee(_0xfbfaa6,0x1))if(!_0x3c1c35(_0xfbfaa6,_0x497cd4))return!0x1;return!0x0;}function _0x3c1c35(_0xe66d8a,_0x3364f7){const _0x5abd4b=_0x36f63a;let _0x431e7a=_0x441ed0(_0xe66d8a),_0x3b3540=_0x3364f7[_0x5abd4b(0x4c0)]['find'](_0x497107=>_0x441ed0(_0x497107[_0x5abd4b(0x4ae)])===_0x431e7a);if(_0x3b3540)return _0x3b3540[_0x5abd4b(0x5d6)]===_0x5abd4b(0x296);let _0x52392c=new Date(_0x431e7a)['getUTCDay'](),_0x45bcaa=_0x52392c===0x0?0x7:_0x52392c;return!_0x3364f7[_0x5abd4b(0x595)][_0x5abd4b(0x358)](_0x45bcaa);}function _0x441ed0(_0x497507){const _0x5c226f=_0x36f63a;let _0x597839=new Date(_0x497507);return Date[_0x5c226f(0x5e7)](_0x597839[_0x5c226f(0x547)](),_0x597839[_0x5c226f(0x40f)](),_0x597839[_0x5c226f(0x463)]());}function _0x53b6a8(_0x59682c){const _0x34023a=_0x36f63a;let _0x3d363e=_0x441ed0(_0x59682c),_0x1689b9=new Date(_0x3d363e)[_0x34023a(0x1f2)]();return _0x12e4ee(_0x3d363e,-(_0x1689b9===0x0?0x6:_0x1689b9-0x1));}function _0x49b043(_0x596379){const _0x414c0b=_0x36f63a;let _0xee31b6=new Date(_0x596379);return Date['UTC'](_0xee31b6[_0x414c0b(0x547)](),_0xee31b6[_0x414c0b(0x40f)](),0x1);}function _0x1272c3(_0x58ef35){const _0x350c7e=_0x36f63a;let _0x84edf3=new Date(_0x58ef35);return Date[_0x350c7e(0x5e7)](_0x84edf3[_0x350c7e(0x547)](),0x0,0x1);}function _0x12e4ee(_0x28f59e,_0x55b38a){return _0x28f59e+_0x55b38a*_0x4ab1b5;}function _0x4bc95d(_0x3fc8c2,_0x5c8c7d){const _0x47390a=_0x36f63a;let _0x4fedb7=new Date(_0x3fc8c2);return Date[_0x47390a(0x5e7)](_0x4fedb7[_0x47390a(0x547)](),_0x4fedb7[_0x47390a(0x40f)]()+_0x5c8c7d,0x1);}function _0x3a0934(_0x3cc077,_0x3e20b2){const _0x409516=_0x36f63a;let _0x1f1b55=new Date(_0x3cc077);return Date[_0x409516(0x5e7)](_0x1f1b55[_0x409516(0x547)]()+_0x3e20b2,0x0,0x1);}function _0x4e424e(_0x27faac){const _0x470c5b=_0x36f63a;let _0xe6bcd1=new Date(_0x27faac);return _0xe6bcd1['toLocaleString'](_0x470c5b(0x24e),{'month':'short','timeZone':_0x470c5b(0x5e7)})+'\x20'+_0xe6bcd1[_0x470c5b(0x547)]();}function _0x3be0ed(_0x4f90a1,_0xb21a4b){const _0x4ef664=_0x36f63a;if(_0x4f90a1==null&&_0xb21a4b==null)return 0x0;if(_0x4f90a1==null)return-0x1;if(_0xb21a4b==null)return 0x1;if(typeof _0x4f90a1==_0x4ef664(0x49e)||typeof _0xb21a4b==_0x4ef664(0x49e))return Number(_0x4f90a1===!0x0)-Number(_0xb21a4b===!0x0);let _0x20d553=Number(_0x4f90a1),_0x9aac9=Number(_0xb21a4b),_0x1f2c51=Number[_0x4ef664(0x26b)](_0x20d553),_0x374150=Number[_0x4ef664(0x26b)](_0x9aac9);return _0x1f2c51&&_0x374150?_0x20d553-_0x9aac9:_0x1f2c51?0x1:_0x374150?-0x1:String(_0x4f90a1)[_0x4ef664(0x4ed)](String(_0xb21a4b));}function _0x21b558(_0x58b614){const _0x41d5fb=_0x36f63a;if(_0x58b614[_0x41d5fb(0x2a0)]!=='is'&&_0x58b614[_0x41d5fb(0x2a0)]!==_0x41d5fb(0x43b))return!0x1;let _0x10b660=_0x58b614[_0x41d5fb(0x26c)];return _0x10b660==null?!0x0:typeof _0x10b660==_0x41d5fb(0x4c8)?_0x10b660['trim']()==='':Array['isArray'](_0x10b660)?_0x10b660[_0x41d5fb(0x4cd)]===0x0:!0x1;}function _0x20d5b3(_0xe8893c,_0x3d3290){const _0x526a0f=_0x36f63a;var _0x40693c;let _0x527965=Array[_0x526a0f(0x2c4)]((_0x40693c=_0xe8893c[_0x526a0f(0x4cc)])==null?void 0x0:_0x40693c[_0x526a0f(0x45b)])?_0xe8893c[_0x526a0f(0x4cc)][_0x526a0f(0x45b)]:[];for(let _0xf0b3c8 of _0x527965){if(_0xf0b3c8==null)continue;if(typeof _0xf0b3c8==_0x526a0f(0x4c8)){if(_0xf0b3c8===_0x3d3290)return{'id':_0xf0b3c8,'name':_0xf0b3c8};continue;}let _0x58366a=_0xf0b3c8,_0x3de32a=String(_0x58366a['id']??_0x58366a['name']??''),_0x1af021=String(_0x58366a[_0x526a0f(0x3f8)]??_0x58366a['id']??_0x3de32a);if(_0x3de32a===_0x3d3290||_0x1af021===_0x3d3290)return{'id':_0x3de32a,'name':_0x1af021,'color':_0x58366a[_0x526a0f(0x1cb)]==null?void 0x0:String(_0x58366a[_0x526a0f(0x1cb)])};}return null;}let _0x1fa5a0=function(_0x2e336b){const _0x13f9d6=_0x36f63a;return _0x2e336b[_0x13f9d6(0x3b7)]=_0x13f9d6(0x583),_0x2e336b[_0x13f9d6(0x215)]=_0x13f9d6(0x1e8),_0x2e336b;}({}),_0x22dd4d={'id':_0x36f63a(0x2c5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler'(_0x4f7ea3,_0x6996b5){const _0x4c87dd=_0x36f63a;let {unitId:_0x39f0f5,op:_0x1fccef}=_0x6996b5,_0x2c3458=_0x4f7ea3[_0x4c87dd(0x558)](_0x26cf17['IUniverInstanceService'])[_0x4c87dd(0x2e3)](_0x39f0f5,_0x26cf17[_0x4c87dd(0x1ef)][_0x4c87dd(0x440)]);if(!_0x2c3458)return!0x1;let _0x5a70b8=_0x2c3458[_0x4c87dd(0x509)](),_0x5b52e3=new _0x5070bf(),_0x534d31=_0x5b52e3[_0x4c87dd(0x2b7)](_0x1fccef),_0x511340=_0x5b52e3[_0x4c87dd(0x4ad)](_0x5a70b8,_0x1fccef);return _0x2c3458[_0x4c87dd(0x2b6)](_0x511340),_0x10c3f5(_0x511340,_0x534d31,_0x4f7ea3[_0x4c87dd(0x558)](_0x4076d2)),!0x0;}};function _0x10c3f5(_0x193625,_0x39300b,_0x30d9a0){const _0x2d1151=_0x36f63a;let _0x121484=new Set(),_0x15f998=new Set(),_0x12ec2e=new Set();for(let _0x41e162 of _0x39300b){if(_0x41e162[_0x2d1151(0x560)]===_0x2d1151(0x602)&&_0x41e162['tableId']&&_0x41e162[_0x2d1151(0x297)]){let _0x5163a1=_0x41e162['tableId']+'\x00'+_0x41e162[_0x2d1151(0x297)];_0x12ec2e['has'](_0x5163a1)||(_0x12ec2e[_0x2d1151(0x1ce)](_0x5163a1),_0x30d9a0[_0x2d1151(0x338)](_0x41e162[_0x2d1151(0x353)],_0x41e162[_0x2d1151(0x297)]));continue;}if(_0x41e162['reason']===_0x2d1151(0x5f1)&&_0x41e162[_0x2d1151(0x353)]&&_0x41e162['fieldId']){let _0x49ec19=_0x41e162[_0x2d1151(0x353)]+'\x00'+_0x41e162['fieldId'];_0x15f998[_0x2d1151(0x2fa)](_0x49ec19)||(_0x15f998[_0x2d1151(0x1ce)](_0x49ec19),_0x30d9a0[_0x2d1151(0x209)](_0x41e162[_0x2d1151(0x353)],_0x41e162[_0x2d1151(0x39c)]));continue;}if(_0x41e162['reason']!==_0x2d1151(0x49d)){_0x30d9a0[_0x2d1151(0x59e)]();return;}let _0x4cbf97=_0x146416(_0x193625,_0x41e162);if(!_0x4cbf97){_0x30d9a0[_0x2d1151(0x59e)]();return;}let _0x2bd38b=_0x4cbf97[_0x2d1151(0x353)]+'\x00'+_0x4cbf97[_0x2d1151(0x571)]+'\x00'+_0x4cbf97[_0x2d1151(0x39c)];_0x121484['has'](_0x2bd38b)||(_0x121484['add'](_0x2bd38b),_0x30d9a0[_0x2d1151(0x3b0)](_0x4cbf97[_0x2d1151(0x353)],_0x4cbf97['recordId'],_0x4cbf97[_0x2d1151(0x39c)]));}}function _0x146416(_0x478d28,_0x4dd514){const _0x36fc1a=_0x36f63a;var _0x35f137,_0x444634;if(!_0x4dd514[_0x36fc1a(0x353)])return null;if(_0x4dd514[_0x36fc1a(0x571)]&&_0x4dd514[_0x36fc1a(0x39c)])return{'tableId':_0x4dd514[_0x36fc1a(0x353)],'recordId':_0x4dd514['recordId'],'fieldId':_0x4dd514[_0x36fc1a(0x39c)]};if(_0x4dd514['row']==null||_0x4dd514[_0x36fc1a(0x582)]==null)return null;let _0x1c8ed2=_0x478d28[_0x36fc1a(0x594)][_0x4dd514['tableId']],_0x1d6ecf=_0x1c8ed2==null||(_0x35f137=_0x1c8ed2['rowId'])==null?void 0x0:_0x35f137[_0x4dd514[_0x36fc1a(0x5dd)]],_0x43f3dd=_0x1c8ed2==null||(_0x444634=_0x1c8ed2[_0x36fc1a(0x3e3)])==null?void 0x0:_0x444634[_0x4dd514[_0x36fc1a(0x582)]];return!_0x1d6ecf||!_0x43f3dd?null:{'tableId':_0x4dd514[_0x36fc1a(0x353)],'recordId':_0x1d6ecf,'fieldId':_0x43f3dd};}let _0x392dfd=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x25f8ea=_0x26cf17[_0x36f63a(0x384)]['createRegExpFromSafeFragment'](String[_0x36f63a(0x24c)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x8198d7=/\{([^}]+)\}/g,_0x54a8ed=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xb2ef05=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1b5659=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x37ebb0=_0x26cf17[_0x36f63a(0x384)]['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4e2163=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x1257ff=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x24626c=class{[_0x36f63a(0x55a)](_0x519450,_0xef9df2=_0x519450['id']){const _0x37ee49=_0x36f63a;var _0x11356d;let _0x24d7fc=((_0x11356d=_0x519450[_0x37ee49(0x2ba)])==null?void 0x0:_0x11356d[_0x37ee49(0x4cd)])??Object[_0x37ee49(0x20f)](_0x519450[_0x37ee49(0x4c9)])[_0x37ee49(0x4cd)];return{'sheetId':_0xef9df2,'titleMap':new Map(_0x519450['fieldOrder'][_0x37ee49(0x4a5)]((_0x310ad8,_0x410af1)=>{const _0x267c5a=_0x37ee49;var _0x57b9bd;return[((_0x57b9bd=_0x519450[_0x267c5a(0x458)][_0x310ad8])==null?void 0x0:_0x57b9bd[_0x267c5a(0x3f8)])??_0x310ad8,_0x410af1];})),'range':{'startRow':0x0,'endRow':Math[_0x37ee49(0x5a7)](0x0,_0x24d7fc-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x519450[_0x37ee49(0x1b2)]['length']-0x1)},'showHeader':!0x1};}[_0x36f63a(0x5ff)](_0x3a441d,_0x149005){const _0x5f5433=_0x36f63a;let _0x18ca50=[],_0x3086c6=_0x149005?new Set(_0x149005):null,_0x1dc7d1=(0x0,_0x26cf17['createBaseFormulaTableNameMap'])(_0x3a441d);return Object['values'](_0x3a441d[_0x5f5433(0x594)])[_0x5f5433(0x46a)](_0x63f01c=>!_0x3086c6||_0x3086c6[_0x5f5433(0x2fa)](_0x63f01c['id']))['forEach'](_0x30858e=>{const _0x3407f0=_0x5f5433;let _0x36450a=this[_0x3407f0(0x55a)](_0x30858e,_0x30858e['id']);_0x18ca50[_0x3407f0(0x605)]({'tableId':_0x30858e['id'],'tableName':_0x1dc7d1[_0x3407f0(0x558)](_0x30858e['id']),'reference':_0x36450a});}),_0x18ca50;}[_0x36f63a(0x225)](_0x383c07,_0x38bd8d,_0x3be5c2={}){const _0x4abc27=_0x36f63a;let _0x20a92d=_0x383c07[_0x4abc27(0x3ce)]();if(!_0x20a92d)return{'valid':!0x0};if(_0xb2193f(_0x20a92d))return{'valid':!0x1,'reason':_0x4abc27(0x3ec)};let _0x5a65f7=_0x3be5c2[_0x4abc27(0x248)]?(0x0,_0x26cf17['createBaseFormulaTableNameMap'])(_0x3be5c2[_0x4abc27(0x248)]):void 0x0;for(let _0x145ed2 of _0x22f214(_0x20a92d)){let _0x99fbc0=_0x45abda(_0x145ed2,_0x38bd8d,_0x3be5c2[_0x4abc27(0x248)],_0x5a65f7);if(!_0x99fbc0['table'])return{'valid':!0x1,'reason':_0x4abc27(0x4e6)+_0x145ed2[_0x4abc27(0x5db)]+_0x4abc27(0x37d)};if(!_0x99fbc0[_0x4abc27(0x5f1)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x145ed2['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}['getDependencies'](_0x5968ee,_0x1b065e,_0x2dc5b8={}){const _0xf61626=_0x36f63a;let _0x4a3b7e=new Set();for(let _0x5943fe of this[_0xf61626(0x213)](_0x5968ee,_0x1b065e,_0x2dc5b8))_0x5943fe[_0xf61626(0x353)]===_0x1b065e['id']&&_0x4a3b7e['add'](_0x5943fe[_0xf61626(0x39c)]);return Array[_0xf61626(0x356)](_0x4a3b7e);}['getStructuredDependencies'](_0x4d25b4,_0x3980f7,_0x50fd9f={}){const _0x3b571f=_0x36f63a;let _0x1d8a4c=new Map(),_0x38b439=_0x50fd9f[_0x3b571f(0x248)]?(0x0,_0x26cf17[_0x3b571f(0x528)])(_0x50fd9f[_0x3b571f(0x248)]):void 0x0;for(let _0x5e834f of _0x22f214(_0x4d25b4)){let _0x4aa51b=_0x45abda(_0x5e834f,_0x3980f7,_0x50fd9f[_0x3b571f(0x248)],_0x38b439);if(!_0x4aa51b[_0x3b571f(0x551)]||!_0x4aa51b[_0x3b571f(0x5f1)])continue;let _0x32f1b8=_0x4aa51b[_0x3b571f(0x551)]['id']+'\x1f'+_0x4aa51b['field']['id'];_0x1d8a4c[_0x3b571f(0x4a9)](_0x32f1b8,{'tableId':_0x4aa51b[_0x3b571f(0x551)]['id'],'fieldId':_0x4aa51b[_0x3b571f(0x5f1)]['id']});}return Array[_0x3b571f(0x356)](_0x1d8a4c['values']());}};function _0x5d816f(_0x40ce7b,_0x499278){const _0x345413=_0x36f63a;var _0x472675;let _0x3de70a=[],_0x4f300c=(_0x472675=_0x499278[_0x345413(0x4f2)])==null?void 0x0:_0x472675[_0x40ce7b['id']];return _0x4f300c&&Object[_0x345413(0x443)](_0x4f300c)[_0x345413(0x1bf)](([_0x3929a8,_0x5ae994])=>{const _0x13b2c5=_0x345413;let _0x5a72cf=_0x40ce7b['tables'][_0x3929a8];if(!_0x5a72cf||!_0x5ae994)return;let _0x2e7b07=_0x58de72(_0x5a72cf),_0x3bcac4=[];new _0x26cf17[(_0x13b2c5(0x32e))](_0x5ae994)[_0x13b2c5(0x3bf)]((_0x51193b,_0x3b57af,_0x4b1f9b)=>{const _0xcbe1cf=_0x13b2c5;let _0x13858a=_0x1ac7c2(_0x2e7b07,_0x51193b,_0x3b57af,_0x4b1f9b);_0x13858a&&_0x3bcac4[_0xcbe1cf(0x605)](_0x13858a);}),_0x3bcac4['length']&&_0x3de70a['push']({'unitId':_0x40ce7b['id'],'tableId':_0x3929a8,'patches':_0x3bcac4});}),_0x3de70a;}function _0x1ac7c2(_0x5e9bd0,_0x283e41,_0x5bc85f,_0x9ea1bb){const _0x39c4b2=_0x36f63a;var _0x3f5c17,_0x21817c,_0x5f3f39;let _0x587c5f=(_0x3f5c17=_0x5e9bd0[_0x39c4b2(0x51d)])==null?void 0x0:_0x3f5c17[_0x283e41],_0x47745c=(_0x21817c=_0x5e9bd0[_0x39c4b2(0x3e3)])==null?void 0x0:_0x21817c[_0x5bc85f];if(!_0x587c5f||!_0x5e9bd0['records'][_0x587c5f]||!_0x47745c)return null;let _0x148824=_0x5e9bd0[_0x39c4b2(0x458)][_0x47745c];if(!_0x148824||_0x148824[_0x39c4b2(0x5d6)]!==_0x39c4b2(0x5c4))return null;let _0x4830de=String(((_0x5f3f39=_0x148824[_0x39c4b2(0x4cc)])==null?void 0x0:_0x5f3f39[_0x39c4b2(0x5c4)])??'')[_0x39c4b2(0x3ce)](),_0x4df4a7=(_0x9ea1bb==null?void 0x0:_0x9ea1bb['v'])??null,_0x4bb61c={'v':_0x4df4a7,'t':_0x358794(_0x4df4a7),..._0x283e41===0x0&&_0x4830de?{'f':_0x4830de}:{},'si':_0x148824['id']};return _0x360076(_0x18de85(_0x5e9bd0,_0x587c5f,_0x47745c),_0x4bb61c)?null:{'row':_0x283e41,'col':_0x5bc85f,'value':_0x4bb61c};}function _0x360076(_0x5d8781,_0x5a53fb){return _0x5d8781!=null&&Object['is'](_0x5d8781['v']??null,_0x5a53fb['v']??null)&&_0x5d8781['t']===_0x5a53fb['t']&&_0x5d8781['f']===_0x5a53fb['f']&&_0x5d8781['si']===_0x5a53fb['si'];}function _0x358794(_0x4464fc){const _0x4c3a3b=_0x36f63a;return typeof _0x4464fc==_0x4c3a3b(0x5ac)?_0x26cf17[_0x4c3a3b(0x555)][_0x4c3a3b(0x53f)]:typeof _0x4464fc=='boolean'?_0x26cf17[_0x4c3a3b(0x555)][_0x4c3a3b(0x261)]:typeof _0x4464fc==_0x4c3a3b(0x4c8)?_0x26cf17['CellValueType'][_0x4c3a3b(0x56f)]:null;}function _0x22f214(_0x25074c){const _0x58b498=_0x36f63a;let _0xbb0af3=_0x10e9ae(_0x25074c,()=>''),_0x24bf5c=new Map(),_0x4fce0b=_0x57322d=>{const _0x44bb79=_0x45c5;_0x24bf5c[_0x44bb79(0x4a9)]((_0x57322d[_0x44bb79(0x5db)]??'')+'\x1f'+_0x57322d['fieldName'],_0x57322d);};for(let _0x194198 of _0xbb0af3[_0x58b498(0x4bc)](_0x8198d7))_0x4fce0b({'fieldName':_0x194198[0x1],'scope':_0x58b498(0x29d)});_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x54a8ed,(_0x504a14,_0x57aaf6,_0x35bdbc,_0x399298)=>(_0x4fce0b({'tableName':_0x57aaf6,'fieldName':_0x399298,'scope':_0x35bdbc['toLowerCase']()===_0x58b498(0x59b)?_0x58b498(0x59b):_0x58b498(0x29d)}),'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0xb2ef05,(_0xb9a742,_0x37b586,_0x77fa95)=>(_0x4fce0b({'tableName':_0x37b586,'fieldName':_0x77fa95,'scope':_0x58b498(0x29d)}),'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x37ebb0,(_0x53e075,_0x155d8b,_0x55baa2,_0x2cbfe5)=>(_0x4fce0b({'fieldName':_0x2cbfe5,'scope':_0x55baa2[_0x58b498(0x1fd)]()==='data'?_0x58b498(0x59b):'this-row'}),_0x155d8b+'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x4e2163,(_0x4736c6,_0x460069,_0x105582)=>(_0x4fce0b({'fieldName':_0x105582,'scope':'this-row'}),_0x460069+'\x20'));for(let _0x187587 of _0xbb0af3[_0x58b498(0x4bc)](_0x1b5659))_0x4fce0b({'tableName':_0x187587[0x1],'fieldName':_0x187587[0x2]});for(let _0x3e2af3 of _0xbb0af3[_0x58b498(0x4bc)](_0x1257ff))_0x4fce0b({'fieldName':_0x3e2af3[0x2],'scope':_0x58b498(0x29d)});return Array['from'](_0x24bf5c['values']());}function _0xb2193f(_0x1eb631){const _0x27edd6=_0x36f63a;let _0x591eec=_0x10e9ae(_0x1eb631,()=>'\x20')[_0x27edd6(0x2ed)](_0x8198d7,'\x20')['replace'](_0x54a8ed,'\x20')[_0x27edd6(0x2ed)](_0xb2ef05,'\x20')[_0x27edd6(0x2ed)](_0x37ebb0,_0x27edd6(0x3eb))[_0x27edd6(0x2ed)](_0x4e2163,_0x27edd6(0x3eb))[_0x27edd6(0x2ed)](_0x1b5659,'\x20')[_0x27edd6(0x2ed)](_0x1257ff,_0x27edd6(0x3eb));return _0x392dfd['test'](_0x591eec);}function _0x192bf5(_0x486610,_0xb43da7){return _0x26ffe2(_0x21d855(_0x486610,_0xb43da7),_0xb43da7);}function _0x10e9ae(_0x4c1bd2,_0x48ad38){return _0x23c30b(_0x192bf5(_0x4c1bd2,_0x48ad38),_0x48ad38);}function _0x23c30b(_0x2ef3ff,_0x4c5f6c){const _0x14e9c1=_0x36f63a;return _0x2ef3ff[_0x14e9c1(0x2ed)](/"(?:""|[^"])*"/g,_0x4c5f6c);}function _0x21d855(_0x5c47ca,_0x49138d){const _0x3aa0d9=_0x36f63a;return _0x25f8ea[_0x3aa0d9(0x477)]=0x0,_0x5c47ca[_0x3aa0d9(0x2ed)](_0x25f8ea,(_0x17b59f,_0x3a38b6)=>_0x4f97fc(_0x5c47ca,_0x3a38b6)?_0x17b59f:_0x49138d(_0x17b59f));}let _0x3c7965=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x26ffe2(_0x3af31c,_0x41d698){const _0x1fa8aa=_0x36f63a;let _0x59f8b8=[];for(_0x3c7965[_0x1fa8aa(0x477)]=0x0;;){let _0x74ce27=_0x3c7965['exec'](_0x3af31c);if(_0x74ce27==null)break;if(_0x4f97fc(_0x3af31c,_0x74ce27[_0x1fa8aa(0x21b)]))continue;let _0x5e3399=_0x3c7965['lastIndex']-0x1,_0x5b394d=0x0;for(let _0x14f0cc=_0x5e3399;_0x14f0cc<_0x3af31c[_0x1fa8aa(0x4cd)];_0x14f0cc++)if(_0x3af31c[_0x14f0cc]==='['&&_0x5b394d++,_0x3af31c[_0x14f0cc]===']'&&(_0x5b394d--,_0x5b394d===0x0)){_0x59f8b8[_0x1fa8aa(0x605)]({'start':_0x74ce27['index'],'end':_0x14f0cc+0x1}),_0x3c7965[_0x1fa8aa(0x477)]=_0x14f0cc+0x1;break;}}if(_0x59f8b8[_0x1fa8aa(0x4cd)]===0x0)return _0x3af31c;let _0x14bb7e='',_0x344941=0x0;for(let _0x3965fd of _0x59f8b8)_0x14bb7e+=_0x3af31c[_0x1fa8aa(0x24f)](_0x344941,_0x3965fd[_0x1fa8aa(0x22c)]),_0x14bb7e+=_0x41d698(_0x3af31c[_0x1fa8aa(0x24f)](_0x3965fd[_0x1fa8aa(0x22c)],_0x3965fd[_0x1fa8aa(0x402)])),_0x344941=_0x3965fd[_0x1fa8aa(0x402)];return _0x14bb7e+_0x3af31c[_0x1fa8aa(0x24f)](_0x344941);}function _0x4f97fc(_0x3e8eed,_0x56fe63){let _0x2f9e06=!0x1;for(let _0x3d9541=0x0;_0x3d9541<_0x56fe63;_0x3d9541++)_0x3e8eed[_0x3d9541]==='\x22'&&(_0x2f9e06&&_0x3e8eed[_0x3d9541+0x1]==='\x22'?_0x3d9541++:_0x2f9e06=!_0x2f9e06);return _0x2f9e06;}function _0x45abda(_0x264a85,_0x5e41d0,_0x18d633,_0x8f0ebc){const _0x58cfde=_0x36f63a;let _0x355406=_0x2071dc(_0x264a85[_0x58cfde(0x5db)],_0x5e41d0,_0x18d633,_0x8f0ebc);return{'table':_0x355406,'field':_0x355406?Object['values'](_0x355406[_0x58cfde(0x458)])[_0x58cfde(0x396)](_0x18f648=>_0x18f648[_0x58cfde(0x3f8)]===_0x264a85['fieldName']):void 0x0};}function _0x2071dc(_0x5e09a2,_0x45d0dd,_0x54f444,_0x188d9d){const _0x3a06ba=_0x36f63a;if(!_0x5e09a2)return _0x45d0dd;if(!_0x54f444){var _0x7e663a;let _0x10b5be=_0x5e09a2[_0x3a06ba(0x1fd)]();return _0x10b5be===_0x45d0dd['id']['toLowerCase']()||_0x10b5be===_0x45d0dd[_0x3a06ba(0x3f8)]['toLowerCase']()||_0x10b5be===((_0x7e663a=_0x45d0dd[_0x3a06ba(0x242)])==null?void 0x0:_0x7e663a[_0x3a06ba(0x1fd)]())?_0x45d0dd:void 0x0;}let _0x34150e=_0x5e09a2[_0x3a06ba(0x1fd)](),_0x2d250b=_0x188d9d??(0x0,_0x26cf17[_0x3a06ba(0x528)])(_0x54f444),_0x388d40=Object[_0x3a06ba(0x20f)](_0x54f444[_0x3a06ba(0x594)])[_0x3a06ba(0x46a)](_0x3eecab=>{const _0x126112=_0x3a06ba;var _0x24a805;return _0x3eecab['id']['toLowerCase']()===_0x34150e||_0x3eecab[_0x126112(0x3f8)][_0x126112(0x1fd)]()===_0x34150e||((_0x24a805=_0x2d250b['get'](_0x3eecab['id']))==null?void 0x0:_0x24a805[_0x126112(0x1fd)]())===_0x34150e||_0x28413f(_0x3eecab['id'])[_0x126112(0x1fd)]()===_0x34150e;});return _0x388d40[_0x3a06ba(0x4cd)]===0x1?_0x388d40[0x0]:void 0x0;}function _0x28413f(_0x54d58c){const _0x4c7486=_0x36f63a;return _0x4c7486(0x420)+Array[_0x4c7486(0x356)](_0x54d58c,_0x351f3f=>{const _0x429aae=_0x4c7486;var _0x2229c6;return/[A-Za-z0-9]/[_0x429aae(0x484)](_0x351f3f)?_0x351f3f:'_x'+(((_0x2229c6=_0x351f3f[_0x429aae(0x240)](0x0))==null?void 0x0:_0x2229c6[_0x429aae(0x489)](0x10))??'0')+'_';})[_0x4c7486(0x241)]('');}let _0x5a2e51=new _0x24626c();function _0x2fb7b5(_0x43ed55,_0x3c11c6,_0x44a56b){const _0x4c16e0=_0x36f63a;var _0xeaa055;if(_0x44a56b[_0x4c16e0(0x5d6)]!==_0x26cf17[_0x4c16e0(0x22d)][_0x4c16e0(0x274)])return!0x0;let _0x20a40b=String(((_0xeaa055=_0x44a56b['config'])==null?void 0x0:_0xeaa055[_0x4c16e0(0x5c4)])??''),_0x31e72d=_0x43ed55[_0x4c16e0(0x509)]();return _0x5a2e51[_0x4c16e0(0x225)](_0x20a40b,_0x31e72d[_0x4c16e0(0x594)][_0x3c11c6],{'snapshot':_0x31e72d})[_0x4c16e0(0x50f)];}function _0x4cb030(_0x1af446,_0x5e35d9,_0x245b79){const _0x15b530=_0x36f63a;let _0x35035f=_0x1af446[_0x15b530(0x509)]()[_0x15b530(0x594)][_0x5e35d9];if(!_0x35035f)return!0x1;let {viewIds:_0xa7fc5b,fieldIds:_0x1ca30f,recordIds:_0xd8e455}=_0x245b79||{};if(_0xa7fc5b){for(let _0x4b3773 of _0xa7fc5b)if(!_0x35035f['views'][_0x4b3773])return!0x1;}if(_0x1ca30f){for(let _0x231fa7 of _0x1ca30f)if(!_0x35035f[_0x15b530(0x458)][_0x231fa7])return!0x1;}if(_0xd8e455){for(let _0x4d0fae of _0xd8e455)if(!_0x35035f['records'][_0x4d0fae])return!0x1;}return!0x0;}function _0x1e8b5f(_0x468bd9,_0x36b302,_0x44645a){const _0x29c25e=_0x36f63a;if(_0x44645a['id']===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x44645a['type']===_0x26cf17['BaseFieldType'][_0x29c25e(0x4b5)]||(0x0,_0x26cf17[_0x29c25e(0x3c8)])(_0x44645a[_0x29c25e(0x3f8)])||!_0x2fb7b5(_0x468bd9,_0x36b302,_0x44645a))return!0x1;let _0x19ae53=_0x468bd9[_0x29c25e(0x509)]();if(!_0x5f1ecb(_0x19ae53,_0x44645a)['valid'])return!0x1;if(_0x44645a[_0x29c25e(0x5d6)]!==_0x26cf17[_0x29c25e(0x22d)][_0x29c25e(0x393)])return!0x0;let _0x5f1a34=_0x3caba0(_0x44645a);if(!_0x5f1a34)return!0x1;if(_0x5f1a34[_0x29c25e(0x3a1)]===void 0x0)return!0x0;if(_0x5f1a34[_0x29c25e(0x3a1)]!==_0x26cf17[_0x29c25e(0x487)][_0x29c25e(0x1cc)]||_0x5f1a34['targetTableId']!==_0x36b302||_0x5f1a34[_0x29c25e(0x4d4)]!==!0x1)return!0x1;let _0x4af735=_0x19ae53['tables'][_0x36b302];return!Object['values'](_0x4af735[_0x29c25e(0x458)])[_0x29c25e(0x2c3)](_0x2b9149=>{const _0x4d0351=_0x29c25e;var _0x1b9ce7;return _0x2b9149['id']!==_0x44645a['id']&&_0x2b9149[_0x4d0351(0x5d6)]===_0x26cf17['BaseFieldType'][_0x4d0351(0x393)]&&((_0x1b9ce7=_0x3caba0(_0x2b9149))==null?void 0x0:_0x1b9ce7[_0x4d0351(0x3a1)])===_0x26cf17[_0x4d0351(0x487)][_0x4d0351(0x1cc)];});}function _0x2ef661(_0x54fd2f,_0x3447b7,_0xea0e0b,_0x50d648){const _0x3dba63=_0x36f63a;var _0x333993;let _0x2789e7=_0x54fd2f[_0x3dba63(0x509)](),_0x5ea6e9=(_0x333993=_0x2789e7['tables'][_0x3447b7])==null?void 0x0:_0x333993[_0x3dba63(0x458)][_0xea0e0b];return!_0x5ea6e9||_0x5ea6e9['id']===_0x26cf17[_0x3dba63(0x478)]||_0x5ea6e9[_0x3dba63(0x5d6)]===_0x26cf17[_0x3dba63(0x22d)]['RecordId']?!0x1:_0x5ea6e9['type']!==_0x26cf17[_0x3dba63(0x22d)][_0x3dba63(0x393)]||_0x288789(_0x2789e7,_0x5ea6e9,_0x11df7f(_0x50d648))[_0x3dba63(0x50f)];}function _0x5761a0(_0x2d8222,_0x4a930a,_0x14aad7){const _0xf927f2=_0x36f63a;let _0x2452c4=_0x2d8222[_0xf927f2(0x509)]()[_0xf927f2(0x594)][_0x4a930a];return!_0x2452c4||!(0x0,_0x26cf17[_0xf927f2(0x361)])(_0x14aad7['id'])||_0x2452c4['records'][_0x14aad7['id']]||Object[_0xf927f2(0x1d5)][_0xf927f2(0x4ea)][_0xf927f2(0x5b6)](_0x14aad7[_0xf927f2(0x20f)],_0x26cf17[_0xf927f2(0x478)])&&_0x14aad7[_0xf927f2(0x20f)][_0x26cf17[_0xf927f2(0x478)]]!==_0x14aad7['id']?!0x1:Object[_0xf927f2(0x443)](_0x14aad7['values'])[_0xf927f2(0x308)](([_0x24bdc6,_0x33e19b])=>_0x24bdc6===_0x26cf17[_0xf927f2(0x478)]||_0x2ef661(_0x2d8222,_0x4a930a,_0x24bdc6,_0x33e19b));}function _0x55a214(_0x608175){const _0x4a3516=_0x36f63a;return{..._0x608175,'values':{..._0x608175['values'],[_0x26cf17[_0x4a3516(0x478)]]:_0x608175['id']}};}function _0x11df7f(_0x33f7bb){const _0x4d8f78=_0x36f63a;if(_0x33f7bb&&typeof _0x33f7bb==_0x4d8f78(0x3e4)&&!Array[_0x4d8f78(0x2c4)](_0x33f7bb)&&'v'in _0x33f7bb){let _0x1e11d2=_0x33f7bb['v'];return _0x1e11d2===void 0x0?null:_0x1e11d2;}return _0x33f7bb;}function _0x128a72(_0x461949,_0x5a0ffd,_0x4ff30d,_0x3c780a){const _0x4c60d8=_0x36f63a;let _0x36dded=_0x461949[_0x4c60d8(0x509)]()[_0x4c60d8(0x594)][_0x5a0ffd];if(!_0x36dded)return null;let _0x27c88e=_0x126b6c(_0x36dded),_0x1db31b=_0x27c88e??_0xcff95d(_0x36dded),_0x2156c3=_0x4ff30d['some'](_0x50e97f=>Object[_0x4c60d8(0x1d5)]['hasOwnProperty']['call'](_0x50e97f['values'],_0x1db31b)),_0x4f0825=_0x27c88e?_0x36dded[_0x4c60d8(0x458)][_0x27c88e]:_0x2156c3?_0x39e357(_0x36dded,_0x1db31b,_0x3c780a):null,_0x1271a0=[];for(let _0x31bde1 of _0x4ff30d){let _0x57c281=_0x31bde1['values'][_0x1db31b],_0x1d2897=_0x4f0825!==null&&Object['prototype'][_0x4c60d8(0x4ea)][_0x4c60d8(0x5b6)](_0x31bde1[_0x4c60d8(0x20f)],_0x1db31b),_0x18dfbf=_0x11df7f(_0x57c281),_0x16ff83=null;if(_0x1d2897){if(typeof _0x18dfbf!=_0x4c60d8(0x4c8)||!_0x31953c(_0x18dfbf,!0x1)[_0x4c60d8(0x50f)])return null;_0x16ff83=_0x18dfbf;}let _0x13fed0={};if(Object[_0x4c60d8(0x443)](_0x31bde1[_0x4c60d8(0x20f)])[_0x4c60d8(0x1bf)](([_0x5609a,_0xdc1076])=>{(!_0x1d2897||_0x5609a!==_0x1db31b)&&(_0x13fed0[_0x5609a]=_0xdc1076);}),!_0x5761a0(_0x461949,_0x5a0ffd,{..._0x31bde1,'values':_0x13fed0}))return null;let _0x37d40c={..._0x31bde1['values']};_0x16ff83!==null&&(_0x37d40c[_0x1db31b]=_0x16ff83),_0x1271a0[_0x4c60d8(0x605)](_0x55a214({..._0x31bde1,'values':_0x37d40c}));}return{'records':_0x1271a0,'hierarchyFieldToMaterialize':_0x27c88e?null:_0x4f0825,'hierarchyChanges':_0x298dba(_0x36dded,_0x1271a0)};}let _0x4a0304={'id':_0x36f63a(0x3dd),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x271fb0,_0x429390){const _0x5534fe=_0x36f63a;if(!_0x429390)return!0x1;let _0x3e895a=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x4a8)]),{unitId:_0x12e183,tableId:_0x8b9c5e,records:_0x9df45c}=_0x429390,_0x2ef6f2=_0x3e895a[_0x5534fe(0x2e3)](_0x12e183,_0x26cf17[_0x5534fe(0x1ef)][_0x5534fe(0x440)]),_0x2d2e73=_0x9df45c[_0x5534fe(0x4a5)](_0x447dea=>_0x447dea['id']);if(!_0x2ef6f2||!_0x4cb030(_0x2ef6f2,_0x8b9c5e)||new Set(_0x2d2e73)[_0x5534fe(0x52b)]!==_0x2d2e73[_0x5534fe(0x4cd)])return!0x1;let _0x19b1fa=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x2d3)]),_0x579633=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x501)]),_0x4e431a=_0x271fb0[_0x5534fe(0x558)](_0x10f260),_0x4ff11a=_0x2ef6f2[_0x5534fe(0x509)](),_0x521581=_0x128a72(_0x2ef6f2,_0x8b9c5e,_0x9df45c);if(!_0x521581)return!0x1;let {records:_0x540456,hierarchyChanges:_0x1a6bc1,hierarchyFieldToMaterialize:_0x1ddaee}=_0x521581,_0x5df184=_0x1ddaee?_0x4e431a['createCreateFieldOp'](_0x2ef6f2,_0x8b9c5e,_0x1ddaee,_0x4ff11a[_0x5534fe(0x594)][_0x8b9c5e][_0x5534fe(0x1b2)][_0x5534fe(0x4cd)]):null,_0x5cb6aa=_0x4e431a['createBatchCreateRecordsOp'](_0x2ef6f2,_0x8b9c5e,_0x540456),_0x464ff5=_0x396f18([..._0x5df184?[_0x5df184]:[],_0x5cb6aa]),_0x29745d=new _0x5070bf()[_0x5534fe(0x3ad)](_0x4ff11a,_0x464ff5),_0x39b1c5={'unitId':_0x12e183,'op':_0x464ff5,'hierarchyChanges':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x1a6bc1:void 0x0,'source':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x429390[_0x5534fe(0x31b)]??'ui':void 0x0},_0x1586d1={..._0x39b1c5,'source':_0x1a6bc1['length']?_0x5534fe(0x265):void 0x0},_0x3ca7ea={'unitId':_0x12e183,'op':_0x29745d,'hierarchyChanges':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x1a6bc1[_0x5534fe(0x4a5)](_0x2291ff=>({..._0x2291ff,'oldParentRecordId':_0x2291ff['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x5534fe(0x19e):void 0x0};return _0x19b1fa['syncExecuteCommand'](_0x22dd4d['id'],_0x39b1c5)?(_0x3e895a[_0x5534fe(0x542)](_0x12e183),_0x579633['pushUndoRedo']({'unitID':_0x12e183,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x3ca7ea}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x1586d1}]}),!0x0):!0x1;}},_0x383797={'id':_0x36f63a(0x4eb),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x29f23b,_0x1cb18c)=>{const _0x11230e=_0x36f63a;if(!_0x1cb18c)return!0x1;let _0x5e39e2=_0x29f23b['get'](_0x26cf17[_0x11230e(0x4a8)]),{unitId:_0x21ad20,tableId:_0x4677ce,recordIds:_0x3a532b}=_0x1cb18c,_0x2b5d71=_0x5e39e2[_0x11230e(0x2e3)](_0x21ad20,_0x26cf17[_0x11230e(0x1ef)][_0x11230e(0x440)]);if(!_0x2b5d71||!_0x4cb030(_0x2b5d71,_0x4677ce,{'recordIds':_0x3a532b}))return!0x1;let _0x3ce664=_0x29f23b['get'](_0x26cf17['ICommandService']),_0x44b7dd=_0x29f23b[_0x11230e(0x558)](_0x26cf17[_0x11230e(0x501)]),_0x4ddea9=_0x2b5d71[_0x11230e(0x509)](),_0x490107=_0x4665b4(_0x4ddea9[_0x11230e(0x594)][_0x4677ce],_0x3a532b),_0x5682f6=new _0x3c2e91(),_0x54e698=new _0x5070bf(),_0x2c54c2=_0x5682f6[_0x11230e(0x383)](_0x4ddea9,_0x4677ce,_0x3a532b),_0xccccc6=_0x54e698[_0x11230e(0x4ad)](_0x4ddea9,_0x2c54c2),_0x58fb36=_0x5682f6['createDeleteRecordsUndoOp'](_0x4ddea9,_0xccccc6,_0x4677ce,_0x3a532b),_0x1d7a37={'unitId':_0x21ad20,'op':_0x2c54c2,'hierarchyChanges':_0x490107,'source':_0x1cb18c['source']??'ui'},_0x3ffc09={..._0x1d7a37,'source':'redo'},_0x4b77ed={'unitId':_0x21ad20,'op':_0x58fb36,'hierarchyChanges':_0x490107['map'](_0x4107ec=>({..._0x4107ec,'oldParentRecordId':_0x4107ec[_0x11230e(0x283)],'parentRecordId':_0x4107ec[_0x11230e(0x369)]})),'source':_0x11230e(0x19e)};return _0x3ce664[_0x11230e(0x234)](_0x22dd4d['id'],_0x1d7a37)?(_0x5e39e2['focusUnit'](_0x21ad20),_0x44b7dd[_0x11230e(0x581)]({'unitID':_0x21ad20,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4b77ed}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3ffc09}]}),!0x0):!0x1;}},_0x2a60c5={'id':_0x36f63a(0x1d8),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x3b5e89,_0x4d486a)=>{const _0x369fa7=_0x36f63a;if(!_0x4d486a)return!0x1;let _0x531e89=_0x3b5e89['get'](_0x26cf17[_0x369fa7(0x4a8)]),{unitId:_0x129dd3,tableId:_0x1e5de5,fieldId:_0x26b17e,input:_0x209e9a}=_0x4d486a,_0x284f7d=_0x531e89['getUnit'](_0x129dd3,_0x26cf17[_0x369fa7(0x1ef)][_0x369fa7(0x440)]);if(!_0x284f7d||_0x26b17e===_0x26cf17[_0x369fa7(0x478)]||!_0x4cb030(_0x284f7d,_0x1e5de5,{'fieldIds':[_0x26b17e]}))return!0x1;let _0x2773b6=_0x3b5e89[_0x369fa7(0x558)](_0x26cf17[_0x369fa7(0x2d3)]),_0x78b263=_0x3b5e89[_0x369fa7(0x558)](_0x26cf17['IUndoRedoService']),_0x1911f5=_0x284f7d[_0x369fa7(0x509)]();if(!_0x1e8b5f(_0x284f7d,_0x1e5de5,{..._0x1911f5['tables'][_0x1e5de5][_0x369fa7(0x458)][_0x26b17e],..._0x209e9a}))return!0x1;let _0x42d6ed=new _0x3c2e91()['changeFieldType'](_0x1911f5,_0x1e5de5,_0x26b17e,_0x209e9a),_0x467a54=new _0x5070bf()['invertOp'](_0x1911f5,_0x42d6ed),_0x194c42={'unitId':_0x129dd3,'op':_0x42d6ed},_0x451182={'unitId':_0x129dd3,'op':_0x467a54};return _0x2773b6['syncExecuteCommand'](_0x22dd4d['id'],_0x194c42)?(_0x531e89[_0x369fa7(0x542)](_0x129dd3),_0x78b263['pushUndoRedo']({'unitID':_0x129dd3,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x451182}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x194c42}]}),!0x0):!0x1;}},_0x30f8e9={'id':_0x36f63a(0x52d),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x3be6b3,_0x4040fe){const _0x4d99ad=_0x36f63a;var _0x3b2584;if(!_0x4040fe)return!0x1;let {unitId:_0x2fe4a1,tableId:_0x246100,parentRecordId:_0x21d920}=_0x4040fe,_0x335809=_0x3be6b3[_0x4d99ad(0x558)](_0x26cf17[_0x4d99ad(0x4a8)]),_0x1cd2d9=_0x335809[_0x4d99ad(0x2e3)](_0x2fe4a1,_0x26cf17[_0x4d99ad(0x1ef)][_0x4d99ad(0x440)]);if(!_0x1cd2d9||!_0x4cb030(_0x1cd2d9,_0x246100,{'recordIds':[_0x21d920]}))throw new _0x3763ee(_0x4d99ad(0x333));let _0x41244a=_0x1cd2d9[_0x4d99ad(0x509)](),_0x43509d=_0x41244a[_0x4d99ad(0x594)][_0x246100],_0x6a9bee=_0x126b6c(_0x43509d),_0x470dfe=_0x6a9bee??_0x4040fe[_0x4d99ad(0x39c)]??_0xcff95d(_0x43509d);if(_0x6a9bee&&_0x4040fe[_0x4d99ad(0x39c)]&&_0x4040fe['fieldId']!==_0x6a9bee||_0x43509d[_0x4d99ad(0x458)][_0x470dfe]&&!_0x2e8fb1(_0x43509d,_0x470dfe))throw new _0x3763ee(_0x4d99ad(0x39b));if((_0x17cc3f(_0x43509d,_0x470dfe)[_0x4d99ad(0x351)][_0x4d99ad(0x558)](_0x21d920)??0x0)+0x1>=0x5)throw new _0x3763ee(_0x4d99ad(0x2af));if(!_0x5761a0(_0x1cd2d9,_0x246100,_0x4040fe[_0x4d99ad(0x1b5)]))return!0x1;let _0x199afd=_0x55a214({..._0x4040fe[_0x4d99ad(0x1b5)],'values':{..._0x4040fe[_0x4d99ad(0x1b5)][_0x4d99ad(0x20f)],[_0x470dfe]:_0x1bd71a([_0x21d920])}}),_0x2c39d1=_0x3be6b3[_0x4d99ad(0x558)](_0x10f260),_0x23c31c=new _0x3c2e91(),_0x27f510=_0x43509d['fields'][_0x470dfe],_0x1c6c8c=_0x27f510?((_0x3b2584=_0x3caba0(_0x27f510))==null?void 0x0:_0x3b2584[_0x4d99ad(0x3a1)])===_0x26cf17['BaseRecordLinkRole'][_0x4d99ad(0x1cc)]?null:_0x23c31c['updateField'](_0x41244a,_0x246100,_0x470dfe,{'config':{..._0x27f510[_0x4d99ad(0x4cc)],'relationRole':_0x26cf17['BaseRecordLinkRole'][_0x4d99ad(0x1cc)]}}):_0x2c39d1['createCreateFieldOp'](_0x1cd2d9,_0x246100,_0x39e357(_0x43509d,_0x470dfe,_0x4040fe['parentFieldName']),_0x43509d[_0x4d99ad(0x1b2)]['length']),_0x57886b=_0x2c39d1[_0x4d99ad(0x55f)](_0x1cd2d9,_0x246100,_0x199afd),_0x5e5518=_0x396f18([..._0x1c6c8c?[_0x1c6c8c]:[],_0x57886b]),_0x5a2013=new _0x5070bf()['invertOp'](_0x41244a,_0x5e5518),_0x6fe30f={'tableId':_0x246100,'fieldId':_0x470dfe,'recordId':_0x199afd['id'],'oldParentRecordId':null,'parentRecordId':_0x21d920},_0x1d9abc={'unitId':_0x2fe4a1,'op':_0x5e5518,'trigger':_0x30f8e9['id'],'hierarchyChanges':[_0x6fe30f],'source':_0x4040fe['source']??'ui'},_0x59ffda={..._0x1d9abc,'source':'redo'},_0x1dc919={'unitId':_0x2fe4a1,'op':_0x5a2013,'trigger':_0x30f8e9['id'],'hierarchyChanges':[{..._0x6fe30f,'oldParentRecordId':_0x21d920,'parentRecordId':null}],'source':'undo'};return _0x3be6b3['get'](_0x26cf17[_0x4d99ad(0x2d3)])['syncExecuteCommand'](_0x22dd4d['id'],_0x1d9abc)?(_0x335809[_0x4d99ad(0x542)](_0x2fe4a1),_0x3be6b3[_0x4d99ad(0x558)](_0x26cf17[_0x4d99ad(0x501)])[_0x4d99ad(0x581)]({'unitID':_0x2fe4a1,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1dc919}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x59ffda}]}),!0x0):!0x1;}},_0x592bbf={'id':_0x36f63a(0x201),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0xa62977,_0xfd88d3){const _0x550330=_0x36f63a;if(!_0xfd88d3)return!0x1;let _0x5c7fca=_0xa62977[_0x550330(0x558)](_0x26cf17[_0x550330(0x4a8)]),{unitId:_0x5e9e3a,tableId:_0x489159,field:_0x5d1d07,index:_0x490519,viewIndexes:_0x33aaa1}=_0xfd88d3,_0x3380ed=_0x5c7fca[_0x550330(0x2e3)](_0x5e9e3a,_0x26cf17[_0x550330(0x1ef)][_0x550330(0x440)]);if(!_0x3380ed||!_0x4cb030(_0x3380ed,_0x489159)||_0x3380ed['getSnapshot']()[_0x550330(0x594)][_0x489159][_0x550330(0x458)][_0x5d1d07['id']]||_0x490519===0x0||!_0x1e8b5f(_0x3380ed,_0x489159,_0x5d1d07))return!0x1;let _0x3df3f6=_0xa62977[_0x550330(0x558)](_0x26cf17[_0x550330(0x2d3)]),_0x3c5a3=_0xa62977[_0x550330(0x558)](_0x26cf17['IUndoRedoService']),_0x1aa16e=_0xa62977[_0x550330(0x558)](_0x10f260)[_0x550330(0x48a)](_0x3380ed,_0x489159,_0x5d1d07,_0x490519,_0x33aaa1),_0x1b040f=new _0x5070bf()[_0x550330(0x3ad)](_0x3380ed['getSnapshot'](),_0x1aa16e),_0x441c9a={'unitId':_0x5e9e3a,'op':_0x1aa16e},_0x4e1699={'unitId':_0x5e9e3a,'op':_0x1b040f};return _0x3df3f6[_0x550330(0x234)](_0x22dd4d['id'],_0x441c9a)?(_0x5c7fca[_0x550330(0x542)](_0x5e9e3a),_0x3c5a3['pushUndoRedo']({'unitID':_0x5e9e3a,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4e1699}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x441c9a}]}),!0x0):!0x1;}},_0x83e844={'id':_0x36f63a(0x2b3),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x4ac7bf,_0x46b511){const _0x890a4b=_0x36f63a;if(!_0x46b511)return!0x1;let _0x274211=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x4a8)]),{unitId:_0x294b49,tableId:_0x5a361e,record:_0x53fb7}=_0x46b511,_0x298ba3=_0x274211[_0x890a4b(0x2e3)](_0x294b49,_0x26cf17['UniverInstanceType'][_0x890a4b(0x440)]);if(!_0x298ba3||!_0x4cb030(_0x298ba3,_0x5a361e))return!0x1;let _0x4aacfe=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x2d3)]),_0x2ebd95=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x501)]),_0x475ff6=_0x4ac7bf[_0x890a4b(0x558)](_0x10f260),_0x156934=_0x298ba3[_0x890a4b(0x509)](),_0x1f9665=_0x128a72(_0x298ba3,_0x5a361e,[_0x53fb7]);if(!_0x1f9665)return!0x1;let [_0x3f42c8]=_0x1f9665[_0x890a4b(0x4c9)],{hierarchyChanges:_0x5a860e,hierarchyFieldToMaterialize:_0x4f03d1}=_0x1f9665,_0x394f94=_0x4f03d1?_0x475ff6['createCreateFieldOp'](_0x298ba3,_0x5a361e,_0x4f03d1,_0x156934[_0x890a4b(0x594)][_0x5a361e][_0x890a4b(0x1b2)]['length']):null,_0xf62280=_0x475ff6[_0x890a4b(0x55f)](_0x298ba3,_0x5a361e,_0x3f42c8),_0x1beded=_0x396f18([..._0x394f94?[_0x394f94]:[],_0xf62280]),_0x12dffc=new _0x5070bf()['invertOp'](_0x156934,_0x1beded),_0x2bb79a={'unitId':_0x294b49,'op':_0x1beded,'hierarchyChanges':_0x5a860e[_0x890a4b(0x4cd)]?_0x5a860e:void 0x0,'source':_0x5a860e[_0x890a4b(0x4cd)]?_0x46b511[_0x890a4b(0x31b)]??'ui':void 0x0},_0x4adf9f={..._0x2bb79a,'source':_0x5a860e['length']?_0x890a4b(0x265):void 0x0},_0x3edb2c={'unitId':_0x294b49,'op':_0x12dffc,'hierarchyChanges':_0x5a860e['length']?_0x5a860e[_0x890a4b(0x4a5)](_0x284fdd=>({..._0x284fdd,'oldParentRecordId':_0x284fdd['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5a860e[_0x890a4b(0x4cd)]?'undo':void 0x0};return _0x4aacfe[_0x890a4b(0x234)](_0x22dd4d['id'],_0x2bb79a)?(_0x274211[_0x890a4b(0x542)](_0x294b49),_0x2ebd95[_0x890a4b(0x581)]({'unitID':_0x294b49,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x3edb2c}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4adf9f}]}),!0x0):!0x1;}};function _0x41dc3d(_0x1b1ad2,_0x4588d8,_0x1965ef){const _0x5b0144=_0x36f63a;if(!_0x4588d8[_0x5b0144(0x3ce)]())return{'valid':!0x1,'reason':_0x5b0144(0x476),'error':_0x5b0144(0x4b3)};if(_0x4588d8[_0x5b0144(0x4cd)]>0x1f)return{'valid':!0x1,'reason':_0x5b0144(0x2cf),'error':'too-long'};if(_0x4588d8[_0x5b0144(0x57d)]('\x27')||_0x4588d8[_0x5b0144(0x50c)]('\x27'))return{'valid':!0x1,'reason':_0x5b0144(0x39d),'error':_0x5b0144(0x1b4)};if(/[:\\/?*\[\]]/[_0x5b0144(0x484)](_0x4588d8))return{'valid':!0x1,'reason':_0x5b0144(0x19d),'error':'invalid-characters'};if(!(0x0,_0x26cf17[_0x5b0144(0x3e1)])(_0x4588d8))return{'valid':!0x1,'reason':_0x5b0144(0x546),'error':_0x5b0144(0x312)};let _0x160d01=_0x4588d8[_0x5b0144(0x1fd)]();return Object[_0x5b0144(0x20f)](_0x1b1ad2[_0x5b0144(0x594)])[_0x5b0144(0x2c3)](_0x5c638d=>_0x5c638d['id']!==_0x1965ef&&_0x5c638d['name'][_0x5b0144(0x1fd)]()===_0x160d01)?{'valid':!0x1,'reason':_0x5b0144(0x1f8),'error':_0x5b0144(0x599)}:{'valid':!0x0};}function _0x3fb9db(_0x5ef267,_0x4903ea){const _0x3be634=_0x36f63a;let _0x1c9aa9=_0x4903ea[_0x3be634(0x2ed)](/[:\\/?*\[\]]/g,'\x20')[_0x3be634(0x2ed)](/^'+|'+$/g,'')['trim']()||'Table',_0xf2e48d=0x1;for(;;){let _0x1f410c=_0xf2e48d===0x1?'':'\x20'+_0xf2e48d,_0x5f3400=''+_0x1c9aa9[_0x3be634(0x24f)](0x0,0x1f-_0x1f410c[_0x3be634(0x4cd)])+_0x1f410c;if(_0x41dc3d(_0x5ef267,_0x5f3400)['valid'])return _0x5f3400;_0xf2e48d++;}}let _0x129c3e={'id':_0x36f63a(0x281),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3aa392,_0x16332e)=>{const _0x1212da=_0x36f63a;if(!_0x16332e)return!0x1;let _0x3c7676=_0x3aa392[_0x1212da(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x5a4b89,table:_0x3426cd,index:_0xac644b}=_0x16332e,_0x4b84fd=_0x3c7676['getUnit'](_0x5a4b89,_0x26cf17[_0x1212da(0x1ef)][_0x1212da(0x440)]);if(!_0x4b84fd||_0x4b84fd[_0x1212da(0x509)]()['tables'][_0x3426cd['id']]||!_0x41dc3d(_0x4b84fd[_0x1212da(0x509)](),_0x3426cd['name'])[_0x1212da(0x50f)])return!0x1;try{(0x0,_0x26cf17[_0x1212da(0x1a3)])(_0x3426cd);}catch{return!0x1;}let _0x2ab06b=_0x3aa392[_0x1212da(0x558)](_0x26cf17['ICommandService']),_0x448635=_0x3aa392[_0x1212da(0x558)](_0x26cf17[_0x1212da(0x501)]),_0x2c3f31=_0x4b84fd[_0x1212da(0x509)](),_0x2ddb6a=new _0x3c2e91()[_0x1212da(0x4af)](_0x2c3f31,_0x3426cd,_0xac644b),_0x41db2d=new _0x5070bf()[_0x1212da(0x3ad)](_0x2c3f31,_0x2ddb6a),_0x286682={'unitId':_0x5a4b89,'op':_0x2ddb6a},_0x59eb50={'unitId':_0x5a4b89,'op':_0x41db2d};return _0x2ab06b[_0x1212da(0x234)](_0x22dd4d['id'],_0x286682)?(_0x3c7676[_0x1212da(0x542)](_0x5a4b89),_0x448635[_0x1212da(0x581)]({'unitID':_0x5a4b89,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x59eb50}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x286682}]}),!0x0):!0x1;}};function _0x415bdf(_0x3bc54f,_0x1c5079,_0x3d1848=[]){const _0xc11ee=_0x36f63a;let _0x12c66c=new Set([...Object[_0xc11ee(0x20f)](_0x3bc54f[_0xc11ee(0x458)])[_0xc11ee(0x46a)](_0xe652c=>_0xe652c)[_0xc11ee(0x4a5)](_0x442e47=>_0x442e47['name']),..._0x3d1848[_0xc11ee(0x4a5)](_0xc4575e=>_0xc4575e[_0xc11ee(0x3f8)])]);if(!_0x12c66c[_0xc11ee(0x2fa)](_0x1c5079))return _0x1c5079;let _0x2dc635=0x2;for(;_0x12c66c[_0xc11ee(0x2fa)](_0x1c5079+'\x20'+_0x2dc635);)_0x2dc635++;return _0x1c5079+'\x20'+_0x2dc635;}function _0x385cf5(_0x274f48,_0x3ce68e){const _0x5e0df0=_0x36f63a;if(!_0x274f48||!_0x3ce68e[_0x5e0df0(0x4cd)])return;let _0x1ac07c=[..._0x274f48];return _0x3ce68e['forEach'](_0x2df49c=>{const _0x13c0a4=_0x5e0df0;_0x1ac07c[_0x13c0a4(0x358)](_0x2df49c)||_0x1ac07c[_0x13c0a4(0x605)](_0x2df49c);}),_0x1ac07c;}let _0xe17331={'options':[{'id':'todo','name':_0x36f63a(0x29e),'color':_0x36f63a(0x603)},{'id':_0x36f63a(0x20d),'name':_0x36f63a(0x1b6),'color':_0x36f63a(0x4fe)},{'id':'done','name':_0x36f63a(0x60a),'color':_0x36f63a(0x4fd)}]},_0x4fe696={'locale':_0x36f63a(0x24e),'pattern':_0x36f63a(0x37a),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x36f63a(0x272)};function _0xec0948(_0x248165,_0x3b7bfb,_0x1add41,_0x4ee435){const _0x27b3fc=_0x36f63a;var _0xca60e5;let _0x3c7293=new _0x3c2e91(),_0x13f7cd=_0x248165[_0x27b3fc(0x594)][_0x3b7bfb],_0x176466=_0x13f7cd?{..._0x1add41,'fieldOrder':[_0x26cf17[_0x27b3fc(0x478)],...(_0x1add41[_0x27b3fc(0x1b2)]??_0x13f7cd[_0x27b3fc(0x1b2)])['filter'](_0x3a7dbe=>_0x3a7dbe!==_0x26cf17[_0x27b3fc(0x478)])],'fieldSettings':{..._0x1add41[_0x27b3fc(0x47f)],[_0x26cf17[_0x27b3fc(0x478)]]:{...(_0xca60e5=_0x1add41[_0x27b3fc(0x47f)])==null?void 0x0:_0xca60e5[_0x26cf17[_0x27b3fc(0x478)]],'hidden':!0x0}}}:_0x1add41;if(_0x13f7cd&&_0x176466['type']==='kanban'){let _0x3c4cff=_0x2be556(_0x13f7cd,_0x176466),_0x44ff45=_0x3c4cff[_0x27b3fc(0x379)]?{..._0x176466,'config':_0x3c4cff[_0x27b3fc(0x4cc)],'fieldOrder':_0x3c4cff[_0x27b3fc(0x1b2)]??_0x176466[_0x27b3fc(0x1b2)]}:_0x176466;return _0x396f18([..._0x3c4cff['fields']['map'](_0x894cae=>_0x3c7293['createField'](_0x248165,_0x3b7bfb,{'field':_0x894cae})),_0x3c7293['createView'](_0x248165,_0x3b7bfb,_0x44ff45,_0x4ee435)]);}if(!_0x13f7cd||_0x176466[_0x27b3fc(0x5d6)]!==_0x27b3fc(0x302)&&_0x176466[_0x27b3fc(0x5d6)]!==_0x27b3fc(0x277))return _0x3c7293[_0x27b3fc(0x27d)](_0x248165,_0x3b7bfb,_0x176466,_0x4ee435);let _0xba74b=_0x3ef9a8(_0x13f7cd,_0x176466),_0x1326bb=_0xba74b[_0x27b3fc(0x379)]?{..._0x176466,'config':_0xba74b[_0x27b3fc(0x4cc)],'fieldOrder':_0xba74b[_0x27b3fc(0x1b2)]??_0x176466[_0x27b3fc(0x1b2)]}:_0x176466;return _0x176466[_0x27b3fc(0x5d6)]===_0x27b3fc(0x277)&&_0x1dc6e7(_0x176466)&&(_0x1326bb=_0x3ee0e0(_0x13f7cd,_0x1326bb,_0xba74b[_0x27b3fc(0x458)])),_0x396f18([..._0xba74b[_0x27b3fc(0x458)][_0x27b3fc(0x4a5)](_0x5e0e70=>_0x3c7293[_0x27b3fc(0x5b3)](_0x248165,_0x3b7bfb,{'field':_0x5e0e70})),_0x3c7293[_0x27b3fc(0x27d)](_0x248165,_0x3b7bfb,_0x1326bb,_0x4ee435)]);}function _0x3ef9a8(_0x8f2fd0,_0x3684ba,_0x294a81=!0x1){const _0x39a62e=_0x36f63a;var _0x560129,_0x32f89c;let _0x406e62=_0x8f2fd0[_0x39a62e(0x1b2)][_0x39a62e(0x46a)](_0x93e302=>_0x123673(_0x8f2fd0,_0x93e302)),_0x2c5f89=[],_0x2105ba={..._0x3684ba['config']??{}},_0x5513c4=typeof _0x2105ba['startDateFieldId']==_0x39a62e(0x4c8)&&_0x123673(_0x8f2fd0,_0x2105ba[_0x39a62e(0x395)])?_0x2105ba[_0x39a62e(0x395)]:_0x406e62[0x0],_0x21acf5=typeof _0x2105ba['endDateFieldId']==_0x39a62e(0x4c8)&&_0x123673(_0x8f2fd0,_0x2105ba[_0x39a62e(0x552)])&&_0x2105ba[_0x39a62e(0x552)]!==_0x5513c4?_0x2105ba[_0x39a62e(0x552)]:_0x406e62[_0x39a62e(0x396)](_0x1ae8cc=>_0x1ae8cc!==_0x5513c4);if(!_0x5513c4){let _0x5d6189=_0x39059f(_0x8f2fd0,_0x2c5f89,_0x3684ba['type']==='gantt'?_0x39a62e(0x237):_0x39a62e(0x1be));_0x2c5f89[_0x39a62e(0x605)](_0x5d6189),_0x5513c4=_0x5d6189['id'];}if((_0x3684ba[_0x39a62e(0x5d6)]===_0x39a62e(0x277)||_0x294a81)&&!_0x21acf5){let _0x51a127=_0x39059f(_0x8f2fd0,_0x2c5f89,_0x39a62e(0x61d));_0x2c5f89[_0x39a62e(0x605)](_0x51a127),_0x21acf5=_0x51a127['id'];}_0x3684ba['type']===_0x39a62e(0x302)&&!_0x21acf5&&delete _0x2105ba[_0x39a62e(0x552)],_0x2105ba[_0x39a62e(0x395)]=_0x5513c4,_0x3684ba['type']===_0x39a62e(0x302)&&_0x21acf5&&(_0x2105ba[_0x39a62e(0x552)]=_0x21acf5),_0x3684ba[_0x39a62e(0x5d6)]===_0x39a62e(0x277)&&(_0x2105ba[_0x39a62e(0x552)]=_0x21acf5??_0x5513c4);let _0x4b7019=_0x385cf5(_0x3684ba[_0x39a62e(0x1b2)],_0x2c5f89['map'](_0x12e47e=>_0x12e47e['id']));return{'changed':_0x2c5f89[_0x39a62e(0x4cd)]>0x0||_0x2105ba[_0x39a62e(0x395)]!==((_0x560129=_0x3684ba[_0x39a62e(0x4cc)])==null?void 0x0:_0x560129['startDateFieldId'])||_0x2105ba[_0x39a62e(0x552)]!==((_0x32f89c=_0x3684ba['config'])==null?void 0x0:_0x32f89c[_0x39a62e(0x552)])||!(!_0x4b7019||_0x26cf17[_0x39a62e(0x3e7)][_0x39a62e(0x2e9)](_0x4b7019,_0x3684ba[_0x39a62e(0x1b2)]??[])),'fields':_0x2c5f89,'config':_0x2105ba,'fieldOrder':_0x4b7019};}function _0x2be556(_0x4e4c51,_0xac80d7){const _0x43f608=_0x36f63a;var _0x45eea4;let _0x12c6e6=[],_0x241397={..._0xac80d7[_0x43f608(0x4cc)]??{}},_0x14d7cb=typeof _0x241397[_0x43f608(0x26d)]==_0x43f608(0x4c8)&&_0x691f65(_0x4e4c51,_0x241397[_0x43f608(0x26d)])?_0x241397[_0x43f608(0x26d)]:_0x4e4c51[_0x43f608(0x1b2)][_0x43f608(0x396)](_0x425d8c=>_0x691f65(_0x4e4c51,_0x425d8c));if(!_0x14d7cb){let _0x24b290=_0x57fff5(_0x4e4c51,_0x12c6e6);_0x12c6e6['push'](_0x24b290),_0x14d7cb=_0x24b290['id'];}_0x241397[_0x43f608(0x26d)]=_0x14d7cb;let _0x4accae=_0x385cf5(_0xac80d7[_0x43f608(0x1b2)],_0x12c6e6[_0x43f608(0x4a5)](_0x5cc907=>_0x5cc907['id']));return{'changed':_0x12c6e6[_0x43f608(0x4cd)]>0x0||_0x241397[_0x43f608(0x26d)]!==((_0x45eea4=_0xac80d7[_0x43f608(0x4cc)])==null?void 0x0:_0x45eea4[_0x43f608(0x26d)])||!(!_0x4accae||_0x26cf17['Tools'][_0x43f608(0x2e9)](_0x4accae,_0xac80d7[_0x43f608(0x1b2)]??[])),'fields':_0x12c6e6,'config':_0x241397,'fieldOrder':_0x4accae};}function _0x691f65(_0x4b276a,_0x1bd777){const _0x247bcf=_0x36f63a;let _0x445349=_0x1bd777?_0x4b276a['fields'][_0x1bd777]:null;return _0x445349?[_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x537)],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x36d)],_0x26cf17[_0x247bcf(0x22d)]['Rating'],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x386)],_0x26cf17[_0x247bcf(0x22d)]['Group'],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x428)]][_0x247bcf(0x358)](_0x445349[_0x247bcf(0x5d6)]):!0x1;}function _0x57fff5(_0xf6a5ee,_0x1e5ff4){const _0x1c5b2b=_0x36f63a;return{'id':_0x1c5b2b(0x2d8)+(0x0,_0x26cf17[_0x1c5b2b(0x5af)])(0x8),'name':_0x415bdf(_0xf6a5ee,_0x1c5b2b(0x3d5),_0x1e5ff4),'type':_0x26cf17['BaseFieldType']['SingleSelect'],'config':_0x26cf17['Tools'][_0x1c5b2b(0x269)](_0xe17331)};}function _0x1dc6e7(_0x10f073){const _0x11e815=_0x36f63a;return Object[_0x11e815(0x40d)](_0x10f073[_0x11e815(0x4cc)]??{})[_0x11e815(0x4cd)]===0x0&&Object[_0x11e815(0x40d)](_0x10f073[_0x11e815(0x47f)]??{})[_0x11e815(0x4cd)]===0x0;}function _0x3ee0e0(_0x444935,_0x1179c9,_0xeefd43){const _0x33271a=_0x36f63a;let _0x1f6263={..._0x1179c9['config']??{}},_0x1c4e5a=_0xeefd43[_0x33271a(0x4a5)](_0x2569a8=>_0x2569a8['id']),_0x5712bc=[..._0x444935[_0x33271a(0x1b2)],..._0x1c4e5a],_0x5386d8=typeof _0x1f6263[_0x33271a(0x3c2)]==_0x33271a(0x4c8)&&_0xf9bdd8(_0x444935,_0xeefd43,_0x1f6263[_0x33271a(0x3c2)])?_0x1f6263[_0x33271a(0x3c2)]:_0x444935['primaryFieldId'],_0x3635df=typeof _0x1f6263[_0x33271a(0x395)]=='string'?_0x1f6263[_0x33271a(0x395)]:'',_0x286434=typeof _0x1f6263[_0x33271a(0x552)]==_0x33271a(0x4c8)?_0x1f6263[_0x33271a(0x552)]:_0x3635df,_0x4b3468=new Set([_0x5386d8,_0x3635df,_0x286434]['filter'](_0x3694da=>_0x3694da&&_0xf9bdd8(_0x444935,_0xeefd43,_0x3694da))),_0x42107a=Object[_0x33271a(0x60c)](_0x5712bc[_0x33271a(0x35a)](_0x4cde32=>_0x4b3468[_0x33271a(0x2fa)](_0x4cde32)||!_0xf9bdd8(_0x444935,_0xeefd43,_0x4cde32)?[]:[[_0x4cde32,{'hidden':!0x0}]]));return{..._0x1179c9,'config':{..._0x1f6263,'titleFieldId':_0x5386d8},'fieldSettings':_0x42107a};}function _0xf9bdd8(_0x4826e2,_0x39d096,_0x4acdca){const _0x5ba324=_0x36f63a;return!!(_0x4826e2[_0x5ba324(0x458)][_0x4acdca]??_0x39d096[_0x5ba324(0x396)](_0x1ea6a7=>_0x1ea6a7['id']===_0x4acdca))&&!0x0;}function _0x123673(_0x148207,_0x23afef){const _0xea8a56=_0x36f63a;let _0x34b4fa=_0x23afef?_0x148207[_0xea8a56(0x458)][_0x23afef]:null;return!!_0x34b4fa&&_0x34b4fa[_0xea8a56(0x5d6)]===_0x26cf17[_0xea8a56(0x22d)][_0xea8a56(0x1be)]&&_0x34b4fa[_0xea8a56(0x4e5)]!==!0x0&&_0x34b4fa['system']!==!0x0;}function _0x39059f(_0x42af5a,_0x55fb74,_0x544cd1){const _0xa4dd5d=_0x36f63a;let _0x139460=new Set([...Object[_0xa4dd5d(0x40d)](_0x42af5a[_0xa4dd5d(0x458)]),..._0x55fb74[_0xa4dd5d(0x4a5)](_0x3e4c19=>_0x3e4c19['id'])]),_0x327317=_0xa4dd5d(0x2d8)+(0x0,_0x26cf17['generateRandomId'])(0x8);for(;_0x139460[_0xa4dd5d(0x2fa)](_0x327317);)_0x327317=_0xa4dd5d(0x2d8)+(0x0,_0x26cf17[_0xa4dd5d(0x5af)])(0x8);return{'id':_0x327317,'name':_0x415bdf(_0x42af5a,_0x544cd1,_0x55fb74),'type':_0x26cf17[_0xa4dd5d(0x22d)]['Date'],'config':{..._0x4fe696}};}let _0x573f6f={'id':_0x36f63a(0x46b),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xc7c486,_0x29292c)=>{const _0x2f74e8=_0x36f63a;if(!_0x29292c)return!0x1;let _0x4a3704=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x4a8)]),{unitId:_0x8cca13,tableId:_0x2d0759,view:_0x87d33d,index:_0x298ebc}=_0x29292c,_0xc70b94=_0x4a3704[_0x2f74e8(0x2e3)](_0x8cca13,_0x26cf17[_0x2f74e8(0x1ef)]['UNIVER_BASE']);if(!_0xc70b94||!_0x4cb030(_0xc70b94,_0x2d0759)||_0xc70b94[_0x2f74e8(0x509)]()['tables'][_0x2d0759][_0x2f74e8(0x3d8)][_0x87d33d['id']])return!0x1;let _0x370317=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x2d3)]),_0x1ed1a7=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x501)]),_0x28c8ce=_0xc70b94[_0x2f74e8(0x509)](),_0x39ae04=_0xec0948(_0x28c8ce,_0x2d0759,_0x87d33d,_0x298ebc),_0x5731ff=new _0x5070bf()[_0x2f74e8(0x3ad)](_0x28c8ce,_0x39ae04),_0x229c91={'historyAction':_0x2f74e8(0x583),'unitId':_0x8cca13,'op':_0x39ae04,'viewType':_0x87d33d[_0x2f74e8(0x5d6)]},_0x194ed3={'historyAction':_0x2f74e8(0x1e8),'unitId':_0x8cca13,'op':_0x5731ff,'viewType':_0x87d33d['type']};return _0x370317[_0x2f74e8(0x234)](_0x22dd4d['id'],_0x229c91)?(_0x4a3704[_0x2f74e8(0x542)](_0x8cca13),_0x1ed1a7['pushUndoRedo']({'unitID':_0x8cca13,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x194ed3}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x229c91}]}),!0x0):!0x1;}},_0x4de029={'id':_0x36f63a(0x53e),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler'(_0x5de124,_0x29a254){const _0x4ba319=_0x36f63a;if(!_0x29a254)return!0x1;let _0x349011=_0x5de124['get'](_0x26cf17[_0x4ba319(0x4a8)]),{unitId:_0x462f54,tableId:_0x247896,fieldId:_0x4ee9ae}=_0x29a254,_0x48dec4=_0x349011['getUnit'](_0x462f54,_0x26cf17['UniverInstanceType'][_0x4ba319(0x440)]);if(!_0x48dec4)return!0x1;let _0x15b345=_0x48dec4[_0x4ba319(0x509)](),_0x5ba80c=_0x15b345[_0x4ba319(0x594)][_0x247896];if(!_0x4cb030(_0x48dec4,_0x247896,{'fieldIds':[_0x4ee9ae]})||_0x5ba80c['primaryFieldId']===_0x4ee9ae||_0x4ee9ae===_0x26cf17[_0x4ba319(0x478)])return!0x1;let _0x1d6b98=_0x5de124[_0x4ba319(0x558)](_0x26cf17['ICommandService']),_0x45ba3f=_0x5de124[_0x4ba319(0x558)](_0x26cf17[_0x4ba319(0x501)]),_0x1bc8f1=new _0x3c2e91()[_0x4ba319(0x4e9)](_0x15b345,_0x247896,_0x4ee9ae),_0x393b3f=new _0x5070bf()[_0x4ba319(0x3ad)](_0x15b345,_0x1bc8f1),_0x48625a={'unitId':_0x462f54,'op':_0x1bc8f1},_0x27ccc0={'unitId':_0x462f54,'op':_0x393b3f};return _0x1d6b98[_0x4ba319(0x234)](_0x22dd4d['id'],_0x48625a)?(_0x349011[_0x4ba319(0x542)](_0x462f54),_0x45ba3f['pushUndoRedo']({'unitID':_0x462f54,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x27ccc0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x48625a}]}),!0x0):!0x1;}},_0x447b1b={'id':_0x36f63a(0x228),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x33608e,_0x8ddb0f)=>{const _0x484791=_0x36f63a;if(!_0x8ddb0f)return!0x1;let _0xec0460=_0x33608e['get'](_0x26cf17['IUniverInstanceService']),{unitId:_0x637bf5,tableId:_0xc18dc,recordId:_0x133ac6}=_0x8ddb0f,_0x678b4c=_0xec0460[_0x484791(0x2e3)](_0x637bf5,_0x26cf17[_0x484791(0x1ef)]['UNIVER_BASE']);if(!_0x678b4c||!_0x4cb030(_0x678b4c,_0xc18dc,{'recordIds':[_0x133ac6]}))return!0x1;let _0x1713ad=_0x33608e['get'](_0x26cf17[_0x484791(0x2d3)]),_0x470cbc=_0x33608e['get'](_0x26cf17[_0x484791(0x501)]),_0x4a8dad=_0x678b4c[_0x484791(0x509)](),_0x4edcc0=_0x4665b4(_0x4a8dad[_0x484791(0x594)][_0xc18dc],[_0x133ac6]),_0x301e0e=new _0x3c2e91(),_0x57db82=new _0x5070bf(),_0x598157=_0x301e0e[_0x484791(0x255)](_0x4a8dad,_0xc18dc,_0x133ac6),_0x13a05d=_0x57db82[_0x484791(0x4ad)](_0x4a8dad,_0x598157),_0x1ff510=_0x301e0e[_0x484791(0x2dc)](_0x4a8dad,_0x13a05d,_0xc18dc,[_0x133ac6]),_0x2a3def={'unitId':_0x637bf5,'op':_0x598157,'hierarchyChanges':_0x4edcc0,'source':_0x8ddb0f['source']??'ui'},_0xd98e20={..._0x2a3def,'source':_0x484791(0x265)},_0x278453={'unitId':_0x637bf5,'op':_0x1ff510,'hierarchyChanges':_0x4edcc0['map'](_0x26afdc=>({..._0x26afdc,'oldParentRecordId':_0x26afdc[_0x484791(0x283)],'parentRecordId':_0x26afdc[_0x484791(0x369)]})),'source':_0x484791(0x19e)};return _0x1713ad[_0x484791(0x234)](_0x22dd4d['id'],_0x2a3def)?(_0xec0460[_0x484791(0x542)](_0x637bf5),_0x470cbc[_0x484791(0x581)]({'unitID':_0x637bf5,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x278453}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xd98e20}]}),!0x0):!0x1;}},_0x7cfb9={'id':_0x36f63a(0x536),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x1c5b00,_0x5708f5)=>{const _0x1a009d=_0x36f63a;if(!_0x5708f5)return!0x1;let _0x561977=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x4a8)]),{unitId:_0x12a165,tableId:_0x32da7c}=_0x5708f5,_0x35b0ef=_0x561977[_0x1a009d(0x2e3)](_0x12a165,_0x26cf17[_0x1a009d(0x1ef)][_0x1a009d(0x440)]);if(!_0x35b0ef||!_0x4cb030(_0x35b0ef,_0x32da7c))return!0x1;let _0x4ea3fb=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x2d3)]),_0x3dc141=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x501)]),_0x1d7c0d=_0x35b0ef[_0x1a009d(0x509)](),_0x2a7ecf=_0x283ed9(_0x1d7c0d,_0x32da7c);if(_0x2a7ecf[_0x1a009d(0x4cd)]>0x0)return console[_0x1a009d(0x2ce)](_0x1a009d(0x56a)+_0x32da7c+_0x1a009d(0x3fe)+_0x2a7ecf[_0x1a009d(0x4a5)](_0x2ecc69=>_0x2ecc69[_0x1a009d(0x353)]+'.'+_0x2ecc69['fieldId'])['join'](',\x20')+'.'),!0x1;let _0x1193c8=new _0x3c2e91()['deleteTable'](_0x1d7c0d,_0x32da7c),_0x289b9f=new _0x5070bf()[_0x1a009d(0x3ad)](_0x1d7c0d,_0x1193c8),_0x370234={'unitId':_0x12a165,'op':_0x1193c8},_0x4cd326={'unitId':_0x12a165,'op':_0x289b9f};return _0x4ea3fb['syncExecuteCommand'](_0x22dd4d['id'],_0x370234)?(_0x561977[_0x1a009d(0x542)](_0x12a165),_0x3dc141['pushUndoRedo']({'unitID':_0x12a165,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4cd326}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x370234}]}),!0x0):!0x1;}},_0x447566={'id':_0x36f63a(0x3f4),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x31ef08,_0x4c01ab)=>{const _0x5a1599=_0x36f63a;if(!_0x4c01ab)return!0x1;let _0x956346=_0x31ef08[_0x5a1599(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x4b136c,tableId:_0xc4e3ff,viewId:_0x2a44c8}=_0x4c01ab,_0x5b7435=_0x956346['getUnit'](_0x4b136c,_0x26cf17[_0x5a1599(0x1ef)]['UNIVER_BASE']);if(!_0x5b7435||!_0x4cb030(_0x5b7435,_0xc4e3ff,{'viewIds':[_0x2a44c8]}))return!0x1;let _0x3e6704=_0x31ef08[_0x5a1599(0x558)](_0x26cf17[_0x5a1599(0x2d3)]),_0x173807=_0x31ef08[_0x5a1599(0x558)](_0x26cf17[_0x5a1599(0x501)]),_0x3bbe34=_0x5b7435[_0x5a1599(0x509)](),_0x1e060f=_0x3bbe34[_0x5a1599(0x594)][_0xc4e3ff][_0x5a1599(0x3d8)][_0x2a44c8][_0x5a1599(0x5d6)],_0x2628d4=new _0x3c2e91()[_0x5a1599(0x574)](_0x3bbe34,_0xc4e3ff,_0x2a44c8),_0xa961e2=new _0x5070bf()['invertOp'](_0x3bbe34,_0x2628d4),_0x17e183={'historyAction':_0x5a1599(0x1e8),'unitId':_0x4b136c,'op':_0x2628d4,'viewType':_0x1e060f},_0x4bfd41={'historyAction':_0x5a1599(0x583),'unitId':_0x4b136c,'op':_0xa961e2,'viewType':_0x1e060f};return _0x3e6704[_0x5a1599(0x234)](_0x22dd4d['id'],_0x17e183)?(_0x956346[_0x5a1599(0x542)](_0x4b136c),_0x173807['pushUndoRedo']({'unitID':_0x4b136c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4bfd41}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x17e183}]}),!0x0):!0x1;}},_0x4a7d2b={'id':_0x36f63a(0x3ba),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x1d508d,_0x36667a)=>{const _0x9a26ac=_0x36f63a;if(!_0x36667a)return!0x1;let _0x487a22=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x4a8)]),{unitId:_0x520988,tableId:_0x2fe6df,sourceFieldId:_0x3566e1,field:_0x343052,index:_0x5dcd77,viewIndexes:_0x490869}=_0x36667a,_0x498de3=_0x487a22[_0x9a26ac(0x2e3)](_0x520988,_0x26cf17[_0x9a26ac(0x1ef)][_0x9a26ac(0x440)]);if(!_0x498de3||!_0x4cb030(_0x498de3,_0x2fe6df,{'fieldIds':[_0x3566e1]})||_0x3566e1===_0x26cf17[_0x9a26ac(0x478)]||_0x498de3['getSnapshot']()['tables'][_0x2fe6df]['fields'][_0x343052['id']]||_0x5dcd77===0x0||!_0x1e8b5f(_0x498de3,_0x2fe6df,_0x343052))return!0x1;let _0x1d3df4=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x2d3)]),_0x2882cf=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x501)]),_0x2f8d69=_0x498de3[_0x9a26ac(0x509)](),_0x145f08=new _0x3c2e91()[_0x9a26ac(0x1ee)](_0x2f8d69,_0x2fe6df,_0x3566e1,{'field':_0x343052,'index':_0x5dcd77,'viewIndexes':_0x490869}),_0x7c90f4=new _0x5070bf()[_0x9a26ac(0x3ad)](_0x2f8d69,_0x145f08),_0x49367b={'unitId':_0x520988,'op':_0x145f08},_0xd47a3b={'unitId':_0x520988,'op':_0x7c90f4};return _0x1d3df4[_0x9a26ac(0x234)](_0x22dd4d['id'],_0x49367b)?(_0x487a22[_0x9a26ac(0x542)](_0x520988),_0x2882cf[_0x9a26ac(0x581)]({'unitID':_0x520988,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0xd47a3b}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x49367b}]}),!0x0):!0x1;}},_0x434ddb={'id':_0x36f63a(0x21c),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x2c5ac3,_0xfc56ea)=>{const _0x3ac5ce=_0x36f63a;if(!_0xfc56ea)return!0x1;let _0x5181fb=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17[_0x3ac5ce(0x4a8)]),{unitId:_0xb71798,tableId:_0xd1c2fa,sourceRecordId:_0x5d2182,record:_0x597e38}=_0xfc56ea,_0x224b62=_0x5181fb[_0x3ac5ce(0x2e3)](_0xb71798,_0x26cf17[_0x3ac5ce(0x1ef)][_0x3ac5ce(0x440)]);if(!_0x224b62||!_0x4cb030(_0x224b62,_0xd1c2fa,{'recordIds':[_0x5d2182]})||!_0x5761a0(_0x224b62,_0xd1c2fa,_0x597e38))return!0x1;let _0x2f8824=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17[_0x3ac5ce(0x2d3)]),_0x21ae05=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17['IUndoRedoService']),_0x5a8efc=_0x224b62[_0x3ac5ce(0x509)](),_0x34f840=_0x55a214(_0x597e38),_0x37c0c3=_0x298dba(_0x5a8efc[_0x3ac5ce(0x594)][_0xd1c2fa],[_0x34f840]),_0x5df6ad=new _0x3c2e91()['duplicateRecord'](_0x5a8efc,_0xd1c2fa,_0x5d2182,_0x34f840),_0xe06d48=new _0x5070bf()['invertOp'](_0x5a8efc,_0x5df6ad),_0x2ebe37={'unitId':_0xb71798,'op':_0x5df6ad,'hierarchyChanges':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x37c0c3:void 0x0,'source':_0x37c0c3['length']?_0xfc56ea[_0x3ac5ce(0x31b)]??'ui':void 0x0},_0x2831e4={..._0x2ebe37,'source':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x3ac5ce(0x265):void 0x0},_0x205a7c={'unitId':_0xb71798,'op':_0xe06d48,'hierarchyChanges':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x37c0c3[_0x3ac5ce(0x4a5)](_0x148486=>({..._0x148486,'oldParentRecordId':_0x148486[_0x3ac5ce(0x283)],'parentRecordId':null})):void 0x0,'source':_0x37c0c3['length']?_0x3ac5ce(0x19e):void 0x0};return _0x2f8824[_0x3ac5ce(0x234)](_0x22dd4d['id'],_0x2ebe37)?(_0x5181fb[_0x3ac5ce(0x542)](_0xb71798),_0x21ae05[_0x3ac5ce(0x581)]({'unitID':_0xb71798,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x205a7c}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x2831e4}]}),!0x0):!0x1;}},_0x310dd6={'id':_0x36f63a(0x1e5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x2ea552,_0xd43349){const _0x348de2=_0x36f63a;if(!_0xd43349)return!0x1;let _0x4c1c3c=_0x2ea552[_0x348de2(0x558)](_0x26cf17[_0x348de2(0x4a8)]),{unitId:_0x4b3d30,tableId:_0x5de061,viewId:_0x2deb02,ensureEndDateField:_0x51dd9c}=_0xd43349,_0x53dd45=_0x4c1c3c[_0x348de2(0x2e3)](_0x4b3d30,_0x26cf17[_0x348de2(0x1ef)][_0x348de2(0x440)]);if(!_0x53dd45||!_0x4cb030(_0x53dd45,_0x5de061,{'viewIds':[_0x2deb02]}))return!0x1;let _0x22b3ee=_0x53dd45['getSnapshot'](),_0x1c9583=_0x22b3ee[_0x348de2(0x594)][_0x5de061],_0x1a6944=_0x1c9583==null?void 0x0:_0x1c9583['views'][_0x2deb02];if(!_0x1c9583||!_0x1a6944||_0x1a6944['type']!==_0x348de2(0x302)&&_0x1a6944[_0x348de2(0x5d6)]!=='gantt')return!0x1;let _0x4fa5b2=_0x3ef9a8(_0x1c9583,_0x1a6944,_0x51dd9c===!0x0);if(!_0x4fa5b2[_0x348de2(0x379)])return!0x1;let _0x360cfa=_0x2ea552['get'](_0x26cf17[_0x348de2(0x2d3)]),_0x56b482=_0x2ea552[_0x348de2(0x558)](_0x26cf17[_0x348de2(0x501)]),_0x25c0ef=new _0x3c2e91(),_0x44f882=[..._0x4fa5b2['fields'][_0x348de2(0x4a5)](_0x1e49e5=>_0x25c0ef['createField'](_0x22b3ee,_0xd43349[_0x348de2(0x353)],{'field':_0x1e49e5})),_0x2defc2([..._0x1a83b9(_0xd43349[_0x348de2(0x353)],_0xd43349[_0x348de2(0x297)]),_0x348de2(0x4cc)],_0x1a6944[_0x348de2(0x4cc)],_0x4fa5b2['config'])];_0x4fa5b2['fieldOrder']&&_0x44f882['push'](_0x2defc2([..._0x1a83b9(_0xd43349[_0x348de2(0x353)],_0xd43349['viewId']),_0x348de2(0x1b2)],_0x1a6944['fieldOrder'],_0x4fa5b2[_0x348de2(0x1b2)]));let _0x1e8d41=_0x396f18(_0x44f882),_0x23d639=new _0x5070bf()[_0x348de2(0x3ad)](_0x22b3ee,_0x1e8d41),_0x4dceda={'unitId':_0x4b3d30,'op':_0x1e8d41},_0x2f7203={'unitId':_0x4b3d30,'op':_0x23d639};return _0x360cfa[_0x348de2(0x234)](_0x22dd4d['id'],_0x4dceda)?(_0x4c1c3c[_0x348de2(0x542)](_0x4b3d30),_0x56b482[_0x348de2(0x581)]({'unitID':_0x4b3d30,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x2f7203}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4dceda}]}),!0x0):!0x1;}};function _0x2defc2(_0x20f64f,_0x26dfad,_0xc73f2c){const _0x4bb49b=_0x36f63a;return _0x26dfad===void 0x0?_0x26cf17[_0x4bb49b(0x2a4)][_0x4bb49b(0x4b1)](_0x20f64f,_0xc73f2c):_0x26cf17[_0x4bb49b(0x2a4)]['replaceOp'](_0x20f64f,_0x26dfad,_0xc73f2c);}function _0x1a83b9(_0x4a4369,_0x57676c){const _0x150928=_0x36f63a;return[_0x150928(0x594),_0x4a4369,'views',_0x57676c];}let _0x1d821e={'id':_0x36f63a(0x55e),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x23589f,_0x332e61)=>{const _0x5abc27=_0x36f63a;if(!_0x332e61)return!0x1;let _0x76f514=_0x23589f[_0x5abc27(0x558)](_0x26cf17[_0x5abc27(0x4a8)]),{unitId:_0x33977c,tableId:_0x43c143,fieldId:_0x206d03,target:_0x591d68}=_0x332e61,_0x278ef5=_0x76f514[_0x5abc27(0x2e3)](_0x33977c,_0x26cf17[_0x5abc27(0x1ef)][_0x5abc27(0x440)]),_0x222992=_0x591d68[_0x5abc27(0x3bd)]??_0x591d68[_0x5abc27(0x566)];if(!_0x278ef5||!!_0x591d68[_0x5abc27(0x3bd)]==!!_0x591d68['afterFieldId']||!_0x222992||_0x222992===_0x206d03||_0x206d03===_0x26cf17[_0x5abc27(0x478)]||_0x591d68[_0x5abc27(0x3bd)]===_0x26cf17[_0x5abc27(0x478)]||!_0x4cb030(_0x278ef5,_0x43c143,{'fieldIds':[_0x206d03,_0x222992]}))return!0x1;let _0x3f4612=_0x23589f[_0x5abc27(0x558)](_0x26cf17['ICommandService']),_0x5bb150=_0x23589f['get'](_0x26cf17['IUndoRedoService']),_0xb8ac30=_0x278ef5[_0x5abc27(0x509)](),_0x2f5483=new _0x3c2e91()['moveField'](_0xb8ac30,_0x43c143,_0x206d03,_0x591d68),_0x43fa31=new _0x5070bf()[_0x5abc27(0x3ad)](_0xb8ac30,_0x2f5483),_0x306bd2={'unitId':_0x33977c,'op':_0x2f5483},_0x415cd6={'unitId':_0x33977c,'op':_0x43fa31};return _0x3f4612[_0x5abc27(0x234)](_0x22dd4d['id'],_0x306bd2)?(_0x76f514[_0x5abc27(0x542)](_0x33977c),_0x5bb150['pushUndoRedo']({'unitID':_0x33977c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x415cd6}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x306bd2}]}),!0x0):!0x1;}},_0x29aa48={'id':_0x36f63a(0x3e9),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x43a77b,_0x387e73)=>{const _0x599e6d=_0x36f63a;var _0x461208;if(!_0x387e73)return!0x1;let {unitId:_0x473d63,tableId:_0x2fc06a,recordId:_0x4730c4,parentRecordId:_0x5ffcab,orderKey:_0x1aad03}=_0x387e73,_0x10260d=_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x4a8)]),_0xce4cea=_0x10260d[_0x599e6d(0x2e3)](_0x473d63,_0x26cf17['UniverInstanceType'][_0x599e6d(0x440)]);if(!_0xce4cea||!_0x4cb030(_0xce4cea,_0x2fc06a,{'recordIds':[_0x4730c4,..._0x5ffcab?[_0x5ffcab]:[]]}))throw new _0x3763ee(_0x599e6d(0x333));let _0x2efb13=_0xce4cea['getSnapshot'](),_0x3ba956=_0x2efb13[_0x599e6d(0x594)][_0x2fc06a],_0x11b483=_0x126b6c(_0x3ba956),_0x359c79=_0x11b483??_0x387e73[_0x599e6d(0x39c)]??_0xcff95d(_0x3ba956);if(_0x11b483&&_0x387e73['fieldId']&&_0x387e73[_0x599e6d(0x39c)]!==_0x11b483||_0x3ba956[_0x599e6d(0x458)][_0x359c79]&&!_0x2e8fb1(_0x3ba956,_0x359c79))throw new _0x3763ee(_0x599e6d(0x39b));let _0x1e029=_0x17cc3f(_0x3ba956,_0x359c79),_0x44b7c3=_0xc17f5a(_0x1e029,_0x4730c4,_0x5ffcab);if(!_0x44b7c3[_0x599e6d(0x50f)])throw new _0x3763ee(_0x44b7c3['reason']===_0x26cf17[_0x599e6d(0x23e)]['SelfParent']?'selfParent':_0x44b7c3['reason']===_0x26cf17[_0x599e6d(0x23e)][_0x599e6d(0x425)]?_0x599e6d(0x38c):_0x599e6d(0x2af));let _0x56304a=_0x1e029[_0x599e6d(0x35e)][_0x599e6d(0x558)](_0x4730c4)??null,_0x2a5cb3=_0x3ba956[_0x599e6d(0x4c9)][_0x4730c4][_0x599e6d(0x58c)];if(_0x56304a===_0x5ffcab&&(_0x1aad03===void 0x0||_0x1aad03===_0x2a5cb3))return!0x0;let _0x428d31=_0x56304a!==_0x5ffcab,_0x11e339=_0x1aad03!==void 0x0&&_0x1aad03!==_0x2a5cb3,_0xe1d6cf=new _0x3c2e91(),_0x211843=[],_0x5f48b3=_0x3ba956[_0x599e6d(0x458)][_0x359c79],_0x38ec54=_0x428d31&&(!_0x5f48b3||((_0x461208=_0x3caba0(_0x5f48b3))==null?void 0x0:_0x461208['relationRole'])!==_0x26cf17[_0x599e6d(0x487)][_0x599e6d(0x1cc)])?_0x5f48b3?_0xe1d6cf[_0x599e6d(0x4f8)](_0x2efb13,_0x2fc06a,_0x359c79,{'config':{..._0x5f48b3['config'],'relationRole':_0x26cf17[_0x599e6d(0x487)]['Parent']}}):_0x43a77b[_0x599e6d(0x558)](_0x10f260)['createCreateFieldOp'](_0xce4cea,_0x2fc06a,_0x39e357(_0x3ba956,_0x359c79,_0x387e73[_0x599e6d(0x365)]),_0x3ba956[_0x599e6d(0x1b2)]['length']):null;_0x38ec54&&_0x211843[_0x599e6d(0x605)](_0x38ec54),_0x428d31&&_0x211843[_0x599e6d(0x605)](_0xe1d6cf['updateCell'](_0x2efb13,_0x2fc06a,_0x4730c4,_0x359c79,_0x5ffcab?_0x1bd71a([_0x5ffcab]):'')),_0x11e339&&_0x211843[_0x599e6d(0x605)](_0xe1d6cf[_0x599e6d(0x5bb)](_0x2efb13,_0x2fc06a,_0x4730c4,_0x1aad03));let _0x3af90b=_0x396f18(_0x211843),_0x45ffbf={'tableId':_0x2fc06a,'fieldId':_0x359c79,'recordId':_0x4730c4,'oldParentRecordId':_0x56304a,'parentRecordId':_0x5ffcab},_0x2002dd={'unitId':_0x473d63,'op':_0x3af90b,'trigger':_0x29aa48['id'],'hierarchyChanges':[_0x45ffbf],'source':_0x387e73[_0x599e6d(0x31b)]??'ui'},_0xc0e407={..._0x2002dd,'source':'redo'};if(!_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x2d3)])[_0x599e6d(0x234)](_0x22dd4d['id'],_0x2002dd))return!0x1;let _0x41bb7b=_0xce4cea['getSnapshot'](),_0x29299d=[];_0x428d31&&_0x29299d[_0x599e6d(0x605)](_0x7c1167(_0x41bb7b,_0x2efb13,_0x2fc06a,_0x4730c4,_0x359c79)),_0x11e339&&_0x29299d[_0x599e6d(0x605)](_0x249c64(_0x41bb7b,_0x2efb13,_0x2fc06a,_0x4730c4)),_0x38ec54&&_0x29299d[_0x599e6d(0x605)](new _0x5070bf()['invertOp'](_0x2efb13,_0x38ec54));let _0x1fe204={'unitId':_0x473d63,'op':_0x396f18(_0x29299d),'trigger':_0x29aa48['id'],'hierarchyChanges':[{..._0x45ffbf,'oldParentRecordId':_0x5ffcab,'parentRecordId':_0x56304a}],'source':_0x599e6d(0x19e)};return _0x10260d[_0x599e6d(0x542)](_0x473d63),_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x501)])[_0x599e6d(0x581)]({'unitID':_0x473d63,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1fe204}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xc0e407}]}),!0x0;}};function _0x7c1167(_0x19699f,_0x28b06d,_0x2e6e40,_0x482606,_0x50ca5f){const _0x496ad0=_0x36f63a;var _0x4bce05,_0x35b7a9,_0x198d33,_0x3de8fc,_0x44b312,_0x425712,_0x5afafd,_0x5e5037;let _0x264267=_0x19699f['tables'][_0x2e6e40],_0x467284=_0x28b06d[_0x496ad0(0x594)][_0x2e6e40],_0x57b89a=(_0x4bce05=_0x264267['rowIndex'])==null?void 0x0:_0x4bce05[_0x482606],_0x1c0594=(_0x35b7a9=_0x264267[_0x496ad0(0x41d)])==null?void 0x0:_0x35b7a9[_0x50ca5f],_0x457f01=(_0x198d33=_0x467284[_0x496ad0(0x5cd)])==null?void 0x0:_0x198d33[_0x482606],_0x2ec634=(_0x3de8fc=_0x467284[_0x496ad0(0x41d)])==null?void 0x0:_0x3de8fc[_0x50ca5f],_0x2a418b=_0x57b89a==null||_0x1c0594==null||(_0x44b312=_0x264267[_0x496ad0(0x61f)])==null||(_0x44b312=_0x44b312[_0x57b89a])==null?void 0x0:_0x44b312[_0x1c0594],_0x599172=_0x457f01==null||_0x2ec634==null||(_0x425712=_0x467284[_0x496ad0(0x61f)])==null||(_0x425712=_0x425712[_0x457f01])==null?void 0x0:_0x425712[_0x2ec634],_0x3a0c77=(_0x5afafd=_0x264267[_0x496ad0(0x4c9)][_0x482606])==null?void 0x0:_0x5afafd['values'][_0x50ca5f],_0x29ec6e=(_0x5e5037=_0x467284['records'][_0x482606])==null?void 0x0:_0x5e5037[_0x496ad0(0x20f)][_0x50ca5f],_0x2a8fa7=[],_0x4a840e=_0x4627f5(_0x57b89a==null||_0x1c0594==null?null:_0x1db9f2['cellData'](_0x2e6e40,_0x57b89a,_0x1c0594),_0x2a418b,_0x599172);_0x4a840e&&_0x2a8fa7[_0x496ad0(0x605)](_0x4a840e);let _0x142544=_0x4627f5(_0x1db9f2[_0x496ad0(0x49d)](_0x2e6e40,_0x482606,_0x50ca5f),_0x3a0c77,_0x29ec6e);return _0x142544&&_0x2a8fa7[_0x496ad0(0x605)](_0x142544),_0x396f18(_0x2a8fa7);}function _0x249c64(_0x45a559,_0x44273d,_0x4071d9,_0x270a86){const _0x164ebb=_0x36f63a;var _0x39eb34,_0xb3373d;let _0x19990d=_0x45a559[_0x164ebb(0x594)][_0x4071d9],_0x5ac4a5=_0x44273d[_0x164ebb(0x594)][_0x4071d9];return _0x396f18([_0x4627f5([..._0x1db9f2[_0x164ebb(0x1b5)](_0x4071d9,_0x270a86),_0x164ebb(0x58c)],(_0x39eb34=_0x19990d[_0x164ebb(0x4c9)][_0x270a86])==null?void 0x0:_0x39eb34[_0x164ebb(0x58c)],(_0xb3373d=_0x5ac4a5[_0x164ebb(0x4c9)][_0x270a86])==null?void 0x0:_0xb3373d[_0x164ebb(0x58c)]),_0x4627f5([..._0x1db9f2['table'](_0x4071d9),_0x164ebb(0x2ba)],_0x19990d[_0x164ebb(0x2ba)],_0x5ac4a5[_0x164ebb(0x2ba)])][_0x164ebb(0x46a)](_0x410c9a=>!!_0x410c9a));}function _0x4627f5(_0x3826cd,_0x28b922,_0x35417f){const _0x47cf6b=_0x36f63a;if(!_0x3826cd||_0x28b922===void 0x0&&_0x35417f===void 0x0)return null;let _0x5b4bf1=_0x26cf17['JSONX']['getInstance']();return _0x35417f===void 0x0?_0x5b4bf1['removeOp'](_0x3826cd,_0x28b922):_0x28b922===void 0x0?_0x5b4bf1[_0x47cf6b(0x4b1)](_0x3826cd,_0x35417f):_0x5b4bf1[_0x47cf6b(0x30d)](_0x3826cd,_0x28b922,_0x35417f);}let _0x4af643={'id':_0x36f63a(0x1ae),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x295bd2,_0x321258)=>{const _0x413ce5=_0x36f63a;if(!_0x321258)return!0x1;let _0x4fc1d0=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x4a8)]),{unitId:_0x571168,tableId:_0x4495e9,viewId:_0x35a7a8,target:_0x50b5db}=_0x321258,_0x28c00b=_0x4fc1d0[_0x413ce5(0x2e3)](_0x571168,_0x26cf17[_0x413ce5(0x1ef)][_0x413ce5(0x440)]),_0x2c6cd7=_0x50b5db[_0x413ce5(0x313)]??_0x50b5db[_0x413ce5(0x58d)];if(!_0x28c00b||!_0x2c6cd7||_0x2c6cd7===_0x35a7a8||!_0x4cb030(_0x28c00b,_0x4495e9,{'viewIds':[_0x35a7a8,_0x2c6cd7]}))return!0x1;let _0x361053=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x2d3)]),_0x85128b=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x501)]),_0xa8996e=_0x28c00b[_0x413ce5(0x509)](),_0x1f3da0=new _0x3c2e91()[_0x413ce5(0x19a)](_0xa8996e,_0x4495e9,_0x35a7a8,_0x50b5db),_0x3e0ea4=new _0x5070bf()[_0x413ce5(0x3ad)](_0xa8996e,_0x1f3da0),_0x3e6052={'unitId':_0x571168,'op':_0x1f3da0},_0x381c11={'unitId':_0x571168,'op':_0x3e0ea4};return _0x361053[_0x413ce5(0x234)](_0x22dd4d['id'],_0x3e6052)?(_0x4fc1d0[_0x413ce5(0x542)](_0x571168),_0x85128b[_0x413ce5(0x581)]({'unitID':_0x571168,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x381c11}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3e6052}]}),!0x0):!0x1;}},_0x15e0f4={'id':_0x36f63a(0x2db),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xeb57fe,_0x12a161)=>{const _0x12c4f0=_0x36f63a;if(!_0x12a161)return!0x1;let _0x435b36=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17[_0x12c4f0(0x4a8)]),{unitId:_0x2895ec,tableId:_0x23c081,name:_0x557e85}=_0x12a161,_0x229652=_0x435b36[_0x12c4f0(0x2e3)](_0x2895ec,_0x26cf17[_0x12c4f0(0x1ef)]['UNIVER_BASE']);if(!_0x229652||!_0x4cb030(_0x229652,_0x23c081)||!_0x41dc3d(_0x229652[_0x12c4f0(0x509)](),_0x557e85,_0x23c081)['valid'])return!0x1;let _0x537dd2=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17['ICommandService']),_0x5729a7=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17[_0x12c4f0(0x501)]),_0x310e8f=_0x229652['getSnapshot'](),_0x33a400=new _0x3c2e91()[_0x12c4f0(0x437)](_0x310e8f,_0x23c081,_0x557e85),_0x13b9c3=new _0x5070bf()['invertOp'](_0x310e8f,_0x33a400),_0x192625={'unitId':_0x2895ec,'op':_0x33a400},_0x1eb6ef={'unitId':_0x2895ec,'op':_0x13b9c3};return _0x537dd2['syncExecuteCommand'](_0x22dd4d['id'],_0x192625)?(_0x435b36['focusUnit'](_0x2895ec),_0x5729a7[_0x12c4f0(0x581)]({'unitID':_0x2895ec,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1eb6ef}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x192625}]}),!0x0):!0x1;}},_0x14a5ec={'id':_0x36f63a(0x525),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x2fd6d1,_0x2e76c3)=>{const _0x8f313b=_0x36f63a;if(!_0x2e76c3)return!0x1;let _0x41b36c=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17[_0x8f313b(0x4a8)]),{unitId:_0x6e5e64,tableId:_0x2eb48b,viewId:_0x389aba,name:_0x447fb5}=_0x2e76c3,_0xea5344=_0x41b36c[_0x8f313b(0x2e3)](_0x6e5e64,_0x26cf17['UniverInstanceType'][_0x8f313b(0x440)]);if(!_0xea5344||!_0x4cb030(_0xea5344,_0x2eb48b,{'viewIds':[_0x389aba]}))return!0x1;let _0x2e1c3e=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17[_0x8f313b(0x2d3)]),_0x35af10=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17['IUndoRedoService']),_0x31aad8=_0xea5344[_0x8f313b(0x509)](),_0x165e82=new _0x3c2e91()[_0x8f313b(0x206)](_0x31aad8,_0x2eb48b,_0x389aba,_0x447fb5),_0xc1771c=new _0x5070bf()[_0x8f313b(0x3ad)](_0x31aad8,_0x165e82),_0x4192c8={'unitId':_0x6e5e64,'op':_0x165e82},_0x4ed1cd={'unitId':_0x6e5e64,'op':_0xc1771c};return _0x2e1c3e[_0x8f313b(0x234)](_0x22dd4d['id'],_0x4192c8)?(_0x41b36c[_0x8f313b(0x542)](_0x6e5e64),_0x35af10[_0x8f313b(0x581)]({'unitID':_0x6e5e64,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4ed1cd}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4192c8}]}),!0x0):!0x1;}},_0x393c61={'id':'base.command.set-base-kanban-group-field','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x4c8383,_0x19cf1e)=>{const _0x2053d1=_0x36f63a;if(!_0x19cf1e)return!0x1;let _0x4bab79=_0x4c8383['get'](_0x26cf17[_0x2053d1(0x4a8)]),{unitId:_0x33b860,tableId:_0x5ae78e,viewId:_0x4e6d05,fieldId:_0x119030}=_0x19cf1e,_0x377328=_0x4bab79['getUnit'](_0x33b860,_0x26cf17[_0x2053d1(0x1ef)][_0x2053d1(0x440)]);if(!_0x377328||!_0x4cb030(_0x377328,_0x5ae78e,{'viewIds':[_0x4e6d05],'fieldIds':[_0x119030]}))return!0x1;let _0x4b8b94=_0x4c8383['get'](_0x26cf17['ICommandService']),_0x526c87=_0x4c8383[_0x2053d1(0x558)](_0x26cf17['IUndoRedoService']),_0x158ca3=_0x377328['getSnapshot'](),_0x31cdf2=new _0x3c2e91()[_0x2053d1(0x52e)](_0x158ca3,_0x5ae78e,_0x4e6d05,{'groupFieldId':_0x119030}),_0x487ef8=new _0x5070bf()[_0x2053d1(0x3ad)](_0x158ca3,_0x31cdf2),_0x40c434={'unitId':_0x33b860,'op':_0x31cdf2},_0x28ac16={'unitId':_0x33b860,'op':_0x487ef8};return _0x4b8b94['syncExecuteCommand'](_0x22dd4d['id'],_0x40c434)?(_0x4bab79[_0x2053d1(0x542)](_0x33b860),_0x526c87[_0x2053d1(0x581)]({'unitID':_0x33b860,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x28ac16}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x40c434}]}),!0x0):!0x1;}},_0x623a77={'id':_0x36f63a(0x4a7),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xd64149,_0x1e78b1)=>{const _0x20ec83=_0x36f63a;if(!_0x1e78b1)return!0x1;let _0x3db037=_0xd64149['get'](_0x26cf17['IUniverInstanceService']),_0x2f1e6f=_0x3db037[_0x20ec83(0x2e3)](_0x1e78b1[_0x20ec83(0x41e)],_0x26cf17[_0x20ec83(0x1ef)][_0x20ec83(0x440)]);if(!_0x2f1e6f)return!0x1;let _0x22d8fe=_0x2f1e6f['getSnapshot']()['name'];if(_0x22d8fe===_0x1e78b1[_0x20ec83(0x3f8)])return!0x0;let _0xeef8cf=new _0x3c2e91(),_0x1bf8fb=new _0x5070bf(),_0x4d7dff=[],_0x691db2=[],_0x4012be=[_0x2f1e6f,..._0x3db037[_0x20ec83(0x1c0)](_0x26cf17[_0x20ec83(0x1ef)][_0x20ec83(0x440)])[_0x20ec83(0x46a)](_0x39fb9e=>_0x39fb9e[_0x20ec83(0x4f5)]()!==_0x1e78b1[_0x20ec83(0x41e)])];for(let _0x548fc4 of _0x4012be){let _0x1ab86c=_0x548fc4[_0x20ec83(0x509)](),_0x28173d=_0x548fc4===_0x2f1e6f?_0xeef8cf['setBaseName'](_0x1ab86c,_0x1e78b1[_0x20ec83(0x3f8)]):_0xeef8cf[_0x20ec83(0x450)](_0x1ab86c,_0x22d8fe,_0x1e78b1['name']);_0x28173d&&(_0x4d7dff['push']({'id':_0x22dd4d['id'],'params':{'unitId':_0x548fc4[_0x20ec83(0x4f5)](),'op':_0x28173d,'trigger':_0x623a77['id']}}),_0x691db2['unshift']({'id':_0x22dd4d['id'],'params':{'unitId':_0x548fc4[_0x20ec83(0x4f5)](),'op':_0x1bf8fb[_0x20ec83(0x3ad)](_0x1ab86c,_0x28173d),'trigger':_0x623a77['id']}}));}let _0x3a26cb=_0xd64149['get'](_0x26cf17[_0x20ec83(0x2d3)]),_0x34e284=_0xd64149['get'](_0x26cf17[_0x20ec83(0x501)]),_0x50c444=_0x34e284[_0x20ec83(0x554)](_0x1e78b1[_0x20ec83(0x41e)]);try{return(0x0,_0x26cf17[_0x20ec83(0x424)])(_0x4d7dff,_0x3a26cb)[_0x20ec83(0x28f)]?(_0x3db037['focusUnit'](_0x1e78b1['unitId']),_0x34e284[_0x20ec83(0x581)]({'unitID':_0x1e78b1[_0x20ec83(0x41e)],'undoMutations':_0x691db2,'redoMutations':_0x4d7dff}),!0x0):!0x1;}finally{_0x50c444[_0x20ec83(0x3a4)]();}}},_0x144927={'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'id':_0x36f63a(0x29c),async 'handler'(_0x23968a,_0x1cd49e){const _0x348781=_0x36f63a;if(!_0x1cd49e||!_0x46e218[_0x348781(0x358)](_0x1cd49e[_0x348781(0x55c)])||_0x1cd49e['objectId']!==_0x1cd49e['unitId']&&_0x1cd49e[_0x348781(0x55c)]!==_0xf5110d['UnitAction'][_0x348781(0x284)]||_0x1cd49e[_0x348781(0x28a)]&&(![_0x348781(0x1b8),_0x348781(0x329),_0x348781(0x568)][_0x348781(0x358)](_0x1cd49e[_0x348781(0x28a)]['edit'])||_0x1cd49e[_0x348781(0x28a)]['strategies'][_0x348781(0x2c3)](_0x2357e4=>!_0x46e218['includes'](_0x2357e4[_0x348781(0x55c)])||_0x1cd49e[_0x348781(0x452)]!==_0x1cd49e[_0x348781(0x41e)]&&_0x2357e4[_0x348781(0x55c)]!==_0xf5110d[_0x348781(0x5d3)][_0x348781(0x284)])))return!0x1;let _0x4a9cb9=_0x353921(_0x1cd49e[_0x348781(0x41e)],_0x1cd49e[_0x348781(0x452)],_0x1cd49e[_0x348781(0x55c)]),_0x212bd2={'unitId':_0x1cd49e[_0x348781(0x41e)],'objectId':_0x1cd49e['objectId'],'objectType':_0x4a9cb9[_0x348781(0x5d6)]},_0x294517=_0x23968a[_0x348781(0x558)](_0x26cf17[_0x348781(0x27a)]);return _0x1cd49e[_0x348781(0x1dd)]?await _0x294517[_0x348781(0x1dd)](_0x212bd2):_0x1cd49e['policy']?await _0x294517['save'](_0x212bd2,_0x1cd49e[_0x348781(0x28a)]):await _0x294517[_0x348781(0x355)](_0x212bd2,_0x4a9cb9,_0x1cd49e[_0x348781(0x5a4)]),!0x0;}},_0x3937db={'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'id':_0x36f63a(0x3e5),async 'handler'(_0x508a32,_0x31164c){const _0x43d720=_0x36f63a;if(!(_0x31164c!=null&&_0x31164c[_0x43d720(0x41e)])||!Array[_0x43d720(0x2c4)](_0x31164c[_0x43d720(0x467)])||!_0x31164c[_0x43d720(0x467)][_0x43d720(0x4cd)]||_0x31164c[_0x43d720(0x467)]['some'](_0x4afb8b=>!(_0x4afb8b!=null&&_0x4afb8b['objectId'])||_0x4afb8b[_0x43d720(0x452)]===_0x31164c['unitId']||_0x4afb8b['policy']!==null&&(!_0x4afb8b[_0x43d720(0x28a)]||![_0x43d720(0x1b8),'owner',_0x43d720(0x568)][_0x43d720(0x358)](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x1f7)])||!Array[_0x43d720(0x2c4)](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x2e4)])||!Array['isArray'](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x3b4)])||_0x4afb8b[_0x43d720(0x28a)]['strategies'][_0x43d720(0x2c3)](_0x482c7a=>_0x482c7a[_0x43d720(0x55c)]!==_0xf5110d[_0x43d720(0x5d3)][_0x43d720(0x284)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x508a32[_0x43d720(0x558)](_0x26cf17['ObjectPermissionService'])['saveMany'](_0x31164c[_0x43d720(0x467)]['map'](_0x3916ce=>{const _0x22ecdf=_0x43d720;let _0x4f2ab7=_0x353921(_0x31164c[_0x22ecdf(0x41e)],_0x3916ce[_0x22ecdf(0x452)],_0xf5110d['UnitAction'][_0x22ecdf(0x284)]);return{'unitId':_0x31164c[_0x22ecdf(0x41e)],'objectId':_0x3916ce[_0x22ecdf(0x452)],'objectType':_0x4f2ab7['type'],'policy':_0x3916ce['policy']};}));}};function _0x3d520b(_0x304f8e,_0x24387e){const _0x4779b5=_0x36f63a;let _0x487cc4=_0x58de72(_0x26cf17[_0x4779b5(0x3e7)][_0x4779b5(0x269)](_0x304f8e)),_0x61e266=new Map();return _0x24387e[_0x4779b5(0x1bf)](_0x10ada2=>{const _0x3b7f3f=_0x4779b5;var _0x3525ff,_0x5efd84;let _0x27108c=_0x3b7f3f(0x571)in _0x10ada2?_0x10ada2[_0x3b7f3f(0x571)]:(_0x3525ff=_0x487cc4[_0x3b7f3f(0x51d)])==null?void 0x0:_0x3525ff[_0x10ada2[_0x3b7f3f(0x5dd)]],_0x2291a8='fieldId'in _0x10ada2?_0x10ada2[_0x3b7f3f(0x39c)]:(_0x5efd84=_0x487cc4[_0x3b7f3f(0x3e3)])==null?void 0x0:_0x5efd84[_0x10ada2[_0x3b7f3f(0x46c)]],_0x5c3dae=_0x2291a8?_0x487cc4[_0x3b7f3f(0x458)][_0x2291a8]:void 0x0;if(!_0x27108c||!_0x2291a8||!_0x5c3dae||!_0x487cc4['records'][_0x27108c])return;let _0x83afc2=_0x545d9f(_0x10ada2['value'],_0x5c3dae),_0x592df1=_0x1871e5(_0x10ada2['value'],_0x83afc2,_0x5c3dae,_0x487cc4,_0x27108c),_0x48b2e0=_0x61e266[_0x3b7f3f(0x558)](_0x27108c)??{};_0x48b2e0[_0x2291a8]=_0x592df1,_0x61e266['set'](_0x27108c,_0x48b2e0);}),[..._0x61e266][_0x4779b5(0x4a5)](([_0x1f62a4,_0x4761ed])=>({'recordId':_0x1f62a4,'values':_0x4761ed}));}let _0x574186={'id':'base.command.set-base-range-values','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x441b50,_0x40e634){const _0xee408a=_0x36f63a;if(!_0x40e634)return!0x1;let _0x29aef9=_0x441b50[_0xee408a(0x558)](_0x26cf17[_0xee408a(0x4a8)]),{unitId:_0x44f895,tableId:_0x537ce4,patches:_0x84f729}=_0x40e634,_0x56b281=_0x29aef9[_0xee408a(0x2e3)](_0x44f895,_0x26cf17[_0xee408a(0x1ef)]['UNIVER_BASE']);if(!_0x56b281||!_0x4cb030(_0x56b281,_0x537ce4))return!0x1;let _0xf697e4=_0x441b50['get'](_0x26cf17['ICommandService']),_0x3e5a33=_0x441b50['get'](_0x26cf17[_0xee408a(0x501)]),_0x2bede5=_0x56b281[_0xee408a(0x509)](),_0x4876c8=_0x58de72(_0x2bede5[_0xee408a(0x594)][_0x537ce4]),_0x1e82db=_0x84f729[_0xee408a(0x4a5)](_0x4af646=>{const _0x51fd5b=_0xee408a;var _0x432740;return _0x51fd5b(0x571)in _0x4af646?_0x4af646[_0x51fd5b(0x571)]:(_0x432740=_0x4876c8[_0x51fd5b(0x51d)])==null?void 0x0:_0x432740[_0x4af646[_0x51fd5b(0x5dd)]];})[_0xee408a(0x46a)](_0x382d23=>_0x382d23!=null),_0x1d6c3e=_0x84f729[_0xee408a(0x4a5)](_0x16ac5b=>{const _0x3e44a6=_0xee408a;var _0x1b8ddb;return _0x3e44a6(0x39c)in _0x16ac5b?_0x16ac5b[_0x3e44a6(0x39c)]:(_0x1b8ddb=_0x4876c8[_0x3e44a6(0x3e3)])==null?void 0x0:_0x1b8ddb[_0x16ac5b[_0x3e44a6(0x46c)]];})[_0xee408a(0x46a)](_0x2b5570=>_0x2b5570!=null);if(_0x1e82db[_0xee408a(0x4cd)]!==_0x84f729[_0xee408a(0x4cd)]||_0x1d6c3e[_0xee408a(0x4cd)]!==_0x84f729['length']||!_0x4cb030(_0x56b281,_0x537ce4,{'recordIds':_0x1e82db,'fieldIds':_0x1d6c3e})||_0x84f729['some']((_0x29de4b,_0x33f0d4)=>!_0x2ef661(_0x56b281,_0x537ce4,_0x1d6c3e[_0x33f0d4],_0x29de4b[_0xee408a(0x5a4)])))return!0x1;let _0x3bd674=_0x37fba2(_0x4876c8,_0x3d520b(_0x4876c8,_0x84f729)),_0x23f188=_0x84f729[_0xee408a(0x35a)](_0x1cea99=>{const _0x138726=_0xee408a;var _0x793c72,_0x5547a0;if('row'in _0x1cea99)return[_0x1cea99];let _0x4664a7=(_0x793c72=_0x4876c8['rowIndex'])==null?void 0x0:_0x793c72[_0x1cea99[_0x138726(0x571)]],_0xc16167=(_0x5547a0=_0x4876c8[_0x138726(0x41d)])==null?void 0x0:_0x5547a0[_0x1cea99[_0x138726(0x39c)]];return _0x4664a7==null||_0xc16167==null?[]:[{'row':_0x4664a7,'col':_0xc16167,'value':_0x1cea99['value']}];}),_0x774c49=new _0x3c2e91()[_0xee408a(0x4ff)](_0x2bede5,_0x537ce4,_0x23f188),_0x54bc5b=new _0x5070bf()[_0xee408a(0x3ad)](_0x2bede5,_0x774c49),_0x19d63e={'unitId':_0x44f895,'op':_0x774c49,'trigger':_0x3bd674[_0xee408a(0x4cd)]?_0x574186['id']:void 0x0,'hierarchyChanges':_0x3bd674['length']?_0x3bd674:void 0x0,'source':_0x3bd674[_0xee408a(0x4cd)]?_0xee408a(0x265):void 0x0},_0x57677b={'unitId':_0x44f895,'op':_0x54bc5b,'trigger':_0x3bd674['length']?_0x574186['id']:void 0x0,'hierarchyChanges':_0x3bd674[_0xee408a(0x4cd)]?_0x3bd674[_0xee408a(0x4a5)](_0x4eaea8=>({..._0x4eaea8,'oldParentRecordId':_0x4eaea8['parentRecordId'],'parentRecordId':_0x4eaea8['oldParentRecordId']})):void 0x0,'source':_0x3bd674[_0xee408a(0x4cd)]?_0xee408a(0x19e):void 0x0},_0x5d4611={..._0x19d63e,'source':_0x3bd674[_0xee408a(0x4cd)]?_0x40e634[_0xee408a(0x31b)]??'ui':void 0x0};return _0xf697e4[_0xee408a(0x234)](_0x22dd4d['id'],_0x5d4611)?(_0x29aef9[_0xee408a(0x542)](_0x44f895),_0x3e5a33['pushUndoRedo']({'unitID':_0x44f895,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x57677b}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x19d63e}]}),!0x0):!0x1;}},_0x4b47f4={'id':'base.command.set-base-record-values','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x4e8f61,_0x4851a3){const _0x2ffb68=_0x36f63a;if(!_0x4851a3)return!0x1;let _0x1f71a1=_0x4e8f61[_0x2ffb68(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x493146,tableId:_0x59b73b,patches:_0x438131}=_0x4851a3,_0x3b954a=_0x1f71a1[_0x2ffb68(0x2e3)](_0x493146,_0x26cf17[_0x2ffb68(0x1ef)][_0x2ffb68(0x440)]),_0x49e18f=_0x438131['map'](_0x1262a5=>_0x1262a5[_0x2ffb68(0x571)]),_0xfb8792=_0x438131[_0x2ffb68(0x35a)](_0x4f117e=>Object[_0x2ffb68(0x40d)](_0x4f117e[_0x2ffb68(0x20f)]));if(!_0x3b954a||!_0x4cb030(_0x3b954a,_0x59b73b,{'recordIds':_0x49e18f,'fieldIds':_0xfb8792})||_0x438131[_0x2ffb68(0x2c3)](_0x14b183=>Object[_0x2ffb68(0x443)](_0x14b183[_0x2ffb68(0x20f)])[_0x2ffb68(0x2c3)](([_0x1227c8,_0x3acde8])=>!_0x2ef661(_0x3b954a,_0x59b73b,_0x1227c8,_0x3acde8))))return!0x1;let _0x8c45d0=_0x37fba2(_0x3b954a[_0x2ffb68(0x509)]()[_0x2ffb68(0x594)][_0x59b73b],_0x438131),_0x65b256=_0x4e8f61['get'](_0x26cf17[_0x2ffb68(0x2d3)]),_0x5bd515=_0x4e8f61[_0x2ffb68(0x558)](_0x26cf17[_0x2ffb68(0x501)]),_0x9f113d=_0x4e8f61['get'](_0x10f260)[_0x2ffb68(0x3a5)](_0x3b954a,_0x59b73b,_0x438131),_0x1e192c=new _0x5070bf()['invertOp'](_0x3b954a[_0x2ffb68(0x509)](),_0x9f113d),_0x2e115a={'unitId':_0x493146,'op':_0x9f113d,'trigger':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x4b47f4['id']:void 0x0,'hierarchyChanges':_0x8c45d0['length']?_0x8c45d0:void 0x0,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x4851a3['source']??'ui':void 0x0},_0x1d1df1={..._0x2e115a,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x2ffb68(0x265):void 0x0},_0x10c505={'unitId':_0x493146,'op':_0x1e192c,'trigger':_0x8c45d0['length']?_0x4b47f4['id']:void 0x0,'hierarchyChanges':_0x8c45d0['length']?_0x8c45d0[_0x2ffb68(0x4a5)](_0x16127f=>({..._0x16127f,'oldParentRecordId':_0x16127f[_0x2ffb68(0x283)],'parentRecordId':_0x16127f[_0x2ffb68(0x369)]})):void 0x0,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x2ffb68(0x19e):void 0x0};return _0x65b256['syncExecuteCommand'](_0x22dd4d['id'],_0x2e115a)?(_0x1f71a1[_0x2ffb68(0x542)](_0x493146),_0x5bd515[_0x2ffb68(0x581)]({'unitID':_0x493146,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x10c505}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x1d1df1}]}),!0x0):!0x1;}},_0x3eab69={'id':_0x36f63a(0x419),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x30e1d7,_0x41e103)=>{const _0x25f16d=_0x36f63a;if(!_0x41e103)return!0x1;let {unitId:_0x54304d,tableId:_0x36a414,fieldId:_0x15fb8b}=_0x41e103,_0x407594=_0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x4a8)]),_0x36d140=_0x407594[_0x25f16d(0x2e3)](_0x54304d,_0x26cf17['UniverInstanceType'][_0x25f16d(0x440)]);if(!_0x36d140||!_0x4cb030(_0x36d140,_0x36a414))return!0x1;let _0x561ffb=_0x36d140[_0x25f16d(0x509)](),_0x49d8a4=_0x561ffb[_0x25f16d(0x594)][_0x36a414];if(_0x15fb8b!==null&&!_0x2e8fb1(_0x49d8a4,_0x15fb8b))throw new _0x3763ee(_0x25f16d(0x39b));if(_0x126b6c(_0x49d8a4)===_0x15fb8b)return!0x0;let _0x3026e1=new _0x3c2e91(),_0x44fa9d=_0x396f18(Object[_0x25f16d(0x20f)](_0x49d8a4[_0x25f16d(0x458)])[_0x25f16d(0x35a)](_0x4d4624=>{const _0x4aca61=_0x25f16d;if(!_0x2e8fb1(_0x49d8a4,_0x4d4624['id']))return[];let _0x595665=_0x3caba0(_0x4d4624);if(!_0x595665)return[];let _0x102ab4=_0x4d4624['id']===_0x15fb8b;if(_0x595665['relationRole']===_0x26cf17['BaseRecordLinkRole'][_0x4aca61(0x1cc)]===_0x102ab4)return[];let _0x3af8c0={..._0x4d4624[_0x4aca61(0x4cc)],'targetTableId':_0x595665[_0x4aca61(0x54e)],'multiple':_0x595665[_0x4aca61(0x4d4)]};return _0x102ab4?_0x3af8c0[_0x4aca61(0x3a1)]=_0x26cf17['BaseRecordLinkRole']['Parent']:delete _0x3af8c0[_0x4aca61(0x3a1)],[_0x3026e1['updateField'](_0x561ffb,_0x36a414,_0x4d4624['id'],{'config':_0x3af8c0})];})),_0x40f55d=new _0x5070bf()[_0x25f16d(0x3ad)](_0x561ffb,_0x44fa9d),_0x44a72e={'unitId':_0x54304d,'op':_0x44fa9d},_0x429f54={'unitId':_0x54304d,'op':_0x40f55d};return _0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x2d3)])['syncExecuteCommand'](_0x22dd4d['id'],_0x44a72e)?(_0x407594[_0x25f16d(0x542)](_0x54304d),_0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x501)])[_0x25f16d(0x581)]({'unitID':_0x54304d,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x429f54}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x44a72e}]}),!0x0):!0x1;}},_0x3a3911={'id':'base.command.set-base-view-field-order','type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x138d8a,_0x3924e6)=>{const _0x748098=_0x36f63a;if(!_0x3924e6)return!0x1;let _0x129db3=_0x138d8a[_0x748098(0x558)](_0x26cf17[_0x748098(0x4a8)]),{unitId:_0x4c1814,tableId:_0x522dfc,viewId:_0x2fa7d4,fieldId:_0xc72081,target:_0x1e119b}=_0x3924e6,_0x4d6a5f=_0x129db3[_0x748098(0x2e3)](_0x4c1814,_0x26cf17[_0x748098(0x1ef)]['UNIVER_BASE']),_0x565c0c=_0x1e119b[_0x748098(0x3bd)]??_0x1e119b[_0x748098(0x566)];if(!_0x4d6a5f||!_0x565c0c||_0x565c0c===_0xc72081||!_0x4cb030(_0x4d6a5f,_0x522dfc,{'viewIds':[_0x2fa7d4],'fieldIds':[_0xc72081,_0x565c0c]}))return!0x1;let _0x4e6896=_0x4d6a5f[_0x748098(0x509)]()[_0x748098(0x594)][_0x522dfc],_0x4f894e=_0x4e6896[_0x748098(0x458)][_0xc72081],_0x2d4a5d=_0x4e6896['fields'][_0x565c0c];if(_0x4f894e['system']===!0x0||_0x4f894e[_0x748098(0x5d6)]===_0x26cf17['BaseFieldType']['RecordId']||_0x2d4a5d[_0x748098(0x5a9)]===!0x0||_0x2d4a5d[_0x748098(0x5d6)]===_0x26cf17['BaseFieldType'][_0x748098(0x4b5)])return!0x1;let _0x3a03a0=_0x138d8a[_0x748098(0x558)](_0x26cf17['ICommandService']),_0x42c821=_0x138d8a['get'](_0x26cf17[_0x748098(0x501)]),_0x44aa02=_0x4d6a5f['getSnapshot'](),_0xb7ba59=new _0x3c2e91()[_0x748098(0x371)](_0x44aa02,_0x522dfc,_0x2fa7d4,_0xc72081,_0x1e119b),_0x5aae01=new _0x5070bf()[_0x748098(0x3ad)](_0x44aa02,_0xb7ba59),_0x2e9c04={'unitId':_0x4c1814,'op':_0xb7ba59},_0x17eead={'unitId':_0x4c1814,'op':_0x5aae01};return _0x3a03a0[_0x748098(0x234)](_0x22dd4d['id'],_0x2e9c04)?(_0x129db3[_0x748098(0x542)](_0x4c1814),_0x42c821[_0x748098(0x581)]({'unitID':_0x4c1814,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x17eead}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x2e9c04}]}),!0x0):!0x1;}},_0xc496a1={'id':'base.command.set-base-view-field-visible','type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler'(_0x4710d4,_0x541699){const _0x11ecd4=_0x36f63a;if(!_0x541699)return!0x1;let _0x5679f8=_0x4710d4['get'](_0x26cf17[_0x11ecd4(0x4a8)]),{unitId:_0x230b70,tableId:_0x5f2a50,viewId:_0x38a26a,fieldId:_0x5110b4,visible:_0x7ac0c7}=_0x541699,_0xf679a5=_0x5679f8[_0x11ecd4(0x2e3)](_0x230b70,_0x26cf17[_0x11ecd4(0x1ef)][_0x11ecd4(0x440)]);if(!_0xf679a5||!_0x4cb030(_0xf679a5,_0x5f2a50,{'viewIds':[_0x38a26a],'fieldIds':[_0x5110b4]}))return!0x1;let _0x5d9127=_0xf679a5[_0x11ecd4(0x509)]()[_0x11ecd4(0x594)][_0x5f2a50][_0x11ecd4(0x458)][_0x5110b4];if(_0x5d9127[_0x11ecd4(0x5a9)]===!0x0||_0x5d9127[_0x11ecd4(0x5d6)]===_0x26cf17['BaseFieldType'][_0x11ecd4(0x4b5)])return!0x1;let _0xb2c4af=_0x4710d4[_0x11ecd4(0x558)](_0x26cf17[_0x11ecd4(0x2d3)]),_0x1478e0=_0x4710d4[_0x11ecd4(0x558)](_0x26cf17[_0x11ecd4(0x501)]),_0x1e724f=_0xf679a5[_0x11ecd4(0x509)](),_0x7879ad=new _0x3c2e91()[_0x11ecd4(0x584)](_0x1e724f,_0x5f2a50,_0x38a26a,_0x5110b4,_0x7ac0c7),_0x27c3f7=new _0x5070bf()[_0x11ecd4(0x3ad)](_0x1e724f,_0x7879ad),_0xa763ef={'unitId':_0x230b70,'op':_0x7879ad},_0x26e8ff={'unitId':_0x230b70,'op':_0x27c3f7};return _0xb2c4af[_0x11ecd4(0x234)](_0x22dd4d['id'],_0xa763ef)?(_0x5679f8['focusUnit'](_0x230b70),_0x1478e0['pushUndoRedo']({'unitID':_0x230b70,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x26e8ff}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xa763ef}]}),!0x0):!0x1;}},_0x20e162={'id':_0x36f63a(0x5c3),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3d7af2,_0x5d27c6)=>{const _0x4f87f7=_0x36f63a;if(!_0x5d27c6)return!0x1;let _0x2ce31e=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x4a8)]),{unitId:_0x1d1cc4,tableId:_0x35ce32,viewId:_0x13d213,fieldId:_0x4a8ec3,width:_0x1ebde4}=_0x5d27c6,_0x1f9d06=_0x2ce31e[_0x4f87f7(0x2e3)](_0x1d1cc4,_0x26cf17[_0x4f87f7(0x1ef)]['UNIVER_BASE']);if(!_0x1f9d06||!_0x4cb030(_0x1f9d06,_0x35ce32,{'viewIds':[_0x13d213],'fieldIds':[_0x4a8ec3]}))return!0x1;let _0x4df650=_0x1f9d06[_0x4f87f7(0x509)]()['tables'][_0x35ce32]['fields'][_0x4a8ec3];if(_0x4df650[_0x4f87f7(0x5a9)]===!0x0||_0x4df650[_0x4f87f7(0x5d6)]===_0x26cf17[_0x4f87f7(0x22d)][_0x4f87f7(0x4b5)])return!0x1;let _0x52188e=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x2d3)]),_0x4f1f86=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x501)]),_0x39707a=_0x1f9d06[_0x4f87f7(0x509)](),_0x1c4441=new _0x3c2e91()[_0x4f87f7(0x390)](_0x39707a,_0x35ce32,_0x13d213,_0x4a8ec3,_0x1ebde4),_0x5a6fd5=new _0x5070bf()[_0x4f87f7(0x3ad)](_0x39707a,_0x1c4441),_0x57a1c8={'unitId':_0x1d1cc4,'op':_0x1c4441},_0xf6e20a={'unitId':_0x1d1cc4,'op':_0x5a6fd5};return _0x52188e['syncExecuteCommand'](_0x22dd4d['id'],_0x57a1c8)?(_0x2ce31e[_0x4f87f7(0x542)](_0x1d1cc4),_0x4f1f86['pushUndoRedo']({'unitID':_0x1d1cc4,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0xf6e20a}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x57a1c8}]}),!0x0):!0x1;}},_0xb28a0={'id':_0x36f63a(0x1f4),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x4bfb18,_0xe638d3)=>{const _0x5e5e45=_0x36f63a;if(!_0xe638d3)return!0x1;let _0x5f4755=_0x4bfb18['get'](_0x26cf17[_0x5e5e45(0x4a8)]),{unitId:_0x56ab90,tableId:_0x12bbad,viewId:_0x4fbde9,filter:_0x5f1f0d}=_0xe638d3,_0xf494ee=_0x5f4755[_0x5e5e45(0x2e3)](_0x56ab90,_0x26cf17['UniverInstanceType']['UNIVER_BASE']),_0x34df6b=(_0x5f1f0d==null?void 0x0:_0x5f1f0d[_0x5e5e45(0x357)][_0x5e5e45(0x4a5)](_0x319051=>_0x319051['fieldId']))??[];if(!_0xf494ee||!_0x4cb030(_0xf494ee,_0x12bbad,{'viewIds':[_0x4fbde9],'fieldIds':_0x34df6b}))return!0x1;let _0x2bc0ce=_0x4bfb18[_0x5e5e45(0x558)](_0x26cf17[_0x5e5e45(0x2d3)]),_0x41c834=_0x4bfb18[_0x5e5e45(0x558)](_0x26cf17['IUndoRedoService']),_0x18b8ad=_0xf494ee[_0x5e5e45(0x509)](),_0x17e2e6=new _0x3c2e91()['setViewFilter'](_0x18b8ad,_0x12bbad,_0x4fbde9,_0x5f1f0d),_0x22f39a=new _0x5070bf()[_0x5e5e45(0x3ad)](_0x18b8ad,_0x17e2e6),_0x442a22={'unitId':_0x56ab90,'op':_0x17e2e6},_0x53923f={'unitId':_0x56ab90,'op':_0x22f39a};return _0x2bc0ce[_0x5e5e45(0x234)](_0x22dd4d['id'],_0x442a22)?(_0x5f4755[_0x5e5e45(0x542)](_0x56ab90),_0x41c834[_0x5e5e45(0x581)]({'unitID':_0x56ab90,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x53923f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x442a22}]}),!0x0):!0x1;}},_0x431b04={'id':_0x36f63a(0x3be),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x4ba63f,_0x4293f2)=>{const _0x2a6a44=_0x36f63a;if(!_0x4293f2)return!0x1;let _0x5396d5=_0x4ba63f[_0x2a6a44(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x23d70e,tableId:_0x554a75,viewId:_0xa59c04,group:_0x1c908d}=_0x4293f2,_0x15c7d8=_0x5396d5[_0x2a6a44(0x2e3)](_0x23d70e,_0x26cf17[_0x2a6a44(0x1ef)][_0x2a6a44(0x440)]);if(!_0x15c7d8||!_0x4cb030(_0x15c7d8,_0x554a75,{'viewIds':[_0xa59c04],'fieldIds':_0x1c908d['map'](_0x58ee30=>_0x58ee30[_0x2a6a44(0x39c)])}))return!0x1;let _0x3cf7ac=_0x4ba63f['get'](_0x26cf17[_0x2a6a44(0x2d3)]),_0x1befe6=_0x4ba63f[_0x2a6a44(0x558)](_0x26cf17[_0x2a6a44(0x501)]),_0x1c337d=_0x15c7d8[_0x2a6a44(0x509)](),_0x17077a=new _0x3c2e91()[_0x2a6a44(0x2c6)](_0x1c337d,_0x554a75,_0xa59c04,_0x1c908d),_0xd00dae=new _0x5070bf()[_0x2a6a44(0x3ad)](_0x1c337d,_0x17077a),_0xcfdf2b={'unitId':_0x23d70e,'op':_0x17077a},_0x5ad3df={'unitId':_0x23d70e,'op':_0xd00dae};return _0x3cf7ac['syncExecuteCommand'](_0x22dd4d['id'],_0xcfdf2b)?(_0x5396d5[_0x2a6a44(0x542)](_0x23d70e),_0x1befe6['pushUndoRedo']({'unitID':_0x23d70e,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x5ad3df}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xcfdf2b}]}),!0x0):!0x1;}},_0x4f8870={'id':'base.command.set-base-view-sort','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3cbd16,_0x59e3b4)=>{const _0x58def8=_0x36f63a;if(!_0x59e3b4)return!0x1;let _0x480b53=_0x3cbd16['get'](_0x26cf17['IUniverInstanceService']),{unitId:_0x247ee0,tableId:_0x28a0de,viewId:_0x5b4843,sort:_0xb52f4}=_0x59e3b4,_0x5a3bab=_0x480b53[_0x58def8(0x2e3)](_0x247ee0,_0x26cf17[_0x58def8(0x1ef)][_0x58def8(0x440)]);if(!_0x5a3bab||!_0x4cb030(_0x5a3bab,_0x28a0de,{'viewIds':[_0x5b4843],'fieldIds':_0xb52f4['map'](_0xe8474=>_0xe8474[_0x58def8(0x39c)])}))return!0x1;let _0x2ab1df=_0x3cbd16['get'](_0x26cf17[_0x58def8(0x2d3)]),_0x2d2b51=_0x3cbd16['get'](_0x26cf17['IUndoRedoService']),_0x10bd25=_0x5a3bab[_0x58def8(0x509)](),_0x388ad0=new _0x3c2e91()['setViewSort'](_0x10bd25,_0x28a0de,_0x5b4843,_0xb52f4),_0x494484=new _0x5070bf()['invertOp'](_0x10bd25,_0x388ad0),_0x57d113={'unitId':_0x247ee0,'op':_0x388ad0},_0x4b3b4f={'unitId':_0x247ee0,'op':_0x494484};return _0x2ab1df[_0x58def8(0x234)](_0x22dd4d['id'],_0x57d113)?(_0x480b53[_0x58def8(0x542)](_0x247ee0),_0x2d2b51['pushUndoRedo']({'unitID':_0x247ee0,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4b3b4f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x57d113}]}),!0x0):!0x1;}},_0x3701b5={'id':_0x36f63a(0x243),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x244976,_0x2c017c){const _0x196867=_0x36f63a;if(!_0x2c017c)return!0x1;let _0x5d6dbe=_0x244976['get'](_0x26cf17[_0x196867(0x4a8)]),{unitId:_0x42b8de,tableId:_0x10107d,recordId:_0x301a06,fieldId:_0xa0847d,value:_0x5480bc}=_0x2c017c,_0x58ee50=_0x5d6dbe[_0x196867(0x2e3)](_0x42b8de,_0x26cf17['UniverInstanceType'][_0x196867(0x440)]);if(!_0x58ee50||!_0x4cb030(_0x58ee50,_0x10107d,{'recordIds':[_0x301a06],'fieldIds':[_0xa0847d]})||!_0x2ef661(_0x58ee50,_0x10107d,_0xa0847d,_0x5480bc))return!0x1;let _0x541076=_0x58ee50['getSnapshot']()[_0x196867(0x594)][_0x10107d],_0x323b6a=_0x2e8fb1(_0x541076,_0xa0847d)&&_0x91f8f5(_0x541076)[_0x196867(0x358)](_0xa0847d),_0x451fed=_0x323b6a?_0x17cc3f(_0x541076,_0xa0847d):null,_0x21deb4=(_0x451fed==null?void 0x0:_0x451fed[_0x196867(0x35e)][_0x196867(0x558)](_0x301a06))??null,_0x2555ae=_0x323b6a?_0x4db4ea(_0x5480bc)[0x0]??null:null;if(_0x451fed){if(_0x2555ae&&!_0x541076[_0x196867(0x4c9)][_0x2555ae])throw new _0x3763ee('missingRecord');let _0x2bef9d=_0xc17f5a(_0x451fed,_0x301a06,_0x2555ae);if(!_0x2bef9d[_0x196867(0x50f)])throw new _0x3763ee(_0x2bef9d[_0x196867(0x560)]===_0x26cf17[_0x196867(0x23e)]['SelfParent']?_0x196867(0x1ca):_0x2bef9d[_0x196867(0x560)]===_0x26cf17[_0x196867(0x23e)]['Cycle']?_0x196867(0x38c):'maxDepth');}let _0x5bcbc6=_0x244976[_0x196867(0x558)](_0x26cf17[_0x196867(0x2d3)]),_0x398cff=_0x244976['get'](_0x26cf17[_0x196867(0x501)]),_0x36d601=_0x244976[_0x196867(0x558)](_0x10f260),_0x4c7604;try{_0x4c7604=_0x36d601[_0x196867(0x3d9)](_0x58ee50,_0x10107d,_0x301a06,_0xa0847d,_0x5480bc);}catch(_0x5e8161){return console[_0x196867(0x2ce)](_0x196867(0x231),_0x5e8161),!0x1;}let _0x24b7ac=new _0x5070bf()[_0x196867(0x3ad)](_0x58ee50[_0x196867(0x509)](),_0x4c7604),_0xa6cf99=_0x323b6a&&_0x21deb4!==_0x2555ae?[{'tableId':_0x10107d,'fieldId':_0xa0847d,'recordId':_0x301a06,'oldParentRecordId':_0x21deb4,'parentRecordId':_0x2555ae}]:void 0x0,_0x3c7b3d={'unitId':_0x42b8de,'op':_0x4c7604,'trigger':_0xa6cf99?_0x3701b5['id']:void 0x0,'hierarchyChanges':_0xa6cf99,'source':_0xa6cf99?_0x2c017c[_0x196867(0x31b)]??'ui':void 0x0},_0x58d8fe={..._0x3c7b3d,'source':_0xa6cf99?_0x196867(0x265):void 0x0},_0x556f9f={'unitId':_0x42b8de,'op':_0x24b7ac,'trigger':_0xa6cf99?_0x3701b5['id']:void 0x0,'hierarchyChanges':_0xa6cf99==null?void 0x0:_0xa6cf99[_0x196867(0x4a5)](_0x28e47d=>({..._0x28e47d,'oldParentRecordId':_0x28e47d[_0x196867(0x283)],'parentRecordId':_0x28e47d[_0x196867(0x369)]})),'source':_0xa6cf99?'undo':void 0x0};return _0x5bcbc6[_0x196867(0x234)](_0x22dd4d['id'],_0x3c7b3d)?(_0x5d6dbe[_0x196867(0x5df)]()||_0x5d6dbe['focusUnit'](_0x42b8de),_0x398cff[_0x196867(0x581)]({'unitID':_0x42b8de,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x556f9f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x58d8fe}]}),!0x0):!0x1;}},_0x2a30c6={'id':_0x36f63a(0x29b),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x41eefd,_0x37bead){const _0x432dd0=_0x36f63a;if(!_0x37bead)return!0x1;let _0x54202f=_0x41eefd[_0x432dd0(0x558)](_0x26cf17[_0x432dd0(0x4a8)]),{unitId:_0x5302a0,tableId:_0x10f692,fieldId:_0x3937e8}=_0x37bead,_0x114d08=_0x54202f[_0x432dd0(0x2e3)](_0x5302a0,_0x26cf17[_0x432dd0(0x1ef)][_0x432dd0(0x440)]);if(!_0x114d08||!_0x4cb030(_0x114d08,_0x10f692,{'fieldIds':[_0x3937e8]}))return!0x1;let _0x3ed729=_0x41eefd['get'](_0x26cf17[_0x432dd0(0x2d3)]),_0x580bd4=_0x41eefd['get'](_0x26cf17[_0x432dd0(0x501)]),_0x107b77=_0x114d08['getSnapshot'](),_0x329930=_0x37bead[_0x432dd0(0x1ec)][_0x432dd0(0x3ce)](),_0x3f31df=new _0x3c2e91()[_0x432dd0(0x4f8)](_0x107b77,_0x10f692,_0x3937e8,{'description':_0x329930}),_0x2540e7=new _0x5070bf()[_0x432dd0(0x3ad)](_0x114d08['getSnapshot'](),_0x3f31df),_0x5ab309={'unitId':_0x5302a0,'op':_0x3f31df},_0x53d31e={'unitId':_0x5302a0,'op':_0x2540e7};return _0x3ed729[_0x432dd0(0x234)](_0x22dd4d['id'],_0x5ab309)?(_0x54202f[_0x432dd0(0x542)](_0x5302a0),_0x580bd4['pushUndoRedo']({'unitID':_0x5302a0,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x53d31e}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x5ab309}]}),!0x0):!0x1;}},_0x217532={'id':_0x36f63a(0x5e1),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x23b892,_0x4a81f9)=>{const _0x3eda8c=_0x36f63a;if(!_0x4a81f9)return!0x1;let _0x5306a9=_0x23b892[_0x3eda8c(0x558)](_0x26cf17[_0x3eda8c(0x4a8)]),{unitId:_0x45f924,tableId:_0x51d7eb,fieldId:_0x16de0c,patch:_0x314ea5}=_0x4a81f9,_0x197277=_0x5306a9['getUnit'](_0x45f924,_0x26cf17[_0x3eda8c(0x1ef)]['UNIVER_BASE']);if(!_0x197277||_0x16de0c===_0x26cf17[_0x3eda8c(0x478)]||!_0x4cb030(_0x197277,_0x51d7eb,{'fieldIds':[_0x16de0c]}))return!0x1;let _0x8048bb=_0x23b892[_0x3eda8c(0x558)](_0x26cf17[_0x3eda8c(0x2d3)]),_0xe7d8c0=_0x23b892['get'](_0x26cf17['IUndoRedoService']),_0xb52efb=_0x197277[_0x3eda8c(0x509)]();if(!_0x1e8b5f(_0x197277,_0x51d7eb,{..._0xb52efb['tables'][_0x51d7eb][_0x3eda8c(0x458)][_0x16de0c],..._0x314ea5}))return!0x1;let _0x3c16b6=new _0x3c2e91()['updateField'](_0xb52efb,_0x51d7eb,_0x16de0c,_0x314ea5),_0x1b751b=new _0x5070bf()[_0x3eda8c(0x3ad)](_0xb52efb,_0x3c16b6),_0x124e40={'unitId':_0x45f924,'op':_0x3c16b6},_0x420ce0={'unitId':_0x45f924,'op':_0x1b751b};return _0x8048bb['syncExecuteCommand'](_0x22dd4d['id'],_0x124e40)?(_0x5306a9[_0x3eda8c(0x542)](_0x45f924),_0xe7d8c0[_0x3eda8c(0x581)]({'unitID':_0x45f924,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x420ce0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x124e40}]}),!0x0):!0x1;}},_0x7bc6de={'id':_0x36f63a(0x278),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x116cd6,_0x2a1f90)=>{const _0x201d7e=_0x36f63a;if(!_0x2a1f90)return!0x1;let _0x2ef1d7=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x4a8)]),{unitId:_0x26076e,tableId:_0x4381f5,viewId:_0x3b4140,patch:_0x410098}=_0x2a1f90,_0x5048d4=_0x2ef1d7[_0x201d7e(0x2e3)](_0x26076e,_0x26cf17[_0x201d7e(0x1ef)][_0x201d7e(0x440)]);if(!_0x5048d4||!_0x4cb030(_0x5048d4,_0x4381f5,{'viewIds':[_0x3b4140]}))return!0x1;let _0x43c07f=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x2d3)]),_0x3460f7=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x501)]),_0x576dff=_0x5048d4[_0x201d7e(0x509)](),_0x2792f3=new _0x3c2e91()['updateViewConfig'](_0x576dff,_0x4381f5,_0x3b4140,_0x410098),_0x3411b0=new _0x5070bf()['invertOp'](_0x576dff,_0x2792f3),_0x376163={'unitId':_0x26076e,'op':_0x2792f3},_0x498bd4={'unitId':_0x26076e,'op':_0x3411b0};return _0x43c07f[_0x201d7e(0x234)](_0x22dd4d['id'],_0x376163)?(_0x2ef1d7['focusUnit'](_0x26076e),_0x3460f7['pushUndoRedo']({'unitID':_0x26076e,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x498bd4}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x376163}]}),!0x0):!0x1;}},_0x11441c={'id':_0x36f63a(0x54c),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x423093,_0x2da246)=>{const _0xcfc9c3=_0x36f63a;if(!_0x2da246)return!0x1;let _0x5b10a9=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x4a8)]),{unitId:_0x39e56c,tableId:_0x47d3e1,recordId:_0x1d510e,orderKey:_0x35153b}=_0x2da246,_0x56262c=_0x5b10a9[_0xcfc9c3(0x2e3)](_0x39e56c,_0x26cf17[_0xcfc9c3(0x1ef)][_0xcfc9c3(0x440)]);if(!_0x56262c||!_0x4cb030(_0x56262c,_0x47d3e1,{'recordIds':[_0x1d510e]}))return!0x1;let _0x8d9da1=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x2d3)]),_0x40cbff=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x501)]),_0x38bf3a=_0x56262c[_0xcfc9c3(0x509)](),_0x26f7a4=new _0x3c2e91()[_0xcfc9c3(0x5bb)](_0x38bf3a,_0x47d3e1,_0x1d510e,_0x35153b),_0x1f3fe4=new _0x5070bf()[_0xcfc9c3(0x3ad)](_0x38bf3a,_0x26f7a4),_0x5058b1={'unitId':_0x39e56c,'op':_0x26f7a4},_0x1772e0={'unitId':_0x39e56c,'op':_0x1f3fe4};return _0x8d9da1[_0xcfc9c3(0x234)](_0x22dd4d['id'],_0x5058b1)?(_0x5b10a9[_0xcfc9c3(0x542)](_0x39e56c),_0x40cbff['pushUndoRedo']({'unitID':_0x39e56c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1772e0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x5058b1}]}),!0x0):!0x1;}},_0x2f812f=function(_0x55efeb){const _0x43d0d2=_0x36f63a;return _0x55efeb[_0x43d0d2(0x1e3)]=_0x43d0d2(0x4a9),_0x55efeb[_0x43d0d2(0x3b2)]='add',_0x55efeb[_0x43d0d2(0x45f)]=_0x43d0d2(0x346),_0x55efeb[_0x43d0d2(0x1fa)]=_0x43d0d2(0x1dc),_0x55efeb;}({}),_0x219a50={'id':_0x36f63a(0x503),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x1c527f,_0x47721e)=>{const _0x5e2af8=_0x36f63a;var _0x5887be;if(!_0x47721e)return!0x1;let _0x4a01a1=_0x1c527f['get'](_0x26cf17[_0x5e2af8(0x4a8)]),_0x587584=_0x4a01a1[_0x5e2af8(0x2e3)](_0x47721e[_0x5e2af8(0x41e)],_0x26cf17[_0x5e2af8(0x1ef)][_0x5e2af8(0x440)]);if(!_0x587584||!_0x4cb030(_0x587584,_0x47721e[_0x5e2af8(0x353)],{'viewIds':[_0x47721e['viewId']]}))return!0x1;let _0x4e9523=_0x587584['getSnapshot'](),_0x39cd4b=_0x4e9523[_0x5e2af8(0x594)][_0x47721e[_0x5e2af8(0x353)]],_0x187218=_0xdb90cf(((_0x5887be=_0x39cd4b['views'][_0x47721e['viewId']][_0x5e2af8(0x4cc)][_0x5e2af8(0x457)])==null?void 0x0:_0x5887be[_0x5e2af8(0x29a)])??[],_0x47721e);if(!_0x187218)return!0x1;_0x3a1be5(_0x39cd4b,_0x187218);let _0x1d1da9=new _0x3c2e91()[_0x5e2af8(0x52e)](_0x4e9523,_0x47721e['tableId'],_0x47721e['viewId'],{'conditionalColoring':_0x187218[_0x5e2af8(0x4cd)]?{'rules':_0x187218}:null}),_0x306d46=new _0x5070bf()[_0x5e2af8(0x3ad)](_0x4e9523,_0x1d1da9),_0x3636d5={'unitId':_0x47721e[_0x5e2af8(0x41e)],'op':_0x1d1da9},_0x271615={'unitId':_0x47721e[_0x5e2af8(0x41e)],'op':_0x306d46};return _0x1c527f[_0x5e2af8(0x558)](_0x26cf17[_0x5e2af8(0x2d3)])[_0x5e2af8(0x234)](_0x22dd4d['id'],_0x3636d5)?(_0x4a01a1[_0x5e2af8(0x542)](_0x47721e[_0x5e2af8(0x41e)]),_0x1c527f[_0x5e2af8(0x558)](_0x26cf17[_0x5e2af8(0x501)])[_0x5e2af8(0x581)]({'unitID':_0x47721e['unitId'],'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x271615}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3636d5}]}),!0x0):!0x1;}};function _0xdb90cf(_0x4135b3,_0x1c2dfe){const _0x4e5252=_0x36f63a;switch(_0x1c2dfe[_0x4e5252(0x5d6)]){case _0x4e5252(0x4a9):return _0x26cf17[_0x4e5252(0x3e7)][_0x4e5252(0x269)](_0x1c2dfe[_0x4e5252(0x29a)]);case _0x4e5252(0x1ce):return[..._0x26cf17['Tools'][_0x4e5252(0x269)](_0x4135b3),_0x26cf17[_0x4e5252(0x3e7)]['deepClone'](_0x1c2dfe[_0x4e5252(0x423)])];case _0x4e5252(0x346):{let _0x491b42=_0x4135b3['filter'](_0x2815e1=>_0x2815e1['id']!==_0x1c2dfe[_0x4e5252(0x5de)]);return _0x491b42['length']===_0x4135b3[_0x4e5252(0x4cd)]?null:_0x26cf17['Tools']['deepClone'](_0x491b42);}case _0x4e5252(0x1dc):return _0x4135b3['length']?[]:null;}}function _0x3a1be5(_0x3b0c86,_0x1cd756){const _0x5f2566=_0x36f63a;if(!Array[_0x5f2566(0x2c4)](_0x1cd756))throw TypeError(_0x5f2566(0x324));let _0x591363=new Set();for(let [_0xfae968,_0x5a2fba]of _0x1cd756[_0x5f2566(0x443)]())_0xe7924b(_0x3b0c86,_0x5a2fba,_0x1a7394(_0x5a2fba,_0xfae968,_0x591363));}function _0x1a7394(_0x128a7c,_0x259896,_0x138594){const _0x5c6108=_0x36f63a;if(!_0x128a7c||typeof _0x128a7c!=_0x5c6108(0x3e4))throw TypeError(_0x5c6108(0x2de)+_0x259896+_0x5c6108(0x54d));let _0xbe03cb=typeof _0x128a7c['id']=='string'&&_0x128a7c['id']['trim']()?'\x22'+_0x128a7c['id']+'\x22':'at\x20index\x20'+_0x259896;if(typeof _0x128a7c['id']!=_0x5c6108(0x4c8)||!_0x128a7c['id']['trim']())throw Error(_0x5c6108(0x5cc)+_0xbe03cb+_0x5c6108(0x448));if(_0x138594['has'](_0x128a7c['id']))throw Error(_0x5c6108(0x2c9)+_0x128a7c['id']+'\x22.');_0x138594[_0x5c6108(0x1ce)](_0x128a7c['id']);let _0x5a1b97=typeof _0x128a7c[_0x5c6108(0x1cb)]==_0x5c6108(0x4c8)&&_0x128a7c[_0x5c6108(0x1cb)][_0x5c6108(0x3ce)]()?new _0x26cf17[(_0x5c6108(0x344))](_0x128a7c['color']):null;if(!(_0x5a1b97!=null&&_0x5a1b97[_0x5c6108(0x44b)]))throw Error(_0x5c6108(0x5cc)+_0xbe03cb+_0x5c6108(0x609));return _0xbe03cb;}function _0xe7924b(_0x40e30c,_0x7e19c5,_0x3670c8){const _0x5c7b90=_0x36f63a;let _0x54a162=new Set(Object['values'](_0x26cf17[_0x5c7b90(0x1d0)])),_0x5e5b2b=new Set(Object[_0x5c7b90(0x20f)](_0x26cf17[_0x5c7b90(0x218)])),_0x1732a6=new Set(Object[_0x5c7b90(0x20f)](_0x26cf17[_0x5c7b90(0x5dc)]));if(!_0x54a162['has'](_0x7e19c5[_0x5c7b90(0x3b6)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x591)+String(_0x7e19c5[_0x5c7b90(0x3b6)])+'\x22.');let _0x1d7a2b=typeof _0x7e19c5[_0x5c7b90(0x39c)]==_0x5c7b90(0x4c8)?_0x40e30c[_0x5c7b90(0x458)][_0x7e19c5[_0x5c7b90(0x39c)]]:void 0x0;if(!_0x1d7a2b||_0x1d7a2b['system']===!0x0||_0x1d7a2b[_0x5c7b90(0x5d6)]===_0x26cf17['BaseFieldType'][_0x5c7b90(0x4b5)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x7e19c5[_0x5c7b90(0x39c)])+'\x22.');if(!_0x5e5b2b[_0x5c7b90(0x2fa)](_0x7e19c5[_0x5c7b90(0x2a0)]))throw Error(_0x5c7b90(0x5cc)+_0x3670c8+_0x5c7b90(0x350)+String(_0x7e19c5['operator'])+'\x22.');if(_0x7e19c5['dateMode']!==void 0x0&&!_0x1732a6[_0x5c7b90(0x2fa)](_0x7e19c5[_0x5c7b90(0x293)]))throw Error(_0x5c7b90(0x5cc)+_0x3670c8+_0x5c7b90(0x3f5)+String(_0x7e19c5[_0x5c7b90(0x293)])+'\x22.');if(_0x7e19c5[_0x5c7b90(0x3b6)]===_0x26cf17['BaseConditionalColorTarget'][_0x5c7b90(0x2e6)])return;let _0x38cd6d=_0x175c6c(_0x1d7a2b['type']);if(!_0x38cd6d[_0x5c7b90(0x358)](_0x7e19c5[_0x5c7b90(0x2a0)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x41f)+_0x7e19c5['operator']+_0x5c7b90(0x2b0)+_0x1d7a2b[_0x5c7b90(0x5d6)]+_0x5c7b90(0x382)+_0x38cd6d[_0x5c7b90(0x241)](',\x20')+'.');if(_0x7e19c5[_0x5c7b90(0x293)]!==void 0x0&&!_0x35496(_0x1d7a2b['type']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x1e4));}let _0x554c59={'id':_0x36f63a(0x5d2),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x387694,_0x449ec1)=>{const _0x8542c2=_0x36f63a;if(!_0x449ec1)return!0x1;let _0x433c56=_0x387694['get'](_0x26cf17[_0x8542c2(0x4a8)]),{unitId:_0x26db19,tableId:_0x3f0994,viewId:_0x22003b,patch:_0x26f010}=_0x449ec1,_0x4bd313=_0x433c56[_0x8542c2(0x2e3)](_0x26db19,_0x26cf17[_0x8542c2(0x1ef)][_0x8542c2(0x440)]);if(!_0x4bd313||!_0x4cb030(_0x4bd313,_0x3f0994,{'viewIds':[_0x22003b]}))return!0x1;let _0x52a7e3=_0x387694[_0x8542c2(0x558)](_0x26cf17[_0x8542c2(0x2d3)]),_0x2e636a=_0x387694[_0x8542c2(0x558)](_0x26cf17[_0x8542c2(0x501)]),_0x38b773=_0x4bd313['getSnapshot'](),_0x4869ef=new _0x3c2e91()[_0x8542c2(0x52e)](_0x38b773,_0x3f0994,_0x22003b,_0x26f010),_0x3b9f3a=new _0x5070bf()['invertOp'](_0x38b773,_0x4869ef),_0xebed4b={'unitId':_0x26db19,'op':_0x4869ef},_0x2e8643={'unitId':_0x26db19,'op':_0x3b9f3a};return _0x52a7e3[_0x8542c2(0x234)](_0x22dd4d['id'],_0xebed4b)?(_0x433c56['focusUnit'](_0x26db19),_0x2e636a['pushUndoRedo']({'unitID':_0x26db19,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x2e8643}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xebed4b}]}),!0x0):!0x1;}},_0x25cd5e={'id':_0x36f63a(0x5a5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0xcbe5,_0x57afe2){const _0x36a53d=_0x36f63a;if(!_0x57afe2)return{'valid':!0x1,'reason':_0x36a53d(0x2e8)};let _0x69779b=_0xcbe5['get'](_0x26cf17[_0x36a53d(0x4a8)])[_0x36a53d(0x2e3)](_0x57afe2[_0x36a53d(0x41e)],_0x26cf17[_0x36a53d(0x1ef)][_0x36a53d(0x440)]),_0x2dd924=_0x69779b==null?void 0x0:_0x69779b[_0x36a53d(0x509)](),_0xad1f27=_0x2dd924==null?void 0x0:_0x2dd924[_0x36a53d(0x594)][_0x57afe2[_0x36a53d(0x353)]];return!_0x2dd924||!_0xad1f27?{'valid':!0x1,'reason':_0x36a53d(0x5d7)}:new _0x24626c()[_0x36a53d(0x225)](_0x57afe2['formula'],_0xad1f27,{'snapshot':_0x2dd924});}},_0x201e06=class extends _0x26cf17['ObjectPermissionRuleModel']{constructor(_0x2105a3){const _0x2b959e=_0x36f63a;super(_0x2105a3,_0x2b959e(0x1ff),_0x26cf17[_0x2b959e(0x1ef)][_0x2b959e(0x440)],[_0xf5110d['UnitObject'][_0x2b959e(0x52c)],_0xf5110d['UnitObject'][_0x2b959e(0x540)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x562)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x30e)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x48c)]]);}};_0x201e06=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x56c)])],_0x201e06);let _0x475558={'id':'base.mutation.set-permission-rule','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler':(_0x44795b,_0x4de10f)=>!_0x4de10f||!_0x44795b[_0x36f63a(0x558)](_0x26cf17['IUniverInstanceService'])[_0x36f63a(0x2e3)](_0x4de10f[_0x36f63a(0x41e)],_0x26cf17[_0x36f63a(0x1ef)][_0x36f63a(0x440)])?!0x1:_0x44795b[_0x36f63a(0x558)](_0x201e06)[_0x36f63a(0x4e2)](_0x4de10f['unitId'],_0x4de10f[_0x36f63a(0x5cb)],_0x4de10f[_0x36f63a(0x452)],_0x4de10f['rule'])},_0x4f4152={'id':_0x36f63a(0x43d),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler':(_0x383d90,_0x2d4fcc)=>!_0x2d4fcc||!_0x383d90[_0x36f63a(0x558)](_0x26cf17[_0x36f63a(0x4a8)])[_0x36f63a(0x2e3)](_0x2d4fcc['unitId'],_0x26cf17[_0x36f63a(0x1ef)]['UNIVER_BASE'])?!0x1:_0x383d90[_0x36f63a(0x558)](_0x201e06)[_0x36f63a(0x2a8)](_0x2d4fcc[_0x36f63a(0x41e)],_0x2d4fcc['rules'])};function _0x37171b(_0x7948be){const _0x367028=_0x36f63a;let _0xd9e5f9=_0x7948be['now']??Date[_0x367028(0x5c9)](),_0x570e96=_0x7948be[_0x367028(0x5ce)]??_0x7948be['id']+_0x367028(0x348),_0x1af2c9=_0x7948be['gridViewId']??_0x7948be['id']+_0x367028(0x541),_0x511a6b=_0x7948be[_0x367028(0x61a)]??0x0,_0x259513=(0x0,_0x26cf17[_0x367028(0x28e)])(),_0x3016ea={'id':_0x570e96,'name':_0x7948be[_0x367028(0x20c)]??'Name','type':_0x26cf17[_0x367028(0x22d)][_0x367028(0x286)],'config':{'placeholder':_0x367028(0x370)}},_0x1cf57b={},_0x3c461c=[],_0x3b7e74={},_0x587731={},_0x109d12={};for(let _0x1c7b6d=0x0;_0x1c7b6d<_0x511a6b;_0x1c7b6d++){let _0x22d551=_0x7948be['id']+'-record-'+(_0x1c7b6d+0x1);_0x1cf57b[_0x22d551]={'id':_0x22d551,'values':{[_0x26cf17[_0x367028(0x478)]]:_0x22d551,..._0x7948be[_0x367028(0x1de)]?{[_0x570e96]:_0x7948be[_0x367028(0x1de)]+'\x20'+(_0x1c7b6d+0x1)}:{}},'orderKey':String(_0x1c7b6d+0x1)[_0x367028(0x2be)](0x4,'0'),'createdAt':_0xd9e5f9,'updatedAt':_0xd9e5f9},_0x3c461c[_0x367028(0x605)](_0x22d551),_0x3b7e74[_0x22d551]=_0x1c7b6d,_0x587731[_0x1c7b6d]=_0x22d551,_0x109d12[_0x1c7b6d]={0x0:{'v':_0x22d551,'t':_0x26cf17[_0x367028(0x555)]['STRING']}},_0x7948be[_0x367028(0x1de)]&&(_0x109d12[_0x1c7b6d][0x1]={'v':_0x7948be[_0x367028(0x1de)]+'\x20'+(_0x1c7b6d+0x1),'t':_0x26cf17[_0x367028(0x555)]['STRING']});}let _0x48f9db={'id':_0x1af2c9,'tableId':_0x7948be['id'],'name':_0x367028(0x521),'type':_0x26cf17['BaseViewType'][_0x367028(0x521)],'fieldOrder':[_0x26cf17[_0x367028(0x478)],_0x570e96],'fieldSettings':{[_0x26cf17[_0x367028(0x478)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x7948be['id'],'name':_0x7948be['name'],'primaryFieldId':_0x570e96,'fieldOrder':[_0x26cf17[_0x367028(0x478)],_0x570e96],'fields':{[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x259513,[_0x570e96]:_0x3016ea},'records':_0x1cf57b,'recordOrder':_0x3c461c,'rowIndex':_0x3b7e74,'rowId':_0x587731,'colIndex':{[_0x26cf17[_0x367028(0x478)]]:0x0,[_0x570e96]:0x1},'colId':{0x0:_0x26cf17[_0x367028(0x478)],0x1:_0x570e96},'cellData':_0x109d12,'views':{[_0x1af2c9]:_0x48f9db},'viewOrder':[_0x1af2c9]};}let _0x260313=_0x36f63a(0x535);function _0x572bf3(_0x1cf0dc){const _0x489002=_0x36f63a;let _0x23dd3f=_0x37171b({'id':_0x1cf0dc[_0x489002(0x483)],'name':_0x1cf0dc[_0x489002(0x3f8)]??_0x1cf0dc[_0x489002(0x4d5)],'recordCount':0x0});return{..._0x23dd3f,'resources':{..._0x23dd3f[_0x489002(0x26a)]??{},[_0x260313]:_0x138c76(_0x1cf0dc)}};}function _0xcb509f(_0x22b401){const _0x51db26=_0x36f63a;return{'id':_0x22dd4d['id'],'params':{'unitId':_0x22b401['unitId'],'op':_0x26cf17[_0x51db26(0x2a4)][_0x51db26(0x5d6)][_0x51db26(0x44a)](_0x26cf17['JSON1'][_0x51db26(0x4b1)]([_0x51db26(0x594),_0x22b401['table']['id']],_0x22b401[_0x51db26(0x551)]),_0x26cf17[_0x51db26(0x2a4)]['insertOp']([_0x51db26(0x260),_0x22b401[_0x51db26(0x21b)]??_0x22b401['snapshot']['tableOrder']['length']],_0x22b401[_0x51db26(0x551)]['id'])),'trigger':_0x51db26(0x2ea)}};}function _0x5dff2e(_0x5e2bd0){const _0x3e039e=_0x36f63a;let _0x548e96=_0x5e2bd0['snapshot'][_0x3e039e(0x260)]['indexOf'](_0x5e2bd0[_0x3e039e(0x353)]);if(!(!_0x5e2bd0[_0x3e039e(0x248)][_0x3e039e(0x594)][_0x5e2bd0['tableId']]||_0x548e96<0x0))return{'id':_0x22dd4d['id'],'params':{'unitId':_0x5e2bd0[_0x3e039e(0x41e)],'op':_0x26cf17['JSON1']['type'][_0x3e039e(0x44a)](_0x26cf17[_0x3e039e(0x2a4)][_0x3e039e(0x427)]([_0x3e039e(0x594),_0x5e2bd0[_0x3e039e(0x353)]],_0x5e2bd0[_0x3e039e(0x248)][_0x3e039e(0x594)][_0x5e2bd0[_0x3e039e(0x353)]]),_0x26cf17[_0x3e039e(0x2a4)]['removeOp'](['tableOrder',_0x548e96],_0x5e2bd0[_0x3e039e(0x353)])),'trigger':_0x3e039e(0x2ea)}};}function _0x138c76(_0x5448f1){const _0x190cdf=_0x36f63a;return{'version':0x1,'embedId':_0x5448f1['embedId'],'hostAnchorId':_0x5448f1[_0x190cdf(0x483)],'childUnitId':_0x5448f1[_0x190cdf(0x4f9)],'childType':_0x5448f1[_0x190cdf(0x43c)]};}function _0x4921f7(_0x282354){const _0x144a06=_0x36f63a;let _0x47bbe3=Math[_0x144a06(0x5a7)](0x0,Number(_0x282354[_0x144a06(0x289)]??0x0)),_0x6b7b91=_0x282354['useThousands']===!0x1?'0':_0x144a06(0x2d1),_0x3884de=_0x47bbe3?'.'+'0'[_0x144a06(0x1cd)](_0x47bbe3):'',_0xc317ec=_0x2cfd48(_0x282354['abbreviation']);return''+(_0x282354[_0x144a06(0x598)]?_0x41d892(_0x282354['currencySymbol']):'')+_0x6b7b91+_0x3884de+_0xc317ec;}function _0x2d4820(_0x342116,_0x58bf57){const _0x252e2e=_0x36f63a;let _0x139769=_0x4921f7(_0x58bf57),_0x7a1860=_0x26cf17['numfmt']['format'](_0x139769,_0x342116,{'throws':!0x1});return _0x59f134(String(_0x7a1860),_0x58bf57[_0x252e2e(0x1f3)],_0x58bf57[_0x252e2e(0x3b8)]);}function _0x2cfd48(_0x2c8da2){const _0x4be520=_0x36f63a;return _0x2c8da2==='K'?_0x4be520(0x37e):_0x2c8da2==='M'?_0x4be520(0x271):_0x2c8da2==='B'?_0x4be520(0x2c2):'';}function _0x41d892(_0x3420ce){return/^[A-Z]+$/i['test'](_0x3420ce)?'\x22'+_0x3420ce+'\x22':_0x3420ce;}function _0x59f134(_0x10318d,_0xb0ba4c,_0x9de1c5){const _0x5c0016=_0x36f63a;let _0x54b785=_0xb0ba4c===_0x5c0016(0x222)?_0x149b09(_0x9de1c5):_0xb0ba4c;return _0x54b785==='periodComma'?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x00')[_0x5c0016(0x2ed)](/\./g,',')[_0x5c0016(0x2ed)](/\0/g,'.'):_0x54b785===_0x5c0016(0x550)?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x20')['replace'](/\./g,','):_0x54b785===_0x5c0016(0x1cf)?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x20'):_0x10318d;}function _0x149b09(_0x212b2a){const _0x45edf9=_0x36f63a;var _0x57210a,_0x56b02c;let _0xab2e4c=_0x212b2a||new Intl[(_0x45edf9(0x4bb))]()[_0x45edf9(0x47a)]()['locale'],_0x59ef23;try{_0x59ef23=new Intl[(_0x45edf9(0x4bb))](_0xab2e4c,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x45edf9(0x33c);}let _0x5c7a00=(_0x57210a=_0x59ef23[_0x45edf9(0x396)](_0x54ea67=>_0x54ea67['type']===_0x45edf9(0x58b)))==null?void 0x0:_0x57210a[_0x45edf9(0x5a4)],_0x26c2dd=(_0x56b02c=_0x59ef23[_0x45edf9(0x396)](_0x4e1172=>_0x4e1172[_0x45edf9(0x5d6)]===_0x45edf9(0x295)))==null?void 0x0:_0x56b02c[_0x45edf9(0x5a4)],_0x2ba5b5=_0x5c7a00==='\u00a0'||_0x5c7a00==='\u202f'?'\x20':_0x5c7a00;return _0x2ba5b5==='.'&&_0x26c2dd===','?_0x45edf9(0x469):_0x2ba5b5==='\x20'&&_0x26c2dd===','?'spaceComma':_0x2ba5b5==='\x20'&&_0x26c2dd==='.'?_0x45edf9(0x1cf):_0x45edf9(0x33c);}function _0x46e601(_0x25be0a,_0x5be617){const _0x289d72=_0x36f63a;let _0x57aa85=_0x5be617&&typeof _0x5be617==_0x289d72(0x3e4)&&!Array['isArray'](_0x5be617)?_0x5be617:{},_0x5882bc=_0x33996e(_0x57aa85[_0x289d72(0x289)],0x0,0x2,0x0),_0x34594e=_0x25be0a[_0x289d72(0x2cb)](_0x5882bc);return _0x57aa85['format']==='number'?_0x34594e:_0x34594e+'%';}function _0x33996e(_0xd1a56a,_0x578882,_0x5aaf8d,_0x458e0d){const _0x30a58c=_0x36f63a;if(_0xd1a56a==null||_0xd1a56a==='')return _0x458e0d;let _0x18405f=typeof _0xd1a56a=='number'?_0xd1a56a:Number(_0xd1a56a);return Number['isFinite'](_0x18405f)?Math[_0x30a58c(0x5a7)](_0x578882,Math[_0x30a58c(0x275)](_0x5aaf8d,Math[_0x30a58c(0x1af)](_0x18405f))):_0x458e0d;}let _0x37064d=['count',_0x36f63a(0x435),_0x36f63a(0x325),_0x36f63a(0x1e0),_0x36f63a(0x557),'average','min',_0x36f63a(0x5a7)],_0x59ec3e=[_0x36f63a(0x364),_0x36f63a(0x435),'empty',_0x36f63a(0x1e0)],_0x27df7a=[_0x36f63a(0x557),_0x36f63a(0x246),_0x36f63a(0x275),_0x36f63a(0x5a7)],_0x5504e6=[_0x36f63a(0x275),_0x36f63a(0x5a7)],_0x1929e7=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x1ab)],_0x26cf17['BaseFieldType'][_0x36f63a(0x4b6)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x372)]]),_0x4d716b=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x36d)],_0x26cf17[_0x36f63a(0x22d)]['Person'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4ef)]]),_0x117329=_0x36f63a(0x432);function _0x1ba817(_0x5cf873){const _0x88f1fb=_0x36f63a;return typeof _0x5cf873==_0x88f1fb(0x4c8)&&_0x37064d[_0x88f1fb(0x358)](_0x5cf873);}function _0x7f18f8(_0x3fd170){const _0x3c82cb=_0x36f63a;return!_0x3fd170||typeof _0x3fd170!=_0x3c82cb(0x3e4)?{}:Object[_0x3c82cb(0x60c)](Object[_0x3c82cb(0x443)](_0x3fd170)['filter'](_0x52d952=>_0x1ba817(_0x52d952[0x1])));}function _0x35da72(_0xe4571b){const _0x2a61ee=_0x36f63a;return _0x1929e7[_0x2a61ee(0x2fa)](_0xe4571b[_0x2a61ee(0x5d6)])?[..._0x59ec3e,..._0x27df7a]:_0xe4571b[_0x2a61ee(0x5d6)]===_0x26cf17[_0x2a61ee(0x22d)]['Formula']?[..._0x59ec3e,..._0x492298(_0xe4571b)==='date'?_0x5504e6:_0x27df7a]:_0x59ec3e;}function _0xf5ac86(_0x35782e,_0x4ce06e){return _0x35da72(_0x35782e)['includes'](_0x4ce06e);}function _0x4d141c(_0x3fe975,_0x495bd6,_0x440e95){const _0x47565b=_0x36f63a;if(!_0xf5ac86(_0x3fe975,_0x440e95))return null;let _0x4deb68=_0x495bd6[_0x47565b(0x46a)](_0x328015=>!_0xacde3b(_0x3fe975,_0x328015));switch(_0x440e95){case _0x47565b(0x364):return _0x495bd6[_0x47565b(0x4cd)];case _0x47565b(0x435):return _0x4deb68['length'];case _0x47565b(0x325):return _0x495bd6['length']-_0x4deb68[_0x47565b(0x4cd)];case'unique':return new Set(_0x4deb68[_0x47565b(0x4a5)](_0x19e4bf=>_0x71a20c(_0x3fe975,_0x19e4bf)))[_0x47565b(0x52b)];case _0x47565b(0x557):{let _0x3c3c6a=_0x4f33ec(_0x3fe975,_0x4deb68);return _0x3c3c6a[_0x47565b(0x4cd)]?_0x24808a(_0x3c3c6a):null;}case _0x47565b(0x246):{let _0xf75230=_0x4f33ec(_0x3fe975,_0x4deb68);return _0xf75230[_0x47565b(0x4cd)]?_0x24808a(_0xf75230)/_0xf75230['length']:null;}case'min':{let _0x974ed6=_0x4f33ec(_0x3fe975,_0x4deb68);return _0x974ed6[_0x47565b(0x4cd)]?Math['min'](..._0x974ed6):null;}case _0x47565b(0x5a7):{let _0xbf23a2=_0x4f33ec(_0x3fe975,_0x4deb68);return _0xbf23a2[_0x47565b(0x4cd)]?Math[_0x47565b(0x5a7)](..._0xbf23a2):null;}}}function _0x5118c9(_0x449759,_0x5a7bc9,_0x304293){const _0x1da141=_0x36f63a;if(_0x304293==null||!Number['isFinite'](_0x304293))return'-';if(_0x59ec3e['includes'](_0x5a7bc9))return String(_0x304293);switch(_0x449759[_0x1da141(0x5d6)]){case _0x26cf17[_0x1da141(0x22d)]['Number']:return _0x2d4820(_0x304293,_0x36f981(_0x449759));case _0x26cf17['BaseFieldType'][_0x1da141(0x4b6)]:return _0x2d4820(_0x304293,_0x5ce3e4(_0x449759));case _0x26cf17['BaseFieldType'][_0x1da141(0x3cf)]:return _0x46e601(_0x304293,_0x449759[_0x1da141(0x4cc)]);case _0x26cf17['BaseFieldType'][_0x1da141(0x274)]:return _0x58d968(_0x304293,_0x449759);default:return _0xd58d18(_0x304293);}}function _0xacde3b(_0x5824b1,_0x2b90d3){const _0x2fb7a0=_0x36f63a;if(_0x2b90d3==null)return!0x0;if(typeof _0x2b90d3==_0x2fb7a0(0x4c8))return _0x2b90d3[_0x2fb7a0(0x3ce)]()==='';if(Array[_0x2fb7a0(0x2c4)](_0x2b90d3))return _0x5824b1[_0x2fb7a0(0x5d6)]===_0x26cf17['BaseFieldType'][_0x2fb7a0(0x50b)]?!_0x2b90d3[_0x2fb7a0(0x2c3)](_0x58d808):_0x2b90d3[_0x2fb7a0(0x4cd)]===0x0;if(_0x5824b1[_0x2fb7a0(0x5d6)]===_0x26cf17[_0x2fb7a0(0x22d)][_0x2fb7a0(0x205)]&&typeof _0x2b90d3==_0x2fb7a0(0x3e4)){let _0x2773c3=_0x2b90d3;return[_0x2773c3[_0x2fb7a0(0x1c8)],_0x2773c3['url']]['every'](_0x56487f=>_0x56487f==null||String(_0x56487f)[_0x2fb7a0(0x3ce)]()==='');}return!0x1;}function _0x4f33ec(_0x3a79ed,_0x3dae76){let _0x331ce8=[];for(let _0x33b510 of _0x3dae76){let _0x41a4c3=_0x13fbba(_0x3a79ed,_0x33b510);_0x41a4c3!=null&&_0x331ce8['push'](_0x41a4c3);}return _0x331ce8;}function _0x13fbba(_0x43a31f,_0xa7a4ba){const _0x419cd7=_0x36f63a;if(typeof _0xa7a4ba==_0x419cd7(0x5ac))return Number[_0x419cd7(0x26b)](_0xa7a4ba)?_0xa7a4ba:null;if(_0x43a31f['type']!==_0x26cf17[_0x419cd7(0x22d)][_0x419cd7(0x274)]&&typeof _0xa7a4ba==_0x419cd7(0x4c8)&&_0xa7a4ba[_0x419cd7(0x3ce)]()!==''){let _0x184e2=Number(_0xa7a4ba);return Number['isFinite'](_0x184e2)?_0x184e2:null;}return null;}function _0x24808a(_0x260dbb){const _0x275c3c=_0x36f63a;let _0x2de28b=0x0,_0x461e00=0x0;for(let _0x3975a3 of _0x260dbb){let _0x296545=_0x2de28b+_0x3975a3;_0x461e00+=Math['abs'](_0x2de28b)>=Math[_0x275c3c(0x57c)](_0x3975a3)?_0x2de28b-_0x296545+_0x3975a3:_0x3975a3-_0x296545+_0x2de28b,_0x2de28b=_0x296545;}return _0x2de28b+_0x461e00;}function _0x71a20c(_0x28f566,_0x3cf4c6){const _0x5842b9=_0x36f63a;return _0x4d716b[_0x5842b9(0x2fa)](_0x28f566[_0x5842b9(0x5d6)])&&Array['isArray'](_0x3cf4c6)?_0x5ab050([...new Set(_0x3cf4c6['map'](_0xe0fc7c=>_0x5ab050(_0x4f4769(_0xe0fc7c))))][_0x5842b9(0x30f)]()):_0x5ab050(_0x4f4769(_0x3cf4c6));}function _0x4f4769(_0x515de3){const _0x562889=_0x36f63a;return Array[_0x562889(0x2c4)](_0x515de3)?_0x515de3[_0x562889(0x4a5)](_0x4f4769):_0x515de3&&typeof _0x515de3==_0x562889(0x3e4)?Object[_0x562889(0x60c)](Object[_0x562889(0x443)](_0x515de3)[_0x562889(0x30f)](([_0x11b043],[_0x52eb8f])=>_0x11b043['localeCompare'](_0x52eb8f))[_0x562889(0x4a5)](([_0x9d465c,_0x9daabb])=>[_0x9d465c,_0x4f4769(_0x9daabb)])):_0x515de3;}function _0x5ab050(_0x116ce4){const _0x5bf9c2=_0x36f63a;return JSON[_0x5bf9c2(0x40a)](_0x116ce4)??_0x5bf9c2(0x31d);}function _0x58d808(_0x13c58e){const _0x4fabea=_0x36f63a;if(typeof _0x13c58e==_0x4fabea(0x4c8))return _0x13c58e[_0x4fabea(0x3ce)]()!=='';if(!_0x13c58e||typeof _0x13c58e!=_0x4fabea(0x3e4))return!0x1;let _0x2328b8=_0x13c58e;return[_0x2328b8['id'],_0x2328b8[_0x4fabea(0x3f8)],_0x2328b8[_0x4fabea(0x31b)],_0x2328b8[_0x4fabea(0x3f2)],_0x2328b8[_0x4fabea(0x2d0)]][_0x4fabea(0x2c3)](_0x7c2422=>_0x7c2422!=null&&String(_0x7c2422)[_0x4fabea(0x3ce)]()!=='');}function _0x36f981(_0x3ec027){const _0x28edbc=_0x36f63a;let _0x8871db=_0x4ef6d0(_0x3ec027[_0x28edbc(0x4cc)]);return{'decimalPlaces':_0x45ee23(_0x8871db[_0x28edbc(0x289)],0x0,0x14,0x2),'separatorStyle':typeof _0x8871db['separatorStyle']==_0x28edbc(0x4c8)?_0x8871db[_0x28edbc(0x1f3)]:_0x28edbc(0x222),'locale':typeof _0x8871db[_0x28edbc(0x3b8)]==_0x28edbc(0x4c8)?_0x8871db['locale']:void 0x0,'useThousands':_0x8871db['useThousands']!==!0x1,'abbreviation':typeof _0x8871db[_0x28edbc(0x219)]==_0x28edbc(0x4c8)?_0x8871db[_0x28edbc(0x219)]:_0x28edbc(0x272)};}function _0x5ce3e4(_0x4da2ff){const _0x550144=_0x36f63a;let _0x2124ec=_0x4ef6d0(_0x4da2ff[_0x550144(0x4cc)]);return{..._0x36f981(_0x4da2ff),'currencySymbol':String(_0x2124ec['currencySymbol']??'$')};}function _0x58d968(_0x1b5f31,_0x491e27){const _0x26d90a=_0x36f63a;let _0x32ad77=_0x3e8b5d(_0x491e27);if(_0x32ad77===_0x117329)return _0xd58d18(_0x1b5f31);try{return String(_0x26cf17[_0x26d90a(0x4d2)][_0x26d90a(0x5da)](_0x32ad77,_0x1b5f31,{'throws':!0x1}));}catch{return _0xd58d18(_0x1b5f31);}}function _0x492298(_0x180003){const _0x4cf3a0=_0x36f63a;let _0xc7556d=_0x4ef6d0(_0x4ef6d0(_0x180003[_0x4cf3a0(0x4cc)])[_0x4cf3a0(0x4d2)]);return typeof _0xc7556d[_0x4cf3a0(0x5d6)]=='string'?_0xc7556d[_0x4cf3a0(0x5d6)]:_0x4cf3a0(0x561);}function _0x3e8b5d(_0x2f1c4f){const _0x2050da=_0x36f63a;let _0x54c9cb=_0x4ef6d0(_0x4ef6d0(_0x2f1c4f['config'])[_0x2050da(0x4d2)]);return String(_0x54c9cb['pattern']??_0x117329)['trim']()||_0x117329;}function _0xd58d18(_0x303a74){const _0x4144c4=_0x36f63a;return String(Number[_0x4144c4(0x497)](_0x303a74)?_0x303a74:Math['round']((_0x303a74+0x2**-0x34)*0x64)/0x64);}function _0x4ef6d0(_0x9b9bd7){const _0x1815c8=_0x36f63a;return _0x9b9bd7&&typeof _0x9b9bd7==_0x1815c8(0x3e4)&&!Array['isArray'](_0x9b9bd7)?_0x9b9bd7:{};}function _0x2eca2c(_0x52e1f3){const _0x27b6f2=_0x36f63a;if(_0x52e1f3==null||_0x52e1f3==='')return null;let _0x309d69=typeof _0x52e1f3==_0x27b6f2(0x5ac)?_0x52e1f3:Number(_0x52e1f3);return Number[_0x27b6f2(0x26b)](_0x309d69)?_0x309d69:null;}function _0x45ee23(_0x4df9c7,_0x2c8f4c,_0x4b502d,_0x11469e){const _0x1a732c=_0x36f63a;let _0x28c0df=_0x2eca2c(_0x4df9c7);return _0x28c0df==null?_0x11469e:Math['max'](_0x2c8f4c,Math[_0x1a732c(0x275)](_0x4b502d,Math[_0x1a732c(0x1af)](_0x28c0df)));}function _0x4a5d23(_0x2367aa,_0x33598d){const _0xa840d7=_0x36f63a;let _0x15cbe4=_0x26cf17[_0xa840d7(0x3e7)][_0xa840d7(0x269)](_0x2367aa),_0x5d8929=_0x33598d[_0xa840d7(0x25f)]===!0x0,_0x3c72bb=new Map(),_0x1c5699=_0x33598d[_0xa840d7(0x3fc)]??(()=>_0xa840d7(0x51f)+(0x0,_0x26cf17[_0xa840d7(0x5af)])(0x8)),_0x15723a=_0x15cbe4[_0xa840d7(0x226)];return _0x33598d[_0xa840d7(0x51a)]&&(_0x15723a=_0x15cbe4[_0xa840d7(0x226)][_0xa840d7(0x4a5)](_0x300081=>{let _0x420bdb=_0x1c5699();return _0x3c72bb['set'](_0x300081,_0x420bdb),_0x420bdb;})),{..._0x15cbe4,'id':_0x33598d['id'],'name':_0x33598d[_0xa840d7(0x3f8)],'records':_0x5d8929?_0x15cbe4[_0xa840d7(0x4c9)]:{},'recordOrder':_0x5d8929?_0x15cbe4[_0xa840d7(0x2ba)]:[],'rowIndex':_0x5d8929?_0x15cbe4['rowIndex']:{},'rowId':_0x5d8929?_0x15cbe4[_0xa840d7(0x51d)]:{},'cellData':_0x5d8929?_0x15cbe4[_0xa840d7(0x61f)]:{},'resources':_0x5d8929?_0x15cbe4[_0xa840d7(0x26a)]:{},'viewOrder':_0x15723a,'views':Object[_0xa840d7(0x60c)](Object['entries'](_0x15cbe4[_0xa840d7(0x3d8)]??{})[_0xa840d7(0x4a5)](([_0x4b19b5,_0x6cadb5])=>{const _0x330b1b=_0xa840d7;let _0x2c550e=_0x3c72bb[_0x330b1b(0x558)](_0x4b19b5)??(_0x33598d['regenerateViewIds']?_0x1c5699():_0x4b19b5);return[_0x2c550e,{..._0x6cadb5,'id':_0x2c550e,'tableId':_0x33598d['id']}];}))};}var _0x3ba0a5=_0x36f63a(0x408),_0x594a2f='1.3.0';let _0x5e802a={},_0x49f644={};function _0x4bcf2f(_0x29ae19){const _0xc7fd69=_0x36f63a;return new _0x5070bf()[_0xc7fd69(0x2b7)](_0x29ae19);}function _0x2d6e39(_0x2b688f){const _0x56814e=_0x36f63a;return _0x2b688f[_0x56814e(0x530)][_0x56814e(0x4a5)](_0x205ae1=>({'unitId':_0x2b688f[_0x56814e(0x41e)],'sheetId':_0x2b688f[_0x56814e(0x353)],'range':{'startRow':_0x205ae1[_0x56814e(0x5dd)],'endRow':_0x205ae1[_0x56814e(0x5dd)],'startColumn':_0x205ae1[_0x56814e(0x46c)],'endColumn':_0x205ae1[_0x56814e(0x46c)]}}));}function _0x115dfd(_0x1bfd7d,_0xf29cb7){const _0x5759cb=_0x36f63a;return{[_0x1bfd7d]:Object['fromEntries'](_0xf29cb7[_0x5759cb(0x4a5)](_0x53353e=>[_0x53353e,'1']))};}let _0x2f870d=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x25d11f,_0x441771){const _0x1f5834=_0x36f63a;super(),this[_0x1f5834(0x3e6)]=_0x25d11f,this[_0x1f5834(0x299)]=_0x441771,this[_0x1f5834(0x50a)]();}['_initialize'](){const _0x4fb356=_0x36f63a;this['_activeDirtyManagerService'][_0x4fb356(0x397)](_0x22dd4d['id'],{'commandId':_0x22dd4d['id'],'getDirtyData':_0x1713f0=>this['_getJson1DirtyData'](_0x1713f0[_0x4fb356(0x327)])}),this['disposeWithMe']((0x0,_0x26cf17[_0x4fb356(0x3a2)])(()=>{this['_activeDirtyManagerService']['remove'](_0x22dd4d['id']);}));}[_0x36f63a(0x612)](_0x3be983,_0x22e763){const _0x195bed=_0x36f63a;let _0x625c94=this[_0x195bed(0x299)][_0x195bed(0x2e3)](_0x3be983,_0x26cf17['UniverInstanceType'][_0x195bed(0x440)]);return(_0x625c94==null?void 0x0:_0x625c94[_0x195bed(0x509)]()[_0x195bed(0x594)][_0x22e763])??null;}[_0x36f63a(0x239)](_0x5504e0){const _0x39fe02=_0x36f63a;if(_0x5504e0['trigger']===_0x39fe02(0x334))return{};if(!_0x5504e0['unitId']||!_0x5504e0['op'])return{'clearDependencyTreeCache':this[_0x39fe02(0x53a)](),'forceCalculation':!0x0};let _0x530787=_0x4bcf2f(_0x5504e0['op']),_0x3163d5=this[_0x39fe02(0x4be)](_0x5504e0['unitId'],_0x530787);if(_0x3163d5[_0x39fe02(0x4cd)])return{'clearDependencyTreeCache':_0x115dfd(_0x5504e0[_0x39fe02(0x41e)],_0x3163d5),'forceCalculation':!0x0};let _0x272ff5=Object[_0x39fe02(0x443)](this[_0x39fe02(0x519)](_0x5504e0[_0x39fe02(0x41e)],_0x530787))[_0x39fe02(0x35a)](([_0x4dbde5,_0x309ddd])=>_0x2d6e39({'unitId':_0x5504e0[_0x39fe02(0x41e)],'tableId':_0x4dbde5,'patches':_0x309ddd}));return _0x272ff5['length']?{'dirtyRanges':_0x272ff5}:{};}[_0x36f63a(0x4be)](_0x43f605,_0x5c8eee){const _0x5d8b45=_0x36f63a;let _0x38713b=_0x5c8eee[_0x5d8b45(0x46a)](_0x416741=>_0x416741[_0x5d8b45(0x560)]!==_0x5d8b45(0x49d))['flatMap'](_0x3ab401=>_0x3ab401[_0x5d8b45(0x353)]?[_0x3ab401[_0x5d8b45(0x353)]]:this['_getAllTableIds'](_0x43f605));return Array[_0x5d8b45(0x356)](new Set(_0x38713b));}[_0x36f63a(0x519)](_0x46d44f,_0x26d45d){const _0x4bb8fe=_0x36f63a;let _0x319b26=new Set();return _0x26d45d[_0x4bb8fe(0x49f)]((_0x278de0,_0x390f98)=>{const _0x50ce93=_0x4bb8fe;let _0x4e7468=this[_0x50ce93(0x5e6)](_0x46d44f,_0x390f98);if(!_0x4e7468)return _0x278de0;let _0x246199=_0x390f98[_0x50ce93(0x353)]+':'+_0x4e7468[_0x50ce93(0x5dd)]+':'+_0x4e7468['col'];return _0x319b26[_0x50ce93(0x2fa)](_0x246199)||(_0x319b26[_0x50ce93(0x1ce)](_0x246199),_0x278de0[_0x390f98[_0x50ce93(0x353)]]=_0x278de0[_0x390f98['tableId']]??[],_0x278de0[_0x390f98[_0x50ce93(0x353)]][_0x50ce93(0x605)](_0x4e7468)),_0x278de0;},{});}['_toDirtyRangePatch'](_0x84917b,_0x5c7d10){const _0x5f2504=_0x36f63a;if(_0x5c7d10[_0x5f2504(0x560)]!==_0x5f2504(0x49d))return null;if(_0x5c7d10[_0x5f2504(0x5dd)]!=null&&_0x5c7d10[_0x5f2504(0x582)]!=null)return{'row':_0x5c7d10['row'],'col':_0x5c7d10[_0x5f2504(0x582)],'value':null};if(!_0x5c7d10['recordId']||!_0x5c7d10['fieldId'])return null;let _0x597475=this[_0x5f2504(0x612)](_0x84917b,_0x5c7d10['tableId']);if(!_0x597475)return null;let _0x416d2d=_0x45e3a4(_0x597475,_0x5c7d10[_0x5f2504(0x571)],_0x5c7d10[_0x5f2504(0x39c)]);return _0x416d2d?{'row':_0x416d2d[_0x5f2504(0x5dd)],'col':_0x416d2d[_0x5f2504(0x46c)],'value':null}:null;}[_0x36f63a(0x36b)](_0x2284f6){const _0x23c059=_0x36f63a;let _0x556c27=this[_0x23c059(0x299)]['getUnit'](_0x2284f6,_0x26cf17[_0x23c059(0x1ef)][_0x23c059(0x440)]);return Object[_0x23c059(0x20f)]((_0x556c27==null?void 0x0:_0x556c27['getSnapshot']()[_0x23c059(0x594)])??{})[_0x23c059(0x4a5)](_0x26f438=>_0x26f438['id']);}[_0x36f63a(0x53a)](){const _0x3a6a91=_0x36f63a;let _0x49bc4c=this[_0x3a6a91(0x299)][_0x3a6a91(0x1c0)](_0x26cf17[_0x3a6a91(0x1ef)][_0x3a6a91(0x440)])[_0x3a6a91(0x4a5)](_0xe069ba=>_0x115dfd(_0xe069ba[_0x3a6a91(0x4f5)](),Object[_0x3a6a91(0x40d)](_0xe069ba[_0x3a6a91(0x509)]()[_0x3a6a91(0x594)])));return Object[_0x3a6a91(0x25c)]({},..._0x49bc4c);}};_0x2f870d=_0x184c3d([_0x5712fb(0x0,_0x386470[_0x36f63a(0x43a)]),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x4a8)])],_0x2f870d);let _0x5ac30b=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x3641d8,_0x42e9cd,_0x5b003f,_0x2b87ee){const _0x1500a5=_0x36f63a;super(),this[_0x1500a5(0x417)]=_0x3641d8,this[_0x1500a5(0x299)]=_0x42e9cd,this[_0x1500a5(0x347)]=_0x5b003f,this['_formulaCalculationSessionService']=_0x2b87ee,_0x52a6e5(this,'_formulaService',new _0x24626c()),_0x52a6e5(this,_0x1500a5(0x331),new Map()),_0x52a6e5(this,_0x1500a5(0x413),new Set()),_0x52a6e5(this,_0x1500a5(0x32d),Promise[_0x1500a5(0x3db)]()),_0x52a6e5(this,_0x1500a5(0x5ef),!0x1),this['_initialize']();}[_0x36f63a(0x50a)](){const _0x2d5a55=_0x36f63a;this[_0x2d5a55(0x299)]['getAllUnitsForType'](_0x26cf17[_0x2d5a55(0x1ef)][_0x2d5a55(0x440)])[_0x2d5a55(0x1bf)](_0x3d438a=>{const _0x512ad3=_0x2d5a55;this[_0x512ad3(0x235)](_0x3d438a);}),this[_0x2d5a55(0x492)](this['_univerInstanceService'][_0x2d5a55(0x5eb)](_0x26cf17['UniverInstanceType'][_0x2d5a55(0x440)])[_0x2d5a55(0x455)](({unit:_0x519019})=>{const _0x446e79=_0x2d5a55;this[_0x446e79(0x235)](_0x519019);})),this[_0x2d5a55(0x492)](this['_univerInstanceService'][_0x2d5a55(0x4b7)](_0x26cf17[_0x2d5a55(0x1ef)][_0x2d5a55(0x440)])['subscribe'](_0x50e37c=>{const _0x2f03dc=_0x2d5a55;this[_0x2f03dc(0x2ec)](()=>this[_0x2f03dc(0x59d)](_0x50e37c[_0x2f03dc(0x4f5)]()));})),this['disposeWithMe'](this[_0x2d5a55(0x417)]['onCommandExecuted'](_0x35eee7=>this[_0x2d5a55(0x1bd)](_0x35eee7)));}[_0x36f63a(0x1bd)](_0x57224d){const _0x14fcdc=_0x36f63a;if(_0x57224d['id']===_0x386470[_0x14fcdc(0x23c)]['id']){_0x201052(_0x57224d['params'])&&this['_applyFormulaResult'](_0x57224d[_0x14fcdc(0x327)]);return;}if(this['_applyingFormulaResults']||_0x57224d['id']!==_0x22dd4d['id'])return;let _0x5abe00=_0x38f433(_0x57224d[_0x14fcdc(0x327)])?_0x57224d[_0x14fcdc(0x327)]:void 0x0,_0x44bf68=_0x5abe00!=null&&_0x5abe00[_0x14fcdc(0x41e)]?[this['_univerInstanceService'][_0x14fcdc(0x2e3)](_0x5abe00['unitId'],_0x26cf17[_0x14fcdc(0x1ef)][_0x14fcdc(0x440)])]['filter'](_0x5c9a96=>!!_0x5c9a96):this['_univerInstanceService'][_0x14fcdc(0x1c0)](_0x26cf17[_0x14fcdc(0x1ef)][_0x14fcdc(0x440)]),_0x2f7d19=_0x5abe00==null?void 0x0:_0x5abe00['op'];_0x44bf68[_0x14fcdc(0x1bf)](_0x5de3ea=>{const _0x678e44=_0x14fcdc;let _0x36211d=_0x2f7d19?_0x4bcf2f(_0x2f7d19):[];(!_0x2f7d19||_0x36211d[_0x678e44(0x2c3)](_0x3659b9=>_0x3659b9[_0x678e44(0x560)]!==_0x678e44(0x49d)))&&this[_0x678e44(0x235)](_0x5de3ea);});}[_0x36f63a(0x235)](_0x5f45b0){const _0x2f80fd=_0x36f63a;let _0x6e4e7b=_0x5f45b0[_0x2f80fd(0x4f5)]();this[_0x2f80fd(0x413)][_0x2f80fd(0x2fa)](_0x6e4e7b)||(this[_0x2f80fd(0x413)]['add'](_0x6e4e7b),this[_0x2f80fd(0x2ec)](async()=>{const _0x46d4c2=_0x2f80fd;this[_0x46d4c2(0x413)][_0x46d4c2(0x346)](_0x6e4e7b),await this[_0x46d4c2(0x403)](_0x5f45b0);}));}async[_0x36f63a(0x403)](_0xba1476){const _0x439de5=_0x36f63a;let _0x3f6d00=_0xba1476[_0x439de5(0x4f5)](),_0x1c499f=this[_0x439de5(0x30a)][_0x439de5(0x5ff)](_0xba1476[_0x439de5(0x509)]()),_0x3f1285=new Set(_0x1c499f[_0x439de5(0x4a5)](({tableName:_0x3caca5})=>_0x3caca5)),_0x536c4e=this[_0x439de5(0x331)][_0x439de5(0x558)](_0x3f6d00)??new Set();for(let _0x303384 of _0x536c4e)if(!_0x3f1285[_0x439de5(0x2fa)](_0x303384)&&!await this[_0x439de5(0x576)](_0x386470['RemoveSuperTableMutation']['id'],{'unitId':_0x3f6d00,'tableName':_0x303384}))return;for(let {tableName:_0x5eb7b5,reference:_0x3313da}of _0x1c499f)if(!await this[_0x439de5(0x576)](_0x386470['SetSuperTableMutation']['id'],{'unitId':_0x3f6d00,'tableName':_0x5eb7b5,'reference':_0x3313da}))return;this['_registeredSuperTableNames']['set'](_0x3f6d00,_0x3f1285);}async['_removeSuperTables'](_0x683bb5){const _0x38f748=_0x36f63a;let _0x57241f=this[_0x38f748(0x331)][_0x38f748(0x558)](_0x683bb5)??new Set();for(let _0x459c29 of _0x57241f)if(!await this['_executeSuperTableMutationWhileActive'](_0x386470['RemoveSuperTableMutation']['id'],{'unitId':_0x683bb5,'tableName':_0x459c29}))return;this[_0x38f748(0x331)][_0x38f748(0x346)](_0x683bb5);}async[_0x36f63a(0x576)](_0x4b4709,_0x415ce6){const _0xd5a3a7=_0x36f63a;return!this['_disposed']&&await this[_0xd5a3a7(0x417)][_0xd5a3a7(0x2f7)](_0x4b4709,_0x415ce6,{'onlyLocal':!0x0})&&!this[_0xd5a3a7(0x332)];}[_0x36f63a(0x2ec)](_0x439f1a){const _0x102d12=_0x36f63a;this['_formulaSyncQueue']=this[_0x102d12(0x32d)]['then'](_0x439f1a,_0x439f1a)[_0x102d12(0x28d)](()=>void 0x0);}['_applyFormulaResult'](_0x1323b5){const _0x4ff33a=_0x36f63a;let _0x564a18=this[_0x4ff33a(0x299)][_0x4ff33a(0x1c0)](_0x26cf17[_0x4ff33a(0x1ef)][_0x4ff33a(0x440)]);if(!_0x564a18[_0x4ff33a(0x2c3)](_0x3cd785=>{const _0x427637=_0x4ff33a;var _0x10fd6e;return((_0x10fd6e=_0x1323b5[_0x427637(0x4f2)])==null?void 0x0:_0x10fd6e[_0x3cd785[_0x427637(0x4f5)]()])!=null;}))return;let _0x1bd45e=_0x564a18[_0x4ff33a(0x35a)](_0x5f5551=>_0x5d816f(_0x5f5551[_0x4ff33a(0x509)](),_0x1323b5));if(!_0x1bd45e[_0x4ff33a(0x4cd)]){this[_0x4ff33a(0x513)][_0x4ff33a(0x481)](_0x55cce4[_0x4ff33a(0x2c8)]['BASE'],_0x1323b5);return;}let _0x1b150f=new _0x3c2e91(),_0x2bfa5f=_0x1bd45e['flatMap'](_0x36cce7=>_0x2d6e39({'unitId':_0x36cce7[_0x4ff33a(0x41e)],'tableId':_0x36cce7['tableId'],'patches':_0x36cce7[_0x4ff33a(0x530)]}));this[_0x4ff33a(0x5ef)]=!0x0,(async()=>{const _0x44b4be=_0x4ff33a;for(let _0xcd9fc5 of _0x1bd45e){let _0x2b6e49=this[_0x44b4be(0x299)][_0x44b4be(0x2e3)](_0xcd9fc5[_0x44b4be(0x41e)],_0x26cf17[_0x44b4be(0x1ef)][_0x44b4be(0x440)]);_0x2b6e49&&await this[_0x44b4be(0x417)][_0x44b4be(0x2f7)](_0x22dd4d['id'],{'unitId':_0xcd9fc5['unitId'],'op':_0x1b150f[_0x44b4be(0x4ff)](_0x2b6e49[_0x44b4be(0x509)](),_0xcd9fc5[_0x44b4be(0x353)],_0xcd9fc5[_0x44b4be(0x530)]),'trigger':_0x386470[_0x44b4be(0x23c)]['id']},{'onlyLocal':!0x0});}await this[_0x44b4be(0x417)][_0x44b4be(0x2f7)](_0x386470[_0x44b4be(0x25a)]['id'],{'dirtyRanges':_0x2bfa5f},{'onlyLocal':!0x0});})()[_0x4ff33a(0x23b)](()=>{const _0x2795e3=_0x4ff33a;this[_0x2795e3(0x5ef)]=!0x1,this['_formulaCalculationSessionService'][_0x2795e3(0x481)](_0x55cce4[_0x2795e3(0x2c8)][_0x2795e3(0x1f1)],_0x1323b5);});}};_0x5ac30b=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x1,_0x26cf17['IUniverInstanceService']),_0x5712fb(0x2,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x386470[_0x36f63a(0x345)])),_0x5712fb(0x3,(0x0,_0x26cf17['Inject'])(_0x55cce4[_0x36f63a(0x298)]))],_0x5ac30b);function _0x38f433(_0xc412b2){const _0x2ceade=_0x36f63a;return typeof _0xc412b2==_0x2ceade(0x3e4)&&!!_0xc412b2&&_0x2ceade(0x41e)in _0xc412b2&&typeof _0xc412b2['unitId']=='string'&&'op'in _0xc412b2&&Array['isArray'](_0xc412b2['op']);}function _0x201052(_0xed0f10){const _0x5e3e86=_0x36f63a;return typeof _0xed0f10==_0x5e3e86(0x3e4)&&!!_0xed0f10&&_0x5e3e86(0x4f2)in _0xed0f10&&_0x5e3e86(0x2f5)in _0xed0f10;}let _0x4766e0=new Set([_0x144927['id'],_0x3937db['id'],_0x25cd5e['id']]),_0x5e7595=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0xddfd51,_0x33206f,_0x216b0f,_0x81774e){const _0x42b13a=_0x36f63a;super(),this[_0x42b13a(0x306)]=_0xddfd51,this[_0x42b13a(0x417)]=_0x33206f,this[_0x42b13a(0x377)]=_0x216b0f,this[_0x42b13a(0x58e)]=_0x81774e,this[_0x42b13a(0x58e)][_0x42b13a(0x1c0)](_0x26cf17[_0x42b13a(0x1ef)][_0x42b13a(0x440)])['forEach'](_0x2670b4=>this[_0x42b13a(0x221)](_0x2670b4[_0x42b13a(0x4f5)]())),this[_0x42b13a(0x492)](this[_0x42b13a(0x58e)][_0x42b13a(0x5eb)](_0x26cf17['UniverInstanceType']['UNIVER_BASE'])['subscribe'](({unit:_0x5598e0})=>this[_0x42b13a(0x221)](_0x5598e0[_0x42b13a(0x4f5)]()))),this['disposeWithMe'](this[_0x42b13a(0x417)][_0x42b13a(0x3c0)]((_0x187611,_0x10d05b)=>this[_0x42b13a(0x210)](_0x187611,_0x10d05b))),this[_0x42b13a(0x492)](this[_0x42b13a(0x58e)][_0x42b13a(0x4b7)](_0x26cf17[_0x42b13a(0x1ef)][_0x42b13a(0x440)])[_0x42b13a(0x455)](_0x5a4292=>{const _0x555703=_0x42b13a;this[_0x555703(0x306)][_0x555703(0x558)](_0x26cf17[_0x555703(0x27a)])[_0x555703(0x319)](_0x5a4292[_0x555703(0x4f5)]()),_0x26786d(this[_0x555703(0x377)],_0x5a4292[_0x555703(0x4f5)]());}));}[_0x36f63a(0x221)](_0xb96b8f){const _0x5a28d4=_0x36f63a;_0x46e218['forEach'](_0x112240=>{const _0x448154=_0x45c5;let _0x17d4ed=_0x353921(_0xb96b8f,_0xb96b8f,_0x112240);this['_permissionService'][_0x448154(0x2da)](_0x17d4ed['id'])||this['_permissionService']['addPermissionPoint'](_0x17d4ed);}),this[_0x5a28d4(0x306)][_0x5a28d4(0x558)](_0x26cf17[_0x5a28d4(0x27a)])[_0x5a28d4(0x1f6)]({'unitId':_0xb96b8f,'objectId':_0xb96b8f,'objectType':_0xf5110d[_0x5a28d4(0x4de)][_0x5a28d4(0x285)]});}[_0x36f63a(0x210)](_0x241aa1,_0x2e4c86){const _0x24f0db=_0x36f63a;var _0x5bde91;if(_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x251)]||_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x301)])return;let _0x2f4f07=_0x2d1f5f(_0x241aa1[_0x24f0db(0x327)])?_0x241aa1[_0x24f0db(0x327)]:void 0x0;if(_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x24b)]&&_0x241aa1['id']==='base.mutation.apply-base-json1'&&(_0x2f4f07==null?void 0x0:_0x2f4f07['trigger'])===_0x386470[_0x24f0db(0x23c)]['id'])return;let _0x1e4388=_0x652a6e(_0x241aa1['id']),_0x4b5940=_0x13b40e(_0x2f4f07==null?void 0x0:_0x2f4f07['unitId'],_0x2e4c86)??(_0x1e4388?(_0x5bde91=this['_instanceService'][_0x24f0db(0x3d6)](_0x26cf17['UniverInstanceType'][_0x24f0db(0x440)]))==null?void 0x0:_0x5bde91[_0x24f0db(0x4f5)]():void 0x0);if(!_0x4b5940||this[_0x24f0db(0x58e)][_0x24f0db(0x5a3)](_0x4b5940)!==_0x26cf17['UniverInstanceType'][_0x24f0db(0x440)])return;if(_0x1e4388){if(!_0x3139d7(this[_0x24f0db(0x377)],_0x4b5940,_0x4b5940,_0x1e4388))throw this[_0x24f0db(0x306)][_0x24f0db(0x558)](_0x26cf17[_0x24f0db(0x264)])[_0x24f0db(0x2c1)](_0x4b5940),new _0x26cf17['CustomCommandExecutionError']('Base\x20'+_0xf5110d[_0x24f0db(0x5d3)][_0x1e4388]+_0x24f0db(0x4b2));return;}if(_0x4766e0[_0x24f0db(0x2fa)](_0x241aa1['id'])||!_0x241aa1['id'][_0x24f0db(0x57d)](_0x24f0db(0x254))&&!_0x241aa1['id'][_0x24f0db(0x57d)](_0x24f0db(0x318)))return;let _0x1d786a=this[_0x24f0db(0x58e)][_0x24f0db(0x2e3)](_0x4b5940,_0x26cf17[_0x24f0db(0x1ef)][_0x24f0db(0x440)]),_0x2335f7=_0x1d786a?_0x2586d1(_0x1d786a,_0x2f4f07??{},_0x241aa1['id']):[];if(!_0x1d786a||!_0x2c4137(this[_0x24f0db(0x377)],_0x4b5940,_0x2335f7))throw this[_0x24f0db(0x306)][_0x24f0db(0x558)](_0x26cf17[_0x24f0db(0x264)])[_0x24f0db(0x2c1)](_0x4b5940,_0x2335f7),new _0x26cf17[(_0x24f0db(0x5d5))](_0x24f0db(0x59f));}};_0x5e7595=_0x184c3d([_0x5712fb(0x0,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x2,_0x26cf17['IPermissionService']),_0x5712fb(0x3,_0x26cf17['IUniverInstanceService'])],_0x5e7595);function _0x13b40e(_0x259b42,_0x89bd96){const _0x12b78d=_0x36f63a;return typeof _0x259b42==_0x12b78d(0x4c8)?_0x259b42:typeof(_0x89bd96==null?void 0x0:_0x89bd96['unitId'])==_0x12b78d(0x4c8)?_0x89bd96[_0x12b78d(0x41e)]:void 0x0;}function _0x652a6e(_0x4c8892){const _0x1b1236=_0x36f63a;if(_0x4c8892===_0x1b1236(0x266)||_0x4c8892===_0x1b1236(0x2f6))return _0xf5110d['UnitAction'][_0x1b1236(0x451)];if(_0x4c8892['startsWith'](_0x1b1236(0x533))||_0x4c8892[_0x1b1236(0x57d)](_0x1b1236(0x4c3)))return _0xf5110d[_0x1b1236(0x5d3)][_0x1b1236(0x49b)];}function _0x2586d1(_0x3c6e25,_0x4c94b3,_0xdd42b8){const _0x309d87=_0x36f63a;if(_0xdd42b8===_0x309d87(0x2c5)&&_0x5facd0(_0x4c94b3['op']))return _0x5e3096(_0x3c6e25,_0x4c94b3['op']);let _0x423a44=new Set(),_0x57ec60=_0xb0be99(_0x4c94b3,_0x309d87(0x551)),_0x2f070e=typeof _0x4c94b3[_0x309d87(0x353)]==_0x309d87(0x4c8)?_0x4c94b3[_0x309d87(0x353)]:_0x57ec60[0x0];if(_0x57ec60[_0x309d87(0x1bf)](_0x49fe68=>_0x423a44[_0x309d87(0x1ce)](_0x1c40e5(_0x49fe68))),!_0x2f070e)return[..._0x423a44];let _0x4de621=_0x3c6e25[_0x309d87(0x509)]()[_0x309d87(0x594)][_0x2f070e],_0x30bd1d=new Set(_0xb0be99(_0x4c94b3,_0x309d87(0x5f1))),_0x3ec3b1=new Set(_0xb0be99(_0x4c94b3,_0x309d87(0x1b5))),_0x32b6c7=new Set(_0xb0be99(_0x4c94b3,'view'));return _0x4b5884(_0x4de621,_0x4c94b3[_0x309d87(0x530)],_0x3ec3b1,_0x30bd1d),_0x185c4c(_0x4c94b3,_0x30bd1d),_0x30bd1d[_0x309d87(0x1bf)](_0x155ff6=>_0x423a44[_0x309d87(0x1ce)](_0x32d579(_0x2f070e,_0x155ff6))),_0x3ec3b1['forEach'](_0x21693f=>_0x423a44[_0x309d87(0x1ce)](_0x523656(_0x2f070e,_0x21693f))),_0x32b6c7[_0x309d87(0x1bf)](_0x42b017=>_0x423a44[_0x309d87(0x1ce)](_0x3b5ace(_0x2f070e,_0x42b017))),[..._0x423a44];}function _0x5e3096(_0x1e3d87,_0x304205){const _0x25c07d=_0x36f63a;let _0x24b779=_0x1e3d87[_0x25c07d(0x509)](),_0x1f56a5=new _0x5070bf()['getAffectedRanges'](_0x304205),_0x330c3b=_0xedd3ea(_0x304205),_0x3781c6=new Set();return _0x1f56a5[_0x25c07d(0x1bf)](_0x166443=>{const _0x1265ba=_0x25c07d;var _0x268c6f,_0x5e2922;let {tableId:_0x14a622}=_0x166443;if(!_0x14a622)return;_0x3781c6['add'](_0x1c40e5(_0x14a622));let _0x108062=_0x24b779[_0x1265ba(0x594)][_0x14a622],_0x609dc2=_0x166443[_0x1265ba(0x571)]??(_0x166443[_0x1265ba(0x5dd)]==null||_0x108062==null||(_0x268c6f=_0x108062[_0x1265ba(0x51d)])==null?void 0x0:_0x268c6f[_0x166443[_0x1265ba(0x5dd)]]),_0x81f7f1=_0x166443[_0x1265ba(0x39c)]??(_0x166443['column']==null||_0x108062==null||(_0x5e2922=_0x108062[_0x1265ba(0x3e3)])==null?void 0x0:_0x5e2922[_0x166443[_0x1265ba(0x582)]]);_0x609dc2&&_0x3781c6[_0x1265ba(0x1ce)](_0x523656(_0x14a622,_0x609dc2)),_0x81f7f1&&_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x81f7f1)),_0x166443[_0x1265ba(0x297)]&&_0x3781c6[_0x1265ba(0x1ce)](_0x3b5ace(_0x14a622,_0x166443[_0x1265ba(0x297)])),(_0x166443[_0x1265ba(0x560)]===_0x1265ba(0x551)||_0x330c3b[_0x1265ba(0x2fa)](_0x14a622))&&_0x108062&&(Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x458)])['forEach'](_0x4c78fc=>_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x4c78fc))),Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x4c9)])['forEach'](_0x4cc76e=>_0x3781c6[_0x1265ba(0x1ce)](_0x523656(_0x14a622,_0x4cc76e))),Object['keys'](_0x108062[_0x1265ba(0x3d8)])['forEach'](_0x160508=>_0x3781c6[_0x1265ba(0x1ce)](_0x3b5ace(_0x14a622,_0x160508)))),_0x166443[_0x1265ba(0x560)]==='record'&&_0x108062&&Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x458)])[_0x1265ba(0x1bf)](_0x1cdab5=>_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x1cdab5)));}),_0x1f56a5['length']===0x0&&_0x4627aa(_0x304205,'tableOrder')&&Object[_0x25c07d(0x40d)](_0x24b779[_0x25c07d(0x594)])[_0x25c07d(0x1bf)](_0x214ec9=>_0x3781c6[_0x25c07d(0x1ce)](_0x1c40e5(_0x214ec9))),[..._0x3781c6];}function _0xedd3ea(_0x46ce4d){let _0x42520f=new Set(),_0x5eb6dd=_0x2d9645=>{const _0x35a00a=_0x45c5;Array[_0x35a00a(0x2c4)](_0x2d9645)&&_0x2d9645[_0x35a00a(0x1bf)]((_0xa4122f,_0x42f6be)=>{const _0x5411ae=_0x35a00a;_0xa4122f===_0x5411ae(0x594)&&typeof _0x2d9645[_0x42f6be+0x1]==_0x5411ae(0x4c8)&&_0xf44370(_0x2d9645[_0x42f6be+0x2])&&_0x42520f[_0x5411ae(0x1ce)](_0x2d9645[_0x42f6be+0x1]),_0x5eb6dd(_0xa4122f);});};return _0x5eb6dd(_0x46ce4d),_0x42520f;}function _0xf44370(_0x63d33){const _0x14015e=_0x36f63a;return!!_0x63d33&&typeof _0x63d33==_0x14015e(0x3e4)&&!Array[_0x14015e(0x2c4)](_0x63d33)&&('i'in _0x63d33||'r'in _0x63d33||'p'in _0x63d33||'d'in _0x63d33||'es'in _0x63d33||'ena'in _0x63d33||'et'in _0x63d33);}function _0x4627aa(_0x517e79,_0x4450b5){const _0x12572f=_0x36f63a;return Array['isArray'](_0x517e79)&&_0x517e79[_0x12572f(0x2c3)](_0x591bd0=>_0x591bd0===_0x4450b5||_0x4627aa(_0x591bd0,_0x4450b5));}function _0xb0be99(_0x4ba34d,_0x14c4aa){const _0x4b52cd=_0x36f63a;let _0x2fd08c=new Set(),_0x3031f3=_0x14c4aa+'Id',_0x52069d=_0x14c4aa+_0x4b52cd(0x3b9),_0x1c4745=(_0x5180c4,_0x580f26='')=>{const _0x5016fe=_0x4b52cd;typeof _0x5180c4=='string'?_0x580f26===_0x3031f3&&_0x2fd08c[_0x5016fe(0x1ce)](_0x5180c4):Array[_0x5016fe(0x2c4)](_0x5180c4)?_0x580f26===_0x52069d?_0x5180c4[_0x5016fe(0x1bf)](_0x264c44=>{typeof _0x264c44=='string'&&_0x2fd08c['add'](_0x264c44);}):_0x5180c4['forEach'](_0x52948d=>_0x1c4745(_0x52948d,_0x580f26)):_0x2d1f5f(_0x5180c4)&&Object[_0x5016fe(0x443)](_0x5180c4)[_0x5016fe(0x1bf)](([_0xcdf30d,_0x169b4b])=>{const _0x381be1=_0x5016fe;_0xcdf30d==='id'&&_0x580f26===_0x14c4aa&&typeof _0x169b4b==_0x381be1(0x4c8)?_0x2fd08c[_0x381be1(0x1ce)](_0x169b4b):_0x1c4745(_0x169b4b,_0xcdf30d);});};return _0x1c4745(_0x4ba34d),[..._0x2fd08c];}function _0x4b5884(_0x3d33a8,_0x173afb,_0x1faa08,_0x224f8b){const _0x55a274=_0x36f63a;_0x3d33a8&&Array[_0x55a274(0x2c4)](_0x173afb)&&_0x173afb[_0x55a274(0x1bf)](_0x8316d2=>{const _0x25cbea=_0x55a274;if(!_0x2d1f5f(_0x8316d2))return;let _0x2ea351=_0x8316d2;if(typeof _0x2ea351[_0x25cbea(0x5dd)]=='number'){var _0x1b9303;let _0x2484d2=(_0x1b9303=_0x3d33a8['rowId'])==null?void 0x0:_0x1b9303[_0x2ea351[_0x25cbea(0x5dd)]];_0x2484d2&&_0x1faa08['add'](_0x2484d2);}if(typeof _0x2ea351['col']==_0x25cbea(0x5ac)){var _0x54c145;let _0x52b133=(_0x54c145=_0x3d33a8[_0x25cbea(0x3e3)])==null?void 0x0:_0x54c145[_0x2ea351[_0x25cbea(0x46c)]];_0x52b133&&_0x224f8b[_0x25cbea(0x1ce)](_0x52b133);}});}function _0x185c4c(_0x57802a,_0x2f51bc,_0x499a04=''){const _0x4fc065=_0x36f63a;_0x57802a&&typeof _0x57802a==_0x4fc065(0x3e4)&&(Array['isArray'](_0x57802a)?_0x57802a[_0x4fc065(0x1bf)](_0x5a9a8c=>_0x185c4c(_0x5a9a8c,_0x2f51bc,_0x499a04)):_0x2d1f5f(_0x57802a)&&Object[_0x4fc065(0x443)](_0x57802a)[_0x4fc065(0x1bf)](([_0x335380,_0x31f84c])=>{const _0x48b492=_0x4fc065;_0x499a04===_0x48b492(0x20f)&&_0x2f51bc['add'](_0x335380),_0x185c4c(_0x31f84c,_0x2f51bc,_0x335380);}));}function _0x5facd0(_0x391767){return Array['isArray'](_0x391767);}function _0x2d1f5f(_0x211f8b){const _0x2057aa=_0x36f63a;return typeof _0x211f8b==_0x2057aa(0x3e4)&&!!_0x211f8b&&!Array[_0x2057aa(0x2c4)](_0x211f8b);}let _0x52e928=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x4c4)),_0x395d6d=class{constructor(_0x9782bd){const _0x4ec40d=_0x36f63a;this[_0x4ec40d(0x299)]=_0x9782bd;}[_0x36f63a(0x216)](_0x45d6d9){const _0x382c53=_0x36f63a;return this[_0x382c53(0x299)][_0x382c53(0x2e3)](_0x45d6d9,_0x26cf17[_0x382c53(0x1ef)][_0x382c53(0x440)])??null;}[_0x36f63a(0x315)](){const _0xcdc1=_0x36f63a;return this[_0xcdc1(0x299)][_0xcdc1(0x1c0)](_0x26cf17['UniverInstanceType'][_0xcdc1(0x440)]);}[_0x36f63a(0x398)](_0x38bffb){const _0x507c09=_0x36f63a;return this['_univerInstanceService'][_0x507c09(0x31c)](_0x26cf17['UniverInstanceType'][_0x507c09(0x440)],_0x38bffb);}};_0x395d6d=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x4a8)])],_0x395d6d);let _0x21ee7c=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x52a));var _0x42467f=class extends _0x26cf17['Disposable']{constructor(..._0x19f7bd){const _0x178b0b=_0x36f63a;super(..._0x19f7bd),_0x52a6e5(this,_0x178b0b(0x47e),new Map());}['register'](_0x416c25){const _0x44a929=_0x36f63a;return this[_0x44a929(0x47e)][_0x44a929(0x4a9)](_0x416c25[_0x44a929(0x5d6)],_0x416c25),(0x0,_0x26cf17['toDisposable'])(()=>this[_0x44a929(0x47e)][_0x44a929(0x346)](_0x416c25[_0x44a929(0x5d6)]));}['get'](_0x2a99c4){const _0xc5dbe7=_0x36f63a;let _0x3e34bf=this[_0xc5dbe7(0x47e)][_0xc5dbe7(0x558)](_0x2a99c4);if(!_0x3e34bf)throw Error(_0xc5dbe7(0x618)+_0x2a99c4+_0xc5dbe7(0x5f8));return _0x3e34bf;}[_0x36f63a(0x39a)](){const _0x4cea10=_0x36f63a;return Array[_0x4cea10(0x356)](this[_0x4cea10(0x47e)][_0x4cea10(0x20f)]());}};let _0x56622d=[_0x22dd4d],_0x3be2b0=class extends _0x26cf17['Plugin']{constructor(_0x4a1b6e=_0x5e802a,_0x5a3ca6,_0x26c542,_0xb6c66d,_0x39a71f,_0x3cabf6){const _0x15a4f0=_0x36f63a;super(),this[_0x15a4f0(0x4dd)]=_0x4a1b6e,this['_injector']=_0x5a3ca6,this['_commandService']=_0x26c542,this[_0x15a4f0(0x299)]=_0xb6c66d,this[_0x15a4f0(0x4df)]=_0x39a71f,this[_0x15a4f0(0x1c1)]=_0x3cabf6,_0x52a6e5(this,_0x15a4f0(0x51e),new Map());let {..._0x24674d}=(0x0,_0x26cf17['merge'])({},_0x5e802a,this[_0x15a4f0(0x4dd)]);this[_0x15a4f0(0x4df)][_0x15a4f0(0x31f)](_0x15a4f0(0x538),_0x24674d),this[_0x15a4f0(0x299)][_0x15a4f0(0x335)](_0x26cf17[_0x15a4f0(0x1ef)][_0x15a4f0(0x440)],_0x26cf17[_0x15a4f0(0x2d2)]),this[_0x15a4f0(0x4bd)](),this[_0x15a4f0(0x236)](),this[_0x15a4f0(0x33b)](),this[_0x15a4f0(0x58f)]();}[_0x36f63a(0x39e)](){const _0x4dce7d=_0x36f63a;this[_0x4dce7d(0x306)][_0x4dce7d(0x1ce)]([_0x201e06]),this[_0x4dce7d(0x492)](this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x2d3)])[_0x4dce7d(0x418)](_0x475558)),this[_0x4dce7d(0x492)](this['_injector'][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x2d3)])[_0x4dce7d(0x418)](_0x4f4152)),this[_0x4dce7d(0x492)](this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x27a)])[_0x4dce7d(0x2cc)](_0xf5110d['UnitObject'][_0x4dce7d(0x285)],this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x201e06),_0x475558['id'],_0x4f4152['id']));}['onReady'](){const _0x43eba3=_0x36f63a;(0x0,_0x26cf17['touchDependencies'])(this[_0x43eba3(0x306)],[[_0x395d6d],[_0x2c090c],[_0x2f870d]]),this[_0x43eba3(0x299)][_0x43eba3(0x1c0)](_0x26cf17[_0x43eba3(0x1ef)]['UNIVER_BASE'])[_0x43eba3(0x1bf)](_0x5459fa=>this[_0x43eba3(0x1bc)](_0x5459fa['getUnitId']())),(0x0,_0x26cf17[_0x43eba3(0x4ba)])(this['_injector'],[[_0x5ac30b],[_0x5e7595]]);}[_0x36f63a(0x4bd)](){const _0x4398c4=_0x36f63a;[[_0x270bb8,{'useClass':_0x5317ce}],[_0x21ee7c,{'useClass':_0x42467f}],[_0x4076d2,{'useClass':_0x4149ac}],[_0x52e928,{'useClass':_0x395d6d}],[_0x55f82b,{'useClass':_0x57d557}],[_0x10f260,{'useClass':_0x2c090c}],[_0x2f870d],[_0x5ac30b],[_0x5e7595]][_0x4398c4(0x1bf)](_0x167826=>this[_0x4398c4(0x306)]['add'](_0x167826));}[_0x36f63a(0x236)](){const _0x43d9d1=_0x36f63a;[_0x129c3e,_0x15e0f4,_0x7cfb9,_0x3701b5,_0x4b47f4,_0x574186,_0x83e844,_0x30f8e9,_0x4a0304,_0x447b1b,_0x383797,_0x434ddb,_0x11441c,_0x29aa48,_0x592bbf,_0x4a7d2b,_0x217532,_0x2a30c6,_0x2a60c5,_0x4de029,_0x1d821e,_0x25cd5e,_0x573f6f,_0x310dd6,_0x14a5ec,_0x623a77,_0x447566,_0x4af643,_0x554c59,_0x219a50,_0x393c61,_0x144927,_0x3937db,_0x7bc6de,_0xb28a0,_0x4f8870,_0x431b04,_0x3eab69,_0xc496a1,_0x20e162,_0x3a3911,..._0x56622d][_0x43d9d1(0x1bf)](_0x423539=>this[_0x43d9d1(0x492)](this['_commandService'][_0x43d9d1(0x418)](_0x423539))),_0x56622d[_0x43d9d1(0x1bf)](_0xb9aeca=>{const _0xcac196=_0x43d9d1;var _0x364760;return(_0x364760=this[_0xcac196(0x1c1)])==null?void 0x0:_0x364760[_0xcac196(0x282)](_0xb9aeca);});}[_0x36f63a(0x58f)](){const _0x2de9d1=_0x36f63a;this[_0x2de9d1(0x1c1)]&&(this[_0x2de9d1(0x492)](this[_0x2de9d1(0x299)][_0x2de9d1(0x5eb)](_0x26cf17['UniverInstanceType'][_0x2de9d1(0x440)])['subscribe'](({unit:_0xd77c4e})=>{const _0x7ff951=_0x2de9d1;this[_0x7ff951(0x1bc)](_0xd77c4e[_0x7ff951(0x4f5)]());})),this[_0x2de9d1(0x492)](this['_univerInstanceService'][_0x2de9d1(0x4b7)](_0x26cf17[_0x2de9d1(0x1ef)]['UNIVER_BASE'])[_0x2de9d1(0x455)](_0x1c20bb=>{const _0x2d516d=_0x2de9d1;var _0x1c0dd3;(_0x1c0dd3=this[_0x2d516d(0x51e)]['get'](_0x1c20bb[_0x2d516d(0x4f5)]()))==null||_0x1c0dd3[_0x2d516d(0x3a4)](),this[_0x2d516d(0x51e)][_0x2d516d(0x346)](_0x1c20bb[_0x2d516d(0x4f5)]());})));}[_0x36f63a(0x1bc)](_0x205b06){const _0x2df744=_0x36f63a;this[_0x2df744(0x1c1)]&&!this[_0x2df744(0x51e)][_0x2df744(0x2fa)](_0x205b06)&&this['_baseSyncDisposables'][_0x2df744(0x4a9)](_0x205b06,this[_0x2df744(0x1c1)][_0x2df744(0x224)](_0x205b06));}[_0x36f63a(0x33b)](){const _0x2b0db1=_0x36f63a;let _0x3ce5b2=this[_0x2b0db1(0x306)][_0x2b0db1(0x558)](_0x270bb8);_0x5f0176()[_0x2b0db1(0x1bf)](_0xa8813c=>_0x3ce5b2[_0x2b0db1(0x397)](_0xa8813c));let _0x542dcd=this[_0x2b0db1(0x306)]['get'](_0x21ee7c),_0x531217=this['_injector'][_0x2b0db1(0x558)](_0x4076d2);_0x1a24bf()[_0x2b0db1(0x1bf)](_0x1e0b9a=>{const _0x5b252d=_0x2b0db1;_0x542dcd[_0x5b252d(0x397)](_0x1e0b9a),_0x531217[_0x5b252d(0x2a1)](_0x1e0b9a);});}};_0x52a6e5(_0x3be2b0,'pluginName',_0x36f63a(0x5a1)),_0x52a6e5(_0x3be2b0,_0x36f63a(0x5e4),_0x3ba0a5),_0x52a6e5(_0x3be2b0,_0x36f63a(0x300),_0x594a2f),_0x52a6e5(_0x3be2b0,_0x36f63a(0x5d6),_0x26cf17[_0x36f63a(0x1ef)][_0x36f63a(0x440)]),_0x3be2b0=_0x184c3d([(0x0,_0x26cf17['DependentOn'])(_0x24f38d[_0x36f63a(0x316)],_0x386470['UniverProFormulaEnginePlugin']),_0x5712fb(0x1,(0x0,_0x26cf17['Inject'])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x2,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x3,_0x26cf17[_0x36f63a(0x4a8)]),_0x5712fb(0x4,_0x26cf17['IConfigService']),_0x5712fb(0x5,(0x0,_0x26cf17[_0x36f63a(0x57e)])(_0x44a612[_0x36f63a(0x320)]))],_0x3be2b0);let _0x15248a=class extends _0x26cf17[_0x36f63a(0x5ba)]{constructor(_0x498839=_0x49f644,_0x5eadfb,_0x54fb0e,_0x1b1d1e,_0x484be5){const _0x16b1e2=_0x36f63a;super(),this[_0x16b1e2(0x4dd)]=_0x498839,this[_0x16b1e2(0x306)]=_0x5eadfb,this['_commandService']=_0x54fb0e,this['_configService']=_0x1b1d1e,this[_0x16b1e2(0x299)]=_0x484be5;let {..._0x4e3e97}=(0x0,_0x26cf17['merge'])({},_0x49f644,this['_config']);this['_configService'][_0x16b1e2(0x31f)](_0x16b1e2(0x5c0),_0x4e3e97),this[_0x16b1e2(0x299)][_0x16b1e2(0x335)](_0x26cf17[_0x16b1e2(0x1ef)][_0x16b1e2(0x440)],_0x26cf17['BaseDataModel']),[[_0x270bb8,{'useClass':_0x5317ce}],[_0x4076d2,{'useClass':_0x4149ac}]][_0x16b1e2(0x1bf)](_0x474286=>this[_0x16b1e2(0x306)][_0x16b1e2(0x1ce)](_0x474286)),_0x56622d[_0x16b1e2(0x1bf)](_0x1c91eb=>this[_0x16b1e2(0x492)](this[_0x16b1e2(0x417)][_0x16b1e2(0x418)](_0x1c91eb)));}};_0x52a6e5(_0x15248a,_0x36f63a(0x375),'REMOTE_BASES_PLUGIN'),_0x52a6e5(_0x15248a,_0x36f63a(0x5e4),_0x3ba0a5),_0x52a6e5(_0x15248a,_0x36f63a(0x300),_0x594a2f),_0x52a6e5(_0x15248a,_0x36f63a(0x5d6),_0x26cf17['UniverInstanceType'][_0x36f63a(0x440)]),_0x15248a=_0x184c3d([(0x0,_0x26cf17['DependentOn'])(_0x24f38d[_0x36f63a(0x316)],_0x386470[_0x36f63a(0x4ca)]),_0x5712fb(0x1,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x2,_0x26cf17['ICommandService']),_0x5712fb(0x3,_0x26cf17['IConfigService']),_0x5712fb(0x4,_0x26cf17[_0x36f63a(0x4a8)])],_0x15248a);function _0xf4252d(_0x245e8a){const _0x49e5b6=_0x36f63a;let _0x3a307c=_0x4e3f03(_0x245e8a[_0x49e5b6(0x3dc)]);if(!_0x3a307c)return{'query':'','total':0x0,'matches':[]};let _0x4b1935=[],_0x87f7a3=[];for(let _0x1af177=0x0;_0x1af177<_0x245e8a['fieldIds'][_0x49e5b6(0x4cd)];_0x1af177++){if(!(_0x1af177 in _0x245e8a[_0x49e5b6(0x60e)]))continue;let _0x3e3347=_0x245e8a[_0x49e5b6(0x551)][_0x49e5b6(0x458)][_0x245e8a[_0x49e5b6(0x60e)][_0x1af177]];_0x3e3347&&_0x87f7a3['push']({'field':_0x3e3347,'fieldIndex':_0x1af177});}_0x245e8a[_0x49e5b6(0x354)][_0x49e5b6(0x1bf)]((_0x4c18f5,_0xad7af2)=>{const _0x20f6c5=_0x49e5b6;_0x87f7a3[_0x20f6c5(0x1bf)](({field:_0x6e4b24,fieldIndex:_0x1e6396})=>{const _0x2711d5=_0x20f6c5;let _0x3fce9e=_0x4b90bb(_0x4c18f5[_0x2711d5(0x20f)][_0x6e4b24['id']],_0x6e4b24);if(!_0x3fce9e)return;let _0x389cac=_0x5db23a(_0x3a307c,_0x3fce9e[_0x2711d5(0x1a6)]);_0x389cac<=0x0||_0x4b1935[_0x2711d5(0x605)]({'recordId':_0x4c18f5[_0x2711d5(0x571)],'fieldId':_0x6e4b24['id'],'fieldType':_0x6e4b24[_0x2711d5(0x5d6)],'text':_0x3fce9e[_0x2711d5(0x439)],'score':_0x389cac,'rowIndex':_0xad7af2,'fieldIndex':_0x1e6396});});}),_0x4b1935['sort']((_0x536884,_0x3b0dde)=>_0x3b0dde['score']-_0x536884[_0x49e5b6(0x4c1)]||_0x536884[_0x49e5b6(0x5cd)]-_0x3b0dde[_0x49e5b6(0x5cd)]||_0x536884[_0x49e5b6(0x3f7)]-_0x3b0dde[_0x49e5b6(0x3f7)]);let _0x5d0faa=_0x245e8a[_0x49e5b6(0x1bb)]==null?_0x4b1935:_0x4b1935['slice'](0x0,Math[_0x49e5b6(0x5a7)](0x0,_0x245e8a[_0x49e5b6(0x1bb)]));return{'query':_0x3a307c,'total':_0x4b1935[_0x49e5b6(0x4cd)],'matches':_0x2e475c(_0x5d0faa)};}function _0x4b90bb(_0x282781,_0x1a68d1){const _0x44a3dd=_0x36f63a;let _0xfbbdfd=[];for(let _0x4adc72 of _0x2f4e74(_0x282781,_0x1a68d1)){let _0x291b24=_0x4e3f03(_0x4adc72);_0x291b24&&_0xfbbdfd[_0x44a3dd(0x605)](_0x291b24);}return _0xfbbdfd[_0x44a3dd(0x4cd)]?{'displayText':_0x459149(_0x282781,_0x1a68d1),'searchTexts':_0xe1c903(_0xfbbdfd)}:null;}function _0x459149(_0x18b4f9,_0x24bab0){const _0x2f5e91=_0x36f63a;switch(_0x24bab0[_0x2f5e91(0x5d6)]){case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x537)]:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x36d)]:case _0x26cf17[_0x2f5e91(0x22d)]['Group']:return _0x3d4229(_0x18b4f9,_0x24bab0)[_0x2f5e91(0x241)](',\x20');case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x205)]:return _0xe88877(_0x18b4f9);case _0x26cf17[_0x2f5e91(0x22d)]['Date']:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x230)]:case _0x26cf17[_0x2f5e91(0x22d)]['UpdatedAt']:return _0x16a1d5(_0x18b4f9,_0x24bab0);case _0x26cf17['BaseFieldType'][_0x2f5e91(0x1ab)]:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x4b6)]:return _0x224027(_0x18b4f9,_0x24bab0);case _0x26cf17['BaseFieldType'][_0x2f5e91(0x3cf)]:return _0x2a7c80(_0x18b4f9,_0x24bab0);case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x428)]:return _0x18b4f9?_0x2f5e91(0x1fe):_0x2f5e91(0x2ff);case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x50b)]:return _0x502a6c(_0x18b4f9)[_0x2f5e91(0x241)](',\x20');default:return _0x29afce(_0x18b4f9);}}function _0x2f4e74(_0x4fd6f3,_0xca9ac3){const _0x419e51=_0x36f63a;switch(_0xca9ac3[_0x419e51(0x5d6)]){case _0x26cf17[_0x419e51(0x22d)]['SingleSelect']:case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x36d)]:case _0x26cf17['BaseFieldType'][_0x419e51(0x4ef)]:{let _0x4630f8=_0x3d4229(_0x4fd6f3,_0xca9ac3);if(Array['isArray'](_0x4fd6f3)){let _0x68f27=[..._0x4630f8];for(let _0x35e3df=0x0;_0x35e3df<_0x4fd6f3['length'];_0x35e3df++)_0x35e3df in _0x4fd6f3&&_0x68f27[_0x419e51(0x605)](String(_0x4fd6f3[_0x35e3df]));return _0x68f27;}return _0x4fd6f3==null?_0x4630f8:[..._0x4630f8,String(_0x4fd6f3)];}case _0x26cf17[_0x419e51(0x22d)]['Link']:{let _0x9038a9=_0x244ade(_0x4fd6f3);return[_0x9038a9[_0x419e51(0x1c8)],_0x9038a9[_0x419e51(0x3f2)]];}case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x1be)]:case _0x26cf17[_0x419e51(0x22d)]['CreatedAt']:case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x217)]:return[_0x16a1d5(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17['BaseFieldType'][_0x419e51(0x1ab)]:case _0x26cf17['BaseFieldType'][_0x419e51(0x4b6)]:return[_0x224027(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17['BaseFieldType'][_0x419e51(0x3cf)]:return[_0x2a7c80(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x428)]:return _0x4fd6f3?['Checked',_0x419e51(0x388),_0x419e51(0x244)]:[_0x419e51(0x2ff),'No',_0x419e51(0x199)];case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x50b)]:return _0x502a6c(_0x4fd6f3);default:return[_0x29afce(_0x4fd6f3)];}}function _0x3d4229(_0x581961,_0x5a4c54){const _0x4da0d1=_0x36f63a;var _0x371a6c;let _0x53fa31=Array['isArray']((_0x371a6c=_0x5a4c54[_0x4da0d1(0x4cc)])==null?void 0x0:_0x371a6c[_0x4da0d1(0x45b)])?_0x5a4c54[_0x4da0d1(0x4cc)]['options']:[],_0x34b38f=[];if(Array[_0x4da0d1(0x2c4)](_0x581961)){for(let _0x25a247=0x0;_0x25a247<_0x581961[_0x4da0d1(0x4cd)];_0x25a247++){if(!(_0x25a247 in _0x581961))continue;let _0x8e33b9=String(_0x581961[_0x25a247]);_0x8e33b9&&_0x34b38f[_0x4da0d1(0x605)](_0x4df809(_0x53fa31,_0x8e33b9));}return _0x34b38f;}if(_0x581961!=null){let _0x5dfba7=String(_0x581961);_0x5dfba7&&_0x34b38f[_0x4da0d1(0x605)](_0x4df809(_0x53fa31,_0x5dfba7));}return _0x34b38f;}function _0x4df809(_0x52ca91,_0xe9e2c8){const _0xa69a33=_0x36f63a;for(let _0x54e245 of _0x52ca91){if(typeof _0x54e245==_0xa69a33(0x4c8)&&_0x54e245===_0xe9e2c8)return _0x54e245;if(_0x54e245&&typeof _0x54e245==_0xa69a33(0x3e4)){let _0x33dbb5=_0x54e245;if(String(_0x33dbb5['id']??_0x33dbb5[_0xa69a33(0x3f8)]??'')===_0xe9e2c8||String(_0x33dbb5[_0xa69a33(0x3f8)]??'')===_0xe9e2c8)return String(_0x33dbb5['name']??_0x33dbb5['id']??_0xe9e2c8);}}return _0xe9e2c8;}function _0x244ade(_0x4cba0e){const _0x2b50e6=_0x36f63a;if(_0x4cba0e&&typeof _0x4cba0e=='object'&&!Array[_0x2b50e6(0x2c4)](_0x4cba0e)){let _0xf7e718=_0x4cba0e;return{'text':String(_0xf7e718['text']??_0xf7e718[_0x2b50e6(0x3f2)]??''),'url':String(_0xf7e718['url']??'')};}return{'text':_0x29afce(_0x4cba0e),'url':_0x29afce(_0x4cba0e)};}function _0xe88877(_0x5e895){const _0x203a1d=_0x36f63a;let _0x2f40de=_0x244ade(_0x5e895);return _0x2f40de[_0x203a1d(0x1c8)]||_0x2f40de['url'];}function _0x16a1d5(_0x2b5307,_0x1d3b3f){const _0x44e395=_0x36f63a;return typeof _0x2b5307!='number'||!Number[_0x44e395(0x26b)](_0x2b5307)?'':_0x44d5ce(_0x2b5307,_0x1d3b3f[_0x44e395(0x4cc)]);}function _0x224027(_0xf53732,_0x245057){const _0x22a98a=_0x36f63a;let _0x286ec5=typeof _0xf53732==_0x22a98a(0x5ac)?_0xf53732:Number(_0xf53732);return Number[_0x22a98a(0x26b)](_0x286ec5)?_0x2d4820(_0x286ec5,_0x245057[_0x22a98a(0x4cc)]):'';}function _0x2a7c80(_0x52ae5f,_0x7a144b){const _0x441cf5=_0x36f63a;let _0x41bfa8=typeof _0x52ae5f==_0x441cf5(0x5ac)?_0x52ae5f:Number(_0x52ae5f);return Number['isFinite'](_0x41bfa8)?_0x46e601(_0x41bfa8,_0x7a144b[_0x441cf5(0x4cc)]):'';}function _0x502a6c(_0x2c6105){const _0x479329=_0x36f63a;return Array[_0x479329(0x2c4)](_0x2c6105)?_0x2c6105['flatMap'](_0x49b70c=>{const _0x4bf14e=_0x479329;if(!_0x49b70c||typeof _0x49b70c!=_0x4bf14e(0x3e4))return[];let _0x13c6ef=_0x49b70c,_0x576f8d=String(_0x13c6ef[_0x4bf14e(0x3f8)]??_0x13c6ef['url']??'')[_0x4bf14e(0x3ce)]();return _0x576f8d?[_0x576f8d]:[];}):[];}function _0x29afce(_0x17fabf){const _0x5813f6=_0x36f63a;if(_0x17fabf==null)return'';if(typeof _0x17fabf==_0x5813f6(0x49e))return _0x17fabf?_0x5813f6(0x4f4):_0x5813f6(0x1d7);if(typeof _0x17fabf==_0x5813f6(0x5ac))return String(_0x17fabf);if(Array['isArray'](_0x17fabf)){let _0x108127=[];for(let _0x8dc897=0x0;_0x8dc897<_0x17fabf[_0x5813f6(0x4cd)];_0x8dc897++){if(!(_0x8dc897 in _0x17fabf))continue;let _0x5494c5=_0x29afce(_0x17fabf[_0x8dc897]);_0x5494c5&&_0x108127['push'](_0x5494c5);}return _0x108127[_0x5813f6(0x241)](',\x20');}if(typeof _0x17fabf==_0x5813f6(0x3e4)){let _0x5e3890=_0x17fabf;return String(_0x5e3890['title']??_0x5e3890[_0x5813f6(0x3f8)]??_0x5e3890[_0x5813f6(0x1c8)]??_0x5e3890[_0x5813f6(0x3f2)]??'')[_0x5813f6(0x3ce)]();}return String(_0x17fabf);}function _0x5db23a(_0x498771,_0x12c2ac){const _0x5ba0d9=_0x36f63a;let _0x4b99ea=0x0;for(let _0x30dec8 of _0x12c2ac)_0x30dec8&&(_0x30dec8===_0x498771?_0x4b99ea=Math[_0x5ba0d9(0x5a7)](_0x4b99ea,0x12c):_0x30dec8['startsWith'](_0x498771)?_0x4b99ea=Math[_0x5ba0d9(0x5a7)](_0x4b99ea,0xfa):_0x30dec8[_0x5ba0d9(0x358)](_0x498771)&&(_0x4b99ea=Math['max'](_0x4b99ea,0xc8)));return _0x4b99ea;}function _0x4e3f03(_0x1fe49e){const _0x30b62d=_0x36f63a;return _0x1fe49e[_0x30b62d(0x3ce)]()[_0x30b62d(0x2ed)](/\s+/g,'\x20')['toLowerCase']();}function _0xe1c903(_0x1ed209){const _0x458a1f=_0x36f63a;return Array[_0x458a1f(0x356)](new Set(_0x1ed209));}function _0x2e475c(_0x17b36b){const _0x3b0594=_0x36f63a;let _0x3dab03=[];for(let {rowIndex:_0x48fcb2,fieldIndex:_0x449397,..._0x288d18}of _0x17b36b)_0x3dab03[_0x3b0594(0x605)](_0x288d18);return _0x3dab03;}function _0x35b3dd(_0x43a005){const _0x4e2abf=_0x36f63a;return{'compress':!0x0,'kind':_0x4e2abf(0x2eb),'u':_0x43a005['unitId'],'t':_0x43a005[_0x4e2abf(0x353)],'p':_0x43a005[_0x4e2abf(0x530)][_0x4e2abf(0x4a5)](_0x27e1fc=>[_0x27e1fc[_0x4e2abf(0x5dd)],_0x27e1fc[_0x4e2abf(0x46c)],_0x5ad241(_0x27e1fc[_0x4e2abf(0x5a4)])]),..._0x43a005[_0x4e2abf(0x341)]===void 0x0?{}:{'g':_0x43a005[_0x4e2abf(0x341)]}};}function _0xb56897(_0x4e0087){const _0x5200c9=_0x36f63a;if(_0x4bbed9(_0x4e0087,_0x5200c9(0x2eb)),!_0x14578d(_0x4e0087)){if(!_0x48f48c(_0x4e0087))throw Error(_0x5200c9(0x3c4));return _0x4e0087;}return{'unitId':_0x4e0087['u'],'tableId':_0x4e0087['t'],'patches':_0x4e0087['p'][_0x5200c9(0x4a5)](([_0x285df1,_0x383199,_0x2faf18])=>({'row':_0x285df1,'col':_0x383199,'value':_0x58e835(_0x2faf18)})),..._0x4e0087['g']===void 0x0?{}:{'trigger':_0x4e0087['g']}};}function _0x14578d(_0x5ef6fe){const _0x3715bb=_0x36f63a;return!_0x7893c8(_0x5ef6fe)||_0x5ef6fe[_0x3715bb(0x3a8)]!==!0x0||_0x5ef6fe[_0x3715bb(0x607)]!==_0x3715bb(0x2eb)?!0x1:typeof _0x5ef6fe['u']==_0x3715bb(0x4c8)&&typeof _0x5ef6fe['t']==_0x3715bb(0x4c8)&&(_0x5ef6fe['g']===void 0x0||typeof _0x5ef6fe['g']==_0x3715bb(0x4c8))&&Array[_0x3715bb(0x2c4)](_0x5ef6fe['p'])&&_0x5ef6fe['p'][_0x3715bb(0x308)](_0x2c5573=>Array[_0x3715bb(0x2c4)](_0x2c5573)&&_0x2c5573[_0x3715bb(0x4cd)]===0x3&&Number['isInteger'](_0x2c5573[0x0])&&Number[_0x3715bb(0x497)](_0x2c5573[0x1]));}function _0x590481(_0x4b0251){const _0x3c2eff=_0x36f63a;return!_0x7893c8(_0x4b0251)||_0x4b0251[_0x3c2eff(0x3a8)]!==!0x0||_0x4b0251[_0x3c2eff(0x607)]!==_0x3c2eff(0x362)||!_0x7893c8(_0x4b0251['tables'])?!0x1:Object[_0x3c2eff(0x20f)](_0x4b0251['tables'])[_0x3c2eff(0x308)](_0x1dd056=>_0x7893c8(_0x1dd056)&&(_0x1dd056['cd']===void 0x0||Array['isArray'](_0x1dd056['cd'])&&_0x1dd056['cd']['every'](_0x35c3b1=>Array[_0x3c2eff(0x2c4)](_0x35c3b1)&&_0x35c3b1[_0x3c2eff(0x4cd)]===0x3&&Number[_0x3c2eff(0x497)](_0x35c3b1[0x0])&&Number[_0x3c2eff(0x497)](_0x35c3b1[0x1])&&_0x20e36b(_0x35c3b1[0x2]))));}function _0x5ad241(_0xd04436){return _0xf40281(_0xd04436)?_0x52ea1a(_0xd04436):_0xd04436;}function _0x58e835(_0xdc95fd){return _0x20e36b(_0xdc95fd)?_0x5a0a9b(_0xdc95fd):_0xdc95fd;}function _0x52ea1a(_0x5c29ae){return{'c':0x1,..._0x5c29ae['v']===void 0x0?{}:{'v':_0x5c29ae['v']},..._0x5c29ae['t']!==void 0x0&&_0x5c29ae['t']!==null?{'t':_0x5c29ae['t']}:_0x5c29ae['t']===null?{'t':null}:{},..._0x5c29ae['f']!==void 0x0&&_0x5c29ae['f']!==null?{'f':_0x5c29ae['f']}:_0x5c29ae['f']===null?{'f':null}:{},..._0x5c29ae['si']!==void 0x0&&_0x5c29ae['si']!==null?{'si':_0x5c29ae['si']}:_0x5c29ae['si']===null?{'si':null}:{},..._0x5c29ae['p']!==void 0x0&&_0x5c29ae['p']!==null?{'p':_0x5c29ae['p']}:_0x5c29ae['p']===null?{'p':null}:{}};}function _0x5a0a9b(_0x52e691){return{..._0x52e691['v']===void 0x0?{}:{'v':_0x52e691['v']},..._0x52e691['t']===void 0x0?{}:{'t':_0x52e691['t']},..._0x52e691['f']===void 0x0?{}:{'f':_0x52e691['f']},..._0x52e691['si']===void 0x0?{}:{'si':_0x52e691['si']},..._0x52e691['p']===void 0x0?{}:{'p':_0x52e691['p']}};}function _0xf40281(_0xf324b1){const _0x321e76=_0x36f63a;return!!_0xf324b1&&typeof _0xf324b1==_0x321e76(0x3e4)&&!Array[_0x321e76(0x2c4)](_0xf324b1)&&(Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'v')||Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)]['call'](_0xf324b1,'t')||Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)]['call'](_0xf324b1,'p')||Object['prototype'][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'f')||Object['prototype'][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'si'));}function _0x20e36b(_0x8e92ee){return _0x7893c8(_0x8e92ee)&&_0x8e92ee['c']===0x1;}function _0x48f48c(_0x415269){const _0x1bb891=_0x36f63a;return _0x7893c8(_0x415269)&&typeof _0x415269[_0x1bb891(0x41e)]=='string'&&typeof _0x415269[_0x1bb891(0x353)]==_0x1bb891(0x4c8)&&(_0x415269['trigger']===void 0x0||typeof _0x415269['trigger']==_0x1bb891(0x4c8))&&Array[_0x1bb891(0x2c4)](_0x415269[_0x1bb891(0x530)])&&_0x415269[_0x1bb891(0x530)][_0x1bb891(0x308)](_0x3d3050=>_0x7893c8(_0x3d3050)&&Number[_0x1bb891(0x497)](_0x3d3050[_0x1bb891(0x5dd)])&&Number[_0x1bb891(0x497)](_0x3d3050[_0x1bb891(0x46c)])&&_0x1bb891(0x5a4)in _0x3d3050);}function _0x4bbed9(_0x2a8d40,_0x45837d){const _0x444798=_0x36f63a;if(_0x7893c8(_0x2a8d40)&&_0x2a8d40[_0x444798(0x3a8)]===!0x0){if(_0x2a8d40[_0x444798(0x607)]!==_0x45837d)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x2a8d40[_0x444798(0x607)])+'\x22.');if(!(_0x45837d==='base-range-values-v1'?_0x14578d(_0x2a8d40):_0x590481(_0x2a8d40)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x45837d+'\x22.');}}function _0x7893c8(_0x1de30b){const _0x49d5ce=_0x36f63a;return!!_0x1de30b&&typeof _0x1de30b==_0x49d5ce(0x3e4)&&!Array['isArray'](_0x1de30b);}_0x312799[_0x36f63a(0x565)]=_0x22dd4d,_0x312799[_0x36f63a(0x4db)]=_0x37064d,_0x312799[_0x36f63a(0x25d)]=0x5,_0x312799['BASE_HIERARCHY_PARENT_FIELD_ID']=_0x4506fa,_0x312799[_0x36f63a(0x507)]=_0x36f63a(0x2b8),_0x312799[_0x36f63a(0x445)]=_0x46e218,_0x312799[_0x36f63a(0x42d)]=_0x2f812f,_0x312799['BaseEventSource']=_0x4fead6,_0x312799[_0x36f63a(0x3aa)]=_0x24626c,_0x312799[_0x36f63a(0x43e)]=_0x3763ee,_0x312799[_0x36f63a(0x1aa)]=_0x389e50,_0x312799[_0x36f63a(0x1ac)]=_0x1fa5a0,_0x312799[_0x36f63a(0x600)]=_0x5070bf,_0x312799[_0x36f63a(0x60b)]=_0x3c2e91,_0x312799[_0x36f63a(0x5c7)]=_0x4a0304,_0x312799[_0x36f63a(0x1c9)]=_0x383797,_0x312799[_0x36f63a(0x453)]=_0x2a60c5,_0x312799['CreateBaseChildRecordCommand']=_0x30f8e9,_0x312799[_0x36f63a(0x548)]=_0x592bbf,_0x312799['CreateBaseRecordCommand']=_0x83e844,_0x312799[_0x36f63a(0x294)]=_0x129c3e,_0x312799[_0x36f63a(0x446)]=_0x573f6f,_0x312799[_0x36f63a(0x2c7)]=_0x4de029,_0x312799['DeleteBaseRecordCommand']=_0x447b1b,_0x312799[_0x36f63a(0x4a0)]=_0x7cfb9,_0x312799[_0x36f63a(0x1a8)]=_0x447566,_0x312799[_0x36f63a(0x5ea)]=_0x4a7d2b,_0x312799[_0x36f63a(0x2bd)]=_0x434ddb,_0x312799[_0x36f63a(0x292)]=_0x260313,_0x312799[_0x36f63a(0x4e7)]=_0x310dd6,_0x312799[_0x36f63a(0x2a2)]=_0x10f260,_0x312799[_0x36f63a(0x252)]=_0x55f82b,_0x312799['IBaseProjectionService']=_0x4076d2,_0x312799[_0x36f63a(0x35d)]=_0x21ee7c,_0x312799[_0x36f63a(0x400)]=_0x1d821e,_0x312799[_0x36f63a(0x526)]=_0x29aa48,_0x312799[_0x36f63a(0x32b)]=_0x4af643,_0x312799[_0x36f63a(0x1a4)]=_0x15e0f4,_0x312799[_0x36f63a(0x5e9)]=_0x14a5ec,_0x312799['SetBaseKanbanGroupFieldCommand']=_0x393c61,_0x312799[_0x36f63a(0x456)]=_0x623a77,_0x312799['SetBasePermissionCommand']=_0x144927,_0x312799[_0x36f63a(0x5ab)]=_0x475558,_0x312799[_0x36f63a(0x310)]=_0x4f4152,_0x312799[_0x36f63a(0x387)]=_0x3937db,_0x312799[_0x36f63a(0x4cb)]=_0x574186,_0x312799[_0x36f63a(0x33a)]=_0x4b47f4,_0x312799[_0x36f63a(0x5c1)]=_0x3eab69,_0x312799[_0x36f63a(0x342)]=_0x3a3911,_0x312799[_0x36f63a(0x35f)]=_0xc496a1,_0x312799[_0x36f63a(0x33d)]=_0x20e162,_0x312799['SetBaseViewFilterCommand']=_0xb28a0,_0x312799[_0x36f63a(0x39f)]=_0x431b04,_0x312799[_0x36f63a(0x611)]=_0x4f8870,Object['defineProperty'](_0x312799,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return _0x3be2b0;}}),Object['defineProperty'](_0x312799,_0x36f63a(0x5b5),{'enumerable':!0x0,'get':function(){return _0x15248a;}}),_0x312799[_0x36f63a(0x490)]=_0x3701b5,_0x312799['UpdateBaseFieldCommand']=_0x217532,_0x312799[_0x36f63a(0x471)]=_0x2a30c6,_0x312799[_0x36f63a(0x3f3)]=_0x7bc6de,_0x312799[_0x36f63a(0x470)]=_0x11441c,_0x312799[_0x36f63a(0x45c)]=_0x219a50,_0x312799['UpdateBaseViewConfigCommand']=_0x554c59,_0x312799[_0x36f63a(0x500)]=_0x25cd5e,_0x312799[_0x36f63a(0x57f)]=_0x134f0b,_0x312799[_0x36f63a(0x323)]=_0x17cc3f,_0x312799[_0x36f63a(0x529)]=_0x4d141c,_0x312799[_0x36f63a(0x3bc)]=_0x2c4137,_0x312799['compressBaseRangeValuesPayload']=_0x35b3dd,_0x312799['copyBaseTableSnapshot']=_0x4a5d23,_0x312799[_0x36f63a(0x46d)]=_0x39e357,_0x312799[_0x36f63a(0x1a0)]=_0x37171b,_0x312799[_0x36f63a(0x42b)]=_0x572bf3,_0x312799[_0x36f63a(0x35b)]=_0xcb509f,_0x312799['createEmbedBasesTableRemoveMutation']=_0x5dff2e,_0x312799['createUniqueBaseTableName']=_0x3fb9db,_0x312799[_0x36f63a(0x1d3)]=_0x3815fa,_0x312799[_0x36f63a(0x2f4)]=_0xb56897,_0x312799['ensureBaseTableCellLayout']=_0x58de72,_0x312799['findRecordLinkReferences']=_0x283ed9,_0x312799[_0x36f63a(0x5b0)]=_0x44d5ce,_0x312799[_0x36f63a(0x1f5)]=_0x5118c9,_0x312799[_0x36f63a(0x48e)]=_0x2d4820,_0x312799[_0x36f63a(0x512)]=_0x46e601,_0x312799[_0x36f63a(0x5fc)]=_0x91f8f5,_0x312799[_0x36f63a(0x326)]=_0x5e403e,_0x312799[_0x36f63a(0x2ab)]=_0x2db5fc,_0x312799[_0x36f63a(0x522)]=_0x175c6c,_0x312799['getBaseDashboardPermissionObjectId']=_0x498862,_0x312799[_0x36f63a(0x2dd)]=_0x32d579,Object[_0x36f63a(0x21a)](_0x312799,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x34d67e=_0x36f63a;return _0x26cf17[_0x34d67e(0x322)];}}),_0x312799[_0x36f63a(0x4d1)]=_0x4665b4,_0x312799[_0x36f63a(0x1d1)]=_0x126b6c,_0x312799[_0x36f63a(0x60d)]=_0x3139d7,_0x312799[_0x36f63a(0x19b)]=_0x523656,_0x312799[_0x36f63a(0x2b1)]=_0x1c40e5,_0x312799[_0x36f63a(0x3a3)]=_0x3b5ace,_0x312799[_0x36f63a(0x203)]=_0x3caba0,_0x312799['getSupportedBaseFieldStatTypes']=_0x35da72,_0x312799[_0x36f63a(0x37f)]=_0x5cca96,_0x312799[_0x36f63a(0x25b)]=_0x149b09,_0x312799[_0x36f63a(0x28c)]=_0x35496,_0x312799[_0x36f63a(0x59a)]=_0xacde3b,_0x312799[_0x36f63a(0x270)]=_0xf5ac86,_0x312799[_0x36f63a(0x4e0)]=_0x1ba817,_0x312799[_0x36f63a(0x613)]=_0x2e8fb1,_0x312799[_0x36f63a(0x4b0)]=_0x14578d,_0x312799['matchesBaseCondition']=_0x300f16,_0x312799['normalizeBaseDateFieldConfig']=_0x4ee288,_0x312799[_0x36f63a(0x2f9)]=_0x141f6f,_0x312799[_0x36f63a(0x359)]=_0x7f18f8,_0x312799[_0x36f63a(0x1e9)]=_0x4db4ea,_0x312799['projectBaseHierarchy']=_0x53de46,_0x312799[_0x36f63a(0x604)]=_0x1d2879,_0x312799[_0x36f63a(0x1c3)]=_0xcff95d,_0x312799['resolveBaseRangeHierarchyPatches']=_0x3d520b,_0x312799['searchBaseTable']=_0xf4252d,_0x312799[_0x36f63a(0x508)]=_0x1bd71a,_0x312799[_0x36f63a(0x3de)]=_0x1874b2,_0x312799['traceBasePerformance']=_0xdade1e,_0x312799[_0x36f63a(0x45d)]=_0x415bdf,_0x312799[_0x36f63a(0x601)]=_0xc17f5a,_0x312799['validateBaseHierarchyRecordCreations']=_0x298dba,_0x312799[_0x36f63a(0x1e7)]=_0x37fba2,_0x312799[_0x36f63a(0x28b)]=_0x41dc3d,_0x312799[_0x36f63a(0x19f)]=_0x31953c,_0x312799[_0x36f63a(0x29f)]=_0x5f1ecb,_0x312799[_0x36f63a(0x3f0)]=_0x288789;}));
|