@univerjs-pro/bases 1.0.2 → 1.0.3
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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x327967=_0x11ae;(function(_0xec87a,_0x412d4c){const _0x4ee3c6=_0x11ae,_0x13a870=_0xec87a();while(!![]){try{const _0x619d8f=-parseInt(_0x4ee3c6(0x3a2))/0x1*(-parseInt(_0x4ee3c6(0x427))/0x2)+-parseInt(_0x4ee3c6(0x2e9))/0x3+-parseInt(_0x4ee3c6(0x216))/0x4*(parseInt(_0x4ee3c6(0x34f))/0x5)+parseInt(_0x4ee3c6(0x3e6))/0x6+-parseInt(_0x4ee3c6(0x1ac))/0x7*(parseInt(_0x4ee3c6(0x3f7))/0x8)+parseInt(_0x4ee3c6(0x131))/0x9+-parseInt(_0x4ee3c6(0x121))/0xa;if(_0x619d8f===_0x412d4c)break;else _0x13a870['push'](_0x13a870['shift']());}catch(_0x18a297){_0x13a870['push'](_0x13a870['shift']());}}}(_0x4f42,0x75a03));import{BASE_RECORD_ID_FIELD_ID as _0x40fc9d,BaseConditionalColorOperator as _0x4710de,BaseConditionalColorTarget as _0x49363a,BaseConditionalDateMode as _0x1467aa,BaseDataModel as _0x271087,BaseFieldType as _0x1013ad,BaseFilterConjunction as _0x2fab97,BaseHierarchyInvalidReason as _0x240c41,BaseRecordLinkRole as _0x3e0df7,BaseSortDirection as _0x391c0e,BaseViewType as _0x3dd96c,CellValueType as _0x556bff,ColorKit as _0x377ff1,CommandType as _0x281ad9,CustomCommandExecutionError as _0x268330,DateSystem as _0x2dcec1,DependentOn as _0x32cfaf,Disposable as _0x4de356,ErrorService as _0xeb132,ICommandService as _0x2823d6,IConfigService as _0x3c388e,IPermissionService as _0x5cc725,IResourceManagerService as _0x2a6b91,IUndoRedoService as _0x15f92a,IUniverInstanceService as _0x3a38b9,Inject as _0x1345e2,Injector as _0x4a869a,JSON1 as _0x43163e,JSONX as _0x12a725,ObjectMatrix as _0x53a4cf,ObjectPermissionRuleModel as _0x58664a,ObjectPermissionService as _0x77c4ee,Optional as _0x388498,PermissionStatus as _0x1ebfa9,Plugin as _0x2f79be,Tools as _0x2ea00f,UniverInstanceType as _0x49a6be,allocateBaseFormulaTableName as _0x54f542,assertBaseTableRecordIdentity as _0x15f38a,createBaseFormulaTableNameMap as _0xbad9f1,createBaseRecordIdField as _0x529243,createIdentifier as _0x1ada6c,dateKit as _0x28e66b,excelDateTimeSerial as _0x54e6bc,excelSerialToDateTime as _0x568db3,generateRandomId as _0x1dd020,getBaseFormulaTableName as _0x15970e,isBaseRecordIdFieldName as _0x4fd5e0,isValidBaseRecordId as _0x522a38,merge as _0xcc3099,nameCharacterCheck as _0x4a2760,numfmt as _0x50b573,regexp as _0x23a4c4,sequenceExecute as _0x4a8c31,toDisposable as _0x569b00,touchDependencies as _0x253fbd}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x18360a,IActiveDirtyManagerService as _0x1624f9,RemoveSuperTableMutation as _0x3c0f14,SetFormulaCalculationResultMutation as _0x30184a,SetSuperTableMutation as _0x574d24,SetTriggerFormulaCalculationStartMutation as _0xbd4092,UniverProFormulaEnginePlugin as _0x16307b,refactorFormulaUnitQualifier as _0x21a61d}from'@univerjs-pro/engine-formula';import{UnitAction as _0x3709ae,UnitObject as _0x230625}from'@univerjs/protocol';import{UniverLicensePlugin as _0x343622}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x1829c1}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x31dae7,FormulaResultApplicationType as _0x4cbf5b}from'@univerjs/engine-formula';function N(_0x32ae48){const _0x798058=_0x11ae;let _0x1c20a7=_0x32ae48[_0x798058(0x174)]['targetTableId'],_0xd25b67=_0x32ae48['config']['multiple'],_0x14ce76=_0x32ae48['config']['displayFieldId'],_0x32ae52=_0x32ae48['config']['pickerFieldIds'],_0x8ec418=_0x32ae48[_0x798058(0x174)][_0x798058(0x382)];return typeof _0x1c20a7!=_0x798058(0x2a0)||!_0x1c20a7||typeof _0xd25b67!='boolean'||_0x14ce76!==void 0x0&&(typeof _0x14ce76!=_0x798058(0x2a0)||!_0x14ce76)||_0x8ec418!==void 0x0&&_0x8ec418!==_0x3e0df7[_0x798058(0x4a4)]||_0x32ae52!==void 0x0&&(!Array[_0x798058(0x3fb)](_0x32ae52)||_0x32ae52[_0x798058(0x35d)](_0x3ecb7e=>typeof _0x3ecb7e!='string'||!_0x3ecb7e)||new Set(_0x32ae52)[_0x798058(0x1d0)]!==_0x32ae52['length'])?null:{'targetTableId':_0x1c20a7,'multiple':_0xd25b67,..._0x14ce76?{'displayFieldId':_0x14ce76}:{},..._0x32ae52?{'pickerFieldIds':[..._0x32ae52]}:{},..._0x8ec418?{'relationRole':_0x8ec418}:{}};}function Le(_0x275690){const _0x2fe2a1=_0x11ae;return typeof _0x275690!=_0x2fe2a1(0x2a0)||_0x275690===''?[]:_0x275690[_0x2fe2a1(0x2e5)](',');}function Re(_0x3f5687){const _0x4ccc06=_0x11ae;return Array[_0x4ccc06(0x1d1)](new Set(_0x3f5687))[_0x4ccc06(0x3a1)](',');}function ze(_0x441f1b,_0x5a164e){const _0x425dda=_0x11ae;if(typeof _0x441f1b!=_0x425dda(0x2a0))return{'valid':!0x1,'reason':_0x425dda(0x1f2)};if(_0x441f1b==='')return{'valid':!0x0};let _0x2ca89f=_0x441f1b[_0x425dda(0x2e5)](',');return!_0x5a164e&&_0x2ca89f['length']>0x1?{'valid':!0x1,'reason':_0x425dda(0x104)}:_0x2ca89f[_0x425dda(0x35d)](_0x100d95=>!_0x522a38(_0x100d95))||new Set(_0x2ca89f)[_0x425dda(0x1d0)]!==_0x2ca89f[_0x425dda(0x1bf)]||Re(_0x2ca89f)!==_0x441f1b?{'valid':!0x1,'reason':_0x425dda(0x164)}:{'valid':!0x0};}function Be(_0xb28297,_0x36b1da){const _0x18d13c=_0x11ae;if(_0x36b1da[_0x18d13c(0x346)]!==_0x1013ad[_0x18d13c(0x12f)])return{'valid':!0x0};let _0x16e702=N(_0x36b1da),_0x3c864d=_0x16e702?_0xb28297[_0x18d13c(0x486)][_0x16e702['targetTableId']]:void 0x0;if(!_0x16e702||!_0x3c864d)return{'valid':!0x1,'reason':_0x18d13c(0x1a9)};let _0x4e79e7=[..._0x16e702[_0x18d13c(0x2ca)]?[_0x16e702[_0x18d13c(0x2ca)]]:[],..._0x16e702[_0x18d13c(0x10b)]??[]][_0x18d13c(0x451)](_0x3c38e1=>{const _0xd1e89b=_0x18d13c;let _0x1ff143=_0x3c864d[_0xd1e89b(0x305)][_0x3c38e1];return!_0x1ff143||_0x1ff143[_0xd1e89b(0x272)]===!0x0||_0x1ff143[_0xd1e89b(0x346)]===_0x1013ad[_0xd1e89b(0x212)];});return _0x4e79e7?{'valid':!0x1,'reason':_0x18d13c(0x36a)+_0x4e79e7+_0x18d13c(0x4a8)}:{'valid':!0x0};}function Ve(_0x289972,_0x3bfc2c,_0x42afbb,_0x341ac4={}){const _0x5042b8=_0x11ae;let _0x6d7c54=N(_0x3bfc2c);if(_0x3bfc2c[_0x5042b8(0x346)]!==_0x1013ad[_0x5042b8(0x12f)]||!_0x6d7c54)return{'valid':!0x1,'reason':_0x5042b8(0x299)};let _0x4d3de3=ze(_0x42afbb,_0x6d7c54[_0x5042b8(0x3eb)]);if(!_0x4d3de3[_0x5042b8(0x48b)]||_0x341ac4[_0x5042b8(0x366)])return _0x4d3de3;let _0x499b61=_0x289972[_0x5042b8(0x486)][_0x6d7c54[_0x5042b8(0x16b)]];if(!_0x499b61)return{'valid':!0x1,'reason':_0x5042b8(0x1a9)};let _0xaaa988=Le(_0x42afbb)['find'](_0x2c553f=>!_0x499b61[_0x5042b8(0x1d7)][_0x2c553f]);return _0xaaa988?{'valid':!0x1,'reason':_0x5042b8(0x3db)+_0xaaa988+_0x5042b8(0x223)}:{'valid':!0x0};}function He(_0x298dda,_0x51335b){const _0x3a9c3c=_0x11ae;return Object['values'](_0x298dda['tables'])['flatMap'](_0x3d666b=>Object[_0x3a9c3c(0x259)](_0x3d666b['fields'])[_0x3a9c3c(0xeb)](_0x1479a0=>{const _0x5289f5=_0x3a9c3c;let _0x23e876=_0x1479a0[_0x5289f5(0x346)]===_0x1013ad['RecordLink']?N(_0x1479a0):null;return(_0x23e876==null?void 0x0:_0x23e876[_0x5289f5(0x16b)])===_0x51335b?[{'tableId':_0x3d666b['id'],'fieldId':_0x1479a0['id']}]:[];}));}const Ue=0x5,We=_0x327967(0x355);let Ge=function(_0x142e50){const _0x5a9b01=_0x327967;return _0x142e50[_0x5a9b01(0x11b)]=_0x5a9b01(0x421),_0x142e50[_0x5a9b01(0x256)]=_0x5a9b01(0x3bd),_0x142e50['SelfParent']=_0x5a9b01(0x43b),_0x142e50[_0x5a9b01(0x2d8)]=_0x5a9b01(0x403),_0x142e50['MaxDepth']=_0x5a9b01(0x231),_0x142e50[_0x5a9b01(0x287)]=_0x5a9b01(0x3ea),_0x142e50;}({});var P=class extends Error{constructor(_0x5f4b72,_0xddd344=_0x327967(0x2cf)+_0x5f4b72){const _0x250c1d=_0x327967;super(_0xddd344),this['code']=_0x5f4b72,this[_0x250c1d(0x158)]=_0x250c1d(0x247);}};let Ke=function(_0x1a17a7){const _0x4a8859=_0x327967;return _0x1a17a7['UI']='ui',_0x1a17a7[_0x4a8859(0x15b)]=_0x4a8859(0x111),_0x1a17a7[_0x4a8859(0x3c4)]='remote',_0x1a17a7[_0x4a8859(0x325)]='undo',_0x1a17a7[_0x4a8859(0x36e)]=_0x4a8859(0x274),_0x1a17a7[_0x4a8859(0x4a1)]=_0x4a8859(0x35a),_0x1a17a7;}({});function F(_0x25beba,_0x2f6c7f){const _0x2ecc5b=_0x327967;if(!_0x2f6c7f)return!0x1;let _0x578bf3=_0x25beba[_0x2ecc5b(0x305)][_0x2f6c7f];if(!_0x578bf3||_0x578bf3[_0x2ecc5b(0x346)]!==_0x1013ad[_0x2ecc5b(0x12f)])return!0x1;let _0x57f058=N(_0x578bf3);return _0x57f058?_0x57f058['targetTableId']===_0x25beba['id']&&_0x57f058['multiple']===!0x1:!0x1;}function qe(_0x2c1b56){const _0x32759d=_0x327967;return[..._0x2c1b56[_0x32759d(0x1f8)],...Object[_0x32759d(0x27a)](_0x2c1b56[_0x32759d(0x305)])[_0x32759d(0x1be)](_0x7efdb9=>!_0x2c1b56[_0x32759d(0x1f8)]['includes'](_0x7efdb9))['sort']()]['find'](_0x5d9350=>{const _0x2dfef3=_0x32759d;var _0x484d6f;return F(_0x2c1b56,_0x5d9350)?((_0x484d6f=N(_0x2c1b56[_0x2dfef3(0x305)][_0x5d9350]))==null?void 0x0:_0x484d6f[_0x2dfef3(0x382)])===_0x3e0df7['Parent']:!0x1;})??null;}function Je(_0x404bdf){const _0x2556b0=_0x327967;let _0x2ee720=qe(_0x404bdf);if(_0x2ee720)return _0x2ee720;let _0x3294c4=We,_0x45e5b6=0x2;for(;_0x404bdf[_0x2556b0(0x305)][_0x3294c4];)_0x3294c4=We+'_'+_0x45e5b6++;return _0x3294c4;}function Ye(_0x2d8ed6,_0x358a4c=Je(_0x2d8ed6),_0x4367b0=_0x327967(0x41f)){const _0x9064ee=_0x327967;return{'id':_0x358a4c,'name':_0x4367b0,'type':_0x1013ad[_0x9064ee(0x12f)],'config':{'targetTableId':_0x2d8ed6['id'],'multiple':!0x1,'displayFieldId':_0x2d8ed6[_0x9064ee(0x44a)],'pickerFieldIds':[_0x2d8ed6[_0x9064ee(0x44a)]],'relationRole':_0x3e0df7[_0x9064ee(0x4a4)]}};}function Xe(_0x122eda){let _0x210b7b=qe(_0x122eda);return _0x210b7b?[_0x210b7b]:[];}function Ze(_0x3d839d,_0x21904a){const _0x11cb5d=_0x327967;let _0x8bb56e=[...Xe(_0x3d839d)]['filter'](_0x7213f=>_0x21904a['some'](_0x36d13c=>Object[_0x11cb5d(0x331)][_0x11cb5d(0x150)][_0x11cb5d(0x171)](_0x36d13c['values'],_0x7213f)));if(!_0x8bb56e[_0x11cb5d(0x1bf)])return[];let _0x19a30b={..._0x3d839d[_0x11cb5d(0x1d7)]};_0x21904a[_0x11cb5d(0x29b)](_0x1d13d8=>{const _0x30c440=_0x11cb5d;let _0x58d0dd=_0x19a30b[_0x1d13d8[_0x30c440(0x345)]];_0x58d0dd&&(_0x19a30b[_0x1d13d8[_0x30c440(0x345)]]={..._0x58d0dd,'values':{..._0x58d0dd[_0x30c440(0x259)],..._0x1d13d8['values']}});});let _0x3c76f0={..._0x3d839d,'records':_0x19a30b},_0x3284e5=[];return _0x8bb56e[_0x11cb5d(0x29b)](_0x3d3f1b=>{const _0x57b813=_0x11cb5d;let _0x47dee4=tt(_0x3d839d,_0x3d3f1b),_0x38fefd=tt(_0x3c76f0,_0x3d3f1b);for(let [_0x1e7606,_0x15f533]of _0x38fefd[_0x57b813(0x206)]){let _0x4e0930=_0x21904a[_0x57b813(0x35d)](_0x548150=>_0x548150[_0x57b813(0x345)]===_0x1e7606&&Object[_0x57b813(0x331)][_0x57b813(0x150)][_0x57b813(0x171)](_0x548150[_0x57b813(0x259)],_0x3d3f1b));if(_0x47dee4[_0x57b813(0x206)][_0x57b813(0x318)](_0x1e7606)!==_0x15f533||_0x4e0930)throw new P($e(_0x15f533));}_0x21904a[_0x57b813(0x29b)](_0x468cee=>{const _0x2b0590=_0x57b813;if(!Object[_0x2b0590(0x331)][_0x2b0590(0x150)][_0x2b0590(0x171)](_0x468cee[_0x2b0590(0x259)],_0x3d3f1b))return;let _0x27c5c4=_0x47dee4[_0x2b0590(0x47c)]['get'](_0x468cee[_0x2b0590(0x345)])??null,_0x28ab78=_0x38fefd[_0x2b0590(0x47c)][_0x2b0590(0x318)](_0x468cee['recordId'])??null;_0x27c5c4!==_0x28ab78&&_0x3284e5['push']({'tableId':_0x3d839d['id'],'fieldId':_0x3d3f1b,'recordId':_0x468cee[_0x2b0590(0x345)],'oldParentRecordId':_0x27c5c4,'parentRecordId':_0x28ab78});});}),_0x3284e5;}function Qe(_0x5e1f46,_0xfff739){const _0x4f896e=_0x327967;let _0x10a2c6=_0xfff739[_0x4f896e(0x412)](_0x12e841=>_0x12e841['id']);if(new Set(_0x10a2c6)[_0x4f896e(0x1d0)]!==_0x10a2c6[_0x4f896e(0x1bf)]||_0x10a2c6[_0x4f896e(0x35d)](_0x4076af=>_0x5e1f46[_0x4f896e(0x1d7)][_0x4076af]))return[];let _0xf1122e=Xe(_0x5e1f46),_0x4d0061=_0xf1122e[_0x4f896e(0x1bf)]?null:Je(_0x5e1f46),_0x26d4dc=[..._0xf1122e,..._0x4d0061&&_0xfff739['some'](_0x347e6e=>Object[_0x4f896e(0x331)][_0x4f896e(0x150)]['call'](_0x347e6e[_0x4f896e(0x259)],_0x4d0061))?[_0x4d0061]:[]][_0x4f896e(0x1be)](_0x3284ba=>_0xfff739[_0x4f896e(0x35d)](_0x445cd5=>Object[_0x4f896e(0x331)][_0x4f896e(0x150)]['call'](_0x445cd5[_0x4f896e(0x259)],_0x3284ba)));if(!_0x26d4dc['length'])return[];let _0x7992db={..._0x5e1f46,'records':{..._0x5e1f46['records'],...Object[_0x4f896e(0x49f)](_0xfff739['map'](_0x289b7f=>[_0x289b7f['id'],_0x289b7f]))},'recordOrder':[..._0x5e1f46[_0x4f896e(0x1e2)]??[],..._0xfff739[_0x4f896e(0x412)](_0x338490=>_0x338490['id'])]},_0xf64709=[];return _0x26d4dc[_0x4f896e(0x29b)](_0x9257c6=>{const _0x419906=_0x4f896e;let _0x112683=tt(_0x7992db,_0x9257c6);_0xfff739[_0x419906(0x29b)](_0x52d96c=>{const _0x19fa2a=_0x419906;let _0x131500=_0x112683[_0x19fa2a(0x206)][_0x19fa2a(0x318)](_0x52d96c['id']);if(_0x131500)throw new P($e(_0x131500));let _0x2c7209=_0x112683[_0x19fa2a(0x47c)][_0x19fa2a(0x318)](_0x52d96c['id'])??null;_0x2c7209&&_0xf64709[_0x19fa2a(0x161)]({'tableId':_0x5e1f46['id'],'fieldId':_0x9257c6,'recordId':_0x52d96c['id'],'oldParentRecordId':null,'parentRecordId':_0x2c7209});});}),_0xf64709;}function $e(_0x3cf0a8){const _0x17e11e=_0x327967;switch(_0x3cf0a8){case _0x240c41[_0x17e11e(0x3a9)]:return _0x17e11e(0x3bd);case _0x240c41[_0x17e11e(0x38b)]:return _0x17e11e(0x43b);case _0x240c41[_0x17e11e(0x2d8)]:return'cycle';case _0x240c41['MaxDepth']:return _0x17e11e(0x231);}}function et(_0x512974,_0x1326a3){const _0x3dec9f=_0x327967;let _0x366a39=new Set(_0x1326a3),_0x159b4c=Xe(_0x512974);return Object[_0x3dec9f(0x259)](_0x512974[_0x3dec9f(0x1d7)])[_0x3dec9f(0xeb)](_0x3d8777=>_0x366a39[_0x3dec9f(0x103)](_0x3d8777['id'])?[]:Array[_0x3dec9f(0x1d1)](_0x159b4c)['flatMap'](_0x3715f1=>{const _0xb81a41=_0x3dec9f;let _0x9b48c9=Le(_0x3d8777['values'][_0x3715f1])[0x0]??null;return _0x9b48c9&&_0x366a39[_0xb81a41(0x103)](_0x9b48c9)?[{'tableId':_0x512974['id'],'fieldId':_0x3715f1,'recordId':_0x3d8777['id'],'oldParentRecordId':_0x9b48c9,'parentRecordId':null}]:[];}));}function tt(_0x260b4a,_0x222cad,_0x51c3dc=_0x260b4a[_0x327967(0x1e2)]??Object['keys'](_0x260b4a[_0x327967(0x1d7)])){const _0x2aab67=_0x327967;if((_0x260b4a[_0x2aab67(0x305)][_0x222cad]||_0x222cad!==Je(_0x260b4a))&&!F(_0x260b4a,_0x222cad))throw Error(_0x2aab67(0x4a9)+_0x222cad+_0x2aab67(0x1d6));let _0x5dc2bb=at(_0x260b4a,_0x51c3dc),_0x17f2a7=new Map(),_0x515da3=new Map();for(let _0x30ea73 of _0x5dc2bb){var _0x384b10;let _0x57572e=Le((_0x384b10=_0x260b4a[_0x2aab67(0x1d7)][_0x30ea73])==null?void 0x0:_0x384b10[_0x2aab67(0x259)][_0x222cad])[0x0]??null;_0x57572e?_0x57572e===_0x30ea73?(_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,null),_0x515da3[_0x2aab67(0x3fe)](_0x30ea73,_0x240c41[_0x2aab67(0x38b)])):_0x260b4a[_0x2aab67(0x1d7)][_0x57572e]?_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,_0x57572e):(_0x17f2a7['set'](_0x30ea73,null),_0x515da3['set'](_0x30ea73,_0x240c41[_0x2aab67(0x3a9)])):_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,null);}ot(_0x17f2a7,_0x515da3,_0x5dc2bb),st(_0x17f2a7,_0x515da3,_0x5dc2bb);let _0x10eaa9=new Map(_0x5dc2bb['map']((_0x5d59f9,_0x4d8038)=>[_0x5d59f9,_0x4d8038])),_0x47801b=new Map();for(let _0x1b380b of _0x5dc2bb){let _0x506496=_0x17f2a7[_0x2aab67(0x318)](_0x1b380b)??null,_0x568c9e=_0x47801b[_0x2aab67(0x318)](_0x506496)??[];_0x568c9e['push'](_0x1b380b),_0x47801b[_0x2aab67(0x3fe)](_0x506496,_0x568c9e);}_0x47801b['forEach'](_0x161d55=>_0x161d55[_0x2aab67(0x460)]((_0xcc055b,_0x39add1)=>(_0x10eaa9[_0x2aab67(0x318)](_0xcc055b)??0x0)-(_0x10eaa9[_0x2aab67(0x318)](_0x39add1)??0x0)));let _0x510719=_0x47801b[_0x2aab67(0x318)](null)??[],_0x5a311d=new Map(),_0x4d42fb=new Map(),_0x1b7a11=[],_0x52684a=(_0x30bf12,_0xa8d9bb)=>{const _0x246344=_0x2aab67;_0x5a311d[_0x246344(0x3fe)](_0x30bf12,_0xa8d9bb),_0x1b7a11['push'](_0x30bf12);let _0x420d1f=0x0;for(let _0x2d9f1d of _0x47801b['get'](_0x30bf12)??[])_0x420d1f=Math['max'](_0x420d1f,0x1+_0x52684a(_0x2d9f1d,_0xa8d9bb+0x1));return _0x4d42fb[_0x246344(0x3fe)](_0x30bf12,_0x420d1f),_0x420d1f;};return _0x510719[_0x2aab67(0x29b)](_0x1bcd6a=>_0x52684a(_0x1bcd6a,0x0)),{'fieldId':_0x222cad,'parentByRecordId':_0x17f2a7,'childrenByParentId':_0x47801b,'depthByRecordId':_0x5a311d,'subtreeHeightByRecordId':_0x4d42fb,'invalidReasonByRecordId':_0x515da3,'rootRecordIds':_0x510719,'orderedRecordIds':_0x1b7a11};}function nt(_0x5228fd,_0x39b98c,_0xa8187f=new Set(_0x39b98c['map'](_0x3ab8d4=>_0x3ab8d4['recordId']))){const _0x3e428c=_0x327967;let _0x32a248=new Set(_0xa8187f);for(let _0x7b4cc7 of _0xa8187f){let _0x1cbfe7=_0x5228fd['parentByRecordId'][_0x3e428c(0x318)](_0x7b4cc7)??null;for(;_0x1cbfe7;)_0x32a248[_0x3e428c(0x12e)](_0x1cbfe7),_0x1cbfe7=_0x5228fd['parentByRecordId'][_0x3e428c(0x318)](_0x1cbfe7)??null;}let _0x282fd7=new Map(_0x39b98c[_0x3e428c(0x412)](_0x2b42e7=>[_0x2b42e7[_0x3e428c(0x345)],_0x2b42e7])),_0x59e2d9=_0x5228fd[_0x3e428c(0x437)][_0x3e428c(0x1be)](_0x3376da=>_0x32a248[_0x3e428c(0x103)](_0x3376da)),_0x3a7e21=_0x59e2d9['flatMap'](_0x52ae6f=>{const _0x1e7b5d=_0x3e428c;let _0x240999=_0x282fd7[_0x1e7b5d(0x318)](_0x52ae6f);return _0x240999?[_0x240999]:[];}),_0x452302={};for(let _0x28b9c5=0x0;_0x28b9c5<_0x59e2d9[_0x3e428c(0x1bf)];_0x28b9c5++){let _0x587d30=_0x59e2d9[_0x28b9c5];_0x452302[_0x587d30]={'recordId':_0x587d30,'parentRecordId':_0x5228fd[_0x3e428c(0x47c)][_0x3e428c(0x318)](_0x587d30)??null,'depth':_0x5228fd[_0x3e428c(0x308)][_0x3e428c(0x318)](_0x587d30)??0x0,'directChildCount':(_0x5228fd[_0x3e428c(0x471)][_0x3e428c(0x318)](_0x587d30)??[])['length'],'subtreeHeight':_0x5228fd[_0x3e428c(0x3a6)][_0x3e428c(0x318)](_0x587d30)??0x0,'subtreeEndIndex':_0x28b9c5,'invalidReason':_0x5228fd['invalidReasonByRecordId'][_0x3e428c(0x318)](_0x587d30)};}let _0xc4e2c1=[];for(let _0x548f75=0x0;_0x548f75<_0x59e2d9['length'];_0x548f75++){let _0x2c7cc6=_0x59e2d9[_0x548f75],_0xcbff44=_0x452302[_0x2c7cc6]['depth'];for(;_0xc4e2c1[_0x3e428c(0x1bf)]&&_0xc4e2c1[_0xc4e2c1[_0x3e428c(0x1bf)]-0x1][_0x3e428c(0x442)]>=_0xcbff44;){let _0x4eb6c5=_0xc4e2c1['pop']();_0x452302[_0x4eb6c5['recordId']]['subtreeEndIndex']=_0x548f75-0x1;}_0xc4e2c1[_0x3e428c(0x161)]({'recordId':_0x2c7cc6,'depth':_0xcbff44});}return _0xc4e2c1['forEach'](({recordId:_0x59765d})=>{_0x452302[_0x59765d]['subtreeEndIndex']=_0x59e2d9['length']-0x1;}),{'rows':_0x3a7e21,'hierarchy':{'fieldId':_0x5228fd[_0x3e428c(0x173)],'rootRecordIds':_0x5228fd[_0x3e428c(0x32f)][_0x3e428c(0x1be)](_0x471116=>_0x32a248[_0x3e428c(0x103)](_0x471116)),'orderedRecordIds':_0x59e2d9,'nodes':_0x452302}};}function rt(_0x47d198,_0x3e11f7){const _0x3a2ce8=_0x327967;if(!_0x47d198[_0x3a2ce8(0xec)]||!(_0x3e11f7!=null&&_0x3e11f7[_0x3a2ce8(0x1d0)]))return _0x47d198[_0x3a2ce8(0x26f)];let _0x1fd762=[],_0x197ecc=0x0;for(;_0x197ecc<_0x47d198[_0x3a2ce8(0x26f)][_0x3a2ce8(0x1bf)];){let _0x321b5a=_0x47d198[_0x3a2ce8(0x26f)][_0x197ecc];_0x1fd762[_0x3a2ce8(0x161)](_0x321b5a);let _0x16d493=_0x47d198[_0x3a2ce8(0xec)]['nodes'][_0x321b5a[_0x3a2ce8(0x345)]];_0x197ecc=_0x3e11f7[_0x3a2ce8(0x103)](_0x321b5a[_0x3a2ce8(0x345)])&&_0x16d493?_0x16d493[_0x3a2ce8(0x2cd)]+0x1:_0x197ecc+0x1;}return _0x1fd762;}function _0x11ae(_0x599db4,_0x3fecbf){_0x599db4=_0x599db4-0xdc;const _0x4f42a9=_0x4f42();let _0x11aea9=_0x4f42a9[_0x599db4];return _0x11aea9;}function it(_0x1912c4,_0x221a1c,_0x20cb3b){const _0x5108e0=_0x327967;if(!_0x20cb3b)return{'valid':!0x0};if(_0x221a1c===_0x20cb3b)return{'valid':!0x1,'reason':_0x240c41[_0x5108e0(0x38b)]};let _0x406ce0=_0x20cb3b;for(;_0x406ce0;){if(_0x406ce0===_0x221a1c)return{'valid':!0x1,'reason':_0x240c41[_0x5108e0(0x2d8)]};_0x406ce0=_0x1912c4[_0x5108e0(0x47c)][_0x5108e0(0x318)](_0x406ce0)??null;}return(_0x1912c4[_0x5108e0(0x308)]['get'](_0x20cb3b)??0x0)+0x1+(_0x1912c4[_0x5108e0(0x3a6)][_0x5108e0(0x318)](_0x221a1c)??0x0)>=0x5?{'valid':!0x1,'reason':_0x240c41['MaxDepth']}:{'valid':!0x0};}function at(_0x48e3df,_0x295753){const _0x5c89d2=_0x327967;let _0x1030cc=new Set(),_0x3c503e=[];for(let _0x43506e of _0x295753)_0x48e3df[_0x5c89d2(0x1d7)][_0x43506e]&&!_0x1030cc[_0x5c89d2(0x103)](_0x43506e)&&(_0x1030cc['add'](_0x43506e),_0x3c503e[_0x5c89d2(0x161)](_0x43506e));return Object[_0x5c89d2(0x27a)](_0x48e3df[_0x5c89d2(0x1d7)])['sort']()[_0x5c89d2(0x29b)](_0x127de5=>{const _0x44dd48=_0x5c89d2;_0x1030cc['has'](_0x127de5)||_0x3c503e[_0x44dd48(0x161)](_0x127de5);}),_0x3c503e;}function ot(_0x3de256,_0x238d58,_0x320114){const _0x3dfa11=_0x327967;let _0xe505ac=new Set();for(let _0x2e0a1a of _0x320114){if(_0xe505ac[_0x3dfa11(0x103)](_0x2e0a1a))continue;let _0x7f211c=[],_0x1ed3b8=new Map(),_0x5dc897=_0x2e0a1a;for(;_0x5dc897&&!_0xe505ac[_0x3dfa11(0x103)](_0x5dc897);){let _0x3394fe=_0x1ed3b8['get'](_0x5dc897);if(_0x3394fe!=null){let _0x1ad0cd=[..._0x7f211c['slice'](_0x3394fe)][_0x3dfa11(0x460)]()['pop']();_0x3de256[_0x3dfa11(0x3fe)](_0x1ad0cd,null),_0x238d58[_0x3dfa11(0x3fe)](_0x1ad0cd,_0x240c41[_0x3dfa11(0x2d8)]);break;}_0x1ed3b8[_0x3dfa11(0x3fe)](_0x5dc897,_0x7f211c[_0x3dfa11(0x1bf)]),_0x7f211c[_0x3dfa11(0x161)](_0x5dc897),_0x5dc897=_0x3de256[_0x3dfa11(0x318)](_0x5dc897)??null;}_0x7f211c[_0x3dfa11(0x29b)](_0x57a92e=>_0xe505ac['add'](_0x57a92e));}}function st(_0x3efc1e,_0x59291b,_0x5a9087){const _0x403c5c=_0x327967;let _0x4a6fac=new Map(),_0x44c2f3=_0x3e1583=>{const _0x14bc65=_0x11ae;let _0x5a9592=_0x4a6fac[_0x14bc65(0x318)](_0x3e1583);if(_0x5a9592!=null)return _0x5a9592;let _0x40488b=_0x3efc1e[_0x14bc65(0x318)](_0x3e1583)??null;if(!_0x40488b)return _0x4a6fac['set'](_0x3e1583,0x0),0x0;let _0x449560=_0x44c2f3(_0x40488b)+0x1;return _0x449560>=0x5?(_0x3efc1e[_0x14bc65(0x3fe)](_0x3e1583,null),_0x59291b[_0x14bc65(0x3fe)](_0x3e1583,_0x240c41['MaxDepth']),_0x4a6fac[_0x14bc65(0x3fe)](_0x3e1583,0x0),0x0):(_0x4a6fac[_0x14bc65(0x3fe)](_0x3e1583,_0x449560),_0x449560);};_0x5a9087[_0x403c5c(0x29b)](_0x44c2f3);}let ct=0x0;function lt(){const _0x578b28=_0x327967;if(globalThis[_0x578b28(0x22e)]===!0x0)return!0x0;try{let _0x5b6249=typeof location>'u'?'':location[_0x578b28(0x1f4)],_0x5255d8=new URLSearchParams(_0x5b6249);if(_0x5255d8[_0x578b28(0x318)]('basePerf')==='1'||_0x5255d8[_0x578b28(0x318)](_0x578b28(0x2c3))==='true'||_0x5255d8[_0x578b28(0x318)](_0x578b28(0x27c))==='1')return!0x0;}catch{}try{let _0x36493e=typeof localStorage>'u'?null:localStorage[_0x578b28(0x213)](_0x578b28(0x14d));return _0x36493e==='1'||_0x36493e===_0x578b28(0x1f3);}catch{return!0x1;}}function I(_0x571df2,_0x20a952,_0x458990){const _0x20a709=_0x327967;if(!lt())return _0x20a952();let _0x1b4122=dt(),_0x476427=_0x20a709(0x2af)+ct++;ft(_0x476427+_0x20a709(0x16e));try{return _0x20a952();}finally{let _0x391756=dt()-_0x1b4122;ft(_0x476427+_0x20a709(0x347)),pt(_0x571df2,_0x476427+_0x20a709(0x16e),_0x476427+':end'),ut(_0x571df2,_0x391756,_0x458990);}}function ut(_0x10bbd8,_0x4cca2b,_0x1a4304){const _0x30549f=_0x327967;if(!lt())return;let _0x1ea452=Math['round'](_0x4cca2b*0x64)/0x64,_0x3c1a5b=_0x1a4304&&Object[_0x30549f(0x27a)](_0x1a4304)[_0x30549f(0x1bf)]?'\x20'+JSON['stringify'](_0x1a4304):'';console[_0x30549f(0x294)](_0x30549f(0x14c)+_0x10bbd8+':\x20'+_0x1ea452+'ms'+_0x3c1a5b);}function dt(){const _0x490ce3=_0x327967;return typeof performance<'u'&&typeof performance['now']==_0x490ce3(0x2ef)?performance[_0x490ce3(0xfa)]():Date[_0x490ce3(0xfa)]();}function ft(_0xee105e){const _0x5395fc=_0x327967;try{if(typeof performance<'u'){var _0x3d3f4b,_0x4f0d3f;(_0x3d3f4b=(_0x4f0d3f=performance)[_0x5395fc(0x254)])==null||_0x3d3f4b['call'](_0x4f0d3f,_0xee105e);}}catch{}}function pt(_0xc0129d,_0x526d6b,_0x490501){const _0x1409c8=_0x327967;try{if(typeof performance<'u'){var _0x470932,_0x5565a2;(_0x470932=(_0x5565a2=performance)[_0x1409c8(0x3bb)])==null||_0x470932[_0x1409c8(0x171)](_0x5565a2,_0x1409c8(0x14c)+_0xc0129d,_0x526d6b,_0x490501);}}catch{}}function L(_0x569474){const _0x7cca15=_0x327967;var _0x2f44e1;return lt()?I(_0x7cca15(0xfe),()=>mt(_0x569474),{'tableId':_0x569474['id'],'records':Object[_0x7cca15(0x27a)](_0x569474[_0x7cca15(0x1d7)]??{})[_0x7cca15(0x1bf)],'fields':_0x569474[_0x7cca15(0x1f8)][_0x7cca15(0x1bf)],'hasRecordOrder':!!((_0x2f44e1=_0x569474[_0x7cca15(0x1e2)])!=null&&_0x2f44e1[_0x7cca15(0x1bf)])}):mt(_0x569474);}function mt(_0x23b759){const _0x16108a=_0x327967;var _0x2d2ddb;let _0x8ca96a=_0x23b759[_0x16108a(0x1d7)]??{},_0x1e1578=_0x23b759[_0x16108a(0x305)]??{},_0x3ddc48=((_0x2d2ddb=_0x23b759[_0x16108a(0x1e2)])==null?void 0x0:_0x2d2ddb[_0x16108a(0x1be)](_0x27a319=>_0x8ca96a[_0x27a319]))??[],_0x3005f2=new Set(_0x3ddc48),_0x2fcd54=[];for(let _0x435e64 of Object[_0x16108a(0x259)](_0x8ca96a))_0x3005f2['has'](_0x435e64['id'])||_0x2fcd54[_0x16108a(0x161)](_0x435e64);let _0x5b91f1=_0x2fcd54['length']?[..._0x3ddc48,...Rt(_0x2fcd54)]:_0x3ddc48,_0x9dc2ca=_0x23b759['fieldOrder'][_0x16108a(0x1be)](_0x3df87e=>_0x1e1578[_0x3df87e]),_0x1e6ec8={..._0x23b759[_0x16108a(0x2a7)]??{}},_0x2662e0={..._0x23b759[_0x16108a(0x2ba)]??{}},_0x4b9070={..._0x23b759['cellData']??{}};_0x23b759['recordOrder']=_0x5b91f1,_0x23b759['rowIndex']={},_0x23b759[_0x16108a(0x2a7)]={},_0x23b759[_0x16108a(0x22a)]={},_0x23b759[_0x16108a(0x2ba)]={},_0x23b759[_0x16108a(0xdd)]={},_0x23b759[_0x16108a(0x2b3)]={..._0x23b759[_0x16108a(0x2b3)]??{}},_0x23b759[_0x16108a(0x2b3)]['attachmentSets']={..._0x23b759[_0x16108a(0x2b3)][_0x16108a(0x40e)]??{}},_0x23b759[_0x16108a(0x2b3)][_0x16108a(0x320)]={..._0x23b759[_0x16108a(0x2b3)]['attachments']??{}};let _0xbb9fe8=_0x23b759[_0x16108a(0x257)],_0x1b6bdf=_0x23b759[_0x16108a(0x2a7)],_0x29cd69=_0x23b759[_0x16108a(0x22a)],_0x335622=_0x23b759[_0x16108a(0x2ba)],_0x24acbe=_0x23b759[_0x16108a(0xdd)];return _0x5b91f1[_0x16108a(0x29b)]((_0x5074ca,_0x37e27c)=>{_0xbb9fe8[_0x5074ca]=_0x37e27c,_0x1b6bdf[_0x37e27c]=_0x5074ca;}),_0x9dc2ca[_0x16108a(0x29b)]((_0x3b1f0c,_0x225edb)=>{_0x29cd69[_0x3b1f0c]=_0x225edb,_0x335622[_0x225edb]=_0x3b1f0c;}),Object['entries'](_0x4b9070)[_0x16108a(0x29b)](([_0x1450d8,_0x4a06a8])=>{const _0x2ea635=_0x16108a;let _0x530e89=Number(_0x1450d8),_0x16acab=_0x1e6ec8[_0x530e89]??_0x5b91f1[_0x530e89],_0x44a83c=_0x16acab?_0xbb9fe8[_0x16acab]:void 0x0;_0x44a83c!=null&&(_0x24acbe[_0x44a83c]={..._0x24acbe[_0x44a83c]??{}},Object[_0x2ea635(0x209)](_0x4a06a8??{})[_0x2ea635(0x29b)](([_0x2fe583,_0x27f0c4])=>{let _0x53066d=Number(_0x2fe583),_0x1e8575=_0x2662e0[_0x53066d]??_0x9dc2ca[_0x53066d],_0x1b9a88=_0x1e8575?_0x29cd69[_0x1e8575]:void 0x0;_0x1b9a88!=null&&(_0x24acbe[_0x44a83c][_0x1b9a88]=St(_0x27f0c4));}));}),Object[_0x16108a(0x259)](_0x8ca96a)[_0x16108a(0x29b)](_0x18a818=>{const _0x4a5bb0=_0x16108a;let _0x4ea5ac=_0xbb9fe8[_0x18a818['id']];_0x4ea5ac!=null&&(_0x18a818[_0x4a5bb0(0x259)]={..._0x18a818[_0x4a5bb0(0x259)]??{},[_0x40fc9d]:_0x18a818['id']},_0x24acbe[_0x4ea5ac]={..._0x24acbe[_0x4ea5ac]??{},0x0:{'v':_0x18a818['id'],'t':_0x556bff['STRING']}},Object['entries'](_0x18a818[_0x4a5bb0(0x259)]??{})[_0x4a5bb0(0x29b)](([_0x293bd6,_0xe20647])=>{let _0x3fa2fe=_0x1e1578[_0x293bd6];(_0x3fa2fe==null?void 0x0:_0x3fa2fe['type'])===_0x1013ad['Attachment']&&Dt(_0x23b759,_0x18a818['id'],_0x293bd6,_0xe20647);let _0x3b9d82=_0x29cd69[_0x293bd6];if(_0x3b9d82==null)return;let _0x3e066c=_0x24acbe[_0x4ea5ac][_0x3b9d82];if(_0x3e066c!=null){jt(_0x3e066c,_0x3fa2fe,_0xe20647)&&(_0x24acbe[_0x4ea5ac][_0x3b9d82]=xt(_0xe20647,_0x3fa2fe));return;}_0x24acbe[_0x4ea5ac][_0x3b9d82]=xt(_0xe20647,_0x3fa2fe);}));}),_0x23b759;}function ht(_0x10facf,_0x27f3f9){const _0x51df34=_0x327967;return _0x10facf['records']=Object[_0x51df34(0x49f)](Object[_0x51df34(0x209)](_0x10facf[_0x51df34(0x1d7)])['map'](([_0x4c5a46,_0x1c6039])=>[_0x4c5a46,{..._0x1c6039}])),L(_0x10facf),Object['entries'](_0x10facf[_0x51df34(0x2a7)]??{})[_0x51df34(0x29b)](([_0xa7429,_0x4daf5d])=>{const _0x6d1f0c=_0x51df34;var _0x5bcc5a;let _0x4869b1=Number(_0xa7429),_0x58d72d=_0x10facf[_0x6d1f0c(0x1d7)][_0x4daf5d];_0x58d72d&&(_0x58d72d[_0x6d1f0c(0x259)]={..._0x58d72d[_0x6d1f0c(0x259)]??{}},Object[_0x6d1f0c(0x209)](((_0x5bcc5a=_0x10facf['cellData'])==null?void 0x0:_0x5bcc5a[_0x4869b1])??{})[_0x6d1f0c(0x29b)](([_0x1bb150,_0x1c9cdf])=>{const _0x431f16=_0x6d1f0c;var _0x4db98c;let _0x3fd868=(_0x4db98c=_0x10facf[_0x431f16(0x2ba)])==null?void 0x0:_0x4db98c[Number(_0x1bb150)];_0x3fd868&&_0x27f3f9&&!_0x27f3f9(_0x4daf5d,_0x3fd868)||(_0x3fd868===_0x40fc9d?_0x58d72d[_0x431f16(0x259)][_0x40fc9d]=_0x58d72d['id']:_0x3fd868&&(_0x58d72d[_0x431f16(0x259)][_0x3fd868]=Ct(_0x1c9cdf,_0x10facf[_0x431f16(0x305)][_0x3fd868],_0x10facf,_0x4daf5d)));}));}),_0x10facf;}function gt(_0x3ebd50,_0xdd37e0){const _0x57e9c6=_0x327967;for(let {row:_0x2c6468,col:_0x4bf06d}of _0xdd37e0){var _0x473a08,_0x49be48,_0x5cd912;let _0x196ded=(_0x473a08=_0x3ebd50[_0x57e9c6(0x2a7)])==null?void 0x0:_0x473a08[_0x2c6468],_0x58a565=(_0x49be48=_0x3ebd50[_0x57e9c6(0x2ba)])==null?void 0x0:_0x49be48[_0x4bf06d],_0x420808=_0x196ded?_0x3ebd50[_0x57e9c6(0x1d7)][_0x196ded]:void 0x0;if(!_0x420808||!_0x58a565)continue;if(_0x58a565===_0x40fc9d){_0x420808['values'][_0x40fc9d]=_0x420808['id'];continue;}let _0x3ab8f4=(_0x5cd912=_0x3ebd50[_0x57e9c6(0xdd)])==null||(_0x5cd912=_0x5cd912[_0x2c6468])==null?void 0x0:_0x5cd912[_0x4bf06d];(_0x3ab8f4!=null||Object[_0x57e9c6(0x331)][_0x57e9c6(0x150)][_0x57e9c6(0x171)](_0x420808[_0x57e9c6(0x259)]??{},_0x58a565))&&(_0x420808[_0x57e9c6(0x259)]={..._0x420808[_0x57e9c6(0x259)]??{}},_0x420808[_0x57e9c6(0x259)][_0x58a565]=Ct(_0x3ab8f4,_0x3ebd50[_0x57e9c6(0x305)][_0x58a565],_0x3ebd50,_0x196ded));}return _0x3ebd50;}function _t(_0x137a4c,_0x523996,_0x392e70){const _0x5df792=_0x327967;var _0x39f338,_0x250ef7,_0x18ec08,_0xe0e577,_0x3a1464,_0x13e17b;let _0x798c55=(_0x39f338=_0x137a4c[_0x5df792(0x257)])==null?void 0x0:_0x39f338[_0x523996],_0x3b1838=(_0x250ef7=_0x137a4c['colIndex'])==null?void 0x0:_0x250ef7[_0x392e70];if(_0x798c55!=null&&_0x3b1838!=null&&((_0x18ec08=_0x137a4c[_0x5df792(0x2a7)])==null?void 0x0:_0x18ec08[_0x798c55])===_0x523996&&((_0xe0e577=_0x137a4c[_0x5df792(0x2ba)])==null?void 0x0:_0xe0e577[_0x3b1838])===_0x392e70)return{'row':_0x798c55,'col':_0x3b1838};let _0x44cd7c=L(_0x137a4c),_0x3d3375=(_0x3a1464=_0x44cd7c[_0x5df792(0x257)])==null?void 0x0:_0x3a1464[_0x523996],_0xa2816a=(_0x13e17b=_0x44cd7c[_0x5df792(0x22a)])==null?void 0x0:_0x13e17b[_0x392e70];return _0x3d3375==null||_0xa2816a==null?null:{'row':_0x3d3375,'col':_0xa2816a};}function vt(_0x3207df,_0x116eef,_0x2a28af){const _0x5941fc=_0x327967;var _0x17653f;let _0x420c46=_t(_0x3207df,_0x116eef,_0x2a28af);if(_0x420c46)return(_0x17653f=_0x3207df[_0x5941fc(0xdd)])==null||(_0x17653f=_0x17653f[_0x420c46['row']])==null?void 0x0:_0x17653f[_0x420c46['col']];}function yt(_0x417fac,_0x57457b,_0x15598a){const _0x320706=_0x327967;var _0x3cbda9;let _0x4d1820=vt(_0x417fac,_0x57457b,_0x15598a),_0x3e0836=_0x417fac[_0x320706(0x305)][_0x15598a];if((_0x3e0836==null?void 0x0:_0x3e0836['type'])===_0x1013ad[_0x320706(0x49d)]){var _0x370520;return Ot(_0x417fac,_0x57457b,_0x15598a)??kt((_0x370520=_0x417fac['records'][_0x57457b])==null||(_0x370520=_0x370520[_0x320706(0x259)])==null?void 0x0:_0x370520[_0x15598a]);}if(Mt(_0x3e0836)||Nt(_0x3e0836)||(_0x3e0836==null?void 0x0:_0x3e0836[_0x320706(0x346)])===_0x1013ad[_0x320706(0x170)]){var _0x5ed585;let _0x351f38=(_0x5ed585=_0x417fac[_0x320706(0x1d7)][_0x57457b])==null||(_0x5ed585=_0x5ed585[_0x320706(0x259)])==null?void 0x0:_0x5ed585[_0x15598a];return _0x351f38!=null&&_0x351f38!==''?At(_0x351f38,_0x3e0836):Ct(_0x4d1820,_0x3e0836,_0x417fac,_0x57457b);}return _0x4d1820&&Object[_0x320706(0x331)][_0x320706(0x150)]['call'](_0x4d1820,'v')?_0x4d1820['v']??null:((_0x3cbda9=_0x417fac[_0x320706(0x1d7)][_0x57457b])==null||(_0x3cbda9=_0x3cbda9['values'])==null?void 0x0:_0x3cbda9[_0x15598a])??null;}function bt(_0x36dbe4,_0x1cfaea,_0x4da394){const _0x3571d0=_0x327967;var _0x1c3b46;let _0x2fce9e=vt(_0x36dbe4,_0x1cfaea,_0x4da394);if(_0x2fce9e&&Object[_0x3571d0(0x331)][_0x3571d0(0x150)][_0x3571d0(0x171)](_0x2fce9e,'v'))return _0x2fce9e['v']??null;let _0x1ea93e=_0x36dbe4[_0x3571d0(0x305)][_0x4da394];return xt(((_0x1c3b46=_0x36dbe4[_0x3571d0(0x1d7)][_0x1cfaea])==null||(_0x1c3b46=_0x1c3b46[_0x3571d0(0x259)])==null?void 0x0:_0x1c3b46[_0x4da394])??null,_0x1ea93e)['v']??null;}function xt(_0x5ef7d1,_0x5b469b){const _0x598142=_0x327967;if(Tt(_0x5ef7d1))return(_0x5b469b==null?void 0x0:_0x5b469b[_0x598142(0x346)])===_0x1013ad[_0x598142(0x49d)]?{..._0x5ef7d1,'v':'','t':_0x556bff[_0x598142(0x334)]}:St(_0x5ef7d1);if((_0x5b469b==null?void 0x0:_0x5b469b['type'])===_0x1013ad[_0x598142(0x49d)])return{'v':'','t':_0x556bff[_0x598142(0x334)]};if(Nt(_0x5b469b)){let _0xef4ec7=Pt(_0x5ef7d1);return{'v':_0xef4ec7,'t':Lt(_0xef4ec7)};}if(Mt(_0x5b469b))return{'v':Ft(_0x5ef7d1)['join'](',\x20'),'t':_0x556bff[_0x598142(0x334)]};if((_0x5b469b==null?void 0x0:_0x5b469b['type'])===_0x1013ad[_0x598142(0x170)]&&_0x5ef7d1&&typeof _0x5ef7d1==_0x598142(0x3d8)&&!Array['isArray'](_0x5ef7d1)){let _0x2179de=_0x5ef7d1;return{'v':String(_0x2179de[_0x598142(0x179)]??_0x2179de['url']??''),'t':_0x556bff[_0x598142(0x334)]};}return _0x5ef7d1===null||typeof _0x5ef7d1=='string'||typeof _0x5ef7d1==_0x598142(0x218)||typeof _0x5ef7d1==_0x598142(0x224)?{'v':_0x5ef7d1,'t':Lt(_0x5ef7d1)}:{'v':null,'t':null};}function St(_0x265007){let _0x333244=zt(_0x265007['t'],_0x265007['v']);if(_0x333244===void 0x0){let {t:_0x179b79,..._0x5a1772}=_0x265007;return _0x5a1772;}return{..._0x265007,'t':_0x333244};}function Ct(_0x5a254f,_0x1a9f2c,_0x23cda8,_0x125b6b){const _0x99ffd5=_0x327967;if(!_0x5a254f)return null;if((_0x1a9f2c==null?void 0x0:_0x1a9f2c[_0x99ffd5(0x346)])===_0x1013ad[_0x99ffd5(0x49d)])return _0x23cda8&&_0x125b6b?Ot(_0x23cda8,_0x125b6b,_0x1a9f2c['id'])??[]:[];if(Mt(_0x1a9f2c))return Ft(_0x5a254f['v']);if((_0x1a9f2c==null?void 0x0:_0x1a9f2c[_0x99ffd5(0x346)])===_0x1013ad['Link']&&_0x23cda8&&_0x125b6b){var _0x583520;let _0x1b7203=(_0x583520=_0x23cda8[_0x99ffd5(0x1d7)][_0x125b6b])==null||(_0x583520=_0x583520[_0x99ffd5(0x259)])==null?void 0x0:_0x583520[_0x1a9f2c['id']];if(_0x1b7203&&typeof _0x1b7203==_0x99ffd5(0x3d8)&&!Array[_0x99ffd5(0x3fb)](_0x1b7203))return _0x1b7203;}return Object['prototype'][_0x99ffd5(0x150)][_0x99ffd5(0x171)](_0x5a254f,'v')?_0x5a254f['v']??null:null;}function wt(_0xbc2f2d,_0x15a33b,_0x4cd5bf,_0x4a51e3,_0x10ba82){const _0x23412a=_0x327967;return(_0x4cd5bf==null?void 0x0:_0x4cd5bf[_0x23412a(0x346)])===_0x1013ad[_0x23412a(0x49d)]?kt(_0xbc2f2d):Nt(_0x4cd5bf)?Pt(_0xbc2f2d):Mt(_0x4cd5bf)?Ft(_0xbc2f2d):(_0x4cd5bf==null?void 0x0:_0x4cd5bf[_0x23412a(0x346)])===_0x1013ad[_0x23412a(0x170)]&&(_0xbc2f2d==null||_0xbc2f2d==='')?null:(_0x4cd5bf==null?void 0x0:_0x4cd5bf['type'])===_0x1013ad[_0x23412a(0x170)]&&_0xbc2f2d&&typeof _0xbc2f2d==_0x23412a(0x3d8)&&!Array[_0x23412a(0x3fb)](_0xbc2f2d)&&!Tt(_0xbc2f2d)?_0xbc2f2d:Ct(_0x15a33b,_0x4cd5bf,_0x4a51e3,_0x10ba82);}function Tt(_0x40de29){const _0x59c287=_0x327967;return!!_0x40de29&&typeof _0x40de29==_0x59c287(0x3d8)&&(Object[_0x59c287(0x331)][_0x59c287(0x150)]['call'](_0x40de29,'v')||Object[_0x59c287(0x331)][_0x59c287(0x150)][_0x59c287(0x171)](_0x40de29,'t')||Object[_0x59c287(0x331)]['hasOwnProperty'][_0x59c287(0x171)](_0x40de29,'p')||Object['prototype'][_0x59c287(0x150)]['call'](_0x40de29,'f')||Object['prototype']['hasOwnProperty'][_0x59c287(0x171)](_0x40de29,'si'));}function Et(_0x14de81,_0x43d3a0){return _0x14de81+'\x1f'+_0x43d3a0;}function Dt(_0x3f957c,_0xec78bb,_0x451143,_0xb2de2c){const _0x1677b2=_0x327967;let _0x1c43fb=kt(_0xb2de2c);_0x3f957c[_0x1677b2(0x2b3)]={..._0x3f957c[_0x1677b2(0x2b3)]??{}},_0x3f957c[_0x1677b2(0x2b3)]['attachmentSets']={..._0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x40e)]??{}},_0x3f957c['resources'][_0x1677b2(0x320)]={..._0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x320)]??{}};let _0x52e0f0=Et(_0x451143,_0xec78bb),_0x37ffbc=[];for(let _0x459ed7=0x0;_0x459ed7<_0x1c43fb['length'];_0x459ed7++){if(!(_0x459ed7 in _0x1c43fb))continue;let _0x1e7f94=_0x1c43fb[_0x459ed7],_0x3bda24=String(_0x1e7f94['id']??_0x52e0f0+'\x1f'+_0x459ed7),_0x2ab3c3={..._0x1e7f94,'id':_0x3bda24};_0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x320)][_0x3bda24]=_0x2ab3c3,_0x37ffbc[_0x1677b2(0x161)](_0x3bda24);}_0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x40e)][_0x52e0f0]=_0x37ffbc;}function Ot(_0x535d6f,_0x278bae,_0x43c958){const _0x5d1eb2=_0x327967;var _0xc7c790;let _0x4c48fc=Et(_0x43c958,_0x278bae),_0x484e32=(_0xc7c790=_0x535d6f[_0x5d1eb2(0x2b3)])==null||(_0xc7c790=_0xc7c790[_0x5d1eb2(0x40e)])==null?void 0x0:_0xc7c790[_0x4c48fc];if(!_0x484e32)return null;let _0x586e14=[];for(let _0x42b422=0x0;_0x42b422<_0x484e32[_0x5d1eb2(0x1bf)];_0x42b422++){var _0x6b551b;if(!(_0x42b422 in _0x484e32))continue;let _0x570d19=(_0x6b551b=_0x535d6f[_0x5d1eb2(0x2b3)])==null||(_0x6b551b=_0x6b551b[_0x5d1eb2(0x320)])==null?void 0x0:_0x6b551b[_0x484e32[_0x42b422]];_0x570d19&&_0x586e14['push']({..._0x570d19});}return _0x586e14;}function kt(_0x209dbe){const _0x1749d8=_0x327967;if(_0x209dbe==null||_0x209dbe===''||Tt(_0x209dbe)&&!('id'in _0x209dbe)&&!(_0x1749d8(0x158)in _0x209dbe))return[];let _0x5c33a6=Array[_0x1749d8(0x3fb)](_0x209dbe)?_0x209dbe:[_0x209dbe],_0x210bec=[];for(let _0x392f1a=0x0;_0x392f1a<_0x5c33a6[_0x1749d8(0x1bf)];_0x392f1a++){if(!(_0x392f1a in _0x5c33a6))continue;let _0x9e3790=_0x5c33a6[_0x392f1a],_0x5b988f=_0x9e3790&&typeof _0x9e3790==_0x1749d8(0x3d8)?{..._0x9e3790}:{'id':'attachment-'+_0x392f1a,'name':String(_0x9e3790)};Object[_0x1749d8(0x27a)](_0x5b988f)['length']>0x0&&_0x210bec[_0x1749d8(0x161)](_0x5b988f);}return _0x210bec;}function At(_0x8722b7,_0x18c195){const _0x1574b1=_0x327967;return(_0x18c195==null?void 0x0:_0x18c195['type'])===_0x1013ad[_0x1574b1(0x49d)]?kt(_0x8722b7):Nt(_0x18c195)?Pt(_0x8722b7):Mt(_0x18c195)?Ft(_0x8722b7):_0x8722b7;}function jt(_0x4b88fb,_0x8ce5d1,_0x44c622){const _0x288ba3=_0x327967;return(_0x8ce5d1==null?void 0x0:_0x8ce5d1['type'])===_0x1013ad['Attachment']?_0x4b88fb['v']!=='':Nt(_0x8ce5d1)?_0x4b88fb['v']!==Pt(_0x44c622):Mt(_0x8ce5d1)?Array[_0x288ba3(0x3fb)](_0x44c622)&&(_0x4b88fb['v']==null||_0x4b88fb['v']===''):!0x1;}function Mt(_0x3c5a60){const _0x56b65a=_0x327967;return(_0x3c5a60==null?void 0x0:_0x3c5a60['type'])===_0x1013ad[_0x56b65a(0x190)]||(_0x3c5a60==null?void 0x0:_0x3c5a60[_0x56b65a(0x346)])===_0x1013ad[_0x56b65a(0xf7)]||(_0x3c5a60==null?void 0x0:_0x3c5a60[_0x56b65a(0x346)])===_0x1013ad[_0x56b65a(0x3df)]&&_0x3c5a60[_0x56b65a(0x174)][_0x56b65a(0x118)]===!0x0;}function Nt(_0x1c400e){const _0x581cbc=_0x327967;return(_0x1c400e==null?void 0x0:_0x1c400e[_0x581cbc(0x346)])===_0x1013ad[_0x581cbc(0x3df)]&&_0x1c400e[_0x581cbc(0x174)][_0x581cbc(0x118)]!==!0x0;}function Pt(_0x4b0161){const _0xb724b2=_0x327967;let _0x65abbc=Tt(_0x4b0161)?_0x4b0161['v']:_0x4b0161,_0x251530=Array[_0xb724b2(0x3fb)](_0x65abbc)?_0x65abbc[0x0]:_0x65abbc;return _0x251530==null||_0x251530===''?null:String(_0x251530);}function Ft(_0xe4831b){const _0x19e3c6=_0x327967;if(_0xe4831b==null||_0xe4831b==='')return[];let _0x39f184=[];if(Array[_0x19e3c6(0x3fb)](_0xe4831b)){for(let _0x4c8d30=0x0;_0x4c8d30<_0xe4831b['length'];_0x4c8d30++){if(!(_0x4c8d30 in _0xe4831b))continue;let _0x1a53fd=It(_0xe4831b[_0x4c8d30]);_0x1a53fd&&_0x39f184[_0x19e3c6(0x161)](_0x1a53fd);}return _0x39f184;}for(let _0x1573e0 of String(_0xe4831b)['split'](',')){let _0x12bd17=_0x1573e0[_0x19e3c6(0x140)]();_0x12bd17&&_0x39f184[_0x19e3c6(0x161)](_0x12bd17);}return _0x39f184;}function It(_0x1b2bac){const _0x19d1a6=_0x327967;if(_0x1b2bac==null)return'';if(typeof _0x1b2bac==_0x19d1a6(0x2a0)||typeof _0x1b2bac=='number'||typeof _0x1b2bac==_0x19d1a6(0x224))return String(_0x1b2bac);if(typeof _0x1b2bac==_0x19d1a6(0x3d8)){let _0x4a42f9=_0x1b2bac;return String(_0x4a42f9['id']??_0x4a42f9['name']??_0x4a42f9[_0x19d1a6(0x179)]??'');}return String(_0x1b2bac);}function Lt(_0x539610){const _0x1070b9=_0x327967;return _0x539610==null?null:typeof _0x539610==_0x1070b9(0x218)?_0x556bff[_0x1070b9(0x39f)]:typeof _0x539610==_0x1070b9(0x224)?_0x556bff['BOOLEAN']:_0x556bff[_0x1070b9(0x334)];}function Rt(_0x3ef695){const _0x2afbd5=_0x327967;_0x3ef695[_0x2afbd5(0x460)]((_0x1e0bbf,_0x3fee55)=>_0x1e0bbf[_0x2afbd5(0x44c)][_0x2afbd5(0x3a4)](_0x3fee55['orderKey']));let _0x305aff=[];for(let _0x36ea6e of _0x3ef695)_0x305aff['push'](_0x36ea6e['id']);return _0x305aff;}function zt(_0x4cf112,_0x4f6315){return _0x4cf112===_0x556bff['STRING']||_0x4cf112===_0x556bff['NUMBER']||_0x4cf112===_0x556bff['BOOLEAN']||_0x4cf112===_0x556bff['FORCE_STRING']||_0x4cf112==null?_0x4cf112:Lt(_0x4f6315??null);}function R(_0x4dd918){const _0x2e9185=_0x327967;let _0x4dee54=null;for(let _0x5292b9 of _0x4dd918)_0x4dee54=_0x4dee54===null?_0x5292b9:_0x43163e['type'][_0x2e9185(0x13d)](_0x4dee54,_0x5292b9);return _0x4dee54;}var z=class e{static[_0x327967(0x207)](_0x26dc0b,_0x4b6d0c){const _0x5a2e1b=_0x327967;let _0x837d40=[];for(let _0x1d9909 of _0x4b6d0c){let _0x2bf9c5=Bt(_0x1d9909);if(!_0x2bf9c5||_0x2bf9c5[_0x5a2e1b(0x409)]!==_0x26dc0b['id'])return null;_0x837d40[_0x5a2e1b(0x161)](_0x2bf9c5['op']);}try{let _0x921ca3=R(_0x837d40);return _0x921ca3===null?_0x26dc0b:new e()[_0x5a2e1b(0x240)](_0x26dc0b,_0x921ca3);}catch{return null;}}[_0x327967(0x240)](_0x5abef5,_0x5d3c64){const _0x4ed0a5=_0x327967;let _0x3943c1=this[_0x4ed0a5(0x19d)](_0x5d3c64),_0x484ece=I(_0x4ed0a5(0x1d3),()=>Xt(_0x5abef5,_0x5d3c64),{'invalidations':_0x3943c1[_0x4ed0a5(0x1bf)]}),_0x281f03=I(_0x4ed0a5(0x499),()=>_0x43163e[_0x4ed0a5(0x346)]['apply'](_0x484ece,_0x5d3c64),{'invalidations':_0x3943c1['length']}),_0x1acffa=Ht(_0x281f03,_0x3943c1);return I('BaseJson1.syncCellInvalidations',()=>Vt(_0x281f03,_0x3943c1),{'invalidations':_0x3943c1['length']})?(Ut(_0x281f03,_0x1acffa),_0x281f03):(I('BaseJson1.normalizeTables',()=>{const _0x35f5fc=_0x4ed0a5;this[_0x35f5fc(0x101)](_0x281f03,_0x3943c1)[_0x35f5fc(0x29b)](_0x789fd9=>{const _0xe826dd=_0x35f5fc;let _0x2518f2=_0x3943c1[_0xe826dd(0x1be)](_0x2e4aac=>_0x2e4aac[_0xe826dd(0x19a)]===_0x789fd9['id']),_0x52e116=_0x2518f2['length']>0x0&&_0x2518f2[_0xe826dd(0x44b)](_0x44f03f=>_0x44f03f[_0xe826dd(0x3bf)]==='field'||_0x44f03f[_0xe826dd(0x3bf)]===_0xe826dd(0x333)||_0x44f03f['reason']===_0xe826dd(0x228)||_0x44f03f[_0xe826dd(0x3bf)]===_0xe826dd(0x472))?new Set(_0x2518f2[_0xe826dd(0xeb)](_0x51eef1=>{const _0x3a52fc=_0xe826dd;var _0x4caa45;if(_0x51eef1['reason']!=='field'||!_0x51eef1[_0x3a52fc(0x173)])return[];let _0x297c83=(_0x4caa45=_0x5abef5[_0x3a52fc(0x486)][_0x789fd9['id']])==null?void 0x0:_0x4caa45[_0x3a52fc(0x305)][_0x51eef1[_0x3a52fc(0x173)]],_0x10babe=_0x789fd9[_0x3a52fc(0x305)][_0x51eef1[_0x3a52fc(0x173)]];return(_0x297c83==null?void 0x0:_0x297c83[_0x3a52fc(0x346)])!==(_0x10babe==null?void 0x0:_0x10babe[_0x3a52fc(0x346)])||(_0x297c83==null?void 0x0:_0x297c83['config'][_0x3a52fc(0x118)])!==(_0x10babe==null?void 0x0:_0x10babe[_0x3a52fc(0x174)][_0x3a52fc(0x118)])?[_0x51eef1[_0x3a52fc(0x173)]]:[];})):void 0x0,_0x4f1ccd=new Set(_0x2518f2['flatMap'](_0x4c949c=>{const _0x422560=_0xe826dd;var _0x30267e,_0xcee638;return _0x4c949c[_0x422560(0x3bf)]!==_0x422560(0x228)||_0x4c949c[_0x422560(0x124)]==null||_0x4c949c[_0x422560(0x115)]==null?[]:[JSON[_0x422560(0xf8)]([(_0x30267e=_0x789fd9[_0x422560(0x2a7)])==null?void 0x0:_0x30267e[_0x4c949c[_0x422560(0x124)]],(_0xcee638=_0x789fd9[_0x422560(0x2ba)])==null?void 0x0:_0xcee638[_0x4c949c[_0x422560(0x115)]]])];}));ht(_0x789fd9,_0x52e116?(_0x155778,_0x2e2095)=>_0x52e116[_0xe826dd(0x103)](_0x2e2095)||_0x4f1ccd[_0xe826dd(0x103)](JSON['stringify']([_0x155778,_0x2e2095])):void 0x0);});},{'invalidations':_0x3943c1['length']}),Ut(_0x281f03,_0x1acffa),_0x281f03);}[_0x327967(0x38e)](_0x2c1754,_0x53e2c3){const _0x1c403a=_0x327967;return _0x43163e[_0x1c403a(0x346)]['invertWithDoc'](_0x53e2c3,_0x2c1754);}[_0x327967(0x19d)](_0x3fd6b0){const _0x160fef=_0x327967;let _0x4b9e2c=qt(_0x3fd6b0);return _0x4b9e2c['length']?Jt(_0x4b9e2c[_0x160fef(0xeb)](_0x300e92=>this[_0x160fef(0x19d)](_0x300e92))):Wt(_0x3fd6b0);}[_0x327967(0x101)](_0x474f9f,_0x32f1ce){const _0x180550=_0x327967;let _0x18a758=_0x32f1ce['filter'](_0x1909ef=>_0x1909ef[_0x180550(0x3bf)]!==_0x180550(0x333));return _0x18a758[_0x180550(0x1bf)]?_0x18a758[_0x180550(0x35d)](_0x5c637f=>!_0x5c637f[_0x180550(0x19a)])?Object[_0x180550(0x259)](_0x474f9f[_0x180550(0x486)]??{}):Array[_0x180550(0x1d1)](new Set(_0x18a758[_0x180550(0x412)](_0x27fe63=>_0x27fe63['tableId'])))[_0x180550(0xeb)](_0x13d59e=>{const _0x495883=_0x180550;var _0xc6a5cb;let _0x12185c=(_0xc6a5cb=_0x474f9f[_0x495883(0x486)])==null?void 0x0:_0xc6a5cb[_0x13d59e];return _0x12185c?[_0x12185c]:[];}):[];}};function Bt(_0x268005){const _0x1820af=_0x327967;let _0x17bda6=_0x268005[_0x1820af(0x303)];return _0x268005['id']!==_0x1820af(0x444)||typeof _0x17bda6!=_0x1820af(0x3d8)||!_0x17bda6||!('unitId'in _0x17bda6)||typeof _0x17bda6[_0x1820af(0x409)]!=_0x1820af(0x2a0)||!('op'in _0x17bda6)||!Array['isArray'](_0x17bda6['op'])?null:{'unitId':_0x17bda6[_0x1820af(0x409)],'op':_0x17bda6['op']};}function Vt(_0x5e26ec,_0x36ce33){const _0x5332aa=_0x327967;if(!_0x36ce33[_0x5332aa(0x1bf)]||_0x36ce33[_0x5332aa(0x35d)](_0x26decf=>_0x26decf[_0x5332aa(0x3bf)]!=='cell'))return!0x1;let _0x20d857=new Map();for(let _0x417002 of _0x36ce33){if(!_0x417002[_0x5332aa(0x19a)]||_0x417002[_0x5332aa(0x124)]==null||_0x417002[_0x5332aa(0x115)]==null)continue;let _0x130edf=_0x20d857['get'](_0x417002['tableId'])??[];_0x130edf[_0x5332aa(0x161)]({'row':_0x417002['row'],'col':_0x417002['column']}),_0x20d857['set'](_0x417002['tableId'],_0x130edf);}return _0x20d857[_0x5332aa(0x29b)]((_0x103b42,_0x3823db)=>{var _0x52d6aa;let _0x556447=(_0x52d6aa=_0x5e26ec['tables'])==null?void 0x0:_0x52d6aa[_0x3823db];_0x556447&>(_0x556447,_0x103b42);}),!0x0;}function Ht(_0x2150a7,_0x3e6a5b){const _0x4a7ba6=_0x327967;let _0x13faef=new Set();return _0x3e6a5b[_0x4a7ba6(0xeb)](_0x39f797=>{const _0x33e819=_0x4a7ba6;var _0x27d5e6;if(!_0x39f797[_0x33e819(0x19a)]||!_0x39f797[_0x33e819(0x345)]||!_0x39f797[_0x33e819(0x173)])return[];let _0x11e856=_0x39f797['tableId']+'\x1f'+_0x39f797['recordId']+'\x1f'+_0x39f797[_0x33e819(0x173)];if(_0x13faef[_0x33e819(0x103)](_0x11e856))return[];_0x13faef[_0x33e819(0x12e)](_0x11e856);let _0x4af1d1=(_0x27d5e6=_0x2150a7[_0x33e819(0x486)][_0x39f797['tableId']])==null||(_0x27d5e6=_0x27d5e6[_0x33e819(0x1d7)][_0x39f797[_0x33e819(0x345)]])==null?void 0x0:_0x27d5e6[_0x33e819(0x259)];return _0x4af1d1?[{'tableId':_0x39f797[_0x33e819(0x19a)],'recordId':_0x39f797[_0x33e819(0x345)],'fieldId':_0x39f797[_0x33e819(0x173)],'exists':Object[_0x33e819(0x331)][_0x33e819(0x150)]['call'](_0x4af1d1,_0x39f797[_0x33e819(0x173)]),'value':_0x4af1d1[_0x39f797['fieldId']]}]:[];});}function Ut(_0x247655,_0x1a948f){_0x1a948f['forEach'](_0x38039b=>{const _0x3c4694=_0x11ae;var _0x1d0c3a;let _0x3cd9a8=(_0x1d0c3a=_0x247655['tables'][_0x38039b[_0x3c4694(0x19a)]])==null||(_0x1d0c3a=_0x1d0c3a[_0x3c4694(0x1d7)][_0x38039b[_0x3c4694(0x345)]])==null?void 0x0:_0x1d0c3a[_0x3c4694(0x259)];_0x3cd9a8&&(_0x38039b[_0x3c4694(0x1b7)]?_0x3cd9a8[_0x38039b[_0x3c4694(0x173)]]=_0x38039b[_0x3c4694(0x1e1)]:delete _0x3cd9a8[_0x38039b['fieldId']]);});}function Wt(_0x2fd9f6){const _0x2601da=_0x327967;if(!Array[_0x2601da(0x3fb)](_0x2fd9f6)||_0x2fd9f6[_0x2601da(0x1bf)]<0x2)return[{'tableId':'','reason':_0x2601da(0x49c)}];let _0x4ec82a=_0x2fd9f6,_0x5b09a2=_0x4ec82a[_0x2601da(0x1c5)]('tables');return _0x5b09a2===-0x1||typeof _0x4ec82a[_0x5b09a2+0x1]!=_0x2601da(0x2a0)?_0x4ec82a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x2601da(0x49c)}]:Gt(_0x4ec82a,_0x5b09a2,String(_0x4ec82a[_0x5b09a2+0x1]));}function Gt(_0x2795c0,_0x4ca581,_0x3fe8f3){const _0x15b9c6=_0x327967;let _0x5dabcd=_0x2795c0[_0x4ca581+0x2];return _0x5dabcd==='records'&&typeof _0x2795c0[_0x4ca581+0x3]==_0x15b9c6(0x2a0)?Kt(_0x2795c0,_0x4ca581,_0x3fe8f3,String(_0x2795c0[_0x4ca581+0x3])):_0x5dabcd===_0x15b9c6(0xdd)&&_0x2795c0[_0x4ca581+0x3]!=null&&_0x2795c0[_0x4ca581+0x4]!=null?[{'tableId':_0x3fe8f3,'reason':'cell','row':Number(_0x2795c0[_0x4ca581+0x3]),'column':Number(_0x2795c0[_0x4ca581+0x4])}]:_0x5dabcd===_0x15b9c6(0x305)&&typeof _0x2795c0[_0x4ca581+0x3]==_0x15b9c6(0x2a0)?[{'tableId':_0x3fe8f3,'reason':'field','fieldId':String(_0x2795c0[_0x4ca581+0x3])}]:_0x5dabcd===_0x15b9c6(0x1f8)?[{'tableId':_0x3fe8f3,'reason':'field'}]:_0x5dabcd===_0x15b9c6(0x1e2)?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x472)}]:_0x5dabcd===_0x15b9c6(0x1eb)&&typeof _0x2795c0[_0x4ca581+0x3]=='string'?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x333),'viewId':String(_0x2795c0[_0x4ca581+0x3])}]:_0x5dabcd===_0x15b9c6(0x2e1)?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x333)}]:_0x5dabcd===_0x15b9c6(0x2b3)?[{'tableId':_0x3fe8f3,'reason':'cell'}]:[{'tableId':_0x3fe8f3,'reason':_0x5dabcd===void 0x0?_0x15b9c6(0x496):_0x15b9c6(0x49c)}];}function Kt(_0xd8f721,_0x2b1858,_0xb04482,_0x2608e3){const _0x125139=_0x327967;return _0xd8f721[_0x2b1858+0x4]===_0x125139(0x259)&&typeof _0xd8f721[_0x2b1858+0x5]=='string'?[{'tableId':_0xb04482,'reason':'cell','recordId':_0x2608e3,'fieldId':String(_0xd8f721[_0x2b1858+0x5])}]:_0xd8f721[_0x2b1858+0x4]===_0x125139(0x1db)||_0xd8f721[_0x2b1858+0x4]===_0x125139(0x2c9)?[]:[{'tableId':_0xb04482,'reason':_0x125139(0x472),'recordId':_0x2608e3}];}function qt(_0x536f96){const _0xc488c3=_0x327967;if(!Array[_0xc488c3(0x3fb)](_0x536f96))return[];let _0x5def5b=_0x536f96[_0xc488c3(0x1be)](Array[_0xc488c3(0x3fb)]);if(_0x5def5b['length']>0x1&&_0x5def5b['length']===_0x536f96[_0xc488c3(0x1bf)])return _0x5def5b;let _0x43c2b2=_0x536f96['findIndex'](Array[_0xc488c3(0x3fb)]);if(_0x43c2b2>0x0&&_0x536f96[_0xc488c3(0x348)](_0x43c2b2)[_0xc488c3(0x44b)](Array[_0xc488c3(0x3fb)])){let _0x162a6d=_0x536f96[_0xc488c3(0x348)](0x0,_0x43c2b2);return _0x536f96['slice'](_0x43c2b2)[_0xc488c3(0x412)](_0x576d78=>[..._0x162a6d,..._0x576d78]);}let _0x1ce032=_0x536f96[_0xc488c3(0x1c5)](_0xc488c3(0x486));if(_0x1ce032===-0x1||typeof _0x536f96[_0x1ce032+0x1]!=_0xc488c3(0x2a0))return[];let _0x2dd000=String(_0x536f96[_0x1ce032+0x1]),_0x7ecdf9=_0x536f96['slice'](_0x1ce032+0x2)['filter'](Array[_0xc488c3(0x3fb)]);return _0x7ecdf9[_0xc488c3(0x1bf)]<=0x1?[]:_0x7ecdf9['map'](_0x1a5369=>[_0xc488c3(0x486),_0x2dd000,..._0x1a5369]);}function Jt(_0x3afdd2){const _0x592e77=_0x327967;let _0x4b2595=new Set();return _0x3afdd2[_0x592e77(0x1be)](_0x46c52e=>{const _0x52f505=_0x592e77;let _0x57358a=JSON[_0x52f505(0xf8)](_0x46c52e);return!_0x4b2595[_0x52f505(0x103)](_0x57358a)&&(_0x4b2595[_0x52f505(0x12e)](_0x57358a),!0x0);});}function Yt(_0x4a8f6a){const _0x3d42b5=_0x327967;return _0x2ea00f[_0x3d42b5(0x3e0)](_0x4a8f6a);}function Xt(_0x3e0077,_0x217b3e){let _0x4195fb=Zt(_0x217b3e);if(!_0x4195fb['length'])return Yt(_0x3e0077);let _0x2500ff=an(_0x3e0077),_0x375512=new Set();for(let _0x28183c of _0x4195fb)en(_0x2500ff,_0x28183c,_0x375512);return _0x2500ff;}function Zt(_0x15e533){let _0x321c85=[];return Qt(_0x15e533,[],_0x321c85),_0x321c85;}function Qt(_0x307b99,_0x2e5ed3,_0xfd69b4){const _0x3a2378=_0x327967;if(!Array[_0x3a2378(0x3fb)](_0x307b99))return;let _0x1903f5=[];for(let _0x759fc3 of _0x307b99){if(Array[_0x3a2378(0x3fb)](_0x759fc3)){Qt(_0x759fc3,[..._0x2e5ed3,..._0x1903f5],_0xfd69b4);continue;}if($t(_0x759fc3)){_0xfd69b4[_0x3a2378(0x161)]([..._0x2e5ed3,..._0x1903f5]);continue;}(typeof _0x759fc3=='string'||typeof _0x759fc3==_0x3a2378(0x218))&&_0x1903f5[_0x3a2378(0x161)](_0x759fc3);}}function $t(_0x56bfb6){const _0x2e958f=_0x327967;if(!_0x56bfb6||typeof _0x56bfb6!=_0x2e958f(0x3d8)||Array[_0x2e958f(0x3fb)](_0x56bfb6))return!0x1;let _0x152fef=_0x56bfb6;return'i'in _0x152fef||'r'in _0x152fef||'p'in _0x152fef||'d'in _0x152fef||'es'in _0x152fef||_0x2e958f(0x488)in _0x152fef||'et'in _0x152fef;}function en(_0x2dc184,_0x28b31c,_0x1e7431){const _0x2cc15f=_0x327967;let _0x5b45b2=_0x2dc184,_0x135214=[];for(let _0x4ac6ff=0x0;_0x4ac6ff<_0x28b31c[_0x2cc15f(0x1bf)]-0x1;_0x4ac6ff++){let _0x3b4e67=_0x28b31c[_0x4ac6ff];_0x135214[_0x2cc15f(0x161)](_0x3b4e67);let _0x1a25f6=tn(_0x5b45b2,_0x3b4e67);if(!rn(_0x1a25f6))return;let _0x5678fa=JSON['stringify'](_0x135214);_0x1e7431[_0x2cc15f(0x103)](_0x5678fa)||(nn(_0x5b45b2,_0x3b4e67,an(_0x1a25f6)),_0x1e7431[_0x2cc15f(0x12e)](_0x5678fa));let _0x33649f=tn(_0x5b45b2,_0x3b4e67);if(!rn(_0x33649f))return;_0x5b45b2=_0x33649f;}}function tn(_0x4b8f9a,_0x2c7dbe){const _0x186e8e=_0x327967;return Array[_0x186e8e(0x3fb)](_0x4b8f9a)?typeof _0x2c7dbe==_0x186e8e(0x218)?_0x4b8f9a[_0x2c7dbe]:void 0x0:Reflect[_0x186e8e(0x318)](_0x4b8f9a,_0x2c7dbe);}function nn(_0x5293e2,_0x327296,_0x1e35dc){const _0x319ea9=_0x327967;if(Array['isArray'](_0x5293e2)){typeof _0x327296=='number'&&(_0x5293e2[_0x327296]=_0x1e35dc);return;}Reflect[_0x319ea9(0x3fe)](_0x5293e2,_0x327296,_0x1e35dc);}function rn(_0x5066c3){const _0xfc96f2=_0x327967;return!!_0x5066c3&&typeof _0x5066c3==_0xfc96f2(0x3d8);}function an(_0x7e735b){const _0x24a834=_0x327967;return Array[_0x24a834(0x3fb)](_0x7e735b)?_0x7e735b[_0x24a834(0x348)]():{..._0x7e735b};}const on=_0x327967(0x20c),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x327967(0x178),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x327967(0x405),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x327967(0x12c),'mmm\x20d,\x20yyyy':_0x327967(0x30d)};function B(_0x11c278,_0x292e33=_0x2dcec1[_0x327967(0x107)]){const _0x28378c=_0x327967;let _0x1b841d=_0x28e66b(_0x11c278)[_0x28378c(0x160)]();return _0x54e6bc(new Date(_0x1b841d),_0x292e33);}function ln(_0x3a0449,_0x7fbbd=_0x2dcec1[_0x327967(0x107)]){const _0x3207ec=_0x327967;return _0x568db3(_0x3a0449,_0x7fbbd)[_0x3207ec(0xee)]();}function un(_0x2663b7,_0x8e1086=_0x2dcec1[_0x327967(0x107)]){const _0x1ad3a4=_0x327967;if(_0x2663b7==null||_0x2663b7==='')return null;if(_0x2663b7 instanceof Date)return B(_0x2663b7,_0x8e1086);if(typeof _0x2663b7=='number')return Number[_0x1ad3a4(0x138)](_0x2663b7)?_0x2663b7>0xf4240?B(_0x2663b7,_0x8e1086):_0x2663b7:null;let _0x41935e=Date[_0x1ad3a4(0x389)](String(_0x2663b7));return Number[_0x1ad3a4(0x242)](_0x41935e)?null:B(_0x41935e,_0x8e1086);}function dn(_0xd15216,_0x3bd06e=_0x2dcec1[_0x327967(0x107)]){let _0x110840=un(_0xd15216,_0x3bd06e);return _0x110840==null?null:ln(_0x110840,_0x3bd06e);}function fn(_0x545af2={}){const _0x529fbf=_0x327967;let _0x1f2565=String(_0x545af2['pattern']??_0x545af2[_0x529fbf(0x493)]??_0x545af2[_0x529fbf(0x227)]??on)[_0x529fbf(0x140)]()||on,_0x119062=sn['test'](_0x1f2565);return{'pattern':_0x1f2565[_0x529fbf(0x42d)](sn,'')||on,'includeTime':typeof _0x545af2[_0x529fbf(0x26e)]=='boolean'?_0x545af2[_0x529fbf(0x26e)]:_0x119062,'hourCycle':_0x545af2[_0x529fbf(0x204)]===_0x529fbf(0xef)?_0x529fbf(0xef):_0x529fbf(0x350)};}function pn(_0x25b8f0={}){let {format:_0x581d99,dateFormat:_0x18af03,..._0x3d87e0}=_0x25b8f0;return{..._0x3d87e0,...fn(_0x25b8f0)};}function mn(_0x37ebca,_0x318082={}){const _0x234efd=_0x327967;let _0xe315c5=dn(_0x37ebca);if(_0xe315c5==null||!Number[_0x234efd(0x138)](_0xe315c5))return'';let _0x5b9f4a=fn(_0x318082);return _0x28e66b(_0xe315c5)[_0x234efd(0x493)](hn(_0x5b9f4a));}function hn(_0x324b74){const _0x3229b2=_0x327967;let {pattern:_0x384d1b,includeTime:_0x51c007,hourCycle:_0x463fa7}=_0x324b74,_0x465fb0=cn[_0x384d1b]??cn[on];return _0x51c007?_0x465fb0+'\x20'+(_0x463fa7===_0x3229b2(0xef)?_0x3229b2(0x33e):_0x3229b2(0x16d)):_0x465fb0;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x1013ad['RecordId']]),V=0x5265c00;function vn(_0x154ded){const _0x133034=_0x327967;switch(_0x154ded){case _0x1013ad['Number']:case _0x1013ad[_0x133034(0x295)]:case _0x1013ad['Progress']:case _0x1013ad['Rating']:return[_0x4710de['IS'],_0x4710de[_0x133034(0x129)],_0x4710de['GREATER_THAN'],_0x4710de[_0x133034(0x3c2)],_0x4710de['IS_EMPTY'],_0x4710de[_0x133034(0x1cb)]];case _0x1013ad[_0x133034(0x2b2)]:case _0x1013ad['CreatedAt']:case _0x1013ad['UpdatedAt']:return[_0x4710de['IS'],_0x4710de[_0x133034(0x129)],_0x4710de[_0x133034(0xe1)],_0x4710de[_0x133034(0x1e9)],_0x4710de[_0x133034(0x3ec)],_0x4710de[_0x133034(0x1cb)]];case _0x1013ad[_0x133034(0x205)]:return[_0x4710de['IS'],_0x4710de['IS_NOT']];default:return[_0x4710de['IS'],_0x4710de['IS_NOT'],_0x4710de[_0x133034(0x11a)],_0x4710de[_0x133034(0x2a5)],_0x4710de[_0x133034(0x3ec)],_0x4710de[_0x133034(0x1cb)]];}}function yn(_0x48a8e2){const _0x5190c6=_0x327967;return _0x48a8e2===_0x1013ad['Date']||_0x48a8e2===_0x1013ad[_0x5190c6(0x483)]||_0x48a8e2===_0x1013ad['UpdatedAt'];}function bn(_0x2a5e32,_0x3d8e3d){const _0x16bcbd=_0x327967;return _0x2a5e32==null&&_0x3d8e3d==null?0x0:_0x2a5e32==null?-0x1:_0x3d8e3d==null?0x1:typeof _0x2a5e32==_0x16bcbd(0x218)&&typeof _0x3d8e3d==_0x16bcbd(0x218)?_0x2a5e32-_0x3d8e3d:String(_0x2a5e32)[_0x16bcbd(0x3a4)](String(_0x3d8e3d));}function xn(_0x1baa62,_0x540554,_0x5c7293,_0x50c190,_0x1ffebf={}){const _0x3d9af5=_0x327967;if(_0x540554==='isEmpty')return Sn(_0x1baa62);if(_0x540554===_0x3d9af5(0x35c))return!Sn(_0x1baa62);switch(_0x50c190[_0x3d9af5(0x346)]){case _0x1013ad['Number']:case _0x1013ad[_0x3d9af5(0x295)]:case _0x1013ad[_0x3d9af5(0x3e1)]:case _0x1013ad[_0x3d9af5(0x20a)]:return Cn(_0x1baa62,_0x540554,_0x5c7293);case _0x1013ad[_0x3d9af5(0x2b2)]:case _0x1013ad[_0x3d9af5(0x483)]:case _0x1013ad[_0x3d9af5(0xe4)]:return Tn(_0x1baa62,_0x540554,_0x5c7293,_0x1ffebf);case _0x1013ad['Checkbox']:return jn(_0x1baa62,_0x540554,_0x5c7293);case _0x1013ad[_0x3d9af5(0x413)]:case _0x1013ad[_0x3d9af5(0x190)]:case _0x1013ad[_0x3d9af5(0x3df)]:case _0x1013ad[_0x3d9af5(0xf7)]:return Nn(_0x1baa62,_0x540554,_0x5c7293,_0x50c190);default:return Pn(_0x1baa62,_0x540554,_0x5c7293);}}function Sn(_0x40ed61){const _0x30a5b2=_0x327967;return _0x40ed61==null?!0x0:Array[_0x30a5b2(0x3fb)](_0x40ed61)?_0x40ed61['length']===0x0:typeof _0x40ed61==_0x30a5b2(0x2a0)&&_0x40ed61['trim']()==='';}function Cn(_0x56fe76,_0x246680,_0x2d4192){const _0x2fd46b=_0x327967;let _0x39ca67=wn(_0x56fe76),_0x165145=wn(_0x2d4192);if(_0x39ca67==null||_0x165145==null)return!0x1;switch(_0x246680){case'is':return _0x39ca67===_0x165145;case _0x2fd46b(0x47d):return _0x39ca67!==_0x165145;case'greaterThan':return _0x39ca67>_0x165145;case _0x2fd46b(0x196):return _0x39ca67>=_0x165145;case _0x2fd46b(0x3ba):return _0x39ca67<_0x165145;case _0x2fd46b(0x438):return _0x39ca67<=_0x165145;default:return!0x1;}}function wn(_0x354052){const _0x265cf9=_0x327967;if(_0x354052==null||_0x354052==='')return null;let _0xb2b0fc=Number(_0x354052);return Number[_0x265cf9(0x138)](_0xb2b0fc)?_0xb2b0fc:null;}function Tn(_0x5172af,_0x5d5c23,_0x5361c2,_0xd209df){const _0x4aa397=_0x327967;let _0x3f5161=Dn(_0x5172af);if(_0x3f5161==null)return!0x1;let _0x5e6791=En(_0xd209df[_0x4aa397(0x365)]??_0x4aa397(0x1da),_0x5361c2,_0xd209df[_0x4aa397(0xfa)]);if(!_0x5e6791)return!0x1;switch(_0x5d5c23){case'is':return _0x3f5161>=_0x5e6791[_0x4aa397(0x47f)]&&_0x3f5161<=_0x5e6791[_0x4aa397(0x3c3)];case _0x4aa397(0x47d):return _0x3f5161<_0x5e6791['start']||_0x3f5161>_0x5e6791[_0x4aa397(0x3c3)];case _0x4aa397(0x1f6):return _0x3f5161<_0x5e6791['start'];case'after':return _0x3f5161>_0x5e6791[_0x4aa397(0x3c3)];default:return!0x1;}}function En(_0x38e1b6,_0x3af378,_0xac1e65=Date['now']()){const _0x1a9932=_0x327967;let _0x24d723=On(_0xac1e65);switch(_0x38e1b6){case _0x1a9932(0x1da):{let _0x5e7e6f=Dn(_0x3af378);return _0x5e7e6f==null?null:{'start':_0x5e7e6f,'end':_0x5e7e6f+V-0x1};}case'today':return{'start':_0x24d723,'end':_0x24d723+V-0x1};case _0x1a9932(0x3f2):return{'start':_0x24d723+V,'end':_0x24d723+V*0x2-0x1};case _0x1a9932(0x48c):return{'start':_0x24d723-V,'end':_0x24d723-0x1};case'thisWeek':return kn(_0x24d723,0x0);case _0x1a9932(0x117):return kn(_0x24d723,-0x1);case _0x1a9932(0x2f0):return An(_0x24d723,0x0);case _0x1a9932(0x4a0):return An(_0x24d723,-0x1);case _0x1a9932(0x43c):return{'start':_0x24d723-V*0x6,'end':_0x24d723+V-0x1};case'next7':return{'start':_0x24d723,'end':_0x24d723+V*0x7-0x1};case'past30':return{'start':_0x24d723-V*0x1d,'end':_0x24d723+V-0x1};case'next30':return{'start':_0x24d723,'end':_0x24d723+V*0x1e-0x1};}}function Dn(_0x2dce45){let _0x14d25c=un(_0x2dce45);return _0x14d25c==null?null:On(ln(_0x14d25c));}function On(_0x3f3bc0){const _0x454450=_0x327967;let _0x435819=new Date(_0x3f3bc0);return _0x435819[_0x454450(0x362)](0x0,0x0,0x0,0x0),_0x435819[_0x454450(0xee)]();}function kn(_0x65f02c,_0x5ee95e){let _0x2d55d8=_0x65f02c-(new Date(_0x65f02c)['getDay']()+0x6)%0x7*V+_0x5ee95e*V*0x7;return{'start':_0x2d55d8,'end':_0x2d55d8+V*0x7-0x1};}function An(_0x3eb281,_0x596615){const _0x50c09d=_0x327967;let _0x203e49=new Date(_0x3eb281),_0x22b962=new Date(_0x203e49[_0x50c09d(0x152)](),_0x203e49[_0x50c09d(0x3e3)]()+_0x596615,0x1),_0xe6f453=new Date(_0x203e49['getFullYear'](),_0x203e49['getMonth']()+_0x596615+0x1,0x1);return{'start':_0x22b962[_0x50c09d(0xee)](),'end':_0xe6f453[_0x50c09d(0xee)]()-0x1};}function jn(_0xc0235f,_0xb82004,_0x3bcf91){const _0x3875c9=_0x327967;let _0x2990a4=Mn(_0xc0235f),_0x1c5c24=Mn(_0x3bcf91);switch(_0xb82004){case'is':return _0x2990a4===_0x1c5c24;case _0x3875c9(0x47d):return _0x2990a4!==_0x1c5c24;default:return!0x1;}}function Mn(_0x4b25f5){const _0x76eaea=_0x327967;return _0x4b25f5===!0x0||_0x4b25f5===_0x76eaea(0x1f3)||_0x4b25f5===0x1||_0x4b25f5==='1';}function Nn(_0x258e59,_0x3dfcd4,_0x1c6d8a,_0x3c6fed){const _0x3f081c=_0x327967;let _0x19c2b8=In(_0x258e59,_0x3c6fed),_0x4cf479=In(_0x1c6d8a,_0x3c6fed),_0x5eb931=_0x4cf479['length']>0x0&&_0x4cf479[_0x3f081c(0x35d)](_0x72b529=>_0x19c2b8[_0x3f081c(0x45c)](_0x72b529));switch(_0x3dfcd4){case'is':case'contains':return _0x5eb931;case _0x3f081c(0x47d):case'notContains':return!_0x5eb931;default:return!0x1;}}function Pn(_0x6b0492,_0x56a053,_0x12a4fc){const _0x42b97e=_0x327967;let _0x4e44b6=Fn(_0x6b0492),_0xb60e9c=Fn(_0x12a4fc);switch(_0x56a053){case'is':return _0x4e44b6===_0xb60e9c;case _0x42b97e(0x47d):return _0x4e44b6!==_0xb60e9c;case _0x42b97e(0x38f):return _0xb60e9c?_0x4e44b6[_0x42b97e(0x45c)](_0xb60e9c):!0x1;case _0x42b97e(0xe0):return!_0xb60e9c||!_0x4e44b6['includes'](_0xb60e9c);default:return!0x1;}}function Fn(_0x3cb3ae){const _0x5200c6=_0x327967;if(Array['isArray'](_0x3cb3ae))return _0x3cb3ae[_0x5200c6(0x412)](_0x26aa46=>Fn(_0x26aa46))['join']('\x0a');if(_0x3cb3ae&&typeof _0x3cb3ae=='object'){let _0x4247eb=_0x3cb3ae;return String(_0x4247eb[_0x5200c6(0x158)]??_0x4247eb[_0x5200c6(0x33b)]??_0x4247eb[_0x5200c6(0x179)]??_0x4247eb[_0x5200c6(0x1e1)]??_0x4247eb['id']??'')['trim']()[_0x5200c6(0x3af)]();}return String(_0x3cb3ae??'')[_0x5200c6(0x140)]()[_0x5200c6(0x3af)]();}function In(_0x484366,_0x115015){const _0x1545ba=_0x327967;let _0x540213=Ln(_0x484366),_0x3ac897=Rn(_0x115015[_0x1545ba(0x174)]??{});return _0x540213[_0x1545ba(0xeb)](_0x542455=>_0x3ac897[_0x1545ba(0x318)](_0x542455)??[_0x542455])[_0x1545ba(0x1be)]((_0x5e3278,_0x49789b,_0x1e59dc)=>_0x5e3278!==''&&_0x1e59dc[_0x1545ba(0x1c5)](_0x5e3278)===_0x49789b);}function Ln(_0x5b55c0){const _0x44297b=_0x327967;if(_0x5b55c0==null||_0x5b55c0==='')return[];if(Array[_0x44297b(0x3fb)](_0x5b55c0))return _0x5b55c0[_0x44297b(0xeb)](_0x2635b8=>Ln(_0x2635b8));if(_0x5b55c0&&typeof _0x5b55c0==_0x44297b(0x3d8)){let _0x4d0eff=_0x5b55c0;return['id',_0x44297b(0x158),_0x44297b(0x33b),_0x44297b(0x1e1),_0x44297b(0x179)]['flatMap'](_0x519963=>Ln(_0x4d0eff[_0x519963]))[_0x44297b(0x1be)]((_0x1a9d7e,_0x55013f,_0x45d098)=>_0x45d098[_0x44297b(0x1c5)](_0x1a9d7e)===_0x55013f);}return[Fn(_0x5b55c0)];}function Rn(_0x14fd73){const _0x2b6bcf=_0x327967;let _0x2e43fd=new Map();return(Array[_0x2b6bcf(0x3fb)](_0x14fd73[_0x2b6bcf(0x495)])?_0x14fd73['options']:[])[_0x2b6bcf(0x29b)](_0x447d7a=>{const _0x1d1a20=_0x2b6bcf;if(!_0x447d7a||typeof _0x447d7a!=_0x1d1a20(0x3d8))return;let _0x8de69b=Ln(_0x447d7a),_0x513e72=_0x8de69b[_0x1d1a20(0x1be)]((_0x11fde4,_0x1ccc6b)=>_0x11fde4!==''&&_0x8de69b['indexOf'](_0x11fde4)===_0x1ccc6b);_0x513e72['forEach'](_0x216328=>_0x2e43fd['set'](_0x216328,_0x513e72));}),_0x2e43fd;}function H(_0x2b4eca,_0x100225={},_0x3d7a0d=_0x3d4c71=>_0x3d4c71,_0xd61c6e={}){const _0x514bfe=_0x327967;let _0x3c8b26=!_n['has'](_0x2b4eca),_0x42fa9f=_0x3d7a0d??(_0x5d3e9e=>_0x5d3e9e);return{'type':_0x2b4eca,'i18nKey':'base.fieldType.'+_0x2b4eca,'enabled':_0x3c8b26,'visibleInCreateMenu':_0x3c8b26,'createDefaultConfig':_0xd61c6e[_0x514bfe(0x2b9)]??(()=>({})),'createDefaultValue':_0xd61c6e[_0x514bfe(0x3d7)]??(_0xf3f578=>_0xf3f578[_0x514bfe(0x487)]??null),'normalize':(_0x46411c,_0x1c5c29)=>_0x42fa9f(_0x46411c,_0x1c5c29),'validate':(_0x5df733,_0x4575b5)=>{const _0x544e7c=_0x514bfe;var _0x4523a1;return _0x3c8b26?((_0x4523a1=_0xd61c6e['validate'])==null?void 0x0:_0x4523a1[_0x544e7c(0x171)](_0xd61c6e,_0x5df733,_0x4575b5))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x183f9d,_0x7a33e2)=>bn(_0x183f9d,_0x7a33e2),'filter':(_0x4ee02a,_0xc3a9b3,_0x859559,_0x28ba46)=>xn(_0x4ee02a,_0xc3a9b3,_0x859559,_0x28ba46),'toPlainText':_0xd61c6e[_0x514bfe(0x41a)]??(_0xeedcf2=>_0xeedcf2==null?'':String(_0xeedcf2)),'fromPlainText':_0xd61c6e[_0x514bfe(0x1c3)]??(_0x3f1a79=>_0x42fa9f(_0x3f1a79,{'id':'','name':'','type':_0x2b4eca,'config':{}})),'getCapabilities':()=>({...gn,..._0x100225,'editable':_0x3c8b26&&(_0x100225[_0x514bfe(0x2bc)]??gn[_0x514bfe(0x2bc)])})};}function zn(){const _0x16a3f5=_0x327967;return[H(_0x1013ad[_0x16a3f5(0x2cb)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x194377=>_0x194377['defaultValue']??''}),H(_0x1013ad['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x17bbdb=>_0x17bbdb==null||_0x17bbdb===''?null:String(_0x17bbdb),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x16a3f5(0x134)}})}),H(_0x1013ad['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4c169c=>Array[_0x16a3f5(0x3fb)](_0x4c169c)?_0x4c169c[_0x16a3f5(0x412)](String):_0x4c169c==null?[]:[String(_0x4c169c)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x1f9a4f=>_0x1f9a4f[_0x16a3f5(0x487)]??[]}),H(_0x1013ad['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x16a3f5(0x2c8)}),'validate':Gn}),H(_0x1013ad[_0x16a3f5(0xf7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x16a3f5(0x16a)}),'createDefaultValue':_0x3e010f=>_0x3e010f[_0x16a3f5(0x487)]??[],'validate':Kn}),H(_0x1013ad[_0x16a3f5(0x2b2)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x235366=>un(_0x235366),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x1013ad['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2ea8a7=>_0x2ea8a7==null?[]:Array['isArray'](_0x2ea8a7)?_0x2ea8a7:[_0x2ea8a7],{'createDefaultValue':_0x1d78e8=>_0x1d78e8[_0x16a3f5(0x487)]??[]}),H(_0x1013ad[_0x16a3f5(0x302)],{},_0x48f924=>_0x48f924==null||_0x48f924===''?null:Number(_0x48f924),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x1013ad[_0x16a3f5(0x205)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x26d22b=>_0x26d22b===!0x0||_0x26d22b===_0x16a3f5(0x1f3)||_0x26d22b===0x1||_0x26d22b==='1',{'createDefaultConfig':()=>({'icon':_0x16a3f5(0xfc),'color':_0x16a3f5(0xe5)}),'createDefaultValue':_0x1111fb=>_0x1111fb[_0x16a3f5(0x487)]??!0x1,'validate':_0xdc0916=>typeof _0xdc0916==_0x16a3f5(0x224)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x16a3f5(0x234)}}),H(_0x1013ad[_0x16a3f5(0x170)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x16a3f5(0x238)}),'toPlainText':_0x3b9473=>Zn(_0x3b9473),'fromPlainText':_0x3fa913=>Xn(_0x3fa913)}),H(_0x1013ad[_0x16a3f5(0x3d9)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x16a3f5(0x42c),'pattern':_0x16a3f5(0x149)}}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1d8)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x16a3f5(0x37f)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1fc)],{'usableAsTitle':!0x0},_0x38a493=>_0x38a493==null?null:String(_0x38a493)[_0x16a3f5(0x140)](),{'validate':_0x1955ac=>_0x1955ac==null||_0x1955ac===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x1955ac))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x1013ad[_0x16a3f5(0x20f)],{'usableAsTitle':!0x0},_0x4918f6=>_0x4918f6==null?null:String(_0x4918f6)[_0x16a3f5(0x140)](),{'validate':_0x6107e9=>_0x6107e9==null||_0x6107e9===''||$n(String(_0x6107e9))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x16a3f5(0x226)}}),H(_0x1013ad[_0x16a3f5(0x3e1)],{'usableAsGanttProgress':!0x0},_0x51528c=>_0x51528c==null||_0x51528c===''?null:Number(_0x51528c),{'createDefaultConfig':()=>({'format':_0x16a3f5(0x2ed),'decimalPlaces':0x0,'color':_0x16a3f5(0x465),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x1d39da,_0x4d5058)=>Yn(_0x1d39da,_0x4d5058,_0x16a3f5(0x19f))}),H(_0x1013ad[_0x16a3f5(0x295)],{},_0x18e7a0=>_0x18e7a0==null||_0x18e7a0===''?null:Number(_0x18e7a0),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x1013ad[_0x16a3f5(0x20a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x314a51=>_0x314a51==null||_0x314a51===''?null:Number(_0x314a51),{'createDefaultConfig':()=>({'icon':_0x16a3f5(0x21d),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x2cbbf8,_0x5cd5de)=>Yn(_0x2cbbf8,_0x5cd5de,'[BaseField]:\x20invalid\x20rating\x20value.')}),H(_0x1013ad[_0x16a3f5(0x12f)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0xe3aa51,_0x1f319f)=>ze(_0xe3aa51,_0x1f319f[_0x16a3f5(0x174)][_0x16a3f5(0x3eb)]===!0x0)}),H(_0x1013ad[_0x16a3f5(0x212)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x1013ad['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x4bd7ae=>_0x4bd7ae==null?null:String(_0x4bd7ae),{'createDefaultConfig':()=>({'provider':_0x16a3f5(0x25c)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1d5)],{'editable':!0x1,'groupable':!0x0},_0x1dd639=>_0x1dd639==null?null:String(_0x1dd639),{'createDefaultConfig':()=>({'provider':_0x16a3f5(0x25c)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x483)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x49d742=>un(_0x49d742),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x1013ad[_0x16a3f5(0xe4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x39aa3d=>un(_0x39aa3d),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x56b0c3=_0x327967;return{'pattern':_0x56b0c3(0x395),'decimalPlaces':0x2,'separatorStyle':_0x56b0c3(0xea),'useThousands':!0x0,'abbreviation':_0x56b0c3(0x2d2),'allowNegative':!0x0};}function Vn(){const _0x12af3f=_0x327967;return{'locale':_0x12af3f(0x29d),'pattern':_0x12af3f(0x20c),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x12af3f(0x2d2)};}function Hn(_0x42e61a){const _0x38b9fe=_0x327967;return _0x42e61a==null||_0x42e61a===''?[]:Array[_0x38b9fe(0x3fb)](_0x42e61a)?_0x42e61a[_0x38b9fe(0x412)](String):[String(_0x42e61a)];}function Un(_0x57dbef){const _0x3b697b=_0x327967;return typeof _0x57dbef==_0x3b697b(0x2a0)?_0x57dbef:'';}function Wn(_0x5ba25e,_0x50fb65){const _0x3855aa=_0x327967;return _0x5ba25e==null||_0x5ba25e===''?_0x50fb65[_0x3855aa(0x174)][_0x3855aa(0x118)]===!0x0?[]:null:_0x50fb65['config'][_0x3855aa(0x118)]===!0x0?Array[_0x3855aa(0x3fb)](_0x5ba25e)?_0x5ba25e['map'](String):[String(_0x5ba25e)]:Array[_0x3855aa(0x3fb)](_0x5ba25e)?String(_0x5ba25e[0x0]??'')||null:String(_0x5ba25e);}function Gn(_0xbbac2,_0x12eee7){const _0x3ef063=_0x327967;return _0x12eee7[_0x3ef063(0x174)][_0x3ef063(0x118)]===!0x0?Kn(_0xbbac2):_0xbbac2==null||_0xbbac2===''||typeof _0xbbac2==_0x3ef063(0x2a0)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3ef063(0x344)};}function Kn(_0x5dc35d){const _0x1afbca=_0x327967;return _0x5dc35d==null||Array[_0x1afbca(0x3fb)](_0x5dc35d)&&_0x5dc35d[_0x1afbca(0x44b)](_0x56d7dc=>typeof _0x56d7dc==_0x1afbca(0x2a0))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1afbca(0x310)};}function qn(_0x3b0f26){const _0xcd2d7a=_0x327967;return _0x3b0f26==null||typeof _0x3b0f26=='number'&&Number[_0xcd2d7a(0x138)](_0x3b0f26)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xcd2d7a(0x290)};}function Jn(_0x45cf45,_0x3cac0d){const _0x500bde=_0x327967;return _0x45cf45==null||_0x45cf45===''?{'valid':!0x0}:typeof _0x45cf45!=_0x500bde(0x218)||!Number[_0x500bde(0x138)](_0x45cf45)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x3cac0d[_0x500bde(0x174)]['allowNegative']===!0x1&&_0x45cf45<0x0?{'valid':!0x1,'reason':_0x500bde(0x1fd)}:{'valid':!0x0};}function Yn(_0x409bee,_0x5c5b81,_0x4155ef){const _0x50a44f=_0x327967;let _0x5589f7=Jn(_0x409bee,_0x5c5b81);if(!_0x5589f7[_0x50a44f(0x48b)]||_0x409bee==null||_0x409bee==='')return _0x5589f7;let _0x2c6ad1=Number(_0x5c5b81['config'][_0x50a44f(0x37a)]??_0x5c5b81[_0x50a44f(0x174)][_0x50a44f(0x47f)]??0x0),_0x2ec129=Number(_0x5c5b81[_0x50a44f(0x174)]['max']??_0x5c5b81[_0x50a44f(0x174)][_0x50a44f(0x3c3)]??0x64),_0x546a9f=Number(_0x409bee);return _0x546a9f>=_0x2c6ad1&&_0x546a9f<=_0x2ec129?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4155ef};}function Xn(_0x3e5693){const _0x3de853=_0x327967;if(_0x3e5693==null||_0x3e5693==='')return null;if(typeof _0x3e5693==_0x3de853(0x3d8)&&!Array['isArray'](_0x3e5693)){let _0x10d1f2=_0x3e5693,_0x52ee82=typeof _0x10d1f2['text']==_0x3de853(0x2a0)?_0x10d1f2[_0x3de853(0x179)][_0x3de853(0x140)]():'',_0x2abc7f=typeof _0x10d1f2[_0x3de853(0x15e)]==_0x3de853(0x2a0)?_0x10d1f2[_0x3de853(0x15e)][_0x3de853(0x140)]():'',_0x1b3301=Qn(_0x2abc7f||_0x52ee82);return _0x1b3301?{'text':_0x52ee82||_0x2abc7f||_0x1b3301,'url':_0x1b3301}:null;}let _0xba04a1=String(_0x3e5693)[_0x3de853(0x140)](),_0x47a34a=Qn(_0xba04a1);return _0x47a34a?{'text':_0xba04a1,'url':_0x47a34a}:null;}function Zn(_0x1545ed){const _0xaec375=_0x327967;if(_0x1545ed==null)return'';if(typeof _0x1545ed==_0xaec375(0x3d8)&&!Array['isArray'](_0x1545ed)){let _0x57c66a=_0x1545ed;return String(_0x57c66a['text']||_0x57c66a['url']||'');}return String(_0x1545ed);}function Qn(_0x151c3f){const _0x58d85b=_0x327967;let _0x5d4c4f=_0x151c3f[_0x58d85b(0x140)]();if(!_0x5d4c4f)return'';let _0x823d49=/^[a-z][a-z\d+.-]*:/i[_0x58d85b(0x3e2)](_0x5d4c4f)?_0x5d4c4f:_0x5d4c4f[_0x58d85b(0x2ad)]('//')?_0x58d85b(0x141)+_0x5d4c4f:_0x58d85b(0x156)+_0x5d4c4f;try{let _0x336629=new URL(_0x823d49);return _0x336629[_0x58d85b(0x1a3)]===_0x58d85b(0x1f9)||_0x336629[_0x58d85b(0x1a3)]==='https:'?_0x336629['href']:'';}catch{return'';}}function $n(_0x231287){const _0x40dbe5=_0x327967;let _0x3d8dcb=_0x231287[_0x40dbe5(0x1c5)]('@');if(_0x3d8dcb<=0x0||_0x3d8dcb!==_0x231287[_0x40dbe5(0x414)]('@'))return!0x1;let _0x57aab5=_0x231287[_0x40dbe5(0x348)](_0x3d8dcb+0x1);return _0x57aab5[_0x40dbe5(0x45c)]('.')&&!_0x231287['includes']('\x20')&&!_0x57aab5['startsWith']('.')&&!_0x57aab5['endsWith']('.');}const U={'table':_0x25bc3a=>[_0x327967(0x486),_0x25bc3a],'field':(_0x31fd1d,_0x328458)=>[_0x327967(0x486),_0x31fd1d,_0x327967(0x305),_0x328458],'fieldOrder':(_0xf03a91,_0x430381)=>['tables',_0xf03a91,_0x327967(0x1f8),_0x430381],'record':(_0x2cf561,_0x394f89)=>['tables',_0x2cf561,_0x327967(0x1d7),_0x394f89],'cell':(_0x31359c,_0x5abd1c,_0x172203)=>[_0x327967(0x486),_0x31359c,_0x327967(0x1d7),_0x5abd1c,_0x327967(0x259),_0x172203],'cellData':(_0x1a5120,_0x542970,_0x44106f)=>[_0x327967(0x486),_0x1a5120,_0x327967(0xdd),String(_0x542970),String(_0x44106f)],'attachmentSet':(_0x480d58,_0x5a3b95)=>['tables',_0x480d58,_0x327967(0x2b3),'attachmentSets',_0x5a3b95],'attachment':(_0xb17584,_0x3f2fc8)=>[_0x327967(0x486),_0xb17584,_0x327967(0x2b3),_0x327967(0x320),_0x3f2fc8],'view':(_0xca2b88,_0xce7aec)=>[_0x327967(0x486),_0xca2b88,_0x327967(0x1eb),_0xce7aec],'viewFieldHidden':(_0x2db12f,_0x413798,_0x34469c)=>[_0x327967(0x486),_0x2db12f,_0x327967(0x1eb),_0x413798,_0x327967(0x105),_0x34469c,_0x327967(0x30a)]};var W=class{[_0x327967(0x41e)](_0x5d4cbf,_0x35b12d){const _0x737873=_0x327967;let _0x4f38d0=this['renameFormulaUnitReferences'](_0x5d4cbf,_0x5d4cbf[_0x737873(0x158)],_0x35b12d);return R([this[_0x737873(0x435)]([_0x737873(0x158)],_0x5d4cbf['name'],_0x35b12d),..._0x4f38d0?[_0x4f38d0]:[]]);}[_0x327967(0x44f)](_0x1696df,_0x6100bf,_0x583608){const _0x4e64c1=_0x327967;let _0x2bdc71=Object[_0x4e64c1(0x259)](_0x1696df[_0x4e64c1(0x486)])['flatMap'](_0x48597d=>Object[_0x4e64c1(0x259)](_0x48597d[_0x4e64c1(0x305)])['flatMap'](_0x1a57b4=>{const _0x3f1c01=_0x4e64c1;var _0x50cf2e,_0x43c65b;if(_0x1a57b4[_0x3f1c01(0x346)]!==_0x1013ad[_0x3f1c01(0x3d9)])return[];let _0x46e4b3=String(((_0x50cf2e=_0x1a57b4[_0x3f1c01(0x174)])==null?void 0x0:_0x50cf2e[_0x3f1c01(0x377)])??''),_0x5ce4e3=_0x21a61d(_0x46e4b3,_0x6100bf,_0x583608);return _0x5ce4e3===_0x46e4b3?[]:[this[_0x3f1c01(0x435)]([...U[_0x3f1c01(0x1fe)](_0x48597d['id'],_0x1a57b4['id']),_0x3f1c01(0x174),_0x3f1c01(0x377)],(_0x43c65b=_0x1a57b4[_0x3f1c01(0x174)])==null?void 0x0:_0x43c65b[_0x3f1c01(0x377)],_0x5ce4e3)];}));return _0x2bdc71[_0x4e64c1(0x1bf)]>0x0?R(_0x2bdc71):void 0x0;}[_0x327967(0x378)](_0x538f80,_0x597a0c,_0x4cdb28=_0x538f80[_0x327967(0x39b)][_0x327967(0x1bf)]){const _0x810ac5=_0x327967;let _0x5b8f48=_0x54f542(_0x597a0c[_0x810ac5(0x158)],_0xbad9f1(_0x538f80)[_0x810ac5(0x259)](),_0x597a0c['formulaName']),_0x578140=_0x597a0c[_0x810ac5(0x3a8)]===_0x5b8f48?_0x597a0c:{..._0x597a0c,'formulaName':_0x5b8f48};return R([...this['_materializeFormulaTableNames'](_0x538f80),_0x43163e['insertOp'](U[_0x810ac5(0x496)](_0x597a0c['id']),_0x578140),_0x43163e[_0x810ac5(0xf4)](['tableOrder',_0x4cdb28],_0x597a0c['id'])]);}['renameTable'](_0x2d88ae,_0x2e42ce,_0x516103){const _0x47845a=_0x327967;let _0x5e41f1=_0x2d88ae[_0x47845a(0x486)][_0x2e42ce];return R([...this[_0x47845a(0x229)](_0x2d88ae),_0x43163e[_0x47845a(0x464)]([...U[_0x47845a(0x496)](_0x2e42ce),_0x47845a(0x158)],_0x5e41f1['name'],_0x516103)]);}['deleteTable'](_0x1ce553,_0xc4f4de){const _0x22218a=_0x327967;let _0x521202=_0x1ce553['tables'][_0xc4f4de],_0x638bfd=_0x1ce553[_0x22218a(0x39b)]['indexOf'](_0xc4f4de);return R([...this['_materializeFormulaTableNames'](_0x1ce553,new Set([_0xc4f4de])),_0x43163e[_0x22218a(0x3e5)](U[_0x22218a(0x496)](_0xc4f4de),_0x521202),_0x43163e['removeOp'](['tableOrder',_0x638bfd],_0xc4f4de)]);}[_0x327967(0x3ab)](_0x2ed5f4,_0x3cf800,_0xd32d){const _0x3e3d9c=_0x327967;return this[_0x3e3d9c(0x46e)](_0x2ed5f4,_0x3cf800,[_0xd32d]);}[_0x327967(0x46e)](_0x56309a,_0x23d33e,_0x12f459){const _0x4916ad=_0x327967;let _0x56ac17=_0x56309a[_0x4916ad(0x486)][_0x23d33e],_0x283f7b=_0x12f459['filter'](_0x2f0a63=>_0x2f0a63&&!_0x56ac17[_0x4916ad(0x1d7)][_0x2f0a63['id']])[_0x4916ad(0x412)](_0x3f5324=>({..._0x3f5324,'values':{..._0x3f5324['values'],[_0x40fc9d]:_0x3f5324['id']}}));if(!_0x283f7b[_0x4916ad(0x1bf)])return _0x43163e[_0x4916ad(0x464)]([...U[_0x4916ad(0x496)](_0x23d33e),_0x4916ad(0x1d7)],_0x56ac17[_0x4916ad(0x1d7)],_0x56ac17[_0x4916ad(0x1d7)]);let _0x75df02=new _0x43163e[(_0x4916ad(0x45e))](),_0x2673f4=[..._0x283f7b][_0x4916ad(0x460)]((_0x4c795d,_0x151ea6)=>_0x4c795d['id']<_0x151ea6['id']?-0x1:+(_0x4c795d['id']>_0x151ea6['id'])),_0x597d83=[...U[_0x4916ad(0x496)](_0x23d33e),_0x4916ad(0x1d7)];_0x75df02[_0x4916ad(0x35b)](_0x597d83);for(let _0x5147cd of _0x2673f4)_0x75df02[_0x4916ad(0x2c2)](_0x5147cd['id']),_0x75df02[_0x4916ad(0x29f)]('i',_0x5147cd),_0x75df02[_0x4916ad(0x2f3)]();for(let _0x439775=0x0;_0x439775<_0x597d83[_0x4916ad(0x1bf)];_0x439775+=0x1)_0x75df02[_0x4916ad(0x2f3)]();return R([_0x75df02[_0x4916ad(0x318)](),this[_0x4916ad(0x2a2)](_0x56309a,_0x23d33e,_0x283f7b)]);}[_0x327967(0x33a)](_0x59f8e1,_0x128265,_0x5a2433){const _0x2b83c1=_0x327967;return this[_0x2b83c1(0x109)](_0x59f8e1,_0x128265,[_0x5a2433]);}[_0x327967(0x109)](_0x5ba94e,_0x4c4145,_0x3ae1fc){const _0x72d877=_0x327967;let _0x426bde=_0x5ba94e[_0x72d877(0x486)][_0x4c4145],_0x1f71d2=Array[_0x72d877(0x1d1)](new Set(_0x3ae1fc))[_0x72d877(0x1be)](_0x4760de=>_0x426bde['records'][_0x4760de]);if(!_0x1f71d2[_0x72d877(0x1bf)])return _0x43163e[_0x72d877(0x464)]([...U['table'](_0x4c4145),_0x72d877(0x1d7)],_0x426bde[_0x72d877(0x1d7)],_0x426bde[_0x72d877(0x1d7)]);let _0x4b4c39=new Set(_0x1f71d2),_0x2a82dc=et(_0x426bde,_0x1f71d2)['map'](_0x4f1152=>this[_0x72d877(0x154)](_0x5ba94e,_0x4c4145,_0x4f1152[_0x72d877(0x345)],_0x4f1152[_0x72d877(0x173)],''));return R([this['_deleteRecordsBaseOp'](_0x5ba94e,_0x4c4145,_0x1f71d2,_0x4b4c39),..._0x2a82dc]);}[_0x327967(0x1ea)](_0x593cd1,_0xda686,_0x3cd0f4,_0x220b06){const _0x158413=_0x327967;let _0x2c9937=_0x593cd1[_0x158413(0x486)][_0x3cd0f4],_0x1546c1=Array[_0x158413(0x1d1)](new Set(_0x220b06))[_0x158413(0x1be)](_0x5deff1=>_0x2c9937['records'][_0x5deff1]),_0x5e9fb5=new Set(_0x1546c1);return R([new z()[_0x158413(0x38e)](_0x593cd1,this[_0x158413(0x494)](_0x593cd1,_0x3cd0f4,_0x1546c1,_0x5e9fb5)),...et(_0x2c9937,_0x1546c1)[_0x158413(0x412)](_0x198ae4=>this['updateCell'](_0xda686,_0x3cd0f4,_0x198ae4[_0x158413(0x345)],_0x198ae4[_0x158413(0x173)],_0x198ae4[_0x158413(0x410)]??''))]);}[_0x327967(0x494)](_0x4c0582,_0xc3e503,_0xc538b9,_0xa4fc49){const _0x546174=_0x327967;let _0xf4ab8f=_0x4c0582['tables'][_0xc3e503],_0x238c69=_0xc538b9[_0x546174(0x412)](_0x56bb33=>{const _0x91f38d=_0x546174;var _0x48256f;return{'recordId':_0x56bb33,'index':((_0x48256f=_0xf4ab8f['recordOrder'])==null?void 0x0:_0x48256f[_0x91f38d(0x1c5)](_0x56bb33))??-0x1};})[_0x546174(0x1be)](_0x2d9f5=>_0x2d9f5[_0x546174(0x1b6)]>=0x0)[_0x546174(0x460)]((_0x28de14,_0x565c42)=>_0x565c42[_0x546174(0x1b6)]-_0x28de14[_0x546174(0x1b6)]);return R([..._0xc538b9['map'](_0x589819=>_0x43163e['removeOp'](U[_0x546174(0x472)](_0xc3e503,_0x589819),_0xf4ab8f['records'][_0x589819])),..._0x238c69[_0x546174(0x412)](({recordId:_0x111e3c,index:_0x391a27})=>_0x43163e['removeOp']([_0x546174(0x486),_0xc3e503,_0x546174(0x1e2),_0x391a27],_0x111e3c)),...this[_0x546174(0x3d5)](_0xf4ab8f,_0xc3e503,_0x37ae96=>{const _0x35d2a6=_0x546174;let _0x2631bf=_0x37ae96[_0x35d2a6(0x348)](_0x37ae96[_0x35d2a6(0x414)]('\x1f')+0x1);return _0xa4fc49[_0x35d2a6(0x103)](_0x2631bf);})]);}[_0x327967(0x11d)](_0x58c759,_0xac9f70,_0x4d2bac,_0x381744){const _0x300a31=_0x327967;return this[_0x300a31(0x3ab)](_0x58c759,_0xac9f70,{..._0x381744,'values':{..._0x58c759[_0x300a31(0x486)][_0xac9f70]['records'][_0x4d2bac][_0x300a31(0x259)],..._0x381744['values'],[_0x40fc9d]:_0x381744['id']}});}[_0x327967(0x19e)](_0x59351e,_0x2afc40,_0x407571,_0x400042){const _0x10337e=_0x327967;let _0x2cc6da=_0x59351e[_0x10337e(0x486)][_0x2afc40],_0x2624db=[...U[_0x10337e(0x472)](_0x2afc40,_0x407571),_0x10337e(0x44c)],_0x57f36d=Object[_0x10337e(0x259)](_0x2cc6da[_0x10337e(0x1d7)])[_0x10337e(0x412)](_0x30128d=>_0x30128d['id']===_0x407571?{..._0x30128d,'orderKey':_0x400042}:_0x30128d)[_0x10337e(0x460)]((_0x4675a5,_0xc508f3)=>String(_0x4675a5['orderKey']??_0x4675a5['id'])[_0x10337e(0x3a4)](String(_0xc508f3[_0x10337e(0x44c)]??_0xc508f3['id'])))[_0x10337e(0x412)](_0x2a9a66=>_0x2a9a66['id']),_0x256e42=[...U[_0x10337e(0x496)](_0x2afc40),_0x10337e(0x1e2)];return R([this[_0x10337e(0x435)](_0x2624db,_0x2cc6da['records'][_0x407571][_0x10337e(0x44c)],_0x400042),_0x2cc6da[_0x10337e(0x1e2)]?_0x43163e[_0x10337e(0x464)](_0x256e42,_0x2cc6da[_0x10337e(0x1e2)],_0x57f36d):_0x43163e[_0x10337e(0xf4)](_0x256e42,_0x57f36d)]);}[_0x327967(0x154)](_0x5d42f5,_0x491bae,_0x52c8e8,_0x514337,_0x424323){const _0x35e495=_0x327967;var _0x21e205,_0x129934;let _0x2f9c63=_0x5d42f5['tables'][_0x491bae],_0x2714e7=ar(_0x2f9c63,_0x52c8e8,_0x514337)?_0x2f9c63:L(_0x2f9c63),_0x1b75fb=(_0x21e205=_0x2714e7[_0x35e495(0x257)])==null?void 0x0:_0x21e205[_0x52c8e8],_0x2d375d=(_0x129934=_0x2714e7['colIndex'])==null?void 0x0:_0x129934[_0x514337];if(_0x1b75fb==null||_0x2d375d==null){var _0x1c6110;return this['_replaceOptional'](U[_0x35e495(0x228)](_0x491bae,_0x52c8e8,_0x514337),(_0x1c6110=_0x5d42f5[_0x35e495(0x486)][_0x491bae])==null||(_0x1c6110=_0x1c6110[_0x35e495(0x1d7)][_0x52c8e8])==null?void 0x0:_0x1c6110[_0x35e495(0x259)][_0x514337],_0x424323);}return this['setRangeValues'](_0x5d42f5,_0x491bae,[{'row':_0x1b75fb,'col':_0x2d375d,'value':_0x424323}]);}['setRecordValues'](_0x25fd41,_0x435224,_0x923b78){const _0x176704=_0x327967;let _0x1412e2=_0x25fd41[_0x176704(0x486)][_0x435224],_0x17ec25=_0x923b78[_0x176704(0x44b)](_0x2d70b2=>Object[_0x176704(0x27a)](_0x2d70b2[_0x176704(0x259)])[_0x176704(0x44b)](_0x5c8cf2=>ar(_0x1412e2,_0x2d70b2[_0x176704(0x345)],_0x5c8cf2)))?_0x1412e2:L(_0x1412e2),_0x5e5de6=_0x923b78['flatMap'](_0xc247c3=>Object[_0x176704(0x209)](_0xc247c3[_0x176704(0x259)])[_0x176704(0xeb)](([_0x3e7c3f,_0x4d541f])=>{const _0x10298c=_0x176704;var _0x3968cd,_0x3d1c20;let _0x516860=(_0x3968cd=_0x17ec25['rowIndex'])==null?void 0x0:_0x3968cd[_0xc247c3[_0x10298c(0x345)]],_0xc43626=(_0x3d1c20=_0x17ec25[_0x10298c(0x22a)])==null?void 0x0:_0x3d1c20[_0x3e7c3f];return _0x516860==null||_0xc43626==null?[]:[{'row':_0x516860,'col':_0xc43626,'value':_0x4d541f}];})),_0x493530=_0x923b78[_0x176704(0xeb)](_0x1fb2fa=>Object[_0x176704(0x209)](_0x1fb2fa[_0x176704(0x37c)]??{})['map'](([_0x4e51dd,_0x12622a])=>{const _0x2a8020=_0x176704;var _0x4b279c;let _0x479262=[...U[_0x2a8020(0x472)](_0x435224,_0x1fb2fa[_0x2a8020(0x345)]),_0x4e51dd],_0x17cbaf=(_0x4b279c=_0x25fd41['tables'][_0x435224])==null||(_0x4b279c=_0x4b279c[_0x2a8020(0x1d7)][_0x1fb2fa[_0x2a8020(0x345)]])==null?void 0x0:_0x4b279c[_0x4e51dd];return this[_0x2a8020(0x435)](_0x479262,_0x17cbaf,_0x12622a);}));return R([this['setRangeValues'](_0x25fd41,_0x435224,_0x5e5de6),..._0x493530]);}[_0x327967(0x1c0)](_0x53c38e,_0x139907,_0x2d1b26){const _0x36cf36=_0x327967;let _0x4db7a4=_0x53c38e[_0x36cf36(0x486)][_0x139907],_0x5662c3=_0x2d1b26[_0x36cf36(0x44b)](_0x3f7f8b=>or(_0x4db7a4,_0x3f7f8b[_0x36cf36(0x124)],_0x3f7f8b[_0x36cf36(0x36b)]))?_0x4db7a4:L(_0x4db7a4),_0x3e2247=new Map(),_0xd0da1=_0x2d1b26[_0x36cf36(0xeb)](_0x366e30=>{const _0x44ea50=_0x36cf36;var _0x26ec00,_0x2dbc7d,_0x4f3266,_0x568f70;let _0x26900c=(_0x26ec00=_0x5662c3[_0x44ea50(0x2ba)])==null?void 0x0:_0x26ec00[_0x366e30[_0x44ea50(0x36b)]],_0x5735c9=(_0x2dbc7d=_0x5662c3['rowId'])==null?void 0x0:_0x2dbc7d[_0x366e30['row']],_0x3f2b9f=_0x26900c?_0x5662c3[_0x44ea50(0x305)][_0x26900c]:void 0x0;if(_0x26900c===_0x40fc9d||(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad['RecordId'])throw Error(_0x44ea50(0x19c));let _0x4209dc=xt(_0x366e30[_0x44ea50(0x1e1)],_0x3f2b9f),_0x4cca6b=(_0x4f3266=_0x5662c3[_0x44ea50(0xdd)])==null||(_0x4f3266=_0x4f3266[_0x366e30[_0x44ea50(0x124)]])==null?void 0x0:_0x4f3266[_0x366e30['col']],_0x7f78a4=this[_0x44ea50(0x435)](U[_0x44ea50(0xdd)](_0x139907,_0x366e30['row'],_0x366e30[_0x44ea50(0x36b)]),_0x4cca6b,_0x4209dc);if(!_0x26900c||!_0x5735c9)return[_0x7f78a4];let _0xa2f928=(_0x568f70=_0x5662c3[_0x44ea50(0x1d7)][_0x5735c9])==null?void 0x0:_0x568f70['values'][_0x26900c],_0x39a4c3=(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad['Attachment']?kt(_0x366e30[_0x44ea50(0x1e1)]):wt(_0x366e30[_0x44ea50(0x1e1)],_0x4209dc,_0x3f2b9f,_0x5662c3,_0x5735c9),_0x1adf30=[_0x7f78a4,this[_0x44ea50(0x435)](U[_0x44ea50(0x228)](_0x139907,_0x5735c9,_0x26900c),_0xa2f928,_0x39a4c3)];return(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad[_0x44ea50(0x49d)]&&_0x3e2247[_0x44ea50(0x3fe)](Et(_0x26900c,_0x5735c9),{'recordId':_0x5735c9,'fieldId':_0x26900c,'attachments':_0x39a4c3}),_0x1adf30;});return _0xd0da1[_0x36cf36(0x1bf)]?R([..._0xd0da1,...this[_0x36cf36(0x432)](_0x5662c3,_0x139907,Array['from'](_0x3e2247[_0x36cf36(0x259)]()))]):_0x43163e[_0x36cf36(0x464)]([_0x36cf36(0x486),_0x139907,_0x36cf36(0xdd)],_0x5662c3[_0x36cf36(0xdd)],_0x5662c3['cellData']);}['createField'](_0x5c76ca,_0x7df360,_0x50f52e){const _0x3d8167=_0x327967;let _0x75273d=_0x5c76ca['tables'][_0x7df360];if(_0x75273d[_0x3d8167(0x305)][_0x50f52e[_0x3d8167(0x1fe)]['id']]||_0x75273d['fieldOrder'][_0x3d8167(0x45c)](_0x50f52e[_0x3d8167(0x1fe)]['id']))return _0x43163e[_0x3d8167(0x464)]([_0x3d8167(0x486),_0x7df360,'fieldOrder'],_0x75273d['fieldOrder'],_0x75273d[_0x3d8167(0x1f8)]);let _0x2430b1=Math[_0x3d8167(0x31a)](0x1,_0x50f52e[_0x3d8167(0x1b6)]??_0x75273d[_0x3d8167(0x1f8)]['length']),_0x16caf1=Object[_0x3d8167(0x259)](_0x75273d[_0x3d8167(0x1eb)]??{})[_0x3d8167(0xeb)](_0x40aaa6=>{const _0x404cff=_0x3d8167;var _0x5ba1f8;if(!_0x40aaa6['fieldOrder']||_0x40aaa6[_0x404cff(0x1f8)][_0x404cff(0x45c)](_0x50f52e[_0x404cff(0x1fe)]['id']))return[];let _0x1fa99f=ur(((_0x5ba1f8=_0x50f52e[_0x404cff(0x321)])==null?void 0x0:_0x5ba1f8[_0x40aaa6['id']])??_0x2430b1,_0x40aaa6[_0x404cff(0x1f8)]['length']);return[_0x43163e['insertOp']([...U['view'](_0x7df360,_0x40aaa6['id']),'fieldOrder',_0x1fa99f],_0x50f52e[_0x404cff(0x1fe)]['id'])];});return R([..._0x50f52e['field'][_0x3d8167(0x346)]===_0x1013ad['Formula']?this['_materializeFormulaTableNames'](_0x5c76ca):[],_0x43163e['insertOp'](U[_0x3d8167(0x1fe)](_0x7df360,_0x50f52e[_0x3d8167(0x1fe)]['id']),_0x50f52e[_0x3d8167(0x1fe)]),_0x43163e['insertOp'](U['fieldOrder'](_0x7df360,_0x2430b1),_0x50f52e[_0x3d8167(0x1fe)]['id']),..._0x16caf1]);}[_0x327967(0x400)](_0x2856a5,_0x5afb96,_0x3bf676,_0x114cc4){const _0xa70869=_0x327967;let _0x1f373c=_0x2856a5[_0xa70869(0x486)][_0x5afb96];if(!_0x1f373c['fields'][_0x3bf676]||_0x1f373c[_0xa70869(0x305)][_0x114cc4[_0xa70869(0x1fe)]['id']]||_0x1f373c['fieldOrder']['includes'](_0x114cc4[_0xa70869(0x1fe)]['id']))return _0x43163e[_0xa70869(0x464)]([_0xa70869(0x486),_0x5afb96,'fieldOrder'],_0x1f373c[_0xa70869(0x1f8)],_0x1f373c[_0xa70869(0x1f8)]);let _0x5984a7=_0x114cc4['index']??_0x1f373c[_0xa70869(0x1f8)][_0xa70869(0x1c5)](_0x3bf676)+0x1,_0x5ad1f7=_0x1f373c['fieldOrder'][_0xa70869(0x1be)](_0x107083=>_0x107083!==_0x114cc4[_0xa70869(0x1fe)]['id']),_0x5a88a6=cr(_0x5ad1f7,_0x114cc4['field']['id'],_0x5984a7),_0x5933c2=Object[_0xa70869(0x259)](_0x1f373c['views']??{})[_0xa70869(0xeb)](_0x37e1b9=>{const _0x579598=_0xa70869;var _0x2f656e,_0x43c6c9,_0x565372,_0x281d3d;let _0x397ac5=(_0x2f656e=_0x37e1b9['fieldOrder'])!=null&&_0x2f656e[_0x579598(0x1bf)]?_0x37e1b9['fieldOrder']:_0x5ad1f7;if(_0x397ac5['includes'](_0x114cc4[_0x579598(0x1fe)]['id']))return[];let _0x27f4a8=cr(_0x397ac5,_0x114cc4['field']['id'],((_0x43c6c9=_0x114cc4['viewIndexes'])==null?void 0x0:_0x43c6c9[_0x37e1b9['id']])??_0x5984a7),_0x29e22e=(_0x565372=_0x37e1b9[_0x579598(0x105)])==null?void 0x0:_0x565372[_0x3bf676];return[this[_0x579598(0x435)]([...U['view'](_0x5afb96,_0x37e1b9['id']),_0x579598(0x1f8)],_0x37e1b9[_0x579598(0x1f8)],_0x27f4a8),..._0x29e22e?[this[_0x579598(0x435)]([...U['view'](_0x5afb96,_0x37e1b9['id']),'fieldSettings',_0x114cc4[_0x579598(0x1fe)]['id']],(_0x281d3d=_0x37e1b9[_0x579598(0x105)])==null?void 0x0:_0x281d3d[_0x114cc4[_0x579598(0x1fe)]['id']],_0x29e22e)]:[]];}),_0x278e51=Object[_0xa70869(0x259)](_0x1f373c[_0xa70869(0x1d7)])[_0xa70869(0x1be)](_0x5d8d1c=>Object[_0xa70869(0x331)][_0xa70869(0x150)][_0xa70869(0x171)](_0x5d8d1c[_0xa70869(0x259)],_0x3bf676))[_0xa70869(0x412)](_0x5e9922=>this[_0xa70869(0x435)](U['cell'](_0x5afb96,_0x5e9922['id'],_0x114cc4[_0xa70869(0x1fe)]['id']),_0x5e9922[_0xa70869(0x259)][_0x114cc4['field']['id']],_0x5e9922[_0xa70869(0x259)][_0x3bf676]));return R([..._0x114cc4[_0xa70869(0x1fe)][_0xa70869(0x346)]===_0x1013ad[_0xa70869(0x3d9)]?this['_materializeFormulaTableNames'](_0x2856a5):[],_0x43163e[_0xa70869(0xf4)](U['field'](_0x5afb96,_0x114cc4[_0xa70869(0x1fe)]['id']),_0x114cc4[_0xa70869(0x1fe)]),_0x43163e[_0xa70869(0x464)](['tables',_0x5afb96,_0xa70869(0x1f8)],_0x1f373c[_0xa70869(0x1f8)],_0x5a88a6),..._0x5933c2,..._0x278e51]);}[_0x327967(0x3de)](_0x45ac55,_0x1fc259,_0x51f240,_0x55d4a0){const _0x2ca4a4=_0x327967;let _0x17510b=_0x45ac55[_0x2ca4a4(0x486)][_0x1fc259][_0x2ca4a4(0x305)][_0x51f240],_0x200e32={..._0x17510b,..._0x55d4a0};Object[_0x2ca4a4(0x27a)](_0x55d4a0)[_0x2ca4a4(0x29b)](_0x29cdcd=>{_0x55d4a0[_0x29cdcd]===void 0x0&&delete _0x200e32[_0x29cdcd];});let _0x610c10=er(_0x45ac55['tables'][_0x1fc259],_0x51f240,_0x17510b,_0x200e32);_0x200e32=_0x610c10['field'];let _0x23f0db=_0x43163e[_0x2ca4a4(0x464)](U[_0x2ca4a4(0x1fe)](_0x1fc259,_0x51f240),_0x17510b,_0x200e32);return _0x200e32[_0x2ca4a4(0x346)]===_0x1013ad['Formula']?R([...this[_0x2ca4a4(0x229)](_0x45ac55),_0x23f0db,...this[_0x2ca4a4(0x319)](_0x45ac55,_0x1fc259,_0x51f240,_0x200e32)]):R([_0x23f0db,..._0x610c10[_0x2ca4a4(0x14b)]['length']?[this['setRangeValues'](_0x45ac55,_0x1fc259,_0x610c10['patches'])]:[]]);}['changeFieldType'](_0x54d880,_0x275e0d,_0x1bb9db,_0x18822f){const _0x4e9dbf=_0x327967;return this[_0x4e9dbf(0x3de)](_0x54d880,_0x275e0d,_0x1bb9db,_0x18822f);}[_0x327967(0x42f)](_0x3f899f,_0xee3840,_0x4cef46){const _0xc0a8f2=_0x327967;let _0x369117=_0x3f899f['tables'][_0xee3840];if(!(_0x369117!=null&&_0x369117[_0xc0a8f2(0x305)][_0x4cef46])||_0x369117[_0xc0a8f2(0x44a)]===_0x4cef46||_0x4cef46===_0x40fc9d)return _0x43163e[_0xc0a8f2(0x464)]([_0xc0a8f2(0x486),_0xee3840,'fieldOrder'],_0x369117==null?void 0x0:_0x369117[_0xc0a8f2(0x1f8)],_0x369117==null?void 0x0:_0x369117['fieldOrder']);let _0x3997ab=_0x369117[_0xc0a8f2(0x1f8)]['indexOf'](_0x4cef46),_0x155a66=Object[_0xc0a8f2(0x259)](_0x369117['views'])[_0xc0a8f2(0xeb)](_0x176c38=>{const _0x1d0e35=_0xc0a8f2;var _0x5e89d5,_0x22b94f,_0xb56026,_0x23bdbf,_0xa29654,_0x54eb2a,_0x426407;let _0x49cff6=[],_0x517fc3=((_0x5e89d5=_0x176c38[_0x1d0e35(0x1f8)])==null?void 0x0:_0x5e89d5['indexOf'](_0x4cef46))??-0x1;_0x517fc3>=0x0&&_0x49cff6['push'](_0x43163e['removeOp']([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x1f8),_0x517fc3],_0x4cef46));let _0x49ba5b=(_0x22b94f=_0x176c38[_0x1d0e35(0x105)])==null?void 0x0:_0x22b94f[_0x4cef46];_0x49ba5b!==void 0x0&&_0x49cff6[_0x1d0e35(0x161)](_0x43163e[_0x1d0e35(0x3e5)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x105),_0x4cef46],_0x49ba5b));let _0x586e12=_0x176c38[_0x1d0e35(0x1be)]?{..._0x176c38[_0x1d0e35(0x1be)],'conditions':_0x176c38[_0x1d0e35(0x1be)][_0x1d0e35(0x39c)][_0x1d0e35(0x1be)](_0x2c2688=>_0x2c2688[_0x1d0e35(0x173)]!==_0x4cef46)}:_0x176c38[_0x1d0e35(0x1be)];_0x586e12&&_0x586e12[_0x1d0e35(0x39c)][_0x1d0e35(0x1bf)]!==((_0xb56026=_0x176c38['filter'])==null?void 0x0:_0xb56026['conditions'][_0x1d0e35(0x1bf)])&&_0x49cff6[_0x1d0e35(0x161)](this[_0x1d0e35(0x435)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x1be)],_0x176c38[_0x1d0e35(0x1be)],_0x586e12));let _0x443c17=(_0x23bdbf=_0x176c38['sort'])==null?void 0x0:_0x23bdbf['filter'](_0x721ef6=>_0x721ef6['fieldId']!==_0x4cef46);_0x443c17&&_0x443c17[_0x1d0e35(0x1bf)]!==((_0xa29654=_0x176c38[_0x1d0e35(0x460)])==null?void 0x0:_0xa29654[_0x1d0e35(0x1bf)])&&_0x49cff6['push'](this[_0x1d0e35(0x435)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x460)],_0x176c38[_0x1d0e35(0x460)],_0x443c17));let _0x997e43=(_0x54eb2a=_0x176c38['group'])==null?void 0x0:_0x54eb2a['filter'](_0x25e3c9=>_0x25e3c9[_0x1d0e35(0x173)]!==_0x4cef46);_0x997e43&&_0x997e43['length']!==((_0x426407=_0x176c38[_0x1d0e35(0x16a)])==null?void 0x0:_0x426407[_0x1d0e35(0x1bf)])&&_0x49cff6['push'](this[_0x1d0e35(0x435)]([...U['view'](_0xee3840,_0x176c38['id']),_0x1d0e35(0x16a)],_0x176c38[_0x1d0e35(0x16a)],_0x997e43));let _0x5cd20f=lr(_0x176c38[_0x1d0e35(0x174)],_0x4cef46);return JSON[_0x1d0e35(0xf8)](_0x5cd20f)!==JSON[_0x1d0e35(0xf8)](_0x176c38[_0x1d0e35(0x174)])&&_0x49cff6[_0x1d0e35(0x161)](_0x43163e['replaceOp']([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),'config'],_0x176c38[_0x1d0e35(0x174)],_0x5cd20f)),_0x49cff6;}),_0x28b911=Object[_0xc0a8f2(0x259)](_0x369117[_0xc0a8f2(0x1d7)])[_0xc0a8f2(0xeb)](_0x10b51d=>Object[_0xc0a8f2(0x331)]['hasOwnProperty'][_0xc0a8f2(0x171)](_0x10b51d[_0xc0a8f2(0x259)],_0x4cef46)?[_0x43163e[_0xc0a8f2(0x3e5)](U[_0xc0a8f2(0x228)](_0xee3840,_0x10b51d['id'],_0x4cef46),_0x10b51d[_0xc0a8f2(0x259)][_0x4cef46])]:[]);return R([_0x43163e['removeOp'](U[_0xc0a8f2(0x1fe)](_0xee3840,_0x4cef46),_0x369117[_0xc0a8f2(0x305)][_0x4cef46]),_0x43163e['removeOp'](U[_0xc0a8f2(0x1f8)](_0xee3840,_0x3997ab),_0x4cef46),..._0x155a66,..._0x28b911,...this[_0xc0a8f2(0x3d5)](_0x369117,_0xee3840,_0x42a07a=>_0x42a07a[_0xc0a8f2(0x2ad)](_0x4cef46+'\x1f'))]);}[_0x327967(0x420)](_0x1bdddd,_0x2e0215,_0x519699,_0x310a73){const _0x410c66=_0x327967;let _0x52a203=_0x1bdddd[_0x410c66(0x486)][_0x2e0215][_0x410c66(0x1f8)];if(_0x519699===_0x40fc9d||_0x310a73[_0x410c66(0x25b)]===_0x40fc9d)throw Error(_0x410c66(0x375));let _0x2fa377=sr(_0x52a203,_0x519699,_0x310a73);return _0x43163e[_0x410c66(0x464)]([_0x410c66(0x486),_0x2e0215,'fieldOrder'],_0x52a203,_0x2fa377);}['createView'](_0x4a45f8,_0xdb4e98,_0x5687d5,_0x19f2e6=_0x4a45f8[_0x327967(0x486)][_0xdb4e98][_0x327967(0x2e1)][_0x327967(0x1bf)]){const _0x2b9c89=_0x327967;return R([_0x43163e[_0x2b9c89(0xf4)](U[_0x2b9c89(0x333)](_0xdb4e98,_0x5687d5['id']),_0x5687d5),_0x43163e[_0x2b9c89(0xf4)]([_0x2b9c89(0x486),_0xdb4e98,'viewOrder',_0x19f2e6],_0x5687d5['id'])]);}[_0x327967(0x271)](_0x506aac,_0x41892e,_0x27db60,_0x2f808b){const _0x3c4b26=_0x327967;return _0x43163e[_0x3c4b26(0x464)]([...U['view'](_0x41892e,_0x27db60),_0x3c4b26(0x158)],_0x506aac[_0x3c4b26(0x486)][_0x41892e]['views'][_0x27db60][_0x3c4b26(0x158)],_0x2f808b);}['deleteView'](_0x183c1e,_0xf67c38,_0x5db56c){const _0x4bec9c=_0x327967;let _0x219531=_0x183c1e[_0x4bec9c(0x486)][_0xf67c38],_0x1d68e1=_0x219531['views'][_0x5db56c],_0x4add22=_0x219531[_0x4bec9c(0x2e1)][_0x4bec9c(0x1c5)](_0x5db56c);return R([_0x43163e['removeOp'](U['view'](_0xf67c38,_0x5db56c),_0x1d68e1),_0x43163e[_0x4bec9c(0x3e5)]([_0x4bec9c(0x486),_0xf67c38,_0x4bec9c(0x2e1),_0x4add22],_0x5db56c)]);}[_0x327967(0x2dc)](_0x4ec460,_0x191e1a,_0x1d9d9e,_0x2a4477){const _0x545b33=_0x327967;let _0x27b7f8=_0x4ec460[_0x545b33(0x486)][_0x191e1a][_0x545b33(0x2e1)],_0x213998=sr(_0x27b7f8,_0x1d9d9e,{'beforeFieldId':_0x2a4477[_0x545b33(0x372)],'afterFieldId':_0x2a4477['afterViewId']});return _0x43163e[_0x545b33(0x464)](['tables',_0x191e1a,_0x545b33(0x2e1)],_0x27b7f8,_0x213998);}[_0x327967(0x18c)](_0x4cd85e,_0x53f196,_0x4a4a4a,_0x594917){const _0x44e15a=_0x327967;let _0x1653e7=_0x4cd85e[_0x44e15a(0x486)][_0x53f196]['views'][_0x4a4a4a]['config']??{},_0xf77549={..._0x1653e7,..._0x594917};return Object[_0x44e15a(0x27a)](_0x594917)[_0x44e15a(0x29b)](_0x86d622=>{_0x594917[_0x86d622]===void 0x0&&delete _0xf77549[_0x86d622];}),_0x43163e[_0x44e15a(0x464)]([...U[_0x44e15a(0x333)](_0x53f196,_0x4a4a4a),'config'],_0x1653e7,_0xf77549);}[_0x327967(0x2e8)](_0x1e1482,_0x53c59f,_0x221759,_0x2fa6a2){const _0x15481f=_0x327967;return this[_0x15481f(0x435)]([...U['view'](_0x53c59f,_0x221759),_0x15481f(0x1be)],_0x1e1482[_0x15481f(0x486)][_0x53c59f]['views'][_0x221759]['filter'],_0x2fa6a2);}[_0x327967(0x2ae)](_0x199d73,_0x19848a,_0x3cf4ce,_0x2bfcad){const _0x5d231a=_0x327967;return this[_0x5d231a(0x435)]([...U[_0x5d231a(0x333)](_0x19848a,_0x3cf4ce),'sort'],_0x199d73['tables'][_0x19848a][_0x5d231a(0x1eb)][_0x3cf4ce][_0x5d231a(0x460)],_0x2bfcad);}[_0x327967(0x356)](_0xd16ea8,_0x41b1a3,_0x4447a7,_0x7ea441){const _0x4023ef=_0x327967;return this[_0x4023ef(0x435)]([...U[_0x4023ef(0x333)](_0x41b1a3,_0x4447a7),_0x4023ef(0x16a)],_0xd16ea8[_0x4023ef(0x486)][_0x41b1a3][_0x4023ef(0x1eb)][_0x4447a7]['group'],_0x7ea441);}['setViewFieldVisible'](_0x19976b,_0x4161eb,_0x1e7a79,_0x2b8174,_0x5b1694){const _0xccc74a=_0x327967;return this[_0xccc74a(0x267)](_0x19976b,_0x4161eb,_0x1e7a79,_0x2b8174,{'hidden':!_0x5b1694});}['setViewFieldWidth'](_0x42442a,_0x43dade,_0x12656d,_0x5b754,_0x41bd4b){const _0x2b34af=_0x327967;return this[_0x2b34af(0x267)](_0x42442a,_0x43dade,_0x12656d,_0x5b754,{'width':_0x41bd4b});}[_0x327967(0x25d)](_0x3de38f,_0x348b6b,_0xf394f0,_0x48d1c7,_0x420d8d){const _0x67cdbb=_0x327967;let _0x4823f2=_0x3de38f[_0x67cdbb(0x486)][_0x348b6b]['views'][_0xf394f0],_0x4ba11e=sr(_0x4823f2[_0x67cdbb(0x1f8)]??_0x3de38f[_0x67cdbb(0x486)][_0x348b6b][_0x67cdbb(0x1f8)],_0x48d1c7,_0x420d8d);return this[_0x67cdbb(0x435)]([...U[_0x67cdbb(0x333)](_0x348b6b,_0xf394f0),_0x67cdbb(0x1f8)],_0x4823f2[_0x67cdbb(0x1f8)],_0x4ba11e);}[_0x327967(0x267)](_0x7dcca6,_0x2f1d05,_0xa3e9d3,_0x5e824c,_0x197959){const _0x27aae8=_0x327967;let _0x498bf2=_0x7dcca6[_0x27aae8(0x486)][_0x2f1d05][_0x27aae8(0x1eb)][_0xa3e9d3][_0x27aae8(0x105)]??{},_0x56a8ec={..._0x498bf2,[_0x5e824c]:{..._0x498bf2[_0x5e824c],..._0x197959}};return this['_replaceOptional']([...U[_0x27aae8(0x333)](_0x2f1d05,_0xa3e9d3),'fieldSettings'],_0x7dcca6['tables'][_0x2f1d05][_0x27aae8(0x1eb)][_0xa3e9d3][_0x27aae8(0x105)],_0x56a8ec);}[_0x327967(0x2a2)](_0x3187fb,_0x1346b0,_0xd163b0){const _0x1262fd=_0x327967;let _0x3b2f3b=_0x3187fb[_0x1262fd(0x486)][_0x1346b0],_0x551cc4=new Set(_0xd163b0[_0x1262fd(0x412)](_0x43cb7e=>_0x43cb7e['id'])),_0x47995a=[...Object[_0x1262fd(0x259)](_0x3b2f3b[_0x1262fd(0x1d7)])[_0x1262fd(0x1be)](_0x5a4c32=>!_0x551cc4['has'](_0x5a4c32['id'])),..._0xd163b0]['sort']((_0x351563,_0x562798)=>String(_0x351563[_0x1262fd(0x44c)]??_0x351563['id'])[_0x1262fd(0x3a4)](String(_0x562798[_0x1262fd(0x44c)]??_0x562798['id'])))[_0x1262fd(0x412)](_0x494cff=>_0x494cff['id']),_0x199b1a=[...U[_0x1262fd(0x496)](_0x1346b0),_0x1262fd(0x1e2)];return _0x3b2f3b[_0x1262fd(0x1e2)]?_0x43163e[_0x1262fd(0x464)](_0x199b1a,_0x3b2f3b[_0x1262fd(0x1e2)],_0x47995a):_0x43163e[_0x1262fd(0xf4)](_0x199b1a,_0x47995a);}[_0x327967(0x229)](_0x279aed,_0x5cd0fd=new Set()){const _0x165468=_0x327967;let _0xcb5a33=_0xbad9f1(_0x279aed);return Object[_0x165468(0x259)](_0x279aed[_0x165468(0x486)])[_0x165468(0x1be)](_0x381c6d=>!_0x5cd0fd[_0x165468(0x103)](_0x381c6d['id']))[_0x165468(0x460)]((_0x2b2ac1,_0x5f1c80)=>_0x2b2ac1['id'][_0x165468(0x3a4)](_0x5f1c80['id']))['flatMap'](_0x18e753=>{const _0x334dc1=_0x165468;let _0xd3f7a4=_0xcb5a33[_0x334dc1(0x318)](_0x18e753['id']);return!_0xd3f7a4||_0x18e753['formulaName']===_0xd3f7a4?[]:[this['_replaceOptional']([...U[_0x334dc1(0x496)](_0x18e753['id']),_0x334dc1(0x3a8)],_0x18e753['formulaName'],_0xd3f7a4)];});}[_0x327967(0x319)](_0x573ebf,_0x340655,_0x1713c7,_0x49793c){const _0x3a59d8=_0x327967;var _0x35668c,_0x2564a2;let _0x23af63=L(_0x573ebf[_0x3a59d8(0x486)][_0x340655]),_0x494f1a=String(((_0x35668c=_0x49793c['config'])==null?void 0x0:_0x35668c[_0x3a59d8(0x377)])??'')[_0x3a59d8(0x140)](),_0x1bb998=(_0x2564a2=_0x23af63[_0x3a59d8(0x22a)])==null?void 0x0:_0x2564a2[_0x1713c7];if(_0x1bb998==null)return[];let _0x3d3d9c=_0x23af63['recordOrder']??Object['keys'](_0x23af63['records']),_0x3c3a08=_0x3d3d9c['map'](_0x293db7=>{var _0x3ed183;return(_0x3ed183=_0x23af63['rowIndex'])==null?void 0x0:_0x3ed183[_0x293db7];})[_0x3a59d8(0x451)](_0x249517=>_0x249517!=null);return _0x3d3d9c[_0x3a59d8(0xeb)](_0x4e2eaa=>{const _0x45eff5=_0x3a59d8;var _0x4b1b53,_0x516b1f;let _0x831e2b=(_0x4b1b53=_0x23af63['rowIndex'])==null?void 0x0:_0x4b1b53[_0x4e2eaa];if(_0x831e2b==null)return[];let _0x2adfbd=(_0x516b1f=_0x23af63[_0x45eff5(0xdd)])==null||(_0x516b1f=_0x516b1f[_0x831e2b])==null?void 0x0:_0x516b1f[_0x1bb998],_0x3a7b4f=_0x494f1a?_0x831e2b===_0x3c3a08?{'f':_0x494f1a,'si':_0x1713c7}:{'si':_0x1713c7}:{'v':null,'t':null};return[this[_0x45eff5(0x435)](U[_0x45eff5(0xdd)](_0x340655,_0x831e2b,_0x1bb998),_0x2adfbd,_0x3a7b4f)];});}[_0x327967(0x432)](_0x5b7fda,_0x439e32,_0x4913bd){const _0x108b5c=_0x327967;var _0x37aa08;let _0x49a9b7=new Map(Object[_0x108b5c(0x209)](((_0x37aa08=_0x5b7fda[_0x108b5c(0x2b3)])==null?void 0x0:_0x37aa08[_0x108b5c(0x40e)])??{})),_0x1b181a=new Map(),_0x4cc341=new Set(),_0x1caef2=_0x4913bd[_0x108b5c(0x412)](({recordId:_0x2b4243,fieldId:_0x5a4b42,attachments:_0x3f0ce7})=>{const _0x4cdd3b=_0x108b5c;var _0x5de884;let _0x4e9b88=Et(_0x5a4b42,_0x2b4243),_0x3685ce=_0x3f0ce7[_0x4cdd3b(0x412)]((_0x147a2b,_0x35eaaa)=>String(_0x147a2b['id']??_0x4e9b88+'\x1f'+_0x35eaaa));return _0x4cc341[_0x4cdd3b(0x12e)](_0x4e9b88),_0x49a9b7[_0x4cdd3b(0x3fe)](_0x4e9b88,_0x3685ce),_0x3f0ce7[_0x4cdd3b(0x29b)]((_0x59f288,_0x299692)=>{const _0x44c475=_0x4cdd3b;let _0x1df04a=_0x3685ce[_0x299692];_0x1b181a[_0x44c475(0x3fe)](_0x1df04a,{..._0x59f288,'id':_0x1df04a});}),this[_0x4cdd3b(0x435)](U[_0x4cdd3b(0x2ac)](_0x439e32,_0x4e9b88),(_0x5de884=_0x5b7fda[_0x4cdd3b(0x2b3)])==null||(_0x5de884=_0x5de884[_0x4cdd3b(0x40e)])==null?void 0x0:_0x5de884[_0x4e9b88],_0x3685ce);}),_0x54e79c=Array[_0x108b5c(0x1d1)](_0x1b181a)[_0x108b5c(0x412)](([_0xb0d6db,_0x5a3d43])=>{const _0x1c18dd=_0x108b5c;var _0x4b946f;return this['_replaceOptional'](U['attachment'](_0x439e32,_0xb0d6db),(_0x4b946f=_0x5b7fda['resources'])==null||(_0x4b946f=_0x4b946f[_0x1c18dd(0x320)])==null?void 0x0:_0x4b946f[_0xb0d6db],_0x5a3d43);}),_0x17f2f1=new Set(Array[_0x108b5c(0x1d1)](_0x49a9b7['values']())[_0x108b5c(0x2f5)]()),_0x4e106f=new Set(Array[_0x108b5c(0x1d1)](_0x4cc341)['flatMap'](_0x425d20=>{const _0x4369ea=_0x108b5c;var _0xf19904;return((_0xf19904=_0x5b7fda[_0x4369ea(0x2b3)])==null||(_0xf19904=_0xf19904['attachmentSets'])==null?void 0x0:_0xf19904[_0x425d20])??[];})),_0x585e31=Array[_0x108b5c(0x1d1)](_0x4e106f)['flatMap'](_0xb41eac=>{const _0x332384=_0x108b5c;var _0x90e6aa;let _0x2cb41b=(_0x90e6aa=_0x5b7fda[_0x332384(0x2b3)])==null||(_0x90e6aa=_0x90e6aa['attachments'])==null?void 0x0:_0x90e6aa[_0xb41eac];return _0x2cb41b!==void 0x0&&!_0x17f2f1[_0x332384(0x103)](_0xb41eac)?[_0x43163e[_0x332384(0x3e5)](U['attachment'](_0x439e32,_0xb41eac),_0x2cb41b)]:[];});return[..._0x1caef2,..._0x54e79c,..._0x585e31];}['_deleteAttachmentResources'](_0x4a446f,_0x57d283,_0x27d835){const _0x1319fd=_0x327967;var _0x4158da;let _0x3ecde0=((_0x4158da=_0x4a446f[_0x1319fd(0x2b3)])==null?void 0x0:_0x4158da[_0x1319fd(0x40e)])??{},_0x6701f4=Object[_0x1319fd(0x209)](_0x3ecde0)[_0x1319fd(0x1be)](([_0x2ae96b])=>_0x27d835(_0x2ae96b));if(!_0x6701f4['length'])return[];let _0x3e886f=new Set(Object[_0x1319fd(0x209)](_0x3ecde0)[_0x1319fd(0x1be)](([_0x3e5f7a])=>!_0x27d835(_0x3e5f7a))[_0x1319fd(0xeb)](([,_0x3220c6])=>_0x3220c6)),_0x5644b8=new Set(_0x6701f4[_0x1319fd(0xeb)](([,_0x5357de])=>_0x5357de));return[..._0x6701f4[_0x1319fd(0x412)](([_0x11f7d0,_0x1c1c43])=>_0x43163e[_0x1319fd(0x3e5)](U[_0x1319fd(0x2ac)](_0x57d283,_0x11f7d0),_0x1c1c43)),...Array['from'](_0x5644b8)[_0x1319fd(0xeb)](_0x1b0de9=>{const _0x4ab03d=_0x1319fd;var _0x57da8a;let _0x550ac7=(_0x57da8a=_0x4a446f[_0x4ab03d(0x2b3)])==null||(_0x57da8a=_0x57da8a[_0x4ab03d(0x320)])==null?void 0x0:_0x57da8a[_0x1b0de9];return _0x550ac7!==void 0x0&&!_0x3e886f['has'](_0x1b0de9)?[_0x43163e[_0x4ab03d(0x3e5)](U[_0x4ab03d(0x449)](_0x57d283,_0x1b0de9),_0x550ac7)]:[];})];}[_0x327967(0x435)](_0x2da5fd,_0x1ea502,_0x3c2701){return _0x1ea502===void 0x0?_0x43163e['insertOp'](_0x2da5fd,_0x3c2701):_0x43163e['replaceOp'](_0x2da5fd,_0x1ea502,_0x3c2701);}};function er(_0x56d62c,_0x4770db,_0x1b61f9,_0x960d5){const _0x5cf75a=_0x327967;var _0x114c29;let _0x31cb48=_0x960d5[_0x5cf75a(0x346)];if(_0x1b61f9[_0x5cf75a(0x346)]!==_0x31cb48||_0x31cb48!==_0x1013ad[_0x5cf75a(0x413)]&&_0x31cb48!==_0x1013ad[_0x5cf75a(0x190)]||tr(_0x960d5['config'][_0x5cf75a(0x29c)]))return{'field':_0x960d5,'patches':[]};let _0x49ec95=nr(_0x1b61f9),_0x432d28=nr(_0x960d5);if(![..._0x49ec95]['some'](_0x3aa34a=>!_0x432d28['has'](_0x3aa34a)))return{'field':_0x960d5,'patches':[]};let _0x18a1ee=rr(_0x960d5[_0x5cf75a(0x487)],_0x432d28,_0x31cb48),_0x117447=ir(_0x18a1ee,_0x960d5[_0x5cf75a(0x487)])?_0x960d5:{..._0x960d5,'defaultValue':_0x18a1ee},_0x26a6aa=L(_0x56d62c),_0xd48a20=(_0x114c29=_0x26a6aa[_0x5cf75a(0x22a)])==null?void 0x0:_0x114c29[_0x4770db];return _0xd48a20==null?{'field':_0x117447,'patches':[]}:{'field':_0x117447,'patches':(_0x26a6aa[_0x5cf75a(0x1e2)]??[])[_0x5cf75a(0xeb)](_0xeb0edf=>{var _0x198dfd,_0x179c12;let _0x6347bd=(_0x198dfd=_0x26a6aa['rowIndex'])==null?void 0x0:_0x198dfd[_0xeb0edf],_0x28640f=(_0x179c12=_0x26a6aa['records'][_0xeb0edf])==null?void 0x0:_0x179c12['values'][_0x4770db],_0x2cb2b1=rr(_0x28640f,_0x432d28,_0x31cb48);return _0x6347bd==null||ir(_0x2cb2b1,_0x28640f)?[]:[{'row':_0x6347bd,'col':_0xd48a20,'value':_0x2cb2b1??null}];})};}function tr(_0x24c7f6){const _0x159605=_0x327967;return typeof _0x24c7f6==_0x159605(0x3d8)&&!!_0x24c7f6&&_0x159605(0x346)in _0x24c7f6&&_0x24c7f6['type']===_0x159605(0x1fe);}function nr(_0x28900f){const _0x376afe=_0x327967;var _0x434de6;let _0x2715c9=Array[_0x376afe(0x3fb)]((_0x434de6=_0x28900f[_0x376afe(0x174)])==null?void 0x0:_0x434de6['options'])?_0x28900f[_0x376afe(0x174)][_0x376afe(0x495)]:[];return new Set(_0x2715c9[_0x376afe(0xeb)](_0xf393c1=>{if(!_0xf393c1||typeof _0xf393c1!='object'||!('id'in _0xf393c1))return[];let _0xd6a4e2=String(_0xf393c1['id']);return _0xd6a4e2?[_0xd6a4e2]:[];}));}function rr(_0x544376,_0x2e409e,_0x4fccac){const _0x2da09b=_0x327967;if(_0x544376==null||_0x544376==='')return _0x544376;if(_0x4fccac===_0x1013ad[_0x2da09b(0x413)])return _0x2e409e['has'](String(_0x544376))?_0x544376:null;let _0x14e94f=Array[_0x2da09b(0x3fb)](_0x544376)?_0x544376[_0x2da09b(0x412)](String):String(_0x544376)['split'](',')[_0x2da09b(0x412)](_0x3d369a=>_0x3d369a['trim']())[_0x2da09b(0x1be)](Boolean),_0x49b75d=_0x14e94f[_0x2da09b(0x1be)](_0x31c393=>_0x2e409e[_0x2da09b(0x103)](_0x31c393));return _0x49b75d[_0x2da09b(0x1bf)]===_0x14e94f[_0x2da09b(0x1bf)]?_0x544376:Array[_0x2da09b(0x3fb)](_0x544376)?_0x49b75d:String(_0x544376)['includes'](',')?_0x49b75d['join'](','):_0x49b75d[0x0]??[];}function ir(_0x5edc0e,_0x24832d){const _0x569e19=_0x327967;return JSON[_0x569e19(0xf8)](_0x5edc0e)===JSON['stringify'](_0x24832d);}function ar(_0x5445eb,_0x202661,_0x375626){const _0x458a74=_0x327967;var _0x530837,_0xa173a0,_0x2e9839,_0x41e0b4;let _0x5917c1=(_0x530837=_0x5445eb[_0x458a74(0x257)])==null?void 0x0:_0x530837[_0x202661],_0x50cef4=(_0xa173a0=_0x5445eb['colIndex'])==null?void 0x0:_0xa173a0[_0x375626];return _0x5917c1!=null&&_0x50cef4!=null&&((_0x2e9839=_0x5445eb['rowId'])==null?void 0x0:_0x2e9839[_0x5917c1])===_0x202661&&((_0x41e0b4=_0x5445eb[_0x458a74(0x2ba)])==null?void 0x0:_0x41e0b4[_0x50cef4])===_0x375626&&_0x5445eb[_0x458a74(0xdd)]!=null;}function or(_0x42607e,_0x307452,_0x44b5f3){const _0xb446ca=_0x327967;var _0x280efe,_0x148404;return((_0x280efe=_0x42607e[_0xb446ca(0x2a7)])==null?void 0x0:_0x280efe[_0x307452])!=null&&((_0x148404=_0x42607e['colId'])==null?void 0x0:_0x148404[_0x44b5f3])!=null&&_0x42607e['cellData']!=null;}function sr(_0x18a79f,_0x25a398,_0x40711a){const _0x3aeee7=_0x327967;let _0x1e59a7=_0x18a79f[_0x3aeee7(0x1be)](_0x41bebc=>_0x41bebc!==_0x25a398),_0x3dab15=_0x40711a[_0x3aeee7(0x25b)]?_0x1e59a7[_0x3aeee7(0x1c5)](_0x40711a['beforeFieldId']):_0x40711a['afterFieldId']?_0x1e59a7['indexOf'](_0x40711a[_0x3aeee7(0x338)])+0x1:_0x1e59a7[_0x3aeee7(0x1bf)];return _0x1e59a7[_0x3aeee7(0x147)](_0x3dab15<0x0?_0x1e59a7[_0x3aeee7(0x1bf)]:_0x3dab15,0x0,_0x25a398),_0x1e59a7;}function cr(_0x3920f7,_0x178e58,_0x26338d){const _0x3b64e0=_0x327967;let _0x5d4a4d=_0x3920f7[_0x3b64e0(0x1be)](_0xc36e00=>_0xc36e00!==_0x178e58);return _0x5d4a4d[_0x3b64e0(0x147)](ur(_0x26338d,_0x5d4a4d[_0x3b64e0(0x1bf)]),0x0,_0x178e58),_0x5d4a4d;}function lr(_0x1af860,_0x4f73e7,_0x1840b5){const _0x34904c=_0x327967;if(Array[_0x34904c(0x3fb)](_0x1af860))return _0x1840b5===_0x34904c(0x143)?_0x1af860[_0x34904c(0x1be)](_0x51bf70=>_0x51bf70!==_0x4f73e7):_0x1af860[_0x34904c(0xeb)](_0x52ba2a=>{const _0x5404ba=_0x34904c;if(_0x52ba2a&&typeof _0x52ba2a=='object'&&!Array[_0x5404ba(0x3fb)](_0x52ba2a)&&_0x52ba2a[_0x5404ba(0x173)]===_0x4f73e7)return[];let _0x54b713=lr(_0x52ba2a,_0x4f73e7);return _0x54b713===void 0x0?[]:[_0x54b713];});if(!_0x1af860||typeof _0x1af860!=_0x34904c(0x3d8))return _0x1840b5!=null&&_0x1840b5[_0x34904c(0x18b)]('FieldId')&&_0x1af860===_0x4f73e7?void 0x0:_0x1af860;let _0x2625c1=_0x1af860;if(_0x2625c1[_0x34904c(0x173)]!==_0x4f73e7)return Object[_0x34904c(0x49f)](Object['entries'](_0x2625c1)['flatMap'](([_0x2aec04,_0x4485ef])=>{if(_0x2aec04===_0x4f73e7&&_0x1840b5==='fieldSettings')return[];let _0x4e591a=lr(_0x4485ef,_0x4f73e7,_0x2aec04);return _0x4e591a===void 0x0?[]:[[_0x2aec04,_0x4e591a]];}));}function ur(_0x5b61e1,_0x5313a3){const _0xca240a=_0x327967;return Math[_0xca240a(0x31a)](0x0,Math[_0xca240a(0x37a)](_0x5b61e1,_0x5313a3));}function dr(_0x38299e){'@babel/helpers - typeof';const _0x4958b6=_0x327967;return dr=typeof Symbol==_0x4958b6(0x2ef)&&typeof Symbol[_0x4958b6(0x166)]=='symbol'?function(_0x299aab){return typeof _0x299aab;}:function(_0xc0a2ff){const _0x37b96e=_0x4958b6;return _0xc0a2ff&&typeof Symbol==_0x37b96e(0x2ef)&&_0xc0a2ff[_0x37b96e(0x16c)]===Symbol&&_0xc0a2ff!==Symbol[_0x37b96e(0x331)]?'symbol':typeof _0xc0a2ff;},dr(_0x38299e);}function fr(_0x54d835,_0x3f0126){const _0x286091=_0x327967;if(dr(_0x54d835)!=_0x286091(0x3d8)||!_0x54d835)return _0x54d835;var _0x453c06=_0x54d835[Symbol['toPrimitive']];if(_0x453c06!==void 0x0){var _0xec7454=_0x453c06[_0x286091(0x171)](_0x54d835,_0x3f0126||_0x286091(0x11c));if(dr(_0xec7454)!=_0x286091(0x3d8))return _0xec7454;throw TypeError(_0x286091(0x298));}return(_0x3f0126===_0x286091(0x2a0)?String:Number)(_0x54d835);}function pr(_0x3ffa87){const _0x3a9206=_0x327967;var _0xd1b183=fr(_0x3ffa87,_0x3a9206(0x2a0));return dr(_0xd1b183)==_0x3a9206(0x41c)?_0xd1b183:_0xd1b183+'';}function G(_0xf5b987,_0x959e9e,_0x5f388b){const _0x273cbc=_0x327967;return(_0x959e9e=pr(_0x959e9e))in _0xf5b987?Object[_0x273cbc(0x24b)](_0xf5b987,_0x959e9e,{'value':_0x5f388b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf5b987[_0x959e9e]=_0x5f388b,_0xf5b987;}const mr=_0x1ada6c(_0x327967(0x18a));var hr=class extends _0x4de356{constructor(..._0x1e77fd){const _0xb3a469=_0x327967;super(..._0x1e77fd),G(this,_0xb3a469(0x3ce),new Map());}[_0x327967(0x263)](_0x39eb07){const _0x51be7d=_0x327967;return this['_plugins'][_0x51be7d(0x3fe)](_0x39eb07[_0x51be7d(0x346)],_0x39eb07),_0x569b00(()=>this['_plugins']['delete'](_0x39eb07[_0x51be7d(0x346)]));}['get'](_0x375108){const _0x12b61f=_0x327967;let _0x2bf239=this['_plugins'][_0x12b61f(0x318)](_0x375108);if(!_0x2bf239)throw Error(_0x12b61f(0x470)+_0x375108+'\x22\x20is\x20not\x20registered.');return _0x2bf239;}['getTypePlugin'](_0x23a71c){const _0x322518=_0x327967;return this[_0x322518(0x3ce)][_0x322518(0x318)](_0x23a71c);}[_0x327967(0x24a)](){const _0x5490ba=_0x327967;return Array['from'](this[_0x5490ba(0x3ce)]['values']());}},gr=class{constructor(_0x3d8a76){const _0x154c73=_0x327967;this[_0x154c73(0x409)]=_0x3d8a76,G(this,_0x154c73(0x346),_0x230625['Base']),G(this,_0x154c73(0x399),_0x3709ae['Comment']),G(this,_0x154c73(0x45a),_0x1ebfa9[_0x154c73(0x364)]),G(this,'id',void 0x0),G(this,_0x154c73(0x1e1),!0x0),this['id']=this['type']+'.'+this[_0x154c73(0x399)]+'_'+_0x3d8a76;}},_r=class{constructor(_0x2a01a0){const _0x3c7749=_0x327967;this[_0x3c7749(0x409)]=_0x2a01a0,G(this,'type',_0x230625[_0x3c7749(0x336)]),G(this,_0x3c7749(0x399),_0x3709ae[_0x3c7749(0x2ea)]),G(this,_0x3c7749(0x45a),_0x1ebfa9[_0x3c7749(0x364)]),G(this,'id',void 0x0),G(this,_0x3c7749(0x1e1),!0x0),this['id']=this[_0x3c7749(0x346)]+'.'+this[_0x3c7749(0x399)]+'_'+_0x2a01a0;}},vr=class{constructor(_0x5bc94a){const _0x4fb104=_0x327967;this[_0x4fb104(0x409)]=_0x5bc94a,G(this,_0x4fb104(0x346),_0x230625['Base']),G(this,_0x4fb104(0x399),_0x3709ae[_0x4fb104(0x474)]),G(this,'status',_0x1ebfa9[_0x4fb104(0x364)]),G(this,'id',void 0x0),G(this,_0x4fb104(0x1e1),!0x0),this['id']=this[_0x4fb104(0x346)]+'.'+this[_0x4fb104(0x399)]+'_'+_0x5bc94a;}},yr=class{constructor(_0x423317){const _0x5e30fa=_0x327967;this['unitId']=_0x423317,G(this,_0x5e30fa(0x346),_0x230625[_0x5e30fa(0x336)]),G(this,'subType',_0x3709ae['Export']),G(this,_0x5e30fa(0x45a),_0x1ebfa9[_0x5e30fa(0x364)]),G(this,'id',void 0x0),G(this,_0x5e30fa(0x1e1),!0x0),this['id']=this[_0x5e30fa(0x346)]+'.'+this[_0x5e30fa(0x399)]+'_'+_0x423317;}},br=class{constructor(_0x5e3637,_0x11f013){const _0x338588=_0x327967;this['unitId']=_0x5e3637,this[_0x338588(0x136)]=_0x11f013,G(this,_0x338588(0x346),_0x230625['BaseDashboard']),G(this,_0x338588(0x399),_0x3709ae[_0x338588(0x474)]),G(this,'status',_0x1ebfa9[_0x338588(0x364)]),G(this,'id',void 0x0),G(this,_0x338588(0x1e1),!0x0),this['id']=this[_0x338588(0x346)]+'.'+this[_0x338588(0x399)]+'_'+_0x5e3637+'_'+_0x11f013;}},xr=class{constructor(_0x493f72,_0x93e5f4){const _0x26cbc1=_0x327967;this[_0x26cbc1(0x409)]=_0x493f72,this[_0x26cbc1(0x136)]=_0x93e5f4,G(this,_0x26cbc1(0x346),_0x230625['BaseField']),G(this,_0x26cbc1(0x399),_0x3709ae[_0x26cbc1(0x474)]),G(this,'status',_0x1ebfa9['INIT']),G(this,'id',void 0x0),G(this,_0x26cbc1(0x1e1),!0x0),this['id']=this[_0x26cbc1(0x346)]+'.'+this['subType']+'_'+_0x493f72+'_'+_0x93e5f4;}},Sr=class{constructor(_0x340c6c,_0x261d26){const _0x5c996f=_0x327967;this[_0x5c996f(0x409)]=_0x340c6c,this[_0x5c996f(0x136)]=_0x261d26,G(this,_0x5c996f(0x346),_0x230625[_0x5c996f(0x163)]),G(this,_0x5c996f(0x399),_0x3709ae['Edit']),G(this,'status',_0x1ebfa9[_0x5c996f(0x364)]),G(this,'id',void 0x0),G(this,_0x5c996f(0x1e1),!0x0),this['id']=this[_0x5c996f(0x346)]+'.'+this[_0x5c996f(0x399)]+'_'+_0x340c6c+'_'+_0x261d26;}},Cr=class{constructor(_0xa931b6,_0x3db753){const _0x4ac565=_0x327967;this[_0x4ac565(0x409)]=_0xa931b6,this[_0x4ac565(0x136)]=_0x3db753,G(this,_0x4ac565(0x346),_0x230625['BaseTable']),G(this,_0x4ac565(0x399),_0x3709ae[_0x4ac565(0x474)]),G(this,_0x4ac565(0x45a),_0x1ebfa9[_0x4ac565(0x364)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x4ac565(0x346)]+'.'+this[_0x4ac565(0x399)]+'_'+_0xa931b6+'_'+_0x3db753;}},wr=class{constructor(_0x5ac375,_0x592a42){const _0x5e1083=_0x327967;this[_0x5e1083(0x409)]=_0x5ac375,this[_0x5e1083(0x136)]=_0x592a42,G(this,_0x5e1083(0x346),_0x230625['BaseView']),G(this,'subType',_0x3709ae['Edit']),G(this,_0x5e1083(0x45a),_0x1ebfa9['INIT']),G(this,'id',void 0x0),G(this,_0x5e1083(0x1e1),!0x0),this['id']=this[_0x5e1083(0x346)]+'.'+this[_0x5e1083(0x399)]+'_'+_0x5ac375+'_'+_0x592a42;}};const Tr=[_0x3709ae[_0x327967(0x474)],_0x3709ae['Copy'],_0x3709ae['Export'],_0x3709ae[_0x327967(0x1dd)]],Er=new Set([_0x230625[_0x327967(0x336)],_0x230625['BaseTable'],_0x230625[_0x327967(0x262)],_0x230625[_0x327967(0x163)],_0x230625['BaseView'],_0x230625[_0x327967(0x27d)]]),Dr='table/',Or=_0x327967(0x144),kr=_0x327967(0x2ab),Ar=_0x327967(0x3ed),jr='dashboard/';function K(_0x47c717){return''+Dr+encodeURIComponent(_0x47c717);}function q(_0x4b892e,_0x200291){return''+Or+encodeURIComponent(_0x4b892e)+'/'+encodeURIComponent(_0x200291);}function J(_0xe6e937,_0x36965d){return''+kr+encodeURIComponent(_0xe6e937)+'/'+encodeURIComponent(_0x36965d);}function Mr(_0x44ad88,_0x44fd39){return''+Ar+encodeURIComponent(_0x44ad88)+'/'+encodeURIComponent(_0x44fd39);}function Nr(_0x3c41ff){return''+jr+encodeURIComponent(_0x3c41ff);}function Pr(_0x4725c0,_0x1b4b94,_0x149830){const _0x46e3b4=_0x327967;if(_0x1b4b94===_0x4725c0)switch(_0x149830){case _0x3709ae['Edit']:return new vr(_0x4725c0);case _0x3709ae['Copy']:return new _r(_0x4725c0);case _0x3709ae['Export']:return new yr(_0x4725c0);case _0x3709ae[_0x46e3b4(0x1dd)]:return new gr(_0x4725c0);default:throw Error(_0x46e3b4(0x3c7)+_0x149830);}if(_0x149830!==_0x3709ae['Edit'])throw Error(_0x46e3b4(0x1de)+_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](Dr))return new Cr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](Or))return new xr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](kr))return new Sr(_0x4725c0,_0x1b4b94);if(_0x1b4b94['startsWith'](Ar))return new wr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](jr))return new br(_0x4725c0,_0x1b4b94);throw Error(_0x46e3b4(0x2d1)+_0x1b4b94);}function Fr(_0x431597,_0x3571ab,_0x43f40c,_0x64948c){const _0x3f2624=_0x327967;var _0x5be926;return((_0x5be926=_0x431597['getPermissionPoint'](Pr(_0x3571ab,_0x43f40c,_0x64948c)['id']))==null?void 0x0:_0x5be926[_0x3f2624(0x1e1)])??!0x0;}function Ir(_0x2d97dd,_0x98c35c,_0x127455,_0x143a67,_0x2f7ad1){const _0x26c825=_0x327967;let _0x464242=Pr(_0x98c35c,_0x127455,_0x143a67);_0x2d97dd[_0x26c825(0x45b)](_0x464242['id'])||_0x2d97dd[_0x26c825(0x46a)](_0x464242),_0x2d97dd[_0x26c825(0x260)](_0x464242['id'],_0x2f7ad1);}function Lr(_0x4d9bb2,_0x4852af,_0x47d6a1,_0x1edf06){const _0x4c63d4=_0x327967;_0x4d9bb2[_0x4c63d4(0x4a5)](Pr(_0x4852af,_0x47d6a1,_0x1edf06)['id']);}function Rr(_0xc80399,_0x5ad6ef){const _0x340087=_0x327967;_0xc80399[_0x340087(0x22f)]()[_0x340087(0x29b)]((_0x4d8f1a,_0x129975)=>{const _0xe08c0c=_0x340087;_0x4d8f1a[_0xe08c0c(0x16f)](_0x4b7a01=>{const _0x306971=_0xe08c0c;Er['has'](_0x4b7a01[_0x306971(0x346)])&&_0x306971(0x409)in _0x4b7a01&&_0x4b7a01[_0x306971(0x409)]===_0x5ad6ef&&_0xc80399['deletePermissionPoint'](_0x129975);})['unsubscribe']();});}function zr(_0x40caa3,_0x1a9a0e,_0x3ebff9){const _0x16ff40=_0x327967;return Fr(_0x40caa3,_0x1a9a0e,_0x1a9a0e,_0x3709ae[_0x16ff40(0x474)])&&Array['from'](_0x3ebff9)[_0x16ff40(0x44b)](_0x1e698d=>Fr(_0x40caa3,_0x1a9a0e,_0x1e698d,_0x3709ae[_0x16ff40(0x474)]));}function Y(_0x496732,_0xc491e6){return function(_0x123ae1,_0x26ed7a){_0xc491e6(_0x123ae1,_0x26ed7a,_0x496732);};}function X(_0x2c3d2e,_0x1763c0,_0x5e1fc2,_0xb8bc22){const _0x3f7eb4=_0x327967;var _0x5c8255=arguments['length'],_0x475624=_0x5c8255<0x3?_0x1763c0:_0xb8bc22===null?_0xb8bc22=Object[_0x3f7eb4(0x266)](_0x1763c0,_0x5e1fc2):_0xb8bc22,_0x3a8882;if(typeof Reflect==_0x3f7eb4(0x3d8)&&typeof Reflect[_0x3f7eb4(0x2bd)]==_0x3f7eb4(0x2ef))_0x475624=Reflect[_0x3f7eb4(0x2bd)](_0x2c3d2e,_0x1763c0,_0x5e1fc2,_0xb8bc22);else{for(var _0x4cb024=_0x2c3d2e[_0x3f7eb4(0x1bf)]-0x1;_0x4cb024>=0x0;_0x4cb024--)(_0x3a8882=_0x2c3d2e[_0x4cb024])&&(_0x475624=(_0x5c8255<0x3?_0x3a8882(_0x475624):_0x5c8255>0x3?_0x3a8882(_0x1763c0,_0x5e1fc2,_0x475624):_0x3a8882(_0x1763c0,_0x5e1fc2))||_0x475624);}return _0x5c8255>0x3&&_0x475624&&Object[_0x3f7eb4(0x24b)](_0x1763c0,_0x5e1fc2,_0x475624),_0x475624;}const Br=_0x1ada6c('base.permission.service');let Vr=class extends _0x4de356{constructor(_0x176871,_0x36ae5d){const _0x40e63a=_0x327967;super(),this[_0x40e63a(0x1ae)]=_0x176871,this[_0x40e63a(0x3f8)]=_0x36ae5d,G(this,_0x40e63a(0x3b2),new Map()),G(this,_0x40e63a(0x21c),new Map()),G(this,_0x40e63a(0x3c5),new Map()),G(this,_0x40e63a(0x162),new Map()),G(this,_0x40e63a(0x485),new Map()),G(this,_0x40e63a(0x44e),new Map()),this[_0x40e63a(0x29e)](this[_0x40e63a(0x3f8)][_0x40e63a(0x38d)](_0x49a6be[_0x40e63a(0xf9)])[_0x40e63a(0x16f)](_0x55b3dc=>this[_0x40e63a(0x47a)](_0x55b3dc[_0x40e63a(0x40a)]())));}[_0x327967(0x2c7)](_0x40bc93){const _0x5d4f5d=_0x327967;var _0x255b89;return this[_0x5d4f5d(0x447)](_0x40bc93,[])&&(((_0x255b89=this[_0x5d4f5d(0x3b2)][_0x5d4f5d(0x318)](_0x40bc93))==null?void 0x0:_0x255b89['createTable'])??!0x0);}[_0x327967(0x1d9)](_0x68fda1){return this['_canEditTable'](_0x68fda1);}[_0x327967(0x258)](_0x1613fc){const _0x5ca3f7=_0x327967;var _0x19019f;return this[_0x5ca3f7(0x3b1)](_0x1613fc)&&(((_0x19019f=this['_tablePermissions'][_0x5ca3f7(0x318)](_0x1613fc))==null?void 0x0:_0x19019f[_0x5ca3f7(0x253)])??!0x0);}[_0x327967(0x22c)](_0x437b8c){const _0x588787=_0x327967;var _0x49e1be;return this[_0x588787(0x3b1)](_0x437b8c)&&(((_0x49e1be=this[_0x588787(0x21c)][_0x588787(0x318)](_0x437b8c))==null?void 0x0:_0x49e1be[_0x588787(0x24c)])??!0x0);}[_0x327967(0x285)](_0x4af35,_0x367dc5){const _0x4e93bc=_0x327967;var _0x356096;return this[_0x4e93bc(0x3b1)](_0x4af35)&&this[_0x4e93bc(0x447)](_0x4af35,[q(_0x4af35,_0x367dc5)])&&(((_0x356096=this[_0x4e93bc(0x3c5)][_0x4e93bc(0x318)](Ur(_0x4af35,_0x367dc5)))==null?void 0x0:_0x356096['edit'])??!0x0);}[_0x327967(0x3cd)](_0x248a40,_0xb88cf2){const _0x54f854=_0x327967;var _0x2cd0b8;return this[_0x54f854(0x285)](_0x248a40,_0xb88cf2)&&(((_0x2cd0b8=this[_0x54f854(0x3c5)][_0x54f854(0x318)](Ur(_0x248a40,_0xb88cf2)))==null?void 0x0:_0x2cd0b8['delete'])??!0x0);}[_0x327967(0x2b6)](_0x407391){const _0x1138ab=_0x327967;var _0x5344a4;return this[_0x1138ab(0x3b1)](_0x407391)&&(((_0x5344a4=this[_0x1138ab(0x21c)]['get'](_0x407391))==null?void 0x0:_0x5344a4[_0x1138ab(0x3ab)])??!0x0);}[_0x327967(0x32a)](_0x2d6f75,_0x42c530){const _0x1742d1=_0x327967;var _0x5dbcd0;let _0x3e872e=this[_0x1742d1(0x162)][_0x1742d1(0x318)](Wr(_0x2d6f75,_0x42c530));return this[_0x1742d1(0x447)](_0x2d6f75,[K(_0x2d6f75),J(_0x2d6f75,_0x42c530)])&&(((_0x5dbcd0=this[_0x1742d1(0x21c)][_0x1742d1(0x318)](_0x2d6f75))==null?void 0x0:_0x5dbcd0['edit'])??!0x0)&&((_0x3e872e==null?void 0x0:_0x3e872e[_0x1742d1(0x248)])??!0x0)&&((_0x3e872e==null?void 0x0:_0x3e872e[_0x1742d1(0x380)])??!0x0);}[_0x327967(0x3d4)](_0x3b27f1,_0xc0969d){const _0x326016=_0x327967;var _0x1cd91e,_0x262d90,_0x9a1e37;return this[_0x326016(0x447)](_0x3b27f1,[K(_0x3b27f1),J(_0x3b27f1,_0xc0969d)])&&(((_0x1cd91e=this[_0x326016(0x21c)][_0x326016(0x318)](_0x3b27f1))==null?void 0x0:_0x1cd91e[_0x326016(0x248)])??!0x0)&&(((_0x262d90=this['_recordPermissions'][_0x326016(0x318)](Wr(_0x3b27f1,_0xc0969d)))==null?void 0x0:_0x262d90[_0x326016(0x248)])??!0x0)&&(((_0x9a1e37=this['_recordPermissions']['get'](Wr(_0x3b27f1,_0xc0969d)))==null?void 0x0:_0x9a1e37[_0x326016(0x253)])??!0x0);}[_0x327967(0x255)](_0x3e731c,_0x22573a,_0x6855d3){const _0x25f53c=_0x327967;var _0x26ffa8,_0x418eb9,_0x4bb16d;let _0x57d61d=this[_0x25f53c(0x3c5)][_0x25f53c(0x318)](Ur(_0x3e731c,_0x6855d3));return this['_canEdit'](_0x3e731c,[K(_0x3e731c),q(_0x3e731c,_0x6855d3),J(_0x3e731c,_0x22573a)])&&(((_0x26ffa8=this['_tablePermissions'][_0x25f53c(0x318)](_0x3e731c))==null?void 0x0:_0x26ffa8[_0x25f53c(0x248)])??!0x0)&&(((_0x418eb9=this[_0x25f53c(0x162)]['get'](Wr(_0x3e731c,_0x22573a)))==null?void 0x0:_0x418eb9[_0x25f53c(0x248)])??!0x0)&&(((_0x4bb16d=this['_recordPermissions'][_0x25f53c(0x318)](Wr(_0x3e731c,_0x22573a)))==null?void 0x0:_0x4bb16d[_0x25f53c(0x380)])??!0x0)&&((_0x57d61d==null?void 0x0:_0x57d61d[_0x25f53c(0x248)])??!0x0)&&((_0x57d61d==null?void 0x0:_0x57d61d[_0x25f53c(0x380)])??!0x0);}['canManageView'](_0x13dc61,_0x3c35a2){const _0x34bb8e=_0x327967;var _0x151608,_0x381eaa,_0x23ff6f;return this['_canEdit'](_0x13dc61,[K(_0x13dc61),Mr(_0x13dc61,_0x3c35a2)])&&(((_0x151608=this[_0x34bb8e(0x21c)]['get'](_0x13dc61))==null?void 0x0:_0x151608[_0x34bb8e(0x248)])??!0x0)&&(((_0x381eaa=this[_0x34bb8e(0x485)][_0x34bb8e(0x318)](Gr(_0x13dc61,_0x3c35a2)))==null?void 0x0:_0x381eaa[_0x34bb8e(0x248)])??!0x0)&&(((_0x23ff6f=this[_0x34bb8e(0x21c)]['get'](_0x13dc61))==null?void 0x0:_0x23ff6f[_0x34bb8e(0x273)])??!0x0);}['setBasePermission'](_0x1d9dc7,_0x1ebd43){const _0x42be4d=_0x327967;this[_0x42be4d(0x3b2)][_0x42be4d(0x3fe)](_0x1d9dc7,{...this[_0x42be4d(0x3b2)][_0x42be4d(0x318)](_0x1d9dc7),..._0x1ebd43}),_0x1ebd43[_0x42be4d(0x248)]!==void 0x0&&Ir(this['_permissionService'],_0x1d9dc7,_0x1d9dc7,_0x3709ae[_0x42be4d(0x474)],_0x1ebd43[_0x42be4d(0x248)]);}[_0x327967(0x13f)](_0x1d9920,_0x3f3abf){const _0x1ff764=_0x327967;this[_0x1ff764(0x26c)](_0x1d9920),this[_0x1ff764(0x21c)][_0x1ff764(0x3fe)](_0x1d9920,{...this[_0x1ff764(0x21c)][_0x1ff764(0x318)](_0x1d9920),..._0x3f3abf}),this[_0x1ff764(0x191)](_0x1d9920,K(_0x1d9920),_0x3f3abf[_0x1ff764(0x248)]);}[_0x327967(0x371)](_0x45387b,_0x16bc7f,_0x2e6290){const _0x3d76b9=_0x327967;this['_rememberTable'](_0x45387b);let _0x4ababb=Ur(_0x45387b,_0x16bc7f);this[_0x3d76b9(0x3c5)][_0x3d76b9(0x3fe)](_0x4ababb,{...this['_fieldPermissions'][_0x3d76b9(0x318)](_0x4ababb),..._0x2e6290}),this[_0x3d76b9(0x191)](_0x45387b,q(_0x45387b,_0x16bc7f),_0x2e6290[_0x3d76b9(0x248)]);}[_0x327967(0x1a4)](_0x3d52e2,_0x2eb662,_0x1bf341){const _0x1cec1c=_0x327967;this[_0x1cec1c(0x26c)](_0x3d52e2);let _0x59522b=Wr(_0x3d52e2,_0x2eb662);this[_0x1cec1c(0x162)][_0x1cec1c(0x3fe)](_0x59522b,{...this['_recordPermissions'][_0x1cec1c(0x318)](_0x59522b),..._0x1bf341}),this[_0x1cec1c(0x191)](_0x3d52e2,J(_0x3d52e2,_0x2eb662),_0x1bf341[_0x1cec1c(0x248)]);}[_0x327967(0x393)](_0x28ee39,_0x4d870f,_0x549d13){const _0x51bd43=_0x327967;this[_0x51bd43(0x26c)](_0x28ee39);let _0x71bf2f=Gr(_0x28ee39,_0x4d870f);this[_0x51bd43(0x485)]['set'](_0x71bf2f,{...this[_0x51bd43(0x485)][_0x51bd43(0x318)](_0x71bf2f),..._0x549d13}),this[_0x51bd43(0x191)](_0x28ee39,Mr(_0x28ee39,_0x4d870f),_0x549d13['edit']);}[_0x327967(0x3b5)](_0x18c2c9){const _0x3123b7=_0x327967;this[_0x3123b7(0x3b2)]['delete'](_0x18c2c9),Lr(this[_0x3123b7(0x1ae)],_0x18c2c9,_0x18c2c9,_0x3709ae['Edit']);}[_0x327967(0x31b)](_0x41222a){const _0xa65e20=_0x327967;this[_0xa65e20(0x21c)][_0xa65e20(0x253)](_0x41222a),this[_0xa65e20(0xf3)](_0x41222a,K(_0x41222a));}[_0x327967(0x339)](_0x35e014,_0x2e5638){const _0x3dfb41=_0x327967;this[_0x3dfb41(0x3c5)][_0x3dfb41(0x253)](Ur(_0x35e014,_0x2e5638)),this['_clearObjectEdit'](_0x35e014,q(_0x35e014,_0x2e5638));}[_0x327967(0x235)](_0x5381eb,_0x471a57){const _0x4e90c0=_0x327967;this['_recordPermissions']['delete'](Wr(_0x5381eb,_0x471a57)),this[_0x4e90c0(0xf3)](_0x5381eb,J(_0x5381eb,_0x471a57));}[_0x327967(0x15d)](_0x1929d7,_0x3cc34c){const _0x196c93=_0x327967;this[_0x196c93(0x485)][_0x196c93(0x253)](Gr(_0x1929d7,_0x3cc34c)),this['_clearObjectEdit'](_0x1929d7,Mr(_0x1929d7,_0x3cc34c));}['getSnapshot'](){const _0x2184a1=_0x327967;return{'bases':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x3b2)]),'tables':Object['fromEntries'](this['_tablePermissions']),'fields':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x3c5)]),'records':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x162)]),'views':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x485)])};}[_0x327967(0x3b1)](_0x4643d8){const _0x3a85e2=_0x327967;var _0x2e02eb;return this['_canEdit'](_0x4643d8,[K(_0x4643d8)])&&(((_0x2e02eb=this[_0x3a85e2(0x21c)]['get'](_0x4643d8))==null?void 0x0:_0x2e02eb[_0x3a85e2(0x248)])??!0x0);}['_canEdit'](_0x57b6e1,_0x4a84cf){const _0x39fdbd=_0x327967;var _0x59f277;let _0x5e6147=this[_0x39fdbd(0x440)](_0x57b6e1);return!_0x5e6147||zr(this['_permissionService'],_0x5e6147,_0x4a84cf)&&(((_0x59f277=this[_0x39fdbd(0x3b2)][_0x39fdbd(0x318)](_0x5e6147))==null?void 0x0:_0x59f277[_0x39fdbd(0x248)])??!0x0);}[_0x327967(0x191)](_0xda77b4,_0x1633b0,_0x2e3612){const _0x3fb77b=_0x327967;if(_0x2e3612===void 0x0)return;let _0x32244a=this[_0x3fb77b(0x440)](_0xda77b4);_0x32244a&&Ir(this[_0x3fb77b(0x1ae)],_0x32244a,_0x1633b0,_0x3709ae['Edit'],_0x2e3612);}['_clearObjectEdit'](_0x4017ea,_0x12fbc8){const _0x54e9aa=_0x327967;let _0x13e880=this[_0x54e9aa(0x440)](_0x4017ea);_0x13e880&&Lr(this[_0x54e9aa(0x1ae)],_0x13e880,_0x12fbc8,_0x3709ae['Edit']);}[_0x327967(0x440)](_0x7ed045){const _0x3e1430=_0x327967;var _0x46bc6e;let _0x355493=this[_0x3e1430(0x3f8)][_0x3e1430(0x1d4)](_0x7ed045,_0x49a6be[_0x3e1430(0xf9)]);return _0x355493?_0x355493[_0x3e1430(0x40a)]():(_0x46bc6e=this[_0x3e1430(0x3f8)]['getAllUnitsForType'](_0x49a6be[_0x3e1430(0xf9)])[_0x3e1430(0x451)](_0x33dd51=>!!_0x33dd51[_0x3e1430(0x32b)]()[_0x3e1430(0x486)][_0x7ed045]))==null?void 0x0:_0x46bc6e[_0x3e1430(0x40a)]();}[_0x327967(0x26c)](_0x4d9eb1){const _0x40267d=_0x327967;let _0x428096=this[_0x40267d(0x440)](_0x4d9eb1);_0x428096&&this[_0x40267d(0x44e)][_0x40267d(0x3fe)](_0x4d9eb1,_0x428096);}[_0x327967(0x47a)](_0x48839b){const _0x2c8271=_0x327967;this[_0x2c8271(0x3b2)][_0x2c8271(0x253)](_0x48839b),this['_tableBaseIds'][_0x2c8271(0x29b)]((_0x303975,_0x3c9389)=>{const _0x1f5272=_0x2c8271;_0x303975===_0x48839b&&(this[_0x1f5272(0x21c)]['delete'](_0x3c9389),Hr(this[_0x1f5272(0x3c5)],_0x3c9389+'\x1f'),Hr(this[_0x1f5272(0x162)],_0x3c9389+'\x1f'),Hr(this[_0x1f5272(0x485)],_0x3c9389+'\x1f'),this[_0x1f5272(0x44e)][_0x1f5272(0x253)](_0x3c9389));});}};Vr=X([Y(0x0,_0x5cc725),Y(0x1,_0x3a38b9)],Vr);function Hr(_0x30aaff,_0x435dc1){const _0x44ab5c=_0x327967;_0x30aaff[_0x44ab5c(0x29b)]((_0x5a607f,_0x41f5e7)=>{const _0x1f0bec=_0x44ab5c;_0x41f5e7[_0x1f0bec(0x2ad)](_0x435dc1)&&_0x30aaff['delete'](_0x41f5e7);});}function Ur(_0x9824a8,_0x4b4fbb){return _0x9824a8+'\x1f'+_0x4b4fbb;}function Wr(_0x393613,_0x3f7aa4){return _0x393613+'\x1f'+_0x3f7aa4;}function Gr(_0x55d0ad,_0x225969){return _0x55d0ad+'\x1f'+_0x225969;}const Kr=_0x1ada6c(_0x327967(0x3a7));let qr=class{constructor(_0x25c14a,_0x4cb0b5=Jr(),_0xbd9d8e={}){const _0x3854bf=_0x327967;this[_0x3854bf(0x1ae)]=_0x25c14a,this['_fieldRegistry']=_0x4cb0b5,this[_0x3854bf(0x34c)]=_0xbd9d8e,G(this,_0x3854bf(0x3cf),new W()),G(this,_0x3854bf(0x27e),new z());}[_0x327967(0x378)](_0x3edded,_0x21add9,_0x2df74f){const _0xda8acf=_0x327967;if(!this['_permissionService'][_0xda8acf(0x2c7)](_0x3edded[_0xda8acf(0x40a)]()))throw Error(_0xda8acf(0x3fc));_0x15f38a(_0x21add9),this[_0xda8acf(0x40d)](_0x3edded,this[_0xda8acf(0x3cf)]['createTable'](_0x3edded[_0xda8acf(0x32b)](),_0x21add9,_0x2df74f));}[_0x327967(0x48f)](_0x3896b3,_0x26afda,_0x832db1){const _0x17d7e3=_0x327967;if(!this['_permissionService'][_0x17d7e3(0x1d9)](_0x26afda))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20table.');this[_0x17d7e3(0x40d)](_0x3896b3,this[_0x17d7e3(0x3cf)][_0x17d7e3(0x48f)](_0x3896b3[_0x17d7e3(0x32b)](),_0x26afda,_0x832db1));}[_0x327967(0x277)](_0x3fbcca,_0x3c40a1){const _0x359455=_0x327967;if(!this[_0x359455(0x1ae)][_0x359455(0x258)](_0x3c40a1))throw Error(_0x359455(0x31f));let _0x57499b=He(_0x3fbcca[_0x359455(0x32b)](),_0x3c40a1);if(_0x57499b[_0x359455(0x1bf)]>0x0)throw Error(_0x359455(0x42b)+_0x57499b[_0x359455(0x412)](_0x52932b=>_0x52932b['tableId']+'.'+_0x52932b[_0x359455(0x173)])[_0x359455(0x3a1)](',\x20')+').');this[_0x359455(0x40d)](_0x3fbcca,this[_0x359455(0x3cf)]['deleteTable'](_0x3fbcca[_0x359455(0x32b)](),_0x3c40a1));}[_0x327967(0x154)](_0x380138,_0x32f5b1,_0x2991ce,_0x3ef390,_0x17045a){const _0x153608=_0x327967;this[_0x153608(0x40d)](_0x380138,this['createUpdateCellOp'](_0x380138,_0x32f5b1,_0x2991ce,_0x3ef390,_0x17045a));}[_0x327967(0x249)](_0xbd97cb,_0x2d9e45,_0x28fadc){const _0x53e8c0=_0x327967;this[_0x53e8c0(0x40d)](_0xbd97cb,this[_0x53e8c0(0x289)](_0xbd97cb,_0x2d9e45,_0x28fadc));}['createRecord'](_0x33729f,_0x5ece88,_0x26b52f){const _0x429798=_0x327967;this['_apply'](_0x33729f,this[_0x429798(0x1fb)](_0x33729f,_0x5ece88,_0x26b52f));}[_0x327967(0x3a0)](_0x3a6d2c,_0x548351,_0x1dd75b,_0x2d4f9a,_0x3ee6c1){const _0xda88f1=_0x327967;let _0x40923f=_0x3a6d2c[_0xda88f1(0x32b)](),_0x58482e=this[_0xda88f1(0x41b)](_0x40923f,_0x548351,_0x1dd75b,_0x2d4f9a,_0x3ee6c1),_0x1d4771=this[_0xda88f1(0x198)](_0x40923f,_0x548351,_0x1dd75b,{[_0x2d4f9a]:_0x58482e});return this['_factory'][_0xda88f1(0x249)](_0x40923f,_0x548351,[_0x1d4771]);}['createSetRecordValuesOp'](_0x301b6c,_0x4a9635,_0xc99672){const _0x910e2=_0x327967;let _0x14b36a=_0x301b6c['getSnapshot'](),_0x1a3ad2=_0xc99672[_0x910e2(0x412)](_0x34b017=>this['_withModifiedSystemValues'](_0x14b36a,_0x4a9635,_0x34b017['recordId'],{...Object[_0x910e2(0x49f)](Object[_0x910e2(0x209)](_0x34b017[_0x910e2(0x259)])['map'](([_0x3739dd,_0x22b036])=>[_0x3739dd,this['_normalizeCellValue'](_0x14b36a,_0x4a9635,_0x34b017[_0x910e2(0x345)],_0x3739dd,_0x22b036)]))}));return this[_0x910e2(0x3cf)]['setRecordValues'](_0x14b36a,_0x4a9635,_0x1a3ad2);}[_0x327967(0x1fb)](_0x30d1ff,_0x1747ce,_0x28605b){const _0x24b676=_0x327967;if(!this[_0x24b676(0x1ae)][_0x24b676(0x2b6)](_0x1747ce))throw Error(_0x24b676(0x452));let _0x24e409=_0x30d1ff[_0x24b676(0x32b)](),_0x5d9c1d=this[_0x24b676(0x43f)](_0x24e409[_0x24b676(0x486)][_0x1747ce]);return this[_0x24b676(0x3cf)][_0x24b676(0x3ab)](_0x24e409,_0x1747ce,this[_0x24b676(0x202)](_0x24e409,_0x1747ce,_0x28605b,_0x5d9c1d));}[_0x327967(0x3ad)](_0x392997,_0x280381,_0x15db8b){const _0x4859ce=_0x327967;if(!this[_0x4859ce(0x1ae)]['canCreateRecord'](_0x280381))throw Error(_0x4859ce(0x452));let _0x5d4ff0=_0x392997[_0x4859ce(0x32b)]();return I(_0x4859ce(0xe3),()=>{const _0x4b33a0=_0x4859ce;let _0x9bda83=this['_createNumberingAllocators'](_0x5d4ff0[_0x4b33a0(0x486)][_0x280381]);return this[_0x4b33a0(0x3cf)][_0x4b33a0(0x46e)](_0x5d4ff0,_0x280381,_0x15db8b[_0x4b33a0(0x412)](_0x2a80d6=>this[_0x4b33a0(0x202)](_0x5d4ff0,_0x280381,_0x2a80d6,_0x9bda83)));},{'existingRecords':Object[_0x4859ce(0x27a)](_0x5d4ff0[_0x4859ce(0x486)][_0x280381][_0x4859ce(0x1d7)])['length'],'records':_0x15db8b[_0x4859ce(0x1bf)]});}['createCreateFieldOp'](_0x530827,_0x5492e5,_0x14ba8c,_0x5bec47,_0x5b5cd2){const _0x4d96d4=_0x327967;if(!this[_0x4d96d4(0x1ae)][_0x4d96d4(0x22c)](_0x5492e5))throw Error(_0x4d96d4(0x490));let _0x5bbd76=_0x530827[_0x4d96d4(0x32b)]();if(this['_assertFieldDefinition'](_0x5bbd76,_0x14ba8c),_0x5bec47===0x0)throw Error(_0x4d96d4(0x157));let _0x15d73d=this[_0x4d96d4(0x3cf)][_0x4d96d4(0x24c)](_0x5bbd76,_0x5492e5,{'field':_0x14ba8c,'index':_0x5bec47,'viewIndexes':_0x5b5cd2}),_0x165097=this[_0x4d96d4(0x24e)](_0x5bbd76,_0x5492e5,_0x14ba8c);if(!_0x165097[_0x4d96d4(0x1bf)])return _0x15d73d;let _0x2ed1ee=this[_0x4d96d4(0x27e)]['applyOp'](_0x5bbd76,_0x15d73d);return R([_0x15d73d,this[_0x4d96d4(0x3cf)][_0x4d96d4(0x249)](_0x2ed1ee,_0x5492e5,_0x165097)]);}[_0x327967(0x33a)](_0x189199,_0x1bc39b,_0x3fcc11){const _0xd4ca0e=_0x327967;if(!this['_permissionService']['canDeleteRecord'](_0x1bc39b,_0x3fcc11))throw Error(_0xd4ca0e(0x1bd));this[_0xd4ca0e(0x40d)](_0x189199,this['_factory'][_0xd4ca0e(0x33a)](_0x189199[_0xd4ca0e(0x32b)](),_0x1bc39b,_0x3fcc11));}[_0x327967(0x11d)](_0x5a8e0d,_0x2cca9a,_0xd3fa8a,_0x10aaeb){const _0x3a03ca=_0x327967;if(!this[_0x3a03ca(0x1ae)]['canCreateRecord'](_0x2cca9a))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');this[_0x3a03ca(0x40d)](_0x5a8e0d,this[_0x3a03ca(0x3cf)][_0x3a03ca(0x11d)](_0x5a8e0d['getSnapshot'](),_0x2cca9a,_0xd3fa8a,{..._0x10aaeb,'values':{..._0x10aaeb[_0x3a03ca(0x259)],[_0x40fc9d]:_0x10aaeb['id']}}));}[_0x327967(0x19e)](_0x12185f,_0x3842ea,_0x3cc3c7,_0x1e0c10){const _0x5041fa=_0x327967;if(!this[_0x5041fa(0x1ae)][_0x5041fa(0x32a)](_0x3842ea,_0x3cc3c7))throw Error(_0x5041fa(0x430));this['_apply'](_0x12185f,this['_factory']['updateRecordOrder'](_0x12185f[_0x5041fa(0x32b)](),_0x3842ea,_0x3cc3c7,_0x1e0c10));}['createField'](_0x485bf3,_0x290b67,_0x18e3bf,_0x4d9cba,_0xdf233c){const _0x4f924c=_0x327967;this[_0x4f924c(0x40d)](_0x485bf3,this['createCreateFieldOp'](_0x485bf3,_0x290b67,_0x18e3bf,_0x4d9cba,_0xdf233c));}[_0x327967(0x3de)](_0x3aac4c,_0x40a384,_0x4c9733,_0x5a1e15){const _0x3e084d=_0x327967;var _0x4da998;if(!this[_0x3e084d(0x1ae)][_0x3e084d(0x285)](_0x40a384,_0x4c9733))throw Error(_0x3e084d(0x3b3));let _0x32f31a=_0x3aac4c['getSnapshot'](),_0x232c6f=(_0x4da998=_0x32f31a[_0x3e084d(0x486)][_0x40a384])==null?void 0x0:_0x4da998['fields'][_0x4c9733];if(!_0x232c6f||_0x4c9733===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x3e084d(0x30e)](_0x32f31a,{..._0x232c6f,..._0x5a1e15}),this[_0x3e084d(0x40d)](_0x3aac4c,this[_0x3e084d(0x3cf)][_0x3e084d(0x3de)](_0x32f31a,_0x40a384,_0x4c9733,_0x5a1e15));}[_0x327967(0x2c1)](_0x388ddb,_0xcdc46b,_0x55a8ef,_0x4de442){const _0xf45bfc=_0x327967;var _0x16f7aa;if(!this[_0xf45bfc(0x1ae)]['canEditField'](_0xcdc46b,_0x55a8ef))throw Error(_0xf45bfc(0x3b3));let _0x4be057=_0x388ddb[_0xf45bfc(0x32b)](),_0x418c8e=(_0x16f7aa=_0x4be057[_0xf45bfc(0x486)][_0xcdc46b])==null?void 0x0:_0x16f7aa[_0xf45bfc(0x305)][_0x55a8ef];if(!_0x418c8e||_0x55a8ef===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0xf45bfc(0x30e)](_0x4be057,{..._0x418c8e,..._0x4de442}),this[_0xf45bfc(0x40d)](_0x388ddb,this['_factory']['changeFieldType'](_0x4be057,_0xcdc46b,_0x55a8ef,_0x4de442));}[_0x327967(0x42f)](_0x36f6f8,_0x3df596,_0x388cb4){const _0x5b6963=_0x327967;var _0x2d6ea2;if(((_0x2d6ea2=_0x36f6f8[_0x5b6963(0x32b)]()['tables'][_0x3df596])==null?void 0x0:_0x2d6ea2[_0x5b6963(0x44a)])===_0x388cb4||_0x388cb4===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService']['canDeleteField'](_0x3df596,_0x388cb4))throw Error(_0x5b6963(0x187));this[_0x5b6963(0x40d)](_0x36f6f8,this[_0x5b6963(0x3cf)][_0x5b6963(0x42f)](_0x36f6f8[_0x5b6963(0x32b)](),_0x3df596,_0x388cb4));}[_0x327967(0x420)](_0xee6efb,_0x22d270,_0x5ec9ef,_0x406250){const _0x371975=_0x327967;if(!this['_permissionService']['canEditField'](_0x22d270,_0x5ec9ef))throw Error(_0x371975(0x3b3));if(_0x5ec9ef===_0x40fc9d||_0x406250['beforeFieldId']===_0x40fc9d)throw Error(_0x371975(0x2b5));this[_0x371975(0x40d)](_0xee6efb,this[_0x371975(0x3cf)][_0x371975(0x420)](_0xee6efb[_0x371975(0x32b)](),_0x22d270,_0x5ec9ef,_0x406250));}[_0x327967(0x3b7)](_0x3b4ee8,_0x176641,_0x52f28f,_0x5c3e37){const _0x239bec=_0x327967;if(!this[_0x239bec(0x1ae)][_0x239bec(0x177)](_0x176641,_0x52f28f['id']))throw Error(_0x239bec(0x1b2));this[_0x239bec(0x40d)](_0x3b4ee8,this['_factory'][_0x239bec(0x3b7)](_0x3b4ee8['getSnapshot'](),_0x176641,_0x52f28f,_0x5c3e37));}['renameView'](_0x4a0f6d,_0x3d1a87,_0x128ac9,_0x30e4a7){const _0x24e6b0=_0x327967;if(!this[_0x24e6b0(0x1ae)][_0x24e6b0(0x177)](_0x3d1a87,_0x128ac9))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x4a0f6d,this[_0x24e6b0(0x3cf)][_0x24e6b0(0x271)](_0x4a0f6d['getSnapshot'](),_0x3d1a87,_0x128ac9,_0x30e4a7));}[_0x327967(0x467)](_0xeec845,_0x1fabc6,_0x451bfa){const _0xda731f=_0x327967;if(!this['_permissionService'][_0xda731f(0x177)](_0x1fabc6,_0x451bfa))throw Error(_0xda731f(0x1b2));this[_0xda731f(0x40d)](_0xeec845,this['_factory'][_0xda731f(0x467)](_0xeec845['getSnapshot'](),_0x1fabc6,_0x451bfa));}[_0x327967(0x2dc)](_0x23d49f,_0x1fa7bb,_0x3ec027,_0xb48df8){const _0x2598b4=_0x327967;if(!this[_0x2598b4(0x1ae)][_0x2598b4(0x177)](_0x1fa7bb,_0x3ec027))throw Error(_0x2598b4(0x1b2));this[_0x2598b4(0x40d)](_0x23d49f,this[_0x2598b4(0x3cf)][_0x2598b4(0x2dc)](_0x23d49f[_0x2598b4(0x32b)](),_0x1fa7bb,_0x3ec027,_0xb48df8));}[_0x327967(0x18c)](_0x70c3e7,_0x4b1f75,_0x475615,_0x54b9a7){const _0x522290=_0x327967;if(!this[_0x522290(0x1ae)][_0x522290(0x177)](_0x4b1f75,_0x475615))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x522290(0x40d)](_0x70c3e7,this['_factory'][_0x522290(0x18c)](_0x70c3e7[_0x522290(0x32b)](),_0x4b1f75,_0x475615,_0x54b9a7));}[_0x327967(0x2e8)](_0x36c295,_0x14583e,_0x1c98dd,_0x41e2d3){const _0x26d66a=_0x327967;if(!this['_permissionService'][_0x26d66a(0x177)](_0x14583e,_0x1c98dd))throw Error(_0x26d66a(0x1b2));this[_0x26d66a(0x40d)](_0x36c295,this[_0x26d66a(0x3cf)][_0x26d66a(0x2e8)](_0x36c295['getSnapshot'](),_0x14583e,_0x1c98dd,_0x41e2d3));}['setViewSort'](_0x5d2f8b,_0x2aa171,_0x32b85a,_0x4c95d3){const _0x3dbe4b=_0x327967;if(!this[_0x3dbe4b(0x1ae)][_0x3dbe4b(0x177)](_0x2aa171,_0x32b85a))throw Error(_0x3dbe4b(0x1b2));this['_apply'](_0x5d2f8b,this[_0x3dbe4b(0x3cf)][_0x3dbe4b(0x2ae)](_0x5d2f8b[_0x3dbe4b(0x32b)](),_0x2aa171,_0x32b85a,_0x4c95d3));}[_0x327967(0x356)](_0x413e0f,_0x36ca6f,_0x1156e1,_0x5a1683){const _0x3170d=_0x327967;if(!this['_permissionService'][_0x3170d(0x177)](_0x36ca6f,_0x1156e1))throw Error(_0x3170d(0x1b2));this[_0x3170d(0x40d)](_0x413e0f,this[_0x3170d(0x3cf)][_0x3170d(0x356)](_0x413e0f[_0x3170d(0x32b)](),_0x36ca6f,_0x1156e1,_0x5a1683));}[_0x327967(0x326)](_0x2e9f98,_0x445f65,_0x14702b,_0x43f876,_0xeb974){const _0x2590a8=_0x327967;if(!this[_0x2590a8(0x1ae)][_0x2590a8(0x177)](_0x445f65,_0x14702b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2590a8(0x40d)](_0x2e9f98,this[_0x2590a8(0x3cf)]['setViewFieldVisible'](_0x2e9f98['getSnapshot'](),_0x445f65,_0x14702b,_0x43f876,_0xeb974));}[_0x327967(0x492)](_0x59236f,_0x50fe91,_0x6c8bfc,_0x4d7d10,_0x1046f5){const _0x517681=_0x327967;if(!this[_0x517681(0x1ae)][_0x517681(0x177)](_0x50fe91,_0x6c8bfc))throw Error(_0x517681(0x1b2));this[_0x517681(0x40d)](_0x59236f,this[_0x517681(0x3cf)][_0x517681(0x492)](_0x59236f[_0x517681(0x32b)](),_0x50fe91,_0x6c8bfc,_0x4d7d10,_0x1046f5));}['setViewFieldOrder'](_0x217341,_0x13d0cc,_0x406642,_0x489420,_0x5dc691){const _0x3bcc5b=_0x327967;if(!this[_0x3bcc5b(0x1ae)][_0x3bcc5b(0x177)](_0x13d0cc,_0x406642))throw Error(_0x3bcc5b(0x1b2));this[_0x3bcc5b(0x40d)](_0x217341,this['_factory'][_0x3bcc5b(0x25d)](_0x217341[_0x3bcc5b(0x32b)](),_0x13d0cc,_0x406642,_0x489420,_0x5dc691));}[_0x327967(0x40d)](_0xbd9d04,_0x5ba08a){const _0x3928b9=_0x327967;let _0xc067ae=_0xbd9d04[_0x3928b9(0x32b)]();_0xbd9d04[_0x3928b9(0x22b)](this[_0x3928b9(0x27e)]['applyOp'](_0xc067ae,_0x5ba08a));}[_0x327967(0x202)](_0x23a900,_0x4ff722,_0xed081d,_0x176952=this[_0x327967(0x43f)](_0x23a900['tables'][_0x4ff722])){const _0x547678=_0x327967;let _0x3a3138=_0x23a900[_0x547678(0x486)][_0x4ff722],_0x21b7c1=_0xed081d[_0x547678(0x463)]??_0xed081d['updatedBy']??this['_getCurrentUserId'](),_0x9c8402={..._0xed081d,'createdBy':_0xed081d['createdBy']??_0x21b7c1,'updatedBy':_0xed081d[_0x547678(0x2c9)]??_0x21b7c1,'values':{..._0xed081d[_0x547678(0x259)]}};return _0x9c8402[_0x547678(0x259)][_0x40fc9d]=_0x9c8402['id'],_0x3a3138[_0x547678(0x1f8)][_0x547678(0x29b)](_0x26a919=>{const _0x383d47=_0x547678;let _0x4e3f68=_0x3a3138['fields'][_0x26a919];if(_0x4e3f68&&_0x9c8402[_0x383d47(0x259)][_0x26a919]===void 0x0)switch(_0x4e3f68[_0x383d47(0x346)]){case _0x1013ad[_0x383d47(0x1d8)]:var _0x5b783c;_0x9c8402['values'][_0x26a919]=((_0x5b783c=_0x176952[_0x383d47(0x318)](_0x26a919))==null?void 0x0:_0x5b783c())??this[_0x383d47(0x199)](_0x3a3138,_0x26a919)();break;case _0x1013ad[_0x383d47(0x3dd)]:_0x9c8402[_0x383d47(0x463)]&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x9c8402['createdBy']);break;case _0x1013ad[_0x383d47(0x1d5)]:_0x9c8402[_0x383d47(0x2c9)]&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x9c8402[_0x383d47(0x2c9)]);break;case _0x1013ad[_0x383d47(0x483)]:_0x9c8402[_0x383d47(0x259)][_0x26a919]=B(_0x9c8402[_0x383d47(0x2f1)]);break;case _0x1013ad[_0x383d47(0xe4)]:_0x9c8402['values'][_0x26a919]=B(_0x9c8402[_0x383d47(0x1db)]);break;default:{let _0x25cd58=_0x4e3f68['defaultValue'];_0x25cd58!=null&&_0x25cd58!==''&&!(Array[_0x383d47(0x3fb)](_0x25cd58)&&_0x25cd58[_0x383d47(0x1bf)]===0x0)&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x25cd58);}}}),_0x9c8402;}[_0x327967(0x198)](_0x3b6062,_0x2e5e27,_0xdf0248,_0x381509){const _0x2331cb=_0x327967;var _0x1ad982,_0x51fd67;let _0x1cba2a=_0x3b6062[_0x2331cb(0x486)][_0x2e5e27],_0x15ee32=((_0x1ad982=(_0x51fd67=this[_0x2331cb(0x34c)])[_0x2331cb(0xfa)])==null?void 0x0:_0x1ad982[_0x2331cb(0x171)](_0x51fd67))??Date[_0x2331cb(0xfa)](),_0x3975ad=this[_0x2331cb(0x3b8)](),_0x9bb336={..._0x381509};return _0x1cba2a[_0x2331cb(0x1f8)][_0x2331cb(0x29b)](_0x1b5def=>{const _0x5626d5=_0x2331cb;let _0x50d8b8=_0x1cba2a[_0x5626d5(0x305)][_0x1b5def];_0x50d8b8&&(_0x50d8b8[_0x5626d5(0x346)]===_0x1013ad[_0x5626d5(0xe4)]&&(_0x9bb336[_0x1b5def]=B(_0x15ee32)),_0x50d8b8[_0x5626d5(0x346)]===_0x1013ad[_0x5626d5(0x1d5)]&&_0x3975ad&&(_0x9bb336[_0x1b5def]=_0x3975ad));}),{'recordId':_0xdf0248,'values':_0x9bb336,'recordPatch':{'updatedAt':_0x15ee32,..._0x3975ad?{'updatedBy':_0x3975ad}:{}}};}[_0x327967(0x24e)](_0xf0c386,_0x50d50d,_0x2d94fe){const _0x5d6079=_0x327967;let _0x228350=_0xf0c386['tables'][_0x50d50d];return!_0x228350||!Yr(_0x2d94fe)?[]:_0x2d94fe[_0x5d6079(0x346)]===_0x1013ad['Numbering']?this['_createNumberingFieldValuePatches'](_0x228350,_0x2d94fe['id']):Object[_0x5d6079(0x259)](_0x228350['records'])[_0x5d6079(0xeb)](_0x520aaa=>{let _0x519c61=this['_getSystemFieldValue'](_0x2d94fe,_0x520aaa);return _0x519c61===void 0x0?[]:[{'recordId':_0x520aaa['id'],'values':{[_0x2d94fe['id']]:_0x519c61}}];});}[_0x327967(0x2e2)](_0x4f23a8,_0x53972d){const _0x118c44=_0x327967;switch(_0x4f23a8[_0x118c44(0x346)]){case _0x1013ad[_0x118c44(0x3dd)]:return _0x53972d[_0x118c44(0x463)]??this[_0x118c44(0x3b8)]();case _0x1013ad[_0x118c44(0x1d5)]:return _0x53972d[_0x118c44(0x2c9)]??this[_0x118c44(0x3b8)]();case _0x1013ad[_0x118c44(0x483)]:return B(_0x53972d['createdAt']??Date[_0x118c44(0xfa)]());case _0x1013ad['UpdatedAt']:return B(_0x53972d['updatedAt']??Date['now']());default:return;}}[_0x327967(0x43f)](_0x5b0942){const _0x4f9752=_0x327967;let _0x26d061=new Map();return _0x5b0942&&_0x5b0942[_0x4f9752(0x1f8)]['forEach'](_0x16e678=>{const _0x5d0c00=_0x4f9752;let _0x4794be=_0x5b0942[_0x5d0c00(0x305)][_0x16e678];(_0x4794be==null?void 0x0:_0x4794be[_0x5d0c00(0x346)])===_0x1013ad['Numbering']&&_0x26d061[_0x5d0c00(0x3fe)](_0x16e678,this[_0x5d0c00(0x199)](_0x5b0942,_0x16e678));}),_0x26d061;}['_createNumberingAllocator'](_0x30439c,_0x419208){const _0x48237d=_0x327967;let _0x17a419=Object[_0x48237d(0x259)](_0x30439c['records'])[_0x48237d(0x3d6)]((_0x7c7eef,_0x50430f)=>{const _0x1a73a0=_0x48237d;let _0x2ccea7=Number(_0x50430f[_0x1a73a0(0x259)][_0x419208]);return Number['isFinite'](_0x2ccea7)?Math[_0x1a73a0(0x31a)](_0x7c7eef,_0x2ccea7):_0x7c7eef;},0x0);return()=>String(++_0x17a419);}[_0x327967(0x1ed)](_0x1fb1df,_0x2ce128){const _0x487b69=_0x327967;let _0x5c3152=this[_0x487b69(0x211)](_0x1fb1df),_0x3f8785=this[_0x487b69(0x199)](_0x1fb1df,_0x2ce128);return _0x5c3152[_0x487b69(0xeb)](_0x8bc6d7=>this[_0x487b69(0x30b)](_0x8bc6d7[_0x487b69(0x259)][_0x2ce128])?[]:[{'recordId':_0x8bc6d7['id'],'values':{[_0x2ce128]:_0x3f8785()}}]);}[_0x327967(0x211)](_0x54c7f3){const _0x17ccda=_0x327967;var _0x545883;let _0x3ada25=Object[_0x17ccda(0x259)](_0x54c7f3[_0x17ccda(0x1d7)]),_0x17fc94=new Map(_0x3ada25[_0x17ccda(0x412)](_0x34e88b=>[_0x34e88b['id'],_0x34e88b])),_0x5dfc9e=[],_0xe685f7=new Set();(_0x545883=_0x54c7f3['recordOrder'])==null||_0x545883[_0x17ccda(0x29b)](_0x3a5f1e=>{const _0x2213c3=_0x17ccda;let _0x32ae67=_0x17fc94[_0x2213c3(0x318)](_0x3a5f1e);_0x32ae67&&(_0x5dfc9e[_0x2213c3(0x161)](_0x32ae67),_0xe685f7[_0x2213c3(0x12e)](_0x3a5f1e));});let _0x34dc24=_0x3ada25[_0x17ccda(0x1be)](_0x9c26a6=>!_0xe685f7['has'](_0x9c26a6['id']))[_0x17ccda(0x460)]((_0x308b29,_0x14c3b5)=>String(_0x308b29[_0x17ccda(0x44c)]??_0x308b29['id'])['localeCompare'](String(_0x14c3b5[_0x17ccda(0x44c)]??_0x14c3b5['id']))||_0x308b29['id'][_0x17ccda(0x3a4)](_0x14c3b5['id']));return[..._0x5dfc9e,..._0x34dc24];}[_0x327967(0x30b)](_0x41f844){const _0x37d465=_0x327967;return _0x41f844!=null&&_0x41f844!==''&&!(Array['isArray'](_0x41f844)&&_0x41f844[_0x37d465(0x1bf)]===0x0);}['_getCurrentUserId'](){const _0x166195=_0x327967;var _0x520788,_0x250fed,_0x2f7df5,_0x2e900d;return((_0x520788=(_0x250fed=this[_0x166195(0x34c)])[_0x166195(0x416)])==null?void 0x0:_0x520788[_0x166195(0x171)](_0x250fed))??((_0x2f7df5=(_0x2e900d=this['_runtimeContext'])[_0x166195(0x29a)])==null||(_0x2f7df5=_0x2f7df5[_0x166195(0x171)](_0x2e900d))==null?void 0x0:_0x2f7df5[_0x166195(0x3f5)])??void 0x0;}[_0x327967(0x41b)](_0x2cf7e9,_0x124dcd,_0x1c0a1d,_0x29421c,_0xe80862){const _0x5acc9c=_0x327967;var _0x10d164;if(!this[_0x5acc9c(0x1ae)]['canEditCell'](_0x124dcd,_0x1c0a1d,_0x29421c))throw Error(_0x5acc9c(0x383));let _0x33d094=(_0x10d164=_0x2cf7e9[_0x5acc9c(0x486)][_0x124dcd])==null?void 0x0:_0x10d164[_0x5acc9c(0x305)][_0x29421c];if(!_0x33d094)throw Error(_0x5acc9c(0x2fe)+_0x29421c+_0x5acc9c(0x223));let _0x186af7=this[_0x5acc9c(0x1cc)][_0x5acc9c(0x318)](_0x33d094[_0x5acc9c(0x346)]);if(_0x33d094[_0x5acc9c(0x397)]||_0x33d094['system']||!_0x186af7['getCapabilities'](_0x33d094)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0xd6a7dc=_0x186af7[_0x5acc9c(0x2ec)](_0xe80862,_0x33d094),_0x41ea91=_0x186af7[_0x5acc9c(0x186)](_0xd6a7dc,_0x33d094);if(!_0x41ea91[_0x5acc9c(0x48b)])throw Error(_0x41ea91[_0x5acc9c(0x3bf)]??_0x5acc9c(0x1b0));let _0x4d11f6=_0x33d094[_0x5acc9c(0x346)]===_0x1013ad['RecordLink']?Ve(_0x2cf7e9,_0x33d094,_0xd6a7dc):{'valid':!0x0};if(!_0x4d11f6[_0x5acc9c(0x48b)])throw Error(_0x4d11f6[_0x5acc9c(0x3bf)]??_0x5acc9c(0x28f));return _0xd6a7dc;}[_0x327967(0x30e)](_0xca1584,_0x41264a){const _0x33774b=_0x327967;if(_0x41264a['id']===_0x40fc9d||_0x41264a[_0x33774b(0x346)]===_0x1013ad[_0x33774b(0x212)]||_0x4fd5e0(_0x41264a[_0x33774b(0x158)]))throw Error(_0x33774b(0x1a8));let _0x3c410b=Be(_0xca1584,_0x41264a);if(!_0x3c410b['valid'])throw Error(_0x3c410b[_0x33774b(0x3bf)]??'[BaseCommandService]:\x20invalid\x20field\x20definition.');}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0xcbd066=_0x327967;let _0x59780f=new hr();return zn()[_0xcbd066(0x29b)](_0x373352=>_0x59780f[_0xcbd066(0x263)](_0x373352)),_0x59780f;}function Yr(_0x4a9fc6){const _0x46b5d0=_0x327967;return _0x4a9fc6['type']===_0x1013ad[_0x46b5d0(0x1d8)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad['CreatedBy']||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0x1d5)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0x483)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0xe4)];}const Xr=new Set([_0x1013ad[_0x327967(0x3e1)],_0x1013ad[_0x327967(0x20a)],_0x1013ad[_0x327967(0x205)]]);function Zr(_0x1c06b2){const _0x3155eb=_0x327967;let _0x26d094=_0x1c06b2['fields'][_0x1c06b2[_0x3155eb(0x44a)]];if((!_0x26d094||_0x26d094['system']!==!0x0&&_0x26d094['id']['toLowerCase']()!=='id'&&_0x26d094[_0x3155eb(0x158)][_0x3155eb(0x140)]()[_0x3155eb(0x3af)]()!=='id')&&_0x26d094)return _0x26d094['id'];for(let _0xabd09c of _0x1c06b2[_0x3155eb(0x1f8)]){let _0x4126c3=_0x1c06b2[_0x3155eb(0x305)][_0xabd09c];if(_0x4126c3&&_0x4126c3['id']!==_0x1c06b2[_0x3155eb(0x44a)]&&_0x4126c3[_0x3155eb(0x272)]!==!0x0&&_0x4126c3[_0x3155eb(0x346)]!==_0x1013ad['RecordId'])return _0x4126c3['id'];}return _0x1c06b2[_0x3155eb(0x44a)];}function Qr(_0x196d1d,_0x42890c=[],_0x1e8e08=0x5){const _0x1000ec=_0x327967;let _0x12f9d=new Set(_0x42890c[_0x1000ec(0x1be)](_0x5cbe94=>!!_0x5cbe94)),_0x2ad5f0=[],_0x4410c9=[];for(let _0x24bbba of _0x196d1d[_0x1000ec(0x1f8)]){let _0x2a3d81=_0x196d1d['fields'][_0x24bbba];_0x2a3d81&&_0x2a3d81[_0x1000ec(0x272)]!==!0x0&&_0x2a3d81[_0x1000ec(0x346)]!==_0x1013ad[_0x1000ec(0x212)]&&!_0x12f9d[_0x1000ec(0x103)](_0x2a3d81['id'])&&(Xr['has'](_0x2a3d81[_0x1000ec(0x346)])?_0x2ad5f0:_0x4410c9)['push'](_0x2a3d81['id']);}return[..._0x2ad5f0,..._0x4410c9]['slice'](0x0,_0x1e8e08);}function $r(){const _0x585a1f=_0x327967;return[{'type':_0x3dd96c[_0x585a1f(0xdc)],'i18nKey':_0x585a1f(0x3e9),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5f2cbd=_0x585a1f;throw Error(_0x5f2cbd(0x2e0));}},{'type':_0x3dd96c[_0x585a1f(0x4a2)],'i18nKey':_0x585a1f(0x1f7),'createDefaultConfig':_0x56deb7=>{const _0x291c99=_0x585a1f;let _0x55855e=ei(_0x56deb7);return{'groupFieldId':_0x55855e,'coverFieldId':null,'cardLayout':_0x291c99(0x436),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x56deb7[_0x291c99(0x44a)],'fieldIds':Qr(_0x56deb7,[_0x56deb7[_0x291c99(0x44a)],_0x55855e])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x456063=_0x585a1f;throw Error(_0x456063(0x155));}},{'type':_0x3dd96c['Calendar'],'i18nKey':_0x585a1f(0x30c),'createDefaultConfig':_0x573eb5=>{const _0x4b7152=_0x585a1f;let _0x285a98=ti(_0x573eb5);return{'startDateFieldId':_0x285a98,'endDateFieldId':ni(_0x573eb5,_0x285a98),'titleFieldId':_0x573eb5[_0x4b7152(0x44a)],'mode':_0x4b7152(0x3ee),'timeslotSize':_0x4b7152(0x1df),'timeZone':_0x4b7152(0xea),'displayColor':{'type':_0x4b7152(0x26b),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x3dd96c['Gantt'],'i18nKey':_0x585a1f(0x1e8),'createDefaultConfig':_0x1ff410=>{const _0x425e26=_0x585a1f;let _0x251ed8=ti(_0x1ff410);return{'startDateFieldId':_0x251ed8,'endDateFieldId':ni(_0x1ff410,_0x251ed8)??_0x251ed8,'titleFieldId':_0x1ff410[_0x425e26(0x44a)],'scale':_0x425e26(0x3ee),'showTodayLine':!0x0,'displayColor':{'type':_0x425e26(0x26b),'color':_0x425e26(0x1e6)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x522d9d=_0x585a1f;throw Error(_0x522d9d(0x2fb));}},{'type':_0x3dd96c[_0x585a1f(0x386)],'i18nKey':_0x585a1f(0x120),'createDefaultConfig':_0x25c942=>{const _0x27badc=_0x585a1f;let _0x2c416f=Zr(_0x25c942);return{'coverFieldId':null,'cardLayout':_0x27badc(0x436),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x2c416f,'coverFieldId':null,'fieldIds':Qr(_0x25c942,[_0x2c416f,_0x25c942[_0x27badc(0x44a)]])},'cardSize':_0x27badc(0x1df)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4a5e0d=_0x585a1f;throw Error(_0x4a5e0d(0x368));}}];}function ei(_0x1acce8){const _0xb599f0=_0x327967;var _0x40e1b3,_0x2acc5b,_0x5a7b32;let _0x265078=_0x1acce8[_0xb599f0(0x1f8)][_0xb599f0(0x412)](_0x11672b=>_0x1acce8['fields'][_0x11672b])['filter'](_0x30b0ab=>!!_0x30b0ab);return((_0x40e1b3=_0x265078[_0xb599f0(0x451)](_0x1f33c1=>_0x1f33c1[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x413)]||_0x1f33c1['type']===_0x1013ad[_0xb599f0(0x190)]||_0x1f33c1[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0xf7)]))==null?void 0x0:_0x40e1b3['id'])??((_0x2acc5b=_0x265078['find'](_0x4e5aec=>_0x4e5aec[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x2cb)]))==null?void 0x0:_0x2acc5b['id'])??((_0x5a7b32=_0x265078[_0xb599f0(0x451)](_0x55299e=>_0x55299e['type']===_0x1013ad['Date']||_0x55299e[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x483)]||_0x55299e[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0xe4)]))==null?void 0x0:_0x5a7b32['id'])??_0x1acce8[_0xb599f0(0x44a)];}function ti(_0x38bfbe){const _0x6e98e9=_0x327967;var _0x273d5d;return((_0x273d5d=_0x38bfbe[_0x6e98e9(0x1f8)][_0x6e98e9(0x412)](_0x310405=>_0x38bfbe[_0x6e98e9(0x305)][_0x310405])[_0x6e98e9(0x451)](ri))==null?void 0x0:_0x273d5d['id'])??'';}function ni(_0x427ebf,_0x46bbb4){const _0xd73e3e=_0x327967;var _0x142c85;return(_0x142c85=_0x427ebf['fieldOrder'][_0xd73e3e(0x412)](_0x4b0ec7=>_0x427ebf[_0xd73e3e(0x305)][_0x4b0ec7])[_0xd73e3e(0x451)](_0x53229d=>ri(_0x53229d)&&_0x53229d['id']!==_0x46bbb4))==null?void 0x0:_0x142c85['id'];}function ri(_0x3df0eb){const _0x3c44e4=_0x327967;return!!_0x3df0eb&&_0x3df0eb['type']===_0x1013ad[_0x3c44e4(0x2b2)]&&_0x3df0eb['readonly']!==!0x0&&_0x3df0eb[_0x3c44e4(0x272)]!==!0x0;}const ii=_0x1ada6c(_0x327967(0x12a)),ai=new Set([_0x1013ad[_0x327967(0x302)],_0x1013ad[_0x327967(0x295)],_0x1013ad[_0x327967(0x3e1)],_0x1013ad[_0x327967(0x20a)],_0x1013ad['Date'],_0x1013ad[_0x327967(0x483)],_0x1013ad['UpdatedAt'],_0x1013ad['Checkbox']]),oi=0x5265c00;let si=class extends _0x4de356{constructor(_0x16ea4a){const _0x5f564d=_0x327967;super(),this[_0x5f564d(0x1cc)]=_0x16ea4a,G(this,'_views',new Map()),G(this,_0x5f564d(0x1e0),new WeakMap()),G(this,_0x5f564d(0x1a0),new Map()),G(this,_0x5f564d(0x2aa),new Map()),G(this,_0x5f564d(0x4a7),new Map()),G(this,_0x5f564d(0x445),new Map()),G(this,_0x5f564d(0x13e),0x0),G(this,'_tableRevisions',new Map()),G(this,_0x5f564d(0x26d),new Map()),G(this,_0x5f564d(0x340),new Map()),G(this,_0x5f564d(0x426),new Map());}['registerView'](_0x991379){const _0x1f6ef6=_0x327967;return this['_views'][_0x1f6ef6(0x3fe)](_0x991379[_0x1f6ef6(0x346)],_0x991379),_0x569b00(()=>this[_0x1f6ef6(0x122)][_0x1f6ef6(0x253)](_0x991379[_0x1f6ef6(0x346)]));}[_0x327967(0x46d)](_0x2cabce,_0x14ee7b,_0x1e1008){const _0x1117d0=_0x327967;var _0x113cf3,_0x16af1c,_0x6ff419;return I(_0x1117d0(0x12d),()=>{const _0x5161e6=_0x1117d0;let _0x1ae247=this[_0x5161e6(0x398)](_0x2cabce,_0x14ee7b,_0x1e1008);if(_0x1ae247)return _0x1ae247;let _0x5b71cc=_0x2cabce[_0x5161e6(0x486)][_0x14ee7b],_0x509919=_0x5b71cc==null?void 0x0:_0x5b71cc[_0x5161e6(0x1eb)][_0x1e1008];if(!_0x5b71cc||!_0x509919)return this[_0x5161e6(0x317)](_0x2cabce,_0x14ee7b,_0x1e1008,{'type':'invalid','viewType':(_0x509919==null?void 0x0:_0x509919[_0x5161e6(0x346)])??_0x3dd96c[_0x5161e6(0xdc)],'reason':_0x5161e6(0x1bc)});let _0x26f717;switch(_0x509919['type']){case _0x3dd96c[_0x5161e6(0xdc)]:_0x26f717=this['_buildGrid'](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x376)]:_0x26f717=this['_buildGantt'](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x4a2)]:_0x26f717=this[_0x5161e6(0x180)](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x322)]:_0x26f717=this['_buildCalendar'](_0x5b71cc,_0x509919);break;case _0x3dd96c['Gallery']:_0x26f717=this['_buildGallery'](_0x5b71cc,_0x509919);break;default:_0x26f717={'type':_0x5161e6(0x461),'viewType':_0x509919['type'],'reason':'missingField'};}return this['_setCachedProjection'](_0x2cabce,_0x14ee7b,_0x1e1008,_0x26f717);},{'tableId':_0x14ee7b,'viewId':_0x1e1008,'viewType':(_0x113cf3=_0x2cabce['tables'][_0x14ee7b])==null||(_0x113cf3=_0x113cf3['views'][_0x1e1008])==null?void 0x0:_0x113cf3[_0x1117d0(0x346)],'records':((_0x16af1c=_0x2cabce['tables'][_0x14ee7b])==null||(_0x16af1c=_0x16af1c[_0x1117d0(0x1e2)])==null?void 0x0:_0x16af1c[_0x1117d0(0x1bf)])??Object[_0x1117d0(0x27a)](((_0x6ff419=_0x2cabce[_0x1117d0(0x486)][_0x14ee7b])==null?void 0x0:_0x6ff419[_0x1117d0(0x1d7)])??{})[_0x1117d0(0x1bf)]});}[_0x327967(0x34e)](_0x2375ed,_0x5458dc,_0x3735a4){const _0x2035f1=_0x327967;var _0xd45ebd,_0x199197,_0x1137a6;let _0x156b0b=_0x2375ed['tables'][_0x5458dc],_0x16f968=_0x156b0b==null?void 0x0:_0x156b0b[_0x2035f1(0x1eb)][_0x3735a4];if(!_0x156b0b||!_0x16f968)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x3735a4+'\x22.');let _0x4426be=_0x2b69f0=>!!_0x156b0b[_0x2035f1(0x305)][_0x2b69f0],_0x3c08c3={..._0x16f968,'filter':_0x16f968[_0x2035f1(0x1be)]?{..._0x16f968[_0x2035f1(0x1be)],'conditions':_0x16f968[_0x2035f1(0x1be)][_0x2035f1(0x39c)][_0x2035f1(0x1be)](_0x10c448=>_0x4426be(_0x10c448[_0x2035f1(0x173)]))}:_0x16f968['filter'],'sort':(_0xd45ebd=_0x16f968[_0x2035f1(0x460)])==null?void 0x0:_0xd45ebd['filter'](_0x2f16dd=>_0x4426be(_0x2f16dd[_0x2035f1(0x173)])),'group':(_0x199197=_0x16f968[_0x2035f1(0x16a)])==null?void 0x0:_0x199197[_0x2035f1(0x1be)](_0x2bbc88=>_0x4426be(_0x2bbc88[_0x2035f1(0x173)])),'fieldOrder':(_0x1137a6=_0x16f968[_0x2035f1(0x1f8)])==null?void 0x0:_0x1137a6[_0x2035f1(0x1be)](_0x4426be),'fieldSettings':Object[_0x2035f1(0x49f)](Object[_0x2035f1(0x209)](_0x16f968['fieldSettings']??{})['filter'](([_0x10d4ab])=>_0x4426be(_0x10d4ab)))};if(_0x3c08c3[_0x2035f1(0x346)]===_0x2035f1(0x2c4)){var _0x3cf382;let _0x280f0c=_0x3c08c3[_0x2035f1(0x174)]??{},_0x184173=this[_0x2035f1(0x491)](_0x156b0b,_0x3c08c3),_0x3950ce=this[_0x2035f1(0x194)](_0x156b0b,(_0x3cf382=_0x280f0c[_0x2035f1(0x31c)])==null?void 0x0:_0x3cf382[_0x2035f1(0x19b)]);_0x3c08c3['config']={..._0x280f0c,'groupFieldId':_0x184173??_0x280f0c['groupFieldId'],'coverFieldId':this[_0x2035f1(0xdf)](_0x156b0b,_0x280f0c),'cardLayout':_0x280f0c['cardLayout']===_0x2035f1(0x13d)?_0x2035f1(0x13d):_0x2035f1(0x436),'showFieldNames':_0x280f0c[_0x2035f1(0x37b)]!==!0x1,'fieldSettings':Object[_0x2035f1(0x49f)](Object[_0x2035f1(0x209)](_0x280f0c[_0x2035f1(0x105)]??{})[_0x2035f1(0x1be)](([_0x47453f])=>_0x4426be(_0x47453f))),'columnSettings':_0x280f0c[_0x2035f1(0x2a4)]??{},'card':{..._0x280f0c[_0x2035f1(0x31c)]??{},'titleFieldId':_0x3950ce,'fieldIds':this[_0x2035f1(0x304)](_0x156b0b,_0x3c08c3,_0x184173??'',_0x3950ce)}};}return{'repaired':JSON[_0x2035f1(0xf8)](_0x3c08c3)!==JSON['stringify'](_0x16f968),'view':_0x3c08c3};}['invalidateByOp'](){const _0x38fbfa=_0x327967;this[_0x38fbfa(0x13e)]++;}[_0x327967(0x3b0)](_0x564027,_0x54ddd1,_0x562a1c){const _0xcb25bd=_0x327967;let _0x255860=this[_0xcb25bd(0x351)](_0x564027)+0x1;this[_0xcb25bd(0x26d)][_0xcb25bd(0x3fe)](_0x564027,_0x255860);let _0x237acc=this[_0xcb25bd(0x340)][_0xcb25bd(0x318)](_0x564027)??[];_0x237acc['push']({'revision':_0x255860,'recordId':_0x54ddd1,'fieldId':_0x562a1c}),this[_0xcb25bd(0x340)]['set'](_0x564027,_0x237acc);}[_0x327967(0x353)](_0x35bd8b,_0x3d4fd4){this['_bumpTableRevision'](_0x35bd8b);}[_0x327967(0x203)](_0x4da40f,_0x337496){const _0x418936=_0x327967;this[_0x418936(0x426)][_0x418936(0x3fe)](this['_viewRevisionKey'](_0x4da40f,_0x337496),this[_0x418936(0x32d)](_0x4da40f,_0x337496)+0x1);}[_0x327967(0x398)](_0x31c4db,_0x482e22,_0x560352){const _0x4ab548=_0x327967;var _0x4e6e5f;let _0x1c21f2=(_0x4e6e5f=this[_0x4ab548(0x1e0)][_0x4ab548(0x318)](_0x31c4db))==null?void 0x0:_0x4e6e5f[_0x4ab548(0x318)](this[_0x4ab548(0x119)](_0x482e22,_0x560352));return _0x1c21f2&&_0x1c21f2[_0x4ab548(0x172)]===this[_0x4ab548(0x13e)]&&_0x1c21f2[_0x4ab548(0x145)]===this[_0x4ab548(0x114)](_0x482e22)&&_0x1c21f2[_0x4ab548(0x37d)]===this['_getCellRevision'](_0x482e22)&&_0x1c21f2[_0x4ab548(0x1c1)]===this[_0x4ab548(0x32d)](_0x482e22,_0x560352)?_0x1c21f2[_0x4ab548(0x3e8)]:null;}[_0x327967(0x317)](_0x18431e,_0x8dbf97,_0x444b9d,_0x2d7e0c){const _0x30a155=_0x327967;let _0x52ca84=this['_projectionCache'][_0x30a155(0x318)](_0x18431e);return _0x52ca84||(_0x52ca84=new Map(),this[_0x30a155(0x1e0)]['set'](_0x18431e,_0x52ca84)),_0x52ca84[_0x30a155(0x3fe)](this[_0x30a155(0x119)](_0x8dbf97,_0x444b9d),{'projection':_0x2d7e0c,'globalRevision':this[_0x30a155(0x13e)],'tableRevision':this['_getTableRevision'](_0x8dbf97),'cellRevision':this[_0x30a155(0x351)](_0x8dbf97),'viewRevision':this['_getViewRevision'](_0x8dbf97,_0x444b9d)}),_0x2d7e0c;}[_0x327967(0x3f9)](_0x56b118){const _0x4b2d46=_0x327967;this['_tableRevisions'][_0x4b2d46(0x3fe)](_0x56b118,this[_0x4b2d46(0x114)](_0x56b118)+0x1);}[_0x327967(0x114)](_0x4fb33d){const _0x5213b2=_0x327967;return this[_0x5213b2(0x176)][_0x5213b2(0x318)](_0x4fb33d)??0x0;}['_getCellRevision'](_0x9e5940){const _0xfbfaa1=_0x327967;return this['_cellRevisions'][_0xfbfaa1(0x318)](_0x9e5940)??0x0;}['_getViewRevision'](_0x2582a6,_0x2b3572){const _0x1af731=_0x327967;return this[_0x1af731(0x426)][_0x1af731(0x318)](this[_0x1af731(0x293)](_0x2582a6,_0x2b3572))??0x0;}[_0x327967(0x119)](_0x2ff633,_0x3c5e3c){return _0x2ff633+'\x00'+_0x3c5e3c;}[_0x327967(0x396)](_0x1b5941,_0x1a9fdc){const _0xee4260=_0x327967;return _0x1b5941+'\x00'+this[_0xee4260(0x433)](_0x1a9fdc);}['_groupsCacheKey'](_0x5b4c44,_0x542257,_0x56338d){return _0x5b4c44+'\x00'+this['_rowTransformCacheSegment'](_0x542257)+'\x00'+this['_groupConfigCacheSegment'](_0x56338d);}[_0x327967(0x433)](_0x52e851){const _0x44099c=_0x327967;return _0x52e851?mi({'filter':di(_0x52e851[_0x44099c(0x1be)]),'sort':pi(_0x52e851[_0x44099c(0x460)])}):_0x44099c(0x49a);}[_0x327967(0x309)](_0x4926ab){const _0x5cf236=_0x327967;return mi(_0x4926ab[_0x5cf236(0x412)](_0x42fa1c=>({'fieldId':_0x42fa1c['fieldId'],'direction':_0x42fa1c[_0x5cf236(0x429)]??null})));}[_0x327967(0x293)](_0x342f88,_0xfc2478){return _0x342f88+'\x00'+_0xfc2478;}[_0x327967(0x1a5)](_0x135321,_0x4117d1){const _0x3cc77d=_0x327967;var _0xf660b8;let _0x2d2325=Je(_0x135321),_0x17863c=this[_0x3cc77d(0x183)](_0x135321,_0x4117d1),_0x455543=(_0xf660b8=_0x4117d1['filter'])!=null&&_0xf660b8[_0x3cc77d(0x39c)][_0x3cc77d(0x1bf)]?this[_0x3cc77d(0x183)](_0x135321,{..._0x4117d1,'filter':null}):_0x17863c,_0x4e7a1b=nt(this[_0x3cc77d(0x291)](_0x135321,_0x2d2325,_0x4117d1['id'],_0x455543[_0x3cc77d(0x412)](_0x5f4673=>_0x5f4673[_0x3cc77d(0x345)])),_0x455543,new Set(_0x17863c['map'](_0x4106f7=>_0x4106f7[_0x3cc77d(0x345)])));return{'type':_0x3dd96c[_0x3cc77d(0xdc)],'fields':this[_0x3cc77d(0x457)](_0x135321,_0x4117d1),'rows':_0x4e7a1b[_0x3cc77d(0x26f)],'groups':this[_0x3cc77d(0x106)](_0x135321,_0x4117d1,_0x4e7a1b[_0x3cc77d(0x26f)],_0x4e7a1b[_0x3cc77d(0xec)]),'hierarchy':_0x4e7a1b[_0x3cc77d(0xec)],'frozenFieldCount':typeof _0x4117d1[_0x3cc77d(0x174)][_0x3cc77d(0x2c6)]==_0x3cc77d(0x218)?_0x4117d1[_0x3cc77d(0x174)][_0x3cc77d(0x2c6)]:0x0};}[_0x327967(0x291)](_0x3aa7c0,_0x4107e1,_0x217ca6,_0x54da76){const _0x2a844e=_0x327967;let _0x5a75d5=_0x3aa7c0['id']+'\x00'+_0x4107e1+'\x00'+_0x217ca6,_0x896cc9=this[_0x2a844e(0x351)](_0x3aa7c0['id']),_0x366c87=this['_hierarchyIndexCache'][_0x2a844e(0x318)](_0x5a75d5);if(_0x366c87&&_0x366c87[_0x2a844e(0x172)]===this[_0x2a844e(0x13e)]&&_0x366c87[_0x2a844e(0x145)]===this[_0x2a844e(0x114)](_0x3aa7c0['id'])&&_0x366c87[_0x2a844e(0x437)][_0x2a844e(0x1bf)]===_0x54da76[_0x2a844e(0x1bf)]&&_0x366c87[_0x2a844e(0x437)][_0x2a844e(0x44b)]((_0x2c6816,_0x4975d9)=>_0x2c6816===_0x54da76[_0x4975d9])){if(_0x366c87['cellRevision']===_0x896cc9&&_0x366c87['table']===_0x3aa7c0)return _0x366c87[_0x2a844e(0x1b6)];if(!this[_0x2a844e(0x27b)](_0x3aa7c0['id'],_0x366c87[_0x2a844e(0x37d)],_0x896cc9,new Set([_0x4107e1])))return this[_0x2a844e(0x445)]['set'](_0x5a75d5,{..._0x366c87,'table':_0x3aa7c0,'cellRevision':_0x896cc9}),_0x366c87[_0x2a844e(0x1b6)];}let _0x4ba4b7=tt(_0x3aa7c0,_0x4107e1,_0x54da76);return this[_0x2a844e(0x445)][_0x2a844e(0x3fe)](_0x5a75d5,{'table':_0x3aa7c0,'index':_0x4ba4b7,'orderedRecordIds':_0x54da76,'globalRevision':this[_0x2a844e(0x13e)],'tableRevision':this[_0x2a844e(0x114)](_0x3aa7c0['id']),'cellRevision':_0x896cc9}),_0x4ba4b7;}[_0x327967(0x106)](_0x1505a3,_0x2dff4c,_0x487e71,_0x468a8b){const _0x16b2e5=_0x327967;var _0x6d53d7;if(!((_0x6d53d7=_0x2dff4c[_0x16b2e5(0x16a)])!=null&&_0x6d53d7[_0x16b2e5(0x1bf)]))return[];let _0x323aba=new Map(_0x487e71[_0x16b2e5(0x412)](_0x4a431d=>[_0x4a431d[_0x16b2e5(0x345)],_0x4a431d])),_0x5a8785=_0x468a8b[_0x16b2e5(0x32f)]['flatMap'](_0x47a9d0=>{const _0x13233b=_0x16b2e5;let _0x1206ee=_0x323aba[_0x13233b(0x318)](_0x47a9d0);return _0x1206ee?[_0x1206ee]:[];}),_0x358461=this[_0x16b2e5(0x297)](_0x1505a3,_0x2dff4c,_0x5a8785),_0x35a939=new Map(_0x468a8b['orderedRecordIds']['map']((_0x700bdd,_0x93f37d)=>[_0x700bdd,_0x93f37d])),_0x1474f6=_0x359c2b=>{const _0x1bb897=_0x16b2e5;let _0x16b836=_0x468a8b[_0x1bb897(0x439)][_0x359c2b],_0x13a6c2=_0x35a939[_0x1bb897(0x318)](_0x359c2b)??-0x1;return _0x13a6c2<0x0||!_0x16b836?[]:_0x468a8b[_0x1bb897(0x437)][_0x1bb897(0x348)](_0x13a6c2,_0x16b836[_0x1bb897(0x2cd)]+0x1);},_0xe01da7=_0x5b28ba=>{const _0x572dcb=_0x16b2e5;var _0x3db34d,_0x1802ee;return{..._0x5b28ba,'recordIds':(_0x3db34d=_0x5b28ba[_0x572dcb(0x22d)])!=null&&_0x3db34d[_0x572dcb(0x1bf)]?_0x5b28ba[_0x572dcb(0x3d1)]:_0x5b28ba['recordIds'][_0x572dcb(0xeb)](_0x1474f6),'children':(_0x1802ee=_0x5b28ba['children'])==null?void 0x0:_0x1802ee[_0x572dcb(0x412)](_0xe01da7)};};return _0x358461['map'](_0xe01da7);}[_0x327967(0x180)](_0x1257e7,_0x227bf0){const _0x360fc4=_0x327967;var _0x3b9410;let _0x51cbf0=this[_0x360fc4(0x491)](_0x1257e7,_0x227bf0),_0x31768a=_0x51cbf0?_0x1257e7[_0x360fc4(0x305)][_0x51cbf0]:void 0x0;if(!_0x31768a)return{'type':_0x360fc4(0x461),'viewType':_0x3dd96c[_0x360fc4(0x4a2)],'reason':_0x360fc4(0x39e),'fieldId':_0x227bf0[_0x360fc4(0x174)]['groupFieldId']};let _0x22b219=this['_projectRows'](_0x1257e7,_0x227bf0),_0x3cbbb5=this[_0x360fc4(0x457)](_0x1257e7,_0x227bf0),_0x351bda=_0x227bf0[_0x360fc4(0x174)]??{},_0x15f2e=this[_0x360fc4(0x194)](_0x1257e7,(_0x3b9410=_0x351bda[_0x360fc4(0x31c)])==null?void 0x0:_0x3b9410[_0x360fc4(0x19b)]),_0x4ee07c=this[_0x360fc4(0x304)](_0x1257e7,_0x227bf0,_0x31768a['id'],_0x15f2e),_0xa4e35d=new Map();if(F(_0x1257e7,_0x31768a['id'])){let _0x5115bd=this[_0x360fc4(0x291)](_0x1257e7,_0x31768a['id'],_0x227bf0['id'],_0x22b219['map'](_0x3b2ac0=>_0x3b2ac0[_0x360fc4(0x345)])),_0x2b4a1e=new Map();return _0x22b219['forEach'](_0x567bea=>{const _0x4ab73f=_0x360fc4;let _0x1805f0=_0x5115bd[_0x4ab73f(0x47c)][_0x4ab73f(0x318)](_0x567bea[_0x4ab73f(0x345)])??null,_0x28427b=_0x1805f0??'',_0x187339=_0x1805f0?_0x1257e7[_0x4ab73f(0x1d7)][_0x1805f0]:void 0x0,_0x2fd7d7=_0x2b4a1e[_0x4ab73f(0x318)](_0x28427b)??{'key':_0x28427b,'title':_0x187339?String(yt(_0x1257e7,_0x187339['id'],_0x1257e7['primaryFieldId'])??_0x1805f0):this['_kanbanLaneTitle'](_0x31768a,_0x28427b,_0x351bda),'recordIds':[]};_0x2fd7d7[_0x4ab73f(0x3d1)][_0x4ab73f(0x161)](_0x567bea[_0x4ab73f(0x345)]),_0x2b4a1e[_0x4ab73f(0x3fe)](_0x28427b,_0x2fd7d7);}),{'type':_0x3dd96c[_0x360fc4(0x4a2)],'fields':_0x3cbbb5,'rows':_0x22b219,'groups':[],'groupFieldId':_0x31768a['id'],'titleFieldId':_0x15f2e,'coverFieldId':this[_0x360fc4(0xdf)](_0x1257e7,_0x351bda),'cardLayout':_0x351bda['cardLayout']===_0x360fc4(0x13d)?'compose':'normal','showFieldNames':_0x351bda[_0x360fc4(0x37b)]!==!0x1,'visibleCardFieldIds':_0x4ee07c,'lanes':['',..._0x5115bd[_0x360fc4(0x437)]][_0x360fc4(0xeb)](_0x5a9ead=>{const _0x22a031=_0x360fc4;let _0x484ebd=_0x2b4a1e[_0x22a031(0x318)](_0x5a9ead);return _0x484ebd!=null&&_0x484ebd[_0x22a031(0x3d1)][_0x22a031(0x1bf)]?[_0x484ebd]:[];})};}return this[_0x360fc4(0x34d)](_0x31768a,_0x351bda)['forEach'](_0x18cadf=>_0xa4e35d[_0x360fc4(0x3fe)](_0x18cadf['key'],{..._0x18cadf,'recordIds':[]})),_0x22b219[_0x360fc4(0x29b)](_0x316d63=>{const _0x502921=_0x360fc4;this[_0x502921(0x47b)](_0x31768a,_0x316d63[_0x502921(0x259)][_0x31768a['id']])['forEach'](_0x21c34d=>{const _0x280716=_0x502921;let _0x53ec44=_0xa4e35d[_0x280716(0x318)](_0x21c34d)??{'key':_0x21c34d,'title':this[_0x280716(0x2ee)](_0x31768a,_0x21c34d,_0x351bda),'color':this[_0x280716(0x2ff)](_0x31768a,_0x21c34d,_0x351bda),'recordIds':[]};_0x53ec44[_0x280716(0x3d1)][_0x280716(0x161)](_0x316d63[_0x280716(0x345)]),_0xa4e35d[_0x280716(0x3fe)](_0x21c34d,_0x53ec44);});}),{'type':_0x3dd96c[_0x360fc4(0x4a2)],'fields':_0x3cbbb5,'rows':_0x22b219,'groups':this['_projectGroups'](_0x1257e7,_0x227bf0,_0x22b219),'groupFieldId':_0x31768a['id'],'titleFieldId':_0x15f2e,'coverFieldId':this[_0x360fc4(0xdf)](_0x1257e7,_0x351bda),'cardLayout':_0x351bda['cardLayout']===_0x360fc4(0x13d)?_0x360fc4(0x13d):'normal','showFieldNames':_0x351bda[_0x360fc4(0x37b)]!==!0x1,'visibleCardFieldIds':_0x4ee07c,'lanes':Array[_0x360fc4(0x1d1)](_0xa4e35d[_0x360fc4(0x259)]())};}[_0x327967(0x491)](_0x341ede,_0x15a1e5){const _0x382470=_0x327967;var _0x2c5796;let _0x7be566=(_0x2c5796=_0x15a1e5[_0x382470(0x174)])==null?void 0x0:_0x2c5796[_0x382470(0x110)];return _0x7be566&&this[_0x382470(0x2e3)](_0x341ede,_0x7be566)?_0x7be566:this[_0x382470(0x1b3)](_0x341ede,_0x490830=>this[_0x382470(0x133)](_0x490830));}['_findKanbanGroupField'](_0x16497d,_0x48efd8){const _0x2a6d72=_0x327967;for(let _0x5ea9f5 of _0x16497d[_0x2a6d72(0x1f8)]){let _0x11bd6d=_0x16497d['fields'][_0x5ea9f5];if(_0x11bd6d&&_0x48efd8(_0x11bd6d))return _0x11bd6d['id'];}return null;}[_0x327967(0x2e3)](_0x37ba01,_0x36ca2a){const _0x108509=_0x327967;let _0x4978bc=_0x37ba01[_0x108509(0x305)][_0x36ca2a];return this[_0x108509(0x133)](_0x4978bc)||F(_0x37ba01,_0x36ca2a);}['_isAllowedKanbanGroupField'](_0x218f3a){const _0x1bb46f=_0x327967;return!!_0x218f3a&&(_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x413)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x190)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x20a)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x3df)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0xf7)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x205)]);}['_isColorfulKanbanGroupField'](_0xdf4233){const _0x5e83fc=_0x327967;return _0xdf4233[_0x5e83fc(0x346)]===_0x1013ad[_0x5e83fc(0x413)]||_0xdf4233[_0x5e83fc(0x346)]===_0x1013ad[_0x5e83fc(0x190)];}[_0x327967(0xdf)](_0x522d94,_0x354120){const _0x3731ec=_0x327967;var _0xeb3023;let _0x1aa18f=_0x354120['coverFieldId']??((_0xeb3023=_0x354120[_0x3731ec(0x31c)])==null?void 0x0:_0xeb3023['coverFieldId'])??null;if(!_0x1aa18f)return null;let _0x4951ea=_0x522d94[_0x3731ec(0x305)][_0x1aa18f];return _0x4951ea&&this['_capabilities'](_0x4951ea)[_0x3731ec(0x476)]?_0x4951ea['id']:null;}[_0x327967(0x304)](_0x5342f8,_0x870e5d,_0x21512a,_0x391879=this['_resolveCardTitleFieldId'](_0x5342f8,((()=>{const _0x5ceb53=_0x327967;var _0x355656;return(_0x355656=_0x870e5d[_0x5ceb53(0x174)])==null||(_0x355656=_0x355656['card'])==null?void 0x0:_0x355656[_0x5ceb53(0x19b)];})()))){const _0x406905=_0x327967;var _0x43a1d7;let _0x354f0a=_0x870e5d[_0x406905(0x174)]??{},_0x1758db=(_0x43a1d7=_0x354f0a[_0x406905(0x31c)])!=null&&(_0x43a1d7=_0x43a1d7['fieldIds'])!=null&&_0x43a1d7['length']?_0x354f0a[_0x406905(0x31c)][_0x406905(0x143)]:Qr(_0x5342f8,[_0x391879,_0x5342f8[_0x406905(0x44a)],_0x21512a]),_0x51005f=_0x354f0a[_0x406905(0x105)]??{};return _0x1758db[_0x406905(0x1be)](_0x25cf68=>{const _0x127463=_0x406905;var _0x270ff6,_0x5031c1;let _0x270b0e=_0x5342f8[_0x127463(0x305)][_0x25cf68];return!(!_0x270b0e||_0x270b0e['system']===!0x0||_0x270b0e[_0x127463(0x346)]===_0x1013ad[_0x127463(0x212)]||_0x270b0e['id']===_0x21512a||_0x270b0e['id']===_0x391879||(_0x270ff6=_0x870e5d[_0x127463(0x105)])!=null&&(_0x270ff6=_0x270ff6[_0x25cf68])!=null&&_0x270ff6['hidden']||(_0x5031c1=_0x51005f[_0x25cf68])!=null&&_0x5031c1[_0x127463(0x30a)]);})['sort']((_0x35069d,_0xa72971)=>{const _0x147005=_0x406905;var _0x28b5a5,_0x147997;return(((_0x28b5a5=_0x51005f[_0x35069d])==null?void 0x0:_0x28b5a5[_0x147005(0x148)])??_0x1758db['indexOf'](_0x35069d))-(((_0x147997=_0x51005f[_0xa72971])==null?void 0x0:_0x147997[_0x147005(0x148)])??_0x1758db[_0x147005(0x1c5)](_0xa72971));});}[_0x327967(0x34d)](_0x3c0ce2,_0x372bf6){const _0x3f8a8f=_0x327967;var _0x5b9fbe;let _0x5df7ff=(Array['isArray']((_0x5b9fbe=_0x3c0ce2['config'])==null?void 0x0:_0x5b9fbe[_0x3f8a8f(0x495)])?_0x3c0ce2[_0x3f8a8f(0x174)][_0x3f8a8f(0x495)]:[])[_0x3f8a8f(0xeb)]((_0x11edb3,_0x5eebdc)=>{const _0xce522=_0x3f8a8f;if(_0x11edb3==null)return[];let _0x93236b=typeof _0x11edb3=='string'?{'id':_0x11edb3,'name':_0x11edb3,'color':void 0x0}:_0x11edb3,_0x5f1c7a=String(_0x93236b['id']??_0x93236b[_0xce522(0x158)]??_0xce522(0x330)+(_0x5eebdc+0x1));return[{'key':_0x5f1c7a,'title':String(_0x93236b[_0xce522(0x158)]??_0x93236b['id']??_0x5f1c7a),'color':this[_0xce522(0x2ff)](_0x3c0ce2,_0x5f1c7a,_0x372bf6)}];});return Object[_0x3f8a8f(0x209)](_0x372bf6['columnSettings']??{})[_0x3f8a8f(0x29b)](([_0x24593f,_0x48ff78])=>{const _0x550489=_0x3f8a8f;_0x5df7ff['some'](_0xe2ba33=>_0xe2ba33['key']===_0x24593f)||_0x5df7ff['push']({'key':_0x24593f,'title':this[_0x550489(0x3cc)](_0x3c0ce2)?_0x48ff78[_0x550489(0x1e5)]??this[_0x550489(0x2ee)](_0x3c0ce2,_0x24593f,_0x372bf6):this['_kanbanLaneTitle'](_0x3c0ce2,_0x24593f,_0x372bf6),'color':this[_0x550489(0x2ff)](_0x3c0ce2,_0x24593f,_0x372bf6)});}),_0x5df7ff;}[_0x327967(0x47b)](_0xcff281,_0x34001b){const _0x11a7d8=_0x327967;let _0x3d7e85=_0x4d629f=>{var _0x15d06f;let _0x1b8423=_0x4d629f==null?'':String(_0x4d629f);return!_0x1b8423||!this['_isColorfulKanbanGroupField'](_0xcff281)?_0x1b8423:((_0x15d06f=Li(_0xcff281,_0x1b8423))==null?void 0x0:_0x15d06f['id'])??_0x1b8423;};if(Array[_0x11a7d8(0x3fb)](_0x34001b)){let _0x1c3114=_0x34001b[_0x11a7d8(0x412)](_0x3d7e85)[_0x11a7d8(0x1be)](_0x172d6b=>_0x172d6b!=='');return _0x1c3114[_0x11a7d8(0x1bf)]?_0x1c3114:[''];}return[_0x3d7e85(_0x34001b)];}[_0x327967(0x2ee)](_0x3efb0b,_0x545bbe,_0x4be1a2){const _0x50a02f=_0x327967;if(!_0x545bbe)return _0x50a02f(0x42a);let _0x1419f0=Li(_0x3efb0b,_0x545bbe);return(_0x1419f0==null?void 0x0:_0x1419f0[_0x50a02f(0x158)])??_0x545bbe;}[_0x327967(0x2ff)](_0x5055d8,_0x10334e,_0x15cc9c){const _0x35a96b=_0x327967;var _0x1fb47b;if(this['_isColorfulKanbanGroupField'](_0x5055d8))return(_0x1fb47b=Li(_0x5055d8,_0x10334e))==null?void 0x0:_0x1fb47b[_0x35a96b(0x233)];}[_0x327967(0x2bb)](_0xaceaed,_0x5ea401){const _0x3a4c1f=_0x327967;let _0x16bcc7=this[_0x3a4c1f(0x296)](_0xaceaed,_0x5ea401['config']??{}),_0x313c8f=_0xaceaed[_0x3a4c1f(0x305)][_0x16bcc7[_0x3a4c1f(0x3d2)]];if(!_0x313c8f||_0x313c8f[_0x3a4c1f(0x346)]!==_0x1013ad[_0x3a4c1f(0x2b2)]||_0x313c8f[_0x3a4c1f(0x397)]===!0x0||_0x313c8f[_0x3a4c1f(0x272)]===!0x0||!this['_capabilities'](_0x313c8f)['usableAsCalendarDate'])return{'type':_0x3a4c1f(0x461),'viewType':_0x3dd96c[_0x3a4c1f(0x322)],'reason':_0x3a4c1f(0x24d),'fieldId':_0x16bcc7[_0x3a4c1f(0x3d2)]};let _0x771821=_0x16bcc7[_0x3a4c1f(0x406)]?_0xaceaed[_0x3a4c1f(0x305)][_0x16bcc7[_0x3a4c1f(0x406)]]:void 0x0,_0x45556b=this[_0x3a4c1f(0x183)](_0xaceaed,_0x5ea401);return{'type':_0x3dd96c['Calendar'],'config':_0x16bcc7,'fields':this[_0x3a4c1f(0x457)](_0xaceaed,_0x5ea401),'rows':_0x45556b,'groups':this['_projectGroups'](_0xaceaed,_0x5ea401,_0x45556b),'events':_0x45556b['flatMap'](_0x992ff9=>{const _0xae9a5b=_0x3a4c1f;let _0x52caed=dn(_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x3d2)]]);if(!Number['isFinite'](_0x52caed))return[];let _0x9aa89b=_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x3d2)]],_0x22c9e7=_0x16bcc7[_0xae9a5b(0x406)]==null?void 0x0:_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x406)]],_0x20a39d=_0x16bcc7[_0xae9a5b(0x406)]==null?void 0x0:dn(_0x22c9e7),_0x1f5093=Number[_0xae9a5b(0x138)](_0x20a39d)?_0x20a39d:void 0x0;return[{'recordId':_0x992ff9[_0xae9a5b(0x345)],'title':this['_title'](_0xaceaed,_0x992ff9,_0x16bcc7[_0xae9a5b(0x19b)]),'start':_0x52caed,'end':_0x1f5093,'color':this['_calendarEventColor'](_0xaceaed,_0x992ff9,_0x16bcc7),'startMs':_0x52caed,'endMs':_0x1f5093,'allDay':this[_0xae9a5b(0x1a6)](_0x313c8f,_0x771821,_0x9aa89b,_0x22c9e7),'fieldValues':_0x992ff9['values']}];})};}[_0x327967(0x296)](_0x285179,_0x579a34){const _0x490e7b=_0x327967;let _0x52272c=this[_0x490e7b(0x15c)](_0x285179,_0x579a34[_0x490e7b(0x3d2)]),_0x78c48a=_0x579a34[_0x490e7b(0x406)]&&this[_0x490e7b(0x25f)](_0x285179,_0x579a34[_0x490e7b(0x406)])?_0x579a34[_0x490e7b(0x406)]:this[_0x490e7b(0x3d3)](_0x285179,_0x52272c)??void 0x0,_0x1006f9=_0x579a34[_0x490e7b(0x19b)]?_0x285179['fields'][_0x579a34['titleFieldId']]:void 0x0,_0x4afe6f=_0x1006f9&&_0x1006f9[_0x490e7b(0x272)]!==!0x0&&_0x1006f9[_0x490e7b(0x346)]!==_0x1013ad[_0x490e7b(0x212)]?_0x579a34[_0x490e7b(0x19b)]:_0x285179['primaryFieldId'],_0x1e3deb=_0x579a34['mode']==='day'||_0x579a34[_0x490e7b(0x441)]===_0x490e7b(0x39a)?_0x579a34[_0x490e7b(0x441)]:_0x490e7b(0x3ee),_0x2e3dab=_0x579a34[_0x490e7b(0x2e6)]==='short'||_0x579a34[_0x490e7b(0x2e6)]===_0x490e7b(0x466)?_0x579a34[_0x490e7b(0x2e6)]:'medium',_0x7ff5da=typeof _0x579a34[_0x490e7b(0x417)]==_0x490e7b(0x2a0)&&_0x579a34['timeZone'][_0x490e7b(0x140)]()?_0x579a34[_0x490e7b(0x417)]:'local',_0xd6c28c=this[_0x490e7b(0x39d)](_0x285179,_0x579a34);return{..._0x579a34,'startDateFieldId':_0x52272c,'endDateFieldId':_0x78c48a,'titleFieldId':_0x4afe6f,'mode':_0x1e3deb,'timeslotSize':_0x2e3dab,'timeZone':_0x7ff5da,'displayColor':_0xd6c28c,'fieldSettings':Object['fromEntries'](Object[_0x490e7b(0x209)](_0x579a34[_0x490e7b(0x105)]??{})[_0x490e7b(0x1be)](([_0x3fdded])=>{const _0x590fcb=_0x490e7b;let _0x426c01=_0x285179[_0x590fcb(0x305)][_0x3fdded];return!!(_0x426c01&&_0x426c01[_0x590fcb(0x272)]!==!0x0&&_0x426c01['type']!==_0x1013ad['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x258f25,_0x24a664){const _0x397448=_0x327967;return _0x24a664&&this[_0x397448(0x25f)](_0x258f25,_0x24a664)?_0x24a664:this[_0x397448(0x3d3)](_0x258f25)??_0x24a664??'';}[_0x327967(0x3d3)](_0x38d111,_0x135842){const _0x18336a=_0x327967;for(let _0x235dbe of _0x38d111[_0x18336a(0x1f8)])if(_0x235dbe!==_0x135842&&this[_0x18336a(0x25f)](_0x38d111,_0x235dbe))return _0x235dbe;return null;}['_isCalendarDateField'](_0x2ae89d,_0x456147){const _0x42222f=_0x327967;let _0x3a1612=_0x2ae89d[_0x42222f(0x305)][_0x456147];return!!_0x3a1612&&_0x3a1612['type']===_0x1013ad[_0x42222f(0x2b2)]&&_0x3a1612['readonly']!==!0x0&&_0x3a1612[_0x42222f(0x272)]!==!0x0&&this[_0x42222f(0x23c)](_0x3a1612)['usableAsCalendarDate'];}[_0x327967(0x39d)](_0x469275,_0x5453bc){const _0x218fda=_0x327967;let _0x121b77=_0x5453bc[_0x218fda(0xf6)];if((_0x121b77==null?void 0x0:_0x121b77[_0x218fda(0x346)])===_0x218fda(0x28b)){let _0x272c06=_0x469275[_0x218fda(0x305)][_0x121b77[_0x218fda(0x173)]];if(_0x272c06&&_0x272c06[_0x218fda(0x346)]===_0x1013ad['SingleSelect'])return _0x121b77;}if((_0x121b77==null?void 0x0:_0x121b77['type'])===_0x218fda(0x26b)&&typeof _0x121b77[_0x218fda(0x233)]=='string'&&_0x121b77[_0x218fda(0x233)][_0x218fda(0x140)]())return{'type':'custom','color':_0x121b77[_0x218fda(0x233)]};if(_0x5453bc['colorFieldId']){let _0x3594b7=_0x469275[_0x218fda(0x305)][_0x5453bc[_0x218fda(0xe8)]];if(_0x3594b7&&_0x3594b7[_0x218fda(0x346)]===_0x1013ad[_0x218fda(0x413)])return{'type':_0x218fda(0x28b),'fieldId':_0x5453bc[_0x218fda(0xe8)]};}return{'type':'custom','color':_0x218fda(0x2f9)};}[_0x327967(0x284)](_0xf4c1e9,_0x14e00a,_0x53909b){const _0x266a2c=_0x327967;let _0x786158=_0x53909b['displayColor'];if((_0x786158==null?void 0x0:_0x786158[_0x266a2c(0x346)])===_0x266a2c(0x28b)){var _0x4e6125;let _0x3f33ee=_0xf4c1e9[_0x266a2c(0x305)][_0x786158[_0x266a2c(0x173)]];if(!_0x3f33ee)return;let _0x2c9cfd=_0x14e00a[_0x266a2c(0x259)][_0x786158['fieldId']],_0x1d2c37=Array[_0x266a2c(0x3fb)](_0x2c9cfd)?_0x2c9cfd[0x0]:_0x2c9cfd;return _0x1d2c37==null||(_0x4e6125=Li(_0x3f33ee,String(_0x1d2c37)))==null?void 0x0:_0x4e6125[_0x266a2c(0x233)];}if((_0x786158==null?void 0x0:_0x786158[_0x266a2c(0x346)])===_0x266a2c(0x26b))return _0x786158[_0x266a2c(0x233)];}['_isAllDayCalendarEvent'](_0x5cccd1,_0x3eedc7,_0xf226db,_0x19af80){const _0x4b5e43=_0x327967;var _0x5d863c,_0x36d5cb;let _0x12a8cf=((_0x5d863c=_0x5cccd1[_0x4b5e43(0x174)])==null?void 0x0:_0x5d863c[_0x4b5e43(0x26e)])===!0x0,_0xfc54af=(_0x3eedc7==null||(_0x36d5cb=_0x3eedc7['config'])==null?void 0x0:_0x36d5cb[_0x4b5e43(0x26e)])===!0x0;return!_0x12a8cf&&!_0xfc54af;}[_0x327967(0x3c0)](_0x115771,_0x226d5f){const _0x2c32a2=_0x327967;var _0x4ad8d0,_0x1208fe;let _0x9aa206=((_0x4ad8d0=_0x115771[_0x2c32a2(0x174)])==null?void 0x0:_0x4ad8d0[_0x2c32a2(0x26e)])===!0x0,_0x97c637=((_0x1208fe=_0x226d5f['config'])==null?void 0x0:_0x1208fe[_0x2c32a2(0x26e)])===!0x0;return!_0x9aa206&&!_0x97c637;}[_0x327967(0x391)](_0x1e292d,_0x569681){const _0x515c58=_0x327967;let _0x595cfd=this[_0x515c58(0x1e7)](_0x1e292d,_0x569681[_0x515c58(0x174)]),_0x21018b=_0x1e292d[_0x515c58(0x305)][_0x595cfd[_0x515c58(0x3d2)]];if(!_0x21018b||_0x21018b[_0x515c58(0x346)]!==_0x1013ad['Date']||_0x21018b[_0x515c58(0x397)]===!0x0||_0x21018b['system']===!0x0||!this[_0x515c58(0x23c)](_0x21018b)[_0x515c58(0x388)])return{'type':_0x515c58(0x461),'viewType':_0x3dd96c[_0x515c58(0x376)],'reason':_0x515c58(0x1b1),'fieldId':_0x595cfd[_0x515c58(0x3d2)]};let _0x15c9df=_0x1e292d['fields'][_0x595cfd[_0x515c58(0x406)]];if(!_0x15c9df||_0x15c9df[_0x515c58(0x346)]!==_0x1013ad[_0x515c58(0x2b2)]||_0x15c9df[_0x515c58(0x397)]===!0x0||_0x15c9df[_0x515c58(0x272)]===!0x0||!this['_capabilities'](_0x15c9df)[_0x515c58(0x43d)])return{'type':_0x515c58(0x461),'viewType':_0x3dd96c[_0x515c58(0x376)],'reason':_0x515c58(0x455),'fieldId':_0x595cfd[_0x515c58(0x406)]};let _0x1fb9db=this[_0x515c58(0x3c0)](_0x21018b,_0x15c9df),_0x15f3c9=this[_0x515c58(0x183)](_0x1e292d,_0x569681),_0x34ca9a=_0x15f3c9[_0x515c58(0xeb)](_0x454c9b=>{const _0x113f68=_0x515c58;let _0x112834=dn(_0x454c9b[_0x113f68(0x259)][_0x595cfd['startDateFieldId']]),_0x5d4a96=dn(_0x454c9b[_0x113f68(0x259)][_0x595cfd['endDateFieldId']]);if(!Number[_0x113f68(0x138)](_0x112834)||!Number[_0x113f68(0x138)](_0x5d4a96))return[];let _0x9e55bc=Math[_0x113f68(0x37a)](_0x112834,_0x5d4a96),_0x31f18e=Math[_0x113f68(0x31a)](_0x112834,_0x5d4a96),_0x4b159a=_0x595cfd[_0x113f68(0x192)]==null?void 0x0:Number(_0x454c9b[_0x113f68(0x259)][_0x595cfd[_0x113f68(0x192)]]);return[{'recordId':_0x454c9b[_0x113f68(0x345)],'title':this['_title'](_0x1e292d,_0x454c9b,_0x595cfd[_0x113f68(0x19b)]),'start':_0x9e55bc,'end':_0x31f18e,'color':this[_0x113f68(0x21f)](_0x1e292d,_0x454c9b,_0x595cfd),'progress':Number['isFinite'](_0x4b159a)?_0x4b159a:void 0x0,'workingDayCount':_0x595cfd['workingDaysOnly']?Ti(_0x9e55bc,_0x31f18e,_0x595cfd[_0x113f68(0x358)]):void 0x0,'dependencyRecordIds':this[_0x113f68(0x43a)](_0x454c9b['values'][_0x595cfd['dependencyFieldId']??''])}];}),_0xe495d7=_0x34ca9a[_0x515c58(0x1bf)]?Z(Math[_0x515c58(0x37a)](..._0x34ca9a[_0x515c58(0x412)](_0x5219b1=>_0x5219b1[_0x515c58(0x47f)]))-0x5a*oi):Z(Date[_0x515c58(0xfa)]()-0x5a*oi),_0x1bbdf4=_0x34ca9a['length']?Z(Math[_0x515c58(0x31a)](..._0x34ca9a['map'](_0x2c9275=>_0x2c9275[_0x515c58(0x3c3)]))+0x5b*oi):Z(Date[_0x515c58(0xfa)]()+0x5b*oi),_0x5ae482=_i(_0x595cfd[_0x515c58(0x241)],_0xe495d7,_0x1bbdf4,_0x595cfd[_0x515c58(0x453)]?_0x595cfd[_0x515c58(0x358)]:void 0x0);return{'type':_0x3dd96c[_0x515c58(0x376)],'fields':this[_0x515c58(0x457)](_0x1e292d,{..._0x569681,'config':_0x595cfd}),'rows':_0x15f3c9,'groups':this[_0x515c58(0x297)](_0x1e292d,_0x569681,_0x15f3c9),'config':_0x595cfd,'dateRangeAllDay':_0x1fb9db,'timeline':{'scale':_0x595cfd[_0x515c58(0x241)],'start':_0xe495d7,'end':_0x1bbdf4,'unitWidth':_0x5ae482[_0x515c58(0x479)],'majorHeaders':_0x5ae482[_0x515c58(0x1ff)],'columns':_0x5ae482[_0x515c58(0x137)]},'bars':_0x34ca9a};}['_normalizeGanttConfig'](_0x500db4,_0x3b04da){const _0x2260d4=_0x327967;let _0x25bc28=this[_0x2260d4(0x3b4)](_0x500db4,_0x3b04da[_0x2260d4(0x3d2)],_0x2260d4(0x47f)),_0x1185f2=this['_resolveGanttDateFieldId'](_0x500db4,_0x3b04da['endDateFieldId'],_0x2260d4(0x3c3))||_0x25bc28,_0x10c9e5=_0x3b04da[_0x2260d4(0x19b)]?_0x500db4[_0x2260d4(0x305)][_0x3b04da[_0x2260d4(0x19b)]]:void 0x0,_0x487bc6=_0x10c9e5&&_0x10c9e5['system']!==!0x0&&_0x10c9e5[_0x2260d4(0x346)]!==_0x1013ad[_0x2260d4(0x212)]?_0x3b04da[_0x2260d4(0x19b)]:_0x500db4[_0x2260d4(0x44a)],_0x5a979d=_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x39a)||_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x324)||_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x102)?_0x3b04da['scale']:_0x2260d4(0x3ee),_0x2d93ea=gi(_0x3b04da[_0x2260d4(0x358)]);return{..._0x3b04da,'startDateFieldId':_0x25bc28,'endDateFieldId':_0x1185f2,'titleFieldId':_0x487bc6,'scale':_0x5a979d,'leftPaneWidth':typeof _0x3b04da[_0x2260d4(0x323)]==_0x2260d4(0x218)?_0x3b04da[_0x2260d4(0x323)]:void 0x0,'leftPaneCollapsed':_0x3b04da[_0x2260d4(0x221)]===!0x0,'showTodayLine':_0x3b04da[_0x2260d4(0x139)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x500db4,_0x3b04da),'fieldSettings':Object[_0x2260d4(0x49f)](Object[_0x2260d4(0x209)](_0x3b04da['fieldSettings']??{})[_0x2260d4(0x1be)](([_0x197b8d])=>{const _0x3df237=_0x2260d4;let _0x5bf833=_0x500db4[_0x3df237(0x305)][_0x197b8d];return!!(_0x5bf833&&_0x5bf833[_0x3df237(0x272)]!==!0x0&&_0x5bf833['type']!==_0x1013ad[_0x3df237(0x212)]);})),'workingDaysOnly':_0x3b04da['workingDaysOnly']===!0x0,'workingDays':_0x2d93ea};}['_resolveGanttDateFieldId'](_0x13caf2,_0x39004f,_0x2e509e){const _0x3568e4=_0x327967;if(_0x39004f&&this[_0x3568e4(0x342)](_0x13caf2,_0x39004f,_0x2e509e)||_0x39004f)return _0x39004f;for(let _0x5ef767 of _0x13caf2[_0x3568e4(0x1f8)])if(this[_0x3568e4(0x342)](_0x13caf2,_0x5ef767,_0x2e509e))return _0x5ef767;return _0x39004f??'';}[_0x327967(0x342)](_0x35accb,_0x238dc1,_0x12e7c4){const _0x28e445=_0x327967;let _0x153505=_0x35accb['fields'][_0x238dc1];if(!_0x153505||_0x153505[_0x28e445(0x346)]!==_0x1013ad['Date']||_0x153505[_0x28e445(0x397)]===!0x0||_0x153505['system']===!0x0)return!0x1;let _0xe93349=this['_capabilities'](_0x153505);return _0x12e7c4===_0x28e445(0x47f)?_0xe93349[_0x28e445(0x388)]:_0xe93349[_0x28e445(0x43d)];}['_normalizeGanttDisplayColor'](_0x41ee7f,_0x50aff5){const _0x455b57=_0x327967;let _0x442111=_0x50aff5['displayColor'];if((_0x442111==null?void 0x0:_0x442111['type'])===_0x455b57(0x28b)){let _0xbc5109=_0x41ee7f['fields'][_0x442111[_0x455b57(0x173)]];if(_0xbc5109&&_0xbc5109[_0x455b57(0x346)]===_0x1013ad[_0x455b57(0x413)])return _0x442111;}return(_0x442111==null?void 0x0:_0x442111[_0x455b57(0x346)])==='conditional'&&Array[_0x455b57(0x3fb)](_0x442111[_0x455b57(0x21a)])?{'type':_0x455b57(0x188),'rules':_0x442111[_0x455b57(0x21a)]['filter'](_0xaab968=>!!_0x41ee7f[_0x455b57(0x305)][_0xaab968[_0x455b57(0x173)]])}:(_0x442111==null?void 0x0:_0x442111['type'])===_0x455b57(0x26b)&&typeof _0x442111[_0x455b57(0x233)]==_0x455b57(0x2a0)&&_0x442111[_0x455b57(0x233)][_0x455b57(0x140)]()?{'type':_0x455b57(0x26b),'color':_0x442111[_0x455b57(0x233)]}:{'type':_0x455b57(0x26b),'color':_0x455b57(0x1e6)};}['_ganttBarColor'](_0x20d294,_0x46e341,_0x35c58b){const _0x5c9a8d=_0x327967;let _0x146dc1=_0x35c58b[_0x5c9a8d(0xf6)];if((_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x188)){let _0x511f69=_0x146dc1[_0x5c9a8d(0x21a)][_0x5c9a8d(0x451)](_0x338628=>this[_0x5c9a8d(0x201)](_0x20d294,_0x46e341,_0x338628));if(_0x511f69)return _0x511f69['color'];}if((_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x28b)){let _0x370f82=_0x20d294['fields'][_0x146dc1['fieldId']];if(_0x370f82){var _0x32fd83;let _0x21a7a9=_0x46e341[_0x5c9a8d(0x259)][_0x146dc1[_0x5c9a8d(0x173)]],_0x172b5a=Array[_0x5c9a8d(0x3fb)](_0x21a7a9)?_0x21a7a9[0x0]:_0x21a7a9,_0xf8d4b3=_0x172b5a==null||(_0x32fd83=Li(_0x370f82,String(_0x172b5a)))==null?void 0x0:_0x32fd83[_0x5c9a8d(0x233)];if(_0xf8d4b3)return _0xf8d4b3;}}return(_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x26b)?_0x146dc1[_0x5c9a8d(0x233)]:_0x5c9a8d(0x1e6);}[_0x327967(0x201)](_0x319831,_0x495a04,_0x3e7314){const _0x4b944e=_0x327967;let _0x5aad97=_0x319831[_0x4b944e(0x305)][_0x3e7314[_0x4b944e(0x173)]];return _0x5aad97?xn(_0x495a04[_0x4b944e(0x259)][_0x5aad97['id']],_0x3e7314[_0x4b944e(0xfb)],_0x3e7314[_0x4b944e(0x2d4)],_0x5aad97,{'dateMode':_0x3e7314[_0x4b944e(0x365)]}):!0x1;}[_0x327967(0x1d2)](_0x27f27e,_0x4a44a8){const _0x581538=_0x327967;let _0x16400f=this[_0x581538(0x183)](_0x27f27e,_0x4a44a8),_0x3f77c9=this[_0x581538(0x12b)](_0x27f27e,_0x4a44a8['config']??{}),_0x28ab80=this['_projectFields'](_0x27f27e,_0x4a44a8);return{'type':_0x3dd96c['Gallery'],'fields':_0x28ab80,'rows':_0x16400f,'groups':this['_projectGroups'](_0x27f27e,_0x4a44a8,_0x16400f),'titleFieldId':_0x3f77c9[_0x581538(0x31c)][_0x581538(0x19b)],'coverFieldId':_0x3f77c9[_0x581538(0x1dc)],'cardLayout':_0x3f77c9[_0x581538(0x3f4)]??_0x581538(0x436),'showFieldNames':_0x3f77c9[_0x581538(0x37b)]!==!0x1,'visibleCardFieldIds':this[_0x581538(0x126)](_0x27f27e,_0x4a44a8,_0x3f77c9),'cardSize':_0x3f77c9[_0x581538(0x32c)]??_0x581538(0x1df),'cards':_0x16400f['map'](_0x44d7db=>({'recordId':_0x44d7db['recordId'],'title':this[_0x581538(0x26a)](_0x27f27e,_0x44d7db,_0x3f77c9[_0x581538(0x31c)]['titleFieldId']),'values':_0x44d7db[_0x581538(0x259)]}))};}[_0x327967(0x12b)](_0x3a3b41,_0x1792dd){const _0xfdcace=_0x327967;let _0x550355=_0x1792dd[_0xfdcace(0x31c)]??{'fieldIds':[]},_0x1cee0b=this[_0xfdcace(0x194)](_0x3a3b41,_0x550355[_0xfdcace(0x19b)]),_0x5129e2=this['_resolveGalleryCoverFieldId'](_0x3a3b41,_0x1792dd),_0x41161f=_0x1792dd['cardSize']===_0xfdcace(0x2b4)||_0x1792dd['cardSize']===_0xfdcace(0x3a3)?_0x1792dd[_0xfdcace(0x32c)]:_0xfdcace(0x1df);return{..._0x1792dd,'coverFieldId':_0x5129e2,'cardLayout':_0x1792dd['cardLayout']===_0xfdcace(0x13d)?_0xfdcace(0x13d):_0xfdcace(0x436),'showFieldNames':_0x1792dd[_0xfdcace(0x37b)]!==!0x1,'fieldSettings':Object[_0xfdcace(0x49f)](Object[_0xfdcace(0x209)](_0x1792dd['fieldSettings']??{})['filter'](([_0xafc419])=>{const _0x397c87=_0xfdcace;let _0x40f12e=_0x3a3b41[_0x397c87(0x305)][_0xafc419];return!!(_0x40f12e&&_0x40f12e[_0x397c87(0x272)]!==!0x0&&_0x40f12e['type']!==_0x1013ad[_0x397c87(0x212)]);})),'card':{..._0x550355,'titleFieldId':_0x1cee0b,'coverFieldId':_0x5129e2,'fieldIds':Array[_0xfdcace(0x3fb)](_0x550355[_0xfdcace(0x143)])?_0x550355[_0xfdcace(0x143)]:[]},'cardSize':_0x41161f};}[_0x327967(0x194)](_0x1abf66,_0x506169){const _0x132b92=_0x327967;let _0x401aa2=_0x506169?_0x1abf66[_0x132b92(0x305)][_0x506169]:void 0x0;return _0x401aa2&&_0x401aa2[_0x132b92(0x272)]!==!0x0&&_0x401aa2['type']!==_0x1013ad[_0x132b92(0x212)]?_0x401aa2['id']:Zr(_0x1abf66);}[_0x327967(0x36f)](_0x7f4afe,_0x5b1725){const _0x1bcc9c=_0x327967;var _0x17861a;let _0x5d8f2f=_0x5b1725[_0x1bcc9c(0x1dc)]??((_0x17861a=_0x5b1725['card'])==null?void 0x0:_0x17861a[_0x1bcc9c(0x1dc)])??null;if(!_0x5d8f2f)return null;let _0xedacb2=_0x7f4afe[_0x1bcc9c(0x305)][_0x5d8f2f];return _0xedacb2&&this[_0x1bcc9c(0x23c)](_0xedacb2)['usableAsCardCover']?_0xedacb2['id']:null;}[_0x327967(0x126)](_0x1fba40,_0x154910,_0x518367){const _0x18eb34=_0x327967;var _0x566ca0,_0x497e3c,_0x262cb0;let _0x5dbdaa=_0x518367[_0x18eb34(0x105)]??{},_0x22051c=((_0x566ca0=_0x518367[_0x18eb34(0x31c)])==null?void 0x0:_0x566ca0['titleFieldId'])??Zr(_0x1fba40),_0x4c3a12=_0x518367[_0x18eb34(0x1dc)]??((_0x497e3c=_0x518367[_0x18eb34(0x31c)])==null?void 0x0:_0x497e3c[_0x18eb34(0x1dc)])??null,_0x3eccb0=(_0x262cb0=_0x518367['card'])!=null&&(_0x262cb0=_0x262cb0['fieldIds'])!=null&&_0x262cb0[_0x18eb34(0x1bf)]?_0x518367[_0x18eb34(0x31c)][_0x18eb34(0x143)]:Qr(_0x1fba40,[_0x22051c,_0x4c3a12,_0x1fba40[_0x18eb34(0x44a)]]);return _0x3eccb0[_0x18eb34(0x1be)](_0x448e6a=>{const _0x1797ed=_0x18eb34;var _0x177ed5,_0x4545e0;let _0x3e9c85=_0x1fba40['fields'][_0x448e6a];return!(!_0x3e9c85||_0x3e9c85[_0x1797ed(0x272)]===!0x0||_0x3e9c85[_0x1797ed(0x346)]===_0x1013ad[_0x1797ed(0x212)]||_0x3e9c85['id']===_0x22051c||_0x3e9c85['id']===_0x4c3a12||(_0x177ed5=_0x154910['fieldSettings'])!=null&&(_0x177ed5=_0x177ed5[_0x448e6a])!=null&&_0x177ed5[_0x1797ed(0x30a)]||(_0x4545e0=_0x5dbdaa[_0x448e6a])!=null&&_0x4545e0[_0x1797ed(0x30a)]);})[_0x18eb34(0x460)]((_0x2f22c5,_0x4482d0)=>{const _0x5778be=_0x18eb34;var _0x5a3d82,_0x334513;return(((_0x5a3d82=_0x5dbdaa[_0x2f22c5])==null?void 0x0:_0x5a3d82[_0x5778be(0x148)])??_0x3eccb0['indexOf'](_0x2f22c5))-(((_0x334513=_0x5dbdaa[_0x4482d0])==null?void 0x0:_0x334513[_0x5778be(0x148)])??_0x3eccb0[_0x5778be(0x1c5)](_0x4482d0));});}[_0x327967(0x457)](_0x54f150,_0x466428){const _0xa11b1d=_0x327967;var _0x594bc7;return((_0x594bc7=_0x466428['fieldOrder'])!=null&&_0x594bc7[_0xa11b1d(0x1bf)]?_0x466428[_0xa11b1d(0x1f8)]:_0x54f150['fieldOrder'])[_0xa11b1d(0xeb)](_0x5e80cf=>{const _0x330335=_0xa11b1d;var _0x21dc3d;let _0xcc0eeb=_0x54f150[_0x330335(0x305)][_0x5e80cf],_0x249e7e=((_0x21dc3d=_0x466428['fieldSettings'])==null?void 0x0:_0x21dc3d[_0x5e80cf])??{};return!_0xcc0eeb||_0xcc0eeb[_0x330335(0x272)]===!0x0||_0xcc0eeb[_0x330335(0x346)]===_0x1013ad[_0x330335(0x212)]||_0x249e7e[_0x330335(0x30a)]?[]:[{'id':_0xcc0eeb['id'],'name':_0xcc0eeb['name'],'description':_0xcc0eeb[_0x330335(0x36d)],'type':_0xcc0eeb[_0x330335(0x346)],'config':_0xcc0eeb[_0x330335(0x174)],'width':_0x249e7e[_0x330335(0x10f)],'setting':_0x249e7e}];});}[_0x327967(0x183)](_0x453016,_0x2c319a){const _0x21faa6=_0x327967;var _0x50fe84;return I(_0x21faa6(0x270),()=>{const _0xddddaf=_0x21faa6;var _0x4826fe,_0x8fa08e;let _0x482475=this[_0xddddaf(0x38c)](_0x453016),_0x5d811b=this[_0xddddaf(0x396)](_0x453016['id'],_0x2c319a),_0x365cb5=this[_0xddddaf(0x351)](_0x453016['id']),_0x34ec66=this[_0xddddaf(0x2aa)][_0xddddaf(0x318)](_0x5d811b);if(_0x34ec66&&_0x34ec66[_0xddddaf(0x172)]===this['_globalRevision']&&_0x34ec66[_0xddddaf(0x145)]===this['_getTableRevision'](_0x453016['id'])){if(_0x34ec66['cellRevision']===_0x365cb5&&_0x34ec66[_0xddddaf(0x37e)]===_0x482475)return _0x34ec66[_0xddddaf(0x26f)];if(_0x34ec66[_0xddddaf(0x37d)]!==_0x365cb5&&!this[_0xddddaf(0x27b)](_0x453016['id'],_0x34ec66[_0xddddaf(0x37d)],_0x365cb5,this['_filterSortFieldIds'](_0x2c319a))){let _0x40a1db=_0x34ec66[_0xddddaf(0x26f)]===_0x34ec66[_0xddddaf(0x37e)]?_0x482475:this[_0xddddaf(0x3f6)](_0x34ec66['rows'],_0x482475);if(_0x40a1db)return this[_0xddddaf(0x2aa)][_0xddddaf(0x3fe)](_0x5d811b,{..._0x34ec66,'rows':_0x40a1db,'baseRows':_0x482475,'cellRevision':_0x365cb5}),_0x40a1db;}}let _0x2a4969=I(_0xddddaf(0x280),()=>this[_0xddddaf(0xff)](_0x453016,_0x2c319a,this[_0xddddaf(0x15f)](_0x453016,_0x2c319a,_0x482475)),{'tableId':_0x453016['id'],'viewId':_0x2c319a==null?void 0x0:_0x2c319a['id'],'viewType':_0x2c319a==null?void 0x0:_0x2c319a[_0xddddaf(0x346)],'rows':_0x482475[_0xddddaf(0x1bf)],'filters':(_0x2c319a==null||(_0x4826fe=_0x2c319a[_0xddddaf(0x1be)])==null?void 0x0:_0x4826fe['conditions'][_0xddddaf(0x1bf)])??0x0,'sorts':(_0x2c319a==null||(_0x8fa08e=_0x2c319a[_0xddddaf(0x460)])==null?void 0x0:_0x8fa08e[_0xddddaf(0x1bf)])??0x0});return this[_0xddddaf(0x2aa)][_0xddddaf(0x3fe)](_0x5d811b,{'table':_0x453016,'rows':_0x2a4969,'baseRows':_0x482475,'globalRevision':this[_0xddddaf(0x13e)],'tableRevision':this[_0xddddaf(0x114)](_0x453016['id']),'cellRevision':_0x365cb5}),_0x2a4969;},{'tableId':_0x453016['id'],'viewId':_0x2c319a==null?void 0x0:_0x2c319a['id'],'viewType':_0x2c319a==null?void 0x0:_0x2c319a[_0x21faa6(0x346)],'records':((_0x50fe84=_0x453016[_0x21faa6(0x1e2)])==null?void 0x0:_0x50fe84['length'])??Object['keys'](_0x453016[_0x21faa6(0x1d7)]??{})[_0x21faa6(0x1bf)]});}[_0x327967(0x38c)](_0x98e6d){const _0x45a3cc=_0x327967;var _0x75dcb1;return I(_0x45a3cc(0x381),()=>{const _0x1e8e16=_0x45a3cc;var _0x308ea0;let _0x20c580=this['_getCellRevision'](_0x98e6d['id']),_0x3f91bc=this['_projectedRowsCache'][_0x1e8e16(0x318)](_0x98e6d['id']);if(_0x3f91bc&&_0x3f91bc[_0x1e8e16(0x172)]===this[_0x1e8e16(0x13e)]&&_0x3f91bc[_0x1e8e16(0x145)]===this[_0x1e8e16(0x114)](_0x98e6d['id'])){if(_0x3f91bc['cellRevision']===_0x20c580&&fi(_0x3f91bc[_0x1e8e16(0x496)],_0x98e6d))return _0x3f91bc[_0x1e8e16(0x496)]=_0x98e6d,_0x3f91bc['rows'];let _0x12c8c8=this[_0x1e8e16(0x2de)](_0x98e6d,_0x3f91bc,_0x20c580);if(_0x12c8c8)return _0x12c8c8;}ui(_0x98e6d)||L(_0x98e6d);let _0x1c5702=(_0x308ea0=_0x98e6d[_0x1e8e16(0x1e2)])!=null&&_0x308ea0[_0x1e8e16(0x1bf)]?_0x98e6d[_0x1e8e16(0x1e2)]:hi(_0x98e6d[_0x1e8e16(0x1d7)]),_0x59218c=I('BaseProjection.materializeTableRows',()=>{const _0x235dc2=_0x1e8e16;let _0x52d37c=[];for(let _0x19c01e of _0x1c5702){let _0x21aa57=_0x98e6d[_0x235dc2(0x1d7)][_0x19c01e];if(!_0x21aa57)continue;let _0x2394c8={};for(let _0x284aa0 of _0x98e6d[_0x235dc2(0x1f8)])_0x2394c8[_0x284aa0]=yt(_0x98e6d,_0x21aa57['id'],_0x284aa0);_0x52d37c[_0x235dc2(0x161)]({'recordId':_0x21aa57['id'],'values':_0x2394c8});}return _0x52d37c;},{'tableId':_0x98e6d['id'],'records':_0x1c5702[_0x1e8e16(0x1bf)],'fields':_0x98e6d['fieldOrder'][_0x1e8e16(0x1bf)]});return this[_0x1e8e16(0x1a0)][_0x1e8e16(0x3fe)](_0x98e6d['id'],{'table':_0x98e6d,'rows':_0x59218c,'rowIndexById':li(_0x59218c),'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x98e6d['id']),'cellRevision':_0x20c580}),_0x59218c;},{'tableId':_0x98e6d['id'],'records':((_0x75dcb1=_0x98e6d[_0x45a3cc(0x1e2)])==null?void 0x0:_0x75dcb1[_0x45a3cc(0x1bf)])??Object['keys'](_0x98e6d[_0x45a3cc(0x1d7)]??{})[_0x45a3cc(0x1bf)],'fields':_0x98e6d['fieldOrder']['length']});}['_patchProjectedRowsForCellInvalidations'](_0x59cc3c,_0x4427c5,_0x4e328f){const _0x2387fe=_0x327967;let _0xb80230=(this['_cellInvalidations']['get'](_0x59cc3c['id'])??[])[_0x2387fe(0x1be)](_0x5d0866=>_0x5d0866[_0x2387fe(0x49e)]>_0x4427c5[_0x2387fe(0x37d)]&&_0x5d0866[_0x2387fe(0x49e)]<=_0x4e328f);if(!_0xb80230[_0x2387fe(0x1bf)])return _0x4427c5[_0x2387fe(0x496)]===_0x59cc3c?_0x4427c5[_0x2387fe(0x26f)]:null;let _0x45d0a0=_0x4427c5[_0x2387fe(0x26f)],_0x36709a=new Map();for(let _0x158313 of _0xb80230){let _0x12a709=_0x36709a['get'](_0x158313[_0x2387fe(0x345)]);_0x12a709||(_0x12a709=new Set(),_0x36709a[_0x2387fe(0x3fe)](_0x158313['recordId'],_0x12a709)),_0x12a709[_0x2387fe(0x12e)](_0x158313['fieldId']);}for(let [_0x4b8841,_0x1aae7f]of _0x36709a){if(!_0x59cc3c[_0x2387fe(0x1d7)][_0x4b8841])return null;let _0x121b0d=_0x4427c5[_0x2387fe(0x153)][_0x2387fe(0x318)](_0x4b8841);if(_0x121b0d==null)return null;_0x45d0a0===_0x4427c5[_0x2387fe(0x26f)]&&(_0x45d0a0=[..._0x4427c5[_0x2387fe(0x26f)]]);let _0x3c7a9e=_0x45d0a0[_0x121b0d],_0x131c26={..._0x3c7a9e[_0x2387fe(0x259)]};_0x1aae7f[_0x2387fe(0x29b)](_0x156c1e=>{_0x131c26[_0x156c1e]=yt(_0x59cc3c,_0x4b8841,_0x156c1e);}),_0x45d0a0[_0x121b0d]={..._0x3c7a9e,'values':_0x131c26};}let _0x177e1e={'table':_0x59cc3c,'rows':_0x45d0a0,'rowIndexById':_0x4427c5[_0x2387fe(0x153)],'globalRevision':this[_0x2387fe(0x13e)],'tableRevision':this[_0x2387fe(0x114)](_0x59cc3c['id']),'cellRevision':_0x4e328f};return this[_0x2387fe(0x1a0)]['set'](_0x59cc3c['id'],_0x177e1e),this['_cellInvalidations'][_0x2387fe(0x3fe)](_0x59cc3c['id'],(this[_0x2387fe(0x340)][_0x2387fe(0x318)](_0x59cc3c['id'])??[])[_0x2387fe(0x1be)](_0x2be939=>_0x2be939[_0x2387fe(0x49e)]>Math[_0x2387fe(0x31a)](0x0,_0x4e328f-0x100))),_0x45d0a0;}[_0x327967(0x3f6)](_0x305a2e,_0x25227e){const _0x372399=_0x327967;let _0x1bea39=new Map(_0x25227e[_0x372399(0x412)](_0x62b642=>[_0x62b642[_0x372399(0x345)],_0x62b642])),_0x14bf1a=!0x1,_0x349afa=_0x305a2e['map'](_0x3ec098=>{let _0x3ca5ae=_0x1bea39['get'](_0x3ec098['recordId']);return _0x3ca5ae?_0x3ca5ae===_0x3ec098?_0x3ec098:(_0x14bf1a=!0x0,_0x3ca5ae):_0x3ec098;});return _0x14bf1a?_0x349afa:_0x305a2e;}[_0x327967(0x27b)](_0x3fb89d,_0x55ac66,_0x52e3c4,_0x107256){const _0x357efe=_0x327967;return!_0x107256[_0x357efe(0x1d0)]||_0x55ac66===_0x52e3c4?!0x1:_0x52e3c4-_0x55ac66>0x100||(this[_0x357efe(0x340)][_0x357efe(0x318)](_0x3fb89d)??[])[_0x357efe(0x35d)](_0x59d24a=>_0x59d24a['revision']>_0x55ac66&&_0x59d24a[_0x357efe(0x49e)]<=_0x52e3c4&&_0x107256[_0x357efe(0x103)](_0x59d24a[_0x357efe(0x173)]));}[_0x327967(0x210)](_0x2e0531){const _0x2fec92=_0x327967;var _0x5662ac,_0x1e23ba;let _0x4c1c55=new Set();return _0x2e0531==null||(_0x5662ac=_0x2e0531[_0x2fec92(0x1be)])==null||_0x5662ac[_0x2fec92(0x39c)][_0x2fec92(0x29b)](_0x520417=>_0x4c1c55[_0x2fec92(0x12e)](_0x520417['fieldId'])),_0x2e0531==null||(_0x1e23ba=_0x2e0531[_0x2fec92(0x460)])==null||_0x1e23ba['forEach'](_0x3f095a=>_0x4c1c55[_0x2fec92(0x12e)](_0x3f095a[_0x2fec92(0x173)])),_0x4c1c55;}[_0x327967(0x165)](_0x52ebe0){const _0x7c1f27=_0x327967;var _0x5e7d75;let _0x4fa2f1=this['_filterSortFieldIds'](_0x52ebe0);return(_0x5e7d75=_0x52ebe0[_0x7c1f27(0x16a)])==null||_0x5e7d75[_0x7c1f27(0x29b)](_0x2a1efa=>_0x4fa2f1[_0x7c1f27(0x12e)](_0x2a1efa[_0x7c1f27(0x173)])),_0x4fa2f1;}[_0x327967(0x15f)](_0x1ea7e2,_0x1cf163,_0x3876e3){const _0x51e7dd=_0x327967;let _0x50405b=_0x1cf163==null?void 0x0:_0x1cf163[_0x51e7dd(0x1be)];if(!(_0x50405b!=null&&_0x50405b[_0x51e7dd(0x39c)][_0x51e7dd(0x1bf)]))return _0x3876e3;let _0x12cc40=_0x50405b[_0x51e7dd(0x39c)]['filter'](_0x13510b=>!Ii(_0x13510b));return _0x12cc40[_0x51e7dd(0x1bf)]?_0x3876e3[_0x51e7dd(0x1be)](_0x2a0d8e=>{const _0x2ab7fa=_0x51e7dd;if(_0x50405b[_0x2ab7fa(0x168)]===_0x2fab97['OR']){for(let _0x33d326 of _0x12cc40){let _0x4ef13c=_0x1ea7e2[_0x2ab7fa(0x305)][_0x33d326[_0x2ab7fa(0x173)]];if(!_0x4ef13c||this[_0x2ab7fa(0x1cc)]['get'](_0x4ef13c['type'])['filter'](_0x2a0d8e[_0x2ab7fa(0x259)][_0x4ef13c['id']],_0x33d326['operator'],_0x33d326['operand'],_0x4ef13c))return!0x0;}return!0x1;}for(let _0x1580a5 of _0x12cc40){let _0x111825=_0x1ea7e2[_0x2ab7fa(0x305)][_0x1580a5[_0x2ab7fa(0x173)]];if(_0x111825&&!this[_0x2ab7fa(0x1cc)][_0x2ab7fa(0x318)](_0x111825[_0x2ab7fa(0x346)])[_0x2ab7fa(0x1be)](_0x2a0d8e[_0x2ab7fa(0x259)][_0x111825['id']],_0x1580a5[_0x2ab7fa(0xfb)],_0x1580a5[_0x2ab7fa(0x2d4)],_0x111825))return!0x1;}return!0x0;}):_0x3876e3;}[_0x327967(0xff)](_0x2d88e1,_0x148503,_0x541eae){const _0x1a5f19=_0x327967;let _0x3ce8fa=(_0x148503==null?void 0x0:_0x148503[_0x1a5f19(0x460)])??[];if(!_0x3ce8fa[_0x1a5f19(0x1bf)])return _0x541eae;let _0x491eb5=_0x3ce8fa[_0x1a5f19(0xeb)](_0x24b840=>{let _0x3e675b=_0x2d88e1['fields'][_0x24b840['fieldId']];return _0x3e675b?[{..._0x24b840,'field':_0x3e675b}]:[];});return _0x491eb5[_0x1a5f19(0x1bf)]?this[_0x1a5f19(0x458)](_0x491eb5)?this['_fastSortRows'](_0x491eb5,_0x541eae):[..._0x541eae]['sort']((_0x177a45,_0x53605b)=>{const _0x3d723a=_0x1a5f19;for(let _0x55285d of _0x491eb5){let _0x14318e=_0x55285d['field'],_0x233b2c=this['_fieldRegistry'][_0x3d723a(0x318)](_0x14318e[_0x3d723a(0x346)])['compare'](_0x177a45[_0x3d723a(0x259)][_0x14318e['id']],_0x53605b[_0x3d723a(0x259)][_0x14318e['id']],_0x14318e);if(_0x233b2c!==0x0)return _0x55285d[_0x3d723a(0x429)]===_0x391c0e[_0x3d723a(0x2e4)]?-_0x233b2c:_0x233b2c;}return 0x0;}):_0x541eae;}[_0x327967(0x458)](_0x4d2f95){const _0x2cfb9f=_0x327967;return _0x4d2f95[_0x2cfb9f(0x44b)](_0x665330=>ai[_0x2cfb9f(0x103)](_0x665330[_0x2cfb9f(0x1fe)][_0x2cfb9f(0x346)]));}['_fastSortRows'](_0x67c882,_0x50ae7b){const _0x73ddc4=_0x327967;return _0x50ae7b['map']((_0x5a8056,_0x37b9eb)=>({'row':_0x5a8056,'index':_0x37b9eb,'keys':_0x67c882[_0x73ddc4(0x412)](_0x4f7608=>_0x5a8056[_0x73ddc4(0x259)][_0x4f7608[_0x73ddc4(0x173)]])}))[_0x73ddc4(0x460)]((_0x5b06bd,_0x4eb02e)=>{const _0x2b6487=_0x73ddc4;for(let _0x3bd72b=0x0;_0x3bd72b<_0x67c882[_0x2b6487(0x1bf)];_0x3bd72b++){let _0x50da42=Fi(_0x5b06bd[_0x2b6487(0x27a)][_0x3bd72b],_0x4eb02e[_0x2b6487(0x27a)][_0x3bd72b]);if(_0x50da42!==0x0)return _0x67c882[_0x3bd72b][_0x2b6487(0x429)]===_0x391c0e[_0x2b6487(0x2e4)]?-_0x50da42:_0x50da42;}return _0x5b06bd[_0x2b6487(0x1b6)]-_0x4eb02e[_0x2b6487(0x1b6)];})[_0x73ddc4(0x412)](_0x12d17e=>_0x12d17e[_0x73ddc4(0x124)]);}[_0x327967(0x297)](_0x181e80,_0x6aa8ed,_0x571b04){const _0x2601af=_0x327967;var _0x327bd0;return I(_0x2601af(0x462),()=>{const _0x242e7a=_0x2601af;var _0x509c36;if(!((_0x509c36=_0x6aa8ed['group'])!=null&&_0x509c36[_0x242e7a(0x1bf)]))return[];let _0x48d1e9=_0x6aa8ed[_0x242e7a(0x16a)][_0x242e7a(0x1be)](_0x1c350a=>_0x181e80['fields'][_0x1c350a[_0x242e7a(0x173)]]);if(!_0x48d1e9[_0x242e7a(0x1bf)])return[];let _0x390258=this[_0x242e7a(0x10a)](_0x181e80['id'],_0x6aa8ed,_0x48d1e9),_0x3f14e8=this['_getCellRevision'](_0x181e80['id']),_0x45828d=this[_0x242e7a(0x4a7)][_0x242e7a(0x318)](_0x390258);if(_0x45828d&&_0x45828d['globalRevision']===this['_globalRevision']&&_0x45828d['tableRevision']===this[_0x242e7a(0x114)](_0x181e80['id'])){if(_0x45828d[_0x242e7a(0x37d)]===_0x3f14e8&&_0x45828d[_0x242e7a(0x26f)]===_0x571b04)return _0x45828d['groups'];if(_0x45828d[_0x242e7a(0x37d)]!==_0x3f14e8&&!this[_0x242e7a(0x27b)](_0x181e80['id'],_0x45828d[_0x242e7a(0x37d)],_0x3f14e8,this[_0x242e7a(0x165)](_0x6aa8ed)))return this['_projectedGroupsCache'][_0x242e7a(0x3fe)](_0x390258,{..._0x45828d,'rows':_0x571b04,'cellRevision':_0x3f14e8}),_0x45828d[_0x242e7a(0x23b)];}let _0x1a850b=new Map();for(let _0x42bff4 of _0x571b04){let _0x5761e5=_0x1a850b,_0xc57e53='';for(let _0x1e1dfd=0x0;_0x1e1dfd<_0x48d1e9['length'];_0x1e1dfd++){let _0x57db21=_0x48d1e9[_0x1e1dfd],_0x579e42=_0x42bff4[_0x242e7a(0x259)][_0x57db21[_0x242e7a(0x173)]],_0x218de1=ci(_0x579e42),_0x2a6a6f=_0x57db21['fieldId']+'\x00'+_0x218de1,_0x4a3fcd=_0xc57e53+'/'+_0x57db21[_0x242e7a(0x173)]+':'+_0x218de1,_0x3f005e=_0x5761e5['get'](_0x2a6a6f);_0x3f005e||(_0x3f005e={'key':_0x218de1,'value':_0x579e42,'path':_0x4a3fcd,'label':_0x218de1||'Empty','fieldId':_0x57db21['fieldId'],'level':_0x1e1dfd,'recordIds':[],'children':new Map()},_0x5761e5[_0x242e7a(0x3fe)](_0x2a6a6f,_0x3f005e)),_0x3f005e[_0x242e7a(0x3d1)][_0x242e7a(0x161)](_0x42bff4[_0x242e7a(0x345)]),_0x5761e5=_0x3f005e[_0x242e7a(0x22d)],_0xc57e53=_0x4a3fcd;}}let _0x1ecbe6=this[_0x242e7a(0x311)](_0x48d1e9,_0x1a850b,0x0);return this[_0x242e7a(0x4a7)]['set'](_0x390258,{'table':_0x181e80,'rows':_0x571b04,'groups':_0x1ecbe6,'globalRevision':this[_0x242e7a(0x13e)],'tableRevision':this[_0x242e7a(0x114)](_0x181e80['id']),'cellRevision':_0x3f14e8}),_0x1ecbe6;},{'tableId':_0x181e80['id'],'viewId':_0x6aa8ed['id'],'viewType':_0x6aa8ed[_0x2601af(0x346)],'rows':_0x571b04[_0x2601af(0x1bf)],'groupFields':((_0x327bd0=_0x6aa8ed['group'])==null?void 0x0:_0x327bd0[_0x2601af(0x1bf)])??0x0});}[_0x327967(0x311)](_0x3baa6c,_0x5f0389,_0xfc0a00){const _0x403f02=_0x327967;var _0x80b0eb;let _0x59a3be=Array[_0x403f02(0x1d1)](_0x5f0389['values']()),_0x37caff=(_0x80b0eb=_0x3baa6c[_0xfc0a00])==null?void 0x0:_0x80b0eb[_0x403f02(0x429)];return _0x37caff&&_0x59a3be[_0x403f02(0x460)]((_0x12d3bd,_0x4219b8)=>{const _0x2afe0b=_0x403f02;let _0x737661=_0x12d3bd[_0x2afe0b(0x2c5)][_0x2afe0b(0x3a4)](_0x4219b8[_0x2afe0b(0x2c5)]);return _0x37caff===_0x391c0e[_0x2afe0b(0x2e4)]?-_0x737661:_0x737661;}),_0x59a3be[_0x403f02(0x412)](_0x3b8f25=>({'key':_0x3b8f25[_0x403f02(0x2c5)],'value':_0x3b8f25[_0x403f02(0x1e1)],'path':_0x3b8f25[_0x403f02(0x361)],'label':_0x3b8f25[_0x403f02(0x33b)],'fieldId':_0x3b8f25[_0x403f02(0x173)],'level':_0x3b8f25[_0x403f02(0x478)],'recordIds':_0x3b8f25['recordIds'],'children':this[_0x403f02(0x311)](_0x3baa6c,_0x3b8f25[_0x403f02(0x22d)],_0xfc0a00+0x1)}));}['_title'](_0x558270,_0x25ea25,_0x387164){const _0xcdede5=_0x327967;let _0x4e21c3=_0x387164??_0x558270[_0xcdede5(0x44a)],_0x5af008=_0x25ea25['values'][_0x4e21c3];return _0x5af008==null?'':String(_0x5af008);}['_recordIds'](_0x2bfd00){const _0xeee49e=_0x327967;if(Array[_0xeee49e(0x3fb)](_0x2bfd00))return _0x2bfd00[_0xeee49e(0x412)](String);if(typeof _0x2bfd00==_0xeee49e(0x2a0)&&_0x2bfd00)return[_0x2bfd00];}[_0x327967(0x23c)](_0x16068b){const _0x4d66b8=_0x327967;return this[_0x4d66b8(0x1cc)]['get'](_0x16068b[_0x4d66b8(0x346)])[_0x4d66b8(0x1f1)](_0x16068b);}};si=X([Y(0x0,_0x1345e2(mr))],si);function ci(_0x1e9498){return _0x1e9498==null?'':String(_0x1e9498);}function li(_0x36c605){const _0x51d5c5=_0x327967;return new Map(_0x36c605[_0x51d5c5(0x412)]((_0x14dd7f,_0x12ae95)=>[_0x14dd7f[_0x51d5c5(0x345)],_0x12ae95]));}function ui(_0x36a983){const _0x2a2e9d=_0x327967;return!!(Array[_0x2a2e9d(0x3fb)](_0x36a983[_0x2a2e9d(0x1e2)])&&_0x36a983[_0x2a2e9d(0x257)]&&_0x36a983['rowId']&&_0x36a983[_0x2a2e9d(0x22a)]&&_0x36a983['colId']&&_0x36a983[_0x2a2e9d(0xdd)]);}function di(_0x2325a9){const _0x1f73c1=_0x327967;let _0x14c2e0=(_0x2325a9==null?void 0x0:_0x2325a9[_0x1f73c1(0x39c)][_0x1f73c1(0x1be)](_0x306d11=>!Ii(_0x306d11)))??[];return!_0x2325a9||!_0x14c2e0['length']?null:{'conjunction':_0x2325a9[_0x1f73c1(0x168)],'conditions':_0x14c2e0['map'](_0x5a48a4=>({'fieldId':_0x5a48a4[_0x1f73c1(0x173)],'operator':_0x5a48a4['operator'],'operand':_0x5a48a4[_0x1f73c1(0x2d4)]}))};}function fi(_0x4c96d6,_0x2d2bed){const _0x40e907=_0x327967;return _0x4c96d6[_0x40e907(0x1d7)]===_0x2d2bed[_0x40e907(0x1d7)]&&_0x4c96d6[_0x40e907(0x1e2)]===_0x2d2bed['recordOrder']&&_0x4c96d6[_0x40e907(0x305)]===_0x2d2bed[_0x40e907(0x305)]&&_0x4c96d6['fieldOrder']===_0x2d2bed[_0x40e907(0x1f8)]&&_0x4c96d6[_0x40e907(0xdd)]===_0x2d2bed['cellData']&&_0x4c96d6[_0x40e907(0x257)]===_0x2d2bed[_0x40e907(0x257)]&&_0x4c96d6[_0x40e907(0x2a7)]===_0x2d2bed[_0x40e907(0x2a7)]&&_0x4c96d6[_0x40e907(0x22a)]===_0x2d2bed[_0x40e907(0x22a)]&&_0x4c96d6[_0x40e907(0x2ba)]===_0x2d2bed['colId'];}function pi(_0x5540a9){const _0x411cb1=_0x327967;return _0x5540a9!=null&&_0x5540a9[_0x411cb1(0x1bf)]?_0x5540a9[_0x411cb1(0x412)](_0x46b4f9=>({'fieldId':_0x46b4f9['fieldId'],'direction':_0x46b4f9[_0x411cb1(0x429)]})):null;}function mi(_0x349060){const _0x59f7de=_0x327967;if(typeof _0x349060!=_0x59f7de(0x3d8)||!_0x349060)return JSON['stringify'](_0x349060)??_0x59f7de(0x367);if(Array[_0x59f7de(0x3fb)](_0x349060))return'['+_0x349060[_0x59f7de(0x412)](mi)[_0x59f7de(0x3a1)](',')+']';let _0x27fd64=_0x349060;return'{'+Object['keys'](_0x27fd64)[_0x59f7de(0x460)]()['map'](_0x50a19d=>JSON[_0x59f7de(0xf8)](_0x50a19d)+':'+mi(_0x27fd64[_0x50a19d]))[_0x59f7de(0x3a1)](',')+'}';}function hi(_0x4758e0){const _0x723c6a=_0x327967;let _0x47fcc8=Object['values'](_0x4758e0)[_0x723c6a(0x460)]((_0x3046fb,_0x45579d)=>_0x3046fb[_0x723c6a(0x44c)][_0x723c6a(0x3a4)](_0x45579d['orderKey'])),_0x23561d=[];for(let _0x2d1dcd of _0x47fcc8)_0x23561d[_0x723c6a(0x161)](_0x2d1dcd['id']);return _0x23561d;}function gi(_0x361f08){const _0x2b4565=_0x327967;return{'weekdays':Array['isArray'](_0x361f08==null?void 0x0:_0x361f08['weekdays'])&&_0x361f08['weekdays'][_0x2b4565(0x1bf)]?[...new Set(_0x361f08[_0x2b4565(0x159)][_0x2b4565(0x1be)](_0x137e4f=>Number[_0x2b4565(0xe9)](_0x137e4f)&&_0x137e4f>=0x1&&_0x137e4f<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2b4565(0x3fb)](_0x361f08==null?void 0x0:_0x361f08[_0x2b4565(0x214)])?_0x361f08[_0x2b4565(0x214)]['flatMap'](_0x47c715=>!_0x47c715||!Number[_0x2b4565(0x138)](_0x47c715[_0x2b4565(0x17a)])?[]:[{'id':String(_0x47c715['id']||_0x2b4565(0xed)+_0x47c715['date']),'date':Z(Number(_0x47c715[_0x2b4565(0x17a)])),'name':String(_0x47c715[_0x2b4565(0x158)]||_0x2b4565(0x276)),'type':_0x47c715[_0x2b4565(0x346)]===_0x2b4565(0x100)?_0x2b4565(0x100):'off'}]):[]};}function _i(_0x21b38d,_0xa5327a,_0x5cffab,_0x3a5ce4){let _0x322773=xi(_0x21b38d,_0xa5327a),_0x2b76a1=Si(_0x21b38d,_0x5cffab),_0x2ed179=vi(_0x21b38d,_0x322773,_0x2b76a1,_0x3a5ce4);return{'scale':_0x21b38d,'start':_0x322773,'end':_0x2b76a1,'unitWidth':bi(_0x21b38d),'majorHeaders':yi(_0x21b38d,_0x322773,_0x2b76a1),'columns':_0x2ed179};}function vi(_0x48be1a,_0x55211b,_0x33495f,_0x2f8dca){const _0x3126b4=_0x327967;let _0x305a4e=[],_0x887f5d=_0x55211b;for(;_0x887f5d<_0x33495f;){let _0x2c0669=_0x48be1a===_0x3126b4(0x324)?ji(_0x887f5d,0x7):_0x48be1a===_0x3126b4(0x102)?Mi(_0x887f5d,0x1):ji(_0x887f5d,0x1);_0x305a4e['push']({'id':_0x48be1a+'-'+_0x887f5d,'label':Ci(_0x48be1a,_0x887f5d,_0x2c0669),'majorLabel':wi(_0x48be1a,_0x887f5d),'start':_0x887f5d,'end':_0x2c0669,'nonWorking':Ei(_0x887f5d,_0x2c0669,_0x2f8dca)}),_0x887f5d=_0x2c0669;}return _0x305a4e;}function yi(_0x150f22,_0xaa5e04,_0x439f12){const _0x3dbfc0=_0x327967;let _0xbbee4f=[],_0x52110b=_0x150f22==='year'?Ai(_0xaa5e04):ki(_0xaa5e04);for(;_0x52110b<_0x439f12;){let _0xa4169d=_0x150f22===_0x3dbfc0(0x102)?Ni(_0x52110b,0x1):Mi(_0x52110b,0x1);_0xbbee4f['push']({'id':_0x3dbfc0(0x1a7)+_0x52110b,'label':_0x150f22===_0x3dbfc0(0x102)?String(new Date(_0x52110b)[_0x3dbfc0(0x45d)]()):Pi(_0x52110b),'start':_0x52110b,'end':_0xa4169d}),_0x52110b=_0xa4169d;}return _0xbbee4f;}function bi(_0x172989){const _0x213b2c=_0x327967;switch(_0x172989){case _0x213b2c(0x39a):return 0xac;case _0x213b2c(0x324):return 0xac;case _0x213b2c(0x102):return 0x88;default:return 0x56;}}function xi(_0xca94f0,_0x5e42cc){return _0xca94f0==='year'?Ai(_0x5e42cc):_0xca94f0==='quarter'?Oi(_0x5e42cc):Z(_0x5e42cc);}function Si(_0x401b21,_0x5628f0){const _0x20ecf7=_0x327967;return _0x401b21===_0x20ecf7(0x102)?Ni(Ai(_0x5628f0),0x1):_0x401b21==='quarter'?ji(Oi(_0x5628f0),0x7):ji(Z(_0x5628f0),0x1);}function Ci(_0x3d0dff,_0x515f18,_0x6c3e39){const _0x4ccf75=_0x327967;let _0xff34b2=new Date(_0x515f18);return _0x3d0dff===_0x4ccf75(0x324)?_0xff34b2[_0x4ccf75(0x279)]()+'-'+new Date(_0x6c3e39-oi)[_0x4ccf75(0x279)]():_0x3d0dff===_0x4ccf75(0x102)?_0xff34b2[_0x4ccf75(0x369)](_0x4ccf75(0x29d),{'month':_0x4ccf75(0x20e),'timeZone':_0x4ccf75(0x3be)}):String(_0xff34b2['getUTCDate']());}function wi(_0x168948,_0x54a466){const _0x35a977=_0x327967;return _0x168948===_0x35a977(0x102)?String(new Date(_0x54a466)[_0x35a977(0x45d)]()):Pi(_0x54a466);}function Ti(_0x1805c1,_0x1aec59,_0x155137){let _0x74e5aa=gi(_0x155137),_0x590640=0x0;for(let _0x405a90=Z(_0x1805c1);_0x405a90<=Z(_0x1aec59);_0x405a90=ji(_0x405a90,0x1))Di(_0x405a90,_0x74e5aa)||_0x590640++;return _0x590640;}function Ei(_0x34aac9,_0x2ec525,_0x107253){if(!_0x107253)return!0x1;let _0x14dd67=gi(_0x107253);for(let _0x1e13b6=Z(_0x34aac9);_0x1e13b6<_0x2ec525;_0x1e13b6=ji(_0x1e13b6,0x1))if(!Di(_0x1e13b6,_0x14dd67))return!0x1;return!0x0;}function Di(_0x10ef4b,_0x272b4d){const _0x2597bc=_0x327967;let _0x377d57=Z(_0x10ef4b),_0x10e2bb=_0x272b4d[_0x2597bc(0x214)]['find'](_0x30b8d1=>Z(_0x30b8d1[_0x2597bc(0x17a)])===_0x377d57);if(_0x10e2bb)return _0x10e2bb[_0x2597bc(0x346)]===_0x2597bc(0x2f8);let _0x249be3=new Date(_0x377d57)[_0x2597bc(0x1ce)](),_0x12410=_0x249be3===0x0?0x7:_0x249be3;return!_0x272b4d[_0x2597bc(0x159)][_0x2597bc(0x45c)](_0x12410);}function Z(_0x3a9820){const _0x1152e7=_0x327967;let _0x4f823c=new Date(_0x3a9820);return Date[_0x1152e7(0x3be)](_0x4f823c['getUTCFullYear'](),_0x4f823c[_0x1152e7(0x4a6)](),_0x4f823c[_0x1152e7(0x279)]());}function Oi(_0x576e37){let _0x21b1d1=Z(_0x576e37),_0x32b78c=new Date(_0x21b1d1)['getUTCDay']();return ji(_0x21b1d1,-(_0x32b78c===0x0?0x6:_0x32b78c-0x1));}function ki(_0x1f2dae){const _0x21cb3d=_0x327967;let _0x14c406=new Date(_0x1f2dae);return Date[_0x21cb3d(0x3be)](_0x14c406[_0x21cb3d(0x45d)](),_0x14c406[_0x21cb3d(0x4a6)](),0x1);}function Ai(_0x238f15){const _0x1febec=_0x327967;let _0x25bfe8=new Date(_0x238f15);return Date[_0x1febec(0x3be)](_0x25bfe8[_0x1febec(0x45d)](),0x0,0x1);}function ji(_0x4d5bc3,_0x5a03a9){return _0x4d5bc3+_0x5a03a9*oi;}function Mi(_0x4f4a43,_0x39c257){const _0x2e8ae6=_0x327967;let _0x1650a8=new Date(_0x4f4a43);return Date[_0x2e8ae6(0x3be)](_0x1650a8[_0x2e8ae6(0x45d)](),_0x1650a8['getUTCMonth']()+_0x39c257,0x1);}function Ni(_0xe90477,_0x25ae7d){const _0x56911b=_0x327967;let _0x1c9951=new Date(_0xe90477);return Date['UTC'](_0x1c9951[_0x56911b(0x45d)]()+_0x25ae7d,0x0,0x1);}function Pi(_0xf81423){const _0x2ced52=_0x327967;let _0x5afe3c=new Date(_0xf81423);return _0x5afe3c[_0x2ced52(0x369)]('en-US',{'month':_0x2ced52(0x20e),'timeZone':'UTC'})+'\x20'+_0x5afe3c[_0x2ced52(0x45d)]();}function Fi(_0x590af4,_0x4290fb){const _0x4c4cf3=_0x327967;if(_0x590af4==null&&_0x4290fb==null)return 0x0;if(_0x590af4==null)return-0x1;if(_0x4290fb==null)return 0x1;if(typeof _0x590af4=='boolean'||typeof _0x4290fb==_0x4c4cf3(0x224))return Number(_0x590af4===!0x0)-Number(_0x4290fb===!0x0);let _0x20bed0=Number(_0x590af4),_0x40d5cd=Number(_0x4290fb),_0x5f292c=Number[_0x4c4cf3(0x138)](_0x20bed0),_0x4c36c7=Number['isFinite'](_0x40d5cd);return _0x5f292c&&_0x4c36c7?_0x20bed0-_0x40d5cd:_0x5f292c?0x1:_0x4c36c7?-0x1:String(_0x590af4)[_0x4c4cf3(0x3a4)](String(_0x4290fb));}function Ii(_0x4f3f1c){const _0x35d1dc=_0x327967;if(_0x4f3f1c['operator']!=='is'&&_0x4f3f1c[_0x35d1dc(0xfb)]!=='isNot')return!0x1;let _0x2c9587=_0x4f3f1c[_0x35d1dc(0x2d4)];return _0x2c9587==null?!0x0:typeof _0x2c9587==_0x35d1dc(0x2a0)?_0x2c9587[_0x35d1dc(0x140)]()==='':Array[_0x35d1dc(0x3fb)](_0x2c9587)?_0x2c9587[_0x35d1dc(0x1bf)]===0x0:!0x1;}function Li(_0x1f2395,_0x1f2dfb){const _0x140629=_0x327967;var _0x5dc942;let _0x5474df=Array['isArray']((_0x5dc942=_0x1f2395[_0x140629(0x174)])==null?void 0x0:_0x5dc942[_0x140629(0x495)])?_0x1f2395[_0x140629(0x174)][_0x140629(0x495)]:[];for(let _0x466752 of _0x5474df){if(_0x466752==null)continue;if(typeof _0x466752==_0x140629(0x2a0)){if(_0x466752===_0x1f2dfb)return{'id':_0x466752,'name':_0x466752};continue;}let _0x3d0e3e=_0x466752,_0x37d564=String(_0x3d0e3e['id']??_0x3d0e3e[_0x140629(0x158)]??''),_0x20189e=String(_0x3d0e3e['name']??_0x3d0e3e['id']??_0x37d564);if(_0x37d564===_0x1f2dfb||_0x20189e===_0x1f2dfb)return{'id':_0x37d564,'name':_0x20189e,'color':_0x3d0e3e[_0x140629(0x233)]==null?void 0x0:String(_0x3d0e3e[_0x140629(0x233)])};}return null;}let Ri=function(_0x28320a){const _0x49330f=_0x327967;return _0x28320a[_0x49330f(0x185)]=_0x49330f(0x1e3),_0x28320a[_0x49330f(0x49b)]=_0x49330f(0x1f0),_0x28320a;}({});const Q={'id':_0x327967(0x444),'type':_0x281ad9[_0x327967(0x48e)],'handler'(_0x2e3029,_0x1ea6ca){const _0x502e6b=_0x327967;let {unitId:_0x834ba1,op:_0x271469}=_0x1ea6ca,_0x8c6820=_0x2e3029[_0x502e6b(0x318)](_0x3a38b9)[_0x502e6b(0x1d4)](_0x834ba1,_0x49a6be[_0x502e6b(0xf9)]);if(!_0x8c6820)return!0x1;let _0x8d2413=_0x8c6820[_0x502e6b(0x32b)](),_0x362826=new z(),_0x4814cd=_0x362826[_0x502e6b(0x19d)](_0x271469),_0x4445a6=_0x362826[_0x502e6b(0x240)](_0x8d2413,_0x271469);return _0x8c6820[_0x502e6b(0x22b)](_0x4445a6),zi(_0x4445a6,_0x4814cd,_0x2e3029[_0x502e6b(0x318)](ii)),!0x0;}};function zi(_0x58dadf,_0x457071,_0x27f939){const _0x44cca9=_0x327967;let _0x47a0b6=new Set(),_0x233c6e=new Set(),_0x423e56=new Set();for(let _0x1f065a of _0x457071){if(_0x1f065a[_0x44cca9(0x3bf)]===_0x44cca9(0x333)&&_0x1f065a[_0x44cca9(0x19a)]&&_0x1f065a[_0x44cca9(0x2d0)]){let _0x13e4a1=_0x1f065a['tableId']+'\x00'+_0x1f065a[_0x44cca9(0x2d0)];_0x423e56[_0x44cca9(0x103)](_0x13e4a1)||(_0x423e56[_0x44cca9(0x12e)](_0x13e4a1),_0x27f939[_0x44cca9(0x203)](_0x1f065a[_0x44cca9(0x19a)],_0x1f065a[_0x44cca9(0x2d0)]));continue;}if(_0x1f065a[_0x44cca9(0x3bf)]==='field'&&_0x1f065a[_0x44cca9(0x19a)]&&_0x1f065a['fieldId']){let _0x6e0100=_0x1f065a[_0x44cca9(0x19a)]+'\x00'+_0x1f065a['fieldId'];_0x233c6e[_0x44cca9(0x103)](_0x6e0100)||(_0x233c6e['add'](_0x6e0100),_0x27f939['invalidateByField'](_0x1f065a[_0x44cca9(0x19a)],_0x1f065a[_0x44cca9(0x173)]));continue;}if(_0x1f065a[_0x44cca9(0x3bf)]!==_0x44cca9(0x228)){_0x27f939[_0x44cca9(0x1b8)]();return;}let _0x31683c=Bi(_0x58dadf,_0x1f065a);if(!_0x31683c){_0x27f939[_0x44cca9(0x1b8)]();return;}let _0x4d3d0b=_0x31683c['tableId']+'\x00'+_0x31683c[_0x44cca9(0x345)]+'\x00'+_0x31683c['fieldId'];_0x47a0b6['has'](_0x4d3d0b)||(_0x47a0b6['add'](_0x4d3d0b),_0x27f939[_0x44cca9(0x3b0)](_0x31683c['tableId'],_0x31683c[_0x44cca9(0x345)],_0x31683c[_0x44cca9(0x173)]));}}function Bi(_0x3e1c2a,_0x35cda0){const _0x3e8f68=_0x327967;var _0x2727f3,_0x21189b;if(!_0x35cda0[_0x3e8f68(0x19a)])return null;if(_0x35cda0['recordId']&&_0x35cda0[_0x3e8f68(0x173)])return{'tableId':_0x35cda0['tableId'],'recordId':_0x35cda0[_0x3e8f68(0x345)],'fieldId':_0x35cda0[_0x3e8f68(0x173)]};if(_0x35cda0[_0x3e8f68(0x124)]==null||_0x35cda0[_0x3e8f68(0x115)]==null)return null;let _0x58e525=_0x3e1c2a[_0x3e8f68(0x486)][_0x35cda0['tableId']],_0x2b592c=_0x58e525==null||(_0x2727f3=_0x58e525[_0x3e8f68(0x2a7)])==null?void 0x0:_0x2727f3[_0x35cda0[_0x3e8f68(0x124)]],_0xb8e05b=_0x58e525==null||(_0x21189b=_0x58e525[_0x3e8f68(0x2ba)])==null?void 0x0:_0x21189b[_0x35cda0['column']];return!_0x2b592c||!_0xb8e05b?null:{'tableId':_0x35cda0[_0x3e8f68(0x19a)],'recordId':_0x2b592c,'fieldId':_0xb8e05b};}const Vi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x23a4c4['createRegExpFromSafeFragment'](String[_0x327967(0x1c8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x23a4c4[_0x327967(0x17f)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x23a4c4['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x23a4c4['createRegExpFromSafeFragment'](String[_0x327967(0x1c8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x327967(0x3c8)](_0x19d377,_0x3004d7=_0x19d377['id']){const _0x46c878=_0x327967;var _0xf477cf;let _0x14bdb1=((_0xf477cf=_0x19d377[_0x46c878(0x1e2)])==null?void 0x0:_0xf477cf['length'])??Object[_0x46c878(0x259)](_0x19d377[_0x46c878(0x1d7)])[_0x46c878(0x1bf)];return{'sheetId':_0x3004d7,'titleMap':new Map(_0x19d377[_0x46c878(0x1f8)]['map']((_0x31e81d,_0x3c3fdc)=>{const _0x204d1e=_0x46c878;var _0x14a0ac;return[((_0x14a0ac=_0x19d377['fields'][_0x31e81d])==null?void 0x0:_0x14a0ac[_0x204d1e(0x158)])??_0x31e81d,_0x3c3fdc];})),'range':{'startRow':0x0,'endRow':Math[_0x46c878(0x31a)](0x0,_0x14bdb1-0x1),'startColumn':0x0,'endColumn':Math[_0x46c878(0x31a)](0x0,_0x19d377['fieldOrder'][_0x46c878(0x1bf)]-0x1)},'showHeader':!0x1};}[_0x327967(0x2f6)](_0x1ef916,_0x436091){const _0x575823=_0x327967;let _0x5395a4=[],_0x4b431e=_0x436091?new Set(_0x436091):null,_0xd863e9=_0xbad9f1(_0x1ef916);return Object[_0x575823(0x259)](_0x1ef916[_0x575823(0x486)])['filter'](_0x1523fe=>!_0x4b431e||_0x4b431e[_0x575823(0x103)](_0x1523fe['id']))[_0x575823(0x29b)](_0x1cbb7c=>{const _0x576111=_0x575823;let _0x3f1bd3=this['createSuperTableReference'](_0x1cbb7c,_0x1cbb7c['id']);_0x5395a4[_0x576111(0x161)]({'tableId':_0x1cbb7c['id'],'tableName':_0xd863e9[_0x576111(0x318)](_0x1cbb7c['id']),'reference':_0x3f1bd3});}),_0x5395a4;}['validateFormula'](_0x57c841,_0x34d39a,_0x48d4f3={}){const _0x1e8c32=_0x327967;let _0x3614cf=_0x57c841[_0x1e8c32(0x140)]();if(!_0x3614cf)return{'valid':!0x0};if(na(_0x3614cf))return{'valid':!0x1,'reason':_0x1e8c32(0x443)};let _0x1a6002=_0x48d4f3[_0x1e8c32(0x484)]?_0xbad9f1(_0x48d4f3[_0x1e8c32(0x484)]):void 0x0;for(let _0xc1527b of ta(_0x3614cf)){let _0x556142=ua(_0xc1527b,_0x34d39a,_0x48d4f3[_0x1e8c32(0x484)],_0x1a6002);if(!_0x556142[_0x1e8c32(0x496)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0xc1527b[_0x1e8c32(0x2a9)]+_0x1e8c32(0x45f)};if(!_0x556142[_0x1e8c32(0x1fe)])return{'valid':!0x1,'reason':_0x1e8c32(0xf0)+_0xc1527b[_0x1e8c32(0x489)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x327967(0x236)](_0x1de3ae,_0xc5405b,_0x4b8d99={}){const _0x5084c2=_0x327967;let _0x4ea440=new Set();for(let _0xf10feb of this[_0x5084c2(0x2dd)](_0x1de3ae,_0xc5405b,_0x4b8d99))_0xf10feb['tableId']===_0xc5405b['id']&&_0x4ea440[_0x5084c2(0x12e)](_0xf10feb['fieldId']);return Array[_0x5084c2(0x1d1)](_0x4ea440);}['getStructuredDependencies'](_0x2b9dec,_0x2b9bdc,_0x40ca2f={}){const _0x2840e1=_0x327967;let _0x15e538=new Map(),_0x35a0c3=_0x40ca2f['snapshot']?_0xbad9f1(_0x40ca2f[_0x2840e1(0x484)]):void 0x0;for(let _0x4abadc of ta(_0x2b9dec)){let _0x31bf5a=ua(_0x4abadc,_0x2b9bdc,_0x40ca2f[_0x2840e1(0x484)],_0x35a0c3);if(!_0x31bf5a[_0x2840e1(0x496)]||!_0x31bf5a[_0x2840e1(0x1fe)])continue;let _0x512ea7=_0x31bf5a['table']['id']+'\x1f'+_0x31bf5a[_0x2840e1(0x1fe)]['id'];_0x15e538[_0x2840e1(0x3fe)](_0x512ea7,{'tableId':_0x31bf5a['table']['id'],'fieldId':_0x31bf5a[_0x2840e1(0x1fe)]['id']});}return Array[_0x2840e1(0x1d1)](_0x15e538[_0x2840e1(0x259)]());}};function Zi(_0x7df6c1,_0x39b2ba){const _0xf4b64a=_0x327967;var _0x13170a;let _0x3c54f4=[],_0x5283f5=(_0x13170a=_0x39b2ba[_0xf4b64a(0xf5)])==null?void 0x0:_0x13170a[_0x7df6c1['id']];return _0x5283f5&&Object['entries'](_0x5283f5)[_0xf4b64a(0x29b)](([_0x4821cc,_0x6141ec])=>{const _0x5af7ad=_0xf4b64a;let _0x5a51f9=_0x7df6c1[_0x5af7ad(0x486)][_0x4821cc];if(!_0x5a51f9||!_0x6141ec)return;let _0xe7318e=L(_0x5a51f9),_0x96d914=[];new _0x53a4cf(_0x6141ec)[_0x5af7ad(0x34a)]((_0x2e3c73,_0x17698a,_0x52a7bb)=>{const _0x5053e2=_0x5af7ad;let _0x2df88b=Qi(_0xe7318e,_0x2e3c73,_0x17698a,_0x52a7bb);_0x2df88b&&_0x96d914[_0x5053e2(0x161)](_0x2df88b);}),_0x96d914[_0x5af7ad(0x1bf)]&&_0x3c54f4['push']({'unitId':_0x7df6c1['id'],'tableId':_0x4821cc,'patches':_0x96d914});}),_0x3c54f4;}function Qi(_0x427eb6,_0x2b46c6,_0x4a5a9f,_0x2dedd2){const _0x3772fc=_0x327967;var _0xe98c0,_0x532d52,_0x540fcc;let _0x24682a=(_0xe98c0=_0x427eb6['rowId'])==null?void 0x0:_0xe98c0[_0x2b46c6],_0x4d99eb=(_0x532d52=_0x427eb6[_0x3772fc(0x2ba)])==null?void 0x0:_0x532d52[_0x4a5a9f];if(!_0x24682a||!_0x427eb6[_0x3772fc(0x1d7)][_0x24682a]||!_0x4d99eb)return null;let _0x8a0943=_0x427eb6[_0x3772fc(0x305)][_0x4d99eb];if(!_0x8a0943||_0x8a0943[_0x3772fc(0x346)]!==_0x3772fc(0x377))return null;let _0x465ec1=String(((_0x540fcc=_0x8a0943[_0x3772fc(0x174)])==null?void 0x0:_0x540fcc[_0x3772fc(0x377)])??'')[_0x3772fc(0x140)](),_0x40d288=(_0x2dedd2==null?void 0x0:_0x2dedd2['v'])??null,_0x3c7dcc={'v':_0x40d288,'t':ea(_0x40d288),..._0x2b46c6===0x0&&_0x465ec1?{'f':_0x465ec1}:{},'si':_0x8a0943['id']};return $i(vt(_0x427eb6,_0x24682a,_0x4d99eb),_0x3c7dcc)?null:{'row':_0x2b46c6,'col':_0x4a5a9f,'value':_0x3c7dcc};}function $i(_0x1d1863,_0x3f0426){return _0x1d1863!=null&&Object['is'](_0x1d1863['v']??null,_0x3f0426['v']??null)&&_0x1d1863['t']===_0x3f0426['t']&&_0x1d1863['f']===_0x3f0426['f']&&_0x1d1863['si']===_0x3f0426['si'];}function ea(_0x18f631){const _0xbab220=_0x327967;return typeof _0x18f631==_0xbab220(0x218)?_0x556bff[_0xbab220(0x39f)]:typeof _0x18f631==_0xbab220(0x224)?_0x556bff[_0xbab220(0x125)]:typeof _0x18f631=='string'?_0x556bff['STRING']:null;}function ta(_0x29166c){const _0xbae715=_0x327967;let _0x35ec2a=ia(_0x29166c,()=>''),_0x33c561=new Map(),_0x2aee04=_0x3d2c71=>{const _0x548d73=_0x11ae;_0x33c561[_0x548d73(0x3fe)]((_0x3d2c71[_0x548d73(0x2a9)]??'')+'\x1f'+_0x3d2c71[_0x548d73(0x489)],_0x3d2c71);};for(let _0x1e2278 of _0x35ec2a[_0xbae715(0x28d)](Ui))_0x2aee04({'fieldName':_0x1e2278[0x1],'scope':_0xbae715(0x38a)});_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Wi,(_0x41657c,_0x1d5b51,_0x18ed51,_0x193964)=>(_0x2aee04({'tableName':_0x1d5b51,'fieldName':_0x193964,'scope':_0x18ed51['toLowerCase']()===_0xbae715(0x35f)?_0xbae715(0x35f):_0xbae715(0x38a)}),'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Gi,(_0x21e1cb,_0x5f4995,_0x1a2288)=>(_0x2aee04({'tableName':_0x5f4995,'fieldName':_0x1a2288,'scope':_0xbae715(0x38a)}),'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](qi,(_0x4fd06d,_0x525fd4,_0x2d6aa4,_0x6949da)=>(_0x2aee04({'fieldName':_0x6949da,'scope':_0x2d6aa4[_0xbae715(0x3af)]()===_0xbae715(0x35f)?'data':_0xbae715(0x38a)}),_0x525fd4+'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Ji,(_0x123b3b,_0xc7d889,_0x133283)=>(_0x2aee04({'fieldName':_0x133283,'scope':_0xbae715(0x38a)}),_0xc7d889+'\x20'));for(let _0x4f69a7 of _0x35ec2a[_0xbae715(0x28d)](Ki))_0x2aee04({'tableName':_0x4f69a7[0x1],'fieldName':_0x4f69a7[0x2]});for(let _0x285289 of _0x35ec2a[_0xbae715(0x28d)](Yi))_0x2aee04({'fieldName':_0x285289[0x2],'scope':'this-row'});return Array[_0xbae715(0x1d1)](_0x33c561['values']());}function na(_0x8da672){const _0x5b7908=_0x327967;let _0x45d44b=ia(_0x8da672,()=>'\x20')[_0x5b7908(0x42d)](Ui,'\x20')[_0x5b7908(0x42d)](Wi,'\x20')[_0x5b7908(0x42d)](Gi,'\x20')[_0x5b7908(0x42d)](qi,'$1\x20')['replace'](Ji,_0x5b7908(0x33d))[_0x5b7908(0x42d)](Ki,'\x20')['replace'](Yi,_0x5b7908(0x33d));return Vi[_0x5b7908(0x3e2)](_0x45d44b);}function ra(_0x3be881,_0x4b7225){return ca(oa(_0x3be881,_0x4b7225),_0x4b7225);}function ia(_0x5bfbe3,_0x4bcfc8){return aa(ra(_0x5bfbe3,_0x4bcfc8),_0x4bcfc8);}function aa(_0x324d35,_0x1931e6){const _0x4f7966=_0x327967;return _0x324d35[_0x4f7966(0x42d)](/"(?:""|[^"])*"/g,_0x1931e6);}function oa(_0x5d75fe,_0x30f796){const _0x385c7e=_0x327967;return Hi[_0x385c7e(0x167)]=0x0,_0x5d75fe['replace'](Hi,(_0x17b19f,_0x481c6e)=>la(_0x5d75fe,_0x481c6e)?_0x17b19f:_0x30f796(_0x17b19f));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x3a8851,_0x3bce90){const _0xe07bac=_0x327967;let _0x3fa2e4=[];for(sa['lastIndex']=0x0;;){let _0x5dc34c=sa[_0xe07bac(0x1ab)](_0x3a8851);if(_0x5dc34c==null)break;if(la(_0x3a8851,_0x5dc34c[_0xe07bac(0x1b6)]))continue;let _0x5b43a5=sa[_0xe07bac(0x167)]-0x1,_0x3c2cfa=0x0;for(let _0x4daefb=_0x5b43a5;_0x4daefb<_0x3a8851['length'];_0x4daefb++)if(_0x3a8851[_0x4daefb]==='['&&_0x3c2cfa++,_0x3a8851[_0x4daefb]===']'&&(_0x3c2cfa--,_0x3c2cfa===0x0)){_0x3fa2e4[_0xe07bac(0x161)]({'start':_0x5dc34c['index'],'end':_0x4daefb+0x1}),sa[_0xe07bac(0x167)]=_0x4daefb+0x1;break;}}if(_0x3fa2e4[_0xe07bac(0x1bf)]===0x0)return _0x3a8851;let _0x4c5780='',_0x546588=0x0;for(let _0x39520a of _0x3fa2e4)_0x4c5780+=_0x3a8851[_0xe07bac(0x348)](_0x546588,_0x39520a[_0xe07bac(0x47f)]),_0x4c5780+=_0x3bce90(_0x3a8851[_0xe07bac(0x348)](_0x39520a['start'],_0x39520a[_0xe07bac(0x3c3)])),_0x546588=_0x39520a['end'];return _0x4c5780+_0x3a8851[_0xe07bac(0x348)](_0x546588);}function la(_0x32bc26,_0x489e9a){let _0x490b9c=!0x1;for(let _0x31293d=0x0;_0x31293d<_0x489e9a;_0x31293d++)if(_0x32bc26[_0x31293d]==='\x22'){if(_0x490b9c&&_0x32bc26[_0x31293d+0x1]==='\x22'){_0x31293d++;continue;}_0x490b9c=!_0x490b9c;}return _0x490b9c;}function ua(_0x458ea8,_0x524243,_0x1980e6,_0x5c7033){const _0x523eab=_0x327967;let _0x2cca82=da(_0x458ea8[_0x523eab(0x2a9)],_0x524243,_0x1980e6,_0x5c7033);return{'table':_0x2cca82,'field':_0x2cca82?Object[_0x523eab(0x259)](_0x2cca82[_0x523eab(0x305)])['find'](_0x45e5d5=>_0x45e5d5['name']===_0x458ea8[_0x523eab(0x489)]):void 0x0};}function da(_0x186bf3,_0x107265,_0x59a540,_0x1fd4e1){const _0x49a255=_0x327967;if(!_0x186bf3)return _0x107265;if(!_0x59a540){var _0x46bd17;let _0x462914=_0x186bf3[_0x49a255(0x3af)]();return _0x462914===_0x107265['id'][_0x49a255(0x3af)]()||_0x462914===_0x107265[_0x49a255(0x158)]['toLowerCase']()||_0x462914===((_0x46bd17=_0x107265[_0x49a255(0x3a8)])==null?void 0x0:_0x46bd17['toLowerCase']())?_0x107265:void 0x0;}let _0x507dfc=_0x186bf3[_0x49a255(0x3af)](),_0x1e129e=_0x1fd4e1??_0xbad9f1(_0x59a540),_0x258f00=Object[_0x49a255(0x259)](_0x59a540[_0x49a255(0x486)])[_0x49a255(0x1be)](_0x5326a7=>{const _0xa4bbc1=_0x49a255;var _0x1704b8;return _0x5326a7['id'][_0xa4bbc1(0x3af)]()===_0x507dfc||_0x5326a7['name'][_0xa4bbc1(0x3af)]()===_0x507dfc||((_0x1704b8=_0x1e129e[_0xa4bbc1(0x318)](_0x5326a7['id']))==null?void 0x0:_0x1704b8[_0xa4bbc1(0x3af)]())===_0x507dfc||fa(_0x5326a7['id'])[_0xa4bbc1(0x3af)]()===_0x507dfc;});return _0x258f00[_0x49a255(0x1bf)]===0x1?_0x258f00[0x0]:void 0x0;}function fa(_0x158831){const _0x4a307d=_0x327967;return'_T_'+Array[_0x4a307d(0x1d1)](_0x158831,_0x29e4b3=>{const _0x487def=_0x4a307d;var _0x1fca56;return/[A-Za-z0-9]/[_0x487def(0x3e2)](_0x29e4b3)?_0x29e4b3:'_x'+(((_0x1fca56=_0x29e4b3[_0x487def(0x23f)](0x0))==null?void 0x0:_0x1fca56[_0x487def(0x360)](0x10))??'0')+'_';})[_0x4a307d(0x3a1)]('');}const pa=new Xi();function ma(_0x5bcb26,_0x306484,_0x19314c){const _0x284e57=_0x327967;var _0x32a49b;if(_0x19314c[_0x284e57(0x346)]!==_0x1013ad[_0x284e57(0x3d9)])return!0x0;let _0xa14f8=String(((_0x32a49b=_0x19314c['config'])==null?void 0x0:_0x32a49b[_0x284e57(0x377)])??''),_0x119cc3=_0x5bcb26['getSnapshot']();return pa[_0x284e57(0x1ec)](_0xa14f8,_0x119cc3['tables'][_0x306484],{'snapshot':_0x119cc3})[_0x284e57(0x48b)];}function $(_0x2bba53,_0x259d6d,_0x45e196){const _0x4222c1=_0x327967;let _0x3cde8a=_0x2bba53[_0x4222c1(0x32b)]()['tables'][_0x259d6d];if(!_0x3cde8a)return!0x1;let {viewIds:_0x1808b1,fieldIds:_0x27ee62,recordIds:_0x2d1d10}=_0x45e196||{};if(_0x1808b1){for(let _0x23fdc4 of _0x1808b1)if(!_0x3cde8a[_0x4222c1(0x1eb)][_0x23fdc4])return!0x1;}if(_0x27ee62){for(let _0x3d23cf of _0x27ee62)if(!_0x3cde8a[_0x4222c1(0x305)][_0x3d23cf])return!0x1;}if(_0x2d1d10){for(let _0x10b254 of _0x2d1d10)if(!_0x3cde8a[_0x4222c1(0x1d7)][_0x10b254])return!0x1;}return!0x0;}function ha(_0x7d40aa,_0x45ee44,_0x368601){const _0x29eccd=_0x327967;if(_0x368601['id']===_0x40fc9d||_0x368601['type']===_0x1013ad['RecordId']||_0x4fd5e0(_0x368601[_0x29eccd(0x158)])||!ma(_0x7d40aa,_0x45ee44,_0x368601))return!0x1;let _0x164fc8=_0x7d40aa[_0x29eccd(0x32b)]();if(!Be(_0x164fc8,_0x368601)[_0x29eccd(0x48b)])return!0x1;if(_0x368601[_0x29eccd(0x346)]!==_0x1013ad[_0x29eccd(0x12f)])return!0x0;let _0x3ad3da=N(_0x368601);if(!_0x3ad3da)return!0x1;if(_0x3ad3da[_0x29eccd(0x382)]===void 0x0)return!0x0;if(_0x3ad3da[_0x29eccd(0x382)]!==_0x3e0df7[_0x29eccd(0x4a4)]||_0x3ad3da[_0x29eccd(0x16b)]!==_0x45ee44||_0x3ad3da[_0x29eccd(0x3eb)]!==!0x1)return!0x1;let _0x45a205=_0x164fc8[_0x29eccd(0x486)][_0x45ee44];return!Object['values'](_0x45a205['fields'])[_0x29eccd(0x35d)](_0x1e02cb=>{const _0x909003=_0x29eccd;var _0x4d93ac;return _0x1e02cb['id']!==_0x368601['id']&&_0x1e02cb[_0x909003(0x346)]===_0x1013ad[_0x909003(0x12f)]&&((_0x4d93ac=N(_0x1e02cb))==null?void 0x0:_0x4d93ac[_0x909003(0x382)])===_0x3e0df7['Parent'];});}function ga(_0x49bb7e,_0x5ca57a,_0x43433b,_0x18b87c){const _0x48174e=_0x327967;var _0x3c3834;let _0x211241=_0x49bb7e[_0x48174e(0x32b)](),_0xe2ad31=(_0x3c3834=_0x211241[_0x48174e(0x486)][_0x5ca57a])==null?void 0x0:_0x3c3834[_0x48174e(0x305)][_0x43433b];return!_0xe2ad31||_0xe2ad31['id']===_0x40fc9d||_0xe2ad31[_0x48174e(0x346)]===_0x1013ad[_0x48174e(0x212)]?!0x1:_0xe2ad31[_0x48174e(0x346)]!==_0x1013ad['RecordLink']||Ve(_0x211241,_0xe2ad31,ya(_0x18b87c))[_0x48174e(0x48b)];}function _a(_0x10d8af,_0x525ca0,_0x329ffd){const _0x52c015=_0x327967;let _0x25607d=_0x10d8af[_0x52c015(0x32b)]()[_0x52c015(0x486)][_0x525ca0];return!_0x25607d||!_0x522a38(_0x329ffd['id'])||_0x25607d[_0x52c015(0x1d7)][_0x329ffd['id']]||Object[_0x52c015(0x331)][_0x52c015(0x150)][_0x52c015(0x171)](_0x329ffd[_0x52c015(0x259)],_0x40fc9d)&&_0x329ffd[_0x52c015(0x259)][_0x40fc9d]!==_0x329ffd['id']?!0x1:Object[_0x52c015(0x209)](_0x329ffd[_0x52c015(0x259)])[_0x52c015(0x44b)](([_0x209d64,_0x29fb96])=>_0x209d64===_0x40fc9d||ga(_0x10d8af,_0x525ca0,_0x209d64,_0x29fb96));}function va(_0x32f51f){return{..._0x32f51f,'values':{..._0x32f51f['values'],[_0x40fc9d]:_0x32f51f['id']}};}function ya(_0x5eae0b){if(_0x5eae0b&&typeof _0x5eae0b=='object'&&!Array['isArray'](_0x5eae0b)&&'v'in _0x5eae0b){let _0x3983f8=_0x5eae0b['v'];return _0x3983f8===void 0x0?null:_0x3983f8;}return _0x5eae0b;}function ba(_0x496313,_0x476202,_0x519f4c,_0x208fb7){const _0x492f02=_0x327967;let _0x2bb7c9=_0x496313['getSnapshot']()['tables'][_0x476202];if(!_0x2bb7c9)return null;let _0xc71ae0=qe(_0x2bb7c9),_0x58a614=_0xc71ae0??Je(_0x2bb7c9),_0x586f24=_0x519f4c['some'](_0x47926e=>Object[_0x492f02(0x331)][_0x492f02(0x150)][_0x492f02(0x171)](_0x47926e['values'],_0x58a614)),_0x116bdc=_0xc71ae0?_0x2bb7c9[_0x492f02(0x305)][_0xc71ae0]:_0x586f24?Ye(_0x2bb7c9,_0x58a614,_0x208fb7):null,_0x524eda=[];for(let _0x33de56 of _0x519f4c){let _0x1bb899=_0x33de56['values'][_0x58a614],_0x50108a=_0x116bdc!==null&&Object[_0x492f02(0x331)][_0x492f02(0x150)]['call'](_0x33de56[_0x492f02(0x259)],_0x58a614),_0x4c74e9=ya(_0x1bb899),_0x2c9ca2=null;if(_0x50108a){if(typeof _0x4c74e9!=_0x492f02(0x2a0)||!ze(_0x4c74e9,!0x1)[_0x492f02(0x48b)])return null;_0x2c9ca2=_0x4c74e9;}let _0x4cf472={};if(Object[_0x492f02(0x209)](_0x33de56['values'])[_0x492f02(0x29b)](([_0x420613,_0x2ed0f2])=>{(!_0x50108a||_0x420613!==_0x58a614)&&(_0x4cf472[_0x420613]=_0x2ed0f2);}),!_a(_0x496313,_0x476202,{..._0x33de56,'values':_0x4cf472}))return null;let _0x153415={..._0x33de56[_0x492f02(0x259)]};_0x2c9ca2!==null&&(_0x153415[_0x58a614]=_0x2c9ca2),_0x524eda[_0x492f02(0x161)](va({..._0x33de56,'values':_0x153415}));}return{'records':_0x524eda,'hierarchyFieldToMaterialize':_0xc71ae0?null:_0x116bdc,'hierarchyChanges':Qe(_0x2bb7c9,_0x524eda)};}const xa={'id':'base.command.batch-create-base-records','type':_0x281ad9['COMMAND'],'handler'(_0x261721,_0x57c36a){const _0x29d390=_0x327967;if(!_0x57c36a)return!0x1;let _0x374f74=_0x261721[_0x29d390(0x318)](_0x3a38b9),{unitId:_0x9e6035,tableId:_0x569b99,records:_0x45d3d5}=_0x57c36a,_0x555b79=_0x374f74[_0x29d390(0x1d4)](_0x9e6035,_0x49a6be[_0x29d390(0xf9)]),_0x551735=_0x45d3d5['map'](_0x4f5c3d=>_0x4f5c3d['id']);if(!_0x555b79||!$(_0x555b79,_0x569b99)||new Set(_0x551735)[_0x29d390(0x1d0)]!==_0x551735[_0x29d390(0x1bf)])return!0x1;let _0x4814b8=_0x261721[_0x29d390(0x318)](_0x2823d6),_0x144b37=_0x261721[_0x29d390(0x318)](_0x15f92a),_0x339ddb=_0x261721[_0x29d390(0x318)](Kr),_0x355237=_0x555b79[_0x29d390(0x32b)](),_0x509e73=ba(_0x555b79,_0x569b99,_0x45d3d5);if(!_0x509e73)return!0x1;let {records:_0x124019,hierarchyChanges:_0x23c6cb,hierarchyFieldToMaterialize:_0x1595dd}=_0x509e73,_0x488c35=_0x1595dd?_0x339ddb[_0x29d390(0x40b)](_0x555b79,_0x569b99,_0x1595dd,_0x355237['tables'][_0x569b99][_0x29d390(0x1f8)][_0x29d390(0x1bf)]):null,_0x3bcf9d=_0x339ddb[_0x29d390(0x3ad)](_0x555b79,_0x569b99,_0x124019),_0x51c56e=R([..._0x488c35?[_0x488c35]:[],_0x3bcf9d]),_0xfefe2c=new z()[_0x29d390(0x38e)](_0x355237,_0x51c56e),_0x3713f9={'unitId':_0x9e6035,'op':_0x51c56e,'hierarchyChanges':_0x23c6cb[_0x29d390(0x1bf)]?_0x23c6cb:void 0x0,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x57c36a[_0x29d390(0x300)]??'ui':void 0x0},_0x4b9322={..._0x3713f9,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x29d390(0x274):void 0x0},_0x5e794f={'unitId':_0x9e6035,'op':_0xfefe2c,'hierarchyChanges':_0x23c6cb[_0x29d390(0x1bf)]?_0x23c6cb[_0x29d390(0x412)](_0x33f259=>({..._0x33f259,'oldParentRecordId':_0x33f259['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x29d390(0x175):void 0x0};return _0x4814b8[_0x29d390(0x2f7)](Q['id'],_0x3713f9)?(_0x374f74['focusUnit'](_0x9e6035),_0x144b37[_0x29d390(0x244)]({'unitID':_0x9e6035,'undoMutations':[{'id':Q['id'],'params':_0x5e794f}],'redoMutations':[{'id':Q['id'],'params':_0x4b9322}]}),!0x0):!0x1;}},Sa={'id':_0x327967(0x2e7),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x24a928,_0x354aa9)=>{const _0x4e1423=_0x327967;if(!_0x354aa9)return!0x1;let _0x37eafc=_0x24a928[_0x4e1423(0x318)](_0x3a38b9),{unitId:_0x169be2,tableId:_0x3125ab,recordIds:_0x4c8423}=_0x354aa9,_0x3b835b=_0x37eafc[_0x4e1423(0x1d4)](_0x169be2,_0x49a6be[_0x4e1423(0xf9)]);if(!_0x3b835b||!$(_0x3b835b,_0x3125ab,{'recordIds':_0x4c8423}))return!0x1;let _0x157bdd=_0x24a928[_0x4e1423(0x318)](_0x2823d6),_0x24be3f=_0x24a928[_0x4e1423(0x318)](_0x15f92a),_0x24f60c=_0x3b835b[_0x4e1423(0x32b)](),_0xc12c0=et(_0x24f60c[_0x4e1423(0x486)][_0x3125ab],_0x4c8423),_0x350109=new W(),_0x231eaa=new z(),_0x77e3ee=_0x350109[_0x4e1423(0x109)](_0x24f60c,_0x3125ab,_0x4c8423),_0xf15f2f=_0x231eaa['applyOp'](_0x24f60c,_0x77e3ee),_0x58db78=_0x350109[_0x4e1423(0x1ea)](_0x24f60c,_0xf15f2f,_0x3125ab,_0x4c8423),_0x544f1d={'unitId':_0x169be2,'op':_0x77e3ee,'hierarchyChanges':_0xc12c0,'source':_0x354aa9[_0x4e1423(0x300)]??'ui'},_0x225f76={..._0x544f1d,'source':_0x4e1423(0x274)},_0xa57bd5={'unitId':_0x169be2,'op':_0x58db78,'hierarchyChanges':_0xc12c0[_0x4e1423(0x412)](_0x3c2dd7=>({..._0x3c2dd7,'oldParentRecordId':_0x3c2dd7[_0x4e1423(0x3a5)],'parentRecordId':_0x3c2dd7['oldParentRecordId']})),'source':_0x4e1423(0x175)};return _0x157bdd[_0x4e1423(0x2f7)](Q['id'],_0x544f1d)?(_0x37eafc[_0x4e1423(0x354)](_0x169be2),_0x24be3f[_0x4e1423(0x244)]({'unitID':_0x169be2,'undoMutations':[{'id':Q['id'],'params':_0xa57bd5}],'redoMutations':[{'id':Q['id'],'params':_0x225f76}]}),!0x0):!0x1;}},Ca={'id':_0x327967(0x316),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x330450,_0x589a91)=>{const _0x13e7f8=_0x327967;if(!_0x589a91)return!0x1;let _0x30f61d=_0x330450[_0x13e7f8(0x318)](_0x3a38b9),{unitId:_0x1bb36b,tableId:_0x1ec612,fieldId:_0x394041,input:_0x17fcad}=_0x589a91,_0x5ac775=_0x30f61d[_0x13e7f8(0x1d4)](_0x1bb36b,_0x49a6be[_0x13e7f8(0xf9)]);if(!_0x5ac775||_0x394041===_0x40fc9d||!$(_0x5ac775,_0x1ec612,{'fieldIds':[_0x394041]}))return!0x1;let _0x61bd99=_0x330450[_0x13e7f8(0x318)](_0x2823d6),_0x4a75ea=_0x330450[_0x13e7f8(0x318)](_0x15f92a),_0x4e9d03=_0x5ac775[_0x13e7f8(0x32b)]();if(!ha(_0x5ac775,_0x1ec612,{..._0x4e9d03[_0x13e7f8(0x486)][_0x1ec612][_0x13e7f8(0x305)][_0x394041],..._0x17fcad}))return!0x1;let _0x15b06a=new W()['changeFieldType'](_0x4e9d03,_0x1ec612,_0x394041,_0x17fcad),_0x262e7a=new z()[_0x13e7f8(0x38e)](_0x4e9d03,_0x15b06a),_0x2c6f2f={'unitId':_0x1bb36b,'op':_0x15b06a},_0x5db925={'unitId':_0x1bb36b,'op':_0x262e7a};return _0x61bd99[_0x13e7f8(0x2f7)](Q['id'],_0x2c6f2f)?(_0x30f61d[_0x13e7f8(0x354)](_0x1bb36b),_0x4a75ea[_0x13e7f8(0x244)]({'unitID':_0x1bb36b,'undoMutations':[{'id':Q['id'],'params':_0x5db925}],'redoMutations':[{'id':Q['id'],'params':_0x2c6f2f}]}),!0x0):!0x1;}},wa={'id':_0x327967(0xde),'type':_0x281ad9['COMMAND'],'handler'(_0x9f8155,_0x33ab0e){const _0x560959=_0x327967;var _0x5f2919;if(!_0x33ab0e)return!0x1;let {unitId:_0x1146e5,tableId:_0x2ce545,parentRecordId:_0x274a50}=_0x33ab0e,_0x2b881d=_0x9f8155[_0x560959(0x318)](_0x3a38b9),_0x342f3c=_0x2b881d[_0x560959(0x1d4)](_0x1146e5,_0x49a6be[_0x560959(0xf9)]);if(!_0x342f3c||!$(_0x342f3c,_0x2ce545,{'recordIds':[_0x274a50]}))throw new P(_0x560959(0x3bd));let _0x22a264=_0x342f3c[_0x560959(0x32b)](),_0x9dc9cb=_0x22a264[_0x560959(0x486)][_0x2ce545],_0x3a8e69=qe(_0x9dc9cb),_0x56e23c=_0x3a8e69??_0x33ab0e[_0x560959(0x173)]??Je(_0x9dc9cb);if(_0x3a8e69&&_0x33ab0e[_0x560959(0x173)]&&_0x33ab0e['fieldId']!==_0x3a8e69||_0x9dc9cb[_0x560959(0x305)][_0x56e23c]&&!F(_0x9dc9cb,_0x56e23c))throw new P(_0x560959(0x421));if((tt(_0x9dc9cb,_0x56e23c)[_0x560959(0x308)][_0x560959(0x318)](_0x274a50)??0x0)+0x1>=0x5)throw new P(_0x560959(0x231));if(!_a(_0x342f3c,_0x2ce545,_0x33ab0e[_0x560959(0x472)]))return!0x1;let _0x3df679=va({..._0x33ab0e[_0x560959(0x472)],'values':{..._0x33ab0e['record']['values'],[_0x56e23c]:Re([_0x274a50])}}),_0x136acc=_0x9f8155[_0x560959(0x318)](Kr),_0x308d7c=new W(),_0x21e527=_0x9dc9cb['fields'][_0x56e23c],_0x3e6439=_0x21e527?((_0x5f2919=N(_0x21e527))==null?void 0x0:_0x5f2919[_0x560959(0x382)])===_0x3e0df7[_0x560959(0x4a4)]?null:_0x308d7c[_0x560959(0x3de)](_0x22a264,_0x2ce545,_0x56e23c,{'config':{..._0x21e527[_0x560959(0x174)],'relationRole':_0x3e0df7[_0x560959(0x4a4)]}}):_0x136acc['createCreateFieldOp'](_0x342f3c,_0x2ce545,Ye(_0x9dc9cb,_0x56e23c,_0x33ab0e[_0x560959(0x3ff)]),_0x9dc9cb['fieldOrder'][_0x560959(0x1bf)]),_0x3599e5=_0x136acc['createCreateRecordOp'](_0x342f3c,_0x2ce545,_0x3df679),_0x590704=R([..._0x3e6439?[_0x3e6439]:[],_0x3599e5]),_0x2d638b=new z()['invertOp'](_0x22a264,_0x590704),_0x514ce7={'tableId':_0x2ce545,'fieldId':_0x56e23c,'recordId':_0x3df679['id'],'oldParentRecordId':null,'parentRecordId':_0x274a50},_0x5a1a90={'unitId':_0x1146e5,'op':_0x590704,'trigger':wa['id'],'hierarchyChanges':[_0x514ce7],'source':_0x33ab0e[_0x560959(0x300)]??'ui'},_0x21d4f7={..._0x5a1a90,'source':'redo'},_0x5a649f={'unitId':_0x1146e5,'op':_0x2d638b,'trigger':wa['id'],'hierarchyChanges':[{..._0x514ce7,'oldParentRecordId':_0x274a50,'parentRecordId':null}],'source':_0x560959(0x175)};return _0x9f8155[_0x560959(0x318)](_0x2823d6)[_0x560959(0x2f7)](Q['id'],_0x5a1a90)?(_0x2b881d[_0x560959(0x354)](_0x1146e5),_0x9f8155['get'](_0x15f92a)[_0x560959(0x244)]({'unitID':_0x1146e5,'undoMutations':[{'id':Q['id'],'params':_0x5a649f}],'redoMutations':[{'id':Q['id'],'params':_0x21d4f7}]}),!0x0):!0x1;}},Ta={'id':_0x327967(0x387),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4b6b93,_0x50378a){const _0x56057c=_0x327967;if(!_0x50378a)return!0x1;let _0x4f39ab=_0x4b6b93[_0x56057c(0x318)](_0x3a38b9),{unitId:_0x2646b7,tableId:_0x21514f,field:_0x39a516,index:_0x2dcd04,viewIndexes:_0x115cbe}=_0x50378a,_0x20604d=_0x4f39ab[_0x56057c(0x1d4)](_0x2646b7,_0x49a6be[_0x56057c(0xf9)]);if(!_0x20604d||!$(_0x20604d,_0x21514f)||_0x20604d[_0x56057c(0x32b)]()[_0x56057c(0x486)][_0x21514f][_0x56057c(0x305)][_0x39a516['id']]||_0x2dcd04===0x0||!ha(_0x20604d,_0x21514f,_0x39a516))return!0x1;let _0x200f4c=_0x4b6b93['get'](_0x2823d6),_0x5e876b=_0x4b6b93['get'](_0x15f92a),_0x18ffa7=_0x4b6b93['get'](Kr)['createCreateFieldOp'](_0x20604d,_0x21514f,_0x39a516,_0x2dcd04,_0x115cbe),_0x15acfe=new z()['invertOp'](_0x20604d['getSnapshot'](),_0x18ffa7),_0x39641e={'unitId':_0x2646b7,'op':_0x18ffa7},_0x7eaf0d={'unitId':_0x2646b7,'op':_0x15acfe};return _0x200f4c[_0x56057c(0x2f7)](Q['id'],_0x39641e)?(_0x4f39ab[_0x56057c(0x354)](_0x2646b7),_0x5e876b['pushUndoRedo']({'unitID':_0x2646b7,'undoMutations':[{'id':Q['id'],'params':_0x7eaf0d}],'redoMutations':[{'id':Q['id'],'params':_0x39641e}]}),!0x0):!0x1;}},Ea={'id':_0x327967(0x2a6),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4210e2,_0x13460a){const _0x2394bf=_0x327967;if(!_0x13460a)return!0x1;let _0x3179dd=_0x4210e2[_0x2394bf(0x318)](_0x3a38b9),{unitId:_0x55c2d7,tableId:_0x4bbfbb,record:_0x58744c}=_0x13460a,_0x5eed90=_0x3179dd[_0x2394bf(0x1d4)](_0x55c2d7,_0x49a6be[_0x2394bf(0xf9)]);if(!_0x5eed90||!$(_0x5eed90,_0x4bbfbb))return!0x1;let _0x556240=_0x4210e2['get'](_0x2823d6),_0x4719a5=_0x4210e2[_0x2394bf(0x318)](_0x15f92a),_0x37e94d=_0x4210e2[_0x2394bf(0x318)](Kr),_0x1c2122=_0x5eed90[_0x2394bf(0x32b)](),_0x27f87b=ba(_0x5eed90,_0x4bbfbb,[_0x58744c]);if(!_0x27f87b)return!0x1;let [_0x117e4e]=_0x27f87b['records'],{hierarchyChanges:_0x6e21ff,hierarchyFieldToMaterialize:_0x4099b5}=_0x27f87b,_0x406ded=_0x4099b5?_0x37e94d['createCreateFieldOp'](_0x5eed90,_0x4bbfbb,_0x4099b5,_0x1c2122[_0x2394bf(0x486)][_0x4bbfbb]['fieldOrder'][_0x2394bf(0x1bf)]):null,_0x11fd47=_0x37e94d[_0x2394bf(0x1fb)](_0x5eed90,_0x4bbfbb,_0x117e4e),_0x301d8b=R([..._0x406ded?[_0x406ded]:[],_0x11fd47]),_0x123759=new z()['invertOp'](_0x1c2122,_0x301d8b),_0x1292e6={'unitId':_0x55c2d7,'op':_0x301d8b,'hierarchyChanges':_0x6e21ff[_0x2394bf(0x1bf)]?_0x6e21ff:void 0x0,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x13460a[_0x2394bf(0x300)]??'ui':void 0x0},_0x3845ac={..._0x1292e6,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x2394bf(0x274):void 0x0},_0x44c656={'unitId':_0x55c2d7,'op':_0x123759,'hierarchyChanges':_0x6e21ff[_0x2394bf(0x1bf)]?_0x6e21ff[_0x2394bf(0x412)](_0x134d18=>({..._0x134d18,'oldParentRecordId':_0x134d18[_0x2394bf(0x3a5)],'parentRecordId':null})):void 0x0,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x2394bf(0x175):void 0x0};return _0x556240['syncExecuteCommand'](Q['id'],_0x1292e6)?(_0x3179dd['focusUnit'](_0x55c2d7),_0x4719a5[_0x2394bf(0x244)]({'unitID':_0x55c2d7,'undoMutations':[{'id':Q['id'],'params':_0x44c656}],'redoMutations':[{'id':Q['id'],'params':_0x3845ac}]}),!0x0):!0x1;}},Da=_0x327967(0x1b4);function Oa(_0x11baa1,_0x47134a,_0x8655e8){const _0x2ad230=_0x327967;if(!_0x47134a['trim']())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x2ad230(0x25a)};if(_0x47134a[_0x2ad230(0x1bf)]>0x1f)return{'valid':!0x1,'reason':_0x2ad230(0x46b),'error':_0x2ad230(0x1c7)};if(_0x47134a[_0x2ad230(0x2ad)]('\x27')||_0x47134a['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x2ad230(0x10e),'error':_0x2ad230(0x418)};if(/[:\\/?*\[\]]/[_0x2ad230(0x3e2)](_0x47134a))return{'valid':!0x1,'reason':_0x2ad230(0x2db),'error':_0x2ad230(0x1a2)};if(!_0x4a2760(_0x47134a))return{'valid':!0x1,'reason':_0x2ad230(0x2ce),'error':'invalid'};let _0x45495c=_0x47134a[_0x2ad230(0x3af)]();return Object['values'](_0x11baa1[_0x2ad230(0x486)])[_0x2ad230(0x35d)](_0x21cb05=>_0x21cb05['id']!==_0x8655e8&&_0x21cb05[_0x2ad230(0x158)][_0x2ad230(0x3af)]()===_0x45495c)?{'valid':!0x1,'reason':_0x2ad230(0xf2),'error':'duplicate'}:{'valid':!0x0};}function ka(_0x58de43,_0x41489a){const _0x2bb393=_0x327967;let _0x5c7811=_0x41489a[_0x2bb393(0x42d)](/[:\\/?*\[\]]/g,'\x20')[_0x2bb393(0x42d)](/^'+|'+$/g,'')[_0x2bb393(0x140)]()||_0x2bb393(0x448),_0x74a203=0x1;for(;;){let _0xc57ce2=_0x74a203===0x1?'':'\x20'+_0x74a203,_0x4a2052=''+_0x5c7811[_0x2bb393(0x348)](0x0,0x1f-_0xc57ce2['length'])+_0xc57ce2;if(Oa(_0x58de43,_0x4a2052)[_0x2bb393(0x48b)])return _0x4a2052;_0x74a203++;}}const Aa={'id':_0x327967(0x2d5),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x8ba46d,_0x50758a)=>{const _0x7431fa=_0x327967;if(!_0x50758a)return!0x1;let _0x4df2e0=_0x8ba46d[_0x7431fa(0x318)](_0x3a38b9),{unitId:_0x185a0e,table:_0x4b5af7,index:_0x266ea3}=_0x50758a,_0x2e948e=_0x4df2e0['getUnit'](_0x185a0e,_0x49a6be['UNIVER_BASE']);if(!_0x2e948e||_0x2e948e[_0x7431fa(0x32b)]()['tables'][_0x4b5af7['id']]||!Oa(_0x2e948e[_0x7431fa(0x32b)](),_0x4b5af7['name'])[_0x7431fa(0x48b)])return!0x1;try{_0x15f38a(_0x4b5af7);}catch{return!0x1;}let _0x5130a1=_0x8ba46d[_0x7431fa(0x318)](_0x2823d6),_0xff84e2=_0x8ba46d[_0x7431fa(0x318)](_0x15f92a),_0x30290b=_0x2e948e[_0x7431fa(0x32b)](),_0x3aee76=new W()['createTable'](_0x30290b,_0x4b5af7,_0x266ea3),_0x3cc57b=new z()[_0x7431fa(0x38e)](_0x30290b,_0x3aee76),_0x496d23={'unitId':_0x185a0e,'op':_0x3aee76},_0x355f73={'unitId':_0x185a0e,'op':_0x3cc57b};return _0x5130a1[_0x7431fa(0x2f7)](Q['id'],_0x496d23)?(_0x4df2e0[_0x7431fa(0x354)](_0x185a0e),_0xff84e2[_0x7431fa(0x244)]({'unitID':_0x185a0e,'undoMutations':[{'id':Q['id'],'params':_0x355f73}],'redoMutations':[{'id':Q['id'],'params':_0x496d23}]}),!0x0):!0x1;}};function ja(_0x1742fb,_0x2ea346,_0x137a34=[]){const _0x12f37c=_0x327967;let _0x1238f1=new Set([...Object[_0x12f37c(0x259)](_0x1742fb[_0x12f37c(0x305)])[_0x12f37c(0x1be)](_0x3af9ec=>_0x3af9ec)[_0x12f37c(0x412)](_0x48cb58=>_0x48cb58[_0x12f37c(0x158)]),..._0x137a34['map'](_0x511bf0=>_0x511bf0[_0x12f37c(0x158)])]);if(!_0x1238f1[_0x12f37c(0x103)](_0x2ea346))return _0x2ea346;let _0x3456a1=0x2;for(;_0x1238f1[_0x12f37c(0x103)](_0x2ea346+'\x20'+_0x3456a1);)_0x3456a1++;return _0x2ea346+'\x20'+_0x3456a1;}function Ma(_0x4569eb,_0x18e2d0){const _0x3b835d=_0x327967;if(!_0x4569eb||!_0x18e2d0['length'])return;let _0xf9f9b8=[..._0x4569eb];return _0x18e2d0[_0x3b835d(0x29b)](_0x337450=>{const _0x261082=_0x3b835d;_0xf9f9b8[_0x261082(0x45c)](_0x337450)||_0xf9f9b8['push'](_0x337450);}),_0xf9f9b8;}const Na={'options':[{'id':_0x327967(0x343),'name':_0x327967(0x3ac),'color':_0x327967(0x337)},{'id':'doing','name':'Doing','color':_0x327967(0x10d)},{'id':_0x327967(0x3ae),'name':'Done','color':'#BBF7D0'}]},Pa={'locale':_0x327967(0x29d),'pattern':_0x327967(0x20c),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x327967(0x2d2)};function Fa(_0x1992c9,_0x24fb54,_0x6e0407,_0x5e1bf2){const _0x4db5bf=_0x327967;var _0x6680f8;let _0x53b1bd=new W(),_0x3e92a1=_0x1992c9[_0x4db5bf(0x486)][_0x24fb54],_0x4c6014=_0x3e92a1?{..._0x6e0407,'fieldOrder':[_0x40fc9d,...(_0x6e0407['fieldOrder']??_0x3e92a1[_0x4db5bf(0x1f8)])[_0x4db5bf(0x1be)](_0x3e32f4=>_0x3e32f4!==_0x40fc9d)],'fieldSettings':{..._0x6e0407[_0x4db5bf(0x105)],[_0x40fc9d]:{...(_0x6680f8=_0x6e0407[_0x4db5bf(0x105)])==null?void 0x0:_0x6680f8[_0x40fc9d],'hidden':!0x0}}}:_0x6e0407;if(_0x3e92a1&&_0x4c6014[_0x4db5bf(0x346)]===_0x4db5bf(0x2c4)){let _0x269dcd=La(_0x3e92a1,_0x4c6014),_0x46ff8f=_0x269dcd[_0x4db5bf(0x2cc)]?{..._0x4c6014,'config':_0x269dcd[_0x4db5bf(0x174)],'fieldOrder':_0x269dcd[_0x4db5bf(0x1f8)]??_0x4c6014[_0x4db5bf(0x1f8)]}:_0x4c6014;return R([..._0x269dcd[_0x4db5bf(0x305)][_0x4db5bf(0x412)](_0x54ce00=>_0x53b1bd['createField'](_0x1992c9,_0x24fb54,{'field':_0x54ce00})),_0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x46ff8f,_0x5e1bf2)]);}if(!_0x3e92a1||_0x4c6014[_0x4db5bf(0x346)]!==_0x4db5bf(0x32e)&&_0x4c6014[_0x4db5bf(0x346)]!==_0x4db5bf(0x3ca))return _0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x4c6014,_0x5e1bf2);let _0x30ed9b=Ia(_0x3e92a1,_0x4c6014),_0x5f43b8=_0x30ed9b[_0x4db5bf(0x2cc)]?{..._0x4c6014,'config':_0x30ed9b[_0x4db5bf(0x174)],'fieldOrder':_0x30ed9b['fieldOrder']??_0x4c6014[_0x4db5bf(0x1f8)]}:_0x4c6014;return _0x4c6014[_0x4db5bf(0x346)]===_0x4db5bf(0x3ca)&&Ba(_0x4c6014)&&(_0x5f43b8=Va(_0x3e92a1,_0x5f43b8,_0x30ed9b[_0x4db5bf(0x305)])),R([..._0x30ed9b['fields'][_0x4db5bf(0x412)](_0x444ec4=>_0x53b1bd[_0x4db5bf(0x24c)](_0x1992c9,_0x24fb54,{'field':_0x444ec4})),_0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x5f43b8,_0x5e1bf2)]);}function Ia(_0x28bdbe,_0x4190fb,_0x49f52b=!0x1){const _0x54e11c=_0x327967;var _0x53c36d,_0x33d96b;let _0x297885=_0x28bdbe[_0x54e11c(0x1f8)][_0x54e11c(0x1be)](_0x449f31=>Ua(_0x28bdbe,_0x449f31)),_0x550259=[],_0x3f61bd={..._0x4190fb[_0x54e11c(0x174)]??{}},_0x456906=typeof _0x3f61bd['startDateFieldId']==_0x54e11c(0x2a0)&&Ua(_0x28bdbe,_0x3f61bd['startDateFieldId'])?_0x3f61bd[_0x54e11c(0x3d2)]:_0x297885[0x0],_0x199299=typeof _0x3f61bd[_0x54e11c(0x406)]==_0x54e11c(0x2a0)&&Ua(_0x28bdbe,_0x3f61bd['endDateFieldId'])&&_0x3f61bd[_0x54e11c(0x406)]!==_0x456906?_0x3f61bd[_0x54e11c(0x406)]:_0x297885['find'](_0x2d5254=>_0x2d5254!==_0x456906);if(!_0x456906){let _0x31a2a5=Wa(_0x28bdbe,_0x550259,_0x4190fb[_0x54e11c(0x346)]==='gantt'?_0x54e11c(0x2f2):_0x54e11c(0x2b2));_0x550259[_0x54e11c(0x161)](_0x31a2a5),_0x456906=_0x31a2a5['id'];}if((_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x3ca)||_0x49f52b)&&!_0x199299){let _0x3a8faf=Wa(_0x28bdbe,_0x550259,_0x54e11c(0x15a));_0x550259[_0x54e11c(0x161)](_0x3a8faf),_0x199299=_0x3a8faf['id'];}_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x32e)&&!_0x199299&&delete _0x3f61bd[_0x54e11c(0x406)],_0x3f61bd[_0x54e11c(0x3d2)]=_0x456906,_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x32e)&&_0x199299&&(_0x3f61bd[_0x54e11c(0x406)]=_0x199299),_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x3ca)&&(_0x3f61bd[_0x54e11c(0x406)]=_0x199299??_0x456906);let _0x52baec=Ma(_0x4190fb[_0x54e11c(0x1f8)],_0x550259['map'](_0x4ce2c5=>_0x4ce2c5['id']));return{'changed':_0x550259[_0x54e11c(0x1bf)]>0x0||_0x3f61bd[_0x54e11c(0x3d2)]!==((_0x53c36d=_0x4190fb[_0x54e11c(0x174)])==null?void 0x0:_0x53c36d[_0x54e11c(0x3d2)])||_0x3f61bd[_0x54e11c(0x406)]!==((_0x33d96b=_0x4190fb[_0x54e11c(0x174)])==null?void 0x0:_0x33d96b['endDateFieldId'])||!(!_0x52baec||_0x2ea00f[_0x54e11c(0xe6)](_0x52baec,_0x4190fb[_0x54e11c(0x1f8)]??[])),'fields':_0x550259,'config':_0x3f61bd,'fieldOrder':_0x52baec};}function La(_0x13c918,_0x43b5c5){const _0x5e5f49=_0x327967;var _0x1cb6e2;let _0x3cea5a=[],_0x24f82e={..._0x43b5c5[_0x5e5f49(0x174)]??{}},_0x282a94=typeof _0x24f82e[_0x5e5f49(0x110)]=='string'&&Ra(_0x13c918,_0x24f82e[_0x5e5f49(0x110)])?_0x24f82e[_0x5e5f49(0x110)]:_0x13c918[_0x5e5f49(0x1f8)][_0x5e5f49(0x451)](_0xc2c1bd=>Ra(_0x13c918,_0xc2c1bd));if(!_0x282a94){let _0x307cd2=za(_0x13c918,_0x3cea5a);_0x3cea5a[_0x5e5f49(0x161)](_0x307cd2),_0x282a94=_0x307cd2['id'];}_0x24f82e[_0x5e5f49(0x110)]=_0x282a94;let _0xe2f90f=Ma(_0x43b5c5[_0x5e5f49(0x1f8)],_0x3cea5a[_0x5e5f49(0x412)](_0x33fb71=>_0x33fb71['id']));return{'changed':_0x3cea5a[_0x5e5f49(0x1bf)]>0x0||_0x24f82e[_0x5e5f49(0x110)]!==((_0x1cb6e2=_0x43b5c5[_0x5e5f49(0x174)])==null?void 0x0:_0x1cb6e2[_0x5e5f49(0x110)])||!(!_0xe2f90f||_0x2ea00f[_0x5e5f49(0xe6)](_0xe2f90f,_0x43b5c5[_0x5e5f49(0x1f8)]??[])),'fields':_0x3cea5a,'config':_0x24f82e,'fieldOrder':_0xe2f90f};}function Ra(_0x2e308c,_0x39520f){const _0x4fb173=_0x327967;let _0x477dc2=_0x39520f?_0x2e308c['fields'][_0x39520f]:null;return _0x477dc2?[_0x1013ad[_0x4fb173(0x413)],_0x1013ad[_0x4fb173(0x190)],_0x1013ad['Rating'],_0x1013ad['Person'],_0x1013ad[_0x4fb173(0xf7)],_0x1013ad['Checkbox']]['includes'](_0x477dc2[_0x4fb173(0x346)]):!0x1;}function za(_0x53784e,_0x2fe01f){const _0x1a7f6c=_0x327967;return{'id':_0x1a7f6c(0x456)+_0x1dd020(0x8),'name':ja(_0x53784e,'Status',_0x2fe01f),'type':_0x1013ad[_0x1a7f6c(0x413)],'config':_0x2ea00f[_0x1a7f6c(0x3e0)](Na)};}function Ba(_0xbd2182){const _0x8cb8b8=_0x327967;return Object['keys'](_0xbd2182[_0x8cb8b8(0x174)]??{})[_0x8cb8b8(0x1bf)]===0x0&&Object[_0x8cb8b8(0x27a)](_0xbd2182['fieldSettings']??{})[_0x8cb8b8(0x1bf)]===0x0;}function Va(_0x1fd55a,_0x1d9b13,_0x5d6b7c){const _0x840ec9=_0x327967;let _0x9cfb93={..._0x1d9b13[_0x840ec9(0x174)]??{}},_0x4892d4=_0x5d6b7c[_0x840ec9(0x412)](_0x574a3c=>_0x574a3c['id']),_0x25bb6e=[..._0x1fd55a[_0x840ec9(0x1f8)],..._0x4892d4],_0x3657eb=typeof _0x9cfb93[_0x840ec9(0x19b)]==_0x840ec9(0x2a0)&&Ha(_0x1fd55a,_0x5d6b7c,_0x9cfb93[_0x840ec9(0x19b)])?_0x9cfb93[_0x840ec9(0x19b)]:_0x1fd55a[_0x840ec9(0x44a)],_0x872a2d=typeof _0x9cfb93['startDateFieldId']=='string'?_0x9cfb93[_0x840ec9(0x3d2)]:'',_0x19b374=typeof _0x9cfb93[_0x840ec9(0x406)]==_0x840ec9(0x2a0)?_0x9cfb93[_0x840ec9(0x406)]:_0x872a2d,_0x21e4f1=new Set([_0x3657eb,_0x872a2d,_0x19b374][_0x840ec9(0x1be)](_0x376b6c=>_0x376b6c&&Ha(_0x1fd55a,_0x5d6b7c,_0x376b6c))),_0x13ad6c=Object[_0x840ec9(0x49f)](_0x25bb6e[_0x840ec9(0xeb)](_0x32cd5a=>_0x21e4f1[_0x840ec9(0x103)](_0x32cd5a)||!Ha(_0x1fd55a,_0x5d6b7c,_0x32cd5a)?[]:[[_0x32cd5a,{'hidden':!0x0}]]));return{..._0x1d9b13,'config':{..._0x9cfb93,'titleFieldId':_0x3657eb},'fieldSettings':_0x13ad6c};}function Ha(_0x881345,_0x270518,_0x19288a){const _0x2fae25=_0x327967;return!!(_0x881345[_0x2fae25(0x305)][_0x19288a]??_0x270518[_0x2fae25(0x451)](_0x2bf055=>_0x2bf055['id']===_0x19288a))&&!0x0;}function Ua(_0x25973a,_0xf4e328){const _0x356b79=_0x327967;let _0x4c421a=_0xf4e328?_0x25973a[_0x356b79(0x305)][_0xf4e328]:null;return!!_0x4c421a&&_0x4c421a[_0x356b79(0x346)]===_0x1013ad['Date']&&_0x4c421a[_0x356b79(0x397)]!==!0x0&&_0x4c421a[_0x356b79(0x272)]!==!0x0;}function Wa(_0x3f1ed4,_0x4d88f5,_0x285cf7){const _0x29832a=_0x327967;let _0x595edb=new Set([...Object[_0x29832a(0x27a)](_0x3f1ed4['fields']),..._0x4d88f5[_0x29832a(0x412)](_0x370829=>_0x370829['id'])]),_0x2b5df0='fld-'+_0x1dd020(0x8);for(;_0x595edb['has'](_0x2b5df0);)_0x2b5df0=_0x29832a(0x456)+_0x1dd020(0x8);return{'id':_0x2b5df0,'name':ja(_0x3f1ed4,_0x285cf7,_0x4d88f5),'type':_0x1013ad['Date'],'config':{...Pa}};}const Ga={'id':_0x327967(0x17e),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x57cfd7,_0x4c8528)=>{const _0x2d1cc9=_0x327967;if(!_0x4c8528)return!0x1;let _0x515796=_0x57cfd7['get'](_0x3a38b9),{unitId:_0x129a31,tableId:_0x57958f,view:_0x14139e,index:_0x520f3e}=_0x4c8528,_0x14ef13=_0x515796[_0x2d1cc9(0x1d4)](_0x129a31,_0x49a6be[_0x2d1cc9(0xf9)]);if(!_0x14ef13||!$(_0x14ef13,_0x57958f)||_0x14ef13[_0x2d1cc9(0x32b)]()[_0x2d1cc9(0x486)][_0x57958f][_0x2d1cc9(0x1eb)][_0x14139e['id']])return!0x1;let _0x41eb0e=_0x57cfd7['get'](_0x2823d6),_0x5227e8=_0x57cfd7['get'](_0x15f92a),_0x193698=_0x14ef13[_0x2d1cc9(0x32b)](),_0x29fa73=Fa(_0x193698,_0x57958f,_0x14139e,_0x520f3e),_0x4b9c0b=new z()[_0x2d1cc9(0x38e)](_0x193698,_0x29fa73),_0x9a648c={'historyAction':'create-view','unitId':_0x129a31,'op':_0x29fa73,'viewType':_0x14139e[_0x2d1cc9(0x346)]},_0x52e863={'historyAction':_0x2d1cc9(0x1f0),'unitId':_0x129a31,'op':_0x4b9c0b,'viewType':_0x14139e['type']};return _0x41eb0e[_0x2d1cc9(0x2f7)](Q['id'],_0x9a648c)?(_0x515796[_0x2d1cc9(0x354)](_0x129a31),_0x5227e8[_0x2d1cc9(0x244)]({'unitID':_0x129a31,'undoMutations':[{'id':Q['id'],'params':_0x52e863}],'redoMutations':[{'id':Q['id'],'params':_0x9a648c}]}),!0x0):!0x1;}},Ka={'id':_0x327967(0x3d0),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x383574,_0x5a813d){const _0x1e986c=_0x327967;if(!_0x5a813d)return!0x1;let _0x35d13c=_0x383574[_0x1e986c(0x318)](_0x3a38b9),{unitId:_0x136b2d,tableId:_0x3d28eb,fieldId:_0x592bac}=_0x5a813d,_0x40fe66=_0x35d13c['getUnit'](_0x136b2d,_0x49a6be[_0x1e986c(0xf9)]);if(!_0x40fe66)return!0x1;let _0x28106d=_0x40fe66[_0x1e986c(0x32b)](),_0x322f19=_0x28106d[_0x1e986c(0x486)][_0x3d28eb];if(!$(_0x40fe66,_0x3d28eb,{'fieldIds':[_0x592bac]})||_0x322f19[_0x1e986c(0x44a)]===_0x592bac||_0x592bac===_0x40fc9d)return!0x1;let _0xdb58c5=_0x383574[_0x1e986c(0x318)](_0x2823d6),_0x1b6952=_0x383574['get'](_0x15f92a),_0x42e2d2=new W()[_0x1e986c(0x42f)](_0x28106d,_0x3d28eb,_0x592bac),_0x1878d9=new z()[_0x1e986c(0x38e)](_0x28106d,_0x42e2d2),_0x5560de={'unitId':_0x136b2d,'op':_0x42e2d2},_0x433221={'unitId':_0x136b2d,'op':_0x1878d9};return _0xdb58c5[_0x1e986c(0x2f7)](Q['id'],_0x5560de)?(_0x35d13c[_0x1e986c(0x354)](_0x136b2d),_0x1b6952[_0x1e986c(0x244)]({'unitID':_0x136b2d,'undoMutations':[{'id':Q['id'],'params':_0x433221}],'redoMutations':[{'id':Q['id'],'params':_0x5560de}]}),!0x0):!0x1;}},qa={'id':_0x327967(0x3fa),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x3591dc,_0x28ce08)=>{const _0x4cac8e=_0x327967;if(!_0x28ce08)return!0x1;let _0x2b4d8=_0x3591dc[_0x4cac8e(0x318)](_0x3a38b9),{unitId:_0x46cd8e,tableId:_0xc9d332,recordId:_0x2280bd}=_0x28ce08,_0x3d949b=_0x2b4d8[_0x4cac8e(0x1d4)](_0x46cd8e,_0x49a6be['UNIVER_BASE']);if(!_0x3d949b||!$(_0x3d949b,_0xc9d332,{'recordIds':[_0x2280bd]}))return!0x1;let _0x35e928=_0x3591dc['get'](_0x2823d6),_0x3e982f=_0x3591dc[_0x4cac8e(0x318)](_0x15f92a),_0x52dc5b=_0x3d949b[_0x4cac8e(0x32b)](),_0x3c6c40=et(_0x52dc5b[_0x4cac8e(0x486)][_0xc9d332],[_0x2280bd]),_0xbb98f5=new W(),_0x345827=new z(),_0x5ee693=_0xbb98f5[_0x4cac8e(0x33a)](_0x52dc5b,_0xc9d332,_0x2280bd),_0x372256=_0x345827[_0x4cac8e(0x240)](_0x52dc5b,_0x5ee693),_0x48e960=_0xbb98f5['createDeleteRecordsUndoOp'](_0x52dc5b,_0x372256,_0xc9d332,[_0x2280bd]),_0x533c7d={'unitId':_0x46cd8e,'op':_0x5ee693,'hierarchyChanges':_0x3c6c40,'source':_0x28ce08[_0x4cac8e(0x300)]??'ui'},_0xea31c8={..._0x533c7d,'source':_0x4cac8e(0x274)},_0x2c9715={'unitId':_0x46cd8e,'op':_0x48e960,'hierarchyChanges':_0x3c6c40['map'](_0x2ca763=>({..._0x2ca763,'oldParentRecordId':_0x2ca763[_0x4cac8e(0x3a5)],'parentRecordId':_0x2ca763[_0x4cac8e(0x410)]})),'source':_0x4cac8e(0x175)};return _0x35e928['syncExecuteCommand'](Q['id'],_0x533c7d)?(_0x2b4d8[_0x4cac8e(0x354)](_0x46cd8e),_0x3e982f['pushUndoRedo']({'unitID':_0x46cd8e,'undoMutations':[{'id':Q['id'],'params':_0x2c9715}],'redoMutations':[{'id':Q['id'],'params':_0xea31c8}]}),!0x0):!0x1;}},Ja={'id':_0x327967(0x4a3),'type':_0x281ad9['COMMAND'],'handler':(_0x512491,_0x4eaf62)=>{const _0x59a244=_0x327967;if(!_0x4eaf62)return!0x1;let _0x2a4ef0=_0x512491[_0x59a244(0x318)](_0x3a38b9),{unitId:_0x3429fa,tableId:_0x572a2d}=_0x4eaf62,_0x58f560=_0x2a4ef0['getUnit'](_0x3429fa,_0x49a6be[_0x59a244(0xf9)]);if(!_0x58f560||!$(_0x58f560,_0x572a2d))return!0x1;let _0x1e34d9=_0x512491[_0x59a244(0x318)](_0x2823d6),_0x4a8aa8=_0x512491[_0x59a244(0x318)](_0x15f92a),_0x905bd2=_0x58f560[_0x59a244(0x32b)](),_0x400d38=He(_0x905bd2,_0x572a2d);if(_0x400d38['length']>0x0)return console['error'](_0x59a244(0x275)+_0x572a2d+_0x59a244(0x454)+_0x400d38['map'](_0x372424=>_0x372424[_0x59a244(0x19a)]+'.'+_0x372424[_0x59a244(0x173)])[_0x59a244(0x3a1)](',\x20')+'.'),!0x1;let _0x41bf7a=new W()[_0x59a244(0x277)](_0x905bd2,_0x572a2d),_0x28d99a=new z()[_0x59a244(0x38e)](_0x905bd2,_0x41bf7a),_0x466293={'unitId':_0x3429fa,'op':_0x41bf7a},_0x4d38df={'unitId':_0x3429fa,'op':_0x28d99a};return _0x1e34d9['syncExecuteCommand'](Q['id'],_0x466293)?(_0x2a4ef0[_0x59a244(0x354)](_0x3429fa),_0x4a8aa8[_0x59a244(0x244)]({'unitID':_0x3429fa,'undoMutations':[{'id':Q['id'],'params':_0x4d38df}],'redoMutations':[{'id':Q['id'],'params':_0x466293}]}),!0x0):!0x1;}},Ya={'id':_0x327967(0x3bc),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x400930,_0x428d93)=>{const _0x2ca912=_0x327967;if(!_0x428d93)return!0x1;let _0x4de313=_0x400930['get'](_0x3a38b9),{unitId:_0x3714f7,tableId:_0x2999c3,viewId:_0x2d305b}=_0x428d93,_0x5c4c3a=_0x4de313[_0x2ca912(0x1d4)](_0x3714f7,_0x49a6be[_0x2ca912(0xf9)]);if(!_0x5c4c3a||!$(_0x5c4c3a,_0x2999c3,{'viewIds':[_0x2d305b]}))return!0x1;let _0x4097a6=_0x400930[_0x2ca912(0x318)](_0x2823d6),_0xbe1405=_0x400930[_0x2ca912(0x318)](_0x15f92a),_0x99232b=_0x5c4c3a[_0x2ca912(0x32b)](),_0x56dae6=_0x99232b[_0x2ca912(0x486)][_0x2999c3][_0x2ca912(0x1eb)][_0x2d305b]['type'],_0xc2620d=new W()['deleteView'](_0x99232b,_0x2999c3,_0x2d305b),_0x55f019=new z()['invertOp'](_0x99232b,_0xc2620d),_0x4c4cdf={'historyAction':_0x2ca912(0x1f0),'unitId':_0x3714f7,'op':_0xc2620d,'viewType':_0x56dae6},_0x1d1ba6={'historyAction':_0x2ca912(0x1e3),'unitId':_0x3714f7,'op':_0x55f019,'viewType':_0x56dae6};return _0x4097a6[_0x2ca912(0x2f7)](Q['id'],_0x4c4cdf)?(_0x4de313[_0x2ca912(0x354)](_0x3714f7),_0xbe1405[_0x2ca912(0x244)]({'unitID':_0x3714f7,'undoMutations':[{'id':Q['id'],'params':_0x1d1ba6}],'redoMutations':[{'id':Q['id'],'params':_0x4c4cdf}]}),!0x0):!0x1;}},Xa={'id':_0x327967(0x31e),'type':_0x281ad9['COMMAND'],'handler':(_0x658cd2,_0x123e40)=>{const _0x56ab50=_0x327967;if(!_0x123e40)return!0x1;let _0xf37f7d=_0x658cd2[_0x56ab50(0x318)](_0x3a38b9),{unitId:_0x45abe8,tableId:_0x1160b7,sourceFieldId:_0x1fecd7,field:_0x442d12,index:_0x2e31a3,viewIndexes:_0x5b5b55}=_0x123e40,_0xba0f58=_0xf37f7d[_0x56ab50(0x1d4)](_0x45abe8,_0x49a6be[_0x56ab50(0xf9)]);if(!_0xba0f58||!$(_0xba0f58,_0x1160b7,{'fieldIds':[_0x1fecd7]})||_0x1fecd7===_0x40fc9d||_0xba0f58['getSnapshot']()[_0x56ab50(0x486)][_0x1160b7][_0x56ab50(0x305)][_0x442d12['id']]||_0x2e31a3===0x0||!ha(_0xba0f58,_0x1160b7,_0x442d12))return!0x1;let _0x9a7f07=_0x658cd2[_0x56ab50(0x318)](_0x2823d6),_0x477891=_0x658cd2[_0x56ab50(0x318)](_0x15f92a),_0x46dd54=_0xba0f58[_0x56ab50(0x32b)](),_0x556c16=new W()[_0x56ab50(0x400)](_0x46dd54,_0x1160b7,_0x1fecd7,{'field':_0x442d12,'index':_0x2e31a3,'viewIndexes':_0x5b5b55}),_0x1920ba=new z()[_0x56ab50(0x38e)](_0x46dd54,_0x556c16),_0x2bf324={'unitId':_0x45abe8,'op':_0x556c16},_0x11335e={'unitId':_0x45abe8,'op':_0x1920ba};return _0x9a7f07[_0x56ab50(0x2f7)](Q['id'],_0x2bf324)?(_0xf37f7d['focusUnit'](_0x45abe8),_0x477891[_0x56ab50(0x244)]({'unitID':_0x45abe8,'undoMutations':[{'id':Q['id'],'params':_0x11335e}],'redoMutations':[{'id':Q['id'],'params':_0x2bf324}]}),!0x0):!0x1;}},Za={'id':_0x327967(0x2f4),'type':_0x281ad9['COMMAND'],'handler':(_0x5550fb,_0x5efcdb)=>{const _0x298adf=_0x327967;if(!_0x5efcdb)return!0x1;let _0x4bc4e7=_0x5550fb[_0x298adf(0x318)](_0x3a38b9),{unitId:_0x3d4a8e,tableId:_0x361623,sourceRecordId:_0x97b946,record:_0x1e9d67}=_0x5efcdb,_0x4fd8af=_0x4bc4e7[_0x298adf(0x1d4)](_0x3d4a8e,_0x49a6be[_0x298adf(0xf9)]);if(!_0x4fd8af||!$(_0x4fd8af,_0x361623,{'recordIds':[_0x97b946]})||!_a(_0x4fd8af,_0x361623,_0x1e9d67))return!0x1;let _0x2c72a2=_0x5550fb[_0x298adf(0x318)](_0x2823d6),_0x4a6e18=_0x5550fb[_0x298adf(0x318)](_0x15f92a),_0x5ab63f=_0x4fd8af[_0x298adf(0x32b)](),_0x27a286=va(_0x1e9d67),_0x1eef0e=Qe(_0x5ab63f[_0x298adf(0x486)][_0x361623],[_0x27a286]),_0x442644=new W()[_0x298adf(0x11d)](_0x5ab63f,_0x361623,_0x97b946,_0x27a286),_0x5dfab2=new z()['invertOp'](_0x5ab63f,_0x442644),_0x1fe3f3={'unitId':_0x3d4a8e,'op':_0x442644,'hierarchyChanges':_0x1eef0e[_0x298adf(0x1bf)]?_0x1eef0e:void 0x0,'source':_0x1eef0e['length']?_0x5efcdb[_0x298adf(0x300)]??'ui':void 0x0},_0x5c1dc9={..._0x1fe3f3,'source':_0x1eef0e[_0x298adf(0x1bf)]?_0x298adf(0x274):void 0x0},_0x1106ba={'unitId':_0x3d4a8e,'op':_0x5dfab2,'hierarchyChanges':_0x1eef0e[_0x298adf(0x1bf)]?_0x1eef0e[_0x298adf(0x412)](_0x183dbb=>({..._0x183dbb,'oldParentRecordId':_0x183dbb[_0x298adf(0x3a5)],'parentRecordId':null})):void 0x0,'source':_0x1eef0e[_0x298adf(0x1bf)]?_0x298adf(0x175):void 0x0};return _0x2c72a2['syncExecuteCommand'](Q['id'],_0x1fe3f3)?(_0x4bc4e7[_0x298adf(0x354)](_0x3d4a8e),_0x4a6e18[_0x298adf(0x244)]({'unitID':_0x3d4a8e,'undoMutations':[{'id':Q['id'],'params':_0x1106ba}],'redoMutations':[{'id':Q['id'],'params':_0x5c1dc9}]}),!0x0):!0x1;}},Qa={'id':_0x327967(0x1ca),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x29a0c7,_0xf9f12b){const _0x41f128=_0x327967;if(!_0xf9f12b)return!0x1;let _0x29b849=_0x29a0c7[_0x41f128(0x318)](_0x3a38b9),{unitId:_0x126910,tableId:_0x4eb9ef,viewId:_0x22fb40,ensureEndDateField:_0x1d54b1}=_0xf9f12b,_0x2f9b8d=_0x29b849[_0x41f128(0x1d4)](_0x126910,_0x49a6be[_0x41f128(0xf9)]);if(!_0x2f9b8d||!$(_0x2f9b8d,_0x4eb9ef,{'viewIds':[_0x22fb40]}))return!0x1;let _0x1e5830=_0x2f9b8d[_0x41f128(0x32b)](),_0x4723e9=_0x1e5830[_0x41f128(0x486)][_0x4eb9ef],_0x5e8e1f=_0x4723e9==null?void 0x0:_0x4723e9[_0x41f128(0x1eb)][_0x22fb40];if(!_0x4723e9||!_0x5e8e1f||_0x5e8e1f[_0x41f128(0x346)]!=='calendar'&&_0x5e8e1f[_0x41f128(0x346)]!==_0x41f128(0x3ca))return!0x1;let _0x5de77c=Ia(_0x4723e9,_0x5e8e1f,_0x1d54b1===!0x0);if(!_0x5de77c[_0x41f128(0x2cc)])return!0x1;let _0x1a054=_0x29a0c7['get'](_0x2823d6),_0x3b07b3=_0x29a0c7[_0x41f128(0x318)](_0x15f92a),_0x542707=new W(),_0x815c99=[..._0x5de77c[_0x41f128(0x305)]['map'](_0x1f97bc=>_0x542707[_0x41f128(0x24c)](_0x1e5830,_0xf9f12b[_0x41f128(0x19a)],{'field':_0x1f97bc})),$a([...eo(_0xf9f12b['tableId'],_0xf9f12b[_0x41f128(0x2d0)]),_0x41f128(0x174)],_0x5e8e1f[_0x41f128(0x174)],_0x5de77c['config'])];_0x5de77c['fieldOrder']&&_0x815c99[_0x41f128(0x161)]($a([...eo(_0xf9f12b[_0x41f128(0x19a)],_0xf9f12b['viewId']),'fieldOrder'],_0x5e8e1f[_0x41f128(0x1f8)],_0x5de77c['fieldOrder']));let _0x226204=R(_0x815c99),_0x44e11f=new z()['invertOp'](_0x1e5830,_0x226204),_0x3a2c99={'unitId':_0x126910,'op':_0x226204},_0x33e854={'unitId':_0x126910,'op':_0x44e11f};return _0x1a054[_0x41f128(0x2f7)](Q['id'],_0x3a2c99)?(_0x29b849['focusUnit'](_0x126910),_0x3b07b3[_0x41f128(0x244)]({'unitID':_0x126910,'undoMutations':[{'id':Q['id'],'params':_0x33e854}],'redoMutations':[{'id':Q['id'],'params':_0x3a2c99}]}),!0x0):!0x1;}};function $a(_0x48db55,_0x2d2baa,_0x15f0fd){const _0x3d33e9=_0x327967;return _0x2d2baa===void 0x0?_0x43163e[_0x3d33e9(0xf4)](_0x48db55,_0x15f0fd):_0x43163e[_0x3d33e9(0x464)](_0x48db55,_0x2d2baa,_0x15f0fd);}function eo(_0x13f272,_0x13c81b){const _0x243600=_0x327967;return[_0x243600(0x486),_0x13f272,_0x243600(0x1eb),_0x13c81b];}const to={'id':_0x327967(0x269),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x75d9f5,_0x5be591)=>{const _0x4bd83e=_0x327967;if(!_0x5be591)return!0x1;let _0x73593=_0x75d9f5[_0x4bd83e(0x318)](_0x3a38b9),{unitId:_0xbb4cca,tableId:_0x8ac588,fieldId:_0x2023fa,target:_0x1c2d85}=_0x5be591,_0x4c4519=_0x73593[_0x4bd83e(0x1d4)](_0xbb4cca,_0x49a6be[_0x4bd83e(0xf9)]),_0x450ab6=_0x1c2d85[_0x4bd83e(0x25b)]??_0x1c2d85[_0x4bd83e(0x338)];if(!_0x4c4519||!!_0x1c2d85[_0x4bd83e(0x25b)]==!!_0x1c2d85[_0x4bd83e(0x338)]||!_0x450ab6||_0x450ab6===_0x2023fa||_0x2023fa===_0x40fc9d||_0x1c2d85[_0x4bd83e(0x25b)]===_0x40fc9d||!$(_0x4c4519,_0x8ac588,{'fieldIds':[_0x2023fa,_0x450ab6]}))return!0x1;let _0x1e2e64=_0x75d9f5['get'](_0x2823d6),_0x23646b=_0x75d9f5['get'](_0x15f92a),_0x2041f4=_0x4c4519[_0x4bd83e(0x32b)](),_0x1bf630=new W()['moveField'](_0x2041f4,_0x8ac588,_0x2023fa,_0x1c2d85),_0x582a44=new z()[_0x4bd83e(0x38e)](_0x2041f4,_0x1bf630),_0x105793={'unitId':_0xbb4cca,'op':_0x1bf630},_0x4605c0={'unitId':_0xbb4cca,'op':_0x582a44};return _0x1e2e64[_0x4bd83e(0x2f7)](Q['id'],_0x105793)?(_0x73593['focusUnit'](_0xbb4cca),_0x23646b[_0x4bd83e(0x244)]({'unitID':_0xbb4cca,'undoMutations':[{'id':Q['id'],'params':_0x4605c0}],'redoMutations':[{'id':Q['id'],'params':_0x105793}]}),!0x0):!0x1;}},no={'id':_0x327967(0x181),'type':_0x281ad9['COMMAND'],'handler':(_0x18a852,_0x375cfe)=>{const _0x101e34=_0x327967;var _0x2bcd22;if(!_0x375cfe)return!0x1;let {unitId:_0x1da349,tableId:_0x4f7553,recordId:_0x27fe4c,parentRecordId:_0x3706ff,orderKey:_0x460bb6}=_0x375cfe,_0x3c3776=_0x18a852['get'](_0x3a38b9),_0x173e55=_0x3c3776[_0x101e34(0x1d4)](_0x1da349,_0x49a6be[_0x101e34(0xf9)]);if(!_0x173e55||!$(_0x173e55,_0x4f7553,{'recordIds':[_0x27fe4c,..._0x3706ff?[_0x3706ff]:[]]}))throw new P(_0x101e34(0x3bd));let _0x37f9b7=_0x173e55[_0x101e34(0x32b)](),_0x139f05=_0x37f9b7[_0x101e34(0x486)][_0x4f7553],_0x4632d0=qe(_0x139f05),_0x5e34f3=_0x4632d0??_0x375cfe['fieldId']??Je(_0x139f05);if(_0x4632d0&&_0x375cfe['fieldId']&&_0x375cfe[_0x101e34(0x173)]!==_0x4632d0||_0x139f05[_0x101e34(0x305)][_0x5e34f3]&&!F(_0x139f05,_0x5e34f3))throw new P(_0x101e34(0x421));let _0x4e29c2=tt(_0x139f05,_0x5e34f3),_0xbd7bf3=it(_0x4e29c2,_0x27fe4c,_0x3706ff);if(!_0xbd7bf3['valid'])throw new P(_0xbd7bf3[_0x101e34(0x3bf)]===_0x240c41[_0x101e34(0x38b)]?_0x101e34(0x43b):_0xbd7bf3['reason']===_0x240c41[_0x101e34(0x2d8)]?_0x101e34(0x403):'maxDepth');let _0x7a6dfa=_0x4e29c2[_0x101e34(0x47c)][_0x101e34(0x318)](_0x27fe4c)??null,_0x1cd64e=_0x139f05['records'][_0x27fe4c][_0x101e34(0x44c)];if(_0x7a6dfa===_0x3706ff&&(_0x460bb6===void 0x0||_0x460bb6===_0x1cd64e))return!0x0;let _0x5ba628=_0x7a6dfa!==_0x3706ff,_0x4bddd2=_0x460bb6!==void 0x0&&_0x460bb6!==_0x1cd64e,_0x50b193=new W(),_0xea5f0b=[],_0x4b693b=_0x139f05[_0x101e34(0x305)][_0x5e34f3],_0x40330d=_0x5ba628&&(!_0x4b693b||((_0x2bcd22=N(_0x4b693b))==null?void 0x0:_0x2bcd22[_0x101e34(0x382)])!==_0x3e0df7[_0x101e34(0x4a4)])?_0x4b693b?_0x50b193[_0x101e34(0x3de)](_0x37f9b7,_0x4f7553,_0x5e34f3,{'config':{..._0x4b693b['config'],'relationRole':_0x3e0df7[_0x101e34(0x4a4)]}}):_0x18a852[_0x101e34(0x318)](Kr)[_0x101e34(0x40b)](_0x173e55,_0x4f7553,Ye(_0x139f05,_0x5e34f3,_0x375cfe[_0x101e34(0x3ff)]),_0x139f05[_0x101e34(0x1f8)]['length']):null;_0x40330d&&_0xea5f0b['push'](_0x40330d),_0x5ba628&&_0xea5f0b[_0x101e34(0x161)](_0x50b193[_0x101e34(0x154)](_0x37f9b7,_0x4f7553,_0x27fe4c,_0x5e34f3,_0x3706ff?Re([_0x3706ff]):'')),_0x4bddd2&&_0xea5f0b[_0x101e34(0x161)](_0x50b193[_0x101e34(0x19e)](_0x37f9b7,_0x4f7553,_0x27fe4c,_0x460bb6));let _0x49ca58=R(_0xea5f0b),_0x1bdaff={'tableId':_0x4f7553,'fieldId':_0x5e34f3,'recordId':_0x27fe4c,'oldParentRecordId':_0x7a6dfa,'parentRecordId':_0x3706ff},_0x944ae9={'unitId':_0x1da349,'op':_0x49ca58,'trigger':no['id'],'hierarchyChanges':[_0x1bdaff],'source':_0x375cfe['source']??'ui'},_0x37efb5={..._0x944ae9,'source':_0x101e34(0x274)};if(!_0x18a852[_0x101e34(0x318)](_0x2823d6)[_0x101e34(0x2f7)](Q['id'],_0x944ae9))return!0x1;let _0x5a93d9=_0x173e55[_0x101e34(0x32b)](),_0x4eb6b6=[];_0x5ba628&&_0x4eb6b6[_0x101e34(0x161)](ro(_0x5a93d9,_0x37f9b7,_0x4f7553,_0x27fe4c,_0x5e34f3)),_0x4bddd2&&_0x4eb6b6[_0x101e34(0x161)](io(_0x5a93d9,_0x37f9b7,_0x4f7553,_0x27fe4c)),_0x40330d&&_0x4eb6b6['push'](new z()[_0x101e34(0x38e)](_0x37f9b7,_0x40330d));let _0x5494dc={'unitId':_0x1da349,'op':R(_0x4eb6b6),'trigger':no['id'],'hierarchyChanges':[{..._0x1bdaff,'oldParentRecordId':_0x3706ff,'parentRecordId':_0x7a6dfa}],'source':_0x101e34(0x175)};return _0x3c3776['focusUnit'](_0x1da349),_0x18a852[_0x101e34(0x318)](_0x15f92a)['pushUndoRedo']({'unitID':_0x1da349,'undoMutations':[{'id':Q['id'],'params':_0x5494dc}],'redoMutations':[{'id':Q['id'],'params':_0x37efb5}]}),!0x0;}};function ro(_0x252617,_0x26c624,_0x4a4ec9,_0x44c583,_0x5a4956){const _0xae9196=_0x327967;var _0x45748c,_0x28a262,_0x4907fe,_0x25ae07,_0x1b7057,_0x346e05,_0x3e14a4,_0x3c5739;let _0x44a905=_0x252617[_0xae9196(0x486)][_0x4a4ec9],_0x135364=_0x26c624[_0xae9196(0x486)][_0x4a4ec9],_0x41c1da=(_0x45748c=_0x44a905[_0xae9196(0x257)])==null?void 0x0:_0x45748c[_0x44c583],_0x31f310=(_0x28a262=_0x44a905['colIndex'])==null?void 0x0:_0x28a262[_0x5a4956],_0x52fd74=(_0x4907fe=_0x135364[_0xae9196(0x257)])==null?void 0x0:_0x4907fe[_0x44c583],_0x595b50=(_0x25ae07=_0x135364[_0xae9196(0x22a)])==null?void 0x0:_0x25ae07[_0x5a4956],_0x3178f1=_0x41c1da==null||_0x31f310==null||(_0x1b7057=_0x44a905[_0xae9196(0xdd)])==null||(_0x1b7057=_0x1b7057[_0x41c1da])==null?void 0x0:_0x1b7057[_0x31f310],_0x1edd95=_0x52fd74==null||_0x595b50==null||(_0x346e05=_0x135364['cellData'])==null||(_0x346e05=_0x346e05[_0x52fd74])==null?void 0x0:_0x346e05[_0x595b50],_0x31fc9f=(_0x3e14a4=_0x44a905[_0xae9196(0x1d7)][_0x44c583])==null?void 0x0:_0x3e14a4['values'][_0x5a4956],_0x3d13b9=(_0x3c5739=_0x135364[_0xae9196(0x1d7)][_0x44c583])==null?void 0x0:_0x3c5739[_0xae9196(0x259)][_0x5a4956],_0x21d43f=[],_0x10e252=ao(_0x41c1da==null||_0x31f310==null?null:U[_0xae9196(0xdd)](_0x4a4ec9,_0x41c1da,_0x31f310),_0x3178f1,_0x1edd95);_0x10e252&&_0x21d43f[_0xae9196(0x161)](_0x10e252);let _0x530326=ao(U['cell'](_0x4a4ec9,_0x44c583,_0x5a4956),_0x31fc9f,_0x3d13b9);return _0x530326&&_0x21d43f[_0xae9196(0x161)](_0x530326),R(_0x21d43f);}function io(_0x304b20,_0x460f94,_0x46f5de,_0x4c5fcd){const _0x2e7235=_0x327967;var _0x5526bc,_0x267c3c;let _0xfead39=_0x304b20['tables'][_0x46f5de],_0x364ccb=_0x460f94[_0x2e7235(0x486)][_0x46f5de];return R([ao([...U[_0x2e7235(0x472)](_0x46f5de,_0x4c5fcd),_0x2e7235(0x44c)],(_0x5526bc=_0xfead39['records'][_0x4c5fcd])==null?void 0x0:_0x5526bc['orderKey'],(_0x267c3c=_0x364ccb[_0x2e7235(0x1d7)][_0x4c5fcd])==null?void 0x0:_0x267c3c[_0x2e7235(0x44c)]),ao([...U['table'](_0x46f5de),_0x2e7235(0x1e2)],_0xfead39[_0x2e7235(0x1e2)],_0x364ccb['recordOrder'])][_0x2e7235(0x1be)](_0x143eee=>!!_0x143eee));}function ao(_0x4adb74,_0x341e34,_0x5047fe){const _0x5e32a7=_0x327967;if(!_0x4adb74||_0x341e34===void 0x0&&_0x5047fe===void 0x0)return null;let _0x219fa6=_0x12a725[_0x5e32a7(0x2d3)]();return _0x5047fe===void 0x0?_0x219fa6['removeOp'](_0x4adb74,_0x341e34):_0x341e34===void 0x0?_0x219fa6[_0x5e32a7(0xf4)](_0x4adb74,_0x5047fe):_0x219fa6[_0x5e32a7(0x464)](_0x4adb74,_0x341e34,_0x5047fe);}const oo={'id':_0x327967(0x459),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0xcf0cd4,_0x2c3d54)=>{const _0x16a102=_0x327967;if(!_0x2c3d54)return!0x1;let _0x1b4997=_0xcf0cd4[_0x16a102(0x318)](_0x3a38b9),{unitId:_0x48d638,tableId:_0x4145b3,viewId:_0x81cfde,target:_0x4c3296}=_0x2c3d54,_0x2467b6=_0x1b4997[_0x16a102(0x1d4)](_0x48d638,_0x49a6be[_0x16a102(0xf9)]),_0x21b814=_0x4c3296['beforeViewId']??_0x4c3296[_0x16a102(0x24f)];if(!_0x2467b6||!_0x21b814||_0x21b814===_0x81cfde||!$(_0x2467b6,_0x4145b3,{'viewIds':[_0x81cfde,_0x21b814]}))return!0x1;let _0x46c1a5=_0xcf0cd4[_0x16a102(0x318)](_0x2823d6),_0xe6b6b0=_0xcf0cd4[_0x16a102(0x318)](_0x15f92a),_0x519cb7=_0x2467b6[_0x16a102(0x32b)](),_0x53b7a0=new W()[_0x16a102(0x2dc)](_0x519cb7,_0x4145b3,_0x81cfde,_0x4c3296),_0x27ce1b=new z()[_0x16a102(0x38e)](_0x519cb7,_0x53b7a0),_0x1510fe={'unitId':_0x48d638,'op':_0x53b7a0},_0x4189ed={'unitId':_0x48d638,'op':_0x27ce1b};return _0x46c1a5[_0x16a102(0x2f7)](Q['id'],_0x1510fe)?(_0x1b4997[_0x16a102(0x354)](_0x48d638),_0xe6b6b0[_0x16a102(0x244)]({'unitID':_0x48d638,'undoMutations':[{'id':Q['id'],'params':_0x4189ed}],'redoMutations':[{'id':Q['id'],'params':_0x1510fe}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x407e76,_0x80544d)=>{const _0x54261a=_0x327967;if(!_0x80544d)return!0x1;let _0x5271f9=_0x407e76[_0x54261a(0x318)](_0x3a38b9),{unitId:_0x36739b,tableId:_0x1006f3,name:_0x36abf7}=_0x80544d,_0x3b1a17=_0x5271f9[_0x54261a(0x1d4)](_0x36739b,_0x49a6be[_0x54261a(0xf9)]);if(!_0x3b1a17||!$(_0x3b1a17,_0x1006f3)||!Oa(_0x3b1a17[_0x54261a(0x32b)](),_0x36abf7,_0x1006f3)[_0x54261a(0x48b)])return!0x1;let _0x5ea47d=_0x407e76[_0x54261a(0x318)](_0x2823d6),_0x21f262=_0x407e76['get'](_0x15f92a),_0x29e010=_0x3b1a17[_0x54261a(0x32b)](),_0x14e8bf=new W()['renameTable'](_0x29e010,_0x1006f3,_0x36abf7),_0x356fd1=new z()['invertOp'](_0x29e010,_0x14e8bf),_0x523bec={'unitId':_0x36739b,'op':_0x14e8bf},_0x4970de={'unitId':_0x36739b,'op':_0x356fd1};return _0x5ea47d[_0x54261a(0x2f7)](Q['id'],_0x523bec)?(_0x5271f9[_0x54261a(0x354)](_0x36739b),_0x21f262['pushUndoRedo']({'unitID':_0x36739b,'undoMutations':[{'id':Q['id'],'params':_0x4970de}],'redoMutations':[{'id':Q['id'],'params':_0x523bec}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x281ad9['COMMAND'],'handler':(_0x723d1e,_0x22df62)=>{const _0x569c5f=_0x327967;if(!_0x22df62)return!0x1;let _0x247a9e=_0x723d1e[_0x569c5f(0x318)](_0x3a38b9),{unitId:_0x75e5f7,tableId:_0x5ea481,viewId:_0x1fbe07,name:_0x1bd67e}=_0x22df62,_0x10d70f=_0x247a9e['getUnit'](_0x75e5f7,_0x49a6be[_0x569c5f(0xf9)]);if(!_0x10d70f||!$(_0x10d70f,_0x5ea481,{'viewIds':[_0x1fbe07]}))return!0x1;let _0x1e46e1=_0x723d1e['get'](_0x2823d6),_0x167606=_0x723d1e[_0x569c5f(0x318)](_0x15f92a),_0x3a6fc2=_0x10d70f['getSnapshot'](),_0x252e88=new W()[_0x569c5f(0x271)](_0x3a6fc2,_0x5ea481,_0x1fbe07,_0x1bd67e),_0x57374e=new z()['invertOp'](_0x3a6fc2,_0x252e88),_0x3a74ee={'unitId':_0x75e5f7,'op':_0x252e88},_0x49046a={'unitId':_0x75e5f7,'op':_0x57374e};return _0x1e46e1['syncExecuteCommand'](Q['id'],_0x3a74ee)?(_0x247a9e[_0x569c5f(0x354)](_0x75e5f7),_0x167606[_0x569c5f(0x244)]({'unitID':_0x75e5f7,'undoMutations':[{'id':Q['id'],'params':_0x49046a}],'redoMutations':[{'id':Q['id'],'params':_0x3a74ee}]}),!0x0):!0x1;}},lo={'id':_0x327967(0x401),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0xb028f,_0x2ed076)=>{const _0x2b0cb3=_0x327967;if(!_0x2ed076)return!0x1;let _0x1585d3=_0xb028f[_0x2b0cb3(0x318)](_0x3a38b9),{unitId:_0x5bd4d2,tableId:_0x198db8,viewId:_0x451344,fieldId:_0x57555e}=_0x2ed076,_0x5462bc=_0x1585d3[_0x2b0cb3(0x1d4)](_0x5bd4d2,_0x49a6be[_0x2b0cb3(0xf9)]);if(!_0x5462bc||!$(_0x5462bc,_0x198db8,{'viewIds':[_0x451344],'fieldIds':[_0x57555e]}))return!0x1;let _0x4dee40=_0xb028f[_0x2b0cb3(0x318)](_0x2823d6),_0xfc952=_0xb028f[_0x2b0cb3(0x318)](_0x15f92a),_0x5e92f1=_0x5462bc['getSnapshot'](),_0xa5a3d=new W()[_0x2b0cb3(0x18c)](_0x5e92f1,_0x198db8,_0x451344,{'groupFieldId':_0x57555e}),_0x54cf70=new z()[_0x2b0cb3(0x38e)](_0x5e92f1,_0xa5a3d),_0x598528={'unitId':_0x5bd4d2,'op':_0xa5a3d},_0x4d46a9={'unitId':_0x5bd4d2,'op':_0x54cf70};return _0x4dee40['syncExecuteCommand'](Q['id'],_0x598528)?(_0x1585d3[_0x2b0cb3(0x354)](_0x5bd4d2),_0xfc952[_0x2b0cb3(0x244)]({'unitID':_0x5bd4d2,'undoMutations':[{'id':Q['id'],'params':_0x4d46a9}],'redoMutations':[{'id':Q['id'],'params':_0x598528}]}),!0x0):!0x1;}},uo={'id':_0x327967(0x10c),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x1ae32c,_0x13840b)=>{const _0x167f03=_0x327967;if(!_0x13840b)return!0x1;let _0x529520=_0x1ae32c[_0x167f03(0x318)](_0x3a38b9),_0x1523a9=_0x529520[_0x167f03(0x1d4)](_0x13840b[_0x167f03(0x409)],_0x49a6be['UNIVER_BASE']);if(!_0x1523a9)return!0x1;let _0x3fb695=_0x1523a9[_0x167f03(0x32b)]()[_0x167f03(0x158)];if(_0x3fb695===_0x13840b[_0x167f03(0x158)])return!0x0;let _0x63163a=new W(),_0x55baa4=new z(),_0xfa5209=[],_0x5e13ce=[],_0x3494b4=[_0x1523a9,..._0x529520[_0x167f03(0x498)](_0x49a6be[_0x167f03(0xf9)])[_0x167f03(0x1be)](_0x12ddab=>_0x12ddab[_0x167f03(0x40a)]()!==_0x13840b[_0x167f03(0x409)])];for(let _0x24a31f of _0x3494b4){let _0x28c2e8=_0x24a31f[_0x167f03(0x32b)](),_0x14e8ef=_0x24a31f===_0x1523a9?_0x63163a[_0x167f03(0x41e)](_0x28c2e8,_0x13840b[_0x167f03(0x158)]):_0x63163a['renameFormulaUnitReferences'](_0x28c2e8,_0x3fb695,_0x13840b[_0x167f03(0x158)]);_0x14e8ef&&(_0xfa5209[_0x167f03(0x161)]({'id':Q['id'],'params':{'unitId':_0x24a31f[_0x167f03(0x40a)](),'op':_0x14e8ef,'trigger':uo['id']}}),_0x5e13ce[_0x167f03(0x245)]({'id':Q['id'],'params':{'unitId':_0x24a31f[_0x167f03(0x40a)](),'op':_0x55baa4[_0x167f03(0x38e)](_0x28c2e8,_0x14e8ef),'trigger':uo['id']}}));}let _0x178149=_0x1ae32c['get'](_0x2823d6),_0x1eaa68=_0x1ae32c[_0x167f03(0x318)](_0x15f92a),_0x5a63d0=_0x1eaa68['__tempBatchingUndoRedo'](_0x13840b['unitId']);try{return _0x4a8c31(_0xfa5209,_0x178149)[_0x167f03(0x1a1)]?(_0x529520[_0x167f03(0x354)](_0x13840b[_0x167f03(0x409)]),_0x1eaa68[_0x167f03(0x244)]({'unitID':_0x13840b[_0x167f03(0x409)],'undoMutations':_0x5e13ce,'redoMutations':_0xfa5209}),!0x0):!0x1;}finally{_0x5a63d0[_0x167f03(0x2b1)]();}}},fo={'type':_0x281ad9[_0x327967(0x23d)],'id':_0x327967(0x40c),async 'handler'(_0x2c671f,_0xa2fdac){const _0x2a4769=_0x327967;if(!_0xa2fdac||!Tr[_0x2a4769(0x45c)](_0xa2fdac[_0x2a4769(0x2b0)])||_0xa2fdac[_0x2a4769(0x136)]!==_0xa2fdac[_0x2a4769(0x409)]&&_0xa2fdac['action']!==_0x3709ae['Edit']||_0xa2fdac[_0x2a4769(0x195)]&&(![_0x2a4769(0x113),_0x2a4769(0x411),_0x2a4769(0x3fd)][_0x2a4769(0x45c)](_0xa2fdac[_0x2a4769(0x195)][_0x2a4769(0x248)])||_0xa2fdac[_0x2a4769(0x195)][_0x2a4769(0x246)]['some'](_0x4e03a8=>!Tr[_0x2a4769(0x45c)](_0x4e03a8[_0x2a4769(0x2b0)])||_0xa2fdac['objectId']!==_0xa2fdac[_0x2a4769(0x409)]&&_0x4e03a8[_0x2a4769(0x2b0)]!==_0x3709ae[_0x2a4769(0x474)])))return!0x1;let _0x43def6=Pr(_0xa2fdac[_0x2a4769(0x409)],_0xa2fdac[_0x2a4769(0x136)],_0xa2fdac['action']),_0x31f442={'unitId':_0xa2fdac['unitId'],'objectId':_0xa2fdac[_0x2a4769(0x136)],'objectType':_0x43def6[_0x2a4769(0x346)]},_0x4208f9=_0x2c671f['get'](_0x77c4ee);return _0xa2fdac[_0x2a4769(0x13b)]?await _0x4208f9[_0x2a4769(0x13b)](_0x31f442):_0xa2fdac['policy']?await _0x4208f9[_0x2a4769(0x2b8)](_0x31f442,_0xa2fdac[_0x2a4769(0x195)]):await _0x4208f9[_0x2a4769(0x17d)](_0x31f442,_0x43def6,_0xa2fdac[_0x2a4769(0x1e1)]),!0x0;}},po={'type':_0x281ad9[_0x327967(0x23d)],'id':_0x327967(0x288),async 'handler'(_0x254823,_0x95b7ae){const _0x154559=_0x327967;if(!(_0x95b7ae!=null&&_0x95b7ae[_0x154559(0x409)])||!Array[_0x154559(0x3fb)](_0x95b7ae[_0x154559(0x17c)])||!_0x95b7ae[_0x154559(0x17c)][_0x154559(0x1bf)]||_0x95b7ae[_0x154559(0x17c)][_0x154559(0x35d)](_0x32807c=>!(_0x32807c!=null&&_0x32807c[_0x154559(0x136)])||_0x32807c[_0x154559(0x136)]===_0x95b7ae['unitId']||_0x32807c[_0x154559(0x195)]!==null&&(!_0x32807c[_0x154559(0x195)]||![_0x154559(0x113),_0x154559(0x411),_0x154559(0x3fd)][_0x154559(0x45c)](_0x32807c[_0x154559(0x195)][_0x154559(0x248)])||!Array['isArray'](_0x32807c[_0x154559(0x195)][_0x154559(0x2c0)])||!Array[_0x154559(0x3fb)](_0x32807c['policy'][_0x154559(0x246)])||_0x32807c['policy']['strategies'][_0x154559(0x35d)](_0x1418c0=>_0x1418c0[_0x154559(0x2b0)]!==_0x3709ae[_0x154559(0x474)]))))throw Error(_0x154559(0x278));return _0x254823['get'](_0x77c4ee)[_0x154559(0x142)](_0x95b7ae[_0x154559(0x17c)][_0x154559(0x412)](_0x270208=>{const _0x498824=_0x154559;let _0xa8aa11=Pr(_0x95b7ae['unitId'],_0x270208[_0x498824(0x136)],_0x3709ae['Edit']);return{'unitId':_0x95b7ae['unitId'],'objectId':_0x270208['objectId'],'objectType':_0xa8aa11[_0x498824(0x346)],'policy':_0x270208[_0x498824(0x195)]};}));}};function mo(_0x27269e,_0xde827c){const _0x43c90d=_0x327967;let _0x5092a6=L(_0x2ea00f[_0x43c90d(0x3e0)](_0x27269e)),_0x2c6b49=new Map();return _0xde827c[_0x43c90d(0x29b)](_0x3e971e=>{const _0x5189c9=_0x43c90d;var _0x405e48,_0x5b38fa;let _0x46e865=_0x5189c9(0x345)in _0x3e971e?_0x3e971e[_0x5189c9(0x345)]:(_0x405e48=_0x5092a6[_0x5189c9(0x2a7)])==null?void 0x0:_0x405e48[_0x3e971e[_0x5189c9(0x124)]],_0x2671f0=_0x5189c9(0x173)in _0x3e971e?_0x3e971e['fieldId']:(_0x5b38fa=_0x5092a6[_0x5189c9(0x2ba)])==null?void 0x0:_0x5b38fa[_0x3e971e[_0x5189c9(0x36b)]],_0x3e8a90=_0x2671f0?_0x5092a6[_0x5189c9(0x305)][_0x2671f0]:void 0x0;if(!_0x46e865||!_0x2671f0||!_0x3e8a90||!_0x5092a6[_0x5189c9(0x1d7)][_0x46e865])return;let _0x3cbfb9=xt(_0x3e971e[_0x5189c9(0x1e1)],_0x3e8a90),_0xda6796=wt(_0x3e971e[_0x5189c9(0x1e1)],_0x3cbfb9,_0x3e8a90,_0x5092a6,_0x46e865),_0x26bd28=_0x2c6b49[_0x5189c9(0x318)](_0x46e865)??{};_0x26bd28[_0x2671f0]=_0xda6796,_0x2c6b49[_0x5189c9(0x3fe)](_0x46e865,_0x26bd28);}),[..._0x2c6b49]['map'](([_0x30cc5b,_0x387406])=>({'recordId':_0x30cc5b,'values':_0x387406}));}const ho={'id':_0x327967(0xe2),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x584512,_0x2039e5){const _0x99a261=_0x327967;if(!_0x2039e5)return!0x1;let _0x1567fb=_0x584512['get'](_0x3a38b9),{unitId:_0x4e538b,tableId:_0xfe89c6,patches:_0x5599c9}=_0x2039e5,_0x5a91d2=_0x1567fb[_0x99a261(0x1d4)](_0x4e538b,_0x49a6be[_0x99a261(0xf9)]);if(!_0x5a91d2||!$(_0x5a91d2,_0xfe89c6))return!0x1;let _0x21a156=_0x584512[_0x99a261(0x318)](_0x2823d6),_0x3acd=_0x584512[_0x99a261(0x318)](_0x15f92a),_0x558c4d=_0x5a91d2['getSnapshot'](),_0x959f9f=L(_0x558c4d['tables'][_0xfe89c6]),_0x275ee7=_0x5599c9[_0x99a261(0x412)](_0x5e0153=>{const _0x3a1298=_0x99a261;var _0xaa9941;return'recordId'in _0x5e0153?_0x5e0153[_0x3a1298(0x345)]:(_0xaa9941=_0x959f9f[_0x3a1298(0x2a7)])==null?void 0x0:_0xaa9941[_0x5e0153[_0x3a1298(0x124)]];})['filter'](_0xa24d56=>_0xa24d56!=null),_0x5d6d41=_0x5599c9[_0x99a261(0x412)](_0x4425d6=>{const _0x1a7f3=_0x99a261;var _0x576486;return _0x1a7f3(0x173)in _0x4425d6?_0x4425d6['fieldId']:(_0x576486=_0x959f9f['colId'])==null?void 0x0:_0x576486[_0x4425d6[_0x1a7f3(0x36b)]];})['filter'](_0x8a2941=>_0x8a2941!=null);if(_0x275ee7[_0x99a261(0x1bf)]!==_0x5599c9['length']||_0x5d6d41['length']!==_0x5599c9[_0x99a261(0x1bf)]||!$(_0x5a91d2,_0xfe89c6,{'recordIds':_0x275ee7,'fieldIds':_0x5d6d41})||_0x5599c9['some']((_0x27c025,_0x59c1b9)=>!ga(_0x5a91d2,_0xfe89c6,_0x5d6d41[_0x59c1b9],_0x27c025['value'])))return!0x1;let _0x2dd5e7=Ze(_0x959f9f,mo(_0x959f9f,_0x5599c9)),_0x4e282c=_0x5599c9['flatMap'](_0x217f48=>{const _0xc6c44f=_0x99a261;var _0x5b2d89,_0xe6d9c2;if(_0xc6c44f(0x124)in _0x217f48)return[_0x217f48];let _0x15bf12=(_0x5b2d89=_0x959f9f[_0xc6c44f(0x257)])==null?void 0x0:_0x5b2d89[_0x217f48[_0xc6c44f(0x345)]],_0x437859=(_0xe6d9c2=_0x959f9f[_0xc6c44f(0x22a)])==null?void 0x0:_0xe6d9c2[_0x217f48[_0xc6c44f(0x173)]];return _0x15bf12==null||_0x437859==null?[]:[{'row':_0x15bf12,'col':_0x437859,'value':_0x217f48[_0xc6c44f(0x1e1)]}];}),_0x4e4939=new W()[_0x99a261(0x1c0)](_0x558c4d,_0xfe89c6,_0x4e282c),_0x1dd378=new z()[_0x99a261(0x38e)](_0x558c4d,_0x4e4939),_0x2f4be1={'unitId':_0x4e538b,'op':_0x4e4939,'trigger':_0x2dd5e7[_0x99a261(0x1bf)]?ho['id']:void 0x0,'hierarchyChanges':_0x2dd5e7[_0x99a261(0x1bf)]?_0x2dd5e7:void 0x0,'source':_0x2dd5e7[_0x99a261(0x1bf)]?'redo':void 0x0},_0x4f33f9={'unitId':_0x4e538b,'op':_0x1dd378,'trigger':_0x2dd5e7['length']?ho['id']:void 0x0,'hierarchyChanges':_0x2dd5e7['length']?_0x2dd5e7[_0x99a261(0x412)](_0x3761f8=>({..._0x3761f8,'oldParentRecordId':_0x3761f8[_0x99a261(0x3a5)],'parentRecordId':_0x3761f8[_0x99a261(0x410)]})):void 0x0,'source':_0x2dd5e7[_0x99a261(0x1bf)]?_0x99a261(0x175):void 0x0},_0x218850={..._0x2f4be1,'source':_0x2dd5e7[_0x99a261(0x1bf)]?_0x2039e5[_0x99a261(0x300)]??'ui':void 0x0};return _0x21a156[_0x99a261(0x2f7)](Q['id'],_0x218850)?(_0x1567fb[_0x99a261(0x354)](_0x4e538b),_0x3acd[_0x99a261(0x244)]({'unitID':_0x4e538b,'undoMutations':[{'id':Q['id'],'params':_0x4f33f9}],'redoMutations':[{'id':Q['id'],'params':_0x2f4be1}]}),!0x0):!0x1;}},go={'id':_0x327967(0x128),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x58ac84,_0x4cac65){const _0x525ee9=_0x327967;if(!_0x4cac65)return!0x1;let _0x9cc9fb=_0x58ac84['get'](_0x3a38b9),{unitId:_0x8074ab,tableId:_0x9d808f,patches:_0x19a73a}=_0x4cac65,_0x3d6275=_0x9cc9fb['getUnit'](_0x8074ab,_0x49a6be[_0x525ee9(0xf9)]),_0x4fb316=_0x19a73a[_0x525ee9(0x412)](_0x9888ed=>_0x9888ed['recordId']),_0xda5091=_0x19a73a[_0x525ee9(0xeb)](_0x5ce8da=>Object[_0x525ee9(0x27a)](_0x5ce8da['values']));if(!_0x3d6275||!$(_0x3d6275,_0x9d808f,{'recordIds':_0x4fb316,'fieldIds':_0xda5091})||_0x19a73a[_0x525ee9(0x35d)](_0x5bd038=>Object[_0x525ee9(0x209)](_0x5bd038[_0x525ee9(0x259)])[_0x525ee9(0x35d)](([_0x411bc3,_0x59b947])=>!ga(_0x3d6275,_0x9d808f,_0x411bc3,_0x59b947))))return!0x1;let _0x2a79f9=Ze(_0x3d6275[_0x525ee9(0x32b)]()[_0x525ee9(0x486)][_0x9d808f],_0x19a73a),_0x5c7d95=_0x58ac84[_0x525ee9(0x318)](_0x2823d6),_0x4524c1=_0x58ac84[_0x525ee9(0x318)](_0x15f92a),_0x189acb=_0x58ac84[_0x525ee9(0x318)](Kr)[_0x525ee9(0x289)](_0x3d6275,_0x9d808f,_0x19a73a),_0x26501b=new z()['invertOp'](_0x3d6275[_0x525ee9(0x32b)](),_0x189acb),_0x29dae0={'unitId':_0x8074ab,'op':_0x189acb,'trigger':_0x2a79f9[_0x525ee9(0x1bf)]?go['id']:void 0x0,'hierarchyChanges':_0x2a79f9[_0x525ee9(0x1bf)]?_0x2a79f9:void 0x0,'source':_0x2a79f9['length']?_0x4cac65[_0x525ee9(0x300)]??'ui':void 0x0},_0x150405={..._0x29dae0,'source':_0x2a79f9[_0x525ee9(0x1bf)]?_0x525ee9(0x274):void 0x0},_0x151447={'unitId':_0x8074ab,'op':_0x26501b,'trigger':_0x2a79f9[_0x525ee9(0x1bf)]?go['id']:void 0x0,'hierarchyChanges':_0x2a79f9[_0x525ee9(0x1bf)]?_0x2a79f9[_0x525ee9(0x412)](_0x261dac=>({..._0x261dac,'oldParentRecordId':_0x261dac[_0x525ee9(0x3a5)],'parentRecordId':_0x261dac[_0x525ee9(0x410)]})):void 0x0,'source':_0x2a79f9[_0x525ee9(0x1bf)]?_0x525ee9(0x175):void 0x0};return _0x5c7d95[_0x525ee9(0x2f7)](Q['id'],_0x29dae0)?(_0x9cc9fb[_0x525ee9(0x354)](_0x8074ab),_0x4524c1[_0x525ee9(0x244)]({'unitID':_0x8074ab,'undoMutations':[{'id':Q['id'],'params':_0x151447}],'redoMutations':[{'id':Q['id'],'params':_0x150405}]}),!0x0):!0x1;}},_o={'id':_0x327967(0x481),'type':_0x281ad9['COMMAND'],'handler':(_0x260771,_0x266317)=>{const _0x232d89=_0x327967;if(!_0x266317)return!0x1;let {unitId:_0x4711f0,tableId:_0x1f9eb3,fieldId:_0x4512fa}=_0x266317,_0x1d2e43=_0x260771['get'](_0x3a38b9),_0x25b42c=_0x1d2e43[_0x232d89(0x1d4)](_0x4711f0,_0x49a6be['UNIVER_BASE']);if(!_0x25b42c||!$(_0x25b42c,_0x1f9eb3))return!0x1;let _0x23cd6a=_0x25b42c[_0x232d89(0x32b)](),_0x4493ff=_0x23cd6a[_0x232d89(0x486)][_0x1f9eb3];if(_0x4512fa!==null&&!F(_0x4493ff,_0x4512fa))throw new P(_0x232d89(0x421));if(qe(_0x4493ff)===_0x4512fa)return!0x0;let _0x33dbcc=new W(),_0x1680a1=R(Object[_0x232d89(0x259)](_0x4493ff[_0x232d89(0x305)])[_0x232d89(0xeb)](_0x21430b=>{const _0x41b77e=_0x232d89;if(!F(_0x4493ff,_0x21430b['id']))return[];let _0x3766d9=N(_0x21430b);if(!_0x3766d9)return[];let _0x27c4f2=_0x21430b['id']===_0x4512fa;if(_0x3766d9[_0x41b77e(0x382)]===_0x3e0df7['Parent']===_0x27c4f2)return[];let _0x43d785={..._0x21430b[_0x41b77e(0x174)],'targetTableId':_0x3766d9[_0x41b77e(0x16b)],'multiple':_0x3766d9[_0x41b77e(0x3eb)]};return _0x27c4f2?_0x43d785['relationRole']=_0x3e0df7[_0x41b77e(0x4a4)]:delete _0x43d785[_0x41b77e(0x382)],[_0x33dbcc[_0x41b77e(0x3de)](_0x23cd6a,_0x1f9eb3,_0x21430b['id'],{'config':_0x43d785})];})),_0x344bd=new z()[_0x232d89(0x38e)](_0x23cd6a,_0x1680a1),_0x44cfb8={'unitId':_0x4711f0,'op':_0x1680a1},_0x3238fd={'unitId':_0x4711f0,'op':_0x344bd};return _0x260771[_0x232d89(0x318)](_0x2823d6)['syncExecuteCommand'](Q['id'],_0x44cfb8)?(_0x1d2e43[_0x232d89(0x354)](_0x4711f0),_0x260771[_0x232d89(0x318)](_0x15f92a)[_0x232d89(0x244)]({'unitID':_0x4711f0,'undoMutations':[{'id':Q['id'],'params':_0x3238fd}],'redoMutations':[{'id':Q['id'],'params':_0x44cfb8}]}),!0x0):!0x1;}},vo={'id':'base.command.set-base-view-field-order','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x1a2cfd,_0x2a706f)=>{const _0x9b1253=_0x327967;if(!_0x2a706f)return!0x1;let _0x96c5b9=_0x1a2cfd[_0x9b1253(0x318)](_0x3a38b9),{unitId:_0x2127a4,tableId:_0x2237c3,viewId:_0x5afce7,fieldId:_0xd3d052,target:_0x578395}=_0x2a706f,_0x10ee59=_0x96c5b9[_0x9b1253(0x1d4)](_0x2127a4,_0x49a6be['UNIVER_BASE']),_0x1ba52c=_0x578395[_0x9b1253(0x25b)]??_0x578395[_0x9b1253(0x338)];if(!_0x10ee59||!_0x1ba52c||_0x1ba52c===_0xd3d052||!$(_0x10ee59,_0x2237c3,{'viewIds':[_0x5afce7],'fieldIds':[_0xd3d052,_0x1ba52c]}))return!0x1;let _0x32d1a4=_0x10ee59[_0x9b1253(0x32b)]()[_0x9b1253(0x486)][_0x2237c3],_0x5f10f7=_0x32d1a4[_0x9b1253(0x305)][_0xd3d052],_0x5e0be6=_0x32d1a4[_0x9b1253(0x305)][_0x1ba52c];if(_0x5f10f7[_0x9b1253(0x272)]===!0x0||_0x5f10f7[_0x9b1253(0x346)]===_0x1013ad[_0x9b1253(0x212)]||_0x5e0be6[_0x9b1253(0x272)]===!0x0||_0x5e0be6[_0x9b1253(0x346)]===_0x1013ad['RecordId'])return!0x1;let _0x1c0de6=_0x1a2cfd['get'](_0x2823d6),_0x15280b=_0x1a2cfd['get'](_0x15f92a),_0x3b649f=_0x10ee59[_0x9b1253(0x32b)](),_0x582757=new W()[_0x9b1253(0x25d)](_0x3b649f,_0x2237c3,_0x5afce7,_0xd3d052,_0x578395),_0x42b6c3=new z()[_0x9b1253(0x38e)](_0x3b649f,_0x582757),_0xea819e={'unitId':_0x2127a4,'op':_0x582757},_0x5ccfe1={'unitId':_0x2127a4,'op':_0x42b6c3};return _0x1c0de6['syncExecuteCommand'](Q['id'],_0xea819e)?(_0x96c5b9[_0x9b1253(0x354)](_0x2127a4),_0x15280b[_0x9b1253(0x244)]({'unitID':_0x2127a4,'undoMutations':[{'id':Q['id'],'params':_0x5ccfe1}],'redoMutations':[{'id':Q['id'],'params':_0xea819e}]}),!0x0):!0x1;}},yo={'id':_0x327967(0x11e),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x5c4213,_0xdc68e2){const _0x1deebf=_0x327967;if(!_0xdc68e2)return!0x1;let _0x692e0c=_0x5c4213[_0x1deebf(0x318)](_0x3a38b9),{unitId:_0x4ed630,tableId:_0x2b7eb8,viewId:_0x5eb06a,fieldId:_0x5cdd17,visible:_0x147691}=_0xdc68e2,_0x556053=_0x692e0c[_0x1deebf(0x1d4)](_0x4ed630,_0x49a6be[_0x1deebf(0xf9)]);if(!_0x556053||!$(_0x556053,_0x2b7eb8,{'viewIds':[_0x5eb06a],'fieldIds':[_0x5cdd17]}))return!0x1;let _0x3c99c3=_0x556053[_0x1deebf(0x32b)]()[_0x1deebf(0x486)][_0x2b7eb8][_0x1deebf(0x305)][_0x5cdd17];if(_0x3c99c3['system']===!0x0||_0x3c99c3[_0x1deebf(0x346)]===_0x1013ad[_0x1deebf(0x212)])return!0x1;let _0x3bd86f=_0x5c4213[_0x1deebf(0x318)](_0x2823d6),_0x12305f=_0x5c4213['get'](_0x15f92a),_0x32a9a3=_0x556053[_0x1deebf(0x32b)](),_0x713b82=new W()[_0x1deebf(0x326)](_0x32a9a3,_0x2b7eb8,_0x5eb06a,_0x5cdd17,_0x147691),_0xe8a1cc=new z()['invertOp'](_0x32a9a3,_0x713b82),_0x526ffc={'unitId':_0x4ed630,'op':_0x713b82},_0x97fa55={'unitId':_0x4ed630,'op':_0xe8a1cc};return _0x3bd86f['syncExecuteCommand'](Q['id'],_0x526ffc)?(_0x692e0c[_0x1deebf(0x354)](_0x4ed630),_0x12305f[_0x1deebf(0x244)]({'unitID':_0x4ed630,'undoMutations':[{'id':Q['id'],'params':_0x97fa55}],'redoMutations':[{'id':Q['id'],'params':_0x526ffc}]}),!0x0):!0x1;}},bo={'id':_0x327967(0x3e4),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x2c211a,_0x161afb)=>{const _0xe7925d=_0x327967;if(!_0x161afb)return!0x1;let _0x4f033e=_0x2c211a[_0xe7925d(0x318)](_0x3a38b9),{unitId:_0x51e6df,tableId:_0x2c701b,viewId:_0x3d4f79,fieldId:_0x743452,width:_0x28de8b}=_0x161afb,_0x1114a3=_0x4f033e[_0xe7925d(0x1d4)](_0x51e6df,_0x49a6be[_0xe7925d(0xf9)]);if(!_0x1114a3||!$(_0x1114a3,_0x2c701b,{'viewIds':[_0x3d4f79],'fieldIds':[_0x743452]}))return!0x1;let _0x4004bd=_0x1114a3[_0xe7925d(0x32b)]()[_0xe7925d(0x486)][_0x2c701b][_0xe7925d(0x305)][_0x743452];if(_0x4004bd['system']===!0x0||_0x4004bd['type']===_0x1013ad['RecordId'])return!0x1;let _0x273ec4=_0x2c211a[_0xe7925d(0x318)](_0x2823d6),_0x2a2fcf=_0x2c211a['get'](_0x15f92a),_0x1b0860=_0x1114a3[_0xe7925d(0x32b)](),_0x4ba9e3=new W()[_0xe7925d(0x492)](_0x1b0860,_0x2c701b,_0x3d4f79,_0x743452,_0x28de8b),_0x5b0dcb=new z()[_0xe7925d(0x38e)](_0x1b0860,_0x4ba9e3),_0x23f744={'unitId':_0x51e6df,'op':_0x4ba9e3},_0x1c66a7={'unitId':_0x51e6df,'op':_0x5b0dcb};return _0x273ec4['syncExecuteCommand'](Q['id'],_0x23f744)?(_0x4f033e['focusUnit'](_0x51e6df),_0x2a2fcf['pushUndoRedo']({'unitID':_0x51e6df,'undoMutations':[{'id':Q['id'],'params':_0x1c66a7}],'redoMutations':[{'id':Q['id'],'params':_0x23f744}]}),!0x0):!0x1;}},xo={'id':_0x327967(0x215),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x200fd5,_0xe93f64)=>{const _0x5e867f=_0x327967;if(!_0xe93f64)return!0x1;let _0x182f69=_0x200fd5[_0x5e867f(0x318)](_0x3a38b9),{unitId:_0x20958b,tableId:_0x1b8ffe,viewId:_0x483ce1,filter:_0x2a1cbb}=_0xe93f64,_0x3f7c13=_0x182f69[_0x5e867f(0x1d4)](_0x20958b,_0x49a6be[_0x5e867f(0xf9)]),_0x1ab2f0=(_0x2a1cbb==null?void 0x0:_0x2a1cbb['conditions'][_0x5e867f(0x412)](_0xf89876=>_0xf89876[_0x5e867f(0x173)]))??[];if(!_0x3f7c13||!$(_0x3f7c13,_0x1b8ffe,{'viewIds':[_0x483ce1],'fieldIds':_0x1ab2f0}))return!0x1;let _0x543697=_0x200fd5['get'](_0x2823d6),_0x27dfe3=_0x200fd5[_0x5e867f(0x318)](_0x15f92a),_0x23afab=_0x3f7c13['getSnapshot'](),_0x3ae907=new W()['setViewFilter'](_0x23afab,_0x1b8ffe,_0x483ce1,_0x2a1cbb),_0x556616=new z()[_0x5e867f(0x38e)](_0x23afab,_0x3ae907),_0x384d59={'unitId':_0x20958b,'op':_0x3ae907},_0x235523={'unitId':_0x20958b,'op':_0x556616};return _0x543697[_0x5e867f(0x2f7)](Q['id'],_0x384d59)?(_0x182f69[_0x5e867f(0x354)](_0x20958b),_0x27dfe3[_0x5e867f(0x244)]({'unitID':_0x20958b,'undoMutations':[{'id':Q['id'],'params':_0x235523}],'redoMutations':[{'id':Q['id'],'params':_0x384d59}]}),!0x0):!0x1;}},So={'id':_0x327967(0x2eb),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x404685,_0x293724)=>{const _0x4538f3=_0x327967;if(!_0x293724)return!0x1;let _0x104007=_0x404685['get'](_0x3a38b9),{unitId:_0x3af44f,tableId:_0x4384b0,viewId:_0x4f4ca4,group:_0x2f4deb}=_0x293724,_0x2099c4=_0x104007[_0x4538f3(0x1d4)](_0x3af44f,_0x49a6be['UNIVER_BASE']);if(!_0x2099c4||!$(_0x2099c4,_0x4384b0,{'viewIds':[_0x4f4ca4],'fieldIds':_0x2f4deb[_0x4538f3(0x412)](_0x55c485=>_0x55c485['fieldId'])}))return!0x1;let _0x1f7f9e=_0x404685['get'](_0x2823d6),_0x383350=_0x404685[_0x4538f3(0x318)](_0x15f92a),_0x4e9956=_0x2099c4[_0x4538f3(0x32b)](),_0x49eae0=new W()[_0x4538f3(0x356)](_0x4e9956,_0x4384b0,_0x4f4ca4,_0x2f4deb),_0x45afde=new z()[_0x4538f3(0x38e)](_0x4e9956,_0x49eae0),_0x5d8122={'unitId':_0x3af44f,'op':_0x49eae0},_0x48f933={'unitId':_0x3af44f,'op':_0x45afde};return _0x1f7f9e[_0x4538f3(0x2f7)](Q['id'],_0x5d8122)?(_0x104007[_0x4538f3(0x354)](_0x3af44f),_0x383350[_0x4538f3(0x244)]({'unitID':_0x3af44f,'undoMutations':[{'id':Q['id'],'params':_0x48f933}],'redoMutations':[{'id':Q['id'],'params':_0x5d8122}]}),!0x0):!0x1;}},Co={'id':_0x327967(0x1af),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x89ca2a,_0x40eafe)=>{const _0x5f268a=_0x327967;if(!_0x40eafe)return!0x1;let _0x2365f2=_0x89ca2a[_0x5f268a(0x318)](_0x3a38b9),{unitId:_0x47df24,tableId:_0x594df6,viewId:_0x3abf93,sort:_0x49bc04}=_0x40eafe,_0x4b65e9=_0x2365f2[_0x5f268a(0x1d4)](_0x47df24,_0x49a6be['UNIVER_BASE']);if(!_0x4b65e9||!$(_0x4b65e9,_0x594df6,{'viewIds':[_0x3abf93],'fieldIds':_0x49bc04[_0x5f268a(0x412)](_0x1718a1=>_0x1718a1[_0x5f268a(0x173)])}))return!0x1;let _0x3b9340=_0x89ca2a[_0x5f268a(0x318)](_0x2823d6),_0x38d003=_0x89ca2a[_0x5f268a(0x318)](_0x15f92a),_0x2030b6=_0x4b65e9['getSnapshot'](),_0x2edf91=new W()['setViewSort'](_0x2030b6,_0x594df6,_0x3abf93,_0x49bc04),_0x401fd6=new z()[_0x5f268a(0x38e)](_0x2030b6,_0x2edf91),_0x2328a3={'unitId':_0x47df24,'op':_0x2edf91},_0x317611={'unitId':_0x47df24,'op':_0x401fd6};return _0x3b9340['syncExecuteCommand'](Q['id'],_0x2328a3)?(_0x2365f2[_0x5f268a(0x354)](_0x47df24),_0x38d003[_0x5f268a(0x244)]({'unitID':_0x47df24,'undoMutations':[{'id':Q['id'],'params':_0x317611}],'redoMutations':[{'id':Q['id'],'params':_0x2328a3}]}),!0x0):!0x1;}},wo={'id':_0x327967(0x314),'type':_0x281ad9['COMMAND'],'handler'(_0x43e271,_0x4d79ad){const _0x2d971e=_0x327967;if(!_0x4d79ad)return!0x1;let _0x1e95e5=_0x43e271['get'](_0x3a38b9),{unitId:_0x21467d,tableId:_0x4bb41c,recordId:_0x16eacc,fieldId:_0x3a870f,value:_0x555506}=_0x4d79ad,_0x391219=_0x1e95e5[_0x2d971e(0x1d4)](_0x21467d,_0x49a6be[_0x2d971e(0xf9)]);if(!_0x391219||!$(_0x391219,_0x4bb41c,{'recordIds':[_0x16eacc],'fieldIds':[_0x3a870f]})||!ga(_0x391219,_0x4bb41c,_0x3a870f,_0x555506))return!0x1;let _0x539c35=_0x391219['getSnapshot']()[_0x2d971e(0x486)][_0x4bb41c],_0x46c6ae=F(_0x539c35,_0x3a870f)&&Xe(_0x539c35)[_0x2d971e(0x45c)](_0x3a870f),_0x50566d=_0x46c6ae?tt(_0x539c35,_0x3a870f):null,_0xcd8904=(_0x50566d==null?void 0x0:_0x50566d[_0x2d971e(0x47c)][_0x2d971e(0x318)](_0x16eacc))??null,_0x240081=_0x46c6ae?Le(_0x555506)[0x0]??null:null;if(_0x50566d){if(_0x240081&&!_0x539c35[_0x2d971e(0x1d7)][_0x240081])throw new P(_0x2d971e(0x3bd));let _0x387f95=it(_0x50566d,_0x16eacc,_0x240081);if(!_0x387f95[_0x2d971e(0x48b)])throw new P(_0x387f95[_0x2d971e(0x3bf)]===_0x240c41[_0x2d971e(0x38b)]?_0x2d971e(0x43b):_0x387f95['reason']===_0x240c41[_0x2d971e(0x2d8)]?_0x2d971e(0x403):_0x2d971e(0x231));}let _0x35b470=_0x43e271[_0x2d971e(0x318)](_0x2823d6),_0x1b61ba=_0x43e271[_0x2d971e(0x318)](_0x15f92a),_0x1f6e6e=_0x43e271[_0x2d971e(0x318)](Kr),_0x345cc8;try{_0x345cc8=_0x1f6e6e[_0x2d971e(0x3a0)](_0x391219,_0x4bb41c,_0x16eacc,_0x3a870f,_0x555506);}catch(_0x258887){return console[_0x2d971e(0x313)](_0x2d971e(0xf1),_0x258887),!0x1;}let _0x10cd3e=new z()[_0x2d971e(0x38e)](_0x391219[_0x2d971e(0x32b)](),_0x345cc8),_0x41b574=_0x46c6ae&&_0xcd8904!==_0x240081?[{'tableId':_0x4bb41c,'fieldId':_0x3a870f,'recordId':_0x16eacc,'oldParentRecordId':_0xcd8904,'parentRecordId':_0x240081}]:void 0x0,_0x33120d={'unitId':_0x21467d,'op':_0x345cc8,'trigger':_0x41b574?wo['id']:void 0x0,'hierarchyChanges':_0x41b574,'source':_0x41b574?_0x4d79ad[_0x2d971e(0x300)]??'ui':void 0x0},_0x27ca6c={..._0x33120d,'source':_0x41b574?'redo':void 0x0},_0x1b6e65={'unitId':_0x21467d,'op':_0x10cd3e,'trigger':_0x41b574?wo['id']:void 0x0,'hierarchyChanges':_0x41b574==null?void 0x0:_0x41b574[_0x2d971e(0x412)](_0x4e7ef9=>({..._0x4e7ef9,'oldParentRecordId':_0x4e7ef9[_0x2d971e(0x3a5)],'parentRecordId':_0x4e7ef9[_0x2d971e(0x410)]})),'source':_0x41b574?'undo':void 0x0};return _0x35b470['syncExecuteCommand'](Q['id'],_0x33120d)?(_0x1e95e5[_0x2d971e(0x354)](_0x21467d),_0x1b61ba[_0x2d971e(0x244)]({'unitID':_0x21467d,'undoMutations':[{'id':Q['id'],'params':_0x1b6e65}],'redoMutations':[{'id':Q['id'],'params':_0x27ca6c}]}),!0x0):!0x1;}},To={'id':_0x327967(0x1fa),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4729f1,_0xac28e6){const _0x526ee9=_0x327967;if(!_0xac28e6)return!0x1;let _0x5b9b9a=_0x4729f1[_0x526ee9(0x318)](_0x3a38b9),{unitId:_0xb3bd44,tableId:_0x2985ae,fieldId:_0x2d5e1b}=_0xac28e6,_0xc9847e=_0x5b9b9a['getUnit'](_0xb3bd44,_0x49a6be[_0x526ee9(0xf9)]);if(!_0xc9847e||!$(_0xc9847e,_0x2985ae,{'fieldIds':[_0x2d5e1b]}))return!0x1;let _0x302fea=_0x4729f1[_0x526ee9(0x318)](_0x2823d6),_0x11ca5c=_0x4729f1[_0x526ee9(0x318)](_0x15f92a),_0x5a8679=_0xc9847e[_0x526ee9(0x32b)](),_0x318dec=_0xac28e6['description'][_0x526ee9(0x140)](),_0x344741=new W()[_0x526ee9(0x3de)](_0x5a8679,_0x2985ae,_0x2d5e1b,{'description':_0x318dec}),_0x6c85d1=new z()[_0x526ee9(0x38e)](_0xc9847e['getSnapshot'](),_0x344741),_0x27e828={'unitId':_0xb3bd44,'op':_0x344741},_0x535352={'unitId':_0xb3bd44,'op':_0x6c85d1};return _0x302fea[_0x526ee9(0x2f7)](Q['id'],_0x27e828)?(_0x5b9b9a['focusUnit'](_0xb3bd44),_0x11ca5c[_0x526ee9(0x244)]({'unitID':_0xb3bd44,'undoMutations':[{'id':Q['id'],'params':_0x535352}],'redoMutations':[{'id':Q['id'],'params':_0x27e828}]}),!0x0):!0x1;}},Eo={'id':_0x327967(0x11f),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x28ec39,_0xa2c6ec)=>{const _0x2b2b8b=_0x327967;if(!_0xa2c6ec)return!0x1;let _0x52397d=_0x28ec39[_0x2b2b8b(0x318)](_0x3a38b9),{unitId:_0x2f7446,tableId:_0x5b9332,fieldId:_0x235030,patch:_0x39dd93}=_0xa2c6ec,_0x163329=_0x52397d[_0x2b2b8b(0x1d4)](_0x2f7446,_0x49a6be[_0x2b2b8b(0xf9)]);if(!_0x163329||_0x235030===_0x40fc9d||!$(_0x163329,_0x5b9332,{'fieldIds':[_0x235030]}))return!0x1;let _0x4f8a86=_0x28ec39[_0x2b2b8b(0x318)](_0x2823d6),_0x2cdbdc=_0x28ec39[_0x2b2b8b(0x318)](_0x15f92a),_0x237df5=_0x163329[_0x2b2b8b(0x32b)]();if(!ha(_0x163329,_0x5b9332,{..._0x237df5['tables'][_0x5b9332]['fields'][_0x235030],..._0x39dd93}))return!0x1;let _0x4ff35f=new W()[_0x2b2b8b(0x3de)](_0x237df5,_0x5b9332,_0x235030,_0x39dd93),_0x290dc0=new z()[_0x2b2b8b(0x38e)](_0x237df5,_0x4ff35f),_0x27fc70={'unitId':_0x2f7446,'op':_0x4ff35f},_0x1cfb24={'unitId':_0x2f7446,'op':_0x290dc0};return _0x4f8a86['syncExecuteCommand'](Q['id'],_0x27fc70)?(_0x52397d['focusUnit'](_0x2f7446),_0x2cdbdc[_0x2b2b8b(0x244)]({'unitID':_0x2f7446,'undoMutations':[{'id':Q['id'],'params':_0x1cfb24}],'redoMutations':[{'id':Q['id'],'params':_0x27fc70}]}),!0x0):!0x1;}},Do={'id':_0x327967(0x359),'type':_0x281ad9['COMMAND'],'handler':(_0x3c67b2,_0x14c61f)=>{const _0x314ce8=_0x327967;if(!_0x14c61f)return!0x1;let _0x5ddd08=_0x3c67b2[_0x314ce8(0x318)](_0x3a38b9),{unitId:_0x44bbaf,tableId:_0x5bf869,viewId:_0x113d49,patch:_0x186183}=_0x14c61f,_0x278f95=_0x5ddd08[_0x314ce8(0x1d4)](_0x44bbaf,_0x49a6be[_0x314ce8(0xf9)]);if(!_0x278f95||!$(_0x278f95,_0x5bf869,{'viewIds':[_0x113d49]}))return!0x1;let _0x36bc72=_0x3c67b2[_0x314ce8(0x318)](_0x2823d6),_0x4d7c64=_0x3c67b2['get'](_0x15f92a),_0x1bf30e=_0x278f95[_0x314ce8(0x32b)](),_0xf88110=new W()['updateViewConfig'](_0x1bf30e,_0x5bf869,_0x113d49,_0x186183),_0x2b5768=new z()[_0x314ce8(0x38e)](_0x1bf30e,_0xf88110),_0x15ea55={'unitId':_0x44bbaf,'op':_0xf88110},_0x4f283d={'unitId':_0x44bbaf,'op':_0x2b5768};return _0x36bc72[_0x314ce8(0x2f7)](Q['id'],_0x15ea55)?(_0x5ddd08['focusUnit'](_0x44bbaf),_0x4d7c64[_0x314ce8(0x244)]({'unitID':_0x44bbaf,'undoMutations':[{'id':Q['id'],'params':_0x4f283d}],'redoMutations':[{'id':Q['id'],'params':_0x15ea55}]}),!0x0):!0x1;}},Oo={'id':_0x327967(0x1b9),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x53f030,_0x327d61)=>{const _0x54173e=_0x327967;if(!_0x327d61)return!0x1;let _0x3ce4d5=_0x53f030['get'](_0x3a38b9),{unitId:_0x1ff8f2,tableId:_0x3d97e7,recordId:_0x52d1a6,orderKey:_0x56dee7}=_0x327d61,_0x4e2afb=_0x3ce4d5[_0x54173e(0x1d4)](_0x1ff8f2,_0x49a6be[_0x54173e(0xf9)]);if(!_0x4e2afb||!$(_0x4e2afb,_0x3d97e7,{'recordIds':[_0x52d1a6]}))return!0x1;let _0x356764=_0x53f030[_0x54173e(0x318)](_0x2823d6),_0x3e2580=_0x53f030[_0x54173e(0x318)](_0x15f92a),_0x575bd4=_0x4e2afb[_0x54173e(0x32b)](),_0x117b52=new W()[_0x54173e(0x19e)](_0x575bd4,_0x3d97e7,_0x52d1a6,_0x56dee7),_0x4e2154=new z()[_0x54173e(0x38e)](_0x575bd4,_0x117b52),_0x336447={'unitId':_0x1ff8f2,'op':_0x117b52},_0x5ad532={'unitId':_0x1ff8f2,'op':_0x4e2154};return _0x356764['syncExecuteCommand'](Q['id'],_0x336447)?(_0x3ce4d5[_0x54173e(0x354)](_0x1ff8f2),_0x3e2580['pushUndoRedo']({'unitID':_0x1ff8f2,'undoMutations':[{'id':Q['id'],'params':_0x5ad532}],'redoMutations':[{'id':Q['id'],'params':_0x336447}]}),!0x0):!0x1;}};let ko=function(_0x3f6af1){const _0x14bb19=_0x327967;return _0x3f6af1[_0x14bb19(0x329)]=_0x14bb19(0x3fe),_0x3f6af1['Add']='add',_0x3f6af1[_0x14bb19(0x2a3)]=_0x14bb19(0x253),_0x3f6af1[_0x14bb19(0x370)]=_0x14bb19(0x2fa),_0x3f6af1;}({});const Ao={'id':'base.command.update-base-view-conditional-color-rules','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x220daa,_0x891fdb)=>{const _0x39bd06=_0x327967;var _0x4b6302;if(!_0x891fdb)return!0x1;let _0x407d11=_0x220daa['get'](_0x3a38b9),_0x17c8ce=_0x407d11['getUnit'](_0x891fdb[_0x39bd06(0x409)],_0x49a6be[_0x39bd06(0xf9)]);if(!_0x17c8ce||!$(_0x17c8ce,_0x891fdb[_0x39bd06(0x19a)],{'viewIds':[_0x891fdb[_0x39bd06(0x2d0)]]}))return!0x1;let _0x4d6d6c=_0x17c8ce[_0x39bd06(0x32b)](),_0x5b63a8=_0x4d6d6c[_0x39bd06(0x486)][_0x891fdb['tableId']],_0xfa2ba2=jo(((_0x4b6302=_0x5b63a8[_0x39bd06(0x1eb)][_0x891fdb['viewId']][_0x39bd06(0x174)]['conditionalColoring'])==null?void 0x0:_0x4b6302[_0x39bd06(0x21a)])??[],_0x891fdb);if(!_0xfa2ba2)return!0x1;Mo(_0x5b63a8,_0xfa2ba2);let _0x2f14a2=new W()[_0x39bd06(0x18c)](_0x4d6d6c,_0x891fdb[_0x39bd06(0x19a)],_0x891fdb['viewId'],{'conditionalColoring':_0xfa2ba2[_0x39bd06(0x1bf)]?{'rules':_0xfa2ba2}:null}),_0x1a8e0d=new z()['invertOp'](_0x4d6d6c,_0x2f14a2),_0x6acd4c={'unitId':_0x891fdb[_0x39bd06(0x409)],'op':_0x2f14a2},_0x5231b8={'unitId':_0x891fdb[_0x39bd06(0x409)],'op':_0x1a8e0d};return _0x220daa[_0x39bd06(0x318)](_0x2823d6)[_0x39bd06(0x2f7)](Q['id'],_0x6acd4c)?(_0x407d11[_0x39bd06(0x354)](_0x891fdb[_0x39bd06(0x409)]),_0x220daa[_0x39bd06(0x318)](_0x15f92a)[_0x39bd06(0x244)]({'unitID':_0x891fdb[_0x39bd06(0x409)],'undoMutations':[{'id':Q['id'],'params':_0x5231b8}],'redoMutations':[{'id':Q['id'],'params':_0x6acd4c}]}),!0x0):!0x1;}};function jo(_0x597c41,_0x1a324c){const _0x3ada3e=_0x327967;switch(_0x1a324c[_0x3ada3e(0x346)]){case _0x3ada3e(0x3fe):return _0x2ea00f[_0x3ada3e(0x3e0)](_0x1a324c[_0x3ada3e(0x21a)]);case _0x3ada3e(0x12e):return[..._0x2ea00f[_0x3ada3e(0x3e0)](_0x597c41),_0x2ea00f[_0x3ada3e(0x3e0)](_0x1a324c[_0x3ada3e(0x44d)])];case'delete':{let _0x4723e7=_0x597c41['filter'](_0x5af91b=>_0x5af91b['id']!==_0x1a324c[_0x3ada3e(0x2d6)]);return _0x4723e7[_0x3ada3e(0x1bf)]===_0x597c41[_0x3ada3e(0x1bf)]?null:_0x2ea00f[_0x3ada3e(0x3e0)](_0x4723e7);}case'clear':return _0x597c41[_0x3ada3e(0x1bf)]?[]:null;}}function Mo(_0x5d5d2c,_0x34d942){const _0x4b30a8=_0x327967;if(!Array[_0x4b30a8(0x3fb)](_0x34d942))throw TypeError(_0x4b30a8(0x424));let _0x294710=new Set();for(let [_0x3d0582,_0x3fb4ab]of _0x34d942[_0x4b30a8(0x209)]())Po(_0x5d5d2c,_0x3fb4ab,No(_0x3fb4ab,_0x3d0582,_0x294710));}function No(_0x153d89,_0xa9b1fe,_0x15ce74){const _0x5a6a3b=_0x327967;if(!_0x153d89||typeof _0x153d89!=_0x5a6a3b(0x3d8))throw TypeError(_0x5a6a3b(0x2bf)+_0xa9b1fe+_0x5a6a3b(0x261));let _0x26d1ce=typeof _0x153d89['id']==_0x5a6a3b(0x2a0)&&_0x153d89['id'][_0x5a6a3b(0x140)]()?'\x22'+_0x153d89['id']+'\x22':_0x5a6a3b(0x301)+_0xa9b1fe;if(typeof _0x153d89['id']!='string'||!_0x153d89['id'][_0x5a6a3b(0x140)]())throw Error(_0x5a6a3b(0x21e)+_0x26d1ce+_0x5a6a3b(0x40f));if(_0x15ce74['has'](_0x153d89['id']))throw Error(_0x5a6a3b(0x182)+_0x153d89['id']+'\x22.');_0x15ce74[_0x5a6a3b(0x12e)](_0x153d89['id']);let _0x4efcc8=typeof _0x153d89[_0x5a6a3b(0x233)]=='string'&&_0x153d89['color']['trim']()?new _0x377ff1(_0x153d89[_0x5a6a3b(0x233)]):null;if(!(_0x4efcc8!=null&&_0x4efcc8[_0x5a6a3b(0x1e4)]))throw Error(_0x5a6a3b(0x21e)+_0x26d1ce+_0x5a6a3b(0x47e));return _0x26d1ce;}function Po(_0x278625,_0x2981c2,_0x1e9237){const _0x24492f=_0x327967;let _0x27abae=new Set(Object['values'](_0x49363a)),_0x2f9dd6=new Set(Object[_0x24492f(0x259)](_0x4710de)),_0x40a646=new Set(Object[_0x24492f(0x259)](_0x1467aa));if(!_0x27abae[_0x24492f(0x103)](_0x2981c2[_0x24492f(0x469)]))throw Error(_0x24492f(0x21e)+_0x1e9237+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x2981c2[_0x24492f(0x469)])+'\x22.');let _0x5ee588=typeof _0x2981c2[_0x24492f(0x173)]=='string'?_0x278625[_0x24492f(0x305)][_0x2981c2[_0x24492f(0x173)]]:void 0x0;if(!_0x5ee588||_0x5ee588[_0x24492f(0x272)]===!0x0||_0x5ee588['type']===_0x1013ad[_0x24492f(0x212)])throw Error(_0x24492f(0x21e)+_0x1e9237+_0x24492f(0x477)+String(_0x2981c2[_0x24492f(0x173)])+'\x22.');if(!_0x2f9dd6[_0x24492f(0x103)](_0x2981c2[_0x24492f(0xfb)]))throw Error(_0x24492f(0x21e)+_0x1e9237+_0x24492f(0x208)+String(_0x2981c2['operator'])+'\x22.');if(_0x2981c2[_0x24492f(0x365)]!==void 0x0&&!_0x40a646[_0x24492f(0x103)](_0x2981c2[_0x24492f(0x365)]))throw Error(_0x24492f(0x21e)+_0x1e9237+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x2981c2[_0x24492f(0x365)])+'\x22.');if(_0x2981c2['target']===_0x49363a[_0x24492f(0x18e)])return;let _0x2f14a1=vn(_0x5ee588[_0x24492f(0x346)]);if(!_0x2f14a1[_0x24492f(0x45c)](_0x2981c2[_0x24492f(0xfb)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e9237+'\x20cannot\x20use\x20operator\x20\x22'+_0x2981c2['operator']+_0x24492f(0x1aa)+_0x5ee588[_0x24492f(0x346)]+_0x24492f(0x13a)+_0x2f14a1['join'](',\x20')+'.');if(_0x2981c2['dateMode']!==void 0x0&&!yn(_0x5ee588[_0x24492f(0x346)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e9237+'\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.');}const Fo={'id':_0x327967(0x281),'type':_0x281ad9['COMMAND'],'handler':(_0x54215b,_0xb21f21)=>{const _0x50496e=_0x327967;if(!_0xb21f21)return!0x1;let _0x5f0a87=_0x54215b[_0x50496e(0x318)](_0x3a38b9),{unitId:_0x33254b,tableId:_0x3ae027,viewId:_0x1434f3,patch:_0x3d47ce}=_0xb21f21,_0x5f4705=_0x5f0a87[_0x50496e(0x1d4)](_0x33254b,_0x49a6be['UNIVER_BASE']);if(!_0x5f4705||!$(_0x5f4705,_0x3ae027,{'viewIds':[_0x1434f3]}))return!0x1;let _0x5c2d24=_0x54215b[_0x50496e(0x318)](_0x2823d6),_0x3b194a=_0x54215b[_0x50496e(0x318)](_0x15f92a),_0x41f1d6=_0x5f4705[_0x50496e(0x32b)](),_0x4f8cfe=new W()[_0x50496e(0x18c)](_0x41f1d6,_0x3ae027,_0x1434f3,_0x3d47ce),_0x2613de=new z()['invertOp'](_0x41f1d6,_0x4f8cfe),_0x109078={'unitId':_0x33254b,'op':_0x4f8cfe},_0x74b4c5={'unitId':_0x33254b,'op':_0x2613de};return _0x5c2d24['syncExecuteCommand'](Q['id'],_0x109078)?(_0x5f0a87['focusUnit'](_0x33254b),_0x3b194a['pushUndoRedo']({'unitID':_0x33254b,'undoMutations':[{'id':Q['id'],'params':_0x74b4c5}],'redoMutations':[{'id':Q['id'],'params':_0x109078}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x281ad9['COMMAND'],'handler'(_0x59410e,_0x59ae5d){const _0x2c0d01=_0x327967;if(!_0x59ae5d)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x1a7ccf=_0x59410e[_0x2c0d01(0x318)](_0x3a38b9)[_0x2c0d01(0x1d4)](_0x59ae5d[_0x2c0d01(0x409)],_0x49a6be[_0x2c0d01(0xf9)]),_0x1506bc=_0x1a7ccf==null?void 0x0:_0x1a7ccf[_0x2c0d01(0x32b)](),_0x3847e8=_0x1506bc==null?void 0x0:_0x1506bc[_0x2c0d01(0x486)][_0x59ae5d[_0x2c0d01(0x19a)]];return!_0x1506bc||!_0x3847e8?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new Xi()['validateFormula'](_0x59ae5d[_0x2c0d01(0x377)],_0x3847e8,{'snapshot':_0x1506bc});}};let Lo=class extends _0x58664a{constructor(_0x52e841){const _0x4f7cfa=_0x327967;super(_0x52e841,'BASE_OBJECT_PERMISSION_PLUGIN',_0x49a6be[_0x4f7cfa(0xf9)],[_0x230625[_0x4f7cfa(0x312)],_0x230625[_0x4f7cfa(0x262)],_0x230625[_0x4f7cfa(0x163)],_0x230625[_0x4f7cfa(0x232)],_0x230625[_0x4f7cfa(0x27d)]]);}};Lo=X([Y(0x0,_0x2a6b91)],Lo);const Ro={'id':_0x327967(0x415),'type':_0x281ad9[_0x327967(0x48e)],'handler':(_0xad5604,_0x51788d)=>!_0x51788d||!_0xad5604[_0x327967(0x318)](_0x3a38b9)[_0x327967(0x1d4)](_0x51788d[_0x327967(0x409)],_0x49a6be[_0x327967(0xf9)])?!0x1:_0xad5604[_0x327967(0x318)](Lo)[_0x327967(0x374)](_0x51788d['unitId'],_0x51788d[_0x327967(0x197)],_0x51788d[_0x327967(0x136)],_0x51788d['rule'])},zo={'id':_0x327967(0x20b),'type':_0x281ad9[_0x327967(0x48e)],'handler':(_0x12f99a,_0x5703a2)=>!_0x5703a2||!_0x12f99a['get'](_0x3a38b9)[_0x327967(0x1d4)](_0x5703a2['unitId'],_0x49a6be[_0x327967(0xf9)])?!0x1:_0x12f99a[_0x327967(0x318)](Lo)[_0x327967(0x28e)](_0x5703a2[_0x327967(0x409)],_0x5703a2[_0x327967(0x21a)])};function Bo(_0x51c3d7){const _0x50289d=_0x327967;let _0x5d708b=_0x51c3d7['now']??Date[_0x50289d(0xfa)](),_0xb4341e=_0x51c3d7[_0x50289d(0x44a)]??_0x51c3d7['id']+_0x50289d(0x1bb),_0x47febc=_0x51c3d7[_0x50289d(0x35e)]??_0x51c3d7['id']+_0x50289d(0x237),_0x447d99=_0x51c3d7[_0x50289d(0x2a1)]??0x0,_0x5c14a6=_0x529243(),_0xaf75ee={'id':_0xb4341e,'name':_0x51c3d7[_0x50289d(0x225)]??'Name','type':_0x1013ad[_0x50289d(0x2cb)],'config':{'placeholder':_0x50289d(0xfd)}},_0x22ef6d={},_0x2863ff=[],_0x1e97c6={},_0x42e23e={},_0x588d69={};for(let _0x105f3c=0x0;_0x105f3c<_0x447d99;_0x105f3c++){let _0x1a11c3=_0x51c3d7['id']+_0x50289d(0x14f)+(_0x105f3c+0x1);_0x22ef6d[_0x1a11c3]={'id':_0x1a11c3,'values':{[_0x40fc9d]:_0x1a11c3,..._0x51c3d7['recordNamePrefix']?{[_0xb4341e]:_0x51c3d7[_0x50289d(0x2fc)]+'\x20'+(_0x105f3c+0x1)}:{}},'orderKey':String(_0x105f3c+0x1)[_0x50289d(0x1cd)](0x4,'0'),'createdAt':_0x5d708b,'updatedAt':_0x5d708b},_0x2863ff['push'](_0x1a11c3),_0x1e97c6[_0x1a11c3]=_0x105f3c,_0x42e23e[_0x105f3c]=_0x1a11c3,_0x588d69[_0x105f3c]={0x0:{'v':_0x1a11c3,'t':_0x556bff[_0x50289d(0x334)]}},_0x51c3d7[_0x50289d(0x2fc)]&&(_0x588d69[_0x105f3c][0x1]={'v':_0x51c3d7['recordNamePrefix']+'\x20'+(_0x105f3c+0x1),'t':_0x556bff[_0x50289d(0x334)]});}let _0xb5eeef={'id':_0x47febc,'tableId':_0x51c3d7['id'],'name':'Grid','type':_0x3dd96c[_0x50289d(0xdc)],'fieldOrder':[_0x40fc9d,_0xb4341e],'fieldSettings':{[_0x40fc9d]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x51c3d7['id'],'name':_0x51c3d7[_0x50289d(0x158)],'primaryFieldId':_0xb4341e,'fieldOrder':[_0x40fc9d,_0xb4341e],'fields':{[_0x40fc9d]:_0x5c14a6,[_0xb4341e]:_0xaf75ee},'records':_0x22ef6d,'recordOrder':_0x2863ff,'rowIndex':_0x1e97c6,'rowId':_0x42e23e,'colIndex':{[_0x40fc9d]:0x0,[_0xb4341e]:0x1},'colId':{0x0:_0x40fc9d,0x1:_0xb4341e},'cellData':_0x588d69,'views':{[_0x47febc]:_0xb5eeef},'viewOrder':[_0x47febc]};}const Vo=_0x327967(0x2b7);function Ho(_0xf1e471){const _0x5b3a15=_0x327967;let _0x4cd33c=Bo({'id':_0xf1e471[_0x5b3a15(0x21b)],'name':_0xf1e471['name']??_0xf1e471[_0x5b3a15(0x239)],'recordCount':0x0});return{..._0x4cd33c,'resources':{..._0x4cd33c[_0x5b3a15(0x2b3)]??{},[Vo]:Go(_0xf1e471)}};}function Uo(_0x493d20){const _0x4ffb75=_0x327967;return{'id':Q['id'],'params':{'unitId':_0x493d20[_0x4ffb75(0x409)],'op':_0x43163e[_0x4ffb75(0x346)][_0x4ffb75(0x13d)](_0x43163e[_0x4ffb75(0xf4)]([_0x4ffb75(0x486),_0x493d20['table']['id']],_0x493d20[_0x4ffb75(0x496)]),_0x43163e[_0x4ffb75(0xf4)](['tableOrder',_0x493d20[_0x4ffb75(0x1b6)]??_0x493d20[_0x4ffb75(0x484)]['tableOrder'][_0x4ffb75(0x1bf)]],_0x493d20['table']['id'])),'trigger':_0x4ffb75(0x385)}};}function Wo(_0x55ab13){const _0x1e42f1=_0x327967;let _0x509065=_0x55ab13[_0x1e42f1(0x484)]['tableOrder'][_0x1e42f1(0x1c5)](_0x55ab13[_0x1e42f1(0x19a)]);if(!(!_0x55ab13['snapshot'][_0x1e42f1(0x486)][_0x55ab13[_0x1e42f1(0x19a)]]||_0x509065<0x0))return{'id':Q['id'],'params':{'unitId':_0x55ab13[_0x1e42f1(0x409)],'op':_0x43163e[_0x1e42f1(0x346)][_0x1e42f1(0x13d)](_0x43163e[_0x1e42f1(0x3e5)]([_0x1e42f1(0x486),_0x55ab13[_0x1e42f1(0x19a)]],_0x55ab13[_0x1e42f1(0x484)][_0x1e42f1(0x486)][_0x55ab13[_0x1e42f1(0x19a)]]),_0x43163e[_0x1e42f1(0x3e5)](['tableOrder',_0x509065],_0x55ab13[_0x1e42f1(0x19a)])),'trigger':'embed-ui'}};}function Go(_0x484098){const _0x57e5ee=_0x327967;return{'version':0x1,'embedId':_0x484098[_0x57e5ee(0x239)],'hostAnchorId':_0x484098[_0x57e5ee(0x21b)],'childUnitId':_0x484098[_0x57e5ee(0x425)],'childType':_0x484098['childType']};}function Ko(_0x3bbb9e){const _0x4872c3=_0x327967;let _0x4972d3=Math[_0x4872c3(0x31a)](0x0,Number(_0x3bbb9e[_0x4872c3(0x43e)]??0x0)),_0x13cd1a=_0x3bbb9e[_0x4872c3(0x1ef)]===!0x1?'0':_0x4872c3(0x2be),_0x12e813=_0x4972d3?'.'+'0'[_0x4872c3(0x219)](_0x4972d3):'',_0x19a521=Jo(_0x3bbb9e[_0x4872c3(0x3b6)]);return''+(_0x3bbb9e[_0x4872c3(0x497)]?Yo(_0x3bbb9e['currencySymbol']):'')+_0x13cd1a+_0x12e813+_0x19a521;}function qo(_0xaa042c,_0x456f54){const _0x5a4909=_0x327967;let _0x586809=Ko(_0x456f54),_0x3ebb52=_0x50b573[_0x5a4909(0x493)](_0x586809,_0xaa042c,{'throws':!0x1});return Xo(String(_0x3ebb52),_0x456f54[_0x5a4909(0x480)],_0x456f54[_0x5a4909(0x200)]);}function Jo(_0x368630){const _0x1d450c=_0x327967;return _0x368630==='K'?_0x1d450c(0x473):_0x368630==='M'?',,\x22M\x22':_0x368630==='B'?',,,\x22B\x22':'';}function Yo(_0x9adabe){const _0x4355c7=_0x327967;return/^[A-Z]+$/i[_0x4355c7(0x3e2)](_0x9adabe)?'\x22'+_0x9adabe+'\x22':_0x9adabe;}function Xo(_0xb06c57,_0x1f0ed8,_0x2f9b54){const _0x55e4ee=_0x327967;let _0x3bc7b0=_0x1f0ed8===_0x55e4ee(0xea)?Zo(_0x2f9b54):_0x1f0ed8;return _0x3bc7b0===_0x55e4ee(0x3c6)?_0xb06c57[_0x55e4ee(0x42d)](/,/g,'\x00')[_0x55e4ee(0x42d)](/\./g,',')[_0x55e4ee(0x42d)](/\0/g,'.'):_0x3bc7b0===_0x55e4ee(0x28a)?_0xb06c57[_0x55e4ee(0x42d)](/,/g,'\x20')[_0x55e4ee(0x42d)](/\./g,','):_0x3bc7b0===_0x55e4ee(0x31d)?_0xb06c57['replace'](/,/g,'\x20'):_0xb06c57;}function Zo(_0x17c3f6){const _0x45a487=_0x327967;var _0x45a1b6,_0x456e00;let _0x37b384=_0x17c3f6||new Intl[(_0x45a487(0x341))]()['resolvedOptions']()[_0x45a487(0x200)],_0x1832a5;try{_0x1832a5=new Intl[(_0x45a487(0x341))](_0x37b384,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x45a487(0x251);}let _0x2abc01=(_0x45a1b6=_0x1832a5['find'](_0x3b95a2=>_0x3b95a2[_0x45a487(0x346)]==='group'))==null?void 0x0:_0x45a1b6[_0x45a487(0x1e1)],_0x1a5a10=(_0x456e00=_0x1832a5[_0x45a487(0x451)](_0x395353=>_0x395353[_0x45a487(0x346)]===_0x45a487(0x283)))==null?void 0x0:_0x456e00[_0x45a487(0x1e1)],_0x3dd91d=_0x2abc01==='\u00a0'||_0x2abc01==='\u202f'?'\x20':_0x2abc01;return _0x3dd91d==='.'&&_0x1a5a10===','?_0x45a487(0x3c6):_0x3dd91d==='\x20'&&_0x1a5a10===','?_0x45a487(0x28a):_0x3dd91d==='\x20'&&_0x1a5a10==='.'?'spacePeriod':_0x45a487(0x251);}function Qo(_0x3bacf6,_0x3ad9db){const _0x19faa3=_0x327967;let _0x1c9a3b=_0x3ad9db&&typeof _0x3ad9db=='object'&&!Array[_0x19faa3(0x3fb)](_0x3ad9db)?_0x3ad9db:{},_0x5e352f=$o(_0x1c9a3b[_0x19faa3(0x43e)],0x0,0x2,0x0),_0x52c850=_0x3bacf6['toFixed'](_0x5e352f);return _0x1c9a3b['format']===_0x19faa3(0x218)?_0x52c850:_0x52c850+'%';}function $o(_0x37307f,_0x20ec86,_0x1e326e,_0x25e5bf){const _0x55ef1a=_0x327967;if(_0x37307f==null||_0x37307f==='')return _0x25e5bf;let _0xcd1326=typeof _0x37307f==_0x55ef1a(0x218)?_0x37307f:Number(_0x37307f);return Number[_0x55ef1a(0x138)](_0xcd1326)?Math[_0x55ef1a(0x31a)](_0x20ec86,Math[_0x55ef1a(0x37a)](_0x1e326e,Math[_0x55ef1a(0x407)](_0xcd1326))):_0x25e5bf;}const es=[_0x327967(0x1c4),_0x327967(0x193),_0x327967(0x13c),_0x327967(0x2da),_0x327967(0x1f5),'average',_0x327967(0x37a),_0x327967(0x31a)],ts=[_0x327967(0x1c4),_0x327967(0x193),_0x327967(0x13c),'unique'],ns=[_0x327967(0x1f5),_0x327967(0x184),_0x327967(0x37a),_0x327967(0x31a)],rs=[_0x327967(0x37a),'max'],is=new Set([_0x1013ad[_0x327967(0x302)],_0x1013ad[_0x327967(0x295)],_0x1013ad[_0x327967(0x3e1)],_0x1013ad['Rating']]),as=new Set([_0x1013ad[_0x327967(0x190)],_0x1013ad[_0x327967(0x3df)],_0x1013ad[_0x327967(0xf7)]]),os=_0x327967(0x149);function ss(_0x1a053f){const _0x508b27=_0x327967;return typeof _0x1a053f==_0x508b27(0x2a0)&&es[_0x508b27(0x45c)](_0x1a053f);}function cs(_0x443f6b){const _0x1ab410=_0x327967;return!_0x443f6b||typeof _0x443f6b!=_0x1ab410(0x3d8)?{}:Object['fromEntries'](Object[_0x1ab410(0x209)](_0x443f6b)[_0x1ab410(0x1be)](_0x439601=>ss(_0x439601[0x1])));}function ls(_0x363455){const _0x1f8485=_0x327967;return is[_0x1f8485(0x103)](_0x363455['type'])?[...ts,...ns]:_0x363455[_0x1f8485(0x346)]===_0x1013ad[_0x1f8485(0x3d9)]?[...ts,...ws(_0x363455)===_0x1f8485(0x17a)?rs:ns]:ts;}function us(_0x171306,_0x32fddd){const _0x731a0f=_0x327967;return ls(_0x171306)[_0x731a0f(0x45c)](_0x32fddd);}function ds(_0x251679,_0x1a598a,_0x551f88){const _0x453600=_0x327967;if(!us(_0x251679,_0x551f88))return null;let _0x50dfd8=_0x1a598a[_0x453600(0x1be)](_0x1bedcb=>!ps(_0x251679,_0x1bedcb));switch(_0x551f88){case _0x453600(0x1c4):return _0x1a598a[_0x453600(0x1bf)];case _0x453600(0x193):return _0x50dfd8[_0x453600(0x1bf)];case _0x453600(0x13c):return _0x1a598a[_0x453600(0x1bf)]-_0x50dfd8[_0x453600(0x1bf)];case'unique':return new Set(_0x50dfd8[_0x453600(0x412)](_0x45aba3=>_s(_0x251679,_0x45aba3)))[_0x453600(0x1d0)];case _0x453600(0x1f5):{let _0x30bc28=ms(_0x251679,_0x50dfd8);return _0x30bc28[_0x453600(0x1bf)]?gs(_0x30bc28):null;}case'average':{let _0xdf7ae0=ms(_0x251679,_0x50dfd8);return _0xdf7ae0[_0x453600(0x1bf)]?gs(_0xdf7ae0)/_0xdf7ae0[_0x453600(0x1bf)]:null;}case'min':{let _0xb340fc=ms(_0x251679,_0x50dfd8);return _0xb340fc[_0x453600(0x1bf)]?Math[_0x453600(0x37a)](..._0xb340fc):null;}case'max':{let _0x168878=ms(_0x251679,_0x50dfd8);return _0x168878[_0x453600(0x1bf)]?Math['max'](..._0x168878):null;}}}function fs(_0x541b8e,_0x2ea56f,_0x171432){const _0x1d01e8=_0x327967;if(_0x171432==null||!Number[_0x1d01e8(0x138)](_0x171432))return'-';if(ts[_0x1d01e8(0x45c)](_0x2ea56f))return String(_0x171432);switch(_0x541b8e[_0x1d01e8(0x346)]){case _0x1013ad[_0x1d01e8(0x302)]:return qo(_0x171432,xs(_0x541b8e));case _0x1013ad[_0x1d01e8(0x295)]:return qo(_0x171432,Ss(_0x541b8e));case _0x1013ad[_0x1d01e8(0x3e1)]:return Qo(_0x171432,_0x541b8e[_0x1d01e8(0x174)]);case _0x1013ad[_0x1d01e8(0x3d9)]:return Cs(_0x171432,_0x541b8e);default:return Es(_0x171432);}}function ps(_0x2bd740,_0x5f20a1){const _0x1bc029=_0x327967;if(_0x5f20a1==null)return!0x0;if(typeof _0x5f20a1=='string')return _0x5f20a1['trim']()==='';if(Array[_0x1bc029(0x3fb)](_0x5f20a1))return _0x2bd740[_0x1bc029(0x346)]===_0x1013ad[_0x1bc029(0x49d)]?!_0x5f20a1[_0x1bc029(0x35d)](bs):_0x5f20a1[_0x1bc029(0x1bf)]===0x0;if(_0x2bd740['type']===_0x1013ad[_0x1bc029(0x170)]&&typeof _0x5f20a1==_0x1bc029(0x3d8)){let _0x144bdf=_0x5f20a1;return[_0x144bdf[_0x1bc029(0x179)],_0x144bdf[_0x1bc029(0x15e)]][_0x1bc029(0x44b)](_0x15ef4d=>_0x15ef4d==null||String(_0x15ef4d)[_0x1bc029(0x140)]()==='');}return!0x1;}function ms(_0x36eac1,_0x328a3e){const _0x44e569=_0x327967;let _0x36a96d=[];for(let _0x4e7147 of _0x328a3e){let _0x59fc3b=hs(_0x36eac1,_0x4e7147);_0x59fc3b!=null&&_0x36a96d[_0x44e569(0x161)](_0x59fc3b);}return _0x36a96d;}function hs(_0xfe34b8,_0x2f537f){const _0x1af97f=_0x327967;if(typeof _0x2f537f==_0x1af97f(0x218))return Number[_0x1af97f(0x138)](_0x2f537f)?_0x2f537f:null;if(_0xfe34b8[_0x1af97f(0x346)]!==_0x1013ad[_0x1af97f(0x3d9)]&&typeof _0x2f537f=='string'&&_0x2f537f[_0x1af97f(0x140)]()!==''){let _0x4ab893=Number(_0x2f537f);return Number[_0x1af97f(0x138)](_0x4ab893)?_0x4ab893:null;}return null;}function gs(_0x4b10df){const _0x3d72e0=_0x327967;let _0x58fe03=0x0,_0x36408e=0x0;for(let _0x3808e1 of _0x4b10df){let _0xede298=_0x58fe03+_0x3808e1;_0x36408e+=Math[_0x3d72e0(0x379)](_0x58fe03)>=Math[_0x3d72e0(0x379)](_0x3808e1)?_0x58fe03-_0xede298+_0x3808e1:_0x3808e1-_0xede298+_0x58fe03,_0x58fe03=_0xede298;}return _0x58fe03+_0x36408e;}function _s(_0x21c8d2,_0x44ec54){const _0x122bae=_0x327967;return as[_0x122bae(0x103)](_0x21c8d2[_0x122bae(0x346)])&&Array[_0x122bae(0x3fb)](_0x44ec54)?ys([...new Set(_0x44ec54[_0x122bae(0x412)](_0x4e5437=>ys(vs(_0x4e5437))))]['sort']()):ys(vs(_0x44ec54));}function vs(_0xdc8854){const _0x19eaad=_0x327967;return Array[_0x19eaad(0x3fb)](_0xdc8854)?_0xdc8854[_0x19eaad(0x412)](vs):_0xdc8854&&typeof _0xdc8854=='object'?Object['fromEntries'](Object['entries'](_0xdc8854)[_0x19eaad(0x460)](([_0x52555c],[_0x3301b3])=>_0x52555c[_0x19eaad(0x3a4)](_0x3301b3))[_0x19eaad(0x412)](([_0x30ffe8,_0x49e6ad])=>[_0x30ffe8,vs(_0x49e6ad)])):_0xdc8854;}function ys(_0x4dfe38){const _0x6cc1ab=_0x327967;return JSON['stringify'](_0x4dfe38)??_0x6cc1ab(0x367);}function bs(_0x54b324){const _0x1fe163=_0x327967;if(typeof _0x54b324==_0x1fe163(0x2a0))return _0x54b324[_0x1fe163(0x140)]()!=='';if(!_0x54b324||typeof _0x54b324!='object')return!0x1;let _0x45cfcb=_0x54b324;return[_0x45cfcb['id'],_0x45cfcb[_0x1fe163(0x158)],_0x45cfcb[_0x1fe163(0x300)],_0x45cfcb[_0x1fe163(0x15e)],_0x45cfcb['thumbnail']]['some'](_0xaa31b=>_0xaa31b!=null&&String(_0xaa31b)[_0x1fe163(0x140)]()!=='');}function xs(_0x944e5b){const _0x1446e2=_0x327967;let _0x29f9ab=Ds(_0x944e5b[_0x1446e2(0x174)]);return{'decimalPlaces':ks(_0x29f9ab[_0x1446e2(0x43e)],0x0,0x14,0x2),'separatorStyle':typeof _0x29f9ab[_0x1446e2(0x480)]==_0x1446e2(0x2a0)?_0x29f9ab[_0x1446e2(0x480)]:'local','locale':typeof _0x29f9ab[_0x1446e2(0x200)]==_0x1446e2(0x2a0)?_0x29f9ab[_0x1446e2(0x200)]:void 0x0,'useThousands':_0x29f9ab['useThousands']!==!0x1,'abbreviation':typeof _0x29f9ab['abbreviation']==_0x1446e2(0x2a0)?_0x29f9ab['abbreviation']:_0x1446e2(0x2d2)};}function Ss(_0x5055e7){const _0x22d425=_0x327967;let _0x384509=Ds(_0x5055e7[_0x22d425(0x174)]);return{...xs(_0x5055e7),'currencySymbol':String(_0x384509[_0x22d425(0x497)]??'$')};}function Cs(_0x4871d9,_0x3b2ff0){const _0x470a78=_0x327967;let _0x5022f7=Ts(_0x3b2ff0);if(_0x5022f7===os)return Es(_0x4871d9);try{return String(_0x50b573[_0x470a78(0x493)](_0x5022f7,_0x4871d9,{'throws':!0x1}));}catch{return Es(_0x4871d9);}}function ws(_0x2e9976){const _0x4c5baf=_0x327967;let _0x588c81=Ds(Ds(_0x2e9976[_0x4c5baf(0x174)])[_0x4c5baf(0x286)]);return typeof _0x588c81[_0x4c5baf(0x346)]==_0x4c5baf(0x2a0)?_0x588c81[_0x4c5baf(0x346)]:_0x4c5baf(0x42c);}function Ts(_0x586ebf){const _0x4c6040=_0x327967;let _0x36384b=Ds(Ds(_0x586ebf[_0x4c6040(0x174)])['numfmt']);return String(_0x36384b[_0x4c6040(0x2d7)]??os)['trim']()||os;}function Es(_0x32522e){const _0x2efdc6=_0x327967;return String(Number[_0x2efdc6(0xe9)](_0x32522e)?_0x32522e:Math[_0x2efdc6(0x407)]((_0x32522e+0x2**-0x34)*0x64)/0x64);}function Ds(_0x2354d1){const _0x1b68d4=_0x327967;return _0x2354d1&&typeof _0x2354d1==_0x1b68d4(0x3d8)&&!Array[_0x1b68d4(0x3fb)](_0x2354d1)?_0x2354d1:{};}function Os(_0x4fcacf){const _0x368abb=_0x327967;if(_0x4fcacf==null||_0x4fcacf==='')return null;let _0x2e9360=typeof _0x4fcacf==_0x368abb(0x218)?_0x4fcacf:Number(_0x4fcacf);return Number[_0x368abb(0x138)](_0x2e9360)?_0x2e9360:null;}function ks(_0x1b22a4,_0x944a5,_0x493414,_0x2d171f){const _0x25e4ab=_0x327967;let _0x3deb91=Os(_0x1b22a4);return _0x3deb91==null?_0x2d171f:Math[_0x25e4ab(0x31a)](_0x944a5,Math['min'](_0x493414,Math[_0x25e4ab(0x407)](_0x3deb91)));}function As(_0x6a6fcf,_0x2ab73c){const _0x1f6bcd=_0x327967;let _0x3ea185=_0x2ea00f['deepClone'](_0x6a6fcf),_0x59e6f8=_0x2ab73c['includeRecords']===!0x0,_0x33e535=new Map(),_0x7c527b=_0x2ab73c['createViewId']??(()=>'view-'+_0x1dd020(0x8)),_0x1baeab=_0x3ea185['viewOrder'];return _0x2ab73c[_0x1f6bcd(0x3f1)]&&(_0x1baeab=_0x3ea185[_0x1f6bcd(0x2e1)][_0x1f6bcd(0x412)](_0x10ce81=>{const _0x1984ec=_0x1f6bcd;let _0x237dc4=_0x7c527b();return _0x33e535[_0x1984ec(0x3fe)](_0x10ce81,_0x237dc4),_0x237dc4;})),{..._0x3ea185,'id':_0x2ab73c['id'],'name':_0x2ab73c[_0x1f6bcd(0x158)],'records':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x1d7)]:{},'recordOrder':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x1e2)]:[],'rowIndex':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x257)]:{},'rowId':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x2a7)]:{},'cellData':_0x59e6f8?_0x3ea185[_0x1f6bcd(0xdd)]:{},'resources':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x2b3)]:{},'viewOrder':_0x1baeab,'views':Object[_0x1f6bcd(0x49f)](Object[_0x1f6bcd(0x209)](_0x3ea185[_0x1f6bcd(0x1eb)]??{})[_0x1f6bcd(0x412)](([_0x4b7ab5,_0x4a4fcd])=>{const _0x224575=_0x1f6bcd;let _0x239375=_0x33e535[_0x224575(0x318)](_0x4b7ab5)??(_0x2ab73c[_0x224575(0x3f1)]?_0x7c527b():_0x4b7ab5);return[_0x239375,{..._0x4a4fcd,'id':_0x239375,'tableId':_0x2ab73c['id']}];}))};}var js=_0x327967(0x14e),Ms=_0x327967(0x48d);const Ns={},Ps={};function Fs(_0x248705){return new z()['getAffectedRanges'](_0x248705);}function Is(_0x488b1c){const _0xcdcda1=_0x327967;return _0x488b1c[_0xcdcda1(0x14b)][_0xcdcda1(0x412)](_0x4ea842=>({'unitId':_0x488b1c['unitId'],'sheetId':_0x488b1c[_0xcdcda1(0x19a)],'range':{'startRow':_0x4ea842['row'],'endRow':_0x4ea842[_0xcdcda1(0x124)],'startColumn':_0x4ea842[_0xcdcda1(0x36b)],'endColumn':_0x4ea842[_0xcdcda1(0x36b)]}}));}function Ls(_0x1e7ff5,_0x453a67){return{[_0x1e7ff5]:Object['fromEntries'](_0x453a67['map'](_0x2d82ef=>[_0x2d82ef,'1']))};}let Rs=class extends _0x4de356{constructor(_0xa8d219,_0x20c41a){const _0x52a0bb=_0x327967;super(),this[_0x52a0bb(0x363)]=_0xa8d219,this[_0x52a0bb(0x33f)]=_0x20c41a,this[_0x52a0bb(0x28c)]();}['_initialize'](){const _0x668124=_0x327967;this[_0x668124(0x363)][_0x668124(0x263)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0xd5b30f=>this['_getJson1DirtyData'](_0xd5b30f[_0x668124(0x303)])}),this[_0x668124(0x29e)](_0x569b00(()=>{const _0x31c0cc=_0x668124;this['_activeDirtyManagerService'][_0x31c0cc(0x13b)](Q['id']);}));}[_0x327967(0x25e)](_0x566a56,_0x587f34){const _0x31b044=_0x327967;let _0x16d4c2=this[_0x31b044(0x33f)][_0x31b044(0x1d4)](_0x566a56,_0x49a6be[_0x31b044(0xf9)]);return(_0x16d4c2==null?void 0x0:_0x16d4c2['getSnapshot']()[_0x31b044(0x486)][_0x587f34])??null;}[_0x327967(0x3ef)](_0x1d5b2a){const _0x3e7da7=_0x327967;if(_0x1d5b2a['trigger']==='formula.mutation.set-formula-calculation-result')return{};if(!_0x1d5b2a[_0x3e7da7(0x409)]||!_0x1d5b2a['op'])return{'clearDependencyTreeCache':this[_0x3e7da7(0x1ee)](),'forceCalculation':!0x0};let _0x3df471=Fs(_0x1d5b2a['op']),_0x2b1a87=this[_0x3e7da7(0x307)](_0x1d5b2a[_0x3e7da7(0x409)],_0x3df471);if(_0x2b1a87[_0x3e7da7(0x1bf)])return{'clearDependencyTreeCache':Ls(_0x1d5b2a[_0x3e7da7(0x409)],_0x2b1a87),'forceCalculation':!0x0};let _0x480be3=Object[_0x3e7da7(0x209)](this[_0x3e7da7(0x127)](_0x1d5b2a[_0x3e7da7(0x409)],_0x3df471))[_0x3e7da7(0xeb)](([_0x15a756,_0x326fa1])=>Is({'unitId':_0x1d5b2a[_0x3e7da7(0x409)],'tableId':_0x15a756,'patches':_0x326fa1}));return _0x480be3['length']?{'dirtyRanges':_0x480be3}:{};}[_0x327967(0x307)](_0x27394a,_0x7bf69b){const _0x1aec64=_0x327967;let _0x408045=_0x7bf69b[_0x1aec64(0x1be)](_0x4797a1=>_0x4797a1[_0x1aec64(0x3bf)]!==_0x1aec64(0x228))[_0x1aec64(0xeb)](_0x379120=>_0x379120[_0x1aec64(0x19a)]?[_0x379120[_0x1aec64(0x19a)]]:this[_0x1aec64(0x384)](_0x27394a));return Array['from'](new Set(_0x408045));}[_0x327967(0x127)](_0x453eb2,_0x36a17d){const _0xcf4214=_0x327967;let _0x535ef9=new Set();return _0x36a17d[_0xcf4214(0x3d6)]((_0x57ef77,_0x4824d7)=>{const _0x16db18=_0xcf4214;let _0x510849=this[_0x16db18(0x475)](_0x453eb2,_0x4824d7);if(!_0x510849)return _0x57ef77;let _0x4abf66=_0x4824d7[_0x16db18(0x19a)]+':'+_0x510849['row']+':'+_0x510849['col'];return _0x535ef9[_0x16db18(0x103)](_0x4abf66)?_0x57ef77:(_0x535ef9[_0x16db18(0x12e)](_0x4abf66),_0x57ef77[_0x4824d7['tableId']]=_0x57ef77[_0x4824d7[_0x16db18(0x19a)]]??[],_0x57ef77[_0x4824d7[_0x16db18(0x19a)]][_0x16db18(0x161)](_0x510849),_0x57ef77);},{});}[_0x327967(0x475)](_0x53be4c,_0x571f62){const _0x31164b=_0x327967;if(_0x571f62[_0x31164b(0x3bf)]!==_0x31164b(0x228))return null;if(_0x571f62[_0x31164b(0x124)]!=null&&_0x571f62[_0x31164b(0x115)]!=null)return{'row':_0x571f62[_0x31164b(0x124)],'col':_0x571f62[_0x31164b(0x115)],'value':null};if(!_0x571f62[_0x31164b(0x345)]||!_0x571f62[_0x31164b(0x173)])return null;let _0x572ad1=this[_0x31164b(0x25e)](_0x53be4c,_0x571f62[_0x31164b(0x19a)]);if(!_0x572ad1)return null;let _0x516efd=_t(_0x572ad1,_0x571f62[_0x31164b(0x345)],_0x571f62['fieldId']);return _0x516efd?{'row':_0x516efd[_0x31164b(0x124)],'col':_0x516efd['col'],'value':null}:null;}[_0x327967(0x384)](_0x13aa3a){const _0x27d06f=_0x327967;let _0x32bb01=this[_0x27d06f(0x33f)][_0x27d06f(0x1d4)](_0x13aa3a,_0x49a6be[_0x27d06f(0xf9)]);return Object[_0x27d06f(0x259)]((_0x32bb01==null?void 0x0:_0x32bb01[_0x27d06f(0x32b)]()[_0x27d06f(0x486)])??{})[_0x27d06f(0x412)](_0x62902c=>_0x62902c['id']);}[_0x327967(0x1ee)](){const _0x792883=_0x327967;let _0x1c0ee9=this['_univerInstanceService']['getAllUnitsForType'](_0x49a6be[_0x792883(0xf9)])[_0x792883(0x412)](_0x5a7e3e=>Ls(_0x5a7e3e[_0x792883(0x40a)](),Object[_0x792883(0x27a)](_0x5a7e3e[_0x792883(0x32b)]()[_0x792883(0x486)])));return Object[_0x792883(0x335)]({},..._0x1c0ee9);}};Rs=X([Y(0x0,_0x1624f9),Y(0x1,_0x3a38b9)],Rs);let zs=class extends _0x4de356{constructor(_0x3d2cac,_0x2d8ac0,_0x1b6faa,_0x7b5d19){const _0x430127=_0x327967;super(),this[_0x430127(0x1ba)]=_0x3d2cac,this[_0x430127(0x33f)]=_0x2d8ac0,this[_0x430127(0x217)]=_0x1b6faa,this[_0x430127(0x42e)]=_0x7b5d19,G(this,_0x430127(0x189),new Xi()),G(this,_0x430127(0x292),new Map()),G(this,_0x430127(0x450),new Set()),G(this,_0x430127(0x1c6),Promise[_0x430127(0x2d9)]()),G(this,_0x430127(0x222),!0x1),this['_initialize']();}['_initialize'](){const _0xdec188=_0x327967;this[_0xdec188(0x33f)]['getAllUnitsForType'](_0x49a6be[_0xdec188(0xf9)])[_0xdec188(0x29b)](_0x578149=>{this['_scheduleSuperTableSync'](_0x578149);}),this['disposeWithMe'](this[_0xdec188(0x33f)][_0xdec188(0x220)](_0x49a6be['UNIVER_BASE'])['subscribe'](({unit:_0x1faf9e})=>{this['_scheduleSuperTableSync'](_0x1faf9e);})),this[_0xdec188(0x29e)](this[_0xdec188(0x33f)][_0xdec188(0x38d)](_0x49a6be['UNIVER_BASE'])['subscribe'](_0xe6a1f1=>{const _0x16bc18=_0xdec188;this['_enqueueFormulaSync'](()=>this['_removeSuperTables'](_0xe6a1f1[_0x16bc18(0x40a)]()));})),this[_0xdec188(0x29e)](this[_0xdec188(0x1ba)][_0xdec188(0x250)](_0x163229=>this[_0xdec188(0x108)](_0x163229)));}['_onCommandExecuted'](_0x17fee6){const _0x15f948=_0x327967;if(_0x17fee6['id']===_0x30184a['id']){Vs(_0x17fee6[_0x15f948(0x303)])&&this[_0x15f948(0x230)](_0x17fee6[_0x15f948(0x303)]);return;}if(this[_0x15f948(0x222)]||_0x17fee6['id']!==Q['id'])return;let _0x3416f1=Bs(_0x17fee6[_0x15f948(0x303)])?_0x17fee6['params']:void 0x0,_0x400c90=_0x3416f1!=null&&_0x3416f1[_0x15f948(0x409)]?[this[_0x15f948(0x33f)][_0x15f948(0x1d4)](_0x3416f1[_0x15f948(0x409)],_0x49a6be[_0x15f948(0xf9)])][_0x15f948(0x1be)](_0x40b32f=>!!_0x40b32f):this[_0x15f948(0x33f)][_0x15f948(0x498)](_0x49a6be[_0x15f948(0xf9)]),_0x2cba3e=_0x3416f1==null?void 0x0:_0x3416f1['op'];_0x400c90[_0x15f948(0x29b)](_0x1d861d=>{const _0x58f564=_0x15f948;let _0x5ea62a=_0x2cba3e?Fs(_0x2cba3e):[];(!_0x2cba3e||_0x5ea62a[_0x58f564(0x35d)](_0x4250c0=>_0x4250c0[_0x58f564(0x3bf)]!==_0x58f564(0x228)))&&this[_0x58f564(0x1ad)](_0x1d861d);});}['_scheduleSuperTableSync'](_0x3fe683){const _0x10d297=_0x327967;let _0x9d65a9=_0x3fe683[_0x10d297(0x40a)]();this['_scheduledSuperTableSyncs'][_0x10d297(0x103)](_0x9d65a9)||(this[_0x10d297(0x450)][_0x10d297(0x12e)](_0x9d65a9),this['_enqueueFormulaSync'](async()=>{const _0x22c34b=_0x10d297;this['_scheduledSuperTableSyncs'][_0x22c34b(0x253)](_0x9d65a9),await this[_0x22c34b(0x17b)](_0x3fe683);}));}async[_0x327967(0x17b)](_0x2d863f){const _0x2dfbf6=_0x327967;let _0x5b6784=_0x2d863f[_0x2dfbf6(0x40a)](),_0x6aedba=this[_0x2dfbf6(0x189)]['getSuperTableRegistrations'](_0x2d863f[_0x2dfbf6(0x32b)]()),_0x36c969=new Set(_0x6aedba[_0x2dfbf6(0x412)](({tableName:_0x12e213})=>_0x12e213)),_0x200576=this[_0x2dfbf6(0x292)][_0x2dfbf6(0x318)](_0x5b6784)??new Set();for(let _0x3c2b7e of _0x200576)if(!_0x36c969[_0x2dfbf6(0x103)](_0x3c2b7e)&&!await this[_0x2dfbf6(0x265)](_0x3c0f14['id'],{'unitId':_0x5b6784,'tableName':_0x3c2b7e}))return;for(let {tableName:_0x12e947,reference:_0x2fc1b5}of _0x6aedba)if(!await this[_0x2dfbf6(0x265)](_0x574d24['id'],{'unitId':_0x5b6784,'tableName':_0x12e947,'reference':_0x2fc1b5}))return;this[_0x2dfbf6(0x292)][_0x2dfbf6(0x3fe)](_0x5b6784,_0x36c969);}async['_removeSuperTables'](_0x5b5b06){const _0x3744c5=_0x327967;let _0x3b9fc0=this[_0x3744c5(0x292)]['get'](_0x5b5b06)??new Set();for(let _0x2011c4 of _0x3b9fc0)if(!await this[_0x3744c5(0x265)](_0x3c0f14['id'],{'unitId':_0x5b5b06,'tableName':_0x2011c4}))return;this[_0x3744c5(0x292)][_0x3744c5(0x253)](_0x5b5b06);}async[_0x327967(0x265)](_0x1d5caa,_0x1185c6){const _0x3acce0=_0x327967;return!this['_disposed']&&await this[_0x3acce0(0x1ba)][_0x3acce0(0x27f)](_0x1d5caa,_0x1185c6,{'onlyLocal':!0x0})&&!this[_0x3acce0(0x169)];}[_0x327967(0x3dc)](_0x41fbc2){const _0x91d578=_0x327967;this['_formulaSyncQueue']=this[_0x91d578(0x1c6)][_0x91d578(0x116)](_0x41fbc2,_0x41fbc2)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x335a7){const _0x364c28=_0x327967;let _0x2f4763=this[_0x364c28(0x33f)]['getAllUnitsForType'](_0x49a6be[_0x364c28(0xf9)]);if(!_0x2f4763[_0x364c28(0x35d)](_0x27e87e=>{const _0x30ae74=_0x364c28;var _0x455620;return((_0x455620=_0x335a7['unitData'])==null?void 0x0:_0x455620[_0x27e87e[_0x30ae74(0x40a)]()])!=null;}))return;let _0x23fc8a=_0x2f4763['flatMap'](_0xf65f89=>Zi(_0xf65f89[_0x364c28(0x32b)](),_0x335a7));if(!_0x23fc8a[_0x364c28(0x1bf)]){this[_0x364c28(0x42e)][_0x364c28(0x1c9)](_0x4cbf5b[_0x364c28(0x130)],_0x335a7);return;}let _0x42f5e5=new W(),_0x3295fa=_0x23fc8a['flatMap'](_0x1a0f50=>Is({'unitId':_0x1a0f50['unitId'],'tableId':_0x1a0f50[_0x364c28(0x19a)],'patches':_0x1a0f50['patches']}));this[_0x364c28(0x222)]=!0x0,(async()=>{const _0x3af35=_0x364c28;for(let _0x1c7be8 of _0x23fc8a){let _0x1e4022=this[_0x3af35(0x33f)]['getUnit'](_0x1c7be8['unitId'],_0x49a6be[_0x3af35(0xf9)]);_0x1e4022&&await this['_commandService'][_0x3af35(0x27f)](Q['id'],{'unitId':_0x1c7be8['unitId'],'op':_0x42f5e5[_0x3af35(0x1c0)](_0x1e4022['getSnapshot'](),_0x1c7be8[_0x3af35(0x19a)],_0x1c7be8['patches']),'trigger':_0x30184a['id']},{'onlyLocal':!0x0});}await this[_0x3af35(0x1ba)]['executeCommand'](_0xbd4092['id'],{'dirtyRanges':_0x3295fa},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x445df7=_0x364c28;this[_0x445df7(0x222)]=!0x1,this[_0x445df7(0x42e)][_0x445df7(0x1c9)](_0x4cbf5b[_0x445df7(0x130)],_0x335a7);});}};zs=X([Y(0x0,_0x2823d6),Y(0x1,_0x3a38b9),Y(0x2,_0x1345e2(_0x18360a)),Y(0x3,_0x1345e2(_0x31dae7))],zs);function Bs(_0x574f77){const _0x59aa43=_0x327967;return typeof _0x574f77==_0x59aa43(0x3d8)&&!!_0x574f77&&_0x59aa43(0x409)in _0x574f77&&typeof _0x574f77['unitId']=='string'&&'op'in _0x574f77&&Array['isArray'](_0x574f77['op']);}function Vs(_0xbcb317){const _0x5c051c=_0x327967;return typeof _0xbcb317==_0x5c051c(0x3d8)&&!!_0xbcb317&&_0x5c051c(0xf5)in _0xbcb317&&_0x5c051c(0x18d)in _0xbcb317;}function _0x4f42(){const _0x15a459=['base.command.delete-base-field','recordIds','startDateFieldId','_findCalendarDateFieldId','canDeleteRecord','_deleteAttachmentResources','reduce','createDefaultValue','object','Formula','fieldIndex','[RecordLink]:\x20target\x20record\x20\x22','_enqueueFormulaSync','CreatedBy','updateField','Person','deepClone','Progress','test','getMonth','base.command.set-base-view-field-width','removeOp','4064070ZjRVWZ','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','projection','base.viewType.grid','sortedView','multiple','IS_EMPTY','view/','month','_getJson1DirtyData','[BaseViewRegistryService]:\x20view\x20type\x20\x22','regenerateViewIds','tomorrow','packageName','cardLayout','userID','_patchCachedProjectedRows','24cqDppH','_instanceService','_bumpTableRevision','base.command.delete-base-record','isArray','[BaseCommandService]:\x20cannot\x20create\x20table.','members','set','parentFieldName','duplicateField','base.command.set-base-kanban-group-field','createBase','cycle','getCurrentUnitOfType','MM-DD','endDateFieldId','round','false','unitId','getUnitId','createCreateFieldOp','base.command.set-permission','_apply','attachmentSets','\x20must\x20have\x20a\x20non-empty\x20id.','oldParentRecordId','owner','map','SingleSelect','lastIndexOf','base.mutation.set-permission-rule','getCurrentUserId','timeZone','apostrophe','_syncBaseUnit','toPlainText','_normalizeCellValue','symbol','base-snapshot-v1','setBaseName','Parent\x20Items','moveField','invalidField','bases.config','_initRegistries','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','childUnitId','_viewRevisions','4FNepqv','kind','direction','Uncategorized','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','general','replace','_formulaCalculationSessionService','deleteField','[BaseCommandService]:\x20cannot\x20edit\x20record.','base.resource.service','_setAttachmentResources','_rowTransformCacheSegment','onlyLocal','_replaceOptional','normal','orderedRecordIds','lessThanOrEqual','nodes','_recordIds','selfParent','past7','usableAsGanttEnd','decimalPlaces','_createNumberingAllocators','_resolveBaseId','mode','depth','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','base.mutation.apply-base-json1','_hierarchyIndexCache','registerView','_canEdit','Table','attachment','primaryFieldId','every','orderKey','rule','_tableBaseIds','renameFormulaUnitReferences','_scheduledSuperTableSyncs','find','[BaseCommandService]:\x20cannot\x20create\x20record.','workingDaysOnly','\x22\x20is\x20referenced\x20by\x20','invalidGanttEndField','fld-','_projectFields','_canUseFastSort','base.command.move-base-view','status','getPermissionPoint','includes','getUTCFullYear','WriteCursor','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','sort','invalid','BaseProjection.projectGroups','createdBy','replaceOp','blue','long','deleteView','emitPermissionDenied','target','addPermissionPoint','Use\x2031\x20characters\x20or\x20fewer.','_baseSyncDisposables','getProjection','createRecords','limit','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','childrenByParentId','record',',\x22K\x22','Edit','_toDirtyRangePatch','usableAsCardCover','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','level','unitWidth','_clearUnit','_kanbanGroupKeys','parentByRecordId','isNot','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','start','separatorStyle','base.command.set-base-table-hierarchy-field','registerCommand','CreatedAt','snapshot','_viewPermissions','tables','defaultValue','ena','fieldName','_initCommands','valid','yesterday','1.0.2','MUTATION','renameTable','[BaseCommandService]:\x20cannot\x20create\x20field.','_resolveKanbanGroupFieldId','setViewFieldWidth','format','_deleteRecordsBaseOp','options','table','currencySymbol','getAllUnitsForType','BaseJson1.json1Apply','__all__','DeleteView','unknown','Attachment','revision','fromEntries','lastMonth','Import','Kanban','base.command.delete-base-table','Parent','deletePermissionPoint','getUTCMonth','_projectedGroupsCache','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','[BaseHierarchy]:\x20field\x20\x22','Grid','cellData','base.command.create-base-child-record','_resolveKanbanCoverFieldId','notContains','BEFORE','base.command.set-base-range-values','BaseCommand.createBatchCreateRecordsOp','UpdatedAt','#16a34a','diffValue','Yes','colorFieldId','isInteger','local','flatMap','hierarchy','exception-','getTime','h12','[BaseFormula]:\x20field\x20\x22','Failed\x20to\x20create\x20update\x20cell\x20operation:','A\x20table\x20with\x20this\x20name\x20already\x20exists.','_clearObjectEdit','insertOp','unitData','displayColor','Group','stringify','UNIVER_BASE','now','operator','check','bases.fieldConfig.textPlaceholder','IBaseCellData.ensureTableCellLayout','_sortRows','working','_getTablesToNormalize','year','has','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','fieldSettings','_projectHierarchyGroups','Date1900','_onCommandExecuted','deleteRecords','_groupsCacheKey','pickerFieldIds','base.command.set-base-name','#FDE68A','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','width','groupFieldId','facade','version','all','_getTableRevision','column','then','lastWeek','allowMultiple','_cacheKey','CONTAINS','InvalidField','default','duplicateRecord','base.command.set-base-view-field-visible','base.command.update-base-field','base.viewType.gallery','629040RHzDQm','_views','fromCollab','row','BOOLEAN','_resolveGalleryCardFieldIds','_groupCellInvalidations','base.command.set-base-record-values','IS_NOT','base.projection.service','_normalizeGalleryConfig','DD/MM/YYYY','BaseProjection.getProjection','add','RecordLink','BASE','5572485dyVLGr','registerCtorForType','_isAllowedKanbanGroupField','manual','beforeCommandExecuted','objectId','columns','isFinite','showTodayLine','\x22.\x20Allowed\x20operators:\x20','remove','empty','compose','_globalRevision','setTablePermission','trim','https:','saveMany','fieldIds','field/','tableRevision','compress','splice','order','General','bases-exchange-client.operation.export-base-by-format','patches','[BasePerf]\x20','univer.basePerf','@univerjs-pro/bases','-record-','hasOwnProperty','Unchecked','getFullYear','rowIndexById','updateCell','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','https://','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','name','weekdays','End\x20date','Facade','_resolveCalendarDateFieldId','clearViewPermission','url','_filterRows','valueOf','push','_recordPermissions','BaseRecord','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_groupProjectionFieldIds','iterator','lastIndex','conjunction','_disposed','group','targetTableId','constructor','HH:mm',':start','subscribe','Link','call','globalRevision','fieldId','config','undo','_tableRevisions','canManageView','YYYY/MM/DD','text','date','_syncSuperTables','changes','setPoint','base.command.create-base-view','createRegExpFromSafeFragment','_buildKanban','base.command.move-base-hierarchy-record','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','_projectRows','average','CreateView','validate','[BaseCommandService]:\x20cannot\x20delete\x20field.','conditional','_formulaService','base.field-registry.service','endsWith','updateViewConfig','unitOtherData','COLUMN','score','MultiSelect','_setObjectEdit','progressFieldId','filled','_resolveCardTitleFieldId','policy','greaterThanOrEqual','objectType','_withModifiedSystemValues','_createNumberingAllocator','tableId','titleFieldId','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','getAffectedRanges','updateRecordOrder','[BaseField]:\x20invalid\x20progress\x20value.','_projectedRowsCache','result','invalid-characters','protocol','setRecordPermission','_buildGrid','_isAllDayCalendarEvent','major-','[BaseCommandService]:\x20record-id\x20is\x20reserved.','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','\x22\x20with\x20field\x20type\x20\x22','exec','686007tKGqyz','_scheduleSuperTableSync','_permissionService','base.command.set-base-view-sort','[BaseCommandService]:\x20invalid\x20cell\x20value.','invalidGanttStartField','[BaseCommandService]:\x20cannot\x20manage\x20view.','_findKanbanGroupField','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).','getAllBases','index','exists','invalidateByOp','base.command.update-base-record-order','_commandService','-field-name','missingField','[BaseCommandService]:\x20cannot\x20delete\x20record.','filter','length','setRangeValues','viewRevision','_injector','fromPlainText','count','indexOf','_formulaSyncQueue','too-long','raw','markResultApplied','base.command.ensure-base-temporal-view-date-fields','IS_NOT_EMPTY','_fieldRegistry','padStart','getUTCDay','getUnitType','size','from','_buildGallery','BaseJson1.cloneForOp','getUnit','UpdatedBy','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','records','Numbering','canEditTable','exact','updatedAt','coverFieldId','Comment','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','medium','_projectionCache','value','recordOrder','create-view','isValid','title','#14b8a6','_normalizeGanttConfig','base.viewType.gantt','AFTER','createDeleteRecordsUndoOp','views','validateFormula','_createNumberingFieldValuePatches','_getAllBaseDependencyTreeCacheMap','useThousands','delete-view','getCapabilities','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','true','search','sum','before','base.viewType.kanban','fieldOrder','http:','base.command.update-base-field-description','createCreateRecordOp','Phone','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','field','majorHeaders','locale','_matchesGanttColorRule','_createRecordWithDefaults','invalidateByView','hourCycle','Checkbox','invalidReasonByRecordId','tryMaterializeSnapshot','\x20has\x20unsupported\x20operator\x20\x22','entries','Rating','base.mutation.set-permission-rules','yyyy/mm/dd','searchTexts','short','Email','_filterSortFieldIds','_getOrderedRecords','RecordId','getItem','exceptions','base.command.set-base-view-filter','4nGFHqU','_formulaCalculationTriggerService','number','repeat','rules','hostAnchorId','_tablePermissions','star','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_ganttBarColor','getTypeOfUnitAdded$','leftPaneCollapsed','_applyingFormulaResults','\x22\x20does\x20not\x20exist.','boolean','primaryFieldName','[BaseField]:\x20invalid\x20email\x20value.','dateFormat','cell','_materializeFormulaTableNames','colIndex','setSnapshot','canCreateField','children','__UNIVER_BASE_PERF__','getAllPermissionPoint','_applyFormulaResult','maxDepth','BaseView','color','[BaseField]:\x20invalid\x20checkbox\x20value.','clearRecordPermission','getDependencies','-view-grid','bases.fieldConfig.linkPlaceholder','embedId','displayText','groups','_capabilities','COMMAND','False','codePointAt','applyOp','scale','isNaN','trigger','pushUndoRedo','unshift','strategies','BaseHierarchyError','edit','setRecordValues','getAll','defineProperty','createField','invalidDateField','_createSystemFieldValuePatches','afterViewId','onCommandExecuted','commaPeriod','BASES_PLUGIN','delete','mark','canEditCell','MissingRecord','rowIndex','canDeleteTable','values','required','beforeFieldId','user','setViewFieldOrder','_getTable','_isCalendarDateField','updatePermissionPoint','\x20must\x20be\x20an\x20object.','BaseField','register','pluginName','_executeSuperTableMutationWhileActive','getOwnPropertyDescriptor','_setViewFieldSetting','onStarting','base.command.move-base-field','_title','custom','_rememberTable','_cellRevisions','includeTime','rows','BaseProjection.projectRows','renameView','system','manageView','redo','[DeleteBaseTableCommand]:\x20table\x20\x22','Working\x20day','deleteTable','Invalid\x20object\x20permission\x20batch.','getUTCDate','keys','_cellInvalidationsTouchFields','base-perf','BaseDashboard','_applier','executeCommand','BaseProjection.filterAndSortRows','base.command.update-base-view-config','_configService','decimal','_calendarEventColor','canEditField','numfmt','SortedView','base.command.set-permissions','createSetRecordValuesOp','spaceComma','selectField','_initialize','matchAll','setRules','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','[BaseField]:\x20invalid\x20date\x20value.','_getHierarchyIndex','_registeredSuperTableNames','_viewRevisionKey','info','Currency','_normalizeCalendarConfig','_projectGroups','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','[RecordLink]:\x20field\x20config\x20is\x20invalid.','getCurrentUser','forEach','optionSource','en-US','disposeWithMe','write','string','recordCount','_createRecordOrderOp','Delete','columnSettings','NOT_CONTAINS','base.command.create-base-record','rowId','Checked','tableName','_projectedViewRowsCache','record/','attachmentSet','startsWith','setViewSort','base-perf-','action','dispose','Date','resources','small','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','canCreateRecord','UNIVER_EMBED_BASES_TABLE','save','createDefaultConfig','colId','_buildCalendar','editable','decorate','#,##0','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','collaborators','changeFieldType','descend','basePerf','kanban','key','frozenFieldCount','canCreateTable','person','updatedBy','displayFieldId','Text','changed','subtreeEndIndex','Choose\x20another\x20name.','[BaseHierarchy]:\x20','viewId','Unsupported\x20Base\x20permission\x20object:\x20','none','getInstance','operand','base.command.create-base-table','ruleId','pattern','Cycle','resolve','unique','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','moveView','getStructuredDependencies','_patchProjectedRowsForCellInvalidations','True','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','viewOrder','_getSystemFieldValue','_isKanbanGroupField','DESC','split','timeslotSize','base.command.batch-delete-base-records','setViewFilter','1310673LOFZKD','Copy','base.command.set-base-view-group','normalize','percent','_kanbanLaneTitle','function','thisMonth','createdAt','Start\x20date','ascend','base.command.duplicate-base-record','flat','getSuperTableRegistrations','syncExecuteCommand','off','#3b82f6','clear','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','recordNamePrefix','_initDataSync','[BaseCommandService]:\x20field\x20\x22','_kanbanLaneColor','source','at\x20index\x20','Number','params','_resolveKanbanCardFieldIds','fields','_config','_getStructureDirtyTableIds','depthByRecordId','_groupConfigCacheSegment','hidden','_isNonEmptyCellValue','base.viewType.calendar','MMM\x20D,\x20YYYY','_assertFieldDefinition','base.mutation.','[BaseField]:\x20invalid\x20multi-value\x20reference.','_materializeGroups','BaseTable','error','base.command.update-base-cell','base-range-values-v1','base.command.change-base-field-type','_setCachedProjection','get','_setFormulaFieldCells','max','clearTablePermission','card','spacePeriod','base.command.duplicate-base-field','[BaseCommandService]:\x20cannot\x20delete\x20table.','attachments','viewIndexes','Calendar','leftPaneWidth','quarter','Undo','setViewFieldVisible','initializeUnit','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Set','canEditRecord','getSnapshot','cardSize','_getViewRevision','calendar','rootRecordIds','option-','prototype','base.view-registry.service','view','STRING','assign','Base','#BFDBFE','afterFieldId','clearFieldPermission','deleteRecord','label','_initDependencies','$1\x20','h:mm\x20a','_univerInstanceService','_cellInvalidations','NumberFormat','_isGanttDateField','todo','[BaseField]:\x20invalid\x20person\x20value.','recordId','type',':end','slice','thread-comment.command.','forValue','Export','_runtimeContext','_getKanbanConfiguredLanes','repairViewConfig','2689645qiDvXP','h24','_getCellRevision','_registerUnitPermissionPoints','invalidateByField','focusUnit','__base_hierarchy_parent__','setViewGroup','base.command.','workingDays','base.command.update-base-kanban-config','import','descendPath','isNotEmpty','some','gridViewId','data','toString','path','setHours','_activeDirtyManagerService','INIT','dateMode','allowDangling','undefined','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','toLocaleString','[RecordLink]:\x20display\x20field\x20\x22','col','_check','description','Redo','_resolveGalleryCoverFieldId','Clear','setFieldPermission','beforeViewId','_dataSyncPrimaryController','setRule','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','Gantt','formula','createTable','abs','min','showFieldNames','recordPatch','cellRevision','baseRows','autoIncrement','editCell','BaseProjection.projectTableRows','relationRole','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_getAllTableIds','embed-ui','Gallery','base.command.create-base-field','usableAsGanttStart','parse','this-row','SelfParent','_projectTableRows','getTypeOfUnitDisposed$','invertOp','contains','registerSyncingMutations','_buildGantt','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','setViewPermission','setConfig','#,##0.00','_viewRowsCacheKey','readonly','_getCachedProjection','subType','week','tableOrder','conditions','_normalizeCalendarDisplayColor','invalidGroupField','NUMBER','createUpdateCellOp','join','258506nVMVMT','large','localeCompare','parentRecordId','subtreeHeightByRecordId','base.command.service','formulaName','MissingParent','getBase','createRecord','Todo','createBatchCreateRecordsOp','done','toLowerCase','invalidateByCell','_canEditTable','_basePermissions','[BaseCommandService]:\x20cannot\x20edit\x20field.','_resolveGanttDateFieldId','clearBasePermission','abbreviation','createView','_getCurrentUserId','thread-comment.mutation.','lessThan','measure','base.command.delete-base-view','missingRecord','UTC','reason','_isAllDayGanttDateRange','clearUnit','LESS_THAN','end','Remote','_fieldPermissions','periodComma','Unsupported\x20Base\x20permission\x20action:\x20','createSuperTableReference','Ids','gantt','\x22\x20is\x20not\x20registered.','_isColorfulKanbanGroupField','canDeleteField','_plugins','_factory'];_0x4f42=function(){return _0x15a459;};return _0x4f42();}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x4de356{constructor(_0xe324cc,_0x5de7c8,_0x2509e8,_0x2658e2){const _0x324e51=_0x327967;super(),this['_injector']=_0xe324cc,this[_0x324e51(0x1ba)]=_0x5de7c8,this[_0x324e51(0x1ae)]=_0x2509e8,this[_0x324e51(0x3f8)]=_0x2658e2,this[_0x324e51(0x3f8)][_0x324e51(0x498)](_0x49a6be[_0x324e51(0xf9)])[_0x324e51(0x29b)](_0x288ef6=>this[_0x324e51(0x352)](_0x288ef6[_0x324e51(0x40a)]())),this['disposeWithMe'](this['_instanceService']['getTypeOfUnitAdded$'](_0x49a6be['UNIVER_BASE'])[_0x324e51(0x16f)](({unit:_0x36e7da})=>this[_0x324e51(0x352)](_0x36e7da[_0x324e51(0x40a)]()))),this[_0x324e51(0x29e)](this[_0x324e51(0x1ba)][_0x324e51(0x135)]((_0x1431d2,_0x3e8c3f)=>this[_0x324e51(0x36c)](_0x1431d2,_0x3e8c3f))),this[_0x324e51(0x29e)](this['_instanceService'][_0x324e51(0x38d)](_0x49a6be[_0x324e51(0xf9)])[_0x324e51(0x16f)](_0x94a30c=>{const _0x4b8d45=_0x324e51;this['_injector'][_0x4b8d45(0x318)](_0x77c4ee)[_0x4b8d45(0x3c1)](_0x94a30c[_0x4b8d45(0x40a)]()),Rr(this[_0x4b8d45(0x1ae)],_0x94a30c[_0x4b8d45(0x40a)]());}));}[_0x327967(0x352)](_0x29466b){const _0x380890=_0x327967;Tr[_0x380890(0x29b)](_0x173d9f=>{const _0x282441=_0x380890;let _0x21c99f=Pr(_0x29466b,_0x29466b,_0x173d9f);this['_permissionService'][_0x282441(0x45b)](_0x21c99f['id'])||this[_0x282441(0x1ae)][_0x282441(0x46a)](_0x21c99f);}),this['_injector'][_0x380890(0x318)](_0x77c4ee)[_0x380890(0x327)]({'unitId':_0x29466b,'objectId':_0x29466b,'objectType':_0x230625['Base']});}[_0x327967(0x36c)](_0x34a5be,_0x14eca1){const _0x2909e0=_0x327967;var _0x1f978a;if(_0x14eca1!=null&&_0x14eca1[_0x2909e0(0x123)]||_0x14eca1!=null&&_0x14eca1['fromChangeset'])return;let _0x546da0=tc(_0x34a5be[_0x2909e0(0x303)])?_0x34a5be['params']:void 0x0;if(_0x14eca1!=null&&_0x14eca1[_0x2909e0(0x434)]&&_0x34a5be['id']==='base.mutation.apply-base-json1'&&(_0x546da0==null?void 0x0:_0x546da0['trigger'])===_0x30184a['id'])return;let _0xec3074=Gs(_0x34a5be['id']),_0xc8a85=Ws(_0x546da0==null?void 0x0:_0x546da0[_0x2909e0(0x409)],_0x14eca1)??(_0xec3074?(_0x1f978a=this['_instanceService'][_0x2909e0(0x404)](_0x49a6be[_0x2909e0(0xf9)]))==null?void 0x0:_0x1f978a[_0x2909e0(0x40a)]():void 0x0);if(!_0xc8a85||this[_0x2909e0(0x3f8)][_0x2909e0(0x1cf)](_0xc8a85)!==_0x49a6be[_0x2909e0(0xf9)])return;if(_0xec3074){if(!Fr(this[_0x2909e0(0x1ae)],_0xc8a85,_0xc8a85,_0xec3074))throw this['_injector'][_0x2909e0(0x318)](_0xeb132)[_0x2909e0(0x468)](_0xc8a85),new _0x268330('Base\x20'+_0x3709ae[_0xec3074]+'\x20permission\x20denied.');return;}if(Hs[_0x2909e0(0x103)](_0x34a5be['id'])||!_0x34a5be['id']['startsWith'](_0x2909e0(0x357))&&!_0x34a5be['id'][_0x2909e0(0x2ad)](_0x2909e0(0x30f)))return;let _0x505d25=this[_0x2909e0(0x3f8)][_0x2909e0(0x1d4)](_0xc8a85,_0x49a6be[_0x2909e0(0xf9)]),_0x679fcd=_0x505d25?Ks(_0x505d25,_0x546da0??{},_0x34a5be['id']):[];if(!_0x505d25||!zr(this[_0x2909e0(0x1ae)],_0xc8a85,_0x679fcd))throw this[_0x2909e0(0x1c2)]['get'](_0xeb132)[_0x2909e0(0x468)](_0xc8a85,_0x679fcd),new _0x268330('Base\x20edit\x20permission\x20denied.');}};Us=X([Y(0x0,_0x1345e2(_0x4a869a)),Y(0x1,_0x2823d6),Y(0x2,_0x5cc725),Y(0x3,_0x3a38b9)],Us);function Ws(_0x3416b6,_0x542cb4){const _0x4fbdd1=_0x327967;return typeof _0x3416b6=='string'?_0x3416b6:typeof(_0x542cb4==null?void 0x0:_0x542cb4[_0x4fbdd1(0x409)])==_0x4fbdd1(0x2a0)?_0x542cb4[_0x4fbdd1(0x409)]:void 0x0;}function Gs(_0xafd554){const _0x536b98=_0x327967;if(_0xafd554==='bases-exchange-client.operation.export-base'||_0xafd554===_0x536b98(0x14a))return _0x3709ae[_0x536b98(0x34b)];if(_0xafd554[_0x536b98(0x2ad)](_0x536b98(0x349))||_0xafd554[_0x536b98(0x2ad)](_0x536b98(0x3b9)))return _0x3709ae['Comment'];}function Ks(_0x8312d0,_0x328a3a,_0xa45b7c){const _0xeb6649=_0x327967;if(_0xa45b7c===_0xeb6649(0x444)&&ec(_0x328a3a['op']))return qs(_0x8312d0,_0x328a3a['op']);let _0x2db530=new Set(),_0x1c33b1=Zs(_0x328a3a,_0xeb6649(0x496)),_0x5baace=typeof _0x328a3a[_0xeb6649(0x19a)]=='string'?_0x328a3a['tableId']:_0x1c33b1[0x0];if(_0x1c33b1[_0xeb6649(0x29b)](_0x14d676=>_0x2db530['add'](K(_0x14d676))),!_0x5baace)return[..._0x2db530];let _0x5bcc90=_0x8312d0[_0xeb6649(0x32b)]()['tables'][_0x5baace],_0x21a666=new Set(Zs(_0x328a3a,_0xeb6649(0x1fe))),_0x47a737=new Set(Zs(_0x328a3a,_0xeb6649(0x472))),_0x193c95=new Set(Zs(_0x328a3a,'view'));return Qs(_0x5bcc90,_0x328a3a[_0xeb6649(0x14b)],_0x47a737,_0x21a666),$s(_0x328a3a,_0x21a666),_0x21a666['forEach'](_0x5bc8d9=>_0x2db530[_0xeb6649(0x12e)](q(_0x5baace,_0x5bc8d9))),_0x47a737[_0xeb6649(0x29b)](_0x27ff6c=>_0x2db530[_0xeb6649(0x12e)](J(_0x5baace,_0x27ff6c))),_0x193c95[_0xeb6649(0x29b)](_0x30bb0c=>_0x2db530[_0xeb6649(0x12e)](Mr(_0x5baace,_0x30bb0c))),[..._0x2db530];}function qs(_0x485967,_0x2b23c0){const _0x4a4f44=_0x327967;let _0x89fd0a=_0x485967[_0x4a4f44(0x32b)](),_0x413cfd=new z()[_0x4a4f44(0x19d)](_0x2b23c0),_0x215c94=Js(_0x2b23c0),_0x174a67=new Set();return _0x413cfd['forEach'](_0x1a1203=>{const _0xb39ec5=_0x4a4f44;var _0x589c10,_0x463e79;let {tableId:_0x5a3a0e}=_0x1a1203;if(!_0x5a3a0e)return;_0x174a67[_0xb39ec5(0x12e)](K(_0x5a3a0e));let _0x5d9071=_0x89fd0a['tables'][_0x5a3a0e],_0x476a47=_0x1a1203[_0xb39ec5(0x345)]??(_0x1a1203[_0xb39ec5(0x124)]==null||_0x5d9071==null||(_0x589c10=_0x5d9071['rowId'])==null?void 0x0:_0x589c10[_0x1a1203[_0xb39ec5(0x124)]]),_0x4369b4=_0x1a1203[_0xb39ec5(0x173)]??(_0x1a1203['column']==null||_0x5d9071==null||(_0x463e79=_0x5d9071[_0xb39ec5(0x2ba)])==null?void 0x0:_0x463e79[_0x1a1203[_0xb39ec5(0x115)]]);_0x476a47&&_0x174a67[_0xb39ec5(0x12e)](J(_0x5a3a0e,_0x476a47)),_0x4369b4&&_0x174a67['add'](q(_0x5a3a0e,_0x4369b4)),_0x1a1203[_0xb39ec5(0x2d0)]&&_0x174a67[_0xb39ec5(0x12e)](Mr(_0x5a3a0e,_0x1a1203[_0xb39ec5(0x2d0)])),(_0x1a1203['reason']==='table'||_0x215c94['has'](_0x5a3a0e))&&_0x5d9071&&(Object['keys'](_0x5d9071[_0xb39ec5(0x305)])[_0xb39ec5(0x29b)](_0x59de2f=>_0x174a67[_0xb39ec5(0x12e)](q(_0x5a3a0e,_0x59de2f))),Object['keys'](_0x5d9071[_0xb39ec5(0x1d7)])[_0xb39ec5(0x29b)](_0x5829f4=>_0x174a67[_0xb39ec5(0x12e)](J(_0x5a3a0e,_0x5829f4))),Object[_0xb39ec5(0x27a)](_0x5d9071['views'])[_0xb39ec5(0x29b)](_0x348b62=>_0x174a67[_0xb39ec5(0x12e)](Mr(_0x5a3a0e,_0x348b62)))),_0x1a1203[_0xb39ec5(0x3bf)]===_0xb39ec5(0x472)&&_0x5d9071&&Object[_0xb39ec5(0x27a)](_0x5d9071[_0xb39ec5(0x305)])['forEach'](_0x6eacb3=>_0x174a67[_0xb39ec5(0x12e)](q(_0x5a3a0e,_0x6eacb3)));}),_0x413cfd[_0x4a4f44(0x1bf)]===0x0&&Xs(_0x2b23c0,_0x4a4f44(0x39b))&&Object['keys'](_0x89fd0a['tables'])[_0x4a4f44(0x29b)](_0x545e41=>_0x174a67[_0x4a4f44(0x12e)](K(_0x545e41))),[..._0x174a67];}function Js(_0x2515f9){let _0xdfe283=new Set(),_0x438934=_0x499f2b=>{const _0x5ac92c=_0x11ae;Array[_0x5ac92c(0x3fb)](_0x499f2b)&&_0x499f2b[_0x5ac92c(0x29b)]((_0x1656bb,_0x10269b)=>{const _0x1a0318=_0x5ac92c;_0x1656bb===_0x1a0318(0x486)&&typeof _0x499f2b[_0x10269b+0x1]==_0x1a0318(0x2a0)&&Ys(_0x499f2b[_0x10269b+0x2])&&_0xdfe283[_0x1a0318(0x12e)](_0x499f2b[_0x10269b+0x1]),_0x438934(_0x1656bb);});};return _0x438934(_0x2515f9),_0xdfe283;}function Ys(_0x4b329d){const _0x965b8b=_0x327967;return!!_0x4b329d&&typeof _0x4b329d==_0x965b8b(0x3d8)&&!Array[_0x965b8b(0x3fb)](_0x4b329d)&&('i'in _0x4b329d||'r'in _0x4b329d||'p'in _0x4b329d||'d'in _0x4b329d||'es'in _0x4b329d||'ena'in _0x4b329d||'et'in _0x4b329d);}function Xs(_0x237bef,_0x4e5a31){const _0x3d1c97=_0x327967;return Array[_0x3d1c97(0x3fb)](_0x237bef)&&_0x237bef[_0x3d1c97(0x35d)](_0x1922aa=>_0x1922aa===_0x4e5a31||Xs(_0x1922aa,_0x4e5a31));}function Zs(_0x16f4e4,_0x42c8f6){const _0x31c722=_0x327967;let _0x33b3ca=new Set(),_0x9c11e0=_0x42c8f6+'Id',_0x48adfa=_0x42c8f6+_0x31c722(0x3c9),_0x5ac082=(_0x266e33,_0x480bf7='')=>{const _0x359f02=_0x31c722;if(typeof _0x266e33==_0x359f02(0x2a0)){_0x480bf7===_0x9c11e0&&_0x33b3ca[_0x359f02(0x12e)](_0x266e33);return;}if(Array[_0x359f02(0x3fb)](_0x266e33)){_0x480bf7===_0x48adfa?_0x266e33[_0x359f02(0x29b)](_0x53eb29=>{const _0x5bb652=_0x359f02;typeof _0x53eb29==_0x5bb652(0x2a0)&&_0x33b3ca[_0x5bb652(0x12e)](_0x53eb29);}):_0x266e33['forEach'](_0x16d924=>_0x5ac082(_0x16d924,_0x480bf7));return;}tc(_0x266e33)&&Object[_0x359f02(0x209)](_0x266e33)[_0x359f02(0x29b)](([_0x5a17d3,_0x3a04bc])=>{const _0x4dbec6=_0x359f02;_0x5a17d3==='id'&&_0x480bf7===_0x42c8f6&&typeof _0x3a04bc==_0x4dbec6(0x2a0)?_0x33b3ca[_0x4dbec6(0x12e)](_0x3a04bc):_0x5ac082(_0x3a04bc,_0x5a17d3);});};return _0x5ac082(_0x16f4e4),[..._0x33b3ca];}function Qs(_0x4a0b70,_0x499b82,_0x2bb8f7,_0x3f0c49){const _0x9644fd=_0x327967;_0x4a0b70&&Array[_0x9644fd(0x3fb)](_0x499b82)&&_0x499b82[_0x9644fd(0x29b)](_0x383454=>{const _0x3b3d20=_0x9644fd;if(!tc(_0x383454))return;let _0x490934=_0x383454;if(typeof _0x490934[_0x3b3d20(0x124)]==_0x3b3d20(0x218)){var _0x1ea288;let _0x259da5=(_0x1ea288=_0x4a0b70[_0x3b3d20(0x2a7)])==null?void 0x0:_0x1ea288[_0x490934['row']];_0x259da5&&_0x2bb8f7[_0x3b3d20(0x12e)](_0x259da5);}if(typeof _0x490934[_0x3b3d20(0x36b)]=='number'){var _0x6a2676;let _0x1fc01c=(_0x6a2676=_0x4a0b70['colId'])==null?void 0x0:_0x6a2676[_0x490934[_0x3b3d20(0x36b)]];_0x1fc01c&&_0x3f0c49[_0x3b3d20(0x12e)](_0x1fc01c);}});}function $s(_0x472e10,_0x4fcaec,_0x2fca14=''){const _0x2ceca7=_0x327967;if(_0x472e10&&typeof _0x472e10=='object'){if(Array[_0x2ceca7(0x3fb)](_0x472e10)){_0x472e10['forEach'](_0x4149d4=>$s(_0x4149d4,_0x4fcaec,_0x2fca14));return;}tc(_0x472e10)&&Object[_0x2ceca7(0x209)](_0x472e10)[_0x2ceca7(0x29b)](([_0x24ac7a,_0x3ebffd])=>{const _0x3a0441=_0x2ceca7;_0x2fca14===_0x3a0441(0x259)&&_0x4fcaec[_0x3a0441(0x12e)](_0x24ac7a),$s(_0x3ebffd,_0x4fcaec,_0x24ac7a);});}}function ec(_0x8b9927){return Array['isArray'](_0x8b9927);}function tc(_0x2d7901){const _0x474015=_0x327967;return typeof _0x2d7901==_0x474015(0x3d8)&&!!_0x2d7901&&!Array[_0x474015(0x3fb)](_0x2d7901);}const nc=_0x1ada6c(_0x327967(0x431));let rc=class{constructor(_0x45b2c6){const _0x2b8e26=_0x327967;this[_0x2b8e26(0x33f)]=_0x45b2c6;}[_0x327967(0x3aa)](_0x34d02f){const _0xb1b01f=_0x327967;return this[_0xb1b01f(0x33f)]['getUnit'](_0x34d02f,_0x49a6be['UNIVER_BASE'])??null;}[_0x327967(0x1b5)](){const _0x39e5c5=_0x327967;return this[_0x39e5c5(0x33f)][_0x39e5c5(0x498)](_0x49a6be[_0x39e5c5(0xf9)]);}[_0x327967(0x402)](_0x2a2a30){const _0x556bc0=_0x327967;return this[_0x556bc0(0x33f)]['createUnit'](_0x49a6be[_0x556bc0(0xf9)],_0x2a2a30);}};rc=X([Y(0x0,_0x3a38b9)],rc);const ic=_0x1ada6c(_0x327967(0x332));var ac=class extends _0x4de356{constructor(..._0x4a990e){super(..._0x4a990e),G(this,'_plugins',new Map());}[_0x327967(0x263)](_0x18da9c){const _0x142b6d=_0x327967;return this[_0x142b6d(0x3ce)]['set'](_0x18da9c['type'],_0x18da9c),_0x569b00(()=>this['_plugins'][_0x142b6d(0x253)](_0x18da9c[_0x142b6d(0x346)]));}['get'](_0x1b63d){const _0x2c1bcc=_0x327967;let _0x3780f6=this['_plugins']['get'](_0x1b63d);if(!_0x3780f6)throw Error(_0x2c1bcc(0x3f0)+_0x1b63d+_0x2c1bcc(0x3cb));return _0x3780f6;}['getAll'](){const _0x232774=_0x327967;return Array[_0x232774(0x1d1)](this['_plugins'][_0x232774(0x259)]());}};const oc=[Q];let sc=class extends _0x2f79be{constructor(_0x4fb9e4=Ns,_0x5e47e6,_0x4768c3,_0x5c7371,_0x303aa6,_0x4ebf73){const _0x16ede4=_0x327967;super(),this['_config']=_0x4fb9e4,this[_0x16ede4(0x1c2)]=_0x5e47e6,this[_0x16ede4(0x1ba)]=_0x4768c3,this['_univerInstanceService']=_0x5c7371,this['_configService']=_0x303aa6,this[_0x16ede4(0x373)]=_0x4ebf73,G(this,_0x16ede4(0x46c),new Map());let {..._0x1ec61f}=_0xcc3099({},Ns,this[_0x16ede4(0x306)]);this[_0x16ede4(0x282)][_0x16ede4(0x394)](_0x16ede4(0x422),_0x1ec61f),this[_0x16ede4(0x33f)][_0x16ede4(0x132)](_0x49a6be[_0x16ede4(0xf9)],_0x271087),this[_0x16ede4(0x33c)](),this['_initCommands'](),this[_0x16ede4(0x423)](),this[_0x16ede4(0x2fd)]();}[_0x327967(0x268)](){const _0x46952a=_0x327967;this[_0x46952a(0x1c2)][_0x46952a(0x12e)]([Lo]),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)][_0x46952a(0x318)](_0x2823d6)['registerCommand'](Ro)),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)]['get'](_0x2823d6)[_0x46952a(0x482)](zo)),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)]['get'](_0x77c4ee)['registerRuleModel'](_0x230625['Base'],this[_0x46952a(0x1c2)][_0x46952a(0x318)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x4dc882=_0x327967;_0x253fbd(this['_injector'],[[rc],[qr],[Rs]]),this[_0x4dc882(0x33f)][_0x4dc882(0x498)](_0x49a6be['UNIVER_BASE'])['forEach'](_0x18c35c=>this[_0x4dc882(0x419)](_0x18c35c[_0x4dc882(0x40a)]())),_0x253fbd(this[_0x4dc882(0x1c2)],[[zs],[Us]]);}['_initDependencies'](){const _0x56826d=_0x327967;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x56826d(0x29b)](_0x5aa418=>this[_0x56826d(0x1c2)][_0x56826d(0x12e)](_0x5aa418));}[_0x327967(0x48a)](){const _0x51619c=_0x327967;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x51619c(0x29b)](_0x1fdda0=>this[_0x51619c(0x29e)](this[_0x51619c(0x1ba)][_0x51619c(0x482)](_0x1fdda0))),oc[_0x51619c(0x29b)](_0x175722=>{const _0x173298=_0x51619c;var _0x1d84b7;return(_0x1d84b7=this[_0x173298(0x373)])==null?void 0x0:_0x1d84b7[_0x173298(0x390)](_0x175722);});}[_0x327967(0x2fd)](){const _0x24ef1d=_0x327967;this[_0x24ef1d(0x373)]&&(this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x49a6be[_0x24ef1d(0xf9)])[_0x24ef1d(0x16f)](({unit:_0x2af443})=>{const _0x157dd4=_0x24ef1d;this[_0x157dd4(0x419)](_0x2af443[_0x157dd4(0x40a)]());})),this[_0x24ef1d(0x29e)](this[_0x24ef1d(0x33f)][_0x24ef1d(0x38d)](_0x49a6be[_0x24ef1d(0xf9)])[_0x24ef1d(0x16f)](_0x3f16a2=>{const _0x21928c=_0x24ef1d;var _0x1b2f8a;(_0x1b2f8a=this['_baseSyncDisposables']['get'](_0x3f16a2[_0x21928c(0x40a)]()))==null||_0x1b2f8a[_0x21928c(0x2b1)](),this[_0x21928c(0x46c)]['delete'](_0x3f16a2[_0x21928c(0x40a)]());})));}['_syncBaseUnit'](_0x546f2f){const _0xab626a=_0x327967;this[_0xab626a(0x373)]&&!this['_baseSyncDisposables'][_0xab626a(0x103)](_0x546f2f)&&this['_baseSyncDisposables'][_0xab626a(0x3fe)](_0x546f2f,this[_0xab626a(0x373)]['syncUnit'](_0x546f2f));}[_0x327967(0x423)](){const _0x2ca997=_0x327967;let _0x1b14dc=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](mr);zn()[_0x2ca997(0x29b)](_0x1050b7=>_0x1b14dc[_0x2ca997(0x263)](_0x1050b7));let _0x121bc0=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](ic),_0x5f3889=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](ii);$r()[_0x2ca997(0x29b)](_0x595e27=>{const _0x469d75=_0x2ca997;_0x121bc0[_0x469d75(0x263)](_0x595e27),_0x5f3889[_0x469d75(0x446)](_0x595e27);});}};G(sc,_0x327967(0x264),_0x327967(0x252)),G(sc,'packageName',js),G(sc,_0x327967(0x112),Ms),G(sc,_0x327967(0x346),_0x49a6be[_0x327967(0xf9)]),sc=X([_0x32cfaf(_0x343622,_0x16307b),Y(0x1,_0x1345e2(_0x4a869a)),Y(0x2,_0x2823d6),Y(0x3,_0x3a38b9),Y(0x4,_0x3c388e),Y(0x5,_0x388498(_0x1829c1))],sc);let cc=class extends _0x2f79be{constructor(_0x52921f=Ps,_0x156160,_0x59f309,_0x268458,_0x171b55){const _0x379d35=_0x327967;super(),this['_config']=_0x52921f,this[_0x379d35(0x1c2)]=_0x156160,this[_0x379d35(0x1ba)]=_0x59f309,this[_0x379d35(0x282)]=_0x268458,this[_0x379d35(0x33f)]=_0x171b55;let {..._0x1b62fc}=_0xcc3099({},Ps,this['_config']);this[_0x379d35(0x282)][_0x379d35(0x394)]('bases.remote.config',_0x1b62fc),this['_univerInstanceService'][_0x379d35(0x132)](_0x49a6be[_0x379d35(0xf9)],_0x271087),[[mr,{'useClass':hr}],[ii,{'useClass':si}]][_0x379d35(0x29b)](_0x5ba266=>this['_injector']['add'](_0x5ba266)),oc[_0x379d35(0x29b)](_0x552a8e=>this[_0x379d35(0x29e)](this[_0x379d35(0x1ba)]['registerCommand'](_0x552a8e)));}};G(cc,_0x327967(0x264),'REMOTE_BASES_PLUGIN'),G(cc,_0x327967(0x3f3),js),G(cc,_0x327967(0x112),Ms),G(cc,'type',_0x49a6be['UNIVER_BASE']),cc=X([_0x32cfaf(_0x343622,_0x16307b),Y(0x1,_0x1345e2(_0x4a869a)),Y(0x2,_0x2823d6),Y(0x3,_0x3c388e),Y(0x4,_0x3a38b9)],cc);function lc(_0x1560e6){const _0x157100=_0x327967;let _0x153532=Cc(_0x1560e6['query']);if(!_0x153532)return{'query':'','total':0x0,'matches':[]};let _0x5f5d29=[],_0x20657b=[];for(let _0x3c58ad=0x0;_0x3c58ad<_0x1560e6[_0x157100(0x143)]['length'];_0x3c58ad++){if(!(_0x3c58ad in _0x1560e6[_0x157100(0x143)]))continue;let _0x6d5265=_0x1560e6[_0x157100(0x496)][_0x157100(0x305)][_0x1560e6[_0x157100(0x143)][_0x3c58ad]];_0x6d5265&&_0x20657b['push']({'field':_0x6d5265,'fieldIndex':_0x3c58ad});}_0x1560e6['rows'][_0x157100(0x29b)]((_0x57ee53,_0x5628ff)=>{const _0x55f461=_0x157100;_0x20657b[_0x55f461(0x29b)](({field:_0x328c32,fieldIndex:_0x5cf2ea})=>{const _0x461d34=_0x55f461;let _0x5cf9f5=uc(_0x57ee53[_0x461d34(0x259)][_0x328c32['id']],_0x328c32);if(!_0x5cf9f5)return;let _0x2177b9=Sc(_0x153532,_0x5cf9f5[_0x461d34(0x20d)]);_0x2177b9<=0x0||_0x5f5d29['push']({'recordId':_0x57ee53[_0x461d34(0x345)],'fieldId':_0x328c32['id'],'fieldType':_0x328c32[_0x461d34(0x346)],'text':_0x5cf9f5[_0x461d34(0x23a)],'score':_0x2177b9,'rowIndex':_0x5628ff,'fieldIndex':_0x5cf2ea});});}),_0x5f5d29['sort']((_0x3be8d4,_0x1ea92e)=>_0x1ea92e[_0x157100(0x18f)]-_0x3be8d4[_0x157100(0x18f)]||_0x3be8d4[_0x157100(0x257)]-_0x1ea92e['rowIndex']||_0x3be8d4[_0x157100(0x3da)]-_0x1ea92e[_0x157100(0x3da)]);let _0x14ad97=_0x1560e6[_0x157100(0x46f)]==null?_0x5f5d29:_0x5f5d29[_0x157100(0x348)](0x0,Math['max'](0x0,_0x1560e6[_0x157100(0x46f)]));return{'query':_0x153532,'total':_0x5f5d29['length'],'matches':Tc(_0x14ad97)};}function uc(_0x1933bd,_0x2573b6){const _0x2be448=_0x327967;let _0x1efaa2=[];for(let _0x48fbb2 of fc(_0x1933bd,_0x2573b6)){let _0x45caf7=Cc(_0x48fbb2);_0x45caf7&&_0x1efaa2['push'](_0x45caf7);}return _0x1efaa2[_0x2be448(0x1bf)]?{'displayText':dc(_0x1933bd,_0x2573b6),'searchTexts':wc(_0x1efaa2)}:null;}function dc(_0x538dc7,_0x54ef9f){const _0x261a56=_0x327967;switch(_0x54ef9f[_0x261a56(0x346)]){case _0x1013ad[_0x261a56(0x413)]:case _0x1013ad[_0x261a56(0x190)]:case _0x1013ad['Group']:return pc(_0x538dc7,_0x54ef9f)[_0x261a56(0x3a1)](',\x20');case _0x1013ad[_0x261a56(0x170)]:return gc(_0x538dc7);case _0x1013ad[_0x261a56(0x2b2)]:case _0x1013ad[_0x261a56(0x483)]:case _0x1013ad[_0x261a56(0xe4)]:return _c(_0x538dc7,_0x54ef9f);case _0x1013ad[_0x261a56(0x302)]:case _0x1013ad[_0x261a56(0x295)]:return vc(_0x538dc7,_0x54ef9f);case _0x1013ad[_0x261a56(0x3e1)]:return yc(_0x538dc7,_0x54ef9f);case _0x1013ad['Checkbox']:return _0x538dc7?_0x261a56(0x2a8):_0x261a56(0x151);case _0x1013ad['Attachment']:return bc(_0x538dc7)[_0x261a56(0x3a1)](',\x20');default:return xc(_0x538dc7);}}function fc(_0x2c2dac,_0x536654){const _0x57eb70=_0x327967;switch(_0x536654[_0x57eb70(0x346)]){case _0x1013ad[_0x57eb70(0x413)]:case _0x1013ad[_0x57eb70(0x190)]:case _0x1013ad['Group']:{let _0x369fbb=pc(_0x2c2dac,_0x536654);if(Array[_0x57eb70(0x3fb)](_0x2c2dac)){let _0x30fc99=[..._0x369fbb];for(let _0x305cf9=0x0;_0x305cf9<_0x2c2dac['length'];_0x305cf9++)_0x305cf9 in _0x2c2dac&&_0x30fc99['push'](String(_0x2c2dac[_0x305cf9]));return _0x30fc99;}return _0x2c2dac==null?_0x369fbb:[..._0x369fbb,String(_0x2c2dac)];}case _0x1013ad[_0x57eb70(0x170)]:{let _0xf1bf03=hc(_0x2c2dac);return[_0xf1bf03[_0x57eb70(0x179)],_0xf1bf03['url']];}case _0x1013ad[_0x57eb70(0x2b2)]:case _0x1013ad[_0x57eb70(0x483)]:case _0x1013ad[_0x57eb70(0xe4)]:return[_c(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad['Number']:case _0x1013ad[_0x57eb70(0x295)]:return[vc(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad[_0x57eb70(0x3e1)]:return[yc(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad['Checkbox']:return _0x2c2dac?[_0x57eb70(0x2a8),_0x57eb70(0xe7),_0x57eb70(0x2df)]:['Unchecked','No',_0x57eb70(0x23e)];case _0x1013ad[_0x57eb70(0x49d)]:return bc(_0x2c2dac);default:return[xc(_0x2c2dac)];}}function pc(_0x3101cb,_0x26aa54){const _0x4039bd=_0x327967;var _0x3bc013;let _0x1e4ce3=Array[_0x4039bd(0x3fb)]((_0x3bc013=_0x26aa54['config'])==null?void 0x0:_0x3bc013[_0x4039bd(0x495)])?_0x26aa54['config'][_0x4039bd(0x495)]:[],_0x1fff90=[];if(Array[_0x4039bd(0x3fb)](_0x3101cb)){for(let _0x13101b=0x0;_0x13101b<_0x3101cb[_0x4039bd(0x1bf)];_0x13101b++){if(!(_0x13101b in _0x3101cb))continue;let _0x5622a8=String(_0x3101cb[_0x13101b]);_0x5622a8&&_0x1fff90[_0x4039bd(0x161)](mc(_0x1e4ce3,_0x5622a8));}return _0x1fff90;}if(_0x3101cb!=null){let _0xf1f32a=String(_0x3101cb);_0xf1f32a&&_0x1fff90[_0x4039bd(0x161)](mc(_0x1e4ce3,_0xf1f32a));}return _0x1fff90;}function mc(_0x55ef06,_0x2a5d18){const _0x2a1f2b=_0x327967;for(let _0x1af62a of _0x55ef06){if(typeof _0x1af62a==_0x2a1f2b(0x2a0)&&_0x1af62a===_0x2a5d18)return _0x1af62a;if(_0x1af62a&&typeof _0x1af62a==_0x2a1f2b(0x3d8)){let _0x54d2f1=_0x1af62a;if(String(_0x54d2f1['id']??_0x54d2f1['name']??'')===_0x2a5d18||String(_0x54d2f1[_0x2a1f2b(0x158)]??'')===_0x2a5d18)return String(_0x54d2f1[_0x2a1f2b(0x158)]??_0x54d2f1['id']??_0x2a5d18);}}return _0x2a5d18;}function hc(_0x24c141){const _0x3d5bd0=_0x327967;if(_0x24c141&&typeof _0x24c141==_0x3d5bd0(0x3d8)&&!Array[_0x3d5bd0(0x3fb)](_0x24c141)){let _0x58cb8f=_0x24c141;return{'text':String(_0x58cb8f['text']??_0x58cb8f['url']??''),'url':String(_0x58cb8f[_0x3d5bd0(0x15e)]??'')};}return{'text':xc(_0x24c141),'url':xc(_0x24c141)};}function gc(_0x227e84){const _0x27ddf5=_0x327967;let _0x5ba4ba=hc(_0x227e84);return _0x5ba4ba[_0x27ddf5(0x179)]||_0x5ba4ba[_0x27ddf5(0x15e)];}function _c(_0x29816e,_0x515d5c){const _0x45ef90=_0x327967;return typeof _0x29816e!=_0x45ef90(0x218)||!Number[_0x45ef90(0x138)](_0x29816e)?'':mn(_0x29816e,_0x515d5c[_0x45ef90(0x174)]);}function vc(_0x31ca00,_0x17bffb){const _0x40325f=_0x327967;let _0x3e126a=typeof _0x31ca00==_0x40325f(0x218)?_0x31ca00:Number(_0x31ca00);return Number[_0x40325f(0x138)](_0x3e126a)?qo(_0x3e126a,_0x17bffb[_0x40325f(0x174)]):'';}function yc(_0x84eee,_0x5f27b4){const _0x50740d=_0x327967;let _0x24052d=typeof _0x84eee==_0x50740d(0x218)?_0x84eee:Number(_0x84eee);return Number[_0x50740d(0x138)](_0x24052d)?Qo(_0x24052d,_0x5f27b4[_0x50740d(0x174)]):'';}function bc(_0x11219a){const _0x233cdd=_0x327967;return Array[_0x233cdd(0x3fb)](_0x11219a)?_0x11219a[_0x233cdd(0xeb)](_0x471793=>{const _0x31c47b=_0x233cdd;if(!_0x471793||typeof _0x471793!=_0x31c47b(0x3d8))return[];let _0x180493=_0x471793,_0x2abd30=String(_0x180493['name']??_0x180493[_0x31c47b(0x15e)]??'')['trim']();return _0x2abd30?[_0x2abd30]:[];}):[];}function xc(_0x3736fb){const _0x4eae85=_0x327967;if(_0x3736fb==null)return'';if(typeof _0x3736fb=='boolean')return _0x3736fb?_0x4eae85(0x1f3):_0x4eae85(0x408);if(typeof _0x3736fb=='number')return String(_0x3736fb);if(Array['isArray'](_0x3736fb)){let _0x1029f7=[];for(let _0x2d6bfb=0x0;_0x2d6bfb<_0x3736fb[_0x4eae85(0x1bf)];_0x2d6bfb++){if(!(_0x2d6bfb in _0x3736fb))continue;let _0x49bb7b=xc(_0x3736fb[_0x2d6bfb]);_0x49bb7b&&_0x1029f7[_0x4eae85(0x161)](_0x49bb7b);}return _0x1029f7['join'](',\x20');}if(typeof _0x3736fb==_0x4eae85(0x3d8)){let _0x54cc0a=_0x3736fb;return String(_0x54cc0a['title']??_0x54cc0a['name']??_0x54cc0a[_0x4eae85(0x179)]??_0x54cc0a[_0x4eae85(0x15e)]??'')['trim']();}return String(_0x3736fb);}function Sc(_0x4f8d07,_0x355fa3){const _0x861d47=_0x327967;let _0x4d404d=0x0;for(let _0x271d2e of _0x355fa3)if(_0x271d2e){if(_0x271d2e===_0x4f8d07){_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0x12c);continue;}if(_0x271d2e['startsWith'](_0x4f8d07)){_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0xfa);continue;}_0x271d2e[_0x861d47(0x45c)](_0x4f8d07)&&(_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0xc8));}return _0x4d404d;}function Cc(_0x16f5a9){const _0x27f1a4=_0x327967;return _0x16f5a9[_0x27f1a4(0x140)]()[_0x27f1a4(0x42d)](/\s+/g,'\x20')[_0x27f1a4(0x3af)]();}function wc(_0x11977c){const _0x4b02d7=_0x327967;return Array[_0x4b02d7(0x1d1)](new Set(_0x11977c));}function Tc(_0x1ed515){const _0x4d136a=_0x327967;let _0xbcdd51=[];for(let {rowIndex:_0x3f9f4e,fieldIndex:_0x2a4ece,..._0x28ed35}of _0x1ed515)_0xbcdd51[_0x4d136a(0x161)](_0x28ed35);return _0xbcdd51;}function Ec(_0x5710e4){const _0x53264d=_0x327967;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x5710e4[_0x53264d(0x409)],'t':_0x5710e4['tableId'],'p':_0x5710e4[_0x53264d(0x14b)][_0x53264d(0x412)](_0x170584=>[_0x170584['row'],_0x170584[_0x53264d(0x36b)],Ac(_0x170584[_0x53264d(0x1e1)])]),..._0x5710e4[_0x53264d(0x243)]===void 0x0?{}:{'g':_0x5710e4[_0x53264d(0x243)]}};}function Dc(_0x3e5733){const _0x2dc3d5=_0x327967;if(Lc(_0x3e5733,_0x2dc3d5(0x315)),!Oc(_0x3e5733)){if(!Ic(_0x3e5733))throw Error(_0x2dc3d5(0x328));return _0x3e5733;}return{'unitId':_0x3e5733['u'],'tableId':_0x3e5733['t'],'patches':_0x3e5733['p'][_0x2dc3d5(0x412)](([_0x5b0ae3,_0x12325b,_0x3cea31])=>({'row':_0x5b0ae3,'col':_0x12325b,'value':jc(_0x3cea31)})),..._0x3e5733['g']===void 0x0?{}:{'trigger':_0x3e5733['g']}};}function Oc(_0x4b0ecd){const _0x4120a3=_0x327967;return!Rc(_0x4b0ecd)||_0x4b0ecd[_0x4120a3(0x146)]!==!0x0||_0x4b0ecd[_0x4120a3(0x428)]!==_0x4120a3(0x315)?!0x1:typeof _0x4b0ecd['u']==_0x4120a3(0x2a0)&&typeof _0x4b0ecd['t']=='string'&&(_0x4b0ecd['g']===void 0x0||typeof _0x4b0ecd['g']==_0x4120a3(0x2a0))&&Array[_0x4120a3(0x3fb)](_0x4b0ecd['p'])&&_0x4b0ecd['p']['every'](_0x11c95d=>Array[_0x4120a3(0x3fb)](_0x11c95d)&&_0x11c95d[_0x4120a3(0x1bf)]===0x3&&Number[_0x4120a3(0xe9)](_0x11c95d[0x0])&&Number[_0x4120a3(0xe9)](_0x11c95d[0x1]));}function kc(_0x259afe){const _0x338328=_0x327967;return!Rc(_0x259afe)||_0x259afe[_0x338328(0x146)]!==!0x0||_0x259afe[_0x338328(0x428)]!==_0x338328(0x41d)||!Rc(_0x259afe[_0x338328(0x486)])?!0x1:Object[_0x338328(0x259)](_0x259afe[_0x338328(0x486)])[_0x338328(0x44b)](_0x118481=>Rc(_0x118481)&&(_0x118481['cd']===void 0x0||Array[_0x338328(0x3fb)](_0x118481['cd'])&&_0x118481['cd'][_0x338328(0x44b)](_0x4e3f2e=>Array['isArray'](_0x4e3f2e)&&_0x4e3f2e[_0x338328(0x1bf)]===0x3&&Number[_0x338328(0xe9)](_0x4e3f2e[0x0])&&Number[_0x338328(0xe9)](_0x4e3f2e[0x1])&&Fc(_0x4e3f2e[0x2]))));}function Ac(_0x5e75ad){return Pc(_0x5e75ad)?Mc(_0x5e75ad):_0x5e75ad;}function jc(_0x38d1b2){return Fc(_0x38d1b2)?Nc(_0x38d1b2):_0x38d1b2;}function Mc(_0x1d9888){return{'c':0x1,..._0x1d9888['v']===void 0x0?{}:{'v':_0x1d9888['v']},..._0x1d9888['t']!==void 0x0&&_0x1d9888['t']!==null?{'t':_0x1d9888['t']}:_0x1d9888['t']===null?{'t':null}:{},..._0x1d9888['f']!==void 0x0&&_0x1d9888['f']!==null?{'f':_0x1d9888['f']}:_0x1d9888['f']===null?{'f':null}:{},..._0x1d9888['si']!==void 0x0&&_0x1d9888['si']!==null?{'si':_0x1d9888['si']}:_0x1d9888['si']===null?{'si':null}:{},..._0x1d9888['p']!==void 0x0&&_0x1d9888['p']!==null?{'p':_0x1d9888['p']}:_0x1d9888['p']===null?{'p':null}:{}};}function Nc(_0x5b8ab3){return{..._0x5b8ab3['v']===void 0x0?{}:{'v':_0x5b8ab3['v']},..._0x5b8ab3['t']===void 0x0?{}:{'t':_0x5b8ab3['t']},..._0x5b8ab3['f']===void 0x0?{}:{'f':_0x5b8ab3['f']},..._0x5b8ab3['si']===void 0x0?{}:{'si':_0x5b8ab3['si']},..._0x5b8ab3['p']===void 0x0?{}:{'p':_0x5b8ab3['p']}};}function Pc(_0xf298a8){const _0x286454=_0x327967;return!!_0xf298a8&&typeof _0xf298a8==_0x286454(0x3d8)&&!Array['isArray'](_0xf298a8)&&(Object['prototype']['hasOwnProperty'][_0x286454(0x171)](_0xf298a8,'v')||Object['prototype'][_0x286454(0x150)]['call'](_0xf298a8,'t')||Object[_0x286454(0x331)][_0x286454(0x150)][_0x286454(0x171)](_0xf298a8,'p')||Object[_0x286454(0x331)][_0x286454(0x150)][_0x286454(0x171)](_0xf298a8,'f')||Object[_0x286454(0x331)]['hasOwnProperty'][_0x286454(0x171)](_0xf298a8,'si'));}function Fc(_0xf37247){return Rc(_0xf37247)&&_0xf37247['c']===0x1;}function Ic(_0x4e5e44){const _0x3a9092=_0x327967;return Rc(_0x4e5e44)&&typeof _0x4e5e44[_0x3a9092(0x409)]=='string'&&typeof _0x4e5e44[_0x3a9092(0x19a)]==_0x3a9092(0x2a0)&&(_0x4e5e44['trigger']===void 0x0||typeof _0x4e5e44[_0x3a9092(0x243)]=='string')&&Array['isArray'](_0x4e5e44[_0x3a9092(0x14b)])&&_0x4e5e44['patches']['every'](_0x5e7afd=>Rc(_0x5e7afd)&&Number['isInteger'](_0x5e7afd[_0x3a9092(0x124)])&&Number[_0x3a9092(0xe9)](_0x5e7afd['col'])&&_0x3a9092(0x1e1)in _0x5e7afd);}function Lc(_0x1c4b5b,_0x24d032){const _0x27f679=_0x327967;if(Rc(_0x1c4b5b)&&_0x1c4b5b[_0x27f679(0x146)]===!0x0){if(_0x1c4b5b[_0x27f679(0x428)]!==_0x24d032)throw Error(_0x27f679(0x3e7)+String(_0x1c4b5b[_0x27f679(0x428)])+'\x22.');if(!(_0x24d032==='base-range-values-v1'?Oc(_0x1c4b5b):kc(_0x1c4b5b)))throw Error(_0x27f679(0x392)+_0x24d032+'\x22.');}}function Rc(_0x158ef4){const _0x14a49d=_0x327967;return!!_0x158ef4&&typeof _0x158ef4==_0x14a49d(0x3d8)&&!Array[_0x14a49d(0x3fb)](_0x158ef4);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x15970e as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|
|
1
|
+
const _0x282c57=_0x3047;(function(_0x1b5c99,_0x231ea7){const _0x1331f8=_0x3047,_0x4970e6=_0x1b5c99();while(!![]){try{const _0x3daf6e=-parseInt(_0x1331f8(0x4f5))/0x1+-parseInt(_0x1331f8(0x1f1))/0x2*(-parseInt(_0x1331f8(0x23e))/0x3)+-parseInt(_0x1331f8(0x3cb))/0x4*(-parseInt(_0x1331f8(0x368))/0x5)+parseInt(_0x1331f8(0x558))/0x6+-parseInt(_0x1331f8(0x364))/0x7*(parseInt(_0x1331f8(0x34c))/0x8)+-parseInt(_0x1331f8(0x344))/0x9*(-parseInt(_0x1331f8(0x36a))/0xa)+-parseInt(_0x1331f8(0x53e))/0xb*(parseInt(_0x1331f8(0x37e))/0xc);if(_0x3daf6e===_0x231ea7)break;else _0x4970e6['push'](_0x4970e6['shift']());}catch(_0x13626f){_0x4970e6['push'](_0x4970e6['shift']());}}}(_0x332d,0x55b3c));import{BASE_RECORD_ID_FIELD_ID as _0x1a2ecc,BaseConditionalColorOperator as _0x5b882d,BaseConditionalColorTarget as _0x26d874,BaseConditionalDateMode as _0x3cc509,BaseDataModel as _0x1c1e04,BaseFieldType as _0x239099,BaseFilterConjunction as _0x2528f1,BaseHierarchyInvalidReason as _0x1e9d86,BaseRecordLinkRole as _0x33634f,BaseSortDirection as _0x111a17,BaseViewType as _0x1d9104,CellValueType as _0x110ba4,ColorKit as _0x3af328,CommandType as _0x31b5a7,CustomCommandExecutionError as _0x3aec47,DateSystem as _0x20fc86,DependentOn as _0x1ae952,Disposable as _0x3bb8e0,ErrorService as _0x2ba5f2,ICommandService as _0x2a9a16,IConfigService as _0x23dc17,IPermissionService as _0x39a8ae,IResourceManagerService as _0x59ae57,IUndoRedoService as _0x1f4c86,IUniverInstanceService as _0x54ce33,Inject as _0x4bcdd1,Injector as _0x5325dd,JSON1 as _0x2f9032,JSONX as _0x21604b,ObjectMatrix as _0x376646,ObjectPermissionRuleModel as _0x15cc0a,ObjectPermissionService as _0x532322,Optional as _0x2a3dd3,PermissionStatus as _0xcbb269,Plugin as _0x206208,Tools as _0xd92214,UniverInstanceType as _0x335149,allocateBaseFormulaTableName as _0x1d3afd,assertBaseTableRecordIdentity as _0x306a77,createBaseFormulaTableNameMap as _0x41215d,createBaseRecordIdField as _0x5674a9,createIdentifier as _0x2cfc4b,dateKit as _0x20f447,excelDateTimeSerial as _0x29c4f2,excelSerialToDateTime as _0x247811,generateRandomId as _0x4e27d9,getBaseFormulaTableName as _0x5e32d1,isBaseRecordIdFieldName as _0x38be32,isValidBaseRecordId as _0x2a190f,merge as _0xc2b1c2,nameCharacterCheck as _0x4ee737,numfmt as _0x1ce6f1,regexp as _0x529588,sequenceExecute as _0x34a596,toDisposable as _0x453a32,touchDependencies as _0x2fa2a9}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x14f705,IActiveDirtyManagerService as _0x5d22c8,RemoveSuperTableMutation as _0x16f34f,SetFormulaCalculationResultMutation as _0x260dd2,SetSuperTableMutation as _0x3f9972,SetTriggerFormulaCalculationStartMutation as _0x1d0f35,UniverProFormulaEnginePlugin as _0x269033,refactorFormulaUnitQualifier as _0x54dc4c}from'@univerjs-pro/engine-formula';import{UnitAction as _0x133e41,UnitObject as _0xd2ae12}from'@univerjs/protocol';import{UniverLicensePlugin as _0x3f6b6a}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x57ca42}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x2c8588,FormulaResultApplicationType as _0x5be45b}from'@univerjs/engine-formula';function N(_0x3eda17){const _0x2cc5cf=_0x3047;let _0x2d9ef2=_0x3eda17['config'][_0x2cc5cf(0x3e5)],_0x3a64ef=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x3ea)],_0x182d73=_0x3eda17[_0x2cc5cf(0x50c)]['displayFieldId'],_0x56e09d=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x29d)],_0x4b14fc=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x1f7)];return typeof _0x2d9ef2!=_0x2cc5cf(0x3e3)||!_0x2d9ef2||typeof _0x3a64ef!=_0x2cc5cf(0x386)||_0x182d73!==void 0x0&&(typeof _0x182d73!='string'||!_0x182d73)||_0x4b14fc!==void 0x0&&_0x4b14fc!==_0x33634f[_0x2cc5cf(0x19a)]||_0x56e09d!==void 0x0&&(!Array[_0x2cc5cf(0x3d5)](_0x56e09d)||_0x56e09d[_0x2cc5cf(0x436)](_0x37d393=>typeof _0x37d393!=_0x2cc5cf(0x3e3)||!_0x37d393)||new Set(_0x56e09d)['size']!==_0x56e09d[_0x2cc5cf(0x4ab)])?null:{'targetTableId':_0x2d9ef2,'multiple':_0x3a64ef,..._0x182d73?{'displayFieldId':_0x182d73}:{},..._0x56e09d?{'pickerFieldIds':[..._0x56e09d]}:{},..._0x4b14fc?{'relationRole':_0x4b14fc}:{}};}function Le(_0x1da1fe){const _0x49ed7d=_0x3047;return typeof _0x1da1fe!='string'||_0x1da1fe===''?[]:_0x1da1fe[_0x49ed7d(0x460)](',');}function Re(_0x39b8e9){const _0x26e0ed=_0x3047;return Array[_0x26e0ed(0x2f3)](new Set(_0x39b8e9))[_0x26e0ed(0x1c0)](',');}function ze(_0x46df41,_0x2ac3b7){const _0x1213d5=_0x3047;if(typeof _0x46df41!='string')return{'valid':!0x1,'reason':_0x1213d5(0x3fc)};if(_0x46df41==='')return{'valid':!0x0};let _0x5f5b2a=_0x46df41[_0x1213d5(0x460)](',');return!_0x2ac3b7&&_0x5f5b2a['length']>0x1?{'valid':!0x1,'reason':_0x1213d5(0x1d2)}:_0x5f5b2a[_0x1213d5(0x436)](_0x5070b9=>!_0x2a190f(_0x5070b9))||new Set(_0x5f5b2a)[_0x1213d5(0x286)]!==_0x5f5b2a[_0x1213d5(0x4ab)]||Re(_0x5f5b2a)!==_0x46df41?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function Be(_0x38bc95,_0x2fe194){const _0x1ede4c=_0x3047;if(_0x2fe194[_0x1ede4c(0x4aa)]!==_0x239099[_0x1ede4c(0x2c2)])return{'valid':!0x0};let _0x1e9097=N(_0x2fe194),_0x595d80=_0x1e9097?_0x38bc95[_0x1ede4c(0x528)][_0x1e9097[_0x1ede4c(0x3e5)]]:void 0x0;if(!_0x1e9097||!_0x595d80)return{'valid':!0x1,'reason':_0x1ede4c(0x538)};let _0x2fb0f3=[..._0x1e9097[_0x1ede4c(0x41b)]?[_0x1e9097['displayFieldId']]:[],..._0x1e9097[_0x1ede4c(0x29d)]??[]][_0x1ede4c(0x525)](_0xadc505=>{const _0x54c3fd=_0x1ede4c;let _0x2b706c=_0x595d80[_0x54c3fd(0x453)][_0xadc505];return!_0x2b706c||_0x2b706c[_0x54c3fd(0x43c)]===!0x0||_0x2b706c['type']===_0x239099['RecordId'];});return _0x2fb0f3?{'valid':!0x1,'reason':_0x1ede4c(0x23f)+_0x2fb0f3+_0x1ede4c(0x231)}:{'valid':!0x0};}function Ve(_0x3360cc,_0x32d102,_0xe3e2cb,_0x3aee81={}){const _0x1b4f9d=_0x3047;let _0x46f7ca=N(_0x32d102);if(_0x32d102[_0x1b4f9d(0x4aa)]!==_0x239099[_0x1b4f9d(0x2c2)]||!_0x46f7ca)return{'valid':!0x1,'reason':_0x1b4f9d(0x4cd)};let _0x4c73ce=ze(_0xe3e2cb,_0x46f7ca[_0x1b4f9d(0x3ea)]);if(!_0x4c73ce[_0x1b4f9d(0x375)]||_0x3aee81[_0x1b4f9d(0x2c5)])return _0x4c73ce;let _0x3ea6c7=_0x3360cc[_0x1b4f9d(0x528)][_0x46f7ca['targetTableId']];if(!_0x3ea6c7)return{'valid':!0x1,'reason':_0x1b4f9d(0x538)};let _0x3b835b=Le(_0xe3e2cb)['find'](_0x365a8b=>!_0x3ea6c7['records'][_0x365a8b]);return _0x3b835b?{'valid':!0x1,'reason':_0x1b4f9d(0x459)+_0x3b835b+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function He(_0xe388d5,_0x44b759){const _0xa3768b=_0x3047;return Object[_0xa3768b(0x54e)](_0xe388d5[_0xa3768b(0x528)])['flatMap'](_0xc6cc3c=>Object['values'](_0xc6cc3c[_0xa3768b(0x453)])[_0xa3768b(0x26a)](_0xfaa365=>{const _0xd10318=_0xa3768b;let _0xd9a051=_0xfaa365['type']===_0x239099[_0xd10318(0x2c2)]?N(_0xfaa365):null;return(_0xd9a051==null?void 0x0:_0xd9a051[_0xd10318(0x3e5)])===_0x44b759?[{'tableId':_0xc6cc3c['id'],'fieldId':_0xfaa365['id']}]:[];}));}const Ue=0x5,We=_0x282c57(0x31c);let Ge=function(_0x4ed4b8){const _0x251687=_0x282c57;return _0x4ed4b8['InvalidField']=_0x251687(0x38b),_0x4ed4b8['MissingRecord']='missingRecord',_0x4ed4b8[_0x251687(0x341)]=_0x251687(0x2e8),_0x4ed4b8[_0x251687(0x217)]=_0x251687(0x45f),_0x4ed4b8['MaxDepth']=_0x251687(0x1c4),_0x4ed4b8[_0x251687(0x201)]=_0x251687(0x20a),_0x4ed4b8;}({});var P=class extends Error{constructor(_0x59b646,_0x3eea37=_0x282c57(0x2bf)+_0x59b646){const _0x330552=_0x282c57;super(_0x3eea37),this[_0x330552(0x3fe)]=_0x59b646,this[_0x330552(0x2f4)]=_0x330552(0x1fe);}};let Ke=function(_0x2a8c59){const _0x1f130c=_0x282c57;return _0x2a8c59['UI']='ui',_0x2a8c59['Facade']=_0x1f130c(0x408),_0x2a8c59[_0x1f130c(0x195)]=_0x1f130c(0x1ba),_0x2a8c59['Undo']='undo',_0x2a8c59[_0x1f130c(0x202)]='redo',_0x2a8c59['Import']='import',_0x2a8c59;}({});function F(_0xf7c5a2,_0x1ee831){const _0x13d2b3=_0x282c57;if(!_0x1ee831)return!0x1;let _0x155c34=_0xf7c5a2['fields'][_0x1ee831];if(!_0x155c34||_0x155c34[_0x13d2b3(0x4aa)]!==_0x239099[_0x13d2b3(0x2c2)])return!0x1;let _0x39caa7=N(_0x155c34);return _0x39caa7?_0x39caa7[_0x13d2b3(0x3e5)]===_0xf7c5a2['id']&&_0x39caa7[_0x13d2b3(0x3ea)]===!0x1:!0x1;}function qe(_0x19f3bf){const _0x29d571=_0x282c57;return[..._0x19f3bf['fieldOrder'],...Object[_0x29d571(0x334)](_0x19f3bf[_0x29d571(0x453)])['filter'](_0x4a4537=>!_0x19f3bf[_0x29d571(0x534)]['includes'](_0x4a4537))[_0x29d571(0x1df)]()][_0x29d571(0x525)](_0xc818d3=>{const _0x3c7fb8=_0x29d571;var _0x5319a9;return F(_0x19f3bf,_0xc818d3)?((_0x5319a9=N(_0x19f3bf[_0x3c7fb8(0x453)][_0xc818d3]))==null?void 0x0:_0x5319a9[_0x3c7fb8(0x1f7)])===_0x33634f['Parent']:!0x1;})??null;}function Je(_0x49a8bb){const _0x41ab81=_0x282c57;let _0x38845c=qe(_0x49a8bb);if(_0x38845c)return _0x38845c;let _0xc9f96c=We,_0x526c70=0x2;for(;_0x49a8bb[_0x41ab81(0x453)][_0xc9f96c];)_0xc9f96c=We+'_'+_0x526c70++;return _0xc9f96c;}function Ye(_0x4af455,_0x5acfa1=Je(_0x4af455),_0x672fa9='Parent\x20Items'){const _0x339c2c=_0x282c57;return{'id':_0x5acfa1,'name':_0x672fa9,'type':_0x239099[_0x339c2c(0x2c2)],'config':{'targetTableId':_0x4af455['id'],'multiple':!0x1,'displayFieldId':_0x4af455[_0x339c2c(0x45c)],'pickerFieldIds':[_0x4af455['primaryFieldId']],'relationRole':_0x33634f['Parent']}};}function Xe(_0x43bc84){let _0x401ebf=qe(_0x43bc84);return _0x401ebf?[_0x401ebf]:[];}function Ze(_0x561e8e,_0x2f00ea){const _0x143bbb=_0x282c57;let _0x43a1af=[...Xe(_0x561e8e)][_0x143bbb(0x4cc)](_0x33061b=>_0x2f00ea['some'](_0x598f3a=>Object['prototype'][_0x143bbb(0x445)][_0x143bbb(0x2a4)](_0x598f3a[_0x143bbb(0x54e)],_0x33061b)));if(!_0x43a1af[_0x143bbb(0x4ab)])return[];let _0x267d09={..._0x561e8e[_0x143bbb(0x1e1)]};_0x2f00ea[_0x143bbb(0x34b)](_0xa0b5e9=>{const _0x2fc806=_0x143bbb;let _0x5576c6=_0x267d09[_0xa0b5e9[_0x2fc806(0x40d)]];_0x5576c6&&(_0x267d09[_0xa0b5e9[_0x2fc806(0x40d)]]={..._0x5576c6,'values':{..._0x5576c6[_0x2fc806(0x54e)],..._0xa0b5e9['values']}});});let _0x11d90c={..._0x561e8e,'records':_0x267d09},_0x46f8d5=[];return _0x43a1af['forEach'](_0x1518c9=>{const _0x37709a=_0x143bbb;let _0x56f4b9=tt(_0x561e8e,_0x1518c9),_0x4bff0b=tt(_0x11d90c,_0x1518c9);for(let [_0x22bebc,_0x17cc2c]of _0x4bff0b[_0x37709a(0x2c1)]){let _0x2ad306=_0x2f00ea[_0x37709a(0x436)](_0x2d521a=>_0x2d521a[_0x37709a(0x40d)]===_0x22bebc&&Object[_0x37709a(0x35c)]['hasOwnProperty'][_0x37709a(0x2a4)](_0x2d521a[_0x37709a(0x54e)],_0x1518c9));if(_0x56f4b9[_0x37709a(0x2c1)][_0x37709a(0x268)](_0x22bebc)!==_0x17cc2c||_0x2ad306)throw new P($e(_0x17cc2c));}_0x2f00ea[_0x37709a(0x34b)](_0x29a536=>{const _0x409da6=_0x37709a;if(!Object[_0x409da6(0x35c)][_0x409da6(0x445)][_0x409da6(0x2a4)](_0x29a536[_0x409da6(0x54e)],_0x1518c9))return;let _0x5d5260=_0x56f4b9[_0x409da6(0x39a)][_0x409da6(0x268)](_0x29a536[_0x409da6(0x40d)])??null,_0xf11034=_0x4bff0b[_0x409da6(0x39a)][_0x409da6(0x268)](_0x29a536[_0x409da6(0x40d)])??null;_0x5d5260!==_0xf11034&&_0x46f8d5[_0x409da6(0x381)]({'tableId':_0x561e8e['id'],'fieldId':_0x1518c9,'recordId':_0x29a536[_0x409da6(0x40d)],'oldParentRecordId':_0x5d5260,'parentRecordId':_0xf11034});});}),_0x46f8d5;}function Qe(_0x2a7859,_0xcdc91f){const _0x32705d=_0x282c57;let _0x3b0b49=_0xcdc91f['map'](_0x2de8ff=>_0x2de8ff['id']);if(new Set(_0x3b0b49)[_0x32705d(0x286)]!==_0x3b0b49[_0x32705d(0x4ab)]||_0x3b0b49[_0x32705d(0x436)](_0x297aa5=>_0x2a7859[_0x32705d(0x1e1)][_0x297aa5]))return[];let _0x194ffa=Xe(_0x2a7859),_0x345d3f=_0x194ffa['length']?null:Je(_0x2a7859),_0x16d2a4=[..._0x194ffa,..._0x345d3f&&_0xcdc91f[_0x32705d(0x436)](_0x4bb0dd=>Object[_0x32705d(0x35c)][_0x32705d(0x445)][_0x32705d(0x2a4)](_0x4bb0dd[_0x32705d(0x54e)],_0x345d3f))?[_0x345d3f]:[]][_0x32705d(0x4cc)](_0x1331e7=>_0xcdc91f[_0x32705d(0x436)](_0x418523=>Object['prototype']['hasOwnProperty'][_0x32705d(0x2a4)](_0x418523[_0x32705d(0x54e)],_0x1331e7)));if(!_0x16d2a4[_0x32705d(0x4ab)])return[];let _0xca2e61={..._0x2a7859,'records':{..._0x2a7859[_0x32705d(0x1e1)],...Object['fromEntries'](_0xcdc91f['map'](_0x41b962=>[_0x41b962['id'],_0x41b962]))},'recordOrder':[..._0x2a7859['recordOrder']??[],..._0xcdc91f['map'](_0x57570c=>_0x57570c['id'])]},_0x1015a2=[];return _0x16d2a4['forEach'](_0x4f670e=>{let _0x549ea8=tt(_0xca2e61,_0x4f670e);_0xcdc91f['forEach'](_0x192c90=>{const _0xde90e0=_0x3047;let _0x92dde9=_0x549ea8[_0xde90e0(0x2c1)][_0xde90e0(0x268)](_0x192c90['id']);if(_0x92dde9)throw new P($e(_0x92dde9));let _0x34f6af=_0x549ea8[_0xde90e0(0x39a)]['get'](_0x192c90['id'])??null;_0x34f6af&&_0x1015a2[_0xde90e0(0x381)]({'tableId':_0x2a7859['id'],'fieldId':_0x4f670e,'recordId':_0x192c90['id'],'oldParentRecordId':null,'parentRecordId':_0x34f6af});});}),_0x1015a2;}function $e(_0x3e9b21){const _0x55c97a=_0x282c57;switch(_0x3e9b21){case _0x1e9d86[_0x55c97a(0x266)]:return'missingRecord';case _0x1e9d86[_0x55c97a(0x341)]:return _0x55c97a(0x2e8);case _0x1e9d86[_0x55c97a(0x217)]:return _0x55c97a(0x45f);case _0x1e9d86[_0x55c97a(0x27f)]:return _0x55c97a(0x1c4);}}function et(_0x2df6b1,_0x5a813d){const _0x2f8a73=_0x282c57;let _0x33d15c=new Set(_0x5a813d),_0xe0c104=Xe(_0x2df6b1);return Object['values'](_0x2df6b1[_0x2f8a73(0x1e1)])[_0x2f8a73(0x26a)](_0x2e19b3=>_0x33d15c['has'](_0x2e19b3['id'])?[]:Array[_0x2f8a73(0x2f3)](_0xe0c104)['flatMap'](_0x14e989=>{const _0x7c062d=_0x2f8a73;let _0x5e9b8c=Le(_0x2e19b3[_0x7c062d(0x54e)][_0x14e989])[0x0]??null;return _0x5e9b8c&&_0x33d15c[_0x7c062d(0x25c)](_0x5e9b8c)?[{'tableId':_0x2df6b1['id'],'fieldId':_0x14e989,'recordId':_0x2e19b3['id'],'oldParentRecordId':_0x5e9b8c,'parentRecordId':null}]:[];}));}function tt(_0x5d5f18,_0x488f10,_0x1b7103=_0x5d5f18['recordOrder']??Object['keys'](_0x5d5f18[_0x282c57(0x1e1)])){const _0x3e1170=_0x282c57;if((_0x5d5f18[_0x3e1170(0x453)][_0x488f10]||_0x488f10!==Je(_0x5d5f18))&&!F(_0x5d5f18,_0x488f10))throw Error(_0x3e1170(0x19e)+_0x488f10+_0x3e1170(0x239));let _0x5b4b88=at(_0x5d5f18,_0x1b7103),_0x397c30=new Map(),_0x3e800e=new Map();for(let _0x413508 of _0x5b4b88){var _0x4cf79f;let _0x53f0a8=Le((_0x4cf79f=_0x5d5f18[_0x3e1170(0x1e1)][_0x413508])==null?void 0x0:_0x4cf79f[_0x3e1170(0x54e)][_0x488f10])[0x0]??null;_0x53f0a8?_0x53f0a8===_0x413508?(_0x397c30['set'](_0x413508,null),_0x3e800e[_0x3e1170(0x246)](_0x413508,_0x1e9d86[_0x3e1170(0x341)])):_0x5d5f18[_0x3e1170(0x1e1)][_0x53f0a8]?_0x397c30[_0x3e1170(0x246)](_0x413508,_0x53f0a8):(_0x397c30[_0x3e1170(0x246)](_0x413508,null),_0x3e800e[_0x3e1170(0x246)](_0x413508,_0x1e9d86['MissingParent'])):_0x397c30[_0x3e1170(0x246)](_0x413508,null);}ot(_0x397c30,_0x3e800e,_0x5b4b88),st(_0x397c30,_0x3e800e,_0x5b4b88);let _0x552d6a=new Map(_0x5b4b88[_0x3e1170(0x309)]((_0x2d255e,_0x1fa40b)=>[_0x2d255e,_0x1fa40b])),_0x5b8c72=new Map();for(let _0x4ab340 of _0x5b4b88){let _0x17f2c1=_0x397c30['get'](_0x4ab340)??null,_0x3bb582=_0x5b8c72[_0x3e1170(0x268)](_0x17f2c1)??[];_0x3bb582[_0x3e1170(0x381)](_0x4ab340),_0x5b8c72['set'](_0x17f2c1,_0x3bb582);}_0x5b8c72['forEach'](_0x135990=>_0x135990[_0x3e1170(0x1df)]((_0x192837,_0xef6987)=>(_0x552d6a[_0x3e1170(0x268)](_0x192837)??0x0)-(_0x552d6a['get'](_0xef6987)??0x0)));let _0x16091c=_0x5b8c72[_0x3e1170(0x268)](null)??[],_0x3f9987=new Map(),_0x554387=new Map(),_0x1a4dd6=[],_0x2dbb12=(_0x36d15d,_0x15d0e9)=>{const _0x4d0e4f=_0x3e1170;_0x3f9987[_0x4d0e4f(0x246)](_0x36d15d,_0x15d0e9),_0x1a4dd6[_0x4d0e4f(0x381)](_0x36d15d);let _0x14ec3f=0x0;for(let _0x2b1e81 of _0x5b8c72[_0x4d0e4f(0x268)](_0x36d15d)??[])_0x14ec3f=Math[_0x4d0e4f(0x468)](_0x14ec3f,0x1+_0x2dbb12(_0x2b1e81,_0x15d0e9+0x1));return _0x554387[_0x4d0e4f(0x246)](_0x36d15d,_0x14ec3f),_0x14ec3f;};return _0x16091c['forEach'](_0x19317d=>_0x2dbb12(_0x19317d,0x0)),{'fieldId':_0x488f10,'parentByRecordId':_0x397c30,'childrenByParentId':_0x5b8c72,'depthByRecordId':_0x3f9987,'subtreeHeightByRecordId':_0x554387,'invalidReasonByRecordId':_0x3e800e,'rootRecordIds':_0x16091c,'orderedRecordIds':_0x1a4dd6};}function nt(_0x3b9d5d,_0x5c6869,_0x292900=new Set(_0x5c6869[_0x282c57(0x309)](_0x435f6c=>_0x435f6c[_0x282c57(0x40d)]))){const _0x4fb072=_0x282c57;let _0x4e5afd=new Set(_0x292900);for(let _0x12653b of _0x292900){let _0xe36e76=_0x3b9d5d['parentByRecordId'][_0x4fb072(0x268)](_0x12653b)??null;for(;_0xe36e76;)_0x4e5afd[_0x4fb072(0x551)](_0xe36e76),_0xe36e76=_0x3b9d5d[_0x4fb072(0x39a)][_0x4fb072(0x268)](_0xe36e76)??null;}let _0x9a6736=new Map(_0x5c6869[_0x4fb072(0x309)](_0x2a4143=>[_0x2a4143[_0x4fb072(0x40d)],_0x2a4143])),_0x48a7a5=_0x3b9d5d[_0x4fb072(0x2db)][_0x4fb072(0x4cc)](_0x3d4fcc=>_0x4e5afd[_0x4fb072(0x25c)](_0x3d4fcc)),_0x1929c1=_0x48a7a5[_0x4fb072(0x26a)](_0x33bd93=>{const _0x3ccb62=_0x4fb072;let _0x29e291=_0x9a6736[_0x3ccb62(0x268)](_0x33bd93);return _0x29e291?[_0x29e291]:[];}),_0x5ce04a={};for(let _0x9fab78=0x0;_0x9fab78<_0x48a7a5[_0x4fb072(0x4ab)];_0x9fab78++){let _0x12cafe=_0x48a7a5[_0x9fab78];_0x5ce04a[_0x12cafe]={'recordId':_0x12cafe,'parentRecordId':_0x3b9d5d[_0x4fb072(0x39a)][_0x4fb072(0x268)](_0x12cafe)??null,'depth':_0x3b9d5d[_0x4fb072(0x3ec)][_0x4fb072(0x268)](_0x12cafe)??0x0,'directChildCount':(_0x3b9d5d[_0x4fb072(0x28a)][_0x4fb072(0x268)](_0x12cafe)??[])[_0x4fb072(0x4ab)],'subtreeHeight':_0x3b9d5d[_0x4fb072(0x488)][_0x4fb072(0x268)](_0x12cafe)??0x0,'subtreeEndIndex':_0x9fab78,'invalidReason':_0x3b9d5d['invalidReasonByRecordId'][_0x4fb072(0x268)](_0x12cafe)};}let _0x2dc6de=[];for(let _0x140280=0x0;_0x140280<_0x48a7a5[_0x4fb072(0x4ab)];_0x140280++){let _0x19d57f=_0x48a7a5[_0x140280],_0x35b3f4=_0x5ce04a[_0x19d57f][_0x4fb072(0x3dd)];for(;_0x2dc6de[_0x4fb072(0x4ab)]&&_0x2dc6de[_0x2dc6de[_0x4fb072(0x4ab)]-0x1][_0x4fb072(0x3dd)]>=_0x35b3f4;){let _0x12ad5c=_0x2dc6de[_0x4fb072(0x191)]();_0x5ce04a[_0x12ad5c[_0x4fb072(0x40d)]]['subtreeEndIndex']=_0x140280-0x1;}_0x2dc6de[_0x4fb072(0x381)]({'recordId':_0x19d57f,'depth':_0x35b3f4});}return _0x2dc6de[_0x4fb072(0x34b)](({recordId:_0x45fcc5})=>{const _0x1ed5e0=_0x4fb072;_0x5ce04a[_0x45fcc5][_0x1ed5e0(0x3da)]=_0x48a7a5['length']-0x1;}),{'rows':_0x1929c1,'hierarchy':{'fieldId':_0x3b9d5d['fieldId'],'rootRecordIds':_0x3b9d5d[_0x4fb072(0x1b0)][_0x4fb072(0x4cc)](_0x427f29=>_0x4e5afd[_0x4fb072(0x25c)](_0x427f29)),'orderedRecordIds':_0x48a7a5,'nodes':_0x5ce04a}};}function rt(_0x526afa,_0x4cd94b){const _0x1af679=_0x282c57;if(!_0x526afa['hierarchy']||!(_0x4cd94b!=null&&_0x4cd94b[_0x1af679(0x286)]))return _0x526afa['rows'];let _0x449d52=[],_0x44acc9=0x0;for(;_0x44acc9<_0x526afa[_0x1af679(0x535)]['length'];){let _0xc543f0=_0x526afa[_0x1af679(0x535)][_0x44acc9];_0x449d52[_0x1af679(0x381)](_0xc543f0);let _0x5b420d=_0x526afa[_0x1af679(0x43d)][_0x1af679(0x283)][_0xc543f0[_0x1af679(0x40d)]];_0x44acc9=_0x4cd94b['has'](_0xc543f0[_0x1af679(0x40d)])&&_0x5b420d?_0x5b420d['subtreeEndIndex']+0x1:_0x44acc9+0x1;}return _0x449d52;}function it(_0x54eb70,_0x4c2c7f,_0xeba009){const _0x42857b=_0x282c57;if(!_0xeba009)return{'valid':!0x0};if(_0x4c2c7f===_0xeba009)return{'valid':!0x1,'reason':_0x1e9d86['SelfParent']};let _0x5c1f8e=_0xeba009;for(;_0x5c1f8e;){if(_0x5c1f8e===_0x4c2c7f)return{'valid':!0x1,'reason':_0x1e9d86['Cycle']};_0x5c1f8e=_0x54eb70[_0x42857b(0x39a)][_0x42857b(0x268)](_0x5c1f8e)??null;}return(_0x54eb70[_0x42857b(0x3ec)][_0x42857b(0x268)](_0xeba009)??0x0)+0x1+(_0x54eb70['subtreeHeightByRecordId'][_0x42857b(0x268)](_0x4c2c7f)??0x0)>=0x5?{'valid':!0x1,'reason':_0x1e9d86[_0x42857b(0x27f)]}:{'valid':!0x0};}function at(_0x7dd33c,_0x1b003c){const _0x43d4b8=_0x282c57;let _0x114f57=new Set(),_0x9cef3=[];for(let _0x33ef93 of _0x1b003c)_0x7dd33c[_0x43d4b8(0x1e1)][_0x33ef93]&&!_0x114f57[_0x43d4b8(0x25c)](_0x33ef93)&&(_0x114f57['add'](_0x33ef93),_0x9cef3['push'](_0x33ef93));return Object[_0x43d4b8(0x334)](_0x7dd33c['records'])[_0x43d4b8(0x1df)]()[_0x43d4b8(0x34b)](_0x330cf4=>{const _0x9d204f=_0x43d4b8;_0x114f57['has'](_0x330cf4)||_0x9cef3[_0x9d204f(0x381)](_0x330cf4);}),_0x9cef3;}function ot(_0x1fef60,_0x4320e7,_0x4d3959){const _0x6225a6=_0x282c57;let _0x243143=new Set();for(let _0x1e1caf of _0x4d3959){if(_0x243143['has'](_0x1e1caf))continue;let _0x52a471=[],_0x4a65a3=new Map(),_0x1723ce=_0x1e1caf;for(;_0x1723ce&&!_0x243143[_0x6225a6(0x25c)](_0x1723ce);){let _0x15608e=_0x4a65a3[_0x6225a6(0x268)](_0x1723ce);if(_0x15608e!=null){let _0x5c6d5e=[..._0x52a471[_0x6225a6(0x287)](_0x15608e)][_0x6225a6(0x1df)]()[_0x6225a6(0x191)]();_0x1fef60[_0x6225a6(0x246)](_0x5c6d5e,null),_0x4320e7[_0x6225a6(0x246)](_0x5c6d5e,_0x1e9d86[_0x6225a6(0x217)]);break;}_0x4a65a3[_0x6225a6(0x246)](_0x1723ce,_0x52a471[_0x6225a6(0x4ab)]),_0x52a471[_0x6225a6(0x381)](_0x1723ce),_0x1723ce=_0x1fef60[_0x6225a6(0x268)](_0x1723ce)??null;}_0x52a471[_0x6225a6(0x34b)](_0x3fe4e3=>_0x243143[_0x6225a6(0x551)](_0x3fe4e3));}}function st(_0x424ac5,_0x4b4f25,_0x4dc8ff){const _0x1a20de=_0x282c57;let _0xc33f9f=new Map(),_0x9de15e=_0x51f930=>{const _0x2bd262=_0x3047;let _0x5a2a7f=_0xc33f9f[_0x2bd262(0x268)](_0x51f930);if(_0x5a2a7f!=null)return _0x5a2a7f;let _0x50bd3a=_0x424ac5[_0x2bd262(0x268)](_0x51f930)??null;if(!_0x50bd3a)return _0xc33f9f['set'](_0x51f930,0x0),0x0;let _0x2bab02=_0x9de15e(_0x50bd3a)+0x1;return _0x2bab02>=0x5?(_0x424ac5[_0x2bd262(0x246)](_0x51f930,null),_0x4b4f25[_0x2bd262(0x246)](_0x51f930,_0x1e9d86[_0x2bd262(0x27f)]),_0xc33f9f['set'](_0x51f930,0x0),0x0):(_0xc33f9f[_0x2bd262(0x246)](_0x51f930,_0x2bab02),_0x2bab02);};_0x4dc8ff[_0x1a20de(0x34b)](_0x9de15e);}let ct=0x0;function lt(){const _0xd7a5d5=_0x282c57;if(globalThis[_0xd7a5d5(0x2c8)]===!0x0)return!0x0;try{let _0x555732=typeof location>'u'?'':location[_0xd7a5d5(0x1ca)],_0x9981ac=new URLSearchParams(_0x555732);if(_0x9981ac['get'](_0xd7a5d5(0x41f))==='1'||_0x9981ac[_0xd7a5d5(0x268)]('basePerf')==='true'||_0x9981ac[_0xd7a5d5(0x268)](_0xd7a5d5(0x2d4))==='1')return!0x0;}catch{}try{let _0x239a09=typeof localStorage>'u'?null:localStorage[_0xd7a5d5(0x49a)](_0xd7a5d5(0x3f2));return _0x239a09==='1'||_0x239a09===_0xd7a5d5(0x2ee);}catch{return!0x1;}}function I(_0x19842b,_0x27f69b,_0x1249ad){const _0x167f63=_0x282c57;if(!lt())return _0x27f69b();let _0x20d19e=dt(),_0x3a2028=_0x167f63(0x1d6)+ct++;ft(_0x3a2028+_0x167f63(0x40f));try{return _0x27f69b();}finally{let _0x35b0d4=dt()-_0x20d19e;ft(_0x3a2028+_0x167f63(0x1be)),pt(_0x19842b,_0x3a2028+_0x167f63(0x40f),_0x3a2028+_0x167f63(0x1be)),ut(_0x19842b,_0x35b0d4,_0x1249ad);}}function ut(_0x52a63d,_0x22567e,_0x3f6393){const _0x5b484e=_0x282c57;if(!lt())return;let _0x390bf1=Math[_0x5b484e(0x1b1)](_0x22567e*0x64)/0x64,_0x2a4b09=_0x3f6393&&Object[_0x5b484e(0x334)](_0x3f6393)[_0x5b484e(0x4ab)]?'\x20'+JSON[_0x5b484e(0x2fb)](_0x3f6393):'';console[_0x5b484e(0x2ec)](_0x5b484e(0x249)+_0x52a63d+':\x20'+_0x390bf1+'ms'+_0x2a4b09);}function dt(){const _0x8394fd=_0x282c57;return typeof performance<'u'&&typeof performance[_0x8394fd(0x42b)]==_0x8394fd(0x3b9)?performance[_0x8394fd(0x42b)]():Date[_0x8394fd(0x42b)]();}function ft(_0x46349a){const _0x15c940=_0x282c57;try{if(typeof performance<'u'){var _0x179e9d,_0x2f25e3;(_0x179e9d=(_0x2f25e3=performance)[_0x15c940(0x52b)])==null||_0x179e9d['call'](_0x2f25e3,_0x46349a);}}catch{}}function pt(_0xa3564f,_0xa0c132,_0x1d0c6e){const _0x83cee4=_0x282c57;try{if(typeof performance<'u'){var _0x16a55b,_0x51ae0a;(_0x16a55b=(_0x51ae0a=performance)[_0x83cee4(0x3f0)])==null||_0x16a55b['call'](_0x51ae0a,_0x83cee4(0x249)+_0xa3564f,_0xa0c132,_0x1d0c6e);}}catch{}}function L(_0x3c66e0){const _0x288182=_0x282c57;var _0x2f3468;return lt()?I(_0x288182(0x33c),()=>mt(_0x3c66e0),{'tableId':_0x3c66e0['id'],'records':Object[_0x288182(0x334)](_0x3c66e0[_0x288182(0x1e1)]??{})[_0x288182(0x4ab)],'fields':_0x3c66e0['fieldOrder'][_0x288182(0x4ab)],'hasRecordOrder':!!((_0x2f3468=_0x3c66e0[_0x288182(0x413)])!=null&&_0x2f3468['length'])}):mt(_0x3c66e0);}function mt(_0x39e33b){const _0x4532cc=_0x282c57;var _0x5268f7;let _0x4e9e27=_0x39e33b[_0x4532cc(0x1e1)]??{},_0x5b556e=_0x39e33b[_0x4532cc(0x453)]??{},_0x4a781b=((_0x5268f7=_0x39e33b[_0x4532cc(0x413)])==null?void 0x0:_0x5268f7[_0x4532cc(0x4cc)](_0x584eb3=>_0x4e9e27[_0x584eb3]))??[],_0x2e5bf9=new Set(_0x4a781b),_0x5a0a49=[];for(let _0x51a90f of Object[_0x4532cc(0x54e)](_0x4e9e27))_0x2e5bf9['has'](_0x51a90f['id'])||_0x5a0a49['push'](_0x51a90f);let _0x3fb2ef=_0x5a0a49[_0x4532cc(0x4ab)]?[..._0x4a781b,...Rt(_0x5a0a49)]:_0x4a781b,_0x21b787=_0x39e33b[_0x4532cc(0x534)]['filter'](_0x131f12=>_0x5b556e[_0x131f12]),_0x18d78a={..._0x39e33b['rowId']??{}},_0x255992={..._0x39e33b['colId']??{}},_0x5c478d={..._0x39e33b[_0x4532cc(0x343)]??{}};_0x39e33b[_0x4532cc(0x413)]=_0x3fb2ef,_0x39e33b[_0x4532cc(0x277)]={},_0x39e33b[_0x4532cc(0x21b)]={},_0x39e33b[_0x4532cc(0x28f)]={},_0x39e33b[_0x4532cc(0x46d)]={},_0x39e33b[_0x4532cc(0x343)]={},_0x39e33b[_0x4532cc(0x27b)]={..._0x39e33b[_0x4532cc(0x27b)]??{}},_0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x556)]={..._0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x556)]??{}},_0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x3ba)]={..._0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x3ba)]??{}};let _0x2f6751=_0x39e33b[_0x4532cc(0x277)],_0x57fc93=_0x39e33b[_0x4532cc(0x21b)],_0x54687f=_0x39e33b[_0x4532cc(0x28f)],_0x66412e=_0x39e33b[_0x4532cc(0x46d)],_0x4e4238=_0x39e33b[_0x4532cc(0x343)];return _0x3fb2ef[_0x4532cc(0x34b)]((_0xe2fe15,_0x194c3a)=>{_0x2f6751[_0xe2fe15]=_0x194c3a,_0x57fc93[_0x194c3a]=_0xe2fe15;}),_0x21b787['forEach']((_0x23c148,_0x28b709)=>{_0x54687f[_0x23c148]=_0x28b709,_0x66412e[_0x28b709]=_0x23c148;}),Object[_0x4532cc(0x41d)](_0x5c478d)[_0x4532cc(0x34b)](([_0x353fe6,_0x2466b0])=>{const _0x2c95e4=_0x4532cc;let _0x5b9732=Number(_0x353fe6),_0x1f7c50=_0x18d78a[_0x5b9732]??_0x3fb2ef[_0x5b9732],_0x533150=_0x1f7c50?_0x2f6751[_0x1f7c50]:void 0x0;_0x533150!=null&&(_0x4e4238[_0x533150]={..._0x4e4238[_0x533150]??{}},Object[_0x2c95e4(0x41d)](_0x2466b0??{})[_0x2c95e4(0x34b)](([_0x116978,_0x149259])=>{let _0x2fec6e=Number(_0x116978),_0x40ec1f=_0x255992[_0x2fec6e]??_0x21b787[_0x2fec6e],_0x40f8f5=_0x40ec1f?_0x54687f[_0x40ec1f]:void 0x0;_0x40f8f5!=null&&(_0x4e4238[_0x533150][_0x40f8f5]=St(_0x149259));}));}),Object[_0x4532cc(0x54e)](_0x4e9e27)[_0x4532cc(0x34b)](_0x48add3=>{const _0x4d2939=_0x4532cc;let _0x5c1ead=_0x2f6751[_0x48add3['id']];_0x5c1ead!=null&&(_0x48add3[_0x4d2939(0x54e)]={..._0x48add3[_0x4d2939(0x54e)]??{},[_0x1a2ecc]:_0x48add3['id']},_0x4e4238[_0x5c1ead]={..._0x4e4238[_0x5c1ead]??{},0x0:{'v':_0x48add3['id'],'t':_0x110ba4[_0x4d2939(0x23b)]}},Object['entries'](_0x48add3['values']??{})[_0x4d2939(0x34b)](([_0x4a6878,_0x2a9da])=>{const _0x505049=_0x4d2939;let _0x56ffce=_0x5b556e[_0x4a6878];(_0x56ffce==null?void 0x0:_0x56ffce[_0x505049(0x4aa)])===_0x239099[_0x505049(0x392)]&&Dt(_0x39e33b,_0x48add3['id'],_0x4a6878,_0x2a9da);let _0x6fea53=_0x54687f[_0x4a6878];if(_0x6fea53==null)return;let _0x16e2b6=_0x4e4238[_0x5c1ead][_0x6fea53];if(_0x16e2b6!=null){jt(_0x16e2b6,_0x56ffce,_0x2a9da)&&(_0x4e4238[_0x5c1ead][_0x6fea53]=xt(_0x2a9da,_0x56ffce));return;}_0x4e4238[_0x5c1ead][_0x6fea53]=xt(_0x2a9da,_0x56ffce);}));}),_0x39e33b;}function ht(_0xbf6710,_0x532da9){const _0x3110a7=_0x282c57;return _0xbf6710[_0x3110a7(0x1e1)]=Object[_0x3110a7(0x1af)](Object[_0x3110a7(0x41d)](_0xbf6710[_0x3110a7(0x1e1)])[_0x3110a7(0x309)](([_0x3ba971,_0xb6f3b8])=>[_0x3ba971,{..._0xb6f3b8}])),L(_0xbf6710),Object[_0x3110a7(0x41d)](_0xbf6710['rowId']??{})['forEach'](([_0x26a668,_0x30800a])=>{const _0x5f5985=_0x3110a7;var _0x4dba15;let _0x2031d5=Number(_0x26a668),_0x53597f=_0xbf6710[_0x5f5985(0x1e1)][_0x30800a];_0x53597f&&(_0x53597f[_0x5f5985(0x54e)]={..._0x53597f[_0x5f5985(0x54e)]??{}},Object['entries'](((_0x4dba15=_0xbf6710[_0x5f5985(0x343)])==null?void 0x0:_0x4dba15[_0x2031d5])??{})[_0x5f5985(0x34b)](([_0x5bd9cd,_0x3b04df])=>{const _0x19142c=_0x5f5985;var _0x2a3b8c;let _0x3e07f8=(_0x2a3b8c=_0xbf6710[_0x19142c(0x46d)])==null?void 0x0:_0x2a3b8c[Number(_0x5bd9cd)];_0x3e07f8&&_0x532da9&&!_0x532da9(_0x30800a,_0x3e07f8)||(_0x3e07f8===_0x1a2ecc?_0x53597f[_0x19142c(0x54e)][_0x1a2ecc]=_0x53597f['id']:_0x3e07f8&&(_0x53597f[_0x19142c(0x54e)][_0x3e07f8]=Ct(_0x3b04df,_0xbf6710[_0x19142c(0x453)][_0x3e07f8],_0xbf6710,_0x30800a)));}));}),_0xbf6710;}function gt(_0x10feff,_0x404314){const _0x1eace7=_0x282c57;for(let {row:_0x54166c,col:_0x2ecac6}of _0x404314){var _0x26bec0,_0x2d04cc,_0x2a571f;let _0x25ac0d=(_0x26bec0=_0x10feff['rowId'])==null?void 0x0:_0x26bec0[_0x54166c],_0x145e28=(_0x2d04cc=_0x10feff[_0x1eace7(0x46d)])==null?void 0x0:_0x2d04cc[_0x2ecac6],_0x54d2ba=_0x25ac0d?_0x10feff[_0x1eace7(0x1e1)][_0x25ac0d]:void 0x0;if(!_0x54d2ba||!_0x145e28)continue;if(_0x145e28===_0x1a2ecc){_0x54d2ba['values'][_0x1a2ecc]=_0x54d2ba['id'];continue;}let _0x6176d5=(_0x2a571f=_0x10feff[_0x1eace7(0x343)])==null||(_0x2a571f=_0x2a571f[_0x54166c])==null?void 0x0:_0x2a571f[_0x2ecac6];(_0x6176d5!=null||Object[_0x1eace7(0x35c)][_0x1eace7(0x445)][_0x1eace7(0x2a4)](_0x54d2ba[_0x1eace7(0x54e)]??{},_0x145e28))&&(_0x54d2ba[_0x1eace7(0x54e)]={..._0x54d2ba[_0x1eace7(0x54e)]??{}},_0x54d2ba[_0x1eace7(0x54e)][_0x145e28]=Ct(_0x6176d5,_0x10feff[_0x1eace7(0x453)][_0x145e28],_0x10feff,_0x25ac0d));}return _0x10feff;}function _t(_0x142a04,_0x49f9f7,_0x4667f6){const _0x5447e2=_0x282c57;var _0x4eec7e,_0x38f043,_0x28e4a4,_0x4e0802,_0x94e4dd,_0x5d3553;let _0x2e83d4=(_0x4eec7e=_0x142a04[_0x5447e2(0x277)])==null?void 0x0:_0x4eec7e[_0x49f9f7],_0x25570c=(_0x38f043=_0x142a04[_0x5447e2(0x28f)])==null?void 0x0:_0x38f043[_0x4667f6];if(_0x2e83d4!=null&&_0x25570c!=null&&((_0x28e4a4=_0x142a04[_0x5447e2(0x21b)])==null?void 0x0:_0x28e4a4[_0x2e83d4])===_0x49f9f7&&((_0x4e0802=_0x142a04['colId'])==null?void 0x0:_0x4e0802[_0x25570c])===_0x4667f6)return{'row':_0x2e83d4,'col':_0x25570c};let _0x3d8c29=L(_0x142a04),_0x45c7a8=(_0x94e4dd=_0x3d8c29[_0x5447e2(0x277)])==null?void 0x0:_0x94e4dd[_0x49f9f7],_0x2ebbbf=(_0x5d3553=_0x3d8c29[_0x5447e2(0x28f)])==null?void 0x0:_0x5d3553[_0x4667f6];return _0x45c7a8==null||_0x2ebbbf==null?null:{'row':_0x45c7a8,'col':_0x2ebbbf};}function vt(_0x117c67,_0x2b7937,_0x298db5){const _0x161265=_0x282c57;var _0x5e713c;let _0x15a2d2=_t(_0x117c67,_0x2b7937,_0x298db5);if(_0x15a2d2)return(_0x5e713c=_0x117c67['cellData'])==null||(_0x5e713c=_0x5e713c[_0x15a2d2[_0x161265(0x2f0)]])==null?void 0x0:_0x5e713c[_0x15a2d2[_0x161265(0x340)]];}function yt(_0xb80ff9,_0x3907d5,_0x51069e){const _0x42cca3=_0x282c57;var _0x386d2f;let _0x585fae=vt(_0xb80ff9,_0x3907d5,_0x51069e),_0x2fe732=_0xb80ff9[_0x42cca3(0x453)][_0x51069e];if((_0x2fe732==null?void 0x0:_0x2fe732[_0x42cca3(0x4aa)])===_0x239099['Attachment']){var _0x278f54;return Ot(_0xb80ff9,_0x3907d5,_0x51069e)??kt((_0x278f54=_0xb80ff9['records'][_0x3907d5])==null||(_0x278f54=_0x278f54[_0x42cca3(0x54e)])==null?void 0x0:_0x278f54[_0x51069e]);}if(Mt(_0x2fe732)||Nt(_0x2fe732)||(_0x2fe732==null?void 0x0:_0x2fe732[_0x42cca3(0x4aa)])===_0x239099[_0x42cca3(0x1d7)]){var _0x4b4a8d;let _0x3e3257=(_0x4b4a8d=_0xb80ff9[_0x42cca3(0x1e1)][_0x3907d5])==null||(_0x4b4a8d=_0x4b4a8d[_0x42cca3(0x54e)])==null?void 0x0:_0x4b4a8d[_0x51069e];return _0x3e3257!=null&&_0x3e3257!==''?At(_0x3e3257,_0x2fe732):Ct(_0x585fae,_0x2fe732,_0xb80ff9,_0x3907d5);}return _0x585fae&&Object[_0x42cca3(0x35c)][_0x42cca3(0x445)][_0x42cca3(0x2a4)](_0x585fae,'v')?_0x585fae['v']??null:((_0x386d2f=_0xb80ff9[_0x42cca3(0x1e1)][_0x3907d5])==null||(_0x386d2f=_0x386d2f['values'])==null?void 0x0:_0x386d2f[_0x51069e])??null;}function bt(_0x5d9891,_0x56d872,_0x9386ab){const _0x2934d0=_0x282c57;var _0x405bf1;let _0x532fe3=vt(_0x5d9891,_0x56d872,_0x9386ab);if(_0x532fe3&&Object[_0x2934d0(0x35c)][_0x2934d0(0x445)][_0x2934d0(0x2a4)](_0x532fe3,'v'))return _0x532fe3['v']??null;let _0x3efa05=_0x5d9891[_0x2934d0(0x453)][_0x9386ab];return xt(((_0x405bf1=_0x5d9891[_0x2934d0(0x1e1)][_0x56d872])==null||(_0x405bf1=_0x405bf1[_0x2934d0(0x54e)])==null?void 0x0:_0x405bf1[_0x9386ab])??null,_0x3efa05)['v']??null;}function xt(_0x529cea,_0x59a7f2){const _0x370191=_0x282c57;if(Tt(_0x529cea))return(_0x59a7f2==null?void 0x0:_0x59a7f2[_0x370191(0x4aa)])===_0x239099[_0x370191(0x392)]?{..._0x529cea,'v':'','t':_0x110ba4[_0x370191(0x23b)]}:St(_0x529cea);if((_0x59a7f2==null?void 0x0:_0x59a7f2[_0x370191(0x4aa)])===_0x239099[_0x370191(0x392)])return{'v':'','t':_0x110ba4[_0x370191(0x23b)]};if(Nt(_0x59a7f2)){let _0x4df7e9=Pt(_0x529cea);return{'v':_0x4df7e9,'t':Lt(_0x4df7e9)};}if(Mt(_0x59a7f2))return{'v':Ft(_0x529cea)[_0x370191(0x1c0)](',\x20'),'t':_0x110ba4[_0x370191(0x23b)]};if((_0x59a7f2==null?void 0x0:_0x59a7f2['type'])===_0x239099[_0x370191(0x1d7)]&&_0x529cea&&typeof _0x529cea==_0x370191(0x4ba)&&!Array[_0x370191(0x3d5)](_0x529cea)){let _0x80f9f4=_0x529cea;return{'v':String(_0x80f9f4[_0x370191(0x4b7)]??_0x80f9f4[_0x370191(0x45d)]??''),'t':_0x110ba4[_0x370191(0x23b)]};}return _0x529cea===null||typeof _0x529cea=='string'||typeof _0x529cea=='number'||typeof _0x529cea==_0x370191(0x386)?{'v':_0x529cea,'t':Lt(_0x529cea)}:{'v':null,'t':null};}function St(_0x156b56){let _0x1650c5=zt(_0x156b56['t'],_0x156b56['v']);if(_0x1650c5===void 0x0){let {t:_0x3e35a6,..._0x293609}=_0x156b56;return _0x293609;}return{..._0x156b56,'t':_0x1650c5};}function Ct(_0x4b9b49,_0x52b072,_0x35babf,_0x4d1eae){const _0x786ca7=_0x282c57;if(!_0x4b9b49)return null;if((_0x52b072==null?void 0x0:_0x52b072[_0x786ca7(0x4aa)])===_0x239099['Attachment'])return _0x35babf&&_0x4d1eae?Ot(_0x35babf,_0x4d1eae,_0x52b072['id'])??[]:[];if(Mt(_0x52b072))return Ft(_0x4b9b49['v']);if((_0x52b072==null?void 0x0:_0x52b072[_0x786ca7(0x4aa)])===_0x239099['Link']&&_0x35babf&&_0x4d1eae){var _0x410626;let _0xdad66c=(_0x410626=_0x35babf[_0x786ca7(0x1e1)][_0x4d1eae])==null||(_0x410626=_0x410626['values'])==null?void 0x0:_0x410626[_0x52b072['id']];if(_0xdad66c&&typeof _0xdad66c==_0x786ca7(0x4ba)&&!Array[_0x786ca7(0x3d5)](_0xdad66c))return _0xdad66c;}return Object[_0x786ca7(0x35c)]['hasOwnProperty'][_0x786ca7(0x2a4)](_0x4b9b49,'v')?_0x4b9b49['v']??null:null;}function wt(_0x1ff46e,_0x2841e4,_0x36a7df,_0x19cc39,_0x206138){const _0x31c2f2=_0x282c57;return(_0x36a7df==null?void 0x0:_0x36a7df['type'])===_0x239099[_0x31c2f2(0x392)]?kt(_0x1ff46e):Nt(_0x36a7df)?Pt(_0x1ff46e):Mt(_0x36a7df)?Ft(_0x1ff46e):(_0x36a7df==null?void 0x0:_0x36a7df[_0x31c2f2(0x4aa)])===_0x239099[_0x31c2f2(0x1d7)]&&(_0x1ff46e==null||_0x1ff46e==='')?null:(_0x36a7df==null?void 0x0:_0x36a7df[_0x31c2f2(0x4aa)])===_0x239099['Link']&&_0x1ff46e&&typeof _0x1ff46e==_0x31c2f2(0x4ba)&&!Array[_0x31c2f2(0x3d5)](_0x1ff46e)&&!Tt(_0x1ff46e)?_0x1ff46e:Ct(_0x2841e4,_0x36a7df,_0x19cc39,_0x206138);}function Tt(_0x3fd6c7){const _0x3fc7f4=_0x282c57;return!!_0x3fd6c7&&typeof _0x3fd6c7==_0x3fc7f4(0x4ba)&&(Object[_0x3fc7f4(0x35c)]['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'v')||Object['prototype']['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'t')||Object[_0x3fc7f4(0x35c)]['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'p')||Object[_0x3fc7f4(0x35c)][_0x3fc7f4(0x445)][_0x3fc7f4(0x2a4)](_0x3fd6c7,'f')||Object['prototype'][_0x3fc7f4(0x445)][_0x3fc7f4(0x2a4)](_0x3fd6c7,'si'));}function Et(_0x96d0d1,_0x550451){return _0x96d0d1+'\x1f'+_0x550451;}function Dt(_0x321c75,_0x42c560,_0xe26c8,_0x281840){const _0x1b9475=_0x282c57;let _0x36af9e=kt(_0x281840);_0x321c75['resources']={..._0x321c75[_0x1b9475(0x27b)]??{}},_0x321c75[_0x1b9475(0x27b)]['attachmentSets']={..._0x321c75[_0x1b9475(0x27b)]['attachmentSets']??{}},_0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)]={..._0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)]??{}};let _0x3fb6bf=Et(_0xe26c8,_0x42c560),_0x4a78f1=[];for(let _0x327920=0x0;_0x327920<_0x36af9e[_0x1b9475(0x4ab)];_0x327920++){if(!(_0x327920 in _0x36af9e))continue;let _0x43730d=_0x36af9e[_0x327920],_0x1ce11b=String(_0x43730d['id']??_0x3fb6bf+'\x1f'+_0x327920),_0x2ca520={..._0x43730d,'id':_0x1ce11b};_0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)][_0x1ce11b]=_0x2ca520,_0x4a78f1['push'](_0x1ce11b);}_0x321c75['resources']['attachmentSets'][_0x3fb6bf]=_0x4a78f1;}function Ot(_0x3e8618,_0x203cd3,_0x2fde88){const _0x3cab78=_0x282c57;var _0x249e58;let _0x5941fc=Et(_0x2fde88,_0x203cd3),_0x131020=(_0x249e58=_0x3e8618['resources'])==null||(_0x249e58=_0x249e58[_0x3cab78(0x556)])==null?void 0x0:_0x249e58[_0x5941fc];if(!_0x131020)return null;let _0x39464d=[];for(let _0x15d45b=0x0;_0x15d45b<_0x131020['length'];_0x15d45b++){var _0x230a16;if(!(_0x15d45b in _0x131020))continue;let _0xec10af=(_0x230a16=_0x3e8618[_0x3cab78(0x27b)])==null||(_0x230a16=_0x230a16[_0x3cab78(0x3ba)])==null?void 0x0:_0x230a16[_0x131020[_0x15d45b]];_0xec10af&&_0x39464d['push']({..._0xec10af});}return _0x39464d;}function kt(_0x21d377){const _0x5ab664=_0x282c57;if(_0x21d377==null||_0x21d377===''||Tt(_0x21d377)&&!('id'in _0x21d377)&&!('name'in _0x21d377))return[];let _0x568933=Array[_0x5ab664(0x3d5)](_0x21d377)?_0x21d377:[_0x21d377],_0xeae38b=[];for(let _0x370307=0x0;_0x370307<_0x568933[_0x5ab664(0x4ab)];_0x370307++){if(!(_0x370307 in _0x568933))continue;let _0x507d0a=_0x568933[_0x370307],_0x574d83=_0x507d0a&&typeof _0x507d0a==_0x5ab664(0x4ba)?{..._0x507d0a}:{'id':_0x5ab664(0x526)+_0x370307,'name':String(_0x507d0a)};Object[_0x5ab664(0x334)](_0x574d83)['length']>0x0&&_0xeae38b[_0x5ab664(0x381)](_0x574d83);}return _0xeae38b;}function At(_0x2417bd,_0x4739b1){const _0x3ec9b1=_0x282c57;return(_0x4739b1==null?void 0x0:_0x4739b1[_0x3ec9b1(0x4aa)])===_0x239099['Attachment']?kt(_0x2417bd):Nt(_0x4739b1)?Pt(_0x2417bd):Mt(_0x4739b1)?Ft(_0x2417bd):_0x2417bd;}function jt(_0x540691,_0x5db3db,_0x67f56){const _0x21a1a=_0x282c57;return(_0x5db3db==null?void 0x0:_0x5db3db[_0x21a1a(0x4aa)])===_0x239099[_0x21a1a(0x392)]?_0x540691['v']!=='':Nt(_0x5db3db)?_0x540691['v']!==Pt(_0x67f56):Mt(_0x5db3db)?Array[_0x21a1a(0x3d5)](_0x67f56)&&(_0x540691['v']==null||_0x540691['v']===''):!0x1;}function Mt(_0x3bfe3d){const _0x1dfd78=_0x282c57;return(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099[_0x1dfd78(0x4b3)]||(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099['Group']||(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099[_0x1dfd78(0x2a5)]&&_0x3bfe3d['config'][_0x1dfd78(0x1c8)]===!0x0;}function Nt(_0x42f06d){const _0x32474f=_0x282c57;return(_0x42f06d==null?void 0x0:_0x42f06d[_0x32474f(0x4aa)])===_0x239099[_0x32474f(0x2a5)]&&_0x42f06d[_0x32474f(0x50c)][_0x32474f(0x1c8)]!==!0x0;}function Pt(_0x4c79fd){const _0x5a30a7=_0x282c57;let _0x421a93=Tt(_0x4c79fd)?_0x4c79fd['v']:_0x4c79fd,_0x197c31=Array[_0x5a30a7(0x3d5)](_0x421a93)?_0x421a93[0x0]:_0x421a93;return _0x197c31==null||_0x197c31===''?null:String(_0x197c31);}function Ft(_0x4ae863){const _0x4e6cb3=_0x282c57;if(_0x4ae863==null||_0x4ae863==='')return[];let _0x47251d=[];if(Array['isArray'](_0x4ae863)){for(let _0x4d2abb=0x0;_0x4d2abb<_0x4ae863[_0x4e6cb3(0x4ab)];_0x4d2abb++){if(!(_0x4d2abb in _0x4ae863))continue;let _0x245a30=It(_0x4ae863[_0x4d2abb]);_0x245a30&&_0x47251d[_0x4e6cb3(0x381)](_0x245a30);}return _0x47251d;}for(let _0x312ff6 of String(_0x4ae863)[_0x4e6cb3(0x460)](',')){let _0x222f1e=_0x312ff6[_0x4e6cb3(0x24d)]();_0x222f1e&&_0x47251d[_0x4e6cb3(0x381)](_0x222f1e);}return _0x47251d;}function It(_0x24f6a0){const _0x3818b8=_0x282c57;if(_0x24f6a0==null)return'';if(typeof _0x24f6a0==_0x3818b8(0x3e3)||typeof _0x24f6a0==_0x3818b8(0x389)||typeof _0x24f6a0==_0x3818b8(0x386))return String(_0x24f6a0);if(typeof _0x24f6a0==_0x3818b8(0x4ba)){let _0x3c0521=_0x24f6a0;return String(_0x3c0521['id']??_0x3c0521[_0x3818b8(0x2f4)]??_0x3c0521[_0x3818b8(0x4b7)]??'');}return String(_0x24f6a0);}function Lt(_0x3e97e6){const _0x4d7eca=_0x282c57;return _0x3e97e6==null?null:typeof _0x3e97e6=='number'?_0x110ba4[_0x4d7eca(0x1ff)]:typeof _0x3e97e6==_0x4d7eca(0x386)?_0x110ba4[_0x4d7eca(0x2fd)]:_0x110ba4['STRING'];}function Rt(_0x1c7a85){const _0x1aba07=_0x282c57;_0x1c7a85[_0x1aba07(0x1df)]((_0x258bab,_0x131fe0)=>_0x258bab['orderKey'][_0x1aba07(0x506)](_0x131fe0['orderKey']));let _0x4c40a6=[];for(let _0x1d205e of _0x1c7a85)_0x4c40a6[_0x1aba07(0x381)](_0x1d205e['id']);return _0x4c40a6;}function zt(_0xeb7941,_0x2e72f5){const _0x4b57cf=_0x282c57;return _0xeb7941===_0x110ba4[_0x4b57cf(0x23b)]||_0xeb7941===_0x110ba4['NUMBER']||_0xeb7941===_0x110ba4[_0x4b57cf(0x2fd)]||_0xeb7941===_0x110ba4[_0x4b57cf(0x28b)]||_0xeb7941==null?_0xeb7941:Lt(_0x2e72f5??null);}function R(_0x1d2584){const _0x3a5bb5=_0x282c57;let _0x599ccb=null;for(let _0x1feefe of _0x1d2584)_0x599ccb=_0x599ccb===null?_0x1feefe:_0x2f9032[_0x3a5bb5(0x4aa)][_0x3a5bb5(0x3ad)](_0x599ccb,_0x1feefe);return _0x599ccb;}var z=class e{static[_0x282c57(0x2aa)](_0x264326,_0x595424){const _0x5995de=_0x282c57;let _0x474718=[];for(let _0x4e7ca0 of _0x595424){let _0x133eb6=Bt(_0x4e7ca0);if(!_0x133eb6||_0x133eb6['unitId']!==_0x264326['id'])return null;_0x474718['push'](_0x133eb6['op']);}try{let _0x1e99d5=R(_0x474718);return _0x1e99d5===null?_0x264326:new e()[_0x5995de(0x2e7)](_0x264326,_0x1e99d5);}catch{return null;}}[_0x282c57(0x2e7)](_0x3240d2,_0x4da749){const _0x3bcd83=_0x282c57;let _0x1eefbd=this['getAffectedRanges'](_0x4da749),_0x5ce279=I(_0x3bcd83(0x423),()=>Xt(_0x3240d2,_0x4da749),{'invalidations':_0x1eefbd['length']}),_0x4f852c=I('BaseJson1.json1Apply',()=>_0x2f9032[_0x3bcd83(0x4aa)][_0x3bcd83(0x247)](_0x5ce279,_0x4da749),{'invalidations':_0x1eefbd[_0x3bcd83(0x4ab)]}),_0xffda51=Ht(_0x4f852c,_0x1eefbd);return I(_0x3bcd83(0x497),()=>Vt(_0x4f852c,_0x1eefbd),{'invalidations':_0x1eefbd[_0x3bcd83(0x4ab)]})?(Ut(_0x4f852c,_0xffda51),_0x4f852c):(I(_0x3bcd83(0x4cb),()=>{const _0x5a888d=_0x3bcd83;this[_0x5a888d(0x493)](_0x4f852c,_0x1eefbd)[_0x5a888d(0x34b)](_0x210e97=>{const _0x3b6a68=_0x5a888d;let _0x1dfceb=_0x1eefbd['filter'](_0xbadaa7=>_0xbadaa7[_0x3b6a68(0x45e)]===_0x210e97['id']),_0x33fa90=_0x1dfceb[_0x3b6a68(0x4ab)]>0x0&&_0x1dfceb['every'](_0x1a7631=>_0x1a7631[_0x3b6a68(0x2cd)]==='field'||_0x1a7631['reason']===_0x3b6a68(0x47a)||_0x1a7631['reason']===_0x3b6a68(0x1f9)||_0x1a7631[_0x3b6a68(0x2cd)]===_0x3b6a68(0x3a6))?new Set(_0x1dfceb[_0x3b6a68(0x26a)](_0x1d67ad=>{const _0x23e766=_0x3b6a68;var _0x574c96;if(_0x1d67ad['reason']!==_0x23e766(0x2d9)||!_0x1d67ad[_0x23e766(0x387)])return[];let _0x31b874=(_0x574c96=_0x3240d2[_0x23e766(0x528)][_0x210e97['id']])==null?void 0x0:_0x574c96[_0x23e766(0x453)][_0x1d67ad[_0x23e766(0x387)]],_0x1485d5=_0x210e97['fields'][_0x1d67ad[_0x23e766(0x387)]];return(_0x31b874==null?void 0x0:_0x31b874[_0x23e766(0x4aa)])!==(_0x1485d5==null?void 0x0:_0x1485d5['type'])||(_0x31b874==null?void 0x0:_0x31b874['config']['allowMultiple'])!==(_0x1485d5==null?void 0x0:_0x1485d5['config']['allowMultiple'])?[_0x1d67ad[_0x23e766(0x387)]]:[];})):void 0x0,_0x23ada4=new Set(_0x1dfceb[_0x3b6a68(0x26a)](_0x3bddaa=>{const _0x54e777=_0x3b6a68;var _0x56d0fd,_0x39eaf5;return _0x3bddaa[_0x54e777(0x2cd)]!=='cell'||_0x3bddaa['row']==null||_0x3bddaa[_0x54e777(0x331)]==null?[]:[JSON[_0x54e777(0x2fb)]([(_0x56d0fd=_0x210e97[_0x54e777(0x21b)])==null?void 0x0:_0x56d0fd[_0x3bddaa[_0x54e777(0x2f0)]],(_0x39eaf5=_0x210e97[_0x54e777(0x46d)])==null?void 0x0:_0x39eaf5[_0x3bddaa[_0x54e777(0x331)]]])];}));ht(_0x210e97,_0x33fa90?(_0x3474ba,_0x4422a9)=>_0x33fa90[_0x3b6a68(0x25c)](_0x4422a9)||_0x23ada4[_0x3b6a68(0x25c)](JSON[_0x3b6a68(0x2fb)]([_0x3474ba,_0x4422a9])):void 0x0);});},{'invalidations':_0x1eefbd['length']}),Ut(_0x4f852c,_0xffda51),_0x4f852c);}[_0x282c57(0x35e)](_0x337a77,_0x11449e){const _0x1846c9=_0x282c57;return _0x2f9032['type'][_0x1846c9(0x4a8)](_0x11449e,_0x337a77);}[_0x282c57(0x485)](_0x472085){const _0x34bb35=_0x282c57;let _0x260fef=qt(_0x472085);return _0x260fef[_0x34bb35(0x4ab)]?Jt(_0x260fef['flatMap'](_0x349840=>this['getAffectedRanges'](_0x349840))):Wt(_0x472085);}[_0x282c57(0x493)](_0x30fe0c,_0x31a4e8){const _0x410ba9=_0x282c57;let _0x5f1dc6=_0x31a4e8['filter'](_0x264574=>_0x264574[_0x410ba9(0x2cd)]!==_0x410ba9(0x47a));return _0x5f1dc6[_0x410ba9(0x4ab)]?_0x5f1dc6[_0x410ba9(0x436)](_0x5934db=>!_0x5934db['tableId'])?Object['values'](_0x30fe0c[_0x410ba9(0x528)]??{}):Array[_0x410ba9(0x2f3)](new Set(_0x5f1dc6[_0x410ba9(0x309)](_0x55ea97=>_0x55ea97[_0x410ba9(0x45e)])))[_0x410ba9(0x26a)](_0x387dcf=>{var _0xa040dd;let _0x1c3513=(_0xa040dd=_0x30fe0c['tables'])==null?void 0x0:_0xa040dd[_0x387dcf];return _0x1c3513?[_0x1c3513]:[];}):[];}};function Bt(_0x431774){const _0x10f7a8=_0x282c57;let _0x5ad20c=_0x431774[_0x10f7a8(0x530)];return _0x431774['id']!==_0x10f7a8(0x48f)||typeof _0x5ad20c!=_0x10f7a8(0x4ba)||!_0x5ad20c||!('unitId'in _0x5ad20c)||typeof _0x5ad20c['unitId']!=_0x10f7a8(0x3e3)||!('op'in _0x5ad20c)||!Array[_0x10f7a8(0x3d5)](_0x5ad20c['op'])?null:{'unitId':_0x5ad20c['unitId'],'op':_0x5ad20c['op']};}function Vt(_0x5e8555,_0x334245){const _0x2b8a96=_0x282c57;if(!_0x334245[_0x2b8a96(0x4ab)]||_0x334245[_0x2b8a96(0x436)](_0x4b0a9f=>_0x4b0a9f[_0x2b8a96(0x2cd)]!=='cell'))return!0x1;let _0x90c9c6=new Map();for(let _0x3c1dfc of _0x334245){if(!_0x3c1dfc[_0x2b8a96(0x45e)]||_0x3c1dfc[_0x2b8a96(0x2f0)]==null||_0x3c1dfc[_0x2b8a96(0x331)]==null)continue;let _0x1dd73c=_0x90c9c6[_0x2b8a96(0x268)](_0x3c1dfc[_0x2b8a96(0x45e)])??[];_0x1dd73c[_0x2b8a96(0x381)]({'row':_0x3c1dfc[_0x2b8a96(0x2f0)],'col':_0x3c1dfc[_0x2b8a96(0x331)]}),_0x90c9c6[_0x2b8a96(0x246)](_0x3c1dfc['tableId'],_0x1dd73c);}return _0x90c9c6[_0x2b8a96(0x34b)]((_0x8b2292,_0x33585b)=>{const _0x8d4f03=_0x2b8a96;var _0x2bf1a8;let _0x566d47=(_0x2bf1a8=_0x5e8555[_0x8d4f03(0x528)])==null?void 0x0:_0x2bf1a8[_0x33585b];_0x566d47&>(_0x566d47,_0x8b2292);}),!0x0;}function Ht(_0x1feffc,_0x5d1e1e){let _0x2c77b0=new Set();return _0x5d1e1e['flatMap'](_0x359a18=>{const _0x517021=_0x3047;var _0x42c2f1;if(!_0x359a18[_0x517021(0x45e)]||!_0x359a18[_0x517021(0x40d)]||!_0x359a18['fieldId'])return[];let _0x329167=_0x359a18['tableId']+'\x1f'+_0x359a18[_0x517021(0x40d)]+'\x1f'+_0x359a18['fieldId'];if(_0x2c77b0[_0x517021(0x25c)](_0x329167))return[];_0x2c77b0[_0x517021(0x551)](_0x329167);let _0x6cd44c=(_0x42c2f1=_0x1feffc[_0x517021(0x528)][_0x359a18[_0x517021(0x45e)]])==null||(_0x42c2f1=_0x42c2f1[_0x517021(0x1e1)][_0x359a18[_0x517021(0x40d)]])==null?void 0x0:_0x42c2f1[_0x517021(0x54e)];return _0x6cd44c?[{'tableId':_0x359a18[_0x517021(0x45e)],'recordId':_0x359a18[_0x517021(0x40d)],'fieldId':_0x359a18[_0x517021(0x387)],'exists':Object['prototype']['hasOwnProperty'][_0x517021(0x2a4)](_0x6cd44c,_0x359a18[_0x517021(0x387)]),'value':_0x6cd44c[_0x359a18[_0x517021(0x387)]]}]:[];});}function Ut(_0xc558a8,_0x4dc78f){const _0xd36c7d=_0x282c57;_0x4dc78f[_0xd36c7d(0x34b)](_0x1dce81=>{const _0x5c92a3=_0xd36c7d;var _0x30749f;let _0x37ba45=(_0x30749f=_0xc558a8[_0x5c92a3(0x528)][_0x1dce81[_0x5c92a3(0x45e)]])==null||(_0x30749f=_0x30749f['records'][_0x1dce81[_0x5c92a3(0x40d)]])==null?void 0x0:_0x30749f[_0x5c92a3(0x54e)];_0x37ba45&&(_0x1dce81[_0x5c92a3(0x524)]?_0x37ba45[_0x1dce81[_0x5c92a3(0x387)]]=_0x1dce81[_0x5c92a3(0x373)]:delete _0x37ba45[_0x1dce81[_0x5c92a3(0x387)]]);});}function Wt(_0x3b5def){const _0x16d1a6=_0x282c57;if(!Array[_0x16d1a6(0x3d5)](_0x3b5def)||_0x3b5def[_0x16d1a6(0x4ab)]<0x2)return[{'tableId':'','reason':_0x16d1a6(0x21d)}];let _0x6bd24=_0x3b5def,_0x543d72=_0x6bd24[_0x16d1a6(0x1f4)]('tables');return _0x543d72===-0x1||typeof _0x6bd24[_0x543d72+0x1]!=_0x16d1a6(0x3e3)?_0x6bd24[0x0]===_0x16d1a6(0x1ae)?[]:[{'tableId':'','reason':_0x16d1a6(0x21d)}]:Gt(_0x6bd24,_0x543d72,String(_0x6bd24[_0x543d72+0x1]));}function Gt(_0x4bca43,_0x1f4b0d,_0x2b71bb){const _0x5c0257=_0x282c57;let _0x5df180=_0x4bca43[_0x1f4b0d+0x2];return _0x5df180===_0x5c0257(0x1e1)&&typeof _0x4bca43[_0x1f4b0d+0x3]=='string'?Kt(_0x4bca43,_0x1f4b0d,_0x2b71bb,String(_0x4bca43[_0x1f4b0d+0x3])):_0x5df180===_0x5c0257(0x343)&&_0x4bca43[_0x1f4b0d+0x3]!=null&&_0x4bca43[_0x1f4b0d+0x4]!=null?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x1f9),'row':Number(_0x4bca43[_0x1f4b0d+0x3]),'column':Number(_0x4bca43[_0x1f4b0d+0x4])}]:_0x5df180===_0x5c0257(0x453)&&typeof _0x4bca43[_0x1f4b0d+0x3]==_0x5c0257(0x3e3)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x2d9),'fieldId':String(_0x4bca43[_0x1f4b0d+0x3])}]:_0x5df180===_0x5c0257(0x534)?[{'tableId':_0x2b71bb,'reason':'field'}]:_0x5df180===_0x5c0257(0x413)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x3a6)}]:_0x5df180===_0x5c0257(0x4f9)&&typeof _0x4bca43[_0x1f4b0d+0x3]==_0x5c0257(0x3e3)?[{'tableId':_0x2b71bb,'reason':'view','viewId':String(_0x4bca43[_0x1f4b0d+0x3])}]:_0x5df180===_0x5c0257(0x3a5)?[{'tableId':_0x2b71bb,'reason':'view'}]:_0x5df180===_0x5c0257(0x27b)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x1f9)}]:[{'tableId':_0x2b71bb,'reason':_0x5df180===void 0x0?_0x5c0257(0x270):_0x5c0257(0x21d)}];}function Kt(_0x1cf311,_0x2c513e,_0x169c5e,_0x267b48){const _0x18910c=_0x282c57;return _0x1cf311[_0x2c513e+0x4]===_0x18910c(0x54e)&&typeof _0x1cf311[_0x2c513e+0x5]==_0x18910c(0x3e3)?[{'tableId':_0x169c5e,'reason':_0x18910c(0x1f9),'recordId':_0x267b48,'fieldId':String(_0x1cf311[_0x2c513e+0x5])}]:_0x1cf311[_0x2c513e+0x4]===_0x18910c(0x250)||_0x1cf311[_0x2c513e+0x4]==='updatedBy'?[]:[{'tableId':_0x169c5e,'reason':_0x18910c(0x3a6),'recordId':_0x267b48}];}function qt(_0x9216c5){const _0x412e7f=_0x282c57;if(!Array[_0x412e7f(0x3d5)](_0x9216c5))return[];let _0x248529=_0x9216c5['filter'](Array[_0x412e7f(0x3d5)]);if(_0x248529[_0x412e7f(0x4ab)]>0x1&&_0x248529['length']===_0x9216c5[_0x412e7f(0x4ab)])return _0x248529;let _0x5ad43c=_0x9216c5[_0x412e7f(0x34e)](Array[_0x412e7f(0x3d5)]);if(_0x5ad43c>0x0&&_0x9216c5[_0x412e7f(0x287)](_0x5ad43c)['every'](Array['isArray'])){let _0x38ee85=_0x9216c5[_0x412e7f(0x287)](0x0,_0x5ad43c);return _0x9216c5['slice'](_0x5ad43c)['map'](_0x35b6db=>[..._0x38ee85,..._0x35b6db]);}let _0x5f2de7=_0x9216c5[_0x412e7f(0x1f4)](_0x412e7f(0x528));if(_0x5f2de7===-0x1||typeof _0x9216c5[_0x5f2de7+0x1]!=_0x412e7f(0x3e3))return[];let _0x3c640d=String(_0x9216c5[_0x5f2de7+0x1]),_0x4d19c8=_0x9216c5[_0x412e7f(0x287)](_0x5f2de7+0x2)[_0x412e7f(0x4cc)](Array[_0x412e7f(0x3d5)]);return _0x4d19c8[_0x412e7f(0x4ab)]<=0x1?[]:_0x4d19c8[_0x412e7f(0x309)](_0x4d1671=>[_0x412e7f(0x528),_0x3c640d,..._0x4d1671]);}function Jt(_0x47edb1){let _0x59002d=new Set();return _0x47edb1['filter'](_0x43c3aa=>{const _0x6a3d5d=_0x3047;let _0x52f786=JSON['stringify'](_0x43c3aa);return!_0x59002d[_0x6a3d5d(0x25c)](_0x52f786)&&(_0x59002d[_0x6a3d5d(0x551)](_0x52f786),!0x0);});}function Yt(_0x29b949){return _0xd92214['deepClone'](_0x29b949);}function Xt(_0x3e486d,_0x26530d){const _0x4baf1b=_0x282c57;let _0x14d881=Zt(_0x26530d);if(!_0x14d881[_0x4baf1b(0x4ab)])return Yt(_0x3e486d);let _0x26d2c4=an(_0x3e486d),_0x3847e6=new Set();for(let _0x39ef71 of _0x14d881)en(_0x26d2c4,_0x39ef71,_0x3847e6);return _0x26d2c4;}function Zt(_0x829d7e){let _0xd0acff=[];return Qt(_0x829d7e,[],_0xd0acff),_0xd0acff;}function Qt(_0x108a4c,_0x251b50,_0x4fbcc2){const _0x5b8155=_0x282c57;if(!Array[_0x5b8155(0x3d5)](_0x108a4c))return;let _0x1b8fd6=[];for(let _0x4a96b9 of _0x108a4c){if(Array[_0x5b8155(0x3d5)](_0x4a96b9)){Qt(_0x4a96b9,[..._0x251b50,..._0x1b8fd6],_0x4fbcc2);continue;}if($t(_0x4a96b9)){_0x4fbcc2['push']([..._0x251b50,..._0x1b8fd6]);continue;}(typeof _0x4a96b9=='string'||typeof _0x4a96b9=='number')&&_0x1b8fd6[_0x5b8155(0x381)](_0x4a96b9);}}function $t(_0x455679){const _0x18a959=_0x282c57;if(!_0x455679||typeof _0x455679!=_0x18a959(0x4ba)||Array[_0x18a959(0x3d5)](_0x455679))return!0x1;let _0x5d3a5c=_0x455679;return'i'in _0x5d3a5c||'r'in _0x5d3a5c||'p'in _0x5d3a5c||'d'in _0x5d3a5c||'es'in _0x5d3a5c||_0x18a959(0x2bb)in _0x5d3a5c||'et'in _0x5d3a5c;}function en(_0x3b1feb,_0x4da071,_0x57f89a){const _0x7139a3=_0x282c57;let _0x252676=_0x3b1feb,_0x4226ed=[];for(let _0x3da5ae=0x0;_0x3da5ae<_0x4da071['length']-0x1;_0x3da5ae++){let _0x552528=_0x4da071[_0x3da5ae];_0x4226ed[_0x7139a3(0x381)](_0x552528);let _0x507a4b=tn(_0x252676,_0x552528);if(!rn(_0x507a4b))return;let _0x494b86=JSON[_0x7139a3(0x2fb)](_0x4226ed);_0x57f89a[_0x7139a3(0x25c)](_0x494b86)||(nn(_0x252676,_0x552528,an(_0x507a4b)),_0x57f89a[_0x7139a3(0x551)](_0x494b86));let _0x12db30=tn(_0x252676,_0x552528);if(!rn(_0x12db30))return;_0x252676=_0x12db30;}}function tn(_0x1b9a2a,_0x360d95){const _0x290359=_0x282c57;return Array[_0x290359(0x3d5)](_0x1b9a2a)?typeof _0x360d95==_0x290359(0x389)?_0x1b9a2a[_0x360d95]:void 0x0:Reflect[_0x290359(0x268)](_0x1b9a2a,_0x360d95);}function nn(_0x3eabe2,_0x307741,_0x258347){const _0x49ad4e=_0x282c57;if(Array['isArray'](_0x3eabe2)){typeof _0x307741==_0x49ad4e(0x389)&&(_0x3eabe2[_0x307741]=_0x258347);return;}Reflect[_0x49ad4e(0x246)](_0x3eabe2,_0x307741,_0x258347);}function rn(_0x44baa4){return!!_0x44baa4&&typeof _0x44baa4=='object';}function an(_0x4cf5d6){const _0x25c082=_0x282c57;return Array[_0x25c082(0x3d5)](_0x4cf5d6)?_0x4cf5d6[_0x25c082(0x287)]():{..._0x4cf5d6};}const on=_0x282c57(0x489),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x282c57(0x3b6),'yyyy-mm-dd':_0x282c57(0x21f),'mm-dd':_0x282c57(0x491),'mm/dd/yyyy':_0x282c57(0x1eb),'dd/mm/yyyy':_0x282c57(0x32b),'mmm\x20d,\x20yyyy':_0x282c57(0x3f1)};function B(_0x5744c3,_0x1d0a73=_0x20fc86[_0x282c57(0x23a)]){let _0x27f916=_0x20f447(_0x5744c3)['valueOf']();return _0x29c4f2(new Date(_0x27f916),_0x1d0a73);}function ln(_0x18b9a3,_0x5a48c7=_0x20fc86[_0x282c57(0x23a)]){return _0x247811(_0x18b9a3,_0x5a48c7)['getTime']();}function un(_0x3ebd47,_0x324d86=_0x20fc86['Date1900']){const _0x4431d4=_0x282c57;if(_0x3ebd47==null||_0x3ebd47==='')return null;if(_0x3ebd47 instanceof Date)return B(_0x3ebd47,_0x324d86);if(typeof _0x3ebd47==_0x4431d4(0x389))return Number['isFinite'](_0x3ebd47)?_0x3ebd47>0xf4240?B(_0x3ebd47,_0x324d86):_0x3ebd47:null;let _0x8066e=Date[_0x4431d4(0x2a3)](String(_0x3ebd47));return Number[_0x4431d4(0x50e)](_0x8066e)?null:B(_0x8066e,_0x324d86);}function dn(_0x112b69,_0x1394a7=_0x20fc86[_0x282c57(0x23a)]){let _0x48959f=un(_0x112b69,_0x1394a7);return _0x48959f==null?null:ln(_0x48959f,_0x1394a7);}function fn(_0xd4ddfa={}){const _0xdb3041=_0x282c57;let _0x550dde=String(_0xd4ddfa['pattern']??_0xd4ddfa['format']??_0xd4ddfa['dateFormat']??on)[_0xdb3041(0x24d)]()||on,_0x8c96fc=sn[_0xdb3041(0x1ef)](_0x550dde);return{'pattern':_0x550dde[_0xdb3041(0x1a6)](sn,'')||on,'includeTime':typeof _0xd4ddfa['includeTime']==_0xdb3041(0x386)?_0xd4ddfa[_0xdb3041(0x39b)]:_0x8c96fc,'hourCycle':_0xd4ddfa['hourCycle']===_0xdb3041(0x476)?_0xdb3041(0x476):_0xdb3041(0x536)};}function pn(_0x547bca={}){let {format:_0x280ded,dateFormat:_0x2da246,..._0x377a2c}=_0x547bca;return{..._0x377a2c,...fn(_0x547bca)};}function mn(_0xdd61dd,_0x4d83e3={}){const _0x1393fa=_0x282c57;let _0xe67a28=dn(_0xdd61dd);if(_0xe67a28==null||!Number[_0x1393fa(0x210)](_0xe67a28))return'';let _0x38e335=fn(_0x4d83e3);return _0x20f447(_0xe67a28)[_0x1393fa(0x22b)](hn(_0x38e335));}function hn(_0x49d23e){const _0x4fc8dd=_0x282c57;let {pattern:_0x13e9fe,includeTime:_0xdfe40b,hourCycle:_0x1a6bfb}=_0x49d23e,_0x2d4b64=cn[_0x13e9fe]??cn[on];return _0xdfe40b?_0x2d4b64+'\x20'+(_0x1a6bfb===_0x4fc8dd(0x476)?_0x4fc8dd(0x3f9):_0x4fc8dd(0x1a7)):_0x2d4b64;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x239099[_0x282c57(0x205)]]),V=0x5265c00;function vn(_0x287d30){const _0x1b63b5=_0x282c57;switch(_0x287d30){case _0x239099[_0x1b63b5(0x546)]:case _0x239099['Currency']:case _0x239099[_0x1b63b5(0x2ca)]:case _0x239099['Rating']:return[_0x5b882d['IS'],_0x5b882d[_0x1b63b5(0x4af)],_0x5b882d[_0x1b63b5(0x2df)],_0x5b882d['LESS_THAN'],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];case _0x239099['Date']:case _0x239099[_0x1b63b5(0x35d)]:case _0x239099[_0x1b63b5(0x1bc)]:return[_0x5b882d['IS'],_0x5b882d['IS_NOT'],_0x5b882d[_0x1b63b5(0x4c6)],_0x5b882d[_0x1b63b5(0x422)],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];case _0x239099[_0x1b63b5(0x379)]:return[_0x5b882d['IS'],_0x5b882d[_0x1b63b5(0x4af)]];default:return[_0x5b882d['IS'],_0x5b882d['IS_NOT'],_0x5b882d['CONTAINS'],_0x5b882d['NOT_CONTAINS'],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];}}function yn(_0x4ac099){const _0x4c580b=_0x282c57;return _0x4ac099===_0x239099['Date']||_0x4ac099===_0x239099[_0x4c580b(0x35d)]||_0x4ac099===_0x239099[_0x4c580b(0x1bc)];}function bn(_0x2ccf3c,_0x428bc7){const _0x33267e=_0x282c57;return _0x2ccf3c==null&&_0x428bc7==null?0x0:_0x2ccf3c==null?-0x1:_0x428bc7==null?0x1:typeof _0x2ccf3c=='number'&&typeof _0x428bc7==_0x33267e(0x389)?_0x2ccf3c-_0x428bc7:String(_0x2ccf3c)[_0x33267e(0x506)](String(_0x428bc7));}function xn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x20f1e7,_0x244bca={}){const _0x44321d=_0x282c57;if(_0x55cf91===_0x44321d(0x433))return Sn(_0x38cc4d);if(_0x55cf91==='isNotEmpty')return!Sn(_0x38cc4d);switch(_0x20f1e7['type']){case _0x239099[_0x44321d(0x546)]:case _0x239099[_0x44321d(0x4b6)]:case _0x239099[_0x44321d(0x2ca)]:case _0x239099[_0x44321d(0x3b7)]:return Cn(_0x38cc4d,_0x55cf91,_0x45c36d);case _0x239099[_0x44321d(0x240)]:case _0x239099[_0x44321d(0x35d)]:case _0x239099['UpdatedAt']:return Tn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x244bca);case _0x239099[_0x44321d(0x379)]:return jn(_0x38cc4d,_0x55cf91,_0x45c36d);case _0x239099[_0x44321d(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099[_0x44321d(0x2a5)]:case _0x239099[_0x44321d(0x3af)]:return Nn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x20f1e7);default:return Pn(_0x38cc4d,_0x55cf91,_0x45c36d);}}function Sn(_0x3334b5){const _0x3cde9c=_0x282c57;return _0x3334b5==null?!0x0:Array['isArray'](_0x3334b5)?_0x3334b5[_0x3cde9c(0x4ab)]===0x0:typeof _0x3334b5==_0x3cde9c(0x3e3)&&_0x3334b5[_0x3cde9c(0x24d)]()==='';}function Cn(_0x5f141f,_0x4548bb,_0x2ad9dd){const _0x45abac=_0x282c57;let _0x39bf5e=wn(_0x5f141f),_0x1cab5f=wn(_0x2ad9dd);if(_0x39bf5e==null||_0x1cab5f==null)return!0x1;switch(_0x4548bb){case'is':return _0x39bf5e===_0x1cab5f;case _0x45abac(0x1a1):return _0x39bf5e!==_0x1cab5f;case _0x45abac(0x2f2):return _0x39bf5e>_0x1cab5f;case _0x45abac(0x499):return _0x39bf5e>=_0x1cab5f;case _0x45abac(0x37b):return _0x39bf5e<_0x1cab5f;case _0x45abac(0x4ca):return _0x39bf5e<=_0x1cab5f;default:return!0x1;}}function wn(_0x55ed68){if(_0x55ed68==null||_0x55ed68==='')return null;let _0x5b4e79=Number(_0x55ed68);return Number['isFinite'](_0x5b4e79)?_0x5b4e79:null;}function Tn(_0x1afdd1,_0x2c07c1,_0x25ef76,_0x551350){const _0x3a7ef7=_0x282c57;let _0x90898=Dn(_0x1afdd1);if(_0x90898==null)return!0x1;let _0x387920=En(_0x551350[_0x3a7ef7(0x51a)]??_0x3a7ef7(0x3e8),_0x25ef76,_0x551350['now']);if(!_0x387920)return!0x1;switch(_0x2c07c1){case'is':return _0x90898>=_0x387920[_0x3a7ef7(0x230)]&&_0x90898<=_0x387920['end'];case _0x3a7ef7(0x1a1):return _0x90898<_0x387920['start']||_0x90898>_0x387920[_0x3a7ef7(0x248)];case _0x3a7ef7(0x22e):return _0x90898<_0x387920['start'];case _0x3a7ef7(0x1a5):return _0x90898>_0x387920[_0x3a7ef7(0x248)];default:return!0x1;}}function En(_0x554762,_0xd950bb,_0x135d92=Date[_0x282c57(0x42b)]()){const _0x500c8a=_0x282c57;let _0x1d8054=On(_0x135d92);switch(_0x554762){case _0x500c8a(0x3e8):{let _0xd91f82=Dn(_0xd950bb);return _0xd91f82==null?null:{'start':_0xd91f82,'end':_0xd91f82+V-0x1};}case _0x500c8a(0x3e1):return{'start':_0x1d8054,'end':_0x1d8054+V-0x1};case _0x500c8a(0x452):return{'start':_0x1d8054+V,'end':_0x1d8054+V*0x2-0x1};case'yesterday':return{'start':_0x1d8054-V,'end':_0x1d8054-0x1};case _0x500c8a(0x409):return kn(_0x1d8054,0x0);case _0x500c8a(0x3bb):return kn(_0x1d8054,-0x1);case _0x500c8a(0x547):return An(_0x1d8054,0x0);case'lastMonth':return An(_0x1d8054,-0x1);case _0x500c8a(0x2b9):return{'start':_0x1d8054-V*0x6,'end':_0x1d8054+V-0x1};case _0x500c8a(0x2d7):return{'start':_0x1d8054,'end':_0x1d8054+V*0x7-0x1};case _0x500c8a(0x3d1):return{'start':_0x1d8054-V*0x1d,'end':_0x1d8054+V-0x1};case _0x500c8a(0x44e):return{'start':_0x1d8054,'end':_0x1d8054+V*0x1e-0x1};}}function Dn(_0x5b0f61){let _0x153f7d=un(_0x5b0f61);return _0x153f7d==null?null:On(ln(_0x153f7d));}function On(_0x5372c3){const _0x3fa261=_0x282c57;let _0x5dabd7=new Date(_0x5372c3);return _0x5dabd7[_0x3fa261(0x4bb)](0x0,0x0,0x0,0x0),_0x5dabd7[_0x3fa261(0x3b8)]();}function kn(_0x2a3798,_0xd30455){const _0x192c92=_0x282c57;let _0x1a159e=_0x2a3798-(new Date(_0x2a3798)[_0x192c92(0x2ef)]()+0x6)%0x7*V+_0xd30455*V*0x7;return{'start':_0x1a159e,'end':_0x1a159e+V*0x7-0x1};}function An(_0xfe2fb7,_0x145313){const _0x37156e=_0x282c57;let _0x1a75f1=new Date(_0xfe2fb7),_0x1b3f06=new Date(_0x1a75f1[_0x37156e(0x2a6)](),_0x1a75f1[_0x37156e(0x308)]()+_0x145313,0x1),_0x13f42a=new Date(_0x1a75f1['getFullYear'](),_0x1a75f1[_0x37156e(0x308)]()+_0x145313+0x1,0x1);return{'start':_0x1b3f06[_0x37156e(0x3b8)](),'end':_0x13f42a[_0x37156e(0x3b8)]()-0x1};}function jn(_0x3af031,_0x46dbf3,_0x5026c7){const _0x1b1d90=_0x282c57;let _0x2f71f4=Mn(_0x3af031),_0x4637a4=Mn(_0x5026c7);switch(_0x46dbf3){case'is':return _0x2f71f4===_0x4637a4;case _0x1b1d90(0x1a1):return _0x2f71f4!==_0x4637a4;default:return!0x1;}}function Mn(_0x3ae795){const _0x5b5f0e=_0x282c57;return _0x3ae795===!0x0||_0x3ae795===_0x5b5f0e(0x2ee)||_0x3ae795===0x1||_0x3ae795==='1';}function Nn(_0x509df6,_0x20cac3,_0x700028,_0x1a8c33){const _0x45a8cc=_0x282c57;let _0x19602f=In(_0x509df6,_0x1a8c33),_0x121bf6=In(_0x700028,_0x1a8c33),_0x3e0ba8=_0x121bf6[_0x45a8cc(0x4ab)]>0x0&&_0x121bf6[_0x45a8cc(0x436)](_0x5ebcf2=>_0x19602f[_0x45a8cc(0x3df)](_0x5ebcf2));switch(_0x20cac3){case'is':case _0x45a8cc(0x2bc):return _0x3e0ba8;case _0x45a8cc(0x1a1):case'notContains':return!_0x3e0ba8;default:return!0x1;}}function Pn(_0x15171d,_0xaf564f,_0x231d82){const _0x306cea=_0x282c57;let _0x26be0c=Fn(_0x15171d),_0x1a0ac0=Fn(_0x231d82);switch(_0xaf564f){case'is':return _0x26be0c===_0x1a0ac0;case _0x306cea(0x1a1):return _0x26be0c!==_0x1a0ac0;case _0x306cea(0x2bc):return _0x1a0ac0?_0x26be0c[_0x306cea(0x3df)](_0x1a0ac0):!0x1;case'notContains':return!_0x1a0ac0||!_0x26be0c[_0x306cea(0x3df)](_0x1a0ac0);default:return!0x1;}}function Fn(_0x2a19f7){const _0x291e02=_0x282c57;if(Array[_0x291e02(0x3d5)](_0x2a19f7))return _0x2a19f7['map'](_0x26cf6c=>Fn(_0x26cf6c))[_0x291e02(0x1c0)]('\x0a');if(_0x2a19f7&&typeof _0x2a19f7==_0x291e02(0x4ba)){let _0x40e237=_0x2a19f7;return String(_0x40e237['name']??_0x40e237[_0x291e02(0x19c)]??_0x40e237['text']??_0x40e237['value']??_0x40e237['id']??'')[_0x291e02(0x24d)]()[_0x291e02(0x3ca)]();}return String(_0x2a19f7??'')[_0x291e02(0x24d)]()[_0x291e02(0x3ca)]();}function In(_0x4e24d8,_0x436255){const _0x3902e1=_0x282c57;let _0x181d96=Ln(_0x4e24d8),_0x2729eb=Rn(_0x436255[_0x3902e1(0x50c)]??{});return _0x181d96[_0x3902e1(0x26a)](_0x55f17c=>_0x2729eb[_0x3902e1(0x268)](_0x55f17c)??[_0x55f17c])['filter']((_0x487c74,_0x10c710,_0x14a9f4)=>_0x487c74!==''&&_0x14a9f4[_0x3902e1(0x1f4)](_0x487c74)===_0x10c710);}function Ln(_0x1115f1){const _0x4acaee=_0x282c57;if(_0x1115f1==null||_0x1115f1==='')return[];if(Array['isArray'](_0x1115f1))return _0x1115f1[_0x4acaee(0x26a)](_0x21903a=>Ln(_0x21903a));if(_0x1115f1&&typeof _0x1115f1=='object'){let _0x2da63b=_0x1115f1;return['id',_0x4acaee(0x2f4),_0x4acaee(0x19c),'value',_0x4acaee(0x4b7)][_0x4acaee(0x26a)](_0x59b777=>Ln(_0x2da63b[_0x59b777]))[_0x4acaee(0x4cc)]((_0x2d837f,_0x1ecfbd,_0x3a8185)=>_0x3a8185[_0x4acaee(0x1f4)](_0x2d837f)===_0x1ecfbd);}return[Fn(_0x1115f1)];}function Rn(_0x3dbe52){const _0x1ae6b2=_0x282c57;let _0x6fc782=new Map();return(Array[_0x1ae6b2(0x3d5)](_0x3dbe52['options'])?_0x3dbe52['options']:[])['forEach'](_0x21a7cb=>{const _0x198b0a=_0x1ae6b2;if(!_0x21a7cb||typeof _0x21a7cb!=_0x198b0a(0x4ba))return;let _0x17a7f8=Ln(_0x21a7cb),_0x76da4=_0x17a7f8[_0x198b0a(0x4cc)]((_0x4e830c,_0x3cab01)=>_0x4e830c!==''&&_0x17a7f8['indexOf'](_0x4e830c)===_0x3cab01);_0x76da4[_0x198b0a(0x34b)](_0x49c8cb=>_0x6fc782['set'](_0x49c8cb,_0x76da4));}),_0x6fc782;}function H(_0xb61899,_0x521f98={},_0x20da5e=_0x260b35=>_0x260b35,_0x3e3f3e={}){const _0x15b0ca=_0x282c57;let _0x45904e=!_n['has'](_0xb61899),_0x1141aa=_0x20da5e??(_0x114c3c=>_0x114c3c);return{'type':_0xb61899,'i18nKey':_0x15b0ca(0x542)+_0xb61899,'enabled':_0x45904e,'visibleInCreateMenu':_0x45904e,'createDefaultConfig':_0x3e3f3e['createDefaultConfig']??(()=>({})),'createDefaultValue':_0x3e3f3e[_0x15b0ca(0x313)]??(_0x309555=>_0x309555[_0x15b0ca(0x522)]??null),'normalize':(_0xe71ee2,_0x51f80a)=>_0x1141aa(_0xe71ee2,_0x51f80a),'validate':(_0x18d958,_0x55613f)=>{const _0x5d726e=_0x15b0ca;var _0x319c14;return _0x45904e?((_0x319c14=_0x3e3f3e['validate'])==null?void 0x0:_0x319c14[_0x5d726e(0x2a4)](_0x3e3f3e,_0x18d958,_0x55613f))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x22ebe9,_0x1d5fca)=>bn(_0x22ebe9,_0x1d5fca),'filter':(_0x1c4df9,_0x5078d6,_0x421121,_0x358a10)=>xn(_0x1c4df9,_0x5078d6,_0x421121,_0x358a10),'toPlainText':_0x3e3f3e[_0x15b0ca(0x49d)]??(_0x212af0=>_0x212af0==null?'':String(_0x212af0)),'fromPlainText':_0x3e3f3e[_0x15b0ca(0x1c5)]??(_0xc69de7=>_0x1141aa(_0xc69de7,{'id':'','name':'','type':_0xb61899,'config':{}})),'getCapabilities':()=>({...gn,..._0x521f98,'editable':_0x45904e&&(_0x521f98[_0x15b0ca(0x3f7)]??gn[_0x15b0ca(0x3f7)])})};}function zn(){const _0x310d3a=_0x282c57;return[H(_0x239099[_0x310d3a(0x34a)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x310d3a(0x3de)}),'createDefaultValue':_0x17ab31=>_0x17ab31[_0x310d3a(0x522)]??''}),H(_0x239099[_0x310d3a(0x2fe)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x5c7ac9=>_0x5c7ac9==null||_0x5c7ac9===''?null:String(_0x5c7ac9),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x310d3a(0x27e)}})}),H(_0x239099['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x107ff1=>Array['isArray'](_0x107ff1)?_0x107ff1[_0x310d3a(0x309)](String):_0x107ff1==null?[]:[String(_0x107ff1)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x310d3a(0x27e)}}),'createDefaultValue':_0xfbb45d=>_0xfbb45d[_0x310d3a(0x522)]??[]}),H(_0x239099[_0x310d3a(0x2a5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x310d3a(0x540)}),'validate':Gn}),H(_0x239099['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x310d3a(0x359)}),'createDefaultValue':_0x2f5bb7=>_0x2f5bb7[_0x310d3a(0x522)]??[],'validate':Kn}),H(_0x239099['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x45749f=>un(_0x45749f),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x239099[_0x310d3a(0x392)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x3ce28f=>_0x3ce28f==null?[]:Array[_0x310d3a(0x3d5)](_0x3ce28f)?_0x3ce28f:[_0x3ce28f],{'createDefaultValue':_0x2def2d=>_0x2def2d[_0x310d3a(0x522)]??[]}),H(_0x239099[_0x310d3a(0x546)],{},_0x51e060=>_0x51e060==null||_0x51e060===''?null:Number(_0x51e060),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x239099[_0x310d3a(0x379)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2aea33=>_0x2aea33===!0x0||_0x2aea33===_0x310d3a(0x2ee)||_0x2aea33===0x1||_0x2aea33==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x310d3a(0x490)}),'createDefaultValue':_0x1f7a64=>_0x1f7a64[_0x310d3a(0x522)]??!0x1,'validate':_0xda468f=>typeof _0xda468f==_0x310d3a(0x386)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x310d3a(0x26b)}}),H(_0x239099[_0x310d3a(0x1d7)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x310d3a(0x4d4)}),'toPlainText':_0x5a0c3f=>Zn(_0x5a0c3f),'fromPlainText':_0x7fb6bf=>Xn(_0x7fb6bf)}),H(_0x239099[_0x310d3a(0x41e)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x310d3a(0x257),'pattern':_0x310d3a(0x218)}}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x1f6)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x310d3a(0x1c3)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x4c1)],{'usableAsTitle':!0x0},_0xccc385=>_0xccc385==null?null:String(_0xccc385)[_0x310d3a(0x24d)](),{'validate':_0x385576=>_0x385576==null||_0x385576===''||/^\+?[0-9 ()-]{6,20}$/[_0x310d3a(0x1ef)](String(_0x385576))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x239099['Email'],{'usableAsTitle':!0x0},_0x22e68e=>_0x22e68e==null?null:String(_0x22e68e)[_0x310d3a(0x24d)](),{'validate':_0x271367=>_0x271367==null||_0x271367===''||$n(String(_0x271367))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x310d3a(0x3e9)}}),H(_0x239099[_0x310d3a(0x2ca)],{'usableAsGanttProgress':!0x0},_0x505ba8=>_0x505ba8==null||_0x505ba8===''?null:Number(_0x505ba8),{'createDefaultConfig':()=>({'format':_0x310d3a(0x384),'decimalPlaces':0x0,'color':_0x310d3a(0x42c),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x36f39b,_0x167b99)=>Yn(_0x36f39b,_0x167b99,_0x310d3a(0x43b))}),H(_0x239099['Currency'],{},_0x548c16=>_0x548c16==null||_0x548c16===''?null:Number(_0x548c16),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x239099['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x834803=>_0x834803==null||_0x834803===''?null:Number(_0x834803),{'createDefaultConfig':()=>({'icon':_0x310d3a(0x26d),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x28ee49,_0x4de250)=>Yn(_0x28ee49,_0x4de250,_0x310d3a(0x45b))}),H(_0x239099[_0x310d3a(0x2c2)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x942bef,_0x21e20b)=>ze(_0x942bef,_0x21e20b[_0x310d3a(0x50c)][_0x310d3a(0x3ea)]===!0x0)}),H(_0x239099['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x239099[_0x310d3a(0x4be)],{'editable':!0x1,'groupable':!0x0},_0x2eabd4=>_0x2eabd4==null?null:String(_0x2eabd4),{'createDefaultConfig':()=>({'provider':_0x310d3a(0x1c1)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x532)],{'editable':!0x1,'groupable':!0x0},_0x2a96d5=>_0x2a96d5==null?null:String(_0x2a96d5),{'createDefaultConfig':()=>({'provider':_0x310d3a(0x1c1)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x35d)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5cf8be=>un(_0x5cf8be),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x239099[_0x310d3a(0x1bc)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x57e61d=>un(_0x57e61d),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x1f87bd=_0x282c57;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x1f87bd(0x3d9),'useThousands':!0x0,'abbreviation':_0x1f87bd(0x3f5),'allowNegative':!0x0};}function Vn(){const _0x3247a2=_0x282c57;return{'locale':_0x3247a2(0x1a9),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x3247a2(0x536),'defaultMode':'none'};}function Hn(_0x154505){const _0x32da03=_0x282c57;return _0x154505==null||_0x154505===''?[]:Array[_0x32da03(0x3d5)](_0x154505)?_0x154505['map'](String):[String(_0x154505)];}function Un(_0x307110){const _0x15d82a=_0x282c57;return typeof _0x307110==_0x15d82a(0x3e3)?_0x307110:'';}function Wn(_0x4151ed,_0x48b885){const _0xa8f073=_0x282c57;return _0x4151ed==null||_0x4151ed===''?_0x48b885['config'][_0xa8f073(0x1c8)]===!0x0?[]:null:_0x48b885[_0xa8f073(0x50c)][_0xa8f073(0x1c8)]===!0x0?Array[_0xa8f073(0x3d5)](_0x4151ed)?_0x4151ed['map'](String):[String(_0x4151ed)]:Array['isArray'](_0x4151ed)?String(_0x4151ed[0x0]??'')||null:String(_0x4151ed);}function Gn(_0x143cba,_0x3438ba){const _0x460f82=_0x282c57;return _0x3438ba[_0x460f82(0x50c)][_0x460f82(0x1c8)]===!0x0?Kn(_0x143cba):_0x143cba==null||_0x143cba===''||typeof _0x143cba=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x460f82(0x2e1)};}function Kn(_0x5538d4){const _0x4cf559=_0x282c57;return _0x5538d4==null||Array['isArray'](_0x5538d4)&&_0x5538d4['every'](_0x29037b=>typeof _0x29037b==_0x4cf559(0x3e3))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4cf559(0x338)};}function qn(_0x3413ad){const _0x2cd104=_0x282c57;return _0x3413ad==null||typeof _0x3413ad=='number'&&Number[_0x2cd104(0x210)](_0x3413ad)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2cd104(0x2f7)};}function Jn(_0x2ca6c3,_0x4ac7c6){const _0x425e05=_0x282c57;return _0x2ca6c3==null||_0x2ca6c3===''?{'valid':!0x0}:typeof _0x2ca6c3!='number'||!Number['isFinite'](_0x2ca6c3)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x4ac7c6[_0x425e05(0x50c)]['allowNegative']===!0x1&&_0x2ca6c3<0x0?{'valid':!0x1,'reason':_0x425e05(0x18d)}:{'valid':!0x0};}function Yn(_0xf28e1d,_0x3bd6d7,_0x1897eb){const _0x2f2e3c=_0x282c57;let _0x561841=Jn(_0xf28e1d,_0x3bd6d7);if(!_0x561841['valid']||_0xf28e1d==null||_0xf28e1d==='')return _0x561841;let _0x76ebd7=Number(_0x3bd6d7[_0x2f2e3c(0x50c)][_0x2f2e3c(0x520)]??_0x3bd6d7['config'][_0x2f2e3c(0x230)]??0x0),_0x56ed3e=Number(_0x3bd6d7[_0x2f2e3c(0x50c)][_0x2f2e3c(0x468)]??_0x3bd6d7['config'][_0x2f2e3c(0x248)]??0x64),_0x243630=Number(_0xf28e1d);return _0x243630>=_0x76ebd7&&_0x243630<=_0x56ed3e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1897eb};}function Xn(_0x310053){const _0x5dd255=_0x282c57;if(_0x310053==null||_0x310053==='')return null;if(typeof _0x310053==_0x5dd255(0x4ba)&&!Array[_0x5dd255(0x3d5)](_0x310053)){let _0x271719=_0x310053,_0x2f363c=typeof _0x271719[_0x5dd255(0x4b7)]==_0x5dd255(0x3e3)?_0x271719[_0x5dd255(0x4b7)][_0x5dd255(0x24d)]():'',_0x27853b=typeof _0x271719[_0x5dd255(0x45d)]==_0x5dd255(0x3e3)?_0x271719[_0x5dd255(0x45d)]['trim']():'',_0xde958b=Qn(_0x27853b||_0x2f363c);return _0xde958b?{'text':_0x2f363c||_0x27853b||_0xde958b,'url':_0xde958b}:null;}let _0x320365=String(_0x310053)[_0x5dd255(0x24d)](),_0x1fb38a=Qn(_0x320365);return _0x1fb38a?{'text':_0x320365,'url':_0x1fb38a}:null;}function Zn(_0x425cbf){const _0x2c600b=_0x282c57;if(_0x425cbf==null)return'';if(typeof _0x425cbf==_0x2c600b(0x4ba)&&!Array[_0x2c600b(0x3d5)](_0x425cbf)){let _0x12f1da=_0x425cbf;return String(_0x12f1da[_0x2c600b(0x4b7)]||_0x12f1da[_0x2c600b(0x45d)]||'');}return String(_0x425cbf);}function Qn(_0x451de2){const _0x23679a=_0x282c57;let _0x3929a9=_0x451de2[_0x23679a(0x24d)]();if(!_0x3929a9)return'';let _0x48d8ee=/^[a-z][a-z\d+.-]*:/i[_0x23679a(0x1ef)](_0x3929a9)?_0x3929a9:_0x3929a9['startsWith']('//')?_0x23679a(0x553)+_0x3929a9:_0x23679a(0x2dc)+_0x3929a9;try{let _0x378eb1=new URL(_0x48d8ee);return _0x378eb1[_0x23679a(0x2f9)]===_0x23679a(0x385)||_0x378eb1['protocol']===_0x23679a(0x553)?_0x378eb1[_0x23679a(0x3c1)]:'';}catch{return'';}}function $n(_0x527224){const _0x40b701=_0x282c57;let _0x3b83d5=_0x527224[_0x40b701(0x1f4)]('@');if(_0x3b83d5<=0x0||_0x3b83d5!==_0x527224[_0x40b701(0x441)]('@'))return!0x1;let _0x391848=_0x527224['slice'](_0x3b83d5+0x1);return _0x391848['includes']('.')&&!_0x527224[_0x40b701(0x3df)]('\x20')&&!_0x391848['startsWith']('.')&&!_0x391848['endsWith']('.');}const U={'table':_0x4d5f4e=>['tables',_0x4d5f4e],'field':(_0x43eb9c,_0x5c0103)=>[_0x282c57(0x528),_0x43eb9c,_0x282c57(0x453),_0x5c0103],'fieldOrder':(_0x2c796a,_0x339c35)=>[_0x282c57(0x528),_0x2c796a,_0x282c57(0x534),_0x339c35],'record':(_0x566507,_0x283c0f)=>[_0x282c57(0x528),_0x566507,_0x282c57(0x1e1),_0x283c0f],'cell':(_0x4a8e7c,_0x263a2b,_0x578b21)=>[_0x282c57(0x528),_0x4a8e7c,'records',_0x263a2b,_0x282c57(0x54e),_0x578b21],'cellData':(_0x307d81,_0x4fbc71,_0x200288)=>[_0x282c57(0x528),_0x307d81,_0x282c57(0x343),String(_0x4fbc71),String(_0x200288)],'attachmentSet':(_0xa04fbd,_0x2cb146)=>[_0x282c57(0x528),_0xa04fbd,_0x282c57(0x27b),_0x282c57(0x556),_0x2cb146],'attachment':(_0x1c5607,_0x2caf4f)=>[_0x282c57(0x528),_0x1c5607,'resources',_0x282c57(0x3ba),_0x2caf4f],'view':(_0x58faf8,_0x18f505)=>[_0x282c57(0x528),_0x58faf8,_0x282c57(0x4f9),_0x18f505],'viewFieldHidden':(_0x21820d,_0x37bab7,_0x25f0d7)=>[_0x282c57(0x528),_0x21820d,_0x282c57(0x4f9),_0x37bab7,'fieldSettings',_0x25f0d7,'hidden']};var W=class{[_0x282c57(0x20b)](_0x5533ea,_0x5c9804){const _0x31efc2=_0x282c57;let _0x437e54=this[_0x31efc2(0x3bd)](_0x5533ea,_0x5533ea[_0x31efc2(0x2f4)],_0x5c9804);return R([this[_0x31efc2(0x4b2)]([_0x31efc2(0x2f4)],_0x5533ea['name'],_0x5c9804),..._0x437e54?[_0x437e54]:[]]);}['renameFormulaUnitReferences'](_0x1713a2,_0x27c255,_0x5adab2){const _0x5a5563=_0x282c57;let _0x2a1e1a=Object[_0x5a5563(0x54e)](_0x1713a2['tables'])[_0x5a5563(0x26a)](_0x4eede8=>Object[_0x5a5563(0x54e)](_0x4eede8[_0x5a5563(0x453)])[_0x5a5563(0x26a)](_0x15ca50=>{const _0x3c21fc=_0x5a5563;var _0x3612e8,_0x4e3cdd;if(_0x15ca50['type']!==_0x239099[_0x3c21fc(0x41e)])return[];let _0x4559f4=String(((_0x3612e8=_0x15ca50[_0x3c21fc(0x50c)])==null?void 0x0:_0x3612e8['formula'])??''),_0x491efc=_0x54dc4c(_0x4559f4,_0x27c255,_0x5adab2);return _0x491efc===_0x4559f4?[]:[this[_0x3c21fc(0x4b2)]([...U[_0x3c21fc(0x2d9)](_0x4eede8['id'],_0x15ca50['id']),_0x3c21fc(0x50c),_0x3c21fc(0x557)],(_0x4e3cdd=_0x15ca50['config'])==null?void 0x0:_0x4e3cdd[_0x3c21fc(0x557)],_0x491efc)];}));return _0x2a1e1a[_0x5a5563(0x4ab)]>0x0?R(_0x2a1e1a):void 0x0;}['createTable'](_0x4b5518,_0x2d6e37,_0x1799cb=_0x4b5518['tableOrder'][_0x282c57(0x4ab)]){const _0x1a937b=_0x282c57;let _0x568592=_0x1d3afd(_0x2d6e37['name'],_0x41215d(_0x4b5518)[_0x1a937b(0x54e)](),_0x2d6e37[_0x1a937b(0x3ab)]),_0x53ae4e=_0x2d6e37['formulaName']===_0x568592?_0x2d6e37:{..._0x2d6e37,'formulaName':_0x568592};return R([...this[_0x1a937b(0x4bf)](_0x4b5518),_0x2f9032['insertOp'](U[_0x1a937b(0x270)](_0x2d6e37['id']),_0x53ae4e),_0x2f9032[_0x1a937b(0x1d0)]([_0x1a937b(0x1ae),_0x1799cb],_0x2d6e37['id'])]);}['renameTable'](_0x4e69d0,_0x4cdd05,_0x121ae4){const _0x298acf=_0x282c57;let _0x81494c=_0x4e69d0[_0x298acf(0x528)][_0x4cdd05];return R([...this[_0x298acf(0x4bf)](_0x4e69d0),_0x2f9032[_0x298acf(0x3b0)]([...U[_0x298acf(0x270)](_0x4cdd05),'name'],_0x81494c['name'],_0x121ae4)]);}[_0x282c57(0x447)](_0x11d285,_0x270f5e){const _0x379834=_0x282c57;let _0x389af8=_0x11d285['tables'][_0x270f5e],_0xf5a230=_0x11d285[_0x379834(0x1ae)][_0x379834(0x1f4)](_0x270f5e);return R([...this['_materializeFormulaTableNames'](_0x11d285,new Set([_0x270f5e])),_0x2f9032[_0x379834(0x40b)](U[_0x379834(0x270)](_0x270f5e),_0x389af8),_0x2f9032['removeOp'](['tableOrder',_0xf5a230],_0x270f5e)]);}['createRecord'](_0x213000,_0x1fefa2,_0x581885){const _0x27a4c2=_0x282c57;return this[_0x27a4c2(0x243)](_0x213000,_0x1fefa2,[_0x581885]);}['createRecords'](_0x5c6dcd,_0x1667d9,_0x206b23){const _0x45a287=_0x282c57;let _0x39edaa=_0x5c6dcd[_0x45a287(0x528)][_0x1667d9],_0x1257d2=_0x206b23['filter'](_0x424a48=>_0x424a48&&!_0x39edaa['records'][_0x424a48['id']])[_0x45a287(0x309)](_0x59182d=>({..._0x59182d,'values':{..._0x59182d[_0x45a287(0x54e)],[_0x1a2ecc]:_0x59182d['id']}}));if(!_0x1257d2[_0x45a287(0x4ab)])return _0x2f9032[_0x45a287(0x3b0)]([...U['table'](_0x1667d9),'records'],_0x39edaa[_0x45a287(0x1e1)],_0x39edaa[_0x45a287(0x1e1)]);let _0xb20cb2=new _0x2f9032['WriteCursor'](),_0x1e0210=[..._0x1257d2][_0x45a287(0x1df)]((_0x4aa936,_0x24657f)=>_0x4aa936['id']<_0x24657f['id']?-0x1:+(_0x4aa936['id']>_0x24657f['id'])),_0x4070f9=[...U[_0x45a287(0x270)](_0x1667d9),_0x45a287(0x1e1)];_0xb20cb2[_0x45a287(0x446)](_0x4070f9);for(let _0x386363 of _0x1e0210)_0xb20cb2[_0x45a287(0x388)](_0x386363['id']),_0xb20cb2[_0x45a287(0x322)]('i',_0x386363),_0xb20cb2['ascend']();for(let _0x1bffaa=0x0;_0x1bffaa<_0x4070f9['length'];_0x1bffaa+=0x1)_0xb20cb2[_0x45a287(0x1ea)]();return R([_0xb20cb2[_0x45a287(0x268)](),this[_0x45a287(0x4ee)](_0x5c6dcd,_0x1667d9,_0x1257d2)]);}[_0x282c57(0x4fa)](_0x1fceef,_0x184ce2,_0x298167){const _0x49941b=_0x282c57;return this[_0x49941b(0x227)](_0x1fceef,_0x184ce2,[_0x298167]);}[_0x282c57(0x227)](_0x594a4f,_0x93a733,_0x139e8d){const _0x11ede1=_0x282c57;let _0x471f4e=_0x594a4f[_0x11ede1(0x528)][_0x93a733],_0x311b76=Array[_0x11ede1(0x2f3)](new Set(_0x139e8d))[_0x11ede1(0x4cc)](_0x2e6dc3=>_0x471f4e[_0x11ede1(0x1e1)][_0x2e6dc3]);if(!_0x311b76['length'])return _0x2f9032['replaceOp']([...U[_0x11ede1(0x270)](_0x93a733),_0x11ede1(0x1e1)],_0x471f4e[_0x11ede1(0x1e1)],_0x471f4e[_0x11ede1(0x1e1)]);let _0x3d9b6f=new Set(_0x311b76),_0x5a1f59=et(_0x471f4e,_0x311b76)[_0x11ede1(0x309)](_0x125597=>this[_0x11ede1(0x1e3)](_0x594a4f,_0x93a733,_0x125597['recordId'],_0x125597[_0x11ede1(0x387)],''));return R([this[_0x11ede1(0x3ee)](_0x594a4f,_0x93a733,_0x311b76,_0x3d9b6f),..._0x5a1f59]);}[_0x282c57(0x411)](_0xb60da0,_0x4db59f,_0x4e1d8d,_0x528591){const _0x3aa0d6=_0x282c57;let _0x4acd5c=_0xb60da0[_0x3aa0d6(0x528)][_0x4e1d8d],_0x9584a6=Array['from'](new Set(_0x528591))[_0x3aa0d6(0x4cc)](_0x47ee3f=>_0x4acd5c[_0x3aa0d6(0x1e1)][_0x47ee3f]),_0x4f6527=new Set(_0x9584a6);return R([new z()[_0x3aa0d6(0x35e)](_0xb60da0,this[_0x3aa0d6(0x3ee)](_0xb60da0,_0x4e1d8d,_0x9584a6,_0x4f6527)),...et(_0x4acd5c,_0x9584a6)[_0x3aa0d6(0x309)](_0xf164b4=>this[_0x3aa0d6(0x1e3)](_0x4db59f,_0x4e1d8d,_0xf164b4['recordId'],_0xf164b4[_0x3aa0d6(0x387)],_0xf164b4[_0x3aa0d6(0x1fb)]??''))]);}['_deleteRecordsBaseOp'](_0x171f96,_0x4e3992,_0x3514e0,_0x23cd30){const _0x322876=_0x282c57;let _0x1e52eb=_0x171f96[_0x322876(0x528)][_0x4e3992],_0x5ee5b0=_0x3514e0[_0x322876(0x309)](_0x416956=>{var _0x2be74d;return{'recordId':_0x416956,'index':((_0x2be74d=_0x1e52eb['recordOrder'])==null?void 0x0:_0x2be74d['indexOf'](_0x416956))??-0x1};})['filter'](_0x5ef4d5=>_0x5ef4d5[_0x322876(0x198)]>=0x0)['sort']((_0x2453c0,_0x319b32)=>_0x319b32[_0x322876(0x198)]-_0x2453c0[_0x322876(0x198)]);return R([..._0x3514e0[_0x322876(0x309)](_0x10a168=>_0x2f9032[_0x322876(0x40b)](U[_0x322876(0x3a6)](_0x4e3992,_0x10a168),_0x1e52eb[_0x322876(0x1e1)][_0x10a168])),..._0x5ee5b0[_0x322876(0x309)](({recordId:_0x4c89d1,index:_0x2b6f96})=>_0x2f9032[_0x322876(0x40b)](['tables',_0x4e3992,'recordOrder',_0x2b6f96],_0x4c89d1)),...this['_deleteAttachmentResources'](_0x1e52eb,_0x4e3992,_0x3222e7=>{const _0x57fdbf=_0x322876;let _0x3c5c14=_0x3222e7[_0x57fdbf(0x287)](_0x3222e7[_0x57fdbf(0x441)]('\x1f')+0x1);return _0x23cd30[_0x57fdbf(0x25c)](_0x3c5c14);})]);}['duplicateRecord'](_0x46596f,_0x3273db,_0x5b0592,_0x12442e){const _0x40e2a0=_0x282c57;return this[_0x40e2a0(0x32d)](_0x46596f,_0x3273db,{..._0x12442e,'values':{..._0x46596f['tables'][_0x3273db]['records'][_0x5b0592][_0x40e2a0(0x54e)],..._0x12442e[_0x40e2a0(0x54e)],[_0x1a2ecc]:_0x12442e['id']}});}['updateRecordOrder'](_0x38ea01,_0x51ab58,_0x3f4ad8,_0x29432a){const _0x4fbe8f=_0x282c57;let _0x415ad3=_0x38ea01[_0x4fbe8f(0x528)][_0x51ab58],_0x122958=[...U[_0x4fbe8f(0x3a6)](_0x51ab58,_0x3f4ad8),_0x4fbe8f(0x38a)],_0x47fd32=Object[_0x4fbe8f(0x54e)](_0x415ad3[_0x4fbe8f(0x1e1)])[_0x4fbe8f(0x309)](_0x4ac2a5=>_0x4ac2a5['id']===_0x3f4ad8?{..._0x4ac2a5,'orderKey':_0x29432a}:_0x4ac2a5)[_0x4fbe8f(0x1df)]((_0x50d906,_0x145ecb)=>String(_0x50d906['orderKey']??_0x50d906['id'])['localeCompare'](String(_0x145ecb[_0x4fbe8f(0x38a)]??_0x145ecb['id'])))[_0x4fbe8f(0x309)](_0x572ed0=>_0x572ed0['id']),_0x564279=[...U[_0x4fbe8f(0x270)](_0x51ab58),'recordOrder'];return R([this['_replaceOptional'](_0x122958,_0x415ad3[_0x4fbe8f(0x1e1)][_0x3f4ad8][_0x4fbe8f(0x38a)],_0x29432a),_0x415ad3[_0x4fbe8f(0x413)]?_0x2f9032['replaceOp'](_0x564279,_0x415ad3[_0x4fbe8f(0x413)],_0x47fd32):_0x2f9032['insertOp'](_0x564279,_0x47fd32)]);}[_0x282c57(0x1e3)](_0x19e779,_0x5af82b,_0x43ba13,_0x165519,_0x468f89){const _0x47e0b6=_0x282c57;var _0x2340b5,_0x47bcde;let _0x47c111=_0x19e779[_0x47e0b6(0x528)][_0x5af82b],_0x2d746b=ar(_0x47c111,_0x43ba13,_0x165519)?_0x47c111:L(_0x47c111),_0x1874db=(_0x2340b5=_0x2d746b[_0x47e0b6(0x277)])==null?void 0x0:_0x2340b5[_0x43ba13],_0x5c85c4=(_0x47bcde=_0x2d746b[_0x47e0b6(0x28f)])==null?void 0x0:_0x47bcde[_0x165519];if(_0x1874db==null||_0x5c85c4==null){var _0x39f114;return this[_0x47e0b6(0x4b2)](U[_0x47e0b6(0x1f9)](_0x5af82b,_0x43ba13,_0x165519),(_0x39f114=_0x19e779['tables'][_0x5af82b])==null||(_0x39f114=_0x39f114[_0x47e0b6(0x1e1)][_0x43ba13])==null?void 0x0:_0x39f114[_0x47e0b6(0x54e)][_0x165519],_0x468f89);}return this[_0x47e0b6(0x30b)](_0x19e779,_0x5af82b,[{'row':_0x1874db,'col':_0x5c85c4,'value':_0x468f89}]);}[_0x282c57(0x347)](_0x6219d7,_0xc4d24f,_0x278bbd){const _0x4ba2c0=_0x282c57;let _0x2f4bc2=_0x6219d7['tables'][_0xc4d24f],_0x4b2c99=_0x278bbd['every'](_0x600f16=>Object[_0x4ba2c0(0x334)](_0x600f16[_0x4ba2c0(0x54e)])[_0x4ba2c0(0x300)](_0x273bf8=>ar(_0x2f4bc2,_0x600f16['recordId'],_0x273bf8)))?_0x2f4bc2:L(_0x2f4bc2),_0x17719a=_0x278bbd[_0x4ba2c0(0x26a)](_0x710106=>Object[_0x4ba2c0(0x41d)](_0x710106[_0x4ba2c0(0x54e)])[_0x4ba2c0(0x26a)](([_0x104b5e,_0x2e20cb])=>{const _0x1236f7=_0x4ba2c0;var _0x2cd50a,_0x37d749;let _0x5b2061=(_0x2cd50a=_0x4b2c99[_0x1236f7(0x277)])==null?void 0x0:_0x2cd50a[_0x710106[_0x1236f7(0x40d)]],_0x24ac3f=(_0x37d749=_0x4b2c99[_0x1236f7(0x28f)])==null?void 0x0:_0x37d749[_0x104b5e];return _0x5b2061==null||_0x24ac3f==null?[]:[{'row':_0x5b2061,'col':_0x24ac3f,'value':_0x2e20cb}];})),_0x24cb83=_0x278bbd[_0x4ba2c0(0x26a)](_0x98f5a5=>Object[_0x4ba2c0(0x41d)](_0x98f5a5[_0x4ba2c0(0x4df)]??{})[_0x4ba2c0(0x309)](([_0x385712,_0x36094f])=>{const _0x1f6914=_0x4ba2c0;var _0x5ee38d;let _0x286cae=[...U[_0x1f6914(0x3a6)](_0xc4d24f,_0x98f5a5['recordId']),_0x385712],_0x94e235=(_0x5ee38d=_0x6219d7[_0x1f6914(0x528)][_0xc4d24f])==null||(_0x5ee38d=_0x5ee38d['records'][_0x98f5a5['recordId']])==null?void 0x0:_0x5ee38d[_0x385712];return this[_0x1f6914(0x4b2)](_0x286cae,_0x94e235,_0x36094f);}));return R([this[_0x4ba2c0(0x30b)](_0x6219d7,_0xc4d24f,_0x17719a),..._0x24cb83]);}[_0x282c57(0x30b)](_0x61c963,_0x63ce31,_0x336538){const _0x18d54e=_0x282c57;let _0x49f4df=_0x61c963['tables'][_0x63ce31],_0xa6fa7b=_0x336538[_0x18d54e(0x300)](_0x3879ac=>or(_0x49f4df,_0x3879ac['row'],_0x3879ac['col']))?_0x49f4df:L(_0x49f4df),_0x2d992c=new Map(),_0x12344c=_0x336538[_0x18d54e(0x26a)](_0x3c48c1=>{const _0x123974=_0x18d54e;var _0x38baa3,_0x41f230,_0x99aa7b,_0x4606b2;let _0x2d12cf=(_0x38baa3=_0xa6fa7b[_0x123974(0x46d)])==null?void 0x0:_0x38baa3[_0x3c48c1['col']],_0x2fc311=(_0x41f230=_0xa6fa7b[_0x123974(0x21b)])==null?void 0x0:_0x41f230[_0x3c48c1[_0x123974(0x2f0)]],_0x5263ca=_0x2d12cf?_0xa6fa7b[_0x123974(0x453)][_0x2d12cf]:void 0x0;if(_0x2d12cf===_0x1a2ecc||(_0x5263ca==null?void 0x0:_0x5263ca['type'])===_0x239099[_0x123974(0x205)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x141063=xt(_0x3c48c1[_0x123974(0x373)],_0x5263ca),_0x260459=(_0x99aa7b=_0xa6fa7b[_0x123974(0x343)])==null||(_0x99aa7b=_0x99aa7b[_0x3c48c1['row']])==null?void 0x0:_0x99aa7b[_0x3c48c1['col']],_0x35b55b=this[_0x123974(0x4b2)](U[_0x123974(0x343)](_0x63ce31,_0x3c48c1[_0x123974(0x2f0)],_0x3c48c1['col']),_0x260459,_0x141063);if(!_0x2d12cf||!_0x2fc311)return[_0x35b55b];let _0x4c179c=(_0x4606b2=_0xa6fa7b[_0x123974(0x1e1)][_0x2fc311])==null?void 0x0:_0x4606b2[_0x123974(0x54e)][_0x2d12cf],_0x33338e=(_0x5263ca==null?void 0x0:_0x5263ca['type'])===_0x239099[_0x123974(0x392)]?kt(_0x3c48c1[_0x123974(0x373)]):wt(_0x3c48c1['value'],_0x141063,_0x5263ca,_0xa6fa7b,_0x2fc311),_0x1f518e=[_0x35b55b,this[_0x123974(0x4b2)](U[_0x123974(0x1f9)](_0x63ce31,_0x2fc311,_0x2d12cf),_0x4c179c,_0x33338e)];return(_0x5263ca==null?void 0x0:_0x5263ca[_0x123974(0x4aa)])===_0x239099[_0x123974(0x392)]&&_0x2d992c['set'](Et(_0x2d12cf,_0x2fc311),{'recordId':_0x2fc311,'fieldId':_0x2d12cf,'attachments':_0x33338e}),_0x1f518e;});return _0x12344c['length']?R([..._0x12344c,...this[_0x18d54e(0x512)](_0xa6fa7b,_0x63ce31,Array[_0x18d54e(0x2f3)](_0x2d992c[_0x18d54e(0x54e)]()))]):_0x2f9032[_0x18d54e(0x3b0)]([_0x18d54e(0x528),_0x63ce31,_0x18d54e(0x343)],_0xa6fa7b[_0x18d54e(0x343)],_0xa6fa7b[_0x18d54e(0x343)]);}['createField'](_0x5bfd06,_0x21fec2,_0x5e242a){const _0x3ac533=_0x282c57;let _0x1959ba=_0x5bfd06[_0x3ac533(0x528)][_0x21fec2];if(_0x1959ba[_0x3ac533(0x453)][_0x5e242a['field']['id']]||_0x1959ba[_0x3ac533(0x534)][_0x3ac533(0x3df)](_0x5e242a[_0x3ac533(0x2d9)]['id']))return _0x2f9032[_0x3ac533(0x3b0)]([_0x3ac533(0x528),_0x21fec2,_0x3ac533(0x534)],_0x1959ba[_0x3ac533(0x534)],_0x1959ba[_0x3ac533(0x534)]);let _0x2ac84d=Math['max'](0x1,_0x5e242a['index']??_0x1959ba['fieldOrder'][_0x3ac533(0x4ab)]),_0x62e075=Object[_0x3ac533(0x54e)](_0x1959ba['views']??{})[_0x3ac533(0x26a)](_0x373884=>{const _0x158aa6=_0x3ac533;var _0x15840b;if(!_0x373884[_0x158aa6(0x534)]||_0x373884[_0x158aa6(0x534)][_0x158aa6(0x3df)](_0x5e242a['field']['id']))return[];let _0x57a5e7=ur(((_0x15840b=_0x5e242a[_0x158aa6(0x519)])==null?void 0x0:_0x15840b[_0x373884['id']])??_0x2ac84d,_0x373884[_0x158aa6(0x534)][_0x158aa6(0x4ab)]);return[_0x2f9032['insertOp']([...U[_0x158aa6(0x47a)](_0x21fec2,_0x373884['id']),_0x158aa6(0x534),_0x57a5e7],_0x5e242a['field']['id'])];});return R([..._0x5e242a[_0x3ac533(0x2d9)][_0x3ac533(0x4aa)]===_0x239099[_0x3ac533(0x41e)]?this[_0x3ac533(0x4bf)](_0x5bfd06):[],_0x2f9032['insertOp'](U[_0x3ac533(0x2d9)](_0x21fec2,_0x5e242a[_0x3ac533(0x2d9)]['id']),_0x5e242a[_0x3ac533(0x2d9)]),_0x2f9032[_0x3ac533(0x1d0)](U['fieldOrder'](_0x21fec2,_0x2ac84d),_0x5e242a[_0x3ac533(0x2d9)]['id']),..._0x62e075]);}[_0x282c57(0x237)](_0x503495,_0x3c41e7,_0x97f646,_0x169919){const _0x4b7292=_0x282c57;let _0xf229f2=_0x503495[_0x4b7292(0x528)][_0x3c41e7];if(!_0xf229f2[_0x4b7292(0x453)][_0x97f646]||_0xf229f2[_0x4b7292(0x453)][_0x169919[_0x4b7292(0x2d9)]['id']]||_0xf229f2['fieldOrder'][_0x4b7292(0x3df)](_0x169919[_0x4b7292(0x2d9)]['id']))return _0x2f9032['replaceOp']([_0x4b7292(0x528),_0x3c41e7,_0x4b7292(0x534)],_0xf229f2[_0x4b7292(0x534)],_0xf229f2[_0x4b7292(0x534)]);let _0x10823a=_0x169919['index']??_0xf229f2[_0x4b7292(0x534)][_0x4b7292(0x1f4)](_0x97f646)+0x1,_0x36fc08=_0xf229f2[_0x4b7292(0x534)][_0x4b7292(0x4cc)](_0x53fcfa=>_0x53fcfa!==_0x169919[_0x4b7292(0x2d9)]['id']),_0x1f62a1=cr(_0x36fc08,_0x169919[_0x4b7292(0x2d9)]['id'],_0x10823a),_0x1c27c4=Object['values'](_0xf229f2[_0x4b7292(0x4f9)]??{})[_0x4b7292(0x26a)](_0x43028a=>{const _0xc9cb4a=_0x4b7292;var _0xafaf26,_0x16a0df,_0x4b19d5,_0x4776ae;let _0x2bb11b=(_0xafaf26=_0x43028a[_0xc9cb4a(0x534)])!=null&&_0xafaf26[_0xc9cb4a(0x4ab)]?_0x43028a[_0xc9cb4a(0x534)]:_0x36fc08;if(_0x2bb11b[_0xc9cb4a(0x3df)](_0x169919['field']['id']))return[];let _0x1450f7=cr(_0x2bb11b,_0x169919[_0xc9cb4a(0x2d9)]['id'],((_0x16a0df=_0x169919[_0xc9cb4a(0x519)])==null?void 0x0:_0x16a0df[_0x43028a['id']])??_0x10823a),_0x43e8ad=(_0x4b19d5=_0x43028a[_0xc9cb4a(0x272)])==null?void 0x0:_0x4b19d5[_0x97f646];return[this[_0xc9cb4a(0x4b2)]([...U[_0xc9cb4a(0x47a)](_0x3c41e7,_0x43028a['id']),'fieldOrder'],_0x43028a[_0xc9cb4a(0x534)],_0x1450f7),..._0x43e8ad?[this[_0xc9cb4a(0x4b2)]([...U[_0xc9cb4a(0x47a)](_0x3c41e7,_0x43028a['id']),'fieldSettings',_0x169919[_0xc9cb4a(0x2d9)]['id']],(_0x4776ae=_0x43028a[_0xc9cb4a(0x272)])==null?void 0x0:_0x4776ae[_0x169919['field']['id']],_0x43e8ad)]:[]];}),_0x5055e9=Object[_0x4b7292(0x54e)](_0xf229f2[_0x4b7292(0x1e1)])[_0x4b7292(0x4cc)](_0x42a14b=>Object[_0x4b7292(0x35c)]['hasOwnProperty'][_0x4b7292(0x2a4)](_0x42a14b['values'],_0x97f646))[_0x4b7292(0x309)](_0x2d0670=>this[_0x4b7292(0x4b2)](U[_0x4b7292(0x1f9)](_0x3c41e7,_0x2d0670['id'],_0x169919[_0x4b7292(0x2d9)]['id']),_0x2d0670[_0x4b7292(0x54e)][_0x169919[_0x4b7292(0x2d9)]['id']],_0x2d0670[_0x4b7292(0x54e)][_0x97f646]));return R([..._0x169919[_0x4b7292(0x2d9)][_0x4b7292(0x4aa)]===_0x239099[_0x4b7292(0x41e)]?this[_0x4b7292(0x4bf)](_0x503495):[],_0x2f9032['insertOp'](U['field'](_0x3c41e7,_0x169919[_0x4b7292(0x2d9)]['id']),_0x169919['field']),_0x2f9032[_0x4b7292(0x3b0)]([_0x4b7292(0x528),_0x3c41e7,'fieldOrder'],_0xf229f2['fieldOrder'],_0x1f62a1),..._0x1c27c4,..._0x5055e9]);}[_0x282c57(0x2b0)](_0x40d0d1,_0xbb5388,_0x5eecfb,_0x3b87fa){const _0x479bc7=_0x282c57;let _0x43791f=_0x40d0d1[_0x479bc7(0x528)][_0xbb5388][_0x479bc7(0x453)][_0x5eecfb],_0x43f898={..._0x43791f,..._0x3b87fa};Object['keys'](_0x3b87fa)['forEach'](_0x2bed1b=>{_0x3b87fa[_0x2bed1b]===void 0x0&&delete _0x43f898[_0x2bed1b];});let _0x23f409=er(_0x40d0d1[_0x479bc7(0x528)][_0xbb5388],_0x5eecfb,_0x43791f,_0x43f898);_0x43f898=_0x23f409[_0x479bc7(0x2d9)];let _0x2e1f93=_0x2f9032[_0x479bc7(0x3b0)](U[_0x479bc7(0x2d9)](_0xbb5388,_0x5eecfb),_0x43791f,_0x43f898);return _0x43f898[_0x479bc7(0x4aa)]===_0x239099['Formula']?R([...this[_0x479bc7(0x4bf)](_0x40d0d1),_0x2e1f93,...this[_0x479bc7(0x4f2)](_0x40d0d1,_0xbb5388,_0x5eecfb,_0x43f898)]):R([_0x2e1f93,..._0x23f409['patches'][_0x479bc7(0x4ab)]?[this[_0x479bc7(0x30b)](_0x40d0d1,_0xbb5388,_0x23f409['patches'])]:[]]);}[_0x282c57(0x44f)](_0x2be53e,_0x160dd9,_0x52baa2,_0x123187){return this['updateField'](_0x2be53e,_0x160dd9,_0x52baa2,_0x123187);}[_0x282c57(0x47b)](_0x38c542,_0x5b94a1,_0xbffd1b){const _0x347475=_0x282c57;let _0x8646fd=_0x38c542[_0x347475(0x528)][_0x5b94a1];if(!(_0x8646fd!=null&&_0x8646fd[_0x347475(0x453)][_0xbffd1b])||_0x8646fd[_0x347475(0x45c)]===_0xbffd1b||_0xbffd1b===_0x1a2ecc)return _0x2f9032[_0x347475(0x3b0)]([_0x347475(0x528),_0x5b94a1,_0x347475(0x534)],_0x8646fd==null?void 0x0:_0x8646fd[_0x347475(0x534)],_0x8646fd==null?void 0x0:_0x8646fd[_0x347475(0x534)]);let _0x5257d6=_0x8646fd[_0x347475(0x534)][_0x347475(0x1f4)](_0xbffd1b),_0x2f29a4=Object[_0x347475(0x54e)](_0x8646fd['views'])[_0x347475(0x26a)](_0x9ae4ea=>{const _0x1b0ce8=_0x347475;var _0x57bc5b,_0xc11273,_0x46dee8,_0x2989f1,_0x3efb12,_0x5f0718,_0x3c6982;let _0x27a18a=[],_0x38dc93=((_0x57bc5b=_0x9ae4ea['fieldOrder'])==null?void 0x0:_0x57bc5b[_0x1b0ce8(0x1f4)](_0xbffd1b))??-0x1;_0x38dc93>=0x0&&_0x27a18a[_0x1b0ce8(0x381)](_0x2f9032[_0x1b0ce8(0x40b)]([...U['view'](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x534),_0x38dc93],_0xbffd1b));let _0x13e91e=(_0xc11273=_0x9ae4ea[_0x1b0ce8(0x272)])==null?void 0x0:_0xc11273[_0xbffd1b];_0x13e91e!==void 0x0&&_0x27a18a['push'](_0x2f9032[_0x1b0ce8(0x40b)]([...U['view'](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x272),_0xbffd1b],_0x13e91e));let _0x933dab=_0x9ae4ea[_0x1b0ce8(0x4cc)]?{..._0x9ae4ea[_0x1b0ce8(0x4cc)],'conditions':_0x9ae4ea[_0x1b0ce8(0x4cc)]['conditions'][_0x1b0ce8(0x4cc)](_0x3eef23=>_0x3eef23[_0x1b0ce8(0x387)]!==_0xbffd1b)}:_0x9ae4ea[_0x1b0ce8(0x4cc)];_0x933dab&&_0x933dab[_0x1b0ce8(0x3d8)][_0x1b0ce8(0x4ab)]!==((_0x46dee8=_0x9ae4ea[_0x1b0ce8(0x4cc)])==null?void 0x0:_0x46dee8['conditions'][_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this['_replaceOptional']([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x4cc)],_0x9ae4ea['filter'],_0x933dab));let _0x1563d2=(_0x2989f1=_0x9ae4ea[_0x1b0ce8(0x1df)])==null?void 0x0:_0x2989f1[_0x1b0ce8(0x4cc)](_0x4f5a01=>_0x4f5a01[_0x1b0ce8(0x387)]!==_0xbffd1b);_0x1563d2&&_0x1563d2[_0x1b0ce8(0x4ab)]!==((_0x3efb12=_0x9ae4ea[_0x1b0ce8(0x1df)])==null?void 0x0:_0x3efb12[_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this['_replaceOptional']([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x1df)],_0x9ae4ea[_0x1b0ce8(0x1df)],_0x1563d2));let _0xa76b09=(_0x5f0718=_0x9ae4ea['group'])==null?void 0x0:_0x5f0718['filter'](_0x3cbe7f=>_0x3cbe7f[_0x1b0ce8(0x387)]!==_0xbffd1b);_0xa76b09&&_0xa76b09[_0x1b0ce8(0x4ab)]!==((_0x3c6982=_0x9ae4ea[_0x1b0ce8(0x359)])==null?void 0x0:_0x3c6982[_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this[_0x1b0ce8(0x4b2)]([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x359)],_0x9ae4ea[_0x1b0ce8(0x359)],_0xa76b09));let _0x20a72a=lr(_0x9ae4ea[_0x1b0ce8(0x50c)],_0xbffd1b);return JSON[_0x1b0ce8(0x2fb)](_0x20a72a)!==JSON[_0x1b0ce8(0x2fb)](_0x9ae4ea[_0x1b0ce8(0x50c)])&&_0x27a18a[_0x1b0ce8(0x381)](_0x2f9032[_0x1b0ce8(0x3b0)]([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x50c)],_0x9ae4ea[_0x1b0ce8(0x50c)],_0x20a72a)),_0x27a18a;}),_0x2358df=Object['values'](_0x8646fd['records'])[_0x347475(0x26a)](_0x3adbd7=>Object['prototype']['hasOwnProperty'][_0x347475(0x2a4)](_0x3adbd7[_0x347475(0x54e)],_0xbffd1b)?[_0x2f9032[_0x347475(0x40b)](U[_0x347475(0x1f9)](_0x5b94a1,_0x3adbd7['id'],_0xbffd1b),_0x3adbd7[_0x347475(0x54e)][_0xbffd1b])]:[]);return R([_0x2f9032['removeOp'](U[_0x347475(0x2d9)](_0x5b94a1,_0xbffd1b),_0x8646fd[_0x347475(0x453)][_0xbffd1b]),_0x2f9032[_0x347475(0x40b)](U['fieldOrder'](_0x5b94a1,_0x5257d6),_0xbffd1b),..._0x2f29a4,..._0x2358df,...this[_0x347475(0x380)](_0x8646fd,_0x5b94a1,_0xc3a6b0=>_0xc3a6b0[_0x347475(0x289)](_0xbffd1b+'\x1f'))]);}[_0x282c57(0x1cc)](_0x2fc902,_0x3b82e8,_0x512c02,_0x5db33e){const _0x19d0a8=_0x282c57;let _0x3637a9=_0x2fc902[_0x19d0a8(0x528)][_0x3b82e8]['fieldOrder'];if(_0x512c02===_0x1a2ecc||_0x5db33e[_0x19d0a8(0x21a)]===_0x1a2ecc)throw Error(_0x19d0a8(0x18e));let _0x346eee=sr(_0x3637a9,_0x512c02,_0x5db33e);return _0x2f9032[_0x19d0a8(0x3b0)](['tables',_0x3b82e8,'fieldOrder'],_0x3637a9,_0x346eee);}[_0x282c57(0x24a)](_0x560cc6,_0x5ea5b2,_0x459d5a,_0x8f2d50=_0x560cc6[_0x282c57(0x528)][_0x5ea5b2][_0x282c57(0x3a5)]['length']){const _0x381852=_0x282c57;return R([_0x2f9032['insertOp'](U['view'](_0x5ea5b2,_0x459d5a['id']),_0x459d5a),_0x2f9032[_0x381852(0x1d0)](['tables',_0x5ea5b2,_0x381852(0x3a5),_0x8f2d50],_0x459d5a['id'])]);}['renameView'](_0x21a68c,_0x12f4e8,_0x2fc3fa,_0x1eccc7){const _0x25d9c1=_0x282c57;return _0x2f9032[_0x25d9c1(0x3b0)]([...U[_0x25d9c1(0x47a)](_0x12f4e8,_0x2fc3fa),_0x25d9c1(0x2f4)],_0x21a68c[_0x25d9c1(0x528)][_0x12f4e8][_0x25d9c1(0x4f9)][_0x2fc3fa]['name'],_0x1eccc7);}[_0x282c57(0x3fa)](_0x32524b,_0x3cab1a,_0x433eee){const _0x3e57b3=_0x282c57;let _0x232a07=_0x32524b[_0x3e57b3(0x528)][_0x3cab1a],_0x2b9a7c=_0x232a07[_0x3e57b3(0x4f9)][_0x433eee],_0x5611e0=_0x232a07['viewOrder'][_0x3e57b3(0x1f4)](_0x433eee);return R([_0x2f9032[_0x3e57b3(0x40b)](U['view'](_0x3cab1a,_0x433eee),_0x2b9a7c),_0x2f9032['removeOp']([_0x3e57b3(0x528),_0x3cab1a,_0x3e57b3(0x3a5),_0x5611e0],_0x433eee)]);}[_0x282c57(0x360)](_0x106f40,_0x2f7bf,_0xbcae45,_0x566358){const _0x3e474e=_0x282c57;let _0x5f95f5=_0x106f40[_0x3e474e(0x528)][_0x2f7bf][_0x3e474e(0x3a5)],_0x33f8fb=sr(_0x5f95f5,_0xbcae45,{'beforeFieldId':_0x566358[_0x3e474e(0x454)],'afterFieldId':_0x566358[_0x3e474e(0x314)]});return _0x2f9032[_0x3e474e(0x3b0)](['tables',_0x2f7bf,'viewOrder'],_0x5f95f5,_0x33f8fb);}[_0x282c57(0x393)](_0x1048a5,_0x3e570d,_0x5d4417,_0x4e23fe){const _0x10dc8e=_0x282c57;let _0x37195a=_0x1048a5[_0x10dc8e(0x528)][_0x3e570d][_0x10dc8e(0x4f9)][_0x5d4417][_0x10dc8e(0x50c)]??{},_0x37c0e6={..._0x37195a,..._0x4e23fe};return Object[_0x10dc8e(0x334)](_0x4e23fe)[_0x10dc8e(0x34b)](_0x1644d7=>{_0x4e23fe[_0x1644d7]===void 0x0&&delete _0x37c0e6[_0x1644d7];}),_0x2f9032[_0x10dc8e(0x3b0)]([...U[_0x10dc8e(0x47a)](_0x3e570d,_0x5d4417),_0x10dc8e(0x50c)],_0x37195a,_0x37c0e6);}['setViewFilter'](_0x2d1615,_0xc31589,_0x2c1fba,_0x139286){const _0x19b921=_0x282c57;return this[_0x19b921(0x4b2)]([...U[_0x19b921(0x47a)](_0xc31589,_0x2c1fba),_0x19b921(0x4cc)],_0x2d1615[_0x19b921(0x528)][_0xc31589]['views'][_0x2c1fba][_0x19b921(0x4cc)],_0x139286);}[_0x282c57(0x36b)](_0x48898e,_0x592e70,_0x5e6632,_0x56fc4c){const _0x400f50=_0x282c57;return this[_0x400f50(0x4b2)]([...U['view'](_0x592e70,_0x5e6632),'sort'],_0x48898e[_0x400f50(0x528)][_0x592e70][_0x400f50(0x4f9)][_0x5e6632][_0x400f50(0x1df)],_0x56fc4c);}['setViewGroup'](_0x3f8cf5,_0x4b6e18,_0x21bff8,_0x1cd5ed){const _0x3fe3b6=_0x282c57;return this[_0x3fe3b6(0x4b2)]([...U[_0x3fe3b6(0x47a)](_0x4b6e18,_0x21bff8),_0x3fe3b6(0x359)],_0x3f8cf5[_0x3fe3b6(0x528)][_0x4b6e18][_0x3fe3b6(0x4f9)][_0x21bff8][_0x3fe3b6(0x359)],_0x1cd5ed);}['setViewFieldVisible'](_0x183f02,_0x5b17d0,_0x46b839,_0x1fbc1c,_0x3ef44c){const _0x29e8d2=_0x282c57;return this[_0x29e8d2(0x1d5)](_0x183f02,_0x5b17d0,_0x46b839,_0x1fbc1c,{'hidden':!_0x3ef44c});}[_0x282c57(0x229)](_0x5cf40f,_0x3f4a35,_0x644e71,_0x5a10d9,_0x358238){const _0x3bf455=_0x282c57;return this[_0x3bf455(0x1d5)](_0x5cf40f,_0x3f4a35,_0x644e71,_0x5a10d9,{'width':_0x358238});}[_0x282c57(0x2af)](_0x458d0d,_0x28d770,_0x55a780,_0x55a542,_0xd1773e){const _0x192d9e=_0x282c57;let _0xb3d0f6=_0x458d0d[_0x192d9e(0x528)][_0x28d770][_0x192d9e(0x4f9)][_0x55a780],_0x105ad5=sr(_0xb3d0f6['fieldOrder']??_0x458d0d[_0x192d9e(0x528)][_0x28d770][_0x192d9e(0x534)],_0x55a542,_0xd1773e);return this['_replaceOptional']([...U[_0x192d9e(0x47a)](_0x28d770,_0x55a780),_0x192d9e(0x534)],_0xb3d0f6[_0x192d9e(0x534)],_0x105ad5);}['_setViewFieldSetting'](_0x3f94f3,_0x2049c2,_0x458b64,_0x376548,_0x14e327){const _0x4ba021=_0x282c57;let _0x4c27f6=_0x3f94f3[_0x4ba021(0x528)][_0x2049c2][_0x4ba021(0x4f9)][_0x458b64][_0x4ba021(0x272)]??{},_0x3f9c1c={..._0x4c27f6,[_0x376548]:{..._0x4c27f6[_0x376548],..._0x14e327}};return this[_0x4ba021(0x4b2)]([...U[_0x4ba021(0x47a)](_0x2049c2,_0x458b64),_0x4ba021(0x272)],_0x3f94f3['tables'][_0x2049c2][_0x4ba021(0x4f9)][_0x458b64][_0x4ba021(0x272)],_0x3f9c1c);}['_createRecordOrderOp'](_0x246077,_0x562c54,_0x105035){const _0xe77f01=_0x282c57;let _0x37ee80=_0x246077[_0xe77f01(0x528)][_0x562c54],_0x7ce673=new Set(_0x105035[_0xe77f01(0x309)](_0x17314c=>_0x17314c['id'])),_0x4fed5a=[...Object[_0xe77f01(0x54e)](_0x37ee80['records'])['filter'](_0x12a3b5=>!_0x7ce673[_0xe77f01(0x25c)](_0x12a3b5['id'])),..._0x105035][_0xe77f01(0x1df)]((_0x3c1f39,_0x4808da)=>String(_0x3c1f39['orderKey']??_0x3c1f39['id'])[_0xe77f01(0x506)](String(_0x4808da[_0xe77f01(0x38a)]??_0x4808da['id'])))[_0xe77f01(0x309)](_0x1d7889=>_0x1d7889['id']),_0x30eb04=[...U[_0xe77f01(0x270)](_0x562c54),_0xe77f01(0x413)];return _0x37ee80[_0xe77f01(0x413)]?_0x2f9032[_0xe77f01(0x3b0)](_0x30eb04,_0x37ee80[_0xe77f01(0x413)],_0x4fed5a):_0x2f9032['insertOp'](_0x30eb04,_0x4fed5a);}[_0x282c57(0x4bf)](_0x14938e,_0x362ee5=new Set()){const _0x380fe5=_0x282c57;let _0x1a9223=_0x41215d(_0x14938e);return Object[_0x380fe5(0x54e)](_0x14938e['tables'])[_0x380fe5(0x4cc)](_0x426942=>!_0x362ee5['has'](_0x426942['id']))[_0x380fe5(0x1df)]((_0x2234db,_0x20d879)=>_0x2234db['id'][_0x380fe5(0x506)](_0x20d879['id']))[_0x380fe5(0x26a)](_0x5135f3=>{const _0x439068=_0x380fe5;let _0x4b828e=_0x1a9223['get'](_0x5135f3['id']);return!_0x4b828e||_0x5135f3[_0x439068(0x3ab)]===_0x4b828e?[]:[this[_0x439068(0x4b2)]([...U[_0x439068(0x270)](_0x5135f3['id']),_0x439068(0x3ab)],_0x5135f3[_0x439068(0x3ab)],_0x4b828e)];});}[_0x282c57(0x4f2)](_0x39330f,_0x294443,_0x13ce3d,_0x12b969){const _0xf8a6b0=_0x282c57;var _0x3498bb,_0x3be709;let _0x383d8e=L(_0x39330f[_0xf8a6b0(0x528)][_0x294443]),_0x54da9b=String(((_0x3498bb=_0x12b969[_0xf8a6b0(0x50c)])==null?void 0x0:_0x3498bb[_0xf8a6b0(0x557)])??'')[_0xf8a6b0(0x24d)](),_0x44fade=(_0x3be709=_0x383d8e['colIndex'])==null?void 0x0:_0x3be709[_0x13ce3d];if(_0x44fade==null)return[];let _0x9be680=_0x383d8e['recordOrder']??Object[_0xf8a6b0(0x334)](_0x383d8e['records']),_0x167e69=_0x9be680[_0xf8a6b0(0x309)](_0x4b546f=>{const _0x4b5311=_0xf8a6b0;var _0x10a9c2;return(_0x10a9c2=_0x383d8e[_0x4b5311(0x277)])==null?void 0x0:_0x10a9c2[_0x4b546f];})[_0xf8a6b0(0x525)](_0x2b5b09=>_0x2b5b09!=null);return _0x9be680['flatMap'](_0x96bc42=>{const _0x3dbc17=_0xf8a6b0;var _0x3db0f7,_0x31f448;let _0x4f26cd=(_0x3db0f7=_0x383d8e[_0x3dbc17(0x277)])==null?void 0x0:_0x3db0f7[_0x96bc42];if(_0x4f26cd==null)return[];let _0x4112d5=(_0x31f448=_0x383d8e[_0x3dbc17(0x343)])==null||(_0x31f448=_0x31f448[_0x4f26cd])==null?void 0x0:_0x31f448[_0x44fade],_0x5026dc=_0x54da9b?_0x4f26cd===_0x167e69?{'f':_0x54da9b,'si':_0x13ce3d}:{'si':_0x13ce3d}:{'v':null,'t':null};return[this[_0x3dbc17(0x4b2)](U[_0x3dbc17(0x343)](_0x294443,_0x4f26cd,_0x44fade),_0x4112d5,_0x5026dc)];});}[_0x282c57(0x512)](_0x26e424,_0x2bd10c,_0x4dd82a){const _0x14d4db=_0x282c57;var _0x4ce07f;let _0x435b87=new Map(Object[_0x14d4db(0x41d)](((_0x4ce07f=_0x26e424[_0x14d4db(0x27b)])==null?void 0x0:_0x4ce07f[_0x14d4db(0x556)])??{})),_0x2dc853=new Map(),_0x461569=new Set(),_0x4bec20=_0x4dd82a[_0x14d4db(0x309)](({recordId:_0x37c5fc,fieldId:_0x46770e,attachments:_0x51a9db})=>{const _0x18cdc4=_0x14d4db;var _0x1f23c8;let _0x732d28=Et(_0x46770e,_0x37c5fc),_0x2b9f08=_0x51a9db[_0x18cdc4(0x309)]((_0x4a022f,_0x20a7f6)=>String(_0x4a022f['id']??_0x732d28+'\x1f'+_0x20a7f6));return _0x461569['add'](_0x732d28),_0x435b87['set'](_0x732d28,_0x2b9f08),_0x51a9db[_0x18cdc4(0x34b)]((_0x23d338,_0x2b96a8)=>{const _0x304404=_0x18cdc4;let _0x3a7cac=_0x2b9f08[_0x2b96a8];_0x2dc853[_0x304404(0x246)](_0x3a7cac,{..._0x23d338,'id':_0x3a7cac});}),this[_0x18cdc4(0x4b2)](U[_0x18cdc4(0x480)](_0x2bd10c,_0x732d28),(_0x1f23c8=_0x26e424[_0x18cdc4(0x27b)])==null||(_0x1f23c8=_0x1f23c8[_0x18cdc4(0x556)])==null?void 0x0:_0x1f23c8[_0x732d28],_0x2b9f08);}),_0xc1268f=Array[_0x14d4db(0x2f3)](_0x2dc853)[_0x14d4db(0x309)](([_0x35dea3,_0x23e605])=>{const _0x5e59a9=_0x14d4db;var _0x475ab4;return this[_0x5e59a9(0x4b2)](U[_0x5e59a9(0x31f)](_0x2bd10c,_0x35dea3),(_0x475ab4=_0x26e424['resources'])==null||(_0x475ab4=_0x475ab4[_0x5e59a9(0x3ba)])==null?void 0x0:_0x475ab4[_0x35dea3],_0x23e605);}),_0x4e4117=new Set(Array['from'](_0x435b87[_0x14d4db(0x54e)]())[_0x14d4db(0x49e)]()),_0x514c07=new Set(Array[_0x14d4db(0x2f3)](_0x461569)['flatMap'](_0x131801=>{const _0xafe642=_0x14d4db;var _0x251cd4;return((_0x251cd4=_0x26e424[_0xafe642(0x27b)])==null||(_0x251cd4=_0x251cd4[_0xafe642(0x556)])==null?void 0x0:_0x251cd4[_0x131801])??[];})),_0x4f31fd=Array[_0x14d4db(0x2f3)](_0x514c07)['flatMap'](_0x588b6b=>{const _0x4171e4=_0x14d4db;var _0x25fb08;let _0x497090=(_0x25fb08=_0x26e424[_0x4171e4(0x27b)])==null||(_0x25fb08=_0x25fb08[_0x4171e4(0x3ba)])==null?void 0x0:_0x25fb08[_0x588b6b];return _0x497090!==void 0x0&&!_0x4e4117[_0x4171e4(0x25c)](_0x588b6b)?[_0x2f9032[_0x4171e4(0x40b)](U['attachment'](_0x2bd10c,_0x588b6b),_0x497090)]:[];});return[..._0x4bec20,..._0xc1268f,..._0x4f31fd];}[_0x282c57(0x380)](_0x1f88e7,_0x5c6965,_0x921bef){const _0x5b4127=_0x282c57;var _0x7e360b;let _0xaea483=((_0x7e360b=_0x1f88e7[_0x5b4127(0x27b)])==null?void 0x0:_0x7e360b['attachmentSets'])??{},_0x1129b9=Object[_0x5b4127(0x41d)](_0xaea483)[_0x5b4127(0x4cc)](([_0x526568])=>_0x921bef(_0x526568));if(!_0x1129b9[_0x5b4127(0x4ab)])return[];let _0x18663d=new Set(Object[_0x5b4127(0x41d)](_0xaea483)[_0x5b4127(0x4cc)](([_0x236234])=>!_0x921bef(_0x236234))[_0x5b4127(0x26a)](([,_0xc72a77])=>_0xc72a77)),_0x56cc91=new Set(_0x1129b9[_0x5b4127(0x26a)](([,_0xb131fd])=>_0xb131fd));return[..._0x1129b9['map'](([_0x4f564e,_0x2d7ef0])=>_0x2f9032[_0x5b4127(0x40b)](U['attachmentSet'](_0x5c6965,_0x4f564e),_0x2d7ef0)),...Array[_0x5b4127(0x2f3)](_0x56cc91)['flatMap'](_0x5eee45=>{const _0x39460e=_0x5b4127;var _0x46518b;let _0x255b6c=(_0x46518b=_0x1f88e7[_0x39460e(0x27b)])==null||(_0x46518b=_0x46518b['attachments'])==null?void 0x0:_0x46518b[_0x5eee45];return _0x255b6c!==void 0x0&&!_0x18663d[_0x39460e(0x25c)](_0x5eee45)?[_0x2f9032['removeOp'](U[_0x39460e(0x31f)](_0x5c6965,_0x5eee45),_0x255b6c)]:[];})];}[_0x282c57(0x4b2)](_0x3ada83,_0x13bdce,_0x238f95){return _0x13bdce===void 0x0?_0x2f9032['insertOp'](_0x3ada83,_0x238f95):_0x2f9032['replaceOp'](_0x3ada83,_0x13bdce,_0x238f95);}};function er(_0x3ca0de,_0x403cd4,_0x4e861f,_0x28d9f0){const _0x250cc1=_0x282c57;var _0x41d7e7;let _0x269792=_0x28d9f0['type'];if(_0x4e861f[_0x250cc1(0x4aa)]!==_0x269792||_0x269792!==_0x239099[_0x250cc1(0x2fe)]&&_0x269792!==_0x239099['MultiSelect']||tr(_0x28d9f0[_0x250cc1(0x50c)][_0x250cc1(0x1da)]))return{'field':_0x28d9f0,'patches':[]};let _0x16aa2c=nr(_0x4e861f),_0x518d68=nr(_0x28d9f0);if(![..._0x16aa2c][_0x250cc1(0x436)](_0x324e39=>!_0x518d68[_0x250cc1(0x25c)](_0x324e39)))return{'field':_0x28d9f0,'patches':[]};let _0x364117=rr(_0x28d9f0[_0x250cc1(0x522)],_0x518d68,_0x269792),_0x4b7cec=ir(_0x364117,_0x28d9f0['defaultValue'])?_0x28d9f0:{..._0x28d9f0,'defaultValue':_0x364117},_0x3991b4=L(_0x3ca0de),_0x3a2b46=(_0x41d7e7=_0x3991b4[_0x250cc1(0x28f)])==null?void 0x0:_0x41d7e7[_0x403cd4];return _0x3a2b46==null?{'field':_0x4b7cec,'patches':[]}:{'field':_0x4b7cec,'patches':(_0x3991b4[_0x250cc1(0x413)]??[])['flatMap'](_0x504e3b=>{const _0x52440a=_0x250cc1;var _0xebf348,_0x296508;let _0x36b669=(_0xebf348=_0x3991b4[_0x52440a(0x277)])==null?void 0x0:_0xebf348[_0x504e3b],_0x916ad2=(_0x296508=_0x3991b4[_0x52440a(0x1e1)][_0x504e3b])==null?void 0x0:_0x296508[_0x52440a(0x54e)][_0x403cd4],_0x3aafae=rr(_0x916ad2,_0x518d68,_0x269792);return _0x36b669==null||ir(_0x3aafae,_0x916ad2)?[]:[{'row':_0x36b669,'col':_0x3a2b46,'value':_0x3aafae??null}];})};}function tr(_0x2056b9){const _0x58430a=_0x282c57;return typeof _0x2056b9==_0x58430a(0x4ba)&&!!_0x2056b9&&_0x58430a(0x4aa)in _0x2056b9&&_0x2056b9[_0x58430a(0x4aa)]===_0x58430a(0x2d9);}function nr(_0x30d48d){const _0x48d606=_0x282c57;var _0x32abf7;let _0x38137e=Array['isArray']((_0x32abf7=_0x30d48d['config'])==null?void 0x0:_0x32abf7[_0x48d606(0x4f3)])?_0x30d48d[_0x48d606(0x50c)][_0x48d606(0x4f3)]:[];return new Set(_0x38137e[_0x48d606(0x26a)](_0x58bba2=>{if(!_0x58bba2||typeof _0x58bba2!='object'||!('id'in _0x58bba2))return[];let _0x2b8916=String(_0x58bba2['id']);return _0x2b8916?[_0x2b8916]:[];}));}function rr(_0xde3b82,_0x3c4797,_0x308d89){const _0x181aac=_0x282c57;if(_0xde3b82==null||_0xde3b82==='')return _0xde3b82;if(_0x308d89===_0x239099[_0x181aac(0x2fe)])return _0x3c4797[_0x181aac(0x25c)](String(_0xde3b82))?_0xde3b82:null;let _0x19bffc=Array[_0x181aac(0x3d5)](_0xde3b82)?_0xde3b82[_0x181aac(0x309)](String):String(_0xde3b82)[_0x181aac(0x460)](',')[_0x181aac(0x309)](_0x1e8701=>_0x1e8701[_0x181aac(0x24d)]())[_0x181aac(0x4cc)](Boolean),_0x12acce=_0x19bffc['filter'](_0x4471e5=>_0x3c4797[_0x181aac(0x25c)](_0x4471e5));return _0x12acce[_0x181aac(0x4ab)]===_0x19bffc['length']?_0xde3b82:Array[_0x181aac(0x3d5)](_0xde3b82)?_0x12acce:String(_0xde3b82)[_0x181aac(0x3df)](',')?_0x12acce[_0x181aac(0x1c0)](','):_0x12acce[0x0]??[];}function ir(_0x474727,_0x2f8f75){const _0x496b89=_0x282c57;return JSON['stringify'](_0x474727)===JSON[_0x496b89(0x2fb)](_0x2f8f75);}function ar(_0x2b6826,_0x3cb01b,_0x413906){const _0x2bd558=_0x282c57;var _0x4f2b6d,_0x958134,_0x10f072,_0x5c2cdd;let _0x56a6d5=(_0x4f2b6d=_0x2b6826[_0x2bd558(0x277)])==null?void 0x0:_0x4f2b6d[_0x3cb01b],_0x353856=(_0x958134=_0x2b6826[_0x2bd558(0x28f)])==null?void 0x0:_0x958134[_0x413906];return _0x56a6d5!=null&&_0x353856!=null&&((_0x10f072=_0x2b6826[_0x2bd558(0x21b)])==null?void 0x0:_0x10f072[_0x56a6d5])===_0x3cb01b&&((_0x5c2cdd=_0x2b6826[_0x2bd558(0x46d)])==null?void 0x0:_0x5c2cdd[_0x353856])===_0x413906&&_0x2b6826[_0x2bd558(0x343)]!=null;}function or(_0x1fc377,_0x3cddc8,_0x226fcc){const _0x2979bf=_0x282c57;var _0x431ec7,_0x508e8e;return((_0x431ec7=_0x1fc377[_0x2979bf(0x21b)])==null?void 0x0:_0x431ec7[_0x3cddc8])!=null&&((_0x508e8e=_0x1fc377[_0x2979bf(0x46d)])==null?void 0x0:_0x508e8e[_0x226fcc])!=null&&_0x1fc377[_0x2979bf(0x343)]!=null;}function sr(_0x18b4ad,_0x232c1d,_0x5296b0){const _0x202634=_0x282c57;let _0x2dfae0=_0x18b4ad[_0x202634(0x4cc)](_0x1aaa17=>_0x1aaa17!==_0x232c1d),_0x21e915=_0x5296b0['beforeFieldId']?_0x2dfae0[_0x202634(0x1f4)](_0x5296b0['beforeFieldId']):_0x5296b0[_0x202634(0x1f0)]?_0x2dfae0[_0x202634(0x1f4)](_0x5296b0['afterFieldId'])+0x1:_0x2dfae0[_0x202634(0x4ab)];return _0x2dfae0[_0x202634(0x4eb)](_0x21e915<0x0?_0x2dfae0[_0x202634(0x4ab)]:_0x21e915,0x0,_0x232c1d),_0x2dfae0;}function cr(_0x4d6a56,_0x8cac3b,_0x2d1fcc){const _0xbc5ab1=_0x282c57;let _0x378752=_0x4d6a56[_0xbc5ab1(0x4cc)](_0x16fc7f=>_0x16fc7f!==_0x8cac3b);return _0x378752[_0xbc5ab1(0x4eb)](ur(_0x2d1fcc,_0x378752['length']),0x0,_0x8cac3b),_0x378752;}function lr(_0x8ca10b,_0x201e6c,_0x470c87){const _0x1c0007=_0x282c57;if(Array[_0x1c0007(0x3d5)](_0x8ca10b))return _0x470c87===_0x1c0007(0x25f)?_0x8ca10b[_0x1c0007(0x4cc)](_0x41e562=>_0x41e562!==_0x201e6c):_0x8ca10b[_0x1c0007(0x26a)](_0x1ab2da=>{const _0x2360ab=_0x1c0007;if(_0x1ab2da&&typeof _0x1ab2da==_0x2360ab(0x4ba)&&!Array[_0x2360ab(0x3d5)](_0x1ab2da)&&_0x1ab2da[_0x2360ab(0x387)]===_0x201e6c)return[];let _0x2bf636=lr(_0x1ab2da,_0x201e6c);return _0x2bf636===void 0x0?[]:[_0x2bf636];});if(!_0x8ca10b||typeof _0x8ca10b!=_0x1c0007(0x4ba))return _0x470c87!=null&&_0x470c87[_0x1c0007(0x48a)](_0x1c0007(0x25e))&&_0x8ca10b===_0x201e6c?void 0x0:_0x8ca10b;let _0x31f86f=_0x8ca10b;if(_0x31f86f[_0x1c0007(0x387)]!==_0x201e6c)return Object[_0x1c0007(0x1af)](Object['entries'](_0x31f86f)[_0x1c0007(0x26a)](([_0x33a22f,_0x2eaf22])=>{const _0x31e36f=_0x1c0007;if(_0x33a22f===_0x201e6c&&_0x470c87===_0x31e36f(0x272))return[];let _0x291696=lr(_0x2eaf22,_0x201e6c,_0x33a22f);return _0x291696===void 0x0?[]:[[_0x33a22f,_0x291696]];}));}function ur(_0x206ddd,_0x2b1ddd){const _0x1ec508=_0x282c57;return Math[_0x1ec508(0x468)](0x0,Math[_0x1ec508(0x520)](_0x206ddd,_0x2b1ddd));}function dr(_0x208dcd){'@babel/helpers - typeof';const _0x18e89f=_0x282c57;return dr=typeof Symbol==_0x18e89f(0x3b9)&&typeof Symbol['iterator']=='symbol'?function(_0x3bdfd1){return typeof _0x3bdfd1;}:function(_0x542fce){const _0x12379a=_0x18e89f;return _0x542fce&&typeof Symbol=='function'&&_0x542fce[_0x12379a(0x25b)]===Symbol&&_0x542fce!==Symbol['prototype']?_0x12379a(0x317):typeof _0x542fce;},dr(_0x208dcd);}function fr(_0x233e85,_0x1e333e){const _0x2dc12d=_0x282c57;if(dr(_0x233e85)!=_0x2dc12d(0x4ba)||!_0x233e85)return _0x233e85;var _0x51672d=_0x233e85[Symbol[_0x2dc12d(0x1e8)]];if(_0x51672d!==void 0x0){var _0x29bab0=_0x51672d['call'](_0x233e85,_0x1e333e||'default');if(dr(_0x29bab0)!=_0x2dc12d(0x4ba))return _0x29bab0;throw TypeError(_0x2dc12d(0x2fa));}return(_0x1e333e==='string'?String:Number)(_0x233e85);}function pr(_0x15e56a){const _0x25bb7d=_0x282c57;var _0x1dafb2=fr(_0x15e56a,'string');return dr(_0x1dafb2)==_0x25bb7d(0x317)?_0x1dafb2:_0x1dafb2+'';}function G(_0x414f73,_0x22202d,_0x51f099){const _0xcc1b49=_0x282c57;return(_0x22202d=pr(_0x22202d))in _0x414f73?Object[_0xcc1b49(0x23c)](_0x414f73,_0x22202d,{'value':_0x51f099,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x414f73[_0x22202d]=_0x51f099,_0x414f73;}const mr=_0x2cfc4b(_0x282c57(0x43a));var hr=class extends _0x3bb8e0{constructor(..._0x2e4477){const _0x6d6fd4=_0x282c57;super(..._0x2e4477),G(this,_0x6d6fd4(0x432),new Map());}[_0x282c57(0x39f)](_0x13267c){const _0xe6840d=_0x282c57;return this[_0xe6840d(0x432)]['set'](_0x13267c[_0xe6840d(0x4aa)],_0x13267c),_0x453a32(()=>this[_0xe6840d(0x432)][_0xe6840d(0x404)](_0x13267c[_0xe6840d(0x4aa)]));}[_0x282c57(0x268)](_0x23f27b){const _0x314ee3=_0x282c57;let _0x4e7d05=this[_0x314ee3(0x432)]['get'](_0x23f27b);if(!_0x4e7d05)throw Error(_0x314ee3(0x550)+_0x23f27b+'\x22\x20is\x20not\x20registered.');return _0x4e7d05;}[_0x282c57(0x4e4)](_0x512a1d){const _0xa1d76b=_0x282c57;return this[_0xa1d76b(0x432)]['get'](_0x512a1d);}['getAll'](){const _0xe7c83e=_0x282c57;return Array[_0xe7c83e(0x2f3)](this['_plugins'][_0xe7c83e(0x54e)]());}},gr=class{constructor(_0xdf032e){const _0x4ee7f0=_0x282c57;this[_0x4ee7f0(0x226)]=_0xdf032e,G(this,'type',_0xd2ae12[_0x4ee7f0(0x3d6)]),G(this,_0x4ee7f0(0x4a3),_0x133e41[_0x4ee7f0(0x4c4)]),G(this,_0x4ee7f0(0x42a),_0xcbb269[_0x4ee7f0(0x2b3)]),G(this,'id',void 0x0),G(this,_0x4ee7f0(0x373),!0x0),this['id']=this['type']+'.'+this[_0x4ee7f0(0x4a3)]+'_'+_0xdf032e;}},_r=class{constructor(_0x405799){const _0x263737=_0x282c57;this[_0x263737(0x226)]=_0x405799,G(this,'type',_0xd2ae12[_0x263737(0x3d6)]),G(this,_0x263737(0x4a3),_0x133e41[_0x263737(0x208)]),G(this,'status',_0xcbb269['INIT']),G(this,'id',void 0x0),G(this,_0x263737(0x373),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x405799;}},vr=class{constructor(_0x57ff1c){const _0x55634e=_0x282c57;this[_0x55634e(0x226)]=_0x57ff1c,G(this,_0x55634e(0x4aa),_0xd2ae12[_0x55634e(0x3d6)]),G(this,_0x55634e(0x4a3),_0x133e41[_0x55634e(0x4a6)]),G(this,_0x55634e(0x42a),_0xcbb269[_0x55634e(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x55634e(0x4a3)]+'_'+_0x57ff1c;}},yr=class{constructor(_0x46d834){const _0x503107=_0x282c57;this[_0x503107(0x226)]=_0x46d834,G(this,_0x503107(0x4aa),_0xd2ae12[_0x503107(0x3d6)]),G(this,_0x503107(0x4a3),_0x133e41[_0x503107(0x3ce)]),G(this,_0x503107(0x42a),_0xcbb269[_0x503107(0x2b3)]),G(this,'id',void 0x0),G(this,_0x503107(0x373),!0x0),this['id']=this[_0x503107(0x4aa)]+'.'+this[_0x503107(0x4a3)]+'_'+_0x46d834;}},br=class{constructor(_0xe8ffec,_0x4ad65b){const _0x4953e7=_0x282c57;this[_0x4953e7(0x226)]=_0xe8ffec,this[_0x4953e7(0x223)]=_0x4ad65b,G(this,_0x4953e7(0x4aa),_0xd2ae12[_0x4953e7(0x426)]),G(this,_0x4953e7(0x4a3),_0x133e41[_0x4953e7(0x4a6)]),G(this,'status',_0xcbb269[_0x4953e7(0x2b3)]),G(this,'id',void 0x0),G(this,_0x4953e7(0x373),!0x0),this['id']=this[_0x4953e7(0x4aa)]+'.'+this['subType']+'_'+_0xe8ffec+'_'+_0x4ad65b;}},xr=class{constructor(_0x6e617,_0x16955b){const _0x3d35d9=_0x282c57;this[_0x3d35d9(0x226)]=_0x6e617,this[_0x3d35d9(0x223)]=_0x16955b,G(this,_0x3d35d9(0x4aa),_0xd2ae12[_0x3d35d9(0x4e9)]),G(this,_0x3d35d9(0x4a3),_0x133e41['Edit']),G(this,_0x3d35d9(0x42a),_0xcbb269[_0x3d35d9(0x2b3)]),G(this,'id',void 0x0),G(this,_0x3d35d9(0x373),!0x0),this['id']=this['type']+'.'+this[_0x3d35d9(0x4a3)]+'_'+_0x6e617+'_'+_0x16955b;}},Sr=class{constructor(_0x281122,_0x18b9c1){const _0x142063=_0x282c57;this[_0x142063(0x226)]=_0x281122,this[_0x142063(0x223)]=_0x18b9c1,G(this,_0x142063(0x4aa),_0xd2ae12[_0x142063(0x2d0)]),G(this,_0x142063(0x4a3),_0x133e41[_0x142063(0x4a6)]),G(this,'status',_0xcbb269[_0x142063(0x2b3)]),G(this,'id',void 0x0),G(this,_0x142063(0x373),!0x0),this['id']=this[_0x142063(0x4aa)]+'.'+this[_0x142063(0x4a3)]+'_'+_0x281122+'_'+_0x18b9c1;}},Cr=class{constructor(_0x534820,_0x16cf40){const _0x40180b=_0x282c57;this['unitId']=_0x534820,this['objectId']=_0x16cf40,G(this,_0x40180b(0x4aa),_0xd2ae12[_0x40180b(0x29b)]),G(this,_0x40180b(0x4a3),_0x133e41[_0x40180b(0x4a6)]),G(this,_0x40180b(0x42a),_0xcbb269[_0x40180b(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x40180b(0x4aa)]+'.'+this[_0x40180b(0x4a3)]+'_'+_0x534820+'_'+_0x16cf40;}},wr=class{constructor(_0x17b505,_0x13ca57){const _0x7b4f44=_0x282c57;this['unitId']=_0x17b505,this[_0x7b4f44(0x223)]=_0x13ca57,G(this,'type',_0xd2ae12[_0x7b4f44(0x1ad)]),G(this,'subType',_0x133e41[_0x7b4f44(0x4a6)]),G(this,_0x7b4f44(0x42a),_0xcbb269[_0x7b4f44(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x7b4f44(0x4a3)]+'_'+_0x17b505+'_'+_0x13ca57;}};const Tr=[_0x133e41[_0x282c57(0x4a6)],_0x133e41[_0x282c57(0x208)],_0x133e41['Export'],_0x133e41[_0x282c57(0x4c4)]],Er=new Set([_0xd2ae12['Base'],_0xd2ae12['BaseTable'],_0xd2ae12[_0x282c57(0x4e9)],_0xd2ae12[_0x282c57(0x2d0)],_0xd2ae12[_0x282c57(0x1ad)],_0xd2ae12[_0x282c57(0x426)]]),Dr=_0x282c57(0x448),Or=_0x282c57(0x254),kr=_0x282c57(0x507),Ar=_0x282c57(0x26e),jr='dashboard/';function K(_0x13b9d7){return''+Dr+encodeURIComponent(_0x13b9d7);}function q(_0x5a9f4f,_0x66db39){return''+Or+encodeURIComponent(_0x5a9f4f)+'/'+encodeURIComponent(_0x66db39);}function J(_0x2a76ef,_0x3f6f29){return''+kr+encodeURIComponent(_0x2a76ef)+'/'+encodeURIComponent(_0x3f6f29);}function Mr(_0x508515,_0x19e79f){return''+Ar+encodeURIComponent(_0x508515)+'/'+encodeURIComponent(_0x19e79f);}function Nr(_0x16798b){return''+jr+encodeURIComponent(_0x16798b);}function Pr(_0x165108,_0x36b6ec,_0x8b6ea9){const _0x14fac0=_0x282c57;if(_0x36b6ec===_0x165108)switch(_0x8b6ea9){case _0x133e41[_0x14fac0(0x4a6)]:return new vr(_0x165108);case _0x133e41[_0x14fac0(0x208)]:return new _r(_0x165108);case _0x133e41['Export']:return new yr(_0x165108);case _0x133e41[_0x14fac0(0x4c4)]:return new gr(_0x165108);default:throw Error(_0x14fac0(0x4e6)+_0x8b6ea9);}if(_0x8b6ea9!==_0x133e41[_0x14fac0(0x4a6)])throw Error(_0x14fac0(0x4a7)+_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](Dr))return new Cr(_0x165108,_0x36b6ec);if(_0x36b6ec['startsWith'](Or))return new xr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](kr))return new Sr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](Ar))return new wr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](jr))return new br(_0x165108,_0x36b6ec);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x36b6ec);}function Fr(_0x2ba84b,_0x5e6e52,_0x407aec,_0x30dd9c){const _0x15df35=_0x282c57;var _0x26813f;return((_0x26813f=_0x2ba84b[_0x15df35(0x22c)](Pr(_0x5e6e52,_0x407aec,_0x30dd9c)['id']))==null?void 0x0:_0x26813f[_0x15df35(0x373)])??!0x0;}function Ir(_0xa0482,_0x34d77a,_0x48655d,_0x1af21d,_0x1360e0){const _0x2b0b3f=_0x282c57;let _0x5bb242=Pr(_0x34d77a,_0x48655d,_0x1af21d);_0xa0482[_0x2b0b3f(0x22c)](_0x5bb242['id'])||_0xa0482[_0x2b0b3f(0x311)](_0x5bb242),_0xa0482[_0x2b0b3f(0x47e)](_0x5bb242['id'],_0x1360e0);}function Lr(_0x4f0550,_0x392017,_0x217a23,_0x483b9b){const _0x2747cc=_0x282c57;_0x4f0550[_0x2747cc(0x46e)](Pr(_0x392017,_0x217a23,_0x483b9b)['id']);}function Rr(_0x15775b,_0x49fe02){const _0x52c108=_0x282c57;_0x15775b[_0x52c108(0x500)]()[_0x52c108(0x34b)]((_0x190a93,_0x48d234)=>{const _0x548275=_0x52c108;_0x190a93[_0x548275(0x306)](_0x211c8a=>{const _0x4601b1=_0x548275;Er[_0x4601b1(0x25c)](_0x211c8a[_0x4601b1(0x4aa)])&&_0x4601b1(0x226)in _0x211c8a&&_0x211c8a[_0x4601b1(0x226)]===_0x49fe02&&_0x15775b['deletePermissionPoint'](_0x48d234);})[_0x548275(0x405)]();});}function zr(_0x71faa9,_0x2d156d,_0x25eab1){const _0x5c75a3=_0x282c57;return Fr(_0x71faa9,_0x2d156d,_0x2d156d,_0x133e41[_0x5c75a3(0x4a6)])&&Array[_0x5c75a3(0x2f3)](_0x25eab1)[_0x5c75a3(0x300)](_0x17f947=>Fr(_0x71faa9,_0x2d156d,_0x17f947,_0x133e41[_0x5c75a3(0x4a6)]));}function Y(_0x40e9a8,_0x317dad){return function(_0x3b512e,_0x560474){_0x317dad(_0x3b512e,_0x560474,_0x40e9a8);};}function X(_0x5035ab,_0x3af17a,_0x26077e,_0x2a3f89){const _0x9ac5a6=_0x282c57;var _0x5c80d7=arguments[_0x9ac5a6(0x4ab)],_0x1672c4=_0x5c80d7<0x3?_0x3af17a:_0x2a3f89===null?_0x2a3f89=Object['getOwnPropertyDescriptor'](_0x3af17a,_0x26077e):_0x2a3f89,_0x3c9465;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x9ac5a6(0x3b9))_0x1672c4=Reflect[_0x9ac5a6(0x54f)](_0x5035ab,_0x3af17a,_0x26077e,_0x2a3f89);else{for(var _0x291b5f=_0x5035ab['length']-0x1;_0x291b5f>=0x0;_0x291b5f--)(_0x3c9465=_0x5035ab[_0x291b5f])&&(_0x1672c4=(_0x5c80d7<0x3?_0x3c9465(_0x1672c4):_0x5c80d7>0x3?_0x3c9465(_0x3af17a,_0x26077e,_0x1672c4):_0x3c9465(_0x3af17a,_0x26077e))||_0x1672c4);}return _0x5c80d7>0x3&&_0x1672c4&&Object['defineProperty'](_0x3af17a,_0x26077e,_0x1672c4),_0x1672c4;}const Br=_0x2cfc4b('base.permission.service');let Vr=class extends _0x3bb8e0{constructor(_0x5e7dbf,_0x46adaa){const _0x562a80=_0x282c57;super(),this[_0x562a80(0x513)]=_0x5e7dbf,this[_0x562a80(0x20c)]=_0x46adaa,G(this,'_basePermissions',new Map()),G(this,_0x562a80(0x383),new Map()),G(this,_0x562a80(0x451),new Map()),G(this,_0x562a80(0x4bd),new Map()),G(this,_0x562a80(0x330),new Map()),G(this,_0x562a80(0x414),new Map()),this[_0x562a80(0x4fe)](this[_0x562a80(0x20c)][_0x562a80(0x4b0)](_0x335149[_0x562a80(0x370)])[_0x562a80(0x306)](_0x173d05=>this[_0x562a80(0x50b)](_0x173d05[_0x562a80(0x1e4)]())));}[_0x282c57(0x42f)](_0x1207a1){const _0x481813=_0x282c57;var _0x34a60e;return this[_0x481813(0x462)](_0x1207a1,[])&&(((_0x34a60e=this[_0x481813(0x53b)]['get'](_0x1207a1))==null?void 0x0:_0x34a60e['createTable'])??!0x0);}[_0x282c57(0x403)](_0x185ef2){const _0x55dfb2=_0x282c57;return this[_0x55dfb2(0x2f8)](_0x185ef2);}[_0x282c57(0x2f5)](_0x49cfc3){const _0x59edd4=_0x282c57;var _0x278bb9;return this['_canEditTable'](_0x49cfc3)&&(((_0x278bb9=this[_0x59edd4(0x383)][_0x59edd4(0x268)](_0x49cfc3))==null?void 0x0:_0x278bb9[_0x59edd4(0x404)])??!0x0);}['canCreateField'](_0x10e098){const _0x496e05=_0x282c57;var _0x2e1c5b;return this[_0x496e05(0x2f8)](_0x10e098)&&(((_0x2e1c5b=this[_0x496e05(0x383)][_0x496e05(0x268)](_0x10e098))==null?void 0x0:_0x2e1c5b['createField'])??!0x0);}['canEditField'](_0x2fa5de,_0xbdcf63){const _0x4e73d1=_0x282c57;var _0x2af12a;return this[_0x4e73d1(0x2f8)](_0x2fa5de)&&this[_0x4e73d1(0x462)](_0x2fa5de,[q(_0x2fa5de,_0xbdcf63)])&&(((_0x2af12a=this[_0x4e73d1(0x451)][_0x4e73d1(0x268)](Ur(_0x2fa5de,_0xbdcf63)))==null?void 0x0:_0x2af12a[_0x4e73d1(0x301)])??!0x0);}[_0x282c57(0x510)](_0x433e51,_0x142aa4){const _0x178f95=_0x282c57;var _0x8ae1cc;return this[_0x178f95(0x3d0)](_0x433e51,_0x142aa4)&&(((_0x8ae1cc=this[_0x178f95(0x451)][_0x178f95(0x268)](Ur(_0x433e51,_0x142aa4)))==null?void 0x0:_0x8ae1cc[_0x178f95(0x404)])??!0x0);}[_0x282c57(0x4e2)](_0x19f3e9){const _0x57e087=_0x282c57;var _0x2d7568;return this[_0x57e087(0x2f8)](_0x19f3e9)&&(((_0x2d7568=this[_0x57e087(0x383)][_0x57e087(0x268)](_0x19f3e9))==null?void 0x0:_0x2d7568['createRecord'])??!0x0);}[_0x282c57(0x219)](_0x2d23be,_0x3217f7){const _0x57a1bb=_0x282c57;var _0x104eb5;let _0x34e472=this[_0x57a1bb(0x4bd)][_0x57a1bb(0x268)](Wr(_0x2d23be,_0x3217f7));return this['_canEdit'](_0x2d23be,[K(_0x2d23be),J(_0x2d23be,_0x3217f7)])&&(((_0x104eb5=this[_0x57a1bb(0x383)][_0x57a1bb(0x268)](_0x2d23be))==null?void 0x0:_0x104eb5[_0x57a1bb(0x301)])??!0x0)&&((_0x34e472==null?void 0x0:_0x34e472[_0x57a1bb(0x301)])??!0x0)&&((_0x34e472==null?void 0x0:_0x34e472['editCell'])??!0x0);}[_0x282c57(0x23d)](_0x7bd073,_0x3e2c35){const _0x4cf3c6=_0x282c57;var _0x194202,_0x1e8acd,_0x1b5c21;return this[_0x4cf3c6(0x462)](_0x7bd073,[K(_0x7bd073),J(_0x7bd073,_0x3e2c35)])&&(((_0x194202=this[_0x4cf3c6(0x383)][_0x4cf3c6(0x268)](_0x7bd073))==null?void 0x0:_0x194202[_0x4cf3c6(0x301)])??!0x0)&&(((_0x1e8acd=this[_0x4cf3c6(0x4bd)][_0x4cf3c6(0x268)](Wr(_0x7bd073,_0x3e2c35)))==null?void 0x0:_0x1e8acd['edit'])??!0x0)&&(((_0x1b5c21=this[_0x4cf3c6(0x4bd)][_0x4cf3c6(0x268)](Wr(_0x7bd073,_0x3e2c35)))==null?void 0x0:_0x1b5c21[_0x4cf3c6(0x404)])??!0x0);}['canEditCell'](_0x2f168b,_0x23b2f9,_0x46afbe){const _0x2072ac=_0x282c57;var _0x446e3e,_0x377948,_0x1460d6;let _0x2aa181=this['_fieldPermissions'][_0x2072ac(0x268)](Ur(_0x2f168b,_0x46afbe));return this['_canEdit'](_0x2f168b,[K(_0x2f168b),q(_0x2f168b,_0x46afbe),J(_0x2f168b,_0x23b2f9)])&&(((_0x446e3e=this[_0x2072ac(0x383)]['get'](_0x2f168b))==null?void 0x0:_0x446e3e[_0x2072ac(0x301)])??!0x0)&&(((_0x377948=this[_0x2072ac(0x4bd)]['get'](Wr(_0x2f168b,_0x23b2f9)))==null?void 0x0:_0x377948['edit'])??!0x0)&&(((_0x1460d6=this[_0x2072ac(0x4bd)][_0x2072ac(0x268)](Wr(_0x2f168b,_0x23b2f9)))==null?void 0x0:_0x1460d6[_0x2072ac(0x54c)])??!0x0)&&((_0x2aa181==null?void 0x0:_0x2aa181[_0x2072ac(0x301)])??!0x0)&&((_0x2aa181==null?void 0x0:_0x2aa181[_0x2072ac(0x54c)])??!0x0);}[_0x282c57(0x39d)](_0x3b04c7,_0x3a3544){const _0x8b2546=_0x282c57;var _0x2e6d79,_0x2a38ed,_0x13e17c;return this['_canEdit'](_0x3b04c7,[K(_0x3b04c7),Mr(_0x3b04c7,_0x3a3544)])&&(((_0x2e6d79=this[_0x8b2546(0x383)][_0x8b2546(0x268)](_0x3b04c7))==null?void 0x0:_0x2e6d79[_0x8b2546(0x301)])??!0x0)&&(((_0x2a38ed=this['_viewPermissions'][_0x8b2546(0x268)](Gr(_0x3b04c7,_0x3a3544)))==null?void 0x0:_0x2a38ed['edit'])??!0x0)&&(((_0x13e17c=this['_tablePermissions']['get'](_0x3b04c7))==null?void 0x0:_0x13e17c['manageView'])??!0x0);}[_0x282c57(0x3a1)](_0x3d02ae,_0x2d0fdd){const _0x52c8dc=_0x282c57;this['_basePermissions']['set'](_0x3d02ae,{...this['_basePermissions'][_0x52c8dc(0x268)](_0x3d02ae),..._0x2d0fdd}),_0x2d0fdd[_0x52c8dc(0x301)]!==void 0x0&&Ir(this['_permissionService'],_0x3d02ae,_0x3d02ae,_0x133e41['Edit'],_0x2d0fdd[_0x52c8dc(0x301)]);}[_0x282c57(0x28e)](_0x2b89ef,_0x148764){const _0x35d3c5=_0x282c57;this['_rememberTable'](_0x2b89ef),this[_0x35d3c5(0x383)][_0x35d3c5(0x246)](_0x2b89ef,{...this['_tablePermissions'][_0x35d3c5(0x268)](_0x2b89ef),..._0x148764}),this[_0x35d3c5(0x38c)](_0x2b89ef,K(_0x2b89ef),_0x148764[_0x35d3c5(0x301)]);}[_0x282c57(0x4de)](_0x4bcfdb,_0x766d94,_0x20f937){const _0x3c82a0=_0x282c57;this[_0x3c82a0(0x4cf)](_0x4bcfdb);let _0x5a8684=Ur(_0x4bcfdb,_0x766d94);this[_0x3c82a0(0x451)][_0x3c82a0(0x246)](_0x5a8684,{...this[_0x3c82a0(0x451)][_0x3c82a0(0x268)](_0x5a8684),..._0x20f937}),this[_0x3c82a0(0x38c)](_0x4bcfdb,q(_0x4bcfdb,_0x766d94),_0x20f937[_0x3c82a0(0x301)]);}[_0x282c57(0x365)](_0x21ba56,_0xc2d1fc,_0x51697c){const _0x2acefd=_0x282c57;this[_0x2acefd(0x4cf)](_0x21ba56);let _0x33f150=Wr(_0x21ba56,_0xc2d1fc);this[_0x2acefd(0x4bd)][_0x2acefd(0x246)](_0x33f150,{...this[_0x2acefd(0x4bd)][_0x2acefd(0x268)](_0x33f150),..._0x51697c}),this[_0x2acefd(0x38c)](_0x21ba56,J(_0x21ba56,_0xc2d1fc),_0x51697c['edit']);}[_0x282c57(0x3f3)](_0x3df923,_0x351a57,_0x501504){const _0x4c6b82=_0x282c57;this['_rememberTable'](_0x3df923);let _0x35a2cd=Gr(_0x3df923,_0x351a57);this['_viewPermissions']['set'](_0x35a2cd,{...this[_0x4c6b82(0x330)]['get'](_0x35a2cd),..._0x501504}),this['_setObjectEdit'](_0x3df923,Mr(_0x3df923,_0x351a57),_0x501504[_0x4c6b82(0x301)]);}[_0x282c57(0x222)](_0x216629){const _0x2bbb3c=_0x282c57;this['_basePermissions'][_0x2bbb3c(0x404)](_0x216629),Lr(this[_0x2bbb3c(0x513)],_0x216629,_0x216629,_0x133e41[_0x2bbb3c(0x4a6)]);}[_0x282c57(0x2ed)](_0x22da75){const _0x2565a2=_0x282c57;this[_0x2565a2(0x383)][_0x2565a2(0x404)](_0x22da75),this[_0x2565a2(0x233)](_0x22da75,K(_0x22da75));}['clearFieldPermission'](_0x2c7afe,_0x4330ff){const _0x16e94f=_0x282c57;this[_0x16e94f(0x451)][_0x16e94f(0x404)](Ur(_0x2c7afe,_0x4330ff)),this[_0x16e94f(0x233)](_0x2c7afe,q(_0x2c7afe,_0x4330ff));}[_0x282c57(0x3c5)](_0x510250,_0x4f2370){const _0x475a9e=_0x282c57;this[_0x475a9e(0x4bd)][_0x475a9e(0x404)](Wr(_0x510250,_0x4f2370)),this[_0x475a9e(0x233)](_0x510250,J(_0x510250,_0x4f2370));}[_0x282c57(0x3bc)](_0x5d27b4,_0x2b54f1){const _0x37d1e4=_0x282c57;this['_viewPermissions'][_0x37d1e4(0x404)](Gr(_0x5d27b4,_0x2b54f1)),this[_0x37d1e4(0x233)](_0x5d27b4,Mr(_0x5d27b4,_0x2b54f1));}['getSnapshot'](){const _0x1f2985=_0x282c57;return{'bases':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x53b)]),'tables':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x383)]),'fields':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x451)]),'records':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x4bd)]),'views':Object[_0x1f2985(0x1af)](this['_viewPermissions'])};}[_0x282c57(0x2f8)](_0x485d53){const _0x53b013=_0x282c57;var _0x3d2092;return this[_0x53b013(0x462)](_0x485d53,[K(_0x485d53)])&&(((_0x3d2092=this[_0x53b013(0x383)][_0x53b013(0x268)](_0x485d53))==null?void 0x0:_0x3d2092[_0x53b013(0x301)])??!0x0);}[_0x282c57(0x462)](_0x4f3178,_0xc60168){const _0xb85114=_0x282c57;var _0x572ddb;let _0x416a60=this[_0xb85114(0x2ce)](_0x4f3178);return!_0x416a60||zr(this[_0xb85114(0x513)],_0x416a60,_0xc60168)&&(((_0x572ddb=this['_basePermissions'][_0xb85114(0x268)](_0x416a60))==null?void 0x0:_0x572ddb['edit'])??!0x0);}[_0x282c57(0x38c)](_0x7d0f85,_0x5526e1,_0x48f11f){const _0x42298d=_0x282c57;if(_0x48f11f===void 0x0)return;let _0x2a315e=this[_0x42298d(0x2ce)](_0x7d0f85);_0x2a315e&&Ir(this['_permissionService'],_0x2a315e,_0x5526e1,_0x133e41[_0x42298d(0x4a6)],_0x48f11f);}[_0x282c57(0x233)](_0x1cfafd,_0x5014d2){let _0x58fe92=this['_resolveBaseId'](_0x1cfafd);_0x58fe92&&Lr(this['_permissionService'],_0x58fe92,_0x5014d2,_0x133e41['Edit']);}[_0x282c57(0x2ce)](_0x508202){const _0x2e95d9=_0x282c57;var _0x19ffa3;let _0x58a331=this[_0x2e95d9(0x20c)][_0x2e95d9(0x2ad)](_0x508202,_0x335149[_0x2e95d9(0x370)]);return _0x58a331?_0x58a331[_0x2e95d9(0x1e4)]():(_0x19ffa3=this[_0x2e95d9(0x20c)][_0x2e95d9(0x1cd)](_0x335149[_0x2e95d9(0x370)])[_0x2e95d9(0x525)](_0x4ce445=>!!_0x4ce445['getSnapshot']()[_0x2e95d9(0x528)][_0x508202]))==null?void 0x0:_0x19ffa3[_0x2e95d9(0x1e4)]();}['_rememberTable'](_0x55dfaf){const _0x627f14=_0x282c57;let _0x46b91e=this[_0x627f14(0x2ce)](_0x55dfaf);_0x46b91e&&this[_0x627f14(0x414)][_0x627f14(0x246)](_0x55dfaf,_0x46b91e);}[_0x282c57(0x50b)](_0x5d7767){const _0x112c36=_0x282c57;this[_0x112c36(0x53b)]['delete'](_0x5d7767),this[_0x112c36(0x414)][_0x112c36(0x34b)]((_0x5c49fc,_0x1cd2b1)=>{const _0x50ab85=_0x112c36;_0x5c49fc===_0x5d7767&&(this[_0x50ab85(0x383)][_0x50ab85(0x404)](_0x1cd2b1),Hr(this[_0x50ab85(0x451)],_0x1cd2b1+'\x1f'),Hr(this[_0x50ab85(0x4bd)],_0x1cd2b1+'\x1f'),Hr(this[_0x50ab85(0x330)],_0x1cd2b1+'\x1f'),this[_0x50ab85(0x414)][_0x50ab85(0x404)](_0x1cd2b1));});}};Vr=X([Y(0x0,_0x39a8ae),Y(0x1,_0x54ce33)],Vr);function Hr(_0x198c26,_0x76f401){const _0x3ad8ff=_0x282c57;_0x198c26[_0x3ad8ff(0x34b)]((_0x5e3d6b,_0x5eb246)=>{const _0x6804f=_0x3ad8ff;_0x5eb246[_0x6804f(0x289)](_0x76f401)&&_0x198c26[_0x6804f(0x404)](_0x5eb246);});}function Ur(_0x50330c,_0x18b326){return _0x50330c+'\x1f'+_0x18b326;}function Wr(_0x384f88,_0x4610f2){return _0x384f88+'\x1f'+_0x4610f2;}function _0x332d(){const _0x4353a0=['_applier','[RecordLink]:\x20target\x20record\x20\x22','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).','[BaseField]:\x20invalid\x20rating\x20value.','primaryFieldId','url','tableId','cycle','split','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','_canEdit','onlyLocal','[BaseCommandService]:\x20cannot\x20delete\x20record.','base-snapshot-v1','invalidateByOp','_scheduleSuperTableSync','max','_injector','_check','Gantt','major-','colId','deletePermissionPoint','_enqueueFormulaSync','_applyFormulaResult','version','_normalizeGalleryConfig','readonly','_projectionCache','_getStructureDirtyTableIds','h12','False','base.command.set-base-kanban-group-field','getUTCFullYear','view','deleteField','Delete','_viewRowsCacheKey','updatePermissionPoint','BaseProjection.filterAndSortRows','attachmentSet',',,,\x22B\x22','emitPermissionDenied','majorHeaders','_getAllTableIds','getAffectedRanges','periodComma','exceptions','subtreeHeightByRecordId','yyyy/mm/dd','endsWith','base.command.set-base-view-group','this-row','_getOrderedRecords','matchAll','base.mutation.apply-base-json1','#16a34a','MM-DD','_globalRevision','_getTablesToNormalize','_projectedViewRowsCache','_getCurrentUserId','lastIndex','BaseJson1.syncCellInvalidations','unitOtherData','greaterThanOrEqual','getItem','numfmt','remove','toPlainText','flat','base.command.service','_apply','strategies','frozenFieldCount','subType','cardSize','DESC','Edit','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','invertWithDoc','abs','type','length','false','UTC','repeat','IS_NOT','getTypeOfUnitDisposed$','diffValue','_replaceOptional','MultiSelect','_getSystemFieldValue','Unchecked','Currency','text','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_normalizeCellValue','object','setHours','_cellInvalidations','_recordPermissions','CreatedBy','_materializeFormulaTableNames','base.command.create-base-record','Phone','base.command.set-base-view-field-visible','snapshot','Comment','_projectedRowsCache','BEFORE','medium','_projectedGroupsCache','working','lessThanOrEqual','BaseJson1.normalizeTables','filter','[RecordLink]:\x20field\x20config\x20is\x20invalid.','executeCommand','_rememberTable','resolvedOptions','sum','base.command.update-base-field','locale','bases.fieldConfig.linkPlaceholder','\x22\x20does\x20not\x20exist.','invalidGanttEndField','deepClone','[BaseCommandService]:\x20cannot\x20edit\x20field.','createdBy','regenerateViewIds','hostAnchorId','_formulaSyncQueue','exec','setFieldPermission','recordPatch','setSnapshot','target','canCreateRecord','tableName','getTypePlugin','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Unsupported\x20Base\x20permission\x20action:\x20','base.command.update-base-view-conditional-color-rules','collaborators','BaseField','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','splice','query','filled','_createRecordOrderOp','_createNumberingAllocator','_baseSyncDisposables','getUTCDay','_setFormulaFieldCells','options','toLocaleString','328820CNWApW','fieldIndex','invalidateByCell','_assertFieldDefinition','views','deleteRecord','_syncSuperTables','children','base.viewType.gallery','disposeWithMe','_resolveGanttDateFieldId','getAllPermissionPoint','_initCommands','getSuperTableRegistrations','rowIndexById','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','pattern','localeCompare','record/','invalid-characters','quarter','_patchCachedProjectedRows','_clearUnit','config','invalidDateField','isNaN','Base\x20edit\x20permission\x20denied.','canDeleteField','day','_setAttachmentResources','_permissionService','_initDataSync','spacePeriod','syncUnit','getCurrentUnitOfType','_normalizeGanttDisplayColor','viewIndexes','dateMode','_formulaCalculationTriggerService','year','order','off','short','min','then','defaultValue','weekdays','exists','find','attachment-','_filterRows','tables','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.set-base-view-field-width','mark','_recordIds','small','_normalizeGanttConfig','_onCommandExecuted','params','count','UpdatedBy','workingDaysOnly','fieldOrder','rows','h24','base.command.create-base-child-record','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','createUpdateCellOp','getCapabilities','_basePermissions','_resolveKanbanCardFieldIds','base.command.update-base-kanban-config','169356PMhheC','createdAt','person','endDateFieldId','base.fieldType.','[BaseCommandService]:\x20cannot\x20create\x20record.','DeleteView','color','Number','thisMonth','recordNamePrefix','Kanban','showTodayLine','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','editCell','_initDependencies','values','decorate','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','add','thread-comment.mutation.','https:','_canUseFastSort','base.command.set-base-view-sort','attachmentSets','formula','812034gLTItf','useThousands','_resolveCardTitleFieldId','base.command.validate-formula','displayColor','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','ruleId','_commandService','pop','compress','spaceComma','hidden','Remote','[BaseCommandService]:\x20cannot\x20manage\x20view.','groups','index','Base\x20','Parent','_calendarEventColor','label','$1\x20','[BaseHierarchy]:\x20field\x20\x22','createSetRecordValuesOp','pluginName','isNot','base.command.update-base-cell','_groupConfigCacheSegment','view-','after','replace','HH:mm','policy','en-US','missingField','_groupCellInvalidations','_tableRevisions','BaseView','tableOrder','fromEntries','rootRecordIds','round','__all__','decimalPlaces','packageName','unitData','base.mutation.','searchTexts','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','recordIds','remote','[BaseFormula]:\x20table\x20\x22','UpdatedAt','_withModifiedSystemValues',':end','invalidGanttStartField','join','user','A\x20table\x20with\x20this\x20name\x20already\x20exists.','autoIncrement','maxDepth','fromPlainText','card','_capabilities','allowMultiple','beforeCommandExecuted','search','_hierarchyIndexCache','moveField','getAllUnitsForType','action','__tempBatchingUndoRedo','insertOp','_disposed','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','raw','done','_setViewFieldSetting','base-perf-','Link','base.command.move-base-view','abbreviation','optionSource','MUTATION','Invalid\x20object\x20permission\x20batch.','rules','IS_EMPTY','sort','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','records','_activeDirtyManagerService','updateCell','getUnitId','changed','embedId','[BaseCommandService]:\x20cannot\x20edit\x20table.','toPrimitive','error','ascend','MM/DD/YYYY','createBatchCreateRecordsOp','_resolveKanbanCoverFieldId','_getTable','test','afterFieldId','233048ZQfXWv','setViewGroup','_setCachedProjection','indexOf','getUTCDate','Numbering','relationRole','base.mutation.set-permission-rules','cell','createSuperTableReference','oldParentRecordId','base.command.delete-base-view','parentRecordId','BaseHierarchyError','NUMBER','-view-grid','SortedView','Redo','normalize','[BaseCommandService]:\x20invalid\x20cell\x20value.','RecordId','createTable','all','Copy','createCreateRecordOp','sortedView','setBaseName','_instanceService','\x22.\x20Allowed\x20operators:\x20','_createSystemFieldValuePatches','_normalizeCalendarConfig','isFinite','[BaseCommandService]:\x20field\x20\x22','createField','dependencyFieldId','_findKanbanGroupField','_groupProjectionFieldIds','clear','Cycle','General','canEditRecord','beforeFieldId','rowId','long','unknown','_kanbanGroupKeys','YYYY-MM-DD','base.command.set-base-range-values','_matchesGanttColorRule','clearBasePermission','objectId','getTypeOfUnitAdded$','base.command.update-base-field-description','unitId','deleteRecords','createUnit','setViewFieldWidth','_rowTransformCacheSegment','format','getPermissionPoint','[BaseViewRegistryService]:\x20view\x20type\x20\x22','before','limit','start','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','_isColorfulKanbanGroupField','_clearObjectEdit','_formulaCalculationSessionService','onCommandExecuted','\x20has\x20unsupported\x20date\x20mode\x20\x22','duplicateField','-record-','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','Date1900','STRING','defineProperty','canDeleteRecord','12kZXsSV','[RecordLink]:\x20display\x20field\x20\x22','Date','registerView','_dataSyncPrimaryController','createRecords','objectType','trigger','set','apply','end','[BasePerf]\x20','createView','base.command.batch-create-base-records','operand','trim','changes','_getViewRevision','updatedAt','undefined','fld-','isValid','field/','_filterSortFieldIds','userID','general','revision','base-range-values-v1','base.resource.service','constructor','has','groupFieldId','FieldId','fieldIds','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','custom','calendar','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Status','option-','MissingParent','End\x20date','get','invalid','flatMap','[BaseField]:\x20invalid\x20checkbox\x20value.','currencySymbol','star','view/','[BaseCommandService]:\x20invalid\x20field\x20definition.','table','globalRevision','fieldSettings','_getKanbanConfiguredLanes','\x22\x20is\x20not\x20registered.','BaseProjection.projectTableRows','_buildKanban','rowIndex','_resolveGalleryCoverFieldId','#BFDBFE','dispose','resources','codePointAt','NumberFormat','manual','MaxDepth','leftPaneCollapsed','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','startDateFieldId','nodes','getCurrentUser','leftPaneWidth','size','slice','_formulaService','startsWith','childrenByParentId','FORCE_STRING','getSnapshot','selectField','setTablePermission','colIndex','description','initializeUnit','direction','getStructuredDependencies','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','_findCalendarDateFieldId','setViewFilter','columns','gridViewId','showFieldNames','_bumpTableRevision','BaseTable','base.projection.service','pickerFieldIds','Failed\x20to\x20create\x20update\x20cell\x20operation:','cellRevision','base.command.ensure-base-temporal-view-date-fields','_buildGantt','decimal','parse','call','Person','getFullYear','_materializeGroups','_buildGrid','colorFieldId','tryMaterializeSnapshot','_resolveKanbanGroupFieldId','base.command.create-base-field','getUnit','registerCtorForType','setViewFieldOrder','updateField','_projectRows','_cellRevisions','INIT','usableAsCalendarDate','finally','coverFieldId','#,##0','displayText','past7','_buildCalendar','ena','contains','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','_getJson1DirtyData','[BaseHierarchy]:\x20','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','invalidReasonByRecordId','RecordLink','_factory','Calendar','allowDangling','renameView','[BaseFormula]:\x20table\x20does\x20not\x20exist.','__UNIVER_BASE_PERF__','_getCellRevision','Progress','progressFieldId','Start\x20date','reason','_resolveBaseId','[BaseProjectionService]:\x20missing\x20view\x20\x22','BaseRecord','_createNumberingFieldValuePatches','_isAllowedKanbanGroupField','[BaseCommandService]:\x20cannot\x20delete\x20field.','base-perf','getUTCMonth','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','next7','Choose\x20another\x20name.','field','data','orderedRecordIds','https://','Gallery','#FDE68A','GREATER_THAN','getCurrentUserId','[BaseField]:\x20invalid\x20person\x20value.','bases.config','delete-view','average','syncExecuteCommand','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','applyOp','selfParent','Name','toString','_registeredSuperTableNames','info','clearTablePermission','true','getDay','row','Working\x20day','greaterThan','from','name','canDeleteTable','_views','[BaseField]:\x20invalid\x20date\x20value.','_canEditTable','protocol','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','stringify','registerSyncingMutations','BOOLEAN','SingleSelect','Checked','every','edit','Add','[BaseCommandService]:\x20cannot\x20edit\x20record.','fromChangeset','_syncBaseUnit','subscribe','operator','getMonth','map','base.viewType.gantt','setRangeValues','Use\x2031\x20characters\x20or\x20fewer.','_isGanttDateField','validateFormula','large','save','addPermissionPoint','_isAllDayCalendarEvent','createDefaultValue','afterViewId','usableAsGanttStart','cardLayout','symbol','base.command.delete-base-field','month','empty','parentFieldName','__base_hierarchy_parent__','_T_','_projectHierarchyGroups','attachment','kanban','mode','write','_initialize','redo','repairViewConfig','validate','updateRecordOrder','doing','#3b82f6','_configService','DD/MM/YYYY','conjunction','createRecord','Doing','Set','_viewPermissions','column','tableRevision','pushUndoRedo','keys','_createNumberingAllocators','title','_viewRevisionKey','[BaseField]:\x20invalid\x20multi-value\x20reference.','unshift','invalidateByField','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','IBaseCellData.ensureTableCellLayout','_getHierarchyIndex','renameTable','scale','col','SelfParent','_getCachedProjection','cellData','9WlmfpC','patches','base.command.update-base-view-config','setRecordValues','_projectGroups','BASE_OBJECT_PERMISSION_PLUGIN','Text','forEach','16240VAvtTc','key','findIndex','base.command.set-permissions','timeZone','#14b8a6','_registerUnitPermissionPoints','setViewFieldVisible','usableAsGanttEnd','owner','childType','base.viewType.grid','[BaseCommandService]:\x20cannot\x20edit\x20cell.','group','bases-exchange-client.operation.export-base-by-format','_initRegistries','prototype','CreatedAt','invertOp','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','moveView','width','Yes','resolve','1393mwGjDF','setRecordPermission','_kanbanLaneColor','COLUMN','95BGxynL','REMOTE_BASES_PLUGIN','3777170MxIUVD','setViewSort','markResultApplied','_projectTableRows','week','_resolveGalleryCardFieldIds','UNIVER_BASE','base.command.set-base-view-field-order','level','value','too-long','valid','source','createViewId','workingDays','Checkbox','base.command.set-base-view-filter','lessThan','columnSettings','getInstance','336KjuOuI','create-view','_deleteAttachmentResources','push','date','_tablePermissions','percent','http:','boolean','fieldId','descend','number','orderKey','invalidField','_setObjectEdit','conditional','members','baseRows','_cacheKey','commaPeriod','Attachment','updateViewConfig','_resolveCalendarDateFieldId','_fieldRegistry','_isKanbanGroupField','createRegExpFromSafeFragment','_getTableRevision','base.command.batch-delete-base-records','parentByRecordId','includeTime','kind','canManageView','_removeSuperTables','register','isInteger','setBasePermission','missingRecord','BaseCommand.createBatchCreateRecordsOp','path','viewOrder','record','reduce','Clear','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','\x20must\x20be\x20an\x20object.','formulaName','_createRecordWithDefaults','compose','usableAsCardCover','Group','replaceOp','base.view-registry.service','thread-comment.command.','normal','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','\x20has\x20unsupported\x20target\x20\x22','YYYY/MM/DD','Rating','getTime','function','attachments','lastWeek','clearViewPermission','renameFormulaUnitReferences','Grid','base.command.change-base-field-type','gantt','href','True','\x22\x20is\x20referenced\x20by\x20','_cellInvalidationsTouchFields','clearRecordPermission','BaseProjection.projectGroups',',,\x22M\x22','conditionalColoring','Empty','toLowerCase','112792BkKsln','setRule','_runtimeContext','Export','base.command.duplicate-base-field','canEditField','past30','_sortRows','BaseProjection.getProjection','_isAllDayGanttDateRange','isArray','Base','compare','conditions','local','subtreeEndIndex','base.command.create-base-view','timeslotSize','depth','bases.fieldConfig.textPlaceholder','includes','createCreateFieldOp','today','forValue','string','BaseProjection.materializeTableRows','targetTableId','_buildGallery','canCreateField','exact','[BaseField]:\x20invalid\x20email\x20value.','multiple','_isCalendarDateField','depthByRecordId','focusUnit','_deleteRecordsBaseOp','_isNonEmptyCellValue','measure','MMM\x20D,\x20YYYY','univer.basePerf','setViewPermission','registerCommand','none','_title','editable','_fastSortRows','h:mm\x20a','deleteView','primaryFieldName','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','_scheduledSuperTableSyncs','code','IS_NOT_EMPTY','setConfig','COMMAND','at\x20index\x20','canEditTable','delete','unsubscribe','unique','base.command.move-base-hierarchy-record','facade','thisWeek','_patchProjectedRowsForCellInvalidations','removeOp','_kanbanLaneTitle','recordId','BaseProjection.projectRows',':start','undo','createDeleteRecordsUndoOp','score','recordOrder','_tableBaseIds','getDependencies','getAll','createBase','base.command.set-base-record-values','unitWidth','\x20has\x20unsupported\x20operator\x20\x22','displayFieldId','_applyingFormulaResults','entries','Formula','basePerf','_projectFields','_config','AFTER','BaseJson1.cloneForOp','Table','fieldName','BaseDashboard','result','_viewRevisions','getAllBases','status','now','blue','[BaseCommandService]:\x20cannot\x20create\x20table.','_univerInstanceService','canCreateTable','titleFieldId','projection','_plugins','isEmpty','updatedBy','separatorStyle','some','formatToParts','invalidateByView','registerRuleModel','base.field-registry.service','[BaseField]:\x20invalid\x20progress\x20value.','system','hierarchy','duplicateRecord','[DeleteBaseTableCommand]:\x20table\x20\x22','_getAllBaseDependencyTreeCacheMap','lastIndexOf','base.mutation.set-permission-rule','Table\x20name\x20is\x20required.','[BaseCommandService]:\x20cannot\x20delete\x20table.','hasOwnProperty','descendPath','deleteTable','table/','_ganttBarColor','_toDirtyRangePatch','_executeSuperTableMutationWhileActive','thumbnail','viewId','next30','changeFieldType','1.0.3','_fieldPermissions','tomorrow','fields','beforeViewId','base.command.delete-base-table','canEditCell','#BBF7D0'];_0x332d=function(){return _0x4353a0;};return _0x332d();}function Gr(_0xc80ccb,_0x5561cf){return _0xc80ccb+'\x1f'+_0x5561cf;}const Kr=_0x2cfc4b(_0x282c57(0x49f));let qr=class{constructor(_0xce08e0,_0x1be216=Jr(),_0x5947d5={}){const _0x3e9337=_0x282c57;this['_permissionService']=_0xce08e0,this['_fieldRegistry']=_0x1be216,this[_0x3e9337(0x3cd)]=_0x5947d5,G(this,'_factory',new W()),G(this,'_applier',new z());}[_0x282c57(0x206)](_0x37527e,_0x2360ed,_0x5b62d9){const _0x17f544=_0x282c57;if(!this[_0x17f544(0x513)][_0x17f544(0x42f)](_0x37527e[_0x17f544(0x1e4)]()))throw Error(_0x17f544(0x42d));_0x306a77(_0x2360ed),this[_0x17f544(0x4a0)](_0x37527e,this[_0x17f544(0x2c3)]['createTable'](_0x37527e[_0x17f544(0x28c)](),_0x2360ed,_0x5b62d9));}[_0x282c57(0x33e)](_0x45ed39,_0x1b978a,_0x3476c2){const _0x32c5c7=_0x282c57;if(!this[_0x32c5c7(0x513)][_0x32c5c7(0x403)](_0x1b978a))throw Error(_0x32c5c7(0x1e7));this[_0x32c5c7(0x4a0)](_0x45ed39,this[_0x32c5c7(0x2c3)]['renameTable'](_0x45ed39[_0x32c5c7(0x28c)](),_0x1b978a,_0x3476c2));}[_0x282c57(0x447)](_0x3f5e55,_0x2b87c8){const _0x1ca32e=_0x282c57;if(!this[_0x1ca32e(0x513)]['canDeleteTable'](_0x2b87c8))throw Error(_0x1ca32e(0x444));let _0x5dcd65=He(_0x3f5e55[_0x1ca32e(0x28c)](),_0x2b87c8);if(_0x5dcd65[_0x1ca32e(0x4ab)]>0x0)throw Error(_0x1ca32e(0x2bd)+_0x5dcd65[_0x1ca32e(0x309)](_0x1f5864=>_0x1f5864['tableId']+'.'+_0x1f5864[_0x1ca32e(0x387)])[_0x1ca32e(0x1c0)](',\x20')+').');this[_0x1ca32e(0x4a0)](_0x3f5e55,this['_factory']['deleteTable'](_0x3f5e55[_0x1ca32e(0x28c)](),_0x2b87c8));}['updateCell'](_0x88c2a5,_0x5a8041,_0x315ca2,_0x24d8ec,_0x43ff37){const _0x48352e=_0x282c57;this[_0x48352e(0x4a0)](_0x88c2a5,this[_0x48352e(0x539)](_0x88c2a5,_0x5a8041,_0x315ca2,_0x24d8ec,_0x43ff37));}[_0x282c57(0x347)](_0xdd50d9,_0x1e72c1,_0x3a2437){const _0xdf4e63=_0x282c57;this[_0xdf4e63(0x4a0)](_0xdd50d9,this[_0xdf4e63(0x19f)](_0xdd50d9,_0x1e72c1,_0x3a2437));}[_0x282c57(0x32d)](_0x586c5b,_0x20fea4,_0x485ee6){const _0x23d175=_0x282c57;this[_0x23d175(0x4a0)](_0x586c5b,this[_0x23d175(0x209)](_0x586c5b,_0x20fea4,_0x485ee6));}[_0x282c57(0x539)](_0x510ff7,_0x4d02e3,_0x1314cf,_0x458295,_0x2f1adc){const _0xeeca9=_0x282c57;let _0x23392e=_0x510ff7[_0xeeca9(0x28c)](),_0x56436d=this['_normalizeCellValue'](_0x23392e,_0x4d02e3,_0x1314cf,_0x458295,_0x2f1adc),_0x37ca78=this[_0xeeca9(0x1bd)](_0x23392e,_0x4d02e3,_0x1314cf,{[_0x458295]:_0x56436d});return this[_0xeeca9(0x2c3)][_0xeeca9(0x347)](_0x23392e,_0x4d02e3,[_0x37ca78]);}[_0x282c57(0x19f)](_0x5413e2,_0x5c2472,_0x45aae4){const _0x273094=_0x282c57;let _0x26e7f1=_0x5413e2[_0x273094(0x28c)](),_0x834f27=_0x45aae4[_0x273094(0x309)](_0x573d68=>this['_withModifiedSystemValues'](_0x26e7f1,_0x5c2472,_0x573d68[_0x273094(0x40d)],{...Object[_0x273094(0x1af)](Object[_0x273094(0x41d)](_0x573d68[_0x273094(0x54e)])[_0x273094(0x309)](([_0x220d9d,_0x24efa0])=>[_0x220d9d,this[_0x273094(0x4b9)](_0x26e7f1,_0x5c2472,_0x573d68[_0x273094(0x40d)],_0x220d9d,_0x24efa0)]))}));return this[_0x273094(0x2c3)]['setRecordValues'](_0x26e7f1,_0x5c2472,_0x834f27);}[_0x282c57(0x209)](_0x3a7b03,_0x52aa96,_0x234eb4){const _0x28db37=_0x282c57;if(!this[_0x28db37(0x513)][_0x28db37(0x4e2)](_0x52aa96))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x376e3b=_0x3a7b03[_0x28db37(0x28c)](),_0x17ef12=this[_0x28db37(0x335)](_0x376e3b['tables'][_0x52aa96]);return this['_factory']['createRecord'](_0x376e3b,_0x52aa96,this[_0x28db37(0x3ac)](_0x376e3b,_0x52aa96,_0x234eb4,_0x17ef12));}[_0x282c57(0x1ec)](_0x2f28ad,_0x5b706f,_0x3917cc){const _0x36130b=_0x282c57;if(!this[_0x36130b(0x513)][_0x36130b(0x4e2)](_0x5b706f))throw Error(_0x36130b(0x543));let _0x369cfd=_0x2f28ad[_0x36130b(0x28c)]();return I(_0x36130b(0x3a3),()=>{const _0x29e0cc=_0x36130b;let _0x3d2ed7=this[_0x29e0cc(0x335)](_0x369cfd['tables'][_0x5b706f]);return this[_0x29e0cc(0x2c3)][_0x29e0cc(0x243)](_0x369cfd,_0x5b706f,_0x3917cc['map'](_0x7181bd=>this[_0x29e0cc(0x3ac)](_0x369cfd,_0x5b706f,_0x7181bd,_0x3d2ed7)));},{'existingRecords':Object[_0x36130b(0x334)](_0x369cfd['tables'][_0x5b706f][_0x36130b(0x1e1)])[_0x36130b(0x4ab)],'records':_0x3917cc['length']});}[_0x282c57(0x3e0)](_0x52f9fc,_0x6a1a68,_0x497f1b,_0x32b48e,_0x103ee2){const _0x505359=_0x282c57;if(!this[_0x505359(0x513)][_0x505359(0x3e7)](_0x6a1a68))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x31f378=_0x52f9fc[_0x505359(0x28c)]();if(this[_0x505359(0x4f8)](_0x31f378,_0x497f1b),_0x32b48e===0x0)throw Error(_0x505359(0x260));let _0x4443e2=this['_factory'][_0x505359(0x212)](_0x31f378,_0x6a1a68,{'field':_0x497f1b,'index':_0x32b48e,'viewIndexes':_0x103ee2}),_0x20ec20=this[_0x505359(0x20e)](_0x31f378,_0x6a1a68,_0x497f1b);if(!_0x20ec20['length'])return _0x4443e2;let _0x103daa=this[_0x505359(0x458)]['applyOp'](_0x31f378,_0x4443e2);return R([_0x4443e2,this[_0x505359(0x2c3)][_0x505359(0x347)](_0x103daa,_0x6a1a68,_0x20ec20)]);}[_0x282c57(0x4fa)](_0x494dad,_0x2acc0d,_0x55c45f){const _0x5e9c59=_0x282c57;if(!this['_permissionService'][_0x5e9c59(0x23d)](_0x2acc0d,_0x55c45f))throw Error(_0x5e9c59(0x464));this[_0x5e9c59(0x4a0)](_0x494dad,this[_0x5e9c59(0x2c3)][_0x5e9c59(0x4fa)](_0x494dad['getSnapshot'](),_0x2acc0d,_0x55c45f));}['duplicateRecord'](_0x2c45a2,_0x124455,_0xc28c80,_0x2a23b2){const _0x4e0c5a=_0x282c57;if(!this[_0x4e0c5a(0x513)][_0x4e0c5a(0x4e2)](_0x124455))throw Error(_0x4e0c5a(0x543));this[_0x4e0c5a(0x4a0)](_0x2c45a2,this['_factory'][_0x4e0c5a(0x43e)](_0x2c45a2['getSnapshot'](),_0x124455,_0xc28c80,{..._0x2a23b2,'values':{..._0x2a23b2[_0x4e0c5a(0x54e)],[_0x1a2ecc]:_0x2a23b2['id']}}));}['updateRecordOrder'](_0x392921,_0x3c2cfb,_0x3b5f38,_0x30a763){const _0x1a4ce9=_0x282c57;if(!this[_0x1a4ce9(0x513)][_0x1a4ce9(0x219)](_0x3c2cfb,_0x3b5f38))throw Error(_0x1a4ce9(0x303));this[_0x1a4ce9(0x4a0)](_0x392921,this[_0x1a4ce9(0x2c3)]['updateRecordOrder'](_0x392921[_0x1a4ce9(0x28c)](),_0x3c2cfb,_0x3b5f38,_0x30a763));}['createField'](_0x315a52,_0x50e739,_0x26f112,_0x1d199c,_0x48fc5a){const _0x45e2ca=_0x282c57;this[_0x45e2ca(0x4a0)](_0x315a52,this[_0x45e2ca(0x3e0)](_0x315a52,_0x50e739,_0x26f112,_0x1d199c,_0x48fc5a));}[_0x282c57(0x2b0)](_0x29517c,_0x22beaa,_0x165701,_0x28b24e){const _0x2dd99e=_0x282c57;var _0x128671;if(!this[_0x2dd99e(0x513)][_0x2dd99e(0x3d0)](_0x22beaa,_0x165701))throw Error(_0x2dd99e(0x4d8));let _0x267355=_0x29517c[_0x2dd99e(0x28c)](),_0x4beb71=(_0x128671=_0x267355[_0x2dd99e(0x528)][_0x22beaa])==null?void 0x0:_0x128671[_0x2dd99e(0x453)][_0x165701];if(!_0x4beb71||_0x165701===_0x1a2ecc)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x2dd99e(0x4f8)](_0x267355,{..._0x4beb71,..._0x28b24e}),this[_0x2dd99e(0x4a0)](_0x29517c,this[_0x2dd99e(0x2c3)][_0x2dd99e(0x2b0)](_0x267355,_0x22beaa,_0x165701,_0x28b24e));}[_0x282c57(0x44f)](_0x5f4959,_0x3f72fa,_0x14479b,_0x7f246d){const _0x288051=_0x282c57;var _0x2d3364;if(!this[_0x288051(0x513)][_0x288051(0x3d0)](_0x3f72fa,_0x14479b))throw Error(_0x288051(0x4d8));let _0x11d88d=_0x5f4959[_0x288051(0x28c)](),_0x1bbd50=(_0x2d3364=_0x11d88d[_0x288051(0x528)][_0x3f72fa])==null?void 0x0:_0x2d3364[_0x288051(0x453)][_0x14479b];if(!_0x1bbd50||_0x14479b===_0x1a2ecc)throw Error(_0x288051(0x461));this[_0x288051(0x4f8)](_0x11d88d,{..._0x1bbd50,..._0x7f246d}),this['_apply'](_0x5f4959,this[_0x288051(0x2c3)][_0x288051(0x44f)](_0x11d88d,_0x3f72fa,_0x14479b,_0x7f246d));}[_0x282c57(0x47b)](_0x42f4f7,_0x355eca,_0x4b1123){const _0x5ec6f7=_0x282c57;var _0x282d7c;if(((_0x282d7c=_0x42f4f7[_0x5ec6f7(0x28c)]()[_0x5ec6f7(0x528)][_0x355eca])==null?void 0x0:_0x282d7c['primaryFieldId'])===_0x4b1123||_0x4b1123===_0x1a2ecc)throw Error(_0x5ec6f7(0x4b8));if(!this[_0x5ec6f7(0x513)]['canDeleteField'](_0x355eca,_0x4b1123))throw Error(_0x5ec6f7(0x2d3));this[_0x5ec6f7(0x4a0)](_0x42f4f7,this[_0x5ec6f7(0x2c3)][_0x5ec6f7(0x47b)](_0x42f4f7[_0x5ec6f7(0x28c)](),_0x355eca,_0x4b1123));}[_0x282c57(0x1cc)](_0x3eeada,_0x5ba279,_0x600a2e,_0x1539da){const _0x7f82fb=_0x282c57;if(!this[_0x7f82fb(0x513)][_0x7f82fb(0x3d0)](_0x5ba279,_0x600a2e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x600a2e===_0x1a2ecc||_0x1539da['beforeFieldId']===_0x1a2ecc)throw Error(_0x7f82fb(0x33b));this[_0x7f82fb(0x4a0)](_0x3eeada,this[_0x7f82fb(0x2c3)][_0x7f82fb(0x1cc)](_0x3eeada[_0x7f82fb(0x28c)](),_0x5ba279,_0x600a2e,_0x1539da));}[_0x282c57(0x24a)](_0x3ad2b1,_0x5bfba3,_0x41be92,_0x436ad3){const _0x169670=_0x282c57;if(!this[_0x169670(0x513)]['canManageView'](_0x5bfba3,_0x41be92['id']))throw Error(_0x169670(0x196));this[_0x169670(0x4a0)](_0x3ad2b1,this['_factory'][_0x169670(0x24a)](_0x3ad2b1[_0x169670(0x28c)](),_0x5bfba3,_0x41be92,_0x436ad3));}[_0x282c57(0x2c6)](_0xdb4fb2,_0x4f9b52,_0xa8d336,_0x3fe6bf){const _0x5096ec=_0x282c57;if(!this['_permissionService'][_0x5096ec(0x39d)](_0x4f9b52,_0xa8d336))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x5096ec(0x4a0)](_0xdb4fb2,this['_factory'][_0x5096ec(0x2c6)](_0xdb4fb2['getSnapshot'](),_0x4f9b52,_0xa8d336,_0x3fe6bf));}[_0x282c57(0x3fa)](_0x253087,_0x29a873,_0x4e5515){const _0x564011=_0x282c57;if(!this[_0x564011(0x513)]['canManageView'](_0x29a873,_0x4e5515))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x564011(0x4a0)](_0x253087,this[_0x564011(0x2c3)][_0x564011(0x3fa)](_0x253087[_0x564011(0x28c)](),_0x29a873,_0x4e5515));}[_0x282c57(0x360)](_0x37e853,_0xef3fd3,_0x413186,_0x1f6475){const _0x220b49=_0x282c57;if(!this['_permissionService'][_0x220b49(0x39d)](_0xef3fd3,_0x413186))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x37e853,this[_0x220b49(0x2c3)][_0x220b49(0x360)](_0x37e853['getSnapshot'](),_0xef3fd3,_0x413186,_0x1f6475));}[_0x282c57(0x393)](_0x3aa537,_0x525317,_0xc90519,_0x5917bb){const _0x1599ba=_0x282c57;if(!this[_0x1599ba(0x513)][_0x1599ba(0x39d)](_0x525317,_0xc90519))throw Error(_0x1599ba(0x196));this[_0x1599ba(0x4a0)](_0x3aa537,this[_0x1599ba(0x2c3)][_0x1599ba(0x393)](_0x3aa537[_0x1599ba(0x28c)](),_0x525317,_0xc90519,_0x5917bb));}[_0x282c57(0x296)](_0xc2195,_0x943bb,_0x2d25eb,_0x37d672){const _0x3ff4da=_0x282c57;if(!this['_permissionService']['canManageView'](_0x943bb,_0x2d25eb))throw Error(_0x3ff4da(0x196));this[_0x3ff4da(0x4a0)](_0xc2195,this[_0x3ff4da(0x2c3)][_0x3ff4da(0x296)](_0xc2195[_0x3ff4da(0x28c)](),_0x943bb,_0x2d25eb,_0x37d672));}[_0x282c57(0x36b)](_0x2224fd,_0x29a9e7,_0x22b10c,_0x3598a9){const _0xb41ec=_0x282c57;if(!this['_permissionService'][_0xb41ec(0x39d)](_0x29a9e7,_0x22b10c))throw Error(_0xb41ec(0x196));this[_0xb41ec(0x4a0)](_0x2224fd,this['_factory']['setViewSort'](_0x2224fd[_0xb41ec(0x28c)](),_0x29a9e7,_0x22b10c,_0x3598a9));}['setViewGroup'](_0x26a462,_0x1f916a,_0x10ac01,_0x3a56b2){const _0x77538c=_0x282c57;if(!this['_permissionService'][_0x77538c(0x39d)](_0x1f916a,_0x10ac01))throw Error(_0x77538c(0x196));this[_0x77538c(0x4a0)](_0x26a462,this['_factory'][_0x77538c(0x1f2)](_0x26a462[_0x77538c(0x28c)](),_0x1f916a,_0x10ac01,_0x3a56b2));}[_0x282c57(0x353)](_0x2183eb,_0x53227b,_0x3b9091,_0x248d5c,_0x5b6346){const _0x36ec24=_0x282c57;if(!this[_0x36ec24(0x513)][_0x36ec24(0x39d)](_0x53227b,_0x3b9091))throw Error(_0x36ec24(0x196));this[_0x36ec24(0x4a0)](_0x2183eb,this['_factory']['setViewFieldVisible'](_0x2183eb['getSnapshot'](),_0x53227b,_0x3b9091,_0x248d5c,_0x5b6346));}['setViewFieldWidth'](_0xa1a263,_0x4e9e05,_0x16b0e,_0x3bfb13,_0x77c1cd){const _0x415f26=_0x282c57;if(!this['_permissionService'][_0x415f26(0x39d)](_0x4e9e05,_0x16b0e))throw Error(_0x415f26(0x196));this[_0x415f26(0x4a0)](_0xa1a263,this['_factory'][_0x415f26(0x229)](_0xa1a263['getSnapshot'](),_0x4e9e05,_0x16b0e,_0x3bfb13,_0x77c1cd));}[_0x282c57(0x2af)](_0x207f92,_0x2153ed,_0xcf1a51,_0x900ed7,_0x45d480){const _0x4e3b07=_0x282c57;if(!this[_0x4e3b07(0x513)][_0x4e3b07(0x39d)](_0x2153ed,_0xcf1a51))throw Error(_0x4e3b07(0x196));this[_0x4e3b07(0x4a0)](_0x207f92,this[_0x4e3b07(0x2c3)][_0x4e3b07(0x2af)](_0x207f92[_0x4e3b07(0x28c)](),_0x2153ed,_0xcf1a51,_0x900ed7,_0x45d480));}[_0x282c57(0x4a0)](_0x4701aa,_0xd91409){const _0x14b3ef=_0x282c57;let _0x2d2722=_0x4701aa[_0x14b3ef(0x28c)]();_0x4701aa[_0x14b3ef(0x4e0)](this[_0x14b3ef(0x458)][_0x14b3ef(0x2e7)](_0x2d2722,_0xd91409));}[_0x282c57(0x3ac)](_0x27138b,_0x367038,_0x39df29,_0x5503ce=this[_0x282c57(0x335)](_0x27138b[_0x282c57(0x528)][_0x367038])){const _0x403b5b=_0x282c57;let _0x2e5361=_0x27138b['tables'][_0x367038],_0x2c66f6=_0x39df29['createdBy']??_0x39df29[_0x403b5b(0x434)]??this[_0x403b5b(0x495)](),_0x380fb6={..._0x39df29,'createdBy':_0x39df29[_0x403b5b(0x4d9)]??_0x2c66f6,'updatedBy':_0x39df29[_0x403b5b(0x434)]??_0x2c66f6,'values':{..._0x39df29['values']}};return _0x380fb6['values'][_0x1a2ecc]=_0x380fb6['id'],_0x2e5361[_0x403b5b(0x534)][_0x403b5b(0x34b)](_0x5991d7=>{const _0x32b3b8=_0x403b5b;let _0x436f92=_0x2e5361[_0x32b3b8(0x453)][_0x5991d7];if(_0x436f92&&_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]===void 0x0)switch(_0x436f92[_0x32b3b8(0x4aa)]){case _0x239099[_0x32b3b8(0x1f6)]:var _0x5c91e3;_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=((_0x5c91e3=_0x5503ce[_0x32b3b8(0x268)](_0x5991d7))==null?void 0x0:_0x5c91e3())??this['_createNumberingAllocator'](_0x2e5361,_0x5991d7)();break;case _0x239099['CreatedBy']:_0x380fb6[_0x32b3b8(0x4d9)]&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x380fb6[_0x32b3b8(0x4d9)]);break;case _0x239099['UpdatedBy']:_0x380fb6[_0x32b3b8(0x434)]&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x380fb6[_0x32b3b8(0x434)]);break;case _0x239099[_0x32b3b8(0x35d)]:_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=B(_0x380fb6[_0x32b3b8(0x53f)]);break;case _0x239099[_0x32b3b8(0x1bc)]:_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=B(_0x380fb6[_0x32b3b8(0x250)]);break;default:{let _0x5bf1db=_0x436f92[_0x32b3b8(0x522)];_0x5bf1db!=null&&_0x5bf1db!==''&&!(Array[_0x32b3b8(0x3d5)](_0x5bf1db)&&_0x5bf1db[_0x32b3b8(0x4ab)]===0x0)&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x5bf1db);}}}),_0x380fb6;}[_0x282c57(0x1bd)](_0x5c571c,_0x561e78,_0x321d2e,_0x325d06){const _0x3d89dd=_0x282c57;var _0x143430,_0x2c8fc4;let _0x412776=_0x5c571c['tables'][_0x561e78],_0x22db23=((_0x143430=(_0x2c8fc4=this[_0x3d89dd(0x3cd)])[_0x3d89dd(0x42b)])==null?void 0x0:_0x143430[_0x3d89dd(0x2a4)](_0x2c8fc4))??Date[_0x3d89dd(0x42b)](),_0x23bbc7=this[_0x3d89dd(0x495)](),_0x2a74d4={..._0x325d06};return _0x412776[_0x3d89dd(0x534)][_0x3d89dd(0x34b)](_0x4f75e6=>{const _0x235717=_0x3d89dd;let _0x485a29=_0x412776[_0x235717(0x453)][_0x4f75e6];_0x485a29&&(_0x485a29[_0x235717(0x4aa)]===_0x239099[_0x235717(0x1bc)]&&(_0x2a74d4[_0x4f75e6]=B(_0x22db23)),_0x485a29[_0x235717(0x4aa)]===_0x239099[_0x235717(0x532)]&&_0x23bbc7&&(_0x2a74d4[_0x4f75e6]=_0x23bbc7));}),{'recordId':_0x321d2e,'values':_0x2a74d4,'recordPatch':{'updatedAt':_0x22db23,..._0x23bbc7?{'updatedBy':_0x23bbc7}:{}}};}[_0x282c57(0x20e)](_0x49507e,_0x1fedc0,_0x20a347){const _0x3034aa=_0x282c57;let _0x3b7a62=_0x49507e['tables'][_0x1fedc0];return!_0x3b7a62||!Yr(_0x20a347)?[]:_0x20a347[_0x3034aa(0x4aa)]===_0x239099['Numbering']?this[_0x3034aa(0x2d1)](_0x3b7a62,_0x20a347['id']):Object['values'](_0x3b7a62[_0x3034aa(0x1e1)])['flatMap'](_0x53843d=>{const _0x55e77b=_0x3034aa;let _0x5395fc=this[_0x55e77b(0x4b4)](_0x20a347,_0x53843d);return _0x5395fc===void 0x0?[]:[{'recordId':_0x53843d['id'],'values':{[_0x20a347['id']]:_0x5395fc}}];});}['_getSystemFieldValue'](_0x3b90f8,_0x2e2eab){const _0x3b16cf=_0x282c57;switch(_0x3b90f8['type']){case _0x239099['CreatedBy']:return _0x2e2eab[_0x3b16cf(0x4d9)]??this[_0x3b16cf(0x495)]();case _0x239099['UpdatedBy']:return _0x2e2eab[_0x3b16cf(0x434)]??this[_0x3b16cf(0x495)]();case _0x239099[_0x3b16cf(0x35d)]:return B(_0x2e2eab[_0x3b16cf(0x53f)]??Date['now']());case _0x239099[_0x3b16cf(0x1bc)]:return B(_0x2e2eab[_0x3b16cf(0x250)]??Date[_0x3b16cf(0x42b)]());default:return;}}[_0x282c57(0x335)](_0x50f2de){const _0x475816=_0x282c57;let _0x3901a2=new Map();return _0x50f2de&&_0x50f2de[_0x475816(0x534)][_0x475816(0x34b)](_0x11679d=>{const _0x35c07c=_0x475816;let _0x168512=_0x50f2de[_0x35c07c(0x453)][_0x11679d];(_0x168512==null?void 0x0:_0x168512[_0x35c07c(0x4aa)])===_0x239099[_0x35c07c(0x1f6)]&&_0x3901a2['set'](_0x11679d,this[_0x35c07c(0x4ef)](_0x50f2de,_0x11679d));}),_0x3901a2;}[_0x282c57(0x4ef)](_0x32121c,_0x3f488d){const _0x3a9dd0=_0x282c57;let _0x59a1d6=Object[_0x3a9dd0(0x54e)](_0x32121c['records'])[_0x3a9dd0(0x3a7)]((_0x24b01e,_0x4b0a60)=>{const _0x210469=_0x3a9dd0;let _0x21c981=Number(_0x4b0a60[_0x210469(0x54e)][_0x3f488d]);return Number[_0x210469(0x210)](_0x21c981)?Math['max'](_0x24b01e,_0x21c981):_0x24b01e;},0x0);return()=>String(++_0x59a1d6);}[_0x282c57(0x2d1)](_0x544e1b,_0x431cbb){const _0x285662=_0x282c57;let _0x295f03=this[_0x285662(0x48d)](_0x544e1b),_0x2c4e5c=this['_createNumberingAllocator'](_0x544e1b,_0x431cbb);return _0x295f03['flatMap'](_0x5a9965=>this[_0x285662(0x3ef)](_0x5a9965[_0x285662(0x54e)][_0x431cbb])?[]:[{'recordId':_0x5a9965['id'],'values':{[_0x431cbb]:_0x2c4e5c()}}]);}[_0x282c57(0x48d)](_0x2d5cf4){const _0x58667b=_0x282c57;var _0x37da83;let _0x182a84=Object['values'](_0x2d5cf4['records']),_0x331efe=new Map(_0x182a84['map'](_0x371408=>[_0x371408['id'],_0x371408])),_0x59858d=[],_0x25d906=new Set();(_0x37da83=_0x2d5cf4[_0x58667b(0x413)])==null||_0x37da83[_0x58667b(0x34b)](_0x386a77=>{const _0x3a8bee=_0x58667b;let _0xf788a5=_0x331efe[_0x3a8bee(0x268)](_0x386a77);_0xf788a5&&(_0x59858d[_0x3a8bee(0x381)](_0xf788a5),_0x25d906[_0x3a8bee(0x551)](_0x386a77));});let _0x273df5=_0x182a84[_0x58667b(0x4cc)](_0x1bfdd7=>!_0x25d906[_0x58667b(0x25c)](_0x1bfdd7['id']))['sort']((_0x17b3f2,_0x4d0e25)=>String(_0x17b3f2['orderKey']??_0x17b3f2['id'])['localeCompare'](String(_0x4d0e25['orderKey']??_0x4d0e25['id']))||_0x17b3f2['id'][_0x58667b(0x506)](_0x4d0e25['id']));return[..._0x59858d,..._0x273df5];}[_0x282c57(0x3ef)](_0x5a0e35){const _0x3261d9=_0x282c57;return _0x5a0e35!=null&&_0x5a0e35!==''&&!(Array[_0x3261d9(0x3d5)](_0x5a0e35)&&_0x5a0e35[_0x3261d9(0x4ab)]===0x0);}[_0x282c57(0x495)](){const _0x331e7b=_0x282c57;var _0x45a871,_0x495ce9,_0x9e0f78,_0x1a4deb;return((_0x45a871=(_0x495ce9=this[_0x331e7b(0x3cd)])[_0x331e7b(0x2e0)])==null?void 0x0:_0x45a871['call'](_0x495ce9))??((_0x9e0f78=(_0x1a4deb=this[_0x331e7b(0x3cd)])[_0x331e7b(0x284)])==null||(_0x9e0f78=_0x9e0f78[_0x331e7b(0x2a4)](_0x1a4deb))==null?void 0x0:_0x9e0f78[_0x331e7b(0x256)])??void 0x0;}['_normalizeCellValue'](_0x2a7e3b,_0x5d52be,_0x1ae028,_0x36e8c1,_0x515d3f){const _0x36836f=_0x282c57;var _0xa775cf;if(!this[_0x36836f(0x513)][_0x36836f(0x456)](_0x5d52be,_0x1ae028,_0x36e8c1))throw Error(_0x36836f(0x358));let _0x234788=(_0xa775cf=_0x2a7e3b[_0x36836f(0x528)][_0x5d52be])==null?void 0x0:_0xa775cf[_0x36836f(0x453)][_0x36e8c1];if(!_0x234788)throw Error(_0x36836f(0x211)+_0x36e8c1+_0x36836f(0x4d5));let _0x5bc2d7=this[_0x36836f(0x395)][_0x36836f(0x268)](_0x234788[_0x36836f(0x4aa)]);if(_0x234788[_0x36836f(0x473)]||_0x234788[_0x36836f(0x43c)]||!_0x5bc2d7[_0x36836f(0x53a)](_0x234788)[_0x36836f(0x3f7)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x5b41a4=_0x5bc2d7[_0x36836f(0x203)](_0x515d3f,_0x234788),_0x254e74=_0x5bc2d7[_0x36836f(0x326)](_0x5b41a4,_0x234788);if(!_0x254e74[_0x36836f(0x375)])throw Error(_0x254e74[_0x36836f(0x2cd)]??_0x36836f(0x204));let _0x403cbe=_0x234788[_0x36836f(0x4aa)]===_0x239099[_0x36836f(0x2c2)]?Ve(_0x2a7e3b,_0x234788,_0x5b41a4):{'valid':!0x0};if(!_0x403cbe[_0x36836f(0x375)])throw Error(_0x403cbe[_0x36836f(0x2cd)]??_0x36836f(0x35f));return _0x5b41a4;}['_assertFieldDefinition'](_0x31514,_0xd89a5a){const _0x35d94c=_0x282c57;if(_0xd89a5a['id']===_0x1a2ecc||_0xd89a5a['type']===_0x239099[_0x35d94c(0x205)]||_0x38be32(_0xd89a5a[_0x35d94c(0x2f4)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x3ea9f1=Be(_0x31514,_0xd89a5a);if(!_0x3ea9f1[_0x35d94c(0x375)])throw Error(_0x3ea9f1[_0x35d94c(0x2cd)]??_0x35d94c(0x26f));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x140431=_0x282c57;let _0x3681a8=new hr();return zn()[_0x140431(0x34b)](_0x22f57a=>_0x3681a8[_0x140431(0x39f)](_0x22f57a)),_0x3681a8;}function Yr(_0x5b3154){const _0x4f8514=_0x282c57;return _0x5b3154['type']===_0x239099[_0x4f8514(0x1f6)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x4be)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x532)]||_0x5b3154[_0x4f8514(0x4aa)]===_0x239099[_0x4f8514(0x35d)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x1bc)];}const Xr=new Set([_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)],_0x239099[_0x282c57(0x379)]]);function Zr(_0x3ab118){const _0x5eed89=_0x282c57;let _0xb6b5c9=_0x3ab118[_0x5eed89(0x453)][_0x3ab118[_0x5eed89(0x45c)]];if((!_0xb6b5c9||_0xb6b5c9[_0x5eed89(0x43c)]!==!0x0&&_0xb6b5c9['id'][_0x5eed89(0x3ca)]()!=='id'&&_0xb6b5c9[_0x5eed89(0x2f4)][_0x5eed89(0x24d)]()[_0x5eed89(0x3ca)]()!=='id')&&_0xb6b5c9)return _0xb6b5c9['id'];for(let _0x283388 of _0x3ab118[_0x5eed89(0x534)]){let _0x179a31=_0x3ab118[_0x5eed89(0x453)][_0x283388];if(_0x179a31&&_0x179a31['id']!==_0x3ab118[_0x5eed89(0x45c)]&&_0x179a31[_0x5eed89(0x43c)]!==!0x0&&_0x179a31[_0x5eed89(0x4aa)]!==_0x239099['RecordId'])return _0x179a31['id'];}return _0x3ab118[_0x5eed89(0x45c)];}function Qr(_0x4d434c,_0x4e571d=[],_0x38536d=0x5){const _0x446aec=_0x282c57;let _0x42566b=new Set(_0x4e571d[_0x446aec(0x4cc)](_0x211f07=>!!_0x211f07)),_0xd82242=[],_0x128179=[];for(let _0x2a3ae8 of _0x4d434c[_0x446aec(0x534)]){let _0x3fdca5=_0x4d434c[_0x446aec(0x453)][_0x2a3ae8];_0x3fdca5&&_0x3fdca5[_0x446aec(0x43c)]!==!0x0&&_0x3fdca5['type']!==_0x239099[_0x446aec(0x205)]&&!_0x42566b[_0x446aec(0x25c)](_0x3fdca5['id'])&&(Xr[_0x446aec(0x25c)](_0x3fdca5[_0x446aec(0x4aa)])?_0xd82242:_0x128179)[_0x446aec(0x381)](_0x3fdca5['id']);}return[..._0xd82242,..._0x128179]['slice'](0x0,_0x38536d);}function $r(){const _0x501aae=_0x282c57;return[{'type':_0x1d9104[_0x501aae(0x3be)],'i18nKey':_0x501aae(0x357),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x1d9104[_0x501aae(0x549)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x5bc23e=>{const _0x11fcc6=_0x501aae;let _0x1fa362=ei(_0x5bc23e);return{'groupFieldId':_0x1fa362,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5bc23e[_0x11fcc6(0x45c)],'fieldIds':Qr(_0x5bc23e,[_0x5bc23e[_0x11fcc6(0x45c)],_0x1fa362])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x1d9104['Calendar'],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x3b0096=>{const _0x55e591=_0x501aae;let _0x120dd0=ti(_0x3b0096);return{'startDateFieldId':_0x120dd0,'endDateFieldId':ni(_0x3b0096,_0x120dd0),'titleFieldId':_0x3b0096[_0x55e591(0x45c)],'mode':'month','timeslotSize':_0x55e591(0x4c7),'timeZone':'local','displayColor':{'type':_0x55e591(0x261),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1cad2a=_0x501aae;throw Error(_0x1cad2a(0x4e5));}},{'type':_0x1d9104[_0x501aae(0x46b)],'i18nKey':_0x501aae(0x30a),'createDefaultConfig':_0x42b285=>{const _0x57821b=_0x501aae;let _0x40d207=ti(_0x42b285);return{'startDateFieldId':_0x40d207,'endDateFieldId':ni(_0x42b285,_0x40d207)??_0x40d207,'titleFieldId':_0x42b285['primaryFieldId'],'scale':_0x57821b(0x319),'showTodayLine':!0x0,'displayColor':{'type':_0x57821b(0x261),'color':_0x57821b(0x351)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1da277=_0x501aae;throw Error(_0x1da277(0x263));}},{'type':_0x1d9104[_0x501aae(0x2dd)],'i18nKey':_0x501aae(0x4fd),'createDefaultConfig':_0x369b34=>{const _0x516910=_0x501aae;let _0x5432d5=Zr(_0x369b34);return{'coverFieldId':null,'cardLayout':_0x516910(0x3b3),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5432d5,'coverFieldId':null,'fieldIds':Qr(_0x369b34,[_0x5432d5,_0x369b34['primaryFieldId']])},'cardSize':_0x516910(0x4c7)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3933e6=_0x501aae;throw Error(_0x3933e6(0x529));}}];}function ei(_0x1db7c3){const _0x204f8d=_0x282c57;var _0x2669ff,_0x4c9212,_0x36b03d;let _0x4c12a9=_0x1db7c3[_0x204f8d(0x534)][_0x204f8d(0x309)](_0x4c1fe4=>_0x1db7c3['fields'][_0x4c1fe4])[_0x204f8d(0x4cc)](_0x56f5fe=>!!_0x56f5fe);return((_0x2669ff=_0x4c12a9[_0x204f8d(0x525)](_0x492e61=>_0x492e61[_0x204f8d(0x4aa)]===_0x239099[_0x204f8d(0x2fe)]||_0x492e61['type']===_0x239099[_0x204f8d(0x4b3)]||_0x492e61[_0x204f8d(0x4aa)]===_0x239099[_0x204f8d(0x3af)]))==null?void 0x0:_0x2669ff['id'])??((_0x4c9212=_0x4c12a9[_0x204f8d(0x525)](_0x170ad7=>_0x170ad7['type']===_0x239099[_0x204f8d(0x34a)]))==null?void 0x0:_0x4c9212['id'])??((_0x36b03d=_0x4c12a9[_0x204f8d(0x525)](_0x56ee8f=>_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['Date']||_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['CreatedAt']||_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['UpdatedAt']))==null?void 0x0:_0x36b03d['id'])??_0x1db7c3['primaryFieldId'];}function ti(_0x5a9466){const _0x3cbbc3=_0x282c57;var _0x58769d;return((_0x58769d=_0x5a9466['fieldOrder'][_0x3cbbc3(0x309)](_0x59366a=>_0x5a9466['fields'][_0x59366a])[_0x3cbbc3(0x525)](ri))==null?void 0x0:_0x58769d['id'])??'';}function ni(_0x154c0c,_0x610800){const _0xdb20a4=_0x282c57;var _0x18ed17;return(_0x18ed17=_0x154c0c[_0xdb20a4(0x534)][_0xdb20a4(0x309)](_0x21312c=>_0x154c0c['fields'][_0x21312c])[_0xdb20a4(0x525)](_0x4e8a5a=>ri(_0x4e8a5a)&&_0x4e8a5a['id']!==_0x610800))==null?void 0x0:_0x18ed17['id'];}function ri(_0x249dd7){const _0x28fd00=_0x282c57;return!!_0x249dd7&&_0x249dd7[_0x28fd00(0x4aa)]===_0x239099[_0x28fd00(0x240)]&&_0x249dd7['readonly']!==!0x0&&_0x249dd7[_0x28fd00(0x43c)]!==!0x0;}const ii=_0x2cfc4b(_0x282c57(0x29c)),ai=new Set([_0x239099['Number'],_0x239099[_0x282c57(0x4b6)],_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)],_0x239099[_0x282c57(0x240)],_0x239099[_0x282c57(0x35d)],_0x239099['UpdatedAt'],_0x239099['Checkbox']]),oi=0x5265c00;let si=class extends _0x3bb8e0{constructor(_0x318859){const _0x4ff30e=_0x282c57;super(),this[_0x4ff30e(0x395)]=_0x318859,G(this,'_views',new Map()),G(this,_0x4ff30e(0x474),new WeakMap()),G(this,_0x4ff30e(0x4c5),new Map()),G(this,_0x4ff30e(0x494),new Map()),G(this,_0x4ff30e(0x4c8),new Map()),G(this,_0x4ff30e(0x1cb),new Map()),G(this,_0x4ff30e(0x492),0x0),G(this,_0x4ff30e(0x1ac),new Map()),G(this,_0x4ff30e(0x2b2),new Map()),G(this,_0x4ff30e(0x4bc),new Map()),G(this,_0x4ff30e(0x428),new Map());}[_0x282c57(0x241)](_0x425eda){const _0x184ce7=_0x282c57;return this['_views'][_0x184ce7(0x246)](_0x425eda[_0x184ce7(0x4aa)],_0x425eda),_0x453a32(()=>this[_0x184ce7(0x2f6)][_0x184ce7(0x404)](_0x425eda[_0x184ce7(0x4aa)]));}['getProjection'](_0x749f2f,_0x18b2ca,_0x5473b7){const _0x3ac093=_0x282c57;var _0x171baa,_0x14f4ab,_0x4febcf;return I(_0x3ac093(0x3d3),()=>{const _0x346e15=_0x3ac093;let _0x4e6c6f=this[_0x346e15(0x342)](_0x749f2f,_0x18b2ca,_0x5473b7);if(_0x4e6c6f)return _0x4e6c6f;let _0x569a51=_0x749f2f[_0x346e15(0x528)][_0x18b2ca],_0x5104d8=_0x569a51==null?void 0x0:_0x569a51[_0x346e15(0x4f9)][_0x5473b7];if(!_0x569a51||!_0x5104d8)return this['_setCachedProjection'](_0x749f2f,_0x18b2ca,_0x5473b7,{'type':_0x346e15(0x269),'viewType':(_0x5104d8==null?void 0x0:_0x5104d8[_0x346e15(0x4aa)])??_0x1d9104[_0x346e15(0x3be)],'reason':_0x346e15(0x1aa)});let _0x58327a;switch(_0x5104d8['type']){case _0x1d9104[_0x346e15(0x3be)]:_0x58327a=this[_0x346e15(0x2a8)](_0x569a51,_0x5104d8);break;case _0x1d9104[_0x346e15(0x46b)]:_0x58327a=this[_0x346e15(0x2a1)](_0x569a51,_0x5104d8);break;case _0x1d9104['Kanban']:_0x58327a=this[_0x346e15(0x276)](_0x569a51,_0x5104d8);break;case _0x1d9104[_0x346e15(0x2c4)]:_0x58327a=this[_0x346e15(0x2ba)](_0x569a51,_0x5104d8);break;case _0x1d9104['Gallery']:_0x58327a=this[_0x346e15(0x3e6)](_0x569a51,_0x5104d8);break;default:_0x58327a={'type':_0x346e15(0x269),'viewType':_0x5104d8[_0x346e15(0x4aa)],'reason':_0x346e15(0x1aa)};}return this[_0x346e15(0x1f3)](_0x749f2f,_0x18b2ca,_0x5473b7,_0x58327a);},{'tableId':_0x18b2ca,'viewId':_0x5473b7,'viewType':(_0x171baa=_0x749f2f[_0x3ac093(0x528)][_0x18b2ca])==null||(_0x171baa=_0x171baa[_0x3ac093(0x4f9)][_0x5473b7])==null?void 0x0:_0x171baa[_0x3ac093(0x4aa)],'records':((_0x14f4ab=_0x749f2f['tables'][_0x18b2ca])==null||(_0x14f4ab=_0x14f4ab[_0x3ac093(0x413)])==null?void 0x0:_0x14f4ab[_0x3ac093(0x4ab)])??Object[_0x3ac093(0x334)](((_0x4febcf=_0x749f2f['tables'][_0x18b2ca])==null?void 0x0:_0x4febcf[_0x3ac093(0x1e1)])??{})[_0x3ac093(0x4ab)]});}[_0x282c57(0x325)](_0x426edd,_0x44ba6a,_0x1f26f0){const _0x291b4c=_0x282c57;var _0xbe20f5,_0x512730,_0x16dadb;let _0x4fd1f9=_0x426edd['tables'][_0x44ba6a],_0x1e2554=_0x4fd1f9==null?void 0x0:_0x4fd1f9[_0x291b4c(0x4f9)][_0x1f26f0];if(!_0x4fd1f9||!_0x1e2554)throw Error(_0x291b4c(0x2cf)+_0x1f26f0+'\x22.');let _0x3f1820=_0x18c932=>!!_0x4fd1f9['fields'][_0x18c932],_0x288787={..._0x1e2554,'filter':_0x1e2554[_0x291b4c(0x4cc)]?{..._0x1e2554[_0x291b4c(0x4cc)],'conditions':_0x1e2554[_0x291b4c(0x4cc)][_0x291b4c(0x3d8)][_0x291b4c(0x4cc)](_0x28a2af=>_0x3f1820(_0x28a2af[_0x291b4c(0x387)]))}:_0x1e2554[_0x291b4c(0x4cc)],'sort':(_0xbe20f5=_0x1e2554[_0x291b4c(0x1df)])==null?void 0x0:_0xbe20f5[_0x291b4c(0x4cc)](_0x50ff74=>_0x3f1820(_0x50ff74['fieldId'])),'group':(_0x512730=_0x1e2554[_0x291b4c(0x359)])==null?void 0x0:_0x512730[_0x291b4c(0x4cc)](_0x4b5e89=>_0x3f1820(_0x4b5e89['fieldId'])),'fieldOrder':(_0x16dadb=_0x1e2554['fieldOrder'])==null?void 0x0:_0x16dadb[_0x291b4c(0x4cc)](_0x3f1820),'fieldSettings':Object[_0x291b4c(0x1af)](Object[_0x291b4c(0x41d)](_0x1e2554[_0x291b4c(0x272)]??{})[_0x291b4c(0x4cc)](([_0x39873a])=>_0x3f1820(_0x39873a)))};if(_0x288787[_0x291b4c(0x4aa)]===_0x291b4c(0x320)){var _0x37bac9;let _0x80f9c2=_0x288787[_0x291b4c(0x50c)]??{},_0x2c5697=this[_0x291b4c(0x2ab)](_0x4fd1f9,_0x288787),_0x26486d=this[_0x291b4c(0x55a)](_0x4fd1f9,(_0x37bac9=_0x80f9c2['card'])==null?void 0x0:_0x37bac9[_0x291b4c(0x430)]);_0x288787['config']={..._0x80f9c2,'groupFieldId':_0x2c5697??_0x80f9c2[_0x291b4c(0x25d)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x4fd1f9,_0x80f9c2),'cardLayout':_0x80f9c2['cardLayout']===_0x291b4c(0x3ad)?_0x291b4c(0x3ad):_0x291b4c(0x3b3),'showFieldNames':_0x80f9c2[_0x291b4c(0x299)]!==!0x1,'fieldSettings':Object[_0x291b4c(0x1af)](Object[_0x291b4c(0x41d)](_0x80f9c2[_0x291b4c(0x272)]??{})[_0x291b4c(0x4cc)](([_0x5a4938])=>_0x3f1820(_0x5a4938))),'columnSettings':_0x80f9c2[_0x291b4c(0x37c)]??{},'card':{..._0x80f9c2[_0x291b4c(0x1c6)]??{},'titleFieldId':_0x26486d,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x4fd1f9,_0x288787,_0x2c5697??'',_0x26486d)}};}return{'repaired':JSON[_0x291b4c(0x2fb)](_0x288787)!==JSON[_0x291b4c(0x2fb)](_0x1e2554),'view':_0x288787};}[_0x282c57(0x466)](){const _0x518438=_0x282c57;this[_0x518438(0x492)]++;}[_0x282c57(0x4f7)](_0x1d11f0,_0x36839d,_0x3c6f59){const _0x4a9136=_0x282c57;let _0x306334=this[_0x4a9136(0x2c9)](_0x1d11f0)+0x1;this['_cellRevisions'][_0x4a9136(0x246)](_0x1d11f0,_0x306334);let _0x5164ad=this['_cellInvalidations']['get'](_0x1d11f0)??[];_0x5164ad[_0x4a9136(0x381)]({'revision':_0x306334,'recordId':_0x36839d,'fieldId':_0x3c6f59}),this[_0x4a9136(0x4bc)][_0x4a9136(0x246)](_0x1d11f0,_0x5164ad);}['invalidateByField'](_0x35bbb5,_0x46b8cd){const _0x2114c1=_0x282c57;this[_0x2114c1(0x29a)](_0x35bbb5);}[_0x282c57(0x438)](_0x5435a1,_0x5ef7c3){const _0x952ae2=_0x282c57;this['_viewRevisions'][_0x952ae2(0x246)](this[_0x952ae2(0x337)](_0x5435a1,_0x5ef7c3),this[_0x952ae2(0x24f)](_0x5435a1,_0x5ef7c3)+0x1);}[_0x282c57(0x342)](_0x59d585,_0x559c71,_0xf398b2){const _0x26f418=_0x282c57;var _0xf710eb;let _0x1d02d4=(_0xf710eb=this[_0x26f418(0x474)][_0x26f418(0x268)](_0x59d585))==null?void 0x0:_0xf710eb[_0x26f418(0x268)](this['_cacheKey'](_0x559c71,_0xf398b2));return _0x1d02d4&&_0x1d02d4[_0x26f418(0x271)]===this[_0x26f418(0x492)]&&_0x1d02d4[_0x26f418(0x332)]===this[_0x26f418(0x398)](_0x559c71)&&_0x1d02d4[_0x26f418(0x29f)]===this[_0x26f418(0x2c9)](_0x559c71)&&_0x1d02d4['viewRevision']===this[_0x26f418(0x24f)](_0x559c71,_0xf398b2)?_0x1d02d4[_0x26f418(0x431)]:null;}['_setCachedProjection'](_0x3184df,_0x2c90f0,_0x24bafd,_0x22023c){const _0x24d56e=_0x282c57;let _0x32a6b3=this['_projectionCache'][_0x24d56e(0x268)](_0x3184df);return _0x32a6b3||(_0x32a6b3=new Map(),this[_0x24d56e(0x474)]['set'](_0x3184df,_0x32a6b3)),_0x32a6b3[_0x24d56e(0x246)](this[_0x24d56e(0x390)](_0x2c90f0,_0x24bafd),{'projection':_0x22023c,'globalRevision':this[_0x24d56e(0x492)],'tableRevision':this[_0x24d56e(0x398)](_0x2c90f0),'cellRevision':this[_0x24d56e(0x2c9)](_0x2c90f0),'viewRevision':this[_0x24d56e(0x24f)](_0x2c90f0,_0x24bafd)}),_0x22023c;}['_bumpTableRevision'](_0x5d8ca0){const _0x50c901=_0x282c57;this[_0x50c901(0x1ac)][_0x50c901(0x246)](_0x5d8ca0,this[_0x50c901(0x398)](_0x5d8ca0)+0x1);}['_getTableRevision'](_0x49ae08){return this['_tableRevisions']['get'](_0x49ae08)??0x0;}[_0x282c57(0x2c9)](_0x2682fd){const _0x2eab5a=_0x282c57;return this[_0x2eab5a(0x2b2)][_0x2eab5a(0x268)](_0x2682fd)??0x0;}[_0x282c57(0x24f)](_0x32e96d,_0x2303eb){const _0x2046e6=_0x282c57;return this[_0x2046e6(0x428)][_0x2046e6(0x268)](this[_0x2046e6(0x337)](_0x32e96d,_0x2303eb))??0x0;}[_0x282c57(0x390)](_0x50b56e,_0x43730e){return _0x50b56e+'\x00'+_0x43730e;}[_0x282c57(0x47d)](_0x2a3f8a,_0x52fcd6){return _0x2a3f8a+'\x00'+this['_rowTransformCacheSegment'](_0x52fcd6);}['_groupsCacheKey'](_0x58e974,_0x6a8a2e,_0x536b87){const _0x27eaa4=_0x282c57;return _0x58e974+'\x00'+this[_0x27eaa4(0x22a)](_0x6a8a2e)+'\x00'+this[_0x27eaa4(0x1a3)](_0x536b87);}['_rowTransformCacheSegment'](_0x402050){const _0x3e6761=_0x282c57;return _0x402050?mi({'filter':di(_0x402050[_0x3e6761(0x4cc)]),'sort':pi(_0x402050[_0x3e6761(0x1df)])}):_0x3e6761(0x1b2);}[_0x282c57(0x1a3)](_0x2824a0){const _0x58ade4=_0x282c57;return mi(_0x2824a0[_0x58ade4(0x309)](_0x33a250=>({'fieldId':_0x33a250[_0x58ade4(0x387)],'direction':_0x33a250[_0x58ade4(0x292)]??null})));}['_viewRevisionKey'](_0x3267e3,_0x35d5c0){return _0x3267e3+'\x00'+_0x35d5c0;}['_buildGrid'](_0x26d443,_0x38edc1){const _0x10dab7=_0x282c57;var _0xb416d3;let _0x320e7f=Je(_0x26d443),_0x5ec882=this[_0x10dab7(0x2b1)](_0x26d443,_0x38edc1),_0x537db0=(_0xb416d3=_0x38edc1[_0x10dab7(0x4cc)])!=null&&_0xb416d3['conditions']['length']?this['_projectRows'](_0x26d443,{..._0x38edc1,'filter':null}):_0x5ec882,_0x191ff1=nt(this[_0x10dab7(0x33d)](_0x26d443,_0x320e7f,_0x38edc1['id'],_0x537db0[_0x10dab7(0x309)](_0x4a6694=>_0x4a6694['recordId'])),_0x537db0,new Set(_0x5ec882[_0x10dab7(0x309)](_0xd0f090=>_0xd0f090[_0x10dab7(0x40d)])));return{'type':_0x1d9104[_0x10dab7(0x3be)],'fields':this[_0x10dab7(0x420)](_0x26d443,_0x38edc1),'rows':_0x191ff1[_0x10dab7(0x535)],'groups':this[_0x10dab7(0x31e)](_0x26d443,_0x38edc1,_0x191ff1[_0x10dab7(0x535)],_0x191ff1[_0x10dab7(0x43d)]),'hierarchy':_0x191ff1[_0x10dab7(0x43d)],'frozenFieldCount':typeof _0x38edc1[_0x10dab7(0x50c)][_0x10dab7(0x4a2)]==_0x10dab7(0x389)?_0x38edc1[_0x10dab7(0x50c)][_0x10dab7(0x4a2)]:0x0};}['_getHierarchyIndex'](_0x1118d2,_0x1e8dc1,_0x47e5c5,_0x4d326a){const _0x10c164=_0x282c57;let _0x10b651=_0x1118d2['id']+'\x00'+_0x1e8dc1+'\x00'+_0x47e5c5,_0x4db2bc=this[_0x10c164(0x2c9)](_0x1118d2['id']),_0x1833d0=this['_hierarchyIndexCache']['get'](_0x10b651);if(_0x1833d0&&_0x1833d0[_0x10c164(0x271)]===this[_0x10c164(0x492)]&&_0x1833d0['tableRevision']===this[_0x10c164(0x398)](_0x1118d2['id'])&&_0x1833d0[_0x10c164(0x2db)][_0x10c164(0x4ab)]===_0x4d326a[_0x10c164(0x4ab)]&&_0x1833d0['orderedRecordIds']['every']((_0x3e1bd7,_0x586f34)=>_0x3e1bd7===_0x4d326a[_0x586f34])){if(_0x1833d0[_0x10c164(0x29f)]===_0x4db2bc&&_0x1833d0[_0x10c164(0x270)]===_0x1118d2)return _0x1833d0[_0x10c164(0x198)];if(!this[_0x10c164(0x3c4)](_0x1118d2['id'],_0x1833d0[_0x10c164(0x29f)],_0x4db2bc,new Set([_0x1e8dc1])))return this[_0x10c164(0x1cb)][_0x10c164(0x246)](_0x10b651,{..._0x1833d0,'table':_0x1118d2,'cellRevision':_0x4db2bc}),_0x1833d0[_0x10c164(0x198)];}let _0x126642=tt(_0x1118d2,_0x1e8dc1,_0x4d326a);return this[_0x10c164(0x1cb)][_0x10c164(0x246)](_0x10b651,{'table':_0x1118d2,'index':_0x126642,'orderedRecordIds':_0x4d326a,'globalRevision':this[_0x10c164(0x492)],'tableRevision':this[_0x10c164(0x398)](_0x1118d2['id']),'cellRevision':_0x4db2bc}),_0x126642;}[_0x282c57(0x31e)](_0x271d5d,_0x54d71e,_0x27e731,_0x584590){const _0xd08e92=_0x282c57;var _0x415af1;if(!((_0x415af1=_0x54d71e[_0xd08e92(0x359)])!=null&&_0x415af1[_0xd08e92(0x4ab)]))return[];let _0x142554=new Map(_0x27e731['map'](_0x197c7c=>[_0x197c7c[_0xd08e92(0x40d)],_0x197c7c])),_0xef258b=_0x584590[_0xd08e92(0x1b0)][_0xd08e92(0x26a)](_0x570df2=>{const _0x8bfdb3=_0xd08e92;let _0x54440a=_0x142554[_0x8bfdb3(0x268)](_0x570df2);return _0x54440a?[_0x54440a]:[];}),_0x22215a=this[_0xd08e92(0x348)](_0x271d5d,_0x54d71e,_0xef258b),_0x5aa53a=new Map(_0x584590[_0xd08e92(0x2db)][_0xd08e92(0x309)]((_0xfdfbc1,_0x2480a5)=>[_0xfdfbc1,_0x2480a5])),_0x1f4a28=_0x385dbd=>{const _0x401b2f=_0xd08e92;let _0x482c87=_0x584590['nodes'][_0x385dbd],_0x3c0e1c=_0x5aa53a[_0x401b2f(0x268)](_0x385dbd)??-0x1;return _0x3c0e1c<0x0||!_0x482c87?[]:_0x584590[_0x401b2f(0x2db)]['slice'](_0x3c0e1c,_0x482c87[_0x401b2f(0x3da)]+0x1);},_0x36c533=_0x2eace8=>{const _0x44ff0e=_0xd08e92;var _0x2a6e10,_0x4b30cc;return{..._0x2eace8,'recordIds':(_0x2a6e10=_0x2eace8['children'])!=null&&_0x2a6e10[_0x44ff0e(0x4ab)]?_0x2eace8[_0x44ff0e(0x1b9)]:_0x2eace8['recordIds'][_0x44ff0e(0x26a)](_0x1f4a28),'children':(_0x4b30cc=_0x2eace8[_0x44ff0e(0x4fc)])==null?void 0x0:_0x4b30cc[_0x44ff0e(0x309)](_0x36c533)};};return _0x22215a[_0xd08e92(0x309)](_0x36c533);}[_0x282c57(0x276)](_0x4ac0be,_0x2bac9d){const _0x4de19c=_0x282c57;var _0x141bc8;let _0x18ba98=this[_0x4de19c(0x2ab)](_0x4ac0be,_0x2bac9d),_0x3a3167=_0x18ba98?_0x4ac0be[_0x4de19c(0x453)][_0x18ba98]:void 0x0;if(!_0x3a3167)return{'type':_0x4de19c(0x269),'viewType':_0x1d9104[_0x4de19c(0x549)],'reason':'invalidGroupField','fieldId':_0x2bac9d[_0x4de19c(0x50c)][_0x4de19c(0x25d)]};let _0x3162f7=this[_0x4de19c(0x2b1)](_0x4ac0be,_0x2bac9d),_0x1bce32=this[_0x4de19c(0x420)](_0x4ac0be,_0x2bac9d),_0x5839a4=_0x2bac9d[_0x4de19c(0x50c)]??{},_0x46965f=this['_resolveCardTitleFieldId'](_0x4ac0be,(_0x141bc8=_0x5839a4[_0x4de19c(0x1c6)])==null?void 0x0:_0x141bc8['titleFieldId']),_0x229166=this[_0x4de19c(0x53c)](_0x4ac0be,_0x2bac9d,_0x3a3167['id'],_0x46965f),_0x43b088=new Map();if(F(_0x4ac0be,_0x3a3167['id'])){let _0xe4daf8=this['_getHierarchyIndex'](_0x4ac0be,_0x3a3167['id'],_0x2bac9d['id'],_0x3162f7[_0x4de19c(0x309)](_0x33a16e=>_0x33a16e[_0x4de19c(0x40d)])),_0xf425d7=new Map();return _0x3162f7[_0x4de19c(0x34b)](_0x245c53=>{const _0x47459c=_0x4de19c;let _0x2d8703=_0xe4daf8[_0x47459c(0x39a)]['get'](_0x245c53['recordId'])??null,_0x1b2d04=_0x2d8703??'',_0x2e8663=_0x2d8703?_0x4ac0be['records'][_0x2d8703]:void 0x0,_0x15ca0d=_0xf425d7[_0x47459c(0x268)](_0x1b2d04)??{'key':_0x1b2d04,'title':_0x2e8663?String(yt(_0x4ac0be,_0x2e8663['id'],_0x4ac0be['primaryFieldId'])??_0x2d8703):this['_kanbanLaneTitle'](_0x3a3167,_0x1b2d04,_0x5839a4),'recordIds':[]};_0x15ca0d[_0x47459c(0x1b9)][_0x47459c(0x381)](_0x245c53[_0x47459c(0x40d)]),_0xf425d7[_0x47459c(0x246)](_0x1b2d04,_0x15ca0d);}),{'type':_0x1d9104[_0x4de19c(0x549)],'fields':_0x1bce32,'rows':_0x3162f7,'groups':[],'groupFieldId':_0x3a3167['id'],'titleFieldId':_0x46965f,'coverFieldId':this[_0x4de19c(0x1ed)](_0x4ac0be,_0x5839a4),'cardLayout':_0x5839a4[_0x4de19c(0x316)]===_0x4de19c(0x3ad)?_0x4de19c(0x3ad):'normal','showFieldNames':_0x5839a4[_0x4de19c(0x299)]!==!0x1,'visibleCardFieldIds':_0x229166,'lanes':['',..._0xe4daf8[_0x4de19c(0x2db)]]['flatMap'](_0x24625c=>{const _0xded19a=_0x4de19c;let _0x53d3e6=_0xf425d7[_0xded19a(0x268)](_0x24625c);return _0x53d3e6!=null&&_0x53d3e6['recordIds'][_0xded19a(0x4ab)]?[_0x53d3e6]:[];})};}return this[_0x4de19c(0x273)](_0x3a3167,_0x5839a4)[_0x4de19c(0x34b)](_0x1e03df=>_0x43b088[_0x4de19c(0x246)](_0x1e03df[_0x4de19c(0x34d)],{..._0x1e03df,'recordIds':[]})),_0x3162f7[_0x4de19c(0x34b)](_0x5593d7=>{const _0x916bd9=_0x4de19c;this[_0x916bd9(0x21e)](_0x3a3167,_0x5593d7[_0x916bd9(0x54e)][_0x3a3167['id']])[_0x916bd9(0x34b)](_0x5136ad=>{const _0x229415=_0x916bd9;let _0x10ac76=_0x43b088['get'](_0x5136ad)??{'key':_0x5136ad,'title':this['_kanbanLaneTitle'](_0x3a3167,_0x5136ad,_0x5839a4),'color':this[_0x229415(0x366)](_0x3a3167,_0x5136ad,_0x5839a4),'recordIds':[]};_0x10ac76['recordIds'][_0x229415(0x381)](_0x5593d7[_0x229415(0x40d)]),_0x43b088[_0x229415(0x246)](_0x5136ad,_0x10ac76);});}),{'type':_0x1d9104['Kanban'],'fields':_0x1bce32,'rows':_0x3162f7,'groups':this[_0x4de19c(0x348)](_0x4ac0be,_0x2bac9d,_0x3162f7),'groupFieldId':_0x3a3167['id'],'titleFieldId':_0x46965f,'coverFieldId':this[_0x4de19c(0x1ed)](_0x4ac0be,_0x5839a4),'cardLayout':_0x5839a4[_0x4de19c(0x316)]===_0x4de19c(0x3ad)?_0x4de19c(0x3ad):_0x4de19c(0x3b3),'showFieldNames':_0x5839a4['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x229166,'lanes':Array[_0x4de19c(0x2f3)](_0x43b088[_0x4de19c(0x54e)]())};}[_0x282c57(0x2ab)](_0x25e390,_0x47c720){const _0x270dff=_0x282c57;var _0x3771b7;let _0x5361e5=(_0x3771b7=_0x47c720[_0x270dff(0x50c)])==null?void 0x0:_0x3771b7['groupFieldId'];return _0x5361e5&&this[_0x270dff(0x396)](_0x25e390,_0x5361e5)?_0x5361e5:this[_0x270dff(0x214)](_0x25e390,_0x121314=>this['_isAllowedKanbanGroupField'](_0x121314));}['_findKanbanGroupField'](_0x2fff53,_0xc5cb12){const _0x17a7e8=_0x282c57;for(let _0x5d4b08 of _0x2fff53[_0x17a7e8(0x534)]){let _0x1cc6a5=_0x2fff53['fields'][_0x5d4b08];if(_0x1cc6a5&&_0xc5cb12(_0x1cc6a5))return _0x1cc6a5['id'];}return null;}[_0x282c57(0x396)](_0x380acf,_0x535b7e){const _0x15d441=_0x282c57;let _0x2ef346=_0x380acf[_0x15d441(0x453)][_0x535b7e];return this[_0x15d441(0x2d2)](_0x2ef346)||F(_0x380acf,_0x535b7e);}[_0x282c57(0x2d2)](_0x36dee6){const _0x5aca39=_0x282c57;return!!_0x36dee6&&(_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x2fe)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099['MultiSelect']||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x3b7)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x2a5)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x3af)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x379)]);}[_0x282c57(0x232)](_0x382dbc){const _0x4d3e4e=_0x282c57;return _0x382dbc[_0x4d3e4e(0x4aa)]===_0x239099[_0x4d3e4e(0x2fe)]||_0x382dbc['type']===_0x239099[_0x4d3e4e(0x4b3)];}[_0x282c57(0x1ed)](_0x12e23a,_0x5ce106){const _0x4cf342=_0x282c57;var _0x140a77;let _0x460ab8=_0x5ce106[_0x4cf342(0x2b6)]??((_0x140a77=_0x5ce106[_0x4cf342(0x1c6)])==null?void 0x0:_0x140a77['coverFieldId'])??null;if(!_0x460ab8)return null;let _0x3ced8d=_0x12e23a['fields'][_0x460ab8];return _0x3ced8d&&this[_0x4cf342(0x1c7)](_0x3ced8d)[_0x4cf342(0x3ae)]?_0x3ced8d['id']:null;}[_0x282c57(0x53c)](_0xce1b1d,_0x2a64ef,_0x57d233,_0x3657df=this[_0x282c57(0x55a)](_0xce1b1d,((()=>{const _0x5e7bb1=_0x282c57;var _0x253003;return(_0x253003=_0x2a64ef[_0x5e7bb1(0x50c)])==null||(_0x253003=_0x253003['card'])==null?void 0x0:_0x253003[_0x5e7bb1(0x430)];})()))){const _0x189051=_0x282c57;var _0x36b18e;let _0x15eb26=_0x2a64ef['config']??{},_0x3952c3=(_0x36b18e=_0x15eb26[_0x189051(0x1c6)])!=null&&(_0x36b18e=_0x36b18e['fieldIds'])!=null&&_0x36b18e[_0x189051(0x4ab)]?_0x15eb26[_0x189051(0x1c6)]['fieldIds']:Qr(_0xce1b1d,[_0x3657df,_0xce1b1d[_0x189051(0x45c)],_0x57d233]),_0x462c3e=_0x15eb26[_0x189051(0x272)]??{};return _0x3952c3[_0x189051(0x4cc)](_0x255d31=>{const _0x547c3c=_0x189051;var _0x1df639,_0x95a426;let _0x405e2e=_0xce1b1d[_0x547c3c(0x453)][_0x255d31];return!(!_0x405e2e||_0x405e2e[_0x547c3c(0x43c)]===!0x0||_0x405e2e['type']===_0x239099[_0x547c3c(0x205)]||_0x405e2e['id']===_0x57d233||_0x405e2e['id']===_0x3657df||(_0x1df639=_0x2a64ef[_0x547c3c(0x272)])!=null&&(_0x1df639=_0x1df639[_0x255d31])!=null&&_0x1df639[_0x547c3c(0x194)]||(_0x95a426=_0x462c3e[_0x255d31])!=null&&_0x95a426[_0x547c3c(0x194)]);})[_0x189051(0x1df)]((_0xcd39f4,_0x499762)=>{const _0x37020c=_0x189051;var _0xb29349,_0x12ed79;return(((_0xb29349=_0x462c3e[_0xcd39f4])==null?void 0x0:_0xb29349[_0x37020c(0x51d)])??_0x3952c3[_0x37020c(0x1f4)](_0xcd39f4))-(((_0x12ed79=_0x462c3e[_0x499762])==null?void 0x0:_0x12ed79[_0x37020c(0x51d)])??_0x3952c3['indexOf'](_0x499762));});}[_0x282c57(0x273)](_0x46816c,_0x30afe2){const _0x174eb0=_0x282c57;var _0x5573cb;let _0x3cee69=(Array[_0x174eb0(0x3d5)]((_0x5573cb=_0x46816c[_0x174eb0(0x50c)])==null?void 0x0:_0x5573cb[_0x174eb0(0x4f3)])?_0x46816c[_0x174eb0(0x50c)]['options']:[])[_0x174eb0(0x26a)]((_0x53d35d,_0x5787e7)=>{const _0x2826ab=_0x174eb0;if(_0x53d35d==null)return[];let _0x4ae6b7=typeof _0x53d35d=='string'?{'id':_0x53d35d,'name':_0x53d35d,'color':void 0x0}:_0x53d35d,_0x36a663=String(_0x4ae6b7['id']??_0x4ae6b7[_0x2826ab(0x2f4)]??_0x2826ab(0x265)+(_0x5787e7+0x1));return[{'key':_0x36a663,'title':String(_0x4ae6b7['name']??_0x4ae6b7['id']??_0x36a663),'color':this['_kanbanLaneColor'](_0x46816c,_0x36a663,_0x30afe2)}];});return Object[_0x174eb0(0x41d)](_0x30afe2[_0x174eb0(0x37c)]??{})[_0x174eb0(0x34b)](([_0x281c22,_0x4b6fb9])=>{const _0x265eb0=_0x174eb0;_0x3cee69[_0x265eb0(0x436)](_0x59627b=>_0x59627b[_0x265eb0(0x34d)]===_0x281c22)||_0x3cee69['push']({'key':_0x281c22,'title':this[_0x265eb0(0x232)](_0x46816c)?_0x4b6fb9['title']??this[_0x265eb0(0x40c)](_0x46816c,_0x281c22,_0x30afe2):this[_0x265eb0(0x40c)](_0x46816c,_0x281c22,_0x30afe2),'color':this[_0x265eb0(0x366)](_0x46816c,_0x281c22,_0x30afe2)});}),_0x3cee69;}[_0x282c57(0x21e)](_0x955b90,_0x5c00d5){const _0x1f49f2=_0x282c57;let _0x432d5b=_0x4b853b=>{const _0x111800=_0x3047;var _0x51a804;let _0x38f633=_0x4b853b==null?'':String(_0x4b853b);return!_0x38f633||!this[_0x111800(0x232)](_0x955b90)?_0x38f633:((_0x51a804=Li(_0x955b90,_0x38f633))==null?void 0x0:_0x51a804['id'])??_0x38f633;};if(Array[_0x1f49f2(0x3d5)](_0x5c00d5)){let _0x450528=_0x5c00d5['map'](_0x432d5b)['filter'](_0x752e54=>_0x752e54!=='');return _0x450528[_0x1f49f2(0x4ab)]?_0x450528:[''];}return[_0x432d5b(_0x5c00d5)];}['_kanbanLaneTitle'](_0x3a84e3,_0x4930d1,_0x9fc862){const _0x46fc07=_0x282c57;if(!_0x4930d1)return'Uncategorized';let _0x2b500a=Li(_0x3a84e3,_0x4930d1);return(_0x2b500a==null?void 0x0:_0x2b500a[_0x46fc07(0x2f4)])??_0x4930d1;}[_0x282c57(0x366)](_0x9ae0a3,_0x4dfe5c,_0x46b8a9){const _0x5eed19=_0x282c57;var _0x19f8e4;if(this[_0x5eed19(0x232)](_0x9ae0a3))return(_0x19f8e4=Li(_0x9ae0a3,_0x4dfe5c))==null?void 0x0:_0x19f8e4[_0x5eed19(0x545)];}[_0x282c57(0x2ba)](_0x583d4a,_0x8f82e2){const _0x521580=_0x282c57;let _0x4f48b2=this[_0x521580(0x20f)](_0x583d4a,_0x8f82e2[_0x521580(0x50c)]??{}),_0x23e8b7=_0x583d4a['fields'][_0x4f48b2[_0x521580(0x282)]];if(!_0x23e8b7||_0x23e8b7[_0x521580(0x4aa)]!==_0x239099[_0x521580(0x240)]||_0x23e8b7[_0x521580(0x473)]===!0x0||_0x23e8b7[_0x521580(0x43c)]===!0x0||!this[_0x521580(0x1c7)](_0x23e8b7)[_0x521580(0x2b4)])return{'type':_0x521580(0x269),'viewType':_0x1d9104[_0x521580(0x2c4)],'reason':_0x521580(0x50d),'fieldId':_0x4f48b2[_0x521580(0x282)]};let _0x2a11a3=_0x4f48b2[_0x521580(0x541)]?_0x583d4a[_0x521580(0x453)][_0x4f48b2[_0x521580(0x541)]]:void 0x0,_0x449af9=this['_projectRows'](_0x583d4a,_0x8f82e2);return{'type':_0x1d9104[_0x521580(0x2c4)],'config':_0x4f48b2,'fields':this[_0x521580(0x420)](_0x583d4a,_0x8f82e2),'rows':_0x449af9,'groups':this[_0x521580(0x348)](_0x583d4a,_0x8f82e2,_0x449af9),'events':_0x449af9[_0x521580(0x26a)](_0x14790b=>{const _0x3109a5=_0x521580;let _0x21ed1f=dn(_0x14790b[_0x3109a5(0x54e)][_0x4f48b2['startDateFieldId']]);if(!Number[_0x3109a5(0x210)](_0x21ed1f))return[];let _0x5388df=_0x14790b[_0x3109a5(0x54e)][_0x4f48b2['startDateFieldId']],_0xa96370=_0x4f48b2[_0x3109a5(0x541)]==null?void 0x0:_0x14790b[_0x3109a5(0x54e)][_0x4f48b2[_0x3109a5(0x541)]],_0x15905b=_0x4f48b2[_0x3109a5(0x541)]==null?void 0x0:dn(_0xa96370),_0x5e5aec=Number['isFinite'](_0x15905b)?_0x15905b:void 0x0;return[{'recordId':_0x14790b[_0x3109a5(0x40d)],'title':this[_0x3109a5(0x3f6)](_0x583d4a,_0x14790b,_0x4f48b2[_0x3109a5(0x430)]),'start':_0x21ed1f,'end':_0x5e5aec,'color':this[_0x3109a5(0x19b)](_0x583d4a,_0x14790b,_0x4f48b2),'startMs':_0x21ed1f,'endMs':_0x5e5aec,'allDay':this['_isAllDayCalendarEvent'](_0x23e8b7,_0x2a11a3,_0x5388df,_0xa96370),'fieldValues':_0x14790b[_0x3109a5(0x54e)]}];})};}[_0x282c57(0x20f)](_0x3ae2c0,_0x26d7e3){const _0x3aade6=_0x282c57;let _0xcaa385=this[_0x3aade6(0x394)](_0x3ae2c0,_0x26d7e3[_0x3aade6(0x282)]),_0x33599b=_0x26d7e3[_0x3aade6(0x541)]&&this[_0x3aade6(0x3eb)](_0x3ae2c0,_0x26d7e3[_0x3aade6(0x541)])?_0x26d7e3[_0x3aade6(0x541)]:this[_0x3aade6(0x295)](_0x3ae2c0,_0xcaa385)??void 0x0,_0x482e71=_0x26d7e3[_0x3aade6(0x430)]?_0x3ae2c0['fields'][_0x26d7e3[_0x3aade6(0x430)]]:void 0x0,_0x1585be=_0x482e71&&_0x482e71[_0x3aade6(0x43c)]!==!0x0&&_0x482e71[_0x3aade6(0x4aa)]!==_0x239099[_0x3aade6(0x205)]?_0x26d7e3[_0x3aade6(0x430)]:_0x3ae2c0[_0x3aade6(0x45c)],_0x2779f1=_0x26d7e3[_0x3aade6(0x321)]===_0x3aade6(0x511)||_0x26d7e3[_0x3aade6(0x321)]===_0x3aade6(0x36e)?_0x26d7e3[_0x3aade6(0x321)]:_0x3aade6(0x319),_0x564da3=_0x26d7e3['timeslotSize']===_0x3aade6(0x51f)||_0x26d7e3[_0x3aade6(0x3dc)]===_0x3aade6(0x21c)?_0x26d7e3['timeslotSize']:_0x3aade6(0x4c7),_0xc0b4c=typeof _0x26d7e3[_0x3aade6(0x350)]=='string'&&_0x26d7e3['timeZone'][_0x3aade6(0x24d)]()?_0x26d7e3[_0x3aade6(0x350)]:_0x3aade6(0x3d9),_0x119659=this['_normalizeCalendarDisplayColor'](_0x3ae2c0,_0x26d7e3);return{..._0x26d7e3,'startDateFieldId':_0xcaa385,'endDateFieldId':_0x33599b,'titleFieldId':_0x1585be,'mode':_0x2779f1,'timeslotSize':_0x564da3,'timeZone':_0xc0b4c,'displayColor':_0x119659,'fieldSettings':Object['fromEntries'](Object[_0x3aade6(0x41d)](_0x26d7e3[_0x3aade6(0x272)]??{})['filter'](([_0x423211])=>{const _0x1f3cd0=_0x3aade6;let _0x58fa97=_0x3ae2c0[_0x1f3cd0(0x453)][_0x423211];return!!(_0x58fa97&&_0x58fa97['system']!==!0x0&&_0x58fa97['type']!==_0x239099[_0x1f3cd0(0x205)]);}))};}[_0x282c57(0x394)](_0x56986a,_0x14d640){const _0x270eaf=_0x282c57;return _0x14d640&&this['_isCalendarDateField'](_0x56986a,_0x14d640)?_0x14d640:this[_0x270eaf(0x295)](_0x56986a)??_0x14d640??'';}[_0x282c57(0x295)](_0x1ee61b,_0x4c0630){const _0x279f56=_0x282c57;for(let _0x163fe9 of _0x1ee61b[_0x279f56(0x534)])if(_0x163fe9!==_0x4c0630&&this[_0x279f56(0x3eb)](_0x1ee61b,_0x163fe9))return _0x163fe9;return null;}[_0x282c57(0x3eb)](_0x3bedee,_0x33a061){const _0x1f0438=_0x282c57;let _0x345654=_0x3bedee['fields'][_0x33a061];return!!_0x345654&&_0x345654['type']===_0x239099[_0x1f0438(0x240)]&&_0x345654[_0x1f0438(0x473)]!==!0x0&&_0x345654[_0x1f0438(0x43c)]!==!0x0&&this['_capabilities'](_0x345654)[_0x1f0438(0x2b4)];}['_normalizeCalendarDisplayColor'](_0x4ef221,_0x56c9fa){const _0x24f44b=_0x282c57;let _0xb2d12f=_0x56c9fa[_0x24f44b(0x18c)];if((_0xb2d12f==null?void 0x0:_0xb2d12f[_0x24f44b(0x4aa)])===_0x24f44b(0x28d)){let _0xa9efa3=_0x4ef221['fields'][_0xb2d12f[_0x24f44b(0x387)]];if(_0xa9efa3&&_0xa9efa3[_0x24f44b(0x4aa)]===_0x239099[_0x24f44b(0x2fe)])return _0xb2d12f;}if((_0xb2d12f==null?void 0x0:_0xb2d12f[_0x24f44b(0x4aa)])===_0x24f44b(0x261)&&typeof _0xb2d12f['color']==_0x24f44b(0x3e3)&&_0xb2d12f[_0x24f44b(0x545)][_0x24f44b(0x24d)]())return{'type':_0x24f44b(0x261),'color':_0xb2d12f[_0x24f44b(0x545)]};if(_0x56c9fa[_0x24f44b(0x2a9)]){let _0x139587=_0x4ef221[_0x24f44b(0x453)][_0x56c9fa[_0x24f44b(0x2a9)]];if(_0x139587&&_0x139587['type']===_0x239099['SingleSelect'])return{'type':_0x24f44b(0x28d),'fieldId':_0x56c9fa[_0x24f44b(0x2a9)]};}return{'type':_0x24f44b(0x261),'color':_0x24f44b(0x329)};}[_0x282c57(0x19b)](_0x3472d3,_0x65463d,_0x2f108a){const _0x153007=_0x282c57;let _0x28ed14=_0x2f108a[_0x153007(0x18c)];if((_0x28ed14==null?void 0x0:_0x28ed14[_0x153007(0x4aa)])===_0x153007(0x28d)){var _0x448b18;let _0x40015e=_0x3472d3['fields'][_0x28ed14[_0x153007(0x387)]];if(!_0x40015e)return;let _0x59858f=_0x65463d[_0x153007(0x54e)][_0x28ed14[_0x153007(0x387)]],_0x476694=Array[_0x153007(0x3d5)](_0x59858f)?_0x59858f[0x0]:_0x59858f;return _0x476694==null||(_0x448b18=Li(_0x40015e,String(_0x476694)))==null?void 0x0:_0x448b18[_0x153007(0x545)];}if((_0x28ed14==null?void 0x0:_0x28ed14[_0x153007(0x4aa)])==='custom')return _0x28ed14['color'];}[_0x282c57(0x312)](_0x4379de,_0x3d167a,_0x113bfb,_0x1fc7c4){const _0x207910=_0x282c57;var _0x3795ac,_0x4ad493;let _0x3b4830=((_0x3795ac=_0x4379de[_0x207910(0x50c)])==null?void 0x0:_0x3795ac[_0x207910(0x39b)])===!0x0,_0x6d511b=(_0x3d167a==null||(_0x4ad493=_0x3d167a[_0x207910(0x50c)])==null?void 0x0:_0x4ad493[_0x207910(0x39b)])===!0x0;return!_0x3b4830&&!_0x6d511b;}[_0x282c57(0x3d4)](_0x55c2d9,_0x3d506a){const _0x10a24b=_0x282c57;var _0x2fbca3,_0x778fb7;let _0x40cdcb=((_0x2fbca3=_0x55c2d9[_0x10a24b(0x50c)])==null?void 0x0:_0x2fbca3[_0x10a24b(0x39b)])===!0x0,_0xaa4488=((_0x778fb7=_0x3d506a[_0x10a24b(0x50c)])==null?void 0x0:_0x778fb7['includeTime'])===!0x0;return!_0x40cdcb&&!_0xaa4488;}['_buildGantt'](_0x45f54f,_0x3bf5a2){const _0x5c551d=_0x282c57;let _0x34c38b=this[_0x5c551d(0x52e)](_0x45f54f,_0x3bf5a2[_0x5c551d(0x50c)]),_0x123178=_0x45f54f['fields'][_0x34c38b[_0x5c551d(0x282)]];if(!_0x123178||_0x123178[_0x5c551d(0x4aa)]!==_0x239099['Date']||_0x123178[_0x5c551d(0x473)]===!0x0||_0x123178[_0x5c551d(0x43c)]===!0x0||!this[_0x5c551d(0x1c7)](_0x123178)[_0x5c551d(0x315)])return{'type':_0x5c551d(0x269),'viewType':_0x1d9104['Gantt'],'reason':_0x5c551d(0x1bf),'fieldId':_0x34c38b[_0x5c551d(0x282)]};let _0xb3ac61=_0x45f54f[_0x5c551d(0x453)][_0x34c38b['endDateFieldId']];if(!_0xb3ac61||_0xb3ac61[_0x5c551d(0x4aa)]!==_0x239099[_0x5c551d(0x240)]||_0xb3ac61[_0x5c551d(0x473)]===!0x0||_0xb3ac61['system']===!0x0||!this[_0x5c551d(0x1c7)](_0xb3ac61)[_0x5c551d(0x354)])return{'type':'invalid','viewType':_0x1d9104[_0x5c551d(0x46b)],'reason':_0x5c551d(0x4d6),'fieldId':_0x34c38b[_0x5c551d(0x541)]};let _0x5c689f=this[_0x5c551d(0x3d4)](_0x123178,_0xb3ac61),_0x47ef0d=this[_0x5c551d(0x2b1)](_0x45f54f,_0x3bf5a2),_0x3136c4=_0x47ef0d['flatMap'](_0x530d61=>{const _0x1598b7=_0x5c551d;let _0x4c8df3=dn(_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x282)]]),_0x1a3a93=dn(_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x541)]]);if(!Number[_0x1598b7(0x210)](_0x4c8df3)||!Number[_0x1598b7(0x210)](_0x1a3a93))return[];let _0xd18209=Math[_0x1598b7(0x520)](_0x4c8df3,_0x1a3a93),_0x3eb0db=Math[_0x1598b7(0x468)](_0x4c8df3,_0x1a3a93),_0x4ce54a=_0x34c38b[_0x1598b7(0x2cb)]==null?void 0x0:Number(_0x530d61['values'][_0x34c38b[_0x1598b7(0x2cb)]]);return[{'recordId':_0x530d61[_0x1598b7(0x40d)],'title':this[_0x1598b7(0x3f6)](_0x45f54f,_0x530d61,_0x34c38b['titleFieldId']),'start':_0xd18209,'end':_0x3eb0db,'color':this[_0x1598b7(0x449)](_0x45f54f,_0x530d61,_0x34c38b),'progress':Number['isFinite'](_0x4ce54a)?_0x4ce54a:void 0x0,'workingDayCount':_0x34c38b[_0x1598b7(0x533)]?Ti(_0xd18209,_0x3eb0db,_0x34c38b['workingDays']):void 0x0,'dependencyRecordIds':this[_0x1598b7(0x52c)](_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x213)]??''])}];}),_0x389ea3=_0x3136c4['length']?Z(Math['min'](..._0x3136c4[_0x5c551d(0x309)](_0x550009=>_0x550009[_0x5c551d(0x230)]))-0x5a*oi):Z(Date[_0x5c551d(0x42b)]()-0x5a*oi),_0x4aca67=_0x3136c4['length']?Z(Math[_0x5c551d(0x468)](..._0x3136c4['map'](_0x4e937f=>_0x4e937f['end']))+0x5b*oi):Z(Date['now']()+0x5b*oi),_0x3213f9=_i(_0x34c38b[_0x5c551d(0x33f)],_0x389ea3,_0x4aca67,_0x34c38b[_0x5c551d(0x533)]?_0x34c38b[_0x5c551d(0x378)]:void 0x0);return{'type':_0x1d9104[_0x5c551d(0x46b)],'fields':this['_projectFields'](_0x45f54f,{..._0x3bf5a2,'config':_0x34c38b}),'rows':_0x47ef0d,'groups':this[_0x5c551d(0x348)](_0x45f54f,_0x3bf5a2,_0x47ef0d),'config':_0x34c38b,'dateRangeAllDay':_0x5c689f,'timeline':{'scale':_0x34c38b[_0x5c551d(0x33f)],'start':_0x389ea3,'end':_0x4aca67,'unitWidth':_0x3213f9[_0x5c551d(0x419)],'majorHeaders':_0x3213f9[_0x5c551d(0x483)],'columns':_0x3213f9[_0x5c551d(0x297)]},'bars':_0x3136c4};}[_0x282c57(0x52e)](_0x2270cc,_0xce8c4f){const _0x84cd69=_0x282c57;let _0x3c43c8=this[_0x84cd69(0x4ff)](_0x2270cc,_0xce8c4f['startDateFieldId'],'start'),_0x47596d=this[_0x84cd69(0x4ff)](_0x2270cc,_0xce8c4f[_0x84cd69(0x541)],_0x84cd69(0x248))||_0x3c43c8,_0xd221ce=_0xce8c4f[_0x84cd69(0x430)]?_0x2270cc[_0x84cd69(0x453)][_0xce8c4f[_0x84cd69(0x430)]]:void 0x0,_0x47cd26=_0xd221ce&&_0xd221ce[_0x84cd69(0x43c)]!==!0x0&&_0xd221ce[_0x84cd69(0x4aa)]!==_0x239099[_0x84cd69(0x205)]?_0xce8c4f[_0x84cd69(0x430)]:_0x2270cc[_0x84cd69(0x45c)],_0xd7219d=_0xce8c4f[_0x84cd69(0x33f)]==='week'||_0xce8c4f[_0x84cd69(0x33f)]===_0x84cd69(0x509)||_0xce8c4f[_0x84cd69(0x33f)]===_0x84cd69(0x51c)?_0xce8c4f[_0x84cd69(0x33f)]:_0x84cd69(0x319),_0x2961b3=gi(_0xce8c4f[_0x84cd69(0x378)]);return{..._0xce8c4f,'startDateFieldId':_0x3c43c8,'endDateFieldId':_0x47596d,'titleFieldId':_0x47cd26,'scale':_0xd7219d,'leftPaneWidth':typeof _0xce8c4f[_0x84cd69(0x285)]==_0x84cd69(0x389)?_0xce8c4f[_0x84cd69(0x285)]:void 0x0,'leftPaneCollapsed':_0xce8c4f[_0x84cd69(0x280)]===!0x0,'showTodayLine':_0xce8c4f[_0x84cd69(0x54a)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x2270cc,_0xce8c4f),'fieldSettings':Object[_0x84cd69(0x1af)](Object[_0x84cd69(0x41d)](_0xce8c4f[_0x84cd69(0x272)]??{})[_0x84cd69(0x4cc)](([_0x4dc4c9])=>{const _0x41ae29=_0x84cd69;let _0x2e1f4f=_0x2270cc[_0x41ae29(0x453)][_0x4dc4c9];return!!(_0x2e1f4f&&_0x2e1f4f[_0x41ae29(0x43c)]!==!0x0&&_0x2e1f4f[_0x41ae29(0x4aa)]!==_0x239099['RecordId']);})),'workingDaysOnly':_0xce8c4f[_0x84cd69(0x533)]===!0x0,'workingDays':_0x2961b3};}[_0x282c57(0x4ff)](_0x842770,_0x52134c,_0x593d75){const _0x41ca83=_0x282c57;if(_0x52134c&&this[_0x41ca83(0x30d)](_0x842770,_0x52134c,_0x593d75)||_0x52134c)return _0x52134c;for(let _0xfdc770 of _0x842770[_0x41ca83(0x534)])if(this['_isGanttDateField'](_0x842770,_0xfdc770,_0x593d75))return _0xfdc770;return _0x52134c??'';}[_0x282c57(0x30d)](_0x3360ca,_0x372b25,_0x4a9dc4){const _0x22128a=_0x282c57;let _0x197249=_0x3360ca[_0x22128a(0x453)][_0x372b25];if(!_0x197249||_0x197249[_0x22128a(0x4aa)]!==_0x239099['Date']||_0x197249[_0x22128a(0x473)]===!0x0||_0x197249[_0x22128a(0x43c)]===!0x0)return!0x1;let _0x1b1f55=this[_0x22128a(0x1c7)](_0x197249);return _0x4a9dc4===_0x22128a(0x230)?_0x1b1f55[_0x22128a(0x315)]:_0x1b1f55[_0x22128a(0x354)];}[_0x282c57(0x518)](_0xd21355,_0x2f8b6a){const _0xa5ad03=_0x282c57;let _0x2bde73=_0x2f8b6a[_0xa5ad03(0x18c)];if((_0x2bde73==null?void 0x0:_0x2bde73['type'])==='selectField'){let _0x37485c=_0xd21355[_0xa5ad03(0x453)][_0x2bde73[_0xa5ad03(0x387)]];if(_0x37485c&&_0x37485c[_0xa5ad03(0x4aa)]===_0x239099['SingleSelect'])return _0x2bde73;}return(_0x2bde73==null?void 0x0:_0x2bde73[_0xa5ad03(0x4aa)])===_0xa5ad03(0x38d)&&Array[_0xa5ad03(0x3d5)](_0x2bde73[_0xa5ad03(0x1dd)])?{'type':_0xa5ad03(0x38d),'rules':_0x2bde73[_0xa5ad03(0x1dd)]['filter'](_0x12339c=>!!_0xd21355['fields'][_0x12339c[_0xa5ad03(0x387)]])}:(_0x2bde73==null?void 0x0:_0x2bde73[_0xa5ad03(0x4aa)])===_0xa5ad03(0x261)&&typeof _0x2bde73[_0xa5ad03(0x545)]==_0xa5ad03(0x3e3)&&_0x2bde73['color'][_0xa5ad03(0x24d)]()?{'type':_0xa5ad03(0x261),'color':_0x2bde73[_0xa5ad03(0x545)]}:{'type':_0xa5ad03(0x261),'color':_0xa5ad03(0x351)};}['_ganttBarColor'](_0x19e6ed,_0x266944,_0x3b623b){const _0x215a4c=_0x282c57;let _0x266cd9=_0x3b623b[_0x215a4c(0x18c)];if((_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])===_0x215a4c(0x38d)){let _0x473219=_0x266cd9[_0x215a4c(0x1dd)]['find'](_0x418d00=>this[_0x215a4c(0x221)](_0x19e6ed,_0x266944,_0x418d00));if(_0x473219)return _0x473219[_0x215a4c(0x545)];}if((_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])===_0x215a4c(0x28d)){let _0xd32570=_0x19e6ed[_0x215a4c(0x453)][_0x266cd9[_0x215a4c(0x387)]];if(_0xd32570){var _0x308290;let _0x2aa152=_0x266944[_0x215a4c(0x54e)][_0x266cd9['fieldId']],_0x4b8c97=Array[_0x215a4c(0x3d5)](_0x2aa152)?_0x2aa152[0x0]:_0x2aa152,_0x178c56=_0x4b8c97==null||(_0x308290=Li(_0xd32570,String(_0x4b8c97)))==null?void 0x0:_0x308290[_0x215a4c(0x545)];if(_0x178c56)return _0x178c56;}}return(_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])==='custom'?_0x266cd9[_0x215a4c(0x545)]:'#14b8a6';}[_0x282c57(0x221)](_0x10f8bb,_0x3d46ff,_0x2844bb){const _0x1c5282=_0x282c57;let _0x2aecf4=_0x10f8bb[_0x1c5282(0x453)][_0x2844bb[_0x1c5282(0x387)]];return _0x2aecf4?xn(_0x3d46ff['values'][_0x2aecf4['id']],_0x2844bb['operator'],_0x2844bb[_0x1c5282(0x24c)],_0x2aecf4,{'dateMode':_0x2844bb[_0x1c5282(0x51a)]}):!0x1;}[_0x282c57(0x3e6)](_0x591ff1,_0x32bf9e){const _0x8b3566=_0x282c57;let _0x56c551=this['_projectRows'](_0x591ff1,_0x32bf9e),_0x226729=this['_normalizeGalleryConfig'](_0x591ff1,_0x32bf9e['config']??{}),_0x203232=this['_projectFields'](_0x591ff1,_0x32bf9e);return{'type':_0x1d9104[_0x8b3566(0x2dd)],'fields':_0x203232,'rows':_0x56c551,'groups':this[_0x8b3566(0x348)](_0x591ff1,_0x32bf9e,_0x56c551),'titleFieldId':_0x226729[_0x8b3566(0x1c6)][_0x8b3566(0x430)],'coverFieldId':_0x226729[_0x8b3566(0x2b6)],'cardLayout':_0x226729[_0x8b3566(0x316)]??_0x8b3566(0x3b3),'showFieldNames':_0x226729[_0x8b3566(0x299)]!==!0x1,'visibleCardFieldIds':this[_0x8b3566(0x36f)](_0x591ff1,_0x32bf9e,_0x226729),'cardSize':_0x226729[_0x8b3566(0x4a4)]??_0x8b3566(0x4c7),'cards':_0x56c551['map'](_0x7c0c73=>({'recordId':_0x7c0c73[_0x8b3566(0x40d)],'title':this['_title'](_0x591ff1,_0x7c0c73,_0x226729['card']['titleFieldId']),'values':_0x7c0c73['values']}))};}[_0x282c57(0x472)](_0x1b94d5,_0x2d80f0){const _0x28b29d=_0x282c57;let _0x35d95c=_0x2d80f0[_0x28b29d(0x1c6)]??{'fieldIds':[]},_0x19d546=this['_resolveCardTitleFieldId'](_0x1b94d5,_0x35d95c[_0x28b29d(0x430)]),_0x593d5a=this[_0x28b29d(0x278)](_0x1b94d5,_0x2d80f0),_0x224cc1=_0x2d80f0[_0x28b29d(0x4a4)]===_0x28b29d(0x52d)||_0x2d80f0[_0x28b29d(0x4a4)]===_0x28b29d(0x30f)?_0x2d80f0[_0x28b29d(0x4a4)]:'medium';return{..._0x2d80f0,'coverFieldId':_0x593d5a,'cardLayout':_0x2d80f0[_0x28b29d(0x316)]==='compose'?_0x28b29d(0x3ad):'normal','showFieldNames':_0x2d80f0[_0x28b29d(0x299)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x28b29d(0x41d)](_0x2d80f0[_0x28b29d(0x272)]??{})[_0x28b29d(0x4cc)](([_0x5629b8])=>{const _0x4901bd=_0x28b29d;let _0x32ad9e=_0x1b94d5[_0x4901bd(0x453)][_0x5629b8];return!!(_0x32ad9e&&_0x32ad9e[_0x4901bd(0x43c)]!==!0x0&&_0x32ad9e[_0x4901bd(0x4aa)]!==_0x239099['RecordId']);})),'card':{..._0x35d95c,'titleFieldId':_0x19d546,'coverFieldId':_0x593d5a,'fieldIds':Array[_0x28b29d(0x3d5)](_0x35d95c[_0x28b29d(0x25f)])?_0x35d95c[_0x28b29d(0x25f)]:[]},'cardSize':_0x224cc1};}[_0x282c57(0x55a)](_0x2c095b,_0x4d4c86){const _0x13e7ea=_0x282c57;let _0x17e9ee=_0x4d4c86?_0x2c095b['fields'][_0x4d4c86]:void 0x0;return _0x17e9ee&&_0x17e9ee[_0x13e7ea(0x43c)]!==!0x0&&_0x17e9ee['type']!==_0x239099['RecordId']?_0x17e9ee['id']:Zr(_0x2c095b);}[_0x282c57(0x278)](_0x1eafad,_0x9e6b4f){const _0x260a71=_0x282c57;var _0x11ca0d;let _0xee8502=_0x9e6b4f[_0x260a71(0x2b6)]??((_0x11ca0d=_0x9e6b4f['card'])==null?void 0x0:_0x11ca0d['coverFieldId'])??null;if(!_0xee8502)return null;let _0x29412a=_0x1eafad[_0x260a71(0x453)][_0xee8502];return _0x29412a&&this[_0x260a71(0x1c7)](_0x29412a)['usableAsCardCover']?_0x29412a['id']:null;}[_0x282c57(0x36f)](_0x17a80c,_0x453d83,_0x5b63aa){const _0x1261e5=_0x282c57;var _0x3efd08,_0x29fa8b,_0x54ae59;let _0x4794a1=_0x5b63aa[_0x1261e5(0x272)]??{},_0x164cd9=((_0x3efd08=_0x5b63aa[_0x1261e5(0x1c6)])==null?void 0x0:_0x3efd08[_0x1261e5(0x430)])??Zr(_0x17a80c),_0x52f93d=_0x5b63aa[_0x1261e5(0x2b6)]??((_0x29fa8b=_0x5b63aa[_0x1261e5(0x1c6)])==null?void 0x0:_0x29fa8b[_0x1261e5(0x2b6)])??null,_0x4bce79=(_0x54ae59=_0x5b63aa[_0x1261e5(0x1c6)])!=null&&(_0x54ae59=_0x54ae59[_0x1261e5(0x25f)])!=null&&_0x54ae59['length']?_0x5b63aa[_0x1261e5(0x1c6)][_0x1261e5(0x25f)]:Qr(_0x17a80c,[_0x164cd9,_0x52f93d,_0x17a80c[_0x1261e5(0x45c)]]);return _0x4bce79[_0x1261e5(0x4cc)](_0x2d6b54=>{const _0x442f7f=_0x1261e5;var _0x540b47,_0x1557fe;let _0x3ef7d5=_0x17a80c[_0x442f7f(0x453)][_0x2d6b54];return!(!_0x3ef7d5||_0x3ef7d5[_0x442f7f(0x43c)]===!0x0||_0x3ef7d5[_0x442f7f(0x4aa)]===_0x239099[_0x442f7f(0x205)]||_0x3ef7d5['id']===_0x164cd9||_0x3ef7d5['id']===_0x52f93d||(_0x540b47=_0x453d83['fieldSettings'])!=null&&(_0x540b47=_0x540b47[_0x2d6b54])!=null&&_0x540b47[_0x442f7f(0x194)]||(_0x1557fe=_0x4794a1[_0x2d6b54])!=null&&_0x1557fe[_0x442f7f(0x194)]);})[_0x1261e5(0x1df)]((_0x2609a8,_0x56d7e7)=>{const _0x1270af=_0x1261e5;var _0x3ec70a,_0x3e2523;return(((_0x3ec70a=_0x4794a1[_0x2609a8])==null?void 0x0:_0x3ec70a[_0x1270af(0x51d)])??_0x4bce79[_0x1270af(0x1f4)](_0x2609a8))-(((_0x3e2523=_0x4794a1[_0x56d7e7])==null?void 0x0:_0x3e2523[_0x1270af(0x51d)])??_0x4bce79[_0x1270af(0x1f4)](_0x56d7e7));});}[_0x282c57(0x420)](_0x5bafae,_0x5d1712){const _0x1b17b1=_0x282c57;var _0x380127;return((_0x380127=_0x5d1712['fieldOrder'])!=null&&_0x380127['length']?_0x5d1712[_0x1b17b1(0x534)]:_0x5bafae[_0x1b17b1(0x534)])[_0x1b17b1(0x26a)](_0x17be38=>{const _0x4d7f7c=_0x1b17b1;var _0x5ad388;let _0x14348e=_0x5bafae[_0x4d7f7c(0x453)][_0x17be38],_0x38a090=((_0x5ad388=_0x5d1712[_0x4d7f7c(0x272)])==null?void 0x0:_0x5ad388[_0x17be38])??{};return!_0x14348e||_0x14348e['system']===!0x0||_0x14348e['type']===_0x239099[_0x4d7f7c(0x205)]||_0x38a090[_0x4d7f7c(0x194)]?[]:[{'id':_0x14348e['id'],'name':_0x14348e[_0x4d7f7c(0x2f4)],'description':_0x14348e[_0x4d7f7c(0x290)],'type':_0x14348e[_0x4d7f7c(0x4aa)],'config':_0x14348e['config'],'width':_0x38a090[_0x4d7f7c(0x361)],'setting':_0x38a090}];});}[_0x282c57(0x2b1)](_0x23e6b7,_0x4315ff){const _0x109bd4=_0x282c57;var _0x350477;return I(_0x109bd4(0x40e),()=>{const _0x58e41e=_0x109bd4;var _0xb9aacb,_0xc2579d;let _0x1fe4ac=this[_0x58e41e(0x36d)](_0x23e6b7),_0x5120af=this[_0x58e41e(0x47d)](_0x23e6b7['id'],_0x4315ff),_0x1c3a8a=this[_0x58e41e(0x2c9)](_0x23e6b7['id']),_0x4b59ca=this[_0x58e41e(0x494)][_0x58e41e(0x268)](_0x5120af);if(_0x4b59ca&&_0x4b59ca[_0x58e41e(0x271)]===this[_0x58e41e(0x492)]&&_0x4b59ca[_0x58e41e(0x332)]===this['_getTableRevision'](_0x23e6b7['id'])){if(_0x4b59ca['cellRevision']===_0x1c3a8a&&_0x4b59ca[_0x58e41e(0x38f)]===_0x1fe4ac)return _0x4b59ca[_0x58e41e(0x535)];if(_0x4b59ca[_0x58e41e(0x29f)]!==_0x1c3a8a&&!this[_0x58e41e(0x3c4)](_0x23e6b7['id'],_0x4b59ca[_0x58e41e(0x29f)],_0x1c3a8a,this[_0x58e41e(0x255)](_0x4315ff))){let _0x6a7a4c=_0x4b59ca['rows']===_0x4b59ca['baseRows']?_0x1fe4ac:this[_0x58e41e(0x50a)](_0x4b59ca[_0x58e41e(0x535)],_0x1fe4ac);if(_0x6a7a4c)return this[_0x58e41e(0x494)]['set'](_0x5120af,{..._0x4b59ca,'rows':_0x6a7a4c,'baseRows':_0x1fe4ac,'cellRevision':_0x1c3a8a}),_0x6a7a4c;}}let _0x7ddcc3=I(_0x58e41e(0x47f),()=>this['_sortRows'](_0x23e6b7,_0x4315ff,this[_0x58e41e(0x527)](_0x23e6b7,_0x4315ff,_0x1fe4ac)),{'tableId':_0x23e6b7['id'],'viewId':_0x4315ff==null?void 0x0:_0x4315ff['id'],'viewType':_0x4315ff==null?void 0x0:_0x4315ff[_0x58e41e(0x4aa)],'rows':_0x1fe4ac['length'],'filters':(_0x4315ff==null||(_0xb9aacb=_0x4315ff[_0x58e41e(0x4cc)])==null?void 0x0:_0xb9aacb[_0x58e41e(0x3d8)]['length'])??0x0,'sorts':(_0x4315ff==null||(_0xc2579d=_0x4315ff[_0x58e41e(0x1df)])==null?void 0x0:_0xc2579d[_0x58e41e(0x4ab)])??0x0});return this[_0x58e41e(0x494)]['set'](_0x5120af,{'table':_0x23e6b7,'rows':_0x7ddcc3,'baseRows':_0x1fe4ac,'globalRevision':this[_0x58e41e(0x492)],'tableRevision':this[_0x58e41e(0x398)](_0x23e6b7['id']),'cellRevision':_0x1c3a8a}),_0x7ddcc3;},{'tableId':_0x23e6b7['id'],'viewId':_0x4315ff==null?void 0x0:_0x4315ff['id'],'viewType':_0x4315ff==null?void 0x0:_0x4315ff[_0x109bd4(0x4aa)],'records':((_0x350477=_0x23e6b7[_0x109bd4(0x413)])==null?void 0x0:_0x350477[_0x109bd4(0x4ab)])??Object[_0x109bd4(0x334)](_0x23e6b7[_0x109bd4(0x1e1)]??{})[_0x109bd4(0x4ab)]});}['_projectTableRows'](_0x84dd43){const _0x3264d3=_0x282c57;var _0x1186bf;return I(_0x3264d3(0x275),()=>{const _0x112302=_0x3264d3;var _0x202b25;let _0x496e61=this['_getCellRevision'](_0x84dd43['id']),_0xaec28a=this['_projectedRowsCache'][_0x112302(0x268)](_0x84dd43['id']);if(_0xaec28a&&_0xaec28a[_0x112302(0x271)]===this[_0x112302(0x492)]&&_0xaec28a[_0x112302(0x332)]===this[_0x112302(0x398)](_0x84dd43['id'])){if(_0xaec28a[_0x112302(0x29f)]===_0x496e61&&fi(_0xaec28a[_0x112302(0x270)],_0x84dd43))return _0xaec28a[_0x112302(0x270)]=_0x84dd43,_0xaec28a[_0x112302(0x535)];let _0x5835b1=this[_0x112302(0x40a)](_0x84dd43,_0xaec28a,_0x496e61);if(_0x5835b1)return _0x5835b1;}ui(_0x84dd43)||L(_0x84dd43);let _0xf1daf8=(_0x202b25=_0x84dd43[_0x112302(0x413)])!=null&&_0x202b25['length']?_0x84dd43[_0x112302(0x413)]:hi(_0x84dd43[_0x112302(0x1e1)]),_0x1de124=I(_0x112302(0x3e4),()=>{const _0x578df3=_0x112302;let _0x193c2f=[];for(let _0x152ee6 of _0xf1daf8){let _0x11591c=_0x84dd43[_0x578df3(0x1e1)][_0x152ee6];if(!_0x11591c)continue;let _0x39f0a4={};for(let _0x5379d1 of _0x84dd43[_0x578df3(0x534)])_0x39f0a4[_0x5379d1]=yt(_0x84dd43,_0x11591c['id'],_0x5379d1);_0x193c2f['push']({'recordId':_0x11591c['id'],'values':_0x39f0a4});}return _0x193c2f;},{'tableId':_0x84dd43['id'],'records':_0xf1daf8[_0x112302(0x4ab)],'fields':_0x84dd43[_0x112302(0x534)][_0x112302(0x4ab)]});return this[_0x112302(0x4c5)][_0x112302(0x246)](_0x84dd43['id'],{'table':_0x84dd43,'rows':_0x1de124,'rowIndexById':li(_0x1de124),'globalRevision':this[_0x112302(0x492)],'tableRevision':this[_0x112302(0x398)](_0x84dd43['id']),'cellRevision':_0x496e61}),_0x1de124;},{'tableId':_0x84dd43['id'],'records':((_0x1186bf=_0x84dd43[_0x3264d3(0x413)])==null?void 0x0:_0x1186bf['length'])??Object[_0x3264d3(0x334)](_0x84dd43[_0x3264d3(0x1e1)]??{})[_0x3264d3(0x4ab)],'fields':_0x84dd43['fieldOrder']['length']});}['_patchProjectedRowsForCellInvalidations'](_0x2ae1fb,_0x151142,_0x4833f3){const _0x5559fb=_0x282c57;let _0x470bae=(this['_cellInvalidations']['get'](_0x2ae1fb['id'])??[])[_0x5559fb(0x4cc)](_0x5efe48=>_0x5efe48[_0x5559fb(0x258)]>_0x151142[_0x5559fb(0x29f)]&&_0x5efe48[_0x5559fb(0x258)]<=_0x4833f3);if(!_0x470bae[_0x5559fb(0x4ab)])return _0x151142[_0x5559fb(0x270)]===_0x2ae1fb?_0x151142[_0x5559fb(0x535)]:null;let _0x4ef977=_0x151142[_0x5559fb(0x535)],_0x210e10=new Map();for(let _0x2e23c8 of _0x470bae){let _0x53f483=_0x210e10['get'](_0x2e23c8[_0x5559fb(0x40d)]);_0x53f483||(_0x53f483=new Set(),_0x210e10['set'](_0x2e23c8[_0x5559fb(0x40d)],_0x53f483)),_0x53f483['add'](_0x2e23c8[_0x5559fb(0x387)]);}for(let [_0x94ad3,_0x1bab00]of _0x210e10){if(!_0x2ae1fb[_0x5559fb(0x1e1)][_0x94ad3])return null;let _0x42ab02=_0x151142[_0x5559fb(0x503)][_0x5559fb(0x268)](_0x94ad3);if(_0x42ab02==null)return null;_0x4ef977===_0x151142[_0x5559fb(0x535)]&&(_0x4ef977=[..._0x151142[_0x5559fb(0x535)]]);let _0x14f4cd=_0x4ef977[_0x42ab02],_0x575e04={..._0x14f4cd[_0x5559fb(0x54e)]};_0x1bab00[_0x5559fb(0x34b)](_0x2d6011=>{_0x575e04[_0x2d6011]=yt(_0x2ae1fb,_0x94ad3,_0x2d6011);}),_0x4ef977[_0x42ab02]={..._0x14f4cd,'values':_0x575e04};}let _0x50afc6={'table':_0x2ae1fb,'rows':_0x4ef977,'rowIndexById':_0x151142[_0x5559fb(0x503)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x5559fb(0x398)](_0x2ae1fb['id']),'cellRevision':_0x4833f3};return this['_projectedRowsCache']['set'](_0x2ae1fb['id'],_0x50afc6),this[_0x5559fb(0x4bc)][_0x5559fb(0x246)](_0x2ae1fb['id'],(this[_0x5559fb(0x4bc)]['get'](_0x2ae1fb['id'])??[])['filter'](_0x5a0924=>_0x5a0924[_0x5559fb(0x258)]>Math[_0x5559fb(0x468)](0x0,_0x4833f3-0x100))),_0x4ef977;}[_0x282c57(0x50a)](_0x48d95c,_0x1f07b9){const _0x5581bc=_0x282c57;let _0x25bd3b=new Map(_0x1f07b9['map'](_0x1d644a=>[_0x1d644a[_0x5581bc(0x40d)],_0x1d644a])),_0x4fd57e=!0x1,_0x2b568d=_0x48d95c[_0x5581bc(0x309)](_0x180f4e=>{const _0x5daebc=_0x5581bc;let _0x120e73=_0x25bd3b[_0x5daebc(0x268)](_0x180f4e[_0x5daebc(0x40d)]);return _0x120e73?_0x120e73===_0x180f4e?_0x180f4e:(_0x4fd57e=!0x0,_0x120e73):_0x180f4e;});return _0x4fd57e?_0x2b568d:_0x48d95c;}[_0x282c57(0x3c4)](_0x2a343d,_0x22ec13,_0x372522,_0x1c4c11){const _0x3689ee=_0x282c57;return!_0x1c4c11[_0x3689ee(0x286)]||_0x22ec13===_0x372522?!0x1:_0x372522-_0x22ec13>0x100||(this[_0x3689ee(0x4bc)]['get'](_0x2a343d)??[])[_0x3689ee(0x436)](_0x48b0a0=>_0x48b0a0[_0x3689ee(0x258)]>_0x22ec13&&_0x48b0a0['revision']<=_0x372522&&_0x1c4c11[_0x3689ee(0x25c)](_0x48b0a0['fieldId']));}[_0x282c57(0x255)](_0x38a918){const _0x18d88c=_0x282c57;var _0x312e55,_0x1fa3fc;let _0x4b7f37=new Set();return _0x38a918==null||(_0x312e55=_0x38a918[_0x18d88c(0x4cc)])==null||_0x312e55[_0x18d88c(0x3d8)][_0x18d88c(0x34b)](_0x663166=>_0x4b7f37[_0x18d88c(0x551)](_0x663166['fieldId'])),_0x38a918==null||(_0x1fa3fc=_0x38a918[_0x18d88c(0x1df)])==null||_0x1fa3fc['forEach'](_0x4020c7=>_0x4b7f37[_0x18d88c(0x551)](_0x4020c7[_0x18d88c(0x387)])),_0x4b7f37;}[_0x282c57(0x215)](_0xa8b314){const _0x5c19f0=_0x282c57;var _0xca3cdf;let _0x33ed8b=this[_0x5c19f0(0x255)](_0xa8b314);return(_0xca3cdf=_0xa8b314[_0x5c19f0(0x359)])==null||_0xca3cdf[_0x5c19f0(0x34b)](_0x5ce0b8=>_0x33ed8b['add'](_0x5ce0b8[_0x5c19f0(0x387)])),_0x33ed8b;}[_0x282c57(0x527)](_0x38c1fd,_0x2f0b2e,_0x3ac95f){const _0x468dfb=_0x282c57;let _0x40c300=_0x2f0b2e==null?void 0x0:_0x2f0b2e[_0x468dfb(0x4cc)];if(!(_0x40c300!=null&&_0x40c300[_0x468dfb(0x3d8)][_0x468dfb(0x4ab)]))return _0x3ac95f;let _0x1a97ea=_0x40c300[_0x468dfb(0x3d8)][_0x468dfb(0x4cc)](_0x247e27=>!Ii(_0x247e27));return _0x1a97ea[_0x468dfb(0x4ab)]?_0x3ac95f[_0x468dfb(0x4cc)](_0x2b7cbe=>{const _0x149323=_0x468dfb;if(_0x40c300[_0x149323(0x32c)]===_0x2528f1['OR']){for(let _0x10f3c3 of _0x1a97ea){let _0x2e89ed=_0x38c1fd[_0x149323(0x453)][_0x10f3c3[_0x149323(0x387)]];if(!_0x2e89ed||this[_0x149323(0x395)]['get'](_0x2e89ed['type'])[_0x149323(0x4cc)](_0x2b7cbe['values'][_0x2e89ed['id']],_0x10f3c3[_0x149323(0x307)],_0x10f3c3[_0x149323(0x24c)],_0x2e89ed))return!0x0;}return!0x1;}for(let _0x4bba4e of _0x1a97ea){let _0x1be4c6=_0x38c1fd[_0x149323(0x453)][_0x4bba4e['fieldId']];if(_0x1be4c6&&!this['_fieldRegistry'][_0x149323(0x268)](_0x1be4c6[_0x149323(0x4aa)])[_0x149323(0x4cc)](_0x2b7cbe['values'][_0x1be4c6['id']],_0x4bba4e['operator'],_0x4bba4e[_0x149323(0x24c)],_0x1be4c6))return!0x1;}return!0x0;}):_0x3ac95f;}[_0x282c57(0x3d2)](_0x463ab3,_0x38881e,_0x3c8290){const _0x2ec346=_0x282c57;let _0x2505d2=(_0x38881e==null?void 0x0:_0x38881e[_0x2ec346(0x1df)])??[];if(!_0x2505d2[_0x2ec346(0x4ab)])return _0x3c8290;let _0x5e7da9=_0x2505d2['flatMap'](_0x34d629=>{const _0x5ba668=_0x2ec346;let _0x111b63=_0x463ab3[_0x5ba668(0x453)][_0x34d629[_0x5ba668(0x387)]];return _0x111b63?[{..._0x34d629,'field':_0x111b63}]:[];});return _0x5e7da9[_0x2ec346(0x4ab)]?this[_0x2ec346(0x554)](_0x5e7da9)?this['_fastSortRows'](_0x5e7da9,_0x3c8290):[..._0x3c8290][_0x2ec346(0x1df)]((_0x1f402b,_0x5d1368)=>{const _0x41ad26=_0x2ec346;for(let _0x5d8948 of _0x5e7da9){let _0x4933ea=_0x5d8948[_0x41ad26(0x2d9)],_0x2b3fe6=this[_0x41ad26(0x395)][_0x41ad26(0x268)](_0x4933ea[_0x41ad26(0x4aa)])[_0x41ad26(0x3d7)](_0x1f402b[_0x41ad26(0x54e)][_0x4933ea['id']],_0x5d1368['values'][_0x4933ea['id']],_0x4933ea);if(_0x2b3fe6!==0x0)return _0x5d8948[_0x41ad26(0x292)]===_0x111a17[_0x41ad26(0x4a5)]?-_0x2b3fe6:_0x2b3fe6;}return 0x0;}):_0x3c8290;}[_0x282c57(0x554)](_0x4bf492){const _0x3c87b3=_0x282c57;return _0x4bf492[_0x3c87b3(0x300)](_0xa952d9=>ai[_0x3c87b3(0x25c)](_0xa952d9[_0x3c87b3(0x2d9)][_0x3c87b3(0x4aa)]));}[_0x282c57(0x3f8)](_0x593928,_0x33a248){const _0x7faa6c=_0x282c57;return _0x33a248['map']((_0x14d371,_0x46eaf0)=>({'row':_0x14d371,'index':_0x46eaf0,'keys':_0x593928[_0x7faa6c(0x309)](_0x36aab2=>_0x14d371[_0x7faa6c(0x54e)][_0x36aab2[_0x7faa6c(0x387)]])}))[_0x7faa6c(0x1df)]((_0x217770,_0x59528f)=>{const _0x5cb8bb=_0x7faa6c;for(let _0x4feea2=0x0;_0x4feea2<_0x593928[_0x5cb8bb(0x4ab)];_0x4feea2++){let _0x543ef7=Fi(_0x217770[_0x5cb8bb(0x334)][_0x4feea2],_0x59528f['keys'][_0x4feea2]);if(_0x543ef7!==0x0)return _0x593928[_0x4feea2]['direction']===_0x111a17['DESC']?-_0x543ef7:_0x543ef7;}return _0x217770[_0x5cb8bb(0x198)]-_0x59528f[_0x5cb8bb(0x198)];})[_0x7faa6c(0x309)](_0x1c32ae=>_0x1c32ae['row']);}[_0x282c57(0x348)](_0x3a0d20,_0x4bdfae,_0x35e814){const _0x51a26d=_0x282c57;var _0x5f0d02;return I(_0x51a26d(0x3c6),()=>{const _0x45bb5d=_0x51a26d;var _0x32cb83;if(!((_0x32cb83=_0x4bdfae['group'])!=null&&_0x32cb83[_0x45bb5d(0x4ab)]))return[];let _0x2962f=_0x4bdfae[_0x45bb5d(0x359)][_0x45bb5d(0x4cc)](_0x1541bf=>_0x3a0d20['fields'][_0x1541bf['fieldId']]);if(!_0x2962f[_0x45bb5d(0x4ab)])return[];let _0x566619=this['_groupsCacheKey'](_0x3a0d20['id'],_0x4bdfae,_0x2962f),_0x452542=this[_0x45bb5d(0x2c9)](_0x3a0d20['id']),_0x1b9e93=this[_0x45bb5d(0x4c8)][_0x45bb5d(0x268)](_0x566619);if(_0x1b9e93&&_0x1b9e93['globalRevision']===this[_0x45bb5d(0x492)]&&_0x1b9e93[_0x45bb5d(0x332)]===this[_0x45bb5d(0x398)](_0x3a0d20['id'])){if(_0x1b9e93[_0x45bb5d(0x29f)]===_0x452542&&_0x1b9e93[_0x45bb5d(0x535)]===_0x35e814)return _0x1b9e93[_0x45bb5d(0x197)];if(_0x1b9e93['cellRevision']!==_0x452542&&!this[_0x45bb5d(0x3c4)](_0x3a0d20['id'],_0x1b9e93[_0x45bb5d(0x29f)],_0x452542,this[_0x45bb5d(0x215)](_0x4bdfae)))return this[_0x45bb5d(0x4c8)][_0x45bb5d(0x246)](_0x566619,{..._0x1b9e93,'rows':_0x35e814,'cellRevision':_0x452542}),_0x1b9e93[_0x45bb5d(0x197)];}let _0x1c16f5=new Map();for(let _0x26f071 of _0x35e814){let _0x1f4628=_0x1c16f5,_0x578e90='';for(let _0x5d6967=0x0;_0x5d6967<_0x2962f[_0x45bb5d(0x4ab)];_0x5d6967++){let _0x4f2354=_0x2962f[_0x5d6967],_0x559ba6=_0x26f071['values'][_0x4f2354[_0x45bb5d(0x387)]],_0x1eb607=ci(_0x559ba6),_0x1cba57=_0x4f2354[_0x45bb5d(0x387)]+'\x00'+_0x1eb607,_0x5afc47=_0x578e90+'/'+_0x4f2354[_0x45bb5d(0x387)]+':'+_0x1eb607,_0x3b02fa=_0x1f4628[_0x45bb5d(0x268)](_0x1cba57);_0x3b02fa||(_0x3b02fa={'key':_0x1eb607,'value':_0x559ba6,'path':_0x5afc47,'label':_0x1eb607||_0x45bb5d(0x3c9),'fieldId':_0x4f2354[_0x45bb5d(0x387)],'level':_0x5d6967,'recordIds':[],'children':new Map()},_0x1f4628[_0x45bb5d(0x246)](_0x1cba57,_0x3b02fa)),_0x3b02fa['recordIds'][_0x45bb5d(0x381)](_0x26f071[_0x45bb5d(0x40d)]),_0x1f4628=_0x3b02fa[_0x45bb5d(0x4fc)],_0x578e90=_0x5afc47;}}let _0xf04a7c=this['_materializeGroups'](_0x2962f,_0x1c16f5,0x0);return this[_0x45bb5d(0x4c8)][_0x45bb5d(0x246)](_0x566619,{'table':_0x3a0d20,'rows':_0x35e814,'groups':_0xf04a7c,'globalRevision':this[_0x45bb5d(0x492)],'tableRevision':this[_0x45bb5d(0x398)](_0x3a0d20['id']),'cellRevision':_0x452542}),_0xf04a7c;},{'tableId':_0x3a0d20['id'],'viewId':_0x4bdfae['id'],'viewType':_0x4bdfae['type'],'rows':_0x35e814[_0x51a26d(0x4ab)],'groupFields':((_0x5f0d02=_0x4bdfae[_0x51a26d(0x359)])==null?void 0x0:_0x5f0d02['length'])??0x0});}[_0x282c57(0x2a7)](_0x5e2137,_0x2fb09c,_0x2bb81e){const _0x52067b=_0x282c57;var _0x56dd64;let _0x21b0e7=Array[_0x52067b(0x2f3)](_0x2fb09c[_0x52067b(0x54e)]()),_0x42e47c=(_0x56dd64=_0x5e2137[_0x2bb81e])==null?void 0x0:_0x56dd64[_0x52067b(0x292)];return _0x42e47c&&_0x21b0e7[_0x52067b(0x1df)]((_0x48da67,_0x5f15cf)=>{const _0xaf72d3=_0x52067b;let _0x3ccfae=_0x48da67[_0xaf72d3(0x34d)]['localeCompare'](_0x5f15cf[_0xaf72d3(0x34d)]);return _0x42e47c===_0x111a17[_0xaf72d3(0x4a5)]?-_0x3ccfae:_0x3ccfae;}),_0x21b0e7[_0x52067b(0x309)](_0x5315e7=>({'key':_0x5315e7[_0x52067b(0x34d)],'value':_0x5315e7[_0x52067b(0x373)],'path':_0x5315e7[_0x52067b(0x3a4)],'label':_0x5315e7[_0x52067b(0x19c)],'fieldId':_0x5315e7[_0x52067b(0x387)],'level':_0x5315e7[_0x52067b(0x372)],'recordIds':_0x5315e7['recordIds'],'children':this[_0x52067b(0x2a7)](_0x5e2137,_0x5315e7[_0x52067b(0x4fc)],_0x2bb81e+0x1)}));}[_0x282c57(0x3f6)](_0x1bc4c6,_0x30c622,_0x1de7cb){const _0x1dbbf2=_0x282c57;let _0x522981=_0x1de7cb??_0x1bc4c6[_0x1dbbf2(0x45c)],_0x2d3783=_0x30c622[_0x1dbbf2(0x54e)][_0x522981];return _0x2d3783==null?'':String(_0x2d3783);}[_0x282c57(0x52c)](_0x229a61){const _0x38ea05=_0x282c57;if(Array[_0x38ea05(0x3d5)](_0x229a61))return _0x229a61[_0x38ea05(0x309)](String);if(typeof _0x229a61==_0x38ea05(0x3e3)&&_0x229a61)return[_0x229a61];}['_capabilities'](_0x24dc30){const _0x42c117=_0x282c57;return this[_0x42c117(0x395)]['get'](_0x24dc30[_0x42c117(0x4aa)])[_0x42c117(0x53a)](_0x24dc30);}};si=X([Y(0x0,_0x4bcdd1(mr))],si);function ci(_0xcf9c1b){return _0xcf9c1b==null?'':String(_0xcf9c1b);}function li(_0x53ef0d){const _0x595d25=_0x282c57;return new Map(_0x53ef0d[_0x595d25(0x309)]((_0x205e53,_0x37f493)=>[_0x205e53[_0x595d25(0x40d)],_0x37f493]));}function ui(_0x218412){const _0x1f27dd=_0x282c57;return!!(Array[_0x1f27dd(0x3d5)](_0x218412[_0x1f27dd(0x413)])&&_0x218412['rowIndex']&&_0x218412['rowId']&&_0x218412['colIndex']&&_0x218412[_0x1f27dd(0x46d)]&&_0x218412[_0x1f27dd(0x343)]);}function di(_0x4ac3f4){const _0x22555b=_0x282c57;let _0x5d1487=(_0x4ac3f4==null?void 0x0:_0x4ac3f4['conditions'][_0x22555b(0x4cc)](_0x23cb87=>!Ii(_0x23cb87)))??[];return!_0x4ac3f4||!_0x5d1487[_0x22555b(0x4ab)]?null:{'conjunction':_0x4ac3f4[_0x22555b(0x32c)],'conditions':_0x5d1487[_0x22555b(0x309)](_0x722287=>({'fieldId':_0x722287[_0x22555b(0x387)],'operator':_0x722287[_0x22555b(0x307)],'operand':_0x722287[_0x22555b(0x24c)]}))};}function fi(_0x99dcc0,_0x14d54b){const _0x205231=_0x282c57;return _0x99dcc0[_0x205231(0x1e1)]===_0x14d54b['records']&&_0x99dcc0[_0x205231(0x413)]===_0x14d54b['recordOrder']&&_0x99dcc0[_0x205231(0x453)]===_0x14d54b[_0x205231(0x453)]&&_0x99dcc0[_0x205231(0x534)]===_0x14d54b[_0x205231(0x534)]&&_0x99dcc0[_0x205231(0x343)]===_0x14d54b[_0x205231(0x343)]&&_0x99dcc0[_0x205231(0x277)]===_0x14d54b[_0x205231(0x277)]&&_0x99dcc0[_0x205231(0x21b)]===_0x14d54b[_0x205231(0x21b)]&&_0x99dcc0[_0x205231(0x28f)]===_0x14d54b[_0x205231(0x28f)]&&_0x99dcc0['colId']===_0x14d54b['colId'];}function pi(_0x3d7387){const _0x3753a2=_0x282c57;return _0x3d7387!=null&&_0x3d7387[_0x3753a2(0x4ab)]?_0x3d7387[_0x3753a2(0x309)](_0x590dc8=>({'fieldId':_0x590dc8[_0x3753a2(0x387)],'direction':_0x590dc8[_0x3753a2(0x292)]})):null;}function mi(_0x3c0ea0){const _0x4fbe40=_0x282c57;if(typeof _0x3c0ea0!=_0x4fbe40(0x4ba)||!_0x3c0ea0)return JSON[_0x4fbe40(0x2fb)](_0x3c0ea0)??'undefined';if(Array['isArray'](_0x3c0ea0))return'['+_0x3c0ea0['map'](mi)[_0x4fbe40(0x1c0)](',')+']';let _0x3f7a3c=_0x3c0ea0;return'{'+Object['keys'](_0x3f7a3c)[_0x4fbe40(0x1df)]()[_0x4fbe40(0x309)](_0x1e3e4a=>JSON[_0x4fbe40(0x2fb)](_0x1e3e4a)+':'+mi(_0x3f7a3c[_0x1e3e4a]))[_0x4fbe40(0x1c0)](',')+'}';}function hi(_0xe33ce5){const _0x502d99=_0x282c57;let _0x4590a8=Object[_0x502d99(0x54e)](_0xe33ce5)[_0x502d99(0x1df)]((_0x382762,_0xb16a3a)=>_0x382762[_0x502d99(0x38a)][_0x502d99(0x506)](_0xb16a3a[_0x502d99(0x38a)])),_0x365bf9=[];for(let _0x48c97f of _0x4590a8)_0x365bf9[_0x502d99(0x381)](_0x48c97f['id']);return _0x365bf9;}function gi(_0x2790e6){const _0x1748f3=_0x282c57;return{'weekdays':Array[_0x1748f3(0x3d5)](_0x2790e6==null?void 0x0:_0x2790e6[_0x1748f3(0x523)])&&_0x2790e6['weekdays'][_0x1748f3(0x4ab)]?[...new Set(_0x2790e6[_0x1748f3(0x523)][_0x1748f3(0x4cc)](_0x4b238b=>Number['isInteger'](_0x4b238b)&&_0x4b238b>=0x1&&_0x4b238b<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x1748f3(0x3d5)](_0x2790e6==null?void 0x0:_0x2790e6[_0x1748f3(0x487)])?_0x2790e6[_0x1748f3(0x487)][_0x1748f3(0x26a)](_0xcde4a3=>!_0xcde4a3||!Number[_0x1748f3(0x210)](_0xcde4a3[_0x1748f3(0x382)])?[]:[{'id':String(_0xcde4a3['id']||'exception-'+_0xcde4a3[_0x1748f3(0x382)]),'date':Z(Number(_0xcde4a3[_0x1748f3(0x382)])),'name':String(_0xcde4a3[_0x1748f3(0x2f4)]||_0x1748f3(0x2f1)),'type':_0xcde4a3[_0x1748f3(0x4aa)]===_0x1748f3(0x4c9)?_0x1748f3(0x4c9):_0x1748f3(0x51e)}]):[]};}function _i(_0x36c3c4,_0x5d9b10,_0x4a580d,_0x41b1bf){let _0x218bfe=xi(_0x36c3c4,_0x5d9b10),_0x4ac577=Si(_0x36c3c4,_0x4a580d),_0x3daf30=vi(_0x36c3c4,_0x218bfe,_0x4ac577,_0x41b1bf);return{'scale':_0x36c3c4,'start':_0x218bfe,'end':_0x4ac577,'unitWidth':bi(_0x36c3c4),'majorHeaders':yi(_0x36c3c4,_0x218bfe,_0x4ac577),'columns':_0x3daf30};}function vi(_0x298c37,_0x4e8671,_0x67ce62,_0x4db4ee){const _0x4f2806=_0x282c57;let _0x5debba=[],_0x4910ba=_0x4e8671;for(;_0x4910ba<_0x67ce62;){let _0x447347=_0x298c37===_0x4f2806(0x509)?ji(_0x4910ba,0x7):_0x298c37===_0x4f2806(0x51c)?Mi(_0x4910ba,0x1):ji(_0x4910ba,0x1);_0x5debba[_0x4f2806(0x381)]({'id':_0x298c37+'-'+_0x4910ba,'label':Ci(_0x298c37,_0x4910ba,_0x447347),'majorLabel':wi(_0x298c37,_0x4910ba),'start':_0x4910ba,'end':_0x447347,'nonWorking':Ei(_0x4910ba,_0x447347,_0x4db4ee)}),_0x4910ba=_0x447347;}return _0x5debba;}function yi(_0x19673b,_0x448588,_0x573f69){const _0x320d6c=_0x282c57;let _0x14db9b=[],_0x3b5007=_0x19673b===_0x320d6c(0x51c)?Ai(_0x448588):ki(_0x448588);for(;_0x3b5007<_0x573f69;){let _0x6c94a=_0x19673b===_0x320d6c(0x51c)?Ni(_0x3b5007,0x1):Mi(_0x3b5007,0x1);_0x14db9b[_0x320d6c(0x381)]({'id':_0x320d6c(0x46c)+_0x3b5007,'label':_0x19673b===_0x320d6c(0x51c)?String(new Date(_0x3b5007)[_0x320d6c(0x479)]()):Pi(_0x3b5007),'start':_0x3b5007,'end':_0x6c94a}),_0x3b5007=_0x6c94a;}return _0x14db9b;}function bi(_0x449db3){const _0x227555=_0x282c57;switch(_0x449db3){case _0x227555(0x36e):return 0xac;case _0x227555(0x509):return 0xac;case _0x227555(0x51c):return 0x88;default:return 0x56;}}function xi(_0x2f25ba,_0x1b33d6){const _0x2887a5=_0x282c57;return _0x2f25ba==='year'?Ai(_0x1b33d6):_0x2f25ba===_0x2887a5(0x509)?Oi(_0x1b33d6):Z(_0x1b33d6);}function Si(_0x31007e,_0x2da837){const _0x532420=_0x282c57;return _0x31007e==='year'?Ni(Ai(_0x2da837),0x1):_0x31007e===_0x532420(0x509)?ji(Oi(_0x2da837),0x7):ji(Z(_0x2da837),0x1);}function Ci(_0x4c4233,_0x160c03,_0x258d1d){const _0x12bba7=_0x282c57;let _0x4d23ad=new Date(_0x160c03);return _0x4c4233===_0x12bba7(0x509)?_0x4d23ad[_0x12bba7(0x1f5)]()+'-'+new Date(_0x258d1d-oi)[_0x12bba7(0x1f5)]():_0x4c4233==='year'?_0x4d23ad[_0x12bba7(0x4f4)](_0x12bba7(0x1a9),{'month':'short','timeZone':'UTC'}):String(_0x4d23ad[_0x12bba7(0x1f5)]());}function wi(_0x4cfc1a,_0xb11b3a){const _0x26dd0c=_0x282c57;return _0x4cfc1a===_0x26dd0c(0x51c)?String(new Date(_0xb11b3a)[_0x26dd0c(0x479)]()):Pi(_0xb11b3a);}function Ti(_0x9b3a77,_0x1aeaa4,_0x6a40b){let _0x4dd088=gi(_0x6a40b),_0x3e5b62=0x0;for(let _0x425daa=Z(_0x9b3a77);_0x425daa<=Z(_0x1aeaa4);_0x425daa=ji(_0x425daa,0x1))Di(_0x425daa,_0x4dd088)||_0x3e5b62++;return _0x3e5b62;}function Ei(_0xacddd6,_0x1fd5fd,_0x3bed72){if(!_0x3bed72)return!0x1;let _0x41f27c=gi(_0x3bed72);for(let _0x37681a=Z(_0xacddd6);_0x37681a<_0x1fd5fd;_0x37681a=ji(_0x37681a,0x1))if(!Di(_0x37681a,_0x41f27c))return!0x1;return!0x0;}function Di(_0x2e8546,_0x17c0f7){const _0x2b4911=_0x282c57;let _0x21b533=Z(_0x2e8546),_0x4ad9e2=_0x17c0f7[_0x2b4911(0x487)][_0x2b4911(0x525)](_0x22fc79=>Z(_0x22fc79[_0x2b4911(0x382)])===_0x21b533);if(_0x4ad9e2)return _0x4ad9e2[_0x2b4911(0x4aa)]===_0x2b4911(0x51e);let _0x21c2a4=new Date(_0x21b533)['getUTCDay'](),_0x249983=_0x21c2a4===0x0?0x7:_0x21c2a4;return!_0x17c0f7[_0x2b4911(0x523)][_0x2b4911(0x3df)](_0x249983);}function Z(_0x246e44){const _0x4bd1ac=_0x282c57;let _0x584c70=new Date(_0x246e44);return Date[_0x4bd1ac(0x4ad)](_0x584c70[_0x4bd1ac(0x479)](),_0x584c70[_0x4bd1ac(0x2d5)](),_0x584c70[_0x4bd1ac(0x1f5)]());}function Oi(_0x5363ad){const _0x23394b=_0x282c57;let _0x544e48=Z(_0x5363ad),_0x5675f0=new Date(_0x544e48)[_0x23394b(0x4f1)]();return ji(_0x544e48,-(_0x5675f0===0x0?0x6:_0x5675f0-0x1));}function ki(_0x2b222e){const _0x77a00b=_0x282c57;let _0x35cf62=new Date(_0x2b222e);return Date[_0x77a00b(0x4ad)](_0x35cf62['getUTCFullYear'](),_0x35cf62[_0x77a00b(0x2d5)](),0x1);}function Ai(_0x3e6a79){const _0x1900a7=_0x282c57;let _0x23adc2=new Date(_0x3e6a79);return Date[_0x1900a7(0x4ad)](_0x23adc2[_0x1900a7(0x479)](),0x0,0x1);}function ji(_0x229fbc,_0x1ea913){return _0x229fbc+_0x1ea913*oi;}function Mi(_0x19c8e3,_0x1a1739){const _0x1a5830=_0x282c57;let _0x1d0479=new Date(_0x19c8e3);return Date[_0x1a5830(0x4ad)](_0x1d0479['getUTCFullYear'](),_0x1d0479['getUTCMonth']()+_0x1a1739,0x1);}function Ni(_0x45ef09,_0x16816d){const _0x380269=_0x282c57;let _0x121c52=new Date(_0x45ef09);return Date[_0x380269(0x4ad)](_0x121c52['getUTCFullYear']()+_0x16816d,0x0,0x1);}function Pi(_0x30cec8){const _0xb67a52=_0x282c57;let _0x1cf389=new Date(_0x30cec8);return _0x1cf389[_0xb67a52(0x4f4)](_0xb67a52(0x1a9),{'month':'short','timeZone':'UTC'})+'\x20'+_0x1cf389['getUTCFullYear']();}function Fi(_0x3c7622,_0x596b5c){const _0x3b4009=_0x282c57;if(_0x3c7622==null&&_0x596b5c==null)return 0x0;if(_0x3c7622==null)return-0x1;if(_0x596b5c==null)return 0x1;if(typeof _0x3c7622==_0x3b4009(0x386)||typeof _0x596b5c==_0x3b4009(0x386))return Number(_0x3c7622===!0x0)-Number(_0x596b5c===!0x0);let _0x20e742=Number(_0x3c7622),_0xa29a95=Number(_0x596b5c),_0x2d0732=Number[_0x3b4009(0x210)](_0x20e742),_0x1afcf5=Number[_0x3b4009(0x210)](_0xa29a95);return _0x2d0732&&_0x1afcf5?_0x20e742-_0xa29a95:_0x2d0732?0x1:_0x1afcf5?-0x1:String(_0x3c7622)['localeCompare'](String(_0x596b5c));}function Ii(_0x394a21){const _0x52e3f7=_0x282c57;if(_0x394a21[_0x52e3f7(0x307)]!=='is'&&_0x394a21[_0x52e3f7(0x307)]!=='isNot')return!0x1;let _0x17cefd=_0x394a21[_0x52e3f7(0x24c)];return _0x17cefd==null?!0x0:typeof _0x17cefd=='string'?_0x17cefd[_0x52e3f7(0x24d)]()==='':Array[_0x52e3f7(0x3d5)](_0x17cefd)?_0x17cefd[_0x52e3f7(0x4ab)]===0x0:!0x1;}function Li(_0x392480,_0x267f89){const _0x2863ca=_0x282c57;var _0x521a40;let _0x3146cc=Array[_0x2863ca(0x3d5)]((_0x521a40=_0x392480[_0x2863ca(0x50c)])==null?void 0x0:_0x521a40[_0x2863ca(0x4f3)])?_0x392480[_0x2863ca(0x50c)]['options']:[];for(let _0x5715cd of _0x3146cc){if(_0x5715cd==null)continue;if(typeof _0x5715cd==_0x2863ca(0x3e3)){if(_0x5715cd===_0x267f89)return{'id':_0x5715cd,'name':_0x5715cd};continue;}let _0x2f5364=_0x5715cd,_0x4f017a=String(_0x2f5364['id']??_0x2f5364['name']??''),_0x4626fa=String(_0x2f5364[_0x2863ca(0x2f4)]??_0x2f5364['id']??_0x4f017a);if(_0x4f017a===_0x267f89||_0x4626fa===_0x267f89)return{'id':_0x4f017a,'name':_0x4626fa,'color':_0x2f5364[_0x2863ca(0x545)]==null?void 0x0:String(_0x2f5364[_0x2863ca(0x545)])};}return null;}let Ri=function(_0x51ba59){const _0x333e52=_0x282c57;return _0x51ba59['CreateView']=_0x333e52(0x37f),_0x51ba59[_0x333e52(0x544)]=_0x333e52(0x2e3),_0x51ba59;}({});const Q={'id':_0x282c57(0x48f),'type':_0x31b5a7[_0x282c57(0x1db)],'handler'(_0x34c4ae,_0x79c87e){const _0x539cc5=_0x282c57;let {unitId:_0x3af029,op:_0x2d22ab}=_0x79c87e,_0x631397=_0x34c4ae[_0x539cc5(0x268)](_0x54ce33)[_0x539cc5(0x2ad)](_0x3af029,_0x335149[_0x539cc5(0x370)]);if(!_0x631397)return!0x1;let _0x23525e=_0x631397['getSnapshot'](),_0x1b4cbc=new z(),_0x2a3239=_0x1b4cbc[_0x539cc5(0x485)](_0x2d22ab),_0x22749e=_0x1b4cbc['applyOp'](_0x23525e,_0x2d22ab);return _0x631397[_0x539cc5(0x4e0)](_0x22749e),zi(_0x22749e,_0x2a3239,_0x34c4ae[_0x539cc5(0x268)](ii)),!0x0;}};function zi(_0x46e999,_0x522529,_0x190cb4){const _0x5e7163=_0x282c57;let _0x9e3b9f=new Set(),_0x5a5eb5=new Set(),_0x1529dc=new Set();for(let _0x11e1ae of _0x522529){if(_0x11e1ae[_0x5e7163(0x2cd)]===_0x5e7163(0x47a)&&_0x11e1ae[_0x5e7163(0x45e)]&&_0x11e1ae[_0x5e7163(0x44d)]){let _0x57abb5=_0x11e1ae[_0x5e7163(0x45e)]+'\x00'+_0x11e1ae[_0x5e7163(0x44d)];_0x1529dc['has'](_0x57abb5)||(_0x1529dc['add'](_0x57abb5),_0x190cb4[_0x5e7163(0x438)](_0x11e1ae[_0x5e7163(0x45e)],_0x11e1ae[_0x5e7163(0x44d)]));continue;}if(_0x11e1ae[_0x5e7163(0x2cd)]===_0x5e7163(0x2d9)&&_0x11e1ae[_0x5e7163(0x45e)]&&_0x11e1ae['fieldId']){let _0x1d9eeb=_0x11e1ae[_0x5e7163(0x45e)]+'\x00'+_0x11e1ae[_0x5e7163(0x387)];_0x5a5eb5[_0x5e7163(0x25c)](_0x1d9eeb)||(_0x5a5eb5[_0x5e7163(0x551)](_0x1d9eeb),_0x190cb4[_0x5e7163(0x33a)](_0x11e1ae[_0x5e7163(0x45e)],_0x11e1ae[_0x5e7163(0x387)]));continue;}if(_0x11e1ae['reason']!==_0x5e7163(0x1f9)){_0x190cb4[_0x5e7163(0x466)]();return;}let _0xab885c=Bi(_0x46e999,_0x11e1ae);if(!_0xab885c){_0x190cb4[_0x5e7163(0x466)]();return;}let _0x209ad8=_0xab885c[_0x5e7163(0x45e)]+'\x00'+_0xab885c[_0x5e7163(0x40d)]+'\x00'+_0xab885c[_0x5e7163(0x387)];_0x9e3b9f['has'](_0x209ad8)||(_0x9e3b9f[_0x5e7163(0x551)](_0x209ad8),_0x190cb4['invalidateByCell'](_0xab885c['tableId'],_0xab885c[_0x5e7163(0x40d)],_0xab885c['fieldId']));}}function Bi(_0x2bc85e,_0x290788){const _0xaa9bb4=_0x282c57;var _0x1d492c,_0x8977a6;if(!_0x290788[_0xaa9bb4(0x45e)])return null;if(_0x290788[_0xaa9bb4(0x40d)]&&_0x290788[_0xaa9bb4(0x387)])return{'tableId':_0x290788[_0xaa9bb4(0x45e)],'recordId':_0x290788[_0xaa9bb4(0x40d)],'fieldId':_0x290788[_0xaa9bb4(0x387)]};if(_0x290788[_0xaa9bb4(0x2f0)]==null||_0x290788[_0xaa9bb4(0x331)]==null)return null;let _0x382931=_0x2bc85e[_0xaa9bb4(0x528)][_0x290788['tableId']],_0x48cb0b=_0x382931==null||(_0x1d492c=_0x382931['rowId'])==null?void 0x0:_0x1d492c[_0x290788[_0xaa9bb4(0x2f0)]],_0x25960b=_0x382931==null||(_0x8977a6=_0x382931[_0xaa9bb4(0x46d)])==null?void 0x0:_0x8977a6[_0x290788[_0xaa9bb4(0x331)]];return!_0x48cb0b||!_0x25960b?null:{'tableId':_0x290788[_0xaa9bb4(0x45e)],'recordId':_0x48cb0b,'fieldId':_0x25960b};}const Vi=_0x529588[_0x282c57(0x397)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x529588['createRegExpFromSafeFragment'](String[_0x282c57(0x1d3)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x529588['createRegExpFromSafeFragment'](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x529588[_0x282c57(0x397)](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{['createSuperTableReference'](_0x156a6f,_0x8f443d=_0x156a6f['id']){const _0x514f47=_0x282c57;var _0x578d8a;let _0x3a608c=((_0x578d8a=_0x156a6f[_0x514f47(0x413)])==null?void 0x0:_0x578d8a[_0x514f47(0x4ab)])??Object['values'](_0x156a6f[_0x514f47(0x1e1)])[_0x514f47(0x4ab)];return{'sheetId':_0x8f443d,'titleMap':new Map(_0x156a6f[_0x514f47(0x534)][_0x514f47(0x309)]((_0x15d78a,_0x269b7f)=>{const _0x4536dc=_0x514f47;var _0x143e69;return[((_0x143e69=_0x156a6f[_0x4536dc(0x453)][_0x15d78a])==null?void 0x0:_0x143e69[_0x4536dc(0x2f4)])??_0x15d78a,_0x269b7f];})),'range':{'startRow':0x0,'endRow':Math[_0x514f47(0x468)](0x0,_0x3a608c-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x156a6f[_0x514f47(0x534)][_0x514f47(0x4ab)]-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0x544458,_0x524ee9){const _0x546f63=_0x282c57;let _0x5277fb=[],_0x27fc6d=_0x524ee9?new Set(_0x524ee9):null,_0x4275a7=_0x41215d(_0x544458);return Object['values'](_0x544458[_0x546f63(0x528)])[_0x546f63(0x4cc)](_0x49efab=>!_0x27fc6d||_0x27fc6d['has'](_0x49efab['id']))[_0x546f63(0x34b)](_0x9064f9=>{const _0x5e0371=_0x546f63;let _0x3e0b26=this[_0x5e0371(0x1fa)](_0x9064f9,_0x9064f9['id']);_0x5277fb['push']({'tableId':_0x9064f9['id'],'tableName':_0x4275a7[_0x5e0371(0x268)](_0x9064f9['id']),'reference':_0x3e0b26});}),_0x5277fb;}[_0x282c57(0x30e)](_0x44e09a,_0x3d9214,_0x1aabff={}){const _0x2d902e=_0x282c57;let _0x39c655=_0x44e09a[_0x2d902e(0x24d)]();if(!_0x39c655)return{'valid':!0x0};if(na(_0x39c655))return{'valid':!0x1,'reason':_0x2d902e(0x2d6)};let _0x153eaa=_0x1aabff[_0x2d902e(0x4c3)]?_0x41215d(_0x1aabff[_0x2d902e(0x4c3)]):void 0x0;for(let _0x5d815e of ta(_0x39c655)){let _0x1bc137=ua(_0x5d815e,_0x3d9214,_0x1aabff[_0x2d902e(0x4c3)],_0x153eaa);if(!_0x1bc137['table'])return{'valid':!0x1,'reason':_0x2d902e(0x1bb)+_0x5d815e[_0x2d902e(0x4e3)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x1bc137['field'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x5d815e['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x282c57(0x415)](_0x1e8978,_0xc1d000,_0x33b528={}){const _0x1b9bde=_0x282c57;let _0x2adb4c=new Set();for(let _0x5bf545 of this[_0x1b9bde(0x293)](_0x1e8978,_0xc1d000,_0x33b528))_0x5bf545[_0x1b9bde(0x45e)]===_0xc1d000['id']&&_0x2adb4c[_0x1b9bde(0x551)](_0x5bf545['fieldId']);return Array[_0x1b9bde(0x2f3)](_0x2adb4c);}['getStructuredDependencies'](_0x4da8ee,_0x12dfb1,_0x13d6ab={}){const _0x5c1d80=_0x282c57;let _0x355398=new Map(),_0xf13622=_0x13d6ab[_0x5c1d80(0x4c3)]?_0x41215d(_0x13d6ab[_0x5c1d80(0x4c3)]):void 0x0;for(let _0x18f0df of ta(_0x4da8ee)){let _0x4fd50b=ua(_0x18f0df,_0x12dfb1,_0x13d6ab[_0x5c1d80(0x4c3)],_0xf13622);if(!_0x4fd50b[_0x5c1d80(0x270)]||!_0x4fd50b['field'])continue;let _0x4c24b5=_0x4fd50b[_0x5c1d80(0x270)]['id']+'\x1f'+_0x4fd50b['field']['id'];_0x355398[_0x5c1d80(0x246)](_0x4c24b5,{'tableId':_0x4fd50b[_0x5c1d80(0x270)]['id'],'fieldId':_0x4fd50b[_0x5c1d80(0x2d9)]['id']});}return Array[_0x5c1d80(0x2f3)](_0x355398['values']());}};function Zi(_0x379b45,_0x488593){const _0x5d109c=_0x282c57;var _0x543bac;let _0x5f1bcd=[],_0x23aeca=(_0x543bac=_0x488593[_0x5d109c(0x1b5)])==null?void 0x0:_0x543bac[_0x379b45['id']];return _0x23aeca&&Object[_0x5d109c(0x41d)](_0x23aeca)[_0x5d109c(0x34b)](([_0x2b7226,_0x1dc0f5])=>{const _0x10c19c=_0x5d109c;let _0xc8e3e4=_0x379b45[_0x10c19c(0x528)][_0x2b7226];if(!_0xc8e3e4||!_0x1dc0f5)return;let _0x4fc688=L(_0xc8e3e4),_0x17ce78=[];new _0x376646(_0x1dc0f5)[_0x10c19c(0x3e2)]((_0x188a78,_0x46ad12,_0x47cbf8)=>{const _0x25b0b4=_0x10c19c;let _0x21ed99=Qi(_0x4fc688,_0x188a78,_0x46ad12,_0x47cbf8);_0x21ed99&&_0x17ce78[_0x25b0b4(0x381)](_0x21ed99);}),_0x17ce78[_0x10c19c(0x4ab)]&&_0x5f1bcd[_0x10c19c(0x381)]({'unitId':_0x379b45['id'],'tableId':_0x2b7226,'patches':_0x17ce78});}),_0x5f1bcd;}function Qi(_0x3534d0,_0x51f24b,_0x543c4f,_0x313138){const _0x3a76b5=_0x282c57;var _0x1f11a7,_0x4a8804,_0x2abc78;let _0x2fdace=(_0x1f11a7=_0x3534d0[_0x3a76b5(0x21b)])==null?void 0x0:_0x1f11a7[_0x51f24b],_0x386bcc=(_0x4a8804=_0x3534d0[_0x3a76b5(0x46d)])==null?void 0x0:_0x4a8804[_0x543c4f];if(!_0x2fdace||!_0x3534d0['records'][_0x2fdace]||!_0x386bcc)return null;let _0x467cf8=_0x3534d0[_0x3a76b5(0x453)][_0x386bcc];if(!_0x467cf8||_0x467cf8['type']!==_0x3a76b5(0x557))return null;let _0x332e86=String(((_0x2abc78=_0x467cf8['config'])==null?void 0x0:_0x2abc78[_0x3a76b5(0x557)])??'')[_0x3a76b5(0x24d)](),_0x552500=(_0x313138==null?void 0x0:_0x313138['v'])??null,_0x44ddd3={'v':_0x552500,'t':ea(_0x552500),..._0x51f24b===0x0&&_0x332e86?{'f':_0x332e86}:{},'si':_0x467cf8['id']};return $i(vt(_0x3534d0,_0x2fdace,_0x386bcc),_0x44ddd3)?null:{'row':_0x51f24b,'col':_0x543c4f,'value':_0x44ddd3};}function $i(_0x54f376,_0x204852){return _0x54f376!=null&&Object['is'](_0x54f376['v']??null,_0x204852['v']??null)&&_0x54f376['t']===_0x204852['t']&&_0x54f376['f']===_0x204852['f']&&_0x54f376['si']===_0x204852['si'];}function ea(_0x165561){const _0x1d93c9=_0x282c57;return typeof _0x165561==_0x1d93c9(0x389)?_0x110ba4['NUMBER']:typeof _0x165561==_0x1d93c9(0x386)?_0x110ba4[_0x1d93c9(0x2fd)]:typeof _0x165561==_0x1d93c9(0x3e3)?_0x110ba4['STRING']:null;}function ta(_0x4dea60){const _0x2780d9=_0x282c57;let _0x453d51=ia(_0x4dea60,()=>''),_0xb29939=new Map(),_0x37a1cc=_0x2d8c6d=>{const _0x3f5968=_0x3047;_0xb29939[_0x3f5968(0x246)]((_0x2d8c6d[_0x3f5968(0x4e3)]??'')+'\x1f'+_0x2d8c6d[_0x3f5968(0x425)],_0x2d8c6d);};for(let _0x592a86 of _0x453d51[_0x2780d9(0x48e)](Ui))_0x37a1cc({'fieldName':_0x592a86[0x1],'scope':'this-row'});_0x453d51=_0x453d51['replace'](Wi,(_0x528962,_0x560f9a,_0x2365da,_0x25d152)=>(_0x37a1cc({'tableName':_0x560f9a,'fieldName':_0x25d152,'scope':_0x2365da[_0x2780d9(0x3ca)]()===_0x2780d9(0x2da)?'data':_0x2780d9(0x48c)}),'\x20')),_0x453d51=_0x453d51[_0x2780d9(0x1a6)](Gi,(_0x1306b8,_0x184867,_0x3808a8)=>(_0x37a1cc({'tableName':_0x184867,'fieldName':_0x3808a8,'scope':_0x2780d9(0x48c)}),'\x20')),_0x453d51=_0x453d51['replace'](qi,(_0x36801a,_0x331e7a,_0x35f6db,_0x36fb31)=>(_0x37a1cc({'fieldName':_0x36fb31,'scope':_0x35f6db[_0x2780d9(0x3ca)]()===_0x2780d9(0x2da)?_0x2780d9(0x2da):'this-row'}),_0x331e7a+'\x20')),_0x453d51=_0x453d51['replace'](Ji,(_0x134398,_0x38204b,_0x4968d8)=>(_0x37a1cc({'fieldName':_0x4968d8,'scope':'this-row'}),_0x38204b+'\x20'));for(let _0x12ac4c of _0x453d51['matchAll'](Ki))_0x37a1cc({'tableName':_0x12ac4c[0x1],'fieldName':_0x12ac4c[0x2]});for(let _0x5523d6 of _0x453d51[_0x2780d9(0x48e)](Yi))_0x37a1cc({'fieldName':_0x5523d6[0x2],'scope':'this-row'});return Array[_0x2780d9(0x2f3)](_0xb29939[_0x2780d9(0x54e)]());}function na(_0x338056){const _0x49483d=_0x282c57;let _0x447fd9=ia(_0x338056,()=>'\x20')['replace'](Ui,'\x20')[_0x49483d(0x1a6)](Wi,'\x20')[_0x49483d(0x1a6)](Gi,'\x20')['replace'](qi,_0x49483d(0x19d))[_0x49483d(0x1a6)](Ji,_0x49483d(0x19d))[_0x49483d(0x1a6)](Ki,'\x20')['replace'](Yi,_0x49483d(0x19d));return Vi[_0x49483d(0x1ef)](_0x447fd9);}function ra(_0x53ff91,_0x2a3a0b){return ca(oa(_0x53ff91,_0x2a3a0b),_0x2a3a0b);}function ia(_0x5671d1,_0x13a350){return aa(ra(_0x5671d1,_0x13a350),_0x13a350);}function aa(_0x3b90bb,_0x30fdc5){return _0x3b90bb['replace'](/"(?:""|[^"])*"/g,_0x30fdc5);}function oa(_0x13db0c,_0xb5ddfb){const _0x4c6d89=_0x282c57;return Hi[_0x4c6d89(0x496)]=0x0,_0x13db0c[_0x4c6d89(0x1a6)](Hi,(_0x2f77cd,_0x1a764a)=>la(_0x13db0c,_0x1a764a)?_0x2f77cd:_0xb5ddfb(_0x2f77cd));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x2f93f5,_0x4d2fa7){const _0xd1bbbf=_0x282c57;let _0x218e05=[];for(sa['lastIndex']=0x0;;){let _0x5a5676=sa[_0xd1bbbf(0x4dd)](_0x2f93f5);if(_0x5a5676==null)break;if(la(_0x2f93f5,_0x5a5676[_0xd1bbbf(0x198)]))continue;let _0x4d654f=sa[_0xd1bbbf(0x496)]-0x1,_0x2a9a11=0x0;for(let _0x25e36c=_0x4d654f;_0x25e36c<_0x2f93f5['length'];_0x25e36c++)if(_0x2f93f5[_0x25e36c]==='['&&_0x2a9a11++,_0x2f93f5[_0x25e36c]===']'&&(_0x2a9a11--,_0x2a9a11===0x0)){_0x218e05[_0xd1bbbf(0x381)]({'start':_0x5a5676['index'],'end':_0x25e36c+0x1}),sa[_0xd1bbbf(0x496)]=_0x25e36c+0x1;break;}}if(_0x218e05[_0xd1bbbf(0x4ab)]===0x0)return _0x2f93f5;let _0x36bae6='',_0x2cde55=0x0;for(let _0x556159 of _0x218e05)_0x36bae6+=_0x2f93f5['slice'](_0x2cde55,_0x556159[_0xd1bbbf(0x230)]),_0x36bae6+=_0x4d2fa7(_0x2f93f5[_0xd1bbbf(0x287)](_0x556159[_0xd1bbbf(0x230)],_0x556159[_0xd1bbbf(0x248)])),_0x2cde55=_0x556159[_0xd1bbbf(0x248)];return _0x36bae6+_0x2f93f5[_0xd1bbbf(0x287)](_0x2cde55);}function la(_0x4abed5,_0x4f423b){let _0x1b001d=!0x1;for(let _0x5823df=0x0;_0x5823df<_0x4f423b;_0x5823df++)if(_0x4abed5[_0x5823df]==='\x22'){if(_0x1b001d&&_0x4abed5[_0x5823df+0x1]==='\x22'){_0x5823df++;continue;}_0x1b001d=!_0x1b001d;}return _0x1b001d;}function ua(_0x4ad5d3,_0x14c2a8,_0x104a67,_0xf88d2){const _0x522860=_0x282c57;let _0x2016e8=da(_0x4ad5d3[_0x522860(0x4e3)],_0x14c2a8,_0x104a67,_0xf88d2);return{'table':_0x2016e8,'field':_0x2016e8?Object[_0x522860(0x54e)](_0x2016e8[_0x522860(0x453)])['find'](_0x4b5185=>_0x4b5185[_0x522860(0x2f4)]===_0x4ad5d3[_0x522860(0x425)]):void 0x0};}function da(_0x33c309,_0x17f177,_0x367dc8,_0x2ecec2){const _0x105f7d=_0x282c57;if(!_0x33c309)return _0x17f177;if(!_0x367dc8){var _0x39fc82;let _0x1e58c0=_0x33c309[_0x105f7d(0x3ca)]();return _0x1e58c0===_0x17f177['id']['toLowerCase']()||_0x1e58c0===_0x17f177[_0x105f7d(0x2f4)][_0x105f7d(0x3ca)]()||_0x1e58c0===((_0x39fc82=_0x17f177[_0x105f7d(0x3ab)])==null?void 0x0:_0x39fc82[_0x105f7d(0x3ca)]())?_0x17f177:void 0x0;}let _0xdc70e1=_0x33c309[_0x105f7d(0x3ca)](),_0x1ef1e8=_0x2ecec2??_0x41215d(_0x367dc8),_0x2d9c9f=Object[_0x105f7d(0x54e)](_0x367dc8[_0x105f7d(0x528)])[_0x105f7d(0x4cc)](_0x5378d5=>{const _0x13a3c8=_0x105f7d;var _0x329691;return _0x5378d5['id'][_0x13a3c8(0x3ca)]()===_0xdc70e1||_0x5378d5[_0x13a3c8(0x2f4)]['toLowerCase']()===_0xdc70e1||((_0x329691=_0x1ef1e8[_0x13a3c8(0x268)](_0x5378d5['id']))==null?void 0x0:_0x329691[_0x13a3c8(0x3ca)]())===_0xdc70e1||fa(_0x5378d5['id'])[_0x13a3c8(0x3ca)]()===_0xdc70e1;});return _0x2d9c9f['length']===0x1?_0x2d9c9f[0x0]:void 0x0;}function fa(_0x26155f){const _0x152256=_0x282c57;return _0x152256(0x31d)+Array[_0x152256(0x2f3)](_0x26155f,_0x510603=>{const _0x5d7bf0=_0x152256;var _0x4f3d0b;return/[A-Za-z0-9]/['test'](_0x510603)?_0x510603:'_x'+(((_0x4f3d0b=_0x510603[_0x5d7bf0(0x27c)](0x0))==null?void 0x0:_0x4f3d0b[_0x5d7bf0(0x2ea)](0x10))??'0')+'_';})['join']('');}const pa=new Xi();function ma(_0x16bf6f,_0x4a104b,_0x35fe48){const _0x3eb180=_0x282c57;var _0x128e47;if(_0x35fe48[_0x3eb180(0x4aa)]!==_0x239099[_0x3eb180(0x41e)])return!0x0;let _0x4197a2=String(((_0x128e47=_0x35fe48[_0x3eb180(0x50c)])==null?void 0x0:_0x128e47[_0x3eb180(0x557)])??''),_0x1f72ca=_0x16bf6f[_0x3eb180(0x28c)]();return pa['validateFormula'](_0x4197a2,_0x1f72ca[_0x3eb180(0x528)][_0x4a104b],{'snapshot':_0x1f72ca})[_0x3eb180(0x375)];}function $(_0x132726,_0xd1913b,_0x1b40bd){const _0x307b84=_0x282c57;let _0x17e235=_0x132726[_0x307b84(0x28c)]()[_0x307b84(0x528)][_0xd1913b];if(!_0x17e235)return!0x1;let {viewIds:_0x5e2958,fieldIds:_0x386f1c,recordIds:_0x21299c}=_0x1b40bd||{};if(_0x5e2958){for(let _0x4beb52 of _0x5e2958)if(!_0x17e235[_0x307b84(0x4f9)][_0x4beb52])return!0x1;}if(_0x386f1c){for(let _0x23eb35 of _0x386f1c)if(!_0x17e235[_0x307b84(0x453)][_0x23eb35])return!0x1;}if(_0x21299c){for(let _0x30a2ac of _0x21299c)if(!_0x17e235[_0x307b84(0x1e1)][_0x30a2ac])return!0x1;}return!0x0;}function ha(_0x3b3a76,_0x1fa650,_0x8d1c3a){const _0xb1270=_0x282c57;if(_0x8d1c3a['id']===_0x1a2ecc||_0x8d1c3a[_0xb1270(0x4aa)]===_0x239099[_0xb1270(0x205)]||_0x38be32(_0x8d1c3a[_0xb1270(0x2f4)])||!ma(_0x3b3a76,_0x1fa650,_0x8d1c3a))return!0x1;let _0x2b1101=_0x3b3a76[_0xb1270(0x28c)]();if(!Be(_0x2b1101,_0x8d1c3a)[_0xb1270(0x375)])return!0x1;if(_0x8d1c3a[_0xb1270(0x4aa)]!==_0x239099[_0xb1270(0x2c2)])return!0x0;let _0x34270d=N(_0x8d1c3a);if(!_0x34270d)return!0x1;if(_0x34270d[_0xb1270(0x1f7)]===void 0x0)return!0x0;if(_0x34270d['relationRole']!==_0x33634f[_0xb1270(0x19a)]||_0x34270d[_0xb1270(0x3e5)]!==_0x1fa650||_0x34270d[_0xb1270(0x3ea)]!==!0x1)return!0x1;let _0x1ba163=_0x2b1101[_0xb1270(0x528)][_0x1fa650];return!Object[_0xb1270(0x54e)](_0x1ba163[_0xb1270(0x453)])[_0xb1270(0x436)](_0x5e631f=>{const _0x12013f=_0xb1270;var _0x517c5f;return _0x5e631f['id']!==_0x8d1c3a['id']&&_0x5e631f[_0x12013f(0x4aa)]===_0x239099[_0x12013f(0x2c2)]&&((_0x517c5f=N(_0x5e631f))==null?void 0x0:_0x517c5f[_0x12013f(0x1f7)])===_0x33634f[_0x12013f(0x19a)];});}function ga(_0x47826f,_0x286aa6,_0x38a6a2,_0x270f90){const _0x4e685f=_0x282c57;var _0x19c959;let _0x547b39=_0x47826f[_0x4e685f(0x28c)](),_0x52a3ac=(_0x19c959=_0x547b39[_0x4e685f(0x528)][_0x286aa6])==null?void 0x0:_0x19c959[_0x4e685f(0x453)][_0x38a6a2];return!_0x52a3ac||_0x52a3ac['id']===_0x1a2ecc||_0x52a3ac[_0x4e685f(0x4aa)]===_0x239099[_0x4e685f(0x205)]?!0x1:_0x52a3ac['type']!==_0x239099[_0x4e685f(0x2c2)]||Ve(_0x547b39,_0x52a3ac,ya(_0x270f90))[_0x4e685f(0x375)];}function _a(_0x13f9c3,_0x3cbd4e,_0x41b45f){const _0x50940c=_0x282c57;let _0x122a50=_0x13f9c3[_0x50940c(0x28c)]()[_0x50940c(0x528)][_0x3cbd4e];return!_0x122a50||!_0x2a190f(_0x41b45f['id'])||_0x122a50[_0x50940c(0x1e1)][_0x41b45f['id']]||Object[_0x50940c(0x35c)][_0x50940c(0x445)][_0x50940c(0x2a4)](_0x41b45f['values'],_0x1a2ecc)&&_0x41b45f[_0x50940c(0x54e)][_0x1a2ecc]!==_0x41b45f['id']?!0x1:Object[_0x50940c(0x41d)](_0x41b45f['values'])[_0x50940c(0x300)](([_0x544241,_0x33c569])=>_0x544241===_0x1a2ecc||ga(_0x13f9c3,_0x3cbd4e,_0x544241,_0x33c569));}function va(_0x430458){const _0x2ad355=_0x282c57;return{..._0x430458,'values':{..._0x430458[_0x2ad355(0x54e)],[_0x1a2ecc]:_0x430458['id']}};}function ya(_0x50e858){const _0x3cbaf0=_0x282c57;if(_0x50e858&&typeof _0x50e858=='object'&&!Array[_0x3cbaf0(0x3d5)](_0x50e858)&&'v'in _0x50e858){let _0x5c5eb2=_0x50e858['v'];return _0x5c5eb2===void 0x0?null:_0x5c5eb2;}return _0x50e858;}function ba(_0x2cafc9,_0x1b8c51,_0x3f0e25,_0x933b13){const _0x99001d=_0x282c57;let _0x241fa8=_0x2cafc9[_0x99001d(0x28c)]()['tables'][_0x1b8c51];if(!_0x241fa8)return null;let _0x2ce3ce=qe(_0x241fa8),_0x299472=_0x2ce3ce??Je(_0x241fa8),_0x3f4cc1=_0x3f0e25[_0x99001d(0x436)](_0x401b57=>Object['prototype'][_0x99001d(0x445)]['call'](_0x401b57[_0x99001d(0x54e)],_0x299472)),_0x1366eb=_0x2ce3ce?_0x241fa8[_0x99001d(0x453)][_0x2ce3ce]:_0x3f4cc1?Ye(_0x241fa8,_0x299472,_0x933b13):null,_0x33350c=[];for(let _0x5b3658 of _0x3f0e25){let _0x557c30=_0x5b3658[_0x99001d(0x54e)][_0x299472],_0x21291d=_0x1366eb!==null&&Object['prototype']['hasOwnProperty']['call'](_0x5b3658['values'],_0x299472),_0x1959cf=ya(_0x557c30),_0x361bff=null;if(_0x21291d){if(typeof _0x1959cf!='string'||!ze(_0x1959cf,!0x1)[_0x99001d(0x375)])return null;_0x361bff=_0x1959cf;}let _0x371d3e={};if(Object[_0x99001d(0x41d)](_0x5b3658[_0x99001d(0x54e)])[_0x99001d(0x34b)](([_0x11de5b,_0x283147])=>{(!_0x21291d||_0x11de5b!==_0x299472)&&(_0x371d3e[_0x11de5b]=_0x283147);}),!_a(_0x2cafc9,_0x1b8c51,{..._0x5b3658,'values':_0x371d3e}))return null;let _0x455c7d={..._0x5b3658[_0x99001d(0x54e)]};_0x361bff!==null&&(_0x455c7d[_0x299472]=_0x361bff),_0x33350c[_0x99001d(0x381)](va({..._0x5b3658,'values':_0x455c7d}));}return{'records':_0x33350c,'hierarchyFieldToMaterialize':_0x2ce3ce?null:_0x1366eb,'hierarchyChanges':Qe(_0x241fa8,_0x33350c)};}const xa={'id':_0x282c57(0x24b),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x436713,_0x3154d6){const _0x57bd5b=_0x282c57;if(!_0x3154d6)return!0x1;let _0x8371a=_0x436713[_0x57bd5b(0x268)](_0x54ce33),{unitId:_0x3b7931,tableId:_0x209edb,records:_0x5e5653}=_0x3154d6,_0x34a0bd=_0x8371a['getUnit'](_0x3b7931,_0x335149[_0x57bd5b(0x370)]),_0x50582e=_0x5e5653[_0x57bd5b(0x309)](_0xe80962=>_0xe80962['id']);if(!_0x34a0bd||!$(_0x34a0bd,_0x209edb)||new Set(_0x50582e)[_0x57bd5b(0x286)]!==_0x50582e['length'])return!0x1;let _0x5379a7=_0x436713[_0x57bd5b(0x268)](_0x2a9a16),_0x9fbe9f=_0x436713[_0x57bd5b(0x268)](_0x1f4c86),_0x1b790e=_0x436713['get'](Kr),_0x53490a=_0x34a0bd[_0x57bd5b(0x28c)](),_0x2936d2=ba(_0x34a0bd,_0x209edb,_0x5e5653);if(!_0x2936d2)return!0x1;let {records:_0x55830e,hierarchyChanges:_0x58d54c,hierarchyFieldToMaterialize:_0x3b4020}=_0x2936d2,_0x21efe4=_0x3b4020?_0x1b790e[_0x57bd5b(0x3e0)](_0x34a0bd,_0x209edb,_0x3b4020,_0x53490a[_0x57bd5b(0x528)][_0x209edb][_0x57bd5b(0x534)][_0x57bd5b(0x4ab)]):null,_0x398bc5=_0x1b790e['createBatchCreateRecordsOp'](_0x34a0bd,_0x209edb,_0x55830e),_0x23e685=R([..._0x21efe4?[_0x21efe4]:[],_0x398bc5]),_0x471b05=new z()[_0x57bd5b(0x35e)](_0x53490a,_0x23e685),_0x568710={'unitId':_0x3b7931,'op':_0x23e685,'hierarchyChanges':_0x58d54c[_0x57bd5b(0x4ab)]?_0x58d54c:void 0x0,'source':_0x58d54c['length']?_0x3154d6[_0x57bd5b(0x376)]??'ui':void 0x0},_0x445bfb={..._0x568710,'source':_0x58d54c[_0x57bd5b(0x4ab)]?_0x57bd5b(0x324):void 0x0},_0x454937={'unitId':_0x3b7931,'op':_0x471b05,'hierarchyChanges':_0x58d54c[_0x57bd5b(0x4ab)]?_0x58d54c[_0x57bd5b(0x309)](_0x4558dd=>({..._0x4558dd,'oldParentRecordId':_0x4558dd['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x58d54c['length']?_0x57bd5b(0x410):void 0x0};return _0x5379a7[_0x57bd5b(0x2e5)](Q['id'],_0x568710)?(_0x8371a[_0x57bd5b(0x3ed)](_0x3b7931),_0x9fbe9f[_0x57bd5b(0x333)]({'unitID':_0x3b7931,'undoMutations':[{'id':Q['id'],'params':_0x454937}],'redoMutations':[{'id':Q['id'],'params':_0x445bfb}]}),!0x0):!0x1;}},Sa={'id':_0x282c57(0x399),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2c786e,_0x38219b)=>{const _0x3f7d41=_0x282c57;if(!_0x38219b)return!0x1;let _0x48db31=_0x2c786e[_0x3f7d41(0x268)](_0x54ce33),{unitId:_0x16c7b6,tableId:_0x4bf148,recordIds:_0x4ab051}=_0x38219b,_0x16f055=_0x48db31[_0x3f7d41(0x2ad)](_0x16c7b6,_0x335149[_0x3f7d41(0x370)]);if(!_0x16f055||!$(_0x16f055,_0x4bf148,{'recordIds':_0x4ab051}))return!0x1;let _0x393f26=_0x2c786e['get'](_0x2a9a16),_0x367679=_0x2c786e['get'](_0x1f4c86),_0x587f82=_0x16f055[_0x3f7d41(0x28c)](),_0x11e1de=et(_0x587f82[_0x3f7d41(0x528)][_0x4bf148],_0x4ab051),_0x24609f=new W(),_0x182325=new z(),_0x1379f4=_0x24609f[_0x3f7d41(0x227)](_0x587f82,_0x4bf148,_0x4ab051),_0x3058db=_0x182325['applyOp'](_0x587f82,_0x1379f4),_0xda487b=_0x24609f[_0x3f7d41(0x411)](_0x587f82,_0x3058db,_0x4bf148,_0x4ab051),_0x25ddfb={'unitId':_0x16c7b6,'op':_0x1379f4,'hierarchyChanges':_0x11e1de,'source':_0x38219b[_0x3f7d41(0x376)]??'ui'},_0x315bb8={..._0x25ddfb,'source':_0x3f7d41(0x324)},_0x182a9a={'unitId':_0x16c7b6,'op':_0xda487b,'hierarchyChanges':_0x11e1de[_0x3f7d41(0x309)](_0x5d9a27=>({..._0x5d9a27,'oldParentRecordId':_0x5d9a27[_0x3f7d41(0x1fd)],'parentRecordId':_0x5d9a27[_0x3f7d41(0x1fb)]})),'source':_0x3f7d41(0x410)};return _0x393f26[_0x3f7d41(0x2e5)](Q['id'],_0x25ddfb)?(_0x48db31['focusUnit'](_0x16c7b6),_0x367679[_0x3f7d41(0x333)]({'unitID':_0x16c7b6,'undoMutations':[{'id':Q['id'],'params':_0x182a9a}],'redoMutations':[{'id':Q['id'],'params':_0x315bb8}]}),!0x0):!0x1;}},Ca={'id':_0x282c57(0x3bf),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2b6870,_0x3c57ea)=>{const _0x426cff=_0x282c57;if(!_0x3c57ea)return!0x1;let _0x112c05=_0x2b6870[_0x426cff(0x268)](_0x54ce33),{unitId:_0x229988,tableId:_0x2fb7f9,fieldId:_0x4d3722,input:_0x5add2d}=_0x3c57ea,_0x44a373=_0x112c05[_0x426cff(0x2ad)](_0x229988,_0x335149['UNIVER_BASE']);if(!_0x44a373||_0x4d3722===_0x1a2ecc||!$(_0x44a373,_0x2fb7f9,{'fieldIds':[_0x4d3722]}))return!0x1;let _0x4533e1=_0x2b6870[_0x426cff(0x268)](_0x2a9a16),_0x66850a=_0x2b6870[_0x426cff(0x268)](_0x1f4c86),_0x516ee1=_0x44a373['getSnapshot']();if(!ha(_0x44a373,_0x2fb7f9,{..._0x516ee1['tables'][_0x2fb7f9][_0x426cff(0x453)][_0x4d3722],..._0x5add2d}))return!0x1;let _0x2e1577=new W()[_0x426cff(0x44f)](_0x516ee1,_0x2fb7f9,_0x4d3722,_0x5add2d),_0x4129cd=new z()[_0x426cff(0x35e)](_0x516ee1,_0x2e1577),_0x45ea2c={'unitId':_0x229988,'op':_0x2e1577},_0x38a414={'unitId':_0x229988,'op':_0x4129cd};return _0x4533e1['syncExecuteCommand'](Q['id'],_0x45ea2c)?(_0x112c05[_0x426cff(0x3ed)](_0x229988),_0x66850a[_0x426cff(0x333)]({'unitID':_0x229988,'undoMutations':[{'id':Q['id'],'params':_0x38a414}],'redoMutations':[{'id':Q['id'],'params':_0x45ea2c}]}),!0x0):!0x1;}},wa={'id':_0x282c57(0x537),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x42ecb7,_0x67fd1e){const _0x34a7e0=_0x282c57;var _0x2f88a7;if(!_0x67fd1e)return!0x1;let {unitId:_0x40c875,tableId:_0x7aa4ef,parentRecordId:_0x49c99b}=_0x67fd1e,_0x1bc38a=_0x42ecb7[_0x34a7e0(0x268)](_0x54ce33),_0x5879db=_0x1bc38a['getUnit'](_0x40c875,_0x335149['UNIVER_BASE']);if(!_0x5879db||!$(_0x5879db,_0x7aa4ef,{'recordIds':[_0x49c99b]}))throw new P('missingRecord');let _0x2fb344=_0x5879db[_0x34a7e0(0x28c)](),_0x417933=_0x2fb344[_0x34a7e0(0x528)][_0x7aa4ef],_0x2bca8a=qe(_0x417933),_0x328082=_0x2bca8a??_0x67fd1e[_0x34a7e0(0x387)]??Je(_0x417933);if(_0x2bca8a&&_0x67fd1e[_0x34a7e0(0x387)]&&_0x67fd1e[_0x34a7e0(0x387)]!==_0x2bca8a||_0x417933[_0x34a7e0(0x453)][_0x328082]&&!F(_0x417933,_0x328082))throw new P(_0x34a7e0(0x38b));if((tt(_0x417933,_0x328082)[_0x34a7e0(0x3ec)][_0x34a7e0(0x268)](_0x49c99b)??0x0)+0x1>=0x5)throw new P(_0x34a7e0(0x1c4));if(!_a(_0x5879db,_0x7aa4ef,_0x67fd1e[_0x34a7e0(0x3a6)]))return!0x1;let _0x301c6f=va({..._0x67fd1e[_0x34a7e0(0x3a6)],'values':{..._0x67fd1e[_0x34a7e0(0x3a6)][_0x34a7e0(0x54e)],[_0x328082]:Re([_0x49c99b])}}),_0x1a7e77=_0x42ecb7[_0x34a7e0(0x268)](Kr),_0x12242=new W(),_0x165c0e=_0x417933['fields'][_0x328082],_0x2f0f54=_0x165c0e?((_0x2f88a7=N(_0x165c0e))==null?void 0x0:_0x2f88a7[_0x34a7e0(0x1f7)])===_0x33634f['Parent']?null:_0x12242[_0x34a7e0(0x2b0)](_0x2fb344,_0x7aa4ef,_0x328082,{'config':{..._0x165c0e[_0x34a7e0(0x50c)],'relationRole':_0x33634f[_0x34a7e0(0x19a)]}}):_0x1a7e77[_0x34a7e0(0x3e0)](_0x5879db,_0x7aa4ef,Ye(_0x417933,_0x328082,_0x67fd1e['parentFieldName']),_0x417933[_0x34a7e0(0x534)]['length']),_0x4afdae=_0x1a7e77['createCreateRecordOp'](_0x5879db,_0x7aa4ef,_0x301c6f),_0x117528=R([..._0x2f0f54?[_0x2f0f54]:[],_0x4afdae]),_0x322e74=new z()[_0x34a7e0(0x35e)](_0x2fb344,_0x117528),_0x266962={'tableId':_0x7aa4ef,'fieldId':_0x328082,'recordId':_0x301c6f['id'],'oldParentRecordId':null,'parentRecordId':_0x49c99b},_0x32a8e7={'unitId':_0x40c875,'op':_0x117528,'trigger':wa['id'],'hierarchyChanges':[_0x266962],'source':_0x67fd1e[_0x34a7e0(0x376)]??'ui'},_0x24c17b={..._0x32a8e7,'source':_0x34a7e0(0x324)},_0xb64059={'unitId':_0x40c875,'op':_0x322e74,'trigger':wa['id'],'hierarchyChanges':[{..._0x266962,'oldParentRecordId':_0x49c99b,'parentRecordId':null}],'source':_0x34a7e0(0x410)};return _0x42ecb7['get'](_0x2a9a16)['syncExecuteCommand'](Q['id'],_0x32a8e7)?(_0x1bc38a[_0x34a7e0(0x3ed)](_0x40c875),_0x42ecb7[_0x34a7e0(0x268)](_0x1f4c86)[_0x34a7e0(0x333)]({'unitID':_0x40c875,'undoMutations':[{'id':Q['id'],'params':_0xb64059}],'redoMutations':[{'id':Q['id'],'params':_0x24c17b}]}),!0x0):!0x1;}},Ta={'id':_0x282c57(0x2ac),'type':_0x31b5a7['COMMAND'],'handler'(_0x419636,_0x1ff7a6){const _0x2e8cfc=_0x282c57;if(!_0x1ff7a6)return!0x1;let _0x57337b=_0x419636[_0x2e8cfc(0x268)](_0x54ce33),{unitId:_0x580e45,tableId:_0x2bc315,field:_0x109560,index:_0x354e7a,viewIndexes:_0x2cb465}=_0x1ff7a6,_0x234591=_0x57337b[_0x2e8cfc(0x2ad)](_0x580e45,_0x335149[_0x2e8cfc(0x370)]);if(!_0x234591||!$(_0x234591,_0x2bc315)||_0x234591[_0x2e8cfc(0x28c)]()[_0x2e8cfc(0x528)][_0x2bc315][_0x2e8cfc(0x453)][_0x109560['id']]||_0x354e7a===0x0||!ha(_0x234591,_0x2bc315,_0x109560))return!0x1;let _0x111d55=_0x419636[_0x2e8cfc(0x268)](_0x2a9a16),_0x1966ce=_0x419636[_0x2e8cfc(0x268)](_0x1f4c86),_0x12a263=_0x419636['get'](Kr)[_0x2e8cfc(0x3e0)](_0x234591,_0x2bc315,_0x109560,_0x354e7a,_0x2cb465),_0x349e00=new z()['invertOp'](_0x234591[_0x2e8cfc(0x28c)](),_0x12a263),_0x277702={'unitId':_0x580e45,'op':_0x12a263},_0x519ca7={'unitId':_0x580e45,'op':_0x349e00};return _0x111d55[_0x2e8cfc(0x2e5)](Q['id'],_0x277702)?(_0x57337b[_0x2e8cfc(0x3ed)](_0x580e45),_0x1966ce[_0x2e8cfc(0x333)]({'unitID':_0x580e45,'undoMutations':[{'id':Q['id'],'params':_0x519ca7}],'redoMutations':[{'id':Q['id'],'params':_0x277702}]}),!0x0):!0x1;}},Ea={'id':_0x282c57(0x4c0),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x1c6993,_0x38df0a){const _0x391fc2=_0x282c57;if(!_0x38df0a)return!0x1;let _0x363c66=_0x1c6993[_0x391fc2(0x268)](_0x54ce33),{unitId:_0x356ae1,tableId:_0x4baa8c,record:_0x16c6c2}=_0x38df0a,_0x370fa3=_0x363c66[_0x391fc2(0x2ad)](_0x356ae1,_0x335149[_0x391fc2(0x370)]);if(!_0x370fa3||!$(_0x370fa3,_0x4baa8c))return!0x1;let _0x436a77=_0x1c6993[_0x391fc2(0x268)](_0x2a9a16),_0x150785=_0x1c6993[_0x391fc2(0x268)](_0x1f4c86),_0x491d22=_0x1c6993[_0x391fc2(0x268)](Kr),_0x22d9f9=_0x370fa3['getSnapshot'](),_0x3b6038=ba(_0x370fa3,_0x4baa8c,[_0x16c6c2]);if(!_0x3b6038)return!0x1;let [_0x470371]=_0x3b6038[_0x391fc2(0x1e1)],{hierarchyChanges:_0x5ee813,hierarchyFieldToMaterialize:_0xf2437f}=_0x3b6038,_0xda8a82=_0xf2437f?_0x491d22[_0x391fc2(0x3e0)](_0x370fa3,_0x4baa8c,_0xf2437f,_0x22d9f9['tables'][_0x4baa8c][_0x391fc2(0x534)][_0x391fc2(0x4ab)]):null,_0x546449=_0x491d22['createCreateRecordOp'](_0x370fa3,_0x4baa8c,_0x470371),_0x365d68=R([..._0xda8a82?[_0xda8a82]:[],_0x546449]),_0x3a8c17=new z()['invertOp'](_0x22d9f9,_0x365d68),_0x175bee={'unitId':_0x356ae1,'op':_0x365d68,'hierarchyChanges':_0x5ee813['length']?_0x5ee813:void 0x0,'source':_0x5ee813['length']?_0x38df0a[_0x391fc2(0x376)]??'ui':void 0x0},_0x5b47cb={..._0x175bee,'source':_0x5ee813[_0x391fc2(0x4ab)]?_0x391fc2(0x324):void 0x0},_0x37c322={'unitId':_0x356ae1,'op':_0x3a8c17,'hierarchyChanges':_0x5ee813[_0x391fc2(0x4ab)]?_0x5ee813[_0x391fc2(0x309)](_0x14dae2=>({..._0x14dae2,'oldParentRecordId':_0x14dae2['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5ee813[_0x391fc2(0x4ab)]?'undo':void 0x0};return _0x436a77[_0x391fc2(0x2e5)](Q['id'],_0x175bee)?(_0x363c66[_0x391fc2(0x3ed)](_0x356ae1),_0x150785['pushUndoRedo']({'unitID':_0x356ae1,'undoMutations':[{'id':Q['id'],'params':_0x37c322}],'redoMutations':[{'id':Q['id'],'params':_0x5b47cb}]}),!0x0):!0x1;}},Da=_0x282c57(0x45a);function Oa(_0x3a6a55,_0x6143d0,_0x5d2f78){const _0x4e5647=_0x282c57;if(!_0x6143d0[_0x4e5647(0x24d)]())return{'valid':!0x1,'reason':_0x4e5647(0x443),'error':'required'};if(_0x6143d0[_0x4e5647(0x4ab)]>0x1f)return{'valid':!0x1,'reason':_0x4e5647(0x30c),'error':_0x4e5647(0x374)};if(_0x6143d0[_0x4e5647(0x289)]('\x27')||_0x6143d0[_0x4e5647(0x48a)]('\x27'))return{'valid':!0x1,'reason':_0x4e5647(0x1b8),'error':'apostrophe'};if(/[:\\/?*\[\]]/[_0x4e5647(0x1ef)](_0x6143d0))return{'valid':!0x1,'reason':_0x4e5647(0x504),'error':_0x4e5647(0x508)};if(!_0x4ee737(_0x6143d0))return{'valid':!0x1,'reason':_0x4e5647(0x2d8),'error':'invalid'};let _0xfd371d=_0x6143d0[_0x4e5647(0x3ca)]();return Object[_0x4e5647(0x54e)](_0x3a6a55[_0x4e5647(0x528)])[_0x4e5647(0x436)](_0x4f2329=>_0x4f2329['id']!==_0x5d2f78&&_0x4f2329[_0x4e5647(0x2f4)][_0x4e5647(0x3ca)]()===_0xfd371d)?{'valid':!0x1,'reason':_0x4e5647(0x1c2),'error':'duplicate'}:{'valid':!0x0};}function ka(_0x45a2b4,_0x5924be){const _0x30e96e=_0x282c57;let _0x411f62=_0x5924be['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x30e96e(0x1a6)](/^'+|'+$/g,'')['trim']()||_0x30e96e(0x424),_0x1a6a79=0x1;for(;;){let _0x3e6249=_0x1a6a79===0x1?'':'\x20'+_0x1a6a79,_0x2053f3=''+_0x411f62['slice'](0x0,0x1f-_0x3e6249['length'])+_0x3e6249;if(Oa(_0x45a2b4,_0x2053f3)[_0x30e96e(0x375)])return _0x2053f3;_0x1a6a79++;}}const Aa={'id':'base.command.create-base-table','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0xa46ba2,_0x30795)=>{const _0x3b7e65=_0x282c57;if(!_0x30795)return!0x1;let _0x1edb8a=_0xa46ba2[_0x3b7e65(0x268)](_0x54ce33),{unitId:_0x4e3373,table:_0x590517,index:_0x1faa82}=_0x30795,_0x313c6d=_0x1edb8a[_0x3b7e65(0x2ad)](_0x4e3373,_0x335149[_0x3b7e65(0x370)]);if(!_0x313c6d||_0x313c6d[_0x3b7e65(0x28c)]()['tables'][_0x590517['id']]||!Oa(_0x313c6d[_0x3b7e65(0x28c)](),_0x590517['name'])['valid'])return!0x1;try{_0x306a77(_0x590517);}catch{return!0x1;}let _0x4e07af=_0xa46ba2[_0x3b7e65(0x268)](_0x2a9a16),_0x584ab2=_0xa46ba2[_0x3b7e65(0x268)](_0x1f4c86),_0x4c4209=_0x313c6d[_0x3b7e65(0x28c)](),_0x3561c1=new W()[_0x3b7e65(0x206)](_0x4c4209,_0x590517,_0x1faa82),_0x137980=new z()['invertOp'](_0x4c4209,_0x3561c1),_0xb1e836={'unitId':_0x4e3373,'op':_0x3561c1},_0x3f66b3={'unitId':_0x4e3373,'op':_0x137980};return _0x4e07af[_0x3b7e65(0x2e5)](Q['id'],_0xb1e836)?(_0x1edb8a[_0x3b7e65(0x3ed)](_0x4e3373),_0x584ab2['pushUndoRedo']({'unitID':_0x4e3373,'undoMutations':[{'id':Q['id'],'params':_0x3f66b3}],'redoMutations':[{'id':Q['id'],'params':_0xb1e836}]}),!0x0):!0x1;}};function ja(_0x50dce0,_0x619d37,_0x21e4ae=[]){const _0x494bc6=_0x282c57;let _0x2d0da4=new Set([...Object[_0x494bc6(0x54e)](_0x50dce0[_0x494bc6(0x453)])[_0x494bc6(0x4cc)](_0x377280=>_0x377280)[_0x494bc6(0x309)](_0x5eec41=>_0x5eec41[_0x494bc6(0x2f4)]),..._0x21e4ae[_0x494bc6(0x309)](_0x425bc0=>_0x425bc0[_0x494bc6(0x2f4)])]);if(!_0x2d0da4['has'](_0x619d37))return _0x619d37;let _0x28f0a3=0x2;for(;_0x2d0da4[_0x494bc6(0x25c)](_0x619d37+'\x20'+_0x28f0a3);)_0x28f0a3++;return _0x619d37+'\x20'+_0x28f0a3;}function Ma(_0x5f211b,_0x3d5318){const _0x55eacd=_0x282c57;if(!_0x5f211b||!_0x3d5318[_0x55eacd(0x4ab)])return;let _0x1de7d3=[..._0x5f211b];return _0x3d5318[_0x55eacd(0x34b)](_0x231638=>{const _0x29106c=_0x55eacd;_0x1de7d3[_0x29106c(0x3df)](_0x231638)||_0x1de7d3[_0x29106c(0x381)](_0x231638);}),_0x1de7d3;}const Na={'options':[{'id':'todo','name':'Todo','color':_0x282c57(0x279)},{'id':_0x282c57(0x328),'name':_0x282c57(0x32e),'color':_0x282c57(0x2de)},{'id':_0x282c57(0x1d4),'name':'Done','color':_0x282c57(0x457)}]},Pa={'locale':_0x282c57(0x1a9),'pattern':_0x282c57(0x489),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x282c57(0x3f5)};function Fa(_0x22e242,_0x32c70e,_0x5e7aa6,_0x3a36da){const _0x10df62=_0x282c57;var _0x237d5a;let _0x42d885=new W(),_0x4ae29f=_0x22e242[_0x10df62(0x528)][_0x32c70e],_0x47a23f=_0x4ae29f?{..._0x5e7aa6,'fieldOrder':[_0x1a2ecc,...(_0x5e7aa6[_0x10df62(0x534)]??_0x4ae29f['fieldOrder'])[_0x10df62(0x4cc)](_0x45d0c1=>_0x45d0c1!==_0x1a2ecc)],'fieldSettings':{..._0x5e7aa6[_0x10df62(0x272)],[_0x1a2ecc]:{...(_0x237d5a=_0x5e7aa6['fieldSettings'])==null?void 0x0:_0x237d5a[_0x1a2ecc],'hidden':!0x0}}}:_0x5e7aa6;if(_0x4ae29f&&_0x47a23f[_0x10df62(0x4aa)]===_0x10df62(0x320)){let _0x164391=La(_0x4ae29f,_0x47a23f),_0x517435=_0x164391[_0x10df62(0x1e5)]?{..._0x47a23f,'config':_0x164391[_0x10df62(0x50c)],'fieldOrder':_0x164391[_0x10df62(0x534)]??_0x47a23f[_0x10df62(0x534)]}:_0x47a23f;return R([..._0x164391['fields'][_0x10df62(0x309)](_0x33dda8=>_0x42d885[_0x10df62(0x212)](_0x22e242,_0x32c70e,{'field':_0x33dda8})),_0x42d885['createView'](_0x22e242,_0x32c70e,_0x517435,_0x3a36da)]);}if(!_0x4ae29f||_0x47a23f['type']!==_0x10df62(0x262)&&_0x47a23f[_0x10df62(0x4aa)]!==_0x10df62(0x3c0))return _0x42d885[_0x10df62(0x24a)](_0x22e242,_0x32c70e,_0x47a23f,_0x3a36da);let _0xac652c=Ia(_0x4ae29f,_0x47a23f),_0x54735e=_0xac652c['changed']?{..._0x47a23f,'config':_0xac652c[_0x10df62(0x50c)],'fieldOrder':_0xac652c[_0x10df62(0x534)]??_0x47a23f[_0x10df62(0x534)]}:_0x47a23f;return _0x47a23f[_0x10df62(0x4aa)]===_0x10df62(0x3c0)&&Ba(_0x47a23f)&&(_0x54735e=Va(_0x4ae29f,_0x54735e,_0xac652c['fields'])),R([..._0xac652c['fields'][_0x10df62(0x309)](_0x3fda87=>_0x42d885[_0x10df62(0x212)](_0x22e242,_0x32c70e,{'field':_0x3fda87})),_0x42d885['createView'](_0x22e242,_0x32c70e,_0x54735e,_0x3a36da)]);}function Ia(_0x19e943,_0x4b8f26,_0x419c81=!0x1){const _0x39854d=_0x282c57;var _0xdc9fab,_0x512e7b;let _0x341544=_0x19e943['fieldOrder']['filter'](_0x541c8e=>Ua(_0x19e943,_0x541c8e)),_0x3f01be=[],_0x2ef693={..._0x4b8f26[_0x39854d(0x50c)]??{}},_0x3d4bc0=typeof _0x2ef693[_0x39854d(0x282)]==_0x39854d(0x3e3)&&Ua(_0x19e943,_0x2ef693[_0x39854d(0x282)])?_0x2ef693[_0x39854d(0x282)]:_0x341544[0x0],_0x2d6a53=typeof _0x2ef693[_0x39854d(0x541)]==_0x39854d(0x3e3)&&Ua(_0x19e943,_0x2ef693[_0x39854d(0x541)])&&_0x2ef693[_0x39854d(0x541)]!==_0x3d4bc0?_0x2ef693[_0x39854d(0x541)]:_0x341544[_0x39854d(0x525)](_0x103985=>_0x103985!==_0x3d4bc0);if(!_0x3d4bc0){let _0x544faf=Wa(_0x19e943,_0x3f01be,_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x3c0)?_0x39854d(0x2cc):_0x39854d(0x240));_0x3f01be[_0x39854d(0x381)](_0x544faf),_0x3d4bc0=_0x544faf['id'];}if((_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x3c0)||_0x419c81)&&!_0x2d6a53){let _0x4e2c55=Wa(_0x19e943,_0x3f01be,_0x39854d(0x267));_0x3f01be[_0x39854d(0x381)](_0x4e2c55),_0x2d6a53=_0x4e2c55['id'];}_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x262)&&!_0x2d6a53&&delete _0x2ef693['endDateFieldId'],_0x2ef693['startDateFieldId']=_0x3d4bc0,_0x4b8f26['type']===_0x39854d(0x262)&&_0x2d6a53&&(_0x2ef693[_0x39854d(0x541)]=_0x2d6a53),_0x4b8f26['type']===_0x39854d(0x3c0)&&(_0x2ef693[_0x39854d(0x541)]=_0x2d6a53??_0x3d4bc0);let _0x2a8156=Ma(_0x4b8f26['fieldOrder'],_0x3f01be[_0x39854d(0x309)](_0x4cea1a=>_0x4cea1a['id']));return{'changed':_0x3f01be[_0x39854d(0x4ab)]>0x0||_0x2ef693[_0x39854d(0x282)]!==((_0xdc9fab=_0x4b8f26[_0x39854d(0x50c)])==null?void 0x0:_0xdc9fab['startDateFieldId'])||_0x2ef693[_0x39854d(0x541)]!==((_0x512e7b=_0x4b8f26['config'])==null?void 0x0:_0x512e7b[_0x39854d(0x541)])||!(!_0x2a8156||_0xd92214[_0x39854d(0x4b1)](_0x2a8156,_0x4b8f26[_0x39854d(0x534)]??[])),'fields':_0x3f01be,'config':_0x2ef693,'fieldOrder':_0x2a8156};}function La(_0x390c2e,_0x128373){const _0x3435d0=_0x282c57;var _0x42a64c;let _0x7bed4f=[],_0x4b8764={..._0x128373[_0x3435d0(0x50c)]??{}},_0x321860=typeof _0x4b8764[_0x3435d0(0x25d)]=='string'&&Ra(_0x390c2e,_0x4b8764['groupFieldId'])?_0x4b8764[_0x3435d0(0x25d)]:_0x390c2e[_0x3435d0(0x534)][_0x3435d0(0x525)](_0x39fc3b=>Ra(_0x390c2e,_0x39fc3b));if(!_0x321860){let _0x2e7d21=za(_0x390c2e,_0x7bed4f);_0x7bed4f[_0x3435d0(0x381)](_0x2e7d21),_0x321860=_0x2e7d21['id'];}_0x4b8764['groupFieldId']=_0x321860;let _0x4916e7=Ma(_0x128373[_0x3435d0(0x534)],_0x7bed4f[_0x3435d0(0x309)](_0x41f724=>_0x41f724['id']));return{'changed':_0x7bed4f[_0x3435d0(0x4ab)]>0x0||_0x4b8764['groupFieldId']!==((_0x42a64c=_0x128373['config'])==null?void 0x0:_0x42a64c[_0x3435d0(0x25d)])||!(!_0x4916e7||_0xd92214[_0x3435d0(0x4b1)](_0x4916e7,_0x128373[_0x3435d0(0x534)]??[])),'fields':_0x7bed4f,'config':_0x4b8764,'fieldOrder':_0x4916e7};}function Ra(_0x345744,_0x255fec){const _0x1def13=_0x282c57;let _0x419252=_0x255fec?_0x345744[_0x1def13(0x453)][_0x255fec]:null;return _0x419252?[_0x239099[_0x1def13(0x2fe)],_0x239099[_0x1def13(0x4b3)],_0x239099[_0x1def13(0x3b7)],_0x239099[_0x1def13(0x2a5)],_0x239099[_0x1def13(0x3af)],_0x239099[_0x1def13(0x379)]][_0x1def13(0x3df)](_0x419252[_0x1def13(0x4aa)]):!0x1;}function za(_0x32882b,_0x294347){const _0x16d6a5=_0x282c57;return{'id':_0x16d6a5(0x252)+_0x4e27d9(0x8),'name':ja(_0x32882b,_0x16d6a5(0x264),_0x294347),'type':_0x239099[_0x16d6a5(0x2fe)],'config':_0xd92214[_0x16d6a5(0x4d7)](Na)};}function Ba(_0x7621f3){const _0x262701=_0x282c57;return Object['keys'](_0x7621f3['config']??{})[_0x262701(0x4ab)]===0x0&&Object[_0x262701(0x334)](_0x7621f3[_0x262701(0x272)]??{})[_0x262701(0x4ab)]===0x0;}function Va(_0x58eceb,_0x57815d,_0x19695a){const _0x2abb03=_0x282c57;let _0x10b70b={..._0x57815d[_0x2abb03(0x50c)]??{}},_0x2b120b=_0x19695a[_0x2abb03(0x309)](_0x27bbf1=>_0x27bbf1['id']),_0x20e96b=[..._0x58eceb[_0x2abb03(0x534)],..._0x2b120b],_0x244760=typeof _0x10b70b[_0x2abb03(0x430)]==_0x2abb03(0x3e3)&&Ha(_0x58eceb,_0x19695a,_0x10b70b['titleFieldId'])?_0x10b70b[_0x2abb03(0x430)]:_0x58eceb[_0x2abb03(0x45c)],_0x1acc52=typeof _0x10b70b[_0x2abb03(0x282)]=='string'?_0x10b70b[_0x2abb03(0x282)]:'',_0x4939cb=typeof _0x10b70b[_0x2abb03(0x541)]=='string'?_0x10b70b[_0x2abb03(0x541)]:_0x1acc52,_0x52da34=new Set([_0x244760,_0x1acc52,_0x4939cb]['filter'](_0x1cf388=>_0x1cf388&&Ha(_0x58eceb,_0x19695a,_0x1cf388))),_0x260125=Object[_0x2abb03(0x1af)](_0x20e96b[_0x2abb03(0x26a)](_0x45afb2=>_0x52da34[_0x2abb03(0x25c)](_0x45afb2)||!Ha(_0x58eceb,_0x19695a,_0x45afb2)?[]:[[_0x45afb2,{'hidden':!0x0}]]));return{..._0x57815d,'config':{..._0x10b70b,'titleFieldId':_0x244760},'fieldSettings':_0x260125};}function Ha(_0x1e7c78,_0x3718a8,_0x3121d9){const _0x138363=_0x282c57;return!!(_0x1e7c78[_0x138363(0x453)][_0x3121d9]??_0x3718a8[_0x138363(0x525)](_0xec1117=>_0xec1117['id']===_0x3121d9))&&!0x0;}function Ua(_0x5cc5e6,_0x47e8ea){const _0xace411=_0x282c57;let _0x3630fb=_0x47e8ea?_0x5cc5e6[_0xace411(0x453)][_0x47e8ea]:null;return!!_0x3630fb&&_0x3630fb[_0xace411(0x4aa)]===_0x239099[_0xace411(0x240)]&&_0x3630fb[_0xace411(0x473)]!==!0x0&&_0x3630fb['system']!==!0x0;}function Wa(_0x3a9261,_0x13af8a,_0x1c39e5){const _0x103cfc=_0x282c57;let _0x478465=new Set([...Object['keys'](_0x3a9261['fields']),..._0x13af8a['map'](_0x38d875=>_0x38d875['id'])]),_0x4dac71=_0x103cfc(0x252)+_0x4e27d9(0x8);for(;_0x478465[_0x103cfc(0x25c)](_0x4dac71);)_0x4dac71=_0x103cfc(0x252)+_0x4e27d9(0x8);return{'id':_0x4dac71,'name':ja(_0x3a9261,_0x1c39e5,_0x13af8a),'type':_0x239099[_0x103cfc(0x240)],'config':{...Pa}};}const Ga={'id':_0x282c57(0x3db),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x44a061,_0x7aa45d)=>{const _0x3b9c48=_0x282c57;if(!_0x7aa45d)return!0x1;let _0x44da9c=_0x44a061['get'](_0x54ce33),{unitId:_0x4c1786,tableId:_0x2e0290,view:_0x5eedeb,index:_0x2c1b75}=_0x7aa45d,_0x4f485e=_0x44da9c[_0x3b9c48(0x2ad)](_0x4c1786,_0x335149[_0x3b9c48(0x370)]);if(!_0x4f485e||!$(_0x4f485e,_0x2e0290)||_0x4f485e['getSnapshot']()['tables'][_0x2e0290][_0x3b9c48(0x4f9)][_0x5eedeb['id']])return!0x1;let _0x17c125=_0x44a061[_0x3b9c48(0x268)](_0x2a9a16),_0x5151ae=_0x44a061[_0x3b9c48(0x268)](_0x1f4c86),_0x136b03=_0x4f485e[_0x3b9c48(0x28c)](),_0x45481b=Fa(_0x136b03,_0x2e0290,_0x5eedeb,_0x2c1b75),_0x421f9b=new z()[_0x3b9c48(0x35e)](_0x136b03,_0x45481b),_0x3e3af5={'historyAction':_0x3b9c48(0x37f),'unitId':_0x4c1786,'op':_0x45481b,'viewType':_0x5eedeb[_0x3b9c48(0x4aa)]},_0x48435b={'historyAction':'delete-view','unitId':_0x4c1786,'op':_0x421f9b,'viewType':_0x5eedeb[_0x3b9c48(0x4aa)]};return _0x17c125['syncExecuteCommand'](Q['id'],_0x3e3af5)?(_0x44da9c[_0x3b9c48(0x3ed)](_0x4c1786),_0x5151ae[_0x3b9c48(0x333)]({'unitID':_0x4c1786,'undoMutations':[{'id':Q['id'],'params':_0x48435b}],'redoMutations':[{'id':Q['id'],'params':_0x3e3af5}]}),!0x0):!0x1;}},Ka={'id':_0x282c57(0x318),'type':_0x31b5a7['COMMAND'],'handler'(_0x44a550,_0x3a5359){const _0x2fc5df=_0x282c57;if(!_0x3a5359)return!0x1;let _0x26f5cc=_0x44a550[_0x2fc5df(0x268)](_0x54ce33),{unitId:_0x366445,tableId:_0x10414b,fieldId:_0x30e9a1}=_0x3a5359,_0x435b28=_0x26f5cc['getUnit'](_0x366445,_0x335149['UNIVER_BASE']);if(!_0x435b28)return!0x1;let _0x3ee69f=_0x435b28[_0x2fc5df(0x28c)](),_0x43994a=_0x3ee69f[_0x2fc5df(0x528)][_0x10414b];if(!$(_0x435b28,_0x10414b,{'fieldIds':[_0x30e9a1]})||_0x43994a[_0x2fc5df(0x45c)]===_0x30e9a1||_0x30e9a1===_0x1a2ecc)return!0x1;let _0x315650=_0x44a550[_0x2fc5df(0x268)](_0x2a9a16),_0x201684=_0x44a550['get'](_0x1f4c86),_0x498523=new W()[_0x2fc5df(0x47b)](_0x3ee69f,_0x10414b,_0x30e9a1),_0x1a1e98=new z()['invertOp'](_0x3ee69f,_0x498523),_0x27701b={'unitId':_0x366445,'op':_0x498523},_0x570abf={'unitId':_0x366445,'op':_0x1a1e98};return _0x315650[_0x2fc5df(0x2e5)](Q['id'],_0x27701b)?(_0x26f5cc[_0x2fc5df(0x3ed)](_0x366445),_0x201684[_0x2fc5df(0x333)]({'unitID':_0x366445,'undoMutations':[{'id':Q['id'],'params':_0x570abf}],'redoMutations':[{'id':Q['id'],'params':_0x27701b}]}),!0x0):!0x1;}},qa={'id':'base.command.delete-base-record','type':_0x31b5a7['COMMAND'],'handler':(_0x55da8d,_0x29dbae)=>{const _0x128c50=_0x282c57;if(!_0x29dbae)return!0x1;let _0x257801=_0x55da8d[_0x128c50(0x268)](_0x54ce33),{unitId:_0x296b1b,tableId:_0x1ce1b8,recordId:_0x37f053}=_0x29dbae,_0x4eed74=_0x257801[_0x128c50(0x2ad)](_0x296b1b,_0x335149[_0x128c50(0x370)]);if(!_0x4eed74||!$(_0x4eed74,_0x1ce1b8,{'recordIds':[_0x37f053]}))return!0x1;let _0xb89fb0=_0x55da8d[_0x128c50(0x268)](_0x2a9a16),_0x4b9879=_0x55da8d['get'](_0x1f4c86),_0x151982=_0x4eed74[_0x128c50(0x28c)](),_0x46fcba=et(_0x151982[_0x128c50(0x528)][_0x1ce1b8],[_0x37f053]),_0x543bdc=new W(),_0x415261=new z(),_0x4476e0=_0x543bdc[_0x128c50(0x4fa)](_0x151982,_0x1ce1b8,_0x37f053),_0xdabdec=_0x415261[_0x128c50(0x2e7)](_0x151982,_0x4476e0),_0x2bdd02=_0x543bdc[_0x128c50(0x411)](_0x151982,_0xdabdec,_0x1ce1b8,[_0x37f053]),_0x29d2b3={'unitId':_0x296b1b,'op':_0x4476e0,'hierarchyChanges':_0x46fcba,'source':_0x29dbae[_0x128c50(0x376)]??'ui'},_0x30f173={..._0x29d2b3,'source':_0x128c50(0x324)},_0x182598={'unitId':_0x296b1b,'op':_0x2bdd02,'hierarchyChanges':_0x46fcba['map'](_0x28db7c=>({..._0x28db7c,'oldParentRecordId':_0x28db7c[_0x128c50(0x1fd)],'parentRecordId':_0x28db7c['oldParentRecordId']})),'source':_0x128c50(0x410)};return _0xb89fb0[_0x128c50(0x2e5)](Q['id'],_0x29d2b3)?(_0x257801[_0x128c50(0x3ed)](_0x296b1b),_0x4b9879[_0x128c50(0x333)]({'unitID':_0x296b1b,'undoMutations':[{'id':Q['id'],'params':_0x182598}],'redoMutations':[{'id':Q['id'],'params':_0x30f173}]}),!0x0):!0x1;}},Ja={'id':_0x282c57(0x455),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x5e12a7,_0x4a11fe)=>{const _0x26b2da=_0x282c57;if(!_0x4a11fe)return!0x1;let _0x3db396=_0x5e12a7[_0x26b2da(0x268)](_0x54ce33),{unitId:_0x29c1c7,tableId:_0x238abb}=_0x4a11fe,_0x25486f=_0x3db396[_0x26b2da(0x2ad)](_0x29c1c7,_0x335149['UNIVER_BASE']);if(!_0x25486f||!$(_0x25486f,_0x238abb))return!0x1;let _0xff9cae=_0x5e12a7['get'](_0x2a9a16),_0x34c2eb=_0x5e12a7[_0x26b2da(0x268)](_0x1f4c86),_0xc049a3=_0x25486f[_0x26b2da(0x28c)](),_0x4286d5=He(_0xc049a3,_0x238abb);if(_0x4286d5[_0x26b2da(0x4ab)]>0x0)return console['error'](_0x26b2da(0x43f)+_0x238abb+_0x26b2da(0x3c3)+_0x4286d5[_0x26b2da(0x309)](_0x65927a=>_0x65927a[_0x26b2da(0x45e)]+'.'+_0x65927a[_0x26b2da(0x387)])[_0x26b2da(0x1c0)](',\x20')+'.'),!0x1;let _0x4ea44c=new W()['deleteTable'](_0xc049a3,_0x238abb),_0x5b13d0=new z()[_0x26b2da(0x35e)](_0xc049a3,_0x4ea44c),_0x50d7fe={'unitId':_0x29c1c7,'op':_0x4ea44c},_0x1b3fd9={'unitId':_0x29c1c7,'op':_0x5b13d0};return _0xff9cae[_0x26b2da(0x2e5)](Q['id'],_0x50d7fe)?(_0x3db396[_0x26b2da(0x3ed)](_0x29c1c7),_0x34c2eb[_0x26b2da(0x333)]({'unitID':_0x29c1c7,'undoMutations':[{'id':Q['id'],'params':_0x1b3fd9}],'redoMutations':[{'id':Q['id'],'params':_0x50d7fe}]}),!0x0):!0x1;}},Ya={'id':_0x282c57(0x1fc),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x321918,_0x1745d3)=>{const _0x1b7283=_0x282c57;if(!_0x1745d3)return!0x1;let _0x29ebab=_0x321918['get'](_0x54ce33),{unitId:_0x5bc1be,tableId:_0x253c35,viewId:_0x51d1fc}=_0x1745d3,_0x16393c=_0x29ebab[_0x1b7283(0x2ad)](_0x5bc1be,_0x335149['UNIVER_BASE']);if(!_0x16393c||!$(_0x16393c,_0x253c35,{'viewIds':[_0x51d1fc]}))return!0x1;let _0x45308d=_0x321918['get'](_0x2a9a16),_0x47e74c=_0x321918[_0x1b7283(0x268)](_0x1f4c86),_0x13698a=_0x16393c['getSnapshot'](),_0x3295e9=_0x13698a[_0x1b7283(0x528)][_0x253c35][_0x1b7283(0x4f9)][_0x51d1fc]['type'],_0x8a59c0=new W()[_0x1b7283(0x3fa)](_0x13698a,_0x253c35,_0x51d1fc),_0x236cd2=new z()['invertOp'](_0x13698a,_0x8a59c0),_0xa66b67={'historyAction':_0x1b7283(0x2e3),'unitId':_0x5bc1be,'op':_0x8a59c0,'viewType':_0x3295e9},_0x44c711={'historyAction':_0x1b7283(0x37f),'unitId':_0x5bc1be,'op':_0x236cd2,'viewType':_0x3295e9};return _0x45308d[_0x1b7283(0x2e5)](Q['id'],_0xa66b67)?(_0x29ebab[_0x1b7283(0x3ed)](_0x5bc1be),_0x47e74c['pushUndoRedo']({'unitID':_0x5bc1be,'undoMutations':[{'id':Q['id'],'params':_0x44c711}],'redoMutations':[{'id':Q['id'],'params':_0xa66b67}]}),!0x0):!0x1;}},Xa={'id':_0x282c57(0x3cf),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x1e2131,_0x59030b)=>{const _0x1d13f4=_0x282c57;if(!_0x59030b)return!0x1;let _0x26b90f=_0x1e2131['get'](_0x54ce33),{unitId:_0x541f18,tableId:_0x1beae2,sourceFieldId:_0x2cffb2,field:_0x2830fc,index:_0x507237,viewIndexes:_0x9737b0}=_0x59030b,_0x4edf09=_0x26b90f[_0x1d13f4(0x2ad)](_0x541f18,_0x335149['UNIVER_BASE']);if(!_0x4edf09||!$(_0x4edf09,_0x1beae2,{'fieldIds':[_0x2cffb2]})||_0x2cffb2===_0x1a2ecc||_0x4edf09[_0x1d13f4(0x28c)]()['tables'][_0x1beae2][_0x1d13f4(0x453)][_0x2830fc['id']]||_0x507237===0x0||!ha(_0x4edf09,_0x1beae2,_0x2830fc))return!0x1;let _0x210649=_0x1e2131['get'](_0x2a9a16),_0x2e7131=_0x1e2131[_0x1d13f4(0x268)](_0x1f4c86),_0x18ab64=_0x4edf09[_0x1d13f4(0x28c)](),_0x1a3490=new W()[_0x1d13f4(0x237)](_0x18ab64,_0x1beae2,_0x2cffb2,{'field':_0x2830fc,'index':_0x507237,'viewIndexes':_0x9737b0}),_0x4ad1dc=new z()[_0x1d13f4(0x35e)](_0x18ab64,_0x1a3490),_0x5662cc={'unitId':_0x541f18,'op':_0x1a3490},_0x183342={'unitId':_0x541f18,'op':_0x4ad1dc};return _0x210649['syncExecuteCommand'](Q['id'],_0x5662cc)?(_0x26b90f[_0x1d13f4(0x3ed)](_0x541f18),_0x2e7131[_0x1d13f4(0x333)]({'unitID':_0x541f18,'undoMutations':[{'id':Q['id'],'params':_0x183342}],'redoMutations':[{'id':Q['id'],'params':_0x5662cc}]}),!0x0):!0x1;}},Za={'id':'base.command.duplicate-base-record','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x337c81,_0x170175)=>{const _0x4af0df=_0x282c57;if(!_0x170175)return!0x1;let _0x26a05f=_0x337c81[_0x4af0df(0x268)](_0x54ce33),{unitId:_0x1a831c,tableId:_0x2496e5,sourceRecordId:_0x36f76d,record:_0x61414c}=_0x170175,_0x1abb9e=_0x26a05f[_0x4af0df(0x2ad)](_0x1a831c,_0x335149[_0x4af0df(0x370)]);if(!_0x1abb9e||!$(_0x1abb9e,_0x2496e5,{'recordIds':[_0x36f76d]})||!_a(_0x1abb9e,_0x2496e5,_0x61414c))return!0x1;let _0x55bb22=_0x337c81[_0x4af0df(0x268)](_0x2a9a16),_0x593d28=_0x337c81[_0x4af0df(0x268)](_0x1f4c86),_0x811d8b=_0x1abb9e[_0x4af0df(0x28c)](),_0x3ec303=va(_0x61414c),_0x2671da=Qe(_0x811d8b['tables'][_0x2496e5],[_0x3ec303]),_0x6e133c=new W()[_0x4af0df(0x43e)](_0x811d8b,_0x2496e5,_0x36f76d,_0x3ec303),_0x25b0ba=new z()[_0x4af0df(0x35e)](_0x811d8b,_0x6e133c),_0x2319f4={'unitId':_0x1a831c,'op':_0x6e133c,'hierarchyChanges':_0x2671da[_0x4af0df(0x4ab)]?_0x2671da:void 0x0,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x170175[_0x4af0df(0x376)]??'ui':void 0x0},_0x59a819={..._0x2319f4,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x4af0df(0x324):void 0x0},_0x554acd={'unitId':_0x1a831c,'op':_0x25b0ba,'hierarchyChanges':_0x2671da[_0x4af0df(0x4ab)]?_0x2671da[_0x4af0df(0x309)](_0x1624d2=>({..._0x1624d2,'oldParentRecordId':_0x1624d2['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x4af0df(0x410):void 0x0};return _0x55bb22[_0x4af0df(0x2e5)](Q['id'],_0x2319f4)?(_0x26a05f['focusUnit'](_0x1a831c),_0x593d28[_0x4af0df(0x333)]({'unitID':_0x1a831c,'undoMutations':[{'id':Q['id'],'params':_0x554acd}],'redoMutations':[{'id':Q['id'],'params':_0x59a819}]}),!0x0):!0x1;}},Qa={'id':_0x282c57(0x2a0),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x3d39b8,_0xbcc342){const _0x2ca0a6=_0x282c57;if(!_0xbcc342)return!0x1;let _0x190495=_0x3d39b8[_0x2ca0a6(0x268)](_0x54ce33),{unitId:_0x2a6c69,tableId:_0x4c6031,viewId:_0x585a9b,ensureEndDateField:_0x99480a}=_0xbcc342,_0x2f23b8=_0x190495[_0x2ca0a6(0x2ad)](_0x2a6c69,_0x335149['UNIVER_BASE']);if(!_0x2f23b8||!$(_0x2f23b8,_0x4c6031,{'viewIds':[_0x585a9b]}))return!0x1;let _0x44eaa2=_0x2f23b8[_0x2ca0a6(0x28c)](),_0x4a67d3=_0x44eaa2[_0x2ca0a6(0x528)][_0x4c6031],_0x32f923=_0x4a67d3==null?void 0x0:_0x4a67d3[_0x2ca0a6(0x4f9)][_0x585a9b];if(!_0x4a67d3||!_0x32f923||_0x32f923[_0x2ca0a6(0x4aa)]!==_0x2ca0a6(0x262)&&_0x32f923['type']!==_0x2ca0a6(0x3c0))return!0x1;let _0x390e96=Ia(_0x4a67d3,_0x32f923,_0x99480a===!0x0);if(!_0x390e96[_0x2ca0a6(0x1e5)])return!0x1;let _0xb4bce2=_0x3d39b8[_0x2ca0a6(0x268)](_0x2a9a16),_0x3d52e7=_0x3d39b8[_0x2ca0a6(0x268)](_0x1f4c86),_0x2e031a=new W(),_0xffe8a0=[..._0x390e96[_0x2ca0a6(0x453)]['map'](_0x13886b=>_0x2e031a[_0x2ca0a6(0x212)](_0x44eaa2,_0xbcc342[_0x2ca0a6(0x45e)],{'field':_0x13886b})),$a([...eo(_0xbcc342[_0x2ca0a6(0x45e)],_0xbcc342[_0x2ca0a6(0x44d)]),'config'],_0x32f923[_0x2ca0a6(0x50c)],_0x390e96[_0x2ca0a6(0x50c)])];_0x390e96['fieldOrder']&&_0xffe8a0['push']($a([...eo(_0xbcc342['tableId'],_0xbcc342['viewId']),_0x2ca0a6(0x534)],_0x32f923['fieldOrder'],_0x390e96[_0x2ca0a6(0x534)]));let _0x472b82=R(_0xffe8a0),_0x3a1636=new z()[_0x2ca0a6(0x35e)](_0x44eaa2,_0x472b82),_0x850e6e={'unitId':_0x2a6c69,'op':_0x472b82},_0x3a9484={'unitId':_0x2a6c69,'op':_0x3a1636};return _0xb4bce2[_0x2ca0a6(0x2e5)](Q['id'],_0x850e6e)?(_0x190495[_0x2ca0a6(0x3ed)](_0x2a6c69),_0x3d52e7[_0x2ca0a6(0x333)]({'unitID':_0x2a6c69,'undoMutations':[{'id':Q['id'],'params':_0x3a9484}],'redoMutations':[{'id':Q['id'],'params':_0x850e6e}]}),!0x0):!0x1;}};function $a(_0x2ceba6,_0x4deccb,_0x3a6ea9){const _0x568e48=_0x282c57;return _0x4deccb===void 0x0?_0x2f9032[_0x568e48(0x1d0)](_0x2ceba6,_0x3a6ea9):_0x2f9032[_0x568e48(0x3b0)](_0x2ceba6,_0x4deccb,_0x3a6ea9);}function eo(_0x5d337f,_0x377592){const _0x5c561e=_0x282c57;return[_0x5c561e(0x528),_0x5d337f,_0x5c561e(0x4f9),_0x377592];}const to={'id':'base.command.move-base-field','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x5d1657,_0x1170b7)=>{const _0x397b24=_0x282c57;if(!_0x1170b7)return!0x1;let _0x412984=_0x5d1657['get'](_0x54ce33),{unitId:_0x2a2e07,tableId:_0x3f7635,fieldId:_0x2cd396,target:_0x44b6a0}=_0x1170b7,_0x3e0b82=_0x412984[_0x397b24(0x2ad)](_0x2a2e07,_0x335149[_0x397b24(0x370)]),_0x494bad=_0x44b6a0[_0x397b24(0x21a)]??_0x44b6a0['afterFieldId'];if(!_0x3e0b82||!!_0x44b6a0[_0x397b24(0x21a)]==!!_0x44b6a0[_0x397b24(0x1f0)]||!_0x494bad||_0x494bad===_0x2cd396||_0x2cd396===_0x1a2ecc||_0x44b6a0[_0x397b24(0x21a)]===_0x1a2ecc||!$(_0x3e0b82,_0x3f7635,{'fieldIds':[_0x2cd396,_0x494bad]}))return!0x1;let _0x26a3f2=_0x5d1657[_0x397b24(0x268)](_0x2a9a16),_0xb52aa1=_0x5d1657['get'](_0x1f4c86),_0x3a2308=_0x3e0b82[_0x397b24(0x28c)](),_0x4c70b4=new W()[_0x397b24(0x1cc)](_0x3a2308,_0x3f7635,_0x2cd396,_0x44b6a0),_0x1531eb=new z()['invertOp'](_0x3a2308,_0x4c70b4),_0x51c2c7={'unitId':_0x2a2e07,'op':_0x4c70b4},_0x56683f={'unitId':_0x2a2e07,'op':_0x1531eb};return _0x26a3f2['syncExecuteCommand'](Q['id'],_0x51c2c7)?(_0x412984['focusUnit'](_0x2a2e07),_0xb52aa1[_0x397b24(0x333)]({'unitID':_0x2a2e07,'undoMutations':[{'id':Q['id'],'params':_0x56683f}],'redoMutations':[{'id':Q['id'],'params':_0x51c2c7}]}),!0x0):!0x1;}},no={'id':_0x282c57(0x407),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3bd4a,_0x5941c8)=>{const _0x4448f4=_0x282c57;var _0x4ac557;if(!_0x5941c8)return!0x1;let {unitId:_0x3943d4,tableId:_0x5b4ef6,recordId:_0x5dba18,parentRecordId:_0x38def9,orderKey:_0x3269e2}=_0x5941c8,_0x5293a9=_0x3bd4a[_0x4448f4(0x268)](_0x54ce33),_0x28f840=_0x5293a9[_0x4448f4(0x2ad)](_0x3943d4,_0x335149[_0x4448f4(0x370)]);if(!_0x28f840||!$(_0x28f840,_0x5b4ef6,{'recordIds':[_0x5dba18,..._0x38def9?[_0x38def9]:[]]}))throw new P(_0x4448f4(0x3a2));let _0x7228af=_0x28f840[_0x4448f4(0x28c)](),_0x2af9d1=_0x7228af[_0x4448f4(0x528)][_0x5b4ef6],_0x1ee77b=qe(_0x2af9d1),_0x3b7f10=_0x1ee77b??_0x5941c8['fieldId']??Je(_0x2af9d1);if(_0x1ee77b&&_0x5941c8[_0x4448f4(0x387)]&&_0x5941c8['fieldId']!==_0x1ee77b||_0x2af9d1['fields'][_0x3b7f10]&&!F(_0x2af9d1,_0x3b7f10))throw new P(_0x4448f4(0x38b));let _0x1afbb5=tt(_0x2af9d1,_0x3b7f10),_0xa5f77b=it(_0x1afbb5,_0x5dba18,_0x38def9);if(!_0xa5f77b[_0x4448f4(0x375)])throw new P(_0xa5f77b['reason']===_0x1e9d86[_0x4448f4(0x341)]?_0x4448f4(0x2e8):_0xa5f77b['reason']===_0x1e9d86[_0x4448f4(0x217)]?_0x4448f4(0x45f):_0x4448f4(0x1c4));let _0x27cdca=_0x1afbb5[_0x4448f4(0x39a)]['get'](_0x5dba18)??null,_0x2fdd43=_0x2af9d1['records'][_0x5dba18][_0x4448f4(0x38a)];if(_0x27cdca===_0x38def9&&(_0x3269e2===void 0x0||_0x3269e2===_0x2fdd43))return!0x0;let _0xcf3895=_0x27cdca!==_0x38def9,_0x10ca30=_0x3269e2!==void 0x0&&_0x3269e2!==_0x2fdd43,_0x3573af=new W(),_0x43f636=[],_0x77e7b1=_0x2af9d1[_0x4448f4(0x453)][_0x3b7f10],_0x6bcaff=_0xcf3895&&(!_0x77e7b1||((_0x4ac557=N(_0x77e7b1))==null?void 0x0:_0x4ac557[_0x4448f4(0x1f7)])!==_0x33634f[_0x4448f4(0x19a)])?_0x77e7b1?_0x3573af[_0x4448f4(0x2b0)](_0x7228af,_0x5b4ef6,_0x3b7f10,{'config':{..._0x77e7b1[_0x4448f4(0x50c)],'relationRole':_0x33634f[_0x4448f4(0x19a)]}}):_0x3bd4a[_0x4448f4(0x268)](Kr)['createCreateFieldOp'](_0x28f840,_0x5b4ef6,Ye(_0x2af9d1,_0x3b7f10,_0x5941c8[_0x4448f4(0x31b)]),_0x2af9d1[_0x4448f4(0x534)][_0x4448f4(0x4ab)]):null;_0x6bcaff&&_0x43f636[_0x4448f4(0x381)](_0x6bcaff),_0xcf3895&&_0x43f636[_0x4448f4(0x381)](_0x3573af[_0x4448f4(0x1e3)](_0x7228af,_0x5b4ef6,_0x5dba18,_0x3b7f10,_0x38def9?Re([_0x38def9]):'')),_0x10ca30&&_0x43f636[_0x4448f4(0x381)](_0x3573af[_0x4448f4(0x327)](_0x7228af,_0x5b4ef6,_0x5dba18,_0x3269e2));let _0x1c5dd8=R(_0x43f636),_0x3320cf={'tableId':_0x5b4ef6,'fieldId':_0x3b7f10,'recordId':_0x5dba18,'oldParentRecordId':_0x27cdca,'parentRecordId':_0x38def9},_0x2515a9={'unitId':_0x3943d4,'op':_0x1c5dd8,'trigger':no['id'],'hierarchyChanges':[_0x3320cf],'source':_0x5941c8[_0x4448f4(0x376)]??'ui'},_0x190156={..._0x2515a9,'source':'redo'};if(!_0x3bd4a['get'](_0x2a9a16)['syncExecuteCommand'](Q['id'],_0x2515a9))return!0x1;let _0x56119e=_0x28f840[_0x4448f4(0x28c)](),_0xa1d6d3=[];_0xcf3895&&_0xa1d6d3[_0x4448f4(0x381)](ro(_0x56119e,_0x7228af,_0x5b4ef6,_0x5dba18,_0x3b7f10)),_0x10ca30&&_0xa1d6d3['push'](io(_0x56119e,_0x7228af,_0x5b4ef6,_0x5dba18)),_0x6bcaff&&_0xa1d6d3['push'](new z()['invertOp'](_0x7228af,_0x6bcaff));let _0x1b4dc7={'unitId':_0x3943d4,'op':R(_0xa1d6d3),'trigger':no['id'],'hierarchyChanges':[{..._0x3320cf,'oldParentRecordId':_0x38def9,'parentRecordId':_0x27cdca}],'source':_0x4448f4(0x410)};return _0x5293a9[_0x4448f4(0x3ed)](_0x3943d4),_0x3bd4a[_0x4448f4(0x268)](_0x1f4c86)[_0x4448f4(0x333)]({'unitID':_0x3943d4,'undoMutations':[{'id':Q['id'],'params':_0x1b4dc7}],'redoMutations':[{'id':Q['id'],'params':_0x190156}]}),!0x0;}};function ro(_0xcc560a,_0x56ddb6,_0x2ebe24,_0x2db3f9,_0x1ff051){const _0x591fa6=_0x282c57;var _0x52e400,_0x3bd8d8,_0x17f7d3,_0x599efa,_0x439631,_0x42f269,_0x3b254e,_0x4d409c;let _0x2f17c6=_0xcc560a[_0x591fa6(0x528)][_0x2ebe24],_0x5d6e8d=_0x56ddb6[_0x591fa6(0x528)][_0x2ebe24],_0x59ee5d=(_0x52e400=_0x2f17c6[_0x591fa6(0x277)])==null?void 0x0:_0x52e400[_0x2db3f9],_0x2af0b9=(_0x3bd8d8=_0x2f17c6[_0x591fa6(0x28f)])==null?void 0x0:_0x3bd8d8[_0x1ff051],_0x28a51e=(_0x17f7d3=_0x5d6e8d[_0x591fa6(0x277)])==null?void 0x0:_0x17f7d3[_0x2db3f9],_0x1e458d=(_0x599efa=_0x5d6e8d[_0x591fa6(0x28f)])==null?void 0x0:_0x599efa[_0x1ff051],_0x29da4c=_0x59ee5d==null||_0x2af0b9==null||(_0x439631=_0x2f17c6[_0x591fa6(0x343)])==null||(_0x439631=_0x439631[_0x59ee5d])==null?void 0x0:_0x439631[_0x2af0b9],_0x4bcd11=_0x28a51e==null||_0x1e458d==null||(_0x42f269=_0x5d6e8d[_0x591fa6(0x343)])==null||(_0x42f269=_0x42f269[_0x28a51e])==null?void 0x0:_0x42f269[_0x1e458d],_0x5c4408=(_0x3b254e=_0x2f17c6[_0x591fa6(0x1e1)][_0x2db3f9])==null?void 0x0:_0x3b254e[_0x591fa6(0x54e)][_0x1ff051],_0x282227=(_0x4d409c=_0x5d6e8d[_0x591fa6(0x1e1)][_0x2db3f9])==null?void 0x0:_0x4d409c['values'][_0x1ff051],_0x11ee63=[],_0x2a4db7=ao(_0x59ee5d==null||_0x2af0b9==null?null:U[_0x591fa6(0x343)](_0x2ebe24,_0x59ee5d,_0x2af0b9),_0x29da4c,_0x4bcd11);_0x2a4db7&&_0x11ee63[_0x591fa6(0x381)](_0x2a4db7);let _0xfd050b=ao(U[_0x591fa6(0x1f9)](_0x2ebe24,_0x2db3f9,_0x1ff051),_0x5c4408,_0x282227);return _0xfd050b&&_0x11ee63[_0x591fa6(0x381)](_0xfd050b),R(_0x11ee63);}function io(_0x10f9e7,_0x5660f1,_0x33c395,_0x574df9){const _0x4295d2=_0x282c57;var _0x334bab,_0x29db3c;let _0x2f599b=_0x10f9e7[_0x4295d2(0x528)][_0x33c395],_0x5071d2=_0x5660f1['tables'][_0x33c395];return R([ao([...U['record'](_0x33c395,_0x574df9),_0x4295d2(0x38a)],(_0x334bab=_0x2f599b['records'][_0x574df9])==null?void 0x0:_0x334bab[_0x4295d2(0x38a)],(_0x29db3c=_0x5071d2[_0x4295d2(0x1e1)][_0x574df9])==null?void 0x0:_0x29db3c[_0x4295d2(0x38a)]),ao([...U[_0x4295d2(0x270)](_0x33c395),_0x4295d2(0x413)],_0x2f599b[_0x4295d2(0x413)],_0x5071d2[_0x4295d2(0x413)])][_0x4295d2(0x4cc)](_0x5b26ce=>!!_0x5b26ce));}function ao(_0x2c1cd6,_0x21f734,_0x46bd91){const _0x2dbb02=_0x282c57;if(!_0x2c1cd6||_0x21f734===void 0x0&&_0x46bd91===void 0x0)return null;let _0x354eb9=_0x21604b[_0x2dbb02(0x37d)]();return _0x46bd91===void 0x0?_0x354eb9['removeOp'](_0x2c1cd6,_0x21f734):_0x21f734===void 0x0?_0x354eb9['insertOp'](_0x2c1cd6,_0x46bd91):_0x354eb9['replaceOp'](_0x2c1cd6,_0x21f734,_0x46bd91);}const oo={'id':_0x282c57(0x1d8),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x99f96,_0x18ff94)=>{const _0x18f79c=_0x282c57;if(!_0x18ff94)return!0x1;let _0x20748b=_0x99f96['get'](_0x54ce33),{unitId:_0x37b122,tableId:_0x46a7b3,viewId:_0x238515,target:_0x25bce1}=_0x18ff94,_0x158881=_0x20748b['getUnit'](_0x37b122,_0x335149[_0x18f79c(0x370)]),_0x48089f=_0x25bce1[_0x18f79c(0x454)]??_0x25bce1[_0x18f79c(0x314)];if(!_0x158881||!_0x48089f||_0x48089f===_0x238515||!$(_0x158881,_0x46a7b3,{'viewIds':[_0x238515,_0x48089f]}))return!0x1;let _0x860269=_0x99f96['get'](_0x2a9a16),_0x4c393d=_0x99f96[_0x18f79c(0x268)](_0x1f4c86),_0x49c256=_0x158881[_0x18f79c(0x28c)](),_0x43b664=new W()[_0x18f79c(0x360)](_0x49c256,_0x46a7b3,_0x238515,_0x25bce1),_0x65d7c1=new z()[_0x18f79c(0x35e)](_0x49c256,_0x43b664),_0x5e54b0={'unitId':_0x37b122,'op':_0x43b664},_0x540fea={'unitId':_0x37b122,'op':_0x65d7c1};return _0x860269['syncExecuteCommand'](Q['id'],_0x5e54b0)?(_0x20748b[_0x18f79c(0x3ed)](_0x37b122),_0x4c393d[_0x18f79c(0x333)]({'unitID':_0x37b122,'undoMutations':[{'id':Q['id'],'params':_0x540fea}],'redoMutations':[{'id':Q['id'],'params':_0x5e54b0}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x361c52,_0x5a25ae)=>{const _0x582c22=_0x282c57;if(!_0x5a25ae)return!0x1;let _0x20cb1a=_0x361c52[_0x582c22(0x268)](_0x54ce33),{unitId:_0x55b7ab,tableId:_0x2216ee,name:_0x26bcc9}=_0x5a25ae,_0x5cf22f=_0x20cb1a['getUnit'](_0x55b7ab,_0x335149[_0x582c22(0x370)]);if(!_0x5cf22f||!$(_0x5cf22f,_0x2216ee)||!Oa(_0x5cf22f[_0x582c22(0x28c)](),_0x26bcc9,_0x2216ee)['valid'])return!0x1;let _0x23c0b0=_0x361c52['get'](_0x2a9a16),_0x4086d2=_0x361c52['get'](_0x1f4c86),_0x171e4d=_0x5cf22f['getSnapshot'](),_0x1e1a97=new W()[_0x582c22(0x33e)](_0x171e4d,_0x2216ee,_0x26bcc9),_0x52d826=new z()['invertOp'](_0x171e4d,_0x1e1a97),_0x9b22bf={'unitId':_0x55b7ab,'op':_0x1e1a97},_0x245e41={'unitId':_0x55b7ab,'op':_0x52d826};return _0x23c0b0['syncExecuteCommand'](Q['id'],_0x9b22bf)?(_0x20cb1a[_0x582c22(0x3ed)](_0x55b7ab),_0x4086d2[_0x582c22(0x333)]({'unitID':_0x55b7ab,'undoMutations':[{'id':Q['id'],'params':_0x245e41}],'redoMutations':[{'id':Q['id'],'params':_0x9b22bf}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x4298f7,_0x1913dc)=>{const _0x3cc710=_0x282c57;if(!_0x1913dc)return!0x1;let _0x5dbed2=_0x4298f7[_0x3cc710(0x268)](_0x54ce33),{unitId:_0x1e23f8,tableId:_0x8d2709,viewId:_0x411939,name:_0x33dd55}=_0x1913dc,_0x585f11=_0x5dbed2[_0x3cc710(0x2ad)](_0x1e23f8,_0x335149[_0x3cc710(0x370)]);if(!_0x585f11||!$(_0x585f11,_0x8d2709,{'viewIds':[_0x411939]}))return!0x1;let _0x215502=_0x4298f7[_0x3cc710(0x268)](_0x2a9a16),_0xc84c6b=_0x4298f7[_0x3cc710(0x268)](_0x1f4c86),_0x4275e6=_0x585f11[_0x3cc710(0x28c)](),_0x290b83=new W()['renameView'](_0x4275e6,_0x8d2709,_0x411939,_0x33dd55),_0x27b68=new z()[_0x3cc710(0x35e)](_0x4275e6,_0x290b83),_0x53050d={'unitId':_0x1e23f8,'op':_0x290b83},_0x17038e={'unitId':_0x1e23f8,'op':_0x27b68};return _0x215502[_0x3cc710(0x2e5)](Q['id'],_0x53050d)?(_0x5dbed2[_0x3cc710(0x3ed)](_0x1e23f8),_0xc84c6b[_0x3cc710(0x333)]({'unitID':_0x1e23f8,'undoMutations':[{'id':Q['id'],'params':_0x17038e}],'redoMutations':[{'id':Q['id'],'params':_0x53050d}]}),!0x0):!0x1;}},lo={'id':_0x282c57(0x478),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2171f6,_0x2bbd28)=>{const _0x4432f6=_0x282c57;if(!_0x2bbd28)return!0x1;let _0x84aa6c=_0x2171f6[_0x4432f6(0x268)](_0x54ce33),{unitId:_0xccb813,tableId:_0x3e9391,viewId:_0x4fa843,fieldId:_0x39a429}=_0x2bbd28,_0x4df3fe=_0x84aa6c[_0x4432f6(0x2ad)](_0xccb813,_0x335149['UNIVER_BASE']);if(!_0x4df3fe||!$(_0x4df3fe,_0x3e9391,{'viewIds':[_0x4fa843],'fieldIds':[_0x39a429]}))return!0x1;let _0x4d8177=_0x2171f6[_0x4432f6(0x268)](_0x2a9a16),_0x471bd2=_0x2171f6[_0x4432f6(0x268)](_0x1f4c86),_0x505e06=_0x4df3fe['getSnapshot'](),_0x271f4a=new W()[_0x4432f6(0x393)](_0x505e06,_0x3e9391,_0x4fa843,{'groupFieldId':_0x39a429}),_0x48ab48=new z()['invertOp'](_0x505e06,_0x271f4a),_0x2618ca={'unitId':_0xccb813,'op':_0x271f4a},_0xcbfb1a={'unitId':_0xccb813,'op':_0x48ab48};return _0x4d8177[_0x4432f6(0x2e5)](Q['id'],_0x2618ca)?(_0x84aa6c[_0x4432f6(0x3ed)](_0xccb813),_0x471bd2[_0x4432f6(0x333)]({'unitID':_0xccb813,'undoMutations':[{'id':Q['id'],'params':_0xcbfb1a}],'redoMutations':[{'id':Q['id'],'params':_0x2618ca}]}),!0x0):!0x1;}},uo={'id':'base.command.set-base-name','type':_0x31b5a7['COMMAND'],'handler':(_0x3aa0a4,_0x135194)=>{const _0x1dd386=_0x282c57;if(!_0x135194)return!0x1;let _0x37f84c=_0x3aa0a4[_0x1dd386(0x268)](_0x54ce33),_0x445147=_0x37f84c[_0x1dd386(0x2ad)](_0x135194[_0x1dd386(0x226)],_0x335149['UNIVER_BASE']);if(!_0x445147)return!0x1;let _0x5779f4=_0x445147[_0x1dd386(0x28c)]()[_0x1dd386(0x2f4)];if(_0x5779f4===_0x135194[_0x1dd386(0x2f4)])return!0x0;let _0x3d1a0d=new W(),_0x673063=new z(),_0x27a70e=[],_0x3ba4e9=[],_0x115520=[_0x445147,..._0x37f84c[_0x1dd386(0x1cd)](_0x335149['UNIVER_BASE'])[_0x1dd386(0x4cc)](_0x24ebed=>_0x24ebed['getUnitId']()!==_0x135194[_0x1dd386(0x226)])];for(let _0x198142 of _0x115520){let _0x50f219=_0x198142[_0x1dd386(0x28c)](),_0x9394df=_0x198142===_0x445147?_0x3d1a0d[_0x1dd386(0x20b)](_0x50f219,_0x135194['name']):_0x3d1a0d[_0x1dd386(0x3bd)](_0x50f219,_0x5779f4,_0x135194[_0x1dd386(0x2f4)]);_0x9394df&&(_0x27a70e[_0x1dd386(0x381)]({'id':Q['id'],'params':{'unitId':_0x198142[_0x1dd386(0x1e4)](),'op':_0x9394df,'trigger':uo['id']}}),_0x3ba4e9[_0x1dd386(0x339)]({'id':Q['id'],'params':{'unitId':_0x198142['getUnitId'](),'op':_0x673063['invertOp'](_0x50f219,_0x9394df),'trigger':uo['id']}}));}let _0x15f524=_0x3aa0a4[_0x1dd386(0x268)](_0x2a9a16),_0xad5d55=_0x3aa0a4[_0x1dd386(0x268)](_0x1f4c86),_0x178225=_0xad5d55[_0x1dd386(0x1cf)](_0x135194[_0x1dd386(0x226)]);try{return _0x34a596(_0x27a70e,_0x15f524)[_0x1dd386(0x427)]?(_0x37f84c[_0x1dd386(0x3ed)](_0x135194[_0x1dd386(0x226)]),_0xad5d55[_0x1dd386(0x333)]({'unitID':_0x135194[_0x1dd386(0x226)],'undoMutations':_0x3ba4e9,'redoMutations':_0x27a70e}),!0x0):!0x1;}finally{_0x178225[_0x1dd386(0x27a)]();}}},fo={'type':_0x31b5a7[_0x282c57(0x401)],'id':'base.command.set-permission',async 'handler'(_0x5af0ef,_0x5dd191){const _0x5a1774=_0x282c57;if(!_0x5dd191||!Tr[_0x5a1774(0x3df)](_0x5dd191[_0x5a1774(0x1ce)])||_0x5dd191[_0x5a1774(0x223)]!==_0x5dd191[_0x5a1774(0x226)]&&_0x5dd191[_0x5a1774(0x1ce)]!==_0x133e41[_0x5a1774(0x4a6)]||_0x5dd191['policy']&&(![_0x5a1774(0x207),_0x5a1774(0x355),_0x5a1774(0x38e)][_0x5a1774(0x3df)](_0x5dd191[_0x5a1774(0x1a8)][_0x5a1774(0x301)])||_0x5dd191[_0x5a1774(0x1a8)][_0x5a1774(0x4a1)][_0x5a1774(0x436)](_0x4e8935=>!Tr['includes'](_0x4e8935['action'])||_0x5dd191[_0x5a1774(0x223)]!==_0x5dd191[_0x5a1774(0x226)]&&_0x4e8935[_0x5a1774(0x1ce)]!==_0x133e41[_0x5a1774(0x4a6)])))return!0x1;let _0x2395b7=Pr(_0x5dd191[_0x5a1774(0x226)],_0x5dd191['objectId'],_0x5dd191[_0x5a1774(0x1ce)]),_0x8bfcc6={'unitId':_0x5dd191[_0x5a1774(0x226)],'objectId':_0x5dd191[_0x5a1774(0x223)],'objectType':_0x2395b7['type']},_0x460c9d=_0x5af0ef['get'](_0x532322);return _0x5dd191[_0x5a1774(0x49c)]?await _0x460c9d['remove'](_0x8bfcc6):_0x5dd191[_0x5a1774(0x1a8)]?await _0x460c9d[_0x5a1774(0x310)](_0x8bfcc6,_0x5dd191[_0x5a1774(0x1a8)]):await _0x460c9d['setPoint'](_0x8bfcc6,_0x2395b7,_0x5dd191[_0x5a1774(0x373)]),!0x0;}},po={'type':_0x31b5a7[_0x282c57(0x401)],'id':_0x282c57(0x34f),async 'handler'(_0x56e09c,_0xad89f5){const _0x40c5fa=_0x282c57;if(!(_0xad89f5!=null&&_0xad89f5['unitId'])||!Array[_0x40c5fa(0x3d5)](_0xad89f5[_0x40c5fa(0x24e)])||!_0xad89f5['changes']['length']||_0xad89f5['changes'][_0x40c5fa(0x436)](_0x5c9d55=>!(_0x5c9d55!=null&&_0x5c9d55[_0x40c5fa(0x223)])||_0x5c9d55[_0x40c5fa(0x223)]===_0xad89f5[_0x40c5fa(0x226)]||_0x5c9d55[_0x40c5fa(0x1a8)]!==null&&(!_0x5c9d55['policy']||![_0x40c5fa(0x207),_0x40c5fa(0x355),'members'][_0x40c5fa(0x3df)](_0x5c9d55['policy']['edit'])||!Array[_0x40c5fa(0x3d5)](_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4e8)])||!Array[_0x40c5fa(0x3d5)](_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4a1)])||_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4a1)]['some'](_0x1d5af8=>_0x1d5af8['action']!==_0x133e41[_0x40c5fa(0x4a6)]))))throw Error(_0x40c5fa(0x1dc));return _0x56e09c[_0x40c5fa(0x268)](_0x532322)['saveMany'](_0xad89f5[_0x40c5fa(0x24e)][_0x40c5fa(0x309)](_0x1f4246=>{const _0x582419=_0x40c5fa;let _0x5c3c19=Pr(_0xad89f5[_0x582419(0x226)],_0x1f4246[_0x582419(0x223)],_0x133e41[_0x582419(0x4a6)]);return{'unitId':_0xad89f5['unitId'],'objectId':_0x1f4246[_0x582419(0x223)],'objectType':_0x5c3c19['type'],'policy':_0x1f4246[_0x582419(0x1a8)]};}));}};function mo(_0x577973,_0x38fdfd){const _0x56035d=_0x282c57;let _0x3398bf=L(_0xd92214[_0x56035d(0x4d7)](_0x577973)),_0x449d22=new Map();return _0x38fdfd[_0x56035d(0x34b)](_0x445a78=>{const _0x35dde8=_0x56035d;var _0x3baa59,_0x59d079;let _0x26ce58=_0x35dde8(0x40d)in _0x445a78?_0x445a78['recordId']:(_0x3baa59=_0x3398bf['rowId'])==null?void 0x0:_0x3baa59[_0x445a78[_0x35dde8(0x2f0)]],_0x3b9510=_0x35dde8(0x387)in _0x445a78?_0x445a78[_0x35dde8(0x387)]:(_0x59d079=_0x3398bf['colId'])==null?void 0x0:_0x59d079[_0x445a78[_0x35dde8(0x340)]],_0x1f8899=_0x3b9510?_0x3398bf[_0x35dde8(0x453)][_0x3b9510]:void 0x0;if(!_0x26ce58||!_0x3b9510||!_0x1f8899||!_0x3398bf[_0x35dde8(0x1e1)][_0x26ce58])return;let _0xda1bd7=xt(_0x445a78[_0x35dde8(0x373)],_0x1f8899),_0x4e5043=wt(_0x445a78[_0x35dde8(0x373)],_0xda1bd7,_0x1f8899,_0x3398bf,_0x26ce58),_0x469e42=_0x449d22[_0x35dde8(0x268)](_0x26ce58)??{};_0x469e42[_0x3b9510]=_0x4e5043,_0x449d22[_0x35dde8(0x246)](_0x26ce58,_0x469e42);}),[..._0x449d22][_0x56035d(0x309)](([_0x281e07,_0x3f41de])=>({'recordId':_0x281e07,'values':_0x3f41de}));}const ho={'id':_0x282c57(0x220),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x1c1902,_0x5f3643){const _0x26652f=_0x282c57;if(!_0x5f3643)return!0x1;let _0x2d2e5c=_0x1c1902[_0x26652f(0x268)](_0x54ce33),{unitId:_0x49a650,tableId:_0x2f78b0,patches:_0xc1b84d}=_0x5f3643,_0x5160f4=_0x2d2e5c[_0x26652f(0x2ad)](_0x49a650,_0x335149['UNIVER_BASE']);if(!_0x5160f4||!$(_0x5160f4,_0x2f78b0))return!0x1;let _0x5759ad=_0x1c1902[_0x26652f(0x268)](_0x2a9a16),_0x4db9a3=_0x1c1902[_0x26652f(0x268)](_0x1f4c86),_0x3959eb=_0x5160f4[_0x26652f(0x28c)](),_0x3719e4=L(_0x3959eb['tables'][_0x2f78b0]),_0x4f0223=_0xc1b84d[_0x26652f(0x309)](_0x275cb9=>{const _0x4d008e=_0x26652f;var _0x4b13cd;return _0x4d008e(0x40d)in _0x275cb9?_0x275cb9[_0x4d008e(0x40d)]:(_0x4b13cd=_0x3719e4['rowId'])==null?void 0x0:_0x4b13cd[_0x275cb9[_0x4d008e(0x2f0)]];})['filter'](_0x5c2c34=>_0x5c2c34!=null),_0x3cd4f4=_0xc1b84d[_0x26652f(0x309)](_0x55f56d=>{const _0x3e6655=_0x26652f;var _0x5692af;return _0x3e6655(0x387)in _0x55f56d?_0x55f56d['fieldId']:(_0x5692af=_0x3719e4['colId'])==null?void 0x0:_0x5692af[_0x55f56d[_0x3e6655(0x340)]];})[_0x26652f(0x4cc)](_0x4834f7=>_0x4834f7!=null);if(_0x4f0223[_0x26652f(0x4ab)]!==_0xc1b84d[_0x26652f(0x4ab)]||_0x3cd4f4[_0x26652f(0x4ab)]!==_0xc1b84d[_0x26652f(0x4ab)]||!$(_0x5160f4,_0x2f78b0,{'recordIds':_0x4f0223,'fieldIds':_0x3cd4f4})||_0xc1b84d[_0x26652f(0x436)]((_0x3202b8,_0x178f9e)=>!ga(_0x5160f4,_0x2f78b0,_0x3cd4f4[_0x178f9e],_0x3202b8[_0x26652f(0x373)])))return!0x1;let _0x1085cc=Ze(_0x3719e4,mo(_0x3719e4,_0xc1b84d)),_0xa8bda9=_0xc1b84d['flatMap'](_0x5b5d11=>{const _0x471ff5=_0x26652f;var _0xfa410,_0x123c27;if('row'in _0x5b5d11)return[_0x5b5d11];let _0xd1c22f=(_0xfa410=_0x3719e4[_0x471ff5(0x277)])==null?void 0x0:_0xfa410[_0x5b5d11['recordId']],_0x396791=(_0x123c27=_0x3719e4[_0x471ff5(0x28f)])==null?void 0x0:_0x123c27[_0x5b5d11[_0x471ff5(0x387)]];return _0xd1c22f==null||_0x396791==null?[]:[{'row':_0xd1c22f,'col':_0x396791,'value':_0x5b5d11['value']}];}),_0x415170=new W()[_0x26652f(0x30b)](_0x3959eb,_0x2f78b0,_0xa8bda9),_0x41a56e=new z()['invertOp'](_0x3959eb,_0x415170),_0x461b77={'unitId':_0x49a650,'op':_0x415170,'trigger':_0x1085cc[_0x26652f(0x4ab)]?ho['id']:void 0x0,'hierarchyChanges':_0x1085cc['length']?_0x1085cc:void 0x0,'source':_0x1085cc[_0x26652f(0x4ab)]?_0x26652f(0x324):void 0x0},_0x1ff4e2={'unitId':_0x49a650,'op':_0x41a56e,'trigger':_0x1085cc[_0x26652f(0x4ab)]?ho['id']:void 0x0,'hierarchyChanges':_0x1085cc[_0x26652f(0x4ab)]?_0x1085cc[_0x26652f(0x309)](_0xf66974=>({..._0xf66974,'oldParentRecordId':_0xf66974[_0x26652f(0x1fd)],'parentRecordId':_0xf66974[_0x26652f(0x1fb)]})):void 0x0,'source':_0x1085cc[_0x26652f(0x4ab)]?'undo':void 0x0},_0x5f5159={..._0x461b77,'source':_0x1085cc[_0x26652f(0x4ab)]?_0x5f3643['source']??'ui':void 0x0};return _0x5759ad['syncExecuteCommand'](Q['id'],_0x5f5159)?(_0x2d2e5c['focusUnit'](_0x49a650),_0x4db9a3[_0x26652f(0x333)]({'unitID':_0x49a650,'undoMutations':[{'id':Q['id'],'params':_0x1ff4e2}],'redoMutations':[{'id':Q['id'],'params':_0x461b77}]}),!0x0):!0x1;}},go={'id':_0x282c57(0x418),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x347b5b,_0x37d762){const _0x2e617f=_0x282c57;if(!_0x37d762)return!0x1;let _0x2887d5=_0x347b5b[_0x2e617f(0x268)](_0x54ce33),{unitId:_0x47a5e7,tableId:_0x3e698c,patches:_0x478566}=_0x37d762,_0x4d941c=_0x2887d5[_0x2e617f(0x2ad)](_0x47a5e7,_0x335149[_0x2e617f(0x370)]),_0x2774a7=_0x478566['map'](_0x308e82=>_0x308e82[_0x2e617f(0x40d)]),_0x472d65=_0x478566[_0x2e617f(0x26a)](_0x1cbad5=>Object[_0x2e617f(0x334)](_0x1cbad5[_0x2e617f(0x54e)]));if(!_0x4d941c||!$(_0x4d941c,_0x3e698c,{'recordIds':_0x2774a7,'fieldIds':_0x472d65})||_0x478566[_0x2e617f(0x436)](_0x428b9f=>Object['entries'](_0x428b9f[_0x2e617f(0x54e)])[_0x2e617f(0x436)](([_0x1891e1,_0xd8d187])=>!ga(_0x4d941c,_0x3e698c,_0x1891e1,_0xd8d187))))return!0x1;let _0x4264d3=Ze(_0x4d941c[_0x2e617f(0x28c)]()[_0x2e617f(0x528)][_0x3e698c],_0x478566),_0x4374fd=_0x347b5b[_0x2e617f(0x268)](_0x2a9a16),_0x24ca31=_0x347b5b[_0x2e617f(0x268)](_0x1f4c86),_0x514a4a=_0x347b5b[_0x2e617f(0x268)](Kr)[_0x2e617f(0x19f)](_0x4d941c,_0x3e698c,_0x478566),_0x5dafdf=new z()[_0x2e617f(0x35e)](_0x4d941c[_0x2e617f(0x28c)](),_0x514a4a),_0x3f9819={'unitId':_0x47a5e7,'op':_0x514a4a,'trigger':_0x4264d3[_0x2e617f(0x4ab)]?go['id']:void 0x0,'hierarchyChanges':_0x4264d3['length']?_0x4264d3:void 0x0,'source':_0x4264d3[_0x2e617f(0x4ab)]?_0x37d762['source']??'ui':void 0x0},_0x2f50e1={..._0x3f9819,'source':_0x4264d3[_0x2e617f(0x4ab)]?_0x2e617f(0x324):void 0x0},_0x17b133={'unitId':_0x47a5e7,'op':_0x5dafdf,'trigger':_0x4264d3['length']?go['id']:void 0x0,'hierarchyChanges':_0x4264d3[_0x2e617f(0x4ab)]?_0x4264d3[_0x2e617f(0x309)](_0x56395b=>({..._0x56395b,'oldParentRecordId':_0x56395b['parentRecordId'],'parentRecordId':_0x56395b[_0x2e617f(0x1fb)]})):void 0x0,'source':_0x4264d3[_0x2e617f(0x4ab)]?'undo':void 0x0};return _0x4374fd[_0x2e617f(0x2e5)](Q['id'],_0x3f9819)?(_0x2887d5[_0x2e617f(0x3ed)](_0x47a5e7),_0x24ca31[_0x2e617f(0x333)]({'unitID':_0x47a5e7,'undoMutations':[{'id':Q['id'],'params':_0x17b133}],'redoMutations':[{'id':Q['id'],'params':_0x2f50e1}]}),!0x0):!0x1;}},_o={'id':'base.command.set-base-table-hierarchy-field','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x194eb1,_0x3ccfdf)=>{const _0x3dd86b=_0x282c57;if(!_0x3ccfdf)return!0x1;let {unitId:_0x48710b,tableId:_0x2830d9,fieldId:_0x100356}=_0x3ccfdf,_0x1166b0=_0x194eb1[_0x3dd86b(0x268)](_0x54ce33),_0x519965=_0x1166b0[_0x3dd86b(0x2ad)](_0x48710b,_0x335149[_0x3dd86b(0x370)]);if(!_0x519965||!$(_0x519965,_0x2830d9))return!0x1;let _0x20e11f=_0x519965[_0x3dd86b(0x28c)](),_0x29e6cb=_0x20e11f[_0x3dd86b(0x528)][_0x2830d9];if(_0x100356!==null&&!F(_0x29e6cb,_0x100356))throw new P(_0x3dd86b(0x38b));if(qe(_0x29e6cb)===_0x100356)return!0x0;let _0x5ba5c4=new W(),_0x2a88ab=R(Object[_0x3dd86b(0x54e)](_0x29e6cb[_0x3dd86b(0x453)])[_0x3dd86b(0x26a)](_0x32f06f=>{const _0xfd029d=_0x3dd86b;if(!F(_0x29e6cb,_0x32f06f['id']))return[];let _0x3b45c7=N(_0x32f06f);if(!_0x3b45c7)return[];let _0x2771cd=_0x32f06f['id']===_0x100356;if(_0x3b45c7['relationRole']===_0x33634f['Parent']===_0x2771cd)return[];let _0x314528={..._0x32f06f[_0xfd029d(0x50c)],'targetTableId':_0x3b45c7[_0xfd029d(0x3e5)],'multiple':_0x3b45c7[_0xfd029d(0x3ea)]};return _0x2771cd?_0x314528[_0xfd029d(0x1f7)]=_0x33634f[_0xfd029d(0x19a)]:delete _0x314528['relationRole'],[_0x5ba5c4[_0xfd029d(0x2b0)](_0x20e11f,_0x2830d9,_0x32f06f['id'],{'config':_0x314528})];})),_0x58d5c9=new z()[_0x3dd86b(0x35e)](_0x20e11f,_0x2a88ab),_0x5dc2c2={'unitId':_0x48710b,'op':_0x2a88ab},_0x362a9c={'unitId':_0x48710b,'op':_0x58d5c9};return _0x194eb1[_0x3dd86b(0x268)](_0x2a9a16)[_0x3dd86b(0x2e5)](Q['id'],_0x5dc2c2)?(_0x1166b0[_0x3dd86b(0x3ed)](_0x48710b),_0x194eb1[_0x3dd86b(0x268)](_0x1f4c86)['pushUndoRedo']({'unitID':_0x48710b,'undoMutations':[{'id':Q['id'],'params':_0x362a9c}],'redoMutations':[{'id':Q['id'],'params':_0x5dc2c2}]}),!0x0):!0x1;}},vo={'id':_0x282c57(0x371),'type':_0x31b5a7['COMMAND'],'handler':(_0x24f89d,_0x37bdd8)=>{const _0xc51f3b=_0x282c57;if(!_0x37bdd8)return!0x1;let _0x40a5f1=_0x24f89d[_0xc51f3b(0x268)](_0x54ce33),{unitId:_0x212e91,tableId:_0x552b09,viewId:_0x21846c,fieldId:_0x53ec84,target:_0x235f27}=_0x37bdd8,_0x258e59=_0x40a5f1['getUnit'](_0x212e91,_0x335149[_0xc51f3b(0x370)]),_0x2a4804=_0x235f27[_0xc51f3b(0x21a)]??_0x235f27['afterFieldId'];if(!_0x258e59||!_0x2a4804||_0x2a4804===_0x53ec84||!$(_0x258e59,_0x552b09,{'viewIds':[_0x21846c],'fieldIds':[_0x53ec84,_0x2a4804]}))return!0x1;let _0x1218ad=_0x258e59[_0xc51f3b(0x28c)]()[_0xc51f3b(0x528)][_0x552b09],_0x33d94d=_0x1218ad[_0xc51f3b(0x453)][_0x53ec84],_0x38d213=_0x1218ad[_0xc51f3b(0x453)][_0x2a4804];if(_0x33d94d[_0xc51f3b(0x43c)]===!0x0||_0x33d94d[_0xc51f3b(0x4aa)]===_0x239099['RecordId']||_0x38d213[_0xc51f3b(0x43c)]===!0x0||_0x38d213[_0xc51f3b(0x4aa)]===_0x239099['RecordId'])return!0x1;let _0x45e465=_0x24f89d[_0xc51f3b(0x268)](_0x2a9a16),_0x2e647a=_0x24f89d[_0xc51f3b(0x268)](_0x1f4c86),_0x48d437=_0x258e59['getSnapshot'](),_0x30c8c7=new W()[_0xc51f3b(0x2af)](_0x48d437,_0x552b09,_0x21846c,_0x53ec84,_0x235f27),_0x54814f=new z()[_0xc51f3b(0x35e)](_0x48d437,_0x30c8c7),_0x2b6325={'unitId':_0x212e91,'op':_0x30c8c7},_0xb86344={'unitId':_0x212e91,'op':_0x54814f};return _0x45e465[_0xc51f3b(0x2e5)](Q['id'],_0x2b6325)?(_0x40a5f1[_0xc51f3b(0x3ed)](_0x212e91),_0x2e647a[_0xc51f3b(0x333)]({'unitID':_0x212e91,'undoMutations':[{'id':Q['id'],'params':_0xb86344}],'redoMutations':[{'id':Q['id'],'params':_0x2b6325}]}),!0x0):!0x1;}},yo={'id':_0x282c57(0x4c2),'type':_0x31b5a7['COMMAND'],'handler'(_0x5aed3b,_0x33e74c){const _0x32b4d5=_0x282c57;if(!_0x33e74c)return!0x1;let _0x2c25c9=_0x5aed3b[_0x32b4d5(0x268)](_0x54ce33),{unitId:_0x394ece,tableId:_0x291fc6,viewId:_0x3f828f,fieldId:_0x1073cf,visible:_0x656ab1}=_0x33e74c,_0x49d99b=_0x2c25c9[_0x32b4d5(0x2ad)](_0x394ece,_0x335149[_0x32b4d5(0x370)]);if(!_0x49d99b||!$(_0x49d99b,_0x291fc6,{'viewIds':[_0x3f828f],'fieldIds':[_0x1073cf]}))return!0x1;let _0x368f0e=_0x49d99b[_0x32b4d5(0x28c)]()['tables'][_0x291fc6][_0x32b4d5(0x453)][_0x1073cf];if(_0x368f0e[_0x32b4d5(0x43c)]===!0x0||_0x368f0e[_0x32b4d5(0x4aa)]===_0x239099[_0x32b4d5(0x205)])return!0x1;let _0x47bb01=_0x5aed3b[_0x32b4d5(0x268)](_0x2a9a16),_0x5383c2=_0x5aed3b['get'](_0x1f4c86),_0x543313=_0x49d99b[_0x32b4d5(0x28c)](),_0xd93a28=new W()[_0x32b4d5(0x353)](_0x543313,_0x291fc6,_0x3f828f,_0x1073cf,_0x656ab1),_0x1b0042=new z()[_0x32b4d5(0x35e)](_0x543313,_0xd93a28),_0x1ce096={'unitId':_0x394ece,'op':_0xd93a28},_0x57bef9={'unitId':_0x394ece,'op':_0x1b0042};return _0x47bb01[_0x32b4d5(0x2e5)](Q['id'],_0x1ce096)?(_0x2c25c9[_0x32b4d5(0x3ed)](_0x394ece),_0x5383c2[_0x32b4d5(0x333)]({'unitID':_0x394ece,'undoMutations':[{'id':Q['id'],'params':_0x57bef9}],'redoMutations':[{'id':Q['id'],'params':_0x1ce096}]}),!0x0):!0x1;}},bo={'id':_0x282c57(0x52a),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3fa1d5,_0x26548c)=>{const _0x22bc8b=_0x282c57;if(!_0x26548c)return!0x1;let _0x5b1819=_0x3fa1d5['get'](_0x54ce33),{unitId:_0x166a7c,tableId:_0x4c71b4,viewId:_0x2525f8,fieldId:_0x328ddb,width:_0x5d7f8b}=_0x26548c,_0xdba627=_0x5b1819['getUnit'](_0x166a7c,_0x335149[_0x22bc8b(0x370)]);if(!_0xdba627||!$(_0xdba627,_0x4c71b4,{'viewIds':[_0x2525f8],'fieldIds':[_0x328ddb]}))return!0x1;let _0x17f6a1=_0xdba627[_0x22bc8b(0x28c)]()['tables'][_0x4c71b4][_0x22bc8b(0x453)][_0x328ddb];if(_0x17f6a1[_0x22bc8b(0x43c)]===!0x0||_0x17f6a1['type']===_0x239099[_0x22bc8b(0x205)])return!0x1;let _0x19cc32=_0x3fa1d5['get'](_0x2a9a16),_0x1f91bb=_0x3fa1d5[_0x22bc8b(0x268)](_0x1f4c86),_0x16ab7d=_0xdba627[_0x22bc8b(0x28c)](),_0x297a29=new W()[_0x22bc8b(0x229)](_0x16ab7d,_0x4c71b4,_0x2525f8,_0x328ddb,_0x5d7f8b),_0x2be264=new z()['invertOp'](_0x16ab7d,_0x297a29),_0x25fe23={'unitId':_0x166a7c,'op':_0x297a29},_0x29185c={'unitId':_0x166a7c,'op':_0x2be264};return _0x19cc32['syncExecuteCommand'](Q['id'],_0x25fe23)?(_0x5b1819[_0x22bc8b(0x3ed)](_0x166a7c),_0x1f91bb[_0x22bc8b(0x333)]({'unitID':_0x166a7c,'undoMutations':[{'id':Q['id'],'params':_0x29185c}],'redoMutations':[{'id':Q['id'],'params':_0x25fe23}]}),!0x0):!0x1;}},xo={'id':_0x282c57(0x37a),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x28dea8,_0x42cf1e)=>{const _0x42cd51=_0x282c57;if(!_0x42cf1e)return!0x1;let _0x23edc3=_0x28dea8[_0x42cd51(0x268)](_0x54ce33),{unitId:_0xa71404,tableId:_0x24d17a,viewId:_0x271c76,filter:_0x52e127}=_0x42cf1e,_0x35698f=_0x23edc3[_0x42cd51(0x2ad)](_0xa71404,_0x335149[_0x42cd51(0x370)]),_0x2cc4a8=(_0x52e127==null?void 0x0:_0x52e127[_0x42cd51(0x3d8)][_0x42cd51(0x309)](_0x3360c3=>_0x3360c3[_0x42cd51(0x387)]))??[];if(!_0x35698f||!$(_0x35698f,_0x24d17a,{'viewIds':[_0x271c76],'fieldIds':_0x2cc4a8}))return!0x1;let _0x22bfb=_0x28dea8[_0x42cd51(0x268)](_0x2a9a16),_0x1766c7=_0x28dea8['get'](_0x1f4c86),_0x270352=_0x35698f['getSnapshot'](),_0x23f47c=new W()[_0x42cd51(0x296)](_0x270352,_0x24d17a,_0x271c76,_0x52e127),_0x1d9d73=new z()['invertOp'](_0x270352,_0x23f47c),_0x3a3c1e={'unitId':_0xa71404,'op':_0x23f47c},_0x2733c={'unitId':_0xa71404,'op':_0x1d9d73};return _0x22bfb[_0x42cd51(0x2e5)](Q['id'],_0x3a3c1e)?(_0x23edc3[_0x42cd51(0x3ed)](_0xa71404),_0x1766c7['pushUndoRedo']({'unitID':_0xa71404,'undoMutations':[{'id':Q['id'],'params':_0x2733c}],'redoMutations':[{'id':Q['id'],'params':_0x3a3c1e}]}),!0x0):!0x1;}},So={'id':_0x282c57(0x48b),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3a0a74,_0x412d4a)=>{const _0x2204fc=_0x282c57;if(!_0x412d4a)return!0x1;let _0x2a034b=_0x3a0a74[_0x2204fc(0x268)](_0x54ce33),{unitId:_0x4ac9fd,tableId:_0x1961d0,viewId:_0x9cb5db,group:_0x13e4f6}=_0x412d4a,_0x1826ea=_0x2a034b[_0x2204fc(0x2ad)](_0x4ac9fd,_0x335149[_0x2204fc(0x370)]);if(!_0x1826ea||!$(_0x1826ea,_0x1961d0,{'viewIds':[_0x9cb5db],'fieldIds':_0x13e4f6[_0x2204fc(0x309)](_0x35af82=>_0x35af82[_0x2204fc(0x387)])}))return!0x1;let _0x2c6822=_0x3a0a74['get'](_0x2a9a16),_0x5199f6=_0x3a0a74[_0x2204fc(0x268)](_0x1f4c86),_0x59b1a8=_0x1826ea[_0x2204fc(0x28c)](),_0x26c1f2=new W()[_0x2204fc(0x1f2)](_0x59b1a8,_0x1961d0,_0x9cb5db,_0x13e4f6),_0x49d57e=new z()[_0x2204fc(0x35e)](_0x59b1a8,_0x26c1f2),_0x5a9c64={'unitId':_0x4ac9fd,'op':_0x26c1f2},_0x3a9613={'unitId':_0x4ac9fd,'op':_0x49d57e};return _0x2c6822['syncExecuteCommand'](Q['id'],_0x5a9c64)?(_0x2a034b[_0x2204fc(0x3ed)](_0x4ac9fd),_0x5199f6[_0x2204fc(0x333)]({'unitID':_0x4ac9fd,'undoMutations':[{'id':Q['id'],'params':_0x3a9613}],'redoMutations':[{'id':Q['id'],'params':_0x5a9c64}]}),!0x0):!0x1;}},Co={'id':_0x282c57(0x555),'type':_0x31b5a7['COMMAND'],'handler':(_0x139dba,_0x46c48b)=>{const _0xf5a1ea=_0x282c57;if(!_0x46c48b)return!0x1;let _0x19c0d2=_0x139dba['get'](_0x54ce33),{unitId:_0x52cc01,tableId:_0xe54a,viewId:_0xb3da7b,sort:_0x2954bf}=_0x46c48b,_0x1c1873=_0x19c0d2[_0xf5a1ea(0x2ad)](_0x52cc01,_0x335149[_0xf5a1ea(0x370)]);if(!_0x1c1873||!$(_0x1c1873,_0xe54a,{'viewIds':[_0xb3da7b],'fieldIds':_0x2954bf[_0xf5a1ea(0x309)](_0x389b01=>_0x389b01[_0xf5a1ea(0x387)])}))return!0x1;let _0x24d001=_0x139dba[_0xf5a1ea(0x268)](_0x2a9a16),_0x34ba5a=_0x139dba['get'](_0x1f4c86),_0x1956bd=_0x1c1873[_0xf5a1ea(0x28c)](),_0x49bd19=new W()[_0xf5a1ea(0x36b)](_0x1956bd,_0xe54a,_0xb3da7b,_0x2954bf),_0x157e44=new z()[_0xf5a1ea(0x35e)](_0x1956bd,_0x49bd19),_0x3d981d={'unitId':_0x52cc01,'op':_0x49bd19},_0xdcf38b={'unitId':_0x52cc01,'op':_0x157e44};return _0x24d001['syncExecuteCommand'](Q['id'],_0x3d981d)?(_0x19c0d2[_0xf5a1ea(0x3ed)](_0x52cc01),_0x34ba5a[_0xf5a1ea(0x333)]({'unitID':_0x52cc01,'undoMutations':[{'id':Q['id'],'params':_0xdcf38b}],'redoMutations':[{'id':Q['id'],'params':_0x3d981d}]}),!0x0):!0x1;}},wo={'id':_0x282c57(0x1a2),'type':_0x31b5a7['COMMAND'],'handler'(_0x2eabda,_0x252126){const _0x4fba94=_0x282c57;if(!_0x252126)return!0x1;let _0x42df87=_0x2eabda[_0x4fba94(0x268)](_0x54ce33),{unitId:_0x1e07ae,tableId:_0x46478e,recordId:_0x43d872,fieldId:_0x18730a,value:_0x304488}=_0x252126,_0x3a8e06=_0x42df87[_0x4fba94(0x2ad)](_0x1e07ae,_0x335149[_0x4fba94(0x370)]);if(!_0x3a8e06||!$(_0x3a8e06,_0x46478e,{'recordIds':[_0x43d872],'fieldIds':[_0x18730a]})||!ga(_0x3a8e06,_0x46478e,_0x18730a,_0x304488))return!0x1;let _0x3bf0b1=_0x3a8e06[_0x4fba94(0x28c)]()[_0x4fba94(0x528)][_0x46478e],_0x3beea9=F(_0x3bf0b1,_0x18730a)&&Xe(_0x3bf0b1)[_0x4fba94(0x3df)](_0x18730a),_0x2ba2f7=_0x3beea9?tt(_0x3bf0b1,_0x18730a):null,_0x472d31=(_0x2ba2f7==null?void 0x0:_0x2ba2f7['parentByRecordId'][_0x4fba94(0x268)](_0x43d872))??null,_0x1b8a2e=_0x3beea9?Le(_0x304488)[0x0]??null:null;if(_0x2ba2f7){if(_0x1b8a2e&&!_0x3bf0b1[_0x4fba94(0x1e1)][_0x1b8a2e])throw new P(_0x4fba94(0x3a2));let _0x458774=it(_0x2ba2f7,_0x43d872,_0x1b8a2e);if(!_0x458774[_0x4fba94(0x375)])throw new P(_0x458774[_0x4fba94(0x2cd)]===_0x1e9d86[_0x4fba94(0x341)]?'selfParent':_0x458774[_0x4fba94(0x2cd)]===_0x1e9d86['Cycle']?'cycle':_0x4fba94(0x1c4));}let _0x29d70b=_0x2eabda['get'](_0x2a9a16),_0x55d757=_0x2eabda[_0x4fba94(0x268)](_0x1f4c86),_0x287e2d=_0x2eabda['get'](Kr),_0x3fff1d;try{_0x3fff1d=_0x287e2d[_0x4fba94(0x539)](_0x3a8e06,_0x46478e,_0x43d872,_0x18730a,_0x304488);}catch(_0x362c5f){return console[_0x4fba94(0x1e9)](_0x4fba94(0x29e),_0x362c5f),!0x1;}let _0xd5edc9=new z()[_0x4fba94(0x35e)](_0x3a8e06[_0x4fba94(0x28c)](),_0x3fff1d),_0x1f443c=_0x3beea9&&_0x472d31!==_0x1b8a2e?[{'tableId':_0x46478e,'fieldId':_0x18730a,'recordId':_0x43d872,'oldParentRecordId':_0x472d31,'parentRecordId':_0x1b8a2e}]:void 0x0,_0xe1779c={'unitId':_0x1e07ae,'op':_0x3fff1d,'trigger':_0x1f443c?wo['id']:void 0x0,'hierarchyChanges':_0x1f443c,'source':_0x1f443c?_0x252126['source']??'ui':void 0x0},_0x29d9e0={..._0xe1779c,'source':_0x1f443c?'redo':void 0x0},_0x1d77ea={'unitId':_0x1e07ae,'op':_0xd5edc9,'trigger':_0x1f443c?wo['id']:void 0x0,'hierarchyChanges':_0x1f443c==null?void 0x0:_0x1f443c['map'](_0x204ec7=>({..._0x204ec7,'oldParentRecordId':_0x204ec7[_0x4fba94(0x1fd)],'parentRecordId':_0x204ec7[_0x4fba94(0x1fb)]})),'source':_0x1f443c?_0x4fba94(0x410):void 0x0};return _0x29d70b[_0x4fba94(0x2e5)](Q['id'],_0xe1779c)?(_0x42df87[_0x4fba94(0x3ed)](_0x1e07ae),_0x55d757[_0x4fba94(0x333)]({'unitID':_0x1e07ae,'undoMutations':[{'id':Q['id'],'params':_0x1d77ea}],'redoMutations':[{'id':Q['id'],'params':_0x29d9e0}]}),!0x0):!0x1;}},To={'id':_0x282c57(0x225),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x5b0816,_0x28ffb1){const _0x318825=_0x282c57;if(!_0x28ffb1)return!0x1;let _0x453080=_0x5b0816[_0x318825(0x268)](_0x54ce33),{unitId:_0x41a272,tableId:_0x182523,fieldId:_0x3acdca}=_0x28ffb1,_0x489fe1=_0x453080[_0x318825(0x2ad)](_0x41a272,_0x335149['UNIVER_BASE']);if(!_0x489fe1||!$(_0x489fe1,_0x182523,{'fieldIds':[_0x3acdca]}))return!0x1;let _0x4adb7c=_0x5b0816[_0x318825(0x268)](_0x2a9a16),_0x3c325d=_0x5b0816[_0x318825(0x268)](_0x1f4c86),_0x568ccf=_0x489fe1['getSnapshot'](),_0x11a7a0=_0x28ffb1['description']['trim'](),_0x4ae730=new W()[_0x318825(0x2b0)](_0x568ccf,_0x182523,_0x3acdca,{'description':_0x11a7a0}),_0x5c9189=new z()[_0x318825(0x35e)](_0x489fe1[_0x318825(0x28c)](),_0x4ae730),_0x505c97={'unitId':_0x41a272,'op':_0x4ae730},_0x46b644={'unitId':_0x41a272,'op':_0x5c9189};return _0x4adb7c[_0x318825(0x2e5)](Q['id'],_0x505c97)?(_0x453080[_0x318825(0x3ed)](_0x41a272),_0x3c325d['pushUndoRedo']({'unitID':_0x41a272,'undoMutations':[{'id':Q['id'],'params':_0x46b644}],'redoMutations':[{'id':Q['id'],'params':_0x505c97}]}),!0x0):!0x1;}},Eo={'id':_0x282c57(0x4d2),'type':_0x31b5a7['COMMAND'],'handler':(_0x52839a,_0x4f0302)=>{const _0xfbfe5f=_0x282c57;if(!_0x4f0302)return!0x1;let _0x21fbd5=_0x52839a[_0xfbfe5f(0x268)](_0x54ce33),{unitId:_0x2e80ba,tableId:_0x5e9393,fieldId:_0x4dd202,patch:_0x4115c1}=_0x4f0302,_0x51fa60=_0x21fbd5[_0xfbfe5f(0x2ad)](_0x2e80ba,_0x335149[_0xfbfe5f(0x370)]);if(!_0x51fa60||_0x4dd202===_0x1a2ecc||!$(_0x51fa60,_0x5e9393,{'fieldIds':[_0x4dd202]}))return!0x1;let _0x1df2f6=_0x52839a[_0xfbfe5f(0x268)](_0x2a9a16),_0x4dcf36=_0x52839a[_0xfbfe5f(0x268)](_0x1f4c86),_0x4c8652=_0x51fa60['getSnapshot']();if(!ha(_0x51fa60,_0x5e9393,{..._0x4c8652[_0xfbfe5f(0x528)][_0x5e9393][_0xfbfe5f(0x453)][_0x4dd202],..._0x4115c1}))return!0x1;let _0x26e1c5=new W()[_0xfbfe5f(0x2b0)](_0x4c8652,_0x5e9393,_0x4dd202,_0x4115c1),_0x3c29d5=new z()[_0xfbfe5f(0x35e)](_0x4c8652,_0x26e1c5),_0x53183a={'unitId':_0x2e80ba,'op':_0x26e1c5},_0x34e0fc={'unitId':_0x2e80ba,'op':_0x3c29d5};return _0x1df2f6['syncExecuteCommand'](Q['id'],_0x53183a)?(_0x21fbd5['focusUnit'](_0x2e80ba),_0x4dcf36[_0xfbfe5f(0x333)]({'unitID':_0x2e80ba,'undoMutations':[{'id':Q['id'],'params':_0x34e0fc}],'redoMutations':[{'id':Q['id'],'params':_0x53183a}]}),!0x0):!0x1;}},Do={'id':_0x282c57(0x53d),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x1e12e4,_0x5a8694)=>{const _0xeffc6=_0x282c57;if(!_0x5a8694)return!0x1;let _0x27d9d9=_0x1e12e4[_0xeffc6(0x268)](_0x54ce33),{unitId:_0x125484,tableId:_0x49b993,viewId:_0x53c19a,patch:_0x744074}=_0x5a8694,_0x477030=_0x27d9d9[_0xeffc6(0x2ad)](_0x125484,_0x335149[_0xeffc6(0x370)]);if(!_0x477030||!$(_0x477030,_0x49b993,{'viewIds':[_0x53c19a]}))return!0x1;let _0x2c8cdb=_0x1e12e4[_0xeffc6(0x268)](_0x2a9a16),_0x53f0a1=_0x1e12e4[_0xeffc6(0x268)](_0x1f4c86),_0x51df58=_0x477030[_0xeffc6(0x28c)](),_0x20558a=new W()[_0xeffc6(0x393)](_0x51df58,_0x49b993,_0x53c19a,_0x744074),_0x3860a9=new z()[_0xeffc6(0x35e)](_0x51df58,_0x20558a),_0x488a28={'unitId':_0x125484,'op':_0x20558a},_0x30b010={'unitId':_0x125484,'op':_0x3860a9};return _0x2c8cdb['syncExecuteCommand'](Q['id'],_0x488a28)?(_0x27d9d9['focusUnit'](_0x125484),_0x53f0a1[_0xeffc6(0x333)]({'unitID':_0x125484,'undoMutations':[{'id':Q['id'],'params':_0x30b010}],'redoMutations':[{'id':Q['id'],'params':_0x488a28}]}),!0x0):!0x1;}},Oo={'id':'base.command.update-base-record-order','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x136fc0,_0x547c63)=>{const _0x3d459b=_0x282c57;if(!_0x547c63)return!0x1;let _0x859846=_0x136fc0[_0x3d459b(0x268)](_0x54ce33),{unitId:_0x5e2a1f,tableId:_0x4cdcdc,recordId:_0x3c05cb,orderKey:_0x40803d}=_0x547c63,_0x52a509=_0x859846[_0x3d459b(0x2ad)](_0x5e2a1f,_0x335149[_0x3d459b(0x370)]);if(!_0x52a509||!$(_0x52a509,_0x4cdcdc,{'recordIds':[_0x3c05cb]}))return!0x1;let _0xd3cfe0=_0x136fc0[_0x3d459b(0x268)](_0x2a9a16),_0x572536=_0x136fc0[_0x3d459b(0x268)](_0x1f4c86),_0x4b22fa=_0x52a509[_0x3d459b(0x28c)](),_0x3ec242=new W()[_0x3d459b(0x327)](_0x4b22fa,_0x4cdcdc,_0x3c05cb,_0x40803d),_0x5767b4=new z()['invertOp'](_0x4b22fa,_0x3ec242),_0x5b5f22={'unitId':_0x5e2a1f,'op':_0x3ec242},_0x3cd8a4={'unitId':_0x5e2a1f,'op':_0x5767b4};return _0xd3cfe0['syncExecuteCommand'](Q['id'],_0x5b5f22)?(_0x859846['focusUnit'](_0x5e2a1f),_0x572536[_0x3d459b(0x333)]({'unitID':_0x5e2a1f,'undoMutations':[{'id':Q['id'],'params':_0x3cd8a4}],'redoMutations':[{'id':Q['id'],'params':_0x5b5f22}]}),!0x0):!0x1;}};let ko=function(_0x178ab7){const _0x45bf05=_0x282c57;return _0x178ab7[_0x45bf05(0x32f)]=_0x45bf05(0x246),_0x178ab7[_0x45bf05(0x302)]='add',_0x178ab7[_0x45bf05(0x47c)]='delete',_0x178ab7[_0x45bf05(0x3a8)]=_0x45bf05(0x216),_0x178ab7;}({});const Ao={'id':_0x282c57(0x4e7),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x413f02,_0x21a320)=>{const _0x183f7f=_0x282c57;var _0x1288a4;if(!_0x21a320)return!0x1;let _0x27d14c=_0x413f02[_0x183f7f(0x268)](_0x54ce33),_0x34cde2=_0x27d14c[_0x183f7f(0x2ad)](_0x21a320['unitId'],_0x335149['UNIVER_BASE']);if(!_0x34cde2||!$(_0x34cde2,_0x21a320[_0x183f7f(0x45e)],{'viewIds':[_0x21a320['viewId']]}))return!0x1;let _0x1f99c7=_0x34cde2[_0x183f7f(0x28c)](),_0xdd93b1=_0x1f99c7[_0x183f7f(0x528)][_0x21a320['tableId']],_0xcf5aab=jo(((_0x1288a4=_0xdd93b1[_0x183f7f(0x4f9)][_0x21a320[_0x183f7f(0x44d)]]['config'][_0x183f7f(0x3c8)])==null?void 0x0:_0x1288a4[_0x183f7f(0x1dd)])??[],_0x21a320);if(!_0xcf5aab)return!0x1;Mo(_0xdd93b1,_0xcf5aab);let _0x25fede=new W()[_0x183f7f(0x393)](_0x1f99c7,_0x21a320[_0x183f7f(0x45e)],_0x21a320[_0x183f7f(0x44d)],{'conditionalColoring':_0xcf5aab['length']?{'rules':_0xcf5aab}:null}),_0x4e12f7=new z()[_0x183f7f(0x35e)](_0x1f99c7,_0x25fede),_0x5960c7={'unitId':_0x21a320[_0x183f7f(0x226)],'op':_0x25fede},_0x58b54e={'unitId':_0x21a320[_0x183f7f(0x226)],'op':_0x4e12f7};return _0x413f02[_0x183f7f(0x268)](_0x2a9a16)[_0x183f7f(0x2e5)](Q['id'],_0x5960c7)?(_0x27d14c[_0x183f7f(0x3ed)](_0x21a320[_0x183f7f(0x226)]),_0x413f02[_0x183f7f(0x268)](_0x1f4c86)['pushUndoRedo']({'unitID':_0x21a320[_0x183f7f(0x226)],'undoMutations':[{'id':Q['id'],'params':_0x58b54e}],'redoMutations':[{'id':Q['id'],'params':_0x5960c7}]}),!0x0):!0x1;}};function jo(_0x382c0d,_0x3a09cb){const _0x1bef18=_0x282c57;switch(_0x3a09cb[_0x1bef18(0x4aa)]){case _0x1bef18(0x246):return _0xd92214[_0x1bef18(0x4d7)](_0x3a09cb['rules']);case _0x1bef18(0x551):return[..._0xd92214[_0x1bef18(0x4d7)](_0x382c0d),_0xd92214[_0x1bef18(0x4d7)](_0x3a09cb['rule'])];case'delete':{let _0x2b04c2=_0x382c0d['filter'](_0x53bc64=>_0x53bc64['id']!==_0x3a09cb[_0x1bef18(0x18f)]);return _0x2b04c2[_0x1bef18(0x4ab)]===_0x382c0d['length']?null:_0xd92214[_0x1bef18(0x4d7)](_0x2b04c2);}case _0x1bef18(0x216):return _0x382c0d[_0x1bef18(0x4ab)]?[]:null;}}function Mo(_0x4df9f3,_0x10e0cd){const _0x3c90f4=_0x282c57;if(!Array[_0x3c90f4(0x3d5)](_0x10e0cd))throw TypeError(_0x3c90f4(0x3b4));let _0x38af11=new Set();for(let [_0x568352,_0xb18387]of _0x10e0cd[_0x3c90f4(0x41d)]())Po(_0x4df9f3,_0xb18387,No(_0xb18387,_0x568352,_0x38af11));}function No(_0x12b816,_0x5d0406,_0x2a8a6b){const _0x190e71=_0x282c57;if(!_0x12b816||typeof _0x12b816!=_0x190e71(0x4ba))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x5d0406+_0x190e71(0x3aa));let _0x4214fe=typeof _0x12b816['id']==_0x190e71(0x3e3)&&_0x12b816['id'][_0x190e71(0x24d)]()?'\x22'+_0x12b816['id']+'\x22':_0x190e71(0x402)+_0x5d0406;if(typeof _0x12b816['id']!=_0x190e71(0x3e3)||!_0x12b816['id']['trim']())throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4214fe+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x2a8a6b['has'](_0x12b816['id']))throw Error(_0x190e71(0x2e6)+_0x12b816['id']+'\x22.');_0x2a8a6b[_0x190e71(0x551)](_0x12b816['id']);let _0x3b4ba9=typeof _0x12b816[_0x190e71(0x545)]==_0x190e71(0x3e3)&&_0x12b816[_0x190e71(0x545)][_0x190e71(0x24d)]()?new _0x3af328(_0x12b816[_0x190e71(0x545)]):null;if(!(_0x3b4ba9!=null&&_0x3b4ba9[_0x190e71(0x253)]))throw Error(_0x190e71(0x1e0)+_0x4214fe+_0x190e71(0x3a9));return _0x4214fe;}function Po(_0xf76849,_0x404b69,_0x5eefed){const _0x2ca155=_0x282c57;let _0x3a409b=new Set(Object['values'](_0x26d874)),_0x101d20=new Set(Object[_0x2ca155(0x54e)](_0x5b882d)),_0x655baa=new Set(Object[_0x2ca155(0x54e)](_0x3cc509));if(!_0x3a409b[_0x2ca155(0x25c)](_0x404b69['target']))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x3b5)+String(_0x404b69[_0x2ca155(0x4e1)])+'\x22.');let _0x310abc=typeof _0x404b69['fieldId']=='string'?_0xf76849[_0x2ca155(0x453)][_0x404b69[_0x2ca155(0x387)]]:void 0x0;if(!_0x310abc||_0x310abc[_0x2ca155(0x43c)]===!0x0||_0x310abc[_0x2ca155(0x4aa)]===_0x239099[_0x2ca155(0x205)])throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x294)+String(_0x404b69[_0x2ca155(0x387)])+'\x22.');if(!_0x101d20['has'](_0x404b69[_0x2ca155(0x307)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5eefed+_0x2ca155(0x41a)+String(_0x404b69[_0x2ca155(0x307)])+'\x22.');if(_0x404b69[_0x2ca155(0x51a)]!==void 0x0&&!_0x655baa[_0x2ca155(0x25c)](_0x404b69[_0x2ca155(0x51a)]))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x236)+String(_0x404b69[_0x2ca155(0x51a)])+'\x22.');if(_0x404b69[_0x2ca155(0x4e1)]===_0x26d874[_0x2ca155(0x367)])return;let _0x19a47f=vn(_0x310abc[_0x2ca155(0x4aa)]);if(!_0x19a47f[_0x2ca155(0x3df)](_0x404b69[_0x2ca155(0x307)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5eefed+'\x20cannot\x20use\x20operator\x20\x22'+_0x404b69[_0x2ca155(0x307)]+'\x22\x20with\x20field\x20type\x20\x22'+_0x310abc[_0x2ca155(0x4aa)]+_0x2ca155(0x20d)+_0x19a47f[_0x2ca155(0x1c0)](',\x20')+'.');if(_0x404b69[_0x2ca155(0x51a)]!==void 0x0&&!yn(_0x310abc['type']))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x281));}const Fo={'id':_0x282c57(0x346),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x333a99,_0x207825)=>{const _0x4453c6=_0x282c57;if(!_0x207825)return!0x1;let _0x567415=_0x333a99[_0x4453c6(0x268)](_0x54ce33),{unitId:_0xc38852,tableId:_0x2e5c2d,viewId:_0x4580fb,patch:_0x2837be}=_0x207825,_0x59e56f=_0x567415[_0x4453c6(0x2ad)](_0xc38852,_0x335149[_0x4453c6(0x370)]);if(!_0x59e56f||!$(_0x59e56f,_0x2e5c2d,{'viewIds':[_0x4580fb]}))return!0x1;let _0x18ce76=_0x333a99[_0x4453c6(0x268)](_0x2a9a16),_0x2e3f62=_0x333a99[_0x4453c6(0x268)](_0x1f4c86),_0x52ad4a=_0x59e56f[_0x4453c6(0x28c)](),_0x526c86=new W()[_0x4453c6(0x393)](_0x52ad4a,_0x2e5c2d,_0x4580fb,_0x2837be),_0x3c1577=new z()['invertOp'](_0x52ad4a,_0x526c86),_0x5542d3={'unitId':_0xc38852,'op':_0x526c86},_0x141583={'unitId':_0xc38852,'op':_0x3c1577};return _0x18ce76[_0x4453c6(0x2e5)](Q['id'],_0x5542d3)?(_0x567415[_0x4453c6(0x3ed)](_0xc38852),_0x2e3f62[_0x4453c6(0x333)]({'unitID':_0xc38852,'undoMutations':[{'id':Q['id'],'params':_0x141583}],'redoMutations':[{'id':Q['id'],'params':_0x5542d3}]}),!0x0):!0x1;}},Io={'id':_0x282c57(0x18b),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0xd048,_0x2f28cc){const _0x29a48b=_0x282c57;if(!_0x2f28cc)return{'valid':!0x1,'reason':_0x29a48b(0x2c0)};let _0x2c0962=_0xd048[_0x29a48b(0x268)](_0x54ce33)[_0x29a48b(0x2ad)](_0x2f28cc[_0x29a48b(0x226)],_0x335149['UNIVER_BASE']),_0x3b69e4=_0x2c0962==null?void 0x0:_0x2c0962['getSnapshot'](),_0x161c09=_0x3b69e4==null?void 0x0:_0x3b69e4[_0x29a48b(0x528)][_0x2f28cc[_0x29a48b(0x45e)]];return!_0x3b69e4||!_0x161c09?{'valid':!0x1,'reason':_0x29a48b(0x2c7)}:new Xi()[_0x29a48b(0x30e)](_0x2f28cc[_0x29a48b(0x557)],_0x161c09,{'snapshot':_0x3b69e4});}};let Lo=class extends _0x15cc0a{constructor(_0x29cbbc){const _0x3acdde=_0x282c57;super(_0x29cbbc,_0x3acdde(0x349),_0x335149[_0x3acdde(0x370)],[_0xd2ae12[_0x3acdde(0x29b)],_0xd2ae12[_0x3acdde(0x4e9)],_0xd2ae12[_0x3acdde(0x2d0)],_0xd2ae12[_0x3acdde(0x1ad)],_0xd2ae12[_0x3acdde(0x426)]]);}};Lo=X([Y(0x0,_0x59ae57)],Lo);const Ro={'id':_0x282c57(0x442),'type':_0x31b5a7[_0x282c57(0x1db)],'handler':(_0x19c5c7,_0x38274)=>!_0x38274||!_0x19c5c7[_0x282c57(0x268)](_0x54ce33)[_0x282c57(0x2ad)](_0x38274['unitId'],_0x335149[_0x282c57(0x370)])?!0x1:_0x19c5c7[_0x282c57(0x268)](Lo)[_0x282c57(0x3cc)](_0x38274[_0x282c57(0x226)],_0x38274[_0x282c57(0x244)],_0x38274[_0x282c57(0x223)],_0x38274['rule'])},zo={'id':_0x282c57(0x1f8),'type':_0x31b5a7['MUTATION'],'handler':(_0x1671e0,_0x3c0b42)=>!_0x3c0b42||!_0x1671e0[_0x282c57(0x268)](_0x54ce33)[_0x282c57(0x2ad)](_0x3c0b42[_0x282c57(0x226)],_0x335149[_0x282c57(0x370)])?!0x1:_0x1671e0[_0x282c57(0x268)](Lo)['setRules'](_0x3c0b42[_0x282c57(0x226)],_0x3c0b42[_0x282c57(0x1dd)])};function Bo(_0x2df6f2){const _0x4b799e=_0x282c57;let _0xd65e6c=_0x2df6f2[_0x4b799e(0x42b)]??Date[_0x4b799e(0x42b)](),_0x1dad89=_0x2df6f2[_0x4b799e(0x45c)]??_0x2df6f2['id']+'-field-name',_0x979ebc=_0x2df6f2[_0x4b799e(0x298)]??_0x2df6f2['id']+_0x4b799e(0x200),_0x4cc991=_0x2df6f2['recordCount']??0x0,_0x71710d=_0x5674a9(),_0x1f794d={'id':_0x1dad89,'name':_0x2df6f2[_0x4b799e(0x3fb)]??_0x4b799e(0x2e9),'type':_0x239099['Text'],'config':{'placeholder':_0x4b799e(0x3de)}},_0x322c88={},_0xcfd7ee=[],_0x3d1465={},_0x13967b={},_0x3a1935={};for(let _0x3dcfbb=0x0;_0x3dcfbb<_0x4cc991;_0x3dcfbb++){let _0x496eac=_0x2df6f2['id']+_0x4b799e(0x238)+(_0x3dcfbb+0x1);_0x322c88[_0x496eac]={'id':_0x496eac,'values':{[_0x1a2ecc]:_0x496eac,..._0x2df6f2[_0x4b799e(0x548)]?{[_0x1dad89]:_0x2df6f2[_0x4b799e(0x548)]+'\x20'+(_0x3dcfbb+0x1)}:{}},'orderKey':String(_0x3dcfbb+0x1)['padStart'](0x4,'0'),'createdAt':_0xd65e6c,'updatedAt':_0xd65e6c},_0xcfd7ee[_0x4b799e(0x381)](_0x496eac),_0x3d1465[_0x496eac]=_0x3dcfbb,_0x13967b[_0x3dcfbb]=_0x496eac,_0x3a1935[_0x3dcfbb]={0x0:{'v':_0x496eac,'t':_0x110ba4[_0x4b799e(0x23b)]}},_0x2df6f2[_0x4b799e(0x548)]&&(_0x3a1935[_0x3dcfbb][0x1]={'v':_0x2df6f2[_0x4b799e(0x548)]+'\x20'+(_0x3dcfbb+0x1),'t':_0x110ba4['STRING']});}let _0x41d915={'id':_0x979ebc,'tableId':_0x2df6f2['id'],'name':'Grid','type':_0x1d9104['Grid'],'fieldOrder':[_0x1a2ecc,_0x1dad89],'fieldSettings':{[_0x1a2ecc]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x2df6f2['id'],'name':_0x2df6f2[_0x4b799e(0x2f4)],'primaryFieldId':_0x1dad89,'fieldOrder':[_0x1a2ecc,_0x1dad89],'fields':{[_0x1a2ecc]:_0x71710d,[_0x1dad89]:_0x1f794d},'records':_0x322c88,'recordOrder':_0xcfd7ee,'rowIndex':_0x3d1465,'rowId':_0x13967b,'colIndex':{[_0x1a2ecc]:0x0,[_0x1dad89]:0x1},'colId':{0x0:_0x1a2ecc,0x1:_0x1dad89},'cellData':_0x3a1935,'views':{[_0x979ebc]:_0x41d915},'viewOrder':[_0x979ebc]};}const Vo='UNIVER_EMBED_BASES_TABLE';function Ho(_0x1ffd5d){const _0x373fb0=_0x282c57;let _0x9c3fa7=Bo({'id':_0x1ffd5d['hostAnchorId'],'name':_0x1ffd5d[_0x373fb0(0x2f4)]??_0x1ffd5d[_0x373fb0(0x1e6)],'recordCount':0x0});return{..._0x9c3fa7,'resources':{..._0x9c3fa7[_0x373fb0(0x27b)]??{},[Vo]:Go(_0x1ffd5d)}};}function Uo(_0x26f843){const _0x5efe24=_0x282c57;return{'id':Q['id'],'params':{'unitId':_0x26f843['unitId'],'op':_0x2f9032[_0x5efe24(0x4aa)][_0x5efe24(0x3ad)](_0x2f9032['insertOp'](['tables',_0x26f843['table']['id']],_0x26f843[_0x5efe24(0x270)]),_0x2f9032[_0x5efe24(0x1d0)]([_0x5efe24(0x1ae),_0x26f843['index']??_0x26f843[_0x5efe24(0x4c3)][_0x5efe24(0x1ae)][_0x5efe24(0x4ab)]],_0x26f843[_0x5efe24(0x270)]['id'])),'trigger':'embed-ui'}};}function Wo(_0x409028){const _0x5b36b1=_0x282c57;let _0x13c16f=_0x409028[_0x5b36b1(0x4c3)][_0x5b36b1(0x1ae)][_0x5b36b1(0x1f4)](_0x409028[_0x5b36b1(0x45e)]);if(!(!_0x409028[_0x5b36b1(0x4c3)]['tables'][_0x409028[_0x5b36b1(0x45e)]]||_0x13c16f<0x0))return{'id':Q['id'],'params':{'unitId':_0x409028[_0x5b36b1(0x226)],'op':_0x2f9032[_0x5b36b1(0x4aa)][_0x5b36b1(0x3ad)](_0x2f9032['removeOp'](['tables',_0x409028[_0x5b36b1(0x45e)]],_0x409028[_0x5b36b1(0x4c3)][_0x5b36b1(0x528)][_0x409028[_0x5b36b1(0x45e)]]),_0x2f9032[_0x5b36b1(0x40b)]([_0x5b36b1(0x1ae),_0x13c16f],_0x409028[_0x5b36b1(0x45e)])),'trigger':'embed-ui'}};}function Go(_0x10d3a4){const _0x8ee221=_0x282c57;return{'version':0x1,'embedId':_0x10d3a4[_0x8ee221(0x1e6)],'hostAnchorId':_0x10d3a4[_0x8ee221(0x4db)],'childUnitId':_0x10d3a4['childUnitId'],'childType':_0x10d3a4[_0x8ee221(0x356)]};}function Ko(_0x4e1aac){const _0x4387c3=_0x282c57;let _0x2e2f47=Math[_0x4387c3(0x468)](0x0,Number(_0x4e1aac[_0x4387c3(0x1b3)]??0x0)),_0x14aaa4=_0x4e1aac['useThousands']===!0x1?'0':_0x4387c3(0x2b7),_0x55de91=_0x2e2f47?'.'+'0'[_0x4387c3(0x4ae)](_0x2e2f47):'',_0x247c4b=Jo(_0x4e1aac[_0x4387c3(0x1d9)]);return''+(_0x4e1aac[_0x4387c3(0x26c)]?Yo(_0x4e1aac['currencySymbol']):'')+_0x14aaa4+_0x55de91+_0x247c4b;}function qo(_0xeff048,_0x397f40){const _0x496f1c=_0x282c57;let _0x22474a=Ko(_0x397f40),_0x132530=_0x1ce6f1[_0x496f1c(0x22b)](_0x22474a,_0xeff048,{'throws':!0x1});return Xo(String(_0x132530),_0x397f40[_0x496f1c(0x435)],_0x397f40['locale']);}function Jo(_0x54a5ba){const _0x5d8793=_0x282c57;return _0x54a5ba==='K'?',\x22K\x22':_0x54a5ba==='M'?_0x5d8793(0x3c7):_0x54a5ba==='B'?_0x5d8793(0x481):'';}function Yo(_0x324380){const _0x159750=_0x282c57;return/^[A-Z]+$/i[_0x159750(0x1ef)](_0x324380)?'\x22'+_0x324380+'\x22':_0x324380;}function Xo(_0x27493c,_0x1ab659,_0x31da2e){const _0x14703b=_0x282c57;let _0x37364a=_0x1ab659===_0x14703b(0x3d9)?Zo(_0x31da2e):_0x1ab659;return _0x37364a===_0x14703b(0x486)?_0x27493c[_0x14703b(0x1a6)](/,/g,'\x00')[_0x14703b(0x1a6)](/\./g,',')['replace'](/\0/g,'.'):_0x37364a===_0x14703b(0x193)?_0x27493c[_0x14703b(0x1a6)](/,/g,'\x20')[_0x14703b(0x1a6)](/\./g,','):_0x37364a===_0x14703b(0x515)?_0x27493c['replace'](/,/g,'\x20'):_0x27493c;}function Zo(_0x5c7a7a){const _0x56d350=_0x282c57;var _0x13f556,_0xfd9063;let _0x1c675e=_0x5c7a7a||new Intl[(_0x56d350(0x27d))]()[_0x56d350(0x4d0)]()[_0x56d350(0x4d3)],_0x43f8ac;try{_0x43f8ac=new Intl[(_0x56d350(0x27d))](_0x1c675e,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x56d350(0x437)](0xf4240);}catch{return _0x56d350(0x391);}let _0x187016=(_0x13f556=_0x43f8ac['find'](_0x39a58e=>_0x39a58e['type']===_0x56d350(0x359)))==null?void 0x0:_0x13f556['value'],_0x3c05fe=(_0xfd9063=_0x43f8ac[_0x56d350(0x525)](_0x348ab8=>_0x348ab8[_0x56d350(0x4aa)]===_0x56d350(0x2a2)))==null?void 0x0:_0xfd9063[_0x56d350(0x373)],_0x41ae56=_0x187016==='\u00a0'||_0x187016==='\u202f'?'\x20':_0x187016;return _0x41ae56==='.'&&_0x3c05fe===','?'periodComma':_0x41ae56==='\x20'&&_0x3c05fe===','?_0x56d350(0x193):_0x41ae56==='\x20'&&_0x3c05fe==='.'?_0x56d350(0x515):'commaPeriod';}function Qo(_0x491f5d,_0x1ca5ed){const _0x226679=_0x282c57;let _0x1d2801=_0x1ca5ed&&typeof _0x1ca5ed=='object'&&!Array['isArray'](_0x1ca5ed)?_0x1ca5ed:{},_0x227b60=$o(_0x1d2801[_0x226679(0x1b3)],0x0,0x2,0x0),_0x5c0638=_0x491f5d['toFixed'](_0x227b60);return _0x1d2801[_0x226679(0x22b)]==='number'?_0x5c0638:_0x5c0638+'%';}function $o(_0xc0b83b,_0x556b17,_0x52a6c9,_0x5d6e01){const _0x325565=_0x282c57;if(_0xc0b83b==null||_0xc0b83b==='')return _0x5d6e01;let _0x1fc85c=typeof _0xc0b83b==_0x325565(0x389)?_0xc0b83b:Number(_0xc0b83b);return Number['isFinite'](_0x1fc85c)?Math['max'](_0x556b17,Math['min'](_0x52a6c9,Math[_0x325565(0x1b1)](_0x1fc85c))):_0x5d6e01;}const es=['count',_0x282c57(0x4ed),'empty',_0x282c57(0x406),_0x282c57(0x4d1),_0x282c57(0x2e4),_0x282c57(0x520),_0x282c57(0x468)],ts=[_0x282c57(0x531),_0x282c57(0x4ed),_0x282c57(0x31a),_0x282c57(0x406)],ns=[_0x282c57(0x4d1),_0x282c57(0x2e4),_0x282c57(0x520),_0x282c57(0x468)],rs=[_0x282c57(0x520),_0x282c57(0x468)],is=new Set([_0x239099['Number'],_0x239099[_0x282c57(0x4b6)],_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)]]),as=new Set([_0x239099[_0x282c57(0x4b3)],_0x239099[_0x282c57(0x2a5)],_0x239099[_0x282c57(0x3af)]]),os='General';function ss(_0x456c73){const _0x287ace=_0x282c57;return typeof _0x456c73==_0x287ace(0x3e3)&&es[_0x287ace(0x3df)](_0x456c73);}function cs(_0x4680b2){const _0x2db2fc=_0x282c57;return!_0x4680b2||typeof _0x4680b2!=_0x2db2fc(0x4ba)?{}:Object[_0x2db2fc(0x1af)](Object['entries'](_0x4680b2)[_0x2db2fc(0x4cc)](_0x5c9cc1=>ss(_0x5c9cc1[0x1])));}function ls(_0x179256){const _0x119900=_0x282c57;return is['has'](_0x179256[_0x119900(0x4aa)])?[...ts,...ns]:_0x179256[_0x119900(0x4aa)]===_0x239099[_0x119900(0x41e)]?[...ts,...ws(_0x179256)==='date'?rs:ns]:ts;}function us(_0x2da214,_0x1ae5c6){const _0x29c122=_0x282c57;return ls(_0x2da214)[_0x29c122(0x3df)](_0x1ae5c6);}function ds(_0x2aafc8,_0x2c6c66,_0x20b432){const _0x26ed22=_0x282c57;if(!us(_0x2aafc8,_0x20b432))return null;let _0x3756d6=_0x2c6c66['filter'](_0x132c6a=>!ps(_0x2aafc8,_0x132c6a));switch(_0x20b432){case _0x26ed22(0x531):return _0x2c6c66[_0x26ed22(0x4ab)];case _0x26ed22(0x4ed):return _0x3756d6['length'];case _0x26ed22(0x31a):return _0x2c6c66[_0x26ed22(0x4ab)]-_0x3756d6[_0x26ed22(0x4ab)];case _0x26ed22(0x406):return new Set(_0x3756d6[_0x26ed22(0x309)](_0xb37ab2=>_s(_0x2aafc8,_0xb37ab2)))[_0x26ed22(0x286)];case'sum':{let _0x21b021=ms(_0x2aafc8,_0x3756d6);return _0x21b021[_0x26ed22(0x4ab)]?gs(_0x21b021):null;}case _0x26ed22(0x2e4):{let _0x524dfc=ms(_0x2aafc8,_0x3756d6);return _0x524dfc['length']?gs(_0x524dfc)/_0x524dfc[_0x26ed22(0x4ab)]:null;}case _0x26ed22(0x520):{let _0xc3bbb4=ms(_0x2aafc8,_0x3756d6);return _0xc3bbb4[_0x26ed22(0x4ab)]?Math[_0x26ed22(0x520)](..._0xc3bbb4):null;}case _0x26ed22(0x468):{let _0x444ccc=ms(_0x2aafc8,_0x3756d6);return _0x444ccc[_0x26ed22(0x4ab)]?Math[_0x26ed22(0x468)](..._0x444ccc):null;}}}function fs(_0x420537,_0x274da4,_0x578d76){const _0x4cc2d1=_0x282c57;if(_0x578d76==null||!Number[_0x4cc2d1(0x210)](_0x578d76))return'-';if(ts[_0x4cc2d1(0x3df)](_0x274da4))return String(_0x578d76);switch(_0x420537[_0x4cc2d1(0x4aa)]){case _0x239099[_0x4cc2d1(0x546)]:return qo(_0x578d76,xs(_0x420537));case _0x239099[_0x4cc2d1(0x4b6)]:return qo(_0x578d76,Ss(_0x420537));case _0x239099['Progress']:return Qo(_0x578d76,_0x420537['config']);case _0x239099['Formula']:return Cs(_0x578d76,_0x420537);default:return Es(_0x578d76);}}function ps(_0x55a010,_0x512fba){const _0x1d4641=_0x282c57;if(_0x512fba==null)return!0x0;if(typeof _0x512fba=='string')return _0x512fba['trim']()==='';if(Array[_0x1d4641(0x3d5)](_0x512fba))return _0x55a010[_0x1d4641(0x4aa)]===_0x239099['Attachment']?!_0x512fba[_0x1d4641(0x436)](bs):_0x512fba[_0x1d4641(0x4ab)]===0x0;if(_0x55a010[_0x1d4641(0x4aa)]===_0x239099['Link']&&typeof _0x512fba==_0x1d4641(0x4ba)){let _0x55ae5d=_0x512fba;return[_0x55ae5d[_0x1d4641(0x4b7)],_0x55ae5d[_0x1d4641(0x45d)]][_0x1d4641(0x300)](_0x5ddc15=>_0x5ddc15==null||String(_0x5ddc15)['trim']()==='');}return!0x1;}function ms(_0x1e957a,_0x41cdea){const _0x557408=_0x282c57;let _0x1586fa=[];for(let _0x15c454 of _0x41cdea){let _0x7a4777=hs(_0x1e957a,_0x15c454);_0x7a4777!=null&&_0x1586fa[_0x557408(0x381)](_0x7a4777);}return _0x1586fa;}function hs(_0xb5b276,_0xf4c0f6){const _0x2614bf=_0x282c57;if(typeof _0xf4c0f6==_0x2614bf(0x389))return Number['isFinite'](_0xf4c0f6)?_0xf4c0f6:null;if(_0xb5b276[_0x2614bf(0x4aa)]!==_0x239099[_0x2614bf(0x41e)]&&typeof _0xf4c0f6==_0x2614bf(0x3e3)&&_0xf4c0f6[_0x2614bf(0x24d)]()!==''){let _0x28a517=Number(_0xf4c0f6);return Number[_0x2614bf(0x210)](_0x28a517)?_0x28a517:null;}return null;}function gs(_0x3a907b){const _0x76eb2e=_0x282c57;let _0x4b86fa=0x0,_0x53fd15=0x0;for(let _0x3e8071 of _0x3a907b){let _0x7f4e93=_0x4b86fa+_0x3e8071;_0x53fd15+=Math[_0x76eb2e(0x4a9)](_0x4b86fa)>=Math[_0x76eb2e(0x4a9)](_0x3e8071)?_0x4b86fa-_0x7f4e93+_0x3e8071:_0x3e8071-_0x7f4e93+_0x4b86fa,_0x4b86fa=_0x7f4e93;}return _0x4b86fa+_0x53fd15;}function _s(_0x1fef87,_0x5e2a1b){const _0x142f39=_0x282c57;return as[_0x142f39(0x25c)](_0x1fef87[_0x142f39(0x4aa)])&&Array[_0x142f39(0x3d5)](_0x5e2a1b)?ys([...new Set(_0x5e2a1b[_0x142f39(0x309)](_0x39bd05=>ys(vs(_0x39bd05))))][_0x142f39(0x1df)]()):ys(vs(_0x5e2a1b));}function vs(_0x5d0567){const _0x5e43a3=_0x282c57;return Array['isArray'](_0x5d0567)?_0x5d0567[_0x5e43a3(0x309)](vs):_0x5d0567&&typeof _0x5d0567=='object'?Object[_0x5e43a3(0x1af)](Object['entries'](_0x5d0567)['sort'](([_0x3c31ed],[_0x4a400d])=>_0x3c31ed['localeCompare'](_0x4a400d))[_0x5e43a3(0x309)](([_0x3e43c4,_0x44874f])=>[_0x3e43c4,vs(_0x44874f)])):_0x5d0567;}function ys(_0x5c8bd9){const _0x4f91b3=_0x282c57;return JSON[_0x4f91b3(0x2fb)](_0x5c8bd9)??_0x4f91b3(0x251);}function bs(_0x68864e){const _0x550f84=_0x282c57;if(typeof _0x68864e=='string')return _0x68864e[_0x550f84(0x24d)]()!=='';if(!_0x68864e||typeof _0x68864e!=_0x550f84(0x4ba))return!0x1;let _0x290766=_0x68864e;return[_0x290766['id'],_0x290766[_0x550f84(0x2f4)],_0x290766[_0x550f84(0x376)],_0x290766[_0x550f84(0x45d)],_0x290766[_0x550f84(0x44c)]]['some'](_0x22d7b5=>_0x22d7b5!=null&&String(_0x22d7b5)['trim']()!=='');}function xs(_0x290c50){const _0x2a63cd=_0x282c57;let _0x486113=Ds(_0x290c50[_0x2a63cd(0x50c)]);return{'decimalPlaces':ks(_0x486113[_0x2a63cd(0x1b3)],0x0,0x14,0x2),'separatorStyle':typeof _0x486113[_0x2a63cd(0x435)]==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x435)]:_0x2a63cd(0x3d9),'locale':typeof _0x486113['locale']==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x4d3)]:void 0x0,'useThousands':_0x486113[_0x2a63cd(0x559)]!==!0x1,'abbreviation':typeof _0x486113['abbreviation']==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x1d9)]:'none'};}function Ss(_0x55b40d){const _0x4e9747=_0x282c57;let _0x366fea=Ds(_0x55b40d[_0x4e9747(0x50c)]);return{...xs(_0x55b40d),'currencySymbol':String(_0x366fea['currencySymbol']??'$')};}function Cs(_0x3719db,_0x2806b1){const _0x39f4a8=_0x282c57;let _0x4e3c31=Ts(_0x2806b1);if(_0x4e3c31===os)return Es(_0x3719db);try{return String(_0x1ce6f1[_0x39f4a8(0x22b)](_0x4e3c31,_0x3719db,{'throws':!0x1}));}catch{return Es(_0x3719db);}}function ws(_0x18b48e){const _0x2d4e33=_0x282c57;let _0xc7ba9a=Ds(Ds(_0x18b48e[_0x2d4e33(0x50c)])['numfmt']);return typeof _0xc7ba9a['type']==_0x2d4e33(0x3e3)?_0xc7ba9a['type']:'general';}function Ts(_0xab88d3){const _0x449dee=_0x282c57;let _0x52b266=Ds(Ds(_0xab88d3[_0x449dee(0x50c)])[_0x449dee(0x49b)]);return String(_0x52b266[_0x449dee(0x505)]??os)[_0x449dee(0x24d)]()||os;}function Es(_0x434b74){const _0x31b140=_0x282c57;return String(Number['isInteger'](_0x434b74)?_0x434b74:Math[_0x31b140(0x1b1)]((_0x434b74+0x2**-0x34)*0x64)/0x64);}function Ds(_0x307a7){return _0x307a7&&typeof _0x307a7=='object'&&!Array['isArray'](_0x307a7)?_0x307a7:{};}function Os(_0x343669){const _0x3833a1=_0x282c57;if(_0x343669==null||_0x343669==='')return null;let _0x243a6b=typeof _0x343669=='number'?_0x343669:Number(_0x343669);return Number[_0x3833a1(0x210)](_0x243a6b)?_0x243a6b:null;}function ks(_0x13153a,_0x56f369,_0xfa26d4,_0xe950d5){const _0x52a870=_0x282c57;let _0x4a70ff=Os(_0x13153a);return _0x4a70ff==null?_0xe950d5:Math['max'](_0x56f369,Math[_0x52a870(0x520)](_0xfa26d4,Math[_0x52a870(0x1b1)](_0x4a70ff)));}function As(_0x4cb5cf,_0x2b7dd3){const _0x582748=_0x282c57;let _0x181e18=_0xd92214[_0x582748(0x4d7)](_0x4cb5cf),_0x4395d5=_0x2b7dd3['includeRecords']===!0x0,_0x48ae24=new Map(),_0x20e857=_0x2b7dd3[_0x582748(0x377)]??(()=>_0x582748(0x1a4)+_0x4e27d9(0x8)),_0x22e44e=_0x181e18['viewOrder'];return _0x2b7dd3[_0x582748(0x4da)]&&(_0x22e44e=_0x181e18[_0x582748(0x3a5)][_0x582748(0x309)](_0xc20046=>{let _0x39d004=_0x20e857();return _0x48ae24['set'](_0xc20046,_0x39d004),_0x39d004;})),{..._0x181e18,'id':_0x2b7dd3['id'],'name':_0x2b7dd3['name'],'records':_0x4395d5?_0x181e18['records']:{},'recordOrder':_0x4395d5?_0x181e18[_0x582748(0x413)]:[],'rowIndex':_0x4395d5?_0x181e18[_0x582748(0x277)]:{},'rowId':_0x4395d5?_0x181e18[_0x582748(0x21b)]:{},'cellData':_0x4395d5?_0x181e18[_0x582748(0x343)]:{},'resources':_0x4395d5?_0x181e18['resources']:{},'viewOrder':_0x22e44e,'views':Object[_0x582748(0x1af)](Object['entries'](_0x181e18[_0x582748(0x4f9)]??{})[_0x582748(0x309)](([_0x29ef06,_0x3c6e84])=>{const _0x66d370=_0x582748;let _0x457a04=_0x48ae24[_0x66d370(0x268)](_0x29ef06)??(_0x2b7dd3[_0x66d370(0x4da)]?_0x20e857():_0x29ef06);return[_0x457a04,{..._0x3c6e84,'id':_0x457a04,'tableId':_0x2b7dd3['id']}];}))};}var js='@univerjs-pro/bases',Ms=_0x282c57(0x450);const Ns={},Ps={};function Fs(_0x150e10){const _0x4ad1eb=_0x282c57;return new z()[_0x4ad1eb(0x485)](_0x150e10);}function Is(_0x40e077){const _0xa2189a=_0x282c57;return _0x40e077[_0xa2189a(0x345)][_0xa2189a(0x309)](_0x2e75e3=>({'unitId':_0x40e077['unitId'],'sheetId':_0x40e077[_0xa2189a(0x45e)],'range':{'startRow':_0x2e75e3['row'],'endRow':_0x2e75e3[_0xa2189a(0x2f0)],'startColumn':_0x2e75e3[_0xa2189a(0x340)],'endColumn':_0x2e75e3[_0xa2189a(0x340)]}}));}function Ls(_0x18e47c,_0xef8d20){const _0x402bfb=_0x282c57;return{[_0x18e47c]:Object[_0x402bfb(0x1af)](_0xef8d20[_0x402bfb(0x309)](_0x4c0f51=>[_0x4c0f51,'1']))};}let Rs=class extends _0x3bb8e0{constructor(_0x527235,_0x52d406){const _0x8f20e=_0x282c57;super(),this['_activeDirtyManagerService']=_0x527235,this['_univerInstanceService']=_0x52d406,this[_0x8f20e(0x323)]();}[_0x282c57(0x323)](){const _0x31be5e=_0x282c57;this[_0x31be5e(0x1e2)][_0x31be5e(0x39f)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x20ec97=>this[_0x31be5e(0x2be)](_0x20ec97['params'])}),this['disposeWithMe'](_0x453a32(()=>{const _0x571ffd=_0x31be5e;this[_0x571ffd(0x1e2)][_0x571ffd(0x49c)](Q['id']);}));}[_0x282c57(0x1ee)](_0x95d38b,_0x474890){const _0xdd95be=_0x282c57;let _0x51b4f4=this['_univerInstanceService'][_0xdd95be(0x2ad)](_0x95d38b,_0x335149['UNIVER_BASE']);return(_0x51b4f4==null?void 0x0:_0x51b4f4[_0xdd95be(0x28c)]()[_0xdd95be(0x528)][_0x474890])??null;}[_0x282c57(0x2be)](_0x89fb42){const _0x3f6ca9=_0x282c57;if(_0x89fb42[_0x3f6ca9(0x245)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x89fb42[_0x3f6ca9(0x226)]||!_0x89fb42['op'])return{'clearDependencyTreeCache':this[_0x3f6ca9(0x440)](),'forceCalculation':!0x0};let _0x34fbf1=Fs(_0x89fb42['op']),_0x2b9bf5=this[_0x3f6ca9(0x475)](_0x89fb42[_0x3f6ca9(0x226)],_0x34fbf1);if(_0x2b9bf5[_0x3f6ca9(0x4ab)])return{'clearDependencyTreeCache':Ls(_0x89fb42[_0x3f6ca9(0x226)],_0x2b9bf5),'forceCalculation':!0x0};let _0x33a2db=Object[_0x3f6ca9(0x41d)](this[_0x3f6ca9(0x1ab)](_0x89fb42['unitId'],_0x34fbf1))[_0x3f6ca9(0x26a)](([_0xb82d31,_0x4fcaf6])=>Is({'unitId':_0x89fb42[_0x3f6ca9(0x226)],'tableId':_0xb82d31,'patches':_0x4fcaf6}));return _0x33a2db[_0x3f6ca9(0x4ab)]?{'dirtyRanges':_0x33a2db}:{};}[_0x282c57(0x475)](_0x1440ca,_0x57b7b2){const _0x2c9354=_0x282c57;let _0x4a4fac=_0x57b7b2[_0x2c9354(0x4cc)](_0x1f0ae4=>_0x1f0ae4['reason']!==_0x2c9354(0x1f9))[_0x2c9354(0x26a)](_0x445934=>_0x445934[_0x2c9354(0x45e)]?[_0x445934['tableId']]:this[_0x2c9354(0x484)](_0x1440ca));return Array[_0x2c9354(0x2f3)](new Set(_0x4a4fac));}[_0x282c57(0x1ab)](_0x5e4448,_0x56424c){const _0x2035aa=_0x282c57;let _0x490878=new Set();return _0x56424c[_0x2035aa(0x3a7)]((_0x1d4a80,_0x53ac7e)=>{const _0x38e510=_0x2035aa;let _0x2fb4fb=this[_0x38e510(0x44a)](_0x5e4448,_0x53ac7e);if(!_0x2fb4fb)return _0x1d4a80;let _0x4c4e53=_0x53ac7e[_0x38e510(0x45e)]+':'+_0x2fb4fb[_0x38e510(0x2f0)]+':'+_0x2fb4fb[_0x38e510(0x340)];return _0x490878[_0x38e510(0x25c)](_0x4c4e53)?_0x1d4a80:(_0x490878[_0x38e510(0x551)](_0x4c4e53),_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]=_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]??[],_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]['push'](_0x2fb4fb),_0x1d4a80);},{});}[_0x282c57(0x44a)](_0x37338a,_0x35ffa1){const _0x284044=_0x282c57;if(_0x35ffa1[_0x284044(0x2cd)]!==_0x284044(0x1f9))return null;if(_0x35ffa1[_0x284044(0x2f0)]!=null&&_0x35ffa1['column']!=null)return{'row':_0x35ffa1[_0x284044(0x2f0)],'col':_0x35ffa1[_0x284044(0x331)],'value':null};if(!_0x35ffa1['recordId']||!_0x35ffa1['fieldId'])return null;let _0x597077=this[_0x284044(0x1ee)](_0x37338a,_0x35ffa1[_0x284044(0x45e)]);if(!_0x597077)return null;let _0x402cef=_t(_0x597077,_0x35ffa1[_0x284044(0x40d)],_0x35ffa1['fieldId']);return _0x402cef?{'row':_0x402cef[_0x284044(0x2f0)],'col':_0x402cef[_0x284044(0x340)],'value':null}:null;}['_getAllTableIds'](_0x41d21a){const _0xe32eac=_0x282c57;let _0x4b84a0=this[_0xe32eac(0x42e)][_0xe32eac(0x2ad)](_0x41d21a,_0x335149[_0xe32eac(0x370)]);return Object[_0xe32eac(0x54e)]((_0x4b84a0==null?void 0x0:_0x4b84a0[_0xe32eac(0x28c)]()[_0xe32eac(0x528)])??{})[_0xe32eac(0x309)](_0x526132=>_0x526132['id']);}[_0x282c57(0x440)](){const _0x493294=_0x282c57;let _0xf26f1c=this['_univerInstanceService']['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0x493294(0x309)](_0xf1412d=>Ls(_0xf1412d['getUnitId'](),Object[_0x493294(0x334)](_0xf1412d[_0x493294(0x28c)]()[_0x493294(0x528)])));return Object['assign']({},..._0xf26f1c);}};Rs=X([Y(0x0,_0x5d22c8),Y(0x1,_0x54ce33)],Rs);let zs=class extends _0x3bb8e0{constructor(_0x5a43e1,_0x4a611c,_0x11fce0,_0x2b4c50){const _0x245258=_0x282c57;super(),this[_0x245258(0x190)]=_0x5a43e1,this[_0x245258(0x42e)]=_0x4a611c,this[_0x245258(0x51b)]=_0x11fce0,this[_0x245258(0x234)]=_0x2b4c50,G(this,_0x245258(0x288),new Xi()),G(this,_0x245258(0x2eb),new Map()),G(this,_0x245258(0x3fd),new Set()),G(this,'_formulaSyncQueue',Promise[_0x245258(0x363)]()),G(this,_0x245258(0x41c),!0x1),this[_0x245258(0x323)]();}[_0x282c57(0x323)](){const _0x496104=_0x282c57;this[_0x496104(0x42e)]['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0x496104(0x34b)](_0x5e945f=>{const _0x42f292=_0x496104;this[_0x42f292(0x467)](_0x5e945f);}),this[_0x496104(0x4fe)](this[_0x496104(0x42e)][_0x496104(0x224)](_0x335149[_0x496104(0x370)])[_0x496104(0x306)](({unit:_0x65e9ba})=>{const _0x5eb334=_0x496104;this[_0x5eb334(0x467)](_0x65e9ba);})),this[_0x496104(0x4fe)](this[_0x496104(0x42e)][_0x496104(0x4b0)](_0x335149[_0x496104(0x370)])[_0x496104(0x306)](_0x4fcdab=>{const _0x5bd05d=_0x496104;this[_0x5bd05d(0x46f)](()=>this[_0x5bd05d(0x39e)](_0x4fcdab[_0x5bd05d(0x1e4)]()));})),this['disposeWithMe'](this[_0x496104(0x190)][_0x496104(0x235)](_0xf238a0=>this[_0x496104(0x52f)](_0xf238a0)));}[_0x282c57(0x52f)](_0x3c2340){const _0x2e72c2=_0x282c57;if(_0x3c2340['id']===_0x260dd2['id']){Vs(_0x3c2340[_0x2e72c2(0x530)])&&this[_0x2e72c2(0x470)](_0x3c2340[_0x2e72c2(0x530)]);return;}if(this[_0x2e72c2(0x41c)]||_0x3c2340['id']!==Q['id'])return;let _0x3c89a9=Bs(_0x3c2340['params'])?_0x3c2340[_0x2e72c2(0x530)]:void 0x0,_0x4780d8=_0x3c89a9!=null&&_0x3c89a9[_0x2e72c2(0x226)]?[this['_univerInstanceService'][_0x2e72c2(0x2ad)](_0x3c89a9[_0x2e72c2(0x226)],_0x335149[_0x2e72c2(0x370)])][_0x2e72c2(0x4cc)](_0x39781c=>!!_0x39781c):this[_0x2e72c2(0x42e)][_0x2e72c2(0x1cd)](_0x335149['UNIVER_BASE']),_0x4902c2=_0x3c89a9==null?void 0x0:_0x3c89a9['op'];_0x4780d8[_0x2e72c2(0x34b)](_0x2e3f4a=>{const _0x21a0fc=_0x2e72c2;let _0x4abb90=_0x4902c2?Fs(_0x4902c2):[];(!_0x4902c2||_0x4abb90['some'](_0x252a1d=>_0x252a1d[_0x21a0fc(0x2cd)]!==_0x21a0fc(0x1f9)))&&this[_0x21a0fc(0x467)](_0x2e3f4a);});}[_0x282c57(0x467)](_0x3e47f5){const _0x43c3f1=_0x282c57;let _0x421220=_0x3e47f5[_0x43c3f1(0x1e4)]();this['_scheduledSuperTableSyncs'][_0x43c3f1(0x25c)](_0x421220)||(this[_0x43c3f1(0x3fd)][_0x43c3f1(0x551)](_0x421220),this[_0x43c3f1(0x46f)](async()=>{const _0xc38662=_0x43c3f1;this[_0xc38662(0x3fd)][_0xc38662(0x404)](_0x421220),await this[_0xc38662(0x4fb)](_0x3e47f5);}));}async['_syncSuperTables'](_0x430fae){const _0x11ef67=_0x282c57;let _0xc673f2=_0x430fae['getUnitId'](),_0x107bd0=this[_0x11ef67(0x288)][_0x11ef67(0x502)](_0x430fae[_0x11ef67(0x28c)]()),_0x37d63c=new Set(_0x107bd0[_0x11ef67(0x309)](({tableName:_0x1715c2})=>_0x1715c2)),_0x307c65=this[_0x11ef67(0x2eb)][_0x11ef67(0x268)](_0xc673f2)??new Set();for(let _0x5293be of _0x307c65)if(!_0x37d63c[_0x11ef67(0x25c)](_0x5293be)&&!await this[_0x11ef67(0x44b)](_0x16f34f['id'],{'unitId':_0xc673f2,'tableName':_0x5293be}))return;for(let {tableName:_0x3895e1,reference:_0x27de86}of _0x107bd0)if(!await this[_0x11ef67(0x44b)](_0x3f9972['id'],{'unitId':_0xc673f2,'tableName':_0x3895e1,'reference':_0x27de86}))return;this[_0x11ef67(0x2eb)][_0x11ef67(0x246)](_0xc673f2,_0x37d63c);}async[_0x282c57(0x39e)](_0x4359bc){const _0x432844=_0x282c57;let _0x48562a=this['_registeredSuperTableNames'][_0x432844(0x268)](_0x4359bc)??new Set();for(let _0xd566ce of _0x48562a)if(!await this[_0x432844(0x44b)](_0x16f34f['id'],{'unitId':_0x4359bc,'tableName':_0xd566ce}))return;this[_0x432844(0x2eb)][_0x432844(0x404)](_0x4359bc);}async['_executeSuperTableMutationWhileActive'](_0x420224,_0x2024a2){const _0x3a0f11=_0x282c57;return!this[_0x3a0f11(0x1d1)]&&await this['_commandService'][_0x3a0f11(0x4ce)](_0x420224,_0x2024a2,{'onlyLocal':!0x0})&&!this[_0x3a0f11(0x1d1)];}[_0x282c57(0x46f)](_0x462ea1){const _0x46484f=_0x282c57;this[_0x46484f(0x4dc)]=this['_formulaSyncQueue'][_0x46484f(0x521)](_0x462ea1,_0x462ea1)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x2ec052){const _0x218ecb=_0x282c57;let _0x5e3461=this[_0x218ecb(0x42e)][_0x218ecb(0x1cd)](_0x335149[_0x218ecb(0x370)]);if(!_0x5e3461[_0x218ecb(0x436)](_0x3756b5=>{const _0x2ceab1=_0x218ecb;var _0x319873;return((_0x319873=_0x2ec052[_0x2ceab1(0x1b5)])==null?void 0x0:_0x319873[_0x3756b5[_0x2ceab1(0x1e4)]()])!=null;}))return;let _0x17f11c=_0x5e3461[_0x218ecb(0x26a)](_0x1b8968=>Zi(_0x1b8968['getSnapshot'](),_0x2ec052));if(!_0x17f11c[_0x218ecb(0x4ab)]){this[_0x218ecb(0x234)]['markResultApplied'](_0x5be45b['BASE'],_0x2ec052);return;}let _0x469626=new W(),_0x4dadbe=_0x17f11c[_0x218ecb(0x26a)](_0x44bc8d=>Is({'unitId':_0x44bc8d['unitId'],'tableId':_0x44bc8d[_0x218ecb(0x45e)],'patches':_0x44bc8d['patches']}));this[_0x218ecb(0x41c)]=!0x0,(async()=>{const _0x207128=_0x218ecb;for(let _0x46bfec of _0x17f11c){let _0x593629=this[_0x207128(0x42e)][_0x207128(0x2ad)](_0x46bfec[_0x207128(0x226)],_0x335149['UNIVER_BASE']);_0x593629&&await this[_0x207128(0x190)][_0x207128(0x4ce)](Q['id'],{'unitId':_0x46bfec[_0x207128(0x226)],'op':_0x469626[_0x207128(0x30b)](_0x593629['getSnapshot'](),_0x46bfec['tableId'],_0x46bfec['patches']),'trigger':_0x260dd2['id']},{'onlyLocal':!0x0});}await this[_0x207128(0x190)][_0x207128(0x4ce)](_0x1d0f35['id'],{'dirtyRanges':_0x4dadbe},{'onlyLocal':!0x0});})()[_0x218ecb(0x2b5)](()=>{const _0x382652=_0x218ecb;this['_applyingFormulaResults']=!0x1,this[_0x382652(0x234)][_0x382652(0x36c)](_0x5be45b['BASE'],_0x2ec052);});}};zs=X([Y(0x0,_0x2a9a16),Y(0x1,_0x54ce33),Y(0x2,_0x4bcdd1(_0x14f705)),Y(0x3,_0x4bcdd1(_0x2c8588))],zs);function Bs(_0x254e60){const _0xd984c3=_0x282c57;return typeof _0x254e60=='object'&&!!_0x254e60&&_0xd984c3(0x226)in _0x254e60&&typeof _0x254e60[_0xd984c3(0x226)]==_0xd984c3(0x3e3)&&'op'in _0x254e60&&Array['isArray'](_0x254e60['op']);}function Vs(_0xba7b77){const _0x3b7843=_0x282c57;return typeof _0xba7b77==_0x3b7843(0x4ba)&&!!_0xba7b77&&_0x3b7843(0x1b5)in _0xba7b77&&_0x3b7843(0x498)in _0xba7b77;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x3bb8e0{constructor(_0x3cf0c7,_0x3344a2,_0x5897a3,_0x4e0419){const _0xc1f7f4=_0x282c57;super(),this[_0xc1f7f4(0x469)]=_0x3cf0c7,this[_0xc1f7f4(0x190)]=_0x3344a2,this[_0xc1f7f4(0x513)]=_0x5897a3,this[_0xc1f7f4(0x20c)]=_0x4e0419,this['_instanceService']['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0xc1f7f4(0x34b)](_0x12021a=>this[_0xc1f7f4(0x352)](_0x12021a['getUnitId']())),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x20c)][_0xc1f7f4(0x224)](_0x335149[_0xc1f7f4(0x370)])[_0xc1f7f4(0x306)](({unit:_0x4a2001})=>this[_0xc1f7f4(0x352)](_0x4a2001[_0xc1f7f4(0x1e4)]()))),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x190)][_0xc1f7f4(0x1c9)]((_0x3ea697,_0x1e288b)=>this[_0xc1f7f4(0x46a)](_0x3ea697,_0x1e288b))),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x20c)][_0xc1f7f4(0x4b0)](_0x335149[_0xc1f7f4(0x370)])['subscribe'](_0x1f02a3=>{const _0x585599=_0xc1f7f4;this['_injector']['get'](_0x532322)['clearUnit'](_0x1f02a3[_0x585599(0x1e4)]()),Rr(this[_0x585599(0x513)],_0x1f02a3[_0x585599(0x1e4)]());}));}[_0x282c57(0x352)](_0x3e4d65){const _0x5c5fff=_0x282c57;Tr[_0x5c5fff(0x34b)](_0x59b678=>{const _0xb5355e=_0x5c5fff;let _0xf25414=Pr(_0x3e4d65,_0x3e4d65,_0x59b678);this[_0xb5355e(0x513)]['getPermissionPoint'](_0xf25414['id'])||this[_0xb5355e(0x513)][_0xb5355e(0x311)](_0xf25414);}),this[_0x5c5fff(0x469)][_0x5c5fff(0x268)](_0x532322)[_0x5c5fff(0x291)]({'unitId':_0x3e4d65,'objectId':_0x3e4d65,'objectType':_0xd2ae12[_0x5c5fff(0x3d6)]});}[_0x282c57(0x46a)](_0x39af1b,_0x255f9b){const _0x14b9cf=_0x282c57;var _0x562956;if(_0x255f9b!=null&&_0x255f9b['fromCollab']||_0x255f9b!=null&&_0x255f9b[_0x14b9cf(0x304)])return;let _0x1848b0=tc(_0x39af1b[_0x14b9cf(0x530)])?_0x39af1b[_0x14b9cf(0x530)]:void 0x0;if(_0x255f9b!=null&&_0x255f9b[_0x14b9cf(0x463)]&&_0x39af1b['id']==='base.mutation.apply-base-json1'&&(_0x1848b0==null?void 0x0:_0x1848b0[_0x14b9cf(0x245)])===_0x260dd2['id'])return;let _0x1cabdc=Gs(_0x39af1b['id']),_0x11ee7a=Ws(_0x1848b0==null?void 0x0:_0x1848b0['unitId'],_0x255f9b)??(_0x1cabdc?(_0x562956=this[_0x14b9cf(0x20c)][_0x14b9cf(0x517)](_0x335149['UNIVER_BASE']))==null?void 0x0:_0x562956[_0x14b9cf(0x1e4)]():void 0x0);if(!_0x11ee7a||this['_instanceService']['getUnitType'](_0x11ee7a)!==_0x335149[_0x14b9cf(0x370)])return;if(_0x1cabdc){if(!Fr(this[_0x14b9cf(0x513)],_0x11ee7a,_0x11ee7a,_0x1cabdc))throw this[_0x14b9cf(0x469)][_0x14b9cf(0x268)](_0x2ba5f2)[_0x14b9cf(0x482)](_0x11ee7a),new _0x3aec47(_0x14b9cf(0x199)+_0x133e41[_0x1cabdc]+'\x20permission\x20denied.');return;}if(Hs[_0x14b9cf(0x25c)](_0x39af1b['id'])||!_0x39af1b['id'][_0x14b9cf(0x289)]('base.command.')&&!_0x39af1b['id'][_0x14b9cf(0x289)](_0x14b9cf(0x1b6)))return;let _0x171588=this[_0x14b9cf(0x20c)][_0x14b9cf(0x2ad)](_0x11ee7a,_0x335149[_0x14b9cf(0x370)]),_0x28a463=_0x171588?Ks(_0x171588,_0x1848b0??{},_0x39af1b['id']):[];if(!_0x171588||!zr(this['_permissionService'],_0x11ee7a,_0x28a463))throw this[_0x14b9cf(0x469)][_0x14b9cf(0x268)](_0x2ba5f2)[_0x14b9cf(0x482)](_0x11ee7a,_0x28a463),new _0x3aec47(_0x14b9cf(0x50f));}};Us=X([Y(0x0,_0x4bcdd1(_0x5325dd)),Y(0x1,_0x2a9a16),Y(0x2,_0x39a8ae),Y(0x3,_0x54ce33)],Us);function Ws(_0x55665a,_0x4dc035){const _0x3fe36e=_0x282c57;return typeof _0x55665a==_0x3fe36e(0x3e3)?_0x55665a:typeof(_0x4dc035==null?void 0x0:_0x4dc035['unitId'])==_0x3fe36e(0x3e3)?_0x4dc035[_0x3fe36e(0x226)]:void 0x0;}function Gs(_0x2ac3ab){const _0x9cd901=_0x282c57;if(_0x2ac3ab==='bases-exchange-client.operation.export-base'||_0x2ac3ab===_0x9cd901(0x35a))return _0x133e41[_0x9cd901(0x3ce)];if(_0x2ac3ab[_0x9cd901(0x289)](_0x9cd901(0x3b2))||_0x2ac3ab[_0x9cd901(0x289)](_0x9cd901(0x552)))return _0x133e41[_0x9cd901(0x4c4)];}function Ks(_0x1024e0,_0x2fb8e6,_0x524af5){const _0xc22ffc=_0x282c57;if(_0x524af5===_0xc22ffc(0x48f)&&ec(_0x2fb8e6['op']))return qs(_0x1024e0,_0x2fb8e6['op']);let _0x5e7d70=new Set(),_0x5da876=Zs(_0x2fb8e6,_0xc22ffc(0x270)),_0x441052=typeof _0x2fb8e6[_0xc22ffc(0x45e)]==_0xc22ffc(0x3e3)?_0x2fb8e6[_0xc22ffc(0x45e)]:_0x5da876[0x0];if(_0x5da876['forEach'](_0x58dc91=>_0x5e7d70[_0xc22ffc(0x551)](K(_0x58dc91))),!_0x441052)return[..._0x5e7d70];let _0x5928f0=_0x1024e0[_0xc22ffc(0x28c)]()[_0xc22ffc(0x528)][_0x441052],_0x3d7223=new Set(Zs(_0x2fb8e6,'field')),_0x1c7caa=new Set(Zs(_0x2fb8e6,'record')),_0x1d8f4f=new Set(Zs(_0x2fb8e6,_0xc22ffc(0x47a)));return Qs(_0x5928f0,_0x2fb8e6['patches'],_0x1c7caa,_0x3d7223),$s(_0x2fb8e6,_0x3d7223),_0x3d7223[_0xc22ffc(0x34b)](_0x341e5c=>_0x5e7d70[_0xc22ffc(0x551)](q(_0x441052,_0x341e5c))),_0x1c7caa['forEach'](_0x4c86b2=>_0x5e7d70[_0xc22ffc(0x551)](J(_0x441052,_0x4c86b2))),_0x1d8f4f['forEach'](_0x1bdf39=>_0x5e7d70[_0xc22ffc(0x551)](Mr(_0x441052,_0x1bdf39))),[..._0x5e7d70];}function qs(_0x35c4e6,_0x1dad68){const _0x732ad9=_0x282c57;let _0x528612=_0x35c4e6['getSnapshot'](),_0x219787=new z()[_0x732ad9(0x485)](_0x1dad68),_0x1ce2e7=Js(_0x1dad68),_0x4aa535=new Set();return _0x219787[_0x732ad9(0x34b)](_0x3e74f1=>{const _0x1908d3=_0x732ad9;var _0x205405,_0x9b170f;let {tableId:_0x39af5b}=_0x3e74f1;if(!_0x39af5b)return;_0x4aa535[_0x1908d3(0x551)](K(_0x39af5b));let _0x1936e7=_0x528612[_0x1908d3(0x528)][_0x39af5b],_0x14f688=_0x3e74f1[_0x1908d3(0x40d)]??(_0x3e74f1[_0x1908d3(0x2f0)]==null||_0x1936e7==null||(_0x205405=_0x1936e7['rowId'])==null?void 0x0:_0x205405[_0x3e74f1[_0x1908d3(0x2f0)]]),_0x65decb=_0x3e74f1[_0x1908d3(0x387)]??(_0x3e74f1[_0x1908d3(0x331)]==null||_0x1936e7==null||(_0x9b170f=_0x1936e7[_0x1908d3(0x46d)])==null?void 0x0:_0x9b170f[_0x3e74f1['column']]);_0x14f688&&_0x4aa535[_0x1908d3(0x551)](J(_0x39af5b,_0x14f688)),_0x65decb&&_0x4aa535[_0x1908d3(0x551)](q(_0x39af5b,_0x65decb)),_0x3e74f1[_0x1908d3(0x44d)]&&_0x4aa535[_0x1908d3(0x551)](Mr(_0x39af5b,_0x3e74f1[_0x1908d3(0x44d)])),(_0x3e74f1['reason']===_0x1908d3(0x270)||_0x1ce2e7[_0x1908d3(0x25c)](_0x39af5b))&&_0x1936e7&&(Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x453)])[_0x1908d3(0x34b)](_0x381bb1=>_0x4aa535[_0x1908d3(0x551)](q(_0x39af5b,_0x381bb1))),Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x1e1)])[_0x1908d3(0x34b)](_0x55c546=>_0x4aa535[_0x1908d3(0x551)](J(_0x39af5b,_0x55c546))),Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x4f9)])[_0x1908d3(0x34b)](_0x55470b=>_0x4aa535['add'](Mr(_0x39af5b,_0x55470b)))),_0x3e74f1[_0x1908d3(0x2cd)]===_0x1908d3(0x3a6)&&_0x1936e7&&Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x453)])[_0x1908d3(0x34b)](_0x1b9db9=>_0x4aa535['add'](q(_0x39af5b,_0x1b9db9)));}),_0x219787[_0x732ad9(0x4ab)]===0x0&&Xs(_0x1dad68,_0x732ad9(0x1ae))&&Object[_0x732ad9(0x334)](_0x528612[_0x732ad9(0x528)])[_0x732ad9(0x34b)](_0x1d2cd0=>_0x4aa535[_0x732ad9(0x551)](K(_0x1d2cd0))),[..._0x4aa535];}function Js(_0xe8ba6d){let _0x200bbf=new Set(),_0x2b2827=_0x5515df=>{const _0x12f064=_0x3047;Array[_0x12f064(0x3d5)](_0x5515df)&&_0x5515df[_0x12f064(0x34b)]((_0x33932d,_0x18103a)=>{const _0x3a1b39=_0x12f064;_0x33932d===_0x3a1b39(0x528)&&typeof _0x5515df[_0x18103a+0x1]==_0x3a1b39(0x3e3)&&Ys(_0x5515df[_0x18103a+0x2])&&_0x200bbf['add'](_0x5515df[_0x18103a+0x1]),_0x2b2827(_0x33932d);});};return _0x2b2827(_0xe8ba6d),_0x200bbf;}function Ys(_0x5ecbce){const _0x43a966=_0x282c57;return!!_0x5ecbce&&typeof _0x5ecbce==_0x43a966(0x4ba)&&!Array[_0x43a966(0x3d5)](_0x5ecbce)&&('i'in _0x5ecbce||'r'in _0x5ecbce||'p'in _0x5ecbce||'d'in _0x5ecbce||'es'in _0x5ecbce||_0x43a966(0x2bb)in _0x5ecbce||'et'in _0x5ecbce);}function Xs(_0x6f0274,_0x38e614){const _0x413f48=_0x282c57;return Array[_0x413f48(0x3d5)](_0x6f0274)&&_0x6f0274[_0x413f48(0x436)](_0x2592bd=>_0x2592bd===_0x38e614||Xs(_0x2592bd,_0x38e614));}function Zs(_0x43d603,_0x5ae45f){let _0x3bd7ff=new Set(),_0x4d69f9=_0x5ae45f+'Id',_0x30e970=_0x5ae45f+'Ids',_0x33d8fc=(_0x2a8fe6,_0x4d3093='')=>{const _0x144f88=_0x3047;if(typeof _0x2a8fe6=='string'){_0x4d3093===_0x4d69f9&&_0x3bd7ff[_0x144f88(0x551)](_0x2a8fe6);return;}if(Array['isArray'](_0x2a8fe6)){_0x4d3093===_0x30e970?_0x2a8fe6[_0x144f88(0x34b)](_0x2b9ce9=>{const _0x36afd7=_0x144f88;typeof _0x2b9ce9==_0x36afd7(0x3e3)&&_0x3bd7ff[_0x36afd7(0x551)](_0x2b9ce9);}):_0x2a8fe6[_0x144f88(0x34b)](_0xd6a5c4=>_0x33d8fc(_0xd6a5c4,_0x4d3093));return;}tc(_0x2a8fe6)&&Object['entries'](_0x2a8fe6)[_0x144f88(0x34b)](([_0x4b45ce,_0x194cbd])=>{const _0x5142da=_0x144f88;_0x4b45ce==='id'&&_0x4d3093===_0x5ae45f&&typeof _0x194cbd==_0x5142da(0x3e3)?_0x3bd7ff[_0x5142da(0x551)](_0x194cbd):_0x33d8fc(_0x194cbd,_0x4b45ce);});};return _0x33d8fc(_0x43d603),[..._0x3bd7ff];}function Qs(_0xa58e6d,_0x141138,_0x46017d,_0x10c182){const _0x43ab1e=_0x282c57;_0xa58e6d&&Array[_0x43ab1e(0x3d5)](_0x141138)&&_0x141138[_0x43ab1e(0x34b)](_0x81c501=>{const _0x3608e4=_0x43ab1e;if(!tc(_0x81c501))return;let _0xc48ba9=_0x81c501;if(typeof _0xc48ba9[_0x3608e4(0x2f0)]=='number'){var _0x3c0b1f;let _0x531102=(_0x3c0b1f=_0xa58e6d[_0x3608e4(0x21b)])==null?void 0x0:_0x3c0b1f[_0xc48ba9['row']];_0x531102&&_0x46017d[_0x3608e4(0x551)](_0x531102);}if(typeof _0xc48ba9['col']=='number'){var _0x8ab75d;let _0x6df7a8=(_0x8ab75d=_0xa58e6d[_0x3608e4(0x46d)])==null?void 0x0:_0x8ab75d[_0xc48ba9[_0x3608e4(0x340)]];_0x6df7a8&&_0x10c182['add'](_0x6df7a8);}});}function $s(_0x298141,_0x587525,_0x2f1d99=''){const _0xf4f2b2=_0x282c57;if(_0x298141&&typeof _0x298141==_0xf4f2b2(0x4ba)){if(Array[_0xf4f2b2(0x3d5)](_0x298141)){_0x298141[_0xf4f2b2(0x34b)](_0xcc6a9c=>$s(_0xcc6a9c,_0x587525,_0x2f1d99));return;}tc(_0x298141)&&Object[_0xf4f2b2(0x41d)](_0x298141)[_0xf4f2b2(0x34b)](([_0x50cbee,_0x124dc1])=>{const _0x592f2d=_0xf4f2b2;_0x2f1d99===_0x592f2d(0x54e)&&_0x587525[_0x592f2d(0x551)](_0x50cbee),$s(_0x124dc1,_0x587525,_0x50cbee);});}}function ec(_0x3e5528){const _0x1c48ff=_0x282c57;return Array[_0x1c48ff(0x3d5)](_0x3e5528);}function tc(_0x3b7b09){const _0x51f3f7=_0x282c57;return typeof _0x3b7b09==_0x51f3f7(0x4ba)&&!!_0x3b7b09&&!Array[_0x51f3f7(0x3d5)](_0x3b7b09);}const nc=_0x2cfc4b(_0x282c57(0x25a));let rc=class{constructor(_0x3c32f5){const _0x112e88=_0x282c57;this[_0x112e88(0x42e)]=_0x3c32f5;}['getBase'](_0x4a2639){const _0x1540d8=_0x282c57;return this[_0x1540d8(0x42e)][_0x1540d8(0x2ad)](_0x4a2639,_0x335149[_0x1540d8(0x370)])??null;}[_0x282c57(0x429)](){const _0x1d4fd6=_0x282c57;return this[_0x1d4fd6(0x42e)][_0x1d4fd6(0x1cd)](_0x335149[_0x1d4fd6(0x370)]);}[_0x282c57(0x417)](_0x30995e){const _0x3bf34e=_0x282c57;return this['_univerInstanceService'][_0x3bf34e(0x228)](_0x335149[_0x3bf34e(0x370)],_0x30995e);}};rc=X([Y(0x0,_0x54ce33)],rc);const ic=_0x2cfc4b(_0x282c57(0x3b1));var ac=class extends _0x3bb8e0{constructor(..._0x5000cd){const _0x35b3ef=_0x282c57;super(..._0x5000cd),G(this,_0x35b3ef(0x432),new Map());}['register'](_0x5e7d46){const _0x740610=_0x282c57;return this['_plugins']['set'](_0x5e7d46[_0x740610(0x4aa)],_0x5e7d46),_0x453a32(()=>this[_0x740610(0x432)][_0x740610(0x404)](_0x5e7d46[_0x740610(0x4aa)]));}[_0x282c57(0x268)](_0x313149){const _0x3f80bd=_0x282c57;let _0x2b17d5=this['_plugins'][_0x3f80bd(0x268)](_0x313149);if(!_0x2b17d5)throw Error(_0x3f80bd(0x22d)+_0x313149+_0x3f80bd(0x274));return _0x2b17d5;}[_0x282c57(0x416)](){const _0x43e4e1=_0x282c57;return Array[_0x43e4e1(0x2f3)](this['_plugins'][_0x43e4e1(0x54e)]());}};const oc=[Q];let sc=class extends _0x206208{constructor(_0x1dbfda=Ns,_0x5f3c94,_0x60d4c2,_0x216100,_0x3967a2,_0x44a9df){const _0x317fb8=_0x282c57;super(),this[_0x317fb8(0x421)]=_0x1dbfda,this['_injector']=_0x5f3c94,this[_0x317fb8(0x190)]=_0x60d4c2,this[_0x317fb8(0x42e)]=_0x216100,this[_0x317fb8(0x32a)]=_0x3967a2,this[_0x317fb8(0x242)]=_0x44a9df,G(this,'_baseSyncDisposables',new Map());let {..._0x57029a}=_0xc2b1c2({},Ns,this['_config']);this[_0x317fb8(0x32a)][_0x317fb8(0x400)](_0x317fb8(0x2e2),_0x57029a),this[_0x317fb8(0x42e)][_0x317fb8(0x2ae)](_0x335149[_0x317fb8(0x370)],_0x1c1e04),this[_0x317fb8(0x54d)](),this[_0x317fb8(0x501)](),this[_0x317fb8(0x35b)](),this[_0x317fb8(0x514)]();}['onStarting'](){const _0x6847b2=_0x282c57;this[_0x6847b2(0x469)][_0x6847b2(0x551)]([Lo]),this[_0x6847b2(0x4fe)](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x2a9a16)[_0x6847b2(0x3f4)](Ro)),this['disposeWithMe'](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x2a9a16)[_0x6847b2(0x3f4)](zo)),this[_0x6847b2(0x4fe)](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x532322)[_0x6847b2(0x439)](_0xd2ae12[_0x6847b2(0x3d6)],this[_0x6847b2(0x469)][_0x6847b2(0x268)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x404638=_0x282c57;_0x2fa2a9(this[_0x404638(0x469)],[[rc],[qr],[Rs]]),this[_0x404638(0x42e)]['getAllUnitsForType'](_0x335149[_0x404638(0x370)])[_0x404638(0x34b)](_0x5decf3=>this[_0x404638(0x305)](_0x5decf3[_0x404638(0x1e4)]())),_0x2fa2a9(this[_0x404638(0x469)],[[zs],[Us]]);}['_initDependencies'](){const _0x52f654=_0x282c57;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x52f654(0x34b)](_0x2488f0=>this['_injector'][_0x52f654(0x551)](_0x2488f0));}['_initCommands'](){const _0x4c5261=_0x282c57;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x4c5261(0x34b)](_0x31967c=>this[_0x4c5261(0x4fe)](this[_0x4c5261(0x190)][_0x4c5261(0x3f4)](_0x31967c))),oc['forEach'](_0x5d314c=>{const _0x40f28a=_0x4c5261;var _0x4f9667;return(_0x4f9667=this[_0x40f28a(0x242)])==null?void 0x0:_0x4f9667[_0x40f28a(0x2fc)](_0x5d314c);});}['_initDataSync'](){const _0x4b07d8=_0x282c57;this[_0x4b07d8(0x242)]&&(this[_0x4b07d8(0x4fe)](this[_0x4b07d8(0x42e)][_0x4b07d8(0x224)](_0x335149[_0x4b07d8(0x370)])[_0x4b07d8(0x306)](({unit:_0x1a6829})=>{const _0x5993fe=_0x4b07d8;this['_syncBaseUnit'](_0x1a6829[_0x5993fe(0x1e4)]());})),this['disposeWithMe'](this[_0x4b07d8(0x42e)][_0x4b07d8(0x4b0)](_0x335149['UNIVER_BASE'])[_0x4b07d8(0x306)](_0x4aa757=>{const _0x4d8a61=_0x4b07d8;var _0x265e6f;(_0x265e6f=this[_0x4d8a61(0x4f0)][_0x4d8a61(0x268)](_0x4aa757['getUnitId']()))==null||_0x265e6f['dispose'](),this[_0x4d8a61(0x4f0)]['delete'](_0x4aa757[_0x4d8a61(0x1e4)]());})));}[_0x282c57(0x305)](_0x56d65f){const _0x4a10f0=_0x282c57;this['_dataSyncPrimaryController']&&!this[_0x4a10f0(0x4f0)]['has'](_0x56d65f)&&this[_0x4a10f0(0x4f0)][_0x4a10f0(0x246)](_0x56d65f,this[_0x4a10f0(0x242)][_0x4a10f0(0x516)](_0x56d65f));}[_0x282c57(0x35b)](){const _0x4ae9a9=_0x282c57;let _0x587bc5=this[_0x4ae9a9(0x469)][_0x4ae9a9(0x268)](mr);zn()['forEach'](_0x1e3ca5=>_0x587bc5[_0x4ae9a9(0x39f)](_0x1e3ca5));let _0x4d35c4=this[_0x4ae9a9(0x469)][_0x4ae9a9(0x268)](ic),_0x535e9c=this['_injector'][_0x4ae9a9(0x268)](ii);$r()[_0x4ae9a9(0x34b)](_0x2fa2fe=>{const _0x49a444=_0x4ae9a9;_0x4d35c4[_0x49a444(0x39f)](_0x2fa2fe),_0x535e9c[_0x49a444(0x241)](_0x2fa2fe);});}};G(sc,'pluginName','BASES_PLUGIN'),G(sc,_0x282c57(0x1b4),js),G(sc,_0x282c57(0x471),Ms),G(sc,_0x282c57(0x4aa),_0x335149[_0x282c57(0x370)]),sc=X([_0x1ae952(_0x3f6b6a,_0x269033),Y(0x1,_0x4bcdd1(_0x5325dd)),Y(0x2,_0x2a9a16),Y(0x3,_0x54ce33),Y(0x4,_0x23dc17),Y(0x5,_0x2a3dd3(_0x57ca42))],sc);let cc=class extends _0x206208{constructor(_0x4dd82d=Ps,_0xf7df7a,_0x15d3ce,_0xbb9ace,_0x237d1f){const _0x198e1e=_0x282c57;super(),this['_config']=_0x4dd82d,this[_0x198e1e(0x469)]=_0xf7df7a,this[_0x198e1e(0x190)]=_0x15d3ce,this['_configService']=_0xbb9ace,this[_0x198e1e(0x42e)]=_0x237d1f;let {..._0x326a85}=_0xc2b1c2({},Ps,this[_0x198e1e(0x421)]);this['_configService'][_0x198e1e(0x400)]('bases.remote.config',_0x326a85),this[_0x198e1e(0x42e)][_0x198e1e(0x2ae)](_0x335149[_0x198e1e(0x370)],_0x1c1e04),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x2ecd91=>this[_0x198e1e(0x469)][_0x198e1e(0x551)](_0x2ecd91)),oc[_0x198e1e(0x34b)](_0x10f36b=>this[_0x198e1e(0x4fe)](this[_0x198e1e(0x190)][_0x198e1e(0x3f4)](_0x10f36b)));}};G(cc,_0x282c57(0x1a0),_0x282c57(0x369)),G(cc,'packageName',js),G(cc,_0x282c57(0x471),Ms),G(cc,_0x282c57(0x4aa),_0x335149[_0x282c57(0x370)]),cc=X([_0x1ae952(_0x3f6b6a,_0x269033),Y(0x1,_0x4bcdd1(_0x5325dd)),Y(0x2,_0x2a9a16),Y(0x3,_0x23dc17),Y(0x4,_0x54ce33)],cc);function lc(_0x3a486e){const _0x190a9e=_0x282c57;let _0x4f7a71=Cc(_0x3a486e[_0x190a9e(0x4ec)]);if(!_0x4f7a71)return{'query':'','total':0x0,'matches':[]};let _0x3001a1=[],_0x160b9b=[];for(let _0x2c0127=0x0;_0x2c0127<_0x3a486e[_0x190a9e(0x25f)][_0x190a9e(0x4ab)];_0x2c0127++){if(!(_0x2c0127 in _0x3a486e[_0x190a9e(0x25f)]))continue;let _0x187f16=_0x3a486e['table']['fields'][_0x3a486e[_0x190a9e(0x25f)][_0x2c0127]];_0x187f16&&_0x160b9b[_0x190a9e(0x381)]({'field':_0x187f16,'fieldIndex':_0x2c0127});}_0x3a486e['rows'][_0x190a9e(0x34b)]((_0x1c3caf,_0x123a3e)=>{const _0x15ab38=_0x190a9e;_0x160b9b[_0x15ab38(0x34b)](({field:_0x5d6323,fieldIndex:_0xea6dbf})=>{const _0x3e8f23=_0x15ab38;let _0x67a3f0=uc(_0x1c3caf[_0x3e8f23(0x54e)][_0x5d6323['id']],_0x5d6323);if(!_0x67a3f0)return;let _0x17d118=Sc(_0x4f7a71,_0x67a3f0[_0x3e8f23(0x1b7)]);_0x17d118<=0x0||_0x3001a1[_0x3e8f23(0x381)]({'recordId':_0x1c3caf[_0x3e8f23(0x40d)],'fieldId':_0x5d6323['id'],'fieldType':_0x5d6323[_0x3e8f23(0x4aa)],'text':_0x67a3f0[_0x3e8f23(0x2b8)],'score':_0x17d118,'rowIndex':_0x123a3e,'fieldIndex':_0xea6dbf});});}),_0x3001a1[_0x190a9e(0x1df)]((_0xb04853,_0x546146)=>_0x546146[_0x190a9e(0x412)]-_0xb04853[_0x190a9e(0x412)]||_0xb04853[_0x190a9e(0x277)]-_0x546146['rowIndex']||_0xb04853[_0x190a9e(0x4f6)]-_0x546146[_0x190a9e(0x4f6)]);let _0x457a38=_0x3a486e[_0x190a9e(0x22f)]==null?_0x3001a1:_0x3001a1['slice'](0x0,Math['max'](0x0,_0x3a486e[_0x190a9e(0x22f)]));return{'query':_0x4f7a71,'total':_0x3001a1['length'],'matches':Tc(_0x457a38)};}function uc(_0x1027e2,_0x5a37fc){const _0x2691d0=_0x282c57;let _0x506317=[];for(let _0x92aa98 of fc(_0x1027e2,_0x5a37fc)){let _0xe0a8a4=Cc(_0x92aa98);_0xe0a8a4&&_0x506317[_0x2691d0(0x381)](_0xe0a8a4);}return _0x506317['length']?{'displayText':dc(_0x1027e2,_0x5a37fc),'searchTexts':wc(_0x506317)}:null;}function dc(_0x3a47bd,_0x27d3cb){const _0x395204=_0x282c57;switch(_0x27d3cb[_0x395204(0x4aa)]){case _0x239099[_0x395204(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099[_0x395204(0x3af)]:return pc(_0x3a47bd,_0x27d3cb)['join'](',\x20');case _0x239099['Link']:return gc(_0x3a47bd);case _0x239099[_0x395204(0x240)]:case _0x239099[_0x395204(0x35d)]:case _0x239099['UpdatedAt']:return _c(_0x3a47bd,_0x27d3cb);case _0x239099[_0x395204(0x546)]:case _0x239099[_0x395204(0x4b6)]:return vc(_0x3a47bd,_0x27d3cb);case _0x239099['Progress']:return yc(_0x3a47bd,_0x27d3cb);case _0x239099[_0x395204(0x379)]:return _0x3a47bd?_0x395204(0x2ff):_0x395204(0x4b5);case _0x239099[_0x395204(0x392)]:return bc(_0x3a47bd)['join'](',\x20');default:return xc(_0x3a47bd);}}function fc(_0x4350d2,_0x47fcdf){const _0x49cd11=_0x282c57;switch(_0x47fcdf[_0x49cd11(0x4aa)]){case _0x239099[_0x49cd11(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099['Group']:{let _0xda84d0=pc(_0x4350d2,_0x47fcdf);if(Array[_0x49cd11(0x3d5)](_0x4350d2)){let _0x39807e=[..._0xda84d0];for(let _0x36f2b9=0x0;_0x36f2b9<_0x4350d2[_0x49cd11(0x4ab)];_0x36f2b9++)_0x36f2b9 in _0x4350d2&&_0x39807e[_0x49cd11(0x381)](String(_0x4350d2[_0x36f2b9]));return _0x39807e;}return _0x4350d2==null?_0xda84d0:[..._0xda84d0,String(_0x4350d2)];}case _0x239099['Link']:{let _0x58d344=hc(_0x4350d2);return[_0x58d344[_0x49cd11(0x4b7)],_0x58d344[_0x49cd11(0x45d)]];}case _0x239099['Date']:case _0x239099[_0x49cd11(0x35d)]:case _0x239099[_0x49cd11(0x1bc)]:return[_c(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099['Number']:case _0x239099['Currency']:return[vc(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099[_0x49cd11(0x2ca)]:return[yc(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099['Checkbox']:return _0x4350d2?[_0x49cd11(0x2ff),_0x49cd11(0x362),_0x49cd11(0x3c2)]:[_0x49cd11(0x4b5),'No',_0x49cd11(0x477)];case _0x239099[_0x49cd11(0x392)]:return bc(_0x4350d2);default:return[xc(_0x4350d2)];}}function pc(_0xbb71bf,_0x3327c4){const _0xd1c035=_0x282c57;var _0x5c6c6f;let _0x3c9bde=Array['isArray']((_0x5c6c6f=_0x3327c4[_0xd1c035(0x50c)])==null?void 0x0:_0x5c6c6f[_0xd1c035(0x4f3)])?_0x3327c4[_0xd1c035(0x50c)][_0xd1c035(0x4f3)]:[],_0x5285b4=[];if(Array['isArray'](_0xbb71bf)){for(let _0x158435=0x0;_0x158435<_0xbb71bf[_0xd1c035(0x4ab)];_0x158435++){if(!(_0x158435 in _0xbb71bf))continue;let _0x2149a4=String(_0xbb71bf[_0x158435]);_0x2149a4&&_0x5285b4[_0xd1c035(0x381)](mc(_0x3c9bde,_0x2149a4));}return _0x5285b4;}if(_0xbb71bf!=null){let _0x2e09c8=String(_0xbb71bf);_0x2e09c8&&_0x5285b4[_0xd1c035(0x381)](mc(_0x3c9bde,_0x2e09c8));}return _0x5285b4;}function mc(_0x488656,_0x32a4c7){const _0x48e852=_0x282c57;for(let _0x19427a of _0x488656){if(typeof _0x19427a=='string'&&_0x19427a===_0x32a4c7)return _0x19427a;if(_0x19427a&&typeof _0x19427a=='object'){let _0x14a185=_0x19427a;if(String(_0x14a185['id']??_0x14a185[_0x48e852(0x2f4)]??'')===_0x32a4c7||String(_0x14a185[_0x48e852(0x2f4)]??'')===_0x32a4c7)return String(_0x14a185[_0x48e852(0x2f4)]??_0x14a185['id']??_0x32a4c7);}}return _0x32a4c7;}function hc(_0x36cd03){const _0x1737d7=_0x282c57;if(_0x36cd03&&typeof _0x36cd03=='object'&&!Array[_0x1737d7(0x3d5)](_0x36cd03)){let _0x2bd60b=_0x36cd03;return{'text':String(_0x2bd60b['text']??_0x2bd60b[_0x1737d7(0x45d)]??''),'url':String(_0x2bd60b[_0x1737d7(0x45d)]??'')};}return{'text':xc(_0x36cd03),'url':xc(_0x36cd03)};}function gc(_0x490f80){const _0x25f11d=_0x282c57;let _0x3ff6ca=hc(_0x490f80);return _0x3ff6ca['text']||_0x3ff6ca[_0x25f11d(0x45d)];}function _c(_0x3ded7c,_0x55e0b3){const _0x39ec10=_0x282c57;return typeof _0x3ded7c!='number'||!Number[_0x39ec10(0x210)](_0x3ded7c)?'':mn(_0x3ded7c,_0x55e0b3[_0x39ec10(0x50c)]);}function vc(_0x884842,_0x81d71c){const _0x1afe11=_0x282c57;let _0x636fc=typeof _0x884842==_0x1afe11(0x389)?_0x884842:Number(_0x884842);return Number[_0x1afe11(0x210)](_0x636fc)?qo(_0x636fc,_0x81d71c[_0x1afe11(0x50c)]):'';}function yc(_0x3cc3a9,_0x4fe61e){const _0x3d42ab=_0x282c57;let _0x1d3f9e=typeof _0x3cc3a9=='number'?_0x3cc3a9:Number(_0x3cc3a9);return Number['isFinite'](_0x1d3f9e)?Qo(_0x1d3f9e,_0x4fe61e[_0x3d42ab(0x50c)]):'';}function bc(_0x1ff799){const _0x40550f=_0x282c57;return Array['isArray'](_0x1ff799)?_0x1ff799[_0x40550f(0x26a)](_0x3987f1=>{const _0xc3430f=_0x40550f;if(!_0x3987f1||typeof _0x3987f1!=_0xc3430f(0x4ba))return[];let _0x2933e3=_0x3987f1,_0x241898=String(_0x2933e3[_0xc3430f(0x2f4)]??_0x2933e3[_0xc3430f(0x45d)]??'')[_0xc3430f(0x24d)]();return _0x241898?[_0x241898]:[];}):[];}function xc(_0x55ea3){const _0x333e35=_0x282c57;if(_0x55ea3==null)return'';if(typeof _0x55ea3==_0x333e35(0x386))return _0x55ea3?_0x333e35(0x2ee):_0x333e35(0x4ac);if(typeof _0x55ea3=='number')return String(_0x55ea3);if(Array['isArray'](_0x55ea3)){let _0x4877d5=[];for(let _0x2c8cd2=0x0;_0x2c8cd2<_0x55ea3[_0x333e35(0x4ab)];_0x2c8cd2++){if(!(_0x2c8cd2 in _0x55ea3))continue;let _0x214b01=xc(_0x55ea3[_0x2c8cd2]);_0x214b01&&_0x4877d5[_0x333e35(0x381)](_0x214b01);}return _0x4877d5[_0x333e35(0x1c0)](',\x20');}if(typeof _0x55ea3=='object'){let _0x4407d0=_0x55ea3;return String(_0x4407d0[_0x333e35(0x336)]??_0x4407d0['name']??_0x4407d0[_0x333e35(0x4b7)]??_0x4407d0[_0x333e35(0x45d)]??'')[_0x333e35(0x24d)]();}return String(_0x55ea3);}function _0x3047(_0x2093fa,_0x20bbd1){_0x2093fa=_0x2093fa-0x18b;const _0x332d1e=_0x332d();let _0x3047b2=_0x332d1e[_0x2093fa];return _0x3047b2;}function Sc(_0x3308c3,_0x3c7154){const _0xa2b481=_0x282c57;let _0x3c2437=0x0;for(let _0x546c22 of _0x3c7154)if(_0x546c22){if(_0x546c22===_0x3308c3){_0x3c2437=Math[_0xa2b481(0x468)](_0x3c2437,0x12c);continue;}if(_0x546c22['startsWith'](_0x3308c3)){_0x3c2437=Math['max'](_0x3c2437,0xfa);continue;}_0x546c22[_0xa2b481(0x3df)](_0x3308c3)&&(_0x3c2437=Math['max'](_0x3c2437,0xc8));}return _0x3c2437;}function Cc(_0x23195a){const _0x5cede0=_0x282c57;return _0x23195a['trim']()[_0x5cede0(0x1a6)](/\s+/g,'\x20')['toLowerCase']();}function wc(_0xf2db3e){const _0x2e812d=_0x282c57;return Array[_0x2e812d(0x2f3)](new Set(_0xf2db3e));}function Tc(_0xf842ce){const _0x3df469=_0x282c57;let _0x48cb25=[];for(let {rowIndex:_0x2aa12b,fieldIndex:_0xc12392,..._0x197e66}of _0xf842ce)_0x48cb25[_0x3df469(0x381)](_0x197e66);return _0x48cb25;}function Ec(_0x509c88){const _0x49d1be=_0x282c57;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x509c88[_0x49d1be(0x226)],'t':_0x509c88[_0x49d1be(0x45e)],'p':_0x509c88['patches'][_0x49d1be(0x309)](_0x267bff=>[_0x267bff['row'],_0x267bff[_0x49d1be(0x340)],Ac(_0x267bff[_0x49d1be(0x373)])]),..._0x509c88[_0x49d1be(0x245)]===void 0x0?{}:{'g':_0x509c88[_0x49d1be(0x245)]}};}function Dc(_0x4f2d20){const _0x31aa4f=_0x282c57;if(Lc(_0x4f2d20,'base-range-values-v1'),!Oc(_0x4f2d20)){if(!Ic(_0x4f2d20))throw Error(_0x31aa4f(0x4ea));return _0x4f2d20;}return{'unitId':_0x4f2d20['u'],'tableId':_0x4f2d20['t'],'patches':_0x4f2d20['p'][_0x31aa4f(0x309)](([_0x2d69a9,_0x316945,_0x9a5516])=>({'row':_0x2d69a9,'col':_0x316945,'value':jc(_0x9a5516)})),..._0x4f2d20['g']===void 0x0?{}:{'trigger':_0x4f2d20['g']}};}function Oc(_0x4e3e4b){const _0x34a20d=_0x282c57;return!Rc(_0x4e3e4b)||_0x4e3e4b['compress']!==!0x0||_0x4e3e4b[_0x34a20d(0x39c)]!==_0x34a20d(0x259)?!0x1:typeof _0x4e3e4b['u']==_0x34a20d(0x3e3)&&typeof _0x4e3e4b['t']=='string'&&(_0x4e3e4b['g']===void 0x0||typeof _0x4e3e4b['g']=='string')&&Array[_0x34a20d(0x3d5)](_0x4e3e4b['p'])&&_0x4e3e4b['p'][_0x34a20d(0x300)](_0x5594dc=>Array['isArray'](_0x5594dc)&&_0x5594dc[_0x34a20d(0x4ab)]===0x3&&Number['isInteger'](_0x5594dc[0x0])&&Number[_0x34a20d(0x3a0)](_0x5594dc[0x1]));}function kc(_0x2f7646){const _0x44190c=_0x282c57;return!Rc(_0x2f7646)||_0x2f7646[_0x44190c(0x192)]!==!0x0||_0x2f7646[_0x44190c(0x39c)]!==_0x44190c(0x465)||!Rc(_0x2f7646[_0x44190c(0x528)])?!0x1:Object[_0x44190c(0x54e)](_0x2f7646['tables'])[_0x44190c(0x300)](_0x374e8c=>Rc(_0x374e8c)&&(_0x374e8c['cd']===void 0x0||Array[_0x44190c(0x3d5)](_0x374e8c['cd'])&&_0x374e8c['cd'][_0x44190c(0x300)](_0x371c74=>Array['isArray'](_0x371c74)&&_0x371c74['length']===0x3&&Number['isInteger'](_0x371c74[0x0])&&Number['isInteger'](_0x371c74[0x1])&&Fc(_0x371c74[0x2]))));}function Ac(_0x5e37d3){return Pc(_0x5e37d3)?Mc(_0x5e37d3):_0x5e37d3;}function jc(_0x7aa50b){return Fc(_0x7aa50b)?Nc(_0x7aa50b):_0x7aa50b;}function Mc(_0xc27f34){return{'c':0x1,..._0xc27f34['v']===void 0x0?{}:{'v':_0xc27f34['v']},..._0xc27f34['t']!==void 0x0&&_0xc27f34['t']!==null?{'t':_0xc27f34['t']}:_0xc27f34['t']===null?{'t':null}:{},..._0xc27f34['f']!==void 0x0&&_0xc27f34['f']!==null?{'f':_0xc27f34['f']}:_0xc27f34['f']===null?{'f':null}:{},..._0xc27f34['si']!==void 0x0&&_0xc27f34['si']!==null?{'si':_0xc27f34['si']}:_0xc27f34['si']===null?{'si':null}:{},..._0xc27f34['p']!==void 0x0&&_0xc27f34['p']!==null?{'p':_0xc27f34['p']}:_0xc27f34['p']===null?{'p':null}:{}};}function Nc(_0x105c5b){return{..._0x105c5b['v']===void 0x0?{}:{'v':_0x105c5b['v']},..._0x105c5b['t']===void 0x0?{}:{'t':_0x105c5b['t']},..._0x105c5b['f']===void 0x0?{}:{'f':_0x105c5b['f']},..._0x105c5b['si']===void 0x0?{}:{'si':_0x105c5b['si']},..._0x105c5b['p']===void 0x0?{}:{'p':_0x105c5b['p']}};}function Pc(_0x1e3eb3){const _0x3137a1=_0x282c57;return!!_0x1e3eb3&&typeof _0x1e3eb3==_0x3137a1(0x4ba)&&!Array[_0x3137a1(0x3d5)](_0x1e3eb3)&&(Object[_0x3137a1(0x35c)][_0x3137a1(0x445)][_0x3137a1(0x2a4)](_0x1e3eb3,'v')||Object[_0x3137a1(0x35c)]['hasOwnProperty'][_0x3137a1(0x2a4)](_0x1e3eb3,'t')||Object[_0x3137a1(0x35c)][_0x3137a1(0x445)]['call'](_0x1e3eb3,'p')||Object['prototype']['hasOwnProperty'][_0x3137a1(0x2a4)](_0x1e3eb3,'f')||Object[_0x3137a1(0x35c)][_0x3137a1(0x445)][_0x3137a1(0x2a4)](_0x1e3eb3,'si'));}function Fc(_0x505df6){return Rc(_0x505df6)&&_0x505df6['c']===0x1;}function Ic(_0x2aef50){const _0x1d8b38=_0x282c57;return Rc(_0x2aef50)&&typeof _0x2aef50['unitId']==_0x1d8b38(0x3e3)&&typeof _0x2aef50[_0x1d8b38(0x45e)]=='string'&&(_0x2aef50[_0x1d8b38(0x245)]===void 0x0||typeof _0x2aef50[_0x1d8b38(0x245)]==_0x1d8b38(0x3e3))&&Array[_0x1d8b38(0x3d5)](_0x2aef50[_0x1d8b38(0x345)])&&_0x2aef50['patches'][_0x1d8b38(0x300)](_0x4692b0=>Rc(_0x4692b0)&&Number[_0x1d8b38(0x3a0)](_0x4692b0[_0x1d8b38(0x2f0)])&&Number['isInteger'](_0x4692b0['col'])&&_0x1d8b38(0x373)in _0x4692b0);}function Lc(_0x59218a,_0x5ed8b5){const _0x576321=_0x282c57;if(Rc(_0x59218a)&&_0x59218a[_0x576321(0x192)]===!0x0){if(_0x59218a[_0x576321(0x39c)]!==_0x5ed8b5)throw Error(_0x576321(0x54b)+String(_0x59218a[_0x576321(0x39c)])+'\x22.');if(!(_0x5ed8b5===_0x576321(0x259)?Oc(_0x59218a):kc(_0x59218a)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x5ed8b5+'\x22.');}}function Rc(_0x5398aa){const _0x4ef6dd=_0x282c57;return!!_0x5398aa&&typeof _0x5398aa==_0x4ef6dd(0x4ba)&&!Array[_0x4ef6dd(0x3d5)](_0x5398aa);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x5e32d1 as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|