@univerjs-pro/bases 1.0.0-alpha.1 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- 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/types/commands/commands/set-base-view-filter.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-group.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-sort.command.d.ts +2 -2
- package/lib/types/commands/utils/base-validation.d.ts +6 -0
- package/lib/types/config/config.d.ts +11 -0
- package/lib/types/controllers/base-active-dirty.controller.d.ts +5 -6
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +8 -14
- package/lib/types/embed-host-anchor.d.ts +46 -0
- package/lib/types/facade/f-base.d.ts +126 -577
- package/lib/types/facade/f-enum.d.ts +117 -89
- package/lib/types/facade/f-event.d.ts +255 -132
- package/lib/types/facade/f-field.d.ts +137 -313
- package/lib/types/facade/f-range.d.ts +86 -326
- package/lib/types/facade/f-record.d.ts +93 -216
- package/lib/types/facade/f-table.d.ts +473 -1317
- package/lib/types/facade/f-types.d.ts +1 -0
- package/lib/types/facade/f-univer.d.ts +27 -154
- package/lib/types/facade/f-view.d.ts +207 -484
- package/lib/types/facade/field-key.d.ts +6 -6
- package/lib/types/facade/index.d.ts +11 -14
- package/lib/types/fields/field-core-plugin.d.ts +9 -8
- package/lib/types/index.d.ts +17 -47
- package/lib/types/models/base-cell-data.d.ts +6 -6
- package/lib/types/models/default-table.d.ts +13 -0
- package/lib/types/ot/json1-adapter.d.ts +3 -3
- package/lib/types/ot/json1-invalidation.d.ts +2 -2
- package/lib/types/ot/json1-op-applier.d.ts +2 -2
- package/lib/types/ot/json1-op-factory.d.ts +9 -8
- package/lib/types/plugin.d.ts +6 -4
- package/lib/types/search/base-search.d.ts +4 -3
- package/lib/types/services/base-active-dirty.service.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +16 -16
- package/lib/types/services/base-compression.service.d.ts +3 -3
- package/lib/types/services/base-field-registry.service.d.ts +5 -5
- package/lib/types/services/base-formula.service.d.ts +11 -20
- package/lib/types/services/base-view-registry.service.d.ts +3 -3
- package/lib/types/views/view-core-plugin.d.ts +4 -3
- 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 +7 -8
- package/lib/types/controllers/base-remote-formula.controller.d.ts +0 -13
- package/lib/types/facade/f-error.d.ts +0 -30
- package/lib/types/facade/f-permission.d.ts +0 -749
- package/lib/types/facade/transaction.d.ts +0 -19
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { BaseViewProjection, ITableSnapshot,
|
|
1
|
+
import type { BaseViewProjection, ITableSnapshot, IValidationResult, IViewSnapshot, ViewSpecificConfig } from '@univerjs/core';
|
|
2
|
+
import { BaseViewType } from '@univerjs/core';
|
|
2
3
|
export interface IProjectionContext {
|
|
3
4
|
now: number;
|
|
4
5
|
}
|
|
@@ -7,10 +8,10 @@ export interface IViewRepairResult {
|
|
|
7
8
|
view: IViewSnapshot;
|
|
8
9
|
}
|
|
9
10
|
export interface IViewCorePlugin<TConfig extends ViewSpecificConfig = ViewSpecificConfig> {
|
|
10
|
-
type:
|
|
11
|
+
type: BaseViewType;
|
|
11
12
|
i18nKey: string;
|
|
12
13
|
createDefaultConfig(table: ITableSnapshot): TConfig;
|
|
13
|
-
validateConfig(table: ITableSnapshot, view: IViewSnapshot<TConfig>):
|
|
14
|
+
validateConfig(table: ITableSnapshot, view: IViewSnapshot<TConfig>): IValidationResult;
|
|
14
15
|
buildProjection(table: ITableSnapshot, view: IViewSnapshot<TConfig>, context: IProjectionContext): BaseViewProjection;
|
|
15
16
|
repairConfig?(table: ITableSnapshot, view: IViewSnapshot<TConfig>): IViewRepairResult;
|
|
16
17
|
}
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x421c2c,_0x491297){const _0x1dba0a=_0x5c97,_0x5eb29a=_0x421c2c();while(!![]){try{const _0x351641=parseInt(_0x1dba0a(0x2d1))/0x1*(-parseInt(_0x1dba0a(0x253))/0x2)+parseInt(_0x1dba0a(0x2d7))/0x3*(parseInt(_0x1dba0a(0x129))/0x4)+-parseInt(_0x1dba0a(0x2a0))/0x5+-parseInt(_0x1dba0a(0x133))/0x6+parseInt(_0x1dba0a(0x2c4))/0x7+-parseInt(_0x1dba0a(0x1b2))/0x8*(parseInt(_0x1dba0a(0x298))/0x9)+parseInt(_0x1dba0a(0x2c2))/0xa;if(_0x351641===_0x491297)break;else _0x5eb29a['push'](_0x5eb29a['shift']());}catch(_0x214bd3){_0x5eb29a['push'](_0x5eb29a['shift']());}}}(_0x8d8f,0x53db3),function(_0x3956c9,_0x578b97){const _0x3c5d1f=_0x5c97;typeof exports=='object'&&typeof module<'u'?_0x578b97(exports,require('@univerjs/core/facade'),require('@univerjs-pro/bases'),require('@univerjs/core')):typeof define=='function'&&define[_0x3c5d1f(0x259)]?define([_0x3c5d1f(0x24c),_0x3c5d1f(0x1d8),_0x3c5d1f(0x25b),'@univerjs/core'],_0x578b97):(_0x3956c9=typeof globalThis<'u'?globalThis:_0x3956c9||self,_0x578b97(_0x3956c9['UniverProBasesFacade']={},_0x3956c9['UniverCoreFacade'],_0x3956c9[_0x3c5d1f(0x17f)],_0x3956c9[_0x3c5d1f(0x159)]));}(this,function(_0x3bb38e,_0x5c95aa,_0x3877f6,_0x5bbd72){const _0x3f2a15=_0x5c97;Object[_0x3f2a15(0x2d8)](_0x3bb38e,Symbol[_0x3f2a15(0x1f0)],{'value':_0x3f2a15(0x29e)});let _0x548e92={'Text':_0x3f2a15(0x21b),'SingleSelect':'singleSelect','MultiSelect':'multiSelect','Person':'person','Group':_0x3f2a15(0x2bd),'Date':_0x3f2a15(0x202),'Attachment':_0x3f2a15(0x119),'Number':_0x3f2a15(0x270),'Checkbox':_0x3f2a15(0x227),'Link':_0x3f2a15(0x291),'Formula':_0x3f2a15(0x242),'Lookup':'lookup','Flow':_0x3f2a15(0x215),'Button':_0x3f2a15(0x17a),'Numbering':_0x3f2a15(0x258),'Phone':'phone','Email':_0x3f2a15(0x219),'Location':'location','Barcode':_0x3f2a15(0x201),'Progress':_0x3f2a15(0x162),'Currency':_0x3f2a15(0x174),'Rating':_0x3f2a15(0x169),'TwoWayLink':_0x3f2a15(0x280),'RecordId':_0x3f2a15(0x1c5),'CreatedBy':_0x3f2a15(0x12c),'UpdatedBy':_0x3f2a15(0x15d),'CreatedAt':_0x3f2a15(0x18f),'UpdatedAt':_0x3f2a15(0x18a),'Summary':'summary'},_0x55bc09={'Grid':_0x3f2a15(0x230),'Kanban':_0x3f2a15(0x21e),'Calendar':'calendar','Gantt':'gantt','Gallery':_0x3f2a15(0x287)},_0xe4d355={'Is':'is','IsNot':'isNot','Contains':_0x3f2a15(0x1ef),'DoesNotContain':_0x3f2a15(0x2a4),'IsEmpty':_0x3f2a15(0x178),'IsNotEmpty':'isNotEmpty','GreaterThan':_0x3f2a15(0x15b),'GreaterThanOrEqual':_0x3f2a15(0x2dc),'LessThan':_0x3f2a15(0x14f),'LessThanOrEqual':'lessThanOrEqual','Matches':_0x3f2a15(0x2b9),'NotMatches':_0x3f2a15(0x28d)},_0x4ab1ca={'Asc':_0x3f2a15(0x27e),'Desc':_0x3f2a15(0x22b)},_0x677fd5={'Id':'id','Name':_0x3f2a15(0x13c),'Auto':_0x3f2a15(0x181)},_0x105fc0={'Immediate':'immediate','Coalesce':_0x3f2a15(0x297),'Silent':_0x3f2a15(0x2c1)},_0x139f1a={'Single':_0x3f2a15(0x1d4),'None':_0x3f2a15(0x1b8)},_0x5bc28c={'CommandFailed':_0x3f2a15(0x27c),'FieldNotFound':'FieldNotFound','DuplicateFieldName':_0x3f2a15(0x16e),'TableNotFound':_0x3f2a15(0x25e),'ViewNotFound':_0x3f2a15(0x1e7),'RecordNotFound':_0x3f2a15(0x2ba),'InvalidFilter':'InvalidFilter','InvalidOperation':_0x3f2a15(0x166),'BatchAlreadyRunning':_0x3f2a15(0x1f4),'BatchFailed':'BatchFailed'};var _0x40ba29=class extends _0x5c95aa[_0x3f2a15(0x157)]{get[_0x3f2a15(0x139)](){return _0x548e92;}get[_0x3f2a15(0x254)](){return _0x55bc09;}get[_0x3f2a15(0x225)](){return _0xe4d355;}get[_0x3f2a15(0x23f)](){return _0x4ab1ca;}get['BaseFieldKeyEnum'](){return _0x677fd5;}get[_0x3f2a15(0x198)](){return _0x105fc0;}get[_0x3f2a15(0x21c)](){return _0x139f1a;}get[_0x3f2a15(0x196)](){return _0x5bc28c;}};_0x5c95aa[_0x3f2a15(0x157)]['extend'](_0x40ba29);function _0x33caee(_0x1518df){'@babel/helpers - typeof';const _0x188485=_0x3f2a15;return _0x33caee=typeof Symbol==_0x188485(0x293)&&typeof Symbol[_0x188485(0x235)]=='symbol'?function(_0x47a17d){return typeof _0x47a17d;}:function(_0x229f2d){const _0xae6ee9=_0x188485;return _0x229f2d&&typeof Symbol==_0xae6ee9(0x293)&&_0x229f2d['constructor']===Symbol&&_0x229f2d!==Symbol[_0xae6ee9(0x266)]?_0xae6ee9(0x1b5):typeof _0x229f2d;},_0x33caee(_0x1518df);}function _0xce4bb7(_0x3764db,_0x2fd4ad){const _0xe56729=_0x3f2a15;if(_0x33caee(_0x3764db)!=_0xe56729(0x2cb)||!_0x3764db)return _0x3764db;var _0x48b50c=_0x3764db[Symbol[_0xe56729(0x1bd)]];if(_0x48b50c!==void 0x0){var _0x59eb69=_0x48b50c[_0xe56729(0x1fd)](_0x3764db,_0x2fd4ad||_0xe56729(0x17b));if(_0x33caee(_0x59eb69)!='object')return _0x59eb69;throw TypeError(_0xe56729(0x1c4));}return(_0x2fd4ad===_0xe56729(0x15f)?String:Number)(_0x3764db);}function _0x14ad4e(_0x290209){const _0x58b412=_0x3f2a15;var _0x396659=_0xce4bb7(_0x290209,_0x58b412(0x15f));return _0x33caee(_0x396659)==_0x58b412(0x1b5)?_0x396659:_0x396659+'';}function _0x135c8d(_0x459aed,_0x21a5a9,_0x2e482a){return(_0x21a5a9=_0x14ad4e(_0x21a5a9))in _0x459aed?Object['defineProperty'](_0x459aed,_0x21a5a9,{'value':_0x2e482a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x459aed[_0x21a5a9]=_0x2e482a,_0x459aed;}let _0x4133cf=_0x5bc28c;var _0x5df432=class extends Error{constructor(_0x5894a2,_0x2d8a81,_0x4922cf={}){const _0x51ae45=_0x3f2a15;super(_0x2d8a81),this['code']=_0x5894a2,this[_0x51ae45(0x192)]=_0x4922cf,_0x135c8d(this,_0x51ae45(0x13c),_0x51ae45(0x1fc));}};function _0xc966c4(_0x866da0){return _0x866da0 instanceof _0x5df432;}function _0x1d2078(_0x45be88,_0x30ae60,_0x12b231={}){const _0x15d7b5=_0x3f2a15;if(!_0x30ae60)throw new _0x5df432(_0x4133cf[_0x15d7b5(0x27c)],_0x15d7b5(0x1a7)+_0x45be88,{..._0x12b231,'commandId':_0x45be88});}let _0x122ed5={'BaseCreating':_0x3f2a15(0x203),'BaseCreated':_0x3f2a15(0x120),'BaseReady':_0x3f2a15(0x1b3),'BeforeBaseTableCreate':_0x3f2a15(0x236),'BeforeBaseFieldCreate':_0x3f2a15(0x1ff),'BeforeBaseRecordCreate':_0x3f2a15(0x22d),'BeforeBaseCellValueChange':'BeforeBaseCellValueChange','BeforeBaseViewCreate':'BeforeBaseViewCreate','BaseTableChanged':_0x3f2a15(0x134),'BaseFieldChanged':_0x3f2a15(0x1d5),'BaseRecordChanged':_0x3f2a15(0x1a2),'BaseCellValueChanged':_0x3f2a15(0x1ad),'BaseViewChanged':_0x3f2a15(0x25d),'BaseBatchChanged':_0x3f2a15(0x25f),'TableChanged':_0x3f2a15(0x2c8),'FieldChanged':_0x3f2a15(0x2b4),'RecordChanged':_0x3f2a15(0x23c),'CellValueChanged':_0x3f2a15(0x23a),'ViewChanged':'ViewChanged'};var _0xea399a=class extends _0x5c95aa['FEventName']{get[_0x3f2a15(0x203)](){return'BaseCreating';}get['BaseCreated'](){const _0x50ea5e=_0x3f2a15;return _0x50ea5e(0x120);}get[_0x3f2a15(0x1b3)](){const _0x169907=_0x3f2a15;return _0x169907(0x1b3);}get[_0x3f2a15(0x236)](){return'BeforeBaseTableCreate';}get[_0x3f2a15(0x1ff)](){return'BeforeBaseFieldCreate';}get[_0x3f2a15(0x22d)](){const _0x19b760=_0x3f2a15;return _0x19b760(0x22d);}get[_0x3f2a15(0x268)](){const _0x493447=_0x3f2a15;return _0x493447(0x268);}get['BeforeBaseViewCreate'](){const _0x543800=_0x3f2a15;return _0x543800(0x149);}get[_0x3f2a15(0x134)](){const _0xccd6f7=_0x3f2a15;return _0xccd6f7(0x134);}get[_0x3f2a15(0x1d5)](){return'BaseFieldChanged';}get[_0x3f2a15(0x1a2)](){const _0x2f4f44=_0x3f2a15;return _0x2f4f44(0x1a2);}get['BaseCellValueChanged'](){const _0x3054e7=_0x3f2a15;return _0x3054e7(0x1ad);}get[_0x3f2a15(0x25d)](){const _0x53607e=_0x3f2a15;return _0x53607e(0x25d);}get['BaseBatchChanged'](){const _0x391a9f=_0x3f2a15;return _0x391a9f(0x25f);}get['TableChanged'](){const _0x4a3161=_0x3f2a15;return _0x4a3161(0x2c8);}get[_0x3f2a15(0x2b4)](){const _0x55711a=_0x3f2a15;return _0x55711a(0x2b4);}get['RecordChanged'](){const _0x4e4a07=_0x3f2a15;return _0x4e4a07(0x23c);}get[_0x3f2a15(0x23a)](){const _0x31afb9=_0x3f2a15;return _0x31afb9(0x23a);}get[_0x3f2a15(0x1d0)](){return'ViewChanged';}};_0x5c95aa[_0x3f2a15(0x2b7)][_0x3f2a15(0x2b0)](_0xea399a);var _0x4f4c25=class{constructor(_0x4bf183,_0x47b2d8){const _0x12e06a=_0x3f2a15;this[_0x12e06a(0x1d3)]=_0x4bf183,this['_permissionService']=_0x47b2d8;}[_0x3f2a15(0x147)](_0x4b9ff2){const _0x28597c=_0x3f2a15;this[_0x28597c(0x1ba)][_0x28597c(0x147)](this['_baseId'],_0x4b9ff2);}[_0x3f2a15(0x16f)](_0x1bd79a,_0x14efa9){const _0x4de918=_0x3f2a15;this[_0x4de918(0x1ba)][_0x4de918(0x16f)](_0x1bd79a,_0x14efa9);}['setFieldPermission'](_0x5bcb79,_0x100d50,_0x191024){const _0x5510b8=_0x3f2a15;this[_0x5510b8(0x1ba)][_0x5510b8(0x21a)](_0x5bcb79,_0x100d50,_0x191024);}[_0x3f2a15(0x18e)](_0xc9cfbe,_0x2fa39e,_0x3cb4ce){const _0x32c553=_0x3f2a15;this[_0x32c553(0x1ba)]['setRecordPermission'](_0xc9cfbe,_0x2fa39e,_0x3cb4ce);}[_0x3f2a15(0x1c3)](){const _0x3b489b=_0x3f2a15;this[_0x3b489b(0x1ba)][_0x3b489b(0x1c3)](this[_0x3b489b(0x1d3)]);}['clearTablePermission'](_0x26c000){const _0x24ff8d=_0x3f2a15;this[_0x24ff8d(0x1ba)][_0x24ff8d(0x279)](_0x26c000);}['clearFieldPermission'](_0x8f9f12,_0x9a445d){const _0x43bd2a=_0x3f2a15;this['_permissionService'][_0x43bd2a(0x2d2)](_0x8f9f12,_0x9a445d);}[_0x3f2a15(0x20d)](_0x1d0ec7,_0x4ade8c){const _0x53e4c1=_0x3f2a15;this[_0x53e4c1(0x1ba)][_0x53e4c1(0x20d)](_0x1d0ec7,_0x4ade8c);}[_0x3f2a15(0x13a)](){const _0x40e308=_0x3f2a15;return this[_0x40e308(0x1ba)][_0x40e308(0x13a)](this[_0x40e308(0x1d3)]);}[_0x3f2a15(0x24b)](_0x1c5cf2){const _0x11cedb=_0x3f2a15;return this[_0x11cedb(0x1ba)]['canDeleteTable'](_0x1c5cf2);}[_0x3f2a15(0x146)](_0x53e979){const _0x2c34de=_0x3f2a15;return this[_0x2c34de(0x1ba)][_0x2c34de(0x146)](_0x53e979);}[_0x3f2a15(0x123)](_0xcd47fc,_0x11ad84){const _0x567e40=_0x3f2a15;return this['_permissionService'][_0x567e40(0x123)](_0xcd47fc,_0x11ad84);}[_0x3f2a15(0x1fb)](_0x3d15c3,_0x49bfba){const _0x3221e2=_0x3f2a15;return this[_0x3221e2(0x1ba)][_0x3221e2(0x1fb)](_0x3d15c3,_0x49bfba);}[_0x3f2a15(0x25a)](_0x4db9df){const _0x1dfe43=_0x3f2a15;return this['_permissionService'][_0x1dfe43(0x25a)](_0x4db9df);}[_0x3f2a15(0x1d1)](_0x4164e2,_0x2935d6){const _0x572b30=_0x3f2a15;return this['_permissionService'][_0x572b30(0x1d1)](_0x4164e2,_0x2935d6);}[_0x3f2a15(0x15a)](_0x178429,_0x42ea44,_0x2aaf28){const _0x8825e1=_0x3f2a15;return this[_0x8825e1(0x1ba)]['canEditCell'](_0x178429,_0x42ea44,_0x2aaf28);}['canManageView'](_0x8ac792,_0x16a2ea){const _0x5826c7=_0x3f2a15;return this[_0x5826c7(0x1ba)][_0x5826c7(0x21d)](_0x8ac792,_0x16a2ea);}[_0x3f2a15(0x1c8)](){const _0x493c2f=_0x3f2a15;return this[_0x493c2f(0x1ba)][_0x493c2f(0x1c8)]();}},_0x20d2dc=class{constructor(_0x52a45f,_0x5efced){const _0xb191fd=_0x3f2a15;this[_0xb191fd(0x292)]=_0x52a45f,this[_0xb191fd(0x1ba)]=_0x5efced;}[_0x3f2a15(0x153)](_0x18aa1e){const _0x1add25=_0x3f2a15;this['_permissionService'][_0x1add25(0x16f)](this[_0x1add25(0x292)],_0x18aa1e);}[_0x3f2a15(0x289)](){const _0x5c1655=_0x3f2a15;this[_0x5c1655(0x1ba)][_0x5c1655(0x279)](this[_0x5c1655(0x292)]);}[_0x3f2a15(0x24b)](){const _0x520dc6=_0x3f2a15;return this[_0x520dc6(0x1ba)][_0x520dc6(0x24b)](this['_tableId']);}[_0x3f2a15(0x146)](){const _0x56ebfe=_0x3f2a15;return this[_0x56ebfe(0x1ba)][_0x56ebfe(0x146)](this[_0x56ebfe(0x292)]);}[_0x3f2a15(0x25a)](){const _0x358086=_0x3f2a15;return this['_permissionService'][_0x358086(0x25a)](this[_0x358086(0x292)]);}[_0x3f2a15(0x21d)](_0x22c73b){const _0x25d58f=_0x3f2a15;return this[_0x25d58f(0x1ba)][_0x25d58f(0x21d)](this[_0x25d58f(0x292)],_0x22c73b);}['canEditCell'](_0x4843e7,_0x28a51d){const _0x834e1=_0x3f2a15;return this[_0x834e1(0x1ba)]['canEditCell'](this[_0x834e1(0x292)],_0x4843e7,_0x28a51d);}},_0x525c79=class{constructor(_0x495399,_0x404746,_0x20f52d,_0x3cd9eb){const _0x26990c=_0x3f2a15;this[_0x26990c(0x1cf)]=_0x495399,this['_tableId']=_0x404746,this[_0x26990c(0x2d6)]=_0x20f52d,this[_0x26990c(0x27b)]=_0x3cd9eb;}[_0x3f2a15(0x224)](){return this['_fieldId'];}[_0x3f2a15(0x14c)](){return this['_getField']();}['getSnapshot'](){return this['_getField']();}[_0x3f2a15(0x261)](){const _0x139c55=_0x3f2a15;return this[_0x139c55(0x2a2)]()[_0x139c55(0x13c)];}[_0x3f2a15(0x16c)](){const _0x1fb40c=_0x3f2a15;return this['_getField']()[_0x1fb40c(0x1be)];}[_0x3f2a15(0x14e)](){const _0x369f28=_0x3f2a15;return this['_getField']()[_0x369f28(0x243)];}[_0x3f2a15(0x1db)](){const _0x5944c7=_0x3f2a15;return this[_0x5944c7(0x2a2)]()[_0x5944c7(0x1da)];}['getDescription'](){const _0xaa81dd=_0x3f2a15;return this[_0xaa81dd(0x2a2)]()['description'];}[_0x3f2a15(0x1f9)](){const _0x1a5d6b=_0x3f2a15;return!!this[_0x1a5d6b(0x2a2)]()[_0x1a5d6b(0x1ee)];}[_0x3f2a15(0x2aa)](_0x1dada9){const _0x5b2cca=_0x3f2a15;this[_0x5b2cca(0x1e8)]({'name':_0x1dada9});}['setConfig'](_0x584eee){this['update']({'config':_0x584eee});}[_0x3f2a15(0x131)](_0x153463){const _0x172580=_0x3f2a15;this[_0x172580(0x1e8)]({'defaultValue':_0x153463});}[_0x3f2a15(0x1e8)](_0x5c973e){const _0x711554=_0x3f2a15;_0x1d2078(_0x3877f6['UpdateBaseFieldCommand']['id'],this[_0x711554(0x27b)][_0x711554(0x295)](_0x3877f6['UpdateBaseFieldCommand']['id'],{'unitId':this[_0x711554(0x1cf)][_0x711554(0x208)](),'tableId':this['_tableId'],'fieldId':this['_fieldId'],'patch':_0x5c973e}),{'unitId':this[_0x711554(0x1cf)]['getUnitId'](),'tableId':this['_tableId'],'fieldId':this['_fieldId']});}['changeType'](_0x21db61){const _0x4da8ce=_0x3f2a15;_0x1d2078(_0x3877f6[_0x4da8ce(0x27d)]['id'],this[_0x4da8ce(0x27b)][_0x4da8ce(0x295)](_0x3877f6[_0x4da8ce(0x27d)]['id'],{'unitId':this['_base'][_0x4da8ce(0x208)](),'tableId':this[_0x4da8ce(0x292)],'fieldId':this[_0x4da8ce(0x2d6)],'input':_0x21db61}),{'unitId':this[_0x4da8ce(0x1cf)][_0x4da8ce(0x208)](),'tableId':this['_tableId'],'fieldId':this[_0x4da8ce(0x2d6)]});}[_0x3f2a15(0x179)](){const _0x380644=_0x3f2a15;_0x1d2078(_0x3877f6['DeleteBaseFieldCommand']['id'],this[_0x380644(0x27b)][_0x380644(0x295)](_0x3877f6[_0x380644(0x1a3)]['id'],{'unitId':this[_0x380644(0x1cf)][_0x380644(0x208)](),'tableId':this[_0x380644(0x292)],'fieldId':this[_0x380644(0x2d6)]}),{'unitId':this[_0x380644(0x1cf)]['getUnitId'](),'tableId':this[_0x380644(0x292)],'fieldId':this[_0x380644(0x2d6)]});}['move'](_0x351609){const _0x1a9faf=_0x3f2a15;_0x1d2078(_0x3877f6['MoveBaseFieldCommand']['id'],this[_0x1a9faf(0x27b)][_0x1a9faf(0x295)](_0x3877f6['MoveBaseFieldCommand']['id'],{'unitId':this[_0x1a9faf(0x1cf)]['getUnitId'](),'tableId':this[_0x1a9faf(0x292)],'fieldId':this[_0x1a9faf(0x2d6)],'target':_0x351609}),{'unitId':this[_0x1a9faf(0x1cf)][_0x1a9faf(0x208)](),'tableId':this['_tableId'],'fieldId':this[_0x1a9faf(0x2d6)]});}[_0x3f2a15(0x2a2)](){const _0x57d46e=_0x3f2a15;var _0x13cd72;let _0x58258c=(_0x13cd72=this[_0x57d46e(0x1cf)][_0x57d46e(0x1c8)]()['tables'][this[_0x57d46e(0x292)]])==null?void 0x0:_0x13cd72[_0x57d46e(0x213)][this[_0x57d46e(0x2d6)]];if(!_0x58258c||_0x58258c[_0x57d46e(0x1af)])throw Error(_0x57d46e(0x1df)+this[_0x57d46e(0x2d6)]+'\x22\x20does\x20not\x20exist.');return _0x58258c;}},_0x2ef4ee=class _0xacd550{constructor(_0x2a20a9,_0x2a6206,_0x58b089,_0xd8ffdb){const _0x4a8ed3=_0x3f2a15;this['_base']=_0x2a20a9,this[_0x4a8ed3(0x292)]=_0x2a6206,this[_0x4a8ed3(0x1ca)]=_0x58b089,this['_commandService']=_0xd8ffdb,this[_0x4a8ed3(0x27a)]();}['getUnitId'](){const _0x1a4393=_0x3f2a15;return this[_0x1a4393(0x1cf)][_0x1a4393(0x208)]();}[_0x3f2a15(0x29c)](){const _0x255ef0=_0x3f2a15;return this[_0x255ef0(0x1cf)][_0x255ef0(0x208)]();}[_0x3f2a15(0x212)](){const _0x23c43b=_0x3f2a15;return this[_0x23c43b(0x292)];}[_0x3f2a15(0x275)](){const _0xecfe98=_0x3f2a15;return{...this[_0xecfe98(0x1ca)]};}[_0x3f2a15(0x1c9)](){const _0x3a2b5c=_0x3f2a15;return this[_0x3a2b5c(0x1ca)][_0x3a2b5c(0x1ec)];}[_0x3f2a15(0x12e)](){const _0x9b31bd=_0x3f2a15;return this[_0x9b31bd(0x1ca)]['startColumn'];}[_0x3f2a15(0x194)](){const _0x5117d2=_0x3f2a15;return this[_0x5117d2(0x1ca)][_0x5117d2(0x17d)]-this[_0x5117d2(0x1ca)][_0x5117d2(0x1ec)]+0x1;}[_0x3f2a15(0x1ab)](){const _0xa37c53=_0x3f2a15;return this[_0xa37c53(0x1ca)][_0xa37c53(0x285)]-this[_0xa37c53(0x1ca)][_0xa37c53(0x11b)]+0x1;}['getValues'](){const _0x40b1cb=_0x3f2a15;let _0x4b2be9=this['_getTable'](),_0x28f9d0=[];for(let _0x53e5d4=this[_0x40b1cb(0x1ca)]['startRow'];_0x53e5d4<=this[_0x40b1cb(0x1ca)][_0x40b1cb(0x17d)];_0x53e5d4++){var _0xd564b4;let _0x67059f=(_0xd564b4=_0x4b2be9['rowId'])==null?void 0x0:_0xd564b4[_0x53e5d4],_0x235bff=[];for(let _0x453181=this[_0x40b1cb(0x1ca)]['startColumn'];_0x453181<=this[_0x40b1cb(0x1ca)]['endColumn'];_0x453181++){var _0x39d4d1;let _0x2eaa89=(_0x39d4d1=_0x4b2be9[_0x40b1cb(0x2d3)])==null?void 0x0:_0x39d4d1[_0x453181];_0x235bff[_0x40b1cb(0x226)](_0x67059f&&_0x2eaa89?(0x0,_0x3877f6[_0x40b1cb(0x11d)])(_0x4b2be9,_0x67059f,_0x2eaa89):null);}_0x28f9d0[_0x40b1cb(0x226)](_0x235bff);}return _0x28f9d0;}['getValue'](){const _0x2c46e7=_0x3f2a15;var _0x267660,_0x530b27;return(_0x267660=(_0x530b27=this[_0x2c46e7(0x125)]()[0x0])==null?void 0x0:_0x530b27[0x0])==null?null:_0x267660;}[_0x3f2a15(0x1c1)](_0x3eecde){const _0x467d99=_0x3f2a15;this[_0x467d99(0x2b3)]([[_0x3eecde]]);}['setValues'](_0x4e8bce){const _0xb12d61=_0x3f2a15;if(_0x4e8bce[_0xb12d61(0x27f)]!==this[_0xb12d61(0x194)]()||_0x4e8bce[_0xb12d61(0x214)](_0x37202f=>_0x37202f[_0xb12d61(0x27f)]!==this['getNumColumns']())){var _0x342442,_0x9733bb;throw Error('[FBaseRange]:\x20values\x20size\x20'+_0x4e8bce[_0xb12d61(0x27f)]+'x'+((_0x342442=(_0x9733bb=_0x4e8bce[0x0])==null?void 0x0:_0x9733bb[_0xb12d61(0x27f)])==null?0x0:_0x342442)+'\x20does\x20not\x20match\x20range\x20size\x20'+this[_0xb12d61(0x194)]()+'x'+this['getNumColumns']()+'.');}let _0x1ff379=_0x4e8bce[_0xb12d61(0x177)]((_0x2f647a,_0x38eb95)=>_0x2f647a[_0xb12d61(0x160)]((_0x142718,_0x35f467)=>({'row':this['_range'][_0xb12d61(0x1ec)]+_0x38eb95,'col':this['_range'][_0xb12d61(0x11b)]+_0x35f467,'value':_0x142718})));_0x1d2078(_0x3877f6['SetBaseRangeValuesCommand']['id'],this[_0xb12d61(0x27b)]['syncExecuteCommand'](_0x3877f6[_0xb12d61(0x2c6)]['id'],{'unitId':this['_base'][_0xb12d61(0x208)](),'tableId':this['_tableId'],'patches':_0x1ff379}),{'unitId':this[_0xb12d61(0x1cf)]['getUnitId'](),'tableId':this['_tableId']});}[_0x3f2a15(0x18c)](){const _0x47215a=_0x3f2a15;this[_0x47215a(0x2b3)](Array[_0x47215a(0x221)]({'length':this[_0x47215a(0x194)]()},()=>Array[_0x47215a(0x221)]({'length':this[_0x47215a(0x1ab)]()},()=>null)));}[_0x3f2a15(0x2ac)](_0x23c9fc,_0x1ee7a0,_0xa4d2f5=this[_0x3f2a15(0x194)](),_0x3e9709=this[_0x3f2a15(0x1ab)]()){const _0x5422a7=_0x3f2a15;return new _0xacd550(this['_base'],this[_0x5422a7(0x292)],{'startRow':this[_0x5422a7(0x1ca)][_0x5422a7(0x1ec)]+_0x23c9fc,'startColumn':this[_0x5422a7(0x1ca)][_0x5422a7(0x11b)]+_0x1ee7a0,'endRow':this[_0x5422a7(0x1ca)][_0x5422a7(0x1ec)]+_0x23c9fc+_0xa4d2f5-0x1,'endColumn':this[_0x5422a7(0x1ca)][_0x5422a7(0x11b)]+_0x1ee7a0+_0x3e9709-0x1},this[_0x5422a7(0x27b)]);}[_0x3f2a15(0x248)](){const _0x211576=_0x3f2a15;let _0x14d5b1=this[_0x211576(0x1cf)][_0x211576(0x1c8)]()[_0x211576(0x1a9)][this[_0x211576(0x292)]];if(!_0x14d5b1||_0x14d5b1[_0x211576(0x1af)])throw Error(_0x211576(0x250)+this['_tableId']+_0x211576(0x1ac));return(0x0,_0x3877f6[_0x211576(0x256)])(_0x14d5b1);}[_0x3f2a15(0x27a)](){const _0x317bc3=_0x3f2a15;var _0x453de7,_0x55f84d;let _0x9b9d37=this[_0x317bc3(0x248)](),_0x20f4fc=(_0x453de7=(_0x55f84d=_0x9b9d37['recordOrder'])==null?void 0x0:_0x55f84d[_0x317bc3(0x27f)])==null?0x0:_0x453de7,_0xa6f907=_0x9b9d37['fieldOrder']['length'];if(this[_0x317bc3(0x1ca)][_0x317bc3(0x1ec)]<0x0||this[_0x317bc3(0x1ca)][_0x317bc3(0x11b)]<0x0||this[_0x317bc3(0x1ca)]['endRow']<this['_range'][_0x317bc3(0x1ec)]||this['_range'][_0x317bc3(0x285)]<this[_0x317bc3(0x1ca)][_0x317bc3(0x11b)]||this[_0x317bc3(0x1ca)][_0x317bc3(0x17d)]>=Math['max'](_0x20f4fc,0x1)||this['_range'][_0x317bc3(0x285)]>=Math[_0x317bc3(0x247)](_0xa6f907,0x1))throw Error(_0x317bc3(0x182)+_0x20f4fc+_0x317bc3(0x1fa)+_0xa6f907+',\x20range:\x20'+JSON[_0x317bc3(0x260)](this[_0x317bc3(0x1ca)])+'.');}};function _0x2acf96(_0x171951,_0x23dc10,_0x51a922=_0x677fd5['Id']){const _0x4a11da=_0x3f2a15;if(!_0x23dc10)return{};let _0x538c1e={};return Object[_0x4a11da(0x252)](_0x23dc10)['forEach'](([_0x37940e,_0x39db22])=>{_0x538c1e[_0x5b2b40(_0x171951,_0x37940e,_0x51a922)]=_0x39db22;}),_0x538c1e;}function _0x5b2b40(_0x5172ff,_0x5430d0,_0x5703bf){const _0x49f7e9=_0x3f2a15;if(_0x5703bf===_0x677fd5['Id'])return _0x5430d0;if(_0x5703bf===_0x677fd5['Auto']){let _0x14f78e=_0x5172ff[_0x49f7e9(0x213)][_0x5430d0];if(_0x14f78e&&!_0x14f78e[_0x49f7e9(0x1af)])return _0x5430d0;}let _0x2cfc59=Object['values'](_0x5172ff[_0x49f7e9(0x213)])[_0x49f7e9(0x163)](_0x46ff8e=>!_0x46ff8e[_0x49f7e9(0x1af)]&&_0x46ff8e[_0x49f7e9(0x13c)]===_0x5430d0);if(_0x2cfc59[_0x49f7e9(0x27f)]===0x1)return _0x2cfc59[0x0]['id'];throw _0x2cfc59[_0x49f7e9(0x27f)]>0x1?new _0x5df432(_0x4133cf[_0x49f7e9(0x16e)],_0x49f7e9(0x14d)+_0x5430d0,{'tableId':_0x5172ff['id'],'fieldName':_0x5430d0,'fieldIds':_0x2cfc59[_0x49f7e9(0x160)](_0xc37ddd=>_0xc37ddd['id'])}):new _0x5df432(_0x4133cf[_0x49f7e9(0x1e2)],_0x49f7e9(0x25c)+_0x5430d0,{'tableId':_0x5172ff['id'],'fieldName':_0x5430d0,'fieldKey':_0x5703bf});}var _0x20dafd=class _0x4781ad{constructor(_0x215d6d,_0x76b1b4,_0x49d5ef,_0xfef34e){const _0xc77022=_0x3f2a15;this[_0xc77022(0x1cf)]=_0x215d6d,this[_0xc77022(0x292)]=_0x76b1b4,this[_0xc77022(0x1d7)]=_0x49d5ef,this[_0xc77022(0x27b)]=_0xfef34e;}[_0x3f2a15(0x224)](){return this['_recordId'];}[_0x3f2a15(0x17e)](){const _0x36e8e4=_0x3f2a15;return this[_0x36e8e4(0x2b1)]();}[_0x3f2a15(0x1c8)](){const _0x375b6=_0x3f2a15;return this[_0x375b6(0x2b1)]();}[_0x3f2a15(0x29b)](_0x157721){const _0x931c3=_0x3f2a15;var _0xd5856e;return(_0xd5856e=this[_0x931c3(0x2b1)]()[_0x931c3(0x14a)][_0x157721])==null?null:_0xd5856e;}[_0x3f2a15(0x125)](){return{...this['_getRecord']()['values']};}[_0x3f2a15(0x1c1)](_0x1c53b7,_0x4ddd8f){const _0x44ca87=_0x3f2a15;_0x1d2078(_0x3877f6[_0x44ca87(0x24e)]['id'],this[_0x44ca87(0x27b)]['syncExecuteCommand'](_0x3877f6['UpdateBaseCellCommand']['id'],{'unitId':this[_0x44ca87(0x1cf)][_0x44ca87(0x208)](),'tableId':this[_0x44ca87(0x292)],'recordId':this['_recordId'],'fieldId':_0x1c53b7,'value':_0x4ddd8f}),{'unitId':this[_0x44ca87(0x1cf)][_0x44ca87(0x208)](),'tableId':this[_0x44ca87(0x292)],'recordId':this['_recordId'],'fieldId':_0x1c53b7});}[_0x3f2a15(0x2b3)](_0x1b9893,_0x47ab92={}){const _0x3fd420=_0x3f2a15;var _0x3929ee;let _0x233b00=this[_0x3fd420(0x1cf)][_0x3fd420(0x1c8)]()['tables'][this[_0x3fd420(0x292)]];_0x1d2078(_0x3877f6[_0x3fd420(0x22e)]['id'],this[_0x3fd420(0x27b)][_0x3fd420(0x295)](_0x3877f6[_0x3fd420(0x22e)]['id'],{'unitId':this[_0x3fd420(0x1cf)][_0x3fd420(0x208)](),'tableId':this[_0x3fd420(0x292)],'patches':[{'recordId':this[_0x3fd420(0x1d7)],'values':_0x2acf96(_0x233b00,_0x1b9893,(_0x3929ee=_0x47ab92[_0x3fd420(0x1cb)])==null?'id':_0x3929ee)}]}),{'unitId':this[_0x3fd420(0x1cf)][_0x3fd420(0x208)](),'tableId':this['_tableId'],'recordId':this[_0x3fd420(0x1d7)]});}[_0x3f2a15(0x179)](){const _0x5f31ee=_0x3f2a15;_0x1d2078(_0x3877f6[_0x5f31ee(0x176)]['id'],this[_0x5f31ee(0x27b)][_0x5f31ee(0x295)](_0x3877f6[_0x5f31ee(0x176)]['id'],{'unitId':this[_0x5f31ee(0x1cf)][_0x5f31ee(0x208)](),'tableId':this['_tableId'],'recordId':this[_0x5f31ee(0x1d7)]}),{'unitId':this[_0x5f31ee(0x1cf)][_0x5f31ee(0x208)](),'tableId':this[_0x5f31ee(0x292)],'recordId':this[_0x5f31ee(0x1d7)]});}[_0x3f2a15(0x234)](_0x37ad3e={}){const _0x4e2ab6=_0x3f2a15;var _0x25feb5,_0x2f6eaf,_0x1af723;let _0x7a5598=Date['now'](),_0x448e32={'id':(_0x25feb5=_0x37ad3e['id'])==null?_0x16c27f(_0x4e2ab6(0x12f)):_0x25feb5,'values':(_0x2f6eaf=_0x37ad3e[_0x4e2ab6(0x14a)])==null?{}:_0x2f6eaf,'orderKey':(_0x1af723=_0x37ad3e[_0x4e2ab6(0x122)])==null?''+_0x7a5598:_0x1af723,'createdAt':_0x7a5598,'updatedAt':_0x7a5598};return _0x1d2078(_0x3877f6[_0x4e2ab6(0x1b0)]['id'],this['_commandService'][_0x4e2ab6(0x295)](_0x3877f6[_0x4e2ab6(0x1b0)]['id'],{'unitId':this[_0x4e2ab6(0x1cf)]['getUnitId'](),'tableId':this['_tableId'],'sourceRecordId':this[_0x4e2ab6(0x1d7)],'record':_0x448e32}),{'unitId':this['_base']['getUnitId'](),'tableId':this[_0x4e2ab6(0x292)],'recordId':_0x448e32['id'],'sourceRecordId':this[_0x4e2ab6(0x1d7)]}),new _0x4781ad(this[_0x4e2ab6(0x1cf)],this[_0x4e2ab6(0x292)],_0x448e32['id'],this[_0x4e2ab6(0x27b)]);}['setOrderKey'](_0x22ac7a){const _0x41e42b=_0x3f2a15;_0x1d2078(_0x3877f6[_0x41e42b(0x1b6)]['id'],this[_0x41e42b(0x27b)][_0x41e42b(0x295)](_0x3877f6[_0x41e42b(0x1b6)]['id'],{'unitId':this[_0x41e42b(0x1cf)][_0x41e42b(0x208)](),'tableId':this[_0x41e42b(0x292)],'recordId':this[_0x41e42b(0x1d7)],'orderKey':_0x22ac7a}),{'unitId':this[_0x41e42b(0x1cf)]['getUnitId'](),'tableId':this['_tableId'],'recordId':this[_0x41e42b(0x1d7)]});}[_0x3f2a15(0x2b1)](){const _0x212fd4=_0x3f2a15;var _0x1cc76a;let _0x4890fa=(_0x1cc76a=this['_base'][_0x212fd4(0x1c8)]()[_0x212fd4(0x1a9)][this[_0x212fd4(0x292)]])==null?void 0x0:_0x1cc76a[_0x212fd4(0x16b)][this[_0x212fd4(0x1d7)]];if(!_0x4890fa||_0x4890fa[_0x212fd4(0x1af)])throw Error('[FRecord]:\x20record\x20\x22'+this[_0x212fd4(0x1d7)]+_0x212fd4(0x1ac));return _0x4890fa;}};function _0x16c27f(_0x38c341){const _0x48fc94=_0x3f2a15;return _0x38c341+'-'+Math[_0x48fc94(0x217)]()[_0x48fc94(0x210)](0x24)['slice'](0x2,0xa);}var _0x4aa030=class{constructor(_0x4a4a25,_0x435685,_0xa4f7cf,_0xbdb1f4,_0x4c68de){const _0x2098f9=_0x3f2a15;this[_0x2098f9(0x1cf)]=_0x4a4a25,this[_0x2098f9(0x292)]=_0x435685,this[_0x2098f9(0x1f1)]=_0xa4f7cf,this[_0x2098f9(0x27b)]=_0xbdb1f4,this[_0x2098f9(0x1e9)]=_0x4c68de;}[_0x3f2a15(0x224)](){const _0x2134e4=_0x3f2a15;return this[_0x2134e4(0x1f1)];}[_0x3f2a15(0x167)](){const _0x3590b9=_0x3f2a15;return this[_0x3590b9(0x286)]();}[_0x3f2a15(0x1c8)](){const _0x1fc809=_0x3f2a15;return this[_0x1fc809(0x286)]();}[_0x3f2a15(0x261)](){const _0x11d5ba=_0x3f2a15;return this[_0x11d5ba(0x286)]()['name'];}[_0x3f2a15(0x16c)](){const _0x280e8c=_0x3f2a15;return this[_0x280e8c(0x286)]()[_0x280e8c(0x1be)];}[_0x3f2a15(0x2aa)](_0x3b13a8){const _0x443511=_0x3f2a15;_0x1d2078(_0x3877f6['RenameBaseViewCommand']['id'],this[_0x443511(0x27b)]['syncExecuteCommand'](_0x3877f6[_0x443511(0x29f)]['id'],{'unitId':this['_base']['getUnitId'](),'tableId':this[_0x443511(0x292)],'viewId':this['_viewId'],'name':_0x3b13a8}),{'unitId':this[_0x443511(0x1cf)]['getUnitId'](),'tableId':this[_0x443511(0x292)],'viewId':this[_0x443511(0x1f1)]});}['getConfig'](){const _0x3b2d3e=_0x3f2a15;return this[_0x3b2d3e(0x286)]()[_0x3b2d3e(0x243)];}[_0x3f2a15(0x193)](_0x5c2529){const _0x455e46=_0x3f2a15;_0x1d2078(_0x3877f6[_0x455e46(0x2c5)]['id'],this['_commandService']['syncExecuteCommand'](_0x3877f6[_0x455e46(0x2c5)]['id'],{'unitId':this['_base'][_0x455e46(0x208)](),'tableId':this[_0x455e46(0x292)],'viewId':this['_viewId'],'patch':_0x5c2529}),{'unitId':this[_0x455e46(0x1cf)][_0x455e46(0x208)](),'tableId':this[_0x455e46(0x292)],'viewId':this[_0x455e46(0x1f1)]});}[_0x3f2a15(0x150)](){const _0x80a53a=_0x3f2a15;var _0x365f3d;return(_0x365f3d=this[_0x80a53a(0x286)]()['filter'])==null?null:_0x365f3d;}[_0x3f2a15(0x263)](_0x31d994){const _0x8404cf=_0x3f2a15;_0x1d2078(_0x3877f6[_0x8404cf(0x186)]['id'],this[_0x8404cf(0x27b)]['syncExecuteCommand'](_0x3877f6['SetBaseViewFilterCommand']['id'],{'unitId':this[_0x8404cf(0x1cf)][_0x8404cf(0x208)](),'tableId':this[_0x8404cf(0x292)],'viewId':this[_0x8404cf(0x1f1)],'filter':_0x31d994}),{'unitId':this['_base'][_0x8404cf(0x208)](),'tableId':this[_0x8404cf(0x292)],'viewId':this['_viewId']});}[_0x3f2a15(0x2d5)](){const _0x381930=_0x3f2a15;var _0x25a76e;return(_0x25a76e=this[_0x381930(0x286)]()[_0x381930(0x1ed)])==null?[]:_0x25a76e;}[_0x3f2a15(0x274)](_0x1fda80){const _0x1eda61=_0x3f2a15;_0x1d2078(_0x3877f6[_0x1eda61(0x170)]['id'],this[_0x1eda61(0x27b)][_0x1eda61(0x295)](_0x3877f6['SetBaseViewSortCommand']['id'],{'unitId':this['_base'][_0x1eda61(0x208)](),'tableId':this[_0x1eda61(0x292)],'viewId':this[_0x1eda61(0x1f1)],'sort':_0x1fda80}),{'unitId':this[_0x1eda61(0x1cf)][_0x1eda61(0x208)](),'tableId':this[_0x1eda61(0x292)],'viewId':this[_0x1eda61(0x1f1)]});}[_0x3f2a15(0x12a)](){const _0x41672b=_0x3f2a15;var _0x5393cc;return(_0x5393cc=this[_0x41672b(0x286)]()[_0x41672b(0x2bd)])==null?[]:_0x5393cc;}[_0x3f2a15(0x299)](_0x3b90b8){const _0x45b028=_0x3f2a15;_0x1d2078(_0x3877f6['SetBaseViewGroupCommand']['id'],this['_commandService'][_0x45b028(0x295)](_0x3877f6['SetBaseViewGroupCommand']['id'],{'unitId':this['_base']['getUnitId'](),'tableId':this[_0x45b028(0x292)],'viewId':this[_0x45b028(0x1f1)],'group':_0x3b90b8}),{'unitId':this[_0x45b028(0x1cf)][_0x45b028(0x208)](),'tableId':this[_0x45b028(0x292)],'viewId':this[_0x45b028(0x1f1)]});}[_0x3f2a15(0x2cf)](_0x32b1c5){const _0x5de018=_0x3f2a15;var _0x1da162,_0x527779;return(_0x1da162=(_0x527779=this[_0x5de018(0x286)]()['fieldSettings'])==null?void 0x0:_0x527779[_0x32b1c5])==null?{}:_0x1da162;}['getVisibleFields'](){const _0x5e74e4=_0x3f2a15;var _0x2ddb93;let _0x3e5492=this[_0x5e74e4(0x1cf)][_0x5e74e4(0x1c8)]()[_0x5e74e4(0x1a9)][this[_0x5e74e4(0x292)]],_0x32cffc=this['_getView']();return((_0x2ddb93=_0x32cffc[_0x5e74e4(0x188)])==null?_0x3e5492[_0x5e74e4(0x188)]:_0x2ddb93)[_0x5e74e4(0x160)](_0x9c06b2=>_0x3e5492[_0x5e74e4(0x213)][_0x9c06b2])[_0x5e74e4(0x163)](_0x386bd9=>{const _0x4ac5cf=_0x5e74e4;var _0x2b212c;return!!(_0x386bd9&&!_0x386bd9['deleted']&&!(!((_0x2b212c=_0x32cffc[_0x4ac5cf(0x228)])==null||(_0x2b212c=_0x2b212c[_0x386bd9['id']])==null)&&_0x2b212c[_0x4ac5cf(0x29a)]));})[_0x5e74e4(0x160)](_0x2aec72=>new _0x525c79(this[_0x5e74e4(0x1cf)],this['_tableId'],_0x2aec72['id'],this['_commandService']));}['setFieldVisible'](_0x39be19,_0x3ab1c6){const _0x320784=_0x3f2a15;_0x1d2078(_0x3877f6[_0x320784(0x2a6)]['id'],this['_commandService'][_0x320784(0x295)](_0x3877f6[_0x320784(0x2a6)]['id'],{'unitId':this[_0x320784(0x1cf)][_0x320784(0x208)](),'tableId':this[_0x320784(0x292)],'viewId':this[_0x320784(0x1f1)],'fieldId':_0x39be19,'visible':_0x3ab1c6}),{'unitId':this[_0x320784(0x1cf)][_0x320784(0x208)](),'tableId':this[_0x320784(0x292)],'viewId':this['_viewId'],'fieldId':_0x39be19});}['setFieldWidth'](_0x47c91f,_0x2a321c){const _0x2da868=_0x3f2a15;_0x1d2078(_0x3877f6[_0x2da868(0x1d2)]['id'],this[_0x2da868(0x27b)][_0x2da868(0x295)](_0x3877f6[_0x2da868(0x1d2)]['id'],{'unitId':this['_base'][_0x2da868(0x208)](),'tableId':this[_0x2da868(0x292)],'viewId':this['_viewId'],'fieldId':_0x47c91f,'width':_0x2a321c}),{'unitId':this[_0x2da868(0x1cf)][_0x2da868(0x208)](),'tableId':this['_tableId'],'viewId':this[_0x2da868(0x1f1)],'fieldId':_0x47c91f});}[_0x3f2a15(0x2a7)](_0x216720,_0x2fb5d9){const _0xb91e71=_0x3f2a15;_0x1d2078(_0x3877f6[_0xb91e71(0x1cc)]['id'],this[_0xb91e71(0x27b)][_0xb91e71(0x295)](_0x3877f6['SetBaseViewFieldOrderCommand']['id'],{'unitId':this['_base'][_0xb91e71(0x208)](),'tableId':this[_0xb91e71(0x292)],'viewId':this[_0xb91e71(0x1f1)],'fieldId':_0x216720,'target':_0x2fb5d9}),{'unitId':this['_base'][_0xb91e71(0x208)](),'tableId':this['_tableId'],'viewId':this[_0xb91e71(0x1f1)],'fieldId':_0x216720});}['move'](_0x18f10c){const _0x2f1402=_0x3f2a15;_0x1d2078(_0x3877f6[_0x2f1402(0x223)]['id'],this[_0x2f1402(0x27b)][_0x2f1402(0x295)](_0x3877f6[_0x2f1402(0x223)]['id'],{'unitId':this[_0x2f1402(0x1cf)][_0x2f1402(0x208)](),'tableId':this[_0x2f1402(0x292)],'viewId':this[_0x2f1402(0x1f1)],'target':_0x18f10c}),{'unitId':this[_0x2f1402(0x1cf)][_0x2f1402(0x208)](),'tableId':this[_0x2f1402(0x292)],'viewId':this[_0x2f1402(0x1f1)]});}['delete'](){const _0x4cb127=_0x3f2a15;_0x1d2078(_0x3877f6[_0x4cb127(0x2c7)]['id'],this[_0x4cb127(0x27b)][_0x4cb127(0x295)](_0x3877f6['DeleteBaseViewCommand']['id'],{'unitId':this['_base'][_0x4cb127(0x208)](),'tableId':this[_0x4cb127(0x292)],'viewId':this[_0x4cb127(0x1f1)]}),{'unitId':this[_0x4cb127(0x1cf)][_0x4cb127(0x208)](),'tableId':this[_0x4cb127(0x292)],'viewId':this[_0x4cb127(0x1f1)]});}[_0x3f2a15(0x135)](){const _0x1ed523=_0x3f2a15;return this['_projectionService'][_0x1ed523(0x135)](this['_base'][_0x1ed523(0x1c8)](),this[_0x1ed523(0x292)],this[_0x1ed523(0x1f1)]);}[_0x3f2a15(0x286)](){const _0x11ff9d=_0x3f2a15;var _0x5697a5;let _0x405d3a=(_0x5697a5=this[_0x11ff9d(0x1cf)]['getSnapshot']()[_0x11ff9d(0x1a9)][this[_0x11ff9d(0x292)]])==null?void 0x0:_0x5697a5['views'][this[_0x11ff9d(0x1f1)]];if(!_0x405d3a||_0x405d3a[_0x11ff9d(0x1af)])throw Error('[FView]:\x20view\x20\x22'+this[_0x11ff9d(0x1f1)]+'\x22\x20does\x20not\x20exist.');return _0x405d3a;}},_0x2ccde5=class{constructor(_0x51408e,_0x31b0e8,_0x2ad411,_0x1fa669,_0x535b05){const _0x50c119=_0x3f2a15;this[_0x50c119(0x1cf)]=_0x51408e,this[_0x50c119(0x292)]=_0x31b0e8,this[_0x50c119(0x27b)]=_0x2ad411,this[_0x50c119(0x1e9)]=_0x1fa669,this[_0x50c119(0x1ba)]=_0x535b05;}[_0x3f2a15(0x23e)](){const _0x26a51e=_0x3f2a15;return this[_0x26a51e(0x1cf)];}['getTable'](){const _0x5efc85=_0x3f2a15;return this[_0x5efc85(0x248)]();}[_0x3f2a15(0x1c8)](){const _0x2fc437=_0x3f2a15;return this[_0x2fc437(0x248)]();}[_0x3f2a15(0x224)](){const _0x101e57=_0x3f2a15;return this[_0x101e57(0x292)];}[_0x3f2a15(0x261)](){const _0x4611c1=_0x3f2a15;return this[_0x4611c1(0x248)]()[_0x4611c1(0x13c)];}[_0x3f2a15(0x211)](){const _0x1bab94=_0x3f2a15;return this[_0x1bab94(0x248)]()[_0x1bab94(0x141)];}[_0x3f2a15(0x2aa)](_0x58c87f){const _0x56f805=_0x3f2a15;_0x1d2078(_0x3877f6[_0x56f805(0x171)]['id'],this[_0x56f805(0x27b)][_0x56f805(0x295)](_0x3877f6[_0x56f805(0x171)]['id'],{'unitId':this[_0x56f805(0x1cf)]['getUnitId'](),'tableId':this[_0x56f805(0x292)],'name':_0x58c87f}),{'unitId':this['_base'][_0x56f805(0x208)](),'tableId':this[_0x56f805(0x292)]});}[_0x3f2a15(0x185)](){const _0x39e790=_0x3f2a15;let _0x54672=this[_0x39e790(0x248)]();return _0x54672[_0x39e790(0x188)][_0x39e790(0x160)](_0x556e8e=>_0x54672[_0x39e790(0x213)][_0x556e8e])[_0x39e790(0x163)](_0x62e5b2=>!!(_0x62e5b2&&!_0x62e5b2[_0x39e790(0x1af)]))['map'](_0x2fc015=>this[_0x39e790(0x237)](_0x2fc015['id']));}[_0x3f2a15(0x1f6)](){const _0x4321a5=_0x3f2a15;return this[_0x4321a5(0x185)]();}[_0x3f2a15(0x14c)](_0x443887){const _0x1ef672=_0x3f2a15;let _0x19b327=this[_0x1ef672(0x248)]()[_0x1ef672(0x213)][_0x443887];return _0x19b327&&!_0x19b327[_0x1ef672(0x1af)]?this['_wrapField'](_0x19b327['id']):null;}[_0x3f2a15(0x2ab)](_0x2d0d99){const _0x74751a=_0x3f2a15;return this[_0x74751a(0x14c)](_0x2d0d99);}[_0x3f2a15(0x19e)](_0xa59d33){const _0x2981aa=_0x3f2a15;let _0x449aae=Object[_0x2981aa(0x14a)](this['_getTable']()[_0x2981aa(0x213)])[_0x2981aa(0x152)](_0x5599fb=>!_0x5599fb[_0x2981aa(0x1af)]&&_0x5599fb[_0x2981aa(0x13c)]===_0xa59d33);return _0x449aae?this[_0x2981aa(0x237)](_0x449aae['id']):null;}[_0x3f2a15(0x128)](){const _0xe8d01b=_0x3f2a15;return this['_wrapField'](this[_0xe8d01b(0x248)]()[_0xe8d01b(0x141)]);}['addField'](_0x492d53){const _0x1d61b6=_0x3f2a15;var _0x3c8d83,_0x38fc91;let _0x289d02={'id':(_0x3c8d83=_0x492d53['id'])==null?_0x29f047(_0x1d61b6(0x1a5)):_0x3c8d83,'name':_0x492d53[_0x1d61b6(0x13c)],'type':_0x492d53[_0x1d61b6(0x1be)],'config':(_0x38fc91=_0x492d53['config'])==null?{}:_0x38fc91,'defaultValue':_0x492d53[_0x1d61b6(0x1da)],'description':_0x492d53['description'],'readonly':_0x492d53['readonly']};return _0x1d2078(_0x3877f6[_0x1d61b6(0x2d0)]['id'],this[_0x1d61b6(0x27b)][_0x1d61b6(0x295)](_0x3877f6[_0x1d61b6(0x2d0)]['id'],{'unitId':this[_0x1d61b6(0x1cf)]['getUnitId'](),'tableId':this[_0x1d61b6(0x292)],'field':_0x289d02,'index':_0x492d53['index']}),{'unitId':this[_0x1d61b6(0x1cf)]['getUnitId'](),'tableId':this[_0x1d61b6(0x292)],'fieldId':_0x289d02['id']}),this[_0x1d61b6(0x237)](_0x289d02['id']);}[_0x3f2a15(0x164)](_0x2c3e8b){return this['addField'](_0x2c3e8b);}[_0x3f2a15(0x11c)](_0x4302fb,_0x2fa1f1){const _0x18e3db=_0x3f2a15;_0x1d2078(_0x3877f6[_0x18e3db(0x2c9)]['id'],this[_0x18e3db(0x27b)][_0x18e3db(0x295)](_0x3877f6[_0x18e3db(0x2c9)]['id'],{'unitId':this[_0x18e3db(0x1cf)][_0x18e3db(0x208)](),'tableId':this[_0x18e3db(0x292)],'fieldId':_0x4302fb,'patch':_0x2fa1f1}),{'unitId':this[_0x18e3db(0x1cf)][_0x18e3db(0x208)](),'tableId':this[_0x18e3db(0x292)],'fieldId':_0x4302fb});}[_0x3f2a15(0x2bb)](_0x3243f1,_0x49f5f6){const _0x4bdb77=_0x3f2a15;_0x1d2078(_0x3877f6[_0x4bdb77(0x27d)]['id'],this[_0x4bdb77(0x27b)][_0x4bdb77(0x295)](_0x3877f6[_0x4bdb77(0x27d)]['id'],{'unitId':this[_0x4bdb77(0x1cf)][_0x4bdb77(0x208)](),'tableId':this['_tableId'],'fieldId':_0x3243f1,'input':_0x49f5f6}),{'unitId':this['_base'][_0x4bdb77(0x208)](),'tableId':this[_0x4bdb77(0x292)],'fieldId':_0x3243f1});}[_0x3f2a15(0x191)](_0x5c7d3){const _0x2f34af=_0x3f2a15;_0x1d2078(_0x3877f6['DeleteBaseFieldCommand']['id'],this[_0x2f34af(0x27b)][_0x2f34af(0x295)](_0x3877f6[_0x2f34af(0x1a3)]['id'],{'unitId':this['_base'][_0x2f34af(0x208)](),'tableId':this[_0x2f34af(0x292)],'fieldId':_0x5c7d3}),{'unitId':this['_base'][_0x2f34af(0x208)](),'tableId':this['_tableId'],'fieldId':_0x5c7d3});}[_0x3f2a15(0x2a7)](_0x461475,_0x17ba18){const _0x2e2d9e=_0x3f2a15;_0x1d2078(_0x3877f6[_0x2e2d9e(0x144)]['id'],this['_commandService'][_0x2e2d9e(0x295)](_0x3877f6[_0x2e2d9e(0x144)]['id'],{'unitId':this[_0x2e2d9e(0x1cf)][_0x2e2d9e(0x208)](),'tableId':this['_tableId'],'fieldId':_0x461475,'target':_0x17ba18}),{'unitId':this[_0x2e2d9e(0x1cf)]['getUnitId'](),'tableId':this[_0x2e2d9e(0x292)],'fieldId':_0x461475});}[_0x3f2a15(0x17e)](_0x27faf5){const _0x3107cc=_0x3f2a15;let _0x1b0fe2=this['_getTable']()[_0x3107cc(0x16b)][_0x27faf5];return _0x1b0fe2&&!_0x1b0fe2[_0x3107cc(0x1af)]?this[_0x3107cc(0x172)](_0x1b0fe2['id']):null;}[_0x3f2a15(0x2ce)](_0x3e6548){const _0x354c28=_0x3f2a15;return this[_0x354c28(0x17e)](_0x3e6548);}['getRecords'](_0x2d319a={}){const _0x252f9e=_0x3f2a15;return _0x2a721e(_0x66dba9(this[_0x252f9e(0x200)](_0x2d319a)['map'](_0x34027d=>this[_0x252f9e(0x248)]()[_0x252f9e(0x16b)][_0x34027d])[_0x252f9e(0x163)](_0x84a10f=>!!(_0x84a10f&&!_0x84a10f[_0x252f9e(0x1af)]))[_0x252f9e(0x163)](_0x37568c=>_0x2adf38(_0x37568c,_0x2d319a['filter'])),this[_0x252f9e(0x248)](),_0x2d319a[_0x252f9e(0x1ed)]),_0x2d319a)[_0x252f9e(0x160)](_0x55f2ce=>this[_0x252f9e(0x172)](_0x55f2ce['id']));}[_0x3f2a15(0x13b)](_0x54b718={}){const _0x3eeb15=_0x3f2a15;var _0x529cc3;let _0x44a36a=_0x66dba9(this[_0x3eeb15(0x200)](_0x54b718)[_0x3eeb15(0x160)](_0x3d6969=>this[_0x3eeb15(0x248)]()[_0x3eeb15(0x16b)][_0x3d6969])['filter'](_0x1f1634=>!!(_0x1f1634&&!_0x1f1634[_0x3eeb15(0x1af)]))[_0x3eeb15(0x163)](_0x5a4a43=>_0x2adf38(_0x5a4a43,_0x54b718[_0x3eeb15(0x163)])),this[_0x3eeb15(0x248)](),_0x54b718['sort']),_0x59f9c0=Math[_0x3eeb15(0x247)](0x0,(_0x529cc3=_0x54b718[_0x3eeb15(0x2ac)])==null?0x0:_0x529cc3),_0x2744ac=_0x54b718[_0x3eeb15(0x207)]==null?null:Math[_0x3eeb15(0x247)](0x0,_0x54b718['limit']);return{'records':_0x2a721e(_0x44a36a,_0x54b718)[_0x3eeb15(0x160)](_0x45d676=>this[_0x3eeb15(0x172)](_0x45d676['id'])),'total':_0x44a36a[_0x3eeb15(0x27f)],'offset':_0x59f9c0,'limit':_0x2744ac,'hasMore':_0x2744ac!=null&&_0x59f9c0+_0x2744ac<_0x44a36a[_0x3eeb15(0x27f)]};}[_0x3f2a15(0x200)](_0x472c8c){const _0x49e662=_0x3f2a15;var _0xc58cac;let _0x325651=this[_0x49e662(0x248)]();if(_0x472c8c['viewId']){let _0x193e8f=this[_0x49e662(0x1e9)][_0x49e662(0x135)](this[_0x49e662(0x1cf)][_0x49e662(0x1c8)](),this[_0x49e662(0x292)],_0x472c8c[_0x49e662(0x246)]);if('rows'in _0x193e8f&&Array[_0x49e662(0x284)](_0x193e8f[_0x49e662(0x283)]))return _0x193e8f[_0x49e662(0x283)][_0x49e662(0x160)](_0x51cefb=>_0x51cefb[_0x49e662(0x1c5)]);}return((_0xc58cac=_0x325651[_0x49e662(0x2db)])==null?Object[_0x49e662(0x14a)](_0x325651[_0x49e662(0x16b)])['sort']((_0x36b1ae,_0x4777bd)=>_0x36b1ae[_0x49e662(0x122)]['localeCompare'](_0x4777bd[_0x49e662(0x122)]))[_0x49e662(0x160)](_0x34b62b=>_0x34b62b['id']):_0xc58cac)[_0x49e662(0x160)](_0x5bad4d=>_0x325651[_0x49e662(0x16b)][_0x5bad4d])['filter'](_0x5a573b=>!!(_0x5a573b&&!_0x5a573b[_0x49e662(0x1af)]))[_0x49e662(0x160)](_0x2c609d=>_0x2c609d['id']);}['listRecords'](_0x5c7e33={}){const _0x5e0b11=_0x3f2a15;return this[_0x5e0b11(0x1a0)](_0x5c7e33);}[_0x3f2a15(0x138)](_0x10b242={}){const _0x2cff1d=_0x3f2a15;var _0x4acbce,_0x40e290,_0x4c37ec,_0x105bdb,_0x49f0b0,_0x6614a1;let _0x53253d=Date[_0x2cff1d(0x190)](),_0x431c19=this['_getTable'](),_0x2a5428={'id':(_0x4acbce=_0x10b242['id'])==null?_0x29f047('record'):_0x4acbce,'values':{..._0x2acf96(_0x431c19,_0x10b242['values'],(_0x40e290=_0x10b242[_0x2cff1d(0x1cb)])==null?'id':_0x40e290),..._0x2acf96(_0x431c19,_0x10b242[_0x2cff1d(0x213)],(_0x4c37ec=_0x10b242[_0x2cff1d(0x1cb)])==null?_0x2cff1d(0x13c):_0x4c37ec)},'orderKey':(_0x105bdb=_0x10b242[_0x2cff1d(0x122)])==null?''+_0x53253d:_0x105bdb,'createdAt':(_0x49f0b0=_0x10b242['createdAt'])==null?_0x53253d:_0x49f0b0,'updatedAt':(_0x6614a1=_0x10b242[_0x2cff1d(0x18a)])==null?_0x53253d:_0x6614a1,'createdBy':_0x10b242[_0x2cff1d(0x12c)],'updatedBy':_0x10b242[_0x2cff1d(0x15d)]};return _0x1d2078(_0x3877f6['CreateBaseRecordCommand']['id'],this[_0x2cff1d(0x27b)][_0x2cff1d(0x295)](_0x3877f6[_0x2cff1d(0x257)]['id'],{'unitId':this[_0x2cff1d(0x1cf)]['getUnitId'](),'tableId':this[_0x2cff1d(0x292)],'record':_0x2a5428}),{'unitId':this[_0x2cff1d(0x1cf)][_0x2cff1d(0x208)](),'tableId':this[_0x2cff1d(0x292)],'recordId':_0x2a5428['id']}),this['_wrapRecord'](_0x2a5428['id']);}['createRecord'](_0x4d7ef6={}){const _0x39e0a5=_0x3f2a15;return this[_0x39e0a5(0x138)](_0x4d7ef6);}[_0x3f2a15(0x23b)](_0x81d577){const _0x52606c=_0x3f2a15;if(!_0x81d577['length'])return[];let _0x1621c7=Date[_0x52606c(0x190)](),_0x54a844=this[_0x52606c(0x248)](),_0x4ff3f4=_0x81d577[_0x52606c(0x160)]((_0x396c3e,_0x1a8a83)=>{const _0x1dfafb=_0x52606c;var _0x30ec12,_0xadd54a,_0x1ac4a2,_0x4f5bc1,_0x32f2d2,_0x32538b;return{'id':(_0x30ec12=_0x396c3e['id'])==null?_0x29f047(_0x1dfafb(0x12f)):_0x30ec12,'values':{..._0x2acf96(_0x54a844,_0x396c3e[_0x1dfafb(0x14a)],(_0xadd54a=_0x396c3e[_0x1dfafb(0x1cb)])==null?'id':_0xadd54a),..._0x2acf96(_0x54a844,_0x396c3e['fields'],(_0x1ac4a2=_0x396c3e[_0x1dfafb(0x1cb)])==null?_0x1dfafb(0x13c):_0x1ac4a2)},'orderKey':(_0x4f5bc1=_0x396c3e[_0x1dfafb(0x122)])==null?''+(_0x1621c7+_0x1a8a83):_0x4f5bc1,'createdAt':(_0x32f2d2=_0x396c3e[_0x1dfafb(0x18f)])==null?_0x1621c7:_0x32f2d2,'updatedAt':(_0x32538b=_0x396c3e[_0x1dfafb(0x18a)])==null?_0x1621c7:_0x32538b,'createdBy':_0x396c3e['createdBy'],'updatedBy':_0x396c3e[_0x1dfafb(0x15d)]};});return _0x1d2078(_0x3877f6[_0x52606c(0x244)]['id'],this[_0x52606c(0x27b)][_0x52606c(0x295)](_0x3877f6[_0x52606c(0x244)]['id'],{'unitId':this[_0x52606c(0x1cf)][_0x52606c(0x208)](),'tableId':this[_0x52606c(0x292)],'records':_0x4ff3f4}),{'unitId':this[_0x52606c(0x1cf)]['getUnitId'](),'tableId':this[_0x52606c(0x292)],'recordIds':_0x4ff3f4[_0x52606c(0x160)](_0x5a1261=>_0x5a1261['id'])}),_0x4ff3f4['map'](_0x4dabac=>this[_0x52606c(0x172)](_0x4dabac['id']));}[_0x3f2a15(0x173)](_0xafe781,_0x55c43f={}){const _0x28be9a=_0x3f2a15;let _0x5d091a=this[_0x28be9a(0x248)](),_0x44dc95=_0xafe781[_0x28be9a(0x160)](_0x28d48a=>{const _0x1142b5=_0x28be9a;var _0x5b2ac7,_0x539e7c,_0x146d72,_0x5c3f04;return{'recordId':_0x28d48a[_0x1142b5(0x1c5)],'values':{..._0x2acf96(_0x5d091a,_0x28d48a[_0x1142b5(0x14a)],(_0x5b2ac7=(_0x539e7c=_0x28d48a[_0x1142b5(0x1cb)])==null?_0x55c43f[_0x1142b5(0x1cb)]:_0x539e7c)==null?'id':_0x5b2ac7),..._0x2acf96(_0x5d091a,_0x28d48a['fields'],(_0x146d72=(_0x5c3f04=_0x28d48a[_0x1142b5(0x1cb)])==null?_0x55c43f[_0x1142b5(0x1cb)]:_0x5c3f04)==null?_0x1142b5(0x13c):_0x146d72)}};});_0x1d2078(_0x3877f6[_0x28be9a(0x22e)]['id'],this['_commandService']['syncExecuteCommand'](_0x3877f6['SetBaseRecordValuesCommand']['id'],{'unitId':this[_0x28be9a(0x1cf)]['getUnitId'](),'tableId':this['_tableId'],'patches':_0x44dc95}),{'unitId':this['_base'][_0x28be9a(0x208)](),'tableId':this['_tableId'],'recordIds':_0x44dc95[_0x28be9a(0x160)](_0x16f39c=>_0x16f39c[_0x28be9a(0x1c5)])});}[_0x3f2a15(0x231)](_0x2773fe,_0x2ed1e7,_0x4a671e={}){this['setRecordValues']([{'recordId':_0x2773fe,'values':_0x2ed1e7}],_0x4a671e);}[_0x3f2a15(0x168)](_0x33fd5f){const _0x148827=_0x3f2a15;_0x1d2078(_0x3877f6[_0x148827(0x176)]['id'],this['_commandService'][_0x148827(0x295)](_0x3877f6['DeleteBaseRecordCommand']['id'],{'unitId':this[_0x148827(0x1cf)][_0x148827(0x208)](),'tableId':this[_0x148827(0x292)],'recordId':_0x33fd5f}),{'unitId':this[_0x148827(0x1cf)]['getUnitId'](),'tableId':this[_0x148827(0x292)],'recordId':_0x33fd5f});}[_0x3f2a15(0x1de)](_0x54be3c){const _0x5ba95f=_0x3f2a15;_0x54be3c[_0x5ba95f(0x27f)]&&_0x1d2078(_0x3877f6[_0x5ba95f(0x180)]['id'],this[_0x5ba95f(0x27b)][_0x5ba95f(0x295)](_0x3877f6[_0x5ba95f(0x180)]['id'],{'unitId':this[_0x5ba95f(0x1cf)][_0x5ba95f(0x208)](),'tableId':this[_0x5ba95f(0x292)],'recordIds':_0x54be3c}),{'unitId':this[_0x5ba95f(0x1cf)][_0x5ba95f(0x208)](),'tableId':this[_0x5ba95f(0x292)],'recordIds':_0x54be3c});}[_0x3f2a15(0x269)](_0x3ab3e0,_0x31fa9c={}){const _0x24a9ec=_0x3f2a15;var _0x34542a,_0x1c30d2,_0x430577,_0x7e0776,_0x5a9ce3,_0x4f1ecf;let _0x19c3b2=this[_0x24a9ec(0x248)]()['records'][_0x3ab3e0];if(!_0x19c3b2||_0x19c3b2[_0x24a9ec(0x1af)])throw Error(_0x24a9ec(0x1ea)+_0x3ab3e0+_0x24a9ec(0x1ac));let _0x2fef89=Date[_0x24a9ec(0x190)](),_0x5046a6={'id':(_0x34542a=_0x31fa9c['id'])==null?_0x29f047('record'):_0x34542a,'values':{..._0x2acf96(this['_getTable'](),_0x31fa9c[_0x24a9ec(0x14a)],(_0x1c30d2=_0x31fa9c[_0x24a9ec(0x1cb)])==null?'id':_0x1c30d2),..._0x2acf96(this[_0x24a9ec(0x248)](),_0x31fa9c[_0x24a9ec(0x213)],(_0x430577=_0x31fa9c[_0x24a9ec(0x1cb)])==null?_0x24a9ec(0x13c):_0x430577)},'orderKey':(_0x7e0776=_0x31fa9c[_0x24a9ec(0x122)])==null?''+_0x2fef89:_0x7e0776,'createdAt':(_0x5a9ce3=_0x31fa9c[_0x24a9ec(0x18f)])==null?_0x2fef89:_0x5a9ce3,'updatedAt':(_0x4f1ecf=_0x31fa9c[_0x24a9ec(0x18a)])==null?_0x2fef89:_0x4f1ecf,'createdBy':_0x31fa9c[_0x24a9ec(0x12c)],'updatedBy':_0x31fa9c[_0x24a9ec(0x15d)]};return _0x1d2078(_0x3877f6[_0x24a9ec(0x1b0)]['id'],this[_0x24a9ec(0x27b)][_0x24a9ec(0x295)](_0x3877f6[_0x24a9ec(0x1b0)]['id'],{'unitId':this['_base'][_0x24a9ec(0x208)](),'tableId':this['_tableId'],'sourceRecordId':_0x3ab3e0,'record':_0x5046a6}),{'unitId':this['_base']['getUnitId'](),'tableId':this['_tableId'],'recordId':_0x5046a6['id'],'sourceRecordId':_0x3ab3e0}),this[_0x24a9ec(0x172)](_0x5046a6['id']);}[_0x3f2a15(0x187)](_0x4f8db7,_0x3bb362,_0x43d8cf){const _0x54dfc0=_0x3f2a15;_0x1d2078(_0x3877f6[_0x54dfc0(0x24e)]['id'],this[_0x54dfc0(0x27b)][_0x54dfc0(0x295)](_0x3877f6[_0x54dfc0(0x24e)]['id'],{'unitId':this[_0x54dfc0(0x1cf)][_0x54dfc0(0x208)](),'tableId':this[_0x54dfc0(0x292)],'recordId':_0x4f8db7,'fieldId':_0x3bb362,'value':_0x43d8cf}),{'unitId':this[_0x54dfc0(0x1cf)]['getUnitId'](),'tableId':this[_0x54dfc0(0x292)],'recordId':_0x4f8db7,'fieldId':_0x3bb362});}[_0x3f2a15(0x241)](_0xb79681,_0x2b30d9,_0x4238a8){this['updateCell'](_0xb79681,_0x2b30d9,_0x4238a8);}[_0x3f2a15(0x2da)](_0x2d9a74,_0x48c9c0){const _0x57c4fd=_0x3f2a15;var _0x189484,_0x40afb9;return(_0x189484=(_0x40afb9=this[_0x57c4fd(0x248)]()[_0x57c4fd(0x16b)][_0x2d9a74])==null||(_0x40afb9=_0x40afb9['values'])==null?void 0x0:_0x40afb9[_0x48c9c0])==null?null:_0x189484;}[_0x3f2a15(0x197)](_0x352bfd,_0x3d6bf5){const _0x17639b=_0x3f2a15;var _0x33ae72;_0x1d2078(_0x3877f6[_0x17639b(0x1b6)]['id'],this[_0x17639b(0x27b)]['syncExecuteCommand'](_0x3877f6[_0x17639b(0x1b6)]['id'],{'unitId':this['_base'][_0x17639b(0x208)](),'tableId':this[_0x17639b(0x292)],'recordId':_0x352bfd,'orderKey':(_0x33ae72=_0x3d6bf5[_0x17639b(0x122)])==null?this['_getTable']()[_0x17639b(0x16b)][_0x352bfd][_0x17639b(0x122)]:_0x33ae72}),{'unitId':this[_0x17639b(0x1cf)][_0x17639b(0x208)](),'tableId':this['_tableId'],'recordId':_0x352bfd});}['getRange'](_0x419b12,_0x3808f7,_0x2445b8=0x1,_0x26ca01=0x1){const _0x1d8a2e=_0x3f2a15;return new _0x2ef4ee(this[_0x1d8a2e(0x1cf)],this[_0x1d8a2e(0x292)],{'startRow':_0x419b12,'endRow':_0x419b12+_0x2445b8-0x1,'startColumn':_0x3808f7,'endColumn':_0x3808f7+_0x26ca01-0x1},this[_0x1d8a2e(0x27b)]);}[_0x3f2a15(0x1c2)](){const _0x577158=_0x3f2a15;var _0x2dc181,_0x3a936f;let _0x18d7fd=(0x0,_0x3877f6[_0x577158(0x256)])(this[_0x577158(0x248)]()),_0x1d8e66=(_0x2dc181=(_0x3a936f=_0x18d7fd[_0x577158(0x2db)])==null?void 0x0:_0x3a936f['filter'](_0x18726d=>{const _0xdac9c7=_0x577158;var _0x585715;return!((_0x585715=_0x18d7fd[_0xdac9c7(0x16b)][_0x18726d])!=null&&_0x585715['deleted']);})[_0x577158(0x27f)])==null?0x0:_0x2dc181,_0x5b503a=_0x18d7fd[_0x577158(0x188)][_0x577158(0x163)](_0x214d3e=>{const _0x132ea9=_0x577158;var _0x599704;return!((_0x599704=_0x18d7fd[_0x132ea9(0x213)][_0x214d3e])!=null&&_0x599704['deleted']);})['length'];return this[_0x577158(0x275)](0x0,0x0,Math[_0x577158(0x247)](_0x1d8e66,0x1),Math[_0x577158(0x247)](_0x5b503a,0x1));}[_0x3f2a15(0x145)](){const _0xaf9c08=_0x3f2a15;let _0x561849=this[_0xaf9c08(0x248)]();return _0x561849[_0xaf9c08(0x294)][_0xaf9c08(0x160)](_0x1a2048=>_0x561849[_0xaf9c08(0x28e)][_0x1a2048])['filter'](_0xbff369=>!!(_0xbff369&&!_0xbff369['deleted']))[_0xaf9c08(0x160)](_0x5598a3=>this['_wrapView'](_0x5598a3['id']));}[_0x3f2a15(0x19d)](){const _0x1122a2=_0x3f2a15;return this[_0x1122a2(0x145)]();}[_0x3f2a15(0x167)](_0x1eabcb){const _0x1b8780=_0x3f2a15;let _0x38da04=this[_0x1b8780(0x248)]()[_0x1b8780(0x28e)][_0x1eabcb];return _0x38da04&&!_0x38da04[_0x1b8780(0x1af)]?this[_0x1b8780(0x1a6)](_0x38da04['id']):null;}[_0x3f2a15(0x19b)](_0x5484c4){const _0x1eb068=_0x3f2a15;return this[_0x1eb068(0x167)](_0x5484c4);}[_0x3f2a15(0x220)](_0x1186d2){const _0x3e254e=_0x3f2a15;let _0x3bcd3c=Object[_0x3e254e(0x14a)](this[_0x3e254e(0x248)]()[_0x3e254e(0x28e)])[_0x3e254e(0x152)](_0x1992f1=>!_0x1992f1[_0x3e254e(0x1af)]&&_0x1992f1[_0x3e254e(0x13c)]===_0x1186d2);return _0x3bcd3c?this['_wrapView'](_0x3bcd3c['id']):null;}[_0x3f2a15(0x20f)](_0x1bb17a){const _0x46ba32=_0x3f2a15;var _0x1c41ec,_0x56068a;let _0x170bc0=this[_0x46ba32(0x248)](),_0x3a5b0a={'id':(_0x1c41ec=_0x1bb17a['id'])==null?_0x29f047(_0x46ba32(0x165)):_0x1c41ec,'tableId':this[_0x46ba32(0x292)],'name':_0x1bb17a['name'],'type':_0x1bb17a[_0x46ba32(0x1be)],'fieldOrder':[..._0x170bc0[_0x46ba32(0x188)]],'fieldSettings':{},'config':(_0x56068a=_0x1bb17a[_0x46ba32(0x243)])==null?{}:_0x56068a};return _0x1d2078(_0x3877f6['CreateBaseViewCommand']['id'],this[_0x46ba32(0x27b)][_0x46ba32(0x295)](_0x3877f6[_0x46ba32(0x272)]['id'],{'unitId':this[_0x46ba32(0x1cf)][_0x46ba32(0x208)](),'tableId':this[_0x46ba32(0x292)],'view':_0x3a5b0a,'index':_0x1bb17a['index']}),{'unitId':this[_0x46ba32(0x1cf)][_0x46ba32(0x208)](),'tableId':this[_0x46ba32(0x292)],'viewId':_0x3a5b0a['id']}),this[_0x46ba32(0x1a6)](_0x3a5b0a['id']);}[_0x3f2a15(0x21f)](_0x1001e3){const _0x1113b3=_0x3f2a15;_0x1d2078(_0x3877f6[_0x1113b3(0x2c7)]['id'],this['_commandService'][_0x1113b3(0x295)](_0x3877f6[_0x1113b3(0x2c7)]['id'],{'unitId':this['_base'][_0x1113b3(0x208)](),'tableId':this[_0x1113b3(0x292)],'viewId':_0x1001e3}),{'unitId':this[_0x1113b3(0x1cf)][_0x1113b3(0x208)](),'tableId':this[_0x1113b3(0x292)],'viewId':_0x1001e3});}[_0x3f2a15(0x17c)](){const _0x107162=_0x3f2a15;let _0x516dd1=this[_0x107162(0x248)](),_0x30e35f=_0x516dd1[_0x107162(0x188)][_0x107162(0x163)](_0x574c3a=>{const _0x2a4a95=_0x107162;var _0x5edb87;return!((_0x5edb87=_0x516dd1[_0x2a4a95(0x213)][_0x574c3a])!=null&&_0x5edb87[_0x2a4a95(0x1af)]);}),_0xfdc755=_0x516dd1[_0x107162(0x294)][_0x107162(0x163)](_0x2efcd6=>{const _0x1e445c=_0x107162;var _0x17ad5b;return!((_0x17ad5b=_0x516dd1[_0x1e445c(0x28e)][_0x2efcd6])!=null&&_0x17ad5b[_0x1e445c(0x1af)]);});return{'id':_0x516dd1['id'],'name':_0x516dd1[_0x107162(0x13c)],'primaryFieldId':_0x516dd1[_0x107162(0x141)],'fieldIds':_0x30e35f,'viewIds':_0xfdc755,'recordCount':this['_resolveRecordIds']({})['length'],'fields':_0x30e35f[_0x107162(0x160)](_0x1a7b7a=>{const _0x2671cd=_0x107162;let _0x1bd5a4=_0x516dd1[_0x2671cd(0x213)][_0x1a7b7a];return{'id':_0x1bd5a4['id'],'name':_0x1bd5a4[_0x2671cd(0x13c)],'type':_0x1bd5a4[_0x2671cd(0x1be)],'config':_0x1bd5a4[_0x2671cd(0x243)],'readonly':_0x1bd5a4['readonly'],'description':_0x1bd5a4['description']};}),'views':_0xfdc755['map'](_0x5c53a2=>{const _0x1404dc=_0x107162;let _0x255b4d=_0x516dd1['views'][_0x5c53a2];return{'id':_0x255b4d['id'],'name':_0x255b4d[_0x1404dc(0x13c)],'type':_0x255b4d[_0x1404dc(0x1be)]};})};}[_0x3f2a15(0x23d)](){const _0x236b40=_0x3f2a15;return new _0x20d2dc(this[_0x236b40(0x292)],this['_permissionService']);}['_getTable'](){const _0x4c5e54=_0x3f2a15;let _0x2e9a6a=this['_base'][_0x4c5e54(0x1c8)]()[_0x4c5e54(0x1a9)][this[_0x4c5e54(0x292)]];if(!_0x2e9a6a||_0x2e9a6a[_0x4c5e54(0x1af)])throw Error(_0x4c5e54(0x264)+this[_0x4c5e54(0x292)]+_0x4c5e54(0x1ac));return _0x2e9a6a;}[_0x3f2a15(0x237)](_0x2c57e6){const _0xee6609=_0x3f2a15;return new _0x525c79(this[_0xee6609(0x1cf)],this[_0xee6609(0x292)],_0x2c57e6,this['_commandService']);}[_0x3f2a15(0x172)](_0x40bef2){const _0x3ef04f=_0x3f2a15;return new _0x20dafd(this[_0x3ef04f(0x1cf)],this[_0x3ef04f(0x292)],_0x40bef2,this[_0x3ef04f(0x27b)]);}[_0x3f2a15(0x1a6)](_0x2155c9){const _0x3da93d=_0x3f2a15;return new _0x4aa030(this['_base'],this['_tableId'],_0x2155c9,this[_0x3da93d(0x27b)],this[_0x3da93d(0x1e9)]);}};function _0x2a721e(_0xd1fd86,_0x4e8235){const _0x129f32=_0x3f2a15;var _0x5c7afe;let _0x580536=Math[_0x129f32(0x247)](0x0,(_0x5c7afe=_0x4e8235['offset'])==null?0x0:_0x5c7afe);return _0x4e8235[_0x129f32(0x207)]==null?_0xd1fd86[_0x129f32(0x1eb)](_0x580536):_0xd1fd86[_0x129f32(0x1eb)](_0x580536,_0x580536+Math['max'](0x0,_0x4e8235['limit']));}function _0x66dba9(_0x4c8efb,_0x49d50f,_0x337c1c=[]){const _0x4f39cf=_0x3f2a15;return _0x337c1c[_0x4f39cf(0x27f)]?[..._0x4c8efb]['sort']((_0x1f0ceb,_0x546d10)=>{const _0x38016f=_0x4f39cf;var _0x3a9d9c,_0x127734;for(let _0x1934f8 of _0x337c1c){var _0x37a6d0;let _0x52ee4e=_0x1934f8[_0x38016f(0x239)]==='desc'?-0x1:0x1,_0xefe330=_0x456b6d(_0x1f0ceb[_0x38016f(0x14a)][_0x1934f8['fieldId']],_0x546d10[_0x38016f(0x14a)][_0x1934f8['fieldId']],(_0x37a6d0=_0x49d50f['fields'][_0x1934f8[_0x38016f(0x1aa)]])==null?void 0x0:_0x37a6d0[_0x38016f(0x1be)]);if(_0xefe330!==0x0)return _0xefe330*_0x52ee4e;}return String((_0x3a9d9c=_0x1f0ceb['orderKey'])==null?_0x1f0ceb['id']:_0x3a9d9c)['localeCompare'](String((_0x127734=_0x546d10[_0x38016f(0x122)])==null?_0x546d10['id']:_0x127734));}):_0x4c8efb;}function _0x456b6d(_0x209419,_0x1d9d96,_0x4d2e61){const _0xdfb9b6=_0x3f2a15;return _0x209419==null&&_0x1d9d96==null?0x0:_0x209419==null?-0x1:_0x1d9d96==null?0x1:typeof _0x209419==_0xdfb9b6(0x270)&&typeof _0x1d9d96==_0xdfb9b6(0x270)?_0x209419-_0x1d9d96:_0x4d2e61===_0xdfb9b6(0x202)?Number(_0x209419)-Number(_0x1d9d96):String(_0x209419)[_0xdfb9b6(0x1a4)](String(_0x1d9d96));}function _0x2adf38(_0x140fe9,_0x587818){const _0x31a52d=_0x3f2a15;var _0x10f327;if(!_0x587818)return!0x0;if((_0x10f327=_0x587818[_0x31a52d(0x1ce)])!=null&&_0x10f327[_0x31a52d(0x27f)])return _0x587818[_0x31a52d(0x2b2)]==='or'?_0x587818[_0x31a52d(0x1ce)][_0x31a52d(0x214)](_0x415229=>_0x2adf38(_0x140fe9,_0x415229)):_0x587818[_0x31a52d(0x1ce)][_0x31a52d(0x132)](_0x4e202f=>_0x2adf38(_0x140fe9,_0x4e202f));if(!_0x587818[_0x31a52d(0x1aa)]||!_0x587818[_0x31a52d(0x18b)])return!0x0;let _0x199fe8=_0x140fe9['values'][_0x587818[_0x31a52d(0x1aa)]],_0x2192d6=_0x587818['value'],_0x18fa97=_0x52b1fa(_0x199fe8),_0x2412c0=_0x52b1fa(_0x2192d6),_0x3c997f=Array[_0x31a52d(0x284)](_0x199fe8)||Array[_0x31a52d(0x284)](_0x2192d6),_0x3a1bc1=_0x2412c0[_0x31a52d(0x214)](_0x348371=>_0x18fa97[_0x31a52d(0x1c0)](_0x348371)),_0x6e53ed=_0x2bf2b4(_0x199fe8,_0x2192d6);switch(_0x587818[_0x31a52d(0x18b)]){case'is':return _0x3c997f?_0x3a1bc1:_0x6e53ed;case _0x31a52d(0x1c6):return _0x3c997f?!_0x3a1bc1:!_0x6e53ed;case _0x31a52d(0x1ef):return _0x3c997f?_0x3a1bc1:_0x1d47a5(String(_0x199fe8==null?'':_0x199fe8))['includes'](_0x1d47a5(String(_0x2192d6==null?'':_0x2192d6)));case'doesNotContain':return _0x3c997f?!_0x3a1bc1:!_0x1d47a5(String(_0x199fe8==null?'':_0x199fe8))[_0x31a52d(0x1c0)](_0x1d47a5(String(_0x2192d6==null?'':_0x2192d6)));case'matches':return _0xd27c86(_0x587818)['test'](String(_0x199fe8==null?'':_0x199fe8));case _0x31a52d(0x28d):return!_0xd27c86(_0x587818)['test'](String(_0x199fe8==null?'':_0x199fe8));case _0x31a52d(0x178):return _0x199fe8==null||_0x199fe8===''||Array[_0x31a52d(0x284)](_0x199fe8)&&_0x199fe8[_0x31a52d(0x27f)]===0x0;case _0x31a52d(0x1ae):return!(_0x199fe8==null||_0x199fe8===''||Array[_0x31a52d(0x284)](_0x199fe8)&&_0x199fe8[_0x31a52d(0x27f)]===0x0);case _0x31a52d(0x15b):return Number(_0x199fe8)>Number(_0x2192d6);case _0x31a52d(0x2dc):return Number(_0x199fe8)>=Number(_0x2192d6);case'lessThan':return Number(_0x199fe8)<Number(_0x2192d6);case'lessThanOrEqual':return Number(_0x199fe8)<=Number(_0x2192d6);default:return!0x0;}}function _0xd27c86(_0x31e028){const _0x1a0e78=_0x3f2a15;var _0x1abeac;let _0x1ddd21=String((_0x1abeac=_0x31e028[_0x1a0e78(0x28c)])==null?'':_0x1abeac);if(_0x1ddd21[_0x1a0e78(0x27f)]>0x200)throw new _0x5df432(_0x4133cf[_0x1a0e78(0x16d)],_0x1a0e78(0x281),{'fieldId':_0x31e028[_0x1a0e78(0x1aa)],'operator':_0x31e028['operator'],'patternLength':_0x1ddd21[_0x1a0e78(0x27f)],'maxLength':0x200});try{return new RegExp(_0x1ddd21,_0x31e028['caseSensitive']?void 0x0:'i');}catch(_0x1b816b){throw new _0x5df432(_0x4133cf[_0x1a0e78(0x16d)],_0x1a0e78(0x2c3)+_0x1ddd21,{'fieldId':_0x31e028['fieldId'],'operator':_0x31e028['operator'],'pattern':_0x1ddd21,'cause':_0x1b816b});}}function _0x2bf2b4(_0x134d9d,_0x499a60){const _0x24f03d=_0x3f2a15;return typeof _0x134d9d==_0x24f03d(0x15f)&&typeof _0x499a60==_0x24f03d(0x15f)?_0x1d47a5(_0x134d9d)===_0x1d47a5(_0x499a60):_0x134d9d===_0x499a60;}function _0x1d47a5(_0x4eb783){const _0x487a43=_0x3f2a15;return _0x4eb783[_0x487a43(0x22f)]();}function _0x52b1fa(_0x244bc8){const _0x26f2cb=_0x3f2a15;return _0x244bc8==null||_0x244bc8===''?[]:Array[_0x26f2cb(0x284)](_0x244bc8)?_0x244bc8[_0x26f2cb(0x177)](_0x1293f1=>_0x52b1fa(_0x1293f1))[_0x26f2cb(0x163)]((_0x21a4d1,_0x4ab6a9,_0x91d33e)=>_0x91d33e[_0x26f2cb(0x1bb)](_0x21a4d1)===_0x4ab6a9):[_0x1d47a5(String(_0x244bc8))];}function _0x29f047(_0x4c978c){const _0x4285f4=_0x3f2a15;return _0x4c978c+'-'+Math[_0x4285f4(0x217)]()[_0x4285f4(0x210)](0x24)[_0x4285f4(0x1eb)](0x2,0xa);}var _0x46bebe=class{constructor(_0x43f9a2,_0x7fad20,_0xeada30,_0x42a343,_0x4797e6){const _0x26223c=_0x3f2a15;this[_0x26223c(0x1cf)]=_0x43f9a2,this['_outerCommandService']=_0x7fad20,this['_baseCommandService']=_0xeada30,this[_0x26223c(0x15e)]=_0x42a343,this['_univerInstanceService']=_0x4797e6,_0x135c8d(this,_0x26223c(0x238),void 0x0),_0x135c8d(this,_0x26223c(0x233),void 0x0),_0x135c8d(this,'_factory',new _0x3877f6[(_0x26223c(0x2a9))]()),_0x135c8d(this,_0x26223c(0x2cc),new _0x3877f6['BaseJson1OpApplier']()),_0x135c8d(this,'_initialSnapshot',void 0x0),_0x135c8d(this,_0x26223c(0x2cd),null),this['_initialSnapshot']=_0x43f9a2[_0x26223c(0x1c8)](),this[_0x26223c(0x238)]=new this[(_0x26223c(0x1cf))]['constructor'](),this['draftBase']['setSnapshot'](this[_0x26223c(0x28f)]),this[_0x26223c(0x233)]=new _0x20c3d5(this);}[_0x3f2a15(0x1b9)](_0x492e3b,_0x391fe4){const _0x5f0556=_0x3f2a15;let _0x26abf7=this[_0x5f0556(0x136)](_0x492e3b,_0x391fe4);return this[_0x5f0556(0x2cd)]=this[_0x5f0556(0x2cd)]?_0x5bbd72[_0x5f0556(0x2d4)][_0x5f0556(0x1be)][_0x5f0556(0x2ad)](this['_op'],_0x26abf7):_0x26abf7,this[_0x5f0556(0x238)][_0x5f0556(0x199)](this['_applier'][_0x5f0556(0x11f)](this['draftBase'][_0x5f0556(0x1c8)](),_0x26abf7)),!0x0;}[_0x3f2a15(0x290)](){const _0x21a7c8=_0x3f2a15;var _0x3ddd88,_0x45055d;if(!this[_0x21a7c8(0x2cd)])return;let _0x13d96a=this[_0x21a7c8(0x2cc)][_0x21a7c8(0x216)](this[_0x21a7c8(0x28f)],this['_op']);_0x1d2078(_0x3877f6[_0x21a7c8(0x184)]['id'],this['_outerCommandService'][_0x21a7c8(0x295)](_0x3877f6[_0x21a7c8(0x184)]['id'],{'unitId':this[_0x21a7c8(0x1cf)][_0x21a7c8(0x208)](),'op':this[_0x21a7c8(0x2cd)],'trigger':_0x21a7c8(0x205)}),{'unitId':this[_0x21a7c8(0x1cf)][_0x21a7c8(0x208)]()}),(_0x3ddd88=this[_0x21a7c8(0x24d)])==null||_0x3ddd88['focusUnit'](this['_base']['getUnitId']()),(_0x45055d=this[_0x21a7c8(0x15e)])==null||_0x45055d['pushUndoRedo']({'unitID':this['_base'][_0x21a7c8(0x208)](),'undoMutations':[{'id':_0x3877f6[_0x21a7c8(0x184)]['id'],'params':{'unitId':this['_base'][_0x21a7c8(0x208)](),'op':_0x13d96a}}],'redoMutations':[{'id':_0x3877f6[_0x21a7c8(0x184)]['id'],'params':{'unitId':this[_0x21a7c8(0x1cf)]['getUnitId'](),'op':this[_0x21a7c8(0x2cd)]}}]});}[_0x3f2a15(0x136)](_0x5050e0,_0x40da8c){const _0x4733f8=_0x3f2a15;let _0x4148c5=this[_0x4733f8(0x238)][_0x4733f8(0x1c8)]();switch(_0x5050e0){case _0x3877f6[_0x4733f8(0x20a)]['id']:return this['_factory'][_0x4733f8(0x154)](_0x4148c5,_0x40da8c[_0x4733f8(0x1bf)],_0x40da8c['index']);case _0x3877f6[_0x4733f8(0x171)]['id']:return this['_factory']['renameTable'](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x13c)]));case _0x3877f6[_0x4733f8(0x1a8)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x18d)](_0x4148c5,String(_0x40da8c['tableId']));case _0x3877f6[_0x4733f8(0x24e)]['id']:return this['_baseCommandService'][_0x4733f8(0x2a5)](this['draftBase'],String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['recordId']),String(_0x40da8c[_0x4733f8(0x1aa)]),_0x40da8c[_0x4733f8(0x28c)]);case _0x3877f6['SetBaseRecordValuesCommand']['id']:return this[_0x4733f8(0x1dc)][_0x4733f8(0x118)](this[_0x4733f8(0x238)],String(_0x40da8c['tableId']),_0x40da8c[_0x4733f8(0x1f7)]);case _0x3877f6[_0x4733f8(0x2c6)]['id']:return this[_0x4733f8(0x2b8)]['setRangeValues'](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),_0x40da8c[_0x4733f8(0x1f7)]);case _0x3877f6[_0x4733f8(0x257)]['id']:return this[_0x4733f8(0x1dc)]['createCreateRecordOp'](this['draftBase'],String(_0x40da8c['tableId']),_0x40da8c[_0x4733f8(0x12f)]);case _0x3877f6[_0x4733f8(0x244)]['id']:return this[_0x4733f8(0x1dc)][_0x4733f8(0x1e4)](this[_0x4733f8(0x238)],String(_0x40da8c[_0x4733f8(0x140)]),_0x40da8c[_0x4733f8(0x16b)]);case _0x3877f6[_0x4733f8(0x176)]['id']:return this['_factory']['deleteRecord'](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x1c5)]));case _0x3877f6[_0x4733f8(0x180)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x1de)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),_0x40da8c[_0x4733f8(0x1f8)]);case _0x3877f6[_0x4733f8(0x1b0)]['id']:return this['_factory'][_0x4733f8(0x269)](_0x4148c5,String(_0x40da8c['tableId']),String(_0x40da8c[_0x4733f8(0x26a)]),_0x40da8c[_0x4733f8(0x12f)]);case _0x3877f6['UpdateBaseRecordOrderCommand']['id']:return this[_0x4733f8(0x2b8)]['updateRecordOrder'](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x1c5)]),String(_0x40da8c[_0x4733f8(0x122)]));case _0x3877f6[_0x4733f8(0x2d0)]['id']:return this[_0x4733f8(0x1dc)][_0x4733f8(0x209)](this[_0x4733f8(0x238)],String(_0x40da8c['tableId']),_0x40da8c['field'],_0x40da8c['index'],_0x40da8c['viewIndexes']);case _0x3877f6[_0x4733f8(0x2c9)]['id']:return this['_factory'][_0x4733f8(0x11c)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['fieldId']),_0x40da8c[_0x4733f8(0x2d9)]);case _0x3877f6['ChangeBaseFieldTypeCommand']['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x2bb)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x1aa)]),_0x40da8c[_0x4733f8(0x1f2)]);case _0x3877f6[_0x4733f8(0x1a3)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x191)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x1aa)]));case _0x3877f6[_0x4733f8(0x144)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x2a7)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x1aa)]),_0x40da8c[_0x4733f8(0x1c7)]);case _0x3877f6[_0x4733f8(0x272)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x20f)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),_0x40da8c[_0x4733f8(0x165)],_0x40da8c[_0x4733f8(0x2a3)]);case _0x3877f6[_0x4733f8(0x29f)]['id']:return this[_0x4733f8(0x2b8)]['renameView'](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x246)]),String(_0x40da8c['name']));case _0x3877f6[_0x4733f8(0x2c7)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x21f)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x246)]));case _0x3877f6[_0x4733f8(0x223)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x195)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x246)]),_0x40da8c[_0x4733f8(0x1c7)]);case _0x3877f6[_0x4733f8(0x2c5)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x26d)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['viewId']),_0x40da8c[_0x4733f8(0x2d9)]);case _0x3877f6[_0x4733f8(0x186)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x1f3)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x246)]),_0x40da8c[_0x4733f8(0x163)]);case _0x3877f6[_0x4733f8(0x170)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x206)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c[_0x4733f8(0x246)]),_0x40da8c[_0x4733f8(0x1ed)]);case _0x3877f6['SetBaseViewGroupCommand']['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x2c0)](_0x4148c5,String(_0x40da8c['tableId']),String(_0x40da8c[_0x4733f8(0x246)]),_0x40da8c['group']);case _0x3877f6['SetBaseViewFieldVisibleCommand']['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x11a)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['viewId']),String(_0x40da8c['fieldId']),!!_0x40da8c[_0x4733f8(0x28b)]);case _0x3877f6[_0x4733f8(0x1d2)]['id']:return this['_factory'][_0x4733f8(0x1b1)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['viewId']),String(_0x40da8c[_0x4733f8(0x1aa)]),Number(_0x40da8c[_0x4733f8(0x2ae)]));case _0x3877f6[_0x4733f8(0x1cc)]['id']:return this[_0x4733f8(0x2b8)][_0x4733f8(0x282)](_0x4148c5,String(_0x40da8c[_0x4733f8(0x140)]),String(_0x40da8c['viewId']),String(_0x40da8c['fieldId']),_0x40da8c[_0x4733f8(0x1c7)]);default:throw new _0x5df432(_0x4133cf[_0x4733f8(0x166)],'Command\x20is\x20not\x20supported\x20in\x20Base\x20batch:\x20'+_0x5050e0,{'commandId':_0x5050e0});}}},_0x20c3d5=class{constructor(_0x4b4b9e){const _0x25f257=_0x3f2a15;this[_0x25f257(0x127)]=_0x4b4b9e;}['syncExecuteCommand'](_0x583fab,_0x4b9c68){const _0x5c05d9=_0x3f2a15;return this[_0x5c05d9(0x127)][_0x5c05d9(0x1b9)](_0x583fab,_0x4b9c68==null?{}:_0x4b9c68);}},_0x1b1ade=class _0xa62be5{constructor(_0x494008,_0x81d83b,_0x35533e,_0x37c860,_0x4b2f7f,_0x1bccb4,_0x4bcc94,_0x1affa4){const _0x142a29=_0x3f2a15;this[_0x142a29(0x1cf)]=_0x494008,this['_commandService']=_0x81d83b,this[_0x142a29(0x1e9)]=_0x35533e,this['_permissionService']=_0x37c860,this[_0x142a29(0x15e)]=_0x4b2f7f,this[_0x142a29(0x1dc)]=_0x1bccb4,this[_0x142a29(0x24d)]=_0x4bcc94,this[_0x142a29(0x11e)]=_0x1affa4;}[_0x3f2a15(0x23e)](){return this['_base'];}['getId'](){const _0x1dccd9=_0x3f2a15;return this[_0x1dccd9(0x1cf)][_0x1dccd9(0x208)]();}[_0x3f2a15(0x261)](){const _0x5672e9=_0x3f2a15;return this[_0x5672e9(0x1cf)][_0x5672e9(0x1c8)]()[_0x5672e9(0x13c)];}[_0x3f2a15(0x1d6)](){const _0x3de9c8=_0x3f2a15;let _0x49dc6b=this[_0x3de9c8(0x1cf)]['getSnapshot']();return _0x49dc6b[_0x3de9c8(0x218)]['map'](_0x4bac1a=>_0x49dc6b['tables'][_0x4bac1a])[_0x3de9c8(0x163)](_0x449663=>!!(_0x449663&&!_0x449663[_0x3de9c8(0x1af)]))[_0x3de9c8(0x160)](_0x5171c6=>this['_wrapTable'](_0x5171c6['id']));}[_0x3f2a15(0x1c8)](){return this['_base']['getSnapshot']();}[_0x3f2a15(0x13f)](){const _0x1d33aa=_0x3f2a15;return this[_0x1d33aa(0x1c8)]();}[_0x3f2a15(0x2aa)](_0x59272c){const _0x2de187=_0x3f2a15;this[_0x2de187(0x1cf)]['setName'](_0x59272c);}[_0x3f2a15(0x26b)](_0x3dbf38){const _0x249ede=_0x3f2a15;let _0x3f3cb7=this[_0x249ede(0x1cf)][_0x249ede(0x1c8)]()['tables'][_0x3dbf38];return _0x3f3cb7&&!_0x3f3cb7['deleted']?this['_wrapTable'](_0x3f3cb7['id']):null;}[_0x3f2a15(0x117)](_0xcb04d6){const _0x44c99a=_0x3f2a15;return this[_0x44c99a(0x26b)](_0xcb04d6);}[_0x3f2a15(0x161)](_0x520faa){const _0x3a340b=_0x3f2a15;let _0x3be9ee=Object['values'](this[_0x3a340b(0x1cf)][_0x3a340b(0x1c8)]()[_0x3a340b(0x1a9)])['find'](_0x3342e0=>!_0x3342e0[_0x3a340b(0x1af)]&&_0x3342e0[_0x3a340b(0x13c)]===_0x520faa);return _0x3be9ee?this['_wrapTable'](_0x3be9ee['id']):null;}[_0x3f2a15(0x154)](_0x5877f5){const _0x2b00d1=_0x3f2a15;var _0x5868a4;let _0x223fea=(_0x5868a4=_0x5877f5['id'])==null?_0x430b66('table'):_0x5868a4,_0x202c2e=(0x0,_0x5bbd72[_0x2b00d1(0x26e)])({'id':_0x223fea,'name':_0x5877f5['name'],'primaryFieldId':_0x430b66('field'),'primaryFieldName':_0x5877f5[_0x2b00d1(0x276)],'recordCount':0x0});return _0x1d2078(_0x3877f6[_0x2b00d1(0x20a)]['id'],this[_0x2b00d1(0x27b)][_0x2b00d1(0x295)](_0x3877f6[_0x2b00d1(0x20a)]['id'],{'unitId':this[_0x2b00d1(0x1cf)][_0x2b00d1(0x208)](),'table':_0x202c2e,'index':_0x5877f5[_0x2b00d1(0x2a3)]}),{'unitId':this['_base'][_0x2b00d1(0x208)](),'tableId':_0x223fea}),this[_0x2b00d1(0x1e6)](_0x202c2e['id']);}[_0x3f2a15(0x183)](_0x583d75){return this['createTable'](_0x583d75);}['renameTable'](_0x4b4dca,_0x5de63b){const _0x512f5b=_0x3f2a15;_0x1d2078(_0x3877f6[_0x512f5b(0x171)]['id'],this['_commandService'][_0x512f5b(0x295)](_0x3877f6[_0x512f5b(0x171)]['id'],{'unitId':this[_0x512f5b(0x1cf)][_0x512f5b(0x208)](),'tableId':_0x4b4dca,'name':_0x5de63b}),{'unitId':this[_0x512f5b(0x1cf)][_0x512f5b(0x208)](),'tableId':_0x4b4dca});}[_0x3f2a15(0x18d)](_0x1562bb){const _0x2c7710=_0x3f2a15;_0x1d2078(_0x3877f6[_0x2c7710(0x1a8)]['id'],this['_commandService'][_0x2c7710(0x295)](_0x3877f6[_0x2c7710(0x1a8)]['id'],{'unitId':this[_0x2c7710(0x1cf)][_0x2c7710(0x208)](),'tableId':_0x1562bb}),{'unitId':this[_0x2c7710(0x1cf)][_0x2c7710(0x208)](),'tableId':_0x1562bb});}[_0x3f2a15(0x2ca)](_0x8348d3,_0x4ad2f6={}){const _0x4167a4=_0x3f2a15;var _0xef9350,_0x574224;let _0x30eea2=this[_0x4167a4(0x1cf)][_0x4167a4(0x1c8)]()[_0x4167a4(0x1a9)][_0x8348d3];if(!_0x30eea2||_0x30eea2['deleted'])throw Error(_0x4167a4(0x28a)+_0x8348d3+_0x4167a4(0x1ac));let _0x33fa71=(_0xef9350=_0x4ad2f6['id'])==null?_0x430b66(_0x4167a4(0x1bf)):_0xef9350,_0x4c10b1=(0x0,_0x3877f6[_0x4167a4(0x1bc)])(_0x30eea2,{'id':_0x33fa71,'name':(_0x574224=_0x4ad2f6['name'])==null?_0x30eea2[_0x4167a4(0x13c)]+_0x4167a4(0x265):_0x574224,'includeRecords':_0x4ad2f6[_0x4167a4(0x12b)]===!0x0});return _0x1d2078(_0x3877f6[_0x4167a4(0x20a)]['id'],this[_0x4167a4(0x27b)][_0x4167a4(0x295)](_0x3877f6['CreateBaseTableCommand']['id'],{'unitId':this[_0x4167a4(0x1cf)][_0x4167a4(0x208)](),'table':_0x4c10b1,'index':_0x4ad2f6[_0x4167a4(0x2a3)]}),{'unitId':this[_0x4167a4(0x1cf)][_0x4167a4(0x208)](),'tableId':_0x33fa71,'sourceTableId':_0x8348d3}),this[_0x4167a4(0x1e6)](_0x4c10b1['id']);}[_0x3f2a15(0x148)](_0x50d253){const _0x219f91=_0x3f2a15;if(this[_0x219f91(0x11e)])throw new _0x5df432(_0x4133cf[_0x219f91(0x1f4)],_0x219f91(0x20e),{'unitId':this[_0x219f91(0x1cf)][_0x219f91(0x208)]()});if(!this[_0x219f91(0x1dc)])throw new _0x5df432(_0x4133cf[_0x219f91(0x166)],_0x219f91(0x29d),{'unitId':this[_0x219f91(0x1cf)]['getUnitId']()});let _0x47e89b=new _0x46bebe(this[_0x219f91(0x1cf)],this[_0x219f91(0x27b)],this[_0x219f91(0x1dc)],this[_0x219f91(0x15e)],this[_0x219f91(0x24d)]),_0x585a6c=_0x50d253(new _0xa62be5(_0x47e89b['draftBase'],_0x47e89b[_0x219f91(0x233)],this['_projectionService'],this[_0x219f91(0x1ba)],this[_0x219f91(0x15e)],this[_0x219f91(0x1dc)],this[_0x219f91(0x24d)],_0x47e89b));if(_0x585a6c instanceof Promise)throw new _0x5df432(_0x4133cf[_0x219f91(0x166)],_0x219f91(0x19c),{'unitId':this[_0x219f91(0x1cf)][_0x219f91(0x208)]()});return _0x47e89b['commit'](),_0x585a6c;}[_0x3f2a15(0x12d)](_0x10c312,_0x132d81){const _0x265fd0=_0x3f2a15;var _0x1c240e,_0x5836e8;let _0x3986f5=this[_0x265fd0(0x1cf)][_0x265fd0(0x1c8)](),_0x302e0a=_0x3986f5[_0x265fd0(0x1a9)][_0x10c312];if(!_0x302e0a||_0x302e0a[_0x265fd0(0x1af)])return{'query':_0x132d81['query'][_0x265fd0(0x155)]()['toLowerCase'](),'total':0x0,'matches':[]};if(_0x132d81[_0x265fd0(0x246)]){var _0x318e10;let _0x34e39b=this['_projectionService'][_0x265fd0(0x135)](_0x3986f5,_0x10c312,_0x132d81[_0x265fd0(0x246)]),_0x2c2815=_0x302e0a[_0x265fd0(0x28e)][_0x132d81[_0x265fd0(0x246)]],_0x515b21=(_0x318e10=_0x132d81[_0x265fd0(0x20c)])==null?_0x57cf28(_0x302e0a,_0x2c2815,_0x34e39b):_0x318e10;return(0x0,_0x3877f6[_0x265fd0(0x13d)])({'table':_0x302e0a,'rows':_0x265fd0(0x283)in _0x34e39b&&Array[_0x265fd0(0x284)](_0x34e39b[_0x265fd0(0x283)])?_0x34e39b[_0x265fd0(0x283)]:[],'query':_0x132d81[_0x265fd0(0x19f)],'fieldIds':_0x515b21,'limit':_0x132d81[_0x265fd0(0x207)]});}return(0x0,_0x3877f6['searchBaseTable'])({'table':_0x302e0a,'rows':((_0x1c240e=_0x302e0a[_0x265fd0(0x2db)])==null?Object['values'](_0x302e0a[_0x265fd0(0x16b)])[_0x265fd0(0x1ed)]((_0x398bca,_0x7e9412)=>_0x398bca[_0x265fd0(0x122)][_0x265fd0(0x1a4)](_0x7e9412['orderKey']))[_0x265fd0(0x160)](_0x476284=>_0x476284['id']):_0x1c240e)[_0x265fd0(0x160)](_0x1c6052=>_0x302e0a[_0x265fd0(0x16b)][_0x1c6052])[_0x265fd0(0x163)](_0x5782b6=>!!(_0x5782b6&&!_0x5782b6[_0x265fd0(0x1af)]))[_0x265fd0(0x160)](_0x454497=>({'recordId':_0x454497['id'],'values':_0x454497['values']})),'query':_0x132d81[_0x265fd0(0x19f)],'fieldIds':(_0x5836e8=_0x132d81[_0x265fd0(0x20c)])==null?_0x302e0a[_0x265fd0(0x188)][_0x265fd0(0x163)](_0x48d802=>{const _0x504a4c=_0x265fd0;let _0x3f83ad=_0x302e0a[_0x504a4c(0x213)][_0x48d802];return!!(_0x3f83ad&&!_0x3f83ad['deleted']);}):_0x5836e8,'limit':_0x132d81[_0x265fd0(0x207)]});}[_0x3f2a15(0x17c)](){const _0x46e59b=_0x3f2a15;let _0x1251e7=this['_base'][_0x46e59b(0x1c8)]();return{'id':_0x1251e7['id'],'name':_0x1251e7[_0x46e59b(0x13c)],'tables':this[_0x46e59b(0x1d6)]()['map'](_0x323831=>_0x323831[_0x46e59b(0x17c)]())};}[_0x3f2a15(0x23d)](){const _0x186474=_0x3f2a15;return new _0x4f4c25(this['_base'][_0x186474(0x208)](),this[_0x186474(0x1ba)]);}['addEvent'](_0x15b0b2,_0x36020d){const _0x53e451=_0x3f2a15;return this[_0x53e451(0x27b)]['onCommandExecuted'](_0x30ccb7=>{const _0x5e1ce9=_0x53e451;let _0x373f88=this[_0x5e1ce9(0x2b6)](_0x15b0b2,_0x30ccb7);_0x373f88&&_0x36020d(_0x373f88);});}[_0x3f2a15(0x2b6)](_0x21d4c0,_0x3d682e){const _0x2c9ded=_0x3f2a15;return this[_0x2c9ded(0x2bf)](_0x21d4c0,_0x3d682e);}[_0x3f2a15(0x1e6)](_0x1eaa9e){const _0x207f3d=_0x3f2a15;return new _0x2ccde5(this[_0x207f3d(0x1cf)],_0x1eaa9e,this[_0x207f3d(0x27b)],this['_projectionService'],this['_permissionService']);}[_0x3f2a15(0x2bf)](_0x272a08,_0x1875c8){const _0x10031d=_0x3f2a15;if(_0x272a08===_0x122ed5[_0x10031d(0x2c8)]){if(_0x1875c8['id']===_0x3877f6['CreateBaseTableCommand']['id']){let {table:_0x259b5d}=_0x1875c8[_0x10031d(0x278)];return{'type':_0x10031d(0x245),'table':this[_0x10031d(0x26b)](_0x259b5d['id']),'tableId':_0x259b5d['id'],'payload':_0x1875c8};}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x171)]['id']){let {tableId:_0x51e266}=_0x1875c8['params'],_0x1294b2=this[_0x10031d(0x26b)](_0x51e266);return _0x1294b2?{'type':_0x10031d(0x156),'table':_0x1294b2,'tableId':_0x51e266,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6['DeleteBaseTableCommand']['id']){let {tableId:_0x4b5529}=_0x1875c8['params'];return{'type':'deleted','table':this[_0x10031d(0x26b)](_0x4b5529),'tableId':_0x4b5529,'payload':_0x1875c8};}}if(_0x272a08===_0x122ed5[_0x10031d(0x23c)]){if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x257)]['id']){let {tableId:_0x14b78d,record:_0x1d3b35}=_0x1875c8[_0x10031d(0x278)],_0x8ab8a5=this[_0x10031d(0x26b)](_0x14b78d);return _0x8ab8a5?{'type':_0x10031d(0x245),'table':_0x8ab8a5,'records':[_0x8ab8a5[_0x10031d(0x17e)](_0x1d3b35['id'])]['filter'](Boolean),'tableId':_0x14b78d,'recordIds':[_0x1d3b35['id']],'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x244)]['id']){let {tableId:_0x162294,records:_0x4851c9}=_0x1875c8[_0x10031d(0x278)],_0x25d462=this['getTable'](_0x162294);if(!_0x25d462)return null;let _0x40ff67=_0x4851c9[_0x10031d(0x160)](_0x3b7d86=>_0x3b7d86['id']);return{'type':_0x10031d(0x245),'table':_0x25d462,'records':_0x40ff67[_0x10031d(0x160)](_0x312627=>_0x25d462[_0x10031d(0x17e)](_0x312627))[_0x10031d(0x163)](Boolean),'tableId':_0x162294,'recordIds':_0x40ff67,'payload':_0x1875c8};}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x176)]['id']){let {tableId:_0x279f54,recordId:_0x823ee2}=_0x1875c8[_0x10031d(0x278)],_0x5b4801=this[_0x10031d(0x26b)](_0x279f54);return _0x5b4801?{'type':_0x10031d(0x1af),'table':_0x5b4801,'records':[_0x5b4801[_0x10031d(0x17e)](_0x823ee2)]['filter'](Boolean),'tableId':_0x279f54,'recordIds':[_0x823ee2],'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x180)]['id']){let {tableId:_0x20c566,recordIds:_0x4e1838}=_0x1875c8['params'],_0x540382=this[_0x10031d(0x26b)](_0x20c566);return _0x540382?{'type':_0x10031d(0x1af),'table':_0x540382,'records':[],'tableId':_0x20c566,'recordIds':_0x4e1838,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x1b0)]['id']){let {tableId:_0x3d9b2c,record:_0x8363c9}=_0x1875c8[_0x10031d(0x278)],_0x26910f=this[_0x10031d(0x26b)](_0x3d9b2c);return _0x26910f?{'type':_0x10031d(0x22a),'table':_0x26910f,'records':[_0x26910f[_0x10031d(0x17e)](_0x8363c9['id'])]['filter'](Boolean),'tableId':_0x3d9b2c,'recordIds':[_0x8363c9['id']],'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x22e)]['id']){let {tableId:_0x33482c,patches:_0x44f0f4}=_0x1875c8[_0x10031d(0x278)],_0x4d10ce=this['getTable'](_0x33482c);if(!_0x4d10ce)return null;let _0x5f360d=_0x44f0f4[_0x10031d(0x160)](_0x4ecd3c=>_0x4ecd3c['recordId']);return{'type':_0x10031d(0x1e1),'table':_0x4d10ce,'records':_0x5f360d[_0x10031d(0x160)](_0x227206=>_0x4d10ce[_0x10031d(0x17e)](_0x227206))[_0x10031d(0x163)](Boolean),'tableId':_0x33482c,'recordIds':_0x5f360d,'payload':_0x1875c8};}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x1b6)]['id']){let {tableId:_0x561c42,recordId:_0x529343}=_0x1875c8['params'],_0x1cf602=this[_0x10031d(0x26b)](_0x561c42);return _0x1cf602?{'type':_0x10031d(0x151),'table':_0x1cf602,'records':[_0x1cf602['getRecord'](_0x529343)][_0x10031d(0x163)](Boolean),'tableId':_0x561c42,'recordIds':[_0x529343],'payload':_0x1875c8}:null;}}if(_0x272a08===_0x122ed5[_0x10031d(0x23a)]&&_0x1875c8['id']===_0x3877f6[_0x10031d(0x24e)]['id']){let {tableId:_0x43a6ff,recordId:_0xb1ec31,fieldId:_0x182bad,value:_0x36bf9a}=_0x1875c8['params'],_0x12c36d=this[_0x10031d(0x26b)](_0x43a6ff);return _0x12c36d?{'table':_0x12c36d,'tableId':_0x43a6ff,'changes':[{'recordId':_0xb1ec31,'fieldId':_0x182bad,'value':_0x36bf9a}],'payload':_0x1875c8}:null;}if(_0x272a08===_0x122ed5[_0x10031d(0x2b4)]){if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x2d0)]['id']){let {tableId:_0x37c9b5,field:_0x273273}=_0x1875c8['params'],_0x32b184=this[_0x10031d(0x26b)](_0x37c9b5);return _0x32b184?{'type':_0x10031d(0x245),'table':_0x32b184,'field':_0x32b184[_0x10031d(0x14c)](_0x273273['id']),'tableId':_0x37c9b5,'fieldId':_0x273273['id'],'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x2c9)]['id']){let {tableId:_0x193d1e,fieldId:_0x5a7429}=_0x1875c8[_0x10031d(0x278)],_0x3f6420=this[_0x10031d(0x26b)](_0x193d1e);return _0x3f6420?{'type':_0x10031d(0x1e1),'table':_0x3f6420,'field':_0x3f6420[_0x10031d(0x14c)](_0x5a7429),'tableId':_0x193d1e,'fieldId':_0x5a7429,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x27d)]['id']){let {tableId:_0x4c06a0,fieldId:_0x58ae01}=_0x1875c8[_0x10031d(0x278)],_0x474002=this['getTable'](_0x4c06a0);return _0x474002?{'type':_0x10031d(0x273),'table':_0x474002,'field':_0x474002['getField'](_0x58ae01),'tableId':_0x4c06a0,'fieldId':_0x58ae01,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x1a3)]['id']){let {tableId:_0x1ca154,fieldId:_0x274bac}=_0x1875c8[_0x10031d(0x278)],_0x1f8d97=this[_0x10031d(0x26b)](_0x1ca154);return _0x1f8d97?{'type':_0x10031d(0x1af),'table':_0x1f8d97,'field':_0x1f8d97[_0x10031d(0x14c)](_0x274bac),'tableId':_0x1ca154,'fieldId':_0x274bac,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x144)]['id']){let {tableId:_0x3507e3,fieldId:_0x3ba2a5}=_0x1875c8[_0x10031d(0x278)],_0x30da04=this[_0x10031d(0x26b)](_0x3507e3);return _0x30da04?{'type':_0x10031d(0x151),'table':_0x30da04,'field':_0x30da04[_0x10031d(0x14c)](_0x3ba2a5),'tableId':_0x3507e3,'fieldId':_0x3ba2a5,'payload':_0x1875c8}:null;}}if(_0x272a08===_0x122ed5['ViewChanged']){if(_0x1875c8['id']===_0x3877f6['CreateBaseViewCommand']['id']){let {tableId:_0x474aca,view:_0xdcadcf}=_0x1875c8[_0x10031d(0x278)],_0x1d78bd=this['getTable'](_0x474aca);return _0x1d78bd?{'type':'created','table':_0x1d78bd,'view':_0x1d78bd[_0x10031d(0x167)](_0xdcadcf['id']),'tableId':_0x474aca,'viewId':_0xdcadcf['id'],'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x29f)]['id']){let {tableId:_0x4db8e9,viewId:_0x20dfe4}=_0x1875c8[_0x10031d(0x278)],_0x48db20=this[_0x10031d(0x26b)](_0x4db8e9);return _0x48db20?{'type':_0x10031d(0x156),'table':_0x48db20,'view':_0x48db20[_0x10031d(0x167)](_0x20dfe4),'tableId':_0x4db8e9,'viewId':_0x20dfe4,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6[_0x10031d(0x2c7)]['id']){let {tableId:_0x1975d8,viewId:_0x1cb2e6}=_0x1875c8[_0x10031d(0x278)],_0x4a3ded=this[_0x10031d(0x26b)](_0x1975d8);return _0x4a3ded?{'type':_0x10031d(0x1af),'table':_0x4a3ded,'view':_0x4a3ded[_0x10031d(0x167)](_0x1cb2e6),'tableId':_0x1975d8,'viewId':_0x1cb2e6,'payload':_0x1875c8}:null;}if(_0x1875c8['id']===_0x3877f6['MoveBaseViewCommand']['id']){let {tableId:_0x22eb86,viewId:_0x45808c}=_0x1875c8[_0x10031d(0x278)],_0x85c828=this[_0x10031d(0x26b)](_0x22eb86);return _0x85c828?{'type':_0x10031d(0x151),'table':_0x85c828,'view':_0x85c828[_0x10031d(0x167)](_0x45808c),'tableId':_0x22eb86,'viewId':_0x45808c,'payload':_0x1875c8}:null;}if([_0x3877f6[_0x10031d(0x2c5)]['id'],_0x3877f6[_0x10031d(0x186)]['id'],_0x3877f6[_0x10031d(0x170)]['id'],_0x3877f6[_0x10031d(0x267)]['id'],_0x3877f6[_0x10031d(0x2a6)]['id'],_0x3877f6['SetBaseViewFieldWidthCommand']['id'],_0x3877f6['SetBaseViewFieldOrderCommand']['id']][_0x10031d(0x1c0)](_0x1875c8['id'])){let {tableId:_0xe32d6,viewId:_0x5ec9f4}=_0x1875c8[_0x10031d(0x278)],_0x232ac7=this[_0x10031d(0x26b)](_0xe32d6);return _0x232ac7?{'type':_0x10031d(0x1e1),'table':_0x232ac7,'view':_0x232ac7['getView'](_0x5ec9f4),'tableId':_0xe32d6,'viewId':_0x5ec9f4,'payload':_0x1875c8}:null;}}return null;}};function _0x57cf28(_0x4de3cd,_0x4cfb51,_0x28cca1){const _0x1460cb=_0x3f2a15;var _0x465dbe;if(_0x28cca1[_0x1460cb(0x1be)]==='kanban'){var _0x21a85b,_0x44991d,_0x564ef6;let _0x2112d9=[(_0x21a85b=(_0x44991d=_0x28cca1['fields'])==null||(_0x44991d=_0x44991d[0x0])==null?void 0x0:_0x44991d['id'])==null?_0x4de3cd[_0x1460cb(0x141)]:_0x21a85b,...(_0x564ef6=_0x28cca1[_0x1460cb(0x2b5)])==null?[]:_0x564ef6];return Array[_0x1460cb(0x221)](new Set(_0x2112d9[_0x1460cb(0x163)](_0x9fde42=>{const _0x266c6d=_0x1460cb;let _0x471003=_0x4de3cd[_0x266c6d(0x213)][_0x9fde42];return!!(_0x471003&&!_0x471003[_0x266c6d(0x1af)]);})));}return(_0x465dbe=_0x28cca1[_0x1460cb(0x213)])!=null&&_0x465dbe['length']?_0x28cca1[_0x1460cb(0x213)][_0x1460cb(0x160)](_0x1aa718=>_0x1aa718['id'])[_0x1460cb(0x163)](_0x3d4599=>{const _0x465c4f=_0x1460cb;var _0x3138cb;let _0x34999a=_0x4de3cd[_0x465c4f(0x213)][_0x3d4599];return!!(_0x34999a&&!_0x34999a[_0x465c4f(0x1af)]&&!(!(_0x4cfb51==null||(_0x3138cb=_0x4cfb51[_0x465c4f(0x228)])==null||(_0x3138cb=_0x3138cb[_0x3d4599])==null)&&_0x3138cb[_0x465c4f(0x29a)]));}):_0x4de3cd[_0x1460cb(0x188)][_0x1460cb(0x163)](_0x3d0e68=>{const _0x55c4bc=_0x1460cb;var _0x35fb9c;let _0x5df311=_0x4de3cd[_0x55c4bc(0x213)][_0x3d0e68];return!!(_0x5df311&&!_0x5df311[_0x55c4bc(0x1af)]&&!(!(_0x4cfb51==null||(_0x35fb9c=_0x4cfb51[_0x55c4bc(0x228)])==null||(_0x35fb9c=_0x35fb9c[_0x3d0e68])==null)&&_0x35fb9c[_0x55c4bc(0x29a)]));});}function _0x430b66(_0x2f2697){const _0x4b20f2=_0x3f2a15;return _0x2f2697+'-'+Math['random']()['toString'](0x24)[_0x4b20f2(0x1eb)](0x2,0xa);}var _0x3e0da2=class extends _0x5c95aa[_0x3f2a15(0x251)]{[_0x3f2a15(0x232)](_0x2f227a){const _0x3572a4=_0x3f2a15;this['_initBaseBeforeEvents'](_0x2f227a),this[_0x3572a4(0x24a)](_0x2f227a);}[_0x3f2a15(0x1cd)](_0xd0dfd0,_0x573d9f){const _0x2f9930=_0x3f2a15;var _0x25453d;let _0xa069cb={'base':null,'baseId':(_0x25453d=_0xd0dfd0['id'])==null?'':_0x25453d,'snapshot':_0xd0dfd0};if(this['fireEvent'](this['Event'][_0x2f9930(0x203)],_0xa069cb),_0xa069cb[_0x2f9930(0x1b7)])throw new _0x5bbd72['CanceledError']();let _0x46e7f8=this['_injector'][_0x2f9930(0x1d9)](_0x5bbd72[_0x2f9930(0x158)])[_0x2f9930(0x137)](_0x5bbd72[_0x2f9930(0x229)][_0x2f9930(0x19a)],_0xd0dfd0,_0x573d9f),_0x4e5ac1=this[_0x2f9930(0x22c)](_0x46e7f8),_0x52368f={'base':_0x4e5ac1,'baseId':_0x4e5ac1[_0x2f9930(0x224)](),'snapshot':_0xd0dfd0};return this[_0x2f9930(0x13e)](this['Event']['BaseCreated'],_0x52368f),this['fireEvent'](this[_0x2f9930(0x262)][_0x2f9930(0x1b3)],_0x52368f),_0x4e5ac1;}[_0x3f2a15(0x16a)](){const _0x4c88f3=_0x3f2a15;let _0x1beef8=this['_injector'][_0x4c88f3(0x1d9)](_0x5bbd72[_0x4c88f3(0x158)])[_0x4c88f3(0x249)](_0x5bbd72['UniverInstanceType'][_0x4c88f3(0x19a)]);return _0x1beef8?this[_0x4c88f3(0x22c)](_0x1beef8):null;}['getBase'](_0x44b46b){const _0x3fac42=_0x3f2a15;let _0x586f7e=this['_injector'][_0x3fac42(0x1d9)](_0x5bbd72['IUniverInstanceService'])[_0x3fac42(0x189)](_0x44b46b,_0x5bbd72['UniverInstanceType'][_0x3fac42(0x19a)]);return _0x586f7e?this[_0x3fac42(0x22c)](_0x586f7e):null;}[_0x3f2a15(0x204)](){const _0x1e0f6e=_0x3f2a15;return this[_0x1e0f6e(0x130)]['get'](_0x5bbd72[_0x1e0f6e(0x158)])[_0x1e0f6e(0x142)](_0x5bbd72[_0x1e0f6e(0x229)]['UNIVER_BASE'])[_0x1e0f6e(0x160)](_0x55e26f=>this[_0x1e0f6e(0x22c)](_0x55e26f));}[_0x3f2a15(0x22c)](_0x58a80b){const _0x4db62c=_0x3f2a15;return new _0x1b1ade(_0x58a80b,this[_0x4db62c(0x130)][_0x4db62c(0x1d9)](_0x5bbd72[_0x4db62c(0x14b)]),this[_0x4db62c(0x130)][_0x4db62c(0x1d9)](_0x3877f6['IBaseProjectionService']),this[_0x4db62c(0x130)][_0x4db62c(0x1d9)](_0x3877f6[_0x4db62c(0x2be)]),this[_0x4db62c(0x130)][_0x4db62c(0x1d9)](_0x5bbd72[_0x4db62c(0x296)]),this[_0x4db62c(0x130)][_0x4db62c(0x1d9)](_0x3877f6[_0x4db62c(0x2dd)]),this[_0x4db62c(0x130)]['get'](_0x5bbd72['IUniverInstanceService']));}[_0x3f2a15(0x24a)](_0x5c84f6){const _0x3ba8e6=_0x3f2a15;let _0x126b47=_0x5c84f6[_0x3ba8e6(0x1d9)](_0x5bbd72['ICommandService']);[['BaseTableChanged',_0x122ed5[_0x3ba8e6(0x2c8)]],[_0x3ba8e6(0x1d5),_0x122ed5[_0x3ba8e6(0x2b4)]],[_0x3ba8e6(0x1a2),_0x122ed5['RecordChanged']],[_0x3ba8e6(0x1ad),_0x122ed5['CellValueChanged']],[_0x3ba8e6(0x25d),_0x122ed5['ViewChanged']],[_0x3ba8e6(0x2c8),_0x122ed5['TableChanged']],[_0x3ba8e6(0x2b4),_0x122ed5[_0x3ba8e6(0x2b4)]],[_0x3ba8e6(0x23c),_0x122ed5[_0x3ba8e6(0x23c)]],[_0x3ba8e6(0x23a),_0x122ed5[_0x3ba8e6(0x23a)]],[_0x3ba8e6(0x1d0),_0x122ed5['ViewChanged']]][_0x3ba8e6(0x26f)](([_0x195131,_0x549de0])=>{const _0x50059a=_0x3ba8e6;this[_0x50059a(0x1e5)](this['registerEventHandler'](this['Event'][_0x195131],()=>_0x126b47[_0x50059a(0x121)](_0x314462=>{const _0x5af097=_0x50059a;let _0x11853a=this[_0x5af097(0x126)](_0x549de0,_0x314462);_0x11853a&&this[_0x5af097(0x13e)](this[_0x5af097(0x262)][_0x195131],_0x11853a);})));}),this[_0x3ba8e6(0x1e5)](this[_0x3ba8e6(0x1e3)](this[_0x3ba8e6(0x262)]['BaseBatchChanged'],()=>_0x126b47[_0x3ba8e6(0x121)](_0x17ef01=>{const _0x178f69=_0x3ba8e6;let _0x15198b=this[_0x178f69(0x1fe)](_0x17ef01);_0x15198b&&this[_0x178f69(0x13e)](this[_0x178f69(0x262)][_0x178f69(0x25f)],_0x15198b);})));}[_0x3f2a15(0x2a1)](_0x261702){const _0x3965c9=_0x3f2a15;let _0x3457da=_0x261702[_0x3965c9(0x1d9)](_0x5bbd72['ICommandService']);[[_0x3965c9(0x236),_0x461ec7=>this['_resolveBeforeBaseTableCreate'](_0x461ec7)],['BeforeBaseFieldCreate',_0x40c996=>this[_0x3965c9(0x2af)](_0x40c996)],[_0x3965c9(0x22d),_0x1e7ff2=>this['_resolveBeforeBaseRecordCreate'](_0x1e7ff2)],['BeforeBaseCellValueChange',_0x4f2064=>this[_0x3965c9(0x1b4)](_0x4f2064)],['BeforeBaseViewCreate',_0x46dbe2=>this[_0x3965c9(0x2bc)](_0x46dbe2)]][_0x3965c9(0x26f)](([_0x206d36,_0x25f628])=>{const _0x315303=_0x3965c9;this[_0x315303(0x1e5)](this[_0x315303(0x1e3)](this[_0x315303(0x262)][_0x206d36],()=>_0x3457da[_0x315303(0x222)](_0x5ad2b2=>{const _0x2ceca1=_0x315303;let _0x58445b=_0x25f628(_0x5ad2b2);if(_0x58445b&&(this[_0x2ceca1(0x13e)](this[_0x2ceca1(0x262)][_0x206d36],_0x58445b),_0x58445b[_0x2ceca1(0x1b7)]))throw new _0x5bbd72[(_0x2ceca1(0x24f))]();})));});}[_0x3f2a15(0x126)](_0x5db3e1,_0x2b39c8){const _0x54b64c=_0x3f2a15;if(!_0x2b39c8[_0x54b64c(0x278)]||!(_0x54b64c(0x277)in _0x2b39c8[_0x54b64c(0x278)]))return null;let _0x49d6e5=this['getBase'](_0x2b39c8[_0x54b64c(0x278)][_0x54b64c(0x277)]);return _0x49d6e5?_0x49d6e5[_0x54b64c(0x2b6)](_0x5db3e1,_0x2b39c8):null;}['_resolveBaseBatchChanged'](_0x3e8176){const _0xd4e37d=_0x3f2a15;if(_0x3e8176['id']!==_0x3877f6[_0xd4e37d(0x184)]['id'])return null;let {unitId:_0x4ccece,trigger:_0x4aa30b}=_0x3e8176[_0xd4e37d(0x278)];return!_0x4ccece||_0x4aa30b!=='facade.batch'?null:{'base':this[_0xd4e37d(0x23e)](_0x4ccece),'baseId':_0x4ccece,'payload':_0x3e8176};}[_0x3f2a15(0x20b)](_0x542703){const _0x2ca44c=_0x3f2a15;if(_0x542703['id']!==_0x3877f6[_0x2ca44c(0x20a)]['id'])return null;let {unitId:_0x1cb96a,table:_0x633620}=_0x542703[_0x2ca44c(0x278)];return!this[_0x2ca44c(0x23e)](_0x1cb96a)||!_0x633620?null:{'type':_0x2ca44c(0x245),'table':null,'tableId':_0x633620['id'],'payload':_0x542703};}[_0x3f2a15(0x2af)](_0x1c1449){const _0x11cfda=_0x3f2a15;if(_0x1c1449['id']!==_0x3877f6['CreateBaseFieldCommand']['id'])return null;let {unitId:_0x5a20e5,tableId:_0x32562f,field:_0x478f0b}=_0x1c1449[_0x11cfda(0x278)],_0x452472=this[_0x11cfda(0x23e)](_0x5a20e5);if(!_0x452472)return null;let _0x7ac9a4=_0x452472[_0x11cfda(0x26b)](_0x32562f);return _0x7ac9a4?{'type':_0x11cfda(0x245),'table':_0x7ac9a4,'field':null,'tableId':_0x7ac9a4[_0x11cfda(0x224)](),'fieldId':_0x478f0b['id'],'payload':_0x1c1449}:null;}[_0x3f2a15(0x271)](_0x3058bf){const _0x460e6a=_0x3f2a15;if(_0x3058bf['id']===_0x3877f6[_0x460e6a(0x257)]['id']){let {unitId:_0x3fea28,tableId:_0x15dc54,record:_0x1cb5d8}=_0x3058bf['params'],_0x38ec18=this[_0x460e6a(0x23e)](_0x3fea28);if(!_0x38ec18)return null;let _0x525a0c=_0x38ec18[_0x460e6a(0x26b)](_0x15dc54);return _0x525a0c?{'type':_0x460e6a(0x245),'table':_0x525a0c,'records':[],'tableId':_0x525a0c[_0x460e6a(0x224)](),'recordIds':[_0x1cb5d8['id']],'payload':_0x3058bf}:null;}else{if(_0x3058bf['id']===_0x3877f6[_0x460e6a(0x244)]['id']){let {unitId:_0x330e82,tableId:_0x340533,records:_0x2ea432}=_0x3058bf[_0x460e6a(0x278)],_0x2c171d=this[_0x460e6a(0x23e)](_0x330e82);if(!_0x2c171d)return null;let _0x4b9eb0=_0x2c171d['getTable'](_0x340533);return _0x4b9eb0?{'type':'created','table':_0x4b9eb0,'records':[],'tableId':_0x4b9eb0[_0x460e6a(0x224)](),'recordIds':_0x2ea432[_0x460e6a(0x160)](_0x114be2=>_0x114be2['id']),'payload':_0x3058bf}:null;}}return null;}[_0x3f2a15(0x1b4)](_0x564449){const _0x12a15f=_0x3f2a15;if(_0x564449['id']!==_0x3877f6[_0x12a15f(0x24e)]['id'])return null;let {unitId:_0x27773e,tableId:_0x2c4131,recordId:_0x5e2e22,fieldId:_0xf1dabb,value:_0x3a8673}=_0x564449[_0x12a15f(0x278)],_0x4f1fb8=this[_0x12a15f(0x23e)](_0x27773e);if(!_0x4f1fb8)return null;let _0x10e296=_0x4f1fb8[_0x12a15f(0x26b)](_0x2c4131);return _0x10e296?{'table':_0x10e296,'tableId':_0x10e296[_0x12a15f(0x224)](),'changes':[{'recordId':_0x5e2e22,'fieldId':_0xf1dabb,'value':_0x3a8673}],'payload':_0x564449}:null;}[_0x3f2a15(0x2bc)](_0x10c8a3){const _0x31ebb8=_0x3f2a15;if(_0x10c8a3['id']!==_0x3877f6[_0x31ebb8(0x272)]['id'])return null;let {unitId:_0x27359e,tableId:_0x27eeae,view:_0x13417e}=_0x10c8a3[_0x31ebb8(0x278)],_0x426c4e=this['getBase'](_0x27359e);if(!_0x426c4e)return null;let _0x582ff4=_0x426c4e[_0x31ebb8(0x26b)](_0x27eeae);return _0x582ff4?{'type':_0x31ebb8(0x245),'table':_0x582ff4,'view':null,'tableId':_0x582ff4[_0x31ebb8(0x224)](),'viewId':_0x13417e['id'],'payload':_0x10c8a3}:null;}};_0x5c95aa[_0x3f2a15(0x251)][_0x3f2a15(0x2b0)](_0x3e0da2),_0x3bb38e[_0x3f2a15(0x198)]=_0x105fc0,_0x3bb38e['BaseBatchUndoModeEnum']=_0x139f1a,_0x3bb38e[_0x3f2a15(0x1fc)]=_0x5df432,_0x3bb38e[_0x3f2a15(0x2a8)]=_0x4133cf,_0x3bb38e[_0x3f2a15(0x196)]=_0x5bc28c,_0x3bb38e[_0x3f2a15(0x1dd)]=_0x122ed5,_0x3bb38e[_0x3f2a15(0x143)]=_0x677fd5,_0x3bb38e[_0x3f2a15(0x139)]=_0x548e92,_0x3bb38e[_0x3f2a15(0x225)]=_0xe4d355,_0x3bb38e['BaseSortDirectionEnum']=_0x4ab1ca,_0x3bb38e[_0x3f2a15(0x240)]=_0x46bebe,_0x3bb38e[_0x3f2a15(0x254)]=_0x55bc09,_0x3bb38e[_0x3f2a15(0x1f5)]=_0x1b1ade,_0x3bb38e[_0x3f2a15(0x288)]=_0x4f4c25,_0x3bb38e[_0x3f2a15(0x26c)]=_0x2ef4ee,_0x3bb38e['FField']=_0x525c79,_0x3bb38e[_0x3f2a15(0x175)]=_0x20dafd,_0x3bb38e['FTable']=_0x2ccde5,_0x3bb38e[_0x3f2a15(0x15c)]=_0x20d2dc,_0x3bb38e[_0x3f2a15(0x124)]=_0x3e0da2,_0x3bb38e[_0x3f2a15(0x1e0)]=_0x4aa030,_0x3bb38e[_0x3f2a15(0x1a1)]=_0x1d2078,_0x3bb38e['isBaseError']=_0xc966c4,_0x3bb38e[_0x3f2a15(0x255)]=_0x5b2b40,_0x3bb38e['resolveBaseFieldValues']=_0x2acf96;}));function _0x5c97(_0x5080a7,_0x22b6b8){_0x5080a7=_0x5080a7-0x117;const _0x8d8f1a=_0x8d8f();let _0x5c9741=_0x8d8f1a[_0x5080a7];return _0x5c9741;}function _0x8d8f(){const _0x1e950e=['values','ICommandService','getField','Duplicate\x20Base\x20field\x20name:\x20','getConfig','lessThan','getFilter','moved','find','setPermission','createTable','trim','renamed','FEnum','IUniverInstanceService','UniverCore','canEditCell','greaterThan','FTablePermission','updatedBy','_undoRedoService','string','map','getTableByName','progress','filter','createField','view','InvalidOperation','getView','deleteRecord','rating','getActiveBase','records','getType','InvalidFilter','DuplicateFieldName','setTablePermission','SetBaseViewSortCommand','RenameBaseTableCommand','_wrapRecord','setRecordValues','currency','FRecord','DeleteBaseRecordCommand','flatMap','isEmpty','delete','button','default','getSchema','endRow','getRecord','UniverProBases','BatchDeleteBaseRecordsCommand','auto','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','insertTable','ApplyBaseJson1Mutation','getFields','SetBaseViewFilterCommand','updateCell','fieldOrder','getUnit','updatedAt','operator','clear','deleteTable','setRecordPermission','createdAt','now','deleteField','details','updateConfig','getNumRows','moveView','BaseErrorCodeEnum','updateRecordOrder','BaseBatchEventModeEnum','setSnapshot','UNIVER_BASE','getViewById','Base\x20batch\x20callbacks\x20must\x20be\x20synchronous.','listViews','getFieldByName','query','getRecords','assertBaseCommandSucceeded','BaseRecordChanged','DeleteBaseFieldCommand','localeCompare','field','_wrapView','Base\x20command\x20failed:\x20','DeleteBaseTableCommand','tables','fieldId','getNumColumns','\x22\x20does\x20not\x20exist.','BaseCellValueChanged','isNotEmpty','deleted','DuplicateBaseRecordCommand','setViewFieldWidth','8IVithV','BaseReady','_resolveBeforeBaseCellValueChange','symbol','UpdateBaseRecordOrderCommand','cancel','none','collect','_permissionService','indexOf','copyBaseTableSnapshot','toPrimitive','type','table','includes','setValue','getDataRange','clearBasePermission','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','recordId','isNot','target','getSnapshot','getRow','_range','fieldKey','SetBaseViewFieldOrderCommand','createBase','conditions','_base','ViewChanged','canDeleteRecord','SetBaseViewFieldWidthCommand','_baseId','single','BaseFieldChanged','getTables','_recordId','@univerjs/core/facade','get','defaultValue','getDefaultValue','_baseCommandService','BaseEventName','deleteRecords','[FField]:\x20field\x20\x22','FView','updated','FieldNotFound','registerEventHandler','createBatchCreateRecordsOp','disposeWithMe','_wrapTable','ViewNotFound','update','_projectionService','[FTable]:\x20record\x20\x22','slice','startRow','sort','readonly','contains','toStringTag','_viewId','input','setViewFilter','BatchAlreadyRunning','FBase','listFields','patches','recordIds','isReadonly',',\x20max\x20columns:\x20','canDeleteField','BaseError','call','_resolveBaseBatchChanged','BeforeBaseFieldCreate','_resolveRecordIds','barcode','date','BaseCreating','getBases','facade.batch','setViewSort','limit','getUnitId','createCreateFieldOp','CreateBaseTableCommand','_resolveBeforeBaseTableCreate','fieldIds','clearRecordPermission','Nested\x20Base\x20batch\x20calls\x20are\x20not\x20supported.','createView','toString','getPrimaryFieldId','getTableId','fields','some','flow','invertOp','random','tableOrder','email','setFieldPermission','text','BaseBatchUndoModeEnum','canManageView','kanban','deleteView','getViewByName','from','beforeCommandExecuted','MoveBaseViewCommand','getId','BaseFilterOperatorEnum','push','checkbox','fieldSettings','UniverInstanceType','duplicated','desc','_wrap','BeforeBaseRecordCreate','SetBaseRecordValuesCommand','toLowerCase','grid','updateRecord','_initialize','commandService','duplicate','iterator','BeforeBaseTableCreate','_wrapField','draftBase','direction','CellValueChanged','addRecords','RecordChanged','getPermission','getBase','BaseSortDirectionEnum','BaseTransactionContext','setCellValue','formula','config','BatchCreateBaseRecordsCommand','created','viewId','max','_getTable','getCurrentUnitOfType','_initBaseAfterEvents','canDeleteTable','exports','_univerInstanceService','UpdateBaseCellCommand','CanceledError','[FBaseRange]:\x20table\x20\x22','FUniver','entries','2aEirvb','BaseViewTypeEnum','resolveBaseFieldKey','ensureBaseTableCellLayout','CreateBaseRecordCommand','numbering','amd','canCreateRecord','@univerjs-pro/bases','Base\x20field\x20not\x20found:\x20','BaseViewChanged','TableNotFound','BaseBatchChanged','stringify','getName','Event','setFilter','[FTable]:\x20table\x20\x22','\x20Copy','prototype','SetBaseViewGroupCommand','BeforeBaseCellValueChange','duplicateRecord','sourceRecordId','getTable','FBaseRange','updateViewConfig','createDefaultBaseTableSnapshot','forEach','number','_resolveBeforeBaseRecordCreate','CreateBaseViewCommand','typeChanged','setSort','getRange','primaryFieldName','unitId','params','clearTablePermission','_assertInBounds','_commandService','CommandFailed','ChangeBaseFieldTypeCommand','asc','length','twoWayLink','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','setViewFieldOrder','rows','isArray','endColumn','_getView','gallery','FBasePermission','clearPermission','[FBase]:\x20table\x20\x22','visible','value','notMatches','views','_initialSnapshot','commit','link','_tableId','function','viewOrder','syncExecuteCommand','IUndoRedoService','coalesce','2828988GLkTvv','setGroup','hidden','getValue','getBaseId','Base\x20batch\x20requires\x20the\x20Base\x20command\x20service.','Module','RenameBaseViewCommand','1240270zPiigq','_initBaseBeforeEvents','_getField','index','doesNotContain','createUpdateCellOp','SetBaseViewFieldVisibleCommand','moveField','BaseErrorCode','BaseJson1OpFactory','setName','getFieldById','offset','compose','width','_resolveBeforeBaseFieldCreate','extend','_getRecord','conjunction','setValues','FieldChanged','visibleCardFieldIds','resolveCommandEvent','FEventName','_factory','matches','RecordNotFound','changeFieldType','_resolveBeforeBaseViewCreate','group','IBasePermissionService','_resolveEvent','setViewGroup','silent','2245180ynRWVX','Invalid\x20Base\x20regex\x20filter:\x20','3413165ttSEWY','UpdateBaseViewConfigCommand','SetBaseRangeValuesCommand','DeleteBaseViewCommand','TableChanged','UpdateBaseFieldCommand','copyTable','object','_applier','_op','getRecordById','getFieldSettings','CreateBaseFieldCommand','183543WjiAzb','clearFieldPermission','colId','JSON1','getSort','_fieldId','14619IoNKeQ','defineProperty','patch','getCellValue','recordOrder','greaterThanOrEqual','IBaseCommandService','getTableById','createSetRecordValuesOp','attachment','setViewFieldVisible','startColumn','updateField','getBaseCellValue','_transactionContext','applyOp','BaseCreated','onCommandExecuted','orderKey','canEditField','FUniverBaseMixin','getValues','_resolveBaseCommandEvent','_context','getPrimaryField','428lLsWtC','getGroup','includeRecords','createdBy','searchTable','getColumn','record','_injector','setDefaultValue','every','864720ifFcNv','BaseTableChanged','getProjection','_createOp','createUnit','addRecord','BaseFieldTypeEnum','canCreateTable','queryRecords','name','searchBaseTable','fireEvent','save','tableId','primaryFieldId','getAllUnitsForType','BaseFieldKeyEnum','MoveBaseFieldCommand','getViews','canCreateField','setBasePermission','batch','BeforeBaseViewCreate'];_0x8d8f=function(){return _0x1e950e;};return _0x8d8f();}
|
|
1
|
+
function _0x1891(){const _0x4deb7f=['Name','getSnapshot','fieldOrder','DuplicateBaseRecordCommand','updateConfig','SetBaseViewFieldOrderCommand','caseSensitive','getAllUnitsForType','UniverProBasesFacade','_recordId','BaseTableRecordCreated','CreateBaseViewCommand','createdAt','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','setName','addField','ensureBaseTableCellLayout','getRow','SetBaseViewFilterCommand','beforeCommandExecuted',',\x20range:\x20','_injector','fieldKey','FBasesEventNameMixin','getField','Failed\x20to\x20add\x20records','disposeWithMe','ChangeBaseFieldTypeCommand','Kanban','orderKey','toStringTag','_base','BaseTableViewCreated','_tableId','UpdateBaseRecordOrderCommand','Failed\x20to\x20duplicate\x20table\x20\x22','tables','endRow','BaseFieldKeyEnum','getTableById','_getRecord','get','getCurrentUnitOfType','[FBase]:\x20table\x20\x22',',\x20max\x20columns:\x20','[FView]:\x20view\x20\x22','getType','getDefaultValue','36mKChUZ','getSchema','_viewId','241673Znflpd','Calendar','test','object','SetBaseRecordValuesCommand','getColumn','FEnum','ICommandService','registerEventHandler','message','FEventName','searchBaseTable','getDataRange','indexOf','FBaseTableField','_inject','entries','getTableByName','[FTable]:\x20table\x20\x22','UNIVER_BASE','onCommandExecuted','exports','getTable','[FBaseRange]:\x20table\x20does\x20not\x20exist.','Failed\x20to\x20delete\x20table\x20\x22','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','copyBaseTableSnapshot','length','from','BaseFilterConjunction','getValues','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','primaryFieldId','getFieldSettings','fieldSettings','getDescription','getUnit','deleteRecords','generateRandomId','offset','IBaseProjectionService','deepClone','CreateBaseTableCommand','BeforeBaseTableCellValueChange','SetBaseViewGroupCommand','getFieldById','getGroup','string','tableOrder','42FOcmfu','setFieldVisible','params','rows','startRow','forEach','getView','_getView','BaseTableFieldCreated','setFilter','UpdateBaseCellCommand','values','Grid','AND','views','startColumn','now','stringify','_getField','tableId','getActiveBase','amd','createUnit','createView','_initBaseAfterEvents','[FField]:\x20field\x20\x22','Event','Field\x20type\x20is\x20required','record','regenerateViewIds','some','number','recordOrder','UpdateBaseViewConfigCommand','index','_initBaseBeforeEvents','MoveBaseViewCommand','UniverInstanceType','getRecord','defineProperty','Failed\x20to\x20create\x20view\x20\x22','\x20Copy','CanceledError','endColumn','getNumColumns','changeType','operator','UniverCoreFacade','getVisibleFields','getFilter','RenameBaseTableCommand','getNumRows','getBaseCellValue','BaseTableCellValueChanged','delete','max','getBaseId','getBase','238506fTlQoO','isArray','queryRecords','group','2062092lrviMc','\x20exceeds\x20range\x20size\x20','setValues','Date','recordId','updatedAt','Tools','createInstance','getConfig','getViewByName','BaseSortDirection','getProjection','BaseViewType','getRange','isReadonly','value','type','map','addRecord','description','records','resolveBaseFieldKey','318184vrDrRQ','sort','21rSovjX','search','CreateBaseFieldCommand','duplicateTable','filter','cancel','BaseFieldType','config','getId','fireEvent','SetBaseViewFieldWidthCommand','every','Inject','extend','fieldId','_table','BeforeBaseTableRecordCreate','UniverProBases','_initialize','187685HHIoYJ','Injector','IUniverInstanceService','BeforeBaseTableFieldCreate','_fieldId','Duplicate\x20Base\x20field\x20name:\x20','@univerjs/core','getOwnPropertyDescriptor','Gallery','BatchDeleteBaseRecordsCommand','BatchCreateBaseRecordsCommand','moveField','includeRecords','_range','viewOrder','createDefaultBaseTableSnapshot','getUnitId','BeforeBaseTableCreate','addRecords','FBaseTable','fieldIds','getRecordById','FUniver','conditions','fields','915108FSrXWF','flatMap','setConfig','syncExecuteCommand','\x22\x20does\x20not\x20exist.','SetBaseViewFieldVisibleCommand','CreateBaseRecordCommand','1662370IexlgS','BaseTableCreated','matches','update','getBases','move','FBaseTableRecord','Invalid\x20Base\x20regex\x20filter:\x20','BaseFilterOperator','getPrimaryField','name','[FRecord]:\x20record\x20\x22','setFieldWidth','function','getTables','setValue','getTableId','setGroup','_getTable','localeCompare','getName','DeleteBaseTableCommand','_resolveRecordIds','UpdateBaseFieldCommand','find','slice','limit','deleteTable','_assertInBounds','@univerjs/core/facade','viewId','Auto','View\x20type\x20is\x20required','Failed\x20to\x20create\x20table\x20\x22','invalid','table','colId','save','hidden','setSort','decorate','BeforeBaseTableViewCreate','setOrderKey','auto'];_0x1891=function(){return _0x4deb7f;};return _0x1891();}function _0x2bef(_0x58a973,_0xc1ec1f){_0x58a973=_0x58a973-0x1c0;const _0x189172=_0x1891();let _0x2bef38=_0x189172[_0x58a973];return _0x2bef38;}(function(_0x291a05,_0x355fe0){const _0x44cdb8=_0x2bef,_0x8fa07a=_0x291a05();while(!![]){try{const _0x393354=parseInt(_0x44cdb8(0x291))/0x1+parseInt(_0x44cdb8(0x1e3))/0x2+-parseInt(_0x44cdb8(0x22b))/0x3+-parseInt(_0x44cdb8(0x1e7))/0x4+parseInt(_0x44cdb8(0x212))/0x5*(parseInt(_0x44cdb8(0x2c2))/0x6)+parseInt(_0x44cdb8(0x1ff))/0x7*(-parseInt(_0x44cdb8(0x1fd))/0x8)+-parseInt(_0x44cdb8(0x28e))/0x9*(-parseInt(_0x44cdb8(0x232))/0xa);if(_0x393354===_0x355fe0)break;else _0x8fa07a['push'](_0x8fa07a['shift']());}catch(_0x47c9c6){_0x8fa07a['push'](_0x8fa07a['shift']());}}}(_0x1891,0x55253),function(_0xfbfd49,_0x367955){const _0x3d9873=_0x2bef;typeof exports==_0x3d9873(0x294)&&typeof module<'u'?_0x367955(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3d9873(0x23f)&&define[_0x3d9873(0x2d7)]?define([_0x3d9873(0x2a6),'@univerjs-pro/bases',_0x3d9873(0x218),_0x3d9873(0x24f)],_0x367955):(_0xfbfd49=typeof globalThis<'u'?globalThis:_0xfbfd49||self,_0x367955(_0xfbfd49[_0x3d9873(0x266)]={},_0xfbfd49[_0x3d9873(0x210)],_0xfbfd49['UniverCore'],_0xfbfd49[_0x3d9873(0x1d8)]));}(this,function(_0x1284ec,_0x55af74,_0x67e984,_0x1a8bc3){const _0x5220ed=_0x2bef;Object['defineProperty'](_0x1284ec,Symbol[_0x5220ed(0x27c)],{'value':'Module'});var _0x2cacd9=class{constructor(_0x9b4aef,_0x36b587,_0x1d3f1e,_0x3370e8){const _0x521463=_0x5220ed;this[_0x521463(0x27d)]=_0x9b4aef,this['_table']=_0x36b587,this[_0x521463(0x216)]=_0x1d3f1e,this['_inject']=_0x3370e8;}[_0x5220ed(0x207)](){return this['_fieldId'];}[_0x5220ed(0x276)](){return this['_getField']();}['getName'](){const _0x3bd9f9=_0x5220ed;return this[_0x3bd9f9(0x2d4)]()[_0x3bd9f9(0x23c)];}[_0x5220ed(0x28c)](){const _0x35284a=_0x5220ed;return this[_0x35284a(0x2d4)]()[_0x35284a(0x1f7)];}[_0x5220ed(0x1ef)](){return this['_getField']()['config'];}[_0x5220ed(0x28d)](){const _0x29a080=_0x5220ed;return this[_0x29a080(0x2d4)]()['defaultValue'];}[_0x5220ed(0x2b4)](){const _0x12a6a2=_0x5220ed;return this[_0x12a6a2(0x2d4)]()[_0x12a6a2(0x1fa)];}[_0x5220ed(0x1f5)](){const _0x3b21be=_0x5220ed;return!!this[_0x3b21be(0x2d4)]()['readonly'];}['setName'](_0x4dc289){const _0x7497b9=_0x5220ed;return this[_0x7497b9(0x235)]({'name':_0x4dc289});}[_0x5220ed(0x22d)](_0x2d1c37){const _0x99d556=_0x5220ed;return this[_0x99d556(0x235)]({'config':_0x2d1c37});}['setDefaultValue'](_0x972708){return this['update']({'defaultValue':_0x972708});}[_0x5220ed(0x235)](_0x31f00a){const _0x48fc0c=_0x5220ed;return this[_0x48fc0c(0x2a0)]['get'](_0x67e984['ICommandService'])['syncExecuteCommand'](_0x55af74[_0x48fc0c(0x249)]['id'],{'unitId':this[_0x48fc0c(0x27d)][_0x48fc0c(0x207)](),'tableId':this[_0x48fc0c(0x20e)][_0x48fc0c(0x207)](),'fieldId':this[_0x48fc0c(0x216)],'patch':_0x31f00a});}[_0x5220ed(0x1d6)](_0xc7853,_0xca3058={}){const _0xb2b1b0=_0x5220ed;return this[_0xb2b1b0(0x2a0)][_0xb2b1b0(0x287)](_0x67e984[_0xb2b1b0(0x298)])[_0xb2b1b0(0x22e)](_0x55af74[_0xb2b1b0(0x279)]['id'],{'unitId':this[_0xb2b1b0(0x27d)]['getId'](),'tableId':this[_0xb2b1b0(0x20e)][_0xb2b1b0(0x207)](),'fieldId':this[_0xb2b1b0(0x216)],'input':{'type':_0xc7853,'config':_0xca3058}});}[_0x5220ed(0x1df)](){const _0x328e64=_0x5220ed;return this['_inject'][_0x328e64(0x287)](_0x67e984[_0x328e64(0x298)])[_0x328e64(0x22e)](_0x55af74['DeleteBaseFieldCommand']['id'],{'unitId':this[_0x328e64(0x27d)][_0x328e64(0x207)](),'tableId':this[_0x328e64(0x20e)][_0x328e64(0x207)](),'fieldId':this[_0x328e64(0x216)]});}[_0x5220ed(0x237)](_0x467d1c){const _0x3904ad=_0x5220ed;return this['_inject'][_0x3904ad(0x287)](_0x67e984[_0x3904ad(0x298)])[_0x3904ad(0x22e)](_0x55af74['MoveBaseFieldCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3904ad(0x20e)][_0x3904ad(0x207)](),'fieldId':this[_0x3904ad(0x216)],'target':_0x467d1c});}[_0x5220ed(0x2d4)](){const _0x286315=_0x5220ed;let _0x5a1e92=this[_0x286315(0x20e)]['getTable']()[_0x286315(0x22a)][this['_fieldId']];if(!_0x5a1e92)throw Error(_0x286315(0x1c2)+this[_0x286315(0x216)]+_0x286315(0x22f));return _0x5a1e92;}},_0x39826c=class _0x113766{constructor(_0x52e8b3,_0x5a713f,_0x5c925c,_0x20b94c){const _0x831a91=_0x5220ed;this['_base']=_0x52e8b3,this['_table']=_0x5a713f,this[_0x831a91(0x21f)]=_0x5c925c,this[_0x831a91(0x2a0)]=_0x20b94c,this['_assertInBounds']();}[_0x5220ed(0x1e1)](){const _0x3ddcdb=_0x5220ed;return this[_0x3ddcdb(0x27d)][_0x3ddcdb(0x207)]();}[_0x5220ed(0x242)](){const _0x88ceff=_0x5220ed;return this['_table'][_0x88ceff(0x207)]();}[_0x5220ed(0x1f4)](){const _0x49b346=_0x5220ed;return{...this[_0x49b346(0x21f)]};}[_0x5220ed(0x26f)](){const _0x519854=_0x5220ed;return this[_0x519854(0x21f)][_0x519854(0x2c6)];}[_0x5220ed(0x296)](){const _0x231f70=_0x5220ed;return this[_0x231f70(0x21f)][_0x231f70(0x2d1)];}[_0x5220ed(0x1dc)](){const _0x2c25cb=_0x5220ed;return this[_0x2c25cb(0x21f)][_0x2c25cb(0x283)]-this[_0x2c25cb(0x21f)][_0x2c25cb(0x2c6)]+0x1;}[_0x5220ed(0x1d5)](){const _0x44a79c=_0x5220ed;return this[_0x44a79c(0x21f)][_0x44a79c(0x1d4)]-this['_range'][_0x44a79c(0x2d1)]+0x1;}[_0x5220ed(0x2af)](){const _0x45cd6e=_0x5220ed;let _0x4d9c9c=this[_0x45cd6e(0x244)](),_0x1e7227=[];for(let _0x5a8705=this[_0x45cd6e(0x21f)][_0x45cd6e(0x2c6)];_0x5a8705<=this[_0x45cd6e(0x21f)][_0x45cd6e(0x283)];_0x5a8705++){var _0x57b587;let _0x48987d=(_0x57b587=_0x4d9c9c['rowId'])==null?void 0x0:_0x57b587[_0x5a8705],_0xb1d4=[];for(let _0x3db6f1=this[_0x45cd6e(0x21f)][_0x45cd6e(0x2d1)];_0x3db6f1<=this[_0x45cd6e(0x21f)]['endColumn'];_0x3db6f1++){var _0xbe9c09;let _0x1ae7ca=(_0xbe9c09=_0x4d9c9c[_0x45cd6e(0x256)])==null?void 0x0:_0xbe9c09[_0x3db6f1];_0xb1d4['push'](_0x48987d&&_0x1ae7ca?(0x0,_0x55af74[_0x45cd6e(0x1dd)])(_0x4d9c9c,_0x48987d,_0x1ae7ca):null);}_0x1e7227['push'](_0xb1d4);}return _0x1e7227;}['getValue'](){const _0x9810b7=_0x5220ed;var _0x59cd4d,_0x162a63;return(_0x59cd4d=(_0x162a63=this[_0x9810b7(0x2af)]()[0x0])==null?void 0x0:_0x162a63[0x0])==null?null:_0x59cd4d;}[_0x5220ed(0x241)](_0x23318b){return this['setValues']([[_0x23318b]]);}['setValues'](_0xf54c09){const _0x34a783=_0x5220ed;let _0x33c09f=this[_0x34a783(0x1dc)](),_0x2ee270=this[_0x34a783(0x1d5)]();if(_0xf54c09[_0x34a783(0x2ac)]>_0x33c09f||_0xf54c09[_0x34a783(0x1c7)](_0x4f194c=>_0x4f194c[_0x34a783(0x2ac)]>_0x2ee270)){var _0x1ad1d9,_0x524d56;throw Error('[FBaseRange]:\x20values\x20size\x20'+_0xf54c09[_0x34a783(0x2ac)]+'x'+((_0x1ad1d9=(_0x524d56=_0xf54c09[0x0])==null?void 0x0:_0x524d56['length'])==null?0x0:_0x1ad1d9)+_0x34a783(0x1e8)+_0x33c09f+'x'+_0x2ee270+'.');}let _0x408e30=this[_0x34a783(0x2a0)][_0x34a783(0x287)](_0x67e984[_0x34a783(0x298)]),_0x363656=_0xf54c09[_0x34a783(0x22c)]((_0x4fd3f3,_0x2b1e9f)=>_0x4fd3f3[_0x34a783(0x1f8)]((_0x5369cb,_0x447642)=>({'row':this[_0x34a783(0x21f)][_0x34a783(0x2c6)]+_0x2b1e9f,'col':this[_0x34a783(0x21f)][_0x34a783(0x2d1)]+_0x447642,'value':_0x5369cb})));return _0x408e30[_0x34a783(0x22e)](_0x55af74['SetBaseRangeValuesCommand']['id'],{'unitId':this[_0x34a783(0x27d)][_0x34a783(0x207)](),'tableId':this[_0x34a783(0x20e)][_0x34a783(0x207)](),'patches':_0x363656});}['clear'](){const _0x3009e2=_0x5220ed;return this[_0x3009e2(0x1e9)](Array[_0x3009e2(0x2ad)]({'length':this[_0x3009e2(0x1dc)]()},()=>Array['from']({'length':this[_0x3009e2(0x1d5)]()},()=>null)));}[_0x5220ed(0x2b8)](_0x2160a4,_0x35e940,_0x2b880a=this[_0x5220ed(0x1dc)](),_0x34074c=this[_0x5220ed(0x1d5)]()){const _0x15e0c6=_0x5220ed;return this[_0x15e0c6(0x2a0)][_0x15e0c6(0x1ee)](_0x113766,this[_0x15e0c6(0x27d)],this[_0x15e0c6(0x20e)],{'startRow':this['_range'][_0x15e0c6(0x2c6)]+_0x2160a4,'startColumn':this[_0x15e0c6(0x21f)][_0x15e0c6(0x2d1)]+_0x35e940,'endRow':this[_0x15e0c6(0x21f)]['startRow']+_0x2160a4+_0x2b880a-0x1,'endColumn':this['_range'][_0x15e0c6(0x2d1)]+_0x35e940+_0x34074c-0x1},this['_inject']);}[_0x5220ed(0x244)](){const _0x4bf8a2=_0x5220ed;let _0x115384=this[_0x4bf8a2(0x20e)]['getTable']();if(!_0x115384)throw Error(_0x4bf8a2(0x2a8));return(0x0,_0x55af74[_0x4bf8a2(0x26e)])(_0x115384);}[_0x5220ed(0x24e)](){const _0x3eba93=_0x5220ed;var _0x3c30e4,_0xeb0b44;let _0x2ae786=this[_0x3eba93(0x244)](),_0x1192a9=(_0x3c30e4=(_0xeb0b44=_0x2ae786[_0x3eba93(0x1c9)])==null?void 0x0:_0xeb0b44[_0x3eba93(0x2ac)])==null?0x0:_0x3c30e4,_0x2f2813=_0x2ae786[_0x3eba93(0x260)][_0x3eba93(0x2ac)];if(this[_0x3eba93(0x21f)][_0x3eba93(0x2c6)]<0x0||this[_0x3eba93(0x21f)][_0x3eba93(0x2d1)]<0x0||this[_0x3eba93(0x21f)][_0x3eba93(0x283)]<this[_0x3eba93(0x21f)][_0x3eba93(0x2c6)]||this['_range'][_0x3eba93(0x1d4)]<this['_range'][_0x3eba93(0x2d1)]||this[_0x3eba93(0x21f)]['endRow']>=Math['max'](_0x1192a9,0x1)||this[_0x3eba93(0x21f)][_0x3eba93(0x1d4)]>=Math[_0x3eba93(0x1e0)](_0x2f2813,0x1))throw Error(_0x3eba93(0x26b)+_0x1192a9+_0x3eba93(0x28a)+_0x2f2813+_0x3eba93(0x272)+JSON[_0x3eba93(0x2d3)](this[_0x3eba93(0x21f)])+'.');}};let _0x3e672c=function(_0x24e9d9){const _0xa80e13=_0x5220ed;return _0x24e9d9['Id']='id',_0x24e9d9[_0xa80e13(0x25e)]=_0xa80e13(0x23c),_0x24e9d9[_0xa80e13(0x251)]=_0xa80e13(0x25d),_0x24e9d9;}({});function _0x39c66b(_0x40d499,_0xf3d440,_0x112a65='id'){const _0x46eac0=_0x5220ed;if(!_0xf3d440)return{};let _0x4cc688={};return Object[_0x46eac0(0x2a1)](_0xf3d440)[_0x46eac0(0x2c7)](([_0x3409f8,_0x3d37c6])=>{_0x4cc688[_0x1e39c3(_0x40d499,_0x3409f8,_0x112a65)]=_0x3d37c6;}),_0x4cc688;}function _0x1e39c3(_0x513edf,_0xf2fd71,_0x4bb421){const _0x16e4a9=_0x5220ed;if(_0x4bb421==='id'||_0x4bb421===_0x16e4a9(0x25d)&&_0x513edf['fields'][_0xf2fd71])return _0xf2fd71;let _0x223702=Object[_0x16e4a9(0x2cd)](_0x513edf[_0x16e4a9(0x22a)])[_0x16e4a9(0x203)](_0x27763d=>_0x27763d[_0x16e4a9(0x23c)]===_0xf2fd71);if(_0x223702[_0x16e4a9(0x2ac)]===0x1)return _0x223702[0x0]['id'];throw _0x223702['length']>0x1?Error(_0x16e4a9(0x217)+_0xf2fd71):Error('Base\x20field\x20not\x20found:\x20'+_0xf2fd71);}var _0x5eccbc=class _0x3971f5{constructor(_0x395c54,_0xabaa9b,_0x18490b,_0x2428aa){const _0xcf2541=_0x5220ed;this[_0xcf2541(0x27d)]=_0x395c54,this[_0xcf2541(0x20e)]=_0xabaa9b,this[_0xcf2541(0x267)]=_0x18490b,this[_0xcf2541(0x2a0)]=_0x2428aa;}[_0x5220ed(0x207)](){const _0x4a4aa1=_0x5220ed;return this[_0x4a4aa1(0x267)];}[_0x5220ed(0x1cf)](){return this['_getRecord']();}['getValue'](_0x24b285){const _0x3153af=_0x5220ed;var _0xd3f73b;return(_0xd3f73b=this[_0x3153af(0x286)]()[_0x3153af(0x2cd)][_0x24b285])==null?null:_0xd3f73b;}['getValues'](){const _0x25c653=_0x5220ed;return{...this[_0x25c653(0x286)]()[_0x25c653(0x2cd)]};}[_0x5220ed(0x241)](_0xc1fab5,_0x3d1e92){const _0x3d9b68=_0x5220ed;return this[_0x3d9b68(0x2a0)][_0x3d9b68(0x287)](_0x67e984[_0x3d9b68(0x298)])[_0x3d9b68(0x22e)](_0x55af74[_0x3d9b68(0x2cc)]['id'],{'unitId':this[_0x3d9b68(0x27d)][_0x3d9b68(0x207)](),'tableId':this[_0x3d9b68(0x20e)]['getId'](),'recordId':this[_0x3d9b68(0x267)],'fieldId':_0xc1fab5,'value':_0x3d1e92});}[_0x5220ed(0x1e9)](_0x1af24b,_0x49cab3='id'){const _0x4c4c87=_0x5220ed;let _0x23d6f2=this[_0x4c4c87(0x2a0)]['get'](_0x67e984['ICommandService']),_0x2d0980=this['_table'][_0x4c4c87(0x2a7)](),_0x23dc7f=[{'recordId':this['_recordId'],'values':_0x39c66b(_0x2d0980,_0x1af24b,_0x49cab3)}];return _0x23d6f2[_0x4c4c87(0x22e)](_0x55af74[_0x4c4c87(0x295)]['id'],{'unitId':this[_0x4c4c87(0x27d)][_0x4c4c87(0x207)](),'tableId':this['_table'][_0x4c4c87(0x207)](),'patches':_0x23dc7f});}['delete'](){const _0x59df76=_0x5220ed;return this[_0x59df76(0x2a0)][_0x59df76(0x287)](_0x67e984[_0x59df76(0x298)])[_0x59df76(0x22e)](_0x55af74['DeleteBaseRecordCommand']['id'],{'unitId':this[_0x59df76(0x27d)][_0x59df76(0x207)](),'tableId':this[_0x59df76(0x20e)]['getId'](),'recordId':this[_0x59df76(0x267)]});}['duplicate'](_0x53fade){const _0x393d73=_0x5220ed;let _0x20d3bf=this[_0x393d73(0x2a0)]['get'](_0x67e984[_0x393d73(0x298)]),_0x58a13a={...this[_0x393d73(0x286)](),..._0x53fade,'id':(0x0,_0x67e984[_0x393d73(0x2b7)])(0x6)};_0x53fade!=null&&_0x53fade[_0x393d73(0x2cd)]&&(_0x58a13a[_0x393d73(0x2cd)]={..._0x58a13a['values'],..._0x53fade[_0x393d73(0x2cd)]});let _0x425e3e=Date['now']();if(_0x58a13a['orderKey']||(_0x58a13a[_0x393d73(0x27b)]=''+_0x425e3e),_0x58a13a[_0x393d73(0x26a)]||(_0x58a13a[_0x393d73(0x26a)]=_0x425e3e),_0x58a13a[_0x393d73(0x1ec)]||(_0x58a13a[_0x393d73(0x1ec)]=_0x425e3e),!_0x20d3bf['syncExecuteCommand'](_0x55af74[_0x393d73(0x261)]['id'],{'unitId':this['_base'][_0x393d73(0x207)](),'tableId':this[_0x393d73(0x20e)]['getId'](),'sourceRecordId':this[_0x393d73(0x267)],'record':_0x58a13a}))throw Error(_0x393d73(0x2b0)+this[_0x393d73(0x267)]+'\x22.');return this['_inject'][_0x393d73(0x1ee)](_0x3971f5,this[_0x393d73(0x27d)],this[_0x393d73(0x20e)],_0x58a13a['id'],this[_0x393d73(0x2a0)]);}[_0x5220ed(0x25c)](_0x566096){const _0x11aca2=_0x5220ed;return this[_0x11aca2(0x2a0)]['get'](_0x67e984[_0x11aca2(0x298)])[_0x11aca2(0x22e)](_0x55af74[_0x11aca2(0x280)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'recordId':this[_0x11aca2(0x267)],'orderKey':_0x566096});}[_0x5220ed(0x286)](){const _0x2389c1=_0x5220ed;let _0x5b0246=this[_0x2389c1(0x20e)][_0x2389c1(0x2a7)]()[_0x2389c1(0x1fb)][this['_recordId']];if(!_0x5b0246)throw Error(_0x2389c1(0x23d)+this[_0x2389c1(0x267)]+_0x2389c1(0x22f));return _0x5b0246;}},_0x1e95f8=class{constructor(_0x442828,_0x4ec9f6,_0x12564c,_0x20592a){const _0x230057=_0x5220ed;this[_0x230057(0x27d)]=_0x442828,this[_0x230057(0x20e)]=_0x4ec9f6,this['_viewId']=_0x12564c,this[_0x230057(0x273)]=_0x20592a;}['getId'](){const _0x4358ad=_0x5220ed;return this[_0x4358ad(0x290)];}[_0x5220ed(0x2c8)](){const _0x142ac7=_0x5220ed;return this[_0x142ac7(0x2c9)]();}[_0x5220ed(0x246)](){const _0x145f1f=_0x5220ed;return this[_0x145f1f(0x2c9)]()[_0x145f1f(0x23c)];}[_0x5220ed(0x28c)](){const _0x72633b=_0x5220ed;return this[_0x72633b(0x2c9)]()['type'];}[_0x5220ed(0x26c)](_0x2b111d){const _0x4fc70c=_0x5220ed;return this[_0x4fc70c(0x273)][_0x4fc70c(0x287)](_0x67e984[_0x4fc70c(0x298)])[_0x4fc70c(0x22e)](_0x55af74['RenameBaseViewCommand']['id'],{'unitId':this['_base'][_0x4fc70c(0x207)](),'tableId':this[_0x4fc70c(0x20e)][_0x4fc70c(0x207)](),'viewId':this[_0x4fc70c(0x290)],'name':_0x2b111d});}[_0x5220ed(0x1ef)](){const _0x6f0aaa=_0x5220ed;let _0xa22369=this[_0x6f0aaa(0x28c)](),_0x3486aa=this['_getView']()[_0x6f0aaa(0x206)];switch(_0xa22369){case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x2ce)]:return _0x3486aa;case _0x67e984['BaseViewType']['Kanban']:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x292)]:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)]['Gantt']:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x21a)]:return _0x3486aa;default:return _0x3486aa;}}[_0x5220ed(0x262)](_0x15541d){const _0x45e79d=_0x5220ed;return this['_injector'][_0x45e79d(0x287)](_0x67e984[_0x45e79d(0x298)])[_0x45e79d(0x22e)](_0x55af74[_0x45e79d(0x1ca)]['id'],{'unitId':this['_base'][_0x45e79d(0x207)](),'tableId':this[_0x45e79d(0x20e)][_0x45e79d(0x207)](),'viewId':this['_viewId'],'patch':_0x15541d});}[_0x5220ed(0x1da)](){const _0x25fb65=_0x5220ed;var _0x368d19;return(_0x368d19=this[_0x25fb65(0x2c9)]()['filter'])==null?null:_0x368d19;}[_0x5220ed(0x2cb)](_0xa72ac4){const _0x313f9c=_0x5220ed;return this['_injector']['get'](_0x67e984[_0x313f9c(0x298)])[_0x313f9c(0x22e)](_0x55af74[_0x313f9c(0x270)]['id'],{'unitId':this[_0x313f9c(0x27d)][_0x313f9c(0x207)](),'tableId':this[_0x313f9c(0x20e)][_0x313f9c(0x207)](),'viewId':this['_viewId'],'filter':_0xa72ac4});}['getSort'](){const _0x2394de=_0x5220ed;var _0x3c0d0f;return(_0x3c0d0f=this[_0x2394de(0x2c9)]()['sort'])==null?[]:_0x3c0d0f;}[_0x5220ed(0x259)](_0x5f3a34){const _0x2a7577=_0x5220ed;return this['_injector']['get'](_0x67e984[_0x2a7577(0x298)])[_0x2a7577(0x22e)](_0x55af74['SetBaseViewSortCommand']['id'],{'unitId':this[_0x2a7577(0x27d)][_0x2a7577(0x207)](),'tableId':this[_0x2a7577(0x20e)][_0x2a7577(0x207)](),'viewId':this[_0x2a7577(0x290)],'sort':_0x5f3a34});}[_0x5220ed(0x2bf)](){const _0x3e12cf=_0x5220ed;var _0x550cd6;return(_0x550cd6=this[_0x3e12cf(0x2c9)]()[_0x3e12cf(0x1e6)])==null?[]:_0x550cd6;}[_0x5220ed(0x243)](_0x374626){const _0x1d3074=_0x5220ed;return this[_0x1d3074(0x273)][_0x1d3074(0x287)](_0x67e984['ICommandService'])[_0x1d3074(0x22e)](_0x55af74[_0x1d3074(0x2bd)]['id'],{'unitId':this[_0x1d3074(0x27d)][_0x1d3074(0x207)](),'tableId':this[_0x1d3074(0x20e)][_0x1d3074(0x207)](),'viewId':this[_0x1d3074(0x290)],'group':_0x374626});}[_0x5220ed(0x2b2)](_0x595b04){const _0x27ade2=_0x5220ed;var _0x29b9a4,_0x19d588;return(_0x29b9a4=(_0x19d588=this['_getView']()[_0x27ade2(0x2b3)])==null?void 0x0:_0x19d588[_0x595b04])==null?{}:_0x29b9a4;}[_0x5220ed(0x1d9)](){const _0x2880ba=_0x5220ed;var _0x35f701;let _0x3b7972=this[_0x2880ba(0x20e)]['getTable'](),_0x2fed07=this[_0x2880ba(0x2c9)]();return((_0x35f701=_0x2fed07[_0x2880ba(0x260)])==null?_0x3b7972[_0x2880ba(0x260)]:_0x35f701)[_0x2880ba(0x203)](_0x3ecc81=>{const _0x5472ba=_0x2880ba;var _0x3901b2;return _0x3b7972[_0x5472ba(0x22a)][_0x3ecc81]&&!(!((_0x3901b2=_0x2fed07[_0x5472ba(0x2b3)])==null||(_0x3901b2=_0x3901b2[_0x3ecc81])==null)&&_0x3901b2[_0x5472ba(0x258)]);})[_0x2880ba(0x1f8)](_0x1785d1=>this['_injector'][_0x2880ba(0x1ee)](_0x2cacd9,this[_0x2880ba(0x27d)],this['_table'],_0x1785d1,this['_injector']));}[_0x5220ed(0x2c3)](_0x254f38,_0x29838a){const _0x144c2f=_0x5220ed;return this[_0x144c2f(0x273)][_0x144c2f(0x287)](_0x67e984[_0x144c2f(0x298)])[_0x144c2f(0x22e)](_0x55af74[_0x144c2f(0x230)]['id'],{'unitId':this[_0x144c2f(0x27d)]['getId'](),'tableId':this['_table']['getId'](),'viewId':this[_0x144c2f(0x290)],'fieldId':_0x254f38,'visible':_0x29838a});}[_0x5220ed(0x23e)](_0x1ed3d,_0x50db94){const _0x60e6d6=_0x5220ed;return this[_0x60e6d6(0x273)]['get'](_0x67e984[_0x60e6d6(0x298)])['syncExecuteCommand'](_0x55af74[_0x60e6d6(0x209)]['id'],{'unitId':this['_base'][_0x60e6d6(0x207)](),'tableId':this[_0x60e6d6(0x20e)][_0x60e6d6(0x207)](),'viewId':this['_viewId'],'fieldId':_0x1ed3d,'width':_0x50db94});}[_0x5220ed(0x21d)](_0x5b3f7c,_0x9b3a95){const _0x54bdbc=_0x5220ed;return this[_0x54bdbc(0x273)]['get'](_0x67e984[_0x54bdbc(0x298)])[_0x54bdbc(0x22e)](_0x55af74[_0x54bdbc(0x263)]['id'],{'unitId':this['_base'][_0x54bdbc(0x207)](),'tableId':this['_table'][_0x54bdbc(0x207)](),'viewId':this['_viewId'],'fieldId':_0x5b3f7c,'target':_0x9b3a95});}[_0x5220ed(0x237)](_0x1ff083){const _0x27bb0d=_0x5220ed;return this[_0x27bb0d(0x273)]['get'](_0x67e984['ICommandService'])[_0x27bb0d(0x22e)](_0x55af74[_0x27bb0d(0x1cd)]['id'],{'unitId':this[_0x27bb0d(0x27d)][_0x27bb0d(0x207)](),'tableId':this[_0x27bb0d(0x20e)][_0x27bb0d(0x207)](),'viewId':this[_0x27bb0d(0x290)],'target':_0x1ff083});}[_0x5220ed(0x1df)](){const _0x362f00=_0x5220ed;return this[_0x362f00(0x273)][_0x362f00(0x287)](_0x67e984[_0x362f00(0x298)])[_0x362f00(0x22e)](_0x55af74['DeleteBaseViewCommand']['id'],{'unitId':this[_0x362f00(0x27d)][_0x362f00(0x207)](),'tableId':this[_0x362f00(0x20e)][_0x362f00(0x207)](),'viewId':this[_0x362f00(0x290)]});}[_0x5220ed(0x1f2)](){const _0x1cab8a=_0x5220ed;return this[_0x1cab8a(0x273)][_0x1cab8a(0x287)](_0x55af74[_0x1cab8a(0x2b9)])[_0x1cab8a(0x1f2)](this[_0x1cab8a(0x27d)][_0x1cab8a(0x1e2)]()['getSnapshot'](),this[_0x1cab8a(0x20e)][_0x1cab8a(0x207)](),this[_0x1cab8a(0x290)]);}['_getView'](){const _0x490417=_0x5220ed;let _0x79b9c1=this[_0x490417(0x20e)][_0x490417(0x2a7)]()[_0x490417(0x2d0)][this[_0x490417(0x290)]];if(!_0x79b9c1)throw Error(_0x490417(0x28b)+this[_0x490417(0x290)]+_0x490417(0x22f));return _0x79b9c1;}},_0x532c67=class{constructor(_0x10301d,_0x11d239,_0x5b55da){const _0x1fe82e=_0x5220ed;this[_0x1fe82e(0x27d)]=_0x10301d,this[_0x1fe82e(0x27f)]=_0x11d239,this[_0x1fe82e(0x273)]=_0x5b55da;}[_0x5220ed(0x1e2)](){const _0x3c0a43=_0x5220ed;return this[_0x3c0a43(0x27d)][_0x3c0a43(0x1e2)]();}[_0x5220ed(0x2a7)](){const _0x4aa92b=_0x5220ed;return this[_0x4aa92b(0x244)]();}[_0x5220ed(0x207)](){const _0x593631=_0x5220ed;return this[_0x593631(0x27f)];}[_0x5220ed(0x246)](){const _0x31f345=_0x5220ed;return this['_getTable']()[_0x31f345(0x23c)];}[_0x5220ed(0x26c)](_0xfb7146){const _0x4e3969=_0x5220ed;return this['_injector'][_0x4e3969(0x287)](_0x67e984[_0x4e3969(0x298)])[_0x4e3969(0x22e)](_0x55af74[_0x4e3969(0x1db)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x4e3969(0x27f)],'name':_0xfb7146});}[_0x5220ed(0x200)](_0x51b37c,_0x1e1701){const _0x479b95=_0x5220ed;var _0x548dc1;let _0x10e380=this['_injector'][_0x479b95(0x287)](_0x55af74[_0x479b95(0x2b9)]),_0x50132f=this[_0x479b95(0x27d)][_0x479b95(0x1e2)]()['getSnapshot'](),_0x2dbd7a=this['_getTable']();if(_0x1e1701){var _0x35e099;let _0x159a61=_0x10e380[_0x479b95(0x1f2)](_0x50132f,this['_tableId'],_0x1e1701),_0x4e2f2d=_0x2dbd7a[_0x479b95(0x2d0)][_0x1e1701],_0x56acd5=(_0x35e099=_0x51b37c[_0x479b95(0x226)])==null?_0x4a5f98(_0x2dbd7a,_0x4e2f2d,_0x159a61):_0x35e099,_0x1c81e1=_0x479b95(0x2c5)in _0x159a61&&Array['isArray'](_0x159a61[_0x479b95(0x2c5)])?_0x159a61[_0x479b95(0x2c5)]:[];return(0x0,_0x55af74[_0x479b95(0x29c)])({..._0x51b37c,'table':_0x2dbd7a,'fieldIds':_0x56acd5,'rows':_0x1c81e1});}let _0x412172=(_0x2dbd7a[_0x479b95(0x1c9)]?_0x2dbd7a['recordOrder'][_0x479b95(0x1f8)](_0x5a5d2f=>_0x2dbd7a[_0x479b95(0x1fb)][_0x5a5d2f]):Object[_0x479b95(0x2cd)](_0x2dbd7a[_0x479b95(0x1fb)])[_0x479b95(0x1fe)]((_0x44cfbf,_0x4df813)=>_0x44cfbf[_0x479b95(0x27b)][_0x479b95(0x245)](_0x4df813[_0x479b95(0x27b)])))[_0x479b95(0x203)](_0x32a6d4=>_0x32a6d4)[_0x479b95(0x1f8)](_0x124961=>({'recordId':_0x124961['id'],'values':_0x124961[_0x479b95(0x2cd)]})),_0x207274=(_0x548dc1=_0x51b37c['fieldIds'])==null?_0x2dbd7a[_0x479b95(0x260)]['filter'](_0x26819f=>_0x2dbd7a[_0x479b95(0x22a)][_0x26819f]):_0x548dc1;return(0x0,_0x55af74[_0x479b95(0x29c)])({..._0x51b37c,'table':_0x2dbd7a,'fieldIds':_0x207274,'rows':_0x412172});}['getPrimaryFieldId'](){const _0x2b054d=_0x5220ed;return this[_0x2b054d(0x244)]()[_0x2b054d(0x2b1)];}['getFields'](){const _0x4f3c7f=_0x5220ed;let _0x5c8341=this[_0x4f3c7f(0x244)]();return _0x5c8341[_0x4f3c7f(0x260)]['map'](_0x310af7=>_0x5c8341['fields'][_0x310af7])[_0x4f3c7f(0x203)](_0x284d37=>_0x284d37)['map'](_0xc9e621=>this[_0x4f3c7f(0x273)][_0x4f3c7f(0x1ee)](_0x2cacd9,this[_0x4f3c7f(0x27d)],this,_0xc9e621['id'],this[_0x4f3c7f(0x273)]));}[_0x5220ed(0x2be)](_0x194cdb){const _0x2f9b47=_0x5220ed;let _0x31712c=this[_0x2f9b47(0x244)]()['fields'][_0x194cdb];return _0x31712c?this[_0x2f9b47(0x273)][_0x2f9b47(0x1ee)](_0x2cacd9,this[_0x2f9b47(0x27d)],this,_0x31712c['id'],this[_0x2f9b47(0x273)]):null;}['getFieldByName'](_0x26d609){const _0x1a220e=_0x5220ed;let _0x5da710=this[_0x1a220e(0x244)]()[_0x1a220e(0x22a)],_0x2138b4=Object[_0x1a220e(0x2cd)](_0x5da710)[_0x1a220e(0x24a)](_0x28353b=>_0x28353b[_0x1a220e(0x23c)]===_0x26d609);return _0x2138b4?this['_injector'][_0x1a220e(0x1ee)](_0x2cacd9,this[_0x1a220e(0x27d)],this,_0x2138b4['id'],this[_0x1a220e(0x273)]):null;}[_0x5220ed(0x23b)](){const _0x28ca83=_0x5220ed;let _0x463c28=this[_0x28ca83(0x244)]()[_0x28ca83(0x2b1)];return this[_0x28ca83(0x273)][_0x28ca83(0x1ee)](_0x2cacd9,this[_0x28ca83(0x27d)],this,_0x463c28,this[_0x28ca83(0x273)]);}[_0x5220ed(0x26d)](_0x230465,_0x51885b,_0x8d4147){const _0x3d6e37=_0x5220ed;var _0x375d52;let _0x30fd09=this['_injector'][_0x3d6e37(0x287)](_0x67e984[_0x3d6e37(0x298)]),_0x11a659=(_0x375d52=_0x8d4147==null?void 0x0:_0x8d4147['field'])==null?{}:_0x375d52;if(_0x11a659['id']=(0x0,_0x67e984[_0x3d6e37(0x2b7)])(0x6),_0x11a659[_0x3d6e37(0x23c)]=_0x230465,_0x11a659[_0x3d6e37(0x1f7)]=_0x51885b,!_0x11a659[_0x3d6e37(0x1f7)])throw Error(_0x3d6e37(0x1c4));if(_0x11a659[_0x3d6e37(0x206)]||(_0x11a659[_0x3d6e37(0x206)]={}),!_0x30fd09[_0x3d6e37(0x22e)](_0x55af74[_0x3d6e37(0x201)]['id'],{'unitId':this['_base'][_0x3d6e37(0x207)](),'tableId':this[_0x3d6e37(0x27f)],'field':_0x11a659,'index':_0x8d4147==null?void 0x0:_0x8d4147[_0x3d6e37(0x1cb)]}))throw Error('Failed\x20to\x20add\x20field\x20\x22'+_0x230465+'\x22');return this[_0x3d6e37(0x273)][_0x3d6e37(0x1ee)](_0x2cacd9,this[_0x3d6e37(0x27d)],this,_0x11a659['id'],this['_injector']);}['getRecords'](){const _0x5b7f98=_0x5220ed;return this[_0x5b7f98(0x248)]()['map'](_0x5f1e33=>this['_injector'][_0x5b7f98(0x1ee)](_0x5eccbc,this[_0x5b7f98(0x27d)],this,_0x5f1e33,this[_0x5b7f98(0x273)]));}[_0x5220ed(0x227)](_0x26757f){const _0x3790b1=_0x5220ed;return this[_0x3790b1(0x244)]()[_0x3790b1(0x1fb)][_0x26757f]?this[_0x3790b1(0x273)]['createInstance'](_0x5eccbc,this['_base'],this,_0x26757f,this[_0x3790b1(0x273)]):null;}[_0x5220ed(0x1e5)](_0x19ca8a={}){const _0x116ddd=_0x5220ed;var _0x1ebbb1;let _0x4085cd=this[_0x116ddd(0x244)](),_0x12835b=this[_0x116ddd(0x248)](_0x19ca8a),_0x4d81ee=Math['max'](0x0,(_0x1ebbb1=_0x19ca8a[_0x116ddd(0x2b8)])==null?0x0:_0x1ebbb1),_0x4f51b4=_0x19ca8a['limit']==null?null:Math[_0x116ddd(0x1e0)](0x0,_0x19ca8a[_0x116ddd(0x24c)]),_0x19c8fc=_0x482ee1(_0x12835b['map'](_0x2de7a8=>_0x4085cd['records'][_0x2de7a8])['filter'](_0x3d7a61=>_0x3770e1(_0x3d7a61,_0x4085cd,_0x19ca8a[_0x116ddd(0x203)])),_0x4085cd,_0x19ca8a['sort']);return{'records':_0x548402(_0x19c8fc,_0x19ca8a)[_0x116ddd(0x1f8)](_0x321aa4=>this[_0x116ddd(0x273)][_0x116ddd(0x1ee)](_0x5eccbc,this[_0x116ddd(0x27d)],this,_0x321aa4['id'],this[_0x116ddd(0x273)])),'total':_0x19c8fc['length'],'offset':_0x4d81ee,'limit':_0x4f51b4,'hasMore':_0x4f51b4!=null&&_0x4d81ee+_0x4f51b4<_0x19c8fc['length']};}[_0x5220ed(0x1f9)](_0x961580,_0x4293c4='id',_0xb93e48){const _0x5205be=_0x5220ed;let _0x33f8ca=this['_injector'][_0x5205be(0x287)](_0x67e984[_0x5205be(0x298)]),_0x1140b9=this[_0x5205be(0x244)](),_0x1d98e6=_0xb93e48==null?{}:_0xb93e48;_0x1d98e6['id']=(0x0,_0x67e984[_0x5205be(0x2b7)])(0x6),_0x1d98e6[_0x5205be(0x2cd)]=_0x39c66b(_0x1140b9,_0x961580,_0x4293c4);let _0x22d455=Date[_0x5205be(0x2d2)]();if(_0x1d98e6[_0x5205be(0x27b)]||(_0x1d98e6[_0x5205be(0x27b)]=''+_0x22d455),_0x1d98e6[_0x5205be(0x26a)]||(_0x1d98e6[_0x5205be(0x26a)]=_0x22d455),_0x1d98e6[_0x5205be(0x1ec)]||(_0x1d98e6['updatedAt']=_0x22d455),!_0x33f8ca[_0x5205be(0x22e)](_0x55af74[_0x5205be(0x231)]['id'],{'unitId':this[_0x5205be(0x27d)][_0x5205be(0x207)](),'tableId':this[_0x5205be(0x27f)],'record':_0x1d98e6}))throw Error('Failed\x20to\x20add\x20record\x20with\x20id\x20\x22'+_0x1d98e6['id']+'\x22');return this['_injector'][_0x5205be(0x1ee)](_0x5eccbc,this['_base'],this,_0x1d98e6['id'],this['_injector']);}[_0x5220ed(0x224)](_0x5bdb1b){const _0x2444f9=_0x5220ed;if(!_0x5bdb1b[_0x2444f9(0x2ac)])return[];let _0x27723a=this[_0x2444f9(0x273)][_0x2444f9(0x287)](_0x67e984[_0x2444f9(0x298)]),_0x4cf5c4=this[_0x2444f9(0x244)](),_0x497ccc=Date[_0x2444f9(0x2d2)](),_0x2697c7=_0x5bdb1b[_0x2444f9(0x1f8)]((_0x2b674e,_0x58694d)=>{const _0x10bb00=_0x2444f9;var _0x45b2a0,_0x4fb2cd;let _0x3cef5b=(_0x45b2a0=_0x2b674e[_0x10bb00(0x1c5)])==null?{}:_0x45b2a0;return _0x3cef5b['id']=(0x0,_0x67e984[_0x10bb00(0x2b7)])(0x6),_0x3cef5b[_0x10bb00(0x2cd)]=_0x39c66b(_0x4cf5c4,_0x2b674e[_0x10bb00(0x2cd)],(_0x4fb2cd=_0x2b674e[_0x10bb00(0x274)])==null?'id':_0x4fb2cd),_0x3cef5b[_0x10bb00(0x27b)]||(_0x3cef5b[_0x10bb00(0x27b)]=''+(_0x497ccc+_0x58694d)),_0x3cef5b[_0x10bb00(0x26a)]||(_0x3cef5b[_0x10bb00(0x26a)]=_0x497ccc),_0x3cef5b[_0x10bb00(0x1ec)]||(_0x3cef5b[_0x10bb00(0x1ec)]=_0x497ccc),_0x3cef5b;});if(!_0x27723a['syncExecuteCommand'](_0x55af74[_0x2444f9(0x21c)]['id'],{'unitId':this[_0x2444f9(0x27d)][_0x2444f9(0x207)](),'tableId':this[_0x2444f9(0x27f)],'records':_0x2697c7}))throw Error(_0x2444f9(0x277));return _0x2697c7[_0x2444f9(0x1f8)](_0x449d2b=>this[_0x2444f9(0x273)][_0x2444f9(0x1ee)](_0x5eccbc,this[_0x2444f9(0x27d)],this,_0x449d2b['id'],this[_0x2444f9(0x273)]));}[_0x5220ed(0x2b6)](_0x25103f){const _0x44c066=_0x5220ed;return _0x25103f[_0x44c066(0x2ac)]?this[_0x44c066(0x273)][_0x44c066(0x287)](_0x67e984[_0x44c066(0x298)])[_0x44c066(0x22e)](_0x55af74[_0x44c066(0x21b)]['id'],{'unitId':this[_0x44c066(0x27d)]['getId'](),'tableId':this[_0x44c066(0x27f)],'recordIds':_0x25103f}):!0x0;}[_0x5220ed(0x1f4)](_0x2ba6d7,_0x4d0113,_0x46df0a=0x1,_0x210cd9=0x1){const _0x461af6=_0x5220ed;return this[_0x461af6(0x273)][_0x461af6(0x1ee)](_0x39826c,this[_0x461af6(0x27d)],this,{'startRow':_0x2ba6d7,'endRow':_0x2ba6d7+_0x46df0a-0x1,'startColumn':_0x4d0113,'endColumn':_0x4d0113+_0x210cd9-0x1},this[_0x461af6(0x273)]);}[_0x5220ed(0x29d)](){const _0x59b144=_0x5220ed;var _0x533fc6,_0x19356e;let _0xc4612d=(0x0,_0x55af74['ensureBaseTableCellLayout'])(this['_getTable']()),_0xcb63e1=(_0x533fc6=(_0x19356e=_0xc4612d[_0x59b144(0x1c9)])==null?void 0x0:_0x19356e[_0x59b144(0x2ac)])==null?0x0:_0x533fc6,_0x4c2f2d=_0xc4612d['fieldOrder'][_0x59b144(0x2ac)];return this['getRange'](0x0,0x0,Math[_0x59b144(0x1e0)](_0xcb63e1,0x1),Math['max'](_0x4c2f2d,0x1));}['getViews'](){const _0x386247=_0x5220ed;let _0x14e241=this['_getTable']();return _0x14e241['viewOrder'][_0x386247(0x203)](_0x4c71f3=>_0x14e241['views'][_0x4c71f3])[_0x386247(0x1f8)](_0x47f965=>this[_0x386247(0x273)][_0x386247(0x1ee)](_0x1e95f8,this['_base'],this,_0x47f965,this['_injector']));}['getViewById'](_0x4e1ab6){const _0x29fb67=_0x5220ed;return this['_getTable']()[_0x29fb67(0x2d0)][_0x4e1ab6]?this[_0x29fb67(0x273)][_0x29fb67(0x1ee)](_0x1e95f8,this[_0x29fb67(0x27d)],this,_0x4e1ab6,this['_injector']):null;}[_0x5220ed(0x1f0)](_0x2d4176){const _0x15294a=_0x5220ed;let _0x34fdc5=this[_0x15294a(0x244)](),_0x28d49a=Object['values'](_0x34fdc5[_0x15294a(0x2d0)])['find'](_0x55628e=>_0x55628e[_0x15294a(0x23c)]===_0x2d4176);return _0x28d49a?this[_0x15294a(0x273)]['createInstance'](_0x1e95f8,this['_base'],this,_0x28d49a['id'],this[_0x15294a(0x273)]):null;}[_0x5220ed(0x1c0)](_0x57d323,_0x266302,_0x58308f){const _0x4dad47=_0x5220ed;var _0x68c60e;let _0x50ccfc=this[_0x4dad47(0x273)][_0x4dad47(0x287)](_0x67e984[_0x4dad47(0x298)]),_0xaf9cc5=this[_0x4dad47(0x244)](),_0x50747e=(_0x68c60e=_0x58308f==null?void 0x0:_0x58308f['view'])==null?{}:_0x68c60e;if(_0x50747e['id']=(0x0,_0x67e984[_0x4dad47(0x2b7)])(0x6),_0x50747e[_0x4dad47(0x23c)]=_0x57d323,_0x50747e[_0x4dad47(0x1f7)]=_0x266302,_0x50747e[_0x4dad47(0x2d5)]=this['_tableId'],!_0x50747e[_0x4dad47(0x1f7)])throw Error(_0x4dad47(0x252));if(_0x50747e[_0x4dad47(0x206)]||(_0x50747e[_0x4dad47(0x206)]={}),_0x50747e[_0x4dad47(0x260)]||(_0x50747e[_0x4dad47(0x260)]=[..._0xaf9cc5[_0x4dad47(0x260)]]),!_0x50ccfc[_0x4dad47(0x22e)](_0x55af74['CreateBaseViewCommand']['id'],{'unitId':this[_0x4dad47(0x27d)][_0x4dad47(0x207)](),'tableId':this[_0x4dad47(0x27f)],'view':_0x50747e,'index':_0x58308f==null?void 0x0:_0x58308f[_0x4dad47(0x1cb)]}))throw Error(_0x4dad47(0x1d1)+_0x57d323+'\x22');return this[_0x4dad47(0x273)][_0x4dad47(0x1ee)](_0x1e95f8,this['_base'],this,_0x50747e['id'],this['_injector']);}[_0x5220ed(0x28f)](){const _0x3f08f5=_0x5220ed;let _0x573857=this[_0x3f08f5(0x244)](),_0x2bc768=_0x573857[_0x3f08f5(0x260)][_0x3f08f5(0x203)](_0x6a1dc2=>_0x573857[_0x3f08f5(0x22a)][_0x6a1dc2]),_0xc83d1c=_0x573857[_0x3f08f5(0x220)][_0x3f08f5(0x203)](_0xd2b770=>_0x573857['views'][_0xd2b770]);return{'id':_0x573857['id'],'name':_0x573857[_0x3f08f5(0x23c)],'primaryFieldId':_0x573857[_0x3f08f5(0x2b1)],'fieldIds':_0x2bc768,'viewIds':_0xc83d1c,'recordCount':this[_0x3f08f5(0x248)]()['length'],'fields':_0x2bc768[_0x3f08f5(0x1f8)](_0x4c5a51=>{const _0x5f0035=_0x3f08f5;let _0x52fb61=_0x573857['fields'][_0x4c5a51];return{'id':_0x52fb61['id'],'name':_0x52fb61['name'],'type':_0x52fb61[_0x5f0035(0x1f7)],'config':_0x52fb61['config'],'readonly':_0x52fb61['readonly'],'description':_0x52fb61[_0x5f0035(0x1fa)]};}),'views':_0xc83d1c[_0x3f08f5(0x1f8)](_0x464cd5=>{const _0x3b3778=_0x3f08f5;let _0x22b215=_0x573857['views'][_0x464cd5];return{'id':_0x22b215['id'],'name':_0x22b215[_0x3b3778(0x23c)],'type':_0x22b215[_0x3b3778(0x1f7)]};})};}[_0x5220ed(0x244)](){const _0x2f8476=_0x5220ed;let _0x206258=this[_0x2f8476(0x27d)]['getBase']()[_0x2f8476(0x25f)]()[_0x2f8476(0x282)][this[_0x2f8476(0x27f)]];if(!_0x206258)throw Error(_0x2f8476(0x2a3)+this[_0x2f8476(0x27f)]+_0x2f8476(0x22f));return _0x206258;}[_0x5220ed(0x248)](_0x4c4b2e={}){const _0x201922=_0x5220ed;let _0x46b6c4=this['_injector'][_0x201922(0x287)](_0x55af74[_0x201922(0x2b9)]),_0x4ad29a=this['_base'][_0x201922(0x1e2)]()[_0x201922(0x25f)](),_0x59178d=this[_0x201922(0x244)]();if(_0x4c4b2e[_0x201922(0x250)]){let _0xbef850=_0x46b6c4['getProjection'](_0x4ad29a,this[_0x201922(0x27f)],_0x4c4b2e['viewId']);if(_0x201922(0x2c5)in _0xbef850&&Array[_0x201922(0x1e4)](_0xbef850[_0x201922(0x2c5)]))return _0xbef850[_0x201922(0x2c5)]['map'](_0x3822aa=>_0x3822aa[_0x201922(0x1eb)]);}return(_0x59178d[_0x201922(0x1c9)]?_0x59178d['recordOrder']['map'](_0x341636=>_0x59178d[_0x201922(0x1fb)][_0x341636]):Object[_0x201922(0x2cd)](_0x59178d[_0x201922(0x1fb)])[_0x201922(0x1fe)]((_0x559123,_0x2b3c73)=>_0x559123['orderKey'][_0x201922(0x245)](_0x2b3c73['orderKey'])))[_0x201922(0x203)](_0x2f1229=>_0x2f1229)[_0x201922(0x1f8)](_0x21dbd5=>_0x21dbd5['id']);}};function _0x548402(_0x13e294,_0x2b2fc6){const _0x19167a=_0x5220ed;var _0x5e070a;let _0x5e2975=Math[_0x19167a(0x1e0)](0x0,(_0x5e070a=_0x2b2fc6[_0x19167a(0x2b8)])==null?0x0:_0x5e070a);return _0x2b2fc6[_0x19167a(0x24c)]==null?_0x13e294[_0x19167a(0x24b)](_0x5e2975):_0x13e294[_0x19167a(0x24b)](_0x5e2975,_0x5e2975+Math[_0x19167a(0x1e0)](0x0,_0x2b2fc6[_0x19167a(0x24c)]));}function _0x482ee1(_0x5f4a16,_0x890a0f,_0x338889=[]){const _0x571b45=_0x5220ed;return _0x338889[_0x571b45(0x2ac)]?[..._0x5f4a16][_0x571b45(0x1fe)]((_0x41a8d0,_0x185734)=>{const _0x1997be=_0x571b45;var _0x7cf7ad,_0x42a54a;for(let _0x20f1d of _0x338889){var _0x1456bd;let _0x580de0=_0x20f1d['direction']===_0x67e984['BaseSortDirection']['DESC']?-0x1:0x1,_0x39fbab=_0x40d9b2(_0x41a8d0['values'][_0x20f1d['fieldId']],_0x185734[_0x1997be(0x2cd)][_0x20f1d[_0x1997be(0x20d)]],(_0x1456bd=_0x890a0f['fields'][_0x20f1d[_0x1997be(0x20d)]])==null?void 0x0:_0x1456bd[_0x1997be(0x1f7)]);if(_0x39fbab!==0x0)return _0x39fbab*_0x580de0;}return String((_0x7cf7ad=_0x41a8d0[_0x1997be(0x27b)])==null?_0x41a8d0['id']:_0x7cf7ad)[_0x1997be(0x245)](String((_0x42a54a=_0x185734[_0x1997be(0x27b)])==null?_0x185734['id']:_0x42a54a));}):_0x5f4a16;}function _0x40d9b2(_0x565751,_0x22488e,_0x634ae8){const _0x5b0120=_0x5220ed;return _0x565751==null&&_0x22488e==null?0x0:_0x565751==null?-0x1:_0x22488e==null?0x1:typeof _0x565751==_0x5b0120(0x1c8)&&typeof _0x22488e==_0x5b0120(0x1c8)?_0x565751-_0x22488e:_0x634ae8===_0x67e984[_0x5b0120(0x205)][_0x5b0120(0x1ea)]?Number(_0x565751)-Number(_0x22488e):String(_0x565751)['localeCompare'](String(_0x22488e));}function _0x3770e1(_0x2e773d,_0x18a4b0,_0x577909){const _0x256ff3=_0x5220ed;var _0x1157f8;if(!_0x577909||!((_0x1157f8=_0x577909[_0x256ff3(0x229)])!=null&&_0x1157f8[_0x256ff3(0x2ac)]))return!0x0;let {conjunction:_0xbf096=_0x67e984['BaseFilterConjunction']['OR'],conditions:_0x396cc9}=_0x577909;return _0xbf096===_0x67e984[_0x256ff3(0x2ae)][_0x256ff3(0x2cf)]&&_0x396cc9[_0x256ff3(0x2ac)]>0x1?_0x396cc9[_0x256ff3(0x20a)](_0xdf4b4f=>_0x2c8eef(_0x2e773d,_0x18a4b0,_0xdf4b4f)):_0x396cc9['some'](_0x280ef0=>_0x2c8eef(_0x2e773d,_0x18a4b0,_0x280ef0));}function _0x2c8eef(_0x361cd9,_0x282bf9,_0x139397){const _0x82e0c6=_0x5220ed;let _0x555d4e=_0x361cd9[_0x82e0c6(0x2cd)][_0x139397[_0x82e0c6(0x20d)]],_0x17ed0f=_0x282bf9[_0x82e0c6(0x22a)][_0x139397['fieldId']];if(_0x230cb3(_0x139397)){let _0x4b952f=_0xcb2f8c(_0x139397)[_0x82e0c6(0x293)](String(_0x555d4e==null?'':_0x555d4e));return _0x139397[_0x82e0c6(0x1d7)]===_0x82e0c6(0x234)?_0x4b952f:!_0x4b952f;}return _0x17ed0f?(0x0,_0x55af74['matchesBaseCondition'])(_0x555d4e,_0x139397['operator'],_0x139397['value'],_0x17ed0f):!0x0;}function _0x230cb3(_0x1efc74){const _0x2d0abf=_0x5220ed;return _0x1efc74[_0x2d0abf(0x1d7)]===_0x2d0abf(0x234)||_0x1efc74[_0x2d0abf(0x1d7)]==='notMatches';}function _0xcb2f8c(_0x360f54){const _0x318d59=_0x5220ed;var _0x38622e;let _0xf8300=String((_0x38622e=_0x360f54[_0x318d59(0x1f6)])==null?'':_0x38622e);if(_0xf8300[_0x318d59(0x2ac)]>0x200)throw Error(_0x318d59(0x2aa));try{return new RegExp(_0xf8300,_0x360f54[_0x318d59(0x264)]?void 0x0:'i');}catch(_0x50a682){throw Error(_0x318d59(0x239)+_0xf8300+'.\x20'+(_0x50a682 instanceof Error?_0x50a682[_0x318d59(0x29a)]:String(_0x50a682)));}}function _0x4a5f98(_0x28cfe8,_0x4b1031,_0x325795){const _0x46a850=_0x5220ed;if(_0x325795[_0x46a850(0x1f7)]!==_0x46a850(0x254)){var _0x95b926;if(_0x325795[_0x46a850(0x1f7)]===_0x67e984[_0x46a850(0x1f3)][_0x46a850(0x27a)]){var _0x5be66d,_0xf124ec,_0x43b9e6;let _0x218306=[(_0x5be66d=(_0xf124ec=_0x325795[_0x46a850(0x22a)])==null||(_0xf124ec=_0xf124ec[0x0])==null?void 0x0:_0xf124ec['id'])==null?_0x28cfe8[_0x46a850(0x2b1)]:_0x5be66d,...(_0x43b9e6=_0x325795['visibleCardFieldIds'])==null?[]:_0x43b9e6];return Array[_0x46a850(0x2ad)](new Set(_0x218306[_0x46a850(0x203)](_0x296dc7=>!!_0x28cfe8[_0x46a850(0x22a)][_0x296dc7])));}if((_0x95b926=_0x325795[_0x46a850(0x22a)])!=null&&_0x95b926['length'])return _0x325795[_0x46a850(0x22a)][_0x46a850(0x1f8)](_0x3a9e18=>_0x3a9e18['id'])['filter'](_0x2994eb=>{const _0x3fdd5f=_0x46a850;var _0x1909ce;return!!(_0x28cfe8[_0x3fdd5f(0x22a)][_0x2994eb]&&!(!(_0x4b1031==null||(_0x1909ce=_0x4b1031[_0x3fdd5f(0x2b3)])==null||(_0x1909ce=_0x1909ce[_0x2994eb])==null)&&_0x1909ce[_0x3fdd5f(0x258)]));});}return _0x28cfe8[_0x46a850(0x260)][_0x46a850(0x203)](_0x5134f2=>{const _0x409fcf=_0x46a850;var _0x30f2c3;return!!(_0x28cfe8[_0x409fcf(0x22a)][_0x5134f2]&&!(!(_0x4b1031==null||(_0x30f2c3=_0x4b1031['fieldSettings'])==null||(_0x30f2c3=_0x30f2c3[_0x5134f2])==null)&&_0x30f2c3['hidden']));});}function _0x446537(_0x31706d,_0x41cb9e){return function(_0xa05f52,_0x5ac063){_0x41cb9e(_0xa05f52,_0x5ac063,_0x31706d);};}function _0x44a575(_0x45ff57,_0x28e4e5,_0x191e2c,_0x45c594){const _0x881a6d=_0x5220ed;var _0x3f6cba=arguments[_0x881a6d(0x2ac)],_0x436083=_0x3f6cba<0x3?_0x28e4e5:_0x45c594===null?_0x45c594=Object[_0x881a6d(0x219)](_0x28e4e5,_0x191e2c):_0x45c594,_0x2854e2;if(typeof Reflect==_0x881a6d(0x294)&&typeof Reflect[_0x881a6d(0x25a)]==_0x881a6d(0x23f))_0x436083=Reflect[_0x881a6d(0x25a)](_0x45ff57,_0x28e4e5,_0x191e2c,_0x45c594);else{for(var _0x294e00=_0x45ff57[_0x881a6d(0x2ac)]-0x1;_0x294e00>=0x0;_0x294e00--)(_0x2854e2=_0x45ff57[_0x294e00])&&(_0x436083=(_0x3f6cba<0x3?_0x2854e2(_0x436083):_0x3f6cba>0x3?_0x2854e2(_0x28e4e5,_0x191e2c,_0x436083):_0x2854e2(_0x28e4e5,_0x191e2c))||_0x436083);}return _0x3f6cba>0x3&&_0x436083&&Object['defineProperty'](_0x28e4e5,_0x191e2c,_0x436083),_0x436083;}let _0x3e7152=class{constructor(_0x500480,_0x2a3c02){const _0x1aa0ce=_0x5220ed;this[_0x1aa0ce(0x27d)]=_0x500480,this['_injector']=_0x2a3c02;}[_0x5220ed(0x1e2)](){return this['_base'];}[_0x5220ed(0x207)](){const _0x58aa1f=_0x5220ed;return this[_0x58aa1f(0x27d)][_0x58aa1f(0x222)]();}[_0x5220ed(0x257)](){const _0x710ab6=_0x5220ed;return _0x67e984['Tools'][_0x710ab6(0x2ba)](this['_base'][_0x710ab6(0x25f)]());}[_0x5220ed(0x246)](){const _0x2e3289=_0x5220ed;return this[_0x2e3289(0x27d)][_0x2e3289(0x25f)]()['name'];}['setName'](_0x1b8ce3){const _0x2af4ec=_0x5220ed;this[_0x2af4ec(0x27d)][_0x2af4ec(0x26c)](_0x1b8ce3);}[_0x5220ed(0x240)](){const _0xd61b4c=_0x5220ed;let _0x2ce15c=this['_base']['getSnapshot']();return _0x2ce15c[_0xd61b4c(0x2c1)]['map'](_0x413a6d=>_0x2ce15c[_0xd61b4c(0x282)][_0x413a6d])[_0xd61b4c(0x203)](_0x37e0ad=>_0x37e0ad)[_0xd61b4c(0x1f8)](_0x4e0d2f=>this[_0xd61b4c(0x273)]['createInstance'](_0x532c67,this,_0x4e0d2f['id'],this[_0xd61b4c(0x273)]));}[_0x5220ed(0x285)](_0x57c820){const _0x17efbb=_0x5220ed;let _0x48c18b=this[_0x17efbb(0x27d)][_0x17efbb(0x25f)]()[_0x17efbb(0x282)][_0x57c820];return _0x48c18b?this[_0x17efbb(0x273)]['createInstance'](_0x532c67,this,_0x48c18b['id'],this['_injector']):null;}[_0x5220ed(0x2a2)](_0x1e02f9){const _0x4aa8ce=_0x5220ed;let _0x5d9dd7=this[_0x4aa8ce(0x27d)][_0x4aa8ce(0x25f)](),_0x14a26c=Object[_0x4aa8ce(0x2cd)](_0x5d9dd7[_0x4aa8ce(0x282)])[_0x4aa8ce(0x24a)](_0x1462d5=>_0x1462d5[_0x4aa8ce(0x23c)]===_0x1e02f9);return _0x14a26c?this[_0x4aa8ce(0x273)][_0x4aa8ce(0x1ee)](_0x532c67,this,_0x14a26c['id'],this[_0x4aa8ce(0x273)]):null;}['insertTable'](_0x3cf4cc,_0x21617a){const _0x1df0fe=_0x5220ed;var _0xe70ac5;let _0x54e42f=this[_0x1df0fe(0x273)][_0x1df0fe(0x287)](_0x67e984[_0x1df0fe(0x298)]),_0x3b2e2e=(0x0,_0x67e984[_0x1df0fe(0x221)])({'id':(0x0,_0x67e984[_0x1df0fe(0x2b7)])(),'name':_0x3cf4cc,..._0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x255)],'primaryFieldName':_0x21617a==null?void 0x0:_0x21617a['primaryFieldName']}),_0x4a40f7=_0x67e984[_0x1df0fe(0x1ed)]['commonExtend'](_0x3b2e2e,(_0xe70ac5=_0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x255)])==null?{}:_0xe70ac5);if(!_0x54e42f[_0x1df0fe(0x22e)](_0x55af74[_0x1df0fe(0x2bb)]['id'],{'unitId':this['_base'][_0x1df0fe(0x222)](),'table':_0x4a40f7,'index':_0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x1cb)]}))throw Error(_0x1df0fe(0x253)+_0x3cf4cc+'\x22.');return this[_0x1df0fe(0x273)][_0x1df0fe(0x1ee)](_0x532c67,this,_0x4a40f7['id'],this[_0x1df0fe(0x273)]);}[_0x5220ed(0x24d)](_0x4b9b4d){const _0x53fc98=_0x5220ed;let _0x166602=this['_injector']['get'](_0x67e984['ICommandService']),_0xbf05b7=typeof _0x4b9b4d=='string'?_0x4b9b4d:_0x4b9b4d[_0x53fc98(0x207)]();if(!_0x166602[_0x53fc98(0x22e)](_0x55af74[_0x53fc98(0x247)]['id'],{'unitId':this['_base'][_0x53fc98(0x222)](),'tableId':_0xbf05b7}))throw Error(_0x53fc98(0x2a9)+_0xbf05b7+'\x22.');return!0x0;}[_0x5220ed(0x202)](_0x45f165,_0x2718e6){const _0x2daa33=_0x5220ed;var _0x317327,_0x2c05ab;let _0x2eda5e=this[_0x2daa33(0x273)][_0x2daa33(0x287)](_0x67e984[_0x2daa33(0x298)]),_0x264ef6=this['_base']['getSnapshot'](),_0x1e9ae1=typeof _0x45f165==_0x2daa33(0x2c0)?_0x45f165:_0x45f165[_0x2daa33(0x207)](),_0x42ec5f=_0x264ef6[_0x2daa33(0x282)][_0x1e9ae1];if(!_0x42ec5f)throw Error(_0x2daa33(0x289)+_0x1e9ae1+_0x2daa33(0x22f));let _0x5210a6=_0x264ef6[_0x2daa33(0x2c1)][_0x2daa33(0x29e)](_0x1e9ae1)+0x1,_0x5516c6=(0x0,_0x55af74[_0x2daa33(0x2ab)])(_0x42ec5f,{'id':(0x0,_0x67e984[_0x2daa33(0x2b7)])(),'name':_0x42ec5f[_0x2daa33(0x23c)]+_0x2daa33(0x1d2),'includeRecords':(_0x317327=_0x2718e6==null?void 0x0:_0x2718e6[_0x2daa33(0x21e)])==null?!0x1:_0x317327,'regenerateViewIds':(_0x2c05ab=_0x2718e6==null?void 0x0:_0x2718e6[_0x2daa33(0x1c6)])==null?!0x1:_0x2c05ab});if(!_0x2eda5e['syncExecuteCommand'](_0x55af74['CreateBaseTableCommand']['id'],{'unitId':this['_base'][_0x2daa33(0x222)](),'table':_0x5516c6,'index':_0x5210a6}))throw Error(_0x2daa33(0x281)+_0x1e9ae1+'\x22.');return this[_0x2daa33(0x273)]['createInstance'](_0x532c67,this,_0x5516c6['id'],this[_0x2daa33(0x273)]);}[_0x5220ed(0x28f)](){const _0x4b4de3=_0x5220ed;let _0x37f358=this[_0x4b4de3(0x27d)][_0x4b4de3(0x25f)]();return{'id':_0x37f358['id'],'name':_0x37f358[_0x4b4de3(0x23c)],'tables':this['getTables']()[_0x4b4de3(0x1f8)](_0x3078a5=>_0x3078a5[_0x4b4de3(0x28f)]())};}};_0x3e7152=_0x44a575([_0x446537(0x1,(0x0,_0x67e984[_0x5220ed(0x20b)])(_0x67e984[_0x5220ed(0x213)]))],_0x3e7152);var _0x3d6ac7=class extends _0x1a8bc3[_0x5220ed(0x228)]{[_0x5220ed(0x211)](){const _0x44e718=_0x5220ed;this[_0x44e718(0x1cc)](),this[_0x44e718(0x1c1)]();}['createBase'](_0x28e491={},_0x14a6f6){const _0x36e5df=_0x5220ed;let _0x35b4eb=this[_0x36e5df(0x273)][_0x36e5df(0x287)](_0x67e984[_0x36e5df(0x214)])[_0x36e5df(0x2d8)](_0x67e984[_0x36e5df(0x1ce)][_0x36e5df(0x2a4)],_0x28e491,_0x14a6f6);return this[_0x36e5df(0x273)][_0x36e5df(0x1ee)](_0x3e7152,_0x35b4eb);}[_0x5220ed(0x2d6)](){const _0x115ee0=_0x5220ed;let _0xf9ef44=this[_0x115ee0(0x273)][_0x115ee0(0x287)](_0x67e984[_0x115ee0(0x214)])[_0x115ee0(0x288)](_0x67e984[_0x115ee0(0x1ce)][_0x115ee0(0x2a4)]);return _0xf9ef44?this['_injector'][_0x115ee0(0x1ee)](_0x3e7152,_0xf9ef44):null;}[_0x5220ed(0x1e2)](_0x25c465){const _0x2c83ad=_0x5220ed;let _0x3ecae5=this[_0x2c83ad(0x273)][_0x2c83ad(0x287)](_0x67e984[_0x2c83ad(0x214)])[_0x2c83ad(0x2b5)](_0x25c465,_0x67e984[_0x2c83ad(0x1ce)][_0x2c83ad(0x2a4)]);return _0x3ecae5?this[_0x2c83ad(0x273)][_0x2c83ad(0x1ee)](_0x3e7152,_0x3ecae5):null;}[_0x5220ed(0x236)](){const _0x3c8020=_0x5220ed;return this[_0x3c8020(0x273)][_0x3c8020(0x287)](_0x67e984['IUniverInstanceService'])[_0x3c8020(0x265)](_0x67e984['UniverInstanceType'][_0x3c8020(0x2a4)])[_0x3c8020(0x1f8)](_0xca3836=>this[_0x3c8020(0x273)]['createInstance'](_0x3e7152,_0xca3836));}[_0x5220ed(0x1c1)](){const _0x511a81=_0x5220ed;let _0x105291=this['_injector'][_0x511a81(0x287)](_0x67e984[_0x511a81(0x298)]);this['disposeWithMe'](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)]['BaseTableCreated'],()=>_0x105291[_0x511a81(0x2a5)](_0x495444=>{const _0x10624d=_0x511a81;if(_0x495444['id']!==_0x55af74[_0x10624d(0x2bb)]['id'])return;let {unitId:_0x33192a,table:_0xb0ee53,index:_0x2bb24b}=_0x495444['params'],_0x54301c=this[_0x10624d(0x1e2)](_0x33192a);if(!_0x54301c)return;let _0x3284ce={'base':_0x54301c,'table':_0xb0ee53,'index':_0x2bb24b};this[_0x10624d(0x208)](this[_0x10624d(0x1c3)][_0x10624d(0x233)],_0x3284ce);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x2ca)],()=>_0x105291[_0x511a81(0x2a5)](_0x3edd21=>{const _0x30f4b1=_0x511a81;if(_0x3edd21['id']!==_0x55af74['CreateBaseFieldCommand']['id'])return;let {unitId:_0x5a90b8,tableId:_0x38cb63,field:_0x9b7319,index:_0x232243,viewIndexes:_0x4ecec6}=_0x3edd21[_0x30f4b1(0x2c4)],_0x23ebb1=this[_0x30f4b1(0x1e2)](_0x5a90b8);if(!_0x23ebb1)return;let _0xe4a6b0=_0x23ebb1[_0x30f4b1(0x285)](_0x38cb63);if(!_0xe4a6b0)return;let _0x1ad5e3={'base':_0x23ebb1,'table':_0xe4a6b0,'field':_0x9b7319,'index':_0x232243,'viewIndexes':_0x4ecec6};this['fireEvent'](this[_0x30f4b1(0x1c3)][_0x30f4b1(0x2ca)],_0x1ad5e3);}))),this[_0x511a81(0x278)](this['registerEventHandler'](this[_0x511a81(0x1c3)][_0x511a81(0x268)],()=>_0x105291[_0x511a81(0x2a5)](_0x1ec565=>{const _0x50c2c5=_0x511a81;var _0x5a4f03;if(_0x1ec565['id']!==_0x55af74[_0x50c2c5(0x231)]['id']&&_0x1ec565['id']!==_0x55af74[_0x50c2c5(0x21c)]['id'])return;let _0x4ed4f8=_0x1ec565['params'],{unitId:_0x3c4ba8,tableId:_0x5e256b}=_0x4ed4f8,_0x242da2=(_0x5a4f03=_0x4ed4f8[_0x50c2c5(0x1fb)])==null?[_0x4ed4f8[_0x50c2c5(0x1c5)]]:_0x5a4f03,_0x382a06=this[_0x50c2c5(0x1e2)](_0x3c4ba8);if(!_0x382a06)return;let _0xd5173=_0x382a06[_0x50c2c5(0x285)](_0x5e256b);if(!_0xd5173)return;let _0x4ee850={'base':_0x382a06,'table':_0xd5173,'records':_0x242da2};this[_0x50c2c5(0x208)](this[_0x50c2c5(0x1c3)]['BaseTableRecordCreated'],_0x4ee850);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x27e)],()=>_0x105291['onCommandExecuted'](_0x46fa62=>{const _0x4dd064=_0x511a81;if(_0x46fa62['id']!==_0x55af74['CreateBaseViewCommand']['id'])return;let {unitId:_0x28ac41,tableId:_0x3c792d,view:_0x9237b9,index:_0xd44956}=_0x46fa62[_0x4dd064(0x2c4)],_0x3d2373=this['getBase'](_0x28ac41);if(!_0x3d2373)return;let _0x28198b=_0x3d2373[_0x4dd064(0x285)](_0x3c792d);if(!_0x28198b)return;let _0x2f4b01={'base':_0x3d2373,'table':_0x28198b,'view':_0x9237b9,'index':_0xd44956};this[_0x4dd064(0x208)](this[_0x4dd064(0x1c3)][_0x4dd064(0x27e)],_0x2f4b01);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x1de)],()=>_0x105291['onCommandExecuted'](_0x29ad18=>{const _0x51bd0a=_0x511a81;if(_0x29ad18['id']!==_0x55af74[_0x51bd0a(0x2cc)]['id'])return;let {unitId:_0x3847a0,tableId:_0x1ac48d,recordId:_0x43fa35,fieldId:_0x11d007,value:_0x121ba5}=_0x29ad18[_0x51bd0a(0x2c4)],_0x216e28=this['getBase'](_0x3847a0);if(!_0x216e28)return;let _0x58b899=_0x216e28[_0x51bd0a(0x285)](_0x1ac48d);if(!_0x58b899)return;let _0x19e1f4=_0x58b899[_0x51bd0a(0x2be)](_0x11d007);if(!_0x19e1f4)return;let _0x241e6d=_0x58b899[_0x51bd0a(0x227)](_0x43fa35);if(!_0x241e6d)return;let _0x7ffa95={'base':_0x216e28,'table':_0x58b899,'field':_0x19e1f4,'record':_0x241e6d,'value':_0x121ba5};this[_0x51bd0a(0x208)](this[_0x51bd0a(0x1c3)][_0x51bd0a(0x1de)],_0x7ffa95);})));}[_0x5220ed(0x1cc)](){const _0x1023b5=_0x5220ed;let _0x46604f=this['_injector'][_0x1023b5(0x287)](_0x67e984[_0x1023b5(0x298)]);this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x223)],()=>_0x46604f[_0x1023b5(0x271)](_0xca53ee=>{const _0x170f85=_0x1023b5;if(_0xca53ee['id']!==_0x55af74[_0x170f85(0x2bb)]['id'])return;let {unitId:_0x3cf0ea,table:_0x3efbd9,index:_0x447dbf}=_0xca53ee[_0x170f85(0x2c4)],_0x1b31fd=this['getBase'](_0x3cf0ea);if(!_0x1b31fd)return;let _0x56a807={'base':_0x1b31fd,'table':_0x3efbd9,'index':_0x447dbf};if(this[_0x170f85(0x208)](this['Event'][_0x170f85(0x223)],_0x56a807),_0x56a807[_0x170f85(0x204)])throw new _0x67e984[(_0x170f85(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x215)],()=>_0x46604f[_0x1023b5(0x271)](_0x305538=>{const _0x287454=_0x1023b5;if(_0x305538['id']!==_0x55af74[_0x287454(0x201)]['id'])return;let {unitId:_0x1837a5,tableId:_0x42dbaf,field:_0x2989bd,index:_0x376f6c,viewIndexes:_0x571519}=_0x305538['params'],_0x511b89=this[_0x287454(0x1e2)](_0x1837a5);if(!_0x511b89)return;let _0x1dd156=_0x511b89[_0x287454(0x285)](_0x42dbaf);if(!_0x1dd156)return;let _0x2bfe1d={'base':_0x511b89,'table':_0x1dd156,'field':_0x2989bd,'index':_0x376f6c,'viewIndexes':_0x571519};if(this[_0x287454(0x208)](this['Event'][_0x287454(0x215)],_0x2bfe1d),_0x2bfe1d[_0x287454(0x204)])throw new _0x67e984[(_0x287454(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x20f)],()=>_0x46604f[_0x1023b5(0x271)](_0x57c5b6=>{const _0x264552=_0x1023b5;var _0x5c277d;if(_0x57c5b6['id']!==_0x55af74[_0x264552(0x231)]['id']&&_0x57c5b6['id']!==_0x55af74['BatchCreateBaseRecordsCommand']['id'])return;let _0x6d611e=_0x57c5b6[_0x264552(0x2c4)],{unitId:_0x4f1ecd,tableId:_0x5c0a87}=_0x6d611e,_0x7d2711=(_0x5c277d=_0x6d611e[_0x264552(0x1fb)])==null?[_0x6d611e[_0x264552(0x1c5)]]:_0x5c277d,_0x5dc733=this['getBase'](_0x4f1ecd);if(!_0x5dc733)return;let _0x7a68d5=_0x5dc733[_0x264552(0x285)](_0x5c0a87);if(!_0x7a68d5)return;let _0xcea7b1={'base':_0x5dc733,'table':_0x7a68d5,'records':_0x7d2711};if(this[_0x264552(0x208)](this[_0x264552(0x1c3)][_0x264552(0x20f)],_0xcea7b1),_0xcea7b1[_0x264552(0x204)])throw new _0x67e984[(_0x264552(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x25b)],()=>_0x46604f[_0x1023b5(0x271)](_0x2fab2b=>{const _0xecbcc2=_0x1023b5;if(_0x2fab2b['id']!==_0x55af74[_0xecbcc2(0x269)]['id'])return;let {unitId:_0x3932a9,tableId:_0x585e8b,view:_0x973751,index:_0x4f7a59}=_0x2fab2b[_0xecbcc2(0x2c4)],_0x5cb09b=this['getBase'](_0x3932a9);if(!_0x5cb09b)return;let _0x2ab449=_0x5cb09b[_0xecbcc2(0x285)](_0x585e8b);if(!_0x2ab449)return;let _0x49039f={'base':_0x5cb09b,'table':_0x2ab449,'view':_0x973751,'index':_0x4f7a59};if(this[_0xecbcc2(0x208)](this[_0xecbcc2(0x1c3)]['BeforeBaseTableViewCreate'],_0x49039f),_0x49039f[_0xecbcc2(0x204)])throw new _0x67e984[(_0xecbcc2(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x2bc)],()=>_0x46604f[_0x1023b5(0x271)](_0x4ab855=>{const _0x1214e5=_0x1023b5;if(_0x4ab855['id']!==_0x55af74['UpdateBaseCellCommand']['id'])return;let {unitId:_0x4d6ff1,tableId:_0x1d0b78,recordId:_0x4ff85f,fieldId:_0xdb16eb,value:_0x108426}=_0x4ab855[_0x1214e5(0x2c4)],_0x1f7620=this['getBase'](_0x4d6ff1);if(!_0x1f7620)return;let _0x232771=_0x1f7620[_0x1214e5(0x285)](_0x1d0b78);if(!_0x232771)return;let _0x13f469=_0x232771[_0x1214e5(0x2be)](_0xdb16eb);if(!_0x13f469)return;let _0x268954=_0x232771['getRecordById'](_0x4ff85f);if(!_0x268954)return;let _0x7bcb29={'base':_0x1f7620,'table':_0x232771,'field':_0x13f469,'record':_0x268954,'value':_0x108426};if(this[_0x1214e5(0x208)](this[_0x1214e5(0x1c3)]['BeforeBaseTableCellValueChange'],_0x7bcb29),_0x7bcb29[_0x1214e5(0x204)])throw new _0x67e984[(_0x1214e5(0x1d3))]();})));}};_0x1a8bc3[_0x5220ed(0x228)][_0x5220ed(0x20c)](_0x3d6ac7);var _0x26aa1b=class extends _0x1a8bc3[_0x5220ed(0x297)]{get['BaseFieldType'](){return _0x67e984['BaseFieldType'];}get[_0x5220ed(0x2ae)](){const _0x2ddace=_0x5220ed;return _0x67e984[_0x2ddace(0x2ae)];}get[_0x5220ed(0x23a)](){const _0x3ff80d=_0x5220ed;return _0x67e984[_0x3ff80d(0x23a)];}get[_0x5220ed(0x284)](){return _0x3e672c;}get[_0x5220ed(0x1f3)](){const _0x5b6072=_0x5220ed;return _0x67e984[_0x5b6072(0x1f3)];}get[_0x5220ed(0x1f1)](){const _0x1a236e=_0x5220ed;return _0x67e984[_0x1a236e(0x1f1)];}};_0x1a8bc3[_0x5220ed(0x297)][_0x5220ed(0x20c)](_0x26aa1b);var _0x487203=class extends _0x1a8bc3[_0x5220ed(0x29b)]{get['BaseTableCreated'](){const _0x2dd3e0=_0x5220ed;return _0x2dd3e0(0x233);}get[_0x5220ed(0x223)](){const _0x136509=_0x5220ed;return _0x136509(0x223);}get['BaseTableFieldCreated'](){const _0x1f3639=_0x5220ed;return _0x1f3639(0x2ca);}get['BeforeBaseTableFieldCreate'](){return'BeforeBaseTableFieldCreate';}get[_0x5220ed(0x268)](){const _0x4a53a4=_0x5220ed;return _0x4a53a4(0x268);}get['BeforeBaseTableRecordCreate'](){const _0x260d9c=_0x5220ed;return _0x260d9c(0x20f);}get[_0x5220ed(0x27e)](){const _0x14a1d9=_0x5220ed;return _0x14a1d9(0x27e);}get[_0x5220ed(0x25b)](){const _0x6d4039=_0x5220ed;return _0x6d4039(0x25b);}get[_0x5220ed(0x1de)](){const _0x3d7f38=_0x5220ed;return _0x3d7f38(0x1de);}get[_0x5220ed(0x2bc)](){const _0x5aac7c=_0x5220ed;return _0x5aac7c(0x2bc);}};_0x1a8bc3['FEventName'][_0x5220ed(0x20c)](_0x487203),_0x1284ec[_0x5220ed(0x284)]=_0x3e672c,Object[_0x5220ed(0x1d0)](_0x1284ec,'FBase',{'enumerable':!0x0,'get':function(){return _0x3e7152;}}),_0x1284ec[_0x5220ed(0x225)]=_0x532c67,_0x1284ec[_0x5220ed(0x29f)]=_0x2cacd9,_0x1284ec['FBaseTableRange']=_0x39826c,_0x1284ec[_0x5220ed(0x238)]=_0x5eccbc,_0x1284ec['FBaseTableView']=_0x1e95f8,_0x1284ec[_0x5220ed(0x275)]=_0x487203,_0x1284ec[_0x5220ed(0x1fc)]=_0x1e39c3,_0x1284ec['resolveBaseFieldValues']=_0x39c66b;}));
|