@univerjs-pro/bases 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x41c6(_0x3acdbe,_0x4e0f83){_0x3acdbe=_0x3acdbe-0x14e;const _0x416b85=_0x416b();let _0x41c6a1=_0x416b85[_0x3acdbe];return _0x41c6a1;}const _0x5c2393=_0x41c6;(function(_0x2c6694,_0x279154){const _0x4c4f2e=_0x41c6,_0x2230be=_0x2c6694();while(!![]){try{const _0x518924=parseInt(_0x4c4f2e(0x15d))/0x1*(parseInt(_0x4c4f2e(0x164))/0x2)+-parseInt(_0x4c4f2e(0x159))/0x3*(-parseInt(_0x4c4f2e(0x169))/0x4)+parseInt(_0x4c4f2e(0x152))/0x5+parseInt(_0x4c4f2e(0x15f))/0x6*(-parseInt(_0x4c4f2e(0x157))/0x7)+parseInt(_0x4c4f2e(0x15a))/0x8+-parseInt(_0x4c4f2e(0x15c))/0x9+-parseInt(_0x4c4f2e(0x15b))/0xa*(parseInt(_0x4c4f2e(0x167))/0xb);if(_0x518924===_0x279154)break;else _0x2230be['push'](_0x2230be['shift']());}catch(_0x55fd6f){_0x2230be['push'](_0x2230be['shift']());}}}(_0x416b,0x75bc0));const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x5c2393(0x166),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x5c2393(0x151),'email':_0x5c2393(0x154),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x5c2393(0x16c),'recordId':_0x5c2393(0x14f),'createdBy':'建立人','updatedBy':_0x5c2393(0x161),'createdAt':_0x5c2393(0x16a),'updatedAt':_0x5c2393(0x150),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x5c2393(0x168),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'行事曆','gantt':_0x5c2393(0x14e),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x5c2393(0x158),'invalidFieldType':_0x5c2393(0x15e),'invalidCellValue':_0x5c2393(0x156),'invalidKanbanGroupField':_0x5c2393(0x155),'invalidCalendarDateField':_0x5c2393(0x165),'invalidGanttDateField':_0x5c2393(0x162)},'command':{'updateCell':_0x5c2393(0x153),'createField':'建立欄位','deleteField':'刪除欄位','createRecord':_0x5c2393(0x16b),'deleteRecord':_0x5c2393(0x163),'updateViewConfig':_0x5c2393(0x160)}}};function _0x416b(){const _0x2ad64c=['刪除記錄','255138hVsAHw','行事曆需要日期欄位','核取方塊','11RKQEzF','輸入內容','8924KEOWYs','建立時間','建立記錄','關聯記錄','甘特圖','記錄\x20ID','更新時間','電話號碼','232350jMdNqK','更新儲存格','電子郵件','看板需要可分組欄位','儲存格值無效','51275lYvuUa','欄位標題不能為空','789adIivJ','5872752DclbqL','6375130ovxamT','2123622ClwatO','1IszpnM','欄位類型無效','114ZVlmee','更新檢視設定','更新人','甘特圖檢視需要開始和結束日期欄位'];_0x416b=function(){return _0x2ad64c;};return _0x416b();}export{e as default};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x287a(_0x41f08a,_0x201c4a){_0x41f08a=_0x41f08a-0x157;const _0x74079f=_0x7407();let _0x287a59=_0x74079f[_0x41f08a];return _0x287a59;}(function(_0x5c3c28,_0x2c1fad){const _0x195692=_0x287a,_0x1562f5=_0x5c3c28();while(!![]){try{const _0x255a2b=parseInt(_0x195692(0x28a))/0x1+-parseInt(_0x195692(0x27e))/0x2*(-parseInt(_0x195692(0x178))/0x3)+-parseInt(_0x195692(0x259))/0x4+-parseInt(_0x195692(0x280))/0x5*(-parseInt(_0x195692(0x226))/0x6)+parseInt(_0x195692(0x30d))/0x7*(-parseInt(_0x195692(0x2ff))/0x8)+parseInt(_0x195692(0x2ef))/0x9*(parseInt(_0x195692(0x174))/0xa)+-parseInt(_0x195692(0x1f6))/0xb;if(_0x255a2b===_0x2c1fad)break;else _0x1562f5['push'](_0x1562f5['shift']());}catch(_0xc92691){_0x1562f5['push'](_0x1562f5['shift']());}}}(_0x7407,0x8e8be),function(_0x40afe2,_0x13024a){const _0x42fe0f=_0x287a;typeof exports==_0x42fe0f(0x311)&&typeof module<'u'?_0x13024a(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/protocol'),require('@univerjs-pro/engine-formula')):typeof define==_0x42fe0f(0x1d2)&&define['amd']?define([_0x42fe0f(0x2df),_0x42fe0f(0x201),_0x42fe0f(0x16e),_0x42fe0f(0x2bb),_0x42fe0f(0x242),'@univerjs-pro/engine-formula'],_0x13024a):(_0x40afe2=typeof globalThis<'u'?globalThis:_0x40afe2||self,_0x13024a(_0x40afe2[_0x42fe0f(0x1c8)]={},_0x40afe2[_0x42fe0f(0x227)],_0x40afe2[_0x42fe0f(0x2ed)],_0x40afe2[_0x42fe0f(0x182)],_0x40afe2[_0x42fe0f(0x265)],_0x40afe2[_0x42fe0f(0x219)]));}(this,function(_0x39aa09,_0x48619f,_0x758172,_0x53678c,_0x386cc4,_0xa1ac30){const _0x360f56=_0x287a;Object[_0x360f56(0x28c)](_0x39aa09,Symbol[_0x360f56(0x2ee)],{'value':'Module'});var _0x1cd3fd=Object['create'],_0x1b60f9=Object[_0x360f56(0x28c)],_0x13aa19=Object['getOwnPropertyDescriptor'],_0x5363cc=Object[_0x360f56(0x284)],_0x3e3bd9=Object[_0x360f56(0x28e)],_0x7f65cf=Object[_0x360f56(0x1cd)][_0x360f56(0x235)],_0x439bd1=(_0xdbe068,_0x2916db,_0x54018e,_0x3c456e)=>{const _0x5811c7=_0x360f56;if(_0x2916db&&typeof _0x2916db==_0x5811c7(0x311)||typeof _0x2916db==_0x5811c7(0x1d2)){for(var _0x587523=_0x5363cc(_0x2916db),_0x46c1b4=0x0,_0x562bef=_0x587523[_0x5811c7(0x270)],_0x5b984c;_0x46c1b4<_0x562bef;_0x46c1b4++)_0x5b984c=_0x587523[_0x46c1b4],!_0x7f65cf[_0x5811c7(0x278)](_0xdbe068,_0x5b984c)&&_0x5b984c!==_0x54018e&&_0x1b60f9(_0xdbe068,_0x5b984c,{'get':(_0x9cdefb=>_0x2916db[_0x9cdefb])[_0x5811c7(0x20f)](null,_0x5b984c),'enumerable':!(_0x3c456e=_0x13aa19(_0x2916db,_0x5b984c))||_0x3c456e['enumerable']});}return _0xdbe068;};_0x53678c=((_0x56b460,_0x4ed6b1,_0xaa594c)=>(_0xaa594c=_0x56b460==null?{}:_0x1cd3fd(_0x3e3bd9(_0x56b460)),_0x439bd1(_0x4ed6b1||!_0x56b460||!_0x56b460[_0x360f56(0x18d)]||!_0x7f65cf['call'](_0x56b460,_0x360f56(0x2ca))?_0x1b60f9(_0xaa594c,_0x360f56(0x2ca),{'value':_0x56b460,'enumerable':!0x0}):_0xaa594c,_0x56b460)))(_0x53678c);var _0x1339aa=class{constructor(_0x5320c8,_0x148a71,_0x4ed0be){const _0x366913=_0x360f56;this[_0x366913(0x1b1)]=_0x5320c8,this[_0x366913(0x1d4)]=_0x148a71,this[_0x366913(0x159)]=_0x4ed0be;}async['setObjectPermissions'](_0x5f1ffe){const _0x179d17=_0x360f56;return this[_0x179d17(0x1d4)][_0x179d17(0x163)](_0x48619f[_0x179d17(0x1a9)]['id'],{'unitId':this[_0x179d17(0x1b1)],'changes':_0x5f1ffe});}async[_0x360f56(0x220)](_0x4976f2,_0x1eb42f){const _0x584286=_0x360f56;await this['_commandService'][_0x584286(0x163)](_0x48619f[_0x584286(0x157)]['id'],{'unitId':this[_0x584286(0x1b1)],'objectId':this[_0x584286(0x1b1)],'action':_0x4976f2,'value':_0x1eb42f});}['getPoint'](_0x489d98){const _0x5d4437=_0x360f56;return(0x0,_0x48619f[_0x5d4437(0x1c7)])(this[_0x5d4437(0x159)],this['_unitId'],this['_unitId'],_0x489d98);}async[_0x360f56(0x2dd)](_0x47b02b=!0x0){const _0x358d6e=_0x360f56;await this[_0x358d6e(0x1d4)][_0x358d6e(0x163)](_0x48619f[_0x358d6e(0x157)]['id'],{'unitId':this[_0x358d6e(0x1b1)],'objectId':this[_0x358d6e(0x1b1)],'action':_0x386cc4[_0x358d6e(0x22e)]['Edit'],'value':_0x47b02b});}async[_0x360f56(0x2d2)](){const _0x38c9b2=_0x360f56;await this[_0x38c9b2(0x1d4)]['executeCommand'](_0x48619f[_0x38c9b2(0x157)]['id'],{'unitId':this[_0x38c9b2(0x1b1)],'objectId':this[_0x38c9b2(0x1b1)],'action':_0x386cc4[_0x38c9b2(0x22e)]['Edit'],'value':!0x1});}[_0x360f56(0x240)](){const _0x56c7f2=_0x360f56;return(0x0,_0x48619f[_0x56c7f2(0x1c7)])(this[_0x56c7f2(0x159)],this[_0x56c7f2(0x1b1)],this[_0x56c7f2(0x1b1)],_0x386cc4[_0x56c7f2(0x22e)][_0x56c7f2(0x1f1)]);}},_0x543a91=class{constructor(_0x4a64a4,_0xf6b12b,_0x43481c,_0x50fd13,_0x7f3b15){const _0x57d719=_0x360f56;this[_0x57d719(0x1b1)]=_0x4a64a4,this['_objectId']=_0xf6b12b,this['_parentObjectIds']=_0x43481c,this['_commandService']=_0x50fd13,this[_0x57d719(0x159)]=_0x7f3b15;}async[_0x360f56(0x2dd)](_0x428c7b=!0x0){const _0x5efa8e=_0x360f56;await this[_0x5efa8e(0x1d4)][_0x5efa8e(0x163)](_0x48619f[_0x5efa8e(0x157)]['id'],{'unitId':this[_0x5efa8e(0x1b1)],'objectId':this[_0x5efa8e(0x301)],'action':_0x386cc4[_0x5efa8e(0x22e)]['Edit'],'value':_0x428c7b});}async[_0x360f56(0x2d2)](){const _0x3ff7d5=_0x360f56;await this[_0x3ff7d5(0x1d4)][_0x3ff7d5(0x163)](_0x48619f[_0x3ff7d5(0x157)]['id'],{'unitId':this['_unitId'],'objectId':this[_0x3ff7d5(0x301)],'action':_0x386cc4[_0x3ff7d5(0x22e)][_0x3ff7d5(0x1f1)],'value':!0x1});}[_0x360f56(0x240)](){const _0x543d69=_0x360f56;return(0x0,_0x48619f[_0x543d69(0x15d)])(this[_0x543d69(0x159)],this[_0x543d69(0x1b1)],[...this['_parentObjectIds'],this[_0x543d69(0x301)]]);}};function _0x2ff177(_0x5785ae,_0x48fac7){return function(_0x145ae1,_0x26ecc4){_0x48fac7(_0x145ae1,_0x26ecc4,_0x5785ae);};}function _0x283871(_0x34c538,_0x533b29,_0x1d98dd,_0x294e55){const _0x1c03e1=_0x360f56;var _0x56366c=arguments['length'],_0x1ff6e5=_0x56366c<0x3?_0x533b29:_0x294e55===null?_0x294e55=Object['getOwnPropertyDescriptor'](_0x533b29,_0x1d98dd):_0x294e55,_0x2377c7;if(typeof Reflect==_0x1c03e1(0x311)&&typeof Reflect[_0x1c03e1(0x1c9)]=='function')_0x1ff6e5=Reflect['decorate'](_0x34c538,_0x533b29,_0x1d98dd,_0x294e55);else{for(var _0x3f82d0=_0x34c538[_0x1c03e1(0x270)]-0x1;_0x3f82d0>=0x0;_0x3f82d0--)(_0x2377c7=_0x34c538[_0x3f82d0])&&(_0x1ff6e5=(_0x56366c<0x3?_0x2377c7(_0x1ff6e5):_0x56366c>0x3?_0x2377c7(_0x533b29,_0x1d98dd,_0x1ff6e5):_0x2377c7(_0x533b29,_0x1d98dd))||_0x1ff6e5);}return _0x56366c>0x3&&_0x1ff6e5&&Object[_0x1c03e1(0x28c)](_0x533b29,_0x1d98dd,_0x1ff6e5),_0x1ff6e5;}let _0xe9c966=class{constructor(_0x2280cd,_0x5b07ae,_0x25db7c,_0x3bdfbc,_0x1a774e){const _0x2bf106=_0x360f56;this[_0x2bf106(0x24b)]=_0x2280cd,this['_table']=_0x5b07ae,this[_0x2bf106(0x1ad)]=_0x25db7c,this[_0x2bf106(0x1d4)]=_0x3bdfbc,this[_0x2bf106(0x159)]=_0x1a774e;}['getId'](){const _0x2d6f93=_0x360f56;return this[_0x2d6f93(0x1ad)];}[_0x360f56(0x234)](){const _0x3e06d4=_0x360f56;let _0x50dd6b=this[_0x3e06d4(0x22a)]['getId']();return new _0x543a91(this[_0x3e06d4(0x24b)][_0x3e06d4(0x186)](),(0x0,_0x48619f['getBaseFieldPermissionObjectId'])(_0x50dd6b,this[_0x3e06d4(0x1ad)]),[(0x0,_0x48619f[_0x3e06d4(0x28f)])(_0x50dd6b)],this[_0x3e06d4(0x1d4)],this['_permissionService']);}[_0x360f56(0x17b)](){const _0x565350=_0x360f56;return this[_0x565350(0x26d)]();}[_0x360f56(0x2e1)](){const _0x4f6ba1=_0x360f56;return this[_0x4f6ba1(0x26d)]()['name'];}[_0x360f56(0x1b5)](){const _0x2fb402=_0x360f56;return this[_0x2fb402(0x26d)]()[_0x2fb402(0x1e7)];}[_0x360f56(0x17f)](){const _0x32c7fe=_0x360f56;return this[_0x32c7fe(0x26d)]()[_0x32c7fe(0x185)];}[_0x360f56(0x2d1)](){const _0x3f7aeb=_0x360f56;return this[_0x3f7aeb(0x26d)]()[_0x3f7aeb(0x208)];}[_0x360f56(0x210)](){const _0x3f2bba=_0x360f56;return this[_0x3f2bba(0x26d)]()['description'];}[_0x360f56(0x180)](){const _0x1d4256=_0x360f56;return!!this['_getField']()[_0x1d4256(0x246)];}[_0x360f56(0x2a5)](_0x32ef5c){const _0x527a0b=_0x360f56;return this[_0x527a0b(0x2b3)]({'name':_0x32ef5c});}[_0x360f56(0x309)](_0x253cd8,_0x1805fb){const _0x2a6f92=_0x360f56;return this[_0x2a6f92(0x2b3)]({'config':_0x253cd8},_0x1805fb);}[_0x360f56(0x241)](_0xca76a4){const _0x525cd0=_0x360f56;return this[_0x525cd0(0x2b3)]({'defaultValue':_0xca76a4});}['update'](_0x1cb124,_0x262000){const _0x2cf799=_0x360f56;let _0x5d0df6=this['_getField']()[_0x2cf799(0x1e7)];return(_0x1cb124['type']??_0x5d0df6)===_0x758172[_0x2cf799(0x2bf)]['Formula']&&(Object[_0x2cf799(0x1cd)][_0x2cf799(0x235)]['call'](_0x1cb124,'config')||_0x1cb124[_0x2cf799(0x1e7)]===_0x758172['BaseFieldType'][_0x2cf799(0x2fc)])&&!this[_0x2cf799(0x2f1)](_0x262000)?!0x1:this['_commandService']['syncExecuteCommand'](_0x48619f['UpdateBaseFieldCommand']['id'],{'unitId':this[_0x2cf799(0x24b)]['getId'](),'tableId':this['_table']['getId'](),'fieldId':this['_fieldId'],'patch':_0x1cb124});}[_0x360f56(0x2b1)](_0x66f9f8,_0x5ce426={},_0x551acb){const _0xf953df=_0x360f56;return _0x66f9f8===_0x758172['BaseFieldType'][_0xf953df(0x2fc)]&&!this['_writeFormulaExternalReferences'](_0x551acb)?!0x1:this[_0xf953df(0x1d4)]['syncExecuteCommand'](_0x48619f['ChangeBaseFieldTypeCommand']['id'],{'unitId':this[_0xf953df(0x24b)][_0xf953df(0x186)](),'tableId':this['_table'][_0xf953df(0x186)](),'fieldId':this[_0xf953df(0x1ad)],'input':{'type':_0x66f9f8,'config':_0x5ce426}});}['delete'](){const _0xef920e=_0x360f56;return this[_0xef920e(0x1d4)][_0xef920e(0x207)](_0x48619f[_0xef920e(0x213)]['id'],{'unitId':this['_base'][_0xef920e(0x186)](),'tableId':this[_0xef920e(0x22a)][_0xef920e(0x186)](),'fieldId':this['_fieldId']});}['move'](_0x598f81){const _0x417fa1=_0x360f56;return this[_0x417fa1(0x1d4)][_0x417fa1(0x207)](_0x48619f[_0x417fa1(0x176)]['id'],{'unitId':this[_0x417fa1(0x24b)][_0x417fa1(0x186)](),'tableId':this[_0x417fa1(0x22a)][_0x417fa1(0x186)](),'fieldId':this[_0x417fa1(0x1ad)],'target':_0x598f81});}[_0x360f56(0x26d)](){const _0x4a5d12=_0x360f56;let _0x3eb90f=this[_0x4a5d12(0x22a)][_0x4a5d12(0x1a2)]()[_0x4a5d12(0x25d)][this[_0x4a5d12(0x1ad)]];if(!_0x3eb90f)throw Error(_0x4a5d12(0x1c4)+this[_0x4a5d12(0x1ad)]+_0x4a5d12(0x30f));return _0x3eb90f;}[_0x360f56(0x2f1)](_0x24c751){const _0x15732f=_0x360f56;if(!_0x24c751||!Array['isArray'](_0x24c751[_0x15732f(0x2cb)]))return console[_0x15732f(0x229)]('[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.'),!0x1;if(_0x24c751[_0x15732f(0x2cb)][_0x15732f(0x270)]===0x0)return!0x0;let _0x2b7f4f=this[_0x15732f(0x1d4)][_0x15732f(0x207)](_0xa1ac30[_0x15732f(0x306)]['id'],{'unitId':this[_0x15732f(0x24b)][_0x15732f(0x186)](),'references':_0x24c751[_0x15732f(0x2cb)]});return _0x2b7f4f||console[_0x15732f(0x229)](_0x15732f(0x215)),_0x2b7f4f;}};_0xe9c966=_0x283871([_0x2ff177(0x3,_0x758172[_0x360f56(0x1e2)]),_0x2ff177(0x4,_0x758172[_0x360f56(0x1ce)])],_0xe9c966);let _0x1d13e3=function(_0x2c7707){const _0x15fa69=_0x360f56;return _0x2c7707['Id']='id',_0x2c7707[_0x15fa69(0x23e)]='name',_0x2c7707['Auto']='auto',_0x2c7707;}({});function _0x4a80b3(_0x2a1bbb){const _0xe496af=_0x360f56;return!!(_0x2a1bbb&&_0x2a1bbb[_0xe496af(0x199)]!==!0x0&&_0x2a1bbb['type']!==_0x758172[_0xe496af(0x2bf)]['RecordId']);}function _0x4e634a(_0x184ab2,_0x296547,_0x4d51d0='id'){const _0x46df0e=_0x360f56;if(!_0x296547)return{};let _0x57d015={};return Object[_0x46df0e(0x1c6)](_0x296547)[_0x46df0e(0x252)](([_0x39daa8,_0x584687])=>{let _0x179762=_0x3dd948(_0x184ab2,_0x39daa8,_0x4d51d0);_0x57d015[_0x179762]=_0x33b55d(_0x184ab2['fields'][_0x179762],_0x584687);}),_0x57d015;}function _0x33b55d(_0x1f7123,_0x4f149e){const _0x5c2b52=_0x360f56;if((_0x1f7123==null?void 0x0:_0x1f7123[_0x5c2b52(0x1e7)])!==_0x758172['BaseFieldType'][_0x5c2b52(0x209)]||_0x4f149e==null)return _0x4f149e;if(!Array[_0x5c2b52(0x1b0)](_0x4f149e))throw TypeError(_0x5c2b52(0x2bc)+_0x1f7123[_0x5c2b52(0x2a9)]+_0x5c2b52(0x18c));return _0x4f149e[_0x5c2b52(0x2c8)]((_0x198ef3,_0x59e837)=>_0x4c1a62(_0x1f7123,_0x198ef3,_0x59e837));}function _0x3dd948(_0x47fba0,_0x7bd5cf,_0xaa4067){const _0x36cb66=_0x360f56;if(_0xaa4067==='id'||_0xaa4067===_0x36cb66(0x1ec)&&_0x47fba0[_0x36cb66(0x25d)][_0x7bd5cf])return _0x7bd5cf;let _0x4f7c48=Object[_0x36cb66(0x1ed)](_0x47fba0['fields'])[_0x36cb66(0x290)](_0x4b95a5=>_0x4b95a5['name']===_0x7bd5cf);if(_0x4f7c48[_0x36cb66(0x270)]===0x1)return _0x4f7c48[0x0]['id'];throw _0x4f7c48[_0x36cb66(0x270)]>0x1?Error(_0x36cb66(0x249)+_0x7bd5cf):Error(_0x36cb66(0x18e)+_0x7bd5cf);}function _0x4c1a62(_0x30493d,_0x3b2fe0,_0x473917){const _0x5522c7=_0x360f56;let _0x5820d9=_0x5522c7(0x1b7)+_0x473917+_0x5522c7(0x1d7)+_0x30493d[_0x5522c7(0x2a9)]+'\x22';if(!_0x8749b8(_0x3b2fe0))throw TypeError(_0x5820d9+_0x5522c7(0x20b));if('url'in _0x3b2fe0)throw TypeError(_0x5820d9+_0x5522c7(0x255));if('type'in _0x3b2fe0)throw TypeError(_0x5820d9+_0x5522c7(0x304));let _0x59f740=_0x172e40(_0x3b2fe0['id'],_0x5820d9,'id'),_0x27a798=_0x172e40(_0x3b2fe0[_0x5522c7(0x2a9)],_0x5820d9,_0x5522c7(0x2a9)),_0x23593e=_0x172e40(_0x3b2fe0['source'],_0x5820d9,'source');return{'id':_0x59f740,'name':_0x27a798,'source':_0x23593e,'sourceType':_0x5c2290(_0x3b2fe0['sourceType'],_0x23593e,_0x5820d9),..._0x1367fd(_0x3b2fe0,_0x5522c7(0x2e6),_0x5820d9),..._0x2d81b2(_0x3b2fe0,_0x5522c7(0x276),_0x5820d9),..._0x2d81b2(_0x3b2fe0,_0x5522c7(0x17d),_0x5820d9),..._0x2d81b2(_0x3b2fe0,_0x5522c7(0x24d),_0x5820d9),..._0x1367fd(_0x3b2fe0,_0x5522c7(0x2f5),_0x5820d9)};}function _0x5c2290(_0xc84c45,_0x37cc1e,_0x38b2d8){const _0x221820=_0x360f56;if(_0xc84c45==null)return _0x37cc1e[_0x221820(0x310)](_0x221820(0x2fa))?_0x758172['ImageSourceType'][_0x221820(0x1e5)]:_0x758172[_0x221820(0x1ab)]['URL'];if(_0xc84c45===_0x758172[_0x221820(0x1ab)]['URL']||_0xc84c45===_0x758172['ImageSourceType']['UUID']||_0xc84c45===_0x758172[_0x221820(0x1ab)][_0x221820(0x1e5)])return _0xc84c45;throw TypeError(_0x38b2d8+_0x221820(0x165));}function _0x172e40(_0x130808,_0x212433,_0x567ed4){const _0x5e7578=_0x360f56;if(typeof _0x130808!='string'||!_0x130808[_0x5e7578(0x237)]())throw TypeError(_0x212433+_0x5e7578(0x2da)+_0x567ed4+_0x5e7578(0x195));return _0x130808;}function _0x1367fd(_0x155043,_0x11ca73,_0xc65b64){const _0x50addf=_0x360f56;let _0x364295=_0x155043[_0x11ca73];if(_0x364295==null)return{};if(typeof _0x364295!=_0x50addf(0x2a6)||!_0x364295['trim']())throw TypeError(_0xc65b64+_0x50addf(0x2da)+_0x11ca73+_0x50addf(0x258));return{[_0x11ca73]:_0x364295};}function _0x2d81b2(_0x11290f,_0x255a54,_0x4033cb){const _0x296b7e=_0x360f56;let _0x16edac=_0x11290f[_0x255a54];if(_0x16edac==null)return{};if(typeof _0x16edac!=_0x296b7e(0x16f)||!Number[_0x296b7e(0x1a6)](_0x16edac)||_0x16edac<0x0)throw TypeError(_0x4033cb+_0x296b7e(0x2da)+_0x255a54+'\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.');return{[_0x255a54]:_0x16edac};}function _0x8749b8(_0x1b964e){const _0x47d156=_0x360f56;return typeof _0x1b964e==_0x47d156(0x311)&&!!_0x1b964e&&!Array['isArray'](_0x1b964e);}var _0x283c12;let _0x146f1c=_0x283c12=class{constructor(_0x44dd6c,_0x25855b,_0x34e866,_0x24a172,_0x479656){const _0x2453f2=_0x360f56;this[_0x2453f2(0x24b)]=_0x44dd6c,this[_0x2453f2(0x22a)]=_0x25855b,this['_range']=_0x34e866,this[_0x2453f2(0x1a7)]=_0x24a172,this[_0x2453f2(0x1d4)]=_0x479656,this[_0x2453f2(0x283)]();}[_0x360f56(0x18a)](){const _0x1893dc=_0x360f56;return this[_0x1893dc(0x24b)][_0x1893dc(0x186)]();}['getTableId'](){return this['_table']['getId']();}[_0x360f56(0x217)](){return{...this['_range']};}[_0x360f56(0x257)](){const _0x110a44=_0x360f56;return this[_0x110a44(0x299)][_0x110a44(0x294)];}['getColumn'](){const _0x2a2382=_0x360f56;return this['_range'][_0x2a2382(0x300)];}['getNumRows'](){const _0x19bf49=_0x360f56;return this[_0x19bf49(0x299)][_0x19bf49(0x19a)]-this['_range'][_0x19bf49(0x294)]+0x1;}[_0x360f56(0x289)](){const _0x3b13ec=_0x360f56;return this[_0x3b13ec(0x299)][_0x3b13ec(0x2d0)]-this[_0x3b13ec(0x299)][_0x3b13ec(0x300)]+0x1;}['getValues'](){const _0x436a8e=_0x360f56;let _0x113327=this[_0x436a8e(0x2fd)](),_0x20989a=this['_getFieldIds'](_0x113327),_0x26ae2d=[];for(let _0x42163f=this['_range'][_0x436a8e(0x294)];_0x42163f<=this[_0x436a8e(0x299)]['endRow'];_0x42163f++){var _0xf66148;let _0x5067aa=(_0xf66148=_0x113327['rowId'])==null?void 0x0:_0xf66148[_0x42163f],_0x15c7c7=[];for(let _0x91d51d=this['_range'][_0x436a8e(0x300)];_0x91d51d<=this[_0x436a8e(0x299)][_0x436a8e(0x2d0)];_0x91d51d++){let _0x7f455d=_0x20989a[_0x91d51d];_0x15c7c7[_0x436a8e(0x2e0)](_0x5067aa&&_0x7f455d?(0x0,_0x48619f['getBaseCellValue'])(_0x113327,_0x5067aa,_0x7f455d):null);}_0x26ae2d['push'](_0x15c7c7);}return _0x26ae2d;}['getValue'](){var _0xe7b184;return((_0xe7b184=this['getValues']()[0x0])==null?void 0x0:_0xe7b184[0x0])??null;}[_0x360f56(0x1f8)](_0x7b4162){const _0x27a8fb=_0x360f56;return this[_0x27a8fb(0x22d)]([[_0x7b4162]]);}['setValues'](_0x3aa1a0){const _0x879066=_0x360f56;let _0x5ee71f=this[_0x879066(0x1da)](),_0x575f6e=this[_0x879066(0x289)]();if(_0x3aa1a0[_0x879066(0x270)]>_0x5ee71f||_0x3aa1a0[_0x879066(0x1d8)](_0x5b6265=>_0x5b6265[_0x879066(0x270)]>_0x575f6e)){var _0x432dff;throw Error(_0x879066(0x2f2)+_0x3aa1a0[_0x879066(0x270)]+'x'+(((_0x432dff=_0x3aa1a0[0x0])==null?void 0x0:_0x432dff[_0x879066(0x270)])??0x0)+_0x879066(0x1f5)+_0x5ee71f+'x'+_0x575f6e+'.');}let _0x3fc6e0=this[_0x879066(0x2fd)](),_0x18f1fa=this[_0x879066(0x296)](_0x3fc6e0),_0x236a92=_0x3aa1a0[_0x879066(0x2d6)]((_0x12739a,_0x24fd3c)=>_0x12739a[_0x879066(0x2c8)]((_0x578097,_0x310bb5)=>{const _0x4491e5=_0x879066;var _0x38ed8c;let _0x10d45d=this[_0x4491e5(0x299)]['startRow']+_0x24fd3c,_0x2c6846=_0x18f1fa[this[_0x4491e5(0x299)]['startColumn']+_0x310bb5],_0x196ca3=(_0x38ed8c=_0x3fc6e0[_0x4491e5(0x2e5)])==null?void 0x0:_0x38ed8c[_0x10d45d];if(!_0x2c6846||!_0x196ca3)throw Error(_0x4491e5(0x1e1));return{'recordId':_0x196ca3,'fieldId':_0x2c6846,'value':_0x578097};}));return this['_commandService'][_0x879066(0x207)](_0x48619f[_0x879066(0x27c)]['id'],{'unitId':this[_0x879066(0x24b)][_0x879066(0x186)](),'tableId':this[_0x879066(0x22a)][_0x879066(0x186)](),'patches':_0x236a92,'source':_0x48619f[_0x879066(0x264)][_0x879066(0x2f0)]});}[_0x360f56(0x2c2)](){const _0x4e3f5a=_0x360f56;return this[_0x4e3f5a(0x22d)](Array[_0x4e3f5a(0x15e)]({'length':this[_0x4e3f5a(0x1da)]()},()=>Array[_0x4e3f5a(0x15e)]({'length':this[_0x4e3f5a(0x289)]()},()=>null)));}[_0x360f56(0x292)](_0x4efd11,_0x390f8f,_0x2c3fd1=this[_0x360f56(0x1da)](),_0x53c1ef=this[_0x360f56(0x289)]()){const _0x56cfea=_0x360f56;return this[_0x56cfea(0x1a7)]['createInstance'](_0x283c12,this[_0x56cfea(0x24b)],this[_0x56cfea(0x22a)],{'startRow':this[_0x56cfea(0x299)][_0x56cfea(0x294)]+_0x4efd11,'startColumn':this[_0x56cfea(0x299)]['startColumn']+_0x390f8f,'endRow':this['_range'][_0x56cfea(0x294)]+_0x4efd11+_0x2c3fd1-0x1,'endColumn':this['_range']['startColumn']+_0x390f8f+_0x53c1ef-0x1},this[_0x56cfea(0x1a7)]);}['_getTable'](){const _0x1e0f1b=_0x360f56;let _0x218576=this['_table'][_0x1e0f1b(0x1a2)]();if(!_0x218576)throw Error(_0x1e0f1b(0x2e9));return(0x0,_0x48619f[_0x1e0f1b(0x233)])(_0x218576);}['_assertInBounds'](){const _0x21b7a9=_0x360f56;var _0x295c8a;let _0x57efdc=this[_0x21b7a9(0x2fd)](),_0x37f25b=((_0x295c8a=_0x57efdc[_0x21b7a9(0x26e)])==null?void 0x0:_0x295c8a[_0x21b7a9(0x270)])??0x0,_0x17a553=this[_0x21b7a9(0x296)](_0x57efdc)[_0x21b7a9(0x270)];if(this['_range'][_0x21b7a9(0x294)]<0x0||this[_0x21b7a9(0x299)][_0x21b7a9(0x300)]<0x0||this['_range'][_0x21b7a9(0x19a)]<this[_0x21b7a9(0x299)]['startRow']||this[_0x21b7a9(0x299)]['endColumn']<this[_0x21b7a9(0x299)]['startColumn']||this[_0x21b7a9(0x299)]['endRow']>=Math[_0x21b7a9(0x25c)](_0x37f25b,0x1)||this[_0x21b7a9(0x299)][_0x21b7a9(0x2d0)]>=Math[_0x21b7a9(0x25c)](_0x17a553,0x1))throw Error('[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20'+_0x37f25b+_0x21b7a9(0x1a1)+_0x17a553+_0x21b7a9(0x193)+JSON[_0x21b7a9(0x1c0)](this[_0x21b7a9(0x299)])+'.');}[_0x360f56(0x296)](_0x1f68ea){const _0x4dd5c1=_0x360f56;return _0x1f68ea[_0x4dd5c1(0x21b)][_0x4dd5c1(0x290)](_0x193ea3=>_0x4a80b3(_0x1f68ea[_0x4dd5c1(0x25d)][_0x193ea3]));}};_0x146f1c=_0x283c12=_0x283871([_0x2ff177(0x4,_0x758172[_0x360f56(0x1e2)])],_0x146f1c);function _0x12f4dc(_0x35c7a7){'@babel/helpers - typeof';const _0x1a7efe=_0x360f56;return _0x12f4dc=typeof Symbol==_0x1a7efe(0x1d2)&&typeof Symbol[_0x1a7efe(0x1d9)]==_0x1a7efe(0x26f)?function(_0x3d11bf){return typeof _0x3d11bf;}:function(_0x540998){const _0x2b16e7=_0x1a7efe;return _0x540998&&typeof Symbol==_0x2b16e7(0x1d2)&&_0x540998[_0x2b16e7(0x1fe)]===Symbol&&_0x540998!==Symbol[_0x2b16e7(0x1cd)]?_0x2b16e7(0x26f):typeof _0x540998;},_0x12f4dc(_0x35c7a7);}function _0x268447(_0x15a895,_0x5141fa){const _0x45f5cc=_0x360f56;if(_0x12f4dc(_0x15a895)!=_0x45f5cc(0x311)||!_0x15a895)return _0x15a895;var _0x5add92=_0x15a895[Symbol[_0x45f5cc(0x247)]];if(_0x5add92!==void 0x0){var _0x15dc3c=_0x5add92[_0x45f5cc(0x278)](_0x15a895,_0x5141fa||_0x45f5cc(0x2ca));if(_0x12f4dc(_0x15dc3c)!=_0x45f5cc(0x311))return _0x15dc3c;throw TypeError(_0x45f5cc(0x200));}return(_0x5141fa==='string'?String:Number)(_0x15a895);}function _0x31d121(_0x23524a){const _0x1d6780=_0x360f56;var _0x1ff75a=_0x268447(_0x23524a,_0x1d6780(0x2a6));return _0x12f4dc(_0x1ff75a)==_0x1d6780(0x26f)?_0x1ff75a:_0x1ff75a+'';}function _0x297009(_0x334700,_0x39217d,_0x34447e){const _0x9ca8e9=_0x360f56;return(_0x39217d=_0x31d121(_0x39217d))in _0x334700?Object[_0x9ca8e9(0x28c)](_0x334700,_0x39217d,{'value':_0x34447e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x334700[_0x39217d]=_0x34447e,_0x334700;}var _0x127df7;let _0x56af14=_0x127df7=class extends _0x53678c[_0x360f56(0x1c1)]{constructor(_0x31b69e,_0x328f18,_0x1c8a11,_0x3a6f8c,_0x1d75f8,_0x58eea5){const _0x6e2d40=_0x360f56;super(_0x3a6f8c),this[_0x6e2d40(0x24b)]=_0x31b69e,this[_0x6e2d40(0x22a)]=_0x328f18,this[_0x6e2d40(0x206)]=_0x1c8a11,this[_0x6e2d40(0x2a4)]=_0x3a6f8c,this['_commandService']=_0x1d75f8,this[_0x6e2d40(0x159)]=_0x58eea5,_0x297009(this,'_baseUnitId',void 0x0),_0x297009(this,_0x6e2d40(0x2c4),void 0x0),this[_0x6e2d40(0x2e4)]=_0x31b69e[_0x6e2d40(0x186)](),this[_0x6e2d40(0x2c4)]=_0x328f18[_0x6e2d40(0x186)]();}[_0x360f56(0x268)](){const _0x88f5a4=_0x360f56;return this[_0x88f5a4(0x24b)];}['getTableFacade'](){const _0x444b52=_0x360f56;return this[_0x444b52(0x22a)];}[_0x360f56(0x186)](){return this['_recordId'];}[_0x360f56(0x234)](){const _0x4dac5e=_0x360f56;let _0x6eb307=this['_table'][_0x4dac5e(0x186)]();return new _0x543a91(this['_base'][_0x4dac5e(0x186)](),(0x0,_0x48619f['getBaseRecordPermissionObjectId'])(_0x6eb307,this[_0x4dac5e(0x206)]),[(0x0,_0x48619f['getBaseTablePermissionObjectId'])(_0x6eb307)],this['_commandService'],this[_0x4dac5e(0x159)]);}[_0x360f56(0x223)](){const _0x501c53=_0x360f56;return{...this[_0x501c53(0x244)](),'values':this['getValues']()};}[_0x360f56(0x1fc)](_0x5752db){const _0x5406da=_0x360f56;return _0x4a80b3(this[_0x5406da(0x22a)]['getTable']()['fields'][_0x5752db])?this[_0x5406da(0x244)]()[_0x5406da(0x1ed)][_0x5752db]??null:null;}[_0x360f56(0x1fd)](){const _0x9b8450=_0x360f56;let _0x18408e=this[_0x9b8450(0x22a)][_0x9b8450(0x1a2)]();return Object[_0x9b8450(0x2d9)](Object[_0x9b8450(0x1c6)](this[_0x9b8450(0x244)]()[_0x9b8450(0x1ed)])[_0x9b8450(0x290)](([_0x241c4f])=>_0x4a80b3(_0x18408e[_0x9b8450(0x25d)][_0x241c4f])));}[_0x360f56(0x1f8)](_0x26ff7a,_0x4fd44d){const _0x3f0ae6=_0x360f56;let _0x4ccd93=this[_0x3f0ae6(0x22a)][_0x3f0ae6(0x1a2)]()['fields'][_0x26ff7a];return this[_0x3f0ae6(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x3f0ae6(0x2b7)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3f0ae6(0x22a)][_0x3f0ae6(0x186)](),'recordId':this[_0x3f0ae6(0x206)],'fieldId':_0x26ff7a,'value':_0x33b55d(_0x4ccd93,_0x4fd44d),'source':_0x48619f[_0x3f0ae6(0x264)][_0x3f0ae6(0x2f0)]});}[_0x360f56(0x167)](_0x571f9c,_0x2b2e7f){const _0x428b40=_0x360f56;return this[_0x428b40(0x1f8)](_0x571f9c,_0x2b2e7f[_0x428b40(0x2c8)](_0x2ab689=>({..._0x2ab689})));}[_0x360f56(0x1d3)](_0x1f994b){const _0x110d2f=_0x360f56;this['_getAttachmentField'](_0x1f994b);let _0x14aae3=this[_0x110d2f(0x1fc)](_0x1f994b);return Array[_0x110d2f(0x1b0)](_0x14aae3)?_0x14aae3[_0x110d2f(0x2c8)]((_0xee6377,_0x3f404a)=>_0x782894(_0xee6377,_0x1f994b,_0x3f404a)):[];}['deleteAttachments'](_0x396a93,_0x44580f){const _0x3fa019=_0x360f56;this[_0x3fa019(0x1bb)](_0x396a93);let _0x2498b4=new Set(_0x44580f[_0x3fa019(0x2c8)](_0x3d0cd8=>_0x3d0cd8['id']));if(!_0x2498b4[_0x3fa019(0x276)])return!0x0;let _0xcc17a3=this[_0x3fa019(0x1d3)](_0x396a93),_0x10e3f3=_0xcc17a3['filter'](_0x2eed7b=>!_0x2498b4[_0x3fa019(0x30b)](_0x2eed7b['id']));return _0x10e3f3[_0x3fa019(0x270)]===_0xcc17a3[_0x3fa019(0x270)]||this['setAttachments'](_0x396a93,_0x10e3f3);}['setValues'](_0x94b24c,_0x102d69='id'){const _0x2b9235=_0x360f56;let _0x53e7f5=this[_0x2b9235(0x22a)][_0x2b9235(0x1a2)](),_0x3ecdc6=[{'recordId':this[_0x2b9235(0x206)],'values':_0x4e634a(_0x53e7f5,_0x94b24c,_0x102d69)}];return this[_0x2b9235(0x1d4)][_0x2b9235(0x207)](_0x48619f[_0x2b9235(0x295)]['id'],{'unitId':this[_0x2b9235(0x24b)][_0x2b9235(0x186)](),'tableId':this[_0x2b9235(0x22a)][_0x2b9235(0x186)](),'patches':_0x3ecdc6,'source':_0x48619f[_0x2b9235(0x264)][_0x2b9235(0x2f0)]});}[_0x360f56(0x1d5)](){const _0x3b1488=_0x360f56;return this[_0x3b1488(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x3b1488(0x16c)]['id'],{'unitId':this[_0x3b1488(0x24b)][_0x3b1488(0x186)](),'tableId':this['_table'][_0x3b1488(0x186)](),'recordId':this[_0x3b1488(0x206)],'source':_0x48619f[_0x3b1488(0x264)]['Facade']});}[_0x360f56(0x245)](_0x348b4d){const _0x99fbaa=_0x360f56;let _0x336d2a={...this[_0x99fbaa(0x244)](),..._0x348b4d,'id':(0x0,_0x758172[_0x99fbaa(0x2c7)])(0x6)};_0x336d2a[_0x99fbaa(0x1ed)]={..._0x336d2a[_0x99fbaa(0x1ed)],..._0x348b4d==null?void 0x0:_0x348b4d[_0x99fbaa(0x1ed)]},Reflect['deleteProperty'](_0x336d2a[_0x99fbaa(0x1ed)],_0x758172[_0x99fbaa(0x1e3)]);let _0x31f7e3=Date['now']();if(_0x336d2a[_0x99fbaa(0x286)]||=''+_0x31f7e3,_0x336d2a[_0x99fbaa(0x266)]||=_0x31f7e3,_0x336d2a[_0x99fbaa(0x275)]||=_0x31f7e3,!this['_commandService']['syncExecuteCommand'](_0x48619f[_0x99fbaa(0x2b4)]['id'],{'unitId':this[_0x99fbaa(0x24b)]['getId'](),'tableId':this[_0x99fbaa(0x22a)]['getId'](),'sourceRecordId':this[_0x99fbaa(0x206)],'record':_0x336d2a,'source':_0x48619f[_0x99fbaa(0x264)][_0x99fbaa(0x2f0)]}))throw Error('[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22'+this[_0x99fbaa(0x206)]+'\x22.');return this[_0x99fbaa(0x2a4)][_0x99fbaa(0x2e7)](_0x127df7,this['_base'],this[_0x99fbaa(0x22a)],_0x336d2a['id'],this[_0x99fbaa(0x2a4)]);}['setOrderKey'](_0x43355a){const _0x3383f9=_0x360f56;return this[_0x3383f9(0x1d4)][_0x3383f9(0x207)](_0x48619f[_0x3383f9(0x1bd)]['id'],{'unitId':this[_0x3383f9(0x24b)][_0x3383f9(0x186)](),'tableId':this[_0x3383f9(0x22a)][_0x3383f9(0x186)](),'recordId':this['_recordId'],'orderKey':_0x43355a});}[_0x360f56(0x19f)](_0x45be58){const _0x4d5672=_0x360f56;let _0x107043=this['_getRecordLinkField'](_0x45be58),_0x129e8c=this[_0x4d5672(0x1fc)](_0x107043['id']);return(0x0,_0x48619f[_0x4d5672(0x1a4)])(_0x129e8c);}[_0x360f56(0x21c)](_0x18c92e,_0x55f813){const _0x9ce89=_0x360f56;let _0x333e71=this['_getRecordLinkField'](_0x18c92e),_0x48257b=(0x0,_0x48619f[_0x9ce89(0x29a)])(_0x55f813),_0x524fa9=(0x0,_0x48619f[_0x9ce89(0x172)])(this[_0x9ce89(0x24b)]['getBase']()[_0x9ce89(0x218)](),_0x333e71,_0x48257b);if(!_0x524fa9[_0x9ce89(0x21e)])throw Error(_0x524fa9[_0x9ce89(0x279)]??_0x9ce89(0x2b8));return this['_commandService'][_0x9ce89(0x207)](_0x48619f[_0x9ce89(0x2b7)]['id'],{'unitId':this[_0x9ce89(0x24b)][_0x9ce89(0x186)](),'tableId':this[_0x9ce89(0x22a)]['getId'](),'recordId':this[_0x9ce89(0x206)],'fieldId':_0x18c92e,'value':_0x48257b,'source':_0x48619f['BaseEventSource'][_0x9ce89(0x2f0)]});}['addLinkedRecord'](_0xebc141,_0x4f5ce0){const _0x1561bf=_0x360f56;let _0x2943dd=this[_0x1561bf(0x191)](_0xebc141),_0x16a4ec=(0x0,_0x48619f['getRecordLinkFieldConfig'])(_0x2943dd);if(!_0x16a4ec)throw Error(_0x1561bf(0x25b)+_0xebc141+'\x22\x20has\x20invalid\x20config.');let _0x1c16e7=this[_0x1561bf(0x19f)](_0xebc141);return _0x16a4ec['multiple']&&_0x1c16e7[_0x1561bf(0x1ae)](_0x4f5ce0)?!0x0:this[_0x1561bf(0x21c)](_0xebc141,_0x16a4ec[_0x1561bf(0x2d8)]?[..._0x1c16e7,_0x4f5ce0]:[_0x4f5ce0]);}[_0x360f56(0x211)](_0x47eadc,_0x5e9227){const _0x5ed9f5=_0x360f56;let _0x14e046=this['getLinkedRecordIds'](_0x47eadc);return!_0x14e046['includes'](_0x5e9227)||this[_0x5ed9f5(0x21c)](_0x47eadc,_0x14e046[_0x5ed9f5(0x290)](_0x31e063=>_0x31e063!==_0x5e9227));}[_0x360f56(0x161)](_0x515cc6){const _0xdd59ff=_0x360f56;let _0x1c7b33=this[_0xdd59ff(0x282)](_0x515cc6)[_0xdd59ff(0x2c5)]['get'](this['_recordId'])??null;return _0x1c7b33?this['_table'][_0xdd59ff(0x23d)](_0x1c7b33):null;}[_0x360f56(0x29e)](_0x5d12d6){const _0x46db09=_0x360f56;return(this['_getHierarchyIndex'](_0x5d12d6)[_0x46db09(0x1f4)]['get'](this[_0x46db09(0x206)])??[])[_0x46db09(0x2d6)](_0x2615cb=>{const _0x353f07=_0x46db09;let _0x18ebf8=this['_table'][_0x353f07(0x23d)](_0x2615cb);return _0x18ebf8?[_0x18ebf8]:[];});}['getAncestors'](_0x4f4a4c){const _0x49290b=_0x360f56;let _0x4a6ff1=this['_getHierarchyIndex'](_0x4f4a4c),_0x20d62e=[],_0x22cb15=_0x4a6ff1['parentByRecordId'][_0x49290b(0x1b6)](this[_0x49290b(0x206)])??null;for(;_0x22cb15;){let _0x457af2=this['_table']['getRecordById'](_0x22cb15);_0x457af2&&_0x20d62e['push'](_0x457af2),_0x22cb15=_0x4a6ff1[_0x49290b(0x2c5)][_0x49290b(0x1b6)](_0x22cb15)??null;}return _0x20d62e;}[_0x360f56(0x24f)](_0x1f54ac){const _0x39aa4d=_0x360f56;let _0x30dfc6=this[_0x39aa4d(0x282)](_0x1f54ac),_0x5f3005=_0x30dfc6[_0x39aa4d(0x15f)][_0x39aa4d(0x277)](this['_recordId']),_0x278b78=_0x30dfc6[_0x39aa4d(0x2f6)][_0x39aa4d(0x30b)](this[_0x39aa4d(0x206)])?this[_0x39aa4d(0x239)](_0x30dfc6[_0x39aa4d(0x1f4)],this[_0x39aa4d(0x206)]):[];return _0x5f3005<0x0?[]:_0x278b78[_0x39aa4d(0x2d6)](_0x30d4c9=>{const _0x2a04b0=_0x39aa4d;let _0x3bccbd=this['_table'][_0x2a04b0(0x23d)](_0x30d4c9);return _0x3bccbd?[_0x3bccbd]:[];});}[_0x360f56(0x2fb)](_0x55d867,_0x41ec76,_0x186848){const _0x4fc87a=_0x360f56;return this[_0x4fc87a(0x1d4)][_0x4fc87a(0x207)](_0x48619f['MoveBaseHierarchyRecordCommand']['id'],{'unitId':this[_0x4fc87a(0x24b)]['getId'](),'tableId':this[_0x4fc87a(0x22a)][_0x4fc87a(0x186)](),'fieldId':_0x55d867,'recordId':this[_0x4fc87a(0x206)],'parentRecordId':_0x41ec76,'orderKey':_0x186848,'source':_0x48619f[_0x4fc87a(0x264)][_0x4fc87a(0x2f0)]});}[_0x360f56(0x2b5)](_0x5eb728,_0x2e5434,_0x2b5b9b='id',_0x298db7){const _0x33e34d=_0x360f56;let _0xe44426=this['_table']['getTable'](),_0x3e3582=Date[_0x33e34d(0x243)](),_0x11c005={..._0x298db7,'id':(0x0,_0x758172[_0x33e34d(0x2c7)])(0x6),'values':_0x4e634a(_0xe44426,_0x2e5434,_0x2b5b9b),'orderKey':(_0x298db7==null?void 0x0:_0x298db7[_0x33e34d(0x286)])||''+_0x3e3582,'createdAt':(_0x298db7==null?void 0x0:_0x298db7['createdAt'])||_0x3e3582,'updatedAt':(_0x298db7==null?void 0x0:_0x298db7[_0x33e34d(0x275)])||_0x3e3582};if(!this[_0x33e34d(0x1d4)][_0x33e34d(0x207)](_0x48619f['CreateBaseChildRecordCommand']['id'],{'unitId':this['_base'][_0x33e34d(0x186)](),'tableId':this[_0x33e34d(0x22a)][_0x33e34d(0x186)](),'fieldId':_0x5eb728,'parentRecordId':this[_0x33e34d(0x206)],'record':_0x11c005,'source':_0x48619f[_0x33e34d(0x264)][_0x33e34d(0x2f0)]}))throw Error(_0x33e34d(0x1cf)+this['_recordId']+'\x22.');return this[_0x33e34d(0x2a4)][_0x33e34d(0x2e7)](_0x127df7,this[_0x33e34d(0x24b)],this[_0x33e34d(0x22a)],_0x11c005['id'],this['_injector']);}[_0x360f56(0x282)](_0x383925){const _0x468d18=_0x360f56;return(0x0,_0x48619f[_0x468d18(0x2a7)])(this[_0x468d18(0x22a)][_0x468d18(0x1a2)](),_0x383925);}[_0x360f56(0x239)](_0x160549,_0x2d8133){let _0x535f72=[],_0x44d883=_0x45310b=>{for(let _0x37e63a of _0x160549['get'](_0x45310b)??[])_0x535f72['push'](_0x37e63a),_0x44d883(_0x37e63a);};return _0x44d883(_0x2d8133),_0x535f72;}[_0x360f56(0x244)](){const _0x4efffe=_0x360f56;let _0x6d86fc=this[_0x4efffe(0x22a)][_0x4efffe(0x1a2)]()[_0x4efffe(0x2f3)][this[_0x4efffe(0x206)]];if(!_0x6d86fc)throw Error(_0x4efffe(0x1e4)+this['_recordId']+_0x4efffe(0x30f));return _0x6d86fc;}['_getRecordLinkField'](_0x4c5b2f){const _0x3e9d74=_0x360f56;let _0x2c95b5=this[_0x3e9d74(0x22a)]['getTable']()['fields'][_0x4c5b2f];if(!_0x2c95b5||_0x2c95b5[_0x3e9d74(0x1e7)]!==_0x758172[_0x3e9d74(0x2bf)][_0x3e9d74(0x236)])throw Error(_0x3e9d74(0x281)+_0x4c5b2f+_0x3e9d74(0x2de));return _0x2c95b5;}['_getAttachmentField'](_0x29f8c6){const _0x4f8eec=_0x360f56;let _0x52ca82=this[_0x4f8eec(0x22a)][_0x4f8eec(0x1a2)]()[_0x4f8eec(0x25d)][_0x29f8c6];if(!_0x52ca82||_0x52ca82['type']!==_0x758172[_0x4f8eec(0x2bf)][_0x4f8eec(0x209)])throw Error(_0x4f8eec(0x281)+_0x29f8c6+_0x4f8eec(0x27a));return _0x52ca82;}};_0x56af14=_0x127df7=_0x283871([_0x2ff177(0x4,_0x758172[_0x360f56(0x1e2)]),_0x2ff177(0x5,_0x758172[_0x360f56(0x1ce)])],_0x56af14);function _0x43e66f(_0x18fc8e){const _0x3d91a5=_0x360f56;return!!(_0x18fc8e&&typeof _0x18fc8e==_0x3d91a5(0x311)&&'id'in _0x18fc8e&&typeof _0x18fc8e['id']=='string'&&_0x3d91a5(0x2a9)in _0x18fc8e&&typeof _0x18fc8e[_0x3d91a5(0x2a9)]==_0x3d91a5(0x2a6));}function _0x782894(_0x4d13c5,_0x5b6780,_0x3d3aeb){const _0x154d94=_0x360f56;if(!_0x43e66f(_0x4d13c5))throw Error(_0x154d94(0x225)+_0x3d3aeb+_0x154d94(0x212)+_0x5b6780+_0x154d94(0x22f));return{..._0x4d13c5};}let _0x5d3c12=class{constructor(_0x250a52,_0xc0ae8b,_0x54c556,_0x2dfdf5,_0x2c275c,_0x3f889c,_0x526ea7){const _0x577dc2=_0x360f56;this['_base']=_0x250a52,this['_table']=_0xc0ae8b,this[_0x577dc2(0x175)]=_0x54c556,this[_0x577dc2(0x2a4)]=_0x2dfdf5,this[_0x577dc2(0x1d4)]=_0x2c275c,this['_permissionService']=_0x3f889c,this[_0x577dc2(0x2c9)]=_0x526ea7;}['getId'](){const _0x1494cb=_0x360f56;return this[_0x1494cb(0x175)];}['getPermission'](){const _0x4c3c12=_0x360f56;let _0x4339f3=this[_0x4c3c12(0x22a)][_0x4c3c12(0x186)]();return new _0x543a91(this[_0x4c3c12(0x24b)]['getId'](),(0x0,_0x48619f[_0x4c3c12(0x2f9)])(_0x4339f3,this[_0x4c3c12(0x175)]),[(0x0,_0x48619f[_0x4c3c12(0x28f)])(_0x4339f3)],this[_0x4c3c12(0x1d4)],this[_0x4c3c12(0x159)]);}[_0x360f56(0x1e6)](){const _0x1bb891=_0x360f56;return this[_0x1bb891(0x2e3)]();}['getName'](){const _0xd55ad0=_0x360f56;return this[_0xd55ad0(0x2e3)]()['name'];}[_0x360f56(0x1b5)](){const _0x4b6b34=_0x360f56;return this[_0x4b6b34(0x2e3)]()[_0x4b6b34(0x1e7)];}[_0x360f56(0x2a5)](_0x5607d1){const _0x3a7d50=_0x360f56;return this[_0x3a7d50(0x1d4)][_0x3a7d50(0x207)](_0x48619f['RenameBaseViewCommand']['id'],{'unitId':this[_0x3a7d50(0x24b)][_0x3a7d50(0x186)](),'tableId':this[_0x3a7d50(0x22a)][_0x3a7d50(0x186)](),'viewId':this[_0x3a7d50(0x175)],'name':_0x5607d1});}[_0x360f56(0x17f)](){const _0x201410=_0x360f56;let _0x1232c8=this[_0x201410(0x1b5)](),_0x47aa0f=this[_0x201410(0x2e3)]()[_0x201410(0x185)];switch(_0x1232c8){case _0x758172['BaseViewType'][_0x201410(0x1fb)]:return _0x47aa0f;case _0x758172[_0x201410(0x312)][_0x201410(0x250)]:return _0x47aa0f;case _0x758172[_0x201410(0x312)]['Calendar']:return _0x47aa0f;case _0x758172[_0x201410(0x312)][_0x201410(0x251)]:return _0x47aa0f;case _0x758172['BaseViewType'][_0x201410(0x16b)]:return _0x47aa0f;default:return _0x47aa0f;}}['updateConfig'](_0x426b0e){const _0x3135dc=_0x360f56;return this[_0x3135dc(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x3135dc(0x2bd)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3135dc(0x22a)][_0x3135dc(0x186)](),'viewId':this[_0x3135dc(0x175)],'patch':_0x426b0e});}[_0x360f56(0x198)](){const _0x74c1e9=_0x360f56;var _0x195f2b;return _0x758172[_0x74c1e9(0x1f0)][_0x74c1e9(0x221)](((_0x195f2b=this[_0x74c1e9(0x2e3)]()[_0x74c1e9(0x185)][_0x74c1e9(0x190)])==null?void 0x0:_0x195f2b['rules'])??[]);}['setConditionalColorRules'](_0x36b794){const _0x5ea14d=_0x360f56;return this[_0x5ea14d(0x1d4)]['syncExecuteCommand'](_0x48619f['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this[_0x5ea14d(0x24b)][_0x5ea14d(0x186)](),'tableId':this[_0x5ea14d(0x22a)]['getId'](),'viewId':this[_0x5ea14d(0x175)],'type':_0x48619f[_0x5ea14d(0x25f)][_0x5ea14d(0x2db)],'rules':_0x36b794});}[_0x360f56(0x179)](_0x59792e){const _0x594fa7=_0x360f56;return this[_0x594fa7(0x1d4)]['syncExecuteCommand'](_0x48619f['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this[_0x594fa7(0x24b)][_0x594fa7(0x186)](),'tableId':this[_0x594fa7(0x22a)]['getId'](),'viewId':this[_0x594fa7(0x175)],'type':_0x48619f[_0x594fa7(0x25f)][_0x594fa7(0x2b0)],'rule':_0x59792e});}[_0x360f56(0x26b)](_0xea3e5f){const _0x51151c=_0x360f56;return this[_0x51151c(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x51151c(0x2e8)]['id'],{'unitId':this[_0x51151c(0x24b)][_0x51151c(0x186)](),'tableId':this['_table'][_0x51151c(0x186)](),'viewId':this[_0x51151c(0x175)],'type':_0x48619f[_0x51151c(0x25f)]['Delete'],'ruleId':_0xea3e5f});}['clearConditionalColorRules'](){const _0x23f373=_0x360f56;return this[_0x23f373(0x1d4)][_0x23f373(0x207)](_0x48619f[_0x23f373(0x2e8)]['id'],{'unitId':this[_0x23f373(0x24b)][_0x23f373(0x186)](),'tableId':this['_table'][_0x23f373(0x186)](),'viewId':this[_0x23f373(0x175)],'type':_0x48619f[_0x23f373(0x25f)]['Clear']});}[_0x360f56(0x216)](){const _0x47cdcc=_0x360f56;return this[_0x47cdcc(0x2e3)]()['filter']??null;}[_0x360f56(0x20c)](_0x4cd2aa){const _0x2a9e9c=_0x360f56;return this['_commandService'][_0x2a9e9c(0x207)](_0x48619f[_0x2a9e9c(0x2a8)]['id'],{'unitId':this[_0x2a9e9c(0x24b)][_0x2a9e9c(0x186)](),'tableId':this[_0x2a9e9c(0x22a)][_0x2a9e9c(0x186)](),'viewId':this[_0x2a9e9c(0x175)],'filter':_0x4cd2aa});}[_0x360f56(0x2b2)](){const _0x374156=_0x360f56;return this[_0x374156(0x2e3)]()[_0x374156(0x22b)]??[];}[_0x360f56(0x293)](_0x534ec3){const _0x36c974=_0x360f56;return this['_commandService'][_0x36c974(0x207)](_0x48619f[_0x36c974(0x28d)]['id'],{'unitId':this[_0x36c974(0x24b)][_0x36c974(0x186)](),'tableId':this[_0x36c974(0x22a)][_0x36c974(0x186)](),'viewId':this[_0x36c974(0x175)],'sort':_0x534ec3});}[_0x360f56(0x1dd)](){const _0x448730=_0x360f56;return this[_0x448730(0x2e3)]()['group']??[];}[_0x360f56(0x2e2)](_0x90fcdf){const _0x395432=_0x360f56;return this[_0x395432(0x1d4)][_0x395432(0x207)](_0x48619f[_0x395432(0x2aa)]['id'],{'unitId':this['_base'][_0x395432(0x186)](),'tableId':this['_table'][_0x395432(0x186)](),'viewId':this[_0x395432(0x175)],'group':_0x90fcdf});}[_0x360f56(0x222)](_0x4228b4){const _0x148254=_0x360f56;var _0x1a0312;return _0x4a80b3(this[_0x148254(0x22a)]['getTable']()[_0x148254(0x25d)][_0x4228b4])?((_0x1a0312=this['_getView']()['fieldSettings'])==null?void 0x0:_0x1a0312[_0x4228b4])??{}:{};}[_0x360f56(0x2a3)](){const _0x33ea19=_0x360f56;let _0x1473e6=this[_0x33ea19(0x22a)]['getTable'](),_0x3a91a4=this[_0x33ea19(0x2e3)]();return(_0x3a91a4[_0x33ea19(0x21b)]??_0x1473e6['fieldOrder'])['filter'](_0x722f2e=>{const _0x3fe09c=_0x33ea19;var _0x1aeeb8;let _0x2fd034=_0x1473e6[_0x3fe09c(0x25d)][_0x722f2e];return _0x4a80b3(_0x2fd034)&&!((_0x1aeeb8=_0x3a91a4[_0x3fe09c(0x1df)])!=null&&(_0x1aeeb8=_0x1aeeb8[_0x722f2e])!=null&&_0x1aeeb8[_0x3fe09c(0x2f7)]);})[_0x33ea19(0x2c8)](_0x8e5a20=>this[_0x33ea19(0x2a4)]['createInstance'](_0xe9c966,this[_0x33ea19(0x24b)],this[_0x33ea19(0x22a)],_0x8e5a20));}['setFieldVisible'](_0x919fee,_0x1b59f8){const _0x20a2fb=_0x360f56;return _0x4a80b3(this[_0x20a2fb(0x22a)][_0x20a2fb(0x1a2)]()[_0x20a2fb(0x25d)][_0x919fee])?this[_0x20a2fb(0x1d4)][_0x20a2fb(0x207)](_0x48619f['SetBaseViewFieldVisibleCommand']['id'],{'unitId':this[_0x20a2fb(0x24b)]['getId'](),'tableId':this[_0x20a2fb(0x22a)][_0x20a2fb(0x186)](),'viewId':this[_0x20a2fb(0x175)],'fieldId':_0x919fee,'visible':_0x1b59f8}):!0x1;}[_0x360f56(0x23f)](_0x339fc6,_0x272ac4){const _0x12dd95=_0x360f56;return _0x4a80b3(this['_table'][_0x12dd95(0x1a2)]()['fields'][_0x339fc6])?this[_0x12dd95(0x1d4)][_0x12dd95(0x207)](_0x48619f[_0x12dd95(0x2b9)]['id'],{'unitId':this['_base'][_0x12dd95(0x186)](),'tableId':this[_0x12dd95(0x22a)][_0x12dd95(0x186)](),'viewId':this['_viewId'],'fieldId':_0x339fc6,'width':_0x272ac4}):!0x1;}['moveField'](_0x30d9ee,_0x2298e2){const _0xf7575=_0x360f56;let _0x24c416=this[_0xf7575(0x22a)][_0xf7575(0x1a2)](),_0x43b48f=_0x2298e2[_0xf7575(0x197)]??_0x2298e2[_0xf7575(0x2ad)];return!_0x4a80b3(_0x24c416[_0xf7575(0x25d)][_0x30d9ee])||!_0x43b48f||!_0x4a80b3(_0x24c416[_0xf7575(0x25d)][_0x43b48f])?!0x1:this[_0xf7575(0x1d4)]['syncExecuteCommand'](_0x48619f[_0xf7575(0x21a)]['id'],{'unitId':this['_base'][_0xf7575(0x186)](),'tableId':this[_0xf7575(0x22a)]['getId'](),'viewId':this['_viewId'],'fieldId':_0x30d9ee,'target':_0x2298e2});}[_0x360f56(0x17c)](_0x2033a3){const _0x136367=_0x360f56;return this[_0x136367(0x1d4)][_0x136367(0x207)](_0x48619f['MoveBaseViewCommand']['id'],{'unitId':this['_base'][_0x136367(0x186)](),'tableId':this[_0x136367(0x22a)][_0x136367(0x186)](),'viewId':this[_0x136367(0x175)],'target':_0x2033a3});}[_0x360f56(0x1d5)](){const _0x55e434=_0x360f56;return this[_0x55e434(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x55e434(0x1f7)]['id'],{'unitId':this[_0x55e434(0x24b)][_0x55e434(0x186)](),'tableId':this[_0x55e434(0x22a)][_0x55e434(0x186)](),'viewId':this[_0x55e434(0x175)]});}['getProjection'](){const _0x2b0a02=_0x360f56;return this['_projectionService']['getProjection'](this[_0x2b0a02(0x24b)][_0x2b0a02(0x308)]()[_0x2b0a02(0x218)](),this[_0x2b0a02(0x22a)][_0x2b0a02(0x186)](),this[_0x2b0a02(0x175)]);}[_0x360f56(0x2e3)](){const _0x4dc1e2=_0x360f56;let _0x291caa=this[_0x4dc1e2(0x22a)][_0x4dc1e2(0x1a2)]()['views'][this[_0x4dc1e2(0x175)]];if(!_0x291caa)throw Error(_0x4dc1e2(0x170)+this['_viewId']+_0x4dc1e2(0x30f));return _0x291caa;}};_0x5d3c12=_0x283871([_0x2ff177(0x4,_0x758172['ICommandService']),_0x2ff177(0x5,_0x758172[_0x360f56(0x1ce)]),_0x2ff177(0x6,_0x48619f[_0x360f56(0x202)])],_0x5d3c12);let _0x2fdc6b=class{constructor(_0x5e1bb4,_0x10fce3,_0x2eef2a,_0x266d4f,_0xba21c8,_0xa7e00){const _0x1c596a=_0x360f56;this[_0x1c596a(0x24b)]=_0x5e1bb4,this[_0x1c596a(0x2fe)]=_0x10fce3,this[_0x1c596a(0x2a4)]=_0x2eef2a,this[_0x1c596a(0x1d4)]=_0x266d4f,this[_0x1c596a(0x159)]=_0xba21c8,this[_0x1c596a(0x2c9)]=_0xa7e00;}[_0x360f56(0x308)](){const _0x139646=_0x360f56;return this[_0x139646(0x24b)][_0x139646(0x308)]();}['getTable'](){const _0x3046a8=_0x360f56;return this[_0x3046a8(0x2fd)]();}[_0x360f56(0x186)](){return this['_tableId'];}[_0x360f56(0x234)](){const _0x47c026=_0x360f56;return new _0x543a91(this['getBase']()[_0x47c026(0x2c1)](),(0x0,_0x48619f[_0x47c026(0x28f)])(this[_0x47c026(0x2fe)]),[],this[_0x47c026(0x1d4)],this['_permissionService']);}['getHierarchyFieldId'](){const _0x5a5b4b=_0x360f56;return(0x0,_0x48619f[_0x5a5b4b(0x17e)])(this[_0x5a5b4b(0x2fd)]());}[_0x360f56(0x2af)](_0x38ab7e){const _0x347b74=_0x360f56;return this[_0x347b74(0x1d4)]['syncExecuteCommand'](_0x48619f[_0x347b74(0x30e)]['id'],{'unitId':this[_0x347b74(0x24b)]['getId'](),'tableId':this[_0x347b74(0x2fe)],'fieldId':_0x38ab7e});}[_0x360f56(0x2e1)](){const _0x503e25=_0x360f56;return this[_0x503e25(0x2fd)]()['name'];}[_0x360f56(0x1f3)](){const _0x30eb29=_0x360f56;let _0x537bb8=this[_0x30eb29(0x24b)][_0x30eb29(0x308)]()[_0x30eb29(0x218)]();return(0x0,_0x48619f[_0x30eb29(0x291)])(this[_0x30eb29(0x2fd)](),_0x537bb8);}[_0x360f56(0x2a5)](_0x39cc29){const _0x1b775e=_0x360f56;let _0xb815ab=(0x0,_0x48619f[_0x1b775e(0x166)])(this[_0x1b775e(0x24b)][_0x1b775e(0x308)]()[_0x1b775e(0x218)](),_0x39cc29,this['_tableId']);if(!_0xb815ab['valid'])throw Error(_0x1b775e(0x303)+_0x39cc29+_0x1b775e(0x1b4)+_0x48619f['BASE_TABLE_NAME_REQUIREMENTS']+'\x20'+_0xb815ab[_0x1b775e(0x279)]);return this[_0x1b775e(0x1d4)][_0x1b775e(0x207)](_0x48619f[_0x1b775e(0x315)]['id'],{'unitId':this[_0x1b775e(0x24b)]['getId'](),'tableId':this[_0x1b775e(0x2fe)],'name':_0x39cc29});}['search'](_0x4e5536,_0xb95b85){const _0x19bd0c=_0x360f56;let _0x3b3539=this[_0x19bd0c(0x24b)][_0x19bd0c(0x308)]()['getSnapshot'](),_0x56cbd1=this[_0x19bd0c(0x2fd)]();if(_0xb95b85){let _0x18cdf5=this[_0x19bd0c(0x2c9)]['getProjection'](_0x3b3539,this['_tableId'],_0xb95b85),_0x4868ed=_0x56cbd1[_0x19bd0c(0x16a)][_0xb95b85],_0x5ead73=_0x4e5536['fieldIds']??_0xe3c1e7(_0x56cbd1,_0x4868ed,_0x18cdf5),_0x426c16=_0x19bd0c(0x160)in _0x18cdf5&&Array[_0x19bd0c(0x1b0)](_0x18cdf5[_0x19bd0c(0x160)])?_0x18cdf5['rows']:[];return(0x0,_0x48619f['searchBaseTable'])({..._0x4e5536,'table':_0x56cbd1,'fieldIds':_0x5ead73,'rows':_0x426c16});}let _0x2da6ff=(_0x56cbd1[_0x19bd0c(0x26e)]?_0x56cbd1[_0x19bd0c(0x26e)][_0x19bd0c(0x2c8)](_0x597d78=>_0x56cbd1[_0x19bd0c(0x2f3)][_0x597d78]):Object[_0x19bd0c(0x1ed)](_0x56cbd1['records'])['sort']((_0x457dcc,_0x340a92)=>_0x457dcc[_0x19bd0c(0x286)][_0x19bd0c(0x26a)](_0x340a92[_0x19bd0c(0x286)])))[_0x19bd0c(0x290)](_0x3138e9=>_0x3138e9)[_0x19bd0c(0x2c8)](_0x1fcbc8=>({'recordId':_0x1fcbc8['id'],'values':_0x1fcbc8[_0x19bd0c(0x1ed)]})),_0x3c0443=_0x4e5536[_0x19bd0c(0x168)]??_0x56cbd1['fieldOrder'][_0x19bd0c(0x290)](_0x346c86=>_0x4a80b3(_0x56cbd1[_0x19bd0c(0x25d)][_0x346c86]));return(0x0,_0x48619f[_0x19bd0c(0x256)])({..._0x4e5536,'table':_0x56cbd1,'fieldIds':_0x3c0443,'rows':_0x2da6ff});}['getPrimaryFieldId'](){const _0xac987e=_0x360f56;return this[_0xac987e(0x2fd)]()[_0xac987e(0x287)];}[_0x360f56(0x262)](){const _0x21eab1=_0x360f56;let _0x4b14a1=this[_0x21eab1(0x2fd)]();return _0x4b14a1[_0x21eab1(0x21b)][_0x21eab1(0x2c8)](_0x304555=>_0x4b14a1[_0x21eab1(0x25d)][_0x304555])[_0x21eab1(0x290)](_0x4a80b3)[_0x21eab1(0x2c8)](_0x45b87c=>this['_injector'][_0x21eab1(0x2e7)](_0xe9c966,this[_0x21eab1(0x24b)],this,_0x45b87c['id']));}[_0x360f56(0x231)](_0x5e27cd){const _0x1cca52=_0x360f56;let _0x4f20a5=this[_0x1cca52(0x2fd)]()[_0x1cca52(0x25d)][_0x5e27cd];return _0x4a80b3(_0x4f20a5)?this['_injector'][_0x1cca52(0x2e7)](_0xe9c966,this[_0x1cca52(0x24b)],this,_0x4f20a5['id']):null;}[_0x360f56(0x1ff)](_0x3d5ad6){const _0x44e777=_0x360f56;let _0x3bf5d0=this[_0x44e777(0x2fd)]()[_0x44e777(0x25d)],_0x24d978=Object['values'](_0x3bf5d0)[_0x44e777(0x1a5)](_0x5ee11a=>_0x4a80b3(_0x5ee11a)&&_0x5ee11a['name']===_0x3d5ad6);return _0x24d978?this[_0x44e777(0x2a4)][_0x44e777(0x2e7)](_0xe9c966,this[_0x44e777(0x24b)],this,_0x24d978['id']):null;}['getPrimaryField'](){const _0x43325d=_0x360f56;let _0x10a55a=this['_getTable']()[_0x43325d(0x287)];return this[_0x43325d(0x2a4)]['createInstance'](_0xe9c966,this[_0x43325d(0x24b)],this,_0x10a55a);}['addField'](_0x4591f8,_0x3c5889,_0x50ac28){const _0x3aaf67=_0x360f56;var _0x46395f,_0x545de7;if(!Object[_0x3aaf67(0x1ed)](_0x758172[_0x3aaf67(0x2bf)])[_0x3aaf67(0x1d8)](_0xa4c26f=>_0xa4c26f===_0x3c5889))throw Error(_0x3aaf67(0x30a)+String(_0x3c5889)+'\x22.');if(_0x3c5889===_0x758172[_0x3aaf67(0x2bf)][_0x3aaf67(0x2fc)]&&this['_prepareFormulaFieldReferences'](_0x4591f8,_0x50ac28),_0x3c5889===_0x758172[_0x3aaf67(0x2bf)]['RecordLink']&&(typeof(_0x50ac28==null||(_0x46395f=_0x50ac28[_0x3aaf67(0x2f4)])==null||(_0x46395f=_0x46395f['config'])==null?void 0x0:_0x46395f[_0x3aaf67(0x2ce)])!='string'||typeof _0x50ac28[_0x3aaf67(0x2f4)][_0x3aaf67(0x185)][_0x3aaf67(0x2d8)]!=_0x3aaf67(0x232)))throw Error(_0x3aaf67(0x1a0));let _0x28bf97={..._0x50ac28==null?void 0x0:_0x50ac28[_0x3aaf67(0x2f4)],'id':(0x0,_0x758172[_0x3aaf67(0x2c7)])(0x6),'name':_0x4591f8,'type':_0x3c5889,'config':(_0x50ac28==null||(_0x545de7=_0x50ac28[_0x3aaf67(0x2f4)])==null?void 0x0:_0x545de7[_0x3aaf67(0x185)])??{}};if(!this[_0x3aaf67(0x1d4)][_0x3aaf67(0x207)](_0x48619f[_0x3aaf67(0x183)]['id'],{'unitId':this['_base'][_0x3aaf67(0x186)](),'tableId':this[_0x3aaf67(0x2fe)],'field':_0x28bf97,'index':_0x50ac28==null?void 0x0:_0x50ac28[_0x3aaf67(0x27d)]}))throw Error('Failed\x20to\x20add\x20field\x20\x22'+_0x4591f8+'\x22');return this['_injector'][_0x3aaf67(0x2e7)](_0xe9c966,this[_0x3aaf67(0x24b)],this,_0x28bf97['id']);}[_0x360f56(0x1be)](_0x10fb36,_0x109a01){const _0x37a36b=_0x360f56;var _0x2ce2bd;if(!_0x109a01||!('externalReferences'in _0x109a01)||!Array['isArray'](_0x109a01[_0x37a36b(0x2cb)]))throw Error(_0x37a36b(0x1f9));let _0x45fde2=this[_0x37a36b(0x1d4)][_0x37a36b(0x207)](_0x48619f['ValidateBaseFormulaCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this['_tableId'],'formula':String(((_0x2ce2bd=_0x109a01['field'])==null||(_0x2ce2bd=_0x2ce2bd[_0x37a36b(0x185)])==null?void 0x0:_0x2ce2bd[_0x37a36b(0x1f2)])??'')});if(!_0x45fde2[_0x37a36b(0x21e)])throw Error(_0x45fde2[_0x37a36b(0x279)]??'Invalid\x20Base\x20formula.');if(_0x109a01[_0x37a36b(0x2cb)][_0x37a36b(0x270)]>0x0&&!this['_commandService'][_0x37a36b(0x207)](_0xa1ac30['UpsertHostExternalReferencesCommand']['id'],{'unitId':this['_base'][_0x37a36b(0x186)](),'references':_0x109a01[_0x37a36b(0x2cb)]}))throw Error('Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22'+_0x10fb36+'\x22');}[_0x360f56(0x2dc)](){const _0x3b9794=_0x360f56;return this['_resolveRecordIds']()[_0x3b9794(0x2c8)](_0x6581e5=>this[_0x3b9794(0x2a4)][_0x3b9794(0x2e7)](_0x56af14,this['_base'],this,_0x6581e5,this[_0x3b9794(0x2a4)]));}['getRecordById'](_0x1f7b1b){const _0x46d2d8=_0x360f56;return this[_0x46d2d8(0x2fd)]()['records'][_0x1f7b1b]?this[_0x46d2d8(0x2a4)][_0x46d2d8(0x2e7)](_0x56af14,this[_0x46d2d8(0x24b)],this,_0x1f7b1b,this[_0x46d2d8(0x2a4)]):null;}['queryRecords'](_0x3ab254={}){const _0x18f523=_0x360f56;let _0x189c80=this[_0x18f523(0x2fd)](),_0x5093c5=this[_0x18f523(0x27b)](_0x3ab254),_0x1b253d=Math[_0x18f523(0x25c)](0x0,_0x3ab254[_0x18f523(0x292)]??0x0),_0x554d19=_0x3ab254[_0x18f523(0x307)]==null?null:Math[_0x18f523(0x25c)](0x0,_0x3ab254[_0x18f523(0x307)]),_0x1766ba=_0x3f75bc(_0x5093c5[_0x18f523(0x2c8)](_0x49685f=>_0x189c80[_0x18f523(0x2f3)][_0x49685f])['filter'](_0x1b5150=>_0x69d56d(_0x1b5150,_0x189c80,_0x3ab254[_0x18f523(0x290)])),_0x189c80,_0x3ab254[_0x18f523(0x22b)]);return{'records':_0x2977ce(_0x1766ba,_0x3ab254)[_0x18f523(0x2c8)](_0x4a9911=>this[_0x18f523(0x2a4)][_0x18f523(0x2e7)](_0x56af14,this[_0x18f523(0x24b)],this,_0x4a9911['id'],this[_0x18f523(0x2a4)])),'total':_0x1766ba['length'],'offset':_0x1b253d,'limit':_0x554d19,'hasMore':_0x554d19!=null&&_0x1b253d+_0x554d19<_0x1766ba[_0x18f523(0x270)]};}[_0x360f56(0x30c)](_0x4cdbd0,_0x154a21='id',_0x5072c8){const _0x2bcd0c=_0x360f56;let _0x22cf95=this[_0x2bcd0c(0x2fd)](),_0x33b23a=Date[_0x2bcd0c(0x243)](),_0x1a0fa4={..._0x5072c8,'id':(0x0,_0x758172['generateRandomId'])(0x6),'values':_0x4e634a(_0x22cf95,_0x4cdbd0,_0x154a21),'orderKey':(_0x5072c8==null?void 0x0:_0x5072c8[_0x2bcd0c(0x286)])||''+_0x33b23a,'createdAt':(_0x5072c8==null?void 0x0:_0x5072c8[_0x2bcd0c(0x266)])||_0x33b23a,'updatedAt':(_0x5072c8==null?void 0x0:_0x5072c8['updatedAt'])||_0x33b23a};if(!this[_0x2bcd0c(0x1d4)][_0x2bcd0c(0x207)](_0x48619f[_0x2bcd0c(0x267)]['id'],{'unitId':this['_base'][_0x2bcd0c(0x186)](),'tableId':this[_0x2bcd0c(0x2fe)],'record':_0x1a0fa4,'source':_0x48619f['BaseEventSource'][_0x2bcd0c(0x2f0)]}))throw Error(_0x2bcd0c(0x1a8)+_0x1a0fa4['id']+'\x22');return this[_0x2bcd0c(0x2a4)]['createInstance'](_0x56af14,this[_0x2bcd0c(0x24b)],this,_0x1a0fa4['id'],this[_0x2bcd0c(0x2a4)]);}[_0x360f56(0x1af)](_0x3725b7){const _0x10af1f=_0x360f56;if(!_0x3725b7[_0x10af1f(0x270)])return[];let _0x31fbd7=this['_getTable'](),_0x293145=Date[_0x10af1f(0x243)](),_0xc1ae24=_0x3725b7[_0x10af1f(0x2c8)]((_0x1a5db7,_0x410a67)=>{const _0x398b3a=_0x10af1f;var _0x5be221,_0x24692a,_0x239d82;return{..._0x1a5db7[_0x398b3a(0x23a)],'id':(0x0,_0x758172[_0x398b3a(0x2c7)])(0x6),'values':_0x4e634a(_0x31fbd7,_0x1a5db7['values'],_0x1a5db7[_0x398b3a(0x273)]??'id'),'orderKey':((_0x5be221=_0x1a5db7[_0x398b3a(0x23a)])==null?void 0x0:_0x5be221[_0x398b3a(0x286)])||''+(_0x293145+_0x410a67),'createdAt':((_0x24692a=_0x1a5db7[_0x398b3a(0x23a)])==null?void 0x0:_0x24692a['createdAt'])||_0x293145,'updatedAt':((_0x239d82=_0x1a5db7['record'])==null?void 0x0:_0x239d82[_0x398b3a(0x275)])||_0x293145};});if(!this['_commandService'][_0x10af1f(0x207)](_0x48619f['BatchCreateBaseRecordsCommand']['id'],{'unitId':this[_0x10af1f(0x24b)]['getId'](),'tableId':this[_0x10af1f(0x2fe)],'records':_0xc1ae24,'source':_0x48619f[_0x10af1f(0x264)]['Facade']}))throw Error('Failed\x20to\x20add\x20records');return _0xc1ae24['map'](_0xfd376e=>this['_injector'][_0x10af1f(0x2e7)](_0x56af14,this['_base'],this,_0xfd376e['id'],this[_0x10af1f(0x2a4)]));}[_0x360f56(0x1b8)](_0x319a86){const _0x4680d0=_0x360f56;return!_0x319a86[_0x4680d0(0x270)]||this[_0x4680d0(0x1d4)][_0x4680d0(0x207)](_0x48619f[_0x4680d0(0x2d5)]['id'],{'unitId':this['_base'][_0x4680d0(0x186)](),'tableId':this[_0x4680d0(0x2fe)],'recordIds':_0x319a86,'source':_0x48619f[_0x4680d0(0x264)][_0x4680d0(0x2f0)]});}[_0x360f56(0x217)](_0xec1fc,_0x307740,_0x34c503=0x1,_0x39264b=0x1){const _0x47918a=_0x360f56;return this['_injector']['createInstance'](_0x146f1c,this[_0x47918a(0x24b)],this,{'startRow':_0xec1fc,'endRow':_0xec1fc+_0x34c503-0x1,'startColumn':_0x307740,'endColumn':_0x307740+_0x39264b-0x1},this['_injector']);}[_0x360f56(0x2a2)](){const _0x5eee64=_0x360f56;var _0xaab115;let _0x1412e7=(0x0,_0x48619f[_0x5eee64(0x233)])(this['_getTable']()),_0x516ef2=((_0xaab115=_0x1412e7[_0x5eee64(0x26e)])==null?void 0x0:_0xaab115[_0x5eee64(0x270)])??0x0,_0xe0fa8f=_0x1412e7['fieldOrder'][_0x5eee64(0x290)](_0x287428=>_0x4a80b3(_0x1412e7['fields'][_0x287428]))['length'];return this['getRange'](0x0,0x0,Math[_0x5eee64(0x25c)](_0x516ef2,0x1),Math['max'](_0xe0fa8f,0x1));}['getViews'](){const _0x1a7417=_0x360f56;let _0x1be384=this[_0x1a7417(0x2fd)]();return _0x1be384[_0x1a7417(0x1ca)][_0x1a7417(0x290)](_0x4af025=>_0x1be384[_0x1a7417(0x16a)][_0x4af025])[_0x1a7417(0x2c8)](_0x1c763b=>this[_0x1a7417(0x2a4)][_0x1a7417(0x2e7)](_0x5d3c12,this[_0x1a7417(0x24b)],this,_0x1c763b,this[_0x1a7417(0x2a4)]));}[_0x360f56(0x26c)](_0x1a1c3c){const _0x5c3ed6=_0x360f56;return this[_0x5c3ed6(0x2fd)]()[_0x5c3ed6(0x16a)][_0x1a1c3c]?this[_0x5c3ed6(0x2a4)]['createInstance'](_0x5d3c12,this[_0x5c3ed6(0x24b)],this,_0x1a1c3c,this[_0x5c3ed6(0x2a4)]):null;}[_0x360f56(0x25a)](_0x135c2f){const _0xe2c3e0=_0x360f56;let _0x14bc05=this[_0xe2c3e0(0x2fd)](),_0x21dce2=Object[_0xe2c3e0(0x1ed)](_0x14bc05['views'])['find'](_0x5b4b44=>_0x5b4b44['name']===_0x135c2f);return _0x21dce2?this[_0xe2c3e0(0x2a4)]['createInstance'](_0x5d3c12,this[_0xe2c3e0(0x24b)],this,_0x21dce2['id'],this[_0xe2c3e0(0x2a4)]):null;}[_0x360f56(0x260)](_0x1c396b,_0x633897,_0x326e08){const _0x2a4f22=_0x360f56;var _0x54d252,_0x36d313,_0x80d095,_0x3104cc;let _0x48b856=this[_0x2a4f22(0x2fd)](),_0x54e3e6=(_0x326e08==null||(_0x54d252=_0x326e08[_0x2a4f22(0x187)])==null?void 0x0:_0x54d252[_0x2a4f22(0x21b)])??_0x48b856[_0x2a4f22(0x21b)],_0x2348b2=[_0x758172[_0x2a4f22(0x1e3)],..._0x54e3e6['filter'](_0x54f97c=>_0x4a80b3(_0x48b856[_0x2a4f22(0x25d)][_0x54f97c]))],_0x42e048={..._0x326e08==null?void 0x0:_0x326e08['view'],'id':(0x0,_0x758172[_0x2a4f22(0x2c7)])(0x6),'name':_0x1c396b,'type':_0x633897,'tableId':this[_0x2a4f22(0x2fe)],'config':(_0x326e08==null||(_0x36d313=_0x326e08[_0x2a4f22(0x187)])==null?void 0x0:_0x36d313[_0x2a4f22(0x185)])??{},'fieldOrder':_0x2348b2,'fieldSettings':{..._0x326e08==null||(_0x80d095=_0x326e08[_0x2a4f22(0x187)])==null?void 0x0:_0x80d095['fieldSettings'],[_0x758172[_0x2a4f22(0x1e3)]]:{..._0x326e08==null||(_0x3104cc=_0x326e08[_0x2a4f22(0x187)])==null||(_0x3104cc=_0x3104cc[_0x2a4f22(0x1df)])==null?void 0x0:_0x3104cc[_0x758172[_0x2a4f22(0x1e3)]],'hidden':!0x0}}};if(!this[_0x2a4f22(0x1d4)][_0x2a4f22(0x207)](_0x48619f['CreateBaseViewCommand']['id'],{'unitId':this['_base'][_0x2a4f22(0x186)](),'tableId':this[_0x2a4f22(0x2fe)],'view':_0x42e048,'index':_0x326e08==null?void 0x0:_0x326e08[_0x2a4f22(0x27d)]}))throw Error(_0x2a4f22(0x17a)+_0x1c396b+'\x22');return this[_0x2a4f22(0x2a4)][_0x2a4f22(0x2e7)](_0x5d3c12,this[_0x2a4f22(0x24b)],this,_0x42e048['id'],this['_injector']);}[_0x360f56(0x19e)](){const _0x4a307c=_0x360f56;let _0x5eb7e5=this[_0x4a307c(0x2fd)](),_0x5d930b=_0x5eb7e5[_0x4a307c(0x21b)][_0x4a307c(0x290)](_0x18c56b=>_0x4a80b3(_0x5eb7e5['fields'][_0x18c56b])),_0x4ba7cd=_0x5eb7e5['viewOrder'][_0x4a307c(0x290)](_0x69e2f6=>_0x5eb7e5[_0x4a307c(0x16a)][_0x69e2f6]);return{'id':_0x5eb7e5['id'],'name':_0x5eb7e5[_0x4a307c(0x2a9)],'formulaName':this[_0x4a307c(0x1f3)](),'primaryFieldId':_0x5eb7e5['primaryFieldId'],'fieldIds':_0x5d930b,'viewIds':_0x4ba7cd,'recordCount':this['_resolveRecordIds']()[_0x4a307c(0x270)],'fields':_0x5d930b[_0x4a307c(0x2c8)](_0x5d1112=>{const _0x1fae9a=_0x4a307c;let _0x474915=_0x5eb7e5[_0x1fae9a(0x25d)][_0x5d1112];return{'id':_0x474915['id'],'name':_0x474915[_0x1fae9a(0x2a9)],'type':_0x474915['type'],'config':_0x474915[_0x1fae9a(0x185)],'readonly':_0x474915['readonly'],'description':_0x474915[_0x1fae9a(0x192)]};}),'views':_0x4ba7cd[_0x4a307c(0x2c8)](_0x55d837=>{const _0x290c0a=_0x4a307c;let _0xf97d4e=_0x5eb7e5[_0x290c0a(0x16a)][_0x55d837];return{'id':_0xf97d4e['id'],'name':_0xf97d4e[_0x290c0a(0x2a9)],'type':_0xf97d4e[_0x290c0a(0x1e7)]};})};}[_0x360f56(0x2fd)](){const _0x37a5d6=_0x360f56;let _0x48dda7=this['_base']['getBase']()['getSnapshot']()[_0x37a5d6(0x238)][this[_0x37a5d6(0x2fe)]];if(!_0x48dda7)throw Error(_0x37a5d6(0x23c)+this[_0x37a5d6(0x2fe)]+_0x37a5d6(0x30f));return _0x48dda7;}[_0x360f56(0x27b)](_0xdbb0a7={}){const _0x123851=_0x360f56;let _0x5e7e8d=this[_0x123851(0x24b)]['getBase']()[_0x123851(0x218)](),_0x1c57e2=this[_0x123851(0x2fd)]();if(_0xdbb0a7['viewId']){let _0x13a8d6=this[_0x123851(0x2c9)][_0x123851(0x1de)](_0x5e7e8d,this['_tableId'],_0xdbb0a7['viewId']);if('rows'in _0x13a8d6&&Array[_0x123851(0x1b0)](_0x13a8d6['rows']))return _0x13a8d6['rows'][_0x123851(0x2c8)](_0x32908b=>_0x32908b[_0x123851(0x248)]);}return(_0x1c57e2['recordOrder']?_0x1c57e2[_0x123851(0x26e)][_0x123851(0x2c8)](_0x59ee38=>_0x1c57e2[_0x123851(0x2f3)][_0x59ee38]):Object[_0x123851(0x1ed)](_0x1c57e2[_0x123851(0x2f3)])[_0x123851(0x22b)]((_0x3d3c3f,_0x359174)=>_0x3d3c3f[_0x123851(0x286)][_0x123851(0x26a)](_0x359174['orderKey'])))[_0x123851(0x290)](_0x2c36c1=>_0x2c36c1)[_0x123851(0x2c8)](_0x2da5a9=>_0x2da5a9['id']);}};_0x2fdc6b=_0x283871([_0x2ff177(0x3,_0x758172['ICommandService']),_0x2ff177(0x4,_0x758172['IPermissionService']),_0x2ff177(0x5,_0x48619f[_0x360f56(0x202)])],_0x2fdc6b);function _0x2977ce(_0x557ae7,_0x14c7f9){const _0x4557dd=_0x360f56;let _0x52b9ad=Math[_0x4557dd(0x25c)](0x0,_0x14c7f9[_0x4557dd(0x292)]??0x0);return _0x14c7f9['limit']==null?_0x557ae7[_0x4557dd(0x1d1)](_0x52b9ad):_0x557ae7[_0x4557dd(0x1d1)](_0x52b9ad,_0x52b9ad+Math[_0x4557dd(0x25c)](0x0,_0x14c7f9[_0x4557dd(0x307)]));}function _0x3f75bc(_0x48ef68,_0x4d1346,_0x5dbbe6=[]){const _0x753a60=_0x360f56;return _0x5dbbe6[_0x753a60(0x270)]?[..._0x48ef68][_0x753a60(0x22b)]((_0x5e48ce,_0x355f1c)=>{const _0x309ab8=_0x753a60;for(let _0x42d293 of _0x5dbbe6){var _0x5274c0;let _0x185c3e=_0x42d293['direction']===_0x758172['BaseSortDirection'][_0x309ab8(0x298)]?-0x1:0x1,_0x3dd1fb=_0x2b6ce7(_0x5e48ce[_0x309ab8(0x1ed)][_0x42d293[_0x309ab8(0x2d3)]],_0x355f1c['values'][_0x42d293[_0x309ab8(0x2d3)]],(_0x5274c0=_0x4d1346[_0x309ab8(0x25d)][_0x42d293[_0x309ab8(0x2d3)]])==null?void 0x0:_0x5274c0[_0x309ab8(0x1e7)]);if(_0x3dd1fb!==0x0)return _0x3dd1fb*_0x185c3e;}return String(_0x5e48ce[_0x309ab8(0x286)]??_0x5e48ce['id'])['localeCompare'](String(_0x355f1c[_0x309ab8(0x286)]??_0x355f1c['id']));}):_0x48ef68;}function _0x2b6ce7(_0x1fd14e,_0x119aca,_0x30b00c){const _0x4be8ec=_0x360f56;return _0x1fd14e==null&&_0x119aca==null?0x0:_0x1fd14e==null?-0x1:_0x119aca==null?0x1:typeof _0x1fd14e==_0x4be8ec(0x16f)&&typeof _0x119aca=='number'?_0x1fd14e-_0x119aca:_0x30b00c===_0x758172[_0x4be8ec(0x2bf)][_0x4be8ec(0x305)]?Number(_0x1fd14e)-Number(_0x119aca):String(_0x1fd14e)['localeCompare'](String(_0x119aca));}function _0x69d56d(_0x500873,_0x1dc0ee,_0x5ed078){const _0x144d9a=_0x360f56;var _0x2772cd;if(!_0x5ed078||!((_0x2772cd=_0x5ed078[_0x144d9a(0x1ef)])!=null&&_0x2772cd[_0x144d9a(0x270)]))return!0x0;let {conjunction:_0x4b9f02=_0x758172[_0x144d9a(0x1e9)]['OR'],conditions:_0x244b7d}=_0x5ed078;return _0x4b9f02===_0x758172[_0x144d9a(0x1e9)][_0x144d9a(0x194)]&&_0x244b7d[_0x144d9a(0x270)]>0x1?_0x244b7d[_0x144d9a(0x20e)](_0x2f7a4d=>_0x6682c7(_0x500873,_0x1dc0ee,_0x2f7a4d)):_0x244b7d['some'](_0x3f43e6=>_0x6682c7(_0x500873,_0x1dc0ee,_0x3f43e6));}function _0x6682c7(_0x1e507a,_0x20bb7a,_0x4ba846){const _0x34e78e=_0x360f56;let _0x45f626=_0x1e507a['values'][_0x4ba846[_0x34e78e(0x2d3)]],_0x2ea7aa=_0x20bb7a['fields'][_0x4ba846[_0x34e78e(0x2d3)]];if(_0x4d376e(_0x4ba846)){let _0x3ac166=_0x559136(_0x4ba846)[_0x34e78e(0x302)](String(_0x45f626??''));return _0x4ba846['operator']==='matches'?_0x3ac166:!_0x3ac166;}return!_0x2ea7aa||(0x0,_0x48619f[_0x34e78e(0x184)])(_0x45f626,_0x4ba846[_0x34e78e(0x2eb)],_0x4ba846[_0x34e78e(0x288)],_0x2ea7aa);}function _0x4d376e(_0x43e5fb){const _0x52be5e=_0x360f56;return _0x43e5fb[_0x52be5e(0x2eb)]===_0x52be5e(0x2d4)||_0x43e5fb['operator']==='notMatches';}function _0x559136(_0x3bc86a){const _0x459277=_0x360f56;let _0x3f5a0c=String(_0x3bc86a[_0x459277(0x288)]??'');if(_0x3f5a0c['length']>0x200)throw Error(_0x459277(0x20d));try{return new RegExp(_0x3f5a0c,_0x3bc86a[_0x459277(0x1b3)]?void 0x0:'i');}catch(_0xb97d0d){throw Error('Invalid\x20Base\x20regex\x20filter:\x20'+_0x3f5a0c+'.\x20'+(_0xb97d0d instanceof Error?_0xb97d0d[_0x459277(0x2c6)]:String(_0xb97d0d)));}}function _0xe3c1e7(_0x140704,_0x152261,_0x4f35f5){const _0x4fb8a7=_0x360f56;if(_0x4f35f5[_0x4fb8a7(0x1e7)]!=='invalid'&&_0x4f35f5['type']!==_0x4fb8a7(0x181)){var _0x48fa52;if(_0x4f35f5[_0x4fb8a7(0x1e7)]===_0x758172['BaseViewType'][_0x4fb8a7(0x250)]){var _0x4ee5c4;let _0x4d8aa3=[((_0x4ee5c4=_0x4f35f5[_0x4fb8a7(0x25d)])==null||(_0x4ee5c4=_0x4ee5c4[0x0])==null?void 0x0:_0x4ee5c4['id'])??_0x140704[_0x4fb8a7(0x287)],..._0x4f35f5['visibleCardFieldIds']??[]];return Array['from'](new Set(_0x4d8aa3[_0x4fb8a7(0x290)](_0x768bfe=>!!_0x140704['fields'][_0x768bfe])));}if((_0x48fa52=_0x4f35f5['fields'])!=null&&_0x48fa52[_0x4fb8a7(0x270)])return _0x4f35f5[_0x4fb8a7(0x25d)][_0x4fb8a7(0x2c8)](_0x21d8f6=>_0x21d8f6['id'])[_0x4fb8a7(0x290)](_0x53300c=>{const _0x388f54=_0x4fb8a7;var _0x540d03;return!(!_0x140704[_0x388f54(0x25d)][_0x53300c]||_0x152261!=null&&(_0x540d03=_0x152261[_0x388f54(0x1df)])!=null&&(_0x540d03=_0x540d03[_0x53300c])!=null&&_0x540d03[_0x388f54(0x2f7)]);});}return _0x140704[_0x4fb8a7(0x21b)][_0x4fb8a7(0x290)](_0xa2da47=>{const _0x35e89b=_0x4fb8a7;var _0x2f34b5;return!(!_0x140704[_0x35e89b(0x25d)][_0xa2da47]||_0x152261!=null&&(_0x2f34b5=_0x152261['fieldSettings'])!=null&&(_0x2f34b5=_0x2f34b5[_0xa2da47])!=null&&_0x2f34b5[_0x35e89b(0x2f7)]);});}let _0x516e3f=class extends _0x53678c['FBase']{constructor(_0x4722c5,_0x4772a1,_0x4bed50,_0x1a3a03,_0x4b456c){const _0x2e163a=_0x360f56;super(),this['_base']=_0x4722c5,this[_0x2e163a(0x2a4)]=_0x4772a1,this[_0x2e163a(0x196)]=_0x4bed50,this[_0x2e163a(0x1d4)]=_0x1a3a03,this[_0x2e163a(0x159)]=_0x4b456c;}['getBase'](){return this['_base'];}['getId'](){const _0x241d25=_0x360f56;return this[_0x241d25(0x24b)][_0x241d25(0x2c1)]();}[_0x360f56(0x234)](){const _0x3ab067=_0x360f56;return new _0x1339aa(this['getId'](),this[_0x3ab067(0x1d4)],this[_0x3ab067(0x159)]);}['save'](){const _0x1c1ed2=_0x360f56;return this[_0x1c1ed2(0x196)][_0x1c1ed2(0x2be)](this[_0x1c1ed2(0x186)]())??_0x758172['Tools']['deepClone'](this[_0x1c1ed2(0x24b)][_0x1c1ed2(0x218)]());}[_0x360f56(0x2e1)](){const _0x501674=_0x360f56;return this[_0x501674(0x24b)][_0x501674(0x218)]()[_0x501674(0x2a9)];}[_0x360f56(0x2a5)](_0x944959){const _0x3774b5=_0x360f56;this[_0x3774b5(0x1d4)][_0x3774b5(0x207)](_0x48619f['SetBaseNameCommand']['id'],{'unitId':this['getId'](),'name':_0x944959});}[_0x360f56(0x1ee)](){const _0x32731b=_0x360f56;let _0x1a4bd6=this[_0x32731b(0x24b)][_0x32731b(0x218)]();return _0x1a4bd6['tableOrder'][_0x32731b(0x2c8)](_0x2bb781=>_0x1a4bd6[_0x32731b(0x238)][_0x2bb781])[_0x32731b(0x290)](_0x3605ae=>_0x3605ae)['map'](_0x2cb709=>this[_0x32731b(0x2a4)][_0x32731b(0x2e7)](_0x2fdc6b,this,_0x2cb709['id'],this[_0x32731b(0x2a4)]));}['getTableById'](_0x367a01){const _0x5d9785=_0x360f56;let _0x388b3d=this[_0x5d9785(0x24b)][_0x5d9785(0x218)]()[_0x5d9785(0x238)][_0x367a01];return _0x388b3d?this[_0x5d9785(0x2a4)][_0x5d9785(0x2e7)](_0x2fdc6b,this,_0x388b3d['id'],this[_0x5d9785(0x2a4)]):null;}[_0x360f56(0x189)](_0x206215){const _0x22d58b=_0x360f56;let _0x1638ea=this[_0x22d58b(0x24b)][_0x22d58b(0x218)](),_0x492be6=Object[_0x22d58b(0x1ed)](_0x1638ea[_0x22d58b(0x238)])['find'](_0x1ede21=>_0x1ede21[_0x22d58b(0x2a9)]===_0x206215);return _0x492be6?this[_0x22d58b(0x2a4)][_0x22d58b(0x2e7)](_0x2fdc6b,this,_0x492be6['id'],this[_0x22d58b(0x2a4)]):null;}['insertTable'](_0x28b005,_0x391a82){const _0x9665a1=_0x360f56;let _0x3b504d=(0x0,_0x758172[_0x9665a1(0x1ba)])({'id':(0x0,_0x758172[_0x9665a1(0x2c7)])(),'name':_0x28b005,..._0x391a82==null?void 0x0:_0x391a82['table'],'primaryFieldName':_0x391a82==null?void 0x0:_0x391a82[_0x9665a1(0x214)]}),_0x18a4cd=_0x758172['Tools'][_0x9665a1(0x313)](_0x3b504d,(_0x391a82==null?void 0x0:_0x391a82['table'])??{}),_0x5b1911=(0x0,_0x48619f['validateBaseTableName'])(this['_base'][_0x9665a1(0x218)](),_0x18a4cd[_0x9665a1(0x2a9)]);if(!_0x5b1911['valid'])throw Error(_0x9665a1(0x19d)+_0x18a4cd[_0x9665a1(0x2a9)]+_0x9665a1(0x1b4)+_0x48619f[_0x9665a1(0x1c2)]+'\x20'+_0x5b1911[_0x9665a1(0x279)]);if(!this[_0x9665a1(0x1d4)][_0x9665a1(0x207)](_0x48619f[_0x9665a1(0x228)]['id'],{'unitId':this[_0x9665a1(0x24b)][_0x9665a1(0x2c1)](),'table':_0x18a4cd,'index':_0x391a82==null?void 0x0:_0x391a82[_0x9665a1(0x27d)]}))throw Error(_0x9665a1(0x285)+_0x28b005+'\x22.');return this['_injector'][_0x9665a1(0x2e7)](_0x2fdc6b,this,_0x18a4cd['id'],this['_injector']);}[_0x360f56(0x2ae)](_0x126b76){const _0x2647f4=_0x360f56;let _0x56c783=typeof _0x126b76=='string'?_0x126b76:_0x126b76[_0x2647f4(0x186)]();if(!this[_0x2647f4(0x1d4)][_0x2647f4(0x207)](_0x48619f[_0x2647f4(0x263)]['id'],{'unitId':this[_0x2647f4(0x24b)][_0x2647f4(0x2c1)](),'tableId':_0x56c783}))throw Error(_0x2647f4(0x1db)+_0x56c783+'\x22.');return!0x0;}['duplicateTable'](_0x282337,_0x1962f6){const _0xefc506=_0x360f56;let _0x484a39=this[_0xefc506(0x24b)][_0xefc506(0x218)](),_0x2e0b2c=typeof _0x282337==_0xefc506(0x2a6)?_0x282337:_0x282337[_0xefc506(0x186)](),_0x11b2ac=_0x484a39[_0xefc506(0x238)][_0x2e0b2c];if(!_0x11b2ac)throw Error(_0xefc506(0x314)+_0x2e0b2c+_0xefc506(0x30f));let _0x30c357=_0x484a39[_0xefc506(0x15c)][_0xefc506(0x277)](_0x2e0b2c)+0x1,_0x38725f=(0x0,_0x758172[_0xefc506(0x2c7)])(),_0x3aa442=(0x0,_0x48619f[_0xefc506(0x29f)])(_0x11b2ac,{'id':_0x38725f,'name':(0x0,_0x48619f[_0xefc506(0x29d)])(_0x484a39,_0x11b2ac[_0xefc506(0x2a9)]+_0xefc506(0x29b)),'includeRecords':(_0x1962f6==null?void 0x0:_0x1962f6['includeRecords'])??!0x1,'regenerateViewIds':(_0x1962f6==null?void 0x0:_0x1962f6[_0xefc506(0x272)])??!0x1});if(!this[_0xefc506(0x1d4)][_0xefc506(0x207)](_0x48619f['CreateBaseTableCommand']['id'],{'unitId':this[_0xefc506(0x24b)][_0xefc506(0x2c1)](),'table':_0x3aa442,'index':_0x30c357}))throw Error(_0xefc506(0x21d)+_0x2e0b2c+'\x22.');return this[_0xefc506(0x2a4)]['createInstance'](_0x2fdc6b,this,_0x3aa442['id'],this[_0xefc506(0x2a4)]);}[_0x360f56(0x19e)](){const _0x1af108=_0x360f56;let _0x3b66c9=this[_0x1af108(0x24b)][_0x1af108(0x218)]();return{'id':_0x3b66c9['id'],'name':_0x3b66c9['name'],'tables':this[_0x1af108(0x1ee)]()[_0x1af108(0x2c8)](_0x2efee1=>_0x2efee1[_0x1af108(0x19e)]())};}};_0x516e3f=_0x283871([_0x2ff177(0x1,(0x0,_0x758172[_0x360f56(0x169)])(_0x758172[_0x360f56(0x23b)])),_0x2ff177(0x2,_0x758172[_0x360f56(0x2cf)]),_0x2ff177(0x3,_0x758172[_0x360f56(0x1e2)]),_0x2ff177(0x4,_0x758172[_0x360f56(0x1ce)])],_0x516e3f);var _0x486d0e=class extends _0x53678c[_0x360f56(0x2ec)]{[_0x360f56(0x27f)](){const _0x4e5932=_0x360f56;this[_0x4e5932(0x1e0)](),this[_0x4e5932(0x158)]();}['createBase'](_0x4a1f4b={},_0x5176f7){const _0x1c3939=_0x360f56;let _0x3735fb=this[_0x1c3939(0x2cc)][_0x1c3939(0x2a1)](_0x758172[_0x1c3939(0x24e)][_0x1c3939(0x1e8)],_0x4a1f4b,_0x5176f7);return this[_0x1c3939(0x2a4)]['createInstance'](_0x516e3f,_0x3735fb);}['getActiveBase'](){const _0x679ea1=_0x360f56;let _0x53d70b=this['_univerInstanceService']['getCurrentUnitOfType'](_0x758172['UniverInstanceType'][_0x679ea1(0x1e8)]);return _0x53d70b?this['_injector']['createInstance'](_0x516e3f,_0x53d70b):null;}[_0x360f56(0x308)](_0x13d992){const _0x17477c=_0x360f56;let _0x3b6fbc=this[_0x17477c(0x2cc)]['getUnit'](_0x13d992,_0x758172['UniverInstanceType']['UNIVER_BASE']);return _0x3b6fbc?this[_0x17477c(0x2a4)][_0x17477c(0x2e7)](_0x516e3f,_0x3b6fbc):null;}[_0x360f56(0x2d7)](){const _0x2a2f97=_0x360f56;return this['_univerInstanceService'][_0x2a2f97(0x2c0)](_0x758172['UniverInstanceType']['UNIVER_BASE'])['map'](_0x1d528c=>this[_0x2a2f97(0x2a4)]['createInstance'](_0x516e3f,_0x1d528c));}[_0x360f56(0x158)](){const _0x458092=_0x360f56;this['disposeWithMe'](this[_0x458092(0x1b2)](this['Event']['BaseHierarchyChanged'],()=>this[_0x458092(0x1d4)][_0x458092(0x1ea)]((_0x3c7c01,_0x5e27d7)=>{const _0x449c97=_0x458092;var _0x3afcc2;if(!_0x1ef85d(_0x3c7c01,_0x48619f['ApplyBaseJson1Mutation']))return;let _0x467a0d=_0x3c7c01['params'];if(!((_0x3afcc2=_0x467a0d[_0x449c97(0x224)])!=null&&_0x3afcc2[_0x449c97(0x270)]))return;let _0x3d8de8=this[_0x449c97(0x308)](_0x467a0d[_0x449c97(0x1b9)]),_0x550765=_0x3d8de8==null?void 0x0:_0x3d8de8['getTableById'](_0x467a0d[_0x449c97(0x224)][0x0]['tableId']);if(!_0x3d8de8||!_0x550765)return;let _0x5d8f21={'base':_0x3d8de8,'table':_0x550765,'changes':_0x467a0d['hierarchyChanges'],'source':_0x5e27d7!=null&&_0x5e27d7[_0x449c97(0x1d0)]?_0x48619f[_0x449c97(0x264)][_0x449c97(0x22c)]:_0x467a0d[_0x449c97(0x15a)]??_0x48619f[_0x449c97(0x264)]['UI']};this[_0x449c97(0x19b)](this[_0x449c97(0x1eb)]['BaseHierarchyChanged'],_0x5d8f21);}))),this[_0x458092(0x188)](this[_0x458092(0x1b2)](this[_0x458092(0x1eb)]['BaseTableCreated'],()=>this[_0x458092(0x1d4)]['onCommandExecuted'](_0xd71bfa=>{const _0x1fe4f3=_0x458092;if(_0xd71bfa['id']!==_0x48619f['CreateBaseTableCommand']['id'])return;let {unitId:_0x13c436,table:_0x506820,index:_0x2600ff}=_0xd71bfa[_0x1fe4f3(0x1c3)],_0x2732a4=this[_0x1fe4f3(0x308)](_0x13c436);if(!_0x2732a4)return;let _0x4b5e20={'base':_0x2732a4,'table':_0x506820,'index':_0x2600ff};this['fireEvent'](this[_0x1fe4f3(0x1eb)]['BaseTableCreated'],_0x4b5e20);}))),this[_0x458092(0x188)](this[_0x458092(0x1b2)](this[_0x458092(0x1eb)][_0x458092(0x1fa)],()=>this[_0x458092(0x1d4)][_0x458092(0x1ea)](_0x286df9=>{const _0x3a83d8=_0x458092;if(_0x286df9['id']!==_0x48619f[_0x3a83d8(0x183)]['id'])return;let {unitId:_0x42e03a,tableId:_0x5e09bf,field:_0x860f41,index:_0x46ca35,viewIndexes:_0x3b4b1b}=_0x286df9[_0x3a83d8(0x1c3)],_0x2d2ed0=this[_0x3a83d8(0x308)](_0x42e03a);if(!_0x2d2ed0)return;let _0x47d14f=_0x2d2ed0['getTableById'](_0x5e09bf);if(!_0x47d14f)return;let _0x5737a3={'base':_0x2d2ed0,'table':_0x47d14f,'field':_0x860f41,'index':_0x46ca35,'viewIndexes':_0x3b4b1b};this[_0x3a83d8(0x19b)](this[_0x3a83d8(0x1eb)][_0x3a83d8(0x1fa)],_0x5737a3);}))),this['disposeWithMe'](this[_0x458092(0x1b2)](this['Event'][_0x458092(0x2c3)],()=>this[_0x458092(0x1d4)][_0x458092(0x1ea)](_0x1454b0=>{const _0x50ba35=_0x458092;if(_0x1454b0['id']!==_0x48619f[_0x50ba35(0x267)]['id']&&_0x1454b0['id']!==_0x48619f[_0x50ba35(0x1ac)]['id'])return;let _0x34c618=_0x1454b0[_0x50ba35(0x1c3)],{unitId:_0x51d555,tableId:_0x3f7278}=_0x34c618,_0x361993=_0x34c618[_0x50ba35(0x2f3)]??[_0x34c618[_0x50ba35(0x23a)]],_0xb1963a=this[_0x50ba35(0x308)](_0x51d555);if(!_0xb1963a)return;let _0x4aea43=_0xb1963a[_0x50ba35(0x1cb)](_0x3f7278);if(!_0x4aea43)return;let _0x58a75d={'base':_0xb1963a,'table':_0x4aea43,'records':_0x361993};this[_0x50ba35(0x19b)](this['Event'][_0x50ba35(0x2c3)],_0x58a75d);}))),this[_0x458092(0x188)](this[_0x458092(0x1b2)](this['Event'][_0x458092(0x19c)],()=>this[_0x458092(0x1d4)][_0x458092(0x1ea)](_0x5c38ca=>{const _0x4f094b=_0x458092;if(_0x5c38ca['id']!==_0x48619f[_0x4f094b(0x28b)]['id'])return;let {unitId:_0x433847,tableId:_0x362123,view:_0x189f70,index:_0x5c7644}=_0x5c38ca[_0x4f094b(0x1c3)],_0x44c660=this[_0x4f094b(0x308)](_0x433847);if(!_0x44c660)return;let _0x3bce24=_0x44c660['getTableById'](_0x362123);if(!_0x3bce24)return;let _0x4f0bdd={'base':_0x44c660,'table':_0x3bce24,'view':_0x189f70,'index':_0x5c7644};this[_0x4f094b(0x19b)](this[_0x4f094b(0x1eb)]['BaseTableViewCreated'],_0x4f0bdd);}))),this[_0x458092(0x188)](this[_0x458092(0x1b2)](this['Event'][_0x458092(0x1aa)],()=>this['_commandService'][_0x458092(0x1ea)](_0x5eb2e5=>{const _0x303eca=_0x458092;if(_0x5eb2e5['id']!==_0x48619f[_0x303eca(0x2b7)]['id'])return;let {unitId:_0x3955cb,tableId:_0x6888e0,recordId:_0x20a16c,fieldId:_0x5c2558,value:_0x50e01d}=_0x5eb2e5[_0x303eca(0x1c3)],_0x1938b6=this[_0x303eca(0x308)](_0x3955cb);if(!_0x1938b6)return;let _0x4bf8ef=_0x1938b6[_0x303eca(0x1cb)](_0x6888e0);if(!_0x4bf8ef)return;let _0x586078=_0x4bf8ef[_0x303eca(0x231)](_0x5c2558);if(!_0x586078)return;let _0x4a43cc=_0x4bf8ef[_0x303eca(0x23d)](_0x20a16c);if(!_0x4a43cc)return;let _0x263229={'base':_0x1938b6,'table':_0x4bf8ef,'field':_0x586078,'record':_0x4a43cc,'value':_0x50e01d};this[_0x303eca(0x19b)](this[_0x303eca(0x1eb)][_0x303eca(0x1aa)],_0x263229);})));}[_0x360f56(0x1e0)](){const _0x2fb70c=_0x360f56;this[_0x2fb70c(0x188)](this[_0x2fb70c(0x1b2)](this[_0x2fb70c(0x1eb)][_0x2fb70c(0x24c)],()=>this[_0x2fb70c(0x1d4)]['beforeCommandExecuted'](_0x585381=>{const _0x48d74b=_0x2fb70c;if(_0x1ef85d(_0x585381,_0x48619f['SetBaseRecordValuesCommand'])){let {unitId:_0x21b5c5,tableId:_0x1f35ab,patches:_0x4896f0,source:_0x2b3f55=_0x48619f[_0x48d74b(0x264)]['UI']}=_0x585381['params'],_0x5661ab=this[_0x48d74b(0x2ea)](_0x21b5c5,_0x1f35ab);if(!_0x5661ab)return;this[_0x48d74b(0x230)](_0x5661ab[_0x48d74b(0x2ac)],_0x5661ab[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x21f)])(_0x5661ab[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)](),_0x4896f0),_0x2b3f55);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x27c)])){let {unitId:_0x3bbf61,tableId:_0x564cb5,patches:_0x20eeb2,source:_0x1ddbaf=_0x48619f[_0x48d74b(0x264)]['UI']}=_0x585381[_0x48d74b(0x1c3)],_0x39ce1d=this[_0x48d74b(0x2ea)](_0x3bbf61,_0x564cb5);if(!_0x39ce1d)return;let _0x46a68a=_0x39ce1d[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)]();this[_0x48d74b(0x230)](_0x39ce1d[_0x48d74b(0x2ac)],_0x39ce1d[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x21f)])(_0x46a68a,(0x0,_0x48619f['resolveBaseRangeHierarchyPatches'])(_0x46a68a,_0x20eeb2)),_0x1ddbaf);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x267)])){let _0x550a36=_0x585381[_0x48d74b(0x1c3)],_0x55b3d3=this[_0x48d74b(0x2ea)](_0x550a36['unitId'],_0x550a36[_0x48d74b(0x1a3)]);if(!_0x55b3d3)return;this[_0x48d74b(0x230)](_0x55b3d3[_0x48d74b(0x2ac)],_0x55b3d3[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x20a)])(_0x55b3d3[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)](),[_0x550a36['record']]),_0x550a36['source']??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x1ac)])){let _0x47cb89=_0x585381[_0x48d74b(0x1c3)],_0x40dbe8=this['_getHierarchyEventContext'](_0x47cb89[_0x48d74b(0x1b9)],_0x47cb89[_0x48d74b(0x1a3)]);if(!_0x40dbe8)return;this[_0x48d74b(0x230)](_0x40dbe8[_0x48d74b(0x2ac)],_0x40dbe8[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x20a)])(_0x40dbe8['table'][_0x48d74b(0x1a2)](),_0x47cb89[_0x48d74b(0x2f3)]),_0x47cb89[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x2b4)])){let _0x36810f=_0x585381['params'],_0x2273d8=this[_0x48d74b(0x2ea)](_0x36810f[_0x48d74b(0x1b9)],_0x36810f['tableId']);if(!_0x2273d8)return;this['_fireBeforeHierarchyChange'](_0x2273d8[_0x48d74b(0x2ac)],_0x2273d8[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x20a)])(_0x2273d8[_0x48d74b(0x2b6)]['getTable'](),[_0x36810f[_0x48d74b(0x23a)]]),_0x36810f[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x2a0)])){let _0x3bb48b=_0x585381[_0x48d74b(0x1c3)],_0x2cf92e=this[_0x48d74b(0x2ea)](_0x3bb48b[_0x48d74b(0x1b9)],_0x3bb48b[_0x48d74b(0x1a3)]);if(!_0x2cf92e)return;let _0xd88a7f=_0x2cf92e[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)](),_0x2e258f=_0x3bb48b['fieldId']??(0x0,_0x48619f[_0x48d74b(0x17e)])(_0xd88a7f),_0xc73cff=(0x0,_0x48619f['buildBaseHierarchyIndex'])(_0xd88a7f,_0x2e258f)[_0x48d74b(0x2c5)][_0x48d74b(0x1b6)](_0x3bb48b[_0x48d74b(0x248)])??null;this[_0x48d74b(0x230)](_0x2cf92e[_0x48d74b(0x2ac)],_0x2cf92e[_0x48d74b(0x2b6)],[{'tableId':_0x3bb48b['tableId'],'fieldId':_0x2e258f,'recordId':_0x3bb48b[_0x48d74b(0x248)],'oldParentRecordId':_0xc73cff,'parentRecordId':_0x3bb48b[_0x48d74b(0x2ba)]}],_0x3bb48b[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x204)])){let _0x11de9e=_0x585381[_0x48d74b(0x1c3)],_0xb1eeba=this['_getHierarchyEventContext'](_0x11de9e[_0x48d74b(0x1b9)],_0x11de9e[_0x48d74b(0x1a3)]);if(!_0xb1eeba)return;let _0x32c90b=_0x11de9e[_0x48d74b(0x2d3)]??(0x0,_0x48619f['resolveBaseHierarchyFieldId'])(_0xb1eeba[_0x48d74b(0x2b6)]['getTable']());this[_0x48d74b(0x230)](_0xb1eeba[_0x48d74b(0x2ac)],_0xb1eeba[_0x48d74b(0x2b6)],[{'tableId':_0x11de9e['tableId'],'fieldId':_0x32c90b,'recordId':_0x11de9e[_0x48d74b(0x23a)]['id'],'oldParentRecordId':null,'parentRecordId':_0x11de9e[_0x48d74b(0x2ba)]}],_0x11de9e[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f[_0x48d74b(0x16c)])){let _0x33cad5=_0x585381[_0x48d74b(0x1c3)],_0x274e9f=this[_0x48d74b(0x2ea)](_0x33cad5[_0x48d74b(0x1b9)],_0x33cad5[_0x48d74b(0x1a3)]);if(!_0x274e9f)return;this['_fireBeforeHierarchyChange'](_0x274e9f[_0x48d74b(0x2ac)],_0x274e9f['table'],(0x0,_0x48619f[_0x48d74b(0x1d6)])(_0x274e9f[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)](),[_0x33cad5['recordId']]),_0x33cad5[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(_0x1ef85d(_0x585381,_0x48619f['BatchDeleteBaseRecordsCommand'])){let _0x1a0ae0=_0x585381[_0x48d74b(0x1c3)],_0x146071=this[_0x48d74b(0x2ea)](_0x1a0ae0[_0x48d74b(0x1b9)],_0x1a0ae0['tableId']);if(!_0x146071)return;this['_fireBeforeHierarchyChange'](_0x146071[_0x48d74b(0x2ac)],_0x146071[_0x48d74b(0x2b6)],(0x0,_0x48619f[_0x48d74b(0x1d6)])(_0x146071[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)](),_0x1a0ae0[_0x48d74b(0x25e)]),_0x1a0ae0[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);return;}if(!_0x1ef85d(_0x585381,_0x48619f['UpdateBaseCellCommand']))return;let _0xff2450=_0x585381[_0x48d74b(0x1c3)],_0x11a9b1=this['_getHierarchyEventContext'](_0xff2450[_0x48d74b(0x1b9)],_0xff2450[_0x48d74b(0x1a3)]);if(!_0x11a9b1)return;let _0x4a7463=_0x11a9b1[_0x48d74b(0x2b6)][_0x48d74b(0x1a2)]();if(!(0x0,_0x48619f['getActiveBaseHierarchyFieldIds'])(_0x4a7463)[_0x48d74b(0x1ae)](_0xff2450['fieldId']))return;let _0x5cc9a5=(0x0,_0x48619f['buildBaseHierarchyIndex'])(_0x4a7463,_0xff2450[_0x48d74b(0x2d3)])[_0x48d74b(0x2c5)][_0x48d74b(0x1b6)](_0xff2450['recordId'])??null,_0x39d8b8=(0x0,_0x48619f[_0x48d74b(0x1a4)])(_0xff2450[_0x48d74b(0x288)])[0x0]??null;_0x5cc9a5!==_0x39d8b8&&this[_0x48d74b(0x230)](_0x11a9b1[_0x48d74b(0x2ac)],_0x11a9b1['table'],[{'tableId':_0xff2450[_0x48d74b(0x1a3)],'fieldId':_0xff2450[_0x48d74b(0x2d3)],'recordId':_0xff2450[_0x48d74b(0x248)],'oldParentRecordId':_0x5cc9a5,'parentRecordId':_0x39d8b8}],_0xff2450[_0x48d74b(0x15a)]??_0x48619f[_0x48d74b(0x264)]['UI']);}))),this[_0x2fb70c(0x188)](this['registerEventHandler'](this[_0x2fb70c(0x1eb)][_0x2fb70c(0x171)],()=>this[_0x2fb70c(0x1d4)][_0x2fb70c(0x18f)](_0x348594=>{const _0x24e21e=_0x2fb70c;if(_0x348594['id']!==_0x48619f[_0x24e21e(0x228)]['id'])return;let {unitId:_0xae226b,table:_0x17437b,index:_0x14dbc9}=_0x348594[_0x24e21e(0x1c3)],_0x758835=this[_0x24e21e(0x308)](_0xae226b);if(!_0x758835)return;let _0x560ccc={'base':_0x758835,'table':_0x17437b,'index':_0x14dbc9};if(this[_0x24e21e(0x19b)](this['Event'][_0x24e21e(0x171)],_0x560ccc),_0x560ccc[_0x24e21e(0x271)])throw new _0x758172['CanceledError']();}))),this[_0x2fb70c(0x188)](this[_0x2fb70c(0x1b2)](this[_0x2fb70c(0x1eb)][_0x2fb70c(0x261)],()=>this[_0x2fb70c(0x1d4)][_0x2fb70c(0x18f)](_0x7369b5=>{const _0x40d52f=_0x2fb70c;if(_0x7369b5['id']!==_0x48619f[_0x40d52f(0x183)]['id'])return;let {unitId:_0x3e730b,tableId:_0x32fd12,field:_0x16ff2e,index:_0x5d2192,viewIndexes:_0x3b8d21}=_0x7369b5[_0x40d52f(0x1c3)],_0x14370e=this[_0x40d52f(0x308)](_0x3e730b);if(!_0x14370e)return;let _0x40a543=_0x14370e[_0x40d52f(0x1cb)](_0x32fd12);if(!_0x40a543)return;let _0x5f05e6={'base':_0x14370e,'table':_0x40a543,'field':_0x16ff2e,'index':_0x5d2192,'viewIndexes':_0x3b8d21};if(this[_0x40d52f(0x19b)](this[_0x40d52f(0x1eb)][_0x40d52f(0x261)],_0x5f05e6),_0x5f05e6[_0x40d52f(0x271)])throw new _0x758172[(_0x40d52f(0x18b))]();}))),this[_0x2fb70c(0x188)](this[_0x2fb70c(0x1b2)](this['Event'][_0x2fb70c(0x297)],()=>this[_0x2fb70c(0x1d4)]['beforeCommandExecuted'](_0xa08e4d=>{const _0x2c1d73=_0x2fb70c;if(_0xa08e4d['id']!==_0x48619f[_0x2c1d73(0x267)]['id']&&_0xa08e4d['id']!==_0x48619f[_0x2c1d73(0x1ac)]['id'])return;let _0xdd212a=_0xa08e4d[_0x2c1d73(0x1c3)],{unitId:_0x206b80,tableId:_0x4e865b}=_0xdd212a,_0x3723bb=_0xdd212a[_0x2c1d73(0x2f3)]??[_0xdd212a[_0x2c1d73(0x23a)]],_0x41c1b0=this['getBase'](_0x206b80);if(!_0x41c1b0)return;let _0x8fad52=_0x41c1b0['getTableById'](_0x4e865b);if(!_0x8fad52)return;let _0xfc88a6={'base':_0x41c1b0,'table':_0x8fad52,'records':_0x3723bb};if(this[_0x2c1d73(0x19b)](this[_0x2c1d73(0x1eb)][_0x2c1d73(0x297)],_0xfc88a6),_0xfc88a6['cancel'])throw new _0x758172['CanceledError']();}))),this[_0x2fb70c(0x188)](this[_0x2fb70c(0x1b2)](this[_0x2fb70c(0x1eb)][_0x2fb70c(0x2f8)],()=>this[_0x2fb70c(0x1d4)][_0x2fb70c(0x18f)](_0x1931d7=>{const _0x3bf0fa=_0x2fb70c;if(_0x1931d7['id']!==_0x48619f[_0x3bf0fa(0x28b)]['id'])return;let {unitId:_0x29ac9b,tableId:_0x1f06fb,view:_0x4cde16,index:_0x25a2f2}=_0x1931d7[_0x3bf0fa(0x1c3)],_0x4b33a0=this[_0x3bf0fa(0x308)](_0x29ac9b);if(!_0x4b33a0)return;let _0x3fdcf7=_0x4b33a0[_0x3bf0fa(0x1cb)](_0x1f06fb);if(!_0x3fdcf7)return;let _0x364f87={'base':_0x4b33a0,'table':_0x3fdcf7,'view':_0x4cde16,'index':_0x25a2f2};if(this[_0x3bf0fa(0x19b)](this['Event']['BeforeBaseTableViewCreate'],_0x364f87),_0x364f87[_0x3bf0fa(0x271)])throw new _0x758172[(_0x3bf0fa(0x18b))]();}))),this[_0x2fb70c(0x188)](this[_0x2fb70c(0x1b2)](this['Event'][_0x2fb70c(0x253)],()=>this[_0x2fb70c(0x1d4)][_0x2fb70c(0x18f)](_0x12ae84=>{const _0x595247=_0x2fb70c;if(_0x12ae84['id']!==_0x48619f[_0x595247(0x2b7)]['id'])return;let {unitId:_0x50750c,tableId:_0x5d251f,recordId:_0x812d5c,fieldId:_0x5d22f3,value:_0x2311de}=_0x12ae84[_0x595247(0x1c3)],_0xc672a3=this['getBase'](_0x50750c);if(!_0xc672a3)return;let _0x3ecb43=_0xc672a3[_0x595247(0x1cb)](_0x5d251f);if(!_0x3ecb43)return;let _0x58db64=_0x3ecb43[_0x595247(0x231)](_0x5d22f3);if(!_0x58db64)return;let _0x7a6334=_0x3ecb43[_0x595247(0x23d)](_0x812d5c);if(!_0x7a6334)return;let _0x5383c9={'base':_0xc672a3,'table':_0x3ecb43,'field':_0x58db64,'record':_0x7a6334,'value':_0x2311de};if(this[_0x595247(0x19b)](this[_0x595247(0x1eb)][_0x595247(0x253)],_0x5383c9),_0x5383c9[_0x595247(0x271)])throw new _0x758172[(_0x595247(0x18b))]();})));}[_0x360f56(0x2ea)](_0x28c72e,_0x35471a){const _0x3e8cbb=_0x360f56;let _0x2fd9ce=this['getBase'](_0x28c72e),_0x353a32=_0x2fd9ce==null?void 0x0:_0x2fd9ce[_0x3e8cbb(0x1cb)](_0x35471a);return _0x2fd9ce&&_0x353a32?{'base':_0x2fd9ce,'table':_0x353a32}:null;}[_0x360f56(0x230)](_0x22530a,_0x36a481,_0x8a5a88,_0x3a564d){const _0x45888a=_0x360f56;if(!_0x8a5a88[_0x45888a(0x270)])return;let _0x2b339f={'base':_0x22530a,'table':_0x36a481,'changes':_0x8a5a88,'source':_0x3a564d};if(this['fireEvent'](this[_0x45888a(0x1eb)][_0x45888a(0x24c)],_0x2b339f),_0x2b339f['cancel'])throw new _0x758172[(_0x45888a(0x18b))]();}};function _0x1ef85d(_0x39145b,_0x324535){return _0x39145b['id']===_0x324535['id']&&_0x39145b['params']!==void 0x0;}_0x53678c[_0x360f56(0x2ec)][_0x360f56(0x16d)](_0x486d0e);var _0x3d7492=class extends _0x53678c[_0x360f56(0x15b)]{get['BaseFieldType'](){const _0x30a9e1=_0x360f56;return _0x758172[_0x30a9e1(0x2bf)];}get[_0x360f56(0x1e9)](){const _0xaec9d0=_0x360f56;return _0x758172[_0xaec9d0(0x1e9)];}get[_0x360f56(0x1bf)](){const _0x3bbad9=_0x360f56;return _0x758172[_0x3bbad9(0x1bf)];}get[_0x360f56(0x162)](){return _0x1d13e3;}get[_0x360f56(0x312)](){const _0xc46cc9=_0x360f56;return _0x758172[_0xc46cc9(0x312)];}get[_0x360f56(0x173)](){return _0x758172['BaseConditionalColorTarget'];}get['BaseConditionalColorOperator'](){return _0x758172['BaseConditionalColorOperator'];}get['BaseConditionalDateMode'](){const _0x41bed9=_0x360f56;return _0x758172[_0x41bed9(0x177)];}get[_0x360f56(0x205)](){const _0x40b6b9=_0x360f56;return _0x758172[_0x40b6b9(0x205)];}get[_0x360f56(0x264)](){return _0x48619f['BaseEventSource'];}get['BaseHierarchyErrorCode'](){const _0x5a4603=_0x360f56;return _0x48619f[_0x5a4603(0x24a)];}get['BaseHierarchyInvalidReason'](){const _0x5d2193=_0x360f56;return _0x758172[_0x5d2193(0x1cc)];}get[_0x360f56(0x203)](){const _0x6911de=_0x360f56;return _0x758172[_0x6911de(0x203)];}};_0x53678c[_0x360f56(0x15b)]['extend'](_0x3d7492);var _0x5712e1=class extends _0x53678c[_0x360f56(0x254)]{get[_0x360f56(0x29c)](){const _0xfe11b3=_0x360f56;return _0xfe11b3(0x29c);}get[_0x360f56(0x171)](){const _0x59c36f=_0x360f56;return _0x59c36f(0x171);}get[_0x360f56(0x1fa)](){const _0x2a0512=_0x360f56;return _0x2a0512(0x1fa);}get[_0x360f56(0x261)](){const _0x5a255b=_0x360f56;return _0x5a255b(0x261);}get[_0x360f56(0x2c3)](){return'BaseTableRecordCreated';}get[_0x360f56(0x297)](){return'BeforeBaseTableRecordCreate';}get['BaseTableViewCreated'](){const _0x4cdcf8=_0x360f56;return _0x4cdcf8(0x19c);}get[_0x360f56(0x2f8)](){return'BeforeBaseTableViewCreate';}get[_0x360f56(0x1aa)](){const _0x148fbf=_0x360f56;return _0x148fbf(0x1aa);}get[_0x360f56(0x253)](){return'BeforeBaseTableCellValueChange';}get[_0x360f56(0x1c5)](){const _0x1ffeb0=_0x360f56;return _0x1ffeb0(0x1c5);}get[_0x360f56(0x24c)](){const _0x26a95d=_0x360f56;return _0x26a95d(0x24c);}};_0x53678c['FEventName'][_0x360f56(0x16d)](_0x5712e1),_0x39aa09[_0x360f56(0x162)]=_0x1d13e3,Object[_0x360f56(0x28c)](_0x39aa09,'FBase',{'enumerable':!0x0,'get':function(){return _0x516e3f;}}),_0x39aa09[_0x360f56(0x2cd)]=_0x543a91,_0x39aa09[_0x360f56(0x1dc)]=_0x1339aa,Object[_0x360f56(0x28c)](_0x39aa09,'FBaseTable',{'enumerable':!0x0,'get':function(){return _0x2fdc6b;}}),Object[_0x360f56(0x28c)](_0x39aa09,_0x360f56(0x2ab),{'enumerable':!0x0,'get':function(){return _0xe9c966;}}),Object[_0x360f56(0x28c)](_0x39aa09,_0x360f56(0x269),{'enumerable':!0x0,'get':function(){return _0x146f1c;}}),Object[_0x360f56(0x28c)](_0x39aa09,_0x360f56(0x274),{'enumerable':!0x0,'get':function(){return _0x56af14;}}),Object['defineProperty'](_0x39aa09,_0x360f56(0x164),{'enumerable':!0x0,'get':function(){return _0x5d3c12;}}),_0x39aa09['FBasesEventNameMixin']=_0x5712e1,_0x39aa09['resolveBaseFieldKey']=_0x3dd948,_0x39aa09[_0x360f56(0x1bc)]=_0x4e634a;}));function _0x7407(){const _0x80ca25=['getParent','BaseFieldKeyEnum','executeCommand','FBaseTableView',':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.','validateBaseTableName','setAttachments','fieldIds','Inject','views','Gallery','DeleteBaseRecordCommand','extend','@univerjs/core','number','[FView]:\x20view\x20\x22','BeforeBaseTableCreate','validateRecordLinkValue','BaseConditionalColorTarget','296880wopmpF','_viewId','MoveBaseFieldCommand','BaseConditionalDateMode','87231wiLNOX','addConditionalColorRule','Failed\x20to\x20create\x20view\x20\x22','getField','move','width','resolveBaseHierarchyFieldId','getConfig','isReadonly','custom','UniverCoreFacade','CreateBaseFieldCommand','matchesBaseCondition','config','getId','view','disposeWithMe','getTableByName','getBaseId','CanceledError','\x22:\x20expected\x20an\x20array.','__esModule','Base\x20field\x20not\x20found:\x20','beforeCommandExecuted','conditionalColoring','_getRecordLinkField','description',',\x20range:\x20','AND','\x22\x20must\x20be\x20a\x20non-empty\x20string.','_resourceLoaderService','beforeFieldId','getConditionalColorRules','system','endRow','fireEvent','BaseTableViewCreated','[FBase]:\x20invalid\x20table\x20name\x20\x22','getSchema','getLinkedRecordIds','RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.',',\x20max\x20columns:\x20','getTable','tableId','parseRecordLinkIds','find','isFinite','_inject','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','SetBasePermissionsCommand','BaseTableCellValueChanged','ImageSourceType','BatchCreateBaseRecordsCommand','_fieldId','includes','addRecords','isArray','_unitId','registerEventHandler','caseSensitive','\x22.\x20','getType','get','Invalid\x20attachment\x20at\x20index\x20','deleteRecords','unitId','createDefaultBaseTableSnapshot','_getAttachmentField','resolveBaseFieldValues','UpdateBaseRecordOrderCommand','_prepareFormulaFieldReferences','BaseFilterOperator','stringify','FBaseInitialable','BASE_TABLE_NAME_REQUIREMENTS','params','[FField]:\x20field\x20\x22','BaseHierarchyChanged','entries','getBasePermissionValue','UniverProBasesFacade','decorate','viewOrder','getTableById','BaseHierarchyInvalidReason','prototype','IPermissionService','[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22','fromCollab','slice','function','getAttachments','_commandService','delete','getBaseHierarchyDeletePromotions','\x20for\x20field\x20\x22','some','iterator','getNumRows','Failed\x20to\x20delete\x20table\x20\x22','FBasePermission','getGroup','getProjection','fieldSettings','_initBaseBeforeEvents','[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.','ICommandService','BASE_RECORD_ID_FIELD_ID','[FRecord]:\x20record\x20\x22','BASE64','getView','type','UNIVER_BASE','BaseFilterConjunction','onCommandExecuted','Event','auto','values','getTables','conditions','Tools','Edit','formula','getFormulaName','childrenByParentId','\x20exceeds\x20range\x20size\x20','2986819XHnphu','DeleteBaseViewCommand','setValue','Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','BaseTableFieldCreated','Grid','getValue','getValues','constructor','getFieldByName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/bases','IBaseProjectionService','BaseRecordLinkRole','CreateBaseChildRecordCommand','BaseSortDirection','_recordId','syncExecuteCommand','defaultValue','Attachment','validateBaseHierarchyRecordCreations',':\x20expected\x20an\x20object.','setFilter','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','every','bind','getDescription','removeLinkedRecord','\x20in\x20field\x20\x22','DeleteBaseFieldCommand','primaryFieldName','[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.','getFilter','getRange','getSnapshot','UniverProEngineFormula','SetBaseViewFieldOrderCommand','fieldOrder','setLinkedRecordIds','Failed\x20to\x20duplicate\x20table\x20\x22','valid','validateBaseHierarchyRecordPatches','setPoint','deepClone','getFieldSettings','getRecord','hierarchyChanges','[FRecord]:\x20attachment\x20at\x20index\x20','30qvCVOA','UniverProBases','CreateBaseTableCommand','warn','_table','sort','Remote','setValues','UnitAction','\x22\x20is\x20invalid.','_fireBeforeHierarchyChange','getFieldById','boolean','ensureBaseTableCellLayout','getPermission','hasOwnProperty','RecordLink','trim','tables','_collectDescendantIds','record','Injector','[FTable]:\x20table\x20\x22','getRecordById','Name','setFieldWidth','canEdit','setDefaultValue','@univerjs/protocol','now','_getRecord','duplicate','readonly','toPrimitive','recordId','Duplicate\x20Base\x20field\x20name:\x20','BaseHierarchyErrorCode','_base','BeforeBaseHierarchyChange','height','UniverInstanceType','getDescendants','Kanban','Gantt','forEach','BeforeBaseTableCellValueChange','FEventName',':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.','searchBaseTable','getRow','\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.','4429540NCsrSg','getViewByName','[FRecord]:\x20RecordLink\x20field\x20\x22','max','fields','recordIds','BaseConditionalColorRuleUpdateType','createView','BeforeBaseTableFieldCreate','getFields','DeleteBaseTableCommand','BaseEventSource','UniverProtocol','createdAt','CreateBaseRecordCommand','getBaseFacade','FBaseTableRange','localeCompare','deleteConditionalColorRule','getViewById','_getField','recordOrder','symbol','length','cancel','regenerateViewIds','fieldKey','FBaseTableRecord','updatedAt','size','indexOf','call','reason','\x22\x20is\x20not\x20an\x20Attachment\x20field.','_resolveRecordIds','SetBaseRangeValuesCommand','index','34bEMylY','_initialize','1138945RUGqZA','[FRecord]:\x20field\x20\x22','_getHierarchyIndex','_assertInBounds','getOwnPropertyNames','Failed\x20to\x20create\x20table\x20\x22','orderKey','primaryFieldId','value','getNumColumns','879196EEimIG','CreateBaseViewCommand','defineProperty','SetBaseViewSortCommand','getPrototypeOf','getBaseTablePermissionObjectId','filter','getBaseFormulaTableName','offset','setSort','startRow','SetBaseRecordValuesCommand','_getFieldIds','BeforeBaseTableRecordCreate','DESC','_range','serializeRecordLinkIds','\x20Copy','BaseTableCreated','createUniqueBaseTableName','getChildren','copyBaseTableSnapshot','MoveBaseHierarchyRecordCommand','createUnit','getDataRange','getVisibleFields','_injector','setName','string','buildBaseHierarchyIndex','SetBaseViewFilterCommand','name','SetBaseViewGroupCommand','FBaseTableField','base','afterFieldId','deleteTable','setHierarchyField','Add','changeType','getSort','update','DuplicateBaseRecordCommand','addChild','table','UpdateBaseCellCommand','[FRecord]:\x20invalid\x20RecordLink\x20value.','SetBaseViewFieldWidthCommand','parentRecordId','@univerjs/core/facade','Invalid\x20attachment\x20value\x20for\x20field\x20\x22','UpdateBaseViewConfigCommand','saveUnit','BaseFieldType','getAllUnitsForType','getUnitId','clear','BaseTableRecordCreated','_baseTableId','parentByRecordId','message','generateRandomId','map','_projectionService','default','externalReferences','_univerInstanceService','FBaseObjectPermission','targetTableId','IResourceLoaderService','endColumn','getDefaultValue','setReadOnly','fieldId','matches','BatchDeleteBaseRecordsCommand','flatMap','getBases','multiple','fromEntries',':\x20\x22','Set','getRecords','setEditable','\x22\x20is\x20not\x20a\x20RecordLink\x20field.','exports','push','getName','setGroup','_getView','_baseUnitId','rowId','mimeType','createInstance','UpdateBaseViewConditionalColorRulesCommand','[FBaseRange]:\x20table\x20does\x20not\x20exist.','_getHierarchyEventContext','operator','FUniver','UniverCore','toStringTag','36lcbCYB','Facade','_writeFormulaExternalReferences','[FBaseRange]:\x20values\x20size\x20','records','field','thumbnail','subtreeHeightByRecordId','hidden','BeforeBaseTableViewCreate','getBaseViewPermissionObjectId','data:','setParent','Formula','_getTable','_tableId','8824oRWYox','startColumn','_objectId','test','[FBaseTable]:\x20invalid\x20table\x20name\x20\x22',':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.','Date','UpsertHostExternalReferencesCommand','limit','getBase','setConfig','Unsupported\x20Base\x20field\x20type\x20\x22','has','addRecord','4242nHqXTJ','SetBaseTableHierarchyFieldCommand','\x22\x20does\x20not\x20exist.','startsWith','object','BaseViewType','commonExtend','[FBase]:\x20table\x20\x22','RenameBaseTableCommand','SetBasePermissionCommand','_initBaseAfterEvents','_permissionService','source','FEnum','tableOrder','canEditBaseTargets','from','orderedRecordIds','rows'];_0x7407=function(){return _0x80ca25;};return _0x7407();}
|
|
1
|
+
function _0x1e46(_0x43cdb3,_0x4954d5){_0x43cdb3=_0x43cdb3-0x1c2;const _0x2ca829=_0x2ca8();let _0x1e46ef=_0x2ca829[_0x43cdb3];return _0x1e46ef;}function _0x2ca8(){const _0xe4734b=['Invalid\x20Base\x20regex\x20filter:\x20','Event','UniverCore','setOrderKey','Unsupported\x20Base\x20field\x20type\x20\x22','Invalid\x20attachment\x20at\x20index\x20','IBaseProjectionService','_resolveRecordIds',':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.','tableId','RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.','setHierarchyField','Facade','setReadOnly','UniverProEngineFormula','getConditionalColorRules','_range','SetBaseNameCommand','_viewId','cancel','UUID',',\x20max\x20columns:\x20','setValues','number','BaseConditionalColorRuleUpdateType','function','map','getVisibleFields','getRange',',\x20range:\x20','SetBaseRangeValuesCommand','direction','getAllUnitsForType','beforeFieldId','insertTable','delete','test','constructor','getBaseFacade','params','SetBaseViewSortCommand','system','recordOrder','_getTable','fieldId','buildBaseHierarchyIndex','@univerjs/core/facade','subtreeHeightByRecordId','getRecordById','some','startRow','Module','ApplyBaseJson1Mutation','get','matches','updatedAt','getFilter','getRecord','1231130UChrDn','setConditionalColorRules','invalid','_getRecord','FBasePermission','getId','addField','conditionalColoring','generateRandomId','getAttachments','getSchema','Gantt','Name','_initBaseBeforeEvents','RecordLink','every','FBaseObjectPermission','[FRecord]:\x20field\x20\x22','[FRecord]:\x20attachment\x20at\x20index\x20','3765688UDidNY','thumbnail','UniverProtocol','onCommandExecuted','7kgVwSY','getActiveBaseHierarchyFieldIds','637332uUyKkS','BatchDeleteBaseRecordsCommand','childrenByParentId','deleteProperty','\x20in\x20field\x20\x22','BeforeBaseHierarchyChange','ValidateBaseFormulaCommand','getTableById','__esModule','Edit','search','parentRecordId','getConfig','BASE64','\x20exceeds\x20range\x20size\x20','has','recordId','[FBaseTable]:\x20invalid\x20table\x20name\x20\x22','Auto','regenerateViewIds','size','BeforeBaseTableRecordCreate','DeleteBaseRecordCommand','getViewByName','Failed\x20to\x20add\x20records','getName','BeforeBaseTableCellValueChange','SetBaseViewFieldOrderCommand','CreateBaseRecordCommand','AND','_getAttachmentField','hierarchyChanges','17AImpiu','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','SetBaseTableHierarchyFieldCommand','_permissionService','limit','BaseTableFieldCreated','caseSensitive','getHierarchyFieldId','auto','getNumColumns','update','from','config','IPermissionService','valid','_unitId','_fieldId','Failed\x20to\x20delete\x20table\x20\x22','getTableFacade','deleteConditionalColorRule','getColumn','rowId','_getHierarchyEventContext','hasOwnProperty','Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','@univerjs/core','unitId','MoveBaseHierarchyRecordCommand','getBases','_getFieldIds','Kanban','UniverInstanceType','getTableId','SetBasePermissionsCommand','_getHierarchyIndex','getViews','getDescription','CanceledError','getChildren','records','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','resolveBaseFieldValues','setAttachments','reason','field','addRecords','deleteTable','setParent','Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22','source','setLinkedRecordIds','BaseViewType','Remote','call','CreateBaseChildRecordCommand','getType','MoveBaseViewCommand','DuplicateBaseRecordCommand','getFieldById','27RVgIQc','getView','values','[FRecord]:\x20record\x20\x22','UpdateBaseRecordOrderCommand','tables','viewId','setFilter','\x22:\x20expected\x20an\x20array.','[FTable]:\x20table\x20\x22','FEnum','RecordId','filter','FBaseTableField','viewOrder','Clear','40652NuBfka','formula','BaseTableCellValueChanged','Attachment','getTables','orderedRecordIds','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','save','executeCommand','now','deleteAttachments','[FBase]:\x20table\x20\x22','includes','BaseConditionalDateMode','localeCompare','setSort','CreateBaseFieldCommand','BaseHierarchyErrorCode','BaseHierarchyInvalidReason','\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.','getPrototypeOf','_injector','Invalid\x20Base\x20formula.','BaseFilterOperator','addConditionalColorRule','orderKey','getField','BaseFilterConjunction','enumerable','setEditable','multiple','MoveBaseFieldCommand','Failed\x20to\x20create\x20table\x20\x22','Calendar','move','FBase','getPermission','sort','getBaseFieldPermissionObjectId','getParent','createView','endColumn','defineProperty','_parentObjectIds','_getView','getValues','BaseFieldKeyEnum','[FBase]:\x20invalid\x20table\x20name\x20\x22','ICommandService','BaseHierarchyChanged','_objectId','saveUnit','_recordId','resolveBaseHierarchyFieldId','parseRecordLinkIds','SetBaseRecordValuesCommand','beforeCommandExecuted','BaseEventSource','prototype','SetBaseViewFieldWidthCommand','Formula','validateRecordLinkValue','clearConditionalColorRules','validateBaseHierarchyRecordPatches','afterFieldId','name','data:','primaryFieldId','getValue','offset','startsWith','_getField','ensureBaseTableCellLayout','record',':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.','getFields',':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.','Injector','[FField]:\x20field\x20\x22','hidden','fieldOrder','RenameBaseViewCommand','moveField','BeforeBaseTableViewCreate','getPrimaryField','@univerjs-pro/engine-formula','_base','setValue','queryRecords','externalReferences','_fireBeforeHierarchyChange','fieldSettings','duplicate','addRecord','warn','_projectionService','UpdateBaseFieldCommand','fields','table','getUnitId','base','url','_baseUnitId','DESC','symbol','addChild','BaseTableViewCreated','BaseTableRecordCreated','type','_tableId','2556618wctiIK','isArray','UpdateBaseCellCommand','Failed\x20to\x20add\x20field\x20\x22','object','entries','\x22\x20is\x20not\x20an\x20Attachment\x20field.','validateBaseTableName','group','default','getPoint','getTableByName','getFieldByName','endRow','syncExecuteCommand','FEventName','push','BaseFieldType','decorate','@univerjs-pro/bases','UNIVER_BASE','setDefaultValue','_prepareFormulaFieldReferences','\x20for\x20field\x20\x22','changeType','getGroup','[FRecord]:\x20invalid\x20RecordLink\x20value.','createUniqueBaseTableName','views','targetTableId','createdAt','getBaseTablePermissionObjectId','_commandService','\x22.\x20','includeRecords','trim','getPrimaryFieldId','indexOf','fieldIds','BaseSortDirection','canEdit','isFinite','deepClone','[FRecord]:\x20RecordLink\x20field\x20\x22','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','getBaseHierarchyDeletePromotions','959601ZRgPGZ','FBasesEventNameMixin','BeforeBaseTableFieldCreate','disposeWithMe','duplicateTable','fireEvent','description','15HLjlZC','\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.','getBasePermissionValue','setName','getLinkedRecordIds','_assertInBounds','validateBaseHierarchyRecordCreations',':\x20\x22','Duplicate\x20Base\x20field\x20name:\x20','operator','BeforeBaseTableCreate','visibleCardFieldIds','setFieldWidth','startColumn','_table','FUniver','BASE_RECORD_ID_FIELD_ID','fromCollab','BatchCreateBaseRecordsCommand','commonExtend','Tools','tableOrder','URL','getBase','getDataRange','createInstance','create','matchesBaseCondition','searchBaseTable','@univerjs/protocol','Failed\x20to\x20create\x20view\x20\x22','createBase','SetBasePermissionCommand','getFormulaName','stringify','getOwnPropertyNames','addLinkedRecord','getFieldSettings','getSnapshot','resolveBaseFieldKey','FBaseTable','exports','getRow','view','string','getActiveBase','getRecordLinkFieldConfig','UniverProBases','5797561vCgOgY','iterator','readonly','length','Date','getBaseViewPermissionObjectId','_univerInstanceService','rows','getOwnPropertyDescriptor','BaseTableCreated','UnitAction','getProjection','flatMap','getNumRows','_collectDescendantIds','_inject','custom','parentByRecordId','_baseTableId','FBaseTableRecord','registerEventHandler','extend','index','getRecords','BaseConditionalColorTarget','isReadonly','UpsertHostExternalReferencesCommand','_getRecordLinkField','\x22\x20does\x20not\x20exist.','BaseRecordLinkRole','find','Set','_initBaseAfterEvents','_writeFormulaExternalReferences','\x22\x20is\x20not\x20a\x20RecordLink\x20field.','UpdateBaseViewConditionalColorRulesCommand','getTable','_resourceLoaderService',':\x20expected\x20an\x20object.','CreateBaseViewCommand','getBaseId','FBaseInitialable','[FBaseRange]:\x20values\x20size\x20','CreateBaseTableCommand','BaseConditionalColorOperator','max','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','setGroup','value','ImageSourceType','getAncestors','removeLinkedRecord','\x20Copy','RenameBaseTableCommand'];_0x2ca8=function(){return _0xe4734b;};return _0x2ca8();}(function(_0x28d00e,_0x3e30a4){const _0x3c0f0b=_0x1e46,_0x44920e=_0x28d00e();while(!![]){try{const _0x4cdbff=parseInt(_0x3c0f0b(0x272))/0x1*(parseInt(_0x3c0f0b(0x2bd))/0x2)+parseInt(_0x3c0f0b(0x359))/0x3+parseInt(_0x3c0f0b(0x252))/0x4*(parseInt(_0x3c0f0b(0x360))/0x5)+-parseInt(_0x3c0f0b(0x32b))/0x6+parseInt(_0x3c0f0b(0x250))/0x7*(parseInt(_0x3c0f0b(0x24c))/0x8)+-parseInt(_0x3c0f0b(0x2ad))/0x9*(parseInt(_0x3c0f0b(0x239))/0xa)+-parseInt(_0x3c0f0b(0x1c9))/0xb;if(_0x4cdbff===_0x3e30a4)break;else _0x44920e['push'](_0x44920e['shift']());}catch(_0x28255b){_0x44920e['push'](_0x44920e['shift']());}}}(_0x2ca8,0x4732a),function(_0x3e7cff,_0x4cb163){const _0x2d489a=_0x1e46;typeof exports==_0x2d489a(0x32f)&&typeof module<'u'?_0x4cb163(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/protocol'),require('@univerjs-pro/engine-formula')):typeof define==_0x2d489a(0x218)&&define['amd']?define([_0x2d489a(0x1c2),_0x2d489a(0x33e),_0x2d489a(0x28b),_0x2d489a(0x22d),_0x2d489a(0x37d),_0x2d489a(0x312)],_0x4cb163):(_0x3e7cff=typeof globalThis<'u'?globalThis:_0x3e7cff||self,_0x4cb163(_0x3e7cff['UniverProBasesFacade']={},_0x3e7cff[_0x2d489a(0x1c8)],_0x3e7cff[_0x2d489a(0x201)],_0x3e7cff['UniverCoreFacade'],_0x3e7cff[_0x2d489a(0x24e)],_0x3e7cff[_0x2d489a(0x20d)]));}(this,function(_0x21d9b0,_0x1486d1,_0x3ceb6e,_0x637d9,_0x59311a,_0x1b4cc3){const _0x2384c9=_0x1e46;Object[_0x2384c9(0x2e7)](_0x21d9b0,Symbol['toStringTag'],{'value':_0x2384c9(0x232)});var _0x3bf6c1=Object[_0x2384c9(0x37a)],_0x51c113=Object[_0x2384c9(0x2e7)],_0x179943=Object[_0x2384c9(0x1d1)],_0x3ada77=Object[_0x2384c9(0x383)],_0x2f0422=Object[_0x2384c9(0x2d1)],_0x1e3e90=Object['prototype']['hasOwnProperty'],_0x16fb48=(_0x50bfbe,_0x40e2d3,_0x2d30bb,_0x462a24)=>{const _0x20d2ae=_0x2384c9;if(_0x40e2d3&&typeof _0x40e2d3==_0x20d2ae(0x32f)||typeof _0x40e2d3==_0x20d2ae(0x218)){for(var _0x4b7180=_0x3ada77(_0x40e2d3),_0x14ae16=0x0,_0x4c5cd0=_0x4b7180['length'],_0x4cca90;_0x14ae16<_0x4c5cd0;_0x14ae16++)_0x4cca90=_0x4b7180[_0x14ae16],!_0x1e3e90[_0x20d2ae(0x2a7)](_0x50bfbe,_0x4cca90)&&_0x4cca90!==_0x2d30bb&&_0x51c113(_0x50bfbe,_0x4cca90,{'get':(_0x4ee069=>_0x40e2d3[_0x4ee069])['bind'](null,_0x4cca90),'enumerable':!(_0x462a24=_0x179943(_0x40e2d3,_0x4cca90))||_0x462a24[_0x20d2ae(0x2d9)]});}return _0x50bfbe;};_0x637d9=((_0x251480,_0xcd136,_0x3ee515)=>(_0x3ee515=_0x251480==null?{}:_0x3bf6c1(_0x2f0422(_0x251480)),_0x16fb48(_0xcd136||!_0x251480||!_0x251480[_0x2384c9(0x25a)]||!_0x1e3e90[_0x2384c9(0x2a7)](_0x251480,'default')?_0x51c113(_0x3ee515,_0x2384c9(0x334),{'value':_0x251480,'enumerable':!0x0}):_0x3ee515,_0x251480)))(_0x637d9);var _0x460677=class{constructor(_0x23b5f5,_0x558a8e,_0x58cb67){const _0x2d1540=_0x2384c9;this[_0x2d1540(0x281)]=_0x23b5f5,this[_0x2d1540(0x34b)]=_0x558a8e,this[_0x2d1540(0x275)]=_0x58cb67;}async['setObjectPermissions'](_0x23ba05){const _0x51df8d=_0x2384c9;return this['_commandService'][_0x51df8d(0x2c5)](_0x1486d1[_0x51df8d(0x293)]['id'],{'unitId':this[_0x51df8d(0x281)],'changes':_0x23ba05});}async['setPoint'](_0x3dfa70,_0x1fb26f){const _0x20cac1=_0x2384c9;await this[_0x20cac1(0x34b)][_0x20cac1(0x2c5)](_0x1486d1['SetBasePermissionCommand']['id'],{'unitId':this[_0x20cac1(0x281)],'objectId':this[_0x20cac1(0x281)],'action':_0x3dfa70,'value':_0x1fb26f});}[_0x2384c9(0x335)](_0x2d2180){const _0x283ea1=_0x2384c9;return(0x0,_0x1486d1[_0x283ea1(0x362)])(this[_0x283ea1(0x275)],this[_0x283ea1(0x281)],this[_0x283ea1(0x281)],_0x2d2180);}async[_0x2384c9(0x2da)](_0x567ac7=!0x0){const _0x41baf0=_0x2384c9;await this[_0x41baf0(0x34b)][_0x41baf0(0x2c5)](_0x1486d1[_0x41baf0(0x380)]['id'],{'unitId':this[_0x41baf0(0x281)],'objectId':this[_0x41baf0(0x281)],'action':_0x59311a[_0x41baf0(0x1d3)][_0x41baf0(0x25b)],'value':_0x567ac7});}async[_0x2384c9(0x20c)](){const _0x20cd30=_0x2384c9;await this['_commandService']['executeCommand'](_0x1486d1[_0x20cd30(0x380)]['id'],{'unitId':this[_0x20cd30(0x281)],'objectId':this[_0x20cd30(0x281)],'action':_0x59311a[_0x20cd30(0x1d3)][_0x20cd30(0x25b)],'value':!0x1});}['canEdit'](){const _0x5092e2=_0x2384c9;return(0x0,_0x1486d1[_0x5092e2(0x362)])(this[_0x5092e2(0x275)],this[_0x5092e2(0x281)],this[_0x5092e2(0x281)],_0x59311a[_0x5092e2(0x1d3)][_0x5092e2(0x25b)]);}},_0x2b2724=class{constructor(_0x1ed679,_0x4d5687,_0xfe41d8,_0x2fe5f9,_0x2b2bd1){const _0x622cbb=_0x2384c9;this[_0x622cbb(0x281)]=_0x1ed679,this[_0x622cbb(0x2ef)]=_0x4d5687,this[_0x622cbb(0x2e8)]=_0xfe41d8,this[_0x622cbb(0x34b)]=_0x2fe5f9,this['_permissionService']=_0x2b2bd1;}async[_0x2384c9(0x2da)](_0x2ecf72=!0x0){const _0x22f9f8=_0x2384c9;await this['_commandService']['executeCommand'](_0x1486d1[_0x22f9f8(0x380)]['id'],{'unitId':this[_0x22f9f8(0x281)],'objectId':this[_0x22f9f8(0x2ef)],'action':_0x59311a[_0x22f9f8(0x1d3)][_0x22f9f8(0x25b)],'value':_0x2ecf72});}async[_0x2384c9(0x20c)](){const _0x26cf48=_0x2384c9;await this[_0x26cf48(0x34b)][_0x26cf48(0x2c5)](_0x1486d1[_0x26cf48(0x380)]['id'],{'unitId':this[_0x26cf48(0x281)],'objectId':this[_0x26cf48(0x2ef)],'action':_0x59311a[_0x26cf48(0x1d3)][_0x26cf48(0x25b)],'value':!0x1});}[_0x2384c9(0x353)](){const _0xcde785=_0x2384c9;return(0x0,_0x1486d1['canEditBaseTargets'])(this[_0xcde785(0x275)],this[_0xcde785(0x281)],[...this[_0xcde785(0x2e8)],this['_objectId']]);}};function _0x165e89(_0x2d0f87,_0x5979cc){return function(_0x4ce41a,_0x1143bb){_0x5979cc(_0x4ce41a,_0x1143bb,_0x2d0f87);};}function _0x4d2ec5(_0x558910,_0x48604e,_0x1ad765,_0x3ff073){const _0x678006=_0x2384c9;var _0x4f0506=arguments[_0x678006(0x1cc)],_0x2df67d=_0x4f0506<0x3?_0x48604e:_0x3ff073===null?_0x3ff073=Object[_0x678006(0x1d1)](_0x48604e,_0x1ad765):_0x3ff073,_0xdf8d10;if(typeof Reflect==_0x678006(0x32f)&&typeof Reflect['decorate']==_0x678006(0x218))_0x2df67d=Reflect[_0x678006(0x33d)](_0x558910,_0x48604e,_0x1ad765,_0x3ff073);else{for(var _0x1ab1b5=_0x558910['length']-0x1;_0x1ab1b5>=0x0;_0x1ab1b5--)(_0xdf8d10=_0x558910[_0x1ab1b5])&&(_0x2df67d=(_0x4f0506<0x3?_0xdf8d10(_0x2df67d):_0x4f0506>0x3?_0xdf8d10(_0x48604e,_0x1ad765,_0x2df67d):_0xdf8d10(_0x48604e,_0x1ad765))||_0x2df67d);}return _0x4f0506>0x3&&_0x2df67d&&Object[_0x678006(0x2e7)](_0x48604e,_0x1ad765,_0x2df67d),_0x2df67d;}let _0x47bbbc=class{constructor(_0x496807,_0x27070,_0xbd16ea,_0x40b8ca,_0x1452b8){const _0x3ca1b7=_0x2384c9;this[_0x3ca1b7(0x313)]=_0x496807,this[_0x3ca1b7(0x36e)]=_0x27070,this[_0x3ca1b7(0x282)]=_0xbd16ea,this[_0x3ca1b7(0x34b)]=_0x40b8ca,this[_0x3ca1b7(0x275)]=_0x1452b8;}[_0x2384c9(0x23e)](){const _0x1e31c9=_0x2384c9;return this[_0x1e31c9(0x282)];}[_0x2384c9(0x2e1)](){const _0x4704b5=_0x2384c9;let _0x290546=this[_0x4704b5(0x36e)]['getId']();return new _0x2b2724(this[_0x4704b5(0x313)][_0x4704b5(0x23e)](),(0x0,_0x1486d1[_0x4704b5(0x2e3)])(_0x290546,this[_0x4704b5(0x282)]),[(0x0,_0x1486d1[_0x4704b5(0x34a)])(_0x290546)],this[_0x4704b5(0x34b)],this['_permissionService']);}[_0x2384c9(0x2d7)](){const _0x413ec2=_0x2384c9;return this[_0x413ec2(0x304)]();}[_0x2384c9(0x26b)](){const _0x224a8c=_0x2384c9;return this['_getField']()[_0x224a8c(0x2fe)];}[_0x2384c9(0x2a9)](){const _0x56b266=_0x2384c9;return this[_0x56b266(0x304)]()[_0x56b266(0x329)];}[_0x2384c9(0x25e)](){const _0x45e274=_0x2384c9;return this[_0x45e274(0x304)]()[_0x45e274(0x27e)];}['getDefaultValue'](){const _0x1e6d57=_0x2384c9;return this[_0x1e6d57(0x304)]()['defaultValue'];}[_0x2384c9(0x296)](){const _0x266004=_0x2384c9;return this[_0x266004(0x304)]()[_0x266004(0x35f)];}[_0x2384c9(0x1e2)](){const _0x135d8d=_0x2384c9;return!!this[_0x135d8d(0x304)]()[_0x135d8d(0x1cb)];}[_0x2384c9(0x363)](_0x1a3996){const _0x54bd46=_0x2384c9;return this[_0x54bd46(0x27c)]({'name':_0x1a3996});}['setConfig'](_0x1301f8,_0xf996f6){const _0x42c9dc=_0x2384c9;return this[_0x42c9dc(0x27c)]({'config':_0x1301f8},_0xf996f6);}[_0x2384c9(0x340)](_0x5e8e99){const _0x4e1bcd=_0x2384c9;return this[_0x4e1bcd(0x27c)]({'defaultValue':_0x5e8e99});}[_0x2384c9(0x27c)](_0x29e01f,_0x2cf609){const _0x4818f1=_0x2384c9;let _0x451c70=this['_getField']()['type'];return(_0x29e01f[_0x4818f1(0x329)]??_0x451c70)===_0x3ceb6e[_0x4818f1(0x33c)]['Formula']&&(Object[_0x4818f1(0x2f7)][_0x4818f1(0x289)][_0x4818f1(0x2a7)](_0x29e01f,_0x4818f1(0x27e))||_0x29e01f[_0x4818f1(0x329)]===_0x3ceb6e['BaseFieldType']['Formula'])&&!this[_0x4818f1(0x1ea)](_0x2cf609)?!0x1:this[_0x4818f1(0x34b)][_0x4818f1(0x339)](_0x1486d1[_0x4818f1(0x31d)]['id'],{'unitId':this[_0x4818f1(0x313)][_0x4818f1(0x23e)](),'tableId':this['_table']['getId'](),'fieldId':this['_fieldId'],'patch':_0x29e01f});}[_0x2384c9(0x343)](_0x202ccf,_0x29ba62={},_0x429db3){const _0x50795f=_0x2384c9;return _0x202ccf===_0x3ceb6e[_0x50795f(0x33c)][_0x50795f(0x2f9)]&&!this['_writeFormulaExternalReferences'](_0x429db3)?!0x1:this[_0x50795f(0x34b)][_0x50795f(0x339)](_0x1486d1['ChangeBaseFieldTypeCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x50795f(0x36e)][_0x50795f(0x23e)](),'fieldId':this[_0x50795f(0x282)],'input':{'type':_0x202ccf,'config':_0x29ba62}});}[_0x2384c9(0x222)](){const _0x2a5450=_0x2384c9;return this[_0x2a5450(0x34b)][_0x2a5450(0x339)](_0x1486d1['DeleteBaseFieldCommand']['id'],{'unitId':this[_0x2a5450(0x313)][_0x2a5450(0x23e)](),'tableId':this[_0x2a5450(0x36e)][_0x2a5450(0x23e)](),'fieldId':this['_fieldId']});}['move'](_0x28f332){const _0x540662=_0x2384c9;return this[_0x540662(0x34b)][_0x540662(0x339)](_0x1486d1[_0x540662(0x2dc)]['id'],{'unitId':this['_base'][_0x540662(0x23e)](),'tableId':this['_table'][_0x540662(0x23e)](),'fieldId':this[_0x540662(0x282)],'target':_0x28f332});}[_0x2384c9(0x304)](){const _0x49f39d=_0x2384c9;let _0xddb36d=this['_table'][_0x49f39d(0x1ed)]()['fields'][this[_0x49f39d(0x282)]];if(!_0xddb36d)throw Error(_0x49f39d(0x30b)+this[_0x49f39d(0x282)]+'\x22\x20does\x20not\x20exist.');return _0xddb36d;}[_0x2384c9(0x1ea)](_0x44bff2){const _0x36e2e7=_0x2384c9;if(!_0x44bff2||!Array[_0x36e2e7(0x32c)](_0x44bff2[_0x36e2e7(0x316)]))return console[_0x36e2e7(0x31b)]('[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.'),!0x1;if(_0x44bff2[_0x36e2e7(0x316)][_0x36e2e7(0x1cc)]===0x0)return!0x0;let _0x333780=this['_commandService'][_0x36e2e7(0x339)](_0x1b4cc3[_0x36e2e7(0x1e3)]['id'],{'unitId':this[_0x36e2e7(0x313)][_0x36e2e7(0x23e)](),'references':_0x44bff2[_0x36e2e7(0x316)]});return _0x333780||console['warn']('[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.'),_0x333780;}};_0x47bbbc=_0x4d2ec5([_0x165e89(0x3,_0x3ceb6e[_0x2384c9(0x2ed)]),_0x165e89(0x4,_0x3ceb6e['IPermissionService'])],_0x47bbbc);let _0x3241af=function(_0x5197c4){const _0x410b3d=_0x2384c9;return _0x5197c4['Id']='id',_0x5197c4[_0x410b3d(0x245)]=_0x410b3d(0x2fe),_0x5197c4[_0x410b3d(0x264)]=_0x410b3d(0x27a),_0x5197c4;}({});function _0x4f1300(_0x3074e6){const _0x286bbc=_0x2384c9;return!!(_0x3074e6&&_0x3074e6[_0x286bbc(0x228)]!==!0x0&&_0x3074e6[_0x286bbc(0x329)]!==_0x3ceb6e['BaseFieldType'][_0x286bbc(0x2b8)]);}function _0x36bcd6(_0x43aac2,_0x36d11b,_0x18e372='id'){const _0x20886f=_0x2384c9;if(!_0x36d11b)return{};let _0x1721bf={};return Object[_0x20886f(0x330)](_0x36d11b)['forEach'](([_0x225395,_0x59e700])=>{const _0x43ae5c=_0x20886f;let _0x32901f=_0x5b32a9(_0x43aac2,_0x225395,_0x18e372);_0x1721bf[_0x32901f]=_0x155d17(_0x43aac2[_0x43ae5c(0x31e)][_0x32901f],_0x59e700);}),_0x1721bf;}function _0x155d17(_0x4aff59,_0x3434c7){const _0x14956b=_0x2384c9;if((_0x4aff59==null?void 0x0:_0x4aff59[_0x14956b(0x329)])!==_0x3ceb6e[_0x14956b(0x33c)][_0x14956b(0x2c0)]||_0x3434c7==null)return _0x3434c7;if(!Array[_0x14956b(0x32c)](_0x3434c7))throw TypeError('Invalid\x20attachment\x20value\x20for\x20field\x20\x22'+_0x4aff59[_0x14956b(0x2fe)]+_0x14956b(0x2b5));return _0x3434c7[_0x14956b(0x219)]((_0x47d10b,_0x1395ab)=>_0x38427e(_0x4aff59,_0x47d10b,_0x1395ab));}function _0x5b32a9(_0x5a751c,_0x2cb694,_0x1bdcc6){const _0x5179eb=_0x2384c9;if(_0x1bdcc6==='id'||_0x1bdcc6===_0x5179eb(0x27a)&&_0x5a751c[_0x5179eb(0x31e)][_0x2cb694])return _0x2cb694;let _0x475991=Object['values'](_0x5a751c[_0x5179eb(0x31e)])['filter'](_0x4f042f=>_0x4f042f[_0x5179eb(0x2fe)]===_0x2cb694);if(_0x475991[_0x5179eb(0x1cc)]===0x1)return _0x475991[0x0]['id'];throw _0x475991[_0x5179eb(0x1cc)]>0x1?Error(_0x5179eb(0x368)+_0x2cb694):Error('Base\x20field\x20not\x20found:\x20'+_0x2cb694);}function _0x38427e(_0x364546,_0x579eb0,_0x43ab42){const _0x21e465=_0x2384c9;let _0x26dcb2=_0x21e465(0x204)+_0x43ab42+_0x21e465(0x342)+_0x364546[_0x21e465(0x2fe)]+'\x22';if(!_0x7956ee(_0x579eb0))throw TypeError(_0x26dcb2+_0x21e465(0x1ef));if(_0x21e465(0x322)in _0x579eb0)throw TypeError(_0x26dcb2+_0x21e465(0x309));if(_0x21e465(0x329)in _0x579eb0)throw TypeError(_0x26dcb2+_0x21e465(0x207));let _0x10e290=_0x487820(_0x579eb0['id'],_0x26dcb2,'id'),_0x143057=_0x487820(_0x579eb0[_0x21e465(0x2fe)],_0x26dcb2,_0x21e465(0x2fe)),_0x8ca1fe=_0x487820(_0x579eb0[_0x21e465(0x2a3)],_0x26dcb2,_0x21e465(0x2a3));return{'id':_0x10e290,'name':_0x143057,'source':_0x8ca1fe,'sourceType':_0x2e247e(_0x579eb0['sourceType'],_0x8ca1fe,_0x26dcb2),..._0x2db12d(_0x579eb0,'mimeType',_0x26dcb2),..._0x42dcef(_0x579eb0,_0x21e465(0x266),_0x26dcb2),..._0x42dcef(_0x579eb0,'width',_0x26dcb2),..._0x42dcef(_0x579eb0,'height',_0x26dcb2),..._0x2db12d(_0x579eb0,_0x21e465(0x24d),_0x26dcb2)};}function _0x2e247e(_0x32c07b,_0x4c1dc7,_0x248471){const _0x161edd=_0x2384c9;if(_0x32c07b==null)return _0x4c1dc7[_0x161edd(0x303)](_0x161edd(0x2ff))?_0x3ceb6e[_0x161edd(0x1fa)][_0x161edd(0x25f)]:_0x3ceb6e[_0x161edd(0x1fa)][_0x161edd(0x376)];if(_0x32c07b===_0x3ceb6e[_0x161edd(0x1fa)][_0x161edd(0x376)]||_0x32c07b===_0x3ceb6e[_0x161edd(0x1fa)][_0x161edd(0x213)]||_0x32c07b===_0x3ceb6e[_0x161edd(0x1fa)][_0x161edd(0x25f)])return _0x32c07b;throw TypeError(_0x248471+_0x161edd(0x307));}function _0x487820(_0x403f6,_0x286449,_0x287909){const _0x4bff06=_0x2384c9;if(typeof _0x403f6!=_0x4bff06(0x1c5)||!_0x403f6['trim']())throw TypeError(_0x286449+':\x20\x22'+_0x287909+'\x22\x20must\x20be\x20a\x20non-empty\x20string.');return _0x403f6;}function _0x2db12d(_0x2f92d9,_0x176a0a,_0x4b0321){const _0x535069=_0x2384c9;let _0x19f805=_0x2f92d9[_0x176a0a];if(_0x19f805==null)return{};if(typeof _0x19f805!=_0x535069(0x1c5)||!_0x19f805[_0x535069(0x34e)]())throw TypeError(_0x4b0321+_0x535069(0x367)+_0x176a0a+_0x535069(0x361));return{[_0x176a0a]:_0x19f805};}function _0x42dcef(_0x315a3b,_0x1ff7eb,_0xb2a3d8){const _0x594c78=_0x2384c9;let _0x324034=_0x315a3b[_0x1ff7eb];if(_0x324034==null)return{};if(typeof _0x324034!=_0x594c78(0x216)||!Number[_0x594c78(0x354)](_0x324034)||_0x324034<0x0)throw TypeError(_0xb2a3d8+_0x594c78(0x367)+_0x1ff7eb+_0x594c78(0x2d0));return{[_0x1ff7eb]:_0x324034};}function _0x7956ee(_0x652359){const _0x1e9397=_0x2384c9;return typeof _0x652359==_0x1e9397(0x32f)&&!!_0x652359&&!Array[_0x1e9397(0x32c)](_0x652359);}var _0x364b29;let _0x151c2a=_0x364b29=class{constructor(_0x3797ba,_0x51dc93,_0x47a4d7,_0x39a4ad,_0x1423a1){const _0x101815=_0x2384c9;this[_0x101815(0x313)]=_0x3797ba,this[_0x101815(0x36e)]=_0x51dc93,this['_range']=_0x47a4d7,this['_inject']=_0x39a4ad,this[_0x101815(0x34b)]=_0x1423a1,this[_0x101815(0x365)]();}[_0x2384c9(0x1f1)](){const _0x414a16=_0x2384c9;return this[_0x414a16(0x313)][_0x414a16(0x23e)]();}[_0x2384c9(0x292)](){const _0x45dba0=_0x2384c9;return this[_0x45dba0(0x36e)]['getId']();}['getRange'](){const _0x16bcb8=_0x2384c9;return{...this[_0x16bcb8(0x20f)]};}[_0x2384c9(0x1c3)](){const _0x316337=_0x2384c9;return this[_0x316337(0x20f)][_0x316337(0x231)];}[_0x2384c9(0x286)](){const _0x1baf72=_0x2384c9;return this[_0x1baf72(0x20f)][_0x1baf72(0x36d)];}[_0x2384c9(0x1d6)](){const _0x56790e=_0x2384c9;return this[_0x56790e(0x20f)]['endRow']-this['_range'][_0x56790e(0x231)]+0x1;}['getNumColumns'](){const _0x307fd6=_0x2384c9;return this[_0x307fd6(0x20f)][_0x307fd6(0x2e6)]-this[_0x307fd6(0x20f)]['startColumn']+0x1;}[_0x2384c9(0x2ea)](){const _0x1c28fd=_0x2384c9;let _0x57e918=this[_0x1c28fd(0x22a)](),_0x1028e9=this[_0x1c28fd(0x28f)](_0x57e918),_0x271aad=[];for(let _0x252ffc=this[_0x1c28fd(0x20f)]['startRow'];_0x252ffc<=this['_range']['endRow'];_0x252ffc++){var _0x12adb1;let _0x1a76ee=(_0x12adb1=_0x57e918[_0x1c28fd(0x287)])==null?void 0x0:_0x12adb1[_0x252ffc],_0x28108c=[];for(let _0x13df6c=this['_range'][_0x1c28fd(0x36d)];_0x13df6c<=this[_0x1c28fd(0x20f)][_0x1c28fd(0x2e6)];_0x13df6c++){let _0x461d1e=_0x1028e9[_0x13df6c];_0x28108c[_0x1c28fd(0x33b)](_0x1a76ee&&_0x461d1e?(0x0,_0x1486d1['getBaseCellValue'])(_0x57e918,_0x1a76ee,_0x461d1e):null);}_0x271aad[_0x1c28fd(0x33b)](_0x28108c);}return _0x271aad;}[_0x2384c9(0x301)](){const _0x834b60=_0x2384c9;var _0x5f2fbe;return((_0x5f2fbe=this[_0x834b60(0x2ea)]()[0x0])==null?void 0x0:_0x5f2fbe[0x0])??null;}[_0x2384c9(0x314)](_0x32af01){return this['setValues']([[_0x32af01]]);}['setValues'](_0x4f2270){const _0x21dc2a=_0x2384c9;let _0x41be8d=this['getNumRows'](),_0x281339=this['getNumColumns']();if(_0x4f2270[_0x21dc2a(0x1cc)]>_0x41be8d||_0x4f2270[_0x21dc2a(0x230)](_0x5c5e81=>_0x5c5e81[_0x21dc2a(0x1cc)]>_0x281339)){var _0x5ab028;throw Error(_0x21dc2a(0x1f3)+_0x4f2270['length']+'x'+(((_0x5ab028=_0x4f2270[0x0])==null?void 0x0:_0x5ab028[_0x21dc2a(0x1cc)])??0x0)+_0x21dc2a(0x260)+_0x41be8d+'x'+_0x281339+'.');}let _0x1d6acd=this[_0x21dc2a(0x22a)](),_0x3ffb70=this['_getFieldIds'](_0x1d6acd),_0x38184b=_0x4f2270[_0x21dc2a(0x1d5)]((_0x593a3d,_0x171375)=>_0x593a3d[_0x21dc2a(0x219)]((_0x569b3,_0xffd8f7)=>{const _0x120246=_0x21dc2a;var _0x48483b;let _0x59e358=this[_0x120246(0x20f)][_0x120246(0x231)]+_0x171375,_0x334a06=_0x3ffb70[this[_0x120246(0x20f)][_0x120246(0x36d)]+_0xffd8f7],_0x30002f=(_0x48483b=_0x1d6acd[_0x120246(0x287)])==null?void 0x0:_0x48483b[_0x59e358];if(!_0x334a06||!_0x30002f)throw Error('[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.');return{'recordId':_0x30002f,'fieldId':_0x334a06,'value':_0x569b3};}));return this[_0x21dc2a(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x21dc2a(0x21d)]['id'],{'unitId':this[_0x21dc2a(0x313)][_0x21dc2a(0x23e)](),'tableId':this[_0x21dc2a(0x36e)][_0x21dc2a(0x23e)](),'patches':_0x38184b,'source':_0x1486d1[_0x21dc2a(0x2f6)]['Facade']});}['clear'](){const _0x4651a1=_0x2384c9;return this[_0x4651a1(0x215)](Array[_0x4651a1(0x27d)]({'length':this['getNumRows']()},()=>Array[_0x4651a1(0x27d)]({'length':this[_0x4651a1(0x27b)]()},()=>null)));}[_0x2384c9(0x302)](_0x478642,_0x188c02,_0x3f19a4=this[_0x2384c9(0x1d6)](),_0x3db73c=this[_0x2384c9(0x27b)]()){const _0x567c3c=_0x2384c9;return this[_0x567c3c(0x1d8)][_0x567c3c(0x379)](_0x364b29,this[_0x567c3c(0x313)],this[_0x567c3c(0x36e)],{'startRow':this[_0x567c3c(0x20f)][_0x567c3c(0x231)]+_0x478642,'startColumn':this[_0x567c3c(0x20f)][_0x567c3c(0x36d)]+_0x188c02,'endRow':this[_0x567c3c(0x20f)][_0x567c3c(0x231)]+_0x478642+_0x3f19a4-0x1,'endColumn':this[_0x567c3c(0x20f)][_0x567c3c(0x36d)]+_0x188c02+_0x3db73c-0x1},this[_0x567c3c(0x1d8)]);}[_0x2384c9(0x22a)](){const _0x3606f2=_0x2384c9;let _0x16b761=this[_0x3606f2(0x36e)]['getTable']();if(!_0x16b761)throw Error('[FBaseRange]:\x20table\x20does\x20not\x20exist.');return(0x0,_0x1486d1[_0x3606f2(0x305)])(_0x16b761);}['_assertInBounds'](){const _0x1fe0fb=_0x2384c9;var _0x1584c7;let _0xfab070=this[_0x1fe0fb(0x22a)](),_0x56eb7e=((_0x1584c7=_0xfab070['recordOrder'])==null?void 0x0:_0x1584c7['length'])??0x0,_0x3a23e2=this[_0x1fe0fb(0x28f)](_0xfab070)[_0x1fe0fb(0x1cc)];if(this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x231)]<0x0||this['_range'][_0x1fe0fb(0x36d)]<0x0||this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x338)]<this[_0x1fe0fb(0x20f)]['startRow']||this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x2e6)]<this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x36d)]||this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x338)]>=Math['max'](_0x56eb7e,0x1)||this[_0x1fe0fb(0x20f)][_0x1fe0fb(0x2e6)]>=Math[_0x1fe0fb(0x1f6)](_0x3a23e2,0x1))throw Error(_0x1fe0fb(0x1f7)+_0x56eb7e+_0x1fe0fb(0x214)+_0x3a23e2+_0x1fe0fb(0x21c)+JSON[_0x1fe0fb(0x382)](this[_0x1fe0fb(0x20f)])+'.');}['_getFieldIds'](_0x18a96a){const _0x2eaf74=_0x2384c9;return _0x18a96a[_0x2eaf74(0x30d)]['filter'](_0x22786e=>_0x4f1300(_0x18a96a[_0x2eaf74(0x31e)][_0x22786e]));}};_0x151c2a=_0x364b29=_0x4d2ec5([_0x165e89(0x4,_0x3ceb6e[_0x2384c9(0x2ed)])],_0x151c2a);function _0x4ba7ca(_0x978cce){'@babel/helpers - typeof';const _0x15a89c=_0x2384c9;return _0x4ba7ca=typeof Symbol==_0x15a89c(0x218)&&typeof Symbol[_0x15a89c(0x1ca)]==_0x15a89c(0x325)?function(_0x315bf7){return typeof _0x315bf7;}:function(_0x28b39d){const _0x48fb8b=_0x15a89c;return _0x28b39d&&typeof Symbol==_0x48fb8b(0x218)&&_0x28b39d[_0x48fb8b(0x224)]===Symbol&&_0x28b39d!==Symbol[_0x48fb8b(0x2f7)]?_0x48fb8b(0x325):typeof _0x28b39d;},_0x4ba7ca(_0x978cce);}function _0x53fc0b(_0x475edd,_0x43f100){const _0x26234d=_0x2384c9;if(_0x4ba7ca(_0x475edd)!='object'||!_0x475edd)return _0x475edd;var _0x43f649=_0x475edd[Symbol['toPrimitive']];if(_0x43f649!==void 0x0){var _0x4c9de5=_0x43f649['call'](_0x475edd,_0x43f100||_0x26234d(0x334));if(_0x4ba7ca(_0x4c9de5)!=_0x26234d(0x32f))return _0x4c9de5;throw TypeError(_0x26234d(0x2c3));}return(_0x43f100==='string'?String:Number)(_0x475edd);}function _0xb8df19(_0x5f3983){const _0x33ec42=_0x2384c9;var _0x4f4583=_0x53fc0b(_0x5f3983,_0x33ec42(0x1c5));return _0x4ba7ca(_0x4f4583)==_0x33ec42(0x325)?_0x4f4583:_0x4f4583+'';}function _0x3ccb79(_0x64ed0b,_0x342797,_0x2265ae){const _0x516dc1=_0x2384c9;return(_0x342797=_0xb8df19(_0x342797))in _0x64ed0b?Object[_0x516dc1(0x2e7)](_0x64ed0b,_0x342797,{'value':_0x2265ae,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x64ed0b[_0x342797]=_0x2265ae,_0x64ed0b;}var _0x3fea62;let _0x109580=_0x3fea62=class extends _0x637d9[_0x2384c9(0x1f2)]{constructor(_0x3c42be,_0x165fac,_0x58b632,_0xf24d9c,_0x55dd1e,_0xce4bd8){const _0x24abe5=_0x2384c9;super(_0xf24d9c),this[_0x24abe5(0x313)]=_0x3c42be,this[_0x24abe5(0x36e)]=_0x165fac,this[_0x24abe5(0x2f1)]=_0x58b632,this['_injector']=_0xf24d9c,this['_commandService']=_0x55dd1e,this[_0x24abe5(0x275)]=_0xce4bd8,_0x3ccb79(this,_0x24abe5(0x323),void 0x0),_0x3ccb79(this,_0x24abe5(0x1db),void 0x0),this[_0x24abe5(0x323)]=_0x3c42be[_0x24abe5(0x23e)](),this[_0x24abe5(0x1db)]=_0x165fac[_0x24abe5(0x23e)]();}[_0x2384c9(0x225)](){const _0x12b470=_0x2384c9;return this[_0x12b470(0x313)];}[_0x2384c9(0x284)](){const _0x15ef06=_0x2384c9;return this[_0x15ef06(0x36e)];}[_0x2384c9(0x23e)](){return this['_recordId'];}['getPermission'](){const _0x12e680=_0x2384c9;let _0x8fd09f=this['_table'][_0x12e680(0x23e)]();return new _0x2b2724(this[_0x12e680(0x313)]['getId'](),(0x0,_0x1486d1['getBaseRecordPermissionObjectId'])(_0x8fd09f,this['_recordId']),[(0x0,_0x1486d1['getBaseTablePermissionObjectId'])(_0x8fd09f)],this[_0x12e680(0x34b)],this['_permissionService']);}[_0x2384c9(0x238)](){const _0x1c93a4=_0x2384c9;return{...this[_0x1c93a4(0x23c)](),'values':this[_0x1c93a4(0x2ea)]()};}[_0x2384c9(0x301)](_0x280f91){const _0x552f44=_0x2384c9;return _0x4f1300(this[_0x552f44(0x36e)][_0x552f44(0x1ed)]()[_0x552f44(0x31e)][_0x280f91])?this['_getRecord']()['values'][_0x280f91]??null:null;}[_0x2384c9(0x2ea)](){const _0x2c7380=_0x2384c9;let _0x3105e7=this[_0x2c7380(0x36e)][_0x2c7380(0x1ed)]();return Object['fromEntries'](Object[_0x2c7380(0x330)](this[_0x2c7380(0x23c)]()[_0x2c7380(0x2af)])['filter'](([_0x47675d])=>_0x4f1300(_0x3105e7['fields'][_0x47675d])));}[_0x2384c9(0x314)](_0x3cdc97,_0x52175a){const _0x19a4fb=_0x2384c9;let _0x353970=this[_0x19a4fb(0x36e)][_0x19a4fb(0x1ed)]()['fields'][_0x3cdc97];return this[_0x19a4fb(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x19a4fb(0x32d)]['id'],{'unitId':this[_0x19a4fb(0x313)][_0x19a4fb(0x23e)](),'tableId':this['_table'][_0x19a4fb(0x23e)](),'recordId':this[_0x19a4fb(0x2f1)],'fieldId':_0x3cdc97,'value':_0x155d17(_0x353970,_0x52175a),'source':_0x1486d1[_0x19a4fb(0x2f6)]['Facade']});}['setAttachments'](_0x54202d,_0x9e78ab){return this['setValue'](_0x54202d,_0x9e78ab['map'](_0x5170ac=>({..._0x5170ac})));}[_0x2384c9(0x242)](_0xdd034a){const _0x31401d=_0x2384c9;this[_0x31401d(0x270)](_0xdd034a);let _0x35bd8b=this['getValue'](_0xdd034a);return Array['isArray'](_0x35bd8b)?_0x35bd8b[_0x31401d(0x219)]((_0x52b8ea,_0xd5b0c5)=>_0x2be80d(_0x52b8ea,_0xdd034a,_0xd5b0c5)):[];}[_0x2384c9(0x2c7)](_0x3f52f0,_0x459760){const _0x4bd8da=_0x2384c9;this['_getAttachmentField'](_0x3f52f0);let _0xa5304d=new Set(_0x459760[_0x4bd8da(0x219)](_0x163a1c=>_0x163a1c['id']));if(!_0xa5304d[_0x4bd8da(0x266)])return!0x0;let _0x56d9aa=this[_0x4bd8da(0x242)](_0x3f52f0),_0x2552f0=_0x56d9aa[_0x4bd8da(0x2b9)](_0x1f0eab=>!_0xa5304d[_0x4bd8da(0x261)](_0x1f0eab['id']));return _0x2552f0['length']===_0x56d9aa['length']||this[_0x4bd8da(0x29c)](_0x3f52f0,_0x2552f0);}[_0x2384c9(0x215)](_0x27bcd6,_0x9411b='id'){const _0x4077ad=_0x2384c9;let _0x5792bb=this[_0x4077ad(0x36e)][_0x4077ad(0x1ed)](),_0x5d094e=[{'recordId':this[_0x4077ad(0x2f1)],'values':_0x36bcd6(_0x5792bb,_0x27bcd6,_0x9411b)}];return this[_0x4077ad(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x4077ad(0x2f4)]['id'],{'unitId':this[_0x4077ad(0x313)][_0x4077ad(0x23e)](),'tableId':this[_0x4077ad(0x36e)][_0x4077ad(0x23e)](),'patches':_0x5d094e,'source':_0x1486d1[_0x4077ad(0x2f6)][_0x4077ad(0x20b)]});}[_0x2384c9(0x222)](){const _0x5d36d9=_0x2384c9;return this[_0x5d36d9(0x34b)][_0x5d36d9(0x339)](_0x1486d1[_0x5d36d9(0x268)]['id'],{'unitId':this[_0x5d36d9(0x313)][_0x5d36d9(0x23e)](),'tableId':this[_0x5d36d9(0x36e)][_0x5d36d9(0x23e)](),'recordId':this[_0x5d36d9(0x2f1)],'source':_0x1486d1[_0x5d36d9(0x2f6)][_0x5d36d9(0x20b)]});}[_0x2384c9(0x319)](_0x59d551){const _0x47d3d5=_0x2384c9;let _0x486cf5={...this[_0x47d3d5(0x23c)](),..._0x59d551,'id':(0x0,_0x3ceb6e[_0x47d3d5(0x241)])(0x6)};_0x486cf5[_0x47d3d5(0x2af)]={..._0x486cf5[_0x47d3d5(0x2af)],..._0x59d551==null?void 0x0:_0x59d551[_0x47d3d5(0x2af)]},Reflect[_0x47d3d5(0x255)](_0x486cf5[_0x47d3d5(0x2af)],_0x3ceb6e[_0x47d3d5(0x370)]);let _0x2fb2b8=Date[_0x47d3d5(0x2c6)]();if(_0x486cf5[_0x47d3d5(0x2d6)]||=''+_0x2fb2b8,_0x486cf5[_0x47d3d5(0x349)]||=_0x2fb2b8,_0x486cf5[_0x47d3d5(0x236)]||=_0x2fb2b8,!this['_commandService']['syncExecuteCommand'](_0x1486d1[_0x47d3d5(0x2ab)]['id'],{'unitId':this['_base'][_0x47d3d5(0x23e)](),'tableId':this['_table'][_0x47d3d5(0x23e)](),'sourceRecordId':this[_0x47d3d5(0x2f1)],'record':_0x486cf5,'source':_0x1486d1['BaseEventSource']['Facade']}))throw Error(_0x47d3d5(0x357)+this[_0x47d3d5(0x2f1)]+'\x22.');return this[_0x47d3d5(0x2d2)][_0x47d3d5(0x379)](_0x3fea62,this[_0x47d3d5(0x313)],this[_0x47d3d5(0x36e)],_0x486cf5['id'],this[_0x47d3d5(0x2d2)]);}[_0x2384c9(0x202)](_0x513f56){const _0x547485=_0x2384c9;return this[_0x547485(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x547485(0x2b1)]['id'],{'unitId':this[_0x547485(0x313)][_0x547485(0x23e)](),'tableId':this['_table'][_0x547485(0x23e)](),'recordId':this[_0x547485(0x2f1)],'orderKey':_0x513f56});}['getLinkedRecordIds'](_0x533203){const _0x5a15a1=_0x2384c9;let _0x5cef28=this[_0x5a15a1(0x1e4)](_0x533203),_0x3402c1=this[_0x5a15a1(0x301)](_0x5cef28['id']);return(0x0,_0x1486d1[_0x5a15a1(0x2f3)])(_0x3402c1);}[_0x2384c9(0x2a4)](_0x203107,_0x513dfa){const _0x1409f8=_0x2384c9;let _0x385831=this[_0x1409f8(0x1e4)](_0x203107),_0xcf4c88=(0x0,_0x1486d1['serializeRecordLinkIds'])(_0x513dfa),_0x209cd7=(0x0,_0x1486d1[_0x1409f8(0x2fa)])(this[_0x1409f8(0x313)][_0x1409f8(0x377)]()[_0x1409f8(0x386)](),_0x385831,_0xcf4c88);if(!_0x209cd7[_0x1409f8(0x280)])throw Error(_0x209cd7[_0x1409f8(0x29d)]??_0x1409f8(0x345));return this[_0x1409f8(0x34b)][_0x1409f8(0x339)](_0x1486d1['UpdateBaseCellCommand']['id'],{'unitId':this[_0x1409f8(0x313)][_0x1409f8(0x23e)](),'tableId':this[_0x1409f8(0x36e)][_0x1409f8(0x23e)](),'recordId':this['_recordId'],'fieldId':_0x203107,'value':_0xcf4c88,'source':_0x1486d1[_0x1409f8(0x2f6)][_0x1409f8(0x20b)]});}[_0x2384c9(0x384)](_0x33c077,_0x590815){const _0x19dfa5=_0x2384c9;let _0x37a87e=this[_0x19dfa5(0x1e4)](_0x33c077),_0x3fc89f=(0x0,_0x1486d1[_0x19dfa5(0x1c7)])(_0x37a87e);if(!_0x3fc89f)throw Error(_0x19dfa5(0x356)+_0x33c077+'\x22\x20has\x20invalid\x20config.');let _0x3e7296=this[_0x19dfa5(0x364)](_0x33c077);return _0x3fc89f['multiple']&&_0x3e7296[_0x19dfa5(0x2c9)](_0x590815)?!0x0:this[_0x19dfa5(0x2a4)](_0x33c077,_0x3fc89f['multiple']?[..._0x3e7296,_0x590815]:[_0x590815]);}[_0x2384c9(0x1fc)](_0x1e703a,_0x3c7480){const _0x3efeba=_0x2384c9;let _0x447c93=this[_0x3efeba(0x364)](_0x1e703a);return!_0x447c93[_0x3efeba(0x2c9)](_0x3c7480)||this[_0x3efeba(0x2a4)](_0x1e703a,_0x447c93['filter'](_0x215a26=>_0x215a26!==_0x3c7480));}[_0x2384c9(0x2e4)](_0x487a85){const _0x26eefd=_0x2384c9;let _0x41e001=this[_0x26eefd(0x294)](_0x487a85)[_0x26eefd(0x1da)][_0x26eefd(0x234)](this[_0x26eefd(0x2f1)])??null;return _0x41e001?this['_table'][_0x26eefd(0x22f)](_0x41e001):null;}[_0x2384c9(0x298)](_0x30674e){const _0x7c091d=_0x2384c9;return(this[_0x7c091d(0x294)](_0x30674e)[_0x7c091d(0x254)][_0x7c091d(0x234)](this[_0x7c091d(0x2f1)])??[])[_0x7c091d(0x1d5)](_0x3f886e=>{const _0x29cd5f=_0x7c091d;let _0x932c2d=this[_0x29cd5f(0x36e)][_0x29cd5f(0x22f)](_0x3f886e);return _0x932c2d?[_0x932c2d]:[];});}[_0x2384c9(0x1fb)](_0x3e9e45){const _0x451fcb=_0x2384c9;let _0xe56d0a=this[_0x451fcb(0x294)](_0x3e9e45),_0x19f777=[],_0x1a7e16=_0xe56d0a[_0x451fcb(0x1da)]['get'](this[_0x451fcb(0x2f1)])??null;for(;_0x1a7e16;){let _0x4f42bf=this['_table']['getRecordById'](_0x1a7e16);_0x4f42bf&&_0x19f777[_0x451fcb(0x33b)](_0x4f42bf),_0x1a7e16=_0xe56d0a[_0x451fcb(0x1da)][_0x451fcb(0x234)](_0x1a7e16)??null;}return _0x19f777;}['getDescendants'](_0x1b9520){const _0x42aabe=_0x2384c9;let _0x2ecc78=this[_0x42aabe(0x294)](_0x1b9520),_0x4eb01c=_0x2ecc78[_0x42aabe(0x2c2)][_0x42aabe(0x350)](this[_0x42aabe(0x2f1)]),_0x5bb75b=_0x2ecc78[_0x42aabe(0x22e)][_0x42aabe(0x261)](this[_0x42aabe(0x2f1)])?this[_0x42aabe(0x1d7)](_0x2ecc78[_0x42aabe(0x254)],this['_recordId']):[];return _0x4eb01c<0x0?[]:_0x5bb75b[_0x42aabe(0x1d5)](_0x324f55=>{const _0x251782=_0x42aabe;let _0x4cddee=this['_table'][_0x251782(0x22f)](_0x324f55);return _0x4cddee?[_0x4cddee]:[];});}[_0x2384c9(0x2a1)](_0x58f628,_0x5c3321,_0x51969e){const _0x3eba80=_0x2384c9;return this[_0x3eba80(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x3eba80(0x28d)]['id'],{'unitId':this['_base'][_0x3eba80(0x23e)](),'tableId':this['_table'][_0x3eba80(0x23e)](),'fieldId':_0x58f628,'recordId':this['_recordId'],'parentRecordId':_0x5c3321,'orderKey':_0x51969e,'source':_0x1486d1[_0x3eba80(0x2f6)][_0x3eba80(0x20b)]});}[_0x2384c9(0x326)](_0x32454e,_0x23b507,_0x4e496f='id',_0x38f968){const _0x571f38=_0x2384c9;let _0x298a42=this[_0x571f38(0x36e)]['getTable'](),_0x266fad=Date[_0x571f38(0x2c6)](),_0x12aad7={..._0x38f968,'id':(0x0,_0x3ceb6e['generateRandomId'])(0x6),'values':_0x36bcd6(_0x298a42,_0x23b507,_0x4e496f),'orderKey':(_0x38f968==null?void 0x0:_0x38f968[_0x571f38(0x2d6)])||''+_0x266fad,'createdAt':(_0x38f968==null?void 0x0:_0x38f968[_0x571f38(0x349)])||_0x266fad,'updatedAt':(_0x38f968==null?void 0x0:_0x38f968[_0x571f38(0x236)])||_0x266fad};if(!this[_0x571f38(0x34b)][_0x571f38(0x339)](_0x1486d1[_0x571f38(0x2a8)]['id'],{'unitId':this[_0x571f38(0x313)][_0x571f38(0x23e)](),'tableId':this[_0x571f38(0x36e)][_0x571f38(0x23e)](),'fieldId':_0x32454e,'parentRecordId':this['_recordId'],'record':_0x12aad7,'source':_0x1486d1[_0x571f38(0x2f6)][_0x571f38(0x20b)]}))throw Error('[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22'+this[_0x571f38(0x2f1)]+'\x22.');return this[_0x571f38(0x2d2)][_0x571f38(0x379)](_0x3fea62,this[_0x571f38(0x313)],this[_0x571f38(0x36e)],_0x12aad7['id'],this[_0x571f38(0x2d2)]);}[_0x2384c9(0x294)](_0x30d5d3){const _0x2afd6c=_0x2384c9;return(0x0,_0x1486d1[_0x2afd6c(0x22c)])(this['_table'][_0x2afd6c(0x1ed)](),_0x30d5d3);}['_collectDescendantIds'](_0x4ac7c4,_0xa9167e){let _0x439f5d=[],_0x31b6d1=_0x427ec4=>{const _0x50e6c2=_0x1e46;for(let _0x3b09e9 of _0x4ac7c4[_0x50e6c2(0x234)](_0x427ec4)??[])_0x439f5d[_0x50e6c2(0x33b)](_0x3b09e9),_0x31b6d1(_0x3b09e9);};return _0x31b6d1(_0xa9167e),_0x439f5d;}['_getRecord'](){const _0x1689ea=_0x2384c9;let _0x243866=this[_0x1689ea(0x36e)]['getTable']()[_0x1689ea(0x299)][this['_recordId']];if(!_0x243866)throw Error(_0x1689ea(0x2b0)+this[_0x1689ea(0x2f1)]+_0x1689ea(0x1e5));return _0x243866;}[_0x2384c9(0x1e4)](_0x5b9320){const _0xa3ebb6=_0x2384c9;let _0x165a2a=this[_0xa3ebb6(0x36e)][_0xa3ebb6(0x1ed)]()['fields'][_0x5b9320];if(!_0x165a2a||_0x165a2a[_0xa3ebb6(0x329)]!==_0x3ceb6e[_0xa3ebb6(0x33c)][_0xa3ebb6(0x247)])throw Error(_0xa3ebb6(0x24a)+_0x5b9320+_0xa3ebb6(0x1eb));return _0x165a2a;}[_0x2384c9(0x270)](_0x37660d){const _0x2e3b01=_0x2384c9;let _0x22f2bd=this[_0x2e3b01(0x36e)][_0x2e3b01(0x1ed)]()[_0x2e3b01(0x31e)][_0x37660d];if(!_0x22f2bd||_0x22f2bd['type']!==_0x3ceb6e['BaseFieldType'][_0x2e3b01(0x2c0)])throw Error(_0x2e3b01(0x24a)+_0x37660d+_0x2e3b01(0x331));return _0x22f2bd;}};_0x109580=_0x3fea62=_0x4d2ec5([_0x165e89(0x4,_0x3ceb6e[_0x2384c9(0x2ed)]),_0x165e89(0x5,_0x3ceb6e[_0x2384c9(0x27f)])],_0x109580);function _0x28932e(_0x44ef9e){const _0x4cc1dd=_0x2384c9;return!!(_0x44ef9e&&typeof _0x44ef9e==_0x4cc1dd(0x32f)&&'id'in _0x44ef9e&&typeof _0x44ef9e['id']==_0x4cc1dd(0x1c5)&&_0x4cc1dd(0x2fe)in _0x44ef9e&&typeof _0x44ef9e['name']==_0x4cc1dd(0x1c5));}function _0x2be80d(_0x3ffa1b,_0x4c1700,_0x48b3bd){const _0x4dc2ba=_0x2384c9;if(!_0x28932e(_0x3ffa1b))throw Error(_0x4dc2ba(0x24b)+_0x48b3bd+_0x4dc2ba(0x256)+_0x4c1700+'\x22\x20is\x20invalid.');return{..._0x3ffa1b};}let _0x39bc1a=class{constructor(_0x27ed64,_0x5264e2,_0x5e4b29,_0x5eb15d,_0x2d1198,_0x13fa72,_0x2e0578){const _0xc8e3f8=_0x2384c9;this[_0xc8e3f8(0x313)]=_0x27ed64,this['_table']=_0x5264e2,this[_0xc8e3f8(0x211)]=_0x5e4b29,this[_0xc8e3f8(0x2d2)]=_0x5eb15d,this[_0xc8e3f8(0x34b)]=_0x2d1198,this[_0xc8e3f8(0x275)]=_0x13fa72,this[_0xc8e3f8(0x31c)]=_0x2e0578;}['getId'](){const _0x582425=_0x2384c9;return this[_0x582425(0x211)];}['getPermission'](){const _0x1f1efc=_0x2384c9;let _0x421229=this[_0x1f1efc(0x36e)][_0x1f1efc(0x23e)]();return new _0x2b2724(this['_base']['getId'](),(0x0,_0x1486d1[_0x1f1efc(0x1ce)])(_0x421229,this[_0x1f1efc(0x211)]),[(0x0,_0x1486d1[_0x1f1efc(0x34a)])(_0x421229)],this[_0x1f1efc(0x34b)],this[_0x1f1efc(0x275)]);}[_0x2384c9(0x2ae)](){const _0x52494e=_0x2384c9;return this[_0x52494e(0x2e9)]();}['getName'](){const _0x40c488=_0x2384c9;return this[_0x40c488(0x2e9)]()['name'];}[_0x2384c9(0x2a9)](){return this['_getView']()['type'];}[_0x2384c9(0x363)](_0x4f32be){const _0x33bb39=_0x2384c9;return this['_commandService']['syncExecuteCommand'](_0x1486d1[_0x33bb39(0x30e)]['id'],{'unitId':this[_0x33bb39(0x313)][_0x33bb39(0x23e)](),'tableId':this['_table']['getId'](),'viewId':this[_0x33bb39(0x211)],'name':_0x4f32be});}[_0x2384c9(0x25e)](){const _0x301c31=_0x2384c9;let _0x3f51c6=this['getType'](),_0x17ad5c=this[_0x301c31(0x2e9)]()[_0x301c31(0x27e)];switch(_0x3f51c6){case _0x3ceb6e[_0x301c31(0x2a5)]['Grid']:return _0x17ad5c;case _0x3ceb6e[_0x301c31(0x2a5)][_0x301c31(0x290)]:return _0x17ad5c;case _0x3ceb6e['BaseViewType'][_0x301c31(0x2de)]:return _0x17ad5c;case _0x3ceb6e[_0x301c31(0x2a5)][_0x301c31(0x244)]:return _0x17ad5c;case _0x3ceb6e[_0x301c31(0x2a5)]['Gallery']:return _0x17ad5c;default:return _0x17ad5c;}}['updateConfig'](_0x94880d){const _0x8eeb99=_0x2384c9;return this[_0x8eeb99(0x34b)][_0x8eeb99(0x339)](_0x1486d1['UpdateBaseViewConfigCommand']['id'],{'unitId':this[_0x8eeb99(0x313)]['getId'](),'tableId':this[_0x8eeb99(0x36e)]['getId'](),'viewId':this['_viewId'],'patch':_0x94880d});}[_0x2384c9(0x20e)](){const _0x2509e4=_0x2384c9;var _0x339bec;return _0x3ceb6e[_0x2509e4(0x374)][_0x2509e4(0x355)](((_0x339bec=this[_0x2509e4(0x2e9)]()[_0x2509e4(0x27e)][_0x2509e4(0x240)])==null?void 0x0:_0x339bec['rules'])??[]);}[_0x2384c9(0x23a)](_0x29191c){const _0x410be8=_0x2384c9;return this[_0x410be8(0x34b)][_0x410be8(0x339)](_0x1486d1[_0x410be8(0x1ec)]['id'],{'unitId':this['_base'][_0x410be8(0x23e)](),'tableId':this[_0x410be8(0x36e)]['getId'](),'viewId':this[_0x410be8(0x211)],'type':_0x1486d1['BaseConditionalColorRuleUpdateType'][_0x410be8(0x1e8)],'rules':_0x29191c});}[_0x2384c9(0x2d5)](_0x567348){const _0x28bff8=_0x2384c9;return this[_0x28bff8(0x34b)][_0x28bff8(0x339)](_0x1486d1['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this[_0x28bff8(0x313)][_0x28bff8(0x23e)](),'tableId':this[_0x28bff8(0x36e)][_0x28bff8(0x23e)](),'viewId':this['_viewId'],'type':_0x1486d1['BaseConditionalColorRuleUpdateType']['Add'],'rule':_0x567348});}[_0x2384c9(0x285)](_0x39a7dc){const _0x7de1a6=_0x2384c9;return this[_0x7de1a6(0x34b)]['syncExecuteCommand'](_0x1486d1['UpdateBaseViewConditionalColorRulesCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x7de1a6(0x36e)][_0x7de1a6(0x23e)](),'viewId':this[_0x7de1a6(0x211)],'type':_0x1486d1[_0x7de1a6(0x217)]['Delete'],'ruleId':_0x39a7dc});}[_0x2384c9(0x2fb)](){const _0x4fbe26=_0x2384c9;return this['_commandService'][_0x4fbe26(0x339)](_0x1486d1[_0x4fbe26(0x1ec)]['id'],{'unitId':this[_0x4fbe26(0x313)][_0x4fbe26(0x23e)](),'tableId':this['_table'][_0x4fbe26(0x23e)](),'viewId':this[_0x4fbe26(0x211)],'type':_0x1486d1[_0x4fbe26(0x217)][_0x4fbe26(0x2bc)]});}[_0x2384c9(0x237)](){const _0x406017=_0x2384c9;return this[_0x406017(0x2e9)]()[_0x406017(0x2b9)]??null;}[_0x2384c9(0x2b4)](_0x24c6e6){const _0x968716=_0x2384c9;return this[_0x968716(0x34b)]['syncExecuteCommand'](_0x1486d1['SetBaseViewFilterCommand']['id'],{'unitId':this[_0x968716(0x313)][_0x968716(0x23e)](),'tableId':this[_0x968716(0x36e)][_0x968716(0x23e)](),'viewId':this['_viewId'],'filter':_0x24c6e6});}['getSort'](){const _0x4f5571=_0x2384c9;return this['_getView']()[_0x4f5571(0x2e2)]??[];}[_0x2384c9(0x2cc)](_0x576b01){const _0x229973=_0x2384c9;return this[_0x229973(0x34b)][_0x229973(0x339)](_0x1486d1[_0x229973(0x227)]['id'],{'unitId':this[_0x229973(0x313)]['getId'](),'tableId':this[_0x229973(0x36e)][_0x229973(0x23e)](),'viewId':this[_0x229973(0x211)],'sort':_0x576b01});}[_0x2384c9(0x344)](){const _0x133853=_0x2384c9;return this['_getView']()[_0x133853(0x333)]??[];}[_0x2384c9(0x1f8)](_0x28400c){const _0x738db7=_0x2384c9;return this[_0x738db7(0x34b)]['syncExecuteCommand'](_0x1486d1['SetBaseViewGroupCommand']['id'],{'unitId':this['_base'][_0x738db7(0x23e)](),'tableId':this[_0x738db7(0x36e)][_0x738db7(0x23e)](),'viewId':this['_viewId'],'group':_0x28400c});}[_0x2384c9(0x385)](_0x5a38f0){const _0x979faa=_0x2384c9;var _0x23055f;return _0x4f1300(this[_0x979faa(0x36e)][_0x979faa(0x1ed)]()['fields'][_0x5a38f0])?((_0x23055f=this[_0x979faa(0x2e9)]()['fieldSettings'])==null?void 0x0:_0x23055f[_0x5a38f0])??{}:{};}[_0x2384c9(0x21a)](){const _0x54190f=_0x2384c9;let _0x59d360=this[_0x54190f(0x36e)][_0x54190f(0x1ed)](),_0x4241dc=this[_0x54190f(0x2e9)]();return(_0x4241dc[_0x54190f(0x30d)]??_0x59d360[_0x54190f(0x30d)])[_0x54190f(0x2b9)](_0x2b99be=>{const _0x1e7dd2=_0x54190f;var _0xfb325;let _0x501465=_0x59d360['fields'][_0x2b99be];return _0x4f1300(_0x501465)&&!((_0xfb325=_0x4241dc['fieldSettings'])!=null&&(_0xfb325=_0xfb325[_0x2b99be])!=null&&_0xfb325[_0x1e7dd2(0x30c)]);})[_0x54190f(0x219)](_0x4c8035=>this[_0x54190f(0x2d2)][_0x54190f(0x379)](_0x47bbbc,this['_base'],this[_0x54190f(0x36e)],_0x4c8035));}['setFieldVisible'](_0x55ef44,_0x3bba5f){const _0x5b82f4=_0x2384c9;return _0x4f1300(this[_0x5b82f4(0x36e)][_0x5b82f4(0x1ed)]()[_0x5b82f4(0x31e)][_0x55ef44])?this[_0x5b82f4(0x34b)]['syncExecuteCommand'](_0x1486d1['SetBaseViewFieldVisibleCommand']['id'],{'unitId':this[_0x5b82f4(0x313)][_0x5b82f4(0x23e)](),'tableId':this[_0x5b82f4(0x36e)][_0x5b82f4(0x23e)](),'viewId':this['_viewId'],'fieldId':_0x55ef44,'visible':_0x3bba5f}):!0x1;}[_0x2384c9(0x36c)](_0x169e16,_0x467c5b){const _0x23f3d5=_0x2384c9;return _0x4f1300(this[_0x23f3d5(0x36e)][_0x23f3d5(0x1ed)]()[_0x23f3d5(0x31e)][_0x169e16])?this[_0x23f3d5(0x34b)][_0x23f3d5(0x339)](_0x1486d1[_0x23f3d5(0x2f8)]['id'],{'unitId':this[_0x23f3d5(0x313)][_0x23f3d5(0x23e)](),'tableId':this[_0x23f3d5(0x36e)][_0x23f3d5(0x23e)](),'viewId':this['_viewId'],'fieldId':_0x169e16,'width':_0x467c5b}):!0x1;}[_0x2384c9(0x30f)](_0x3dc71a,_0xeb4429){const _0x184015=_0x2384c9;let _0xbc8e1=this[_0x184015(0x36e)][_0x184015(0x1ed)](),_0x1d8334=_0xeb4429[_0x184015(0x220)]??_0xeb4429[_0x184015(0x2fd)];return!_0x4f1300(_0xbc8e1['fields'][_0x3dc71a])||!_0x1d8334||!_0x4f1300(_0xbc8e1['fields'][_0x1d8334])?!0x1:this[_0x184015(0x34b)][_0x184015(0x339)](_0x1486d1[_0x184015(0x26d)]['id'],{'unitId':this['_base'][_0x184015(0x23e)](),'tableId':this['_table']['getId'](),'viewId':this[_0x184015(0x211)],'fieldId':_0x3dc71a,'target':_0xeb4429});}[_0x2384c9(0x2df)](_0x1df8b4){const _0x3c136e=_0x2384c9;return this[_0x3c136e(0x34b)][_0x3c136e(0x339)](_0x1486d1[_0x3c136e(0x2aa)]['id'],{'unitId':this[_0x3c136e(0x313)][_0x3c136e(0x23e)](),'tableId':this[_0x3c136e(0x36e)]['getId'](),'viewId':this['_viewId'],'target':_0x1df8b4});}[_0x2384c9(0x222)](){const _0x368eb2=_0x2384c9;return this[_0x368eb2(0x34b)][_0x368eb2(0x339)](_0x1486d1['DeleteBaseViewCommand']['id'],{'unitId':this[_0x368eb2(0x313)]['getId'](),'tableId':this[_0x368eb2(0x36e)][_0x368eb2(0x23e)](),'viewId':this[_0x368eb2(0x211)]});}[_0x2384c9(0x1d4)](){const _0x1d663c=_0x2384c9;return this[_0x1d663c(0x31c)]['getProjection'](this[_0x1d663c(0x313)][_0x1d663c(0x377)]()['getSnapshot'](),this[_0x1d663c(0x36e)][_0x1d663c(0x23e)](),this[_0x1d663c(0x211)]);}[_0x2384c9(0x2e9)](){const _0x59b0c0=_0x2384c9;let _0x26936d=this['_table']['getTable']()[_0x59b0c0(0x347)][this[_0x59b0c0(0x211)]];if(!_0x26936d)throw Error('[FView]:\x20view\x20\x22'+this[_0x59b0c0(0x211)]+_0x59b0c0(0x1e5));return _0x26936d;}};_0x39bc1a=_0x4d2ec5([_0x165e89(0x4,_0x3ceb6e[_0x2384c9(0x2ed)]),_0x165e89(0x5,_0x3ceb6e[_0x2384c9(0x27f)]),_0x165e89(0x6,_0x1486d1[_0x2384c9(0x205)])],_0x39bc1a);let _0x3ee97c=class{constructor(_0x424d11,_0x4d26b0,_0x1936cf,_0x1554da,_0x2f9f64,_0x1d4edd){const _0x846650=_0x2384c9;this['_base']=_0x424d11,this[_0x846650(0x32a)]=_0x4d26b0,this[_0x846650(0x2d2)]=_0x1936cf,this['_commandService']=_0x1554da,this[_0x846650(0x275)]=_0x2f9f64,this[_0x846650(0x31c)]=_0x1d4edd;}[_0x2384c9(0x377)](){const _0x2c3fca=_0x2384c9;return this['_base'][_0x2c3fca(0x377)]();}[_0x2384c9(0x1ed)](){const _0x10ade2=_0x2384c9;return this[_0x10ade2(0x22a)]();}[_0x2384c9(0x23e)](){return this['_tableId'];}[_0x2384c9(0x2e1)](){const _0x39dfeb=_0x2384c9;return new _0x2b2724(this[_0x39dfeb(0x377)]()[_0x39dfeb(0x320)](),(0x0,_0x1486d1[_0x39dfeb(0x34a)])(this[_0x39dfeb(0x32a)]),[],this[_0x39dfeb(0x34b)],this[_0x39dfeb(0x275)]);}[_0x2384c9(0x279)](){const _0x206415=_0x2384c9;return(0x0,_0x1486d1[_0x206415(0x2f2)])(this['_getTable']());}[_0x2384c9(0x20a)](_0x1237aa){const _0x97a2b9=_0x2384c9;return this['_commandService'][_0x97a2b9(0x339)](_0x1486d1[_0x97a2b9(0x274)]['id'],{'unitId':this[_0x97a2b9(0x313)]['getId'](),'tableId':this[_0x97a2b9(0x32a)],'fieldId':_0x1237aa});}[_0x2384c9(0x26b)](){const _0x20c945=_0x2384c9;return this[_0x20c945(0x22a)]()[_0x20c945(0x2fe)];}[_0x2384c9(0x381)](){const _0x785130=_0x2384c9;let _0x455ee2=this[_0x785130(0x313)][_0x785130(0x377)]()['getSnapshot']();return(0x0,_0x1486d1['getBaseFormulaTableName'])(this['_getTable'](),_0x455ee2);}['setName'](_0x3514eb){const _0x302cc1=_0x2384c9;let _0x1481d1=(0x0,_0x1486d1['validateBaseTableName'])(this[_0x302cc1(0x313)][_0x302cc1(0x377)]()[_0x302cc1(0x386)](),_0x3514eb,this['_tableId']);if(!_0x1481d1[_0x302cc1(0x280)])throw Error(_0x302cc1(0x263)+_0x3514eb+_0x302cc1(0x34c)+_0x1486d1['BASE_TABLE_NAME_REQUIREMENTS']+'\x20'+_0x1481d1[_0x302cc1(0x29d)]);return this[_0x302cc1(0x34b)][_0x302cc1(0x339)](_0x1486d1[_0x302cc1(0x1fe)]['id'],{'unitId':this[_0x302cc1(0x313)][_0x302cc1(0x23e)](),'tableId':this[_0x302cc1(0x32a)],'name':_0x3514eb});}[_0x2384c9(0x25c)](_0x24053f,_0x3d2018){const _0x269052=_0x2384c9;let _0x2b410b=this[_0x269052(0x313)]['getBase']()[_0x269052(0x386)](),_0x2dae80=this['_getTable']();if(_0x3d2018){let _0x3f3ecb=this[_0x269052(0x31c)][_0x269052(0x1d4)](_0x2b410b,this[_0x269052(0x32a)],_0x3d2018),_0x5a0163=_0x2dae80[_0x269052(0x347)][_0x3d2018],_0x1ec3fb=_0x24053f['fieldIds']??_0x173075(_0x2dae80,_0x5a0163,_0x3f3ecb),_0x111d1c=_0x269052(0x1d0)in _0x3f3ecb&&Array['isArray'](_0x3f3ecb[_0x269052(0x1d0)])?_0x3f3ecb['rows']:[];return(0x0,_0x1486d1[_0x269052(0x37c)])({..._0x24053f,'table':_0x2dae80,'fieldIds':_0x1ec3fb,'rows':_0x111d1c});}let _0x44097e=(_0x2dae80[_0x269052(0x229)]?_0x2dae80[_0x269052(0x229)][_0x269052(0x219)](_0x445288=>_0x2dae80['records'][_0x445288]):Object[_0x269052(0x2af)](_0x2dae80[_0x269052(0x299)])[_0x269052(0x2e2)]((_0x2477dd,_0x10582f)=>_0x2477dd[_0x269052(0x2d6)][_0x269052(0x2cb)](_0x10582f[_0x269052(0x2d6)])))[_0x269052(0x2b9)](_0x3694ce=>_0x3694ce)[_0x269052(0x219)](_0x5ab1f1=>({'recordId':_0x5ab1f1['id'],'values':_0x5ab1f1[_0x269052(0x2af)]})),_0x3b8fd9=_0x24053f[_0x269052(0x351)]??_0x2dae80[_0x269052(0x30d)][_0x269052(0x2b9)](_0x2b1db5=>_0x4f1300(_0x2dae80[_0x269052(0x31e)][_0x2b1db5]));return(0x0,_0x1486d1[_0x269052(0x37c)])({..._0x24053f,'table':_0x2dae80,'fieldIds':_0x3b8fd9,'rows':_0x44097e});}[_0x2384c9(0x34f)](){const _0x1afd1a=_0x2384c9;return this[_0x1afd1a(0x22a)]()[_0x1afd1a(0x300)];}[_0x2384c9(0x308)](){const _0x4b55c1=_0x2384c9;let _0x34e7d2=this[_0x4b55c1(0x22a)]();return _0x34e7d2[_0x4b55c1(0x30d)][_0x4b55c1(0x219)](_0x2685ec=>_0x34e7d2[_0x4b55c1(0x31e)][_0x2685ec])[_0x4b55c1(0x2b9)](_0x4f1300)[_0x4b55c1(0x219)](_0xdf7cba=>this['_injector'][_0x4b55c1(0x379)](_0x47bbbc,this[_0x4b55c1(0x313)],this,_0xdf7cba['id']));}['getFieldById'](_0x58f46a){const _0x41559e=_0x2384c9;let _0x349060=this['_getTable']()[_0x41559e(0x31e)][_0x58f46a];return _0x4f1300(_0x349060)?this[_0x41559e(0x2d2)][_0x41559e(0x379)](_0x47bbbc,this[_0x41559e(0x313)],this,_0x349060['id']):null;}[_0x2384c9(0x337)](_0x550977){const _0x3f215e=_0x2384c9;let _0x2167d6=this[_0x3f215e(0x22a)]()['fields'],_0x35550f=Object[_0x3f215e(0x2af)](_0x2167d6)['find'](_0xcd159c=>_0x4f1300(_0xcd159c)&&_0xcd159c[_0x3f215e(0x2fe)]===_0x550977);return _0x35550f?this[_0x3f215e(0x2d2)][_0x3f215e(0x379)](_0x47bbbc,this[_0x3f215e(0x313)],this,_0x35550f['id']):null;}[_0x2384c9(0x311)](){const _0x2e90f3=_0x2384c9;let _0x33f31e=this[_0x2e90f3(0x22a)]()[_0x2e90f3(0x300)];return this[_0x2e90f3(0x2d2)][_0x2e90f3(0x379)](_0x47bbbc,this[_0x2e90f3(0x313)],this,_0x33f31e);}[_0x2384c9(0x23f)](_0x39c250,_0x4c7d11,_0x3bcad3){const _0x37225=_0x2384c9;var _0x487532,_0x412165;if(!Object[_0x37225(0x2af)](_0x3ceb6e[_0x37225(0x33c)])[_0x37225(0x230)](_0x4f69af=>_0x4f69af===_0x4c7d11))throw Error(_0x37225(0x203)+String(_0x4c7d11)+'\x22.');if(_0x4c7d11===_0x3ceb6e[_0x37225(0x33c)][_0x37225(0x2f9)]&&this['_prepareFormulaFieldReferences'](_0x39c250,_0x3bcad3),_0x4c7d11===_0x3ceb6e['BaseFieldType'][_0x37225(0x247)]&&(typeof(_0x3bcad3==null||(_0x487532=_0x3bcad3[_0x37225(0x29e)])==null||(_0x487532=_0x487532[_0x37225(0x27e)])==null?void 0x0:_0x487532[_0x37225(0x348)])!='string'||typeof _0x3bcad3[_0x37225(0x29e)]['config'][_0x37225(0x2db)]!='boolean'))throw Error(_0x37225(0x209));let _0x2e0522={..._0x3bcad3==null?void 0x0:_0x3bcad3['field'],'id':(0x0,_0x3ceb6e['generateRandomId'])(0x6),'name':_0x39c250,'type':_0x4c7d11,'config':(_0x3bcad3==null||(_0x412165=_0x3bcad3[_0x37225(0x29e)])==null?void 0x0:_0x412165['config'])??{}};if(!this[_0x37225(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x37225(0x2cd)]['id'],{'unitId':this[_0x37225(0x313)][_0x37225(0x23e)](),'tableId':this['_tableId'],'field':_0x2e0522,'index':_0x3bcad3==null?void 0x0:_0x3bcad3['index']}))throw Error(_0x37225(0x32e)+_0x39c250+'\x22');return this[_0x37225(0x2d2)][_0x37225(0x379)](_0x47bbbc,this[_0x37225(0x313)],this,_0x2e0522['id']);}[_0x2384c9(0x341)](_0x4671a2,_0xfd29b){const _0x214902=_0x2384c9;var _0x392dcf;if(!_0xfd29b||!(_0x214902(0x316)in _0xfd29b)||!Array['isArray'](_0xfd29b[_0x214902(0x316)]))throw Error(_0x214902(0x28a));let _0x428670=this['_commandService'][_0x214902(0x339)](_0x1486d1[_0x214902(0x258)]['id'],{'unitId':this[_0x214902(0x313)][_0x214902(0x23e)](),'tableId':this[_0x214902(0x32a)],'formula':String(((_0x392dcf=_0xfd29b['field'])==null||(_0x392dcf=_0x392dcf['config'])==null?void 0x0:_0x392dcf[_0x214902(0x2be)])??'')});if(!_0x428670[_0x214902(0x280)])throw Error(_0x428670[_0x214902(0x29d)]??_0x214902(0x2d3));if(_0xfd29b[_0x214902(0x316)][_0x214902(0x1cc)]>0x0&&!this[_0x214902(0x34b)][_0x214902(0x339)](_0x1b4cc3[_0x214902(0x1e3)]['id'],{'unitId':this[_0x214902(0x313)][_0x214902(0x23e)](),'references':_0xfd29b[_0x214902(0x316)]}))throw Error(_0x214902(0x2a2)+_0x4671a2+'\x22');}[_0x2384c9(0x1e0)](){const _0x36807c=_0x2384c9;return this['_resolveRecordIds']()[_0x36807c(0x219)](_0xc4fc8e=>this[_0x36807c(0x2d2)][_0x36807c(0x379)](_0x109580,this[_0x36807c(0x313)],this,_0xc4fc8e,this[_0x36807c(0x2d2)]));}[_0x2384c9(0x22f)](_0x21fede){const _0x4c4be5=_0x2384c9;return this[_0x4c4be5(0x22a)]()['records'][_0x21fede]?this[_0x4c4be5(0x2d2)][_0x4c4be5(0x379)](_0x109580,this[_0x4c4be5(0x313)],this,_0x21fede,this[_0x4c4be5(0x2d2)]):null;}[_0x2384c9(0x315)](_0x1e59c0={}){const _0x4ce7bb=_0x2384c9;let _0x1661c7=this[_0x4ce7bb(0x22a)](),_0x48267c=this[_0x4ce7bb(0x206)](_0x1e59c0),_0x260f67=Math[_0x4ce7bb(0x1f6)](0x0,_0x1e59c0[_0x4ce7bb(0x302)]??0x0),_0x5984dd=_0x1e59c0[_0x4ce7bb(0x276)]==null?null:Math[_0x4ce7bb(0x1f6)](0x0,_0x1e59c0['limit']),_0x5c78ba=_0x1318ee(_0x48267c[_0x4ce7bb(0x219)](_0x2b1372=>_0x1661c7[_0x4ce7bb(0x299)][_0x2b1372])[_0x4ce7bb(0x2b9)](_0x28c05e=>_0xb16c13(_0x28c05e,_0x1661c7,_0x1e59c0[_0x4ce7bb(0x2b9)])),_0x1661c7,_0x1e59c0[_0x4ce7bb(0x2e2)]);return{'records':_0x16e010(_0x5c78ba,_0x1e59c0)[_0x4ce7bb(0x219)](_0x52cc2e=>this[_0x4ce7bb(0x2d2)]['createInstance'](_0x109580,this[_0x4ce7bb(0x313)],this,_0x52cc2e['id'],this[_0x4ce7bb(0x2d2)])),'total':_0x5c78ba['length'],'offset':_0x260f67,'limit':_0x5984dd,'hasMore':_0x5984dd!=null&&_0x260f67+_0x5984dd<_0x5c78ba['length']};}[_0x2384c9(0x31a)](_0x6d0520,_0x32624d='id',_0x38739b){const _0x35e374=_0x2384c9;let _0x237175=this[_0x35e374(0x22a)](),_0x5e66ee=Date['now'](),_0x400641={..._0x38739b,'id':(0x0,_0x3ceb6e['generateRandomId'])(0x6),'values':_0x36bcd6(_0x237175,_0x6d0520,_0x32624d),'orderKey':(_0x38739b==null?void 0x0:_0x38739b['orderKey'])||''+_0x5e66ee,'createdAt':(_0x38739b==null?void 0x0:_0x38739b[_0x35e374(0x349)])||_0x5e66ee,'updatedAt':(_0x38739b==null?void 0x0:_0x38739b[_0x35e374(0x236)])||_0x5e66ee};if(!this[_0x35e374(0x34b)][_0x35e374(0x339)](_0x1486d1[_0x35e374(0x26e)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x35e374(0x32a)],'record':_0x400641,'source':_0x1486d1[_0x35e374(0x2f6)][_0x35e374(0x20b)]}))throw Error(_0x35e374(0x29a)+_0x400641['id']+'\x22');return this['_injector'][_0x35e374(0x379)](_0x109580,this['_base'],this,_0x400641['id'],this[_0x35e374(0x2d2)]);}[_0x2384c9(0x29f)](_0x4c4e6e){const _0x48d223=_0x2384c9;if(!_0x4c4e6e[_0x48d223(0x1cc)])return[];let _0x1b0057=this[_0x48d223(0x22a)](),_0x1a5955=Date[_0x48d223(0x2c6)](),_0x382b2f=_0x4c4e6e[_0x48d223(0x219)]((_0x18f229,_0x1f763d)=>{const _0x110469=_0x48d223;var _0x1f8528,_0xc06936,_0x2ec23c;return{..._0x18f229[_0x110469(0x306)],'id':(0x0,_0x3ceb6e[_0x110469(0x241)])(0x6),'values':_0x36bcd6(_0x1b0057,_0x18f229[_0x110469(0x2af)],_0x18f229['fieldKey']??'id'),'orderKey':((_0x1f8528=_0x18f229['record'])==null?void 0x0:_0x1f8528['orderKey'])||''+(_0x1a5955+_0x1f763d),'createdAt':((_0xc06936=_0x18f229[_0x110469(0x306)])==null?void 0x0:_0xc06936[_0x110469(0x349)])||_0x1a5955,'updatedAt':((_0x2ec23c=_0x18f229['record'])==null?void 0x0:_0x2ec23c[_0x110469(0x236)])||_0x1a5955};});if(!this['_commandService'][_0x48d223(0x339)](_0x1486d1[_0x48d223(0x372)]['id'],{'unitId':this['_base'][_0x48d223(0x23e)](),'tableId':this['_tableId'],'records':_0x382b2f,'source':_0x1486d1[_0x48d223(0x2f6)][_0x48d223(0x20b)]}))throw Error(_0x48d223(0x26a));return _0x382b2f[_0x48d223(0x219)](_0x1348e5=>this['_injector']['createInstance'](_0x109580,this['_base'],this,_0x1348e5['id'],this['_injector']));}['deleteRecords'](_0x568d84){const _0x38fdd7=_0x2384c9;return!_0x568d84[_0x38fdd7(0x1cc)]||this[_0x38fdd7(0x34b)][_0x38fdd7(0x339)](_0x1486d1[_0x38fdd7(0x253)]['id'],{'unitId':this['_base'][_0x38fdd7(0x23e)](),'tableId':this[_0x38fdd7(0x32a)],'recordIds':_0x568d84,'source':_0x1486d1[_0x38fdd7(0x2f6)][_0x38fdd7(0x20b)]});}[_0x2384c9(0x21b)](_0x3ef4b1,_0x27ee22,_0x3e7234=0x1,_0x2a9798=0x1){const _0x43b6c7=_0x2384c9;return this['_injector'][_0x43b6c7(0x379)](_0x151c2a,this[_0x43b6c7(0x313)],this,{'startRow':_0x3ef4b1,'endRow':_0x3ef4b1+_0x3e7234-0x1,'startColumn':_0x27ee22,'endColumn':_0x27ee22+_0x2a9798-0x1},this['_injector']);}[_0x2384c9(0x378)](){const _0x44f13c=_0x2384c9;var _0x28a0da;let _0x1b24de=(0x0,_0x1486d1[_0x44f13c(0x305)])(this[_0x44f13c(0x22a)]()),_0x44b3ae=((_0x28a0da=_0x1b24de[_0x44f13c(0x229)])==null?void 0x0:_0x28a0da[_0x44f13c(0x1cc)])??0x0,_0x5155c4=_0x1b24de[_0x44f13c(0x30d)][_0x44f13c(0x2b9)](_0x5adcd4=>_0x4f1300(_0x1b24de[_0x44f13c(0x31e)][_0x5adcd4]))['length'];return this['getRange'](0x0,0x0,Math[_0x44f13c(0x1f6)](_0x44b3ae,0x1),Math[_0x44f13c(0x1f6)](_0x5155c4,0x1));}[_0x2384c9(0x295)](){const _0x49d19a=_0x2384c9;let _0x233242=this[_0x49d19a(0x22a)]();return _0x233242[_0x49d19a(0x2bb)][_0x49d19a(0x2b9)](_0x5803c2=>_0x233242['views'][_0x5803c2])[_0x49d19a(0x219)](_0x958d89=>this[_0x49d19a(0x2d2)][_0x49d19a(0x379)](_0x39bc1a,this[_0x49d19a(0x313)],this,_0x958d89,this[_0x49d19a(0x2d2)]));}['getViewById'](_0x2482a5){const _0x4178c5=_0x2384c9;return this[_0x4178c5(0x22a)]()[_0x4178c5(0x347)][_0x2482a5]?this['_injector']['createInstance'](_0x39bc1a,this['_base'],this,_0x2482a5,this[_0x4178c5(0x2d2)]):null;}[_0x2384c9(0x269)](_0x5af13c){const _0x2630a8=_0x2384c9;let _0x51169a=this[_0x2630a8(0x22a)](),_0x4507da=Object[_0x2630a8(0x2af)](_0x51169a[_0x2630a8(0x347)])[_0x2630a8(0x1e7)](_0x94c9d=>_0x94c9d[_0x2630a8(0x2fe)]===_0x5af13c);return _0x4507da?this['_injector'][_0x2630a8(0x379)](_0x39bc1a,this[_0x2630a8(0x313)],this,_0x4507da['id'],this['_injector']):null;}[_0x2384c9(0x2e5)](_0x4314c5,_0x2c9ddf,_0x4bba83){const _0x4dba05=_0x2384c9;var _0x4e9f47,_0x4c84fa,_0x4328fb,_0x4d6250;let _0x3bfa9c=this[_0x4dba05(0x22a)](),_0x3551ba=(_0x4bba83==null||(_0x4e9f47=_0x4bba83[_0x4dba05(0x1c4)])==null?void 0x0:_0x4e9f47[_0x4dba05(0x30d)])??_0x3bfa9c[_0x4dba05(0x30d)],_0x5b7803=[_0x3ceb6e[_0x4dba05(0x370)],..._0x3551ba[_0x4dba05(0x2b9)](_0xfd614f=>_0x4f1300(_0x3bfa9c['fields'][_0xfd614f]))],_0x3c4345={..._0x4bba83==null?void 0x0:_0x4bba83['view'],'id':(0x0,_0x3ceb6e[_0x4dba05(0x241)])(0x6),'name':_0x4314c5,'type':_0x2c9ddf,'tableId':this[_0x4dba05(0x32a)],'config':(_0x4bba83==null||(_0x4c84fa=_0x4bba83['view'])==null?void 0x0:_0x4c84fa[_0x4dba05(0x27e)])??{},'fieldOrder':_0x5b7803,'fieldSettings':{..._0x4bba83==null||(_0x4328fb=_0x4bba83[_0x4dba05(0x1c4)])==null?void 0x0:_0x4328fb[_0x4dba05(0x318)],[_0x3ceb6e[_0x4dba05(0x370)]]:{..._0x4bba83==null||(_0x4d6250=_0x4bba83['view'])==null||(_0x4d6250=_0x4d6250[_0x4dba05(0x318)])==null?void 0x0:_0x4d6250[_0x3ceb6e[_0x4dba05(0x370)]],'hidden':!0x0}}};if(!this[_0x4dba05(0x34b)][_0x4dba05(0x339)](_0x1486d1[_0x4dba05(0x1f0)]['id'],{'unitId':this[_0x4dba05(0x313)][_0x4dba05(0x23e)](),'tableId':this[_0x4dba05(0x32a)],'view':_0x3c4345,'index':_0x4bba83==null?void 0x0:_0x4bba83[_0x4dba05(0x1df)]}))throw Error(_0x4dba05(0x37e)+_0x4314c5+'\x22');return this['_injector']['createInstance'](_0x39bc1a,this[_0x4dba05(0x313)],this,_0x3c4345['id'],this[_0x4dba05(0x2d2)]);}[_0x2384c9(0x243)](){const _0x4cf5d5=_0x2384c9;let _0xc30a20=this[_0x4cf5d5(0x22a)](),_0xfba7f=_0xc30a20['fieldOrder']['filter'](_0xee7334=>_0x4f1300(_0xc30a20[_0x4cf5d5(0x31e)][_0xee7334])),_0x46c901=_0xc30a20[_0x4cf5d5(0x2bb)]['filter'](_0x4a2ccb=>_0xc30a20[_0x4cf5d5(0x347)][_0x4a2ccb]);return{'id':_0xc30a20['id'],'name':_0xc30a20[_0x4cf5d5(0x2fe)],'formulaName':this[_0x4cf5d5(0x381)](),'primaryFieldId':_0xc30a20[_0x4cf5d5(0x300)],'fieldIds':_0xfba7f,'viewIds':_0x46c901,'recordCount':this[_0x4cf5d5(0x206)]()['length'],'fields':_0xfba7f[_0x4cf5d5(0x219)](_0x31ae35=>{const _0x343cbb=_0x4cf5d5;let _0x2f8e17=_0xc30a20[_0x343cbb(0x31e)][_0x31ae35];return{'id':_0x2f8e17['id'],'name':_0x2f8e17[_0x343cbb(0x2fe)],'type':_0x2f8e17['type'],'config':_0x2f8e17['config'],'readonly':_0x2f8e17[_0x343cbb(0x1cb)],'description':_0x2f8e17[_0x343cbb(0x35f)]};}),'views':_0x46c901['map'](_0x396f69=>{const _0x5efddb=_0x4cf5d5;let _0x27efab=_0xc30a20['views'][_0x396f69];return{'id':_0x27efab['id'],'name':_0x27efab['name'],'type':_0x27efab[_0x5efddb(0x329)]};})};}['_getTable'](){const _0x2dd19a=_0x2384c9;let _0x575fdd=this[_0x2dd19a(0x313)][_0x2dd19a(0x377)]()['getSnapshot']()['tables'][this[_0x2dd19a(0x32a)]];if(!_0x575fdd)throw Error(_0x2dd19a(0x2b6)+this['_tableId']+_0x2dd19a(0x1e5));return _0x575fdd;}[_0x2384c9(0x206)](_0x3874fd={}){const _0x3ddbf4=_0x2384c9;let _0x20b440=this[_0x3ddbf4(0x313)][_0x3ddbf4(0x377)]()[_0x3ddbf4(0x386)](),_0x444d1b=this['_getTable']();if(_0x3874fd[_0x3ddbf4(0x2b3)]){let _0x4cf851=this[_0x3ddbf4(0x31c)][_0x3ddbf4(0x1d4)](_0x20b440,this[_0x3ddbf4(0x32a)],_0x3874fd[_0x3ddbf4(0x2b3)]);if('rows'in _0x4cf851&&Array['isArray'](_0x4cf851[_0x3ddbf4(0x1d0)]))return _0x4cf851[_0x3ddbf4(0x1d0)][_0x3ddbf4(0x219)](_0x5a699f=>_0x5a699f[_0x3ddbf4(0x262)]);}return(_0x444d1b['recordOrder']?_0x444d1b[_0x3ddbf4(0x229)]['map'](_0x251c40=>_0x444d1b[_0x3ddbf4(0x299)][_0x251c40]):Object[_0x3ddbf4(0x2af)](_0x444d1b[_0x3ddbf4(0x299)])[_0x3ddbf4(0x2e2)]((_0x66f529,_0x2fe956)=>_0x66f529[_0x3ddbf4(0x2d6)][_0x3ddbf4(0x2cb)](_0x2fe956[_0x3ddbf4(0x2d6)])))[_0x3ddbf4(0x2b9)](_0x48ac31=>_0x48ac31)[_0x3ddbf4(0x219)](_0x130ce3=>_0x130ce3['id']);}};_0x3ee97c=_0x4d2ec5([_0x165e89(0x3,_0x3ceb6e[_0x2384c9(0x2ed)]),_0x165e89(0x4,_0x3ceb6e[_0x2384c9(0x27f)]),_0x165e89(0x5,_0x1486d1[_0x2384c9(0x205)])],_0x3ee97c);function _0x16e010(_0x47f7a4,_0x529648){const _0x2c49d9=_0x2384c9;let _0x538688=Math['max'](0x0,_0x529648[_0x2c49d9(0x302)]??0x0);return _0x529648[_0x2c49d9(0x276)]==null?_0x47f7a4['slice'](_0x538688):_0x47f7a4['slice'](_0x538688,_0x538688+Math['max'](0x0,_0x529648['limit']));}function _0x1318ee(_0x3182b4,_0x4a08a6,_0x389b5b=[]){const _0x30dce0=_0x2384c9;return _0x389b5b['length']?[..._0x3182b4][_0x30dce0(0x2e2)]((_0x32a9cc,_0x82958a)=>{const _0x17df1d=_0x30dce0;for(let _0x5fc180 of _0x389b5b){var _0x2e1022;let _0x3abd35=_0x5fc180[_0x17df1d(0x21e)]===_0x3ceb6e[_0x17df1d(0x352)][_0x17df1d(0x324)]?-0x1:0x1,_0x13e931=_0x22ea92(_0x32a9cc[_0x17df1d(0x2af)][_0x5fc180[_0x17df1d(0x22b)]],_0x82958a[_0x17df1d(0x2af)][_0x5fc180[_0x17df1d(0x22b)]],(_0x2e1022=_0x4a08a6[_0x17df1d(0x31e)][_0x5fc180[_0x17df1d(0x22b)]])==null?void 0x0:_0x2e1022[_0x17df1d(0x329)]);if(_0x13e931!==0x0)return _0x13e931*_0x3abd35;}return String(_0x32a9cc[_0x17df1d(0x2d6)]??_0x32a9cc['id'])[_0x17df1d(0x2cb)](String(_0x82958a['orderKey']??_0x82958a['id']));}):_0x3182b4;}function _0x22ea92(_0x58960c,_0x44c396,_0x2df345){const _0x340fa3=_0x2384c9;return _0x58960c==null&&_0x44c396==null?0x0:_0x58960c==null?-0x1:_0x44c396==null?0x1:typeof _0x58960c==_0x340fa3(0x216)&&typeof _0x44c396==_0x340fa3(0x216)?_0x58960c-_0x44c396:_0x2df345===_0x3ceb6e[_0x340fa3(0x33c)][_0x340fa3(0x1cd)]?Number(_0x58960c)-Number(_0x44c396):String(_0x58960c)[_0x340fa3(0x2cb)](String(_0x44c396));}function _0xb16c13(_0x244c65,_0x4ada80,_0x3f8288){const _0x37a8f5=_0x2384c9;var _0xfbc550;if(!_0x3f8288||!((_0xfbc550=_0x3f8288['conditions'])!=null&&_0xfbc550[_0x37a8f5(0x1cc)]))return!0x0;let {conjunction:_0x2c9a77=_0x3ceb6e['BaseFilterConjunction']['OR'],conditions:_0x3c7b9e}=_0x3f8288;return _0x2c9a77===_0x3ceb6e['BaseFilterConjunction'][_0x37a8f5(0x26f)]&&_0x3c7b9e[_0x37a8f5(0x1cc)]>0x1?_0x3c7b9e[_0x37a8f5(0x248)](_0x2cf475=>_0x5ebd08(_0x244c65,_0x4ada80,_0x2cf475)):_0x3c7b9e[_0x37a8f5(0x230)](_0x214022=>_0x5ebd08(_0x244c65,_0x4ada80,_0x214022));}function _0x5ebd08(_0x5f27b6,_0x47d345,_0x35098a){const _0x263022=_0x2384c9;let _0x375ce8=_0x5f27b6[_0x263022(0x2af)][_0x35098a[_0x263022(0x22b)]],_0x47eb5b=_0x47d345[_0x263022(0x31e)][_0x35098a[_0x263022(0x22b)]];if(_0x3390a1(_0x35098a)){let _0x21775a=_0x18e6cf(_0x35098a)[_0x263022(0x223)](String(_0x375ce8??''));return _0x35098a['operator']===_0x263022(0x235)?_0x21775a:!_0x21775a;}return!_0x47eb5b||(0x0,_0x1486d1[_0x263022(0x37b)])(_0x375ce8,_0x35098a[_0x263022(0x369)],_0x35098a[_0x263022(0x1f9)],_0x47eb5b);}function _0x3390a1(_0xe8cbe){const _0x259b44=_0x2384c9;return _0xe8cbe['operator']===_0x259b44(0x235)||_0xe8cbe[_0x259b44(0x369)]==='notMatches';}function _0x18e6cf(_0x438ae2){const _0x3ec738=_0x2384c9;let _0x4f7d4f=String(_0x438ae2['value']??'');if(_0x4f7d4f[_0x3ec738(0x1cc)]>0x200)throw Error(_0x3ec738(0x273));try{return new RegExp(_0x4f7d4f,_0x438ae2[_0x3ec738(0x278)]?void 0x0:'i');}catch(_0x17922d){throw Error(_0x3ec738(0x1ff)+_0x4f7d4f+'.\x20'+(_0x17922d instanceof Error?_0x17922d['message']:String(_0x17922d)));}}function _0x173075(_0x1c2881,_0x51428b,_0x57db1b){const _0x3b28bb=_0x2384c9;if(_0x57db1b[_0x3b28bb(0x329)]!==_0x3b28bb(0x23b)&&_0x57db1b['type']!==_0x3b28bb(0x1d9)){var _0x565f22;if(_0x57db1b[_0x3b28bb(0x329)]===_0x3ceb6e[_0x3b28bb(0x2a5)][_0x3b28bb(0x290)]){var _0x5221e;let _0x49cfad=[((_0x5221e=_0x57db1b[_0x3b28bb(0x31e)])==null||(_0x5221e=_0x5221e[0x0])==null?void 0x0:_0x5221e['id'])??_0x1c2881[_0x3b28bb(0x300)],..._0x57db1b[_0x3b28bb(0x36b)]??[]];return Array[_0x3b28bb(0x27d)](new Set(_0x49cfad['filter'](_0x3f6937=>!!_0x1c2881[_0x3b28bb(0x31e)][_0x3f6937])));}if((_0x565f22=_0x57db1b['fields'])!=null&&_0x565f22['length'])return _0x57db1b[_0x3b28bb(0x31e)][_0x3b28bb(0x219)](_0x591cbe=>_0x591cbe['id'])[_0x3b28bb(0x2b9)](_0x580c9c=>{const _0xf90975=_0x3b28bb;var _0x1ee8b6;return!(!_0x1c2881[_0xf90975(0x31e)][_0x580c9c]||_0x51428b!=null&&(_0x1ee8b6=_0x51428b[_0xf90975(0x318)])!=null&&(_0x1ee8b6=_0x1ee8b6[_0x580c9c])!=null&&_0x1ee8b6[_0xf90975(0x30c)]);});}return _0x1c2881[_0x3b28bb(0x30d)][_0x3b28bb(0x2b9)](_0x282553=>{const _0x1f24a0=_0x3b28bb;var _0xc1dba6;return!(!_0x1c2881[_0x1f24a0(0x31e)][_0x282553]||_0x51428b!=null&&(_0xc1dba6=_0x51428b[_0x1f24a0(0x318)])!=null&&(_0xc1dba6=_0xc1dba6[_0x282553])!=null&&_0xc1dba6['hidden']);});}let _0x2a6e6d=class extends _0x637d9[_0x2384c9(0x2e0)]{constructor(_0x1fe1d6,_0x13d45f,_0x30faf4,_0x3958d9,_0x13247b){const _0x3759a7=_0x2384c9;super(),this[_0x3759a7(0x313)]=_0x1fe1d6,this[_0x3759a7(0x2d2)]=_0x13d45f,this[_0x3759a7(0x1ee)]=_0x30faf4,this[_0x3759a7(0x34b)]=_0x3958d9,this['_permissionService']=_0x13247b;}['getBase'](){const _0x584146=_0x2384c9;return this[_0x584146(0x313)];}[_0x2384c9(0x23e)](){const _0x331182=_0x2384c9;return this[_0x331182(0x313)][_0x331182(0x320)]();}[_0x2384c9(0x2e1)](){const _0x5467ff=_0x2384c9;return new _0x460677(this['getId'](),this[_0x5467ff(0x34b)],this['_permissionService']);}[_0x2384c9(0x2c4)](){const _0x25badd=_0x2384c9;return this[_0x25badd(0x1ee)][_0x25badd(0x2f0)](this[_0x25badd(0x23e)]())??_0x3ceb6e[_0x25badd(0x374)][_0x25badd(0x355)](this[_0x25badd(0x313)][_0x25badd(0x386)]());}['getName'](){const _0x124db8=_0x2384c9;return this[_0x124db8(0x313)]['getSnapshot']()[_0x124db8(0x2fe)];}[_0x2384c9(0x363)](_0x2327c0){const _0x5c4c43=_0x2384c9;this[_0x5c4c43(0x34b)]['syncExecuteCommand'](_0x1486d1[_0x5c4c43(0x210)]['id'],{'unitId':this[_0x5c4c43(0x23e)](),'name':_0x2327c0});}[_0x2384c9(0x2c1)](){const _0x162f26=_0x2384c9;let _0x34fe69=this[_0x162f26(0x313)]['getSnapshot']();return _0x34fe69['tableOrder'][_0x162f26(0x219)](_0x52b0f2=>_0x34fe69[_0x162f26(0x2b2)][_0x52b0f2])['filter'](_0x44cf33=>_0x44cf33)['map'](_0x1e7a10=>this[_0x162f26(0x2d2)][_0x162f26(0x379)](_0x3ee97c,this,_0x1e7a10['id'],this['_injector']));}['getTableById'](_0x3f5482){const _0x38db01=_0x2384c9;let _0x3a1f1f=this[_0x38db01(0x313)][_0x38db01(0x386)]()[_0x38db01(0x2b2)][_0x3f5482];return _0x3a1f1f?this[_0x38db01(0x2d2)]['createInstance'](_0x3ee97c,this,_0x3a1f1f['id'],this[_0x38db01(0x2d2)]):null;}[_0x2384c9(0x336)](_0x53a8c1){const _0x187b89=_0x2384c9;let _0x10a478=this[_0x187b89(0x313)][_0x187b89(0x386)](),_0x269a91=Object[_0x187b89(0x2af)](_0x10a478[_0x187b89(0x2b2)])[_0x187b89(0x1e7)](_0x10b546=>_0x10b546[_0x187b89(0x2fe)]===_0x53a8c1);return _0x269a91?this[_0x187b89(0x2d2)][_0x187b89(0x379)](_0x3ee97c,this,_0x269a91['id'],this['_injector']):null;}[_0x2384c9(0x221)](_0x318028,_0x2a74bf){const _0x5ed38f=_0x2384c9;let _0xdc33b9=(0x0,_0x3ceb6e['createDefaultBaseTableSnapshot'])({'id':(0x0,_0x3ceb6e[_0x5ed38f(0x241)])(),'name':_0x318028,..._0x2a74bf==null?void 0x0:_0x2a74bf[_0x5ed38f(0x31f)],'primaryFieldName':_0x2a74bf==null?void 0x0:_0x2a74bf['primaryFieldName']}),_0x20c2a5=_0x3ceb6e[_0x5ed38f(0x374)][_0x5ed38f(0x373)](_0xdc33b9,(_0x2a74bf==null?void 0x0:_0x2a74bf[_0x5ed38f(0x31f)])??{}),_0x14bc4e=(0x0,_0x1486d1[_0x5ed38f(0x332)])(this['_base']['getSnapshot'](),_0x20c2a5[_0x5ed38f(0x2fe)]);if(!_0x14bc4e[_0x5ed38f(0x280)])throw Error(_0x5ed38f(0x2ec)+_0x20c2a5[_0x5ed38f(0x2fe)]+_0x5ed38f(0x34c)+_0x1486d1['BASE_TABLE_NAME_REQUIREMENTS']+'\x20'+_0x14bc4e['reason']);if(!this['_commandService'][_0x5ed38f(0x339)](_0x1486d1[_0x5ed38f(0x1f4)]['id'],{'unitId':this[_0x5ed38f(0x313)][_0x5ed38f(0x320)](),'table':_0x20c2a5,'index':_0x2a74bf==null?void 0x0:_0x2a74bf['index']}))throw Error(_0x5ed38f(0x2dd)+_0x318028+'\x22.');return this[_0x5ed38f(0x2d2)][_0x5ed38f(0x379)](_0x3ee97c,this,_0x20c2a5['id'],this[_0x5ed38f(0x2d2)]);}[_0x2384c9(0x2a0)](_0x2d5886){const _0x4195d1=_0x2384c9;let _0x1fc12f=typeof _0x2d5886=='string'?_0x2d5886:_0x2d5886[_0x4195d1(0x23e)]();if(!this['_commandService']['syncExecuteCommand'](_0x1486d1['DeleteBaseTableCommand']['id'],{'unitId':this[_0x4195d1(0x313)][_0x4195d1(0x320)](),'tableId':_0x1fc12f}))throw Error(_0x4195d1(0x283)+_0x1fc12f+'\x22.');return!0x0;}[_0x2384c9(0x35d)](_0x35254f,_0x4d4e54){const _0x49baac=_0x2384c9;let _0x2d6c62=this[_0x49baac(0x313)][_0x49baac(0x386)](),_0x57e652=typeof _0x35254f==_0x49baac(0x1c5)?_0x35254f:_0x35254f[_0x49baac(0x23e)](),_0x341dfc=_0x2d6c62[_0x49baac(0x2b2)][_0x57e652];if(!_0x341dfc)throw Error(_0x49baac(0x2c8)+_0x57e652+_0x49baac(0x1e5));let _0x16ce9a=_0x2d6c62[_0x49baac(0x375)][_0x49baac(0x350)](_0x57e652)+0x1,_0x125bd8=(0x0,_0x3ceb6e['generateRandomId'])(),_0xede0ce=(0x0,_0x1486d1['copyBaseTableSnapshot'])(_0x341dfc,{'id':_0x125bd8,'name':(0x0,_0x1486d1[_0x49baac(0x346)])(_0x2d6c62,_0x341dfc[_0x49baac(0x2fe)]+_0x49baac(0x1fd)),'includeRecords':(_0x4d4e54==null?void 0x0:_0x4d4e54[_0x49baac(0x34d)])??!0x1,'regenerateViewIds':(_0x4d4e54==null?void 0x0:_0x4d4e54[_0x49baac(0x265)])??!0x1});if(!this[_0x49baac(0x34b)][_0x49baac(0x339)](_0x1486d1[_0x49baac(0x1f4)]['id'],{'unitId':this[_0x49baac(0x313)][_0x49baac(0x320)](),'table':_0xede0ce,'index':_0x16ce9a}))throw Error('Failed\x20to\x20duplicate\x20table\x20\x22'+_0x57e652+'\x22.');return this[_0x49baac(0x2d2)][_0x49baac(0x379)](_0x3ee97c,this,_0xede0ce['id'],this[_0x49baac(0x2d2)]);}['getSchema'](){const _0x5c69e4=_0x2384c9;let _0x4ed967=this['_base']['getSnapshot']();return{'id':_0x4ed967['id'],'name':_0x4ed967['name'],'tables':this[_0x5c69e4(0x2c1)]()[_0x5c69e4(0x219)](_0x1ad28e=>_0x1ad28e[_0x5c69e4(0x243)]())};}};_0x2a6e6d=_0x4d2ec5([_0x165e89(0x1,(0x0,_0x3ceb6e['Inject'])(_0x3ceb6e[_0x2384c9(0x30a)])),_0x165e89(0x2,_0x3ceb6e['IResourceLoaderService']),_0x165e89(0x3,_0x3ceb6e[_0x2384c9(0x2ed)]),_0x165e89(0x4,_0x3ceb6e[_0x2384c9(0x27f)])],_0x2a6e6d);var _0x3eb518=class extends _0x637d9[_0x2384c9(0x36f)]{['_initialize'](){const _0x936d2c=_0x2384c9;this[_0x936d2c(0x246)](),this[_0x936d2c(0x1e9)]();}[_0x2384c9(0x37f)](_0x2325ad={},_0x52c0ac){const _0x7a96fc=_0x2384c9;let _0x500fa4=this[_0x7a96fc(0x1cf)]['createUnit'](_0x3ceb6e[_0x7a96fc(0x291)]['UNIVER_BASE'],_0x2325ad,_0x52c0ac);return this[_0x7a96fc(0x2d2)][_0x7a96fc(0x379)](_0x2a6e6d,_0x500fa4);}[_0x2384c9(0x1c6)](){const _0x133dbe=_0x2384c9;let _0x4bda2d=this[_0x133dbe(0x1cf)]['getCurrentUnitOfType'](_0x3ceb6e[_0x133dbe(0x291)][_0x133dbe(0x33f)]);return _0x4bda2d?this[_0x133dbe(0x2d2)][_0x133dbe(0x379)](_0x2a6e6d,_0x4bda2d):null;}[_0x2384c9(0x377)](_0x1c87cc){const _0x475143=_0x2384c9;let _0x54f690=this['_univerInstanceService']['getUnit'](_0x1c87cc,_0x3ceb6e[_0x475143(0x291)][_0x475143(0x33f)]);return _0x54f690?this[_0x475143(0x2d2)]['createInstance'](_0x2a6e6d,_0x54f690):null;}[_0x2384c9(0x28e)](){const _0x2968c9=_0x2384c9;return this['_univerInstanceService'][_0x2968c9(0x21f)](_0x3ceb6e[_0x2968c9(0x291)][_0x2968c9(0x33f)])[_0x2968c9(0x219)](_0x359577=>this['_injector'][_0x2968c9(0x379)](_0x2a6e6d,_0x359577));}['_initBaseAfterEvents'](){const _0x24a762=_0x2384c9;this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this[_0x24a762(0x200)][_0x24a762(0x2ee)],()=>this[_0x24a762(0x34b)][_0x24a762(0x24f)]((_0x4e2069,_0x5240b4)=>{const _0x3e5aee=_0x24a762;var _0x36353f;if(!_0x244e04(_0x4e2069,_0x1486d1[_0x3e5aee(0x233)]))return;let _0x1cdb86=_0x4e2069['params'];if(!((_0x36353f=_0x1cdb86[_0x3e5aee(0x271)])!=null&&_0x36353f['length']))return;let _0x242744=this[_0x3e5aee(0x377)](_0x1cdb86[_0x3e5aee(0x28c)]),_0xd8255=_0x242744==null?void 0x0:_0x242744[_0x3e5aee(0x259)](_0x1cdb86['hierarchyChanges'][0x0]['tableId']);if(!_0x242744||!_0xd8255)return;let _0x14b9fc={'base':_0x242744,'table':_0xd8255,'changes':_0x1cdb86['hierarchyChanges'],'source':_0x5240b4!=null&&_0x5240b4[_0x3e5aee(0x371)]?_0x1486d1['BaseEventSource'][_0x3e5aee(0x2a6)]:_0x1cdb86[_0x3e5aee(0x2a3)]??_0x1486d1[_0x3e5aee(0x2f6)]['UI']};this[_0x3e5aee(0x35e)](this[_0x3e5aee(0x200)][_0x3e5aee(0x2ee)],_0x14b9fc);}))),this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this[_0x24a762(0x200)][_0x24a762(0x1d2)],()=>this[_0x24a762(0x34b)][_0x24a762(0x24f)](_0x2eb103=>{const _0x44dc50=_0x24a762;if(_0x2eb103['id']!==_0x1486d1[_0x44dc50(0x1f4)]['id'])return;let {unitId:_0x1bfe1c,table:_0x1494e4,index:_0x47c1bb}=_0x2eb103[_0x44dc50(0x226)],_0x472914=this['getBase'](_0x1bfe1c);if(!_0x472914)return;let _0x250e2f={'base':_0x472914,'table':_0x1494e4,'index':_0x47c1bb};this[_0x44dc50(0x35e)](this[_0x44dc50(0x200)][_0x44dc50(0x1d2)],_0x250e2f);}))),this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this[_0x24a762(0x200)][_0x24a762(0x277)],()=>this['_commandService']['onCommandExecuted'](_0x2acee0=>{const _0x3d88e5=_0x24a762;if(_0x2acee0['id']!==_0x1486d1[_0x3d88e5(0x2cd)]['id'])return;let {unitId:_0x22a96b,tableId:_0x309c81,field:_0x47e68c,index:_0x321e02,viewIndexes:_0x386e0d}=_0x2acee0[_0x3d88e5(0x226)],_0x20a806=this['getBase'](_0x22a96b);if(!_0x20a806)return;let _0x53bcd3=_0x20a806['getTableById'](_0x309c81);if(!_0x53bcd3)return;let _0x38568f={'base':_0x20a806,'table':_0x53bcd3,'field':_0x47e68c,'index':_0x321e02,'viewIndexes':_0x386e0d};this['fireEvent'](this[_0x3d88e5(0x200)][_0x3d88e5(0x277)],_0x38568f);}))),this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this[_0x24a762(0x200)][_0x24a762(0x328)],()=>this[_0x24a762(0x34b)]['onCommandExecuted'](_0x5d6131=>{const _0x2c473b=_0x24a762;if(_0x5d6131['id']!==_0x1486d1[_0x2c473b(0x26e)]['id']&&_0x5d6131['id']!==_0x1486d1['BatchCreateBaseRecordsCommand']['id'])return;let _0x4ce23b=_0x5d6131['params'],{unitId:_0xdd18e0,tableId:_0x25438a}=_0x4ce23b,_0x1174c1=_0x4ce23b[_0x2c473b(0x299)]??[_0x4ce23b[_0x2c473b(0x306)]],_0x3bfda1=this[_0x2c473b(0x377)](_0xdd18e0);if(!_0x3bfda1)return;let _0x2d8a92=_0x3bfda1[_0x2c473b(0x259)](_0x25438a);if(!_0x2d8a92)return;let _0x3e90af={'base':_0x3bfda1,'table':_0x2d8a92,'records':_0x1174c1};this[_0x2c473b(0x35e)](this['Event'][_0x2c473b(0x328)],_0x3e90af);}))),this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this[_0x24a762(0x200)][_0x24a762(0x327)],()=>this[_0x24a762(0x34b)][_0x24a762(0x24f)](_0x32c330=>{const _0x283cd0=_0x24a762;if(_0x32c330['id']!==_0x1486d1['CreateBaseViewCommand']['id'])return;let {unitId:_0x165849,tableId:_0x29dcab,view:_0x240ecd,index:_0x1a4879}=_0x32c330['params'],_0x26ba4a=this[_0x283cd0(0x377)](_0x165849);if(!_0x26ba4a)return;let _0x980d2e=_0x26ba4a[_0x283cd0(0x259)](_0x29dcab);if(!_0x980d2e)return;let _0x3c5d04={'base':_0x26ba4a,'table':_0x980d2e,'view':_0x240ecd,'index':_0x1a4879};this[_0x283cd0(0x35e)](this[_0x283cd0(0x200)][_0x283cd0(0x327)],_0x3c5d04);}))),this[_0x24a762(0x35c)](this[_0x24a762(0x1dd)](this['Event'][_0x24a762(0x2bf)],()=>this[_0x24a762(0x34b)]['onCommandExecuted'](_0x32e6d3=>{const _0x119b58=_0x24a762;if(_0x32e6d3['id']!==_0x1486d1[_0x119b58(0x32d)]['id'])return;let {unitId:_0x52c6d2,tableId:_0x5484ea,recordId:_0x96be77,fieldId:_0x25cf34,value:_0x2e4296}=_0x32e6d3['params'],_0x4dab82=this[_0x119b58(0x377)](_0x52c6d2);if(!_0x4dab82)return;let _0x42e206=_0x4dab82[_0x119b58(0x259)](_0x5484ea);if(!_0x42e206)return;let _0x2e321c=_0x42e206[_0x119b58(0x2ac)](_0x25cf34);if(!_0x2e321c)return;let _0x1d99e7=_0x42e206[_0x119b58(0x22f)](_0x96be77);if(!_0x1d99e7)return;let _0x36426a={'base':_0x4dab82,'table':_0x42e206,'field':_0x2e321c,'record':_0x1d99e7,'value':_0x2e4296};this['fireEvent'](this[_0x119b58(0x200)][_0x119b58(0x2bf)],_0x36426a);})));}[_0x2384c9(0x246)](){const _0x29d3c4=_0x2384c9;this[_0x29d3c4(0x35c)](this[_0x29d3c4(0x1dd)](this[_0x29d3c4(0x200)]['BeforeBaseHierarchyChange'],()=>this[_0x29d3c4(0x34b)][_0x29d3c4(0x2f5)](_0x12d0fe=>{const _0x304bc0=_0x29d3c4;if(_0x244e04(_0x12d0fe,_0x1486d1[_0x304bc0(0x2f4)])){let {unitId:_0x5f1cdd,tableId:_0x3fccae,patches:_0x246bdd,source:_0xf19be6=_0x1486d1[_0x304bc0(0x2f6)]['UI']}=_0x12d0fe[_0x304bc0(0x226)],_0x5b6d1e=this[_0x304bc0(0x288)](_0x5f1cdd,_0x3fccae);if(!_0x5b6d1e)return;this['_fireBeforeHierarchyChange'](_0x5b6d1e[_0x304bc0(0x321)],_0x5b6d1e[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x2fc)])(_0x5b6d1e[_0x304bc0(0x31f)][_0x304bc0(0x1ed)](),_0x246bdd),_0xf19be6);return;}if(_0x244e04(_0x12d0fe,_0x1486d1[_0x304bc0(0x21d)])){let {unitId:_0x45f42b,tableId:_0x487e8e,patches:_0x34ea7f,source:_0x3bc05d=_0x1486d1[_0x304bc0(0x2f6)]['UI']}=_0x12d0fe[_0x304bc0(0x226)],_0x2f2cbd=this[_0x304bc0(0x288)](_0x45f42b,_0x487e8e);if(!_0x2f2cbd)return;let _0x31d0f1=_0x2f2cbd['table'][_0x304bc0(0x1ed)]();this[_0x304bc0(0x317)](_0x2f2cbd[_0x304bc0(0x321)],_0x2f2cbd[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x2fc)])(_0x31d0f1,(0x0,_0x1486d1['resolveBaseRangeHierarchyPatches'])(_0x31d0f1,_0x34ea7f)),_0x3bc05d);return;}if(_0x244e04(_0x12d0fe,_0x1486d1[_0x304bc0(0x26e)])){let _0x107ce4=_0x12d0fe['params'],_0x192026=this[_0x304bc0(0x288)](_0x107ce4[_0x304bc0(0x28c)],_0x107ce4[_0x304bc0(0x208)]);if(!_0x192026)return;this[_0x304bc0(0x317)](_0x192026[_0x304bc0(0x321)],_0x192026[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x366)])(_0x192026[_0x304bc0(0x31f)][_0x304bc0(0x1ed)](),[_0x107ce4[_0x304bc0(0x306)]]),_0x107ce4[_0x304bc0(0x2a3)]??_0x1486d1[_0x304bc0(0x2f6)]['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1[_0x304bc0(0x372)])){let _0x4d3194=_0x12d0fe[_0x304bc0(0x226)],_0x27fff7=this[_0x304bc0(0x288)](_0x4d3194[_0x304bc0(0x28c)],_0x4d3194['tableId']);if(!_0x27fff7)return;this[_0x304bc0(0x317)](_0x27fff7['base'],_0x27fff7[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x366)])(_0x27fff7[_0x304bc0(0x31f)][_0x304bc0(0x1ed)](),_0x4d3194['records']),_0x4d3194[_0x304bc0(0x2a3)]??_0x1486d1['BaseEventSource']['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1['DuplicateBaseRecordCommand'])){let _0x2a42ec=_0x12d0fe['params'],_0x531e13=this[_0x304bc0(0x288)](_0x2a42ec[_0x304bc0(0x28c)],_0x2a42ec[_0x304bc0(0x208)]);if(!_0x531e13)return;this[_0x304bc0(0x317)](_0x531e13[_0x304bc0(0x321)],_0x531e13[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x366)])(_0x531e13[_0x304bc0(0x31f)]['getTable'](),[_0x2a42ec[_0x304bc0(0x306)]]),_0x2a42ec[_0x304bc0(0x2a3)]??_0x1486d1['BaseEventSource']['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1[_0x304bc0(0x28d)])){let _0x466e76=_0x12d0fe[_0x304bc0(0x226)],_0x5b8625=this[_0x304bc0(0x288)](_0x466e76[_0x304bc0(0x28c)],_0x466e76['tableId']);if(!_0x5b8625)return;let _0x1d590a=_0x5b8625[_0x304bc0(0x31f)][_0x304bc0(0x1ed)](),_0x2df2e2=_0x466e76[_0x304bc0(0x22b)]??(0x0,_0x1486d1['resolveBaseHierarchyFieldId'])(_0x1d590a),_0x54e78b=(0x0,_0x1486d1[_0x304bc0(0x22c)])(_0x1d590a,_0x2df2e2)['parentByRecordId'][_0x304bc0(0x234)](_0x466e76[_0x304bc0(0x262)])??null;this[_0x304bc0(0x317)](_0x5b8625[_0x304bc0(0x321)],_0x5b8625['table'],[{'tableId':_0x466e76[_0x304bc0(0x208)],'fieldId':_0x2df2e2,'recordId':_0x466e76['recordId'],'oldParentRecordId':_0x54e78b,'parentRecordId':_0x466e76[_0x304bc0(0x25d)]}],_0x466e76[_0x304bc0(0x2a3)]??_0x1486d1[_0x304bc0(0x2f6)]['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1['CreateBaseChildRecordCommand'])){let _0x38667a=_0x12d0fe['params'],_0x770fdf=this[_0x304bc0(0x288)](_0x38667a['unitId'],_0x38667a[_0x304bc0(0x208)]);if(!_0x770fdf)return;let _0x19003e=_0x38667a[_0x304bc0(0x22b)]??(0x0,_0x1486d1[_0x304bc0(0x2f2)])(_0x770fdf[_0x304bc0(0x31f)][_0x304bc0(0x1ed)]());this[_0x304bc0(0x317)](_0x770fdf['base'],_0x770fdf[_0x304bc0(0x31f)],[{'tableId':_0x38667a[_0x304bc0(0x208)],'fieldId':_0x19003e,'recordId':_0x38667a['record']['id'],'oldParentRecordId':null,'parentRecordId':_0x38667a[_0x304bc0(0x25d)]}],_0x38667a[_0x304bc0(0x2a3)]??_0x1486d1['BaseEventSource']['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1['DeleteBaseRecordCommand'])){let _0x58908b=_0x12d0fe[_0x304bc0(0x226)],_0x283696=this[_0x304bc0(0x288)](_0x58908b[_0x304bc0(0x28c)],_0x58908b[_0x304bc0(0x208)]);if(!_0x283696)return;this[_0x304bc0(0x317)](_0x283696[_0x304bc0(0x321)],_0x283696[_0x304bc0(0x31f)],(0x0,_0x1486d1['getBaseHierarchyDeletePromotions'])(_0x283696[_0x304bc0(0x31f)]['getTable'](),[_0x58908b[_0x304bc0(0x262)]]),_0x58908b[_0x304bc0(0x2a3)]??_0x1486d1[_0x304bc0(0x2f6)]['UI']);return;}if(_0x244e04(_0x12d0fe,_0x1486d1['BatchDeleteBaseRecordsCommand'])){let _0x18076c=_0x12d0fe[_0x304bc0(0x226)],_0x1a9524=this['_getHierarchyEventContext'](_0x18076c[_0x304bc0(0x28c)],_0x18076c[_0x304bc0(0x208)]);if(!_0x1a9524)return;this['_fireBeforeHierarchyChange'](_0x1a9524[_0x304bc0(0x321)],_0x1a9524[_0x304bc0(0x31f)],(0x0,_0x1486d1[_0x304bc0(0x358)])(_0x1a9524['table'][_0x304bc0(0x1ed)](),_0x18076c['recordIds']),_0x18076c['source']??_0x1486d1['BaseEventSource']['UI']);return;}if(!_0x244e04(_0x12d0fe,_0x1486d1['UpdateBaseCellCommand']))return;let _0x2b1eb0=_0x12d0fe[_0x304bc0(0x226)],_0xfc0129=this[_0x304bc0(0x288)](_0x2b1eb0[_0x304bc0(0x28c)],_0x2b1eb0[_0x304bc0(0x208)]);if(!_0xfc0129)return;let _0x1d19ca=_0xfc0129['table']['getTable']();if(!(0x0,_0x1486d1[_0x304bc0(0x251)])(_0x1d19ca)[_0x304bc0(0x2c9)](_0x2b1eb0[_0x304bc0(0x22b)]))return;let _0x3d3fbf=(0x0,_0x1486d1[_0x304bc0(0x22c)])(_0x1d19ca,_0x2b1eb0['fieldId'])[_0x304bc0(0x1da)][_0x304bc0(0x234)](_0x2b1eb0[_0x304bc0(0x262)])??null,_0x4313ac=(0x0,_0x1486d1[_0x304bc0(0x2f3)])(_0x2b1eb0[_0x304bc0(0x1f9)])[0x0]??null;_0x3d3fbf!==_0x4313ac&&this[_0x304bc0(0x317)](_0xfc0129[_0x304bc0(0x321)],_0xfc0129[_0x304bc0(0x31f)],[{'tableId':_0x2b1eb0['tableId'],'fieldId':_0x2b1eb0[_0x304bc0(0x22b)],'recordId':_0x2b1eb0['recordId'],'oldParentRecordId':_0x3d3fbf,'parentRecordId':_0x4313ac}],_0x2b1eb0[_0x304bc0(0x2a3)]??_0x1486d1[_0x304bc0(0x2f6)]['UI']);}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x29d3c4(0x200)][_0x29d3c4(0x36a)],()=>this['_commandService']['beforeCommandExecuted'](_0x2ccfe6=>{const _0x4c6f97=_0x29d3c4;if(_0x2ccfe6['id']!==_0x1486d1['CreateBaseTableCommand']['id'])return;let {unitId:_0x3db19c,table:_0x3720f6,index:_0xf92b01}=_0x2ccfe6[_0x4c6f97(0x226)],_0x2926b0=this[_0x4c6f97(0x377)](_0x3db19c);if(!_0x2926b0)return;let _0x4c3e7e={'base':_0x2926b0,'table':_0x3720f6,'index':_0xf92b01};if(this[_0x4c6f97(0x35e)](this[_0x4c6f97(0x200)]['BeforeBaseTableCreate'],_0x4c3e7e),_0x4c3e7e[_0x4c6f97(0x212)])throw new _0x3ceb6e[(_0x4c6f97(0x297))]();}))),this[_0x29d3c4(0x35c)](this['registerEventHandler'](this['Event'][_0x29d3c4(0x35b)],()=>this[_0x29d3c4(0x34b)][_0x29d3c4(0x2f5)](_0x4a6a54=>{const _0x5efd94=_0x29d3c4;if(_0x4a6a54['id']!==_0x1486d1[_0x5efd94(0x2cd)]['id'])return;let {unitId:_0x41b14f,tableId:_0x1c7b0b,field:_0x3c7a61,index:_0x154628,viewIndexes:_0x5e23e5}=_0x4a6a54[_0x5efd94(0x226)],_0x3edccb=this[_0x5efd94(0x377)](_0x41b14f);if(!_0x3edccb)return;let _0x15911f=_0x3edccb['getTableById'](_0x1c7b0b);if(!_0x15911f)return;let _0x2c6bd2={'base':_0x3edccb,'table':_0x15911f,'field':_0x3c7a61,'index':_0x154628,'viewIndexes':_0x5e23e5};if(this[_0x5efd94(0x35e)](this[_0x5efd94(0x200)]['BeforeBaseTableFieldCreate'],_0x2c6bd2),_0x2c6bd2[_0x5efd94(0x212)])throw new _0x3ceb6e['CanceledError']();}))),this[_0x29d3c4(0x35c)](this['registerEventHandler'](this[_0x29d3c4(0x200)][_0x29d3c4(0x267)],()=>this['_commandService'][_0x29d3c4(0x2f5)](_0x264706=>{const _0x9a2573=_0x29d3c4;if(_0x264706['id']!==_0x1486d1[_0x9a2573(0x26e)]['id']&&_0x264706['id']!==_0x1486d1[_0x9a2573(0x372)]['id'])return;let _0x3d7adc=_0x264706[_0x9a2573(0x226)],{unitId:_0x3e8c06,tableId:_0x3bb90b}=_0x3d7adc,_0x354802=_0x3d7adc[_0x9a2573(0x299)]??[_0x3d7adc['record']],_0x346a35=this[_0x9a2573(0x377)](_0x3e8c06);if(!_0x346a35)return;let _0x2cbdd5=_0x346a35[_0x9a2573(0x259)](_0x3bb90b);if(!_0x2cbdd5)return;let _0x360dad={'base':_0x346a35,'table':_0x2cbdd5,'records':_0x354802};if(this['fireEvent'](this[_0x9a2573(0x200)]['BeforeBaseTableRecordCreate'],_0x360dad),_0x360dad['cancel'])throw new _0x3ceb6e[(_0x9a2573(0x297))]();}))),this[_0x29d3c4(0x35c)](this['registerEventHandler'](this[_0x29d3c4(0x200)][_0x29d3c4(0x310)],()=>this[_0x29d3c4(0x34b)][_0x29d3c4(0x2f5)](_0x445059=>{const _0x2e61e3=_0x29d3c4;if(_0x445059['id']!==_0x1486d1['CreateBaseViewCommand']['id'])return;let {unitId:_0x5153ad,tableId:_0x37c299,view:_0x360ab8,index:_0x2ffe89}=_0x445059[_0x2e61e3(0x226)],_0x4c20e3=this[_0x2e61e3(0x377)](_0x5153ad);if(!_0x4c20e3)return;let _0x812859=_0x4c20e3[_0x2e61e3(0x259)](_0x37c299);if(!_0x812859)return;let _0x5c102b={'base':_0x4c20e3,'table':_0x812859,'view':_0x360ab8,'index':_0x2ffe89};if(this[_0x2e61e3(0x35e)](this[_0x2e61e3(0x200)][_0x2e61e3(0x310)],_0x5c102b),_0x5c102b[_0x2e61e3(0x212)])throw new _0x3ceb6e['CanceledError']();}))),this[_0x29d3c4(0x35c)](this[_0x29d3c4(0x1dd)](this[_0x29d3c4(0x200)]['BeforeBaseTableCellValueChange'],()=>this['_commandService'][_0x29d3c4(0x2f5)](_0x3f37b0=>{const _0x5bd157=_0x29d3c4;if(_0x3f37b0['id']!==_0x1486d1['UpdateBaseCellCommand']['id'])return;let {unitId:_0x4eb3db,tableId:_0x15bc2b,recordId:_0x47c585,fieldId:_0x5278ab,value:_0x421ec1}=_0x3f37b0[_0x5bd157(0x226)],_0x5eee85=this[_0x5bd157(0x377)](_0x4eb3db);if(!_0x5eee85)return;let _0x482596=_0x5eee85['getTableById'](_0x15bc2b);if(!_0x482596)return;let _0x12f5c9=_0x482596[_0x5bd157(0x2ac)](_0x5278ab);if(!_0x12f5c9)return;let _0x12d15e=_0x482596[_0x5bd157(0x22f)](_0x47c585);if(!_0x12d15e)return;let _0x2fd75d={'base':_0x5eee85,'table':_0x482596,'field':_0x12f5c9,'record':_0x12d15e,'value':_0x421ec1};if(this[_0x5bd157(0x35e)](this[_0x5bd157(0x200)]['BeforeBaseTableCellValueChange'],_0x2fd75d),_0x2fd75d[_0x5bd157(0x212)])throw new _0x3ceb6e[(_0x5bd157(0x297))]();})));}[_0x2384c9(0x288)](_0x41566f,_0x997ce4){const _0x4c0785=_0x2384c9;let _0x156be6=this['getBase'](_0x41566f),_0x15f86d=_0x156be6==null?void 0x0:_0x156be6[_0x4c0785(0x259)](_0x997ce4);return _0x156be6&&_0x15f86d?{'base':_0x156be6,'table':_0x15f86d}:null;}[_0x2384c9(0x317)](_0x17f6fb,_0x5d880c,_0x1ee472,_0x1d8983){const _0x4bf608=_0x2384c9;if(!_0x1ee472[_0x4bf608(0x1cc)])return;let _0x548fad={'base':_0x17f6fb,'table':_0x5d880c,'changes':_0x1ee472,'source':_0x1d8983};if(this['fireEvent'](this[_0x4bf608(0x200)]['BeforeBaseHierarchyChange'],_0x548fad),_0x548fad[_0x4bf608(0x212)])throw new _0x3ceb6e['CanceledError']();}};function _0x244e04(_0x368cce,_0xc79729){const _0x77e075=_0x2384c9;return _0x368cce['id']===_0xc79729['id']&&_0x368cce[_0x77e075(0x226)]!==void 0x0;}_0x637d9['FUniver'][_0x2384c9(0x1de)](_0x3eb518);var _0xb61d30=class extends _0x637d9[_0x2384c9(0x2b7)]{get[_0x2384c9(0x33c)](){const _0x2cde0f=_0x2384c9;return _0x3ceb6e[_0x2cde0f(0x33c)];}get['BaseFilterConjunction'](){const _0x101571=_0x2384c9;return _0x3ceb6e[_0x101571(0x2d8)];}get[_0x2384c9(0x2d4)](){const _0x370c15=_0x2384c9;return _0x3ceb6e[_0x370c15(0x2d4)];}get['BaseFieldKeyEnum'](){return _0x3241af;}get['BaseViewType'](){return _0x3ceb6e['BaseViewType'];}get[_0x2384c9(0x1e1)](){const _0x1af8ac=_0x2384c9;return _0x3ceb6e[_0x1af8ac(0x1e1)];}get[_0x2384c9(0x1f5)](){return _0x3ceb6e['BaseConditionalColorOperator'];}get[_0x2384c9(0x2ca)](){const _0x34030a=_0x2384c9;return _0x3ceb6e[_0x34030a(0x2ca)];}get['BaseSortDirection'](){return _0x3ceb6e['BaseSortDirection'];}get[_0x2384c9(0x2f6)](){const _0x5e17dd=_0x2384c9;return _0x1486d1[_0x5e17dd(0x2f6)];}get['BaseHierarchyErrorCode'](){const _0x240282=_0x2384c9;return _0x1486d1[_0x240282(0x2ce)];}get[_0x2384c9(0x2cf)](){const _0x2d4cc8=_0x2384c9;return _0x3ceb6e[_0x2d4cc8(0x2cf)];}get[_0x2384c9(0x1e6)](){const _0x26e9ec=_0x2384c9;return _0x3ceb6e[_0x26e9ec(0x1e6)];}};_0x637d9[_0x2384c9(0x2b7)][_0x2384c9(0x1de)](_0xb61d30);var _0x3801e6=class extends _0x637d9[_0x2384c9(0x33a)]{get[_0x2384c9(0x1d2)](){const _0x37d4b8=_0x2384c9;return _0x37d4b8(0x1d2);}get[_0x2384c9(0x36a)](){const _0x37bc26=_0x2384c9;return _0x37bc26(0x36a);}get[_0x2384c9(0x277)](){const _0xb2ca0d=_0x2384c9;return _0xb2ca0d(0x277);}get[_0x2384c9(0x35b)](){const _0x52e5a6=_0x2384c9;return _0x52e5a6(0x35b);}get[_0x2384c9(0x328)](){const _0x44155b=_0x2384c9;return _0x44155b(0x328);}get[_0x2384c9(0x267)](){const _0x129b72=_0x2384c9;return _0x129b72(0x267);}get[_0x2384c9(0x327)](){const _0x178559=_0x2384c9;return _0x178559(0x327);}get[_0x2384c9(0x310)](){const _0x138135=_0x2384c9;return _0x138135(0x310);}get[_0x2384c9(0x2bf)](){const _0x29e6f2=_0x2384c9;return _0x29e6f2(0x2bf);}get[_0x2384c9(0x26c)](){const _0x16f8e0=_0x2384c9;return _0x16f8e0(0x26c);}get[_0x2384c9(0x2ee)](){return'BaseHierarchyChanged';}get['BeforeBaseHierarchyChange'](){const _0x5c7a18=_0x2384c9;return _0x5c7a18(0x257);}};_0x637d9['FEventName'][_0x2384c9(0x1de)](_0x3801e6),_0x21d9b0[_0x2384c9(0x2eb)]=_0x3241af,Object[_0x2384c9(0x2e7)](_0x21d9b0,_0x2384c9(0x2e0),{'enumerable':!0x0,'get':function(){return _0x2a6e6d;}}),_0x21d9b0[_0x2384c9(0x249)]=_0x2b2724,_0x21d9b0[_0x2384c9(0x23d)]=_0x460677,Object[_0x2384c9(0x2e7)](_0x21d9b0,_0x2384c9(0x388),{'enumerable':!0x0,'get':function(){return _0x3ee97c;}}),Object['defineProperty'](_0x21d9b0,_0x2384c9(0x2ba),{'enumerable':!0x0,'get':function(){return _0x47bbbc;}}),Object[_0x2384c9(0x2e7)](_0x21d9b0,'FBaseTableRange',{'enumerable':!0x0,'get':function(){return _0x151c2a;}}),Object[_0x2384c9(0x2e7)](_0x21d9b0,_0x2384c9(0x1dc),{'enumerable':!0x0,'get':function(){return _0x109580;}}),Object['defineProperty'](_0x21d9b0,'FBaseTableView',{'enumerable':!0x0,'get':function(){return _0x39bc1a;}}),_0x21d9b0[_0x2384c9(0x35a)]=_0x3801e6,_0x21d9b0[_0x2384c9(0x387)]=_0x5b32a9,_0x21d9b0[_0x2384c9(0x29b)]=_0x36bcd6;}));
|