@univerjs-pro/bases 1.3.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -9
- package/lib/cjs/config-CTOS-Fzg.js +1 -0
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/cjs/worker.js +1 -0
- package/lib/config-DDy_jw9I.js +1 -0
- package/lib/es/config-DDy_jw9I.js +1 -0
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/es/worker.js +1 -0
- 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/config/config.d.ts +1 -1
- package/lib/types/controllers/base-formula-optional-identifier.d.ts +1 -1
- package/lib/types/facade/f-range.d.ts +16 -2
- package/lib/types/facade/f-record.d.ts +14 -0
- package/lib/types/facade/f-table.d.ts +3 -0
- package/lib/types/fields/field-stat.d.ts +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -13
- package/lib/types/services/base-command.service.d.ts +1 -1
- package/lib/types/services/base-field-registry.service.d.ts +2 -2
- package/lib/types/services/base-permission-point.d.ts +1 -1
- package/lib/types/services/base-permission.service.d.ts +1 -1
- package/lib/types/services/base-projection.service.d.ts +2 -2
- package/lib/types/services/base-resource.service.d.ts +1 -1
- package/lib/types/services/base-view-registry.service.d.ts +2 -2
- package/lib/types/worker.d.ts +14 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/lib/worker.js +1 -0
- package/package.json +17 -12
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x53ba(){const _0x7c872c=['all','syncExecuteCommand','gridViewId','codePointAt','deleteTable','_runtimeContext','orderKey','[BaseField]:\x20invalid\x20phone\x20value.','_getCachedProjection','replaceOp','deleteField','default','_groupCellInvalidations','undo','_globalRevision','formulaName','invalidGroupField','operand','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','BaseHierarchyErrorCode','_patchProjectedRowsForCellInvalidations','ruleId','setRecordPermission','Disposable','tableOrder','INIT','_formulaService','create-view','_initRegistries','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','8QmGGAB','allowMultiple','user','attachment','getTime','WriteCursor','\x20has\x20unsupported\x20operator\x20\x22','updateViewConfig','descendPath','createField','2107878hcgaIf','[BaseCommandService]:\x20cannot\x20edit\x20record.','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_formulaCalculationTriggerService','view-','recordCount','compare','base.viewType.grid','_resolveGalleryCardFieldIds','toLowerCase','BASE','progressFieldId','_groupConfigCacheSegment','setViewSort','base.command.update-base-cell','pop','FieldId','formatToParts','IUndoRedoService','repairViewConfig','_kanbanLaneTitle',':end','valueOf','base.command.set-base-record-values','SetFormulaCalculationResultMutation','createBatchCreateRecordsOp','UpdateBaseRecordOrderCommand','sequenceExecute','target','invertOp','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','Text','_registerUnitPermissionPoints','info','_clearUnit','_materializeGroups','getUTCDay','getFocusedUnit','_createRecordWithDefaults','childType','generateRandomId','pickerFieldIds','createUniqueBaseTableName','getUnitType','General','collaborators','isInteger','SetBaseViewFieldWidthCommand','symbol','subtreeEndIndex','base.mutation.apply-base-json1','apply','missingRecord','undefined','delete','_isAllDayGanttDateRange','@univerjs/engine-formula','colId','UpdateBaseKanbanConfigCommand','createView','BaseHierarchyInvalidReason','get','getSnapshot','_cellRevisions','inferBaseSeparatorStyle','_registeredSuperTableNames','searchTexts','Facade','base.command.set-base-view-filter','Done','_fieldPermissions','DeleteView','#14b8a6','subType','getBaseCellValue','UpdateBaseFieldDescriptionCommand','valid','[BaseCommandService]:\x20invalid\x20field\x20definition.','_ganttBarColor','stringify','getItem','2572095PJDoeR','Cycle','getUTCDate','working','findRecordLinkReferences','invalidDateField','editable','rowIndexById','BaseConditionalDateMode','setViewFieldWidth','thumbnail','1128RVWKMP','_filterRows','majorHeaders','_injector','_setViewFieldSetting','unique','_isGanttDateField','CreateBaseViewCommand','MoveBaseViewCommand','$1\x20','UnitObject','base-perf-','clearTablePermission','year','startDateFieldId','_setAttachmentResources','_sortRows','getCurrentUnitOfType','createEmbedBasesTableAddMutation','PermissionStatus',',,\x22M\x22','formula','#,##0.00','start','globalRevision','strategies','none','IPermissionService','_isCalendarDateField','depth','import','_normalizeGalleryConfig','Failed\x20to\x20create\x20update\x20cell\x20operation:','setViewPermission','short','endDateFieldId','Optional','isFinite','createUnit','Module','base.viewType.gantt','_kanbanGroupKeys','CommandType','revision','add','calendar','col','invalidateByView','\x20must\x20have\x20a\x20non-empty\x20id.','_capabilities','BaseJson1.json1Apply','titleFieldId','afterFieldId','pluginName','buildBaseHierarchyIndex','_materializeFormulaTableNames','createTable','UniverRpc','delete-view','Tools','getFullYear','_bumpTableRevision','resolveBaseDateFieldConfig','MoveBaseHierarchyRecordCommand','_title','status','BaseProjection.projectGroups','protocol','field','base-perf','medium','_deleteAttachmentResources','trim','multiple','CreatedAt','setViewFieldVisible','cellRevision','changeFieldType','Edit','rowIndex','registerCommand','[BaseCommandService]:\x20invalid\x20cell\x20value.','nameCharacterCheck','YYYY/MM/DD','ascend','iterator','afterViewId','column','values','registerRuleModel','UpdateBaseViewConditionalColorRulesCommand','_findKanbanGroupField','IResourceManagerService','\x20has\x20unsupported\x20date\x20mode\x20\x22','level','base-range-values-v1','_resolveCalendarDateFieldId','_projectHierarchyGroups','fieldName','21foNAUg','hidden','children','base.viewType.kanban','UNIVER_BASE','invalid','UnitAction','userID','invalidGanttEndField','unknown','updateCell','DeleteBaseRecordCommand','displayColor','_projectRows','SetSuperTableMutation','_commandService','createdBy','star','getProjection','boolean','TODAY','validateCanonicalRecordLinkValue','createIdentifier','Date','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','isBaseHierarchyField','NUMBER','rowId','Parent','createRegExpFromSafeFragment','Choose\x20another\x20name.','SetBaseRangeValuesCommand','isArray','base.mutation.','push','getBaseFieldPermissionObjectId','repeat','getDay','Attachment','finally','createSuperTableReference','_viewRevisions','getBaseConditionalColorOperators','Grid','getCurrentUserId','DESC','[BaseCommandService]:\x20field\x20\x22','CreateBaseFieldCommand','RecordLink','forEach','invalidateByOp','thread-comment.mutation.','_replaceOptional','_basePermissions','setViewGroup','BaseTable','canCreateRecord','disposeWithMe','duplicate','dispose','search','Delete','keys','THIS_MONTH','getBaseCellFormulaValue','base.command.rename-base-table','UpdatedBy','resolve','_groupProjectionFieldIds','_applyingFormulaResults','validateBaseHierarchyMove','_getCellRevision','_resolveBaseId','MM-DD','_setCachedProjection','BaseJson1OpApplier','toLocaleString','RenameBaseTableCommand','[DeleteBaseTableCommand]:\x20table\x20\x22','_T_','[BaseCommandService]:\x20cannot\x20edit\x20table.','blue','#,##0','fields','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','version','_syncBaseUnit','invertWithDoc','Kanban','onlyLocal','flat','canDeleteTable','__UNIVER_BASE_PERF__','owner','abbreviation','setViewFilter','updatedAt','moveView','remote','Comment','_buildGantt','applyOp','_normalizeGanttConfig','spacePeriod','getMonth','usableAsGanttEnd','UniverProFormulaEnginePlugin','getAllPermissionPoint','BaseEventSource','createUpdateCellOp','BaseField','index','_univerInstanceService','base.command.create-base-child-record','searchBaseTable','_tableBaseIds','formatBaseFieldStatValue','tables','_projectionCache','_getAllBaseDependencyTreeCacheMap','SortedView','@univerjs-pro/bases','attachmentSets','sum','orderedRecordIds','Gallery','_permissionService','cycle','mark','BaseJson1.cloneForOp','source','columns','createDefaultBaseTableSnapshot','limit','Group','lastIndexOf','_getStructureDirtyTableIds','_tablePermissions','fromEntries','DuplicateBaseFieldCommand','Use\x2031\x20characters\x20or\x20fewer.','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','exports','ChangeBaseFieldTypeCommand','removeOp','greaterThanOrEqual','entries','createCreateFieldOp','https://','unshift','edit','count','updateField','toPlainText','@univerjs-pro/engine-formula','base.command.set-base-view-field-visible','hostAnchorId','duplicateField','average','setFieldPermission','base.command.update-base-field-description','title','NOT_CONTAINS','merge','Clear','InvalidField','parentFieldName','table/','Unchecked','diffValue','h:mm\x20a','localeCompare','view','_viewRowsCacheKey','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','quarter','copyBaseTableSnapshot','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','_viewPermissions','base.command.delete-base-record','changed','false','url','base.command.duplicate-base-field','bases-exchange-client.operation.export-base','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','trigger','setHours','conjunction','deepClone','format','bases-exchange-client.operation.export-base-by-format','scale','createEmbedBasesTableRemoveMutation','[BaseCommandService]:\x20cannot\x20edit\x20cell.','Base','LAST_MONTH','kind','nodes','base.command.ensure-base-temporal-view-date-fields','cardSize','_projectGroups','_assertFieldDefinition','showFieldNames','parse','_getOrderedRecords','ObjectPermissionService','objectType','Parent\x20Items','hierarchy','map','description','[BasePerf]\x20','UniverBasesPlugin','\x22\x20with\x20field\x20type\x20\x22','traceBasePerformance','dashboard/','_clearObjectEdit','CellValueType','UpdateBaseCellCommand','number','check','base.command.batch-create-base-records','_setFormulaFieldCells','_fastSortRows','[BaseField]:\x20invalid\x20email\x20value.','filled','dateFormat','abs','changes','targetTableId','Gantt','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','invalidateByField','MultiSelect','_removeSuperTables','_createNumberingAllocator','action','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','@univerjs/rpc','childrenByParentId','deleteRecord','_buildGrid','parentByRecordId','has','matchAll','_resolveKanbanCardFieldIds','_initCommands','_scheduleSuperTableSync','IActiveDirtyManagerService','cardLayout','rows','week','view/','_withModifiedSystemValues','Progress','55395UrySkJ','function','Name','clearRecordPermission','label','baseDateSerialToDateMs','ErrorService','conditional','Checked','[BaseCommandService]:\x20cannot\x20delete\x20table.','splice','long','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','childUnitId','selfParent','resolveBaseRangeHierarchyPatches','exception-','spaceComma','createdAt','BASE_FIELD_STAT_TYPES','setViewFieldOrder','base.command.service','dateKit','_normalizeCalendarDisplayColor','fromChangeset','createBaseRecordIdField','_projectedGroupsCache','\x20cannot\x20use\x20operator\x20\x22','clearFieldPermission','width','#BBF7D0','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','day','Import','some','insertOp','BaseSortDirection','getAffectedRanges','Formula','[BaseFormula]:\x20table\x20\x22','toPrimitive','relationRole','getActiveBaseHierarchyFieldIds','system','manual','embed-ui','_resolveKanbanGroupFieldId','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','toStringTag','[BaseCommandService]:\x20cannot\x20create\x20record.','viewId','Numbering','ApplyBaseJson1Mutation','toDisposable','calculateBaseFieldStat','[BaseViewRegistryService]:\x20view\x20type\x20\x22','ColorKit','_views','Base\x20','createDefaultValue','bases.config','FormulaCalculationSessionService','_setObjectEdit','ensureBaseTableCellLayout','colIndex','_getAllTableIds','_dataSyncPrimaryController','recordOrder','\x22.\x20Allowed\x20operators:\x20','setRangeValues','decorate','9860970Pdjgmt','weekdays','_toDirtyRangePatch','DataSyncPrimaryController','Inject','dateMode','_baseSyncDisposables','[BaseCommandService]:\x20cannot\x20edit\x20field.','Add','getPermissionPoint','registerView','getBaseRecordPermissionObjectId','_check','custom','viewRevision','hasOwnProperty','params','toString','reduce','path','base.command.set-base-kanban-group-field','compress','YESTERDAY','DD/MM/YYYY','base.resource.service','off','_resolveGanttDateFieldId','beforeViewId','IUniverInstanceService','BASE_UNIT_PERMISSION_ACTIONS','isBaseFieldStatSupported','defineProperty','getBaseHierarchyFieldId','numfmt','Checkbox','redo','_formulaSyncQueue','date','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_config','formula.mutation.set-formula-calculation-result','JSON1','href','[BaseCommandService]:\x20record-id\x20is\x20reserved.','base.command.update-base-field','commaPeriod','SetBaseTableHierarchyFieldCommand','_plugins','_syncSuperTables','DependentOn','recordNamePrefix','AFTER','useThousands','\x22\x20does\x20not\x20exist.','createViewId','Rating','Currency','getStructuredDependencies','uniqueFieldName','GREATER_THAN','_hierarchyIndexCache','base.command.change-base-field-type','usableAsCardCover','deleteView','conditions','required','packageName','THIS_WEEK','_configService','parseRecordLinkIds','Status','pattern','option-','_viewRevisionKey','attachments','remove','_buildCalendar','\x20must\x20be\x20an\x20object.','BatchCreateBaseRecordsCommand','COLUMN','constructor','_filterSortFieldIds','PAST_7_DAYS','__base_hierarchy_parent__','notContains','UpdateBaseViewConfigCommand','BaseViewType','at\x20index\x20','timeZone','cell','BaseConditionalColorTarget','BASE_TABLE_NAME_REQUIREMENTS','record','field/','options','object','groups','clear','EMBED_BASES_TABLE_RESOURCE_KEY','baseRows','Email','getAllBases','BaseDataModel','NumberFormat','__all__','fieldIndex','includeTime','UpdateBaseFieldCommand','updateRecordOrder','getDependencies','_normalizeGanttDisplayColor','#FDE68A','_buildGallery','raw','CreateBaseTableCommand','thread-comment.command.','_getViewRevision','SetBaseViewFieldVisibleCommand','value','excelDateTimeSerial','isValidBaseRecordId','createEmbedBasesTable','MUTATION','validateRecordLinkValue','reason','every','registerSyncingMutations','SetBaseViewFieldOrderCommand','regenerateViewIds','_normalizeCalendarConfig','workingDays','invalidReasonByRecordId','resources','_enqueueFormulaSync','CONTAINS','displayFieldId','[RecordLink]:\x20target\x20record\x20\x22','true','replace','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','unsubscribe','_getTablesToNormalize','_isAllowedKanbanGroupField','SelfParent','padStart','clearBasePermission','validateBaseHierarchyRecordCreations','indexOf','measure','now','dateToExcelSerial','_kanbanLaneColor','_buildKanban','startsWith','lastIndex','sortedView','setConfig','deleteRecords','table','fieldSettings','month','BASE_RECORD_ID_FIELD_ID','recordId','getBaseDashboardPermissionObjectId','emitPermissionDenied','UniverLicensePlugin','632481YHZJUi','Person','selectField','depthByRecordId','base.command.move-base-field','en-US','kanban','UTC','Copy','initializeUnit','patches','write','univer.basePerf','dependencyFieldId','base.command.create-base-view','bases.remote.config','_scheduledSuperTableSyncs','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_projectTableRows','DateSystem','createBaseHierarchyParentField','registerCtorForType','Injector','_initialize','ObjectPermissionRuleModel','text','renameView','base.mutation.set-permission-rules','displayText','SingleSelect','leftPaneWidth','too-long','Calendar','parentRecordId','BaseRecord','[BaseField]:\x20invalid\x20rating\x20value.','large','tableId','getUTCFullYear','_projectedRowsCache','key','direction','canDeleteField','local','manageView','periodComma','renameFormulaUnitReferences','invalid-characters','viewOrder','_createRecordOrderOp','PAST_30_DAYS','canCreateField','LAST_WEEK','getAll','_applier','getBase','end','query','contains','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','separatorStyle','IBasePermissionService','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_createNumberingFieldValuePatches','A\x20table\x20with\x20this\x20name\x20already\x20exists.','onCommandExecuted','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','BaseView','code','_createSystemFieldValuePatches','FormulaResultApplicationType','compressBaseRangeValuesPayload','editCell','formatBaseDateValue','getBaseHierarchyDeletePromotions','Undo','-view-grid','coverFieldId','yyyy/mm/dd',':start','executeCommand','1.3.1','sort','beforeFieldId','percent','validate','fieldIds','Yes','color','LESS_THAN','base.command.set-base-view-field-order','register','createBaseFormulaTableNameMap','getAllUnitsForType','tryMaterializeSnapshot','base.command.set-base-view-group','projection','isBaseFieldStatEmptyValue','_getKanbanConfiguredLanes','isNot','isBaseFieldStatType','clearUnit','-record-','_tableRevisions','_patchCachedProjectedRows','getUnitId','IBaseProjectionService','colorFieldId','flatMap','canEditCell','UniverProtocol','UNIVER_EMBED_BASES_TABLE','missingField','setBasePermissionValue','unitId','_getTable','markResultApplied','[RecordLink]:\x20field\x20config\x20is\x20invalid.','small','BaseDashboard','BEFORE','\x22\x20is\x20referenced\x20by\x20','Unsupported\x20Base\x20permission\x20object:\x20','hourCycle','descend','#3b82f6','subscribe','_canEditTable','pushUndoRedo','@univerjs/core','CreateBaseChildRecordCommand','RemoveSuperTableMutation','snapshot','RecordId','base.command.duplicate-base-record','_getSystemFieldValue','Doing','fld-','rootRecordIds','isCompressedBaseRangeValuesPayload','canDeleteRecord','subtreeHeightByRecordId','_isColorfulKanbanGroupField','then','size','CreateView','find','createDeleteRecordsUndoOp','SetBaseViewSortCommand','exceptions','catch','_activeDirtyManagerService','canEditTable','_rememberTable','fieldId','locale','updatedBy','getBaseTablePermissionObjectId','validateFormula','IS_NOT','h12','frozenFieldCount','rule','SetBaseRecordValuesCommand','matchesBaseCondition','Export','BaseRecordLinkRole','cellData','createRecords','records','invalidateByCell','allowNegative','\x20permission\x20denied.','STRING','attachmentSet','EnsureBaseTemporalViewDateFieldsCommand','UniverInstanceType','_resolveCardTitleFieldId','compose','_canEdit','setSnapshot','base.command.rename-base-view','policy','_cacheKey','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','IS_EMPTY','oldParentRecordId','http:','normalizeBaseDateSerial','primaryFieldId','Plugin','_matchesGanttColorRule','CustomCommandExecutionError','base.command.delete-base-view','tableRevision','syncUnit','members','Uncategorized','\x20has\x20unsupported\x20target\x20\x22','data','IS_NOT_EMPTY','projectBaseHierarchy','canCreateTable','string','clearViewPermission','decimalPlaces','base.command.delete-base-field','Link','isBaseRecordIdFieldName','_resolveGalleryCoverFieldId','gantt','2381496CYApVB','prototype','attachment-','views','slice','_factory','type','normal','recordIds','split','doing','canEditField','tableName','setRule','row','name','BASE_HIERARCHY_PARENT_FIELD_ID','objectId','Todo','length','config','getBaseFormulaTableName','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','BaseProjection.getProjection','@univerjs/protocol','apostrophe','set','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','empty','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','DuplicateBaseRecordCommand','[RecordLink]:\x20display\x20field\x20\x22','usableAsCalendarDate','_getCurrentUserId','BaseHistoryAction','IBaseViewRegistryService','touchDependencies','basePerf','renameTable','embedId','MaxDepth','primaryFieldName','fromPlainText','base.command.move-base-hierarchy-record','__tempBatchingUndoRedo','getTypeOfUnitDisposed$','UpdatedAt','164993hYczzF','BaseProjection.materializeTableRows','showTodayLine','h24','CreatedBy','getTypeOfUnitAdded$','base.command.update-base-view-conditional-color-rules','_disposed','regexp','EXACT','UniverEngineFormula','filter','leftPaneCollapsed','bases.fieldConfig.textPlaceholder','call','rules','[BaseField]:\x20invalid\x20number\x20value.','BaseHierarchyError','unitData','YYYY-MM-DD','Date1900','COMMAND','BaseFilterConjunction','_resolveKanbanCoverFieldId','facade','base.command.set-base-name','_initDependencies','getUnit','_projectFields','[BaseHierarchy]:\x20','includeRecords','conditionalColoring','IBaseCellData.ensureTableCellLayout','major-','_deleteRecordsBaseOp','mode','endsWith','_formulaCalculationSessionService','_initDataSync','BOOLEAN','getInstance','setRecordValues','_instanceService','this-row','[BaseCommandService]:\x20cannot\x20create\x20table.','_calendarEventColor','_apply','timeslotSize','getSuperTableRegistrations','True','order','max','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','getVisibleBaseHierarchyRows','_recordIds','BASES_PLUGIN','SetBasePermissionsCommand','UniverCore','[BaseCommandService]:\x20cannot\x20manage\x20view.','_getJson1DirtyData','lessThan','_isNonEmptyCellValue','_recordPermissions','_getTableRevision','SetBaseViewFilterCommand','BaseCommand.createBatchCreateRecordsOp','findIndex','general','#BFDBFE','_findCalendarDateFieldId','groupFieldId','save','formatBaseProgressValue','deletePermissionPoint','round','addPermissionPoint','base.field-registry.service','createSetRecordValuesOp','group','_rowTransformCacheSegment','base.command.set-permission','card','test','setBaseName','includes','ICommandService','_createNumberingAllocators','operator','usableAsGanttStart','_groupsCacheKey','_executeSuperTableMutationWhileActive','fieldOrder','join','createRecord','_normalizeCellValue','Start\x20date','readonly','BASE_HIERARCHY_MAX_LEVELS','from','columnSettings','focusUnit','_fieldRegistry','UniverRemoteBasesPlugin','[BaseField]:\x20invalid\x20date\x20value.','getSupportedBaseFieldStatTypes','_cellInvalidationsTouchFields','serializeRecordLinkIds','normalize','getOwnPropertyDescriptor','defaultValue','[BaseField]:\x20invalid\x20checkbox\x20value.','moveField','isBaseConditionalColorDateField','min','https:','validateRecordLinkField','BaseConditionalColorOperator','forValue','error','duplicateRecord','UniverProEngineFormula','[BaseField]:\x20invalid\x20multi-value\x20reference.','allowDangling','createCreateRecordOp','optionSource','viewIndexes','_getHierarchyIndex','base.view-registry.service','setRules','Phone','canEditRecord','BaseFieldType','_cellInvalidations','_projectedViewRowsCache','invalidField','Number','base.command.validate-formula','_isKanbanGroupField','canManageView','maxDepth','End\x20date','IBaseCommandService','normalizeBaseFieldStatsConfig','currencySymbol'];_0x53ba=function(){return _0x7c872c;};return _0x53ba();}function _0x521f(_0x3e4b83,_0x6e6efc){_0x3e4b83=_0x3e4b83-0x104;const _0x53baf7=_0x53ba();let _0x521f89=_0x53baf7[_0x3e4b83];return _0x521f89;}(function(_0x2c1a9e,_0xfa0e96){const _0xfbcaf9=_0x521f,_0x3e0a2f=_0x2c1a9e();while(!![]){try{const _0x48c861=-parseInt(_0xfbcaf9(0x426))/0x1+-parseInt(_0xfbcaf9(0x4d5))/0x2*(-parseInt(_0xfbcaf9(0x323))/0x3)+parseInt(_0xfbcaf9(0x3f7))/0x4+parseInt(_0xfbcaf9(0x530))/0x5+parseInt(_0xfbcaf9(0x4df))/0x6*(-parseInt(_0xfbcaf9(0x136))/0x7)+parseInt(_0xfbcaf9(0x53b))/0x8*(parseInt(_0xfbcaf9(0x236))/0x9)+-parseInt(_0xfbcaf9(0x27d))/0xa;if(_0x48c861===_0xfa0e96)break;else _0x3e0a2f['push'](_0x3e0a2f['shift']());}catch(_0x34eb4a){_0x3e0a2f['push'](_0x3e0a2f['shift']());}}}(_0x53ba,0x965f7),function(_0x294f71,_0x48dc6c){const _0x13cf9c=_0x521f;typeof exports==_0x13cf9c(0x2dc)&&typeof module<'u'?_0x48dc6c(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x13cf9c(0x237)&&define['amd']?define([_0x13cf9c(0x1c4),_0x13cf9c(0x3a4),_0x13cf9c(0x1d0),_0x13cf9c(0x40f),'@univerjs-pro/license',_0x13cf9c(0x225),_0x13cf9c(0x517)],_0x48dc6c):(_0x294f71=typeof globalThis<'u'?globalThis:_0x294f71||self,_0x48dc6c(_0x294f71['UniverProBases']={},_0x294f71[_0x13cf9c(0x460)],_0x294f71[_0x13cf9c(0x49f)],_0x294f71[_0x13cf9c(0x391)],_0x294f71['UniverProLicense'],_0x294f71[_0x13cf9c(0x10c)],_0x294f71[_0x13cf9c(0x430)]));}(this,function(_0x47ae88,_0x2f4877,_0x15af66,_0x385744,_0x406adb,_0x1ae05e,_0x50d89d){const _0x4cb5f0=_0x521f;Object[_0x4cb5f0(0x29c)](_0x47ae88,Symbol[_0x4cb5f0(0x266)],{'value':_0x4cb5f0(0x562)});function _0xd65722(_0x142f7e){const _0x13b8eb=_0x4cb5f0;let _0x2ac5a4=_0x142f7e[_0x13b8eb(0x40b)][_0x13b8eb(0x21c)],_0x1a4ec1=_0x142f7e[_0x13b8eb(0x40b)][_0x13b8eb(0x11c)],_0x25ce81=_0x142f7e[_0x13b8eb(0x40b)][_0x13b8eb(0x304)],_0x3d8b6c=_0x142f7e[_0x13b8eb(0x40b)][_0x13b8eb(0x508)],_0x5726f5=_0x142f7e['config'][_0x13b8eb(0x25f)];return typeof _0x2ac5a4!='string'||!_0x2ac5a4||typeof _0x1a4ec1!=_0x13b8eb(0x149)||_0x25ce81!==void 0x0&&(typeof _0x25ce81!='string'||!_0x25ce81)||_0x5726f5!==void 0x0&&_0x5726f5!==_0x2f4877[_0x13b8eb(0x3c9)][_0x13b8eb(0x152)]||_0x3d8b6c!==void 0x0&&(!Array[_0x13b8eb(0x156)](_0x3d8b6c)||_0x3d8b6c[_0x13b8eb(0x258)](_0x3e6efc=>typeof _0x3e6efc!='string'||!_0x3e6efc)||new Set(_0x3d8b6c)[_0x13b8eb(0x3b3)]!==_0x3d8b6c[_0x13b8eb(0x40a)])?null:{'targetTableId':_0x2ac5a4,'multiple':_0x1a4ec1,..._0x25ce81?{'displayFieldId':_0x25ce81}:{},..._0x3d8b6c?{'pickerFieldIds':[..._0x3d8b6c]}:{},..._0x5726f5?{'relationRole':_0x5726f5}:{}};}function _0x37f766(_0x4bab49){const _0xc968f9=_0x4cb5f0;return typeof _0x4bab49!=_0xc968f9(0x3ef)||_0x4bab49===''?[]:_0x4bab49[_0xc968f9(0x400)](',');}function _0x1f853d(_0x13b17f){const _0x2338d4=_0x4cb5f0;return Array[_0x2338d4(0x489)](new Set(_0x13b17f))[_0x2338d4(0x483)](',');}function _0x44de56(_0x34c5d9,_0x5c4cbe){const _0xebcdf=_0x4cb5f0;if(typeof _0x34c5d9!='string')return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x34c5d9==='')return{'valid':!0x0};let _0x37d670=_0x34c5d9[_0xebcdf(0x400)](',');return!_0x5c4cbe&&_0x37d670[_0xebcdf(0x40a)]>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x37d670[_0xebcdf(0x258)](_0x362f1a=>!(0x0,_0x2f4877['isValidBaseRecordId'])(_0x362f1a))||new Set(_0x37d670)['size']!==_0x37d670[_0xebcdf(0x40a)]||_0x1f853d(_0x37d670)!==_0x34c5d9?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x38bf9d(_0x4790e8,_0x514372){const _0x433d2e=_0x4cb5f0;if(_0x514372['type']!==_0x2f4877['BaseFieldType'][_0x433d2e(0x166)])return{'valid':!0x0};let _0xce9929=_0xd65722(_0x514372),_0x23b2b3=_0xce9929?_0x4790e8[_0x433d2e(0x1ab)][_0xce9929[_0x433d2e(0x21c)]]:void 0x0;if(!_0xce9929||!_0x23b2b3)return{'valid':!0x1,'reason':_0x433d2e(0x40d)};let _0x248777=[..._0xce9929[_0x433d2e(0x304)]?[_0xce9929[_0x433d2e(0x304)]]:[],..._0xce9929['pickerFieldIds']??[]][_0x433d2e(0x3b5)](_0x59e0f0=>{const _0x27c687=_0x433d2e;let _0x248862=_0x23b2b3[_0x27c687(0x189)][_0x59e0f0];return!_0x248862||_0x248862[_0x27c687(0x261)]===!0x0||_0x248862[_0x27c687(0x3fd)]===_0x2f4877[_0x27c687(0x4aa)][_0x27c687(0x3a8)];});return _0x248777?{'valid':!0x1,'reason':_0x433d2e(0x416)+_0x248777+_0x433d2e(0x18a)}:{'valid':!0x0};}function _0x39530c(_0x5c50eb,_0x366715,_0x47e7f5,_0x444258={}){const _0x1edca9=_0x4cb5f0;let _0x14aa6d=_0xd65722(_0x366715);if(_0x366715['type']!==_0x2f4877['BaseFieldType'][_0x1edca9(0x166)]||!_0x14aa6d)return{'valid':!0x1,'reason':_0x1edca9(0x398)};let _0x32767e=_0x44de56(_0x47e7f5,_0x14aa6d[_0x1edca9(0x11c)]);if(!_0x32767e[_0x1edca9(0x52b)]||_0x444258[_0x1edca9(0x4a1)])return _0x32767e;let _0xf8234a=_0x5c50eb[_0x1edca9(0x1ab)][_0x14aa6d[_0x1edca9(0x21c)]];if(!_0xf8234a)return{'valid':!0x1,'reason':_0x1edca9(0x40d)};let _0x3df44b=_0x37f766(_0x47e7f5)['find'](_0x552760=>!_0xf8234a[_0x1edca9(0x3cc)][_0x552760]);return _0x3df44b?{'valid':!0x1,'reason':_0x1edca9(0x305)+_0x3df44b+_0x1edca9(0x2b2)}:{'valid':!0x0};}function _0x52d6e6(_0xb8f41e,_0x46b301){const _0x589b35=_0x4cb5f0;return Object[_0x589b35(0x12b)](_0xb8f41e[_0x589b35(0x1ab)])[_0x589b35(0x38f)](_0x269b57=>Object[_0x589b35(0x12b)](_0x269b57[_0x589b35(0x189)])['flatMap'](_0x25ef0c=>{const _0x3bda5a=_0x589b35;let _0x43a4e0=_0x25ef0c[_0x3bda5a(0x3fd)]===_0x2f4877[_0x3bda5a(0x4aa)][_0x3bda5a(0x166)]?_0xd65722(_0x25ef0c):null;return(_0x43a4e0==null?void 0x0:_0x43a4e0[_0x3bda5a(0x21c)])===_0x46b301?[{'tableId':_0x269b57['id'],'fieldId':_0x25ef0c['id']}]:[];}));}let _0x2261b5=_0x4cb5f0(0x2d0),_0x2bd293=function(_0x5a4b17){const _0x51dfb5=_0x4cb5f0;return _0x5a4b17[_0x51dfb5(0x1db)]=_0x51dfb5(0x4ad),_0x5a4b17['MissingRecord']='missingRecord',_0x5a4b17['SelfParent']=_0x51dfb5(0x244),_0x5a4b17[_0x51dfb5(0x531)]='cycle',_0x5a4b17[_0x51dfb5(0x41f)]=_0x51dfb5(0x4b2),_0x5a4b17[_0x51dfb5(0x1ae)]=_0x51dfb5(0x318),_0x5a4b17;}({});var _0x97cf7a=class extends Error{constructor(_0x15ee46,_0x348d25=_0x4cb5f0(0x443)+_0x15ee46){const _0x338b7f=_0x4cb5f0;super(_0x348d25),this[_0x338b7f(0x367)]=_0x15ee46,this['name']=_0x338b7f(0x437);}};let _0x46b08d=function(_0x2a1660){const _0x6a9413=_0x4cb5f0;return _0x2a1660['UI']='ui',_0x2a1660[_0x6a9413(0x522)]=_0x6a9413(0x43e),_0x2a1660['Remote']=_0x6a9413(0x198),_0x2a1660[_0x6a9413(0x36e)]=_0x6a9413(0x4c4),_0x2a1660['Redo']='redo',_0x2a1660[_0x6a9413(0x257)]=_0x6a9413(0x559),_0x2a1660;}({});function _0xb12dec(_0x263e33,_0x255068){const _0xf3cf6a=_0x4cb5f0;if(!_0x255068)return!0x1;let _0x2ad600=_0x263e33[_0xf3cf6a(0x189)][_0x255068];if(!_0x2ad600||_0x2ad600[_0xf3cf6a(0x3fd)]!==_0x2f4877[_0xf3cf6a(0x4aa)]['RecordLink'])return!0x1;let _0x263856=_0xd65722(_0x2ad600);return _0x263856?_0x263856[_0xf3cf6a(0x21c)]===_0x263e33['id']&&_0x263856[_0xf3cf6a(0x11c)]===!0x1:!0x1;}function _0x283799(_0x5974cf){const _0x40b528=_0x4cb5f0;return[..._0x5974cf['fieldOrder'],...Object[_0x40b528(0x174)](_0x5974cf[_0x40b528(0x189)])['filter'](_0xbe8b0f=>!_0x5974cf[_0x40b528(0x482)][_0x40b528(0x47b)](_0xbe8b0f))[_0x40b528(0x375)]()][_0x40b528(0x3b5)](_0x1f1054=>{const _0x262b8a=_0x40b528;var _0x3daccd;return _0xb12dec(_0x5974cf,_0x1f1054)?((_0x3daccd=_0xd65722(_0x5974cf[_0x262b8a(0x189)][_0x1f1054]))==null?void 0x0:_0x3daccd[_0x262b8a(0x25f)])===_0x2f4877[_0x262b8a(0x3c9)][_0x262b8a(0x152)]:!0x1;})??null;}function _0x595553(_0x501199){const _0x5ec179=_0x4cb5f0;let _0x11ac6e=_0x283799(_0x501199);if(_0x11ac6e)return _0x11ac6e;let _0x3c59aa=_0x2261b5,_0x1d62ab=0x2;for(;_0x501199[_0x5ec179(0x189)][_0x3c59aa];)_0x3c59aa=_0x2261b5+'_'+_0x1d62ab++;return _0x3c59aa;}function _0x3001cd(_0x4167ef,_0x4b972f=_0x595553(_0x4167ef),_0x3552c6=_0x4cb5f0(0x206)){const _0x22bbf9=_0x4cb5f0;return{'id':_0x4b972f,'name':_0x3552c6,'type':_0x2f4877[_0x22bbf9(0x4aa)]['RecordLink'],'config':{'targetTableId':_0x4167ef['id'],'multiple':!0x1,'displayFieldId':_0x4167ef[_0x22bbf9(0x3e1)],'pickerFieldIds':[_0x4167ef[_0x22bbf9(0x3e1)]],'relationRole':_0x2f4877[_0x22bbf9(0x3c9)]['Parent']}};}function _0x4bd9df(_0x625296){let _0x203e0d=_0x283799(_0x625296);return _0x203e0d?[_0x203e0d]:[];}function _0xdc7b72(_0x39be73,_0x36c46b){const _0x471ed4=_0x4cb5f0;let _0x45dd5e=[..._0x4bd9df(_0x39be73)][_0x471ed4(0x431)](_0x530903=>_0x36c46b[_0x471ed4(0x258)](_0x47430b=>Object[_0x471ed4(0x3f8)]['hasOwnProperty'][_0x471ed4(0x434)](_0x47430b['values'],_0x530903)));if(!_0x45dd5e[_0x471ed4(0x40a)])return[];let _0x4b6b64={..._0x39be73[_0x471ed4(0x3cc)]};_0x36c46b[_0x471ed4(0x167)](_0x3a91d9=>{const _0x5da36c=_0x471ed4;let _0x3c6518=_0x4b6b64[_0x3a91d9['recordId']];_0x3c6518&&(_0x4b6b64[_0x3a91d9[_0x5da36c(0x31f)]]={..._0x3c6518,'values':{..._0x3c6518['values'],..._0x3a91d9[_0x5da36c(0x12b)]}});});let _0x3779ef={..._0x39be73,'records':_0x4b6b64},_0x9eb8c2=[];return _0x45dd5e[_0x471ed4(0x167)](_0x4d0240=>{const _0x20f286=_0x471ed4;let _0x4eddda=_0x439c09(_0x39be73,_0x4d0240),_0x58ef14=_0x439c09(_0x3779ef,_0x4d0240);for(let [_0x2ed3ac,_0x4c665d]of _0x58ef14['invalidReasonByRecordId']){let _0x43e606=_0x36c46b[_0x20f286(0x258)](_0x11d8de=>_0x11d8de[_0x20f286(0x31f)]===_0x2ed3ac&&Object['prototype'][_0x20f286(0x28c)]['call'](_0x11d8de[_0x20f286(0x12b)],_0x4d0240));if(_0x4eddda['invalidReasonByRecordId']['get'](_0x2ed3ac)!==_0x4c665d||_0x43e606)throw new _0x97cf7a(_0x17badb(_0x4c665d));}_0x36c46b[_0x20f286(0x167)](_0x4dfd08=>{const _0x347830=_0x20f286;if(!Object['prototype'][_0x347830(0x28c)][_0x347830(0x434)](_0x4dfd08['values'],_0x4d0240))return;let _0x3d5b68=_0x4eddda[_0x347830(0x229)][_0x347830(0x51c)](_0x4dfd08['recordId'])??null,_0x453b8e=_0x58ef14[_0x347830(0x229)][_0x347830(0x51c)](_0x4dfd08[_0x347830(0x31f)])??null;_0x3d5b68!==_0x453b8e&&_0x9eb8c2[_0x347830(0x158)]({'tableId':_0x39be73['id'],'fieldId':_0x4d0240,'recordId':_0x4dfd08[_0x347830(0x31f)],'oldParentRecordId':_0x3d5b68,'parentRecordId':_0x453b8e});});}),_0x9eb8c2;}function _0x36af26(_0x3bd29b,_0x220be1){const _0x2bd14a=_0x4cb5f0;let _0x3b1e03=_0x220be1[_0x2bd14a(0x208)](_0x726a90=>_0x726a90['id']);if(new Set(_0x3b1e03)[_0x2bd14a(0x3b3)]!==_0x3b1e03['length']||_0x3b1e03[_0x2bd14a(0x258)](_0x1d3a44=>_0x3bd29b[_0x2bd14a(0x3cc)][_0x1d3a44]))return[];let _0x5a35e1=_0x4bd9df(_0x3bd29b),_0x2fbdca=_0x5a35e1[_0x2bd14a(0x40a)]?null:_0x595553(_0x3bd29b),_0x538dd2=[..._0x5a35e1,..._0x2fbdca&&_0x220be1[_0x2bd14a(0x258)](_0x584530=>Object['prototype'][_0x2bd14a(0x28c)][_0x2bd14a(0x434)](_0x584530['values'],_0x2fbdca))?[_0x2fbdca]:[]][_0x2bd14a(0x431)](_0x213924=>_0x220be1['some'](_0x3383b8=>Object[_0x2bd14a(0x3f8)][_0x2bd14a(0x28c)][_0x2bd14a(0x434)](_0x3383b8[_0x2bd14a(0x12b)],_0x213924)));if(!_0x538dd2[_0x2bd14a(0x40a)])return[];let _0x49b4dc={..._0x3bd29b,'records':{..._0x3bd29b[_0x2bd14a(0x3cc)],...Object[_0x2bd14a(0x1c0)](_0x220be1['map'](_0x382abd=>[_0x382abd['id'],_0x382abd]))},'recordOrder':[..._0x3bd29b['recordOrder']??[],..._0x220be1[_0x2bd14a(0x208)](_0x221ab0=>_0x221ab0['id'])]},_0x47c9c8=[];return _0x538dd2[_0x2bd14a(0x167)](_0x56a459=>{const _0x48a716=_0x2bd14a;let _0x1c901c=_0x439c09(_0x49b4dc,_0x56a459);_0x220be1[_0x48a716(0x167)](_0x2b3caa=>{const _0x69e785=_0x48a716;let _0x65251f=_0x1c901c[_0x69e785(0x300)][_0x69e785(0x51c)](_0x2b3caa['id']);if(_0x65251f)throw new _0x97cf7a(_0x17badb(_0x65251f));let _0x41b80e=_0x1c901c['parentByRecordId']['get'](_0x2b3caa['id'])??null;_0x41b80e&&_0x47c9c8['push']({'tableId':_0x3bd29b['id'],'fieldId':_0x56a459,'recordId':_0x2b3caa['id'],'oldParentRecordId':null,'parentRecordId':_0x41b80e});});}),_0x47c9c8;}function _0x17badb(_0x315307){const _0x3061c9=_0x4cb5f0;switch(_0x315307){case _0x2f4877[_0x3061c9(0x51b)]['MissingParent']:return _0x3061c9(0x513);case _0x2f4877[_0x3061c9(0x51b)][_0x3061c9(0x30c)]:return _0x3061c9(0x244);case _0x2f4877[_0x3061c9(0x51b)][_0x3061c9(0x531)]:return _0x3061c9(0x1b5);case _0x2f4877['BaseHierarchyInvalidReason'][_0x3061c9(0x41f)]:return _0x3061c9(0x4b2);}}function _0x38020a(_0x4b9fc5,_0x5e5f17){const _0x422ff3=_0x4cb5f0;let _0x57489b=new Set(_0x5e5f17),_0x58d389=_0x4bd9df(_0x4b9fc5);return Object[_0x422ff3(0x12b)](_0x4b9fc5[_0x422ff3(0x3cc)])[_0x422ff3(0x38f)](_0x587021=>_0x57489b[_0x422ff3(0x22a)](_0x587021['id'])?[]:Array[_0x422ff3(0x489)](_0x58d389)[_0x422ff3(0x38f)](_0x51f21b=>{const _0x319fbf=_0x422ff3;let _0x50e079=_0x37f766(_0x587021[_0x319fbf(0x12b)][_0x51f21b])[0x0]??null;return _0x50e079&&_0x57489b['has'](_0x50e079)?[{'tableId':_0x4b9fc5['id'],'fieldId':_0x51f21b,'recordId':_0x587021['id'],'oldParentRecordId':_0x50e079,'parentRecordId':null}]:[];}));}function _0x439c09(_0x1551e7,_0x5a8bc2,_0xac7392=_0x1551e7[_0x4cb5f0(0x279)]??Object[_0x4cb5f0(0x174)](_0x1551e7['records'])){const _0x3b60a4=_0x4cb5f0;if((_0x1551e7[_0x3b60a4(0x189)][_0x5a8bc2]||_0x5a8bc2!==_0x595553(_0x1551e7))&&!_0xb12dec(_0x1551e7,_0x5a8bc2))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x5a8bc2+'\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.');let _0x235d1a=_0x5d329d(_0x1551e7,_0xac7392),_0x219a21=new Map(),_0x1b7bde=new Map();for(let _0x3512a5 of _0x235d1a){var _0x2cbb6c;let _0x55bd45=_0x37f766((_0x2cbb6c=_0x1551e7[_0x3b60a4(0x3cc)][_0x3512a5])==null?void 0x0:_0x2cbb6c['values'][_0x5a8bc2])[0x0]??null;_0x55bd45?_0x55bd45===_0x3512a5?(_0x219a21['set'](_0x3512a5,null),_0x1b7bde[_0x3b60a4(0x411)](_0x3512a5,_0x2f4877['BaseHierarchyInvalidReason']['SelfParent'])):_0x1551e7[_0x3b60a4(0x3cc)][_0x55bd45]?_0x219a21[_0x3b60a4(0x411)](_0x3512a5,_0x55bd45):(_0x219a21[_0x3b60a4(0x411)](_0x3512a5,null),_0x1b7bde['set'](_0x3512a5,_0x2f4877['BaseHierarchyInvalidReason']['MissingParent'])):_0x219a21[_0x3b60a4(0x411)](_0x3512a5,null);}_0x26be59(_0x219a21,_0x1b7bde,_0x235d1a),_0x2b44bc(_0x219a21,_0x1b7bde,_0x235d1a);let _0x4ba246=new Map(_0x235d1a[_0x3b60a4(0x208)]((_0x83c7d1,_0x524eb2)=>[_0x83c7d1,_0x524eb2])),_0x3db017=new Map();for(let _0x4b5f60 of _0x235d1a){let _0xc16aa1=_0x219a21['get'](_0x4b5f60)??null,_0x49db78=_0x3db017[_0x3b60a4(0x51c)](_0xc16aa1)??[];_0x49db78['push'](_0x4b5f60),_0x3db017[_0x3b60a4(0x411)](_0xc16aa1,_0x49db78);}_0x3db017[_0x3b60a4(0x167)](_0x4edb1d=>_0x4edb1d['sort']((_0x3478da,_0x41318d)=>(_0x4ba246[_0x3b60a4(0x51c)](_0x3478da)??0x0)-(_0x4ba246[_0x3b60a4(0x51c)](_0x41318d)??0x0)));let _0x34e2da=_0x3db017[_0x3b60a4(0x51c)](null)??[],_0x49a1eb=new Map(),_0x598cc4=new Map(),_0x2f5e06=[],_0x1a632f=(_0xd4d41e,_0x4f0ab5)=>{const _0x4c05a5=_0x3b60a4;_0x49a1eb[_0x4c05a5(0x411)](_0xd4d41e,_0x4f0ab5),_0x2f5e06[_0x4c05a5(0x158)](_0xd4d41e);let _0x5461ae=0x0;for(let _0x2e5a4b of _0x3db017['get'](_0xd4d41e)??[])_0x5461ae=Math[_0x4c05a5(0x459)](_0x5461ae,0x1+_0x1a632f(_0x2e5a4b,_0x4f0ab5+0x1));return _0x598cc4[_0x4c05a5(0x411)](_0xd4d41e,_0x5461ae),_0x5461ae;};return _0x34e2da['forEach'](_0x4daa8a=>_0x1a632f(_0x4daa8a,0x0)),{'fieldId':_0x5a8bc2,'parentByRecordId':_0x219a21,'childrenByParentId':_0x3db017,'depthByRecordId':_0x49a1eb,'subtreeHeightByRecordId':_0x598cc4,'invalidReasonByRecordId':_0x1b7bde,'rootRecordIds':_0x34e2da,'orderedRecordIds':_0x2f5e06};}function _0x1b4055(_0x5386e7,_0x5a194e,_0x4d158c=new Set(_0x5a194e[_0x4cb5f0(0x208)](_0x23c713=>_0x23c713[_0x4cb5f0(0x31f)]))){const _0x56ca64=_0x4cb5f0;let _0x535bfa=new Set(_0x4d158c);for(let _0x521fa4 of _0x4d158c){let _0x30cf35=_0x5386e7[_0x56ca64(0x229)]['get'](_0x521fa4)??null;for(;_0x30cf35;)_0x535bfa[_0x56ca64(0x567)](_0x30cf35),_0x30cf35=_0x5386e7[_0x56ca64(0x229)][_0x56ca64(0x51c)](_0x30cf35)??null;}let _0x1af40f=new Map(_0x5a194e[_0x56ca64(0x208)](_0x343643=>[_0x343643[_0x56ca64(0x31f)],_0x343643])),_0x330d12=_0x5386e7[_0x56ca64(0x1b2)][_0x56ca64(0x431)](_0x5cdfbb=>_0x535bfa['has'](_0x5cdfbb)),_0x5750f6=_0x330d12['flatMap'](_0x36f1b8=>{const _0x2495de=_0x56ca64;let _0x237ac6=_0x1af40f[_0x2495de(0x51c)](_0x36f1b8);return _0x237ac6?[_0x237ac6]:[];}),_0x4639f2={};for(let _0x4c96d4=0x0;_0x4c96d4<_0x330d12[_0x56ca64(0x40a)];_0x4c96d4++){let _0x49977e=_0x330d12[_0x4c96d4];_0x4639f2[_0x49977e]={'recordId':_0x49977e,'parentRecordId':_0x5386e7[_0x56ca64(0x229)][_0x56ca64(0x51c)](_0x49977e)??null,'depth':_0x5386e7['depthByRecordId'][_0x56ca64(0x51c)](_0x49977e)??0x0,'directChildCount':(_0x5386e7[_0x56ca64(0x226)]['get'](_0x49977e)??[])['length'],'subtreeHeight':_0x5386e7[_0x56ca64(0x3b0)][_0x56ca64(0x51c)](_0x49977e)??0x0,'subtreeEndIndex':_0x4c96d4,'invalidReason':_0x5386e7[_0x56ca64(0x300)][_0x56ca64(0x51c)](_0x49977e)};}let _0x6a3833=[];for(let _0x2db351=0x0;_0x2db351<_0x330d12[_0x56ca64(0x40a)];_0x2db351++){let _0x403a2e=_0x330d12[_0x2db351],_0xd57569=_0x4639f2[_0x403a2e][_0x56ca64(0x558)];for(;_0x6a3833[_0x56ca64(0x40a)]&&_0x6a3833[_0x6a3833[_0x56ca64(0x40a)]-0x1][_0x56ca64(0x558)]>=_0xd57569;){let _0x32ea12=_0x6a3833['pop']();_0x4639f2[_0x32ea12[_0x56ca64(0x31f)]][_0x56ca64(0x510)]=_0x2db351-0x1;}_0x6a3833['push']({'recordId':_0x403a2e,'depth':_0xd57569});}return _0x6a3833[_0x56ca64(0x167)](({recordId:_0x2d4fdb})=>{const _0x28a1fb=_0x56ca64;_0x4639f2[_0x2d4fdb][_0x28a1fb(0x510)]=_0x330d12[_0x28a1fb(0x40a)]-0x1;}),{'rows':_0x5750f6,'hierarchy':{'fieldId':_0x5386e7[_0x56ca64(0x3bd)],'rootRecordIds':_0x5386e7['rootRecordIds']['filter'](_0x31fd3a=>_0x535bfa['has'](_0x31fd3a)),'orderedRecordIds':_0x330d12,'nodes':_0x4639f2}};}function _0x4bdd86(_0x5b1bfc,_0x32238c){const _0x2ad3d2=_0x4cb5f0;if(!_0x5b1bfc[_0x2ad3d2(0x207)]||!(_0x32238c!=null&&_0x32238c['size']))return _0x5b1bfc[_0x2ad3d2(0x231)];let _0x45e5fa=[],_0x24f21e=0x0;for(;_0x24f21e<_0x5b1bfc[_0x2ad3d2(0x231)]['length'];){let _0x1a5932=_0x5b1bfc[_0x2ad3d2(0x231)][_0x24f21e];_0x45e5fa[_0x2ad3d2(0x158)](_0x1a5932);let _0x19a5fc=_0x5b1bfc[_0x2ad3d2(0x207)][_0x2ad3d2(0x1fc)][_0x1a5932[_0x2ad3d2(0x31f)]];_0x24f21e=_0x32238c[_0x2ad3d2(0x22a)](_0x1a5932[_0x2ad3d2(0x31f)])&&_0x19a5fc?_0x19a5fc[_0x2ad3d2(0x510)]+0x1:_0x24f21e+0x1;}return _0x45e5fa;}function _0x4e4aac(_0x18a10f,_0x45d779,_0x332d40){const _0x38144f=_0x4cb5f0;if(!_0x332d40)return{'valid':!0x0};if(_0x45d779===_0x332d40)return{'valid':!0x1,'reason':_0x2f4877[_0x38144f(0x51b)]['SelfParent']};let _0x1d6d6b=_0x332d40;for(;_0x1d6d6b;){if(_0x1d6d6b===_0x45d779)return{'valid':!0x1,'reason':_0x2f4877[_0x38144f(0x51b)][_0x38144f(0x531)]};_0x1d6d6b=_0x18a10f['parentByRecordId'][_0x38144f(0x51c)](_0x1d6d6b)??null;}return(_0x18a10f[_0x38144f(0x326)][_0x38144f(0x51c)](_0x332d40)??0x0)+0x1+(_0x18a10f[_0x38144f(0x3b0)][_0x38144f(0x51c)](_0x45d779)??0x0)>=0x5?{'valid':!0x1,'reason':_0x2f4877[_0x38144f(0x51b)][_0x38144f(0x41f)]}:{'valid':!0x0};}function _0x5d329d(_0x1997cf,_0x5b5fc9){const _0x2fef5f=_0x4cb5f0;let _0x2b44b9=new Set(),_0x119920=[];for(let _0x489e8d of _0x5b5fc9)_0x1997cf['records'][_0x489e8d]&&!_0x2b44b9['has'](_0x489e8d)&&(_0x2b44b9[_0x2fef5f(0x567)](_0x489e8d),_0x119920[_0x2fef5f(0x158)](_0x489e8d));return Object['keys'](_0x1997cf[_0x2fef5f(0x3cc)])[_0x2fef5f(0x375)]()[_0x2fef5f(0x167)](_0x3c2d8f=>{const _0x6252b8=_0x2fef5f;_0x2b44b9['has'](_0x3c2d8f)||_0x119920[_0x6252b8(0x158)](_0x3c2d8f);}),_0x119920;}function _0x26be59(_0x34fa5f,_0x317fd8,_0x52b874){const _0x1f5a76=_0x4cb5f0;let _0x45273b=new Set();for(let _0x11c797 of _0x52b874){if(_0x45273b[_0x1f5a76(0x22a)](_0x11c797))continue;let _0xe769c1=[],_0x5664d8=new Map(),_0x22d8c2=_0x11c797;for(;_0x22d8c2&&!_0x45273b[_0x1f5a76(0x22a)](_0x22d8c2);){let _0x1ce911=_0x5664d8['get'](_0x22d8c2);if(_0x1ce911!=null){let _0x3d5dc2=[..._0xe769c1[_0x1f5a76(0x3fb)](_0x1ce911)]['sort']()[_0x1f5a76(0x4ee)]();_0x34fa5f[_0x1f5a76(0x411)](_0x3d5dc2,null),_0x317fd8[_0x1f5a76(0x411)](_0x3d5dc2,_0x2f4877[_0x1f5a76(0x51b)][_0x1f5a76(0x531)]);break;}_0x5664d8[_0x1f5a76(0x411)](_0x22d8c2,_0xe769c1['length']),_0xe769c1[_0x1f5a76(0x158)](_0x22d8c2),_0x22d8c2=_0x34fa5f[_0x1f5a76(0x51c)](_0x22d8c2)??null;}_0xe769c1['forEach'](_0x9bfd4a=>_0x45273b['add'](_0x9bfd4a));}}function _0x2b44bc(_0x2e4f83,_0x54ab4f,_0x5202ce){const _0x3b2bfa=_0x4cb5f0;let _0x9ce2bc=new Map(),_0x3f1f7d=_0x12095b=>{const _0xa9d4d4=_0x521f;let _0x4d4dbc=_0x9ce2bc[_0xa9d4d4(0x51c)](_0x12095b);if(_0x4d4dbc!=null)return _0x4d4dbc;let _0x2a9770=_0x2e4f83[_0xa9d4d4(0x51c)](_0x12095b)??null;if(!_0x2a9770)return _0x9ce2bc[_0xa9d4d4(0x411)](_0x12095b,0x0),0x0;let _0x21396a=_0x3f1f7d(_0x2a9770)+0x1;return _0x21396a>=0x5?(_0x2e4f83['set'](_0x12095b,null),_0x54ab4f[_0xa9d4d4(0x411)](_0x12095b,_0x2f4877[_0xa9d4d4(0x51b)]['MaxDepth']),_0x9ce2bc[_0xa9d4d4(0x411)](_0x12095b,0x0),0x0):(_0x9ce2bc[_0xa9d4d4(0x411)](_0x12095b,_0x21396a),_0x21396a);};_0x5202ce[_0x3b2bfa(0x167)](_0x3f1f7d);}let _0x127c5c=0x0;function _0xb67f3a(){const _0x1540ad=_0x4cb5f0;if(globalThis[_0x1540ad(0x192)]===!0x0)return!0x0;try{let _0x3c19a2=typeof location>'u'?'':location[_0x1540ad(0x172)],_0x309818=new URLSearchParams(_0x3c19a2);if(_0x309818[_0x1540ad(0x51c)](_0x1540ad(0x41c))==='1'||_0x309818[_0x1540ad(0x51c)](_0x1540ad(0x41c))==='true'||_0x309818[_0x1540ad(0x51c)](_0x1540ad(0x118))==='1')return!0x0;}catch{}try{let _0x51a3e2=typeof localStorage>'u'?null:localStorage[_0x1540ad(0x52f)](_0x1540ad(0x32f));return _0x51a3e2==='1'||_0x51a3e2==='true';}catch{return!0x1;}}function _0xb8ae93(_0x19021d,_0x36139e,_0x3132cf){const _0x79a860=_0x4cb5f0;if(!_0xb67f3a())return _0x36139e();let _0x2173ca=_0x2a8a57(),_0x272025=_0x79a860(0x546)+_0x127c5c++;_0x11ffaa(_0x272025+_0x79a860(0x372));try{return _0x36139e();}finally{let _0x300598=_0x2a8a57()-_0x2173ca;_0x11ffaa(_0x272025+_0x79a860(0x4f4)),_0x36a7db(_0x19021d,_0x272025+_0x79a860(0x372),_0x272025+_0x79a860(0x4f4)),_0x41bc32(_0x19021d,_0x300598,_0x3132cf);}}function _0x41bc32(_0x24f62d,_0x5f1ccb,_0x4234a2){const _0x2a6029=_0x4cb5f0;if(!_0xb67f3a())return;let _0x1690b1=Math[_0x2a6029(0x471)](_0x5f1ccb*0x64)/0x64,_0x328ae3=_0x4234a2&&Object[_0x2a6029(0x174)](_0x4234a2)[_0x2a6029(0x40a)]?'\x20'+JSON[_0x2a6029(0x52e)](_0x4234a2):'';console[_0x2a6029(0x500)](_0x2a6029(0x20a)+_0x24f62d+':\x20'+_0x1690b1+'ms'+_0x328ae3);}function _0x2a8a57(){const _0x4fc2f2=_0x4cb5f0;return typeof performance<'u'&&typeof performance[_0x4fc2f2(0x312)]=='function'?performance[_0x4fc2f2(0x312)]():Date[_0x4fc2f2(0x312)]();}function _0x11ffaa(_0x48fd69){const _0x190a76=_0x4cb5f0;try{if(typeof performance<'u'){var _0x48cdb5,_0x3036e7;(_0x48cdb5=(_0x3036e7=performance)[_0x190a76(0x1b6)])==null||_0x48cdb5[_0x190a76(0x434)](_0x3036e7,_0x48fd69);}}catch{}}function _0x36a7db(_0xf03622,_0x81c616,_0x28299c){const _0x3db59c=_0x4cb5f0;try{if(typeof performance<'u'){var _0x4e36b1,_0x4bf6f9;(_0x4e36b1=(_0x4bf6f9=performance)[_0x3db59c(0x311)])==null||_0x4e36b1[_0x3db59c(0x434)](_0x4bf6f9,_0x3db59c(0x20a)+_0xf03622,_0x81c616,_0x28299c);}}catch{}}function _0xbfb56e(_0x12e64c){const _0x59f526=_0x4cb5f0;var _0x10f813;return _0xb67f3a()?_0xb8ae93(_0x59f526(0x446),()=>_0x42a3bf(_0x12e64c),{'tableId':_0x12e64c['id'],'records':Object[_0x59f526(0x174)](_0x12e64c[_0x59f526(0x3cc)]??{})[_0x59f526(0x40a)],'fields':_0x12e64c[_0x59f526(0x482)][_0x59f526(0x40a)],'hasRecordOrder':!!((_0x10f813=_0x12e64c[_0x59f526(0x279)])!=null&&_0x10f813[_0x59f526(0x40a)])}):_0x42a3bf(_0x12e64c);}function _0x42a3bf(_0x3118b6){const _0x558bb9=_0x4cb5f0;var _0x169d37;let _0x295d2b=_0x3118b6[_0x558bb9(0x3cc)]??{},_0x4e92a9=_0x3118b6[_0x558bb9(0x189)]??{},_0x33e63f=((_0x169d37=_0x3118b6[_0x558bb9(0x279)])==null?void 0x0:_0x169d37['filter'](_0x270e56=>_0x295d2b[_0x270e56]))??[],_0x160f6d=new Set(_0x33e63f),_0x587512=[];for(let _0x44a168 of Object[_0x558bb9(0x12b)](_0x295d2b))_0x160f6d[_0x558bb9(0x22a)](_0x44a168['id'])||_0x587512[_0x558bb9(0x158)](_0x44a168);let _0x561939=_0x587512[_0x558bb9(0x40a)]?[..._0x33e63f,..._0x790e02(_0x587512)]:_0x33e63f,_0x2477a5=_0x3118b6['fieldOrder'][_0x558bb9(0x431)](_0x1135ab=>_0x4e92a9[_0x1135ab]),_0x5bb254={..._0x3118b6[_0x558bb9(0x151)]??{}},_0x5d3256={..._0x3118b6[_0x558bb9(0x518)]??{}},_0x7974c3={..._0x3118b6['cellData']??{}};_0x3118b6['recordOrder']=_0x561939,_0x3118b6['rowIndex']={},_0x3118b6['rowId']={},_0x3118b6[_0x558bb9(0x276)]={},_0x3118b6[_0x558bb9(0x518)]={},_0x3118b6[_0x558bb9(0x3ca)]={},_0x3118b6[_0x558bb9(0x301)]={..._0x3118b6[_0x558bb9(0x301)]??{}},_0x3118b6[_0x558bb9(0x301)]['attachmentSets']={..._0x3118b6[_0x558bb9(0x301)]['attachmentSets']??{}},_0x3118b6[_0x558bb9(0x301)]['attachments']={..._0x3118b6[_0x558bb9(0x301)][_0x558bb9(0x2c7)]??{}};let _0xafdbc8=_0x3118b6['rowIndex'],_0x2693a5=_0x3118b6[_0x558bb9(0x151)],_0x2b7423=_0x3118b6[_0x558bb9(0x276)],_0x451d51=_0x3118b6['colId'],_0xc8bdd=_0x3118b6['cellData'];return _0x561939[_0x558bb9(0x167)]((_0x15fbd0,_0xddd06e)=>{_0xafdbc8[_0x15fbd0]=_0xddd06e,_0x2693a5[_0xddd06e]=_0x15fbd0;}),_0x2477a5['forEach']((_0x366aa2,_0x43b4c9)=>{_0x2b7423[_0x366aa2]=_0x43b4c9,_0x451d51[_0x43b4c9]=_0x366aa2;}),Object['entries'](_0x7974c3)['forEach'](([_0x3d7cfc,_0x143ce8])=>{const _0x4d36fd=_0x558bb9;let _0x23c25b=Number(_0x3d7cfc),_0x4f6608=_0x5bb254[_0x23c25b]??_0x561939[_0x23c25b],_0x5d7fb7=_0x4f6608?_0xafdbc8[_0x4f6608]:void 0x0;_0x5d7fb7!=null&&(_0xc8bdd[_0x5d7fb7]={..._0xc8bdd[_0x5d7fb7]??{}},Object[_0x4d36fd(0x1c8)](_0x143ce8??{})[_0x4d36fd(0x167)](([_0x3dc362,_0x2d5054])=>{let _0x2a0358=Number(_0x3dc362),_0x526fe6=_0x5d3256[_0x2a0358]??_0x2477a5[_0x2a0358],_0x1a062a=_0x526fe6?_0x2b7423[_0x526fe6]:void 0x0;_0x1a062a!=null&&(_0xc8bdd[_0x5d7fb7][_0x1a062a]=_0x2a0bf4(_0x2d5054));}));}),Object[_0x558bb9(0x12b)](_0x295d2b)[_0x558bb9(0x167)](_0x2f031c=>{const _0x2bdeb4=_0x558bb9;let _0x13ed20=_0xafdbc8[_0x2f031c['id']];_0x13ed20!=null&&(_0x2f031c[_0x2bdeb4(0x12b)]={..._0x2f031c['values']??{},[_0x2f4877['BASE_RECORD_ID_FIELD_ID']]:_0x2f031c['id']},_0xc8bdd[_0x13ed20]={..._0xc8bdd[_0x13ed20]??{},0x0:{'v':_0x2f031c['id'],'t':_0x2f4877['CellValueType']['STRING']}},Object[_0x2bdeb4(0x1c8)](_0x2f031c[_0x2bdeb4(0x12b)]??{})[_0x2bdeb4(0x167)](([_0x38f976,_0x1b9d05])=>{const _0x4cfb08=_0x2bdeb4;let _0x10e787=_0x4e92a9[_0x38f976];(_0x10e787==null?void 0x0:_0x10e787[_0x4cfb08(0x3fd)])===_0x2f4877[_0x4cfb08(0x4aa)]['Attachment']&&_0x2cb963(_0x3118b6,_0x2f031c['id'],_0x38f976,_0x1b9d05);let _0x4ffdd8=_0x2b7423[_0x38f976];if(_0x4ffdd8==null)return;let _0x48edd0=_0xc8bdd[_0x13ed20][_0x4ffdd8];(_0x48edd0==null||_0x25fe86(_0x48edd0,_0x10e787,_0x1b9d05))&&(_0xc8bdd[_0x13ed20][_0x4ffdd8]=_0x50331a(_0x1b9d05,_0x10e787));}));}),_0x3118b6;}function _0x50e678(_0x314edd,_0x235fa8){const _0x3258e3=_0x4cb5f0;return _0x314edd['records']=Object[_0x3258e3(0x1c0)](Object[_0x3258e3(0x1c8)](_0x314edd[_0x3258e3(0x3cc)])[_0x3258e3(0x208)](([_0x51f82a,_0x5a66aa])=>[_0x51f82a,{..._0x5a66aa}])),_0xbfb56e(_0x314edd),Object[_0x3258e3(0x1c8)](_0x314edd[_0x3258e3(0x151)]??{})[_0x3258e3(0x167)](([_0x10dc15,_0x27e93b])=>{const _0x2a5683=_0x3258e3;var _0x346d78;let _0x5a0e23=Number(_0x10dc15),_0x233959=_0x314edd[_0x2a5683(0x3cc)][_0x27e93b];_0x233959&&(_0x233959[_0x2a5683(0x12b)]={..._0x233959[_0x2a5683(0x12b)]??{}},Object[_0x2a5683(0x1c8)](((_0x346d78=_0x314edd[_0x2a5683(0x3ca)])==null?void 0x0:_0x346d78[_0x5a0e23])??{})[_0x2a5683(0x167)](([_0x38b63a,_0x4a281b])=>{const _0x285003=_0x2a5683;var _0x43e478;let _0x3a7722=(_0x43e478=_0x314edd[_0x285003(0x518)])==null?void 0x0:_0x43e478[Number(_0x38b63a)];_0x3a7722&&_0x235fa8&&!_0x235fa8(_0x27e93b,_0x3a7722)||(_0x3a7722===_0x2f4877[_0x285003(0x31e)]?_0x233959['values'][_0x2f4877['BASE_RECORD_ID_FIELD_ID']]=_0x233959['id']:_0x3a7722&&(_0x233959[_0x285003(0x12b)][_0x3a7722]=_0x41af3a(_0x4a281b,_0x314edd['fields'][_0x3a7722],_0x314edd,_0x27e93b)));}));}),_0x314edd;}function _0x3ac433(_0xaf478,_0x5bd379){const _0xd887f0=_0x4cb5f0;for(let {row:_0x3855d1,col:_0x156580}of _0x5bd379){var _0x5dd4d6,_0x1b98bb,_0x34e931;let _0xa65b07=(_0x5dd4d6=_0xaf478['rowId'])==null?void 0x0:_0x5dd4d6[_0x3855d1],_0x511240=(_0x1b98bb=_0xaf478[_0xd887f0(0x518)])==null?void 0x0:_0x1b98bb[_0x156580],_0x168c87=_0xa65b07?_0xaf478[_0xd887f0(0x3cc)][_0xa65b07]:void 0x0;if(!_0x168c87||!_0x511240)continue;if(_0x511240===_0x2f4877['BASE_RECORD_ID_FIELD_ID']){_0x168c87['values'][_0x2f4877[_0xd887f0(0x31e)]]=_0x168c87['id'];continue;}let _0x369af2=(_0x34e931=_0xaf478['cellData'])==null||(_0x34e931=_0x34e931[_0x3855d1])==null?void 0x0:_0x34e931[_0x156580];(_0x369af2!=null||Object['prototype'][_0xd887f0(0x28c)][_0xd887f0(0x434)](_0x168c87[_0xd887f0(0x12b)]??{},_0x511240))&&(_0x168c87[_0xd887f0(0x12b)]={..._0x168c87[_0xd887f0(0x12b)]??{}},_0x168c87[_0xd887f0(0x12b)][_0x511240]=_0x41af3a(_0x369af2,_0xaf478[_0xd887f0(0x189)][_0x511240],_0xaf478,_0xa65b07));}return _0xaf478;}function _0xc9eba(_0x3a62dd,_0x3465e0,_0x29b6e9){const _0x17d46f=_0x4cb5f0;var _0x2bdffb,_0x1b70c4,_0x11440c,_0x1a4e3e,_0x5ea147,_0xa704b0;let _0x8a3376=(_0x2bdffb=_0x3a62dd['rowIndex'])==null?void 0x0:_0x2bdffb[_0x3465e0],_0x2d565e=(_0x1b70c4=_0x3a62dd[_0x17d46f(0x276)])==null?void 0x0:_0x1b70c4[_0x29b6e9];if(_0x8a3376!=null&&_0x2d565e!=null&&((_0x11440c=_0x3a62dd[_0x17d46f(0x151)])==null?void 0x0:_0x11440c[_0x8a3376])===_0x3465e0&&((_0x1a4e3e=_0x3a62dd['colId'])==null?void 0x0:_0x1a4e3e[_0x2d565e])===_0x29b6e9)return{'row':_0x8a3376,'col':_0x2d565e};let _0x482191=_0xbfb56e(_0x3a62dd),_0x2baf9f=(_0x5ea147=_0x482191['rowIndex'])==null?void 0x0:_0x5ea147[_0x3465e0],_0x53ad49=(_0xa704b0=_0x482191[_0x17d46f(0x276)])==null?void 0x0:_0xa704b0[_0x29b6e9];return _0x2baf9f==null||_0x53ad49==null?null:{'row':_0x2baf9f,'col':_0x53ad49};}function _0x4a60b4(_0x28e62d,_0x41bb41,_0x22a5c0){const _0x3ad9f7=_0x4cb5f0;var _0x10f0d4;let _0x2f1ace=_0xc9eba(_0x28e62d,_0x41bb41,_0x22a5c0);if(_0x2f1ace)return(_0x10f0d4=_0x28e62d[_0x3ad9f7(0x3ca)])==null||(_0x10f0d4=_0x10f0d4[_0x2f1ace[_0x3ad9f7(0x405)]])==null?void 0x0:_0x10f0d4[_0x2f1ace[_0x3ad9f7(0x569)]];}function _0x5b2a6b(_0x246fc3,_0x27b191,_0x6fbc84){const _0x4df62d=_0x4cb5f0;var _0x219e59;let _0x2d3ec0=_0x4a60b4(_0x246fc3,_0x27b191,_0x6fbc84),_0x2f94ee=_0x246fc3[_0x4df62d(0x189)][_0x6fbc84];if((_0x2f94ee==null?void 0x0:_0x2f94ee[_0x4df62d(0x3fd)])===_0x2f4877[_0x4df62d(0x4aa)][_0x4df62d(0x15c)]){var _0x63be68;return _0x1a2bf1(_0x246fc3,_0x27b191,_0x6fbc84)??_0x28433a((_0x63be68=_0x246fc3[_0x4df62d(0x3cc)][_0x27b191])==null||(_0x63be68=_0x63be68[_0x4df62d(0x12b)])==null?void 0x0:_0x63be68[_0x6fbc84]);}if(_0xa71a10(_0x2f94ee)||_0x94fda3(_0x2f94ee)||(_0x2f94ee==null?void 0x0:_0x2f94ee[_0x4df62d(0x3fd)])===_0x2f4877[_0x4df62d(0x4aa)][_0x4df62d(0x3f3)]){var _0x1ebcf6;let _0x2270b0=(_0x1ebcf6=_0x246fc3[_0x4df62d(0x3cc)][_0x27b191])==null||(_0x1ebcf6=_0x1ebcf6[_0x4df62d(0x12b)])==null?void 0x0:_0x1ebcf6[_0x6fbc84];return _0x2270b0!=null&&_0x2270b0!==''?_0x76bcab(_0x2270b0,_0x2f94ee):_0x41af3a(_0x2d3ec0,_0x2f94ee,_0x246fc3,_0x27b191);}return _0x2d3ec0&&Object['prototype']['hasOwnProperty']['call'](_0x2d3ec0,'v')?_0x2d3ec0['v']??null:((_0x219e59=_0x246fc3['records'][_0x27b191])==null||(_0x219e59=_0x219e59[_0x4df62d(0x12b)])==null?void 0x0:_0x219e59[_0x6fbc84])??null;}function _0xfaa4dc(_0x3364d4,_0x233127,_0x21a2fa){const _0xbc71d7=_0x4cb5f0;var _0x5655b0;let _0x70f182=_0x4a60b4(_0x3364d4,_0x233127,_0x21a2fa);if(_0x70f182&&Object['prototype'][_0xbc71d7(0x28c)][_0xbc71d7(0x434)](_0x70f182,'v'))return _0x70f182['v']??null;let _0x247c18=_0x3364d4[_0xbc71d7(0x189)][_0x21a2fa];return _0x50331a(((_0x5655b0=_0x3364d4[_0xbc71d7(0x3cc)][_0x233127])==null||(_0x5655b0=_0x5655b0[_0xbc71d7(0x12b)])==null?void 0x0:_0x5655b0[_0x21a2fa])??null,_0x247c18)['v']??null;}function _0x50331a(_0x1b9a5a,_0x5459da){const _0x260e6e=_0x4cb5f0;if(_0x475c75(_0x1b9a5a))return(_0x5459da==null?void 0x0:_0x5459da[_0x260e6e(0x3fd)])===_0x2f4877['BaseFieldType'][_0x260e6e(0x15c)]?{..._0x1b9a5a,'v':'','t':_0x2f4877[_0x260e6e(0x210)][_0x260e6e(0x3d0)]}:_0x2a0bf4(_0x1b9a5a);if((_0x5459da==null?void 0x0:_0x5459da['type'])===_0x2f4877[_0x260e6e(0x4aa)][_0x260e6e(0x15c)])return{'v':'','t':_0x2f4877[_0x260e6e(0x210)][_0x260e6e(0x3d0)]};if(_0x94fda3(_0x5459da)){let _0x10bdf4=_0x17e232(_0x1b9a5a);return{'v':_0x10bdf4,'t':_0xfc2ce6(_0x10bdf4)};}if(_0xa71a10(_0x5459da))return{'v':_0x213cdb(_0x1b9a5a)['join'](',\x20'),'t':_0x2f4877['CellValueType']['STRING']};if((_0x5459da==null?void 0x0:_0x5459da[_0x260e6e(0x3fd)])===_0x2f4877[_0x260e6e(0x4aa)][_0x260e6e(0x3f3)]&&_0x1b9a5a&&typeof _0x1b9a5a==_0x260e6e(0x2dc)&&!Array['isArray'](_0x1b9a5a)){let _0x28537f=_0x1b9a5a;return{'v':String(_0x28537f[_0x260e6e(0x33c)]??_0x28537f[_0x260e6e(0x1ec)]??''),'t':_0x2f4877[_0x260e6e(0x210)][_0x260e6e(0x3d0)]};}return _0x1b9a5a===null||typeof _0x1b9a5a=='string'||typeof _0x1b9a5a==_0x260e6e(0x212)||typeof _0x1b9a5a=='boolean'?{'v':_0x1b9a5a,'t':_0xfc2ce6(_0x1b9a5a)}:{'v':null,'t':null};}function _0x2a0bf4(_0x33c9c2){let _0x4bdde8=_0x484521(_0x33c9c2['t'],_0x33c9c2['v']);if(_0x4bdde8===void 0x0){let {t:_0x1c4215,..._0x339afe}=_0x33c9c2;return _0x339afe;}return{..._0x33c9c2,'t':_0x4bdde8};}function _0x41af3a(_0x1a8170,_0x37cbf7,_0x2c030b,_0x4c99b8){const _0x5e7a12=_0x4cb5f0;if(!_0x1a8170)return null;if((_0x37cbf7==null?void 0x0:_0x37cbf7[_0x5e7a12(0x3fd)])===_0x2f4877[_0x5e7a12(0x4aa)][_0x5e7a12(0x15c)])return _0x2c030b&&_0x4c99b8?_0x1a2bf1(_0x2c030b,_0x4c99b8,_0x37cbf7['id'])??[]:[];if(_0xa71a10(_0x37cbf7))return _0x213cdb(_0x1a8170['v']);if((_0x37cbf7==null?void 0x0:_0x37cbf7[_0x5e7a12(0x3fd)])===_0x2f4877[_0x5e7a12(0x4aa)]['Link']&&_0x2c030b&&_0x4c99b8){var _0x481729;let _0x2cb882=(_0x481729=_0x2c030b['records'][_0x4c99b8])==null||(_0x481729=_0x481729[_0x5e7a12(0x12b)])==null?void 0x0:_0x481729[_0x37cbf7['id']];if(_0x2cb882&&typeof _0x2cb882==_0x5e7a12(0x2dc)&&!Array[_0x5e7a12(0x156)](_0x2cb882))return _0x2cb882;}return Object[_0x5e7a12(0x3f8)][_0x5e7a12(0x28c)][_0x5e7a12(0x434)](_0x1a8170,'v')?_0x1a8170['v']??null:null;}function _0x505add(_0x18b404,_0x4445fc,_0x327516,_0x65f7b5,_0x5c1f71){const _0x20f3bb=_0x4cb5f0;return(_0x327516==null?void 0x0:_0x327516[_0x20f3bb(0x3fd)])===_0x2f4877['BaseFieldType'][_0x20f3bb(0x15c)]?_0x28433a(_0x18b404):_0x94fda3(_0x327516)?_0x17e232(_0x18b404):_0xa71a10(_0x327516)?_0x213cdb(_0x18b404):(_0x327516==null?void 0x0:_0x327516['type'])===_0x2f4877[_0x20f3bb(0x4aa)][_0x20f3bb(0x3f3)]&&(_0x18b404==null||_0x18b404==='')?null:(_0x327516==null?void 0x0:_0x327516[_0x20f3bb(0x3fd)])===_0x2f4877['BaseFieldType'][_0x20f3bb(0x3f3)]&&_0x18b404&&typeof _0x18b404==_0x20f3bb(0x2dc)&&!Array[_0x20f3bb(0x156)](_0x18b404)&&!_0x475c75(_0x18b404)?_0x18b404:_0x41af3a(_0x4445fc,_0x327516,_0x65f7b5,_0x5c1f71);}function _0x475c75(_0x3813b6){const _0x26aed9=_0x4cb5f0;return!!_0x3813b6&&typeof _0x3813b6=='object'&&(Object['prototype'][_0x26aed9(0x28c)]['call'](_0x3813b6,'v')||Object[_0x26aed9(0x3f8)][_0x26aed9(0x28c)][_0x26aed9(0x434)](_0x3813b6,'t')||Object[_0x26aed9(0x3f8)][_0x26aed9(0x28c)][_0x26aed9(0x434)](_0x3813b6,'p')||Object['prototype'][_0x26aed9(0x28c)][_0x26aed9(0x434)](_0x3813b6,'f')||Object[_0x26aed9(0x3f8)][_0x26aed9(0x28c)][_0x26aed9(0x434)](_0x3813b6,'si'));}function _0x49ff8d(_0x4383d0,_0x251cda){return _0x4383d0+'\x1f'+_0x251cda;}function _0x2cb963(_0x17630c,_0x5c2779,_0x14c30c,_0x2749a4){const _0x5c379c=_0x4cb5f0;let _0xa13a3f=_0x28433a(_0x2749a4);_0x17630c[_0x5c379c(0x301)]={..._0x17630c[_0x5c379c(0x301)]??{}},_0x17630c['resources'][_0x5c379c(0x1b0)]={..._0x17630c[_0x5c379c(0x301)][_0x5c379c(0x1b0)]??{}},_0x17630c[_0x5c379c(0x301)][_0x5c379c(0x2c7)]={..._0x17630c['resources'][_0x5c379c(0x2c7)]??{}};let _0x3022c2=_0x49ff8d(_0x14c30c,_0x5c2779),_0x3a47bf=[];for(let _0x2887d9=0x0;_0x2887d9<_0xa13a3f['length'];_0x2887d9++){if(!(_0x2887d9 in _0xa13a3f))continue;let _0x1c4817=_0xa13a3f[_0x2887d9],_0x3e8b83=String(_0x1c4817['id']??_0x3022c2+'\x1f'+_0x2887d9),_0x69f0d2={..._0x1c4817,'id':_0x3e8b83};_0x17630c['resources'][_0x5c379c(0x2c7)][_0x3e8b83]=_0x69f0d2,_0x3a47bf['push'](_0x3e8b83);}_0x17630c[_0x5c379c(0x301)]['attachmentSets'][_0x3022c2]=_0x3a47bf;}function _0x1a2bf1(_0x2f5c6b,_0x506f78,_0x3c253a){const _0x39e8a1=_0x4cb5f0;var _0x3d34e4;let _0x3652bd=_0x49ff8d(_0x3c253a,_0x506f78),_0x374a54=(_0x3d34e4=_0x2f5c6b[_0x39e8a1(0x301)])==null||(_0x3d34e4=_0x3d34e4['attachmentSets'])==null?void 0x0:_0x3d34e4[_0x3652bd];if(!_0x374a54)return null;let _0x19077c=[];for(let _0x3d09b5=0x0;_0x3d09b5<_0x374a54[_0x39e8a1(0x40a)];_0x3d09b5++){var _0x5e9287;if(!(_0x3d09b5 in _0x374a54))continue;let _0x5a3ff4=(_0x5e9287=_0x2f5c6b[_0x39e8a1(0x301)])==null||(_0x5e9287=_0x5e9287[_0x39e8a1(0x2c7)])==null?void 0x0:_0x5e9287[_0x374a54[_0x3d09b5]];_0x5a3ff4&&_0x19077c['push']({..._0x5a3ff4});}return _0x19077c;}function _0x28433a(_0x456dd6){const _0x171dd9=_0x4cb5f0;if(_0x456dd6==null||_0x456dd6===''||_0x475c75(_0x456dd6)&&!('id'in _0x456dd6)&&!('name'in _0x456dd6))return[];let _0x2ec9bf=Array[_0x171dd9(0x156)](_0x456dd6)?_0x456dd6:[_0x456dd6],_0x5d435e=[];for(let _0x226398=0x0;_0x226398<_0x2ec9bf[_0x171dd9(0x40a)];_0x226398++){if(!(_0x226398 in _0x2ec9bf))continue;let _0x512c0f=_0x2ec9bf[_0x226398],_0x5643df=_0x512c0f&&typeof _0x512c0f=='object'?{..._0x512c0f}:{'id':_0x171dd9(0x3f9)+_0x226398,'name':String(_0x512c0f)};Object['keys'](_0x5643df)['length']>0x0&&_0x5d435e['push'](_0x5643df);}return _0x5d435e;}function _0x76bcab(_0x1295e6,_0x5603d1){const _0x3bb609=_0x4cb5f0;return(_0x5603d1==null?void 0x0:_0x5603d1['type'])===_0x2f4877['BaseFieldType'][_0x3bb609(0x15c)]?_0x28433a(_0x1295e6):_0x94fda3(_0x5603d1)?_0x17e232(_0x1295e6):_0xa71a10(_0x5603d1)?_0x213cdb(_0x1295e6):_0x1295e6;}function _0x25fe86(_0x1f5420,_0x2039e8,_0x5e9d50){const _0xf6e19e=_0x4cb5f0;return(_0x2039e8==null?void 0x0:_0x2039e8[_0xf6e19e(0x3fd)])===_0x2f4877[_0xf6e19e(0x4aa)]['Attachment']?_0x1f5420['v']!=='':_0x94fda3(_0x2039e8)?_0x1f5420['v']!==_0x17e232(_0x5e9d50):_0xa71a10(_0x2039e8)?Array['isArray'](_0x5e9d50)&&(_0x1f5420['v']==null||_0x1f5420['v']===''):!0x1;}function _0xa71a10(_0x142664){const _0x25cea5=_0x4cb5f0;return(_0x142664==null?void 0x0:_0x142664['type'])===_0x2f4877[_0x25cea5(0x4aa)][_0x25cea5(0x220)]||(_0x142664==null?void 0x0:_0x142664[_0x25cea5(0x3fd)])===_0x2f4877[_0x25cea5(0x4aa)][_0x25cea5(0x1bc)]||(_0x142664==null?void 0x0:_0x142664['type'])===_0x2f4877[_0x25cea5(0x4aa)]['Person']&&_0x142664[_0x25cea5(0x40b)][_0x25cea5(0x4d6)]===!0x0;}function _0x94fda3(_0x328ee6){const _0x26f5f9=_0x4cb5f0;return(_0x328ee6==null?void 0x0:_0x328ee6[_0x26f5f9(0x3fd)])===_0x2f4877[_0x26f5f9(0x4aa)][_0x26f5f9(0x324)]&&_0x328ee6[_0x26f5f9(0x40b)]['allowMultiple']!==!0x0;}function _0x17e232(_0x28466c){const _0x335521=_0x4cb5f0;let _0x1c6752=_0x475c75(_0x28466c)?_0x28466c['v']:_0x28466c,_0x2722e6=Array[_0x335521(0x156)](_0x1c6752)?_0x1c6752[0x0]:_0x1c6752;return _0x2722e6==null||_0x2722e6===''?null:String(_0x2722e6);}function _0x213cdb(_0x31eb1b){const _0x4d5132=_0x4cb5f0;if(_0x31eb1b==null||_0x31eb1b==='')return[];let _0xd28f90=[];if(Array[_0x4d5132(0x156)](_0x31eb1b)){for(let _0x1b1e94=0x0;_0x1b1e94<_0x31eb1b[_0x4d5132(0x40a)];_0x1b1e94++){if(!(_0x1b1e94 in _0x31eb1b))continue;let _0x927f7d=_0x537ffa(_0x31eb1b[_0x1b1e94]);_0x927f7d&&_0xd28f90[_0x4d5132(0x158)](_0x927f7d);}return _0xd28f90;}for(let _0x40588e of String(_0x31eb1b)[_0x4d5132(0x400)](',')){let _0x2d5422=_0x40588e['trim']();_0x2d5422&&_0xd28f90[_0x4d5132(0x158)](_0x2d5422);}return _0xd28f90;}function _0x537ffa(_0x517a0f){const _0x5b315a=_0x4cb5f0;if(_0x517a0f==null)return'';if(typeof _0x517a0f==_0x5b315a(0x3ef)||typeof _0x517a0f==_0x5b315a(0x212)||typeof _0x517a0f==_0x5b315a(0x149))return String(_0x517a0f);if(typeof _0x517a0f==_0x5b315a(0x2dc)){let _0xdead11=_0x517a0f;return String(_0xdead11['id']??_0xdead11[_0x5b315a(0x406)]??_0xdead11[_0x5b315a(0x33c)]??'');}return String(_0x517a0f);}function _0xfc2ce6(_0x336f8d){const _0x2f5a60=_0x4cb5f0;return _0x336f8d==null?null:typeof _0x336f8d==_0x2f5a60(0x212)?_0x2f4877['CellValueType']['NUMBER']:typeof _0x336f8d==_0x2f5a60(0x149)?_0x2f4877[_0x2f5a60(0x210)][_0x2f5a60(0x44d)]:_0x2f4877[_0x2f5a60(0x210)][_0x2f5a60(0x3d0)];}function _0x790e02(_0x41dac0){const _0x4f0a73=_0x4cb5f0;_0x41dac0[_0x4f0a73(0x375)]((_0x2ec926,_0x2c57f6)=>_0x2ec926[_0x4f0a73(0x4bd)][_0x4f0a73(0x1e1)](_0x2c57f6['orderKey']));let _0x9ac9ab=[];for(let _0x31eb62 of _0x41dac0)_0x9ac9ab[_0x4f0a73(0x158)](_0x31eb62['id']);return _0x9ac9ab;}function _0x484521(_0x502402,_0x3ce6f4){const _0x2eee67=_0x4cb5f0;return _0x502402===_0x2f4877['CellValueType'][_0x2eee67(0x3d0)]||_0x502402===_0x2f4877['CellValueType'][_0x2eee67(0x150)]||_0x502402===_0x2f4877['CellValueType'][_0x2eee67(0x44d)]||_0x502402===_0x2f4877[_0x2eee67(0x210)]['FORCE_STRING']||_0x502402==null?_0x502402:_0xfc2ce6(_0x3ce6f4??null);}function _0x407666(_0x3fee33){const _0x580b80=_0x4cb5f0;let _0x521b5f=null;for(let _0x17ba11 of _0x3fee33)_0x521b5f=_0x521b5f===null?_0x17ba11:_0x2f4877[_0x580b80(0x2a6)]['type'][_0x580b80(0x3d5)](_0x521b5f,_0x17ba11);return _0x521b5f;}var _0xa877f0=class _0x5f41be{static[_0x4cb5f0(0x381)](_0x490d4b,_0x2965e1){const _0x371b08=_0x4cb5f0;let _0x34e903=[];for(let _0xf3dbd0 of _0x2965e1){let _0xd5873a=_0x4dc3d8(_0xf3dbd0);if(!_0xd5873a||_0xd5873a['unitId']!==_0x490d4b['id'])return null;_0x34e903[_0x371b08(0x158)](_0xd5873a['op']);}try{let _0x5adb4e=_0x407666(_0x34e903);return _0x5adb4e===null?_0x490d4b:new _0x5f41be()['applyOp'](_0x490d4b,_0x5adb4e);}catch{return null;}}[_0x4cb5f0(0x19b)](_0x4e902f,_0x475d57){const _0x43daf0=_0x4cb5f0;let _0x387f89=this['getAffectedRanges'](_0x475d57),_0x5282ee=_0xb8ae93(_0x43daf0(0x1b7),()=>_0x431c83(_0x4e902f,_0x475d57),{'invalidations':_0x387f89[_0x43daf0(0x40a)]}),_0x9eee29=_0xb8ae93(_0x43daf0(0x105),()=>_0x2f4877['JSON1'][_0x43daf0(0x3fd)][_0x43daf0(0x512)](_0x5282ee,_0x475d57),{'invalidations':_0x387f89['length']}),_0x85662a=_0x1f0303(_0x9eee29,_0x387f89);return _0xb8ae93('BaseJson1.syncCellInvalidations',()=>_0x1110da(_0x9eee29,_0x387f89),{'invalidations':_0x387f89[_0x43daf0(0x40a)]})?(_0x415f1f(_0x9eee29,_0x85662a),_0x9eee29):(_0xb8ae93('BaseJson1.normalizeTables',()=>{const _0x3ce9d2=_0x43daf0;this[_0x3ce9d2(0x30a)](_0x9eee29,_0x387f89)['forEach'](_0x277a30=>{const _0x4db5f8=_0x3ce9d2;let _0x3f79bc=_0x387f89['filter'](_0x5a9a1f=>_0x5a9a1f[_0x4db5f8(0x348)]===_0x277a30['id']),_0x48ccf0=_0x3f79bc[_0x4db5f8(0x40a)]>0x0&&_0x3f79bc[_0x4db5f8(0x2fa)](_0x352d48=>_0x352d48['reason']===_0x4db5f8(0x117)||_0x352d48[_0x4db5f8(0x2f9)]===_0x4db5f8(0x1e2)||_0x352d48['reason']===_0x4db5f8(0x2d6)||_0x352d48[_0x4db5f8(0x2f9)]===_0x4db5f8(0x2d9))?new Set(_0x3f79bc[_0x4db5f8(0x38f)](_0x38fd64=>{const _0x171b6a=_0x4db5f8;var _0x5664b2;if(_0x38fd64[_0x171b6a(0x2f9)]!=='field'||!_0x38fd64[_0x171b6a(0x3bd)])return[];let _0x444ab5=(_0x5664b2=_0x4e902f[_0x171b6a(0x1ab)][_0x277a30['id']])==null?void 0x0:_0x5664b2[_0x171b6a(0x189)][_0x38fd64[_0x171b6a(0x3bd)]],_0x330e3e=_0x277a30[_0x171b6a(0x189)][_0x38fd64['fieldId']];return(_0x444ab5==null?void 0x0:_0x444ab5[_0x171b6a(0x3fd)])!==(_0x330e3e==null?void 0x0:_0x330e3e[_0x171b6a(0x3fd)])||(_0x444ab5==null?void 0x0:_0x444ab5['config'][_0x171b6a(0x4d6)])!==(_0x330e3e==null?void 0x0:_0x330e3e['config'][_0x171b6a(0x4d6)])?[_0x38fd64[_0x171b6a(0x3bd)]]:[];})):void 0x0,_0x2375aa=new Set(_0x3f79bc[_0x4db5f8(0x38f)](_0x459ac8=>{const _0x15dbf7=_0x4db5f8;var _0x58cd31,_0x48f65a;return _0x459ac8['reason']!==_0x15dbf7(0x2d6)||_0x459ac8[_0x15dbf7(0x405)]==null||_0x459ac8['column']==null?[]:[JSON[_0x15dbf7(0x52e)]([(_0x58cd31=_0x277a30[_0x15dbf7(0x151)])==null?void 0x0:_0x58cd31[_0x459ac8[_0x15dbf7(0x405)]],(_0x48f65a=_0x277a30[_0x15dbf7(0x518)])==null?void 0x0:_0x48f65a[_0x459ac8[_0x15dbf7(0x12a)]]])];}));_0x50e678(_0x277a30,_0x48ccf0?(_0x25cea2,_0x456561)=>_0x48ccf0[_0x4db5f8(0x22a)](_0x456561)||_0x2375aa[_0x4db5f8(0x22a)](JSON['stringify']([_0x25cea2,_0x456561])):void 0x0);});},{'invalidations':_0x387f89[_0x43daf0(0x40a)]}),_0x415f1f(_0x9eee29,_0x85662a),_0x9eee29);}['invertOp'](_0xe244d7,_0x199e1c){const _0x4987f7=_0x4cb5f0;return _0x2f4877[_0x4987f7(0x2a6)][_0x4987f7(0x3fd)][_0x4987f7(0x18d)](_0x199e1c,_0xe244d7);}['getAffectedRanges'](_0x2cdf78){const _0x2ac404=_0x4cb5f0;let _0x369574=_0x45f193(_0x2cdf78);return _0x369574['length']?_0x399460(_0x369574[_0x2ac404(0x38f)](_0x1f7a40=>this['getAffectedRanges'](_0x1f7a40))):_0x2b1a1c(_0x2cdf78);}[_0x4cb5f0(0x30a)](_0xbadaa2,_0x26e309){const _0x1f46b8=_0x4cb5f0;let _0x297c7b=_0x26e309['filter'](_0x4b7e18=>_0x4b7e18[_0x1f46b8(0x2f9)]!==_0x1f46b8(0x1e2));return _0x297c7b[_0x1f46b8(0x40a)]?_0x297c7b[_0x1f46b8(0x258)](_0x10c899=>!_0x10c899[_0x1f46b8(0x348)])?Object[_0x1f46b8(0x12b)](_0xbadaa2[_0x1f46b8(0x1ab)]??{}):Array['from'](new Set(_0x297c7b[_0x1f46b8(0x208)](_0x58a5c3=>_0x58a5c3['tableId'])))[_0x1f46b8(0x38f)](_0x1d8b7b=>{const _0x101224=_0x1f46b8;var _0x3d5c34;let _0x4302bf=(_0x3d5c34=_0xbadaa2[_0x101224(0x1ab)])==null?void 0x0:_0x3d5c34[_0x1d8b7b];return _0x4302bf?[_0x4302bf]:[];}):[];}};function _0x4dc3d8(_0x2ce855){const _0x3e986d=_0x4cb5f0;let _0x4a8ad6=_0x2ce855[_0x3e986d(0x28d)];return _0x2ce855['id']!=='base.mutation.apply-base-json1'||typeof _0x4a8ad6!=_0x3e986d(0x2dc)||!_0x4a8ad6||!('unitId'in _0x4a8ad6)||typeof _0x4a8ad6['unitId']!=_0x3e986d(0x3ef)||!('op'in _0x4a8ad6)||!Array[_0x3e986d(0x156)](_0x4a8ad6['op'])?null:{'unitId':_0x4a8ad6[_0x3e986d(0x395)],'op':_0x4a8ad6['op']};}function _0x1110da(_0x31651b,_0x5eed4e){const _0x2b7c0d=_0x4cb5f0;if(!_0x5eed4e[_0x2b7c0d(0x40a)]||_0x5eed4e[_0x2b7c0d(0x258)](_0x5cd407=>_0x5cd407[_0x2b7c0d(0x2f9)]!==_0x2b7c0d(0x2d6)))return!0x1;let _0xc9d3f2=new Map();for(let _0x107913 of _0x5eed4e){if(!_0x107913[_0x2b7c0d(0x348)]||_0x107913['row']==null||_0x107913[_0x2b7c0d(0x12a)]==null)continue;let _0x1b82cf=_0xc9d3f2[_0x2b7c0d(0x51c)](_0x107913[_0x2b7c0d(0x348)])??[];_0x1b82cf['push']({'row':_0x107913['row'],'col':_0x107913[_0x2b7c0d(0x12a)]}),_0xc9d3f2['set'](_0x107913[_0x2b7c0d(0x348)],_0x1b82cf);}return _0xc9d3f2[_0x2b7c0d(0x167)]((_0x3e7587,_0x497df3)=>{var _0x1966ba;let _0x2b7e73=(_0x1966ba=_0x31651b['tables'])==null?void 0x0:_0x1966ba[_0x497df3];_0x2b7e73&&_0x3ac433(_0x2b7e73,_0x3e7587);}),!0x0;}function _0x1f0303(_0x1dff36,_0xb5a2d6){const _0x27141a=_0x4cb5f0;let _0x44864a=new Set();return _0xb5a2d6[_0x27141a(0x38f)](_0x5dc410=>{const _0x39a325=_0x27141a;var _0x3ba4ca;if(!_0x5dc410[_0x39a325(0x348)]||!_0x5dc410['recordId']||!_0x5dc410['fieldId'])return[];let _0x150cd5=_0x5dc410[_0x39a325(0x348)]+'\x1f'+_0x5dc410[_0x39a325(0x31f)]+'\x1f'+_0x5dc410['fieldId'];if(_0x44864a[_0x39a325(0x22a)](_0x150cd5))return[];_0x44864a[_0x39a325(0x567)](_0x150cd5);let _0x5e537b=(_0x3ba4ca=_0x1dff36['tables'][_0x5dc410[_0x39a325(0x348)]])==null||(_0x3ba4ca=_0x3ba4ca[_0x39a325(0x3cc)][_0x5dc410[_0x39a325(0x31f)]])==null?void 0x0:_0x3ba4ca[_0x39a325(0x12b)];return _0x5e537b?[{'tableId':_0x5dc410[_0x39a325(0x348)],'recordId':_0x5dc410['recordId'],'fieldId':_0x5dc410[_0x39a325(0x3bd)],'exists':Object[_0x39a325(0x3f8)]['hasOwnProperty'][_0x39a325(0x434)](_0x5e537b,_0x5dc410[_0x39a325(0x3bd)]),'value':_0x5e537b[_0x5dc410['fieldId']]}]:[];});}function _0x415f1f(_0x3369f3,_0x1f61ee){const _0xf31bc7=_0x4cb5f0;_0x1f61ee[_0xf31bc7(0x167)](_0x222d2b=>{const _0x1d024c=_0xf31bc7;var _0x77d66a;let _0x3cc048=(_0x77d66a=_0x3369f3[_0x1d024c(0x1ab)][_0x222d2b[_0x1d024c(0x348)]])==null||(_0x77d66a=_0x77d66a[_0x1d024c(0x3cc)][_0x222d2b[_0x1d024c(0x31f)]])==null?void 0x0:_0x77d66a['values'];_0x3cc048&&(_0x222d2b['exists']?_0x3cc048[_0x222d2b[_0x1d024c(0x3bd)]]=_0x222d2b[_0x1d024c(0x2f3)]:delete _0x3cc048[_0x222d2b[_0x1d024c(0x3bd)]]);});}function _0x2b1a1c(_0x3fd003){const _0x5ad5d1=_0x4cb5f0;if(!Array['isArray'](_0x3fd003)||_0x3fd003[_0x5ad5d1(0x40a)]<0x2)return[{'tableId':'','reason':_0x5ad5d1(0x13f)}];let _0x3507af=_0x3fd003,_0x1311d8=_0x3507af[_0x5ad5d1(0x310)](_0x5ad5d1(0x1ab));return _0x1311d8===-0x1||typeof _0x3507af[_0x1311d8+0x1]!='string'?_0x3507af[0x0]===_0x5ad5d1(0x4cf)?[]:[{'tableId':'','reason':_0x5ad5d1(0x13f)}]:_0x997843(_0x3507af,_0x1311d8,String(_0x3507af[_0x1311d8+0x1]));}function _0x997843(_0x2ae396,_0x3d9cb9,_0x13be6d){const _0x31a859=_0x4cb5f0;let _0x3d9dc2=_0x2ae396[_0x3d9cb9+0x2];return _0x3d9dc2===_0x31a859(0x3cc)&&typeof _0x2ae396[_0x3d9cb9+0x3]==_0x31a859(0x3ef)?_0x539bca(_0x2ae396,_0x3d9cb9,_0x13be6d,String(_0x2ae396[_0x3d9cb9+0x3])):_0x3d9dc2===_0x31a859(0x3ca)&&_0x2ae396[_0x3d9cb9+0x3]!=null&&_0x2ae396[_0x3d9cb9+0x4]!=null?[{'tableId':_0x13be6d,'reason':'cell','row':Number(_0x2ae396[_0x3d9cb9+0x3]),'column':Number(_0x2ae396[_0x3d9cb9+0x4])}]:_0x3d9dc2===_0x31a859(0x189)&&typeof _0x2ae396[_0x3d9cb9+0x3]==_0x31a859(0x3ef)?[{'tableId':_0x13be6d,'reason':'field','fieldId':String(_0x2ae396[_0x3d9cb9+0x3])}]:_0x3d9dc2===_0x31a859(0x482)?[{'tableId':_0x13be6d,'reason':_0x31a859(0x117)}]:_0x3d9dc2==='recordOrder'?[{'tableId':_0x13be6d,'reason':'record'}]:_0x3d9dc2==='views'&&typeof _0x2ae396[_0x3d9cb9+0x3]==_0x31a859(0x3ef)?[{'tableId':_0x13be6d,'reason':_0x31a859(0x1e2),'viewId':String(_0x2ae396[_0x3d9cb9+0x3])}]:_0x3d9dc2===_0x31a859(0x353)?[{'tableId':_0x13be6d,'reason':_0x31a859(0x1e2)}]:_0x3d9dc2===_0x31a859(0x301)?[{'tableId':_0x13be6d,'reason':'cell'}]:[{'tableId':_0x13be6d,'reason':_0x3d9dc2===void 0x0?'table':_0x31a859(0x13f)}];}function _0x539bca(_0x5bfec,_0x23ea55,_0x5c2114,_0x44eecc){const _0x50e199=_0x4cb5f0;return _0x5bfec[_0x23ea55+0x4]===_0x50e199(0x12b)&&typeof _0x5bfec[_0x23ea55+0x5]==_0x50e199(0x3ef)?[{'tableId':_0x5c2114,'reason':_0x50e199(0x2d6),'recordId':_0x44eecc,'fieldId':String(_0x5bfec[_0x23ea55+0x5])}]:_0x5bfec[_0x23ea55+0x4]===_0x50e199(0x196)||_0x5bfec[_0x23ea55+0x4]==='updatedBy'?[]:[{'tableId':_0x5c2114,'reason':_0x50e199(0x2d9),'recordId':_0x44eecc}];}function _0x45f193(_0x42d376){const _0x37e735=_0x4cb5f0;if(!Array[_0x37e735(0x156)](_0x42d376))return[];let _0x28975c=_0x42d376[_0x37e735(0x431)](Array[_0x37e735(0x156)]);if(_0x28975c['length']>0x1&&_0x28975c[_0x37e735(0x40a)]===_0x42d376[_0x37e735(0x40a)])return _0x28975c;let _0x1b6276=_0x42d376[_0x37e735(0x469)](Array['isArray']);if(_0x1b6276>0x0&&_0x42d376[_0x37e735(0x3fb)](_0x1b6276)['every'](Array['isArray'])){let _0x22f007=_0x42d376['slice'](0x0,_0x1b6276);return _0x42d376[_0x37e735(0x3fb)](_0x1b6276)[_0x37e735(0x208)](_0x2dc725=>[..._0x22f007,..._0x2dc725]);}let _0x446b0f=_0x42d376[_0x37e735(0x310)](_0x37e735(0x1ab));if(_0x446b0f===-0x1||typeof _0x42d376[_0x446b0f+0x1]!=_0x37e735(0x3ef))return[];let _0x16811c=String(_0x42d376[_0x446b0f+0x1]),_0x8ace90=_0x42d376[_0x37e735(0x3fb)](_0x446b0f+0x2)[_0x37e735(0x431)](Array[_0x37e735(0x156)]);return _0x8ace90['length']<=0x1?[]:_0x8ace90[_0x37e735(0x208)](_0x54112e=>[_0x37e735(0x1ab),_0x16811c,..._0x54112e]);}function _0x399460(_0x5e4d2c){const _0x355015=_0x4cb5f0;let _0x575922=new Set();return _0x5e4d2c[_0x355015(0x431)](_0x554cfb=>{const _0x18708a=_0x355015;let _0x16bcd3=JSON[_0x18708a(0x52e)](_0x554cfb);return!_0x575922[_0x18708a(0x22a)](_0x16bcd3)&&(_0x575922[_0x18708a(0x567)](_0x16bcd3),!0x0);});}function _0xb91cd1(_0x43dc15){const _0x38f201=_0x4cb5f0;return _0x2f4877['Tools'][_0x38f201(0x1f3)](_0x43dc15);}function _0x431c83(_0x439f88,_0x2401fa){let _0x4c5223=_0x1f9e43(_0x2401fa);if(!_0x4c5223['length'])return _0xb91cd1(_0x439f88);let _0x15285d=_0x431071(_0x439f88),_0x2ba816=new Set();for(let _0xc2c678 of _0x4c5223)_0x908a50(_0x15285d,_0xc2c678,_0x2ba816);return _0x15285d;}function _0x1f9e43(_0x5ab1e5){let _0x689c16=[];return _0x5a3505(_0x5ab1e5,[],_0x689c16),_0x689c16;}function _0x5a3505(_0x2faa8c,_0x180b42,_0x35800f){const _0x6a1340=_0x4cb5f0;if(!Array['isArray'](_0x2faa8c))return;let _0x5bf731=[];for(let _0x37acda of _0x2faa8c)Array[_0x6a1340(0x156)](_0x37acda)?_0x5a3505(_0x37acda,[..._0x180b42,..._0x5bf731],_0x35800f):_0x5e7c4c(_0x37acda)?_0x35800f[_0x6a1340(0x158)]([..._0x180b42,..._0x5bf731]):(typeof _0x37acda==_0x6a1340(0x3ef)||typeof _0x37acda==_0x6a1340(0x212))&&_0x5bf731[_0x6a1340(0x158)](_0x37acda);}function _0x5e7c4c(_0x1e4a7a){const _0x746bb6=_0x4cb5f0;if(!_0x1e4a7a||typeof _0x1e4a7a!='object'||Array[_0x746bb6(0x156)](_0x1e4a7a))return!0x1;let _0x5d77e6=_0x1e4a7a;return'i'in _0x5d77e6||'r'in _0x5d77e6||'p'in _0x5d77e6||'d'in _0x5d77e6||'es'in _0x5d77e6||'ena'in _0x5d77e6||'et'in _0x5d77e6;}function _0x908a50(_0x588648,_0xc4fffd,_0x265c39){const _0xbfcc0=_0x4cb5f0;let _0x1d9bea=_0x588648,_0x47b6e1=[];for(let _0x49eb19=0x0;_0x49eb19<_0xc4fffd['length']-0x1;_0x49eb19++){let _0x20338e=_0xc4fffd[_0x49eb19];_0x47b6e1[_0xbfcc0(0x158)](_0x20338e);let _0x358175=_0x5b305d(_0x1d9bea,_0x20338e);if(!_0x4a91cd(_0x358175))return;let _0x4175f1=JSON[_0xbfcc0(0x52e)](_0x47b6e1);_0x265c39[_0xbfcc0(0x22a)](_0x4175f1)||(_0x41c101(_0x1d9bea,_0x20338e,_0x431071(_0x358175)),_0x265c39[_0xbfcc0(0x567)](_0x4175f1));let _0x42dc54=_0x5b305d(_0x1d9bea,_0x20338e);if(!_0x4a91cd(_0x42dc54))return;_0x1d9bea=_0x42dc54;}}function _0x5b305d(_0x17cbe3,_0x3642b8){const _0x3fcd1a=_0x4cb5f0;return Array[_0x3fcd1a(0x156)](_0x17cbe3)?typeof _0x3642b8==_0x3fcd1a(0x212)?_0x17cbe3[_0x3642b8]:void 0x0:Reflect['get'](_0x17cbe3,_0x3642b8);}function _0x41c101(_0x84d7,_0x36ec25,_0x34df8b){const _0x52b130=_0x4cb5f0;Array['isArray'](_0x84d7)?typeof _0x36ec25==_0x52b130(0x212)&&(_0x84d7[_0x36ec25]=_0x34df8b):Reflect['set'](_0x84d7,_0x36ec25,_0x34df8b);}function _0x4a91cd(_0x439bfc){const _0x1609d4=_0x4cb5f0;return!!_0x439bfc&&typeof _0x439bfc==_0x1609d4(0x2dc);}function _0x431071(_0x5a7fd9){const _0x11b90b=_0x4cb5f0;return Array[_0x11b90b(0x156)](_0x5a7fd9)?_0x5a7fd9[_0x11b90b(0x3fb)]():{..._0x5a7fd9};}let _0x2ad148=_0x4cb5f0(0x371),_0x27a989=/\s+hh:mm\s*$/i,_0x2b1185={'yyyy/mm/dd':_0x4cb5f0(0x126),'yyyy-mm-dd':_0x4cb5f0(0x439),'mm-dd':_0x4cb5f0(0x17f),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x4cb5f0(0x294),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x4504fe(_0x1018a7,_0x45ebe6=_0x2f4877[_0x4cb5f0(0x336)][_0x4cb5f0(0x43a)]){const _0x501483=_0x4cb5f0;let _0x6beb26=(0x0,_0x2f4877['dateKit'])(_0x1018a7)[_0x501483(0x4f5)]();return(0x0,_0x2f4877[_0x501483(0x2f4)])(new Date(_0x6beb26),_0x45ebe6);}function _0x4e4bc2(_0x3a349e,_0x2b2c58=_0x2f4877[_0x4cb5f0(0x336)][_0x4cb5f0(0x43a)]){return(0x0,_0x2f4877['excelSerialToDateTime'])(_0x3a349e,_0x2b2c58)['getTime']();}function _0x1011b3(_0x1295b0,_0x3ad586=_0x2f4877[_0x4cb5f0(0x336)][_0x4cb5f0(0x43a)]){const _0xde956=_0x4cb5f0;if(_0x1295b0==null||_0x1295b0==='')return null;if(_0x1295b0 instanceof Date)return _0x4504fe(_0x1295b0,_0x3ad586);if(typeof _0x1295b0==_0xde956(0x212))return Number[_0xde956(0x560)](_0x1295b0)?_0x1295b0>0xf4240?_0x4504fe(_0x1295b0,_0x3ad586):_0x1295b0:null;let _0xcacf84=Date[_0xde956(0x202)](String(_0x1295b0));return Number['isNaN'](_0xcacf84)?null:_0x4504fe(_0xcacf84,_0x3ad586);}function _0x53da3c(_0x27640b,_0x45620a=_0x2f4877['DateSystem']['Date1900']){let _0x5a8e18=_0x1011b3(_0x27640b,_0x45620a);return _0x5a8e18==null?null:_0x4e4bc2(_0x5a8e18,_0x45620a);}function _0x3ec68c(_0x595f95={}){const _0x317d8d=_0x4cb5f0;let _0x3d1f03=String(_0x595f95['pattern']??_0x595f95['format']??_0x595f95[_0x317d8d(0x219)]??_0x2ad148)[_0x317d8d(0x11b)]()||_0x2ad148,_0x2f613c=_0x27a989['test'](_0x3d1f03);return{'pattern':_0x3d1f03['replace'](_0x27a989,'')||_0x2ad148,'includeTime':typeof _0x595f95['includeTime']==_0x317d8d(0x149)?_0x595f95[_0x317d8d(0x2e7)]:_0x2f613c,'hourCycle':_0x595f95[_0x317d8d(0x39e)]===_0x317d8d(0x3c3)?_0x317d8d(0x3c3):_0x317d8d(0x429)};}function _0xcd46c9(_0x1927a0={}){let {format:_0x3ef054,dateFormat:_0x3b1dbe,..._0x5e227c}=_0x1927a0;return{..._0x5e227c,..._0x3ec68c(_0x1927a0)};}function _0x5e3482(_0x1428b1,_0x12d3a1={}){const _0x349b14=_0x4cb5f0;let _0x41fb4f=_0x53da3c(_0x1428b1);if(_0x41fb4f==null||!Number[_0x349b14(0x560)](_0x41fb4f))return'';let _0x4320ca=_0x3ec68c(_0x12d3a1);return(0x0,_0x2f4877[_0x349b14(0x24c)])(_0x41fb4f)['format'](_0x5361ae(_0x4320ca));}function _0x5361ae(_0xf27ed2){const _0x29e6c3=_0x4cb5f0;let {pattern:_0x3539b0,includeTime:_0x3dcc31,hourCycle:_0x4b5980}=_0xf27ed2,_0x3202ba=_0x2b1185[_0x3539b0]??_0x2b1185[_0x2ad148];return _0x3dcc31?_0x3202ba+'\x20'+(_0x4b5980===_0x29e6c3(0x3c3)?_0x29e6c3(0x1e0):'HH:mm'):_0x3202ba;}let _0x578ce3={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x3f892b=new Set([_0x2f4877['BaseFieldType']['RecordId']]);function _0x36f8e0(_0x41fe1c){const _0x17223b=_0x4cb5f0;switch(_0x41fe1c){case _0x2f4877[_0x17223b(0x4aa)]['Number']:case _0x2f4877[_0x17223b(0x4aa)][_0x17223b(0x2b5)]:case _0x2f4877[_0x17223b(0x4aa)][_0x17223b(0x235)]:case _0x2f4877[_0x17223b(0x4aa)]['Rating']:return[_0x2f4877[_0x17223b(0x49b)]['IS'],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3c2)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x2b8)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x37c)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3dd)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3ec)]];case _0x2f4877[_0x17223b(0x4aa)]['Date']:case _0x2f4877[_0x17223b(0x4aa)]['CreatedAt']:case _0x2f4877[_0x17223b(0x4aa)]['UpdatedAt']:return[_0x2f4877['BaseConditionalColorOperator']['IS'],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3c2)],_0x2f4877['BaseConditionalColorOperator']['BEFORE'],_0x2f4877[_0x17223b(0x49b)]['AFTER'],_0x2f4877['BaseConditionalColorOperator'][_0x17223b(0x3dd)],_0x2f4877[_0x17223b(0x49b)]['IS_NOT_EMPTY']];case _0x2f4877[_0x17223b(0x4aa)]['Checkbox']:return[_0x2f4877[_0x17223b(0x49b)]['IS'],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3c2)]];default:return[_0x2f4877[_0x17223b(0x49b)]['IS'],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3c2)],_0x2f4877['BaseConditionalColorOperator'][_0x17223b(0x303)],_0x2f4877['BaseConditionalColorOperator'][_0x17223b(0x1d8)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3dd)],_0x2f4877[_0x17223b(0x49b)][_0x17223b(0x3ec)]];}}function _0x76edce(_0x232419){const _0x3c0ac3=_0x4cb5f0;return _0x232419===_0x2f4877[_0x3c0ac3(0x4aa)][_0x3c0ac3(0x14d)]||_0x232419===_0x2f4877[_0x3c0ac3(0x4aa)][_0x3c0ac3(0x11d)]||_0x232419===_0x2f4877[_0x3c0ac3(0x4aa)][_0x3c0ac3(0x425)];}function _0x21115d(_0x497521,_0x588662){const _0x454c8e=_0x4cb5f0;return _0x497521==null&&_0x588662==null?0x0:_0x497521==null?-0x1:_0x588662==null?0x1:typeof _0x497521==_0x454c8e(0x212)&&typeof _0x588662==_0x454c8e(0x212)?_0x497521-_0x588662:String(_0x497521)[_0x454c8e(0x1e1)](String(_0x588662));}function _0x36efc3(_0x22824b,_0x23da9d,_0x53e2b0,_0x1d3dea,_0x587d8d={}){const _0x3e1e9f=_0x4cb5f0;if(_0x23da9d==='isEmpty')return _0x228165(_0x22824b);if(_0x23da9d==='isNotEmpty')return!_0x228165(_0x22824b);switch(_0x1d3dea[_0x3e1e9f(0x3fd)]){case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x4ae)]:case _0x2f4877[_0x3e1e9f(0x4aa)]['Currency']:case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x235)]:case _0x2f4877['BaseFieldType'][_0x3e1e9f(0x2b4)]:return _0x3665fd(_0x22824b,_0x23da9d,_0x53e2b0);case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x14d)]:case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x11d)]:case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x425)]:return _0x1746c1(_0x22824b,_0x23da9d,_0x53e2b0,_0x587d8d);case _0x2f4877[_0x3e1e9f(0x4aa)]['Checkbox']:return _0x16dfa9(_0x22824b,_0x23da9d,_0x53e2b0);case _0x2f4877['BaseFieldType']['SingleSelect']:case _0x2f4877['BaseFieldType']['MultiSelect']:case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x324)]:case _0x2f4877[_0x3e1e9f(0x4aa)][_0x3e1e9f(0x1bc)]:return _0x2d4376(_0x22824b,_0x23da9d,_0x53e2b0,_0x1d3dea);default:return _0x9d6768(_0x22824b,_0x23da9d,_0x53e2b0);}}function _0x228165(_0x3c9b58){const _0x36d3e3=_0x4cb5f0;return _0x3c9b58==null?!0x0:Array['isArray'](_0x3c9b58)?_0x3c9b58[_0x36d3e3(0x40a)]===0x0:typeof _0x3c9b58==_0x36d3e3(0x3ef)&&_0x3c9b58[_0x36d3e3(0x11b)]()==='';}function _0x3665fd(_0x2303a5,_0x29df6e,_0x1275b5){const _0x4f16ae=_0x4cb5f0;let _0x291483=_0x4ae41e(_0x2303a5),_0x56b063=_0x4ae41e(_0x1275b5);if(_0x291483==null||_0x56b063==null)return!0x1;switch(_0x29df6e){case'is':return _0x291483===_0x56b063;case _0x4f16ae(0x386):return _0x291483!==_0x56b063;case'greaterThan':return _0x291483>_0x56b063;case _0x4f16ae(0x1c7):return _0x291483>=_0x56b063;case _0x4f16ae(0x463):return _0x291483<_0x56b063;case'lessThanOrEqual':return _0x291483<=_0x56b063;default:return!0x1;}}function _0x4ae41e(_0x5079f7){const _0x20632e=_0x4cb5f0;if(_0x5079f7==null||_0x5079f7==='')return null;let _0x4dc3b8=Number(_0x5079f7);return Number[_0x20632e(0x560)](_0x4dc3b8)?_0x4dc3b8:null;}function _0x1746c1(_0x446e64,_0x4cf8c2,_0x1ecfda,_0x3c5751){const _0x33bba9=_0x4cb5f0;let _0x1aadc5=_0x22996d(_0x446e64);if(_0x1aadc5==null)return!0x1;let _0x3a9c65=_0x4c73f2(_0x3c5751['dateMode']??_0x2f4877[_0x33bba9(0x538)][_0x33bba9(0x42f)],_0x1ecfda,_0x3c5751[_0x33bba9(0x312)]);if(!_0x3a9c65)return!0x1;switch(_0x4cf8c2){case _0x2f4877[_0x33bba9(0x49b)]['IS']:return _0x1aadc5>=_0x3a9c65[_0x33bba9(0x552)]&&_0x1aadc5<=_0x3a9c65[_0x33bba9(0x35b)];case _0x2f4877[_0x33bba9(0x49b)][_0x33bba9(0x3c2)]:return _0x1aadc5<_0x3a9c65[_0x33bba9(0x552)]||_0x1aadc5>_0x3a9c65[_0x33bba9(0x35b)];case _0x2f4877[_0x33bba9(0x49b)][_0x33bba9(0x39b)]:return _0x1aadc5<_0x3a9c65['start'];case _0x2f4877[_0x33bba9(0x49b)][_0x33bba9(0x2b0)]:return _0x1aadc5>_0x3a9c65[_0x33bba9(0x35b)];default:return!0x1;}}function _0x4c73f2(_0x1bf709,_0x3dc393,_0x366384=Date[_0x4cb5f0(0x312)]()){const _0x400dec=_0x4cb5f0;let _0x122626=_0x4a8575(_0x366384);switch(_0x1bf709){case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x42f)]:{let _0x400483=_0x22996d(_0x3dc393);return _0x400483==null?null:_0x4ab402(_0x400483,0x0,0x1);}case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x14a)]:return _0x4ab402(_0x122626,0x0,0x1);case _0x2f4877[_0x400dec(0x538)]['TOMORROW']:return _0x4ab402(_0x122626,0x1,0x1);case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x293)]:return _0x4ab402(_0x122626,-0x1,0x1);case _0x2f4877['BaseConditionalDateMode'][_0x400dec(0x2c0)]:return _0x1ffaf1(_0x122626,0x0);case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x357)]:return _0x1ffaf1(_0x122626,-0x1);case _0x2f4877['BaseConditionalDateMode'][_0x400dec(0x175)]:return _0x538386(_0x122626,0x0);case _0x2f4877['BaseConditionalDateMode'][_0x400dec(0x1fa)]:return _0x538386(_0x122626,-0x1);case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x2cf)]:return _0x4ab402(_0x122626,-0x6,0x7);case _0x2f4877[_0x400dec(0x538)]['NEXT_7_DAYS']:return _0x4ab402(_0x122626,0x0,0x7);case _0x2f4877[_0x400dec(0x538)][_0x400dec(0x355)]:return _0x4ab402(_0x122626,-0x1d,0x1e);case _0x2f4877['BaseConditionalDateMode']['NEXT_30_DAYS']:return _0x4ab402(_0x122626,0x0,0x1e);}}function _0x22996d(_0x4400ce){let _0xfa3b0a=_0x1011b3(_0x4400ce);return _0xfa3b0a==null?null:_0x4a8575(_0x4e4bc2(_0xfa3b0a));}function _0x4a8575(_0x3dabad){const _0x12d33c=_0x4cb5f0;let _0x2acc15=new Date(_0x3dabad);return _0x2acc15[_0x12d33c(0x1f1)](0x0,0x0,0x0,0x0),_0x2acc15[_0x12d33c(0x4d9)]();}function _0x1ffaf1(_0x282edd,_0x2ca05b){const _0x574ed3=_0x4cb5f0;return _0x4ab402(_0x282edd,-((new Date(_0x282edd)[_0x574ed3(0x15b)]()+0x6)%0x7)+_0x2ca05b*0x7,0x7);}function _0x4ab402(_0xeb6784,_0x3bdb7d,_0x345e52){const _0x3efed1=_0x4cb5f0;let _0x2e53c4=(0x0,_0x2f4877['dateKit'])(_0xeb6784)[_0x3efed1(0x567)](_0x3bdb7d,_0x3efed1(0x256));return{'start':_0x2e53c4[_0x3efed1(0x4f5)](),'end':_0x2e53c4[_0x3efed1(0x567)](_0x345e52,'day')['valueOf']()-0x1};}function _0x538386(_0x2c3af9,_0x11d4d7){const _0x320d3d=_0x4cb5f0;let _0x5965a2=new Date(_0x2c3af9),_0x1b428a=new Date(_0x5965a2[_0x320d3d(0x10f)](),_0x5965a2[_0x320d3d(0x19e)]()+_0x11d4d7,0x1),_0x852ec5=new Date(_0x5965a2[_0x320d3d(0x10f)](),_0x5965a2[_0x320d3d(0x19e)]()+_0x11d4d7+0x1,0x1);return{'start':_0x1b428a['getTime'](),'end':_0x852ec5[_0x320d3d(0x4d9)]()-0x1};}function _0x16dfa9(_0x30b0c7,_0x422572,_0x4b5deb){let _0x58a4be=_0x1c6ca3(_0x30b0c7),_0x2ecb74=_0x1c6ca3(_0x4b5deb);switch(_0x422572){case'is':return _0x58a4be===_0x2ecb74;case'isNot':return _0x58a4be!==_0x2ecb74;default:return!0x1;}}function _0x1c6ca3(_0x4c61ff){const _0x33ee4f=_0x4cb5f0;return _0x4c61ff===!0x0||_0x4c61ff===_0x33ee4f(0x306)||_0x4c61ff===0x1||_0x4c61ff==='1';}function _0x2d4376(_0x1c5f05,_0x108066,_0xf886d5,_0x2288a1){const _0xbafb20=_0x4cb5f0;let _0x163cf9=_0x2505b7(_0x1c5f05,_0x2288a1),_0x33372b=_0x2505b7(_0xf886d5,_0x2288a1),_0x39eec7=_0x33372b[_0xbafb20(0x40a)]>0x0&&_0x33372b[_0xbafb20(0x258)](_0x2e6e89=>_0x163cf9[_0xbafb20(0x47b)](_0x2e6e89));switch(_0x108066){case'is':case _0xbafb20(0x35d):return _0x39eec7;case _0xbafb20(0x386):case _0xbafb20(0x2d1):return!_0x39eec7;default:return!0x1;}}function _0x9d6768(_0x58f63c,_0xcc9681,_0x38f3bd){const _0x3b4060=_0x4cb5f0;let _0x34e660=_0x34d909(_0x58f63c),_0x457242=_0x34d909(_0x38f3bd);switch(_0xcc9681){case'is':return _0x34e660===_0x457242;case _0x3b4060(0x386):return _0x34e660!==_0x457242;case _0x3b4060(0x35d):return _0x457242?_0x34e660[_0x3b4060(0x47b)](_0x457242):!0x1;case'notContains':return!_0x457242||!_0x34e660[_0x3b4060(0x47b)](_0x457242);default:return!0x1;}}function _0x34d909(_0xca060d){const _0x2dfb3b=_0x4cb5f0;if(Array['isArray'](_0xca060d))return _0xca060d[_0x2dfb3b(0x208)](_0x3ff8aa=>_0x34d909(_0x3ff8aa))[_0x2dfb3b(0x483)]('\x0a');if(_0xca060d&&typeof _0xca060d=='object'){let _0x4a539c=_0xca060d;return String(_0x4a539c['name']??_0x4a539c[_0x2dfb3b(0x23a)]??_0x4a539c[_0x2dfb3b(0x33c)]??_0x4a539c[_0x2dfb3b(0x2f3)]??_0x4a539c['id']??'')['trim']()[_0x2dfb3b(0x4e8)]();}return String(_0xca060d??'')[_0x2dfb3b(0x11b)]()[_0x2dfb3b(0x4e8)]();}function _0x2505b7(_0x5ae04d,_0x26738b){const _0x2b44cc=_0x4cb5f0;let _0x205d27=_0x5ca1d9(_0x5ae04d),_0x30bd19=_0x1ba309(_0x26738b[_0x2b44cc(0x40b)]??{});return _0x205d27[_0x2b44cc(0x38f)](_0x253eb2=>_0x30bd19[_0x2b44cc(0x51c)](_0x253eb2)??[_0x253eb2])[_0x2b44cc(0x431)]((_0x33cea8,_0x59c2c9,_0x20a761)=>_0x33cea8!==''&&_0x20a761[_0x2b44cc(0x310)](_0x33cea8)===_0x59c2c9);}function _0x5ca1d9(_0x2e8f01){const _0x1b31e1=_0x4cb5f0;if(_0x2e8f01==null||_0x2e8f01==='')return[];if(Array[_0x1b31e1(0x156)](_0x2e8f01))return _0x2e8f01[_0x1b31e1(0x38f)](_0x296348=>_0x5ca1d9(_0x296348));if(_0x2e8f01&&typeof _0x2e8f01==_0x1b31e1(0x2dc)){let _0x31d513=_0x2e8f01;return['id',_0x1b31e1(0x406),_0x1b31e1(0x23a),_0x1b31e1(0x2f3),'text'][_0x1b31e1(0x38f)](_0x1872f5=>_0x5ca1d9(_0x31d513[_0x1872f5]))[_0x1b31e1(0x431)]((_0x37e37c,_0x21ae93,_0x1c5614)=>_0x1c5614[_0x1b31e1(0x310)](_0x37e37c)===_0x21ae93);}return[_0x34d909(_0x2e8f01)];}function _0x1ba309(_0x49ba2d){const _0x464514=_0x4cb5f0;let _0x44f21d=new Map();return(Array[_0x464514(0x156)](_0x49ba2d[_0x464514(0x2db)])?_0x49ba2d[_0x464514(0x2db)]:[])[_0x464514(0x167)](_0xf08269=>{const _0x59c779=_0x464514;if(!_0xf08269||typeof _0xf08269!=_0x59c779(0x2dc))return;let _0x6e5a93=_0x5ca1d9(_0xf08269),_0x1ee596=_0x6e5a93['filter']((_0x423c48,_0x8589cb)=>_0x423c48!==''&&_0x6e5a93[_0x59c779(0x310)](_0x423c48)===_0x8589cb);_0x1ee596[_0x59c779(0x167)](_0x406b94=>_0x44f21d['set'](_0x406b94,_0x1ee596));}),_0x44f21d;}function _0xd9fab2(_0x2070d7,_0x380b3a={},_0x45d462=_0x1c3e19=>_0x1c3e19,_0x24d379={}){const _0x55aed4=_0x4cb5f0;let _0xdcc58d=!_0x3f892b[_0x55aed4(0x22a)](_0x2070d7),_0x57d996=_0x45d462??(_0x27edda=>_0x27edda);return{'type':_0x2070d7,'i18nKey':'base.fieldType.'+_0x2070d7,'enabled':_0xdcc58d,'visibleInCreateMenu':_0xdcc58d,'createDefaultConfig':_0x24d379['createDefaultConfig']??(()=>({})),'createDefaultValue':_0x24d379[_0x55aed4(0x271)]??(_0x99d834=>_0x99d834[_0x55aed4(0x494)]??null),'normalize':(_0x2c6f7e,_0xe94035)=>_0x57d996(_0x2c6f7e,_0xe94035),'validate':(_0xc9f426,_0x24b2b5)=>{const _0x1ec79b=_0x55aed4;var _0x365441;return _0xdcc58d?((_0x365441=_0x24d379[_0x1ec79b(0x378)])==null?void 0x0:_0x365441[_0x1ec79b(0x434)](_0x24d379,_0xc9f426,_0x24b2b5))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x476552,_0x31c1e7)=>_0x21115d(_0x476552,_0x31c1e7),'filter':(_0x1f04cd,_0x2d0a44,_0x4109e5,_0x13315b)=>_0x36efc3(_0x1f04cd,_0x2d0a44,_0x4109e5,_0x13315b),'toPlainText':_0x24d379[_0x55aed4(0x1cf)]??(_0x3b65d4=>_0x3b65d4==null?'':String(_0x3b65d4)),'fromPlainText':_0x24d379[_0x55aed4(0x421)]??(_0x3de5da=>_0x57d996(_0x3de5da,{'id':'','name':'','type':_0x2070d7,'config':{}})),'getCapabilities':()=>({..._0x578ce3,..._0x380b3a,'editable':_0xdcc58d&&(_0x380b3a[_0x55aed4(0x536)]??_0x578ce3[_0x55aed4(0x536)])})};}function _0x591371(){const _0x474f72=_0x4cb5f0;return[_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x474f72(0x433)}),'createDefaultValue':_0x35f97f=>_0x35f97f[_0x474f72(0x494)]??''}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x340)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x27d41f=>_0x27d41f==null||_0x27d41f===''?null:String(_0x27d41f),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x474f72(0x262)}})}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x220)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x28cee2=>Array[_0x474f72(0x156)](_0x28cee2)?_0x28cee2[_0x474f72(0x208)](String):_0x28cee2==null?[]:[String(_0x28cee2)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x463020=>_0x463020[_0x474f72(0x494)]??[]}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x324)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x200f82,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x548d6c}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)]['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x45cd0e,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x474f72(0x475)}),'createDefaultValue':_0x4d2f36=>_0x4d2f36[_0x474f72(0x494)]??[],'validate':_0x1107fa}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x14d)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3187e6=>_0x1011b3(_0x3187e6),{'createDefaultConfig':()=>_0x50a919(),'validate':_0x96ffe1}),_0xd9fab2(_0x2f4877['BaseFieldType']['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2f5e95=>_0x2f5e95==null?[]:Array[_0x474f72(0x156)](_0x2f5e95)?_0x2f5e95:[_0x2f5e95],{'createDefaultValue':_0x5a83af=>_0x5a83af[_0x474f72(0x494)]??[]}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x4ae)],{},_0x4cdacb=>_0x4cdacb==null||_0x4cdacb===''?null:Number(_0x4cdacb),{'createDefaultConfig':()=>_0x3d050c(),'validate':_0x76505d}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)]['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x46de50=>_0x46de50===!0x0||_0x46de50===_0x474f72(0x306)||_0x46de50===0x1||_0x46de50==='1',{'createDefaultConfig':()=>({'icon':_0x474f72(0x213),'color':'#16a34a'}),'createDefaultValue':_0x3aee85=>_0x3aee85['defaultValue']??!0x1,'validate':_0x5b85d6=>typeof _0x5b85d6==_0x474f72(0x149)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x474f72(0x495)}}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x3f3)],{'supportsRelation':!0x0},_0x472700,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0xb7cf04=>_0x2e2e1e(_0xb7cf04),'fromPlainText':_0x2af158=>_0x472700(_0x2af158)}),_0xd9fab2(_0x2f4877['BaseFieldType'][_0x474f72(0x25c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x474f72(0x46a),'pattern':_0x474f72(0x50b)}}),'createDefaultValue':()=>null}),_0xd9fab2(_0x2f4877['BaseFieldType']['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x4a8)],{'usableAsTitle':!0x0},_0x217f23=>_0x217f23==null?null:String(_0x217f23)['trim'](),{'validate':_0x17dc23=>_0x17dc23==null||_0x17dc23===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x17dc23))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x474f72(0x4be)}}),_0xd9fab2(_0x2f4877['BaseFieldType'][_0x474f72(0x2e1)],{'usableAsTitle':!0x0},_0x6513dd=>_0x6513dd==null?null:String(_0x6513dd)[_0x474f72(0x11b)](),{'validate':_0x1471d9=>_0x1471d9==null||_0x1471d9===''||_0x1d362e(String(_0x1471d9))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x474f72(0x217)}}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x235)],{'usableAsGanttProgress':!0x0},_0x172fc5=>_0x172fc5==null||_0x172fc5===''?null:Number(_0x172fc5),{'createDefaultConfig':()=>({'format':_0x474f72(0x377),'decimalPlaces':0x0,'color':_0x474f72(0x187),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4cb0e7,_0x5bf4f0)=>_0x57ba52(_0x4cb0e7,_0x5bf4f0,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0xd9fab2(_0x2f4877['BaseFieldType'][_0x474f72(0x2b5)],{},_0x489afa=>_0x489afa==null||_0x489afa===''?null:Number(_0x489afa),{'createDefaultConfig':()=>({..._0x3d050c(),'currencySymbol':'$'}),'validate':_0x76505d}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x2b4)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x56c6a3=>_0x56c6a3==null||_0x56c6a3===''?null:Number(_0x56c6a3),{'createDefaultConfig':()=>({'icon':_0x474f72(0x147),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x20cb30,_0x29b138)=>_0x57ba52(_0x20cb30,_0x29b138,_0x474f72(0x346))}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x166)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x4cb0d3,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x3e4655,_0x321672)=>_0x44de56(_0x3e4655,_0x321672['config'][_0x474f72(0x11c)]===!0x0)}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x3a8)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x42a)],{'editable':!0x1,'groupable':!0x0},_0x39cf40=>_0x39cf40==null?null:String(_0x39cf40),{'createDefaultConfig':()=>({'provider':_0x474f72(0x4d7)}),'createDefaultValue':()=>null}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)][_0x474f72(0x178)],{'editable':!0x1,'groupable':!0x0},_0x3c750f=>_0x3c750f==null?null:String(_0x3c750f),{'createDefaultConfig':()=>({'provider':_0x474f72(0x4d7)}),'createDefaultValue':()=>null}),_0xd9fab2(_0x2f4877['BaseFieldType'][_0x474f72(0x11d)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1b6c34=>_0x1011b3(_0x1b6c34),{'createDefaultConfig':()=>_0x50a919(),'createDefaultValue':()=>null,'validate':_0x96ffe1}),_0xd9fab2(_0x2f4877[_0x474f72(0x4aa)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x13924e=>_0x1011b3(_0x13924e),{'createDefaultConfig':()=>_0x50a919(),'createDefaultValue':()=>null,'validate':_0x96ffe1})];}function _0x3d050c(){const _0x2a1c44=_0x4cb5f0;return{'pattern':_0x2a1c44(0x551),'decimalPlaces':0x2,'separatorStyle':_0x2a1c44(0x34e),'useThousands':!0x0,'abbreviation':_0x2a1c44(0x555),'allowNegative':!0x0};}function _0x50a919(){const _0x481ccf=_0x4cb5f0;return{'locale':_0x481ccf(0x328),'pattern':_0x481ccf(0x371),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};}function _0x45cd0e(_0x324941){const _0x3e83c3=_0x4cb5f0;return _0x324941==null||_0x324941===''?[]:Array[_0x3e83c3(0x156)](_0x324941)?_0x324941[_0x3e83c3(0x208)](String):[String(_0x324941)];}function _0x4cb0d3(_0x4aa9db){return typeof _0x4aa9db=='string'?_0x4aa9db:'';}function _0x200f82(_0x5457cd,_0x4a7ea3){const _0x49c0cf=_0x4cb5f0;return _0x5457cd==null||_0x5457cd===''?_0x4a7ea3[_0x49c0cf(0x40b)][_0x49c0cf(0x4d6)]===!0x0?[]:null:_0x4a7ea3['config'][_0x49c0cf(0x4d6)]===!0x0?Array['isArray'](_0x5457cd)?_0x5457cd[_0x49c0cf(0x208)](String):[String(_0x5457cd)]:Array['isArray'](_0x5457cd)?String(_0x5457cd[0x0]??'')||null:String(_0x5457cd);}function _0x548d6c(_0x379e99,_0x260443){const _0x4ecf6f=_0x4cb5f0;return _0x260443[_0x4ecf6f(0x40b)]['allowMultiple']===!0x0?_0x1107fa(_0x379e99):_0x379e99==null||_0x379e99===''||typeof _0x379e99==_0x4ecf6f(0x3ef)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x1107fa(_0x45cf15){const _0x51ed15=_0x4cb5f0;return _0x45cf15==null||Array['isArray'](_0x45cf15)&&_0x45cf15[_0x51ed15(0x2fa)](_0x240130=>typeof _0x240130=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x51ed15(0x4a0)};}function _0x96ffe1(_0x18e480){const _0x24fe3b=_0x4cb5f0;return _0x18e480==null||typeof _0x18e480==_0x24fe3b(0x212)&&Number[_0x24fe3b(0x560)](_0x18e480)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x24fe3b(0x48e)};}function _0x76505d(_0x964459,_0x46dfaf){const _0x3309f3=_0x4cb5f0;return _0x964459==null||_0x964459===''?{'valid':!0x0}:typeof _0x964459!=_0x3309f3(0x212)||!Number[_0x3309f3(0x560)](_0x964459)?{'valid':!0x1,'reason':_0x3309f3(0x436)}:_0x46dfaf[_0x3309f3(0x40b)][_0x3309f3(0x3ce)]===!0x1&&_0x964459<0x0?{'valid':!0x1,'reason':_0x3309f3(0x45a)}:{'valid':!0x0};}function _0x57ba52(_0x31ae2c,_0x44753f,_0x368c06){const _0x469dc7=_0x4cb5f0;let _0x5d418e=_0x76505d(_0x31ae2c,_0x44753f);if(!_0x5d418e[_0x469dc7(0x52b)]||_0x31ae2c==null||_0x31ae2c==='')return _0x5d418e;let _0x9d4157=Number(_0x44753f[_0x469dc7(0x40b)][_0x469dc7(0x498)]??_0x44753f[_0x469dc7(0x40b)][_0x469dc7(0x552)]??0x0),_0x34528c=Number(_0x44753f[_0x469dc7(0x40b)][_0x469dc7(0x459)]??_0x44753f[_0x469dc7(0x40b)][_0x469dc7(0x35b)]??0x64),_0x574701=Number(_0x31ae2c);return _0x574701>=_0x9d4157&&_0x574701<=_0x34528c?{'valid':!0x0}:{'valid':!0x1,'reason':_0x368c06};}function _0x472700(_0x494647){const _0x3246d4=_0x4cb5f0;if(_0x494647==null||_0x494647==='')return null;if(typeof _0x494647==_0x3246d4(0x2dc)&&!Array[_0x3246d4(0x156)](_0x494647)){let _0x1778f1=_0x494647,_0x2816dc=typeof _0x1778f1['text']=='string'?_0x1778f1[_0x3246d4(0x33c)][_0x3246d4(0x11b)]():'',_0x455e9b=typeof _0x1778f1[_0x3246d4(0x1ec)]=='string'?_0x1778f1[_0x3246d4(0x1ec)]['trim']():'',_0x1137d0=_0x1d0232(_0x455e9b||_0x2816dc);return _0x1137d0?{'text':_0x2816dc||_0x455e9b||_0x1137d0,'url':_0x1137d0}:null;}let _0x45b5e9=String(_0x494647)[_0x3246d4(0x11b)](),_0x52d52e=_0x1d0232(_0x45b5e9);return _0x52d52e?{'text':_0x45b5e9,'url':_0x52d52e}:null;}function _0x2e2e1e(_0x5d6a2d){const _0xb91056=_0x4cb5f0;if(_0x5d6a2d==null)return'';if(typeof _0x5d6a2d==_0xb91056(0x2dc)&&!Array[_0xb91056(0x156)](_0x5d6a2d)){let _0x2f936d=_0x5d6a2d;return String(_0x2f936d['text']||_0x2f936d[_0xb91056(0x1ec)]||'');}return String(_0x5d6a2d);}function _0x1d0232(_0x57bc31){const _0xc2d476=_0x4cb5f0;let _0x46af85=_0x57bc31['trim']();if(!_0x46af85)return'';let _0x5f4e5d=/^[a-z][a-z\d+.-]*:/i[_0xc2d476(0x479)](_0x46af85)?_0x46af85:_0x46af85[_0xc2d476(0x316)]('//')?'https:'+_0x46af85:_0xc2d476(0x1ca)+_0x46af85;try{let _0x211a15=new URL(_0x5f4e5d);return _0x211a15[_0xc2d476(0x116)]===_0xc2d476(0x3df)||_0x211a15[_0xc2d476(0x116)]===_0xc2d476(0x499)?_0x211a15[_0xc2d476(0x2a7)]:'';}catch{return'';}}function _0x1d362e(_0x20dbf8){const _0x416c45=_0x4cb5f0;let _0x1e853f=_0x20dbf8[_0x416c45(0x310)]('@');if(_0x1e853f<=0x0||_0x1e853f!==_0x20dbf8[_0x416c45(0x1bd)]('@'))return!0x1;let _0xd40408=_0x20dbf8['slice'](_0x1e853f+0x1);return _0xd40408[_0x416c45(0x47b)]('.')&&!_0x20dbf8[_0x416c45(0x47b)]('\x20')&&!_0xd40408[_0x416c45(0x316)]('.')&&!_0xd40408['endsWith']('.');}let _0x23c358={'table':_0x18d278=>[_0x4cb5f0(0x1ab),_0x18d278],'field':(_0x27e4ee,_0x4d54dd)=>[_0x4cb5f0(0x1ab),_0x27e4ee,'fields',_0x4d54dd],'fieldOrder':(_0x5099f1,_0x32f0ec)=>[_0x4cb5f0(0x1ab),_0x5099f1,_0x4cb5f0(0x482),_0x32f0ec],'record':(_0x5aa8ef,_0xa34125)=>[_0x4cb5f0(0x1ab),_0x5aa8ef,_0x4cb5f0(0x3cc),_0xa34125],'cell':(_0x73fbdd,_0xb58c5b,_0x338b23)=>[_0x4cb5f0(0x1ab),_0x73fbdd,'records',_0xb58c5b,_0x4cb5f0(0x12b),_0x338b23],'cellData':(_0x363127,_0x1b4ed6,_0x3a0f40)=>[_0x4cb5f0(0x1ab),_0x363127,_0x4cb5f0(0x3ca),String(_0x1b4ed6),String(_0x3a0f40)],'attachmentSet':(_0xf0d3e5,_0x2e9906)=>[_0x4cb5f0(0x1ab),_0xf0d3e5,'resources',_0x4cb5f0(0x1b0),_0x2e9906],'attachment':(_0x59dae8,_0x27b8eb)=>[_0x4cb5f0(0x1ab),_0x59dae8,'resources',_0x4cb5f0(0x2c7),_0x27b8eb],'view':(_0x8e90fd,_0x277eb4)=>['tables',_0x8e90fd,_0x4cb5f0(0x3fa),_0x277eb4],'viewFieldHidden':(_0x1fff63,_0x4ff441,_0xff9ec2)=>[_0x4cb5f0(0x1ab),_0x1fff63,_0x4cb5f0(0x3fa),_0x4ff441,'fieldSettings',_0xff9ec2,_0x4cb5f0(0x137)]};var _0x41583f=class{[_0x4cb5f0(0x47a)](_0x88de51,_0x2274e6){const _0x7d2a39=_0x4cb5f0;let _0x458cc9=this[_0x7d2a39(0x351)](_0x88de51,_0x88de51[_0x7d2a39(0x406)],_0x2274e6);return _0x407666([this[_0x7d2a39(0x16a)]([_0x7d2a39(0x406)],_0x88de51[_0x7d2a39(0x406)],_0x2274e6),..._0x458cc9?[_0x458cc9]:[]]);}[_0x4cb5f0(0x351)](_0x1b53e8,_0x46228e,_0x2c546c){const _0xc51731=_0x4cb5f0;let _0x34a6dd=Object[_0xc51731(0x12b)](_0x1b53e8[_0xc51731(0x1ab)])[_0xc51731(0x38f)](_0x3f4ea0=>Object[_0xc51731(0x12b)](_0x3f4ea0[_0xc51731(0x189)])[_0xc51731(0x38f)](_0x46ee03=>{const _0xe74804=_0xc51731;var _0x1e44e7,_0xfa28f4;if(_0x46ee03[_0xe74804(0x3fd)]!==_0x2f4877['BaseFieldType'][_0xe74804(0x25c)])return[];let _0x10c5c8=String(((_0x1e44e7=_0x46ee03[_0xe74804(0x40b)])==null?void 0x0:_0x1e44e7[_0xe74804(0x550)])??''),_0x1d82c4=(0x0,_0x15af66['refactorFormulaUnitQualifier'])(_0x10c5c8,_0x46228e,_0x2c546c);return _0x1d82c4===_0x10c5c8?[]:[this['_replaceOptional']([..._0x23c358['field'](_0x3f4ea0['id'],_0x46ee03['id']),_0xe74804(0x40b),_0xe74804(0x550)],(_0xfa28f4=_0x46ee03[_0xe74804(0x40b)])==null?void 0x0:_0xfa28f4['formula'],_0x1d82c4)];}));return _0x34a6dd['length']>0x0?_0x407666(_0x34a6dd):void 0x0;}[_0x4cb5f0(0x10b)](_0x2c3f31,_0x47c3f9,_0x3760d6=_0x2c3f31[_0x4cb5f0(0x4cf)][_0x4cb5f0(0x40a)]){const _0x3e7ec4=_0x4cb5f0;let _0x72188f=(0x0,_0x2f4877['allocateBaseFormulaTableName'])(_0x47c3f9['name'],(0x0,_0x2f4877['createBaseFormulaTableNameMap'])(_0x2c3f31)[_0x3e7ec4(0x12b)](),_0x47c3f9[_0x3e7ec4(0x4c6)]),_0x69617a=_0x47c3f9['formulaName']===_0x72188f?_0x47c3f9:{..._0x47c3f9,'formulaName':_0x72188f};return _0x407666([...this[_0x3e7ec4(0x10a)](_0x2c3f31),_0x2f4877['JSON1'][_0x3e7ec4(0x259)](_0x23c358['table'](_0x47c3f9['id']),_0x69617a),_0x2f4877[_0x3e7ec4(0x2a6)][_0x3e7ec4(0x259)]([_0x3e7ec4(0x4cf),_0x3760d6],_0x47c3f9['id'])]);}[_0x4cb5f0(0x41d)](_0x51ade5,_0x1374a9,_0x74e6a){const _0x16b164=_0x4cb5f0;let _0x42fff3=_0x51ade5[_0x16b164(0x1ab)][_0x1374a9];return _0x407666([...this['_materializeFormulaTableNames'](_0x51ade5),_0x2f4877['JSON1'][_0x16b164(0x4c0)]([..._0x23c358['table'](_0x1374a9),'name'],_0x42fff3[_0x16b164(0x406)],_0x74e6a)]);}[_0x4cb5f0(0x4bb)](_0xd864d0,_0x9b619d){const _0x4f35e7=_0x4cb5f0;let _0x647e40=_0xd864d0[_0x4f35e7(0x1ab)][_0x9b619d],_0x3e50d1=_0xd864d0['tableOrder'][_0x4f35e7(0x310)](_0x9b619d);return _0x407666([...this[_0x4f35e7(0x10a)](_0xd864d0,new Set([_0x9b619d])),_0x2f4877[_0x4f35e7(0x2a6)][_0x4f35e7(0x1c6)](_0x23c358[_0x4f35e7(0x31b)](_0x9b619d),_0x647e40),_0x2f4877[_0x4f35e7(0x2a6)]['removeOp']([_0x4f35e7(0x4cf),_0x3e50d1],_0x9b619d)]);}['createRecord'](_0x62ebb9,_0x306583,_0x5a5eeb){const _0x37cd9f=_0x4cb5f0;return this[_0x37cd9f(0x3cb)](_0x62ebb9,_0x306583,[_0x5a5eeb]);}['createRecords'](_0x2234cd,_0x5b17bc,_0x106909){const _0x271cf3=_0x4cb5f0;let _0x403df8=_0x2234cd['tables'][_0x5b17bc],_0xd89f6=_0x106909[_0x271cf3(0x431)](_0x64f43b=>_0x64f43b&&!_0x403df8['records'][_0x64f43b['id']])[_0x271cf3(0x208)](_0x12c32a=>({..._0x12c32a,'values':{..._0x12c32a['values'],[_0x2f4877[_0x271cf3(0x31e)]]:_0x12c32a['id']}}));if(!_0xd89f6[_0x271cf3(0x40a)])return _0x2f4877[_0x271cf3(0x2a6)][_0x271cf3(0x4c0)]([..._0x23c358['table'](_0x5b17bc),_0x271cf3(0x3cc)],_0x403df8[_0x271cf3(0x3cc)],_0x403df8['records']);let _0x2a1f26=new _0x2f4877[(_0x271cf3(0x2a6))][(_0x271cf3(0x4da))](),_0x2f48b8=[..._0xd89f6][_0x271cf3(0x375)]((_0x189b6a,_0x116e4a)=>_0x189b6a['id']<_0x116e4a['id']?-0x1:+(_0x189b6a['id']>_0x116e4a['id'])),_0x52d084=[..._0x23c358[_0x271cf3(0x31b)](_0x5b17bc),_0x271cf3(0x3cc)];_0x2a1f26[_0x271cf3(0x4dd)](_0x52d084);for(let _0x578967 of _0x2f48b8)_0x2a1f26[_0x271cf3(0x39f)](_0x578967['id']),_0x2a1f26[_0x271cf3(0x32e)]('i',_0x578967),_0x2a1f26[_0x271cf3(0x127)]();for(let _0x2fee5f=0x0;_0x2fee5f<_0x52d084[_0x271cf3(0x40a)];_0x2fee5f+=0x1)_0x2a1f26[_0x271cf3(0x127)]();return _0x407666([_0x2a1f26['get'](),this[_0x271cf3(0x354)](_0x2234cd,_0x5b17bc,_0xd89f6)]);}['deleteRecord'](_0x4ac2e8,_0x460a8d,_0x2eecf0){const _0x1a7a46=_0x4cb5f0;return this[_0x1a7a46(0x31a)](_0x4ac2e8,_0x460a8d,[_0x2eecf0]);}[_0x4cb5f0(0x31a)](_0x2251aa,_0x303f62,_0x898fce){const _0x29a8b6=_0x4cb5f0;let _0x2fe393=_0x2251aa[_0x29a8b6(0x1ab)][_0x303f62],_0x11808e=Array[_0x29a8b6(0x489)](new Set(_0x898fce))['filter'](_0x4d529d=>_0x2fe393[_0x29a8b6(0x3cc)][_0x4d529d]);if(!_0x11808e[_0x29a8b6(0x40a)])return _0x2f4877[_0x29a8b6(0x2a6)][_0x29a8b6(0x4c0)]([..._0x23c358[_0x29a8b6(0x31b)](_0x303f62),_0x29a8b6(0x3cc)],_0x2fe393['records'],_0x2fe393[_0x29a8b6(0x3cc)]);let _0xbda9b8=new Set(_0x11808e),_0x4549e2=_0x38020a(_0x2fe393,_0x11808e)[_0x29a8b6(0x208)](_0x213340=>this[_0x29a8b6(0x140)](_0x2251aa,_0x303f62,_0x213340['recordId'],_0x213340['fieldId'],''));return _0x407666([this[_0x29a8b6(0x448)](_0x2251aa,_0x303f62,_0x11808e,_0xbda9b8),..._0x4549e2]);}['createDeleteRecordsUndoOp'](_0x7ce322,_0x4cc0dc,_0x50dac4,_0x434d93){const _0x36f131=_0x4cb5f0;let _0x5780bf=_0x7ce322[_0x36f131(0x1ab)][_0x50dac4],_0x2e521d=Array[_0x36f131(0x489)](new Set(_0x434d93))['filter'](_0x4a24aa=>_0x5780bf[_0x36f131(0x3cc)][_0x4a24aa]),_0x393ba2=new Set(_0x2e521d);return _0x407666([new _0xa877f0()[_0x36f131(0x4fc)](_0x7ce322,this['_deleteRecordsBaseOp'](_0x7ce322,_0x50dac4,_0x2e521d,_0x393ba2)),..._0x38020a(_0x5780bf,_0x2e521d)[_0x36f131(0x208)](_0x155af5=>this[_0x36f131(0x140)](_0x4cc0dc,_0x50dac4,_0x155af5['recordId'],_0x155af5[_0x36f131(0x3bd)],_0x155af5[_0x36f131(0x3de)]??''))]);}[_0x4cb5f0(0x448)](_0x52fe17,_0x47ce34,_0x511170,_0xc846b8){const _0x32d2dc=_0x4cb5f0;let _0x56c58f=_0x52fe17['tables'][_0x47ce34],_0x1e3ea3=_0x511170[_0x32d2dc(0x208)](_0x46f8a5=>{const _0x3de482=_0x32d2dc;var _0x5c6241;return{'recordId':_0x46f8a5,'index':((_0x5c6241=_0x56c58f['recordOrder'])==null?void 0x0:_0x5c6241[_0x3de482(0x310)](_0x46f8a5))??-0x1};})[_0x32d2dc(0x431)](_0x3fc935=>_0x3fc935[_0x32d2dc(0x1a5)]>=0x0)[_0x32d2dc(0x375)]((_0x2542f1,_0x5b9c2e)=>_0x5b9c2e[_0x32d2dc(0x1a5)]-_0x2542f1['index']);return _0x407666([..._0x511170[_0x32d2dc(0x208)](_0x45e39c=>_0x2f4877['JSON1'][_0x32d2dc(0x1c6)](_0x23c358[_0x32d2dc(0x2d9)](_0x47ce34,_0x45e39c),_0x56c58f[_0x32d2dc(0x3cc)][_0x45e39c])),..._0x1e3ea3[_0x32d2dc(0x208)](({recordId:_0x4a434a,index:_0x2cb019})=>_0x2f4877[_0x32d2dc(0x2a6)][_0x32d2dc(0x1c6)]([_0x32d2dc(0x1ab),_0x47ce34,_0x32d2dc(0x279),_0x2cb019],_0x4a434a)),...this[_0x32d2dc(0x11a)](_0x56c58f,_0x47ce34,_0x40edaf=>{const _0x3fdb2f=_0x32d2dc;let _0x3bf58b=_0x40edaf[_0x3fdb2f(0x3fb)](_0x40edaf[_0x3fdb2f(0x1bd)]('\x1f')+0x1);return _0xc846b8[_0x3fdb2f(0x22a)](_0x3bf58b);})]);}['duplicateRecord'](_0x4fb3bb,_0x92d46f,_0x47edb3,_0x19e424){const _0x5b3a0d=_0x4cb5f0;return this[_0x5b3a0d(0x484)](_0x4fb3bb,_0x92d46f,{..._0x19e424,'values':{..._0x4fb3bb[_0x5b3a0d(0x1ab)][_0x92d46f][_0x5b3a0d(0x3cc)][_0x47edb3][_0x5b3a0d(0x12b)],..._0x19e424[_0x5b3a0d(0x12b)],[_0x2f4877[_0x5b3a0d(0x31e)]]:_0x19e424['id']}});}[_0x4cb5f0(0x2e9)](_0x41289c,_0x39b33f,_0x47a1de,_0x208cab){const _0x1bd44b=_0x4cb5f0;let _0x17f73b=_0x41289c[_0x1bd44b(0x1ab)][_0x39b33f],_0x529c7f=[..._0x23c358['record'](_0x39b33f,_0x47a1de),_0x1bd44b(0x4bd)],_0x1e9d55=Object[_0x1bd44b(0x12b)](_0x17f73b['records'])[_0x1bd44b(0x208)](_0x3a34ef=>_0x3a34ef['id']===_0x47a1de?{..._0x3a34ef,'orderKey':_0x208cab}:_0x3a34ef)[_0x1bd44b(0x375)]((_0x4fb6dc,_0xd30ea4)=>String(_0x4fb6dc[_0x1bd44b(0x4bd)]??_0x4fb6dc['id'])[_0x1bd44b(0x1e1)](String(_0xd30ea4[_0x1bd44b(0x4bd)]??_0xd30ea4['id'])))[_0x1bd44b(0x208)](_0x130441=>_0x130441['id']),_0x111ee4=[..._0x23c358['table'](_0x39b33f),_0x1bd44b(0x279)];return _0x407666([this[_0x1bd44b(0x16a)](_0x529c7f,_0x17f73b[_0x1bd44b(0x3cc)][_0x47a1de][_0x1bd44b(0x4bd)],_0x208cab),_0x17f73b[_0x1bd44b(0x279)]?_0x2f4877[_0x1bd44b(0x2a6)][_0x1bd44b(0x4c0)](_0x111ee4,_0x17f73b[_0x1bd44b(0x279)],_0x1e9d55):_0x2f4877[_0x1bd44b(0x2a6)]['insertOp'](_0x111ee4,_0x1e9d55)]);}[_0x4cb5f0(0x140)](_0x2441dd,_0x24b336,_0x2b35bc,_0x3b7973,_0x2c35ca){const _0x5e9b6f=_0x4cb5f0;var _0x27bb56,_0x3e318f;let _0x2ab66d=_0x2441dd['tables'][_0x24b336],_0x38b420=_0x5c3d03(_0x2ab66d,_0x2b35bc,_0x3b7973)?_0x2ab66d:_0xbfb56e(_0x2ab66d),_0x39d4d5=(_0x27bb56=_0x38b420[_0x5e9b6f(0x122)])==null?void 0x0:_0x27bb56[_0x2b35bc],_0x5621b0=(_0x3e318f=_0x38b420[_0x5e9b6f(0x276)])==null?void 0x0:_0x3e318f[_0x3b7973];if(_0x39d4d5==null||_0x5621b0==null){var _0x4d8593;return this[_0x5e9b6f(0x16a)](_0x23c358[_0x5e9b6f(0x2d6)](_0x24b336,_0x2b35bc,_0x3b7973),(_0x4d8593=_0x2441dd[_0x5e9b6f(0x1ab)][_0x24b336])==null||(_0x4d8593=_0x4d8593['records'][_0x2b35bc])==null?void 0x0:_0x4d8593['values'][_0x3b7973],_0x2c35ca);}return this[_0x5e9b6f(0x27b)](_0x2441dd,_0x24b336,[{'row':_0x39d4d5,'col':_0x5621b0,'value':_0x2c35ca}]);}[_0x4cb5f0(0x44f)](_0x29d98d,_0x206f02,_0x508974){const _0x8bd4fc=_0x4cb5f0;let _0x5709b6=_0x29d98d[_0x8bd4fc(0x1ab)][_0x206f02],_0x42d9bb=_0x508974[_0x8bd4fc(0x2fa)](_0x5dc256=>Object[_0x8bd4fc(0x174)](_0x5dc256['values'])[_0x8bd4fc(0x2fa)](_0x1b2ba4=>_0x5c3d03(_0x5709b6,_0x5dc256['recordId'],_0x1b2ba4)))?_0x5709b6:_0xbfb56e(_0x5709b6),_0x381b5c=_0x508974[_0x8bd4fc(0x38f)](_0x46389d=>Object[_0x8bd4fc(0x1c8)](_0x46389d[_0x8bd4fc(0x12b)])[_0x8bd4fc(0x38f)](([_0x2ca658,_0x38dbd4])=>{const _0x1bc248=_0x8bd4fc;var _0x3757f7,_0x4452b6;let _0x3e61d3=(_0x3757f7=_0x42d9bb[_0x1bc248(0x122)])==null?void 0x0:_0x3757f7[_0x46389d['recordId']],_0x8b5e5c=(_0x4452b6=_0x42d9bb['colIndex'])==null?void 0x0:_0x4452b6[_0x2ca658];return _0x3e61d3==null||_0x8b5e5c==null?[]:[{'row':_0x3e61d3,'col':_0x8b5e5c,'value':_0x38dbd4}];})),_0x85c3e3=_0x508974[_0x8bd4fc(0x38f)](_0x10196e=>Object[_0x8bd4fc(0x1c8)](_0x10196e['recordPatch']??{})[_0x8bd4fc(0x208)](([_0x26b38f,_0x1fa3a6])=>{const _0x5032e7=_0x8bd4fc;var _0x4fafed;let _0x1c6ab0=[..._0x23c358['record'](_0x206f02,_0x10196e[_0x5032e7(0x31f)]),_0x26b38f],_0xa5332=(_0x4fafed=_0x29d98d[_0x5032e7(0x1ab)][_0x206f02])==null||(_0x4fafed=_0x4fafed[_0x5032e7(0x3cc)][_0x10196e[_0x5032e7(0x31f)]])==null?void 0x0:_0x4fafed[_0x26b38f];return this[_0x5032e7(0x16a)](_0x1c6ab0,_0xa5332,_0x1fa3a6);}));return _0x407666([this[_0x8bd4fc(0x27b)](_0x29d98d,_0x206f02,_0x381b5c),..._0x85c3e3]);}[_0x4cb5f0(0x27b)](_0x43a814,_0x265c26,_0x48dfd1){const _0xa74115=_0x4cb5f0;let _0x30c585=_0x43a814[_0xa74115(0x1ab)][_0x265c26],_0x28a5de=_0x48dfd1['every'](_0xb6ce14=>_0x436a7b(_0x30c585,_0xb6ce14[_0xa74115(0x405)],_0xb6ce14[_0xa74115(0x569)]))?_0x30c585:_0xbfb56e(_0x30c585),_0x212995=new Map(),_0x8c7dd1=_0x48dfd1[_0xa74115(0x38f)](_0xdc9cce=>{const _0x5cdee9=_0xa74115;var _0x489374,_0x198142,_0x4929ad,_0x3f3e31;let _0x26e048=(_0x489374=_0x28a5de[_0x5cdee9(0x518)])==null?void 0x0:_0x489374[_0xdc9cce[_0x5cdee9(0x569)]],_0x2b4725=(_0x198142=_0x28a5de[_0x5cdee9(0x151)])==null?void 0x0:_0x198142[_0xdc9cce[_0x5cdee9(0x405)]],_0x157cf2=_0x26e048?_0x28a5de[_0x5cdee9(0x189)][_0x26e048]:void 0x0;if(_0x26e048===_0x2f4877[_0x5cdee9(0x31e)]||(_0x157cf2==null?void 0x0:_0x157cf2[_0x5cdee9(0x3fd)])===_0x2f4877['BaseFieldType'][_0x5cdee9(0x3a8)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x5ee25c=_0x50331a(_0xdc9cce[_0x5cdee9(0x2f3)],_0x157cf2),_0x12877c=(_0x4929ad=_0x28a5de[_0x5cdee9(0x3ca)])==null||(_0x4929ad=_0x4929ad[_0xdc9cce[_0x5cdee9(0x405)]])==null?void 0x0:_0x4929ad[_0xdc9cce[_0x5cdee9(0x569)]],_0xcd3c5e=this[_0x5cdee9(0x16a)](_0x23c358[_0x5cdee9(0x3ca)](_0x265c26,_0xdc9cce[_0x5cdee9(0x405)],_0xdc9cce[_0x5cdee9(0x569)]),_0x12877c,_0x5ee25c);if(!_0x26e048||!_0x2b4725)return[_0xcd3c5e];let _0xe50cf1=(_0x3f3e31=_0x28a5de[_0x5cdee9(0x3cc)][_0x2b4725])==null?void 0x0:_0x3f3e31[_0x5cdee9(0x12b)][_0x26e048],_0x10015f=(_0x157cf2==null?void 0x0:_0x157cf2['type'])===_0x2f4877[_0x5cdee9(0x4aa)]['Attachment']?_0x28433a(_0xdc9cce['value']):_0x505add(_0xdc9cce[_0x5cdee9(0x2f3)],_0x5ee25c,_0x157cf2,_0x28a5de,_0x2b4725),_0x25da98=[_0xcd3c5e,this[_0x5cdee9(0x16a)](_0x23c358[_0x5cdee9(0x2d6)](_0x265c26,_0x2b4725,_0x26e048),_0xe50cf1,_0x10015f)];return(_0x157cf2==null?void 0x0:_0x157cf2[_0x5cdee9(0x3fd)])===_0x2f4877[_0x5cdee9(0x4aa)]['Attachment']&&_0x212995['set'](_0x49ff8d(_0x26e048,_0x2b4725),{'recordId':_0x2b4725,'fieldId':_0x26e048,'attachments':_0x10015f}),_0x25da98;});return _0x8c7dd1[_0xa74115(0x40a)]?_0x407666([..._0x8c7dd1,...this[_0xa74115(0x54a)](_0x28a5de,_0x265c26,Array[_0xa74115(0x489)](_0x212995['values']()))]):_0x2f4877[_0xa74115(0x2a6)][_0xa74115(0x4c0)](['tables',_0x265c26,_0xa74115(0x3ca)],_0x28a5de[_0xa74115(0x3ca)],_0x28a5de[_0xa74115(0x3ca)]);}[_0x4cb5f0(0x4de)](_0x30740c,_0x49a9aa,_0x1a87f0){const _0x5eb4b6=_0x4cb5f0;let _0x104237=_0x30740c[_0x5eb4b6(0x1ab)][_0x49a9aa];if(_0x104237[_0x5eb4b6(0x189)][_0x1a87f0[_0x5eb4b6(0x117)]['id']]||_0x104237['fieldOrder'][_0x5eb4b6(0x47b)](_0x1a87f0['field']['id']))return _0x2f4877['JSON1'][_0x5eb4b6(0x4c0)]([_0x5eb4b6(0x1ab),_0x49a9aa,'fieldOrder'],_0x104237[_0x5eb4b6(0x482)],_0x104237[_0x5eb4b6(0x482)]);let _0x71b568=Math[_0x5eb4b6(0x459)](0x1,_0x1a87f0[_0x5eb4b6(0x1a5)]??_0x104237[_0x5eb4b6(0x482)][_0x5eb4b6(0x40a)]),_0x4cd8b3=Object[_0x5eb4b6(0x12b)](_0x104237['views']??{})[_0x5eb4b6(0x38f)](_0x444741=>{const _0x36d885=_0x5eb4b6;var _0x328074;if(!_0x444741[_0x36d885(0x482)]||_0x444741['fieldOrder'][_0x36d885(0x47b)](_0x1a87f0['field']['id']))return[];let _0x43bc93=_0x375539(((_0x328074=_0x1a87f0[_0x36d885(0x4a4)])==null?void 0x0:_0x328074[_0x444741['id']])??_0x71b568,_0x444741['fieldOrder'][_0x36d885(0x40a)]);return[_0x2f4877['JSON1'][_0x36d885(0x259)]([..._0x23c358['view'](_0x49a9aa,_0x444741['id']),_0x36d885(0x482),_0x43bc93],_0x1a87f0[_0x36d885(0x117)]['id'])];});return _0x407666([..._0x1a87f0[_0x5eb4b6(0x117)][_0x5eb4b6(0x3fd)]===_0x2f4877['BaseFieldType'][_0x5eb4b6(0x25c)]?this[_0x5eb4b6(0x10a)](_0x30740c):[],_0x2f4877[_0x5eb4b6(0x2a6)][_0x5eb4b6(0x259)](_0x23c358['field'](_0x49a9aa,_0x1a87f0['field']['id']),_0x1a87f0[_0x5eb4b6(0x117)]),_0x2f4877[_0x5eb4b6(0x2a6)][_0x5eb4b6(0x259)](_0x23c358[_0x5eb4b6(0x482)](_0x49a9aa,_0x71b568),_0x1a87f0[_0x5eb4b6(0x117)]['id']),..._0x4cd8b3]);}[_0x4cb5f0(0x1d3)](_0xc083d3,_0x412482,_0x38afa0,_0x13b0cc){const _0x1cb561=_0x4cb5f0;let _0x24c6ac=_0xc083d3[_0x1cb561(0x1ab)][_0x412482];if(!_0x24c6ac[_0x1cb561(0x189)][_0x38afa0]||_0x24c6ac[_0x1cb561(0x189)][_0x13b0cc[_0x1cb561(0x117)]['id']]||_0x24c6ac[_0x1cb561(0x482)][_0x1cb561(0x47b)](_0x13b0cc[_0x1cb561(0x117)]['id']))return _0x2f4877['JSON1'][_0x1cb561(0x4c0)](['tables',_0x412482,_0x1cb561(0x482)],_0x24c6ac['fieldOrder'],_0x24c6ac[_0x1cb561(0x482)]);let _0x32e90d=_0x13b0cc[_0x1cb561(0x1a5)]??_0x24c6ac[_0x1cb561(0x482)]['indexOf'](_0x38afa0)+0x1,_0x13592c=_0x24c6ac[_0x1cb561(0x482)]['filter'](_0x366429=>_0x366429!==_0x13b0cc[_0x1cb561(0x117)]['id']),_0x191a19=_0x4b0bf(_0x13592c,_0x13b0cc[_0x1cb561(0x117)]['id'],_0x32e90d),_0x183c68=Object[_0x1cb561(0x12b)](_0x24c6ac['views']??{})[_0x1cb561(0x38f)](_0x5e5739=>{const _0x32a7a3=_0x1cb561;var _0x36b8d4,_0x293c06,_0x570e91,_0xa91fbe;let _0x1cab60=(_0x36b8d4=_0x5e5739['fieldOrder'])!=null&&_0x36b8d4[_0x32a7a3(0x40a)]?_0x5e5739[_0x32a7a3(0x482)]:_0x13592c;if(_0x1cab60[_0x32a7a3(0x47b)](_0x13b0cc[_0x32a7a3(0x117)]['id']))return[];let _0x410aed=_0x4b0bf(_0x1cab60,_0x13b0cc[_0x32a7a3(0x117)]['id'],((_0x293c06=_0x13b0cc[_0x32a7a3(0x4a4)])==null?void 0x0:_0x293c06[_0x5e5739['id']])??_0x32e90d),_0x4e9563=(_0x570e91=_0x5e5739[_0x32a7a3(0x31c)])==null?void 0x0:_0x570e91[_0x38afa0];return[this[_0x32a7a3(0x16a)]([..._0x23c358[_0x32a7a3(0x1e2)](_0x412482,_0x5e5739['id']),_0x32a7a3(0x482)],_0x5e5739[_0x32a7a3(0x482)],_0x410aed),..._0x4e9563?[this[_0x32a7a3(0x16a)]([..._0x23c358[_0x32a7a3(0x1e2)](_0x412482,_0x5e5739['id']),_0x32a7a3(0x31c),_0x13b0cc[_0x32a7a3(0x117)]['id']],(_0xa91fbe=_0x5e5739[_0x32a7a3(0x31c)])==null?void 0x0:_0xa91fbe[_0x13b0cc[_0x32a7a3(0x117)]['id']],_0x4e9563)]:[]];}),_0x518c74=Object[_0x1cb561(0x12b)](_0x24c6ac[_0x1cb561(0x3cc)])[_0x1cb561(0x431)](_0x1f8a22=>Object[_0x1cb561(0x3f8)][_0x1cb561(0x28c)][_0x1cb561(0x434)](_0x1f8a22[_0x1cb561(0x12b)],_0x38afa0))[_0x1cb561(0x208)](_0x5004b7=>this[_0x1cb561(0x16a)](_0x23c358[_0x1cb561(0x2d6)](_0x412482,_0x5004b7['id'],_0x13b0cc['field']['id']),_0x5004b7[_0x1cb561(0x12b)][_0x13b0cc[_0x1cb561(0x117)]['id']],_0x5004b7['values'][_0x38afa0]));return _0x407666([..._0x13b0cc[_0x1cb561(0x117)][_0x1cb561(0x3fd)]===_0x2f4877[_0x1cb561(0x4aa)][_0x1cb561(0x25c)]?this['_materializeFormulaTableNames'](_0xc083d3):[],_0x2f4877['JSON1'][_0x1cb561(0x259)](_0x23c358['field'](_0x412482,_0x13b0cc['field']['id']),_0x13b0cc[_0x1cb561(0x117)]),_0x2f4877[_0x1cb561(0x2a6)][_0x1cb561(0x4c0)]([_0x1cb561(0x1ab),_0x412482,_0x1cb561(0x482)],_0x24c6ac[_0x1cb561(0x482)],_0x191a19),..._0x183c68,..._0x518c74]);}[_0x4cb5f0(0x1ce)](_0x4a01e0,_0x1f4eba,_0x14332a,_0x2ad666){const _0x58c5a9=_0x4cb5f0;let _0x4cec43=_0x4a01e0[_0x58c5a9(0x1ab)][_0x1f4eba][_0x58c5a9(0x189)][_0x14332a],_0x4b1877={..._0x4cec43,..._0x2ad666};Object[_0x58c5a9(0x174)](_0x2ad666)[_0x58c5a9(0x167)](_0x3db04e=>{_0x2ad666[_0x3db04e]===void 0x0&&delete _0x4b1877[_0x3db04e];});let _0x10bb9e=_0x30ce48(_0x4a01e0[_0x58c5a9(0x1ab)][_0x1f4eba],_0x14332a,_0x4cec43,_0x4b1877);_0x4b1877=_0x10bb9e['field'];let _0x36b7a8=_0x2f4877['JSON1']['replaceOp'](_0x23c358[_0x58c5a9(0x117)](_0x1f4eba,_0x14332a),_0x4cec43,_0x4b1877);return _0x4b1877[_0x58c5a9(0x3fd)]===_0x2f4877['BaseFieldType'][_0x58c5a9(0x25c)]?_0x407666([...this[_0x58c5a9(0x10a)](_0x4a01e0),_0x36b7a8,...this[_0x58c5a9(0x215)](_0x4a01e0,_0x1f4eba,_0x14332a,_0x4b1877)]):_0x407666([_0x36b7a8,..._0x10bb9e['patches'][_0x58c5a9(0x40a)]?[this[_0x58c5a9(0x27b)](_0x4a01e0,_0x1f4eba,_0x10bb9e[_0x58c5a9(0x32d)])]:[]]);}['changeFieldType'](_0x369f54,_0x5c7917,_0x396566,_0x4ac5c2){return this['updateField'](_0x369f54,_0x5c7917,_0x396566,_0x4ac5c2);}['deleteField'](_0x5c6bce,_0x591099,_0x3ad176){const _0x201dba=_0x4cb5f0;let _0x1b8ff1=_0x5c6bce[_0x201dba(0x1ab)][_0x591099];if(!(_0x1b8ff1!=null&&_0x1b8ff1[_0x201dba(0x189)][_0x3ad176])||_0x1b8ff1[_0x201dba(0x3e1)]===_0x3ad176||_0x3ad176===_0x2f4877[_0x201dba(0x31e)])return _0x2f4877[_0x201dba(0x2a6)][_0x201dba(0x4c0)](['tables',_0x591099,_0x201dba(0x482)],_0x1b8ff1==null?void 0x0:_0x1b8ff1[_0x201dba(0x482)],_0x1b8ff1==null?void 0x0:_0x1b8ff1[_0x201dba(0x482)]);let _0x20ff77=_0x1b8ff1['fieldOrder'][_0x201dba(0x310)](_0x3ad176),_0x52908f=Object['values'](_0x1b8ff1[_0x201dba(0x3fa)])[_0x201dba(0x38f)](_0x3dcffc=>{const _0x9989f2=_0x201dba;var _0x7e35ce,_0x27c7cc,_0x13eb5d,_0x10d556,_0x5f4c01,_0x1e598c,_0x5bb11c;let _0x41888a=[],_0xed888b=((_0x7e35ce=_0x3dcffc[_0x9989f2(0x482)])==null?void 0x0:_0x7e35ce[_0x9989f2(0x310)](_0x3ad176))??-0x1;_0xed888b>=0x0&&_0x41888a[_0x9989f2(0x158)](_0x2f4877[_0x9989f2(0x2a6)]['removeOp']([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),_0x9989f2(0x482),_0xed888b],_0x3ad176));let _0x4de00f=(_0x27c7cc=_0x3dcffc['fieldSettings'])==null?void 0x0:_0x27c7cc[_0x3ad176];_0x4de00f!==void 0x0&&_0x41888a[_0x9989f2(0x158)](_0x2f4877[_0x9989f2(0x2a6)][_0x9989f2(0x1c6)]([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),_0x9989f2(0x31c),_0x3ad176],_0x4de00f));let _0x357164=_0x3dcffc[_0x9989f2(0x431)]?{..._0x3dcffc[_0x9989f2(0x431)],'conditions':_0x3dcffc[_0x9989f2(0x431)][_0x9989f2(0x2bd)][_0x9989f2(0x431)](_0x4f4716=>_0x4f4716[_0x9989f2(0x3bd)]!==_0x3ad176)}:_0x3dcffc[_0x9989f2(0x431)];_0x357164&&_0x357164['conditions']['length']!==((_0x13eb5d=_0x3dcffc['filter'])==null?void 0x0:_0x13eb5d[_0x9989f2(0x2bd)][_0x9989f2(0x40a)])&&_0x41888a['push'](this[_0x9989f2(0x16a)]([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),_0x9989f2(0x431)],_0x3dcffc[_0x9989f2(0x431)],_0x357164));let _0x4394c5=(_0x10d556=_0x3dcffc[_0x9989f2(0x375)])==null?void 0x0:_0x10d556[_0x9989f2(0x431)](_0x26f6e7=>_0x26f6e7['fieldId']!==_0x3ad176);_0x4394c5&&_0x4394c5[_0x9989f2(0x40a)]!==((_0x5f4c01=_0x3dcffc['sort'])==null?void 0x0:_0x5f4c01[_0x9989f2(0x40a)])&&_0x41888a[_0x9989f2(0x158)](this['_replaceOptional']([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),_0x9989f2(0x375)],_0x3dcffc[_0x9989f2(0x375)],_0x4394c5));let _0x5f2e52=(_0x1e598c=_0x3dcffc[_0x9989f2(0x475)])==null?void 0x0:_0x1e598c[_0x9989f2(0x431)](_0x1137fe=>_0x1137fe[_0x9989f2(0x3bd)]!==_0x3ad176);_0x5f2e52&&_0x5f2e52[_0x9989f2(0x40a)]!==((_0x5bb11c=_0x3dcffc[_0x9989f2(0x475)])==null?void 0x0:_0x5bb11c[_0x9989f2(0x40a)])&&_0x41888a[_0x9989f2(0x158)](this[_0x9989f2(0x16a)]([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),'group'],_0x3dcffc[_0x9989f2(0x475)],_0x5f2e52));let _0x5017f5=_0x44a71d(_0x3dcffc['config'],_0x3ad176);return JSON[_0x9989f2(0x52e)](_0x5017f5)!==JSON[_0x9989f2(0x52e)](_0x3dcffc[_0x9989f2(0x40b)])&&_0x41888a[_0x9989f2(0x158)](_0x2f4877[_0x9989f2(0x2a6)][_0x9989f2(0x4c0)]([..._0x23c358[_0x9989f2(0x1e2)](_0x591099,_0x3dcffc['id']),'config'],_0x3dcffc[_0x9989f2(0x40b)],_0x5017f5)),_0x41888a;}),_0x6b63c6=Object[_0x201dba(0x12b)](_0x1b8ff1['records'])[_0x201dba(0x38f)](_0xf16f44=>Object[_0x201dba(0x3f8)][_0x201dba(0x28c)]['call'](_0xf16f44[_0x201dba(0x12b)],_0x3ad176)?[_0x2f4877[_0x201dba(0x2a6)]['removeOp'](_0x23c358[_0x201dba(0x2d6)](_0x591099,_0xf16f44['id'],_0x3ad176),_0xf16f44[_0x201dba(0x12b)][_0x3ad176])]:[]);return _0x407666([_0x2f4877[_0x201dba(0x2a6)]['removeOp'](_0x23c358['field'](_0x591099,_0x3ad176),_0x1b8ff1[_0x201dba(0x189)][_0x3ad176]),_0x2f4877[_0x201dba(0x2a6)][_0x201dba(0x1c6)](_0x23c358[_0x201dba(0x482)](_0x591099,_0x20ff77),_0x3ad176),..._0x52908f,..._0x6b63c6,...this[_0x201dba(0x11a)](_0x1b8ff1,_0x591099,_0x1c1695=>_0x1c1695[_0x201dba(0x316)](_0x3ad176+'\x1f'))]);}['moveField'](_0x52cd6a,_0x15568f,_0x248231,_0x5ddbcd){const _0x2af664=_0x4cb5f0;let _0x5dc71b=_0x52cd6a[_0x2af664(0x1ab)][_0x15568f]['fieldOrder'];if(_0x248231===_0x2f4877[_0x2af664(0x31e)]||_0x5ddbcd['beforeFieldId']===_0x2f4877[_0x2af664(0x31e)])throw Error(_0x2af664(0x21e));let _0x255746=_0x44b600(_0x5dc71b,_0x248231,_0x5ddbcd);return _0x2f4877[_0x2af664(0x2a6)][_0x2af664(0x4c0)]([_0x2af664(0x1ab),_0x15568f,'fieldOrder'],_0x5dc71b,_0x255746);}[_0x4cb5f0(0x51a)](_0x5ce30d,_0x2dba57,_0x5eb79e,_0x53edcc=_0x5ce30d[_0x4cb5f0(0x1ab)][_0x2dba57]['viewOrder'][_0x4cb5f0(0x40a)]){const _0x2fe4e2=_0x4cb5f0;return _0x407666([_0x2f4877['JSON1'][_0x2fe4e2(0x259)](_0x23c358['view'](_0x2dba57,_0x5eb79e['id']),_0x5eb79e),_0x2f4877[_0x2fe4e2(0x2a6)][_0x2fe4e2(0x259)]([_0x2fe4e2(0x1ab),_0x2dba57,'viewOrder',_0x53edcc],_0x5eb79e['id'])]);}[_0x4cb5f0(0x33d)](_0x2497df,_0x9fe01c,_0x399c16,_0x39d3ed){const _0x10ce98=_0x4cb5f0;return _0x2f4877[_0x10ce98(0x2a6)][_0x10ce98(0x4c0)]([..._0x23c358['view'](_0x9fe01c,_0x399c16),_0x10ce98(0x406)],_0x2497df[_0x10ce98(0x1ab)][_0x9fe01c]['views'][_0x399c16][_0x10ce98(0x406)],_0x39d3ed);}['deleteView'](_0x4bc4e0,_0x24d994,_0x424799){const _0x434513=_0x4cb5f0;let _0x57434a=_0x4bc4e0['tables'][_0x24d994],_0xb810f4=_0x57434a['views'][_0x424799],_0x41ba2e=_0x57434a['viewOrder'][_0x434513(0x310)](_0x424799);return _0x407666([_0x2f4877[_0x434513(0x2a6)]['removeOp'](_0x23c358[_0x434513(0x1e2)](_0x24d994,_0x424799),_0xb810f4),_0x2f4877[_0x434513(0x2a6)][_0x434513(0x1c6)]([_0x434513(0x1ab),_0x24d994,_0x434513(0x353),_0x41ba2e],_0x424799)]);}[_0x4cb5f0(0x197)](_0x5aa39a,_0x32cb83,_0x46b554,_0x346a03){const _0x17f9e0=_0x4cb5f0;let _0x27d1c7=_0x5aa39a[_0x17f9e0(0x1ab)][_0x32cb83][_0x17f9e0(0x353)],_0x344dd0=_0x44b600(_0x27d1c7,_0x46b554,{'beforeFieldId':_0x346a03[_0x17f9e0(0x298)],'afterFieldId':_0x346a03[_0x17f9e0(0x129)]});return _0x2f4877[_0x17f9e0(0x2a6)][_0x17f9e0(0x4c0)]([_0x17f9e0(0x1ab),_0x32cb83,'viewOrder'],_0x27d1c7,_0x344dd0);}[_0x4cb5f0(0x4dc)](_0x5eeb9c,_0x49340b,_0x41c005,_0x23cce8){const _0x5c4450=_0x4cb5f0;let _0x1c20e9=_0x5eeb9c['tables'][_0x49340b][_0x5c4450(0x3fa)][_0x41c005][_0x5c4450(0x40b)]??{},_0x366129={..._0x1c20e9,..._0x23cce8};return Object[_0x5c4450(0x174)](_0x23cce8)[_0x5c4450(0x167)](_0x440d4f=>{_0x23cce8[_0x440d4f]===void 0x0&&delete _0x366129[_0x440d4f];}),_0x2f4877[_0x5c4450(0x2a6)]['replaceOp']([..._0x23c358[_0x5c4450(0x1e2)](_0x49340b,_0x41c005),'config'],_0x1c20e9,_0x366129);}[_0x4cb5f0(0x195)](_0xe4e5fb,_0x45f4d6,_0x215e66,_0x558b1c){const _0x289299=_0x4cb5f0;return this[_0x289299(0x16a)]([..._0x23c358[_0x289299(0x1e2)](_0x45f4d6,_0x215e66),'filter'],_0xe4e5fb[_0x289299(0x1ab)][_0x45f4d6][_0x289299(0x3fa)][_0x215e66][_0x289299(0x431)],_0x558b1c);}[_0x4cb5f0(0x4ec)](_0x2d6904,_0x5b8e07,_0x592c05,_0x368ea0){const _0x4b5211=_0x4cb5f0;return this[_0x4b5211(0x16a)]([..._0x23c358[_0x4b5211(0x1e2)](_0x5b8e07,_0x592c05),_0x4b5211(0x375)],_0x2d6904[_0x4b5211(0x1ab)][_0x5b8e07][_0x4b5211(0x3fa)][_0x592c05][_0x4b5211(0x375)],_0x368ea0);}[_0x4cb5f0(0x16c)](_0x29ee04,_0x366eeb,_0x33f730,_0x59c5b7){const _0x70ef79=_0x4cb5f0;return this[_0x70ef79(0x16a)]([..._0x23c358[_0x70ef79(0x1e2)](_0x366eeb,_0x33f730),_0x70ef79(0x475)],_0x29ee04[_0x70ef79(0x1ab)][_0x366eeb]['views'][_0x33f730][_0x70ef79(0x475)],_0x59c5b7);}[_0x4cb5f0(0x11e)](_0x2b99c7,_0x261e0c,_0x13939e,_0x180277,_0x3895b2){return this['_setViewFieldSetting'](_0x2b99c7,_0x261e0c,_0x13939e,_0x180277,{'hidden':!_0x3895b2});}[_0x4cb5f0(0x539)](_0x57c9e0,_0xed2159,_0x19e2fe,_0xb51093,_0x9fc5b2){const _0x1ccfe1=_0x4cb5f0;return this[_0x1ccfe1(0x53f)](_0x57c9e0,_0xed2159,_0x19e2fe,_0xb51093,{'width':_0x9fc5b2});}[_0x4cb5f0(0x24a)](_0x2b4731,_0x46781e,_0x30d7bf,_0x86af2f,_0x45b6f3){const _0x5a9a6c=_0x4cb5f0;let _0x3063d3=_0x2b4731['tables'][_0x46781e][_0x5a9a6c(0x3fa)][_0x30d7bf],_0x35a79d=_0x44b600(_0x3063d3[_0x5a9a6c(0x482)]??_0x2b4731[_0x5a9a6c(0x1ab)][_0x46781e]['fieldOrder'],_0x86af2f,_0x45b6f3);return this[_0x5a9a6c(0x16a)]([..._0x23c358['view'](_0x46781e,_0x30d7bf),_0x5a9a6c(0x482)],_0x3063d3[_0x5a9a6c(0x482)],_0x35a79d);}[_0x4cb5f0(0x53f)](_0x1b1ddb,_0x10ceb3,_0x27ff57,_0x114969,_0x47016e){const _0x3946ec=_0x4cb5f0;let _0x56070e=_0x1b1ddb[_0x3946ec(0x1ab)][_0x10ceb3][_0x3946ec(0x3fa)][_0x27ff57][_0x3946ec(0x31c)]??{},_0x52e013={..._0x56070e,[_0x114969]:{..._0x56070e[_0x114969],..._0x47016e}};return this[_0x3946ec(0x16a)]([..._0x23c358[_0x3946ec(0x1e2)](_0x10ceb3,_0x27ff57),_0x3946ec(0x31c)],_0x1b1ddb[_0x3946ec(0x1ab)][_0x10ceb3][_0x3946ec(0x3fa)][_0x27ff57][_0x3946ec(0x31c)],_0x52e013);}['_createRecordOrderOp'](_0x51916b,_0x4f40b7,_0xfb1777){const _0x56b5c9=_0x4cb5f0;let _0x1d6be1=_0x51916b[_0x56b5c9(0x1ab)][_0x4f40b7],_0x2c520d=new Set(_0xfb1777['map'](_0x587f41=>_0x587f41['id'])),_0x27c7a5=[...Object[_0x56b5c9(0x12b)](_0x1d6be1['records'])['filter'](_0x5cfe8e=>!_0x2c520d['has'](_0x5cfe8e['id'])),..._0xfb1777][_0x56b5c9(0x375)]((_0x4e7334,_0x38f324)=>String(_0x4e7334[_0x56b5c9(0x4bd)]??_0x4e7334['id'])[_0x56b5c9(0x1e1)](String(_0x38f324[_0x56b5c9(0x4bd)]??_0x38f324['id'])))[_0x56b5c9(0x208)](_0x3f3545=>_0x3f3545['id']),_0x8744fa=[..._0x23c358[_0x56b5c9(0x31b)](_0x4f40b7),_0x56b5c9(0x279)];return _0x1d6be1[_0x56b5c9(0x279)]?_0x2f4877[_0x56b5c9(0x2a6)]['replaceOp'](_0x8744fa,_0x1d6be1[_0x56b5c9(0x279)],_0x27c7a5):_0x2f4877[_0x56b5c9(0x2a6)][_0x56b5c9(0x259)](_0x8744fa,_0x27c7a5);}[_0x4cb5f0(0x10a)](_0x5eb20e,_0x3b0d25=new Set()){const _0x45457e=_0x4cb5f0;let _0x53937b=(0x0,_0x2f4877[_0x45457e(0x37f)])(_0x5eb20e);return Object[_0x45457e(0x12b)](_0x5eb20e[_0x45457e(0x1ab)])[_0x45457e(0x431)](_0x177176=>!_0x3b0d25[_0x45457e(0x22a)](_0x177176['id']))[_0x45457e(0x375)]((_0x1be466,_0x3aa613)=>_0x1be466['id'][_0x45457e(0x1e1)](_0x3aa613['id']))['flatMap'](_0x141876=>{const _0x168965=_0x45457e;let _0x4df0f=_0x53937b[_0x168965(0x51c)](_0x141876['id']);return!_0x4df0f||_0x141876[_0x168965(0x4c6)]===_0x4df0f?[]:[this[_0x168965(0x16a)]([..._0x23c358['table'](_0x141876['id']),_0x168965(0x4c6)],_0x141876[_0x168965(0x4c6)],_0x4df0f)];});}[_0x4cb5f0(0x215)](_0x778420,_0x3f6198,_0x26de50,_0x62b98d){const _0xe497cc=_0x4cb5f0;var _0x8f4a5,_0x3512ac;let _0x4f2eb8=_0xbfb56e(_0x778420[_0xe497cc(0x1ab)][_0x3f6198]),_0x1149ee=String(((_0x8f4a5=_0x62b98d[_0xe497cc(0x40b)])==null?void 0x0:_0x8f4a5[_0xe497cc(0x550)])??'')[_0xe497cc(0x11b)](),_0xd0d54f=(_0x3512ac=_0x4f2eb8[_0xe497cc(0x276)])==null?void 0x0:_0x3512ac[_0x26de50];if(_0xd0d54f==null)return[];let _0x43d3bf=_0x4f2eb8[_0xe497cc(0x279)]??Object[_0xe497cc(0x174)](_0x4f2eb8['records']),_0x53a3f6=_0x43d3bf['map'](_0x51a923=>{const _0x38ef6c=_0xe497cc;var _0xd3c7cf;return(_0xd3c7cf=_0x4f2eb8[_0x38ef6c(0x122)])==null?void 0x0:_0xd3c7cf[_0x51a923];})['find'](_0x482554=>_0x482554!=null);return _0x43d3bf[_0xe497cc(0x38f)](_0x6fbc7c=>{const _0x2fe0c0=_0xe497cc;var _0x4c7918,_0x6f1cc0;let _0x5d9b95=(_0x4c7918=_0x4f2eb8[_0x2fe0c0(0x122)])==null?void 0x0:_0x4c7918[_0x6fbc7c];if(_0x5d9b95==null)return[];let _0x114942=(_0x6f1cc0=_0x4f2eb8[_0x2fe0c0(0x3ca)])==null||(_0x6f1cc0=_0x6f1cc0[_0x5d9b95])==null?void 0x0:_0x6f1cc0[_0xd0d54f],_0x4668f0=_0x1149ee?_0x5d9b95===_0x53a3f6?{'f':_0x1149ee,'si':_0x26de50}:{'si':_0x26de50}:{'v':null,'t':null};return[this[_0x2fe0c0(0x16a)](_0x23c358[_0x2fe0c0(0x3ca)](_0x3f6198,_0x5d9b95,_0xd0d54f),_0x114942,_0x4668f0)];});}['_setAttachmentResources'](_0x4fa8d0,_0x3e71a4,_0x26aa01){const _0x5d7515=_0x4cb5f0;var _0x5758e8;let _0x13b8ef=new Map(Object['entries'](((_0x5758e8=_0x4fa8d0[_0x5d7515(0x301)])==null?void 0x0:_0x5758e8[_0x5d7515(0x1b0)])??{})),_0x355012=new Map(),_0x49f8fa=new Set(),_0x5be904=_0x26aa01[_0x5d7515(0x208)](({recordId:_0x5eb98e,fieldId:_0x5733bf,attachments:_0xff186d})=>{const _0x5918d9=_0x5d7515;var _0x419c1b;let _0x57bc8d=_0x49ff8d(_0x5733bf,_0x5eb98e),_0x348a07=_0xff186d[_0x5918d9(0x208)]((_0x5bf48d,_0x29f339)=>String(_0x5bf48d['id']??_0x57bc8d+'\x1f'+_0x29f339));return _0x49f8fa[_0x5918d9(0x567)](_0x57bc8d),_0x13b8ef[_0x5918d9(0x411)](_0x57bc8d,_0x348a07),_0xff186d[_0x5918d9(0x167)]((_0x530f4c,_0x3b2d36)=>{let _0x3fccd1=_0x348a07[_0x3b2d36];_0x355012['set'](_0x3fccd1,{..._0x530f4c,'id':_0x3fccd1});}),this[_0x5918d9(0x16a)](_0x23c358[_0x5918d9(0x3d1)](_0x3e71a4,_0x57bc8d),(_0x419c1b=_0x4fa8d0['resources'])==null||(_0x419c1b=_0x419c1b[_0x5918d9(0x1b0)])==null?void 0x0:_0x419c1b[_0x57bc8d],_0x348a07);}),_0x5a19a0=Array[_0x5d7515(0x489)](_0x355012)[_0x5d7515(0x208)](([_0x727516,_0xb99b94])=>{const _0x4793a0=_0x5d7515;var _0x2f0a98;return this[_0x4793a0(0x16a)](_0x23c358[_0x4793a0(0x4d8)](_0x3e71a4,_0x727516),(_0x2f0a98=_0x4fa8d0[_0x4793a0(0x301)])==null||(_0x2f0a98=_0x2f0a98[_0x4793a0(0x2c7)])==null?void 0x0:_0x2f0a98[_0x727516],_0xb99b94);}),_0x3d328a=new Set(Array['from'](_0x13b8ef[_0x5d7515(0x12b)]())[_0x5d7515(0x190)]()),_0x575502=new Set(Array['from'](_0x49f8fa)['flatMap'](_0x29376a=>{const _0x60fc4b=_0x5d7515;var _0x2bc680;return((_0x2bc680=_0x4fa8d0[_0x60fc4b(0x301)])==null||(_0x2bc680=_0x2bc680['attachmentSets'])==null?void 0x0:_0x2bc680[_0x29376a])??[];})),_0x38d54e=Array[_0x5d7515(0x489)](_0x575502)[_0x5d7515(0x38f)](_0x123fa1=>{const _0x4f8322=_0x5d7515;var _0x54b308;let _0x3512ed=(_0x54b308=_0x4fa8d0[_0x4f8322(0x301)])==null||(_0x54b308=_0x54b308[_0x4f8322(0x2c7)])==null?void 0x0:_0x54b308[_0x123fa1];return _0x3512ed!==void 0x0&&!_0x3d328a[_0x4f8322(0x22a)](_0x123fa1)?[_0x2f4877[_0x4f8322(0x2a6)]['removeOp'](_0x23c358[_0x4f8322(0x4d8)](_0x3e71a4,_0x123fa1),_0x3512ed)]:[];});return[..._0x5be904,..._0x5a19a0,..._0x38d54e];}['_deleteAttachmentResources'](_0x1f1e5e,_0x46f9b5,_0x361007){const _0x419ab7=_0x4cb5f0;var _0x41ca1e;let _0x2c7164=((_0x41ca1e=_0x1f1e5e['resources'])==null?void 0x0:_0x41ca1e['attachmentSets'])??{},_0x3a57b6=Object[_0x419ab7(0x1c8)](_0x2c7164)[_0x419ab7(0x431)](([_0x3b438d])=>_0x361007(_0x3b438d));if(!_0x3a57b6[_0x419ab7(0x40a)])return[];let _0x58cc18=new Set(Object[_0x419ab7(0x1c8)](_0x2c7164)[_0x419ab7(0x431)](([_0x1cb67f])=>!_0x361007(_0x1cb67f))[_0x419ab7(0x38f)](([,_0x236c24])=>_0x236c24)),_0x5e9edc=new Set(_0x3a57b6[_0x419ab7(0x38f)](([,_0x4a0a23])=>_0x4a0a23));return[..._0x3a57b6['map'](([_0x49fa59,_0x1c36a0])=>_0x2f4877['JSON1'][_0x419ab7(0x1c6)](_0x23c358[_0x419ab7(0x3d1)](_0x46f9b5,_0x49fa59),_0x1c36a0)),...Array[_0x419ab7(0x489)](_0x5e9edc)[_0x419ab7(0x38f)](_0x284345=>{const _0x3abbfd=_0x419ab7;var _0xbc304d;let _0x546920=(_0xbc304d=_0x1f1e5e[_0x3abbfd(0x301)])==null||(_0xbc304d=_0xbc304d[_0x3abbfd(0x2c7)])==null?void 0x0:_0xbc304d[_0x284345];return _0x546920!==void 0x0&&!_0x58cc18['has'](_0x284345)?[_0x2f4877['JSON1']['removeOp'](_0x23c358['attachment'](_0x46f9b5,_0x284345),_0x546920)]:[];})];}['_replaceOptional'](_0x129c45,_0x4d66d5,_0x3201db){const _0x5cb9e6=_0x4cb5f0;return _0x4d66d5===void 0x0?_0x2f4877['JSON1']['insertOp'](_0x129c45,_0x3201db):_0x2f4877[_0x5cb9e6(0x2a6)]['replaceOp'](_0x129c45,_0x4d66d5,_0x3201db);}};function _0x30ce48(_0x7b873f,_0x270a16,_0x526ef3,_0x4f2701){const _0x1490c8=_0x4cb5f0;var _0x450e42;let _0x43cfee=_0x4f2701[_0x1490c8(0x3fd)];if(_0x526ef3[_0x1490c8(0x3fd)]!==_0x43cfee||_0x43cfee!==_0x2f4877[_0x1490c8(0x4aa)][_0x1490c8(0x340)]&&_0x43cfee!==_0x2f4877[_0x1490c8(0x4aa)][_0x1490c8(0x220)]||_0xd9c503(_0x4f2701[_0x1490c8(0x40b)][_0x1490c8(0x4a3)]))return{'field':_0x4f2701,'patches':[]};let _0x272d74=_0x34305c(_0x526ef3),_0x54e889=_0x34305c(_0x4f2701);if(![..._0x272d74][_0x1490c8(0x258)](_0x2eb2ad=>!_0x54e889['has'](_0x2eb2ad)))return{'field':_0x4f2701,'patches':[]};let _0x52ab60=_0x33ee1a(_0x4f2701[_0x1490c8(0x494)],_0x54e889,_0x43cfee),_0x2ad579=_0x1b5c64(_0x52ab60,_0x4f2701[_0x1490c8(0x494)])?_0x4f2701:{..._0x4f2701,'defaultValue':_0x52ab60},_0x333a3e=_0xbfb56e(_0x7b873f),_0x2aa4e4=(_0x450e42=_0x333a3e[_0x1490c8(0x276)])==null?void 0x0:_0x450e42[_0x270a16];return _0x2aa4e4==null?{'field':_0x2ad579,'patches':[]}:{'field':_0x2ad579,'patches':(_0x333a3e[_0x1490c8(0x279)]??[])[_0x1490c8(0x38f)](_0x4abd0c=>{const _0x2d954b=_0x1490c8;var _0x1dbaea,_0x399926;let _0x3fd7eb=(_0x1dbaea=_0x333a3e['rowIndex'])==null?void 0x0:_0x1dbaea[_0x4abd0c],_0x2a0155=(_0x399926=_0x333a3e[_0x2d954b(0x3cc)][_0x4abd0c])==null?void 0x0:_0x399926['values'][_0x270a16],_0x205862=_0x33ee1a(_0x2a0155,_0x54e889,_0x43cfee);return _0x3fd7eb==null||_0x1b5c64(_0x205862,_0x2a0155)?[]:[{'row':_0x3fd7eb,'col':_0x2aa4e4,'value':_0x205862??null}];})};}function _0xd9c503(_0x36b130){const _0x105fd7=_0x4cb5f0;return typeof _0x36b130==_0x105fd7(0x2dc)&&!!_0x36b130&&_0x105fd7(0x3fd)in _0x36b130&&_0x36b130[_0x105fd7(0x3fd)]===_0x105fd7(0x117);}function _0x34305c(_0xbc6f5){const _0x4ee242=_0x4cb5f0;var _0x531c4f;let _0x4157b7=Array[_0x4ee242(0x156)]((_0x531c4f=_0xbc6f5[_0x4ee242(0x40b)])==null?void 0x0:_0x531c4f['options'])?_0xbc6f5[_0x4ee242(0x40b)][_0x4ee242(0x2db)]:[];return new Set(_0x4157b7['flatMap'](_0x3eddb4=>{if(!_0x3eddb4||typeof _0x3eddb4!='object'||!('id'in _0x3eddb4))return[];let _0x54eb35=String(_0x3eddb4['id']);return _0x54eb35?[_0x54eb35]:[];}));}function _0x33ee1a(_0x81ec3e,_0x20d485,_0x4a96d1){const _0x228e09=_0x4cb5f0;if(_0x81ec3e==null||_0x81ec3e==='')return _0x81ec3e;if(_0x4a96d1===_0x2f4877[_0x228e09(0x4aa)]['SingleSelect'])return _0x20d485['has'](String(_0x81ec3e))?_0x81ec3e:null;let _0xfeb886=Array[_0x228e09(0x156)](_0x81ec3e)?_0x81ec3e[_0x228e09(0x208)](String):String(_0x81ec3e)[_0x228e09(0x400)](',')[_0x228e09(0x208)](_0x5841f8=>_0x5841f8[_0x228e09(0x11b)]())[_0x228e09(0x431)](Boolean),_0x47e24b=_0xfeb886[_0x228e09(0x431)](_0xb72afe=>_0x20d485[_0x228e09(0x22a)](_0xb72afe));return _0x47e24b[_0x228e09(0x40a)]===_0xfeb886[_0x228e09(0x40a)]?_0x81ec3e:Array[_0x228e09(0x156)](_0x81ec3e)?_0x47e24b:String(_0x81ec3e)[_0x228e09(0x47b)](',')?_0x47e24b[_0x228e09(0x483)](','):_0x47e24b[0x0]??[];}function _0x1b5c64(_0x109135,_0x4cd989){return JSON['stringify'](_0x109135)===JSON['stringify'](_0x4cd989);}function _0x5c3d03(_0x43196f,_0x2fda15,_0x457a23){const _0x3424cd=_0x4cb5f0;var _0xac3064,_0x40ec53,_0x51c13e,_0x552ea2;let _0x545843=(_0xac3064=_0x43196f[_0x3424cd(0x122)])==null?void 0x0:_0xac3064[_0x2fda15],_0x35123f=(_0x40ec53=_0x43196f[_0x3424cd(0x276)])==null?void 0x0:_0x40ec53[_0x457a23];return _0x545843!=null&&_0x35123f!=null&&((_0x51c13e=_0x43196f[_0x3424cd(0x151)])==null?void 0x0:_0x51c13e[_0x545843])===_0x2fda15&&((_0x552ea2=_0x43196f['colId'])==null?void 0x0:_0x552ea2[_0x35123f])===_0x457a23&&_0x43196f[_0x3424cd(0x3ca)]!=null;}function _0x436a7b(_0x5fee97,_0x47bfe7,_0x5ec4fc){const _0x14a698=_0x4cb5f0;var _0x2b174c,_0xf0ec88;return((_0x2b174c=_0x5fee97[_0x14a698(0x151)])==null?void 0x0:_0x2b174c[_0x47bfe7])!=null&&((_0xf0ec88=_0x5fee97[_0x14a698(0x518)])==null?void 0x0:_0xf0ec88[_0x5ec4fc])!=null&&_0x5fee97[_0x14a698(0x3ca)]!=null;}function _0x44b600(_0x56dc8b,_0x2ec56f,_0xf4b6d6){const _0x4bfb9a=_0x4cb5f0;let _0x51af18=_0x56dc8b[_0x4bfb9a(0x431)](_0x56990a=>_0x56990a!==_0x2ec56f),_0x4a2715=_0xf4b6d6[_0x4bfb9a(0x376)]?_0x51af18['indexOf'](_0xf4b6d6[_0x4bfb9a(0x376)]):_0xf4b6d6[_0x4bfb9a(0x107)]?_0x51af18[_0x4bfb9a(0x310)](_0xf4b6d6[_0x4bfb9a(0x107)])+0x1:_0x51af18['length'];return _0x51af18[_0x4bfb9a(0x240)](_0x4a2715<0x0?_0x51af18[_0x4bfb9a(0x40a)]:_0x4a2715,0x0,_0x2ec56f),_0x51af18;}function _0x4b0bf(_0x2ab1e5,_0x98819e,_0x2cd16c){const _0x2a2929=_0x4cb5f0;let _0x1bb33d=_0x2ab1e5[_0x2a2929(0x431)](_0x2e39e1=>_0x2e39e1!==_0x98819e);return _0x1bb33d[_0x2a2929(0x240)](_0x375539(_0x2cd16c,_0x1bb33d[_0x2a2929(0x40a)]),0x0,_0x98819e),_0x1bb33d;}function _0x44a71d(_0x24238b,_0x349a4a,_0x21ad05){const _0x459243=_0x4cb5f0;if(Array[_0x459243(0x156)](_0x24238b))return _0x21ad05===_0x459243(0x379)?_0x24238b[_0x459243(0x431)](_0x36133e=>_0x36133e!==_0x349a4a):_0x24238b['flatMap'](_0x415d5b=>{const _0x1e2963=_0x459243;if(_0x415d5b&&typeof _0x415d5b==_0x1e2963(0x2dc)&&!Array[_0x1e2963(0x156)](_0x415d5b)&&_0x415d5b[_0x1e2963(0x3bd)]===_0x349a4a)return[];let _0x942d74=_0x44a71d(_0x415d5b,_0x349a4a);return _0x942d74===void 0x0?[]:[_0x942d74];});if(!_0x24238b||typeof _0x24238b!='object')return _0x21ad05!=null&&_0x21ad05[_0x459243(0x44a)](_0x459243(0x4ef))&&_0x24238b===_0x349a4a?void 0x0:_0x24238b;let _0x37d8b8=_0x24238b;if(_0x37d8b8[_0x459243(0x3bd)]!==_0x349a4a)return Object[_0x459243(0x1c0)](Object[_0x459243(0x1c8)](_0x37d8b8)[_0x459243(0x38f)](([_0x238f8e,_0x5f4f21])=>{const _0xb5a625=_0x459243;if(_0x238f8e===_0x349a4a&&_0x21ad05===_0xb5a625(0x31c))return[];let _0x53c9a9=_0x44a71d(_0x5f4f21,_0x349a4a,_0x238f8e);return _0x53c9a9===void 0x0?[]:[[_0x238f8e,_0x53c9a9]];}));}function _0x375539(_0x5d278a,_0x927601){const _0x5b563b=_0x4cb5f0;return Math[_0x5b563b(0x459)](0x0,Math[_0x5b563b(0x498)](_0x5d278a,_0x927601));}function _0x502c30(_0x4edfeb){'@babel/helpers - typeof';const _0xa8a841=_0x4cb5f0;return _0x502c30=typeof Symbol==_0xa8a841(0x237)&&typeof Symbol[_0xa8a841(0x128)]==_0xa8a841(0x50f)?function(_0x371c31){return typeof _0x371c31;}:function(_0x50f313){const _0x4700ca=_0xa8a841;return _0x50f313&&typeof Symbol=='function'&&_0x50f313[_0x4700ca(0x2cd)]===Symbol&&_0x50f313!==Symbol[_0x4700ca(0x3f8)]?_0x4700ca(0x50f):typeof _0x50f313;},_0x502c30(_0x4edfeb);}function _0x478bcd(_0x5067ae,_0x3e345d){const _0x46632c=_0x4cb5f0;if(_0x502c30(_0x5067ae)!=_0x46632c(0x2dc)||!_0x5067ae)return _0x5067ae;var _0x760797=_0x5067ae[Symbol[_0x46632c(0x25e)]];if(_0x760797!==void 0x0){var _0x1570e1=_0x760797['call'](_0x5067ae,_0x3e345d||_0x46632c(0x4c2));if(_0x502c30(_0x1570e1)!=_0x46632c(0x2dc))return _0x1570e1;throw TypeError(_0x46632c(0x412));}return(_0x3e345d==='string'?String:Number)(_0x5067ae);}function _0x3624f2(_0x299d7a){const _0x3efe53=_0x4cb5f0;var _0x456b83=_0x478bcd(_0x299d7a,_0x3efe53(0x3ef));return _0x502c30(_0x456b83)=='symbol'?_0x456b83:_0x456b83+'';}function _0x4a5f24(_0x135e58,_0x20ad00,_0x4f15bc){const _0x37ce99=_0x4cb5f0;return(_0x20ad00=_0x3624f2(_0x20ad00))in _0x135e58?Object[_0x37ce99(0x29c)](_0x135e58,_0x20ad00,{'value':_0x4f15bc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x135e58[_0x20ad00]=_0x4f15bc,_0x135e58;}let _0xe37156=(0x0,_0x2f4877[_0x4cb5f0(0x14c)])(_0x4cb5f0(0x473));var _0x2d436a=class extends _0x2f4877['Disposable']{constructor(..._0x4daae1){super(..._0x4daae1),_0x4a5f24(this,'_plugins',new Map());}[_0x4cb5f0(0x37e)](_0x2a6cfa){const _0x33f66=_0x4cb5f0;return this['_plugins'][_0x33f66(0x411)](_0x2a6cfa[_0x33f66(0x3fd)],_0x2a6cfa),(0x0,_0x2f4877[_0x33f66(0x26b)])(()=>this['_plugins'][_0x33f66(0x515)](_0x2a6cfa[_0x33f66(0x3fd)]));}[_0x4cb5f0(0x51c)](_0x22a80d){const _0x5192ea=_0x4cb5f0;let _0x577977=this[_0x5192ea(0x2ac)][_0x5192ea(0x51c)](_0x22a80d);if(!_0x577977)throw Error(_0x5192ea(0x1e4)+_0x22a80d+'\x22\x20is\x20not\x20registered.');return _0x577977;}['getTypePlugin'](_0x1b143a){const _0x2b806f=_0x4cb5f0;return this[_0x2b806f(0x2ac)]['get'](_0x1b143a);}['getAll'](){const _0xc86b5d=_0x4cb5f0;return Array[_0xc86b5d(0x489)](this[_0xc86b5d(0x2ac)]['values']());}},_0x1160e3=class{constructor(_0x9701c6){const _0x45ce29=_0x4cb5f0;this[_0x45ce29(0x395)]=_0x9701c6,_0x4a5f24(this,_0x45ce29(0x3fd),_0x385744[_0x45ce29(0x545)][_0x45ce29(0x1f9)]),_0x4a5f24(this,_0x45ce29(0x528),_0x385744[_0x45ce29(0x13c)][_0x45ce29(0x199)]),_0x4a5f24(this,_0x45ce29(0x114),_0x2f4877[_0x45ce29(0x54e)][_0x45ce29(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x45ce29(0x2f3),!0x0),this['id']=this[_0x45ce29(0x3fd)]+'.'+this[_0x45ce29(0x528)]+'_'+_0x9701c6;}},_0x57ba21=class{constructor(_0x39236e){const _0x2f9614=_0x4cb5f0;this['unitId']=_0x39236e,_0x4a5f24(this,_0x2f9614(0x3fd),_0x385744['UnitObject']['Base']),_0x4a5f24(this,_0x2f9614(0x528),_0x385744[_0x2f9614(0x13c)][_0x2f9614(0x32b)]),_0x4a5f24(this,_0x2f9614(0x114),_0x2f4877['PermissionStatus'][_0x2f9614(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x2f9614(0x2f3),!0x0),this['id']=this['type']+'.'+this[_0x2f9614(0x528)]+'_'+_0x39236e;}},_0x10dfd0=class{constructor(_0x96b7f2){const _0x10ee2b=_0x4cb5f0;this['unitId']=_0x96b7f2,_0x4a5f24(this,_0x10ee2b(0x3fd),_0x385744[_0x10ee2b(0x545)][_0x10ee2b(0x1f9)]),_0x4a5f24(this,_0x10ee2b(0x528),_0x385744[_0x10ee2b(0x13c)][_0x10ee2b(0x121)]),_0x4a5f24(this,'status',_0x2f4877['PermissionStatus']['INIT']),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x10ee2b(0x2f3),!0x0),this['id']=this[_0x10ee2b(0x3fd)]+'.'+this[_0x10ee2b(0x528)]+'_'+_0x96b7f2;}},_0x1c261b=class{constructor(_0x5ea869){const _0x56f058=_0x4cb5f0;this[_0x56f058(0x395)]=_0x5ea869,_0x4a5f24(this,_0x56f058(0x3fd),_0x385744[_0x56f058(0x545)][_0x56f058(0x1f9)]),_0x4a5f24(this,_0x56f058(0x528),_0x385744[_0x56f058(0x13c)][_0x56f058(0x3c8)]),_0x4a5f24(this,_0x56f058(0x114),_0x2f4877[_0x56f058(0x54e)][_0x56f058(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x56f058(0x2f3),!0x0),this['id']=this['type']+'.'+this[_0x56f058(0x528)]+'_'+_0x5ea869;}},_0x40ab6c=class{constructor(_0x2a7c23,_0x2eb3bc){const _0x36e829=_0x4cb5f0;this[_0x36e829(0x395)]=_0x2a7c23,this['objectId']=_0x2eb3bc,_0x4a5f24(this,_0x36e829(0x3fd),_0x385744[_0x36e829(0x545)][_0x36e829(0x39a)]),_0x4a5f24(this,_0x36e829(0x528),_0x385744[_0x36e829(0x13c)][_0x36e829(0x121)]),_0x4a5f24(this,'status',_0x2f4877['PermissionStatus'][_0x36e829(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x36e829(0x528)]+'_'+_0x2a7c23+'_'+_0x2eb3bc;}},_0x2b23b8=class{constructor(_0x3a9505,_0x598a28){const _0x1690eb=_0x4cb5f0;this[_0x1690eb(0x395)]=_0x3a9505,this[_0x1690eb(0x408)]=_0x598a28,_0x4a5f24(this,'type',_0x385744[_0x1690eb(0x545)]['BaseField']),_0x4a5f24(this,_0x1690eb(0x528),_0x385744[_0x1690eb(0x13c)][_0x1690eb(0x121)]),_0x4a5f24(this,'status',_0x2f4877[_0x1690eb(0x54e)]['INIT']),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x1690eb(0x2f3),!0x0),this['id']=this[_0x1690eb(0x3fd)]+'.'+this[_0x1690eb(0x528)]+'_'+_0x3a9505+'_'+_0x598a28;}},_0x457232=class{constructor(_0x3e44ce,_0x34b3c4){const _0x2069bc=_0x4cb5f0;this[_0x2069bc(0x395)]=_0x3e44ce,this[_0x2069bc(0x408)]=_0x34b3c4,_0x4a5f24(this,_0x2069bc(0x3fd),_0x385744[_0x2069bc(0x545)]['BaseRecord']),_0x4a5f24(this,_0x2069bc(0x528),_0x385744[_0x2069bc(0x13c)]['Edit']),_0x4a5f24(this,_0x2069bc(0x114),_0x2f4877[_0x2069bc(0x54e)][_0x2069bc(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,'value',!0x0),this['id']=this[_0x2069bc(0x3fd)]+'.'+this[_0x2069bc(0x528)]+'_'+_0x3e44ce+'_'+_0x34b3c4;}},_0xa2f1a2=class{constructor(_0x43bcff,_0x36dbfd){const _0x18824f=_0x4cb5f0;this['unitId']=_0x43bcff,this[_0x18824f(0x408)]=_0x36dbfd,_0x4a5f24(this,_0x18824f(0x3fd),_0x385744[_0x18824f(0x545)][_0x18824f(0x16d)]),_0x4a5f24(this,'subType',_0x385744[_0x18824f(0x13c)][_0x18824f(0x121)]),_0x4a5f24(this,_0x18824f(0x114),_0x2f4877[_0x18824f(0x54e)][_0x18824f(0x4d0)]),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x18824f(0x2f3),!0x0),this['id']=this['type']+'.'+this[_0x18824f(0x528)]+'_'+_0x43bcff+'_'+_0x36dbfd;}},_0x562b14=class{constructor(_0x8eea30,_0x4a87c4){const _0x4c25ca=_0x4cb5f0;this[_0x4c25ca(0x395)]=_0x8eea30,this[_0x4c25ca(0x408)]=_0x4a87c4,_0x4a5f24(this,_0x4c25ca(0x3fd),_0x385744[_0x4c25ca(0x545)]['BaseView']),_0x4a5f24(this,_0x4c25ca(0x528),_0x385744[_0x4c25ca(0x13c)][_0x4c25ca(0x121)]),_0x4a5f24(this,_0x4c25ca(0x114),_0x2f4877[_0x4c25ca(0x54e)]['INIT']),_0x4a5f24(this,'id',void 0x0),_0x4a5f24(this,_0x4c25ca(0x2f3),!0x0),this['id']=this['type']+'.'+this[_0x4c25ca(0x528)]+'_'+_0x8eea30+'_'+_0x4a87c4;}};let _0x5b8722=[_0x385744[_0x4cb5f0(0x13c)][_0x4cb5f0(0x121)],_0x385744[_0x4cb5f0(0x13c)]['Copy'],_0x385744['UnitAction'][_0x4cb5f0(0x3c8)],_0x385744['UnitAction']['Comment']],_0x1e2886=new Set([_0x385744['UnitObject'][_0x4cb5f0(0x1f9)],_0x385744[_0x4cb5f0(0x545)]['BaseTable'],_0x385744[_0x4cb5f0(0x545)]['BaseField'],_0x385744[_0x4cb5f0(0x545)][_0x4cb5f0(0x345)],_0x385744[_0x4cb5f0(0x545)][_0x4cb5f0(0x366)],_0x385744[_0x4cb5f0(0x545)][_0x4cb5f0(0x39a)]]),_0x39631a=_0x4cb5f0(0x1dd),_0xc8fbd9=_0x4cb5f0(0x2da),_0x3a057b='record/',_0x1355da=_0x4cb5f0(0x233),_0x3302ba=_0x4cb5f0(0x20e);function _0x5de77d(_0x1be7e6){return''+_0x39631a+encodeURIComponent(_0x1be7e6);}function _0x55babb(_0xf9e5ff,_0x5ef8eb){return''+_0xc8fbd9+encodeURIComponent(_0xf9e5ff)+'/'+encodeURIComponent(_0x5ef8eb);}function _0x48e626(_0x21553b,_0x51af84){return''+_0x3a057b+encodeURIComponent(_0x21553b)+'/'+encodeURIComponent(_0x51af84);}function _0x1c7213(_0x620641,_0x22e2f2){return''+_0x1355da+encodeURIComponent(_0x620641)+'/'+encodeURIComponent(_0x22e2f2);}function _0x22db72(_0x2117a9){return''+_0x3302ba+encodeURIComponent(_0x2117a9);}function _0x432588(_0x4b319c,_0x2fbbfb,_0x2b25ae){const _0x1668be=_0x4cb5f0;if(_0x2fbbfb===_0x4b319c)switch(_0x2b25ae){case _0x385744[_0x1668be(0x13c)][_0x1668be(0x121)]:return new _0x10dfd0(_0x4b319c);case _0x385744[_0x1668be(0x13c)][_0x1668be(0x32b)]:return new _0x57ba21(_0x4b319c);case _0x385744[_0x1668be(0x13c)][_0x1668be(0x3c8)]:return new _0x1c261b(_0x4b319c);case _0x385744['UnitAction'][_0x1668be(0x199)]:return new _0x1160e3(_0x4b319c);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x2b25ae);}if(_0x2b25ae!==_0x385744['UnitAction'][_0x1668be(0x121)])throw Error(_0x1668be(0x14e)+_0x2fbbfb);if(_0x2fbbfb['startsWith'](_0x39631a))return new _0xa2f1a2(_0x4b319c,_0x2fbbfb);if(_0x2fbbfb[_0x1668be(0x316)](_0xc8fbd9))return new _0x2b23b8(_0x4b319c,_0x2fbbfb);if(_0x2fbbfb[_0x1668be(0x316)](_0x3a057b))return new _0x457232(_0x4b319c,_0x2fbbfb);if(_0x2fbbfb[_0x1668be(0x316)](_0x1355da))return new _0x562b14(_0x4b319c,_0x2fbbfb);if(_0x2fbbfb[_0x1668be(0x316)](_0x3302ba))return new _0x40ab6c(_0x4b319c,_0x2fbbfb);throw Error(_0x1668be(0x39d)+_0x2fbbfb);}function _0x197af7(_0x4d3c9a,_0x81c71e,_0x56f481,_0x27a7c8){const _0x335880=_0x4cb5f0;var _0x351fae;return((_0x351fae=_0x4d3c9a['getPermissionPoint'](_0x432588(_0x81c71e,_0x56f481,_0x27a7c8)['id']))==null?void 0x0:_0x351fae[_0x335880(0x2f3)])??!0x0;}function _0x1f339f(_0x483838,_0x103448,_0xbaa861,_0x4512bf,_0x4e6269){const _0x55ab92=_0x4cb5f0;let _0x10f9ac=_0x432588(_0x103448,_0xbaa861,_0x4512bf);_0x483838['getPermissionPoint'](_0x10f9ac['id'])||_0x483838[_0x55ab92(0x472)](_0x10f9ac),_0x483838['updatePermissionPoint'](_0x10f9ac['id'],_0x4e6269);}function _0x2e29fc(_0x48bd12,_0x5b9d52,_0x3aa79a,_0x2b1e36){const _0x1166f8=_0x4cb5f0;_0x48bd12[_0x1166f8(0x470)](_0x432588(_0x5b9d52,_0x3aa79a,_0x2b1e36)['id']);}function _0xcb79b(_0x28a924,_0x2e74f4){const _0x30daef=_0x4cb5f0;_0x28a924[_0x30daef(0x1a1)]()['forEach']((_0x57f747,_0x29e629)=>{const _0x4f5625=_0x30daef;_0x57f747[_0x4f5625(0x3a1)](_0x36b65e=>{const _0x135473=_0x4f5625;_0x1e2886[_0x135473(0x22a)](_0x36b65e[_0x135473(0x3fd)])&&'unitId'in _0x36b65e&&_0x36b65e[_0x135473(0x395)]===_0x2e74f4&&_0x28a924[_0x135473(0x470)](_0x29e629);})[_0x4f5625(0x309)]();});}function _0x26f94a(_0x4a601f,_0x2b02dc,_0xb26720){const _0x1a3fe9=_0x4cb5f0;return _0x197af7(_0x4a601f,_0x2b02dc,_0x2b02dc,_0x385744[_0x1a3fe9(0x13c)][_0x1a3fe9(0x121)])&&Array[_0x1a3fe9(0x489)](_0xb26720)['every'](_0x1e434d=>_0x197af7(_0x4a601f,_0x2b02dc,_0x1e434d,_0x385744['UnitAction'][_0x1a3fe9(0x121)]));}function _0x101953(_0x246630,_0x9d1707){return function(_0x4be612,_0x368811){_0x9d1707(_0x4be612,_0x368811,_0x246630);};}function _0x587eef(_0x4ae54c,_0x2903de,_0x2f7224,_0x2b05bd){const _0x167adf=_0x4cb5f0;var _0x35cc10=arguments['length'],_0x2b6cb6=_0x35cc10<0x3?_0x2903de:_0x2b05bd===null?_0x2b05bd=Object[_0x167adf(0x493)](_0x2903de,_0x2f7224):_0x2b05bd,_0x46b32a;if(typeof Reflect==_0x167adf(0x2dc)&&typeof Reflect[_0x167adf(0x27c)]==_0x167adf(0x237))_0x2b6cb6=Reflect['decorate'](_0x4ae54c,_0x2903de,_0x2f7224,_0x2b05bd);else{for(var _0x57169a=_0x4ae54c[_0x167adf(0x40a)]-0x1;_0x57169a>=0x0;_0x57169a--)(_0x46b32a=_0x4ae54c[_0x57169a])&&(_0x2b6cb6=(_0x35cc10<0x3?_0x46b32a(_0x2b6cb6):_0x35cc10>0x3?_0x46b32a(_0x2903de,_0x2f7224,_0x2b6cb6):_0x46b32a(_0x2903de,_0x2f7224))||_0x2b6cb6);}return _0x35cc10>0x3&&_0x2b6cb6&&Object['defineProperty'](_0x2903de,_0x2f7224,_0x2b6cb6),_0x2b6cb6;}let _0x38012c=(0x0,_0x2f4877[_0x4cb5f0(0x14c)])('base.permission.service'),_0x51b201=class extends _0x2f4877['Disposable']{constructor(_0x85fdbe,_0x1f460a){const _0xe47f05=_0x4cb5f0;super(),this[_0xe47f05(0x1b4)]=_0x85fdbe,this[_0xe47f05(0x450)]=_0x1f460a,_0x4a5f24(this,_0xe47f05(0x16b),new Map()),_0x4a5f24(this,_0xe47f05(0x1bf),new Map()),_0x4a5f24(this,'_fieldPermissions',new Map()),_0x4a5f24(this,_0xe47f05(0x465),new Map()),_0x4a5f24(this,_0xe47f05(0x1e8),new Map()),_0x4a5f24(this,'_tableBaseIds',new Map()),this[_0xe47f05(0x16f)](this[_0xe47f05(0x450)]['getTypeOfUnitDisposed$'](_0x2f4877[_0xe47f05(0x3d3)]['UNIVER_BASE'])[_0xe47f05(0x3a1)](_0x42bc59=>this[_0xe47f05(0x501)](_0x42bc59['getUnitId']())));}[_0x4cb5f0(0x3ee)](_0x4ed466){const _0xf08958=_0x4cb5f0;var _0x41db5e;return this[_0xf08958(0x3d6)](_0x4ed466,[])&&(((_0x41db5e=this['_basePermissions'][_0xf08958(0x51c)](_0x4ed466))==null?void 0x0:_0x41db5e[_0xf08958(0x10b)])??!0x0);}['canEditTable'](_0x544321){const _0x5d7749=_0x4cb5f0;return this[_0x5d7749(0x3a2)](_0x544321);}['canDeleteTable'](_0x5118d4){const _0x2c1c96=_0x4cb5f0;var _0x30426b;return this[_0x2c1c96(0x3a2)](_0x5118d4)&&(((_0x30426b=this['_tablePermissions'][_0x2c1c96(0x51c)](_0x5118d4))==null?void 0x0:_0x30426b[_0x2c1c96(0x515)])??!0x0);}[_0x4cb5f0(0x356)](_0x3d1c0d){const _0x383bca=_0x4cb5f0;var _0x4c8e98;return this[_0x383bca(0x3a2)](_0x3d1c0d)&&(((_0x4c8e98=this[_0x383bca(0x1bf)][_0x383bca(0x51c)](_0x3d1c0d))==null?void 0x0:_0x4c8e98[_0x383bca(0x4de)])??!0x0);}[_0x4cb5f0(0x402)](_0x325d4d,_0x2f8d69){const _0x290512=_0x4cb5f0;var _0x3f6cac;return this[_0x290512(0x3a2)](_0x325d4d)&&this[_0x290512(0x3d6)](_0x325d4d,[_0x55babb(_0x325d4d,_0x2f8d69)])&&(((_0x3f6cac=this['_fieldPermissions'][_0x290512(0x51c)](_0x206b1f(_0x325d4d,_0x2f8d69)))==null?void 0x0:_0x3f6cac[_0x290512(0x1cc)])??!0x0);}[_0x4cb5f0(0x34d)](_0x4e2a4b,_0x146bc5){const _0x2bf012=_0x4cb5f0;var _0x4ebaa8;return this[_0x2bf012(0x402)](_0x4e2a4b,_0x146bc5)&&(((_0x4ebaa8=this['_fieldPermissions'][_0x2bf012(0x51c)](_0x206b1f(_0x4e2a4b,_0x146bc5)))==null?void 0x0:_0x4ebaa8[_0x2bf012(0x515)])??!0x0);}[_0x4cb5f0(0x16e)](_0x35d85d){const _0x4e26b2=_0x4cb5f0;var _0x2369e8;return this[_0x4e26b2(0x3a2)](_0x35d85d)&&(((_0x2369e8=this['_tablePermissions']['get'](_0x35d85d))==null?void 0x0:_0x2369e8[_0x4e26b2(0x484)])??!0x0);}[_0x4cb5f0(0x4a9)](_0x277d5c,_0x2cec8a){const _0x392868=_0x4cb5f0;var _0x3613de;let _0x5052d1=this['_recordPermissions'][_0x392868(0x51c)](_0x40ee07(_0x277d5c,_0x2cec8a));return this[_0x392868(0x3d6)](_0x277d5c,[_0x5de77d(_0x277d5c),_0x48e626(_0x277d5c,_0x2cec8a)])&&(((_0x3613de=this[_0x392868(0x1bf)]['get'](_0x277d5c))==null?void 0x0:_0x3613de[_0x392868(0x1cc)])??!0x0)&&((_0x5052d1==null?void 0x0:_0x5052d1[_0x392868(0x1cc)])??!0x0)&&((_0x5052d1==null?void 0x0:_0x5052d1[_0x392868(0x36b)])??!0x0);}[_0x4cb5f0(0x3af)](_0x3dcfcf,_0x5c6792){const _0x441b42=_0x4cb5f0;var _0x163b70,_0x3c3067,_0x271bf7;return this[_0x441b42(0x3d6)](_0x3dcfcf,[_0x5de77d(_0x3dcfcf),_0x48e626(_0x3dcfcf,_0x5c6792)])&&(((_0x163b70=this['_tablePermissions'][_0x441b42(0x51c)](_0x3dcfcf))==null?void 0x0:_0x163b70['edit'])??!0x0)&&(((_0x3c3067=this['_recordPermissions'][_0x441b42(0x51c)](_0x40ee07(_0x3dcfcf,_0x5c6792)))==null?void 0x0:_0x3c3067[_0x441b42(0x1cc)])??!0x0)&&(((_0x271bf7=this[_0x441b42(0x465)][_0x441b42(0x51c)](_0x40ee07(_0x3dcfcf,_0x5c6792)))==null?void 0x0:_0x271bf7[_0x441b42(0x515)])??!0x0);}[_0x4cb5f0(0x390)](_0x12be33,_0x34bf65,_0x6ceb02){const _0x1b9108=_0x4cb5f0;var _0x4739ab,_0x2c9d10,_0x214e6e;let _0x1897d2=this[_0x1b9108(0x525)][_0x1b9108(0x51c)](_0x206b1f(_0x12be33,_0x6ceb02));return this[_0x1b9108(0x3d6)](_0x12be33,[_0x5de77d(_0x12be33),_0x55babb(_0x12be33,_0x6ceb02),_0x48e626(_0x12be33,_0x34bf65)])&&(((_0x4739ab=this[_0x1b9108(0x1bf)][_0x1b9108(0x51c)](_0x12be33))==null?void 0x0:_0x4739ab[_0x1b9108(0x1cc)])??!0x0)&&(((_0x2c9d10=this[_0x1b9108(0x465)][_0x1b9108(0x51c)](_0x40ee07(_0x12be33,_0x34bf65)))==null?void 0x0:_0x2c9d10[_0x1b9108(0x1cc)])??!0x0)&&(((_0x214e6e=this[_0x1b9108(0x465)][_0x1b9108(0x51c)](_0x40ee07(_0x12be33,_0x34bf65)))==null?void 0x0:_0x214e6e['editCell'])??!0x0)&&((_0x1897d2==null?void 0x0:_0x1897d2[_0x1b9108(0x1cc)])??!0x0)&&((_0x1897d2==null?void 0x0:_0x1897d2[_0x1b9108(0x36b)])??!0x0);}[_0x4cb5f0(0x4b1)](_0xa597fe,_0x4d92e6){const _0x558194=_0x4cb5f0;var _0x9caaaa,_0x12d9ba,_0x448a05;return this[_0x558194(0x3d6)](_0xa597fe,[_0x5de77d(_0xa597fe),_0x1c7213(_0xa597fe,_0x4d92e6)])&&(((_0x9caaaa=this[_0x558194(0x1bf)][_0x558194(0x51c)](_0xa597fe))==null?void 0x0:_0x9caaaa[_0x558194(0x1cc)])??!0x0)&&(((_0x12d9ba=this[_0x558194(0x1e8)][_0x558194(0x51c)](_0x447ff9(_0xa597fe,_0x4d92e6)))==null?void 0x0:_0x12d9ba[_0x558194(0x1cc)])??!0x0)&&(((_0x448a05=this[_0x558194(0x1bf)][_0x558194(0x51c)](_0xa597fe))==null?void 0x0:_0x448a05[_0x558194(0x34f)])??!0x0);}['setBasePermission'](_0x1308e5,_0x48da6c){const _0xd2e58c=_0x4cb5f0;this['_basePermissions'][_0xd2e58c(0x411)](_0x1308e5,{...this[_0xd2e58c(0x16b)][_0xd2e58c(0x51c)](_0x1308e5),..._0x48da6c}),_0x48da6c['edit']!==void 0x0&&_0x1f339f(this[_0xd2e58c(0x1b4)],_0x1308e5,_0x1308e5,_0x385744[_0xd2e58c(0x13c)][_0xd2e58c(0x121)],_0x48da6c['edit']);}['setTablePermission'](_0x509caa,_0x58165c){const _0x172905=_0x4cb5f0;this[_0x172905(0x3bc)](_0x509caa),this[_0x172905(0x1bf)][_0x172905(0x411)](_0x509caa,{...this[_0x172905(0x1bf)][_0x172905(0x51c)](_0x509caa),..._0x58165c}),this[_0x172905(0x274)](_0x509caa,_0x5de77d(_0x509caa),_0x58165c[_0x172905(0x1cc)]);}[_0x4cb5f0(0x1d5)](_0x324452,_0x1bee1c,_0x30b863){const _0x140884=_0x4cb5f0;this['_rememberTable'](_0x324452);let _0x12a5c4=_0x206b1f(_0x324452,_0x1bee1c);this[_0x140884(0x525)][_0x140884(0x411)](_0x12a5c4,{...this[_0x140884(0x525)][_0x140884(0x51c)](_0x12a5c4),..._0x30b863}),this[_0x140884(0x274)](_0x324452,_0x55babb(_0x324452,_0x1bee1c),_0x30b863[_0x140884(0x1cc)]);}[_0x4cb5f0(0x4cd)](_0xfa41ca,_0x58fbfb,_0x471d43){const _0x212085=_0x4cb5f0;this[_0x212085(0x3bc)](_0xfa41ca);let _0x262cca=_0x40ee07(_0xfa41ca,_0x58fbfb);this[_0x212085(0x465)][_0x212085(0x411)](_0x262cca,{...this[_0x212085(0x465)]['get'](_0x262cca),..._0x471d43}),this['_setObjectEdit'](_0xfa41ca,_0x48e626(_0xfa41ca,_0x58fbfb),_0x471d43[_0x212085(0x1cc)]);}[_0x4cb5f0(0x55c)](_0x42acd3,_0x158b4,_0x24847a){const _0x24a5c3=_0x4cb5f0;this[_0x24a5c3(0x3bc)](_0x42acd3);let _0x2f2f7f=_0x447ff9(_0x42acd3,_0x158b4);this[_0x24a5c3(0x1e8)][_0x24a5c3(0x411)](_0x2f2f7f,{...this['_viewPermissions']['get'](_0x2f2f7f),..._0x24847a}),this[_0x24a5c3(0x274)](_0x42acd3,_0x1c7213(_0x42acd3,_0x158b4),_0x24847a[_0x24a5c3(0x1cc)]);}[_0x4cb5f0(0x30e)](_0xfba3e9){const _0x506650=_0x4cb5f0;this[_0x506650(0x16b)][_0x506650(0x515)](_0xfba3e9),_0x2e29fc(this[_0x506650(0x1b4)],_0xfba3e9,_0xfba3e9,_0x385744[_0x506650(0x13c)]['Edit']);}[_0x4cb5f0(0x547)](_0xdef8b1){const _0x187461=_0x4cb5f0;this[_0x187461(0x1bf)][_0x187461(0x515)](_0xdef8b1),this[_0x187461(0x20f)](_0xdef8b1,_0x5de77d(_0xdef8b1));}[_0x4cb5f0(0x252)](_0x5a57f1,_0x2913af){const _0x5eda93=_0x4cb5f0;this['_fieldPermissions'][_0x5eda93(0x515)](_0x206b1f(_0x5a57f1,_0x2913af)),this[_0x5eda93(0x20f)](_0x5a57f1,_0x55babb(_0x5a57f1,_0x2913af));}[_0x4cb5f0(0x239)](_0x5dd280,_0x1a9d99){const _0x5e4a2c=_0x4cb5f0;this[_0x5e4a2c(0x465)][_0x5e4a2c(0x515)](_0x40ee07(_0x5dd280,_0x1a9d99)),this[_0x5e4a2c(0x20f)](_0x5dd280,_0x48e626(_0x5dd280,_0x1a9d99));}[_0x4cb5f0(0x3f0)](_0x34ac45,_0x2cb373){const _0x4db364=_0x4cb5f0;this[_0x4db364(0x1e8)][_0x4db364(0x515)](_0x447ff9(_0x34ac45,_0x2cb373)),this[_0x4db364(0x20f)](_0x34ac45,_0x1c7213(_0x34ac45,_0x2cb373));}[_0x4cb5f0(0x51d)](){const _0x1ab60f=_0x4cb5f0;return{'bases':Object[_0x1ab60f(0x1c0)](this[_0x1ab60f(0x16b)]),'tables':Object[_0x1ab60f(0x1c0)](this[_0x1ab60f(0x1bf)]),'fields':Object[_0x1ab60f(0x1c0)](this['_fieldPermissions']),'records':Object[_0x1ab60f(0x1c0)](this[_0x1ab60f(0x465)]),'views':Object[_0x1ab60f(0x1c0)](this[_0x1ab60f(0x1e8)])};}[_0x4cb5f0(0x3a2)](_0x54544a){const _0x4446b3=_0x4cb5f0;var _0x5f4f42;return this[_0x4446b3(0x3d6)](_0x54544a,[_0x5de77d(_0x54544a)])&&(((_0x5f4f42=this[_0x4446b3(0x1bf)][_0x4446b3(0x51c)](_0x54544a))==null?void 0x0:_0x5f4f42[_0x4446b3(0x1cc)])??!0x0);}['_canEdit'](_0x11d797,_0xb08506){const _0x1c6d33=_0x4cb5f0;var _0x2a748c;let _0x29ceff=this[_0x1c6d33(0x17e)](_0x11d797);return!_0x29ceff||_0x26f94a(this[_0x1c6d33(0x1b4)],_0x29ceff,_0xb08506)&&(((_0x2a748c=this[_0x1c6d33(0x16b)]['get'](_0x29ceff))==null?void 0x0:_0x2a748c[_0x1c6d33(0x1cc)])??!0x0);}['_setObjectEdit'](_0x5c64d2,_0x7bb3f5,_0x221f69){const _0x8e1f62=_0x4cb5f0;if(_0x221f69===void 0x0)return;let _0x5818a0=this[_0x8e1f62(0x17e)](_0x5c64d2);_0x5818a0&&_0x1f339f(this['_permissionService'],_0x5818a0,_0x7bb3f5,_0x385744[_0x8e1f62(0x13c)][_0x8e1f62(0x121)],_0x221f69);}['_clearObjectEdit'](_0x26af8b,_0x4caf79){const _0x2af1ee=_0x4cb5f0;let _0x4a1f70=this[_0x2af1ee(0x17e)](_0x26af8b);_0x4a1f70&&_0x2e29fc(this['_permissionService'],_0x4a1f70,_0x4caf79,_0x385744['UnitAction'][_0x2af1ee(0x121)]);}[_0x4cb5f0(0x17e)](_0x500acc){const _0x234f1c=_0x4cb5f0;var _0x6ed850;let _0x353058=this[_0x234f1c(0x450)]['getUnit'](_0x500acc,_0x2f4877['UniverInstanceType']['UNIVER_BASE']);return _0x353058?_0x353058[_0x234f1c(0x38c)]():(_0x6ed850=this[_0x234f1c(0x450)][_0x234f1c(0x380)](_0x2f4877['UniverInstanceType']['UNIVER_BASE'])[_0x234f1c(0x3b5)](_0x1ffde2=>!!_0x1ffde2[_0x234f1c(0x51d)]()[_0x234f1c(0x1ab)][_0x500acc]))==null?void 0x0:_0x6ed850[_0x234f1c(0x38c)]();}[_0x4cb5f0(0x3bc)](_0x397a9a){const _0x260803=_0x4cb5f0;let _0x7b3df0=this[_0x260803(0x17e)](_0x397a9a);_0x7b3df0&&this[_0x260803(0x1a9)][_0x260803(0x411)](_0x397a9a,_0x7b3df0);}['_clearUnit'](_0x1d0b7c){const _0x44f4f6=_0x4cb5f0;this[_0x44f4f6(0x16b)]['delete'](_0x1d0b7c),this[_0x44f4f6(0x1a9)][_0x44f4f6(0x167)]((_0x28f590,_0x5952c4)=>{const _0x55534d=_0x44f4f6;_0x28f590===_0x1d0b7c&&(this['_tablePermissions']['delete'](_0x5952c4),_0x48af22(this['_fieldPermissions'],_0x5952c4+'\x1f'),_0x48af22(this[_0x55534d(0x465)],_0x5952c4+'\x1f'),_0x48af22(this[_0x55534d(0x1e8)],_0x5952c4+'\x1f'),this[_0x55534d(0x1a9)][_0x55534d(0x515)](_0x5952c4));});}};_0x51b201=_0x587eef([_0x101953(0x0,_0x2f4877['IPermissionService']),_0x101953(0x1,_0x2f4877[_0x4cb5f0(0x299)])],_0x51b201);function _0x48af22(_0x302a45,_0x304c47){_0x302a45['forEach']((_0x4cd8cc,_0x48f85d)=>{const _0x3491ca=_0x521f;_0x48f85d[_0x3491ca(0x316)](_0x304c47)&&_0x302a45['delete'](_0x48f85d);});}function _0x206b1f(_0x47a298,_0x4fe677){return _0x47a298+'\x1f'+_0x4fe677;}function _0x40ee07(_0xdf6b8a,_0x550b40){return _0xdf6b8a+'\x1f'+_0x550b40;}function _0x447ff9(_0x43c6f5,_0x6a5c8b){return _0x43c6f5+'\x1f'+_0x6a5c8b;}let _0x339d0e=(0x0,_0x2f4877['createIdentifier'])(_0x4cb5f0(0x24b)),_0x3d96ed=class{constructor(_0x4b9037,_0x5f05d6=_0x174256(),_0x4f501e={}){const _0x3cd5a1=_0x4cb5f0;this[_0x3cd5a1(0x1b4)]=_0x4b9037,this[_0x3cd5a1(0x48c)]=_0x5f05d6,this[_0x3cd5a1(0x4bc)]=_0x4f501e,_0x4a5f24(this,_0x3cd5a1(0x3fc),new _0x41583f()),_0x4a5f24(this,_0x3cd5a1(0x359),new _0xa877f0());}['createTable'](_0x10cf49,_0x307213,_0x11229a){const _0x1ba2d2=_0x4cb5f0;if(!this[_0x1ba2d2(0x1b4)][_0x1ba2d2(0x3ee)](_0x10cf49['getUnitId']()))throw Error(_0x1ba2d2(0x452));(0x0,_0x2f4877['assertBaseTableRecordIdentity'])(_0x307213),this['_apply'](_0x10cf49,this[_0x1ba2d2(0x3fc)][_0x1ba2d2(0x10b)](_0x10cf49['getSnapshot'](),_0x307213,_0x11229a));}[_0x4cb5f0(0x41d)](_0x2d6692,_0x4edbc7,_0x270e22){const _0x5dc65a=_0x4cb5f0;if(!this[_0x5dc65a(0x1b4)][_0x5dc65a(0x3bb)](_0x4edbc7))throw Error(_0x5dc65a(0x186));this[_0x5dc65a(0x454)](_0x2d6692,this[_0x5dc65a(0x3fc)][_0x5dc65a(0x41d)](_0x2d6692['getSnapshot'](),_0x4edbc7,_0x270e22));}[_0x4cb5f0(0x4bb)](_0x2142db,_0x559603){const _0x2de70d=_0x4cb5f0;if(!this[_0x2de70d(0x1b4)][_0x2de70d(0x191)](_0x559603))throw Error(_0x2de70d(0x23f));let _0x27fe3e=_0x52d6e6(_0x2142db[_0x2de70d(0x51d)](),_0x559603);if(_0x27fe3e[_0x2de70d(0x40a)]>0x0)throw Error(_0x2de70d(0x1e7)+_0x27fe3e['map'](_0xc41857=>_0xc41857[_0x2de70d(0x348)]+'.'+_0xc41857[_0x2de70d(0x3bd)])['join'](',\x20')+').');this[_0x2de70d(0x454)](_0x2142db,this[_0x2de70d(0x3fc)]['deleteTable'](_0x2142db[_0x2de70d(0x51d)](),_0x559603));}['updateCell'](_0x58d6be,_0x2d70fb,_0x2b9115,_0x4cc306,_0x4e6765){const _0xc2a6d5=_0x4cb5f0;this[_0xc2a6d5(0x454)](_0x58d6be,this['createUpdateCellOp'](_0x58d6be,_0x2d70fb,_0x2b9115,_0x4cc306,_0x4e6765));}[_0x4cb5f0(0x44f)](_0x5a9486,_0x3a5709,_0x4581ac){const _0x5a96b4=_0x4cb5f0;this[_0x5a96b4(0x454)](_0x5a9486,this[_0x5a96b4(0x474)](_0x5a9486,_0x3a5709,_0x4581ac));}[_0x4cb5f0(0x484)](_0x1040e4,_0x4e9316,_0xe8d8d4){const _0xcd2e90=_0x4cb5f0;this['_apply'](_0x1040e4,this[_0xcd2e90(0x4a2)](_0x1040e4,_0x4e9316,_0xe8d8d4));}[_0x4cb5f0(0x1a3)](_0x3b5342,_0x503df5,_0x298720,_0x416743,_0x1cdbe6){const _0x540bfd=_0x4cb5f0;let _0x3f4074=_0x3b5342[_0x540bfd(0x51d)](),_0x496efa=this[_0x540bfd(0x485)](_0x3f4074,_0x503df5,_0x298720,_0x416743,_0x1cdbe6),_0x2c2d02=this[_0x540bfd(0x234)](_0x3f4074,_0x503df5,_0x298720,{[_0x416743]:_0x496efa});return this[_0x540bfd(0x3fc)][_0x540bfd(0x44f)](_0x3f4074,_0x503df5,[_0x2c2d02]);}[_0x4cb5f0(0x474)](_0x54cf0f,_0x29441a,_0x152235){const _0x461c09=_0x4cb5f0;let _0x45c741=_0x54cf0f[_0x461c09(0x51d)](),_0x1059c5=_0x152235['map'](_0x16a10d=>this['_withModifiedSystemValues'](_0x45c741,_0x29441a,_0x16a10d['recordId'],{...Object[_0x461c09(0x1c0)](Object[_0x461c09(0x1c8)](_0x16a10d[_0x461c09(0x12b)])['map'](([_0x43acae,_0x5e7b8e])=>[_0x43acae,this[_0x461c09(0x485)](_0x45c741,_0x29441a,_0x16a10d[_0x461c09(0x31f)],_0x43acae,_0x5e7b8e)]))}));return this['_factory'][_0x461c09(0x44f)](_0x45c741,_0x29441a,_0x1059c5);}['createCreateRecordOp'](_0x4e9d37,_0x3a046b,_0x1ac0df){const _0x472def=_0x4cb5f0;if(!this[_0x472def(0x1b4)][_0x472def(0x16e)](_0x3a046b))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x31de2d=_0x4e9d37[_0x472def(0x51d)](),_0xd7708b=this[_0x472def(0x47d)](_0x31de2d['tables'][_0x3a046b]);return this['_factory'][_0x472def(0x484)](_0x31de2d,_0x3a046b,this[_0x472def(0x505)](_0x31de2d,_0x3a046b,_0x1ac0df,_0xd7708b));}['createBatchCreateRecordsOp'](_0x40562f,_0x189a8b,_0x276dad){const _0x1c6926=_0x4cb5f0;if(!this[_0x1c6926(0x1b4)][_0x1c6926(0x16e)](_0x189a8b))throw Error(_0x1c6926(0x267));let _0x37427a=_0x40562f[_0x1c6926(0x51d)]();return _0xb8ae93(_0x1c6926(0x468),()=>{const _0xf43772=_0x1c6926;let _0x4787d1=this[_0xf43772(0x47d)](_0x37427a[_0xf43772(0x1ab)][_0x189a8b]);return this[_0xf43772(0x3fc)][_0xf43772(0x3cb)](_0x37427a,_0x189a8b,_0x276dad['map'](_0x7f68a8=>this[_0xf43772(0x505)](_0x37427a,_0x189a8b,_0x7f68a8,_0x4787d1)));},{'existingRecords':Object['keys'](_0x37427a[_0x1c6926(0x1ab)][_0x189a8b][_0x1c6926(0x3cc)])[_0x1c6926(0x40a)],'records':_0x276dad['length']});}[_0x4cb5f0(0x1c9)](_0x2eee74,_0x351b75,_0x50bd63,_0xf2b2c4,_0x20ab45){const _0x712a9f=_0x4cb5f0;if(!this[_0x712a9f(0x1b4)]['canCreateField'](_0x351b75))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x8da701=_0x2eee74[_0x712a9f(0x51d)]();if(this[_0x712a9f(0x200)](_0x8da701,_0x50bd63),_0xf2b2c4===0x0)throw Error(_0x712a9f(0x334));let _0x129e37=this[_0x712a9f(0x3fc)][_0x712a9f(0x4de)](_0x8da701,_0x351b75,{'field':_0x50bd63,'index':_0xf2b2c4,'viewIndexes':_0x20ab45}),_0xc1451c=this[_0x712a9f(0x368)](_0x8da701,_0x351b75,_0x50bd63);if(!_0xc1451c['length'])return _0x129e37;let _0x28dedd=this[_0x712a9f(0x359)][_0x712a9f(0x19b)](_0x8da701,_0x129e37);return _0x407666([_0x129e37,this['_factory']['setRecordValues'](_0x28dedd,_0x351b75,_0xc1451c)]);}[_0x4cb5f0(0x227)](_0x55862f,_0x4e9e7f,_0x6b38f2){const _0x325a53=_0x4cb5f0;if(!this[_0x325a53(0x1b4)][_0x325a53(0x3af)](_0x4e9e7f,_0x6b38f2))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x325a53(0x454)](_0x55862f,this[_0x325a53(0x3fc)]['deleteRecord'](_0x55862f['getSnapshot'](),_0x4e9e7f,_0x6b38f2));}[_0x4cb5f0(0x49e)](_0x1ba39d,_0x107997,_0x525be8,_0x2fe30c){const _0x24cc58=_0x4cb5f0;if(!this[_0x24cc58(0x1b4)]['canCreateRecord'](_0x107997))throw Error(_0x24cc58(0x267));this[_0x24cc58(0x454)](_0x1ba39d,this[_0x24cc58(0x3fc)]['duplicateRecord'](_0x1ba39d[_0x24cc58(0x51d)](),_0x107997,_0x525be8,{..._0x2fe30c,'values':{..._0x2fe30c[_0x24cc58(0x12b)],[_0x2f4877[_0x24cc58(0x31e)]]:_0x2fe30c['id']}}));}['updateRecordOrder'](_0x41351e,_0x4ed0c0,_0x4da28f,_0x387910){const _0x5c53d0=_0x4cb5f0;if(!this[_0x5c53d0(0x1b4)][_0x5c53d0(0x4a9)](_0x4ed0c0,_0x4da28f))throw Error(_0x5c53d0(0x4e0));this[_0x5c53d0(0x454)](_0x41351e,this[_0x5c53d0(0x3fc)][_0x5c53d0(0x2e9)](_0x41351e[_0x5c53d0(0x51d)](),_0x4ed0c0,_0x4da28f,_0x387910));}['createField'](_0x1691f5,_0x168a4d,_0x3f6e72,_0x836904,_0x2c9bc8){const _0x64a5a8=_0x4cb5f0;this['_apply'](_0x1691f5,this[_0x64a5a8(0x1c9)](_0x1691f5,_0x168a4d,_0x3f6e72,_0x836904,_0x2c9bc8));}[_0x4cb5f0(0x1ce)](_0x455a87,_0x4ef72b,_0x30b50c,_0x1f3541){const _0x4e542f=_0x4cb5f0;var _0x21c262;if(!this['_permissionService']['canEditField'](_0x4ef72b,_0x30b50c))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x184e19=_0x455a87['getSnapshot'](),_0x454c7e=(_0x21c262=_0x184e19[_0x4e542f(0x1ab)][_0x4ef72b])==null?void 0x0:_0x21c262[_0x4e542f(0x189)][_0x30b50c];if(!_0x454c7e||_0x30b50c===_0x2f4877[_0x4e542f(0x31e)])throw Error(_0x4e542f(0x1c3));this['_assertFieldDefinition'](_0x184e19,{..._0x454c7e,..._0x1f3541}),this['_apply'](_0x455a87,this[_0x4e542f(0x3fc)]['updateField'](_0x184e19,_0x4ef72b,_0x30b50c,_0x1f3541));}[_0x4cb5f0(0x120)](_0x1c1763,_0x6c2cc8,_0x287c72,_0x51194e){const _0x4f79d9=_0x4cb5f0;var _0xdd23dc;if(!this[_0x4f79d9(0x1b4)][_0x4f79d9(0x402)](_0x6c2cc8,_0x287c72))throw Error(_0x4f79d9(0x284));let _0x2bd7aa=_0x1c1763['getSnapshot'](),_0x15424e=(_0xdd23dc=_0x2bd7aa[_0x4f79d9(0x1ab)][_0x6c2cc8])==null?void 0x0:_0xdd23dc['fields'][_0x287c72];if(!_0x15424e||_0x287c72===_0x2f4877[_0x4f79d9(0x31e)])throw Error(_0x4f79d9(0x45b));this['_assertFieldDefinition'](_0x2bd7aa,{..._0x15424e,..._0x51194e}),this[_0x4f79d9(0x454)](_0x1c1763,this['_factory'][_0x4f79d9(0x120)](_0x2bd7aa,_0x6c2cc8,_0x287c72,_0x51194e));}[_0x4cb5f0(0x4c1)](_0x20a45a,_0x3c1e0c,_0x21eb86){const _0xd13dec=_0x4cb5f0;var _0x555455;if(((_0x555455=_0x20a45a[_0xd13dec(0x51d)]()['tables'][_0x3c1e0c])==null?void 0x0:_0x555455[_0xd13dec(0x3e1)])===_0x21eb86||_0x21eb86===_0x2f4877['BASE_RECORD_ID_FIELD_ID'])throw Error(_0xd13dec(0x2a3));if(!this[_0xd13dec(0x1b4)][_0xd13dec(0x34d)](_0x3c1e0c,_0x21eb86))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this[_0xd13dec(0x454)](_0x20a45a,this[_0xd13dec(0x3fc)][_0xd13dec(0x4c1)](_0x20a45a[_0xd13dec(0x51d)](),_0x3c1e0c,_0x21eb86));}['moveField'](_0x291188,_0x58ba68,_0x52f9ac,_0x10edaf){const _0x3fdbb4=_0x4cb5f0;if(!this[_0x3fdbb4(0x1b4)][_0x3fdbb4(0x402)](_0x58ba68,_0x52f9ac))throw Error(_0x3fdbb4(0x284));if(_0x52f9ac===_0x2f4877[_0x3fdbb4(0x31e)]||_0x10edaf[_0x3fdbb4(0x376)]===_0x2f4877[_0x3fdbb4(0x31e)])throw Error(_0x3fdbb4(0x224));this['_apply'](_0x291188,this['_factory']['moveField'](_0x291188['getSnapshot'](),_0x58ba68,_0x52f9ac,_0x10edaf));}[_0x4cb5f0(0x51a)](_0x45d38e,_0x1ddce0,_0x107274,_0x1de65a){const _0x3ce451=_0x4cb5f0;if(!this[_0x3ce451(0x1b4)][_0x3ce451(0x4b1)](_0x1ddce0,_0x107274['id']))throw Error(_0x3ce451(0x461));this['_apply'](_0x45d38e,this['_factory'][_0x3ce451(0x51a)](_0x45d38e[_0x3ce451(0x51d)](),_0x1ddce0,_0x107274,_0x1de65a));}[_0x4cb5f0(0x33d)](_0x10b45b,_0x2b4cbb,_0x56d30c,_0x2d7966){const _0x280ed6=_0x4cb5f0;if(!this[_0x280ed6(0x1b4)][_0x280ed6(0x4b1)](_0x2b4cbb,_0x56d30c))throw Error(_0x280ed6(0x461));this[_0x280ed6(0x454)](_0x10b45b,this[_0x280ed6(0x3fc)]['renameView'](_0x10b45b[_0x280ed6(0x51d)](),_0x2b4cbb,_0x56d30c,_0x2d7966));}[_0x4cb5f0(0x2bc)](_0x5eed05,_0x304a96,_0x4f5789){const _0x5b12d8=_0x4cb5f0;if(!this[_0x5b12d8(0x1b4)]['canManageView'](_0x304a96,_0x4f5789))throw Error(_0x5b12d8(0x461));this[_0x5b12d8(0x454)](_0x5eed05,this[_0x5b12d8(0x3fc)][_0x5b12d8(0x2bc)](_0x5eed05['getSnapshot'](),_0x304a96,_0x4f5789));}[_0x4cb5f0(0x197)](_0x272c1a,_0x4d909b,_0x2916a3,_0x3a9771){const _0x26b68d=_0x4cb5f0;if(!this[_0x26b68d(0x1b4)][_0x26b68d(0x4b1)](_0x4d909b,_0x2916a3))throw Error(_0x26b68d(0x461));this[_0x26b68d(0x454)](_0x272c1a,this[_0x26b68d(0x3fc)]['moveView'](_0x272c1a[_0x26b68d(0x51d)](),_0x4d909b,_0x2916a3,_0x3a9771));}[_0x4cb5f0(0x4dc)](_0x2a7707,_0x675870,_0x3c36ee,_0x594a81){const _0x1c9f19=_0x4cb5f0;if(!this[_0x1c9f19(0x1b4)][_0x1c9f19(0x4b1)](_0x675870,_0x3c36ee))throw Error(_0x1c9f19(0x461));this['_apply'](_0x2a7707,this[_0x1c9f19(0x3fc)][_0x1c9f19(0x4dc)](_0x2a7707[_0x1c9f19(0x51d)](),_0x675870,_0x3c36ee,_0x594a81));}['setViewFilter'](_0x4d1441,_0x4221e5,_0x2ea311,_0x49b534){const _0x4daf34=_0x4cb5f0;if(!this[_0x4daf34(0x1b4)][_0x4daf34(0x4b1)](_0x4221e5,_0x2ea311))throw Error(_0x4daf34(0x461));this[_0x4daf34(0x454)](_0x4d1441,this[_0x4daf34(0x3fc)][_0x4daf34(0x195)](_0x4d1441[_0x4daf34(0x51d)](),_0x4221e5,_0x2ea311,_0x49b534));}[_0x4cb5f0(0x4ec)](_0x5505bc,_0x469f77,_0x579d1c,_0x3341d7){const _0x249095=_0x4cb5f0;if(!this['_permissionService'][_0x249095(0x4b1)](_0x469f77,_0x579d1c))throw Error(_0x249095(0x461));this[_0x249095(0x454)](_0x5505bc,this['_factory']['setViewSort'](_0x5505bc[_0x249095(0x51d)](),_0x469f77,_0x579d1c,_0x3341d7));}['setViewGroup'](_0x13cb1f,_0x291bac,_0xf07930,_0x54a4ed){const _0x3a82ab=_0x4cb5f0;if(!this[_0x3a82ab(0x1b4)][_0x3a82ab(0x4b1)](_0x291bac,_0xf07930))throw Error(_0x3a82ab(0x461));this[_0x3a82ab(0x454)](_0x13cb1f,this[_0x3a82ab(0x3fc)][_0x3a82ab(0x16c)](_0x13cb1f['getSnapshot'](),_0x291bac,_0xf07930,_0x54a4ed));}[_0x4cb5f0(0x11e)](_0x41fd37,_0x5b827f,_0x5d0fce,_0x46bd24,_0x23a89b){const _0x2bbaeb=_0x4cb5f0;if(!this['_permissionService'][_0x2bbaeb(0x4b1)](_0x5b827f,_0x5d0fce))throw Error(_0x2bbaeb(0x461));this[_0x2bbaeb(0x454)](_0x41fd37,this[_0x2bbaeb(0x3fc)][_0x2bbaeb(0x11e)](_0x41fd37[_0x2bbaeb(0x51d)](),_0x5b827f,_0x5d0fce,_0x46bd24,_0x23a89b));}[_0x4cb5f0(0x539)](_0xefadcd,_0x5612a1,_0x50929e,_0x453952,_0x2793e3){const _0x1d33c4=_0x4cb5f0;if(!this[_0x1d33c4(0x1b4)][_0x1d33c4(0x4b1)](_0x5612a1,_0x50929e))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x1d33c4(0x454)](_0xefadcd,this[_0x1d33c4(0x3fc)][_0x1d33c4(0x539)](_0xefadcd[_0x1d33c4(0x51d)](),_0x5612a1,_0x50929e,_0x453952,_0x2793e3));}[_0x4cb5f0(0x24a)](_0x73db33,_0x28e1f0,_0x2eb870,_0x27de42,_0x38dfd1){const _0x544a06=_0x4cb5f0;if(!this[_0x544a06(0x1b4)]['canManageView'](_0x28e1f0,_0x2eb870))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x73db33,this['_factory'][_0x544a06(0x24a)](_0x73db33[_0x544a06(0x51d)](),_0x28e1f0,_0x2eb870,_0x27de42,_0x38dfd1));}[_0x4cb5f0(0x454)](_0x24075e,_0xed5333){const _0x3d0978=_0x4cb5f0;let _0x4f7c40=_0x24075e['getSnapshot']();_0x24075e[_0x3d0978(0x3d7)](this[_0x3d0978(0x359)][_0x3d0978(0x19b)](_0x4f7c40,_0xed5333));}[_0x4cb5f0(0x505)](_0x4aabe6,_0x420295,_0x4f824a,_0x4d619e=this['_createNumberingAllocators'](_0x4aabe6[_0x4cb5f0(0x1ab)][_0x420295])){const _0x283162=_0x4cb5f0;let _0x12d0a5=_0x4aabe6[_0x283162(0x1ab)][_0x420295],_0x43bda2=_0x4f824a[_0x283162(0x146)]??_0x4f824a[_0x283162(0x3bf)]??this[_0x283162(0x418)](),_0x532298={..._0x4f824a,'createdBy':_0x4f824a['createdBy']??_0x43bda2,'updatedBy':_0x4f824a[_0x283162(0x3bf)]??_0x43bda2,'values':{..._0x4f824a[_0x283162(0x12b)]}};return _0x532298['values'][_0x2f4877['BASE_RECORD_ID_FIELD_ID']]=_0x532298['id'],_0x12d0a5[_0x283162(0x482)]['forEach'](_0x56acd1=>{const _0x5ba382=_0x283162;let _0x15b973=_0x12d0a5[_0x5ba382(0x189)][_0x56acd1];if(_0x15b973&&_0x532298[_0x5ba382(0x12b)][_0x56acd1]===void 0x0)switch(_0x15b973[_0x5ba382(0x3fd)]){case _0x2f4877[_0x5ba382(0x4aa)][_0x5ba382(0x269)]:var _0x35c257;_0x532298[_0x5ba382(0x12b)][_0x56acd1]=((_0x35c257=_0x4d619e['get'](_0x56acd1))==null?void 0x0:_0x35c257())??this[_0x5ba382(0x222)](_0x12d0a5,_0x56acd1)();break;case _0x2f4877[_0x5ba382(0x4aa)][_0x5ba382(0x42a)]:_0x532298['createdBy']&&(_0x532298[_0x5ba382(0x12b)][_0x56acd1]=_0x532298['createdBy']);break;case _0x2f4877['BaseFieldType']['UpdatedBy']:_0x532298[_0x5ba382(0x3bf)]&&(_0x532298[_0x5ba382(0x12b)][_0x56acd1]=_0x532298['updatedBy']);break;case _0x2f4877['BaseFieldType'][_0x5ba382(0x11d)]:_0x532298[_0x5ba382(0x12b)][_0x56acd1]=_0x4504fe(_0x532298['createdAt']);break;case _0x2f4877['BaseFieldType']['UpdatedAt']:_0x532298[_0x5ba382(0x12b)][_0x56acd1]=_0x4504fe(_0x532298[_0x5ba382(0x196)]);break;default:{let _0x2d6dc9=_0x15b973['defaultValue'];_0x2d6dc9!=null&&_0x2d6dc9!==''&&!(Array[_0x5ba382(0x156)](_0x2d6dc9)&&_0x2d6dc9['length']===0x0)&&(_0x532298[_0x5ba382(0x12b)][_0x56acd1]=_0x2d6dc9);}}}),_0x532298;}[_0x4cb5f0(0x234)](_0x2516b0,_0x1e57c4,_0x9b3fdc,_0x45c0c9){const _0x363eca=_0x4cb5f0;var _0x2a044e,_0x40e322;let _0x37ea9a=_0x2516b0[_0x363eca(0x1ab)][_0x1e57c4],_0x6519db=((_0x2a044e=(_0x40e322=this[_0x363eca(0x4bc)])[_0x363eca(0x312)])==null?void 0x0:_0x2a044e[_0x363eca(0x434)](_0x40e322))??Date[_0x363eca(0x312)](),_0x3a9fd7=this[_0x363eca(0x418)](),_0xdbe876={..._0x45c0c9};return _0x37ea9a[_0x363eca(0x482)]['forEach'](_0x34ec00=>{const _0x556cd5=_0x363eca;let _0x3e98f7=_0x37ea9a[_0x556cd5(0x189)][_0x34ec00];_0x3e98f7&&(_0x3e98f7['type']===_0x2f4877[_0x556cd5(0x4aa)]['UpdatedAt']&&(_0xdbe876[_0x34ec00]=_0x4504fe(_0x6519db)),_0x3e98f7[_0x556cd5(0x3fd)]===_0x2f4877[_0x556cd5(0x4aa)][_0x556cd5(0x178)]&&_0x3a9fd7&&(_0xdbe876[_0x34ec00]=_0x3a9fd7));}),{'recordId':_0x9b3fdc,'values':_0xdbe876,'recordPatch':{'updatedAt':_0x6519db,..._0x3a9fd7?{'updatedBy':_0x3a9fd7}:{}}};}[_0x4cb5f0(0x368)](_0x29a437,_0x938468,_0x50401d){const _0x3c4c45=_0x4cb5f0;let _0x2ec08d=_0x29a437[_0x3c4c45(0x1ab)][_0x938468];return!_0x2ec08d||!_0x354d06(_0x50401d)?[]:_0x50401d['type']===_0x2f4877['BaseFieldType']['Numbering']?this[_0x3c4c45(0x362)](_0x2ec08d,_0x50401d['id']):Object[_0x3c4c45(0x12b)](_0x2ec08d[_0x3c4c45(0x3cc)])['flatMap'](_0x40a97b=>{const _0x4f6f45=_0x3c4c45;let _0x837db2=this[_0x4f6f45(0x3aa)](_0x50401d,_0x40a97b);return _0x837db2===void 0x0?[]:[{'recordId':_0x40a97b['id'],'values':{[_0x50401d['id']]:_0x837db2}}];});}[_0x4cb5f0(0x3aa)](_0x433f74,_0x1b750c){const _0x4d4981=_0x4cb5f0;switch(_0x433f74[_0x4d4981(0x3fd)]){case _0x2f4877['BaseFieldType'][_0x4d4981(0x42a)]:return _0x1b750c[_0x4d4981(0x146)]??this[_0x4d4981(0x418)]();case _0x2f4877[_0x4d4981(0x4aa)][_0x4d4981(0x178)]:return _0x1b750c[_0x4d4981(0x3bf)]??this[_0x4d4981(0x418)]();case _0x2f4877[_0x4d4981(0x4aa)]['CreatedAt']:return _0x4504fe(_0x1b750c[_0x4d4981(0x248)]??Date[_0x4d4981(0x312)]());case _0x2f4877['BaseFieldType'][_0x4d4981(0x425)]:return _0x4504fe(_0x1b750c[_0x4d4981(0x196)]??Date[_0x4d4981(0x312)]());default:return;}}[_0x4cb5f0(0x47d)](_0x181a6c){const _0x29405e=_0x4cb5f0;let _0x5f0407=new Map();return _0x181a6c&&_0x181a6c['fieldOrder'][_0x29405e(0x167)](_0x31584e=>{const _0x44c961=_0x29405e;let _0xc5221c=_0x181a6c[_0x44c961(0x189)][_0x31584e];(_0xc5221c==null?void 0x0:_0xc5221c['type'])===_0x2f4877[_0x44c961(0x4aa)][_0x44c961(0x269)]&&_0x5f0407[_0x44c961(0x411)](_0x31584e,this['_createNumberingAllocator'](_0x181a6c,_0x31584e));}),_0x5f0407;}[_0x4cb5f0(0x222)](_0x531b7c,_0x2f6ca3){const _0x30c6d2=_0x4cb5f0;let _0x262734=Object[_0x30c6d2(0x12b)](_0x531b7c[_0x30c6d2(0x3cc)])[_0x30c6d2(0x28f)]((_0x33684b,_0x4aaa05)=>{const _0x367843=_0x30c6d2;let _0x50d3b0=Number(_0x4aaa05[_0x367843(0x12b)][_0x2f6ca3]);return Number['isFinite'](_0x50d3b0)?Math[_0x367843(0x459)](_0x33684b,_0x50d3b0):_0x33684b;},0x0);return()=>String(++_0x262734);}[_0x4cb5f0(0x362)](_0x2cda08,_0x34aa95){const _0x1a8442=_0x4cb5f0;let _0x1cb111=this[_0x1a8442(0x203)](_0x2cda08),_0x3381d6=this[_0x1a8442(0x222)](_0x2cda08,_0x34aa95);return _0x1cb111[_0x1a8442(0x38f)](_0x1e32f0=>this['_isNonEmptyCellValue'](_0x1e32f0['values'][_0x34aa95])?[]:[{'recordId':_0x1e32f0['id'],'values':{[_0x34aa95]:_0x3381d6()}}]);}[_0x4cb5f0(0x203)](_0x4d3996){const _0x374b71=_0x4cb5f0;var _0x1bebd0;let _0x5e6b58=Object[_0x374b71(0x12b)](_0x4d3996[_0x374b71(0x3cc)]),_0x24827f=new Map(_0x5e6b58[_0x374b71(0x208)](_0x4b5892=>[_0x4b5892['id'],_0x4b5892])),_0x52ce89=[],_0x17cf49=new Set();(_0x1bebd0=_0x4d3996[_0x374b71(0x279)])==null||_0x1bebd0[_0x374b71(0x167)](_0x12b82b=>{const _0x6d83e1=_0x374b71;let _0x141a32=_0x24827f[_0x6d83e1(0x51c)](_0x12b82b);_0x141a32&&(_0x52ce89[_0x6d83e1(0x158)](_0x141a32),_0x17cf49[_0x6d83e1(0x567)](_0x12b82b));});let _0x48c70d=_0x5e6b58[_0x374b71(0x431)](_0x5af4d3=>!_0x17cf49[_0x374b71(0x22a)](_0x5af4d3['id']))['sort']((_0xf397b9,_0x106f94)=>String(_0xf397b9[_0x374b71(0x4bd)]??_0xf397b9['id'])[_0x374b71(0x1e1)](String(_0x106f94[_0x374b71(0x4bd)]??_0x106f94['id']))||_0xf397b9['id'][_0x374b71(0x1e1)](_0x106f94['id']));return[..._0x52ce89,..._0x48c70d];}[_0x4cb5f0(0x464)](_0x17630b){const _0x5bd85b=_0x4cb5f0;return _0x17630b!=null&&_0x17630b!==''&&!(Array[_0x5bd85b(0x156)](_0x17630b)&&_0x17630b[_0x5bd85b(0x40a)]===0x0);}[_0x4cb5f0(0x418)](){const _0x2b2a68=_0x4cb5f0;var _0x53af3a,_0x180ded,_0x457164,_0x24af47;return((_0x53af3a=(_0x180ded=this[_0x2b2a68(0x4bc)])[_0x2b2a68(0x162)])==null?void 0x0:_0x53af3a[_0x2b2a68(0x434)](_0x180ded))??((_0x457164=(_0x24af47=this['_runtimeContext'])['getCurrentUser'])==null||(_0x457164=_0x457164[_0x2b2a68(0x434)](_0x24af47))==null?void 0x0:_0x457164[_0x2b2a68(0x13d)])??void 0x0;}[_0x4cb5f0(0x485)](_0x40b05d,_0x3fb827,_0x480225,_0x345fbc,_0x5c7801){const _0x383e10=_0x4cb5f0;var _0x5a043c;if(!this[_0x383e10(0x1b4)][_0x383e10(0x390)](_0x3fb827,_0x480225,_0x345fbc))throw Error(_0x383e10(0x1f8));let _0x130922=(_0x5a043c=_0x40b05d[_0x383e10(0x1ab)][_0x3fb827])==null?void 0x0:_0x5a043c[_0x383e10(0x189)][_0x345fbc];if(!_0x130922)throw Error(_0x383e10(0x164)+_0x345fbc+'\x22\x20does\x20not\x20exist.');let _0x50af73=this[_0x383e10(0x48c)][_0x383e10(0x51c)](_0x130922[_0x383e10(0x3fd)]);if(_0x130922[_0x383e10(0x487)]||_0x130922[_0x383e10(0x261)]||!_0x50af73['getCapabilities'](_0x130922)[_0x383e10(0x536)])throw Error(_0x383e10(0x4d4));let _0x11d312=_0x50af73[_0x383e10(0x492)](_0x5c7801,_0x130922),_0x3bd41d=_0x50af73[_0x383e10(0x378)](_0x11d312,_0x130922);if(!_0x3bd41d[_0x383e10(0x52b)])throw Error(_0x3bd41d['reason']??_0x383e10(0x124));let _0x1737b0=_0x130922[_0x383e10(0x3fd)]===_0x2f4877[_0x383e10(0x4aa)][_0x383e10(0x166)]?_0x39530c(_0x40b05d,_0x130922,_0x11d312):{'valid':!0x0};if(!_0x1737b0['valid'])throw Error(_0x1737b0[_0x383e10(0x2f9)]??'[BaseCommandService]:\x20invalid\x20RecordLink\x20value.');return _0x11d312;}[_0x4cb5f0(0x200)](_0x462800,_0x349ca7){const _0x2fb2a1=_0x4cb5f0;if(_0x349ca7['id']===_0x2f4877[_0x2fb2a1(0x31e)]||_0x349ca7[_0x2fb2a1(0x3fd)]===_0x2f4877['BaseFieldType'][_0x2fb2a1(0x3a8)]||(0x0,_0x2f4877['isBaseRecordIdFieldName'])(_0x349ca7['name']))throw Error(_0x2fb2a1(0x2a8));let _0x5aab58=_0x38bf9d(_0x462800,_0x349ca7);if(!_0x5aab58[_0x2fb2a1(0x52b)])throw Error(_0x5aab58[_0x2fb2a1(0x2f9)]??_0x2fb2a1(0x52c));}};_0x3d96ed=_0x587eef([_0x101953(0x0,_0x38012c),_0x101953(0x1,_0xe37156)],_0x3d96ed);function _0x174256(){const _0x3cf414=_0x4cb5f0;let _0x1c38ef=new _0x2d436a();return _0x591371()[_0x3cf414(0x167)](_0x4fa147=>_0x1c38ef[_0x3cf414(0x37e)](_0x4fa147)),_0x1c38ef;}function _0x354d06(_0x5d9177){const _0x4109ce=_0x4cb5f0;return _0x5d9177[_0x4109ce(0x3fd)]===_0x2f4877['BaseFieldType'][_0x4109ce(0x269)]||_0x5d9177[_0x4109ce(0x3fd)]===_0x2f4877[_0x4109ce(0x4aa)]['CreatedBy']||_0x5d9177[_0x4109ce(0x3fd)]===_0x2f4877['BaseFieldType'][_0x4109ce(0x178)]||_0x5d9177[_0x4109ce(0x3fd)]===_0x2f4877[_0x4109ce(0x4aa)][_0x4109ce(0x11d)]||_0x5d9177['type']===_0x2f4877[_0x4109ce(0x4aa)][_0x4109ce(0x425)];}let _0x10bc60=new Set([_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x235)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x2b4)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x29f)]]);function _0x468529(_0xcc05eb){const _0x9bd4a0=_0x4cb5f0;let _0x22de83=_0xcc05eb[_0x9bd4a0(0x189)][_0xcc05eb['primaryFieldId']];if((!_0x22de83||_0x22de83[_0x9bd4a0(0x261)]!==!0x0&&_0x22de83['id'][_0x9bd4a0(0x4e8)]()!=='id'&&_0x22de83[_0x9bd4a0(0x406)][_0x9bd4a0(0x11b)]()[_0x9bd4a0(0x4e8)]()!=='id')&&_0x22de83)return _0x22de83['id'];for(let _0x1be393 of _0xcc05eb[_0x9bd4a0(0x482)]){let _0x1378d1=_0xcc05eb[_0x9bd4a0(0x189)][_0x1be393];if(_0x1378d1&&_0x1378d1['id']!==_0xcc05eb[_0x9bd4a0(0x3e1)]&&_0x1378d1[_0x9bd4a0(0x261)]!==!0x0&&_0x1378d1[_0x9bd4a0(0x3fd)]!==_0x2f4877[_0x9bd4a0(0x4aa)][_0x9bd4a0(0x3a8)])return _0x1378d1['id'];}return _0xcc05eb['primaryFieldId'];}function _0x7ef3d0(_0x10c9ed,_0x5573fe=[],_0x5d19c1=0x5){const _0x2c4935=_0x4cb5f0;let _0x30f958=new Set(_0x5573fe[_0x2c4935(0x431)](_0x1998b9=>!!_0x1998b9)),_0x5cbc6d=[],_0x8fa882=[];for(let _0x2de933 of _0x10c9ed[_0x2c4935(0x482)]){let _0x176ffd=_0x10c9ed[_0x2c4935(0x189)][_0x2de933];_0x176ffd&&_0x176ffd[_0x2c4935(0x261)]!==!0x0&&_0x176ffd[_0x2c4935(0x3fd)]!==_0x2f4877[_0x2c4935(0x4aa)][_0x2c4935(0x3a8)]&&!_0x30f958[_0x2c4935(0x22a)](_0x176ffd['id'])&&(_0x10bc60['has'](_0x176ffd[_0x2c4935(0x3fd)])?_0x5cbc6d:_0x8fa882)[_0x2c4935(0x158)](_0x176ffd['id']);}return[..._0x5cbc6d,..._0x8fa882][_0x2c4935(0x3fb)](0x0,_0x5d19c1);}function _0x23f861(){const _0x334541=_0x4cb5f0;return[{'type':_0x2f4877[_0x334541(0x2d3)][_0x334541(0x161)],'i18nKey':_0x334541(0x4e6),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x55378f=_0x334541;throw Error(_0x55378f(0x4e1));}},{'type':_0x2f4877['BaseViewType'][_0x334541(0x18e)],'i18nKey':_0x334541(0x139),'createDefaultConfig':_0x1af2f3=>{const _0x3ee728=_0x334541;let _0x42d4f7=_0x1ff877(_0x1af2f3);return{'groupFieldId':_0x42d4f7,'coverFieldId':null,'cardLayout':_0x3ee728(0x3fe),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x1af2f3['primaryFieldId'],'fieldIds':_0x7ef3d0(_0x1af2f3,[_0x1af2f3[_0x3ee728(0x3e1)],_0x42d4f7])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x2f4877[_0x334541(0x2d3)][_0x334541(0x343)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x15901c=>{const _0x59ab0b=_0x334541;let _0x1e9ed3=_0x247317(_0x15901c);return{'startDateFieldId':_0x1e9ed3,'endDateFieldId':_0x45fbf1(_0x15901c,_0x1e9ed3),'titleFieldId':_0x15901c['primaryFieldId'],'mode':_0x59ab0b(0x31d),'timeslotSize':_0x59ab0b(0x119),'timeZone':_0x59ab0b(0x34e),'displayColor':{'type':_0x59ab0b(0x28a),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3b5be2=_0x334541;throw Error(_0x3b5be2(0x35e));}},{'type':_0x2f4877[_0x334541(0x2d3)][_0x334541(0x21d)],'i18nKey':_0x334541(0x563),'createDefaultConfig':_0x5e55e2=>{const _0x185216=_0x334541;let _0x240505=_0x247317(_0x5e55e2);return{'startDateFieldId':_0x240505,'endDateFieldId':_0x45fbf1(_0x5e55e2,_0x240505)??_0x240505,'titleFieldId':_0x5e55e2[_0x185216(0x3e1)],'scale':_0x185216(0x31d),'showTodayLine':!0x0,'displayColor':{'type':_0x185216(0x28a),'color':_0x185216(0x527)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5ea0ba=_0x334541;throw Error(_0x5ea0ba(0x4c9));}},{'type':_0x2f4877[_0x334541(0x2d3)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0xd2fffa=>{const _0x3ddf36=_0x334541;let _0x4d1d38=_0x468529(_0xd2fffa);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x4d1d38,'coverFieldId':null,'fieldIds':_0x7ef3d0(_0xd2fffa,[_0x4d1d38,_0xd2fffa[_0x3ddf36(0x3e1)]])},'cardSize':_0x3ddf36(0x119)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x341a2a=_0x334541;throw Error(_0x341a2a(0x361));}}];}function _0x1ff877(_0x1de68c){const _0x5c9b6b=_0x4cb5f0;var _0x28a455,_0x45df03,_0x3cd51e;let _0x386622=_0x1de68c[_0x5c9b6b(0x482)]['map'](_0x29147c=>_0x1de68c[_0x5c9b6b(0x189)][_0x29147c])[_0x5c9b6b(0x431)](_0x16ad28=>!!_0x16ad28);return((_0x28a455=_0x386622[_0x5c9b6b(0x3b5)](_0x12481a=>_0x12481a[_0x5c9b6b(0x3fd)]===_0x2f4877[_0x5c9b6b(0x4aa)]['SingleSelect']||_0x12481a[_0x5c9b6b(0x3fd)]===_0x2f4877[_0x5c9b6b(0x4aa)][_0x5c9b6b(0x220)]||_0x12481a[_0x5c9b6b(0x3fd)]===_0x2f4877['BaseFieldType']['Group']))==null?void 0x0:_0x28a455['id'])??((_0x45df03=_0x386622[_0x5c9b6b(0x3b5)](_0x55f281=>_0x55f281[_0x5c9b6b(0x3fd)]===_0x2f4877[_0x5c9b6b(0x4aa)]['Text']))==null?void 0x0:_0x45df03['id'])??((_0x3cd51e=_0x386622[_0x5c9b6b(0x3b5)](_0x103e90=>_0x103e90[_0x5c9b6b(0x3fd)]===_0x2f4877['BaseFieldType'][_0x5c9b6b(0x14d)]||_0x103e90[_0x5c9b6b(0x3fd)]===_0x2f4877[_0x5c9b6b(0x4aa)][_0x5c9b6b(0x11d)]||_0x103e90[_0x5c9b6b(0x3fd)]===_0x2f4877[_0x5c9b6b(0x4aa)][_0x5c9b6b(0x425)]))==null?void 0x0:_0x3cd51e['id'])??_0x1de68c[_0x5c9b6b(0x3e1)];}function _0x247317(_0x2624e8){const _0x5c4961=_0x4cb5f0;var _0x26f425;return((_0x26f425=_0x2624e8[_0x5c4961(0x482)][_0x5c4961(0x208)](_0x37e405=>_0x2624e8[_0x5c4961(0x189)][_0x37e405])['find'](_0x21e96e))==null?void 0x0:_0x26f425['id'])??'';}function _0x45fbf1(_0x36ace7,_0x396ec6){const _0x147c48=_0x4cb5f0;var _0x5bea05;return(_0x5bea05=_0x36ace7[_0x147c48(0x482)][_0x147c48(0x208)](_0xbb6fef=>_0x36ace7[_0x147c48(0x189)][_0xbb6fef])['find'](_0xa3d871=>_0x21e96e(_0xa3d871)&&_0xa3d871['id']!==_0x396ec6))==null?void 0x0:_0x5bea05['id'];}function _0x21e96e(_0x159752){const _0x13463f=_0x4cb5f0;return!!_0x159752&&_0x159752[_0x13463f(0x3fd)]===_0x2f4877[_0x13463f(0x4aa)][_0x13463f(0x14d)]&&_0x159752['readonly']!==!0x0&&_0x159752[_0x13463f(0x261)]!==!0x0;}let _0x1d4522=(0x0,_0x2f4877['createIdentifier'])('base.projection.service'),_0x3ee3bc=new Set([_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x4ae)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x2b5)],_0x2f4877[_0x4cb5f0(0x4aa)]['Progress'],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x2b4)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x14d)],_0x2f4877[_0x4cb5f0(0x4aa)]['CreatedAt'],_0x2f4877[_0x4cb5f0(0x4aa)]['UpdatedAt'],_0x2f4877[_0x4cb5f0(0x4aa)]['Checkbox']]),_0x15e9f9=0x5265c00,_0x105244=class extends _0x2f4877[_0x4cb5f0(0x4ce)]{constructor(_0x1b0278){const _0x395bdd=_0x4cb5f0;super(),this[_0x395bdd(0x48c)]=_0x1b0278,_0x4a5f24(this,_0x395bdd(0x26f),new Map()),_0x4a5f24(this,'_projectionCache',new WeakMap()),_0x4a5f24(this,_0x395bdd(0x34a),new Map()),_0x4a5f24(this,'_projectedViewRowsCache',new Map()),_0x4a5f24(this,_0x395bdd(0x250),new Map()),_0x4a5f24(this,_0x395bdd(0x2b9),new Map()),_0x4a5f24(this,'_globalRevision',0x0),_0x4a5f24(this,'_tableRevisions',new Map()),_0x4a5f24(this,_0x395bdd(0x51e),new Map()),_0x4a5f24(this,'_cellInvalidations',new Map()),_0x4a5f24(this,'_viewRevisions',new Map());}[_0x4cb5f0(0x287)](_0x5e25c9){const _0x419f94=_0x4cb5f0;return this[_0x419f94(0x26f)][_0x419f94(0x411)](_0x5e25c9[_0x419f94(0x3fd)],_0x5e25c9),(0x0,_0x2f4877[_0x419f94(0x26b)])(()=>this[_0x419f94(0x26f)][_0x419f94(0x515)](_0x5e25c9[_0x419f94(0x3fd)]));}[_0x4cb5f0(0x148)](_0x12d11d,_0x2b261b,_0x493dfd){const _0x3e239d=_0x4cb5f0;var _0x35adab,_0x1f13ce,_0x363db5;return _0xb8ae93(_0x3e239d(0x40e),()=>{const _0x57e2f6=_0x3e239d;let _0x4eccf9=this[_0x57e2f6(0x4bf)](_0x12d11d,_0x2b261b,_0x493dfd);if(_0x4eccf9)return _0x4eccf9;let _0x518a74=_0x12d11d[_0x57e2f6(0x1ab)][_0x2b261b],_0x126679=_0x518a74==null?void 0x0:_0x518a74[_0x57e2f6(0x3fa)][_0x493dfd];if(!_0x518a74||!_0x126679)return this[_0x57e2f6(0x180)](_0x12d11d,_0x2b261b,_0x493dfd,{'type':_0x57e2f6(0x13b),'viewType':(_0x126679==null?void 0x0:_0x126679[_0x57e2f6(0x3fd)])??_0x2f4877[_0x57e2f6(0x2d3)]['Grid'],'reason':_0x57e2f6(0x393)});let _0x3cb37f;switch(_0x126679[_0x57e2f6(0x3fd)]){case _0x2f4877[_0x57e2f6(0x2d3)][_0x57e2f6(0x161)]:_0x3cb37f=this[_0x57e2f6(0x228)](_0x518a74,_0x126679);break;case _0x2f4877['BaseViewType'][_0x57e2f6(0x21d)]:_0x3cb37f=this[_0x57e2f6(0x19a)](_0x518a74,_0x126679);break;case _0x2f4877[_0x57e2f6(0x2d3)][_0x57e2f6(0x18e)]:_0x3cb37f=this[_0x57e2f6(0x315)](_0x518a74,_0x126679);break;case _0x2f4877[_0x57e2f6(0x2d3)][_0x57e2f6(0x343)]:_0x3cb37f=this['_buildCalendar'](_0x518a74,_0x126679);break;case _0x2f4877[_0x57e2f6(0x2d3)][_0x57e2f6(0x1b3)]:_0x3cb37f=this[_0x57e2f6(0x2ed)](_0x518a74,_0x126679);break;default:_0x3cb37f={'type':_0x57e2f6(0x13b),'viewType':_0x126679[_0x57e2f6(0x3fd)],'reason':_0x57e2f6(0x393)};}return this['_setCachedProjection'](_0x12d11d,_0x2b261b,_0x493dfd,_0x3cb37f);},{'tableId':_0x2b261b,'viewId':_0x493dfd,'viewType':(_0x35adab=_0x12d11d[_0x3e239d(0x1ab)][_0x2b261b])==null||(_0x35adab=_0x35adab[_0x3e239d(0x3fa)][_0x493dfd])==null?void 0x0:_0x35adab[_0x3e239d(0x3fd)],'records':((_0x1f13ce=_0x12d11d['tables'][_0x2b261b])==null||(_0x1f13ce=_0x1f13ce[_0x3e239d(0x279)])==null?void 0x0:_0x1f13ce[_0x3e239d(0x40a)])??Object[_0x3e239d(0x174)](((_0x363db5=_0x12d11d['tables'][_0x2b261b])==null?void 0x0:_0x363db5[_0x3e239d(0x3cc)])??{})[_0x3e239d(0x40a)]});}[_0x4cb5f0(0x4f2)](_0x46314d,_0x11386e,_0x5e164f){const _0x3f252c=_0x4cb5f0;var _0x28f4ad,_0x2866ce,_0x49a90b;let _0x364790=_0x46314d[_0x3f252c(0x1ab)][_0x11386e],_0x384436=_0x364790==null?void 0x0:_0x364790['views'][_0x5e164f];if(!_0x364790||!_0x384436)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x5e164f+'\x22.');let _0x198b18=_0x855cf9=>!!_0x364790[_0x3f252c(0x189)][_0x855cf9],_0x258e6e={..._0x384436,'filter':_0x384436['filter']?{..._0x384436['filter'],'conditions':_0x384436[_0x3f252c(0x431)][_0x3f252c(0x2bd)][_0x3f252c(0x431)](_0xa55e54=>_0x198b18(_0xa55e54[_0x3f252c(0x3bd)]))}:_0x384436['filter'],'sort':(_0x28f4ad=_0x384436[_0x3f252c(0x375)])==null?void 0x0:_0x28f4ad[_0x3f252c(0x431)](_0x420a03=>_0x198b18(_0x420a03[_0x3f252c(0x3bd)])),'group':(_0x2866ce=_0x384436['group'])==null?void 0x0:_0x2866ce[_0x3f252c(0x431)](_0x2e9cc1=>_0x198b18(_0x2e9cc1[_0x3f252c(0x3bd)])),'fieldOrder':(_0x49a90b=_0x384436[_0x3f252c(0x482)])==null?void 0x0:_0x49a90b[_0x3f252c(0x431)](_0x198b18),'fieldSettings':Object[_0x3f252c(0x1c0)](Object[_0x3f252c(0x1c8)](_0x384436[_0x3f252c(0x31c)]??{})['filter'](([_0x369ac6])=>_0x198b18(_0x369ac6)))};if(_0x258e6e['type']===_0x3f252c(0x329)){var _0x7b39fd;let _0x2092f0=_0x258e6e[_0x3f252c(0x40b)]??{},_0x33e0c8=this[_0x3f252c(0x264)](_0x364790,_0x258e6e),_0x3c1c87=this[_0x3f252c(0x3d4)](_0x364790,(_0x7b39fd=_0x2092f0[_0x3f252c(0x478)])==null?void 0x0:_0x7b39fd[_0x3f252c(0x106)]);_0x258e6e['config']={..._0x2092f0,'groupFieldId':_0x33e0c8??_0x2092f0[_0x3f252c(0x46d)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x364790,_0x2092f0),'cardLayout':_0x2092f0[_0x3f252c(0x230)]==='compose'?_0x3f252c(0x3d5):'normal','showFieldNames':_0x2092f0['showFieldNames']!==!0x1,'fieldSettings':Object[_0x3f252c(0x1c0)](Object['entries'](_0x2092f0[_0x3f252c(0x31c)]??{})[_0x3f252c(0x431)](([_0x4c8764])=>_0x198b18(_0x4c8764))),'columnSettings':_0x2092f0[_0x3f252c(0x48a)]??{},'card':{..._0x2092f0[_0x3f252c(0x478)]??{},'titleFieldId':_0x3c1c87,'fieldIds':this[_0x3f252c(0x22c)](_0x364790,_0x258e6e,_0x33e0c8??'',_0x3c1c87)}};}return{'repaired':JSON[_0x3f252c(0x52e)](_0x258e6e)!==JSON[_0x3f252c(0x52e)](_0x384436),'view':_0x258e6e};}[_0x4cb5f0(0x168)](){const _0x4c811f=_0x4cb5f0;this[_0x4c811f(0x4c5)]++;}[_0x4cb5f0(0x3cd)](_0x508d07,_0x4d3a77,_0x1ecb65){const _0x28a269=_0x4cb5f0;let _0x333155=this[_0x28a269(0x17d)](_0x508d07)+0x1;this[_0x28a269(0x51e)]['set'](_0x508d07,_0x333155);let _0x299683=this[_0x28a269(0x4ab)][_0x28a269(0x51c)](_0x508d07)??[];_0x299683[_0x28a269(0x158)]({'revision':_0x333155,'recordId':_0x4d3a77,'fieldId':_0x1ecb65}),this[_0x28a269(0x4ab)][_0x28a269(0x411)](_0x508d07,_0x299683);}[_0x4cb5f0(0x21f)](_0x187f62,_0x2b168a){const _0x3eff59=_0x4cb5f0;this[_0x3eff59(0x110)](_0x187f62);}[_0x4cb5f0(0x56a)](_0x4b451c,_0x4751f6){const _0x4cff60=_0x4cb5f0;this['_viewRevisions'][_0x4cff60(0x411)](this[_0x4cff60(0x2c6)](_0x4b451c,_0x4751f6),this['_getViewRevision'](_0x4b451c,_0x4751f6)+0x1);}['_getCachedProjection'](_0x44ba48,_0x544da6,_0x28e1f8){const _0x585be9=_0x4cb5f0;var _0x146c93;let _0x422532=(_0x146c93=this[_0x585be9(0x1ac)][_0x585be9(0x51c)](_0x44ba48))==null?void 0x0:_0x146c93[_0x585be9(0x51c)](this[_0x585be9(0x3da)](_0x544da6,_0x28e1f8));return _0x422532&&_0x422532[_0x585be9(0x553)]===this['_globalRevision']&&_0x422532[_0x585be9(0x3e6)]===this[_0x585be9(0x466)](_0x544da6)&&_0x422532[_0x585be9(0x11f)]===this['_getCellRevision'](_0x544da6)&&_0x422532[_0x585be9(0x28b)]===this[_0x585be9(0x2f1)](_0x544da6,_0x28e1f8)?_0x422532[_0x585be9(0x383)]:null;}[_0x4cb5f0(0x180)](_0x2e8bc8,_0x4f8670,_0x1d21a3,_0x2bbb8c){const _0x28dad4=_0x4cb5f0;let _0x26b249=this['_projectionCache'][_0x28dad4(0x51c)](_0x2e8bc8);return _0x26b249||(_0x26b249=new Map(),this['_projectionCache'][_0x28dad4(0x411)](_0x2e8bc8,_0x26b249)),_0x26b249['set'](this['_cacheKey'](_0x4f8670,_0x1d21a3),{'projection':_0x2bbb8c,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x4f8670),'cellRevision':this[_0x28dad4(0x17d)](_0x4f8670),'viewRevision':this[_0x28dad4(0x2f1)](_0x4f8670,_0x1d21a3)}),_0x2bbb8c;}[_0x4cb5f0(0x110)](_0x359ed8){const _0x1c6b07=_0x4cb5f0;this[_0x1c6b07(0x38a)][_0x1c6b07(0x411)](_0x359ed8,this[_0x1c6b07(0x466)](_0x359ed8)+0x1);}[_0x4cb5f0(0x466)](_0xe98a8a){const _0x2ba97a=_0x4cb5f0;return this[_0x2ba97a(0x38a)][_0x2ba97a(0x51c)](_0xe98a8a)??0x0;}[_0x4cb5f0(0x17d)](_0x25ae00){const _0x590a07=_0x4cb5f0;return this['_cellRevisions'][_0x590a07(0x51c)](_0x25ae00)??0x0;}[_0x4cb5f0(0x2f1)](_0x42f8f8,_0x3d7e99){const _0x40d795=_0x4cb5f0;return this[_0x40d795(0x15f)]['get'](this[_0x40d795(0x2c6)](_0x42f8f8,_0x3d7e99))??0x0;}['_cacheKey'](_0x227a87,_0xbee241){return _0x227a87+'\x00'+_0xbee241;}[_0x4cb5f0(0x1e3)](_0x25996c,_0x207edb){return _0x25996c+'\x00'+this['_rowTransformCacheSegment'](_0x207edb);}[_0x4cb5f0(0x480)](_0x2cb83f,_0x45d879,_0x357e8e){const _0x525576=_0x4cb5f0;return _0x2cb83f+'\x00'+this[_0x525576(0x476)](_0x45d879)+'\x00'+this[_0x525576(0x4eb)](_0x357e8e);}[_0x4cb5f0(0x476)](_0x54bc72){const _0x3a7b12=_0x4cb5f0;return _0x54bc72?_0x5ada3c({'filter':_0x30d52d(_0x54bc72[_0x3a7b12(0x431)]),'sort':_0x345238(_0x54bc72[_0x3a7b12(0x375)])}):_0x3a7b12(0x2e5);}['_groupConfigCacheSegment'](_0x44a1ee){const _0x2e669e=_0x4cb5f0;return _0x5ada3c(_0x44a1ee[_0x2e669e(0x208)](_0x5cb8ac=>({'fieldId':_0x5cb8ac['fieldId'],'direction':_0x5cb8ac[_0x2e669e(0x34c)]??null})));}[_0x4cb5f0(0x2c6)](_0x351631,_0x3a59b0){return _0x351631+'\x00'+_0x3a59b0;}['_buildGrid'](_0x2c7705,_0x14b58e){const _0x2196f8=_0x4cb5f0;var _0x4601e2;let _0x373856=_0x595553(_0x2c7705),_0x379ea0=this['_projectRows'](_0x2c7705,_0x14b58e),_0x8e01b4=(_0x4601e2=_0x14b58e['filter'])!=null&&_0x4601e2[_0x2196f8(0x2bd)][_0x2196f8(0x40a)]?this[_0x2196f8(0x143)](_0x2c7705,{..._0x14b58e,'filter':null}):_0x379ea0,_0x173f8f=_0x1b4055(this[_0x2196f8(0x4a5)](_0x2c7705,_0x373856,_0x14b58e['id'],_0x8e01b4[_0x2196f8(0x208)](_0x598f97=>_0x598f97['recordId'])),_0x8e01b4,new Set(_0x379ea0['map'](_0x2e6c02=>_0x2e6c02[_0x2196f8(0x31f)])));return{'type':_0x2f4877[_0x2196f8(0x2d3)][_0x2196f8(0x161)],'fields':this[_0x2196f8(0x442)](_0x2c7705,_0x14b58e),'rows':_0x173f8f['rows'],'groups':this[_0x2196f8(0x134)](_0x2c7705,_0x14b58e,_0x173f8f[_0x2196f8(0x231)],_0x173f8f[_0x2196f8(0x207)]),'hierarchy':_0x173f8f[_0x2196f8(0x207)],'frozenFieldCount':typeof _0x14b58e[_0x2196f8(0x40b)][_0x2196f8(0x3c4)]==_0x2196f8(0x212)?_0x14b58e[_0x2196f8(0x40b)][_0x2196f8(0x3c4)]:0x0};}[_0x4cb5f0(0x4a5)](_0x54fa73,_0x2bec37,_0x4dda6c,_0x234f3b){const _0x2e3d13=_0x4cb5f0;let _0xb8d1ec=_0x54fa73['id']+'\x00'+_0x2bec37+'\x00'+_0x4dda6c,_0x599a79=this[_0x2e3d13(0x17d)](_0x54fa73['id']),_0x3c8fdb=this[_0x2e3d13(0x2b9)][_0x2e3d13(0x51c)](_0xb8d1ec);if(_0x3c8fdb&&_0x3c8fdb[_0x2e3d13(0x553)]===this[_0x2e3d13(0x4c5)]&&_0x3c8fdb[_0x2e3d13(0x3e6)]===this[_0x2e3d13(0x466)](_0x54fa73['id'])&&_0x3c8fdb[_0x2e3d13(0x1b2)][_0x2e3d13(0x40a)]===_0x234f3b['length']&&_0x3c8fdb[_0x2e3d13(0x1b2)][_0x2e3d13(0x2fa)]((_0x5c6cd6,_0x23f379)=>_0x5c6cd6===_0x234f3b[_0x23f379])){if(_0x3c8fdb['cellRevision']===_0x599a79&&_0x3c8fdb[_0x2e3d13(0x31b)]===_0x54fa73)return _0x3c8fdb[_0x2e3d13(0x1a5)];if(!this[_0x2e3d13(0x490)](_0x54fa73['id'],_0x3c8fdb['cellRevision'],_0x599a79,new Set([_0x2bec37])))return this['_hierarchyIndexCache']['set'](_0xb8d1ec,{..._0x3c8fdb,'table':_0x54fa73,'cellRevision':_0x599a79}),_0x3c8fdb[_0x2e3d13(0x1a5)];}let _0x34d388=_0x439c09(_0x54fa73,_0x2bec37,_0x234f3b);return this[_0x2e3d13(0x2b9)][_0x2e3d13(0x411)](_0xb8d1ec,{'table':_0x54fa73,'index':_0x34d388,'orderedRecordIds':_0x234f3b,'globalRevision':this[_0x2e3d13(0x4c5)],'tableRevision':this[_0x2e3d13(0x466)](_0x54fa73['id']),'cellRevision':_0x599a79}),_0x34d388;}[_0x4cb5f0(0x134)](_0x538c15,_0x5ddc93,_0x17b587,_0x5b8328){const _0x4ec22f=_0x4cb5f0;var _0x5a5358;if(!((_0x5a5358=_0x5ddc93[_0x4ec22f(0x475)])!=null&&_0x5a5358['length']))return[];let _0x36e6b9=new Map(_0x17b587[_0x4ec22f(0x208)](_0x140679=>[_0x140679[_0x4ec22f(0x31f)],_0x140679])),_0x1604c4=_0x5b8328[_0x4ec22f(0x3ad)][_0x4ec22f(0x38f)](_0x10c1e3=>{const _0x370344=_0x4ec22f;let _0x519941=_0x36e6b9[_0x370344(0x51c)](_0x10c1e3);return _0x519941?[_0x519941]:[];}),_0x6698b6=this['_projectGroups'](_0x538c15,_0x5ddc93,_0x1604c4),_0x208d91=new Map(_0x5b8328[_0x4ec22f(0x1b2)]['map']((_0x201c1e,_0x20553d)=>[_0x201c1e,_0x20553d])),_0x3a3baa=_0x178ede=>{const _0x35604c=_0x4ec22f;let _0x2bb31a=_0x5b8328[_0x35604c(0x1fc)][_0x178ede],_0x3526f8=_0x208d91['get'](_0x178ede)??-0x1;return _0x3526f8<0x0||!_0x2bb31a?[]:_0x5b8328[_0x35604c(0x1b2)][_0x35604c(0x3fb)](_0x3526f8,_0x2bb31a[_0x35604c(0x510)]+0x1);},_0x52c970=_0x42946a=>{const _0xc9cbe0=_0x4ec22f;var _0x5c896d,_0x208de7;return{..._0x42946a,'recordIds':(_0x5c896d=_0x42946a[_0xc9cbe0(0x138)])!=null&&_0x5c896d[_0xc9cbe0(0x40a)]?_0x42946a[_0xc9cbe0(0x3ff)]:_0x42946a[_0xc9cbe0(0x3ff)][_0xc9cbe0(0x38f)](_0x3a3baa),'children':(_0x208de7=_0x42946a[_0xc9cbe0(0x138)])==null?void 0x0:_0x208de7[_0xc9cbe0(0x208)](_0x52c970)};};return _0x6698b6[_0x4ec22f(0x208)](_0x52c970);}[_0x4cb5f0(0x315)](_0x372ee7,_0x7f818){const _0x1303fe=_0x4cb5f0;var _0x243c85;let _0x1f86bf=this['_resolveKanbanGroupFieldId'](_0x372ee7,_0x7f818),_0x5cf7f1=_0x1f86bf?_0x372ee7[_0x1303fe(0x189)][_0x1f86bf]:void 0x0;if(!_0x5cf7f1)return{'type':_0x1303fe(0x13b),'viewType':_0x2f4877['BaseViewType']['Kanban'],'reason':_0x1303fe(0x4c7),'fieldId':_0x7f818[_0x1303fe(0x40b)][_0x1303fe(0x46d)]};let _0x59562a=this[_0x1303fe(0x143)](_0x372ee7,_0x7f818),_0x3e1824=this[_0x1303fe(0x442)](_0x372ee7,_0x7f818),_0x39b0ec=_0x7f818[_0x1303fe(0x40b)]??{},_0x5debd1=this[_0x1303fe(0x3d4)](_0x372ee7,(_0x243c85=_0x39b0ec[_0x1303fe(0x478)])==null?void 0x0:_0x243c85[_0x1303fe(0x106)]),_0x3b6046=this[_0x1303fe(0x22c)](_0x372ee7,_0x7f818,_0x5cf7f1['id'],_0x5debd1),_0x2e18fb=new Map();if(_0xb12dec(_0x372ee7,_0x5cf7f1['id'])){let _0x31eea2=this[_0x1303fe(0x4a5)](_0x372ee7,_0x5cf7f1['id'],_0x7f818['id'],_0x59562a[_0x1303fe(0x208)](_0x10c603=>_0x10c603['recordId'])),_0x5cd174=new Map();return _0x59562a[_0x1303fe(0x167)](_0x405bbe=>{const _0x2cb077=_0x1303fe;let _0x3e3ee5=_0x31eea2[_0x2cb077(0x229)][_0x2cb077(0x51c)](_0x405bbe['recordId'])??null,_0x2a72c2=_0x3e3ee5??'',_0x542aa8=_0x3e3ee5?_0x372ee7[_0x2cb077(0x3cc)][_0x3e3ee5]:void 0x0,_0x126a50=_0x5cd174['get'](_0x2a72c2)??{'key':_0x2a72c2,'title':_0x542aa8?String(_0x5b2a6b(_0x372ee7,_0x542aa8['id'],_0x372ee7['primaryFieldId'])??_0x3e3ee5):this[_0x2cb077(0x4f3)](_0x5cf7f1,_0x2a72c2,_0x39b0ec),'recordIds':[]};_0x126a50[_0x2cb077(0x3ff)]['push'](_0x405bbe[_0x2cb077(0x31f)]),_0x5cd174[_0x2cb077(0x411)](_0x2a72c2,_0x126a50);}),{'type':_0x2f4877[_0x1303fe(0x2d3)][_0x1303fe(0x18e)],'fields':_0x3e1824,'rows':_0x59562a,'groups':[],'groupFieldId':_0x5cf7f1['id'],'titleFieldId':_0x5debd1,'coverFieldId':this[_0x1303fe(0x43d)](_0x372ee7,_0x39b0ec),'cardLayout':_0x39b0ec['cardLayout']===_0x1303fe(0x3d5)?_0x1303fe(0x3d5):_0x1303fe(0x3fe),'showFieldNames':_0x39b0ec['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x3b6046,'lanes':['',..._0x31eea2['orderedRecordIds']][_0x1303fe(0x38f)](_0x310f87=>{const _0xfff5d5=_0x1303fe;let _0x185621=_0x5cd174['get'](_0x310f87);return _0x185621!=null&&_0x185621[_0xfff5d5(0x3ff)]['length']?[_0x185621]:[];})};}return this[_0x1303fe(0x385)](_0x5cf7f1,_0x39b0ec)[_0x1303fe(0x167)](_0x3cf05b=>_0x2e18fb[_0x1303fe(0x411)](_0x3cf05b[_0x1303fe(0x34b)],{..._0x3cf05b,'recordIds':[]})),_0x59562a['forEach'](_0x380712=>{const _0x254097=_0x1303fe;this[_0x254097(0x564)](_0x5cf7f1,_0x380712[_0x254097(0x12b)][_0x5cf7f1['id']])['forEach'](_0x1be4f5=>{const _0x1539cd=_0x254097;let _0x28e84e=_0x2e18fb[_0x1539cd(0x51c)](_0x1be4f5)??{'key':_0x1be4f5,'title':this['_kanbanLaneTitle'](_0x5cf7f1,_0x1be4f5,_0x39b0ec),'color':this[_0x1539cd(0x314)](_0x5cf7f1,_0x1be4f5,_0x39b0ec),'recordIds':[]};_0x28e84e[_0x1539cd(0x3ff)][_0x1539cd(0x158)](_0x380712[_0x1539cd(0x31f)]),_0x2e18fb[_0x1539cd(0x411)](_0x1be4f5,_0x28e84e);});}),{'type':_0x2f4877['BaseViewType'][_0x1303fe(0x18e)],'fields':_0x3e1824,'rows':_0x59562a,'groups':this[_0x1303fe(0x1ff)](_0x372ee7,_0x7f818,_0x59562a),'groupFieldId':_0x5cf7f1['id'],'titleFieldId':_0x5debd1,'coverFieldId':this[_0x1303fe(0x43d)](_0x372ee7,_0x39b0ec),'cardLayout':_0x39b0ec[_0x1303fe(0x230)]===_0x1303fe(0x3d5)?_0x1303fe(0x3d5):'normal','showFieldNames':_0x39b0ec['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x3b6046,'lanes':Array['from'](_0x2e18fb[_0x1303fe(0x12b)]())};}[_0x4cb5f0(0x264)](_0x618bf2,_0x195481){const _0x54cd04=_0x4cb5f0;var _0x569448;let _0x51ca93=(_0x569448=_0x195481['config'])==null?void 0x0:_0x569448[_0x54cd04(0x46d)];return _0x51ca93&&this['_isKanbanGroupField'](_0x618bf2,_0x51ca93)?_0x51ca93:this[_0x54cd04(0x12e)](_0x618bf2,_0x35cff3=>this[_0x54cd04(0x30b)](_0x35cff3));}[_0x4cb5f0(0x12e)](_0xa0c991,_0x575bdb){const _0x23e7c3=_0x4cb5f0;for(let _0x5cf615 of _0xa0c991['fieldOrder']){let _0x3e7983=_0xa0c991[_0x23e7c3(0x189)][_0x5cf615];if(_0x3e7983&&_0x575bdb(_0x3e7983))return _0x3e7983['id'];}return null;}[_0x4cb5f0(0x4b0)](_0x319b65,_0x5580c6){const _0x3b4670=_0x4cb5f0;let _0x1de0c8=_0x319b65[_0x3b4670(0x189)][_0x5580c6];return this[_0x3b4670(0x30b)](_0x1de0c8)||_0xb12dec(_0x319b65,_0x5580c6);}[_0x4cb5f0(0x30b)](_0x5a0b82){const _0x15a1c6=_0x4cb5f0;return!!_0x5a0b82&&(_0x5a0b82[_0x15a1c6(0x3fd)]===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x340)]||_0x5a0b82[_0x15a1c6(0x3fd)]===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x220)]||_0x5a0b82[_0x15a1c6(0x3fd)]===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x2b4)]||_0x5a0b82[_0x15a1c6(0x3fd)]===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x324)]||_0x5a0b82['type']===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x1bc)]||_0x5a0b82[_0x15a1c6(0x3fd)]===_0x2f4877[_0x15a1c6(0x4aa)][_0x15a1c6(0x29f)]);}[_0x4cb5f0(0x3b1)](_0x175abf){const _0x56f0d3=_0x4cb5f0;return _0x175abf[_0x56f0d3(0x3fd)]===_0x2f4877['BaseFieldType'][_0x56f0d3(0x340)]||_0x175abf[_0x56f0d3(0x3fd)]===_0x2f4877[_0x56f0d3(0x4aa)]['MultiSelect'];}[_0x4cb5f0(0x43d)](_0x2971e9,_0x521e23){const _0x226173=_0x4cb5f0;var _0x4d0121;let _0x5a06a8=_0x521e23['coverFieldId']??((_0x4d0121=_0x521e23[_0x226173(0x478)])==null?void 0x0:_0x4d0121[_0x226173(0x370)])??null;if(!_0x5a06a8)return null;let _0x12923f=_0x2971e9[_0x226173(0x189)][_0x5a06a8];return _0x12923f&&this['_capabilities'](_0x12923f)[_0x226173(0x2bb)]?_0x12923f['id']:null;}[_0x4cb5f0(0x22c)](_0x2968e5,_0x1e29b0,_0x25be48,_0x568e17=this['_resolveCardTitleFieldId'](_0x2968e5,((()=>{const _0x416938=_0x4cb5f0;var _0x37bd8b;return(_0x37bd8b=_0x1e29b0['config'])==null||(_0x37bd8b=_0x37bd8b[_0x416938(0x478)])==null?void 0x0:_0x37bd8b[_0x416938(0x106)];})()))){const _0xd89a9d=_0x4cb5f0;var _0x5e6434;let _0x53d895=_0x1e29b0[_0xd89a9d(0x40b)]??{},_0x3b1f77=(_0x5e6434=_0x53d895[_0xd89a9d(0x478)])!=null&&(_0x5e6434=_0x5e6434[_0xd89a9d(0x379)])!=null&&_0x5e6434[_0xd89a9d(0x40a)]?_0x53d895[_0xd89a9d(0x478)][_0xd89a9d(0x379)]:_0x7ef3d0(_0x2968e5,[_0x568e17,_0x2968e5[_0xd89a9d(0x3e1)],_0x25be48]),_0x44f5e3=_0x53d895[_0xd89a9d(0x31c)]??{};return _0x3b1f77[_0xd89a9d(0x431)](_0x34547d=>{const _0x4a7d80=_0xd89a9d;var _0x28d78e,_0x1e85c3;let _0x18e431=_0x2968e5[_0x4a7d80(0x189)][_0x34547d];return!(!_0x18e431||_0x18e431['system']===!0x0||_0x18e431['type']===_0x2f4877[_0x4a7d80(0x4aa)][_0x4a7d80(0x3a8)]||_0x18e431['id']===_0x25be48||_0x18e431['id']===_0x568e17||(_0x28d78e=_0x1e29b0[_0x4a7d80(0x31c)])!=null&&(_0x28d78e=_0x28d78e[_0x34547d])!=null&&_0x28d78e[_0x4a7d80(0x137)]||(_0x1e85c3=_0x44f5e3[_0x34547d])!=null&&_0x1e85c3['hidden']);})[_0xd89a9d(0x375)]((_0x27d7d4,_0x5be195)=>{const _0x21b3cb=_0xd89a9d;var _0x4c37b9,_0x558aad;return(((_0x4c37b9=_0x44f5e3[_0x27d7d4])==null?void 0x0:_0x4c37b9[_0x21b3cb(0x458)])??_0x3b1f77[_0x21b3cb(0x310)](_0x27d7d4))-(((_0x558aad=_0x44f5e3[_0x5be195])==null?void 0x0:_0x558aad['order'])??_0x3b1f77[_0x21b3cb(0x310)](_0x5be195));});}[_0x4cb5f0(0x385)](_0x43fbe6,_0x5055f1){const _0x3c1fa3=_0x4cb5f0;var _0x1e481e;let _0x72a9c4=(Array[_0x3c1fa3(0x156)]((_0x1e481e=_0x43fbe6[_0x3c1fa3(0x40b)])==null?void 0x0:_0x1e481e[_0x3c1fa3(0x2db)])?_0x43fbe6[_0x3c1fa3(0x40b)][_0x3c1fa3(0x2db)]:[])['flatMap']((_0x17d545,_0x332203)=>{const _0x59bbc9=_0x3c1fa3;if(_0x17d545==null)return[];let _0x1a3c03=typeof _0x17d545=='string'?{'id':_0x17d545,'name':_0x17d545,'color':void 0x0}:_0x17d545,_0xde9dc5=String(_0x1a3c03['id']??_0x1a3c03['name']??_0x59bbc9(0x2c5)+(_0x332203+0x1));return[{'key':_0xde9dc5,'title':String(_0x1a3c03[_0x59bbc9(0x406)]??_0x1a3c03['id']??_0xde9dc5),'color':this['_kanbanLaneColor'](_0x43fbe6,_0xde9dc5,_0x5055f1)}];});return Object[_0x3c1fa3(0x1c8)](_0x5055f1[_0x3c1fa3(0x48a)]??{})[_0x3c1fa3(0x167)](([_0x59e538,_0x145139])=>{const _0x4e3bdd=_0x3c1fa3;_0x72a9c4[_0x4e3bdd(0x258)](_0x44feb0=>_0x44feb0[_0x4e3bdd(0x34b)]===_0x59e538)||_0x72a9c4[_0x4e3bdd(0x158)]({'key':_0x59e538,'title':this[_0x4e3bdd(0x3b1)](_0x43fbe6)?_0x145139[_0x4e3bdd(0x1d7)]??this[_0x4e3bdd(0x4f3)](_0x43fbe6,_0x59e538,_0x5055f1):this['_kanbanLaneTitle'](_0x43fbe6,_0x59e538,_0x5055f1),'color':this[_0x4e3bdd(0x314)](_0x43fbe6,_0x59e538,_0x5055f1)});}),_0x72a9c4;}[_0x4cb5f0(0x564)](_0x8a2ec9,_0x39e709){const _0x370c97=_0x4cb5f0;let _0x4db6bb=_0x3a064d=>{const _0x4a0d7b=_0x521f;var _0x3cc400;let _0x3546eb=_0x3a064d==null?'':String(_0x3a064d);return!_0x3546eb||!this[_0x4a0d7b(0x3b1)](_0x8a2ec9)?_0x3546eb:((_0x3cc400=_0x4642b1(_0x8a2ec9,_0x3546eb))==null?void 0x0:_0x3cc400['id'])??_0x3546eb;};if(Array[_0x370c97(0x156)](_0x39e709)){let _0x410e90=_0x39e709[_0x370c97(0x208)](_0x4db6bb)[_0x370c97(0x431)](_0x5bd1a1=>_0x5bd1a1!=='');return _0x410e90[_0x370c97(0x40a)]?_0x410e90:[''];}return[_0x4db6bb(_0x39e709)];}[_0x4cb5f0(0x4f3)](_0x2d0e97,_0x55d76f,_0x220cf5){const _0x2a1331=_0x4cb5f0;if(!_0x55d76f)return _0x2a1331(0x3e9);let _0x4d5c64=_0x4642b1(_0x2d0e97,_0x55d76f);return(_0x4d5c64==null?void 0x0:_0x4d5c64[_0x2a1331(0x406)])??_0x55d76f;}[_0x4cb5f0(0x314)](_0x23face,_0x128f18,_0x4651bf){const _0x304b8c=_0x4cb5f0;var _0x47d10e;if(this[_0x304b8c(0x3b1)](_0x23face))return(_0x47d10e=_0x4642b1(_0x23face,_0x128f18))==null?void 0x0:_0x47d10e[_0x304b8c(0x37b)];}[_0x4cb5f0(0x2c9)](_0x24f30b,_0x253cd7){const _0x1d8456=_0x4cb5f0;let _0x3d9fd4=this[_0x1d8456(0x2fe)](_0x24f30b,_0x253cd7[_0x1d8456(0x40b)]??{}),_0x1c5f92=_0x24f30b[_0x1d8456(0x189)][_0x3d9fd4[_0x1d8456(0x549)]];if(!_0x1c5f92||_0x1c5f92[_0x1d8456(0x3fd)]!==_0x2f4877[_0x1d8456(0x4aa)][_0x1d8456(0x14d)]||_0x1c5f92[_0x1d8456(0x487)]===!0x0||_0x1c5f92[_0x1d8456(0x261)]===!0x0||!this[_0x1d8456(0x104)](_0x1c5f92)['usableAsCalendarDate'])return{'type':'invalid','viewType':_0x2f4877[_0x1d8456(0x2d3)][_0x1d8456(0x343)],'reason':_0x1d8456(0x535),'fieldId':_0x3d9fd4[_0x1d8456(0x549)]};let _0x1db2b6=_0x3d9fd4[_0x1d8456(0x55e)]?_0x24f30b[_0x1d8456(0x189)][_0x3d9fd4['endDateFieldId']]:void 0x0,_0x515b9a=this['_projectRows'](_0x24f30b,_0x253cd7);return{'type':_0x2f4877[_0x1d8456(0x2d3)][_0x1d8456(0x343)],'config':_0x3d9fd4,'fields':this['_projectFields'](_0x24f30b,_0x253cd7),'rows':_0x515b9a,'groups':this[_0x1d8456(0x1ff)](_0x24f30b,_0x253cd7,_0x515b9a),'events':_0x515b9a[_0x1d8456(0x38f)](_0x3f097e=>{const _0x2bdf9b=_0x1d8456;let _0x562fe8=_0x53da3c(_0x3f097e[_0x2bdf9b(0x12b)][_0x3d9fd4[_0x2bdf9b(0x549)]]);if(!Number[_0x2bdf9b(0x560)](_0x562fe8))return[];let _0x234202=_0x3f097e[_0x2bdf9b(0x12b)][_0x3d9fd4['startDateFieldId']],_0x51f405=_0x3d9fd4[_0x2bdf9b(0x55e)]==null?void 0x0:_0x3f097e[_0x2bdf9b(0x12b)][_0x3d9fd4[_0x2bdf9b(0x55e)]],_0x21edc4=_0x3d9fd4[_0x2bdf9b(0x55e)]==null?void 0x0:_0x53da3c(_0x51f405),_0x223956=Number[_0x2bdf9b(0x560)](_0x21edc4)?_0x21edc4:void 0x0;return[{'recordId':_0x3f097e[_0x2bdf9b(0x31f)],'title':this[_0x2bdf9b(0x113)](_0x24f30b,_0x3f097e,_0x3d9fd4[_0x2bdf9b(0x106)]),'start':_0x562fe8,'end':_0x223956,'color':this[_0x2bdf9b(0x453)](_0x24f30b,_0x3f097e,_0x3d9fd4),'startMs':_0x562fe8,'endMs':_0x223956,'allDay':this['_isAllDayCalendarEvent'](_0x1c5f92,_0x1db2b6,_0x234202,_0x51f405),'fieldValues':_0x3f097e['values']}];})};}['_normalizeCalendarConfig'](_0x13ce60,_0x333f5e){const _0x1dcf48=_0x4cb5f0;let _0x59bdc9=this[_0x1dcf48(0x133)](_0x13ce60,_0x333f5e[_0x1dcf48(0x549)]),_0x7e2c9d=_0x333f5e['endDateFieldId']&&this[_0x1dcf48(0x557)](_0x13ce60,_0x333f5e[_0x1dcf48(0x55e)])?_0x333f5e[_0x1dcf48(0x55e)]:this['_findCalendarDateFieldId'](_0x13ce60,_0x59bdc9)??void 0x0,_0x807149=_0x333f5e[_0x1dcf48(0x106)]?_0x13ce60[_0x1dcf48(0x189)][_0x333f5e['titleFieldId']]:void 0x0,_0x2a5405=_0x807149&&_0x807149[_0x1dcf48(0x261)]!==!0x0&&_0x807149[_0x1dcf48(0x3fd)]!==_0x2f4877[_0x1dcf48(0x4aa)]['RecordId']?_0x333f5e['titleFieldId']:_0x13ce60['primaryFieldId'],_0x31030c=_0x333f5e[_0x1dcf48(0x449)]===_0x1dcf48(0x256)||_0x333f5e[_0x1dcf48(0x449)]===_0x1dcf48(0x232)?_0x333f5e['mode']:_0x1dcf48(0x31d),_0x253a0a=_0x333f5e['timeslotSize']===_0x1dcf48(0x55d)||_0x333f5e['timeslotSize']===_0x1dcf48(0x241)?_0x333f5e[_0x1dcf48(0x455)]:_0x1dcf48(0x119),_0x215e9c=typeof _0x333f5e['timeZone']==_0x1dcf48(0x3ef)&&_0x333f5e[_0x1dcf48(0x2d5)][_0x1dcf48(0x11b)]()?_0x333f5e[_0x1dcf48(0x2d5)]:_0x1dcf48(0x34e),_0x21424a=this[_0x1dcf48(0x24d)](_0x13ce60,_0x333f5e);return{..._0x333f5e,'startDateFieldId':_0x59bdc9,'endDateFieldId':_0x7e2c9d,'titleFieldId':_0x2a5405,'mode':_0x31030c,'timeslotSize':_0x253a0a,'timeZone':_0x215e9c,'displayColor':_0x21424a,'fieldSettings':Object[_0x1dcf48(0x1c0)](Object[_0x1dcf48(0x1c8)](_0x333f5e['fieldSettings']??{})['filter'](([_0x168f45])=>{const _0x436c4b=_0x1dcf48;let _0x7d58a0=_0x13ce60[_0x436c4b(0x189)][_0x168f45];return!!(_0x7d58a0&&_0x7d58a0[_0x436c4b(0x261)]!==!0x0&&_0x7d58a0['type']!==_0x2f4877['BaseFieldType'][_0x436c4b(0x3a8)]);}))};}[_0x4cb5f0(0x133)](_0x248479,_0x2801ee){const _0x4a677e=_0x4cb5f0;return _0x2801ee&&this[_0x4a677e(0x557)](_0x248479,_0x2801ee)?_0x2801ee:this[_0x4a677e(0x46c)](_0x248479)??_0x2801ee??'';}[_0x4cb5f0(0x46c)](_0x545db2,_0x5a684){const _0x74c9d9=_0x4cb5f0;for(let _0x1135e4 of _0x545db2[_0x74c9d9(0x482)])if(_0x1135e4!==_0x5a684&&this['_isCalendarDateField'](_0x545db2,_0x1135e4))return _0x1135e4;return null;}[_0x4cb5f0(0x557)](_0x5afb0c,_0x4c4c24){const _0x590f3d=_0x4cb5f0;let _0x29f6c7=_0x5afb0c[_0x590f3d(0x189)][_0x4c4c24];return!!_0x29f6c7&&_0x29f6c7[_0x590f3d(0x3fd)]===_0x2f4877['BaseFieldType'][_0x590f3d(0x14d)]&&_0x29f6c7[_0x590f3d(0x487)]!==!0x0&&_0x29f6c7[_0x590f3d(0x261)]!==!0x0&&this[_0x590f3d(0x104)](_0x29f6c7)[_0x590f3d(0x417)];}['_normalizeCalendarDisplayColor'](_0x356b11,_0x5a075c){const _0x403bb2=_0x4cb5f0;let _0x2e9b83=_0x5a075c['displayColor'];if((_0x2e9b83==null?void 0x0:_0x2e9b83[_0x403bb2(0x3fd)])===_0x403bb2(0x325)){let _0x5664b7=_0x356b11[_0x403bb2(0x189)][_0x2e9b83[_0x403bb2(0x3bd)]];if(_0x5664b7&&_0x5664b7[_0x403bb2(0x3fd)]===_0x2f4877['BaseFieldType']['SingleSelect'])return _0x2e9b83;}if((_0x2e9b83==null?void 0x0:_0x2e9b83[_0x403bb2(0x3fd)])==='custom'&&typeof _0x2e9b83[_0x403bb2(0x37b)]==_0x403bb2(0x3ef)&&_0x2e9b83['color'][_0x403bb2(0x11b)]())return{'type':_0x403bb2(0x28a),'color':_0x2e9b83[_0x403bb2(0x37b)]};if(_0x5a075c[_0x403bb2(0x38e)]){let _0x487c17=_0x356b11[_0x403bb2(0x189)][_0x5a075c['colorFieldId']];if(_0x487c17&&_0x487c17[_0x403bb2(0x3fd)]===_0x2f4877[_0x403bb2(0x4aa)][_0x403bb2(0x340)])return{'type':_0x403bb2(0x325),'fieldId':_0x5a075c[_0x403bb2(0x38e)]};}return{'type':'custom','color':_0x403bb2(0x3a0)};}[_0x4cb5f0(0x453)](_0x4577c2,_0x136416,_0x472d37){const _0x12a660=_0x4cb5f0;let _0xe778fe=_0x472d37[_0x12a660(0x142)];if((_0xe778fe==null?void 0x0:_0xe778fe[_0x12a660(0x3fd)])==='selectField'){var _0x54405c;let _0x40fa24=_0x4577c2[_0x12a660(0x189)][_0xe778fe[_0x12a660(0x3bd)]];if(!_0x40fa24)return;let _0x53bbe9=_0x136416['values'][_0xe778fe[_0x12a660(0x3bd)]],_0x11511f=Array[_0x12a660(0x156)](_0x53bbe9)?_0x53bbe9[0x0]:_0x53bbe9;return _0x11511f==null||(_0x54405c=_0x4642b1(_0x40fa24,String(_0x11511f)))==null?void 0x0:_0x54405c[_0x12a660(0x37b)];}if((_0xe778fe==null?void 0x0:_0xe778fe[_0x12a660(0x3fd)])===_0x12a660(0x28a))return _0xe778fe['color'];}['_isAllDayCalendarEvent'](_0x28641d,_0x897f10,_0x265c8a,_0xa78de3){const _0x496844=_0x4cb5f0;var _0x5f4b01,_0x1bd696;let _0x2b7a09=((_0x5f4b01=_0x28641d[_0x496844(0x40b)])==null?void 0x0:_0x5f4b01[_0x496844(0x2e7)])===!0x0,_0x21805f=(_0x897f10==null||(_0x1bd696=_0x897f10['config'])==null?void 0x0:_0x1bd696[_0x496844(0x2e7)])===!0x0;return!_0x2b7a09&&!_0x21805f;}[_0x4cb5f0(0x516)](_0x1ddb4d,_0x3a68e1){const _0x2e8d92=_0x4cb5f0;var _0x49ebcf,_0x4ed897;let _0x15890a=((_0x49ebcf=_0x1ddb4d['config'])==null?void 0x0:_0x49ebcf['includeTime'])===!0x0,_0x283e76=((_0x4ed897=_0x3a68e1[_0x2e8d92(0x40b)])==null?void 0x0:_0x4ed897[_0x2e8d92(0x2e7)])===!0x0;return!_0x15890a&&!_0x283e76;}[_0x4cb5f0(0x19a)](_0x50e313,_0x5e6a60){const _0x496296=_0x4cb5f0;let _0x4ab387=this[_0x496296(0x19c)](_0x50e313,_0x5e6a60['config']),_0x1952dc=_0x50e313[_0x496296(0x189)][_0x4ab387['startDateFieldId']];if(!_0x1952dc||_0x1952dc[_0x496296(0x3fd)]!==_0x2f4877[_0x496296(0x4aa)][_0x496296(0x14d)]||_0x1952dc[_0x496296(0x487)]===!0x0||_0x1952dc[_0x496296(0x261)]===!0x0||!this[_0x496296(0x104)](_0x1952dc)[_0x496296(0x47f)])return{'type':'invalid','viewType':_0x2f4877[_0x496296(0x2d3)]['Gantt'],'reason':'invalidGanttStartField','fieldId':_0x4ab387['startDateFieldId']};let _0x26a129=_0x50e313[_0x496296(0x189)][_0x4ab387['endDateFieldId']];if(!_0x26a129||_0x26a129[_0x496296(0x3fd)]!==_0x2f4877['BaseFieldType']['Date']||_0x26a129[_0x496296(0x487)]===!0x0||_0x26a129['system']===!0x0||!this['_capabilities'](_0x26a129)[_0x496296(0x19f)])return{'type':_0x496296(0x13b),'viewType':_0x2f4877[_0x496296(0x2d3)]['Gantt'],'reason':_0x496296(0x13e),'fieldId':_0x4ab387[_0x496296(0x55e)]};let _0x54c627=this['_isAllDayGanttDateRange'](_0x1952dc,_0x26a129),_0x378adf=this[_0x496296(0x143)](_0x50e313,_0x5e6a60),_0x476a9c=_0x378adf['flatMap'](_0x43b761=>{const _0x42b884=_0x496296;let _0x407531=_0x53da3c(_0x43b761[_0x42b884(0x12b)][_0x4ab387['startDateFieldId']]),_0x1ebb3a=_0x53da3c(_0x43b761[_0x42b884(0x12b)][_0x4ab387['endDateFieldId']]);if(!Number[_0x42b884(0x560)](_0x407531)||!Number[_0x42b884(0x560)](_0x1ebb3a))return[];let _0x7fa75d=Math[_0x42b884(0x498)](_0x407531,_0x1ebb3a),_0x30679a=Math[_0x42b884(0x459)](_0x407531,_0x1ebb3a),_0x3b3461=_0x4ab387[_0x42b884(0x4ea)]==null?void 0x0:Number(_0x43b761[_0x42b884(0x12b)][_0x4ab387[_0x42b884(0x4ea)]]);return[{'recordId':_0x43b761[_0x42b884(0x31f)],'title':this[_0x42b884(0x113)](_0x50e313,_0x43b761,_0x4ab387['titleFieldId']),'start':_0x7fa75d,'end':_0x30679a,'color':this[_0x42b884(0x52d)](_0x50e313,_0x43b761,_0x4ab387),'progress':Number[_0x42b884(0x560)](_0x3b3461)?_0x3b3461:void 0x0,'workingDayCount':_0x4ab387['workingDaysOnly']?_0x321ce9(_0x7fa75d,_0x30679a,_0x4ab387['workingDays']):void 0x0,'dependencyRecordIds':this[_0x42b884(0x45d)](_0x43b761['values'][_0x4ab387[_0x42b884(0x330)]??''])}];}),_0x5ac344=_0x476a9c['length']?_0x51583e(Math[_0x496296(0x498)](..._0x476a9c[_0x496296(0x208)](_0xf0f49a=>_0xf0f49a[_0x496296(0x552)]))-0x5a*_0x15e9f9):_0x51583e(Date[_0x496296(0x312)]()-0x5a*_0x15e9f9),_0x151403=_0x476a9c[_0x496296(0x40a)]?_0x51583e(Math[_0x496296(0x459)](..._0x476a9c[_0x496296(0x208)](_0x4d38ce=>_0x4d38ce[_0x496296(0x35b)]))+0x5b*_0x15e9f9):_0x51583e(Date[_0x496296(0x312)]()+0x5b*_0x15e9f9),_0x439f64=_0x1d70c0(_0x4ab387[_0x496296(0x1f6)],_0x5ac344,_0x151403,_0x4ab387['workingDaysOnly']?_0x4ab387[_0x496296(0x2ff)]:void 0x0);return{'type':_0x2f4877[_0x496296(0x2d3)][_0x496296(0x21d)],'fields':this[_0x496296(0x442)](_0x50e313,{..._0x5e6a60,'config':_0x4ab387}),'rows':_0x378adf,'groups':this[_0x496296(0x1ff)](_0x50e313,_0x5e6a60,_0x378adf),'config':_0x4ab387,'dateRangeAllDay':_0x54c627,'timeline':{'scale':_0x4ab387['scale'],'start':_0x5ac344,'end':_0x151403,'unitWidth':_0x439f64['unitWidth'],'majorHeaders':_0x439f64[_0x496296(0x53d)],'columns':_0x439f64[_0x496296(0x1b9)]},'bars':_0x476a9c};}[_0x4cb5f0(0x19c)](_0x15172d,_0x28a0ff){const _0x32a8c3=_0x4cb5f0;let _0x568d0f=this[_0x32a8c3(0x297)](_0x15172d,_0x28a0ff[_0x32a8c3(0x549)],'start'),_0x583c16=this['_resolveGanttDateFieldId'](_0x15172d,_0x28a0ff[_0x32a8c3(0x55e)],'end')||_0x568d0f,_0x24f41d=_0x28a0ff['titleFieldId']?_0x15172d[_0x32a8c3(0x189)][_0x28a0ff[_0x32a8c3(0x106)]]:void 0x0,_0x9016eb=_0x24f41d&&_0x24f41d['system']!==!0x0&&_0x24f41d['type']!==_0x2f4877[_0x32a8c3(0x4aa)][_0x32a8c3(0x3a8)]?_0x28a0ff[_0x32a8c3(0x106)]:_0x15172d[_0x32a8c3(0x3e1)],_0x2aecf4=_0x28a0ff[_0x32a8c3(0x1f6)]===_0x32a8c3(0x232)||_0x28a0ff[_0x32a8c3(0x1f6)]==='quarter'||_0x28a0ff[_0x32a8c3(0x1f6)]===_0x32a8c3(0x548)?_0x28a0ff['scale']:'month',_0xa7c0ff=_0xce821c(_0x28a0ff[_0x32a8c3(0x2ff)]);return{..._0x28a0ff,'startDateFieldId':_0x568d0f,'endDateFieldId':_0x583c16,'titleFieldId':_0x9016eb,'scale':_0x2aecf4,'leftPaneWidth':typeof _0x28a0ff[_0x32a8c3(0x341)]=='number'?_0x28a0ff[_0x32a8c3(0x341)]:void 0x0,'leftPaneCollapsed':_0x28a0ff[_0x32a8c3(0x432)]===!0x0,'showTodayLine':_0x28a0ff[_0x32a8c3(0x428)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x15172d,_0x28a0ff),'fieldSettings':Object[_0x32a8c3(0x1c0)](Object[_0x32a8c3(0x1c8)](_0x28a0ff[_0x32a8c3(0x31c)]??{})[_0x32a8c3(0x431)](([_0x55f21b])=>{const _0x3b1f0e=_0x32a8c3;let _0x3bd24a=_0x15172d[_0x3b1f0e(0x189)][_0x55f21b];return!!(_0x3bd24a&&_0x3bd24a['system']!==!0x0&&_0x3bd24a[_0x3b1f0e(0x3fd)]!==_0x2f4877[_0x3b1f0e(0x4aa)][_0x3b1f0e(0x3a8)]);})),'workingDaysOnly':_0x28a0ff['workingDaysOnly']===!0x0,'workingDays':_0xa7c0ff};}[_0x4cb5f0(0x297)](_0x488b46,_0x23188f,_0x1f722a){const _0x468465=_0x4cb5f0;if(_0x23188f&&this[_0x468465(0x541)](_0x488b46,_0x23188f,_0x1f722a)||_0x23188f)return _0x23188f;for(let _0x1448f8 of _0x488b46[_0x468465(0x482)])if(this[_0x468465(0x541)](_0x488b46,_0x1448f8,_0x1f722a))return _0x1448f8;return _0x23188f??'';}[_0x4cb5f0(0x541)](_0x440369,_0x2593b7,_0x4c76a2){const _0xab847e=_0x4cb5f0;let _0x12cb5a=_0x440369[_0xab847e(0x189)][_0x2593b7];if(!_0x12cb5a||_0x12cb5a[_0xab847e(0x3fd)]!==_0x2f4877['BaseFieldType'][_0xab847e(0x14d)]||_0x12cb5a[_0xab847e(0x487)]===!0x0||_0x12cb5a[_0xab847e(0x261)]===!0x0)return!0x1;let _0x1aed29=this[_0xab847e(0x104)](_0x12cb5a);return _0x4c76a2==='start'?_0x1aed29[_0xab847e(0x47f)]:_0x1aed29['usableAsGanttEnd'];}[_0x4cb5f0(0x2eb)](_0x1bbd1c,_0x133802){const _0x5eec9d=_0x4cb5f0;let _0x3a8b3e=_0x133802[_0x5eec9d(0x142)];if((_0x3a8b3e==null?void 0x0:_0x3a8b3e[_0x5eec9d(0x3fd)])==='selectField'){let _0x31fd4a=_0x1bbd1c[_0x5eec9d(0x189)][_0x3a8b3e[_0x5eec9d(0x3bd)]];if(_0x31fd4a&&_0x31fd4a['type']===_0x2f4877[_0x5eec9d(0x4aa)][_0x5eec9d(0x340)])return _0x3a8b3e;}return(_0x3a8b3e==null?void 0x0:_0x3a8b3e[_0x5eec9d(0x3fd)])==='conditional'&&Array[_0x5eec9d(0x156)](_0x3a8b3e[_0x5eec9d(0x435)])?{'type':_0x5eec9d(0x23d),'rules':_0x3a8b3e[_0x5eec9d(0x435)]['filter'](_0x4538e4=>!!_0x1bbd1c[_0x5eec9d(0x189)][_0x4538e4[_0x5eec9d(0x3bd)]])}:(_0x3a8b3e==null?void 0x0:_0x3a8b3e[_0x5eec9d(0x3fd)])===_0x5eec9d(0x28a)&&typeof _0x3a8b3e[_0x5eec9d(0x37b)]=='string'&&_0x3a8b3e[_0x5eec9d(0x37b)][_0x5eec9d(0x11b)]()?{'type':_0x5eec9d(0x28a),'color':_0x3a8b3e['color']}:{'type':_0x5eec9d(0x28a),'color':_0x5eec9d(0x527)};}['_ganttBarColor'](_0x34965d,_0x263086,_0x210495){const _0x2961ad=_0x4cb5f0;let _0x2931b8=_0x210495[_0x2961ad(0x142)];if((_0x2931b8==null?void 0x0:_0x2931b8[_0x2961ad(0x3fd)])===_0x2961ad(0x23d)){let _0x12a94b=_0x2931b8['rules'][_0x2961ad(0x3b5)](_0xd73db0=>this['_matchesGanttColorRule'](_0x34965d,_0x263086,_0xd73db0));if(_0x12a94b)return _0x12a94b[_0x2961ad(0x37b)];}if((_0x2931b8==null?void 0x0:_0x2931b8[_0x2961ad(0x3fd)])===_0x2961ad(0x325)){let _0x23fdd8=_0x34965d[_0x2961ad(0x189)][_0x2931b8['fieldId']];if(_0x23fdd8){var _0x91da0d;let _0x5b0709=_0x263086['values'][_0x2931b8[_0x2961ad(0x3bd)]],_0x3f6e13=Array[_0x2961ad(0x156)](_0x5b0709)?_0x5b0709[0x0]:_0x5b0709,_0x387ccf=_0x3f6e13==null||(_0x91da0d=_0x4642b1(_0x23fdd8,String(_0x3f6e13)))==null?void 0x0:_0x91da0d[_0x2961ad(0x37b)];if(_0x387ccf)return _0x387ccf;}}return(_0x2931b8==null?void 0x0:_0x2931b8['type'])==='custom'?_0x2931b8[_0x2961ad(0x37b)]:_0x2961ad(0x527);}[_0x4cb5f0(0x3e3)](_0x48ec2e,_0x357266,_0x1c6afa){const _0x16bc3f=_0x4cb5f0;let _0x55355d=_0x48ec2e[_0x16bc3f(0x189)][_0x1c6afa[_0x16bc3f(0x3bd)]];return _0x55355d?_0x36efc3(_0x357266[_0x16bc3f(0x12b)][_0x55355d['id']],_0x1c6afa[_0x16bc3f(0x47e)],_0x1c6afa[_0x16bc3f(0x4c8)],_0x55355d,{'dateMode':_0x1c6afa['dateMode']}):!0x1;}[_0x4cb5f0(0x2ed)](_0x55e9c4,_0x2e46ed){const _0x3b6c42=_0x4cb5f0;let _0x26e9c7=this[_0x3b6c42(0x143)](_0x55e9c4,_0x2e46ed),_0x2706bf=this[_0x3b6c42(0x55a)](_0x55e9c4,_0x2e46ed[_0x3b6c42(0x40b)]??{}),_0x501ab0=this[_0x3b6c42(0x442)](_0x55e9c4,_0x2e46ed);return{'type':_0x2f4877[_0x3b6c42(0x2d3)]['Gallery'],'fields':_0x501ab0,'rows':_0x26e9c7,'groups':this['_projectGroups'](_0x55e9c4,_0x2e46ed,_0x26e9c7),'titleFieldId':_0x2706bf['card'][_0x3b6c42(0x106)],'coverFieldId':_0x2706bf['coverFieldId'],'cardLayout':_0x2706bf[_0x3b6c42(0x230)]??'normal','showFieldNames':_0x2706bf[_0x3b6c42(0x201)]!==!0x1,'visibleCardFieldIds':this[_0x3b6c42(0x4e7)](_0x55e9c4,_0x2e46ed,_0x2706bf),'cardSize':_0x2706bf[_0x3b6c42(0x1fe)]??'medium','cards':_0x26e9c7[_0x3b6c42(0x208)](_0x3b95aa=>({'recordId':_0x3b95aa[_0x3b6c42(0x31f)],'title':this[_0x3b6c42(0x113)](_0x55e9c4,_0x3b95aa,_0x2706bf['card'][_0x3b6c42(0x106)]),'values':_0x3b95aa[_0x3b6c42(0x12b)]}))};}[_0x4cb5f0(0x55a)](_0x3f6c27,_0x3dc270){const _0x552221=_0x4cb5f0;let _0x19b556=_0x3dc270[_0x552221(0x478)]??{'fieldIds':[]},_0x5e6a9a=this['_resolveCardTitleFieldId'](_0x3f6c27,_0x19b556['titleFieldId']),_0x13b40d=this[_0x552221(0x3f5)](_0x3f6c27,_0x3dc270),_0x260230=_0x3dc270[_0x552221(0x1fe)]===_0x552221(0x399)||_0x3dc270['cardSize']===_0x552221(0x347)?_0x3dc270[_0x552221(0x1fe)]:'medium';return{..._0x3dc270,'coverFieldId':_0x13b40d,'cardLayout':_0x3dc270[_0x552221(0x230)]==='compose'?'compose':_0x552221(0x3fe),'showFieldNames':_0x3dc270[_0x552221(0x201)]!==!0x1,'fieldSettings':Object[_0x552221(0x1c0)](Object[_0x552221(0x1c8)](_0x3dc270[_0x552221(0x31c)]??{})['filter'](([_0x373966])=>{const _0x41d9b8=_0x552221;let _0x4ea243=_0x3f6c27['fields'][_0x373966];return!!(_0x4ea243&&_0x4ea243[_0x41d9b8(0x261)]!==!0x0&&_0x4ea243[_0x41d9b8(0x3fd)]!==_0x2f4877['BaseFieldType']['RecordId']);})),'card':{..._0x19b556,'titleFieldId':_0x5e6a9a,'coverFieldId':_0x13b40d,'fieldIds':Array['isArray'](_0x19b556['fieldIds'])?_0x19b556[_0x552221(0x379)]:[]},'cardSize':_0x260230};}[_0x4cb5f0(0x3d4)](_0x22d2c1,_0xd675ce){const _0xbf8685=_0x4cb5f0;let _0x45380e=_0xd675ce?_0x22d2c1['fields'][_0xd675ce]:void 0x0;return _0x45380e&&_0x45380e[_0xbf8685(0x261)]!==!0x0&&_0x45380e[_0xbf8685(0x3fd)]!==_0x2f4877[_0xbf8685(0x4aa)][_0xbf8685(0x3a8)]?_0x45380e['id']:_0x468529(_0x22d2c1);}[_0x4cb5f0(0x3f5)](_0x211463,_0x4bf304){const _0x2639dd=_0x4cb5f0;var _0x40424e;let _0x461ada=_0x4bf304[_0x2639dd(0x370)]??((_0x40424e=_0x4bf304[_0x2639dd(0x478)])==null?void 0x0:_0x40424e[_0x2639dd(0x370)])??null;if(!_0x461ada)return null;let _0x95d1a3=_0x211463['fields'][_0x461ada];return _0x95d1a3&&this[_0x2639dd(0x104)](_0x95d1a3)[_0x2639dd(0x2bb)]?_0x95d1a3['id']:null;}[_0x4cb5f0(0x4e7)](_0x11cf11,_0x426295,_0x7cfd7a){const _0x523acf=_0x4cb5f0;var _0x424ff2,_0x466d89,_0x43ae52;let _0x2adc4c=_0x7cfd7a[_0x523acf(0x31c)]??{},_0x44295d=((_0x424ff2=_0x7cfd7a[_0x523acf(0x478)])==null?void 0x0:_0x424ff2[_0x523acf(0x106)])??_0x468529(_0x11cf11),_0x53d090=_0x7cfd7a[_0x523acf(0x370)]??((_0x466d89=_0x7cfd7a[_0x523acf(0x478)])==null?void 0x0:_0x466d89[_0x523acf(0x370)])??null,_0xd65480=(_0x43ae52=_0x7cfd7a[_0x523acf(0x478)])!=null&&(_0x43ae52=_0x43ae52[_0x523acf(0x379)])!=null&&_0x43ae52[_0x523acf(0x40a)]?_0x7cfd7a[_0x523acf(0x478)][_0x523acf(0x379)]:_0x7ef3d0(_0x11cf11,[_0x44295d,_0x53d090,_0x11cf11[_0x523acf(0x3e1)]]);return _0xd65480[_0x523acf(0x431)](_0x426abd=>{const _0x3f459e=_0x523acf;var _0x23b54c,_0x108d07;let _0x5944b8=_0x11cf11[_0x3f459e(0x189)][_0x426abd];return!(!_0x5944b8||_0x5944b8['system']===!0x0||_0x5944b8[_0x3f459e(0x3fd)]===_0x2f4877[_0x3f459e(0x4aa)][_0x3f459e(0x3a8)]||_0x5944b8['id']===_0x44295d||_0x5944b8['id']===_0x53d090||(_0x23b54c=_0x426295[_0x3f459e(0x31c)])!=null&&(_0x23b54c=_0x23b54c[_0x426abd])!=null&&_0x23b54c[_0x3f459e(0x137)]||(_0x108d07=_0x2adc4c[_0x426abd])!=null&&_0x108d07[_0x3f459e(0x137)]);})[_0x523acf(0x375)]((_0x19d180,_0x432a2b)=>{const _0x4b71fc=_0x523acf;var _0x1b4fa1,_0x43a148;return(((_0x1b4fa1=_0x2adc4c[_0x19d180])==null?void 0x0:_0x1b4fa1[_0x4b71fc(0x458)])??_0xd65480[_0x4b71fc(0x310)](_0x19d180))-(((_0x43a148=_0x2adc4c[_0x432a2b])==null?void 0x0:_0x43a148[_0x4b71fc(0x458)])??_0xd65480['indexOf'](_0x432a2b));});}['_projectFields'](_0x109aa9,_0x1b5e93){const _0x4b8c4c=_0x4cb5f0;var _0x4653d3;return((_0x4653d3=_0x1b5e93[_0x4b8c4c(0x482)])!=null&&_0x4653d3['length']?_0x1b5e93['fieldOrder']:_0x109aa9[_0x4b8c4c(0x482)])[_0x4b8c4c(0x38f)](_0xc42656=>{const _0x49970f=_0x4b8c4c;var _0x30a9b9;let _0x2a23c5=_0x109aa9[_0x49970f(0x189)][_0xc42656],_0x56e06d=((_0x30a9b9=_0x1b5e93[_0x49970f(0x31c)])==null?void 0x0:_0x30a9b9[_0xc42656])??{};return!_0x2a23c5||_0x2a23c5[_0x49970f(0x261)]===!0x0||_0x2a23c5['type']===_0x2f4877[_0x49970f(0x4aa)][_0x49970f(0x3a8)]||_0x56e06d[_0x49970f(0x137)]?[]:[{'id':_0x2a23c5['id'],'name':_0x2a23c5[_0x49970f(0x406)],'description':_0x2a23c5[_0x49970f(0x209)],'type':_0x2a23c5[_0x49970f(0x3fd)],'config':_0x2a23c5[_0x49970f(0x40b)],'width':_0x56e06d[_0x49970f(0x253)],'setting':_0x56e06d}];});}[_0x4cb5f0(0x143)](_0x531520,_0x3c4656){const _0x14b69b=_0x4cb5f0;var _0x537258;return _0xb8ae93('BaseProjection.projectRows',()=>{const _0x565bc1=_0x521f;var _0x41d176,_0x2ceadc;let _0x54c0a9=this['_projectTableRows'](_0x531520),_0x87d4e4=this['_viewRowsCacheKey'](_0x531520['id'],_0x3c4656),_0x3190c8=this[_0x565bc1(0x17d)](_0x531520['id']),_0x21309a=this[_0x565bc1(0x4ac)][_0x565bc1(0x51c)](_0x87d4e4);if(_0x21309a&&_0x21309a[_0x565bc1(0x553)]===this[_0x565bc1(0x4c5)]&&_0x21309a[_0x565bc1(0x3e6)]===this['_getTableRevision'](_0x531520['id'])){if(_0x21309a[_0x565bc1(0x11f)]===_0x3190c8&&_0x21309a['baseRows']===_0x54c0a9)return _0x21309a[_0x565bc1(0x231)];if(_0x21309a[_0x565bc1(0x11f)]!==_0x3190c8&&!this[_0x565bc1(0x490)](_0x531520['id'],_0x21309a[_0x565bc1(0x11f)],_0x3190c8,this[_0x565bc1(0x2ce)](_0x3c4656))){let _0x5840a5=_0x21309a[_0x565bc1(0x231)]===_0x21309a[_0x565bc1(0x2e0)]?_0x54c0a9:this[_0x565bc1(0x38b)](_0x21309a[_0x565bc1(0x231)],_0x54c0a9);if(_0x5840a5)return this[_0x565bc1(0x4ac)]['set'](_0x87d4e4,{..._0x21309a,'rows':_0x5840a5,'baseRows':_0x54c0a9,'cellRevision':_0x3190c8}),_0x5840a5;}}let _0x25cd94=_0xb8ae93('BaseProjection.filterAndSortRows',()=>this[_0x565bc1(0x54b)](_0x531520,_0x3c4656,this['_filterRows'](_0x531520,_0x3c4656,_0x54c0a9)),{'tableId':_0x531520['id'],'viewId':_0x3c4656==null?void 0x0:_0x3c4656['id'],'viewType':_0x3c4656==null?void 0x0:_0x3c4656[_0x565bc1(0x3fd)],'rows':_0x54c0a9['length'],'filters':(_0x3c4656==null||(_0x41d176=_0x3c4656[_0x565bc1(0x431)])==null?void 0x0:_0x41d176[_0x565bc1(0x2bd)][_0x565bc1(0x40a)])??0x0,'sorts':(_0x3c4656==null||(_0x2ceadc=_0x3c4656['sort'])==null?void 0x0:_0x2ceadc['length'])??0x0});return this[_0x565bc1(0x4ac)][_0x565bc1(0x411)](_0x87d4e4,{'table':_0x531520,'rows':_0x25cd94,'baseRows':_0x54c0a9,'globalRevision':this[_0x565bc1(0x4c5)],'tableRevision':this[_0x565bc1(0x466)](_0x531520['id']),'cellRevision':_0x3190c8}),_0x25cd94;},{'tableId':_0x531520['id'],'viewId':_0x3c4656==null?void 0x0:_0x3c4656['id'],'viewType':_0x3c4656==null?void 0x0:_0x3c4656[_0x14b69b(0x3fd)],'records':((_0x537258=_0x531520[_0x14b69b(0x279)])==null?void 0x0:_0x537258[_0x14b69b(0x40a)])??Object[_0x14b69b(0x174)](_0x531520[_0x14b69b(0x3cc)]??{})[_0x14b69b(0x40a)]});}[_0x4cb5f0(0x335)](_0x5b0c4f){const _0x43b368=_0x4cb5f0;var _0x3cd1ce;return _0xb8ae93('BaseProjection.projectTableRows',()=>{const _0x57ace0=_0x521f;var _0x133443;let _0x2f18f9=this[_0x57ace0(0x17d)](_0x5b0c4f['id']),_0x15a3fe=this['_projectedRowsCache'][_0x57ace0(0x51c)](_0x5b0c4f['id']);if(_0x15a3fe&&_0x15a3fe[_0x57ace0(0x553)]===this[_0x57ace0(0x4c5)]&&_0x15a3fe[_0x57ace0(0x3e6)]===this[_0x57ace0(0x466)](_0x5b0c4f['id'])){if(_0x15a3fe[_0x57ace0(0x11f)]===_0x2f18f9&&_0xa42dc6(_0x15a3fe[_0x57ace0(0x31b)],_0x5b0c4f))return _0x15a3fe[_0x57ace0(0x31b)]=_0x5b0c4f,_0x15a3fe[_0x57ace0(0x231)];let _0x34c150=this[_0x57ace0(0x4cb)](_0x5b0c4f,_0x15a3fe,_0x2f18f9);if(_0x34c150)return _0x34c150;}_0x36d152(_0x5b0c4f)||_0xbfb56e(_0x5b0c4f);let _0x200266=(_0x133443=_0x5b0c4f[_0x57ace0(0x279)])!=null&&_0x133443[_0x57ace0(0x40a)]?_0x5b0c4f[_0x57ace0(0x279)]:_0x30adc0(_0x5b0c4f[_0x57ace0(0x3cc)]),_0x5804c0=_0xb8ae93(_0x57ace0(0x427),()=>{const _0x52d8ca=_0x57ace0;let _0xf50231=[];for(let _0x13c4c2 of _0x200266){let _0x49cd2e=_0x5b0c4f[_0x52d8ca(0x3cc)][_0x13c4c2];if(!_0x49cd2e)continue;let _0xa9b64e={};for(let _0x788bab of _0x5b0c4f['fieldOrder'])_0xa9b64e[_0x788bab]=_0x5b2a6b(_0x5b0c4f,_0x49cd2e['id'],_0x788bab);_0xf50231[_0x52d8ca(0x158)]({'recordId':_0x49cd2e['id'],'values':_0xa9b64e});}return _0xf50231;},{'tableId':_0x5b0c4f['id'],'records':_0x200266[_0x57ace0(0x40a)],'fields':_0x5b0c4f[_0x57ace0(0x482)][_0x57ace0(0x40a)]});return this[_0x57ace0(0x34a)][_0x57ace0(0x411)](_0x5b0c4f['id'],{'table':_0x5b0c4f,'rows':_0x5804c0,'rowIndexById':_0x5e0692(_0x5804c0),'globalRevision':this[_0x57ace0(0x4c5)],'tableRevision':this[_0x57ace0(0x466)](_0x5b0c4f['id']),'cellRevision':_0x2f18f9}),_0x5804c0;},{'tableId':_0x5b0c4f['id'],'records':((_0x3cd1ce=_0x5b0c4f[_0x43b368(0x279)])==null?void 0x0:_0x3cd1ce[_0x43b368(0x40a)])??Object[_0x43b368(0x174)](_0x5b0c4f[_0x43b368(0x3cc)]??{})[_0x43b368(0x40a)],'fields':_0x5b0c4f[_0x43b368(0x482)]['length']});}['_patchProjectedRowsForCellInvalidations'](_0x2365d4,_0x5a08db,_0x130b9f){const _0x5e627b=_0x4cb5f0;let _0x136656=(this[_0x5e627b(0x4ab)][_0x5e627b(0x51c)](_0x2365d4['id'])??[])['filter'](_0x50b70d=>_0x50b70d[_0x5e627b(0x566)]>_0x5a08db[_0x5e627b(0x11f)]&&_0x50b70d[_0x5e627b(0x566)]<=_0x130b9f);if(!_0x136656[_0x5e627b(0x40a)])return _0x5a08db['table']===_0x2365d4?_0x5a08db[_0x5e627b(0x231)]:null;let _0x32ff4c=_0x5a08db[_0x5e627b(0x231)],_0x3787fe=new Map();for(let _0x4e9e69 of _0x136656){let _0x2ee85d=_0x3787fe['get'](_0x4e9e69['recordId']);_0x2ee85d||(_0x2ee85d=new Set(),_0x3787fe[_0x5e627b(0x411)](_0x4e9e69[_0x5e627b(0x31f)],_0x2ee85d)),_0x2ee85d[_0x5e627b(0x567)](_0x4e9e69[_0x5e627b(0x3bd)]);}for(let [_0x592b15,_0x4af9a1]of _0x3787fe){if(!_0x2365d4['records'][_0x592b15])return null;let _0x304593=_0x5a08db[_0x5e627b(0x537)]['get'](_0x592b15);if(_0x304593==null)return null;_0x32ff4c===_0x5a08db[_0x5e627b(0x231)]&&(_0x32ff4c=[..._0x5a08db['rows']]);let _0x2281dd=_0x32ff4c[_0x304593],_0x3ac4ae={..._0x2281dd[_0x5e627b(0x12b)]};_0x4af9a1[_0x5e627b(0x167)](_0x194db2=>{_0x3ac4ae[_0x194db2]=_0x5b2a6b(_0x2365d4,_0x592b15,_0x194db2);}),_0x32ff4c[_0x304593]={..._0x2281dd,'values':_0x3ac4ae};}let _0x3f2ff1={'table':_0x2365d4,'rows':_0x32ff4c,'rowIndexById':_0x5a08db[_0x5e627b(0x537)],'globalRevision':this[_0x5e627b(0x4c5)],'tableRevision':this['_getTableRevision'](_0x2365d4['id']),'cellRevision':_0x130b9f};return this[_0x5e627b(0x34a)]['set'](_0x2365d4['id'],_0x3f2ff1),this[_0x5e627b(0x4ab)][_0x5e627b(0x411)](_0x2365d4['id'],(this['_cellInvalidations'][_0x5e627b(0x51c)](_0x2365d4['id'])??[])['filter'](_0x535df9=>_0x535df9[_0x5e627b(0x566)]>Math['max'](0x0,_0x130b9f-0x100))),_0x32ff4c;}[_0x4cb5f0(0x38b)](_0x23d850,_0x557ef4){const _0x4048c8=_0x4cb5f0;let _0x2da10b=new Map(_0x557ef4[_0x4048c8(0x208)](_0xa93138=>[_0xa93138[_0x4048c8(0x31f)],_0xa93138])),_0x524dd6=!0x1,_0x5a6acb=_0x23d850[_0x4048c8(0x208)](_0x2a5906=>{const _0x5b8f27=_0x4048c8;let _0x100a77=_0x2da10b[_0x5b8f27(0x51c)](_0x2a5906[_0x5b8f27(0x31f)]);return _0x100a77?_0x100a77===_0x2a5906?_0x2a5906:(_0x524dd6=!0x0,_0x100a77):_0x2a5906;});return _0x524dd6?_0x5a6acb:_0x23d850;}['_cellInvalidationsTouchFields'](_0x2e33e8,_0x53c1a8,_0xd525da,_0x112a07){const _0x485c53=_0x4cb5f0;return!_0x112a07['size']||_0x53c1a8===_0xd525da?!0x1:_0xd525da-_0x53c1a8>0x100||(this[_0x485c53(0x4ab)][_0x485c53(0x51c)](_0x2e33e8)??[])[_0x485c53(0x258)](_0x36861f=>_0x36861f['revision']>_0x53c1a8&&_0x36861f['revision']<=_0xd525da&&_0x112a07['has'](_0x36861f[_0x485c53(0x3bd)]));}['_filterSortFieldIds'](_0x22226d){const _0x30b7f8=_0x4cb5f0;var _0x5cc546,_0x141f46;let _0x35e88a=new Set();return _0x22226d==null||(_0x5cc546=_0x22226d[_0x30b7f8(0x431)])==null||_0x5cc546[_0x30b7f8(0x2bd)][_0x30b7f8(0x167)](_0x548763=>_0x35e88a[_0x30b7f8(0x567)](_0x548763[_0x30b7f8(0x3bd)])),_0x22226d==null||(_0x141f46=_0x22226d[_0x30b7f8(0x375)])==null||_0x141f46[_0x30b7f8(0x167)](_0x4a2221=>_0x35e88a[_0x30b7f8(0x567)](_0x4a2221[_0x30b7f8(0x3bd)])),_0x35e88a;}[_0x4cb5f0(0x17a)](_0xde4224){const _0x55a0c8=_0x4cb5f0;var _0x225433;let _0x256bb6=this[_0x55a0c8(0x2ce)](_0xde4224);return(_0x225433=_0xde4224[_0x55a0c8(0x475)])==null||_0x225433['forEach'](_0x5bd7d3=>_0x256bb6[_0x55a0c8(0x567)](_0x5bd7d3[_0x55a0c8(0x3bd)])),_0x256bb6;}[_0x4cb5f0(0x53c)](_0x4a8e47,_0x39fc0b,_0x50b217){const _0x19e1d8=_0x4cb5f0;let _0x3b3ee5=_0x39fc0b==null?void 0x0:_0x39fc0b[_0x19e1d8(0x431)];if(!(_0x3b3ee5!=null&&_0x3b3ee5['conditions'][_0x19e1d8(0x40a)]))return _0x50b217;let _0x221dd8=_0x3b3ee5[_0x19e1d8(0x2bd)][_0x19e1d8(0x431)](_0x280501=>!_0x29e33e(_0x280501));return _0x221dd8[_0x19e1d8(0x40a)]?_0x50b217['filter'](_0x48560b=>{const _0x2cdc93=_0x19e1d8;if(_0x3b3ee5[_0x2cdc93(0x1f2)]===_0x2f4877[_0x2cdc93(0x43c)]['OR']){for(let _0x3b98ab of _0x221dd8){let _0x25eb88=_0x4a8e47[_0x2cdc93(0x189)][_0x3b98ab[_0x2cdc93(0x3bd)]];if(!_0x25eb88||this[_0x2cdc93(0x48c)][_0x2cdc93(0x51c)](_0x25eb88[_0x2cdc93(0x3fd)])[_0x2cdc93(0x431)](_0x48560b[_0x2cdc93(0x12b)][_0x25eb88['id']],_0x3b98ab[_0x2cdc93(0x47e)],_0x3b98ab[_0x2cdc93(0x4c8)],_0x25eb88))return!0x0;}return!0x1;}for(let _0xf88413 of _0x221dd8){let _0x1ad64a=_0x4a8e47[_0x2cdc93(0x189)][_0xf88413['fieldId']];if(_0x1ad64a&&!this[_0x2cdc93(0x48c)][_0x2cdc93(0x51c)](_0x1ad64a[_0x2cdc93(0x3fd)])[_0x2cdc93(0x431)](_0x48560b['values'][_0x1ad64a['id']],_0xf88413[_0x2cdc93(0x47e)],_0xf88413[_0x2cdc93(0x4c8)],_0x1ad64a))return!0x1;}return!0x0;}):_0x50b217;}[_0x4cb5f0(0x54b)](_0x19f97e,_0x2daeef,_0x505446){const _0x5514ed=_0x4cb5f0;let _0x5cab87=(_0x2daeef==null?void 0x0:_0x2daeef['sort'])??[];if(!_0x5cab87['length'])return _0x505446;let _0x4f2f74=_0x5cab87[_0x5514ed(0x38f)](_0x56416c=>{const _0x37b1a5=_0x5514ed;let _0x1722cd=_0x19f97e[_0x37b1a5(0x189)][_0x56416c['fieldId']];return _0x1722cd?[{..._0x56416c,'field':_0x1722cd}]:[];});return _0x4f2f74[_0x5514ed(0x40a)]?this['_canUseFastSort'](_0x4f2f74)?this[_0x5514ed(0x216)](_0x4f2f74,_0x505446):[..._0x505446]['sort']((_0x2125d1,_0x56b3c4)=>{const _0x4d5d9a=_0x5514ed;for(let _0x5035ed of _0x4f2f74){let _0x440733=_0x5035ed['field'],_0x394186=this['_fieldRegistry']['get'](_0x440733[_0x4d5d9a(0x3fd)])[_0x4d5d9a(0x4e5)](_0x2125d1['values'][_0x440733['id']],_0x56b3c4[_0x4d5d9a(0x12b)][_0x440733['id']],_0x440733);if(_0x394186!==0x0)return _0x5035ed[_0x4d5d9a(0x34c)]===_0x2f4877[_0x4d5d9a(0x25a)][_0x4d5d9a(0x163)]?-_0x394186:_0x394186;}return 0x0;}):_0x505446;}['_canUseFastSort'](_0xbaf08c){const _0x557f33=_0x4cb5f0;return _0xbaf08c[_0x557f33(0x2fa)](_0x36439a=>_0x3ee3bc[_0x557f33(0x22a)](_0x36439a[_0x557f33(0x117)][_0x557f33(0x3fd)]));}[_0x4cb5f0(0x216)](_0x47c23f,_0x229ed1){const _0x759134=_0x4cb5f0;return _0x229ed1[_0x759134(0x208)]((_0x793fc2,_0x3a1747)=>({'row':_0x793fc2,'index':_0x3a1747,'keys':_0x47c23f['map'](_0xf62ae0=>_0x793fc2['values'][_0xf62ae0[_0x759134(0x3bd)]])}))[_0x759134(0x375)]((_0xec22ba,_0x1c6c84)=>{const _0x1256ef=_0x759134;for(let _0x173e22=0x0;_0x173e22<_0x47c23f[_0x1256ef(0x40a)];_0x173e22++){let _0x28ff62=_0x228e57(_0xec22ba[_0x1256ef(0x174)][_0x173e22],_0x1c6c84[_0x1256ef(0x174)][_0x173e22]);if(_0x28ff62!==0x0)return _0x47c23f[_0x173e22]['direction']===_0x2f4877[_0x1256ef(0x25a)][_0x1256ef(0x163)]?-_0x28ff62:_0x28ff62;}return _0xec22ba[_0x1256ef(0x1a5)]-_0x1c6c84[_0x1256ef(0x1a5)];})['map'](_0x64b2c5=>_0x64b2c5[_0x759134(0x405)]);}[_0x4cb5f0(0x1ff)](_0x1ef383,_0xc3a1a7,_0x355cd9){const _0x4298d7=_0x4cb5f0;var _0x57fdcb;return _0xb8ae93(_0x4298d7(0x115),()=>{const _0x2dd08d=_0x4298d7;var _0x34dab7;if(!((_0x34dab7=_0xc3a1a7[_0x2dd08d(0x475)])!=null&&_0x34dab7[_0x2dd08d(0x40a)]))return[];let _0x4714b4=_0xc3a1a7[_0x2dd08d(0x475)][_0x2dd08d(0x431)](_0x454dfe=>_0x1ef383['fields'][_0x454dfe[_0x2dd08d(0x3bd)]]);if(!_0x4714b4[_0x2dd08d(0x40a)])return[];let _0x4953fd=this[_0x2dd08d(0x480)](_0x1ef383['id'],_0xc3a1a7,_0x4714b4),_0x20b446=this['_getCellRevision'](_0x1ef383['id']),_0x52f5aa=this['_projectedGroupsCache'][_0x2dd08d(0x51c)](_0x4953fd);if(_0x52f5aa&&_0x52f5aa[_0x2dd08d(0x553)]===this[_0x2dd08d(0x4c5)]&&_0x52f5aa[_0x2dd08d(0x3e6)]===this[_0x2dd08d(0x466)](_0x1ef383['id'])){if(_0x52f5aa[_0x2dd08d(0x11f)]===_0x20b446&&_0x52f5aa[_0x2dd08d(0x231)]===_0x355cd9)return _0x52f5aa[_0x2dd08d(0x2dd)];if(_0x52f5aa[_0x2dd08d(0x11f)]!==_0x20b446&&!this[_0x2dd08d(0x490)](_0x1ef383['id'],_0x52f5aa[_0x2dd08d(0x11f)],_0x20b446,this[_0x2dd08d(0x17a)](_0xc3a1a7)))return this[_0x2dd08d(0x250)][_0x2dd08d(0x411)](_0x4953fd,{..._0x52f5aa,'rows':_0x355cd9,'cellRevision':_0x20b446}),_0x52f5aa[_0x2dd08d(0x2dd)];}let _0x1d0f28=new Map();for(let _0x3232ea of _0x355cd9){let _0x538488=_0x1d0f28,_0x5c396a='';for(let _0x4e629f=0x0;_0x4e629f<_0x4714b4['length'];_0x4e629f++){let _0x31b37c=_0x4714b4[_0x4e629f],_0x280a2c=_0x3232ea[_0x2dd08d(0x12b)][_0x31b37c[_0x2dd08d(0x3bd)]],_0x5c1573=_0x3a74ad(_0x280a2c),_0x41abe7=_0x31b37c['fieldId']+'\x00'+_0x5c1573,_0x448748=_0x5c396a+'/'+_0x31b37c[_0x2dd08d(0x3bd)]+':'+_0x5c1573,_0x186491=_0x538488[_0x2dd08d(0x51c)](_0x41abe7);_0x186491||(_0x186491={'key':_0x5c1573,'value':_0x280a2c,'path':_0x448748,'label':_0x5c1573||'Empty','fieldId':_0x31b37c[_0x2dd08d(0x3bd)],'level':_0x4e629f,'recordIds':[],'children':new Map()},_0x538488['set'](_0x41abe7,_0x186491)),_0x186491[_0x2dd08d(0x3ff)][_0x2dd08d(0x158)](_0x3232ea[_0x2dd08d(0x31f)]),_0x538488=_0x186491['children'],_0x5c396a=_0x448748;}}let _0x33ab1d=this['_materializeGroups'](_0x4714b4,_0x1d0f28,0x0);return this[_0x2dd08d(0x250)][_0x2dd08d(0x411)](_0x4953fd,{'table':_0x1ef383,'rows':_0x355cd9,'groups':_0x33ab1d,'globalRevision':this[_0x2dd08d(0x4c5)],'tableRevision':this[_0x2dd08d(0x466)](_0x1ef383['id']),'cellRevision':_0x20b446}),_0x33ab1d;},{'tableId':_0x1ef383['id'],'viewId':_0xc3a1a7['id'],'viewType':_0xc3a1a7[_0x4298d7(0x3fd)],'rows':_0x355cd9[_0x4298d7(0x40a)],'groupFields':((_0x57fdcb=_0xc3a1a7[_0x4298d7(0x475)])==null?void 0x0:_0x57fdcb[_0x4298d7(0x40a)])??0x0});}[_0x4cb5f0(0x502)](_0x4d1f9f,_0xbcf380,_0x40ecee){const _0x4b8ae4=_0x4cb5f0;var _0xc054bb;let _0x25909c=Array[_0x4b8ae4(0x489)](_0xbcf380['values']()),_0x37e447=(_0xc054bb=_0x4d1f9f[_0x40ecee])==null?void 0x0:_0xc054bb[_0x4b8ae4(0x34c)];return _0x37e447&&_0x25909c[_0x4b8ae4(0x375)]((_0x262dbd,_0x3824ff)=>{const _0x4d772f=_0x4b8ae4;let _0x286f0b=_0x262dbd[_0x4d772f(0x34b)][_0x4d772f(0x1e1)](_0x3824ff['key']);return _0x37e447===_0x2f4877[_0x4d772f(0x25a)][_0x4d772f(0x163)]?-_0x286f0b:_0x286f0b;}),_0x25909c[_0x4b8ae4(0x208)](_0x3cd32d=>({'key':_0x3cd32d['key'],'value':_0x3cd32d[_0x4b8ae4(0x2f3)],'path':_0x3cd32d[_0x4b8ae4(0x290)],'label':_0x3cd32d[_0x4b8ae4(0x23a)],'fieldId':_0x3cd32d[_0x4b8ae4(0x3bd)],'level':_0x3cd32d[_0x4b8ae4(0x131)],'recordIds':_0x3cd32d[_0x4b8ae4(0x3ff)],'children':this[_0x4b8ae4(0x502)](_0x4d1f9f,_0x3cd32d['children'],_0x40ecee+0x1)}));}[_0x4cb5f0(0x113)](_0x32a77d,_0x2d2f1f,_0x308e17){const _0x15dc35=_0x4cb5f0;let _0x302f26=_0x308e17??_0x32a77d[_0x15dc35(0x3e1)],_0x39db14=_0x2d2f1f['values'][_0x302f26];return _0x39db14==null?'':String(_0x39db14);}[_0x4cb5f0(0x45d)](_0x14baab){const _0x11f144=_0x4cb5f0;if(Array[_0x11f144(0x156)](_0x14baab))return _0x14baab['map'](String);if(typeof _0x14baab==_0x11f144(0x3ef)&&_0x14baab)return[_0x14baab];}['_capabilities'](_0x1a6752){const _0x343253=_0x4cb5f0;return this['_fieldRegistry'][_0x343253(0x51c)](_0x1a6752[_0x343253(0x3fd)])['getCapabilities'](_0x1a6752);}};_0x105244=_0x587eef([_0x101953(0x0,(0x0,_0x2f4877['Inject'])(_0xe37156))],_0x105244);function _0x3a74ad(_0xdf394c){return _0xdf394c==null?'':String(_0xdf394c);}function _0x5e0692(_0xd24dde){const _0x2c321a=_0x4cb5f0;return new Map(_0xd24dde[_0x2c321a(0x208)]((_0x58f460,_0x355536)=>[_0x58f460['recordId'],_0x355536]));}function _0x36d152(_0x4b0f41){const _0x2fc13d=_0x4cb5f0;return!!(Array[_0x2fc13d(0x156)](_0x4b0f41[_0x2fc13d(0x279)])&&_0x4b0f41['rowIndex']&&_0x4b0f41[_0x2fc13d(0x151)]&&_0x4b0f41[_0x2fc13d(0x276)]&&_0x4b0f41[_0x2fc13d(0x518)]&&_0x4b0f41['cellData']);}function _0x30d52d(_0x2e1c31){const _0x4f8829=_0x4cb5f0;let _0x41d346=(_0x2e1c31==null?void 0x0:_0x2e1c31[_0x4f8829(0x2bd)]['filter'](_0x3ade84=>!_0x29e33e(_0x3ade84)))??[];return!_0x2e1c31||!_0x41d346['length']?null:{'conjunction':_0x2e1c31[_0x4f8829(0x1f2)],'conditions':_0x41d346[_0x4f8829(0x208)](_0x35807c=>({'fieldId':_0x35807c['fieldId'],'operator':_0x35807c[_0x4f8829(0x47e)],'operand':_0x35807c[_0x4f8829(0x4c8)]}))};}function _0xa42dc6(_0x395b3d,_0x3fa832){const _0xc338a3=_0x4cb5f0;return _0x395b3d[_0xc338a3(0x3cc)]===_0x3fa832['records']&&_0x395b3d['recordOrder']===_0x3fa832[_0xc338a3(0x279)]&&_0x395b3d['fields']===_0x3fa832[_0xc338a3(0x189)]&&_0x395b3d['fieldOrder']===_0x3fa832['fieldOrder']&&_0x395b3d[_0xc338a3(0x3ca)]===_0x3fa832['cellData']&&_0x395b3d[_0xc338a3(0x122)]===_0x3fa832['rowIndex']&&_0x395b3d[_0xc338a3(0x151)]===_0x3fa832['rowId']&&_0x395b3d['colIndex']===_0x3fa832['colIndex']&&_0x395b3d[_0xc338a3(0x518)]===_0x3fa832[_0xc338a3(0x518)];}function _0x345238(_0x400da1){const _0xaac866=_0x4cb5f0;return _0x400da1!=null&&_0x400da1[_0xaac866(0x40a)]?_0x400da1[_0xaac866(0x208)](_0x740f96=>({'fieldId':_0x740f96['fieldId'],'direction':_0x740f96[_0xaac866(0x34c)]})):null;}function _0x5ada3c(_0x448c35){const _0x5a201d=_0x4cb5f0;if(typeof _0x448c35!=_0x5a201d(0x2dc)||!_0x448c35)return JSON[_0x5a201d(0x52e)](_0x448c35)??_0x5a201d(0x514);if(Array[_0x5a201d(0x156)](_0x448c35))return'['+_0x448c35[_0x5a201d(0x208)](_0x5ada3c)[_0x5a201d(0x483)](',')+']';let _0x3b184b=_0x448c35;return'{'+Object[_0x5a201d(0x174)](_0x3b184b)['sort']()['map'](_0x5231f8=>JSON[_0x5a201d(0x52e)](_0x5231f8)+':'+_0x5ada3c(_0x3b184b[_0x5231f8]))[_0x5a201d(0x483)](',')+'}';}function _0x30adc0(_0x255782){const _0xd4ec2c=_0x4cb5f0;let _0x2ca5da=Object[_0xd4ec2c(0x12b)](_0x255782)[_0xd4ec2c(0x375)]((_0x4cc254,_0x33bf1b)=>_0x4cc254[_0xd4ec2c(0x4bd)][_0xd4ec2c(0x1e1)](_0x33bf1b['orderKey'])),_0x82fa8=[];for(let _0x445369 of _0x2ca5da)_0x82fa8[_0xd4ec2c(0x158)](_0x445369['id']);return _0x82fa8;}function _0xce821c(_0x11c6c9){const _0x49ed78=_0x4cb5f0;return{'weekdays':Array[_0x49ed78(0x156)](_0x11c6c9==null?void 0x0:_0x11c6c9[_0x49ed78(0x27e)])&&_0x11c6c9[_0x49ed78(0x27e)]['length']?[...new Set(_0x11c6c9[_0x49ed78(0x27e)]['filter'](_0x2ecf8b=>Number[_0x49ed78(0x50d)](_0x2ecf8b)&&_0x2ecf8b>=0x1&&_0x2ecf8b<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x49ed78(0x156)](_0x11c6c9==null?void 0x0:_0x11c6c9['exceptions'])?_0x11c6c9[_0x49ed78(0x3b8)][_0x49ed78(0x38f)](_0x4fb047=>!_0x4fb047||!Number[_0x49ed78(0x560)](_0x4fb047['date'])?[]:[{'id':String(_0x4fb047['id']||_0x49ed78(0x246)+_0x4fb047[_0x49ed78(0x2a2)]),'date':_0x51583e(Number(_0x4fb047[_0x49ed78(0x2a2)])),'name':String(_0x4fb047[_0x49ed78(0x406)]||'Working\x20day'),'type':_0x4fb047[_0x49ed78(0x3fd)]===_0x49ed78(0x533)?'working':_0x49ed78(0x296)}]):[]};}function _0x1d70c0(_0x196d60,_0x19936a,_0x3b1022,_0x2fb3c9){let _0x527015=_0x5006d6(_0x196d60,_0x19936a),_0x39744e=_0x22b4cb(_0x196d60,_0x3b1022),_0x588356=_0x340ad3(_0x196d60,_0x527015,_0x39744e,_0x2fb3c9);return{'scale':_0x196d60,'start':_0x527015,'end':_0x39744e,'unitWidth':_0x10a2e5(_0x196d60),'majorHeaders':_0x5d4552(_0x196d60,_0x527015,_0x39744e),'columns':_0x588356};}function _0x340ad3(_0x5e4e7d,_0x1a5336,_0x4021b8,_0x59aad2){const _0x2222e7=_0x4cb5f0;let _0x1ca89c=[],_0xaf3d4a=_0x1a5336;for(;_0xaf3d4a<_0x4021b8;){let _0x2e1826=_0x5e4e7d==='quarter'?_0x26b616(_0xaf3d4a,0x7):_0x5e4e7d===_0x2222e7(0x548)?_0x451b1c(_0xaf3d4a,0x1):_0x26b616(_0xaf3d4a,0x1);_0x1ca89c['push']({'id':_0x5e4e7d+'-'+_0xaf3d4a,'label':_0x2e6b44(_0x5e4e7d,_0xaf3d4a,_0x2e1826),'majorLabel':_0x104548(_0x5e4e7d,_0xaf3d4a),'start':_0xaf3d4a,'end':_0x2e1826,'nonWorking':_0x35f90d(_0xaf3d4a,_0x2e1826,_0x59aad2)}),_0xaf3d4a=_0x2e1826;}return _0x1ca89c;}function _0x5d4552(_0x46f4ed,_0x5d305e,_0x32e80c){const _0x35ffc9=_0x4cb5f0;let _0x58167f=[],_0x242b4c=_0x46f4ed==='year'?_0x5596a8(_0x5d305e):_0x644829(_0x5d305e);for(;_0x242b4c<_0x32e80c;){let _0x375fee=_0x46f4ed===_0x35ffc9(0x548)?_0x13c880(_0x242b4c,0x1):_0x451b1c(_0x242b4c,0x1);_0x58167f[_0x35ffc9(0x158)]({'id':_0x35ffc9(0x447)+_0x242b4c,'label':_0x46f4ed===_0x35ffc9(0x548)?String(new Date(_0x242b4c)[_0x35ffc9(0x349)]()):_0x1e4a2f(_0x242b4c),'start':_0x242b4c,'end':_0x375fee}),_0x242b4c=_0x375fee;}return _0x58167f;}function _0x10a2e5(_0x16ed28){const _0x31911e=_0x4cb5f0;switch(_0x16ed28){case _0x31911e(0x232):return 0xac;case _0x31911e(0x1e5):return 0xac;case _0x31911e(0x548):return 0x88;default:return 0x56;}}function _0x5006d6(_0x2d4c66,_0x35d4e8){const _0x48ad37=_0x4cb5f0;return _0x2d4c66===_0x48ad37(0x548)?_0x5596a8(_0x35d4e8):_0x2d4c66===_0x48ad37(0x1e5)?_0x2d359e(_0x35d4e8):_0x51583e(_0x35d4e8);}function _0x22b4cb(_0x391a43,_0x5c6299){const _0x1636a9=_0x4cb5f0;return _0x391a43===_0x1636a9(0x548)?_0x13c880(_0x5596a8(_0x5c6299),0x1):_0x391a43===_0x1636a9(0x1e5)?_0x26b616(_0x2d359e(_0x5c6299),0x7):_0x26b616(_0x51583e(_0x5c6299),0x1);}function _0x2e6b44(_0x122925,_0x14c810,_0x53b912){const _0x13a6f0=_0x4cb5f0;let _0x3987e0=new Date(_0x14c810);return _0x122925==='quarter'?_0x3987e0[_0x13a6f0(0x532)]()+'-'+new Date(_0x53b912-_0x15e9f9)[_0x13a6f0(0x532)]():_0x122925===_0x13a6f0(0x548)?_0x3987e0[_0x13a6f0(0x182)](_0x13a6f0(0x328),{'month':'short','timeZone':_0x13a6f0(0x32a)}):String(_0x3987e0[_0x13a6f0(0x532)]());}function _0x104548(_0xf28428,_0xa16436){const _0x38f2cb=_0x4cb5f0;return _0xf28428===_0x38f2cb(0x548)?String(new Date(_0xa16436)[_0x38f2cb(0x349)]()):_0x1e4a2f(_0xa16436);}function _0x321ce9(_0x3d77e8,_0x15261e,_0x1042cb){let _0xeeb543=_0xce821c(_0x1042cb),_0x44625e=0x0;for(let _0x230529=_0x51583e(_0x3d77e8);_0x230529<=_0x51583e(_0x15261e);_0x230529=_0x26b616(_0x230529,0x1))_0x2ec94d(_0x230529,_0xeeb543)||_0x44625e++;return _0x44625e;}function _0x35f90d(_0x593ba0,_0x460af4,_0x48e475){if(!_0x48e475)return!0x1;let _0x5a1699=_0xce821c(_0x48e475);for(let _0x136e15=_0x51583e(_0x593ba0);_0x136e15<_0x460af4;_0x136e15=_0x26b616(_0x136e15,0x1))if(!_0x2ec94d(_0x136e15,_0x5a1699))return!0x1;return!0x0;}function _0x2ec94d(_0x9ca432,_0x1a67ee){const _0x5886d5=_0x4cb5f0;let _0x5739e2=_0x51583e(_0x9ca432),_0x397fd5=_0x1a67ee['exceptions'][_0x5886d5(0x3b5)](_0xdd8a81=>_0x51583e(_0xdd8a81[_0x5886d5(0x2a2)])===_0x5739e2);if(_0x397fd5)return _0x397fd5[_0x5886d5(0x3fd)]===_0x5886d5(0x296);let _0x491811=new Date(_0x5739e2)[_0x5886d5(0x503)](),_0x47b5f3=_0x491811===0x0?0x7:_0x491811;return!_0x1a67ee['weekdays']['includes'](_0x47b5f3);}function _0x51583e(_0xf06b1){const _0x45d572=_0x4cb5f0;let _0x2d219a=new Date(_0xf06b1);return Date[_0x45d572(0x32a)](_0x2d219a[_0x45d572(0x349)](),_0x2d219a['getUTCMonth'](),_0x2d219a['getUTCDate']());}function _0x2d359e(_0x3889a4){const _0x5357f0=_0x4cb5f0;let _0xbb1ced=_0x51583e(_0x3889a4),_0x1936e5=new Date(_0xbb1ced)[_0x5357f0(0x503)]();return _0x26b616(_0xbb1ced,-(_0x1936e5===0x0?0x6:_0x1936e5-0x1));}function _0x644829(_0x408e3d){const _0x53ace7=_0x4cb5f0;let _0x15f272=new Date(_0x408e3d);return Date[_0x53ace7(0x32a)](_0x15f272['getUTCFullYear'](),_0x15f272['getUTCMonth'](),0x1);}function _0x5596a8(_0x4b2de6){const _0x520341=_0x4cb5f0;let _0x5f4709=new Date(_0x4b2de6);return Date[_0x520341(0x32a)](_0x5f4709[_0x520341(0x349)](),0x0,0x1);}function _0x26b616(_0x3fc9a0,_0x5357a3){return _0x3fc9a0+_0x5357a3*_0x15e9f9;}function _0x451b1c(_0x1d83f8,_0x22e05b){const _0x30e60b=_0x4cb5f0;let _0x1e5856=new Date(_0x1d83f8);return Date[_0x30e60b(0x32a)](_0x1e5856[_0x30e60b(0x349)](),_0x1e5856['getUTCMonth']()+_0x22e05b,0x1);}function _0x13c880(_0x370e20,_0x55cbd2){const _0x1fbb93=_0x4cb5f0;let _0x196fc5=new Date(_0x370e20);return Date[_0x1fbb93(0x32a)](_0x196fc5[_0x1fbb93(0x349)]()+_0x55cbd2,0x0,0x1);}function _0x1e4a2f(_0x11ac46){const _0x362851=_0x4cb5f0;let _0x4336b1=new Date(_0x11ac46);return _0x4336b1[_0x362851(0x182)]('en-US',{'month':'short','timeZone':_0x362851(0x32a)})+'\x20'+_0x4336b1[_0x362851(0x349)]();}function _0x228e57(_0x466d37,_0x14e68f){const _0x24488e=_0x4cb5f0;if(_0x466d37==null&&_0x14e68f==null)return 0x0;if(_0x466d37==null)return-0x1;if(_0x14e68f==null)return 0x1;if(typeof _0x466d37==_0x24488e(0x149)||typeof _0x14e68f=='boolean')return Number(_0x466d37===!0x0)-Number(_0x14e68f===!0x0);let _0x210352=Number(_0x466d37),_0x27783e=Number(_0x14e68f),_0x2a1584=Number[_0x24488e(0x560)](_0x210352),_0x18cd4d=Number[_0x24488e(0x560)](_0x27783e);return _0x2a1584&&_0x18cd4d?_0x210352-_0x27783e:_0x2a1584?0x1:_0x18cd4d?-0x1:String(_0x466d37)[_0x24488e(0x1e1)](String(_0x14e68f));}function _0x29e33e(_0x190853){const _0x270363=_0x4cb5f0;if(_0x190853[_0x270363(0x47e)]!=='is'&&_0x190853[_0x270363(0x47e)]!==_0x270363(0x386))return!0x1;let _0x21bbbe=_0x190853['operand'];return _0x21bbbe==null?!0x0:typeof _0x21bbbe=='string'?_0x21bbbe['trim']()==='':Array[_0x270363(0x156)](_0x21bbbe)?_0x21bbbe[_0x270363(0x40a)]===0x0:!0x1;}function _0x4642b1(_0x4432b6,_0x2fe779){const _0x5c5ff3=_0x4cb5f0;var _0x150315;let _0x5ebeea=Array[_0x5c5ff3(0x156)]((_0x150315=_0x4432b6[_0x5c5ff3(0x40b)])==null?void 0x0:_0x150315['options'])?_0x4432b6[_0x5c5ff3(0x40b)][_0x5c5ff3(0x2db)]:[];for(let _0x27ec71 of _0x5ebeea){if(_0x27ec71==null)continue;if(typeof _0x27ec71==_0x5c5ff3(0x3ef)){if(_0x27ec71===_0x2fe779)return{'id':_0x27ec71,'name':_0x27ec71};continue;}let _0x3e3c00=_0x27ec71,_0x4ce718=String(_0x3e3c00['id']??_0x3e3c00[_0x5c5ff3(0x406)]??''),_0x35e957=String(_0x3e3c00['name']??_0x3e3c00['id']??_0x4ce718);if(_0x4ce718===_0x2fe779||_0x35e957===_0x2fe779)return{'id':_0x4ce718,'name':_0x35e957,'color':_0x3e3c00[_0x5c5ff3(0x37b)]==null?void 0x0:String(_0x3e3c00[_0x5c5ff3(0x37b)])};}return null;}let _0x3b1952=function(_0x9da64b){const _0x27e12d=_0x4cb5f0;return _0x9da64b[_0x27e12d(0x3b4)]=_0x27e12d(0x4d2),_0x9da64b[_0x27e12d(0x526)]='delete-view',_0x9da64b;}({}),_0x1c3b88={'id':'base.mutation.apply-base-json1','type':_0x2f4877[_0x4cb5f0(0x565)]['MUTATION'],'handler'(_0x4e8058,_0x434f54){const _0x541113=_0x4cb5f0;let {unitId:_0x5bccbf,op:_0x5b9cf8}=_0x434f54,_0x4f90f9=_0x4e8058[_0x541113(0x51c)](_0x2f4877[_0x541113(0x299)])['getUnit'](_0x5bccbf,_0x2f4877[_0x541113(0x3d3)][_0x541113(0x13a)]);if(!_0x4f90f9)return!0x1;let _0x5a4219=_0x4f90f9[_0x541113(0x51d)](),_0x4058d1=new _0xa877f0(),_0x8d9a26=_0x4058d1['getAffectedRanges'](_0x5b9cf8),_0x2dc094=_0x4058d1[_0x541113(0x19b)](_0x5a4219,_0x5b9cf8);return _0x4f90f9[_0x541113(0x3d7)](_0x2dc094),_0x458b61(_0x2dc094,_0x8d9a26,_0x4e8058[_0x541113(0x51c)](_0x1d4522)),!0x0;}};function _0x458b61(_0x4e9a41,_0x1353a4,_0x376413){const _0x3e8d06=_0x4cb5f0;let _0x1cb04f=new Set(),_0x38da47=new Set(),_0x30a202=new Set();for(let _0x3f5de9 of _0x1353a4){if(_0x3f5de9[_0x3e8d06(0x2f9)]==='view'&&_0x3f5de9[_0x3e8d06(0x348)]&&_0x3f5de9['viewId']){let _0x2cdd97=_0x3f5de9[_0x3e8d06(0x348)]+'\x00'+_0x3f5de9[_0x3e8d06(0x268)];_0x30a202[_0x3e8d06(0x22a)](_0x2cdd97)||(_0x30a202['add'](_0x2cdd97),_0x376413['invalidateByView'](_0x3f5de9['tableId'],_0x3f5de9[_0x3e8d06(0x268)]));continue;}if(_0x3f5de9[_0x3e8d06(0x2f9)]===_0x3e8d06(0x117)&&_0x3f5de9[_0x3e8d06(0x348)]&&_0x3f5de9[_0x3e8d06(0x3bd)]){let _0x38ca76=_0x3f5de9[_0x3e8d06(0x348)]+'\x00'+_0x3f5de9[_0x3e8d06(0x3bd)];_0x38da47[_0x3e8d06(0x22a)](_0x38ca76)||(_0x38da47[_0x3e8d06(0x567)](_0x38ca76),_0x376413[_0x3e8d06(0x21f)](_0x3f5de9[_0x3e8d06(0x348)],_0x3f5de9[_0x3e8d06(0x3bd)]));continue;}if(_0x3f5de9['reason']!==_0x3e8d06(0x2d6)){_0x376413[_0x3e8d06(0x168)]();return;}let _0x304d95=_0x13b76e(_0x4e9a41,_0x3f5de9);if(!_0x304d95){_0x376413[_0x3e8d06(0x168)]();return;}let _0x46cda8=_0x304d95[_0x3e8d06(0x348)]+'\x00'+_0x304d95[_0x3e8d06(0x31f)]+'\x00'+_0x304d95[_0x3e8d06(0x3bd)];_0x1cb04f[_0x3e8d06(0x22a)](_0x46cda8)||(_0x1cb04f[_0x3e8d06(0x567)](_0x46cda8),_0x376413[_0x3e8d06(0x3cd)](_0x304d95['tableId'],_0x304d95[_0x3e8d06(0x31f)],_0x304d95[_0x3e8d06(0x3bd)]));}}function _0x13b76e(_0x1c613,_0x26158a){const _0x3f7f9f=_0x4cb5f0;var _0x27ea88,_0x2c948f;if(!_0x26158a['tableId'])return null;if(_0x26158a[_0x3f7f9f(0x31f)]&&_0x26158a[_0x3f7f9f(0x3bd)])return{'tableId':_0x26158a[_0x3f7f9f(0x348)],'recordId':_0x26158a[_0x3f7f9f(0x31f)],'fieldId':_0x26158a['fieldId']};if(_0x26158a['row']==null||_0x26158a[_0x3f7f9f(0x12a)]==null)return null;let _0x213323=_0x1c613[_0x3f7f9f(0x1ab)][_0x26158a[_0x3f7f9f(0x348)]],_0x36665b=_0x213323==null||(_0x27ea88=_0x213323[_0x3f7f9f(0x151)])==null?void 0x0:_0x27ea88[_0x26158a[_0x3f7f9f(0x405)]],_0x3e21fc=_0x213323==null||(_0x2c948f=_0x213323[_0x3f7f9f(0x518)])==null?void 0x0:_0x2c948f[_0x26158a[_0x3f7f9f(0x12a)]];return!_0x36665b||!_0x3e21fc?null:{'tableId':_0x26158a[_0x3f7f9f(0x348)],'recordId':_0x36665b,'fieldId':_0x3e21fc};}let _0x360d12=_0x2f4877[_0x4cb5f0(0x42e)][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x17eb08=_0x2f4877[_0x4cb5f0(0x42e)][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x22ae9c=/\{([^}]+)\}/g,_0x172bbd=_0x2f4877[_0x4cb5f0(0x42e)][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4bfd3a=_0x2f4877[_0x4cb5f0(0x42e)][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x45002b=_0x2f4877[_0x4cb5f0(0x42e)]['createRegExpFromSafeFragment'](String[_0x4cb5f0(0x2ee)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x6c2eaa=_0x2f4877['regexp'][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x1d2945=_0x2f4877[_0x4cb5f0(0x42e)][_0x4cb5f0(0x153)](String[_0x4cb5f0(0x2ee)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x51eeb3=_0x2f4877['regexp'][_0x4cb5f0(0x153)](String['raw']`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0xdaf5ba=class{[_0x4cb5f0(0x15e)](_0x1b6aee,_0x40f77e=_0x1b6aee['id']){const _0x1d0f45=_0x4cb5f0;var _0x241a66;let _0x2d3448=((_0x241a66=_0x1b6aee['recordOrder'])==null?void 0x0:_0x241a66['length'])??Object[_0x1d0f45(0x12b)](_0x1b6aee[_0x1d0f45(0x3cc)])[_0x1d0f45(0x40a)];return{'sheetId':_0x40f77e,'titleMap':new Map(_0x1b6aee[_0x1d0f45(0x482)][_0x1d0f45(0x208)]((_0x20d9a5,_0x4c6cab)=>{const _0x3d0780=_0x1d0f45;var _0x32bcab;return[((_0x32bcab=_0x1b6aee[_0x3d0780(0x189)][_0x20d9a5])==null?void 0x0:_0x32bcab[_0x3d0780(0x406)])??_0x20d9a5,_0x4c6cab];})),'range':{'startRow':0x0,'endRow':Math[_0x1d0f45(0x459)](0x0,_0x2d3448-0x1),'startColumn':0x0,'endColumn':Math[_0x1d0f45(0x459)](0x0,_0x1b6aee[_0x1d0f45(0x482)][_0x1d0f45(0x40a)]-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0xf710b3,_0x26f260){const _0x39beaa=_0x4cb5f0;let _0x2c3faa=[],_0x3a4c0c=_0x26f260?new Set(_0x26f260):null,_0x43eb33=(0x0,_0x2f4877[_0x39beaa(0x37f)])(_0xf710b3);return Object[_0x39beaa(0x12b)](_0xf710b3[_0x39beaa(0x1ab)])['filter'](_0xe45d6b=>!_0x3a4c0c||_0x3a4c0c['has'](_0xe45d6b['id']))['forEach'](_0x339264=>{const _0x105f7b=_0x39beaa;let _0x1eeee7=this[_0x105f7b(0x15e)](_0x339264,_0x339264['id']);_0x2c3faa[_0x105f7b(0x158)]({'tableId':_0x339264['id'],'tableName':_0x43eb33['get'](_0x339264['id']),'reference':_0x1eeee7});}),_0x2c3faa;}[_0x4cb5f0(0x3c1)](_0x25951a,_0x60fb2b,_0x149086={}){const _0x50d58c=_0x4cb5f0;let _0x5cc002=_0x25951a['trim']();if(!_0x5cc002)return{'valid':!0x0};if(_0x220b68(_0x5cc002))return{'valid':!0x1,'reason':_0x50d58c(0x255)};let _0x15f712=_0x149086[_0x50d58c(0x3a7)]?(0x0,_0x2f4877[_0x50d58c(0x37f)])(_0x149086[_0x50d58c(0x3a7)]):void 0x0;for(let _0x565eb5 of _0x5592be(_0x5cc002)){let _0xac7515=_0x4abe7f(_0x565eb5,_0x60fb2b,_0x149086[_0x50d58c(0x3a7)],_0x15f712);if(!_0xac7515[_0x50d58c(0x31b)])return{'valid':!0x1,'reason':_0x50d58c(0x25d)+_0x565eb5[_0x50d58c(0x403)]+_0x50d58c(0x242)};if(!_0xac7515[_0x50d58c(0x117)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x565eb5[_0x50d58c(0x135)]+_0x50d58c(0x2b2)};}return{'valid':!0x0};}[_0x4cb5f0(0x2ea)](_0x29cdf0,_0x4ce790,_0x4e66cc={}){const _0x1be43f=_0x4cb5f0;let _0x2dc748=new Set();for(let _0x2072ef of this[_0x1be43f(0x2b6)](_0x29cdf0,_0x4ce790,_0x4e66cc))_0x2072ef[_0x1be43f(0x348)]===_0x4ce790['id']&&_0x2dc748[_0x1be43f(0x567)](_0x2072ef['fieldId']);return Array[_0x1be43f(0x489)](_0x2dc748);}[_0x4cb5f0(0x2b6)](_0x37fef2,_0x50ef11,_0x25f83d={}){const _0x31abe0=_0x4cb5f0;let _0x11b378=new Map(),_0x39c40b=_0x25f83d[_0x31abe0(0x3a7)]?(0x0,_0x2f4877['createBaseFormulaTableNameMap'])(_0x25f83d['snapshot']):void 0x0;for(let _0x510c49 of _0x5592be(_0x37fef2)){let _0x59c75e=_0x4abe7f(_0x510c49,_0x50ef11,_0x25f83d[_0x31abe0(0x3a7)],_0x39c40b);if(!_0x59c75e[_0x31abe0(0x31b)]||!_0x59c75e[_0x31abe0(0x117)])continue;let _0x407d52=_0x59c75e[_0x31abe0(0x31b)]['id']+'\x1f'+_0x59c75e[_0x31abe0(0x117)]['id'];_0x11b378[_0x31abe0(0x411)](_0x407d52,{'tableId':_0x59c75e['table']['id'],'fieldId':_0x59c75e[_0x31abe0(0x117)]['id']});}return Array[_0x31abe0(0x489)](_0x11b378[_0x31abe0(0x12b)]());}};function _0x506cf2(_0x1c1ff4,_0x19f99a){const _0x3e7f38=_0x4cb5f0;var _0x5f31b8;let _0x1880c4=[],_0x567886=(_0x5f31b8=_0x19f99a[_0x3e7f38(0x438)])==null?void 0x0:_0x5f31b8[_0x1c1ff4['id']];return _0x567886&&Object[_0x3e7f38(0x1c8)](_0x567886)['forEach'](([_0x15dbb7,_0x43a382])=>{const _0x33d89a=_0x3e7f38;let _0x57cf28=_0x1c1ff4['tables'][_0x15dbb7];if(!_0x57cf28||!_0x43a382)return;let _0x5f5709=_0xbfb56e(_0x57cf28),_0x285c40=[];new _0x2f4877['ObjectMatrix'](_0x43a382)[_0x33d89a(0x49c)]((_0x3b6e63,_0x4253ae,_0x3b8872)=>{const _0x45fb70=_0x33d89a;let _0x37be2e=_0x2f9254(_0x5f5709,_0x3b6e63,_0x4253ae,_0x3b8872);_0x37be2e&&_0x285c40[_0x45fb70(0x158)](_0x37be2e);}),_0x285c40[_0x33d89a(0x40a)]&&_0x1880c4['push']({'unitId':_0x1c1ff4['id'],'tableId':_0x15dbb7,'patches':_0x285c40});}),_0x1880c4;}function _0x2f9254(_0x222797,_0x1fab8a,_0x2b9b5b,_0x4e9734){const _0xa10854=_0x4cb5f0;var _0x2cfa0a,_0x4adc86,_0x19c9fa;let _0x5bb880=(_0x2cfa0a=_0x222797[_0xa10854(0x151)])==null?void 0x0:_0x2cfa0a[_0x1fab8a],_0x3b87e4=(_0x4adc86=_0x222797[_0xa10854(0x518)])==null?void 0x0:_0x4adc86[_0x2b9b5b];if(!_0x5bb880||!_0x222797['records'][_0x5bb880]||!_0x3b87e4)return null;let _0x225f58=_0x222797[_0xa10854(0x189)][_0x3b87e4];if(!_0x225f58||_0x225f58[_0xa10854(0x3fd)]!=='formula')return null;let _0xe9a9ef=String(((_0x19c9fa=_0x225f58[_0xa10854(0x40b)])==null?void 0x0:_0x19c9fa['formula'])??'')[_0xa10854(0x11b)](),_0x2bce19=(_0x4e9734==null?void 0x0:_0x4e9734['v'])??null,_0x1f0ef9={'v':_0x2bce19,'t':_0x38c4e4(_0x2bce19),..._0x1fab8a===0x0&&_0xe9a9ef?{'f':_0xe9a9ef}:{},'si':_0x225f58['id']};return _0xb59cd3(_0x4a60b4(_0x222797,_0x5bb880,_0x3b87e4),_0x1f0ef9)?null:{'row':_0x1fab8a,'col':_0x2b9b5b,'value':_0x1f0ef9};}function _0xb59cd3(_0x4c97a4,_0x4748a9){return _0x4c97a4!=null&&Object['is'](_0x4c97a4['v']??null,_0x4748a9['v']??null)&&_0x4c97a4['t']===_0x4748a9['t']&&_0x4c97a4['f']===_0x4748a9['f']&&_0x4c97a4['si']===_0x4748a9['si'];}function _0x38c4e4(_0x24be85){const _0x3ace04=_0x4cb5f0;return typeof _0x24be85==_0x3ace04(0x212)?_0x2f4877[_0x3ace04(0x210)]['NUMBER']:typeof _0x24be85==_0x3ace04(0x149)?_0x2f4877[_0x3ace04(0x210)][_0x3ace04(0x44d)]:typeof _0x24be85==_0x3ace04(0x3ef)?_0x2f4877[_0x3ace04(0x210)][_0x3ace04(0x3d0)]:null;}function _0x5592be(_0x30f993){const _0x2ed907=_0x4cb5f0;let _0x44507c=_0x3eb8f4(_0x30f993,()=>''),_0x4fc1fb=new Map(),_0x53143c=_0x5bca2a=>{const _0x534aa5=_0x521f;_0x4fc1fb[_0x534aa5(0x411)]((_0x5bca2a[_0x534aa5(0x403)]??'')+'\x1f'+_0x5bca2a[_0x534aa5(0x135)],_0x5bca2a);};for(let _0x5c0f4b of _0x44507c[_0x2ed907(0x22b)](_0x22ae9c))_0x53143c({'fieldName':_0x5c0f4b[0x1],'scope':_0x2ed907(0x451)});_0x44507c=_0x44507c[_0x2ed907(0x307)](_0x172bbd,(_0x463ff3,_0x3af2c7,_0x3c32d4,_0x16a6ac)=>(_0x53143c({'tableName':_0x3af2c7,'fieldName':_0x16a6ac,'scope':_0x3c32d4['toLowerCase']()===_0x2ed907(0x3eb)?_0x2ed907(0x3eb):'this-row'}),'\x20')),_0x44507c=_0x44507c['replace'](_0x4bfd3a,(_0x5a9a9a,_0x536b2e,_0x18c4db)=>(_0x53143c({'tableName':_0x536b2e,'fieldName':_0x18c4db,'scope':_0x2ed907(0x451)}),'\x20')),_0x44507c=_0x44507c[_0x2ed907(0x307)](_0x6c2eaa,(_0x2a27c9,_0x58f056,_0x5a23ed,_0x2ad275)=>(_0x53143c({'fieldName':_0x2ad275,'scope':_0x5a23ed['toLowerCase']()===_0x2ed907(0x3eb)?_0x2ed907(0x3eb):_0x2ed907(0x451)}),_0x58f056+'\x20')),_0x44507c=_0x44507c['replace'](_0x1d2945,(_0x1fc8eb,_0x4d69c2,_0x7e209a)=>(_0x53143c({'fieldName':_0x7e209a,'scope':_0x2ed907(0x451)}),_0x4d69c2+'\x20'));for(let _0xee55c5 of _0x44507c[_0x2ed907(0x22b)](_0x45002b))_0x53143c({'tableName':_0xee55c5[0x1],'fieldName':_0xee55c5[0x2]});for(let _0x2a5103 of _0x44507c[_0x2ed907(0x22b)](_0x51eeb3))_0x53143c({'fieldName':_0x2a5103[0x2],'scope':'this-row'});return Array[_0x2ed907(0x489)](_0x4fc1fb[_0x2ed907(0x12b)]());}function _0x220b68(_0x545729){const _0x30b8f2=_0x4cb5f0;let _0x542a8b=_0x3eb8f4(_0x545729,()=>'\x20')[_0x30b8f2(0x307)](_0x22ae9c,'\x20')[_0x30b8f2(0x307)](_0x172bbd,'\x20')['replace'](_0x4bfd3a,'\x20')[_0x30b8f2(0x307)](_0x6c2eaa,'$1\x20')[_0x30b8f2(0x307)](_0x1d2945,_0x30b8f2(0x544))[_0x30b8f2(0x307)](_0x45002b,'\x20')[_0x30b8f2(0x307)](_0x51eeb3,_0x30b8f2(0x544));return _0x360d12[_0x30b8f2(0x479)](_0x542a8b);}function _0x57ea89(_0x1eac66,_0x1cafe5){return _0x3cbab2(_0x2100a7(_0x1eac66,_0x1cafe5),_0x1cafe5);}function _0x3eb8f4(_0x51bdcc,_0x3b4e40){return _0x1ab7c7(_0x57ea89(_0x51bdcc,_0x3b4e40),_0x3b4e40);}function _0x1ab7c7(_0x488245,_0xea31b5){const _0x259cfb=_0x4cb5f0;return _0x488245[_0x259cfb(0x307)](/"(?:""|[^"])*"/g,_0xea31b5);}function _0x2100a7(_0x4b6056,_0x53a25d){return _0x17eb08['lastIndex']=0x0,_0x4b6056['replace'](_0x17eb08,(_0x6c35f4,_0x31aec4)=>_0x420dd0(_0x4b6056,_0x31aec4)?_0x6c35f4:_0x53a25d(_0x6c35f4));}let _0x111332=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x3cbab2(_0x51fd42,_0x151714){const _0x8d9d17=_0x4cb5f0;let _0x3e4f45=[];for(_0x111332['lastIndex']=0x0;;){let _0x21f213=_0x111332['exec'](_0x51fd42);if(_0x21f213==null)break;if(_0x420dd0(_0x51fd42,_0x21f213[_0x8d9d17(0x1a5)]))continue;let _0x18290b=_0x111332[_0x8d9d17(0x317)]-0x1,_0x538621=0x0;for(let _0x4b7ae5=_0x18290b;_0x4b7ae5<_0x51fd42[_0x8d9d17(0x40a)];_0x4b7ae5++)if(_0x51fd42[_0x4b7ae5]==='['&&_0x538621++,_0x51fd42[_0x4b7ae5]===']'&&(_0x538621--,_0x538621===0x0)){_0x3e4f45['push']({'start':_0x21f213[_0x8d9d17(0x1a5)],'end':_0x4b7ae5+0x1}),_0x111332['lastIndex']=_0x4b7ae5+0x1;break;}}if(_0x3e4f45[_0x8d9d17(0x40a)]===0x0)return _0x51fd42;let _0x15e1d9='',_0x16e450=0x0;for(let _0x57c066 of _0x3e4f45)_0x15e1d9+=_0x51fd42['slice'](_0x16e450,_0x57c066[_0x8d9d17(0x552)]),_0x15e1d9+=_0x151714(_0x51fd42[_0x8d9d17(0x3fb)](_0x57c066[_0x8d9d17(0x552)],_0x57c066['end'])),_0x16e450=_0x57c066[_0x8d9d17(0x35b)];return _0x15e1d9+_0x51fd42[_0x8d9d17(0x3fb)](_0x16e450);}function _0x420dd0(_0x43ecd4,_0x54e373){let _0x534da9=!0x1;for(let _0x35ce9a=0x0;_0x35ce9a<_0x54e373;_0x35ce9a++)_0x43ecd4[_0x35ce9a]==='\x22'&&(_0x534da9&&_0x43ecd4[_0x35ce9a+0x1]==='\x22'?_0x35ce9a++:_0x534da9=!_0x534da9);return _0x534da9;}function _0x4abe7f(_0x483b60,_0x45a5cf,_0x43a651,_0x55617a){const _0x173df6=_0x4cb5f0;let _0x5d198c=_0x1c5f00(_0x483b60[_0x173df6(0x403)],_0x45a5cf,_0x43a651,_0x55617a);return{'table':_0x5d198c,'field':_0x5d198c?Object['values'](_0x5d198c['fields'])[_0x173df6(0x3b5)](_0x109a1e=>_0x109a1e['name']===_0x483b60[_0x173df6(0x135)]):void 0x0};}function _0x1c5f00(_0x25a92c,_0x268df5,_0x2cb228,_0xda3ceb){const _0x5ed8a0=_0x4cb5f0;if(!_0x25a92c)return _0x268df5;if(!_0x2cb228){var _0x26e718;let _0x13c698=_0x25a92c[_0x5ed8a0(0x4e8)]();return _0x13c698===_0x268df5['id'][_0x5ed8a0(0x4e8)]()||_0x13c698===_0x268df5[_0x5ed8a0(0x406)][_0x5ed8a0(0x4e8)]()||_0x13c698===((_0x26e718=_0x268df5[_0x5ed8a0(0x4c6)])==null?void 0x0:_0x26e718[_0x5ed8a0(0x4e8)]())?_0x268df5:void 0x0;}let _0x182ec1=_0x25a92c['toLowerCase'](),_0x430ba6=_0xda3ceb??(0x0,_0x2f4877['createBaseFormulaTableNameMap'])(_0x2cb228),_0x332cfa=Object[_0x5ed8a0(0x12b)](_0x2cb228[_0x5ed8a0(0x1ab)])['filter'](_0x22c37c=>{const _0x3d8f75=_0x5ed8a0;var _0x3b3d5c;return _0x22c37c['id']['toLowerCase']()===_0x182ec1||_0x22c37c[_0x3d8f75(0x406)][_0x3d8f75(0x4e8)]()===_0x182ec1||((_0x3b3d5c=_0x430ba6[_0x3d8f75(0x51c)](_0x22c37c['id']))==null?void 0x0:_0x3b3d5c[_0x3d8f75(0x4e8)]())===_0x182ec1||_0x4ec587(_0x22c37c['id'])[_0x3d8f75(0x4e8)]()===_0x182ec1;});return _0x332cfa[_0x5ed8a0(0x40a)]===0x1?_0x332cfa[0x0]:void 0x0;}function _0x4ec587(_0x1abe21){const _0x3eaa3e=_0x4cb5f0;return _0x3eaa3e(0x185)+Array[_0x3eaa3e(0x489)](_0x1abe21,_0xd75031=>{const _0x401b12=_0x3eaa3e;var _0x582a36;return/[A-Za-z0-9]/[_0x401b12(0x479)](_0xd75031)?_0xd75031:'_x'+(((_0x582a36=_0xd75031[_0x401b12(0x4ba)](0x0))==null?void 0x0:_0x582a36[_0x401b12(0x28e)](0x10))??'0')+'_';})[_0x3eaa3e(0x483)]('');}let _0x3e54cd=new _0xdaf5ba();function _0x2a23b8(_0xf1f079,_0x18e833,_0x1b1b6c){const _0x189719=_0x4cb5f0;var _0x176075;if(_0x1b1b6c['type']!==_0x2f4877[_0x189719(0x4aa)][_0x189719(0x25c)])return!0x0;let _0x2565af=String(((_0x176075=_0x1b1b6c['config'])==null?void 0x0:_0x176075[_0x189719(0x550)])??''),_0x1eaa25=_0xf1f079[_0x189719(0x51d)]();return _0x3e54cd[_0x189719(0x3c1)](_0x2565af,_0x1eaa25[_0x189719(0x1ab)][_0x18e833],{'snapshot':_0x1eaa25})[_0x189719(0x52b)];}function _0x20431d(_0x383e04,_0x1884e3,_0x35a29a){const _0x65f8f7=_0x4cb5f0;let _0x36cf38=_0x383e04[_0x65f8f7(0x51d)]()[_0x65f8f7(0x1ab)][_0x1884e3];if(!_0x36cf38)return!0x1;let {viewIds:_0x205490,fieldIds:_0x1f8cea,recordIds:_0x14034e}=_0x35a29a||{};if(_0x205490){for(let _0x546f70 of _0x205490)if(!_0x36cf38[_0x65f8f7(0x3fa)][_0x546f70])return!0x1;}if(_0x1f8cea){for(let _0x3da782 of _0x1f8cea)if(!_0x36cf38['fields'][_0x3da782])return!0x1;}if(_0x14034e){for(let _0x40c742 of _0x14034e)if(!_0x36cf38[_0x65f8f7(0x3cc)][_0x40c742])return!0x1;}return!0x0;}function _0x27ed83(_0x4cfd91,_0x676091,_0xe2980a){const _0x560766=_0x4cb5f0;if(_0xe2980a['id']===_0x2f4877[_0x560766(0x31e)]||_0xe2980a[_0x560766(0x3fd)]===_0x2f4877[_0x560766(0x4aa)][_0x560766(0x3a8)]||(0x0,_0x2f4877[_0x560766(0x3f4)])(_0xe2980a[_0x560766(0x406)])||!_0x2a23b8(_0x4cfd91,_0x676091,_0xe2980a))return!0x1;let _0x25fb2f=_0x4cfd91[_0x560766(0x51d)]();if(!_0x38bf9d(_0x25fb2f,_0xe2980a)['valid'])return!0x1;if(_0xe2980a[_0x560766(0x3fd)]!==_0x2f4877['BaseFieldType']['RecordLink'])return!0x0;let _0x42c33f=_0xd65722(_0xe2980a);if(!_0x42c33f)return!0x1;if(_0x42c33f[_0x560766(0x25f)]===void 0x0)return!0x0;if(_0x42c33f['relationRole']!==_0x2f4877['BaseRecordLinkRole'][_0x560766(0x152)]||_0x42c33f[_0x560766(0x21c)]!==_0x676091||_0x42c33f[_0x560766(0x11c)]!==!0x1)return!0x1;let _0x25afc8=_0x25fb2f[_0x560766(0x1ab)][_0x676091];return!Object[_0x560766(0x12b)](_0x25afc8['fields'])[_0x560766(0x258)](_0x44252a=>{const _0x269f75=_0x560766;var _0x20bd50;return _0x44252a['id']!==_0xe2980a['id']&&_0x44252a[_0x269f75(0x3fd)]===_0x2f4877[_0x269f75(0x4aa)][_0x269f75(0x166)]&&((_0x20bd50=_0xd65722(_0x44252a))==null?void 0x0:_0x20bd50['relationRole'])===_0x2f4877[_0x269f75(0x3c9)][_0x269f75(0x152)];});}function _0x5c048c(_0x4595fb,_0x568f0b,_0x504c42,_0x3e8331){const _0x2b9977=_0x4cb5f0;var _0x38cced;let _0x57420d=_0x4595fb[_0x2b9977(0x51d)](),_0x511461=(_0x38cced=_0x57420d[_0x2b9977(0x1ab)][_0x568f0b])==null?void 0x0:_0x38cced[_0x2b9977(0x189)][_0x504c42];return!_0x511461||_0x511461['id']===_0x2f4877[_0x2b9977(0x31e)]||_0x511461['type']===_0x2f4877['BaseFieldType']['RecordId']?!0x1:_0x511461[_0x2b9977(0x3fd)]!==_0x2f4877[_0x2b9977(0x4aa)]['RecordLink']||_0x39530c(_0x57420d,_0x511461,_0x358051(_0x3e8331))['valid'];}function _0x45c2eb(_0x3e08bf,_0x78fe13,_0x1e993c){const _0x4c4aef=_0x4cb5f0;let _0x2ebd7a=_0x3e08bf['getSnapshot']()[_0x4c4aef(0x1ab)][_0x78fe13];return!_0x2ebd7a||!(0x0,_0x2f4877[_0x4c4aef(0x2f5)])(_0x1e993c['id'])||_0x2ebd7a[_0x4c4aef(0x3cc)][_0x1e993c['id']]||Object[_0x4c4aef(0x3f8)][_0x4c4aef(0x28c)]['call'](_0x1e993c[_0x4c4aef(0x12b)],_0x2f4877[_0x4c4aef(0x31e)])&&_0x1e993c[_0x4c4aef(0x12b)][_0x2f4877['BASE_RECORD_ID_FIELD_ID']]!==_0x1e993c['id']?!0x1:Object[_0x4c4aef(0x1c8)](_0x1e993c[_0x4c4aef(0x12b)])[_0x4c4aef(0x2fa)](([_0x3ced83,_0x2d4752])=>_0x3ced83===_0x2f4877['BASE_RECORD_ID_FIELD_ID']||_0x5c048c(_0x3e08bf,_0x78fe13,_0x3ced83,_0x2d4752));}function _0x3142d8(_0x45268d){const _0xbef2be=_0x4cb5f0;return{..._0x45268d,'values':{..._0x45268d[_0xbef2be(0x12b)],[_0x2f4877[_0xbef2be(0x31e)]]:_0x45268d['id']}};}function _0x358051(_0x3baa9d){const _0x53bb96=_0x4cb5f0;if(_0x3baa9d&&typeof _0x3baa9d==_0x53bb96(0x2dc)&&!Array[_0x53bb96(0x156)](_0x3baa9d)&&'v'in _0x3baa9d){let _0x1ca430=_0x3baa9d['v'];return _0x1ca430===void 0x0?null:_0x1ca430;}return _0x3baa9d;}function _0x344dca(_0x13b5cc,_0x27f85f,_0x11f0cb,_0x43c271){const _0xe94513=_0x4cb5f0;let _0x4b48a8=_0x13b5cc['getSnapshot']()['tables'][_0x27f85f];if(!_0x4b48a8)return null;let _0x3f02d6=_0x283799(_0x4b48a8),_0x52f7a2=_0x3f02d6??_0x595553(_0x4b48a8),_0x5a8b3f=_0x11f0cb[_0xe94513(0x258)](_0x3c80bd=>Object[_0xe94513(0x3f8)][_0xe94513(0x28c)][_0xe94513(0x434)](_0x3c80bd['values'],_0x52f7a2)),_0x35aa45=_0x3f02d6?_0x4b48a8['fields'][_0x3f02d6]:_0x5a8b3f?_0x3001cd(_0x4b48a8,_0x52f7a2,_0x43c271):null,_0x57ac0=[];for(let _0x48c061 of _0x11f0cb){let _0x15e346=_0x48c061[_0xe94513(0x12b)][_0x52f7a2],_0x4f5b0c=_0x35aa45!==null&&Object[_0xe94513(0x3f8)][_0xe94513(0x28c)][_0xe94513(0x434)](_0x48c061[_0xe94513(0x12b)],_0x52f7a2),_0x434d6d=_0x358051(_0x15e346),_0x8e94fe=null;if(_0x4f5b0c){if(typeof _0x434d6d!='string'||!_0x44de56(_0x434d6d,!0x1)[_0xe94513(0x52b)])return null;_0x8e94fe=_0x434d6d;}let _0x14f402={};if(Object[_0xe94513(0x1c8)](_0x48c061[_0xe94513(0x12b)])[_0xe94513(0x167)](([_0x339e74,_0x55a371])=>{(!_0x4f5b0c||_0x339e74!==_0x52f7a2)&&(_0x14f402[_0x339e74]=_0x55a371);}),!_0x45c2eb(_0x13b5cc,_0x27f85f,{..._0x48c061,'values':_0x14f402}))return null;let _0x3073af={..._0x48c061[_0xe94513(0x12b)]};_0x8e94fe!==null&&(_0x3073af[_0x52f7a2]=_0x8e94fe),_0x57ac0['push'](_0x3142d8({..._0x48c061,'values':_0x3073af}));}return{'records':_0x57ac0,'hierarchyFieldToMaterialize':_0x3f02d6?null:_0x35aa45,'hierarchyChanges':_0x36af26(_0x4b48a8,_0x57ac0)};}let _0x3938b4={'id':_0x4cb5f0(0x214),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler'(_0x5ddb7b,_0x6a5e17){const _0x40bfab=_0x4cb5f0;if(!_0x6a5e17)return!0x1;let _0x23394e=_0x5ddb7b[_0x40bfab(0x51c)](_0x2f4877[_0x40bfab(0x299)]),{unitId:_0x363697,tableId:_0x369634,records:_0x29eee6}=_0x6a5e17,_0x184b18=_0x23394e['getUnit'](_0x363697,_0x2f4877['UniverInstanceType'][_0x40bfab(0x13a)]),_0x5eba68=_0x29eee6['map'](_0x2506d5=>_0x2506d5['id']);if(!_0x184b18||!_0x20431d(_0x184b18,_0x369634)||new Set(_0x5eba68)['size']!==_0x5eba68[_0x40bfab(0x40a)])return!0x1;let _0x18297f=_0x5ddb7b[_0x40bfab(0x51c)](_0x2f4877[_0x40bfab(0x47c)]),_0x308612=_0x5ddb7b[_0x40bfab(0x51c)](_0x2f4877[_0x40bfab(0x4f1)]),_0x20044a=_0x5ddb7b[_0x40bfab(0x51c)](_0x339d0e),_0x14b74d=_0x184b18[_0x40bfab(0x51d)](),_0xae68f6=_0x344dca(_0x184b18,_0x369634,_0x29eee6);if(!_0xae68f6)return!0x1;let {records:_0x428baf,hierarchyChanges:_0x3d1959,hierarchyFieldToMaterialize:_0x24f55a}=_0xae68f6,_0x5021ae=_0x24f55a?_0x20044a[_0x40bfab(0x1c9)](_0x184b18,_0x369634,_0x24f55a,_0x14b74d[_0x40bfab(0x1ab)][_0x369634]['fieldOrder'][_0x40bfab(0x40a)]):null,_0xf5028f=_0x20044a[_0x40bfab(0x4f8)](_0x184b18,_0x369634,_0x428baf),_0x23856d=_0x407666([..._0x5021ae?[_0x5021ae]:[],_0xf5028f]),_0x336fa2=new _0xa877f0()[_0x40bfab(0x4fc)](_0x14b74d,_0x23856d),_0x13efdf={'unitId':_0x363697,'op':_0x23856d,'hierarchyChanges':_0x3d1959[_0x40bfab(0x40a)]?_0x3d1959:void 0x0,'source':_0x3d1959['length']?_0x6a5e17[_0x40bfab(0x1b8)]??'ui':void 0x0},_0x1956a8={..._0x13efdf,'source':_0x3d1959[_0x40bfab(0x40a)]?_0x40bfab(0x2a0):void 0x0},_0x32616f={'unitId':_0x363697,'op':_0x336fa2,'hierarchyChanges':_0x3d1959[_0x40bfab(0x40a)]?_0x3d1959[_0x40bfab(0x208)](_0x43903a=>({..._0x43903a,'oldParentRecordId':_0x43903a[_0x40bfab(0x344)],'parentRecordId':null})):void 0x0,'source':_0x3d1959[_0x40bfab(0x40a)]?_0x40bfab(0x4c4):void 0x0};return _0x18297f[_0x40bfab(0x4b8)](_0x1c3b88['id'],_0x13efdf)?(_0x23394e['focusUnit'](_0x363697),_0x308612[_0x40bfab(0x3a3)]({'unitID':_0x363697,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x32616f}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1956a8}]}),!0x0):!0x1;}},_0xe952eb={'id':'base.command.batch-delete-base-records','type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler':(_0xc88b94,_0x2eef99)=>{const _0x4c9262=_0x4cb5f0;if(!_0x2eef99)return!0x1;let _0x5020c9=_0xc88b94[_0x4c9262(0x51c)](_0x2f4877[_0x4c9262(0x299)]),{unitId:_0x9405b4,tableId:_0x4d4172,recordIds:_0x52071d}=_0x2eef99,_0x8d6f93=_0x5020c9[_0x4c9262(0x441)](_0x9405b4,_0x2f4877[_0x4c9262(0x3d3)][_0x4c9262(0x13a)]);if(!_0x8d6f93||!_0x20431d(_0x8d6f93,_0x4d4172,{'recordIds':_0x52071d}))return!0x1;let _0x43bcf0=_0xc88b94[_0x4c9262(0x51c)](_0x2f4877[_0x4c9262(0x47c)]),_0x301111=_0xc88b94[_0x4c9262(0x51c)](_0x2f4877[_0x4c9262(0x4f1)]),_0x1a1a52=_0x8d6f93['getSnapshot'](),_0x9286ef=_0x38020a(_0x1a1a52[_0x4c9262(0x1ab)][_0x4d4172],_0x52071d),_0x3d6bee=new _0x41583f(),_0x5dab69=new _0xa877f0(),_0xf3f9c8=_0x3d6bee[_0x4c9262(0x31a)](_0x1a1a52,_0x4d4172,_0x52071d),_0x38c420=_0x5dab69[_0x4c9262(0x19b)](_0x1a1a52,_0xf3f9c8),_0x1d75eb=_0x3d6bee[_0x4c9262(0x3b6)](_0x1a1a52,_0x38c420,_0x4d4172,_0x52071d),_0x194828={'unitId':_0x9405b4,'op':_0xf3f9c8,'hierarchyChanges':_0x9286ef,'source':_0x2eef99[_0x4c9262(0x1b8)]??'ui'},_0x3d9b5d={..._0x194828,'source':_0x4c9262(0x2a0)},_0x4a7b8e={'unitId':_0x9405b4,'op':_0x1d75eb,'hierarchyChanges':_0x9286ef['map'](_0x159688=>({..._0x159688,'oldParentRecordId':_0x159688[_0x4c9262(0x344)],'parentRecordId':_0x159688['oldParentRecordId']})),'source':_0x4c9262(0x4c4)};return _0x43bcf0[_0x4c9262(0x4b8)](_0x1c3b88['id'],_0x194828)?(_0x5020c9[_0x4c9262(0x48b)](_0x9405b4),_0x301111[_0x4c9262(0x3a3)]({'unitID':_0x9405b4,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x4a7b8e}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x3d9b5d}]}),!0x0):!0x1;}},_0x8133b0={'id':_0x4cb5f0(0x2ba),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x369449,_0x4451c0)=>{const _0x48d94f=_0x4cb5f0;if(!_0x4451c0)return!0x1;let _0x1eaecc=_0x369449[_0x48d94f(0x51c)](_0x2f4877[_0x48d94f(0x299)]),{unitId:_0x3e8f36,tableId:_0x4f2362,fieldId:_0x130f98,input:_0x475ae5}=_0x4451c0,_0x2755c7=_0x1eaecc[_0x48d94f(0x441)](_0x3e8f36,_0x2f4877['UniverInstanceType'][_0x48d94f(0x13a)]);if(!_0x2755c7||_0x130f98===_0x2f4877[_0x48d94f(0x31e)]||!_0x20431d(_0x2755c7,_0x4f2362,{'fieldIds':[_0x130f98]}))return!0x1;let _0x38d16c=_0x369449[_0x48d94f(0x51c)](_0x2f4877['ICommandService']),_0x589d00=_0x369449[_0x48d94f(0x51c)](_0x2f4877['IUndoRedoService']),_0x1d9009=_0x2755c7['getSnapshot']();if(!_0x27ed83(_0x2755c7,_0x4f2362,{..._0x1d9009[_0x48d94f(0x1ab)][_0x4f2362][_0x48d94f(0x189)][_0x130f98],..._0x475ae5}))return!0x1;let _0xdca560=new _0x41583f()[_0x48d94f(0x120)](_0x1d9009,_0x4f2362,_0x130f98,_0x475ae5),_0x19ee2c=new _0xa877f0()[_0x48d94f(0x4fc)](_0x1d9009,_0xdca560),_0x1b2107={'unitId':_0x3e8f36,'op':_0xdca560},_0x2937ba={'unitId':_0x3e8f36,'op':_0x19ee2c};return _0x38d16c[_0x48d94f(0x4b8)](_0x1c3b88['id'],_0x1b2107)?(_0x1eaecc[_0x48d94f(0x48b)](_0x3e8f36),_0x589d00[_0x48d94f(0x3a3)]({'unitID':_0x3e8f36,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x2937ba}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1b2107}]}),!0x0):!0x1;}},_0xd084dd={'id':_0x4cb5f0(0x1a7),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler'(_0x1f1cc3,_0x2eb52d){const _0x42a8ec=_0x4cb5f0;var _0x5055f8;if(!_0x2eb52d)return!0x1;let {unitId:_0x41766a,tableId:_0x51b46b,parentRecordId:_0x3ee699}=_0x2eb52d,_0x571907=_0x1f1cc3[_0x42a8ec(0x51c)](_0x2f4877[_0x42a8ec(0x299)]),_0x2ebdb9=_0x571907['getUnit'](_0x41766a,_0x2f4877[_0x42a8ec(0x3d3)]['UNIVER_BASE']);if(!_0x2ebdb9||!_0x20431d(_0x2ebdb9,_0x51b46b,{'recordIds':[_0x3ee699]}))throw new _0x97cf7a(_0x42a8ec(0x513));let _0x25ea3e=_0x2ebdb9[_0x42a8ec(0x51d)](),_0x191ea1=_0x25ea3e[_0x42a8ec(0x1ab)][_0x51b46b],_0x357272=_0x283799(_0x191ea1),_0x5e0343=_0x357272??_0x2eb52d[_0x42a8ec(0x3bd)]??_0x595553(_0x191ea1);if(_0x357272&&_0x2eb52d[_0x42a8ec(0x3bd)]&&_0x2eb52d[_0x42a8ec(0x3bd)]!==_0x357272||_0x191ea1['fields'][_0x5e0343]&&!_0xb12dec(_0x191ea1,_0x5e0343))throw new _0x97cf7a('invalidField');if((_0x439c09(_0x191ea1,_0x5e0343)['depthByRecordId']['get'](_0x3ee699)??0x0)+0x1>=0x5)throw new _0x97cf7a(_0x42a8ec(0x4b2));if(!_0x45c2eb(_0x2ebdb9,_0x51b46b,_0x2eb52d[_0x42a8ec(0x2d9)]))return!0x1;let _0x4e9d08=_0x3142d8({..._0x2eb52d[_0x42a8ec(0x2d9)],'values':{..._0x2eb52d['record'][_0x42a8ec(0x12b)],[_0x5e0343]:_0x1f853d([_0x3ee699])}}),_0x3b174b=_0x1f1cc3['get'](_0x339d0e),_0x54ff74=new _0x41583f(),_0x35a828=_0x191ea1[_0x42a8ec(0x189)][_0x5e0343],_0x53bbd5=_0x35a828?((_0x5055f8=_0xd65722(_0x35a828))==null?void 0x0:_0x5055f8['relationRole'])===_0x2f4877[_0x42a8ec(0x3c9)][_0x42a8ec(0x152)]?null:_0x54ff74[_0x42a8ec(0x1ce)](_0x25ea3e,_0x51b46b,_0x5e0343,{'config':{..._0x35a828[_0x42a8ec(0x40b)],'relationRole':_0x2f4877[_0x42a8ec(0x3c9)][_0x42a8ec(0x152)]}}):_0x3b174b[_0x42a8ec(0x1c9)](_0x2ebdb9,_0x51b46b,_0x3001cd(_0x191ea1,_0x5e0343,_0x2eb52d[_0x42a8ec(0x1dc)]),_0x191ea1[_0x42a8ec(0x482)]['length']),_0x2c02ba=_0x3b174b[_0x42a8ec(0x4a2)](_0x2ebdb9,_0x51b46b,_0x4e9d08),_0x28bbe6=_0x407666([..._0x53bbd5?[_0x53bbd5]:[],_0x2c02ba]),_0x2d334b=new _0xa877f0()[_0x42a8ec(0x4fc)](_0x25ea3e,_0x28bbe6),_0x502032={'tableId':_0x51b46b,'fieldId':_0x5e0343,'recordId':_0x4e9d08['id'],'oldParentRecordId':null,'parentRecordId':_0x3ee699},_0x531db9={'unitId':_0x41766a,'op':_0x28bbe6,'trigger':_0xd084dd['id'],'hierarchyChanges':[_0x502032],'source':_0x2eb52d[_0x42a8ec(0x1b8)]??'ui'},_0x5ad10b={..._0x531db9,'source':_0x42a8ec(0x2a0)},_0x57dbc3={'unitId':_0x41766a,'op':_0x2d334b,'trigger':_0xd084dd['id'],'hierarchyChanges':[{..._0x502032,'oldParentRecordId':_0x3ee699,'parentRecordId':null}],'source':_0x42a8ec(0x4c4)};return _0x1f1cc3[_0x42a8ec(0x51c)](_0x2f4877[_0x42a8ec(0x47c)])[_0x42a8ec(0x4b8)](_0x1c3b88['id'],_0x531db9)?(_0x571907['focusUnit'](_0x41766a),_0x1f1cc3[_0x42a8ec(0x51c)](_0x2f4877[_0x42a8ec(0x4f1)])[_0x42a8ec(0x3a3)]({'unitID':_0x41766a,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x57dbc3}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x5ad10b}]}),!0x0):!0x1;}},_0x57eb78={'id':'base.command.create-base-field','type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler'(_0x308202,_0x25095a){const _0x53d10e=_0x4cb5f0;if(!_0x25095a)return!0x1;let _0x433e9f=_0x308202[_0x53d10e(0x51c)](_0x2f4877[_0x53d10e(0x299)]),{unitId:_0x4a03bb,tableId:_0x3314fe,field:_0x4bf26a,index:_0x2cac57,viewIndexes:_0x244052}=_0x25095a,_0x1800df=_0x433e9f[_0x53d10e(0x441)](_0x4a03bb,_0x2f4877[_0x53d10e(0x3d3)][_0x53d10e(0x13a)]);if(!_0x1800df||!_0x20431d(_0x1800df,_0x3314fe)||_0x1800df[_0x53d10e(0x51d)]()[_0x53d10e(0x1ab)][_0x3314fe]['fields'][_0x4bf26a['id']]||_0x2cac57===0x0||!_0x27ed83(_0x1800df,_0x3314fe,_0x4bf26a))return!0x1;let _0x2c9f9a=_0x308202[_0x53d10e(0x51c)](_0x2f4877[_0x53d10e(0x47c)]),_0x27b167=_0x308202['get'](_0x2f4877[_0x53d10e(0x4f1)]),_0x3a9b52=_0x308202['get'](_0x339d0e)[_0x53d10e(0x1c9)](_0x1800df,_0x3314fe,_0x4bf26a,_0x2cac57,_0x244052),_0x2a8041=new _0xa877f0()['invertOp'](_0x1800df[_0x53d10e(0x51d)](),_0x3a9b52),_0x3bd512={'unitId':_0x4a03bb,'op':_0x3a9b52},_0x327ad4={'unitId':_0x4a03bb,'op':_0x2a8041};return _0x2c9f9a[_0x53d10e(0x4b8)](_0x1c3b88['id'],_0x3bd512)?(_0x433e9f['focusUnit'](_0x4a03bb),_0x27b167[_0x53d10e(0x3a3)]({'unitID':_0x4a03bb,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x327ad4}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x3bd512}]}),!0x0):!0x1;}},_0x5e4816={'id':'base.command.create-base-record','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler'(_0x42d4a6,_0x299076){const _0x5e5058=_0x4cb5f0;if(!_0x299076)return!0x1;let _0x297465=_0x42d4a6[_0x5e5058(0x51c)](_0x2f4877[_0x5e5058(0x299)]),{unitId:_0x35f4d6,tableId:_0x437757,record:_0xa8d075}=_0x299076,_0x60604f=_0x297465['getUnit'](_0x35f4d6,_0x2f4877[_0x5e5058(0x3d3)][_0x5e5058(0x13a)]);if(!_0x60604f||!_0x20431d(_0x60604f,_0x437757))return!0x1;let _0x5b8f0f=_0x42d4a6[_0x5e5058(0x51c)](_0x2f4877[_0x5e5058(0x47c)]),_0x36d26f=_0x42d4a6[_0x5e5058(0x51c)](_0x2f4877['IUndoRedoService']),_0x2b9c66=_0x42d4a6[_0x5e5058(0x51c)](_0x339d0e),_0x5b46fa=_0x60604f[_0x5e5058(0x51d)](),_0x1d997d=_0x344dca(_0x60604f,_0x437757,[_0xa8d075]);if(!_0x1d997d)return!0x1;let [_0x557646]=_0x1d997d[_0x5e5058(0x3cc)],{hierarchyChanges:_0x27bb22,hierarchyFieldToMaterialize:_0x420c8e}=_0x1d997d,_0x5d1ed9=_0x420c8e?_0x2b9c66[_0x5e5058(0x1c9)](_0x60604f,_0x437757,_0x420c8e,_0x5b46fa[_0x5e5058(0x1ab)][_0x437757][_0x5e5058(0x482)][_0x5e5058(0x40a)]):null,_0x1b1fff=_0x2b9c66['createCreateRecordOp'](_0x60604f,_0x437757,_0x557646),_0x5a2bf0=_0x407666([..._0x5d1ed9?[_0x5d1ed9]:[],_0x1b1fff]),_0x3514a2=new _0xa877f0()['invertOp'](_0x5b46fa,_0x5a2bf0),_0x4ace5f={'unitId':_0x35f4d6,'op':_0x5a2bf0,'hierarchyChanges':_0x27bb22[_0x5e5058(0x40a)]?_0x27bb22:void 0x0,'source':_0x27bb22['length']?_0x299076['source']??'ui':void 0x0},_0x1738e5={..._0x4ace5f,'source':_0x27bb22[_0x5e5058(0x40a)]?_0x5e5058(0x2a0):void 0x0},_0xd3315e={'unitId':_0x35f4d6,'op':_0x3514a2,'hierarchyChanges':_0x27bb22['length']?_0x27bb22[_0x5e5058(0x208)](_0x563351=>({..._0x563351,'oldParentRecordId':_0x563351[_0x5e5058(0x344)],'parentRecordId':null})):void 0x0,'source':_0x27bb22[_0x5e5058(0x40a)]?'undo':void 0x0};return _0x5b8f0f[_0x5e5058(0x4b8)](_0x1c3b88['id'],_0x4ace5f)?(_0x297465[_0x5e5058(0x48b)](_0x35f4d6),_0x36d26f[_0x5e5058(0x3a3)]({'unitID':_0x35f4d6,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0xd3315e}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1738e5}]}),!0x0):!0x1;}};function _0x95fc4a(_0x18cde4,_0x197fd6,_0x546be9){const _0x13eb6e=_0x4cb5f0;if(!_0x197fd6['trim']())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x13eb6e(0x2be)};if(_0x197fd6[_0x13eb6e(0x40a)]>0x1f)return{'valid':!0x1,'reason':_0x13eb6e(0x1c2),'error':_0x13eb6e(0x342)};if(_0x197fd6[_0x13eb6e(0x316)]('\x27')||_0x197fd6['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x13eb6e(0x308),'error':_0x13eb6e(0x410)};if(/[:\\/?*\[\]]/['test'](_0x197fd6))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','error':_0x13eb6e(0x352)};if(!(0x0,_0x2f4877[_0x13eb6e(0x125)])(_0x197fd6))return{'valid':!0x1,'reason':_0x13eb6e(0x154),'error':_0x13eb6e(0x13b)};let _0x35c20c=_0x197fd6[_0x13eb6e(0x4e8)]();return Object[_0x13eb6e(0x12b)](_0x18cde4[_0x13eb6e(0x1ab)])[_0x13eb6e(0x258)](_0xed0e37=>_0xed0e37['id']!==_0x546be9&&_0xed0e37[_0x13eb6e(0x406)]['toLowerCase']()===_0x35c20c)?{'valid':!0x1,'reason':_0x13eb6e(0x363),'error':_0x13eb6e(0x170)}:{'valid':!0x0};}function _0x4153d3(_0x4d7f4b,_0x75d195){const _0x30b68e=_0x4cb5f0;let _0x1daf40=_0x75d195['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x30b68e(0x307)](/^'+|'+$/g,'')[_0x30b68e(0x11b)]()||'Table',_0x27b105=0x1;for(;;){let _0xa27255=_0x27b105===0x1?'':'\x20'+_0x27b105,_0x516c51=''+_0x1daf40[_0x30b68e(0x3fb)](0x0,0x1f-_0xa27255['length'])+_0xa27255;if(_0x95fc4a(_0x4d7f4b,_0x516c51)['valid'])return _0x516c51;_0x27b105++;}}let _0x261b7b={'id':'base.command.create-base-table','type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler':(_0x459a34,_0x58ce23)=>{const _0x476fad=_0x4cb5f0;if(!_0x58ce23)return!0x1;let _0x338d89=_0x459a34['get'](_0x2f4877[_0x476fad(0x299)]),{unitId:_0x1fdbcd,table:_0x11008b,index:_0x3798ab}=_0x58ce23,_0x1be955=_0x338d89['getUnit'](_0x1fdbcd,_0x2f4877[_0x476fad(0x3d3)][_0x476fad(0x13a)]);if(!_0x1be955||_0x1be955[_0x476fad(0x51d)]()[_0x476fad(0x1ab)][_0x11008b['id']]||!_0x95fc4a(_0x1be955[_0x476fad(0x51d)](),_0x11008b[_0x476fad(0x406)])[_0x476fad(0x52b)])return!0x1;try{(0x0,_0x2f4877['assertBaseTableRecordIdentity'])(_0x11008b);}catch{return!0x1;}let _0x2b4c7a=_0x459a34['get'](_0x2f4877[_0x476fad(0x47c)]),_0x54c791=_0x459a34[_0x476fad(0x51c)](_0x2f4877[_0x476fad(0x4f1)]),_0x5bf37d=_0x1be955[_0x476fad(0x51d)](),_0x3c13b6=new _0x41583f()[_0x476fad(0x10b)](_0x5bf37d,_0x11008b,_0x3798ab),_0x23db93=new _0xa877f0()['invertOp'](_0x5bf37d,_0x3c13b6),_0xd81407={'unitId':_0x1fdbcd,'op':_0x3c13b6},_0x1a2000={'unitId':_0x1fdbcd,'op':_0x23db93};return _0x2b4c7a[_0x476fad(0x4b8)](_0x1c3b88['id'],_0xd81407)?(_0x338d89[_0x476fad(0x48b)](_0x1fdbcd),_0x54c791[_0x476fad(0x3a3)]({'unitID':_0x1fdbcd,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x1a2000}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0xd81407}]}),!0x0):!0x1;}};function _0x43ac17(_0x24b8c4,_0x18ee40,_0x5f36bb=[]){const _0x2c4fe9=_0x4cb5f0;let _0x4e7a61=new Set([...Object[_0x2c4fe9(0x12b)](_0x24b8c4['fields'])['filter'](_0x5be5ce=>_0x5be5ce)['map'](_0x3a2059=>_0x3a2059['name']),..._0x5f36bb['map'](_0x1a3201=>_0x1a3201[_0x2c4fe9(0x406)])]);if(!_0x4e7a61[_0x2c4fe9(0x22a)](_0x18ee40))return _0x18ee40;let _0x5c9ad9=0x2;for(;_0x4e7a61[_0x2c4fe9(0x22a)](_0x18ee40+'\x20'+_0x5c9ad9);)_0x5c9ad9++;return _0x18ee40+'\x20'+_0x5c9ad9;}function _0x3bb721(_0x297a0e,_0x4b26c0){const _0x2f1747=_0x4cb5f0;if(!_0x297a0e||!_0x4b26c0[_0x2f1747(0x40a)])return;let _0x2305d2=[..._0x297a0e];return _0x4b26c0[_0x2f1747(0x167)](_0x5b4a9a=>{const _0x5f30cd=_0x2f1747;_0x2305d2[_0x5f30cd(0x47b)](_0x5b4a9a)||_0x2305d2[_0x5f30cd(0x158)](_0x5b4a9a);}),_0x2305d2;}let _0x3f7d26={'options':[{'id':'todo','name':_0x4cb5f0(0x409),'color':_0x4cb5f0(0x46b)},{'id':_0x4cb5f0(0x401),'name':_0x4cb5f0(0x3ab),'color':_0x4cb5f0(0x2ec)},{'id':'done','name':_0x4cb5f0(0x524),'color':_0x4cb5f0(0x254)}]},_0x132290={'locale':_0x4cb5f0(0x328),'pattern':_0x4cb5f0(0x371),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x4cb5f0(0x555)};function _0x25d7c4(_0x1e0de2,_0x462b79,_0x3a15da,_0x4cc69d){const _0x4d24e8=_0x4cb5f0;var _0x3ac612;let _0x4a937e=new _0x41583f(),_0x4bfedb=_0x1e0de2['tables'][_0x462b79],_0x54197d=_0x4bfedb?{..._0x3a15da,'fieldOrder':[_0x2f4877[_0x4d24e8(0x31e)],...(_0x3a15da[_0x4d24e8(0x482)]??_0x4bfedb[_0x4d24e8(0x482)])['filter'](_0xee6154=>_0xee6154!==_0x2f4877[_0x4d24e8(0x31e)])],'fieldSettings':{..._0x3a15da['fieldSettings'],[_0x2f4877['BASE_RECORD_ID_FIELD_ID']]:{...(_0x3ac612=_0x3a15da[_0x4d24e8(0x31c)])==null?void 0x0:_0x3ac612[_0x2f4877[_0x4d24e8(0x31e)]],'hidden':!0x0}}}:_0x3a15da;if(_0x4bfedb&&_0x54197d['type']===_0x4d24e8(0x329)){let _0x5aa198=_0x5682b7(_0x4bfedb,_0x54197d),_0x1b2939=_0x5aa198[_0x4d24e8(0x1ea)]?{..._0x54197d,'config':_0x5aa198[_0x4d24e8(0x40b)],'fieldOrder':_0x5aa198[_0x4d24e8(0x482)]??_0x54197d['fieldOrder']}:_0x54197d;return _0x407666([..._0x5aa198[_0x4d24e8(0x189)][_0x4d24e8(0x208)](_0x15fe31=>_0x4a937e['createField'](_0x1e0de2,_0x462b79,{'field':_0x15fe31})),_0x4a937e[_0x4d24e8(0x51a)](_0x1e0de2,_0x462b79,_0x1b2939,_0x4cc69d)]);}if(!_0x4bfedb||_0x54197d[_0x4d24e8(0x3fd)]!==_0x4d24e8(0x568)&&_0x54197d['type']!==_0x4d24e8(0x3f6))return _0x4a937e[_0x4d24e8(0x51a)](_0x1e0de2,_0x462b79,_0x54197d,_0x4cc69d);let _0x5cf05a=_0x15b670(_0x4bfedb,_0x54197d),_0x5995e7=_0x5cf05a[_0x4d24e8(0x1ea)]?{..._0x54197d,'config':_0x5cf05a['config'],'fieldOrder':_0x5cf05a[_0x4d24e8(0x482)]??_0x54197d[_0x4d24e8(0x482)]}:_0x54197d;return _0x54197d[_0x4d24e8(0x3fd)]===_0x4d24e8(0x3f6)&&_0x121272(_0x54197d)&&(_0x5995e7=_0x44e152(_0x4bfedb,_0x5995e7,_0x5cf05a[_0x4d24e8(0x189)])),_0x407666([..._0x5cf05a[_0x4d24e8(0x189)][_0x4d24e8(0x208)](_0x403653=>_0x4a937e[_0x4d24e8(0x4de)](_0x1e0de2,_0x462b79,{'field':_0x403653})),_0x4a937e['createView'](_0x1e0de2,_0x462b79,_0x5995e7,_0x4cc69d)]);}function _0x15b670(_0x4cc9e4,_0x564b90,_0x50111a=!0x1){const _0x422bd1=_0x4cb5f0;var _0x478dfe,_0x222acf;let _0x36adab=_0x4cc9e4[_0x422bd1(0x482)][_0x422bd1(0x431)](_0x5d505e=>_0x4625e2(_0x4cc9e4,_0x5d505e)),_0x125242=[],_0x20a717={..._0x564b90[_0x422bd1(0x40b)]??{}},_0xeba042=typeof _0x20a717[_0x422bd1(0x549)]=='string'&&_0x4625e2(_0x4cc9e4,_0x20a717[_0x422bd1(0x549)])?_0x20a717[_0x422bd1(0x549)]:_0x36adab[0x0],_0x1f3514=typeof _0x20a717[_0x422bd1(0x55e)]==_0x422bd1(0x3ef)&&_0x4625e2(_0x4cc9e4,_0x20a717[_0x422bd1(0x55e)])&&_0x20a717[_0x422bd1(0x55e)]!==_0xeba042?_0x20a717['endDateFieldId']:_0x36adab[_0x422bd1(0x3b5)](_0x1a7847=>_0x1a7847!==_0xeba042);if(!_0xeba042){let _0x4a089c=_0x5e8f10(_0x4cc9e4,_0x125242,_0x564b90[_0x422bd1(0x3fd)]===_0x422bd1(0x3f6)?_0x422bd1(0x486):'Date');_0x125242['push'](_0x4a089c),_0xeba042=_0x4a089c['id'];}if((_0x564b90['type']==='gantt'||_0x50111a)&&!_0x1f3514){let _0x1c1d16=_0x5e8f10(_0x4cc9e4,_0x125242,_0x422bd1(0x4b3));_0x125242[_0x422bd1(0x158)](_0x1c1d16),_0x1f3514=_0x1c1d16['id'];}_0x564b90[_0x422bd1(0x3fd)]===_0x422bd1(0x568)&&!_0x1f3514&&delete _0x20a717['endDateFieldId'],_0x20a717[_0x422bd1(0x549)]=_0xeba042,_0x564b90['type']===_0x422bd1(0x568)&&_0x1f3514&&(_0x20a717[_0x422bd1(0x55e)]=_0x1f3514),_0x564b90[_0x422bd1(0x3fd)]===_0x422bd1(0x3f6)&&(_0x20a717[_0x422bd1(0x55e)]=_0x1f3514??_0xeba042);let _0x59f541=_0x3bb721(_0x564b90[_0x422bd1(0x482)],_0x125242[_0x422bd1(0x208)](_0x4b8073=>_0x4b8073['id']));return{'changed':_0x125242[_0x422bd1(0x40a)]>0x0||_0x20a717['startDateFieldId']!==((_0x478dfe=_0x564b90['config'])==null?void 0x0:_0x478dfe[_0x422bd1(0x549)])||_0x20a717['endDateFieldId']!==((_0x222acf=_0x564b90[_0x422bd1(0x40b)])==null?void 0x0:_0x222acf[_0x422bd1(0x55e)])||!(!_0x59f541||_0x2f4877[_0x422bd1(0x10e)]['diffValue'](_0x59f541,_0x564b90[_0x422bd1(0x482)]??[])),'fields':_0x125242,'config':_0x20a717,'fieldOrder':_0x59f541};}function _0x5682b7(_0x5e5dd8,_0x4d64ed){const _0x3631a9=_0x4cb5f0;var _0x45cd7d;let _0x5a4846=[],_0x305f39={..._0x4d64ed[_0x3631a9(0x40b)]??{}},_0x30fa7e=typeof _0x305f39[_0x3631a9(0x46d)]==_0x3631a9(0x3ef)&&_0x284857(_0x5e5dd8,_0x305f39[_0x3631a9(0x46d)])?_0x305f39[_0x3631a9(0x46d)]:_0x5e5dd8[_0x3631a9(0x482)]['find'](_0x1d819e=>_0x284857(_0x5e5dd8,_0x1d819e));if(!_0x30fa7e){let _0x4394d5=_0x4f7f6b(_0x5e5dd8,_0x5a4846);_0x5a4846[_0x3631a9(0x158)](_0x4394d5),_0x30fa7e=_0x4394d5['id'];}_0x305f39[_0x3631a9(0x46d)]=_0x30fa7e;let _0x202b0a=_0x3bb721(_0x4d64ed[_0x3631a9(0x482)],_0x5a4846[_0x3631a9(0x208)](_0x7be71d=>_0x7be71d['id']));return{'changed':_0x5a4846['length']>0x0||_0x305f39['groupFieldId']!==((_0x45cd7d=_0x4d64ed[_0x3631a9(0x40b)])==null?void 0x0:_0x45cd7d[_0x3631a9(0x46d)])||!(!_0x202b0a||_0x2f4877[_0x3631a9(0x10e)][_0x3631a9(0x1df)](_0x202b0a,_0x4d64ed[_0x3631a9(0x482)]??[])),'fields':_0x5a4846,'config':_0x305f39,'fieldOrder':_0x202b0a};}function _0x284857(_0x387d97,_0x36cd17){const _0x324071=_0x4cb5f0;let _0x191b50=_0x36cd17?_0x387d97['fields'][_0x36cd17]:null;return _0x191b50?[_0x2f4877[_0x324071(0x4aa)]['SingleSelect'],_0x2f4877[_0x324071(0x4aa)][_0x324071(0x220)],_0x2f4877[_0x324071(0x4aa)][_0x324071(0x2b4)],_0x2f4877[_0x324071(0x4aa)][_0x324071(0x324)],_0x2f4877[_0x324071(0x4aa)][_0x324071(0x1bc)],_0x2f4877[_0x324071(0x4aa)]['Checkbox']]['includes'](_0x191b50['type']):!0x1;}function _0x4f7f6b(_0x13315c,_0x351603){const _0x5ddfb0=_0x4cb5f0;return{'id':_0x5ddfb0(0x3ac)+(0x0,_0x2f4877['generateRandomId'])(0x8),'name':_0x43ac17(_0x13315c,_0x5ddfb0(0x2c3),_0x351603),'type':_0x2f4877['BaseFieldType'][_0x5ddfb0(0x340)],'config':_0x2f4877['Tools'][_0x5ddfb0(0x1f3)](_0x3f7d26)};}function _0x121272(_0x440e8d){const _0x4be2c0=_0x4cb5f0;return Object['keys'](_0x440e8d[_0x4be2c0(0x40b)]??{})[_0x4be2c0(0x40a)]===0x0&&Object[_0x4be2c0(0x174)](_0x440e8d[_0x4be2c0(0x31c)]??{})['length']===0x0;}function _0x44e152(_0x44544f,_0x5df0f3,_0x5d8ce4){const _0x2c9255=_0x4cb5f0;let _0x475516={..._0x5df0f3['config']??{}},_0x1ee49c=_0x5d8ce4[_0x2c9255(0x208)](_0x152892=>_0x152892['id']),_0x6c425c=[..._0x44544f[_0x2c9255(0x482)],..._0x1ee49c],_0x53f9ca=typeof _0x475516['titleFieldId']==_0x2c9255(0x3ef)&&_0x500d36(_0x44544f,_0x5d8ce4,_0x475516[_0x2c9255(0x106)])?_0x475516['titleFieldId']:_0x44544f[_0x2c9255(0x3e1)],_0x4b92cd=typeof _0x475516['startDateFieldId']==_0x2c9255(0x3ef)?_0x475516['startDateFieldId']:'',_0x35de7c=typeof _0x475516[_0x2c9255(0x55e)]==_0x2c9255(0x3ef)?_0x475516[_0x2c9255(0x55e)]:_0x4b92cd,_0x474302=new Set([_0x53f9ca,_0x4b92cd,_0x35de7c][_0x2c9255(0x431)](_0x1a1011=>_0x1a1011&&_0x500d36(_0x44544f,_0x5d8ce4,_0x1a1011))),_0x2cbc90=Object[_0x2c9255(0x1c0)](_0x6c425c[_0x2c9255(0x38f)](_0x445b29=>_0x474302[_0x2c9255(0x22a)](_0x445b29)||!_0x500d36(_0x44544f,_0x5d8ce4,_0x445b29)?[]:[[_0x445b29,{'hidden':!0x0}]]));return{..._0x5df0f3,'config':{..._0x475516,'titleFieldId':_0x53f9ca},'fieldSettings':_0x2cbc90};}function _0x500d36(_0x5ab6ef,_0x3a5cd5,_0x107367){const _0x3ecd06=_0x4cb5f0;return!!(_0x5ab6ef['fields'][_0x107367]??_0x3a5cd5[_0x3ecd06(0x3b5)](_0x417e7f=>_0x417e7f['id']===_0x107367))&&!0x0;}function _0x4625e2(_0x2041b8,_0x557466){const _0x5f1bcd=_0x4cb5f0;let _0x5d6a10=_0x557466?_0x2041b8[_0x5f1bcd(0x189)][_0x557466]:null;return!!_0x5d6a10&&_0x5d6a10[_0x5f1bcd(0x3fd)]===_0x2f4877[_0x5f1bcd(0x4aa)][_0x5f1bcd(0x14d)]&&_0x5d6a10['readonly']!==!0x0&&_0x5d6a10['system']!==!0x0;}function _0x5e8f10(_0x5a9023,_0x1501f0,_0x1f4279){const _0x541f58=_0x4cb5f0;let _0x753e62=new Set([...Object[_0x541f58(0x174)](_0x5a9023['fields']),..._0x1501f0['map'](_0x4fb1e9=>_0x4fb1e9['id'])]),_0x22c365=_0x541f58(0x3ac)+(0x0,_0x2f4877['generateRandomId'])(0x8);for(;_0x753e62[_0x541f58(0x22a)](_0x22c365);)_0x22c365=_0x541f58(0x3ac)+(0x0,_0x2f4877[_0x541f58(0x507)])(0x8);return{'id':_0x22c365,'name':_0x43ac17(_0x5a9023,_0x1f4279,_0x1501f0),'type':_0x2f4877[_0x541f58(0x4aa)][_0x541f58(0x14d)],'config':{..._0x132290}};}let _0x2da969={'id':_0x4cb5f0(0x331),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x2cb7de,_0x425d03)=>{const _0x21a066=_0x4cb5f0;if(!_0x425d03)return!0x1;let _0x39ac47=_0x2cb7de[_0x21a066(0x51c)](_0x2f4877[_0x21a066(0x299)]),{unitId:_0x3cb209,tableId:_0x25c94f,view:_0x506d15,index:_0x559930}=_0x425d03,_0x14d901=_0x39ac47['getUnit'](_0x3cb209,_0x2f4877['UniverInstanceType']['UNIVER_BASE']);if(!_0x14d901||!_0x20431d(_0x14d901,_0x25c94f)||_0x14d901['getSnapshot']()[_0x21a066(0x1ab)][_0x25c94f]['views'][_0x506d15['id']])return!0x1;let _0x3bf1fc=_0x2cb7de['get'](_0x2f4877[_0x21a066(0x47c)]),_0x294eb8=_0x2cb7de[_0x21a066(0x51c)](_0x2f4877[_0x21a066(0x4f1)]),_0x491815=_0x14d901[_0x21a066(0x51d)](),_0x3ba9e4=_0x25d7c4(_0x491815,_0x25c94f,_0x506d15,_0x559930),_0x1764b4=new _0xa877f0()[_0x21a066(0x4fc)](_0x491815,_0x3ba9e4),_0x50d3ca={'historyAction':_0x21a066(0x4d2),'unitId':_0x3cb209,'op':_0x3ba9e4,'viewType':_0x506d15[_0x21a066(0x3fd)]},_0x4bdeae={'historyAction':_0x21a066(0x10d),'unitId':_0x3cb209,'op':_0x1764b4,'viewType':_0x506d15[_0x21a066(0x3fd)]};return _0x3bf1fc[_0x21a066(0x4b8)](_0x1c3b88['id'],_0x50d3ca)?(_0x39ac47['focusUnit'](_0x3cb209),_0x294eb8[_0x21a066(0x3a3)]({'unitID':_0x3cb209,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x4bdeae}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x50d3ca}]}),!0x0):!0x1;}},_0x12c5a8={'id':_0x4cb5f0(0x3f2),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler'(_0x3c24c2,_0x3e8a21){const _0x116fbd=_0x4cb5f0;if(!_0x3e8a21)return!0x1;let _0xca9b0d=_0x3c24c2[_0x116fbd(0x51c)](_0x2f4877[_0x116fbd(0x299)]),{unitId:_0x3b3970,tableId:_0x46f275,fieldId:_0x58a55e}=_0x3e8a21,_0x279441=_0xca9b0d[_0x116fbd(0x441)](_0x3b3970,_0x2f4877[_0x116fbd(0x3d3)][_0x116fbd(0x13a)]);if(!_0x279441)return!0x1;let _0x2cce8b=_0x279441['getSnapshot'](),_0x567291=_0x2cce8b[_0x116fbd(0x1ab)][_0x46f275];if(!_0x20431d(_0x279441,_0x46f275,{'fieldIds':[_0x58a55e]})||_0x567291[_0x116fbd(0x3e1)]===_0x58a55e||_0x58a55e===_0x2f4877['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x50bc7a=_0x3c24c2['get'](_0x2f4877['ICommandService']),_0x4b5140=_0x3c24c2[_0x116fbd(0x51c)](_0x2f4877[_0x116fbd(0x4f1)]),_0x1c740a=new _0x41583f()[_0x116fbd(0x4c1)](_0x2cce8b,_0x46f275,_0x58a55e),_0x448a75=new _0xa877f0()[_0x116fbd(0x4fc)](_0x2cce8b,_0x1c740a),_0x44e85b={'unitId':_0x3b3970,'op':_0x1c740a},_0x476daf={'unitId':_0x3b3970,'op':_0x448a75};return _0x50bc7a['syncExecuteCommand'](_0x1c3b88['id'],_0x44e85b)?(_0xca9b0d['focusUnit'](_0x3b3970),_0x4b5140[_0x116fbd(0x3a3)]({'unitID':_0x3b3970,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x476daf}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x44e85b}]}),!0x0):!0x1;}},_0x392cdd={'id':_0x4cb5f0(0x1e9),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x19215e,_0x549dba)=>{const _0x50dbaa=_0x4cb5f0;if(!_0x549dba)return!0x1;let _0x4ccd1b=_0x19215e[_0x50dbaa(0x51c)](_0x2f4877['IUniverInstanceService']),{unitId:_0x4336f8,tableId:_0x1f48c6,recordId:_0x56e3c0}=_0x549dba,_0x20ab2d=_0x4ccd1b[_0x50dbaa(0x441)](_0x4336f8,_0x2f4877[_0x50dbaa(0x3d3)]['UNIVER_BASE']);if(!_0x20ab2d||!_0x20431d(_0x20ab2d,_0x1f48c6,{'recordIds':[_0x56e3c0]}))return!0x1;let _0x144a7e=_0x19215e[_0x50dbaa(0x51c)](_0x2f4877[_0x50dbaa(0x47c)]),_0x28c9b3=_0x19215e[_0x50dbaa(0x51c)](_0x2f4877[_0x50dbaa(0x4f1)]),_0x144e8e=_0x20ab2d[_0x50dbaa(0x51d)](),_0x5ded89=_0x38020a(_0x144e8e[_0x50dbaa(0x1ab)][_0x1f48c6],[_0x56e3c0]),_0x2b9032=new _0x41583f(),_0x285a7a=new _0xa877f0(),_0x1120c8=_0x2b9032[_0x50dbaa(0x227)](_0x144e8e,_0x1f48c6,_0x56e3c0),_0x56824f=_0x285a7a['applyOp'](_0x144e8e,_0x1120c8),_0x554c58=_0x2b9032[_0x50dbaa(0x3b6)](_0x144e8e,_0x56824f,_0x1f48c6,[_0x56e3c0]),_0x5a7995={'unitId':_0x4336f8,'op':_0x1120c8,'hierarchyChanges':_0x5ded89,'source':_0x549dba['source']??'ui'},_0x423966={..._0x5a7995,'source':_0x50dbaa(0x2a0)},_0x56f67b={'unitId':_0x4336f8,'op':_0x554c58,'hierarchyChanges':_0x5ded89['map'](_0x5e77a0=>({..._0x5e77a0,'oldParentRecordId':_0x5e77a0['parentRecordId'],'parentRecordId':_0x5e77a0[_0x50dbaa(0x3de)]})),'source':_0x50dbaa(0x4c4)};return _0x144a7e[_0x50dbaa(0x4b8)](_0x1c3b88['id'],_0x5a7995)?(_0x4ccd1b[_0x50dbaa(0x48b)](_0x4336f8),_0x28c9b3[_0x50dbaa(0x3a3)]({'unitID':_0x4336f8,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x56f67b}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x423966}]}),!0x0):!0x1;}},_0x56832e={'id':'base.command.delete-base-table','type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x53920d,_0x3297b0)=>{const _0x2c0710=_0x4cb5f0;if(!_0x3297b0)return!0x1;let _0x4760e5=_0x53920d['get'](_0x2f4877[_0x2c0710(0x299)]),{unitId:_0xb12055,tableId:_0x1b191f}=_0x3297b0,_0x2a23f5=_0x4760e5[_0x2c0710(0x441)](_0xb12055,_0x2f4877[_0x2c0710(0x3d3)]['UNIVER_BASE']);if(!_0x2a23f5||!_0x20431d(_0x2a23f5,_0x1b191f))return!0x1;let _0x422189=_0x53920d[_0x2c0710(0x51c)](_0x2f4877[_0x2c0710(0x47c)]),_0xd9e3e6=_0x53920d['get'](_0x2f4877['IUndoRedoService']),_0x576c22=_0x2a23f5[_0x2c0710(0x51d)](),_0x3c67d9=_0x52d6e6(_0x576c22,_0x1b191f);if(_0x3c67d9['length']>0x0)return console[_0x2c0710(0x49d)](_0x2c0710(0x184)+_0x1b191f+_0x2c0710(0x39c)+_0x3c67d9[_0x2c0710(0x208)](_0x2ecf78=>_0x2ecf78[_0x2c0710(0x348)]+'.'+_0x2ecf78[_0x2c0710(0x3bd)])[_0x2c0710(0x483)](',\x20')+'.'),!0x1;let _0x2312c2=new _0x41583f()['deleteTable'](_0x576c22,_0x1b191f),_0x2b4e49=new _0xa877f0()[_0x2c0710(0x4fc)](_0x576c22,_0x2312c2),_0x298f36={'unitId':_0xb12055,'op':_0x2312c2},_0x38c29e={'unitId':_0xb12055,'op':_0x2b4e49};return _0x422189[_0x2c0710(0x4b8)](_0x1c3b88['id'],_0x298f36)?(_0x4760e5[_0x2c0710(0x48b)](_0xb12055),_0xd9e3e6[_0x2c0710(0x3a3)]({'unitID':_0xb12055,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x38c29e}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x298f36}]}),!0x0):!0x1;}},_0x2901fb={'id':_0x4cb5f0(0x3e5),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x308c5d,_0x4ffd37)=>{const _0x302a38=_0x4cb5f0;if(!_0x4ffd37)return!0x1;let _0x192bf1=_0x308c5d['get'](_0x2f4877['IUniverInstanceService']),{unitId:_0x4e75bc,tableId:_0x56869c,viewId:_0x606c18}=_0x4ffd37,_0x56820b=_0x192bf1[_0x302a38(0x441)](_0x4e75bc,_0x2f4877[_0x302a38(0x3d3)][_0x302a38(0x13a)]);if(!_0x56820b||!_0x20431d(_0x56820b,_0x56869c,{'viewIds':[_0x606c18]}))return!0x1;let _0x2417eb=_0x308c5d['get'](_0x2f4877[_0x302a38(0x47c)]),_0x366dd4=_0x308c5d[_0x302a38(0x51c)](_0x2f4877[_0x302a38(0x4f1)]),_0x4e0d76=_0x56820b[_0x302a38(0x51d)](),_0x406d6a=_0x4e0d76[_0x302a38(0x1ab)][_0x56869c][_0x302a38(0x3fa)][_0x606c18][_0x302a38(0x3fd)],_0xc2f5e=new _0x41583f()[_0x302a38(0x2bc)](_0x4e0d76,_0x56869c,_0x606c18),_0x4e271e=new _0xa877f0()[_0x302a38(0x4fc)](_0x4e0d76,_0xc2f5e),_0x28929e={'historyAction':_0x302a38(0x10d),'unitId':_0x4e75bc,'op':_0xc2f5e,'viewType':_0x406d6a},_0x2e9b28={'historyAction':_0x302a38(0x4d2),'unitId':_0x4e75bc,'op':_0x4e271e,'viewType':_0x406d6a};return _0x2417eb[_0x302a38(0x4b8)](_0x1c3b88['id'],_0x28929e)?(_0x192bf1[_0x302a38(0x48b)](_0x4e75bc),_0x366dd4[_0x302a38(0x3a3)]({'unitID':_0x4e75bc,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x2e9b28}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x28929e}]}),!0x0):!0x1;}},_0x501a95={'id':_0x4cb5f0(0x1ed),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x5c3210,_0x4c1bd0)=>{const _0x9e4765=_0x4cb5f0;if(!_0x4c1bd0)return!0x1;let _0x49718d=_0x5c3210[_0x9e4765(0x51c)](_0x2f4877[_0x9e4765(0x299)]),{unitId:_0x290e31,tableId:_0x54cd4a,sourceFieldId:_0x4fa00d,field:_0x97b324,index:_0x5ef872,viewIndexes:_0x4ee852}=_0x4c1bd0,_0x41005e=_0x49718d['getUnit'](_0x290e31,_0x2f4877[_0x9e4765(0x3d3)][_0x9e4765(0x13a)]);if(!_0x41005e||!_0x20431d(_0x41005e,_0x54cd4a,{'fieldIds':[_0x4fa00d]})||_0x4fa00d===_0x2f4877[_0x9e4765(0x31e)]||_0x41005e[_0x9e4765(0x51d)]()[_0x9e4765(0x1ab)][_0x54cd4a][_0x9e4765(0x189)][_0x97b324['id']]||_0x5ef872===0x0||!_0x27ed83(_0x41005e,_0x54cd4a,_0x97b324))return!0x1;let _0x6d5029=_0x5c3210[_0x9e4765(0x51c)](_0x2f4877[_0x9e4765(0x47c)]),_0x4c7da8=_0x5c3210[_0x9e4765(0x51c)](_0x2f4877[_0x9e4765(0x4f1)]),_0x4b379b=_0x41005e[_0x9e4765(0x51d)](),_0x5875c7=new _0x41583f()[_0x9e4765(0x1d3)](_0x4b379b,_0x54cd4a,_0x4fa00d,{'field':_0x97b324,'index':_0x5ef872,'viewIndexes':_0x4ee852}),_0x151354=new _0xa877f0()[_0x9e4765(0x4fc)](_0x4b379b,_0x5875c7),_0x3280de={'unitId':_0x290e31,'op':_0x5875c7},_0x5cd098={'unitId':_0x290e31,'op':_0x151354};return _0x6d5029[_0x9e4765(0x4b8)](_0x1c3b88['id'],_0x3280de)?(_0x49718d[_0x9e4765(0x48b)](_0x290e31),_0x4c7da8[_0x9e4765(0x3a3)]({'unitID':_0x290e31,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x5cd098}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x3280de}]}),!0x0):!0x1;}},_0x483688={'id':_0x4cb5f0(0x3a9),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x4f6647,_0x102693)=>{const _0x5a3213=_0x4cb5f0;if(!_0x102693)return!0x1;let _0x343132=_0x4f6647['get'](_0x2f4877[_0x5a3213(0x299)]),{unitId:_0x322dda,tableId:_0x1836a0,sourceRecordId:_0x24dc1f,record:_0x3fd107}=_0x102693,_0x16f99f=_0x343132['getUnit'](_0x322dda,_0x2f4877[_0x5a3213(0x3d3)]['UNIVER_BASE']);if(!_0x16f99f||!_0x20431d(_0x16f99f,_0x1836a0,{'recordIds':[_0x24dc1f]})||!_0x45c2eb(_0x16f99f,_0x1836a0,_0x3fd107))return!0x1;let _0x5526ab=_0x4f6647['get'](_0x2f4877[_0x5a3213(0x47c)]),_0x153d3c=_0x4f6647[_0x5a3213(0x51c)](_0x2f4877['IUndoRedoService']),_0x485ef7=_0x16f99f[_0x5a3213(0x51d)](),_0x40d67d=_0x3142d8(_0x3fd107),_0xbe31d9=_0x36af26(_0x485ef7[_0x5a3213(0x1ab)][_0x1836a0],[_0x40d67d]),_0x3f969f=new _0x41583f()[_0x5a3213(0x49e)](_0x485ef7,_0x1836a0,_0x24dc1f,_0x40d67d),_0x1e89b9=new _0xa877f0()[_0x5a3213(0x4fc)](_0x485ef7,_0x3f969f),_0x1fda97={'unitId':_0x322dda,'op':_0x3f969f,'hierarchyChanges':_0xbe31d9[_0x5a3213(0x40a)]?_0xbe31d9:void 0x0,'source':_0xbe31d9[_0x5a3213(0x40a)]?_0x102693[_0x5a3213(0x1b8)]??'ui':void 0x0},_0x50ef5d={..._0x1fda97,'source':_0xbe31d9['length']?_0x5a3213(0x2a0):void 0x0},_0x1d674d={'unitId':_0x322dda,'op':_0x1e89b9,'hierarchyChanges':_0xbe31d9[_0x5a3213(0x40a)]?_0xbe31d9['map'](_0x34c7c3=>({..._0x34c7c3,'oldParentRecordId':_0x34c7c3['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0xbe31d9[_0x5a3213(0x40a)]?_0x5a3213(0x4c4):void 0x0};return _0x5526ab[_0x5a3213(0x4b8)](_0x1c3b88['id'],_0x1fda97)?(_0x343132[_0x5a3213(0x48b)](_0x322dda),_0x153d3c[_0x5a3213(0x3a3)]({'unitID':_0x322dda,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x1d674d}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x50ef5d}]}),!0x0):!0x1;}},_0x37e6f9={'id':_0x4cb5f0(0x1fd),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler'(_0x1be9cc,_0xdd9017){const _0xbdaa5b=_0x4cb5f0;if(!_0xdd9017)return!0x1;let _0x35eb91=_0x1be9cc['get'](_0x2f4877[_0xbdaa5b(0x299)]),{unitId:_0x2cadb8,tableId:_0x2c49e3,viewId:_0x404859,ensureEndDateField:_0x34306d}=_0xdd9017,_0x196afb=_0x35eb91[_0xbdaa5b(0x441)](_0x2cadb8,_0x2f4877[_0xbdaa5b(0x3d3)][_0xbdaa5b(0x13a)]);if(!_0x196afb||!_0x20431d(_0x196afb,_0x2c49e3,{'viewIds':[_0x404859]}))return!0x1;let _0x1d212a=_0x196afb[_0xbdaa5b(0x51d)](),_0x333c6c=_0x1d212a[_0xbdaa5b(0x1ab)][_0x2c49e3],_0x59661a=_0x333c6c==null?void 0x0:_0x333c6c[_0xbdaa5b(0x3fa)][_0x404859];if(!_0x333c6c||!_0x59661a||_0x59661a[_0xbdaa5b(0x3fd)]!=='calendar'&&_0x59661a[_0xbdaa5b(0x3fd)]!=='gantt')return!0x1;let _0x4c7d9c=_0x15b670(_0x333c6c,_0x59661a,_0x34306d===!0x0);if(!_0x4c7d9c['changed'])return!0x1;let _0x4b5f87=_0x1be9cc[_0xbdaa5b(0x51c)](_0x2f4877['ICommandService']),_0x1d431c=_0x1be9cc[_0xbdaa5b(0x51c)](_0x2f4877['IUndoRedoService']),_0x2c490d=new _0x41583f(),_0x308909=[..._0x4c7d9c[_0xbdaa5b(0x189)][_0xbdaa5b(0x208)](_0x255ed6=>_0x2c490d['createField'](_0x1d212a,_0xdd9017['tableId'],{'field':_0x255ed6})),_0xc4167e([..._0x46a6d4(_0xdd9017[_0xbdaa5b(0x348)],_0xdd9017[_0xbdaa5b(0x268)]),_0xbdaa5b(0x40b)],_0x59661a['config'],_0x4c7d9c[_0xbdaa5b(0x40b)])];_0x4c7d9c[_0xbdaa5b(0x482)]&&_0x308909[_0xbdaa5b(0x158)](_0xc4167e([..._0x46a6d4(_0xdd9017[_0xbdaa5b(0x348)],_0xdd9017[_0xbdaa5b(0x268)]),'fieldOrder'],_0x59661a[_0xbdaa5b(0x482)],_0x4c7d9c['fieldOrder']));let _0x34c310=_0x407666(_0x308909),_0x4ea038=new _0xa877f0()[_0xbdaa5b(0x4fc)](_0x1d212a,_0x34c310),_0x5a64b1={'unitId':_0x2cadb8,'op':_0x34c310},_0x167d93={'unitId':_0x2cadb8,'op':_0x4ea038};return _0x4b5f87[_0xbdaa5b(0x4b8)](_0x1c3b88['id'],_0x5a64b1)?(_0x35eb91[_0xbdaa5b(0x48b)](_0x2cadb8),_0x1d431c[_0xbdaa5b(0x3a3)]({'unitID':_0x2cadb8,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x167d93}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x5a64b1}]}),!0x0):!0x1;}};function _0xc4167e(_0x409d2c,_0x32a152,_0x5ba79f){const _0x563584=_0x4cb5f0;return _0x32a152===void 0x0?_0x2f4877['JSON1'][_0x563584(0x259)](_0x409d2c,_0x5ba79f):_0x2f4877['JSON1']['replaceOp'](_0x409d2c,_0x32a152,_0x5ba79f);}function _0x46a6d4(_0x49e7ea,_0x317cf0){const _0x21fc3b=_0x4cb5f0;return[_0x21fc3b(0x1ab),_0x49e7ea,_0x21fc3b(0x3fa),_0x317cf0];}let _0x407007={'id':_0x4cb5f0(0x327),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x210a6d,_0x3fdd0d)=>{const _0x2cb176=_0x4cb5f0;if(!_0x3fdd0d)return!0x1;let _0x54af37=_0x210a6d[_0x2cb176(0x51c)](_0x2f4877[_0x2cb176(0x299)]),{unitId:_0x2d1cc6,tableId:_0x471a89,fieldId:_0x26a87e,target:_0x10c0ba}=_0x3fdd0d,_0xbf3de8=_0x54af37[_0x2cb176(0x441)](_0x2d1cc6,_0x2f4877[_0x2cb176(0x3d3)]['UNIVER_BASE']),_0xb27d7d=_0x10c0ba[_0x2cb176(0x376)]??_0x10c0ba[_0x2cb176(0x107)];if(!_0xbf3de8||!!_0x10c0ba[_0x2cb176(0x376)]==!!_0x10c0ba[_0x2cb176(0x107)]||!_0xb27d7d||_0xb27d7d===_0x26a87e||_0x26a87e===_0x2f4877[_0x2cb176(0x31e)]||_0x10c0ba[_0x2cb176(0x376)]===_0x2f4877['BASE_RECORD_ID_FIELD_ID']||!_0x20431d(_0xbf3de8,_0x471a89,{'fieldIds':[_0x26a87e,_0xb27d7d]}))return!0x1;let _0x5cbc78=_0x210a6d['get'](_0x2f4877[_0x2cb176(0x47c)]),_0x58e05f=_0x210a6d['get'](_0x2f4877[_0x2cb176(0x4f1)]),_0x3f754a=_0xbf3de8[_0x2cb176(0x51d)](),_0x1b6f04=new _0x41583f()[_0x2cb176(0x496)](_0x3f754a,_0x471a89,_0x26a87e,_0x10c0ba),_0x1effd9=new _0xa877f0()[_0x2cb176(0x4fc)](_0x3f754a,_0x1b6f04),_0xfebf1c={'unitId':_0x2d1cc6,'op':_0x1b6f04},_0x398c17={'unitId':_0x2d1cc6,'op':_0x1effd9};return _0x5cbc78[_0x2cb176(0x4b8)](_0x1c3b88['id'],_0xfebf1c)?(_0x54af37['focusUnit'](_0x2d1cc6),_0x58e05f[_0x2cb176(0x3a3)]({'unitID':_0x2d1cc6,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x398c17}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0xfebf1c}]}),!0x0):!0x1;}},_0x20bb7e={'id':_0x4cb5f0(0x422),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x1a6ed2,_0x2ea466)=>{const _0x98410=_0x4cb5f0;var _0x4d6d7e;if(!_0x2ea466)return!0x1;let {unitId:_0x50bf98,tableId:_0x33fccd,recordId:_0xf5b7bb,parentRecordId:_0x35f41e,orderKey:_0x1a7977}=_0x2ea466,_0x29c0bc=_0x1a6ed2[_0x98410(0x51c)](_0x2f4877['IUniverInstanceService']),_0x41f645=_0x29c0bc[_0x98410(0x441)](_0x50bf98,_0x2f4877[_0x98410(0x3d3)][_0x98410(0x13a)]);if(!_0x41f645||!_0x20431d(_0x41f645,_0x33fccd,{'recordIds':[_0xf5b7bb,..._0x35f41e?[_0x35f41e]:[]]}))throw new _0x97cf7a(_0x98410(0x513));let _0x16e4bf=_0x41f645[_0x98410(0x51d)](),_0x2b8589=_0x16e4bf[_0x98410(0x1ab)][_0x33fccd],_0x399078=_0x283799(_0x2b8589),_0x1203de=_0x399078??_0x2ea466[_0x98410(0x3bd)]??_0x595553(_0x2b8589);if(_0x399078&&_0x2ea466[_0x98410(0x3bd)]&&_0x2ea466[_0x98410(0x3bd)]!==_0x399078||_0x2b8589[_0x98410(0x189)][_0x1203de]&&!_0xb12dec(_0x2b8589,_0x1203de))throw new _0x97cf7a('invalidField');let _0x4fe83b=_0x439c09(_0x2b8589,_0x1203de),_0xc96585=_0x4e4aac(_0x4fe83b,_0xf5b7bb,_0x35f41e);if(!_0xc96585[_0x98410(0x52b)])throw new _0x97cf7a(_0xc96585[_0x98410(0x2f9)]===_0x2f4877['BaseHierarchyInvalidReason'][_0x98410(0x30c)]?'selfParent':_0xc96585[_0x98410(0x2f9)]===_0x2f4877[_0x98410(0x51b)]['Cycle']?_0x98410(0x1b5):'maxDepth');let _0x254a57=_0x4fe83b[_0x98410(0x229)][_0x98410(0x51c)](_0xf5b7bb)??null,_0x247441=_0x2b8589['records'][_0xf5b7bb]['orderKey'];if(_0x254a57===_0x35f41e&&(_0x1a7977===void 0x0||_0x1a7977===_0x247441))return!0x0;let _0x37a096=_0x254a57!==_0x35f41e,_0x347dc2=_0x1a7977!==void 0x0&&_0x1a7977!==_0x247441,_0x3a6e80=new _0x41583f(),_0x562823=[],_0x15c260=_0x2b8589[_0x98410(0x189)][_0x1203de],_0x593490=_0x37a096&&(!_0x15c260||((_0x4d6d7e=_0xd65722(_0x15c260))==null?void 0x0:_0x4d6d7e['relationRole'])!==_0x2f4877[_0x98410(0x3c9)][_0x98410(0x152)])?_0x15c260?_0x3a6e80[_0x98410(0x1ce)](_0x16e4bf,_0x33fccd,_0x1203de,{'config':{..._0x15c260[_0x98410(0x40b)],'relationRole':_0x2f4877[_0x98410(0x3c9)][_0x98410(0x152)]}}):_0x1a6ed2['get'](_0x339d0e)[_0x98410(0x1c9)](_0x41f645,_0x33fccd,_0x3001cd(_0x2b8589,_0x1203de,_0x2ea466[_0x98410(0x1dc)]),_0x2b8589['fieldOrder'][_0x98410(0x40a)]):null;_0x593490&&_0x562823[_0x98410(0x158)](_0x593490),_0x37a096&&_0x562823[_0x98410(0x158)](_0x3a6e80[_0x98410(0x140)](_0x16e4bf,_0x33fccd,_0xf5b7bb,_0x1203de,_0x35f41e?_0x1f853d([_0x35f41e]):'')),_0x347dc2&&_0x562823[_0x98410(0x158)](_0x3a6e80['updateRecordOrder'](_0x16e4bf,_0x33fccd,_0xf5b7bb,_0x1a7977));let _0x58a57d=_0x407666(_0x562823),_0x5c670f={'tableId':_0x33fccd,'fieldId':_0x1203de,'recordId':_0xf5b7bb,'oldParentRecordId':_0x254a57,'parentRecordId':_0x35f41e},_0x15e46c={'unitId':_0x50bf98,'op':_0x58a57d,'trigger':_0x20bb7e['id'],'hierarchyChanges':[_0x5c670f],'source':_0x2ea466[_0x98410(0x1b8)]??'ui'},_0x5772c8={..._0x15e46c,'source':_0x98410(0x2a0)};if(!_0x1a6ed2[_0x98410(0x51c)](_0x2f4877[_0x98410(0x47c)])[_0x98410(0x4b8)](_0x1c3b88['id'],_0x15e46c))return!0x1;let _0x1d318b=_0x41f645[_0x98410(0x51d)](),_0x557607=[];_0x37a096&&_0x557607[_0x98410(0x158)](_0x148977(_0x1d318b,_0x16e4bf,_0x33fccd,_0xf5b7bb,_0x1203de)),_0x347dc2&&_0x557607['push'](_0x1ffcf0(_0x1d318b,_0x16e4bf,_0x33fccd,_0xf5b7bb)),_0x593490&&_0x557607[_0x98410(0x158)](new _0xa877f0()[_0x98410(0x4fc)](_0x16e4bf,_0x593490));let _0x258adc={'unitId':_0x50bf98,'op':_0x407666(_0x557607),'trigger':_0x20bb7e['id'],'hierarchyChanges':[{..._0x5c670f,'oldParentRecordId':_0x35f41e,'parentRecordId':_0x254a57}],'source':_0x98410(0x4c4)};return _0x29c0bc[_0x98410(0x48b)](_0x50bf98),_0x1a6ed2[_0x98410(0x51c)](_0x2f4877[_0x98410(0x4f1)])[_0x98410(0x3a3)]({'unitID':_0x50bf98,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x258adc}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x5772c8}]}),!0x0;}};function _0x148977(_0x5a8674,_0x4861ad,_0x59b9bf,_0x316ad3,_0x50f1cb){const _0x1088a3=_0x4cb5f0;var _0x5c393d,_0x528663,_0x298c87,_0x354259,_0xe30d68,_0x14d544,_0x2f1431,_0x4a6de4;let _0x215b0e=_0x5a8674[_0x1088a3(0x1ab)][_0x59b9bf],_0x12ae21=_0x4861ad['tables'][_0x59b9bf],_0xe5dd55=(_0x5c393d=_0x215b0e[_0x1088a3(0x122)])==null?void 0x0:_0x5c393d[_0x316ad3],_0x26f790=(_0x528663=_0x215b0e[_0x1088a3(0x276)])==null?void 0x0:_0x528663[_0x50f1cb],_0x565f14=(_0x298c87=_0x12ae21[_0x1088a3(0x122)])==null?void 0x0:_0x298c87[_0x316ad3],_0x47736a=(_0x354259=_0x12ae21['colIndex'])==null?void 0x0:_0x354259[_0x50f1cb],_0x28d430=_0xe5dd55==null||_0x26f790==null||(_0xe30d68=_0x215b0e['cellData'])==null||(_0xe30d68=_0xe30d68[_0xe5dd55])==null?void 0x0:_0xe30d68[_0x26f790],_0x1bca9d=_0x565f14==null||_0x47736a==null||(_0x14d544=_0x12ae21[_0x1088a3(0x3ca)])==null||(_0x14d544=_0x14d544[_0x565f14])==null?void 0x0:_0x14d544[_0x47736a],_0x55185c=(_0x2f1431=_0x215b0e[_0x1088a3(0x3cc)][_0x316ad3])==null?void 0x0:_0x2f1431['values'][_0x50f1cb],_0xd01440=(_0x4a6de4=_0x12ae21[_0x1088a3(0x3cc)][_0x316ad3])==null?void 0x0:_0x4a6de4[_0x1088a3(0x12b)][_0x50f1cb],_0x501f7b=[],_0x1722e8=_0x4ad2d5(_0xe5dd55==null||_0x26f790==null?null:_0x23c358[_0x1088a3(0x3ca)](_0x59b9bf,_0xe5dd55,_0x26f790),_0x28d430,_0x1bca9d);_0x1722e8&&_0x501f7b['push'](_0x1722e8);let _0xe6add8=_0x4ad2d5(_0x23c358[_0x1088a3(0x2d6)](_0x59b9bf,_0x316ad3,_0x50f1cb),_0x55185c,_0xd01440);return _0xe6add8&&_0x501f7b[_0x1088a3(0x158)](_0xe6add8),_0x407666(_0x501f7b);}function _0x1ffcf0(_0x74b99b,_0x5c4523,_0x50263c,_0xfff953){const _0x3f0690=_0x4cb5f0;var _0x8101e9,_0x29a65b;let _0x1010f4=_0x74b99b[_0x3f0690(0x1ab)][_0x50263c],_0x3432b0=_0x5c4523[_0x3f0690(0x1ab)][_0x50263c];return _0x407666([_0x4ad2d5([..._0x23c358['record'](_0x50263c,_0xfff953),_0x3f0690(0x4bd)],(_0x8101e9=_0x1010f4['records'][_0xfff953])==null?void 0x0:_0x8101e9[_0x3f0690(0x4bd)],(_0x29a65b=_0x3432b0['records'][_0xfff953])==null?void 0x0:_0x29a65b['orderKey']),_0x4ad2d5([..._0x23c358[_0x3f0690(0x31b)](_0x50263c),_0x3f0690(0x279)],_0x1010f4['recordOrder'],_0x3432b0[_0x3f0690(0x279)])][_0x3f0690(0x431)](_0x21c707=>!!_0x21c707));}function _0x4ad2d5(_0x543a39,_0x4b88d3,_0x278bec){const _0x3f6fd3=_0x4cb5f0;if(!_0x543a39||_0x4b88d3===void 0x0&&_0x278bec===void 0x0)return null;let _0x55d7b8=_0x2f4877['JSONX'][_0x3f6fd3(0x44e)]();return _0x278bec===void 0x0?_0x55d7b8[_0x3f6fd3(0x1c6)](_0x543a39,_0x4b88d3):_0x4b88d3===void 0x0?_0x55d7b8[_0x3f6fd3(0x259)](_0x543a39,_0x278bec):_0x55d7b8[_0x3f6fd3(0x4c0)](_0x543a39,_0x4b88d3,_0x278bec);}let _0x4f9fca={'id':'base.command.move-base-view','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x1b5e4d,_0x887616)=>{const _0x145e5c=_0x4cb5f0;if(!_0x887616)return!0x1;let _0x39b5b9=_0x1b5e4d[_0x145e5c(0x51c)](_0x2f4877[_0x145e5c(0x299)]),{unitId:_0x376390,tableId:_0x285239,viewId:_0x631e7f,target:_0x3610f7}=_0x887616,_0x33e356=_0x39b5b9['getUnit'](_0x376390,_0x2f4877[_0x145e5c(0x3d3)]['UNIVER_BASE']),_0x347b02=_0x3610f7[_0x145e5c(0x298)]??_0x3610f7['afterViewId'];if(!_0x33e356||!_0x347b02||_0x347b02===_0x631e7f||!_0x20431d(_0x33e356,_0x285239,{'viewIds':[_0x631e7f,_0x347b02]}))return!0x1;let _0xd1d38c=_0x1b5e4d[_0x145e5c(0x51c)](_0x2f4877[_0x145e5c(0x47c)]),_0x5da202=_0x1b5e4d[_0x145e5c(0x51c)](_0x2f4877[_0x145e5c(0x4f1)]),_0x1caef1=_0x33e356[_0x145e5c(0x51d)](),_0x7b14fc=new _0x41583f()[_0x145e5c(0x197)](_0x1caef1,_0x285239,_0x631e7f,_0x3610f7),_0x24a85e=new _0xa877f0()[_0x145e5c(0x4fc)](_0x1caef1,_0x7b14fc),_0x488c46={'unitId':_0x376390,'op':_0x7b14fc},_0x4f752a={'unitId':_0x376390,'op':_0x24a85e};return _0xd1d38c[_0x145e5c(0x4b8)](_0x1c3b88['id'],_0x488c46)?(_0x39b5b9['focusUnit'](_0x376390),_0x5da202[_0x145e5c(0x3a3)]({'unitID':_0x376390,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x4f752a}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x488c46}]}),!0x0):!0x1;}},_0x39a008={'id':_0x4cb5f0(0x177),'type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x3eec73,_0x53da42)=>{const _0x2e58df=_0x4cb5f0;if(!_0x53da42)return!0x1;let _0x4fd592=_0x3eec73['get'](_0x2f4877[_0x2e58df(0x299)]),{unitId:_0x268f5c,tableId:_0x27f2d3,name:_0x33f126}=_0x53da42,_0x527d5a=_0x4fd592[_0x2e58df(0x441)](_0x268f5c,_0x2f4877[_0x2e58df(0x3d3)][_0x2e58df(0x13a)]);if(!_0x527d5a||!_0x20431d(_0x527d5a,_0x27f2d3)||!_0x95fc4a(_0x527d5a[_0x2e58df(0x51d)](),_0x33f126,_0x27f2d3)[_0x2e58df(0x52b)])return!0x1;let _0x4f231f=_0x3eec73[_0x2e58df(0x51c)](_0x2f4877['ICommandService']),_0x3bab18=_0x3eec73['get'](_0x2f4877[_0x2e58df(0x4f1)]),_0x3b9e2f=_0x527d5a[_0x2e58df(0x51d)](),_0xcf6168=new _0x41583f()[_0x2e58df(0x41d)](_0x3b9e2f,_0x27f2d3,_0x33f126),_0x44ddae=new _0xa877f0()['invertOp'](_0x3b9e2f,_0xcf6168),_0x5219d3={'unitId':_0x268f5c,'op':_0xcf6168},_0x3206fc={'unitId':_0x268f5c,'op':_0x44ddae};return _0x4f231f['syncExecuteCommand'](_0x1c3b88['id'],_0x5219d3)?(_0x4fd592[_0x2e58df(0x48b)](_0x268f5c),_0x3bab18['pushUndoRedo']({'unitID':_0x268f5c,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x3206fc}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x5219d3}]}),!0x0):!0x1;}},_0x435d9b={'id':_0x4cb5f0(0x3d8),'type':_0x2f4877['CommandType']['COMMAND'],'handler':(_0x1bf4be,_0x5b498d)=>{const _0x2bb125=_0x4cb5f0;if(!_0x5b498d)return!0x1;let _0x2059c5=_0x1bf4be[_0x2bb125(0x51c)](_0x2f4877['IUniverInstanceService']),{unitId:_0x5768fe,tableId:_0x414abc,viewId:_0x22e4e6,name:_0x4115ee}=_0x5b498d,_0x34f03a=_0x2059c5[_0x2bb125(0x441)](_0x5768fe,_0x2f4877[_0x2bb125(0x3d3)][_0x2bb125(0x13a)]);if(!_0x34f03a||!_0x20431d(_0x34f03a,_0x414abc,{'viewIds':[_0x22e4e6]}))return!0x1;let _0x3f2082=_0x1bf4be[_0x2bb125(0x51c)](_0x2f4877[_0x2bb125(0x47c)]),_0xcec036=_0x1bf4be[_0x2bb125(0x51c)](_0x2f4877['IUndoRedoService']),_0x33c383=_0x34f03a[_0x2bb125(0x51d)](),_0xc92853=new _0x41583f()[_0x2bb125(0x33d)](_0x33c383,_0x414abc,_0x22e4e6,_0x4115ee),_0x15f67f=new _0xa877f0()[_0x2bb125(0x4fc)](_0x33c383,_0xc92853),_0x2b5ad3={'unitId':_0x5768fe,'op':_0xc92853},_0x161dcb={'unitId':_0x5768fe,'op':_0x15f67f};return _0x3f2082['syncExecuteCommand'](_0x1c3b88['id'],_0x2b5ad3)?(_0x2059c5[_0x2bb125(0x48b)](_0x5768fe),_0xcec036['pushUndoRedo']({'unitID':_0x5768fe,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x161dcb}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x2b5ad3}]}),!0x0):!0x1;}},_0x15a794={'id':_0x4cb5f0(0x291),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x1800b1,_0x3f230a)=>{const _0x4f7c69=_0x4cb5f0;if(!_0x3f230a)return!0x1;let _0x4a1b0c=_0x1800b1[_0x4f7c69(0x51c)](_0x2f4877[_0x4f7c69(0x299)]),{unitId:_0x87bad0,tableId:_0x1dac3a,viewId:_0x4ed56a,fieldId:_0x5eeaa5}=_0x3f230a,_0x2c0179=_0x4a1b0c['getUnit'](_0x87bad0,_0x2f4877['UniverInstanceType']['UNIVER_BASE']);if(!_0x2c0179||!_0x20431d(_0x2c0179,_0x1dac3a,{'viewIds':[_0x4ed56a],'fieldIds':[_0x5eeaa5]}))return!0x1;let _0x591392=_0x1800b1[_0x4f7c69(0x51c)](_0x2f4877['ICommandService']),_0x24a532=_0x1800b1[_0x4f7c69(0x51c)](_0x2f4877[_0x4f7c69(0x4f1)]),_0x534ada=_0x2c0179[_0x4f7c69(0x51d)](),_0x586081=new _0x41583f()[_0x4f7c69(0x4dc)](_0x534ada,_0x1dac3a,_0x4ed56a,{'groupFieldId':_0x5eeaa5}),_0x4e2e22=new _0xa877f0()['invertOp'](_0x534ada,_0x586081),_0x4cb7df={'unitId':_0x87bad0,'op':_0x586081},_0x40f1e4={'unitId':_0x87bad0,'op':_0x4e2e22};return _0x591392[_0x4f7c69(0x4b8)](_0x1c3b88['id'],_0x4cb7df)?(_0x4a1b0c[_0x4f7c69(0x48b)](_0x87bad0),_0x24a532['pushUndoRedo']({'unitID':_0x87bad0,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x40f1e4}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x4cb7df}]}),!0x0):!0x1;}},_0x17acd1={'id':_0x4cb5f0(0x43f),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x206b78,_0x4db5ac)=>{const _0x3edb66=_0x4cb5f0;if(!_0x4db5ac)return!0x1;let _0x59c4e7=_0x206b78[_0x3edb66(0x51c)](_0x2f4877[_0x3edb66(0x299)]),_0x322192=_0x59c4e7[_0x3edb66(0x441)](_0x4db5ac['unitId'],_0x2f4877[_0x3edb66(0x3d3)]['UNIVER_BASE']);if(!_0x322192)return!0x1;let _0x1a0adf=_0x322192[_0x3edb66(0x51d)]()['name'];if(_0x1a0adf===_0x4db5ac['name'])return!0x0;let _0x140855=new _0x41583f(),_0x21224=new _0xa877f0(),_0x7e4831=[],_0x416717=[],_0x96ef92=[_0x322192,..._0x59c4e7['getAllUnitsForType'](_0x2f4877['UniverInstanceType'][_0x3edb66(0x13a)])[_0x3edb66(0x431)](_0x2d0194=>_0x2d0194[_0x3edb66(0x38c)]()!==_0x4db5ac[_0x3edb66(0x395)])];for(let _0x2c7fc0 of _0x96ef92){let _0x550ac7=_0x2c7fc0['getSnapshot'](),_0x344590=_0x2c7fc0===_0x322192?_0x140855[_0x3edb66(0x47a)](_0x550ac7,_0x4db5ac[_0x3edb66(0x406)]):_0x140855[_0x3edb66(0x351)](_0x550ac7,_0x1a0adf,_0x4db5ac[_0x3edb66(0x406)]);_0x344590&&(_0x7e4831['push']({'id':_0x1c3b88['id'],'params':{'unitId':_0x2c7fc0[_0x3edb66(0x38c)](),'op':_0x344590,'trigger':_0x17acd1['id']}}),_0x416717[_0x3edb66(0x1cb)]({'id':_0x1c3b88['id'],'params':{'unitId':_0x2c7fc0['getUnitId'](),'op':_0x21224[_0x3edb66(0x4fc)](_0x550ac7,_0x344590),'trigger':_0x17acd1['id']}}));}let _0x27be3e=_0x206b78[_0x3edb66(0x51c)](_0x2f4877[_0x3edb66(0x47c)]),_0x331e88=_0x206b78['get'](_0x2f4877['IUndoRedoService']),_0x36cd21=_0x331e88[_0x3edb66(0x423)](_0x4db5ac[_0x3edb66(0x395)]);try{return(0x0,_0x2f4877[_0x3edb66(0x4fa)])(_0x7e4831,_0x27be3e)['result']?(_0x59c4e7[_0x3edb66(0x48b)](_0x4db5ac['unitId']),_0x331e88[_0x3edb66(0x3a3)]({'unitID':_0x4db5ac[_0x3edb66(0x395)],'undoMutations':_0x416717,'redoMutations':_0x7e4831}),!0x0):!0x1;}finally{_0x36cd21[_0x3edb66(0x171)]();}}},_0x33ee28={'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'id':_0x4cb5f0(0x477),async 'handler'(_0x30c84e,_0x546938){const _0x2174e7=_0x4cb5f0;if(!_0x546938||!_0x5b8722[_0x2174e7(0x47b)](_0x546938[_0x2174e7(0x223)])||_0x546938[_0x2174e7(0x408)]!==_0x546938[_0x2174e7(0x395)]&&_0x546938[_0x2174e7(0x223)]!==_0x385744['UnitAction'][_0x2174e7(0x121)]||_0x546938[_0x2174e7(0x3d9)]&&(![_0x2174e7(0x4b7),_0x2174e7(0x193),_0x2174e7(0x3e8)][_0x2174e7(0x47b)](_0x546938['policy'][_0x2174e7(0x1cc)])||_0x546938['policy'][_0x2174e7(0x554)][_0x2174e7(0x258)](_0x4b693e=>!_0x5b8722[_0x2174e7(0x47b)](_0x4b693e[_0x2174e7(0x223)])||_0x546938[_0x2174e7(0x408)]!==_0x546938[_0x2174e7(0x395)]&&_0x4b693e[_0x2174e7(0x223)]!==_0x385744[_0x2174e7(0x13c)][_0x2174e7(0x121)])))return!0x1;let _0x1fb660=_0x432588(_0x546938[_0x2174e7(0x395)],_0x546938[_0x2174e7(0x408)],_0x546938[_0x2174e7(0x223)]),_0x1ce8b1={'unitId':_0x546938['unitId'],'objectId':_0x546938[_0x2174e7(0x408)],'objectType':_0x1fb660[_0x2174e7(0x3fd)]},_0x337871=_0x30c84e[_0x2174e7(0x51c)](_0x2f4877[_0x2174e7(0x204)]);return _0x546938['remove']?await _0x337871[_0x2174e7(0x2c8)](_0x1ce8b1):_0x546938[_0x2174e7(0x3d9)]?await _0x337871[_0x2174e7(0x46e)](_0x1ce8b1,_0x546938[_0x2174e7(0x3d9)]):await _0x337871['setPoint'](_0x1ce8b1,_0x1fb660,_0x546938[_0x2174e7(0x2f3)]),!0x0;}},_0x5778d2={'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'id':'base.command.set-permissions',async 'handler'(_0x1a8d20,_0x5f0529){const _0x40e62c=_0x4cb5f0;if(!(_0x5f0529!=null&&_0x5f0529[_0x40e62c(0x395)])||!Array[_0x40e62c(0x156)](_0x5f0529[_0x40e62c(0x21b)])||!_0x5f0529[_0x40e62c(0x21b)]['length']||_0x5f0529[_0x40e62c(0x21b)][_0x40e62c(0x258)](_0x44ce2d=>!(_0x44ce2d!=null&&_0x44ce2d[_0x40e62c(0x408)])||_0x44ce2d[_0x40e62c(0x408)]===_0x5f0529[_0x40e62c(0x395)]||_0x44ce2d['policy']!==null&&(!_0x44ce2d[_0x40e62c(0x3d9)]||![_0x40e62c(0x4b7),_0x40e62c(0x193),_0x40e62c(0x3e8)][_0x40e62c(0x47b)](_0x44ce2d[_0x40e62c(0x3d9)][_0x40e62c(0x1cc)])||!Array[_0x40e62c(0x156)](_0x44ce2d['policy'][_0x40e62c(0x50c)])||!Array[_0x40e62c(0x156)](_0x44ce2d['policy'][_0x40e62c(0x554)])||_0x44ce2d[_0x40e62c(0x3d9)][_0x40e62c(0x554)]['some'](_0x376e10=>_0x376e10['action']!==_0x385744['UnitAction'][_0x40e62c(0x121)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x1a8d20[_0x40e62c(0x51c)](_0x2f4877[_0x40e62c(0x204)])['saveMany'](_0x5f0529[_0x40e62c(0x21b)]['map'](_0x78f23=>{const _0x3cc776=_0x40e62c;let _0x3e4fea=_0x432588(_0x5f0529[_0x3cc776(0x395)],_0x78f23['objectId'],_0x385744['UnitAction'][_0x3cc776(0x121)]);return{'unitId':_0x5f0529[_0x3cc776(0x395)],'objectId':_0x78f23[_0x3cc776(0x408)],'objectType':_0x3e4fea[_0x3cc776(0x3fd)],'policy':_0x78f23[_0x3cc776(0x3d9)]};}));}};function _0x71b1fa(_0x38f472,_0x42050f){const _0x21bbe8=_0x4cb5f0;let _0x4b6d48=_0xbfb56e(_0x2f4877['Tools']['deepClone'](_0x38f472)),_0x134990=new Map();return _0x42050f[_0x21bbe8(0x167)](_0x39b798=>{const _0x29c01a=_0x21bbe8;var _0x94a977,_0x5243fb;let _0x4e549c=_0x29c01a(0x31f)in _0x39b798?_0x39b798[_0x29c01a(0x31f)]:(_0x94a977=_0x4b6d48[_0x29c01a(0x151)])==null?void 0x0:_0x94a977[_0x39b798[_0x29c01a(0x405)]],_0x37fe79=_0x29c01a(0x3bd)in _0x39b798?_0x39b798[_0x29c01a(0x3bd)]:(_0x5243fb=_0x4b6d48['colId'])==null?void 0x0:_0x5243fb[_0x39b798['col']],_0x1feb7b=_0x37fe79?_0x4b6d48['fields'][_0x37fe79]:void 0x0;if(!_0x4e549c||!_0x37fe79||!_0x1feb7b||!_0x4b6d48[_0x29c01a(0x3cc)][_0x4e549c])return;let _0x4bb3e8=_0x50331a(_0x39b798[_0x29c01a(0x2f3)],_0x1feb7b),_0x4e037e=_0x505add(_0x39b798['value'],_0x4bb3e8,_0x1feb7b,_0x4b6d48,_0x4e549c),_0x4957aa=_0x134990[_0x29c01a(0x51c)](_0x4e549c)??{};_0x4957aa[_0x37fe79]=_0x4e037e,_0x134990[_0x29c01a(0x411)](_0x4e549c,_0x4957aa);}),[..._0x134990][_0x21bbe8(0x208)](([_0x5592a0,_0xdc7687])=>({'recordId':_0x5592a0,'values':_0xdc7687}));}let _0x3866bf={'id':'base.command.set-base-range-values','type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler'(_0x217b76,_0x52e8d1){const _0x57cbcb=_0x4cb5f0;if(!_0x52e8d1)return!0x1;let _0x548b16=_0x217b76['get'](_0x2f4877[_0x57cbcb(0x299)]),{unitId:_0x43bfc4,tableId:_0x24599c,patches:_0xf53110}=_0x52e8d1,_0x1020fd=_0x548b16[_0x57cbcb(0x441)](_0x43bfc4,_0x2f4877[_0x57cbcb(0x3d3)]['UNIVER_BASE']);if(!_0x1020fd||!_0x20431d(_0x1020fd,_0x24599c))return!0x1;let _0x5efa3f=_0x217b76['get'](_0x2f4877['ICommandService']),_0x9567fd=_0x217b76[_0x57cbcb(0x51c)](_0x2f4877[_0x57cbcb(0x4f1)]),_0x342d0b=_0x1020fd['getSnapshot'](),_0x57ea84=_0xbfb56e(_0x342d0b[_0x57cbcb(0x1ab)][_0x24599c]),_0x29b71e=_0xf53110[_0x57cbcb(0x208)](_0x503b3d=>{const _0x338456=_0x57cbcb;var _0xecedc5;return _0x338456(0x31f)in _0x503b3d?_0x503b3d[_0x338456(0x31f)]:(_0xecedc5=_0x57ea84[_0x338456(0x151)])==null?void 0x0:_0xecedc5[_0x503b3d[_0x338456(0x405)]];})[_0x57cbcb(0x431)](_0xdcad72=>_0xdcad72!=null),_0xbc9399=_0xf53110[_0x57cbcb(0x208)](_0x3e90d7=>{const _0x24c0ee=_0x57cbcb;var _0x2d40d4;return _0x24c0ee(0x3bd)in _0x3e90d7?_0x3e90d7[_0x24c0ee(0x3bd)]:(_0x2d40d4=_0x57ea84[_0x24c0ee(0x518)])==null?void 0x0:_0x2d40d4[_0x3e90d7[_0x24c0ee(0x569)]];})[_0x57cbcb(0x431)](_0x574486=>_0x574486!=null);if(_0x29b71e['length']!==_0xf53110[_0x57cbcb(0x40a)]||_0xbc9399[_0x57cbcb(0x40a)]!==_0xf53110[_0x57cbcb(0x40a)]||!_0x20431d(_0x1020fd,_0x24599c,{'recordIds':_0x29b71e,'fieldIds':_0xbc9399})||_0xf53110[_0x57cbcb(0x258)]((_0x4d628e,_0x826505)=>!_0x5c048c(_0x1020fd,_0x24599c,_0xbc9399[_0x826505],_0x4d628e[_0x57cbcb(0x2f3)])))return!0x1;let _0x90dab=_0xdc7b72(_0x57ea84,_0x71b1fa(_0x57ea84,_0xf53110)),_0x193c9f=_0xf53110[_0x57cbcb(0x38f)](_0x21872d=>{const _0x5504e0=_0x57cbcb;var _0x38cebb,_0x5c5451;if(_0x5504e0(0x405)in _0x21872d)return[_0x21872d];let _0x283779=(_0x38cebb=_0x57ea84['rowIndex'])==null?void 0x0:_0x38cebb[_0x21872d[_0x5504e0(0x31f)]],_0x101ad9=(_0x5c5451=_0x57ea84[_0x5504e0(0x276)])==null?void 0x0:_0x5c5451[_0x21872d[_0x5504e0(0x3bd)]];return _0x283779==null||_0x101ad9==null?[]:[{'row':_0x283779,'col':_0x101ad9,'value':_0x21872d[_0x5504e0(0x2f3)]}];}),_0x34d522=new _0x41583f()[_0x57cbcb(0x27b)](_0x342d0b,_0x24599c,_0x193c9f),_0x5a1f93=new _0xa877f0()['invertOp'](_0x342d0b,_0x34d522),_0x1a39dc={'unitId':_0x43bfc4,'op':_0x34d522,'trigger':_0x90dab[_0x57cbcb(0x40a)]?_0x3866bf['id']:void 0x0,'hierarchyChanges':_0x90dab[_0x57cbcb(0x40a)]?_0x90dab:void 0x0,'source':_0x90dab[_0x57cbcb(0x40a)]?'redo':void 0x0},_0x23a7f7={'unitId':_0x43bfc4,'op':_0x5a1f93,'trigger':_0x90dab[_0x57cbcb(0x40a)]?_0x3866bf['id']:void 0x0,'hierarchyChanges':_0x90dab[_0x57cbcb(0x40a)]?_0x90dab[_0x57cbcb(0x208)](_0x5e9946=>({..._0x5e9946,'oldParentRecordId':_0x5e9946[_0x57cbcb(0x344)],'parentRecordId':_0x5e9946[_0x57cbcb(0x3de)]})):void 0x0,'source':_0x90dab[_0x57cbcb(0x40a)]?_0x57cbcb(0x4c4):void 0x0},_0x59b605={..._0x1a39dc,'source':_0x90dab[_0x57cbcb(0x40a)]?_0x52e8d1[_0x57cbcb(0x1b8)]??'ui':void 0x0};return _0x5efa3f['syncExecuteCommand'](_0x1c3b88['id'],_0x59b605)?(_0x548b16['focusUnit'](_0x43bfc4),_0x9567fd[_0x57cbcb(0x3a3)]({'unitID':_0x43bfc4,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x23a7f7}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1a39dc}]}),!0x0):!0x1;}},_0x5ba739={'id':_0x4cb5f0(0x4f6),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler'(_0xf04420,_0x2502f4){const _0x10910b=_0x4cb5f0;if(!_0x2502f4)return!0x1;let _0x52e6d6=_0xf04420[_0x10910b(0x51c)](_0x2f4877['IUniverInstanceService']),{unitId:_0x2cd71e,tableId:_0x85fb4a,patches:_0x35e106}=_0x2502f4,_0x26218a=_0x52e6d6['getUnit'](_0x2cd71e,_0x2f4877[_0x10910b(0x3d3)][_0x10910b(0x13a)]),_0xce6df3=_0x35e106[_0x10910b(0x208)](_0x2db686=>_0x2db686[_0x10910b(0x31f)]),_0x5c3f13=_0x35e106[_0x10910b(0x38f)](_0x1d64b2=>Object[_0x10910b(0x174)](_0x1d64b2['values']));if(!_0x26218a||!_0x20431d(_0x26218a,_0x85fb4a,{'recordIds':_0xce6df3,'fieldIds':_0x5c3f13})||_0x35e106[_0x10910b(0x258)](_0x1149ef=>Object['entries'](_0x1149ef['values'])[_0x10910b(0x258)](([_0x257c37,_0x38c99b])=>!_0x5c048c(_0x26218a,_0x85fb4a,_0x257c37,_0x38c99b))))return!0x1;let _0x2a2808=_0xdc7b72(_0x26218a[_0x10910b(0x51d)]()[_0x10910b(0x1ab)][_0x85fb4a],_0x35e106),_0x2f5d0a=_0xf04420[_0x10910b(0x51c)](_0x2f4877[_0x10910b(0x47c)]),_0x4a83c5=_0xf04420[_0x10910b(0x51c)](_0x2f4877['IUndoRedoService']),_0x9ca550=_0xf04420[_0x10910b(0x51c)](_0x339d0e)[_0x10910b(0x474)](_0x26218a,_0x85fb4a,_0x35e106),_0x3f6c10=new _0xa877f0()['invertOp'](_0x26218a[_0x10910b(0x51d)](),_0x9ca550),_0x373633={'unitId':_0x2cd71e,'op':_0x9ca550,'trigger':_0x2a2808[_0x10910b(0x40a)]?_0x5ba739['id']:void 0x0,'hierarchyChanges':_0x2a2808[_0x10910b(0x40a)]?_0x2a2808:void 0x0,'source':_0x2a2808[_0x10910b(0x40a)]?_0x2502f4[_0x10910b(0x1b8)]??'ui':void 0x0},_0xc6d985={..._0x373633,'source':_0x2a2808[_0x10910b(0x40a)]?_0x10910b(0x2a0):void 0x0},_0x544056={'unitId':_0x2cd71e,'op':_0x3f6c10,'trigger':_0x2a2808['length']?_0x5ba739['id']:void 0x0,'hierarchyChanges':_0x2a2808[_0x10910b(0x40a)]?_0x2a2808[_0x10910b(0x208)](_0x56c02c=>({..._0x56c02c,'oldParentRecordId':_0x56c02c[_0x10910b(0x344)],'parentRecordId':_0x56c02c[_0x10910b(0x3de)]})):void 0x0,'source':_0x2a2808[_0x10910b(0x40a)]?_0x10910b(0x4c4):void 0x0};return _0x2f5d0a[_0x10910b(0x4b8)](_0x1c3b88['id'],_0x373633)?(_0x52e6d6[_0x10910b(0x48b)](_0x2cd71e),_0x4a83c5['pushUndoRedo']({'unitID':_0x2cd71e,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x544056}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0xc6d985}]}),!0x0):!0x1;}},_0x4ba6e3={'id':'base.command.set-base-table-hierarchy-field','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x1e20dc,_0x4d91b6)=>{const _0x5e695a=_0x4cb5f0;if(!_0x4d91b6)return!0x1;let {unitId:_0x2f6ab0,tableId:_0x485219,fieldId:_0x344320}=_0x4d91b6,_0x320598=_0x1e20dc['get'](_0x2f4877[_0x5e695a(0x299)]),_0x2679ba=_0x320598['getUnit'](_0x2f6ab0,_0x2f4877[_0x5e695a(0x3d3)][_0x5e695a(0x13a)]);if(!_0x2679ba||!_0x20431d(_0x2679ba,_0x485219))return!0x1;let _0x35698f=_0x2679ba['getSnapshot'](),_0x118895=_0x35698f[_0x5e695a(0x1ab)][_0x485219];if(_0x344320!==null&&!_0xb12dec(_0x118895,_0x344320))throw new _0x97cf7a(_0x5e695a(0x4ad));if(_0x283799(_0x118895)===_0x344320)return!0x0;let _0x49bfa4=new _0x41583f(),_0x2707d9=_0x407666(Object[_0x5e695a(0x12b)](_0x118895['fields'])[_0x5e695a(0x38f)](_0x16fe91=>{const _0x3f0872=_0x5e695a;if(!_0xb12dec(_0x118895,_0x16fe91['id']))return[];let _0x3c059e=_0xd65722(_0x16fe91);if(!_0x3c059e)return[];let _0x3f7a68=_0x16fe91['id']===_0x344320;if(_0x3c059e[_0x3f0872(0x25f)]===_0x2f4877['BaseRecordLinkRole'][_0x3f0872(0x152)]===_0x3f7a68)return[];let _0x312a68={..._0x16fe91[_0x3f0872(0x40b)],'targetTableId':_0x3c059e[_0x3f0872(0x21c)],'multiple':_0x3c059e[_0x3f0872(0x11c)]};return _0x3f7a68?_0x312a68['relationRole']=_0x2f4877[_0x3f0872(0x3c9)][_0x3f0872(0x152)]:delete _0x312a68[_0x3f0872(0x25f)],[_0x49bfa4[_0x3f0872(0x1ce)](_0x35698f,_0x485219,_0x16fe91['id'],{'config':_0x312a68})];})),_0x1d477d=new _0xa877f0()[_0x5e695a(0x4fc)](_0x35698f,_0x2707d9),_0x50f839={'unitId':_0x2f6ab0,'op':_0x2707d9},_0x5bf38a={'unitId':_0x2f6ab0,'op':_0x1d477d};return _0x1e20dc[_0x5e695a(0x51c)](_0x2f4877['ICommandService'])[_0x5e695a(0x4b8)](_0x1c3b88['id'],_0x50f839)?(_0x320598[_0x5e695a(0x48b)](_0x2f6ab0),_0x1e20dc[_0x5e695a(0x51c)](_0x2f4877[_0x5e695a(0x4f1)])[_0x5e695a(0x3a3)]({'unitID':_0x2f6ab0,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x5bf38a}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x50f839}]}),!0x0):!0x1;}},_0x273a75={'id':_0x4cb5f0(0x37d),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x3093c6,_0x4fed81)=>{const _0x18bacc=_0x4cb5f0;if(!_0x4fed81)return!0x1;let _0x3acce7=_0x3093c6['get'](_0x2f4877['IUniverInstanceService']),{unitId:_0x20c7b9,tableId:_0x4b96b4,viewId:_0xdc25dd,fieldId:_0xde2171,target:_0x7edab7}=_0x4fed81,_0x4efd4b=_0x3acce7[_0x18bacc(0x441)](_0x20c7b9,_0x2f4877[_0x18bacc(0x3d3)][_0x18bacc(0x13a)]),_0x3676ef=_0x7edab7[_0x18bacc(0x376)]??_0x7edab7[_0x18bacc(0x107)];if(!_0x4efd4b||!_0x3676ef||_0x3676ef===_0xde2171||!_0x20431d(_0x4efd4b,_0x4b96b4,{'viewIds':[_0xdc25dd],'fieldIds':[_0xde2171,_0x3676ef]}))return!0x1;let _0x531a89=_0x4efd4b[_0x18bacc(0x51d)]()[_0x18bacc(0x1ab)][_0x4b96b4],_0x1d7194=_0x531a89[_0x18bacc(0x189)][_0xde2171],_0x4dfdb4=_0x531a89[_0x18bacc(0x189)][_0x3676ef];if(_0x1d7194[_0x18bacc(0x261)]===!0x0||_0x1d7194['type']===_0x2f4877[_0x18bacc(0x4aa)][_0x18bacc(0x3a8)]||_0x4dfdb4[_0x18bacc(0x261)]===!0x0||_0x4dfdb4['type']===_0x2f4877['BaseFieldType'][_0x18bacc(0x3a8)])return!0x1;let _0x58da1d=_0x3093c6[_0x18bacc(0x51c)](_0x2f4877[_0x18bacc(0x47c)]),_0x39302b=_0x3093c6[_0x18bacc(0x51c)](_0x2f4877[_0x18bacc(0x4f1)]),_0x2f443e=_0x4efd4b[_0x18bacc(0x51d)](),_0x5dfc1a=new _0x41583f()[_0x18bacc(0x24a)](_0x2f443e,_0x4b96b4,_0xdc25dd,_0xde2171,_0x7edab7),_0x24dcd6=new _0xa877f0()[_0x18bacc(0x4fc)](_0x2f443e,_0x5dfc1a),_0x2ba939={'unitId':_0x20c7b9,'op':_0x5dfc1a},_0x40cd7d={'unitId':_0x20c7b9,'op':_0x24dcd6};return _0x58da1d[_0x18bacc(0x4b8)](_0x1c3b88['id'],_0x2ba939)?(_0x3acce7[_0x18bacc(0x48b)](_0x20c7b9),_0x39302b[_0x18bacc(0x3a3)]({'unitID':_0x20c7b9,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x40cd7d}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x2ba939}]}),!0x0):!0x1;}},_0x3da28c={'id':_0x4cb5f0(0x1d1),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler'(_0x466c2c,_0x1d8d10){const _0xe5d6=_0x4cb5f0;if(!_0x1d8d10)return!0x1;let _0x534724=_0x466c2c['get'](_0x2f4877[_0xe5d6(0x299)]),{unitId:_0x23f92c,tableId:_0x2d6a6c,viewId:_0xc6472,fieldId:_0x2d87cf,visible:_0x3e8267}=_0x1d8d10,_0x336c72=_0x534724['getUnit'](_0x23f92c,_0x2f4877[_0xe5d6(0x3d3)][_0xe5d6(0x13a)]);if(!_0x336c72||!_0x20431d(_0x336c72,_0x2d6a6c,{'viewIds':[_0xc6472],'fieldIds':[_0x2d87cf]}))return!0x1;let _0x58577d=_0x336c72[_0xe5d6(0x51d)]()[_0xe5d6(0x1ab)][_0x2d6a6c][_0xe5d6(0x189)][_0x2d87cf];if(_0x58577d['system']===!0x0||_0x58577d['type']===_0x2f4877['BaseFieldType'][_0xe5d6(0x3a8)])return!0x1;let _0x50c2f0=_0x466c2c[_0xe5d6(0x51c)](_0x2f4877[_0xe5d6(0x47c)]),_0x1f43c6=_0x466c2c[_0xe5d6(0x51c)](_0x2f4877[_0xe5d6(0x4f1)]),_0x22289c=_0x336c72[_0xe5d6(0x51d)](),_0x240323=new _0x41583f()[_0xe5d6(0x11e)](_0x22289c,_0x2d6a6c,_0xc6472,_0x2d87cf,_0x3e8267),_0x197300=new _0xa877f0()[_0xe5d6(0x4fc)](_0x22289c,_0x240323),_0x49ef20={'unitId':_0x23f92c,'op':_0x240323},_0x200d28={'unitId':_0x23f92c,'op':_0x197300};return _0x50c2f0[_0xe5d6(0x4b8)](_0x1c3b88['id'],_0x49ef20)?(_0x534724[_0xe5d6(0x48b)](_0x23f92c),_0x1f43c6['pushUndoRedo']({'unitID':_0x23f92c,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x200d28}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x49ef20}]}),!0x0):!0x1;}},_0x26d679={'id':'base.command.set-base-view-field-width','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0xde7d16,_0x21963e)=>{const _0x1fab23=_0x4cb5f0;if(!_0x21963e)return!0x1;let _0x406c78=_0xde7d16[_0x1fab23(0x51c)](_0x2f4877['IUniverInstanceService']),{unitId:_0x3181da,tableId:_0x52729a,viewId:_0x26df2c,fieldId:_0x5a7a01,width:_0x15e89b}=_0x21963e,_0x21ed5b=_0x406c78['getUnit'](_0x3181da,_0x2f4877['UniverInstanceType'][_0x1fab23(0x13a)]);if(!_0x21ed5b||!_0x20431d(_0x21ed5b,_0x52729a,{'viewIds':[_0x26df2c],'fieldIds':[_0x5a7a01]}))return!0x1;let _0xc983df=_0x21ed5b[_0x1fab23(0x51d)]()[_0x1fab23(0x1ab)][_0x52729a][_0x1fab23(0x189)][_0x5a7a01];if(_0xc983df[_0x1fab23(0x261)]===!0x0||_0xc983df[_0x1fab23(0x3fd)]===_0x2f4877[_0x1fab23(0x4aa)]['RecordId'])return!0x1;let _0x194630=_0xde7d16[_0x1fab23(0x51c)](_0x2f4877['ICommandService']),_0x26ed21=_0xde7d16[_0x1fab23(0x51c)](_0x2f4877[_0x1fab23(0x4f1)]),_0x373b9e=_0x21ed5b[_0x1fab23(0x51d)](),_0x1072dd=new _0x41583f()[_0x1fab23(0x539)](_0x373b9e,_0x52729a,_0x26df2c,_0x5a7a01,_0x15e89b),_0x2ab395=new _0xa877f0()['invertOp'](_0x373b9e,_0x1072dd),_0x1ccd8d={'unitId':_0x3181da,'op':_0x1072dd},_0x2dfb27={'unitId':_0x3181da,'op':_0x2ab395};return _0x194630[_0x1fab23(0x4b8)](_0x1c3b88['id'],_0x1ccd8d)?(_0x406c78[_0x1fab23(0x48b)](_0x3181da),_0x26ed21[_0x1fab23(0x3a3)]({'unitID':_0x3181da,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x2dfb27}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1ccd8d}]}),!0x0):!0x1;}},_0x2bd772={'id':_0x4cb5f0(0x523),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler':(_0x3a6fb3,_0x2e6330)=>{const _0x17ed57=_0x4cb5f0;if(!_0x2e6330)return!0x1;let _0x24038f=_0x3a6fb3[_0x17ed57(0x51c)](_0x2f4877[_0x17ed57(0x299)]),{unitId:_0x3921ad,tableId:_0x5af6a2,viewId:_0x1e33bb,filter:_0x472a5f}=_0x2e6330,_0x52fbff=_0x24038f[_0x17ed57(0x441)](_0x3921ad,_0x2f4877[_0x17ed57(0x3d3)][_0x17ed57(0x13a)]),_0x412573=(_0x472a5f==null?void 0x0:_0x472a5f[_0x17ed57(0x2bd)]['map'](_0xadfa99=>_0xadfa99[_0x17ed57(0x3bd)]))??[];if(!_0x52fbff||!_0x20431d(_0x52fbff,_0x5af6a2,{'viewIds':[_0x1e33bb],'fieldIds':_0x412573}))return!0x1;let _0x8a9116=_0x3a6fb3[_0x17ed57(0x51c)](_0x2f4877[_0x17ed57(0x47c)]),_0x2674bd=_0x3a6fb3[_0x17ed57(0x51c)](_0x2f4877['IUndoRedoService']),_0x6fc532=_0x52fbff[_0x17ed57(0x51d)](),_0x103836=new _0x41583f()[_0x17ed57(0x195)](_0x6fc532,_0x5af6a2,_0x1e33bb,_0x472a5f),_0x2f0446=new _0xa877f0()[_0x17ed57(0x4fc)](_0x6fc532,_0x103836),_0x1df1ca={'unitId':_0x3921ad,'op':_0x103836},_0x37be48={'unitId':_0x3921ad,'op':_0x2f0446};return _0x8a9116[_0x17ed57(0x4b8)](_0x1c3b88['id'],_0x1df1ca)?(_0x24038f['focusUnit'](_0x3921ad),_0x2674bd['pushUndoRedo']({'unitID':_0x3921ad,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x37be48}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1df1ca}]}),!0x0):!0x1;}},_0x1936db={'id':_0x4cb5f0(0x382),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x5c6212,_0xee59e1)=>{const _0x1fea42=_0x4cb5f0;if(!_0xee59e1)return!0x1;let _0x50a440=_0x5c6212['get'](_0x2f4877['IUniverInstanceService']),{unitId:_0xf3696a,tableId:_0x13fe7a,viewId:_0xbe4e00,group:_0x42574e}=_0xee59e1,_0x35e8fc=_0x50a440['getUnit'](_0xf3696a,_0x2f4877[_0x1fea42(0x3d3)][_0x1fea42(0x13a)]);if(!_0x35e8fc||!_0x20431d(_0x35e8fc,_0x13fe7a,{'viewIds':[_0xbe4e00],'fieldIds':_0x42574e['map'](_0x354d96=>_0x354d96[_0x1fea42(0x3bd)])}))return!0x1;let _0x2d76da=_0x5c6212[_0x1fea42(0x51c)](_0x2f4877[_0x1fea42(0x47c)]),_0x2a2bbf=_0x5c6212[_0x1fea42(0x51c)](_0x2f4877[_0x1fea42(0x4f1)]),_0x35a6b3=_0x35e8fc[_0x1fea42(0x51d)](),_0x50fecc=new _0x41583f()[_0x1fea42(0x16c)](_0x35a6b3,_0x13fe7a,_0xbe4e00,_0x42574e),_0x72d357=new _0xa877f0()[_0x1fea42(0x4fc)](_0x35a6b3,_0x50fecc),_0x3d1edd={'unitId':_0xf3696a,'op':_0x50fecc},_0x13e6dc={'unitId':_0xf3696a,'op':_0x72d357};return _0x2d76da[_0x1fea42(0x4b8)](_0x1c3b88['id'],_0x3d1edd)?(_0x50a440[_0x1fea42(0x48b)](_0xf3696a),_0x2a2bbf['pushUndoRedo']({'unitID':_0xf3696a,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x13e6dc}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x3d1edd}]}),!0x0):!0x1;}},_0x5d8f7b={'id':'base.command.set-base-view-sort','type':_0x2f4877['CommandType'][_0x4cb5f0(0x43b)],'handler':(_0x245252,_0x1b544e)=>{const _0x294386=_0x4cb5f0;if(!_0x1b544e)return!0x1;let _0x5f8263=_0x245252['get'](_0x2f4877[_0x294386(0x299)]),{unitId:_0x4d1df1,tableId:_0xf41165,viewId:_0x2fd4b2,sort:_0x1ed776}=_0x1b544e,_0x313028=_0x5f8263[_0x294386(0x441)](_0x4d1df1,_0x2f4877[_0x294386(0x3d3)][_0x294386(0x13a)]);if(!_0x313028||!_0x20431d(_0x313028,_0xf41165,{'viewIds':[_0x2fd4b2],'fieldIds':_0x1ed776[_0x294386(0x208)](_0x2aaa74=>_0x2aaa74[_0x294386(0x3bd)])}))return!0x1;let _0x320b74=_0x245252[_0x294386(0x51c)](_0x2f4877[_0x294386(0x47c)]),_0x5359e0=_0x245252[_0x294386(0x51c)](_0x2f4877['IUndoRedoService']),_0x1bb0be=_0x313028[_0x294386(0x51d)](),_0x3a1f65=new _0x41583f()[_0x294386(0x4ec)](_0x1bb0be,_0xf41165,_0x2fd4b2,_0x1ed776),_0x1eadf5=new _0xa877f0()[_0x294386(0x4fc)](_0x1bb0be,_0x3a1f65),_0x356847={'unitId':_0x4d1df1,'op':_0x3a1f65},_0x15c145={'unitId':_0x4d1df1,'op':_0x1eadf5};return _0x320b74[_0x294386(0x4b8)](_0x1c3b88['id'],_0x356847)?(_0x5f8263[_0x294386(0x48b)](_0x4d1df1),_0x5359e0['pushUndoRedo']({'unitID':_0x4d1df1,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x15c145}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x356847}]}),!0x0):!0x1;}},_0x5c7138={'id':_0x4cb5f0(0x4ed),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler'(_0x3b0b46,_0x9587a3){const _0x20c53c=_0x4cb5f0;if(!_0x9587a3)return!0x1;let _0x551f5c=_0x3b0b46[_0x20c53c(0x51c)](_0x2f4877[_0x20c53c(0x299)]),{unitId:_0x902607,tableId:_0x37de5a,recordId:_0x525161,fieldId:_0x532131,value:_0x51f846}=_0x9587a3,_0x5c4987=_0x551f5c[_0x20c53c(0x441)](_0x902607,_0x2f4877['UniverInstanceType'][_0x20c53c(0x13a)]);if(!_0x5c4987||!_0x20431d(_0x5c4987,_0x37de5a,{'recordIds':[_0x525161],'fieldIds':[_0x532131]})||!_0x5c048c(_0x5c4987,_0x37de5a,_0x532131,_0x51f846))return!0x1;let _0x3d9512=_0x5c4987[_0x20c53c(0x51d)]()[_0x20c53c(0x1ab)][_0x37de5a],_0x3971c7=_0xb12dec(_0x3d9512,_0x532131)&&_0x4bd9df(_0x3d9512)['includes'](_0x532131),_0x55d4a1=_0x3971c7?_0x439c09(_0x3d9512,_0x532131):null,_0x5159cb=(_0x55d4a1==null?void 0x0:_0x55d4a1[_0x20c53c(0x229)][_0x20c53c(0x51c)](_0x525161))??null,_0x1ba01b=_0x3971c7?_0x37f766(_0x51f846)[0x0]??null:null;if(_0x55d4a1){if(_0x1ba01b&&!_0x3d9512['records'][_0x1ba01b])throw new _0x97cf7a(_0x20c53c(0x513));let _0xb06bf1=_0x4e4aac(_0x55d4a1,_0x525161,_0x1ba01b);if(!_0xb06bf1[_0x20c53c(0x52b)])throw new _0x97cf7a(_0xb06bf1[_0x20c53c(0x2f9)]===_0x2f4877[_0x20c53c(0x51b)]['SelfParent']?_0x20c53c(0x244):_0xb06bf1[_0x20c53c(0x2f9)]===_0x2f4877['BaseHierarchyInvalidReason'][_0x20c53c(0x531)]?_0x20c53c(0x1b5):_0x20c53c(0x4b2));}let _0x55e646=_0x3b0b46[_0x20c53c(0x51c)](_0x2f4877[_0x20c53c(0x47c)]),_0x4cb16e=_0x3b0b46[_0x20c53c(0x51c)](_0x2f4877[_0x20c53c(0x4f1)]),_0x1d8215=_0x3b0b46[_0x20c53c(0x51c)](_0x339d0e),_0xcb43df;try{_0xcb43df=_0x1d8215[_0x20c53c(0x1a3)](_0x5c4987,_0x37de5a,_0x525161,_0x532131,_0x51f846);}catch(_0xd5668){return console['error'](_0x20c53c(0x55b),_0xd5668),!0x1;}let _0x1a63af=new _0xa877f0()['invertOp'](_0x5c4987['getSnapshot'](),_0xcb43df),_0x3876e9=_0x3971c7&&_0x5159cb!==_0x1ba01b?[{'tableId':_0x37de5a,'fieldId':_0x532131,'recordId':_0x525161,'oldParentRecordId':_0x5159cb,'parentRecordId':_0x1ba01b}]:void 0x0,_0x1f5ece={'unitId':_0x902607,'op':_0xcb43df,'trigger':_0x3876e9?_0x5c7138['id']:void 0x0,'hierarchyChanges':_0x3876e9,'source':_0x3876e9?_0x9587a3[_0x20c53c(0x1b8)]??'ui':void 0x0},_0x5d2121={..._0x1f5ece,'source':_0x3876e9?'redo':void 0x0},_0xcea7c8={'unitId':_0x902607,'op':_0x1a63af,'trigger':_0x3876e9?_0x5c7138['id']:void 0x0,'hierarchyChanges':_0x3876e9==null?void 0x0:_0x3876e9[_0x20c53c(0x208)](_0xbcfb34=>({..._0xbcfb34,'oldParentRecordId':_0xbcfb34[_0x20c53c(0x344)],'parentRecordId':_0xbcfb34[_0x20c53c(0x3de)]})),'source':_0x3876e9?_0x20c53c(0x4c4):void 0x0};return _0x55e646[_0x20c53c(0x4b8)](_0x1c3b88['id'],_0x1f5ece)?(_0x551f5c[_0x20c53c(0x504)]()||_0x551f5c[_0x20c53c(0x48b)](_0x902607),_0x4cb16e['pushUndoRedo']({'unitID':_0x902607,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0xcea7c8}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x5d2121}]}),!0x0):!0x1;}},_0x4d0799={'id':_0x4cb5f0(0x1d6),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler'(_0x444caa,_0x32cc68){const _0x141bc6=_0x4cb5f0;if(!_0x32cc68)return!0x1;let _0x487ab7=_0x444caa[_0x141bc6(0x51c)](_0x2f4877[_0x141bc6(0x299)]),{unitId:_0x1d0e5f,tableId:_0x226f50,fieldId:_0x36db44}=_0x32cc68,_0x5d7629=_0x487ab7[_0x141bc6(0x441)](_0x1d0e5f,_0x2f4877[_0x141bc6(0x3d3)][_0x141bc6(0x13a)]);if(!_0x5d7629||!_0x20431d(_0x5d7629,_0x226f50,{'fieldIds':[_0x36db44]}))return!0x1;let _0x5df258=_0x444caa[_0x141bc6(0x51c)](_0x2f4877['ICommandService']),_0x135fe7=_0x444caa['get'](_0x2f4877[_0x141bc6(0x4f1)]),_0x1982a4=_0x5d7629[_0x141bc6(0x51d)](),_0xa09cb5=_0x32cc68['description'][_0x141bc6(0x11b)](),_0x392262=new _0x41583f()['updateField'](_0x1982a4,_0x226f50,_0x36db44,{'description':_0xa09cb5}),_0x4619b5=new _0xa877f0()[_0x141bc6(0x4fc)](_0x5d7629[_0x141bc6(0x51d)](),_0x392262),_0x1c26f8={'unitId':_0x1d0e5f,'op':_0x392262},_0x5e4a87={'unitId':_0x1d0e5f,'op':_0x4619b5};return _0x5df258[_0x141bc6(0x4b8)](_0x1c3b88['id'],_0x1c26f8)?(_0x487ab7[_0x141bc6(0x48b)](_0x1d0e5f),_0x135fe7[_0x141bc6(0x3a3)]({'unitID':_0x1d0e5f,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x5e4a87}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x1c26f8}]}),!0x0):!0x1;}},_0x4744e8={'id':_0x4cb5f0(0x2a9),'type':_0x2f4877['CommandType']['COMMAND'],'handler':(_0x1d01dd,_0x445bf0)=>{const _0x5e9c3d=_0x4cb5f0;if(!_0x445bf0)return!0x1;let _0x5a0ecb=_0x1d01dd[_0x5e9c3d(0x51c)](_0x2f4877['IUniverInstanceService']),{unitId:_0x316865,tableId:_0x4ddc35,fieldId:_0x28ec58,patch:_0x521488}=_0x445bf0,_0x1b91f0=_0x5a0ecb[_0x5e9c3d(0x441)](_0x316865,_0x2f4877[_0x5e9c3d(0x3d3)][_0x5e9c3d(0x13a)]);if(!_0x1b91f0||_0x28ec58===_0x2f4877[_0x5e9c3d(0x31e)]||!_0x20431d(_0x1b91f0,_0x4ddc35,{'fieldIds':[_0x28ec58]}))return!0x1;let _0x392315=_0x1d01dd[_0x5e9c3d(0x51c)](_0x2f4877['ICommandService']),_0x2f5dfd=_0x1d01dd[_0x5e9c3d(0x51c)](_0x2f4877[_0x5e9c3d(0x4f1)]),_0x138164=_0x1b91f0[_0x5e9c3d(0x51d)]();if(!_0x27ed83(_0x1b91f0,_0x4ddc35,{..._0x138164[_0x5e9c3d(0x1ab)][_0x4ddc35][_0x5e9c3d(0x189)][_0x28ec58],..._0x521488}))return!0x1;let _0x443944=new _0x41583f()[_0x5e9c3d(0x1ce)](_0x138164,_0x4ddc35,_0x28ec58,_0x521488),_0x252924=new _0xa877f0()[_0x5e9c3d(0x4fc)](_0x138164,_0x443944),_0x3e3dca={'unitId':_0x316865,'op':_0x443944},_0x346661={'unitId':_0x316865,'op':_0x252924};return _0x392315[_0x5e9c3d(0x4b8)](_0x1c3b88['id'],_0x3e3dca)?(_0x5a0ecb['focusUnit'](_0x316865),_0x2f5dfd[_0x5e9c3d(0x3a3)]({'unitID':_0x316865,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x346661}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x3e3dca}]}),!0x0):!0x1;}},_0x4c6061={'id':'base.command.update-base-kanban-config','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x23bc5b,_0x530d0e)=>{const _0x38927a=_0x4cb5f0;if(!_0x530d0e)return!0x1;let _0x41aac8=_0x23bc5b['get'](_0x2f4877[_0x38927a(0x299)]),{unitId:_0xf47ace,tableId:_0x3e1288,viewId:_0x5eb92e,patch:_0x2241a8}=_0x530d0e,_0x4fb1a1=_0x41aac8[_0x38927a(0x441)](_0xf47ace,_0x2f4877['UniverInstanceType']['UNIVER_BASE']);if(!_0x4fb1a1||!_0x20431d(_0x4fb1a1,_0x3e1288,{'viewIds':[_0x5eb92e]}))return!0x1;let _0x37069c=_0x23bc5b[_0x38927a(0x51c)](_0x2f4877[_0x38927a(0x47c)]),_0x667792=_0x23bc5b[_0x38927a(0x51c)](_0x2f4877['IUndoRedoService']),_0xb45e03=_0x4fb1a1[_0x38927a(0x51d)](),_0x11a39d=new _0x41583f()['updateViewConfig'](_0xb45e03,_0x3e1288,_0x5eb92e,_0x2241a8),_0x1e587d=new _0xa877f0()[_0x38927a(0x4fc)](_0xb45e03,_0x11a39d),_0x577099={'unitId':_0xf47ace,'op':_0x11a39d},_0x176886={'unitId':_0xf47ace,'op':_0x1e587d};return _0x37069c[_0x38927a(0x4b8)](_0x1c3b88['id'],_0x577099)?(_0x41aac8[_0x38927a(0x48b)](_0xf47ace),_0x667792[_0x38927a(0x3a3)]({'unitID':_0xf47ace,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x176886}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x577099}]}),!0x0):!0x1;}},_0x3c7286={'id':'base.command.update-base-record-order','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x450202,_0x44a694)=>{const _0x1ed236=_0x4cb5f0;if(!_0x44a694)return!0x1;let _0x113d7e=_0x450202['get'](_0x2f4877[_0x1ed236(0x299)]),{unitId:_0x4f9f05,tableId:_0x228748,recordId:_0x110407,orderKey:_0x45f8a6}=_0x44a694,_0x435a98=_0x113d7e[_0x1ed236(0x441)](_0x4f9f05,_0x2f4877[_0x1ed236(0x3d3)]['UNIVER_BASE']);if(!_0x435a98||!_0x20431d(_0x435a98,_0x228748,{'recordIds':[_0x110407]}))return!0x1;let _0x47e744=_0x450202[_0x1ed236(0x51c)](_0x2f4877[_0x1ed236(0x47c)]),_0x39fc56=_0x450202[_0x1ed236(0x51c)](_0x2f4877['IUndoRedoService']),_0x1ae35f=_0x435a98[_0x1ed236(0x51d)](),_0x1cc014=new _0x41583f()[_0x1ed236(0x2e9)](_0x1ae35f,_0x228748,_0x110407,_0x45f8a6),_0x372b0e=new _0xa877f0()['invertOp'](_0x1ae35f,_0x1cc014),_0x55bc07={'unitId':_0x4f9f05,'op':_0x1cc014},_0x54d0e6={'unitId':_0x4f9f05,'op':_0x372b0e};return _0x47e744[_0x1ed236(0x4b8)](_0x1c3b88['id'],_0x55bc07)?(_0x113d7e[_0x1ed236(0x48b)](_0x4f9f05),_0x39fc56['pushUndoRedo']({'unitID':_0x4f9f05,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x54d0e6}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x55bc07}]}),!0x0):!0x1;}},_0x445194=function(_0x176386){const _0x277d48=_0x4cb5f0;return _0x176386['Set']=_0x277d48(0x411),_0x176386[_0x277d48(0x285)]=_0x277d48(0x567),_0x176386[_0x277d48(0x173)]='delete',_0x176386[_0x277d48(0x1da)]=_0x277d48(0x2de),_0x176386;}({}),_0x477f09={'id':_0x4cb5f0(0x42c),'type':_0x2f4877[_0x4cb5f0(0x565)]['COMMAND'],'handler':(_0x9b6ef0,_0x571955)=>{const _0x3a0528=_0x4cb5f0;var _0x427037;if(!_0x571955)return!0x1;let _0x4131d3=_0x9b6ef0['get'](_0x2f4877[_0x3a0528(0x299)]),_0x2590f4=_0x4131d3[_0x3a0528(0x441)](_0x571955[_0x3a0528(0x395)],_0x2f4877['UniverInstanceType'][_0x3a0528(0x13a)]);if(!_0x2590f4||!_0x20431d(_0x2590f4,_0x571955['tableId'],{'viewIds':[_0x571955[_0x3a0528(0x268)]]}))return!0x1;let _0x2886a8=_0x2590f4['getSnapshot'](),_0x5663db=_0x2886a8[_0x3a0528(0x1ab)][_0x571955[_0x3a0528(0x348)]],_0x31b6cf=_0x488858(((_0x427037=_0x5663db[_0x3a0528(0x3fa)][_0x571955[_0x3a0528(0x268)]][_0x3a0528(0x40b)][_0x3a0528(0x445)])==null?void 0x0:_0x427037[_0x3a0528(0x435)])??[],_0x571955);if(!_0x31b6cf)return!0x1;_0x5f9cf(_0x5663db,_0x31b6cf);let _0xe26fc2=new _0x41583f()[_0x3a0528(0x4dc)](_0x2886a8,_0x571955[_0x3a0528(0x348)],_0x571955[_0x3a0528(0x268)],{'conditionalColoring':_0x31b6cf[_0x3a0528(0x40a)]?{'rules':_0x31b6cf}:null}),_0x4c53a3=new _0xa877f0()[_0x3a0528(0x4fc)](_0x2886a8,_0xe26fc2),_0x4d7a06={'unitId':_0x571955[_0x3a0528(0x395)],'op':_0xe26fc2},_0x220079={'unitId':_0x571955[_0x3a0528(0x395)],'op':_0x4c53a3};return _0x9b6ef0[_0x3a0528(0x51c)](_0x2f4877[_0x3a0528(0x47c)])['syncExecuteCommand'](_0x1c3b88['id'],_0x4d7a06)?(_0x4131d3[_0x3a0528(0x48b)](_0x571955[_0x3a0528(0x395)]),_0x9b6ef0[_0x3a0528(0x51c)](_0x2f4877[_0x3a0528(0x4f1)])['pushUndoRedo']({'unitID':_0x571955[_0x3a0528(0x395)],'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x220079}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x4d7a06}]}),!0x0):!0x1;}};function _0x488858(_0x971a9c,_0x4f5e61){const _0x1c73bd=_0x4cb5f0;switch(_0x4f5e61[_0x1c73bd(0x3fd)]){case'set':return _0x2f4877[_0x1c73bd(0x10e)][_0x1c73bd(0x1f3)](_0x4f5e61[_0x1c73bd(0x435)]);case _0x1c73bd(0x567):return[..._0x2f4877[_0x1c73bd(0x10e)][_0x1c73bd(0x1f3)](_0x971a9c),_0x2f4877[_0x1c73bd(0x10e)][_0x1c73bd(0x1f3)](_0x4f5e61['rule'])];case'delete':{let _0x43db1e=_0x971a9c['filter'](_0x477dab=>_0x477dab['id']!==_0x4f5e61[_0x1c73bd(0x4cc)]);return _0x43db1e[_0x1c73bd(0x40a)]===_0x971a9c[_0x1c73bd(0x40a)]?null:_0x2f4877[_0x1c73bd(0x10e)][_0x1c73bd(0x1f3)](_0x43db1e);}case'clear':return _0x971a9c[_0x1c73bd(0x40a)]?[]:null;}}function _0x5f9cf(_0x592b39,_0xe3fce4){const _0x564347=_0x4cb5f0;if(!Array[_0x564347(0x156)](_0xe3fce4))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x44d9ee=new Set();for(let [_0x53c4ae,_0x37c6e6]of _0xe3fce4[_0x564347(0x1c8)]())_0x2fde81(_0x592b39,_0x37c6e6,_0x1f432b(_0x37c6e6,_0x53c4ae,_0x44d9ee));}function _0x1f432b(_0x423c33,_0x2ec19c,_0x30bd69){const _0x3411ff=_0x4cb5f0;if(!_0x423c33||typeof _0x423c33!=_0x3411ff(0x2dc))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x2ec19c+_0x3411ff(0x2ca));let _0x12ef1c=typeof _0x423c33['id']=='string'&&_0x423c33['id'][_0x3411ff(0x11b)]()?'\x22'+_0x423c33['id']+'\x22':_0x3411ff(0x2d4)+_0x2ec19c;if(typeof _0x423c33['id']!=_0x3411ff(0x3ef)||!_0x423c33['id'][_0x3411ff(0x11b)]())throw Error(_0x3411ff(0x3dc)+_0x12ef1c+_0x3411ff(0x56b));if(_0x30bd69[_0x3411ff(0x22a)](_0x423c33['id']))throw Error(_0x3411ff(0x265)+_0x423c33['id']+'\x22.');_0x30bd69[_0x3411ff(0x567)](_0x423c33['id']);let _0x4234c8=typeof _0x423c33[_0x3411ff(0x37b)]=='string'&&_0x423c33['color'][_0x3411ff(0x11b)]()?new _0x2f4877[(_0x3411ff(0x26e))](_0x423c33[_0x3411ff(0x37b)]):null;if(!(_0x4234c8!=null&&_0x4234c8['isValid']))throw Error(_0x3411ff(0x3dc)+_0x12ef1c+_0x3411ff(0x4fd));return _0x12ef1c;}function _0x2fde81(_0x38ffb0,_0x1a0e08,_0x29b177){const _0x37b1de=_0x4cb5f0;let _0x51d3b7=new Set(Object[_0x37b1de(0x12b)](_0x2f4877[_0x37b1de(0x2d7)])),_0x32926b=new Set(Object[_0x37b1de(0x12b)](_0x2f4877[_0x37b1de(0x49b)])),_0x186b0f=new Set(Object[_0x37b1de(0x12b)](_0x2f4877[_0x37b1de(0x538)]));if(!_0x51d3b7['has'](_0x1a0e08[_0x37b1de(0x4fb)]))throw Error(_0x37b1de(0x3dc)+_0x29b177+_0x37b1de(0x3ea)+String(_0x1a0e08[_0x37b1de(0x4fb)])+'\x22.');let _0x41ee7d=typeof _0x1a0e08['fieldId']==_0x37b1de(0x3ef)?_0x38ffb0[_0x37b1de(0x189)][_0x1a0e08[_0x37b1de(0x3bd)]]:void 0x0;if(!_0x41ee7d||_0x41ee7d['system']===!0x0||_0x41ee7d[_0x37b1de(0x3fd)]===_0x2f4877[_0x37b1de(0x4aa)][_0x37b1de(0x3a8)])throw Error(_0x37b1de(0x3dc)+_0x29b177+_0x37b1de(0x365)+String(_0x1a0e08[_0x37b1de(0x3bd)])+'\x22.');if(!_0x32926b[_0x37b1de(0x22a)](_0x1a0e08[_0x37b1de(0x47e)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x29b177+_0x37b1de(0x4db)+String(_0x1a0e08[_0x37b1de(0x47e)])+'\x22.');if(_0x1a0e08[_0x37b1de(0x282)]!==void 0x0&&!_0x186b0f['has'](_0x1a0e08[_0x37b1de(0x282)]))throw Error(_0x37b1de(0x3dc)+_0x29b177+_0x37b1de(0x130)+String(_0x1a0e08[_0x37b1de(0x282)])+'\x22.');if(_0x1a0e08['target']===_0x2f4877['BaseConditionalColorTarget'][_0x37b1de(0x2cc)])return;let _0xff119f=_0x36f8e0(_0x41ee7d[_0x37b1de(0x3fd)]);if(!_0xff119f[_0x37b1de(0x47b)](_0x1a0e08['operator']))throw Error(_0x37b1de(0x3dc)+_0x29b177+_0x37b1de(0x251)+_0x1a0e08[_0x37b1de(0x47e)]+_0x37b1de(0x20c)+_0x41ee7d[_0x37b1de(0x3fd)]+_0x37b1de(0x27a)+_0xff119f[_0x37b1de(0x483)](',\x20')+'.');if(_0x1a0e08[_0x37b1de(0x282)]!==void 0x0&&!_0x76edce(_0x41ee7d[_0x37b1de(0x3fd)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x29b177+'\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.');}let _0x5b6947={'id':'base.command.update-base-view-config','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler':(_0x37cd41,_0xe551ad)=>{const _0x2391da=_0x4cb5f0;if(!_0xe551ad)return!0x1;let _0x32b785=_0x37cd41[_0x2391da(0x51c)](_0x2f4877[_0x2391da(0x299)]),{unitId:_0x4f0c14,tableId:_0x381f19,viewId:_0x42e437,patch:_0x114968}=_0xe551ad,_0x161371=_0x32b785[_0x2391da(0x441)](_0x4f0c14,_0x2f4877[_0x2391da(0x3d3)][_0x2391da(0x13a)]);if(!_0x161371||!_0x20431d(_0x161371,_0x381f19,{'viewIds':[_0x42e437]}))return!0x1;let _0xe53e2e=_0x37cd41['get'](_0x2f4877[_0x2391da(0x47c)]),_0x177c4e=_0x37cd41['get'](_0x2f4877[_0x2391da(0x4f1)]),_0x44a3bb=_0x161371[_0x2391da(0x51d)](),_0x44e355=new _0x41583f()[_0x2391da(0x4dc)](_0x44a3bb,_0x381f19,_0x42e437,_0x114968),_0x4712e3=new _0xa877f0()[_0x2391da(0x4fc)](_0x44a3bb,_0x44e355),_0x44342d={'unitId':_0x4f0c14,'op':_0x44e355},_0x918a53={'unitId':_0x4f0c14,'op':_0x4712e3};return _0xe53e2e[_0x2391da(0x4b8)](_0x1c3b88['id'],_0x44342d)?(_0x32b785[_0x2391da(0x48b)](_0x4f0c14),_0x177c4e['pushUndoRedo']({'unitID':_0x4f0c14,'undoMutations':[{'id':_0x1c3b88['id'],'params':_0x918a53}],'redoMutations':[{'id':_0x1c3b88['id'],'params':_0x44342d}]}),!0x0):!0x1;}},_0x4a046d={'id':_0x4cb5f0(0x4af),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x43b)],'handler'(_0x26a77d,_0x222671){const _0x39d948=_0x4cb5f0;if(!_0x222671)return{'valid':!0x1,'reason':_0x39d948(0x1ef)};let _0x57d8c0=_0x26a77d[_0x39d948(0x51c)](_0x2f4877[_0x39d948(0x299)])[_0x39d948(0x441)](_0x222671[_0x39d948(0x395)],_0x2f4877[_0x39d948(0x3d3)][_0x39d948(0x13a)]),_0x17fc6b=_0x57d8c0==null?void 0x0:_0x57d8c0['getSnapshot'](),_0x422662=_0x17fc6b==null?void 0x0:_0x17fc6b['tables'][_0x222671[_0x39d948(0x348)]];return!_0x17fc6b||!_0x422662?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0xdaf5ba()[_0x39d948(0x3c1)](_0x222671[_0x39d948(0x550)],_0x422662,{'snapshot':_0x17fc6b});}},_0x2a283c=class extends _0x2f4877[_0x4cb5f0(0x33b)]{constructor(_0xaf5a43){const _0x4fa344=_0x4cb5f0;super(_0xaf5a43,'BASE_OBJECT_PERMISSION_PLUGIN',_0x2f4877[_0x4fa344(0x3d3)]['UNIVER_BASE'],[_0x385744[_0x4fa344(0x545)][_0x4fa344(0x16d)],_0x385744['UnitObject'][_0x4fa344(0x1a4)],_0x385744[_0x4fa344(0x545)][_0x4fa344(0x345)],_0x385744[_0x4fa344(0x545)][_0x4fa344(0x366)],_0x385744[_0x4fa344(0x545)][_0x4fa344(0x39a)]]);}};_0x2a283c=_0x587eef([_0x101953(0x0,_0x2f4877[_0x4cb5f0(0x12f)])],_0x2a283c);let _0x3716f3={'id':'base.mutation.set-permission-rule','type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x2f7)],'handler':(_0x13ac74,_0x4379b5)=>!_0x4379b5||!_0x13ac74[_0x4cb5f0(0x51c)](_0x2f4877['IUniverInstanceService'])[_0x4cb5f0(0x441)](_0x4379b5[_0x4cb5f0(0x395)],_0x2f4877[_0x4cb5f0(0x3d3)][_0x4cb5f0(0x13a)])?!0x1:_0x13ac74['get'](_0x2a283c)[_0x4cb5f0(0x404)](_0x4379b5['unitId'],_0x4379b5[_0x4cb5f0(0x205)],_0x4379b5[_0x4cb5f0(0x408)],_0x4379b5[_0x4cb5f0(0x3c5)])},_0x437cf5={'id':_0x4cb5f0(0x33e),'type':_0x2f4877[_0x4cb5f0(0x565)][_0x4cb5f0(0x2f7)],'handler':(_0x1a76fb,_0x78fe3b)=>!_0x78fe3b||!_0x1a76fb['get'](_0x2f4877['IUniverInstanceService'])[_0x4cb5f0(0x441)](_0x78fe3b[_0x4cb5f0(0x395)],_0x2f4877[_0x4cb5f0(0x3d3)][_0x4cb5f0(0x13a)])?!0x1:_0x1a76fb[_0x4cb5f0(0x51c)](_0x2a283c)[_0x4cb5f0(0x4a7)](_0x78fe3b[_0x4cb5f0(0x395)],_0x78fe3b[_0x4cb5f0(0x435)])};function _0x389dfa(_0x3d59cf){const _0x1f97b7=_0x4cb5f0;let _0xb5b55=_0x3d59cf['now']??Date['now'](),_0x2d8b65=_0x3d59cf[_0x1f97b7(0x3e1)]??_0x3d59cf['id']+'-field-name',_0x1f8c8a=_0x3d59cf[_0x1f97b7(0x4b9)]??_0x3d59cf['id']+_0x1f97b7(0x36f),_0x52471c=_0x3d59cf[_0x1f97b7(0x4e4)]??0x0,_0x5f33fa=(0x0,_0x2f4877[_0x1f97b7(0x24f)])(),_0xb191f3={'id':_0x2d8b65,'name':_0x3d59cf[_0x1f97b7(0x420)]??_0x1f97b7(0x238),'type':_0x2f4877[_0x1f97b7(0x4aa)][_0x1f97b7(0x4fe)],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x606f77={},_0x43083a=[],_0x28c3ab={},_0x3d8117={},_0x43e3c7={};for(let _0x4942c5=0x0;_0x4942c5<_0x52471c;_0x4942c5++){let _0x46554b=_0x3d59cf['id']+_0x1f97b7(0x389)+(_0x4942c5+0x1);_0x606f77[_0x46554b]={'id':_0x46554b,'values':{[_0x2f4877[_0x1f97b7(0x31e)]]:_0x46554b,..._0x3d59cf[_0x1f97b7(0x2af)]?{[_0x2d8b65]:_0x3d59cf[_0x1f97b7(0x2af)]+'\x20'+(_0x4942c5+0x1)}:{}},'orderKey':String(_0x4942c5+0x1)[_0x1f97b7(0x30d)](0x4,'0'),'createdAt':_0xb5b55,'updatedAt':_0xb5b55},_0x43083a[_0x1f97b7(0x158)](_0x46554b),_0x28c3ab[_0x46554b]=_0x4942c5,_0x3d8117[_0x4942c5]=_0x46554b,_0x43e3c7[_0x4942c5]={0x0:{'v':_0x46554b,'t':_0x2f4877[_0x1f97b7(0x210)][_0x1f97b7(0x3d0)]}},_0x3d59cf[_0x1f97b7(0x2af)]&&(_0x43e3c7[_0x4942c5][0x1]={'v':_0x3d59cf[_0x1f97b7(0x2af)]+'\x20'+(_0x4942c5+0x1),'t':_0x2f4877[_0x1f97b7(0x210)][_0x1f97b7(0x3d0)]});}let _0x446fe5={'id':_0x1f8c8a,'tableId':_0x3d59cf['id'],'name':'Grid','type':_0x2f4877[_0x1f97b7(0x2d3)]['Grid'],'fieldOrder':[_0x2f4877[_0x1f97b7(0x31e)],_0x2d8b65],'fieldSettings':{[_0x2f4877[_0x1f97b7(0x31e)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x3d59cf['id'],'name':_0x3d59cf[_0x1f97b7(0x406)],'primaryFieldId':_0x2d8b65,'fieldOrder':[_0x2f4877['BASE_RECORD_ID_FIELD_ID'],_0x2d8b65],'fields':{[_0x2f4877[_0x1f97b7(0x31e)]]:_0x5f33fa,[_0x2d8b65]:_0xb191f3},'records':_0x606f77,'recordOrder':_0x43083a,'rowIndex':_0x28c3ab,'rowId':_0x3d8117,'colIndex':{[_0x2f4877['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x2d8b65]:0x1},'colId':{0x0:_0x2f4877[_0x1f97b7(0x31e)],0x1:_0x2d8b65},'cellData':_0x43e3c7,'views':{[_0x1f8c8a]:_0x446fe5},'viewOrder':[_0x1f8c8a]};}let _0x313003=_0x4cb5f0(0x392);function _0x2e8b01(_0x59cfa4){const _0x3b86d6=_0x4cb5f0;let _0x1a31ce=_0x389dfa({'id':_0x59cfa4[_0x3b86d6(0x1d2)],'name':_0x59cfa4[_0x3b86d6(0x406)]??_0x59cfa4[_0x3b86d6(0x41e)],'recordCount':0x0});return{..._0x1a31ce,'resources':{..._0x1a31ce[_0x3b86d6(0x301)]??{},[_0x313003]:_0x37c40e(_0x59cfa4)}};}function _0x4509f0(_0x568e9b){const _0x664d3e=_0x4cb5f0;return{'id':_0x1c3b88['id'],'params':{'unitId':_0x568e9b[_0x664d3e(0x395)],'op':_0x2f4877[_0x664d3e(0x2a6)][_0x664d3e(0x3fd)][_0x664d3e(0x3d5)](_0x2f4877[_0x664d3e(0x2a6)][_0x664d3e(0x259)]([_0x664d3e(0x1ab),_0x568e9b[_0x664d3e(0x31b)]['id']],_0x568e9b[_0x664d3e(0x31b)]),_0x2f4877['JSON1'][_0x664d3e(0x259)]([_0x664d3e(0x4cf),_0x568e9b[_0x664d3e(0x1a5)]??_0x568e9b['snapshot'][_0x664d3e(0x4cf)][_0x664d3e(0x40a)]],_0x568e9b[_0x664d3e(0x31b)]['id'])),'trigger':'embed-ui'}};}function _0xbba7f4(_0x5c369f){const _0x267037=_0x4cb5f0;let _0x4318f2=_0x5c369f[_0x267037(0x3a7)][_0x267037(0x4cf)][_0x267037(0x310)](_0x5c369f[_0x267037(0x348)]);if(!(!_0x5c369f[_0x267037(0x3a7)][_0x267037(0x1ab)][_0x5c369f[_0x267037(0x348)]]||_0x4318f2<0x0))return{'id':_0x1c3b88['id'],'params':{'unitId':_0x5c369f[_0x267037(0x395)],'op':_0x2f4877[_0x267037(0x2a6)][_0x267037(0x3fd)]['compose'](_0x2f4877[_0x267037(0x2a6)][_0x267037(0x1c6)]([_0x267037(0x1ab),_0x5c369f[_0x267037(0x348)]],_0x5c369f[_0x267037(0x3a7)]['tables'][_0x5c369f['tableId']]),_0x2f4877['JSON1'][_0x267037(0x1c6)]([_0x267037(0x4cf),_0x4318f2],_0x5c369f[_0x267037(0x348)])),'trigger':_0x267037(0x263)}};}function _0x37c40e(_0x2542f6){const _0x407943=_0x4cb5f0;return{'version':0x1,'embedId':_0x2542f6[_0x407943(0x41e)],'hostAnchorId':_0x2542f6['hostAnchorId'],'childUnitId':_0x2542f6[_0x407943(0x243)],'childType':_0x2542f6[_0x407943(0x506)]};}function _0x3524a8(_0x1b7c2e){const _0x3c8b71=_0x4cb5f0;let _0x42a152=Math[_0x3c8b71(0x459)](0x0,Number(_0x1b7c2e[_0x3c8b71(0x3f1)]??0x0)),_0x222c57=_0x1b7c2e[_0x3c8b71(0x2b1)]===!0x1?'0':_0x3c8b71(0x188),_0x5c1417=_0x42a152?'.'+'0'[_0x3c8b71(0x15a)](_0x42a152):'',_0x4ba224=_0x20fa54(_0x1b7c2e['abbreviation']);return''+(_0x1b7c2e[_0x3c8b71(0x4b6)]?_0x5f5885(_0x1b7c2e[_0x3c8b71(0x4b6)]):'')+_0x222c57+_0x5c1417+_0x4ba224;}function _0x11f486(_0x4178d8,_0xb15093){const _0x156a67=_0x4cb5f0;let _0x56ed20=_0x3524a8(_0xb15093),_0x1dade5=_0x2f4877[_0x156a67(0x29e)][_0x156a67(0x1f4)](_0x56ed20,_0x4178d8,{'throws':!0x1});return _0x442f03(String(_0x1dade5),_0xb15093[_0x156a67(0x35f)],_0xb15093[_0x156a67(0x3be)]);}function _0x20fa54(_0x1d49aa){const _0x55c31f=_0x4cb5f0;return _0x1d49aa==='K'?',\x22K\x22':_0x1d49aa==='M'?_0x55c31f(0x54f):_0x1d49aa==='B'?',,,\x22B\x22':'';}function _0x5f5885(_0x564130){const _0x4f479a=_0x4cb5f0;return/^[A-Z]+$/i[_0x4f479a(0x479)](_0x564130)?'\x22'+_0x564130+'\x22':_0x564130;}function _0x442f03(_0x294446,_0x488d91,_0x1b8f0c){const _0x22336e=_0x4cb5f0;let _0x127ed7=_0x488d91==='local'?_0x90bb9(_0x1b8f0c):_0x488d91;return _0x127ed7===_0x22336e(0x350)?_0x294446[_0x22336e(0x307)](/,/g,'\x00')[_0x22336e(0x307)](/\./g,',')[_0x22336e(0x307)](/\0/g,'.'):_0x127ed7==='spaceComma'?_0x294446[_0x22336e(0x307)](/,/g,'\x20')[_0x22336e(0x307)](/\./g,','):_0x127ed7===_0x22336e(0x19d)?_0x294446[_0x22336e(0x307)](/,/g,'\x20'):_0x294446;}function _0x90bb9(_0x10222a){const _0x34f559=_0x4cb5f0;var _0x43032c,_0x1d6938;let _0x402d5a=_0x10222a||new Intl['NumberFormat']()['resolvedOptions']()[_0x34f559(0x3be)],_0x5cc1ed;try{_0x5cc1ed=new Intl[(_0x34f559(0x2e4))](_0x402d5a,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x34f559(0x4f0)](0xf4240);}catch{return _0x34f559(0x2aa);}let _0x35685b=(_0x43032c=_0x5cc1ed[_0x34f559(0x3b5)](_0x41e1a8=>_0x41e1a8[_0x34f559(0x3fd)]===_0x34f559(0x475)))==null?void 0x0:_0x43032c[_0x34f559(0x2f3)],_0x19dde1=(_0x1d6938=_0x5cc1ed[_0x34f559(0x3b5)](_0x164a6b=>_0x164a6b[_0x34f559(0x3fd)]==='decimal'))==null?void 0x0:_0x1d6938['value'],_0x1d1663=_0x35685b==='\u00a0'||_0x35685b==='\u202f'?'\x20':_0x35685b;return _0x1d1663==='.'&&_0x19dde1===','?_0x34f559(0x350):_0x1d1663==='\x20'&&_0x19dde1===','?_0x34f559(0x247):_0x1d1663==='\x20'&&_0x19dde1==='.'?_0x34f559(0x19d):_0x34f559(0x2aa);}function _0x291506(_0x163317,_0x234113){const _0x497644=_0x4cb5f0;let _0x5a2889=_0x234113&&typeof _0x234113=='object'&&!Array['isArray'](_0x234113)?_0x234113:{},_0x33ec10=_0x5c5bdd(_0x5a2889['decimalPlaces'],0x0,0x2,0x0),_0x2f7da9=_0x163317['toFixed'](_0x33ec10);return _0x5a2889[_0x497644(0x1f4)]===_0x497644(0x212)?_0x2f7da9:_0x2f7da9+'%';}function _0x5c5bdd(_0x405a1f,_0x2816a8,_0x1fcace,_0xedd994){const _0x2bb569=_0x4cb5f0;if(_0x405a1f==null||_0x405a1f==='')return _0xedd994;let _0x1a0253=typeof _0x405a1f==_0x2bb569(0x212)?_0x405a1f:Number(_0x405a1f);return Number[_0x2bb569(0x560)](_0x1a0253)?Math[_0x2bb569(0x459)](_0x2816a8,Math[_0x2bb569(0x498)](_0x1fcace,Math[_0x2bb569(0x471)](_0x1a0253))):_0xedd994;}let _0x7a2d57=['count',_0x4cb5f0(0x218),_0x4cb5f0(0x413),_0x4cb5f0(0x540),_0x4cb5f0(0x1b1),_0x4cb5f0(0x1d4),_0x4cb5f0(0x498),_0x4cb5f0(0x459)],_0x229fd1=[_0x4cb5f0(0x1cd),_0x4cb5f0(0x218),_0x4cb5f0(0x413),_0x4cb5f0(0x540)],_0x4fcddb=[_0x4cb5f0(0x1b1),_0x4cb5f0(0x1d4),_0x4cb5f0(0x498),_0x4cb5f0(0x459)],_0x37d0d3=[_0x4cb5f0(0x498),'max'],_0x25900e=new Set([_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x4ae)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x2b5)],_0x2f4877['BaseFieldType'][_0x4cb5f0(0x235)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x2b4)]]),_0x500afe=new Set([_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x220)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x324)],_0x2f4877[_0x4cb5f0(0x4aa)][_0x4cb5f0(0x1bc)]]),_0x231929=_0x4cb5f0(0x50b);function _0x16b7db(_0x3353d1){const _0x4b2b71=_0x4cb5f0;return typeof _0x3353d1==_0x4b2b71(0x3ef)&&_0x7a2d57[_0x4b2b71(0x47b)](_0x3353d1);}function _0x4871e6(_0x1e109b){const _0x5215dc=_0x4cb5f0;return!_0x1e109b||typeof _0x1e109b!=_0x5215dc(0x2dc)?{}:Object[_0x5215dc(0x1c0)](Object[_0x5215dc(0x1c8)](_0x1e109b)['filter'](_0x349fbe=>_0x16b7db(_0x349fbe[0x1])));}function _0x1ceea8(_0x2b5bdd){const _0x57e789=_0x4cb5f0;return _0x25900e['has'](_0x2b5bdd[_0x57e789(0x3fd)])?[..._0x229fd1,..._0x4fcddb]:_0x2b5bdd[_0x57e789(0x3fd)]===_0x2f4877[_0x57e789(0x4aa)][_0x57e789(0x25c)]?[..._0x229fd1,..._0xfb637c(_0x2b5bdd)===_0x57e789(0x2a2)?_0x37d0d3:_0x4fcddb]:_0x229fd1;}function _0x40c621(_0x4468c1,_0x191cce){const _0x52ab0f=_0x4cb5f0;return _0x1ceea8(_0x4468c1)[_0x52ab0f(0x47b)](_0x191cce);}function _0xa5a37b(_0x1b0222,_0x5c7f0b,_0x409a0c){const _0x915878=_0x4cb5f0;if(!_0x40c621(_0x1b0222,_0x409a0c))return null;let _0x54fdaa=_0x5c7f0b[_0x915878(0x431)](_0x17a90c=>!_0x472196(_0x1b0222,_0x17a90c));switch(_0x409a0c){case _0x915878(0x1cd):return _0x5c7f0b[_0x915878(0x40a)];case _0x915878(0x218):return _0x54fdaa[_0x915878(0x40a)];case _0x915878(0x413):return _0x5c7f0b[_0x915878(0x40a)]-_0x54fdaa[_0x915878(0x40a)];case _0x915878(0x540):return new Set(_0x54fdaa[_0x915878(0x208)](_0x5f0755=>_0x2900d5(_0x1b0222,_0x5f0755)))['size'];case _0x915878(0x1b1):{let _0x482ebd=_0x2bd302(_0x1b0222,_0x54fdaa);return _0x482ebd[_0x915878(0x40a)]?_0x4754bd(_0x482ebd):null;}case _0x915878(0x1d4):{let _0x11b42f=_0x2bd302(_0x1b0222,_0x54fdaa);return _0x11b42f[_0x915878(0x40a)]?_0x4754bd(_0x11b42f)/_0x11b42f[_0x915878(0x40a)]:null;}case'min':{let _0x2d8879=_0x2bd302(_0x1b0222,_0x54fdaa);return _0x2d8879['length']?Math[_0x915878(0x498)](..._0x2d8879):null;}case _0x915878(0x459):{let _0xd6c8e=_0x2bd302(_0x1b0222,_0x54fdaa);return _0xd6c8e[_0x915878(0x40a)]?Math[_0x915878(0x459)](..._0xd6c8e):null;}}}function _0x33bd18(_0x5e37cd,_0x1081e8,_0x34cf6c){const _0x34b046=_0x4cb5f0;if(_0x34cf6c==null||!Number[_0x34b046(0x560)](_0x34cf6c))return'-';if(_0x229fd1[_0x34b046(0x47b)](_0x1081e8))return String(_0x34cf6c);switch(_0x5e37cd[_0x34b046(0x3fd)]){case _0x2f4877[_0x34b046(0x4aa)][_0x34b046(0x4ae)]:return _0x11f486(_0x34cf6c,_0x4b242b(_0x5e37cd));case _0x2f4877[_0x34b046(0x4aa)][_0x34b046(0x2b5)]:return _0x11f486(_0x34cf6c,_0x30fdef(_0x5e37cd));case _0x2f4877[_0x34b046(0x4aa)]['Progress']:return _0x291506(_0x34cf6c,_0x5e37cd[_0x34b046(0x40b)]);case _0x2f4877[_0x34b046(0x4aa)]['Formula']:return _0x59d8f7(_0x34cf6c,_0x5e37cd);default:return _0x4b102e(_0x34cf6c);}}function _0x472196(_0x3a0d8f,_0x4f7e2f){const _0x769c14=_0x4cb5f0;if(_0x4f7e2f==null)return!0x0;if(typeof _0x4f7e2f=='string')return _0x4f7e2f[_0x769c14(0x11b)]()==='';if(Array[_0x769c14(0x156)](_0x4f7e2f))return _0x3a0d8f['type']===_0x2f4877['BaseFieldType']['Attachment']?!_0x4f7e2f[_0x769c14(0x258)](_0x5d4c40):_0x4f7e2f[_0x769c14(0x40a)]===0x0;if(_0x3a0d8f[_0x769c14(0x3fd)]===_0x2f4877[_0x769c14(0x4aa)]['Link']&&typeof _0x4f7e2f==_0x769c14(0x2dc)){let _0x1fb452=_0x4f7e2f;return[_0x1fb452[_0x769c14(0x33c)],_0x1fb452['url']][_0x769c14(0x2fa)](_0x31e6cc=>_0x31e6cc==null||String(_0x31e6cc)[_0x769c14(0x11b)]()==='');}return!0x1;}function _0x2bd302(_0x3661d6,_0x115a85){let _0xace1cf=[];for(let _0x36ffa7 of _0x115a85){let _0xeadf97=_0x8ef307(_0x3661d6,_0x36ffa7);_0xeadf97!=null&&_0xace1cf['push'](_0xeadf97);}return _0xace1cf;}function _0x8ef307(_0xbaa725,_0x3abe23){const _0x263149=_0x4cb5f0;if(typeof _0x3abe23==_0x263149(0x212))return Number[_0x263149(0x560)](_0x3abe23)?_0x3abe23:null;if(_0xbaa725[_0x263149(0x3fd)]!==_0x2f4877[_0x263149(0x4aa)][_0x263149(0x25c)]&&typeof _0x3abe23==_0x263149(0x3ef)&&_0x3abe23[_0x263149(0x11b)]()!==''){let _0x550bab=Number(_0x3abe23);return Number[_0x263149(0x560)](_0x550bab)?_0x550bab:null;}return null;}function _0x4754bd(_0x1cc91e){const _0x3359be=_0x4cb5f0;let _0x3cd064=0x0,_0x2bea01=0x0;for(let _0x313231 of _0x1cc91e){let _0x3dccc2=_0x3cd064+_0x313231;_0x2bea01+=Math[_0x3359be(0x21a)](_0x3cd064)>=Math['abs'](_0x313231)?_0x3cd064-_0x3dccc2+_0x313231:_0x313231-_0x3dccc2+_0x3cd064,_0x3cd064=_0x3dccc2;}return _0x3cd064+_0x2bea01;}function _0x2900d5(_0x381ac5,_0x336c67){const _0x2efabb=_0x4cb5f0;return _0x500afe[_0x2efabb(0x22a)](_0x381ac5[_0x2efabb(0x3fd)])&&Array[_0x2efabb(0x156)](_0x336c67)?_0x723a34([...new Set(_0x336c67['map'](_0x3a45b4=>_0x723a34(_0x5984c2(_0x3a45b4))))]['sort']()):_0x723a34(_0x5984c2(_0x336c67));}function _0x5984c2(_0x4ee407){const _0x2faaf3=_0x4cb5f0;return Array[_0x2faaf3(0x156)](_0x4ee407)?_0x4ee407['map'](_0x5984c2):_0x4ee407&&typeof _0x4ee407=='object'?Object[_0x2faaf3(0x1c0)](Object[_0x2faaf3(0x1c8)](_0x4ee407)['sort'](([_0x6436ae],[_0x294907])=>_0x6436ae[_0x2faaf3(0x1e1)](_0x294907))[_0x2faaf3(0x208)](([_0x4714ff,_0x27cd4e])=>[_0x4714ff,_0x5984c2(_0x27cd4e)])):_0x4ee407;}function _0x723a34(_0x3d9618){const _0x1a5f2a=_0x4cb5f0;return JSON[_0x1a5f2a(0x52e)](_0x3d9618)??_0x1a5f2a(0x514);}function _0x5d4c40(_0x2811ed){const _0x449884=_0x4cb5f0;if(typeof _0x2811ed=='string')return _0x2811ed[_0x449884(0x11b)]()!=='';if(!_0x2811ed||typeof _0x2811ed!=_0x449884(0x2dc))return!0x1;let _0x57cfad=_0x2811ed;return[_0x57cfad['id'],_0x57cfad[_0x449884(0x406)],_0x57cfad['source'],_0x57cfad[_0x449884(0x1ec)],_0x57cfad[_0x449884(0x53a)]][_0x449884(0x258)](_0x4c34cd=>_0x4c34cd!=null&&String(_0x4c34cd)[_0x449884(0x11b)]()!=='');}function _0x4b242b(_0x1833f1){const _0x18f7a5=_0x4cb5f0;let _0x4e3f5e=_0x5cb52b(_0x1833f1['config']);return{'decimalPlaces':_0x3befc3(_0x4e3f5e[_0x18f7a5(0x3f1)],0x0,0x14,0x2),'separatorStyle':typeof _0x4e3f5e[_0x18f7a5(0x35f)]==_0x18f7a5(0x3ef)?_0x4e3f5e[_0x18f7a5(0x35f)]:_0x18f7a5(0x34e),'locale':typeof _0x4e3f5e[_0x18f7a5(0x3be)]==_0x18f7a5(0x3ef)?_0x4e3f5e[_0x18f7a5(0x3be)]:void 0x0,'useThousands':_0x4e3f5e[_0x18f7a5(0x2b1)]!==!0x1,'abbreviation':typeof _0x4e3f5e[_0x18f7a5(0x194)]==_0x18f7a5(0x3ef)?_0x4e3f5e[_0x18f7a5(0x194)]:_0x18f7a5(0x555)};}function _0x30fdef(_0x540284){const _0x1716de=_0x4cb5f0;let _0x5d0288=_0x5cb52b(_0x540284[_0x1716de(0x40b)]);return{..._0x4b242b(_0x540284),'currencySymbol':String(_0x5d0288['currencySymbol']??'$')};}function _0x59d8f7(_0x3a5277,_0x3d3cb9){const _0x3ef51d=_0x4cb5f0;let _0x2d2add=_0x2cf05e(_0x3d3cb9);if(_0x2d2add===_0x231929)return _0x4b102e(_0x3a5277);try{return String(_0x2f4877[_0x3ef51d(0x29e)][_0x3ef51d(0x1f4)](_0x2d2add,_0x3a5277,{'throws':!0x1}));}catch{return _0x4b102e(_0x3a5277);}}function _0xfb637c(_0x19c631){const _0x23abdd=_0x4cb5f0;let _0x5d8fd9=_0x5cb52b(_0x5cb52b(_0x19c631[_0x23abdd(0x40b)])[_0x23abdd(0x29e)]);return typeof _0x5d8fd9['type']=='string'?_0x5d8fd9[_0x23abdd(0x3fd)]:'general';}function _0x2cf05e(_0x4fbd1f){const _0x2b80d0=_0x4cb5f0;let _0x32a71d=_0x5cb52b(_0x5cb52b(_0x4fbd1f[_0x2b80d0(0x40b)])['numfmt']);return String(_0x32a71d[_0x2b80d0(0x2c4)]??_0x231929)[_0x2b80d0(0x11b)]()||_0x231929;}function _0x4b102e(_0x4aeb7d){const _0x36251a=_0x4cb5f0;return String(Number['isInteger'](_0x4aeb7d)?_0x4aeb7d:Math[_0x36251a(0x471)]((_0x4aeb7d+0x2**-0x34)*0x64)/0x64);}function _0x5cb52b(_0x47268a){const _0x1f2e9a=_0x4cb5f0;return _0x47268a&&typeof _0x47268a==_0x1f2e9a(0x2dc)&&!Array[_0x1f2e9a(0x156)](_0x47268a)?_0x47268a:{};}function _0x40a085(_0x4ae3ec){const _0x140ead=_0x4cb5f0;if(_0x4ae3ec==null||_0x4ae3ec==='')return null;let _0x1e82e9=typeof _0x4ae3ec=='number'?_0x4ae3ec:Number(_0x4ae3ec);return Number[_0x140ead(0x560)](_0x1e82e9)?_0x1e82e9:null;}function _0x3befc3(_0x206772,_0x4465d0,_0x54c4b7,_0x526d1b){let _0x3302e2=_0x40a085(_0x206772);return _0x3302e2==null?_0x526d1b:Math['max'](_0x4465d0,Math['min'](_0x54c4b7,Math['round'](_0x3302e2)));}function _0x28af37(_0x5da595,_0xa1926b){const _0x4c51d4=_0x4cb5f0;let _0x2621cb=_0x2f4877[_0x4c51d4(0x10e)][_0x4c51d4(0x1f3)](_0x5da595),_0x2302c9=_0xa1926b[_0x4c51d4(0x444)]===!0x0,_0xc4cbd8=new Map(),_0x1ef854=_0xa1926b[_0x4c51d4(0x2b3)]??(()=>_0x4c51d4(0x4e3)+(0x0,_0x2f4877[_0x4c51d4(0x507)])(0x8)),_0x26edde=_0x2621cb[_0x4c51d4(0x353)];return _0xa1926b[_0x4c51d4(0x2fd)]&&(_0x26edde=_0x2621cb[_0x4c51d4(0x353)][_0x4c51d4(0x208)](_0x1d5369=>{let _0xfdec8b=_0x1ef854();return _0xc4cbd8['set'](_0x1d5369,_0xfdec8b),_0xfdec8b;})),{..._0x2621cb,'id':_0xa1926b['id'],'name':_0xa1926b[_0x4c51d4(0x406)],'records':_0x2302c9?_0x2621cb['records']:{},'recordOrder':_0x2302c9?_0x2621cb[_0x4c51d4(0x279)]:[],'rowIndex':_0x2302c9?_0x2621cb['rowIndex']:{},'rowId':_0x2302c9?_0x2621cb[_0x4c51d4(0x151)]:{},'cellData':_0x2302c9?_0x2621cb[_0x4c51d4(0x3ca)]:{},'resources':_0x2302c9?_0x2621cb[_0x4c51d4(0x301)]:{},'viewOrder':_0x26edde,'views':Object[_0x4c51d4(0x1c0)](Object['entries'](_0x2621cb[_0x4c51d4(0x3fa)]??{})[_0x4c51d4(0x208)](([_0x352e9d,_0x25a231])=>{const _0x134b0d=_0x4c51d4;let _0x51bf62=_0xc4cbd8[_0x134b0d(0x51c)](_0x352e9d)??(_0xa1926b['regenerateViewIds']?_0x1ef854():_0x352e9d);return[_0x51bf62,{..._0x25a231,'id':_0x51bf62,'tableId':_0xa1926b['id']}];}))};}var _0x35c543=_0x4cb5f0(0x1af),_0xee6ecc=_0x4cb5f0(0x374);let _0x50fed9={},_0x3e6fc0={};function _0x3676e2(_0x18d8eb){const _0xac2480=_0x4cb5f0;return new _0xa877f0()[_0xac2480(0x25b)](_0x18d8eb);}function _0x5ffd31(_0x35b3d0){const _0x317ffd=_0x4cb5f0;return _0x35b3d0[_0x317ffd(0x32d)][_0x317ffd(0x208)](_0x2bec25=>({'unitId':_0x35b3d0[_0x317ffd(0x395)],'sheetId':_0x35b3d0[_0x317ffd(0x348)],'range':{'startRow':_0x2bec25[_0x317ffd(0x405)],'endRow':_0x2bec25['row'],'startColumn':_0x2bec25[_0x317ffd(0x569)],'endColumn':_0x2bec25[_0x317ffd(0x569)]}}));}function _0x46f81c(_0x2fdeb9,_0xbd2bdb){const _0xe54215=_0x4cb5f0;return{[_0x2fdeb9]:Object[_0xe54215(0x1c0)](_0xbd2bdb[_0xe54215(0x208)](_0x5862c6=>[_0x5862c6,'1']))};}let _0x47f85e=class extends _0x2f4877[_0x4cb5f0(0x4ce)]{constructor(_0x30642f,_0xb705cb){const _0x327635=_0x4cb5f0;super(),this[_0x327635(0x3ba)]=_0x30642f,this['_univerInstanceService']=_0xb705cb,this[_0x327635(0x33a)]();}[_0x4cb5f0(0x33a)](){const _0x336ef8=_0x4cb5f0;this[_0x336ef8(0x3ba)]['register'](_0x1c3b88['id'],{'commandId':_0x1c3b88['id'],'getDirtyData':_0x31c195=>this['_getJson1DirtyData'](_0x31c195[_0x336ef8(0x28d)])}),this[_0x336ef8(0x16f)]((0x0,_0x2f4877[_0x336ef8(0x26b)])(()=>{const _0x982630=_0x336ef8;this[_0x982630(0x3ba)][_0x982630(0x2c8)](_0x1c3b88['id']);}));}[_0x4cb5f0(0x396)](_0x3df421,_0x4384db){const _0x593078=_0x4cb5f0;let _0x5a6eab=this['_univerInstanceService'][_0x593078(0x441)](_0x3df421,_0x2f4877[_0x593078(0x3d3)][_0x593078(0x13a)]);return(_0x5a6eab==null?void 0x0:_0x5a6eab['getSnapshot']()[_0x593078(0x1ab)][_0x4384db])??null;}[_0x4cb5f0(0x462)](_0x595f0d){const _0x543b5d=_0x4cb5f0;if(_0x595f0d['trigger']===_0x543b5d(0x2a5))return{};if(!_0x595f0d['unitId']||!_0x595f0d['op'])return{'clearDependencyTreeCache':this[_0x543b5d(0x1ad)](),'forceCalculation':!0x0};let _0x4550b7=_0x3676e2(_0x595f0d['op']),_0x439bb4=this[_0x543b5d(0x1be)](_0x595f0d['unitId'],_0x4550b7);if(_0x439bb4[_0x543b5d(0x40a)])return{'clearDependencyTreeCache':_0x46f81c(_0x595f0d['unitId'],_0x439bb4),'forceCalculation':!0x0};let _0x8ce7f0=Object[_0x543b5d(0x1c8)](this[_0x543b5d(0x4c3)](_0x595f0d[_0x543b5d(0x395)],_0x4550b7))[_0x543b5d(0x38f)](([_0x30ca50,_0x7cf4ae])=>_0x5ffd31({'unitId':_0x595f0d[_0x543b5d(0x395)],'tableId':_0x30ca50,'patches':_0x7cf4ae}));return _0x8ce7f0[_0x543b5d(0x40a)]?{'dirtyRanges':_0x8ce7f0}:{};}['_getStructureDirtyTableIds'](_0xff1ff,_0x556bf3){const _0x441f7d=_0x4cb5f0;let _0x2abcc6=_0x556bf3[_0x441f7d(0x431)](_0x794d5a=>_0x794d5a['reason']!==_0x441f7d(0x2d6))[_0x441f7d(0x38f)](_0x406959=>_0x406959[_0x441f7d(0x348)]?[_0x406959[_0x441f7d(0x348)]]:this[_0x441f7d(0x277)](_0xff1ff));return Array['from'](new Set(_0x2abcc6));}[_0x4cb5f0(0x4c3)](_0x216f8b,_0x2764ba){const _0x31cc95=_0x4cb5f0;let _0x2f1dea=new Set();return _0x2764ba[_0x31cc95(0x28f)]((_0xb1efaf,_0x5b1295)=>{const _0x18a1ec=_0x31cc95;let _0x394675=this[_0x18a1ec(0x27f)](_0x216f8b,_0x5b1295);if(!_0x394675)return _0xb1efaf;let _0x232050=_0x5b1295[_0x18a1ec(0x348)]+':'+_0x394675[_0x18a1ec(0x405)]+':'+_0x394675[_0x18a1ec(0x569)];return _0x2f1dea[_0x18a1ec(0x22a)](_0x232050)||(_0x2f1dea[_0x18a1ec(0x567)](_0x232050),_0xb1efaf[_0x5b1295[_0x18a1ec(0x348)]]=_0xb1efaf[_0x5b1295[_0x18a1ec(0x348)]]??[],_0xb1efaf[_0x5b1295[_0x18a1ec(0x348)]][_0x18a1ec(0x158)](_0x394675)),_0xb1efaf;},{});}['_toDirtyRangePatch'](_0x4e21d4,_0x1b5a15){const _0x5d8a9c=_0x4cb5f0;if(_0x1b5a15['reason']!==_0x5d8a9c(0x2d6))return null;if(_0x1b5a15[_0x5d8a9c(0x405)]!=null&&_0x1b5a15[_0x5d8a9c(0x12a)]!=null)return{'row':_0x1b5a15[_0x5d8a9c(0x405)],'col':_0x1b5a15[_0x5d8a9c(0x12a)],'value':null};if(!_0x1b5a15[_0x5d8a9c(0x31f)]||!_0x1b5a15[_0x5d8a9c(0x3bd)])return null;let _0xd36ad4=this[_0x5d8a9c(0x396)](_0x4e21d4,_0x1b5a15[_0x5d8a9c(0x348)]);if(!_0xd36ad4)return null;let _0x50a174=_0xc9eba(_0xd36ad4,_0x1b5a15['recordId'],_0x1b5a15[_0x5d8a9c(0x3bd)]);return _0x50a174?{'row':_0x50a174[_0x5d8a9c(0x405)],'col':_0x50a174[_0x5d8a9c(0x569)],'value':null}:null;}[_0x4cb5f0(0x277)](_0x5ce54a){const _0x1edbd8=_0x4cb5f0;let _0x1a09f2=this[_0x1edbd8(0x1a6)]['getUnit'](_0x5ce54a,_0x2f4877[_0x1edbd8(0x3d3)][_0x1edbd8(0x13a)]);return Object[_0x1edbd8(0x12b)]((_0x1a09f2==null?void 0x0:_0x1a09f2['getSnapshot']()[_0x1edbd8(0x1ab)])??{})[_0x1edbd8(0x208)](_0xe3587=>_0xe3587['id']);}[_0x4cb5f0(0x1ad)](){const _0x6380c=_0x4cb5f0;let _0x463e48=this[_0x6380c(0x1a6)][_0x6380c(0x380)](_0x2f4877['UniverInstanceType']['UNIVER_BASE'])[_0x6380c(0x208)](_0x166640=>_0x46f81c(_0x166640[_0x6380c(0x38c)](),Object[_0x6380c(0x174)](_0x166640[_0x6380c(0x51d)]()[_0x6380c(0x1ab)])));return Object['assign']({},..._0x463e48);}};_0x47f85e=_0x587eef([_0x101953(0x0,_0x15af66[_0x4cb5f0(0x22f)]),_0x101953(0x1,_0x2f4877['IUniverInstanceService'])],_0x47f85e);let _0xa5371b=class extends _0x2f4877[_0x4cb5f0(0x4ce)]{constructor(_0x5a5025,_0x2d1083,_0x10394b,_0x1f3a17){const _0x251290=_0x4cb5f0;super(),this['_commandService']=_0x5a5025,this['_univerInstanceService']=_0x2d1083,this[_0x251290(0x4e2)]=_0x10394b,this['_formulaCalculationSessionService']=_0x1f3a17,_0x4a5f24(this,'_formulaService',new _0xdaf5ba()),_0x4a5f24(this,_0x251290(0x520),new Map()),_0x4a5f24(this,_0x251290(0x333),new Set()),_0x4a5f24(this,'_formulaSyncQueue',Promise[_0x251290(0x179)]()),_0x4a5f24(this,_0x251290(0x17b),!0x1),this[_0x251290(0x33a)]();}[_0x4cb5f0(0x33a)](){const _0x5ad787=_0x4cb5f0;this[_0x5ad787(0x1a6)][_0x5ad787(0x380)](_0x2f4877['UniverInstanceType'][_0x5ad787(0x13a)])[_0x5ad787(0x167)](_0x2cf001=>{const _0x6f650=_0x5ad787;this[_0x6f650(0x22e)](_0x2cf001);}),this[_0x5ad787(0x16f)](this[_0x5ad787(0x1a6)][_0x5ad787(0x42b)](_0x2f4877[_0x5ad787(0x3d3)][_0x5ad787(0x13a)])['subscribe'](({unit:_0x3e60f1})=>{const _0x30d9d2=_0x5ad787;this[_0x30d9d2(0x22e)](_0x3e60f1);})),this['disposeWithMe'](this[_0x5ad787(0x1a6)][_0x5ad787(0x424)](_0x2f4877['UniverInstanceType'][_0x5ad787(0x13a)])[_0x5ad787(0x3a1)](_0x5da402=>{const _0x4eb9b3=_0x5ad787;this[_0x4eb9b3(0x302)](()=>this[_0x4eb9b3(0x221)](_0x5da402[_0x4eb9b3(0x38c)]()));})),this[_0x5ad787(0x16f)](this[_0x5ad787(0x145)][_0x5ad787(0x364)](_0xd63ed1=>this['_onCommandExecuted'](_0xd63ed1)));}['_onCommandExecuted'](_0x29245c){const _0x1cd509=_0x4cb5f0;if(_0x29245c['id']===_0x15af66[_0x1cd509(0x4f7)]['id']){_0x5b8db0(_0x29245c[_0x1cd509(0x28d)])&&this['_applyFormulaResult'](_0x29245c['params']);return;}if(this[_0x1cd509(0x17b)]||_0x29245c['id']!==_0x1c3b88['id'])return;let _0x764f83=_0x5a5428(_0x29245c[_0x1cd509(0x28d)])?_0x29245c['params']:void 0x0,_0x416491=_0x764f83!=null&&_0x764f83[_0x1cd509(0x395)]?[this[_0x1cd509(0x1a6)][_0x1cd509(0x441)](_0x764f83[_0x1cd509(0x395)],_0x2f4877[_0x1cd509(0x3d3)]['UNIVER_BASE'])][_0x1cd509(0x431)](_0x318747=>!!_0x318747):this[_0x1cd509(0x1a6)][_0x1cd509(0x380)](_0x2f4877[_0x1cd509(0x3d3)][_0x1cd509(0x13a)]),_0xe4c9d6=_0x764f83==null?void 0x0:_0x764f83['op'];_0x416491[_0x1cd509(0x167)](_0xea6227=>{const _0x588da7=_0x1cd509;let _0x19bb0b=_0xe4c9d6?_0x3676e2(_0xe4c9d6):[];(!_0xe4c9d6||_0x19bb0b['some'](_0x19f402=>_0x19f402[_0x588da7(0x2f9)]!=='cell'))&&this[_0x588da7(0x22e)](_0xea6227);});}[_0x4cb5f0(0x22e)](_0x5f2ce0){const _0x5f25f6=_0x4cb5f0;let _0x1bd197=_0x5f2ce0[_0x5f25f6(0x38c)]();this[_0x5f25f6(0x333)][_0x5f25f6(0x22a)](_0x1bd197)||(this[_0x5f25f6(0x333)][_0x5f25f6(0x567)](_0x1bd197),this[_0x5f25f6(0x302)](async()=>{const _0x503af4=_0x5f25f6;this[_0x503af4(0x333)][_0x503af4(0x515)](_0x1bd197),await this['_syncSuperTables'](_0x5f2ce0);}));}async[_0x4cb5f0(0x2ad)](_0x4afda6){const _0x375e1f=_0x4cb5f0;let _0x279a7f=_0x4afda6['getUnitId'](),_0x436d3d=this[_0x375e1f(0x4d1)][_0x375e1f(0x456)](_0x4afda6[_0x375e1f(0x51d)]()),_0x5831f1=new Set(_0x436d3d['map'](({tableName:_0x5dc88a})=>_0x5dc88a)),_0x23b9b6=this[_0x375e1f(0x520)][_0x375e1f(0x51c)](_0x279a7f)??new Set();for(let _0x52fed7 of _0x23b9b6)if(!_0x5831f1[_0x375e1f(0x22a)](_0x52fed7)&&!await this[_0x375e1f(0x481)](_0x15af66[_0x375e1f(0x3a6)]['id'],{'unitId':_0x279a7f,'tableName':_0x52fed7}))return;for(let {tableName:_0x49e647,reference:_0x720d73}of _0x436d3d)if(!await this[_0x375e1f(0x481)](_0x15af66[_0x375e1f(0x144)]['id'],{'unitId':_0x279a7f,'tableName':_0x49e647,'reference':_0x720d73}))return;this[_0x375e1f(0x520)][_0x375e1f(0x411)](_0x279a7f,_0x5831f1);}async[_0x4cb5f0(0x221)](_0x7d78c2){const _0x20d0ec=_0x4cb5f0;let _0x229e84=this[_0x20d0ec(0x520)][_0x20d0ec(0x51c)](_0x7d78c2)??new Set();for(let _0x17fad5 of _0x229e84)if(!await this['_executeSuperTableMutationWhileActive'](_0x15af66['RemoveSuperTableMutation']['id'],{'unitId':_0x7d78c2,'tableName':_0x17fad5}))return;this[_0x20d0ec(0x520)][_0x20d0ec(0x515)](_0x7d78c2);}async[_0x4cb5f0(0x481)](_0x2c614b,_0x85ed8e){const _0x4a11af=_0x4cb5f0;return!this['_disposed']&&await this['_commandService'][_0x4a11af(0x373)](_0x2c614b,_0x85ed8e,{'onlyLocal':!0x0})&&!this[_0x4a11af(0x42d)];}['_enqueueFormulaSync'](_0x87ddba){const _0x1bcf5f=_0x4cb5f0;this[_0x1bcf5f(0x2a1)]=this[_0x1bcf5f(0x2a1)][_0x1bcf5f(0x3b2)](_0x87ddba,_0x87ddba)[_0x1bcf5f(0x3b9)](()=>void 0x0);}['_applyFormulaResult'](_0x314540){const _0x3a8968=_0x4cb5f0;let _0x2abb20=this['_univerInstanceService'][_0x3a8968(0x380)](_0x2f4877['UniverInstanceType'][_0x3a8968(0x13a)]);if(!_0x2abb20[_0x3a8968(0x258)](_0x2ef740=>{const _0x3694fd=_0x3a8968;var _0x3ebba1;return((_0x3ebba1=_0x314540[_0x3694fd(0x438)])==null?void 0x0:_0x3ebba1[_0x2ef740[_0x3694fd(0x38c)]()])!=null;}))return;let _0x24a1e1=_0x2abb20[_0x3a8968(0x38f)](_0x48acde=>_0x506cf2(_0x48acde[_0x3a8968(0x51d)](),_0x314540));if(!_0x24a1e1[_0x3a8968(0x40a)]){this[_0x3a8968(0x44b)][_0x3a8968(0x397)](_0x50d89d[_0x3a8968(0x369)][_0x3a8968(0x4e9)],_0x314540);return;}let _0x35e52a=new _0x41583f(),_0x5e3a81=_0x24a1e1[_0x3a8968(0x38f)](_0x4fc71c=>_0x5ffd31({'unitId':_0x4fc71c['unitId'],'tableId':_0x4fc71c[_0x3a8968(0x348)],'patches':_0x4fc71c[_0x3a8968(0x32d)]}));this[_0x3a8968(0x17b)]=!0x0,(async()=>{const _0x30f22c=_0x3a8968;for(let _0x290189 of _0x24a1e1){let _0x3d8fe8=this[_0x30f22c(0x1a6)]['getUnit'](_0x290189['unitId'],_0x2f4877['UniverInstanceType'][_0x30f22c(0x13a)]);_0x3d8fe8&&await this['_commandService'][_0x30f22c(0x373)](_0x1c3b88['id'],{'unitId':_0x290189[_0x30f22c(0x395)],'op':_0x35e52a['setRangeValues'](_0x3d8fe8[_0x30f22c(0x51d)](),_0x290189[_0x30f22c(0x348)],_0x290189[_0x30f22c(0x32d)]),'trigger':_0x15af66['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x30f22c(0x145)][_0x30f22c(0x373)](_0x15af66['SetTriggerFormulaCalculationStartMutation']['id'],{'dirtyRanges':_0x5e3a81},{'onlyLocal':!0x0});})()[_0x3a8968(0x15d)](()=>{const _0x27aa52=_0x3a8968;this[_0x27aa52(0x17b)]=!0x1,this[_0x27aa52(0x44b)]['markResultApplied'](_0x50d89d[_0x27aa52(0x369)]['BASE'],_0x314540);});}};_0xa5371b=_0x587eef([_0x101953(0x0,_0x2f4877[_0x4cb5f0(0x47c)]),_0x101953(0x1,_0x2f4877['IUniverInstanceService']),_0x101953(0x2,(0x0,_0x2f4877[_0x4cb5f0(0x281)])(_0x15af66['FormulaCalculationTriggerService'])),_0x101953(0x3,(0x0,_0x2f4877[_0x4cb5f0(0x281)])(_0x50d89d[_0x4cb5f0(0x273)]))],_0xa5371b);function _0x5a5428(_0x3aa659){const _0x3df370=_0x4cb5f0;return typeof _0x3aa659==_0x3df370(0x2dc)&&!!_0x3aa659&&'unitId'in _0x3aa659&&typeof _0x3aa659[_0x3df370(0x395)]==_0x3df370(0x3ef)&&'op'in _0x3aa659&&Array[_0x3df370(0x156)](_0x3aa659['op']);}function _0x5b8db0(_0x237729){const _0x4e9b65=_0x4cb5f0;return typeof _0x237729==_0x4e9b65(0x2dc)&&!!_0x237729&&'unitData'in _0x237729&&'unitOtherData'in _0x237729;}let _0x2b2926=new Set([_0x33ee28['id'],_0x5778d2['id'],_0x4a046d['id']]),_0x11f944=class extends _0x2f4877[_0x4cb5f0(0x4ce)]{constructor(_0x200f25,_0x4524e9,_0x53f4fa,_0x30a6a3){const _0x33f1d3=_0x4cb5f0;super(),this[_0x33f1d3(0x53e)]=_0x200f25,this[_0x33f1d3(0x145)]=_0x4524e9,this[_0x33f1d3(0x1b4)]=_0x53f4fa,this['_instanceService']=_0x30a6a3,this['_instanceService']['getAllUnitsForType'](_0x2f4877[_0x33f1d3(0x3d3)][_0x33f1d3(0x13a)])[_0x33f1d3(0x167)](_0x4446bc=>this[_0x33f1d3(0x4ff)](_0x4446bc[_0x33f1d3(0x38c)]())),this[_0x33f1d3(0x16f)](this[_0x33f1d3(0x450)][_0x33f1d3(0x42b)](_0x2f4877[_0x33f1d3(0x3d3)][_0x33f1d3(0x13a)])[_0x33f1d3(0x3a1)](({unit:_0x41feac})=>this[_0x33f1d3(0x4ff)](_0x41feac[_0x33f1d3(0x38c)]()))),this[_0x33f1d3(0x16f)](this[_0x33f1d3(0x145)]['beforeCommandExecuted']((_0x361c20,_0x2d0ced)=>this[_0x33f1d3(0x289)](_0x361c20,_0x2d0ced))),this[_0x33f1d3(0x16f)](this[_0x33f1d3(0x450)][_0x33f1d3(0x424)](_0x2f4877[_0x33f1d3(0x3d3)][_0x33f1d3(0x13a)])[_0x33f1d3(0x3a1)](_0x3ed22d=>{const _0x175f24=_0x33f1d3;this[_0x175f24(0x53e)][_0x175f24(0x51c)](_0x2f4877['ObjectPermissionService'])[_0x175f24(0x388)](_0x3ed22d[_0x175f24(0x38c)]()),_0xcb79b(this['_permissionService'],_0x3ed22d[_0x175f24(0x38c)]());}));}[_0x4cb5f0(0x4ff)](_0x1b6a4d){const _0x2e4b77=_0x4cb5f0;_0x5b8722['forEach'](_0x5d7068=>{const _0xaee61d=_0x521f;let _0x49df8c=_0x432588(_0x1b6a4d,_0x1b6a4d,_0x5d7068);this['_permissionService'][_0xaee61d(0x286)](_0x49df8c['id'])||this[_0xaee61d(0x1b4)][_0xaee61d(0x472)](_0x49df8c);}),this[_0x2e4b77(0x53e)][_0x2e4b77(0x51c)](_0x2f4877[_0x2e4b77(0x204)])[_0x2e4b77(0x32c)]({'unitId':_0x1b6a4d,'objectId':_0x1b6a4d,'objectType':_0x385744[_0x2e4b77(0x545)][_0x2e4b77(0x1f9)]});}[_0x4cb5f0(0x289)](_0x1407f8,_0x5dced4){const _0x1d1a4d=_0x4cb5f0;var _0x18f6f2;if(_0x5dced4!=null&&_0x5dced4['fromCollab']||_0x5dced4!=null&&_0x5dced4[_0x1d1a4d(0x24e)])return;let _0x5c144c=_0x13875b(_0x1407f8[_0x1d1a4d(0x28d)])?_0x1407f8[_0x1d1a4d(0x28d)]:void 0x0;if(_0x5dced4!=null&&_0x5dced4[_0x1d1a4d(0x18f)]&&_0x1407f8['id']===_0x1d1a4d(0x511)&&(_0x5c144c==null?void 0x0:_0x5c144c['trigger'])===_0x15af66[_0x1d1a4d(0x4f7)]['id'])return;let _0x1b13b1=_0x1313a0(_0x1407f8['id']),_0x34c4cc=_0x2f1fb7(_0x5c144c==null?void 0x0:_0x5c144c[_0x1d1a4d(0x395)],_0x5dced4)??(_0x1b13b1?(_0x18f6f2=this[_0x1d1a4d(0x450)][_0x1d1a4d(0x54c)](_0x2f4877[_0x1d1a4d(0x3d3)][_0x1d1a4d(0x13a)]))==null?void 0x0:_0x18f6f2['getUnitId']():void 0x0);if(!_0x34c4cc||this[_0x1d1a4d(0x450)][_0x1d1a4d(0x50a)](_0x34c4cc)!==_0x2f4877[_0x1d1a4d(0x3d3)][_0x1d1a4d(0x13a)])return;if(_0x1b13b1){if(!_0x197af7(this[_0x1d1a4d(0x1b4)],_0x34c4cc,_0x34c4cc,_0x1b13b1))throw this['_injector'][_0x1d1a4d(0x51c)](_0x2f4877[_0x1d1a4d(0x23c)])['emitPermissionDenied'](_0x34c4cc),new _0x2f4877[(_0x1d1a4d(0x3e4))](_0x1d1a4d(0x270)+_0x385744[_0x1d1a4d(0x13c)][_0x1b13b1]+_0x1d1a4d(0x3cf));return;}if(_0x2b2926[_0x1d1a4d(0x22a)](_0x1407f8['id'])||!_0x1407f8['id'][_0x1d1a4d(0x316)]('base.command.')&&!_0x1407f8['id']['startsWith'](_0x1d1a4d(0x157)))return;let _0x504f3a=this[_0x1d1a4d(0x450)][_0x1d1a4d(0x441)](_0x34c4cc,_0x2f4877[_0x1d1a4d(0x3d3)][_0x1d1a4d(0x13a)]),_0x2b0021=_0x504f3a?_0x47e8b9(_0x504f3a,_0x5c144c??{},_0x1407f8['id']):[];if(!_0x504f3a||!_0x26f94a(this['_permissionService'],_0x34c4cc,_0x2b0021))throw this[_0x1d1a4d(0x53e)]['get'](_0x2f4877[_0x1d1a4d(0x23c)])[_0x1d1a4d(0x321)](_0x34c4cc,_0x2b0021),new _0x2f4877['CustomCommandExecutionError']('Base\x20edit\x20permission\x20denied.');}};_0x11f944=_0x587eef([_0x101953(0x0,(0x0,_0x2f4877[_0x4cb5f0(0x281)])(_0x2f4877[_0x4cb5f0(0x339)])),_0x101953(0x1,_0x2f4877[_0x4cb5f0(0x47c)]),_0x101953(0x2,_0x2f4877[_0x4cb5f0(0x556)]),_0x101953(0x3,_0x2f4877['IUniverInstanceService'])],_0x11f944);function _0x2f1fb7(_0x141259,_0xcd31a){const _0x4ac994=_0x4cb5f0;return typeof _0x141259==_0x4ac994(0x3ef)?_0x141259:typeof(_0xcd31a==null?void 0x0:_0xcd31a[_0x4ac994(0x395)])==_0x4ac994(0x3ef)?_0xcd31a['unitId']:void 0x0;}function _0x1313a0(_0x27be65){const _0x3b31ec=_0x4cb5f0;if(_0x27be65===_0x3b31ec(0x1ee)||_0x27be65===_0x3b31ec(0x1f5))return _0x385744[_0x3b31ec(0x13c)]['Export'];if(_0x27be65['startsWith'](_0x3b31ec(0x2f0))||_0x27be65['startsWith'](_0x3b31ec(0x169)))return _0x385744[_0x3b31ec(0x13c)]['Comment'];}function _0x47e8b9(_0x4b72db,_0xd6417c,_0x33e5aa){const _0x5d13fc=_0x4cb5f0;if(_0x33e5aa==='base.mutation.apply-base-json1'&&_0x593e37(_0xd6417c['op']))return _0x329335(_0x4b72db,_0xd6417c['op']);let _0x1734bf=new Set(),_0x4a7afd=_0x1f97fc(_0xd6417c,_0x5d13fc(0x31b)),_0x1bf212=typeof _0xd6417c[_0x5d13fc(0x348)]==_0x5d13fc(0x3ef)?_0xd6417c[_0x5d13fc(0x348)]:_0x4a7afd[0x0];if(_0x4a7afd[_0x5d13fc(0x167)](_0x3efbaa=>_0x1734bf['add'](_0x5de77d(_0x3efbaa))),!_0x1bf212)return[..._0x1734bf];let _0x50240a=_0x4b72db[_0x5d13fc(0x51d)]()[_0x5d13fc(0x1ab)][_0x1bf212],_0xfadd2a=new Set(_0x1f97fc(_0xd6417c,_0x5d13fc(0x117))),_0x2f0539=new Set(_0x1f97fc(_0xd6417c,'record')),_0x5dea5e=new Set(_0x1f97fc(_0xd6417c,_0x5d13fc(0x1e2)));return _0x9dc068(_0x50240a,_0xd6417c[_0x5d13fc(0x32d)],_0x2f0539,_0xfadd2a),_0x56de42(_0xd6417c,_0xfadd2a),_0xfadd2a['forEach'](_0x4c6d2c=>_0x1734bf[_0x5d13fc(0x567)](_0x55babb(_0x1bf212,_0x4c6d2c))),_0x2f0539[_0x5d13fc(0x167)](_0x4465c8=>_0x1734bf['add'](_0x48e626(_0x1bf212,_0x4465c8))),_0x5dea5e[_0x5d13fc(0x167)](_0x1814f7=>_0x1734bf[_0x5d13fc(0x567)](_0x1c7213(_0x1bf212,_0x1814f7))),[..._0x1734bf];}function _0x329335(_0x54cd60,_0x561ef0){const _0x46bbf5=_0x4cb5f0;let _0x2af078=_0x54cd60[_0x46bbf5(0x51d)](),_0x16c2cc=new _0xa877f0()['getAffectedRanges'](_0x561ef0),_0x26286f=_0x2beceb(_0x561ef0),_0x746742=new Set();return _0x16c2cc[_0x46bbf5(0x167)](_0x4fa2b1=>{const _0x547452=_0x46bbf5;var _0x94fc63,_0x2fd396;let {tableId:_0x2e503c}=_0x4fa2b1;if(!_0x2e503c)return;_0x746742[_0x547452(0x567)](_0x5de77d(_0x2e503c));let _0x5cf276=_0x2af078[_0x547452(0x1ab)][_0x2e503c],_0x345579=_0x4fa2b1[_0x547452(0x31f)]??(_0x4fa2b1['row']==null||_0x5cf276==null||(_0x94fc63=_0x5cf276[_0x547452(0x151)])==null?void 0x0:_0x94fc63[_0x4fa2b1[_0x547452(0x405)]]),_0x3fb6c1=_0x4fa2b1[_0x547452(0x3bd)]??(_0x4fa2b1[_0x547452(0x12a)]==null||_0x5cf276==null||(_0x2fd396=_0x5cf276[_0x547452(0x518)])==null?void 0x0:_0x2fd396[_0x4fa2b1['column']]);_0x345579&&_0x746742[_0x547452(0x567)](_0x48e626(_0x2e503c,_0x345579)),_0x3fb6c1&&_0x746742[_0x547452(0x567)](_0x55babb(_0x2e503c,_0x3fb6c1)),_0x4fa2b1[_0x547452(0x268)]&&_0x746742[_0x547452(0x567)](_0x1c7213(_0x2e503c,_0x4fa2b1[_0x547452(0x268)])),(_0x4fa2b1['reason']===_0x547452(0x31b)||_0x26286f['has'](_0x2e503c))&&_0x5cf276&&(Object[_0x547452(0x174)](_0x5cf276[_0x547452(0x189)])['forEach'](_0x268e60=>_0x746742['add'](_0x55babb(_0x2e503c,_0x268e60))),Object[_0x547452(0x174)](_0x5cf276['records'])[_0x547452(0x167)](_0x4db434=>_0x746742[_0x547452(0x567)](_0x48e626(_0x2e503c,_0x4db434))),Object[_0x547452(0x174)](_0x5cf276[_0x547452(0x3fa)])[_0x547452(0x167)](_0x4e8f59=>_0x746742['add'](_0x1c7213(_0x2e503c,_0x4e8f59)))),_0x4fa2b1['reason']===_0x547452(0x2d9)&&_0x5cf276&&Object['keys'](_0x5cf276[_0x547452(0x189)])[_0x547452(0x167)](_0x3cc031=>_0x746742[_0x547452(0x567)](_0x55babb(_0x2e503c,_0x3cc031)));}),_0x16c2cc['length']===0x0&&_0x3caf2a(_0x561ef0,_0x46bbf5(0x4cf))&&Object[_0x46bbf5(0x174)](_0x2af078[_0x46bbf5(0x1ab)])[_0x46bbf5(0x167)](_0x4a8246=>_0x746742[_0x46bbf5(0x567)](_0x5de77d(_0x4a8246))),[..._0x746742];}function _0x2beceb(_0x518f85){let _0x2feb53=new Set(),_0x5480bf=_0x57096d=>{const _0x273fe5=_0x521f;Array[_0x273fe5(0x156)](_0x57096d)&&_0x57096d[_0x273fe5(0x167)]((_0x2bbe33,_0x235825)=>{const _0x5f2601=_0x273fe5;_0x2bbe33===_0x5f2601(0x1ab)&&typeof _0x57096d[_0x235825+0x1]=='string'&&_0x31d2e1(_0x57096d[_0x235825+0x2])&&_0x2feb53[_0x5f2601(0x567)](_0x57096d[_0x235825+0x1]),_0x5480bf(_0x2bbe33);});};return _0x5480bf(_0x518f85),_0x2feb53;}function _0x31d2e1(_0x3cd251){const _0x45f11b=_0x4cb5f0;return!!_0x3cd251&&typeof _0x3cd251==_0x45f11b(0x2dc)&&!Array['isArray'](_0x3cd251)&&('i'in _0x3cd251||'r'in _0x3cd251||'p'in _0x3cd251||'d'in _0x3cd251||'es'in _0x3cd251||'ena'in _0x3cd251||'et'in _0x3cd251);}function _0x3caf2a(_0x27d7f9,_0xa5bbb5){const _0xe42969=_0x4cb5f0;return Array[_0xe42969(0x156)](_0x27d7f9)&&_0x27d7f9[_0xe42969(0x258)](_0x14b51e=>_0x14b51e===_0xa5bbb5||_0x3caf2a(_0x14b51e,_0xa5bbb5));}function _0x1f97fc(_0x39967a,_0x220e88){let _0x3488cf=new Set(),_0x281575=_0x220e88+'Id',_0x2d29dd=_0x220e88+'Ids',_0x15583e=(_0x4bf237,_0x3ed84e='')=>{const _0x544438=_0x521f;typeof _0x4bf237==_0x544438(0x3ef)?_0x3ed84e===_0x281575&&_0x3488cf[_0x544438(0x567)](_0x4bf237):Array[_0x544438(0x156)](_0x4bf237)?_0x3ed84e===_0x2d29dd?_0x4bf237[_0x544438(0x167)](_0x4778c1=>{const _0x52e4c8=_0x544438;typeof _0x4778c1==_0x52e4c8(0x3ef)&&_0x3488cf[_0x52e4c8(0x567)](_0x4778c1);}):_0x4bf237[_0x544438(0x167)](_0x368a67=>_0x15583e(_0x368a67,_0x3ed84e)):_0x13875b(_0x4bf237)&&Object['entries'](_0x4bf237)['forEach'](([_0x168235,_0x41b869])=>{const _0x38df0a=_0x544438;_0x168235==='id'&&_0x3ed84e===_0x220e88&&typeof _0x41b869==_0x38df0a(0x3ef)?_0x3488cf[_0x38df0a(0x567)](_0x41b869):_0x15583e(_0x41b869,_0x168235);});};return _0x15583e(_0x39967a),[..._0x3488cf];}function _0x9dc068(_0x1f4d72,_0x3b6557,_0x4b57dc,_0x35d91d){const _0x290266=_0x4cb5f0;_0x1f4d72&&Array[_0x290266(0x156)](_0x3b6557)&&_0x3b6557[_0x290266(0x167)](_0x5bed69=>{const _0x27cda9=_0x290266;if(!_0x13875b(_0x5bed69))return;let _0x2d2fb3=_0x5bed69;if(typeof _0x2d2fb3[_0x27cda9(0x405)]=='number'){var _0x1f6ef5;let _0x1cd4e6=(_0x1f6ef5=_0x1f4d72[_0x27cda9(0x151)])==null?void 0x0:_0x1f6ef5[_0x2d2fb3[_0x27cda9(0x405)]];_0x1cd4e6&&_0x4b57dc['add'](_0x1cd4e6);}if(typeof _0x2d2fb3[_0x27cda9(0x569)]==_0x27cda9(0x212)){var _0x3604c8;let _0x3e07d0=(_0x3604c8=_0x1f4d72[_0x27cda9(0x518)])==null?void 0x0:_0x3604c8[_0x2d2fb3[_0x27cda9(0x569)]];_0x3e07d0&&_0x35d91d[_0x27cda9(0x567)](_0x3e07d0);}});}function _0x56de42(_0x883081,_0xd09e22,_0x167d3d=''){const _0x21e681=_0x4cb5f0;_0x883081&&typeof _0x883081=='object'&&(Array['isArray'](_0x883081)?_0x883081[_0x21e681(0x167)](_0x44b990=>_0x56de42(_0x44b990,_0xd09e22,_0x167d3d)):_0x13875b(_0x883081)&&Object['entries'](_0x883081)[_0x21e681(0x167)](([_0x2c0130,_0x3c69f6])=>{const _0x5877e3=_0x21e681;_0x167d3d===_0x5877e3(0x12b)&&_0xd09e22[_0x5877e3(0x567)](_0x2c0130),_0x56de42(_0x3c69f6,_0xd09e22,_0x2c0130);}));}function _0x593e37(_0x226844){return Array['isArray'](_0x226844);}function _0x13875b(_0x152e62){const _0x4322df=_0x4cb5f0;return typeof _0x152e62=='object'&&!!_0x152e62&&!Array[_0x4322df(0x156)](_0x152e62);}let _0x25a919=(0x0,_0x2f4877[_0x4cb5f0(0x14c)])(_0x4cb5f0(0x295)),_0x370306=class{constructor(_0x14ffcc){this['_univerInstanceService']=_0x14ffcc;}[_0x4cb5f0(0x35a)](_0x19d5d6){const _0x54b771=_0x4cb5f0;return this[_0x54b771(0x1a6)][_0x54b771(0x441)](_0x19d5d6,_0x2f4877[_0x54b771(0x3d3)][_0x54b771(0x13a)])??null;}[_0x4cb5f0(0x2e2)](){const _0x53838a=_0x4cb5f0;return this[_0x53838a(0x1a6)][_0x53838a(0x380)](_0x2f4877['UniverInstanceType'][_0x53838a(0x13a)]);}['createBase'](_0x226c2c){const _0x4bb006=_0x4cb5f0;return this[_0x4bb006(0x1a6)][_0x4bb006(0x561)](_0x2f4877[_0x4bb006(0x3d3)][_0x4bb006(0x13a)],_0x226c2c);}};_0x370306=_0x587eef([_0x101953(0x0,_0x2f4877[_0x4cb5f0(0x299)])],_0x370306);let _0xaae6dd=(0x0,_0x2f4877[_0x4cb5f0(0x14c)])(_0x4cb5f0(0x4a6));var _0x4dc982=class extends _0x2f4877[_0x4cb5f0(0x4ce)]{constructor(..._0x41164b){const _0x251c23=_0x4cb5f0;super(..._0x41164b),_0x4a5f24(this,_0x251c23(0x2ac),new Map());}[_0x4cb5f0(0x37e)](_0x1e8dbe){const _0x1733bc=_0x4cb5f0;return this[_0x1733bc(0x2ac)]['set'](_0x1e8dbe['type'],_0x1e8dbe),(0x0,_0x2f4877[_0x1733bc(0x26b)])(()=>this[_0x1733bc(0x2ac)]['delete'](_0x1e8dbe[_0x1733bc(0x3fd)]));}[_0x4cb5f0(0x51c)](_0x5d957f){const _0x4fcc50=_0x4cb5f0;let _0x535add=this[_0x4fcc50(0x2ac)][_0x4fcc50(0x51c)](_0x5d957f);if(!_0x535add)throw Error(_0x4fcc50(0x26d)+_0x5d957f+'\x22\x20is\x20not\x20registered.');return _0x535add;}[_0x4cb5f0(0x358)](){const _0x4dfe90=_0x4cb5f0;return Array['from'](this[_0x4dfe90(0x2ac)][_0x4dfe90(0x12b)]());}};let _0xde226f=[_0x1c3b88],_0x58fc5a=class extends _0x2f4877['Plugin']{constructor(_0x4ce1b2=_0x50fed9,_0x1fa012,_0x2e7a29,_0x233760,_0x3139aa,_0x3bea43){const _0x32c60b=_0x4cb5f0;super(),this[_0x32c60b(0x2a4)]=_0x4ce1b2,this[_0x32c60b(0x53e)]=_0x1fa012,this[_0x32c60b(0x145)]=_0x2e7a29,this[_0x32c60b(0x1a6)]=_0x233760,this[_0x32c60b(0x2c1)]=_0x3139aa,this[_0x32c60b(0x278)]=_0x3bea43,_0x4a5f24(this,_0x32c60b(0x283),new Map());let {..._0x1e7782}=(0x0,_0x2f4877[_0x32c60b(0x1d9)])({},_0x50fed9,this[_0x32c60b(0x2a4)]);this[_0x32c60b(0x2c1)][_0x32c60b(0x319)](_0x32c60b(0x272),_0x1e7782),this[_0x32c60b(0x1a6)][_0x32c60b(0x338)](_0x2f4877['UniverInstanceType'][_0x32c60b(0x13a)],_0x2f4877[_0x32c60b(0x2e3)]),this[_0x32c60b(0x440)](),this[_0x32c60b(0x22d)](),this['_initRegistries'](),this[_0x32c60b(0x44c)]();}['onStarting'](){const _0x5bdf30=_0x4cb5f0;this[_0x5bdf30(0x53e)]['add']([_0x2a283c]),this['disposeWithMe'](this['_injector'][_0x5bdf30(0x51c)](_0x2f4877[_0x5bdf30(0x47c)])[_0x5bdf30(0x123)](_0x3716f3)),this[_0x5bdf30(0x16f)](this['_injector'][_0x5bdf30(0x51c)](_0x2f4877[_0x5bdf30(0x47c)])[_0x5bdf30(0x123)](_0x437cf5)),this[_0x5bdf30(0x16f)](this[_0x5bdf30(0x53e)]['get'](_0x2f4877['ObjectPermissionService'])[_0x5bdf30(0x12c)](_0x385744[_0x5bdf30(0x545)][_0x5bdf30(0x1f9)],this[_0x5bdf30(0x53e)][_0x5bdf30(0x51c)](_0x2a283c),_0x3716f3['id'],_0x437cf5['id']));}['onReady'](){const _0x1b7b9a=_0x4cb5f0;(0x0,_0x2f4877[_0x1b7b9a(0x41b)])(this[_0x1b7b9a(0x53e)],[[_0x370306],[_0x3d96ed],[_0x47f85e]]),this[_0x1b7b9a(0x1a6)][_0x1b7b9a(0x380)](_0x2f4877[_0x1b7b9a(0x3d3)][_0x1b7b9a(0x13a)])[_0x1b7b9a(0x167)](_0xd75e32=>this['_syncBaseUnit'](_0xd75e32['getUnitId']())),(0x0,_0x2f4877[_0x1b7b9a(0x41b)])(this[_0x1b7b9a(0x53e)],[[_0xa5371b],[_0x11f944]]);}[_0x4cb5f0(0x440)](){const _0x1aa809=_0x4cb5f0;[[_0xe37156,{'useClass':_0x2d436a}],[_0xaae6dd,{'useClass':_0x4dc982}],[_0x1d4522,{'useClass':_0x105244}],[_0x25a919,{'useClass':_0x370306}],[_0x38012c,{'useClass':_0x51b201}],[_0x339d0e,{'useClass':_0x3d96ed}],[_0x47f85e],[_0xa5371b],[_0x11f944]]['forEach'](_0x1aef0d=>this['_injector'][_0x1aa809(0x567)](_0x1aef0d));}[_0x4cb5f0(0x22d)](){const _0x41de27=_0x4cb5f0;[_0x261b7b,_0x39a008,_0x56832e,_0x5c7138,_0x5ba739,_0x3866bf,_0x5e4816,_0xd084dd,_0x3938b4,_0x392cdd,_0xe952eb,_0x483688,_0x3c7286,_0x20bb7e,_0x57eb78,_0x501a95,_0x4744e8,_0x4d0799,_0x8133b0,_0x12c5a8,_0x407007,_0x4a046d,_0x2da969,_0x37e6f9,_0x435d9b,_0x17acd1,_0x2901fb,_0x4f9fca,_0x5b6947,_0x477f09,_0x15a794,_0x33ee28,_0x5778d2,_0x4c6061,_0x2bd772,_0x5d8f7b,_0x1936db,_0x4ba6e3,_0x3da28c,_0x26d679,_0x273a75,..._0xde226f][_0x41de27(0x167)](_0x4581cc=>this[_0x41de27(0x16f)](this[_0x41de27(0x145)][_0x41de27(0x123)](_0x4581cc))),_0xde226f[_0x41de27(0x167)](_0xa3f465=>{const _0x49c155=_0x41de27;var _0x218542;return(_0x218542=this['_dataSyncPrimaryController'])==null?void 0x0:_0x218542[_0x49c155(0x2fb)](_0xa3f465);});}[_0x4cb5f0(0x44c)](){const _0x2030d6=_0x4cb5f0;this[_0x2030d6(0x278)]&&(this[_0x2030d6(0x16f)](this[_0x2030d6(0x1a6)][_0x2030d6(0x42b)](_0x2f4877[_0x2030d6(0x3d3)][_0x2030d6(0x13a)])[_0x2030d6(0x3a1)](({unit:_0x228ec9})=>{const _0x199687=_0x2030d6;this[_0x199687(0x18c)](_0x228ec9[_0x199687(0x38c)]());})),this['disposeWithMe'](this[_0x2030d6(0x1a6)]['getTypeOfUnitDisposed$'](_0x2f4877[_0x2030d6(0x3d3)][_0x2030d6(0x13a)])[_0x2030d6(0x3a1)](_0x1a89a0=>{const _0x17350d=_0x2030d6;var _0x314e13;(_0x314e13=this['_baseSyncDisposables'][_0x17350d(0x51c)](_0x1a89a0[_0x17350d(0x38c)]()))==null||_0x314e13[_0x17350d(0x171)](),this[_0x17350d(0x283)][_0x17350d(0x515)](_0x1a89a0[_0x17350d(0x38c)]());})));}[_0x4cb5f0(0x18c)](_0x3d3471){const _0x1b89c1=_0x4cb5f0;this[_0x1b89c1(0x278)]&&!this['_baseSyncDisposables']['has'](_0x3d3471)&&this[_0x1b89c1(0x283)][_0x1b89c1(0x411)](_0x3d3471,this[_0x1b89c1(0x278)][_0x1b89c1(0x3e7)](_0x3d3471));}[_0x4cb5f0(0x4d3)](){const _0x116313=_0x4cb5f0;let _0x4ce08a=this['_injector'][_0x116313(0x51c)](_0xe37156);_0x591371()[_0x116313(0x167)](_0x3ee254=>_0x4ce08a[_0x116313(0x37e)](_0x3ee254));let _0xbb6dd=this[_0x116313(0x53e)][_0x116313(0x51c)](_0xaae6dd),_0x239099=this[_0x116313(0x53e)][_0x116313(0x51c)](_0x1d4522);_0x23f861()[_0x116313(0x167)](_0x488cf3=>{const _0x357f0f=_0x116313;_0xbb6dd[_0x357f0f(0x37e)](_0x488cf3),_0x239099[_0x357f0f(0x287)](_0x488cf3);});}};_0x4a5f24(_0x58fc5a,_0x4cb5f0(0x108),_0x4cb5f0(0x45e)),_0x4a5f24(_0x58fc5a,_0x4cb5f0(0x2bf),_0x35c543),_0x4a5f24(_0x58fc5a,_0x4cb5f0(0x18b),_0xee6ecc),_0x4a5f24(_0x58fc5a,_0x4cb5f0(0x3fd),_0x2f4877[_0x4cb5f0(0x3d3)]['UNIVER_BASE']),_0x58fc5a=_0x587eef([(0x0,_0x2f4877[_0x4cb5f0(0x2ae)])(_0x406adb[_0x4cb5f0(0x322)],_0x15af66[_0x4cb5f0(0x1a0)]),_0x101953(0x1,(0x0,_0x2f4877[_0x4cb5f0(0x281)])(_0x2f4877[_0x4cb5f0(0x339)])),_0x101953(0x2,_0x2f4877[_0x4cb5f0(0x47c)]),_0x101953(0x3,_0x2f4877[_0x4cb5f0(0x299)]),_0x101953(0x4,_0x2f4877['IConfigService']),_0x101953(0x5,(0x0,_0x2f4877[_0x4cb5f0(0x55f)])(_0x1ae05e[_0x4cb5f0(0x280)]))],_0x58fc5a);let _0x25cc22=class extends _0x2f4877[_0x4cb5f0(0x3e2)]{constructor(_0x23d8a1=_0x3e6fc0,_0x37f045,_0xc97ce3,_0x38a204,_0x35183f){const _0x60e99a=_0x4cb5f0;super(),this[_0x60e99a(0x2a4)]=_0x23d8a1,this[_0x60e99a(0x53e)]=_0x37f045,this[_0x60e99a(0x145)]=_0xc97ce3,this[_0x60e99a(0x2c1)]=_0x38a204,this[_0x60e99a(0x1a6)]=_0x35183f;let {..._0x1d9208}=(0x0,_0x2f4877['merge'])({},_0x3e6fc0,this[_0x60e99a(0x2a4)]);this[_0x60e99a(0x2c1)][_0x60e99a(0x319)](_0x60e99a(0x332),_0x1d9208),this[_0x60e99a(0x1a6)][_0x60e99a(0x338)](_0x2f4877[_0x60e99a(0x3d3)]['UNIVER_BASE'],_0x2f4877[_0x60e99a(0x2e3)]),[[_0xe37156,{'useClass':_0x2d436a}],[_0x1d4522,{'useClass':_0x105244}]]['forEach'](_0x5a9288=>this[_0x60e99a(0x53e)][_0x60e99a(0x567)](_0x5a9288)),_0xde226f[_0x60e99a(0x167)](_0x444d1a=>this[_0x60e99a(0x16f)](this['_commandService'][_0x60e99a(0x123)](_0x444d1a)));}};_0x4a5f24(_0x25cc22,_0x4cb5f0(0x108),'REMOTE_BASES_PLUGIN'),_0x4a5f24(_0x25cc22,_0x4cb5f0(0x2bf),_0x35c543),_0x4a5f24(_0x25cc22,_0x4cb5f0(0x18b),_0xee6ecc),_0x4a5f24(_0x25cc22,_0x4cb5f0(0x3fd),_0x2f4877[_0x4cb5f0(0x3d3)][_0x4cb5f0(0x13a)]),_0x25cc22=_0x587eef([(0x0,_0x2f4877[_0x4cb5f0(0x2ae)])(_0x406adb[_0x4cb5f0(0x322)],_0x15af66['UniverProFormulaEnginePlugin']),_0x101953(0x1,(0x0,_0x2f4877[_0x4cb5f0(0x281)])(_0x2f4877[_0x4cb5f0(0x339)])),_0x101953(0x2,_0x2f4877[_0x4cb5f0(0x47c)]),_0x101953(0x3,_0x2f4877['IConfigService']),_0x101953(0x4,_0x2f4877[_0x4cb5f0(0x299)])],_0x25cc22);function _0x184df6(_0x1b8d58){const _0x332a8e=_0x4cb5f0;let _0x101424=_0xea1b31(_0x1b8d58[_0x332a8e(0x35c)]);if(!_0x101424)return{'query':'','total':0x0,'matches':[]};let _0x35760f=[],_0x34de9a=[];for(let _0x4d816b=0x0;_0x4d816b<_0x1b8d58[_0x332a8e(0x379)][_0x332a8e(0x40a)];_0x4d816b++){if(!(_0x4d816b in _0x1b8d58[_0x332a8e(0x379)]))continue;let _0x543cde=_0x1b8d58[_0x332a8e(0x31b)][_0x332a8e(0x189)][_0x1b8d58[_0x332a8e(0x379)][_0x4d816b]];_0x543cde&&_0x34de9a[_0x332a8e(0x158)]({'field':_0x543cde,'fieldIndex':_0x4d816b});}_0x1b8d58['rows']['forEach']((_0xba6963,_0x480238)=>{const _0x170a64=_0x332a8e;_0x34de9a[_0x170a64(0x167)](({field:_0x5686dc,fieldIndex:_0x29ffcf})=>{const _0x15ac9d=_0x170a64;let _0x552e22=_0x35f96d(_0xba6963[_0x15ac9d(0x12b)][_0x5686dc['id']],_0x5686dc);if(!_0x552e22)return;let _0x13eb9f=_0x577f27(_0x101424,_0x552e22[_0x15ac9d(0x521)]);_0x13eb9f<=0x0||_0x35760f[_0x15ac9d(0x158)]({'recordId':_0xba6963[_0x15ac9d(0x31f)],'fieldId':_0x5686dc['id'],'fieldType':_0x5686dc[_0x15ac9d(0x3fd)],'text':_0x552e22[_0x15ac9d(0x33f)],'score':_0x13eb9f,'rowIndex':_0x480238,'fieldIndex':_0x29ffcf});});}),_0x35760f[_0x332a8e(0x375)]((_0x233883,_0x2311df)=>_0x2311df['score']-_0x233883['score']||_0x233883['rowIndex']-_0x2311df[_0x332a8e(0x122)]||_0x233883['fieldIndex']-_0x2311df[_0x332a8e(0x2e6)]);let _0x2f2539=_0x1b8d58[_0x332a8e(0x1bb)]==null?_0x35760f:_0x35760f[_0x332a8e(0x3fb)](0x0,Math[_0x332a8e(0x459)](0x0,_0x1b8d58[_0x332a8e(0x1bb)]));return{'query':_0x101424,'total':_0x35760f[_0x332a8e(0x40a)],'matches':_0x5ebcac(_0x2f2539)};}function _0x35f96d(_0x15c296,_0x2abcb7){const _0x54ea7a=_0x4cb5f0;let _0x2363e4=[];for(let _0x93b0cd of _0x2082a2(_0x15c296,_0x2abcb7)){let _0x9e72d3=_0xea1b31(_0x93b0cd);_0x9e72d3&&_0x2363e4[_0x54ea7a(0x158)](_0x9e72d3);}return _0x2363e4[_0x54ea7a(0x40a)]?{'displayText':_0x177325(_0x15c296,_0x2abcb7),'searchTexts':_0x193159(_0x2363e4)}:null;}function _0x177325(_0x1cb10f,_0x17b8d4){const _0x292b6c=_0x4cb5f0;switch(_0x17b8d4[_0x292b6c(0x3fd)]){case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x340)]:case _0x2f4877[_0x292b6c(0x4aa)]['MultiSelect']:case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x1bc)]:return _0x1bc5cb(_0x1cb10f,_0x17b8d4)[_0x292b6c(0x483)](',\x20');case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x3f3)]:return _0x32b14a(_0x1cb10f);case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x14d)]:case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x11d)]:case _0x2f4877[_0x292b6c(0x4aa)]['UpdatedAt']:return _0x231a8e(_0x1cb10f,_0x17b8d4);case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x4ae)]:case _0x2f4877[_0x292b6c(0x4aa)]['Currency']:return _0x47da1c(_0x1cb10f,_0x17b8d4);case _0x2f4877[_0x292b6c(0x4aa)][_0x292b6c(0x235)]:return _0x352286(_0x1cb10f,_0x17b8d4);case _0x2f4877[_0x292b6c(0x4aa)]['Checkbox']:return _0x1cb10f?_0x292b6c(0x23e):_0x292b6c(0x1de);case _0x2f4877['BaseFieldType'][_0x292b6c(0x15c)]:return _0x3df334(_0x1cb10f)[_0x292b6c(0x483)](',\x20');default:return _0x5ee8b8(_0x1cb10f);}}function _0x2082a2(_0x475fd8,_0x264b64){const _0x28fd74=_0x4cb5f0;switch(_0x264b64[_0x28fd74(0x3fd)]){case _0x2f4877['BaseFieldType']['SingleSelect']:case _0x2f4877[_0x28fd74(0x4aa)][_0x28fd74(0x220)]:case _0x2f4877[_0x28fd74(0x4aa)][_0x28fd74(0x1bc)]:{let _0x8cfa2b=_0x1bc5cb(_0x475fd8,_0x264b64);if(Array[_0x28fd74(0x156)](_0x475fd8)){let _0x414482=[..._0x8cfa2b];for(let _0x16f406=0x0;_0x16f406<_0x475fd8[_0x28fd74(0x40a)];_0x16f406++)_0x16f406 in _0x475fd8&&_0x414482['push'](String(_0x475fd8[_0x16f406]));return _0x414482;}return _0x475fd8==null?_0x8cfa2b:[..._0x8cfa2b,String(_0x475fd8)];}case _0x2f4877['BaseFieldType']['Link']:{let _0x470599=_0x1cfa32(_0x475fd8);return[_0x470599[_0x28fd74(0x33c)],_0x470599['url']];}case _0x2f4877['BaseFieldType'][_0x28fd74(0x14d)]:case _0x2f4877[_0x28fd74(0x4aa)]['CreatedAt']:case _0x2f4877['BaseFieldType'][_0x28fd74(0x425)]:return[_0x231a8e(_0x475fd8,_0x264b64),_0x5ee8b8(_0x475fd8)];case _0x2f4877['BaseFieldType'][_0x28fd74(0x4ae)]:case _0x2f4877[_0x28fd74(0x4aa)][_0x28fd74(0x2b5)]:return[_0x47da1c(_0x475fd8,_0x264b64),_0x5ee8b8(_0x475fd8)];case _0x2f4877['BaseFieldType'][_0x28fd74(0x235)]:return[_0x352286(_0x475fd8,_0x264b64),_0x5ee8b8(_0x475fd8)];case _0x2f4877['BaseFieldType'][_0x28fd74(0x29f)]:return _0x475fd8?['Checked',_0x28fd74(0x37a),_0x28fd74(0x457)]:[_0x28fd74(0x1de),'No','False'];case _0x2f4877[_0x28fd74(0x4aa)][_0x28fd74(0x15c)]:return _0x3df334(_0x475fd8);default:return[_0x5ee8b8(_0x475fd8)];}}function _0x1bc5cb(_0x2a65c0,_0x887e83){const _0x17dc81=_0x4cb5f0;var _0x4f6aa8;let _0x2d487b=Array['isArray']((_0x4f6aa8=_0x887e83['config'])==null?void 0x0:_0x4f6aa8[_0x17dc81(0x2db)])?_0x887e83[_0x17dc81(0x40b)][_0x17dc81(0x2db)]:[],_0x2b27ae=[];if(Array['isArray'](_0x2a65c0)){for(let _0x1e2744=0x0;_0x1e2744<_0x2a65c0[_0x17dc81(0x40a)];_0x1e2744++){if(!(_0x1e2744 in _0x2a65c0))continue;let _0x29bbe1=String(_0x2a65c0[_0x1e2744]);_0x29bbe1&&_0x2b27ae[_0x17dc81(0x158)](_0x134113(_0x2d487b,_0x29bbe1));}return _0x2b27ae;}if(_0x2a65c0!=null){let _0x1da650=String(_0x2a65c0);_0x1da650&&_0x2b27ae[_0x17dc81(0x158)](_0x134113(_0x2d487b,_0x1da650));}return _0x2b27ae;}function _0x134113(_0x7aa27f,_0x2f5488){const _0x3cceb9=_0x4cb5f0;for(let _0x45cfc7 of _0x7aa27f){if(typeof _0x45cfc7==_0x3cceb9(0x3ef)&&_0x45cfc7===_0x2f5488)return _0x45cfc7;if(_0x45cfc7&&typeof _0x45cfc7==_0x3cceb9(0x2dc)){let _0x499a10=_0x45cfc7;if(String(_0x499a10['id']??_0x499a10[_0x3cceb9(0x406)]??'')===_0x2f5488||String(_0x499a10[_0x3cceb9(0x406)]??'')===_0x2f5488)return String(_0x499a10['name']??_0x499a10['id']??_0x2f5488);}}return _0x2f5488;}function _0x1cfa32(_0x4ea45b){const _0x56bc2c=_0x4cb5f0;if(_0x4ea45b&&typeof _0x4ea45b==_0x56bc2c(0x2dc)&&!Array[_0x56bc2c(0x156)](_0x4ea45b)){let _0x5146d6=_0x4ea45b;return{'text':String(_0x5146d6[_0x56bc2c(0x33c)]??_0x5146d6['url']??''),'url':String(_0x5146d6[_0x56bc2c(0x1ec)]??'')};}return{'text':_0x5ee8b8(_0x4ea45b),'url':_0x5ee8b8(_0x4ea45b)};}function _0x32b14a(_0x27b49f){const _0x5a3f16=_0x4cb5f0;let _0x4e73b5=_0x1cfa32(_0x27b49f);return _0x4e73b5['text']||_0x4e73b5[_0x5a3f16(0x1ec)];}function _0x231a8e(_0x4128c6,_0x582c04){const _0x1538fb=_0x4cb5f0;return typeof _0x4128c6!=_0x1538fb(0x212)||!Number[_0x1538fb(0x560)](_0x4128c6)?'':_0x5e3482(_0x4128c6,_0x582c04['config']);}function _0x47da1c(_0x2ad2c5,_0x438f3b){const _0x39cb28=_0x4cb5f0;let _0x5c284b=typeof _0x2ad2c5==_0x39cb28(0x212)?_0x2ad2c5:Number(_0x2ad2c5);return Number[_0x39cb28(0x560)](_0x5c284b)?_0x11f486(_0x5c284b,_0x438f3b[_0x39cb28(0x40b)]):'';}function _0x352286(_0x58474b,_0x375730){const _0x7f1ef5=_0x4cb5f0;let _0x272fad=typeof _0x58474b==_0x7f1ef5(0x212)?_0x58474b:Number(_0x58474b);return Number[_0x7f1ef5(0x560)](_0x272fad)?_0x291506(_0x272fad,_0x375730[_0x7f1ef5(0x40b)]):'';}function _0x3df334(_0x1fa08e){const _0x1b0c74=_0x4cb5f0;return Array[_0x1b0c74(0x156)](_0x1fa08e)?_0x1fa08e[_0x1b0c74(0x38f)](_0x2e8566=>{const _0x59eb41=_0x1b0c74;if(!_0x2e8566||typeof _0x2e8566!='object')return[];let _0x36665c=_0x2e8566,_0x554d05=String(_0x36665c['name']??_0x36665c[_0x59eb41(0x1ec)]??'')[_0x59eb41(0x11b)]();return _0x554d05?[_0x554d05]:[];}):[];}function _0x5ee8b8(_0x290749){const _0x152a98=_0x4cb5f0;if(_0x290749==null)return'';if(typeof _0x290749=='boolean')return _0x290749?_0x152a98(0x306):_0x152a98(0x1eb);if(typeof _0x290749=='number')return String(_0x290749);if(Array['isArray'](_0x290749)){let _0x263f1e=[];for(let _0x5d244a=0x0;_0x5d244a<_0x290749[_0x152a98(0x40a)];_0x5d244a++){if(!(_0x5d244a in _0x290749))continue;let _0x42524d=_0x5ee8b8(_0x290749[_0x5d244a]);_0x42524d&&_0x263f1e[_0x152a98(0x158)](_0x42524d);}return _0x263f1e[_0x152a98(0x483)](',\x20');}if(typeof _0x290749==_0x152a98(0x2dc)){let _0x4d1147=_0x290749;return String(_0x4d1147['title']??_0x4d1147[_0x152a98(0x406)]??_0x4d1147['text']??_0x4d1147[_0x152a98(0x1ec)]??'')['trim']();}return String(_0x290749);}function _0x577f27(_0x1efc87,_0x38592c){const _0x4068ba=_0x4cb5f0;let _0x3d85e8=0x0;for(let _0x440947 of _0x38592c)_0x440947&&(_0x440947===_0x1efc87?_0x3d85e8=Math['max'](_0x3d85e8,0x12c):_0x440947[_0x4068ba(0x316)](_0x1efc87)?_0x3d85e8=Math[_0x4068ba(0x459)](_0x3d85e8,0xfa):_0x440947[_0x4068ba(0x47b)](_0x1efc87)&&(_0x3d85e8=Math['max'](_0x3d85e8,0xc8)));return _0x3d85e8;}function _0xea1b31(_0x403b6d){const _0x6c24a=_0x4cb5f0;return _0x403b6d[_0x6c24a(0x11b)]()[_0x6c24a(0x307)](/\s+/g,'\x20')[_0x6c24a(0x4e8)]();}function _0x193159(_0x1eebd4){const _0x37e23d=_0x4cb5f0;return Array[_0x37e23d(0x489)](new Set(_0x1eebd4));}function _0x5ebcac(_0x4e5ac3){const _0xc04337=_0x4cb5f0;let _0x344d80=[];for(let {rowIndex:_0x298882,fieldIndex:_0x2d5295,..._0x35a5c2}of _0x4e5ac3)_0x344d80[_0xc04337(0x158)](_0x35a5c2);return _0x344d80;}function _0x5c10a0(_0x21e2d1){const _0x404278=_0x4cb5f0;return{'compress':!0x0,'kind':_0x404278(0x132),'u':_0x21e2d1[_0x404278(0x395)],'t':_0x21e2d1[_0x404278(0x348)],'p':_0x21e2d1[_0x404278(0x32d)][_0x404278(0x208)](_0x639f0a=>[_0x639f0a[_0x404278(0x405)],_0x639f0a[_0x404278(0x569)],_0x1ece74(_0x639f0a[_0x404278(0x2f3)])]),..._0x21e2d1['trigger']===void 0x0?{}:{'g':_0x21e2d1['trigger']}};}function _0x5cd8c7(_0xbf3c6c){const _0x1969f4=_0x4cb5f0;if(_0x36658a(_0xbf3c6c,'base-range-values-v1'),!_0x33ed7f(_0xbf3c6c)){if(!_0x5da4e2(_0xbf3c6c))throw Error(_0x1969f4(0x414));return _0xbf3c6c;}return{'unitId':_0xbf3c6c['u'],'tableId':_0xbf3c6c['t'],'patches':_0xbf3c6c['p']['map'](([_0x1d6e0a,_0x5ce987,_0x552153])=>({'row':_0x1d6e0a,'col':_0x5ce987,'value':_0x1c0d4b(_0x552153)})),..._0xbf3c6c['g']===void 0x0?{}:{'trigger':_0xbf3c6c['g']}};}function _0x33ed7f(_0x209e60){const _0x1d18ea=_0x4cb5f0;return!_0x4b985d(_0x209e60)||_0x209e60[_0x1d18ea(0x292)]!==!0x0||_0x209e60['kind']!==_0x1d18ea(0x132)?!0x1:typeof _0x209e60['u']==_0x1d18ea(0x3ef)&&typeof _0x209e60['t']=='string'&&(_0x209e60['g']===void 0x0||typeof _0x209e60['g']==_0x1d18ea(0x3ef))&&Array[_0x1d18ea(0x156)](_0x209e60['p'])&&_0x209e60['p']['every'](_0x35b90a=>Array[_0x1d18ea(0x156)](_0x35b90a)&&_0x35b90a[_0x1d18ea(0x40a)]===0x3&&Number[_0x1d18ea(0x50d)](_0x35b90a[0x0])&&Number[_0x1d18ea(0x50d)](_0x35b90a[0x1]));}function _0x1e103c(_0x1651d5){const _0x1bd97b=_0x4cb5f0;return!_0x4b985d(_0x1651d5)||_0x1651d5[_0x1bd97b(0x292)]!==!0x0||_0x1651d5[_0x1bd97b(0x1fb)]!=='base-snapshot-v1'||!_0x4b985d(_0x1651d5[_0x1bd97b(0x1ab)])?!0x1:Object[_0x1bd97b(0x12b)](_0x1651d5[_0x1bd97b(0x1ab)])['every'](_0x3ea2e8=>_0x4b985d(_0x3ea2e8)&&(_0x3ea2e8['cd']===void 0x0||Array['isArray'](_0x3ea2e8['cd'])&&_0x3ea2e8['cd'][_0x1bd97b(0x2fa)](_0x5b4c84=>Array[_0x1bd97b(0x156)](_0x5b4c84)&&_0x5b4c84['length']===0x3&&Number['isInteger'](_0x5b4c84[0x0])&&Number[_0x1bd97b(0x50d)](_0x5b4c84[0x1])&&_0x2665b6(_0x5b4c84[0x2]))));}function _0x1ece74(_0xd90154){return _0x2aa53(_0xd90154)?_0x12992a(_0xd90154):_0xd90154;}function _0x1c0d4b(_0x3a40fc){return _0x2665b6(_0x3a40fc)?_0x2cf95d(_0x3a40fc):_0x3a40fc;}function _0x12992a(_0x546a03){return{'c':0x1,..._0x546a03['v']===void 0x0?{}:{'v':_0x546a03['v']},..._0x546a03['t']!==void 0x0&&_0x546a03['t']!==null?{'t':_0x546a03['t']}:_0x546a03['t']===null?{'t':null}:{},..._0x546a03['f']!==void 0x0&&_0x546a03['f']!==null?{'f':_0x546a03['f']}:_0x546a03['f']===null?{'f':null}:{},..._0x546a03['si']!==void 0x0&&_0x546a03['si']!==null?{'si':_0x546a03['si']}:_0x546a03['si']===null?{'si':null}:{},..._0x546a03['p']!==void 0x0&&_0x546a03['p']!==null?{'p':_0x546a03['p']}:_0x546a03['p']===null?{'p':null}:{}};}function _0x2cf95d(_0x47814a){return{..._0x47814a['v']===void 0x0?{}:{'v':_0x47814a['v']},..._0x47814a['t']===void 0x0?{}:{'t':_0x47814a['t']},..._0x47814a['f']===void 0x0?{}:{'f':_0x47814a['f']},..._0x47814a['si']===void 0x0?{}:{'si':_0x47814a['si']},..._0x47814a['p']===void 0x0?{}:{'p':_0x47814a['p']}};}function _0x2aa53(_0x515ed5){const _0x81a2f5=_0x4cb5f0;return!!_0x515ed5&&typeof _0x515ed5==_0x81a2f5(0x2dc)&&!Array[_0x81a2f5(0x156)](_0x515ed5)&&(Object[_0x81a2f5(0x3f8)]['hasOwnProperty'][_0x81a2f5(0x434)](_0x515ed5,'v')||Object[_0x81a2f5(0x3f8)][_0x81a2f5(0x28c)][_0x81a2f5(0x434)](_0x515ed5,'t')||Object[_0x81a2f5(0x3f8)]['hasOwnProperty']['call'](_0x515ed5,'p')||Object[_0x81a2f5(0x3f8)]['hasOwnProperty'][_0x81a2f5(0x434)](_0x515ed5,'f')||Object['prototype'][_0x81a2f5(0x28c)][_0x81a2f5(0x434)](_0x515ed5,'si'));}function _0x2665b6(_0x1c0ee0){return _0x4b985d(_0x1c0ee0)&&_0x1c0ee0['c']===0x1;}function _0x5da4e2(_0x4b1a7e){const _0x326e1a=_0x4cb5f0;return _0x4b985d(_0x4b1a7e)&&typeof _0x4b1a7e[_0x326e1a(0x395)]==_0x326e1a(0x3ef)&&typeof _0x4b1a7e[_0x326e1a(0x348)]==_0x326e1a(0x3ef)&&(_0x4b1a7e[_0x326e1a(0x1f0)]===void 0x0||typeof _0x4b1a7e['trigger']==_0x326e1a(0x3ef))&&Array[_0x326e1a(0x156)](_0x4b1a7e[_0x326e1a(0x32d)])&&_0x4b1a7e[_0x326e1a(0x32d)][_0x326e1a(0x2fa)](_0x36d0dd=>_0x4b985d(_0x36d0dd)&&Number[_0x326e1a(0x50d)](_0x36d0dd[_0x326e1a(0x405)])&&Number[_0x326e1a(0x50d)](_0x36d0dd[_0x326e1a(0x569)])&&_0x326e1a(0x2f3)in _0x36d0dd);}function _0x36658a(_0x43b287,_0x303163){const _0x5c65b6=_0x4cb5f0;if(_0x4b985d(_0x43b287)&&_0x43b287[_0x5c65b6(0x292)]===!0x0){if(_0x43b287['kind']!==_0x303163)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x43b287['kind'])+'\x22.');if(!(_0x303163==='base-range-values-v1'?_0x33ed7f(_0x43b287):_0x1e103c(_0x43b287)))throw Error(_0x5c65b6(0x3db)+_0x303163+'\x22.');}}function _0x4b985d(_0x5952a1){const _0x4b7dc8=_0x4cb5f0;return!!_0x5952a1&&typeof _0x5952a1==_0x4b7dc8(0x2dc)&&!Array[_0x4b7dc8(0x156)](_0x5952a1);}_0x47ae88[_0x4cb5f0(0x26a)]=_0x1c3b88,_0x47ae88[_0x4cb5f0(0x249)]=_0x7a2d57,_0x47ae88[_0x4cb5f0(0x488)]=0x5,_0x47ae88[_0x4cb5f0(0x407)]=_0x2261b5,_0x47ae88[_0x4cb5f0(0x2d8)]='Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).',_0x47ae88[_0x4cb5f0(0x29a)]=_0x5b8722,_0x47ae88['BaseConditionalColorRuleUpdateType']=_0x445194,_0x47ae88[_0x4cb5f0(0x1a2)]=_0x46b08d,_0x47ae88['BaseFormulaService']=_0xdaf5ba,_0x47ae88[_0x4cb5f0(0x437)]=_0x97cf7a,_0x47ae88[_0x4cb5f0(0x4ca)]=_0x2bd293,_0x47ae88[_0x4cb5f0(0x419)]=_0x3b1952,_0x47ae88[_0x4cb5f0(0x181)]=_0xa877f0,_0x47ae88['BaseJson1OpFactory']=_0x41583f,_0x47ae88[_0x4cb5f0(0x2cb)]=_0x3938b4,_0x47ae88['BatchDeleteBaseRecordsCommand']=_0xe952eb,_0x47ae88[_0x4cb5f0(0x1c5)]=_0x8133b0,_0x47ae88[_0x4cb5f0(0x3a5)]=_0xd084dd,_0x47ae88[_0x4cb5f0(0x165)]=_0x57eb78,_0x47ae88['CreateBaseRecordCommand']=_0x5e4816,_0x47ae88[_0x4cb5f0(0x2ef)]=_0x261b7b,_0x47ae88[_0x4cb5f0(0x542)]=_0x2da969,_0x47ae88['DeleteBaseFieldCommand']=_0x12c5a8,_0x47ae88[_0x4cb5f0(0x141)]=_0x392cdd,_0x47ae88['DeleteBaseTableCommand']=_0x56832e,_0x47ae88['DeleteBaseViewCommand']=_0x2901fb,_0x47ae88[_0x4cb5f0(0x1c1)]=_0x501a95,_0x47ae88[_0x4cb5f0(0x415)]=_0x483688,_0x47ae88[_0x4cb5f0(0x2df)]=_0x313003,_0x47ae88[_0x4cb5f0(0x3d2)]=_0x37e6f9,_0x47ae88[_0x4cb5f0(0x4b4)]=_0x339d0e,_0x47ae88[_0x4cb5f0(0x360)]=_0x38012c,_0x47ae88[_0x4cb5f0(0x38d)]=_0x1d4522,_0x47ae88[_0x4cb5f0(0x41a)]=_0xaae6dd,_0x47ae88['MoveBaseFieldCommand']=_0x407007,_0x47ae88[_0x4cb5f0(0x112)]=_0x20bb7e,_0x47ae88[_0x4cb5f0(0x543)]=_0x4f9fca,_0x47ae88[_0x4cb5f0(0x183)]=_0x39a008,_0x47ae88['RenameBaseViewCommand']=_0x435d9b,_0x47ae88['SetBaseKanbanGroupFieldCommand']=_0x15a794,_0x47ae88['SetBaseNameCommand']=_0x17acd1,_0x47ae88['SetBasePermissionCommand']=_0x33ee28,_0x47ae88['SetBasePermissionRuleMutation']=_0x3716f3,_0x47ae88['SetBasePermissionRulesMutation']=_0x437cf5,_0x47ae88[_0x4cb5f0(0x45f)]=_0x5778d2,_0x47ae88[_0x4cb5f0(0x155)]=_0x3866bf,_0x47ae88[_0x4cb5f0(0x3c6)]=_0x5ba739,_0x47ae88[_0x4cb5f0(0x2ab)]=_0x4ba6e3,_0x47ae88[_0x4cb5f0(0x2fc)]=_0x273a75,_0x47ae88[_0x4cb5f0(0x2f2)]=_0x3da28c,_0x47ae88[_0x4cb5f0(0x50e)]=_0x26d679,_0x47ae88[_0x4cb5f0(0x467)]=_0x2bd772,_0x47ae88['SetBaseViewGroupCommand']=_0x1936db,_0x47ae88[_0x4cb5f0(0x3b7)]=_0x5d8f7b,Object[_0x4cb5f0(0x29c)](_0x47ae88,_0x4cb5f0(0x20b),{'enumerable':!0x0,'get':function(){return _0x58fc5a;}}),Object[_0x4cb5f0(0x29c)](_0x47ae88,_0x4cb5f0(0x48d),{'enumerable':!0x0,'get':function(){return _0x25cc22;}}),_0x47ae88[_0x4cb5f0(0x211)]=_0x5c7138,_0x47ae88[_0x4cb5f0(0x2e8)]=_0x4744e8,_0x47ae88[_0x4cb5f0(0x52a)]=_0x4d0799,_0x47ae88[_0x4cb5f0(0x519)]=_0x4c6061,_0x47ae88[_0x4cb5f0(0x4f9)]=_0x3c7286,_0x47ae88[_0x4cb5f0(0x12d)]=_0x477f09,_0x47ae88[_0x4cb5f0(0x2d2)]=_0x5b6947,_0x47ae88['ValidateBaseFormulaCommand']=_0x4a046d,_0x47ae88[_0x4cb5f0(0x23b)]=_0x53da3c,_0x47ae88[_0x4cb5f0(0x109)]=_0x439c09,_0x47ae88[_0x4cb5f0(0x26c)]=_0xa5a37b,_0x47ae88['canEditBaseTargets']=_0x26f94a,_0x47ae88[_0x4cb5f0(0x36a)]=_0x5c10a0,_0x47ae88[_0x4cb5f0(0x1e6)]=_0x28af37,_0x47ae88[_0x4cb5f0(0x337)]=_0x3001cd,_0x47ae88[_0x4cb5f0(0x1ba)]=_0x389dfa,_0x47ae88[_0x4cb5f0(0x2f6)]=_0x2e8b01,_0x47ae88[_0x4cb5f0(0x54d)]=_0x4509f0,_0x47ae88[_0x4cb5f0(0x1f7)]=_0xbba7f4,_0x47ae88[_0x4cb5f0(0x509)]=_0x4153d3,_0x47ae88[_0x4cb5f0(0x313)]=_0x4504fe,_0x47ae88['decompressBaseRangeValuesPayload']=_0x5cd8c7,_0x47ae88[_0x4cb5f0(0x275)]=_0xbfb56e,_0x47ae88[_0x4cb5f0(0x534)]=_0x52d6e6,_0x47ae88[_0x4cb5f0(0x36c)]=_0x5e3482,_0x47ae88[_0x4cb5f0(0x1aa)]=_0x33bd18,_0x47ae88['formatBaseNumberValue']=_0x11f486,_0x47ae88[_0x4cb5f0(0x46f)]=_0x291506,_0x47ae88[_0x4cb5f0(0x260)]=_0x4bd9df,_0x47ae88[_0x4cb5f0(0x176)]=_0xfaa4dc,_0x47ae88[_0x4cb5f0(0x529)]=_0x5b2a6b,_0x47ae88[_0x4cb5f0(0x160)]=_0x36f8e0,_0x47ae88[_0x4cb5f0(0x320)]=_0x22db72,_0x47ae88[_0x4cb5f0(0x159)]=_0x55babb,Object[_0x4cb5f0(0x29c)](_0x47ae88,_0x4cb5f0(0x40c),{'enumerable':!0x0,'get':function(){const _0x18fffc=_0x4cb5f0;return _0x2f4877[_0x18fffc(0x40c)];}}),_0x47ae88[_0x4cb5f0(0x36d)]=_0x38020a,_0x47ae88[_0x4cb5f0(0x29d)]=_0x283799,_0x47ae88['getBasePermissionValue']=_0x197af7,_0x47ae88[_0x4cb5f0(0x288)]=_0x48e626,_0x47ae88[_0x4cb5f0(0x3c0)]=_0x5de77d,_0x47ae88['getBaseViewPermissionObjectId']=_0x1c7213,_0x47ae88['getRecordLinkFieldConfig']=_0xd65722,_0x47ae88[_0x4cb5f0(0x48f)]=_0x1ceea8,_0x47ae88[_0x4cb5f0(0x45c)]=_0x4bdd86,_0x47ae88[_0x4cb5f0(0x51f)]=_0x90bb9,_0x47ae88[_0x4cb5f0(0x497)]=_0x76edce,_0x47ae88[_0x4cb5f0(0x384)]=_0x472196,_0x47ae88[_0x4cb5f0(0x29b)]=_0x40c621,_0x47ae88[_0x4cb5f0(0x387)]=_0x16b7db,_0x47ae88[_0x4cb5f0(0x14f)]=_0xb12dec,_0x47ae88[_0x4cb5f0(0x3ae)]=_0x33ed7f,_0x47ae88[_0x4cb5f0(0x3c7)]=_0x36efc3,_0x47ae88['normalizeBaseDateFieldConfig']=_0xcd46c9,_0x47ae88[_0x4cb5f0(0x3e0)]=_0x1011b3,_0x47ae88[_0x4cb5f0(0x4b5)]=_0x4871e6,_0x47ae88[_0x4cb5f0(0x2c2)]=_0x37f766,_0x47ae88[_0x4cb5f0(0x3ed)]=_0x1b4055,_0x47ae88[_0x4cb5f0(0x111)]=_0x3ec68c,_0x47ae88['resolveBaseHierarchyFieldId']=_0x595553,_0x47ae88[_0x4cb5f0(0x245)]=_0x71b1fa,_0x47ae88[_0x4cb5f0(0x1a8)]=_0x184df6,_0x47ae88[_0x4cb5f0(0x491)]=_0x1f853d,_0x47ae88[_0x4cb5f0(0x394)]=_0x1f339f,_0x47ae88[_0x4cb5f0(0x20d)]=_0xb8ae93,_0x47ae88[_0x4cb5f0(0x2b7)]=_0x43ac17,_0x47ae88[_0x4cb5f0(0x17c)]=_0x4e4aac,_0x47ae88[_0x4cb5f0(0x30f)]=_0x36af26,_0x47ae88['validateBaseHierarchyRecordPatches']=_0xdc7b72,_0x47ae88['validateBaseTableName']=_0x95fc4a,_0x47ae88[_0x4cb5f0(0x14b)]=_0x44de56,_0x47ae88[_0x4cb5f0(0x49a)]=_0x38bf9d,_0x47ae88[_0x4cb5f0(0x2f8)]=_0x39530c;}));
|
|
1
|
+
function _0x152e(_0xfdc343,_0xea45ae){_0xfdc343=_0xfdc343-0xf1;const _0x385762=_0x3857();let _0x152e19=_0x385762[_0xfdc343];return _0x152e19;}(function(_0x29f3f5,_0x14c245){const _0x1e0f59=_0x152e,_0x1ef839=_0x29f3f5();while(!![]){try{const _0x52dc3b=-parseInt(_0x1e0f59(0x32f))/0x1+-parseInt(_0x1e0f59(0x40a))/0x2*(parseInt(_0x1e0f59(0x50e))/0x3)+-parseInt(_0x1e0f59(0x328))/0x4*(parseInt(_0x1e0f59(0x1ae))/0x5)+-parseInt(_0x1e0f59(0x261))/0x6*(-parseInt(_0x1e0f59(0x244))/0x7)+parseInt(_0x1e0f59(0x2cf))/0x8*(parseInt(_0x1e0f59(0x145))/0x9)+parseInt(_0x1e0f59(0x3a7))/0xa+-parseInt(_0x1e0f59(0x1df))/0xb;if(_0x52dc3b===_0x14c245)break;else _0x1ef839['push'](_0x1ef839['shift']());}catch(_0x4328e8){_0x1ef839['push'](_0x1ef839['shift']());}}}(_0x3857,0x819cf),function(_0x1d655d,_0x3c09fd){const _0x41cb4b=_0x152e;typeof exports==_0x41cb4b(0x434)&&typeof module<'u'?_0x3c09fd(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define=='function'&&define['amd']?define(['exports',_0x41cb4b(0x3f4),_0x41cb4b(0x1d0),_0x41cb4b(0x3a3),_0x41cb4b(0x41b),_0x41cb4b(0x1c9),_0x41cb4b(0x23d)],_0x3c09fd):(_0x1d655d=typeof globalThis<'u'?globalThis:_0x1d655d||self,_0x3c09fd(_0x1d655d['UniverProBases']={},_0x1d655d[_0x41cb4b(0x228)],_0x1d655d[_0x41cb4b(0x303)],_0x1d655d['UniverProtocol'],_0x1d655d[_0x41cb4b(0x382)],_0x1d655d[_0x41cb4b(0x1c4)],_0x1d655d[_0x41cb4b(0x1e8)]));}(this,function(_0x537d9b,_0x552f17,_0x216287,_0x4b2dcb,_0x58c916,_0x15a674,_0x5acaf7){const _0x5b4d61=_0x152e;Object['defineProperty'](_0x537d9b,Symbol[_0x5b4d61(0x4c7)],{'value':'Module'});function _0x423169(_0x4f1439){const _0x30f8bf=_0x5b4d61;let _0x5ec480=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x305)],_0x1c1fbf=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x20a)],_0x13dd8e=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x333)],_0x3ff598=_0x4f1439['config'][_0x30f8bf(0x19b)],_0x59ec1b=_0x4f1439[_0x30f8bf(0x340)][_0x30f8bf(0x102)];return typeof _0x5ec480!=_0x30f8bf(0x525)||!_0x5ec480||typeof _0x1c1fbf!='boolean'||_0x13dd8e!==void 0x0&&(typeof _0x13dd8e!=_0x30f8bf(0x525)||!_0x13dd8e)||_0x59ec1b!==void 0x0&&_0x59ec1b!==_0x552f17[_0x30f8bf(0x548)][_0x30f8bf(0x3d3)]||_0x3ff598!==void 0x0&&(!Array['isArray'](_0x3ff598)||_0x3ff598[_0x30f8bf(0x166)](_0x528224=>typeof _0x528224!=_0x30f8bf(0x525)||!_0x528224)||new Set(_0x3ff598)[_0x30f8bf(0x18d)]!==_0x3ff598[_0x30f8bf(0x46a)])?null:{'targetTableId':_0x5ec480,'multiple':_0x1c1fbf,..._0x13dd8e?{'displayFieldId':_0x13dd8e}:{},..._0x3ff598?{'pickerFieldIds':[..._0x3ff598]}:{},..._0x59ec1b?{'relationRole':_0x59ec1b}:{}};}function _0x17aaa4(_0x478991){const _0x45df9a=_0x5b4d61;return typeof _0x478991!='string'||_0x478991===''?[]:_0x478991[_0x45df9a(0x1a2)](',');}function _0x4be8de(_0xb858f){const _0x1c7fd0=_0x5b4d61;return Array[_0x1c7fd0(0x1c0)](new Set(_0xb858f))[_0x1c7fd0(0x53f)](',');}function _0x54eb47(_0x3eca14,_0x5e7ae0){const _0x10dde5=_0x5b4d61;if(typeof _0x3eca14!=_0x10dde5(0x525))return{'valid':!0x1,'reason':_0x10dde5(0x4b7)};if(_0x3eca14==='')return{'valid':!0x0};let _0x59f56a=_0x3eca14[_0x10dde5(0x1a2)](',');return!_0x5e7ae0&&_0x59f56a[_0x10dde5(0x46a)]>0x1?{'valid':!0x1,'reason':_0x10dde5(0x2ae)}:_0x59f56a[_0x10dde5(0x166)](_0x12e1e7=>!(0x0,_0x552f17[_0x10dde5(0x356)])(_0x12e1e7))||new Set(_0x59f56a)['size']!==_0x59f56a['length']||_0x4be8de(_0x59f56a)!==_0x3eca14?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x4cb157(_0x82ae2f,_0xf5da57){const _0x293426=_0x5b4d61;if(_0xf5da57['type']!==_0x552f17[_0x293426(0x22d)][_0x293426(0x11e)])return{'valid':!0x0};let _0x425273=_0x423169(_0xf5da57),_0x17d0b0=_0x425273?_0x82ae2f['tables'][_0x425273['targetTableId']]:void 0x0;if(!_0x425273||!_0x17d0b0)return{'valid':!0x1,'reason':_0x293426(0x197)};let _0x2ab388=[..._0x425273['displayFieldId']?[_0x425273[_0x293426(0x333)]]:[],..._0x425273[_0x293426(0x19b)]??[]][_0x293426(0x2f8)](_0x4cd946=>{const _0x238dfc=_0x293426;let _0x2134b3=_0x17d0b0[_0x238dfc(0x3ec)][_0x4cd946];return!_0x2134b3||_0x2134b3['system']===!0x0||_0x2134b3[_0x238dfc(0x4cd)]===_0x552f17['BaseFieldType'][_0x238dfc(0x500)];});return _0x2ab388?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x2ab388+_0x293426(0x1e0)}:{'valid':!0x0};}function _0x30ac0c(_0x20efd7,_0x48eb0e,_0x389a2d,_0x165568={}){const _0x23d5a9=_0x5b4d61;let _0x316822=_0x423169(_0x48eb0e);if(_0x48eb0e['type']!==_0x552f17[_0x23d5a9(0x22d)][_0x23d5a9(0x11e)]||!_0x316822)return{'valid':!0x1,'reason':_0x23d5a9(0x22f)};let _0x241679=_0x54eb47(_0x389a2d,_0x316822['multiple']);if(!_0x241679[_0x23d5a9(0x2d9)]||_0x165568[_0x23d5a9(0x417)])return _0x241679;let _0x5e459b=_0x20efd7['tables'][_0x316822[_0x23d5a9(0x305)]];if(!_0x5e459b)return{'valid':!0x1,'reason':_0x23d5a9(0x197)};let _0x4b9ccd=_0x17aaa4(_0x389a2d)[_0x23d5a9(0x2f8)](_0x51a6e2=>!_0x5e459b[_0x23d5a9(0x29e)][_0x51a6e2]);return _0x4b9ccd?{'valid':!0x1,'reason':_0x23d5a9(0x48a)+_0x4b9ccd+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x1497cf(_0x461a4a,_0x26a196){const _0x1c7629=_0x5b4d61;return Object[_0x1c7629(0x4d1)](_0x461a4a[_0x1c7629(0x1e1)])['flatMap'](_0x92294c=>Object[_0x1c7629(0x4d1)](_0x92294c['fields'])['flatMap'](_0x1df983=>{const _0x37ca3b=_0x1c7629;let _0x5d4aba=_0x1df983['type']===_0x552f17[_0x37ca3b(0x22d)][_0x37ca3b(0x11e)]?_0x423169(_0x1df983):null;return(_0x5d4aba==null?void 0x0:_0x5d4aba[_0x37ca3b(0x305)])===_0x26a196?[{'tableId':_0x92294c['id'],'fieldId':_0x1df983['id']}]:[];}));}let _0x25a7f8=_0x5b4d61(0x38a),_0x1af91e=function(_0x1f8dec){const _0x8f2389=_0x5b4d61;return _0x1f8dec[_0x8f2389(0x294)]=_0x8f2389(0x487),_0x1f8dec[_0x8f2389(0x168)]=_0x8f2389(0x2f6),_0x1f8dec[_0x8f2389(0x254)]=_0x8f2389(0x388),_0x1f8dec[_0x8f2389(0x2be)]=_0x8f2389(0x4c9),_0x1f8dec['MaxDepth']=_0x8f2389(0x24e),_0x1f8dec[_0x8f2389(0x3e3)]=_0x8f2389(0x468),_0x1f8dec;}({});var _0x31b592=class extends Error{constructor(_0x12942f,_0x414626=_0x5b4d61(0x4ba)+_0x12942f){const _0x53de18=_0x5b4d61;super(_0x414626),this[_0x53de18(0x4b1)]=_0x12942f,this[_0x53de18(0x288)]='BaseHierarchyError';}};let _0x249608=function(_0x2cb297){const _0x5ced06=_0x5b4d61;return _0x2cb297['UI']='ui',_0x2cb297[_0x5ced06(0x36a)]=_0x5ced06(0x2a6),_0x2cb297['Remote']='remote',_0x2cb297[_0x5ced06(0x4f1)]=_0x5ced06(0x214),_0x2cb297[_0x5ced06(0x14f)]=_0x5ced06(0x392),_0x2cb297[_0x5ced06(0x35b)]=_0x5ced06(0x1e5),_0x2cb297;}({});function _0x288df0(_0x1c1dfd,_0x4135c9){const _0x466b45=_0x5b4d61;if(!_0x4135c9)return!0x1;let _0x1bf96f=_0x1c1dfd['fields'][_0x4135c9];if(!_0x1bf96f||_0x1bf96f[_0x466b45(0x4cd)]!==_0x552f17[_0x466b45(0x22d)][_0x466b45(0x11e)])return!0x1;let _0x1e66bd=_0x423169(_0x1bf96f);return _0x1e66bd?_0x1e66bd['targetTableId']===_0x1c1dfd['id']&&_0x1e66bd[_0x466b45(0x20a)]===!0x1:!0x1;}function _0x37c44a(_0x32550a){const _0x35ac12=_0x5b4d61;return[..._0x32550a[_0x35ac12(0x151)],...Object[_0x35ac12(0x1bd)](_0x32550a['fields'])['filter'](_0x5b6777=>!_0x32550a[_0x35ac12(0x151)][_0x35ac12(0x396)](_0x5b6777))[_0x35ac12(0x3c2)]()][_0x35ac12(0x2f8)](_0x3c1ee3=>{const _0x2b24c6=_0x35ac12;var _0x622717;return _0x288df0(_0x32550a,_0x3c1ee3)?((_0x622717=_0x423169(_0x32550a[_0x2b24c6(0x3ec)][_0x3c1ee3]))==null?void 0x0:_0x622717[_0x2b24c6(0x102)])===_0x552f17['BaseRecordLinkRole']['Parent']:!0x1;})??null;}function _0x5f3470(_0xca7c8e){const _0x3fbfac=_0x5b4d61;let _0x4a5d05=_0x37c44a(_0xca7c8e);if(_0x4a5d05)return _0x4a5d05;let _0xd7f428=_0x25a7f8,_0x36bcd1=0x2;for(;_0xca7c8e[_0x3fbfac(0x3ec)][_0xd7f428];)_0xd7f428=_0x25a7f8+'_'+_0x36bcd1++;return _0xd7f428;}function _0x5797d7(_0x2c41ce,_0x3189d1=_0x5f3470(_0x2c41ce),_0x3cec2d=_0x5b4d61(0x130)){const _0x145fbe=_0x5b4d61;return{'id':_0x3189d1,'name':_0x3cec2d,'type':_0x552f17[_0x145fbe(0x22d)][_0x145fbe(0x11e)],'config':{'targetTableId':_0x2c41ce['id'],'multiple':!0x1,'displayFieldId':_0x2c41ce[_0x145fbe(0x3a1)],'pickerFieldIds':[_0x2c41ce[_0x145fbe(0x3a1)]],'relationRole':_0x552f17['BaseRecordLinkRole'][_0x145fbe(0x3d3)]}};}function _0x168111(_0x146015){let _0x5d3604=_0x37c44a(_0x146015);return _0x5d3604?[_0x5d3604]:[];}function _0x47a364(_0x3346ab,_0x3357da){const _0x221b46=_0x5b4d61;let _0x251387=[..._0x168111(_0x3346ab)]['filter'](_0x386d9c=>_0x3357da[_0x221b46(0x166)](_0x51b1a5=>Object[_0x221b46(0x16e)]['hasOwnProperty'][_0x221b46(0x30e)](_0x51b1a5['values'],_0x386d9c)));if(!_0x251387[_0x221b46(0x46a)])return[];let _0x11e91e={..._0x3346ab[_0x221b46(0x29e)]};_0x3357da['forEach'](_0x4394b6=>{const _0x229011=_0x221b46;let _0x34325b=_0x11e91e[_0x4394b6[_0x229011(0x504)]];_0x34325b&&(_0x11e91e[_0x4394b6[_0x229011(0x504)]]={..._0x34325b,'values':{..._0x34325b['values'],..._0x4394b6[_0x229011(0x4d1)]}});});let _0xe25167={..._0x3346ab,'records':_0x11e91e},_0x495f02=[];return _0x251387['forEach'](_0x3d5910=>{const _0x51d1fe=_0x221b46;let _0x1d03ba=_0x128f1a(_0x3346ab,_0x3d5910),_0x2baf64=_0x128f1a(_0xe25167,_0x3d5910);for(let [_0xc24e8,_0x306676]of _0x2baf64[_0x51d1fe(0x3f5)]){let _0x325a3c=_0x3357da[_0x51d1fe(0x166)](_0x48dcb2=>_0x48dcb2[_0x51d1fe(0x504)]===_0xc24e8&&Object[_0x51d1fe(0x16e)][_0x51d1fe(0x3d8)][_0x51d1fe(0x30e)](_0x48dcb2[_0x51d1fe(0x4d1)],_0x3d5910));if(_0x1d03ba[_0x51d1fe(0x3f5)][_0x51d1fe(0x3a4)](_0xc24e8)!==_0x306676||_0x325a3c)throw new _0x31b592(_0x4d4af5(_0x306676));}_0x3357da[_0x51d1fe(0x116)](_0x9b132=>{const _0x265f49=_0x51d1fe;if(!Object[_0x265f49(0x16e)]['hasOwnProperty'][_0x265f49(0x30e)](_0x9b132[_0x265f49(0x4d1)],_0x3d5910))return;let _0x468f40=_0x1d03ba[_0x265f49(0x378)][_0x265f49(0x3a4)](_0x9b132['recordId'])??null,_0xaba9a1=_0x2baf64['parentByRecordId']['get'](_0x9b132['recordId'])??null;_0x468f40!==_0xaba9a1&&_0x495f02[_0x265f49(0x36c)]({'tableId':_0x3346ab['id'],'fieldId':_0x3d5910,'recordId':_0x9b132[_0x265f49(0x504)],'oldParentRecordId':_0x468f40,'parentRecordId':_0xaba9a1});});}),_0x495f02;}function _0x548acb(_0xccd7a4,_0x273385){const _0x1836ec=_0x5b4d61;let _0x89fd4=_0x273385[_0x1836ec(0x3ab)](_0x2e4385=>_0x2e4385['id']);if(new Set(_0x89fd4)[_0x1836ec(0x18d)]!==_0x89fd4['length']||_0x89fd4[_0x1836ec(0x166)](_0x52e0e3=>_0xccd7a4[_0x1836ec(0x29e)][_0x52e0e3]))return[];let _0x1b5546=_0x168111(_0xccd7a4),_0x429292=_0x1b5546[_0x1836ec(0x46a)]?null:_0x5f3470(_0xccd7a4),_0x4df690=[..._0x1b5546,..._0x429292&&_0x273385['some'](_0xca450f=>Object[_0x1836ec(0x16e)][_0x1836ec(0x3d8)][_0x1836ec(0x30e)](_0xca450f[_0x1836ec(0x4d1)],_0x429292))?[_0x429292]:[]][_0x1836ec(0x30a)](_0x122c3c=>_0x273385[_0x1836ec(0x166)](_0x23e955=>Object['prototype'][_0x1836ec(0x3d8)]['call'](_0x23e955[_0x1836ec(0x4d1)],_0x122c3c)));if(!_0x4df690[_0x1836ec(0x46a)])return[];let _0x1833cf={..._0xccd7a4,'records':{..._0xccd7a4['records'],...Object['fromEntries'](_0x273385[_0x1836ec(0x3ab)](_0x191b92=>[_0x191b92['id'],_0x191b92]))},'recordOrder':[..._0xccd7a4[_0x1836ec(0x52a)]??[],..._0x273385[_0x1836ec(0x3ab)](_0x17362a=>_0x17362a['id'])]},_0xe5fcfa=[];return _0x4df690[_0x1836ec(0x116)](_0x1833bf=>{const _0x3e13a=_0x1836ec;let _0x4b3448=_0x128f1a(_0x1833cf,_0x1833bf);_0x273385[_0x3e13a(0x116)](_0x1f0ca9=>{const _0xeadedf=_0x3e13a;let _0x1f5389=_0x4b3448[_0xeadedf(0x3f5)]['get'](_0x1f0ca9['id']);if(_0x1f5389)throw new _0x31b592(_0x4d4af5(_0x1f5389));let _0x4d84a1=_0x4b3448[_0xeadedf(0x378)][_0xeadedf(0x3a4)](_0x1f0ca9['id'])??null;_0x4d84a1&&_0xe5fcfa[_0xeadedf(0x36c)]({'tableId':_0xccd7a4['id'],'fieldId':_0x1833bf,'recordId':_0x1f0ca9['id'],'oldParentRecordId':null,'parentRecordId':_0x4d84a1});});}),_0xe5fcfa;}function _0x4d4af5(_0x17334d){const _0x5d8310=_0x5b4d61;switch(_0x17334d){case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x1a7)]:return _0x5d8310(0x2f6);case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x254)]:return _0x5d8310(0x388);case _0x552f17[_0x5d8310(0x499)][_0x5d8310(0x2be)]:return _0x5d8310(0x4c9);case _0x552f17[_0x5d8310(0x499)]['MaxDepth']:return _0x5d8310(0x24e);}}function _0x230aed(_0x1dc93c,_0x2427ff){const _0x3b84c0=_0x5b4d61;let _0x354b1a=new Set(_0x2427ff),_0xf2f5cd=_0x168111(_0x1dc93c);return Object[_0x3b84c0(0x4d1)](_0x1dc93c[_0x3b84c0(0x29e)])[_0x3b84c0(0x4a0)](_0x2cbe74=>_0x354b1a[_0x3b84c0(0x1d8)](_0x2cbe74['id'])?[]:Array[_0x3b84c0(0x1c0)](_0xf2f5cd)[_0x3b84c0(0x4a0)](_0x31725d=>{const _0x54a118=_0x3b84c0;let _0x53ed54=_0x17aaa4(_0x2cbe74[_0x54a118(0x4d1)][_0x31725d])[0x0]??null;return _0x53ed54&&_0x354b1a[_0x54a118(0x1d8)](_0x53ed54)?[{'tableId':_0x1dc93c['id'],'fieldId':_0x31725d,'recordId':_0x2cbe74['id'],'oldParentRecordId':_0x53ed54,'parentRecordId':null}]:[];}));}function _0x128f1a(_0x540426,_0x5eb83f,_0x391e55=_0x540426[_0x5b4d61(0x52a)]??Object['keys'](_0x540426[_0x5b4d61(0x29e)])){const _0x390beb=_0x5b4d61;if((_0x540426[_0x390beb(0x3ec)][_0x5eb83f]||_0x5eb83f!==_0x5f3470(_0x540426))&&!_0x288df0(_0x540426,_0x5eb83f))throw Error(_0x390beb(0x1a4)+_0x5eb83f+'\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.');let _0x3b9df2=_0x189b66(_0x540426,_0x391e55),_0x85b00=new Map(),_0x310a6f=new Map();for(let _0x9076ef of _0x3b9df2){var _0xc2aab5;let _0x243137=_0x17aaa4((_0xc2aab5=_0x540426['records'][_0x9076ef])==null?void 0x0:_0xc2aab5[_0x390beb(0x4d1)][_0x5eb83f])[0x0]??null;_0x243137?_0x243137===_0x9076ef?(_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null),_0x310a6f['set'](_0x9076ef,_0x552f17[_0x390beb(0x499)][_0x390beb(0x254)])):_0x540426['records'][_0x243137]?_0x85b00[_0x390beb(0x3e9)](_0x9076ef,_0x243137):(_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null),_0x310a6f[_0x390beb(0x3e9)](_0x9076ef,_0x552f17['BaseHierarchyInvalidReason'][_0x390beb(0x1a7)])):_0x85b00[_0x390beb(0x3e9)](_0x9076ef,null);}_0x1609e4(_0x85b00,_0x310a6f,_0x3b9df2),_0x14fb39(_0x85b00,_0x310a6f,_0x3b9df2);let _0x33afbc=new Map(_0x3b9df2[_0x390beb(0x3ab)]((_0x5069e7,_0x352917)=>[_0x5069e7,_0x352917])),_0x50c3cb=new Map();for(let _0x5d0dc0 of _0x3b9df2){let _0x49976b=_0x85b00[_0x390beb(0x3a4)](_0x5d0dc0)??null,_0x45aa13=_0x50c3cb[_0x390beb(0x3a4)](_0x49976b)??[];_0x45aa13[_0x390beb(0x36c)](_0x5d0dc0),_0x50c3cb[_0x390beb(0x3e9)](_0x49976b,_0x45aa13);}_0x50c3cb[_0x390beb(0x116)](_0x1dd8b0=>_0x1dd8b0['sort']((_0x52fab1,_0x547d0d)=>(_0x33afbc['get'](_0x52fab1)??0x0)-(_0x33afbc[_0x390beb(0x3a4)](_0x547d0d)??0x0)));let _0x51dbd3=_0x50c3cb[_0x390beb(0x3a4)](null)??[],_0x26ca3a=new Map(),_0x346577=new Map(),_0x51a684=[],_0x119151=(_0x3b9ed0,_0x53c11c)=>{const _0x160bc0=_0x390beb;_0x26ca3a[_0x160bc0(0x3e9)](_0x3b9ed0,_0x53c11c),_0x51a684[_0x160bc0(0x36c)](_0x3b9ed0);let _0x43d4ed=0x0;for(let _0x304aac of _0x50c3cb[_0x160bc0(0x3a4)](_0x3b9ed0)??[])_0x43d4ed=Math['max'](_0x43d4ed,0x1+_0x119151(_0x304aac,_0x53c11c+0x1));return _0x346577[_0x160bc0(0x3e9)](_0x3b9ed0,_0x43d4ed),_0x43d4ed;};return _0x51dbd3[_0x390beb(0x116)](_0x379df8=>_0x119151(_0x379df8,0x0)),{'fieldId':_0x5eb83f,'parentByRecordId':_0x85b00,'childrenByParentId':_0x50c3cb,'depthByRecordId':_0x26ca3a,'subtreeHeightByRecordId':_0x346577,'invalidReasonByRecordId':_0x310a6f,'rootRecordIds':_0x51dbd3,'orderedRecordIds':_0x51a684};}function _0x28f5e1(_0x42e528,_0x2486a0,_0x436159=new Set(_0x2486a0[_0x5b4d61(0x3ab)](_0x40e074=>_0x40e074[_0x5b4d61(0x504)]))){const _0x40400f=_0x5b4d61;let _0x415368=new Set(_0x436159);for(let _0x24428d of _0x436159){let _0x25b27c=_0x42e528['parentByRecordId']['get'](_0x24428d)??null;for(;_0x25b27c;)_0x415368[_0x40400f(0x112)](_0x25b27c),_0x25b27c=_0x42e528[_0x40400f(0x378)]['get'](_0x25b27c)??null;}let _0x3772c7=new Map(_0x2486a0[_0x40400f(0x3ab)](_0x2c687e=>[_0x2c687e[_0x40400f(0x504)],_0x2c687e])),_0x55c670=_0x42e528['orderedRecordIds'][_0x40400f(0x30a)](_0xdc207f=>_0x415368[_0x40400f(0x1d8)](_0xdc207f)),_0x352d52=_0x55c670[_0x40400f(0x4a0)](_0x32eb0e=>{const _0x2fba01=_0x40400f;let _0x34f0b9=_0x3772c7[_0x2fba01(0x3a4)](_0x32eb0e);return _0x34f0b9?[_0x34f0b9]:[];}),_0x27e68a={};for(let _0x4a63cc=0x0;_0x4a63cc<_0x55c670[_0x40400f(0x46a)];_0x4a63cc++){let _0xf82473=_0x55c670[_0x4a63cc];_0x27e68a[_0xf82473]={'recordId':_0xf82473,'parentRecordId':_0x42e528[_0x40400f(0x378)][_0x40400f(0x3a4)](_0xf82473)??null,'depth':_0x42e528[_0x40400f(0x3d1)]['get'](_0xf82473)??0x0,'directChildCount':(_0x42e528[_0x40400f(0x53e)]['get'](_0xf82473)??[])[_0x40400f(0x46a)],'subtreeHeight':_0x42e528[_0x40400f(0x13a)][_0x40400f(0x3a4)](_0xf82473)??0x0,'subtreeEndIndex':_0x4a63cc,'invalidReason':_0x42e528['invalidReasonByRecordId'][_0x40400f(0x3a4)](_0xf82473)};}let _0x304a45=[];for(let _0x201bee=0x0;_0x201bee<_0x55c670[_0x40400f(0x46a)];_0x201bee++){let _0x4f9159=_0x55c670[_0x201bee],_0x22a792=_0x27e68a[_0x4f9159][_0x40400f(0x176)];for(;_0x304a45[_0x40400f(0x46a)]&&_0x304a45[_0x304a45[_0x40400f(0x46a)]-0x1]['depth']>=_0x22a792;){let _0x5c5502=_0x304a45[_0x40400f(0x42a)]();_0x27e68a[_0x5c5502[_0x40400f(0x504)]][_0x40400f(0x33c)]=_0x201bee-0x1;}_0x304a45[_0x40400f(0x36c)]({'recordId':_0x4f9159,'depth':_0x22a792});}return _0x304a45[_0x40400f(0x116)](({recordId:_0x51fa51})=>{const _0x2ef753=_0x40400f;_0x27e68a[_0x51fa51][_0x2ef753(0x33c)]=_0x55c670[_0x2ef753(0x46a)]-0x1;}),{'rows':_0x352d52,'hierarchy':{'fieldId':_0x42e528['fieldId'],'rootRecordIds':_0x42e528[_0x40400f(0x209)][_0x40400f(0x30a)](_0x1b6d79=>_0x415368[_0x40400f(0x1d8)](_0x1b6d79)),'orderedRecordIds':_0x55c670,'nodes':_0x27e68a}};}function _0x50555e(_0x2f6392,_0x49ccc3){const _0x354ab9=_0x5b4d61;if(!_0x2f6392[_0x354ab9(0x445)]||!(_0x49ccc3!=null&&_0x49ccc3[_0x354ab9(0x18d)]))return _0x2f6392[_0x354ab9(0x21e)];let _0x22d463=[],_0x13ad02=0x0;for(;_0x13ad02<_0x2f6392[_0x354ab9(0x21e)][_0x354ab9(0x46a)];){let _0x604208=_0x2f6392['rows'][_0x13ad02];_0x22d463[_0x354ab9(0x36c)](_0x604208);let _0x4157ed=_0x2f6392[_0x354ab9(0x445)]['nodes'][_0x604208[_0x354ab9(0x504)]];_0x13ad02=_0x49ccc3[_0x354ab9(0x1d8)](_0x604208[_0x354ab9(0x504)])&&_0x4157ed?_0x4157ed[_0x354ab9(0x33c)]+0x1:_0x13ad02+0x1;}return _0x22d463;}function _0x4bbbbd(_0x4c9130,_0x3e8567,_0x24832d){const _0x4e2a7b=_0x5b4d61;if(!_0x24832d)return{'valid':!0x0};if(_0x3e8567===_0x24832d)return{'valid':!0x1,'reason':_0x552f17[_0x4e2a7b(0x499)]['SelfParent']};let _0x197f17=_0x24832d;for(;_0x197f17;){if(_0x197f17===_0x3e8567)return{'valid':!0x1,'reason':_0x552f17['BaseHierarchyInvalidReason']['Cycle']};_0x197f17=_0x4c9130[_0x4e2a7b(0x378)]['get'](_0x197f17)??null;}return(_0x4c9130[_0x4e2a7b(0x3d1)]['get'](_0x24832d)??0x0)+0x1+(_0x4c9130['subtreeHeightByRecordId'][_0x4e2a7b(0x3a4)](_0x3e8567)??0x0)>=0x5?{'valid':!0x1,'reason':_0x552f17[_0x4e2a7b(0x499)][_0x4e2a7b(0x30c)]}:{'valid':!0x0};}function _0x189b66(_0x26b8da,_0x31b8d6){const _0x913ba9=_0x5b4d61;let _0x27687e=new Set(),_0x57a63b=[];for(let _0x48fb7a of _0x31b8d6)_0x26b8da[_0x913ba9(0x29e)][_0x48fb7a]&&!_0x27687e[_0x913ba9(0x1d8)](_0x48fb7a)&&(_0x27687e['add'](_0x48fb7a),_0x57a63b[_0x913ba9(0x36c)](_0x48fb7a));return Object[_0x913ba9(0x1bd)](_0x26b8da['records'])[_0x913ba9(0x3c2)]()[_0x913ba9(0x116)](_0x582120=>{const _0x22e26=_0x913ba9;_0x27687e[_0x22e26(0x1d8)](_0x582120)||_0x57a63b['push'](_0x582120);}),_0x57a63b;}function _0x1609e4(_0x6a61ce,_0x3d3272,_0x2fed47){const _0x158246=_0x5b4d61;let _0x319ae5=new Set();for(let _0x27bcea of _0x2fed47){if(_0x319ae5['has'](_0x27bcea))continue;let _0x3eab5f=[],_0x466456=new Map(),_0x2a03da=_0x27bcea;for(;_0x2a03da&&!_0x319ae5[_0x158246(0x1d8)](_0x2a03da);){let _0x296666=_0x466456[_0x158246(0x3a4)](_0x2a03da);if(_0x296666!=null){let _0x35abe8=[..._0x3eab5f['slice'](_0x296666)][_0x158246(0x3c2)]()['pop']();_0x6a61ce[_0x158246(0x3e9)](_0x35abe8,null),_0x3d3272[_0x158246(0x3e9)](_0x35abe8,_0x552f17[_0x158246(0x499)][_0x158246(0x2be)]);break;}_0x466456[_0x158246(0x3e9)](_0x2a03da,_0x3eab5f[_0x158246(0x46a)]),_0x3eab5f[_0x158246(0x36c)](_0x2a03da),_0x2a03da=_0x6a61ce['get'](_0x2a03da)??null;}_0x3eab5f[_0x158246(0x116)](_0x40f302=>_0x319ae5[_0x158246(0x112)](_0x40f302));}}function _0x14fb39(_0x4cb500,_0x3dadaf,_0x37159a){const _0x3db236=_0x5b4d61;let _0x5d693a=new Map(),_0x347647=_0x56d834=>{const _0x21bc71=_0x152e;let _0x59ae07=_0x5d693a[_0x21bc71(0x3a4)](_0x56d834);if(_0x59ae07!=null)return _0x59ae07;let _0x329ced=_0x4cb500[_0x21bc71(0x3a4)](_0x56d834)??null;if(!_0x329ced)return _0x5d693a[_0x21bc71(0x3e9)](_0x56d834,0x0),0x0;let _0x4d6e76=_0x347647(_0x329ced)+0x1;return _0x4d6e76>=0x5?(_0x4cb500['set'](_0x56d834,null),_0x3dadaf[_0x21bc71(0x3e9)](_0x56d834,_0x552f17[_0x21bc71(0x499)][_0x21bc71(0x30c)]),_0x5d693a[_0x21bc71(0x3e9)](_0x56d834,0x0),0x0):(_0x5d693a[_0x21bc71(0x3e9)](_0x56d834,_0x4d6e76),_0x4d6e76);};_0x37159a[_0x3db236(0x116)](_0x347647);}let _0x2968c7=0x0;function _0x4937aa(){const _0xb937f3=_0x5b4d61;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x20a34e=typeof location>'u'?'':location[_0xb937f3(0x379)],_0x40f418=new URLSearchParams(_0x20a34e);if(_0x40f418['get'](_0xb937f3(0x346))==='1'||_0x40f418[_0xb937f3(0x3a4)](_0xb937f3(0x346))===_0xb937f3(0x1b5)||_0x40f418['get'](_0xb937f3(0x310))==='1')return!0x0;}catch{}try{let _0x4538d3=typeof localStorage>'u'?null:localStorage['getItem'](_0xb937f3(0x4ac));return _0x4538d3==='1'||_0x4538d3==='true';}catch{return!0x1;}}function _0x44d452(_0x2ddb00,_0x5eeb6e,_0x5ec7fe){const _0x1fe436=_0x5b4d61;if(!_0x4937aa())return _0x5eeb6e();let _0x2d4445=_0x443d1a(),_0xaf615='base-perf-'+_0x2968c7++;_0x1ab273(_0xaf615+_0x1fe436(0x17b));try{return _0x5eeb6e();}finally{let _0x4b1703=_0x443d1a()-_0x2d4445;_0x1ab273(_0xaf615+_0x1fe436(0x327)),_0x334865(_0x2ddb00,_0xaf615+_0x1fe436(0x17b),_0xaf615+':end'),_0x5fc41b(_0x2ddb00,_0x4b1703,_0x5ec7fe);}}function _0x5fc41b(_0x193ae7,_0xc8214f,_0x1901e8){const _0x18c9d5=_0x5b4d61;if(!_0x4937aa())return;let _0x3a4dbf=Math[_0x18c9d5(0x325)](_0xc8214f*0x64)/0x64,_0x51bada=_0x1901e8&&Object[_0x18c9d5(0x1bd)](_0x1901e8)[_0x18c9d5(0x46a)]?'\x20'+JSON[_0x18c9d5(0x306)](_0x1901e8):'';console[_0x18c9d5(0x4b2)](_0x18c9d5(0x429)+_0x193ae7+':\x20'+_0x3a4dbf+'ms'+_0x51bada);}function _0x443d1a(){const _0x3f9748=_0x5b4d61;return typeof performance<'u'&&typeof performance[_0x3f9748(0x1ca)]==_0x3f9748(0x152)?performance[_0x3f9748(0x1ca)]():Date[_0x3f9748(0x1ca)]();}function _0x1ab273(_0x174e92){const _0x32523d=_0x5b4d61;try{if(typeof performance<'u'){var _0x471a8c,_0x547c34;(_0x471a8c=(_0x547c34=performance)[_0x32523d(0x23f)])==null||_0x471a8c['call'](_0x547c34,_0x174e92);}}catch{}}function _0x334865(_0x1126ce,_0x46793a,_0x28b3b2){const _0x243353=_0x5b4d61;try{if(typeof performance<'u'){var _0x4e6e89,_0x28c264;(_0x4e6e89=(_0x28c264=performance)['measure'])==null||_0x4e6e89[_0x243353(0x30e)](_0x28c264,_0x243353(0x429)+_0x1126ce,_0x46793a,_0x28b3b2);}}catch{}}function _0x2c21a9(_0x27387d){const _0x5a0852=_0x5b4d61;var _0x1f774d;return _0x4937aa()?_0x44d452(_0x5a0852(0x43c),()=>_0x2b4562(_0x27387d),{'tableId':_0x27387d['id'],'records':Object[_0x5a0852(0x1bd)](_0x27387d[_0x5a0852(0x29e)]??{})['length'],'fields':_0x27387d[_0x5a0852(0x151)][_0x5a0852(0x46a)],'hasRecordOrder':!!((_0x1f774d=_0x27387d[_0x5a0852(0x52a)])!=null&&_0x1f774d[_0x5a0852(0x46a)])}):_0x2b4562(_0x27387d);}function _0x2b4562(_0x5af67e){const _0x16f371=_0x5b4d61;var _0x4f4662;let _0x2d0c6f=_0x5af67e[_0x16f371(0x29e)]??{},_0x1b28d2=_0x5af67e[_0x16f371(0x3ec)]??{},_0xfee0dd=((_0x4f4662=_0x5af67e['recordOrder'])==null?void 0x0:_0x4f4662[_0x16f371(0x30a)](_0x3fb168=>_0x2d0c6f[_0x3fb168]))??[],_0x2eba94=new Set(_0xfee0dd),_0xd2978e=[];for(let _0x10b241 of Object['values'](_0x2d0c6f))_0x2eba94['has'](_0x10b241['id'])||_0xd2978e[_0x16f371(0x36c)](_0x10b241);let _0x5a75bc=_0xd2978e[_0x16f371(0x46a)]?[..._0xfee0dd,..._0x1fb647(_0xd2978e)]:_0xfee0dd,_0x40019c=_0x5af67e[_0x16f371(0x151)][_0x16f371(0x30a)](_0x2f6f0d=>_0x1b28d2[_0x2f6f0d]),_0xddefef={..._0x5af67e['rowId']??{}},_0x5c47bc={..._0x5af67e['colId']??{}},_0x2d9a8c={..._0x5af67e[_0x16f371(0x4af)]??{}};_0x5af67e[_0x16f371(0x52a)]=_0x5a75bc,_0x5af67e[_0x16f371(0x1a0)]={},_0x5af67e[_0x16f371(0x219)]={},_0x5af67e['colIndex']={},_0x5af67e[_0x16f371(0x43a)]={},_0x5af67e[_0x16f371(0x4af)]={},_0x5af67e[_0x16f371(0x336)]={..._0x5af67e['resources']??{}},_0x5af67e['resources'][_0x16f371(0x399)]={..._0x5af67e[_0x16f371(0x336)][_0x16f371(0x399)]??{}},_0x5af67e[_0x16f371(0x336)][_0x16f371(0x4b0)]={..._0x5af67e[_0x16f371(0x336)][_0x16f371(0x4b0)]??{}};let _0x57f4e5=_0x5af67e[_0x16f371(0x1a0)],_0x4a10fd=_0x5af67e['rowId'],_0xb21929=_0x5af67e[_0x16f371(0x4ee)],_0x1a2b5f=_0x5af67e[_0x16f371(0x43a)],_0x59a7d8=_0x5af67e[_0x16f371(0x4af)];return _0x5a75bc['forEach']((_0x257b50,_0x3b97ff)=>{_0x57f4e5[_0x257b50]=_0x3b97ff,_0x4a10fd[_0x3b97ff]=_0x257b50;}),_0x40019c[_0x16f371(0x116)]((_0x2d02f1,_0x4bee7f)=>{_0xb21929[_0x2d02f1]=_0x4bee7f,_0x1a2b5f[_0x4bee7f]=_0x2d02f1;}),Object[_0x16f371(0x21f)](_0x2d9a8c)['forEach'](([_0x3db924,_0x4880d4])=>{const _0x57408d=_0x16f371;let _0x17148a=Number(_0x3db924),_0x23d33b=_0xddefef[_0x17148a]??_0x5a75bc[_0x17148a],_0x456f27=_0x23d33b?_0x57f4e5[_0x23d33b]:void 0x0;_0x456f27!=null&&(_0x59a7d8[_0x456f27]={..._0x59a7d8[_0x456f27]??{}},Object[_0x57408d(0x21f)](_0x4880d4??{})[_0x57408d(0x116)](([_0x8c5b3a,_0x9f5a4d])=>{let _0x679448=Number(_0x8c5b3a),_0x412600=_0x5c47bc[_0x679448]??_0x40019c[_0x679448],_0xe220a1=_0x412600?_0xb21929[_0x412600]:void 0x0;_0xe220a1!=null&&(_0x59a7d8[_0x456f27][_0xe220a1]=_0x3e4783(_0x9f5a4d));}));}),Object['values'](_0x2d0c6f)[_0x16f371(0x116)](_0x1e22b3=>{const _0x5be2f5=_0x16f371;let _0x2f9804=_0x57f4e5[_0x1e22b3['id']];_0x2f9804!=null&&(_0x1e22b3[_0x5be2f5(0x4d1)]={..._0x1e22b3[_0x5be2f5(0x4d1)]??{},[_0x552f17['BASE_RECORD_ID_FIELD_ID']]:_0x1e22b3['id']},_0x59a7d8[_0x2f9804]={..._0x59a7d8[_0x2f9804]??{},0x0:{'v':_0x1e22b3['id'],'t':_0x552f17[_0x5be2f5(0x393)][_0x5be2f5(0x4e1)]}},Object['entries'](_0x1e22b3['values']??{})[_0x5be2f5(0x116)](([_0x56d6d5,_0x19e5de])=>{const _0x5720c5=_0x5be2f5;let _0x131a01=_0x1b28d2[_0x56d6d5];(_0x131a01==null?void 0x0:_0x131a01['type'])===_0x552f17[_0x5720c5(0x22d)]['Attachment']&&_0x23cce4(_0x5af67e,_0x1e22b3['id'],_0x56d6d5,_0x19e5de);let _0x35a205=_0xb21929[_0x56d6d5];if(_0x35a205==null)return;let _0x345319=_0x59a7d8[_0x2f9804][_0x35a205];(_0x345319==null||_0x4c4b85(_0x345319,_0x131a01,_0x19e5de))&&(_0x59a7d8[_0x2f9804][_0x35a205]=_0x49a97d(_0x19e5de,_0x131a01));}));}),_0x5af67e;}function _0x42c08f(_0x2e46c5,_0x2884fc){const _0x19c529=_0x5b4d61;return _0x2e46c5[_0x19c529(0x29e)]=Object[_0x19c529(0x1b2)](Object[_0x19c529(0x21f)](_0x2e46c5[_0x19c529(0x29e)])['map'](([_0x2b0726,_0x5239ba])=>[_0x2b0726,{..._0x5239ba}])),_0x2c21a9(_0x2e46c5),Object[_0x19c529(0x21f)](_0x2e46c5[_0x19c529(0x219)]??{})[_0x19c529(0x116)](([_0x1c5f7d,_0x1f3162])=>{const _0x75ce1f=_0x19c529;var _0x339196;let _0x3e7e92=Number(_0x1c5f7d),_0x56fd26=_0x2e46c5['records'][_0x1f3162];_0x56fd26&&(_0x56fd26['values']={..._0x56fd26[_0x75ce1f(0x4d1)]??{}},Object['entries'](((_0x339196=_0x2e46c5[_0x75ce1f(0x4af)])==null?void 0x0:_0x339196[_0x3e7e92])??{})[_0x75ce1f(0x116)](([_0x252c10,_0x397343])=>{const _0x48294b=_0x75ce1f;var _0x4ba963;let _0x15c81a=(_0x4ba963=_0x2e46c5[_0x48294b(0x43a)])==null?void 0x0:_0x4ba963[Number(_0x252c10)];_0x15c81a&&_0x2884fc&&!_0x2884fc(_0x1f3162,_0x15c81a)||(_0x15c81a===_0x552f17[_0x48294b(0x316)]?_0x56fd26[_0x48294b(0x4d1)][_0x552f17[_0x48294b(0x316)]]=_0x56fd26['id']:_0x15c81a&&(_0x56fd26[_0x48294b(0x4d1)][_0x15c81a]=_0x30c402(_0x397343,_0x2e46c5[_0x48294b(0x3ec)][_0x15c81a],_0x2e46c5,_0x1f3162)));}));}),_0x2e46c5;}function _0x3ea866(_0x2dc5cd,_0xb06bf0){const _0x15d4bb=_0x5b4d61;for(let {row:_0x29872a,col:_0x5c5b40}of _0xb06bf0){var _0x4d9b1c,_0x28584b,_0x4a3605;let _0x3be550=(_0x4d9b1c=_0x2dc5cd['rowId'])==null?void 0x0:_0x4d9b1c[_0x29872a],_0x1697cd=(_0x28584b=_0x2dc5cd['colId'])==null?void 0x0:_0x28584b[_0x5c5b40],_0x37d0b6=_0x3be550?_0x2dc5cd['records'][_0x3be550]:void 0x0;if(!_0x37d0b6||!_0x1697cd)continue;if(_0x1697cd===_0x552f17[_0x15d4bb(0x316)]){_0x37d0b6['values'][_0x552f17[_0x15d4bb(0x316)]]=_0x37d0b6['id'];continue;}let _0x200394=(_0x4a3605=_0x2dc5cd[_0x15d4bb(0x4af)])==null||(_0x4a3605=_0x4a3605[_0x29872a])==null?void 0x0:_0x4a3605[_0x5c5b40];(_0x200394!=null||Object[_0x15d4bb(0x16e)][_0x15d4bb(0x3d8)][_0x15d4bb(0x30e)](_0x37d0b6[_0x15d4bb(0x4d1)]??{},_0x1697cd))&&(_0x37d0b6['values']={..._0x37d0b6[_0x15d4bb(0x4d1)]??{}},_0x37d0b6['values'][_0x1697cd]=_0x30c402(_0x200394,_0x2dc5cd[_0x15d4bb(0x3ec)][_0x1697cd],_0x2dc5cd,_0x3be550));}return _0x2dc5cd;}function _0x201682(_0x4c615d,_0x4e9994,_0x5b3eee){const _0xff89c0=_0x5b4d61;var _0x10054a,_0x59d9ec,_0x8e43b7,_0x23acc9,_0xbe6d9c,_0x4ac5e2;let _0x14777b=(_0x10054a=_0x4c615d[_0xff89c0(0x1a0)])==null?void 0x0:_0x10054a[_0x4e9994],_0x26f756=(_0x59d9ec=_0x4c615d[_0xff89c0(0x4ee)])==null?void 0x0:_0x59d9ec[_0x5b3eee];if(_0x14777b!=null&&_0x26f756!=null&&((_0x8e43b7=_0x4c615d['rowId'])==null?void 0x0:_0x8e43b7[_0x14777b])===_0x4e9994&&((_0x23acc9=_0x4c615d[_0xff89c0(0x43a)])==null?void 0x0:_0x23acc9[_0x26f756])===_0x5b3eee)return{'row':_0x14777b,'col':_0x26f756};let _0x309f04=_0x2c21a9(_0x4c615d),_0x4311ad=(_0xbe6d9c=_0x309f04['rowIndex'])==null?void 0x0:_0xbe6d9c[_0x4e9994],_0x252c30=(_0x4ac5e2=_0x309f04[_0xff89c0(0x4ee)])==null?void 0x0:_0x4ac5e2[_0x5b3eee];return _0x4311ad==null||_0x252c30==null?null:{'row':_0x4311ad,'col':_0x252c30};}function _0x3d3ef8(_0x52e41e,_0x7c9425,_0x48fa69){const _0x11eab6=_0x5b4d61;var _0x2ff287;let _0x27a112=_0x201682(_0x52e41e,_0x7c9425,_0x48fa69);if(_0x27a112)return(_0x2ff287=_0x52e41e[_0x11eab6(0x4af)])==null||(_0x2ff287=_0x2ff287[_0x27a112[_0x11eab6(0x4d6)]])==null?void 0x0:_0x2ff287[_0x27a112[_0x11eab6(0x1a1)]];}function _0x3b09d7(_0x2c9633,_0x156b93,_0x5ebd8e){const _0x5c98fa=_0x5b4d61;var _0x2edb60;let _0x57a292=_0x3d3ef8(_0x2c9633,_0x156b93,_0x5ebd8e),_0x5f35ef=_0x2c9633[_0x5c98fa(0x3ec)][_0x5ebd8e];if((_0x5f35ef==null?void 0x0:_0x5f35ef[_0x5c98fa(0x4cd)])===_0x552f17[_0x5c98fa(0x22d)][_0x5c98fa(0x3a6)]){var _0xeccb37;return _0x426334(_0x2c9633,_0x156b93,_0x5ebd8e)??_0x1f16ff((_0xeccb37=_0x2c9633['records'][_0x156b93])==null||(_0xeccb37=_0xeccb37[_0x5c98fa(0x4d1)])==null?void 0x0:_0xeccb37[_0x5ebd8e]);}if(_0x1a5f0b(_0x5f35ef)||_0x186aaa(_0x5f35ef)||(_0x5f35ef==null?void 0x0:_0x5f35ef[_0x5c98fa(0x4cd)])===_0x552f17[_0x5c98fa(0x22d)]['Link']){var _0x87acd4;let _0x2a3740=(_0x87acd4=_0x2c9633['records'][_0x156b93])==null||(_0x87acd4=_0x87acd4[_0x5c98fa(0x4d1)])==null?void 0x0:_0x87acd4[_0x5ebd8e];return _0x2a3740!=null&&_0x2a3740!==''?_0x41ed24(_0x2a3740,_0x5f35ef):_0x30c402(_0x57a292,_0x5f35ef,_0x2c9633,_0x156b93);}return _0x57a292&&Object[_0x5c98fa(0x16e)]['hasOwnProperty']['call'](_0x57a292,'v')?_0x57a292['v']??null:((_0x2edb60=_0x2c9633[_0x5c98fa(0x29e)][_0x156b93])==null||(_0x2edb60=_0x2edb60[_0x5c98fa(0x4d1)])==null?void 0x0:_0x2edb60[_0x5ebd8e])??null;}function _0x43fef4(_0x5706b2,_0x5afb5a,_0x5f27ec){const _0x3b9f57=_0x5b4d61;var _0x18921e;let _0xfc401b=_0x3d3ef8(_0x5706b2,_0x5afb5a,_0x5f27ec);if(_0xfc401b&&Object[_0x3b9f57(0x16e)][_0x3b9f57(0x3d8)][_0x3b9f57(0x30e)](_0xfc401b,'v'))return _0xfc401b['v']??null;let _0xfe5d9f=_0x5706b2[_0x3b9f57(0x3ec)][_0x5f27ec];return _0x49a97d(((_0x18921e=_0x5706b2[_0x3b9f57(0x29e)][_0x5afb5a])==null||(_0x18921e=_0x18921e[_0x3b9f57(0x4d1)])==null?void 0x0:_0x18921e[_0x5f27ec])??null,_0xfe5d9f)['v']??null;}function _0x49a97d(_0x5b0868,_0x4a6750){const _0x2354a3=_0x5b4d61;if(_0x1a3c21(_0x5b0868))return(_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3a6)]?{..._0x5b0868,'v':'','t':_0x552f17[_0x2354a3(0x393)][_0x2354a3(0x4e1)]}:_0x3e4783(_0x5b0868);if((_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3a6)])return{'v':'','t':_0x552f17[_0x2354a3(0x393)][_0x2354a3(0x4e1)]};if(_0x186aaa(_0x4a6750)){let _0x462410=_0x1f2c53(_0x5b0868);return{'v':_0x462410,'t':_0x52cd6e(_0x462410)};}if(_0x1a5f0b(_0x4a6750))return{'v':_0x1600af(_0x5b0868)[_0x2354a3(0x53f)](',\x20'),'t':_0x552f17['CellValueType'][_0x2354a3(0x4e1)]};if((_0x4a6750==null?void 0x0:_0x4a6750[_0x2354a3(0x4cd)])===_0x552f17[_0x2354a3(0x22d)][_0x2354a3(0x3f2)]&&_0x5b0868&&typeof _0x5b0868==_0x2354a3(0x434)&&!Array[_0x2354a3(0x3bc)](_0x5b0868)){let _0x1cc0fc=_0x5b0868;return{'v':String(_0x1cc0fc['text']??_0x1cc0fc[_0x2354a3(0x156)]??''),'t':_0x552f17['CellValueType'][_0x2354a3(0x4e1)]};}return _0x5b0868===null||typeof _0x5b0868==_0x2354a3(0x525)||typeof _0x5b0868==_0x2354a3(0x544)||typeof _0x5b0868==_0x2354a3(0x10b)?{'v':_0x5b0868,'t':_0x52cd6e(_0x5b0868)}:{'v':null,'t':null};}function _0x3e4783(_0x1df501){let _0x3e3c41=_0x188309(_0x1df501['t'],_0x1df501['v']);if(_0x3e3c41===void 0x0){let {t:_0x16f2e7,..._0x4993a9}=_0x1df501;return _0x4993a9;}return{..._0x1df501,'t':_0x3e3c41};}function _0x30c402(_0xd53530,_0x1f6f22,_0x3755f3,_0x4555ee){const _0x1c8755=_0x5b4d61;if(!_0xd53530)return null;if((_0x1f6f22==null?void 0x0:_0x1f6f22[_0x1c8755(0x4cd)])===_0x552f17['BaseFieldType'][_0x1c8755(0x3a6)])return _0x3755f3&&_0x4555ee?_0x426334(_0x3755f3,_0x4555ee,_0x1f6f22['id'])??[]:[];if(_0x1a5f0b(_0x1f6f22))return _0x1600af(_0xd53530['v']);if((_0x1f6f22==null?void 0x0:_0x1f6f22['type'])===_0x552f17[_0x1c8755(0x22d)][_0x1c8755(0x3f2)]&&_0x3755f3&&_0x4555ee){var _0x246176;let _0x2b93a9=(_0x246176=_0x3755f3['records'][_0x4555ee])==null||(_0x246176=_0x246176[_0x1c8755(0x4d1)])==null?void 0x0:_0x246176[_0x1f6f22['id']];if(_0x2b93a9&&typeof _0x2b93a9=='object'&&!Array[_0x1c8755(0x3bc)](_0x2b93a9))return _0x2b93a9;}return Object['prototype'][_0x1c8755(0x3d8)][_0x1c8755(0x30e)](_0xd53530,'v')?_0xd53530['v']??null:null;}function _0x24a127(_0xaaad5a,_0x5d1e31,_0x5ec766,_0x316aeb,_0xe3223a){const _0x5d95a3=_0x5b4d61;return(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17[_0x5d95a3(0x22d)][_0x5d95a3(0x3a6)]?_0x1f16ff(_0xaaad5a):_0x186aaa(_0x5ec766)?_0x1f2c53(_0xaaad5a):_0x1a5f0b(_0x5ec766)?_0x1600af(_0xaaad5a):(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17[_0x5d95a3(0x22d)][_0x5d95a3(0x3f2)]&&(_0xaaad5a==null||_0xaaad5a==='')?null:(_0x5ec766==null?void 0x0:_0x5ec766[_0x5d95a3(0x4cd)])===_0x552f17['BaseFieldType'][_0x5d95a3(0x3f2)]&&_0xaaad5a&&typeof _0xaaad5a=='object'&&!Array[_0x5d95a3(0x3bc)](_0xaaad5a)&&!_0x1a3c21(_0xaaad5a)?_0xaaad5a:_0x30c402(_0x5d1e31,_0x5ec766,_0x316aeb,_0xe3223a);}function _0x1a3c21(_0x15c85a){const _0xd89c81=_0x5b4d61;return!!_0x15c85a&&typeof _0x15c85a==_0xd89c81(0x434)&&(Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'v')||Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)]['call'](_0x15c85a,'t')||Object['prototype'][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'p')||Object[_0xd89c81(0x16e)][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'f')||Object['prototype'][_0xd89c81(0x3d8)][_0xd89c81(0x30e)](_0x15c85a,'si'));}function _0x4f2639(_0x3464d4,_0x304624){return _0x3464d4+'\x1f'+_0x304624;}function _0x23cce4(_0x21d21b,_0x35806b,_0x37e962,_0x4d8b6d){const _0x27dd62=_0x5b4d61;let _0x32f041=_0x1f16ff(_0x4d8b6d);_0x21d21b['resources']={..._0x21d21b[_0x27dd62(0x336)]??{}},_0x21d21b[_0x27dd62(0x336)]['attachmentSets']={..._0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x399)]??{}},_0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)]={..._0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)]??{}};let _0xda62f2=_0x4f2639(_0x37e962,_0x35806b),_0x5b4bd6=[];for(let _0x4c7b0c=0x0;_0x4c7b0c<_0x32f041['length'];_0x4c7b0c++){if(!(_0x4c7b0c in _0x32f041))continue;let _0x5080c6=_0x32f041[_0x4c7b0c],_0x45cf98=String(_0x5080c6['id']??_0xda62f2+'\x1f'+_0x4c7b0c),_0x4253f0={..._0x5080c6,'id':_0x45cf98};_0x21d21b[_0x27dd62(0x336)][_0x27dd62(0x4b0)][_0x45cf98]=_0x4253f0,_0x5b4bd6[_0x27dd62(0x36c)](_0x45cf98);}_0x21d21b[_0x27dd62(0x336)]['attachmentSets'][_0xda62f2]=_0x5b4bd6;}function _0x426334(_0x569058,_0x131b0a,_0x2fee90){const _0x5f4bb8=_0x5b4d61;var _0x68c1d5;let _0x39fede=_0x4f2639(_0x2fee90,_0x131b0a),_0x1ed3e3=(_0x68c1d5=_0x569058[_0x5f4bb8(0x336)])==null||(_0x68c1d5=_0x68c1d5[_0x5f4bb8(0x399)])==null?void 0x0:_0x68c1d5[_0x39fede];if(!_0x1ed3e3)return null;let _0x8a8745=[];for(let _0x1ff085=0x0;_0x1ff085<_0x1ed3e3[_0x5f4bb8(0x46a)];_0x1ff085++){var _0x4647ed;if(!(_0x1ff085 in _0x1ed3e3))continue;let _0x2a868f=(_0x4647ed=_0x569058[_0x5f4bb8(0x336)])==null||(_0x4647ed=_0x4647ed[_0x5f4bb8(0x4b0)])==null?void 0x0:_0x4647ed[_0x1ed3e3[_0x1ff085]];_0x2a868f&&_0x8a8745['push']({..._0x2a868f});}return _0x8a8745;}function _0x1f16ff(_0x1b1d41){const _0x473a34=_0x5b4d61;if(_0x1b1d41==null||_0x1b1d41===''||_0x1a3c21(_0x1b1d41)&&!('id'in _0x1b1d41)&&!('name'in _0x1b1d41))return[];let _0x299be9=Array[_0x473a34(0x3bc)](_0x1b1d41)?_0x1b1d41:[_0x1b1d41],_0x145fcd=[];for(let _0x300104=0x0;_0x300104<_0x299be9[_0x473a34(0x46a)];_0x300104++){if(!(_0x300104 in _0x299be9))continue;let _0x314831=_0x299be9[_0x300104],_0x228799=_0x314831&&typeof _0x314831==_0x473a34(0x434)?{..._0x314831}:{'id':'attachment-'+_0x300104,'name':String(_0x314831)};Object[_0x473a34(0x1bd)](_0x228799)[_0x473a34(0x46a)]>0x0&&_0x145fcd[_0x473a34(0x36c)](_0x228799);}return _0x145fcd;}function _0x41ed24(_0x295098,_0x436f44){const _0x5f1457=_0x5b4d61;return(_0x436f44==null?void 0x0:_0x436f44[_0x5f1457(0x4cd)])===_0x552f17[_0x5f1457(0x22d)][_0x5f1457(0x3a6)]?_0x1f16ff(_0x295098):_0x186aaa(_0x436f44)?_0x1f2c53(_0x295098):_0x1a5f0b(_0x436f44)?_0x1600af(_0x295098):_0x295098;}function _0x4c4b85(_0x5fef7e,_0x1dde8a,_0x5caa72){const _0x401dec=_0x5b4d61;return(_0x1dde8a==null?void 0x0:_0x1dde8a['type'])===_0x552f17[_0x401dec(0x22d)]['Attachment']?_0x5fef7e['v']!=='':_0x186aaa(_0x1dde8a)?_0x5fef7e['v']!==_0x1f2c53(_0x5caa72):_0x1a5f0b(_0x1dde8a)?Array[_0x401dec(0x3bc)](_0x5caa72)&&(_0x5fef7e['v']==null||_0x5fef7e['v']===''):!0x1;}function _0x1a5f0b(_0x216175){const _0xea431b=_0x5b4d61;return(_0x216175==null?void 0x0:_0x216175[_0xea431b(0x4cd)])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x51a)]||(_0x216175==null?void 0x0:_0x216175['type'])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x220)]||(_0x216175==null?void 0x0:_0x216175[_0xea431b(0x4cd)])===_0x552f17[_0xea431b(0x22d)][_0xea431b(0x430)]&&_0x216175[_0xea431b(0x340)][_0xea431b(0x4cf)]===!0x0;}function _0x186aaa(_0x3634a8){const _0x972bc4=_0x5b4d61;return(_0x3634a8==null?void 0x0:_0x3634a8['type'])===_0x552f17[_0x972bc4(0x22d)][_0x972bc4(0x430)]&&_0x3634a8[_0x972bc4(0x340)][_0x972bc4(0x4cf)]!==!0x0;}function _0x1f2c53(_0x295d09){let _0x192bd5=_0x1a3c21(_0x295d09)?_0x295d09['v']:_0x295d09,_0x4fe0e9=Array['isArray'](_0x192bd5)?_0x192bd5[0x0]:_0x192bd5;return _0x4fe0e9==null||_0x4fe0e9===''?null:String(_0x4fe0e9);}function _0x1600af(_0x363049){const _0x222f2a=_0x5b4d61;if(_0x363049==null||_0x363049==='')return[];let _0x5a0680=[];if(Array[_0x222f2a(0x3bc)](_0x363049)){for(let _0x216f4d=0x0;_0x216f4d<_0x363049[_0x222f2a(0x46a)];_0x216f4d++){if(!(_0x216f4d in _0x363049))continue;let _0x1fd0d4=_0x5758c5(_0x363049[_0x216f4d]);_0x1fd0d4&&_0x5a0680[_0x222f2a(0x36c)](_0x1fd0d4);}return _0x5a0680;}for(let _0x3d96ec of String(_0x363049)[_0x222f2a(0x1a2)](',')){let _0x1c4d4=_0x3d96ec[_0x222f2a(0x104)]();_0x1c4d4&&_0x5a0680['push'](_0x1c4d4);}return _0x5a0680;}function _0x5758c5(_0x5aaa82){const _0x1a597a=_0x5b4d61;if(_0x5aaa82==null)return'';if(typeof _0x5aaa82==_0x1a597a(0x525)||typeof _0x5aaa82=='number'||typeof _0x5aaa82==_0x1a597a(0x10b))return String(_0x5aaa82);if(typeof _0x5aaa82==_0x1a597a(0x434)){let _0x12e410=_0x5aaa82;return String(_0x12e410['id']??_0x12e410['name']??_0x12e410[_0x1a597a(0x398)]??'');}return String(_0x5aaa82);}function _0x52cd6e(_0x2ae25a){const _0x56537b=_0x5b4d61;return _0x2ae25a==null?null:typeof _0x2ae25a=='number'?_0x552f17[_0x56537b(0x393)][_0x56537b(0x2fe)]:typeof _0x2ae25a=='boolean'?_0x552f17['CellValueType'][_0x56537b(0x486)]:_0x552f17[_0x56537b(0x393)][_0x56537b(0x4e1)];}function _0x1fb647(_0x15e243){const _0x1bf9e8=_0x5b4d61;_0x15e243[_0x1bf9e8(0x3c2)]((_0x1f7b1a,_0x21b810)=>_0x1f7b1a['orderKey'][_0x1bf9e8(0x2f1)](_0x21b810['orderKey']));let _0x16571d=[];for(let _0x4e11a5 of _0x15e243)_0x16571d[_0x1bf9e8(0x36c)](_0x4e11a5['id']);return _0x16571d;}function _0x188309(_0x54e488,_0x547be4){const _0x47f82b=_0x5b4d61;return _0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x4e1)]||_0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x2fe)]||_0x54e488===_0x552f17['CellValueType'][_0x47f82b(0x486)]||_0x54e488===_0x552f17[_0x47f82b(0x393)][_0x47f82b(0x1c2)]||_0x54e488==null?_0x54e488:_0x52cd6e(_0x547be4??null);}function _0x4c4822(_0x17dffa){const _0x3cda92=_0x5b4d61;let _0x806771=null;for(let _0x5f49f8 of _0x17dffa)_0x806771=_0x806771===null?_0x5f49f8:_0x552f17[_0x3cda92(0x4e7)][_0x3cda92(0x4cd)][_0x3cda92(0x283)](_0x806771,_0x5f49f8);return _0x806771;}var _0x600fcd=class _0x1ae533{static[_0x5b4d61(0x367)](_0x20d8ba,_0x40ca9a){const _0x3f90c4=_0x5b4d61;let _0x104089=[];for(let _0x240c30 of _0x40ca9a){let _0xbaa367=_0x29182c(_0x240c30);if(!_0xbaa367||_0xbaa367[_0x3f90c4(0x36f)]!==_0x20d8ba['id'])return null;_0x104089[_0x3f90c4(0x36c)](_0xbaa367['op']);}try{let _0x4a54ae=_0x4c4822(_0x104089);return _0x4a54ae===null?_0x20d8ba:new _0x1ae533()[_0x3f90c4(0x401)](_0x20d8ba,_0x4a54ae);}catch{return null;}}[_0x5b4d61(0x401)](_0x368c30,_0x34c99b){const _0x5951d1=_0x5b4d61;let _0xb4b38=this[_0x5951d1(0x529)](_0x34c99b),_0x34905f=_0x44d452('BaseJson1.cloneForOp',()=>_0x23250e(_0x368c30,_0x34c99b),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x6de44b=_0x44d452(_0x5951d1(0x2df),()=>_0x552f17['JSON1'][_0x5951d1(0x4cd)]['apply'](_0x34905f,_0x34c99b),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x45e137=_0x2eed5c(_0x6de44b,_0xb4b38);return _0x44d452(_0x5951d1(0x533),()=>_0x209365(_0x6de44b,_0xb4b38),{'invalidations':_0xb4b38[_0x5951d1(0x46a)]})?(_0x1f03e2(_0x6de44b,_0x45e137),_0x6de44b):(_0x44d452(_0x5951d1(0x1ed),()=>{const _0x113621=_0x5951d1;this[_0x113621(0x1b9)](_0x6de44b,_0xb4b38)[_0x113621(0x116)](_0x311ffd=>{const _0x40ce5b=_0x113621;let _0x4ca1eb=_0xb4b38[_0x40ce5b(0x30a)](_0x594b58=>_0x594b58[_0x40ce5b(0x111)]===_0x311ffd['id']),_0xda4428=_0x4ca1eb[_0x40ce5b(0x46a)]>0x0&&_0x4ca1eb[_0x40ce5b(0x25e)](_0x2840d7=>_0x2840d7[_0x40ce5b(0x4bb)]==='field'||_0x2840d7['reason']==='view'||_0x2840d7['reason']===_0x40ce5b(0x164)||_0x2840d7[_0x40ce5b(0x4bb)]===_0x40ce5b(0x54f))?new Set(_0x4ca1eb['flatMap'](_0x333d60=>{const _0x251887=_0x40ce5b;var _0x1afa5a;if(_0x333d60[_0x251887(0x4bb)]!==_0x251887(0x420)||!_0x333d60[_0x251887(0x400)])return[];let _0x5d5790=(_0x1afa5a=_0x368c30['tables'][_0x311ffd['id']])==null?void 0x0:_0x1afa5a['fields'][_0x333d60[_0x251887(0x400)]],_0xc1e194=_0x311ffd[_0x251887(0x3ec)][_0x333d60[_0x251887(0x400)]];return(_0x5d5790==null?void 0x0:_0x5d5790[_0x251887(0x4cd)])!==(_0xc1e194==null?void 0x0:_0xc1e194[_0x251887(0x4cd)])||(_0x5d5790==null?void 0x0:_0x5d5790[_0x251887(0x340)][_0x251887(0x4cf)])!==(_0xc1e194==null?void 0x0:_0xc1e194['config'][_0x251887(0x4cf)])?[_0x333d60[_0x251887(0x400)]]:[];})):void 0x0,_0x2a8bc3=new Set(_0x4ca1eb[_0x40ce5b(0x4a0)](_0x2f6bfc=>{const _0x2a60c9=_0x40ce5b;var _0x14e69,_0x2dbef2;return _0x2f6bfc[_0x2a60c9(0x4bb)]!==_0x2a60c9(0x164)||_0x2f6bfc[_0x2a60c9(0x4d6)]==null||_0x2f6bfc['column']==null?[]:[JSON[_0x2a60c9(0x306)]([(_0x14e69=_0x311ffd[_0x2a60c9(0x219)])==null?void 0x0:_0x14e69[_0x2f6bfc['row']],(_0x2dbef2=_0x311ffd[_0x2a60c9(0x43a)])==null?void 0x0:_0x2dbef2[_0x2f6bfc[_0x2a60c9(0x44b)]]])];}));_0x42c08f(_0x311ffd,_0xda4428?(_0x115cba,_0x3e96c3)=>_0xda4428['has'](_0x3e96c3)||_0x2a8bc3[_0x40ce5b(0x1d8)](JSON['stringify']([_0x115cba,_0x3e96c3])):void 0x0);});},{'invalidations':_0xb4b38[_0x5951d1(0x46a)]}),_0x1f03e2(_0x6de44b,_0x45e137),_0x6de44b);}['invertOp'](_0x12b770,_0x462a8b){const _0x25155=_0x5b4d61;return _0x552f17[_0x25155(0x4e7)]['type'][_0x25155(0x292)](_0x462a8b,_0x12b770);}['getAffectedRanges'](_0x237788){const _0x2f1ca6=_0x5b4d61;let _0x3c103f=_0x2db972(_0x237788);return _0x3c103f[_0x2f1ca6(0x46a)]?_0x1ed0c7(_0x3c103f[_0x2f1ca6(0x4a0)](_0x18ef85=>this['getAffectedRanges'](_0x18ef85))):_0x2445cf(_0x237788);}[_0x5b4d61(0x1b9)](_0x5a0af7,_0x513f93){const _0x19386f=_0x5b4d61;let _0x5739da=_0x513f93[_0x19386f(0x30a)](_0x296aae=>_0x296aae[_0x19386f(0x4bb)]!==_0x19386f(0x391));return _0x5739da[_0x19386f(0x46a)]?_0x5739da[_0x19386f(0x166)](_0x489024=>!_0x489024[_0x19386f(0x111)])?Object['values'](_0x5a0af7[_0x19386f(0x1e1)]??{}):Array[_0x19386f(0x1c0)](new Set(_0x5739da[_0x19386f(0x3ab)](_0x3c35a2=>_0x3c35a2[_0x19386f(0x111)])))[_0x19386f(0x4a0)](_0x41abc3=>{var _0x437c92;let _0x184c24=(_0x437c92=_0x5a0af7['tables'])==null?void 0x0:_0x437c92[_0x41abc3];return _0x184c24?[_0x184c24]:[];}):[];}};function _0x29182c(_0x30a976){const _0x41f396=_0x5b4d61;let _0x50f95f=_0x30a976[_0x41f396(0x48c)];return _0x30a976['id']!==_0x41f396(0x3d6)||typeof _0x50f95f!=_0x41f396(0x434)||!_0x50f95f||!(_0x41f396(0x36f)in _0x50f95f)||typeof _0x50f95f[_0x41f396(0x36f)]!=_0x41f396(0x525)||!('op'in _0x50f95f)||!Array[_0x41f396(0x3bc)](_0x50f95f['op'])?null:{'unitId':_0x50f95f['unitId'],'op':_0x50f95f['op']};}function _0x209365(_0x294012,_0xa551df){const _0x2609b7=_0x5b4d61;if(!_0xa551df[_0x2609b7(0x46a)]||_0xa551df[_0x2609b7(0x166)](_0x5a13f4=>_0x5a13f4[_0x2609b7(0x4bb)]!==_0x2609b7(0x164)))return!0x1;let _0xb6359=new Map();for(let _0x4f3ad2 of _0xa551df){if(!_0x4f3ad2['tableId']||_0x4f3ad2[_0x2609b7(0x4d6)]==null||_0x4f3ad2[_0x2609b7(0x44b)]==null)continue;let _0x8fb791=_0xb6359[_0x2609b7(0x3a4)](_0x4f3ad2['tableId'])??[];_0x8fb791['push']({'row':_0x4f3ad2[_0x2609b7(0x4d6)],'col':_0x4f3ad2[_0x2609b7(0x44b)]}),_0xb6359[_0x2609b7(0x3e9)](_0x4f3ad2[_0x2609b7(0x111)],_0x8fb791);}return _0xb6359[_0x2609b7(0x116)]((_0x3ef229,_0x2ab2b2)=>{var _0x48ea64;let _0x114404=(_0x48ea64=_0x294012['tables'])==null?void 0x0:_0x48ea64[_0x2ab2b2];_0x114404&&_0x3ea866(_0x114404,_0x3ef229);}),!0x0;}function _0x2eed5c(_0x513040,_0x16d007){const _0x3cab1e=_0x5b4d61;let _0x3359a2=new Set();return _0x16d007[_0x3cab1e(0x4a0)](_0x41bb70=>{const _0x35990b=_0x3cab1e;var _0x52d5e1;if(!_0x41bb70[_0x35990b(0x111)]||!_0x41bb70[_0x35990b(0x504)]||!_0x41bb70[_0x35990b(0x400)])return[];let _0x3cc31c=_0x41bb70['tableId']+'\x1f'+_0x41bb70[_0x35990b(0x504)]+'\x1f'+_0x41bb70[_0x35990b(0x400)];if(_0x3359a2[_0x35990b(0x1d8)](_0x3cc31c))return[];_0x3359a2[_0x35990b(0x112)](_0x3cc31c);let _0x7ec028=(_0x52d5e1=_0x513040['tables'][_0x41bb70['tableId']])==null||(_0x52d5e1=_0x52d5e1[_0x35990b(0x29e)][_0x41bb70[_0x35990b(0x504)]])==null?void 0x0:_0x52d5e1['values'];return _0x7ec028?[{'tableId':_0x41bb70[_0x35990b(0x111)],'recordId':_0x41bb70[_0x35990b(0x504)],'fieldId':_0x41bb70[_0x35990b(0x400)],'exists':Object[_0x35990b(0x16e)][_0x35990b(0x3d8)]['call'](_0x7ec028,_0x41bb70[_0x35990b(0x400)]),'value':_0x7ec028[_0x41bb70[_0x35990b(0x400)]]}]:[];});}function _0x1f03e2(_0x2cec38,_0x227c59){const _0x597529=_0x5b4d61;_0x227c59[_0x597529(0x116)](_0x1c9249=>{const _0x4aba35=_0x597529;var _0x1c708c;let _0x29cf92=(_0x1c708c=_0x2cec38[_0x4aba35(0x1e1)][_0x1c9249['tableId']])==null||(_0x1c708c=_0x1c708c[_0x4aba35(0x29e)][_0x1c9249['recordId']])==null?void 0x0:_0x1c708c[_0x4aba35(0x4d1)];_0x29cf92&&(_0x1c9249['exists']?_0x29cf92[_0x1c9249[_0x4aba35(0x400)]]=_0x1c9249[_0x4aba35(0x2e2)]:delete _0x29cf92[_0x1c9249[_0x4aba35(0x400)]]);});}function _0x2445cf(_0x2c7ae5){const _0x340255=_0x5b4d61;if(!Array[_0x340255(0x3bc)](_0x2c7ae5)||_0x2c7ae5['length']<0x2)return[{'tableId':'','reason':'unknown'}];let _0x2c00f5=_0x2c7ae5,_0x174d61=_0x2c00f5[_0x340255(0x462)](_0x340255(0x1e1));return _0x174d61===-0x1||typeof _0x2c00f5[_0x174d61+0x1]!='string'?_0x2c00f5[0x0]===_0x340255(0x3ac)?[]:[{'tableId':'','reason':_0x340255(0x2b1)}]:_0x450fd3(_0x2c00f5,_0x174d61,String(_0x2c00f5[_0x174d61+0x1]));}function _0x450fd3(_0xcca8ad,_0x49a2e5,_0x5ce55c){const _0x23cbb5=_0x5b4d61;let _0x37e16a=_0xcca8ad[_0x49a2e5+0x2];return _0x37e16a===_0x23cbb5(0x29e)&&typeof _0xcca8ad[_0x49a2e5+0x3]==_0x23cbb5(0x525)?_0x5f2cf3(_0xcca8ad,_0x49a2e5,_0x5ce55c,String(_0xcca8ad[_0x49a2e5+0x3])):_0x37e16a===_0x23cbb5(0x4af)&&_0xcca8ad[_0x49a2e5+0x3]!=null&&_0xcca8ad[_0x49a2e5+0x4]!=null?[{'tableId':_0x5ce55c,'reason':'cell','row':Number(_0xcca8ad[_0x49a2e5+0x3]),'column':Number(_0xcca8ad[_0x49a2e5+0x4])}]:_0x37e16a===_0x23cbb5(0x3ec)&&typeof _0xcca8ad[_0x49a2e5+0x3]==_0x23cbb5(0x525)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x420),'fieldId':String(_0xcca8ad[_0x49a2e5+0x3])}]:_0x37e16a==='fieldOrder'?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x420)}]:_0x37e16a===_0x23cbb5(0x52a)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x54f)}]:_0x37e16a===_0x23cbb5(0x2ea)&&typeof _0xcca8ad[_0x49a2e5+0x3]=='string'?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x391),'viewId':String(_0xcca8ad[_0x49a2e5+0x3])}]:_0x37e16a===_0x23cbb5(0x4ef)?[{'tableId':_0x5ce55c,'reason':'view'}]:_0x37e16a===_0x23cbb5(0x336)?[{'tableId':_0x5ce55c,'reason':_0x23cbb5(0x164)}]:[{'tableId':_0x5ce55c,'reason':_0x37e16a===void 0x0?'table':_0x23cbb5(0x2b1)}];}function _0x5f2cf3(_0x1f8748,_0x45dd39,_0x2ae609,_0x191db8){const _0x5ad73b=_0x5b4d61;return _0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x4d1)&&typeof _0x1f8748[_0x45dd39+0x5]==_0x5ad73b(0x525)?[{'tableId':_0x2ae609,'reason':'cell','recordId':_0x191db8,'fieldId':String(_0x1f8748[_0x45dd39+0x5])}]:_0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x32d)||_0x1f8748[_0x45dd39+0x4]===_0x5ad73b(0x2e8)?[]:[{'tableId':_0x2ae609,'reason':_0x5ad73b(0x54f),'recordId':_0x191db8}];}function _0x2db972(_0x4cb4c3){const _0x9e94d4=_0x5b4d61;if(!Array[_0x9e94d4(0x3bc)](_0x4cb4c3))return[];let _0x4db9a9=_0x4cb4c3[_0x9e94d4(0x30a)](Array[_0x9e94d4(0x3bc)]);if(_0x4db9a9['length']>0x1&&_0x4db9a9[_0x9e94d4(0x46a)]===_0x4cb4c3[_0x9e94d4(0x46a)])return _0x4db9a9;let _0xd1dfca=_0x4cb4c3[_0x9e94d4(0x1ff)](Array[_0x9e94d4(0x3bc)]);if(_0xd1dfca>0x0&&_0x4cb4c3[_0x9e94d4(0x25d)](_0xd1dfca)[_0x9e94d4(0x25e)](Array[_0x9e94d4(0x3bc)])){let _0x34ced9=_0x4cb4c3[_0x9e94d4(0x25d)](0x0,_0xd1dfca);return _0x4cb4c3[_0x9e94d4(0x25d)](_0xd1dfca)['map'](_0x1fdcd9=>[..._0x34ced9,..._0x1fdcd9]);}let _0x3c5a61=_0x4cb4c3[_0x9e94d4(0x462)](_0x9e94d4(0x1e1));if(_0x3c5a61===-0x1||typeof _0x4cb4c3[_0x3c5a61+0x1]!=_0x9e94d4(0x525))return[];let _0x226c02=String(_0x4cb4c3[_0x3c5a61+0x1]),_0x655d7e=_0x4cb4c3[_0x9e94d4(0x25d)](_0x3c5a61+0x2)[_0x9e94d4(0x30a)](Array[_0x9e94d4(0x3bc)]);return _0x655d7e[_0x9e94d4(0x46a)]<=0x1?[]:_0x655d7e[_0x9e94d4(0x3ab)](_0x3c2c5b=>[_0x9e94d4(0x1e1),_0x226c02,..._0x3c2c5b]);}function _0x1ed0c7(_0x4a6d33){const _0x11959d=_0x5b4d61;let _0x27fefc=new Set();return _0x4a6d33[_0x11959d(0x30a)](_0x3cdb58=>{const _0x29f366=_0x11959d;let _0x441744=JSON[_0x29f366(0x306)](_0x3cdb58);return!_0x27fefc['has'](_0x441744)&&(_0x27fefc['add'](_0x441744),!0x0);});}function _0x47ac74(_0x4770a2){const _0x46ef04=_0x5b4d61;return _0x552f17[_0x46ef04(0x395)][_0x46ef04(0x4bf)](_0x4770a2);}function _0x23250e(_0x46adee,_0x51c71e){const _0xe9417d=_0x5b4d61;let _0x12f637=_0x3f3a24(_0x51c71e);if(!_0x12f637[_0xe9417d(0x46a)])return _0x47ac74(_0x46adee);let _0x1310a3=_0xbc4ab5(_0x46adee),_0x3b11c5=new Set();for(let _0x2556e7 of _0x12f637)_0x4f9eff(_0x1310a3,_0x2556e7,_0x3b11c5);return _0x1310a3;}function _0x3f3a24(_0x2b7783){let _0x5e9fb8=[];return _0x5d846d(_0x2b7783,[],_0x5e9fb8),_0x5e9fb8;}function _0x5d846d(_0x36fecf,_0x2f6785,_0x2f408b){const _0x36686a=_0x5b4d61;if(!Array[_0x36686a(0x3bc)](_0x36fecf))return;let _0x38e10f=[];for(let _0x3e4819 of _0x36fecf)Array[_0x36686a(0x3bc)](_0x3e4819)?_0x5d846d(_0x3e4819,[..._0x2f6785,..._0x38e10f],_0x2f408b):_0x3a9bff(_0x3e4819)?_0x2f408b[_0x36686a(0x36c)]([..._0x2f6785,..._0x38e10f]):(typeof _0x3e4819==_0x36686a(0x525)||typeof _0x3e4819==_0x36686a(0x544))&&_0x38e10f[_0x36686a(0x36c)](_0x3e4819);}function _0x3a9bff(_0x5b2a6f){const _0x50b04e=_0x5b4d61;if(!_0x5b2a6f||typeof _0x5b2a6f!=_0x50b04e(0x434)||Array['isArray'](_0x5b2a6f))return!0x1;let _0x29c569=_0x5b2a6f;return'i'in _0x29c569||'r'in _0x29c569||'p'in _0x29c569||'d'in _0x29c569||'es'in _0x29c569||_0x50b04e(0x200)in _0x29c569||'et'in _0x29c569;}function _0x4f9eff(_0x12239f,_0x3c5bce,_0x4e5440){const _0x2cdecc=_0x5b4d61;let _0xf35609=_0x12239f,_0x537004=[];for(let _0x23fe8e=0x0;_0x23fe8e<_0x3c5bce[_0x2cdecc(0x46a)]-0x1;_0x23fe8e++){let _0x4ade03=_0x3c5bce[_0x23fe8e];_0x537004[_0x2cdecc(0x36c)](_0x4ade03);let _0x8bd996=_0x269110(_0xf35609,_0x4ade03);if(!_0x198016(_0x8bd996))return;let _0x1ad1db=JSON['stringify'](_0x537004);_0x4e5440[_0x2cdecc(0x1d8)](_0x1ad1db)||(_0x23e063(_0xf35609,_0x4ade03,_0xbc4ab5(_0x8bd996)),_0x4e5440['add'](_0x1ad1db));let _0x35aff0=_0x269110(_0xf35609,_0x4ade03);if(!_0x198016(_0x35aff0))return;_0xf35609=_0x35aff0;}}function _0x269110(_0x559810,_0x443556){const _0x5c182d=_0x5b4d61;return Array[_0x5c182d(0x3bc)](_0x559810)?typeof _0x443556=='number'?_0x559810[_0x443556]:void 0x0:Reflect[_0x5c182d(0x3a4)](_0x559810,_0x443556);}function _0x23e063(_0x2bbb65,_0x1f0f69,_0x47c68f){const _0x303650=_0x5b4d61;Array[_0x303650(0x3bc)](_0x2bbb65)?typeof _0x1f0f69=='number'&&(_0x2bbb65[_0x1f0f69]=_0x47c68f):Reflect['set'](_0x2bbb65,_0x1f0f69,_0x47c68f);}function _0x198016(_0x1b4eac){const _0x3ad2ad=_0x5b4d61;return!!_0x1b4eac&&typeof _0x1b4eac==_0x3ad2ad(0x434);}function _0xbc4ab5(_0x1f8aa8){const _0x357706=_0x5b4d61;return Array[_0x357706(0x3bc)](_0x1f8aa8)?_0x1f8aa8[_0x357706(0x25d)]():{..._0x1f8aa8};}let _0x23d106='yyyy/mm/dd',_0x28ec4f=/\s+hh:mm\s*$/i,_0x5d6088={'yyyy/mm/dd':_0x5b4d61(0x23e),'yyyy-mm-dd':_0x5b4d61(0x287),'mm-dd':_0x5b4d61(0x53b),'mm/dd/yyyy':_0x5b4d61(0x2b8),'dd/mm/yyyy':_0x5b4d61(0x150),'mmm\x20d,\x20yyyy':_0x5b4d61(0x555)};function _0x5afbbf(_0x438a6a,_0x22ce46=_0x552f17['DateSystem'][_0x5b4d61(0x2ee)]){const _0x2fb443=_0x5b4d61;let _0x9f6dfd=(0x0,_0x552f17['dateKit'])(_0x438a6a)[_0x2fb443(0x357)]();return(0x0,_0x552f17[_0x2fb443(0x211)])(new Date(_0x9f6dfd),_0x22ce46);}function _0x448575(_0x4e2877,_0x14f7d9=_0x552f17[_0x5b4d61(0x472)][_0x5b4d61(0x2ee)]){const _0x18f111=_0x5b4d61;return(0x0,_0x552f17[_0x18f111(0x351)])(_0x4e2877,_0x14f7d9)[_0x18f111(0x50a)]();}function _0x1b2d78(_0x54fee5,_0x1d2057=_0x552f17['DateSystem'][_0x5b4d61(0x2ee)]){const _0x54611e=_0x5b4d61;if(_0x54fee5==null||_0x54fee5==='')return null;if(_0x54fee5 instanceof Date)return _0x5afbbf(_0x54fee5,_0x1d2057);if(typeof _0x54fee5==_0x54611e(0x544))return Number[_0x54611e(0x326)](_0x54fee5)?_0x54fee5>0xf4240?_0x5afbbf(_0x54fee5,_0x1d2057):_0x54fee5:null;let _0x4c5626=Date[_0x54611e(0x175)](String(_0x54fee5));return Number[_0x54611e(0x501)](_0x4c5626)?null:_0x5afbbf(_0x4c5626,_0x1d2057);}function _0x1c8cf1(_0x1261c0,_0x46d83b=_0x552f17[_0x5b4d61(0x472)]['Date1900']){let _0x479233=_0x1b2d78(_0x1261c0,_0x46d83b);return _0x479233==null?null:_0x448575(_0x479233,_0x46d83b);}function _0x13dba4(_0x258b8d={}){const _0x177b51=_0x5b4d61;let _0x2e30af=String(_0x258b8d[_0x177b51(0x320)]??_0x258b8d[_0x177b51(0x2d0)]??_0x258b8d[_0x177b51(0x2a9)]??_0x23d106)[_0x177b51(0x104)]()||_0x23d106,_0x2ba378=_0x28ec4f['test'](_0x2e30af);return{'pattern':_0x2e30af[_0x177b51(0x394)](_0x28ec4f,'')||_0x23d106,'includeTime':typeof _0x258b8d[_0x177b51(0x1f8)]==_0x177b51(0x10b)?_0x258b8d[_0x177b51(0x1f8)]:_0x2ba378,'hourCycle':_0x258b8d[_0x177b51(0x4a7)]===_0x177b51(0x18e)?_0x177b51(0x18e):'h24'};}function _0x152eb9(_0x5bffe0={}){let {format:_0x3006e5,dateFormat:_0x5d150f,..._0x32fea2}=_0x5bffe0;return{..._0x32fea2,..._0x13dba4(_0x5bffe0)};}function _0x6b809(_0xb89051,_0x97974b={}){const _0x51e797=_0x5b4d61;let _0x3ceae3=_0x1c8cf1(_0xb89051);if(_0x3ceae3==null||!Number[_0x51e797(0x326)](_0x3ceae3))return'';let _0x52147f=_0x13dba4(_0x97974b);return(0x0,_0x552f17[_0x51e797(0x2d7)])(_0x3ceae3)[_0x51e797(0x2d0)](_0x259183(_0x52147f));}function _0x259183(_0x36c2fe){const _0x2c344d=_0x5b4d61;let {pattern:_0x11c665,includeTime:_0x1dcd03,hourCycle:_0x37f200}=_0x36c2fe,_0x4535ab=_0x5d6088[_0x11c665]??_0x5d6088[_0x23d106];return _0x1dcd03?_0x4535ab+'\x20'+(_0x37f200===_0x2c344d(0x18e)?_0x2c344d(0x24b):_0x2c344d(0x1c5)):_0x4535ab;}let _0x1c4863={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x3e441b=new Set([_0x552f17['BaseFieldType'][_0x5b4d61(0x500)]]);function _0x47060d(_0x107944){const _0x4e02c3=_0x5b4d61;switch(_0x107944){case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x439)]:case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x268)]:case _0x552f17['BaseFieldType']['Progress']:case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x2dc)]:return[_0x552f17['BaseConditionalColorOperator']['IS'],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x1b1)],_0x552f17[_0x4e02c3(0x13e)]['LESS_THAN'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x105)],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT_EMPTY']];case _0x552f17['BaseFieldType']['Date']:case _0x552f17['BaseFieldType'][_0x4e02c3(0x435)]:case _0x552f17[_0x4e02c3(0x22d)]['UpdatedAt']:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x2a5)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x4ec)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x105)],_0x552f17['BaseConditionalColorOperator'][_0x4e02c3(0x238)]];case _0x552f17[_0x4e02c3(0x22d)][_0x4e02c3(0x3ad)]:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)]];default:return[_0x552f17[_0x4e02c3(0x13e)]['IS'],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x24a)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x198)],_0x552f17[_0x4e02c3(0x13e)][_0x4e02c3(0x37f)],_0x552f17[_0x4e02c3(0x13e)]['IS_EMPTY'],_0x552f17[_0x4e02c3(0x13e)]['IS_NOT_EMPTY']];}}function _0x4e99f7(_0x4c712c){const _0x15e3c1=_0x5b4d61;return _0x4c712c===_0x552f17[_0x15e3c1(0x22d)][_0x15e3c1(0x522)]||_0x4c712c===_0x552f17[_0x15e3c1(0x22d)][_0x15e3c1(0x435)]||_0x4c712c===_0x552f17[_0x15e3c1(0x22d)]['UpdatedAt'];}function _0x54a581(_0x3b8be6,_0x2e768f){const _0x402709=_0x5b4d61;return _0x3b8be6==null&&_0x2e768f==null?0x0:_0x3b8be6==null?-0x1:_0x2e768f==null?0x1:typeof _0x3b8be6==_0x402709(0x544)&&typeof _0x2e768f=='number'?_0x3b8be6-_0x2e768f:String(_0x3b8be6)[_0x402709(0x2f1)](String(_0x2e768f));}function _0x255362(_0x573164,_0x996c9d,_0x209cdc,_0x41c0a3,_0x28ad58={}){const _0x2654aa=_0x5b4d61;if(_0x996c9d===_0x2654aa(0x199))return _0x29251b(_0x573164);if(_0x996c9d===_0x2654aa(0x443))return!_0x29251b(_0x573164);switch(_0x41c0a3[_0x2654aa(0x4cd)]){case _0x552f17['BaseFieldType'][_0x2654aa(0x439)]:case _0x552f17['BaseFieldType'][_0x2654aa(0x268)]:case _0x552f17['BaseFieldType']['Progress']:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x2dc)]:return _0x200766(_0x573164,_0x996c9d,_0x209cdc);case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x522)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x435)]:case _0x552f17['BaseFieldType'][_0x2654aa(0x373)]:return _0x26547c(_0x573164,_0x996c9d,_0x209cdc,_0x28ad58);case _0x552f17['BaseFieldType'][_0x2654aa(0x3ad)]:return _0x55e279(_0x573164,_0x996c9d,_0x209cdc);case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x38b)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x51a)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x430)]:case _0x552f17[_0x2654aa(0x22d)][_0x2654aa(0x220)]:return _0x588ce5(_0x573164,_0x996c9d,_0x209cdc,_0x41c0a3);default:return _0x517a2a(_0x573164,_0x996c9d,_0x209cdc);}}function _0x29251b(_0x5e1a23){const _0x1c2403=_0x5b4d61;return _0x5e1a23==null?!0x0:Array[_0x1c2403(0x3bc)](_0x5e1a23)?_0x5e1a23[_0x1c2403(0x46a)]===0x0:typeof _0x5e1a23==_0x1c2403(0x525)&&_0x5e1a23['trim']()==='';}function _0x200766(_0x5112b9,_0x3f2077,_0x3b0cd4){const _0x4df856=_0x5b4d61;let _0x55826c=_0x2d569f(_0x5112b9),_0x1a9341=_0x2d569f(_0x3b0cd4);if(_0x55826c==null||_0x1a9341==null)return!0x1;switch(_0x3f2077){case'is':return _0x55826c===_0x1a9341;case _0x4df856(0xf9):return _0x55826c!==_0x1a9341;case _0x4df856(0x4f6):return _0x55826c>_0x1a9341;case _0x4df856(0x1ac):return _0x55826c>=_0x1a9341;case _0x4df856(0x18a):return _0x55826c<_0x1a9341;case _0x4df856(0x2b4):return _0x55826c<=_0x1a9341;default:return!0x1;}}function _0x2d569f(_0x50b1d1){const _0x4493e2=_0x5b4d61;if(_0x50b1d1==null||_0x50b1d1==='')return null;let _0x13d3e6=Number(_0x50b1d1);return Number[_0x4493e2(0x326)](_0x13d3e6)?_0x13d3e6:null;}function _0x26547c(_0x1217c1,_0x33eb11,_0x497139,_0x3a0296){const _0x3e2f21=_0x5b4d61;let _0x59af2d=_0x110a4f(_0x1217c1);if(_0x59af2d==null)return!0x1;let _0x51bfee=_0x3b2aa4(_0x3a0296[_0x3e2f21(0x1b4)]??_0x552f17['BaseConditionalDateMode'][_0x3e2f21(0x3a5)],_0x497139,_0x3a0296[_0x3e2f21(0x1ca)]);if(!_0x51bfee)return!0x1;switch(_0x33eb11){case _0x552f17['BaseConditionalColorOperator']['IS']:return _0x59af2d>=_0x51bfee[_0x3e2f21(0x143)]&&_0x59af2d<=_0x51bfee[_0x3e2f21(0x1fd)];case _0x552f17['BaseConditionalColorOperator'][_0x3e2f21(0x24a)]:return _0x59af2d<_0x51bfee[_0x3e2f21(0x143)]||_0x59af2d>_0x51bfee[_0x3e2f21(0x1fd)];case _0x552f17[_0x3e2f21(0x13e)]['BEFORE']:return _0x59af2d<_0x51bfee[_0x3e2f21(0x143)];case _0x552f17['BaseConditionalColorOperator'][_0x3e2f21(0x4ec)]:return _0x59af2d>_0x51bfee[_0x3e2f21(0x1fd)];default:return!0x1;}}function _0x3b2aa4(_0x24be94,_0x388d17,_0x4dbb75=Date['now']()){const _0x12f1a7=_0x5b4d61;let _0x2d37b0=_0x57dfcf(_0x4dbb75);switch(_0x24be94){case _0x552f17['BaseConditionalDateMode']['EXACT']:{let _0xe48f68=_0x110a4f(_0x388d17);return _0xe48f68==null?null:_0x3ffeaa(_0xe48f68,0x0,0x1);}case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x1b7)]:return _0x3ffeaa(_0x2d37b0,0x0,0x1);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x464)]:return _0x3ffeaa(_0x2d37b0,0x1,0x1);case _0x552f17['BaseConditionalDateMode']['YESTERDAY']:return _0x3ffeaa(_0x2d37b0,-0x1,0x1);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x1c1)]:return _0x220f08(_0x2d37b0,0x0);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x4d5)]:return _0x220f08(_0x2d37b0,-0x1);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x193)]:return _0x51c3c9(_0x2d37b0,0x0);case _0x552f17[_0x12f1a7(0x295)]['LAST_MONTH']:return _0x51c3c9(_0x2d37b0,-0x1);case _0x552f17[_0x12f1a7(0x295)]['PAST_7_DAYS']:return _0x3ffeaa(_0x2d37b0,-0x6,0x7);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x425)]:return _0x3ffeaa(_0x2d37b0,0x0,0x7);case _0x552f17[_0x12f1a7(0x295)][_0x12f1a7(0x20d)]:return _0x3ffeaa(_0x2d37b0,-0x1d,0x1e);case _0x552f17['BaseConditionalDateMode'][_0x12f1a7(0x494)]:return _0x3ffeaa(_0x2d37b0,0x0,0x1e);}}function _0x110a4f(_0x2f7d9b){let _0x5274b4=_0x1b2d78(_0x2f7d9b);return _0x5274b4==null?null:_0x57dfcf(_0x448575(_0x5274b4));}function _0x57dfcf(_0x2252de){const _0x332784=_0x5b4d61;let _0x2db842=new Date(_0x2252de);return _0x2db842[_0x332784(0x3f1)](0x0,0x0,0x0,0x0),_0x2db842['getTime']();}function _0x220f08(_0x10e20d,_0x13eb6e){const _0x1115b7=_0x5b4d61;return _0x3ffeaa(_0x10e20d,-((new Date(_0x10e20d)[_0x1115b7(0x40f)]()+0x6)%0x7)+_0x13eb6e*0x7,0x7);}function _0x3ffeaa(_0x3c4c56,_0x7f49f7,_0x2cdc28){const _0x429097=_0x5b4d61;let _0x27827b=(0x0,_0x552f17[_0x429097(0x2d7)])(_0x3c4c56)[_0x429097(0x112)](_0x7f49f7,_0x429097(0x407));return{'start':_0x27827b[_0x429097(0x357)](),'end':_0x27827b[_0x429097(0x112)](_0x2cdc28,'day')[_0x429097(0x357)]()-0x1};}function _0x51c3c9(_0x55a2e9,_0x4d56f5){const _0x2764ef=_0x5b4d61;let _0x154be9=new Date(_0x55a2e9),_0x584229=new Date(_0x154be9['getFullYear'](),_0x154be9[_0x2764ef(0x453)]()+_0x4d56f5,0x1),_0x657af4=new Date(_0x154be9['getFullYear'](),_0x154be9['getMonth']()+_0x4d56f5+0x1,0x1);return{'start':_0x584229[_0x2764ef(0x50a)](),'end':_0x657af4[_0x2764ef(0x50a)]()-0x1};}function _0x55e279(_0x5d6b12,_0x1b2fd9,_0x5f0cd2){let _0x4a86c2=_0x2fe2da(_0x5d6b12),_0x1eb567=_0x2fe2da(_0x5f0cd2);switch(_0x1b2fd9){case'is':return _0x4a86c2===_0x1eb567;case'isNot':return _0x4a86c2!==_0x1eb567;default:return!0x1;}}function _0x2fe2da(_0x372e8f){const _0x578108=_0x5b4d61;return _0x372e8f===!0x0||_0x372e8f===_0x578108(0x1b5)||_0x372e8f===0x1||_0x372e8f==='1';}function _0x588ce5(_0x41b1b6,_0x2120e5,_0x4628f2,_0x1b7839){const _0x562eae=_0x5b4d61;let _0x1aa26a=_0x6f6858(_0x41b1b6,_0x1b7839),_0x39fcf7=_0x6f6858(_0x4628f2,_0x1b7839),_0x3abc02=_0x39fcf7[_0x562eae(0x46a)]>0x0&&_0x39fcf7[_0x562eae(0x166)](_0x50fc7a=>_0x1aa26a[_0x562eae(0x396)](_0x50fc7a));switch(_0x2120e5){case'is':case'contains':return _0x3abc02;case'isNot':case'notContains':return!_0x3abc02;default:return!0x1;}}function _0x517a2a(_0x386bd5,_0x375910,_0x7a424){const _0xa2b1d8=_0x5b4d61;let _0x482257=_0x2407aa(_0x386bd5),_0x469e33=_0x2407aa(_0x7a424);switch(_0x375910){case'is':return _0x482257===_0x469e33;case _0xa2b1d8(0xf9):return _0x482257!==_0x469e33;case _0xa2b1d8(0x25a):return _0x469e33?_0x482257[_0xa2b1d8(0x396)](_0x469e33):!0x1;case _0xa2b1d8(0x37d):return!_0x469e33||!_0x482257['includes'](_0x469e33);default:return!0x1;}}function _0x2407aa(_0x1d55ad){const _0x3172ff=_0x5b4d61;if(Array[_0x3172ff(0x3bc)](_0x1d55ad))return _0x1d55ad['map'](_0x1378dc=>_0x2407aa(_0x1378dc))['join']('\x0a');if(_0x1d55ad&&typeof _0x1d55ad==_0x3172ff(0x434)){let _0x3fb5e8=_0x1d55ad;return String(_0x3fb5e8[_0x3172ff(0x288)]??_0x3fb5e8['label']??_0x3fb5e8[_0x3172ff(0x398)]??_0x3fb5e8[_0x3172ff(0x2e2)]??_0x3fb5e8['id']??'')[_0x3172ff(0x104)]()[_0x3172ff(0x335)]();}return String(_0x1d55ad??'')[_0x3172ff(0x104)]()[_0x3172ff(0x335)]();}function _0x6f6858(_0x3572f9,_0x15f858){const _0x30d60b=_0x5b4d61;let _0x1b6eda=_0x471d2d(_0x3572f9),_0x563a13=_0x418e17(_0x15f858[_0x30d60b(0x340)]??{});return _0x1b6eda['flatMap'](_0x48053f=>_0x563a13['get'](_0x48053f)??[_0x48053f])[_0x30d60b(0x30a)]((_0x27b321,_0x5a4aa6,_0x43bab2)=>_0x27b321!==''&&_0x43bab2[_0x30d60b(0x462)](_0x27b321)===_0x5a4aa6);}function _0x471d2d(_0x1b0828){const _0x871132=_0x5b4d61;if(_0x1b0828==null||_0x1b0828==='')return[];if(Array[_0x871132(0x3bc)](_0x1b0828))return _0x1b0828[_0x871132(0x4a0)](_0x1fb81e=>_0x471d2d(_0x1fb81e));if(_0x1b0828&&typeof _0x1b0828==_0x871132(0x434)){let _0xa287ad=_0x1b0828;return['id',_0x871132(0x288),'label',_0x871132(0x2e2),_0x871132(0x398)][_0x871132(0x4a0)](_0x4bb6d8=>_0x471d2d(_0xa287ad[_0x4bb6d8]))[_0x871132(0x30a)]((_0x1c243a,_0x38b23b,_0x50c56f)=>_0x50c56f[_0x871132(0x462)](_0x1c243a)===_0x38b23b);}return[_0x2407aa(_0x1b0828)];}function _0x418e17(_0x3feca9){const _0x1cd63d=_0x5b4d61;let _0x736600=new Map();return(Array['isArray'](_0x3feca9[_0x1cd63d(0x3ef)])?_0x3feca9['options']:[])[_0x1cd63d(0x116)](_0xbebe99=>{const _0x37a00a=_0x1cd63d;if(!_0xbebe99||typeof _0xbebe99!=_0x37a00a(0x434))return;let _0x4d7b8b=_0x471d2d(_0xbebe99),_0x1ac9ab=_0x4d7b8b[_0x37a00a(0x30a)]((_0x57b24d,_0x4c5401)=>_0x57b24d!==''&&_0x4d7b8b['indexOf'](_0x57b24d)===_0x4c5401);_0x1ac9ab['forEach'](_0x386e4a=>_0x736600[_0x37a00a(0x3e9)](_0x386e4a,_0x1ac9ab));}),_0x736600;}function _0x45200d(_0x1ccc44,_0x38a512={},_0x5201d0=_0x116811=>_0x116811,_0x567901={}){const _0x162dd6=_0x5b4d61;let _0x3a6a01=!_0x3e441b['has'](_0x1ccc44),_0x13436a=_0x5201d0??(_0x378f61=>_0x378f61);return{'type':_0x1ccc44,'i18nKey':_0x162dd6(0x4dd)+_0x1ccc44,'enabled':_0x3a6a01,'visibleInCreateMenu':_0x3a6a01,'createDefaultConfig':_0x567901[_0x162dd6(0x3fa)]??(()=>({})),'createDefaultValue':_0x567901['createDefaultValue']??(_0x22fc20=>_0x22fc20[_0x162dd6(0x3dc)]??null),'normalize':(_0x4b7a51,_0x32a5dc)=>_0x13436a(_0x4b7a51,_0x32a5dc),'validate':(_0x3b2efc,_0x30f8e2)=>{const _0x5a5526=_0x162dd6;var _0x20204c;return _0x3a6a01?((_0x20204c=_0x567901[_0x5a5526(0x2fc)])==null?void 0x0:_0x20204c[_0x5a5526(0x30e)](_0x567901,_0x3b2efc,_0x30f8e2))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x377595,_0x4975f8)=>_0x54a581(_0x377595,_0x4975f8),'filter':(_0x9d73c8,_0x54a161,_0x28ff7a,_0x8999f8)=>_0x255362(_0x9d73c8,_0x54a161,_0x28ff7a,_0x8999f8),'toPlainText':_0x567901[_0x162dd6(0x282)]??(_0x1ad835=>_0x1ad835==null?'':String(_0x1ad835)),'fromPlainText':_0x567901[_0x162dd6(0x48b)]??(_0x4944f6=>_0x13436a(_0x4944f6,{'id':'','name':'','type':_0x1ccc44,'config':{}})),'getCapabilities':()=>({..._0x1c4863,..._0x38a512,'editable':_0x3a6a01&&(_0x38a512[_0x162dd6(0x29a)]??_0x1c4863[_0x162dd6(0x29a)])})};}function _0x544ef0(){const _0x599cc0=_0x5b4d61;return[_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x599cc0(0x218)}),'createDefaultValue':_0x3ab9a2=>_0x3ab9a2['defaultValue']??''}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x38b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x192309=>_0x192309==null||_0x192309===''?null:String(_0x192309),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x51a)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x40730e=>Array[_0x599cc0(0x3bc)](_0x40730e)?_0x40730e[_0x599cc0(0x3ab)](String):_0x40730e==null?[]:[String(_0x40730e)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x599cc0(0x127)}}),'createDefaultValue':_0x5bfedc=>_0x5bfedc[_0x599cc0(0x3dc)]??[]}),_0x45200d(_0x552f17['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xeef8d,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x599cc0(0x2f3)}),'validate':_0x430246}),_0x45200d(_0x552f17['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x24fab6,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x599cc0(0x2ab)}),'createDefaultValue':_0x286e46=>_0x286e46[_0x599cc0(0x3dc)]??[],'validate':_0x2fb647}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5e6b66=>_0x1b2d78(_0x5e6b66),{'createDefaultConfig':()=>_0x5c6cae(),'validate':_0x46c3a8}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3a6)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4a3bdc=>_0x4a3bdc==null?[]:Array['isArray'](_0x4a3bdc)?_0x4a3bdc:[_0x4a3bdc],{'createDefaultValue':_0x5243e3=>_0x5243e3[_0x599cc0(0x3dc)]??[]}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x439)],{},_0x479813=>_0x479813==null||_0x479813===''?null:Number(_0x479813),{'createDefaultConfig':()=>_0x5b5ae6(),'validate':_0x576aad}),_0x45200d(_0x552f17['BaseFieldType']['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x4e3d70=>_0x4e3d70===!0x0||_0x4e3d70===_0x599cc0(0x1b5)||_0x4e3d70===0x1||_0x4e3d70==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x599cc0(0x2c8)}),'createDefaultValue':_0x39a14f=>_0x39a14f[_0x599cc0(0x3dc)]??!0x1,'validate':_0x1318e9=>typeof _0x1318e9==_0x599cc0(0x10b)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3f2)],{'supportsRelation':!0x0},_0x1a28db,{'createDefaultConfig':()=>({'placeholder':_0x599cc0(0x550)}),'toPlainText':_0x11e1d9=>_0x2ec6c5(_0x11e1d9),'fromPlainText':_0x12d270=>_0x1a28db(_0x12d270)}),_0x45200d(_0x552f17['BaseFieldType'][_0x599cc0(0x2ef)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x195)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x599cc0(0x489)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Phone'],{'usableAsTitle':!0x0},_0x45dfb5=>_0x45dfb5==null?null:String(_0x45dfb5)[_0x599cc0(0x104)](),{'validate':_0x39938f=>_0x39938f==null||_0x39938f===''||/^\+?[0-9 ()-]{6,20}$/[_0x599cc0(0x1d7)](String(_0x39938f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x599cc0(0x40c)}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Email'],{'usableAsTitle':!0x0},_0x56d88c=>_0x56d88c==null?null:String(_0x56d88c)['trim'](),{'validate':_0x4b1fa9=>_0x4b1fa9==null||_0x4b1fa9===''||_0x12cd02(String(_0x4b1fa9))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Progress'],{'usableAsGanttProgress':!0x0},_0x195524=>_0x195524==null||_0x195524===''?null:Number(_0x195524),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x599cc0(0x352),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2ed7b6,_0x55aa22)=>_0x3c4dd3(_0x2ed7b6,_0x55aa22,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x268)],{},_0x3f658a=>_0x3f658a==null||_0x3f658a===''?null:Number(_0x3f658a),{'createDefaultConfig':()=>({..._0x5b5ae6(),'currencySymbol':'$'}),'validate':_0x576aad}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xb1a4d1=>_0xb1a4d1==null||_0xb1a4d1===''?null:Number(_0xb1a4d1),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0xad34ac,_0x65ea55)=>_0x3c4dd3(_0xad34ac,_0x65ea55,_0x599cc0(0x1f4))}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['RecordLink'],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x21cfb4,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x2cbf1c,_0x2cb348)=>_0x54eb47(_0x2cbf1c,_0x2cb348[_0x599cc0(0x340)][_0x599cc0(0x20a)]===!0x0)}),_0x45200d(_0x552f17['BaseFieldType']['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x3eb)],{'editable':!0x1,'groupable':!0x0},_0x1183ec=>_0x1183ec==null?null:String(_0x1183ec),{'createDefaultConfig':()=>({'provider':_0x599cc0(0x3e7)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)][_0x599cc0(0x2a0)],{'editable':!0x1,'groupable':!0x0},_0x7eaa07=>_0x7eaa07==null?null:String(_0x7eaa07),{'createDefaultConfig':()=>({'provider':_0x599cc0(0x3e7)}),'createDefaultValue':()=>null}),_0x45200d(_0x552f17[_0x599cc0(0x22d)]['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x445c81=>_0x1b2d78(_0x445c81),{'createDefaultConfig':()=>_0x5c6cae(),'createDefaultValue':()=>null,'validate':_0x46c3a8}),_0x45200d(_0x552f17['BaseFieldType'][_0x599cc0(0x373)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x19622c=>_0x1b2d78(_0x19622c),{'createDefaultConfig':()=>_0x5c6cae(),'createDefaultValue':()=>null,'validate':_0x46c3a8})];}function _0x5b5ae6(){return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function _0x5c6cae(){const _0x5ea352=_0x5b4d61;return{'locale':'en-US','pattern':_0x5ea352(0x300),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x5ea352(0x3c8)};}function _0x24fab6(_0x5adaac){const _0xeee2b1=_0x5b4d61;return _0x5adaac==null||_0x5adaac===''?[]:Array['isArray'](_0x5adaac)?_0x5adaac[_0xeee2b1(0x3ab)](String):[String(_0x5adaac)];}function _0x21cfb4(_0x4d7cef){const _0x44c535=_0x5b4d61;return typeof _0x4d7cef==_0x44c535(0x525)?_0x4d7cef:'';}function _0xeef8d(_0x4d398c,_0x520d87){const _0x9bf7f8=_0x5b4d61;return _0x4d398c==null||_0x4d398c===''?_0x520d87['config'][_0x9bf7f8(0x4cf)]===!0x0?[]:null:_0x520d87[_0x9bf7f8(0x340)]['allowMultiple']===!0x0?Array[_0x9bf7f8(0x3bc)](_0x4d398c)?_0x4d398c[_0x9bf7f8(0x3ab)](String):[String(_0x4d398c)]:Array[_0x9bf7f8(0x3bc)](_0x4d398c)?String(_0x4d398c[0x0]??'')||null:String(_0x4d398c);}function _0x430246(_0x42f5a6,_0x34a7b9){const _0x337682=_0x5b4d61;return _0x34a7b9[_0x337682(0x340)][_0x337682(0x4cf)]===!0x0?_0x2fb647(_0x42f5a6):_0x42f5a6==null||_0x42f5a6===''||typeof _0x42f5a6==_0x337682(0x525)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x337682(0x183)};}function _0x2fb647(_0x2d6846){const _0x156490=_0x5b4d61;return _0x2d6846==null||Array[_0x156490(0x3bc)](_0x2d6846)&&_0x2d6846[_0x156490(0x25e)](_0x5051a1=>typeof _0x5051a1==_0x156490(0x525))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x156490(0x53a)};}function _0x46c3a8(_0x5488a6){const _0x2533e7=_0x5b4d61;return _0x5488a6==null||typeof _0x5488a6==_0x2533e7(0x544)&&Number[_0x2533e7(0x326)](_0x5488a6)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2533e7(0x1e7)};}function _0x576aad(_0x51ba5a,_0xe12f9b){const _0x453061=_0x5b4d61;return _0x51ba5a==null||_0x51ba5a===''?{'valid':!0x0}:typeof _0x51ba5a!=_0x453061(0x544)||!Number[_0x453061(0x326)](_0x51ba5a)?{'valid':!0x1,'reason':_0x453061(0x4be)}:_0xe12f9b[_0x453061(0x340)][_0x453061(0x296)]===!0x1&&_0x51ba5a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x3c4dd3(_0x182a14,_0x3f7a5c,_0xd53b22){const _0xd50746=_0x5b4d61;let _0x57f319=_0x576aad(_0x182a14,_0x3f7a5c);if(!_0x57f319[_0xd50746(0x2d9)]||_0x182a14==null||_0x182a14==='')return _0x57f319;let _0x53c7fc=Number(_0x3f7a5c[_0xd50746(0x340)][_0xd50746(0x3b5)]??_0x3f7a5c['config'][_0xd50746(0x143)]??0x0),_0x483dda=Number(_0x3f7a5c[_0xd50746(0x340)]['max']??_0x3f7a5c[_0xd50746(0x340)]['end']??0x64),_0x107b8f=Number(_0x182a14);return _0x107b8f>=_0x53c7fc&&_0x107b8f<=_0x483dda?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd53b22};}function _0x1a28db(_0x5b7aaa){const _0x56c897=_0x5b4d61;if(_0x5b7aaa==null||_0x5b7aaa==='')return null;if(typeof _0x5b7aaa==_0x56c897(0x434)&&!Array['isArray'](_0x5b7aaa)){let _0x4f1de4=_0x5b7aaa,_0x36d43d=typeof _0x4f1de4[_0x56c897(0x398)]=='string'?_0x4f1de4['text']['trim']():'',_0x2bcf1d=typeof _0x4f1de4[_0x56c897(0x156)]=='string'?_0x4f1de4[_0x56c897(0x156)][_0x56c897(0x104)]():'',_0x5541f2=_0x2a5118(_0x2bcf1d||_0x36d43d);return _0x5541f2?{'text':_0x36d43d||_0x2bcf1d||_0x5541f2,'url':_0x5541f2}:null;}let _0x23d9e6=String(_0x5b7aaa)[_0x56c897(0x104)](),_0x486cd0=_0x2a5118(_0x23d9e6);return _0x486cd0?{'text':_0x23d9e6,'url':_0x486cd0}:null;}function _0x2ec6c5(_0x38342e){const _0x4a13e1=_0x5b4d61;if(_0x38342e==null)return'';if(typeof _0x38342e=='object'&&!Array['isArray'](_0x38342e)){let _0x417782=_0x38342e;return String(_0x417782[_0x4a13e1(0x398)]||_0x417782[_0x4a13e1(0x156)]||'');}return String(_0x38342e);}function _0x2a5118(_0x485e94){const _0x40d6fb=_0x5b4d61;let _0x5019b9=_0x485e94[_0x40d6fb(0x104)]();if(!_0x5019b9)return'';let _0x3b1e1e=/^[a-z][a-z\d+.-]*:/i[_0x40d6fb(0x1d7)](_0x5019b9)?_0x5019b9:_0x5019b9[_0x40d6fb(0x10a)]('//')?_0x40d6fb(0x329)+_0x5019b9:_0x40d6fb(0x2db)+_0x5019b9;try{let _0x2875ee=new URL(_0x3b1e1e);return _0x2875ee[_0x40d6fb(0x3b0)]===_0x40d6fb(0x2ec)||_0x2875ee[_0x40d6fb(0x3b0)]===_0x40d6fb(0x329)?_0x2875ee['href']:'';}catch{return'';}}function _0x12cd02(_0x5a72c4){const _0x3869b5=_0x5b4d61;let _0x26d235=_0x5a72c4[_0x3869b5(0x462)]('@');if(_0x26d235<=0x0||_0x26d235!==_0x5a72c4[_0x3869b5(0x264)]('@'))return!0x1;let _0x432898=_0x5a72c4[_0x3869b5(0x25d)](_0x26d235+0x1);return _0x432898[_0x3869b5(0x396)]('.')&&!_0x5a72c4['includes']('\x20')&&!_0x432898[_0x3869b5(0x10a)]('.')&&!_0x432898[_0x3869b5(0x21c)]('.');}let _0xe24ef3={'table':_0xc9664=>[_0x5b4d61(0x1e1),_0xc9664],'field':(_0x3fcfa9,_0x571138)=>[_0x5b4d61(0x1e1),_0x3fcfa9,_0x5b4d61(0x3ec),_0x571138],'fieldOrder':(_0x1037d5,_0x39bbce)=>[_0x5b4d61(0x1e1),_0x1037d5,_0x5b4d61(0x151),_0x39bbce],'record':(_0x58721f,_0x121049)=>['tables',_0x58721f,_0x5b4d61(0x29e),_0x121049],'cell':(_0x51d42c,_0x481521,_0x310e5b)=>[_0x5b4d61(0x1e1),_0x51d42c,'records',_0x481521,_0x5b4d61(0x4d1),_0x310e5b],'cellData':(_0x4356fc,_0x123dd4,_0x2a5ecb)=>[_0x5b4d61(0x1e1),_0x4356fc,_0x5b4d61(0x4af),String(_0x123dd4),String(_0x2a5ecb)],'attachmentSet':(_0x417ed4,_0x2dbc40)=>[_0x5b4d61(0x1e1),_0x417ed4,_0x5b4d61(0x336),_0x5b4d61(0x399),_0x2dbc40],'attachment':(_0x452213,_0x32156d)=>[_0x5b4d61(0x1e1),_0x452213,_0x5b4d61(0x336),'attachments',_0x32156d],'view':(_0x3ee8e1,_0x58a4f0)=>[_0x5b4d61(0x1e1),_0x3ee8e1,_0x5b4d61(0x2ea),_0x58a4f0],'viewFieldHidden':(_0x4d4b28,_0x4a46dc,_0x2ec6e5)=>['tables',_0x4d4b28,_0x5b4d61(0x2ea),_0x4a46dc,'fieldSettings',_0x2ec6e5,'hidden']};var _0x1b9aeb=class{[_0x5b4d61(0x467)](_0x55d581,_0x5cfa7f){const _0x29e4a1=_0x5b4d61;let _0x41a94b=this['renameFormulaUnitReferences'](_0x55d581,_0x55d581['name'],_0x5cfa7f);return _0x4c4822([this[_0x29e4a1(0x545)]([_0x29e4a1(0x288)],_0x55d581['name'],_0x5cfa7f),..._0x41a94b?[_0x41a94b]:[]]);}[_0x5b4d61(0x537)](_0x2ce7cb,_0x13aca6,_0x1bdd03){const _0x3ab5b4=_0x5b4d61;let _0x9c3a89=Object[_0x3ab5b4(0x4d1)](_0x2ce7cb[_0x3ab5b4(0x1e1)])[_0x3ab5b4(0x4a0)](_0x4a98ac=>Object[_0x3ab5b4(0x4d1)](_0x4a98ac[_0x3ab5b4(0x3ec)])[_0x3ab5b4(0x4a0)](_0x3aa89a=>{const _0x1cb6b8=_0x3ab5b4;var _0x4e617c,_0x46f5e8;if(_0x3aa89a[_0x1cb6b8(0x4cd)]!==_0x552f17['BaseFieldType'][_0x1cb6b8(0x2ef)])return[];let _0x3869e1=String(((_0x4e617c=_0x3aa89a[_0x1cb6b8(0x340)])==null?void 0x0:_0x4e617c[_0x1cb6b8(0x498)])??''),_0x4c6abb=(0x0,_0x216287[_0x1cb6b8(0x2d8)])(_0x3869e1,_0x13aca6,_0x1bdd03);return _0x4c6abb===_0x3869e1?[]:[this[_0x1cb6b8(0x545)]([..._0xe24ef3[_0x1cb6b8(0x420)](_0x4a98ac['id'],_0x3aa89a['id']),_0x1cb6b8(0x340),'formula'],(_0x46f5e8=_0x3aa89a[_0x1cb6b8(0x340)])==null?void 0x0:_0x46f5e8[_0x1cb6b8(0x498)],_0x4c6abb)];}));return _0x9c3a89[_0x3ab5b4(0x46a)]>0x0?_0x4c4822(_0x9c3a89):void 0x0;}[_0x5b4d61(0x314)](_0x3c311b,_0x3f4b22,_0x8f0534=_0x3c311b[_0x5b4d61(0x3ac)][_0x5b4d61(0x46a)]){const _0x290817=_0x5b4d61;let _0x502d7d=(0x0,_0x552f17[_0x290817(0x3d7)])(_0x3f4b22[_0x290817(0x288)],(0x0,_0x552f17[_0x290817(0x469)])(_0x3c311b)['values'](),_0x3f4b22['formulaName']),_0xf6ea25=_0x3f4b22[_0x290817(0x452)]===_0x502d7d?_0x3f4b22:{..._0x3f4b22,'formulaName':_0x502d7d};return _0x4c4822([...this[_0x290817(0x133)](_0x3c311b),_0x552f17[_0x290817(0x4e7)][_0x290817(0x4e3)](_0xe24ef3[_0x290817(0x481)](_0x3f4b22['id']),_0xf6ea25),_0x552f17[_0x290817(0x4e7)][_0x290817(0x4e3)](['tableOrder',_0x8f0534],_0x3f4b22['id'])]);}[_0x5b4d61(0x4a9)](_0x1a3cab,_0x35022c,_0x210b23){const _0x129d7b=_0x5b4d61;let _0x4c8450=_0x1a3cab[_0x129d7b(0x1e1)][_0x35022c];return _0x4c4822([...this[_0x129d7b(0x133)](_0x1a3cab),_0x552f17['JSON1'][_0x129d7b(0x338)]([..._0xe24ef3[_0x129d7b(0x481)](_0x35022c),_0x129d7b(0x288)],_0x4c8450[_0x129d7b(0x288)],_0x210b23)]);}[_0x5b4d61(0x1a6)](_0x4d88ed,_0x1b59a4){const _0x5cef02=_0x5b4d61;let _0x49a0fe=_0x4d88ed['tables'][_0x1b59a4],_0x42bd91=_0x4d88ed[_0x5cef02(0x3ac)][_0x5cef02(0x462)](_0x1b59a4);return _0x4c4822([...this[_0x5cef02(0x133)](_0x4d88ed,new Set([_0x1b59a4])),_0x552f17['JSON1'][_0x5cef02(0x4e6)](_0xe24ef3[_0x5cef02(0x481)](_0x1b59a4),_0x49a0fe),_0x552f17['JSON1']['removeOp']([_0x5cef02(0x3ac),_0x42bd91],_0x1b59a4)]);}[_0x5b4d61(0x3b7)](_0xd9a6d7,_0x4acb2c,_0x2b8c31){const _0x45a2d2=_0x5b4d61;return this[_0x45a2d2(0x31a)](_0xd9a6d7,_0x4acb2c,[_0x2b8c31]);}[_0x5b4d61(0x31a)](_0x449858,_0x126c87,_0x2827b0){const _0x49f362=_0x5b4d61;let _0x3bffde=_0x449858['tables'][_0x126c87],_0x2a3779=_0x2827b0[_0x49f362(0x30a)](_0x23782e=>_0x23782e&&!_0x3bffde[_0x49f362(0x29e)][_0x23782e['id']])[_0x49f362(0x3ab)](_0x1d0b45=>({..._0x1d0b45,'values':{..._0x1d0b45[_0x49f362(0x4d1)],[_0x552f17[_0x49f362(0x316)]]:_0x1d0b45['id']}}));if(!_0x2a3779['length'])return _0x552f17[_0x49f362(0x4e7)][_0x49f362(0x338)]([..._0xe24ef3[_0x49f362(0x481)](_0x126c87),_0x49f362(0x29e)],_0x3bffde[_0x49f362(0x29e)],_0x3bffde[_0x49f362(0x29e)]);let _0x3f331b=new _0x552f17[(_0x49f362(0x4e7))][(_0x49f362(0x385))](),_0x28fdbc=[..._0x2a3779]['sort']((_0x2a3d76,_0x53628d)=>_0x2a3d76['id']<_0x53628d['id']?-0x1:+(_0x2a3d76['id']>_0x53628d['id'])),_0x2fb5fa=[..._0xe24ef3[_0x49f362(0x481)](_0x126c87),_0x49f362(0x29e)];_0x3f331b[_0x49f362(0x13c)](_0x2fb5fa);for(let _0x3de017 of _0x28fdbc)_0x3f331b[_0x49f362(0x253)](_0x3de017['id']),_0x3f331b[_0x49f362(0x1e4)]('i',_0x3de017),_0x3f331b[_0x49f362(0x4ce)]();for(let _0x3250dd=0x0;_0x3250dd<_0x2fb5fa['length'];_0x3250dd+=0x1)_0x3f331b[_0x49f362(0x4ce)]();return _0x4c4822([_0x3f331b['get'](),this['_createRecordOrderOp'](_0x449858,_0x126c87,_0x2a3779)]);}[_0x5b4d61(0x14c)](_0x5cdf69,_0x9cf178,_0x5d9d8e){const _0x3c5ab8=_0x5b4d61;return this[_0x3c5ab8(0x1f6)](_0x5cdf69,_0x9cf178,[_0x5d9d8e]);}[_0x5b4d61(0x1f6)](_0x5104af,_0x250801,_0x2661ba){const _0x14ee2a=_0x5b4d61;let _0x53b149=_0x5104af[_0x14ee2a(0x1e1)][_0x250801],_0x387a65=Array[_0x14ee2a(0x1c0)](new Set(_0x2661ba))[_0x14ee2a(0x30a)](_0x15ce09=>_0x53b149[_0x14ee2a(0x29e)][_0x15ce09]);if(!_0x387a65[_0x14ee2a(0x46a)])return _0x552f17[_0x14ee2a(0x4e7)]['replaceOp']([..._0xe24ef3['table'](_0x250801),_0x14ee2a(0x29e)],_0x53b149[_0x14ee2a(0x29e)],_0x53b149[_0x14ee2a(0x29e)]);let _0x5a2933=new Set(_0x387a65),_0x4aa2fe=_0x230aed(_0x53b149,_0x387a65)[_0x14ee2a(0x3ab)](_0x11f6d6=>this[_0x14ee2a(0x245)](_0x5104af,_0x250801,_0x11f6d6[_0x14ee2a(0x504)],_0x11f6d6[_0x14ee2a(0x400)],''));return _0x4c4822([this['_deleteRecordsBaseOp'](_0x5104af,_0x250801,_0x387a65,_0x5a2933),..._0x4aa2fe]);}[_0x5b4d61(0x54a)](_0xb8da80,_0x4fbae0,_0x244f7d,_0x446b65){const _0x4edd65=_0x5b4d61;let _0x84ca9e=_0xb8da80[_0x4edd65(0x1e1)][_0x244f7d],_0x47fe3a=Array[_0x4edd65(0x1c0)](new Set(_0x446b65))[_0x4edd65(0x30a)](_0x1a2455=>_0x84ca9e[_0x4edd65(0x29e)][_0x1a2455]),_0x5d140b=new Set(_0x47fe3a);return _0x4c4822([new _0x600fcd()[_0x4edd65(0x4fa)](_0xb8da80,this['_deleteRecordsBaseOp'](_0xb8da80,_0x244f7d,_0x47fe3a,_0x5d140b)),..._0x230aed(_0x84ca9e,_0x47fe3a)[_0x4edd65(0x3ab)](_0x34e9a8=>this['updateCell'](_0x4fbae0,_0x244f7d,_0x34e9a8['recordId'],_0x34e9a8['fieldId'],_0x34e9a8[_0x4edd65(0x22e)]??''))]);}[_0x5b4d61(0x4d0)](_0x4f32f9,_0x33d096,_0x5645bb,_0x2905af){const _0x3c9808=_0x5b4d61;let _0x44b836=_0x4f32f9[_0x3c9808(0x1e1)][_0x33d096],_0x2561ca=_0x5645bb[_0x3c9808(0x3ab)](_0x426c5c=>{const _0x2cf348=_0x3c9808;var _0x156487;return{'recordId':_0x426c5c,'index':((_0x156487=_0x44b836[_0x2cf348(0x52a)])==null?void 0x0:_0x156487[_0x2cf348(0x462)](_0x426c5c))??-0x1};})[_0x3c9808(0x30a)](_0x3a03a4=>_0x3a03a4['index']>=0x0)['sort']((_0x553dfb,_0x5c73c7)=>_0x5c73c7[_0x3c9808(0x4a8)]-_0x553dfb['index']);return _0x4c4822([..._0x5645bb['map'](_0x51e1cc=>_0x552f17[_0x3c9808(0x4e7)][_0x3c9808(0x4e6)](_0xe24ef3['record'](_0x33d096,_0x51e1cc),_0x44b836[_0x3c9808(0x29e)][_0x51e1cc])),..._0x2561ca[_0x3c9808(0x3ab)](({recordId:_0x4de080,index:_0x263408})=>_0x552f17[_0x3c9808(0x4e7)][_0x3c9808(0x4e6)]([_0x3c9808(0x1e1),_0x33d096,_0x3c9808(0x52a),_0x263408],_0x4de080)),...this['_deleteAttachmentResources'](_0x44b836,_0x33d096,_0x347881=>{const _0x347829=_0x3c9808;let _0x200e0f=_0x347881['slice'](_0x347881[_0x347829(0x264)]('\x1f')+0x1);return _0x2905af[_0x347829(0x1d8)](_0x200e0f);})]);}[_0x5b4d61(0x44d)](_0x23cef9,_0x17ff64,_0x57ce10,_0x5a2f81){const _0x329acf=_0x5b4d61;return this[_0x329acf(0x3b7)](_0x23cef9,_0x17ff64,{..._0x5a2f81,'values':{..._0x23cef9[_0x329acf(0x1e1)][_0x17ff64][_0x329acf(0x29e)][_0x57ce10][_0x329acf(0x4d1)],..._0x5a2f81[_0x329acf(0x4d1)],[_0x552f17[_0x329acf(0x316)]]:_0x5a2f81['id']}});}[_0x5b4d61(0x177)](_0x260511,_0x14e6f,_0x3b1dd1,_0xaf4382){const _0x26a4d2=_0x5b4d61;let _0x30961d=_0x260511['tables'][_0x14e6f],_0x1feb9c=[..._0xe24ef3[_0x26a4d2(0x54f)](_0x14e6f,_0x3b1dd1),_0x26a4d2(0x12f)],_0x48f9fc=Object['values'](_0x30961d[_0x26a4d2(0x29e)])['map'](_0x2e8e65=>_0x2e8e65['id']===_0x3b1dd1?{..._0x2e8e65,'orderKey':_0xaf4382}:_0x2e8e65)[_0x26a4d2(0x3c2)]((_0x490bb8,_0x5b9748)=>String(_0x490bb8[_0x26a4d2(0x12f)]??_0x490bb8['id'])['localeCompare'](String(_0x5b9748[_0x26a4d2(0x12f)]??_0x5b9748['id'])))[_0x26a4d2(0x3ab)](_0x536c63=>_0x536c63['id']),_0x10f5c4=[..._0xe24ef3[_0x26a4d2(0x481)](_0x14e6f),_0x26a4d2(0x52a)];return _0x4c4822([this[_0x26a4d2(0x545)](_0x1feb9c,_0x30961d[_0x26a4d2(0x29e)][_0x3b1dd1][_0x26a4d2(0x12f)],_0xaf4382),_0x30961d[_0x26a4d2(0x52a)]?_0x552f17[_0x26a4d2(0x4e7)][_0x26a4d2(0x338)](_0x10f5c4,_0x30961d[_0x26a4d2(0x52a)],_0x48f9fc):_0x552f17[_0x26a4d2(0x4e7)][_0x26a4d2(0x4e3)](_0x10f5c4,_0x48f9fc)]);}['updateCell'](_0x44827c,_0x22d513,_0x23b138,_0xef6251,_0x52b684){const _0x347bab=_0x5b4d61;var _0x234af8,_0x4297ae;let _0x7797fa=_0x44827c[_0x347bab(0x1e1)][_0x22d513],_0x48c3c7=_0x33b7e1(_0x7797fa,_0x23b138,_0xef6251)?_0x7797fa:_0x2c21a9(_0x7797fa),_0xc62e43=(_0x234af8=_0x48c3c7[_0x347bab(0x1a0)])==null?void 0x0:_0x234af8[_0x23b138],_0x5ba6c1=(_0x4297ae=_0x48c3c7[_0x347bab(0x4ee)])==null?void 0x0:_0x4297ae[_0xef6251];if(_0xc62e43==null||_0x5ba6c1==null){var _0x27f728;return this['_replaceOptional'](_0xe24ef3['cell'](_0x22d513,_0x23b138,_0xef6251),(_0x27f728=_0x44827c['tables'][_0x22d513])==null||(_0x27f728=_0x27f728['records'][_0x23b138])==null?void 0x0:_0x27f728[_0x347bab(0x4d1)][_0xef6251],_0x52b684);}return this[_0x347bab(0x20c)](_0x44827c,_0x22d513,[{'row':_0xc62e43,'col':_0x5ba6c1,'value':_0x52b684}]);}[_0x5b4d61(0x41f)](_0x38da54,_0x114081,_0x119126){const _0x10126f=_0x5b4d61;let _0x55c497=_0x38da54[_0x10126f(0x1e1)][_0x114081],_0x553243=_0x119126[_0x10126f(0x25e)](_0x910e17=>Object[_0x10126f(0x1bd)](_0x910e17[_0x10126f(0x4d1)])['every'](_0x5e2b9a=>_0x33b7e1(_0x55c497,_0x910e17[_0x10126f(0x504)],_0x5e2b9a)))?_0x55c497:_0x2c21a9(_0x55c497),_0x38ee8f=_0x119126[_0x10126f(0x4a0)](_0xbaf7be=>Object[_0x10126f(0x21f)](_0xbaf7be[_0x10126f(0x4d1)])[_0x10126f(0x4a0)](([_0x5e6a5d,_0x4e00f6])=>{const _0xcd72d5=_0x10126f;var _0x11a422,_0x218810;let _0x388e49=(_0x11a422=_0x553243['rowIndex'])==null?void 0x0:_0x11a422[_0xbaf7be[_0xcd72d5(0x504)]],_0x413480=(_0x218810=_0x553243[_0xcd72d5(0x4ee)])==null?void 0x0:_0x218810[_0x5e6a5d];return _0x388e49==null||_0x413480==null?[]:[{'row':_0x388e49,'col':_0x413480,'value':_0x4e00f6}];})),_0x37811e=_0x119126['flatMap'](_0x1b7271=>Object[_0x10126f(0x21f)](_0x1b7271[_0x10126f(0x375)]??{})[_0x10126f(0x3ab)](([_0x27c519,_0x5d4cd0])=>{const _0x12c1cc=_0x10126f;var _0x26412f;let _0x459148=[..._0xe24ef3[_0x12c1cc(0x54f)](_0x114081,_0x1b7271['recordId']),_0x27c519],_0x5df536=(_0x26412f=_0x38da54[_0x12c1cc(0x1e1)][_0x114081])==null||(_0x26412f=_0x26412f[_0x12c1cc(0x29e)][_0x1b7271[_0x12c1cc(0x504)]])==null?void 0x0:_0x26412f[_0x27c519];return this['_replaceOptional'](_0x459148,_0x5df536,_0x5d4cd0);}));return _0x4c4822([this[_0x10126f(0x20c)](_0x38da54,_0x114081,_0x38ee8f),..._0x37811e]);}[_0x5b4d61(0x20c)](_0x3aaeff,_0x161b98,_0x2b6b99){const _0x58254=_0x5b4d61;let _0x338b1e=_0x3aaeff[_0x58254(0x1e1)][_0x161b98],_0x309c3b=_0x2b6b99[_0x58254(0x25e)](_0x514e3a=>_0x467214(_0x338b1e,_0x514e3a[_0x58254(0x4d6)],_0x514e3a['col']))?_0x338b1e:_0x2c21a9(_0x338b1e),_0x45025d=new Map(),_0x52b69f=_0x2b6b99[_0x58254(0x4a0)](_0x7a5208=>{const _0x267364=_0x58254;var _0x250d98,_0xcd1aba,_0x1ea58f,_0x161d2f;let _0x366ab=(_0x250d98=_0x309c3b[_0x267364(0x43a)])==null?void 0x0:_0x250d98[_0x7a5208[_0x267364(0x1a1)]],_0x371aac=(_0xcd1aba=_0x309c3b['rowId'])==null?void 0x0:_0xcd1aba[_0x7a5208['row']],_0x5e2cfb=_0x366ab?_0x309c3b[_0x267364(0x3ec)][_0x366ab]:void 0x0;if(_0x366ab===_0x552f17['BASE_RECORD_ID_FIELD_ID']||(_0x5e2cfb==null?void 0x0:_0x5e2cfb[_0x267364(0x4cd)])===_0x552f17[_0x267364(0x22d)]['RecordId'])throw Error(_0x267364(0x185));let _0x17bb7b=_0x49a97d(_0x7a5208['value'],_0x5e2cfb),_0x3de2c3=(_0x1ea58f=_0x309c3b['cellData'])==null||(_0x1ea58f=_0x1ea58f[_0x7a5208[_0x267364(0x4d6)]])==null?void 0x0:_0x1ea58f[_0x7a5208['col']],_0x57a609=this['_replaceOptional'](_0xe24ef3[_0x267364(0x4af)](_0x161b98,_0x7a5208[_0x267364(0x4d6)],_0x7a5208['col']),_0x3de2c3,_0x17bb7b);if(!_0x366ab||!_0x371aac)return[_0x57a609];let _0x376bea=(_0x161d2f=_0x309c3b[_0x267364(0x29e)][_0x371aac])==null?void 0x0:_0x161d2f['values'][_0x366ab],_0x24ab6a=(_0x5e2cfb==null?void 0x0:_0x5e2cfb['type'])===_0x552f17[_0x267364(0x22d)][_0x267364(0x3a6)]?_0x1f16ff(_0x7a5208['value']):_0x24a127(_0x7a5208[_0x267364(0x2e2)],_0x17bb7b,_0x5e2cfb,_0x309c3b,_0x371aac),_0x455ca1=[_0x57a609,this[_0x267364(0x545)](_0xe24ef3[_0x267364(0x164)](_0x161b98,_0x371aac,_0x366ab),_0x376bea,_0x24ab6a)];return(_0x5e2cfb==null?void 0x0:_0x5e2cfb[_0x267364(0x4cd)])===_0x552f17['BaseFieldType'][_0x267364(0x3a6)]&&_0x45025d[_0x267364(0x3e9)](_0x4f2639(_0x366ab,_0x371aac),{'recordId':_0x371aac,'fieldId':_0x366ab,'attachments':_0x24ab6a}),_0x455ca1;});return _0x52b69f[_0x58254(0x46a)]?_0x4c4822([..._0x52b69f,...this[_0x58254(0x4d7)](_0x309c3b,_0x161b98,Array['from'](_0x45025d[_0x58254(0x4d1)]()))]):_0x552f17[_0x58254(0x4e7)]['replaceOp']([_0x58254(0x1e1),_0x161b98,_0x58254(0x4af)],_0x309c3b[_0x58254(0x4af)],_0x309c3b[_0x58254(0x4af)]);}[_0x5b4d61(0x51e)](_0x3c7c97,_0xadb324,_0x3664a3){const _0xee2f31=_0x5b4d61;let _0x5c78a9=_0x3c7c97[_0xee2f31(0x1e1)][_0xadb324];if(_0x5c78a9['fields'][_0x3664a3[_0xee2f31(0x420)]['id']]||_0x5c78a9['fieldOrder'][_0xee2f31(0x396)](_0x3664a3[_0xee2f31(0x420)]['id']))return _0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x338)]([_0xee2f31(0x1e1),_0xadb324,'fieldOrder'],_0x5c78a9[_0xee2f31(0x151)],_0x5c78a9[_0xee2f31(0x151)]);let _0x3085af=Math[_0xee2f31(0x3bd)](0x1,_0x3664a3[_0xee2f31(0x4a8)]??_0x5c78a9[_0xee2f31(0x151)][_0xee2f31(0x46a)]),_0x1c14a1=Object[_0xee2f31(0x4d1)](_0x5c78a9[_0xee2f31(0x2ea)]??{})['flatMap'](_0x20d11e=>{const _0x52721e=_0xee2f31;var _0x358230;if(!_0x20d11e[_0x52721e(0x151)]||_0x20d11e[_0x52721e(0x151)][_0x52721e(0x396)](_0x3664a3[_0x52721e(0x420)]['id']))return[];let _0x25962a=_0x48fc83(((_0x358230=_0x3664a3['viewIndexes'])==null?void 0x0:_0x358230[_0x20d11e['id']])??_0x3085af,_0x20d11e[_0x52721e(0x151)][_0x52721e(0x46a)]);return[_0x552f17[_0x52721e(0x4e7)][_0x52721e(0x4e3)]([..._0xe24ef3[_0x52721e(0x391)](_0xadb324,_0x20d11e['id']),'fieldOrder',_0x25962a],_0x3664a3['field']['id'])];});return _0x4c4822([..._0x3664a3[_0xee2f31(0x420)][_0xee2f31(0x4cd)]===_0x552f17[_0xee2f31(0x22d)][_0xee2f31(0x2ef)]?this[_0xee2f31(0x133)](_0x3c7c97):[],_0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x4e3)](_0xe24ef3[_0xee2f31(0x420)](_0xadb324,_0x3664a3[_0xee2f31(0x420)]['id']),_0x3664a3[_0xee2f31(0x420)]),_0x552f17[_0xee2f31(0x4e7)][_0xee2f31(0x4e3)](_0xe24ef3[_0xee2f31(0x151)](_0xadb324,_0x3085af),_0x3664a3[_0xee2f31(0x420)]['id']),..._0x1c14a1]);}[_0x5b4d61(0x402)](_0x91cfb4,_0x402cf8,_0x7f7bb,_0x566ea8){const _0x208c55=_0x5b4d61;let _0x15eb5a=_0x91cfb4['tables'][_0x402cf8];if(!_0x15eb5a[_0x208c55(0x3ec)][_0x7f7bb]||_0x15eb5a[_0x208c55(0x3ec)][_0x566ea8[_0x208c55(0x420)]['id']]||_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x396)](_0x566ea8[_0x208c55(0x420)]['id']))return _0x552f17['JSON1'][_0x208c55(0x338)](['tables',_0x402cf8,_0x208c55(0x151)],_0x15eb5a[_0x208c55(0x151)],_0x15eb5a[_0x208c55(0x151)]);let _0x59d737=_0x566ea8[_0x208c55(0x4a8)]??_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x462)](_0x7f7bb)+0x1,_0x5da61d=_0x15eb5a[_0x208c55(0x151)][_0x208c55(0x30a)](_0x49a0d3=>_0x49a0d3!==_0x566ea8[_0x208c55(0x420)]['id']),_0x279920=_0xc6859b(_0x5da61d,_0x566ea8[_0x208c55(0x420)]['id'],_0x59d737),_0x428844=Object[_0x208c55(0x4d1)](_0x15eb5a['views']??{})[_0x208c55(0x4a0)](_0x1a52ba=>{const _0xcc9978=_0x208c55;var _0x1f5a1e,_0x1987a5,_0xc24bae,_0x34bc05;let _0x54a41c=(_0x1f5a1e=_0x1a52ba[_0xcc9978(0x151)])!=null&&_0x1f5a1e[_0xcc9978(0x46a)]?_0x1a52ba[_0xcc9978(0x151)]:_0x5da61d;if(_0x54a41c[_0xcc9978(0x396)](_0x566ea8[_0xcc9978(0x420)]['id']))return[];let _0x27ec75=_0xc6859b(_0x54a41c,_0x566ea8['field']['id'],((_0x1987a5=_0x566ea8[_0xcc9978(0x4a6)])==null?void 0x0:_0x1987a5[_0x1a52ba['id']])??_0x59d737),_0x875fc0=(_0xc24bae=_0x1a52ba[_0xcc9978(0x32b)])==null?void 0x0:_0xc24bae[_0x7f7bb];return[this[_0xcc9978(0x545)]([..._0xe24ef3[_0xcc9978(0x391)](_0x402cf8,_0x1a52ba['id']),_0xcc9978(0x151)],_0x1a52ba['fieldOrder'],_0x27ec75),..._0x875fc0?[this[_0xcc9978(0x545)]([..._0xe24ef3[_0xcc9978(0x391)](_0x402cf8,_0x1a52ba['id']),_0xcc9978(0x32b),_0x566ea8[_0xcc9978(0x420)]['id']],(_0x34bc05=_0x1a52ba[_0xcc9978(0x32b)])==null?void 0x0:_0x34bc05[_0x566ea8[_0xcc9978(0x420)]['id']],_0x875fc0)]:[]];}),_0x474850=Object[_0x208c55(0x4d1)](_0x15eb5a[_0x208c55(0x29e)])[_0x208c55(0x30a)](_0x1e69b5=>Object['prototype'][_0x208c55(0x3d8)][_0x208c55(0x30e)](_0x1e69b5[_0x208c55(0x4d1)],_0x7f7bb))['map'](_0x58617d=>this[_0x208c55(0x545)](_0xe24ef3['cell'](_0x402cf8,_0x58617d['id'],_0x566ea8[_0x208c55(0x420)]['id']),_0x58617d[_0x208c55(0x4d1)][_0x566ea8[_0x208c55(0x420)]['id']],_0x58617d[_0x208c55(0x4d1)][_0x7f7bb]));return _0x4c4822([..._0x566ea8[_0x208c55(0x420)][_0x208c55(0x4cd)]===_0x552f17[_0x208c55(0x22d)][_0x208c55(0x2ef)]?this['_materializeFormulaTableNames'](_0x91cfb4):[],_0x552f17[_0x208c55(0x4e7)][_0x208c55(0x4e3)](_0xe24ef3[_0x208c55(0x420)](_0x402cf8,_0x566ea8['field']['id']),_0x566ea8[_0x208c55(0x420)]),_0x552f17[_0x208c55(0x4e7)][_0x208c55(0x338)]([_0x208c55(0x1e1),_0x402cf8,_0x208c55(0x151)],_0x15eb5a['fieldOrder'],_0x279920),..._0x428844,..._0x474850]);}[_0x5b4d61(0x41a)](_0x3e23a9,_0x35bc63,_0xf2c7b7,_0x3fe5b1){const _0x50e0e6=_0x5b4d61;let _0x3f7c16=_0x3e23a9[_0x50e0e6(0x1e1)][_0x35bc63][_0x50e0e6(0x3ec)][_0xf2c7b7],_0x15b303={..._0x3f7c16,..._0x3fe5b1};Object['keys'](_0x3fe5b1)[_0x50e0e6(0x116)](_0x5af0a6=>{_0x3fe5b1[_0x5af0a6]===void 0x0&&delete _0x15b303[_0x5af0a6];});let _0x585492=_0x2606d2(_0x3e23a9[_0x50e0e6(0x1e1)][_0x35bc63],_0xf2c7b7,_0x3f7c16,_0x15b303);_0x15b303=_0x585492[_0x50e0e6(0x420)];let _0x56f743=_0x552f17[_0x50e0e6(0x4e7)][_0x50e0e6(0x338)](_0xe24ef3['field'](_0x35bc63,_0xf2c7b7),_0x3f7c16,_0x15b303);return _0x15b303[_0x50e0e6(0x4cd)]===_0x552f17[_0x50e0e6(0x22d)][_0x50e0e6(0x2ef)]?_0x4c4822([...this['_materializeFormulaTableNames'](_0x3e23a9),_0x56f743,...this[_0x50e0e6(0x1fe)](_0x3e23a9,_0x35bc63,_0xf2c7b7,_0x15b303)]):_0x4c4822([_0x56f743,..._0x585492[_0x50e0e6(0x3cc)]['length']?[this[_0x50e0e6(0x20c)](_0x3e23a9,_0x35bc63,_0x585492[_0x50e0e6(0x3cc)])]:[]]);}[_0x5b4d61(0x409)](_0x488662,_0x2203b0,_0x2e7a04,_0x1cf865){const _0x38e8fc=_0x5b4d61;return this[_0x38e8fc(0x41a)](_0x488662,_0x2203b0,_0x2e7a04,_0x1cf865);}[_0x5b4d61(0x147)](_0x663c34,_0x19354a,_0x5c68c7){const _0x24e1f7=_0x5b4d61;let _0x4609bd=_0x663c34[_0x24e1f7(0x1e1)][_0x19354a];if(!(_0x4609bd!=null&&_0x4609bd[_0x24e1f7(0x3ec)][_0x5c68c7])||_0x4609bd[_0x24e1f7(0x3a1)]===_0x5c68c7||_0x5c68c7===_0x552f17[_0x24e1f7(0x316)])return _0x552f17['JSON1']['replaceOp']([_0x24e1f7(0x1e1),_0x19354a,_0x24e1f7(0x151)],_0x4609bd==null?void 0x0:_0x4609bd[_0x24e1f7(0x151)],_0x4609bd==null?void 0x0:_0x4609bd['fieldOrder']);let _0x41872c=_0x4609bd[_0x24e1f7(0x151)][_0x24e1f7(0x462)](_0x5c68c7),_0x2da740=Object[_0x24e1f7(0x4d1)](_0x4609bd[_0x24e1f7(0x2ea)])[_0x24e1f7(0x4a0)](_0x3255df=>{const _0x50bcf3=_0x24e1f7;var _0x37f744,_0x80efca,_0xbaa75f,_0x261dc7,_0x4a6960,_0x2126e1,_0x4c4f98;let _0x73f2ff=[],_0x5eaeb0=((_0x37f744=_0x3255df['fieldOrder'])==null?void 0x0:_0x37f744[_0x50bcf3(0x462)](_0x5c68c7))??-0x1;_0x5eaeb0>=0x0&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)][_0x50bcf3(0x4e6)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),'fieldOrder',_0x5eaeb0],_0x5c68c7));let _0x25bc02=(_0x80efca=_0x3255df[_0x50bcf3(0x32b)])==null?void 0x0:_0x80efca[_0x5c68c7];_0x25bc02!==void 0x0&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)][_0x50bcf3(0x4e6)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),_0x50bcf3(0x32b),_0x5c68c7],_0x25bc02));let _0x5b1668=_0x3255df[_0x50bcf3(0x30a)]?{..._0x3255df[_0x50bcf3(0x30a)],'conditions':_0x3255df[_0x50bcf3(0x30a)][_0x50bcf3(0x323)]['filter'](_0x2bf6ba=>_0x2bf6ba[_0x50bcf3(0x400)]!==_0x5c68c7)}:_0x3255df['filter'];_0x5b1668&&_0x5b1668[_0x50bcf3(0x323)]['length']!==((_0xbaa75f=_0x3255df['filter'])==null?void 0x0:_0xbaa75f[_0x50bcf3(0x323)][_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this[_0x50bcf3(0x545)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),'filter'],_0x3255df[_0x50bcf3(0x30a)],_0x5b1668));let _0x198277=(_0x261dc7=_0x3255df['sort'])==null?void 0x0:_0x261dc7[_0x50bcf3(0x30a)](_0x17fea6=>_0x17fea6['fieldId']!==_0x5c68c7);_0x198277&&_0x198277[_0x50bcf3(0x46a)]!==((_0x4a6960=_0x3255df[_0x50bcf3(0x3c2)])==null?void 0x0:_0x4a6960[_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this[_0x50bcf3(0x545)]([..._0xe24ef3[_0x50bcf3(0x391)](_0x19354a,_0x3255df['id']),_0x50bcf3(0x3c2)],_0x3255df[_0x50bcf3(0x3c2)],_0x198277));let _0x4f513e=(_0x2126e1=_0x3255df[_0x50bcf3(0x2ab)])==null?void 0x0:_0x2126e1['filter'](_0x4de4eb=>_0x4de4eb[_0x50bcf3(0x400)]!==_0x5c68c7);_0x4f513e&&_0x4f513e[_0x50bcf3(0x46a)]!==((_0x4c4f98=_0x3255df['group'])==null?void 0x0:_0x4c4f98[_0x50bcf3(0x46a)])&&_0x73f2ff[_0x50bcf3(0x36c)](this['_replaceOptional']([..._0xe24ef3['view'](_0x19354a,_0x3255df['id']),_0x50bcf3(0x2ab)],_0x3255df['group'],_0x4f513e));let _0x14d8de=_0x1e818b(_0x3255df[_0x50bcf3(0x340)],_0x5c68c7);return JSON[_0x50bcf3(0x306)](_0x14d8de)!==JSON[_0x50bcf3(0x306)](_0x3255df['config'])&&_0x73f2ff[_0x50bcf3(0x36c)](_0x552f17[_0x50bcf3(0x4e7)]['replaceOp']([..._0xe24ef3['view'](_0x19354a,_0x3255df['id']),_0x50bcf3(0x340)],_0x3255df[_0x50bcf3(0x340)],_0x14d8de)),_0x73f2ff;}),_0x1ac1de=Object['values'](_0x4609bd['records'])[_0x24e1f7(0x4a0)](_0x4e84d7=>Object[_0x24e1f7(0x16e)][_0x24e1f7(0x3d8)][_0x24e1f7(0x30e)](_0x4e84d7[_0x24e1f7(0x4d1)],_0x5c68c7)?[_0x552f17[_0x24e1f7(0x4e7)][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x164)](_0x19354a,_0x4e84d7['id'],_0x5c68c7),_0x4e84d7['values'][_0x5c68c7])]:[]);return _0x4c4822([_0x552f17[_0x24e1f7(0x4e7)][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x420)](_0x19354a,_0x5c68c7),_0x4609bd[_0x24e1f7(0x3ec)][_0x5c68c7]),_0x552f17['JSON1'][_0x24e1f7(0x4e6)](_0xe24ef3[_0x24e1f7(0x151)](_0x19354a,_0x41872c),_0x5c68c7),..._0x2da740,..._0x1ac1de,...this[_0x24e1f7(0x42e)](_0x4609bd,_0x19354a,_0x161b18=>_0x161b18['startsWith'](_0x5c68c7+'\x1f'))]);}['moveField'](_0x2ad5f4,_0xa48ad3,_0x4500f6,_0x536d0d){const _0x43cbd1=_0x5b4d61;let _0x1cebc6=_0x2ad5f4['tables'][_0xa48ad3][_0x43cbd1(0x151)];if(_0x4500f6===_0x552f17[_0x43cbd1(0x316)]||_0x536d0d[_0x43cbd1(0x4aa)]===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x43cbd1(0x3b8));let _0x39de29=_0x8a1522(_0x1cebc6,_0x4500f6,_0x536d0d);return _0x552f17[_0x43cbd1(0x4e7)][_0x43cbd1(0x338)]([_0x43cbd1(0x1e1),_0xa48ad3,_0x43cbd1(0x151)],_0x1cebc6,_0x39de29);}[_0x5b4d61(0x27e)](_0x58a2ad,_0x7c273d,_0x3c982c,_0x449f35=_0x58a2ad[_0x5b4d61(0x1e1)][_0x7c273d][_0x5b4d61(0x4ef)][_0x5b4d61(0x46a)]){const _0x434cd7=_0x5b4d61;return _0x4c4822([_0x552f17[_0x434cd7(0x4e7)][_0x434cd7(0x4e3)](_0xe24ef3['view'](_0x7c273d,_0x3c982c['id']),_0x3c982c),_0x552f17[_0x434cd7(0x4e7)][_0x434cd7(0x4e3)]([_0x434cd7(0x1e1),_0x7c273d,_0x434cd7(0x4ef),_0x449f35],_0x3c982c['id'])]);}['renameView'](_0xc04768,_0x9609fd,_0xeea236,_0x33dae6){const _0xd4bf97=_0x5b4d61;return _0x552f17[_0xd4bf97(0x4e7)][_0xd4bf97(0x338)]([..._0xe24ef3[_0xd4bf97(0x391)](_0x9609fd,_0xeea236),_0xd4bf97(0x288)],_0xc04768[_0xd4bf97(0x1e1)][_0x9609fd][_0xd4bf97(0x2ea)][_0xeea236][_0xd4bf97(0x288)],_0x33dae6);}[_0x5b4d61(0x3da)](_0xe6d2eb,_0x11dca5,_0xbb2e25){const _0x2fe6ca=_0x5b4d61;let _0x53bd44=_0xe6d2eb['tables'][_0x11dca5],_0x1a4b6f=_0x53bd44[_0x2fe6ca(0x2ea)][_0xbb2e25],_0x130ec3=_0x53bd44['viewOrder'][_0x2fe6ca(0x462)](_0xbb2e25);return _0x4c4822([_0x552f17['JSON1']['removeOp'](_0xe24ef3[_0x2fe6ca(0x391)](_0x11dca5,_0xbb2e25),_0x1a4b6f),_0x552f17[_0x2fe6ca(0x4e7)]['removeOp']([_0x2fe6ca(0x1e1),_0x11dca5,'viewOrder',_0x130ec3],_0xbb2e25)]);}['moveView'](_0x166f58,_0x55cd90,_0xef5d7e,_0x189dab){const _0x4224fe=_0x5b4d61;let _0x593c47=_0x166f58[_0x4224fe(0x1e1)][_0x55cd90]['viewOrder'],_0x573035=_0x8a1522(_0x593c47,_0xef5d7e,{'beforeFieldId':_0x189dab[_0x4224fe(0x173)],'afterFieldId':_0x189dab[_0x4224fe(0x3cf)]});return _0x552f17[_0x4224fe(0x4e7)][_0x4224fe(0x338)]([_0x4224fe(0x1e1),_0x55cd90,'viewOrder'],_0x593c47,_0x573035);}[_0x5b4d61(0x14e)](_0x467ad7,_0x28b53c,_0x163254,_0x151ee6){const _0x47c8ff=_0x5b4d61;let _0x324d79=_0x467ad7[_0x47c8ff(0x1e1)][_0x28b53c][_0x47c8ff(0x2ea)][_0x163254]['config']??{},_0x33da89={..._0x324d79,..._0x151ee6};return Object['keys'](_0x151ee6)['forEach'](_0x400783=>{_0x151ee6[_0x400783]===void 0x0&&delete _0x33da89[_0x400783];}),_0x552f17['JSON1'][_0x47c8ff(0x338)]([..._0xe24ef3[_0x47c8ff(0x391)](_0x28b53c,_0x163254),_0x47c8ff(0x340)],_0x324d79,_0x33da89);}[_0x5b4d61(0x190)](_0x442563,_0x312beb,_0x442a26,_0x54d420){const _0x25c81a=_0x5b4d61;return this[_0x25c81a(0x545)]([..._0xe24ef3[_0x25c81a(0x391)](_0x312beb,_0x442a26),'filter'],_0x442563['tables'][_0x312beb][_0x25c81a(0x2ea)][_0x442a26]['filter'],_0x54d420);}['setViewSort'](_0x3b584b,_0x2e2e03,_0x18bea4,_0x311d08){const _0x333ffd=_0x5b4d61;return this['_replaceOptional']([..._0xe24ef3[_0x333ffd(0x391)](_0x2e2e03,_0x18bea4),_0x333ffd(0x3c2)],_0x3b584b[_0x333ffd(0x1e1)][_0x2e2e03][_0x333ffd(0x2ea)][_0x18bea4][_0x333ffd(0x3c2)],_0x311d08);}[_0x5b4d61(0x475)](_0x469fe2,_0x3d458b,_0x364c2a,_0x501741){const _0x1f6fa9=_0x5b4d61;return this['_replaceOptional']([..._0xe24ef3[_0x1f6fa9(0x391)](_0x3d458b,_0x364c2a),_0x1f6fa9(0x2ab)],_0x469fe2[_0x1f6fa9(0x1e1)][_0x3d458b][_0x1f6fa9(0x2ea)][_0x364c2a][_0x1f6fa9(0x2ab)],_0x501741);}[_0x5b4d61(0x366)](_0x4917eb,_0x8bb659,_0x584d1c,_0x388a39,_0x1d1fdc){const _0x2f6fea=_0x5b4d61;return this[_0x2f6fea(0x1fc)](_0x4917eb,_0x8bb659,_0x584d1c,_0x388a39,{'hidden':!_0x1d1fdc});}[_0x5b4d61(0x3de)](_0x51ec44,_0x18f548,_0x2e59ac,_0x35c536,_0x18e4e3){const _0x5b8e8c=_0x5b4d61;return this[_0x5b8e8c(0x1fc)](_0x51ec44,_0x18f548,_0x2e59ac,_0x35c536,{'width':_0x18e4e3});}[_0x5b4d61(0x509)](_0x167960,_0x53ed7f,_0x6cd8fc,_0x4c2afd,_0x21673c){const _0xa0fa16=_0x5b4d61;let _0x557159=_0x167960['tables'][_0x53ed7f]['views'][_0x6cd8fc],_0x4afc00=_0x8a1522(_0x557159[_0xa0fa16(0x151)]??_0x167960[_0xa0fa16(0x1e1)][_0x53ed7f][_0xa0fa16(0x151)],_0x4c2afd,_0x21673c);return this[_0xa0fa16(0x545)]([..._0xe24ef3[_0xa0fa16(0x391)](_0x53ed7f,_0x6cd8fc),'fieldOrder'],_0x557159[_0xa0fa16(0x151)],_0x4afc00);}[_0x5b4d61(0x1fc)](_0x1e8cbe,_0x987e33,_0x38caf1,_0x328a3f,_0x36e27b){const _0x337cf7=_0x5b4d61;let _0x5df889=_0x1e8cbe[_0x337cf7(0x1e1)][_0x987e33][_0x337cf7(0x2ea)][_0x38caf1]['fieldSettings']??{},_0x38217c={..._0x5df889,[_0x328a3f]:{..._0x5df889[_0x328a3f],..._0x36e27b}};return this['_replaceOptional']([..._0xe24ef3[_0x337cf7(0x391)](_0x987e33,_0x38caf1),_0x337cf7(0x32b)],_0x1e8cbe[_0x337cf7(0x1e1)][_0x987e33][_0x337cf7(0x2ea)][_0x38caf1][_0x337cf7(0x32b)],_0x38217c);}[_0x5b4d61(0x256)](_0x360ad9,_0x41362d,_0xd0ecbc){const _0x23778d=_0x5b4d61;let _0x41c343=_0x360ad9[_0x23778d(0x1e1)][_0x41362d],_0x59f3aa=new Set(_0xd0ecbc['map'](_0x5477b4=>_0x5477b4['id'])),_0x330a8f=[...Object['values'](_0x41c343[_0x23778d(0x29e)])[_0x23778d(0x30a)](_0x4afb54=>!_0x59f3aa[_0x23778d(0x1d8)](_0x4afb54['id'])),..._0xd0ecbc][_0x23778d(0x3c2)]((_0x2a097e,_0x634a1b)=>String(_0x2a097e['orderKey']??_0x2a097e['id'])['localeCompare'](String(_0x634a1b[_0x23778d(0x12f)]??_0x634a1b['id'])))[_0x23778d(0x3ab)](_0x4b36c4=>_0x4b36c4['id']),_0x34cec0=[..._0xe24ef3['table'](_0x41362d),'recordOrder'];return _0x41c343[_0x23778d(0x52a)]?_0x552f17[_0x23778d(0x4e7)]['replaceOp'](_0x34cec0,_0x41c343['recordOrder'],_0x330a8f):_0x552f17[_0x23778d(0x4e7)][_0x23778d(0x4e3)](_0x34cec0,_0x330a8f);}['_materializeFormulaTableNames'](_0x4fb58b,_0x4d483c=new Set()){const _0x3732d2=_0x5b4d61;let _0x3dccf5=(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x4fb58b);return Object['values'](_0x4fb58b[_0x3732d2(0x1e1)])[_0x3732d2(0x30a)](_0xc7a6bd=>!_0x4d483c[_0x3732d2(0x1d8)](_0xc7a6bd['id']))['sort']((_0x49ba8a,_0x31ca34)=>_0x49ba8a['id'][_0x3732d2(0x2f1)](_0x31ca34['id']))[_0x3732d2(0x4a0)](_0x2bd52d=>{const _0x3c5965=_0x3732d2;let _0x2ed9d1=_0x3dccf5[_0x3c5965(0x3a4)](_0x2bd52d['id']);return!_0x2ed9d1||_0x2bd52d['formulaName']===_0x2ed9d1?[]:[this[_0x3c5965(0x545)]([..._0xe24ef3[_0x3c5965(0x481)](_0x2bd52d['id']),_0x3c5965(0x452)],_0x2bd52d['formulaName'],_0x2ed9d1)];});}['_setFormulaFieldCells'](_0x45e276,_0x1b536e,_0x266df4,_0xa5dea1){const _0x56998a=_0x5b4d61;var _0x1e70cc,_0x555b88;let _0x32b81d=_0x2c21a9(_0x45e276[_0x56998a(0x1e1)][_0x1b536e]),_0x400752=String(((_0x1e70cc=_0xa5dea1['config'])==null?void 0x0:_0x1e70cc['formula'])??'')[_0x56998a(0x104)](),_0x32e00a=(_0x555b88=_0x32b81d[_0x56998a(0x4ee)])==null?void 0x0:_0x555b88[_0x266df4];if(_0x32e00a==null)return[];let _0x58faa0=_0x32b81d[_0x56998a(0x52a)]??Object[_0x56998a(0x1bd)](_0x32b81d[_0x56998a(0x29e)]),_0x40a771=_0x58faa0['map'](_0x2cecab=>{const _0x11ea2f=_0x56998a;var _0x42875d;return(_0x42875d=_0x32b81d[_0x11ea2f(0x1a0)])==null?void 0x0:_0x42875d[_0x2cecab];})[_0x56998a(0x2f8)](_0x476321=>_0x476321!=null);return _0x58faa0['flatMap'](_0x528ac2=>{const _0xb4d5a8=_0x56998a;var _0x369506,_0x3b1c68;let _0x1f4861=(_0x369506=_0x32b81d[_0xb4d5a8(0x1a0)])==null?void 0x0:_0x369506[_0x528ac2];if(_0x1f4861==null)return[];let _0x473881=(_0x3b1c68=_0x32b81d['cellData'])==null||(_0x3b1c68=_0x3b1c68[_0x1f4861])==null?void 0x0:_0x3b1c68[_0x32e00a],_0x2377f1=_0x400752?_0x1f4861===_0x40a771?{'f':_0x400752,'si':_0x266df4}:{'si':_0x266df4}:{'v':null,'t':null};return[this[_0xb4d5a8(0x545)](_0xe24ef3['cellData'](_0x1b536e,_0x1f4861,_0x32e00a),_0x473881,_0x2377f1)];});}['_setAttachmentResources'](_0x5e15f2,_0x44a6b2,_0x1e3db5){const _0x4d2f5e=_0x5b4d61;var _0x4b8dad;let _0x4f4977=new Map(Object[_0x4d2f5e(0x21f)](((_0x4b8dad=_0x5e15f2[_0x4d2f5e(0x336)])==null?void 0x0:_0x4b8dad[_0x4d2f5e(0x399)])??{})),_0x34b0f0=new Map(),_0xfd537f=new Set(),_0x5daa03=_0x1e3db5[_0x4d2f5e(0x3ab)](({recordId:_0x23c92b,fieldId:_0x38b405,attachments:_0x59a35e})=>{const _0x106279=_0x4d2f5e;var _0x335b87;let _0x5294fd=_0x4f2639(_0x38b405,_0x23c92b),_0xd82b30=_0x59a35e['map']((_0x25b5dc,_0x778f6f)=>String(_0x25b5dc['id']??_0x5294fd+'\x1f'+_0x778f6f));return _0xfd537f['add'](_0x5294fd),_0x4f4977[_0x106279(0x3e9)](_0x5294fd,_0xd82b30),_0x59a35e[_0x106279(0x116)]((_0x2f268d,_0xc43e11)=>{const _0x571140=_0x106279;let _0x3d1181=_0xd82b30[_0xc43e11];_0x34b0f0[_0x571140(0x3e9)](_0x3d1181,{..._0x2f268d,'id':_0x3d1181});}),this[_0x106279(0x545)](_0xe24ef3['attachmentSet'](_0x44a6b2,_0x5294fd),(_0x335b87=_0x5e15f2[_0x106279(0x336)])==null||(_0x335b87=_0x335b87[_0x106279(0x399)])==null?void 0x0:_0x335b87[_0x5294fd],_0xd82b30);}),_0x875e98=Array[_0x4d2f5e(0x1c0)](_0x34b0f0)[_0x4d2f5e(0x3ab)](([_0x3a1f5b,_0x27e32c])=>{const _0x29ed5f=_0x4d2f5e;var _0x458f94;return this[_0x29ed5f(0x545)](_0xe24ef3[_0x29ed5f(0x454)](_0x44a6b2,_0x3a1f5b),(_0x458f94=_0x5e15f2[_0x29ed5f(0x336)])==null||(_0x458f94=_0x458f94['attachments'])==null?void 0x0:_0x458f94[_0x3a1f5b],_0x27e32c);}),_0x5dbb08=new Set(Array[_0x4d2f5e(0x1c0)](_0x4f4977[_0x4d2f5e(0x4d1)]())[_0x4d2f5e(0x4f9)]()),_0x405362=new Set(Array[_0x4d2f5e(0x1c0)](_0xfd537f)['flatMap'](_0x39a736=>{const _0x76530f=_0x4d2f5e;var _0x2e55f4;return((_0x2e55f4=_0x5e15f2['resources'])==null||(_0x2e55f4=_0x2e55f4[_0x76530f(0x399)])==null?void 0x0:_0x2e55f4[_0x39a736])??[];})),_0x4cf25c=Array[_0x4d2f5e(0x1c0)](_0x405362)[_0x4d2f5e(0x4a0)](_0x553acb=>{const _0x57b40b=_0x4d2f5e;var _0x2ad3c5;let _0x9459c1=(_0x2ad3c5=_0x5e15f2[_0x57b40b(0x336)])==null||(_0x2ad3c5=_0x2ad3c5['attachments'])==null?void 0x0:_0x2ad3c5[_0x553acb];return _0x9459c1!==void 0x0&&!_0x5dbb08[_0x57b40b(0x1d8)](_0x553acb)?[_0x552f17[_0x57b40b(0x4e7)][_0x57b40b(0x4e6)](_0xe24ef3[_0x57b40b(0x454)](_0x44a6b2,_0x553acb),_0x9459c1)]:[];});return[..._0x5daa03,..._0x875e98,..._0x4cf25c];}[_0x5b4d61(0x42e)](_0x1258b0,_0x3ef0ad,_0x3d27ea){const _0x2a639b=_0x5b4d61;var _0x24355f;let _0x4bc806=((_0x24355f=_0x1258b0[_0x2a639b(0x336)])==null?void 0x0:_0x24355f[_0x2a639b(0x399)])??{},_0x343be7=Object[_0x2a639b(0x21f)](_0x4bc806)[_0x2a639b(0x30a)](([_0x245cec])=>_0x3d27ea(_0x245cec));if(!_0x343be7[_0x2a639b(0x46a)])return[];let _0x418f87=new Set(Object[_0x2a639b(0x21f)](_0x4bc806)[_0x2a639b(0x30a)](([_0x5b7a69])=>!_0x3d27ea(_0x5b7a69))[_0x2a639b(0x4a0)](([,_0x2e0f47])=>_0x2e0f47)),_0xd688ef=new Set(_0x343be7[_0x2a639b(0x4a0)](([,_0x27a253])=>_0x27a253));return[..._0x343be7[_0x2a639b(0x3ab)](([_0x18fd76,_0xb6a9e8])=>_0x552f17['JSON1']['removeOp'](_0xe24ef3[_0x2a639b(0x4ca)](_0x3ef0ad,_0x18fd76),_0xb6a9e8)),...Array['from'](_0xd688ef)[_0x2a639b(0x4a0)](_0x1d00c8=>{const _0x328387=_0x2a639b;var _0x2b0276;let _0x1b7d93=(_0x2b0276=_0x1258b0[_0x328387(0x336)])==null||(_0x2b0276=_0x2b0276['attachments'])==null?void 0x0:_0x2b0276[_0x1d00c8];return _0x1b7d93!==void 0x0&&!_0x418f87[_0x328387(0x1d8)](_0x1d00c8)?[_0x552f17[_0x328387(0x4e7)][_0x328387(0x4e6)](_0xe24ef3[_0x328387(0x454)](_0x3ef0ad,_0x1d00c8),_0x1b7d93)]:[];})];}[_0x5b4d61(0x545)](_0xd9bcb5,_0x353667,_0x560848){const _0x126893=_0x5b4d61;return _0x353667===void 0x0?_0x552f17[_0x126893(0x4e7)][_0x126893(0x4e3)](_0xd9bcb5,_0x560848):_0x552f17[_0x126893(0x4e7)][_0x126893(0x338)](_0xd9bcb5,_0x353667,_0x560848);}};function _0x2606d2(_0x564f10,_0x475ccb,_0x3707f3,_0x38633e){const _0x1d0ef8=_0x5b4d61;var _0x2e9e34;let _0x3dd009=_0x38633e['type'];if(_0x3707f3[_0x1d0ef8(0x4cd)]!==_0x3dd009||_0x3dd009!==_0x552f17[_0x1d0ef8(0x22d)][_0x1d0ef8(0x38b)]&&_0x3dd009!==_0x552f17['BaseFieldType']['MultiSelect']||_0x4fd9a0(_0x38633e['config'][_0x1d0ef8(0x2f9)]))return{'field':_0x38633e,'patches':[]};let _0x2c97f3=_0x4bb585(_0x3707f3),_0x2fac0d=_0x4bb585(_0x38633e);if(![..._0x2c97f3][_0x1d0ef8(0x166)](_0x29a2a1=>!_0x2fac0d[_0x1d0ef8(0x1d8)](_0x29a2a1)))return{'field':_0x38633e,'patches':[]};let _0x115c54=_0x405f13(_0x38633e['defaultValue'],_0x2fac0d,_0x3dd009),_0x397a5b=_0x384d59(_0x115c54,_0x38633e[_0x1d0ef8(0x3dc)])?_0x38633e:{..._0x38633e,'defaultValue':_0x115c54},_0x153a27=_0x2c21a9(_0x564f10),_0x594a7=(_0x2e9e34=_0x153a27[_0x1d0ef8(0x4ee)])==null?void 0x0:_0x2e9e34[_0x475ccb];return _0x594a7==null?{'field':_0x397a5b,'patches':[]}:{'field':_0x397a5b,'patches':(_0x153a27['recordOrder']??[])[_0x1d0ef8(0x4a0)](_0x5afb1e=>{const _0x2e74f8=_0x1d0ef8;var _0x5ac280,_0x2ccc6b;let _0x218661=(_0x5ac280=_0x153a27[_0x2e74f8(0x1a0)])==null?void 0x0:_0x5ac280[_0x5afb1e],_0x5cce9f=(_0x2ccc6b=_0x153a27[_0x2e74f8(0x29e)][_0x5afb1e])==null?void 0x0:_0x2ccc6b[_0x2e74f8(0x4d1)][_0x475ccb],_0x14994a=_0x405f13(_0x5cce9f,_0x2fac0d,_0x3dd009);return _0x218661==null||_0x384d59(_0x14994a,_0x5cce9f)?[]:[{'row':_0x218661,'col':_0x594a7,'value':_0x14994a??null}];})};}function _0x4fd9a0(_0x1c4075){const _0x5577ab=_0x5b4d61;return typeof _0x1c4075=='object'&&!!_0x1c4075&&_0x5577ab(0x4cd)in _0x1c4075&&_0x1c4075[_0x5577ab(0x4cd)]===_0x5577ab(0x420);}function _0x4bb585(_0x2860db){const _0x5581cb=_0x5b4d61;var _0x4bdee3;let _0x303fa6=Array[_0x5581cb(0x3bc)]((_0x4bdee3=_0x2860db[_0x5581cb(0x340)])==null?void 0x0:_0x4bdee3['options'])?_0x2860db[_0x5581cb(0x340)][_0x5581cb(0x3ef)]:[];return new Set(_0x303fa6['flatMap'](_0x361b6a=>{const _0x855497=_0x5581cb;if(!_0x361b6a||typeof _0x361b6a!=_0x855497(0x434)||!('id'in _0x361b6a))return[];let _0x18bcec=String(_0x361b6a['id']);return _0x18bcec?[_0x18bcec]:[];}));}function _0x405f13(_0xb77ef0,_0x304e91,_0x40cb4b){const _0x35f084=_0x5b4d61;if(_0xb77ef0==null||_0xb77ef0==='')return _0xb77ef0;if(_0x40cb4b===_0x552f17[_0x35f084(0x22d)][_0x35f084(0x38b)])return _0x304e91[_0x35f084(0x1d8)](String(_0xb77ef0))?_0xb77ef0:null;let _0x2b7d39=Array['isArray'](_0xb77ef0)?_0xb77ef0[_0x35f084(0x3ab)](String):String(_0xb77ef0)[_0x35f084(0x1a2)](',')[_0x35f084(0x3ab)](_0x27dfdc=>_0x27dfdc[_0x35f084(0x104)]())['filter'](Boolean),_0x5db757=_0x2b7d39[_0x35f084(0x30a)](_0x5562c4=>_0x304e91['has'](_0x5562c4));return _0x5db757[_0x35f084(0x46a)]===_0x2b7d39['length']?_0xb77ef0:Array[_0x35f084(0x3bc)](_0xb77ef0)?_0x5db757:String(_0xb77ef0)[_0x35f084(0x396)](',')?_0x5db757[_0x35f084(0x53f)](','):_0x5db757[0x0]??[];}function _0x384d59(_0x52cc5a,_0x1ed0d7){const _0x48dc1d=_0x5b4d61;return JSON[_0x48dc1d(0x306)](_0x52cc5a)===JSON[_0x48dc1d(0x306)](_0x1ed0d7);}function _0x33b7e1(_0x19437a,_0x34fe47,_0x5565ce){const _0x583ebf=_0x5b4d61;var _0x704c2b,_0x1907ab,_0x1f38d3,_0x4dd94f;let _0x1aa98a=(_0x704c2b=_0x19437a[_0x583ebf(0x1a0)])==null?void 0x0:_0x704c2b[_0x34fe47],_0x3f9d64=(_0x1907ab=_0x19437a[_0x583ebf(0x4ee)])==null?void 0x0:_0x1907ab[_0x5565ce];return _0x1aa98a!=null&&_0x3f9d64!=null&&((_0x1f38d3=_0x19437a['rowId'])==null?void 0x0:_0x1f38d3[_0x1aa98a])===_0x34fe47&&((_0x4dd94f=_0x19437a[_0x583ebf(0x43a)])==null?void 0x0:_0x4dd94f[_0x3f9d64])===_0x5565ce&&_0x19437a[_0x583ebf(0x4af)]!=null;}function _0x467214(_0x2f52e9,_0x320ee8,_0x10d0ed){const _0x5ca249=_0x5b4d61;var _0x16d93d,_0x958f93;return((_0x16d93d=_0x2f52e9['rowId'])==null?void 0x0:_0x16d93d[_0x320ee8])!=null&&((_0x958f93=_0x2f52e9[_0x5ca249(0x43a)])==null?void 0x0:_0x958f93[_0x10d0ed])!=null&&_0x2f52e9[_0x5ca249(0x4af)]!=null;}function _0x8a1522(_0x4252cd,_0x42b3eb,_0x460f22){const _0x4586f5=_0x5b4d61;let _0x3a5e23=_0x4252cd[_0x4586f5(0x30a)](_0x332b37=>_0x332b37!==_0x42b3eb),_0x4a723a=_0x460f22[_0x4586f5(0x4aa)]?_0x3a5e23[_0x4586f5(0x462)](_0x460f22['beforeFieldId']):_0x460f22[_0x4586f5(0x337)]?_0x3a5e23[_0x4586f5(0x462)](_0x460f22[_0x4586f5(0x337)])+0x1:_0x3a5e23['length'];return _0x3a5e23[_0x4586f5(0x18c)](_0x4a723a<0x0?_0x3a5e23[_0x4586f5(0x46a)]:_0x4a723a,0x0,_0x42b3eb),_0x3a5e23;}function _0xc6859b(_0x4bfdf2,_0x4bccb7,_0x378ab1){const _0x2bb3ee=_0x5b4d61;let _0x3ea177=_0x4bfdf2['filter'](_0x5dabce=>_0x5dabce!==_0x4bccb7);return _0x3ea177['splice'](_0x48fc83(_0x378ab1,_0x3ea177[_0x2bb3ee(0x46a)]),0x0,_0x4bccb7),_0x3ea177;}function _0x1e818b(_0x3d3343,_0x1a354c,_0x5f05d3){const _0x519efd=_0x5b4d61;if(Array[_0x519efd(0x3bc)](_0x3d3343))return _0x5f05d3===_0x519efd(0x301)?_0x3d3343[_0x519efd(0x30a)](_0x5e3205=>_0x5e3205!==_0x1a354c):_0x3d3343[_0x519efd(0x4a0)](_0x5ee4f7=>{const _0x4f74c1=_0x519efd;if(_0x5ee4f7&&typeof _0x5ee4f7=='object'&&!Array[_0x4f74c1(0x3bc)](_0x5ee4f7)&&_0x5ee4f7[_0x4f74c1(0x400)]===_0x1a354c)return[];let _0xf53e06=_0x1e818b(_0x5ee4f7,_0x1a354c);return _0xf53e06===void 0x0?[]:[_0xf53e06];});if(!_0x3d3343||typeof _0x3d3343!=_0x519efd(0x434))return _0x5f05d3!=null&&_0x5f05d3[_0x519efd(0x21c)](_0x519efd(0x50d))&&_0x3d3343===_0x1a354c?void 0x0:_0x3d3343;let _0x367c91=_0x3d3343;if(_0x367c91[_0x519efd(0x400)]!==_0x1a354c)return Object[_0x519efd(0x1b2)](Object['entries'](_0x367c91)[_0x519efd(0x4a0)](([_0x5af547,_0x117e16])=>{const _0x3b5c21=_0x519efd;if(_0x5af547===_0x1a354c&&_0x5f05d3===_0x3b5c21(0x32b))return[];let _0x3c727b=_0x1e818b(_0x117e16,_0x1a354c,_0x5af547);return _0x3c727b===void 0x0?[]:[[_0x5af547,_0x3c727b]];}));}function _0x48fc83(_0x54b70d,_0x8b56ff){const _0x291169=_0x5b4d61;return Math[_0x291169(0x3bd)](0x0,Math[_0x291169(0x3b5)](_0x54b70d,_0x8b56ff));}function _0x1a2235(_0x40050f){'@babel/helpers - typeof';const _0x51efe=_0x5b4d61;return _0x1a2235=typeof Symbol=='function'&&typeof Symbol[_0x51efe(0x3b4)]=='symbol'?function(_0xf71f66){return typeof _0xf71f66;}:function(_0x5e22a1){const _0x594be0=_0x51efe;return _0x5e22a1&&typeof Symbol==_0x594be0(0x152)&&_0x5e22a1[_0x594be0(0x52b)]===Symbol&&_0x5e22a1!==Symbol['prototype']?_0x594be0(0xfe):typeof _0x5e22a1;},_0x1a2235(_0x40050f);}function _0x5c2f8a(_0x6accb7,_0x3362c4){const _0x253a5d=_0x5b4d61;if(_0x1a2235(_0x6accb7)!='object'||!_0x6accb7)return _0x6accb7;var _0x394329;if(typeof Symbol<'u'&&(_0x394329=_0x6accb7[Symbol['toPrimitive']])!==void 0x0){var _0x3fe5a9=_0x394329[_0x253a5d(0x30e)](_0x6accb7,_0x3362c4||_0x253a5d(0x502));if(_0x1a2235(_0x3fe5a9)!=_0x253a5d(0x434))return _0x3fe5a9;throw TypeError(_0x253a5d(0x2ca));}return(_0x3362c4===_0x253a5d(0x525)?String:Number)(_0x6accb7);}function _0x4e47e5(_0x59185d){const _0xfe5959=_0x5b4d61;var _0x33bad2=_0x5c2f8a(_0x59185d,_0xfe5959(0x525));return _0x1a2235(_0x33bad2)=='symbol'?_0x33bad2:_0x33bad2+'';}function _0x53a461(_0x226194,_0x5cea35,_0x268235){const _0x3d9005=_0x5b4d61;return(_0x5cea35=_0x4e47e5(_0x5cea35))in _0x226194?Object[_0x3d9005(0x257)](_0x226194,_0x5cea35,{'value':_0x268235,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x226194[_0x5cea35]=_0x268235,_0x226194;}let _0x430fbe=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x28b));var _0x3b8919=class extends _0x552f17['Disposable']{constructor(..._0x369a7e){super(..._0x369a7e),_0x53a461(this,'_plugins',new Map());}[_0x5b4d61(0x30f)](_0x3f0c8a){const _0xb15288=_0x5b4d61;return this[_0xb15288(0x1b3)]['set'](_0x3f0c8a['type'],_0x3f0c8a),(0x0,_0x552f17[_0xb15288(0x404)])(()=>this[_0xb15288(0x1b3)]['delete'](_0x3f0c8a['type']));}[_0x5b4d61(0x3a4)](_0x4fe266){const _0x86a70a=_0x5b4d61;let _0x1d5484=this['_plugins']['get'](_0x4fe266);if(!_0x1d5484)throw Error(_0x86a70a(0x503)+_0x4fe266+_0x86a70a(0x29c));return _0x1d5484;}['getTypePlugin'](_0x2b5f30){const _0xf3c302=_0x5b4d61;return this['_plugins'][_0xf3c302(0x3a4)](_0x2b5f30);}[_0x5b4d61(0x2e6)](){const _0x460103=_0x5b4d61;return Array[_0x460103(0x1c0)](this[_0x460103(0x1b3)]['values']());}},_0x2d1d00=class{constructor(_0x483790){const _0x1336b8=_0x5b4d61;this[_0x1336b8(0x36f)]=_0x483790,_0x53a461(this,_0x1336b8(0x4cd),_0x4b2dcb[_0x1336b8(0x2af)][_0x1336b8(0x3c6)]),_0x53a461(this,_0x1336b8(0x2e5),_0x4b2dcb['UnitAction']['Comment']),_0x53a461(this,_0x1336b8(0x459),_0x552f17[_0x1336b8(0x2b6)][_0x1336b8(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x1336b8(0x2e5)]+'_'+_0x483790;}},_0x4f6c00=class{constructor(_0x4e9ae6){const _0x16bb00=_0x5b4d61;this['unitId']=_0x4e9ae6,_0x53a461(this,_0x16bb00(0x4cd),_0x4b2dcb[_0x16bb00(0x2af)][_0x16bb00(0x3c6)]),_0x53a461(this,_0x16bb00(0x2e5),_0x4b2dcb[_0x16bb00(0x370)]['Copy']),_0x53a461(this,_0x16bb00(0x459),_0x552f17[_0x16bb00(0x2b6)][_0x16bb00(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x16bb00(0x2e2),!0x0),this['id']=this[_0x16bb00(0x4cd)]+'.'+this['subType']+'_'+_0x4e9ae6;}},_0x47c2c0=class{constructor(_0x11c3a3){const _0x27b0f3=_0x5b4d61;this[_0x27b0f3(0x36f)]=_0x11c3a3,_0x53a461(this,_0x27b0f3(0x4cd),_0x4b2dcb[_0x27b0f3(0x2af)]['Base']),_0x53a461(this,_0x27b0f3(0x2e5),_0x4b2dcb[_0x27b0f3(0x370)][_0x27b0f3(0x521)]),_0x53a461(this,'status',_0x552f17['PermissionStatus']['INIT']),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x27b0f3(0x4cd)]+'.'+this[_0x27b0f3(0x2e5)]+'_'+_0x11c3a3;}},_0x56449c=class{constructor(_0x137e72){const _0x91ed4f=_0x5b4d61;this[_0x91ed4f(0x36f)]=_0x137e72,_0x53a461(this,_0x91ed4f(0x4cd),_0x4b2dcb[_0x91ed4f(0x2af)][_0x91ed4f(0x3c6)]),_0x53a461(this,_0x91ed4f(0x2e5),_0x4b2dcb['UnitAction'][_0x91ed4f(0x3f0)]),_0x53a461(this,'status',_0x552f17[_0x91ed4f(0x2b6)][_0x91ed4f(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x91ed4f(0x2e2),!0x0),this['id']=this[_0x91ed4f(0x4cd)]+'.'+this[_0x91ed4f(0x2e5)]+'_'+_0x137e72;}},_0x4b771b=class{constructor(_0x29017c,_0x158020){const _0x519373=_0x5b4d61;this[_0x519373(0x36f)]=_0x29017c,this[_0x519373(0x479)]=_0x158020,_0x53a461(this,_0x519373(0x4cd),_0x4b2dcb[_0x519373(0x2af)][_0x519373(0xfb)]),_0x53a461(this,_0x519373(0x2e5),_0x4b2dcb[_0x519373(0x370)][_0x519373(0x521)]),_0x53a461(this,_0x519373(0x459),_0x552f17['PermissionStatus'][_0x519373(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x519373(0x2e2),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x29017c+'_'+_0x158020;}},_0x2e35d0=class{constructor(_0x402728,_0x457133){const _0x50427c=_0x5b4d61;this[_0x50427c(0x36f)]=_0x402728,this[_0x50427c(0x479)]=_0x457133,_0x53a461(this,_0x50427c(0x4cd),_0x4b2dcb[_0x50427c(0x2af)][_0x50427c(0x2ce)]),_0x53a461(this,_0x50427c(0x2e5),_0x4b2dcb[_0x50427c(0x370)][_0x50427c(0x521)]),_0x53a461(this,_0x50427c(0x459),_0x552f17[_0x50427c(0x2b6)][_0x50427c(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x50427c(0x4cd)]+'.'+this[_0x50427c(0x2e5)]+'_'+_0x402728+'_'+_0x457133;}},_0x524a17=class{constructor(_0x3c46b4,_0x2c38fc){const _0x10c814=_0x5b4d61;this[_0x10c814(0x36f)]=_0x3c46b4,this[_0x10c814(0x479)]=_0x2c38fc,_0x53a461(this,_0x10c814(0x4cd),_0x4b2dcb['UnitObject'][_0x10c814(0x142)]),_0x53a461(this,'subType',_0x4b2dcb['UnitAction']['Edit']),_0x53a461(this,_0x10c814(0x459),_0x552f17[_0x10c814(0x2b6)][_0x10c814(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x10c814(0x4cd)]+'.'+this[_0x10c814(0x2e5)]+'_'+_0x3c46b4+'_'+_0x2c38fc;}},_0x392e0e=class{constructor(_0x248b36,_0x58bba6){const _0x412093=_0x5b4d61;this[_0x412093(0x36f)]=_0x248b36,this[_0x412093(0x479)]=_0x58bba6,_0x53a461(this,_0x412093(0x4cd),_0x4b2dcb[_0x412093(0x2af)][_0x412093(0x106)]),_0x53a461(this,_0x412093(0x2e5),_0x4b2dcb[_0x412093(0x370)][_0x412093(0x521)]),_0x53a461(this,_0x412093(0x459),_0x552f17['PermissionStatus'][_0x412093(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,'value',!0x0),this['id']=this[_0x412093(0x4cd)]+'.'+this['subType']+'_'+_0x248b36+'_'+_0x58bba6;}},_0x21b160=class{constructor(_0x563a0c,_0x187ecc){const _0x1a1dc8=_0x5b4d61;this[_0x1a1dc8(0x36f)]=_0x563a0c,this[_0x1a1dc8(0x479)]=_0x187ecc,_0x53a461(this,_0x1a1dc8(0x4cd),_0x4b2dcb[_0x1a1dc8(0x2af)]['BaseView']),_0x53a461(this,_0x1a1dc8(0x2e5),_0x4b2dcb[_0x1a1dc8(0x370)][_0x1a1dc8(0x521)]),_0x53a461(this,'status',_0x552f17['PermissionStatus'][_0x1a1dc8(0x473)]),_0x53a461(this,'id',void 0x0),_0x53a461(this,_0x1a1dc8(0x2e2),!0x0),this['id']=this[_0x1a1dc8(0x4cd)]+'.'+this[_0x1a1dc8(0x2e5)]+'_'+_0x563a0c+'_'+_0x187ecc;}};let _0x5a9423=[_0x4b2dcb[_0x5b4d61(0x370)][_0x5b4d61(0x521)],_0x4b2dcb[_0x5b4d61(0x370)][_0x5b4d61(0x2d2)],_0x4b2dcb['UnitAction'][_0x5b4d61(0x3f0)],_0x4b2dcb['UnitAction'][_0x5b4d61(0x419)]],_0x5743e3=new Set([_0x4b2dcb[_0x5b4d61(0x2af)]['Base'],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x106)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x2ce)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x142)],_0x4b2dcb[_0x5b4d61(0x2af)][_0x5b4d61(0x4e5)],_0x4b2dcb['UnitObject']['BaseDashboard']]),_0xce8fd8=_0x5b4d61(0x41c),_0x4685e1=_0x5b4d61(0x3a8),_0x19cd95='record/',_0x1ad3de=_0x5b4d61(0x4f5),_0x2dc479=_0x5b4d61(0x1f2);function _0x4da25b(_0x41fc25){return''+_0xce8fd8+encodeURIComponent(_0x41fc25);}function _0x33eab9(_0x149515,_0x306f31){return''+_0x4685e1+encodeURIComponent(_0x149515)+'/'+encodeURIComponent(_0x306f31);}function _0x398605(_0xfd3cc9,_0x4284dc){return''+_0x19cd95+encodeURIComponent(_0xfd3cc9)+'/'+encodeURIComponent(_0x4284dc);}function _0x4dab58(_0x78bdb,_0x20b86b){return''+_0x1ad3de+encodeURIComponent(_0x78bdb)+'/'+encodeURIComponent(_0x20b86b);}function _0x1aba91(_0x4af1b3){return''+_0x2dc479+encodeURIComponent(_0x4af1b3);}function _0x23ad78(_0x2909db,_0x4a56d5,_0x48fa8c){const _0x1eb7a5=_0x5b4d61;if(_0x4a56d5===_0x2909db)switch(_0x48fa8c){case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x521)]:return new _0x47c2c0(_0x2909db);case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x2d2)]:return new _0x4f6c00(_0x2909db);case _0x4b2dcb['UnitAction'][_0x1eb7a5(0x3f0)]:return new _0x56449c(_0x2909db);case _0x4b2dcb[_0x1eb7a5(0x370)][_0x1eb7a5(0x419)]:return new _0x2d1d00(_0x2909db);default:throw Error(_0x1eb7a5(0x361)+_0x48fa8c);}if(_0x48fa8c!==_0x4b2dcb['UnitAction']['Edit'])throw Error(_0x1eb7a5(0x2d4)+_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0xce8fd8))return new _0x392e0e(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x4685e1))return new _0x2e35d0(_0x2909db,_0x4a56d5);if(_0x4a56d5['startsWith'](_0x19cd95))return new _0x524a17(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x1ad3de))return new _0x21b160(_0x2909db,_0x4a56d5);if(_0x4a56d5[_0x1eb7a5(0x10a)](_0x2dc479))return new _0x4b771b(_0x2909db,_0x4a56d5);throw Error(_0x1eb7a5(0xf6)+_0x4a56d5);}function _0x25ff75(_0x574102,_0x7e0f86,_0x5a2b56,_0x23b111){const _0x38de1f=_0x5b4d61;var _0x128d35;return((_0x128d35=_0x574102[_0x38de1f(0x217)](_0x23ad78(_0x7e0f86,_0x5a2b56,_0x23b111)['id']))==null?void 0x0:_0x128d35[_0x38de1f(0x2e2)])??!0x0;}function _0x5bc309(_0x44e655,_0x3d6d39,_0x49b7c6,_0x206323,_0x36622a){const _0x4949b4=_0x5b4d61;let _0x28c9dc=_0x23ad78(_0x3d6d39,_0x49b7c6,_0x206323);_0x44e655['getPermissionPoint'](_0x28c9dc['id'])||_0x44e655[_0x4949b4(0x3e2)](_0x28c9dc),_0x44e655[_0x4949b4(0x423)](_0x28c9dc['id'],_0x36622a);}function _0x28c3d1(_0x1c95ea,_0x106346,_0x5c5476,_0x5143ba){const _0x2ca5e5=_0x5b4d61;_0x1c95ea[_0x2ca5e5(0x1ab)](_0x23ad78(_0x106346,_0x5c5476,_0x5143ba)['id']);}function _0x333239(_0x452c29,_0x21d205){const _0x1a6ae2=_0x5b4d61;_0x452c29[_0x1a6ae2(0x1cd)]()[_0x1a6ae2(0x116)]((_0x3be5fd,_0x11e007)=>{_0x3be5fd['subscribe'](_0x4e5d33=>{const _0x8858de=_0x152e;_0x5743e3[_0x8858de(0x1d8)](_0x4e5d33['type'])&&_0x8858de(0x36f)in _0x4e5d33&&_0x4e5d33[_0x8858de(0x36f)]===_0x21d205&&_0x452c29[_0x8858de(0x1ab)](_0x11e007);})['unsubscribe']();});}function _0x2bb373(_0x12c0d9,_0x49ee7a,_0x2bb00e){const _0x348dac=_0x5b4d61;return _0x25ff75(_0x12c0d9,_0x49ee7a,_0x49ee7a,_0x4b2dcb[_0x348dac(0x370)][_0x348dac(0x521)])&&Array['from'](_0x2bb00e)[_0x348dac(0x25e)](_0x1e498d=>_0x25ff75(_0x12c0d9,_0x49ee7a,_0x1e498d,_0x4b2dcb[_0x348dac(0x370)][_0x348dac(0x521)]));}function _0x8293b1(_0x1ae89f,_0x22d300){return function(_0x56095b,_0x529dc0){_0x22d300(_0x56095b,_0x529dc0,_0x1ae89f);};}function _0x3a99e3(_0x308ab8,_0x5ae6c8,_0x4d7666,_0x466f69){const _0x6f5cae=_0x5b4d61;var _0xc34f59=arguments[_0x6f5cae(0x46a)],_0x2d3ab7=_0xc34f59<0x3?_0x5ae6c8:_0x466f69===null?_0x466f69=Object['getOwnPropertyDescriptor'](_0x5ae6c8,_0x4d7666):_0x466f69,_0x282e16;if(typeof Reflect==_0x6f5cae(0x434)&&typeof Reflect[_0x6f5cae(0x10f)]==_0x6f5cae(0x152))_0x2d3ab7=Reflect[_0x6f5cae(0x10f)](_0x308ab8,_0x5ae6c8,_0x4d7666,_0x466f69);else{for(var _0x2ceb43=_0x308ab8['length']-0x1;_0x2ceb43>=0x0;_0x2ceb43--)(_0x282e16=_0x308ab8[_0x2ceb43])&&(_0x2d3ab7=(_0xc34f59<0x3?_0x282e16(_0x2d3ab7):_0xc34f59>0x3?_0x282e16(_0x5ae6c8,_0x4d7666,_0x2d3ab7):_0x282e16(_0x5ae6c8,_0x4d7666))||_0x2d3ab7);}return _0xc34f59>0x3&&_0x2d3ab7&&Object[_0x6f5cae(0x257)](_0x5ae6c8,_0x4d7666,_0x2d3ab7),_0x2d3ab7;}let _0x4c31db=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x297)),_0x142ec6=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x57fa48,_0x113dab){const _0x3d594e=_0x5b4d61;super(),this['_permissionService']=_0x57fa48,this['_instanceService']=_0x113dab,_0x53a461(this,'_basePermissions',new Map()),_0x53a461(this,_0x3d594e(0x158),new Map()),_0x53a461(this,_0x3d594e(0x136),new Map()),_0x53a461(this,_0x3d594e(0x4c2),new Map()),_0x53a461(this,'_viewPermissions',new Map()),_0x53a461(this,_0x3d594e(0x389),new Map()),this[_0x3d594e(0x313)](this[_0x3d594e(0x47f)][_0x3d594e(0x241)](_0x552f17[_0x3d594e(0x349)][_0x3d594e(0x1e2)])[_0x3d594e(0x189)](_0xbec31b=>this[_0x3d594e(0x4cb)](_0xbec31b['getUnitId']())));}[_0x5b4d61(0x474)](_0x387086){const _0x5adb8f=_0x5b4d61;var _0x400a6d;return this[_0x5adb8f(0x3ce)](_0x387086,[])&&(((_0x400a6d=this[_0x5adb8f(0x3cb)][_0x5adb8f(0x3a4)](_0x387086))==null?void 0x0:_0x400a6d['createTable'])??!0x0);}[_0x5b4d61(0x4dc)](_0x3ca0da){const _0x3e4336=_0x5b4d61;return this[_0x3e4336(0x52e)](_0x3ca0da);}[_0x5b4d61(0x15d)](_0x42aec8){const _0x33e084=_0x5b4d61;var _0x4e0570;return this[_0x33e084(0x52e)](_0x42aec8)&&(((_0x4e0570=this[_0x33e084(0x158)][_0x33e084(0x3a4)](_0x42aec8))==null?void 0x0:_0x4e0570[_0x33e084(0x1d6)])??!0x0);}[_0x5b4d61(0x19f)](_0x3e5c96){const _0x1f77b3=_0x5b4d61;var _0x1b2aa8;return this[_0x1f77b3(0x52e)](_0x3e5c96)&&(((_0x1b2aa8=this[_0x1f77b3(0x158)]['get'](_0x3e5c96))==null?void 0x0:_0x1b2aa8[_0x1f77b3(0x51e)])??!0x0);}[_0x5b4d61(0x4e8)](_0x2410bf,_0x3b2a54){const _0x281301=_0x5b4d61;var _0xfba0df;return this[_0x281301(0x52e)](_0x2410bf)&&this['_canEdit'](_0x2410bf,[_0x33eab9(_0x2410bf,_0x3b2a54)])&&(((_0xfba0df=this[_0x281301(0x136)][_0x281301(0x3a4)](_0x8557a9(_0x2410bf,_0x3b2a54)))==null?void 0x0:_0xfba0df[_0x281301(0x2aa)])??!0x0);}[_0x5b4d61(0x511)](_0x4cbbc7,_0x555ed0){const _0xd5ba87=_0x5b4d61;var _0x5ec9b6;return this['canEditField'](_0x4cbbc7,_0x555ed0)&&(((_0x5ec9b6=this[_0xd5ba87(0x136)]['get'](_0x8557a9(_0x4cbbc7,_0x555ed0)))==null?void 0x0:_0x5ec9b6[_0xd5ba87(0x1d6)])??!0x0);}[_0x5b4d61(0x28a)](_0x345cc5){const _0x41fd36=_0x5b4d61;var _0x27d2a8;return this[_0x41fd36(0x52e)](_0x345cc5)&&(((_0x27d2a8=this[_0x41fd36(0x158)][_0x41fd36(0x3a4)](_0x345cc5))==null?void 0x0:_0x27d2a8[_0x41fd36(0x3b7)])??!0x0);}[_0x5b4d61(0x103)](_0x30f21e,_0x3fd938){const _0x6366d5=_0x5b4d61;var _0x36b008;let _0x283796=this[_0x6366d5(0x4c2)][_0x6366d5(0x3a4)](_0x3b5897(_0x30f21e,_0x3fd938));return this[_0x6366d5(0x3ce)](_0x30f21e,[_0x4da25b(_0x30f21e),_0x398605(_0x30f21e,_0x3fd938)])&&(((_0x36b008=this[_0x6366d5(0x158)][_0x6366d5(0x3a4)](_0x30f21e))==null?void 0x0:_0x36b008[_0x6366d5(0x2aa)])??!0x0)&&((_0x283796==null?void 0x0:_0x283796[_0x6366d5(0x2aa)])??!0x0)&&((_0x283796==null?void 0x0:_0x283796[_0x6366d5(0x131)])??!0x0);}[_0x5b4d61(0x1cc)](_0x308d02,_0x5b9533){const _0x5551ec=_0x5b4d61;var _0x3270c9,_0x4c65e8,_0x3ead20;return this[_0x5551ec(0x3ce)](_0x308d02,[_0x4da25b(_0x308d02),_0x398605(_0x308d02,_0x5b9533)])&&(((_0x3270c9=this['_tablePermissions']['get'](_0x308d02))==null?void 0x0:_0x3270c9[_0x5551ec(0x2aa)])??!0x0)&&(((_0x4c65e8=this[_0x5551ec(0x4c2)][_0x5551ec(0x3a4)](_0x3b5897(_0x308d02,_0x5b9533)))==null?void 0x0:_0x4c65e8[_0x5551ec(0x2aa)])??!0x0)&&(((_0x3ead20=this[_0x5551ec(0x4c2)][_0x5551ec(0x3a4)](_0x3b5897(_0x308d02,_0x5b9533)))==null?void 0x0:_0x3ead20['delete'])??!0x0);}['canEditCell'](_0x502510,_0x4b9252,_0x5c372){const _0x51fde4=_0x5b4d61;var _0x2e29ea,_0x4e0bfd,_0x279248;let _0x20eaf3=this[_0x51fde4(0x136)][_0x51fde4(0x3a4)](_0x8557a9(_0x502510,_0x5c372));return this['_canEdit'](_0x502510,[_0x4da25b(_0x502510),_0x33eab9(_0x502510,_0x5c372),_0x398605(_0x502510,_0x4b9252)])&&(((_0x2e29ea=this[_0x51fde4(0x158)][_0x51fde4(0x3a4)](_0x502510))==null?void 0x0:_0x2e29ea[_0x51fde4(0x2aa)])??!0x0)&&(((_0x4e0bfd=this['_recordPermissions'][_0x51fde4(0x3a4)](_0x3b5897(_0x502510,_0x4b9252)))==null?void 0x0:_0x4e0bfd[_0x51fde4(0x2aa)])??!0x0)&&(((_0x279248=this[_0x51fde4(0x4c2)][_0x51fde4(0x3a4)](_0x3b5897(_0x502510,_0x4b9252)))==null?void 0x0:_0x279248[_0x51fde4(0x131)])??!0x0)&&((_0x20eaf3==null?void 0x0:_0x20eaf3[_0x51fde4(0x2aa)])??!0x0)&&((_0x20eaf3==null?void 0x0:_0x20eaf3[_0x51fde4(0x131)])??!0x0);}[_0x5b4d61(0x46c)](_0x3f39ce,_0x1923c4){const _0x33c4db=_0x5b4d61;var _0x5cbb33,_0x1b94a8,_0x56ea12;return this['_canEdit'](_0x3f39ce,[_0x4da25b(_0x3f39ce),_0x4dab58(_0x3f39ce,_0x1923c4)])&&(((_0x5cbb33=this[_0x33c4db(0x158)][_0x33c4db(0x3a4)](_0x3f39ce))==null?void 0x0:_0x5cbb33[_0x33c4db(0x2aa)])??!0x0)&&(((_0x1b94a8=this['_viewPermissions'][_0x33c4db(0x3a4)](_0x23dff7(_0x3f39ce,_0x1923c4)))==null?void 0x0:_0x1b94a8[_0x33c4db(0x2aa)])??!0x0)&&(((_0x56ea12=this[_0x33c4db(0x158)][_0x33c4db(0x3a4)](_0x3f39ce))==null?void 0x0:_0x56ea12['manageView'])??!0x0);}[_0x5b4d61(0x49b)](_0x3fdb1a,_0x530b9a){const _0x464add=_0x5b4d61;this[_0x464add(0x3cb)][_0x464add(0x3e9)](_0x3fdb1a,{...this[_0x464add(0x3cb)][_0x464add(0x3a4)](_0x3fdb1a),..._0x530b9a}),_0x530b9a[_0x464add(0x2aa)]!==void 0x0&&_0x5bc309(this['_permissionService'],_0x3fdb1a,_0x3fdb1a,_0x4b2dcb[_0x464add(0x370)]['Edit'],_0x530b9a['edit']);}[_0x5b4d61(0x1dd)](_0x3df413,_0x53869a){const _0x618ba9=_0x5b4d61;this[_0x618ba9(0x16a)](_0x3df413),this[_0x618ba9(0x158)][_0x618ba9(0x3e9)](_0x3df413,{...this[_0x618ba9(0x158)]['get'](_0x3df413),..._0x53869a}),this['_setObjectEdit'](_0x3df413,_0x4da25b(_0x3df413),_0x53869a[_0x618ba9(0x2aa)]);}[_0x5b4d61(0x27c)](_0x51583f,_0x445e0c,_0xf72fac){const _0x2d11b8=_0x5b4d61;this['_rememberTable'](_0x51583f);let _0x5b644d=_0x8557a9(_0x51583f,_0x445e0c);this[_0x2d11b8(0x136)][_0x2d11b8(0x3e9)](_0x5b644d,{...this[_0x2d11b8(0x136)][_0x2d11b8(0x3a4)](_0x5b644d),..._0xf72fac}),this['_setObjectEdit'](_0x51583f,_0x33eab9(_0x51583f,_0x445e0c),_0xf72fac[_0x2d11b8(0x2aa)]);}['setRecordPermission'](_0x1794c5,_0x27b025,_0x494e6e){const _0x587734=_0x5b4d61;this[_0x587734(0x16a)](_0x1794c5);let _0xd72d90=_0x3b5897(_0x1794c5,_0x27b025);this[_0x587734(0x4c2)][_0x587734(0x3e9)](_0xd72d90,{...this[_0x587734(0x4c2)]['get'](_0xd72d90),..._0x494e6e}),this[_0x587734(0x42d)](_0x1794c5,_0x398605(_0x1794c5,_0x27b025),_0x494e6e['edit']);}[_0x5b4d61(0x120)](_0x326171,_0x4f079c,_0x86ce64){const _0x2d54db=_0x5b4d61;this[_0x2d54db(0x16a)](_0x326171);let _0x202e18=_0x23dff7(_0x326171,_0x4f079c);this[_0x2d54db(0x47d)][_0x2d54db(0x3e9)](_0x202e18,{...this[_0x2d54db(0x47d)][_0x2d54db(0x3a4)](_0x202e18),..._0x86ce64}),this[_0x2d54db(0x42d)](_0x326171,_0x4dab58(_0x326171,_0x4f079c),_0x86ce64['edit']);}['clearBasePermission'](_0x5aa02d){const _0x19ff57=_0x5b4d61;this[_0x19ff57(0x3cb)][_0x19ff57(0x1d6)](_0x5aa02d),_0x28c3d1(this[_0x19ff57(0x289)],_0x5aa02d,_0x5aa02d,_0x4b2dcb[_0x19ff57(0x370)]['Edit']);}[_0x5b4d61(0x2cb)](_0x4e7047){const _0xf2e431=_0x5b4d61;this[_0xf2e431(0x158)]['delete'](_0x4e7047),this[_0xf2e431(0x54d)](_0x4e7047,_0x4da25b(_0x4e7047));}[_0x5b4d61(0x141)](_0x3e7678,_0x5b0796){const _0x5d9cff=_0x5b4d61;this[_0x5d9cff(0x136)][_0x5d9cff(0x1d6)](_0x8557a9(_0x3e7678,_0x5b0796)),this['_clearObjectEdit'](_0x3e7678,_0x33eab9(_0x3e7678,_0x5b0796));}[_0x5b4d61(0x449)](_0xf8881a,_0x3d8eb8){this['_recordPermissions']['delete'](_0x3b5897(_0xf8881a,_0x3d8eb8)),this['_clearObjectEdit'](_0xf8881a,_0x398605(_0xf8881a,_0x3d8eb8));}[_0x5b4d61(0x45b)](_0x33af0a,_0x2c58cc){const _0x210252=_0x5b4d61;this[_0x210252(0x47d)][_0x210252(0x1d6)](_0x23dff7(_0x33af0a,_0x2c58cc)),this[_0x210252(0x54d)](_0x33af0a,_0x4dab58(_0x33af0a,_0x2c58cc));}[_0x5b4d61(0x157)](){const _0x3c9768=_0x5b4d61;return{'bases':Object[_0x3c9768(0x1b2)](this[_0x3c9768(0x3cb)]),'tables':Object['fromEntries'](this[_0x3c9768(0x158)]),'fields':Object[_0x3c9768(0x1b2)](this[_0x3c9768(0x136)]),'records':Object[_0x3c9768(0x1b2)](this['_recordPermissions']),'views':Object[_0x3c9768(0x1b2)](this['_viewPermissions'])};}[_0x5b4d61(0x52e)](_0x2ef985){const _0x5dbc8e=_0x5b4d61;var _0x51128b;return this[_0x5dbc8e(0x3ce)](_0x2ef985,[_0x4da25b(_0x2ef985)])&&(((_0x51128b=this['_tablePermissions'][_0x5dbc8e(0x3a4)](_0x2ef985))==null?void 0x0:_0x51128b[_0x5dbc8e(0x2aa)])??!0x0);}[_0x5b4d61(0x3ce)](_0x12219b,_0x2a33eb){const _0x3c3264=_0x5b4d61;var _0x4a95a0;let _0xa22860=this[_0x3c3264(0xff)](_0x12219b);return!_0xa22860||_0x2bb373(this[_0x3c3264(0x289)],_0xa22860,_0x2a33eb)&&(((_0x4a95a0=this[_0x3c3264(0x3cb)][_0x3c3264(0x3a4)](_0xa22860))==null?void 0x0:_0x4a95a0[_0x3c3264(0x2aa)])??!0x0);}[_0x5b4d61(0x42d)](_0x174cc9,_0x4b87a4,_0x261f1a){const _0x42d9f2=_0x5b4d61;if(_0x261f1a===void 0x0)return;let _0x431320=this[_0x42d9f2(0xff)](_0x174cc9);_0x431320&&_0x5bc309(this[_0x42d9f2(0x289)],_0x431320,_0x4b87a4,_0x4b2dcb[_0x42d9f2(0x370)]['Edit'],_0x261f1a);}['_clearObjectEdit'](_0x57ea9e,_0x47864a){const _0x190af9=_0x5b4d61;let _0x354441=this[_0x190af9(0xff)](_0x57ea9e);_0x354441&&_0x28c3d1(this['_permissionService'],_0x354441,_0x47864a,_0x4b2dcb[_0x190af9(0x370)][_0x190af9(0x521)]);}[_0x5b4d61(0xff)](_0x28a53){const _0xca90b=_0x5b4d61;var _0x7f2ec3;let _0x50f421=this[_0xca90b(0x47f)][_0xca90b(0x259)](_0x28a53,_0x552f17[_0xca90b(0x349)]['UNIVER_BASE']);return _0x50f421?_0x50f421['getUnitId']():(_0x7f2ec3=this[_0xca90b(0x47f)][_0xca90b(0x3f6)](_0x552f17[_0xca90b(0x349)][_0xca90b(0x1e2)])[_0xca90b(0x2f8)](_0x130e13=>!!_0x130e13[_0xca90b(0x157)]()[_0xca90b(0x1e1)][_0x28a53]))==null?void 0x0:_0x7f2ec3[_0xca90b(0x2e7)]();}[_0x5b4d61(0x16a)](_0x211d06){const _0x493f86=_0x5b4d61;let _0x14a1e4=this[_0x493f86(0xff)](_0x211d06);_0x14a1e4&&this['_tableBaseIds'][_0x493f86(0x3e9)](_0x211d06,_0x14a1e4);}[_0x5b4d61(0x4cb)](_0x4f69ef){const _0x2c5ba2=_0x5b4d61;this[_0x2c5ba2(0x3cb)][_0x2c5ba2(0x1d6)](_0x4f69ef),this[_0x2c5ba2(0x389)][_0x2c5ba2(0x116)]((_0x460436,_0x2c5dc3)=>{const _0x18f4b3=_0x2c5ba2;_0x460436===_0x4f69ef&&(this[_0x18f4b3(0x158)][_0x18f4b3(0x1d6)](_0x2c5dc3),_0x294459(this[_0x18f4b3(0x136)],_0x2c5dc3+'\x1f'),_0x294459(this[_0x18f4b3(0x4c2)],_0x2c5dc3+'\x1f'),_0x294459(this['_viewPermissions'],_0x2c5dc3+'\x1f'),this[_0x18f4b3(0x389)][_0x18f4b3(0x1d6)](_0x2c5dc3));});}};_0x142ec6=_0x3a99e3([_0x8293b1(0x0,_0x552f17['IPermissionService']),_0x8293b1(0x1,_0x552f17['IUniverInstanceService'])],_0x142ec6);function _0x294459(_0xeb48f1,_0x36812e){const _0x5e348c=_0x5b4d61;_0xeb48f1[_0x5e348c(0x116)]((_0xff0c1,_0x96f352)=>{_0x96f352['startsWith'](_0x36812e)&&_0xeb48f1['delete'](_0x96f352);});}function _0x8557a9(_0x2c58a2,_0x15f202){return _0x2c58a2+'\x1f'+_0x15f202;}function _0x3b5897(_0x513dfc,_0x3171f2){return _0x513dfc+'\x1f'+_0x3171f2;}function _0x23dff7(_0xb891f9,_0x229a6d){return _0xb891f9+'\x1f'+_0x229a6d;}let _0x18f07e=(0x0,_0x552f17[_0x5b4d61(0x31d)])('base.command.service'),_0x4c7d31=class{constructor(_0x1986c1,_0x2dcf77=_0x56a928(),_0x3a843e={}){const _0x66c9ea=_0x5b4d61;this[_0x66c9ea(0x289)]=_0x1986c1,this['_fieldRegistry']=_0x2dcf77,this[_0x66c9ea(0x234)]=_0x3a843e,_0x53a461(this,_0x66c9ea(0x3b6),new _0x1b9aeb()),_0x53a461(this,'_applier',new _0x600fcd());}[_0x5b4d61(0x314)](_0x4b7bea,_0x2a3e28,_0x342be2){const _0x1a991f=_0x5b4d61;if(!this['_permissionService']['canCreateTable'](_0x4b7bea[_0x1a991f(0x2e7)]()))throw Error(_0x1a991f(0x3be));(0x0,_0x552f17[_0x1a991f(0x2c9)])(_0x2a3e28),this['_apply'](_0x4b7bea,this[_0x1a991f(0x3b6)][_0x1a991f(0x314)](_0x4b7bea[_0x1a991f(0x157)](),_0x2a3e28,_0x342be2));}[_0x5b4d61(0x4a9)](_0x3aa03e,_0x531d7b,_0x3aef06){const _0x2f7819=_0x5b4d61;if(!this[_0x2f7819(0x289)]['canEditTable'](_0x531d7b))throw Error(_0x2f7819(0x34c));this[_0x2f7819(0x309)](_0x3aa03e,this['_factory'][_0x2f7819(0x4a9)](_0x3aa03e[_0x2f7819(0x157)](),_0x531d7b,_0x3aef06));}[_0x5b4d61(0x1a6)](_0x49ee7f,_0x3ea25f){const _0x4fb309=_0x5b4d61;if(!this[_0x4fb309(0x289)][_0x4fb309(0x15d)](_0x3ea25f))throw Error(_0x4fb309(0x334));let _0x6d6d81=_0x1497cf(_0x49ee7f['getSnapshot'](),_0x3ea25f);if(_0x6d6d81[_0x4fb309(0x46a)]>0x0)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20('+_0x6d6d81[_0x4fb309(0x3ab)](_0x33025d=>_0x33025d[_0x4fb309(0x111)]+'.'+_0x33025d[_0x4fb309(0x400)])[_0x4fb309(0x53f)](',\x20')+').');this['_apply'](_0x49ee7f,this[_0x4fb309(0x3b6)][_0x4fb309(0x1a6)](_0x49ee7f['getSnapshot'](),_0x3ea25f));}[_0x5b4d61(0x245)](_0x3ea231,_0xd93a6c,_0x37eada,_0x3b99e6,_0x1bd14b){const _0x5714e6=_0x5b4d61;this[_0x5714e6(0x309)](_0x3ea231,this[_0x5714e6(0x237)](_0x3ea231,_0xd93a6c,_0x37eada,_0x3b99e6,_0x1bd14b));}[_0x5b4d61(0x41f)](_0x102eb0,_0x166a99,_0x2bc2ba){const _0x325f6a=_0x5b4d61;this[_0x325f6a(0x309)](_0x102eb0,this[_0x325f6a(0x11f)](_0x102eb0,_0x166a99,_0x2bc2ba));}['createRecord'](_0x26e4ab,_0x1ffb57,_0x3e1efa){const _0x524fa0=_0x5b4d61;this['_apply'](_0x26e4ab,this[_0x524fa0(0x28c)](_0x26e4ab,_0x1ffb57,_0x3e1efa));}[_0x5b4d61(0x237)](_0x58a1e9,_0x3a2889,_0x5d23f4,_0x2a0a0f,_0x178802){const _0xf5bafe=_0x5b4d61;let _0x1202ba=_0x58a1e9[_0xf5bafe(0x157)](),_0x529306=this[_0xf5bafe(0x205)](_0x1202ba,_0x3a2889,_0x5d23f4,_0x2a0a0f,_0x178802),_0x5a8d58=this[_0xf5bafe(0x35f)](_0x1202ba,_0x3a2889,_0x5d23f4,{[_0x2a0a0f]:_0x529306});return this[_0xf5bafe(0x3b6)][_0xf5bafe(0x41f)](_0x1202ba,_0x3a2889,[_0x5a8d58]);}[_0x5b4d61(0x11f)](_0x39ad00,_0x54b68d,_0x4cbb46){const _0x3562b1=_0x5b4d61;let _0x13181b=_0x39ad00[_0x3562b1(0x157)](),_0x4927c6=_0x4cbb46[_0x3562b1(0x3ab)](_0x2eb388=>this[_0x3562b1(0x35f)](_0x13181b,_0x54b68d,_0x2eb388[_0x3562b1(0x504)],{...Object[_0x3562b1(0x1b2)](Object[_0x3562b1(0x21f)](_0x2eb388['values'])[_0x3562b1(0x3ab)](([_0x508077,_0xbed67f])=>[_0x508077,this[_0x3562b1(0x205)](_0x13181b,_0x54b68d,_0x2eb388[_0x3562b1(0x504)],_0x508077,_0xbed67f)]))}));return this['_factory']['setRecordValues'](_0x13181b,_0x54b68d,_0x4927c6);}[_0x5b4d61(0x28c)](_0x419707,_0x1ed136,_0x27305e){const _0x3cef54=_0x5b4d61;if(!this[_0x3cef54(0x289)]['canCreateRecord'](_0x1ed136))throw Error(_0x3cef54(0x172));let _0x6bf761=_0x419707[_0x3cef54(0x157)](),_0x351ee0=this[_0x3cef54(0x4d3)](_0x6bf761[_0x3cef54(0x1e1)][_0x1ed136]);return this[_0x3cef54(0x3b6)][_0x3cef54(0x3b7)](_0x6bf761,_0x1ed136,this[_0x3cef54(0x216)](_0x6bf761,_0x1ed136,_0x27305e,_0x351ee0));}[_0x5b4d61(0x1ef)](_0x2619de,_0x1be9d9,_0x4d769a){const _0x458d1e=_0x5b4d61;if(!this[_0x458d1e(0x289)]['canCreateRecord'](_0x1be9d9))throw Error(_0x458d1e(0x172));let _0xd974f9=_0x2619de[_0x458d1e(0x157)]();return _0x44d452(_0x458d1e(0x3e1),()=>{const _0xb48084=_0x458d1e;let _0x247442=this[_0xb48084(0x4d3)](_0xd974f9[_0xb48084(0x1e1)][_0x1be9d9]);return this[_0xb48084(0x3b6)][_0xb48084(0x31a)](_0xd974f9,_0x1be9d9,_0x4d769a[_0xb48084(0x3ab)](_0x3b85cc=>this['_createRecordWithDefaults'](_0xd974f9,_0x1be9d9,_0x3b85cc,_0x247442)));},{'existingRecords':Object[_0x458d1e(0x1bd)](_0xd974f9[_0x458d1e(0x1e1)][_0x1be9d9][_0x458d1e(0x29e)])[_0x458d1e(0x46a)],'records':_0x4d769a[_0x458d1e(0x46a)]});}[_0x5b4d61(0x377)](_0x3ee080,_0x50628a,_0x40df55,_0x13f7f4,_0x480cd8){const _0x362f6b=_0x5b4d61;if(!this[_0x362f6b(0x289)][_0x362f6b(0x19f)](_0x50628a))throw Error(_0x362f6b(0xfc));let _0x1958bc=_0x3ee080['getSnapshot']();if(this['_assertFieldDefinition'](_0x1958bc,_0x40df55),_0x13f7f4===0x0)throw Error(_0x362f6b(0x1b0));let _0xa80769=this[_0x362f6b(0x3b6)][_0x362f6b(0x51e)](_0x1958bc,_0x50628a,{'field':_0x40df55,'index':_0x13f7f4,'viewIndexes':_0x480cd8}),_0x1a297e=this[_0x362f6b(0x208)](_0x1958bc,_0x50628a,_0x40df55);if(!_0x1a297e[_0x362f6b(0x46a)])return _0xa80769;let _0x2fd194=this[_0x362f6b(0x317)][_0x362f6b(0x401)](_0x1958bc,_0xa80769);return _0x4c4822([_0xa80769,this[_0x362f6b(0x3b6)][_0x362f6b(0x41f)](_0x2fd194,_0x50628a,_0x1a297e)]);}[_0x5b4d61(0x14c)](_0xa2a0e1,_0x17f08b,_0x4c3972){const _0x4becd5=_0x5b4d61;if(!this['_permissionService']['canDeleteRecord'](_0x17f08b,_0x4c3972))throw Error(_0x4becd5(0x332));this[_0x4becd5(0x309)](_0xa2a0e1,this[_0x4becd5(0x3b6)][_0x4becd5(0x14c)](_0xa2a0e1['getSnapshot'](),_0x17f08b,_0x4c3972));}[_0x5b4d61(0x44d)](_0x2dd846,_0x77f80a,_0x3593c0,_0x475844){const _0x20d369=_0x5b4d61;if(!this['_permissionService'][_0x20d369(0x28a)](_0x77f80a))throw Error(_0x20d369(0x172));this[_0x20d369(0x309)](_0x2dd846,this[_0x20d369(0x3b6)][_0x20d369(0x44d)](_0x2dd846['getSnapshot'](),_0x77f80a,_0x3593c0,{..._0x475844,'values':{..._0x475844[_0x20d369(0x4d1)],[_0x552f17[_0x20d369(0x316)]]:_0x475844['id']}}));}[_0x5b4d61(0x177)](_0x47ddf4,_0x18292c,_0x195d1c,_0x452fe6){const _0x5b2eca=_0x5b4d61;if(!this['_permissionService'][_0x5b2eca(0x103)](_0x18292c,_0x195d1c))throw Error(_0x5b2eca(0x17c));this[_0x5b2eca(0x309)](_0x47ddf4,this[_0x5b2eca(0x3b6)][_0x5b2eca(0x177)](_0x47ddf4['getSnapshot'](),_0x18292c,_0x195d1c,_0x452fe6));}[_0x5b4d61(0x51e)](_0x27947c,_0x5cdd39,_0x47210b,_0x909828,_0x263f4b){const _0x3d3918=_0x5b4d61;this[_0x3d3918(0x309)](_0x27947c,this[_0x3d3918(0x377)](_0x27947c,_0x5cdd39,_0x47210b,_0x909828,_0x263f4b));}[_0x5b4d61(0x41a)](_0x3af2e6,_0x1c4efc,_0x28a9a9,_0x3e5b56){const _0x59cbd0=_0x5b4d61;var _0x4e28f8;if(!this[_0x59cbd0(0x289)][_0x59cbd0(0x4e8)](_0x1c4efc,_0x28a9a9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x15ab51=_0x3af2e6['getSnapshot'](),_0x48c8ee=(_0x4e28f8=_0x15ab51['tables'][_0x1c4efc])==null?void 0x0:_0x4e28f8[_0x59cbd0(0x3ec)][_0x28a9a9];if(!_0x48c8ee||_0x28a9a9===_0x552f17[_0x59cbd0(0x316)])throw Error(_0x59cbd0(0x4a3));this[_0x59cbd0(0x262)](_0x15ab51,{..._0x48c8ee,..._0x3e5b56}),this[_0x59cbd0(0x309)](_0x3af2e6,this[_0x59cbd0(0x3b6)][_0x59cbd0(0x41a)](_0x15ab51,_0x1c4efc,_0x28a9a9,_0x3e5b56));}[_0x5b4d61(0x409)](_0x1d7971,_0x14cee3,_0x915f7,_0x1e3b47){const _0x41a20d=_0x5b4d61;var _0x103fbc;if(!this[_0x41a20d(0x289)][_0x41a20d(0x4e8)](_0x14cee3,_0x915f7))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x2a6573=_0x1d7971['getSnapshot'](),_0x1a2985=(_0x103fbc=_0x2a6573['tables'][_0x14cee3])==null?void 0x0:_0x103fbc[_0x41a20d(0x3ec)][_0x915f7];if(!_0x1a2985||_0x915f7===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x41a20d(0x40b));this[_0x41a20d(0x262)](_0x2a6573,{..._0x1a2985,..._0x1e3b47}),this[_0x41a20d(0x309)](_0x1d7971,this[_0x41a20d(0x3b6)][_0x41a20d(0x409)](_0x2a6573,_0x14cee3,_0x915f7,_0x1e3b47));}[_0x5b4d61(0x147)](_0x1d1be4,_0x470769,_0x465488){const _0x17cde7=_0x5b4d61;var _0x5a3348;if(((_0x5a3348=_0x1d1be4[_0x17cde7(0x157)]()[_0x17cde7(0x1e1)][_0x470769])==null?void 0x0:_0x5a3348[_0x17cde7(0x3a1)])===_0x465488||_0x465488===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService']['canDeleteField'](_0x470769,_0x465488))throw Error(_0x17cde7(0x49f));this['_apply'](_0x1d1be4,this[_0x17cde7(0x3b6)][_0x17cde7(0x147)](_0x1d1be4['getSnapshot'](),_0x470769,_0x465488));}[_0x5b4d61(0x48e)](_0x5981bb,_0x26bd00,_0x5dbd4e,_0x325ed4){const _0x19b516=_0x5b4d61;if(!this[_0x19b516(0x289)]['canEditField'](_0x26bd00,_0x5dbd4e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x5dbd4e===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x325ed4[_0x19b516(0x4aa)]===_0x552f17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x19b516(0x535));this[_0x19b516(0x309)](_0x5981bb,this['_factory'][_0x19b516(0x48e)](_0x5981bb[_0x19b516(0x157)](),_0x26bd00,_0x5dbd4e,_0x325ed4));}[_0x5b4d61(0x27e)](_0x153ece,_0x3d30d9,_0x47e24a,_0x1da17e){const _0x4dc125=_0x5b4d61;if(!this[_0x4dc125(0x289)][_0x4dc125(0x46c)](_0x3d30d9,_0x47e24a['id']))throw Error(_0x4dc125(0x113));this['_apply'](_0x153ece,this[_0x4dc125(0x3b6)][_0x4dc125(0x27e)](_0x153ece[_0x4dc125(0x157)](),_0x3d30d9,_0x47e24a,_0x1da17e));}[_0x5b4d61(0x519)](_0x2db5e1,_0x1a17e6,_0x3b007a,_0x835dc5){const _0x994335=_0x5b4d61;if(!this[_0x994335(0x289)]['canManageView'](_0x1a17e6,_0x3b007a))throw Error(_0x994335(0x113));this['_apply'](_0x2db5e1,this[_0x994335(0x3b6)][_0x994335(0x519)](_0x2db5e1[_0x994335(0x157)](),_0x1a17e6,_0x3b007a,_0x835dc5));}[_0x5b4d61(0x3da)](_0x4707c1,_0x4f692b,_0x356c58){const _0x4ab18b=_0x5b4d61;if(!this[_0x4ab18b(0x289)][_0x4ab18b(0x46c)](_0x4f692b,_0x356c58))throw Error(_0x4ab18b(0x113));this[_0x4ab18b(0x309)](_0x4707c1,this[_0x4ab18b(0x3b6)][_0x4ab18b(0x3da)](_0x4707c1[_0x4ab18b(0x157)](),_0x4f692b,_0x356c58));}[_0x5b4d61(0x477)](_0x462507,_0x3cc47b,_0xc7c2f3,_0x457685){const _0x3daf75=_0x5b4d61;if(!this[_0x3daf75(0x289)][_0x3daf75(0x46c)](_0x3cc47b,_0xc7c2f3))throw Error(_0x3daf75(0x113));this[_0x3daf75(0x309)](_0x462507,this['_factory'][_0x3daf75(0x477)](_0x462507[_0x3daf75(0x157)](),_0x3cc47b,_0xc7c2f3,_0x457685));}[_0x5b4d61(0x14e)](_0x30d4e9,_0x1e1e47,_0x539d3b,_0x237c64){const _0x1900f3=_0x5b4d61;if(!this[_0x1900f3(0x289)][_0x1900f3(0x46c)](_0x1e1e47,_0x539d3b))throw Error(_0x1900f3(0x113));this[_0x1900f3(0x309)](_0x30d4e9,this['_factory']['updateViewConfig'](_0x30d4e9[_0x1900f3(0x157)](),_0x1e1e47,_0x539d3b,_0x237c64));}[_0x5b4d61(0x190)](_0x3f59b7,_0x5c97ea,_0x169452,_0x4a0e40){const _0x5a6b18=_0x5b4d61;if(!this[_0x5a6b18(0x289)][_0x5a6b18(0x46c)](_0x5c97ea,_0x169452))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x5a6b18(0x309)](_0x3f59b7,this['_factory'][_0x5a6b18(0x190)](_0x3f59b7[_0x5a6b18(0x157)](),_0x5c97ea,_0x169452,_0x4a0e40));}[_0x5b4d61(0x184)](_0x8125e9,_0xc7938b,_0x120946,_0x9ec58c){const _0x4b3474=_0x5b4d61;if(!this[_0x4b3474(0x289)][_0x4b3474(0x46c)](_0xc7938b,_0x120946))throw Error(_0x4b3474(0x113));this[_0x4b3474(0x309)](_0x8125e9,this[_0x4b3474(0x3b6)][_0x4b3474(0x184)](_0x8125e9['getSnapshot'](),_0xc7938b,_0x120946,_0x9ec58c));}[_0x5b4d61(0x475)](_0x56e20d,_0x2a1423,_0x65f843,_0x681156){const _0x39119e=_0x5b4d61;if(!this['_permissionService']['canManageView'](_0x2a1423,_0x65f843))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x39119e(0x309)](_0x56e20d,this[_0x39119e(0x3b6)]['setViewGroup'](_0x56e20d[_0x39119e(0x157)](),_0x2a1423,_0x65f843,_0x681156));}[_0x5b4d61(0x366)](_0x498dac,_0x3829d2,_0x1bc21c,_0x5d23a2,_0x360606){const _0x1d2c56=_0x5b4d61;if(!this[_0x1d2c56(0x289)][_0x1d2c56(0x46c)](_0x3829d2,_0x1bc21c))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x1d2c56(0x309)](_0x498dac,this[_0x1d2c56(0x3b6)][_0x1d2c56(0x366)](_0x498dac['getSnapshot'](),_0x3829d2,_0x1bc21c,_0x5d23a2,_0x360606));}[_0x5b4d61(0x3de)](_0x1e5e3b,_0x386a29,_0x118cc0,_0x46cc00,_0x5e0d90){const _0x17a88c=_0x5b4d61;if(!this[_0x17a88c(0x289)][_0x17a88c(0x46c)](_0x386a29,_0x118cc0))throw Error(_0x17a88c(0x113));this[_0x17a88c(0x309)](_0x1e5e3b,this[_0x17a88c(0x3b6)]['setViewFieldWidth'](_0x1e5e3b['getSnapshot'](),_0x386a29,_0x118cc0,_0x46cc00,_0x5e0d90));}[_0x5b4d61(0x509)](_0x1a961c,_0x5f4443,_0x2d4dfd,_0x1dad0a,_0x4540a2){const _0x575341=_0x5b4d61;if(!this['_permissionService'][_0x575341(0x46c)](_0x5f4443,_0x2d4dfd))throw Error(_0x575341(0x113));this[_0x575341(0x309)](_0x1a961c,this['_factory'][_0x575341(0x509)](_0x1a961c['getSnapshot'](),_0x5f4443,_0x2d4dfd,_0x1dad0a,_0x4540a2));}[_0x5b4d61(0x309)](_0xa8c69e,_0x2627ee){const _0x31e484=_0x5b4d61;let _0x2a81a9=_0xa8c69e[_0x31e484(0x157)]();_0xa8c69e[_0x31e484(0x33a)](this[_0x31e484(0x317)][_0x31e484(0x401)](_0x2a81a9,_0x2627ee));}[_0x5b4d61(0x216)](_0x2b62b3,_0x6e991e,_0x4af7a4,_0x7c4262=this['_createNumberingAllocators'](_0x2b62b3[_0x5b4d61(0x1e1)][_0x6e991e])){const _0x18a467=_0x5b4d61;let _0x165017=_0x2b62b3[_0x18a467(0x1e1)][_0x6e991e],_0x1db5b9=_0x4af7a4[_0x18a467(0x163)]??_0x4af7a4[_0x18a467(0x2e8)]??this[_0x18a467(0x46b)](),_0x4bf807={..._0x4af7a4,'createdBy':_0x4af7a4[_0x18a467(0x163)]??_0x1db5b9,'updatedBy':_0x4af7a4['updatedBy']??_0x1db5b9,'values':{..._0x4af7a4[_0x18a467(0x4d1)]}};return _0x4bf807[_0x18a467(0x4d1)][_0x552f17[_0x18a467(0x316)]]=_0x4bf807['id'],_0x165017['fieldOrder']['forEach'](_0x88dada=>{const _0x1b6372=_0x18a467;let _0x4bc380=_0x165017[_0x1b6372(0x3ec)][_0x88dada];if(_0x4bc380&&_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]===void 0x0)switch(_0x4bc380[_0x1b6372(0x4cd)]){case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x195)]:var _0x373c3f;_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=((_0x373c3f=_0x7c4262[_0x1b6372(0x3a4)](_0x88dada))==null?void 0x0:_0x373c3f())??this[_0x1b6372(0x465)](_0x165017,_0x88dada)();break;case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x3eb)]:_0x4bf807[_0x1b6372(0x163)]&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x4bf807[_0x1b6372(0x163)]);break;case _0x552f17['BaseFieldType']['UpdatedBy']:_0x4bf807[_0x1b6372(0x2e8)]&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x4bf807[_0x1b6372(0x2e8)]);break;case _0x552f17[_0x1b6372(0x22d)][_0x1b6372(0x435)]:_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x5afbbf(_0x4bf807['createdAt']);break;case _0x552f17[_0x1b6372(0x22d)]['UpdatedAt']:_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x5afbbf(_0x4bf807[_0x1b6372(0x32d)]);break;default:{let _0x161201=_0x4bc380[_0x1b6372(0x3dc)];_0x161201!=null&&_0x161201!==''&&!(Array['isArray'](_0x161201)&&_0x161201[_0x1b6372(0x46a)]===0x0)&&(_0x4bf807[_0x1b6372(0x4d1)][_0x88dada]=_0x161201);}}}),_0x4bf807;}[_0x5b4d61(0x35f)](_0xf4123b,_0x60268,_0x39d0b1,_0x3e0c49){const _0x4d6c34=_0x5b4d61;var _0x5c3c64,_0x56812e;let _0x72416d=_0xf4123b[_0x4d6c34(0x1e1)][_0x60268],_0x440874=((_0x5c3c64=(_0x56812e=this[_0x4d6c34(0x234)])[_0x4d6c34(0x1ca)])==null?void 0x0:_0x5c3c64[_0x4d6c34(0x30e)](_0x56812e))??Date[_0x4d6c34(0x1ca)](),_0x188906=this['_getCurrentUserId'](),_0x13a857={..._0x3e0c49};return _0x72416d[_0x4d6c34(0x151)]['forEach'](_0x34cc60=>{const _0x49e44d=_0x4d6c34;let _0x41425c=_0x72416d[_0x49e44d(0x3ec)][_0x34cc60];_0x41425c&&(_0x41425c[_0x49e44d(0x4cd)]===_0x552f17[_0x49e44d(0x22d)][_0x49e44d(0x373)]&&(_0x13a857[_0x34cc60]=_0x5afbbf(_0x440874)),_0x41425c[_0x49e44d(0x4cd)]===_0x552f17['BaseFieldType'][_0x49e44d(0x2a0)]&&_0x188906&&(_0x13a857[_0x34cc60]=_0x188906));}),{'recordId':_0x39d0b1,'values':_0x13a857,'recordPatch':{'updatedAt':_0x440874,..._0x188906?{'updatedBy':_0x188906}:{}}};}['_createSystemFieldValuePatches'](_0x4c7491,_0xf255a9,_0xaf14f9){const _0x3d6b0e=_0x5b4d61;let _0x3008d4=_0x4c7491['tables'][_0xf255a9];return!_0x3008d4||!_0x4e1daa(_0xaf14f9)?[]:_0xaf14f9[_0x3d6b0e(0x4cd)]===_0x552f17[_0x3d6b0e(0x22d)][_0x3d6b0e(0x195)]?this[_0x3d6b0e(0x108)](_0x3008d4,_0xaf14f9['id']):Object[_0x3d6b0e(0x4d1)](_0x3008d4[_0x3d6b0e(0x29e)])[_0x3d6b0e(0x4a0)](_0x3eca4d=>{const _0x38c2cb=_0x3d6b0e;let _0x190d73=this[_0x38c2cb(0x1ec)](_0xaf14f9,_0x3eca4d);return _0x190d73===void 0x0?[]:[{'recordId':_0x3eca4d['id'],'values':{[_0xaf14f9['id']]:_0x190d73}}];});}['_getSystemFieldValue'](_0xd238bf,_0x196ce7){const _0x462f5d=_0x5b4d61;switch(_0xd238bf[_0x462f5d(0x4cd)]){case _0x552f17[_0x462f5d(0x22d)]['CreatedBy']:return _0x196ce7[_0x462f5d(0x163)]??this[_0x462f5d(0x46b)]();case _0x552f17['BaseFieldType'][_0x462f5d(0x2a0)]:return _0x196ce7[_0x462f5d(0x2e8)]??this[_0x462f5d(0x46b)]();case _0x552f17[_0x462f5d(0x22d)][_0x462f5d(0x435)]:return _0x5afbbf(_0x196ce7[_0x462f5d(0x26c)]??Date[_0x462f5d(0x1ca)]());case _0x552f17[_0x462f5d(0x22d)][_0x462f5d(0x373)]:return _0x5afbbf(_0x196ce7['updatedAt']??Date[_0x462f5d(0x1ca)]());default:return;}}['_createNumberingAllocators'](_0x3e373a){const _0x5bb4a0=_0x5b4d61;let _0xffb567=new Map();return _0x3e373a&&_0x3e373a[_0x5bb4a0(0x151)][_0x5bb4a0(0x116)](_0x155678=>{const _0x1e6f7b=_0x5bb4a0;let _0x2600c8=_0x3e373a[_0x1e6f7b(0x3ec)][_0x155678];(_0x2600c8==null?void 0x0:_0x2600c8[_0x1e6f7b(0x4cd)])===_0x552f17[_0x1e6f7b(0x22d)]['Numbering']&&_0xffb567['set'](_0x155678,this[_0x1e6f7b(0x465)](_0x3e373a,_0x155678));}),_0xffb567;}['_createNumberingAllocator'](_0xd6e3e0,_0x56d3ab){const _0x8ac7c3=_0x5b4d61;let _0x179414=Object['values'](_0xd6e3e0[_0x8ac7c3(0x29e)])['reduce']((_0x39f5cd,_0x4a9358)=>{const _0x325bc0=_0x8ac7c3;let _0x476037=Number(_0x4a9358[_0x325bc0(0x4d1)][_0x56d3ab]);return Number[_0x325bc0(0x326)](_0x476037)?Math[_0x325bc0(0x3bd)](_0x39f5cd,_0x476037):_0x39f5cd;},0x0);return()=>String(++_0x179414);}[_0x5b4d61(0x108)](_0x1af277,_0x530800){const _0x3ba740=_0x5b4d61;let _0x507e60=this[_0x3ba740(0x17f)](_0x1af277),_0xaac83a=this['_createNumberingAllocator'](_0x1af277,_0x530800);return _0x507e60['flatMap'](_0x1216f7=>this['_isNonEmptyCellValue'](_0x1216f7[_0x3ba740(0x4d1)][_0x530800])?[]:[{'recordId':_0x1216f7['id'],'values':{[_0x530800]:_0xaac83a()}}]);}['_getOrderedRecords'](_0xdb08e7){const _0x5df170=_0x5b4d61;var _0x22a2a5;let _0x2b4b7d=Object[_0x5df170(0x4d1)](_0xdb08e7[_0x5df170(0x29e)]),_0x415ebd=new Map(_0x2b4b7d[_0x5df170(0x3ab)](_0x3792fd=>[_0x3792fd['id'],_0x3792fd])),_0x1aa4dc=[],_0x33b4bf=new Set();(_0x22a2a5=_0xdb08e7[_0x5df170(0x52a)])==null||_0x22a2a5[_0x5df170(0x116)](_0xc5767=>{const _0x43977a=_0x5df170;let _0x5a8ed=_0x415ebd[_0x43977a(0x3a4)](_0xc5767);_0x5a8ed&&(_0x1aa4dc[_0x43977a(0x36c)](_0x5a8ed),_0x33b4bf[_0x43977a(0x112)](_0xc5767));});let _0x8cf788=_0x2b4b7d[_0x5df170(0x30a)](_0x125902=>!_0x33b4bf['has'](_0x125902['id']))[_0x5df170(0x3c2)]((_0xd27a65,_0x202aa0)=>String(_0xd27a65[_0x5df170(0x12f)]??_0xd27a65['id'])[_0x5df170(0x2f1)](String(_0x202aa0[_0x5df170(0x12f)]??_0x202aa0['id']))||_0xd27a65['id'][_0x5df170(0x2f1)](_0x202aa0['id']));return[..._0x1aa4dc,..._0x8cf788];}[_0x5b4d61(0x554)](_0x4e6316){const _0x25de35=_0x5b4d61;return _0x4e6316!=null&&_0x4e6316!==''&&!(Array[_0x25de35(0x3bc)](_0x4e6316)&&_0x4e6316[_0x25de35(0x46a)]===0x0);}[_0x5b4d61(0x46b)](){const _0x5643c0=_0x5b4d61;var _0x20c76c,_0x17631a,_0x24ca1a,_0x5a609e;return((_0x20c76c=(_0x17631a=this[_0x5643c0(0x234)])[_0x5643c0(0x2bf)])==null?void 0x0:_0x20c76c[_0x5643c0(0x30e)](_0x17631a))??((_0x24ca1a=(_0x5a609e=this[_0x5643c0(0x234)])['getCurrentUser'])==null||(_0x24ca1a=_0x24ca1a['call'](_0x5a609e))==null?void 0x0:_0x24ca1a[_0x5643c0(0x390)])??void 0x0;}[_0x5b4d61(0x205)](_0x8395fc,_0x25dad1,_0x197d22,_0x178392,_0x5e0040){const _0x1d4096=_0x5b4d61;var _0xc4b42b;if(!this['_permissionService'][_0x1d4096(0x359)](_0x25dad1,_0x197d22,_0x178392))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x3b0278=(_0xc4b42b=_0x8395fc['tables'][_0x25dad1])==null?void 0x0:_0xc4b42b[_0x1d4096(0x3ec)][_0x178392];if(!_0x3b0278)throw Error(_0x1d4096(0x4fb)+_0x178392+_0x1d4096(0x31f));let _0x1551d0=this[_0x1d4096(0x2eb)][_0x1d4096(0x3a4)](_0x3b0278[_0x1d4096(0x4cd)]);if(_0x3b0278[_0x1d4096(0x4e2)]||_0x3b0278[_0x1d4096(0x505)]||!_0x1551d0[_0x1d4096(0x3fe)](_0x3b0278)[_0x1d4096(0x29a)])throw Error(_0x1d4096(0x1b6));let _0x5189fd=_0x1551d0[_0x1d4096(0x121)](_0x5e0040,_0x3b0278),_0x370e29=_0x1551d0[_0x1d4096(0x2fc)](_0x5189fd,_0x3b0278);if(!_0x370e29[_0x1d4096(0x2d9)])throw Error(_0x370e29[_0x1d4096(0x4bb)]??_0x1d4096(0x247));let _0x151b5c=_0x3b0278[_0x1d4096(0x4cd)]===_0x552f17['BaseFieldType']['RecordLink']?_0x30ac0c(_0x8395fc,_0x3b0278,_0x5189fd):{'valid':!0x0};if(!_0x151b5c[_0x1d4096(0x2d9)])throw Error(_0x151b5c['reason']??_0x1d4096(0x3e0));return _0x5189fd;}[_0x5b4d61(0x262)](_0x33ce7b,_0x35fe90){const _0x33bab9=_0x5b4d61;if(_0x35fe90['id']===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x35fe90[_0x33bab9(0x4cd)]===_0x552f17['BaseFieldType'][_0x33bab9(0x500)]||(0x0,_0x552f17[_0x33bab9(0x2c7)])(_0x35fe90[_0x33bab9(0x288)]))throw Error(_0x33bab9(0x110));let _0x57920f=_0x4cb157(_0x33ce7b,_0x35fe90);if(!_0x57920f[_0x33bab9(0x2d9)])throw Error(_0x57920f[_0x33bab9(0x4bb)]??_0x33bab9(0x123));}};_0x4c7d31=_0x3a99e3([_0x8293b1(0x0,_0x4c31db),_0x8293b1(0x1,_0x430fbe)],_0x4c7d31);function _0x56a928(){let _0x81fd94=new _0x3b8919();return _0x544ef0()['forEach'](_0x5c76c5=>_0x81fd94['register'](_0x5c76c5)),_0x81fd94;}function _0x4e1daa(_0x6c3633){const _0x5567f3=_0x5b4d61;return _0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x195)]||_0x6c3633['type']===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x3eb)]||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x2a0)]||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)]['CreatedAt']||_0x6c3633[_0x5567f3(0x4cd)]===_0x552f17[_0x5567f3(0x22d)][_0x5567f3(0x373)];}let _0x5f08b4=new Set([_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x2dc)],_0x552f17['BaseFieldType'][_0x5b4d61(0x3ad)]]);function _0x4a71ef(_0x2f0d84){const _0x234af4=_0x5b4d61;let _0x3fa697=_0x2f0d84[_0x234af4(0x3ec)][_0x2f0d84[_0x234af4(0x3a1)]];if((!_0x3fa697||_0x3fa697[_0x234af4(0x505)]!==!0x0&&_0x3fa697['id'][_0x234af4(0x335)]()!=='id'&&_0x3fa697[_0x234af4(0x288)][_0x234af4(0x104)]()['toLowerCase']()!=='id')&&_0x3fa697)return _0x3fa697['id'];for(let _0x4b0904 of _0x2f0d84[_0x234af4(0x151)]){let _0x5c0a32=_0x2f0d84['fields'][_0x4b0904];if(_0x5c0a32&&_0x5c0a32['id']!==_0x2f0d84[_0x234af4(0x3a1)]&&_0x5c0a32['system']!==!0x0&&_0x5c0a32[_0x234af4(0x4cd)]!==_0x552f17[_0x234af4(0x22d)]['RecordId'])return _0x5c0a32['id'];}return _0x2f0d84['primaryFieldId'];}function _0x413d5e(_0x13d9e2,_0x4652bf=[],_0x568bb9=0x5){const _0x49ab17=_0x5b4d61;let _0x10a819=new Set(_0x4652bf['filter'](_0x14aca8=>!!_0x14aca8)),_0x28d595=[],_0x5d8cf6=[];for(let _0xa52adf of _0x13d9e2[_0x49ab17(0x151)]){let _0x5d0489=_0x13d9e2['fields'][_0xa52adf];_0x5d0489&&_0x5d0489[_0x49ab17(0x505)]!==!0x0&&_0x5d0489['type']!==_0x552f17[_0x49ab17(0x22d)]['RecordId']&&!_0x10a819[_0x49ab17(0x1d8)](_0x5d0489['id'])&&(_0x5f08b4['has'](_0x5d0489[_0x49ab17(0x4cd)])?_0x28d595:_0x5d8cf6)[_0x49ab17(0x36c)](_0x5d0489['id']);}return[..._0x28d595,..._0x5d8cf6][_0x49ab17(0x25d)](0x0,_0x568bb9);}function _0x5697af(){const _0x84c7b4=_0x5b4d61;return[{'type':_0x552f17[_0x84c7b4(0x2d5)]['Grid'],'i18nKey':_0x84c7b4(0x1d5),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x202682=_0x84c7b4;throw Error(_0x202682(0x274));}},{'type':_0x552f17['BaseViewType']['Kanban'],'i18nKey':_0x84c7b4(0x2ed),'createDefaultConfig':_0x5cc7b8=>{const _0x14b42d=_0x84c7b4;let _0x44b219=_0x27ce63(_0x5cc7b8);return{'groupFieldId':_0x44b219,'coverFieldId':null,'cardLayout':_0x14b42d(0x109),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5cc7b8['primaryFieldId'],'fieldIds':_0x413d5e(_0x5cc7b8,[_0x5cc7b8[_0x14b42d(0x3a1)],_0x44b219])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5006b6=_0x84c7b4;throw Error(_0x5006b6(0x203));}},{'type':_0x552f17['BaseViewType'][_0x84c7b4(0x2c4)],'i18nKey':_0x84c7b4(0x547),'createDefaultConfig':_0x550eee=>{const _0x520c1a=_0x84c7b4;let _0x12bd11=_0x289c57(_0x550eee);return{'startDateFieldId':_0x12bd11,'endDateFieldId':_0x50be78(_0x550eee,_0x12bd11),'titleFieldId':_0x550eee[_0x520c1a(0x3a1)],'mode':_0x520c1a(0x255),'timeslotSize':_0x520c1a(0x260),'timeZone':_0x520c1a(0x3fc),'displayColor':{'type':_0x520c1a(0x510),'color':_0x520c1a(0x4f4)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x14cc5f=_0x84c7b4;throw Error(_0x14cc5f(0x2fb));}},{'type':_0x552f17['BaseViewType'][_0x84c7b4(0x374)],'i18nKey':_0x84c7b4(0x242),'createDefaultConfig':_0x361002=>{const _0x36e830=_0x84c7b4;let _0x55728e=_0x289c57(_0x361002);return{'startDateFieldId':_0x55728e,'endDateFieldId':_0x50be78(_0x361002,_0x55728e)??_0x55728e,'titleFieldId':_0x361002[_0x36e830(0x3a1)],'scale':_0x36e830(0x255),'showTodayLine':!0x0,'displayColor':{'type':_0x36e830(0x510),'color':_0x36e830(0x258)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4e7aad=_0x84c7b4;throw Error(_0x4e7aad(0x51d));}},{'type':_0x552f17[_0x84c7b4(0x2d5)][_0x84c7b4(0x15b)],'i18nKey':_0x84c7b4(0x2c0),'createDefaultConfig':_0x5cba2d=>{const _0x588211=_0x84c7b4;let _0x1332ad=_0x4a71ef(_0x5cba2d);return{'coverFieldId':null,'cardLayout':_0x588211(0x109),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x1332ad,'coverFieldId':null,'fieldIds':_0x413d5e(_0x5cba2d,[_0x1332ad,_0x5cba2d['primaryFieldId']])},'cardSize':_0x588211(0x260)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5a9b5e=_0x84c7b4;throw Error(_0x5a9b5e(0x167));}}];}function _0x27ce63(_0x54e716){const _0x17aac3=_0x5b4d61;var _0xb0bb74,_0x4c5761,_0x3715c7;let _0x597a8e=_0x54e716[_0x17aac3(0x151)][_0x17aac3(0x3ab)](_0x4ba0a5=>_0x54e716[_0x17aac3(0x3ec)][_0x4ba0a5])['filter'](_0x1f84cd=>!!_0x1f84cd);return((_0xb0bb74=_0x597a8e[_0x17aac3(0x2f8)](_0x31eee1=>_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType']['SingleSelect']||_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17[_0x17aac3(0x22d)]['MultiSelect']||_0x31eee1[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x220)]))==null?void 0x0:_0xb0bb74['id'])??((_0x4c5761=_0x597a8e[_0x17aac3(0x2f8)](_0x19ce39=>_0x19ce39[_0x17aac3(0x4cd)]===_0x552f17[_0x17aac3(0x22d)]['Text']))==null?void 0x0:_0x4c5761['id'])??((_0x3715c7=_0x597a8e[_0x17aac3(0x2f8)](_0x7defd8=>_0x7defd8[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x522)]||_0x7defd8['type']===_0x552f17[_0x17aac3(0x22d)][_0x17aac3(0x435)]||_0x7defd8[_0x17aac3(0x4cd)]===_0x552f17['BaseFieldType'][_0x17aac3(0x373)]))==null?void 0x0:_0x3715c7['id'])??_0x54e716[_0x17aac3(0x3a1)];}function _0x289c57(_0x26f85d){const _0x255fe5=_0x5b4d61;var _0x3cd682;return((_0x3cd682=_0x26f85d[_0x255fe5(0x151)]['map'](_0x41a970=>_0x26f85d[_0x255fe5(0x3ec)][_0x41a970])['find'](_0x4d53e2))==null?void 0x0:_0x3cd682['id'])??'';}function _0x50be78(_0x36d2b4,_0x20d8f4){const _0x33f1dd=_0x5b4d61;var _0x375191;return(_0x375191=_0x36d2b4[_0x33f1dd(0x151)][_0x33f1dd(0x3ab)](_0x291c62=>_0x36d2b4['fields'][_0x291c62])[_0x33f1dd(0x2f8)](_0x4ccec2=>_0x4d53e2(_0x4ccec2)&&_0x4ccec2['id']!==_0x20d8f4))==null?void 0x0:_0x375191['id'];}function _0x4d53e2(_0x2295c6){const _0x21c448=_0x5b4d61;return!!_0x2295c6&&_0x2295c6[_0x21c448(0x4cd)]===_0x552f17['BaseFieldType'][_0x21c448(0x522)]&&_0x2295c6[_0x21c448(0x4e2)]!==!0x0&&_0x2295c6[_0x21c448(0x505)]!==!0x0;}let _0x1b33ef=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x4df)),_0x42c6c0=new Set([_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x439)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x268)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17['BaseFieldType'][_0x5b4d61(0x2dc)],_0x552f17['BaseFieldType'][_0x5b4d61(0x522)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x435)],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x373)],_0x552f17[_0x5b4d61(0x22d)]['Checkbox']]),_0x3d5047=0x5265c00,_0x57d072=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x1e0614){const _0x9e8727=_0x5b4d61;super(),this[_0x9e8727(0x2eb)]=_0x1e0614,_0x53a461(this,_0x9e8727(0x2b0),new Map()),_0x53a461(this,_0x9e8727(0x341),new WeakMap()),_0x53a461(this,_0x9e8727(0xf1),new Map()),_0x53a461(this,'_projectedViewRowsCache',new Map()),_0x53a461(this,_0x9e8727(0x16d),new Map()),_0x53a461(this,_0x9e8727(0x43d),new Map()),_0x53a461(this,_0x9e8727(0x4f3),0x0),_0x53a461(this,_0x9e8727(0x38d),new Map()),_0x53a461(this,_0x9e8727(0x186),new Map()),_0x53a461(this,'_cellInvalidations',new Map()),_0x53a461(this,_0x9e8727(0x170),new Map());}['registerView'](_0x364bb9){const _0x222435=_0x5b4d61;return this['_views'][_0x222435(0x3e9)](_0x364bb9[_0x222435(0x4cd)],_0x364bb9),(0x0,_0x552f17[_0x222435(0x404)])(()=>this[_0x222435(0x2b0)]['delete'](_0x364bb9[_0x222435(0x4cd)]));}[_0x5b4d61(0x229)](_0xf35e57,_0x4857a4,_0xcc2d72){const _0x3ce354=_0x5b4d61;var _0x31e290,_0x42e12a,_0x2c53fb;return _0x44d452(_0x3ce354(0x3cd),()=>{const _0x4b63a6=_0x3ce354;let _0x394347=this[_0x4b63a6(0x339)](_0xf35e57,_0x4857a4,_0xcc2d72);if(_0x394347)return _0x394347;let _0x27c540=_0xf35e57['tables'][_0x4857a4],_0xa3ca75=_0x27c540==null?void 0x0:_0x27c540[_0x4b63a6(0x2ea)][_0xcc2d72];if(!_0x27c540||!_0xa3ca75)return this[_0x4b63a6(0x26d)](_0xf35e57,_0x4857a4,_0xcc2d72,{'type':_0x4b63a6(0x3d2),'viewType':(_0xa3ca75==null?void 0x0:_0xa3ca75[_0x4b63a6(0x4cd)])??_0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x48f)],'reason':_0x4b63a6(0x3b9)});let _0x19e987;switch(_0xa3ca75[_0x4b63a6(0x4cd)]){case _0x552f17[_0x4b63a6(0x2d5)]['Grid']:_0x19e987=this[_0x4b63a6(0x50f)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x374)]:_0x19e987=this[_0x4b63a6(0x319)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x493)]:_0x19e987=this[_0x4b63a6(0x322)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)][_0x4b63a6(0x2c4)]:_0x19e987=this[_0x4b63a6(0x39c)](_0x27c540,_0xa3ca75);break;case _0x552f17[_0x4b63a6(0x2d5)]['Gallery']:_0x19e987=this[_0x4b63a6(0x342)](_0x27c540,_0xa3ca75);break;default:_0x19e987={'type':_0x4b63a6(0x3d2),'viewType':_0xa3ca75[_0x4b63a6(0x4cd)],'reason':'missingField'};}return this['_setCachedProjection'](_0xf35e57,_0x4857a4,_0xcc2d72,_0x19e987);},{'tableId':_0x4857a4,'viewId':_0xcc2d72,'viewType':(_0x31e290=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null||(_0x31e290=_0x31e290[_0x3ce354(0x2ea)][_0xcc2d72])==null?void 0x0:_0x31e290[_0x3ce354(0x4cd)],'records':((_0x42e12a=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null||(_0x42e12a=_0x42e12a[_0x3ce354(0x52a)])==null?void 0x0:_0x42e12a[_0x3ce354(0x46a)])??Object['keys'](((_0x2c53fb=_0xf35e57[_0x3ce354(0x1e1)][_0x4857a4])==null?void 0x0:_0x2c53fb[_0x3ce354(0x29e)])??{})[_0x3ce354(0x46a)]});}['repairViewConfig'](_0x3c6542,_0x412239,_0x455dc5){const _0x2771f1=_0x5b4d61;var _0x58a58a,_0x261dc1,_0x125c34;let _0x89830f=_0x3c6542[_0x2771f1(0x1e1)][_0x412239],_0x1cce37=_0x89830f==null?void 0x0:_0x89830f[_0x2771f1(0x2ea)][_0x455dc5];if(!_0x89830f||!_0x1cce37)throw Error(_0x2771f1(0x50c)+_0x455dc5+'\x22.');let _0x5200cb=_0x5bd52b=>!!_0x89830f[_0x2771f1(0x3ec)][_0x5bd52b],_0x289530={..._0x1cce37,'filter':_0x1cce37[_0x2771f1(0x30a)]?{..._0x1cce37[_0x2771f1(0x30a)],'conditions':_0x1cce37['filter']['conditions'][_0x2771f1(0x30a)](_0x4631c7=>_0x5200cb(_0x4631c7[_0x2771f1(0x400)]))}:_0x1cce37[_0x2771f1(0x30a)],'sort':(_0x58a58a=_0x1cce37[_0x2771f1(0x3c2)])==null?void 0x0:_0x58a58a['filter'](_0x1e3485=>_0x5200cb(_0x1e3485['fieldId'])),'group':(_0x261dc1=_0x1cce37[_0x2771f1(0x2ab)])==null?void 0x0:_0x261dc1[_0x2771f1(0x30a)](_0x24a317=>_0x5200cb(_0x24a317[_0x2771f1(0x400)])),'fieldOrder':(_0x125c34=_0x1cce37[_0x2771f1(0x151)])==null?void 0x0:_0x125c34['filter'](_0x5200cb),'fieldSettings':Object[_0x2771f1(0x1b2)](Object[_0x2771f1(0x21f)](_0x1cce37[_0x2771f1(0x32b)]??{})['filter'](([_0x231437])=>_0x5200cb(_0x231437)))};if(_0x289530[_0x2771f1(0x4cd)]===_0x2771f1(0x355)){var _0x4a6157;let _0x4985da=_0x289530[_0x2771f1(0x340)]??{},_0x4d0c27=this[_0x2771f1(0x42c)](_0x89830f,_0x289530),_0x171886=this[_0x2771f1(0x3af)](_0x89830f,(_0x4a6157=_0x4985da[_0x2771f1(0x362)])==null?void 0x0:_0x4a6157[_0x2771f1(0x458)]);_0x289530[_0x2771f1(0x340)]={..._0x4985da,'groupFieldId':_0x4d0c27??_0x4985da['groupFieldId'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x89830f,_0x4985da),'cardLayout':_0x4985da[_0x2771f1(0x22b)]===_0x2771f1(0x283)?_0x2771f1(0x283):_0x2771f1(0x109),'showFieldNames':_0x4985da[_0x2771f1(0x485)]!==!0x1,'fieldSettings':Object[_0x2771f1(0x1b2)](Object[_0x2771f1(0x21f)](_0x4985da[_0x2771f1(0x32b)]??{})['filter'](([_0x331e2b])=>_0x5200cb(_0x331e2b))),'columnSettings':_0x4985da[_0x2771f1(0x3d9)]??{},'card':{..._0x4985da[_0x2771f1(0x362)]??{},'titleFieldId':_0x171886,'fieldIds':this[_0x2771f1(0x14b)](_0x89830f,_0x289530,_0x4d0c27??'',_0x171886)}};}return{'repaired':JSON[_0x2771f1(0x306)](_0x289530)!==JSON[_0x2771f1(0x306)](_0x1cce37),'view':_0x289530};}[_0x5b4d61(0x31e)](){const _0x1da582=_0x5b4d61;this[_0x1da582(0x4f3)]++;}['invalidateByCell'](_0x47def2,_0x42b850,_0x25b05b){const _0x50e882=_0x5b4d61;let _0x34e486=this[_0x50e882(0x542)](_0x47def2)+0x1;this[_0x50e882(0x186)]['set'](_0x47def2,_0x34e486);let _0x1277bf=this['_cellInvalidations']['get'](_0x47def2)??[];_0x1277bf[_0x50e882(0x36c)]({'revision':_0x34e486,'recordId':_0x42b850,'fieldId':_0x25b05b}),this[_0x50e882(0x14d)][_0x50e882(0x3e9)](_0x47def2,_0x1277bf);}[_0x5b4d61(0x246)](_0x36f1c3,_0x4c024f){const _0x160cb9=_0x5b4d61;this[_0x160cb9(0x1e9)](_0x36f1c3);}['invalidateByView'](_0xe632a8,_0x25f56e){const _0x2f1b90=_0x5b4d61;this['_viewRevisions'][_0x2f1b90(0x3e9)](this[_0x2f1b90(0x11a)](_0xe632a8,_0x25f56e),this[_0x2f1b90(0x3d4)](_0xe632a8,_0x25f56e)+0x1);}[_0x5b4d61(0x339)](_0x3dd480,_0x30fd2a,_0x36d581){const _0x2e0fac=_0x5b4d61;var _0x47b2b8;let _0x1a45ae=(_0x47b2b8=this[_0x2e0fac(0x341)][_0x2e0fac(0x3a4)](_0x3dd480))==null?void 0x0:_0x47b2b8[_0x2e0fac(0x3a4)](this[_0x2e0fac(0x381)](_0x30fd2a,_0x36d581));return _0x1a45ae&&_0x1a45ae[_0x2e0fac(0x387)]===this['_globalRevision']&&_0x1a45ae[_0x2e0fac(0x3d5)]===this[_0x2e0fac(0x54e)](_0x30fd2a)&&_0x1a45ae[_0x2e0fac(0x515)]===this['_getCellRevision'](_0x30fd2a)&&_0x1a45ae['viewRevision']===this[_0x2e0fac(0x3d4)](_0x30fd2a,_0x36d581)?_0x1a45ae[_0x2e0fac(0x2b7)]:null;}[_0x5b4d61(0x26d)](_0x52c793,_0x18edea,_0xf8f15c,_0x1219ef){const _0x1f1ecb=_0x5b4d61;let _0x2f15cb=this['_projectionCache'][_0x1f1ecb(0x3a4)](_0x52c793);return _0x2f15cb||(_0x2f15cb=new Map(),this['_projectionCache'][_0x1f1ecb(0x3e9)](_0x52c793,_0x2f15cb)),_0x2f15cb[_0x1f1ecb(0x3e9)](this[_0x1f1ecb(0x381)](_0x18edea,_0xf8f15c),{'projection':_0x1219ef,'globalRevision':this[_0x1f1ecb(0x4f3)],'tableRevision':this[_0x1f1ecb(0x54e)](_0x18edea),'cellRevision':this[_0x1f1ecb(0x542)](_0x18edea),'viewRevision':this[_0x1f1ecb(0x3d4)](_0x18edea,_0xf8f15c)}),_0x1219ef;}['_bumpTableRevision'](_0x4a65aa){const _0x2093f5=_0x5b4d61;this[_0x2093f5(0x38d)][_0x2093f5(0x3e9)](_0x4a65aa,this[_0x2093f5(0x54e)](_0x4a65aa)+0x1);}[_0x5b4d61(0x54e)](_0x42ed24){const _0x300d70=_0x5b4d61;return this['_tableRevisions'][_0x300d70(0x3a4)](_0x42ed24)??0x0;}['_getCellRevision'](_0xaeaf3){const _0x1e801f=_0x5b4d61;return this[_0x1e801f(0x186)][_0x1e801f(0x3a4)](_0xaeaf3)??0x0;}[_0x5b4d61(0x3d4)](_0x5c7dae,_0xe600d0){const _0x398fa5=_0x5b4d61;return this[_0x398fa5(0x170)][_0x398fa5(0x3a4)](this[_0x398fa5(0x11a)](_0x5c7dae,_0xe600d0))??0x0;}[_0x5b4d61(0x381)](_0x30fba5,_0x858904){return _0x30fba5+'\x00'+_0x858904;}[_0x5b4d61(0x159)](_0x576281,_0x35426c){const _0x18b6a0=_0x5b4d61;return _0x576281+'\x00'+this[_0x18b6a0(0x441)](_0x35426c);}[_0x5b4d61(0x21a)](_0x147d2a,_0x1faf79,_0x136784){const _0x5368d0=_0x5b4d61;return _0x147d2a+'\x00'+this[_0x5368d0(0x441)](_0x1faf79)+'\x00'+this[_0x5368d0(0x1d3)](_0x136784);}[_0x5b4d61(0x441)](_0x462b1f){const _0x54b75b=_0x5b4d61;return _0x462b1f?_0x5b2c38({'filter':_0x305fc0(_0x462b1f[_0x54b75b(0x30a)]),'sort':_0x356ffe(_0x462b1f['sort'])}):_0x54b75b(0x171);}['_groupConfigCacheSegment'](_0x413b72){const _0xbbba97=_0x5b4d61;return _0x5b2c38(_0x413b72['map'](_0x39a638=>({'fieldId':_0x39a638[_0xbbba97(0x400)],'direction':_0x39a638[_0xbbba97(0x37b)]??null})));}['_viewRevisionKey'](_0x2fba77,_0x4056a0){return _0x2fba77+'\x00'+_0x4056a0;}[_0x5b4d61(0x50f)](_0x275383,_0x2d0af8){const _0x496dff=_0x5b4d61;var _0x47aeb2;let _0x26d786=_0x5f3470(_0x275383),_0x138399=this[_0x496dff(0x272)](_0x275383,_0x2d0af8),_0x20b54a=(_0x47aeb2=_0x2d0af8['filter'])!=null&&_0x47aeb2['conditions'][_0x496dff(0x46a)]?this[_0x496dff(0x272)](_0x275383,{..._0x2d0af8,'filter':null}):_0x138399,_0x30158b=_0x28f5e1(this['_getHierarchyIndex'](_0x275383,_0x26d786,_0x2d0af8['id'],_0x20b54a['map'](_0x88307f=>_0x88307f['recordId'])),_0x20b54a,new Set(_0x138399[_0x496dff(0x3ab)](_0x1eedd3=>_0x1eedd3['recordId'])));return{'type':_0x552f17[_0x496dff(0x2d5)][_0x496dff(0x48f)],'fields':this[_0x496dff(0x161)](_0x275383,_0x2d0af8),'rows':_0x30158b[_0x496dff(0x21e)],'groups':this[_0x496dff(0x31b)](_0x275383,_0x2d0af8,_0x30158b[_0x496dff(0x21e)],_0x30158b[_0x496dff(0x445)]),'hierarchy':_0x30158b['hierarchy'],'frozenFieldCount':typeof _0x2d0af8[_0x496dff(0x340)]['frozenFieldCount']==_0x496dff(0x544)?_0x2d0af8['config']['frozenFieldCount']:0x0};}[_0x5b4d61(0x4ad)](_0x1549c1,_0x10259d,_0x5b29d9,_0x166a05){const _0x16df83=_0x5b4d61;let _0xdbb91a=_0x1549c1['id']+'\x00'+_0x10259d+'\x00'+_0x5b29d9,_0x543b57=this[_0x16df83(0x542)](_0x1549c1['id']),_0x282e90=this[_0x16df83(0x43d)][_0x16df83(0x3a4)](_0xdbb91a);if(_0x282e90&&_0x282e90['globalRevision']===this[_0x16df83(0x4f3)]&&_0x282e90['tableRevision']===this[_0x16df83(0x54e)](_0x1549c1['id'])&&_0x282e90[_0x16df83(0x324)][_0x16df83(0x46a)]===_0x166a05[_0x16df83(0x46a)]&&_0x282e90[_0x16df83(0x324)]['every']((_0x16e55d,_0x41fde0)=>_0x16e55d===_0x166a05[_0x41fde0])){if(_0x282e90[_0x16df83(0x515)]===_0x543b57&&_0x282e90[_0x16df83(0x481)]===_0x1549c1)return _0x282e90['index'];if(!this[_0x16df83(0x4db)](_0x1549c1['id'],_0x282e90[_0x16df83(0x515)],_0x543b57,new Set([_0x10259d])))return this[_0x16df83(0x43d)]['set'](_0xdbb91a,{..._0x282e90,'table':_0x1549c1,'cellRevision':_0x543b57}),_0x282e90[_0x16df83(0x4a8)];}let _0x1eaf83=_0x128f1a(_0x1549c1,_0x10259d,_0x166a05);return this[_0x16df83(0x43d)][_0x16df83(0x3e9)](_0xdbb91a,{'table':_0x1549c1,'index':_0x1eaf83,'orderedRecordIds':_0x166a05,'globalRevision':this[_0x16df83(0x4f3)],'tableRevision':this[_0x16df83(0x54e)](_0x1549c1['id']),'cellRevision':_0x543b57}),_0x1eaf83;}['_projectHierarchyGroups'](_0xe58403,_0x40a5f1,_0x121602,_0x336368){const _0x15f208=_0x5b4d61;var _0x2e70b4;if(!((_0x2e70b4=_0x40a5f1['group'])!=null&&_0x2e70b4[_0x15f208(0x46a)]))return[];let _0xf2cd89=new Map(_0x121602[_0x15f208(0x3ab)](_0x58b637=>[_0x58b637[_0x15f208(0x504)],_0x58b637])),_0x2fea5e=_0x336368[_0x15f208(0x209)]['flatMap'](_0x2a0a64=>{let _0x31c4f0=_0xf2cd89['get'](_0x2a0a64);return _0x31c4f0?[_0x31c4f0]:[];}),_0x449669=this[_0x15f208(0x2c3)](_0xe58403,_0x40a5f1,_0x2fea5e),_0x211997=new Map(_0x336368[_0x15f208(0x324)][_0x15f208(0x3ab)]((_0x32f423,_0x2989a1)=>[_0x32f423,_0x2989a1])),_0x3cae06=_0x320d1c=>{const _0x20b6dc=_0x15f208;let _0x4e3f36=_0x336368[_0x20b6dc(0x2de)][_0x320d1c],_0x456503=_0x211997[_0x20b6dc(0x3a4)](_0x320d1c)??-0x1;return _0x456503<0x0||!_0x4e3f36?[]:_0x336368[_0x20b6dc(0x324)][_0x20b6dc(0x25d)](_0x456503,_0x4e3f36['subtreeEndIndex']+0x1);},_0x37a180=_0x56242d=>{const _0xdea48=_0x15f208;var _0x110d89,_0x3a3dbc;return{..._0x56242d,'recordIds':(_0x110d89=_0x56242d[_0xdea48(0x20e)])!=null&&_0x110d89[_0xdea48(0x46a)]?_0x56242d[_0xdea48(0x2fd)]:_0x56242d[_0xdea48(0x2fd)][_0xdea48(0x4a0)](_0x3cae06),'children':(_0x3a3dbc=_0x56242d[_0xdea48(0x20e)])==null?void 0x0:_0x3a3dbc[_0xdea48(0x3ab)](_0x37a180)};};return _0x449669[_0x15f208(0x3ab)](_0x37a180);}[_0x5b4d61(0x322)](_0x3332d3,_0x3787f6){const _0x433908=_0x5b4d61;var _0x2c2e79;let _0xaf48bf=this[_0x433908(0x42c)](_0x3332d3,_0x3787f6),_0x4126c5=_0xaf48bf?_0x3332d3[_0x433908(0x3ec)][_0xaf48bf]:void 0x0;if(!_0x4126c5)return{'type':_0x433908(0x3d2),'viewType':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'reason':_0x433908(0x182),'fieldId':_0x3787f6['config'][_0x433908(0xf8)]};let _0x1b043f=this[_0x433908(0x272)](_0x3332d3,_0x3787f6),_0x35cd43=this[_0x433908(0x161)](_0x3332d3,_0x3787f6),_0x38de3b=_0x3787f6[_0x433908(0x340)]??{},_0x1f8082=this[_0x433908(0x3af)](_0x3332d3,(_0x2c2e79=_0x38de3b[_0x433908(0x362)])==null?void 0x0:_0x2c2e79[_0x433908(0x458)]),_0x58a7a4=this[_0x433908(0x14b)](_0x3332d3,_0x3787f6,_0x4126c5['id'],_0x1f8082),_0x404b12=new Map();if(_0x288df0(_0x3332d3,_0x4126c5['id'])){let _0x5df0ae=this[_0x433908(0x4ad)](_0x3332d3,_0x4126c5['id'],_0x3787f6['id'],_0x1b043f[_0x433908(0x3ab)](_0x3a71ee=>_0x3a71ee[_0x433908(0x504)])),_0x57ab31=new Map();return _0x1b043f[_0x433908(0x116)](_0x5d235e=>{const _0x21e784=_0x433908;let _0x5767ad=_0x5df0ae[_0x21e784(0x378)][_0x21e784(0x3a4)](_0x5d235e[_0x21e784(0x504)])??null,_0x542963=_0x5767ad??'',_0x5d5720=_0x5767ad?_0x3332d3[_0x21e784(0x29e)][_0x5767ad]:void 0x0,_0x23bc2c=_0x57ab31[_0x21e784(0x3a4)](_0x542963)??{'key':_0x542963,'title':_0x5d5720?String(_0x3b09d7(_0x3332d3,_0x5d5720['id'],_0x3332d3['primaryFieldId'])??_0x5767ad):this[_0x21e784(0x482)](_0x4126c5,_0x542963,_0x38de3b),'recordIds':[]};_0x23bc2c['recordIds'][_0x21e784(0x36c)](_0x5d235e[_0x21e784(0x504)]),_0x57ab31[_0x21e784(0x3e9)](_0x542963,_0x23bc2c);}),{'type':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'fields':_0x35cd43,'rows':_0x1b043f,'groups':[],'groupFieldId':_0x4126c5['id'],'titleFieldId':_0x1f8082,'coverFieldId':this[_0x433908(0x386)](_0x3332d3,_0x38de3b),'cardLayout':_0x38de3b[_0x433908(0x22b)]===_0x433908(0x283)?_0x433908(0x283):'normal','showFieldNames':_0x38de3b['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x58a7a4,'lanes':['',..._0x5df0ae[_0x433908(0x324)]][_0x433908(0x4a0)](_0x164eca=>{const _0x330342=_0x433908;let _0x4ae4d9=_0x57ab31['get'](_0x164eca);return _0x4ae4d9!=null&&_0x4ae4d9[_0x330342(0x2fd)][_0x330342(0x46a)]?[_0x4ae4d9]:[];})};}return this[_0x433908(0x3b3)](_0x4126c5,_0x38de3b)[_0x433908(0x116)](_0x4235df=>_0x404b12[_0x433908(0x3e9)](_0x4235df[_0x433908(0x483)],{..._0x4235df,'recordIds':[]})),_0x1b043f[_0x433908(0x116)](_0xa3aafc=>{const _0x319a76=_0x433908;this[_0x319a76(0x4e0)](_0x4126c5,_0xa3aafc['values'][_0x4126c5['id']])[_0x319a76(0x116)](_0x2fd2cf=>{const _0x50583e=_0x319a76;let _0x3815a5=_0x404b12[_0x50583e(0x3a4)](_0x2fd2cf)??{'key':_0x2fd2cf,'title':this['_kanbanLaneTitle'](_0x4126c5,_0x2fd2cf,_0x38de3b),'color':this['_kanbanLaneColor'](_0x4126c5,_0x2fd2cf,_0x38de3b),'recordIds':[]};_0x3815a5[_0x50583e(0x2fd)][_0x50583e(0x36c)](_0xa3aafc[_0x50583e(0x504)]),_0x404b12[_0x50583e(0x3e9)](_0x2fd2cf,_0x3815a5);});}),{'type':_0x552f17[_0x433908(0x2d5)][_0x433908(0x493)],'fields':_0x35cd43,'rows':_0x1b043f,'groups':this['_projectGroups'](_0x3332d3,_0x3787f6,_0x1b043f),'groupFieldId':_0x4126c5['id'],'titleFieldId':_0x1f8082,'coverFieldId':this[_0x433908(0x386)](_0x3332d3,_0x38de3b),'cardLayout':_0x38de3b['cardLayout']===_0x433908(0x283)?'compose':_0x433908(0x109),'showFieldNames':_0x38de3b['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x58a7a4,'lanes':Array['from'](_0x404b12['values']())};}[_0x5b4d61(0x42c)](_0xa5f093,_0x74887f){const _0x516ec8=_0x5b4d61;var _0x197966;let _0x40e5cb=(_0x197966=_0x74887f[_0x516ec8(0x340)])==null?void 0x0:_0x197966['groupFieldId'];return _0x40e5cb&&this['_isKanbanGroupField'](_0xa5f093,_0x40e5cb)?_0x40e5cb:this[_0x516ec8(0x140)](_0xa5f093,_0x36fcaa=>this['_isAllowedKanbanGroupField'](_0x36fcaa));}[_0x5b4d61(0x140)](_0x100329,_0x583eab){const _0x143ab4=_0x5b4d61;for(let _0x4b6f8f of _0x100329[_0x143ab4(0x151)]){let _0x22679f=_0x100329[_0x143ab4(0x3ec)][_0x4b6f8f];if(_0x22679f&&_0x583eab(_0x22679f))return _0x22679f['id'];}return null;}[_0x5b4d61(0x38f)](_0x3c5299,_0x1ebd87){const _0x313717=_0x5b4d61;let _0x5abcb2=_0x3c5299[_0x313717(0x3ec)][_0x1ebd87];return this['_isAllowedKanbanGroupField'](_0x5abcb2)||_0x288df0(_0x3c5299,_0x1ebd87);}[_0x5b4d61(0x2bb)](_0x182fb5){const _0x30775d=_0x5b4d61;return!!_0x182fb5&&(_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x38b)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x51a)]||_0x182fb5['type']===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x2dc)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17['BaseFieldType'][_0x30775d(0x430)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17[_0x30775d(0x22d)][_0x30775d(0x220)]||_0x182fb5[_0x30775d(0x4cd)]===_0x552f17['BaseFieldType'][_0x30775d(0x3ad)]);}[_0x5b4d61(0x239)](_0x965589){const _0x1c25a2=_0x5b4d61;return _0x965589[_0x1c25a2(0x4cd)]===_0x552f17[_0x1c25a2(0x22d)][_0x1c25a2(0x38b)]||_0x965589[_0x1c25a2(0x4cd)]===_0x552f17[_0x1c25a2(0x22d)][_0x1c25a2(0x51a)];}[_0x5b4d61(0x386)](_0x1f31cc,_0x291416){const _0x31554e=_0x5b4d61;var _0x4e9179;let _0x3181c6=_0x291416[_0x31554e(0x4f7)]??((_0x4e9179=_0x291416[_0x31554e(0x362)])==null?void 0x0:_0x4e9179[_0x31554e(0x4f7)])??null;if(!_0x3181c6)return null;let _0x2c0366=_0x1f31cc[_0x31554e(0x3ec)][_0x3181c6];return _0x2c0366&&this['_capabilities'](_0x2c0366)['usableAsCardCover']?_0x2c0366['id']:null;}[_0x5b4d61(0x14b)](_0x41242e,_0x98f0a7,_0x1c5201,_0x2b7979=this[_0x5b4d61(0x3af)](_0x41242e,((()=>{const _0x16cb56=_0x5b4d61;var _0x5989af;return(_0x5989af=_0x98f0a7[_0x16cb56(0x340)])==null||(_0x5989af=_0x5989af['card'])==null?void 0x0:_0x5989af[_0x16cb56(0x458)];})()))){const _0xef9052=_0x5b4d61;var _0x4b232e;let _0x42bb16=_0x98f0a7[_0xef9052(0x340)]??{},_0x11a562=(_0x4b232e=_0x42bb16[_0xef9052(0x362)])!=null&&(_0x4b232e=_0x4b232e[_0xef9052(0x301)])!=null&&_0x4b232e[_0xef9052(0x46a)]?_0x42bb16['card']['fieldIds']:_0x413d5e(_0x41242e,[_0x2b7979,_0x41242e[_0xef9052(0x3a1)],_0x1c5201]),_0x147cbb=_0x42bb16['fieldSettings']??{};return _0x11a562['filter'](_0x4ae0ff=>{const _0x35c777=_0xef9052;var _0x211448,_0x1981d4;let _0x4b825d=_0x41242e[_0x35c777(0x3ec)][_0x4ae0ff];return!(!_0x4b825d||_0x4b825d[_0x35c777(0x505)]===!0x0||_0x4b825d['type']===_0x552f17['BaseFieldType'][_0x35c777(0x500)]||_0x4b825d['id']===_0x1c5201||_0x4b825d['id']===_0x2b7979||(_0x211448=_0x98f0a7[_0x35c777(0x32b)])!=null&&(_0x211448=_0x211448[_0x4ae0ff])!=null&&_0x211448[_0x35c777(0x3ba)]||(_0x1981d4=_0x147cbb[_0x4ae0ff])!=null&&_0x1981d4[_0x35c777(0x3ba)]);})[_0xef9052(0x3c2)]((_0x2498f8,_0x593e15)=>{const _0x44b680=_0xef9052;var _0xa608fa,_0x3f617d;return(((_0xa608fa=_0x147cbb[_0x2498f8])==null?void 0x0:_0xa608fa['order'])??_0x11a562[_0x44b680(0x462)](_0x2498f8))-(((_0x3f617d=_0x147cbb[_0x593e15])==null?void 0x0:_0x3f617d[_0x44b680(0x221)])??_0x11a562[_0x44b680(0x462)](_0x593e15));});}[_0x5b4d61(0x3b3)](_0x70f048,_0x196168){const _0x494335=_0x5b4d61;var _0x2fb57e;let _0x52187f=(Array[_0x494335(0x3bc)]((_0x2fb57e=_0x70f048[_0x494335(0x340)])==null?void 0x0:_0x2fb57e[_0x494335(0x3ef)])?_0x70f048[_0x494335(0x340)][_0x494335(0x3ef)]:[])[_0x494335(0x4a0)]((_0x3fbe56,_0x901287)=>{const _0x14c33b=_0x494335;if(_0x3fbe56==null)return[];let _0x5677f7=typeof _0x3fbe56==_0x14c33b(0x525)?{'id':_0x3fbe56,'name':_0x3fbe56,'color':void 0x0}:_0x3fbe56,_0x1d8fea=String(_0x5677f7['id']??_0x5677f7['name']??_0x14c33b(0x3c0)+(_0x901287+0x1));return[{'key':_0x1d8fea,'title':String(_0x5677f7[_0x14c33b(0x288)]??_0x5677f7['id']??_0x1d8fea),'color':this['_kanbanLaneColor'](_0x70f048,_0x1d8fea,_0x196168)}];});return Object[_0x494335(0x21f)](_0x196168['columnSettings']??{})['forEach'](([_0x37511f,_0x123235])=>{const _0x6f10ae=_0x494335;_0x52187f[_0x6f10ae(0x166)](_0x57bad5=>_0x57bad5['key']===_0x37511f)||_0x52187f[_0x6f10ae(0x36c)]({'key':_0x37511f,'title':this[_0x6f10ae(0x239)](_0x70f048)?_0x123235[_0x6f10ae(0x1a5)]??this[_0x6f10ae(0x482)](_0x70f048,_0x37511f,_0x196168):this['_kanbanLaneTitle'](_0x70f048,_0x37511f,_0x196168),'color':this[_0x6f10ae(0x10d)](_0x70f048,_0x37511f,_0x196168)});}),_0x52187f;}['_kanbanGroupKeys'](_0x2ef046,_0x4db2f4){const _0x3cba98=_0x5b4d61;let _0x313af4=_0x5141c1=>{const _0x1ff477=_0x152e;var _0x2d1394;let _0x15b65=_0x5141c1==null?'':String(_0x5141c1);return!_0x15b65||!this[_0x1ff477(0x239)](_0x2ef046)?_0x15b65:((_0x2d1394=_0x449efc(_0x2ef046,_0x15b65))==null?void 0x0:_0x2d1394['id'])??_0x15b65;};if(Array[_0x3cba98(0x3bc)](_0x4db2f4)){let _0x5210f3=_0x4db2f4[_0x3cba98(0x3ab)](_0x313af4)[_0x3cba98(0x30a)](_0x69d291=>_0x69d291!=='');return _0x5210f3[_0x3cba98(0x46a)]?_0x5210f3:[''];}return[_0x313af4(_0x4db2f4)];}[_0x5b4d61(0x482)](_0x9e2cff,_0x4a00e0,_0x4ec168){const _0x128009=_0x5b4d61;if(!_0x4a00e0)return _0x128009(0x517);let _0x5a4c9c=_0x449efc(_0x9e2cff,_0x4a00e0);return(_0x5a4c9c==null?void 0x0:_0x5a4c9c['name'])??_0x4a00e0;}[_0x5b4d61(0x10d)](_0x126353,_0x3eaa17,_0x16f36b){const _0x31de0e=_0x5b4d61;var _0x267edb;if(this[_0x31de0e(0x239)](_0x126353))return(_0x267edb=_0x449efc(_0x126353,_0x3eaa17))==null?void 0x0:_0x267edb[_0x31de0e(0x187)];}[_0x5b4d61(0x39c)](_0x1a8c39,_0x3f0adc){const _0x553da0=_0x5b4d61;let _0x1475d0=this[_0x553da0(0x4f2)](_0x1a8c39,_0x3f0adc[_0x553da0(0x340)]??{}),_0xc794b=_0x1a8c39['fields'][_0x1475d0[_0x553da0(0x1f9)]];if(!_0xc794b||_0xc794b[_0x553da0(0x4cd)]!==_0x552f17['BaseFieldType'][_0x553da0(0x522)]||_0xc794b[_0x553da0(0x4e2)]===!0x0||_0xc794b[_0x553da0(0x505)]===!0x0||!this[_0x553da0(0x22c)](_0xc794b)[_0x553da0(0x12d)])return{'type':_0x553da0(0x3d2),'viewType':_0x552f17[_0x553da0(0x2d5)]['Calendar'],'reason':_0x553da0(0x470),'fieldId':_0x1475d0[_0x553da0(0x1f9)]};let _0x34afcb=_0x1475d0['endDateFieldId']?_0x1a8c39[_0x553da0(0x3ec)][_0x1475d0['endDateFieldId']]:void 0x0,_0x5db788=this['_projectRows'](_0x1a8c39,_0x3f0adc);return{'type':_0x552f17[_0x553da0(0x2d5)][_0x553da0(0x2c4)],'config':_0x1475d0,'fields':this['_projectFields'](_0x1a8c39,_0x3f0adc),'rows':_0x5db788,'groups':this[_0x553da0(0x2c3)](_0x1a8c39,_0x3f0adc,_0x5db788),'events':_0x5db788[_0x553da0(0x4a0)](_0x37d25f=>{const _0x2763b0=_0x553da0;let _0x18c0a2=_0x1c8cf1(_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x1f9)]]);if(!Number[_0x2763b0(0x326)](_0x18c0a2))return[];let _0x1ac7ca=_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x1f9)]],_0x75f566=_0x1475d0['endDateFieldId']==null?void 0x0:_0x37d25f[_0x2763b0(0x4d1)][_0x1475d0[_0x2763b0(0x2e1)]],_0x530a77=_0x1475d0[_0x2763b0(0x2e1)]==null?void 0x0:_0x1c8cf1(_0x75f566),_0x457cfd=Number['isFinite'](_0x530a77)?_0x530a77:void 0x0;return[{'recordId':_0x37d25f[_0x2763b0(0x504)],'title':this[_0x2763b0(0x2ac)](_0x1a8c39,_0x37d25f,_0x1475d0[_0x2763b0(0x458)]),'start':_0x18c0a2,'end':_0x457cfd,'color':this[_0x2763b0(0x2d3)](_0x1a8c39,_0x37d25f,_0x1475d0),'startMs':_0x18c0a2,'endMs':_0x457cfd,'allDay':this['_isAllDayCalendarEvent'](_0xc794b,_0x34afcb,_0x1ac7ca,_0x75f566),'fieldValues':_0x37d25f[_0x2763b0(0x4d1)]}];})};}['_normalizeCalendarConfig'](_0x114c13,_0x4f354b){const _0x48b4d2=_0x5b4d61;let _0x3b671f=this[_0x48b4d2(0x40d)](_0x114c13,_0x4f354b[_0x48b4d2(0x1f9)]),_0x376a22=_0x4f354b[_0x48b4d2(0x2e1)]&&this['_isCalendarDateField'](_0x114c13,_0x4f354b[_0x48b4d2(0x2e1)])?_0x4f354b['endDateFieldId']:this['_findCalendarDateFieldId'](_0x114c13,_0x3b671f)??void 0x0,_0x5c31ae=_0x4f354b[_0x48b4d2(0x458)]?_0x114c13[_0x48b4d2(0x3ec)][_0x4f354b[_0x48b4d2(0x458)]]:void 0x0,_0x460abf=_0x5c31ae&&_0x5c31ae[_0x48b4d2(0x505)]!==!0x0&&_0x5c31ae[_0x48b4d2(0x4cd)]!==_0x552f17[_0x48b4d2(0x22d)][_0x48b4d2(0x500)]?_0x4f354b[_0x48b4d2(0x458)]:_0x114c13[_0x48b4d2(0x3a1)],_0x13cb16=_0x4f354b['mode']===_0x48b4d2(0x407)||_0x4f354b[_0x48b4d2(0x233)]===_0x48b4d2(0x215)?_0x4f354b['mode']:_0x48b4d2(0x255),_0x34edbd=_0x4f354b[_0x48b4d2(0x4ed)]===_0x48b4d2(0x3a9)||_0x4f354b[_0x48b4d2(0x4ed)]==='long'?_0x4f354b['timeslotSize']:'medium',_0xbcabf2=typeof _0x4f354b[_0x48b4d2(0x36e)]=='string'&&_0x4f354b[_0x48b4d2(0x36e)][_0x48b4d2(0x104)]()?_0x4f354b['timeZone']:_0x48b4d2(0x3fc),_0x886f9=this[_0x48b4d2(0x1f7)](_0x114c13,_0x4f354b);return{..._0x4f354b,'startDateFieldId':_0x3b671f,'endDateFieldId':_0x376a22,'titleFieldId':_0x460abf,'mode':_0x13cb16,'timeslotSize':_0x34edbd,'timeZone':_0xbcabf2,'displayColor':_0x886f9,'fieldSettings':Object[_0x48b4d2(0x1b2)](Object['entries'](_0x4f354b['fieldSettings']??{})[_0x48b4d2(0x30a)](([_0x5639f2])=>{const _0x926f78=_0x48b4d2;let _0x20006e=_0x114c13[_0x926f78(0x3ec)][_0x5639f2];return!!(_0x20006e&&_0x20006e[_0x926f78(0x505)]!==!0x0&&_0x20006e[_0x926f78(0x4cd)]!==_0x552f17['BaseFieldType'][_0x926f78(0x500)]);}))};}[_0x5b4d61(0x40d)](_0x4ec02a,_0xb0c8e6){const _0x2b20f9=_0x5b4d61;return _0xb0c8e6&&this['_isCalendarDateField'](_0x4ec02a,_0xb0c8e6)?_0xb0c8e6:this[_0x2b20f9(0x2f0)](_0x4ec02a)??_0xb0c8e6??'';}[_0x5b4d61(0x2f0)](_0x46a777,_0x4ece8e){for(let _0x163cec of _0x46a777['fieldOrder'])if(_0x163cec!==_0x4ece8e&&this['_isCalendarDateField'](_0x46a777,_0x163cec))return _0x163cec;return null;}['_isCalendarDateField'](_0x28ad0b,_0x24d7ba){const _0xb466df=_0x5b4d61;let _0x38a0a0=_0x28ad0b[_0xb466df(0x3ec)][_0x24d7ba];return!!_0x38a0a0&&_0x38a0a0[_0xb466df(0x4cd)]===_0x552f17[_0xb466df(0x22d)][_0xb466df(0x522)]&&_0x38a0a0['readonly']!==!0x0&&_0x38a0a0['system']!==!0x0&&this[_0xb466df(0x22c)](_0x38a0a0)[_0xb466df(0x12d)];}[_0x5b4d61(0x1f7)](_0x11b685,_0x2ce491){const _0xc761f3=_0x5b4d61;let _0x1e600e=_0x2ce491[_0xc761f3(0x4fc)];if((_0x1e600e==null?void 0x0:_0x1e600e[_0xc761f3(0x4cd)])==='selectField'){let _0x11664f=_0x11b685[_0xc761f3(0x3ec)][_0x1e600e[_0xc761f3(0x400)]];if(_0x11664f&&_0x11664f[_0xc761f3(0x4cd)]===_0x552f17[_0xc761f3(0x22d)][_0xc761f3(0x38b)])return _0x1e600e;}if((_0x1e600e==null?void 0x0:_0x1e600e[_0xc761f3(0x4cd)])==='custom'&&typeof _0x1e600e['color']==_0xc761f3(0x525)&&_0x1e600e[_0xc761f3(0x187)][_0xc761f3(0x104)]())return{'type':'custom','color':_0x1e600e[_0xc761f3(0x187)]};if(_0x2ce491[_0xc761f3(0x4b4)]){let _0x1b7d5e=_0x11b685[_0xc761f3(0x3ec)][_0x2ce491[_0xc761f3(0x4b4)]];if(_0x1b7d5e&&_0x1b7d5e['type']===_0x552f17[_0xc761f3(0x22d)][_0xc761f3(0x38b)])return{'type':_0xc761f3(0x299),'fieldId':_0x2ce491[_0xc761f3(0x4b4)]};}return{'type':_0xc761f3(0x510),'color':_0xc761f3(0x4f4)};}[_0x5b4d61(0x2d3)](_0x5d75f4,_0x5c581b,_0x3ca125){const _0x2fd4fa=_0x5b4d61;let _0x3cefb4=_0x3ca125[_0x2fd4fa(0x4fc)];if((_0x3cefb4==null?void 0x0:_0x3cefb4[_0x2fd4fa(0x4cd)])==='selectField'){var _0x422ff3;let _0x595db8=_0x5d75f4[_0x2fd4fa(0x3ec)][_0x3cefb4['fieldId']];if(!_0x595db8)return;let _0xc18a86=_0x5c581b[_0x2fd4fa(0x4d1)][_0x3cefb4['fieldId']],_0x27d0a9=Array[_0x2fd4fa(0x3bc)](_0xc18a86)?_0xc18a86[0x0]:_0xc18a86;return _0x27d0a9==null||(_0x422ff3=_0x449efc(_0x595db8,String(_0x27d0a9)))==null?void 0x0:_0x422ff3[_0x2fd4fa(0x187)];}if((_0x3cefb4==null?void 0x0:_0x3cefb4[_0x2fd4fa(0x4cd)])===_0x2fd4fa(0x510))return _0x3cefb4['color'];}['_isAllDayCalendarEvent'](_0x1ef9c3,_0x5accd2,_0x39cd1a,_0x3d0078){const _0xdf023d=_0x5b4d61;var _0x6fef99,_0xae129d;let _0xe063a3=((_0x6fef99=_0x1ef9c3[_0xdf023d(0x340)])==null?void 0x0:_0x6fef99[_0xdf023d(0x1f8)])===!0x0,_0x52d52a=(_0x5accd2==null||(_0xae129d=_0x5accd2[_0xdf023d(0x340)])==null?void 0x0:_0xae129d[_0xdf023d(0x1f8)])===!0x0;return!_0xe063a3&&!_0x52d52a;}[_0x5b4d61(0x2c1)](_0x521d0e,_0x2336d7){const _0x2f1fbb=_0x5b4d61;var _0x5de334,_0x56a66d;let _0x15b7d6=((_0x5de334=_0x521d0e[_0x2f1fbb(0x340)])==null?void 0x0:_0x5de334[_0x2f1fbb(0x1f8)])===!0x0,_0x4c9eaa=((_0x56a66d=_0x2336d7[_0x2f1fbb(0x340)])==null?void 0x0:_0x56a66d[_0x2f1fbb(0x1f8)])===!0x0;return!_0x15b7d6&&!_0x4c9eaa;}[_0x5b4d61(0x319)](_0x38a978,_0x3f3eac){const _0x3ce3ba=_0x5b4d61;let _0x5f17b2=this[_0x3ce3ba(0x191)](_0x38a978,_0x3f3eac[_0x3ce3ba(0x340)]),_0x3e5a5f=_0x38a978[_0x3ce3ba(0x3ec)][_0x5f17b2['startDateFieldId']];if(!_0x3e5a5f||_0x3e5a5f[_0x3ce3ba(0x4cd)]!==_0x552f17[_0x3ce3ba(0x22d)][_0x3ce3ba(0x522)]||_0x3e5a5f[_0x3ce3ba(0x4e2)]===!0x0||_0x3e5a5f[_0x3ce3ba(0x505)]===!0x0||!this[_0x3ce3ba(0x22c)](_0x3e5a5f)[_0x3ce3ba(0x34d)])return{'type':_0x3ce3ba(0x3d2),'viewType':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'reason':'invalidGanttStartField','fieldId':_0x5f17b2['startDateFieldId']};let _0x1cbfc7=_0x38a978['fields'][_0x5f17b2[_0x3ce3ba(0x2e1)]];if(!_0x1cbfc7||_0x1cbfc7[_0x3ce3ba(0x4cd)]!==_0x552f17[_0x3ce3ba(0x22d)][_0x3ce3ba(0x522)]||_0x1cbfc7[_0x3ce3ba(0x4e2)]===!0x0||_0x1cbfc7[_0x3ce3ba(0x505)]===!0x0||!this[_0x3ce3ba(0x22c)](_0x1cbfc7)[_0x3ce3ba(0x1bc)])return{'type':_0x3ce3ba(0x3d2),'viewType':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'reason':_0x3ce3ba(0x47e),'fieldId':_0x5f17b2[_0x3ce3ba(0x2e1)]};let _0x2c8ed7=this[_0x3ce3ba(0x2c1)](_0x3e5a5f,_0x1cbfc7),_0x1daaa0=this[_0x3ce3ba(0x272)](_0x38a978,_0x3f3eac),_0x59586c=_0x1daaa0[_0x3ce3ba(0x4a0)](_0xd44a12=>{const _0x27e0c3=_0x3ce3ba;let _0x56837f=_0x1c8cf1(_0xd44a12['values'][_0x5f17b2[_0x27e0c3(0x1f9)]]),_0x1286d1=_0x1c8cf1(_0xd44a12[_0x27e0c3(0x4d1)][_0x5f17b2[_0x27e0c3(0x2e1)]]);if(!Number[_0x27e0c3(0x326)](_0x56837f)||!Number['isFinite'](_0x1286d1))return[];let _0x52a290=Math[_0x27e0c3(0x3b5)](_0x56837f,_0x1286d1),_0x57b12a=Math[_0x27e0c3(0x3bd)](_0x56837f,_0x1286d1),_0x58c7e4=_0x5f17b2['progressFieldId']==null?void 0x0:Number(_0xd44a12['values'][_0x5f17b2[_0x27e0c3(0x3b1)]]);return[{'recordId':_0xd44a12[_0x27e0c3(0x504)],'title':this[_0x27e0c3(0x2ac)](_0x38a978,_0xd44a12,_0x5f17b2[_0x27e0c3(0x458)]),'start':_0x52a290,'end':_0x57b12a,'color':this[_0x27e0c3(0x496)](_0x38a978,_0xd44a12,_0x5f17b2),'progress':Number[_0x27e0c3(0x326)](_0x58c7e4)?_0x58c7e4:void 0x0,'workingDayCount':_0x5f17b2[_0x27e0c3(0x428)]?_0x3fbe15(_0x52a290,_0x57b12a,_0x5f17b2['workingDays']):void 0x0,'dependencyRecordIds':this[_0x27e0c3(0x426)](_0xd44a12[_0x27e0c3(0x4d1)][_0x5f17b2[_0x27e0c3(0x15e)]??''])}];}),_0x354b58=_0x59586c[_0x3ce3ba(0x46a)]?_0x57dfdc(Math[_0x3ce3ba(0x3b5)](..._0x59586c[_0x3ce3ba(0x3ab)](_0x176b1b=>_0x176b1b[_0x3ce3ba(0x143)]))-0x5a*_0x3d5047):_0x57dfdc(Date['now']()-0x5a*_0x3d5047),_0x4b07c4=_0x59586c[_0x3ce3ba(0x46a)]?_0x57dfdc(Math[_0x3ce3ba(0x3bd)](..._0x59586c[_0x3ce3ba(0x3ab)](_0x2617a9=>_0x2617a9[_0x3ce3ba(0x1fd)]))+0x5b*_0x3d5047):_0x57dfdc(Date[_0x3ce3ba(0x1ca)]()+0x5b*_0x3d5047),_0x1dd3f0=_0x198ab2(_0x5f17b2[_0x3ce3ba(0x1f0)],_0x354b58,_0x4b07c4,_0x5f17b2[_0x3ce3ba(0x428)]?_0x5f17b2[_0x3ce3ba(0x1bf)]:void 0x0);return{'type':_0x552f17[_0x3ce3ba(0x2d5)][_0x3ce3ba(0x374)],'fields':this['_projectFields'](_0x38a978,{..._0x3f3eac,'config':_0x5f17b2}),'rows':_0x1daaa0,'groups':this['_projectGroups'](_0x38a978,_0x3f3eac,_0x1daaa0),'config':_0x5f17b2,'dateRangeAllDay':_0x2c8ed7,'timeline':{'scale':_0x5f17b2[_0x3ce3ba(0x1f0)],'start':_0x354b58,'end':_0x4b07c4,'unitWidth':_0x1dd3f0[_0x3ce3ba(0x285)],'majorHeaders':_0x1dd3f0[_0x3ce3ba(0x27a)],'columns':_0x1dd3f0[_0x3ce3ba(0x28d)]},'bars':_0x59586c};}['_normalizeGanttConfig'](_0x195219,_0x5afb1d){const _0x5177a0=_0x5b4d61;let _0x139ef6=this['_resolveGanttDateFieldId'](_0x195219,_0x5afb1d['startDateFieldId'],_0x5177a0(0x143)),_0x34b603=this['_resolveGanttDateFieldId'](_0x195219,_0x5afb1d[_0x5177a0(0x2e1)],_0x5177a0(0x1fd))||_0x139ef6,_0x35d342=_0x5afb1d['titleFieldId']?_0x195219['fields'][_0x5afb1d[_0x5177a0(0x458)]]:void 0x0,_0xbfda02=_0x35d342&&_0x35d342[_0x5177a0(0x505)]!==!0x0&&_0x35d342[_0x5177a0(0x4cd)]!==_0x552f17['BaseFieldType'][_0x5177a0(0x500)]?_0x5afb1d['titleFieldId']:_0x195219[_0x5177a0(0x3a1)],_0x4e9d95=_0x5afb1d[_0x5177a0(0x1f0)]===_0x5177a0(0x215)||_0x5afb1d['scale']===_0x5177a0(0x32c)||_0x5afb1d[_0x5177a0(0x1f0)]===_0x5177a0(0x4d2)?_0x5afb1d['scale']:'month',_0x98557a=_0x21ec73(_0x5afb1d[_0x5177a0(0x1bf)]);return{..._0x5afb1d,'startDateFieldId':_0x139ef6,'endDateFieldId':_0x34b603,'titleFieldId':_0xbfda02,'scale':_0x4e9d95,'leftPaneWidth':typeof _0x5afb1d[_0x5177a0(0x365)]=='number'?_0x5afb1d[_0x5177a0(0x365)]:void 0x0,'leftPaneCollapsed':_0x5afb1d[_0x5177a0(0x45a)]===!0x0,'showTodayLine':_0x5afb1d['showTodayLine']!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x195219,_0x5afb1d),'fieldSettings':Object[_0x5177a0(0x1b2)](Object[_0x5177a0(0x21f)](_0x5afb1d[_0x5177a0(0x32b)]??{})[_0x5177a0(0x30a)](([_0x295d2d])=>{const _0x50ad5b=_0x5177a0;let _0x1e8ee1=_0x195219['fields'][_0x295d2d];return!!(_0x1e8ee1&&_0x1e8ee1['system']!==!0x0&&_0x1e8ee1[_0x50ad5b(0x4cd)]!==_0x552f17[_0x50ad5b(0x22d)][_0x50ad5b(0x500)]);})),'workingDaysOnly':_0x5afb1d[_0x5177a0(0x428)]===!0x0,'workingDays':_0x98557a};}[_0x5b4d61(0x1a3)](_0x47965b,_0x4c45c4,_0x1b42d8){const _0x223f2f=_0x5b4d61;if(_0x4c45c4&&this[_0x223f2f(0x148)](_0x47965b,_0x4c45c4,_0x1b42d8)||_0x4c45c4)return _0x4c45c4;for(let _0x5712e9 of _0x47965b[_0x223f2f(0x151)])if(this[_0x223f2f(0x148)](_0x47965b,_0x5712e9,_0x1b42d8))return _0x5712e9;return _0x4c45c4??'';}[_0x5b4d61(0x148)](_0x114f54,_0xc3d31b,_0x28e65b){const _0x1b666f=_0x5b4d61;let _0x4a0b00=_0x114f54[_0x1b666f(0x3ec)][_0xc3d31b];if(!_0x4a0b00||_0x4a0b00[_0x1b666f(0x4cd)]!==_0x552f17['BaseFieldType'][_0x1b666f(0x522)]||_0x4a0b00[_0x1b666f(0x4e2)]===!0x0||_0x4a0b00[_0x1b666f(0x505)]===!0x0)return!0x1;let _0x5b6233=this[_0x1b666f(0x22c)](_0x4a0b00);return _0x28e65b===_0x1b666f(0x143)?_0x5b6233[_0x1b666f(0x34d)]:_0x5b6233[_0x1b666f(0x1bc)];}[_0x5b4d61(0x466)](_0x385d1b,_0xd1ecc7){const _0x580242=_0x5b4d61;let _0x200d8c=_0xd1ecc7['displayColor'];if((_0x200d8c==null?void 0x0:_0x200d8c[_0x580242(0x4cd)])===_0x580242(0x299)){let _0x406cef=_0x385d1b['fields'][_0x200d8c[_0x580242(0x400)]];if(_0x406cef&&_0x406cef[_0x580242(0x4cd)]===_0x552f17[_0x580242(0x22d)][_0x580242(0x38b)])return _0x200d8c;}return(_0x200d8c==null?void 0x0:_0x200d8c['type'])===_0x580242(0x118)&&Array[_0x580242(0x3bc)](_0x200d8c[_0x580242(0x2b9)])?{'type':_0x580242(0x118),'rules':_0x200d8c[_0x580242(0x2b9)][_0x580242(0x30a)](_0x5b7919=>!!_0x385d1b['fields'][_0x5b7919[_0x580242(0x400)]])}:(_0x200d8c==null?void 0x0:_0x200d8c[_0x580242(0x4cd)])===_0x580242(0x510)&&typeof _0x200d8c[_0x580242(0x187)]==_0x580242(0x525)&&_0x200d8c['color'][_0x580242(0x104)]()?{'type':_0x580242(0x510),'color':_0x200d8c['color']}:{'type':_0x580242(0x510),'color':_0x580242(0x258)};}[_0x5b4d61(0x496)](_0x443723,_0x2823a5,_0x22ab7){const _0x364690=_0x5b4d61;let _0x2e7c0f=_0x22ab7['displayColor'];if((_0x2e7c0f==null?void 0x0:_0x2e7c0f[_0x364690(0x4cd)])===_0x364690(0x118)){let _0x5bec32=_0x2e7c0f['rules'][_0x364690(0x2f8)](_0x302082=>this['_matchesGanttColorRule'](_0x443723,_0x2823a5,_0x302082));if(_0x5bec32)return _0x5bec32['color'];}if((_0x2e7c0f==null?void 0x0:_0x2e7c0f['type'])===_0x364690(0x299)){let _0x52f28d=_0x443723['fields'][_0x2e7c0f[_0x364690(0x400)]];if(_0x52f28d){var _0x1347fb;let _0x27a82b=_0x2823a5['values'][_0x2e7c0f['fieldId']],_0x33ff0a=Array['isArray'](_0x27a82b)?_0x27a82b[0x0]:_0x27a82b,_0x48d266=_0x33ff0a==null||(_0x1347fb=_0x449efc(_0x52f28d,String(_0x33ff0a)))==null?void 0x0:_0x1347fb['color'];if(_0x48d266)return _0x48d266;}}return(_0x2e7c0f==null?void 0x0:_0x2e7c0f['type'])===_0x364690(0x510)?_0x2e7c0f[_0x364690(0x187)]:_0x364690(0x258);}['_matchesGanttColorRule'](_0x52c272,_0x146293,_0x23b1b8){const _0x166250=_0x5b4d61;let _0x2624d8=_0x52c272[_0x166250(0x3ec)][_0x23b1b8[_0x166250(0x400)]];return _0x2624d8?_0x255362(_0x146293[_0x166250(0x4d1)][_0x2624d8['id']],_0x23b1b8['operator'],_0x23b1b8[_0x166250(0x40e)],_0x2624d8,{'dateMode':_0x23b1b8['dateMode']}):!0x1;}['_buildGallery'](_0x2600a4,_0x22b19f){const _0x2fb919=_0x5b4d61;let _0x5bbe35=this[_0x2fb919(0x272)](_0x2600a4,_0x22b19f),_0x512a12=this[_0x2fb919(0x250)](_0x2600a4,_0x22b19f[_0x2fb919(0x340)]??{}),_0x5870ab=this[_0x2fb919(0x161)](_0x2600a4,_0x22b19f);return{'type':_0x552f17['BaseViewType'][_0x2fb919(0x15b)],'fields':_0x5870ab,'rows':_0x5bbe35,'groups':this[_0x2fb919(0x2c3)](_0x2600a4,_0x22b19f,_0x5bbe35),'titleFieldId':_0x512a12['card'][_0x2fb919(0x458)],'coverFieldId':_0x512a12['coverFieldId'],'cardLayout':_0x512a12['cardLayout']??_0x2fb919(0x109),'showFieldNames':_0x512a12[_0x2fb919(0x485)]!==!0x1,'visibleCardFieldIds':this[_0x2fb919(0x403)](_0x2600a4,_0x22b19f,_0x512a12),'cardSize':_0x512a12[_0x2fb919(0x51c)]??_0x2fb919(0x260),'cards':_0x5bbe35['map'](_0x26a2ff=>({'recordId':_0x26a2ff[_0x2fb919(0x504)],'title':this[_0x2fb919(0x2ac)](_0x2600a4,_0x26a2ff,_0x512a12['card']['titleFieldId']),'values':_0x26a2ff['values']}))};}[_0x5b4d61(0x250)](_0x2cf612,_0xbfa22c){const _0x4d0b8c=_0x5b4d61;let _0x4b592e=_0xbfa22c[_0x4d0b8c(0x362)]??{'fieldIds':[]},_0x36fe14=this[_0x4d0b8c(0x3af)](_0x2cf612,_0x4b592e[_0x4d0b8c(0x458)]),_0x3ad0f1=this[_0x4d0b8c(0x100)](_0x2cf612,_0xbfa22c),_0x521a71=_0xbfa22c[_0x4d0b8c(0x51c)]===_0x4d0b8c(0x3c1)||_0xbfa22c[_0x4d0b8c(0x51c)]===_0x4d0b8c(0x4ff)?_0xbfa22c[_0x4d0b8c(0x51c)]:_0x4d0b8c(0x260);return{..._0xbfa22c,'coverFieldId':_0x3ad0f1,'cardLayout':_0xbfa22c['cardLayout']==='compose'?_0x4d0b8c(0x283):_0x4d0b8c(0x109),'showFieldNames':_0xbfa22c[_0x4d0b8c(0x485)]!==!0x1,'fieldSettings':Object[_0x4d0b8c(0x1b2)](Object[_0x4d0b8c(0x21f)](_0xbfa22c[_0x4d0b8c(0x32b)]??{})['filter'](([_0x578196])=>{const _0x22f223=_0x4d0b8c;let _0x2e7ae0=_0x2cf612[_0x22f223(0x3ec)][_0x578196];return!!(_0x2e7ae0&&_0x2e7ae0[_0x22f223(0x505)]!==!0x0&&_0x2e7ae0[_0x22f223(0x4cd)]!==_0x552f17[_0x22f223(0x22d)][_0x22f223(0x500)]);})),'card':{..._0x4b592e,'titleFieldId':_0x36fe14,'coverFieldId':_0x3ad0f1,'fieldIds':Array[_0x4d0b8c(0x3bc)](_0x4b592e[_0x4d0b8c(0x301)])?_0x4b592e['fieldIds']:[]},'cardSize':_0x521a71};}[_0x5b4d61(0x3af)](_0x3bd0a6,_0x37104b){const _0x26e95b=_0x5b4d61;let _0x53d9f1=_0x37104b?_0x3bd0a6[_0x26e95b(0x3ec)][_0x37104b]:void 0x0;return _0x53d9f1&&_0x53d9f1[_0x26e95b(0x505)]!==!0x0&&_0x53d9f1[_0x26e95b(0x4cd)]!==_0x552f17[_0x26e95b(0x22d)][_0x26e95b(0x500)]?_0x53d9f1['id']:_0x4a71ef(_0x3bd0a6);}[_0x5b4d61(0x100)](_0x2f05fe,_0x4461f5){const _0x6d921c=_0x5b4d61;var _0x16ea34;let _0x6deb4c=_0x4461f5['coverFieldId']??((_0x16ea34=_0x4461f5['card'])==null?void 0x0:_0x16ea34[_0x6d921c(0x4f7)])??null;if(!_0x6deb4c)return null;let _0x3197ad=_0x2f05fe[_0x6d921c(0x3ec)][_0x6deb4c];return _0x3197ad&&this['_capabilities'](_0x3197ad)[_0x6d921c(0x528)]?_0x3197ad['id']:null;}[_0x5b4d61(0x403)](_0x1e26a6,_0x5dc197,_0x29be0e){const _0x1dee2a=_0x5b4d61;var _0x25fc35,_0x1378fd,_0x5b1f57;let _0x37202b=_0x29be0e[_0x1dee2a(0x32b)]??{},_0x4835cf=((_0x25fc35=_0x29be0e[_0x1dee2a(0x362)])==null?void 0x0:_0x25fc35[_0x1dee2a(0x458)])??_0x4a71ef(_0x1e26a6),_0x761327=_0x29be0e[_0x1dee2a(0x4f7)]??((_0x1378fd=_0x29be0e[_0x1dee2a(0x362)])==null?void 0x0:_0x1378fd[_0x1dee2a(0x4f7)])??null,_0xcea1c6=(_0x5b1f57=_0x29be0e['card'])!=null&&(_0x5b1f57=_0x5b1f57[_0x1dee2a(0x301)])!=null&&_0x5b1f57[_0x1dee2a(0x46a)]?_0x29be0e[_0x1dee2a(0x362)][_0x1dee2a(0x301)]:_0x413d5e(_0x1e26a6,[_0x4835cf,_0x761327,_0x1e26a6['primaryFieldId']]);return _0xcea1c6[_0x1dee2a(0x30a)](_0x30da04=>{const _0x4cd013=_0x1dee2a;var _0x910c2,_0x57e212;let _0x5cd4f0=_0x1e26a6['fields'][_0x30da04];return!(!_0x5cd4f0||_0x5cd4f0[_0x4cd013(0x505)]===!0x0||_0x5cd4f0[_0x4cd013(0x4cd)]===_0x552f17[_0x4cd013(0x22d)][_0x4cd013(0x500)]||_0x5cd4f0['id']===_0x4835cf||_0x5cd4f0['id']===_0x761327||(_0x910c2=_0x5dc197[_0x4cd013(0x32b)])!=null&&(_0x910c2=_0x910c2[_0x30da04])!=null&&_0x910c2[_0x4cd013(0x3ba)]||(_0x57e212=_0x37202b[_0x30da04])!=null&&_0x57e212[_0x4cd013(0x3ba)]);})[_0x1dee2a(0x3c2)]((_0x5663ce,_0x5efc72)=>{const _0x2e1574=_0x1dee2a;var _0x55c69f,_0x2c7254;return(((_0x55c69f=_0x37202b[_0x5663ce])==null?void 0x0:_0x55c69f[_0x2e1574(0x221)])??_0xcea1c6[_0x2e1574(0x462)](_0x5663ce))-(((_0x2c7254=_0x37202b[_0x5efc72])==null?void 0x0:_0x2c7254[_0x2e1574(0x221)])??_0xcea1c6[_0x2e1574(0x462)](_0x5efc72));});}[_0x5b4d61(0x161)](_0x5bd1c5,_0x334ffe){const _0x41c792=_0x5b4d61;var _0x5dce1e;return((_0x5dce1e=_0x334ffe[_0x41c792(0x151)])!=null&&_0x5dce1e[_0x41c792(0x46a)]?_0x334ffe['fieldOrder']:_0x5bd1c5[_0x41c792(0x151)])[_0x41c792(0x4a0)](_0x595d36=>{const _0x360341=_0x41c792;var _0x64cfc6;let _0x9992c9=_0x5bd1c5['fields'][_0x595d36],_0x312be8=((_0x64cfc6=_0x334ffe['fieldSettings'])==null?void 0x0:_0x64cfc6[_0x595d36])??{};return!_0x9992c9||_0x9992c9[_0x360341(0x505)]===!0x0||_0x9992c9['type']===_0x552f17[_0x360341(0x22d)][_0x360341(0x500)]||_0x312be8[_0x360341(0x3ba)]?[]:[{'id':_0x9992c9['id'],'name':_0x9992c9['name'],'description':_0x9992c9[_0x360341(0x13d)],'type':_0x9992c9[_0x360341(0x4cd)],'config':_0x9992c9[_0x360341(0x340)],'width':_0x312be8[_0x360341(0x213)],'setting':_0x312be8}];});}[_0x5b4d61(0x272)](_0x344fcc,_0x4eeeba){const _0x289459=_0x5b4d61;var _0x4bb8e8;return _0x44d452(_0x289459(0x29f),()=>{const _0x272a76=_0x289459;var _0x1f1f5d,_0x3093e0;let _0x3ddc6a=this['_projectTableRows'](_0x344fcc),_0x3045a2=this[_0x272a76(0x159)](_0x344fcc['id'],_0x4eeeba),_0x64c0d3=this[_0x272a76(0x542)](_0x344fcc['id']),_0x54449c=this[_0x272a76(0x36b)]['get'](_0x3045a2);if(_0x54449c&&_0x54449c['globalRevision']===this[_0x272a76(0x4f3)]&&_0x54449c[_0x272a76(0x3d5)]===this[_0x272a76(0x54e)](_0x344fcc['id'])){if(_0x54449c[_0x272a76(0x515)]===_0x64c0d3&&_0x54449c[_0x272a76(0x345)]===_0x3ddc6a)return _0x54449c[_0x272a76(0x21e)];if(_0x54449c[_0x272a76(0x515)]!==_0x64c0d3&&!this['_cellInvalidationsTouchFields'](_0x344fcc['id'],_0x54449c[_0x272a76(0x515)],_0x64c0d3,this[_0x272a76(0x348)](_0x4eeeba))){let _0x3df207=_0x54449c[_0x272a76(0x21e)]===_0x54449c['baseRows']?_0x3ddc6a:this['_patchCachedProjectedRows'](_0x54449c['rows'],_0x3ddc6a);if(_0x3df207)return this[_0x272a76(0x36b)][_0x272a76(0x3e9)](_0x3045a2,{..._0x54449c,'rows':_0x3df207,'baseRows':_0x3ddc6a,'cellRevision':_0x64c0d3}),_0x3df207;}}let _0x9fcb9d=_0x44d452(_0x272a76(0x1c7),()=>this[_0x272a76(0x4fd)](_0x344fcc,_0x4eeeba,this['_filterRows'](_0x344fcc,_0x4eeeba,_0x3ddc6a)),{'tableId':_0x344fcc['id'],'viewId':_0x4eeeba==null?void 0x0:_0x4eeeba['id'],'viewType':_0x4eeeba==null?void 0x0:_0x4eeeba[_0x272a76(0x4cd)],'rows':_0x3ddc6a[_0x272a76(0x46a)],'filters':(_0x4eeeba==null||(_0x1f1f5d=_0x4eeeba[_0x272a76(0x30a)])==null?void 0x0:_0x1f1f5d[_0x272a76(0x323)]['length'])??0x0,'sorts':(_0x4eeeba==null||(_0x3093e0=_0x4eeeba['sort'])==null?void 0x0:_0x3093e0[_0x272a76(0x46a)])??0x0});return this[_0x272a76(0x36b)][_0x272a76(0x3e9)](_0x3045a2,{'table':_0x344fcc,'rows':_0x9fcb9d,'baseRows':_0x3ddc6a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x272a76(0x54e)](_0x344fcc['id']),'cellRevision':_0x64c0d3}),_0x9fcb9d;},{'tableId':_0x344fcc['id'],'viewId':_0x4eeeba==null?void 0x0:_0x4eeeba['id'],'viewType':_0x4eeeba==null?void 0x0:_0x4eeeba[_0x289459(0x4cd)],'records':((_0x4bb8e8=_0x344fcc[_0x289459(0x52a)])==null?void 0x0:_0x4bb8e8[_0x289459(0x46a)])??Object[_0x289459(0x1bd)](_0x344fcc['records']??{})[_0x289459(0x46a)]});}[_0x5b4d61(0x350)](_0x326bd0){const _0x236392=_0x5b4d61;var _0xbaeee1;return _0x44d452('BaseProjection.projectTableRows',()=>{const _0x13785a=_0x152e;var _0x115c10;let _0x5b6ffe=this[_0x13785a(0x542)](_0x326bd0['id']),_0x2df3f8=this['_projectedRowsCache'][_0x13785a(0x3a4)](_0x326bd0['id']);if(_0x2df3f8&&_0x2df3f8['globalRevision']===this[_0x13785a(0x4f3)]&&_0x2df3f8[_0x13785a(0x3d5)]===this[_0x13785a(0x54e)](_0x326bd0['id'])){if(_0x2df3f8[_0x13785a(0x515)]===_0x5b6ffe&&_0x4e15b1(_0x2df3f8[_0x13785a(0x481)],_0x326bd0))return _0x2df3f8[_0x13785a(0x481)]=_0x326bd0,_0x2df3f8[_0x13785a(0x21e)];let _0x43a40a=this['_patchProjectedRowsForCellInvalidations'](_0x326bd0,_0x2df3f8,_0x5b6ffe);if(_0x43a40a)return _0x43a40a;}_0x3f93dd(_0x326bd0)||_0x2c21a9(_0x326bd0);let _0x3aa119=(_0x115c10=_0x326bd0['recordOrder'])!=null&&_0x115c10[_0x13785a(0x46a)]?_0x326bd0['recordOrder']:_0x4dd9e4(_0x326bd0[_0x13785a(0x29e)]),_0xe11f18=_0x44d452(_0x13785a(0x293),()=>{const _0x51508d=_0x13785a;let _0x3414ab=[];for(let _0x5ee460 of _0x3aa119){let _0x21b10b=_0x326bd0[_0x51508d(0x29e)][_0x5ee460];if(!_0x21b10b)continue;let _0x2724a0={};for(let _0x4bf13d of _0x326bd0[_0x51508d(0x151)])_0x2724a0[_0x4bf13d]=_0x3b09d7(_0x326bd0,_0x21b10b['id'],_0x4bf13d);_0x3414ab[_0x51508d(0x36c)]({'recordId':_0x21b10b['id'],'values':_0x2724a0});}return _0x3414ab;},{'tableId':_0x326bd0['id'],'records':_0x3aa119[_0x13785a(0x46a)],'fields':_0x326bd0[_0x13785a(0x151)][_0x13785a(0x46a)]});return this[_0x13785a(0xf1)][_0x13785a(0x3e9)](_0x326bd0['id'],{'table':_0x326bd0,'rows':_0xe11f18,'rowIndexById':_0x148d6f(_0xe11f18),'globalRevision':this[_0x13785a(0x4f3)],'tableRevision':this[_0x13785a(0x54e)](_0x326bd0['id']),'cellRevision':_0x5b6ffe}),_0xe11f18;},{'tableId':_0x326bd0['id'],'records':((_0xbaeee1=_0x326bd0['recordOrder'])==null?void 0x0:_0xbaeee1[_0x236392(0x46a)])??Object['keys'](_0x326bd0[_0x236392(0x29e)]??{})[_0x236392(0x46a)],'fields':_0x326bd0['fieldOrder'][_0x236392(0x46a)]});}[_0x5b4d61(0x368)](_0x2511a7,_0x54facb,_0x37f52e){const _0x398388=_0x5b4d61;let _0x3936bd=(this['_cellInvalidations'][_0x398388(0x3a4)](_0x2511a7['id'])??[])[_0x398388(0x30a)](_0x56438e=>_0x56438e[_0x398388(0x3e5)]>_0x54facb[_0x398388(0x515)]&&_0x56438e[_0x398388(0x3e5)]<=_0x37f52e);if(!_0x3936bd['length'])return _0x54facb[_0x398388(0x481)]===_0x2511a7?_0x54facb['rows']:null;let _0x2930de=_0x54facb[_0x398388(0x21e)],_0x2d9e7e=new Map();for(let _0x581907 of _0x3936bd){let _0x2b962c=_0x2d9e7e[_0x398388(0x3a4)](_0x581907['recordId']);_0x2b962c||(_0x2b962c=new Set(),_0x2d9e7e[_0x398388(0x3e9)](_0x581907[_0x398388(0x504)],_0x2b962c)),_0x2b962c[_0x398388(0x112)](_0x581907[_0x398388(0x400)]);}for(let [_0x17826c,_0x3e2592]of _0x2d9e7e){if(!_0x2511a7[_0x398388(0x29e)][_0x17826c])return null;let _0x4ca868=_0x54facb[_0x398388(0x1c3)][_0x398388(0x3a4)](_0x17826c);if(_0x4ca868==null)return null;_0x2930de===_0x54facb['rows']&&(_0x2930de=[..._0x54facb[_0x398388(0x21e)]]);let _0x198122=_0x2930de[_0x4ca868],_0x357957={..._0x198122[_0x398388(0x4d1)]};_0x3e2592[_0x398388(0x116)](_0x3157f0=>{_0x357957[_0x3157f0]=_0x3b09d7(_0x2511a7,_0x17826c,_0x3157f0);}),_0x2930de[_0x4ca868]={..._0x198122,'values':_0x357957};}let _0x161e2a={'table':_0x2511a7,'rows':_0x2930de,'rowIndexById':_0x54facb['rowIndexById'],'globalRevision':this[_0x398388(0x4f3)],'tableRevision':this[_0x398388(0x54e)](_0x2511a7['id']),'cellRevision':_0x37f52e};return this[_0x398388(0xf1)][_0x398388(0x3e9)](_0x2511a7['id'],_0x161e2a),this[_0x398388(0x14d)]['set'](_0x2511a7['id'],(this['_cellInvalidations'][_0x398388(0x3a4)](_0x2511a7['id'])??[])['filter'](_0x4a3821=>_0x4a3821[_0x398388(0x3e5)]>Math[_0x398388(0x3bd)](0x0,_0x37f52e-0x100))),_0x2930de;}[_0x5b4d61(0x1f1)](_0x341cd1,_0x263e14){const _0x26ce54=_0x5b4d61;let _0x48d725=new Map(_0x263e14[_0x26ce54(0x3ab)](_0x310da6=>[_0x310da6['recordId'],_0x310da6])),_0x5bc1e8=!0x1,_0x18034f=_0x341cd1['map'](_0x33835a=>{const _0x2abbad=_0x26ce54;let _0x5b1d64=_0x48d725['get'](_0x33835a[_0x2abbad(0x504)]);return _0x5b1d64?_0x5b1d64===_0x33835a?_0x33835a:(_0x5bc1e8=!0x0,_0x5b1d64):_0x33835a;});return _0x5bc1e8?_0x18034f:_0x341cd1;}[_0x5b4d61(0x4db)](_0x25cd82,_0x562946,_0x56c987,_0x1564bc){const _0x398a93=_0x5b4d61;return!_0x1564bc[_0x398a93(0x18d)]||_0x562946===_0x56c987?!0x1:_0x56c987-_0x562946>0x100||(this['_cellInvalidations'][_0x398a93(0x3a4)](_0x25cd82)??[])[_0x398a93(0x166)](_0x4fac93=>_0x4fac93[_0x398a93(0x3e5)]>_0x562946&&_0x4fac93[_0x398a93(0x3e5)]<=_0x56c987&&_0x1564bc['has'](_0x4fac93[_0x398a93(0x400)]));}[_0x5b4d61(0x348)](_0x2ada79){const _0x3a7851=_0x5b4d61;var _0x4f3319,_0x1c469a;let _0x12d885=new Set();return _0x2ada79==null||(_0x4f3319=_0x2ada79[_0x3a7851(0x30a)])==null||_0x4f3319[_0x3a7851(0x323)]['forEach'](_0xd85cd2=>_0x12d885[_0x3a7851(0x112)](_0xd85cd2['fieldId'])),_0x2ada79==null||(_0x1c469a=_0x2ada79[_0x3a7851(0x3c2)])==null||_0x1c469a[_0x3a7851(0x116)](_0x450516=>_0x12d885[_0x3a7851(0x112)](_0x450516[_0x3a7851(0x400)])),_0x12d885;}['_groupProjectionFieldIds'](_0x66c63f){const _0x5a30af=_0x5b4d61;var _0x506b2c;let _0x281c20=this['_filterSortFieldIds'](_0x66c63f);return(_0x506b2c=_0x66c63f['group'])==null||_0x506b2c[_0x5a30af(0x116)](_0x5a921a=>_0x281c20['add'](_0x5a921a['fieldId'])),_0x281c20;}[_0x5b4d61(0x1d1)](_0x4228bf,_0x1186ad,_0x5bf75b){const _0x426607=_0x5b4d61;let _0x265e74=_0x1186ad==null?void 0x0:_0x1186ad[_0x426607(0x30a)];if(!(_0x265e74!=null&&_0x265e74['conditions'][_0x426607(0x46a)]))return _0x5bf75b;let _0x182187=_0x265e74[_0x426607(0x323)][_0x426607(0x30a)](_0x2e72cb=>!_0x8bd2f9(_0x2e72cb));return _0x182187[_0x426607(0x46a)]?_0x5bf75b['filter'](_0x53523c=>{const _0x1b078b=_0x426607;if(_0x265e74[_0x1b078b(0x230)]===_0x552f17['BaseFilterConjunction']['OR']){for(let _0x514a7a of _0x182187){let _0x4075f7=_0x4228bf[_0x1b078b(0x3ec)][_0x514a7a[_0x1b078b(0x400)]];if(!_0x4075f7||this['_fieldRegistry'][_0x1b078b(0x3a4)](_0x4075f7[_0x1b078b(0x4cd)])[_0x1b078b(0x30a)](_0x53523c[_0x1b078b(0x4d1)][_0x4075f7['id']],_0x514a7a[_0x1b078b(0x252)],_0x514a7a[_0x1b078b(0x40e)],_0x4075f7))return!0x0;}return!0x1;}for(let _0x21aca9 of _0x182187){let _0x256628=_0x4228bf[_0x1b078b(0x3ec)][_0x21aca9['fieldId']];if(_0x256628&&!this[_0x1b078b(0x2eb)][_0x1b078b(0x3a4)](_0x256628[_0x1b078b(0x4cd)])[_0x1b078b(0x30a)](_0x53523c['values'][_0x256628['id']],_0x21aca9[_0x1b078b(0x252)],_0x21aca9['operand'],_0x256628))return!0x1;}return!0x0;}):_0x5bf75b;}[_0x5b4d61(0x4fd)](_0xfa6dbe,_0x4383e1,_0x1ad646){const _0x21bfe8=_0x5b4d61;let _0x32a5ce=(_0x4383e1==null?void 0x0:_0x4383e1[_0x21bfe8(0x3c2)])??[];if(!_0x32a5ce[_0x21bfe8(0x46a)])return _0x1ad646;let _0x4e5b26=_0x32a5ce[_0x21bfe8(0x4a0)](_0x1f9fa2=>{const _0x138be6=_0x21bfe8;let _0x3fa8a9=_0xfa6dbe[_0x138be6(0x3ec)][_0x1f9fa2[_0x138be6(0x400)]];return _0x3fa8a9?[{..._0x1f9fa2,'field':_0x3fa8a9}]:[];});return _0x4e5b26['length']?this[_0x21bfe8(0x226)](_0x4e5b26)?this['_fastSortRows'](_0x4e5b26,_0x1ad646):[..._0x1ad646][_0x21bfe8(0x3c2)]((_0x26d097,_0xce1a4a)=>{const _0x45cd9b=_0x21bfe8;for(let _0xf672bf of _0x4e5b26){let _0x52f052=_0xf672bf[_0x45cd9b(0x420)],_0x11440a=this[_0x45cd9b(0x2eb)][_0x45cd9b(0x3a4)](_0x52f052[_0x45cd9b(0x4cd)])['compare'](_0x26d097[_0x45cd9b(0x4d1)][_0x52f052['id']],_0xce1a4a[_0x45cd9b(0x4d1)][_0x52f052['id']],_0x52f052);if(_0x11440a!==0x0)return _0xf672bf[_0x45cd9b(0x37b)]===_0x552f17[_0x45cd9b(0x52f)]['DESC']?-_0x11440a:_0x11440a;}return 0x0;}):_0x1ad646;}[_0x5b4d61(0x226)](_0x1348cd){const _0x158251=_0x5b4d61;return _0x1348cd[_0x158251(0x25e)](_0x5a563f=>_0x42c6c0[_0x158251(0x1d8)](_0x5a563f[_0x158251(0x420)]['type']));}[_0x5b4d61(0x3c7)](_0x2724b6,_0x19517e){const _0x1b24ca=_0x5b4d61;return _0x19517e[_0x1b24ca(0x3ab)]((_0x1926f9,_0x351d53)=>({'row':_0x1926f9,'index':_0x351d53,'keys':_0x2724b6[_0x1b24ca(0x3ab)](_0x5aa966=>_0x1926f9[_0x1b24ca(0x4d1)][_0x5aa966[_0x1b24ca(0x400)]])}))[_0x1b24ca(0x3c2)]((_0x217620,_0x40a59d)=>{const _0xebf720=_0x1b24ca;for(let _0x3f03c6=0x0;_0x3f03c6<_0x2724b6[_0xebf720(0x46a)];_0x3f03c6++){let _0x465a67=_0x423074(_0x217620[_0xebf720(0x1bd)][_0x3f03c6],_0x40a59d[_0xebf720(0x1bd)][_0x3f03c6]);if(_0x465a67!==0x0)return _0x2724b6[_0x3f03c6][_0xebf720(0x37b)]===_0x552f17[_0xebf720(0x52f)][_0xebf720(0x27b)]?-_0x465a67:_0x465a67;}return _0x217620[_0xebf720(0x4a8)]-_0x40a59d[_0xebf720(0x4a8)];})[_0x1b24ca(0x3ab)](_0x46b1eb=>_0x46b1eb[_0x1b24ca(0x4d6)]);}[_0x5b4d61(0x2c3)](_0x141466,_0x3cb15c,_0x460372){const _0x4bc3a0=_0x5b4d61;var _0x4b385c;return _0x44d452('BaseProjection.projectGroups',()=>{const _0x43444c=_0x152e;var _0x367083;if(!((_0x367083=_0x3cb15c[_0x43444c(0x2ab)])!=null&&_0x367083[_0x43444c(0x46a)]))return[];let _0x203ae8=_0x3cb15c[_0x43444c(0x2ab)]['filter'](_0x1f7d20=>_0x141466['fields'][_0x1f7d20[_0x43444c(0x400)]]);if(!_0x203ae8[_0x43444c(0x46a)])return[];let _0x566d17=this['_groupsCacheKey'](_0x141466['id'],_0x3cb15c,_0x203ae8),_0x4da27a=this[_0x43444c(0x542)](_0x141466['id']),_0x14766f=this[_0x43444c(0x16d)][_0x43444c(0x3a4)](_0x566d17);if(_0x14766f&&_0x14766f[_0x43444c(0x387)]===this[_0x43444c(0x4f3)]&&_0x14766f[_0x43444c(0x3d5)]===this[_0x43444c(0x54e)](_0x141466['id'])){if(_0x14766f[_0x43444c(0x515)]===_0x4da27a&&_0x14766f[_0x43444c(0x21e)]===_0x460372)return _0x14766f[_0x43444c(0x47b)];if(_0x14766f[_0x43444c(0x515)]!==_0x4da27a&&!this[_0x43444c(0x4db)](_0x141466['id'],_0x14766f[_0x43444c(0x515)],_0x4da27a,this['_groupProjectionFieldIds'](_0x3cb15c)))return this[_0x43444c(0x16d)][_0x43444c(0x3e9)](_0x566d17,{..._0x14766f,'rows':_0x460372,'cellRevision':_0x4da27a}),_0x14766f[_0x43444c(0x47b)];}let _0x5f0a7a=new Map();for(let _0x4dce14 of _0x460372){let _0x8e6126=_0x5f0a7a,_0xa57399='';for(let _0x49e8e3=0x0;_0x49e8e3<_0x203ae8[_0x43444c(0x46a)];_0x49e8e3++){let _0x251ea3=_0x203ae8[_0x49e8e3],_0x2d0e62=_0x4dce14[_0x43444c(0x4d1)][_0x251ea3['fieldId']],_0x3463de=_0x4b666d(_0x2d0e62),_0x465b42=_0x251ea3[_0x43444c(0x400)]+'\x00'+_0x3463de,_0x33f323=_0xa57399+'/'+_0x251ea3[_0x43444c(0x400)]+':'+_0x3463de,_0x33854c=_0x8e6126[_0x43444c(0x3a4)](_0x465b42);_0x33854c||(_0x33854c={'key':_0x3463de,'value':_0x2d0e62,'path':_0x33f323,'label':_0x3463de||_0x43444c(0x160),'fieldId':_0x251ea3[_0x43444c(0x400)],'level':_0x49e8e3,'recordIds':[],'children':new Map()},_0x8e6126[_0x43444c(0x3e9)](_0x465b42,_0x33854c)),_0x33854c[_0x43444c(0x2fd)][_0x43444c(0x36c)](_0x4dce14[_0x43444c(0x504)]),_0x8e6126=_0x33854c[_0x43444c(0x20e)],_0xa57399=_0x33f323;}}let _0x39cf53=this[_0x43444c(0x307)](_0x203ae8,_0x5f0a7a,0x0);return this['_projectedGroupsCache'][_0x43444c(0x3e9)](_0x566d17,{'table':_0x141466,'rows':_0x460372,'groups':_0x39cf53,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x43444c(0x54e)](_0x141466['id']),'cellRevision':_0x4da27a}),_0x39cf53;},{'tableId':_0x141466['id'],'viewId':_0x3cb15c['id'],'viewType':_0x3cb15c[_0x4bc3a0(0x4cd)],'rows':_0x460372[_0x4bc3a0(0x46a)],'groupFields':((_0x4b385c=_0x3cb15c[_0x4bc3a0(0x2ab)])==null?void 0x0:_0x4b385c[_0x4bc3a0(0x46a)])??0x0});}[_0x5b4d61(0x307)](_0x8252a9,_0x55d140,_0x151047){const _0x39d5b6=_0x5b4d61;var _0x156c0e;let _0x20311d=Array[_0x39d5b6(0x1c0)](_0x55d140[_0x39d5b6(0x4d1)]()),_0x12faff=(_0x156c0e=_0x8252a9[_0x151047])==null?void 0x0:_0x156c0e['direction'];return _0x12faff&&_0x20311d[_0x39d5b6(0x3c2)]((_0x3ada3a,_0x36a0f8)=>{const _0xd0544f=_0x39d5b6;let _0x2c8243=_0x3ada3a[_0xd0544f(0x483)][_0xd0544f(0x2f1)](_0x36a0f8[_0xd0544f(0x483)]);return _0x12faff===_0x552f17[_0xd0544f(0x52f)][_0xd0544f(0x27b)]?-_0x2c8243:_0x2c8243;}),_0x20311d['map'](_0x213356=>({'key':_0x213356[_0x39d5b6(0x483)],'value':_0x213356['value'],'path':_0x213356[_0x39d5b6(0x513)],'label':_0x213356['label'],'fieldId':_0x213356['fieldId'],'level':_0x213356[_0x39d5b6(0x2f2)],'recordIds':_0x213356[_0x39d5b6(0x2fd)],'children':this['_materializeGroups'](_0x8252a9,_0x213356[_0x39d5b6(0x20e)],_0x151047+0x1)}));}['_title'](_0x2b1495,_0x49fb00,_0x38bb1f){const _0x1e0c38=_0x5b4d61;let _0x10ebeb=_0x38bb1f??_0x2b1495[_0x1e0c38(0x3a1)],_0x24de7b=_0x49fb00[_0x1e0c38(0x4d1)][_0x10ebeb];return _0x24de7b==null?'':String(_0x24de7b);}[_0x5b4d61(0x426)](_0x32c5b7){const _0x5d45a7=_0x5b4d61;if(Array['isArray'](_0x32c5b7))return _0x32c5b7['map'](String);if(typeof _0x32c5b7==_0x5d45a7(0x525)&&_0x32c5b7)return[_0x32c5b7];}[_0x5b4d61(0x22c)](_0xcda931){const _0x5f16df=_0x5b4d61;return this[_0x5f16df(0x2eb)][_0x5f16df(0x3a4)](_0xcda931['type'])[_0x5f16df(0x3fe)](_0xcda931);}};_0x57d072=_0x3a99e3([_0x8293b1(0x0,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x430fbe))],_0x57d072);function _0x4b666d(_0x372de9){return _0x372de9==null?'':String(_0x372de9);}function _0x148d6f(_0x28fd93){const _0x13cb3d=_0x5b4d61;return new Map(_0x28fd93[_0x13cb3d(0x3ab)]((_0x3431ea,_0x7a26ae)=>[_0x3431ea[_0x13cb3d(0x504)],_0x7a26ae]));}function _0x3f93dd(_0x4d0118){const _0x323779=_0x5b4d61;return!!(Array[_0x323779(0x3bc)](_0x4d0118[_0x323779(0x52a)])&&_0x4d0118[_0x323779(0x1a0)]&&_0x4d0118[_0x323779(0x219)]&&_0x4d0118[_0x323779(0x4ee)]&&_0x4d0118[_0x323779(0x43a)]&&_0x4d0118['cellData']);}function _0x305fc0(_0x325aca){const _0x85b317=_0x5b4d61;let _0x253dbd=(_0x325aca==null?void 0x0:_0x325aca[_0x85b317(0x323)][_0x85b317(0x30a)](_0x1c7b68=>!_0x8bd2f9(_0x1c7b68)))??[];return!_0x325aca||!_0x253dbd[_0x85b317(0x46a)]?null:{'conjunction':_0x325aca[_0x85b317(0x230)],'conditions':_0x253dbd[_0x85b317(0x3ab)](_0x1661b5=>({'fieldId':_0x1661b5[_0x85b317(0x400)],'operator':_0x1661b5[_0x85b317(0x252)],'operand':_0x1661b5[_0x85b317(0x40e)]}))};}function _0x4e15b1(_0x25a2f0,_0x573894){const _0x182551=_0x5b4d61;return _0x25a2f0['records']===_0x573894[_0x182551(0x29e)]&&_0x25a2f0[_0x182551(0x52a)]===_0x573894['recordOrder']&&_0x25a2f0['fields']===_0x573894[_0x182551(0x3ec)]&&_0x25a2f0[_0x182551(0x151)]===_0x573894[_0x182551(0x151)]&&_0x25a2f0[_0x182551(0x4af)]===_0x573894[_0x182551(0x4af)]&&_0x25a2f0[_0x182551(0x1a0)]===_0x573894[_0x182551(0x1a0)]&&_0x25a2f0['rowId']===_0x573894[_0x182551(0x219)]&&_0x25a2f0[_0x182551(0x4ee)]===_0x573894[_0x182551(0x4ee)]&&_0x25a2f0[_0x182551(0x43a)]===_0x573894[_0x182551(0x43a)];}function _0x356ffe(_0x1b8cb1){const _0x34bbb7=_0x5b4d61;return _0x1b8cb1!=null&&_0x1b8cb1[_0x34bbb7(0x46a)]?_0x1b8cb1[_0x34bbb7(0x3ab)](_0x36bbac=>({'fieldId':_0x36bbac[_0x34bbb7(0x400)],'direction':_0x36bbac[_0x34bbb7(0x37b)]})):null;}function _0x5b2c38(_0x4ba523){const _0x344792=_0x5b4d61;if(typeof _0x4ba523!=_0x344792(0x434)||!_0x4ba523)return JSON[_0x344792(0x306)](_0x4ba523)??'undefined';if(Array[_0x344792(0x3bc)](_0x4ba523))return'['+_0x4ba523[_0x344792(0x3ab)](_0x5b2c38)[_0x344792(0x53f)](',')+']';let _0xa87e8d=_0x4ba523;return'{'+Object['keys'](_0xa87e8d)[_0x344792(0x3c2)]()['map'](_0x48d53a=>JSON['stringify'](_0x48d53a)+':'+_0x5b2c38(_0xa87e8d[_0x48d53a]))[_0x344792(0x53f)](',')+'}';}function _0x4dd9e4(_0x535869){const _0x5c40d1=_0x5b4d61;let _0x3d1876=Object[_0x5c40d1(0x4d1)](_0x535869)[_0x5c40d1(0x3c2)]((_0x527b18,_0x462e0e)=>_0x527b18[_0x5c40d1(0x12f)]['localeCompare'](_0x462e0e[_0x5c40d1(0x12f)])),_0x13f7b9=[];for(let _0x1bb3f7 of _0x3d1876)_0x13f7b9[_0x5c40d1(0x36c)](_0x1bb3f7['id']);return _0x13f7b9;}function _0x21ec73(_0x324996){const _0x5e9147=_0x5b4d61;return{'weekdays':Array[_0x5e9147(0x3bc)](_0x324996==null?void 0x0:_0x324996[_0x5e9147(0x506)])&&_0x324996['weekdays'][_0x5e9147(0x46a)]?[...new Set(_0x324996[_0x5e9147(0x506)][_0x5e9147(0x30a)](_0xd83d11=>Number['isInteger'](_0xd83d11)&&_0xd83d11>=0x1&&_0xd83d11<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x5e9147(0x3bc)](_0x324996==null?void 0x0:_0x324996[_0x5e9147(0x1e6)])?_0x324996[_0x5e9147(0x1e6)]['flatMap'](_0x2ee67d=>!_0x2ee67d||!Number[_0x5e9147(0x326)](_0x2ee67d[_0x5e9147(0x2c2)])?[]:[{'id':String(_0x2ee67d['id']||_0x5e9147(0x4ab)+_0x2ee67d[_0x5e9147(0x2c2)]),'date':_0x57dfdc(Number(_0x2ee67d[_0x5e9147(0x2c2)])),'name':String(_0x2ee67d['name']||_0x5e9147(0x20b)),'type':_0x2ee67d[_0x5e9147(0x4cd)]===_0x5e9147(0x165)?_0x5e9147(0x165):_0x5e9147(0x271)}]):[]};}function _0x198ab2(_0x480fe2,_0x4a38b3,_0x28b664,_0xbaae29){let _0x58b4cd=_0x5198d5(_0x480fe2,_0x4a38b3),_0x1fd507=_0x261de5(_0x480fe2,_0x28b664),_0x333eff=_0x374f94(_0x480fe2,_0x58b4cd,_0x1fd507,_0xbaae29);return{'scale':_0x480fe2,'start':_0x58b4cd,'end':_0x1fd507,'unitWidth':_0x75e41e(_0x480fe2),'majorHeaders':_0x5132a9(_0x480fe2,_0x58b4cd,_0x1fd507),'columns':_0x333eff};}function _0x374f94(_0x148bac,_0x4c6a91,_0x20ac00,_0x36142f){const _0x12d664=_0x5b4d61;let _0x342c49=[],_0x2b0a6=_0x4c6a91;for(;_0x2b0a6<_0x20ac00;){let _0x379700=_0x148bac===_0x12d664(0x32c)?_0x1b8583(_0x2b0a6,0x7):_0x148bac===_0x12d664(0x4d2)?_0x4347a9(_0x2b0a6,0x1):_0x1b8583(_0x2b0a6,0x1);_0x342c49['push']({'id':_0x148bac+'-'+_0x2b0a6,'label':_0x3ded72(_0x148bac,_0x2b0a6,_0x379700),'majorLabel':_0x20298c(_0x148bac,_0x2b0a6),'start':_0x2b0a6,'end':_0x379700,'nonWorking':_0x175f2c(_0x2b0a6,_0x379700,_0x36142f)}),_0x2b0a6=_0x379700;}return _0x342c49;}function _0x5132a9(_0x480afd,_0x540d05,_0x3987a2){const _0x4496cc=_0x5b4d61;let _0x41b537=[],_0x3345ce=_0x480afd===_0x4496cc(0x4d2)?_0x1633b4(_0x540d05):_0xf79717(_0x540d05);for(;_0x3345ce<_0x3987a2;){let _0x5b21e6=_0x480afd===_0x4496cc(0x4d2)?_0x5185a4(_0x3345ce,0x1):_0x4347a9(_0x3345ce,0x1);_0x41b537['push']({'id':_0x4496cc(0x11d)+_0x3345ce,'label':_0x480afd===_0x4496cc(0x4d2)?String(new Date(_0x3345ce)[_0x4496cc(0x11b)]()):_0x4f1e10(_0x3345ce),'start':_0x3345ce,'end':_0x5b21e6}),_0x3345ce=_0x5b21e6;}return _0x41b537;}function _0x75e41e(_0x31711d){const _0x53b7d9=_0x5b4d61;switch(_0x31711d){case _0x53b7d9(0x215):return 0xac;case _0x53b7d9(0x32c):return 0xac;case _0x53b7d9(0x4d2):return 0x88;default:return 0x56;}}function _0x5198d5(_0x3d406f,_0x665765){const _0x23514d=_0x5b4d61;return _0x3d406f===_0x23514d(0x4d2)?_0x1633b4(_0x665765):_0x3d406f===_0x23514d(0x32c)?_0x1076b8(_0x665765):_0x57dfdc(_0x665765);}function _0x261de5(_0x435ce5,_0x4a182f){const _0x709834=_0x5b4d61;return _0x435ce5===_0x709834(0x4d2)?_0x5185a4(_0x1633b4(_0x4a182f),0x1):_0x435ce5===_0x709834(0x32c)?_0x1b8583(_0x1076b8(_0x4a182f),0x7):_0x1b8583(_0x57dfdc(_0x4a182f),0x1);}function _0x3ded72(_0x5066e7,_0x246603,_0x142424){const _0x20f286=_0x5b4d61;let _0x5680c1=new Date(_0x246603);return _0x5066e7===_0x20f286(0x32c)?_0x5680c1['getUTCDate']()+'-'+new Date(_0x142424-_0x3d5047)[_0x20f286(0x478)]():_0x5066e7===_0x20f286(0x4d2)?_0x5680c1[_0x20f286(0x13f)](_0x20f286(0x539),{'month':_0x20f286(0x3a9),'timeZone':'UTC'}):String(_0x5680c1[_0x20f286(0x478)]());}function _0x20298c(_0x3e7a97,_0x406c20){const _0x5a638e=_0x5b4d61;return _0x3e7a97===_0x5a638e(0x4d2)?String(new Date(_0x406c20)[_0x5a638e(0x11b)]()):_0x4f1e10(_0x406c20);}function _0x3fbe15(_0x1b35d5,_0x530630,_0x38bbd0){let _0x38035c=_0x21ec73(_0x38bbd0),_0x25a033=0x0;for(let _0x262f00=_0x57dfdc(_0x1b35d5);_0x262f00<=_0x57dfdc(_0x530630);_0x262f00=_0x1b8583(_0x262f00,0x1))_0x5917ea(_0x262f00,_0x38035c)||_0x25a033++;return _0x25a033;}function _0x175f2c(_0x391c2f,_0x5d9847,_0x1e198b){if(!_0x1e198b)return!0x1;let _0x34b813=_0x21ec73(_0x1e198b);for(let _0x18ee8b=_0x57dfdc(_0x391c2f);_0x18ee8b<_0x5d9847;_0x18ee8b=_0x1b8583(_0x18ee8b,0x1))if(!_0x5917ea(_0x18ee8b,_0x34b813))return!0x1;return!0x0;}function _0x5917ea(_0x329cee,_0x1e5d07){const _0x1c7af4=_0x5b4d61;let _0x5e49ed=_0x57dfdc(_0x329cee),_0x25fc94=_0x1e5d07[_0x1c7af4(0x1e6)][_0x1c7af4(0x2f8)](_0x1b47eb=>_0x57dfdc(_0x1b47eb[_0x1c7af4(0x2c2)])===_0x5e49ed);if(_0x25fc94)return _0x25fc94[_0x1c7af4(0x4cd)]===_0x1c7af4(0x271);let _0xa5dd15=new Date(_0x5e49ed)[_0x1c7af4(0x29b)](),_0x341762=_0xa5dd15===0x0?0x7:_0xa5dd15;return!_0x1e5d07[_0x1c7af4(0x506)]['includes'](_0x341762);}function _0x57dfdc(_0x3ed604){const _0x1bbc32=_0x5b4d61;let _0x1967c0=new Date(_0x3ed604);return Date[_0x1bbc32(0x284)](_0x1967c0[_0x1bbc32(0x11b)](),_0x1967c0[_0x1bbc32(0x27f)](),_0x1967c0[_0x1bbc32(0x478)]());}function _0x1076b8(_0x19cfc1){const _0xb9748a=_0x5b4d61;let _0x23ab2e=_0x57dfdc(_0x19cfc1),_0x57eee7=new Date(_0x23ab2e)[_0xb9748a(0x29b)]();return _0x1b8583(_0x23ab2e,-(_0x57eee7===0x0?0x6:_0x57eee7-0x1));}function _0xf79717(_0x4eb60f){const _0x59b8e4=_0x5b4d61;let _0x3380f4=new Date(_0x4eb60f);return Date['UTC'](_0x3380f4[_0x59b8e4(0x11b)](),_0x3380f4[_0x59b8e4(0x27f)](),0x1);}function _0x1633b4(_0x1a6dd2){let _0x2772de=new Date(_0x1a6dd2);return Date['UTC'](_0x2772de['getUTCFullYear'](),0x0,0x1);}function _0x1b8583(_0x9549d4,_0x1b9e6b){return _0x9549d4+_0x1b9e6b*_0x3d5047;}function _0x4347a9(_0x3a3c32,_0x3970c9){const _0x52ab11=_0x5b4d61;let _0x1bbf8c=new Date(_0x3a3c32);return Date[_0x52ab11(0x284)](_0x1bbf8c[_0x52ab11(0x11b)](),_0x1bbf8c[_0x52ab11(0x27f)]()+_0x3970c9,0x1);}function _0x5185a4(_0x30bb93,_0x3d3c2b){const _0x197b5e=_0x5b4d61;let _0x1d0539=new Date(_0x30bb93);return Date[_0x197b5e(0x284)](_0x1d0539['getUTCFullYear']()+_0x3d3c2b,0x0,0x1);}function _0x4f1e10(_0x3663c3){const _0x5306ba=_0x5b4d61;let _0x4729d4=new Date(_0x3663c3);return _0x4729d4['toLocaleString']('en-US',{'month':'short','timeZone':_0x5306ba(0x284)})+'\x20'+_0x4729d4['getUTCFullYear']();}function _0x423074(_0x51395e,_0xa658a9){const _0x22128d=_0x5b4d61;if(_0x51395e==null&&_0xa658a9==null)return 0x0;if(_0x51395e==null)return-0x1;if(_0xa658a9==null)return 0x1;if(typeof _0x51395e==_0x22128d(0x10b)||typeof _0xa658a9==_0x22128d(0x10b))return Number(_0x51395e===!0x0)-Number(_0xa658a9===!0x0);let _0x162a1b=Number(_0x51395e),_0x1170fc=Number(_0xa658a9),_0x1c0f48=Number[_0x22128d(0x326)](_0x162a1b),_0x31ea13=Number['isFinite'](_0x1170fc);return _0x1c0f48&&_0x31ea13?_0x162a1b-_0x1170fc:_0x1c0f48?0x1:_0x31ea13?-0x1:String(_0x51395e)[_0x22128d(0x2f1)](String(_0xa658a9));}function _0x8bd2f9(_0x2841d9){const _0x5a39b8=_0x5b4d61;if(_0x2841d9[_0x5a39b8(0x252)]!=='is'&&_0x2841d9[_0x5a39b8(0x252)]!==_0x5a39b8(0xf9))return!0x1;let _0x4e9180=_0x2841d9[_0x5a39b8(0x40e)];return _0x4e9180==null?!0x0:typeof _0x4e9180==_0x5a39b8(0x525)?_0x4e9180[_0x5a39b8(0x104)]()==='':Array[_0x5a39b8(0x3bc)](_0x4e9180)?_0x4e9180[_0x5a39b8(0x46a)]===0x0:!0x1;}function _0x449efc(_0x1e8c8b,_0xa716ce){const _0x39c4f7=_0x5b4d61;var _0x1e02f7;let _0x2004fb=Array[_0x39c4f7(0x3bc)]((_0x1e02f7=_0x1e8c8b['config'])==null?void 0x0:_0x1e02f7[_0x39c4f7(0x3ef)])?_0x1e8c8b['config'][_0x39c4f7(0x3ef)]:[];for(let _0x308e12 of _0x2004fb){if(_0x308e12==null)continue;if(typeof _0x308e12=='string'){if(_0x308e12===_0xa716ce)return{'id':_0x308e12,'name':_0x308e12};continue;}let _0x35a7a7=_0x308e12,_0x17278b=String(_0x35a7a7['id']??_0x35a7a7[_0x39c4f7(0x288)]??''),_0x1f9a70=String(_0x35a7a7[_0x39c4f7(0x288)]??_0x35a7a7['id']??_0x17278b);if(_0x17278b===_0xa716ce||_0x1f9a70===_0xa716ce)return{'id':_0x17278b,'name':_0x1f9a70,'color':_0x35a7a7['color']==null?void 0x0:String(_0x35a7a7[_0x39c4f7(0x187)])};}return null;}let _0x44eb40=function(_0x26a557){const _0x5c5878=_0x5b4d61;return _0x26a557[_0x5c5878(0x3aa)]=_0x5c5878(0x50b),_0x26a557['DeleteView']='delete-view',_0x26a557;}({}),_0x489c96={'id':_0x5b4d61(0x3d6),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x4b3)],'handler'(_0x5181e7,_0x49f4ae){const _0x16a23c=_0x5b4d61;let {unitId:_0x370367,op:_0x3ea9f6}=_0x49f4ae,_0x53872f=_0x5181e7['get'](_0x552f17[_0x16a23c(0x372)])['getUnit'](_0x370367,_0x552f17[_0x16a23c(0x349)][_0x16a23c(0x1e2)]);if(!_0x53872f)return!0x1;let _0x7f39a2=_0x53872f['getSnapshot'](),_0xbc74d4=new _0x600fcd(),_0xace5ad=_0xbc74d4[_0x16a23c(0x529)](_0x3ea9f6),_0x22e6b6=_0xbc74d4[_0x16a23c(0x401)](_0x7f39a2,_0x3ea9f6);return _0x53872f[_0x16a23c(0x33a)](_0x22e6b6),_0xfb5006(_0x22e6b6,_0xace5ad,_0x5181e7[_0x16a23c(0x3a4)](_0x1b33ef)),!0x0;}};function _0xfb5006(_0x4901cc,_0x2a3275,_0x35025f){const _0x768cdf=_0x5b4d61;let _0x1f01b7=new Set(),_0x11e20a=new Set(),_0x2ecfda=new Set();for(let _0x6c5571 of _0x2a3275){if(_0x6c5571[_0x768cdf(0x4bb)]===_0x768cdf(0x391)&&_0x6c5571['tableId']&&_0x6c5571[_0x768cdf(0x1b8)]){let _0x1bbb10=_0x6c5571['tableId']+'\x00'+_0x6c5571[_0x768cdf(0x1b8)];_0x2ecfda['has'](_0x1bbb10)||(_0x2ecfda['add'](_0x1bbb10),_0x35025f[_0x768cdf(0x3c4)](_0x6c5571[_0x768cdf(0x111)],_0x6c5571[_0x768cdf(0x1b8)]));continue;}if(_0x6c5571[_0x768cdf(0x4bb)]==='field'&&_0x6c5571[_0x768cdf(0x111)]&&_0x6c5571[_0x768cdf(0x400)]){let _0x65a218=_0x6c5571[_0x768cdf(0x111)]+'\x00'+_0x6c5571[_0x768cdf(0x400)];_0x11e20a['has'](_0x65a218)||(_0x11e20a['add'](_0x65a218),_0x35025f[_0x768cdf(0x246)](_0x6c5571[_0x768cdf(0x111)],_0x6c5571[_0x768cdf(0x400)]));continue;}if(_0x6c5571[_0x768cdf(0x4bb)]!==_0x768cdf(0x164)){_0x35025f[_0x768cdf(0x31e)]();return;}let _0x562178=_0x5781af(_0x4901cc,_0x6c5571);if(!_0x562178){_0x35025f[_0x768cdf(0x31e)]();return;}let _0x440fa0=_0x562178[_0x768cdf(0x111)]+'\x00'+_0x562178['recordId']+'\x00'+_0x562178[_0x768cdf(0x400)];_0x1f01b7['has'](_0x440fa0)||(_0x1f01b7['add'](_0x440fa0),_0x35025f['invalidateByCell'](_0x562178[_0x768cdf(0x111)],_0x562178[_0x768cdf(0x504)],_0x562178[_0x768cdf(0x400)]));}}function _0x5781af(_0xd7c3e8,_0x547f60){const _0x399134=_0x5b4d61;var _0x4c21b3,_0x2bab22;if(!_0x547f60['tableId'])return null;if(_0x547f60['recordId']&&_0x547f60['fieldId'])return{'tableId':_0x547f60[_0x399134(0x111)],'recordId':_0x547f60[_0x399134(0x504)],'fieldId':_0x547f60[_0x399134(0x400)]};if(_0x547f60[_0x399134(0x4d6)]==null||_0x547f60[_0x399134(0x44b)]==null)return null;let _0x4d947b=_0xd7c3e8['tables'][_0x547f60[_0x399134(0x111)]],_0x3b9399=_0x4d947b==null||(_0x4c21b3=_0x4d947b[_0x399134(0x219)])==null?void 0x0:_0x4c21b3[_0x547f60[_0x399134(0x4d6)]],_0x2c370a=_0x4d947b==null||(_0x2bab22=_0x4d947b[_0x399134(0x43a)])==null?void 0x0:_0x2bab22[_0x547f60[_0x399134(0x44b)]];return!_0x3b9399||!_0x2c370a?null:{'tableId':_0x547f60[_0x399134(0x111)],'recordId':_0x3b9399,'fieldId':_0x2c370a};}let _0x4282ab=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x413bcc=_0x552f17['regexp'][_0x5b4d61(0x541)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x5ebc8e=/\{([^}]+)\}/g,_0x576778=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String[_0x5b4d61(0x540)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x5bef2f=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String[_0x5b4d61(0x540)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1c0a03=_0x552f17[_0x5b4d61(0x484)]['createRegExpFromSafeFragment'](String['raw']`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x199d49=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x1608bd=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x59e926=_0x552f17[_0x5b4d61(0x484)][_0x5b4d61(0x541)](String[_0x5b4d61(0x540)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x328073=class{[_0x5b4d61(0x4b6)](_0x530bc6,_0x23583d=_0x530bc6['id']){const _0xdea7c7=_0x5b4d61;var _0x2aab37;let _0x8814b9=((_0x2aab37=_0x530bc6[_0xdea7c7(0x52a)])==null?void 0x0:_0x2aab37[_0xdea7c7(0x46a)])??Object[_0xdea7c7(0x4d1)](_0x530bc6['records'])[_0xdea7c7(0x46a)];return{'sheetId':_0x23583d,'titleMap':new Map(_0x530bc6[_0xdea7c7(0x151)][_0xdea7c7(0x3ab)]((_0x445866,_0x32beaf)=>{const _0x13d932=_0xdea7c7;var _0x58aa02;return[((_0x58aa02=_0x530bc6[_0x13d932(0x3ec)][_0x445866])==null?void 0x0:_0x58aa02[_0x13d932(0x288)])??_0x445866,_0x32beaf];})),'range':{'startRow':0x0,'endRow':Math[_0xdea7c7(0x3bd)](0x0,_0x8814b9-0x1),'startColumn':0x0,'endColumn':Math[_0xdea7c7(0x3bd)](0x0,_0x530bc6['fieldOrder'][_0xdea7c7(0x46a)]-0x1)},'showHeader':!0x1};}[_0x5b4d61(0x4fe)](_0x5cc97a,_0x3619aa){const _0x5eebeb=_0x5b4d61;let _0x1f39f7=[],_0x4e5c5f=_0x3619aa?new Set(_0x3619aa):null,_0x203b36=(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x5cc97a);return Object[_0x5eebeb(0x4d1)](_0x5cc97a[_0x5eebeb(0x1e1)])['filter'](_0x5ef220=>!_0x4e5c5f||_0x4e5c5f['has'](_0x5ef220['id']))[_0x5eebeb(0x116)](_0x198aa3=>{const _0x278f0f=_0x5eebeb;let _0x23fc1c=this[_0x278f0f(0x4b6)](_0x198aa3,_0x198aa3['id']);_0x1f39f7[_0x278f0f(0x36c)]({'tableId':_0x198aa3['id'],'tableName':_0x203b36['get'](_0x198aa3['id']),'reference':_0x23fc1c});}),_0x1f39f7;}[_0x5b4d61(0x1cb)](_0x3f1c1d,_0x151c47,_0x5daedc={}){const _0x243379=_0x5b4d61;let _0x5b0697=_0x3f1c1d[_0x243379(0x104)]();if(!_0x5b0697)return{'valid':!0x0};if(_0x34b396(_0x5b0697))return{'valid':!0x1,'reason':_0x243379(0x33b)};let _0x289e2b=_0x5daedc['snapshot']?(0x0,_0x552f17['createBaseFormulaTableNameMap'])(_0x5daedc['snapshot']):void 0x0;for(let _0xd4b02d of _0x18dbe7(_0x5b0697)){let _0x2fc152=_0x13c888(_0xd4b02d,_0x151c47,_0x5daedc[_0x243379(0x3a0)],_0x289e2b);if(!_0x2fc152[_0x243379(0x481)])return{'valid':!0x1,'reason':_0x243379(0x514)+_0xd4b02d[_0x243379(0x2a1)]+_0x243379(0x3ae)};if(!_0x2fc152[_0x243379(0x420)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0xd4b02d[_0x243379(0x3e6)]+_0x243379(0x31f)};}return{'valid':!0x0};}[_0x5b4d61(0x275)](_0x3fa237,_0x499dcb,_0x24d03e={}){const _0x474bc=_0x5b4d61;let _0x417845=new Set();for(let _0x1a47c5 of this['getStructuredDependencies'](_0x3fa237,_0x499dcb,_0x24d03e))_0x1a47c5['tableId']===_0x499dcb['id']&&_0x417845[_0x474bc(0x112)](_0x1a47c5[_0x474bc(0x400)]);return Array[_0x474bc(0x1c0)](_0x417845);}['getStructuredDependencies'](_0xdcb412,_0x1d3701,_0x4eed11={}){const _0xc87a2d=_0x5b4d61;let _0x1c47dc=new Map(),_0x17d271=_0x4eed11[_0xc87a2d(0x3a0)]?(0x0,_0x552f17[_0xc87a2d(0x469)])(_0x4eed11['snapshot']):void 0x0;for(let _0x476e04 of _0x18dbe7(_0xdcb412)){let _0x877f2b=_0x13c888(_0x476e04,_0x1d3701,_0x4eed11[_0xc87a2d(0x3a0)],_0x17d271);if(!_0x877f2b[_0xc87a2d(0x481)]||!_0x877f2b[_0xc87a2d(0x420)])continue;let _0x21423c=_0x877f2b[_0xc87a2d(0x481)]['id']+'\x1f'+_0x877f2b['field']['id'];_0x1c47dc['set'](_0x21423c,{'tableId':_0x877f2b[_0xc87a2d(0x481)]['id'],'fieldId':_0x877f2b[_0xc87a2d(0x420)]['id']});}return Array[_0xc87a2d(0x1c0)](_0x1c47dc[_0xc87a2d(0x4d1)]());}};function _0x2b2cc4(_0x50cd8d,_0x250cce){const _0x52076e=_0x5b4d61;var _0x7e4dd9;let _0x2a5438=[],_0x248b87=(_0x7e4dd9=_0x250cce[_0x52076e(0x32a)])==null?void 0x0:_0x7e4dd9[_0x50cd8d['id']];return _0x248b87&&Object['entries'](_0x248b87)[_0x52076e(0x116)](([_0x483131,_0x5316fc])=>{const _0x49e1d3=_0x52076e;let _0x503110=_0x50cd8d[_0x49e1d3(0x1e1)][_0x483131];if(!_0x503110||!_0x5316fc)return;let _0x44ee24=_0x2c21a9(_0x503110),_0x4ba5af=[];new _0x552f17[(_0x49e1d3(0x44c))](_0x5316fc)['forValue']((_0x48e701,_0x17ecfc,_0x249fb7)=>{const _0x3fe1d3=_0x49e1d3;let _0x409ae2=_0x36b4e4(_0x44ee24,_0x48e701,_0x17ecfc,_0x249fb7);_0x409ae2&&_0x4ba5af[_0x3fe1d3(0x36c)](_0x409ae2);}),_0x4ba5af[_0x49e1d3(0x46a)]&&_0x2a5438['push']({'unitId':_0x50cd8d['id'],'tableId':_0x483131,'patches':_0x4ba5af});}),_0x2a5438;}function _0x36b4e4(_0x13d055,_0x195d62,_0x579b22,_0x443767){const _0x1da5c9=_0x5b4d61;var _0x5ef6ed,_0x543494,_0x460114;let _0x1bc4b7=(_0x5ef6ed=_0x13d055[_0x1da5c9(0x219)])==null?void 0x0:_0x5ef6ed[_0x195d62],_0x54dec6=(_0x543494=_0x13d055[_0x1da5c9(0x43a)])==null?void 0x0:_0x543494[_0x579b22];if(!_0x1bc4b7||!_0x13d055[_0x1da5c9(0x29e)][_0x1bc4b7]||!_0x54dec6)return null;let _0x3edfad=_0x13d055[_0x1da5c9(0x3ec)][_0x54dec6];if(!_0x3edfad||_0x3edfad[_0x1da5c9(0x4cd)]!==_0x1da5c9(0x498))return null;let _0x308ee1=String(((_0x460114=_0x3edfad['config'])==null?void 0x0:_0x460114[_0x1da5c9(0x498)])??'')[_0x1da5c9(0x104)](),_0x30a019=(_0x443767==null?void 0x0:_0x443767['v'])??null,_0x53ebdf={'v':_0x30a019,'t':_0x1b3017(_0x30a019),..._0x195d62===0x0&&_0x308ee1?{'f':_0x308ee1}:{},'si':_0x3edfad['id']};return _0xf61ac7(_0x3d3ef8(_0x13d055,_0x1bc4b7,_0x54dec6),_0x53ebdf)?null:{'row':_0x195d62,'col':_0x579b22,'value':_0x53ebdf};}function _0xf61ac7(_0x5da945,_0x1d9525){return _0x5da945!=null&&Object['is'](_0x5da945['v']??null,_0x1d9525['v']??null)&&_0x5da945['t']===_0x1d9525['t']&&_0x5da945['f']===_0x1d9525['f']&&_0x5da945['si']===_0x1d9525['si'];}function _0x1b3017(_0x3af6ce){const _0xcfb758=_0x5b4d61;return typeof _0x3af6ce==_0xcfb758(0x544)?_0x552f17[_0xcfb758(0x393)][_0xcfb758(0x2fe)]:typeof _0x3af6ce==_0xcfb758(0x10b)?_0x552f17[_0xcfb758(0x393)][_0xcfb758(0x486)]:typeof _0x3af6ce==_0xcfb758(0x525)?_0x552f17[_0xcfb758(0x393)]['STRING']:null;}function _0x18dbe7(_0x466fae){const _0x2dc19d=_0x5b4d61;let _0x547f14=_0x1e9897(_0x466fae,()=>''),_0x1d1f6c=new Map(),_0x43411b=_0x1c8b54=>{const _0x300ad6=_0x152e;_0x1d1f6c[_0x300ad6(0x3e9)]((_0x1c8b54['tableName']??'')+'\x1f'+_0x1c8b54[_0x300ad6(0x3e6)],_0x1c8b54);};for(let _0x3cb56f of _0x547f14[_0x2dc19d(0x298)](_0x5ebc8e))_0x43411b({'fieldName':_0x3cb56f[0x1],'scope':'this-row'});_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x576778,(_0x3e873c,_0x4eda70,_0xd3e0e,_0x1f6d37)=>(_0x43411b({'tableName':_0x4eda70,'fieldName':_0x1f6d37,'scope':_0xd3e0e[_0x2dc19d(0x335)]()===_0x2dc19d(0x14a)?'data':_0x2dc19d(0x2d1)}),'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x5bef2f,(_0x5d67bc,_0x9b89b4,_0x19f239)=>(_0x43411b({'tableName':_0x9b89b4,'fieldName':_0x19f239,'scope':_0x2dc19d(0x2d1)}),'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x199d49,(_0x17ffe1,_0x5d7fcc,_0x3fc39a,_0x242ad9)=>(_0x43411b({'fieldName':_0x242ad9,'scope':_0x3fc39a[_0x2dc19d(0x335)]()===_0x2dc19d(0x14a)?'data':_0x2dc19d(0x2d1)}),_0x5d7fcc+'\x20')),_0x547f14=_0x547f14[_0x2dc19d(0x394)](_0x1608bd,(_0x284a26,_0x51f5ec,_0x26da2d)=>(_0x43411b({'fieldName':_0x26da2d,'scope':_0x2dc19d(0x2d1)}),_0x51f5ec+'\x20'));for(let _0x32c94d of _0x547f14[_0x2dc19d(0x298)](_0x1c0a03))_0x43411b({'tableName':_0x32c94d[0x1],'fieldName':_0x32c94d[0x2]});for(let _0x3fa943 of _0x547f14[_0x2dc19d(0x298)](_0x59e926))_0x43411b({'fieldName':_0x3fa943[0x2],'scope':_0x2dc19d(0x2d1)});return Array[_0x2dc19d(0x1c0)](_0x1d1f6c[_0x2dc19d(0x4d1)]());}function _0x34b396(_0xa8720f){const _0x1246ca=_0x5b4d61;let _0x3ab0f3=_0x1e9897(_0xa8720f,()=>'\x20')['replace'](_0x5ebc8e,'\x20')[_0x1246ca(0x394)](_0x576778,'\x20')[_0x1246ca(0x394)](_0x5bef2f,'\x20')[_0x1246ca(0x394)](_0x199d49,'$1\x20')['replace'](_0x1608bd,'$1\x20')[_0x1246ca(0x394)](_0x1c0a03,'\x20')['replace'](_0x59e926,_0x1246ca(0x523));return _0x4282ab[_0x1246ca(0x1d7)](_0x3ab0f3);}function _0x5e5cd7(_0x34a6ab,_0x52a37c){return _0x1ae331(_0x4e8ba9(_0x34a6ab,_0x52a37c),_0x52a37c);}function _0x1e9897(_0x17e74d,_0x331893){return _0x539e3d(_0x5e5cd7(_0x17e74d,_0x331893),_0x331893);}function _0x539e3d(_0x26ac13,_0x292e03){const _0x5f5cf7=_0x5b4d61;return _0x26ac13[_0x5f5cf7(0x394)](/"(?:""|[^"])*"/g,_0x292e03);}function _0x4e8ba9(_0x3d5247,_0x243c5e){const _0x2e937f=_0x5b4d61;return _0x413bcc[_0x2e937f(0x144)]=0x0,_0x3d5247['replace'](_0x413bcc,(_0xc4ae4,_0x185b27)=>_0x545907(_0x3d5247,_0x185b27)?_0xc4ae4:_0x243c5e(_0xc4ae4));}let _0x1e03f3=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x1ae331(_0x268902,_0x23218e){const _0x57d62c=_0x5b4d61;let _0xa2d6=[];for(_0x1e03f3[_0x57d62c(0x144)]=0x0;;){let _0x524038=_0x1e03f3[_0x57d62c(0xf7)](_0x268902);if(_0x524038==null)break;if(_0x545907(_0x268902,_0x524038['index']))continue;let _0xd68d4c=_0x1e03f3['lastIndex']-0x1,_0x33eef1=0x0;for(let _0x5cfa94=_0xd68d4c;_0x5cfa94<_0x268902[_0x57d62c(0x46a)];_0x5cfa94++)if(_0x268902[_0x5cfa94]==='['&&_0x33eef1++,_0x268902[_0x5cfa94]===']'&&(_0x33eef1--,_0x33eef1===0x0)){_0xa2d6[_0x57d62c(0x36c)]({'start':_0x524038[_0x57d62c(0x4a8)],'end':_0x5cfa94+0x1}),_0x1e03f3[_0x57d62c(0x144)]=_0x5cfa94+0x1;break;}}if(_0xa2d6[_0x57d62c(0x46a)]===0x0)return _0x268902;let _0x4829f1='',_0x5cf53e=0x0;for(let _0x30b062 of _0xa2d6)_0x4829f1+=_0x268902[_0x57d62c(0x25d)](_0x5cf53e,_0x30b062[_0x57d62c(0x143)]),_0x4829f1+=_0x23218e(_0x268902[_0x57d62c(0x25d)](_0x30b062[_0x57d62c(0x143)],_0x30b062[_0x57d62c(0x1fd)])),_0x5cf53e=_0x30b062[_0x57d62c(0x1fd)];return _0x4829f1+_0x268902[_0x57d62c(0x25d)](_0x5cf53e);}function _0x545907(_0x3e65a0,_0x45dad2){let _0x32d1ac=!0x1;for(let _0x2e7f48=0x0;_0x2e7f48<_0x45dad2;_0x2e7f48++)_0x3e65a0[_0x2e7f48]==='\x22'&&(_0x32d1ac&&_0x3e65a0[_0x2e7f48+0x1]==='\x22'?_0x2e7f48++:_0x32d1ac=!_0x32d1ac);return _0x32d1ac;}function _0x13c888(_0x398ae3,_0x5801ce,_0x1e7993,_0x5761ad){const _0x1438a5=_0x5b4d61;let _0x383c66=_0x2efe29(_0x398ae3[_0x1438a5(0x2a1)],_0x5801ce,_0x1e7993,_0x5761ad);return{'table':_0x383c66,'field':_0x383c66?Object[_0x1438a5(0x4d1)](_0x383c66[_0x1438a5(0x3ec)])[_0x1438a5(0x2f8)](_0x4077a5=>_0x4077a5['name']===_0x398ae3[_0x1438a5(0x3e6)]):void 0x0};}function _0x2efe29(_0x394aed,_0x5b1e52,_0x36b768,_0x87dfc2){const _0xe1c1bc=_0x5b4d61;if(!_0x394aed)return _0x5b1e52;if(!_0x36b768){var _0x20df25;let _0x57a93a=_0x394aed[_0xe1c1bc(0x335)]();return _0x57a93a===_0x5b1e52['id']['toLowerCase']()||_0x57a93a===_0x5b1e52[_0xe1c1bc(0x288)]['toLowerCase']()||_0x57a93a===((_0x20df25=_0x5b1e52[_0xe1c1bc(0x452)])==null?void 0x0:_0x20df25[_0xe1c1bc(0x335)]())?_0x5b1e52:void 0x0;}let _0x2c9ade=_0x394aed[_0xe1c1bc(0x335)](),_0x390e64=_0x87dfc2??(0x0,_0x552f17[_0xe1c1bc(0x469)])(_0x36b768),_0x4f0dec=Object[_0xe1c1bc(0x4d1)](_0x36b768[_0xe1c1bc(0x1e1)])[_0xe1c1bc(0x30a)](_0x53bc0e=>{const _0x1f7efc=_0xe1c1bc;var _0x3537a7;return _0x53bc0e['id'][_0x1f7efc(0x335)]()===_0x2c9ade||_0x53bc0e['name'][_0x1f7efc(0x335)]()===_0x2c9ade||((_0x3537a7=_0x390e64[_0x1f7efc(0x3a4)](_0x53bc0e['id']))==null?void 0x0:_0x3537a7['toLowerCase']())===_0x2c9ade||_0x3e8186(_0x53bc0e['id'])[_0x1f7efc(0x335)]()===_0x2c9ade;});return _0x4f0dec[_0xe1c1bc(0x46a)]===0x1?_0x4f0dec[0x0]:void 0x0;}function _0x3e8186(_0x3932f7){const _0x21df31=_0x5b4d61;return _0x21df31(0x251)+Array[_0x21df31(0x1c0)](_0x3932f7,_0x3f97f6=>{const _0x51d27e=_0x21df31;var _0x3355aa;return/[A-Za-z0-9]/[_0x51d27e(0x1d7)](_0x3f97f6)?_0x3f97f6:'_x'+(((_0x3355aa=_0x3f97f6[_0x51d27e(0x3f7)](0x0))==null?void 0x0:_0x3355aa[_0x51d27e(0x28e)](0x10))??'0')+'_';})['join']('');}let _0x1ada83=new _0x328073();function _0x50591b(_0x5cfa14,_0x2dca93,_0x13f0ae){const _0x41fa67=_0x5b4d61;var _0x17e3d2;if(_0x13f0ae[_0x41fa67(0x4cd)]!==_0x552f17[_0x41fa67(0x22d)]['Formula'])return!0x0;let _0x20fb93=String(((_0x17e3d2=_0x13f0ae[_0x41fa67(0x340)])==null?void 0x0:_0x17e3d2['formula'])??''),_0x28a040=_0x5cfa14['getSnapshot']();return _0x1ada83['validateFormula'](_0x20fb93,_0x28a040[_0x41fa67(0x1e1)][_0x2dca93],{'snapshot':_0x28a040})[_0x41fa67(0x2d9)];}function _0x15c798(_0xfae7b1,_0x1c064b,_0x3bb464){const _0x1ee542=_0x5b4d61;let _0x3bac4f=_0xfae7b1[_0x1ee542(0x157)]()[_0x1ee542(0x1e1)][_0x1c064b];if(!_0x3bac4f)return!0x1;let {viewIds:_0x379cbd,fieldIds:_0x1a0a67,recordIds:_0x2d3029}=_0x3bb464||{};if(_0x379cbd){for(let _0x9fef42 of _0x379cbd)if(!_0x3bac4f[_0x1ee542(0x2ea)][_0x9fef42])return!0x1;}if(_0x1a0a67){for(let _0x1d10a2 of _0x1a0a67)if(!_0x3bac4f[_0x1ee542(0x3ec)][_0x1d10a2])return!0x1;}if(_0x2d3029){for(let _0x41e7da of _0x2d3029)if(!_0x3bac4f[_0x1ee542(0x29e)][_0x41e7da])return!0x1;}return!0x0;}function _0x355e36(_0x453c96,_0x44601d,_0x289033){const _0xc3d35c=_0x5b4d61;if(_0x289033['id']===_0x552f17[_0xc3d35c(0x316)]||_0x289033[_0xc3d35c(0x4cd)]===_0x552f17[_0xc3d35c(0x22d)][_0xc3d35c(0x500)]||(0x0,_0x552f17[_0xc3d35c(0x2c7)])(_0x289033[_0xc3d35c(0x288)])||!_0x50591b(_0x453c96,_0x44601d,_0x289033))return!0x1;let _0x3fecc3=_0x453c96[_0xc3d35c(0x157)]();if(!_0x4cb157(_0x3fecc3,_0x289033)['valid'])return!0x1;if(_0x289033[_0xc3d35c(0x4cd)]!==_0x552f17[_0xc3d35c(0x22d)]['RecordLink'])return!0x0;let _0x58a342=_0x423169(_0x289033);if(!_0x58a342)return!0x1;if(_0x58a342['relationRole']===void 0x0)return!0x0;if(_0x58a342[_0xc3d35c(0x102)]!==_0x552f17[_0xc3d35c(0x548)][_0xc3d35c(0x3d3)]||_0x58a342['targetTableId']!==_0x44601d||_0x58a342[_0xc3d35c(0x20a)]!==!0x1)return!0x1;let _0x51dbf0=_0x3fecc3[_0xc3d35c(0x1e1)][_0x44601d];return!Object[_0xc3d35c(0x4d1)](_0x51dbf0['fields'])['some'](_0xfb9ebe=>{const _0x37f045=_0xc3d35c;var _0x33f3a0;return _0xfb9ebe['id']!==_0x289033['id']&&_0xfb9ebe[_0x37f045(0x4cd)]===_0x552f17[_0x37f045(0x22d)][_0x37f045(0x11e)]&&((_0x33f3a0=_0x423169(_0xfb9ebe))==null?void 0x0:_0x33f3a0[_0x37f045(0x102)])===_0x552f17[_0x37f045(0x548)][_0x37f045(0x3d3)];});}function _0x54e79f(_0x3d56f3,_0x2ab7c0,_0x4d3da8,_0x18ce56){const _0xc676ed=_0x5b4d61;var _0x426926;let _0x5e2137=_0x3d56f3[_0xc676ed(0x157)](),_0x1fd76e=(_0x426926=_0x5e2137[_0xc676ed(0x1e1)][_0x2ab7c0])==null?void 0x0:_0x426926[_0xc676ed(0x3ec)][_0x4d3da8];return!_0x1fd76e||_0x1fd76e['id']===_0x552f17[_0xc676ed(0x316)]||_0x1fd76e[_0xc676ed(0x4cd)]===_0x552f17[_0xc676ed(0x22d)][_0xc676ed(0x500)]?!0x1:_0x1fd76e['type']!==_0x552f17[_0xc676ed(0x22d)][_0xc676ed(0x11e)]||_0x30ac0c(_0x5e2137,_0x1fd76e,_0x21a02d(_0x18ce56))[_0xc676ed(0x2d9)];}function _0x3bab69(_0x362ab6,_0x47828d,_0x6433e5){const _0x4681fe=_0x5b4d61;let _0x4648de=_0x362ab6[_0x4681fe(0x157)]()[_0x4681fe(0x1e1)][_0x47828d];return!_0x4648de||!(0x0,_0x552f17['isValidBaseRecordId'])(_0x6433e5['id'])||_0x4648de[_0x4681fe(0x29e)][_0x6433e5['id']]||Object[_0x4681fe(0x16e)]['hasOwnProperty'][_0x4681fe(0x30e)](_0x6433e5[_0x4681fe(0x4d1)],_0x552f17['BASE_RECORD_ID_FIELD_ID'])&&_0x6433e5[_0x4681fe(0x4d1)][_0x552f17[_0x4681fe(0x316)]]!==_0x6433e5['id']?!0x1:Object[_0x4681fe(0x21f)](_0x6433e5[_0x4681fe(0x4d1)])[_0x4681fe(0x25e)](([_0x5b4772,_0x75809e])=>_0x5b4772===_0x552f17[_0x4681fe(0x316)]||_0x54e79f(_0x362ab6,_0x47828d,_0x5b4772,_0x75809e));}function _0x47c89d(_0x2616a4){const _0x3ce5f0=_0x5b4d61;return{..._0x2616a4,'values':{..._0x2616a4[_0x3ce5f0(0x4d1)],[_0x552f17[_0x3ce5f0(0x316)]]:_0x2616a4['id']}};}function _0x21a02d(_0x3055f0){const _0x2bb18e=_0x5b4d61;if(_0x3055f0&&typeof _0x3055f0==_0x2bb18e(0x434)&&!Array['isArray'](_0x3055f0)&&'v'in _0x3055f0){let _0x55297f=_0x3055f0['v'];return _0x55297f===void 0x0?null:_0x55297f;}return _0x3055f0;}function _0x2b2e73(_0x1e2347,_0x1ad18c,_0x357f0e,_0x20391f){const _0x424081=_0x5b4d61;let _0x65e75=_0x1e2347['getSnapshot']()[_0x424081(0x1e1)][_0x1ad18c];if(!_0x65e75)return null;let _0x1f4b1e=_0x37c44a(_0x65e75),_0x45b29d=_0x1f4b1e??_0x5f3470(_0x65e75),_0x309c5e=_0x357f0e[_0x424081(0x166)](_0x384f74=>Object[_0x424081(0x16e)][_0x424081(0x3d8)][_0x424081(0x30e)](_0x384f74[_0x424081(0x4d1)],_0x45b29d)),_0x5b502b=_0x1f4b1e?_0x65e75['fields'][_0x1f4b1e]:_0x309c5e?_0x5797d7(_0x65e75,_0x45b29d,_0x20391f):null,_0x3f2749=[];for(let _0x54428e of _0x357f0e){let _0x40b97e=_0x54428e['values'][_0x45b29d],_0x4b7aa4=_0x5b502b!==null&&Object['prototype'][_0x424081(0x3d8)][_0x424081(0x30e)](_0x54428e[_0x424081(0x4d1)],_0x45b29d),_0x42fd43=_0x21a02d(_0x40b97e),_0x27e3e5=null;if(_0x4b7aa4){if(typeof _0x42fd43!=_0x424081(0x525)||!_0x54eb47(_0x42fd43,!0x1)[_0x424081(0x2d9)])return null;_0x27e3e5=_0x42fd43;}let _0x32dad7={};if(Object[_0x424081(0x21f)](_0x54428e[_0x424081(0x4d1)])['forEach'](([_0xec3d4f,_0x10c6f7])=>{_0x4b7aa4&&_0xec3d4f===_0x45b29d||(_0x32dad7[_0xec3d4f]=_0x10c6f7);}),!_0x3bab69(_0x1e2347,_0x1ad18c,{..._0x54428e,'values':_0x32dad7}))return null;let _0x27560d={..._0x54428e[_0x424081(0x4d1)]};_0x27e3e5!==null&&(_0x27560d[_0x45b29d]=_0x27e3e5),_0x3f2749[_0x424081(0x36c)](_0x47c89d({..._0x54428e,'values':_0x27560d}));}return{'records':_0x3f2749,'hierarchyFieldToMaterialize':_0x1f4b1e?null:_0x5b502b,'hierarchyChanges':_0x548acb(_0x65e75,_0x3f2749)};}let _0x5ebfe6={'id':'base.command.batch-create-base-records','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x4d8129,_0x515fac){const _0x5c32e1=_0x5b4d61;if(!_0x515fac)return!0x1;let _0xd72866=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17[_0x5c32e1(0x372)]),{unitId:_0x8b7cac,tableId:_0x57cb5f,records:_0x4dc4de}=_0x515fac,_0x49c426=_0xd72866[_0x5c32e1(0x259)](_0x8b7cac,_0x552f17[_0x5c32e1(0x349)][_0x5c32e1(0x1e2)]),_0x588467=_0x4dc4de[_0x5c32e1(0x3ab)](_0xc2eb87=>_0xc2eb87['id']);if(!_0x49c426||!_0x15c798(_0x49c426,_0x57cb5f)||new Set(_0x588467)[_0x5c32e1(0x18d)]!==_0x588467[_0x5c32e1(0x46a)])return!0x1;let _0x1994c7=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17['ICommandService']),_0x3d1013=_0x4d8129[_0x5c32e1(0x3a4)](_0x552f17['IUndoRedoService']),_0x2dbef9=_0x4d8129[_0x5c32e1(0x3a4)](_0x18f07e),_0x3e4fc2=_0x49c426[_0x5c32e1(0x157)](),_0x4cfa29=_0x2b2e73(_0x49c426,_0x57cb5f,_0x4dc4de);if(!_0x4cfa29)return!0x1;let {records:_0x409a76,hierarchyChanges:_0x5e8111,hierarchyFieldToMaterialize:_0x32cfd7}=_0x4cfa29,_0x592a0b=_0x32cfd7?_0x2dbef9[_0x5c32e1(0x377)](_0x49c426,_0x57cb5f,_0x32cfd7,_0x3e4fc2[_0x5c32e1(0x1e1)][_0x57cb5f][_0x5c32e1(0x151)][_0x5c32e1(0x46a)]):null,_0x544a5b=_0x2dbef9[_0x5c32e1(0x1ef)](_0x49c426,_0x57cb5f,_0x409a76),_0x40a5b7=_0x4c4822([..._0x592a0b?[_0x592a0b]:[],_0x544a5b]),_0x47ede4=new _0x600fcd()[_0x5c32e1(0x4fa)](_0x3e4fc2,_0x40a5b7),_0x34164f={'unitId':_0x8b7cac,'op':_0x40a5b7,'hierarchyChanges':_0x5e8111[_0x5c32e1(0x46a)]?_0x5e8111:void 0x0,'source':_0x5e8111['length']?_0x515fac[_0x5c32e1(0x364)]??'ui':void 0x0},_0x3800f1={..._0x34164f,'source':_0x5e8111[_0x5c32e1(0x46a)]?'redo':void 0x0},_0x670a68={'unitId':_0x8b7cac,'op':_0x47ede4,'hierarchyChanges':_0x5e8111[_0x5c32e1(0x46a)]?_0x5e8111[_0x5c32e1(0x3ab)](_0x8c4438=>({..._0x8c4438,'oldParentRecordId':_0x8c4438['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5e8111['length']?_0x5c32e1(0x214):void 0x0};return _0x1994c7['syncExecuteCommand'](_0x489c96['id'],_0x34164f)?(_0xd72866['focusUnit'](_0x8b7cac),_0x3d1013[_0x5c32e1(0x480)]({'unitID':_0x8b7cac,'undoMutations':[{'id':_0x489c96['id'],'params':_0x670a68}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3800f1}]}),!0x0):!0x1;}},_0x3cbb7e={'id':_0x5b4d61(0x4b8),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x12e534,_0xb01be5)=>{const _0x1d3fb7=_0x5b4d61;if(!_0xb01be5)return!0x1;let _0x30c136=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17[_0x1d3fb7(0x372)]),{unitId:_0x261436,tableId:_0x384438,recordIds:_0x23be1a}=_0xb01be5,_0x22df64=_0x30c136[_0x1d3fb7(0x259)](_0x261436,_0x552f17['UniverInstanceType']['UNIVER_BASE']);if(!_0x22df64||!_0x15c798(_0x22df64,_0x384438,{'recordIds':_0x23be1a}))return!0x1;let _0x127371=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17['ICommandService']),_0x2cbd92=_0x12e534[_0x1d3fb7(0x3a4)](_0x552f17[_0x1d3fb7(0x471)]),_0x26482b=_0x22df64[_0x1d3fb7(0x157)](),_0x35fe74=_0x230aed(_0x26482b[_0x1d3fb7(0x1e1)][_0x384438],_0x23be1a),_0xc857ff=new _0x1b9aeb(),_0x13e13a=new _0x600fcd(),_0x5a374e=_0xc857ff[_0x1d3fb7(0x1f6)](_0x26482b,_0x384438,_0x23be1a),_0x4a8f0b=_0x13e13a[_0x1d3fb7(0x401)](_0x26482b,_0x5a374e),_0x236aee=_0xc857ff['createDeleteRecordsUndoOp'](_0x26482b,_0x4a8f0b,_0x384438,_0x23be1a),_0x458466={'unitId':_0x261436,'op':_0x5a374e,'hierarchyChanges':_0x35fe74,'source':_0xb01be5['source']??'ui'},_0x4d4fbe={..._0x458466,'source':_0x1d3fb7(0x392)},_0x3c9c9a={'unitId':_0x261436,'op':_0x236aee,'hierarchyChanges':_0x35fe74[_0x1d3fb7(0x3ab)](_0x3934c7=>({..._0x3934c7,'oldParentRecordId':_0x3934c7[_0x1d3fb7(0x286)],'parentRecordId':_0x3934c7[_0x1d3fb7(0x22e)]})),'source':_0x1d3fb7(0x214)};return _0x127371[_0x1d3fb7(0x447)](_0x489c96['id'],_0x458466)?(_0x30c136[_0x1d3fb7(0x1aa)](_0x261436),_0x2cbd92[_0x1d3fb7(0x480)]({'unitID':_0x261436,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3c9c9a}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x4d4fbe}]}),!0x0):!0x1;}},_0x279481={'id':'base.command.change-base-field-type','type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler':(_0x7d03ee,_0x40783d)=>{const _0x440455=_0x5b4d61;if(!_0x40783d)return!0x1;let _0x2153a2=_0x7d03ee['get'](_0x552f17[_0x440455(0x372)]),{unitId:_0x2ead05,tableId:_0x4ce0db,fieldId:_0x4ca4a7,input:_0x16354a}=_0x40783d,_0x364da4=_0x2153a2[_0x440455(0x259)](_0x2ead05,_0x552f17[_0x440455(0x349)][_0x440455(0x1e2)]);if(!_0x364da4||_0x4ca4a7===_0x552f17['BASE_RECORD_ID_FIELD_ID']||!_0x15c798(_0x364da4,_0x4ce0db,{'fieldIds':[_0x4ca4a7]}))return!0x1;let _0x413d15=_0x7d03ee[_0x440455(0x3a4)](_0x552f17[_0x440455(0xf5)]),_0x3ffe46=_0x7d03ee['get'](_0x552f17['IUndoRedoService']),_0x260ffc=_0x364da4['getSnapshot']();if(!_0x355e36(_0x364da4,_0x4ce0db,{..._0x260ffc[_0x440455(0x1e1)][_0x4ce0db]['fields'][_0x4ca4a7],..._0x16354a}))return!0x1;let _0x1a40c4=new _0x1b9aeb()[_0x440455(0x409)](_0x260ffc,_0x4ce0db,_0x4ca4a7,_0x16354a),_0x15792b=new _0x600fcd()[_0x440455(0x4fa)](_0x260ffc,_0x1a40c4),_0x5ef982={'unitId':_0x2ead05,'op':_0x1a40c4},_0x36ec01={'unitId':_0x2ead05,'op':_0x15792b};return _0x413d15[_0x440455(0x447)](_0x489c96['id'],_0x5ef982)?(_0x2153a2[_0x440455(0x1aa)](_0x2ead05),_0x3ffe46['pushUndoRedo']({'unitID':_0x2ead05,'undoMutations':[{'id':_0x489c96['id'],'params':_0x36ec01}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x5ef982}]}),!0x0):!0x1;}},_0x332954={'id':'base.command.create-base-child-record','type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler'(_0x2ab797,_0xe430dc){const _0x46cd2d=_0x5b4d61;var _0x1a9b6e;if(!_0xe430dc)return!0x1;let {unitId:_0x460315,tableId:_0x413c35,parentRecordId:_0x3c84fa}=_0xe430dc,_0x317adf=_0x2ab797[_0x46cd2d(0x3a4)](_0x552f17[_0x46cd2d(0x372)]),_0xdd0016=_0x317adf[_0x46cd2d(0x259)](_0x460315,_0x552f17[_0x46cd2d(0x349)][_0x46cd2d(0x1e2)]);if(!_0xdd0016||!_0x15c798(_0xdd0016,_0x413c35,{'recordIds':[_0x3c84fa]}))throw new _0x31b592(_0x46cd2d(0x2f6));let _0x1e17dc=_0xdd0016['getSnapshot'](),_0x4a1f81=_0x1e17dc[_0x46cd2d(0x1e1)][_0x413c35],_0x52af45=_0x37c44a(_0x4a1f81),_0x12afe4=_0x52af45??_0xe430dc[_0x46cd2d(0x400)]??_0x5f3470(_0x4a1f81);if(_0x52af45&&_0xe430dc[_0x46cd2d(0x400)]&&_0xe430dc[_0x46cd2d(0x400)]!==_0x52af45||_0x4a1f81['fields'][_0x12afe4]&&!_0x288df0(_0x4a1f81,_0x12afe4))throw new _0x31b592('invalidField');if((_0x128f1a(_0x4a1f81,_0x12afe4)[_0x46cd2d(0x3d1)][_0x46cd2d(0x3a4)](_0x3c84fa)??0x0)+0x1>=0x5)throw new _0x31b592('maxDepth');if(!_0x3bab69(_0xdd0016,_0x413c35,_0xe430dc[_0x46cd2d(0x54f)]))return!0x1;let _0xfb238d=_0x47c89d({..._0xe430dc[_0x46cd2d(0x54f)],'values':{..._0xe430dc[_0x46cd2d(0x54f)][_0x46cd2d(0x4d1)],[_0x12afe4]:_0x4be8de([_0x3c84fa])}}),_0x350380=_0x2ab797[_0x46cd2d(0x3a4)](_0x18f07e),_0x23f06b=new _0x1b9aeb(),_0x408698=_0x4a1f81[_0x46cd2d(0x3ec)][_0x12afe4],_0x408f7e=_0x408698?((_0x1a9b6e=_0x423169(_0x408698))==null?void 0x0:_0x1a9b6e[_0x46cd2d(0x102)])===_0x552f17[_0x46cd2d(0x548)][_0x46cd2d(0x3d3)]?null:_0x23f06b[_0x46cd2d(0x41a)](_0x1e17dc,_0x413c35,_0x12afe4,{'config':{..._0x408698['config'],'relationRole':_0x552f17['BaseRecordLinkRole'][_0x46cd2d(0x3d3)]}}):_0x350380[_0x46cd2d(0x377)](_0xdd0016,_0x413c35,_0x5797d7(_0x4a1f81,_0x12afe4,_0xe430dc[_0x46cd2d(0x224)]),_0x4a1f81[_0x46cd2d(0x151)][_0x46cd2d(0x46a)]),_0x51a4f2=_0x350380[_0x46cd2d(0x28c)](_0xdd0016,_0x413c35,_0xfb238d),_0x561f98=_0x4c4822([..._0x408f7e?[_0x408f7e]:[],_0x51a4f2]),_0x1742fb=new _0x600fcd()[_0x46cd2d(0x4fa)](_0x1e17dc,_0x561f98),_0x32fb9d={'tableId':_0x413c35,'fieldId':_0x12afe4,'recordId':_0xfb238d['id'],'oldParentRecordId':null,'parentRecordId':_0x3c84fa},_0x6c180f={'unitId':_0x460315,'op':_0x561f98,'trigger':_0x332954['id'],'hierarchyChanges':[_0x32fb9d],'source':_0xe430dc[_0x46cd2d(0x364)]??'ui'},_0x536ad9={..._0x6c180f,'source':_0x46cd2d(0x392)},_0x2889c4={'unitId':_0x460315,'op':_0x1742fb,'trigger':_0x332954['id'],'hierarchyChanges':[{..._0x32fb9d,'oldParentRecordId':_0x3c84fa,'parentRecordId':null}],'source':_0x46cd2d(0x214)};return _0x2ab797['get'](_0x552f17['ICommandService'])[_0x46cd2d(0x447)](_0x489c96['id'],_0x6c180f)?(_0x317adf[_0x46cd2d(0x1aa)](_0x460315),_0x2ab797[_0x46cd2d(0x3a4)](_0x552f17[_0x46cd2d(0x471)])[_0x46cd2d(0x480)]({'unitID':_0x460315,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2889c4}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x536ad9}]}),!0x0):!0x1;}},_0x34c3a3={'id':_0x5b4d61(0x1da),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x252e34,_0x47ac51){const _0x87950c=_0x5b4d61;if(!_0x47ac51)return!0x1;let _0x44fa56=_0x252e34[_0x87950c(0x3a4)](_0x552f17[_0x87950c(0x372)]),{unitId:_0x2af010,tableId:_0x32877e,field:_0x42d11c,index:_0x1863d4,viewIndexes:_0x545b8c}=_0x47ac51,_0x5aa8cc=_0x44fa56[_0x87950c(0x259)](_0x2af010,_0x552f17[_0x87950c(0x349)][_0x87950c(0x1e2)]);if(!_0x5aa8cc||!_0x15c798(_0x5aa8cc,_0x32877e)||_0x5aa8cc['getSnapshot']()[_0x87950c(0x1e1)][_0x32877e][_0x87950c(0x3ec)][_0x42d11c['id']]||_0x1863d4===0x0||!_0x355e36(_0x5aa8cc,_0x32877e,_0x42d11c))return!0x1;let _0x559617=_0x252e34[_0x87950c(0x3a4)](_0x552f17['ICommandService']),_0xc9532f=_0x252e34[_0x87950c(0x3a4)](_0x552f17[_0x87950c(0x471)]),_0xa61661=_0x252e34[_0x87950c(0x3a4)](_0x18f07e)[_0x87950c(0x377)](_0x5aa8cc,_0x32877e,_0x42d11c,_0x1863d4,_0x545b8c),_0x1f186c=new _0x600fcd()[_0x87950c(0x4fa)](_0x5aa8cc['getSnapshot'](),_0xa61661),_0x573210={'unitId':_0x2af010,'op':_0xa61661},_0x5658dd={'unitId':_0x2af010,'op':_0x1f186c};return _0x559617['syncExecuteCommand'](_0x489c96['id'],_0x573210)?(_0x44fa56['focusUnit'](_0x2af010),_0xc9532f[_0x87950c(0x480)]({'unitID':_0x2af010,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5658dd}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x573210}]}),!0x0):!0x1;}},_0x32d850={'id':_0x5b4d61(0x4f0),'type':_0x552f17['CommandType']['COMMAND'],'handler'(_0x34f8b8,_0x5b8171){const _0x18785d=_0x5b4d61;if(!_0x5b8171)return!0x1;let _0x68f3e2=_0x34f8b8[_0x18785d(0x3a4)](_0x552f17[_0x18785d(0x372)]),{unitId:_0x4f6a0c,tableId:_0x2002e7,record:_0x3b18c5}=_0x5b8171,_0x223618=_0x68f3e2[_0x18785d(0x259)](_0x4f6a0c,_0x552f17[_0x18785d(0x349)]['UNIVER_BASE']);if(!_0x223618||!_0x15c798(_0x223618,_0x2002e7))return!0x1;let _0x4fe050=_0x34f8b8[_0x18785d(0x3a4)](_0x552f17[_0x18785d(0xf5)]),_0x5fe8d2=_0x34f8b8['get'](_0x552f17['IUndoRedoService']),_0x12d901=_0x34f8b8[_0x18785d(0x3a4)](_0x18f07e),_0x47afb2=_0x223618[_0x18785d(0x157)](),_0x249f07=_0x2b2e73(_0x223618,_0x2002e7,[_0x3b18c5]);if(!_0x249f07)return!0x1;let [_0x4dbe99]=_0x249f07[_0x18785d(0x29e)],{hierarchyChanges:_0x57a537,hierarchyFieldToMaterialize:_0x297558}=_0x249f07,_0xaaeca4=_0x297558?_0x12d901[_0x18785d(0x377)](_0x223618,_0x2002e7,_0x297558,_0x47afb2[_0x18785d(0x1e1)][_0x2002e7][_0x18785d(0x151)][_0x18785d(0x46a)]):null,_0x4295d0=_0x12d901[_0x18785d(0x28c)](_0x223618,_0x2002e7,_0x4dbe99),_0x2445f5=_0x4c4822([..._0xaaeca4?[_0xaaeca4]:[],_0x4295d0]),_0x1a68c8=new _0x600fcd()[_0x18785d(0x4fa)](_0x47afb2,_0x2445f5),_0xb6c44d={'unitId':_0x4f6a0c,'op':_0x2445f5,'hierarchyChanges':_0x57a537[_0x18785d(0x46a)]?_0x57a537:void 0x0,'source':_0x57a537[_0x18785d(0x46a)]?_0x5b8171[_0x18785d(0x364)]??'ui':void 0x0},_0x1e13fe={..._0xb6c44d,'source':_0x57a537[_0x18785d(0x46a)]?'redo':void 0x0},_0x3c532a={'unitId':_0x4f6a0c,'op':_0x1a68c8,'hierarchyChanges':_0x57a537[_0x18785d(0x46a)]?_0x57a537[_0x18785d(0x3ab)](_0x2998ef=>({..._0x2998ef,'oldParentRecordId':_0x2998ef[_0x18785d(0x286)],'parentRecordId':null})):void 0x0,'source':_0x57a537['length']?'undo':void 0x0};return _0x4fe050['syncExecuteCommand'](_0x489c96['id'],_0xb6c44d)?(_0x68f3e2[_0x18785d(0x1aa)](_0x4f6a0c),_0x5fe8d2[_0x18785d(0x480)]({'unitID':_0x4f6a0c,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3c532a}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x1e13fe}]}),!0x0):!0x1;}};function _0x161279(_0x3e7c85,_0x156c0a,_0x355468){const _0x8f60ed=_0x5b4d61;if(!_0x156c0a[_0x8f60ed(0x104)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x8f60ed(0x2ba)};if(_0x156c0a[_0x8f60ed(0x46a)]>0x1f)return{'valid':!0x1,'reason':_0x8f60ed(0x44f),'error':_0x8f60ed(0x117)};if(_0x156c0a[_0x8f60ed(0x10a)]('\x27')||_0x156c0a[_0x8f60ed(0x21c)]('\x27'))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','error':_0x8f60ed(0x107)};if(/[:\\/?*\[\]]/['test'](_0x156c0a))return{'valid':!0x1,'reason':_0x8f60ed(0x138),'error':_0x8f60ed(0x45e)};if(!(0x0,_0x552f17['nameCharacterCheck'])(_0x156c0a))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':'invalid'};let _0x2ff911=_0x156c0a[_0x8f60ed(0x335)]();return Object[_0x8f60ed(0x4d1)](_0x3e7c85[_0x8f60ed(0x1e1)])[_0x8f60ed(0x166)](_0x23f3ee=>_0x23f3ee['id']!==_0x355468&&_0x23f3ee[_0x8f60ed(0x288)][_0x8f60ed(0x335)]()===_0x2ff911)?{'valid':!0x1,'reason':'A\x20table\x20with\x20this\x20name\x20already\x20exists.','error':'duplicate'}:{'valid':!0x0};}function _0x68e3f(_0x4b19d7,_0x284054){const _0x166eb1=_0x5b4d61;let _0x11c6af=_0x284054[_0x166eb1(0x394)](/[:\\/?*\[\]]/g,'\x20')[_0x166eb1(0x394)](/^'+|'+$/g,'')['trim']()||_0x166eb1(0x3db),_0x5506ff=0x1;for(;;){let _0x1b8251=_0x5506ff===0x1?'':'\x20'+_0x5506ff,_0x5e2c03=''+_0x11c6af['slice'](0x0,0x1f-_0x1b8251[_0x166eb1(0x46a)])+_0x1b8251;if(_0x161279(_0x4b19d7,_0x5e2c03)[_0x166eb1(0x2d9)])return _0x5e2c03;_0x5506ff++;}}let _0x199eaa={'id':_0x5b4d61(0x39e),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x1930c3,_0x149e4f)=>{const _0x4e3203=_0x5b4d61;if(!_0x149e4f)return!0x1;let _0x266f94=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0x372)]),{unitId:_0x222e9e,table:_0x1fc970,index:_0x532c8e}=_0x149e4f,_0x34d0d1=_0x266f94['getUnit'](_0x222e9e,_0x552f17['UniverInstanceType'][_0x4e3203(0x1e2)]);if(!_0x34d0d1||_0x34d0d1['getSnapshot']()[_0x4e3203(0x1e1)][_0x1fc970['id']]||!_0x161279(_0x34d0d1['getSnapshot'](),_0x1fc970[_0x4e3203(0x288)])['valid'])return!0x1;try{(0x0,_0x552f17[_0x4e3203(0x2c9)])(_0x1fc970);}catch{return!0x1;}let _0x3ace3a=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0xf5)]),_0x1c91d2=_0x1930c3[_0x4e3203(0x3a4)](_0x552f17[_0x4e3203(0x471)]),_0x9174d=_0x34d0d1[_0x4e3203(0x157)](),_0x10bfb7=new _0x1b9aeb()[_0x4e3203(0x314)](_0x9174d,_0x1fc970,_0x532c8e),_0x133f3f=new _0x600fcd()[_0x4e3203(0x4fa)](_0x9174d,_0x10bfb7),_0x451939={'unitId':_0x222e9e,'op':_0x10bfb7},_0x4541c8={'unitId':_0x222e9e,'op':_0x133f3f};return _0x3ace3a[_0x4e3203(0x447)](_0x489c96['id'],_0x451939)?(_0x266f94[_0x4e3203(0x1aa)](_0x222e9e),_0x1c91d2['pushUndoRedo']({'unitID':_0x222e9e,'undoMutations':[{'id':_0x489c96['id'],'params':_0x4541c8}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x451939}]}),!0x0):!0x1;}};function _0x2ceb53(_0x9bb62f,_0x17ad8c,_0x3a6026=[]){const _0x31f5a3=_0x5b4d61;let _0x49292a=new Set([...Object[_0x31f5a3(0x4d1)](_0x9bb62f['fields'])[_0x31f5a3(0x30a)](_0x332462=>_0x332462)[_0x31f5a3(0x3ab)](_0x58c2b5=>_0x58c2b5['name']),..._0x3a6026[_0x31f5a3(0x3ab)](_0xeca005=>_0xeca005[_0x31f5a3(0x288)])]);if(!_0x49292a['has'](_0x17ad8c))return _0x17ad8c;let _0x46f21e=0x2;for(;_0x49292a['has'](_0x17ad8c+'\x20'+_0x46f21e);)_0x46f21e++;return _0x17ad8c+'\x20'+_0x46f21e;}function _0x1ede21(_0x3a9887,_0x2db67a){const _0x53849a=_0x5b4d61;if(!_0x3a9887||!_0x2db67a[_0x53849a(0x46a)])return;let _0x55f8b4=[..._0x3a9887];return _0x2db67a[_0x53849a(0x116)](_0x59e48d=>{const _0x51053e=_0x53849a;_0x55f8b4[_0x51053e(0x396)](_0x59e48d)||_0x55f8b4[_0x51053e(0x36c)](_0x59e48d);}),_0x55f8b4;}let _0x57b87a={'options':[{'id':_0x5b4d61(0x206),'name':_0x5b4d61(0x331),'color':'#BFDBFE'},{'id':'doing','name':_0x5b4d61(0x456),'color':_0x5b4d61(0x128)},{'id':_0x5b4d61(0x12c),'name':_0x5b4d61(0x380),'color':_0x5b4d61(0x3df)}]},_0x3db79b={'locale':_0x5b4d61(0x539),'pattern':_0x5b4d61(0x300),'includeTime':!0x1,'hourCycle':_0x5b4d61(0x344),'defaultMode':'none'};function _0x27f1c1(_0x3f2832,_0x5afb56,_0xbd338a,_0x19dca0){const _0x278379=_0x5b4d61;var _0x292f66;let _0x419a5f=new _0x1b9aeb(),_0x4bd36f=_0x3f2832[_0x278379(0x1e1)][_0x5afb56],_0x42ed29=_0x4bd36f?{..._0xbd338a,'fieldOrder':[_0x552f17[_0x278379(0x316)],...(_0xbd338a[_0x278379(0x151)]??_0x4bd36f[_0x278379(0x151)])[_0x278379(0x30a)](_0x3ac2fc=>_0x3ac2fc!==_0x552f17[_0x278379(0x316)])],'fieldSettings':{..._0xbd338a[_0x278379(0x32b)],[_0x552f17[_0x278379(0x316)]]:{...(_0x292f66=_0xbd338a[_0x278379(0x32b)])==null?void 0x0:_0x292f66[_0x552f17[_0x278379(0x316)]],'hidden':!0x0}}}:_0xbd338a;if(_0x4bd36f&&_0x42ed29[_0x278379(0x4cd)]===_0x278379(0x355)){let _0xbb47e0=_0x4a6bfb(_0x4bd36f,_0x42ed29),_0x39fa0c=_0xbb47e0[_0x278379(0x397)]?{..._0x42ed29,'config':_0xbb47e0[_0x278379(0x340)],'fieldOrder':_0xbb47e0[_0x278379(0x151)]??_0x42ed29['fieldOrder']}:_0x42ed29;return _0x4c4822([..._0xbb47e0[_0x278379(0x3ec)][_0x278379(0x3ab)](_0x5acead=>_0x419a5f['createField'](_0x3f2832,_0x5afb56,{'field':_0x5acead})),_0x419a5f[_0x278379(0x27e)](_0x3f2832,_0x5afb56,_0x39fa0c,_0x19dca0)]);}if(!_0x4bd36f||_0x42ed29[_0x278379(0x4cd)]!=='calendar'&&_0x42ed29[_0x278379(0x4cd)]!==_0x278379(0x527))return _0x419a5f['createView'](_0x3f2832,_0x5afb56,_0x42ed29,_0x19dca0);let _0xdafa6e=_0x2a44a3(_0x4bd36f,_0x42ed29),_0xcefa89=_0xdafa6e[_0x278379(0x397)]?{..._0x42ed29,'config':_0xdafa6e[_0x278379(0x340)],'fieldOrder':_0xdafa6e[_0x278379(0x151)]??_0x42ed29[_0x278379(0x151)]}:_0x42ed29;return _0x42ed29[_0x278379(0x4cd)]===_0x278379(0x527)&&_0x3eddf4(_0x42ed29)&&(_0xcefa89=_0x3383b3(_0x4bd36f,_0xcefa89,_0xdafa6e[_0x278379(0x3ec)])),_0x4c4822([..._0xdafa6e[_0x278379(0x3ec)][_0x278379(0x3ab)](_0x2d743d=>_0x419a5f[_0x278379(0x51e)](_0x3f2832,_0x5afb56,{'field':_0x2d743d})),_0x419a5f[_0x278379(0x27e)](_0x3f2832,_0x5afb56,_0xcefa89,_0x19dca0)]);}function _0x2a44a3(_0x33e5d8,_0x1fc221,_0x44fb49=!0x1){const _0x36e6ca=_0x5b4d61;var _0x34a39d,_0x1b83b5;let _0x80e11b=_0x33e5d8[_0x36e6ca(0x151)][_0x36e6ca(0x30a)](_0x10a776=>_0x143b6f(_0x33e5d8,_0x10a776)),_0x2dcf10=[],_0x53f962={..._0x1fc221[_0x36e6ca(0x340)]??{}},_0x294d16=typeof _0x53f962[_0x36e6ca(0x1f9)]==_0x36e6ca(0x525)&&_0x143b6f(_0x33e5d8,_0x53f962[_0x36e6ca(0x1f9)])?_0x53f962[_0x36e6ca(0x1f9)]:_0x80e11b[0x0],_0x1e1387=typeof _0x53f962['endDateFieldId']=='string'&&_0x143b6f(_0x33e5d8,_0x53f962[_0x36e6ca(0x2e1)])&&_0x53f962[_0x36e6ca(0x2e1)]!==_0x294d16?_0x53f962[_0x36e6ca(0x2e1)]:_0x80e11b[_0x36e6ca(0x2f8)](_0x1220e5=>_0x1220e5!==_0x294d16);if(!_0x294d16){let _0x5b518c=_0x2d6cf5(_0x33e5d8,_0x2dcf10,_0x1fc221['type']==='gantt'?'Start\x20date':_0x36e6ca(0x522));_0x2dcf10['push'](_0x5b518c),_0x294d16=_0x5b518c['id'];}if((_0x1fc221[_0x36e6ca(0x4cd)]===_0x36e6ca(0x527)||_0x44fb49)&&!_0x1e1387){let _0x10cc92=_0x2d6cf5(_0x33e5d8,_0x2dcf10,_0x36e6ca(0x26b));_0x2dcf10['push'](_0x10cc92),_0x1e1387=_0x10cc92['id'];}_0x1fc221['type']===_0x36e6ca(0x33e)&&!_0x1e1387&&delete _0x53f962['endDateFieldId'],_0x53f962[_0x36e6ca(0x1f9)]=_0x294d16,_0x1fc221[_0x36e6ca(0x4cd)]===_0x36e6ca(0x33e)&&_0x1e1387&&(_0x53f962['endDateFieldId']=_0x1e1387),_0x1fc221['type']===_0x36e6ca(0x527)&&(_0x53f962[_0x36e6ca(0x2e1)]=_0x1e1387??_0x294d16);let _0x5823e3=_0x1ede21(_0x1fc221[_0x36e6ca(0x151)],_0x2dcf10[_0x36e6ca(0x3ab)](_0x252155=>_0x252155['id']));return{'changed':_0x2dcf10[_0x36e6ca(0x46a)]>0x0||_0x53f962[_0x36e6ca(0x1f9)]!==((_0x34a39d=_0x1fc221[_0x36e6ca(0x340)])==null?void 0x0:_0x34a39d['startDateFieldId'])||_0x53f962[_0x36e6ca(0x2e1)]!==((_0x1b83b5=_0x1fc221[_0x36e6ca(0x340)])==null?void 0x0:_0x1b83b5[_0x36e6ca(0x2e1)])||!(!_0x5823e3||_0x552f17['Tools'][_0x36e6ca(0x33d)](_0x5823e3,_0x1fc221[_0x36e6ca(0x151)]??[])),'fields':_0x2dcf10,'config':_0x53f962,'fieldOrder':_0x5823e3};}function _0x4a6bfb(_0xf3adcf,_0x44b9d6){const _0x56b220=_0x5b4d61;var _0x40d7ed;let _0x251298=[],_0x1334de={..._0x44b9d6[_0x56b220(0x340)]??{}},_0x372def=typeof _0x1334de[_0x56b220(0xf8)]==_0x56b220(0x525)&&_0x406fc3(_0xf3adcf,_0x1334de['groupFieldId'])?_0x1334de[_0x56b220(0xf8)]:_0xf3adcf[_0x56b220(0x151)][_0x56b220(0x2f8)](_0x11336c=>_0x406fc3(_0xf3adcf,_0x11336c));if(!_0x372def){let _0x3befdf=_0x1aa780(_0xf3adcf,_0x251298);_0x251298[_0x56b220(0x36c)](_0x3befdf),_0x372def=_0x3befdf['id'];}_0x1334de['groupFieldId']=_0x372def;let _0x88d9ec=_0x1ede21(_0x44b9d6['fieldOrder'],_0x251298[_0x56b220(0x3ab)](_0xb4f28f=>_0xb4f28f['id']));return{'changed':_0x251298[_0x56b220(0x46a)]>0x0||_0x1334de['groupFieldId']!==((_0x40d7ed=_0x44b9d6[_0x56b220(0x340)])==null?void 0x0:_0x40d7ed[_0x56b220(0xf8)])||!(!_0x88d9ec||_0x552f17[_0x56b220(0x395)][_0x56b220(0x33d)](_0x88d9ec,_0x44b9d6['fieldOrder']??[])),'fields':_0x251298,'config':_0x1334de,'fieldOrder':_0x88d9ec};}function _0x406fc3(_0x5e5d91,_0x115e25){const _0x641bdd=_0x5b4d61;let _0x331079=_0x115e25?_0x5e5d91['fields'][_0x115e25]:null;return _0x331079?[_0x552f17['BaseFieldType'][_0x641bdd(0x38b)],_0x552f17['BaseFieldType'][_0x641bdd(0x51a)],_0x552f17[_0x641bdd(0x22d)][_0x641bdd(0x2dc)],_0x552f17['BaseFieldType'][_0x641bdd(0x430)],_0x552f17['BaseFieldType'][_0x641bdd(0x220)],_0x552f17['BaseFieldType'][_0x641bdd(0x3ad)]][_0x641bdd(0x396)](_0x331079[_0x641bdd(0x4cd)]):!0x1;}function _0x1aa780(_0x2c97a3,_0x56378b){const _0x347ee8=_0x5b4d61;return{'id':'fld-'+(0x0,_0x552f17[_0x347ee8(0x32e)])(0x8),'name':_0x2ceb53(_0x2c97a3,_0x347ee8(0x488),_0x56378b),'type':_0x552f17[_0x347ee8(0x22d)][_0x347ee8(0x38b)],'config':_0x552f17[_0x347ee8(0x395)][_0x347ee8(0x4bf)](_0x57b87a)};}function _0x3eddf4(_0x3eb96e){const _0x577e47=_0x5b4d61;return Object[_0x577e47(0x1bd)](_0x3eb96e[_0x577e47(0x340)]??{})[_0x577e47(0x46a)]===0x0&&Object['keys'](_0x3eb96e['fieldSettings']??{})[_0x577e47(0x46a)]===0x0;}function _0x3383b3(_0x5e7f0d,_0x12cecb,_0xe395ae){const _0x59362d=_0x5b4d61;let _0x4b5689={..._0x12cecb[_0x59362d(0x340)]??{}},_0x40be6b=_0xe395ae[_0x59362d(0x3ab)](_0x2f98a7=>_0x2f98a7['id']),_0x2c5af5=[..._0x5e7f0d[_0x59362d(0x151)],..._0x40be6b],_0x4c3147=typeof _0x4b5689[_0x59362d(0x458)]==_0x59362d(0x525)&&_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x4b5689['titleFieldId'])?_0x4b5689[_0x59362d(0x458)]:_0x5e7f0d[_0x59362d(0x3a1)],_0x24bd71=typeof _0x4b5689[_0x59362d(0x1f9)]==_0x59362d(0x525)?_0x4b5689[_0x59362d(0x1f9)]:'',_0x5418fe=typeof _0x4b5689[_0x59362d(0x2e1)]==_0x59362d(0x525)?_0x4b5689[_0x59362d(0x2e1)]:_0x24bd71,_0x49a2e0=new Set([_0x4c3147,_0x24bd71,_0x5418fe][_0x59362d(0x30a)](_0x3adfeb=>_0x3adfeb&&_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x3adfeb))),_0x3963bb=Object['fromEntries'](_0x2c5af5[_0x59362d(0x4a0)](_0x23d6fe=>_0x49a2e0[_0x59362d(0x1d8)](_0x23d6fe)||!_0x5ddb54(_0x5e7f0d,_0xe395ae,_0x23d6fe)?[]:[[_0x23d6fe,{'hidden':!0x0}]]));return{..._0x12cecb,'config':{..._0x4b5689,'titleFieldId':_0x4c3147},'fieldSettings':_0x3963bb};}function _0x5ddb54(_0x8f5eff,_0x5e3b9f,_0x1211bb){const _0x378425=_0x5b4d61;return!!(_0x8f5eff[_0x378425(0x3ec)][_0x1211bb]??_0x5e3b9f[_0x378425(0x2f8)](_0x54a5b1=>_0x54a5b1['id']===_0x1211bb))&&!0x0;}function _0x143b6f(_0x38c876,_0x22caf6){const _0x1a3f51=_0x5b4d61;let _0x2e9793=_0x22caf6?_0x38c876['fields'][_0x22caf6]:null;return!!_0x2e9793&&_0x2e9793[_0x1a3f51(0x4cd)]===_0x552f17['BaseFieldType'][_0x1a3f51(0x522)]&&_0x2e9793[_0x1a3f51(0x4e2)]!==!0x0&&_0x2e9793[_0x1a3f51(0x505)]!==!0x0;}function _0x2d6cf5(_0x482a1e,_0x412405,_0x5c2451){const _0x51da2d=_0x5b4d61;let _0x5ab5e9=new Set([...Object[_0x51da2d(0x1bd)](_0x482a1e['fields']),..._0x412405[_0x51da2d(0x3ab)](_0x327955=>_0x327955['id'])]),_0x12c33f=_0x51da2d(0x4ae)+(0x0,_0x552f17['generateRandomId'])(0x8);for(;_0x5ab5e9[_0x51da2d(0x1d8)](_0x12c33f);)_0x12c33f=_0x51da2d(0x4ae)+(0x0,_0x552f17[_0x51da2d(0x32e)])(0x8);return{'id':_0x12c33f,'name':_0x2ceb53(_0x482a1e,_0x5c2451,_0x412405),'type':_0x552f17[_0x51da2d(0x22d)][_0x51da2d(0x522)],'config':{..._0x3db79b}};}let _0x578650={'id':_0x5b4d61(0x1bb),'type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'handler':(_0x5275c2,_0x16a611)=>{const _0x1c4654=_0x5b4d61;if(!_0x16a611)return!0x1;let _0x4c86e1=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17[_0x1c4654(0x372)]),{unitId:_0x86ba25,tableId:_0x3f751c,view:_0x4d55f8,index:_0xc0bd8f}=_0x16a611,_0x479d83=_0x4c86e1[_0x1c4654(0x259)](_0x86ba25,_0x552f17[_0x1c4654(0x349)]['UNIVER_BASE']);if(!_0x479d83||!_0x15c798(_0x479d83,_0x3f751c)||_0x479d83['getSnapshot']()['tables'][_0x3f751c][_0x1c4654(0x2ea)][_0x4d55f8['id']])return!0x1;let _0x10bc94=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17['ICommandService']),_0x11809b=_0x5275c2[_0x1c4654(0x3a4)](_0x552f17[_0x1c4654(0x471)]),_0x29fb4c=_0x479d83[_0x1c4654(0x157)](),_0x310cec=_0x27f1c1(_0x29fb4c,_0x3f751c,_0x4d55f8,_0xc0bd8f),_0x40706b=new _0x600fcd()[_0x1c4654(0x4fa)](_0x29fb4c,_0x310cec),_0x3f61f8={'historyAction':_0x1c4654(0x50b),'unitId':_0x86ba25,'op':_0x310cec,'viewType':_0x4d55f8[_0x1c4654(0x4cd)]},_0x27c87f={'historyAction':_0x1c4654(0x2a4),'unitId':_0x86ba25,'op':_0x40706b,'viewType':_0x4d55f8[_0x1c4654(0x4cd)]};return _0x10bc94[_0x1c4654(0x447)](_0x489c96['id'],_0x3f61f8)?(_0x4c86e1['focusUnit'](_0x86ba25),_0x11809b['pushUndoRedo']({'unitID':_0x86ba25,'undoMutations':[{'id':_0x489c96['id'],'params':_0x27c87f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3f61f8}]}),!0x0):!0x1;}},_0x3df95a={'id':_0x5b4d61(0x248),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x5479b6,_0x1df762){const _0xe63688=_0x5b4d61;if(!_0x1df762)return!0x1;let _0x3239e6=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0x372)]),{unitId:_0x239c51,tableId:_0x51931b,fieldId:_0x288479}=_0x1df762,_0x55c6f9=_0x3239e6['getUnit'](_0x239c51,_0x552f17[_0xe63688(0x349)][_0xe63688(0x1e2)]);if(!_0x55c6f9)return!0x1;let _0x9d305a=_0x55c6f9[_0xe63688(0x157)](),_0x45bf10=_0x9d305a['tables'][_0x51931b];if(!_0x15c798(_0x55c6f9,_0x51931b,{'fieldIds':[_0x288479]})||_0x45bf10[_0xe63688(0x3a1)]===_0x288479||_0x288479===_0x552f17['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x2745b8=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0xf5)]),_0xb7a5e=_0x5479b6[_0xe63688(0x3a4)](_0x552f17[_0xe63688(0x471)]),_0x1c61e=new _0x1b9aeb()[_0xe63688(0x147)](_0x9d305a,_0x51931b,_0x288479),_0x3c1785=new _0x600fcd()[_0xe63688(0x4fa)](_0x9d305a,_0x1c61e),_0x26e293={'unitId':_0x239c51,'op':_0x1c61e},_0x30dff5={'unitId':_0x239c51,'op':_0x3c1785};return _0x2745b8[_0xe63688(0x447)](_0x489c96['id'],_0x26e293)?(_0x3239e6[_0xe63688(0x1aa)](_0x239c51),_0xb7a5e[_0xe63688(0x480)]({'unitID':_0x239c51,'undoMutations':[{'id':_0x489c96['id'],'params':_0x30dff5}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x26e293}]}),!0x0):!0x1;}},_0x4d533a={'id':'base.command.delete-base-record','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x2e1a12,_0x286d91)=>{const _0x23c6fc=_0x5b4d61;if(!_0x286d91)return!0x1;let _0x3c9f28=_0x2e1a12[_0x23c6fc(0x3a4)](_0x552f17[_0x23c6fc(0x372)]),{unitId:_0x6fb564,tableId:_0x32f13a,recordId:_0x43d1c0}=_0x286d91,_0x44880a=_0x3c9f28[_0x23c6fc(0x259)](_0x6fb564,_0x552f17[_0x23c6fc(0x349)][_0x23c6fc(0x1e2)]);if(!_0x44880a||!_0x15c798(_0x44880a,_0x32f13a,{'recordIds':[_0x43d1c0]}))return!0x1;let _0x573aae=_0x2e1a12[_0x23c6fc(0x3a4)](_0x552f17[_0x23c6fc(0xf5)]),_0x451946=_0x2e1a12['get'](_0x552f17[_0x23c6fc(0x471)]),_0x5f52f7=_0x44880a[_0x23c6fc(0x157)](),_0x5d734a=_0x230aed(_0x5f52f7[_0x23c6fc(0x1e1)][_0x32f13a],[_0x43d1c0]),_0x332578=new _0x1b9aeb(),_0x47b432=new _0x600fcd(),_0x5baed9=_0x332578[_0x23c6fc(0x14c)](_0x5f52f7,_0x32f13a,_0x43d1c0),_0x594664=_0x47b432[_0x23c6fc(0x401)](_0x5f52f7,_0x5baed9),_0x39539e=_0x332578[_0x23c6fc(0x54a)](_0x5f52f7,_0x594664,_0x32f13a,[_0x43d1c0]),_0x6c990d={'unitId':_0x6fb564,'op':_0x5baed9,'hierarchyChanges':_0x5d734a,'source':_0x286d91[_0x23c6fc(0x364)]??'ui'},_0x44a904={..._0x6c990d,'source':_0x23c6fc(0x392)},_0x27c663={'unitId':_0x6fb564,'op':_0x39539e,'hierarchyChanges':_0x5d734a[_0x23c6fc(0x3ab)](_0x4d1afd=>({..._0x4d1afd,'oldParentRecordId':_0x4d1afd[_0x23c6fc(0x286)],'parentRecordId':_0x4d1afd['oldParentRecordId']})),'source':_0x23c6fc(0x214)};return _0x573aae[_0x23c6fc(0x447)](_0x489c96['id'],_0x6c990d)?(_0x3c9f28[_0x23c6fc(0x1aa)](_0x6fb564),_0x451946['pushUndoRedo']({'unitID':_0x6fb564,'undoMutations':[{'id':_0x489c96['id'],'params':_0x27c663}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x44a904}]}),!0x0):!0x1;}},_0x35f587={'id':_0x5b4d61(0x135),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0xd5bbad,_0x1348fb)=>{const _0x21ead3=_0x5b4d61;if(!_0x1348fb)return!0x1;let _0x109b77=_0xd5bbad[_0x21ead3(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x488d38,tableId:_0x39a8c1}=_0x1348fb,_0x1eb694=_0x109b77[_0x21ead3(0x259)](_0x488d38,_0x552f17[_0x21ead3(0x349)][_0x21ead3(0x1e2)]);if(!_0x1eb694||!_0x15c798(_0x1eb694,_0x39a8c1))return!0x1;let _0x2822fd=_0xd5bbad['get'](_0x552f17[_0x21ead3(0xf5)]),_0xa85ede=_0xd5bbad[_0x21ead3(0x3a4)](_0x552f17[_0x21ead3(0x471)]),_0x2f5e50=_0x1eb694['getSnapshot'](),_0x40f160=_0x1497cf(_0x2f5e50,_0x39a8c1);if(_0x40f160[_0x21ead3(0x46a)]>0x0)return console[_0x21ead3(0x202)]('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x39a8c1+'\x22\x20is\x20referenced\x20by\x20'+_0x40f160['map'](_0x1345d8=>_0x1345d8[_0x21ead3(0x111)]+'.'+_0x1345d8[_0x21ead3(0x400)])[_0x21ead3(0x53f)](',\x20')+'.'),!0x1;let _0x486a96=new _0x1b9aeb()[_0x21ead3(0x1a6)](_0x2f5e50,_0x39a8c1),_0x504ae4=new _0x600fcd()[_0x21ead3(0x4fa)](_0x2f5e50,_0x486a96),_0x189b27={'unitId':_0x488d38,'op':_0x486a96},_0x3782d4={'unitId':_0x488d38,'op':_0x504ae4};return _0x2822fd[_0x21ead3(0x447)](_0x489c96['id'],_0x189b27)?(_0x109b77[_0x21ead3(0x1aa)](_0x488d38),_0xa85ede[_0x21ead3(0x480)]({'unitID':_0x488d38,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3782d4}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x189b27}]}),!0x0):!0x1;}},_0x1970e0={'id':'base.command.delete-base-view','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x4c7fd5,_0x1dd7b9)=>{const _0x4991cd=_0x5b4d61;if(!_0x1dd7b9)return!0x1;let _0x402951=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0x372)]),{unitId:_0x46f6bc,tableId:_0x2742dc,viewId:_0x3a8fe2}=_0x1dd7b9,_0x13baab=_0x402951[_0x4991cd(0x259)](_0x46f6bc,_0x552f17[_0x4991cd(0x349)][_0x4991cd(0x1e2)]);if(!_0x13baab||!_0x15c798(_0x13baab,_0x2742dc,{'viewIds':[_0x3a8fe2]}))return!0x1;let _0x2dbdb0=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0xf5)]),_0x5a4648=_0x4c7fd5[_0x4991cd(0x3a4)](_0x552f17[_0x4991cd(0x471)]),_0x358a52=_0x13baab[_0x4991cd(0x157)](),_0x45e415=_0x358a52[_0x4991cd(0x1e1)][_0x2742dc]['views'][_0x3a8fe2][_0x4991cd(0x4cd)],_0x15921e=new _0x1b9aeb()[_0x4991cd(0x3da)](_0x358a52,_0x2742dc,_0x3a8fe2),_0x19f8f3=new _0x600fcd()[_0x4991cd(0x4fa)](_0x358a52,_0x15921e),_0x22d38b={'historyAction':_0x4991cd(0x2a4),'unitId':_0x46f6bc,'op':_0x15921e,'viewType':_0x45e415},_0x1326f2={'historyAction':_0x4991cd(0x50b),'unitId':_0x46f6bc,'op':_0x19f8f3,'viewType':_0x45e415};return _0x2dbdb0[_0x4991cd(0x447)](_0x489c96['id'],_0x22d38b)?(_0x402951[_0x4991cd(0x1aa)](_0x46f6bc),_0x5a4648[_0x4991cd(0x480)]({'unitID':_0x46f6bc,'undoMutations':[{'id':_0x489c96['id'],'params':_0x1326f2}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x22d38b}]}),!0x0):!0x1;}},_0x29df55={'id':_0x5b4d61(0x47a),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x100b31,_0x413f17)=>{const _0x16189e=_0x5b4d61;if(!_0x413f17)return!0x1;let _0x3e9fcc=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0x372)]),{unitId:_0x54a27c,tableId:_0x4f548c,sourceFieldId:_0x1e89a4,field:_0x552617,index:_0x357237,viewIndexes:_0xe8cd46}=_0x413f17,_0x3cb0ea=_0x3e9fcc['getUnit'](_0x54a27c,_0x552f17[_0x16189e(0x349)]['UNIVER_BASE']);if(!_0x3cb0ea||!_0x15c798(_0x3cb0ea,_0x4f548c,{'fieldIds':[_0x1e89a4]})||_0x1e89a4===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x3cb0ea['getSnapshot']()['tables'][_0x4f548c][_0x16189e(0x3ec)][_0x552617['id']]||_0x357237===0x0||!_0x355e36(_0x3cb0ea,_0x4f548c,_0x552617))return!0x1;let _0x472580=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0xf5)]),_0x294677=_0x100b31[_0x16189e(0x3a4)](_0x552f17[_0x16189e(0x471)]),_0x73e29b=_0x3cb0ea['getSnapshot'](),_0x437ba3=new _0x1b9aeb()[_0x16189e(0x402)](_0x73e29b,_0x4f548c,_0x1e89a4,{'field':_0x552617,'index':_0x357237,'viewIndexes':_0xe8cd46}),_0x3b2ba7=new _0x600fcd()[_0x16189e(0x4fa)](_0x73e29b,_0x437ba3),_0x556b2c={'unitId':_0x54a27c,'op':_0x437ba3},_0x5b0642={'unitId':_0x54a27c,'op':_0x3b2ba7};return _0x472580[_0x16189e(0x447)](_0x489c96['id'],_0x556b2c)?(_0x3e9fcc[_0x16189e(0x1aa)](_0x54a27c),_0x294677['pushUndoRedo']({'unitID':_0x54a27c,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5b0642}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x556b2c}]}),!0x0):!0x1;}},_0x240407={'id':_0x5b4d61(0x549),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x579d15,_0x1fc51f)=>{const _0x3d6c85=_0x5b4d61;if(!_0x1fc51f)return!0x1;let _0x1da891=_0x579d15['get'](_0x552f17[_0x3d6c85(0x372)]),{unitId:_0x32c441,tableId:_0x460b45,sourceRecordId:_0x33797d,record:_0x33637c}=_0x1fc51f,_0x18faee=_0x1da891['getUnit'](_0x32c441,_0x552f17['UniverInstanceType'][_0x3d6c85(0x1e2)]);if(!_0x18faee||!_0x15c798(_0x18faee,_0x460b45,{'recordIds':[_0x33797d]})||!_0x3bab69(_0x18faee,_0x460b45,_0x33637c))return!0x1;let _0x22e360=_0x579d15[_0x3d6c85(0x3a4)](_0x552f17[_0x3d6c85(0xf5)]),_0x5101b9=_0x579d15[_0x3d6c85(0x3a4)](_0x552f17[_0x3d6c85(0x471)]),_0x1af3f1=_0x18faee[_0x3d6c85(0x157)](),_0x48b2bd=_0x47c89d(_0x33637c),_0x31265f=_0x548acb(_0x1af3f1['tables'][_0x460b45],[_0x48b2bd]),_0x4c7762=new _0x1b9aeb()[_0x3d6c85(0x44d)](_0x1af3f1,_0x460b45,_0x33797d,_0x48b2bd),_0x282bb3=new _0x600fcd()[_0x3d6c85(0x4fa)](_0x1af3f1,_0x4c7762),_0x243b9c={'unitId':_0x32c441,'op':_0x4c7762,'hierarchyChanges':_0x31265f['length']?_0x31265f:void 0x0,'source':_0x31265f[_0x3d6c85(0x46a)]?_0x1fc51f[_0x3d6c85(0x364)]??'ui':void 0x0},_0x5ecc19={..._0x243b9c,'source':_0x31265f[_0x3d6c85(0x46a)]?_0x3d6c85(0x392):void 0x0},_0x54d79f={'unitId':_0x32c441,'op':_0x282bb3,'hierarchyChanges':_0x31265f[_0x3d6c85(0x46a)]?_0x31265f[_0x3d6c85(0x3ab)](_0x1adb15=>({..._0x1adb15,'oldParentRecordId':_0x1adb15[_0x3d6c85(0x286)],'parentRecordId':null})):void 0x0,'source':_0x31265f[_0x3d6c85(0x46a)]?'undo':void 0x0};return _0x22e360[_0x3d6c85(0x447)](_0x489c96['id'],_0x243b9c)?(_0x1da891[_0x3d6c85(0x1aa)](_0x32c441),_0x5101b9[_0x3d6c85(0x480)]({'unitID':_0x32c441,'undoMutations':[{'id':_0x489c96['id'],'params':_0x54d79f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x5ecc19}]}),!0x0):!0x1;}},_0xc444b={'id':_0x5b4d61(0x416),'type':_0x552f17['CommandType']['COMMAND'],'handler'(_0x53f434,_0x241c8f){const _0x52eecc=_0x5b4d61;if(!_0x241c8f)return!0x1;let _0xbc64c5=_0x53f434['get'](_0x552f17['IUniverInstanceService']),{unitId:_0x1c616f,tableId:_0x329e0a,viewId:_0x1891e4,ensureEndDateField:_0x49d865}=_0x241c8f,_0x39abeb=_0xbc64c5[_0x52eecc(0x259)](_0x1c616f,_0x552f17[_0x52eecc(0x349)]['UNIVER_BASE']);if(!_0x39abeb||!_0x15c798(_0x39abeb,_0x329e0a,{'viewIds':[_0x1891e4]}))return!0x1;let _0x162441=_0x39abeb[_0x52eecc(0x157)](),_0x3a3a31=_0x162441[_0x52eecc(0x1e1)][_0x329e0a],_0x39775a=_0x3a3a31==null?void 0x0:_0x3a3a31[_0x52eecc(0x2ea)][_0x1891e4];if(!_0x3a3a31||!_0x39775a||_0x39775a['type']!==_0x52eecc(0x33e)&&_0x39775a[_0x52eecc(0x4cd)]!==_0x52eecc(0x527))return!0x1;let _0x226d60=_0x2a44a3(_0x3a3a31,_0x39775a,_0x49d865===!0x0);if(!_0x226d60[_0x52eecc(0x397)])return!0x1;let _0x3650f5=_0x53f434[_0x52eecc(0x3a4)](_0x552f17[_0x52eecc(0xf5)]),_0x216659=_0x53f434[_0x52eecc(0x3a4)](_0x552f17[_0x52eecc(0x471)]),_0x1db39b=new _0x1b9aeb(),_0x14463a=[..._0x226d60['fields']['map'](_0x2d4239=>_0x1db39b[_0x52eecc(0x51e)](_0x162441,_0x241c8f[_0x52eecc(0x111)],{'field':_0x2d4239})),_0xe3f651([..._0x15ee98(_0x241c8f[_0x52eecc(0x111)],_0x241c8f[_0x52eecc(0x1b8)]),_0x52eecc(0x340)],_0x39775a[_0x52eecc(0x340)],_0x226d60[_0x52eecc(0x340)])];_0x226d60[_0x52eecc(0x151)]&&_0x14463a[_0x52eecc(0x36c)](_0xe3f651([..._0x15ee98(_0x241c8f[_0x52eecc(0x111)],_0x241c8f[_0x52eecc(0x1b8)]),'fieldOrder'],_0x39775a[_0x52eecc(0x151)],_0x226d60['fieldOrder']));let _0x1c4d39=_0x4c4822(_0x14463a),_0x18a232=new _0x600fcd()[_0x52eecc(0x4fa)](_0x162441,_0x1c4d39),_0x161c27={'unitId':_0x1c616f,'op':_0x1c4d39},_0x5ebd14={'unitId':_0x1c616f,'op':_0x18a232};return _0x3650f5[_0x52eecc(0x447)](_0x489c96['id'],_0x161c27)?(_0xbc64c5[_0x52eecc(0x1aa)](_0x1c616f),_0x216659['pushUndoRedo']({'unitID':_0x1c616f,'undoMutations':[{'id':_0x489c96['id'],'params':_0x5ebd14}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x161c27}]}),!0x0):!0x1;}};function _0xe3f651(_0x54d38e,_0x23af6f,_0x5a8e32){const _0x25aee9=_0x5b4d61;return _0x23af6f===void 0x0?_0x552f17[_0x25aee9(0x4e7)][_0x25aee9(0x4e3)](_0x54d38e,_0x5a8e32):_0x552f17[_0x25aee9(0x4e7)]['replaceOp'](_0x54d38e,_0x23af6f,_0x5a8e32);}function _0x15ee98(_0x44ff7b,_0x512f27){const _0x372ebd=_0x5b4d61;return[_0x372ebd(0x1e1),_0x44ff7b,'views',_0x512f27];}let _0x15a40a={'id':_0x5b4d61(0x1ea),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x34e8b7,_0x57eec2)=>{const _0x5252a2=_0x5b4d61;if(!_0x57eec2)return!0x1;let _0x604b36=_0x34e8b7['get'](_0x552f17[_0x5252a2(0x372)]),{unitId:_0x76b37a,tableId:_0x2f5cff,fieldId:_0x1437c8,target:_0x5539a4}=_0x57eec2,_0x57630e=_0x604b36[_0x5252a2(0x259)](_0x76b37a,_0x552f17['UniverInstanceType'][_0x5252a2(0x1e2)]),_0xb4854d=_0x5539a4[_0x5252a2(0x4aa)]??_0x5539a4[_0x5252a2(0x337)];if(!_0x57630e||!!_0x5539a4[_0x5252a2(0x4aa)]==!!_0x5539a4['afterFieldId']||!_0xb4854d||_0xb4854d===_0x1437c8||_0x1437c8===_0x552f17['BASE_RECORD_ID_FIELD_ID']||_0x5539a4[_0x5252a2(0x4aa)]===_0x552f17[_0x5252a2(0x316)]||!_0x15c798(_0x57630e,_0x2f5cff,{'fieldIds':[_0x1437c8,_0xb4854d]}))return!0x1;let _0xae8ea3=_0x34e8b7[_0x5252a2(0x3a4)](_0x552f17[_0x5252a2(0xf5)]),_0x55902b=_0x34e8b7[_0x5252a2(0x3a4)](_0x552f17['IUndoRedoService']),_0x2536a5=_0x57630e[_0x5252a2(0x157)](),_0x2c73ae=new _0x1b9aeb()['moveField'](_0x2536a5,_0x2f5cff,_0x1437c8,_0x5539a4),_0x468548=new _0x600fcd()[_0x5252a2(0x4fa)](_0x2536a5,_0x2c73ae),_0x43c128={'unitId':_0x76b37a,'op':_0x2c73ae},_0x22e17f={'unitId':_0x76b37a,'op':_0x468548};return _0xae8ea3[_0x5252a2(0x447)](_0x489c96['id'],_0x43c128)?(_0x604b36[_0x5252a2(0x1aa)](_0x76b37a),_0x55902b['pushUndoRedo']({'unitID':_0x76b37a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x22e17f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x43c128}]}),!0x0):!0x1;}},_0x7e3104={'id':'base.command.move-base-hierarchy-record','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x213cfe,_0x584e13)=>{const _0x1117d1=_0x5b4d61;var _0x5bac23;if(!_0x584e13)return!0x1;let {unitId:_0x1f9735,tableId:_0x5dfd22,recordId:_0x3d5109,parentRecordId:_0xf14e55,orderKey:_0x253825}=_0x584e13,_0x159dca=_0x213cfe[_0x1117d1(0x3a4)](_0x552f17[_0x1117d1(0x372)]),_0x21c1c1=_0x159dca[_0x1117d1(0x259)](_0x1f9735,_0x552f17[_0x1117d1(0x349)][_0x1117d1(0x1e2)]);if(!_0x21c1c1||!_0x15c798(_0x21c1c1,_0x5dfd22,{'recordIds':[_0x3d5109,..._0xf14e55?[_0xf14e55]:[]]}))throw new _0x31b592(_0x1117d1(0x2f6));let _0x27d6c4=_0x21c1c1[_0x1117d1(0x157)](),_0x24743f=_0x27d6c4[_0x1117d1(0x1e1)][_0x5dfd22],_0x1063e8=_0x37c44a(_0x24743f),_0x41f10c=_0x1063e8??_0x584e13[_0x1117d1(0x400)]??_0x5f3470(_0x24743f);if(_0x1063e8&&_0x584e13[_0x1117d1(0x400)]&&_0x584e13['fieldId']!==_0x1063e8||_0x24743f[_0x1117d1(0x3ec)][_0x41f10c]&&!_0x288df0(_0x24743f,_0x41f10c))throw new _0x31b592(_0x1117d1(0x487));let _0x4797c7=_0x128f1a(_0x24743f,_0x41f10c),_0x1e28fe=_0x4bbbbd(_0x4797c7,_0x3d5109,_0xf14e55);if(!_0x1e28fe[_0x1117d1(0x2d9)])throw new _0x31b592(_0x1e28fe[_0x1117d1(0x4bb)]===_0x552f17[_0x1117d1(0x499)][_0x1117d1(0x254)]?_0x1117d1(0x388):_0x1e28fe[_0x1117d1(0x4bb)]===_0x552f17[_0x1117d1(0x499)][_0x1117d1(0x2be)]?_0x1117d1(0x4c9):_0x1117d1(0x24e));let _0x5a82b3=_0x4797c7[_0x1117d1(0x378)][_0x1117d1(0x3a4)](_0x3d5109)??null,_0xc686f7=_0x24743f['records'][_0x3d5109][_0x1117d1(0x12f)];if(_0x5a82b3===_0xf14e55&&(_0x253825===void 0x0||_0x253825===_0xc686f7))return!0x0;let _0x5c3e8d=_0x5a82b3!==_0xf14e55,_0x14da42=_0x253825!==void 0x0&&_0x253825!==_0xc686f7,_0x2fe07b=new _0x1b9aeb(),_0xea6752=[],_0x47e6cd=_0x24743f[_0x1117d1(0x3ec)][_0x41f10c],_0x32b674=_0x5c3e8d&&(!_0x47e6cd||((_0x5bac23=_0x423169(_0x47e6cd))==null?void 0x0:_0x5bac23['relationRole'])!==_0x552f17['BaseRecordLinkRole'][_0x1117d1(0x3d3)])?_0x47e6cd?_0x2fe07b[_0x1117d1(0x41a)](_0x27d6c4,_0x5dfd22,_0x41f10c,{'config':{..._0x47e6cd[_0x1117d1(0x340)],'relationRole':_0x552f17[_0x1117d1(0x548)][_0x1117d1(0x3d3)]}}):_0x213cfe['get'](_0x18f07e)['createCreateFieldOp'](_0x21c1c1,_0x5dfd22,_0x5797d7(_0x24743f,_0x41f10c,_0x584e13[_0x1117d1(0x224)]),_0x24743f['fieldOrder'][_0x1117d1(0x46a)]):null;_0x32b674&&_0xea6752[_0x1117d1(0x36c)](_0x32b674),_0x5c3e8d&&_0xea6752[_0x1117d1(0x36c)](_0x2fe07b['updateCell'](_0x27d6c4,_0x5dfd22,_0x3d5109,_0x41f10c,_0xf14e55?_0x4be8de([_0xf14e55]):'')),_0x14da42&&_0xea6752[_0x1117d1(0x36c)](_0x2fe07b[_0x1117d1(0x177)](_0x27d6c4,_0x5dfd22,_0x3d5109,_0x253825));let _0xbbc249=_0x4c4822(_0xea6752),_0x3c2e42={'tableId':_0x5dfd22,'fieldId':_0x41f10c,'recordId':_0x3d5109,'oldParentRecordId':_0x5a82b3,'parentRecordId':_0xf14e55},_0x169750={'unitId':_0x1f9735,'op':_0xbbc249,'trigger':_0x7e3104['id'],'hierarchyChanges':[_0x3c2e42],'source':_0x584e13['source']??'ui'},_0x2d003d={..._0x169750,'source':'redo'};if(!_0x213cfe[_0x1117d1(0x3a4)](_0x552f17['ICommandService'])[_0x1117d1(0x447)](_0x489c96['id'],_0x169750))return!0x1;let _0x1485f0=_0x21c1c1['getSnapshot'](),_0x5d64da=[];_0x5c3e8d&&_0x5d64da[_0x1117d1(0x36c)](_0x58e784(_0x1485f0,_0x27d6c4,_0x5dfd22,_0x3d5109,_0x41f10c)),_0x14da42&&_0x5d64da[_0x1117d1(0x36c)](_0x12e735(_0x1485f0,_0x27d6c4,_0x5dfd22,_0x3d5109)),_0x32b674&&_0x5d64da['push'](new _0x600fcd()[_0x1117d1(0x4fa)](_0x27d6c4,_0x32b674));let _0x35734f={'unitId':_0x1f9735,'op':_0x4c4822(_0x5d64da),'trigger':_0x7e3104['id'],'hierarchyChanges':[{..._0x3c2e42,'oldParentRecordId':_0xf14e55,'parentRecordId':_0x5a82b3}],'source':_0x1117d1(0x214)};return _0x159dca['focusUnit'](_0x1f9735),_0x213cfe[_0x1117d1(0x3a4)](_0x552f17[_0x1117d1(0x471)])['pushUndoRedo']({'unitID':_0x1f9735,'undoMutations':[{'id':_0x489c96['id'],'params':_0x35734f}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x2d003d}]}),!0x0;}};function _0x58e784(_0x9143ed,_0x2a1cb7,_0x337f87,_0x48bf08,_0x255586){const _0x3f71b8=_0x5b4d61;var _0xaf1227,_0x3977f2,_0x142b13,_0x149add,_0x382b74,_0x46b978,_0x377cca,_0x186e85;let _0x5948aa=_0x9143ed[_0x3f71b8(0x1e1)][_0x337f87],_0x118b94=_0x2a1cb7[_0x3f71b8(0x1e1)][_0x337f87],_0x22861c=(_0xaf1227=_0x5948aa[_0x3f71b8(0x1a0)])==null?void 0x0:_0xaf1227[_0x48bf08],_0x375ca9=(_0x3977f2=_0x5948aa[_0x3f71b8(0x4ee)])==null?void 0x0:_0x3977f2[_0x255586],_0x5f3333=(_0x142b13=_0x118b94[_0x3f71b8(0x1a0)])==null?void 0x0:_0x142b13[_0x48bf08],_0x5d3312=(_0x149add=_0x118b94[_0x3f71b8(0x4ee)])==null?void 0x0:_0x149add[_0x255586],_0xa3f192=_0x22861c==null||_0x375ca9==null||(_0x382b74=_0x5948aa[_0x3f71b8(0x4af)])==null||(_0x382b74=_0x382b74[_0x22861c])==null?void 0x0:_0x382b74[_0x375ca9],_0x7c6787=_0x5f3333==null||_0x5d3312==null||(_0x46b978=_0x118b94[_0x3f71b8(0x4af)])==null||(_0x46b978=_0x46b978[_0x5f3333])==null?void 0x0:_0x46b978[_0x5d3312],_0x21b33a=(_0x377cca=_0x5948aa[_0x3f71b8(0x29e)][_0x48bf08])==null?void 0x0:_0x377cca['values'][_0x255586],_0x3dada4=(_0x186e85=_0x118b94[_0x3f71b8(0x29e)][_0x48bf08])==null?void 0x0:_0x186e85[_0x3f71b8(0x4d1)][_0x255586],_0x5681e2=[],_0x1e1aaa=_0x14a616(_0x22861c==null||_0x375ca9==null?null:_0xe24ef3[_0x3f71b8(0x4af)](_0x337f87,_0x22861c,_0x375ca9),_0xa3f192,_0x7c6787);_0x1e1aaa&&_0x5681e2['push'](_0x1e1aaa);let _0x481d56=_0x14a616(_0xe24ef3[_0x3f71b8(0x164)](_0x337f87,_0x48bf08,_0x255586),_0x21b33a,_0x3dada4);return _0x481d56&&_0x5681e2[_0x3f71b8(0x36c)](_0x481d56),_0x4c4822(_0x5681e2);}function _0x12e735(_0x4cbf38,_0x33f709,_0x1cfc15,_0x527d01){const _0x51fcd8=_0x5b4d61;var _0xfc148,_0x4cd94f;let _0x161eeb=_0x4cbf38['tables'][_0x1cfc15],_0x4b5959=_0x33f709[_0x51fcd8(0x1e1)][_0x1cfc15];return _0x4c4822([_0x14a616([..._0xe24ef3['record'](_0x1cfc15,_0x527d01),_0x51fcd8(0x12f)],(_0xfc148=_0x161eeb['records'][_0x527d01])==null?void 0x0:_0xfc148[_0x51fcd8(0x12f)],(_0x4cd94f=_0x4b5959[_0x51fcd8(0x29e)][_0x527d01])==null?void 0x0:_0x4cd94f[_0x51fcd8(0x12f)]),_0x14a616([..._0xe24ef3[_0x51fcd8(0x481)](_0x1cfc15),_0x51fcd8(0x52a)],_0x161eeb[_0x51fcd8(0x52a)],_0x4b5959[_0x51fcd8(0x52a)])][_0x51fcd8(0x30a)](_0x2f7123=>!!_0x2f7123));}function _0x14a616(_0x1ac798,_0x46fc2b,_0x44ae5a){const _0x45f506=_0x5b4d61;if(!_0x1ac798||_0x46fc2b===void 0x0&&_0x44ae5a===void 0x0)return null;let _0xc3a31d=_0x552f17['JSONX'][_0x45f506(0x431)]();return _0x44ae5a===void 0x0?_0xc3a31d[_0x45f506(0x4e6)](_0x1ac798,_0x46fc2b):_0x46fc2b===void 0x0?_0xc3a31d[_0x45f506(0x4e3)](_0x1ac798,_0x44ae5a):_0xc3a31d[_0x45f506(0x338)](_0x1ac798,_0x46fc2b,_0x44ae5a);}let _0x4231ae={'id':_0x5b4d61(0x492),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3b5a79,_0x445412)=>{const _0x129fbf=_0x5b4d61;if(!_0x445412)return!0x1;let _0xcd51a6=_0x3b5a79[_0x129fbf(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5d754a,tableId:_0x3164ef,viewId:_0x4cddfd,target:_0x420642}=_0x445412,_0x466ddf=_0xcd51a6[_0x129fbf(0x259)](_0x5d754a,_0x552f17['UniverInstanceType'][_0x129fbf(0x1e2)]),_0x3dd7de=_0x420642[_0x129fbf(0x173)]??_0x420642[_0x129fbf(0x3cf)];if(!_0x466ddf||!_0x3dd7de||_0x3dd7de===_0x4cddfd||!_0x15c798(_0x466ddf,_0x3164ef,{'viewIds':[_0x4cddfd,_0x3dd7de]}))return!0x1;let _0x275698=_0x3b5a79[_0x129fbf(0x3a4)](_0x552f17['ICommandService']),_0x2090de=_0x3b5a79['get'](_0x552f17[_0x129fbf(0x471)]),_0x4d4f01=_0x466ddf['getSnapshot'](),_0x3ec8d8=new _0x1b9aeb()['moveView'](_0x4d4f01,_0x3164ef,_0x4cddfd,_0x420642),_0x5dd938=new _0x600fcd()[_0x129fbf(0x4fa)](_0x4d4f01,_0x3ec8d8),_0x3b4611={'unitId':_0x5d754a,'op':_0x3ec8d8},_0x256799={'unitId':_0x5d754a,'op':_0x5dd938};return _0x275698[_0x129fbf(0x447)](_0x489c96['id'],_0x3b4611)?(_0xcd51a6[_0x129fbf(0x1aa)](_0x5d754a),_0x2090de['pushUndoRedo']({'unitID':_0x5d754a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x256799}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3b4611}]}),!0x0):!0x1;}},_0x49859c={'id':'base.command.rename-base-table','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3e5905,_0x5ea770)=>{const _0x4936a6=_0x5b4d61;if(!_0x5ea770)return!0x1;let _0x186c0b=_0x3e5905[_0x4936a6(0x3a4)](_0x552f17[_0x4936a6(0x372)]),{unitId:_0x130784,tableId:_0x419f9c,name:_0x42ad57}=_0x5ea770,_0x3b52e3=_0x186c0b['getUnit'](_0x130784,_0x552f17['UniverInstanceType']['UNIVER_BASE']);if(!_0x3b52e3||!_0x15c798(_0x3b52e3,_0x419f9c)||!_0x161279(_0x3b52e3[_0x4936a6(0x157)](),_0x42ad57,_0x419f9c)['valid'])return!0x1;let _0x1a25c9=_0x3e5905[_0x4936a6(0x3a4)](_0x552f17[_0x4936a6(0xf5)]),_0x31137c=_0x3e5905['get'](_0x552f17[_0x4936a6(0x471)]),_0x2c5428=_0x3b52e3['getSnapshot'](),_0x443111=new _0x1b9aeb()['renameTable'](_0x2c5428,_0x419f9c,_0x42ad57),_0x25831d=new _0x600fcd()[_0x4936a6(0x4fa)](_0x2c5428,_0x443111),_0x3cb2e1={'unitId':_0x130784,'op':_0x443111},_0x2cdcac={'unitId':_0x130784,'op':_0x25831d};return _0x1a25c9[_0x4936a6(0x447)](_0x489c96['id'],_0x3cb2e1)?(_0x186c0b[_0x4936a6(0x1aa)](_0x130784),_0x31137c[_0x4936a6(0x480)]({'unitID':_0x130784,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2cdcac}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3cb2e1}]}),!0x0):!0x1;}},_0x3a83f1={'id':_0x5b4d61(0x231),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x16ad33,_0xb216a9)=>{const _0x3ba5a0=_0x5b4d61;if(!_0xb216a9)return!0x1;let _0x24f63c=_0x16ad33[_0x3ba5a0(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5efe50,tableId:_0x1c5b57,viewId:_0x36414c,name:_0x379492}=_0xb216a9,_0x21c0a7=_0x24f63c[_0x3ba5a0(0x259)](_0x5efe50,_0x552f17[_0x3ba5a0(0x349)][_0x3ba5a0(0x1e2)]);if(!_0x21c0a7||!_0x15c798(_0x21c0a7,_0x1c5b57,{'viewIds':[_0x36414c]}))return!0x1;let _0x428427=_0x16ad33[_0x3ba5a0(0x3a4)](_0x552f17[_0x3ba5a0(0xf5)]),_0x33e8b6=_0x16ad33['get'](_0x552f17['IUndoRedoService']),_0x5578ea=_0x21c0a7['getSnapshot'](),_0x8a0e83=new _0x1b9aeb()[_0x3ba5a0(0x519)](_0x5578ea,_0x1c5b57,_0x36414c,_0x379492),_0x303c4f=new _0x600fcd()[_0x3ba5a0(0x4fa)](_0x5578ea,_0x8a0e83),_0x40be87={'unitId':_0x5efe50,'op':_0x8a0e83},_0x57d8f6={'unitId':_0x5efe50,'op':_0x303c4f};return _0x428427[_0x3ba5a0(0x447)](_0x489c96['id'],_0x40be87)?(_0x24f63c[_0x3ba5a0(0x1aa)](_0x5efe50),_0x33e8b6[_0x3ba5a0(0x480)]({'unitID':_0x5efe50,'undoMutations':[{'id':_0x489c96['id'],'params':_0x57d8f6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x40be87}]}),!0x0):!0x1;}},_0x575a47={'id':_0x5b4d61(0x2a8),'type':_0x552f17['CommandType']['COMMAND'],'handler':(_0x1dad56,_0x28fbba)=>{const _0x39c5b6=_0x5b4d61;if(!_0x28fbba)return!0x1;let _0x473339=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17[_0x39c5b6(0x372)]),{unitId:_0x468a7d,tableId:_0x10186a,viewId:_0x5c5e88,fieldId:_0x58c173}=_0x28fbba,_0xd65825=_0x473339[_0x39c5b6(0x259)](_0x468a7d,_0x552f17[_0x39c5b6(0x349)]['UNIVER_BASE']);if(!_0xd65825||!_0x15c798(_0xd65825,_0x10186a,{'viewIds':[_0x5c5e88],'fieldIds':[_0x58c173]}))return!0x1;let _0x4fd374=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17['ICommandService']),_0x1b958e=_0x1dad56[_0x39c5b6(0x3a4)](_0x552f17['IUndoRedoService']),_0x11d2d9=_0xd65825[_0x39c5b6(0x157)](),_0x405545=new _0x1b9aeb()[_0x39c5b6(0x14e)](_0x11d2d9,_0x10186a,_0x5c5e88,{'groupFieldId':_0x58c173}),_0x4c1289=new _0x600fcd()[_0x39c5b6(0x4fa)](_0x11d2d9,_0x405545),_0x15f96b={'unitId':_0x468a7d,'op':_0x405545},_0x4793d2={'unitId':_0x468a7d,'op':_0x4c1289};return _0x4fd374[_0x39c5b6(0x447)](_0x489c96['id'],_0x15f96b)?(_0x473339[_0x39c5b6(0x1aa)](_0x468a7d),_0x1b958e[_0x39c5b6(0x480)]({'unitID':_0x468a7d,'undoMutations':[{'id':_0x489c96['id'],'params':_0x4793d2}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x15f96b}]}),!0x0):!0x1;}},_0x295ff9={'id':_0x5b4d61(0x19e),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x177953,_0x37dc6c)=>{const _0x179ff8=_0x5b4d61;if(!_0x37dc6c)return!0x1;let _0x1ccc4d=_0x177953[_0x179ff8(0x3a4)](_0x552f17[_0x179ff8(0x372)]),_0x37a660=_0x1ccc4d[_0x179ff8(0x259)](_0x37dc6c[_0x179ff8(0x36f)],_0x552f17['UniverInstanceType'][_0x179ff8(0x1e2)]);if(!_0x37a660)return!0x1;let _0x39ecf5=_0x37a660[_0x179ff8(0x157)]()[_0x179ff8(0x288)];if(_0x39ecf5===_0x37dc6c[_0x179ff8(0x288)])return!0x0;let _0x45b10e=new _0x1b9aeb(),_0x6ddf69=new _0x600fcd(),_0x1efefb=[],_0x2789b8=[],_0x4ade15=[_0x37a660,..._0x1ccc4d['getAllUnitsForType'](_0x552f17[_0x179ff8(0x349)][_0x179ff8(0x1e2)])[_0x179ff8(0x30a)](_0xf5b0b2=>_0xf5b0b2[_0x179ff8(0x2e7)]()!==_0x37dc6c[_0x179ff8(0x36f)])];for(let _0x466077 of _0x4ade15){let _0x31b63c=_0x466077[_0x179ff8(0x157)](),_0x7c7852=_0x466077===_0x37a660?_0x45b10e[_0x179ff8(0x467)](_0x31b63c,_0x37dc6c['name']):_0x45b10e[_0x179ff8(0x537)](_0x31b63c,_0x39ecf5,_0x37dc6c['name']);_0x7c7852&&(_0x1efefb[_0x179ff8(0x36c)]({'id':_0x489c96['id'],'params':{'unitId':_0x466077[_0x179ff8(0x2e7)](),'op':_0x7c7852,'trigger':_0x295ff9['id']}}),_0x2789b8[_0x179ff8(0x26f)]({'id':_0x489c96['id'],'params':{'unitId':_0x466077[_0x179ff8(0x2e7)](),'op':_0x6ddf69[_0x179ff8(0x4fa)](_0x31b63c,_0x7c7852),'trigger':_0x295ff9['id']}}));}let _0x34b031=_0x177953[_0x179ff8(0x3a4)](_0x552f17['ICommandService']),_0x2132fb=_0x177953[_0x179ff8(0x3a4)](_0x552f17['IUndoRedoService']),_0x4589f6=_0x2132fb[_0x179ff8(0x1dc)](_0x37dc6c['unitId']);try{return(0x0,_0x552f17[_0x179ff8(0x1db)])(_0x1efefb,_0x34b031)[_0x179ff8(0x3fb)]?(_0x1ccc4d[_0x179ff8(0x1aa)](_0x37dc6c[_0x179ff8(0x36f)]),_0x2132fb[_0x179ff8(0x480)]({'unitID':_0x37dc6c[_0x179ff8(0x36f)],'undoMutations':_0x2789b8,'redoMutations':_0x1efefb}),!0x0):!0x1;}finally{_0x4589f6[_0x179ff8(0x1ad)]();}}},_0x5464be={'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'id':_0x5b4d61(0x54c),async 'handler'(_0x81df8,_0x6f68b){const _0x9ec37b=_0x5b4d61;if(!_0x6f68b||!_0x5a9423[_0x9ec37b(0x396)](_0x6f68b[_0x9ec37b(0x236)])||_0x6f68b[_0x9ec37b(0x479)]!==_0x6f68b[_0x9ec37b(0x36f)]&&_0x6f68b[_0x9ec37b(0x236)]!==_0x4b2dcb[_0x9ec37b(0x370)]['Edit']||_0x6f68b[_0x9ec37b(0x414)]&&(![_0x9ec37b(0x353),'owner','members'][_0x9ec37b(0x396)](_0x6f68b[_0x9ec37b(0x414)]['edit'])||_0x6f68b['policy'][_0x9ec37b(0x51b)]['some'](_0x213e64=>!_0x5a9423[_0x9ec37b(0x396)](_0x213e64[_0x9ec37b(0x236)])||_0x6f68b[_0x9ec37b(0x479)]!==_0x6f68b[_0x9ec37b(0x36f)]&&_0x213e64[_0x9ec37b(0x236)]!==_0x4b2dcb['UnitAction'][_0x9ec37b(0x521)])))return!0x1;let _0x9acaec=_0x23ad78(_0x6f68b[_0x9ec37b(0x36f)],_0x6f68b[_0x9ec37b(0x479)],_0x6f68b[_0x9ec37b(0x236)]),_0x4f7777={'unitId':_0x6f68b[_0x9ec37b(0x36f)],'objectId':_0x6f68b[_0x9ec37b(0x479)],'objectType':_0x9acaec['type']},_0x45ab77=_0x81df8[_0x9ec37b(0x3a4)](_0x552f17[_0x9ec37b(0x1cf)]);return _0x6f68b[_0x9ec37b(0x225)]?await _0x45ab77[_0x9ec37b(0x225)](_0x4f7777):_0x6f68b[_0x9ec37b(0x414)]?await _0x45ab77[_0x9ec37b(0x520)](_0x4f7777,_0x6f68b[_0x9ec37b(0x414)]):await _0x45ab77[_0x9ec37b(0x1de)](_0x4f7777,_0x9acaec,_0x6f68b[_0x9ec37b(0x2e2)]),!0x0;}},_0x534f96={'type':_0x552f17[_0x5b4d61(0x538)]['COMMAND'],'id':'base.command.set-permissions',async 'handler'(_0x1babaa,_0x16dccf){const _0x2ad7bb=_0x5b4d61;if(!(_0x16dccf!=null&&_0x16dccf[_0x2ad7bb(0x36f)])||!Array[_0x2ad7bb(0x3bc)](_0x16dccf[_0x2ad7bb(0x507)])||!_0x16dccf[_0x2ad7bb(0x507)][_0x2ad7bb(0x46a)]||_0x16dccf[_0x2ad7bb(0x507)][_0x2ad7bb(0x166)](_0x42c6ce=>!(_0x42c6ce!=null&&_0x42c6ce['objectId'])||_0x42c6ce['objectId']===_0x16dccf['unitId']||_0x42c6ce['policy']!==null&&(!_0x42c6ce[_0x2ad7bb(0x414)]||![_0x2ad7bb(0x353),_0x2ad7bb(0x4b5),_0x2ad7bb(0x290)][_0x2ad7bb(0x396)](_0x42c6ce[_0x2ad7bb(0x414)]['edit'])||!Array[_0x2ad7bb(0x3bc)](_0x42c6ce[_0x2ad7bb(0x414)]['collaborators'])||!Array[_0x2ad7bb(0x3bc)](_0x42c6ce['policy'][_0x2ad7bb(0x51b)])||_0x42c6ce['policy'][_0x2ad7bb(0x51b)][_0x2ad7bb(0x166)](_0x5e4818=>_0x5e4818[_0x2ad7bb(0x236)]!==_0x4b2dcb[_0x2ad7bb(0x370)][_0x2ad7bb(0x521)]))))throw Error(_0x2ad7bb(0x1d4));return _0x1babaa[_0x2ad7bb(0x3a4)](_0x552f17['ObjectPermissionService'])[_0x2ad7bb(0x291)](_0x16dccf[_0x2ad7bb(0x507)]['map'](_0x1c1406=>{const _0x507a5c=_0x2ad7bb;let _0xe2050a=_0x23ad78(_0x16dccf[_0x507a5c(0x36f)],_0x1c1406['objectId'],_0x4b2dcb[_0x507a5c(0x370)]['Edit']);return{'unitId':_0x16dccf[_0x507a5c(0x36f)],'objectId':_0x1c1406[_0x507a5c(0x479)],'objectType':_0xe2050a[_0x507a5c(0x4cd)],'policy':_0x1c1406[_0x507a5c(0x414)]};}));}};function _0x1c58bb(_0xc64269,_0x336e50){const _0xbfc7d0=_0x5b4d61;let _0x1815cb=_0x2c21a9(_0x552f17[_0xbfc7d0(0x395)][_0xbfc7d0(0x4bf)](_0xc64269)),_0x10e1dc=new Map();return _0x336e50[_0xbfc7d0(0x116)](_0x3e90f5=>{const _0x4a4a2f=_0xbfc7d0;var _0xa43e7e,_0x112669;let _0x57606a=_0x4a4a2f(0x504)in _0x3e90f5?_0x3e90f5['recordId']:(_0xa43e7e=_0x1815cb[_0x4a4a2f(0x219)])==null?void 0x0:_0xa43e7e[_0x3e90f5['row']],_0x3e421f=_0x4a4a2f(0x400)in _0x3e90f5?_0x3e90f5['fieldId']:(_0x112669=_0x1815cb[_0x4a4a2f(0x43a)])==null?void 0x0:_0x112669[_0x3e90f5[_0x4a4a2f(0x1a1)]],_0x34276a=_0x3e421f?_0x1815cb[_0x4a4a2f(0x3ec)][_0x3e421f]:void 0x0;if(!_0x57606a||!_0x3e421f||!_0x34276a||!_0x1815cb[_0x4a4a2f(0x29e)][_0x57606a])return;let _0x21ba55=_0x49a97d(_0x3e90f5[_0x4a4a2f(0x2e2)],_0x34276a),_0x2f2fa3=_0x24a127(_0x3e90f5[_0x4a4a2f(0x2e2)],_0x21ba55,_0x34276a,_0x1815cb,_0x57606a),_0xef3fcb=_0x10e1dc['get'](_0x57606a)??{};_0xef3fcb[_0x3e421f]=_0x2f2fa3,_0x10e1dc[_0x4a4a2f(0x3e9)](_0x57606a,_0xef3fcb);}),[..._0x10e1dc]['map'](([_0x4adc10,_0x52d5ce])=>({'recordId':_0x4adc10,'values':_0x52d5ce}));}let _0x371b2c={'id':'base.command.set-base-range-values','type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x12369b,_0xec9c0a){const _0x4940f9=_0x5b4d61;if(!_0xec9c0a)return!0x1;let _0x45afd8=_0x12369b['get'](_0x552f17[_0x4940f9(0x372)]),{unitId:_0x2482be,tableId:_0xee0253,patches:_0x5bb45f}=_0xec9c0a,_0x1a9481=_0x45afd8['getUnit'](_0x2482be,_0x552f17[_0x4940f9(0x349)]['UNIVER_BASE']);if(!_0x1a9481||!_0x15c798(_0x1a9481,_0xee0253))return!0x1;let _0x568599=_0x12369b['get'](_0x552f17['ICommandService']),_0x2ab3a2=_0x12369b[_0x4940f9(0x3a4)](_0x552f17[_0x4940f9(0x471)]),_0x42845a=_0x1a9481[_0x4940f9(0x157)](),_0xebd5d4=_0x2c21a9(_0x42845a['tables'][_0xee0253]),_0x1b7582=_0x5bb45f['map'](_0x729f2=>{const _0xdbdeeb=_0x4940f9;var _0x39685d;return _0xdbdeeb(0x504)in _0x729f2?_0x729f2[_0xdbdeeb(0x504)]:(_0x39685d=_0xebd5d4[_0xdbdeeb(0x219)])==null?void 0x0:_0x39685d[_0x729f2[_0xdbdeeb(0x4d6)]];})[_0x4940f9(0x30a)](_0x130bf4=>_0x130bf4!=null),_0x1e2934=_0x5bb45f[_0x4940f9(0x3ab)](_0x1f3c1f=>{const _0x1d856f=_0x4940f9;var _0xe8a3f2;return'fieldId'in _0x1f3c1f?_0x1f3c1f[_0x1d856f(0x400)]:(_0xe8a3f2=_0xebd5d4['colId'])==null?void 0x0:_0xe8a3f2[_0x1f3c1f[_0x1d856f(0x1a1)]];})[_0x4940f9(0x30a)](_0x4ce85e=>_0x4ce85e!=null);if(_0x1b7582[_0x4940f9(0x46a)]!==_0x5bb45f['length']||_0x1e2934[_0x4940f9(0x46a)]!==_0x5bb45f[_0x4940f9(0x46a)]||!_0x15c798(_0x1a9481,_0xee0253,{'recordIds':_0x1b7582,'fieldIds':_0x1e2934})||_0x5bb45f['some']((_0x3a8bcb,_0x38ea23)=>!_0x54e79f(_0x1a9481,_0xee0253,_0x1e2934[_0x38ea23],_0x3a8bcb[_0x4940f9(0x2e2)])))return!0x1;let _0x29bd9e=_0x47a364(_0xebd5d4,_0x1c58bb(_0xebd5d4,_0x5bb45f)),_0x1756e9=_0x5bb45f[_0x4940f9(0x4a0)](_0x1a676b=>{const _0x106227=_0x4940f9;var _0x2fbf8f,_0x2d1a50;if(_0x106227(0x4d6)in _0x1a676b)return[_0x1a676b];let _0x4614e2=(_0x2fbf8f=_0xebd5d4['rowIndex'])==null?void 0x0:_0x2fbf8f[_0x1a676b[_0x106227(0x504)]],_0x57af3c=(_0x2d1a50=_0xebd5d4[_0x106227(0x4ee)])==null?void 0x0:_0x2d1a50[_0x1a676b['fieldId']];return _0x4614e2==null||_0x57af3c==null?[]:[{'row':_0x4614e2,'col':_0x57af3c,'value':_0x1a676b[_0x106227(0x2e2)]}];}),_0x8cdd9f=new _0x1b9aeb()[_0x4940f9(0x20c)](_0x42845a,_0xee0253,_0x1756e9),_0x21c0f3=new _0x600fcd()[_0x4940f9(0x4fa)](_0x42845a,_0x8cdd9f),_0x429339={'unitId':_0x2482be,'op':_0x8cdd9f,'trigger':_0x29bd9e['length']?_0x371b2c['id']:void 0x0,'hierarchyChanges':_0x29bd9e[_0x4940f9(0x46a)]?_0x29bd9e:void 0x0,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0x4940f9(0x392):void 0x0},_0x42adc6={'unitId':_0x2482be,'op':_0x21c0f3,'trigger':_0x29bd9e['length']?_0x371b2c['id']:void 0x0,'hierarchyChanges':_0x29bd9e[_0x4940f9(0x46a)]?_0x29bd9e[_0x4940f9(0x3ab)](_0x5cbb56=>({..._0x5cbb56,'oldParentRecordId':_0x5cbb56[_0x4940f9(0x286)],'parentRecordId':_0x5cbb56[_0x4940f9(0x22e)]})):void 0x0,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0x4940f9(0x214):void 0x0},_0x11d1b6={..._0x429339,'source':_0x29bd9e[_0x4940f9(0x46a)]?_0xec9c0a[_0x4940f9(0x364)]??'ui':void 0x0};return _0x568599['syncExecuteCommand'](_0x489c96['id'],_0x11d1b6)?(_0x45afd8['focusUnit'](_0x2482be),_0x2ab3a2[_0x4940f9(0x480)]({'unitID':_0x2482be,'undoMutations':[{'id':_0x489c96['id'],'params':_0x42adc6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x429339}]}),!0x0):!0x1;}},_0x3e56e0={'id':_0x5b4d61(0x201),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x4eb40c,_0x474e7b){const _0x303a72=_0x5b4d61;if(!_0x474e7b)return!0x1;let _0x2a3e44=_0x4eb40c[_0x303a72(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x146d31,tableId:_0x282e95,patches:_0x5c1da9}=_0x474e7b,_0x39a9a1=_0x2a3e44['getUnit'](_0x146d31,_0x552f17[_0x303a72(0x349)][_0x303a72(0x1e2)]),_0x37ed12=_0x5c1da9['map'](_0x1572ab=>_0x1572ab[_0x303a72(0x504)]),_0x569189=_0x5c1da9['flatMap'](_0x1cfacb=>Object['keys'](_0x1cfacb[_0x303a72(0x4d1)]));if(!_0x39a9a1||!_0x15c798(_0x39a9a1,_0x282e95,{'recordIds':_0x37ed12,'fieldIds':_0x569189})||_0x5c1da9[_0x303a72(0x166)](_0xfa799=>Object[_0x303a72(0x21f)](_0xfa799['values'])[_0x303a72(0x166)](([_0xc09df9,_0x103d68])=>!_0x54e79f(_0x39a9a1,_0x282e95,_0xc09df9,_0x103d68))))return!0x1;let _0x13fcef=_0x47a364(_0x39a9a1[_0x303a72(0x157)]()[_0x303a72(0x1e1)][_0x282e95],_0x5c1da9),_0x1f1304=_0x4eb40c[_0x303a72(0x3a4)](_0x552f17[_0x303a72(0xf5)]),_0x485904=_0x4eb40c['get'](_0x552f17['IUndoRedoService']),_0xd08e38=_0x4eb40c[_0x303a72(0x3a4)](_0x18f07e)[_0x303a72(0x11f)](_0x39a9a1,_0x282e95,_0x5c1da9),_0x5519f5=new _0x600fcd()[_0x303a72(0x4fa)](_0x39a9a1['getSnapshot'](),_0xd08e38),_0x1d6e85={'unitId':_0x146d31,'op':_0xd08e38,'trigger':_0x13fcef[_0x303a72(0x46a)]?_0x3e56e0['id']:void 0x0,'hierarchyChanges':_0x13fcef[_0x303a72(0x46a)]?_0x13fcef:void 0x0,'source':_0x13fcef[_0x303a72(0x46a)]?_0x474e7b['source']??'ui':void 0x0},_0x3630ee={..._0x1d6e85,'source':_0x13fcef['length']?'redo':void 0x0},_0x34df00={'unitId':_0x146d31,'op':_0x5519f5,'trigger':_0x13fcef['length']?_0x3e56e0['id']:void 0x0,'hierarchyChanges':_0x13fcef[_0x303a72(0x46a)]?_0x13fcef['map'](_0x19f94b=>({..._0x19f94b,'oldParentRecordId':_0x19f94b[_0x303a72(0x286)],'parentRecordId':_0x19f94b[_0x303a72(0x22e)]})):void 0x0,'source':_0x13fcef[_0x303a72(0x46a)]?_0x303a72(0x214):void 0x0};return _0x1f1304[_0x303a72(0x447)](_0x489c96['id'],_0x1d6e85)?(_0x2a3e44['focusUnit'](_0x146d31),_0x485904['pushUndoRedo']({'unitID':_0x146d31,'undoMutations':[{'id':_0x489c96['id'],'params':_0x34df00}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3630ee}]}),!0x0):!0x1;}},_0x4aaa7c={'id':_0x5b4d61(0x13b),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x30a518,_0x34db0e)=>{const _0x3158b6=_0x5b4d61;if(!_0x34db0e)return!0x1;let {unitId:_0x326372,tableId:_0x472a81,fieldId:_0x624323}=_0x34db0e,_0x2d5130=_0x30a518['get'](_0x552f17['IUniverInstanceService']),_0x4c2f42=_0x2d5130['getUnit'](_0x326372,_0x552f17['UniverInstanceType'][_0x3158b6(0x1e2)]);if(!_0x4c2f42||!_0x15c798(_0x4c2f42,_0x472a81))return!0x1;let _0x1a81f0=_0x4c2f42['getSnapshot'](),_0x49e055=_0x1a81f0[_0x3158b6(0x1e1)][_0x472a81];if(_0x624323!==null&&!_0x288df0(_0x49e055,_0x624323))throw new _0x31b592(_0x3158b6(0x487));if(_0x37c44a(_0x49e055)===_0x624323)return!0x0;let _0x559b50=new _0x1b9aeb(),_0x39b352=_0x4c4822(Object[_0x3158b6(0x4d1)](_0x49e055['fields'])[_0x3158b6(0x4a0)](_0x17b86b=>{const _0x2a867f=_0x3158b6;if(!_0x288df0(_0x49e055,_0x17b86b['id']))return[];let _0x6b2b7e=_0x423169(_0x17b86b);if(!_0x6b2b7e)return[];let _0x4b2f75=_0x17b86b['id']===_0x624323;if(_0x6b2b7e[_0x2a867f(0x102)]===_0x552f17[_0x2a867f(0x548)][_0x2a867f(0x3d3)]===_0x4b2f75)return[];let _0x2ca68f={..._0x17b86b['config'],'targetTableId':_0x6b2b7e['targetTableId'],'multiple':_0x6b2b7e['multiple']};return _0x4b2f75?_0x2ca68f[_0x2a867f(0x102)]=_0x552f17[_0x2a867f(0x548)]['Parent']:delete _0x2ca68f[_0x2a867f(0x102)],[_0x559b50['updateField'](_0x1a81f0,_0x472a81,_0x17b86b['id'],{'config':_0x2ca68f})];})),_0x40d58e=new _0x600fcd()[_0x3158b6(0x4fa)](_0x1a81f0,_0x39b352),_0x346019={'unitId':_0x326372,'op':_0x39b352},_0x31a62e={'unitId':_0x326372,'op':_0x40d58e};return _0x30a518['get'](_0x552f17['ICommandService'])[_0x3158b6(0x447)](_0x489c96['id'],_0x346019)?(_0x2d5130[_0x3158b6(0x1aa)](_0x326372),_0x30a518[_0x3158b6(0x3a4)](_0x552f17['IUndoRedoService'])[_0x3158b6(0x480)]({'unitID':_0x326372,'undoMutations':[{'id':_0x489c96['id'],'params':_0x31a62e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x346019}]}),!0x0):!0x1;}},_0xa5c9e={'id':_0x5b4d61(0x438),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x2dbe68,_0x251475)=>{const _0x1e694d=_0x5b4d61;if(!_0x251475)return!0x1;let _0x504266=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0x372)]),{unitId:_0x3a71f6,tableId:_0x2aede6,viewId:_0x5663f9,fieldId:_0x31fc9b,target:_0x4a04d0}=_0x251475,_0x215f65=_0x504266[_0x1e694d(0x259)](_0x3a71f6,_0x552f17[_0x1e694d(0x349)]['UNIVER_BASE']),_0x34616e=_0x4a04d0[_0x1e694d(0x4aa)]??_0x4a04d0['afterFieldId'];if(!_0x215f65||!_0x34616e||_0x34616e===_0x31fc9b||!_0x15c798(_0x215f65,_0x2aede6,{'viewIds':[_0x5663f9],'fieldIds':[_0x31fc9b,_0x34616e]}))return!0x1;let _0x2711b8=_0x215f65[_0x1e694d(0x157)]()[_0x1e694d(0x1e1)][_0x2aede6],_0x29ecc2=_0x2711b8[_0x1e694d(0x3ec)][_0x31fc9b],_0x3b793c=_0x2711b8[_0x1e694d(0x3ec)][_0x34616e];if(_0x29ecc2[_0x1e694d(0x505)]===!0x0||_0x29ecc2[_0x1e694d(0x4cd)]===_0x552f17[_0x1e694d(0x22d)][_0x1e694d(0x500)]||_0x3b793c['system']===!0x0||_0x3b793c[_0x1e694d(0x4cd)]===_0x552f17[_0x1e694d(0x22d)]['RecordId'])return!0x1;let _0x1a8715=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0xf5)]),_0x358467=_0x2dbe68[_0x1e694d(0x3a4)](_0x552f17[_0x1e694d(0x471)]),_0x50fb66=_0x215f65[_0x1e694d(0x157)](),_0x1c8fdc=new _0x1b9aeb()[_0x1e694d(0x509)](_0x50fb66,_0x2aede6,_0x5663f9,_0x31fc9b,_0x4a04d0),_0x240d45=new _0x600fcd()[_0x1e694d(0x4fa)](_0x50fb66,_0x1c8fdc),_0x58b751={'unitId':_0x3a71f6,'op':_0x1c8fdc},_0x199f0e={'unitId':_0x3a71f6,'op':_0x240d45};return _0x1a8715[_0x1e694d(0x447)](_0x489c96['id'],_0x58b751)?(_0x504266[_0x1e694d(0x1aa)](_0x3a71f6),_0x358467[_0x1e694d(0x480)]({'unitID':_0x3a71f6,'undoMutations':[{'id':_0x489c96['id'],'params':_0x199f0e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x58b751}]}),!0x0):!0x1;}},_0x218b99={'id':'base.command.set-base-view-field-visible','type':_0x552f17['CommandType']['COMMAND'],'handler'(_0xaa9fcf,_0x4e0a67){const _0xb5a692=_0x5b4d61;if(!_0x4e0a67)return!0x1;let _0x1d351e=_0xaa9fcf['get'](_0x552f17[_0xb5a692(0x372)]),{unitId:_0x1415c6,tableId:_0x25a90b,viewId:_0x4c79b7,fieldId:_0x8c3507,visible:_0xda4eb9}=_0x4e0a67,_0x12cfde=_0x1d351e['getUnit'](_0x1415c6,_0x552f17[_0xb5a692(0x349)][_0xb5a692(0x1e2)]);if(!_0x12cfde||!_0x15c798(_0x12cfde,_0x25a90b,{'viewIds':[_0x4c79b7],'fieldIds':[_0x8c3507]}))return!0x1;let _0x50085f=_0x12cfde['getSnapshot']()[_0xb5a692(0x1e1)][_0x25a90b][_0xb5a692(0x3ec)][_0x8c3507];if(_0x50085f[_0xb5a692(0x505)]===!0x0||_0x50085f['type']===_0x552f17[_0xb5a692(0x22d)][_0xb5a692(0x500)])return!0x1;let _0xd10243=_0xaa9fcf[_0xb5a692(0x3a4)](_0x552f17[_0xb5a692(0xf5)]),_0x71aec7=_0xaa9fcf[_0xb5a692(0x3a4)](_0x552f17[_0xb5a692(0x471)]),_0x35ae47=_0x12cfde[_0xb5a692(0x157)](),_0x25b3ac=new _0x1b9aeb()[_0xb5a692(0x366)](_0x35ae47,_0x25a90b,_0x4c79b7,_0x8c3507,_0xda4eb9),_0x4944ec=new _0x600fcd()['invertOp'](_0x35ae47,_0x25b3ac),_0x3ef625={'unitId':_0x1415c6,'op':_0x25b3ac},_0xb5b3fe={'unitId':_0x1415c6,'op':_0x4944ec};return _0xd10243[_0xb5a692(0x447)](_0x489c96['id'],_0x3ef625)?(_0x1d351e[_0xb5a692(0x1aa)](_0x1415c6),_0x71aec7[_0xb5a692(0x480)]({'unitID':_0x1415c6,'undoMutations':[{'id':_0x489c96['id'],'params':_0xb5b3fe}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3ef625}]}),!0x0):!0x1;}},_0x19e91d={'id':_0x5b4d61(0x24f),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x5b6f9c,_0x1a3eae)=>{const _0x91fbc0=_0x5b4d61;if(!_0x1a3eae)return!0x1;let _0x519923=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x3d905a,tableId:_0x261744,viewId:_0x10f3b7,fieldId:_0x39c66c,width:_0x1663b5}=_0x1a3eae,_0x420d14=_0x519923[_0x91fbc0(0x259)](_0x3d905a,_0x552f17[_0x91fbc0(0x349)][_0x91fbc0(0x1e2)]);if(!_0x420d14||!_0x15c798(_0x420d14,_0x261744,{'viewIds':[_0x10f3b7],'fieldIds':[_0x39c66c]}))return!0x1;let _0xa2696c=_0x420d14[_0x91fbc0(0x157)]()['tables'][_0x261744]['fields'][_0x39c66c];if(_0xa2696c['system']===!0x0||_0xa2696c[_0x91fbc0(0x4cd)]===_0x552f17[_0x91fbc0(0x22d)][_0x91fbc0(0x500)])return!0x1;let _0x118d7f=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17[_0x91fbc0(0xf5)]),_0x4d7cd5=_0x5b6f9c[_0x91fbc0(0x3a4)](_0x552f17['IUndoRedoService']),_0x1a4884=_0x420d14['getSnapshot'](),_0x167c25=new _0x1b9aeb()[_0x91fbc0(0x3de)](_0x1a4884,_0x261744,_0x10f3b7,_0x39c66c,_0x1663b5),_0x3ed320=new _0x600fcd()[_0x91fbc0(0x4fa)](_0x1a4884,_0x167c25),_0x529637={'unitId':_0x3d905a,'op':_0x167c25},_0x21936e={'unitId':_0x3d905a,'op':_0x3ed320};return _0x118d7f[_0x91fbc0(0x447)](_0x489c96['id'],_0x529637)?(_0x519923[_0x91fbc0(0x1aa)](_0x3d905a),_0x4d7cd5[_0x91fbc0(0x480)]({'unitID':_0x3d905a,'undoMutations':[{'id':_0x489c96['id'],'params':_0x21936e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x529637}]}),!0x0):!0x1;}},_0xe496df={'id':_0x5b4d61(0x2fa),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x1670d5,_0x490d84)=>{const _0x5b346d=_0x5b4d61;if(!_0x490d84)return!0x1;let _0x1db386=_0x1670d5[_0x5b346d(0x3a4)](_0x552f17[_0x5b346d(0x372)]),{unitId:_0x47a7f1,tableId:_0x31900d,viewId:_0x54e876,filter:_0x43e915}=_0x490d84,_0x5ed2d5=_0x1db386['getUnit'](_0x47a7f1,_0x552f17[_0x5b346d(0x349)][_0x5b346d(0x1e2)]),_0x9d1ccf=(_0x43e915==null?void 0x0:_0x43e915[_0x5b346d(0x323)][_0x5b346d(0x3ab)](_0x546775=>_0x546775[_0x5b346d(0x400)]))??[];if(!_0x5ed2d5||!_0x15c798(_0x5ed2d5,_0x31900d,{'viewIds':[_0x54e876],'fieldIds':_0x9d1ccf}))return!0x1;let _0x303904=_0x1670d5['get'](_0x552f17[_0x5b346d(0xf5)]),_0xc18421=_0x1670d5[_0x5b346d(0x3a4)](_0x552f17[_0x5b346d(0x471)]),_0x488eca=_0x5ed2d5['getSnapshot'](),_0x948c72=new _0x1b9aeb()[_0x5b346d(0x190)](_0x488eca,_0x31900d,_0x54e876,_0x43e915),_0x41bc38=new _0x600fcd()[_0x5b346d(0x4fa)](_0x488eca,_0x948c72),_0x1f349e={'unitId':_0x47a7f1,'op':_0x948c72},_0x16c55e={'unitId':_0x47a7f1,'op':_0x41bc38};return _0x303904[_0x5b346d(0x447)](_0x489c96['id'],_0x1f349e)?(_0x1db386[_0x5b346d(0x1aa)](_0x47a7f1),_0xc18421['pushUndoRedo']({'unitID':_0x47a7f1,'undoMutations':[{'id':_0x489c96['id'],'params':_0x16c55e}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x1f349e}]}),!0x0):!0x1;}},_0x2b96e5={'id':_0x5b4d61(0x48d),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3c3578,_0x296974)=>{const _0x2498e1=_0x5b4d61;if(!_0x296974)return!0x1;let _0x38394a=_0x3c3578[_0x2498e1(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x28ebec,tableId:_0x249645,viewId:_0x542c36,group:_0x3fad1e}=_0x296974,_0x55c244=_0x38394a[_0x2498e1(0x259)](_0x28ebec,_0x552f17[_0x2498e1(0x349)][_0x2498e1(0x1e2)]);if(!_0x55c244||!_0x15c798(_0x55c244,_0x249645,{'viewIds':[_0x542c36],'fieldIds':_0x3fad1e[_0x2498e1(0x3ab)](_0x3bfaee=>_0x3bfaee[_0x2498e1(0x400)])}))return!0x1;let _0x1f69af=_0x3c3578[_0x2498e1(0x3a4)](_0x552f17[_0x2498e1(0xf5)]),_0x511de1=_0x3c3578['get'](_0x552f17[_0x2498e1(0x471)]),_0x1080f8=_0x55c244[_0x2498e1(0x157)](),_0x180e60=new _0x1b9aeb()[_0x2498e1(0x475)](_0x1080f8,_0x249645,_0x542c36,_0x3fad1e),_0x349571=new _0x600fcd()['invertOp'](_0x1080f8,_0x180e60),_0x24417e={'unitId':_0x28ebec,'op':_0x180e60},_0x3594c7={'unitId':_0x28ebec,'op':_0x349571};return _0x1f69af[_0x2498e1(0x447)](_0x489c96['id'],_0x24417e)?(_0x38394a[_0x2498e1(0x1aa)](_0x28ebec),_0x511de1[_0x2498e1(0x480)]({'unitID':_0x28ebec,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3594c7}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x24417e}]}),!0x0):!0x1;}},_0x51c31a={'id':_0x5b4d61(0x174),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x545b08,_0x585fac)=>{const _0x47225f=_0x5b4d61;if(!_0x585fac)return!0x1;let _0x377efe=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0x372)]),{unitId:_0x5874ab,tableId:_0x41d1ec,viewId:_0x329a28,sort:_0x57db32}=_0x585fac,_0x28e8a6=_0x377efe[_0x47225f(0x259)](_0x5874ab,_0x552f17[_0x47225f(0x349)][_0x47225f(0x1e2)]);if(!_0x28e8a6||!_0x15c798(_0x28e8a6,_0x41d1ec,{'viewIds':[_0x329a28],'fieldIds':_0x57db32[_0x47225f(0x3ab)](_0x376eee=>_0x376eee['fieldId'])}))return!0x1;let _0x2d6e60=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0xf5)]),_0x1ce2ef=_0x545b08[_0x47225f(0x3a4)](_0x552f17[_0x47225f(0x471)]),_0xdfc127=_0x28e8a6[_0x47225f(0x157)](),_0xc5eb61=new _0x1b9aeb()[_0x47225f(0x184)](_0xdfc127,_0x41d1ec,_0x329a28,_0x57db32),_0x15b7fb=new _0x600fcd()[_0x47225f(0x4fa)](_0xdfc127,_0xc5eb61),_0x3e369d={'unitId':_0x5874ab,'op':_0xc5eb61},_0x398857={'unitId':_0x5874ab,'op':_0x15b7fb};return _0x2d6e60[_0x47225f(0x447)](_0x489c96['id'],_0x3e369d)?(_0x377efe[_0x47225f(0x1aa)](_0x5874ab),_0x1ce2ef[_0x47225f(0x480)]({'unitID':_0x5874ab,'undoMutations':[{'id':_0x489c96['id'],'params':_0x398857}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3e369d}]}),!0x0):!0x1;}},_0x9a81a0={'id':_0x5b4d61(0x273),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler'(_0x27c79f,_0x1ad342){const _0x28793a=_0x5b4d61;if(!_0x1ad342)return!0x1;let _0x27dc2e=_0x27c79f['get'](_0x552f17[_0x28793a(0x372)]),{unitId:_0x1d49d7,tableId:_0x3dbed9,recordId:_0x59181e,fieldId:_0x1f8580,value:_0x31dd9b}=_0x1ad342,_0x4d2a14=_0x27dc2e[_0x28793a(0x259)](_0x1d49d7,_0x552f17[_0x28793a(0x349)][_0x28793a(0x1e2)]);if(!_0x4d2a14||!_0x15c798(_0x4d2a14,_0x3dbed9,{'recordIds':[_0x59181e],'fieldIds':[_0x1f8580]})||!_0x54e79f(_0x4d2a14,_0x3dbed9,_0x1f8580,_0x31dd9b))return!0x1;let _0x5b6c2c=_0x4d2a14[_0x28793a(0x157)]()[_0x28793a(0x1e1)][_0x3dbed9],_0x24b064=_0x288df0(_0x5b6c2c,_0x1f8580)&&_0x168111(_0x5b6c2c)[_0x28793a(0x396)](_0x1f8580),_0x129fb4=_0x24b064?_0x128f1a(_0x5b6c2c,_0x1f8580):null,_0x270d1b=(_0x129fb4==null?void 0x0:_0x129fb4[_0x28793a(0x378)][_0x28793a(0x3a4)](_0x59181e))??null,_0x61077a=_0x24b064?_0x17aaa4(_0x31dd9b)[0x0]??null:null;if(_0x129fb4){if(_0x61077a&&!_0x5b6c2c['records'][_0x61077a])throw new _0x31b592('missingRecord');let _0x2558e5=_0x4bbbbd(_0x129fb4,_0x59181e,_0x61077a);if(!_0x2558e5[_0x28793a(0x2d9)])throw new _0x31b592(_0x2558e5[_0x28793a(0x4bb)]===_0x552f17[_0x28793a(0x499)][_0x28793a(0x254)]?_0x28793a(0x388):_0x2558e5['reason']===_0x552f17[_0x28793a(0x499)][_0x28793a(0x2be)]?_0x28793a(0x4c9):'maxDepth');}let _0x54f9be=_0x27c79f['get'](_0x552f17[_0x28793a(0xf5)]),_0x3c2d93=_0x27c79f['get'](_0x552f17[_0x28793a(0x471)]),_0x1e9422=_0x27c79f[_0x28793a(0x3a4)](_0x18f07e),_0x5b2742;try{_0x5b2742=_0x1e9422[_0x28793a(0x237)](_0x4d2a14,_0x3dbed9,_0x59181e,_0x1f8580,_0x31dd9b);}catch(_0x301104){return console[_0x28793a(0x202)](_0x28793a(0x455),_0x301104),!0x1;}let _0x47ac6b=new _0x600fcd()[_0x28793a(0x4fa)](_0x4d2a14['getSnapshot'](),_0x5b2742),_0x39cd11=_0x24b064&&_0x270d1b!==_0x61077a?[{'tableId':_0x3dbed9,'fieldId':_0x1f8580,'recordId':_0x59181e,'oldParentRecordId':_0x270d1b,'parentRecordId':_0x61077a}]:void 0x0,_0x48f477={'unitId':_0x1d49d7,'op':_0x5b2742,'trigger':_0x39cd11?_0x9a81a0['id']:void 0x0,'hierarchyChanges':_0x39cd11,'source':_0x39cd11?_0x1ad342[_0x28793a(0x364)]??'ui':void 0x0},_0x46a61e={..._0x48f477,'source':_0x39cd11?_0x28793a(0x392):void 0x0},_0x3a2c64={'unitId':_0x1d49d7,'op':_0x47ac6b,'trigger':_0x39cd11?_0x9a81a0['id']:void 0x0,'hierarchyChanges':_0x39cd11==null?void 0x0:_0x39cd11[_0x28793a(0x3ab)](_0x5192f9=>({..._0x5192f9,'oldParentRecordId':_0x5192f9[_0x28793a(0x286)],'parentRecordId':_0x5192f9[_0x28793a(0x22e)]})),'source':_0x39cd11?_0x28793a(0x214):void 0x0};return _0x54f9be['syncExecuteCommand'](_0x489c96['id'],_0x48f477)?(_0x27dc2e[_0x28793a(0x4a5)]()||_0x27dc2e[_0x28793a(0x1aa)](_0x1d49d7),_0x3c2d93[_0x28793a(0x480)]({'unitID':_0x1d49d7,'undoMutations':[{'id':_0x489c96['id'],'params':_0x3a2c64}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x46a61e}]}),!0x0):!0x1;}},_0x467366={'id':_0x5b4d61(0x321),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x414d5d,_0x15ac1b){const _0x33b6ba=_0x5b4d61;if(!_0x15ac1b)return!0x1;let _0x17b2dc=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17[_0x33b6ba(0x372)]),{unitId:_0x4d0b1b,tableId:_0x5680f2,fieldId:_0x36260c}=_0x15ac1b,_0x431f23=_0x17b2dc['getUnit'](_0x4d0b1b,_0x552f17[_0x33b6ba(0x349)][_0x33b6ba(0x1e2)]);if(!_0x431f23||!_0x15c798(_0x431f23,_0x5680f2,{'fieldIds':[_0x36260c]}))return!0x1;let _0x13590f=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17['ICommandService']),_0x473cc2=_0x414d5d[_0x33b6ba(0x3a4)](_0x552f17[_0x33b6ba(0x471)]),_0xd3721c=_0x431f23[_0x33b6ba(0x157)](),_0x36b08c=_0x15ac1b[_0x33b6ba(0x13d)][_0x33b6ba(0x104)](),_0x313b0a=new _0x1b9aeb()['updateField'](_0xd3721c,_0x5680f2,_0x36260c,{'description':_0x36b08c}),_0x4bee3e=new _0x600fcd()[_0x33b6ba(0x4fa)](_0x431f23[_0x33b6ba(0x157)](),_0x313b0a),_0x54db49={'unitId':_0x4d0b1b,'op':_0x313b0a},_0x2c9444={'unitId':_0x4d0b1b,'op':_0x4bee3e};return _0x13590f[_0x33b6ba(0x447)](_0x489c96['id'],_0x54db49)?(_0x17b2dc[_0x33b6ba(0x1aa)](_0x4d0b1b),_0x473cc2[_0x33b6ba(0x480)]({'unitID':_0x4d0b1b,'undoMutations':[{'id':_0x489c96['id'],'params':_0x2c9444}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x54db49}]}),!0x0):!0x1;}},_0x3d4519={'id':_0x5b4d61(0x153),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x218d45,_0x371a9c)=>{const _0x11a40c=_0x5b4d61;if(!_0x371a9c)return!0x1;let _0x2e8abe=_0x218d45['get'](_0x552f17[_0x11a40c(0x372)]),{unitId:_0x3da74e,tableId:_0x5e5788,fieldId:_0x116e48,patch:_0x261711}=_0x371a9c,_0xe116b0=_0x2e8abe[_0x11a40c(0x259)](_0x3da74e,_0x552f17[_0x11a40c(0x349)]['UNIVER_BASE']);if(!_0xe116b0||_0x116e48===_0x552f17['BASE_RECORD_ID_FIELD_ID']||!_0x15c798(_0xe116b0,_0x5e5788,{'fieldIds':[_0x116e48]}))return!0x1;let _0x29f014=_0x218d45[_0x11a40c(0x3a4)](_0x552f17[_0x11a40c(0xf5)]),_0x250db8=_0x218d45[_0x11a40c(0x3a4)](_0x552f17['IUndoRedoService']),_0x403f82=_0xe116b0[_0x11a40c(0x157)]();if(!_0x355e36(_0xe116b0,_0x5e5788,{..._0x403f82[_0x11a40c(0x1e1)][_0x5e5788]['fields'][_0x116e48],..._0x261711}))return!0x1;let _0x448bbf=new _0x1b9aeb()[_0x11a40c(0x41a)](_0x403f82,_0x5e5788,_0x116e48,_0x261711),_0x381821=new _0x600fcd()[_0x11a40c(0x4fa)](_0x403f82,_0x448bbf),_0x13bee6={'unitId':_0x3da74e,'op':_0x448bbf},_0x1c4b51={'unitId':_0x3da74e,'op':_0x381821};return _0x29f014[_0x11a40c(0x447)](_0x489c96['id'],_0x13bee6)?(_0x2e8abe[_0x11a40c(0x1aa)](_0x3da74e),_0x250db8[_0x11a40c(0x480)]({'unitID':_0x3da74e,'undoMutations':[{'id':_0x489c96['id'],'params':_0x1c4b51}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x13bee6}]}),!0x0):!0x1;}},_0x31321d={'id':'base.command.update-base-kanban-config','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x3bf413,_0x37818d)=>{const _0x105e7d=_0x5b4d61;if(!_0x37818d)return!0x1;let _0x14b8d3=_0x3bf413[_0x105e7d(0x3a4)](_0x552f17[_0x105e7d(0x372)]),{unitId:_0x2a74fa,tableId:_0x4de1c0,viewId:_0x414642,patch:_0x180dba}=_0x37818d,_0x31c0b9=_0x14b8d3[_0x105e7d(0x259)](_0x2a74fa,_0x552f17['UniverInstanceType'][_0x105e7d(0x1e2)]);if(!_0x31c0b9||!_0x15c798(_0x31c0b9,_0x4de1c0,{'viewIds':[_0x414642]}))return!0x1;let _0x44c9eb=_0x3bf413['get'](_0x552f17[_0x105e7d(0xf5)]),_0x46d983=_0x3bf413[_0x105e7d(0x3a4)](_0x552f17[_0x105e7d(0x471)]),_0x3507e9=_0x31c0b9['getSnapshot'](),_0x296271=new _0x1b9aeb()[_0x105e7d(0x14e)](_0x3507e9,_0x4de1c0,_0x414642,_0x180dba),_0x291b2d=new _0x600fcd()[_0x105e7d(0x4fa)](_0x3507e9,_0x296271),_0x3e109f={'unitId':_0x2a74fa,'op':_0x296271},_0x436a9d={'unitId':_0x2a74fa,'op':_0x291b2d};return _0x44c9eb[_0x105e7d(0x447)](_0x489c96['id'],_0x3e109f)?(_0x14b8d3['focusUnit'](_0x2a74fa),_0x46d983[_0x105e7d(0x480)]({'unitID':_0x2a74fa,'undoMutations':[{'id':_0x489c96['id'],'params':_0x436a9d}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x3e109f}]}),!0x0):!0x1;}},_0x19160d={'id':'base.command.update-base-record-order','type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler':(_0x5009c5,_0x1437a6)=>{const _0x405293=_0x5b4d61;if(!_0x1437a6)return!0x1;let _0xb56482=_0x5009c5[_0x405293(0x3a4)](_0x552f17['IUniverInstanceService']),{unitId:_0x5df5f3,tableId:_0x589c21,recordId:_0x23a90d,orderKey:_0x2a5a35}=_0x1437a6,_0x35cad9=_0xb56482[_0x405293(0x259)](_0x5df5f3,_0x552f17[_0x405293(0x349)]['UNIVER_BASE']);if(!_0x35cad9||!_0x15c798(_0x35cad9,_0x589c21,{'recordIds':[_0x23a90d]}))return!0x1;let _0x1a64d4=_0x5009c5[_0x405293(0x3a4)](_0x552f17['ICommandService']),_0x94e9f3=_0x5009c5[_0x405293(0x3a4)](_0x552f17[_0x405293(0x471)]),_0x4923a5=_0x35cad9[_0x405293(0x157)](),_0x1dfa34=new _0x1b9aeb()['updateRecordOrder'](_0x4923a5,_0x589c21,_0x23a90d,_0x2a5a35),_0x3e098f=new _0x600fcd()[_0x405293(0x4fa)](_0x4923a5,_0x1dfa34),_0x23a577={'unitId':_0x5df5f3,'op':_0x1dfa34},_0x301664={'unitId':_0x5df5f3,'op':_0x3e098f};return _0x1a64d4[_0x405293(0x447)](_0x489c96['id'],_0x23a577)?(_0xb56482[_0x405293(0x1aa)](_0x5df5f3),_0x94e9f3[_0x405293(0x480)]({'unitID':_0x5df5f3,'undoMutations':[{'id':_0x489c96['id'],'params':_0x301664}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x23a577}]}),!0x0):!0x1;}},_0x16ab6d=function(_0x35fcbd){const _0x33e438=_0x5b4d61;return _0x35fcbd['Set']=_0x33e438(0x3e9),_0x35fcbd['Add']='add',_0x35fcbd[_0x33e438(0x371)]=_0x33e438(0x1d6),_0x35fcbd[_0x33e438(0x269)]='clear',_0x35fcbd;}({}),_0x4a49d7={'id':_0x5b4d61(0x546),'type':_0x552f17['CommandType']['COMMAND'],'handler':(_0x29019d,_0x5d5a51)=>{const _0x5351fe=_0x5b4d61;var _0x4ed697;if(!_0x5d5a51)return!0x1;let _0x242a48=_0x29019d['get'](_0x552f17[_0x5351fe(0x372)]),_0x2a56af=_0x242a48[_0x5351fe(0x259)](_0x5d5a51[_0x5351fe(0x36f)],_0x552f17[_0x5351fe(0x349)]['UNIVER_BASE']);if(!_0x2a56af||!_0x15c798(_0x2a56af,_0x5d5a51['tableId'],{'viewIds':[_0x5d5a51[_0x5351fe(0x1b8)]]}))return!0x1;let _0x83b78f=_0x2a56af[_0x5351fe(0x157)](),_0xcd6b1b=_0x83b78f[_0x5351fe(0x1e1)][_0x5d5a51[_0x5351fe(0x111)]],_0x557335=_0x9ff08b(((_0x4ed697=_0xcd6b1b[_0x5351fe(0x2ea)][_0x5d5a51[_0x5351fe(0x1b8)]][_0x5351fe(0x340)][_0x5351fe(0x2cd)])==null?void 0x0:_0x4ed697[_0x5351fe(0x2b9)])??[],_0x5d5a51);if(!_0x557335)return!0x1;_0x11de60(_0xcd6b1b,_0x557335);let _0x192704=new _0x1b9aeb()['updateViewConfig'](_0x83b78f,_0x5d5a51[_0x5351fe(0x111)],_0x5d5a51['viewId'],{'conditionalColoring':_0x557335['length']?{'rules':_0x557335}:null}),_0x57f537=new _0x600fcd()[_0x5351fe(0x4fa)](_0x83b78f,_0x192704),_0x4dd7e0={'unitId':_0x5d5a51[_0x5351fe(0x36f)],'op':_0x192704},_0x4930af={'unitId':_0x5d5a51[_0x5351fe(0x36f)],'op':_0x57f537};return _0x29019d[_0x5351fe(0x3a4)](_0x552f17[_0x5351fe(0xf5)])[_0x5351fe(0x447)](_0x489c96['id'],_0x4dd7e0)?(_0x242a48[_0x5351fe(0x1aa)](_0x5d5a51[_0x5351fe(0x36f)]),_0x29019d[_0x5351fe(0x3a4)](_0x552f17[_0x5351fe(0x471)])['pushUndoRedo']({'unitID':_0x5d5a51[_0x5351fe(0x36f)],'undoMutations':[{'id':_0x489c96['id'],'params':_0x4930af}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x4dd7e0}]}),!0x0):!0x1;}};function _0x9ff08b(_0x57ffd4,_0x659860){const _0x1aa505=_0x5b4d61;switch(_0x659860['type']){case _0x1aa505(0x3e9):return _0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x659860[_0x1aa505(0x2b9)]);case _0x1aa505(0x112):return[..._0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x57ffd4),_0x552f17[_0x1aa505(0x395)][_0x1aa505(0x4bf)](_0x659860['rule'])];case _0x1aa505(0x1d6):{let _0x171ada=_0x57ffd4[_0x1aa505(0x30a)](_0x5f1887=>_0x5f1887['id']!==_0x659860[_0x1aa505(0x4c1)]);return _0x171ada[_0x1aa505(0x46a)]===_0x57ffd4[_0x1aa505(0x46a)]?null:_0x552f17['Tools'][_0x1aa505(0x4bf)](_0x171ada);}case _0x1aa505(0x25b):return _0x57ffd4[_0x1aa505(0x46a)]?[]:null;}}function _0x11de60(_0x2c5d70,_0x4ad242){const _0xbbf003=_0x5b4d61;if(!Array[_0xbbf003(0x3bc)](_0x4ad242))throw TypeError(_0xbbf003(0x155));let _0xbdc6b5=new Set();for(let [_0x5a7d47,_0x36b83f]of _0x4ad242[_0xbbf003(0x21f)]())_0x4c837e(_0x2c5d70,_0x36b83f,_0x315f4f(_0x36b83f,_0x5a7d47,_0xbdc6b5));}function _0x315f4f(_0x3c4f3d,_0x31bc99,_0x145168){const _0x1de0cd=_0x5b4d61;if(!_0x3c4f3d||typeof _0x3c4f3d!=_0x1de0cd(0x434))throw TypeError(_0x1de0cd(0x188)+_0x31bc99+_0x1de0cd(0x451));let _0x2ee7fd=typeof _0x3c4f3d['id']==_0x1de0cd(0x525)&&_0x3c4f3d['id']['trim']()?'\x22'+_0x3c4f3d['id']+'\x22':'at\x20index\x20'+_0x31bc99;if(typeof _0x3c4f3d['id']!=_0x1de0cd(0x525)||!_0x3c4f3d['id'][_0x1de0cd(0x104)]())throw Error(_0x1de0cd(0x44e)+_0x2ee7fd+_0x1de0cd(0x192));if(_0x145168['has'](_0x3c4f3d['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x3c4f3d['id']+'\x22.');_0x145168[_0x1de0cd(0x112)](_0x3c4f3d['id']);let _0xc439a5=typeof _0x3c4f3d[_0x1de0cd(0x187)]=='string'&&_0x3c4f3d[_0x1de0cd(0x187)][_0x1de0cd(0x104)]()?new _0x552f17[(_0x1de0cd(0x119))](_0x3c4f3d[_0x1de0cd(0x187)]):null;if(!(_0xc439a5!=null&&_0xc439a5['isValid']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x2ee7fd+'\x20must\x20have\x20a\x20valid\x20CSS\x20color.');return _0x2ee7fd;}function _0x4c837e(_0x3d38cc,_0x6892eb,_0x548608){const _0x3bbfd9=_0x5b4d61;let _0x4f55d9=new Set(Object[_0x3bbfd9(0x4d1)](_0x552f17[_0x3bbfd9(0x35a)])),_0x349033=new Set(Object['values'](_0x552f17['BaseConditionalColorOperator'])),_0x53c954=new Set(Object[_0x3bbfd9(0x4d1)](_0x552f17[_0x3bbfd9(0x295)]));if(!_0x4f55d9[_0x3bbfd9(0x1d8)](_0x6892eb[_0x3bbfd9(0x4d4)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x315)+String(_0x6892eb[_0x3bbfd9(0x4d4)])+'\x22.');let _0xa5beeb=typeof _0x6892eb[_0x3bbfd9(0x400)]==_0x3bbfd9(0x525)?_0x3d38cc[_0x3bbfd9(0x3ec)][_0x6892eb['fieldId']]:void 0x0;if(!_0xa5beeb||_0xa5beeb[_0x3bbfd9(0x505)]===!0x0||_0xa5beeb[_0x3bbfd9(0x4cd)]===_0x552f17[_0x3bbfd9(0x22d)][_0x3bbfd9(0x500)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x548608+_0x3bbfd9(0x11c)+String(_0x6892eb[_0x3bbfd9(0x400)])+'\x22.');if(!_0x349033['has'](_0x6892eb[_0x3bbfd9(0x252)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x448)+String(_0x6892eb[_0x3bbfd9(0x252)])+'\x22.');if(_0x6892eb['dateMode']!==void 0x0&&!_0x53c954[_0x3bbfd9(0x1d8)](_0x6892eb[_0x3bbfd9(0x1b4)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x548608+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x6892eb[_0x3bbfd9(0x1b4)])+'\x22.');if(_0x6892eb[_0x3bbfd9(0x4d4)]===_0x552f17[_0x3bbfd9(0x35a)][_0x3bbfd9(0x33f)])return;let _0x3dc94c=_0x47060d(_0xa5beeb[_0x3bbfd9(0x4cd)]);if(!_0x3dc94c['includes'](_0x6892eb[_0x3bbfd9(0x252)]))throw Error(_0x3bbfd9(0x44e)+_0x548608+'\x20cannot\x20use\x20operator\x20\x22'+_0x6892eb[_0x3bbfd9(0x252)]+'\x22\x20with\x20field\x20type\x20\x22'+_0xa5beeb[_0x3bbfd9(0x4cd)]+'\x22.\x20Allowed\x20operators:\x20'+_0x3dc94c[_0x3bbfd9(0x53f)](',\x20')+'.');if(_0x6892eb['dateMode']!==void 0x0&&!_0x4e99f7(_0xa5beeb['type']))throw Error(_0x3bbfd9(0x44e)+_0x548608+_0x3bbfd9(0x54b));}let _0xde1fc9={'id':_0x5b4d61(0x122),'type':_0x552f17['CommandType'][_0x5b4d61(0x17d)],'handler':(_0x6bb06a,_0x125d08)=>{const _0x237b4f=_0x5b4d61;if(!_0x125d08)return!0x1;let _0x2166c0=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0x372)]),{unitId:_0x2285d7,tableId:_0x187776,viewId:_0x24a0f4,patch:_0x47af43}=_0x125d08,_0x3a17a3=_0x2166c0[_0x237b4f(0x259)](_0x2285d7,_0x552f17[_0x237b4f(0x349)][_0x237b4f(0x1e2)]);if(!_0x3a17a3||!_0x15c798(_0x3a17a3,_0x187776,{'viewIds':[_0x24a0f4]}))return!0x1;let _0x5cf998=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0xf5)]),_0x4eb4df=_0x6bb06a[_0x237b4f(0x3a4)](_0x552f17[_0x237b4f(0x471)]),_0xc2763d=_0x3a17a3[_0x237b4f(0x157)](),_0x25b90b=new _0x1b9aeb()[_0x237b4f(0x14e)](_0xc2763d,_0x187776,_0x24a0f4,_0x47af43),_0x54ee2c=new _0x600fcd()['invertOp'](_0xc2763d,_0x25b90b),_0x26a5cd={'unitId':_0x2285d7,'op':_0x25b90b},_0x44daf6={'unitId':_0x2285d7,'op':_0x54ee2c};return _0x5cf998['syncExecuteCommand'](_0x489c96['id'],_0x26a5cd)?(_0x2166c0[_0x237b4f(0x1aa)](_0x2285d7),_0x4eb4df[_0x237b4f(0x480)]({'unitID':_0x2285d7,'undoMutations':[{'id':_0x489c96['id'],'params':_0x44daf6}],'redoMutations':[{'id':_0x489c96['id'],'params':_0x26a5cd}]}),!0x0):!0x1;}},_0x298d7b={'id':_0x5b4d61(0x2c5),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x17d)],'handler'(_0x399f70,_0x49a98e){const _0x506fa6=_0x5b4d61;if(!_0x49a98e)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x3a1d39=_0x399f70[_0x506fa6(0x3a4)](_0x552f17[_0x506fa6(0x372)])['getUnit'](_0x49a98e[_0x506fa6(0x36f)],_0x552f17['UniverInstanceType']['UNIVER_BASE']),_0x2b7cf9=_0x3a1d39==null?void 0x0:_0x3a1d39[_0x506fa6(0x157)](),_0x2ff03b=_0x2b7cf9==null?void 0x0:_0x2b7cf9[_0x506fa6(0x1e1)][_0x49a98e[_0x506fa6(0x111)]];return!_0x2b7cf9||!_0x2ff03b?{'valid':!0x1,'reason':_0x506fa6(0x21d)}:new _0x328073()[_0x506fa6(0x1cb)](_0x49a98e[_0x506fa6(0x498)],_0x2ff03b,{'snapshot':_0x2b7cf9});}},_0x333b91=class extends _0x552f17['ObjectPermissionRuleModel']{constructor(_0x28c89f){const _0x144840=_0x5b4d61;super(_0x28c89f,_0x144840(0x536),_0x552f17[_0x144840(0x349)][_0x144840(0x1e2)],[_0x4b2dcb[_0x144840(0x2af)]['BaseTable'],_0x4b2dcb[_0x144840(0x2af)][_0x144840(0x2ce)],_0x4b2dcb[_0x144840(0x2af)][_0x144840(0x142)],_0x4b2dcb[_0x144840(0x2af)]['BaseView'],_0x4b2dcb['UnitObject'][_0x144840(0xfb)]]);}};_0x333b91=_0x3a99e3([_0x8293b1(0x0,_0x552f17['IResourceManagerService'])],_0x333b91);let _0x5f4b86={'id':_0x5b4d61(0x196),'type':_0x552f17[_0x5b4d61(0x538)][_0x5b4d61(0x4b3)],'handler':(_0x3a42dc,_0x3b70f3)=>!_0x3b70f3||!_0x3a42dc[_0x5b4d61(0x3a4)](_0x552f17[_0x5b4d61(0x372)])['getUnit'](_0x3b70f3['unitId'],_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)])?!0x1:_0x3a42dc[_0x5b4d61(0x3a4)](_0x333b91)[_0x5b4d61(0x1a8)](_0x3b70f3[_0x5b4d61(0x36f)],_0x3b70f3[_0x5b4d61(0x12a)],_0x3b70f3[_0x5b4d61(0x479)],_0x3b70f3[_0x5b4d61(0x308)])},_0x2ded08={'id':_0x5b4d61(0x26e),'type':_0x552f17[_0x5b4d61(0x538)]['MUTATION'],'handler':(_0x49db95,_0x402ceb)=>!_0x402ceb||!_0x49db95['get'](_0x552f17[_0x5b4d61(0x372)])[_0x5b4d61(0x259)](_0x402ceb[_0x5b4d61(0x36f)],_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)])?!0x1:_0x49db95[_0x5b4d61(0x3a4)](_0x333b91)[_0x5b4d61(0x383)](_0x402ceb['unitId'],_0x402ceb[_0x5b4d61(0x2b9)])};function _0x5344ae(_0x4d3ae0){const _0x3ecb0d=_0x5b4d61;let _0x1e4c36=_0x4d3ae0[_0x3ecb0d(0x1ca)]??Date['now'](),_0x400ae7=_0x4d3ae0[_0x3ecb0d(0x3a1)]??_0x4d3ae0['id']+_0x3ecb0d(0x2e0),_0x13c75c=_0x4d3ae0['gridViewId']??_0x4d3ae0['id']+_0x3ecb0d(0x450),_0xcacfb8=_0x4d3ae0[_0x3ecb0d(0x369)]??0x0,_0x3be5b2=(0x0,_0x552f17['createBaseRecordIdField'])(),_0x41f55b={'id':_0x400ae7,'name':_0x4d3ae0[_0x3ecb0d(0x412)]??_0x3ecb0d(0x4b9),'type':_0x552f17['BaseFieldType']['Text'],'config':{'placeholder':_0x3ecb0d(0x218)}},_0x43ab7f={},_0x46f613=[],_0x3c8c24={},_0x40ccf5={},_0x570140={};for(let _0x4bf13c=0x0;_0x4bf13c<_0xcacfb8;_0x4bf13c++){let _0x42a4c7=_0x4d3ae0['id']+_0x3ecb0d(0x1fb)+(_0x4bf13c+0x1);_0x43ab7f[_0x42a4c7]={'id':_0x42a4c7,'values':{[_0x552f17['BASE_RECORD_ID_FIELD_ID']]:_0x42a4c7,..._0x4d3ae0[_0x3ecb0d(0x23c)]?{[_0x400ae7]:_0x4d3ae0[_0x3ecb0d(0x23c)]+'\x20'+(_0x4bf13c+0x1)}:{}},'orderKey':String(_0x4bf13c+0x1)[_0x3ecb0d(0x20f)](0x4,'0'),'createdAt':_0x1e4c36,'updatedAt':_0x1e4c36},_0x46f613[_0x3ecb0d(0x36c)](_0x42a4c7),_0x3c8c24[_0x42a4c7]=_0x4bf13c,_0x40ccf5[_0x4bf13c]=_0x42a4c7,_0x570140[_0x4bf13c]={0x0:{'v':_0x42a4c7,'t':_0x552f17[_0x3ecb0d(0x393)][_0x3ecb0d(0x4e1)]}},_0x4d3ae0[_0x3ecb0d(0x23c)]&&(_0x570140[_0x4bf13c][0x1]={'v':_0x4d3ae0[_0x3ecb0d(0x23c)]+'\x20'+(_0x4bf13c+0x1),'t':_0x552f17[_0x3ecb0d(0x393)]['STRING']});}let _0x427480={'id':_0x13c75c,'tableId':_0x4d3ae0['id'],'name':_0x3ecb0d(0x48f),'type':_0x552f17['BaseViewType'][_0x3ecb0d(0x48f)],'fieldOrder':[_0x552f17['BASE_RECORD_ID_FIELD_ID'],_0x400ae7],'fieldSettings':{[_0x552f17[_0x3ecb0d(0x316)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x4d3ae0['id'],'name':_0x4d3ae0[_0x3ecb0d(0x288)],'primaryFieldId':_0x400ae7,'fieldOrder':[_0x552f17[_0x3ecb0d(0x316)],_0x400ae7],'fields':{[_0x552f17[_0x3ecb0d(0x316)]]:_0x3be5b2,[_0x400ae7]:_0x41f55b},'records':_0x43ab7f,'recordOrder':_0x46f613,'rowIndex':_0x3c8c24,'rowId':_0x40ccf5,'colIndex':{[_0x552f17[_0x3ecb0d(0x316)]]:0x0,[_0x400ae7]:0x1},'colId':{0x0:_0x552f17[_0x3ecb0d(0x316)],0x1:_0x400ae7},'cellData':_0x570140,'views':{[_0x13c75c]:_0x427480},'viewOrder':[_0x13c75c]};}let _0x2a7d93='UNIVER_EMBED_BASES_TABLE';function _0x57685a(_0x475a32){const _0x8b8d43=_0x5b4d61;let _0x50936b=_0x5344ae({'id':_0x475a32['hostAnchorId'],'name':_0x475a32[_0x8b8d43(0x288)]??_0x475a32['embedId'],'recordCount':0x0});return{..._0x50936b,'resources':{..._0x50936b[_0x8b8d43(0x336)]??{},[_0x2a7d93]:_0x3a6baf(_0x475a32)}};}function _0x5ba883(_0x2e406a){const _0x334834=_0x5b4d61;return{'id':_0x489c96['id'],'params':{'unitId':_0x2e406a[_0x334834(0x36f)],'op':_0x552f17[_0x334834(0x4e7)]['type']['compose'](_0x552f17[_0x334834(0x4e7)][_0x334834(0x4e3)]([_0x334834(0x1e1),_0x2e406a[_0x334834(0x481)]['id']],_0x2e406a[_0x334834(0x481)]),_0x552f17[_0x334834(0x4e7)][_0x334834(0x4e3)]([_0x334834(0x3ac),_0x2e406a[_0x334834(0x4a8)]??_0x2e406a[_0x334834(0x3a0)][_0x334834(0x3ac)][_0x334834(0x46a)]],_0x2e406a[_0x334834(0x481)]['id'])),'trigger':'embed-ui'}};}function _0x208dd0(_0x4be58e){const _0x4d8b24=_0x5b4d61;let _0x4bcdcf=_0x4be58e[_0x4d8b24(0x3a0)][_0x4d8b24(0x3ac)]['indexOf'](_0x4be58e[_0x4d8b24(0x111)]);if(!(!_0x4be58e[_0x4d8b24(0x3a0)][_0x4d8b24(0x1e1)][_0x4be58e['tableId']]||_0x4bcdcf<0x0))return{'id':_0x489c96['id'],'params':{'unitId':_0x4be58e[_0x4d8b24(0x36f)],'op':_0x552f17[_0x4d8b24(0x4e7)][_0x4d8b24(0x4cd)][_0x4d8b24(0x283)](_0x552f17[_0x4d8b24(0x4e7)]['removeOp']([_0x4d8b24(0x1e1),_0x4be58e[_0x4d8b24(0x111)]],_0x4be58e['snapshot'][_0x4d8b24(0x1e1)][_0x4be58e[_0x4d8b24(0x111)]]),_0x552f17['JSON1'][_0x4d8b24(0x4e6)](['tableOrder',_0x4bcdcf],_0x4be58e[_0x4d8b24(0x111)])),'trigger':_0x4d8b24(0x39a)}};}function _0x3a6baf(_0x33216a){const _0x14978d=_0x5b4d61;return{'version':0x1,'embedId':_0x33216a[_0x14978d(0x27d)],'hostAnchorId':_0x33216a['hostAnchorId'],'childUnitId':_0x33216a[_0x14978d(0xf4)],'childType':_0x33216a[_0x14978d(0x406)]};}function _0x31fc67(_0x32e2b5){const _0x1fbf1a=_0x5b4d61;let _0x4f29b3=Math[_0x1fbf1a(0x3bd)](0x0,Number(_0x32e2b5[_0x1fbf1a(0x132)]??0x0)),_0x1debf2=_0x32e2b5[_0x1fbf1a(0x114)]===!0x1?'0':'#,##0',_0x58dda6=_0x4f29b3?'.'+'0'[_0x1fbf1a(0x4bd)](_0x4f29b3):'',_0x2460b9=_0x603263(_0x32e2b5[_0x1fbf1a(0x424)]);return''+(_0x32e2b5[_0x1fbf1a(0x532)]?_0x36facf(_0x32e2b5[_0x1fbf1a(0x532)]):'')+_0x1debf2+_0x58dda6+_0x2460b9;}function _0x3a5fa6(_0x580ef0,_0x2ab609){const _0x2c1f8c=_0x5b4d61;let _0x4202b7=_0x31fc67(_0x2ab609),_0x41cf2e=_0x552f17['numfmt'][_0x2c1f8c(0x2d0)](_0x4202b7,_0x580ef0,{'throws':!0x1});return _0x510ef4(String(_0x41cf2e),_0x2ab609[_0x2c1f8c(0x212)],_0x2ab609[_0x2c1f8c(0x2a7)]);}function _0x603263(_0x17c343){const _0x34a978=_0x5b4d61;return _0x17c343==='K'?_0x34a978(0xf2):_0x17c343==='M'?_0x34a978(0x4f8):_0x17c343==='B'?_0x34a978(0x363):'';}function _0x36facf(_0x2485be){const _0x13ea5e=_0x5b4d61;return/^[A-Z]+$/i[_0x13ea5e(0x1d7)](_0x2485be)?'\x22'+_0x2485be+'\x22':_0x2485be;}function _0x510ef4(_0x168582,_0x59cb00,_0x790789){const _0x537df0=_0x5b4d61;let _0x57e24d=_0x59cb00==='local'?_0x2515bf(_0x790789):_0x59cb00;return _0x57e24d==='periodComma'?_0x168582[_0x537df0(0x394)](/,/g,'\x00')['replace'](/\./g,',')[_0x537df0(0x394)](/\0/g,'.'):_0x57e24d===_0x537df0(0x4eb)?_0x168582[_0x537df0(0x394)](/,/g,'\x20')[_0x537df0(0x394)](/\./g,','):_0x57e24d===_0x537df0(0x31c)?_0x168582[_0x537df0(0x394)](/,/g,'\x20'):_0x168582;}function _0x2515bf(_0x91b377){const _0x1284cd=_0x5b4d61;var _0x4956d7,_0x39da18;let _0x11fabc=_0x91b377||new Intl[(_0x1284cd(0x139))]()[_0x1284cd(0x304)]()[_0x1284cd(0x2a7)],_0x4e7743;try{_0x4e7743=new Intl[(_0x1284cd(0x139))](_0x11fabc,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1284cd(0x1eb)](0xf4240);}catch{return _0x1284cd(0x2da);}let _0x540dc8=(_0x4956d7=_0x4e7743['find'](_0x1229ed=>_0x1229ed['type']==='group'))==null?void 0x0:_0x4956d7[_0x1284cd(0x2e2)],_0xc2feeb=(_0x39da18=_0x4e7743['find'](_0xfc0ddd=>_0xfc0ddd[_0x1284cd(0x4cd)]==='decimal'))==null?void 0x0:_0x39da18[_0x1284cd(0x2e2)],_0x12a75a=_0x540dc8==='\u00a0'||_0x540dc8==='\u202f'?'\x20':_0x540dc8;return _0x12a75a==='.'&&_0xc2feeb===','?_0x1284cd(0x49e):_0x12a75a==='\x20'&&_0xc2feeb===','?'spaceComma':_0x12a75a==='\x20'&&_0xc2feeb==='.'?_0x1284cd(0x31c):'commaPeriod';}function _0x53cb70(_0x31607e,_0x2c10be){const _0x11aa09=_0x5b4d61;let _0xd11005=_0x2c10be&&typeof _0x2c10be=='object'&&!Array[_0x11aa09(0x3bc)](_0x2c10be)?_0x2c10be:{},_0x78ddf3=_0x3cf095(_0xd11005['decimalPlaces'],0x0,0x2,0x0),_0x302aa3=_0x31607e[_0x11aa09(0x551)](_0x78ddf3);return _0xd11005[_0x11aa09(0x2d0)]==='number'?_0x302aa3:_0x302aa3+'%';}function _0x3cf095(_0x4516dd,_0x4779d6,_0x110ba7,_0x177b11){const _0x564b8f=_0x5b4d61;if(_0x4516dd==null||_0x4516dd==='')return _0x177b11;let _0x2ff79f=typeof _0x4516dd==_0x564b8f(0x544)?_0x4516dd:Number(_0x4516dd);return Number[_0x564b8f(0x326)](_0x2ff79f)?Math[_0x564b8f(0x3bd)](_0x4779d6,Math[_0x564b8f(0x3b5)](_0x110ba7,Math['round'](_0x2ff79f))):_0x177b11;}let _0x2af2a0=[_0x5b4d61(0x4da),_0x5b4d61(0x134),_0x5b4d61(0x19d),_0x5b4d61(0x179),_0x5b4d61(0x43b),_0x5b4d61(0x4ea),_0x5b4d61(0x3b5),'max'],_0x21c8f7=[_0x5b4d61(0x4da),'filled',_0x5b4d61(0x19d),'unique'],_0x41f075=[_0x5b4d61(0x43b),_0x5b4d61(0x4ea),_0x5b4d61(0x3b5),'max'],_0x476eea=[_0x5b4d61(0x3b5),_0x5b4d61(0x3bd)],_0x1a268d=new Set([_0x552f17[_0x5b4d61(0x22d)]['Number'],_0x552f17[_0x5b4d61(0x22d)]['Currency'],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x28f)],_0x552f17[_0x5b4d61(0x22d)]['Rating']]),_0x21f151=new Set([_0x552f17[_0x5b4d61(0x22d)]['MultiSelect'],_0x552f17[_0x5b4d61(0x22d)][_0x5b4d61(0x430)],_0x552f17[_0x5b4d61(0x22d)]['Group']]),_0x406052=_0x5b4d61(0x2a2);function _0x1875e5(_0x215c98){const _0x2b8827=_0x5b4d61;return typeof _0x215c98==_0x2b8827(0x525)&&_0x2af2a0[_0x2b8827(0x396)](_0x215c98);}function _0x45ee53(_0xd86e38){const _0x14470d=_0x5b4d61;return!_0xd86e38||typeof _0xd86e38!='object'?{}:Object[_0x14470d(0x1b2)](Object[_0x14470d(0x21f)](_0xd86e38)[_0x14470d(0x30a)](_0x1e75c3=>_0x1875e5(_0x1e75c3[0x1])));}function _0x5baa5a(_0x44589f){const _0x119f01=_0x5b4d61;return _0x1a268d[_0x119f01(0x1d8)](_0x44589f[_0x119f01(0x4cd)])?[..._0x21c8f7,..._0x41f075]:_0x44589f[_0x119f01(0x4cd)]===_0x552f17[_0x119f01(0x22d)][_0x119f01(0x2ef)]?[..._0x21c8f7,..._0x55e7b1(_0x44589f)===_0x119f01(0x2c2)?_0x476eea:_0x41f075]:_0x21c8f7;}function _0x297a26(_0x47b098,_0x23936c){const _0x5988b8=_0x5b4d61;return _0x5baa5a(_0x47b098)[_0x5988b8(0x396)](_0x23936c);}function _0x30944c(_0x3672c0,_0x361451,_0x1ba978){const _0x32cca5=_0x5b4d61;if(!_0x297a26(_0x3672c0,_0x1ba978))return null;let _0xd934fc=_0x361451[_0x32cca5(0x30a)](_0x34b40c=>!_0x18fd02(_0x3672c0,_0x34b40c));switch(_0x1ba978){case _0x32cca5(0x4da):return _0x361451[_0x32cca5(0x46a)];case'filled':return _0xd934fc[_0x32cca5(0x46a)];case _0x32cca5(0x19d):return _0x361451[_0x32cca5(0x46a)]-_0xd934fc[_0x32cca5(0x46a)];case _0x32cca5(0x179):return new Set(_0xd934fc[_0x32cca5(0x3ab)](_0x22a003=>_0x4862a6(_0x3672c0,_0x22a003)))[_0x32cca5(0x18d)];case _0x32cca5(0x43b):{let _0x2ddfad=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x2ddfad['length']?_0x6a388f(_0x2ddfad):null;}case _0x32cca5(0x4ea):{let _0x14a889=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x14a889[_0x32cca5(0x46a)]?_0x6a388f(_0x14a889)/_0x14a889[_0x32cca5(0x46a)]:null;}case _0x32cca5(0x3b5):{let _0x339c6a=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x339c6a[_0x32cca5(0x46a)]?Math[_0x32cca5(0x3b5)](..._0x339c6a):null;}case _0x32cca5(0x3bd):{let _0x5876a2=_0x21fcdf(_0x3672c0,_0xd934fc);return _0x5876a2['length']?Math[_0x32cca5(0x3bd)](..._0x5876a2):null;}}}function _0x5553b1(_0xd91b4b,_0x4286d0,_0x5e6071){const _0xdc7fca=_0x5b4d61;if(_0x5e6071==null||!Number[_0xdc7fca(0x326)](_0x5e6071))return'-';if(_0x21c8f7[_0xdc7fca(0x396)](_0x4286d0))return String(_0x5e6071);switch(_0xd91b4b[_0xdc7fca(0x4cd)]){case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x439)]:return _0x3a5fa6(_0x5e6071,_0x435da3(_0xd91b4b));case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x268)]:return _0x3a5fa6(_0x5e6071,_0x3d1aa2(_0xd91b4b));case _0x552f17['BaseFieldType'][_0xdc7fca(0x28f)]:return _0x53cb70(_0x5e6071,_0xd91b4b[_0xdc7fca(0x340)]);case _0x552f17[_0xdc7fca(0x22d)][_0xdc7fca(0x2ef)]:return _0x31d1f6(_0x5e6071,_0xd91b4b);default:return _0x332cdf(_0x5e6071);}}function _0x18fd02(_0x3bc0e5,_0x1f2522){const _0x40f567=_0x5b4d61;if(_0x1f2522==null)return!0x0;if(typeof _0x1f2522=='string')return _0x1f2522[_0x40f567(0x104)]()==='';if(Array[_0x40f567(0x3bc)](_0x1f2522))return _0x3bc0e5['type']===_0x552f17[_0x40f567(0x22d)][_0x40f567(0x3a6)]?!_0x1f2522[_0x40f567(0x166)](_0x10b5fd):_0x1f2522[_0x40f567(0x46a)]===0x0;if(_0x3bc0e5['type']===_0x552f17['BaseFieldType'][_0x40f567(0x3f2)]&&typeof _0x1f2522=='object'){let _0x5a19f8=_0x1f2522;return[_0x5a19f8['text'],_0x5a19f8[_0x40f567(0x156)]][_0x40f567(0x25e)](_0x2efbcd=>_0x2efbcd==null||String(_0x2efbcd)['trim']()==='');}return!0x1;}function _0x21fcdf(_0x4d5b5c,_0x1b6127){let _0x33ff0c=[];for(let _0x3e9089 of _0x1b6127){let _0x10a007=_0x1ebeb7(_0x4d5b5c,_0x3e9089);_0x10a007!=null&&_0x33ff0c['push'](_0x10a007);}return _0x33ff0c;}function _0x1ebeb7(_0x526c50,_0x16129d){const _0x250118=_0x5b4d61;if(typeof _0x16129d==_0x250118(0x544))return Number[_0x250118(0x326)](_0x16129d)?_0x16129d:null;if(_0x526c50['type']!==_0x552f17[_0x250118(0x22d)][_0x250118(0x2ef)]&&typeof _0x16129d==_0x250118(0x525)&&_0x16129d[_0x250118(0x104)]()!==''){let _0x1afccd=Number(_0x16129d);return Number[_0x250118(0x326)](_0x1afccd)?_0x1afccd:null;}return null;}function _0x6a388f(_0x25a22a){const _0x2ac533=_0x5b4d61;let _0x4351e9=0x0,_0x189e99=0x0;for(let _0x54b0dc of _0x25a22a){let _0xe53779=_0x4351e9+_0x54b0dc;_0x189e99+=Math[_0x2ac533(0x45f)](_0x4351e9)>=Math[_0x2ac533(0x45f)](_0x54b0dc)?_0x4351e9-_0xe53779+_0x54b0dc:_0x54b0dc-_0xe53779+_0x4351e9,_0x4351e9=_0xe53779;}return _0x4351e9+_0x189e99;}function _0x4862a6(_0x2f7ae1,_0x4e2646){const _0x2ba4ec=_0x5b4d61;return _0x21f151[_0x2ba4ec(0x1d8)](_0x2f7ae1['type'])&&Array[_0x2ba4ec(0x3bc)](_0x4e2646)?_0x5968d1([...new Set(_0x4e2646[_0x2ba4ec(0x3ab)](_0x28a4d5=>_0x5968d1(_0x4bef51(_0x28a4d5))))][_0x2ba4ec(0x3c2)]()):_0x5968d1(_0x4bef51(_0x4e2646));}function _0x4bef51(_0x3013a9){const _0x2efa05=_0x5b4d61;return Array[_0x2efa05(0x3bc)](_0x3013a9)?_0x3013a9[_0x2efa05(0x3ab)](_0x4bef51):_0x3013a9&&typeof _0x3013a9=='object'?Object[_0x2efa05(0x1b2)](Object[_0x2efa05(0x21f)](_0x3013a9)[_0x2efa05(0x3c2)](([_0x158454],[_0x2c315a])=>_0x158454['localeCompare'](_0x2c315a))[_0x2efa05(0x3ab)](([_0x580702,_0x2a8860])=>[_0x580702,_0x4bef51(_0x2a8860)])):_0x3013a9;}function _0x5968d1(_0x58d9d3){const _0x3d61b3=_0x5b4d61;return JSON[_0x3d61b3(0x306)](_0x58d9d3)??_0x3d61b3(0x318);}function _0x10b5fd(_0x7cbc7e){const _0xf66d4d=_0x5b4d61;if(typeof _0x7cbc7e==_0xf66d4d(0x525))return _0x7cbc7e[_0xf66d4d(0x104)]()!=='';if(!_0x7cbc7e||typeof _0x7cbc7e!=_0xf66d4d(0x434))return!0x1;let _0x47d8b9=_0x7cbc7e;return[_0x47d8b9['id'],_0x47d8b9[_0xf66d4d(0x288)],_0x47d8b9[_0xf66d4d(0x364)],_0x47d8b9[_0xf66d4d(0x156)],_0x47d8b9['thumbnail']][_0xf66d4d(0x166)](_0x2d2d4d=>_0x2d2d4d!=null&&String(_0x2d2d4d)['trim']()!=='');}function _0x435da3(_0x37844f){const _0x1c6ece=_0x5b4d61;let _0x190b74=_0x500867(_0x37844f['config']);return{'decimalPlaces':_0x5696e1(_0x190b74[_0x1c6ece(0x132)],0x0,0x14,0x2),'separatorStyle':typeof _0x190b74[_0x1c6ece(0x212)]=='string'?_0x190b74[_0x1c6ece(0x212)]:_0x1c6ece(0x3fc),'locale':typeof _0x190b74[_0x1c6ece(0x2a7)]==_0x1c6ece(0x525)?_0x190b74['locale']:void 0x0,'useThousands':_0x190b74[_0x1c6ece(0x114)]!==!0x1,'abbreviation':typeof _0x190b74['abbreviation']==_0x1c6ece(0x525)?_0x190b74['abbreviation']:_0x1c6ece(0x3c8)};}function _0x3d1aa2(_0x695554){const _0x20a598=_0x5b4d61;let _0x185d7d=_0x500867(_0x695554[_0x20a598(0x340)]);return{..._0x435da3(_0x695554),'currencySymbol':String(_0x185d7d[_0x20a598(0x532)]??'$')};}function _0x31d1f6(_0x19103f,_0x494eeb){let _0x2734e1=_0x4350c4(_0x494eeb);if(_0x2734e1===_0x406052)return _0x332cdf(_0x19103f);try{return String(_0x552f17['numfmt']['format'](_0x2734e1,_0x19103f,{'throws':!0x1}));}catch{return _0x332cdf(_0x19103f);}}function _0x55e7b1(_0x47123f){const _0x15d932=_0x5b4d61;let _0x5c9106=_0x500867(_0x500867(_0x47123f['config'])['numfmt']);return typeof _0x5c9106[_0x15d932(0x4cd)]==_0x15d932(0x525)?_0x5c9106['type']:_0x15d932(0x405);}function _0x4350c4(_0x555e7c){const _0x226ac9=_0x5b4d61;let _0x20a8b2=_0x500867(_0x500867(_0x555e7c['config'])['numfmt']);return String(_0x20a8b2['pattern']??_0x406052)[_0x226ac9(0x104)]()||_0x406052;}function _0x332cdf(_0x55345c){const _0x4a4fc6=_0x5b4d61;return String(Number[_0x4a4fc6(0x2ff)](_0x55345c)?_0x55345c:Math[_0x4a4fc6(0x325)]((_0x55345c+0x2**-0x34)*0x64)/0x64);}function _0x500867(_0x2b5f58){const _0x4a77e1=_0x5b4d61;return _0x2b5f58&&typeof _0x2b5f58==_0x4a77e1(0x434)&&!Array['isArray'](_0x2b5f58)?_0x2b5f58:{};}function _0x563ae3(_0xa4bdf1){if(_0xa4bdf1==null||_0xa4bdf1==='')return null;let _0x2a4819=typeof _0xa4bdf1=='number'?_0xa4bdf1:Number(_0xa4bdf1);return Number['isFinite'](_0x2a4819)?_0x2a4819:null;}function _0x5696e1(_0x3bccbd,_0x4491aa,_0x14d929,_0x2a5774){const _0x563d8b=_0x5b4d61;let _0x13d9ba=_0x563ae3(_0x3bccbd);return _0x13d9ba==null?_0x2a5774:Math['max'](_0x4491aa,Math[_0x563d8b(0x3b5)](_0x14d929,Math[_0x563d8b(0x325)](_0x13d9ba)));}function _0x455ae9(_0x140a9c,_0x3c6372){const _0x57f242=_0x5b4d61;let _0x10911f=_0x552f17[_0x57f242(0x395)][_0x57f242(0x4bf)](_0x140a9c),_0x2a948b=_0x3c6372[_0x57f242(0x553)]===!0x0,_0x338c23=new Map(),_0x31b2cd=_0x3c6372[_0x57f242(0x35e)]??(()=>_0x57f242(0x137)+(0x0,_0x552f17[_0x57f242(0x32e)])(0x8)),_0x883b23=_0x10911f[_0x57f242(0x4ef)];return _0x3c6372['regenerateViewIds']&&(_0x883b23=_0x10911f['viewOrder']['map'](_0x3e763c=>{const _0xa199e5=_0x57f242;let _0x34bb82=_0x31b2cd();return _0x338c23[_0xa199e5(0x3e9)](_0x3e763c,_0x34bb82),_0x34bb82;})),{..._0x10911f,'id':_0x3c6372['id'],'name':_0x3c6372[_0x57f242(0x288)],'records':_0x2a948b?_0x10911f[_0x57f242(0x29e)]:{},'recordOrder':_0x2a948b?_0x10911f[_0x57f242(0x52a)]:[],'rowIndex':_0x2a948b?_0x10911f[_0x57f242(0x1a0)]:{},'rowId':_0x2a948b?_0x10911f['rowId']:{},'cellData':_0x2a948b?_0x10911f[_0x57f242(0x4af)]:{},'resources':_0x2a948b?_0x10911f[_0x57f242(0x336)]:{},'viewOrder':_0x883b23,'views':Object[_0x57f242(0x1b2)](Object[_0x57f242(0x21f)](_0x10911f['views']??{})[_0x57f242(0x3ab)](([_0x1192bf,_0x2fea09])=>{const _0x27546e=_0x57f242;let _0x5e1985=_0x338c23[_0x27546e(0x3a4)](_0x1192bf)??(_0x3c6372[_0x27546e(0x4a4)]?_0x31b2cd():_0x1192bf);return[_0x5e1985,{..._0x2fea09,'id':_0x5e1985,'tableId':_0x3c6372['id']}];}))};}var _0x470515=_0x5b4d61(0x35d),_0x359982=_0x5b4d61(0x276);let _0x36f683={};function _0x5b879f(_0x206ac2){const _0x252165=_0x5b4d61;return new _0x600fcd()[_0x252165(0x529)](_0x206ac2);}function _0x47c237(_0x46b23f){const _0x8a4c08=_0x5b4d61;return _0x46b23f[_0x8a4c08(0x3cc)][_0x8a4c08(0x3ab)](_0x104276=>({'unitId':_0x46b23f[_0x8a4c08(0x36f)],'sheetId':_0x46b23f[_0x8a4c08(0x111)],'range':{'startRow':_0x104276[_0x8a4c08(0x4d6)],'endRow':_0x104276[_0x8a4c08(0x4d6)],'startColumn':_0x104276['col'],'endColumn':_0x104276[_0x8a4c08(0x1a1)]}}));}function _0x493bd0(_0x2433f0,_0x3934cc){const _0x1aabdc=_0x5b4d61;return{[_0x2433f0]:Object[_0x1aabdc(0x1b2)](_0x3934cc[_0x1aabdc(0x3ab)](_0x14d633=>[_0x14d633,'1']))};}let _0x41791a=class extends _0x552f17['Disposable']{constructor(_0x31b9f0,_0x382e59){const _0x116ce1=_0x5b4d61;super(),this[_0x116ce1(0x3f8)]=_0x31b9f0,this[_0x116ce1(0x1ee)]=_0x382e59,this[_0x116ce1(0x129)]();}[_0x5b4d61(0x129)](){const _0x24d4cb=_0x5b4d61;this['_activeDirtyManagerService'][_0x24d4cb(0x30f)](_0x489c96['id'],{'commandId':_0x489c96['id'],'getDirtyData':_0x3cf7bd=>this[_0x24d4cb(0x1d9)](_0x3cf7bd[_0x24d4cb(0x48c)])}),this[_0x24d4cb(0x313)]((0x0,_0x552f17[_0x24d4cb(0x404)])(()=>{const _0x4fdc31=_0x24d4cb;this['_activeDirtyManagerService'][_0x4fdc31(0x225)](_0x489c96['id']);}));}[_0x5b4d61(0x42b)](_0x5e14bf,_0x3e67c8){const _0x5753dd=_0x5b4d61;let _0x4b3703=this['_univerInstanceService'][_0x5753dd(0x259)](_0x5e14bf,_0x552f17[_0x5753dd(0x349)][_0x5753dd(0x1e2)]);return(_0x4b3703==null?void 0x0:_0x4b3703[_0x5753dd(0x157)]()[_0x5753dd(0x1e1)][_0x3e67c8])??null;}[_0x5b4d61(0x1d9)](_0x3fb871){const _0x5150aa=_0x5b4d61;if(_0x3fb871[_0x5150aa(0x43f)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x3fb871[_0x5150aa(0x36f)]||!_0x3fb871['op'])return{'clearDependencyTreeCache':this[_0x5150aa(0x39d)](),'forceCalculation':!0x0};let _0x37c61b=_0x5b879f(_0x3fb871['op']),_0x2c21d1=this[_0x5150aa(0x21b)](_0x3fb871[_0x5150aa(0x36f)],_0x37c61b);if(_0x2c21d1[_0x5150aa(0x46a)])return{'clearDependencyTreeCache':_0x493bd0(_0x3fb871[_0x5150aa(0x36f)],_0x2c21d1),'forceCalculation':!0x0};let _0x72df3e=Object[_0x5150aa(0x21f)](this[_0x5150aa(0x3e4)](_0x3fb871['unitId'],_0x37c61b))[_0x5150aa(0x4a0)](([_0x5a6da7,_0x5335fc])=>_0x47c237({'unitId':_0x3fb871[_0x5150aa(0x36f)],'tableId':_0x5a6da7,'patches':_0x5335fc}));return _0x72df3e['length']?{'dirtyRanges':_0x72df3e}:{};}['_getStructureDirtyTableIds'](_0xff4998,_0x5906ed){const _0x11561f=_0x5b4d61;let _0x3bb328=_0x5906ed[_0x11561f(0x30a)](_0x3a3f3f=>_0x3a3f3f['reason']!==_0x11561f(0x164))[_0x11561f(0x4a0)](_0x3f4e38=>_0x3f4e38[_0x11561f(0x111)]?[_0x3f4e38['tableId']]:this[_0x11561f(0x408)](_0xff4998));return Array[_0x11561f(0x1c0)](new Set(_0x3bb328));}[_0x5b4d61(0x3e4)](_0x6873e2,_0x2242dd){const _0xc9b81=_0x5b4d61;let _0x1917dd=new Set();return _0x2242dd[_0xc9b81(0x38e)]((_0x1aa9e7,_0x5c215b)=>{const _0x1b8772=_0xc9b81;let _0x4e1cc3=this[_0x1b8772(0x12b)](_0x6873e2,_0x5c215b);if(!_0x4e1cc3)return _0x1aa9e7;let _0x31c590=_0x5c215b[_0x1b8772(0x111)]+':'+_0x4e1cc3['row']+':'+_0x4e1cc3[_0x1b8772(0x1a1)];return _0x1917dd[_0x1b8772(0x1d8)](_0x31c590)||(_0x1917dd[_0x1b8772(0x112)](_0x31c590),_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]]=_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]]??[],_0x1aa9e7[_0x5c215b[_0x1b8772(0x111)]][_0x1b8772(0x36c)](_0x4e1cc3)),_0x1aa9e7;},{});}[_0x5b4d61(0x12b)](_0x5ae50d,_0x17cc47){const _0xb327f4=_0x5b4d61;if(_0x17cc47[_0xb327f4(0x4bb)]!=='cell')return null;if(_0x17cc47[_0xb327f4(0x4d6)]!=null&&_0x17cc47[_0xb327f4(0x44b)]!=null)return{'row':_0x17cc47['row'],'col':_0x17cc47['column'],'value':null};if(!_0x17cc47[_0xb327f4(0x504)]||!_0x17cc47['fieldId'])return null;let _0x474f63=this[_0xb327f4(0x42b)](_0x5ae50d,_0x17cc47[_0xb327f4(0x111)]);if(!_0x474f63)return null;let _0xa1c213=_0x201682(_0x474f63,_0x17cc47[_0xb327f4(0x504)],_0x17cc47[_0xb327f4(0x400)]);return _0xa1c213?{'row':_0xa1c213[_0xb327f4(0x4d6)],'col':_0xa1c213['col'],'value':null}:null;}[_0x5b4d61(0x408)](_0x351595){const _0x9d258d=_0x5b4d61;let _0x55c22f=this[_0x9d258d(0x1ee)][_0x9d258d(0x259)](_0x351595,_0x552f17[_0x9d258d(0x349)]['UNIVER_BASE']);return Object[_0x9d258d(0x4d1)]((_0x55c22f==null?void 0x0:_0x55c22f[_0x9d258d(0x157)]()[_0x9d258d(0x1e1)])??{})[_0x9d258d(0x3ab)](_0x10c8fe=>_0x10c8fe['id']);}[_0x5b4d61(0x39d)](){const _0x5102f4=_0x5b4d61;let _0x23f616=this[_0x5102f4(0x1ee)][_0x5102f4(0x3f6)](_0x552f17[_0x5102f4(0x349)]['UNIVER_BASE'])[_0x5102f4(0x3ab)](_0x3d251c=>_0x493bd0(_0x3d251c[_0x5102f4(0x2e7)](),Object[_0x5102f4(0x1bd)](_0x3d251c[_0x5102f4(0x157)]()['tables'])));return Object[_0x5102f4(0x446)]({},..._0x23f616);}};_0x41791a=_0x3a99e3([_0x8293b1(0x0,_0x216287[_0x5b4d61(0x3ed)]),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0x372)])],_0x41791a);let _0x1453a9=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(_0x55444e,_0x5e27f8,_0x428a92,_0x173a35){const _0x3ece76=_0x5b4d61;super(),this[_0x3ece76(0x277)]=_0x55444e,this[_0x3ece76(0x1ee)]=_0x5e27f8,this[_0x3ece76(0x2cc)]=_0x428a92,this['_formulaCalculationSessionService']=_0x173a35,_0x53a461(this,_0x3ece76(0x12e),new _0x328073()),_0x53a461(this,_0x3ece76(0x23a),new Map()),_0x53a461(this,_0x3ece76(0x16c),new Set()),_0x53a461(this,_0x3ece76(0x3c9),Promise[_0x3ece76(0x10c)]()),_0x53a461(this,_0x3ece76(0x534),!0x1),this['_initialize']();}[_0x5b4d61(0x129)](){const _0x506b55=_0x5b4d61;this[_0x506b55(0x1ee)][_0x506b55(0x3f6)](_0x552f17[_0x506b55(0x349)][_0x506b55(0x1e2)])[_0x506b55(0x116)](_0x39de28=>{const _0xb6f26b=_0x506b55;this[_0xb6f26b(0x530)](_0x39de28);}),this[_0x506b55(0x313)](this[_0x506b55(0x1ee)]['getTypeOfUnitAdded$'](_0x552f17[_0x506b55(0x349)][_0x506b55(0x1e2)])['subscribe'](({unit:_0x326571})=>{const _0x2c2ee7=_0x506b55;this[_0x2c2ee7(0x530)](_0x326571);})),this[_0x506b55(0x313)](this[_0x506b55(0x1ee)]['getTypeOfUnitDisposed$'](_0x552f17[_0x506b55(0x349)]['UNIVER_BASE'])[_0x506b55(0x189)](_0x5b68cb=>{const _0x15549b=_0x506b55;this[_0x15549b(0x51f)](()=>this[_0x15549b(0x278)](_0x5b68cb['getUnitId']()));})),this['disposeWithMe'](this[_0x506b55(0x277)][_0x506b55(0x180)](_0x291abb=>this[_0x506b55(0x4c4)](_0x291abb)));}[_0x5b4d61(0x4c4)](_0x5b5dab){const _0x5493b1=_0x5b4d61;if(_0x5b5dab['id']===_0x216287[_0x5493b1(0x45d)]['id']){_0x49f8b5(_0x5b5dab[_0x5493b1(0x48c)])&&this['_applyFormulaResult'](_0x5b5dab['params']);return;}if(this[_0x5493b1(0x534)]||_0x5b5dab['id']!==_0x489c96['id'])return;let _0x23be80=_0x194367(_0x5b5dab[_0x5493b1(0x48c)])?_0x5b5dab[_0x5493b1(0x48c)]:void 0x0,_0x1b4a16=_0x23be80!=null&&_0x23be80['unitId']?[this[_0x5493b1(0x1ee)][_0x5493b1(0x259)](_0x23be80[_0x5493b1(0x36f)],_0x552f17[_0x5493b1(0x349)][_0x5493b1(0x1e2)])][_0x5493b1(0x30a)](_0xe18500=>!!_0xe18500):this[_0x5493b1(0x1ee)][_0x5493b1(0x3f6)](_0x552f17[_0x5493b1(0x349)][_0x5493b1(0x1e2)]),_0x2bb132=_0x23be80==null?void 0x0:_0x23be80['op'];_0x1b4a16[_0x5493b1(0x116)](_0x47c1ee=>{const _0x1853e7=_0x5493b1;let _0x1c1f5a=_0x2bb132?_0x5b879f(_0x2bb132):[];(!_0x2bb132||_0x1c1f5a[_0x1853e7(0x166)](_0x1236c4=>_0x1236c4[_0x1853e7(0x4bb)]!==_0x1853e7(0x164)))&&this[_0x1853e7(0x530)](_0x47c1ee);});}[_0x5b4d61(0x530)](_0x16e831){const _0x162905=_0x5b4d61;let _0x169cfe=_0x16e831[_0x162905(0x2e7)]();this[_0x162905(0x16c)][_0x162905(0x1d8)](_0x169cfe)||(this['_scheduledSuperTableSyncs']['add'](_0x169cfe),this[_0x162905(0x51f)](async()=>{const _0x52f0bf=_0x162905;this[_0x52f0bf(0x16c)]['delete'](_0x169cfe),await this[_0x52f0bf(0x280)](_0x16e831);}));}async['_syncSuperTables'](_0x3f86bd){const _0x5a5c02=_0x5b4d61;let _0x3c667d=_0x3f86bd[_0x5a5c02(0x2e7)](),_0x4ffb89=this[_0x5a5c02(0x12e)][_0x5a5c02(0x4fe)](_0x3f86bd[_0x5a5c02(0x157)]()),_0x39f02a=new Set(_0x4ffb89[_0x5a5c02(0x3ab)](({tableName:_0x3b05b8})=>_0x3b05b8)),_0xea7a0a=this[_0x5a5c02(0x23a)][_0x5a5c02(0x3a4)](_0x3c667d)??new Set();for(let _0x3fa43a of _0xea7a0a)if(!_0x39f02a['has'](_0x3fa43a)&&!await this['_executeSuperTableMutationWhileActive'](_0x216287[_0x5a5c02(0x422)]['id'],{'unitId':_0x3c667d,'tableName':_0x3fa43a}))return;for(let {tableName:_0x5ad29c,reference:_0x4d2d2f}of _0x4ffb89)if(!await this[_0x5a5c02(0x1e3)](_0x216287[_0x5a5c02(0x42f)]['id'],{'unitId':_0x3c667d,'tableName':_0x5ad29c,'reference':_0x4d2d2f}))return;this[_0x5a5c02(0x23a)]['set'](_0x3c667d,_0x39f02a);}async[_0x5b4d61(0x278)](_0x2f4b5d){const _0x1c1c62=_0x5b4d61;let _0xaba37e=this[_0x1c1c62(0x23a)][_0x1c1c62(0x3a4)](_0x2f4b5d)??new Set();for(let _0x552716 of _0xaba37e)if(!await this['_executeSuperTableMutationWhileActive'](_0x216287[_0x1c1c62(0x422)]['id'],{'unitId':_0x2f4b5d,'tableName':_0x552716}))return;this[_0x1c1c62(0x23a)]['delete'](_0x2f4b5d);}async['_executeSuperTableMutationWhileActive'](_0x4eaedf,_0x4c509c){const _0x31241e=_0x5b4d61;return!this[_0x31241e(0x115)]&&await this[_0x31241e(0x277)][_0x31241e(0x44a)](_0x4eaedf,_0x4c509c,{'onlyLocal':!0x0})&&!this['_disposed'];}[_0x5b4d61(0x51f)](_0x2cc8b4){const _0x16ccbd=_0x5b4d61;this[_0x16ccbd(0x3c9)]=this[_0x16ccbd(0x3c9)][_0x16ccbd(0x312)](_0x2cc8b4,_0x2cc8b4)['catch'](()=>void 0x0);}[_0x5b4d61(0x3ee)](_0x331c25){const _0x4cd1ea=_0x5b4d61;let _0x42ce61=this[_0x4cd1ea(0x1ee)][_0x4cd1ea(0x3f6)](_0x552f17[_0x4cd1ea(0x349)][_0x4cd1ea(0x1e2)]);if(!_0x42ce61[_0x4cd1ea(0x166)](_0xa41ee2=>{const _0x240b9d=_0x4cd1ea;var _0x2bcca6;return((_0x2bcca6=_0x331c25[_0x240b9d(0x32a)])==null?void 0x0:_0x2bcca6[_0xa41ee2[_0x240b9d(0x2e7)]()])!=null;}))return;let _0x1b90f8=_0x42ce61[_0x4cd1ea(0x4a0)](_0x48692b=>_0x2b2cc4(_0x48692b[_0x4cd1ea(0x157)](),_0x331c25));if(!_0x1b90f8[_0x4cd1ea(0x46a)]){this[_0x4cd1ea(0x227)]['markResultApplied'](_0x5acaf7[_0x4cd1ea(0xfd)][_0x4cd1ea(0x1a9)],_0x331c25);return;}let _0x3cc590=new _0x1b9aeb(),_0x149f4c=_0x1b90f8[_0x4cd1ea(0x4a0)](_0x2617cb=>_0x47c237({'unitId':_0x2617cb[_0x4cd1ea(0x36f)],'tableId':_0x2617cb[_0x4cd1ea(0x111)],'patches':_0x2617cb['patches']}));this[_0x4cd1ea(0x534)]=!0x0,(async()=>{const _0x5c8a6c=_0x4cd1ea;for(let _0x46090f of _0x1b90f8){let _0x2ea76d=this[_0x5c8a6c(0x1ee)]['getUnit'](_0x46090f[_0x5c8a6c(0x36f)],_0x552f17[_0x5c8a6c(0x349)][_0x5c8a6c(0x1e2)]);_0x2ea76d&&await this[_0x5c8a6c(0x277)][_0x5c8a6c(0x44a)](_0x489c96['id'],{'unitId':_0x46090f['unitId'],'op':_0x3cc590[_0x5c8a6c(0x20c)](_0x2ea76d[_0x5c8a6c(0x157)](),_0x46090f[_0x5c8a6c(0x111)],_0x46090f['patches']),'trigger':_0x216287[_0x5c8a6c(0x45d)]['id']},{'onlyLocal':!0x0});}await this[_0x5c8a6c(0x277)][_0x5c8a6c(0x44a)](_0x216287[_0x5c8a6c(0x41e)]['id'],{'dirtyRanges':_0x149f4c},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x45829c=_0x4cd1ea;this[_0x45829c(0x534)]=!0x1,this['_formulaCalculationSessionService'][_0x45829c(0x41d)](_0x5acaf7['FormulaResultApplicationType']['BASE'],_0x331c25);});}};_0x1453a9=_0x3a99e3([_0x8293b1(0x0,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0x372)]),_0x8293b1(0x2,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x216287[_0x5b4d61(0x101)])),_0x8293b1(0x3,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x5acaf7[_0x5b4d61(0x36d)]))],_0x1453a9);function _0x194367(_0xdbda7e){const _0xec080e=_0x5b4d61;return typeof _0xdbda7e==_0xec080e(0x434)&&!!_0xdbda7e&&_0xec080e(0x36f)in _0xdbda7e&&typeof _0xdbda7e[_0xec080e(0x36f)]=='string'&&'op'in _0xdbda7e&&Array[_0xec080e(0x3bc)](_0xdbda7e['op']);}function _0x49f8b5(_0x21c896){const _0x321cf6=_0x5b4d61;return typeof _0x21c896=='object'&&!!_0x21c896&&'unitData'in _0x21c896&&_0x321cf6(0x17e)in _0x21c896;}let _0x21ae0d=new Set([_0x5464be['id'],_0x534f96['id'],_0x298d7b['id']]),_0x3787e1=class extends _0x552f17['Disposable']{constructor(_0x33b411,_0x3a5e95,_0x41a87e,_0x5c5123){const _0x325c29=_0x5b4d61;super(),this['_injector']=_0x33b411,this[_0x325c29(0x277)]=_0x3a5e95,this[_0x325c29(0x289)]=_0x41a87e,this['_instanceService']=_0x5c5123,this[_0x325c29(0x47f)][_0x325c29(0x3f6)](_0x552f17[_0x325c29(0x349)]['UNIVER_BASE'])[_0x325c29(0x116)](_0x38ec8b=>this[_0x325c29(0x497)](_0x38ec8b[_0x325c29(0x2e7)]())),this[_0x325c29(0x313)](this['_instanceService'][_0x325c29(0x210)](_0x552f17[_0x325c29(0x349)][_0x325c29(0x1e2)])['subscribe'](({unit:_0x249ed4})=>this['_registerUnitPermissionPoints'](_0x249ed4[_0x325c29(0x2e7)]()))),this['disposeWithMe'](this[_0x325c29(0x277)][_0x325c29(0x279)]((_0x2108dc,_0xe4de07)=>this[_0x325c29(0x37a)](_0x2108dc,_0xe4de07))),this[_0x325c29(0x313)](this[_0x325c29(0x47f)]['getTypeOfUnitDisposed$'](_0x552f17['UniverInstanceType'][_0x325c29(0x1e2)])[_0x325c29(0x189)](_0x2933d7=>{const _0x2f7fac=_0x325c29;this['_injector'][_0x2f7fac(0x3a4)](_0x552f17[_0x2f7fac(0x1cf)])[_0x2f7fac(0x29d)](_0x2933d7[_0x2f7fac(0x2e7)]()),_0x333239(this['_permissionService'],_0x2933d7[_0x2f7fac(0x2e7)]());}));}['_registerUnitPermissionPoints'](_0x554542){const _0xacf83a=_0x5b4d61;_0x5a9423['forEach'](_0x187b70=>{const _0x28b584=_0x152e;let _0x55e304=_0x23ad78(_0x554542,_0x554542,_0x187b70);this[_0x28b584(0x289)][_0x28b584(0x217)](_0x55e304['id'])||this[_0x28b584(0x289)][_0x28b584(0x3e2)](_0x55e304);}),this[_0xacf83a(0x358)][_0xacf83a(0x3a4)](_0x552f17['ObjectPermissionService'])[_0xacf83a(0x34e)]({'unitId':_0x554542,'objectId':_0x554542,'objectType':_0x4b2dcb[_0xacf83a(0x2af)][_0xacf83a(0x3c6)]});}['_check'](_0x461b48,_0x527a5a){const _0x4c053a=_0x5b4d61;var _0x56155a;if(_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x4c0)]||_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x3dd)])return;let _0x151635=_0x2b69b6(_0x461b48[_0x4c053a(0x48c)])?_0x461b48['params']:void 0x0;if(_0x527a5a!=null&&_0x527a5a[_0x4c053a(0x421)]&&_0x461b48['id']===_0x4c053a(0x3d6)&&(_0x151635==null?void 0x0:_0x151635[_0x4c053a(0x43f)])===_0x216287[_0x4c053a(0x45d)]['id'])return;let _0xdca053=_0x4e4ea0(_0x461b48['id']),_0x1596d4=_0x1ac4bf(_0x151635==null?void 0x0:_0x151635[_0x4c053a(0x36f)],_0x527a5a)??(_0xdca053?(_0x56155a=this['_instanceService'][_0x4c053a(0x490)](_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)]))==null?void 0x0:_0x56155a[_0x4c053a(0x2e7)]():void 0x0);if(!_0x1596d4||this[_0x4c053a(0x47f)]['getUnitType'](_0x1596d4)!==_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)])return;if(_0xdca053){if(!_0x25ff75(this[_0x4c053a(0x289)],_0x1596d4,_0x1596d4,_0xdca053))throw this['_injector']['get'](_0x552f17[_0x4c053a(0x526)])[_0x4c053a(0x3a2)](_0x1596d4),new _0x552f17[(_0x4c053a(0x1f3))](_0x4c053a(0x49c)+_0x4b2dcb['UnitAction'][_0xdca053]+_0x4c053a(0x432));return;}if(_0x21ae0d[_0x4c053a(0x1d8)](_0x461b48['id'])||!_0x461b48['id'][_0x4c053a(0x10a)](_0x4c053a(0x46e))&&!_0x461b48['id'][_0x4c053a(0x10a)](_0x4c053a(0x204)))return;let _0x48bc1c=this[_0x4c053a(0x47f)][_0x4c053a(0x259)](_0x1596d4,_0x552f17[_0x4c053a(0x349)][_0x4c053a(0x1e2)]),_0x12acda=_0x48bc1c?_0x2c6009(_0x48bc1c,_0x151635??{},_0x461b48['id']):[];if(!_0x48bc1c||!_0x2bb373(this[_0x4c053a(0x289)],_0x1596d4,_0x12acda))throw this[_0x4c053a(0x358)][_0x4c053a(0x3a4)](_0x552f17[_0x4c053a(0x526)])['emitPermissionDenied'](_0x1596d4,_0x12acda),new _0x552f17[(_0x4c053a(0x1f3))](_0x4c053a(0x2b2));}};_0x3787e1=_0x3a99e3([_0x8293b1(0x0,(0x0,_0x552f17['Inject'])(_0x552f17[_0x5b4d61(0x491)])),_0x8293b1(0x1,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x2,_0x552f17[_0x5b4d61(0x267)]),_0x8293b1(0x3,_0x552f17['IUniverInstanceService'])],_0x3787e1);function _0x1ac4bf(_0x506270,_0x293bef){const _0x5202be=_0x5b4d61;return typeof _0x506270==_0x5202be(0x525)?_0x506270:typeof(_0x293bef==null?void 0x0:_0x293bef[_0x5202be(0x36f)])=='string'?_0x293bef[_0x5202be(0x36f)]:void 0x0;}function _0x4e4ea0(_0x37540c){const _0x108509=_0x5b4d61;if(_0x37540c===_0x108509(0x4c8)||_0x37540c==='bases-exchange-client.operation.export-base-by-format')return _0x4b2dcb[_0x108509(0x370)]['Export'];if(_0x37540c[_0x108509(0x10a)]('thread-comment.command.')||_0x37540c[_0x108509(0x10a)]('thread-comment.mutation.'))return _0x4b2dcb[_0x108509(0x370)][_0x108509(0x419)];}function _0x2c6009(_0xf4da6,_0x522755,_0x2f959c){const _0x28d30b=_0x5b4d61;if(_0x2f959c===_0x28d30b(0x3d6)&&_0x1435b0(_0x522755['op']))return _0x19b978(_0xf4da6,_0x522755['op']);let _0xb09c80=new Set(),_0xec9820=_0xecac12(_0x522755,_0x28d30b(0x481)),_0x1d24ff=typeof _0x522755[_0x28d30b(0x111)]==_0x28d30b(0x525)?_0x522755['tableId']:_0xec9820[0x0];if(_0xec9820['forEach'](_0x35a049=>_0xb09c80[_0x28d30b(0x112)](_0x4da25b(_0x35a049))),!_0x1d24ff)return[..._0xb09c80];let _0x19b033=_0xf4da6[_0x28d30b(0x157)]()[_0x28d30b(0x1e1)][_0x1d24ff],_0x507e3a=new Set(_0xecac12(_0x522755,'field')),_0x2fbda9=new Set(_0xecac12(_0x522755,_0x28d30b(0x54f))),_0x29b4a8=new Set(_0xecac12(_0x522755,_0x28d30b(0x391)));return _0x5a5cb8(_0x19b033,_0x522755[_0x28d30b(0x3cc)],_0x2fbda9,_0x507e3a),_0x1691ad(_0x522755,_0x507e3a),_0x507e3a['forEach'](_0x3af3aa=>_0xb09c80[_0x28d30b(0x112)](_0x33eab9(_0x1d24ff,_0x3af3aa))),_0x2fbda9['forEach'](_0x173783=>_0xb09c80[_0x28d30b(0x112)](_0x398605(_0x1d24ff,_0x173783))),_0x29b4a8[_0x28d30b(0x116)](_0x1e1dd6=>_0xb09c80['add'](_0x4dab58(_0x1d24ff,_0x1e1dd6))),[..._0xb09c80];}function _0x19b978(_0x1650f1,_0xa932cf){const _0xf03071=_0x5b4d61;let _0x379fbb=_0x1650f1['getSnapshot'](),_0x2a0b7=new _0x600fcd()[_0xf03071(0x529)](_0xa932cf),_0x21767b=_0x44e193(_0xa932cf),_0x2c591b=new Set();return _0x2a0b7['forEach'](_0x289b4d=>{const _0x20af59=_0xf03071;var _0x2778fc,_0x3cc51f;let {tableId:_0x444cc7}=_0x289b4d;if(!_0x444cc7)return;_0x2c591b[_0x20af59(0x112)](_0x4da25b(_0x444cc7));let _0x3140f5=_0x379fbb[_0x20af59(0x1e1)][_0x444cc7],_0x561c75=_0x289b4d[_0x20af59(0x504)]??(_0x289b4d[_0x20af59(0x4d6)]==null||_0x3140f5==null||(_0x2778fc=_0x3140f5['rowId'])==null?void 0x0:_0x2778fc[_0x289b4d[_0x20af59(0x4d6)]]),_0x533850=_0x289b4d['fieldId']??(_0x289b4d[_0x20af59(0x44b)]==null||_0x3140f5==null||(_0x3cc51f=_0x3140f5[_0x20af59(0x43a)])==null?void 0x0:_0x3cc51f[_0x289b4d['column']]);_0x561c75&&_0x2c591b[_0x20af59(0x112)](_0x398605(_0x444cc7,_0x561c75)),_0x533850&&_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x533850)),_0x289b4d[_0x20af59(0x1b8)]&&_0x2c591b[_0x20af59(0x112)](_0x4dab58(_0x444cc7,_0x289b4d[_0x20af59(0x1b8)])),(_0x289b4d[_0x20af59(0x4bb)]===_0x20af59(0x481)||_0x21767b[_0x20af59(0x1d8)](_0x444cc7))&&_0x3140f5&&(Object[_0x20af59(0x1bd)](_0x3140f5['fields'])[_0x20af59(0x116)](_0x437b49=>_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x437b49))),Object[_0x20af59(0x1bd)](_0x3140f5[_0x20af59(0x29e)])[_0x20af59(0x116)](_0x3b0139=>_0x2c591b['add'](_0x398605(_0x444cc7,_0x3b0139))),Object[_0x20af59(0x1bd)](_0x3140f5['views'])[_0x20af59(0x116)](_0xad9b3=>_0x2c591b[_0x20af59(0x112)](_0x4dab58(_0x444cc7,_0xad9b3)))),_0x289b4d[_0x20af59(0x4bb)]===_0x20af59(0x54f)&&_0x3140f5&&Object[_0x20af59(0x1bd)](_0x3140f5[_0x20af59(0x3ec)])[_0x20af59(0x116)](_0x5b7baa=>_0x2c591b[_0x20af59(0x112)](_0x33eab9(_0x444cc7,_0x5b7baa)));}),_0x2a0b7[_0xf03071(0x46a)]===0x0&&_0x2744ef(_0xa932cf,'tableOrder')&&Object[_0xf03071(0x1bd)](_0x379fbb[_0xf03071(0x1e1)])[_0xf03071(0x116)](_0x2a69ca=>_0x2c591b[_0xf03071(0x112)](_0x4da25b(_0x2a69ca))),[..._0x2c591b];}function _0x44e193(_0x139a3b){let _0x23e7ee=new Set(),_0x30c4b6=_0x26940b=>{Array['isArray'](_0x26940b)&&_0x26940b['forEach']((_0x1ed67c,_0x5d7aaa)=>{const _0x4b44f3=_0x152e;_0x1ed67c===_0x4b44f3(0x1e1)&&typeof _0x26940b[_0x5d7aaa+0x1]==_0x4b44f3(0x525)&&_0x3c5b41(_0x26940b[_0x5d7aaa+0x2])&&_0x23e7ee[_0x4b44f3(0x112)](_0x26940b[_0x5d7aaa+0x1]),_0x30c4b6(_0x1ed67c);});};return _0x30c4b6(_0x139a3b),_0x23e7ee;}function _0x3c5b41(_0x205f9c){const _0x4edbb7=_0x5b4d61;return!!_0x205f9c&&typeof _0x205f9c==_0x4edbb7(0x434)&&!Array[_0x4edbb7(0x3bc)](_0x205f9c)&&('i'in _0x205f9c||'r'in _0x205f9c||'p'in _0x205f9c||'d'in _0x205f9c||'es'in _0x205f9c||'ena'in _0x205f9c||'et'in _0x205f9c);}function _0x2744ef(_0x463bd3,_0x581076){const _0xa041f=_0x5b4d61;return Array[_0xa041f(0x3bc)](_0x463bd3)&&_0x463bd3['some'](_0xddb4f7=>_0xddb4f7===_0x581076||_0x2744ef(_0xddb4f7,_0x581076));}function _0xecac12(_0x413434,_0x43ad95){const _0x2da2c1=_0x5b4d61;let _0x16f401=new Set(),_0x213eeb=_0x43ad95+'Id',_0x36c4e2=_0x43ad95+_0x2da2c1(0x16b),_0x43958a=(_0x1e58e8,_0x328aa4='')=>{const _0x32525d=_0x2da2c1;typeof _0x1e58e8=='string'?_0x328aa4===_0x213eeb&&_0x16f401['add'](_0x1e58e8):Array[_0x32525d(0x3bc)](_0x1e58e8)?_0x328aa4===_0x36c4e2?_0x1e58e8[_0x32525d(0x116)](_0xaa3321=>{const _0x46e31d=_0x32525d;typeof _0xaa3321==_0x46e31d(0x525)&&_0x16f401[_0x46e31d(0x112)](_0xaa3321);}):_0x1e58e8[_0x32525d(0x116)](_0x3278de=>_0x43958a(_0x3278de,_0x328aa4)):_0x2b69b6(_0x1e58e8)&&Object[_0x32525d(0x21f)](_0x1e58e8)[_0x32525d(0x116)](([_0x56904f,_0xdee4b3])=>{const _0x19fdfd=_0x32525d;_0x56904f==='id'&&_0x328aa4===_0x43ad95&&typeof _0xdee4b3==_0x19fdfd(0x525)?_0x16f401[_0x19fdfd(0x112)](_0xdee4b3):_0x43958a(_0xdee4b3,_0x56904f);});};return _0x43958a(_0x413434),[..._0x16f401];}function _0x5a5cb8(_0x377175,_0x2435a3,_0x188f42,_0x29a658){const _0x114306=_0x5b4d61;_0x377175&&Array['isArray'](_0x2435a3)&&_0x2435a3[_0x114306(0x116)](_0x378b3d=>{const _0x581304=_0x114306;if(!_0x2b69b6(_0x378b3d))return;let _0x2b4064=_0x378b3d;if(typeof _0x2b4064[_0x581304(0x4d6)]=='number'){var _0x3f7ab7;let _0x5ea835=(_0x3f7ab7=_0x377175[_0x581304(0x219)])==null?void 0x0:_0x3f7ab7[_0x2b4064[_0x581304(0x4d6)]];_0x5ea835&&_0x188f42['add'](_0x5ea835);}if(typeof _0x2b4064[_0x581304(0x1a1)]==_0x581304(0x544)){var _0xb7c456;let _0x2f0797=(_0xb7c456=_0x377175[_0x581304(0x43a)])==null?void 0x0:_0xb7c456[_0x2b4064[_0x581304(0x1a1)]];_0x2f0797&&_0x29a658[_0x581304(0x112)](_0x2f0797);}});}function _0x1691ad(_0x20a48e,_0x2f4262,_0x25bed6=''){const _0x4f7d9c=_0x5b4d61;_0x20a48e&&typeof _0x20a48e==_0x4f7d9c(0x434)&&(Array[_0x4f7d9c(0x3bc)](_0x20a48e)?_0x20a48e['forEach'](_0x4762dd=>_0x1691ad(_0x4762dd,_0x2f4262,_0x25bed6)):_0x2b69b6(_0x20a48e)&&Object['entries'](_0x20a48e)[_0x4f7d9c(0x116)](([_0xd61a12,_0x1ecaa0])=>{const _0x46ab37=_0x4f7d9c;_0x25bed6===_0x46ab37(0x4d1)&&_0x2f4262[_0x46ab37(0x112)](_0xd61a12),_0x1691ad(_0x1ecaa0,_0x2f4262,_0xd61a12);}));}function _0x1435b0(_0x230fdd){const _0x20a16f=_0x5b4d61;return Array[_0x20a16f(0x3bc)](_0x230fdd);}function _0x2b69b6(_0x3da0c3){const _0xfb34d1=_0x5b4d61;return typeof _0x3da0c3==_0xfb34d1(0x434)&&!!_0x3da0c3&&!Array['isArray'](_0x3da0c3);}let _0x17f4c1=(0x0,_0x552f17[_0x5b4d61(0x31d)])(_0x5b4d61(0x512)),_0x52adae=class{constructor(_0xfd4e53){const _0x4805d7=_0x5b4d61;this[_0x4805d7(0x1ee)]=_0xfd4e53;}[_0x5b4d61(0x440)](_0x339f00){const _0x54d736=_0x5b4d61;return this[_0x54d736(0x1ee)]['getUnit'](_0x339f00,_0x552f17[_0x54d736(0x349)][_0x54d736(0x1e2)])??null;}[_0x5b4d61(0x2bc)](){const _0x454134=_0x5b4d61;return this[_0x454134(0x1ee)][_0x454134(0x3f6)](_0x552f17[_0x454134(0x349)]['UNIVER_BASE']);}[_0x5b4d61(0x4cc)](_0xb550aa){const _0x2015b2=_0x5b4d61;return this[_0x2015b2(0x1ee)][_0x2015b2(0x4c5)](_0x552f17[_0x2015b2(0x349)][_0x2015b2(0x1e2)],_0xb550aa);}};_0x52adae=_0x3a99e3([_0x8293b1(0x0,_0x552f17[_0x5b4d61(0x372)])],_0x52adae);let _0x12ce77=(0x0,_0x552f17['createIdentifier'])(_0x5b4d61(0x3bf));var _0x2c3340=class extends _0x552f17[_0x5b4d61(0x376)]{constructor(..._0x1b0b74){const _0x48851a=_0x5b4d61;super(..._0x1b0b74),_0x53a461(this,_0x48851a(0x1b3),new Map());}[_0x5b4d61(0x30f)](_0x56aa84){const _0x38b73d=_0x5b4d61;return this[_0x38b73d(0x1b3)][_0x38b73d(0x3e9)](_0x56aa84['type'],_0x56aa84),(0x0,_0x552f17[_0x38b73d(0x404)])(()=>this[_0x38b73d(0x1b3)][_0x38b73d(0x1d6)](_0x56aa84[_0x38b73d(0x4cd)]));}['get'](_0x5a3a32){const _0x4fb1d8=_0x5b4d61;let _0x4d4872=this[_0x4fb1d8(0x1b3)][_0x4fb1d8(0x3a4)](_0x5a3a32);if(!_0x4d4872)throw Error(_0x4fb1d8(0x2c6)+_0x5a3a32+_0x4fb1d8(0x29c));return _0x4d4872;}[_0x5b4d61(0x2e6)](){const _0x5fc7d4=_0x5b4d61;return Array['from'](this[_0x5fc7d4(0x1b3)]['values']());}};let _0x231e83=[_0x489c96],_0x430814=class extends _0x552f17[_0x5b4d61(0x4de)]{constructor(_0x337362=_0x36f683,_0x448a8f,_0x30cb2a,_0x1c6bf5,_0x565fb8,_0x4ce454){const _0x2cd1b3=_0x5b4d61;super(),this[_0x2cd1b3(0x52d)]=_0x337362,this[_0x2cd1b3(0x358)]=_0x448a8f,this[_0x2cd1b3(0x277)]=_0x30cb2a,this['_univerInstanceService']=_0x1c6bf5,this[_0x2cd1b3(0x476)]=_0x565fb8,this['_dataSyncPrimaryController']=_0x4ce454,_0x53a461(this,_0x2cd1b3(0x23b),new Map());let {..._0x5e2f7e}=(0x0,_0x552f17['merge'])({},_0x36f683,this[_0x2cd1b3(0x52d)]);this[_0x2cd1b3(0x476)][_0x2cd1b3(0x524)]('bases.config',_0x5e2f7e),this[_0x2cd1b3(0x1ee)][_0x2cd1b3(0x1c8)](_0x552f17[_0x2cd1b3(0x349)][_0x2cd1b3(0x1e2)],_0x552f17[_0x2cd1b3(0x2ad)]),this[_0x2cd1b3(0x18f)](),this[_0x2cd1b3(0x2e3)](),this[_0x2cd1b3(0x531)](),this['_initDataSync']();}[_0x5b4d61(0x3c5)](){const _0x22741e=_0x5b4d61;this[_0x22741e(0x358)][_0x22741e(0x112)]([_0x333b91]),this[_0x22741e(0x313)](this[_0x22741e(0x358)][_0x22741e(0x3a4)](_0x552f17['ICommandService'])[_0x22741e(0x3fd)](_0x5f4b86)),this[_0x22741e(0x313)](this[_0x22741e(0x358)]['get'](_0x552f17['ICommandService'])[_0x22741e(0x3fd)](_0x2ded08)),this[_0x22741e(0x313)](this[_0x22741e(0x358)][_0x22741e(0x3a4)](_0x552f17[_0x22741e(0x1cf)])[_0x22741e(0x1af)](_0x4b2dcb[_0x22741e(0x2af)][_0x22741e(0x3c6)],this['_injector']['get'](_0x333b91),_0x5f4b86['id'],_0x2ded08['id']));}['onReady'](){const _0x13977f=_0x5b4d61;(0x0,_0x552f17['touchDependencies'])(this['_injector'],[[_0x52adae],[_0x4c7d31],[_0x41791a]]),this[_0x13977f(0x1ee)][_0x13977f(0x3f6)](_0x552f17[_0x13977f(0x349)]['UNIVER_BASE'])[_0x13977f(0x116)](_0x3a451e=>this[_0x13977f(0x30d)](_0x3a451e[_0x13977f(0x2e7)]())),(0x0,_0x552f17[_0x13977f(0x149)])(this[_0x13977f(0x358)],[[_0x1453a9],[_0x3787e1]]);}[_0x5b4d61(0x18f)](){const _0x4dddc8=_0x5b4d61;[[_0x430fbe,{'useClass':_0x3b8919}],[_0x12ce77,{'useClass':_0x2c3340}],[_0x1b33ef,{'useClass':_0x57d072}],[_0x17f4c1,{'useClass':_0x52adae}],[_0x4c31db,{'useClass':_0x142ec6}],[_0x18f07e,{'useClass':_0x4c7d31}],[_0x41791a],[_0x1453a9],[_0x3787e1]]['forEach'](_0x3c3843=>this[_0x4dddc8(0x358)][_0x4dddc8(0x112)](_0x3c3843));}[_0x5b4d61(0x2e3)](){const _0x26e648=_0x5b4d61;[_0x199eaa,_0x49859c,_0x35f587,_0x9a81a0,_0x3e56e0,_0x371b2c,_0x32d850,_0x332954,_0x5ebfe6,_0x4d533a,_0x3cbb7e,_0x240407,_0x19160d,_0x7e3104,_0x34c3a3,_0x29df55,_0x3d4519,_0x467366,_0x279481,_0x3df95a,_0x15a40a,_0x298d7b,_0x578650,_0xc444b,_0x3a83f1,_0x295ff9,_0x1970e0,_0x4231ae,_0xde1fc9,_0x4a49d7,_0x575a47,_0x5464be,_0x534f96,_0x31321d,_0xe496df,_0x51c31a,_0x2b96e5,_0x4aaa7c,_0x218b99,_0x19e91d,_0xa5c9e,..._0x231e83][_0x26e648(0x116)](_0x4da034=>this[_0x26e648(0x313)](this[_0x26e648(0x277)]['registerCommand'](_0x4da034))),_0x231e83[_0x26e648(0x116)](_0x4d781f=>{const _0x231392=_0x26e648;var _0x4fb091;return(_0x4fb091=this[_0x231392(0x263)])==null?void 0x0:_0x4fb091[_0x231392(0x25c)](_0x4d781f);});}['_initDataSync'](){const _0x32ecc2=_0x5b4d61;this[_0x32ecc2(0x263)]&&(this[_0x32ecc2(0x313)](this[_0x32ecc2(0x1ee)]['getTypeOfUnitAdded$'](_0x552f17[_0x32ecc2(0x349)][_0x32ecc2(0x1e2)])['subscribe'](({unit:_0x36d4f9})=>{const _0x29e3c6=_0x32ecc2;this[_0x29e3c6(0x30d)](_0x36d4f9[_0x29e3c6(0x2e7)]());})),this[_0x32ecc2(0x313)](this[_0x32ecc2(0x1ee)][_0x32ecc2(0x241)](_0x552f17[_0x32ecc2(0x349)][_0x32ecc2(0x1e2)])['subscribe'](_0x4b501c=>{const _0x4e5eba=_0x32ecc2;var _0x1c5e2b;(_0x1c5e2b=this[_0x4e5eba(0x23b)]['get'](_0x4b501c[_0x4e5eba(0x2e7)]()))==null||_0x1c5e2b[_0x4e5eba(0x1ad)](),this[_0x4e5eba(0x23b)][_0x4e5eba(0x1d6)](_0x4b501c['getUnitId']());})));}[_0x5b4d61(0x30d)](_0x11d23c){const _0x3b5307=_0x5b4d61;this[_0x3b5307(0x263)]&&!this['_baseSyncDisposables'][_0x3b5307(0x1d8)](_0x11d23c)&&this[_0x3b5307(0x23b)][_0x3b5307(0x3e9)](_0x11d23c,this[_0x3b5307(0x263)][_0x3b5307(0x3b2)](_0x11d23c));}[_0x5b4d61(0x531)](){const _0x41ef68=_0x5b4d61;let _0x56e5c0=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x430fbe);_0x544ef0()['forEach'](_0x5dcad4=>_0x56e5c0[_0x41ef68(0x30f)](_0x5dcad4));let _0x5f4dd6=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x12ce77),_0x2fb188=this[_0x41ef68(0x358)][_0x41ef68(0x3a4)](_0x1b33ef);_0x5697af()[_0x41ef68(0x116)](_0xaa9995=>{const _0x1dfb23=_0x41ef68;_0x5f4dd6[_0x1dfb23(0x30f)](_0xaa9995),_0x2fb188[_0x1dfb23(0x444)](_0xaa9995);});}};_0x53a461(_0x430814,_0x5b4d61(0x39f),_0x5b4d61(0x45c)),_0x53a461(_0x430814,_0x5b4d61(0x49a),_0x470515),_0x53a461(_0x430814,_0x5b4d61(0x2e4),_0x359982),_0x53a461(_0x430814,_0x5b4d61(0x4cd),_0x552f17[_0x5b4d61(0x349)][_0x5b4d61(0x1e2)]),_0x430814=_0x3a99e3([(0x0,_0x552f17[_0x5b4d61(0x10e)])(_0x58c916[_0x5b4d61(0x2f7)],_0x216287['UniverProFormulaEnginePlugin']),_0x8293b1(0x1,(0x0,_0x552f17[_0x5b4d61(0x1ce)])(_0x552f17[_0x5b4d61(0x491)])),_0x8293b1(0x2,_0x552f17[_0x5b4d61(0xf5)]),_0x8293b1(0x3,_0x552f17['IUniverInstanceService']),_0x8293b1(0x4,_0x552f17[_0x5b4d61(0x37c)]),_0x8293b1(0x5,(0x0,_0x552f17['Optional'])(_0x15a674[_0x5b4d61(0x249)]))],_0x430814);function _0x210085(_0x162b48){const _0x26e8e3=_0x5b4d61;let _0x4f796b=_0x3d439f(_0x162b48['query']);if(!_0x4f796b)return{'query':'','total':0x0,'matches':[]};let _0x49e9f9=[],_0x20f212=[];for(let _0x39b0df=0x0;_0x39b0df<_0x162b48[_0x26e8e3(0x301)][_0x26e8e3(0x46a)];_0x39b0df++){if(!(_0x39b0df in _0x162b48[_0x26e8e3(0x301)]))continue;let _0x2a7c6f=_0x162b48[_0x26e8e3(0x481)][_0x26e8e3(0x3ec)][_0x162b48[_0x26e8e3(0x301)][_0x39b0df]];_0x2a7c6f&&_0x20f212[_0x26e8e3(0x36c)]({'field':_0x2a7c6f,'fieldIndex':_0x39b0df});}_0x162b48[_0x26e8e3(0x21e)][_0x26e8e3(0x116)]((_0x35eea6,_0x26191f)=>{const _0x1bd3a4=_0x26e8e3;_0x20f212[_0x1bd3a4(0x116)](({field:_0x59e307,fieldIndex:_0x45ec2c})=>{const _0x5b051e=_0x1bd3a4;let _0x267afa=_0x3829d4(_0x35eea6[_0x5b051e(0x4d1)][_0x59e307['id']],_0x59e307);if(!_0x267afa)return;let _0x39f6f9=_0x32420e(_0x4f796b,_0x267afa['searchTexts']);_0x39f6f9<=0x0||_0x49e9f9[_0x5b051e(0x36c)]({'recordId':_0x35eea6[_0x5b051e(0x504)],'fieldId':_0x59e307['id'],'fieldType':_0x59e307[_0x5b051e(0x4cd)],'text':_0x267afa['displayText'],'score':_0x39f6f9,'rowIndex':_0x26191f,'fieldIndex':_0x45ec2c});});}),_0x49e9f9['sort']((_0x57e9c8,_0x50b50d)=>_0x50b50d['score']-_0x57e9c8[_0x26e8e3(0x22a)]||_0x57e9c8['rowIndex']-_0x50b50d['rowIndex']||_0x57e9c8['fieldIndex']-_0x50b50d['fieldIndex']);let _0x1b1256=_0x162b48[_0x26e8e3(0x26a)]==null?_0x49e9f9:_0x49e9f9[_0x26e8e3(0x25d)](0x0,Math[_0x26e8e3(0x3bd)](0x0,_0x162b48['limit']));return{'query':_0x4f796b,'total':_0x49e9f9['length'],'matches':_0x5d1cee(_0x1b1256)};}function _0x3829d4(_0x103be6,_0x99a82c){const _0x48ec72=_0x5b4d61;let _0x5e5aa7=[];for(let _0x347518 of _0x2565d4(_0x103be6,_0x99a82c)){let _0x5c62a0=_0x3d439f(_0x347518);_0x5c62a0&&_0x5e5aa7['push'](_0x5c62a0);}return _0x5e5aa7[_0x48ec72(0x46a)]?{'displayText':_0x1c93d5(_0x103be6,_0x99a82c),'searchTexts':_0x407873(_0x5e5aa7)}:null;}function _0x1c93d5(_0x3d83d7,_0xbcad0f){const _0x235a8b=_0x5b4d61;switch(_0xbcad0f[_0x235a8b(0x4cd)]){case _0x552f17['BaseFieldType'][_0x235a8b(0x38b)]:case _0x552f17['BaseFieldType'][_0x235a8b(0x51a)]:case _0x552f17['BaseFieldType'][_0x235a8b(0x220)]:return _0x32d180(_0x3d83d7,_0xbcad0f)[_0x235a8b(0x53f)](',\x20');case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x3f2)]:return _0x9ad49(_0x3d83d7);case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x522)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x435)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x373)]:return _0x3eda60(_0x3d83d7,_0xbcad0f);case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x439)]:case _0x552f17[_0x235a8b(0x22d)][_0x235a8b(0x268)]:return _0x31f7df(_0x3d83d7,_0xbcad0f);case _0x552f17[_0x235a8b(0x22d)]['Progress']:return _0xba2d78(_0x3d83d7,_0xbcad0f);case _0x552f17['BaseFieldType'][_0x235a8b(0x3ad)]:return _0x3d83d7?_0x235a8b(0x518):_0x235a8b(0x235);case _0x552f17['BaseFieldType'][_0x235a8b(0x3a6)]:return _0x18945d(_0x3d83d7)[_0x235a8b(0x53f)](',\x20');default:return _0xe1a62e(_0x3d83d7);}}function _0x2565d4(_0x5096d4,_0x2c9a3c){const _0x1a2f6f=_0x5b4d61;switch(_0x2c9a3c[_0x1a2f6f(0x4cd)]){case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x38b)]:case _0x552f17[_0x1a2f6f(0x22d)]['MultiSelect']:case _0x552f17[_0x1a2f6f(0x22d)]['Group']:{let _0x1c838f=_0x32d180(_0x5096d4,_0x2c9a3c);if(Array[_0x1a2f6f(0x3bc)](_0x5096d4)){let _0x2a9f5f=[..._0x1c838f];for(let _0x2e4850=0x0;_0x2e4850<_0x5096d4[_0x1a2f6f(0x46a)];_0x2e4850++)_0x2e4850 in _0x5096d4&&_0x2a9f5f['push'](String(_0x5096d4[_0x2e4850]));return _0x2a9f5f;}return _0x5096d4==null?_0x1c838f:[..._0x1c838f,String(_0x5096d4)];}case _0x552f17['BaseFieldType'][_0x1a2f6f(0x3f2)]:{let _0x135c0a=_0x1744b4(_0x5096d4);return[_0x135c0a[_0x1a2f6f(0x398)],_0x135c0a[_0x1a2f6f(0x156)]];}case _0x552f17[_0x1a2f6f(0x22d)]['Date']:case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x435)]:case _0x552f17[_0x1a2f6f(0x22d)]['UpdatedAt']:return[_0x3eda60(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17['BaseFieldType'][_0x1a2f6f(0x439)]:case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x268)]:return[_0x31f7df(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x28f)]:return[_0xba2d78(_0x5096d4,_0x2c9a3c),_0xe1a62e(_0x5096d4)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x3ad)]:return _0x5096d4?[_0x1a2f6f(0x518),_0x1a2f6f(0x15f),_0x1a2f6f(0x146)]:[_0x1a2f6f(0x235),'No',_0x1a2f6f(0x16f)];case _0x552f17[_0x1a2f6f(0x22d)][_0x1a2f6f(0x3a6)]:return _0x18945d(_0x5096d4);default:return[_0xe1a62e(_0x5096d4)];}}function _0x32d180(_0x56ae93,_0x6715a1){const _0x23ba06=_0x5b4d61;var _0x119403;let _0x4b7e10=Array[_0x23ba06(0x3bc)]((_0x119403=_0x6715a1[_0x23ba06(0x340)])==null?void 0x0:_0x119403[_0x23ba06(0x3ef)])?_0x6715a1['config'][_0x23ba06(0x3ef)]:[],_0x1b9d4b=[];if(Array[_0x23ba06(0x3bc)](_0x56ae93)){for(let _0x4af21f=0x0;_0x4af21f<_0x56ae93['length'];_0x4af21f++){if(!(_0x4af21f in _0x56ae93))continue;let _0x5e0505=String(_0x56ae93[_0x4af21f]);_0x5e0505&&_0x1b9d4b[_0x23ba06(0x36c)](_0xc1df9a(_0x4b7e10,_0x5e0505));}return _0x1b9d4b;}if(_0x56ae93!=null){let _0x58ddfb=String(_0x56ae93);_0x58ddfb&&_0x1b9d4b[_0x23ba06(0x36c)](_0xc1df9a(_0x4b7e10,_0x58ddfb));}return _0x1b9d4b;}function _0xc1df9a(_0x956860,_0x3d5c3b){const _0x578c0b=_0x5b4d61;for(let _0x4e83b4 of _0x956860){if(typeof _0x4e83b4==_0x578c0b(0x525)&&_0x4e83b4===_0x3d5c3b)return _0x4e83b4;if(_0x4e83b4&&typeof _0x4e83b4==_0x578c0b(0x434)){let _0x100564=_0x4e83b4;if(String(_0x100564['id']??_0x100564[_0x578c0b(0x288)]??'')===_0x3d5c3b||String(_0x100564[_0x578c0b(0x288)]??'')===_0x3d5c3b)return String(_0x100564['name']??_0x100564['id']??_0x3d5c3b);}}return _0x3d5c3b;}function _0x1744b4(_0x15c0d7){const _0x26cf11=_0x5b4d61;if(_0x15c0d7&&typeof _0x15c0d7=='object'&&!Array['isArray'](_0x15c0d7)){let _0x19bff4=_0x15c0d7;return{'text':String(_0x19bff4[_0x26cf11(0x398)]??_0x19bff4[_0x26cf11(0x156)]??''),'url':String(_0x19bff4['url']??'')};}return{'text':_0xe1a62e(_0x15c0d7),'url':_0xe1a62e(_0x15c0d7)};}function _0x9ad49(_0x2bf7e9){const _0x1c5025=_0x5b4d61;let _0x19b05b=_0x1744b4(_0x2bf7e9);return _0x19b05b['text']||_0x19b05b[_0x1c5025(0x156)];}function _0x3eda60(_0x17d405,_0x1139bf){const _0x1b326a=_0x5b4d61;return typeof _0x17d405!=_0x1b326a(0x544)||!Number[_0x1b326a(0x326)](_0x17d405)?'':_0x6b809(_0x17d405,_0x1139bf['config']);}function _0x31f7df(_0x4feb8a,_0x30b301){const _0x3903a7=_0x5b4d61;let _0x2336b7=typeof _0x4feb8a==_0x3903a7(0x544)?_0x4feb8a:Number(_0x4feb8a);return Number['isFinite'](_0x2336b7)?_0x3a5fa6(_0x2336b7,_0x30b301[_0x3903a7(0x340)]):'';}function _0xba2d78(_0x116c5f,_0x50c8a5){const _0x5858e7=_0x5b4d61;let _0x370dd3=typeof _0x116c5f==_0x5858e7(0x544)?_0x116c5f:Number(_0x116c5f);return Number['isFinite'](_0x370dd3)?_0x53cb70(_0x370dd3,_0x50c8a5[_0x5858e7(0x340)]):'';}function _0x18945d(_0x410d84){const _0x42d2a8=_0x5b4d61;return Array[_0x42d2a8(0x3bc)](_0x410d84)?_0x410d84[_0x42d2a8(0x4a0)](_0x588574=>{const _0x2ecc68=_0x42d2a8;if(!_0x588574||typeof _0x588574!=_0x2ecc68(0x434))return[];let _0x45a067=_0x588574,_0x7b56c3=String(_0x45a067[_0x2ecc68(0x288)]??_0x45a067[_0x2ecc68(0x156)]??'')[_0x2ecc68(0x104)]();return _0x7b56c3?[_0x7b56c3]:[];}):[];}function _0xe1a62e(_0x94dd86){const _0x49182a=_0x5b4d61;if(_0x94dd86==null)return'';if(typeof _0x94dd86==_0x49182a(0x10b))return _0x94dd86?_0x49182a(0x1b5):_0x49182a(0x427);if(typeof _0x94dd86==_0x49182a(0x544))return String(_0x94dd86);if(Array[_0x49182a(0x3bc)](_0x94dd86)){let _0x2cc561=[];for(let _0x12d5f6=0x0;_0x12d5f6<_0x94dd86[_0x49182a(0x46a)];_0x12d5f6++){if(!(_0x12d5f6 in _0x94dd86))continue;let _0x55e070=_0xe1a62e(_0x94dd86[_0x12d5f6]);_0x55e070&&_0x2cc561[_0x49182a(0x36c)](_0x55e070);}return _0x2cc561[_0x49182a(0x53f)](',\x20');}if(typeof _0x94dd86=='object'){let _0x31fd02=_0x94dd86;return String(_0x31fd02[_0x49182a(0x1a5)]??_0x31fd02[_0x49182a(0x288)]??_0x31fd02[_0x49182a(0x398)]??_0x31fd02[_0x49182a(0x156)]??'')[_0x49182a(0x104)]();}return String(_0x94dd86);}function _0x32420e(_0xfbde6f,_0x323c74){const _0x1addd4=_0x5b4d61;let _0x26ebb4=0x0;for(let _0x1daf71 of _0x323c74)_0x1daf71&&(_0x1daf71===_0xfbde6f?_0x26ebb4=Math[_0x1addd4(0x3bd)](_0x26ebb4,0x12c):_0x1daf71[_0x1addd4(0x10a)](_0xfbde6f)?_0x26ebb4=Math['max'](_0x26ebb4,0xfa):_0x1daf71[_0x1addd4(0x396)](_0xfbde6f)&&(_0x26ebb4=Math[_0x1addd4(0x3bd)](_0x26ebb4,0xc8)));return _0x26ebb4;}function _0x3d439f(_0x5d3e30){const _0x399bb2=_0x5b4d61;return _0x5d3e30[_0x399bb2(0x104)]()[_0x399bb2(0x394)](/\s+/g,'\x20')[_0x399bb2(0x335)]();}function _0x407873(_0xa0c1e1){const _0x1927e4=_0x5b4d61;return Array[_0x1927e4(0x1c0)](new Set(_0xa0c1e1));}function _0x5d1cee(_0x148e98){const _0x166b3b=_0x5b4d61;let _0x4d0e6b=[];for(let {rowIndex:_0x2c7d71,fieldIndex:_0x45af05,..._0x4e8309}of _0x148e98)_0x4d0e6b[_0x166b3b(0x36c)](_0x4e8309);return _0x4d0e6b;}function _0x5b8177(_0x3a492b){const _0x5608f8=_0x5b4d61;return{'compress':!0x0,'kind':_0x5608f8(0xf3),'u':_0x3a492b[_0x5608f8(0x36f)],'t':_0x3a492b[_0x5608f8(0x111)],'p':_0x3a492b['patches'][_0x5608f8(0x3ab)](_0x387c54=>[_0x387c54['row'],_0x387c54[_0x5608f8(0x1a1)],_0x25f71a(_0x387c54[_0x5608f8(0x2e2)])]),..._0x3a492b[_0x5608f8(0x43f)]===void 0x0?{}:{'g':_0x3a492b[_0x5608f8(0x43f)]}};}function _0x51ac5f(_0x44b705){const _0x37146c=_0x5b4d61;if(_0x2e1182(_0x44b705,'base-range-values-v1'),!_0x5d8c0d(_0x44b705)){if(!_0x4a2c33(_0x44b705))throw Error(_0x37146c(0x223));return _0x44b705;}return{'unitId':_0x44b705['u'],'tableId':_0x44b705['t'],'patches':_0x44b705['p'][_0x37146c(0x3ab)](([_0x1390b6,_0x5137bb,_0x16fe67])=>({'row':_0x1390b6,'col':_0x5137bb,'value':_0x1b1d3b(_0x16fe67)})),..._0x44b705['g']===void 0x0?{}:{'trigger':_0x44b705['g']}};}function _0x5d8c0d(_0x1c9a4e){const _0x469b22=_0x5b4d61;return!_0x217fd6(_0x1c9a4e)||_0x1c9a4e['compress']!==!0x0||_0x1c9a4e[_0x469b22(0x169)]!==_0x469b22(0xf3)?!0x1:typeof _0x1c9a4e['u']==_0x469b22(0x525)&&typeof _0x1c9a4e['t']==_0x469b22(0x525)&&(_0x1c9a4e['g']===void 0x0||typeof _0x1c9a4e['g']==_0x469b22(0x525))&&Array[_0x469b22(0x3bc)](_0x1c9a4e['p'])&&_0x1c9a4e['p'][_0x469b22(0x25e)](_0x4f2cad=>Array[_0x469b22(0x3bc)](_0x4f2cad)&&_0x4f2cad[_0x469b22(0x46a)]===0x3&&Number[_0x469b22(0x2ff)](_0x4f2cad[0x0])&&Number[_0x469b22(0x2ff)](_0x4f2cad[0x1]));}function _0x3aff63(_0x110030){const _0x32a730=_0x5b4d61;return!_0x217fd6(_0x110030)||_0x110030[_0x32a730(0x4e4)]!==!0x0||_0x110030['kind']!==_0x32a730(0x15a)||!_0x217fd6(_0x110030[_0x32a730(0x1e1)])?!0x1:Object[_0x32a730(0x4d1)](_0x110030[_0x32a730(0x1e1)])['every'](_0x5515fb=>_0x217fd6(_0x5515fb)&&(_0x5515fb['cd']===void 0x0||Array[_0x32a730(0x3bc)](_0x5515fb['cd'])&&_0x5515fb['cd'][_0x32a730(0x25e)](_0x1ca233=>Array[_0x32a730(0x3bc)](_0x1ca233)&&_0x1ca233[_0x32a730(0x46a)]===0x3&&Number['isInteger'](_0x1ca233[0x0])&&Number[_0x32a730(0x2ff)](_0x1ca233[0x1])&&_0xa96bcb(_0x1ca233[0x2]))));}function _0x25f71a(_0x569667){return _0x2199c7(_0x569667)?_0x111cd4(_0x569667):_0x569667;}function _0x1b1d3b(_0x3f9908){return _0xa96bcb(_0x3f9908)?_0x1a992e(_0x3f9908):_0x3f9908;}function _0x111cd4(_0x111d87){return{'c':0x1,..._0x111d87['v']===void 0x0?{}:{'v':_0x111d87['v']},..._0x111d87['t']!==void 0x0&&_0x111d87['t']!==null?{'t':_0x111d87['t']}:_0x111d87['t']===null?{'t':null}:{},..._0x111d87['f']!==void 0x0&&_0x111d87['f']!==null?{'f':_0x111d87['f']}:_0x111d87['f']===null?{'f':null}:{},..._0x111d87['si']!==void 0x0&&_0x111d87['si']!==null?{'si':_0x111d87['si']}:_0x111d87['si']===null?{'si':null}:{},..._0x111d87['p']!==void 0x0&&_0x111d87['p']!==null?{'p':_0x111d87['p']}:_0x111d87['p']===null?{'p':null}:{}};}function _0x1a992e(_0x3c14a7){return{..._0x3c14a7['v']===void 0x0?{}:{'v':_0x3c14a7['v']},..._0x3c14a7['t']===void 0x0?{}:{'t':_0x3c14a7['t']},..._0x3c14a7['f']===void 0x0?{}:{'f':_0x3c14a7['f']},..._0x3c14a7['si']===void 0x0?{}:{'si':_0x3c14a7['si']},..._0x3c14a7['p']===void 0x0?{}:{'p':_0x3c14a7['p']}};}function _0x2199c7(_0x368121){const _0x394ee3=_0x5b4d61;return!!_0x368121&&typeof _0x368121==_0x394ee3(0x434)&&!Array[_0x394ee3(0x3bc)](_0x368121)&&(Object['prototype'][_0x394ee3(0x3d8)][_0x394ee3(0x30e)](_0x368121,'v')||Object[_0x394ee3(0x16e)]['hasOwnProperty']['call'](_0x368121,'t')||Object['prototype']['hasOwnProperty'][_0x394ee3(0x30e)](_0x368121,'p')||Object[_0x394ee3(0x16e)][_0x394ee3(0x3d8)][_0x394ee3(0x30e)](_0x368121,'f')||Object[_0x394ee3(0x16e)]['hasOwnProperty'][_0x394ee3(0x30e)](_0x368121,'si'));}function _0xa96bcb(_0x3bb67d){return _0x217fd6(_0x3bb67d)&&_0x3bb67d['c']===0x1;}function _0x4a2c33(_0x2168b7){const _0x16d231=_0x5b4d61;return _0x217fd6(_0x2168b7)&&typeof _0x2168b7['unitId']=='string'&&typeof _0x2168b7[_0x16d231(0x111)]=='string'&&(_0x2168b7['trigger']===void 0x0||typeof _0x2168b7[_0x16d231(0x43f)]==_0x16d231(0x525))&&Array[_0x16d231(0x3bc)](_0x2168b7[_0x16d231(0x3cc)])&&_0x2168b7[_0x16d231(0x3cc)][_0x16d231(0x25e)](_0x44e5e8=>_0x217fd6(_0x44e5e8)&&Number[_0x16d231(0x2ff)](_0x44e5e8[_0x16d231(0x4d6)])&&Number[_0x16d231(0x2ff)](_0x44e5e8[_0x16d231(0x1a1)])&&_0x16d231(0x2e2)in _0x44e5e8);}function _0x2e1182(_0x5cc4b9,_0x4b9b85){const _0x14051c=_0x5b4d61;if(_0x217fd6(_0x5cc4b9)&&_0x5cc4b9['compress']===!0x0){if(_0x5cc4b9[_0x14051c(0x169)]!==_0x4b9b85)throw Error(_0x14051c(0x39b)+String(_0x5cc4b9[_0x14051c(0x169)])+'\x22.');if(!(_0x4b9b85===_0x14051c(0xf3)?_0x5d8c0d(_0x5cc4b9):_0x3aff63(_0x5cc4b9)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x4b9b85+'\x22.');}}function _0x217fd6(_0x485fe3){const _0x30b2a8=_0x5b4d61;return!!_0x485fe3&&typeof _0x485fe3==_0x30b2a8(0x434)&&!Array[_0x30b2a8(0x3bc)](_0x485fe3);}_0x537d9b[_0x5b4d61(0x266)]=_0x489c96,_0x537d9b['BASE_FIELD_STAT_TYPES']=_0x2af2a0,_0x537d9b[_0x5b4d61(0x25f)]=0x5,_0x537d9b[_0x5b4d61(0x3f3)]=_0x25a7f8,_0x537d9b[_0x5b4d61(0x35c)]=_0x5b4d61(0x265),_0x537d9b[_0x5b4d61(0x411)]=_0x5a9423,_0x537d9b[_0x5b4d61(0x222)]=_0x16ab6d,_0x537d9b['BaseEventSource']=_0x249608,_0x537d9b[_0x5b4d61(0x4a2)]=_0x328073,_0x537d9b[_0x5b4d61(0x463)]=_0x31b592,_0x537d9b['BaseHierarchyErrorCode']=_0x1af91e,_0x537d9b[_0x5b4d61(0x1d2)]=_0x44eb40,_0x537d9b[_0x5b4d61(0x4e9)]=_0x600fcd,_0x537d9b[_0x5b4d61(0x126)]=_0x1b9aeb,_0x537d9b['BatchCreateBaseRecordsCommand']=_0x5ebfe6,_0x537d9b[_0x5b4d61(0x2dd)]=_0x3cbb7e,_0x537d9b[_0x5b4d61(0x19c)]=_0x279481,_0x537d9b[_0x5b4d61(0x2e9)]=_0x332954,_0x537d9b[_0x5b4d61(0x43e)]=_0x34c3a3,_0x537d9b[_0x5b4d61(0x543)]=_0x32d850,_0x537d9b['CreateBaseTableCommand']=_0x199eaa,_0x537d9b[_0x5b4d61(0x457)]=_0x578650,_0x537d9b[_0x5b4d61(0x410)]=_0x3df95a,_0x537d9b[_0x5b4d61(0x2f4)]=_0x4d533a,_0x537d9b[_0x5b4d61(0x46f)]=_0x35f587,_0x537d9b[_0x5b4d61(0x360)]=_0x1970e0,_0x537d9b[_0x5b4d61(0x19a)]=_0x29df55,_0x537d9b['DuplicateBaseRecordCommand']=_0x240407,_0x537d9b[_0x5b4d61(0x52c)]=_0x2a7d93,_0x537d9b[_0x5b4d61(0x124)]=_0xc444b,_0x537d9b[_0x5b4d61(0x4c3)]=_0x18f07e,_0x537d9b[_0x5b4d61(0x34f)]=_0x4c31db,_0x537d9b['IBaseProjectionService']=_0x1b33ef,_0x537d9b[_0x5b4d61(0x1c6)]=_0x12ce77,_0x537d9b[_0x5b4d61(0x243)]=_0x15a40a,_0x537d9b[_0x5b4d61(0x207)]=_0x7e3104,_0x537d9b['MoveBaseViewCommand']=_0x4231ae,_0x537d9b[_0x5b4d61(0x2b3)]=_0x49859c,_0x537d9b[_0x5b4d61(0x2b5)]=_0x3a83f1,_0x537d9b[_0x5b4d61(0x460)]=_0x575a47,_0x537d9b[_0x5b4d61(0x270)]=_0x295ff9,_0x537d9b[_0x5b4d61(0x415)]=_0x5464be,_0x537d9b[_0x5b4d61(0x311)]=_0x5f4b86,_0x537d9b[_0x5b4d61(0x24d)]=_0x2ded08,_0x537d9b[_0x5b4d61(0x442)]=_0x534f96,_0x537d9b[_0x5b4d61(0x2a3)]=_0x371b2c,_0x537d9b['SetBaseRecordValuesCommand']=_0x3e56e0,_0x537d9b[_0x5b4d61(0x418)]=_0x4aaa7c,_0x537d9b[_0x5b4d61(0x1ba)]=_0xa5c9e,_0x537d9b[_0x5b4d61(0x46d)]=_0x218b99,_0x537d9b[_0x5b4d61(0x281)]=_0x19e91d,_0x537d9b[_0x5b4d61(0x3ca)]=_0xe496df,_0x537d9b[_0x5b4d61(0x34b)]=_0x2b96e5,_0x537d9b[_0x5b4d61(0x552)]=_0x51c31a,Object['defineProperty'](_0x537d9b,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return _0x430814;}}),_0x537d9b[_0x5b4d61(0x17a)]=_0x9a81a0,_0x537d9b[_0x5b4d61(0x330)]=_0x3d4519,_0x537d9b['UpdateBaseFieldDescriptionCommand']=_0x467366,_0x537d9b[_0x5b4d61(0x15c)]=_0x31321d,_0x537d9b['UpdateBaseRecordOrderCommand']=_0x19160d,_0x537d9b[_0x5b4d61(0x4a1)]=_0x4a49d7,_0x537d9b['UpdateBaseViewConfigCommand']=_0xde1fc9,_0x537d9b[_0x5b4d61(0x343)]=_0x298d7b,_0x537d9b[_0x5b4d61(0x1f5)]=_0x1c8cf1,_0x537d9b['buildBaseHierarchyIndex']=_0x128f1a,_0x537d9b[_0x5b4d61(0x181)]=_0x30944c,_0x537d9b[_0x5b4d61(0x437)]=_0x2bb373,_0x537d9b[_0x5b4d61(0x178)]=_0x5b8177,_0x537d9b[_0x5b4d61(0x38c)]=_0x455ae9,_0x537d9b[_0x5b4d61(0x3c3)]=_0x5797d7,_0x537d9b[_0x5b4d61(0x461)]=_0x5344ae,_0x537d9b['createEmbedBasesTable']=_0x57685a,_0x537d9b[_0x5b4d61(0x194)]=_0x5ba883,_0x537d9b[_0x5b4d61(0x232)]=_0x208dd0,_0x537d9b[_0x5b4d61(0x302)]=_0x68e3f,_0x537d9b[_0x5b4d61(0x2d6)]=_0x5afbbf,_0x537d9b[_0x5b4d61(0x4bc)]=_0x51ac5f,_0x537d9b['ensureBaseTableCellLayout']=_0x2c21a9,_0x537d9b[_0x5b4d61(0x3f9)]=_0x1497cf,_0x537d9b[_0x5b4d61(0x34a)]=_0x6b809,_0x537d9b[_0x5b4d61(0x354)]=_0x5553b1,_0x537d9b[_0x5b4d61(0x154)]=_0x3a5fa6,_0x537d9b['formatBaseProgressValue']=_0x53cb70,_0x537d9b['getActiveBaseHierarchyFieldIds']=_0x168111,_0x537d9b[_0x5b4d61(0x508)]=_0x43fef4,_0x537d9b['getBaseCellValue']=_0x3b09d7,_0x537d9b[_0x5b4d61(0x30b)]=_0x47060d,_0x537d9b[_0x5b4d61(0x347)]=_0x1aba91,_0x537d9b[_0x5b4d61(0x49d)]=_0x33eab9,Object[_0x5b4d61(0x257)](_0x537d9b,_0x5b4d61(0x3bb),{'enumerable':!0x0,'get':function(){const _0x4bbf66=_0x5b4d61;return _0x552f17[_0x4bbf66(0x3bb)];}}),_0x537d9b[_0x5b4d61(0x162)]=_0x230aed,_0x537d9b[_0x5b4d61(0x125)]=_0x37c44a,_0x537d9b[_0x5b4d61(0x3e8)]=_0x25ff75,_0x537d9b[_0x5b4d61(0x18b)]=_0x398605,_0x537d9b[_0x5b4d61(0x3ff)]=_0x4da25b,_0x537d9b['getBaseViewPermissionObjectId']=_0x4dab58,_0x537d9b[_0x5b4d61(0x2bd)]=_0x423169,_0x537d9b['getSupportedBaseFieldStatTypes']=_0x5baa5a,_0x537d9b[_0x5b4d61(0x53d)]=_0x50555e,_0x537d9b[_0x5b4d61(0x3d0)]=_0x2515bf,_0x537d9b[_0x5b4d61(0x516)]=_0x4e99f7,_0x537d9b['isBaseFieldStatEmptyValue']=_0x18fd02,_0x537d9b[_0x5b4d61(0x53c)]=_0x297a26,_0x537d9b['isBaseFieldStatType']=_0x1875e5,_0x537d9b[_0x5b4d61(0x436)]=_0x288df0,_0x537d9b['isCompressedBaseRangeValuesPayload']=_0x5d8c0d,_0x537d9b[_0x5b4d61(0x4d9)]=_0x255362,_0x537d9b[_0x5b4d61(0x495)]=_0x152eb9,_0x537d9b[_0x5b4d61(0x433)]=_0x1b2d78,_0x537d9b[_0x5b4d61(0x2f5)]=_0x45ee53,_0x537d9b['parseRecordLinkIds']=_0x17aaa4,_0x537d9b[_0x5b4d61(0x37e)]=_0x28f5e1,_0x537d9b['resolveBaseDateFieldConfig']=_0x13dba4,_0x537d9b[_0x5b4d61(0x3ea)]=_0x5f3470,_0x537d9b[_0x5b4d61(0xfa)]=_0x1c58bb,_0x537d9b[_0x5b4d61(0x24c)]=_0x210085,_0x537d9b[_0x5b4d61(0x47c)]=_0x4be8de,_0x537d9b[_0x5b4d61(0x1be)]=_0x5bc309,_0x537d9b[_0x5b4d61(0x384)]=_0x44d452,_0x537d9b[_0x5b4d61(0x240)]=_0x2ceb53,_0x537d9b['validateBaseHierarchyMove']=_0x4bbbbd,_0x537d9b['validateBaseHierarchyRecordCreations']=_0x548acb,_0x537d9b[_0x5b4d61(0x413)]=_0x47a364,_0x537d9b[_0x5b4d61(0x1fa)]=_0x161279,_0x537d9b['validateCanonicalRecordLinkValue']=_0x54eb47,_0x537d9b[_0x5b4d61(0x4d8)]=_0x4cb157,_0x537d9b[_0x5b4d61(0x4c6)]=_0x30ac0c;}));function _0x3857(){const _0x358ba0=['packageName','setBasePermission','Base\x20','getBaseFieldPermissionObjectId','periodComma','[BaseCommandService]:\x20cannot\x20delete\x20field.','flatMap','UpdateBaseViewConditionalColorRulesCommand','BaseFormulaService','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','regenerateViewIds','getFocusedUnit','viewIndexes','hourCycle','index','renameTable','beforeFieldId','exception-','univer.basePerf','_getHierarchyIndex','fld-','cellData','attachments','code','info','MUTATION','colorFieldId','owner','createSuperTableReference','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','base.command.batch-delete-base-records','Name','[BaseHierarchy]:\x20','reason','decompressBaseRangeValuesPayload','repeat','[BaseField]:\x20invalid\x20number\x20value.','deepClone','fromCollab','ruleId','_recordPermissions','IBaseCommandService','_onCommandExecuted','createUnit','validateRecordLinkValue','toStringTag','bases-exchange-client.operation.export-base','cycle','attachmentSet','_clearUnit','createBase','type','ascend','allowMultiple','_deleteRecordsBaseOp','values','year','_createNumberingAllocators','target','LAST_WEEK','row','_setAttachmentResources','validateRecordLinkField','matchesBaseCondition','count','_cellInvalidationsTouchFields','canEditTable','base.fieldType.','Plugin','base.projection.service','_kanbanGroupKeys','STRING','readonly','insertOp','compress','BaseView','removeOp','JSON1','canEditField','BaseJson1OpApplier','average','spaceComma','AFTER','timeslotSize','colIndex','viewOrder','base.command.create-base-record','Undo','_normalizeCalendarConfig','_globalRevision','#3b82f6','view/','greaterThan','coverFieldId',',,\x22M\x22','flat','invertOp','[BaseCommandService]:\x20field\x20\x22','displayColor','_sortRows','getSuperTableRegistrations','large','RecordId','isNaN','default','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','recordId','system','weekdays','changes','getBaseCellFormulaValue','setViewFieldOrder','getTime','create-view','[BaseProjectionService]:\x20missing\x20view\x20\x22','FieldId','6DapVqx','_buildGrid','custom','canDeleteField','base.resource.service','path','[BaseFormula]:\x20table\x20\x22','cellRevision','isBaseConditionalColorDateField','Uncategorized','Checked','renameView','MultiSelect','strategies','cardSize','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','createField','_enqueueFormulaSync','save','Edit','Date','$1\x20','setConfig','string','ErrorService','gantt','usableAsCardCover','getAffectedRanges','recordOrder','constructor','EMBED_BASES_TABLE_RESOURCE_KEY','_config','_canEditTable','BaseSortDirection','_scheduleSuperTableSync','_initRegistries','currencySymbol','BaseJson1.syncCellInvalidations','_applyingFormulaResults','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','BASE_OBJECT_PERMISSION_PLUGIN','renameFormulaUnitReferences','CommandType','en-US','[BaseField]:\x20invalid\x20multi-value\x20reference.','MM-DD','isBaseFieldStatSupported','getVisibleBaseHierarchyRows','childrenByParentId','join','raw','createRegExpFromSafeFragment','_getCellRevision','CreateBaseRecordCommand','number','_replaceOptional','base.command.update-base-view-conditional-color-rules','base.viewType.calendar','BaseRecordLinkRole','base.command.duplicate-base-record','createDeleteRecordsUndoOp','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','base.command.set-permission','_clearObjectEdit','_getTableRevision','record','bases.fieldConfig.linkPlaceholder','toFixed','SetBaseViewSortCommand','includeRecords','_isNonEmptyCellValue','MMM\x20D,\x20YYYY','_projectedRowsCache',',\x22K\x22','base-range-values-v1','childUnitId','ICommandService','Unsupported\x20Base\x20permission\x20object:\x20','exec','groupFieldId','isNot','resolveBaseRangeHierarchyPatches','BaseDashboard','[BaseCommandService]:\x20cannot\x20create\x20field.','FormulaResultApplicationType','symbol','_resolveBaseId','_resolveGalleryCoverFieldId','FormulaCalculationTriggerService','relationRole','canEditRecord','trim','IS_EMPTY','BaseTable','apostrophe','_createNumberingFieldValuePatches','normal','startsWith','boolean','resolve','_kanbanLaneColor','DependentOn','decorate','[BaseCommandService]:\x20record-id\x20is\x20reserved.','tableId','add','[BaseCommandService]:\x20cannot\x20manage\x20view.','useThousands','_disposed','forEach','too-long','conditional','ColorKit','_viewRevisionKey','getUTCFullYear','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','major-','RecordLink','createSetRecordValuesOp','setViewPermission','normalize','base.command.update-base-view-config','[BaseCommandService]:\x20invalid\x20field\x20definition.','EnsureBaseTemporalViewDateFieldsCommand','getBaseHierarchyFieldId','BaseJson1OpFactory','manual','#FDE68A','_initialize','objectType','_toDirtyRangePatch','done','usableAsCalendarDate','_formulaService','orderKey','Parent\x20Items','editCell','decimalPlaces','_materializeFormulaTableNames','filled','base.command.delete-base-table','_fieldPermissions','view-','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','NumberFormat','subtreeHeightByRecordId','base.command.set-base-table-hierarchy-field','descendPath','description','BaseConditionalColorOperator','toLocaleString','_findKanbanGroupField','clearFieldPermission','BaseRecord','start','lastIndex','4674528BtVhDP','True','deleteField','_isGanttDateField','touchDependencies','data','_resolveKanbanCardFieldIds','deleteRecord','_cellInvalidations','updateViewConfig','Redo','DD/MM/YYYY','fieldOrder','function','base.command.update-base-field','formatBaseNumberValue','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','url','getSnapshot','_tablePermissions','_viewRowsCacheKey','base-snapshot-v1','Gallery','UpdateBaseKanbanConfigCommand','canDeleteTable','dependencyFieldId','Yes','Empty','_projectFields','getBaseHierarchyDeletePromotions','createdBy','cell','working','some','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','MissingRecord','kind','_rememberTable','Ids','_scheduledSuperTableSyncs','_projectedGroupsCache','prototype','False','_viewRevisions','__all__','[BaseCommandService]:\x20cannot\x20create\x20record.','beforeViewId','base.command.set-base-view-sort','parse','depth','updateRecordOrder','compressBaseRangeValuesPayload','unique','UpdateBaseCellCommand',':start','[BaseCommandService]:\x20cannot\x20edit\x20record.','COMMAND','unitOtherData','_getOrderedRecords','onCommandExecuted','calculateBaseFieldStat','invalidGroupField','[BaseField]:\x20invalid\x20person\x20value.','setViewSort','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','_cellRevisions','color','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','subscribe','lessThan','getBaseRecordPermissionObjectId','splice','size','h12','_initDependencies','setViewFilter','_normalizeGanttConfig','\x20must\x20have\x20a\x20non-empty\x20id.','THIS_MONTH','createEmbedBasesTableAddMutation','Numbering','base.mutation.set-permission-rule','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','CONTAINS','isEmpty','DuplicateBaseFieldCommand','pickerFieldIds','ChangeBaseFieldTypeCommand','empty','base.command.set-base-name','canCreateField','rowIndex','col','split','_resolveGanttDateFieldId','[BaseHierarchy]:\x20field\x20\x22','title','deleteTable','MissingParent','setRule','BASE','focusUnit','deletePermissionPoint','greaterThanOrEqual','dispose','522940KtgsZO','registerRuleModel','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','GREATER_THAN','fromEntries','_plugins','dateMode','true','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','TODAY','viewId','_getTablesToNormalize','SetBaseViewFieldOrderCommand','base.command.create-base-view','usableAsGanttEnd','keys','setBasePermissionValue','workingDays','from','THIS_WEEK','FORCE_STRING','rowIndexById','UniverRpc','HH:mm','IBaseViewRegistryService','BaseProjection.filterAndSortRows','registerCtorForType','@univerjs/rpc','now','validateFormula','canDeleteRecord','getAllPermissionPoint','Inject','ObjectPermissionService','@univerjs-pro/engine-formula','_filterRows','BaseHistoryAction','_groupConfigCacheSegment','Invalid\x20object\x20permission\x20batch.','base.viewType.grid','delete','test','has','_getJson1DirtyData','base.command.create-base-field','sequenceExecute','__tempBatchingUndoRedo','setTablePermission','setPoint','14508780utjDVu','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','tables','UNIVER_BASE','_executeSuperTableMutationWhileActive','write','import','exceptions','[BaseField]:\x20invalid\x20date\x20value.','UniverEngineFormula','_bumpTableRevision','base.command.move-base-field','formatToParts','_getSystemFieldValue','BaseJson1.normalizeTables','_univerInstanceService','createBatchCreateRecordsOp','scale','_patchCachedProjectedRows','dashboard/','CustomCommandExecutionError','[BaseField]:\x20invalid\x20rating\x20value.','baseDateSerialToDateMs','deleteRecords','_normalizeCalendarDisplayColor','includeTime','startDateFieldId','validateBaseTableName','-record-','_setViewFieldSetting','end','_setFormulaFieldCells','findIndex','ena','base.command.set-base-record-values','error','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.mutation.','_normalizeCellValue','todo','MoveBaseHierarchyRecordCommand','_createSystemFieldValuePatches','rootRecordIds','multiple','Working\x20day','setRangeValues','PAST_30_DAYS','children','padStart','getTypeOfUnitAdded$','excelDateTimeSerial','separatorStyle','width','undo','week','_createRecordWithDefaults','getPermissionPoint','bases.fieldConfig.textPlaceholder','rowId','_groupsCacheKey','_getStructureDirtyTableIds','endsWith','[BaseFormula]:\x20table\x20does\x20not\x20exist.','rows','entries','Group','order','BaseConditionalColorRuleUpdateType','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','parentFieldName','remove','_canUseFastSort','_formulaCalculationSessionService','UniverCore','getProjection','score','cardLayout','_capabilities','BaseFieldType','oldParentRecordId','[RecordLink]:\x20field\x20config\x20is\x20invalid.','conjunction','base.command.rename-base-view','createEmbedBasesTableRemoveMutation','mode','_runtimeContext','Unchecked','action','createUpdateCellOp','IS_NOT_EMPTY','_isColorfulKanbanGroupField','_registeredSuperTableNames','_baseSyncDisposables','recordNamePrefix','@univerjs/engine-formula','YYYY/MM/DD','mark','uniqueFieldName','getTypeOfUnitDisposed$','base.viewType.gantt','MoveBaseFieldCommand','63dpokeQ','updateCell','invalidateByField','[BaseCommandService]:\x20invalid\x20cell\x20value.','base.command.delete-base-field','DataSyncPrimaryController','IS_NOT','h:mm\x20a','searchBaseTable','SetBasePermissionRulesMutation','maxDepth','base.command.set-base-view-field-width','_normalizeGalleryConfig','_T_','operator','descend','SelfParent','month','_createRecordOrderOp','defineProperty','#14b8a6','getUnit','contains','clear','registerSyncingMutations','slice','every','BASE_HIERARCHY_MAX_LEVELS','medium','474618iXZXiY','_assertFieldDefinition','_dataSyncPrimaryController','lastIndexOf','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','ApplyBaseJson1Mutation','IPermissionService','Currency','Clear','limit','End\x20date','createdAt','_setCachedProjection','base.mutation.set-permission-rules','unshift','SetBaseNameCommand','off','_projectRows','base.command.update-base-cell','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getDependencies','1.5.0','_commandService','_removeSuperTables','beforeCommandExecuted','majorHeaders','DESC','setFieldPermission','embedId','createView','getUTCMonth','_syncSuperTables','SetBaseViewFieldWidthCommand','toPlainText','compose','UTC','unitWidth','parentRecordId','YYYY-MM-DD','name','_permissionService','canCreateRecord','base.field-registry.service','createCreateRecordOp','columns','toString','Progress','members','saveMany','invertWithDoc','BaseProjection.materializeTableRows','InvalidField','BaseConditionalDateMode','allowNegative','base.permission.service','matchAll','selectField','editable','getUTCDay','\x22\x20is\x20not\x20registered.','clearUnit','records','BaseProjection.projectRows','UpdatedBy','tableName','General','SetBaseRangeValuesCommand','delete-view','BEFORE','facade','locale','base.command.set-base-kanban-group-field','dateFormat','edit','group','_title','BaseDataModel','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','UnitObject','_views','unknown','Base\x20edit\x20permission\x20denied.','RenameBaseTableCommand','lessThanOrEqual','RenameBaseViewCommand','PermissionStatus','projection','MM/DD/YYYY','rules','required','_isAllowedKanbanGroupField','getAllBases','getRecordLinkFieldConfig','Cycle','getCurrentUserId','base.viewType.gallery','_isAllDayGanttDateRange','date','_projectGroups','Calendar','base.command.validate-formula','[BaseViewRegistryService]:\x20view\x20type\x20\x22','isBaseRecordIdFieldName','#16a34a','assertBaseTableRecordIdentity','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clearTablePermission','_formulaCalculationTriggerService','conditionalColoring','BaseField','16FAcZQW','format','this-row','Copy','_calendarEventColor','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','BaseViewType','dateToExcelSerial','dateKit','refactorFormulaUnitQualifier','valid','commaPeriod','https://','Rating','BatchDeleteBaseRecordsCommand','nodes','BaseJson1.json1Apply','-field-name','endDateFieldId','value','_initCommands','version','subType','getAll','getUnitId','updatedBy','CreateBaseChildRecordCommand','views','_fieldRegistry','http:','base.viewType.kanban','Date1900','Formula','_findCalendarDateFieldId','localeCompare','level','person','DeleteBaseRecordCommand','normalizeBaseFieldStatsConfig','missingRecord','UniverLicensePlugin','find','optionSource','base.command.set-base-view-filter','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','validate','recordIds','NUMBER','isInteger','yyyy/mm/dd','fieldIds','createUniqueBaseTableName','UniverProEngineFormula','resolvedOptions','targetTableId','stringify','_materializeGroups','rule','_apply','filter','getBaseConditionalColorOperators','MaxDepth','_syncBaseUnit','call','register','base-perf','SetBasePermissionRuleMutation','then','disposeWithMe','createTable','\x20has\x20unsupported\x20target\x20\x22','BASE_RECORD_ID_FIELD_ID','_applier','undefined','_buildGantt','createRecords','_projectHierarchyGroups','spacePeriod','createIdentifier','invalidateByOp','\x22\x20does\x20not\x20exist.','pattern','base.command.update-base-field-description','_buildKanban','conditions','orderedRecordIds','round','isFinite',':end','4pejnYM','https:','unitData','fieldSettings','quarter','updatedAt','generateRandomId','414518EqUQTm','UpdateBaseFieldCommand','Todo','[BaseCommandService]:\x20cannot\x20delete\x20record.','displayFieldId','[BaseCommandService]:\x20cannot\x20delete\x20table.','toLowerCase','resources','afterFieldId','replaceOp','_getCachedProjection','setSnapshot','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','subtreeEndIndex','diffValue','calendar','COLUMN','config','_projectionCache','_buildGallery','ValidateBaseFormulaCommand','h24','baseRows','basePerf','getBaseDashboardPermissionObjectId','_filterSortFieldIds','UniverInstanceType','formatBaseDateValue','SetBaseViewGroupCommand','[BaseCommandService]:\x20cannot\x20edit\x20table.','usableAsGanttStart','initializeUnit','IBasePermissionService','_projectTableRows','excelSerialToDateTime','blue','all','formatBaseFieldStatValue','kanban','isValidBaseRecordId','valueOf','_injector','canEditCell','BaseConditionalColorTarget','Import','BASE_TABLE_NAME_REQUIREMENTS','@univerjs-pro/bases','createViewId','_withModifiedSystemValues','DeleteBaseViewCommand','Unsupported\x20Base\x20permission\x20action:\x20','card',',,,\x22B\x22','source','leftPaneWidth','setViewFieldVisible','tryMaterializeSnapshot','_patchProjectedRowsForCellInvalidations','recordCount','Facade','_projectedViewRowsCache','push','FormulaCalculationSessionService','timeZone','unitId','UnitAction','Delete','IUniverInstanceService','UpdatedAt','Gantt','recordPatch','Disposable','createCreateFieldOp','parentByRecordId','search','_check','direction','IConfigService','notContains','projectBaseHierarchy','NOT_CONTAINS','Done','_cacheKey','UniverProLicense','setRules','traceBasePerformance','WriteCursor','_resolveKanbanCoverFieldId','globalRevision','selfParent','_tableBaseIds','__base_hierarchy_parent__','SingleSelect','copyBaseTableSnapshot','_tableRevisions','reduce','_isKanbanGroupField','userID','view','redo','CellValueType','replace','Tools','includes','changed','text','attachmentSets','embed-ui','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','_buildCalendar','_getAllBaseDependencyTreeCacheMap','base.command.create-base-table','pluginName','snapshot','primaryFieldId','emitPermissionDenied','@univerjs/protocol','get','EXACT','Attachment','7527160nrypLt','field/','short','CreateView','map','tableOrder','Checkbox','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','_resolveCardTitleFieldId','protocol','progressFieldId','syncUnit','_getKanbanConfiguredLanes','iterator','min','_factory','createRecord','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','missingField','hidden','getBaseFormulaTableName','isArray','max','[BaseCommandService]:\x20cannot\x20create\x20table.','base.view-registry.service','option-','small','sort','createBaseHierarchyParentField','invalidateByView','onStarting','Base','_fastSortRows','none','_formulaSyncQueue','SetBaseViewFilterCommand','_basePermissions','patches','BaseProjection.getProjection','_canEdit','afterViewId','inferBaseSeparatorStyle','depthByRecordId','invalid','Parent','_getViewRevision','tableRevision','base.mutation.apply-base-json1','allocateBaseFormulaTableName','hasOwnProperty','columnSettings','deleteView','Table','defaultValue','fromChangeset','setViewFieldWidth','#BBF7D0','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','BaseCommand.createBatchCreateRecordsOp','addPermissionPoint','SortedView','_groupCellInvalidations','revision','fieldName','user','getBasePermissionValue','set','resolveBaseHierarchyFieldId','CreatedBy','fields','IActiveDirtyManagerService','_applyFormulaResult','options','Export','setHours','Link','BASE_HIERARCHY_PARENT_FIELD_ID','@univerjs/core','invalidReasonByRecordId','getAllUnitsForType','codePointAt','_activeDirtyManagerService','findRecordLinkReferences','createDefaultConfig','result','local','registerCommand','getCapabilities','getBaseTablePermissionObjectId','fieldId','applyOp','duplicateField','_resolveGalleryCardFieldIds','toDisposable','general','childType','day','_getAllTableIds','changeFieldType','134446YjNyml','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','[BaseField]:\x20invalid\x20phone\x20value.','_resolveCalendarDateFieldId','operand','getDay','DeleteBaseFieldCommand','BASE_UNIT_PERMISSION_ACTIONS','primaryFieldName','validateBaseHierarchyRecordPatches','policy','SetBasePermissionCommand','base.command.ensure-base-temporal-view-date-fields','allowDangling','SetBaseTableHierarchyFieldCommand','Comment','updateField','@univerjs-pro/license','table/','markResultApplied','SetTriggerFormulaCalculationStartMutation','setRecordValues','field','onlyLocal','RemoveSuperTableMutation','updatePermissionPoint','abbreviation','NEXT_7_DAYS','_recordIds','false','workingDaysOnly','[BasePerf]\x20','pop','_getTable','_resolveKanbanGroupFieldId','_setObjectEdit','_deleteAttachmentResources','SetSuperTableMutation','Person','getInstance','\x20permission\x20denied.','normalizeBaseDateSerial','object','CreatedAt','isBaseHierarchyField','canEditBaseTargets','base.command.set-base-view-field-order','Number','colId','sum','IBaseCellData.ensureTableCellLayout','_hierarchyIndexCache','CreateBaseFieldCommand','trigger','getBase','_rowTransformCacheSegment','SetBasePermissionsCommand','isNotEmpty','registerView','hierarchy','assign','syncExecuteCommand','\x20has\x20unsupported\x20operator\x20\x22','clearRecordPermission','executeCommand','column','ObjectMatrix','duplicateRecord','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','Use\x2031\x20characters\x20or\x20fewer.','-view-grid','\x20must\x20be\x20an\x20object.','formulaName','getMonth','attachment','Failed\x20to\x20create\x20update\x20cell\x20operation:','Doing','CreateBaseViewCommand','titleFieldId','status','leftPaneCollapsed','clearViewPermission','BASES_PLUGIN','SetFormulaCalculationResultMutation','invalid-characters','abs','SetBaseKanbanGroupFieldCommand','createDefaultBaseTableSnapshot','indexOf','BaseHierarchyError','TOMORROW','_createNumberingAllocator','_normalizeGanttDisplayColor','setBaseName','sortedView','createBaseFormulaTableNameMap','length','_getCurrentUserId','canManageView','SetBaseViewFieldVisibleCommand','base.command.','DeleteBaseTableCommand','invalidDateField','IUndoRedoService','DateSystem','INIT','canCreateTable','setViewGroup','_configService','moveView','getUTCDate','objectId','base.command.duplicate-base-field','groups','serializeRecordLinkIds','_viewPermissions','invalidGanttEndField','_instanceService','pushUndoRedo','table','_kanbanLaneTitle','key','regexp','showFieldNames','BOOLEAN','invalidField','Status','autoIncrement','[RecordLink]:\x20target\x20record\x20\x22','fromPlainText','params','base.command.set-base-view-group','moveField','Grid','getCurrentUnitOfType','Injector','base.command.move-base-view','Kanban','NEXT_30_DAYS','normalizeBaseDateFieldConfig','_ganttBarColor','_registerUnitPermissionPoints','formula','BaseHierarchyInvalidReason'];_0x3857=function(){return _0x358ba0;};return _0x3857();}
|