@univerjs-pro/bases 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xdd9b(){const _0x5db296=['[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','thread-comment.command.','recordPatch','UNIVER_EMBED_BASES_TABLE','base.command.delete-base-table','SingleSelect','bases.config','manual','_getAllBaseDependencyTreeCacheMap','base.viewType.gallery','projection','invalidDateField','base.command.delete-base-field','NUMBER','BaseField','-view-grid','focusUnit','_buildGallery','invalidGanttStartField','status','Choose\x20another\x20name.','getUTCFullYear','CreateBaseFieldCommand','SelfParent','Gallery','UniverProtocol','base.command.update-base-record-order','\x20must\x20be\x20an\x20object.','targetTableId','getCurrentUserId','spaceComma','table','endDateFieldId','autoIncrement','__tempBatchingUndoRedo','CellValueType','function','sum','get','getAllPermissionPoint','createSuperTableReference','view/','action',':end','base.command.move-base-field','createCreateRecordOp','reason','general','BaseRecord','[BaseCommandService]:\x20cannot\x20delete\x20field.','254602rfWSLX','ApplyBaseJson1Mutation','afterFieldId','apply','members','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','[DeleteBaseTableCommand]:\x20table\x20\x22','THIS_MONTH','IResourceManagerService','_tableBaseIds','IS_NOT','STRING','_matchesGanttColorRule','recordId','pop','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','deleteView','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','_executeSuperTableMutationWhileActive','setViewSort','getTime','frozenFieldCount','MUTATION','_getKanbanConfiguredLanes','abs','startsWith','Optional','baseDateSerialToDateMs','_resolveKanbanGroupFieldId','pushUndoRedo','column','create-view','setViewFieldVisible','Unsupported\x20Base\x20permission\x20action:\x20','editable','_basePermissions','[BaseField]:\x20invalid\x20rating\x20value.','day','small','group','orderKey','afterViewId','_instanceService','_initDataSync','canEditRecord','\x20has\x20unsupported\x20target\x20\x22','_resolveKanbanCoverFieldId','dateKit','tables','weekdays','_deleteAttachmentResources','_getOrderedRecords','currencySymbol','duplicate','isBaseFieldStatEmptyValue','data','iterator','_removeSuperTables','invalidateByOp','Base\x20edit\x20permission\x20denied.','_rowTransformCacheSegment','BASES_PLUGIN','Empty','getUnitType','value','base.command.validate-formula','contains','max','descendPath','system','_filterRows','SetBasePermissionRuleMutation','number','sortedView','leftPaneWidth','generateRandomId','formatBaseDateValue','BaseJson1.cloneForOp','manageView','createField','order','UniverRemoteBasesPlugin','call','Date1900','_resolveBaseId','BaseProjection.materializeTableRows','Plugin','updateRecordOrder','_cacheKey','_isKanbanGroupField','_cellInvalidations','_groupsCacheKey','bases.remote.config','SetBaseTableHierarchyFieldCommand','__all__','base.command.set-base-view-field-width','formula','lastIndexOf','_patchProjectedRowsForCellInvalidations','BatchCreateBaseRecordsCommand','attachmentSet','now','cardSize','objectType','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','rowIndex','primaryFieldId','long','IPermissionService','_canUseFastSort','base.command.update-base-view-config','UnitAction','747859YViuBs','CustomCommandExecutionError','type','[BaseFormula]:\x20table\x20does\x20not\x20exist.','126yuEKGn','_setViewFieldSetting','format','tableName','BaseConditionalDateMode','row','ruleId','getFocusedUnit','setViewFilter','base.command.update-base-field','getOwnPropertyDescriptor','remote','packageName','MissingParent','_toDirtyRangePatch','UTC','colorFieldId','RenameBaseViewCommand','DuplicateBaseFieldCommand','getTypeOfUnitAdded$','_resolveGalleryCoverFieldId','unitWidth','level','_applyingFormulaResults','[BaseCommandService]:\x20cannot\x20edit\x20field.','field','MM-DD','getProjection','INIT','info','toPrimitive','Parent\x20Items','\x22\x20is\x20not\x20registered.','addPermissionPoint','refactorFormulaUnitQualifier','2taBflj','getActiveBaseHierarchyFieldIds','exception-','DD/MM/YYYY','getSuperTableRegistrations','BaseJson1OpApplier','validateBaseHierarchyMove','view','#BFDBFE','resolveBaseDateFieldConfig','push','UniverProBases','kind','optionSource','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','Done','BaseJson1OpFactory','fromEntries','getBasePermissionValue','fieldIds','InvalidField','UniverEngineFormula','SetBaseViewSortCommand','_getTable','isBaseHierarchyField','splice','flat','check','conjunction','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_projectTableRows','recordCount','medium','clearFieldPermission','End\x20date','__UNIVER_BASE_PERF__','cellData','tryMaterializeSnapshot','False','moveView','getBaseRecordPermissionObjectId','_getCurrentUserId','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','undo','validateCanonicalRecordLinkValue','createDefaultBaseTableSnapshot','notContains','canEditCell','assertBaseTableRecordIdentity','RenameBaseTableCommand','http:','searchTexts','_isGanttDateField','DeleteBaseViewCommand','_isNonEmptyCellValue','BaseHierarchyErrorCode','Number','BaseHistoryAction','rowIndexById','base.command.move-base-view','round','[BaseCommandService]:\x20cannot\x20delete\x20table.','rootRecordIds','fieldOrder','_calendarEventColor','apostrophe','record','Doing','base.projection.service','all','_projectFields','_normalizeCellValue','limit','_syncBaseUnit','_onCommandExecuted','Date','forEach','getAllUnitsForType','_dataSyncPrimaryController','_projectionCache','resolveBaseHierarchyFieldId','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','THIS_WEEK','#,##0.00','changeFieldType','text','BatchDeleteBaseRecordsCommand','selfParent','color','Parent','repeat','add','spacePeriod','BaseConditionalColorTarget','getBaseHierarchyFieldId','_groupConfigCacheSegment','dateToExcelSerial','selectField','prototype','Disposable','false','base.command.change-base-field-type','canCreateField','_findCalendarDateFieldId','_createRecordWithDefaults','clear','remove','recordNamePrefix','greaterThanOrEqual','unique','unknown','Gantt','Set','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','base.command.ensure-base-temporal-view-date-fields','_applier','validateBaseHierarchyRecordPatches','delete-view','parseRecordLinkIds','userID','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','description','TODAY','duplicateField','UniverInstanceType','orderedRecordIds','BASE','getUTCDay','separatorStyle','base.command.set-base-view-filter','formatBaseFieldStatValue','initializeUnit','edit','A\x20table\x20with\x20this\x20name\x20already\x20exists.','missingField','Clear','excelSerialToDateTime','_globalRevision','toLowerCase','Checked','BASE_OBJECT_PERMISSION_PLUGIN','custom','base.command.create-base-field','_sortRows','getRecordLinkFieldConfig','base.command.service','Link','renameView','repairViewConfig','TOMORROW','invalidateByField','search','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','primaryFieldName','doing','findIndex','values','_check','Copy','_capabilities','getStructuredDependencies','@univerjs-pro/license','DeleteView','getBase','UpdatedAt','BaseConditionalColorOperator','abbreviation','defineProperty','index','base.command.duplicate-base-record','descend','h:mm\x20a','tableRevision','_projectedGroupsCache','_registerUnitPermissionPoints','local','[BaseProjectionService]:\x20missing\x20view\x20\x22','syncUnit','validateFormula','viewOrder','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','base.command.delete-base-record','progressFieldId','_groupProjectionFieldIds','Uncategorized','start','BaseFieldType','showTodayLine','@univerjs/engine-formula','CreatedAt','Failed\x20to\x20create\x20update\x20cell\x20operation:','basePerf','record/','syncExecuteCommand','_scheduleSuperTableSync','_initCommands','Start\x20date','UniverProLicense','_getJson1DirtyData','timeZone','finally','SetFormulaCalculationResultMutation','user','BaseHierarchyInvalidReason','_getViewRevision','codePointAt','join','formulaName','base.command.update-base-cell','True','MaxDepth','average','coverFieldId','snapshot','attachments','createRecords','onlyLocal','raw','updatedBy','en-US','slice','[BaseCommandService]:\x20cannot\x20manage\x20view.','fromCollab','IBasePermissionService','_kanbanLaneTitle','base.command.','deleteRecord','_setCachedProjection','_isAllDayGanttDateRange','_isAllowedKanbanGroupField','scale','SetTriggerFormulaCalculationStartMutation','inferBaseSeparatorStyle','assign','BASE_HIERARCHY_MAX_LEVELS','dashboard/','includeRecords','tableOrder','BOOLEAN','key','recordIds','ErrorService','redo','bases-exchange-client.operation.export-base','_tableRevisions','19834419BHTBnS','deepClone','resources','isFinite','operand','groupFieldId','usableAsCardCover','invalidGanttEndField','isBaseFieldStatSupported',',,\x22M\x22','none','EXACT','Formula','min','createRecord','gantt','base.command.update-base-kanban-config','large','ObjectPermissionService','moveField','[RecordLink]:\x20display\x20field\x20\x22','createView','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','dependencyFieldId','BaseFilterConjunction','base.command.create-base-table','registerSyncingMutations','parentRecordId','Edit','Base','Text','_views','Kanban','decimalPlaces','policy','validateBaseTableName','isBaseConditionalColorDateField','catch','createBaseRecordIdField','result','https://','setFieldPermission','EMBED_BASES_TABLE_RESOURCE_KEY','dateMode','CreateBaseTableCommand','decimal','off','viewId','FormulaCalculationSessionService','_univerInstanceService','rules','base.command.update-base-field-description','base.command.set-permission','this-row','Todo','validateRecordLinkField','operator','registerView','IBaseCommandService','DESC','JSON1','Import','showFieldNames','4KNpsiT','setRules','_setFormulaFieldCells','createDefaultConfig','getBaseCellValue','viewRevision','unsubscribe','IS_EMPTY','maxDepth','\x22\x20with\x20field\x20type\x20\x22','getBaseTablePermissionObjectId','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.create-base-record','BaseProjection.filterAndSortRows','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','setSnapshot','getAffectedRanges','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','_viewRevisionKey','recordOrder','BEFORE','ascend','DuplicateBaseRecordCommand','padStart','_materializeFormulaTableNames','canCreateTable','emitPermissionDenied',',,,\x22B\x22','some','isArray','base.mutation.apply-base-json1','setViewGroup','DeleteBaseFieldCommand','FormulaResultApplicationType','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','timeslotSize','toFixed','registerRuleModel','base.fieldType.','error','Use\x2031\x20characters\x20or\x20fewer.','thumbnail','#,##0','BaseDataModel','ICommandService','BaseJson1.syncCellInvalidations','canDeleteRecord','Injector','dateFormat','fld-','validate','getPermissionPoint','base.command.rename-base-table','createDeleteRecordsUndoOp','getBaseFieldPermissionObjectId','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','symbol','setRecordValues','_canEdit','createdBy','getUnit','collaborators','_buildCalendar','COLUMN','_kanbanGroupKeys','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','diffValue','embed-ui','base-range-values-v1','_enqueueFormulaSync','replace','base.permission.service','[BaseCommandService]:\x20cannot\x20edit\x20table.','_createSystemFieldValuePatches','Redo','code','_clearUnit','decompressBaseRangeValuesPayload','unitOtherData','bases-exchange-client.operation.export-base-by-format','executeCommand','#3b82f6','normalizeBaseDateSerial','has','BaseViewType','greaterThan','[BaseField]:\x20invalid\x20date\x20value.','_tablePermissions','Unchecked','version','fromChangeset','calendar','_getCellRevision','base.viewType.kanban','allocateBaseFormulaTableName','_injector','cardLayout','every','usableAsGanttEnd','_formulaService','UpdatedBy','DateSystem','replaceOp','BaseView','sort','SetBasePermissionRulesMutation','MMM\x20D,\x20YYYY','invalid','beforeViewId','LAST_MONTH','getAllBases','UniverLicensePlugin','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','base.mutation.','clearUnit','_resolveCardTitleFieldId','source','createUnit','undefined','#14b8a6','setConfig','DataSyncPrimaryController','_setObjectEdit','getBaseFormulaTableName','buildBaseHierarchyIndex','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','empty','getBaseCellFormulaValue','params','_cellRevisions','owner','hourCycle','MoveBaseViewCommand','pickerFieldIds','_formulaSyncQueue','ObjectMatrix','valueOf','_fastSortRows','_registeredSuperTableNames','_disposed','missingRecord','formula.mutation.set-formula-calculation-result','registerCtorForType','YYYY-MM-DD','table/','invalidateByView','hidden','SetBaseRecordValuesCommand','_initRegistries','commaPeriod','SetBaseViewFieldWidthCommand','_fieldPermissions','_hierarchyIndexCache','_resolveKanbanCardFieldIds','trigger','SetBaseViewFieldOrderCommand','_findKanbanGroupField','ColorKit','FormulaCalculationTriggerService','delete','_formulaCalculationTriggerService','-field-name','globalRevision','NEXT_7_DAYS','setTablePermission','FieldId','normalize','CommandType','_title','\x20has\x20unsupported\x20operator\x20\x22','depthByRecordId','quarter','tableId','rows','setPoint','from','conditions','includes','normalizeBaseFieldStatsConfig','flatMap','createEmbedBasesTableAddMutation','path','IBaseViewRegistryService','parentByRecordId','SetBaseViewFieldVisibleCommand','_replaceOptional','isValidBaseRecordId','base-snapshot-v1','lessThanOrEqual','count','parentFieldName','_normalizeCalendarDisplayColor','[BaseCommandService]:\x20cannot\x20create\x20record.','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','oldParentRecordId','_resolveGanttDateFieldId','_getAllTableIds','468712lpLvpX','MultiSelect','_bumpTableRevision','direction','bases.fieldConfig.textPlaceholder','setViewFieldOrder','Rating','subtreeEndIndex','_kanbanLaneColor','pluginName','GREATER_THAN','_permissionService','viewIndexes','changed','yyyy/mm/dd','#16a34a',':start','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.',',\x22K\x22','getVisibleBaseHierarchyRows','workingDays','Unsupported\x20Base\x20permission\x20object:\x20','\x22.\x20Allowed\x20operators:\x20','deleteRecords','regexp','Module','Person','SetBasePermissionsCommand','Yes','[RecordLink]:\x20field\x20config\x20is\x20invalid.','columnSettings','_canEditTable','cycle','field/','getTypePlugin','updatedAt','setViewFieldWidth','UniverProEngineFormula','subType','RecordLink','parse','startDateFieldId','find','register','createBase','depth','getAll','invalidField','fieldId','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','onStarting','SetBaseViewGroupCommand','constructor','relationRole','toDisposable','getBaseViewPermissionObjectId','dispose','createSetRecordValuesOp','_viewRevisions','canEditField','compress','6szSHsK','BaseFormulaService','_projectRows','[BaseField]:\x20invalid\x20person\x20value.','invertOp','BaseProjection.projectRows','_viewRowsCacheKey','invalidateByCell','deleteTable','Add','[BaseHierarchy]:\x20','strategies','createIdentifier','target','CreateView','locale','Ids','base.command.duplicate-base-field','PAST_30_DAYS','canEditBaseTargets','beforeFieldId','base.command.set-base-view-group','forValue','beforeCommandExecuted','PermissionStatus','titleFieldId','getMonth','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','441665dgOBvh','major-','_normalizeGanttConfig','isBaseRecordIdFieldName','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','_buildGantt','compare','_isCalendarDateField','trim','Progress','_getTablesToNormalize','CreatedBy','conditional','revision','includeTime','Status','getCurrentUnitOfType','@univerjs/protocol','views','createUpdateCellOp','_clearObjectEdit','resolve','query','base.command.batch-create-base-records','setBasePermissionValue','h12','decorate','nameCharacterCheck','facade','colId','object','base.command.set-permissions','_activeDirtyManagerService','Tools','base-perf','base.command.move-base-hierarchy-record','children','$1\x20','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_getHierarchyIndex','623283vhvkhu','mode','validateRecordLinkValue','pattern','url','UpdateBaseKanbanConfigCommand','base.command.delete-base-view','\x20has\x20unsupported\x20date\x20mode\x20\x22','normal','fieldIndex','name','cellRevision','[BaseField]:\x20invalid\x20progress\x20value.','working','createViewId','setBaseName','\x22\x20is\x20referenced\x20by\x20','updatePermissionPoint','MoveBaseFieldCommand','YESTERDAY','end','_syncSuperTables','_apply','usableAsGanttStart','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BasePerf]\x20','@univerjs-pro/bases','clearViewPermission','stringify','attachmentSets','usableAsCalendarDate','keys','nodes','getUTCMonth','exports','\x22\x20does\x20not\x20exist.','deletePermissionPoint','_scheduledSuperTableSyncs','star','_resolveGalleryCardFieldIds','h24','_commandService','registerCommand','base.command.set-base-table-hierarchy-field','_projectedViewRowsCache','_viewPermissions','canCreateRecord','colIndex','unitId','\x20cannot\x20use\x20operator\x20\x22','_T_','[BaseCommandService]:\x20field\x20\x22','7146640UqQULy','rule','sequenceExecute','Cycle','_getTableRevision','removeOp','Checkbox','lessThan','ena','createEmbedBasesTable','Phone','BaseConditionalColorRuleUpdateType','IS_NOT_EMPTY','getCapabilities','PAST_7_DAYS','LESS_THAN','General','_buildGrid','__base_hierarchy_parent__','filled','default','renameTable','columns','displayText','IActiveDirtyManagerService','isNot','childType','base.mutation.set-permission-rules','BaseHierarchyError','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','UNIVER_BASE','[BaseField]:\x20invalid\x20multi-value\x20reference.','write','entries','canEditTable','BASE_UNIT_PERMISSION_ACTIONS','CreateBaseViewCommand','_filterSortFieldIds','\x20must\x20have\x20a\x20non-empty\x20id.','month','compose','isValid','Undo','title','mark','_assertFieldDefinition','renameFormulaUnitReferences','Export','objectId','ChangeBaseFieldTypeCommand','_fieldRegistry','subscribe','SetBaseNameCommand','conditionalColoring','fields','createdAt','_recordPermissions','options','UpdateBaseViewConditionalColorRulesCommand','uniqueFieldName','_materializeGroups','Delete','week','updateCell','BaseSortDirection','getUTCDate','invalidGroupField','BaseProjection.projectGroups','invalidReasonByRecordId','changes','createRegExpFromSafeFragment','periodComma','filter','base.command.create-base-view','col','createBaseHierarchyParentField','workingDaysOnly','exists','UpdateBaseRecordOrderCommand','UpdateBaseFieldDescriptionCommand','Calendar','Numbering','_buildKanban','_patchCachedProjectedRows','Table\x20name\x20is\x20required.','lastIndex','BASE_RECORD_ID_FIELD_ID','measure','resolvedOptions','createBatchCreateRecordsOp','canManageView','_withModifiedSystemValues','_plugins','fieldSettings','https:','markResultApplied','_factory','hostAnchorId','test','groups','COMMAND','BaseRecordLinkRole','isEmpty','toString','createCreateFieldOp','YYYY/MM/DD','BaseDashboard','duplicateRecord','formatBaseNumberValue','[BaseCommandService]:\x20cannot\x20delete\x20record.','UpdateBaseCellCommand','subtreeHeightByRecordId','disposeWithMe','createDefaultValue','_deleteRecordsBaseOp','MM/DD/YYYY','label','isInteger','displayFieldId','indexOf','_getSystemFieldValue','Comment','_createNumberingAllocator','cell','boolean','reduce','DeleteBaseTableCommand','allowMultiple','univer.basePerf','_runtimeContext','Inject','map','_isColorfulKanbanGroupField','base.command.set-base-name','IUniverInstanceService','set','BaseProjection.projectTableRows','_createNumberingAllocators','MissingRecord','applyOp','date','createTable','isCompressedBaseRangeValuesPayload','insertOp','\x20permission\x20denied.','required','@univerjs-pro/engine-formula','RecordId','Currency','getTypeOfUnitDisposed$','getDay','width','touchDependencies','NumberFormat','matchAll','_initDependencies','_getStructureDirtyTableIds','_normalizeGalleryConfig','exceptions','score','year','thread-comment.mutation.','base.resource.service','@univerjs/rpc','_projectedRowsCache','attachment','string','records','UniverProFormulaEnginePlugin','SetBaseRangeValuesCommand','config','length','canDeleteField','_recordIds','short','getBaseHierarchyDeletePromotions','numfmt','_cellInvalidationsTouchFields','multiple','embedId','NEXT_30_DAYS','_projectGroups','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','[BaseCommandService]:\x20cannot\x20edit\x20cell.','base.field-registry.service','BASE_FIELD_STAT_TYPES','_rememberTable','_config','UnitObject','_configService','isBaseFieldStatType','SortedView','setRule','bases.fieldConfig.linkPlaceholder','toLocaleString','readonly','[BaseFormula]:\x20table\x20\x22','EnsureBaseTemporalViewDateFieldsCommand','defaultValue','deleteField','hasOwnProperty','base.command.batch-delete-base-records','isNotEmpty','localeCompare','getFullYear','Group','card','_createRecordOrderOp','unitData','protocol','true','getUnitId','editCell','12cdCmBz','updateField','childUnitId','[BaseCommandService]:\x20invalid\x20field\x20definition.','attachment-','canDeleteTable','#BBF7D0','#FDE68A','setRangeValues','ValidateBaseFormulaCommand','IUndoRedoService','AFTER','base.command.update-base-view-conditional-color-rules','base.viewType.calendar','CONTAINS','href','BASE_TABLE_NAME_REQUIREMENTS','serializeRecordLinkIds','getSnapshot','_initialize','Attachment','endsWith','[BaseCommandService]:\x20invalid\x20cell\x20value.','hierarchy','valid','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','NOT_CONTAINS','formatBaseProgressValue','_formulaCalculationSessionService','[BaseField]:\x20invalid\x20email\x20value.','setHours','[BaseField]:\x20invalid\x20checkbox\x20value.','getItem','UniverCore','_groupCellInvalidations','regenerateViewIds','_ganttBarColor','blue','rowId','_baseSyncDisposables','view-','split','Grid','getBaseConditionalColorOperators','invertWithDoc','_getCachedProjection','base.command.rename-base-view','MoveBaseHierarchyRecordCommand','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','createBaseFormulaTableNameMap','calculateBaseFieldStat','base.view-registry.service','size','BaseTable','base.command.create-base-child-record','updateViewConfig','_resolveCalendarDateFieldId','patches','[BaseCommandService]:\x20cannot\x20create\x20table.'];_0xdd9b=function(){return _0x5db296;};return _0xdd9b();}function _0x45c5(_0x46c5a0,_0x4433dc){_0x46c5a0=_0x46c5a0-0x198;const _0xdd9b92=_0xdd9b();let _0x45c5ec=_0xdd9b92[_0x46c5a0];return _0x45c5ec;}(function(_0x37e159,_0x3298d9){const _0x326b55=_0x45c5,_0xad1e09=_0x37e159();while(!![]){try{const _0x3bca64=parseInt(_0x326b55(0x564))/0x1+parseInt(_0x326b55(0x5fb))/0x2*(-parseInt(_0x326b55(0x3ee))/0x3)+-parseInt(_0x326b55(0x2a7))/0x4*(-parseInt(_0x326b55(0x3c5))/0x5)+-parseInt(_0x326b55(0x3a9))/0x6*(-parseInt(_0x326b55(0x5d4))/0x7)+parseInt(_0x326b55(0x36c))/0x8*(-parseInt(_0x326b55(0x5d8))/0x9)+-parseInt(_0x326b55(0x422))/0xa+parseInt(_0x326b55(0x268))/0xb*(parseInt(_0x326b55(0x4f7))/0xc);if(_0x3bca64===_0x3298d9)break;else _0xad1e09['push'](_0xad1e09['shift']());}catch(_0x43b881){_0xad1e09['push'](_0xad1e09['shift']());}}}(_0xdd9b,0x7c916),function(_0x45d7e1,_0x4c5ea9){const _0x353285=_0x45c5;typeof exports==_0x353285(0x3e4)&&typeof module<'u'?_0x4c5ea9(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x353285(0x556)&&define['amd']?define([_0x353285(0x410),'@univerjs/core',_0x353285(0x4b4),_0x353285(0x3d7),_0x353285(0x214),_0x353285(0x4c5),_0x353285(0x22f)],_0x4c5ea9):(_0x45d7e1=typeof globalThis<'u'?globalThis:_0x45d7e1||self,_0x4c5ea9(_0x45d7e1[_0x353285(0x606)]={},_0x45d7e1[_0x353285(0x518)],_0x45d7e1[_0x353285(0x391)],_0x45d7e1[_0x353285(0x54b)],_0x45d7e1[_0x353285(0x238)],_0x45d7e1['UniverRpc'],_0x45d7e1[_0x353285(0x610)]));}(this,function(_0x312799,_0x26cf17,_0x386470,_0xf5110d,_0x24f38d,_0x44a612,_0x55cce4){const _0x36f63a=_0x45c5;Object[_0x36f63a(0x21a)](_0x312799,Symbol['toStringTag'],{'value':_0x36f63a(0x385)});function _0x3caba0(_0x4f89b9){const _0x50e331=_0x36f63a;let _0x2b454d=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x54e)],_0x40f232=_0x4f89b9['config'][_0x50e331(0x4d4)],_0x486bb8=_0x4f89b9['config'][_0x50e331(0x498)],_0x38544d=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x32c)],_0x1f7df4=_0x4f89b9[_0x50e331(0x4cc)][_0x50e331(0x3a1)];return typeof _0x2b454d!=_0x50e331(0x4c8)||!_0x2b454d||typeof _0x40f232!='boolean'||_0x486bb8!==void 0x0&&(typeof _0x486bb8!=_0x50e331(0x4c8)||!_0x486bb8)||_0x1f7df4!==void 0x0&&_0x1f7df4!==_0x26cf17[_0x50e331(0x487)][_0x50e331(0x1cc)]||_0x38544d!==void 0x0&&(!Array[_0x50e331(0x2c4)](_0x38544d)||_0x38544d[_0x50e331(0x2c3)](_0x24c795=>typeof _0x24c795!=_0x50e331(0x4c8)||!_0x24c795)||new Set(_0x38544d)['size']!==_0x38544d['length'])?null:{'targetTableId':_0x2b454d,'multiple':_0x40f232,..._0x486bb8?{'displayFieldId':_0x486bb8}:{},..._0x38544d?{'pickerFieldIds':[..._0x38544d]}:{},..._0x1f7df4?{'relationRole':_0x1f7df4}:{}};}function _0x4db4ea(_0x6514dd){const _0x185ace=_0x36f63a;return typeof _0x6514dd!='string'||_0x6514dd===''?[]:_0x6514dd[_0x185ace(0x520)](',');}function _0x1bd71a(_0x328960){const _0x1618ff=_0x36f63a;return Array['from'](new Set(_0x328960))[_0x1618ff(0x241)](',');}function _0x31953c(_0x5033eb,_0x40fca6){const _0x3aa69b=_0x36f63a;if(typeof _0x5033eb!='string')return{'valid':!0x1,'reason':_0x3aa69b(0x227)};if(_0x5033eb==='')return{'valid':!0x0};let _0x3714a6=_0x5033eb[_0x3aa69b(0x520)](',');return!_0x40fca6&&_0x3714a6[_0x3aa69b(0x4cd)]>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x3714a6[_0x3aa69b(0x2c3)](_0x21b286=>!(0x0,_0x26cf17[_0x3aa69b(0x361)])(_0x21b286))||new Set(_0x3714a6)[_0x3aa69b(0x52b)]!==_0x3714a6['length']||_0x1bd71a(_0x3714a6)!==_0x5033eb?{'valid':!0x1,'reason':_0x3aa69b(0x1eb)}:{'valid':!0x0};}function _0x5f1ecb(_0x5e0e42,_0x2c45b9){const _0x19ffe9=_0x36f63a;if(_0x2c45b9[_0x19ffe9(0x5d6)]!==_0x26cf17[_0x19ffe9(0x22d)][_0x19ffe9(0x393)])return{'valid':!0x0};let _0x3eb05b=_0x3caba0(_0x2c45b9),_0x9e2f8f=_0x3eb05b?_0x5e0e42['tables'][_0x3eb05b[_0x19ffe9(0x54e)]]:void 0x0;if(!_0x3eb05b||!_0x9e2f8f)return{'valid':!0x1,'reason':_0x19ffe9(0x527)};let _0x8e710d=[..._0x3eb05b[_0x19ffe9(0x498)]?[_0x3eb05b['displayFieldId']]:[],..._0x3eb05b[_0x19ffe9(0x32c)]??[]][_0x19ffe9(0x396)](_0x59b395=>{const _0x2cc372=_0x19ffe9;let _0x29061a=_0x9e2f8f[_0x2cc372(0x458)][_0x59b395];return!_0x29061a||_0x29061a['system']===!0x0||_0x29061a[_0x2cc372(0x5d6)]===_0x26cf17[_0x2cc372(0x22d)][_0x2cc372(0x4b5)];});return _0x8e710d?{'valid':!0x1,'reason':_0x19ffe9(0x27c)+_0x8e710d+_0x19ffe9(0x569)}:{'valid':!0x0};}function _0x288789(_0x153820,_0x55c487,_0x145718,_0x357f2f={}){const _0x1ab752=_0x36f63a;let _0x4a49eb=_0x3caba0(_0x55c487);if(_0x55c487[_0x1ab752(0x5d6)]!==_0x26cf17[_0x1ab752(0x22d)]['RecordLink']||!_0x4a49eb)return{'valid':!0x1,'reason':_0x1ab752(0x389)};let _0x194b7a=_0x31953c(_0x145718,_0x4a49eb[_0x1ab752(0x4d4)]);if(!_0x194b7a[_0x1ab752(0x50f)]||_0x357f2f['allowDangling'])return _0x194b7a;let _0x53274d=_0x153820['tables'][_0x4a49eb[_0x1ab752(0x54e)]];if(!_0x53274d)return{'valid':!0x1,'reason':_0x1ab752(0x527)};let _0x5bde31=_0x4db4ea(_0x145718)[_0x1ab752(0x396)](_0x173aa3=>!_0x53274d[_0x1ab752(0x4c9)][_0x173aa3]);return _0x5bde31?{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20record\x20\x22'+_0x5bde31+_0x1ab752(0x411)}:{'valid':!0x0};}function _0x283ed9(_0x56ad7b,_0x3f304b){const _0x2671af=_0x36f63a;return Object[_0x2671af(0x20f)](_0x56ad7b[_0x2671af(0x594)])[_0x2671af(0x35a)](_0x3ee387=>Object[_0x2671af(0x20f)](_0x3ee387[_0x2671af(0x458)])[_0x2671af(0x35a)](_0x263360=>{const _0x26b590=_0x2671af;let _0x3acb56=_0x263360['type']===_0x26cf17[_0x26b590(0x22d)][_0x26b590(0x393)]?_0x3caba0(_0x263360):null;return(_0x3acb56==null?void 0x0:_0x3acb56[_0x26b590(0x54e)])===_0x3f304b?[{'tableId':_0x3ee387['id'],'fieldId':_0x263360['id']}]:[];}));}let _0x4506fa=_0x36f63a(0x434),_0x389e50=function(_0x4c3134){const _0x3bdd46=_0x36f63a;return _0x4c3134[_0x3bdd46(0x60f)]=_0x3bdd46(0x39b),_0x4c3134[_0x3bdd46(0x4ac)]=_0x3bdd46(0x333),_0x4c3134[_0x3bdd46(0x549)]='selfParent',_0x4c3134[_0x3bdd46(0x425)]=_0x3bdd46(0x38c),_0x4c3134[_0x3bdd46(0x245)]=_0x3bdd46(0x2af),_0x4c3134[_0x3bdd46(0x4e1)]=_0x3bdd46(0x5ad),_0x4c3134;}({});var _0x3763ee=class extends Error{constructor(_0x17a8a3,_0x12a8b6=_0x36f63a(0x3b3)+_0x17a8a3){const _0x18567d=_0x36f63a;super(_0x12a8b6),this[_0x18567d(0x2f2)]=_0x17a8a3,this[_0x18567d(0x3f8)]=_0x18567d(0x43e);}};let _0x4fead6=function(_0x737adb){const _0x146433=_0x36f63a;return _0x737adb['UI']='ui',_0x737adb['Facade']=_0x146433(0x3e2),_0x737adb['Remote']=_0x146433(0x5e3),_0x737adb[_0x146433(0x44c)]=_0x146433(0x19e),_0x737adb[_0x146433(0x2f1)]='redo',_0x737adb[_0x146433(0x2a5)]='import',_0x737adb;}({});function _0x2e8fb1(_0x289941,_0x3782fb){const _0x3c1414=_0x36f63a;if(!_0x3782fb)return!0x1;let _0x1d83a8=_0x289941[_0x3c1414(0x458)][_0x3782fb];if(!_0x1d83a8||_0x1d83a8[_0x3c1414(0x5d6)]!==_0x26cf17[_0x3c1414(0x22d)]['RecordLink'])return!0x1;let _0xd2bd34=_0x3caba0(_0x1d83a8);return _0xd2bd34?_0xd2bd34['targetTableId']===_0x289941['id']&&_0xd2bd34[_0x3c1414(0x4d4)]===!0x1:!0x1;}function _0x126b6c(_0x311aa7){const _0x5f3f0b=_0x36f63a;return[..._0x311aa7['fieldOrder'],...Object[_0x5f3f0b(0x40d)](_0x311aa7['fields'])[_0x5f3f0b(0x46a)](_0x1eb22a=>!_0x311aa7[_0x5f3f0b(0x1b2)]['includes'](_0x1eb22a))[_0x5f3f0b(0x30f)]()][_0x5f3f0b(0x396)](_0x511776=>{const _0x1bbf2c=_0x5f3f0b;var _0x4c4cde;return _0x2e8fb1(_0x311aa7,_0x511776)?((_0x4c4cde=_0x3caba0(_0x311aa7['fields'][_0x511776]))==null?void 0x0:_0x4c4cde[_0x1bbf2c(0x3a1)])===_0x26cf17[_0x1bbf2c(0x487)][_0x1bbf2c(0x1cc)]:!0x1;})??null;}function _0xcff95d(_0x5cfd3b){const _0x4a11aa=_0x36f63a;let _0x344ab6=_0x126b6c(_0x5cfd3b);if(_0x344ab6)return _0x344ab6;let _0xefc6e7=_0x4506fa,_0x669167=0x2;for(;_0x5cfd3b[_0x4a11aa(0x458)][_0xefc6e7];)_0xefc6e7=_0x4506fa+'_'+_0x669167++;return _0xefc6e7;}function _0x39e357(_0x9108f3,_0x52b470=_0xcff95d(_0x9108f3),_0x3ada7b=_0x36f63a(0x5f7)){const _0x79b164=_0x36f63a;return{'id':_0x52b470,'name':_0x3ada7b,'type':_0x26cf17[_0x79b164(0x22d)][_0x79b164(0x393)],'config':{'targetTableId':_0x9108f3['id'],'multiple':!0x1,'displayFieldId':_0x9108f3['primaryFieldId'],'pickerFieldIds':[_0x9108f3['primaryFieldId']],'relationRole':_0x26cf17[_0x79b164(0x487)]['Parent']}};}function _0x91f8f5(_0x3ad9b6){let _0x33ff5e=_0x126b6c(_0x3ad9b6);return _0x33ff5e?[_0x33ff5e]:[];}function _0x37fba2(_0x362225,_0x495496){const _0x5c945e=_0x36f63a;let _0x195c02=[..._0x91f8f5(_0x362225)][_0x5c945e(0x46a)](_0x6e3cd0=>_0x495496['some'](_0x27a444=>Object['prototype'][_0x5c945e(0x4ea)]['call'](_0x27a444[_0x5c945e(0x20f)],_0x6e3cd0)));if(!_0x195c02[_0x5c945e(0x4cd)])return[];let _0x165b37={..._0x362225[_0x5c945e(0x4c9)]};_0x495496['forEach'](_0x21242d=>{const _0x53a8c1=_0x5c945e;let _0x488143=_0x165b37[_0x21242d['recordId']];_0x488143&&(_0x165b37[_0x21242d[_0x53a8c1(0x571)]]={..._0x488143,'values':{..._0x488143[_0x53a8c1(0x20f)],..._0x21242d[_0x53a8c1(0x20f)]}});});let _0x427b8f={..._0x362225,'records':_0x165b37},_0x26c766=[];return _0x195c02[_0x5c945e(0x1bf)](_0x120475=>{const _0x273f19=_0x5c945e;let _0x45b3f7=_0x17cc3f(_0x362225,_0x120475),_0x459f78=_0x17cc3f(_0x427b8f,_0x120475);for(let [_0x4546f4,_0x3aa07c]of _0x459f78[_0x273f19(0x466)]){let _0x33dacd=_0x495496[_0x273f19(0x2c3)](_0x5067ac=>_0x5067ac[_0x273f19(0x571)]===_0x4546f4&&Object[_0x273f19(0x1d5)][_0x273f19(0x4ea)][_0x273f19(0x5b6)](_0x5067ac[_0x273f19(0x20f)],_0x120475));if(_0x45b3f7[_0x273f19(0x466)][_0x273f19(0x558)](_0x4546f4)!==_0x3aa07c||_0x33dacd)throw new _0x3763ee(_0x3f9147(_0x3aa07c));}_0x495496['forEach'](_0x41907e=>{const _0x186842=_0x273f19;if(!Object[_0x186842(0x1d5)][_0x186842(0x4ea)][_0x186842(0x5b6)](_0x41907e['values'],_0x120475))return;let _0xac4fac=_0x45b3f7[_0x186842(0x35e)]['get'](_0x41907e['recordId'])??null,_0x25d8a0=_0x459f78['parentByRecordId']['get'](_0x41907e[_0x186842(0x571)])??null;_0xac4fac!==_0x25d8a0&&_0x26c766['push']({'tableId':_0x362225['id'],'fieldId':_0x120475,'recordId':_0x41907e['recordId'],'oldParentRecordId':_0xac4fac,'parentRecordId':_0x25d8a0});});}),_0x26c766;}function _0x298dba(_0x5c89e6,_0x445e9d){const _0x174ff5=_0x36f63a;let _0x5424fe=_0x445e9d[_0x174ff5(0x4a5)](_0xcee851=>_0xcee851['id']);if(new Set(_0x5424fe)['size']!==_0x5424fe[_0x174ff5(0x4cd)]||_0x5424fe[_0x174ff5(0x2c3)](_0x44d88c=>_0x5c89e6[_0x174ff5(0x4c9)][_0x44d88c]))return[];let _0x53cc2c=_0x91f8f5(_0x5c89e6),_0x121e54=_0x53cc2c[_0x174ff5(0x4cd)]?null:_0xcff95d(_0x5c89e6),_0x3860a0=[..._0x53cc2c,..._0x121e54&&_0x445e9d[_0x174ff5(0x2c3)](_0x44f3e0=>Object[_0x174ff5(0x1d5)][_0x174ff5(0x4ea)]['call'](_0x44f3e0[_0x174ff5(0x20f)],_0x121e54))?[_0x121e54]:[]]['filter'](_0x3b9c0b=>_0x445e9d['some'](_0x3c4172=>Object[_0x174ff5(0x1d5)][_0x174ff5(0x4ea)]['call'](_0x3c4172[_0x174ff5(0x20f)],_0x3b9c0b)));if(!_0x3860a0['length'])return[];let _0x3163a4={..._0x5c89e6,'records':{..._0x5c89e6['records'],...Object[_0x174ff5(0x60c)](_0x445e9d[_0x174ff5(0x4a5)](_0x19479d=>[_0x19479d['id'],_0x19479d]))},'recordOrder':[..._0x5c89e6['recordOrder']??[],..._0x445e9d[_0x174ff5(0x4a5)](_0x45f1ba=>_0x45f1ba['id'])]},_0x1af264=[];return _0x3860a0[_0x174ff5(0x1bf)](_0x343e2b=>{const _0x75b8b7=_0x174ff5;let _0x341ffb=_0x17cc3f(_0x3163a4,_0x343e2b);_0x445e9d[_0x75b8b7(0x1bf)](_0x55adb7=>{const _0x3a69ed=_0x75b8b7;let _0x34f724=_0x341ffb[_0x3a69ed(0x466)][_0x3a69ed(0x558)](_0x55adb7['id']);if(_0x34f724)throw new _0x3763ee(_0x3f9147(_0x34f724));let _0x16a693=_0x341ffb['parentByRecordId']['get'](_0x55adb7['id'])??null;_0x16a693&&_0x1af264[_0x3a69ed(0x605)]({'tableId':_0x5c89e6['id'],'fieldId':_0x343e2b,'recordId':_0x55adb7['id'],'oldParentRecordId':null,'parentRecordId':_0x16a693});});}),_0x1af264;}function _0x3f9147(_0xfedd7f){const _0x3948ca=_0x36f63a;switch(_0xfedd7f){case _0x26cf17[_0x3948ca(0x23e)][_0x3948ca(0x5e5)]:return _0x3948ca(0x333);case _0x26cf17[_0x3948ca(0x23e)]['SelfParent']:return'selfParent';case _0x26cf17[_0x3948ca(0x23e)][_0x3948ca(0x425)]:return'cycle';case _0x26cf17[_0x3948ca(0x23e)]['MaxDepth']:return'maxDepth';}}function _0x4665b4(_0x49fd58,_0x4a0bf6){const _0x12ad9b=_0x36f63a;let _0x28f3a8=new Set(_0x4a0bf6),_0x38a8d6=_0x91f8f5(_0x49fd58);return Object[_0x12ad9b(0x20f)](_0x49fd58[_0x12ad9b(0x4c9)])[_0x12ad9b(0x35a)](_0x149f5a=>_0x28f3a8[_0x12ad9b(0x2fa)](_0x149f5a['id'])?[]:Array['from'](_0x38a8d6)[_0x12ad9b(0x35a)](_0x17074b=>{const _0xca853e=_0x12ad9b;let _0xa66a5a=_0x4db4ea(_0x149f5a[_0xca853e(0x20f)][_0x17074b])[0x0]??null;return _0xa66a5a&&_0x28f3a8[_0xca853e(0x2fa)](_0xa66a5a)?[{'tableId':_0x49fd58['id'],'fieldId':_0x17074b,'recordId':_0x149f5a['id'],'oldParentRecordId':_0xa66a5a,'parentRecordId':null}]:[];}));}function _0x17cc3f(_0x2ebed0,_0x5b292c,_0xd894d5=_0x2ebed0[_0x36f63a(0x2ba)]??Object[_0x36f63a(0x40d)](_0x2ebed0['records'])){const _0x5433c5=_0x36f63a;if((_0x2ebed0[_0x5433c5(0x458)][_0x5b292c]||_0x5b292c!==_0xcff95d(_0x2ebed0))&&!_0x2e8fb1(_0x2ebed0,_0x5b292c))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x5b292c+_0x5433c5(0x4d8));let _0x405a52=_0x3db5e2(_0x2ebed0,_0xd894d5),_0x3378e0=new Map(),_0x34dd9f=new Map();for(let _0x218d2e of _0x405a52){var _0x2d6ca2;let _0x1433d9=_0x4db4ea((_0x2d6ca2=_0x2ebed0['records'][_0x218d2e])==null?void 0x0:_0x2d6ca2[_0x5433c5(0x20f)][_0x5b292c])[0x0]??null;_0x1433d9?_0x1433d9===_0x218d2e?(_0x3378e0['set'](_0x218d2e,null),_0x34dd9f['set'](_0x218d2e,_0x26cf17[_0x5433c5(0x23e)]['SelfParent'])):_0x2ebed0['records'][_0x1433d9]?_0x3378e0[_0x5433c5(0x4a9)](_0x218d2e,_0x1433d9):(_0x3378e0[_0x5433c5(0x4a9)](_0x218d2e,null),_0x34dd9f[_0x5433c5(0x4a9)](_0x218d2e,_0x26cf17[_0x5433c5(0x23e)][_0x5433c5(0x5e5)])):_0x3378e0['set'](_0x218d2e,null);}_0xa995b4(_0x3378e0,_0x34dd9f,_0x405a52),_0x4d47ee(_0x3378e0,_0x34dd9f,_0x405a52);let _0x7be898=new Map(_0x405a52['map']((_0x430aa2,_0x229649)=>[_0x430aa2,_0x229649])),_0x32ff2=new Map();for(let _0x2363d4 of _0x405a52){let _0x113ccd=_0x3378e0[_0x5433c5(0x558)](_0x2363d4)??null,_0xdc3293=_0x32ff2[_0x5433c5(0x558)](_0x113ccd)??[];_0xdc3293[_0x5433c5(0x605)](_0x2363d4),_0x32ff2['set'](_0x113ccd,_0xdc3293);}_0x32ff2[_0x5433c5(0x1bf)](_0x1e7a85=>_0x1e7a85['sort']((_0x502119,_0x560c27)=>(_0x7be898[_0x5433c5(0x558)](_0x502119)??0x0)-(_0x7be898['get'](_0x560c27)??0x0)));let _0x429293=_0x32ff2['get'](null)??[],_0x71c463=new Map(),_0x3aa6b7=new Map(),_0x40c15b=[],_0x3d7e5c=(_0x365b33,_0x647eba)=>{const _0x515fd7=_0x5433c5;_0x71c463[_0x515fd7(0x4a9)](_0x365b33,_0x647eba),_0x40c15b[_0x515fd7(0x605)](_0x365b33);let _0x446b62=0x0;for(let _0x342d63 of _0x32ff2[_0x515fd7(0x558)](_0x365b33)??[])_0x446b62=Math[_0x515fd7(0x5a7)](_0x446b62,0x1+_0x3d7e5c(_0x342d63,_0x647eba+0x1));return _0x3aa6b7[_0x515fd7(0x4a9)](_0x365b33,_0x446b62),_0x446b62;};return _0x429293[_0x5433c5(0x1bf)](_0x27d092=>_0x3d7e5c(_0x27d092,0x0)),{'fieldId':_0x5b292c,'parentByRecordId':_0x3378e0,'childrenByParentId':_0x32ff2,'depthByRecordId':_0x71c463,'subtreeHeightByRecordId':_0x3aa6b7,'invalidReasonByRecordId':_0x34dd9f,'rootRecordIds':_0x429293,'orderedRecordIds':_0x40c15b};}function _0x53de46(_0x4464ef,_0xd78ab7,_0xef6bdd=new Set(_0xd78ab7[_0x36f63a(0x4a5)](_0x76dca5=>_0x76dca5[_0x36f63a(0x571)]))){const _0x5d76f3=_0x36f63a;let _0x2ad7ae=new Set(_0xef6bdd);for(let _0x38a046 of _0xef6bdd){let _0x2dff1a=_0x4464ef['parentByRecordId'][_0x5d76f3(0x558)](_0x38a046)??null;for(;_0x2dff1a;)_0x2ad7ae[_0x5d76f3(0x1ce)](_0x2dff1a),_0x2dff1a=_0x4464ef[_0x5d76f3(0x35e)]['get'](_0x2dff1a)??null;}let _0x589897=new Map(_0xd78ab7[_0x5d76f3(0x4a5)](_0x4ff12a=>[_0x4ff12a[_0x5d76f3(0x571)],_0x4ff12a])),_0x3ea68a=_0x4464ef['orderedRecordIds'][_0x5d76f3(0x46a)](_0x4a3073=>_0x2ad7ae[_0x5d76f3(0x2fa)](_0x4a3073)),_0x128d78=_0x3ea68a[_0x5d76f3(0x35a)](_0x5a551b=>{const _0x440fb0=_0x5d76f3;let _0x43cfd7=_0x589897[_0x440fb0(0x558)](_0x5a551b);return _0x43cfd7?[_0x43cfd7]:[];}),_0xa2d05a={};for(let _0x11a816=0x0;_0x11a816<_0x3ea68a[_0x5d76f3(0x4cd)];_0x11a816++){let _0x3b5051=_0x3ea68a[_0x11a816];_0xa2d05a[_0x3b5051]={'recordId':_0x3b5051,'parentRecordId':_0x4464ef[_0x5d76f3(0x35e)]['get'](_0x3b5051)??null,'depth':_0x4464ef[_0x5d76f3(0x351)]['get'](_0x3b5051)??0x0,'directChildCount':(_0x4464ef['childrenByParentId'][_0x5d76f3(0x558)](_0x3b5051)??[])[_0x5d76f3(0x4cd)],'subtreeHeight':_0x4464ef[_0x5d76f3(0x491)]['get'](_0x3b5051)??0x0,'subtreeEndIndex':_0x11a816,'invalidReason':_0x4464ef[_0x5d76f3(0x466)][_0x5d76f3(0x558)](_0x3b5051)};}let _0x38386b=[];for(let _0x459191=0x0;_0x459191<_0x3ea68a[_0x5d76f3(0x4cd)];_0x459191++){let _0x5331=_0x3ea68a[_0x459191],_0x87d7fa=_0xa2d05a[_0x5331][_0x5d76f3(0x399)];for(;_0x38386b['length']&&_0x38386b[_0x38386b[_0x5d76f3(0x4cd)]-0x1][_0x5d76f3(0x399)]>=_0x87d7fa;){let _0x598b4e=_0x38386b[_0x5d76f3(0x572)]();_0xa2d05a[_0x598b4e[_0x5d76f3(0x571)]][_0x5d76f3(0x373)]=_0x459191-0x1;}_0x38386b[_0x5d76f3(0x605)]({'recordId':_0x5331,'depth':_0x87d7fa});}return _0x38386b[_0x5d76f3(0x1bf)](({recordId:_0x589d1c})=>{const _0x5656f7=_0x5d76f3;_0xa2d05a[_0x589d1c][_0x5656f7(0x373)]=_0x3ea68a[_0x5656f7(0x4cd)]-0x1;}),{'rows':_0x128d78,'hierarchy':{'fieldId':_0x4464ef[_0x5d76f3(0x39c)],'rootRecordIds':_0x4464ef['rootRecordIds']['filter'](_0x5d288c=>_0x2ad7ae[_0x5d76f3(0x2fa)](_0x5d288c)),'orderedRecordIds':_0x3ea68a,'nodes':_0xa2d05a}};}function _0x5cca96(_0x3efa8b,_0x1dd712){const _0x4aab5c=_0x36f63a;if(!_0x3efa8b[_0x4aab5c(0x50e)]||!(_0x1dd712!=null&&_0x1dd712['size']))return _0x3efa8b[_0x4aab5c(0x354)];let _0x3d5b47=[],_0x156e4e=0x0;for(;_0x156e4e<_0x3efa8b[_0x4aab5c(0x354)]['length'];){let _0x3c3ee4=_0x3efa8b[_0x4aab5c(0x354)][_0x156e4e];_0x3d5b47[_0x4aab5c(0x605)](_0x3c3ee4);let _0x3aea97=_0x3efa8b[_0x4aab5c(0x50e)][_0x4aab5c(0x40e)][_0x3c3ee4[_0x4aab5c(0x571)]];_0x156e4e=_0x1dd712[_0x4aab5c(0x2fa)](_0x3c3ee4[_0x4aab5c(0x571)])&&_0x3aea97?_0x3aea97[_0x4aab5c(0x373)]+0x1:_0x156e4e+0x1;}return _0x3d5b47;}function _0xc17f5a(_0x131b18,_0x164dba,_0x3ea707){const _0x4fcb3c=_0x36f63a;if(!_0x3ea707)return{'valid':!0x0};if(_0x164dba===_0x3ea707)return{'valid':!0x1,'reason':_0x26cf17[_0x4fcb3c(0x23e)]['SelfParent']};let _0x26d69e=_0x3ea707;for(;_0x26d69e;){if(_0x26d69e===_0x164dba)return{'valid':!0x1,'reason':_0x26cf17['BaseHierarchyInvalidReason'][_0x4fcb3c(0x425)]};_0x26d69e=_0x131b18['parentByRecordId']['get'](_0x26d69e)??null;}return(_0x131b18['depthByRecordId'][_0x4fcb3c(0x558)](_0x3ea707)??0x0)+0x1+(_0x131b18[_0x4fcb3c(0x491)][_0x4fcb3c(0x558)](_0x164dba)??0x0)>=0x5?{'valid':!0x1,'reason':_0x26cf17[_0x4fcb3c(0x23e)][_0x4fcb3c(0x245)]}:{'valid':!0x0};}function _0x3db5e2(_0x191253,_0x562a3e){const _0x14cb4e=_0x36f63a;let _0xf744c1=new Set(),_0x383674=[];for(let _0x5a5610 of _0x562a3e)_0x191253[_0x14cb4e(0x4c9)][_0x5a5610]&&!_0xf744c1[_0x14cb4e(0x2fa)](_0x5a5610)&&(_0xf744c1[_0x14cb4e(0x1ce)](_0x5a5610),_0x383674[_0x14cb4e(0x605)](_0x5a5610));return Object[_0x14cb4e(0x40d)](_0x191253[_0x14cb4e(0x4c9)])[_0x14cb4e(0x30f)]()[_0x14cb4e(0x1bf)](_0x132624=>{const _0x459306=_0x14cb4e;_0xf744c1['has'](_0x132624)||_0x383674[_0x459306(0x605)](_0x132624);}),_0x383674;}function _0xa995b4(_0x3b07de,_0xd193f8,_0x2a806a){const _0xc74e0c=_0x36f63a;let _0x2e981b=new Set();for(let _0x537398 of _0x2a806a){if(_0x2e981b[_0xc74e0c(0x2fa)](_0x537398))continue;let _0x634be=[],_0x467527=new Map(),_0x12578c=_0x537398;for(;_0x12578c&&!_0x2e981b[_0xc74e0c(0x2fa)](_0x12578c);){let _0x508f86=_0x467527[_0xc74e0c(0x558)](_0x12578c);if(_0x508f86!=null){let _0x20463c=[..._0x634be[_0xc74e0c(0x24f)](_0x508f86)][_0xc74e0c(0x30f)]()[_0xc74e0c(0x572)]();_0x3b07de['set'](_0x20463c,null),_0xd193f8[_0xc74e0c(0x4a9)](_0x20463c,_0x26cf17[_0xc74e0c(0x23e)][_0xc74e0c(0x425)]);break;}_0x467527[_0xc74e0c(0x4a9)](_0x12578c,_0x634be['length']),_0x634be[_0xc74e0c(0x605)](_0x12578c),_0x12578c=_0x3b07de[_0xc74e0c(0x558)](_0x12578c)??null;}_0x634be[_0xc74e0c(0x1bf)](_0x4624f1=>_0x2e981b[_0xc74e0c(0x1ce)](_0x4624f1));}}function _0x4d47ee(_0x340ede,_0x15051f,_0x3ca959){const _0x3ecdbf=_0x36f63a;let _0x1ea3a7=new Map(),_0x316ff1=_0x55b715=>{const _0x192a6e=_0x45c5;let _0x4369f4=_0x1ea3a7[_0x192a6e(0x558)](_0x55b715);if(_0x4369f4!=null)return _0x4369f4;let _0x282dd8=_0x340ede[_0x192a6e(0x558)](_0x55b715)??null;if(!_0x282dd8)return _0x1ea3a7[_0x192a6e(0x4a9)](_0x55b715,0x0),0x0;let _0x501ce4=_0x316ff1(_0x282dd8)+0x1;return _0x501ce4>=0x5?(_0x340ede['set'](_0x55b715,null),_0x15051f[_0x192a6e(0x4a9)](_0x55b715,_0x26cf17[_0x192a6e(0x23e)][_0x192a6e(0x245)]),_0x1ea3a7['set'](_0x55b715,0x0),0x0):(_0x1ea3a7[_0x192a6e(0x4a9)](_0x55b715,_0x501ce4),_0x501ce4);};_0x3ca959[_0x3ecdbf(0x1bf)](_0x316ff1);}let _0x4886f4=0x0;function _0x59c673(){const _0x54ca19=_0x36f63a;if(globalThis[_0x54ca19(0x61e)]===!0x0)return!0x0;try{let _0x1aa608=typeof location>'u'?'':location[_0x54ca19(0x20a)],_0x3fdf66=new URLSearchParams(_0x1aa608);if(_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x232))==='1'||_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x232))===_0x54ca19(0x4f4)||_0x3fdf66[_0x54ca19(0x558)](_0x54ca19(0x3e8))==='1')return!0x0;}catch{}try{let _0x2d5390=typeof localStorage>'u'?null:localStorage[_0x54ca19(0x517)](_0x54ca19(0x4a2));return _0x2d5390==='1'||_0x2d5390===_0x54ca19(0x4f4);}catch{return!0x1;}}function _0xdade1e(_0x1eb2f5,_0x330e15,_0xdd1d8c){const _0x246080=_0x36f63a;if(!_0x59c673())return _0x330e15();let _0x5d0bd1=_0x1530ef(),_0x3a295e='base-perf-'+_0x4886f4++;_0x59fd42(_0x3a295e+_0x246080(0x37c));try{return _0x330e15();}finally{let _0x5cc0d9=_0x1530ef()-_0x5d0bd1;_0x59fd42(_0x3a295e+':end'),_0x1158f9(_0x1eb2f5,_0x3a295e+_0x246080(0x37c),_0x3a295e+_0x246080(0x55d)),_0x1e7cef(_0x1eb2f5,_0x5cc0d9,_0xdd1d8c);}}function _0x1e7cef(_0x2b1dc7,_0x28c5cb,_0xfdcac8){const _0x2d03ec=_0x36f63a;if(!_0x59c673())return;let _0x2d74bd=Math['round'](_0x28c5cb*0x64)/0x64,_0x4740ed=_0xfdcac8&&Object['keys'](_0xfdcac8)[_0x2d03ec(0x4cd)]?'\x20'+JSON[_0x2d03ec(0x40a)](_0xfdcac8):'';console[_0x2d03ec(0x5f5)](_0x2d03ec(0x407)+_0x2b1dc7+':\x20'+_0x2d74bd+'ms'+_0x4740ed);}function _0x1530ef(){const _0x265604=_0x36f63a;return typeof performance<'u'&&typeof performance[_0x265604(0x5c9)]==_0x265604(0x556)?performance[_0x265604(0x5c9)]():Date['now']();}function _0x59fd42(_0x5087a4){const _0x1c62ff=_0x36f63a;try{if(typeof performance<'u'){var _0x3fa60b,_0x3795a7;(_0x3fa60b=(_0x3795a7=performance)[_0x1c62ff(0x44e)])==null||_0x3fa60b[_0x1c62ff(0x5b6)](_0x3795a7,_0x5087a4);}}catch{}}function _0x1158f9(_0x2618bc,_0x7feff7,_0x140388){const _0x299375=_0x36f63a;try{if(typeof performance<'u'){var _0x573724,_0x404a64;(_0x573724=(_0x404a64=performance)[_0x299375(0x479)])==null||_0x573724[_0x299375(0x5b6)](_0x404a64,_0x299375(0x407)+_0x2618bc,_0x7feff7,_0x140388);}}catch{}}function _0x58de72(_0x4ed5f2){const _0x3ceaa9=_0x36f63a;var _0x424631;return _0x59c673()?_0xdade1e('IBaseCellData.ensureTableCellLayout',()=>_0x2152f7(_0x4ed5f2),{'tableId':_0x4ed5f2['id'],'records':Object['keys'](_0x4ed5f2[_0x3ceaa9(0x4c9)]??{})['length'],'fields':_0x4ed5f2[_0x3ceaa9(0x1b2)][_0x3ceaa9(0x4cd)],'hasRecordOrder':!!((_0x424631=_0x4ed5f2[_0x3ceaa9(0x2ba)])!=null&&_0x424631[_0x3ceaa9(0x4cd)])}):_0x2152f7(_0x4ed5f2);}function _0x2152f7(_0x234a07){const _0x5c619e=_0x36f63a;var _0x5960e2;let _0x1cf6e8=_0x234a07['records']??{},_0x540f44=_0x234a07['fields']??{},_0x5c36df=((_0x5960e2=_0x234a07['recordOrder'])==null?void 0x0:_0x5960e2[_0x5c619e(0x46a)](_0x530c94=>_0x1cf6e8[_0x530c94]))??[],_0x580a6d=new Set(_0x5c36df),_0x537bc3=[];for(let _0x5d32fc of Object[_0x5c619e(0x20f)](_0x1cf6e8))_0x580a6d['has'](_0x5d32fc['id'])||_0x537bc3['push'](_0x5d32fc);let _0x3854e9=_0x537bc3[_0x5c619e(0x4cd)]?[..._0x5c36df,..._0x167408(_0x537bc3)]:_0x5c36df,_0x4b3fa5=_0x234a07['fieldOrder'][_0x5c619e(0x46a)](_0x893cd2=>_0x540f44[_0x893cd2]),_0x37fc6d={..._0x234a07[_0x5c619e(0x51d)]??{}},_0x114724={..._0x234a07[_0x5c619e(0x3e3)]??{}},_0x4697b7={..._0x234a07[_0x5c619e(0x61f)]??{}};_0x234a07[_0x5c619e(0x2ba)]=_0x3854e9,_0x234a07[_0x5c619e(0x5cd)]={},_0x234a07[_0x5c619e(0x51d)]={},_0x234a07[_0x5c619e(0x41d)]={},_0x234a07[_0x5c619e(0x3e3)]={},_0x234a07[_0x5c619e(0x61f)]={},_0x234a07[_0x5c619e(0x26a)]={..._0x234a07[_0x5c619e(0x26a)]??{}},_0x234a07[_0x5c619e(0x26a)][_0x5c619e(0x40b)]={..._0x234a07['resources'][_0x5c619e(0x40b)]??{}},_0x234a07[_0x5c619e(0x26a)][_0x5c619e(0x249)]={..._0x234a07['resources'][_0x5c619e(0x249)]??{}};let _0x577171=_0x234a07[_0x5c619e(0x5cd)],_0x5d5251=_0x234a07[_0x5c619e(0x51d)],_0x5e16cc=_0x234a07[_0x5c619e(0x41d)],_0x41887d=_0x234a07[_0x5c619e(0x3e3)],_0xd0b315=_0x234a07['cellData'];return _0x3854e9[_0x5c619e(0x1bf)]((_0x223299,_0x403092)=>{_0x577171[_0x223299]=_0x403092,_0x5d5251[_0x403092]=_0x223299;}),_0x4b3fa5[_0x5c619e(0x1bf)]((_0x3a3faf,_0x5b108d)=>{_0x5e16cc[_0x3a3faf]=_0x5b108d,_0x41887d[_0x5b108d]=_0x3a3faf;}),Object['entries'](_0x4697b7)[_0x5c619e(0x1bf)](([_0x3794cc,_0x2f045c])=>{const _0x37b82d=_0x5c619e;let _0x53e9d4=Number(_0x3794cc),_0x343111=_0x37fc6d[_0x53e9d4]??_0x3854e9[_0x53e9d4],_0x2160f5=_0x343111?_0x577171[_0x343111]:void 0x0;_0x2160f5!=null&&(_0xd0b315[_0x2160f5]={..._0xd0b315[_0x2160f5]??{}},Object[_0x37b82d(0x443)](_0x2f045c??{})['forEach'](([_0x3e9b44,_0x4a2ac7])=>{let _0x30e53a=Number(_0x3e9b44),_0x27b9d7=_0x114724[_0x30e53a]??_0x4b3fa5[_0x30e53a],_0x5b3647=_0x27b9d7?_0x5e16cc[_0x27b9d7]:void 0x0;_0x5b3647!=null&&(_0xd0b315[_0x2160f5][_0x5b3647]=_0x52b356(_0x4a2ac7));}));}),Object[_0x5c619e(0x20f)](_0x1cf6e8)[_0x5c619e(0x1bf)](_0x5a9b57=>{const _0x5dd955=_0x5c619e;let _0x300176=_0x577171[_0x5a9b57['id']];_0x300176!=null&&(_0x5a9b57['values']={..._0x5a9b57['values']??{},[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x5a9b57['id']},_0xd0b315[_0x300176]={..._0xd0b315[_0x300176]??{},0x0:{'v':_0x5a9b57['id'],'t':_0x26cf17[_0x5dd955(0x555)][_0x5dd955(0x56f)]}},Object[_0x5dd955(0x443)](_0x5a9b57[_0x5dd955(0x20f)]??{})[_0x5dd955(0x1bf)](([_0x20573c,_0x425ab1])=>{const _0x201c94=_0x5dd955;let _0x2ea9e5=_0x540f44[_0x20573c];(_0x2ea9e5==null?void 0x0:_0x2ea9e5[_0x201c94(0x5d6)])===_0x26cf17['BaseFieldType']['Attachment']&&_0x1eb926(_0x234a07,_0x5a9b57['id'],_0x20573c,_0x425ab1);let _0x3b6ffb=_0x5e16cc[_0x20573c];if(_0x3b6ffb==null)return;let _0x4c2169=_0xd0b315[_0x300176][_0x3b6ffb];(_0x4c2169==null||_0x27168a(_0x4c2169,_0x2ea9e5,_0x425ab1))&&(_0xd0b315[_0x300176][_0x3b6ffb]=_0x545d9f(_0x425ab1,_0x2ea9e5));}));}),_0x234a07;}function _0x4136d5(_0x56d2dc,_0x3da8ab){const _0x483c77=_0x36f63a;return _0x56d2dc[_0x483c77(0x4c9)]=Object[_0x483c77(0x60c)](Object[_0x483c77(0x443)](_0x56d2dc[_0x483c77(0x4c9)])['map'](([_0x468db9,_0x44b1c0])=>[_0x468db9,{..._0x44b1c0}])),_0x58de72(_0x56d2dc),Object[_0x483c77(0x443)](_0x56d2dc[_0x483c77(0x51d)]??{})[_0x483c77(0x1bf)](([_0x1b9473,_0x32fad9])=>{const _0x3eb395=_0x483c77;var _0x23a8a5;let _0x1ede03=Number(_0x1b9473),_0xd0f803=_0x56d2dc[_0x3eb395(0x4c9)][_0x32fad9];_0xd0f803&&(_0xd0f803[_0x3eb395(0x20f)]={..._0xd0f803[_0x3eb395(0x20f)]??{}},Object[_0x3eb395(0x443)](((_0x23a8a5=_0x56d2dc['cellData'])==null?void 0x0:_0x23a8a5[_0x1ede03])??{})['forEach'](([_0x19ed73,_0x10796f])=>{const _0x49172a=_0x3eb395;var _0x267755;let _0x43afb6=(_0x267755=_0x56d2dc['colId'])==null?void 0x0:_0x267755[Number(_0x19ed73)];_0x43afb6&&_0x3da8ab&&!_0x3da8ab(_0x32fad9,_0x43afb6)||(_0x43afb6===_0x26cf17[_0x49172a(0x478)]?_0xd0f803[_0x49172a(0x20f)][_0x26cf17[_0x49172a(0x478)]]=_0xd0f803['id']:_0x43afb6&&(_0xd0f803[_0x49172a(0x20f)][_0x43afb6]=_0x194f16(_0x10796f,_0x56d2dc[_0x49172a(0x458)][_0x43afb6],_0x56d2dc,_0x32fad9)));}));}),_0x56d2dc;}function _0xbbc2dc(_0x21c201,_0x5728b2){const _0x28ea95=_0x36f63a;for(let {row:_0x74d51c,col:_0x2d0b45}of _0x5728b2){var _0x2b9728,_0x10b4bf,_0x763215;let _0x156975=(_0x2b9728=_0x21c201['rowId'])==null?void 0x0:_0x2b9728[_0x74d51c],_0x32841e=(_0x10b4bf=_0x21c201['colId'])==null?void 0x0:_0x10b4bf[_0x2d0b45],_0x150c0c=_0x156975?_0x21c201[_0x28ea95(0x4c9)][_0x156975]:void 0x0;if(!_0x150c0c||!_0x32841e)continue;if(_0x32841e===_0x26cf17['BASE_RECORD_ID_FIELD_ID']){_0x150c0c[_0x28ea95(0x20f)][_0x26cf17[_0x28ea95(0x478)]]=_0x150c0c['id'];continue;}let _0x42863c=(_0x763215=_0x21c201[_0x28ea95(0x61f)])==null||(_0x763215=_0x763215[_0x74d51c])==null?void 0x0:_0x763215[_0x2d0b45];(_0x42863c!=null||Object[_0x28ea95(0x1d5)][_0x28ea95(0x4ea)][_0x28ea95(0x5b6)](_0x150c0c[_0x28ea95(0x20f)]??{},_0x32841e))&&(_0x150c0c[_0x28ea95(0x20f)]={..._0x150c0c[_0x28ea95(0x20f)]??{}},_0x150c0c[_0x28ea95(0x20f)][_0x32841e]=_0x194f16(_0x42863c,_0x21c201['fields'][_0x32841e],_0x21c201,_0x156975));}return _0x21c201;}function _0x45e3a4(_0x15c0e4,_0x8ac07b,_0x2c4762){const _0x2b28d0=_0x36f63a;var _0x464377,_0x10896d,_0x2b8945,_0xc5489a,_0x26849f,_0x5bd188;let _0x1207fd=(_0x464377=_0x15c0e4['rowIndex'])==null?void 0x0:_0x464377[_0x8ac07b],_0x3c9cf3=(_0x10896d=_0x15c0e4['colIndex'])==null?void 0x0:_0x10896d[_0x2c4762];if(_0x1207fd!=null&&_0x3c9cf3!=null&&((_0x2b8945=_0x15c0e4[_0x2b28d0(0x51d)])==null?void 0x0:_0x2b8945[_0x1207fd])===_0x8ac07b&&((_0xc5489a=_0x15c0e4[_0x2b28d0(0x3e3)])==null?void 0x0:_0xc5489a[_0x3c9cf3])===_0x2c4762)return{'row':_0x1207fd,'col':_0x3c9cf3};let _0x31045f=_0x58de72(_0x15c0e4),_0x4d963c=(_0x26849f=_0x31045f[_0x2b28d0(0x5cd)])==null?void 0x0:_0x26849f[_0x8ac07b],_0x16da0e=(_0x5bd188=_0x31045f[_0x2b28d0(0x41d)])==null?void 0x0:_0x5bd188[_0x2c4762];return _0x4d963c==null||_0x16da0e==null?null:{'row':_0x4d963c,'col':_0x16da0e};}function _0x18de85(_0x1e7c72,_0x3c4af8,_0x36dc73){const _0x2b192b=_0x36f63a;var _0x457a91;let _0x4f326a=_0x45e3a4(_0x1e7c72,_0x3c4af8,_0x36dc73);if(_0x4f326a)return(_0x457a91=_0x1e7c72['cellData'])==null||(_0x457a91=_0x457a91[_0x4f326a['row']])==null?void 0x0:_0x457a91[_0x4f326a[_0x2b192b(0x46c)]];}function _0x2db5fc(_0x4ea91a,_0xa31254,_0x30c2f9){const _0x212571=_0x36f63a;var _0x2ba04e;let _0x490fdd=_0x18de85(_0x4ea91a,_0xa31254,_0x30c2f9),_0x44c9f8=_0x4ea91a[_0x212571(0x458)][_0x30c2f9];if((_0x44c9f8==null?void 0x0:_0x44c9f8[_0x212571(0x5d6)])===_0x26cf17[_0x212571(0x22d)][_0x212571(0x50b)]){var _0x2e3888;return _0xc0d903(_0x4ea91a,_0xa31254,_0x30c2f9)??_0x509f7b((_0x2e3888=_0x4ea91a['records'][_0xa31254])==null||(_0x2e3888=_0x2e3888['values'])==null?void 0x0:_0x2e3888[_0x30c2f9]);}if(_0xf8a6e2(_0x44c9f8)||_0x30c524(_0x44c9f8)||(_0x44c9f8==null?void 0x0:_0x44c9f8[_0x212571(0x5d6)])===_0x26cf17[_0x212571(0x22d)]['Link']){var _0x3ccb65;let _0x402d8c=(_0x3ccb65=_0x4ea91a['records'][_0xa31254])==null||(_0x3ccb65=_0x3ccb65[_0x212571(0x20f)])==null?void 0x0:_0x3ccb65[_0x30c2f9];return _0x402d8c!=null&&_0x402d8c!==''?_0xeb0b29(_0x402d8c,_0x44c9f8):_0x194f16(_0x490fdd,_0x44c9f8,_0x4ea91a,_0xa31254);}return _0x490fdd&&Object[_0x212571(0x1d5)]['hasOwnProperty'][_0x212571(0x5b6)](_0x490fdd,'v')?_0x490fdd['v']??null:((_0x2ba04e=_0x4ea91a[_0x212571(0x4c9)][_0xa31254])==null||(_0x2ba04e=_0x2ba04e[_0x212571(0x20f)])==null?void 0x0:_0x2ba04e[_0x30c2f9])??null;}function _0x5e403e(_0x3453c0,_0x1271b5,_0x5ee848){const _0x4c4ad3=_0x36f63a;var _0x4907b5;let _0x39811e=_0x18de85(_0x3453c0,_0x1271b5,_0x5ee848);if(_0x39811e&&Object[_0x4c4ad3(0x1d5)][_0x4c4ad3(0x4ea)][_0x4c4ad3(0x5b6)](_0x39811e,'v'))return _0x39811e['v']??null;let _0x3006dc=_0x3453c0[_0x4c4ad3(0x458)][_0x5ee848];return _0x545d9f(((_0x4907b5=_0x3453c0[_0x4c4ad3(0x4c9)][_0x1271b5])==null||(_0x4907b5=_0x4907b5[_0x4c4ad3(0x20f)])==null?void 0x0:_0x4907b5[_0x5ee848])??null,_0x3006dc)['v']??null;}function _0x545d9f(_0xc76261,_0x1fdfdb){const _0x3406c2=_0x36f63a;if(_0x1b4934(_0xc76261))return(_0x1fdfdb==null?void 0x0:_0x1fdfdb[_0x3406c2(0x5d6)])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x50b)]?{..._0xc76261,'v':'','t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]}:_0x52b356(_0xc76261);if((_0x1fdfdb==null?void 0x0:_0x1fdfdb['type'])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x50b)])return{'v':'','t':_0x26cf17[_0x3406c2(0x555)]['STRING']};if(_0x30c524(_0x1fdfdb)){let _0x396e60=_0x3d8acf(_0xc76261);return{'v':_0x396e60,'t':_0x3deb44(_0x396e60)};}if(_0xf8a6e2(_0x1fdfdb))return{'v':_0xc67cce(_0xc76261)[_0x3406c2(0x241)](',\x20'),'t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]};if((_0x1fdfdb==null?void 0x0:_0x1fdfdb['type'])===_0x26cf17[_0x3406c2(0x22d)][_0x3406c2(0x205)]&&_0xc76261&&typeof _0xc76261==_0x3406c2(0x3e4)&&!Array[_0x3406c2(0x2c4)](_0xc76261)){let _0x19c01f=_0xc76261;return{'v':String(_0x19c01f[_0x3406c2(0x1c8)]??_0x19c01f[_0x3406c2(0x3f2)]??''),'t':_0x26cf17[_0x3406c2(0x555)][_0x3406c2(0x56f)]};}return _0xc76261===null||typeof _0xc76261==_0x3406c2(0x4c8)||typeof _0xc76261==_0x3406c2(0x5ac)||typeof _0xc76261==_0x3406c2(0x49e)?{'v':_0xc76261,'t':_0x3deb44(_0xc76261)}:{'v':null,'t':null};}function _0x52b356(_0x441867){let _0x3a4b3d=_0x1f5fa1(_0x441867['t'],_0x441867['v']);if(_0x3a4b3d===void 0x0){let {t:_0x508fe4,..._0x124e2e}=_0x441867;return _0x124e2e;}return{..._0x441867,'t':_0x3a4b3d};}function _0x194f16(_0x59efe5,_0x4cac28,_0x377a03,_0xbf860a){const _0x11dc48=_0x36f63a;if(!_0x59efe5)return null;if((_0x4cac28==null?void 0x0:_0x4cac28[_0x11dc48(0x5d6)])===_0x26cf17[_0x11dc48(0x22d)][_0x11dc48(0x50b)])return _0x377a03&&_0xbf860a?_0xc0d903(_0x377a03,_0xbf860a,_0x4cac28['id'])??[]:[];if(_0xf8a6e2(_0x4cac28))return _0xc67cce(_0x59efe5['v']);if((_0x4cac28==null?void 0x0:_0x4cac28[_0x11dc48(0x5d6)])===_0x26cf17['BaseFieldType'][_0x11dc48(0x205)]&&_0x377a03&&_0xbf860a){var _0x5b8b73;let _0x508f7d=(_0x5b8b73=_0x377a03[_0x11dc48(0x4c9)][_0xbf860a])==null||(_0x5b8b73=_0x5b8b73[_0x11dc48(0x20f)])==null?void 0x0:_0x5b8b73[_0x4cac28['id']];if(_0x508f7d&&typeof _0x508f7d==_0x11dc48(0x3e4)&&!Array[_0x11dc48(0x2c4)](_0x508f7d))return _0x508f7d;}return Object[_0x11dc48(0x1d5)][_0x11dc48(0x4ea)][_0x11dc48(0x5b6)](_0x59efe5,'v')?_0x59efe5['v']??null:null;}function _0x1871e5(_0x621619,_0x20ff05,_0x34b9cb,_0x8795d9,_0x153f0c){const _0x165268=_0x36f63a;return(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)]['Attachment']?_0x509f7b(_0x621619):_0x30c524(_0x34b9cb)?_0x3d8acf(_0x621619):_0xf8a6e2(_0x34b9cb)?_0xc67cce(_0x621619):(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)][_0x165268(0x205)]&&(_0x621619==null||_0x621619==='')?null:(_0x34b9cb==null?void 0x0:_0x34b9cb[_0x165268(0x5d6)])===_0x26cf17[_0x165268(0x22d)][_0x165268(0x205)]&&_0x621619&&typeof _0x621619=='object'&&!Array[_0x165268(0x2c4)](_0x621619)&&!_0x1b4934(_0x621619)?_0x621619:_0x194f16(_0x20ff05,_0x34b9cb,_0x8795d9,_0x153f0c);}function _0x1b4934(_0x46a240){const _0x447c42=_0x36f63a;return!!_0x46a240&&typeof _0x46a240=='object'&&(Object['prototype']['hasOwnProperty'][_0x447c42(0x5b6)](_0x46a240,'v')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)]['call'](_0x46a240,'t')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'p')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'f')||Object[_0x447c42(0x1d5)][_0x447c42(0x4ea)][_0x447c42(0x5b6)](_0x46a240,'si'));}function _0x5d9a67(_0x2ff7f5,_0x555281){return _0x2ff7f5+'\x1f'+_0x555281;}function _0x1eb926(_0x23e64e,_0x57694a,_0x3078ed,_0x20ae1c){const _0x3735d0=_0x36f63a;let _0x2ff9ad=_0x509f7b(_0x20ae1c);_0x23e64e[_0x3735d0(0x26a)]={..._0x23e64e[_0x3735d0(0x26a)]??{}},_0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)]={..._0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)]??{}},_0x23e64e['resources']['attachments']={..._0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x249)]??{}};let _0x3d6e29=_0x5d9a67(_0x3078ed,_0x57694a),_0x1faf81=[];for(let _0x160ad3=0x0;_0x160ad3<_0x2ff9ad[_0x3735d0(0x4cd)];_0x160ad3++){if(!(_0x160ad3 in _0x2ff9ad))continue;let _0x1535ad=_0x2ff9ad[_0x160ad3],_0x306528=String(_0x1535ad['id']??_0x3d6e29+'\x1f'+_0x160ad3),_0x4b31b9={..._0x1535ad,'id':_0x306528};_0x23e64e['resources'][_0x3735d0(0x249)][_0x306528]=_0x4b31b9,_0x1faf81[_0x3735d0(0x605)](_0x306528);}_0x23e64e[_0x3735d0(0x26a)][_0x3735d0(0x40b)][_0x3d6e29]=_0x1faf81;}function _0xc0d903(_0x24a5a5,_0x26ba76,_0x3623b1){const _0x161ec4=_0x36f63a;var _0x17d479;let _0x45a95b=_0x5d9a67(_0x3623b1,_0x26ba76),_0x59ea45=(_0x17d479=_0x24a5a5[_0x161ec4(0x26a)])==null||(_0x17d479=_0x17d479['attachmentSets'])==null?void 0x0:_0x17d479[_0x45a95b];if(!_0x59ea45)return null;let _0x3c19fb=[];for(let _0xb460f1=0x0;_0xb460f1<_0x59ea45['length'];_0xb460f1++){var _0x2cc453;if(!(_0xb460f1 in _0x59ea45))continue;let _0x1bc73a=(_0x2cc453=_0x24a5a5[_0x161ec4(0x26a)])==null||(_0x2cc453=_0x2cc453[_0x161ec4(0x249)])==null?void 0x0:_0x2cc453[_0x59ea45[_0xb460f1]];_0x1bc73a&&_0x3c19fb[_0x161ec4(0x605)]({..._0x1bc73a});}return _0x3c19fb;}function _0x509f7b(_0x551c4b){const _0x533c82=_0x36f63a;if(_0x551c4b==null||_0x551c4b===''||_0x1b4934(_0x551c4b)&&!('id'in _0x551c4b)&&!('name'in _0x551c4b))return[];let _0x3f05ae=Array[_0x533c82(0x2c4)](_0x551c4b)?_0x551c4b:[_0x551c4b],_0x13a516=[];for(let _0x3fc291=0x0;_0x3fc291<_0x3f05ae[_0x533c82(0x4cd)];_0x3fc291++){if(!(_0x3fc291 in _0x3f05ae))continue;let _0x10c507=_0x3f05ae[_0x3fc291],_0x4dd8b1=_0x10c507&&typeof _0x10c507==_0x533c82(0x3e4)?{..._0x10c507}:{'id':_0x533c82(0x4fb)+_0x3fc291,'name':String(_0x10c507)};Object['keys'](_0x4dd8b1)['length']>0x0&&_0x13a516[_0x533c82(0x605)](_0x4dd8b1);}return _0x13a516;}function _0xeb0b29(_0x417119,_0x1b7ceb){const _0x531922=_0x36f63a;return(_0x1b7ceb==null?void 0x0:_0x1b7ceb[_0x531922(0x5d6)])===_0x26cf17[_0x531922(0x22d)][_0x531922(0x50b)]?_0x509f7b(_0x417119):_0x30c524(_0x1b7ceb)?_0x3d8acf(_0x417119):_0xf8a6e2(_0x1b7ceb)?_0xc67cce(_0x417119):_0x417119;}function _0x27168a(_0x1abb0b,_0x11a59c,_0x51f579){const _0x1678b5=_0x36f63a;return(_0x11a59c==null?void 0x0:_0x11a59c[_0x1678b5(0x5d6)])===_0x26cf17[_0x1678b5(0x22d)][_0x1678b5(0x50b)]?_0x1abb0b['v']!=='':_0x30c524(_0x11a59c)?_0x1abb0b['v']!==_0x3d8acf(_0x51f579):_0xf8a6e2(_0x11a59c)?Array[_0x1678b5(0x2c4)](_0x51f579)&&(_0x1abb0b['v']==null||_0x1abb0b['v']===''):!0x1;}function _0xf8a6e2(_0x4037b0){const _0x183323=_0x36f63a;return(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17[_0x183323(0x22d)][_0x183323(0x36d)]||(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17[_0x183323(0x22d)][_0x183323(0x4ef)]||(_0x4037b0==null?void 0x0:_0x4037b0[_0x183323(0x5d6)])===_0x26cf17['BaseFieldType'][_0x183323(0x386)]&&_0x4037b0[_0x183323(0x4cc)][_0x183323(0x4a1)]===!0x0;}function _0x30c524(_0x4bcf59){const _0x4aac04=_0x36f63a;return(_0x4bcf59==null?void 0x0:_0x4bcf59['type'])===_0x26cf17['BaseFieldType']['Person']&&_0x4bcf59[_0x4aac04(0x4cc)][_0x4aac04(0x4a1)]!==!0x0;}function _0x3d8acf(_0x589021){const _0x526813=_0x36f63a;let _0x4c4823=_0x1b4934(_0x589021)?_0x589021['v']:_0x589021,_0x3f60cd=Array[_0x526813(0x2c4)](_0x4c4823)?_0x4c4823[0x0]:_0x4c4823;return _0x3f60cd==null||_0x3f60cd===''?null:String(_0x3f60cd);}function _0xc67cce(_0x2bfb57){const _0x425812=_0x36f63a;if(_0x2bfb57==null||_0x2bfb57==='')return[];let _0x352e56=[];if(Array['isArray'](_0x2bfb57)){for(let _0x4f5058=0x0;_0x4f5058<_0x2bfb57[_0x425812(0x4cd)];_0x4f5058++){if(!(_0x4f5058 in _0x2bfb57))continue;let _0x4f42b5=_0x49be81(_0x2bfb57[_0x4f5058]);_0x4f42b5&&_0x352e56[_0x425812(0x605)](_0x4f42b5);}return _0x352e56;}for(let _0x5d9316 of String(_0x2bfb57)[_0x425812(0x520)](',')){let _0xb35e08=_0x5d9316['trim']();_0xb35e08&&_0x352e56[_0x425812(0x605)](_0xb35e08);}return _0x352e56;}function _0x49be81(_0x535efd){const _0x3bba6f=_0x36f63a;if(_0x535efd==null)return'';if(typeof _0x535efd==_0x3bba6f(0x4c8)||typeof _0x535efd==_0x3bba6f(0x5ac)||typeof _0x535efd==_0x3bba6f(0x49e))return String(_0x535efd);if(typeof _0x535efd==_0x3bba6f(0x3e4)){let _0x281664=_0x535efd;return String(_0x281664['id']??_0x281664['name']??_0x281664[_0x3bba6f(0x1c8)]??'');}return String(_0x535efd);}function _0x3deb44(_0x13a146){const _0x1f81fd=_0x36f63a;return _0x13a146==null?null:typeof _0x13a146==_0x1f81fd(0x5ac)?_0x26cf17[_0x1f81fd(0x555)][_0x1f81fd(0x53f)]:typeof _0x13a146==_0x1f81fd(0x49e)?_0x26cf17[_0x1f81fd(0x555)][_0x1f81fd(0x261)]:_0x26cf17[_0x1f81fd(0x555)]['STRING'];}function _0x167408(_0x337a4d){const _0x4c9338=_0x36f63a;_0x337a4d[_0x4c9338(0x30f)]((_0x1e4370,_0x4736a0)=>_0x1e4370[_0x4c9338(0x58c)]['localeCompare'](_0x4736a0[_0x4c9338(0x58c)]));let _0x26582f=[];for(let _0xaf11ce of _0x337a4d)_0x26582f['push'](_0xaf11ce['id']);return _0x26582f;}function _0x1f5fa1(_0x4b5c1d,_0x44d75b){const _0x3c6a19=_0x36f63a;return _0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)][_0x3c6a19(0x56f)]||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)][_0x3c6a19(0x53f)]||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)]['BOOLEAN']||_0x4b5c1d===_0x26cf17[_0x3c6a19(0x555)]['FORCE_STRING']||_0x4b5c1d==null?_0x4b5c1d:_0x3deb44(_0x44d75b??null);}function _0x396f18(_0x35c411){const _0x52dc05=_0x36f63a;let _0x1bc772=null;for(let _0x4a857b of _0x35c411)_0x1bc772=_0x1bc772===null?_0x4a857b:_0x26cf17[_0x52dc05(0x2a4)][_0x52dc05(0x5d6)][_0x52dc05(0x44a)](_0x1bc772,_0x4a857b);return _0x1bc772;}var _0x5070bf=class _0x2ee064{static[_0x36f63a(0x198)](_0x148fa4,_0x251913){const _0x2b72dd=_0x36f63a;let _0x35de82=[];for(let _0x222a0d of _0x251913){let _0x2dcdd7=_0x5de495(_0x222a0d);if(!_0x2dcdd7||_0x2dcdd7[_0x2b72dd(0x41e)]!==_0x148fa4['id'])return null;_0x35de82[_0x2b72dd(0x605)](_0x2dcdd7['op']);}try{let _0xdd2653=_0x396f18(_0x35de82);return _0xdd2653===null?_0x148fa4:new _0x2ee064()['applyOp'](_0x148fa4,_0xdd2653);}catch{return null;}}[_0x36f63a(0x4ad)](_0x217fc6,_0x367b48){const _0x4c9ac7=_0x36f63a;let _0x412718=this[_0x4c9ac7(0x2b7)](_0x367b48),_0xa1b8d8=_0xdade1e(_0x4c9ac7(0x5b1),()=>_0x41d627(_0x217fc6,_0x367b48),{'invalidations':_0x412718['length']}),_0x57513f=_0xdade1e('BaseJson1.json1Apply',()=>_0x26cf17[_0x4c9ac7(0x2a4)]['type'][_0x4c9ac7(0x567)](_0xa1b8d8,_0x367b48),{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]}),_0x30c7de=_0x1802ff(_0x57513f,_0x412718);return _0xdade1e(_0x4c9ac7(0x2d4),()=>_0x2b2aae(_0x57513f,_0x412718),{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]})?(_0x4a32e5(_0x57513f,_0x30c7de),_0x57513f):(_0xdade1e('BaseJson1.normalizeTables',()=>{const _0x305d94=_0x4c9ac7;this[_0x305d94(0x3d0)](_0x57513f,_0x412718)[_0x305d94(0x1bf)](_0x2c0375=>{const _0x588ad5=_0x305d94;let _0x3a6f95=_0x412718[_0x588ad5(0x46a)](_0x1999ed=>_0x1999ed['tableId']===_0x2c0375['id']),_0x2a7adf=_0x3a6f95[_0x588ad5(0x4cd)]>0x0&&_0x3a6f95[_0x588ad5(0x308)](_0x233541=>_0x233541[_0x588ad5(0x560)]==='field'||_0x233541['reason']===_0x588ad5(0x602)||_0x233541[_0x588ad5(0x560)]===_0x588ad5(0x49d)||_0x233541[_0x588ad5(0x560)]===_0x588ad5(0x1b5))?new Set(_0x3a6f95[_0x588ad5(0x35a)](_0x38730f=>{const _0x3dd6db=_0x588ad5;var _0x5c1268;if(_0x38730f[_0x3dd6db(0x560)]!==_0x3dd6db(0x5f1)||!_0x38730f['fieldId'])return[];let _0x5ca43e=(_0x5c1268=_0x217fc6[_0x3dd6db(0x594)][_0x2c0375['id']])==null?void 0x0:_0x5c1268['fields'][_0x38730f['fieldId']],_0x534aa9=_0x2c0375[_0x3dd6db(0x458)][_0x38730f[_0x3dd6db(0x39c)]];return(_0x5ca43e==null?void 0x0:_0x5ca43e[_0x3dd6db(0x5d6)])!==(_0x534aa9==null?void 0x0:_0x534aa9[_0x3dd6db(0x5d6)])||(_0x5ca43e==null?void 0x0:_0x5ca43e[_0x3dd6db(0x4cc)][_0x3dd6db(0x4a1)])!==(_0x534aa9==null?void 0x0:_0x534aa9['config'][_0x3dd6db(0x4a1)])?[_0x38730f['fieldId']]:[];})):void 0x0,_0x4f80e1=new Set(_0x3a6f95[_0x588ad5(0x35a)](_0x267b75=>{const _0x32b66d=_0x588ad5;var _0x244d5c,_0x100260;return _0x267b75[_0x32b66d(0x560)]!=='cell'||_0x267b75[_0x32b66d(0x5dd)]==null||_0x267b75[_0x32b66d(0x582)]==null?[]:[JSON[_0x32b66d(0x40a)]([(_0x244d5c=_0x2c0375['rowId'])==null?void 0x0:_0x244d5c[_0x267b75[_0x32b66d(0x5dd)]],(_0x100260=_0x2c0375[_0x32b66d(0x3e3)])==null?void 0x0:_0x100260[_0x267b75[_0x32b66d(0x582)]]])];}));_0x4136d5(_0x2c0375,_0x2a7adf?(_0x278279,_0x12c7a2)=>_0x2a7adf[_0x588ad5(0x2fa)](_0x12c7a2)||_0x4f80e1[_0x588ad5(0x2fa)](JSON[_0x588ad5(0x40a)]([_0x278279,_0x12c7a2])):void 0x0);});},{'invalidations':_0x412718[_0x4c9ac7(0x4cd)]}),_0x4a32e5(_0x57513f,_0x30c7de),_0x57513f);}[_0x36f63a(0x3ad)](_0x1fd8bc,_0x34df30){const _0x1989d1=_0x36f63a;return _0x26cf17[_0x1989d1(0x2a4)][_0x1989d1(0x5d6)][_0x1989d1(0x523)](_0x34df30,_0x1fd8bc);}[_0x36f63a(0x2b7)](_0x371091){const _0x12faa3=_0x36f63a;let _0x2bf054=_0x30131f(_0x371091);return _0x2bf054[_0x12faa3(0x4cd)]?_0x498cf1(_0x2bf054[_0x12faa3(0x35a)](_0x2bf4df=>this[_0x12faa3(0x2b7)](_0x2bf4df))):_0x280483(_0x371091);}['_getTablesToNormalize'](_0x500511,_0x489183){const _0x176340=_0x36f63a;let _0x4300df=_0x489183[_0x176340(0x46a)](_0x3cf312=>_0x3cf312[_0x176340(0x560)]!==_0x176340(0x602));return _0x4300df[_0x176340(0x4cd)]?_0x4300df[_0x176340(0x2c3)](_0x113815=>!_0x113815['tableId'])?Object[_0x176340(0x20f)](_0x500511[_0x176340(0x594)]??{}):Array[_0x176340(0x356)](new Set(_0x4300df[_0x176340(0x4a5)](_0x10edb3=>_0x10edb3[_0x176340(0x353)])))['flatMap'](_0x2fd0a3=>{const _0x255036=_0x176340;var _0x3da35c;let _0x121725=(_0x3da35c=_0x500511[_0x255036(0x594)])==null?void 0x0:_0x3da35c[_0x2fd0a3];return _0x121725?[_0x121725]:[];}):[];}};function _0x5de495(_0x33849f){const _0x559a90=_0x36f63a;let _0x4e2545=_0x33849f[_0x559a90(0x327)];return _0x33849f['id']!==_0x559a90(0x2c5)||typeof _0x4e2545!=_0x559a90(0x3e4)||!_0x4e2545||!(_0x559a90(0x41e)in _0x4e2545)||typeof _0x4e2545[_0x559a90(0x41e)]!=_0x559a90(0x4c8)||!('op'in _0x4e2545)||!Array[_0x559a90(0x2c4)](_0x4e2545['op'])?null:{'unitId':_0x4e2545['unitId'],'op':_0x4e2545['op']};}function _0x2b2aae(_0x4be346,_0x3ed4ee){const _0x38a166=_0x36f63a;if(!_0x3ed4ee[_0x38a166(0x4cd)]||_0x3ed4ee[_0x38a166(0x2c3)](_0x10ddf1=>_0x10ddf1[_0x38a166(0x560)]!==_0x38a166(0x49d)))return!0x1;let _0x4d7a1e=new Map();for(let _0x5e3a2b of _0x3ed4ee){if(!_0x5e3a2b[_0x38a166(0x353)]||_0x5e3a2b[_0x38a166(0x5dd)]==null||_0x5e3a2b['column']==null)continue;let _0x4ec8e6=_0x4d7a1e['get'](_0x5e3a2b['tableId'])??[];_0x4ec8e6[_0x38a166(0x605)]({'row':_0x5e3a2b['row'],'col':_0x5e3a2b['column']}),_0x4d7a1e[_0x38a166(0x4a9)](_0x5e3a2b[_0x38a166(0x353)],_0x4ec8e6);}return _0x4d7a1e[_0x38a166(0x1bf)]((_0x250b48,_0x495112)=>{const _0x843795=_0x38a166;var _0x5d664a;let _0xc39fed=(_0x5d664a=_0x4be346[_0x843795(0x594)])==null?void 0x0:_0x5d664a[_0x495112];_0xc39fed&&_0xbbc2dc(_0xc39fed,_0x250b48);}),!0x0;}function _0x1802ff(_0x336ef3,_0x552206){let _0x32589e=new Set();return _0x552206['flatMap'](_0x1186f9=>{const _0xd76c27=_0x45c5;var _0x22276e;if(!_0x1186f9[_0xd76c27(0x353)]||!_0x1186f9[_0xd76c27(0x571)]||!_0x1186f9['fieldId'])return[];let _0x2333be=_0x1186f9[_0xd76c27(0x353)]+'\x1f'+_0x1186f9[_0xd76c27(0x571)]+'\x1f'+_0x1186f9[_0xd76c27(0x39c)];if(_0x32589e[_0xd76c27(0x2fa)](_0x2333be))return[];_0x32589e[_0xd76c27(0x1ce)](_0x2333be);let _0x5b9163=(_0x22276e=_0x336ef3[_0xd76c27(0x594)][_0x1186f9[_0xd76c27(0x353)]])==null||(_0x22276e=_0x22276e[_0xd76c27(0x4c9)][_0x1186f9[_0xd76c27(0x571)]])==null?void 0x0:_0x22276e['values'];return _0x5b9163?[{'tableId':_0x1186f9[_0xd76c27(0x353)],'recordId':_0x1186f9[_0xd76c27(0x571)],'fieldId':_0x1186f9[_0xd76c27(0x39c)],'exists':Object['prototype'][_0xd76c27(0x4ea)][_0xd76c27(0x5b6)](_0x5b9163,_0x1186f9[_0xd76c27(0x39c)]),'value':_0x5b9163[_0x1186f9[_0xd76c27(0x39c)]]}]:[];});}function _0x4a32e5(_0x3422b5,_0x28d31c){const _0x59dbe4=_0x36f63a;_0x28d31c[_0x59dbe4(0x1bf)](_0x3b3f03=>{const _0x1de2e0=_0x59dbe4;var _0x2621b3;let _0x4d637d=(_0x2621b3=_0x3422b5[_0x1de2e0(0x594)][_0x3b3f03[_0x1de2e0(0x353)]])==null||(_0x2621b3=_0x2621b3[_0x1de2e0(0x4c9)][_0x3b3f03[_0x1de2e0(0x571)]])==null?void 0x0:_0x2621b3[_0x1de2e0(0x20f)];_0x4d637d&&(_0x3b3f03[_0x1de2e0(0x46f)]?_0x4d637d[_0x3b3f03[_0x1de2e0(0x39c)]]=_0x3b3f03[_0x1de2e0(0x5a4)]:delete _0x4d637d[_0x3b3f03['fieldId']]);});}function _0x280483(_0x345db5){const _0xc6b3fc=_0x36f63a;if(!Array[_0xc6b3fc(0x2c4)](_0x345db5)||_0x345db5[_0xc6b3fc(0x4cd)]<0x2)return[{'tableId':'','reason':_0xc6b3fc(0x1e1)}];let _0x556d74=_0x345db5,_0x1bc9f8=_0x556d74[_0xc6b3fc(0x499)](_0xc6b3fc(0x594));return _0x1bc9f8===-0x1||typeof _0x556d74[_0x1bc9f8+0x1]!=_0xc6b3fc(0x4c8)?_0x556d74[0x0]===_0xc6b3fc(0x260)?[]:[{'tableId':'','reason':_0xc6b3fc(0x1e1)}]:_0x7f847b(_0x556d74,_0x1bc9f8,String(_0x556d74[_0x1bc9f8+0x1]));}function _0x7f847b(_0x3ec67c,_0x3a098e,_0x6ad4e4){const _0x5cd045=_0x36f63a;let _0x2b42ca=_0x3ec67c[_0x3a098e+0x2];return _0x2b42ca===_0x5cd045(0x4c9)&&typeof _0x3ec67c[_0x3a098e+0x3]==_0x5cd045(0x4c8)?_0x1b28e5(_0x3ec67c,_0x3a098e,_0x6ad4e4,String(_0x3ec67c[_0x3a098e+0x3])):_0x2b42ca===_0x5cd045(0x61f)&&_0x3ec67c[_0x3a098e+0x3]!=null&&_0x3ec67c[_0x3a098e+0x4]!=null?[{'tableId':_0x6ad4e4,'reason':'cell','row':Number(_0x3ec67c[_0x3a098e+0x3]),'column':Number(_0x3ec67c[_0x3a098e+0x4])}]:_0x2b42ca==='fields'&&typeof _0x3ec67c[_0x3a098e+0x3]=='string'?[{'tableId':_0x6ad4e4,'reason':'field','fieldId':String(_0x3ec67c[_0x3a098e+0x3])}]:_0x2b42ca==='fieldOrder'?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x5f1)}]:_0x2b42ca===_0x5cd045(0x2ba)?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x1b5)}]:_0x2b42ca===_0x5cd045(0x3d8)&&typeof _0x3ec67c[_0x3a098e+0x3]==_0x5cd045(0x4c8)?[{'tableId':_0x6ad4e4,'reason':'view','viewId':String(_0x3ec67c[_0x3a098e+0x3])}]:_0x2b42ca===_0x5cd045(0x226)?[{'tableId':_0x6ad4e4,'reason':_0x5cd045(0x602)}]:_0x2b42ca===_0x5cd045(0x26a)?[{'tableId':_0x6ad4e4,'reason':'cell'}]:[{'tableId':_0x6ad4e4,'reason':_0x2b42ca===void 0x0?_0x5cd045(0x551):_0x5cd045(0x1e1)}];}function _0x1b28e5(_0x1da8fb,_0x1826a3,_0x6361ad,_0x372685){const _0x40cb3f=_0x36f63a;return _0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x20f)&&typeof _0x1da8fb[_0x1826a3+0x5]=='string'?[{'tableId':_0x6361ad,'reason':_0x40cb3f(0x49d),'recordId':_0x372685,'fieldId':String(_0x1da8fb[_0x1826a3+0x5])}]:_0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x38f)||_0x1da8fb[_0x1826a3+0x4]===_0x40cb3f(0x24d)?[]:[{'tableId':_0x6361ad,'reason':_0x40cb3f(0x1b5),'recordId':_0x372685}];}function _0x30131f(_0x5b102d){const _0x348c82=_0x36f63a;if(!Array[_0x348c82(0x2c4)](_0x5b102d))return[];let _0x56fcd0=_0x5b102d[_0x348c82(0x46a)](Array[_0x348c82(0x2c4)]);if(_0x56fcd0[_0x348c82(0x4cd)]>0x1&&_0x56fcd0[_0x348c82(0x4cd)]===_0x5b102d['length'])return _0x56fcd0;let _0x331528=_0x5b102d[_0x348c82(0x20e)](Array[_0x348c82(0x2c4)]);if(_0x331528>0x0&&_0x5b102d[_0x348c82(0x24f)](_0x331528)[_0x348c82(0x308)](Array[_0x348c82(0x2c4)])){let _0x57388b=_0x5b102d[_0x348c82(0x24f)](0x0,_0x331528);return _0x5b102d[_0x348c82(0x24f)](_0x331528)[_0x348c82(0x4a5)](_0x1312a4=>[..._0x57388b,..._0x1312a4]);}let _0x118e81=_0x5b102d['indexOf'](_0x348c82(0x594));if(_0x118e81===-0x1||typeof _0x5b102d[_0x118e81+0x1]!='string')return[];let _0x1200e5=String(_0x5b102d[_0x118e81+0x1]),_0x48844e=_0x5b102d[_0x348c82(0x24f)](_0x118e81+0x2)[_0x348c82(0x46a)](Array['isArray']);return _0x48844e[_0x348c82(0x4cd)]<=0x1?[]:_0x48844e[_0x348c82(0x4a5)](_0x216cdc=>[_0x348c82(0x594),_0x1200e5,..._0x216cdc]);}function _0x498cf1(_0x377253){const _0x5cc2be=_0x36f63a;let _0x451f07=new Set();return _0x377253[_0x5cc2be(0x46a)](_0x1b7637=>{const _0x36602e=_0x5cc2be;let _0x453459=JSON[_0x36602e(0x40a)](_0x1b7637);return!_0x451f07[_0x36602e(0x2fa)](_0x453459)&&(_0x451f07[_0x36602e(0x1ce)](_0x453459),!0x0);});}function _0x52d3e8(_0x1a9d71){const _0x3193a7=_0x36f63a;return _0x26cf17['Tools'][_0x3193a7(0x269)](_0x1a9d71);}function _0x41d627(_0x236723,_0x255568){const _0x4097d1=_0x36f63a;let _0x24c908=_0x47cc81(_0x255568);if(!_0x24c908[_0x4097d1(0x4cd)])return _0x52d3e8(_0x236723);let _0x18131e=_0x19696b(_0x236723),_0xcc4908=new Set();for(let _0x462896 of _0x24c908)_0x386856(_0x18131e,_0x462896,_0xcc4908);return _0x18131e;}function _0x47cc81(_0x377027){let _0x478976=[];return _0x3c6ef6(_0x377027,[],_0x478976),_0x478976;}function _0x3c6ef6(_0x19511b,_0x36dc16,_0x2424e2){const _0x59082e=_0x36f63a;if(!Array[_0x59082e(0x2c4)](_0x19511b))return;let _0x5d266e=[];for(let _0x857163 of _0x19511b)Array[_0x59082e(0x2c4)](_0x857163)?_0x3c6ef6(_0x857163,[..._0x36dc16,..._0x5d266e],_0x2424e2):_0x1d14e8(_0x857163)?_0x2424e2[_0x59082e(0x605)]([..._0x36dc16,..._0x5d266e]):(typeof _0x857163==_0x59082e(0x4c8)||typeof _0x857163=='number')&&_0x5d266e[_0x59082e(0x605)](_0x857163);}function _0x1d14e8(_0x551a0d){const _0xc13e75=_0x36f63a;if(!_0x551a0d||typeof _0x551a0d!=_0xc13e75(0x3e4)||Array[_0xc13e75(0x2c4)](_0x551a0d))return!0x1;let _0x55aaf4=_0x551a0d;return'i'in _0x55aaf4||'r'in _0x55aaf4||'p'in _0x55aaf4||'d'in _0x55aaf4||'es'in _0x55aaf4||_0xc13e75(0x42a)in _0x55aaf4||'et'in _0x55aaf4;}function _0x386856(_0x55df01,_0x5597ee,_0x37090b){const _0x196ae3=_0x36f63a;let _0x48e7b7=_0x55df01,_0x471a07=[];for(let _0x27275c=0x0;_0x27275c<_0x5597ee[_0x196ae3(0x4cd)]-0x1;_0x27275c++){let _0x341ef4=_0x5597ee[_0x27275c];_0x471a07[_0x196ae3(0x605)](_0x341ef4);let _0x49dd1d=_0x26df21(_0x48e7b7,_0x341ef4);if(!_0x3b1ab8(_0x49dd1d))return;let _0x2996f1=JSON['stringify'](_0x471a07);_0x37090b[_0x196ae3(0x2fa)](_0x2996f1)||(_0x504f9d(_0x48e7b7,_0x341ef4,_0x19696b(_0x49dd1d)),_0x37090b[_0x196ae3(0x1ce)](_0x2996f1));let _0x40a7f2=_0x26df21(_0x48e7b7,_0x341ef4);if(!_0x3b1ab8(_0x40a7f2))return;_0x48e7b7=_0x40a7f2;}}function _0x26df21(_0x5e678a,_0x207e6a){const _0x37edd9=_0x36f63a;return Array[_0x37edd9(0x2c4)](_0x5e678a)?typeof _0x207e6a=='number'?_0x5e678a[_0x207e6a]:void 0x0:Reflect[_0x37edd9(0x558)](_0x5e678a,_0x207e6a);}function _0x504f9d(_0x5cb58b,_0x260f01,_0x6078de){const _0x2fa137=_0x36f63a;Array['isArray'](_0x5cb58b)?typeof _0x260f01=='number'&&(_0x5cb58b[_0x260f01]=_0x6078de):Reflect[_0x2fa137(0x4a9)](_0x5cb58b,_0x260f01,_0x6078de);}function _0x3b1ab8(_0x24ea8f){const _0x62777c=_0x36f63a;return!!_0x24ea8f&&typeof _0x24ea8f==_0x62777c(0x3e4);}function _0x19696b(_0x99f49){const _0xf87159=_0x36f63a;return Array[_0xf87159(0x2c4)](_0x99f49)?_0x99f49['slice']():{..._0x99f49};}let _0x1dded8=_0x36f63a(0x37a),_0x458283=/\s+hh:mm\s*$/i,_0x38a511={'yyyy/mm/dd':_0x36f63a(0x48b),'yyyy-mm-dd':_0x36f63a(0x336),'mm-dd':_0x36f63a(0x5f2),'mm/dd/yyyy':_0x36f63a(0x495),'dd/mm/yyyy':_0x36f63a(0x5fe),'mmm\x20d,\x20yyyy':_0x36f63a(0x311)};function _0x3815fa(_0x5d5a3e,_0x2ea1e3=_0x26cf17[_0x36f63a(0x30c)][_0x36f63a(0x5b7)]){const _0x53b6cf=_0x36f63a;let _0x182cd8=(0x0,_0x26cf17[_0x53b6cf(0x593)])(_0x5d5a3e)[_0x53b6cf(0x32f)]();return(0x0,_0x26cf17['excelDateTimeSerial'])(new Date(_0x182cd8),_0x2ea1e3);}function _0x694e27(_0xfbfb1e,_0x102b28=_0x26cf17[_0x36f63a(0x30c)][_0x36f63a(0x5b7)]){const _0x5741ad=_0x36f63a;return(0x0,_0x26cf17[_0x5741ad(0x1fb)])(_0xfbfb1e,_0x102b28)[_0x5741ad(0x578)]();}function _0x141f6f(_0x24bbf1,_0x409a8c=_0x26cf17['DateSystem'][_0x36f63a(0x5b7)]){const _0x5d5be3=_0x36f63a;if(_0x24bbf1==null||_0x24bbf1==='')return null;if(_0x24bbf1 instanceof Date)return _0x3815fa(_0x24bbf1,_0x409a8c);if(typeof _0x24bbf1=='number')return Number['isFinite'](_0x24bbf1)?_0x24bbf1>0xf4240?_0x3815fa(_0x24bbf1,_0x409a8c):_0x24bbf1:null;let _0x1fe829=Date[_0x5d5be3(0x394)](String(_0x24bbf1));return Number['isNaN'](_0x1fe829)?null:_0x3815fa(_0x1fe829,_0x409a8c);}function _0x134f0b(_0x2a8b12,_0x49a617=_0x26cf17['DateSystem'][_0x36f63a(0x5b7)]){let _0x401a88=_0x141f6f(_0x2a8b12,_0x49a617);return _0x401a88==null?null:_0x694e27(_0x401a88,_0x49a617);}function _0x1d2879(_0x2752fa={}){const _0x248e70=_0x36f63a;let _0x311319=String(_0x2752fa[_0x248e70(0x3f1)]??_0x2752fa[_0x248e70(0x5da)]??_0x2752fa[_0x248e70(0x2d7)]??_0x1dded8)[_0x248e70(0x3ce)]()||_0x1dded8,_0x1a49a1=_0x458283[_0x248e70(0x484)](_0x311319);return{'pattern':_0x311319[_0x248e70(0x2ed)](_0x458283,'')||_0x1dded8,'includeTime':typeof _0x2752fa[_0x248e70(0x3d4)]==_0x248e70(0x49e)?_0x2752fa[_0x248e70(0x3d4)]:_0x1a49a1,'hourCycle':_0x2752fa[_0x248e70(0x32a)]===_0x248e70(0x3df)?_0x248e70(0x3df):_0x248e70(0x416)};}function _0x4ee288(_0x1efa97={}){let {format:_0x42b7d7,dateFormat:_0x4ec321,..._0x2a0954}=_0x1efa97;return{..._0x2a0954,..._0x1d2879(_0x1efa97)};}function _0x44d5ce(_0x10df3a,_0x2ed622={}){const _0x303047=_0x36f63a;let _0x40a876=_0x134f0b(_0x10df3a);if(_0x40a876==null||!Number['isFinite'](_0x40a876))return'';let _0x524878=_0x1d2879(_0x2ed622);return(0x0,_0x26cf17['dateKit'])(_0x40a876)[_0x303047(0x5da)](_0x136111(_0x524878));}function _0x136111(_0xb39894){const _0x5e9a09=_0x36f63a;let {pattern:_0x451e49,includeTime:_0x1c906a,hourCycle:_0x436095}=_0xb39894,_0x551fea=_0x38a511[_0x451e49]??_0x38a511[_0x1dded8];return _0x1c906a?_0x551fea+'\x20'+(_0x436095===_0x5e9a09(0x3df)?_0x5e9a09(0x21e):'HH:mm'):_0x551fea;}let _0x8f7e57={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x5dc9a9=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4b5)]]);function _0x175c6c(_0xda5847){const _0x5e8f47=_0x36f63a;switch(_0xda5847){case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x1ab)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x4b6)]:case _0x26cf17['BaseFieldType']['Progress']:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x372)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x56e)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x376)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x431)],_0x26cf17['BaseConditionalColorOperator']['IS_EMPTY'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];case _0x26cf17['BaseFieldType'][_0x5e8f47(0x1be)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x230)]:case _0x26cf17[_0x5e8f47(0x22d)][_0x5e8f47(0x217)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x56e)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x2bb)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x502)],_0x26cf17['BaseConditionalColorOperator'][_0x5e8f47(0x2ae)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];case _0x26cf17['BaseFieldType'][_0x5e8f47(0x428)]:return[_0x26cf17[_0x5e8f47(0x218)]['IS'],_0x26cf17[_0x5e8f47(0x218)]['IS_NOT']];default:return[_0x26cf17['BaseConditionalColorOperator']['IS'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x56e)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x505)],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x511)],_0x26cf17['BaseConditionalColorOperator']['IS_EMPTY'],_0x26cf17[_0x5e8f47(0x218)][_0x5e8f47(0x42e)]];}}function _0x35496(_0x1e0d37){const _0x984dde=_0x36f63a;return _0x1e0d37===_0x26cf17[_0x984dde(0x22d)]['Date']||_0x1e0d37===_0x26cf17[_0x984dde(0x22d)]['CreatedAt']||_0x1e0d37===_0x26cf17['BaseFieldType'][_0x984dde(0x217)];}function _0x6a7e7(_0x1ab321,_0x35412b){const _0x20c289=_0x36f63a;return _0x1ab321==null&&_0x35412b==null?0x0:_0x1ab321==null?-0x1:_0x35412b==null?0x1:typeof _0x1ab321==_0x20c289(0x5ac)&&typeof _0x35412b==_0x20c289(0x5ac)?_0x1ab321-_0x35412b:String(_0x1ab321)[_0x20c289(0x4ed)](String(_0x35412b));}function _0x300f16(_0x2b5b40,_0x9c60af,_0x51bb44,_0x1e55ca,_0x2f78a6={}){const _0x48ced4=_0x36f63a;if(_0x9c60af===_0x48ced4(0x488))return _0x527442(_0x2b5b40);if(_0x9c60af===_0x48ced4(0x4ec))return!_0x527442(_0x2b5b40);switch(_0x1e55ca['type']){case _0x26cf17[_0x48ced4(0x22d)]['Number']:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x4b6)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x3cf)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x372)]:return _0x3ad306(_0x2b5b40,_0x9c60af,_0x51bb44);case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x1be)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x230)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x217)]:return _0x338902(_0x2b5b40,_0x9c60af,_0x51bb44,_0x2f78a6);case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x428)]:return _0x358893(_0x2b5b40,_0x9c60af,_0x51bb44);case _0x26cf17[_0x48ced4(0x22d)]['SingleSelect']:case _0x26cf17['BaseFieldType'][_0x48ced4(0x36d)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x386)]:case _0x26cf17[_0x48ced4(0x22d)][_0x48ced4(0x4ef)]:return _0x4223d5(_0x2b5b40,_0x9c60af,_0x51bb44,_0x1e55ca);default:return _0x28a3f3(_0x2b5b40,_0x9c60af,_0x51bb44);}}function _0x527442(_0x49728e){const _0x21bbf1=_0x36f63a;return _0x49728e==null?!0x0:Array[_0x21bbf1(0x2c4)](_0x49728e)?_0x49728e[_0x21bbf1(0x4cd)]===0x0:typeof _0x49728e==_0x21bbf1(0x4c8)&&_0x49728e[_0x21bbf1(0x3ce)]()==='';}function _0x3ad306(_0x3c9b85,_0x3a4b65,_0x51bd3d){const _0x5133cf=_0x36f63a;let _0x1a372e=_0x5e9e61(_0x3c9b85),_0x489635=_0x5e9e61(_0x51bd3d);if(_0x1a372e==null||_0x489635==null)return!0x1;switch(_0x3a4b65){case'is':return _0x1a372e===_0x489635;case'isNot':return _0x1a372e!==_0x489635;case _0x5133cf(0x2fc):return _0x1a372e>_0x489635;case _0x5133cf(0x1df):return _0x1a372e>=_0x489635;case _0x5133cf(0x429):return _0x1a372e<_0x489635;case _0x5133cf(0x363):return _0x1a372e<=_0x489635;default:return!0x1;}}function _0x5e9e61(_0x1b98e2){if(_0x1b98e2==null||_0x1b98e2==='')return null;let _0x38a119=Number(_0x1b98e2);return Number['isFinite'](_0x38a119)?_0x38a119:null;}function _0x338902(_0x1ceefb,_0x3d98ff,_0x1a74a7,_0x3af6f9){const _0x4f6792=_0x36f63a;let _0x1aedbf=_0x3fa497(_0x1ceefb);if(_0x1aedbf==null)return!0x1;let _0x5be220=_0x38d1a1(_0x3af6f9[_0x4f6792(0x293)]??_0x26cf17[_0x4f6792(0x5dc)][_0x4f6792(0x273)],_0x1a74a7,_0x3af6f9[_0x4f6792(0x5c9)]);if(!_0x5be220)return!0x1;switch(_0x3d98ff){case _0x26cf17[_0x4f6792(0x218)]['IS']:return _0x1aedbf>=_0x5be220[_0x4f6792(0x22c)]&&_0x1aedbf<=_0x5be220['end'];case _0x26cf17['BaseConditionalColorOperator'][_0x4f6792(0x56e)]:return _0x1aedbf<_0x5be220[_0x4f6792(0x22c)]||_0x1aedbf>_0x5be220[_0x4f6792(0x402)];case _0x26cf17[_0x4f6792(0x218)][_0x4f6792(0x2bb)]:return _0x1aedbf<_0x5be220[_0x4f6792(0x22c)];case _0x26cf17[_0x4f6792(0x218)][_0x4f6792(0x502)]:return _0x1aedbf>_0x5be220[_0x4f6792(0x402)];default:return!0x1;}}function _0x38d1a1(_0x35ca95,_0x236e90,_0x57d6d=Date[_0x36f63a(0x5c9)]()){const _0x135c12=_0x36f63a;let _0x97150b=_0x2132f1(_0x57d6d);switch(_0x35ca95){case _0x26cf17[_0x135c12(0x5dc)]['EXACT']:{let _0x3c566e=_0x3fa497(_0x236e90);return _0x3c566e==null?null:_0x3734e0(_0x3c566e,0x0,0x1);}case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x1ed)]:return _0x3734e0(_0x97150b,0x0,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x208)]:return _0x3734e0(_0x97150b,0x1,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x401)]:return _0x3734e0(_0x97150b,-0x1,0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x1c5)]:return _0x15ecf3(_0x97150b,0x0);case _0x26cf17[_0x135c12(0x5dc)]['LAST_WEEK']:return _0x15ecf3(_0x97150b,-0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x56b)]:return _0x2e5f3f(_0x97150b,0x0);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x314)]:return _0x2e5f3f(_0x97150b,-0x1);case _0x26cf17[_0x135c12(0x5dc)][_0x135c12(0x430)]:return _0x3734e0(_0x97150b,-0x6,0x7);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x34a)]:return _0x3734e0(_0x97150b,0x0,0x7);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x3bb)]:return _0x3734e0(_0x97150b,-0x1d,0x1e);case _0x26cf17['BaseConditionalDateMode'][_0x135c12(0x4d6)]:return _0x3734e0(_0x97150b,0x0,0x1e);}}function _0x3fa497(_0x6ba0f0){let _0x578955=_0x141f6f(_0x6ba0f0);return _0x578955==null?null:_0x2132f1(_0x694e27(_0x578955));}function _0x2132f1(_0x4a5265){const _0x523ad4=_0x36f63a;let _0x4eb5b7=new Date(_0x4a5265);return _0x4eb5b7[_0x523ad4(0x515)](0x0,0x0,0x0,0x0),_0x4eb5b7[_0x523ad4(0x578)]();}function _0x15ecf3(_0x4c89a8,_0x3aa143){const _0x403dd3=_0x36f63a;return _0x3734e0(_0x4c89a8,-((new Date(_0x4c89a8)[_0x403dd3(0x4b8)]()+0x6)%0x7)+_0x3aa143*0x7,0x7);}function _0x3734e0(_0x2e2272,_0x311bb2,_0x2adcb2){const _0x1a09b5=_0x36f63a;let _0x48b6fb=(0x0,_0x26cf17[_0x1a09b5(0x593)])(_0x2e2272)[_0x1a09b5(0x1ce)](_0x311bb2,'day');return{'start':_0x48b6fb[_0x1a09b5(0x32f)](),'end':_0x48b6fb[_0x1a09b5(0x1ce)](_0x2adcb2,'day')[_0x1a09b5(0x32f)]()-0x1};}function _0x2e5f3f(_0x41e166,_0x3480ca){const _0x294946=_0x36f63a;let _0x55e70d=new Date(_0x41e166),_0x4bb460=new Date(_0x55e70d[_0x294946(0x4ee)](),_0x55e70d[_0x294946(0x3c3)]()+_0x3480ca,0x1),_0x4f07c0=new Date(_0x55e70d[_0x294946(0x4ee)](),_0x55e70d[_0x294946(0x3c3)]()+_0x3480ca+0x1,0x1);return{'start':_0x4bb460[_0x294946(0x578)](),'end':_0x4f07c0[_0x294946(0x578)]()-0x1};}function _0x358893(_0x598cd3,_0xd8bcd6,_0x31c5f5){const _0x40d0a9=_0x36f63a;let _0x128826=_0x5d4472(_0x598cd3),_0xbc4abe=_0x5d4472(_0x31c5f5);switch(_0xd8bcd6){case'is':return _0x128826===_0xbc4abe;case _0x40d0a9(0x43b):return _0x128826!==_0xbc4abe;default:return!0x1;}}function _0x5d4472(_0x165587){const _0x314162=_0x36f63a;return _0x165587===!0x0||_0x165587===_0x314162(0x4f4)||_0x165587===0x1||_0x165587==='1';}function _0x4223d5(_0x34665a,_0x6c91bf,_0x48fbed,_0x3612cf){const _0x35f3d3=_0x36f63a;let _0x15519a=_0x1dfd10(_0x34665a,_0x3612cf),_0x109ebb=_0x1dfd10(_0x48fbed,_0x3612cf),_0x28f605=_0x109ebb['length']>0x0&&_0x109ebb[_0x35f3d3(0x2c3)](_0x4865f1=>_0x15519a['includes'](_0x4865f1));switch(_0x6c91bf){case'is':case'contains':return _0x28f605;case'isNot':case _0x35f3d3(0x1a1):return!_0x28f605;default:return!0x1;}}function _0x28a3f3(_0x379821,_0x243a3c,_0x4a43c8){const _0xf13499=_0x36f63a;let _0x34a394=_0x55d267(_0x379821),_0x2acc99=_0x55d267(_0x4a43c8);switch(_0x243a3c){case'is':return _0x34a394===_0x2acc99;case'isNot':return _0x34a394!==_0x2acc99;case _0xf13499(0x5a6):return _0x2acc99?_0x34a394[_0xf13499(0x358)](_0x2acc99):!0x1;case'notContains':return!_0x2acc99||!_0x34a394[_0xf13499(0x358)](_0x2acc99);default:return!0x1;}}function _0x55d267(_0x1cc9a3){const _0x45405f=_0x36f63a;if(Array[_0x45405f(0x2c4)](_0x1cc9a3))return _0x1cc9a3[_0x45405f(0x4a5)](_0x55f8f4=>_0x55d267(_0x55f8f4))[_0x45405f(0x241)]('\x0a');if(_0x1cc9a3&&typeof _0x1cc9a3==_0x45405f(0x3e4)){let _0x195404=_0x1cc9a3;return String(_0x195404[_0x45405f(0x3f8)]??_0x195404[_0x45405f(0x496)]??_0x195404[_0x45405f(0x1c8)]??_0x195404[_0x45405f(0x5a4)]??_0x195404['id']??'')['trim']()['toLowerCase']();}return String(_0x1cc9a3??'')[_0x45405f(0x3ce)]()[_0x45405f(0x1fd)]();}function _0x1dfd10(_0x52cc8d,_0x24f1f8){const _0x7a2152=_0x36f63a;let _0x2d39fe=_0x1bef16(_0x52cc8d),_0x15f86b=_0x492506(_0x24f1f8['config']??{});return _0x2d39fe[_0x7a2152(0x35a)](_0x408a65=>_0x15f86b[_0x7a2152(0x558)](_0x408a65)??[_0x408a65])['filter']((_0x8e674c,_0x3de75c,_0x2af452)=>_0x8e674c!==''&&_0x2af452['indexOf'](_0x8e674c)===_0x3de75c);}function _0x1bef16(_0x42adb2){const _0x8751b=_0x36f63a;if(_0x42adb2==null||_0x42adb2==='')return[];if(Array['isArray'](_0x42adb2))return _0x42adb2[_0x8751b(0x35a)](_0x8f9d57=>_0x1bef16(_0x8f9d57));if(_0x42adb2&&typeof _0x42adb2==_0x8751b(0x3e4)){let _0x4bc3b6=_0x42adb2;return['id',_0x8751b(0x3f8),_0x8751b(0x496),_0x8751b(0x5a4),_0x8751b(0x1c8)]['flatMap'](_0xea03d9=>_0x1bef16(_0x4bc3b6[_0xea03d9]))['filter']((_0x25ae2d,_0x3ee522,_0x32503f)=>_0x32503f[_0x8751b(0x499)](_0x25ae2d)===_0x3ee522);}return[_0x55d267(_0x42adb2)];}function _0x492506(_0x25ce88){const _0x4061f5=_0x36f63a;let _0x403a9d=new Map();return(Array[_0x4061f5(0x2c4)](_0x25ce88[_0x4061f5(0x45b)])?_0x25ce88['options']:[])['forEach'](_0x24d140=>{const _0x5ab96c=_0x4061f5;if(!_0x24d140||typeof _0x24d140!=_0x5ab96c(0x3e4))return;let _0x43ae30=_0x1bef16(_0x24d140),_0x3693fc=_0x43ae30['filter']((_0x5546fb,_0x1fa721)=>_0x5546fb!==''&&_0x43ae30[_0x5ab96c(0x499)](_0x5546fb)===_0x1fa721);_0x3693fc[_0x5ab96c(0x1bf)](_0x10db46=>_0x403a9d[_0x5ab96c(0x4a9)](_0x10db46,_0x3693fc));}),_0x403a9d;}function _0x2046a7(_0x1d254d,_0x413e2a={},_0xc6e084=_0x402224=>_0x402224,_0xd8ec70={}){const _0x59baa3=_0x36f63a;let _0x4966f7=!_0x5dc9a9[_0x59baa3(0x2fa)](_0x1d254d),_0x1c9f2f=_0xc6e084??(_0x14e371=>_0x14e371);return{'type':_0x1d254d,'i18nKey':_0x59baa3(0x2cd)+_0x1d254d,'enabled':_0x4966f7,'visibleInCreateMenu':_0x4966f7,'createDefaultConfig':_0xd8ec70[_0x59baa3(0x2aa)]??(()=>({})),'createDefaultValue':_0xd8ec70[_0x59baa3(0x493)]??(_0x20d66f=>_0x20d66f[_0x59baa3(0x4e8)]??null),'normalize':(_0x11db8a,_0x1a8109)=>_0x1c9f2f(_0x11db8a,_0x1a8109),'validate':(_0x24035d,_0x5b7b86)=>{const _0x380438=_0x59baa3;var _0x2a6331;return _0x4966f7?((_0x2a6331=_0xd8ec70['validate'])==null?void 0x0:_0x2a6331[_0x380438(0x5b6)](_0xd8ec70,_0x24035d,_0x5b7b86))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x7011dd,_0x354953)=>_0x6a7e7(_0x7011dd,_0x354953),'filter':(_0x4f0d62,_0x5dcb3b,_0xe4e05b,_0x392e7f)=>_0x300f16(_0x4f0d62,_0x5dcb3b,_0xe4e05b,_0x392e7f),'toPlainText':_0xd8ec70['toPlainText']??(_0x289574=>_0x289574==null?'':String(_0x289574)),'fromPlainText':_0xd8ec70['fromPlainText']??(_0x8d3209=>_0x1c9f2f(_0x8d3209,{'id':'','name':'','type':_0x1d254d,'config':{}})),'getCapabilities':()=>({..._0x8f7e57,..._0x413e2a,'editable':_0x4966f7&&(_0x413e2a[_0x59baa3(0x586)]??_0x8f7e57[_0x59baa3(0x586)])})};}function _0x5f0176(){const _0x4f7597=_0x36f63a;return[_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x4f7597(0x370)}),'createDefaultValue':_0x1df05e=>_0x1df05e[_0x4f7597(0x4e8)]??''}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x537)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0xc56930=>_0xc56930==null||_0xc56930===''?null:String(_0xc56930),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4f7597(0x539)}})}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3477fc=>Array['isArray'](_0x3477fc)?_0x3477fc[_0x4f7597(0x4a5)](String):_0x3477fc==null?[]:[String(_0x3477fc)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4f7597(0x539)}}),'createDefaultValue':_0x32608e=>_0x32608e[_0x4f7597(0x4e8)]??[]}),_0x2046a7(_0x26cf17['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x2134a0,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0xe7d079}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x4ef)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3867e4,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x4f7597(0x58b)}),'createDefaultValue':_0x3663d6=>_0x3663d6['defaultValue']??[],'validate':_0x31601f}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x1be)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3ad5ef=>_0x141f6f(_0x3ad5ef),{'createDefaultConfig':()=>_0xba34eb(),'validate':_0x13e8ac}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x5899cd=>_0x5899cd==null?[]:Array[_0x4f7597(0x2c4)](_0x5899cd)?_0x5899cd:[_0x5899cd],{'createDefaultValue':_0x421bd9=>_0x421bd9[_0x4f7597(0x4e8)]??[]}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x1ab)],{},_0x397f8d=>_0x397f8d==null||_0x397f8d===''?null:Number(_0x397f8d),{'createDefaultConfig':()=>_0x22b006(),'validate':_0x5675fb}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x428)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45dfa0=>_0x45dfa0===!0x0||_0x45dfa0===_0x4f7597(0x4f4)||_0x45dfa0===0x1||_0x45dfa0==='1',{'createDefaultConfig':()=>({'icon':_0x4f7597(0x616),'color':_0x4f7597(0x37b)}),'createDefaultValue':_0x1e6360=>_0x1e6360[_0x4f7597(0x4e8)]??!0x1,'validate':_0x26af03=>typeof _0x26af03==_0x4f7597(0x49e)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4f7597(0x516)}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Link'],{'supportsRelation':!0x0},_0x5619a3,{'createDefaultConfig':()=>({'placeholder':_0x4f7597(0x4e3)}),'toPlainText':_0x53e61a=>_0x40b7e5(_0x53e61a),'fromPlainText':_0x179286=>_0x5619a3(_0x179286)}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x274)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x4f7597(0x561),'pattern':_0x4f7597(0x432)}}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x473)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x4f7597(0x553)}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x42c)],{'usableAsTitle':!0x0},_0x398704=>_0x398704==null?null:String(_0x398704)['trim'](),{'validate':_0x22358d=>_0x22358d==null||_0x22358d===''||/^\+?[0-9 ()-]{6,20}$/[_0x4f7597(0x484)](String(_0x22358d))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['Email'],{'usableAsTitle':!0x0},_0x2d39f1=>_0x2d39f1==null?null:String(_0x2d39f1)[_0x4f7597(0x3ce)](),{'validate':_0xdd81c8=>_0xdd81c8==null||_0xdd81c8===''||_0x2716b9(String(_0xdd81c8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4f7597(0x514)}}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x3cf)],{'usableAsGanttProgress':!0x0},_0x14b961=>_0x14b961==null||_0x14b961===''?null:Number(_0x14b961),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x4f7597(0x51c),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2dd768,_0x4f1384)=>_0x793dfd(_0x2dd768,_0x4f1384,_0x4f7597(0x3fa))}),_0x2046a7(_0x26cf17['BaseFieldType']['Currency'],{},_0x46998f=>_0x46998f==null||_0x46998f===''?null:Number(_0x46998f),{'createDefaultConfig':()=>({..._0x22b006(),'currencySymbol':'$'}),'validate':_0x5675fb}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x372)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x9719be=>_0x9719be==null||_0x9719be===''?null:Number(_0x9719be),{'createDefaultConfig':()=>({'icon':_0x4f7597(0x414),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x4c85a2,_0x2e84c2)=>_0x793dfd(_0x4c85a2,_0x2e84c2,_0x4f7597(0x588))}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x393)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x606009,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x5249df,_0x56bd2b)=>_0x31953c(_0x5249df,_0x56bd2b[_0x4f7597(0x4cc)][_0x4f7597(0x4d4)]===!0x0)}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)]['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x46e9e8=>_0x46e9e8==null?null:String(_0x46e9e8),{'createDefaultConfig':()=>({'provider':_0x4f7597(0x23d)}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17['BaseFieldType'][_0x4f7597(0x30b)],{'editable':!0x1,'groupable':!0x0},_0xeb3b5=>_0xeb3b5==null?null:String(_0xeb3b5),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x230)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1fa67d=>_0x141f6f(_0x1fa67d),{'createDefaultConfig':()=>_0xba34eb(),'createDefaultValue':()=>null,'validate':_0x13e8ac}),_0x2046a7(_0x26cf17[_0x4f7597(0x22d)][_0x4f7597(0x217)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5d0be3=>_0x141f6f(_0x5d0be3),{'createDefaultConfig':()=>_0xba34eb(),'createDefaultValue':()=>null,'validate':_0x13e8ac})];}function _0x22b006(){const _0x38775a=_0x36f63a;return{'pattern':_0x38775a(0x1c6),'decimalPlaces':0x2,'separatorStyle':_0x38775a(0x222),'useThousands':!0x0,'abbreviation':_0x38775a(0x272),'allowNegative':!0x0};}function _0xba34eb(){const _0x590859=_0x36f63a;return{'locale':_0x590859(0x24e),'pattern':_0x590859(0x37a),'includeTime':!0x1,'hourCycle':_0x590859(0x416),'defaultMode':'none'};}function _0x3867e4(_0x40438f){const _0xfb1fe6=_0x36f63a;return _0x40438f==null||_0x40438f===''?[]:Array[_0xfb1fe6(0x2c4)](_0x40438f)?_0x40438f[_0xfb1fe6(0x4a5)](String):[String(_0x40438f)];}function _0x606009(_0x17f2c8){const _0x3e092c=_0x36f63a;return typeof _0x17f2c8==_0x3e092c(0x4c8)?_0x17f2c8:'';}function _0x2134a0(_0x45a946,_0x585d3a){const _0x538b8d=_0x36f63a;return _0x45a946==null||_0x45a946===''?_0x585d3a['config']['allowMultiple']===!0x0?[]:null:_0x585d3a[_0x538b8d(0x4cc)]['allowMultiple']===!0x0?Array[_0x538b8d(0x2c4)](_0x45a946)?_0x45a946[_0x538b8d(0x4a5)](String):[String(_0x45a946)]:Array[_0x538b8d(0x2c4)](_0x45a946)?String(_0x45a946[0x0]??'')||null:String(_0x45a946);}function _0xe7d079(_0xe1be1,_0x12f977){const _0x2a6475=_0x36f63a;return _0x12f977[_0x2a6475(0x4cc)][_0x2a6475(0x4a1)]===!0x0?_0x31601f(_0xe1be1):_0xe1be1==null||_0xe1be1===''||typeof _0xe1be1==_0x2a6475(0x4c8)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2a6475(0x3ac)};}function _0x31601f(_0x4cca78){const _0x3e9fe2=_0x36f63a;return _0x4cca78==null||Array[_0x3e9fe2(0x2c4)](_0x4cca78)&&_0x4cca78[_0x3e9fe2(0x308)](_0x3cb979=>typeof _0x3cb979=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3e9fe2(0x441)};}function _0x13e8ac(_0x142341){const _0x2acaaa=_0x36f63a;return _0x142341==null||typeof _0x142341==_0x2acaaa(0x5ac)&&Number[_0x2acaaa(0x26b)](_0x142341)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2acaaa(0x2fd)};}function _0x5675fb(_0x1d4d84,_0x3d9bcc){const _0x2f205f=_0x36f63a;return _0x1d4d84==null||_0x1d4d84===''?{'valid':!0x0}:typeof _0x1d4d84!=_0x2f205f(0x5ac)||!Number['isFinite'](_0x1d4d84)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x3d9bcc[_0x2f205f(0x4cc)]['allowNegative']===!0x1&&_0x1d4d84<0x0?{'valid':!0x1,'reason':_0x2f205f(0x27e)}:{'valid':!0x0};}function _0x793dfd(_0x282370,_0x3ba734,_0x440e2a){const _0x50efff=_0x36f63a;let _0x15fe8a=_0x5675fb(_0x282370,_0x3ba734);if(!_0x15fe8a[_0x50efff(0x50f)]||_0x282370==null||_0x282370==='')return _0x15fe8a;let _0x5966a4=Number(_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x275)]??_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x22c)]??0x0),_0x39c9ec=Number(_0x3ba734[_0x50efff(0x4cc)][_0x50efff(0x5a7)]??_0x3ba734['config'][_0x50efff(0x402)]??0x64),_0x5750a5=Number(_0x282370);return _0x5750a5>=_0x5966a4&&_0x5750a5<=_0x39c9ec?{'valid':!0x0}:{'valid':!0x1,'reason':_0x440e2a};}function _0x5619a3(_0x269c55){const _0x11ea54=_0x36f63a;if(_0x269c55==null||_0x269c55==='')return null;if(typeof _0x269c55==_0x11ea54(0x3e4)&&!Array[_0x11ea54(0x2c4)](_0x269c55)){let _0x5883e7=_0x269c55,_0x2fa986=typeof _0x5883e7[_0x11ea54(0x1c8)]==_0x11ea54(0x4c8)?_0x5883e7['text'][_0x11ea54(0x3ce)]():'',_0x1041d8=typeof _0x5883e7[_0x11ea54(0x3f2)]=='string'?_0x5883e7[_0x11ea54(0x3f2)]['trim']():'',_0x24331b=_0x50e24f(_0x1041d8||_0x2fa986);return _0x24331b?{'text':_0x2fa986||_0x1041d8||_0x24331b,'url':_0x24331b}:null;}let _0x1a6900=String(_0x269c55)['trim'](),_0x2f215a=_0x50e24f(_0x1a6900);return _0x2f215a?{'text':_0x1a6900,'url':_0x2f215a}:null;}function _0x40b7e5(_0x35d6e9){const _0x5a6d02=_0x36f63a;if(_0x35d6e9==null)return'';if(typeof _0x35d6e9==_0x5a6d02(0x3e4)&&!Array[_0x5a6d02(0x2c4)](_0x35d6e9)){let _0x583a2a=_0x35d6e9;return String(_0x583a2a[_0x5a6d02(0x1c8)]||_0x583a2a[_0x5a6d02(0x3f2)]||'');}return String(_0x35d6e9);}function _0x50e24f(_0x14ac43){const _0xb82060=_0x36f63a;let _0x661e3a=_0x14ac43['trim']();if(!_0x661e3a)return'';let _0x1ee874=/^[a-z][a-z\d+.-]*:/i[_0xb82060(0x484)](_0x661e3a)?_0x661e3a:_0x661e3a[_0xb82060(0x57d)]('//')?_0xb82060(0x480)+_0x661e3a:_0xb82060(0x290)+_0x661e3a;try{let _0x265a7a=new URL(_0x1ee874);return _0x265a7a[_0xb82060(0x4f3)]===_0xb82060(0x1a5)||_0x265a7a[_0xb82060(0x4f3)]===_0xb82060(0x480)?_0x265a7a[_0xb82060(0x506)]:'';}catch{return'';}}function _0x2716b9(_0x473ef0){const _0x237313=_0x36f63a;let _0x55bf98=_0x473ef0[_0x237313(0x499)]('@');if(_0x55bf98<=0x0||_0x55bf98!==_0x473ef0['lastIndexOf']('@'))return!0x1;let _0x9eb87f=_0x473ef0[_0x237313(0x24f)](_0x55bf98+0x1);return _0x9eb87f[_0x237313(0x358)]('.')&&!_0x473ef0[_0x237313(0x358)]('\x20')&&!_0x9eb87f[_0x237313(0x57d)]('.')&&!_0x9eb87f[_0x237313(0x50c)]('.');}let _0x1db9f2={'table':_0x193ffc=>[_0x36f63a(0x594),_0x193ffc],'field':(_0x333cbb,_0x3e55e7)=>[_0x36f63a(0x594),_0x333cbb,_0x36f63a(0x458),_0x3e55e7],'fieldOrder':(_0x10754f,_0x1ab863)=>[_0x36f63a(0x594),_0x10754f,_0x36f63a(0x1b2),_0x1ab863],'record':(_0x394b2d,_0x5a0e09)=>[_0x36f63a(0x594),_0x394b2d,_0x36f63a(0x4c9),_0x5a0e09],'cell':(_0x3b8ba2,_0x2feddd,_0x21538e)=>[_0x36f63a(0x594),_0x3b8ba2,_0x36f63a(0x4c9),_0x2feddd,_0x36f63a(0x20f),_0x21538e],'cellData':(_0x3a633c,_0x1092d7,_0x7d1bd8)=>[_0x36f63a(0x594),_0x3a633c,_0x36f63a(0x61f),String(_0x1092d7),String(_0x7d1bd8)],'attachmentSet':(_0x2587de,_0x25ec50)=>[_0x36f63a(0x594),_0x2587de,_0x36f63a(0x26a),'attachmentSets',_0x25ec50],'attachment':(_0x557e16,_0x4c9c87)=>[_0x36f63a(0x594),_0x557e16,_0x36f63a(0x26a),_0x36f63a(0x249),_0x4c9c87],'view':(_0xb0aa91,_0x2141dd)=>[_0x36f63a(0x594),_0xb0aa91,_0x36f63a(0x3d8),_0x2141dd],'viewFieldHidden':(_0x146541,_0x535374,_0x1d13c2)=>[_0x36f63a(0x594),_0x146541,_0x36f63a(0x3d8),_0x535374,_0x36f63a(0x47f),_0x1d13c2,'hidden']};var _0x3c2e91=class{[_0x36f63a(0x3fd)](_0x4bb497,_0x1fb714){const _0x4ad71a=_0x36f63a;let _0x4fea37=this[_0x4ad71a(0x450)](_0x4bb497,_0x4bb497['name'],_0x1fb714);return _0x396f18([this['_replaceOptional']([_0x4ad71a(0x3f8)],_0x4bb497[_0x4ad71a(0x3f8)],_0x1fb714),..._0x4fea37?[_0x4fea37]:[]]);}[_0x36f63a(0x450)](_0xf5d9b5,_0x4b3cf3,_0x1c3f17){const _0x15c488=_0x36f63a;let _0xc0e1d0=Object['values'](_0xf5d9b5[_0x15c488(0x594)])[_0x15c488(0x35a)](_0x36ba9a=>Object[_0x15c488(0x20f)](_0x36ba9a[_0x15c488(0x458)])['flatMap'](_0x42223a=>{const _0x3733da=_0x15c488;var _0x132665,_0xf84c85;if(_0x42223a[_0x3733da(0x5d6)]!==_0x26cf17[_0x3733da(0x22d)][_0x3733da(0x274)])return[];let _0x4310d8=String(((_0x132665=_0x42223a[_0x3733da(0x4cc)])==null?void 0x0:_0x132665[_0x3733da(0x5c4)])??''),_0x34cb18=(0x0,_0x386470[_0x3733da(0x5fa)])(_0x4310d8,_0x4b3cf3,_0x1c3f17);return _0x34cb18===_0x4310d8?[]:[this['_replaceOptional']([..._0x1db9f2[_0x3733da(0x5f1)](_0x36ba9a['id'],_0x42223a['id']),_0x3733da(0x4cc),_0x3733da(0x5c4)],(_0xf84c85=_0x42223a[_0x3733da(0x4cc)])==null?void 0x0:_0xf84c85[_0x3733da(0x5c4)],_0x34cb18)];}));return _0xc0e1d0['length']>0x0?_0x396f18(_0xc0e1d0):void 0x0;}[_0x36f63a(0x4af)](_0x52ded9,_0x58d93f,_0x23b324=_0x52ded9[_0x36f63a(0x260)][_0x36f63a(0x4cd)]){const _0xbe4eb=_0x36f63a;let _0x154755=(0x0,_0x26cf17[_0xbe4eb(0x305)])(_0x58d93f[_0xbe4eb(0x3f8)],(0x0,_0x26cf17[_0xbe4eb(0x528)])(_0x52ded9)[_0xbe4eb(0x20f)](),_0x58d93f['formulaName']),_0x259d35=_0x58d93f[_0xbe4eb(0x242)]===_0x154755?_0x58d93f:{..._0x58d93f,'formulaName':_0x154755};return _0x396f18([...this[_0xbe4eb(0x2bf)](_0x52ded9),_0x26cf17[_0xbe4eb(0x2a4)]['insertOp'](_0x1db9f2[_0xbe4eb(0x551)](_0x58d93f['id']),_0x259d35),_0x26cf17[_0xbe4eb(0x2a4)][_0xbe4eb(0x4b1)]([_0xbe4eb(0x260),_0x23b324],_0x58d93f['id'])]);}['renameTable'](_0xc3e1be,_0x67dc2a,_0x5b693b){const _0x3a669a=_0x36f63a;let _0xbe41f4=_0xc3e1be[_0x3a669a(0x594)][_0x67dc2a];return _0x396f18([...this[_0x3a669a(0x2bf)](_0xc3e1be),_0x26cf17[_0x3a669a(0x2a4)][_0x3a669a(0x30d)]([..._0x1db9f2['table'](_0x67dc2a),'name'],_0xbe41f4['name'],_0x5b693b)]);}[_0x36f63a(0x3b1)](_0x41d5a3,_0x3adbbc){const _0x54097b=_0x36f63a;let _0x4a835f=_0x41d5a3[_0x54097b(0x594)][_0x3adbbc],_0x4c80a0=_0x41d5a3['tableOrder'][_0x54097b(0x499)](_0x3adbbc);return _0x396f18([...this[_0x54097b(0x2bf)](_0x41d5a3,new Set([_0x3adbbc])),_0x26cf17[_0x54097b(0x2a4)][_0x54097b(0x427)](_0x1db9f2[_0x54097b(0x551)](_0x3adbbc),_0x4a835f),_0x26cf17['JSON1']['removeOp']([_0x54097b(0x260),_0x4c80a0],_0x3adbbc)]);}[_0x36f63a(0x276)](_0x3db6f2,_0x21ac4a,_0x4364e9){const _0x1406e3=_0x36f63a;return this[_0x1406e3(0x24a)](_0x3db6f2,_0x21ac4a,[_0x4364e9]);}[_0x36f63a(0x24a)](_0x4a696d,_0x270b86,_0x5d69d1){const _0x5be17d=_0x36f63a;let _0x49faa2=_0x4a696d['tables'][_0x270b86],_0x59683d=_0x5d69d1[_0x5be17d(0x46a)](_0x3aeb6c=>_0x3aeb6c&&!_0x49faa2[_0x5be17d(0x4c9)][_0x3aeb6c['id']])[_0x5be17d(0x4a5)](_0x1baa7f=>({..._0x1baa7f,'values':{..._0x1baa7f[_0x5be17d(0x20f)],[_0x26cf17[_0x5be17d(0x478)]]:_0x1baa7f['id']}}));if(!_0x59683d[_0x5be17d(0x4cd)])return _0x26cf17[_0x5be17d(0x2a4)][_0x5be17d(0x30d)]([..._0x1db9f2[_0x5be17d(0x551)](_0x270b86),_0x5be17d(0x4c9)],_0x49faa2[_0x5be17d(0x4c9)],_0x49faa2[_0x5be17d(0x4c9)]);let _0xb6faac=new _0x26cf17['JSON1']['WriteCursor'](),_0x2566bf=[..._0x59683d][_0x5be17d(0x30f)]((_0x2f755a,_0x22a886)=>_0x2f755a['id']<_0x22a886['id']?-0x1:+(_0x2f755a['id']>_0x22a886['id'])),_0x337d9e=[..._0x1db9f2[_0x5be17d(0x551)](_0x270b86),'records'];_0xb6faac[_0x5be17d(0x5a8)](_0x337d9e);for(let _0xa4f87 of _0x2566bf)_0xb6faac[_0x5be17d(0x21d)](_0xa4f87['id']),_0xb6faac[_0x5be17d(0x442)]('i',_0xa4f87),_0xb6faac[_0x5be17d(0x2bc)]();for(let _0x577958=0x0;_0x577958<_0x337d9e[_0x5be17d(0x4cd)];_0x577958+=0x1)_0xb6faac[_0x5be17d(0x2bc)]();return _0x396f18([_0xb6faac['get'](),this[_0x5be17d(0x4f1)](_0x4a696d,_0x270b86,_0x59683d)]);}[_0x36f63a(0x255)](_0x5d3d13,_0x2a434f,_0x388b89){const _0x3b4364=_0x36f63a;return this[_0x3b4364(0x383)](_0x5d3d13,_0x2a434f,[_0x388b89]);}[_0x36f63a(0x383)](_0x42a3aa,_0x10f8fa,_0xabe030){const _0x5d1567=_0x36f63a;let _0x26165d=_0x42a3aa[_0x5d1567(0x594)][_0x10f8fa],_0x5a6346=Array[_0x5d1567(0x356)](new Set(_0xabe030))[_0x5d1567(0x46a)](_0xae4dfb=>_0x26165d[_0x5d1567(0x4c9)][_0xae4dfb]);if(!_0x5a6346[_0x5d1567(0x4cd)])return _0x26cf17[_0x5d1567(0x2a4)][_0x5d1567(0x30d)]([..._0x1db9f2[_0x5d1567(0x551)](_0x10f8fa),_0x5d1567(0x4c9)],_0x26165d[_0x5d1567(0x4c9)],_0x26165d[_0x5d1567(0x4c9)]);let _0x4d8e56=new Set(_0x5a6346),_0x2d9503=_0x4665b4(_0x26165d,_0x5a6346)[_0x5d1567(0x4a5)](_0x49f80a=>this[_0x5d1567(0x461)](_0x42a3aa,_0x10f8fa,_0x49f80a[_0x5d1567(0x571)],_0x49f80a[_0x5d1567(0x39c)],''));return _0x396f18([this['_deleteRecordsBaseOp'](_0x42a3aa,_0x10f8fa,_0x5a6346,_0x4d8e56),..._0x2d9503]);}[_0x36f63a(0x2dc)](_0x48f7a7,_0xfb07d,_0x33a17e,_0x5a74db){const _0x467d83=_0x36f63a;let _0x131e0b=_0x48f7a7[_0x467d83(0x594)][_0x33a17e],_0x26fe98=Array['from'](new Set(_0x5a74db))[_0x467d83(0x46a)](_0xcc6ad5=>_0x131e0b[_0x467d83(0x4c9)][_0xcc6ad5]),_0x4a7cb7=new Set(_0x26fe98);return _0x396f18([new _0x5070bf()['invertOp'](_0x48f7a7,this[_0x467d83(0x494)](_0x48f7a7,_0x33a17e,_0x26fe98,_0x4a7cb7)),..._0x4665b4(_0x131e0b,_0x26fe98)[_0x467d83(0x4a5)](_0x2505c=>this[_0x467d83(0x461)](_0xfb07d,_0x33a17e,_0x2505c['recordId'],_0x2505c['fieldId'],_0x2505c[_0x467d83(0x369)]??''))]);}[_0x36f63a(0x494)](_0x802112,_0x4f41ec,_0x2b3686,_0x24fbaf){const _0x49e8ed=_0x36f63a;let _0x643ff0=_0x802112[_0x49e8ed(0x594)][_0x4f41ec],_0x500c3b=_0x2b3686['map'](_0x43e923=>{const _0xcd2668=_0x49e8ed;var _0x20b449;return{'recordId':_0x43e923,'index':((_0x20b449=_0x643ff0[_0xcd2668(0x2ba)])==null?void 0x0:_0x20b449[_0xcd2668(0x499)](_0x43e923))??-0x1};})[_0x49e8ed(0x46a)](_0x318df3=>_0x318df3[_0x49e8ed(0x21b)]>=0x0)['sort']((_0x311b59,_0x8fcf27)=>_0x8fcf27['index']-_0x311b59[_0x49e8ed(0x21b)]);return _0x396f18([..._0x2b3686[_0x49e8ed(0x4a5)](_0x58b09c=>_0x26cf17[_0x49e8ed(0x2a4)][_0x49e8ed(0x427)](_0x1db9f2[_0x49e8ed(0x1b5)](_0x4f41ec,_0x58b09c),_0x643ff0[_0x49e8ed(0x4c9)][_0x58b09c])),..._0x500c3b['map'](({recordId:_0x5f0d66,index:_0x1d3c7e})=>_0x26cf17['JSON1']['removeOp']([_0x49e8ed(0x594),_0x4f41ec,_0x49e8ed(0x2ba),_0x1d3c7e],_0x5f0d66)),...this['_deleteAttachmentResources'](_0x643ff0,_0x4f41ec,_0x22806c=>{const _0x4530e8=_0x49e8ed;let _0x625975=_0x22806c[_0x4530e8(0x24f)](_0x22806c[_0x4530e8(0x5c5)]('\x1f')+0x1);return _0x24fbaf[_0x4530e8(0x2fa)](_0x625975);})]);}[_0x36f63a(0x48d)](_0xb050b,_0x2c05d4,_0x55ca31,_0x3ffe61){const _0x1ef2ea=_0x36f63a;return this[_0x1ef2ea(0x276)](_0xb050b,_0x2c05d4,{..._0x3ffe61,'values':{..._0xb050b[_0x1ef2ea(0x594)][_0x2c05d4][_0x1ef2ea(0x4c9)][_0x55ca31][_0x1ef2ea(0x20f)],..._0x3ffe61[_0x1ef2ea(0x20f)],[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x3ffe61['id']}});}[_0x36f63a(0x5bb)](_0x111e32,_0x3d357e,_0x3312aa,_0x3eeb89){const _0x30b882=_0x36f63a;let _0x49cbe0=_0x111e32[_0x30b882(0x594)][_0x3d357e],_0x5618a2=[..._0x1db9f2[_0x30b882(0x1b5)](_0x3d357e,_0x3312aa),_0x30b882(0x58c)],_0x45ed55=Object['values'](_0x49cbe0['records'])[_0x30b882(0x4a5)](_0x1c7b1b=>_0x1c7b1b['id']===_0x3312aa?{..._0x1c7b1b,'orderKey':_0x3eeb89}:_0x1c7b1b)['sort']((_0x2234f5,_0x3c0156)=>String(_0x2234f5[_0x30b882(0x58c)]??_0x2234f5['id'])[_0x30b882(0x4ed)](String(_0x3c0156['orderKey']??_0x3c0156['id'])))[_0x30b882(0x4a5)](_0x5c3f74=>_0x5c3f74['id']),_0x2a6ea7=[..._0x1db9f2[_0x30b882(0x551)](_0x3d357e),_0x30b882(0x2ba)];return _0x396f18([this[_0x30b882(0x360)](_0x5618a2,_0x49cbe0[_0x30b882(0x4c9)][_0x3312aa][_0x30b882(0x58c)],_0x3eeb89),_0x49cbe0[_0x30b882(0x2ba)]?_0x26cf17['JSON1'][_0x30b882(0x30d)](_0x2a6ea7,_0x49cbe0[_0x30b882(0x2ba)],_0x45ed55):_0x26cf17[_0x30b882(0x2a4)][_0x30b882(0x4b1)](_0x2a6ea7,_0x45ed55)]);}['updateCell'](_0x1dd6fd,_0x1de803,_0x687c70,_0x523470,_0x2d8c11){const _0x12537d=_0x36f63a;var _0x23ca79,_0x1342d4;let _0x3e1de2=_0x1dd6fd['tables'][_0x1de803],_0x3e47a0=_0x28d135(_0x3e1de2,_0x687c70,_0x523470)?_0x3e1de2:_0x58de72(_0x3e1de2),_0x9617f5=(_0x23ca79=_0x3e47a0['rowIndex'])==null?void 0x0:_0x23ca79[_0x687c70],_0xb5bb7d=(_0x1342d4=_0x3e47a0[_0x12537d(0x41d)])==null?void 0x0:_0x1342d4[_0x523470];if(_0x9617f5==null||_0xb5bb7d==null){var _0x29389a;return this['_replaceOptional'](_0x1db9f2['cell'](_0x1de803,_0x687c70,_0x523470),(_0x29389a=_0x1dd6fd[_0x12537d(0x594)][_0x1de803])==null||(_0x29389a=_0x29389a[_0x12537d(0x4c9)][_0x687c70])==null?void 0x0:_0x29389a['values'][_0x523470],_0x2d8c11);}return this[_0x12537d(0x4ff)](_0x1dd6fd,_0x1de803,[{'row':_0x9617f5,'col':_0xb5bb7d,'value':_0x2d8c11}]);}[_0x36f63a(0x2e0)](_0x5988a6,_0x46f05e,_0x26ec91){const _0x1d1867=_0x36f63a;let _0xb197bc=_0x5988a6['tables'][_0x46f05e],_0x50c675=_0x26ec91[_0x1d1867(0x308)](_0x4a75b3=>Object[_0x1d1867(0x40d)](_0x4a75b3[_0x1d1867(0x20f)])[_0x1d1867(0x308)](_0x55aa48=>_0x28d135(_0xb197bc,_0x4a75b3['recordId'],_0x55aa48)))?_0xb197bc:_0x58de72(_0xb197bc),_0x452e72=_0x26ec91[_0x1d1867(0x35a)](_0x243d07=>Object[_0x1d1867(0x443)](_0x243d07[_0x1d1867(0x20f)])[_0x1d1867(0x35a)](([_0x29932e,_0x27bdbc])=>{const _0x3e141d=_0x1d1867;var _0x32f09c,_0x366a2c;let _0x54b08c=(_0x32f09c=_0x50c675[_0x3e141d(0x5cd)])==null?void 0x0:_0x32f09c[_0x243d07['recordId']],_0x245482=(_0x366a2c=_0x50c675[_0x3e141d(0x41d)])==null?void 0x0:_0x366a2c[_0x29932e];return _0x54b08c==null||_0x245482==null?[]:[{'row':_0x54b08c,'col':_0x245482,'value':_0x27bdbc}];})),_0x2a023b=_0x26ec91['flatMap'](_0x133921=>Object[_0x1d1867(0x443)](_0x133921[_0x1d1867(0x534)]??{})['map'](([_0x137aff,_0x159a1b])=>{const _0x1601b7=_0x1d1867;var _0x352cb6;let _0x2bf989=[..._0x1db9f2[_0x1601b7(0x1b5)](_0x46f05e,_0x133921[_0x1601b7(0x571)]),_0x137aff],_0x2c5871=(_0x352cb6=_0x5988a6[_0x1601b7(0x594)][_0x46f05e])==null||(_0x352cb6=_0x352cb6[_0x1601b7(0x4c9)][_0x133921[_0x1601b7(0x571)]])==null?void 0x0:_0x352cb6[_0x137aff];return this['_replaceOptional'](_0x2bf989,_0x2c5871,_0x159a1b);}));return _0x396f18([this[_0x1d1867(0x4ff)](_0x5988a6,_0x46f05e,_0x452e72),..._0x2a023b]);}[_0x36f63a(0x4ff)](_0x463baa,_0x53a6bf,_0x20c163){const _0x4e9795=_0x36f63a;let _0x5b4a53=_0x463baa['tables'][_0x53a6bf],_0x8e9c41=_0x20c163[_0x4e9795(0x308)](_0x19f538=>_0x47d9b0(_0x5b4a53,_0x19f538[_0x4e9795(0x5dd)],_0x19f538[_0x4e9795(0x46c)]))?_0x5b4a53:_0x58de72(_0x5b4a53),_0x1111f0=new Map(),_0x38ddb1=_0x20c163[_0x4e9795(0x35a)](_0x1e96fd=>{const _0x11dc57=_0x4e9795;var _0x33bfe4,_0x253016,_0x4606a4,_0x614054;let _0x1d9b1e=(_0x33bfe4=_0x8e9c41[_0x11dc57(0x3e3)])==null?void 0x0:_0x33bfe4[_0x1e96fd['col']],_0x5dd349=(_0x253016=_0x8e9c41[_0x11dc57(0x51d)])==null?void 0x0:_0x253016[_0x1e96fd[_0x11dc57(0x5dd)]],_0x5dc9e1=_0x1d9b1e?_0x8e9c41['fields'][_0x1d9b1e]:void 0x0;if(_0x1d9b1e===_0x26cf17[_0x11dc57(0x478)]||(_0x5dc9e1==null?void 0x0:_0x5dc9e1['type'])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x4b5)])throw Error(_0x11dc57(0x532));let _0x1f2afb=_0x545d9f(_0x1e96fd['value'],_0x5dc9e1),_0x22d575=(_0x4606a4=_0x8e9c41[_0x11dc57(0x61f)])==null||(_0x4606a4=_0x4606a4[_0x1e96fd[_0x11dc57(0x5dd)]])==null?void 0x0:_0x4606a4[_0x1e96fd[_0x11dc57(0x46c)]],_0x431c2c=this[_0x11dc57(0x360)](_0x1db9f2[_0x11dc57(0x61f)](_0x53a6bf,_0x1e96fd[_0x11dc57(0x5dd)],_0x1e96fd[_0x11dc57(0x46c)]),_0x22d575,_0x1f2afb);if(!_0x1d9b1e||!_0x5dd349)return[_0x431c2c];let _0x49686a=(_0x614054=_0x8e9c41[_0x11dc57(0x4c9)][_0x5dd349])==null?void 0x0:_0x614054[_0x11dc57(0x20f)][_0x1d9b1e],_0x22cd48=(_0x5dc9e1==null?void 0x0:_0x5dc9e1[_0x11dc57(0x5d6)])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x50b)]?_0x509f7b(_0x1e96fd[_0x11dc57(0x5a4)]):_0x1871e5(_0x1e96fd[_0x11dc57(0x5a4)],_0x1f2afb,_0x5dc9e1,_0x8e9c41,_0x5dd349),_0x37264a=[_0x431c2c,this[_0x11dc57(0x360)](_0x1db9f2[_0x11dc57(0x49d)](_0x53a6bf,_0x5dd349,_0x1d9b1e),_0x49686a,_0x22cd48)];return(_0x5dc9e1==null?void 0x0:_0x5dc9e1[_0x11dc57(0x5d6)])===_0x26cf17[_0x11dc57(0x22d)][_0x11dc57(0x50b)]&&_0x1111f0[_0x11dc57(0x4a9)](_0x5d9a67(_0x1d9b1e,_0x5dd349),{'recordId':_0x5dd349,'fieldId':_0x1d9b1e,'attachments':_0x22cd48}),_0x37264a;});return _0x38ddb1[_0x4e9795(0x4cd)]?_0x396f18([..._0x38ddb1,...this['_setAttachmentResources'](_0x8e9c41,_0x53a6bf,Array[_0x4e9795(0x356)](_0x1111f0[_0x4e9795(0x20f)]()))]):_0x26cf17[_0x4e9795(0x2a4)][_0x4e9795(0x30d)]([_0x4e9795(0x594),_0x53a6bf,_0x4e9795(0x61f)],_0x8e9c41[_0x4e9795(0x61f)],_0x8e9c41['cellData']);}[_0x36f63a(0x5b3)](_0x15e70d,_0x1eab3a,_0x44e6d){const _0x4521a7=_0x36f63a;let _0x152d83=_0x15e70d['tables'][_0x1eab3a];if(_0x152d83[_0x4521a7(0x458)][_0x44e6d['field']['id']]||_0x152d83[_0x4521a7(0x1b2)][_0x4521a7(0x358)](_0x44e6d[_0x4521a7(0x5f1)]['id']))return _0x26cf17['JSON1'][_0x4521a7(0x30d)]([_0x4521a7(0x594),_0x1eab3a,'fieldOrder'],_0x152d83['fieldOrder'],_0x152d83[_0x4521a7(0x1b2)]);let _0x3134f1=Math['max'](0x1,_0x44e6d['index']??_0x152d83[_0x4521a7(0x1b2)]['length']),_0x233cc6=Object[_0x4521a7(0x20f)](_0x152d83[_0x4521a7(0x3d8)]??{})[_0x4521a7(0x35a)](_0x28a74c=>{const _0x1d5a6b=_0x4521a7;var _0x9d6639;if(!_0x28a74c[_0x1d5a6b(0x1b2)]||_0x28a74c[_0x1d5a6b(0x1b2)][_0x1d5a6b(0x358)](_0x44e6d[_0x1d5a6b(0x5f1)]['id']))return[];let _0x5b825a=_0x37acea(((_0x9d6639=_0x44e6d['viewIndexes'])==null?void 0x0:_0x9d6639[_0x28a74c['id']])??_0x3134f1,_0x28a74c[_0x1d5a6b(0x1b2)][_0x1d5a6b(0x4cd)]);return[_0x26cf17['JSON1']['insertOp']([..._0x1db9f2[_0x1d5a6b(0x602)](_0x1eab3a,_0x28a74c['id']),_0x1d5a6b(0x1b2),_0x5b825a],_0x44e6d[_0x1d5a6b(0x5f1)]['id'])];});return _0x396f18([..._0x44e6d[_0x4521a7(0x5f1)][_0x4521a7(0x5d6)]===_0x26cf17[_0x4521a7(0x22d)][_0x4521a7(0x274)]?this[_0x4521a7(0x2bf)](_0x15e70d):[],_0x26cf17['JSON1'][_0x4521a7(0x4b1)](_0x1db9f2[_0x4521a7(0x5f1)](_0x1eab3a,_0x44e6d[_0x4521a7(0x5f1)]['id']),_0x44e6d['field']),_0x26cf17[_0x4521a7(0x2a4)]['insertOp'](_0x1db9f2[_0x4521a7(0x1b2)](_0x1eab3a,_0x3134f1),_0x44e6d['field']['id']),..._0x233cc6]);}[_0x36f63a(0x1ee)](_0x11921c,_0x3ef386,_0x12a704,_0x44bc31){const _0x2dc035=_0x36f63a;let _0x1facf7=_0x11921c['tables'][_0x3ef386];if(!_0x1facf7[_0x2dc035(0x458)][_0x12a704]||_0x1facf7[_0x2dc035(0x458)][_0x44bc31['field']['id']]||_0x1facf7[_0x2dc035(0x1b2)][_0x2dc035(0x358)](_0x44bc31[_0x2dc035(0x5f1)]['id']))return _0x26cf17[_0x2dc035(0x2a4)][_0x2dc035(0x30d)](['tables',_0x3ef386,_0x2dc035(0x1b2)],_0x1facf7['fieldOrder'],_0x1facf7[_0x2dc035(0x1b2)]);let _0x37868d=_0x44bc31['index']??_0x1facf7['fieldOrder']['indexOf'](_0x12a704)+0x1,_0x3355c6=_0x1facf7[_0x2dc035(0x1b2)]['filter'](_0x45ba34=>_0x45ba34!==_0x44bc31[_0x2dc035(0x5f1)]['id']),_0x4d73d6=_0x2147ea(_0x3355c6,_0x44bc31[_0x2dc035(0x5f1)]['id'],_0x37868d),_0x393a0c=Object[_0x2dc035(0x20f)](_0x1facf7[_0x2dc035(0x3d8)]??{})[_0x2dc035(0x35a)](_0x13fdb5=>{const _0x2c98dd=_0x2dc035;var _0x230794,_0x4afc4a,_0x89910d,_0x546856;let _0x52a8b5=(_0x230794=_0x13fdb5[_0x2c98dd(0x1b2)])!=null&&_0x230794[_0x2c98dd(0x4cd)]?_0x13fdb5[_0x2c98dd(0x1b2)]:_0x3355c6;if(_0x52a8b5['includes'](_0x44bc31['field']['id']))return[];let _0x3c7c38=_0x2147ea(_0x52a8b5,_0x44bc31[_0x2c98dd(0x5f1)]['id'],((_0x4afc4a=_0x44bc31[_0x2c98dd(0x378)])==null?void 0x0:_0x4afc4a[_0x13fdb5['id']])??_0x37868d),_0x28bafa=(_0x89910d=_0x13fdb5[_0x2c98dd(0x47f)])==null?void 0x0:_0x89910d[_0x12a704];return[this[_0x2c98dd(0x360)]([..._0x1db9f2[_0x2c98dd(0x602)](_0x3ef386,_0x13fdb5['id']),_0x2c98dd(0x1b2)],_0x13fdb5['fieldOrder'],_0x3c7c38),..._0x28bafa?[this['_replaceOptional']([..._0x1db9f2[_0x2c98dd(0x602)](_0x3ef386,_0x13fdb5['id']),_0x2c98dd(0x47f),_0x44bc31[_0x2c98dd(0x5f1)]['id']],(_0x546856=_0x13fdb5[_0x2c98dd(0x47f)])==null?void 0x0:_0x546856[_0x44bc31[_0x2c98dd(0x5f1)]['id']],_0x28bafa)]:[]];}),_0x2d9d4c=Object[_0x2dc035(0x20f)](_0x1facf7[_0x2dc035(0x4c9)])[_0x2dc035(0x46a)](_0x98b75e=>Object[_0x2dc035(0x1d5)][_0x2dc035(0x4ea)][_0x2dc035(0x5b6)](_0x98b75e[_0x2dc035(0x20f)],_0x12a704))[_0x2dc035(0x4a5)](_0x1e2b8c=>this[_0x2dc035(0x360)](_0x1db9f2['cell'](_0x3ef386,_0x1e2b8c['id'],_0x44bc31['field']['id']),_0x1e2b8c[_0x2dc035(0x20f)][_0x44bc31[_0x2dc035(0x5f1)]['id']],_0x1e2b8c[_0x2dc035(0x20f)][_0x12a704]));return _0x396f18([..._0x44bc31[_0x2dc035(0x5f1)][_0x2dc035(0x5d6)]===_0x26cf17[_0x2dc035(0x22d)][_0x2dc035(0x274)]?this[_0x2dc035(0x2bf)](_0x11921c):[],_0x26cf17['JSON1'][_0x2dc035(0x4b1)](_0x1db9f2[_0x2dc035(0x5f1)](_0x3ef386,_0x44bc31[_0x2dc035(0x5f1)]['id']),_0x44bc31[_0x2dc035(0x5f1)]),_0x26cf17['JSON1'][_0x2dc035(0x30d)]([_0x2dc035(0x594),_0x3ef386,'fieldOrder'],_0x1facf7[_0x2dc035(0x1b2)],_0x4d73d6),..._0x393a0c,..._0x2d9d4c]);}[_0x36f63a(0x4f8)](_0x28924b,_0x3dfd6c,_0x3aa024,_0x550c93){const _0x985563=_0x36f63a;let _0x35f30a=_0x28924b[_0x985563(0x594)][_0x3dfd6c]['fields'][_0x3aa024],_0x26e3e1={..._0x35f30a,..._0x550c93};Object[_0x985563(0x40d)](_0x550c93)[_0x985563(0x1bf)](_0x49c352=>{_0x550c93[_0x49c352]===void 0x0&&delete _0x26e3e1[_0x49c352];});let _0x545885=_0x59b3ef(_0x28924b[_0x985563(0x594)][_0x3dfd6c],_0x3aa024,_0x35f30a,_0x26e3e1);_0x26e3e1=_0x545885[_0x985563(0x5f1)];let _0x5c708e=_0x26cf17['JSON1'][_0x985563(0x30d)](_0x1db9f2['field'](_0x3dfd6c,_0x3aa024),_0x35f30a,_0x26e3e1);return _0x26e3e1[_0x985563(0x5d6)]===_0x26cf17['BaseFieldType'][_0x985563(0x274)]?_0x396f18([...this[_0x985563(0x2bf)](_0x28924b),_0x5c708e,...this[_0x985563(0x2a9)](_0x28924b,_0x3dfd6c,_0x3aa024,_0x26e3e1)]):_0x396f18([_0x5c708e,..._0x545885[_0x985563(0x530)]['length']?[this[_0x985563(0x4ff)](_0x28924b,_0x3dfd6c,_0x545885['patches'])]:[]]);}[_0x36f63a(0x1c7)](_0x134b1f,_0x12712c,_0x538d98,_0x38a93f){const _0x5b1e4a=_0x36f63a;return this[_0x5b1e4a(0x4f8)](_0x134b1f,_0x12712c,_0x538d98,_0x38a93f);}['deleteField'](_0x58fd69,_0x1dd3b4,_0x5d13a1){const _0x28b83c=_0x36f63a;let _0x332266=_0x58fd69[_0x28b83c(0x594)][_0x1dd3b4];if(!(_0x332266!=null&&_0x332266[_0x28b83c(0x458)][_0x5d13a1])||_0x332266[_0x28b83c(0x5ce)]===_0x5d13a1||_0x5d13a1===_0x26cf17[_0x28b83c(0x478)])return _0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x30d)](['tables',_0x1dd3b4,'fieldOrder'],_0x332266==null?void 0x0:_0x332266[_0x28b83c(0x1b2)],_0x332266==null?void 0x0:_0x332266[_0x28b83c(0x1b2)]);let _0x2e80e9=_0x332266[_0x28b83c(0x1b2)][_0x28b83c(0x499)](_0x5d13a1),_0x281b4b=Object[_0x28b83c(0x20f)](_0x332266[_0x28b83c(0x3d8)])['flatMap'](_0x3641e7=>{const _0x1d7466=_0x28b83c;var _0x590df3,_0x504f2b,_0x26664c,_0x26a77c,_0x5cb7e8,_0x48c0c0,_0x1a484b;let _0x549180=[],_0x2dd371=((_0x590df3=_0x3641e7[_0x1d7466(0x1b2)])==null?void 0x0:_0x590df3['indexOf'](_0x5d13a1))??-0x1;_0x2dd371>=0x0&&_0x549180['push'](_0x26cf17['JSON1'][_0x1d7466(0x427)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x1b2),_0x2dd371],_0x5d13a1));let _0x49ca3f=(_0x504f2b=_0x3641e7[_0x1d7466(0x47f)])==null?void 0x0:_0x504f2b[_0x5d13a1];_0x49ca3f!==void 0x0&&_0x549180[_0x1d7466(0x605)](_0x26cf17[_0x1d7466(0x2a4)][_0x1d7466(0x427)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x47f),_0x5d13a1],_0x49ca3f));let _0x37f1f4=_0x3641e7['filter']?{..._0x3641e7[_0x1d7466(0x46a)],'conditions':_0x3641e7[_0x1d7466(0x46a)][_0x1d7466(0x357)][_0x1d7466(0x46a)](_0x367384=>_0x367384['fieldId']!==_0x5d13a1)}:_0x3641e7[_0x1d7466(0x46a)];_0x37f1f4&&_0x37f1f4[_0x1d7466(0x357)][_0x1d7466(0x4cd)]!==((_0x26664c=_0x3641e7[_0x1d7466(0x46a)])==null?void 0x0:_0x26664c[_0x1d7466(0x357)][_0x1d7466(0x4cd)])&&_0x549180[_0x1d7466(0x605)](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x46a)],_0x3641e7[_0x1d7466(0x46a)],_0x37f1f4));let _0x1e74b3=(_0x26a77c=_0x3641e7[_0x1d7466(0x30f)])==null?void 0x0:_0x26a77c[_0x1d7466(0x46a)](_0x26926f=>_0x26926f[_0x1d7466(0x39c)]!==_0x5d13a1);_0x1e74b3&&_0x1e74b3[_0x1d7466(0x4cd)]!==((_0x5cb7e8=_0x3641e7[_0x1d7466(0x30f)])==null?void 0x0:_0x5cb7e8[_0x1d7466(0x4cd)])&&_0x549180[_0x1d7466(0x605)](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x30f)],_0x3641e7[_0x1d7466(0x30f)],_0x1e74b3));let _0x13e7ac=(_0x48c0c0=_0x3641e7[_0x1d7466(0x58b)])==null?void 0x0:_0x48c0c0[_0x1d7466(0x46a)](_0x1511ad=>_0x1511ad[_0x1d7466(0x39c)]!==_0x5d13a1);_0x13e7ac&&_0x13e7ac[_0x1d7466(0x4cd)]!==((_0x1a484b=_0x3641e7[_0x1d7466(0x58b)])==null?void 0x0:_0x1a484b[_0x1d7466(0x4cd)])&&_0x549180['push'](this[_0x1d7466(0x360)]([..._0x1db9f2[_0x1d7466(0x602)](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x58b)],_0x3641e7[_0x1d7466(0x58b)],_0x13e7ac));let _0x1b9213=_0x28c236(_0x3641e7['config'],_0x5d13a1);return JSON[_0x1d7466(0x40a)](_0x1b9213)!==JSON[_0x1d7466(0x40a)](_0x3641e7[_0x1d7466(0x4cc)])&&_0x549180[_0x1d7466(0x605)](_0x26cf17[_0x1d7466(0x2a4)][_0x1d7466(0x30d)]([..._0x1db9f2['view'](_0x1dd3b4,_0x3641e7['id']),_0x1d7466(0x4cc)],_0x3641e7[_0x1d7466(0x4cc)],_0x1b9213)),_0x549180;}),_0x147170=Object['values'](_0x332266[_0x28b83c(0x4c9)])[_0x28b83c(0x35a)](_0x1ddf4e=>Object[_0x28b83c(0x1d5)][_0x28b83c(0x4ea)][_0x28b83c(0x5b6)](_0x1ddf4e[_0x28b83c(0x20f)],_0x5d13a1)?[_0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x427)](_0x1db9f2['cell'](_0x1dd3b4,_0x1ddf4e['id'],_0x5d13a1),_0x1ddf4e[_0x28b83c(0x20f)][_0x5d13a1])]:[]);return _0x396f18([_0x26cf17[_0x28b83c(0x2a4)][_0x28b83c(0x427)](_0x1db9f2['field'](_0x1dd3b4,_0x5d13a1),_0x332266[_0x28b83c(0x458)][_0x5d13a1]),_0x26cf17['JSON1'][_0x28b83c(0x427)](_0x1db9f2[_0x28b83c(0x1b2)](_0x1dd3b4,_0x2e80e9),_0x5d13a1),..._0x281b4b,..._0x147170,...this[_0x28b83c(0x596)](_0x332266,_0x1dd3b4,_0x3945d2=>_0x3945d2[_0x28b83c(0x57d)](_0x5d13a1+'\x1f'))]);}[_0x36f63a(0x27b)](_0x42e245,_0x4d9bb2,_0x2af887,_0x48569a){const _0x58acd3=_0x36f63a;let _0x263a6=_0x42e245[_0x58acd3(0x594)][_0x4d9bb2][_0x58acd3(0x1b2)];if(_0x2af887===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x48569a[_0x58acd3(0x3bd)]===_0x26cf17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x58acd3(0x3c9));let _0x4125b5=_0x50aac3(_0x263a6,_0x2af887,_0x48569a);return _0x26cf17[_0x58acd3(0x2a4)]['replaceOp']([_0x58acd3(0x594),_0x4d9bb2,_0x58acd3(0x1b2)],_0x263a6,_0x4125b5);}[_0x36f63a(0x27d)](_0x3530b1,_0x861bdd,_0x1140e1,_0x1b84b7=_0x3530b1[_0x36f63a(0x594)][_0x861bdd][_0x36f63a(0x226)][_0x36f63a(0x4cd)]){const _0x3f0deb=_0x36f63a;return _0x396f18([_0x26cf17[_0x3f0deb(0x2a4)][_0x3f0deb(0x4b1)](_0x1db9f2['view'](_0x861bdd,_0x1140e1['id']),_0x1140e1),_0x26cf17[_0x3f0deb(0x2a4)][_0x3f0deb(0x4b1)]([_0x3f0deb(0x594),_0x861bdd,_0x3f0deb(0x226),_0x1b84b7],_0x1140e1['id'])]);}[_0x36f63a(0x206)](_0x469c89,_0x53c846,_0x51ce0e,_0x1a3584){const _0x7ef47d=_0x36f63a;return _0x26cf17[_0x7ef47d(0x2a4)][_0x7ef47d(0x30d)]([..._0x1db9f2[_0x7ef47d(0x602)](_0x53c846,_0x51ce0e),'name'],_0x469c89[_0x7ef47d(0x594)][_0x53c846][_0x7ef47d(0x3d8)][_0x51ce0e]['name'],_0x1a3584);}[_0x36f63a(0x574)](_0x3f1840,_0x14e294,_0x3ba90c){const _0xde9c12=_0x36f63a;let _0x1246c4=_0x3f1840[_0xde9c12(0x594)][_0x14e294],_0x38c0e2=_0x1246c4[_0xde9c12(0x3d8)][_0x3ba90c],_0x5580dd=_0x1246c4[_0xde9c12(0x226)][_0xde9c12(0x499)](_0x3ba90c);return _0x396f18([_0x26cf17['JSON1'][_0xde9c12(0x427)](_0x1db9f2[_0xde9c12(0x602)](_0x14e294,_0x3ba90c),_0x38c0e2),_0x26cf17[_0xde9c12(0x2a4)][_0xde9c12(0x427)]([_0xde9c12(0x594),_0x14e294,_0xde9c12(0x226),_0x5580dd],_0x3ba90c)]);}['moveView'](_0x522017,_0x49e3a2,_0x17e8fc,_0x1c9621){const _0x2bed05=_0x36f63a;let _0x14edcf=_0x522017[_0x2bed05(0x594)][_0x49e3a2][_0x2bed05(0x226)],_0x182d97=_0x50aac3(_0x14edcf,_0x17e8fc,{'beforeFieldId':_0x1c9621[_0x2bed05(0x313)],'afterFieldId':_0x1c9621[_0x2bed05(0x58d)]});return _0x26cf17['JSON1'][_0x2bed05(0x30d)](['tables',_0x49e3a2,_0x2bed05(0x226)],_0x14edcf,_0x182d97);}[_0x36f63a(0x52e)](_0x3ad0da,_0x3a60c3,_0x4829dd,_0x431395){const _0x32089a=_0x36f63a;let _0x4a9e88=_0x3ad0da[_0x32089a(0x594)][_0x3a60c3][_0x32089a(0x3d8)][_0x4829dd]['config']??{},_0x1212e2={..._0x4a9e88,..._0x431395};return Object['keys'](_0x431395)[_0x32089a(0x1bf)](_0x1094df=>{_0x431395[_0x1094df]===void 0x0&&delete _0x1212e2[_0x1094df];}),_0x26cf17[_0x32089a(0x2a4)][_0x32089a(0x30d)]([..._0x1db9f2[_0x32089a(0x602)](_0x3a60c3,_0x4829dd),_0x32089a(0x4cc)],_0x4a9e88,_0x1212e2);}[_0x36f63a(0x5e0)](_0x4d3e2e,_0x497e9c,_0x500e42,_0x264ab3){const _0x1ed7be=_0x36f63a;return this[_0x1ed7be(0x360)]([..._0x1db9f2[_0x1ed7be(0x602)](_0x497e9c,_0x500e42),_0x1ed7be(0x46a)],_0x4d3e2e[_0x1ed7be(0x594)][_0x497e9c][_0x1ed7be(0x3d8)][_0x500e42][_0x1ed7be(0x46a)],_0x264ab3);}['setViewSort'](_0x3e97a2,_0x1c2f01,_0x1de514,_0x46c92c){const _0xfc09b0=_0x36f63a;return this[_0xfc09b0(0x360)]([..._0x1db9f2['view'](_0x1c2f01,_0x1de514),_0xfc09b0(0x30f)],_0x3e97a2[_0xfc09b0(0x594)][_0x1c2f01][_0xfc09b0(0x3d8)][_0x1de514][_0xfc09b0(0x30f)],_0x46c92c);}[_0x36f63a(0x2c6)](_0x266977,_0x35bbf1,_0x58c6f1,_0x9c10){const _0x558c7f=_0x36f63a;return this['_replaceOptional']([..._0x1db9f2[_0x558c7f(0x602)](_0x35bbf1,_0x58c6f1),_0x558c7f(0x58b)],_0x266977['tables'][_0x35bbf1][_0x558c7f(0x3d8)][_0x58c6f1][_0x558c7f(0x58b)],_0x9c10);}['setViewFieldVisible'](_0x34d9b9,_0x239943,_0x546eb5,_0x466ef3,_0x27f046){const _0x57342f=_0x36f63a;return this[_0x57342f(0x5d9)](_0x34d9b9,_0x239943,_0x546eb5,_0x466ef3,{'hidden':!_0x27f046});}['setViewFieldWidth'](_0x5bd620,_0x4891f0,_0xd55bb5,_0x22ec56,_0x225114){const _0x13aa34=_0x36f63a;return this[_0x13aa34(0x5d9)](_0x5bd620,_0x4891f0,_0xd55bb5,_0x22ec56,{'width':_0x225114});}[_0x36f63a(0x371)](_0x122f9e,_0x5359cc,_0x531a0b,_0x4ee7dd,_0x3cfefe){const _0x2cf17a=_0x36f63a;let _0x4d5e90=_0x122f9e[_0x2cf17a(0x594)][_0x5359cc][_0x2cf17a(0x3d8)][_0x531a0b],_0x7a7c37=_0x50aac3(_0x4d5e90[_0x2cf17a(0x1b2)]??_0x122f9e[_0x2cf17a(0x594)][_0x5359cc][_0x2cf17a(0x1b2)],_0x4ee7dd,_0x3cfefe);return this[_0x2cf17a(0x360)]([..._0x1db9f2[_0x2cf17a(0x602)](_0x5359cc,_0x531a0b),_0x2cf17a(0x1b2)],_0x4d5e90['fieldOrder'],_0x7a7c37);}['_setViewFieldSetting'](_0x3f706d,_0x2d71e5,_0x308f54,_0x1b0290,_0x1a0f2c){const _0x28be93=_0x36f63a;let _0xf22c14=_0x3f706d[_0x28be93(0x594)][_0x2d71e5][_0x28be93(0x3d8)][_0x308f54][_0x28be93(0x47f)]??{},_0x4ee503={..._0xf22c14,[_0x1b0290]:{..._0xf22c14[_0x1b0290],..._0x1a0f2c}};return this[_0x28be93(0x360)]([..._0x1db9f2[_0x28be93(0x602)](_0x2d71e5,_0x308f54),_0x28be93(0x47f)],_0x3f706d[_0x28be93(0x594)][_0x2d71e5]['views'][_0x308f54][_0x28be93(0x47f)],_0x4ee503);}[_0x36f63a(0x4f1)](_0x271d65,_0x2b64db,_0x4baac0){const _0x48afae=_0x36f63a;let _0x35495f=_0x271d65[_0x48afae(0x594)][_0x2b64db],_0x3108af=new Set(_0x4baac0[_0x48afae(0x4a5)](_0x2ed9ca=>_0x2ed9ca['id'])),_0x5d034f=[...Object['values'](_0x35495f[_0x48afae(0x4c9)])[_0x48afae(0x46a)](_0x348ef3=>!_0x3108af[_0x48afae(0x2fa)](_0x348ef3['id'])),..._0x4baac0][_0x48afae(0x30f)]((_0x5aa0e2,_0x15014e)=>String(_0x5aa0e2['orderKey']??_0x5aa0e2['id'])[_0x48afae(0x4ed)](String(_0x15014e[_0x48afae(0x58c)]??_0x15014e['id'])))[_0x48afae(0x4a5)](_0x5cd192=>_0x5cd192['id']),_0x318ce7=[..._0x1db9f2[_0x48afae(0x551)](_0x2b64db),_0x48afae(0x2ba)];return _0x35495f[_0x48afae(0x2ba)]?_0x26cf17[_0x48afae(0x2a4)]['replaceOp'](_0x318ce7,_0x35495f[_0x48afae(0x2ba)],_0x5d034f):_0x26cf17[_0x48afae(0x2a4)][_0x48afae(0x4b1)](_0x318ce7,_0x5d034f);}[_0x36f63a(0x2bf)](_0x27cc32,_0x5a20d8=new Set()){const _0x11e04e=_0x36f63a;let _0x5e53e4=(0x0,_0x26cf17[_0x11e04e(0x528)])(_0x27cc32);return Object[_0x11e04e(0x20f)](_0x27cc32[_0x11e04e(0x594)])[_0x11e04e(0x46a)](_0x2f83ed=>!_0x5a20d8[_0x11e04e(0x2fa)](_0x2f83ed['id']))[_0x11e04e(0x30f)]((_0x2e9f4c,_0x422d71)=>_0x2e9f4c['id'][_0x11e04e(0x4ed)](_0x422d71['id']))[_0x11e04e(0x35a)](_0xb64da7=>{const _0xa37828=_0x11e04e;let _0x259ff1=_0x5e53e4[_0xa37828(0x558)](_0xb64da7['id']);return!_0x259ff1||_0xb64da7[_0xa37828(0x242)]===_0x259ff1?[]:[this[_0xa37828(0x360)]([..._0x1db9f2[_0xa37828(0x551)](_0xb64da7['id']),_0xa37828(0x242)],_0xb64da7[_0xa37828(0x242)],_0x259ff1)];});}[_0x36f63a(0x2a9)](_0x27c15f,_0x502f8e,_0x164130,_0x5e22db){const _0x8d0612=_0x36f63a;var _0x44939e,_0x305a38;let _0x12dda9=_0x58de72(_0x27c15f[_0x8d0612(0x594)][_0x502f8e]),_0x51ceac=String(((_0x44939e=_0x5e22db['config'])==null?void 0x0:_0x44939e[_0x8d0612(0x5c4)])??'')[_0x8d0612(0x3ce)](),_0xfe4515=(_0x305a38=_0x12dda9[_0x8d0612(0x41d)])==null?void 0x0:_0x305a38[_0x164130];if(_0xfe4515==null)return[];let _0x41513a=_0x12dda9[_0x8d0612(0x2ba)]??Object['keys'](_0x12dda9[_0x8d0612(0x4c9)]),_0x507471=_0x41513a[_0x8d0612(0x4a5)](_0x349403=>{const _0x53a20e=_0x8d0612;var _0x195594;return(_0x195594=_0x12dda9[_0x53a20e(0x5cd)])==null?void 0x0:_0x195594[_0x349403];})[_0x8d0612(0x396)](_0x2a7190=>_0x2a7190!=null);return _0x41513a[_0x8d0612(0x35a)](_0x1316ed=>{const _0x59a3cf=_0x8d0612;var _0x1a6ee9,_0x5026e3;let _0x4c71fc=(_0x1a6ee9=_0x12dda9['rowIndex'])==null?void 0x0:_0x1a6ee9[_0x1316ed];if(_0x4c71fc==null)return[];let _0x3c8206=(_0x5026e3=_0x12dda9['cellData'])==null||(_0x5026e3=_0x5026e3[_0x4c71fc])==null?void 0x0:_0x5026e3[_0xfe4515],_0x5de4e7=_0x51ceac?_0x4c71fc===_0x507471?{'f':_0x51ceac,'si':_0x164130}:{'si':_0x164130}:{'v':null,'t':null};return[this[_0x59a3cf(0x360)](_0x1db9f2[_0x59a3cf(0x61f)](_0x502f8e,_0x4c71fc,_0xfe4515),_0x3c8206,_0x5de4e7)];});}['_setAttachmentResources'](_0x373be1,_0x3fc180,_0x335f4d){const _0x4083f0=_0x36f63a;var _0x3b5765;let _0x29c1fb=new Map(Object['entries'](((_0x3b5765=_0x373be1[_0x4083f0(0x26a)])==null?void 0x0:_0x3b5765['attachmentSets'])??{})),_0x5c0c45=new Map(),_0x5ce536=new Set(),_0x2855c3=_0x335f4d[_0x4083f0(0x4a5)](({recordId:_0x3eaaae,fieldId:_0x17d743,attachments:_0x5d5f0d})=>{const _0x5923aa=_0x4083f0;var _0x5ce8f8;let _0x2ef11a=_0x5d9a67(_0x17d743,_0x3eaaae),_0x2d4af2=_0x5d5f0d[_0x5923aa(0x4a5)]((_0x1e5ef5,_0x412085)=>String(_0x1e5ef5['id']??_0x2ef11a+'\x1f'+_0x412085));return _0x5ce536[_0x5923aa(0x1ce)](_0x2ef11a),_0x29c1fb[_0x5923aa(0x4a9)](_0x2ef11a,_0x2d4af2),_0x5d5f0d[_0x5923aa(0x1bf)]((_0x1b3a84,_0x592525)=>{const _0x204865=_0x5923aa;let _0x36971c=_0x2d4af2[_0x592525];_0x5c0c45[_0x204865(0x4a9)](_0x36971c,{..._0x1b3a84,'id':_0x36971c});}),this[_0x5923aa(0x360)](_0x1db9f2[_0x5923aa(0x5c8)](_0x3fc180,_0x2ef11a),(_0x5ce8f8=_0x373be1[_0x5923aa(0x26a)])==null||(_0x5ce8f8=_0x5ce8f8[_0x5923aa(0x40b)])==null?void 0x0:_0x5ce8f8[_0x2ef11a],_0x2d4af2);}),_0x1fbc6a=Array[_0x4083f0(0x356)](_0x5c0c45)[_0x4083f0(0x4a5)](([_0x14cdf9,_0x715b33])=>{const _0x17cd73=_0x4083f0;var _0x515793;return this[_0x17cd73(0x360)](_0x1db9f2[_0x17cd73(0x4c7)](_0x3fc180,_0x14cdf9),(_0x515793=_0x373be1['resources'])==null||(_0x515793=_0x515793[_0x17cd73(0x249)])==null?void 0x0:_0x515793[_0x14cdf9],_0x715b33);}),_0x131af0=new Set(Array[_0x4083f0(0x356)](_0x29c1fb['values']())[_0x4083f0(0x615)]()),_0x36edc0=new Set(Array[_0x4083f0(0x356)](_0x5ce536)[_0x4083f0(0x35a)](_0x17d475=>{const _0x20d618=_0x4083f0;var _0x32f464;return((_0x32f464=_0x373be1[_0x20d618(0x26a)])==null||(_0x32f464=_0x32f464[_0x20d618(0x40b)])==null?void 0x0:_0x32f464[_0x17d475])??[];})),_0x33520a=Array[_0x4083f0(0x356)](_0x36edc0)['flatMap'](_0xea8040=>{const _0x58a67b=_0x4083f0;var _0x4b13d8;let _0x32ba58=(_0x4b13d8=_0x373be1[_0x58a67b(0x26a)])==null||(_0x4b13d8=_0x4b13d8[_0x58a67b(0x249)])==null?void 0x0:_0x4b13d8[_0xea8040];return _0x32ba58!==void 0x0&&!_0x131af0['has'](_0xea8040)?[_0x26cf17[_0x58a67b(0x2a4)][_0x58a67b(0x427)](_0x1db9f2[_0x58a67b(0x4c7)](_0x3fc180,_0xea8040),_0x32ba58)]:[];});return[..._0x2855c3,..._0x1fbc6a,..._0x33520a];}[_0x36f63a(0x596)](_0x140dc7,_0x542570,_0xe70d15){const _0x3a2a8e=_0x36f63a;var _0x47d2d1;let _0x13c324=((_0x47d2d1=_0x140dc7[_0x3a2a8e(0x26a)])==null?void 0x0:_0x47d2d1[_0x3a2a8e(0x40b)])??{},_0x5ddfd7=Object[_0x3a2a8e(0x443)](_0x13c324)[_0x3a2a8e(0x46a)](([_0x3386de])=>_0xe70d15(_0x3386de));if(!_0x5ddfd7[_0x3a2a8e(0x4cd)])return[];let _0x5360f8=new Set(Object[_0x3a2a8e(0x443)](_0x13c324)[_0x3a2a8e(0x46a)](([_0x23d09a])=>!_0xe70d15(_0x23d09a))[_0x3a2a8e(0x35a)](([,_0x5e10b7])=>_0x5e10b7)),_0x31f047=new Set(_0x5ddfd7['flatMap'](([,_0x40c7fb])=>_0x40c7fb));return[..._0x5ddfd7['map'](([_0x1c9aae,_0x5ca921])=>_0x26cf17[_0x3a2a8e(0x2a4)][_0x3a2a8e(0x427)](_0x1db9f2[_0x3a2a8e(0x5c8)](_0x542570,_0x1c9aae),_0x5ca921)),...Array[_0x3a2a8e(0x356)](_0x31f047)[_0x3a2a8e(0x35a)](_0x5af466=>{const _0xe604df=_0x3a2a8e;var _0xf006a6;let _0x28a4e1=(_0xf006a6=_0x140dc7[_0xe604df(0x26a)])==null||(_0xf006a6=_0xf006a6[_0xe604df(0x249)])==null?void 0x0:_0xf006a6[_0x5af466];return _0x28a4e1!==void 0x0&&!_0x5360f8[_0xe604df(0x2fa)](_0x5af466)?[_0x26cf17['JSON1'][_0xe604df(0x427)](_0x1db9f2[_0xe604df(0x4c7)](_0x542570,_0x5af466),_0x28a4e1)]:[];})];}['_replaceOptional'](_0x4fdbc0,_0x5bf6ba,_0x36118b){const _0x12e192=_0x36f63a;return _0x5bf6ba===void 0x0?_0x26cf17['JSON1'][_0x12e192(0x4b1)](_0x4fdbc0,_0x36118b):_0x26cf17[_0x12e192(0x2a4)][_0x12e192(0x30d)](_0x4fdbc0,_0x5bf6ba,_0x36118b);}};function _0x59b3ef(_0x272376,_0x31cfa6,_0x58587a,_0x1ba17d){const _0x45fe74=_0x36f63a;var _0x4d1377;let _0x5117a4=_0x1ba17d[_0x45fe74(0x5d6)];if(_0x58587a[_0x45fe74(0x5d6)]!==_0x5117a4||_0x5117a4!==_0x26cf17[_0x45fe74(0x22d)][_0x45fe74(0x537)]&&_0x5117a4!==_0x26cf17['BaseFieldType'][_0x45fe74(0x36d)]||_0x4f60f4(_0x1ba17d[_0x45fe74(0x4cc)][_0x45fe74(0x608)]))return{'field':_0x1ba17d,'patches':[]};let _0x520cc6=_0xd3d180(_0x58587a),_0x14bb3b=_0xd3d180(_0x1ba17d);if(![..._0x520cc6]['some'](_0x289472=>!_0x14bb3b['has'](_0x289472)))return{'field':_0x1ba17d,'patches':[]};let _0x44924b=_0x54e989(_0x1ba17d[_0x45fe74(0x4e8)],_0x14bb3b,_0x5117a4),_0x5b7570=_0x1d09b4(_0x44924b,_0x1ba17d[_0x45fe74(0x4e8)])?_0x1ba17d:{..._0x1ba17d,'defaultValue':_0x44924b},_0x53edde=_0x58de72(_0x272376),_0x454d4f=(_0x4d1377=_0x53edde[_0x45fe74(0x41d)])==null?void 0x0:_0x4d1377[_0x31cfa6];return _0x454d4f==null?{'field':_0x5b7570,'patches':[]}:{'field':_0x5b7570,'patches':(_0x53edde[_0x45fe74(0x2ba)]??[])[_0x45fe74(0x35a)](_0x40cd44=>{const _0x344ef9=_0x45fe74;var _0x27ebe6,_0x58fc88;let _0x222055=(_0x27ebe6=_0x53edde[_0x344ef9(0x5cd)])==null?void 0x0:_0x27ebe6[_0x40cd44],_0x4151f7=(_0x58fc88=_0x53edde[_0x344ef9(0x4c9)][_0x40cd44])==null?void 0x0:_0x58fc88[_0x344ef9(0x20f)][_0x31cfa6],_0x1fbdd8=_0x54e989(_0x4151f7,_0x14bb3b,_0x5117a4);return _0x222055==null||_0x1d09b4(_0x1fbdd8,_0x4151f7)?[]:[{'row':_0x222055,'col':_0x454d4f,'value':_0x1fbdd8??null}];})};}function _0x4f60f4(_0x47e54c){return typeof _0x47e54c=='object'&&!!_0x47e54c&&'type'in _0x47e54c&&_0x47e54c['type']==='field';}function _0xd3d180(_0x3d6f43){const _0x5993d4=_0x36f63a;var _0x4bbcb0;let _0x584685=Array[_0x5993d4(0x2c4)]((_0x4bbcb0=_0x3d6f43['config'])==null?void 0x0:_0x4bbcb0[_0x5993d4(0x45b)])?_0x3d6f43[_0x5993d4(0x4cc)][_0x5993d4(0x45b)]:[];return new Set(_0x584685['flatMap'](_0xa9537b=>{const _0x536391=_0x5993d4;if(!_0xa9537b||typeof _0xa9537b!=_0x536391(0x3e4)||!('id'in _0xa9537b))return[];let _0x5e137e=String(_0xa9537b['id']);return _0x5e137e?[_0x5e137e]:[];}));}function _0x54e989(_0x40b862,_0x42c979,_0x5cf2bd){const _0x3a1b82=_0x36f63a;if(_0x40b862==null||_0x40b862==='')return _0x40b862;if(_0x5cf2bd===_0x26cf17[_0x3a1b82(0x22d)]['SingleSelect'])return _0x42c979[_0x3a1b82(0x2fa)](String(_0x40b862))?_0x40b862:null;let _0x2eee13=Array[_0x3a1b82(0x2c4)](_0x40b862)?_0x40b862['map'](String):String(_0x40b862)['split'](',')[_0x3a1b82(0x4a5)](_0x5389ec=>_0x5389ec[_0x3a1b82(0x3ce)]())[_0x3a1b82(0x46a)](Boolean),_0x357700=_0x2eee13[_0x3a1b82(0x46a)](_0x5ba9fc=>_0x42c979['has'](_0x5ba9fc));return _0x357700[_0x3a1b82(0x4cd)]===_0x2eee13[_0x3a1b82(0x4cd)]?_0x40b862:Array[_0x3a1b82(0x2c4)](_0x40b862)?_0x357700:String(_0x40b862)[_0x3a1b82(0x358)](',')?_0x357700[_0x3a1b82(0x241)](','):_0x357700[0x0]??[];}function _0x1d09b4(_0x96dbec,_0x133ecf){const _0x592dc4=_0x36f63a;return JSON[_0x592dc4(0x40a)](_0x96dbec)===JSON['stringify'](_0x133ecf);}function _0x28d135(_0x18e94e,_0x3a6ee2,_0xa3878e){const _0x21220c=_0x36f63a;var _0x4f5013,_0x1d6581,_0x3aa8cc,_0x333908;let _0x550de2=(_0x4f5013=_0x18e94e['rowIndex'])==null?void 0x0:_0x4f5013[_0x3a6ee2],_0x37c097=(_0x1d6581=_0x18e94e[_0x21220c(0x41d)])==null?void 0x0:_0x1d6581[_0xa3878e];return _0x550de2!=null&&_0x37c097!=null&&((_0x3aa8cc=_0x18e94e[_0x21220c(0x51d)])==null?void 0x0:_0x3aa8cc[_0x550de2])===_0x3a6ee2&&((_0x333908=_0x18e94e[_0x21220c(0x3e3)])==null?void 0x0:_0x333908[_0x37c097])===_0xa3878e&&_0x18e94e[_0x21220c(0x61f)]!=null;}function _0x47d9b0(_0x5b1531,_0x3ca8d7,_0x3aebfa){const _0x1e3838=_0x36f63a;var _0x2971ce,_0x1c5486;return((_0x2971ce=_0x5b1531[_0x1e3838(0x51d)])==null?void 0x0:_0x2971ce[_0x3ca8d7])!=null&&((_0x1c5486=_0x5b1531[_0x1e3838(0x3e3)])==null?void 0x0:_0x1c5486[_0x3aebfa])!=null&&_0x5b1531['cellData']!=null;}function _0x50aac3(_0x39ad1b,_0x2a4d33,_0x3015ed){const _0xa85f9b=_0x36f63a;let _0x8c5c24=_0x39ad1b[_0xa85f9b(0x46a)](_0x18a672=>_0x18a672!==_0x2a4d33),_0x39563f=_0x3015ed[_0xa85f9b(0x3bd)]?_0x8c5c24[_0xa85f9b(0x499)](_0x3015ed[_0xa85f9b(0x3bd)]):_0x3015ed['afterFieldId']?_0x8c5c24[_0xa85f9b(0x499)](_0x3015ed[_0xa85f9b(0x566)])+0x1:_0x8c5c24[_0xa85f9b(0x4cd)];return _0x8c5c24[_0xa85f9b(0x614)](_0x39563f<0x0?_0x8c5c24[_0xa85f9b(0x4cd)]:_0x39563f,0x0,_0x2a4d33),_0x8c5c24;}function _0x2147ea(_0x2dbb2e,_0x22d689,_0xe21c3d){const _0x2bf659=_0x36f63a;let _0x412f78=_0x2dbb2e[_0x2bf659(0x46a)](_0x431e2c=>_0x431e2c!==_0x22d689);return _0x412f78[_0x2bf659(0x614)](_0x37acea(_0xe21c3d,_0x412f78[_0x2bf659(0x4cd)]),0x0,_0x22d689),_0x412f78;}function _0x28c236(_0x219c1c,_0x573b80,_0x2384e5){const _0x3da6b7=_0x36f63a;if(Array[_0x3da6b7(0x2c4)](_0x219c1c))return _0x2384e5===_0x3da6b7(0x60e)?_0x219c1c['filter'](_0x20703d=>_0x20703d!==_0x573b80):_0x219c1c[_0x3da6b7(0x35a)](_0x46edc2=>{const _0x3f35cf=_0x3da6b7;if(_0x46edc2&&typeof _0x46edc2==_0x3f35cf(0x3e4)&&!Array[_0x3f35cf(0x2c4)](_0x46edc2)&&_0x46edc2['fieldId']===_0x573b80)return[];let _0x22484c=_0x28c236(_0x46edc2,_0x573b80);return _0x22484c===void 0x0?[]:[_0x22484c];});if(!_0x219c1c||typeof _0x219c1c!=_0x3da6b7(0x3e4))return _0x2384e5!=null&&_0x2384e5['endsWith'](_0x3da6b7(0x34c))&&_0x219c1c===_0x573b80?void 0x0:_0x219c1c;let _0xf08d09=_0x219c1c;if(_0xf08d09[_0x3da6b7(0x39c)]!==_0x573b80)return Object[_0x3da6b7(0x60c)](Object[_0x3da6b7(0x443)](_0xf08d09)['flatMap'](([_0x5a32f8,_0x250135])=>{const _0x300f8d=_0x3da6b7;if(_0x5a32f8===_0x573b80&&_0x2384e5===_0x300f8d(0x47f))return[];let _0x5200dc=_0x28c236(_0x250135,_0x573b80,_0x5a32f8);return _0x5200dc===void 0x0?[]:[[_0x5a32f8,_0x5200dc]];}));}function _0x37acea(_0x4ee2d4,_0x5dc6cd){const _0x5f41d6=_0x36f63a;return Math[_0x5f41d6(0x5a7)](0x0,Math[_0x5f41d6(0x275)](_0x4ee2d4,_0x5dc6cd));}function _0x1b2f2e(_0x49727){'@babel/helpers - typeof';const _0x370744=_0x36f63a;return _0x1b2f2e=typeof Symbol==_0x370744(0x556)&&typeof Symbol[_0x370744(0x59c)]=='symbol'?function(_0x4b473b){return typeof _0x4b473b;}:function(_0x5f1d52){const _0x450781=_0x370744;return _0x5f1d52&&typeof Symbol==_0x450781(0x556)&&_0x5f1d52[_0x450781(0x3a0)]===Symbol&&_0x5f1d52!==Symbol[_0x450781(0x1d5)]?_0x450781(0x2df):typeof _0x5f1d52;},_0x1b2f2e(_0x49727);}function _0x308301(_0x136889,_0x413728){const _0x4bc20f=_0x36f63a;if(_0x1b2f2e(_0x136889)!='object'||!_0x136889)return _0x136889;var _0x4bcfaa=_0x136889[Symbol[_0x4bc20f(0x5f6)]];if(_0x4bcfaa!==void 0x0){var _0x24f07c=_0x4bcfaa[_0x4bc20f(0x5b6)](_0x136889,_0x413728||_0x4bc20f(0x436));if(_0x1b2f2e(_0x24f07c)!=_0x4bc20f(0x3e4))return _0x24f07c;throw TypeError(_0x4bc20f(0x20b));}return(_0x413728===_0x4bc20f(0x4c8)?String:Number)(_0x136889);}function _0x437c70(_0x2940c3){const _0x3a77ab=_0x36f63a;var _0x167822=_0x308301(_0x2940c3,_0x3a77ab(0x4c8));return _0x1b2f2e(_0x167822)==_0x3a77ab(0x2df)?_0x167822:_0x167822+'';}function _0x52a6e5(_0x4c2f5c,_0xce5ffe,_0x237653){const _0x34d18f=_0x36f63a;return(_0xce5ffe=_0x437c70(_0xce5ffe))in _0x4c2f5c?Object[_0x34d18f(0x21a)](_0x4c2f5c,_0xce5ffe,{'value':_0x237653,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4c2f5c[_0xce5ffe]=_0x237653,_0x4c2f5c;}let _0x270bb8=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x4da));var _0x5317ce=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(..._0xf81def){const _0x212474=_0x36f63a;super(..._0xf81def),_0x52a6e5(this,_0x212474(0x47e),new Map());}[_0x36f63a(0x397)](_0xb4eec2){const _0x524e98=_0x36f63a;return this[_0x524e98(0x47e)][_0x524e98(0x4a9)](_0xb4eec2['type'],_0xb4eec2),(0x0,_0x26cf17[_0x524e98(0x3a2)])(()=>this[_0x524e98(0x47e)][_0x524e98(0x346)](_0xb4eec2[_0x524e98(0x5d6)]));}[_0x36f63a(0x558)](_0x92e51a){const _0x8f5b3b=_0x36f63a;let _0x47fa71=this['_plugins']['get'](_0x92e51a);if(!_0x47fa71)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x92e51a+_0x8f5b3b(0x5f8));return _0x47fa71;}[_0x36f63a(0x38e)](_0xa1bcc0){return this['_plugins']['get'](_0xa1bcc0);}[_0x36f63a(0x39a)](){return Array['from'](this['_plugins']['values']());}},_0x5b7cf0=class{constructor(_0x27c59c){const _0x342926=_0x36f63a;this[_0x342926(0x41e)]=_0x27c59c,_0x52a6e5(this,_0x342926(0x5d6),_0xf5110d['UnitObject'][_0x342926(0x285)]),_0x52a6e5(this,_0x342926(0x392),_0xf5110d['UnitAction'][_0x342926(0x49b)]),_0x52a6e5(this,_0x342926(0x545),_0x26cf17[_0x342926(0x3c1)]['INIT']),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x342926(0x5a4),!0x0),this['id']=this[_0x342926(0x5d6)]+'.'+this[_0x342926(0x392)]+'_'+_0x27c59c;}},_0xc1cd75=class{constructor(_0x5d0ff3){const _0x4778ff=_0x36f63a;this[_0x4778ff(0x41e)]=_0x5d0ff3,_0x52a6e5(this,_0x4778ff(0x5d6),_0xf5110d[_0x4778ff(0x4de)][_0x4778ff(0x285)]),_0x52a6e5(this,_0x4778ff(0x392),_0xf5110d[_0x4778ff(0x5d3)][_0x4778ff(0x211)]),_0x52a6e5(this,_0x4778ff(0x545),_0x26cf17[_0x4778ff(0x3c1)][_0x4778ff(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x4778ff(0x5a4),!0x0),this['id']=this[_0x4778ff(0x5d6)]+'.'+this[_0x4778ff(0x392)]+'_'+_0x5d0ff3;}},_0x558a27=class{constructor(_0x2d73a4){const _0x5f3811=_0x36f63a;this[_0x5f3811(0x41e)]=_0x2d73a4,_0x52a6e5(this,_0x5f3811(0x5d6),_0xf5110d[_0x5f3811(0x4de)]['Base']),_0x52a6e5(this,_0x5f3811(0x392),_0xf5110d[_0x5f3811(0x5d3)]['Edit']),_0x52a6e5(this,_0x5f3811(0x545),_0x26cf17['PermissionStatus'][_0x5f3811(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x5f3811(0x5a4),!0x0),this['id']=this[_0x5f3811(0x5d6)]+'.'+this['subType']+'_'+_0x2d73a4;}},_0x5e1181=class{constructor(_0x14cfc7){const _0x23a216=_0x36f63a;this['unitId']=_0x14cfc7,_0x52a6e5(this,_0x23a216(0x5d6),_0xf5110d['UnitObject'][_0x23a216(0x285)]),_0x52a6e5(this,_0x23a216(0x392),_0xf5110d[_0x23a216(0x5d3)][_0x23a216(0x451)]),_0x52a6e5(this,_0x23a216(0x545),_0x26cf17[_0x23a216(0x3c1)][_0x23a216(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x23a216(0x5a4),!0x0),this['id']=this[_0x23a216(0x5d6)]+'.'+this['subType']+'_'+_0x14cfc7;}},_0x2e16f7=class{constructor(_0x56442b,_0x1e018e){const _0xc385c3=_0x36f63a;this['unitId']=_0x56442b,this[_0xc385c3(0x452)]=_0x1e018e,_0x52a6e5(this,_0xc385c3(0x5d6),_0xf5110d[_0xc385c3(0x4de)][_0xc385c3(0x48c)]),_0x52a6e5(this,_0xc385c3(0x392),_0xf5110d[_0xc385c3(0x5d3)]['Edit']),_0x52a6e5(this,_0xc385c3(0x545),_0x26cf17['PermissionStatus'][_0xc385c3(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0xc385c3(0x5a4),!0x0),this['id']=this['type']+'.'+this[_0xc385c3(0x392)]+'_'+_0x56442b+'_'+_0x1e018e;}},_0x52d443=class{constructor(_0x25174c,_0x3a864d){const _0xa6b97c=_0x36f63a;this['unitId']=_0x25174c,this[_0xa6b97c(0x452)]=_0x3a864d,_0x52a6e5(this,_0xa6b97c(0x5d6),_0xf5110d[_0xa6b97c(0x4de)][_0xa6b97c(0x540)]),_0x52a6e5(this,'subType',_0xf5110d[_0xa6b97c(0x5d3)][_0xa6b97c(0x284)]),_0x52a6e5(this,_0xa6b97c(0x545),_0x26cf17[_0xa6b97c(0x3c1)][_0xa6b97c(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0xa6b97c(0x5a4),!0x0),this['id']=this['type']+'.'+this[_0xa6b97c(0x392)]+'_'+_0x25174c+'_'+_0x3a864d;}},_0x529949=class{constructor(_0x293e2f,_0x1ad3e5){const _0x4c6c7c=_0x36f63a;this['unitId']=_0x293e2f,this['objectId']=_0x1ad3e5,_0x52a6e5(this,'type',_0xf5110d[_0x4c6c7c(0x4de)][_0x4c6c7c(0x562)]),_0x52a6e5(this,_0x4c6c7c(0x392),_0xf5110d[_0x4c6c7c(0x5d3)][_0x4c6c7c(0x284)]),_0x52a6e5(this,'status',_0x26cf17[_0x4c6c7c(0x3c1)]['INIT']),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,'value',!0x0),this['id']=this[_0x4c6c7c(0x5d6)]+'.'+this[_0x4c6c7c(0x392)]+'_'+_0x293e2f+'_'+_0x1ad3e5;}},_0x44b1bc=class{constructor(_0xc3bd3,_0xa32028){const _0x516be7=_0x36f63a;this[_0x516be7(0x41e)]=_0xc3bd3,this[_0x516be7(0x452)]=_0xa32028,_0x52a6e5(this,_0x516be7(0x5d6),_0xf5110d[_0x516be7(0x4de)][_0x516be7(0x52c)]),_0x52a6e5(this,_0x516be7(0x392),_0xf5110d['UnitAction']['Edit']),_0x52a6e5(this,_0x516be7(0x545),_0x26cf17[_0x516be7(0x3c1)][_0x516be7(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x516be7(0x5a4),!0x0),this['id']=this[_0x516be7(0x5d6)]+'.'+this[_0x516be7(0x392)]+'_'+_0xc3bd3+'_'+_0xa32028;}},_0x3bb5c6=class{constructor(_0x415b7f,_0x229846){const _0x152f43=_0x36f63a;this[_0x152f43(0x41e)]=_0x415b7f,this[_0x152f43(0x452)]=_0x229846,_0x52a6e5(this,_0x152f43(0x5d6),_0xf5110d['UnitObject'][_0x152f43(0x30e)]),_0x52a6e5(this,'subType',_0xf5110d['UnitAction']['Edit']),_0x52a6e5(this,_0x152f43(0x545),_0x26cf17[_0x152f43(0x3c1)][_0x152f43(0x5f4)]),_0x52a6e5(this,'id',void 0x0),_0x52a6e5(this,_0x152f43(0x5a4),!0x0),this['id']=this[_0x152f43(0x5d6)]+'.'+this['subType']+'_'+_0x415b7f+'_'+_0x229846;}};let _0x46e218=[_0xf5110d[_0x36f63a(0x5d3)][_0x36f63a(0x284)],_0xf5110d[_0x36f63a(0x5d3)]['Copy'],_0xf5110d[_0x36f63a(0x5d3)][_0x36f63a(0x451)],_0xf5110d[_0x36f63a(0x5d3)]['Comment']],_0x1f517c=new Set([_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x285)],_0xf5110d['UnitObject'][_0x36f63a(0x52c)],_0xf5110d[_0x36f63a(0x4de)]['BaseField'],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x562)],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x30e)],_0xf5110d[_0x36f63a(0x4de)][_0x36f63a(0x48c)]]),_0x4f06dc=_0x36f63a(0x337),_0x70ee6e=_0x36f63a(0x38d),_0x120ca4=_0x36f63a(0x233),_0x2f1b9c=_0x36f63a(0x55b),_0x26c004=_0x36f63a(0x25e);function _0x1c40e5(_0x32ecba){return''+_0x4f06dc+encodeURIComponent(_0x32ecba);}function _0x32d579(_0x18a07d,_0x573ec9){return''+_0x70ee6e+encodeURIComponent(_0x18a07d)+'/'+encodeURIComponent(_0x573ec9);}function _0x523656(_0x36ec8d,_0x36ec32){return''+_0x120ca4+encodeURIComponent(_0x36ec8d)+'/'+encodeURIComponent(_0x36ec32);}function _0x3b5ace(_0x35e339,_0x5283fd){return''+_0x2f1b9c+encodeURIComponent(_0x35e339)+'/'+encodeURIComponent(_0x5283fd);}function _0x498862(_0x255022){return''+_0x26c004+encodeURIComponent(_0x255022);}function _0x353921(_0xe70dc6,_0x34f868,_0x1a5b82){const _0x23447f=_0x36f63a;if(_0x34f868===_0xe70dc6)switch(_0x1a5b82){case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x284)]:return new _0x558a27(_0xe70dc6);case _0xf5110d['UnitAction'][_0x23447f(0x211)]:return new _0xc1cd75(_0xe70dc6);case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x451)]:return new _0x5e1181(_0xe70dc6);case _0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x49b)]:return new _0x5b7cf0(_0xe70dc6);default:throw Error(_0x23447f(0x585)+_0x1a5b82);}if(_0x1a5b82!==_0xf5110d[_0x23447f(0x5d3)][_0x23447f(0x284)])throw Error(_0x23447f(0x573)+_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x4f06dc))return new _0x44b1bc(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x70ee6e))return new _0x52d443(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x120ca4))return new _0x529949(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x2f1b9c))return new _0x3bb5c6(_0xe70dc6,_0x34f868);if(_0x34f868[_0x23447f(0x57d)](_0x26c004))return new _0x2e16f7(_0xe70dc6,_0x34f868);throw Error(_0x23447f(0x381)+_0x34f868);}function _0x3139d7(_0x37aa15,_0x133331,_0x54c5c5,_0x481cff){const _0x49f91e=_0x36f63a;var _0x4adcf5;return((_0x4adcf5=_0x37aa15[_0x49f91e(0x2da)](_0x353921(_0x133331,_0x54c5c5,_0x481cff)['id']))==null?void 0x0:_0x4adcf5['value'])??!0x0;}function _0x1874b2(_0x136ba5,_0x79afd6,_0xea3e55,_0x1984f8,_0x2ca027){const _0x804f42=_0x36f63a;let _0x643b42=_0x353921(_0x79afd6,_0xea3e55,_0x1984f8);_0x136ba5['getPermissionPoint'](_0x643b42['id'])||_0x136ba5[_0x804f42(0x5f9)](_0x643b42),_0x136ba5[_0x804f42(0x3ff)](_0x643b42['id'],_0x2ca027);}function _0x430a5f(_0x13b48d,_0x154012,_0x1ea12d,_0x3ddfed){const _0x3fd00d=_0x36f63a;_0x13b48d[_0x3fd00d(0x412)](_0x353921(_0x154012,_0x1ea12d,_0x3ddfed)['id']);}function _0x26786d(_0x6d8676,_0x119651){const _0x3416b5=_0x36f63a;_0x6d8676[_0x3416b5(0x559)]()[_0x3416b5(0x1bf)]((_0x40e546,_0x13e757)=>{const _0x3003ed=_0x3416b5;_0x40e546['subscribe'](_0xd46cfb=>{const _0x17f9a8=_0x45c5;_0x1f517c[_0x17f9a8(0x2fa)](_0xd46cfb[_0x17f9a8(0x5d6)])&&_0x17f9a8(0x41e)in _0xd46cfb&&_0xd46cfb['unitId']===_0x119651&&_0x6d8676[_0x17f9a8(0x412)](_0x13e757);})[_0x3003ed(0x2ad)]();});}function _0x2c4137(_0x1b6e49,_0x31db6a,_0x55d000){const _0x678041=_0x36f63a;return _0x3139d7(_0x1b6e49,_0x31db6a,_0x31db6a,_0xf5110d[_0x678041(0x5d3)]['Edit'])&&Array['from'](_0x55d000)['every'](_0x515c69=>_0x3139d7(_0x1b6e49,_0x31db6a,_0x515c69,_0xf5110d[_0x678041(0x5d3)][_0x678041(0x284)]));}function _0x5712fb(_0x35bc3b,_0x4fbdf9){return function(_0x100ca6,_0x45d768){_0x4fbdf9(_0x100ca6,_0x45d768,_0x35bc3b);};}function _0x184c3d(_0x8b3be3,_0x2d98e3,_0x156f25,_0x354733){const _0xc92324=_0x36f63a;var _0x5f186c=arguments[_0xc92324(0x4cd)],_0x4020c3=_0x5f186c<0x3?_0x2d98e3:_0x354733===null?_0x354733=Object[_0xc92324(0x5e2)](_0x2d98e3,_0x156f25):_0x354733,_0x1c6652;if(typeof Reflect==_0xc92324(0x3e4)&&typeof Reflect[_0xc92324(0x3e0)]==_0xc92324(0x556))_0x4020c3=Reflect[_0xc92324(0x3e0)](_0x8b3be3,_0x2d98e3,_0x156f25,_0x354733);else{for(var _0x175018=_0x8b3be3[_0xc92324(0x4cd)]-0x1;_0x175018>=0x0;_0x175018--)(_0x1c6652=_0x8b3be3[_0x175018])&&(_0x4020c3=(_0x5f186c<0x3?_0x1c6652(_0x4020c3):_0x5f186c>0x3?_0x1c6652(_0x2d98e3,_0x156f25,_0x4020c3):_0x1c6652(_0x2d98e3,_0x156f25))||_0x4020c3);}return _0x5f186c>0x3&&_0x4020c3&&Object['defineProperty'](_0x2d98e3,_0x156f25,_0x4020c3),_0x4020c3;}let _0x55f82b=(0x0,_0x26cf17['createIdentifier'])(_0x36f63a(0x2ee)),_0x57d557=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x17bd85,_0x5b9a84){const _0x3b4c25=_0x36f63a;super(),this[_0x3b4c25(0x377)]=_0x17bd85,this[_0x3b4c25(0x58e)]=_0x5b9a84,_0x52a6e5(this,_0x3b4c25(0x587),new Map()),_0x52a6e5(this,_0x3b4c25(0x2fe),new Map()),_0x52a6e5(this,_0x3b4c25(0x33e),new Map()),_0x52a6e5(this,'_recordPermissions',new Map()),_0x52a6e5(this,_0x3b4c25(0x41b),new Map()),_0x52a6e5(this,_0x3b4c25(0x56d),new Map()),this[_0x3b4c25(0x492)](this['_instanceService'][_0x3b4c25(0x4b7)](_0x26cf17[_0x3b4c25(0x1ef)][_0x3b4c25(0x440)])[_0x3b4c25(0x455)](_0x42736=>this[_0x3b4c25(0x2f3)](_0x42736[_0x3b4c25(0x4f5)]())));}[_0x36f63a(0x2c0)](_0x40e603){const _0x573a4b=_0x36f63a;var _0x683dd4;return this[_0x573a4b(0x2e1)](_0x40e603,[])&&(((_0x683dd4=this[_0x573a4b(0x587)][_0x573a4b(0x558)](_0x40e603))==null?void 0x0:_0x683dd4[_0x573a4b(0x4af)])??!0x0);}['canEditTable'](_0x48724d){const _0x342bf7=_0x36f63a;return this[_0x342bf7(0x38b)](_0x48724d);}[_0x36f63a(0x4fc)](_0x544995){const _0x4f5e06=_0x36f63a;var _0x4149d6;return this[_0x4f5e06(0x38b)](_0x544995)&&(((_0x4149d6=this[_0x4f5e06(0x2fe)][_0x4f5e06(0x558)](_0x544995))==null?void 0x0:_0x4149d6['delete'])??!0x0);}[_0x36f63a(0x1d9)](_0x112b82){const _0x51ecba=_0x36f63a;var _0x46ceb7;return this['_canEditTable'](_0x112b82)&&(((_0x46ceb7=this['_tablePermissions'][_0x51ecba(0x558)](_0x112b82))==null?void 0x0:_0x46ceb7[_0x51ecba(0x5b3)])??!0x0);}[_0x36f63a(0x3a7)](_0x594f50,_0x500286){const _0x498bed=_0x36f63a;var _0x1bacf7;return this['_canEditTable'](_0x594f50)&&this[_0x498bed(0x2e1)](_0x594f50,[_0x32d579(_0x594f50,_0x500286)])&&(((_0x1bacf7=this[_0x498bed(0x33e)]['get'](_0x14ea76(_0x594f50,_0x500286)))==null?void 0x0:_0x1bacf7[_0x498bed(0x1f7)])??!0x0);}[_0x36f63a(0x4ce)](_0x42dbdc,_0x1a5e74){const _0x5a3614=_0x36f63a;var _0xa1f9b7;return this['canEditField'](_0x42dbdc,_0x1a5e74)&&(((_0xa1f9b7=this['_fieldPermissions'][_0x5a3614(0x558)](_0x14ea76(_0x42dbdc,_0x1a5e74)))==null?void 0x0:_0xa1f9b7[_0x5a3614(0x346)])??!0x0);}[_0x36f63a(0x41c)](_0x459aa3){const _0x28469e=_0x36f63a;var _0x4052a4;return this[_0x28469e(0x38b)](_0x459aa3)&&(((_0x4052a4=this[_0x28469e(0x2fe)][_0x28469e(0x558)](_0x459aa3))==null?void 0x0:_0x4052a4[_0x28469e(0x276)])??!0x0);}[_0x36f63a(0x590)](_0xed430f,_0x297890){const _0x422704=_0x36f63a;var _0x12edc9;let _0xff3250=this['_recordPermissions'][_0x422704(0x558)](_0x1ddd07(_0xed430f,_0x297890));return this[_0x422704(0x2e1)](_0xed430f,[_0x1c40e5(_0xed430f),_0x523656(_0xed430f,_0x297890)])&&(((_0x12edc9=this['_tablePermissions'][_0x422704(0x558)](_0xed430f))==null?void 0x0:_0x12edc9[_0x422704(0x1f7)])??!0x0)&&((_0xff3250==null?void 0x0:_0xff3250[_0x422704(0x1f7)])??!0x0)&&((_0xff3250==null?void 0x0:_0xff3250[_0x422704(0x4f6)])??!0x0);}[_0x36f63a(0x2d5)](_0x28fe89,_0xbfb5a6){const _0xe4b83=_0x36f63a;var _0x49cf57,_0xc735a6,_0x1da305;return this[_0xe4b83(0x2e1)](_0x28fe89,[_0x1c40e5(_0x28fe89),_0x523656(_0x28fe89,_0xbfb5a6)])&&(((_0x49cf57=this[_0xe4b83(0x2fe)][_0xe4b83(0x558)](_0x28fe89))==null?void 0x0:_0x49cf57[_0xe4b83(0x1f7)])??!0x0)&&(((_0xc735a6=this[_0xe4b83(0x45a)][_0xe4b83(0x558)](_0x1ddd07(_0x28fe89,_0xbfb5a6)))==null?void 0x0:_0xc735a6[_0xe4b83(0x1f7)])??!0x0)&&(((_0x1da305=this[_0xe4b83(0x45a)][_0xe4b83(0x558)](_0x1ddd07(_0x28fe89,_0xbfb5a6)))==null?void 0x0:_0x1da305['delete'])??!0x0);}[_0x36f63a(0x1a2)](_0x263381,_0x1eba22,_0x59d483){const _0x11e696=_0x36f63a;var _0x177c18,_0x166ceb,_0x23990d;let _0x102f3b=this[_0x11e696(0x33e)][_0x11e696(0x558)](_0x14ea76(_0x263381,_0x59d483));return this[_0x11e696(0x2e1)](_0x263381,[_0x1c40e5(_0x263381),_0x32d579(_0x263381,_0x59d483),_0x523656(_0x263381,_0x1eba22)])&&(((_0x177c18=this['_tablePermissions']['get'](_0x263381))==null?void 0x0:_0x177c18[_0x11e696(0x1f7)])??!0x0)&&(((_0x166ceb=this[_0x11e696(0x45a)][_0x11e696(0x558)](_0x1ddd07(_0x263381,_0x1eba22)))==null?void 0x0:_0x166ceb[_0x11e696(0x1f7)])??!0x0)&&(((_0x23990d=this['_recordPermissions']['get'](_0x1ddd07(_0x263381,_0x1eba22)))==null?void 0x0:_0x23990d[_0x11e696(0x4f6)])??!0x0)&&((_0x102f3b==null?void 0x0:_0x102f3b[_0x11e696(0x1f7)])??!0x0)&&((_0x102f3b==null?void 0x0:_0x102f3b[_0x11e696(0x4f6)])??!0x0);}[_0x36f63a(0x47c)](_0x133f33,_0xee8f2c){const _0x257db1=_0x36f63a;var _0x3730c9,_0x465046,_0x532411;return this[_0x257db1(0x2e1)](_0x133f33,[_0x1c40e5(_0x133f33),_0x3b5ace(_0x133f33,_0xee8f2c)])&&(((_0x3730c9=this[_0x257db1(0x2fe)]['get'](_0x133f33))==null?void 0x0:_0x3730c9['edit'])??!0x0)&&(((_0x465046=this[_0x257db1(0x41b)][_0x257db1(0x558)](_0x2b72d2(_0x133f33,_0xee8f2c)))==null?void 0x0:_0x465046[_0x257db1(0x1f7)])??!0x0)&&(((_0x532411=this['_tablePermissions'][_0x257db1(0x558)](_0x133f33))==null?void 0x0:_0x532411[_0x257db1(0x5b2)])??!0x0);}['setBasePermission'](_0xdf33a,_0x1797b2){const _0x1bff74=_0x36f63a;this[_0x1bff74(0x587)][_0x1bff74(0x4a9)](_0xdf33a,{...this[_0x1bff74(0x587)][_0x1bff74(0x558)](_0xdf33a),..._0x1797b2}),_0x1797b2['edit']!==void 0x0&&_0x1874b2(this[_0x1bff74(0x377)],_0xdf33a,_0xdf33a,_0xf5110d[_0x1bff74(0x5d3)][_0x1bff74(0x284)],_0x1797b2[_0x1bff74(0x1f7)]);}[_0x36f63a(0x34b)](_0x488c26,_0x471ae2){const _0x3f46b5=_0x36f63a;this[_0x3f46b5(0x4dc)](_0x488c26),this[_0x3f46b5(0x2fe)][_0x3f46b5(0x4a9)](_0x488c26,{...this[_0x3f46b5(0x2fe)][_0x3f46b5(0x558)](_0x488c26),..._0x471ae2}),this[_0x3f46b5(0x321)](_0x488c26,_0x1c40e5(_0x488c26),_0x471ae2[_0x3f46b5(0x1f7)]);}[_0x36f63a(0x291)](_0x525de0,_0xca0c62,_0x4457b4){const _0x1d1bcb=_0x36f63a;this[_0x1d1bcb(0x4dc)](_0x525de0);let _0x1992b7=_0x14ea76(_0x525de0,_0xca0c62);this['_fieldPermissions'][_0x1d1bcb(0x4a9)](_0x1992b7,{...this['_fieldPermissions']['get'](_0x1992b7),..._0x4457b4}),this[_0x1d1bcb(0x321)](_0x525de0,_0x32d579(_0x525de0,_0xca0c62),_0x4457b4['edit']);}['setRecordPermission'](_0x27939f,_0x3145fc,_0x5364c0){const _0x5bc657=_0x36f63a;this[_0x5bc657(0x4dc)](_0x27939f);let _0x3e6217=_0x1ddd07(_0x27939f,_0x3145fc);this[_0x5bc657(0x45a)][_0x5bc657(0x4a9)](_0x3e6217,{...this[_0x5bc657(0x45a)][_0x5bc657(0x558)](_0x3e6217),..._0x5364c0}),this[_0x5bc657(0x321)](_0x27939f,_0x523656(_0x27939f,_0x3145fc),_0x5364c0['edit']);}['setViewPermission'](_0x16418b,_0x4f5e05,_0x5b8f5a){const _0x48c622=_0x36f63a;this[_0x48c622(0x4dc)](_0x16418b);let _0x2050db=_0x2b72d2(_0x16418b,_0x4f5e05);this[_0x48c622(0x41b)][_0x48c622(0x4a9)](_0x2050db,{...this['_viewPermissions'][_0x48c622(0x558)](_0x2050db),..._0x5b8f5a}),this['_setObjectEdit'](_0x16418b,_0x3b5ace(_0x16418b,_0x4f5e05),_0x5b8f5a[_0x48c622(0x1f7)]);}['clearBasePermission'](_0x1eb616){const _0x3bcb1c=_0x36f63a;this[_0x3bcb1c(0x587)][_0x3bcb1c(0x346)](_0x1eb616),_0x430a5f(this[_0x3bcb1c(0x377)],_0x1eb616,_0x1eb616,_0xf5110d['UnitAction'][_0x3bcb1c(0x284)]);}['clearTablePermission'](_0xb0b757){const _0x42e000=_0x36f63a;this[_0x42e000(0x2fe)][_0x42e000(0x346)](_0xb0b757),this[_0x42e000(0x3da)](_0xb0b757,_0x1c40e5(_0xb0b757));}[_0x36f63a(0x61c)](_0x5b19ed,_0x19137a){const _0x43815b=_0x36f63a;this['_fieldPermissions'][_0x43815b(0x346)](_0x14ea76(_0x5b19ed,_0x19137a)),this[_0x43815b(0x3da)](_0x5b19ed,_0x32d579(_0x5b19ed,_0x19137a));}['clearRecordPermission'](_0x57dc1e,_0x4302e7){const _0x11d3f2=_0x36f63a;this[_0x11d3f2(0x45a)]['delete'](_0x1ddd07(_0x57dc1e,_0x4302e7)),this['_clearObjectEdit'](_0x57dc1e,_0x523656(_0x57dc1e,_0x4302e7));}[_0x36f63a(0x409)](_0x5656e8,_0x361451){const _0x5b3331=_0x36f63a;this[_0x5b3331(0x41b)][_0x5b3331(0x346)](_0x2b72d2(_0x5656e8,_0x361451)),this[_0x5b3331(0x3da)](_0x5656e8,_0x3b5ace(_0x5656e8,_0x361451));}[_0x36f63a(0x509)](){const _0x2f4131=_0x36f63a;return{'bases':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x587)]),'tables':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x2fe)]),'fields':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x33e)]),'records':Object[_0x2f4131(0x60c)](this['_recordPermissions']),'views':Object[_0x2f4131(0x60c)](this[_0x2f4131(0x41b)])};}[_0x36f63a(0x38b)](_0x3ee81e){const _0x43f74a=_0x36f63a;var _0x227a34;return this[_0x43f74a(0x2e1)](_0x3ee81e,[_0x1c40e5(_0x3ee81e)])&&(((_0x227a34=this[_0x43f74a(0x2fe)][_0x43f74a(0x558)](_0x3ee81e))==null?void 0x0:_0x227a34[_0x43f74a(0x1f7)])??!0x0);}[_0x36f63a(0x2e1)](_0x400023,_0x3f73d1){const _0x2f6dbc=_0x36f63a;var _0x169b3f;let _0x224833=this[_0x2f6dbc(0x5b8)](_0x400023);return!_0x224833||_0x2c4137(this['_permissionService'],_0x224833,_0x3f73d1)&&(((_0x169b3f=this[_0x2f6dbc(0x587)][_0x2f6dbc(0x558)](_0x224833))==null?void 0x0:_0x169b3f[_0x2f6dbc(0x1f7)])??!0x0);}[_0x36f63a(0x321)](_0x226338,_0x5aa7e6,_0x390925){const _0x4d62a0=_0x36f63a;if(_0x390925===void 0x0)return;let _0x3c9adb=this[_0x4d62a0(0x5b8)](_0x226338);_0x3c9adb&&_0x1874b2(this[_0x4d62a0(0x377)],_0x3c9adb,_0x5aa7e6,_0xf5110d[_0x4d62a0(0x5d3)][_0x4d62a0(0x284)],_0x390925);}[_0x36f63a(0x3da)](_0x131af8,_0x2569dc){const _0x362e62=_0x36f63a;let _0x2909b8=this[_0x362e62(0x5b8)](_0x131af8);_0x2909b8&&_0x430a5f(this[_0x362e62(0x377)],_0x2909b8,_0x2569dc,_0xf5110d[_0x362e62(0x5d3)]['Edit']);}['_resolveBaseId'](_0x5c1730){const _0x31e150=_0x36f63a;var _0x48803b;let _0x800714=this[_0x31e150(0x58e)][_0x31e150(0x2e3)](_0x5c1730,_0x26cf17[_0x31e150(0x1ef)]['UNIVER_BASE']);return _0x800714?_0x800714[_0x31e150(0x4f5)]():(_0x48803b=this[_0x31e150(0x58e)][_0x31e150(0x1c0)](_0x26cf17[_0x31e150(0x1ef)][_0x31e150(0x440)])['find'](_0x13e86d=>!!_0x13e86d[_0x31e150(0x509)]()[_0x31e150(0x594)][_0x5c1730]))==null?void 0x0:_0x48803b[_0x31e150(0x4f5)]();}[_0x36f63a(0x4dc)](_0x7e0d2c){const _0x4f6667=_0x36f63a;let _0x2c16c5=this['_resolveBaseId'](_0x7e0d2c);_0x2c16c5&&this[_0x4f6667(0x56d)][_0x4f6667(0x4a9)](_0x7e0d2c,_0x2c16c5);}[_0x36f63a(0x2f3)](_0x459388){const _0x4407ae=_0x36f63a;this[_0x4407ae(0x587)][_0x4407ae(0x346)](_0x459388),this['_tableBaseIds'][_0x4407ae(0x1bf)]((_0x2f7279,_0x2a6e71)=>{const _0x1ec718=_0x4407ae;_0x2f7279===_0x459388&&(this[_0x1ec718(0x2fe)]['delete'](_0x2a6e71),_0x2489f6(this[_0x1ec718(0x33e)],_0x2a6e71+'\x1f'),_0x2489f6(this['_recordPermissions'],_0x2a6e71+'\x1f'),_0x2489f6(this['_viewPermissions'],_0x2a6e71+'\x1f'),this['_tableBaseIds'][_0x1ec718(0x346)](_0x2a6e71));});}};_0x57d557=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x5d0)]),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x4a8)])],_0x57d557);function _0x2489f6(_0x1f3881,_0x4aca95){_0x1f3881['forEach']((_0x38a7ec,_0x3d898d)=>{const _0x315202=_0x45c5;_0x3d898d[_0x315202(0x57d)](_0x4aca95)&&_0x1f3881[_0x315202(0x346)](_0x3d898d);});}function _0x14ea76(_0x4c452b,_0x463489){return _0x4c452b+'\x1f'+_0x463489;}function _0x1ddd07(_0x508ef9,_0x58184e){return _0x508ef9+'\x1f'+_0x58184e;}function _0x2b72d2(_0x3e5c91,_0x5acec3){return _0x3e5c91+'\x1f'+_0x5acec3;}let _0x10f260=(0x0,_0x26cf17['createIdentifier'])(_0x36f63a(0x204)),_0x2c090c=class{constructor(_0x1c66bc,_0x5cdd66=_0x30a3da(),_0x423e15={}){const _0x126b7c=_0x36f63a;this[_0x126b7c(0x377)]=_0x1c66bc,this[_0x126b7c(0x454)]=_0x5cdd66,this[_0x126b7c(0x4a3)]=_0x423e15,_0x52a6e5(this,_0x126b7c(0x482),new _0x3c2e91()),_0x52a6e5(this,_0x126b7c(0x1e6),new _0x5070bf());}[_0x36f63a(0x4af)](_0x38ba51,_0x461ac1,_0x551ac5){const _0x185f70=_0x36f63a;if(!this[_0x185f70(0x377)][_0x185f70(0x2c0)](_0x38ba51[_0x185f70(0x4f5)]()))throw Error(_0x185f70(0x531));(0x0,_0x26cf17[_0x185f70(0x1a3)])(_0x461ac1),this['_apply'](_0x38ba51,this['_factory'][_0x185f70(0x4af)](_0x38ba51[_0x185f70(0x509)](),_0x461ac1,_0x551ac5));}[_0x36f63a(0x437)](_0x3df754,_0x553b48,_0x1b78b9){const _0x3943bb=_0x36f63a;if(!this[_0x3943bb(0x377)][_0x3943bb(0x444)](_0x553b48))throw Error(_0x3943bb(0x2ef));this[_0x3943bb(0x404)](_0x3df754,this[_0x3943bb(0x482)][_0x3943bb(0x437)](_0x3df754['getSnapshot'](),_0x553b48,_0x1b78b9));}[_0x36f63a(0x3b1)](_0x59c012,_0x2aa4b7){const _0x37e49f=_0x36f63a;if(!this['_permissionService'][_0x37e49f(0x4fc)](_0x2aa4b7))throw Error(_0x37e49f(0x1b0));let _0x459fd0=_0x283ed9(_0x59c012[_0x37e49f(0x509)](),_0x2aa4b7);if(_0x459fd0[_0x37e49f(0x4cd)]>0x0)throw Error(_0x37e49f(0x1c4)+_0x459fd0['map'](_0x4b4e1e=>_0x4b4e1e[_0x37e49f(0x353)]+'.'+_0x4b4e1e['fieldId'])['join'](',\x20')+').');this['_apply'](_0x59c012,this[_0x37e49f(0x482)]['deleteTable'](_0x59c012[_0x37e49f(0x509)](),_0x2aa4b7));}['updateCell'](_0x45f430,_0x5e2ac9,_0xdcc8cf,_0x5d47dc,_0xd33966){const _0x4e2a8c=_0x36f63a;this['_apply'](_0x45f430,this[_0x4e2a8c(0x3d9)](_0x45f430,_0x5e2ac9,_0xdcc8cf,_0x5d47dc,_0xd33966));}[_0x36f63a(0x2e0)](_0x40e01c,_0x3449f4,_0x1bacfb){const _0x3deebb=_0x36f63a;this[_0x3deebb(0x404)](_0x40e01c,this['createSetRecordValuesOp'](_0x40e01c,_0x3449f4,_0x1bacfb));}[_0x36f63a(0x276)](_0x5720,_0x5af3c0,_0xbfe019){const _0x3b02d4=_0x36f63a;this['_apply'](_0x5720,this[_0x3b02d4(0x55f)](_0x5720,_0x5af3c0,_0xbfe019));}[_0x36f63a(0x3d9)](_0x4d0366,_0x531dd6,_0x753325,_0x46fb51,_0x357ea4){const _0x24df56=_0x36f63a;let _0x2135d3=_0x4d0366['getSnapshot'](),_0x469cc4=this[_0x24df56(0x1ba)](_0x2135d3,_0x531dd6,_0x753325,_0x46fb51,_0x357ea4),_0x4c7b2a=this[_0x24df56(0x47d)](_0x2135d3,_0x531dd6,_0x753325,{[_0x46fb51]:_0x469cc4});return this['_factory'][_0x24df56(0x2e0)](_0x2135d3,_0x531dd6,[_0x4c7b2a]);}[_0x36f63a(0x3a5)](_0x35edf1,_0x41db07,_0x53838b){const _0x520d2d=_0x36f63a;let _0x959d07=_0x35edf1['getSnapshot'](),_0x3238c8=_0x53838b[_0x520d2d(0x4a5)](_0x4fc706=>this[_0x520d2d(0x47d)](_0x959d07,_0x41db07,_0x4fc706[_0x520d2d(0x571)],{...Object[_0x520d2d(0x60c)](Object['entries'](_0x4fc706[_0x520d2d(0x20f)])[_0x520d2d(0x4a5)](([_0x5b368a,_0x3f345b])=>[_0x5b368a,this[_0x520d2d(0x1ba)](_0x959d07,_0x41db07,_0x4fc706[_0x520d2d(0x571)],_0x5b368a,_0x3f345b)]))}));return this[_0x520d2d(0x482)]['setRecordValues'](_0x959d07,_0x41db07,_0x3238c8);}['createCreateRecordOp'](_0x717a7b,_0x21ee37,_0x15d930){const _0x1b34e6=_0x36f63a;if(!this[_0x1b34e6(0x377)][_0x1b34e6(0x41c)](_0x21ee37))throw Error(_0x1b34e6(0x367));let _0x2ab274=_0x717a7b[_0x1b34e6(0x509)](),_0x51de05=this[_0x1b34e6(0x4ab)](_0x2ab274[_0x1b34e6(0x594)][_0x21ee37]);return this[_0x1b34e6(0x482)][_0x1b34e6(0x276)](_0x2ab274,_0x21ee37,this['_createRecordWithDefaults'](_0x2ab274,_0x21ee37,_0x15d930,_0x51de05));}[_0x36f63a(0x47b)](_0x44d707,_0x149b43,_0x221500){const _0x2e480d=_0x36f63a;if(!this['_permissionService'][_0x2e480d(0x41c)](_0x149b43))throw Error(_0x2e480d(0x367));let _0x5a555a=_0x44d707[_0x2e480d(0x509)]();return _0xdade1e('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x132250=_0x2e480d;let _0xa2ff37=this[_0x132250(0x4ab)](_0x5a555a[_0x132250(0x594)][_0x149b43]);return this[_0x132250(0x482)]['createRecords'](_0x5a555a,_0x149b43,_0x221500[_0x132250(0x4a5)](_0x10a3ba=>this[_0x132250(0x1db)](_0x5a555a,_0x149b43,_0x10a3ba,_0xa2ff37)));},{'existingRecords':Object['keys'](_0x5a555a[_0x2e480d(0x594)][_0x149b43]['records'])['length'],'records':_0x221500[_0x2e480d(0x4cd)]});}[_0x36f63a(0x48a)](_0x3b6838,_0x4b98d9,_0x11490a,_0x489783,_0x5c9f72){const _0x3fb39f=_0x36f63a;if(!this[_0x3fb39f(0x377)][_0x3fb39f(0x1d9)](_0x4b98d9))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x1f4537=_0x3b6838[_0x3fb39f(0x509)]();if(this[_0x3fb39f(0x44f)](_0x1f4537,_0x11490a),_0x489783===0x0)throw Error(_0x3fb39f(0x2b5));let _0x3b10f6=this[_0x3fb39f(0x482)][_0x3fb39f(0x5b3)](_0x1f4537,_0x4b98d9,{'field':_0x11490a,'index':_0x489783,'viewIndexes':_0x5c9f72}),_0x28761f=this[_0x3fb39f(0x2f0)](_0x1f4537,_0x4b98d9,_0x11490a);if(!_0x28761f[_0x3fb39f(0x4cd)])return _0x3b10f6;let _0xd71b1a=this[_0x3fb39f(0x1e6)][_0x3fb39f(0x4ad)](_0x1f4537,_0x3b10f6);return _0x396f18([_0x3b10f6,this[_0x3fb39f(0x482)][_0x3fb39f(0x2e0)](_0xd71b1a,_0x4b98d9,_0x28761f)]);}[_0x36f63a(0x255)](_0x42a13f,_0x360b44,_0x4ce3c0){const _0x5bab7e=_0x36f63a;if(!this[_0x5bab7e(0x377)]['canDeleteRecord'](_0x360b44,_0x4ce3c0))throw Error(_0x5bab7e(0x48f));this[_0x5bab7e(0x404)](_0x42a13f,this[_0x5bab7e(0x482)][_0x5bab7e(0x255)](_0x42a13f[_0x5bab7e(0x509)](),_0x360b44,_0x4ce3c0));}[_0x36f63a(0x48d)](_0xff3ea0,_0x26f4a1,_0x17a494,_0x329533){const _0x195dc3=_0x36f63a;if(!this[_0x195dc3(0x377)][_0x195dc3(0x41c)](_0x26f4a1))throw Error(_0x195dc3(0x367));this[_0x195dc3(0x404)](_0xff3ea0,this[_0x195dc3(0x482)]['duplicateRecord'](_0xff3ea0[_0x195dc3(0x509)](),_0x26f4a1,_0x17a494,{..._0x329533,'values':{..._0x329533[_0x195dc3(0x20f)],[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x329533['id']}}));}['updateRecordOrder'](_0x5d5a40,_0x1cf0c9,_0x4d5f0e,_0x34ad83){const _0x4eb09d=_0x36f63a;if(!this[_0x4eb09d(0x377)][_0x4eb09d(0x590)](_0x1cf0c9,_0x4d5f0e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record.');this[_0x4eb09d(0x404)](_0x5d5a40,this[_0x4eb09d(0x482)][_0x4eb09d(0x5bb)](_0x5d5a40[_0x4eb09d(0x509)](),_0x1cf0c9,_0x4d5f0e,_0x34ad83));}[_0x36f63a(0x5b3)](_0x1708bb,_0x31a573,_0x1b5b0b,_0x4ac937,_0x4fd5b7){const _0x548d7a=_0x36f63a;this[_0x548d7a(0x404)](_0x1708bb,this[_0x548d7a(0x48a)](_0x1708bb,_0x31a573,_0x1b5b0b,_0x4ac937,_0x4fd5b7));}[_0x36f63a(0x4f8)](_0x59638e,_0x5b636e,_0x2eb2f8,_0x4d3c63){const _0x111353=_0x36f63a;var _0x17481c;if(!this[_0x111353(0x377)][_0x111353(0x3a7)](_0x5b636e,_0x2eb2f8))throw Error(_0x111353(0x5f0));let _0x100e38=_0x59638e[_0x111353(0x509)](),_0x3c4267=(_0x17481c=_0x100e38[_0x111353(0x594)][_0x5b636e])==null?void 0x0:_0x17481c[_0x111353(0x458)][_0x2eb2f8];if(!_0x3c4267||_0x2eb2f8===_0x26cf17[_0x111353(0x478)])throw Error(_0x111353(0x317));this[_0x111353(0x44f)](_0x100e38,{..._0x3c4267,..._0x4d3c63}),this[_0x111353(0x404)](_0x59638e,this[_0x111353(0x482)]['updateField'](_0x100e38,_0x5b636e,_0x2eb2f8,_0x4d3c63));}['changeFieldType'](_0x5c73b3,_0x1ed490,_0x251d07,_0x2d0788){const _0x4740ce=_0x36f63a;var _0x53652e;if(!this[_0x4740ce(0x377)][_0x4740ce(0x3a7)](_0x1ed490,_0x251d07))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x1acee2=_0x5c73b3['getSnapshot'](),_0x1bd605=(_0x53652e=_0x1acee2[_0x4740ce(0x594)][_0x1ed490])==null?void 0x0:_0x53652e[_0x4740ce(0x458)][_0x251d07];if(!_0x1bd605||_0x251d07===_0x26cf17[_0x4740ce(0x478)])throw Error(_0x4740ce(0x368));this[_0x4740ce(0x44f)](_0x1acee2,{..._0x1bd605,..._0x2d0788}),this[_0x4740ce(0x404)](_0x5c73b3,this['_factory'][_0x4740ce(0x1c7)](_0x1acee2,_0x1ed490,_0x251d07,_0x2d0788));}[_0x36f63a(0x4e9)](_0x188001,_0xc0900e,_0x5941b0){const _0x9057d8=_0x36f63a;var _0x46cadb;if(((_0x46cadb=_0x188001[_0x9057d8(0x509)]()[_0x9057d8(0x594)][_0xc0900e])==null?void 0x0:_0x46cadb[_0x9057d8(0x5ce)])===_0x5941b0||_0x5941b0===_0x26cf17['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x9057d8(0x43f));if(!this[_0x9057d8(0x377)][_0x9057d8(0x4ce)](_0xc0900e,_0x5941b0))throw Error(_0x9057d8(0x563));this[_0x9057d8(0x404)](_0x188001,this[_0x9057d8(0x482)]['deleteField'](_0x188001[_0x9057d8(0x509)](),_0xc0900e,_0x5941b0));}['moveField'](_0x11c420,_0x5e04f0,_0x2443a5,_0x2481d7){const _0x4936a5=_0x36f63a;if(!this['_permissionService'][_0x4936a5(0x3a7)](_0x5e04f0,_0x2443a5))throw Error(_0x4936a5(0x5f0));if(_0x2443a5===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x2481d7['beforeFieldId']===_0x26cf17[_0x4936a5(0x478)])throw Error(_0x4936a5(0x3ca));this['_apply'](_0x11c420,this[_0x4936a5(0x482)][_0x4936a5(0x27b)](_0x11c420[_0x4936a5(0x509)](),_0x5e04f0,_0x2443a5,_0x2481d7));}['createView'](_0x5e3a07,_0x39fbf2,_0x32e129,_0x41b343){const _0x38c6d2=_0x36f63a;if(!this[_0x38c6d2(0x377)][_0x38c6d2(0x47c)](_0x39fbf2,_0x32e129['id']))throw Error(_0x38c6d2(0x250));this[_0x38c6d2(0x404)](_0x5e3a07,this[_0x38c6d2(0x482)][_0x38c6d2(0x27d)](_0x5e3a07[_0x38c6d2(0x509)](),_0x39fbf2,_0x32e129,_0x41b343));}[_0x36f63a(0x206)](_0x22b465,_0x3d3353,_0x34b69f,_0x32fcb3){const _0x33d7d6=_0x36f63a;if(!this[_0x33d7d6(0x377)][_0x33d7d6(0x47c)](_0x3d3353,_0x34b69f))throw Error(_0x33d7d6(0x250));this['_apply'](_0x22b465,this[_0x33d7d6(0x482)][_0x33d7d6(0x206)](_0x22b465['getSnapshot'](),_0x3d3353,_0x34b69f,_0x32fcb3));}[_0x36f63a(0x574)](_0xd0b7ef,_0xafdd23,_0x517f3b){const _0x508ac9=_0x36f63a;if(!this[_0x508ac9(0x377)]['canManageView'](_0xafdd23,_0x517f3b))throw Error(_0x508ac9(0x250));this[_0x508ac9(0x404)](_0xd0b7ef,this[_0x508ac9(0x482)]['deleteView'](_0xd0b7ef['getSnapshot'](),_0xafdd23,_0x517f3b));}[_0x36f63a(0x19a)](_0x5962fd,_0x5a59e6,_0x36e7ba,_0x33ad9e){const _0x1fd6ac=_0x36f63a;if(!this[_0x1fd6ac(0x377)][_0x1fd6ac(0x47c)](_0x5a59e6,_0x36e7ba))throw Error(_0x1fd6ac(0x250));this[_0x1fd6ac(0x404)](_0x5962fd,this[_0x1fd6ac(0x482)][_0x1fd6ac(0x19a)](_0x5962fd[_0x1fd6ac(0x509)](),_0x5a59e6,_0x36e7ba,_0x33ad9e));}['updateViewConfig'](_0x43b6d1,_0x2eb156,_0x3f8e7a,_0x32c1cd){const _0x353fc5=_0x36f63a;if(!this[_0x353fc5(0x377)][_0x353fc5(0x47c)](_0x2eb156,_0x3f8e7a))throw Error(_0x353fc5(0x250));this[_0x353fc5(0x404)](_0x43b6d1,this['_factory']['updateViewConfig'](_0x43b6d1['getSnapshot'](),_0x2eb156,_0x3f8e7a,_0x32c1cd));}['setViewFilter'](_0x57fc32,_0x51cf42,_0x5503ad,_0xf63972){const _0x4f1f52=_0x36f63a;if(!this[_0x4f1f52(0x377)][_0x4f1f52(0x47c)](_0x51cf42,_0x5503ad))throw Error(_0x4f1f52(0x250));this['_apply'](_0x57fc32,this[_0x4f1f52(0x482)][_0x4f1f52(0x5e0)](_0x57fc32[_0x4f1f52(0x509)](),_0x51cf42,_0x5503ad,_0xf63972));}[_0x36f63a(0x577)](_0x403db3,_0x36e8a0,_0x594760,_0x14dc6a){const _0x1e8646=_0x36f63a;if(!this['_permissionService']['canManageView'](_0x36e8a0,_0x594760))throw Error(_0x1e8646(0x250));this[_0x1e8646(0x404)](_0x403db3,this[_0x1e8646(0x482)][_0x1e8646(0x577)](_0x403db3[_0x1e8646(0x509)](),_0x36e8a0,_0x594760,_0x14dc6a));}[_0x36f63a(0x2c6)](_0x571654,_0x4f4901,_0x477a18,_0x3e6ef4){const _0x29c0bf=_0x36f63a;if(!this[_0x29c0bf(0x377)][_0x29c0bf(0x47c)](_0x4f4901,_0x477a18))throw Error(_0x29c0bf(0x250));this['_apply'](_0x571654,this[_0x29c0bf(0x482)]['setViewGroup'](_0x571654[_0x29c0bf(0x509)](),_0x4f4901,_0x477a18,_0x3e6ef4));}[_0x36f63a(0x584)](_0x5a18bf,_0x510f75,_0x4a1b59,_0x5c6ab8,_0x9f66ea){const _0x5b8009=_0x36f63a;if(!this[_0x5b8009(0x377)][_0x5b8009(0x47c)](_0x510f75,_0x4a1b59))throw Error(_0x5b8009(0x250));this[_0x5b8009(0x404)](_0x5a18bf,this['_factory']['setViewFieldVisible'](_0x5a18bf[_0x5b8009(0x509)](),_0x510f75,_0x4a1b59,_0x5c6ab8,_0x9f66ea));}[_0x36f63a(0x390)](_0x5d5d14,_0x3173c4,_0xd92396,_0x25348d,_0x597a2f){const _0x4a4ecd=_0x36f63a;if(!this[_0x4a4ecd(0x377)]['canManageView'](_0x3173c4,_0xd92396))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4a4ecd(0x404)](_0x5d5d14,this[_0x4a4ecd(0x482)][_0x4a4ecd(0x390)](_0x5d5d14['getSnapshot'](),_0x3173c4,_0xd92396,_0x25348d,_0x597a2f));}[_0x36f63a(0x371)](_0x60d1fb,_0x17a723,_0x321523,_0x1659ad,_0x2de5a3){const _0x5528b9=_0x36f63a;if(!this[_0x5528b9(0x377)][_0x5528b9(0x47c)](_0x17a723,_0x321523))throw Error(_0x5528b9(0x250));this[_0x5528b9(0x404)](_0x60d1fb,this[_0x5528b9(0x482)]['setViewFieldOrder'](_0x60d1fb[_0x5528b9(0x509)](),_0x17a723,_0x321523,_0x1659ad,_0x2de5a3));}[_0x36f63a(0x404)](_0x4d1858,_0x5a3f6d){const _0x47aa7a=_0x36f63a;let _0x325928=_0x4d1858[_0x47aa7a(0x509)]();_0x4d1858[_0x47aa7a(0x2b6)](this[_0x47aa7a(0x1e6)][_0x47aa7a(0x4ad)](_0x325928,_0x5a3f6d));}[_0x36f63a(0x1db)](_0x4db0f0,_0x56abe0,_0x4a3685,_0x1d2ccd=this[_0x36f63a(0x4ab)](_0x4db0f0[_0x36f63a(0x594)][_0x56abe0])){const _0x218ada=_0x36f63a;let _0x1d0c24=_0x4db0f0[_0x218ada(0x594)][_0x56abe0],_0x248cae=_0x4a3685[_0x218ada(0x2e2)]??_0x4a3685['updatedBy']??this[_0x218ada(0x19c)](),_0xd77818={..._0x4a3685,'createdBy':_0x4a3685[_0x218ada(0x2e2)]??_0x248cae,'updatedBy':_0x4a3685[_0x218ada(0x24d)]??_0x248cae,'values':{..._0x4a3685[_0x218ada(0x20f)]}};return _0xd77818[_0x218ada(0x20f)][_0x26cf17[_0x218ada(0x478)]]=_0xd77818['id'],_0x1d0c24[_0x218ada(0x1b2)][_0x218ada(0x1bf)](_0x196d5a=>{const _0x49ac78=_0x218ada;let _0x7562dd=_0x1d0c24[_0x49ac78(0x458)][_0x196d5a];if(_0x7562dd&&_0xd77818['values'][_0x196d5a]===void 0x0)switch(_0x7562dd[_0x49ac78(0x5d6)]){case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x473)]:var _0x2d1683;_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=((_0x2d1683=_0x1d2ccd['get'](_0x196d5a))==null?void 0x0:_0x2d1683())??this[_0x49ac78(0x49c)](_0x1d0c24,_0x196d5a)();break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x3d1)]:_0xd77818[_0x49ac78(0x2e2)]&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0xd77818[_0x49ac78(0x2e2)]);break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x30b)]:_0xd77818[_0x49ac78(0x24d)]&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0xd77818[_0x49ac78(0x24d)]);break;case _0x26cf17[_0x49ac78(0x22d)]['CreatedAt']:_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x3815fa(_0xd77818[_0x49ac78(0x459)]);break;case _0x26cf17[_0x49ac78(0x22d)][_0x49ac78(0x217)]:_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x3815fa(_0xd77818['updatedAt']);break;default:{let _0x1d0916=_0x7562dd[_0x49ac78(0x4e8)];_0x1d0916!=null&&_0x1d0916!==''&&!(Array['isArray'](_0x1d0916)&&_0x1d0916[_0x49ac78(0x4cd)]===0x0)&&(_0xd77818[_0x49ac78(0x20f)][_0x196d5a]=_0x1d0916);}}}),_0xd77818;}[_0x36f63a(0x47d)](_0xbd3a39,_0x3a1508,_0x16fd72,_0x6e862a){const _0x5ce60b=_0x36f63a;var _0x36c06d,_0x28f5e7;let _0x235d63=_0xbd3a39[_0x5ce60b(0x594)][_0x3a1508],_0xeeccbe=((_0x36c06d=(_0x28f5e7=this[_0x5ce60b(0x4a3)])[_0x5ce60b(0x5c9)])==null?void 0x0:_0x36c06d[_0x5ce60b(0x5b6)](_0x28f5e7))??Date[_0x5ce60b(0x5c9)](),_0x13a9f3=this[_0x5ce60b(0x19c)](),_0x25efa6={..._0x6e862a};return _0x235d63[_0x5ce60b(0x1b2)][_0x5ce60b(0x1bf)](_0x56e6d9=>{const _0x464035=_0x5ce60b;let _0x1b8a54=_0x235d63['fields'][_0x56e6d9];_0x1b8a54&&(_0x1b8a54['type']===_0x26cf17['BaseFieldType'][_0x464035(0x217)]&&(_0x25efa6[_0x56e6d9]=_0x3815fa(_0xeeccbe)),_0x1b8a54['type']===_0x26cf17[_0x464035(0x22d)]['UpdatedBy']&&_0x13a9f3&&(_0x25efa6[_0x56e6d9]=_0x13a9f3));}),{'recordId':_0x16fd72,'values':_0x25efa6,'recordPatch':{'updatedAt':_0xeeccbe,..._0x13a9f3?{'updatedBy':_0x13a9f3}:{}}};}[_0x36f63a(0x2f0)](_0x37b49e,_0x488999,_0x54e5bf){const _0x200142=_0x36f63a;let _0x37eb23=_0x37b49e[_0x200142(0x594)][_0x488999];return!_0x37eb23||!_0x14cd5b(_0x54e5bf)?[]:_0x54e5bf[_0x200142(0x5d6)]===_0x26cf17[_0x200142(0x22d)][_0x200142(0x473)]?this['_createNumberingFieldValuePatches'](_0x37eb23,_0x54e5bf['id']):Object['values'](_0x37eb23[_0x200142(0x4c9)])['flatMap'](_0x24ac6d=>{const _0x3263b3=_0x200142;let _0x585c9b=this[_0x3263b3(0x49a)](_0x54e5bf,_0x24ac6d);return _0x585c9b===void 0x0?[]:[{'recordId':_0x24ac6d['id'],'values':{[_0x54e5bf['id']]:_0x585c9b}}];});}[_0x36f63a(0x49a)](_0x23fbe1,_0x26d530){const _0x21dbb8=_0x36f63a;switch(_0x23fbe1[_0x21dbb8(0x5d6)]){case _0x26cf17[_0x21dbb8(0x22d)][_0x21dbb8(0x3d1)]:return _0x26d530[_0x21dbb8(0x2e2)]??this['_getCurrentUserId']();case _0x26cf17[_0x21dbb8(0x22d)]['UpdatedBy']:return _0x26d530[_0x21dbb8(0x24d)]??this[_0x21dbb8(0x19c)]();case _0x26cf17['BaseFieldType'][_0x21dbb8(0x230)]:return _0x3815fa(_0x26d530['createdAt']??Date[_0x21dbb8(0x5c9)]());case _0x26cf17[_0x21dbb8(0x22d)][_0x21dbb8(0x217)]:return _0x3815fa(_0x26d530[_0x21dbb8(0x38f)]??Date[_0x21dbb8(0x5c9)]());default:return;}}[_0x36f63a(0x4ab)](_0x4a127f){const _0xbe0f89=_0x36f63a;let _0x1d00a3=new Map();return _0x4a127f&&_0x4a127f['fieldOrder'][_0xbe0f89(0x1bf)](_0x2a2511=>{const _0xaf7e7a=_0xbe0f89;let _0x199804=_0x4a127f[_0xaf7e7a(0x458)][_0x2a2511];(_0x199804==null?void 0x0:_0x199804['type'])===_0x26cf17[_0xaf7e7a(0x22d)][_0xaf7e7a(0x473)]&&_0x1d00a3[_0xaf7e7a(0x4a9)](_0x2a2511,this['_createNumberingAllocator'](_0x4a127f,_0x2a2511));}),_0x1d00a3;}[_0x36f63a(0x49c)](_0x3b3ce0,_0x35a3a0){const _0x11f75c=_0x36f63a;let _0x128c35=Object['values'](_0x3b3ce0[_0x11f75c(0x4c9)])[_0x11f75c(0x49f)]((_0x512ba5,_0x12e784)=>{const _0x761b14=_0x11f75c;let _0x341125=Number(_0x12e784[_0x761b14(0x20f)][_0x35a3a0]);return Number['isFinite'](_0x341125)?Math[_0x761b14(0x5a7)](_0x512ba5,_0x341125):_0x512ba5;},0x0);return()=>String(++_0x128c35);}['_createNumberingFieldValuePatches'](_0x3dc5bc,_0x1a1bfd){const _0x1db7cd=_0x36f63a;let _0x504222=this[_0x1db7cd(0x597)](_0x3dc5bc),_0x2aa313=this['_createNumberingAllocator'](_0x3dc5bc,_0x1a1bfd);return _0x504222[_0x1db7cd(0x35a)](_0x366e72=>this[_0x1db7cd(0x1a9)](_0x366e72[_0x1db7cd(0x20f)][_0x1a1bfd])?[]:[{'recordId':_0x366e72['id'],'values':{[_0x1a1bfd]:_0x2aa313()}}]);}[_0x36f63a(0x597)](_0x9e7ecb){const _0x4d80cb=_0x36f63a;var _0xeb0ab3;let _0xd086dc=Object[_0x4d80cb(0x20f)](_0x9e7ecb['records']),_0x14b2c4=new Map(_0xd086dc[_0x4d80cb(0x4a5)](_0x1ec592=>[_0x1ec592['id'],_0x1ec592])),_0x327ebd=[],_0x3a72d6=new Set();(_0xeb0ab3=_0x9e7ecb[_0x4d80cb(0x2ba)])==null||_0xeb0ab3[_0x4d80cb(0x1bf)](_0x571507=>{const _0x4dbbdf=_0x4d80cb;let _0x549d06=_0x14b2c4[_0x4dbbdf(0x558)](_0x571507);_0x549d06&&(_0x327ebd[_0x4dbbdf(0x605)](_0x549d06),_0x3a72d6[_0x4dbbdf(0x1ce)](_0x571507));});let _0x25a77e=_0xd086dc[_0x4d80cb(0x46a)](_0x59cdd9=>!_0x3a72d6['has'](_0x59cdd9['id']))[_0x4d80cb(0x30f)]((_0x2cbcd7,_0x577ac4)=>String(_0x2cbcd7[_0x4d80cb(0x58c)]??_0x2cbcd7['id'])[_0x4d80cb(0x4ed)](String(_0x577ac4[_0x4d80cb(0x58c)]??_0x577ac4['id']))||_0x2cbcd7['id'][_0x4d80cb(0x4ed)](_0x577ac4['id']));return[..._0x327ebd,..._0x25a77e];}[_0x36f63a(0x1a9)](_0x4211c4){const _0x2da49b=_0x36f63a;return _0x4211c4!=null&&_0x4211c4!==''&&!(Array['isArray'](_0x4211c4)&&_0x4211c4[_0x2da49b(0x4cd)]===0x0);}[_0x36f63a(0x19c)](){const _0xd19e0=_0x36f63a;var _0x21b34c,_0x55578d,_0x1cc4f7,_0x146d34;return((_0x21b34c=(_0x55578d=this[_0xd19e0(0x4a3)])[_0xd19e0(0x54f)])==null?void 0x0:_0x21b34c[_0xd19e0(0x5b6)](_0x55578d))??((_0x1cc4f7=(_0x146d34=this[_0xd19e0(0x4a3)])['getCurrentUser'])==null||(_0x1cc4f7=_0x1cc4f7[_0xd19e0(0x5b6)](_0x146d34))==null?void 0x0:_0x1cc4f7[_0xd19e0(0x1ea)])??void 0x0;}['_normalizeCellValue'](_0x66abcb,_0x3d826a,_0x5d7e8e,_0x1aebb8,_0x2e368c){const _0x479768=_0x36f63a;var _0x230b74;if(!this[_0x479768(0x377)][_0x479768(0x1a2)](_0x3d826a,_0x5d7e8e,_0x1aebb8))throw Error(_0x479768(0x4d9));let _0x2bd180=(_0x230b74=_0x66abcb[_0x479768(0x594)][_0x3d826a])==null?void 0x0:_0x230b74[_0x479768(0x458)][_0x1aebb8];if(!_0x2bd180)throw Error(_0x479768(0x421)+_0x1aebb8+_0x479768(0x411));let _0x4a752f=this[_0x479768(0x454)][_0x479768(0x558)](_0x2bd180[_0x479768(0x5d6)]);if(_0x2bd180[_0x479768(0x4e5)]||_0x2bd180[_0x479768(0x5a9)]||!_0x4a752f['getCapabilities'](_0x2bd180)['editable'])throw Error(_0x479768(0x575));let _0x2a3e03=_0x4a752f[_0x479768(0x34d)](_0x2e368c,_0x2bd180),_0x4eaddb=_0x4a752f[_0x479768(0x2d9)](_0x2a3e03,_0x2bd180);if(!_0x4eaddb[_0x479768(0x50f)])throw Error(_0x4eaddb['reason']??_0x479768(0x50d));let _0x36e5d5=_0x2bd180[_0x479768(0x5d6)]===_0x26cf17['BaseFieldType'][_0x479768(0x393)]?_0x288789(_0x66abcb,_0x2bd180,_0x2a3e03):{'valid':!0x0};if(!_0x36e5d5[_0x479768(0x50f)])throw Error(_0x36e5d5[_0x479768(0x560)]??_0x479768(0x510));return _0x2a3e03;}[_0x36f63a(0x44f)](_0x45d113,_0x40cff0){const _0x1e73e4=_0x36f63a;if(_0x40cff0['id']===_0x26cf17[_0x1e73e4(0x478)]||_0x40cff0['type']===_0x26cf17[_0x1e73e4(0x22d)]['RecordId']||(0x0,_0x26cf17[_0x1e73e4(0x3c8)])(_0x40cff0[_0x1e73e4(0x3f8)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x4b1878=_0x5f1ecb(_0x45d113,_0x40cff0);if(!_0x4b1878[_0x1e73e4(0x50f)])throw Error(_0x4b1878[_0x1e73e4(0x560)]??_0x1e73e4(0x4fa));}};_0x2c090c=_0x184c3d([_0x5712fb(0x0,_0x55f82b),_0x5712fb(0x1,_0x270bb8)],_0x2c090c);function _0x30a3da(){const _0x26f651=_0x36f63a;let _0x5b8a29=new _0x5317ce();return _0x5f0176()['forEach'](_0x15d8ba=>_0x5b8a29[_0x26f651(0x397)](_0x15d8ba)),_0x5b8a29;}function _0x14cd5b(_0x1e6bec){const _0x6052b6=_0x36f63a;return _0x1e6bec['type']===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x473)]||_0x1e6bec[_0x6052b6(0x5d6)]===_0x26cf17['BaseFieldType'][_0x6052b6(0x3d1)]||_0x1e6bec['type']===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x30b)]||_0x1e6bec['type']===_0x26cf17['BaseFieldType']['CreatedAt']||_0x1e6bec[_0x6052b6(0x5d6)]===_0x26cf17[_0x6052b6(0x22d)][_0x6052b6(0x217)];}let _0x251480=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17[_0x36f63a(0x22d)]['Rating'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x428)]]);function _0x4485ec(_0x51a953){const _0x242fce=_0x36f63a;let _0x115f95=_0x51a953[_0x242fce(0x458)][_0x51a953[_0x242fce(0x5ce)]];if((!_0x115f95||_0x115f95['system']!==!0x0&&_0x115f95['id']['toLowerCase']()!=='id'&&_0x115f95['name'][_0x242fce(0x3ce)]()[_0x242fce(0x1fd)]()!=='id')&&_0x115f95)return _0x115f95['id'];for(let _0x1bb227 of _0x51a953[_0x242fce(0x1b2)]){let _0x1f7642=_0x51a953['fields'][_0x1bb227];if(_0x1f7642&&_0x1f7642['id']!==_0x51a953['primaryFieldId']&&_0x1f7642[_0x242fce(0x5a9)]!==!0x0&&_0x1f7642['type']!==_0x26cf17['BaseFieldType'][_0x242fce(0x4b5)])return _0x1f7642['id'];}return _0x51a953[_0x242fce(0x5ce)];}function _0x17b3aa(_0x57c04d,_0x4848ee=[],_0x11505d=0x5){const _0x434012=_0x36f63a;let _0x2aa2aa=new Set(_0x4848ee[_0x434012(0x46a)](_0xfc81a=>!!_0xfc81a)),_0x3bb516=[],_0x468447=[];for(let _0xe2d586 of _0x57c04d[_0x434012(0x1b2)]){let _0x38fdef=_0x57c04d[_0x434012(0x458)][_0xe2d586];_0x38fdef&&_0x38fdef[_0x434012(0x5a9)]!==!0x0&&_0x38fdef['type']!==_0x26cf17[_0x434012(0x22d)][_0x434012(0x4b5)]&&!_0x2aa2aa['has'](_0x38fdef['id'])&&(_0x251480[_0x434012(0x2fa)](_0x38fdef[_0x434012(0x5d6)])?_0x3bb516:_0x468447)[_0x434012(0x605)](_0x38fdef['id']);}return[..._0x3bb516,..._0x468447]['slice'](0x0,_0x11505d);}function _0x1a24bf(){const _0x15b4ce=_0x36f63a;return[{'type':_0x26cf17[_0x15b4ce(0x2fb)][_0x15b4ce(0x521)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Kanban'],'i18nKey':_0x15b4ce(0x304),'createDefaultConfig':_0x4465c4=>{const _0x3fff9f=_0x15b4ce;let _0x59588f=_0x22672e(_0x4465c4);return{'groupFieldId':_0x59588f,'coverFieldId':null,'cardLayout':_0x3fff9f(0x3f6),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x4465c4[_0x3fff9f(0x5ce)],'fieldIds':_0x17b3aa(_0x4465c4,[_0x4465c4['primaryFieldId'],_0x59588f])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x51fd23=_0x15b4ce;throw Error(_0x51fd23(0x406));}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Calendar'],'i18nKey':_0x15b4ce(0x504),'createDefaultConfig':_0xc3739e=>{const _0x5ad897=_0x15b4ce;let _0x4bf623=_0x67b990(_0xc3739e);return{'startDateFieldId':_0x4bf623,'endDateFieldId':_0x46f682(_0xc3739e,_0x4bf623),'titleFieldId':_0xc3739e[_0x5ad897(0x5ce)],'mode':'month','timeslotSize':'medium','timeZone':_0x5ad897(0x222),'displayColor':{'type':_0x5ad897(0x200),'color':_0x5ad897(0x2f8)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)]['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0xfb32a1=>{const _0x5ed165=_0x15b4ce;let _0xf04bef=_0x67b990(_0xfb32a1);return{'startDateFieldId':_0xf04bef,'endDateFieldId':_0x46f682(_0xfb32a1,_0xf04bef)??_0xf04bef,'titleFieldId':_0xfb32a1[_0x5ed165(0x5ce)],'scale':_0x5ed165(0x449),'showTodayLine':!0x0,'displayColor':{'type':_0x5ed165(0x200),'color':_0x5ed165(0x31e)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x26cf17[_0x15b4ce(0x2fb)][_0x15b4ce(0x54a)],'i18nKey':_0x15b4ce(0x53b),'createDefaultConfig':_0x2731b0=>{const _0x264385=_0x15b4ce;let _0x158720=_0x4485ec(_0x2731b0);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x158720,'coverFieldId':null,'fieldIds':_0x17b3aa(_0x2731b0,[_0x158720,_0x2731b0[_0x264385(0x5ce)]])},'cardSize':_0x264385(0x61b)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xc262f7=_0x15b4ce;throw Error(_0xc262f7(0x2b2));}}];}function _0x22672e(_0x226467){const _0x32299e=_0x36f63a;var _0x7b694d,_0xaa6356,_0x3aef3d;let _0x28fa6b=_0x226467[_0x32299e(0x1b2)][_0x32299e(0x4a5)](_0x1272df=>_0x226467[_0x32299e(0x458)][_0x1272df])['filter'](_0x30d6a8=>!!_0x30d6a8);return((_0x7b694d=_0x28fa6b['find'](_0x4aed08=>_0x4aed08['type']===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x537)]||_0x4aed08[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x36d)]||_0x4aed08[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x4ef)]))==null?void 0x0:_0x7b694d['id'])??((_0xaa6356=_0x28fa6b[_0x32299e(0x396)](_0xcf0d8c=>_0xcf0d8c[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x286)]))==null?void 0x0:_0xaa6356['id'])??((_0x3aef3d=_0x28fa6b[_0x32299e(0x396)](_0xce45b4=>_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x1be)]||_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17['BaseFieldType']['CreatedAt']||_0xce45b4[_0x32299e(0x5d6)]===_0x26cf17[_0x32299e(0x22d)][_0x32299e(0x217)]))==null?void 0x0:_0x3aef3d['id'])??_0x226467['primaryFieldId'];}function _0x67b990(_0xa0c86d){const _0x27ced6=_0x36f63a;var _0x575e2e;return((_0x575e2e=_0xa0c86d[_0x27ced6(0x1b2)][_0x27ced6(0x4a5)](_0x1bfd72=>_0xa0c86d['fields'][_0x1bfd72])[_0x27ced6(0x396)](_0x526b76))==null?void 0x0:_0x575e2e['id'])??'';}function _0x46f682(_0x469f03,_0x48d62f){const _0x5b8fe0=_0x36f63a;var _0x2c8238;return(_0x2c8238=_0x469f03[_0x5b8fe0(0x1b2)][_0x5b8fe0(0x4a5)](_0x6b65c8=>_0x469f03[_0x5b8fe0(0x458)][_0x6b65c8])[_0x5b8fe0(0x396)](_0x397b3d=>_0x526b76(_0x397b3d)&&_0x397b3d['id']!==_0x48d62f))==null?void 0x0:_0x2c8238['id'];}function _0x526b76(_0x5dcdf2){const _0x32cc31=_0x36f63a;return!!_0x5dcdf2&&_0x5dcdf2[_0x32cc31(0x5d6)]===_0x26cf17[_0x32cc31(0x22d)][_0x32cc31(0x1be)]&&_0x5dcdf2['readonly']!==!0x0&&_0x5dcdf2[_0x32cc31(0x5a9)]!==!0x0;}let _0x4076d2=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x1b7)),_0x150a74=new Set([_0x26cf17[_0x36f63a(0x22d)]['Number'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4b6)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17['BaseFieldType'][_0x36f63a(0x372)],_0x26cf17[_0x36f63a(0x22d)]['Date'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x230)],_0x26cf17[_0x36f63a(0x22d)]['UpdatedAt'],_0x26cf17[_0x36f63a(0x22d)]['Checkbox']]),_0x4ab1b5=0x5265c00,_0x4149ac=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x2ab740){const _0x272a7b=_0x36f63a;super(),this[_0x272a7b(0x454)]=_0x2ab740,_0x52a6e5(this,_0x272a7b(0x287),new Map()),_0x52a6e5(this,_0x272a7b(0x1c2),new WeakMap()),_0x52a6e5(this,_0x272a7b(0x4c6),new Map()),_0x52a6e5(this,_0x272a7b(0x41a),new Map()),_0x52a6e5(this,_0x272a7b(0x220),new Map()),_0x52a6e5(this,'_hierarchyIndexCache',new Map()),_0x52a6e5(this,_0x272a7b(0x1fc),0x0),_0x52a6e5(this,'_tableRevisions',new Map()),_0x52a6e5(this,_0x272a7b(0x328),new Map()),_0x52a6e5(this,_0x272a7b(0x5be),new Map()),_0x52a6e5(this,'_viewRevisions',new Map());}[_0x36f63a(0x2a1)](_0x332468){const _0xff9ad0=_0x36f63a;return this[_0xff9ad0(0x287)][_0xff9ad0(0x4a9)](_0x332468[_0xff9ad0(0x5d6)],_0x332468),(0x0,_0x26cf17[_0xff9ad0(0x3a2)])(()=>this[_0xff9ad0(0x287)][_0xff9ad0(0x346)](_0x332468['type']));}[_0x36f63a(0x5f3)](_0x272277,_0x4df559,_0x32665a){const _0x1df78a=_0x36f63a;var _0x174fd1,_0x11ae2d,_0x219da9;return _0xdade1e('BaseProjection.getProjection',()=>{const _0x5c7c42=_0x45c5;let _0x5387c0=this[_0x5c7c42(0x524)](_0x272277,_0x4df559,_0x32665a);if(_0x5387c0)return _0x5387c0;let _0x2f3287=_0x272277[_0x5c7c42(0x594)][_0x4df559],_0x45b6a2=_0x2f3287==null?void 0x0:_0x2f3287[_0x5c7c42(0x3d8)][_0x32665a];if(!_0x2f3287||!_0x45b6a2)return this[_0x5c7c42(0x256)](_0x272277,_0x4df559,_0x32665a,{'type':'invalid','viewType':(_0x45b6a2==null?void 0x0:_0x45b6a2[_0x5c7c42(0x5d6)])??_0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x521)],'reason':_0x5c7c42(0x1f9)});let _0x4622d2;switch(_0x45b6a2[_0x5c7c42(0x5d6)]){case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x521)]:_0x4622d2=this[_0x5c7c42(0x433)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x1e2)]:_0x4622d2=this[_0x5c7c42(0x3cb)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x288)]:_0x4622d2=this[_0x5c7c42(0x474)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x472)]:_0x4622d2=this[_0x5c7c42(0x2e5)](_0x2f3287,_0x45b6a2);break;case _0x26cf17[_0x5c7c42(0x2fb)][_0x5c7c42(0x54a)]:_0x4622d2=this[_0x5c7c42(0x543)](_0x2f3287,_0x45b6a2);break;default:_0x4622d2={'type':_0x5c7c42(0x312),'viewType':_0x45b6a2[_0x5c7c42(0x5d6)],'reason':_0x5c7c42(0x1f9)};}return this[_0x5c7c42(0x256)](_0x272277,_0x4df559,_0x32665a,_0x4622d2);},{'tableId':_0x4df559,'viewId':_0x32665a,'viewType':(_0x174fd1=_0x272277['tables'][_0x4df559])==null||(_0x174fd1=_0x174fd1[_0x1df78a(0x3d8)][_0x32665a])==null?void 0x0:_0x174fd1[_0x1df78a(0x5d6)],'records':((_0x11ae2d=_0x272277['tables'][_0x4df559])==null||(_0x11ae2d=_0x11ae2d[_0x1df78a(0x2ba)])==null?void 0x0:_0x11ae2d['length'])??Object[_0x1df78a(0x40d)](((_0x219da9=_0x272277[_0x1df78a(0x594)][_0x4df559])==null?void 0x0:_0x219da9[_0x1df78a(0x4c9)])??{})[_0x1df78a(0x4cd)]});}[_0x36f63a(0x207)](_0x3ccb48,_0x492606,_0x3618b8){const _0x52366d=_0x36f63a;var _0x53b18d,_0x2252ac,_0x38845f;let _0x2ead82=_0x3ccb48['tables'][_0x492606],_0x142332=_0x2ead82==null?void 0x0:_0x2ead82[_0x52366d(0x3d8)][_0x3618b8];if(!_0x2ead82||!_0x142332)throw Error(_0x52366d(0x223)+_0x3618b8+'\x22.');let _0x1a5ba3=_0x53f3de=>!!_0x2ead82[_0x52366d(0x458)][_0x53f3de],_0xb6e988={..._0x142332,'filter':_0x142332['filter']?{..._0x142332['filter'],'conditions':_0x142332[_0x52366d(0x46a)][_0x52366d(0x357)][_0x52366d(0x46a)](_0x2de112=>_0x1a5ba3(_0x2de112['fieldId']))}:_0x142332[_0x52366d(0x46a)],'sort':(_0x53b18d=_0x142332[_0x52366d(0x30f)])==null?void 0x0:_0x53b18d['filter'](_0xef923=>_0x1a5ba3(_0xef923[_0x52366d(0x39c)])),'group':(_0x2252ac=_0x142332[_0x52366d(0x58b)])==null?void 0x0:_0x2252ac[_0x52366d(0x46a)](_0x3d784e=>_0x1a5ba3(_0x3d784e[_0x52366d(0x39c)])),'fieldOrder':(_0x38845f=_0x142332[_0x52366d(0x1b2)])==null?void 0x0:_0x38845f[_0x52366d(0x46a)](_0x1a5ba3),'fieldSettings':Object[_0x52366d(0x60c)](Object[_0x52366d(0x443)](_0x142332[_0x52366d(0x47f)]??{})[_0x52366d(0x46a)](([_0x32a1f2])=>_0x1a5ba3(_0x32a1f2)))};if(_0xb6e988[_0x52366d(0x5d6)]==='kanban'){var _0x2c9bf7;let _0x497e6e=_0xb6e988[_0x52366d(0x4cc)]??{},_0x11285a=this[_0x52366d(0x580)](_0x2ead82,_0xb6e988),_0x35f0df=this[_0x52366d(0x31a)](_0x2ead82,(_0x2c9bf7=_0x497e6e[_0x52366d(0x4f0)])==null?void 0x0:_0x2c9bf7[_0x52366d(0x3c2)]);_0xb6e988['config']={..._0x497e6e,'groupFieldId':_0x11285a??_0x497e6e[_0x52366d(0x26d)],'coverFieldId':this[_0x52366d(0x592)](_0x2ead82,_0x497e6e),'cardLayout':_0x497e6e[_0x52366d(0x307)]===_0x52366d(0x44a)?'compose':_0x52366d(0x3f6),'showFieldNames':_0x497e6e[_0x52366d(0x2a6)]!==!0x1,'fieldSettings':Object[_0x52366d(0x60c)](Object['entries'](_0x497e6e[_0x52366d(0x47f)]??{})[_0x52366d(0x46a)](([_0x20636d])=>_0x1a5ba3(_0x20636d))),'columnSettings':_0x497e6e[_0x52366d(0x38a)]??{},'card':{..._0x497e6e[_0x52366d(0x4f0)]??{},'titleFieldId':_0x35f0df,'fieldIds':this[_0x52366d(0x340)](_0x2ead82,_0xb6e988,_0x11285a??'',_0x35f0df)}};}return{'repaired':JSON[_0x52366d(0x40a)](_0xb6e988)!==JSON['stringify'](_0x142332),'view':_0xb6e988};}[_0x36f63a(0x59e)](){const _0x19b917=_0x36f63a;this[_0x19b917(0x1fc)]++;}[_0x36f63a(0x3b0)](_0x4c3f54,_0x3c1dc9,_0x599522){const _0x4e8bd9=_0x36f63a;let _0xd61c78=this[_0x4e8bd9(0x303)](_0x4c3f54)+0x1;this[_0x4e8bd9(0x328)][_0x4e8bd9(0x4a9)](_0x4c3f54,_0xd61c78);let _0x458325=this[_0x4e8bd9(0x5be)]['get'](_0x4c3f54)??[];_0x458325['push']({'revision':_0xd61c78,'recordId':_0x3c1dc9,'fieldId':_0x599522}),this[_0x4e8bd9(0x5be)][_0x4e8bd9(0x4a9)](_0x4c3f54,_0x458325);}['invalidateByField'](_0x52dc42,_0x3815a1){const _0x150311=_0x36f63a;this[_0x150311(0x36e)](_0x52dc42);}[_0x36f63a(0x338)](_0x59e84f,_0x3249e9){const _0x10576b=_0x36f63a;this['_viewRevisions'][_0x10576b(0x4a9)](this['_viewRevisionKey'](_0x59e84f,_0x3249e9),this['_getViewRevision'](_0x59e84f,_0x3249e9)+0x1);}['_getCachedProjection'](_0x27bd53,_0x178fe4,_0x59f315){const _0x11e942=_0x36f63a;var _0x4c64f9;let _0x5000ba=(_0x4c64f9=this[_0x11e942(0x1c2)][_0x11e942(0x558)](_0x27bd53))==null?void 0x0:_0x4c64f9[_0x11e942(0x558)](this[_0x11e942(0x5bc)](_0x178fe4,_0x59f315));return _0x5000ba&&_0x5000ba[_0x11e942(0x349)]===this[_0x11e942(0x1fc)]&&_0x5000ba[_0x11e942(0x21f)]===this[_0x11e942(0x426)](_0x178fe4)&&_0x5000ba[_0x11e942(0x3f9)]===this[_0x11e942(0x303)](_0x178fe4)&&_0x5000ba[_0x11e942(0x2ac)]===this['_getViewRevision'](_0x178fe4,_0x59f315)?_0x5000ba[_0x11e942(0x53c)]:null;}[_0x36f63a(0x256)](_0x4f042d,_0x21fa86,_0x3ece8f,_0x33d2eb){const _0x31f36d=_0x36f63a;let _0x3b0edd=this[_0x31f36d(0x1c2)][_0x31f36d(0x558)](_0x4f042d);return _0x3b0edd||(_0x3b0edd=new Map(),this[_0x31f36d(0x1c2)][_0x31f36d(0x4a9)](_0x4f042d,_0x3b0edd)),_0x3b0edd[_0x31f36d(0x4a9)](this[_0x31f36d(0x5bc)](_0x21fa86,_0x3ece8f),{'projection':_0x33d2eb,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x21fa86),'cellRevision':this[_0x31f36d(0x303)](_0x21fa86),'viewRevision':this[_0x31f36d(0x23f)](_0x21fa86,_0x3ece8f)}),_0x33d2eb;}[_0x36f63a(0x36e)](_0x2f2cee){const _0x103147=_0x36f63a;this[_0x103147(0x267)][_0x103147(0x4a9)](_0x2f2cee,this[_0x103147(0x426)](_0x2f2cee)+0x1);}[_0x36f63a(0x426)](_0x5db70d){const _0x5701e0=_0x36f63a;return this['_tableRevisions'][_0x5701e0(0x558)](_0x5db70d)??0x0;}['_getCellRevision'](_0x31a7a0){const _0xcd67ad=_0x36f63a;return this[_0xcd67ad(0x328)][_0xcd67ad(0x558)](_0x31a7a0)??0x0;}['_getViewRevision'](_0x22cefa,_0x33c21e){const _0x528ec2=_0x36f63a;return this[_0x528ec2(0x3a6)]['get'](this[_0x528ec2(0x2b9)](_0x22cefa,_0x33c21e))??0x0;}[_0x36f63a(0x5bc)](_0x183004,_0x139834){return _0x183004+'\x00'+_0x139834;}[_0x36f63a(0x3af)](_0x349f09,_0x3bf3a1){const _0x49a93b=_0x36f63a;return _0x349f09+'\x00'+this[_0x49a93b(0x5a0)](_0x3bf3a1);}[_0x36f63a(0x5bf)](_0x56359,_0x12311e,_0x190b7f){const _0xef92a4=_0x36f63a;return _0x56359+'\x00'+this[_0xef92a4(0x5a0)](_0x12311e)+'\x00'+this[_0xef92a4(0x1d2)](_0x190b7f);}[_0x36f63a(0x5a0)](_0x3060df){const _0x56a282=_0x36f63a;return _0x3060df?_0x43250e({'filter':_0x216680(_0x3060df[_0x56a282(0x46a)]),'sort':_0x34b40f(_0x3060df[_0x56a282(0x30f)])}):_0x56a282(0x5c2);}[_0x36f63a(0x1d2)](_0x188ee3){const _0x5017a5=_0x36f63a;return _0x43250e(_0x188ee3[_0x5017a5(0x4a5)](_0xf6188f=>({'fieldId':_0xf6188f[_0x5017a5(0x39c)],'direction':_0xf6188f['direction']??null})));}[_0x36f63a(0x2b9)](_0x1fb896,_0x5e54a9){return _0x1fb896+'\x00'+_0x5e54a9;}[_0x36f63a(0x433)](_0x2467b1,_0x22b167){const _0x168421=_0x36f63a;var _0x3f4063;let _0x16a601=_0xcff95d(_0x2467b1),_0x20e5cd=this[_0x168421(0x3ab)](_0x2467b1,_0x22b167),_0x7f2c15=(_0x3f4063=_0x22b167[_0x168421(0x46a)])!=null&&_0x3f4063[_0x168421(0x357)][_0x168421(0x4cd)]?this[_0x168421(0x3ab)](_0x2467b1,{..._0x22b167,'filter':null}):_0x20e5cd,_0x3a2e69=_0x53de46(this[_0x168421(0x3ed)](_0x2467b1,_0x16a601,_0x22b167['id'],_0x7f2c15[_0x168421(0x4a5)](_0x4b7573=>_0x4b7573[_0x168421(0x571)])),_0x7f2c15,new Set(_0x20e5cd[_0x168421(0x4a5)](_0x5ed25b=>_0x5ed25b['recordId'])));return{'type':_0x26cf17[_0x168421(0x2fb)]['Grid'],'fields':this[_0x168421(0x1b9)](_0x2467b1,_0x22b167),'rows':_0x3a2e69['rows'],'groups':this['_projectHierarchyGroups'](_0x2467b1,_0x22b167,_0x3a2e69[_0x168421(0x354)],_0x3a2e69[_0x168421(0x50e)]),'hierarchy':_0x3a2e69['hierarchy'],'frozenFieldCount':typeof _0x22b167['config']['frozenFieldCount']=='number'?_0x22b167[_0x168421(0x4cc)][_0x168421(0x579)]:0x0};}['_getHierarchyIndex'](_0x20ab6f,_0x253f65,_0x8b70b5,_0x1b3cbf){const _0x551e45=_0x36f63a;let _0x2b7289=_0x20ab6f['id']+'\x00'+_0x253f65+'\x00'+_0x8b70b5,_0x2915f5=this[_0x551e45(0x303)](_0x20ab6f['id']),_0xeaf12c=this[_0x551e45(0x33f)][_0x551e45(0x558)](_0x2b7289);if(_0xeaf12c&&_0xeaf12c['globalRevision']===this[_0x551e45(0x1fc)]&&_0xeaf12c[_0x551e45(0x21f)]===this[_0x551e45(0x426)](_0x20ab6f['id'])&&_0xeaf12c[_0x551e45(0x1f0)][_0x551e45(0x4cd)]===_0x1b3cbf[_0x551e45(0x4cd)]&&_0xeaf12c[_0x551e45(0x1f0)][_0x551e45(0x308)]((_0x44da90,_0x525aa9)=>_0x44da90===_0x1b3cbf[_0x525aa9])){if(_0xeaf12c['cellRevision']===_0x2915f5&&_0xeaf12c[_0x551e45(0x551)]===_0x20ab6f)return _0xeaf12c['index'];if(!this['_cellInvalidationsTouchFields'](_0x20ab6f['id'],_0xeaf12c[_0x551e45(0x3f9)],_0x2915f5,new Set([_0x253f65])))return this['_hierarchyIndexCache']['set'](_0x2b7289,{..._0xeaf12c,'table':_0x20ab6f,'cellRevision':_0x2915f5}),_0xeaf12c[_0x551e45(0x21b)];}let _0x2f6dff=_0x17cc3f(_0x20ab6f,_0x253f65,_0x1b3cbf);return this[_0x551e45(0x33f)][_0x551e45(0x4a9)](_0x2b7289,{'table':_0x20ab6f,'index':_0x2f6dff,'orderedRecordIds':_0x1b3cbf,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x551e45(0x426)](_0x20ab6f['id']),'cellRevision':_0x2915f5}),_0x2f6dff;}['_projectHierarchyGroups'](_0x5bdc58,_0x3fa3ba,_0xce5324,_0x594635){const _0x13e485=_0x36f63a;var _0x3fa3a3;if(!((_0x3fa3a3=_0x3fa3ba[_0x13e485(0x58b)])!=null&&_0x3fa3a3[_0x13e485(0x4cd)]))return[];let _0x2bee62=new Map(_0xce5324[_0x13e485(0x4a5)](_0x3c9fc5=>[_0x3c9fc5[_0x13e485(0x571)],_0x3c9fc5])),_0x22ddf1=_0x594635[_0x13e485(0x1b1)][_0x13e485(0x35a)](_0x5f2c6e=>{let _0x3c7dd7=_0x2bee62['get'](_0x5f2c6e);return _0x3c7dd7?[_0x3c7dd7]:[];}),_0x4cf5c7=this[_0x13e485(0x4d7)](_0x5bdc58,_0x3fa3ba,_0x22ddf1),_0x119086=new Map(_0x594635[_0x13e485(0x1f0)][_0x13e485(0x4a5)]((_0x37501a,_0x2eeff7)=>[_0x37501a,_0x2eeff7])),_0x25d935=_0x520289=>{const _0x156074=_0x13e485;let _0x56535a=_0x594635['nodes'][_0x520289],_0x502551=_0x119086['get'](_0x520289)??-0x1;return _0x502551<0x0||!_0x56535a?[]:_0x594635['orderedRecordIds'][_0x156074(0x24f)](_0x502551,_0x56535a[_0x156074(0x373)]+0x1);},_0x47c9ad=_0x4255ea=>{const _0x271f55=_0x13e485;var _0x496a69,_0x575585;return{..._0x4255ea,'recordIds':(_0x496a69=_0x4255ea['children'])!=null&&_0x496a69[_0x271f55(0x4cd)]?_0x4255ea[_0x271f55(0x263)]:_0x4255ea[_0x271f55(0x263)][_0x271f55(0x35a)](_0x25d935),'children':(_0x575585=_0x4255ea[_0x271f55(0x3ea)])==null?void 0x0:_0x575585[_0x271f55(0x4a5)](_0x47c9ad)};};return _0x4cf5c7['map'](_0x47c9ad);}[_0x36f63a(0x474)](_0x27b2c6,_0x402af6){const _0x1d518d=_0x36f63a;var _0xf2a4bd;let _0x4eb7e0=this[_0x1d518d(0x580)](_0x27b2c6,_0x402af6),_0x2d9a4a=_0x4eb7e0?_0x27b2c6[_0x1d518d(0x458)][_0x4eb7e0]:void 0x0;if(!_0x2d9a4a)return{'type':_0x1d518d(0x312),'viewType':_0x26cf17[_0x1d518d(0x2fb)][_0x1d518d(0x288)],'reason':_0x1d518d(0x464),'fieldId':_0x402af6['config'][_0x1d518d(0x26d)]};let _0x5b30da=this[_0x1d518d(0x3ab)](_0x27b2c6,_0x402af6),_0x53501a=this[_0x1d518d(0x1b9)](_0x27b2c6,_0x402af6),_0x527ac6=_0x402af6['config']??{},_0x5715ab=this[_0x1d518d(0x31a)](_0x27b2c6,(_0xf2a4bd=_0x527ac6['card'])==null?void 0x0:_0xf2a4bd[_0x1d518d(0x3c2)]),_0x18fa47=this['_resolveKanbanCardFieldIds'](_0x27b2c6,_0x402af6,_0x2d9a4a['id'],_0x5715ab),_0x28a623=new Map();if(_0x2e8fb1(_0x27b2c6,_0x2d9a4a['id'])){let _0x3025c3=this[_0x1d518d(0x3ed)](_0x27b2c6,_0x2d9a4a['id'],_0x402af6['id'],_0x5b30da[_0x1d518d(0x4a5)](_0x2562b3=>_0x2562b3[_0x1d518d(0x571)])),_0x2b8bbe=new Map();return _0x5b30da[_0x1d518d(0x1bf)](_0x455275=>{const _0x10c3af=_0x1d518d;let _0x2a3448=_0x3025c3[_0x10c3af(0x35e)][_0x10c3af(0x558)](_0x455275[_0x10c3af(0x571)])??null,_0xc76081=_0x2a3448??'',_0x407128=_0x2a3448?_0x27b2c6['records'][_0x2a3448]:void 0x0,_0x50252c=_0x2b8bbe[_0x10c3af(0x558)](_0xc76081)??{'key':_0xc76081,'title':_0x407128?String(_0x2db5fc(_0x27b2c6,_0x407128['id'],_0x27b2c6[_0x10c3af(0x5ce)])??_0x2a3448):this['_kanbanLaneTitle'](_0x2d9a4a,_0xc76081,_0x527ac6),'recordIds':[]};_0x50252c[_0x10c3af(0x263)][_0x10c3af(0x605)](_0x455275['recordId']),_0x2b8bbe['set'](_0xc76081,_0x50252c);}),{'type':_0x26cf17[_0x1d518d(0x2fb)][_0x1d518d(0x288)],'fields':_0x53501a,'rows':_0x5b30da,'groups':[],'groupFieldId':_0x2d9a4a['id'],'titleFieldId':_0x5715ab,'coverFieldId':this[_0x1d518d(0x592)](_0x27b2c6,_0x527ac6),'cardLayout':_0x527ac6['cardLayout']===_0x1d518d(0x44a)?_0x1d518d(0x44a):_0x1d518d(0x3f6),'showFieldNames':_0x527ac6[_0x1d518d(0x2a6)]!==!0x1,'visibleCardFieldIds':_0x18fa47,'lanes':['',..._0x3025c3[_0x1d518d(0x1f0)]][_0x1d518d(0x35a)](_0x1cc69d=>{const _0x2bddd0=_0x1d518d;let _0x44de68=_0x2b8bbe['get'](_0x1cc69d);return _0x44de68!=null&&_0x44de68[_0x2bddd0(0x263)][_0x2bddd0(0x4cd)]?[_0x44de68]:[];})};}return this[_0x1d518d(0x57b)](_0x2d9a4a,_0x527ac6)['forEach'](_0x11cf07=>_0x28a623[_0x1d518d(0x4a9)](_0x11cf07[_0x1d518d(0x262)],{..._0x11cf07,'recordIds':[]})),_0x5b30da[_0x1d518d(0x1bf)](_0x2661bc=>{const _0x533ec2=_0x1d518d;this[_0x533ec2(0x2e7)](_0x2d9a4a,_0x2661bc[_0x533ec2(0x20f)][_0x2d9a4a['id']])[_0x533ec2(0x1bf)](_0x3ccac5=>{const _0x2dc5c7=_0x533ec2;let _0x164704=_0x28a623[_0x2dc5c7(0x558)](_0x3ccac5)??{'key':_0x3ccac5,'title':this[_0x2dc5c7(0x253)](_0x2d9a4a,_0x3ccac5,_0x527ac6),'color':this['_kanbanLaneColor'](_0x2d9a4a,_0x3ccac5,_0x527ac6),'recordIds':[]};_0x164704['recordIds'][_0x2dc5c7(0x605)](_0x2661bc['recordId']),_0x28a623['set'](_0x3ccac5,_0x164704);});}),{'type':_0x26cf17['BaseViewType'][_0x1d518d(0x288)],'fields':_0x53501a,'rows':_0x5b30da,'groups':this['_projectGroups'](_0x27b2c6,_0x402af6,_0x5b30da),'groupFieldId':_0x2d9a4a['id'],'titleFieldId':_0x5715ab,'coverFieldId':this[_0x1d518d(0x592)](_0x27b2c6,_0x527ac6),'cardLayout':_0x527ac6['cardLayout']===_0x1d518d(0x44a)?_0x1d518d(0x44a):_0x1d518d(0x3f6),'showFieldNames':_0x527ac6['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x18fa47,'lanes':Array[_0x1d518d(0x356)](_0x28a623[_0x1d518d(0x20f)]())};}[_0x36f63a(0x580)](_0x278f1a,_0x585cac){const _0x5dd438=_0x36f63a;var _0x1d2f18;let _0x34162a=(_0x1d2f18=_0x585cac[_0x5dd438(0x4cc)])==null?void 0x0:_0x1d2f18[_0x5dd438(0x26d)];return _0x34162a&&this['_isKanbanGroupField'](_0x278f1a,_0x34162a)?_0x34162a:this[_0x5dd438(0x343)](_0x278f1a,_0x568a48=>this[_0x5dd438(0x258)](_0x568a48));}[_0x36f63a(0x343)](_0x3fc33e,_0x11b1e6){const _0x420173=_0x36f63a;for(let _0x4c77bf of _0x3fc33e[_0x420173(0x1b2)]){let _0x4bfeb9=_0x3fc33e['fields'][_0x4c77bf];if(_0x4bfeb9&&_0x11b1e6(_0x4bfeb9))return _0x4bfeb9['id'];}return null;}[_0x36f63a(0x5bd)](_0x3aa48c,_0x252dc6){const _0x5d9c29=_0x36f63a;let _0x5845f8=_0x3aa48c['fields'][_0x252dc6];return this[_0x5d9c29(0x258)](_0x5845f8)||_0x2e8fb1(_0x3aa48c,_0x252dc6);}['_isAllowedKanbanGroupField'](_0x39fef8){const _0x33a46d=_0x36f63a;return!!_0x39fef8&&(_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x537)]||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)]['MultiSelect']||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x372)]||_0x39fef8['type']===_0x26cf17[_0x33a46d(0x22d)][_0x33a46d(0x386)]||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17[_0x33a46d(0x22d)]['Group']||_0x39fef8[_0x33a46d(0x5d6)]===_0x26cf17['BaseFieldType'][_0x33a46d(0x428)]);}[_0x36f63a(0x4a6)](_0x111725){const _0x48b496=_0x36f63a;return _0x111725[_0x48b496(0x5d6)]===_0x26cf17[_0x48b496(0x22d)]['SingleSelect']||_0x111725[_0x48b496(0x5d6)]===_0x26cf17['BaseFieldType']['MultiSelect'];}[_0x36f63a(0x592)](_0x4dfc44,_0x347ab7){const _0x11b4bf=_0x36f63a;var _0x43b6e1;let _0x57d6a4=_0x347ab7[_0x11b4bf(0x247)]??((_0x43b6e1=_0x347ab7[_0x11b4bf(0x4f0)])==null?void 0x0:_0x43b6e1[_0x11b4bf(0x247)])??null;if(!_0x57d6a4)return null;let _0x26274e=_0x4dfc44[_0x11b4bf(0x458)][_0x57d6a4];return _0x26274e&&this[_0x11b4bf(0x212)](_0x26274e)[_0x11b4bf(0x26e)]?_0x26274e['id']:null;}[_0x36f63a(0x340)](_0x31f81e,_0x63a41f,_0xe99fb,_0xd9d70e=this['_resolveCardTitleFieldId'](_0x31f81e,((()=>{const _0x9e223f=_0x36f63a;var _0x5ac09f;return(_0x5ac09f=_0x63a41f[_0x9e223f(0x4cc)])==null||(_0x5ac09f=_0x5ac09f['card'])==null?void 0x0:_0x5ac09f[_0x9e223f(0x3c2)];})()))){const _0x343620=_0x36f63a;var _0x115f4d;let _0x375237=_0x63a41f['config']??{},_0x302cd3=(_0x115f4d=_0x375237[_0x343620(0x4f0)])!=null&&(_0x115f4d=_0x115f4d[_0x343620(0x60e)])!=null&&_0x115f4d[_0x343620(0x4cd)]?_0x375237['card'][_0x343620(0x60e)]:_0x17b3aa(_0x31f81e,[_0xd9d70e,_0x31f81e[_0x343620(0x5ce)],_0xe99fb]),_0x229c7c=_0x375237[_0x343620(0x47f)]??{};return _0x302cd3[_0x343620(0x46a)](_0x107ba5=>{const _0x46aca6=_0x343620;var _0x49932d,_0x4c3825;let _0x3fa178=_0x31f81e['fields'][_0x107ba5];return!(!_0x3fa178||_0x3fa178[_0x46aca6(0x5a9)]===!0x0||_0x3fa178['type']===_0x26cf17['BaseFieldType']['RecordId']||_0x3fa178['id']===_0xe99fb||_0x3fa178['id']===_0xd9d70e||(_0x49932d=_0x63a41f[_0x46aca6(0x47f)])!=null&&(_0x49932d=_0x49932d[_0x107ba5])!=null&&_0x49932d[_0x46aca6(0x339)]||(_0x4c3825=_0x229c7c[_0x107ba5])!=null&&_0x4c3825['hidden']);})['sort']((_0x1de24a,_0x26bc5b)=>{const _0x189c57=_0x343620;var _0x2b640e,_0x30221f;return(((_0x2b640e=_0x229c7c[_0x1de24a])==null?void 0x0:_0x2b640e['order'])??_0x302cd3[_0x189c57(0x499)](_0x1de24a))-(((_0x30221f=_0x229c7c[_0x26bc5b])==null?void 0x0:_0x30221f[_0x189c57(0x5b4)])??_0x302cd3[_0x189c57(0x499)](_0x26bc5b));});}[_0x36f63a(0x57b)](_0x4d1817,_0x103b54){const _0x2603af=_0x36f63a;var _0x4a7325;let _0x335bba=(Array['isArray']((_0x4a7325=_0x4d1817[_0x2603af(0x4cc)])==null?void 0x0:_0x4a7325[_0x2603af(0x45b)])?_0x4d1817[_0x2603af(0x4cc)][_0x2603af(0x45b)]:[])['flatMap']((_0x1aa6d2,_0x747672)=>{const _0x4c30c4=_0x2603af;if(_0x1aa6d2==null)return[];let _0xa2501d=typeof _0x1aa6d2==_0x4c30c4(0x4c8)?{'id':_0x1aa6d2,'name':_0x1aa6d2,'color':void 0x0}:_0x1aa6d2,_0x4878be=String(_0xa2501d['id']??_0xa2501d[_0x4c30c4(0x3f8)]??'option-'+(_0x747672+0x1));return[{'key':_0x4878be,'title':String(_0xa2501d[_0x4c30c4(0x3f8)]??_0xa2501d['id']??_0x4878be),'color':this['_kanbanLaneColor'](_0x4d1817,_0x4878be,_0x103b54)}];});return Object[_0x2603af(0x443)](_0x103b54[_0x2603af(0x38a)]??{})[_0x2603af(0x1bf)](([_0x24cb1a,_0x2b3c24])=>{const _0x21978b=_0x2603af;_0x335bba[_0x21978b(0x2c3)](_0x512a09=>_0x512a09['key']===_0x24cb1a)||_0x335bba[_0x21978b(0x605)]({'key':_0x24cb1a,'title':this[_0x21978b(0x4a6)](_0x4d1817)?_0x2b3c24[_0x21978b(0x44d)]??this[_0x21978b(0x253)](_0x4d1817,_0x24cb1a,_0x103b54):this[_0x21978b(0x253)](_0x4d1817,_0x24cb1a,_0x103b54),'color':this[_0x21978b(0x374)](_0x4d1817,_0x24cb1a,_0x103b54)});}),_0x335bba;}[_0x36f63a(0x2e7)](_0x22be06,_0xd6ac20){const _0x216894=_0x36f63a;let _0x290754=_0x4e149a=>{const _0x3421ca=_0x45c5;var _0x3430fc;let _0x29b5b0=_0x4e149a==null?'':String(_0x4e149a);return!_0x29b5b0||!this[_0x3421ca(0x4a6)](_0x22be06)?_0x29b5b0:((_0x3430fc=_0x20d5b3(_0x22be06,_0x29b5b0))==null?void 0x0:_0x3430fc['id'])??_0x29b5b0;};if(Array[_0x216894(0x2c4)](_0xd6ac20)){let _0x19ec4c=_0xd6ac20[_0x216894(0x4a5)](_0x290754)[_0x216894(0x46a)](_0x53a3a8=>_0x53a3a8!=='');return _0x19ec4c[_0x216894(0x4cd)]?_0x19ec4c:[''];}return[_0x290754(_0xd6ac20)];}[_0x36f63a(0x253)](_0x59cd0d,_0x41c968,_0x5e0ede){const _0xd0900f=_0x36f63a;if(!_0x41c968)return _0xd0900f(0x22b);let _0x1b9455=_0x20d5b3(_0x59cd0d,_0x41c968);return(_0x1b9455==null?void 0x0:_0x1b9455['name'])??_0x41c968;}[_0x36f63a(0x374)](_0x41f708,_0x245859,_0x58e77a){const _0x581978=_0x36f63a;var _0x1f6129;if(this[_0x581978(0x4a6)](_0x41f708))return(_0x1f6129=_0x20d5b3(_0x41f708,_0x245859))==null?void 0x0:_0x1f6129[_0x581978(0x1cb)];}[_0x36f63a(0x2e5)](_0x4aeead,_0x4ec056){const _0x45465d=_0x36f63a;let _0x366763=this['_normalizeCalendarConfig'](_0x4aeead,_0x4ec056[_0x45465d(0x4cc)]??{}),_0x57bcc6=_0x4aeead[_0x45465d(0x458)][_0x366763[_0x45465d(0x395)]];if(!_0x57bcc6||_0x57bcc6[_0x45465d(0x5d6)]!==_0x26cf17[_0x45465d(0x22d)][_0x45465d(0x1be)]||_0x57bcc6[_0x45465d(0x4e5)]===!0x0||_0x57bcc6[_0x45465d(0x5a9)]===!0x0||!this[_0x45465d(0x212)](_0x57bcc6)[_0x45465d(0x40c)])return{'type':_0x45465d(0x312),'viewType':_0x26cf17[_0x45465d(0x2fb)]['Calendar'],'reason':_0x45465d(0x53d),'fieldId':_0x366763[_0x45465d(0x395)]};let _0x264797=_0x366763['endDateFieldId']?_0x4aeead[_0x45465d(0x458)][_0x366763[_0x45465d(0x552)]]:void 0x0,_0x3aa6f7=this['_projectRows'](_0x4aeead,_0x4ec056);return{'type':_0x26cf17[_0x45465d(0x2fb)]['Calendar'],'config':_0x366763,'fields':this[_0x45465d(0x1b9)](_0x4aeead,_0x4ec056),'rows':_0x3aa6f7,'groups':this[_0x45465d(0x4d7)](_0x4aeead,_0x4ec056,_0x3aa6f7),'events':_0x3aa6f7[_0x45465d(0x35a)](_0x30cb01=>{const _0x1579cd=_0x45465d;let _0x3dbd52=_0x134f0b(_0x30cb01[_0x1579cd(0x20f)][_0x366763[_0x1579cd(0x395)]]);if(!Number[_0x1579cd(0x26b)](_0x3dbd52))return[];let _0x4e2fca=_0x30cb01[_0x1579cd(0x20f)][_0x366763[_0x1579cd(0x395)]],_0x567284=_0x366763['endDateFieldId']==null?void 0x0:_0x30cb01['values'][_0x366763[_0x1579cd(0x552)]],_0x3244ec=_0x366763['endDateFieldId']==null?void 0x0:_0x134f0b(_0x567284),_0x1d4522=Number['isFinite'](_0x3244ec)?_0x3244ec:void 0x0;return[{'recordId':_0x30cb01[_0x1579cd(0x571)],'title':this[_0x1579cd(0x34f)](_0x4aeead,_0x30cb01,_0x366763[_0x1579cd(0x3c2)]),'start':_0x3dbd52,'end':_0x1d4522,'color':this[_0x1579cd(0x1b3)](_0x4aeead,_0x30cb01,_0x366763),'startMs':_0x3dbd52,'endMs':_0x1d4522,'allDay':this['_isAllDayCalendarEvent'](_0x57bcc6,_0x264797,_0x4e2fca,_0x567284),'fieldValues':_0x30cb01[_0x1579cd(0x20f)]}];})};}['_normalizeCalendarConfig'](_0x361eda,_0x22d266){const _0x58e09e=_0x36f63a;let _0x59cac1=this[_0x58e09e(0x52f)](_0x361eda,_0x22d266[_0x58e09e(0x395)]),_0x2b7fb6=_0x22d266[_0x58e09e(0x552)]&&this[_0x58e09e(0x3cd)](_0x361eda,_0x22d266['endDateFieldId'])?_0x22d266[_0x58e09e(0x552)]:this[_0x58e09e(0x1da)](_0x361eda,_0x59cac1)??void 0x0,_0xed0032=_0x22d266['titleFieldId']?_0x361eda[_0x58e09e(0x458)][_0x22d266[_0x58e09e(0x3c2)]]:void 0x0,_0x25a3b3=_0xed0032&&_0xed0032[_0x58e09e(0x5a9)]!==!0x0&&_0xed0032['type']!==_0x26cf17['BaseFieldType'][_0x58e09e(0x4b5)]?_0x22d266[_0x58e09e(0x3c2)]:_0x361eda[_0x58e09e(0x5ce)],_0x388385=_0x22d266[_0x58e09e(0x3ef)]===_0x58e09e(0x589)||_0x22d266['mode']===_0x58e09e(0x460)?_0x22d266[_0x58e09e(0x3ef)]:_0x58e09e(0x449),_0x3dcf3f=_0x22d266[_0x58e09e(0x2ca)]==='short'||_0x22d266[_0x58e09e(0x2ca)]===_0x58e09e(0x5cf)?_0x22d266[_0x58e09e(0x2ca)]:'medium',_0xbabc7a=typeof _0x22d266[_0x58e09e(0x23a)]==_0x58e09e(0x4c8)&&_0x22d266['timeZone'][_0x58e09e(0x3ce)]()?_0x22d266[_0x58e09e(0x23a)]:'local',_0x44775f=this[_0x58e09e(0x366)](_0x361eda,_0x22d266);return{..._0x22d266,'startDateFieldId':_0x59cac1,'endDateFieldId':_0x2b7fb6,'titleFieldId':_0x25a3b3,'mode':_0x388385,'timeslotSize':_0x3dcf3f,'timeZone':_0xbabc7a,'displayColor':_0x44775f,'fieldSettings':Object[_0x58e09e(0x60c)](Object[_0x58e09e(0x443)](_0x22d266[_0x58e09e(0x47f)]??{})[_0x58e09e(0x46a)](([_0x348530])=>{const _0x58f9ae=_0x58e09e;let _0x18ecd1=_0x361eda[_0x58f9ae(0x458)][_0x348530];return!!(_0x18ecd1&&_0x18ecd1['system']!==!0x0&&_0x18ecd1['type']!==_0x26cf17[_0x58f9ae(0x22d)]['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x39a722,_0x268295){const _0x5f44f2=_0x36f63a;return _0x268295&&this[_0x5f44f2(0x3cd)](_0x39a722,_0x268295)?_0x268295:this['_findCalendarDateFieldId'](_0x39a722)??_0x268295??'';}[_0x36f63a(0x1da)](_0x52e803,_0x28b25f){const _0x823361=_0x36f63a;for(let _0x1cf958 of _0x52e803['fieldOrder'])if(_0x1cf958!==_0x28b25f&&this[_0x823361(0x3cd)](_0x52e803,_0x1cf958))return _0x1cf958;return null;}['_isCalendarDateField'](_0x5ab456,_0x2fbb5a){const _0x277e22=_0x36f63a;let _0x1d294c=_0x5ab456[_0x277e22(0x458)][_0x2fbb5a];return!!_0x1d294c&&_0x1d294c['type']===_0x26cf17[_0x277e22(0x22d)]['Date']&&_0x1d294c[_0x277e22(0x4e5)]!==!0x0&&_0x1d294c[_0x277e22(0x5a9)]!==!0x0&&this[_0x277e22(0x212)](_0x1d294c)[_0x277e22(0x40c)];}[_0x36f63a(0x366)](_0x225351,_0x60a849){const _0x3342ea=_0x36f63a;let _0x59e385=_0x60a849['displayColor'];if((_0x59e385==null?void 0x0:_0x59e385['type'])===_0x3342ea(0x1d4)){let _0xbc00cd=_0x225351['fields'][_0x59e385[_0x3342ea(0x39c)]];if(_0xbc00cd&&_0xbc00cd['type']===_0x26cf17['BaseFieldType']['SingleSelect'])return _0x59e385;}if((_0x59e385==null?void 0x0:_0x59e385[_0x3342ea(0x5d6)])===_0x3342ea(0x200)&&typeof _0x59e385[_0x3342ea(0x1cb)]==_0x3342ea(0x4c8)&&_0x59e385['color'][_0x3342ea(0x3ce)]())return{'type':'custom','color':_0x59e385[_0x3342ea(0x1cb)]};if(_0x60a849[_0x3342ea(0x5e8)]){let _0x2a6950=_0x225351[_0x3342ea(0x458)][_0x60a849[_0x3342ea(0x5e8)]];if(_0x2a6950&&_0x2a6950[_0x3342ea(0x5d6)]===_0x26cf17[_0x3342ea(0x22d)]['SingleSelect'])return{'type':'selectField','fieldId':_0x60a849['colorFieldId']};}return{'type':_0x3342ea(0x200),'color':_0x3342ea(0x2f8)};}[_0x36f63a(0x1b3)](_0x1c16ac,_0x14b607,_0x33f3a6){const _0x305f42=_0x36f63a;let _0x618cd0=_0x33f3a6['displayColor'];if((_0x618cd0==null?void 0x0:_0x618cd0[_0x305f42(0x5d6)])===_0x305f42(0x1d4)){var _0x18e36c;let _0x55e8c1=_0x1c16ac[_0x305f42(0x458)][_0x618cd0[_0x305f42(0x39c)]];if(!_0x55e8c1)return;let _0x5acf94=_0x14b607['values'][_0x618cd0[_0x305f42(0x39c)]],_0x1c39e8=Array[_0x305f42(0x2c4)](_0x5acf94)?_0x5acf94[0x0]:_0x5acf94;return _0x1c39e8==null||(_0x18e36c=_0x20d5b3(_0x55e8c1,String(_0x1c39e8)))==null?void 0x0:_0x18e36c['color'];}if((_0x618cd0==null?void 0x0:_0x618cd0['type'])===_0x305f42(0x200))return _0x618cd0['color'];}['_isAllDayCalendarEvent'](_0x487bfb,_0x10afe5,_0x2594bd,_0x461fb9){const _0x3934eb=_0x36f63a;var _0x295af6,_0x30af09;let _0x44d541=((_0x295af6=_0x487bfb[_0x3934eb(0x4cc)])==null?void 0x0:_0x295af6[_0x3934eb(0x3d4)])===!0x0,_0x3e735a=(_0x10afe5==null||(_0x30af09=_0x10afe5[_0x3934eb(0x4cc)])==null?void 0x0:_0x30af09[_0x3934eb(0x3d4)])===!0x0;return!_0x44d541&&!_0x3e735a;}['_isAllDayGanttDateRange'](_0x3eff86,_0x3eb894){const _0x34cc97=_0x36f63a;var _0x420f4e,_0x401a75;let _0x3dd87b=((_0x420f4e=_0x3eff86[_0x34cc97(0x4cc)])==null?void 0x0:_0x420f4e[_0x34cc97(0x3d4)])===!0x0,_0x201e03=((_0x401a75=_0x3eb894[_0x34cc97(0x4cc)])==null?void 0x0:_0x401a75[_0x34cc97(0x3d4)])===!0x0;return!_0x3dd87b&&!_0x201e03;}[_0x36f63a(0x3cb)](_0x5af939,_0x29c63a){const _0x2f6fdb=_0x36f63a;let _0x4b3225=this['_normalizeGanttConfig'](_0x5af939,_0x29c63a[_0x2f6fdb(0x4cc)]),_0xbcc719=_0x5af939[_0x2f6fdb(0x458)][_0x4b3225[_0x2f6fdb(0x395)]];if(!_0xbcc719||_0xbcc719[_0x2f6fdb(0x5d6)]!==_0x26cf17[_0x2f6fdb(0x22d)][_0x2f6fdb(0x1be)]||_0xbcc719[_0x2f6fdb(0x4e5)]===!0x0||_0xbcc719[_0x2f6fdb(0x5a9)]===!0x0||!this[_0x2f6fdb(0x212)](_0xbcc719)['usableAsGanttStart'])return{'type':_0x2f6fdb(0x312),'viewType':_0x26cf17[_0x2f6fdb(0x2fb)][_0x2f6fdb(0x1e2)],'reason':_0x2f6fdb(0x544),'fieldId':_0x4b3225[_0x2f6fdb(0x395)]};let _0x1e2b71=_0x5af939['fields'][_0x4b3225[_0x2f6fdb(0x552)]];if(!_0x1e2b71||_0x1e2b71[_0x2f6fdb(0x5d6)]!==_0x26cf17['BaseFieldType'][_0x2f6fdb(0x1be)]||_0x1e2b71[_0x2f6fdb(0x4e5)]===!0x0||_0x1e2b71['system']===!0x0||!this[_0x2f6fdb(0x212)](_0x1e2b71)[_0x2f6fdb(0x309)])return{'type':_0x2f6fdb(0x312),'viewType':_0x26cf17['BaseViewType'][_0x2f6fdb(0x1e2)],'reason':_0x2f6fdb(0x26f),'fieldId':_0x4b3225[_0x2f6fdb(0x552)]};let _0xbc98c=this[_0x2f6fdb(0x257)](_0xbcc719,_0x1e2b71),_0x26357b=this[_0x2f6fdb(0x3ab)](_0x5af939,_0x29c63a),_0x2a4096=_0x26357b[_0x2f6fdb(0x35a)](_0x4169d6=>{const _0x578ed0=_0x2f6fdb;let _0x526488=_0x134f0b(_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x395)]]),_0x5896ad=_0x134f0b(_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x552)]]);if(!Number['isFinite'](_0x526488)||!Number[_0x578ed0(0x26b)](_0x5896ad))return[];let _0x2998be=Math[_0x578ed0(0x275)](_0x526488,_0x5896ad),_0x131b10=Math[_0x578ed0(0x5a7)](_0x526488,_0x5896ad),_0x981739=_0x4b3225['progressFieldId']==null?void 0x0:Number(_0x4169d6['values'][_0x4b3225[_0x578ed0(0x229)]]);return[{'recordId':_0x4169d6[_0x578ed0(0x571)],'title':this[_0x578ed0(0x34f)](_0x5af939,_0x4169d6,_0x4b3225['titleFieldId']),'start':_0x2998be,'end':_0x131b10,'color':this['_ganttBarColor'](_0x5af939,_0x4169d6,_0x4b3225),'progress':Number[_0x578ed0(0x26b)](_0x981739)?_0x981739:void 0x0,'workingDayCount':_0x4b3225[_0x578ed0(0x46e)]?_0xe26be9(_0x2998be,_0x131b10,_0x4b3225[_0x578ed0(0x380)]):void 0x0,'dependencyRecordIds':this[_0x578ed0(0x4cf)](_0x4169d6[_0x578ed0(0x20f)][_0x4b3225[_0x578ed0(0x27f)]??''])}];}),_0x3eb6f4=_0x2a4096['length']?_0x441ed0(Math[_0x2f6fdb(0x275)](..._0x2a4096[_0x2f6fdb(0x4a5)](_0x31e3f6=>_0x31e3f6[_0x2f6fdb(0x22c)]))-0x5a*_0x4ab1b5):_0x441ed0(Date[_0x2f6fdb(0x5c9)]()-0x5a*_0x4ab1b5),_0x413cd0=_0x2a4096[_0x2f6fdb(0x4cd)]?_0x441ed0(Math[_0x2f6fdb(0x5a7)](..._0x2a4096[_0x2f6fdb(0x4a5)](_0x15c081=>_0x15c081['end']))+0x5b*_0x4ab1b5):_0x441ed0(Date[_0x2f6fdb(0x5c9)]()+0x5b*_0x4ab1b5),_0x9e626b=_0x1b9af2(_0x4b3225['scale'],_0x3eb6f4,_0x413cd0,_0x4b3225[_0x2f6fdb(0x46e)]?_0x4b3225[_0x2f6fdb(0x380)]:void 0x0);return{'type':_0x26cf17[_0x2f6fdb(0x2fb)][_0x2f6fdb(0x1e2)],'fields':this['_projectFields'](_0x5af939,{..._0x29c63a,'config':_0x4b3225}),'rows':_0x26357b,'groups':this[_0x2f6fdb(0x4d7)](_0x5af939,_0x29c63a,_0x26357b),'config':_0x4b3225,'dateRangeAllDay':_0xbc98c,'timeline':{'scale':_0x4b3225['scale'],'start':_0x3eb6f4,'end':_0x413cd0,'unitWidth':_0x9e626b[_0x2f6fdb(0x5ed)],'majorHeaders':_0x9e626b['majorHeaders'],'columns':_0x9e626b[_0x2f6fdb(0x438)]},'bars':_0x2a4096};}[_0x36f63a(0x3c7)](_0x49357b,_0x4df700){const _0xe5db87=_0x36f63a;let _0x1a085e=this['_resolveGanttDateFieldId'](_0x49357b,_0x4df700[_0xe5db87(0x395)],'start'),_0x260aaf=this[_0xe5db87(0x36a)](_0x49357b,_0x4df700[_0xe5db87(0x552)],'end')||_0x1a085e,_0x42b79c=_0x4df700[_0xe5db87(0x3c2)]?_0x49357b[_0xe5db87(0x458)][_0x4df700['titleFieldId']]:void 0x0,_0x30e069=_0x42b79c&&_0x42b79c[_0xe5db87(0x5a9)]!==!0x0&&_0x42b79c[_0xe5db87(0x5d6)]!==_0x26cf17['BaseFieldType'][_0xe5db87(0x4b5)]?_0x4df700[_0xe5db87(0x3c2)]:_0x49357b[_0xe5db87(0x5ce)],_0x43d9f7=_0x4df700['scale']===_0xe5db87(0x460)||_0x4df700[_0xe5db87(0x259)]===_0xe5db87(0x352)||_0x4df700[_0xe5db87(0x259)]===_0xe5db87(0x4c2)?_0x4df700[_0xe5db87(0x259)]:'month',_0x4faf7f=_0x59a2bb(_0x4df700[_0xe5db87(0x380)]);return{..._0x4df700,'startDateFieldId':_0x1a085e,'endDateFieldId':_0x260aaf,'titleFieldId':_0x30e069,'scale':_0x43d9f7,'leftPaneWidth':typeof _0x4df700[_0xe5db87(0x5ae)]==_0xe5db87(0x5ac)?_0x4df700[_0xe5db87(0x5ae)]:void 0x0,'leftPaneCollapsed':_0x4df700['leftPaneCollapsed']===!0x0,'showTodayLine':_0x4df700[_0xe5db87(0x22e)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x49357b,_0x4df700),'fieldSettings':Object[_0xe5db87(0x60c)](Object[_0xe5db87(0x443)](_0x4df700[_0xe5db87(0x47f)]??{})[_0xe5db87(0x46a)](([_0x3d894f])=>{const _0x4e613f=_0xe5db87;let _0x29a932=_0x49357b[_0x4e613f(0x458)][_0x3d894f];return!!(_0x29a932&&_0x29a932[_0x4e613f(0x5a9)]!==!0x0&&_0x29a932[_0x4e613f(0x5d6)]!==_0x26cf17[_0x4e613f(0x22d)][_0x4e613f(0x4b5)]);})),'workingDaysOnly':_0x4df700[_0xe5db87(0x46e)]===!0x0,'workingDays':_0x4faf7f};}['_resolveGanttDateFieldId'](_0x3d8487,_0x49a89b,_0x50eecc){const _0x3adc78=_0x36f63a;if(_0x49a89b&&this['_isGanttDateField'](_0x3d8487,_0x49a89b,_0x50eecc)||_0x49a89b)return _0x49a89b;for(let _0xd7de84 of _0x3d8487[_0x3adc78(0x1b2)])if(this['_isGanttDateField'](_0x3d8487,_0xd7de84,_0x50eecc))return _0xd7de84;return _0x49a89b??'';}[_0x36f63a(0x1a7)](_0x6014d7,_0x3c3899,_0x514275){const _0x519844=_0x36f63a;let _0x1cdef0=_0x6014d7[_0x519844(0x458)][_0x3c3899];if(!_0x1cdef0||_0x1cdef0[_0x519844(0x5d6)]!==_0x26cf17[_0x519844(0x22d)][_0x519844(0x1be)]||_0x1cdef0[_0x519844(0x4e5)]===!0x0||_0x1cdef0['system']===!0x0)return!0x1;let _0x5a0909=this[_0x519844(0x212)](_0x1cdef0);return _0x514275===_0x519844(0x22c)?_0x5a0909[_0x519844(0x405)]:_0x5a0909['usableAsGanttEnd'];}['_normalizeGanttDisplayColor'](_0x1ea2ae,_0x52e8ec){const _0xcdabb6=_0x36f63a;let _0x34ea93=_0x52e8ec['displayColor'];if((_0x34ea93==null?void 0x0:_0x34ea93[_0xcdabb6(0x5d6)])===_0xcdabb6(0x1d4)){let _0x503846=_0x1ea2ae['fields'][_0x34ea93[_0xcdabb6(0x39c)]];if(_0x503846&&_0x503846[_0xcdabb6(0x5d6)]===_0x26cf17[_0xcdabb6(0x22d)]['SingleSelect'])return _0x34ea93;}return(_0x34ea93==null?void 0x0:_0x34ea93['type'])==='conditional'&&Array['isArray'](_0x34ea93[_0xcdabb6(0x29a)])?{'type':'conditional','rules':_0x34ea93[_0xcdabb6(0x29a)][_0xcdabb6(0x46a)](_0x5993df=>!!_0x1ea2ae['fields'][_0x5993df[_0xcdabb6(0x39c)]])}:(_0x34ea93==null?void 0x0:_0x34ea93[_0xcdabb6(0x5d6)])===_0xcdabb6(0x200)&&typeof _0x34ea93['color']==_0xcdabb6(0x4c8)&&_0x34ea93['color']['trim']()?{'type':_0xcdabb6(0x200),'color':_0x34ea93[_0xcdabb6(0x1cb)]}:{'type':_0xcdabb6(0x200),'color':_0xcdabb6(0x31e)};}[_0x36f63a(0x51b)](_0x453409,_0x2880db,_0x19c92d){const _0x1d64ff=_0x36f63a;let _0x1b75e8=_0x19c92d['displayColor'];if((_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x3d2)){let _0x3b9365=_0x1b75e8[_0x1d64ff(0x29a)][_0x1d64ff(0x396)](_0x3db248=>this['_matchesGanttColorRule'](_0x453409,_0x2880db,_0x3db248));if(_0x3b9365)return _0x3b9365[_0x1d64ff(0x1cb)];}if((_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x1d4)){let _0x48b1ce=_0x453409['fields'][_0x1b75e8[_0x1d64ff(0x39c)]];if(_0x48b1ce){var _0x432b3b;let _0x4482db=_0x2880db[_0x1d64ff(0x20f)][_0x1b75e8[_0x1d64ff(0x39c)]],_0x20546=Array['isArray'](_0x4482db)?_0x4482db[0x0]:_0x4482db,_0x330710=_0x20546==null||(_0x432b3b=_0x20d5b3(_0x48b1ce,String(_0x20546)))==null?void 0x0:_0x432b3b[_0x1d64ff(0x1cb)];if(_0x330710)return _0x330710;}}return(_0x1b75e8==null?void 0x0:_0x1b75e8[_0x1d64ff(0x5d6)])===_0x1d64ff(0x200)?_0x1b75e8['color']:'#14b8a6';}[_0x36f63a(0x570)](_0x68cf33,_0x1541fd,_0x3ad2e3){const _0x3d8ce4=_0x36f63a;let _0x5139a3=_0x68cf33[_0x3d8ce4(0x458)][_0x3ad2e3[_0x3d8ce4(0x39c)]];return _0x5139a3?_0x300f16(_0x1541fd[_0x3d8ce4(0x20f)][_0x5139a3['id']],_0x3ad2e3[_0x3d8ce4(0x2a0)],_0x3ad2e3[_0x3d8ce4(0x26c)],_0x5139a3,{'dateMode':_0x3ad2e3['dateMode']}):!0x1;}[_0x36f63a(0x543)](_0x2ef0ec,_0x454379){const _0x37c829=_0x36f63a;let _0x4fa9c3=this[_0x37c829(0x3ab)](_0x2ef0ec,_0x454379),_0x57bf64=this[_0x37c829(0x4bf)](_0x2ef0ec,_0x454379[_0x37c829(0x4cc)]??{}),_0x4e2c43=this[_0x37c829(0x1b9)](_0x2ef0ec,_0x454379);return{'type':_0x26cf17[_0x37c829(0x2fb)]['Gallery'],'fields':_0x4e2c43,'rows':_0x4fa9c3,'groups':this['_projectGroups'](_0x2ef0ec,_0x454379,_0x4fa9c3),'titleFieldId':_0x57bf64[_0x37c829(0x4f0)][_0x37c829(0x3c2)],'coverFieldId':_0x57bf64['coverFieldId'],'cardLayout':_0x57bf64['cardLayout']??_0x37c829(0x3f6),'showFieldNames':_0x57bf64[_0x37c829(0x2a6)]!==!0x1,'visibleCardFieldIds':this[_0x37c829(0x415)](_0x2ef0ec,_0x454379,_0x57bf64),'cardSize':_0x57bf64[_0x37c829(0x5ca)]??_0x37c829(0x61b),'cards':_0x4fa9c3[_0x37c829(0x4a5)](_0x4ffe85=>({'recordId':_0x4ffe85['recordId'],'title':this['_title'](_0x2ef0ec,_0x4ffe85,_0x57bf64[_0x37c829(0x4f0)][_0x37c829(0x3c2)]),'values':_0x4ffe85[_0x37c829(0x20f)]}))};}[_0x36f63a(0x4bf)](_0x413ec4,_0x4d83aa){const _0x9b7e02=_0x36f63a;let _0x463a81=_0x4d83aa[_0x9b7e02(0x4f0)]??{'fieldIds':[]},_0x58d3c2=this['_resolveCardTitleFieldId'](_0x413ec4,_0x463a81[_0x9b7e02(0x3c2)]),_0x10548f=this[_0x9b7e02(0x5ec)](_0x413ec4,_0x4d83aa),_0x41d47d=_0x4d83aa[_0x9b7e02(0x5ca)]===_0x9b7e02(0x58a)||_0x4d83aa[_0x9b7e02(0x5ca)]===_0x9b7e02(0x279)?_0x4d83aa[_0x9b7e02(0x5ca)]:'medium';return{..._0x4d83aa,'coverFieldId':_0x10548f,'cardLayout':_0x4d83aa['cardLayout']===_0x9b7e02(0x44a)?_0x9b7e02(0x44a):_0x9b7e02(0x3f6),'showFieldNames':_0x4d83aa[_0x9b7e02(0x2a6)]!==!0x1,'fieldSettings':Object[_0x9b7e02(0x60c)](Object['entries'](_0x4d83aa[_0x9b7e02(0x47f)]??{})['filter'](([_0x13e07f])=>{const _0x3ad4b4=_0x9b7e02;let _0x5c2ee5=_0x413ec4['fields'][_0x13e07f];return!!(_0x5c2ee5&&_0x5c2ee5[_0x3ad4b4(0x5a9)]!==!0x0&&_0x5c2ee5['type']!==_0x26cf17[_0x3ad4b4(0x22d)][_0x3ad4b4(0x4b5)]);})),'card':{..._0x463a81,'titleFieldId':_0x58d3c2,'coverFieldId':_0x10548f,'fieldIds':Array[_0x9b7e02(0x2c4)](_0x463a81[_0x9b7e02(0x60e)])?_0x463a81[_0x9b7e02(0x60e)]:[]},'cardSize':_0x41d47d};}[_0x36f63a(0x31a)](_0x56ffc7,_0x31f668){const _0x1daf77=_0x36f63a;let _0x3e4fad=_0x31f668?_0x56ffc7['fields'][_0x31f668]:void 0x0;return _0x3e4fad&&_0x3e4fad[_0x1daf77(0x5a9)]!==!0x0&&_0x3e4fad[_0x1daf77(0x5d6)]!==_0x26cf17['BaseFieldType'][_0x1daf77(0x4b5)]?_0x3e4fad['id']:_0x4485ec(_0x56ffc7);}[_0x36f63a(0x5ec)](_0x3fa81b,_0x151fb6){const _0x57b917=_0x36f63a;var _0x41378f;let _0x5d7ade=_0x151fb6[_0x57b917(0x247)]??((_0x41378f=_0x151fb6['card'])==null?void 0x0:_0x41378f[_0x57b917(0x247)])??null;if(!_0x5d7ade)return null;let _0x90e003=_0x3fa81b[_0x57b917(0x458)][_0x5d7ade];return _0x90e003&&this[_0x57b917(0x212)](_0x90e003)[_0x57b917(0x26e)]?_0x90e003['id']:null;}[_0x36f63a(0x415)](_0xb8087a,_0x748a52,_0x80b1ae){const _0x3239a7=_0x36f63a;var _0x4cf51d,_0x3eb0c9,_0x138db0;let _0x22b434=_0x80b1ae[_0x3239a7(0x47f)]??{},_0x2bf9dc=((_0x4cf51d=_0x80b1ae[_0x3239a7(0x4f0)])==null?void 0x0:_0x4cf51d[_0x3239a7(0x3c2)])??_0x4485ec(_0xb8087a),_0x2a0b83=_0x80b1ae[_0x3239a7(0x247)]??((_0x3eb0c9=_0x80b1ae[_0x3239a7(0x4f0)])==null?void 0x0:_0x3eb0c9[_0x3239a7(0x247)])??null,_0x2eb4a6=(_0x138db0=_0x80b1ae['card'])!=null&&(_0x138db0=_0x138db0[_0x3239a7(0x60e)])!=null&&_0x138db0[_0x3239a7(0x4cd)]?_0x80b1ae['card'][_0x3239a7(0x60e)]:_0x17b3aa(_0xb8087a,[_0x2bf9dc,_0x2a0b83,_0xb8087a[_0x3239a7(0x5ce)]]);return _0x2eb4a6[_0x3239a7(0x46a)](_0x24aa18=>{const _0x45ed49=_0x3239a7;var _0x1003b1,_0x46e2f9;let _0x204d5a=_0xb8087a[_0x45ed49(0x458)][_0x24aa18];return!(!_0x204d5a||_0x204d5a[_0x45ed49(0x5a9)]===!0x0||_0x204d5a['type']===_0x26cf17[_0x45ed49(0x22d)]['RecordId']||_0x204d5a['id']===_0x2bf9dc||_0x204d5a['id']===_0x2a0b83||(_0x1003b1=_0x748a52[_0x45ed49(0x47f)])!=null&&(_0x1003b1=_0x1003b1[_0x24aa18])!=null&&_0x1003b1['hidden']||(_0x46e2f9=_0x22b434[_0x24aa18])!=null&&_0x46e2f9[_0x45ed49(0x339)]);})[_0x3239a7(0x30f)]((_0x387e91,_0x6b673c)=>{const _0x59abd0=_0x3239a7;var _0x14087a,_0x2e1062;return(((_0x14087a=_0x22b434[_0x387e91])==null?void 0x0:_0x14087a[_0x59abd0(0x5b4)])??_0x2eb4a6[_0x59abd0(0x499)](_0x387e91))-(((_0x2e1062=_0x22b434[_0x6b673c])==null?void 0x0:_0x2e1062[_0x59abd0(0x5b4)])??_0x2eb4a6['indexOf'](_0x6b673c));});}['_projectFields'](_0x370aaf,_0x7f97b5){const _0x5cfa8e=_0x36f63a;var _0x33e9be;return((_0x33e9be=_0x7f97b5[_0x5cfa8e(0x1b2)])!=null&&_0x33e9be[_0x5cfa8e(0x4cd)]?_0x7f97b5[_0x5cfa8e(0x1b2)]:_0x370aaf['fieldOrder'])[_0x5cfa8e(0x35a)](_0x2753b4=>{const _0x45244e=_0x5cfa8e;var _0x281031;let _0x432f02=_0x370aaf['fields'][_0x2753b4],_0x16be2a=((_0x281031=_0x7f97b5['fieldSettings'])==null?void 0x0:_0x281031[_0x2753b4])??{};return!_0x432f02||_0x432f02[_0x45244e(0x5a9)]===!0x0||_0x432f02[_0x45244e(0x5d6)]===_0x26cf17[_0x45244e(0x22d)][_0x45244e(0x4b5)]||_0x16be2a[_0x45244e(0x339)]?[]:[{'id':_0x432f02['id'],'name':_0x432f02[_0x45244e(0x3f8)],'description':_0x432f02[_0x45244e(0x1ec)],'type':_0x432f02[_0x45244e(0x5d6)],'config':_0x432f02[_0x45244e(0x4cc)],'width':_0x16be2a[_0x45244e(0x4b9)],'setting':_0x16be2a}];});}['_projectRows'](_0xb4c37f,_0x520a4a){const _0x53ef9a=_0x36f63a;var _0x59de06;return _0xdade1e(_0x53ef9a(0x3ae),()=>{const _0x380e14=_0x53ef9a;var _0x3bb151,_0x5dbc79;let _0x13aa0c=this[_0x380e14(0x619)](_0xb4c37f),_0x31e104=this[_0x380e14(0x3af)](_0xb4c37f['id'],_0x520a4a),_0xb8aee8=this['_getCellRevision'](_0xb4c37f['id']),_0x53b5b6=this[_0x380e14(0x41a)]['get'](_0x31e104);if(_0x53b5b6&&_0x53b5b6[_0x380e14(0x349)]===this[_0x380e14(0x1fc)]&&_0x53b5b6[_0x380e14(0x21f)]===this[_0x380e14(0x426)](_0xb4c37f['id'])){if(_0x53b5b6[_0x380e14(0x3f9)]===_0xb8aee8&&_0x53b5b6['baseRows']===_0x13aa0c)return _0x53b5b6[_0x380e14(0x354)];if(_0x53b5b6['cellRevision']!==_0xb8aee8&&!this[_0x380e14(0x4d3)](_0xb4c37f['id'],_0x53b5b6[_0x380e14(0x3f9)],_0xb8aee8,this[_0x380e14(0x447)](_0x520a4a))){let _0x471042=_0x53b5b6[_0x380e14(0x354)]===_0x53b5b6['baseRows']?_0x13aa0c:this[_0x380e14(0x475)](_0x53b5b6[_0x380e14(0x354)],_0x13aa0c);if(_0x471042)return this[_0x380e14(0x41a)][_0x380e14(0x4a9)](_0x31e104,{..._0x53b5b6,'rows':_0x471042,'baseRows':_0x13aa0c,'cellRevision':_0xb8aee8}),_0x471042;}}let _0x41c06a=_0xdade1e(_0x380e14(0x2b4),()=>this[_0x380e14(0x202)](_0xb4c37f,_0x520a4a,this[_0x380e14(0x5aa)](_0xb4c37f,_0x520a4a,_0x13aa0c)),{'tableId':_0xb4c37f['id'],'viewId':_0x520a4a==null?void 0x0:_0x520a4a['id'],'viewType':_0x520a4a==null?void 0x0:_0x520a4a['type'],'rows':_0x13aa0c['length'],'filters':(_0x520a4a==null||(_0x3bb151=_0x520a4a[_0x380e14(0x46a)])==null?void 0x0:_0x3bb151[_0x380e14(0x357)][_0x380e14(0x4cd)])??0x0,'sorts':(_0x520a4a==null||(_0x5dbc79=_0x520a4a[_0x380e14(0x30f)])==null?void 0x0:_0x5dbc79[_0x380e14(0x4cd)])??0x0});return this[_0x380e14(0x41a)]['set'](_0x31e104,{'table':_0xb4c37f,'rows':_0x41c06a,'baseRows':_0x13aa0c,'globalRevision':this[_0x380e14(0x1fc)],'tableRevision':this[_0x380e14(0x426)](_0xb4c37f['id']),'cellRevision':_0xb8aee8}),_0x41c06a;},{'tableId':_0xb4c37f['id'],'viewId':_0x520a4a==null?void 0x0:_0x520a4a['id'],'viewType':_0x520a4a==null?void 0x0:_0x520a4a['type'],'records':((_0x59de06=_0xb4c37f['recordOrder'])==null?void 0x0:_0x59de06[_0x53ef9a(0x4cd)])??Object[_0x53ef9a(0x40d)](_0xb4c37f[_0x53ef9a(0x4c9)]??{})['length']});}['_projectTableRows'](_0x2378b8){const _0xeb91c1=_0x36f63a;var _0x236e64;return _0xdade1e(_0xeb91c1(0x4aa),()=>{const _0x580d3b=_0xeb91c1;var _0x511f8e;let _0xc615f8=this['_getCellRevision'](_0x2378b8['id']),_0x3bc94d=this['_projectedRowsCache']['get'](_0x2378b8['id']);if(_0x3bc94d&&_0x3bc94d[_0x580d3b(0x349)]===this[_0x580d3b(0x1fc)]&&_0x3bc94d[_0x580d3b(0x21f)]===this['_getTableRevision'](_0x2378b8['id'])){if(_0x3bc94d[_0x580d3b(0x3f9)]===_0xc615f8&&_0x2fac65(_0x3bc94d[_0x580d3b(0x551)],_0x2378b8))return _0x3bc94d['table']=_0x2378b8,_0x3bc94d[_0x580d3b(0x354)];let _0x2243da=this[_0x580d3b(0x5c6)](_0x2378b8,_0x3bc94d,_0xc615f8);if(_0x2243da)return _0x2243da;}_0x461a03(_0x2378b8)||_0x58de72(_0x2378b8);let _0x3c3cd4=(_0x511f8e=_0x2378b8[_0x580d3b(0x2ba)])!=null&&_0x511f8e[_0x580d3b(0x4cd)]?_0x2378b8[_0x580d3b(0x2ba)]:_0x54eacc(_0x2378b8[_0x580d3b(0x4c9)]),_0x543dd5=_0xdade1e(_0x580d3b(0x5b9),()=>{const _0x334f37=_0x580d3b;let _0x2c0ac4=[];for(let _0x154f16 of _0x3c3cd4){let _0x18be6=_0x2378b8[_0x334f37(0x4c9)][_0x154f16];if(!_0x18be6)continue;let _0x53b63d={};for(let _0x2cb8d7 of _0x2378b8[_0x334f37(0x1b2)])_0x53b63d[_0x2cb8d7]=_0x2db5fc(_0x2378b8,_0x18be6['id'],_0x2cb8d7);_0x2c0ac4[_0x334f37(0x605)]({'recordId':_0x18be6['id'],'values':_0x53b63d});}return _0x2c0ac4;},{'tableId':_0x2378b8['id'],'records':_0x3c3cd4[_0x580d3b(0x4cd)],'fields':_0x2378b8['fieldOrder'][_0x580d3b(0x4cd)]});return this[_0x580d3b(0x4c6)][_0x580d3b(0x4a9)](_0x2378b8['id'],{'table':_0x2378b8,'rows':_0x543dd5,'rowIndexById':_0x2fbcc9(_0x543dd5),'globalRevision':this[_0x580d3b(0x1fc)],'tableRevision':this[_0x580d3b(0x426)](_0x2378b8['id']),'cellRevision':_0xc615f8}),_0x543dd5;},{'tableId':_0x2378b8['id'],'records':((_0x236e64=_0x2378b8[_0xeb91c1(0x2ba)])==null?void 0x0:_0x236e64[_0xeb91c1(0x4cd)])??Object[_0xeb91c1(0x40d)](_0x2378b8[_0xeb91c1(0x4c9)]??{})[_0xeb91c1(0x4cd)],'fields':_0x2378b8[_0xeb91c1(0x1b2)][_0xeb91c1(0x4cd)]});}[_0x36f63a(0x5c6)](_0x316374,_0x57bc7f,_0x140948){const _0x30764e=_0x36f63a;let _0x227548=(this[_0x30764e(0x5be)][_0x30764e(0x558)](_0x316374['id'])??[])[_0x30764e(0x46a)](_0x255d1=>_0x255d1['revision']>_0x57bc7f[_0x30764e(0x3f9)]&&_0x255d1[_0x30764e(0x3d3)]<=_0x140948);if(!_0x227548[_0x30764e(0x4cd)])return _0x57bc7f[_0x30764e(0x551)]===_0x316374?_0x57bc7f[_0x30764e(0x354)]:null;let _0x2c53ba=_0x57bc7f['rows'],_0x3520e7=new Map();for(let _0x5c1fe7 of _0x227548){let _0x41ff20=_0x3520e7[_0x30764e(0x558)](_0x5c1fe7[_0x30764e(0x571)]);_0x41ff20||(_0x41ff20=new Set(),_0x3520e7[_0x30764e(0x4a9)](_0x5c1fe7[_0x30764e(0x571)],_0x41ff20)),_0x41ff20[_0x30764e(0x1ce)](_0x5c1fe7[_0x30764e(0x39c)]);}for(let [_0x2495b1,_0x52ac43]of _0x3520e7){if(!_0x316374[_0x30764e(0x4c9)][_0x2495b1])return null;let _0x4ae162=_0x57bc7f[_0x30764e(0x1ad)][_0x30764e(0x558)](_0x2495b1);if(_0x4ae162==null)return null;_0x2c53ba===_0x57bc7f['rows']&&(_0x2c53ba=[..._0x57bc7f['rows']]);let _0x19c776=_0x2c53ba[_0x4ae162],_0x5b955d={..._0x19c776[_0x30764e(0x20f)]};_0x52ac43[_0x30764e(0x1bf)](_0x109d58=>{_0x5b955d[_0x109d58]=_0x2db5fc(_0x316374,_0x2495b1,_0x109d58);}),_0x2c53ba[_0x4ae162]={..._0x19c776,'values':_0x5b955d};}let _0x29a6c5={'table':_0x316374,'rows':_0x2c53ba,'rowIndexById':_0x57bc7f[_0x30764e(0x1ad)],'globalRevision':this[_0x30764e(0x1fc)],'tableRevision':this[_0x30764e(0x426)](_0x316374['id']),'cellRevision':_0x140948};return this[_0x30764e(0x4c6)][_0x30764e(0x4a9)](_0x316374['id'],_0x29a6c5),this['_cellInvalidations'][_0x30764e(0x4a9)](_0x316374['id'],(this['_cellInvalidations'][_0x30764e(0x558)](_0x316374['id'])??[])[_0x30764e(0x46a)](_0x21705a=>_0x21705a['revision']>Math[_0x30764e(0x5a7)](0x0,_0x140948-0x100))),_0x2c53ba;}[_0x36f63a(0x475)](_0x13c277,_0xa427fc){const _0x3d861f=_0x36f63a;let _0x531b35=new Map(_0xa427fc[_0x3d861f(0x4a5)](_0x16fcc8=>[_0x16fcc8['recordId'],_0x16fcc8])),_0x2582e6=!0x1,_0xf4b9d8=_0x13c277[_0x3d861f(0x4a5)](_0x21eba7=>{const _0x4829aa=_0x3d861f;let _0x1d2414=_0x531b35[_0x4829aa(0x558)](_0x21eba7[_0x4829aa(0x571)]);return _0x1d2414?_0x1d2414===_0x21eba7?_0x21eba7:(_0x2582e6=!0x0,_0x1d2414):_0x21eba7;});return _0x2582e6?_0xf4b9d8:_0x13c277;}[_0x36f63a(0x4d3)](_0x154c23,_0xde4290,_0x5db0f7,_0xa30d9b){const _0x1be7dc=_0x36f63a;return!_0xa30d9b['size']||_0xde4290===_0x5db0f7?!0x1:_0x5db0f7-_0xde4290>0x100||(this['_cellInvalidations'][_0x1be7dc(0x558)](_0x154c23)??[])['some'](_0x4fcd49=>_0x4fcd49[_0x1be7dc(0x3d3)]>_0xde4290&&_0x4fcd49[_0x1be7dc(0x3d3)]<=_0x5db0f7&&_0xa30d9b[_0x1be7dc(0x2fa)](_0x4fcd49[_0x1be7dc(0x39c)]));}[_0x36f63a(0x447)](_0x2be35c){const _0x47ad27=_0x36f63a;var _0x4f5dc1,_0x148df0;let _0x4d2fbf=new Set();return _0x2be35c==null||(_0x4f5dc1=_0x2be35c['filter'])==null||_0x4f5dc1[_0x47ad27(0x357)][_0x47ad27(0x1bf)](_0xee55d1=>_0x4d2fbf[_0x47ad27(0x1ce)](_0xee55d1[_0x47ad27(0x39c)])),_0x2be35c==null||(_0x148df0=_0x2be35c[_0x47ad27(0x30f)])==null||_0x148df0[_0x47ad27(0x1bf)](_0xa78db5=>_0x4d2fbf[_0x47ad27(0x1ce)](_0xa78db5[_0x47ad27(0x39c)])),_0x4d2fbf;}[_0x36f63a(0x22a)](_0x2356dd){const _0x42a8ab=_0x36f63a;var _0x40ee3a;let _0x2c9111=this[_0x42a8ab(0x447)](_0x2356dd);return(_0x40ee3a=_0x2356dd[_0x42a8ab(0x58b)])==null||_0x40ee3a[_0x42a8ab(0x1bf)](_0x7394c3=>_0x2c9111[_0x42a8ab(0x1ce)](_0x7394c3[_0x42a8ab(0x39c)])),_0x2c9111;}[_0x36f63a(0x5aa)](_0x1a9a02,_0xafdfcf,_0x206be9){const _0x1ab92e=_0x36f63a;let _0x303f16=_0xafdfcf==null?void 0x0:_0xafdfcf[_0x1ab92e(0x46a)];if(!(_0x303f16!=null&&_0x303f16[_0x1ab92e(0x357)]['length']))return _0x206be9;let _0x333590=_0x303f16[_0x1ab92e(0x357)][_0x1ab92e(0x46a)](_0x2dbb42=>!_0x21b558(_0x2dbb42));return _0x333590['length']?_0x206be9[_0x1ab92e(0x46a)](_0x2875bc=>{const _0x5b86a5=_0x1ab92e;if(_0x303f16[_0x5b86a5(0x617)]===_0x26cf17[_0x5b86a5(0x280)]['OR']){for(let _0x34df84 of _0x333590){let _0x368f34=_0x1a9a02[_0x5b86a5(0x458)][_0x34df84[_0x5b86a5(0x39c)]];if(!_0x368f34||this[_0x5b86a5(0x454)]['get'](_0x368f34[_0x5b86a5(0x5d6)])[_0x5b86a5(0x46a)](_0x2875bc[_0x5b86a5(0x20f)][_0x368f34['id']],_0x34df84[_0x5b86a5(0x2a0)],_0x34df84['operand'],_0x368f34))return!0x0;}return!0x1;}for(let _0x291b31 of _0x333590){let _0x4f5bf7=_0x1a9a02[_0x5b86a5(0x458)][_0x291b31[_0x5b86a5(0x39c)]];if(_0x4f5bf7&&!this['_fieldRegistry']['get'](_0x4f5bf7[_0x5b86a5(0x5d6)])[_0x5b86a5(0x46a)](_0x2875bc[_0x5b86a5(0x20f)][_0x4f5bf7['id']],_0x291b31[_0x5b86a5(0x2a0)],_0x291b31[_0x5b86a5(0x26c)],_0x4f5bf7))return!0x1;}return!0x0;}):_0x206be9;}[_0x36f63a(0x202)](_0x57022f,_0x1ad1ff,_0x425401){const _0x1490b5=_0x36f63a;let _0x2feac9=(_0x1ad1ff==null?void 0x0:_0x1ad1ff['sort'])??[];if(!_0x2feac9[_0x1490b5(0x4cd)])return _0x425401;let _0x24609a=_0x2feac9[_0x1490b5(0x35a)](_0x3cd647=>{const _0x587bf8=_0x1490b5;let _0x186346=_0x57022f[_0x587bf8(0x458)][_0x3cd647[_0x587bf8(0x39c)]];return _0x186346?[{..._0x3cd647,'field':_0x186346}]:[];});return _0x24609a[_0x1490b5(0x4cd)]?this[_0x1490b5(0x5d1)](_0x24609a)?this[_0x1490b5(0x330)](_0x24609a,_0x425401):[..._0x425401][_0x1490b5(0x30f)]((_0x36f634,_0x3dc6c1)=>{const _0x4c7220=_0x1490b5;for(let _0x44562d of _0x24609a){let _0x13fe7c=_0x44562d[_0x4c7220(0x5f1)],_0x2398a4=this[_0x4c7220(0x454)][_0x4c7220(0x558)](_0x13fe7c[_0x4c7220(0x5d6)])[_0x4c7220(0x3cc)](_0x36f634['values'][_0x13fe7c['id']],_0x3dc6c1['values'][_0x13fe7c['id']],_0x13fe7c);if(_0x2398a4!==0x0)return _0x44562d[_0x4c7220(0x36f)]===_0x26cf17[_0x4c7220(0x462)]['DESC']?-_0x2398a4:_0x2398a4;}return 0x0;}):_0x425401;}['_canUseFastSort'](_0x525cbe){const _0x4a758c=_0x36f63a;return _0x525cbe['every'](_0x122e95=>_0x150a74[_0x4a758c(0x2fa)](_0x122e95['field'][_0x4a758c(0x5d6)]));}[_0x36f63a(0x330)](_0x555724,_0x411312){const _0x4128cf=_0x36f63a;return _0x411312[_0x4128cf(0x4a5)]((_0x5e86b4,_0x1e037e)=>({'row':_0x5e86b4,'index':_0x1e037e,'keys':_0x555724[_0x4128cf(0x4a5)](_0x19a491=>_0x5e86b4[_0x4128cf(0x20f)][_0x19a491[_0x4128cf(0x39c)]])}))[_0x4128cf(0x30f)]((_0x41b70,_0xfc57c3)=>{const _0x1f8b37=_0x4128cf;for(let _0x195898=0x0;_0x195898<_0x555724[_0x1f8b37(0x4cd)];_0x195898++){let _0x3529e1=_0x3be0ed(_0x41b70[_0x1f8b37(0x40d)][_0x195898],_0xfc57c3['keys'][_0x195898]);if(_0x3529e1!==0x0)return _0x555724[_0x195898]['direction']===_0x26cf17[_0x1f8b37(0x462)][_0x1f8b37(0x2a3)]?-_0x3529e1:_0x3529e1;}return _0x41b70[_0x1f8b37(0x21b)]-_0xfc57c3[_0x1f8b37(0x21b)];})[_0x4128cf(0x4a5)](_0x13e78f=>_0x13e78f[_0x4128cf(0x5dd)]);}['_projectGroups'](_0x169ccf,_0x96170e,_0x2a38f3){const _0x200d56=_0x36f63a;var _0x2d8dc0;return _0xdade1e(_0x200d56(0x465),()=>{const _0x61a650=_0x200d56;var _0x287930;if(!((_0x287930=_0x96170e[_0x61a650(0x58b)])!=null&&_0x287930[_0x61a650(0x4cd)]))return[];let _0x341a1e=_0x96170e['group'][_0x61a650(0x46a)](_0x498b70=>_0x169ccf[_0x61a650(0x458)][_0x498b70['fieldId']]);if(!_0x341a1e['length'])return[];let _0x249857=this[_0x61a650(0x5bf)](_0x169ccf['id'],_0x96170e,_0x341a1e),_0x4dce0d=this[_0x61a650(0x303)](_0x169ccf['id']),_0x1b9d93=this[_0x61a650(0x220)][_0x61a650(0x558)](_0x249857);if(_0x1b9d93&&_0x1b9d93[_0x61a650(0x349)]===this[_0x61a650(0x1fc)]&&_0x1b9d93['tableRevision']===this['_getTableRevision'](_0x169ccf['id'])){if(_0x1b9d93[_0x61a650(0x3f9)]===_0x4dce0d&&_0x1b9d93['rows']===_0x2a38f3)return _0x1b9d93[_0x61a650(0x485)];if(_0x1b9d93['cellRevision']!==_0x4dce0d&&!this['_cellInvalidationsTouchFields'](_0x169ccf['id'],_0x1b9d93[_0x61a650(0x3f9)],_0x4dce0d,this[_0x61a650(0x22a)](_0x96170e)))return this[_0x61a650(0x220)][_0x61a650(0x4a9)](_0x249857,{..._0x1b9d93,'rows':_0x2a38f3,'cellRevision':_0x4dce0d}),_0x1b9d93[_0x61a650(0x485)];}let _0x3c92de=new Map();for(let _0x149e4e of _0x2a38f3){let _0x5db012=_0x3c92de,_0x35db2d='';for(let _0x3452f5=0x0;_0x3452f5<_0x341a1e['length'];_0x3452f5++){let _0x48fb0e=_0x341a1e[_0x3452f5],_0x58526c=_0x149e4e[_0x61a650(0x20f)][_0x48fb0e[_0x61a650(0x39c)]],_0x33aebe=_0x22b21f(_0x58526c),_0x129f7b=_0x48fb0e['fieldId']+'\x00'+_0x33aebe,_0x4e57c4=_0x35db2d+'/'+_0x48fb0e[_0x61a650(0x39c)]+':'+_0x33aebe,_0x591c75=_0x5db012[_0x61a650(0x558)](_0x129f7b);_0x591c75||(_0x591c75={'key':_0x33aebe,'value':_0x58526c,'path':_0x4e57c4,'label':_0x33aebe||_0x61a650(0x5a2),'fieldId':_0x48fb0e[_0x61a650(0x39c)],'level':_0x3452f5,'recordIds':[],'children':new Map()},_0x5db012[_0x61a650(0x4a9)](_0x129f7b,_0x591c75)),_0x591c75[_0x61a650(0x263)][_0x61a650(0x605)](_0x149e4e['recordId']),_0x5db012=_0x591c75['children'],_0x35db2d=_0x4e57c4;}}let _0x46e61d=this['_materializeGroups'](_0x341a1e,_0x3c92de,0x0);return this[_0x61a650(0x220)][_0x61a650(0x4a9)](_0x249857,{'table':_0x169ccf,'rows':_0x2a38f3,'groups':_0x46e61d,'globalRevision':this[_0x61a650(0x1fc)],'tableRevision':this['_getTableRevision'](_0x169ccf['id']),'cellRevision':_0x4dce0d}),_0x46e61d;},{'tableId':_0x169ccf['id'],'viewId':_0x96170e['id'],'viewType':_0x96170e[_0x200d56(0x5d6)],'rows':_0x2a38f3[_0x200d56(0x4cd)],'groupFields':((_0x2d8dc0=_0x96170e[_0x200d56(0x58b)])==null?void 0x0:_0x2d8dc0[_0x200d56(0x4cd)])??0x0});}[_0x36f63a(0x45e)](_0x3548ad,_0x41476c,_0x12c63f){const _0x1d724e=_0x36f63a;var _0x57e13d;let _0x3b704b=Array['from'](_0x41476c['values']()),_0x154e5e=(_0x57e13d=_0x3548ad[_0x12c63f])==null?void 0x0:_0x57e13d[_0x1d724e(0x36f)];return _0x154e5e&&_0x3b704b['sort']((_0xd429db,_0x23ea13)=>{const _0x5a0e04=_0x1d724e;let _0x439d18=_0xd429db[_0x5a0e04(0x262)][_0x5a0e04(0x4ed)](_0x23ea13[_0x5a0e04(0x262)]);return _0x154e5e===_0x26cf17['BaseSortDirection']['DESC']?-_0x439d18:_0x439d18;}),_0x3b704b[_0x1d724e(0x4a5)](_0x3b0d12=>({'key':_0x3b0d12[_0x1d724e(0x262)],'value':_0x3b0d12[_0x1d724e(0x5a4)],'path':_0x3b0d12[_0x1d724e(0x35c)],'label':_0x3b0d12[_0x1d724e(0x496)],'fieldId':_0x3b0d12[_0x1d724e(0x39c)],'level':_0x3b0d12[_0x1d724e(0x5ee)],'recordIds':_0x3b0d12[_0x1d724e(0x263)],'children':this['_materializeGroups'](_0x3548ad,_0x3b0d12['children'],_0x12c63f+0x1)}));}[_0x36f63a(0x34f)](_0x3a661d,_0x55b00c,_0x313905){const _0x490797=_0x36f63a;let _0x2a6a5e=_0x313905??_0x3a661d[_0x490797(0x5ce)],_0x118687=_0x55b00c[_0x490797(0x20f)][_0x2a6a5e];return _0x118687==null?'':String(_0x118687);}['_recordIds'](_0x10c361){const _0x46f202=_0x36f63a;if(Array[_0x46f202(0x2c4)](_0x10c361))return _0x10c361['map'](String);if(typeof _0x10c361=='string'&&_0x10c361)return[_0x10c361];}[_0x36f63a(0x212)](_0x35e507){const _0x36321d=_0x36f63a;return this[_0x36321d(0x454)]['get'](_0x35e507[_0x36321d(0x5d6)])[_0x36321d(0x42f)](_0x35e507);}};_0x4149ac=_0x184c3d([_0x5712fb(0x0,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x270bb8))],_0x4149ac);function _0x22b21f(_0x2289d9){return _0x2289d9==null?'':String(_0x2289d9);}function _0x2fbcc9(_0x20dd5d){const _0x34480c=_0x36f63a;return new Map(_0x20dd5d[_0x34480c(0x4a5)]((_0x480d6a,_0x56b381)=>[_0x480d6a[_0x34480c(0x571)],_0x56b381]));}function _0x461a03(_0x597774){const _0x901f7a=_0x36f63a;return!!(Array[_0x901f7a(0x2c4)](_0x597774[_0x901f7a(0x2ba)])&&_0x597774[_0x901f7a(0x5cd)]&&_0x597774[_0x901f7a(0x51d)]&&_0x597774['colIndex']&&_0x597774['colId']&&_0x597774['cellData']);}function _0x216680(_0x57ddde){const _0x477d19=_0x36f63a;let _0x139ffb=(_0x57ddde==null?void 0x0:_0x57ddde[_0x477d19(0x357)][_0x477d19(0x46a)](_0x5b4907=>!_0x21b558(_0x5b4907)))??[];return!_0x57ddde||!_0x139ffb[_0x477d19(0x4cd)]?null:{'conjunction':_0x57ddde[_0x477d19(0x617)],'conditions':_0x139ffb[_0x477d19(0x4a5)](_0x5d8904=>({'fieldId':_0x5d8904[_0x477d19(0x39c)],'operator':_0x5d8904[_0x477d19(0x2a0)],'operand':_0x5d8904[_0x477d19(0x26c)]}))};}function _0x2fac65(_0x401530,_0x295ebd){const _0x3ddc40=_0x36f63a;return _0x401530['records']===_0x295ebd[_0x3ddc40(0x4c9)]&&_0x401530[_0x3ddc40(0x2ba)]===_0x295ebd[_0x3ddc40(0x2ba)]&&_0x401530['fields']===_0x295ebd[_0x3ddc40(0x458)]&&_0x401530[_0x3ddc40(0x1b2)]===_0x295ebd[_0x3ddc40(0x1b2)]&&_0x401530['cellData']===_0x295ebd[_0x3ddc40(0x61f)]&&_0x401530[_0x3ddc40(0x5cd)]===_0x295ebd[_0x3ddc40(0x5cd)]&&_0x401530[_0x3ddc40(0x51d)]===_0x295ebd[_0x3ddc40(0x51d)]&&_0x401530[_0x3ddc40(0x41d)]===_0x295ebd[_0x3ddc40(0x41d)]&&_0x401530[_0x3ddc40(0x3e3)]===_0x295ebd[_0x3ddc40(0x3e3)];}function _0x34b40f(_0x4a6675){const _0x2f6aba=_0x36f63a;return _0x4a6675!=null&&_0x4a6675[_0x2f6aba(0x4cd)]?_0x4a6675[_0x2f6aba(0x4a5)](_0x5595cb=>({'fieldId':_0x5595cb[_0x2f6aba(0x39c)],'direction':_0x5595cb[_0x2f6aba(0x36f)]})):null;}function _0x43250e(_0x1736d6){const _0x27d749=_0x36f63a;if(typeof _0x1736d6!=_0x27d749(0x3e4)||!_0x1736d6)return JSON['stringify'](_0x1736d6)??_0x27d749(0x31d);if(Array['isArray'](_0x1736d6))return'['+_0x1736d6[_0x27d749(0x4a5)](_0x43250e)[_0x27d749(0x241)](',')+']';let _0x1b35b0=_0x1736d6;return'{'+Object[_0x27d749(0x40d)](_0x1b35b0)[_0x27d749(0x30f)]()[_0x27d749(0x4a5)](_0x2d2d2d=>JSON[_0x27d749(0x40a)](_0x2d2d2d)+':'+_0x43250e(_0x1b35b0[_0x2d2d2d]))[_0x27d749(0x241)](',')+'}';}function _0x54eacc(_0xafbbf6){const _0x344721=_0x36f63a;let _0x5a672e=Object[_0x344721(0x20f)](_0xafbbf6)['sort']((_0x118388,_0x4ffe50)=>_0x118388['orderKey'][_0x344721(0x4ed)](_0x4ffe50[_0x344721(0x58c)])),_0x435e06=[];for(let _0x335ba5 of _0x5a672e)_0x435e06['push'](_0x335ba5['id']);return _0x435e06;}function _0x59a2bb(_0x46051d){const _0x486f4e=_0x36f63a;return{'weekdays':Array[_0x486f4e(0x2c4)](_0x46051d==null?void 0x0:_0x46051d['weekdays'])&&_0x46051d['weekdays'][_0x486f4e(0x4cd)]?[...new Set(_0x46051d['weekdays'][_0x486f4e(0x46a)](_0x85159f=>Number['isInteger'](_0x85159f)&&_0x85159f>=0x1&&_0x85159f<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x486f4e(0x2c4)](_0x46051d==null?void 0x0:_0x46051d['exceptions'])?_0x46051d[_0x486f4e(0x4c0)][_0x486f4e(0x35a)](_0xf9e2c5=>!_0xf9e2c5||!Number[_0x486f4e(0x26b)](_0xf9e2c5[_0x486f4e(0x4ae)])?[]:[{'id':String(_0xf9e2c5['id']||_0x486f4e(0x5fd)+_0xf9e2c5[_0x486f4e(0x4ae)]),'date':_0x441ed0(Number(_0xf9e2c5['date'])),'name':String(_0xf9e2c5[_0x486f4e(0x3f8)]||'Working\x20day'),'type':_0xf9e2c5[_0x486f4e(0x5d6)]===_0x486f4e(0x3fb)?_0x486f4e(0x3fb):_0x486f4e(0x296)}]):[]};}function _0x1b9af2(_0x1cd3b1,_0x265fb0,_0x347e1b,_0x42ccc1){let _0x2638cb=_0x23cd15(_0x1cd3b1,_0x265fb0),_0x196295=_0x3d04d4(_0x1cd3b1,_0x347e1b),_0x41faf6=_0x10cbf0(_0x1cd3b1,_0x2638cb,_0x196295,_0x42ccc1);return{'scale':_0x1cd3b1,'start':_0x2638cb,'end':_0x196295,'unitWidth':_0x4cc237(_0x1cd3b1),'majorHeaders':_0x29cf0b(_0x1cd3b1,_0x2638cb,_0x196295),'columns':_0x41faf6};}function _0x10cbf0(_0x4a6c45,_0x265cd6,_0x58654f,_0x1ab6b8){const _0x577fd1=_0x36f63a;let _0x4f53a6=[],_0x3411b6=_0x265cd6;for(;_0x3411b6<_0x58654f;){let _0x596099=_0x4a6c45===_0x577fd1(0x352)?_0x12e4ee(_0x3411b6,0x7):_0x4a6c45===_0x577fd1(0x4c2)?_0x4bc95d(_0x3411b6,0x1):_0x12e4ee(_0x3411b6,0x1);_0x4f53a6['push']({'id':_0x4a6c45+'-'+_0x3411b6,'label':_0x2e8b30(_0x4a6c45,_0x3411b6,_0x596099),'majorLabel':_0x5e4f94(_0x4a6c45,_0x3411b6),'start':_0x3411b6,'end':_0x596099,'nonWorking':_0x2ac27a(_0x3411b6,_0x596099,_0x1ab6b8)}),_0x3411b6=_0x596099;}return _0x4f53a6;}function _0x29cf0b(_0x2a9cbb,_0x42c2cd,_0x389bb3){const _0x3496ba=_0x36f63a;let _0x1a8400=[],_0x3a044b=_0x2a9cbb===_0x3496ba(0x4c2)?_0x1272c3(_0x42c2cd):_0x49b043(_0x42c2cd);for(;_0x3a044b<_0x389bb3;){let _0x5711b1=_0x2a9cbb==='year'?_0x3a0934(_0x3a044b,0x1):_0x4bc95d(_0x3a044b,0x1);_0x1a8400['push']({'id':_0x3496ba(0x3c6)+_0x3a044b,'label':_0x2a9cbb===_0x3496ba(0x4c2)?String(new Date(_0x3a044b)[_0x3496ba(0x547)]()):_0x4e424e(_0x3a044b),'start':_0x3a044b,'end':_0x5711b1}),_0x3a044b=_0x5711b1;}return _0x1a8400;}function _0x4cc237(_0x100ec0){const _0x5140f1=_0x36f63a;switch(_0x100ec0){case _0x5140f1(0x460):return 0xac;case _0x5140f1(0x352):return 0xac;case _0x5140f1(0x4c2):return 0x88;default:return 0x56;}}function _0x23cd15(_0x816f60,_0x18cd50){const _0x5c511f=_0x36f63a;return _0x816f60===_0x5c511f(0x4c2)?_0x1272c3(_0x18cd50):_0x816f60===_0x5c511f(0x352)?_0x53b6a8(_0x18cd50):_0x441ed0(_0x18cd50);}function _0x3d04d4(_0x18952f,_0x19ba77){const _0x375d3f=_0x36f63a;return _0x18952f===_0x375d3f(0x4c2)?_0x3a0934(_0x1272c3(_0x19ba77),0x1):_0x18952f===_0x375d3f(0x352)?_0x12e4ee(_0x53b6a8(_0x19ba77),0x7):_0x12e4ee(_0x441ed0(_0x19ba77),0x1);}function _0x2e8b30(_0x1ba5f1,_0x9fe99e,_0x8165a2){const _0x2d5127=_0x36f63a;let _0xc97618=new Date(_0x9fe99e);return _0x1ba5f1===_0x2d5127(0x352)?_0xc97618[_0x2d5127(0x463)]()+'-'+new Date(_0x8165a2-_0x4ab1b5)[_0x2d5127(0x463)]():_0x1ba5f1===_0x2d5127(0x4c2)?_0xc97618[_0x2d5127(0x4e4)](_0x2d5127(0x24e),{'month':_0x2d5127(0x4d0),'timeZone':_0x2d5127(0x5e7)}):String(_0xc97618[_0x2d5127(0x463)]());}function _0x5e4f94(_0x1916dc,_0x4fdfd3){const _0x4f0e2c=_0x36f63a;return _0x1916dc==='year'?String(new Date(_0x4fdfd3)[_0x4f0e2c(0x547)]()):_0x4e424e(_0x4fdfd3);}function _0xe26be9(_0x478513,_0x1df89d,_0x4fa66e){let _0x565b4c=_0x59a2bb(_0x4fa66e),_0x242ee2=0x0;for(let _0x3388ed=_0x441ed0(_0x478513);_0x3388ed<=_0x441ed0(_0x1df89d);_0x3388ed=_0x12e4ee(_0x3388ed,0x1))_0x3c1c35(_0x3388ed,_0x565b4c)||_0x242ee2++;return _0x242ee2;}function _0x2ac27a(_0x48288b,_0x76dca3,_0x4055fe){if(!_0x4055fe)return!0x1;let _0x497cd4=_0x59a2bb(_0x4055fe);for(let _0xfbfaa6=_0x441ed0(_0x48288b);_0xfbfaa6<_0x76dca3;_0xfbfaa6=_0x12e4ee(_0xfbfaa6,0x1))if(!_0x3c1c35(_0xfbfaa6,_0x497cd4))return!0x1;return!0x0;}function _0x3c1c35(_0xe66d8a,_0x3364f7){const _0x5abd4b=_0x36f63a;let _0x431e7a=_0x441ed0(_0xe66d8a),_0x3b3540=_0x3364f7[_0x5abd4b(0x4c0)]['find'](_0x497107=>_0x441ed0(_0x497107[_0x5abd4b(0x4ae)])===_0x431e7a);if(_0x3b3540)return _0x3b3540[_0x5abd4b(0x5d6)]===_0x5abd4b(0x296);let _0x52392c=new Date(_0x431e7a)['getUTCDay'](),_0x45bcaa=_0x52392c===0x0?0x7:_0x52392c;return!_0x3364f7[_0x5abd4b(0x595)][_0x5abd4b(0x358)](_0x45bcaa);}function _0x441ed0(_0x497507){const _0x5c226f=_0x36f63a;let _0x597839=new Date(_0x497507);return Date[_0x5c226f(0x5e7)](_0x597839[_0x5c226f(0x547)](),_0x597839[_0x5c226f(0x40f)](),_0x597839[_0x5c226f(0x463)]());}function _0x53b6a8(_0x59682c){const _0x34023a=_0x36f63a;let _0x3d363e=_0x441ed0(_0x59682c),_0x1689b9=new Date(_0x3d363e)[_0x34023a(0x1f2)]();return _0x12e4ee(_0x3d363e,-(_0x1689b9===0x0?0x6:_0x1689b9-0x1));}function _0x49b043(_0x596379){const _0x414c0b=_0x36f63a;let _0xee31b6=new Date(_0x596379);return Date['UTC'](_0xee31b6[_0x414c0b(0x547)](),_0xee31b6[_0x414c0b(0x40f)](),0x1);}function _0x1272c3(_0x58ef35){const _0x350c7e=_0x36f63a;let _0x84edf3=new Date(_0x58ef35);return Date[_0x350c7e(0x5e7)](_0x84edf3[_0x350c7e(0x547)](),0x0,0x1);}function _0x12e4ee(_0x28f59e,_0x55b38a){return _0x28f59e+_0x55b38a*_0x4ab1b5;}function _0x4bc95d(_0x3fc8c2,_0x5c8c7d){const _0x47390a=_0x36f63a;let _0x4fedb7=new Date(_0x3fc8c2);return Date[_0x47390a(0x5e7)](_0x4fedb7[_0x47390a(0x547)](),_0x4fedb7[_0x47390a(0x40f)]()+_0x5c8c7d,0x1);}function _0x3a0934(_0x3cc077,_0x3e20b2){const _0x409516=_0x36f63a;let _0x1f1b55=new Date(_0x3cc077);return Date[_0x409516(0x5e7)](_0x1f1b55[_0x409516(0x547)]()+_0x3e20b2,0x0,0x1);}function _0x4e424e(_0x27faac){const _0x470c5b=_0x36f63a;let _0xe6bcd1=new Date(_0x27faac);return _0xe6bcd1['toLocaleString'](_0x470c5b(0x24e),{'month':'short','timeZone':_0x470c5b(0x5e7)})+'\x20'+_0xe6bcd1[_0x470c5b(0x547)]();}function _0x3be0ed(_0x4f90a1,_0xb21a4b){const _0x4ef664=_0x36f63a;if(_0x4f90a1==null&&_0xb21a4b==null)return 0x0;if(_0x4f90a1==null)return-0x1;if(_0xb21a4b==null)return 0x1;if(typeof _0x4f90a1==_0x4ef664(0x49e)||typeof _0xb21a4b==_0x4ef664(0x49e))return Number(_0x4f90a1===!0x0)-Number(_0xb21a4b===!0x0);let _0x20d553=Number(_0x4f90a1),_0x9aac9=Number(_0xb21a4b),_0x1f2c51=Number[_0x4ef664(0x26b)](_0x20d553),_0x374150=Number[_0x4ef664(0x26b)](_0x9aac9);return _0x1f2c51&&_0x374150?_0x20d553-_0x9aac9:_0x1f2c51?0x1:_0x374150?-0x1:String(_0x4f90a1)[_0x4ef664(0x4ed)](String(_0xb21a4b));}function _0x21b558(_0x58b614){const _0x41d5fb=_0x36f63a;if(_0x58b614[_0x41d5fb(0x2a0)]!=='is'&&_0x58b614[_0x41d5fb(0x2a0)]!==_0x41d5fb(0x43b))return!0x1;let _0x10b660=_0x58b614[_0x41d5fb(0x26c)];return _0x10b660==null?!0x0:typeof _0x10b660==_0x41d5fb(0x4c8)?_0x10b660['trim']()==='':Array['isArray'](_0x10b660)?_0x10b660[_0x41d5fb(0x4cd)]===0x0:!0x1;}function _0x20d5b3(_0xe8893c,_0x3d3290){const _0x526a0f=_0x36f63a;var _0x40693c;let _0x527965=Array[_0x526a0f(0x2c4)]((_0x40693c=_0xe8893c[_0x526a0f(0x4cc)])==null?void 0x0:_0x40693c[_0x526a0f(0x45b)])?_0xe8893c[_0x526a0f(0x4cc)][_0x526a0f(0x45b)]:[];for(let _0xf0b3c8 of _0x527965){if(_0xf0b3c8==null)continue;if(typeof _0xf0b3c8==_0x526a0f(0x4c8)){if(_0xf0b3c8===_0x3d3290)return{'id':_0xf0b3c8,'name':_0xf0b3c8};continue;}let _0x58366a=_0xf0b3c8,_0x3de32a=String(_0x58366a['id']??_0x58366a['name']??''),_0x1af021=String(_0x58366a[_0x526a0f(0x3f8)]??_0x58366a['id']??_0x3de32a);if(_0x3de32a===_0x3d3290||_0x1af021===_0x3d3290)return{'id':_0x3de32a,'name':_0x1af021,'color':_0x58366a[_0x526a0f(0x1cb)]==null?void 0x0:String(_0x58366a[_0x526a0f(0x1cb)])};}return null;}let _0x1fa5a0=function(_0x2e336b){const _0x13f9d6=_0x36f63a;return _0x2e336b[_0x13f9d6(0x3b7)]=_0x13f9d6(0x583),_0x2e336b[_0x13f9d6(0x215)]=_0x13f9d6(0x1e8),_0x2e336b;}({}),_0x22dd4d={'id':_0x36f63a(0x2c5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler'(_0x4f7ea3,_0x6996b5){const _0x4c87dd=_0x36f63a;let {unitId:_0x39f0f5,op:_0x1fccef}=_0x6996b5,_0x2c3458=_0x4f7ea3[_0x4c87dd(0x558)](_0x26cf17['IUniverInstanceService'])[_0x4c87dd(0x2e3)](_0x39f0f5,_0x26cf17[_0x4c87dd(0x1ef)][_0x4c87dd(0x440)]);if(!_0x2c3458)return!0x1;let _0x5a70b8=_0x2c3458[_0x4c87dd(0x509)](),_0x5b52e3=new _0x5070bf(),_0x534d31=_0x5b52e3[_0x4c87dd(0x2b7)](_0x1fccef),_0x511340=_0x5b52e3[_0x4c87dd(0x4ad)](_0x5a70b8,_0x1fccef);return _0x2c3458[_0x4c87dd(0x2b6)](_0x511340),_0x10c3f5(_0x511340,_0x534d31,_0x4f7ea3[_0x4c87dd(0x558)](_0x4076d2)),!0x0;}};function _0x10c3f5(_0x193625,_0x39300b,_0x30d9a0){const _0x2d1151=_0x36f63a;let _0x121484=new Set(),_0x15f998=new Set(),_0x12ec2e=new Set();for(let _0x41e162 of _0x39300b){if(_0x41e162[_0x2d1151(0x560)]===_0x2d1151(0x602)&&_0x41e162['tableId']&&_0x41e162[_0x2d1151(0x297)]){let _0x5163a1=_0x41e162['tableId']+'\x00'+_0x41e162[_0x2d1151(0x297)];_0x12ec2e['has'](_0x5163a1)||(_0x12ec2e[_0x2d1151(0x1ce)](_0x5163a1),_0x30d9a0[_0x2d1151(0x338)](_0x41e162[_0x2d1151(0x353)],_0x41e162[_0x2d1151(0x297)]));continue;}if(_0x41e162['reason']===_0x2d1151(0x5f1)&&_0x41e162[_0x2d1151(0x353)]&&_0x41e162['fieldId']){let _0x49ec19=_0x41e162[_0x2d1151(0x353)]+'\x00'+_0x41e162['fieldId'];_0x15f998[_0x2d1151(0x2fa)](_0x49ec19)||(_0x15f998[_0x2d1151(0x1ce)](_0x49ec19),_0x30d9a0[_0x2d1151(0x209)](_0x41e162[_0x2d1151(0x353)],_0x41e162[_0x2d1151(0x39c)]));continue;}if(_0x41e162['reason']!==_0x2d1151(0x49d)){_0x30d9a0[_0x2d1151(0x59e)]();return;}let _0x4cbf97=_0x146416(_0x193625,_0x41e162);if(!_0x4cbf97){_0x30d9a0[_0x2d1151(0x59e)]();return;}let _0x2bd38b=_0x4cbf97[_0x2d1151(0x353)]+'\x00'+_0x4cbf97[_0x2d1151(0x571)]+'\x00'+_0x4cbf97[_0x2d1151(0x39c)];_0x121484['has'](_0x2bd38b)||(_0x121484['add'](_0x2bd38b),_0x30d9a0[_0x2d1151(0x3b0)](_0x4cbf97[_0x2d1151(0x353)],_0x4cbf97['recordId'],_0x4cbf97[_0x2d1151(0x39c)]));}}function _0x146416(_0x478d28,_0x4dd514){const _0x36fc1a=_0x36f63a;var _0x35f137,_0x444634;if(!_0x4dd514[_0x36fc1a(0x353)])return null;if(_0x4dd514[_0x36fc1a(0x571)]&&_0x4dd514[_0x36fc1a(0x39c)])return{'tableId':_0x4dd514[_0x36fc1a(0x353)],'recordId':_0x4dd514['recordId'],'fieldId':_0x4dd514[_0x36fc1a(0x39c)]};if(_0x4dd514['row']==null||_0x4dd514[_0x36fc1a(0x582)]==null)return null;let _0x1c8ed2=_0x478d28[_0x36fc1a(0x594)][_0x4dd514['tableId']],_0x1d6ecf=_0x1c8ed2==null||(_0x35f137=_0x1c8ed2['rowId'])==null?void 0x0:_0x35f137[_0x4dd514[_0x36fc1a(0x5dd)]],_0x43f3dd=_0x1c8ed2==null||(_0x444634=_0x1c8ed2[_0x36fc1a(0x3e3)])==null?void 0x0:_0x444634[_0x4dd514[_0x36fc1a(0x582)]];return!_0x1d6ecf||!_0x43f3dd?null:{'tableId':_0x4dd514[_0x36fc1a(0x353)],'recordId':_0x1d6ecf,'fieldId':_0x43f3dd};}let _0x392dfd=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x25f8ea=_0x26cf17[_0x36f63a(0x384)]['createRegExpFromSafeFragment'](String[_0x36f63a(0x24c)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x8198d7=/\{([^}]+)\}/g,_0x54a8ed=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xb2ef05=_0x26cf17[_0x36f63a(0x384)][_0x36f63a(0x468)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1b5659=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x37ebb0=_0x26cf17[_0x36f63a(0x384)]['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4e2163=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x1257ff=_0x26cf17['regexp'][_0x36f63a(0x468)](String[_0x36f63a(0x24c)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x24626c=class{[_0x36f63a(0x55a)](_0x519450,_0xef9df2=_0x519450['id']){const _0x37ee49=_0x36f63a;var _0x11356d;let _0x24d7fc=((_0x11356d=_0x519450[_0x37ee49(0x2ba)])==null?void 0x0:_0x11356d[_0x37ee49(0x4cd)])??Object[_0x37ee49(0x20f)](_0x519450[_0x37ee49(0x4c9)])[_0x37ee49(0x4cd)];return{'sheetId':_0xef9df2,'titleMap':new Map(_0x519450['fieldOrder'][_0x37ee49(0x4a5)]((_0x310ad8,_0x410af1)=>{const _0x267c5a=_0x37ee49;var _0x57b9bd;return[((_0x57b9bd=_0x519450[_0x267c5a(0x458)][_0x310ad8])==null?void 0x0:_0x57b9bd[_0x267c5a(0x3f8)])??_0x310ad8,_0x410af1];})),'range':{'startRow':0x0,'endRow':Math[_0x37ee49(0x5a7)](0x0,_0x24d7fc-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x519450[_0x37ee49(0x1b2)]['length']-0x1)},'showHeader':!0x1};}[_0x36f63a(0x5ff)](_0x3a441d,_0x149005){const _0x5f5433=_0x36f63a;let _0x18ca50=[],_0x3086c6=_0x149005?new Set(_0x149005):null,_0x1dc7d1=(0x0,_0x26cf17['createBaseFormulaTableNameMap'])(_0x3a441d);return Object['values'](_0x3a441d[_0x5f5433(0x594)])[_0x5f5433(0x46a)](_0x63f01c=>!_0x3086c6||_0x3086c6[_0x5f5433(0x2fa)](_0x63f01c['id']))['forEach'](_0x30858e=>{const _0x3407f0=_0x5f5433;let _0x36450a=this[_0x3407f0(0x55a)](_0x30858e,_0x30858e['id']);_0x18ca50[_0x3407f0(0x605)]({'tableId':_0x30858e['id'],'tableName':_0x1dc7d1[_0x3407f0(0x558)](_0x30858e['id']),'reference':_0x36450a});}),_0x18ca50;}[_0x36f63a(0x225)](_0x383c07,_0x38bd8d,_0x3be5c2={}){const _0x4abc27=_0x36f63a;let _0x20a92d=_0x383c07[_0x4abc27(0x3ce)]();if(!_0x20a92d)return{'valid':!0x0};if(_0xb2193f(_0x20a92d))return{'valid':!0x1,'reason':_0x4abc27(0x3ec)};let _0x5a65f7=_0x3be5c2[_0x4abc27(0x248)]?(0x0,_0x26cf17['createBaseFormulaTableNameMap'])(_0x3be5c2[_0x4abc27(0x248)]):void 0x0;for(let _0x145ed2 of _0x22f214(_0x20a92d)){let _0x99fbc0=_0x45abda(_0x145ed2,_0x38bd8d,_0x3be5c2[_0x4abc27(0x248)],_0x5a65f7);if(!_0x99fbc0['table'])return{'valid':!0x1,'reason':_0x4abc27(0x4e6)+_0x145ed2[_0x4abc27(0x5db)]+_0x4abc27(0x37d)};if(!_0x99fbc0[_0x4abc27(0x5f1)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x145ed2['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}['getDependencies'](_0x5968ee,_0x1b065e,_0x2dc5b8={}){const _0xf61626=_0x36f63a;let _0x4a3b7e=new Set();for(let _0x5943fe of this[_0xf61626(0x213)](_0x5968ee,_0x1b065e,_0x2dc5b8))_0x5943fe[_0xf61626(0x353)]===_0x1b065e['id']&&_0x4a3b7e['add'](_0x5943fe[_0xf61626(0x39c)]);return Array[_0xf61626(0x356)](_0x4a3b7e);}['getStructuredDependencies'](_0x4d25b4,_0x3980f7,_0x50fd9f={}){const _0x3b571f=_0x36f63a;let _0x1d8a4c=new Map(),_0x38b439=_0x50fd9f[_0x3b571f(0x248)]?(0x0,_0x26cf17[_0x3b571f(0x528)])(_0x50fd9f[_0x3b571f(0x248)]):void 0x0;for(let _0x5e834f of _0x22f214(_0x4d25b4)){let _0x4aa51b=_0x45abda(_0x5e834f,_0x3980f7,_0x50fd9f[_0x3b571f(0x248)],_0x38b439);if(!_0x4aa51b[_0x3b571f(0x551)]||!_0x4aa51b[_0x3b571f(0x5f1)])continue;let _0x32f1b8=_0x4aa51b[_0x3b571f(0x551)]['id']+'\x1f'+_0x4aa51b['field']['id'];_0x1d8a4c[_0x3b571f(0x4a9)](_0x32f1b8,{'tableId':_0x4aa51b[_0x3b571f(0x551)]['id'],'fieldId':_0x4aa51b[_0x3b571f(0x5f1)]['id']});}return Array[_0x3b571f(0x356)](_0x1d8a4c['values']());}};function _0x5d816f(_0x40ce7b,_0x499278){const _0x345413=_0x36f63a;var _0x472675;let _0x3de70a=[],_0x4f300c=(_0x472675=_0x499278[_0x345413(0x4f2)])==null?void 0x0:_0x472675[_0x40ce7b['id']];return _0x4f300c&&Object[_0x345413(0x443)](_0x4f300c)[_0x345413(0x1bf)](([_0x3929a8,_0x5ae994])=>{const _0x13b2c5=_0x345413;let _0x5a72cf=_0x40ce7b['tables'][_0x3929a8];if(!_0x5a72cf||!_0x5ae994)return;let _0x2e7b07=_0x58de72(_0x5a72cf),_0x3bcac4=[];new _0x26cf17[(_0x13b2c5(0x32e))](_0x5ae994)[_0x13b2c5(0x3bf)]((_0x51193b,_0x3b57af,_0x4b1f9b)=>{const _0xcbe1cf=_0x13b2c5;let _0x13858a=_0x1ac7c2(_0x2e7b07,_0x51193b,_0x3b57af,_0x4b1f9b);_0x13858a&&_0x3bcac4[_0xcbe1cf(0x605)](_0x13858a);}),_0x3bcac4['length']&&_0x3de70a['push']({'unitId':_0x40ce7b['id'],'tableId':_0x3929a8,'patches':_0x3bcac4});}),_0x3de70a;}function _0x1ac7c2(_0x5e9bd0,_0x283e41,_0x5bc85f,_0x9ea1bb){const _0x39c4b2=_0x36f63a;var _0x3f5c17,_0x21817c,_0x5f3f39;let _0x587c5f=(_0x3f5c17=_0x5e9bd0[_0x39c4b2(0x51d)])==null?void 0x0:_0x3f5c17[_0x283e41],_0x47745c=(_0x21817c=_0x5e9bd0[_0x39c4b2(0x3e3)])==null?void 0x0:_0x21817c[_0x5bc85f];if(!_0x587c5f||!_0x5e9bd0['records'][_0x587c5f]||!_0x47745c)return null;let _0x148824=_0x5e9bd0[_0x39c4b2(0x458)][_0x47745c];if(!_0x148824||_0x148824[_0x39c4b2(0x5d6)]!==_0x39c4b2(0x5c4))return null;let _0x4830de=String(((_0x5f3f39=_0x148824[_0x39c4b2(0x4cc)])==null?void 0x0:_0x5f3f39[_0x39c4b2(0x5c4)])??'')[_0x39c4b2(0x3ce)](),_0x4df4a7=(_0x9ea1bb==null?void 0x0:_0x9ea1bb['v'])??null,_0x4bb61c={'v':_0x4df4a7,'t':_0x358794(_0x4df4a7),..._0x283e41===0x0&&_0x4830de?{'f':_0x4830de}:{},'si':_0x148824['id']};return _0x360076(_0x18de85(_0x5e9bd0,_0x587c5f,_0x47745c),_0x4bb61c)?null:{'row':_0x283e41,'col':_0x5bc85f,'value':_0x4bb61c};}function _0x360076(_0x5d8781,_0x5a53fb){return _0x5d8781!=null&&Object['is'](_0x5d8781['v']??null,_0x5a53fb['v']??null)&&_0x5d8781['t']===_0x5a53fb['t']&&_0x5d8781['f']===_0x5a53fb['f']&&_0x5d8781['si']===_0x5a53fb['si'];}function _0x358794(_0x4464fc){const _0x4c3a3b=_0x36f63a;return typeof _0x4464fc==_0x4c3a3b(0x5ac)?_0x26cf17[_0x4c3a3b(0x555)][_0x4c3a3b(0x53f)]:typeof _0x4464fc=='boolean'?_0x26cf17[_0x4c3a3b(0x555)][_0x4c3a3b(0x261)]:typeof _0x4464fc==_0x4c3a3b(0x4c8)?_0x26cf17['CellValueType'][_0x4c3a3b(0x56f)]:null;}function _0x22f214(_0x25074c){const _0x58b498=_0x36f63a;let _0xbb0af3=_0x10e9ae(_0x25074c,()=>''),_0x24bf5c=new Map(),_0x4fce0b=_0x57322d=>{const _0x44bb79=_0x45c5;_0x24bf5c[_0x44bb79(0x4a9)]((_0x57322d[_0x44bb79(0x5db)]??'')+'\x1f'+_0x57322d['fieldName'],_0x57322d);};for(let _0x194198 of _0xbb0af3[_0x58b498(0x4bc)](_0x8198d7))_0x4fce0b({'fieldName':_0x194198[0x1],'scope':_0x58b498(0x29d)});_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x54a8ed,(_0x504a14,_0x57aaf6,_0x35bdbc,_0x399298)=>(_0x4fce0b({'tableName':_0x57aaf6,'fieldName':_0x399298,'scope':_0x35bdbc['toLowerCase']()===_0x58b498(0x59b)?_0x58b498(0x59b):_0x58b498(0x29d)}),'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0xb2ef05,(_0xb9a742,_0x37b586,_0x77fa95)=>(_0x4fce0b({'tableName':_0x37b586,'fieldName':_0x77fa95,'scope':_0x58b498(0x29d)}),'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x37ebb0,(_0x53e075,_0x155d8b,_0x55baa2,_0x2cbfe5)=>(_0x4fce0b({'fieldName':_0x2cbfe5,'scope':_0x55baa2[_0x58b498(0x1fd)]()==='data'?_0x58b498(0x59b):'this-row'}),_0x155d8b+'\x20')),_0xbb0af3=_0xbb0af3[_0x58b498(0x2ed)](_0x4e2163,(_0x4736c6,_0x460069,_0x105582)=>(_0x4fce0b({'fieldName':_0x105582,'scope':'this-row'}),_0x460069+'\x20'));for(let _0x187587 of _0xbb0af3[_0x58b498(0x4bc)](_0x1b5659))_0x4fce0b({'tableName':_0x187587[0x1],'fieldName':_0x187587[0x2]});for(let _0x3e2af3 of _0xbb0af3[_0x58b498(0x4bc)](_0x1257ff))_0x4fce0b({'fieldName':_0x3e2af3[0x2],'scope':_0x58b498(0x29d)});return Array['from'](_0x24bf5c['values']());}function _0xb2193f(_0x1eb631){const _0x27edd6=_0x36f63a;let _0x591eec=_0x10e9ae(_0x1eb631,()=>'\x20')[_0x27edd6(0x2ed)](_0x8198d7,'\x20')['replace'](_0x54a8ed,'\x20')[_0x27edd6(0x2ed)](_0xb2ef05,'\x20')[_0x27edd6(0x2ed)](_0x37ebb0,_0x27edd6(0x3eb))[_0x27edd6(0x2ed)](_0x4e2163,_0x27edd6(0x3eb))[_0x27edd6(0x2ed)](_0x1b5659,'\x20')[_0x27edd6(0x2ed)](_0x1257ff,_0x27edd6(0x3eb));return _0x392dfd['test'](_0x591eec);}function _0x192bf5(_0x486610,_0xb43da7){return _0x26ffe2(_0x21d855(_0x486610,_0xb43da7),_0xb43da7);}function _0x10e9ae(_0x4c1bd2,_0x48ad38){return _0x23c30b(_0x192bf5(_0x4c1bd2,_0x48ad38),_0x48ad38);}function _0x23c30b(_0x2ef3ff,_0x4c5f6c){const _0x14e9c1=_0x36f63a;return _0x2ef3ff[_0x14e9c1(0x2ed)](/"(?:""|[^"])*"/g,_0x4c5f6c);}function _0x21d855(_0x5c47ca,_0x49138d){const _0x3aa0d9=_0x36f63a;return _0x25f8ea[_0x3aa0d9(0x477)]=0x0,_0x5c47ca[_0x3aa0d9(0x2ed)](_0x25f8ea,(_0x17b59f,_0x3a38b6)=>_0x4f97fc(_0x5c47ca,_0x3a38b6)?_0x17b59f:_0x49138d(_0x17b59f));}let _0x3c7965=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x26ffe2(_0x3af31c,_0x41d698){const _0x1fa8aa=_0x36f63a;let _0x59f8b8=[];for(_0x3c7965[_0x1fa8aa(0x477)]=0x0;;){let _0x74ce27=_0x3c7965['exec'](_0x3af31c);if(_0x74ce27==null)break;if(_0x4f97fc(_0x3af31c,_0x74ce27[_0x1fa8aa(0x21b)]))continue;let _0x5e3399=_0x3c7965['lastIndex']-0x1,_0x5b394d=0x0;for(let _0x14f0cc=_0x5e3399;_0x14f0cc<_0x3af31c[_0x1fa8aa(0x4cd)];_0x14f0cc++)if(_0x3af31c[_0x14f0cc]==='['&&_0x5b394d++,_0x3af31c[_0x14f0cc]===']'&&(_0x5b394d--,_0x5b394d===0x0)){_0x59f8b8[_0x1fa8aa(0x605)]({'start':_0x74ce27['index'],'end':_0x14f0cc+0x1}),_0x3c7965[_0x1fa8aa(0x477)]=_0x14f0cc+0x1;break;}}if(_0x59f8b8[_0x1fa8aa(0x4cd)]===0x0)return _0x3af31c;let _0x14bb7e='',_0x344941=0x0;for(let _0x3965fd of _0x59f8b8)_0x14bb7e+=_0x3af31c[_0x1fa8aa(0x24f)](_0x344941,_0x3965fd[_0x1fa8aa(0x22c)]),_0x14bb7e+=_0x41d698(_0x3af31c[_0x1fa8aa(0x24f)](_0x3965fd[_0x1fa8aa(0x22c)],_0x3965fd[_0x1fa8aa(0x402)])),_0x344941=_0x3965fd[_0x1fa8aa(0x402)];return _0x14bb7e+_0x3af31c[_0x1fa8aa(0x24f)](_0x344941);}function _0x4f97fc(_0x3e8eed,_0x56fe63){let _0x2f9e06=!0x1;for(let _0x3d9541=0x0;_0x3d9541<_0x56fe63;_0x3d9541++)_0x3e8eed[_0x3d9541]==='\x22'&&(_0x2f9e06&&_0x3e8eed[_0x3d9541+0x1]==='\x22'?_0x3d9541++:_0x2f9e06=!_0x2f9e06);return _0x2f9e06;}function _0x45abda(_0x264a85,_0x5e41d0,_0x18d633,_0x8f0ebc){const _0x58cfde=_0x36f63a;let _0x355406=_0x2071dc(_0x264a85[_0x58cfde(0x5db)],_0x5e41d0,_0x18d633,_0x8f0ebc);return{'table':_0x355406,'field':_0x355406?Object['values'](_0x355406[_0x58cfde(0x458)])[_0x58cfde(0x396)](_0x18f648=>_0x18f648[_0x58cfde(0x3f8)]===_0x264a85['fieldName']):void 0x0};}function _0x2071dc(_0x5e09a2,_0x45d0dd,_0x54f444,_0x188d9d){const _0x3a06ba=_0x36f63a;if(!_0x5e09a2)return _0x45d0dd;if(!_0x54f444){var _0x7e663a;let _0x10b5be=_0x5e09a2[_0x3a06ba(0x1fd)]();return _0x10b5be===_0x45d0dd['id']['toLowerCase']()||_0x10b5be===_0x45d0dd[_0x3a06ba(0x3f8)]['toLowerCase']()||_0x10b5be===((_0x7e663a=_0x45d0dd[_0x3a06ba(0x242)])==null?void 0x0:_0x7e663a[_0x3a06ba(0x1fd)]())?_0x45d0dd:void 0x0;}let _0x34150e=_0x5e09a2[_0x3a06ba(0x1fd)](),_0x2d250b=_0x188d9d??(0x0,_0x26cf17[_0x3a06ba(0x528)])(_0x54f444),_0x388d40=Object[_0x3a06ba(0x20f)](_0x54f444[_0x3a06ba(0x594)])[_0x3a06ba(0x46a)](_0x3eecab=>{const _0x126112=_0x3a06ba;var _0x24a805;return _0x3eecab['id']['toLowerCase']()===_0x34150e||_0x3eecab[_0x126112(0x3f8)][_0x126112(0x1fd)]()===_0x34150e||((_0x24a805=_0x2d250b['get'](_0x3eecab['id']))==null?void 0x0:_0x24a805[_0x126112(0x1fd)]())===_0x34150e||_0x28413f(_0x3eecab['id'])[_0x126112(0x1fd)]()===_0x34150e;});return _0x388d40[_0x3a06ba(0x4cd)]===0x1?_0x388d40[0x0]:void 0x0;}function _0x28413f(_0x54d58c){const _0x4c7486=_0x36f63a;return _0x4c7486(0x420)+Array[_0x4c7486(0x356)](_0x54d58c,_0x351f3f=>{const _0x429aae=_0x4c7486;var _0x2229c6;return/[A-Za-z0-9]/[_0x429aae(0x484)](_0x351f3f)?_0x351f3f:'_x'+(((_0x2229c6=_0x351f3f[_0x429aae(0x240)](0x0))==null?void 0x0:_0x2229c6[_0x429aae(0x489)](0x10))??'0')+'_';})[_0x4c7486(0x241)]('');}let _0x5a2e51=new _0x24626c();function _0x2fb7b5(_0x43ed55,_0x3c11c6,_0x44a56b){const _0x4c16e0=_0x36f63a;var _0xeaa055;if(_0x44a56b[_0x4c16e0(0x5d6)]!==_0x26cf17[_0x4c16e0(0x22d)][_0x4c16e0(0x274)])return!0x0;let _0x20a40b=String(((_0xeaa055=_0x44a56b['config'])==null?void 0x0:_0xeaa055[_0x4c16e0(0x5c4)])??''),_0x31e72d=_0x43ed55[_0x4c16e0(0x509)]();return _0x5a2e51[_0x4c16e0(0x225)](_0x20a40b,_0x31e72d[_0x4c16e0(0x594)][_0x3c11c6],{'snapshot':_0x31e72d})[_0x4c16e0(0x50f)];}function _0x4cb030(_0x1af446,_0x5e35d9,_0x245b79){const _0x15b530=_0x36f63a;let _0x35035f=_0x1af446[_0x15b530(0x509)]()[_0x15b530(0x594)][_0x5e35d9];if(!_0x35035f)return!0x1;let {viewIds:_0xa7fc5b,fieldIds:_0x1ca30f,recordIds:_0xd8e455}=_0x245b79||{};if(_0xa7fc5b){for(let _0x4b3773 of _0xa7fc5b)if(!_0x35035f['views'][_0x4b3773])return!0x1;}if(_0x1ca30f){for(let _0x231fa7 of _0x1ca30f)if(!_0x35035f[_0x15b530(0x458)][_0x231fa7])return!0x1;}if(_0xd8e455){for(let _0x4d0fae of _0xd8e455)if(!_0x35035f['records'][_0x4d0fae])return!0x1;}return!0x0;}function _0x1e8b5f(_0x468bd9,_0x36b302,_0x44645a){const _0x29c25e=_0x36f63a;if(_0x44645a['id']===_0x26cf17['BASE_RECORD_ID_FIELD_ID']||_0x44645a['type']===_0x26cf17['BaseFieldType'][_0x29c25e(0x4b5)]||(0x0,_0x26cf17[_0x29c25e(0x3c8)])(_0x44645a[_0x29c25e(0x3f8)])||!_0x2fb7b5(_0x468bd9,_0x36b302,_0x44645a))return!0x1;let _0x19ae53=_0x468bd9[_0x29c25e(0x509)]();if(!_0x5f1ecb(_0x19ae53,_0x44645a)['valid'])return!0x1;if(_0x44645a[_0x29c25e(0x5d6)]!==_0x26cf17[_0x29c25e(0x22d)][_0x29c25e(0x393)])return!0x0;let _0x5f1a34=_0x3caba0(_0x44645a);if(!_0x5f1a34)return!0x1;if(_0x5f1a34[_0x29c25e(0x3a1)]===void 0x0)return!0x0;if(_0x5f1a34[_0x29c25e(0x3a1)]!==_0x26cf17[_0x29c25e(0x487)][_0x29c25e(0x1cc)]||_0x5f1a34['targetTableId']!==_0x36b302||_0x5f1a34[_0x29c25e(0x4d4)]!==!0x1)return!0x1;let _0x4af735=_0x19ae53['tables'][_0x36b302];return!Object['values'](_0x4af735[_0x29c25e(0x458)])[_0x29c25e(0x2c3)](_0x2b9149=>{const _0x4d0351=_0x29c25e;var _0x1b9ce7;return _0x2b9149['id']!==_0x44645a['id']&&_0x2b9149[_0x4d0351(0x5d6)]===_0x26cf17['BaseFieldType'][_0x4d0351(0x393)]&&((_0x1b9ce7=_0x3caba0(_0x2b9149))==null?void 0x0:_0x1b9ce7[_0x4d0351(0x3a1)])===_0x26cf17[_0x4d0351(0x487)][_0x4d0351(0x1cc)];});}function _0x2ef661(_0x54fd2f,_0x3447b7,_0xea0e0b,_0x50d648){const _0x3dba63=_0x36f63a;var _0x333993;let _0x2789e7=_0x54fd2f[_0x3dba63(0x509)](),_0x5ea6e9=(_0x333993=_0x2789e7['tables'][_0x3447b7])==null?void 0x0:_0x333993[_0x3dba63(0x458)][_0xea0e0b];return!_0x5ea6e9||_0x5ea6e9['id']===_0x26cf17[_0x3dba63(0x478)]||_0x5ea6e9[_0x3dba63(0x5d6)]===_0x26cf17[_0x3dba63(0x22d)]['RecordId']?!0x1:_0x5ea6e9['type']!==_0x26cf17[_0x3dba63(0x22d)][_0x3dba63(0x393)]||_0x288789(_0x2789e7,_0x5ea6e9,_0x11df7f(_0x50d648))[_0x3dba63(0x50f)];}function _0x5761a0(_0x2d8222,_0x4a930a,_0x14aad7){const _0xf927f2=_0x36f63a;let _0x2452c4=_0x2d8222[_0xf927f2(0x509)]()[_0xf927f2(0x594)][_0x4a930a];return!_0x2452c4||!(0x0,_0x26cf17[_0xf927f2(0x361)])(_0x14aad7['id'])||_0x2452c4['records'][_0x14aad7['id']]||Object[_0xf927f2(0x1d5)][_0xf927f2(0x4ea)][_0xf927f2(0x5b6)](_0x14aad7[_0xf927f2(0x20f)],_0x26cf17[_0xf927f2(0x478)])&&_0x14aad7[_0xf927f2(0x20f)][_0x26cf17[_0xf927f2(0x478)]]!==_0x14aad7['id']?!0x1:Object[_0xf927f2(0x443)](_0x14aad7['values'])[_0xf927f2(0x308)](([_0x24bdc6,_0x33e19b])=>_0x24bdc6===_0x26cf17[_0xf927f2(0x478)]||_0x2ef661(_0x2d8222,_0x4a930a,_0x24bdc6,_0x33e19b));}function _0x55a214(_0x608175){const _0x4a3516=_0x36f63a;return{..._0x608175,'values':{..._0x608175['values'],[_0x26cf17[_0x4a3516(0x478)]]:_0x608175['id']}};}function _0x11df7f(_0x33f7bb){const _0x4d8f78=_0x36f63a;if(_0x33f7bb&&typeof _0x33f7bb==_0x4d8f78(0x3e4)&&!Array[_0x4d8f78(0x2c4)](_0x33f7bb)&&'v'in _0x33f7bb){let _0x1e11d2=_0x33f7bb['v'];return _0x1e11d2===void 0x0?null:_0x1e11d2;}return _0x33f7bb;}function _0x128a72(_0x461949,_0x5a0ffd,_0x4ff30d,_0x3c780a){const _0x4c60d8=_0x36f63a;let _0x36dded=_0x461949[_0x4c60d8(0x509)]()[_0x4c60d8(0x594)][_0x5a0ffd];if(!_0x36dded)return null;let _0x27c88e=_0x126b6c(_0x36dded),_0x1db31b=_0x27c88e??_0xcff95d(_0x36dded),_0x2156c3=_0x4ff30d['some'](_0x50e97f=>Object[_0x4c60d8(0x1d5)]['hasOwnProperty']['call'](_0x50e97f['values'],_0x1db31b)),_0x4f0825=_0x27c88e?_0x36dded[_0x4c60d8(0x458)][_0x27c88e]:_0x2156c3?_0x39e357(_0x36dded,_0x1db31b,_0x3c780a):null,_0x1271a0=[];for(let _0x31bde1 of _0x4ff30d){let _0x57c281=_0x31bde1['values'][_0x1db31b],_0x1d2897=_0x4f0825!==null&&Object['prototype'][_0x4c60d8(0x4ea)][_0x4c60d8(0x5b6)](_0x31bde1[_0x4c60d8(0x20f)],_0x1db31b),_0x18dfbf=_0x11df7f(_0x57c281),_0x16ff83=null;if(_0x1d2897){if(typeof _0x18dfbf!=_0x4c60d8(0x4c8)||!_0x31953c(_0x18dfbf,!0x1)[_0x4c60d8(0x50f)])return null;_0x16ff83=_0x18dfbf;}let _0x13fed0={};if(Object[_0x4c60d8(0x443)](_0x31bde1[_0x4c60d8(0x20f)])[_0x4c60d8(0x1bf)](([_0x5609a,_0xdc1076])=>{(!_0x1d2897||_0x5609a!==_0x1db31b)&&(_0x13fed0[_0x5609a]=_0xdc1076);}),!_0x5761a0(_0x461949,_0x5a0ffd,{..._0x31bde1,'values':_0x13fed0}))return null;let _0x37d40c={..._0x31bde1['values']};_0x16ff83!==null&&(_0x37d40c[_0x1db31b]=_0x16ff83),_0x1271a0[_0x4c60d8(0x605)](_0x55a214({..._0x31bde1,'values':_0x37d40c}));}return{'records':_0x1271a0,'hierarchyFieldToMaterialize':_0x27c88e?null:_0x4f0825,'hierarchyChanges':_0x298dba(_0x36dded,_0x1271a0)};}let _0x4a0304={'id':_0x36f63a(0x3dd),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x271fb0,_0x429390){const _0x5534fe=_0x36f63a;if(!_0x429390)return!0x1;let _0x3e895a=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x4a8)]),{unitId:_0x12e183,tableId:_0x8b9c5e,records:_0x9df45c}=_0x429390,_0x2ef6f2=_0x3e895a[_0x5534fe(0x2e3)](_0x12e183,_0x26cf17[_0x5534fe(0x1ef)][_0x5534fe(0x440)]),_0x2d2e73=_0x9df45c[_0x5534fe(0x4a5)](_0x447dea=>_0x447dea['id']);if(!_0x2ef6f2||!_0x4cb030(_0x2ef6f2,_0x8b9c5e)||new Set(_0x2d2e73)[_0x5534fe(0x52b)]!==_0x2d2e73[_0x5534fe(0x4cd)])return!0x1;let _0x19b1fa=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x2d3)]),_0x579633=_0x271fb0[_0x5534fe(0x558)](_0x26cf17[_0x5534fe(0x501)]),_0x4e431a=_0x271fb0[_0x5534fe(0x558)](_0x10f260),_0x4ff11a=_0x2ef6f2[_0x5534fe(0x509)](),_0x521581=_0x128a72(_0x2ef6f2,_0x8b9c5e,_0x9df45c);if(!_0x521581)return!0x1;let {records:_0x540456,hierarchyChanges:_0x1a6bc1,hierarchyFieldToMaterialize:_0x1ddaee}=_0x521581,_0x5df184=_0x1ddaee?_0x4e431a['createCreateFieldOp'](_0x2ef6f2,_0x8b9c5e,_0x1ddaee,_0x4ff11a[_0x5534fe(0x594)][_0x8b9c5e][_0x5534fe(0x1b2)][_0x5534fe(0x4cd)]):null,_0x5cb6aa=_0x4e431a['createBatchCreateRecordsOp'](_0x2ef6f2,_0x8b9c5e,_0x540456),_0x464ff5=_0x396f18([..._0x5df184?[_0x5df184]:[],_0x5cb6aa]),_0x29745d=new _0x5070bf()[_0x5534fe(0x3ad)](_0x4ff11a,_0x464ff5),_0x39b1c5={'unitId':_0x12e183,'op':_0x464ff5,'hierarchyChanges':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x1a6bc1:void 0x0,'source':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x429390[_0x5534fe(0x31b)]??'ui':void 0x0},_0x1586d1={..._0x39b1c5,'source':_0x1a6bc1['length']?_0x5534fe(0x265):void 0x0},_0x3ca7ea={'unitId':_0x12e183,'op':_0x29745d,'hierarchyChanges':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x1a6bc1[_0x5534fe(0x4a5)](_0x2291ff=>({..._0x2291ff,'oldParentRecordId':_0x2291ff['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x1a6bc1[_0x5534fe(0x4cd)]?_0x5534fe(0x19e):void 0x0};return _0x19b1fa['syncExecuteCommand'](_0x22dd4d['id'],_0x39b1c5)?(_0x3e895a[_0x5534fe(0x542)](_0x12e183),_0x579633['pushUndoRedo']({'unitID':_0x12e183,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x3ca7ea}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x1586d1}]}),!0x0):!0x1;}},_0x383797={'id':_0x36f63a(0x4eb),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x29f23b,_0x1cb18c)=>{const _0x11230e=_0x36f63a;if(!_0x1cb18c)return!0x1;let _0x5e39e2=_0x29f23b['get'](_0x26cf17[_0x11230e(0x4a8)]),{unitId:_0x21ad20,tableId:_0x4677ce,recordIds:_0x3a532b}=_0x1cb18c,_0x2b5d71=_0x5e39e2[_0x11230e(0x2e3)](_0x21ad20,_0x26cf17[_0x11230e(0x1ef)][_0x11230e(0x440)]);if(!_0x2b5d71||!_0x4cb030(_0x2b5d71,_0x4677ce,{'recordIds':_0x3a532b}))return!0x1;let _0x3ce664=_0x29f23b['get'](_0x26cf17['ICommandService']),_0x44b7dd=_0x29f23b[_0x11230e(0x558)](_0x26cf17[_0x11230e(0x501)]),_0x4ddea9=_0x2b5d71[_0x11230e(0x509)](),_0x490107=_0x4665b4(_0x4ddea9[_0x11230e(0x594)][_0x4677ce],_0x3a532b),_0x5682f6=new _0x3c2e91(),_0x54e698=new _0x5070bf(),_0x2c54c2=_0x5682f6[_0x11230e(0x383)](_0x4ddea9,_0x4677ce,_0x3a532b),_0xccccc6=_0x54e698[_0x11230e(0x4ad)](_0x4ddea9,_0x2c54c2),_0x58fb36=_0x5682f6['createDeleteRecordsUndoOp'](_0x4ddea9,_0xccccc6,_0x4677ce,_0x3a532b),_0x1d7a37={'unitId':_0x21ad20,'op':_0x2c54c2,'hierarchyChanges':_0x490107,'source':_0x1cb18c['source']??'ui'},_0x3ffc09={..._0x1d7a37,'source':'redo'},_0x4b77ed={'unitId':_0x21ad20,'op':_0x58fb36,'hierarchyChanges':_0x490107['map'](_0x4107ec=>({..._0x4107ec,'oldParentRecordId':_0x4107ec[_0x11230e(0x283)],'parentRecordId':_0x4107ec[_0x11230e(0x369)]})),'source':_0x11230e(0x19e)};return _0x3ce664[_0x11230e(0x234)](_0x22dd4d['id'],_0x1d7a37)?(_0x5e39e2['focusUnit'](_0x21ad20),_0x44b7dd[_0x11230e(0x581)]({'unitID':_0x21ad20,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4b77ed}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3ffc09}]}),!0x0):!0x1;}},_0x2a60c5={'id':_0x36f63a(0x1d8),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x3b5e89,_0x4d486a)=>{const _0x369fa7=_0x36f63a;if(!_0x4d486a)return!0x1;let _0x531e89=_0x3b5e89['get'](_0x26cf17[_0x369fa7(0x4a8)]),{unitId:_0x129dd3,tableId:_0x1e5de5,fieldId:_0x26b17e,input:_0x209e9a}=_0x4d486a,_0x284f7d=_0x531e89['getUnit'](_0x129dd3,_0x26cf17[_0x369fa7(0x1ef)][_0x369fa7(0x440)]);if(!_0x284f7d||_0x26b17e===_0x26cf17[_0x369fa7(0x478)]||!_0x4cb030(_0x284f7d,_0x1e5de5,{'fieldIds':[_0x26b17e]}))return!0x1;let _0x2773b6=_0x3b5e89[_0x369fa7(0x558)](_0x26cf17[_0x369fa7(0x2d3)]),_0x78b263=_0x3b5e89[_0x369fa7(0x558)](_0x26cf17['IUndoRedoService']),_0x1911f5=_0x284f7d[_0x369fa7(0x509)]();if(!_0x1e8b5f(_0x284f7d,_0x1e5de5,{..._0x1911f5['tables'][_0x1e5de5][_0x369fa7(0x458)][_0x26b17e],..._0x209e9a}))return!0x1;let _0x42d6ed=new _0x3c2e91()['changeFieldType'](_0x1911f5,_0x1e5de5,_0x26b17e,_0x209e9a),_0x467a54=new _0x5070bf()['invertOp'](_0x1911f5,_0x42d6ed),_0x194c42={'unitId':_0x129dd3,'op':_0x42d6ed},_0x451182={'unitId':_0x129dd3,'op':_0x467a54};return _0x2773b6['syncExecuteCommand'](_0x22dd4d['id'],_0x194c42)?(_0x531e89[_0x369fa7(0x542)](_0x129dd3),_0x78b263['pushUndoRedo']({'unitID':_0x129dd3,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x451182}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x194c42}]}),!0x0):!0x1;}},_0x30f8e9={'id':_0x36f63a(0x52d),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x3be6b3,_0x4040fe){const _0x4d99ad=_0x36f63a;var _0x3b2584;if(!_0x4040fe)return!0x1;let {unitId:_0x2fe4a1,tableId:_0x246100,parentRecordId:_0x21d920}=_0x4040fe,_0x335809=_0x3be6b3[_0x4d99ad(0x558)](_0x26cf17[_0x4d99ad(0x4a8)]),_0x1cd2d9=_0x335809[_0x4d99ad(0x2e3)](_0x2fe4a1,_0x26cf17[_0x4d99ad(0x1ef)][_0x4d99ad(0x440)]);if(!_0x1cd2d9||!_0x4cb030(_0x1cd2d9,_0x246100,{'recordIds':[_0x21d920]}))throw new _0x3763ee(_0x4d99ad(0x333));let _0x41244a=_0x1cd2d9[_0x4d99ad(0x509)](),_0x43509d=_0x41244a[_0x4d99ad(0x594)][_0x246100],_0x6a9bee=_0x126b6c(_0x43509d),_0x470dfe=_0x6a9bee??_0x4040fe[_0x4d99ad(0x39c)]??_0xcff95d(_0x43509d);if(_0x6a9bee&&_0x4040fe[_0x4d99ad(0x39c)]&&_0x4040fe['fieldId']!==_0x6a9bee||_0x43509d[_0x4d99ad(0x458)][_0x470dfe]&&!_0x2e8fb1(_0x43509d,_0x470dfe))throw new _0x3763ee(_0x4d99ad(0x39b));if((_0x17cc3f(_0x43509d,_0x470dfe)[_0x4d99ad(0x351)][_0x4d99ad(0x558)](_0x21d920)??0x0)+0x1>=0x5)throw new _0x3763ee(_0x4d99ad(0x2af));if(!_0x5761a0(_0x1cd2d9,_0x246100,_0x4040fe[_0x4d99ad(0x1b5)]))return!0x1;let _0x199afd=_0x55a214({..._0x4040fe[_0x4d99ad(0x1b5)],'values':{..._0x4040fe[_0x4d99ad(0x1b5)][_0x4d99ad(0x20f)],[_0x470dfe]:_0x1bd71a([_0x21d920])}}),_0x2c39d1=_0x3be6b3[_0x4d99ad(0x558)](_0x10f260),_0x23c31c=new _0x3c2e91(),_0x27f510=_0x43509d['fields'][_0x470dfe],_0x1c6c8c=_0x27f510?((_0x3b2584=_0x3caba0(_0x27f510))==null?void 0x0:_0x3b2584[_0x4d99ad(0x3a1)])===_0x26cf17['BaseRecordLinkRole'][_0x4d99ad(0x1cc)]?null:_0x23c31c['updateField'](_0x41244a,_0x246100,_0x470dfe,{'config':{..._0x27f510[_0x4d99ad(0x4cc)],'relationRole':_0x26cf17['BaseRecordLinkRole'][_0x4d99ad(0x1cc)]}}):_0x2c39d1['createCreateFieldOp'](_0x1cd2d9,_0x246100,_0x39e357(_0x43509d,_0x470dfe,_0x4040fe['parentFieldName']),_0x43509d[_0x4d99ad(0x1b2)]['length']),_0x57886b=_0x2c39d1[_0x4d99ad(0x55f)](_0x1cd2d9,_0x246100,_0x199afd),_0x5e5518=_0x396f18([..._0x1c6c8c?[_0x1c6c8c]:[],_0x57886b]),_0x5a2013=new _0x5070bf()['invertOp'](_0x41244a,_0x5e5518),_0x6fe30f={'tableId':_0x246100,'fieldId':_0x470dfe,'recordId':_0x199afd['id'],'oldParentRecordId':null,'parentRecordId':_0x21d920},_0x1d9abc={'unitId':_0x2fe4a1,'op':_0x5e5518,'trigger':_0x30f8e9['id'],'hierarchyChanges':[_0x6fe30f],'source':_0x4040fe['source']??'ui'},_0x59ffda={..._0x1d9abc,'source':'redo'},_0x1dc919={'unitId':_0x2fe4a1,'op':_0x5a2013,'trigger':_0x30f8e9['id'],'hierarchyChanges':[{..._0x6fe30f,'oldParentRecordId':_0x21d920,'parentRecordId':null}],'source':'undo'};return _0x3be6b3['get'](_0x26cf17[_0x4d99ad(0x2d3)])['syncExecuteCommand'](_0x22dd4d['id'],_0x1d9abc)?(_0x335809[_0x4d99ad(0x542)](_0x2fe4a1),_0x3be6b3[_0x4d99ad(0x558)](_0x26cf17[_0x4d99ad(0x501)])[_0x4d99ad(0x581)]({'unitID':_0x2fe4a1,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1dc919}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x59ffda}]}),!0x0):!0x1;}},_0x592bbf={'id':_0x36f63a(0x201),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0xa62977,_0xfd88d3){const _0x550330=_0x36f63a;if(!_0xfd88d3)return!0x1;let _0x5c7fca=_0xa62977[_0x550330(0x558)](_0x26cf17[_0x550330(0x4a8)]),{unitId:_0x5e9e3a,tableId:_0x489159,field:_0x5d1d07,index:_0x490519,viewIndexes:_0x33aaa1}=_0xfd88d3,_0x3380ed=_0x5c7fca[_0x550330(0x2e3)](_0x5e9e3a,_0x26cf17[_0x550330(0x1ef)][_0x550330(0x440)]);if(!_0x3380ed||!_0x4cb030(_0x3380ed,_0x489159)||_0x3380ed['getSnapshot']()[_0x550330(0x594)][_0x489159][_0x550330(0x458)][_0x5d1d07['id']]||_0x490519===0x0||!_0x1e8b5f(_0x3380ed,_0x489159,_0x5d1d07))return!0x1;let _0x3df3f6=_0xa62977[_0x550330(0x558)](_0x26cf17[_0x550330(0x2d3)]),_0x3c5a3=_0xa62977[_0x550330(0x558)](_0x26cf17['IUndoRedoService']),_0x1aa16e=_0xa62977[_0x550330(0x558)](_0x10f260)[_0x550330(0x48a)](_0x3380ed,_0x489159,_0x5d1d07,_0x490519,_0x33aaa1),_0x1b040f=new _0x5070bf()[_0x550330(0x3ad)](_0x3380ed['getSnapshot'](),_0x1aa16e),_0x441c9a={'unitId':_0x5e9e3a,'op':_0x1aa16e},_0x4e1699={'unitId':_0x5e9e3a,'op':_0x1b040f};return _0x3df3f6[_0x550330(0x234)](_0x22dd4d['id'],_0x441c9a)?(_0x5c7fca[_0x550330(0x542)](_0x5e9e3a),_0x3c5a3['pushUndoRedo']({'unitID':_0x5e9e3a,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4e1699}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x441c9a}]}),!0x0):!0x1;}},_0x83e844={'id':_0x36f63a(0x2b3),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x4ac7bf,_0x46b511){const _0x890a4b=_0x36f63a;if(!_0x46b511)return!0x1;let _0x274211=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x4a8)]),{unitId:_0x294b49,tableId:_0x5a361e,record:_0x53fb7}=_0x46b511,_0x298ba3=_0x274211[_0x890a4b(0x2e3)](_0x294b49,_0x26cf17['UniverInstanceType'][_0x890a4b(0x440)]);if(!_0x298ba3||!_0x4cb030(_0x298ba3,_0x5a361e))return!0x1;let _0x4aacfe=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x2d3)]),_0x2ebd95=_0x4ac7bf[_0x890a4b(0x558)](_0x26cf17[_0x890a4b(0x501)]),_0x475ff6=_0x4ac7bf[_0x890a4b(0x558)](_0x10f260),_0x156934=_0x298ba3[_0x890a4b(0x509)](),_0x1f9665=_0x128a72(_0x298ba3,_0x5a361e,[_0x53fb7]);if(!_0x1f9665)return!0x1;let [_0x3f42c8]=_0x1f9665[_0x890a4b(0x4c9)],{hierarchyChanges:_0x5a860e,hierarchyFieldToMaterialize:_0x4f03d1}=_0x1f9665,_0x394f94=_0x4f03d1?_0x475ff6['createCreateFieldOp'](_0x298ba3,_0x5a361e,_0x4f03d1,_0x156934[_0x890a4b(0x594)][_0x5a361e][_0x890a4b(0x1b2)]['length']):null,_0xf62280=_0x475ff6[_0x890a4b(0x55f)](_0x298ba3,_0x5a361e,_0x3f42c8),_0x1beded=_0x396f18([..._0x394f94?[_0x394f94]:[],_0xf62280]),_0x12dffc=new _0x5070bf()['invertOp'](_0x156934,_0x1beded),_0x2bb79a={'unitId':_0x294b49,'op':_0x1beded,'hierarchyChanges':_0x5a860e[_0x890a4b(0x4cd)]?_0x5a860e:void 0x0,'source':_0x5a860e[_0x890a4b(0x4cd)]?_0x46b511[_0x890a4b(0x31b)]??'ui':void 0x0},_0x4adf9f={..._0x2bb79a,'source':_0x5a860e['length']?_0x890a4b(0x265):void 0x0},_0x3edb2c={'unitId':_0x294b49,'op':_0x12dffc,'hierarchyChanges':_0x5a860e['length']?_0x5a860e[_0x890a4b(0x4a5)](_0x284fdd=>({..._0x284fdd,'oldParentRecordId':_0x284fdd['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5a860e[_0x890a4b(0x4cd)]?'undo':void 0x0};return _0x4aacfe[_0x890a4b(0x234)](_0x22dd4d['id'],_0x2bb79a)?(_0x274211[_0x890a4b(0x542)](_0x294b49),_0x2ebd95[_0x890a4b(0x581)]({'unitID':_0x294b49,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x3edb2c}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4adf9f}]}),!0x0):!0x1;}};function _0x41dc3d(_0x1b1ad2,_0x4588d8,_0x1965ef){const _0x5b0144=_0x36f63a;if(!_0x4588d8[_0x5b0144(0x3ce)]())return{'valid':!0x1,'reason':_0x5b0144(0x476),'error':_0x5b0144(0x4b3)};if(_0x4588d8[_0x5b0144(0x4cd)]>0x1f)return{'valid':!0x1,'reason':_0x5b0144(0x2cf),'error':'too-long'};if(_0x4588d8[_0x5b0144(0x57d)]('\x27')||_0x4588d8[_0x5b0144(0x50c)]('\x27'))return{'valid':!0x1,'reason':_0x5b0144(0x39d),'error':_0x5b0144(0x1b4)};if(/[:\\/?*\[\]]/[_0x5b0144(0x484)](_0x4588d8))return{'valid':!0x1,'reason':_0x5b0144(0x19d),'error':'invalid-characters'};if(!(0x0,_0x26cf17[_0x5b0144(0x3e1)])(_0x4588d8))return{'valid':!0x1,'reason':_0x5b0144(0x546),'error':_0x5b0144(0x312)};let _0x160d01=_0x4588d8[_0x5b0144(0x1fd)]();return Object[_0x5b0144(0x20f)](_0x1b1ad2[_0x5b0144(0x594)])[_0x5b0144(0x2c3)](_0x5c638d=>_0x5c638d['id']!==_0x1965ef&&_0x5c638d['name'][_0x5b0144(0x1fd)]()===_0x160d01)?{'valid':!0x1,'reason':_0x5b0144(0x1f8),'error':_0x5b0144(0x599)}:{'valid':!0x0};}function _0x3fb9db(_0x5ef267,_0x4903ea){const _0x3be634=_0x36f63a;let _0x1c9aa9=_0x4903ea[_0x3be634(0x2ed)](/[:\\/?*\[\]]/g,'\x20')[_0x3be634(0x2ed)](/^'+|'+$/g,'')['trim']()||'Table',_0xf2e48d=0x1;for(;;){let _0x1f410c=_0xf2e48d===0x1?'':'\x20'+_0xf2e48d,_0x5f3400=''+_0x1c9aa9[_0x3be634(0x24f)](0x0,0x1f-_0x1f410c[_0x3be634(0x4cd)])+_0x1f410c;if(_0x41dc3d(_0x5ef267,_0x5f3400)['valid'])return _0x5f3400;_0xf2e48d++;}}let _0x129c3e={'id':_0x36f63a(0x281),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3aa392,_0x16332e)=>{const _0x1212da=_0x36f63a;if(!_0x16332e)return!0x1;let _0x3c7676=_0x3aa392[_0x1212da(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x5a4b89,table:_0x3426cd,index:_0xac644b}=_0x16332e,_0x4b84fd=_0x3c7676['getUnit'](_0x5a4b89,_0x26cf17[_0x1212da(0x1ef)][_0x1212da(0x440)]);if(!_0x4b84fd||_0x4b84fd[_0x1212da(0x509)]()['tables'][_0x3426cd['id']]||!_0x41dc3d(_0x4b84fd[_0x1212da(0x509)](),_0x3426cd['name'])[_0x1212da(0x50f)])return!0x1;try{(0x0,_0x26cf17[_0x1212da(0x1a3)])(_0x3426cd);}catch{return!0x1;}let _0x2ab06b=_0x3aa392[_0x1212da(0x558)](_0x26cf17['ICommandService']),_0x448635=_0x3aa392[_0x1212da(0x558)](_0x26cf17[_0x1212da(0x501)]),_0x2c3f31=_0x4b84fd[_0x1212da(0x509)](),_0x2ddb6a=new _0x3c2e91()[_0x1212da(0x4af)](_0x2c3f31,_0x3426cd,_0xac644b),_0x41db2d=new _0x5070bf()[_0x1212da(0x3ad)](_0x2c3f31,_0x2ddb6a),_0x286682={'unitId':_0x5a4b89,'op':_0x2ddb6a},_0x59eb50={'unitId':_0x5a4b89,'op':_0x41db2d};return _0x2ab06b[_0x1212da(0x234)](_0x22dd4d['id'],_0x286682)?(_0x3c7676[_0x1212da(0x542)](_0x5a4b89),_0x448635[_0x1212da(0x581)]({'unitID':_0x5a4b89,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x59eb50}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x286682}]}),!0x0):!0x1;}};function _0x415bdf(_0x3bc54f,_0x1c5079,_0x3d1848=[]){const _0xc11ee=_0x36f63a;let _0x12c66c=new Set([...Object[_0xc11ee(0x20f)](_0x3bc54f[_0xc11ee(0x458)])[_0xc11ee(0x46a)](_0xe652c=>_0xe652c)[_0xc11ee(0x4a5)](_0x442e47=>_0x442e47['name']),..._0x3d1848[_0xc11ee(0x4a5)](_0xc4575e=>_0xc4575e[_0xc11ee(0x3f8)])]);if(!_0x12c66c[_0xc11ee(0x2fa)](_0x1c5079))return _0x1c5079;let _0x2dc635=0x2;for(;_0x12c66c[_0xc11ee(0x2fa)](_0x1c5079+'\x20'+_0x2dc635);)_0x2dc635++;return _0x1c5079+'\x20'+_0x2dc635;}function _0x385cf5(_0x274f48,_0x3ce68e){const _0x5e0df0=_0x36f63a;if(!_0x274f48||!_0x3ce68e[_0x5e0df0(0x4cd)])return;let _0x1ac07c=[..._0x274f48];return _0x3ce68e['forEach'](_0x2df49c=>{const _0x13c0a4=_0x5e0df0;_0x1ac07c[_0x13c0a4(0x358)](_0x2df49c)||_0x1ac07c[_0x13c0a4(0x605)](_0x2df49c);}),_0x1ac07c;}let _0xe17331={'options':[{'id':'todo','name':_0x36f63a(0x29e),'color':_0x36f63a(0x603)},{'id':_0x36f63a(0x20d),'name':_0x36f63a(0x1b6),'color':_0x36f63a(0x4fe)},{'id':'done','name':_0x36f63a(0x60a),'color':_0x36f63a(0x4fd)}]},_0x4fe696={'locale':_0x36f63a(0x24e),'pattern':_0x36f63a(0x37a),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x36f63a(0x272)};function _0xec0948(_0x248165,_0x3b7bfb,_0x1add41,_0x4ee435){const _0x27b3fc=_0x36f63a;var _0xca60e5;let _0x3c7293=new _0x3c2e91(),_0x13f7cd=_0x248165[_0x27b3fc(0x594)][_0x3b7bfb],_0x176466=_0x13f7cd?{..._0x1add41,'fieldOrder':[_0x26cf17[_0x27b3fc(0x478)],...(_0x1add41[_0x27b3fc(0x1b2)]??_0x13f7cd[_0x27b3fc(0x1b2)])['filter'](_0x3a7dbe=>_0x3a7dbe!==_0x26cf17[_0x27b3fc(0x478)])],'fieldSettings':{..._0x1add41[_0x27b3fc(0x47f)],[_0x26cf17[_0x27b3fc(0x478)]]:{...(_0xca60e5=_0x1add41[_0x27b3fc(0x47f)])==null?void 0x0:_0xca60e5[_0x26cf17[_0x27b3fc(0x478)]],'hidden':!0x0}}}:_0x1add41;if(_0x13f7cd&&_0x176466['type']==='kanban'){let _0x3c4cff=_0x2be556(_0x13f7cd,_0x176466),_0x44ff45=_0x3c4cff[_0x27b3fc(0x379)]?{..._0x176466,'config':_0x3c4cff[_0x27b3fc(0x4cc)],'fieldOrder':_0x3c4cff[_0x27b3fc(0x1b2)]??_0x176466[_0x27b3fc(0x1b2)]}:_0x176466;return _0x396f18([..._0x3c4cff['fields']['map'](_0x894cae=>_0x3c7293['createField'](_0x248165,_0x3b7bfb,{'field':_0x894cae})),_0x3c7293['createView'](_0x248165,_0x3b7bfb,_0x44ff45,_0x4ee435)]);}if(!_0x13f7cd||_0x176466[_0x27b3fc(0x5d6)]!==_0x27b3fc(0x302)&&_0x176466[_0x27b3fc(0x5d6)]!==_0x27b3fc(0x277))return _0x3c7293[_0x27b3fc(0x27d)](_0x248165,_0x3b7bfb,_0x176466,_0x4ee435);let _0xba74b=_0x3ef9a8(_0x13f7cd,_0x176466),_0x1326bb=_0xba74b[_0x27b3fc(0x379)]?{..._0x176466,'config':_0xba74b[_0x27b3fc(0x4cc)],'fieldOrder':_0xba74b[_0x27b3fc(0x1b2)]??_0x176466[_0x27b3fc(0x1b2)]}:_0x176466;return _0x176466[_0x27b3fc(0x5d6)]===_0x27b3fc(0x277)&&_0x1dc6e7(_0x176466)&&(_0x1326bb=_0x3ee0e0(_0x13f7cd,_0x1326bb,_0xba74b[_0x27b3fc(0x458)])),_0x396f18([..._0xba74b[_0x27b3fc(0x458)][_0x27b3fc(0x4a5)](_0x5e0e70=>_0x3c7293[_0x27b3fc(0x5b3)](_0x248165,_0x3b7bfb,{'field':_0x5e0e70})),_0x3c7293[_0x27b3fc(0x27d)](_0x248165,_0x3b7bfb,_0x1326bb,_0x4ee435)]);}function _0x3ef9a8(_0x8f2fd0,_0x3684ba,_0x294a81=!0x1){const _0x39a62e=_0x36f63a;var _0x560129,_0x32f89c;let _0x406e62=_0x8f2fd0[_0x39a62e(0x1b2)][_0x39a62e(0x46a)](_0x93e302=>_0x123673(_0x8f2fd0,_0x93e302)),_0x2c5f89=[],_0x2105ba={..._0x3684ba['config']??{}},_0x5513c4=typeof _0x2105ba['startDateFieldId']==_0x39a62e(0x4c8)&&_0x123673(_0x8f2fd0,_0x2105ba[_0x39a62e(0x395)])?_0x2105ba[_0x39a62e(0x395)]:_0x406e62[0x0],_0x21acf5=typeof _0x2105ba['endDateFieldId']==_0x39a62e(0x4c8)&&_0x123673(_0x8f2fd0,_0x2105ba[_0x39a62e(0x552)])&&_0x2105ba[_0x39a62e(0x552)]!==_0x5513c4?_0x2105ba[_0x39a62e(0x552)]:_0x406e62[_0x39a62e(0x396)](_0x1ae8cc=>_0x1ae8cc!==_0x5513c4);if(!_0x5513c4){let _0x5d6189=_0x39059f(_0x8f2fd0,_0x2c5f89,_0x3684ba['type']==='gantt'?_0x39a62e(0x237):_0x39a62e(0x1be));_0x2c5f89[_0x39a62e(0x605)](_0x5d6189),_0x5513c4=_0x5d6189['id'];}if((_0x3684ba[_0x39a62e(0x5d6)]===_0x39a62e(0x277)||_0x294a81)&&!_0x21acf5){let _0x51a127=_0x39059f(_0x8f2fd0,_0x2c5f89,_0x39a62e(0x61d));_0x2c5f89[_0x39a62e(0x605)](_0x51a127),_0x21acf5=_0x51a127['id'];}_0x3684ba['type']===_0x39a62e(0x302)&&!_0x21acf5&&delete _0x2105ba[_0x39a62e(0x552)],_0x2105ba[_0x39a62e(0x395)]=_0x5513c4,_0x3684ba['type']===_0x39a62e(0x302)&&_0x21acf5&&(_0x2105ba[_0x39a62e(0x552)]=_0x21acf5),_0x3684ba[_0x39a62e(0x5d6)]===_0x39a62e(0x277)&&(_0x2105ba[_0x39a62e(0x552)]=_0x21acf5??_0x5513c4);let _0x4b7019=_0x385cf5(_0x3684ba[_0x39a62e(0x1b2)],_0x2c5f89['map'](_0x12e47e=>_0x12e47e['id']));return{'changed':_0x2c5f89[_0x39a62e(0x4cd)]>0x0||_0x2105ba[_0x39a62e(0x395)]!==((_0x560129=_0x3684ba[_0x39a62e(0x4cc)])==null?void 0x0:_0x560129['startDateFieldId'])||_0x2105ba[_0x39a62e(0x552)]!==((_0x32f89c=_0x3684ba['config'])==null?void 0x0:_0x32f89c[_0x39a62e(0x552)])||!(!_0x4b7019||_0x26cf17[_0x39a62e(0x3e7)][_0x39a62e(0x2e9)](_0x4b7019,_0x3684ba[_0x39a62e(0x1b2)]??[])),'fields':_0x2c5f89,'config':_0x2105ba,'fieldOrder':_0x4b7019};}function _0x2be556(_0x4e4c51,_0xac80d7){const _0x43f608=_0x36f63a;var _0x45eea4;let _0x12c6e6=[],_0x241397={..._0xac80d7[_0x43f608(0x4cc)]??{}},_0x14d7cb=typeof _0x241397[_0x43f608(0x26d)]==_0x43f608(0x4c8)&&_0x691f65(_0x4e4c51,_0x241397[_0x43f608(0x26d)])?_0x241397[_0x43f608(0x26d)]:_0x4e4c51[_0x43f608(0x1b2)][_0x43f608(0x396)](_0x425d8c=>_0x691f65(_0x4e4c51,_0x425d8c));if(!_0x14d7cb){let _0x24b290=_0x57fff5(_0x4e4c51,_0x12c6e6);_0x12c6e6['push'](_0x24b290),_0x14d7cb=_0x24b290['id'];}_0x241397[_0x43f608(0x26d)]=_0x14d7cb;let _0x4accae=_0x385cf5(_0xac80d7[_0x43f608(0x1b2)],_0x12c6e6[_0x43f608(0x4a5)](_0x5cc907=>_0x5cc907['id']));return{'changed':_0x12c6e6[_0x43f608(0x4cd)]>0x0||_0x241397[_0x43f608(0x26d)]!==((_0x45eea4=_0xac80d7[_0x43f608(0x4cc)])==null?void 0x0:_0x45eea4[_0x43f608(0x26d)])||!(!_0x4accae||_0x26cf17['Tools'][_0x43f608(0x2e9)](_0x4accae,_0xac80d7[_0x43f608(0x1b2)]??[])),'fields':_0x12c6e6,'config':_0x241397,'fieldOrder':_0x4accae};}function _0x691f65(_0x4b276a,_0x1bd777){const _0x247bcf=_0x36f63a;let _0x445349=_0x1bd777?_0x4b276a['fields'][_0x1bd777]:null;return _0x445349?[_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x537)],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x36d)],_0x26cf17[_0x247bcf(0x22d)]['Rating'],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x386)],_0x26cf17[_0x247bcf(0x22d)]['Group'],_0x26cf17[_0x247bcf(0x22d)][_0x247bcf(0x428)]][_0x247bcf(0x358)](_0x445349[_0x247bcf(0x5d6)]):!0x1;}function _0x57fff5(_0xf6a5ee,_0x1e5ff4){const _0x1c5b2b=_0x36f63a;return{'id':_0x1c5b2b(0x2d8)+(0x0,_0x26cf17[_0x1c5b2b(0x5af)])(0x8),'name':_0x415bdf(_0xf6a5ee,_0x1c5b2b(0x3d5),_0x1e5ff4),'type':_0x26cf17['BaseFieldType']['SingleSelect'],'config':_0x26cf17['Tools'][_0x1c5b2b(0x269)](_0xe17331)};}function _0x1dc6e7(_0x10f073){const _0x11e815=_0x36f63a;return Object[_0x11e815(0x40d)](_0x10f073[_0x11e815(0x4cc)]??{})[_0x11e815(0x4cd)]===0x0&&Object[_0x11e815(0x40d)](_0x10f073[_0x11e815(0x47f)]??{})[_0x11e815(0x4cd)]===0x0;}function _0x3ee0e0(_0x444935,_0x1179c9,_0xeefd43){const _0x33271a=_0x36f63a;let _0x1f6263={..._0x1179c9['config']??{}},_0x1c4e5a=_0xeefd43[_0x33271a(0x4a5)](_0x2569a8=>_0x2569a8['id']),_0x5712bc=[..._0x444935[_0x33271a(0x1b2)],..._0x1c4e5a],_0x5386d8=typeof _0x1f6263[_0x33271a(0x3c2)]==_0x33271a(0x4c8)&&_0xf9bdd8(_0x444935,_0xeefd43,_0x1f6263[_0x33271a(0x3c2)])?_0x1f6263[_0x33271a(0x3c2)]:_0x444935['primaryFieldId'],_0x3635df=typeof _0x1f6263[_0x33271a(0x395)]=='string'?_0x1f6263[_0x33271a(0x395)]:'',_0x286434=typeof _0x1f6263[_0x33271a(0x552)]==_0x33271a(0x4c8)?_0x1f6263[_0x33271a(0x552)]:_0x3635df,_0x4b3468=new Set([_0x5386d8,_0x3635df,_0x286434]['filter'](_0x3694da=>_0x3694da&&_0xf9bdd8(_0x444935,_0xeefd43,_0x3694da))),_0x42107a=Object[_0x33271a(0x60c)](_0x5712bc[_0x33271a(0x35a)](_0x4cde32=>_0x4b3468[_0x33271a(0x2fa)](_0x4cde32)||!_0xf9bdd8(_0x444935,_0xeefd43,_0x4cde32)?[]:[[_0x4cde32,{'hidden':!0x0}]]));return{..._0x1179c9,'config':{..._0x1f6263,'titleFieldId':_0x5386d8},'fieldSettings':_0x42107a};}function _0xf9bdd8(_0x4826e2,_0x39d096,_0x4acdca){const _0x5ba324=_0x36f63a;return!!(_0x4826e2[_0x5ba324(0x458)][_0x4acdca]??_0x39d096[_0x5ba324(0x396)](_0x1ea6a7=>_0x1ea6a7['id']===_0x4acdca))&&!0x0;}function _0x123673(_0x148207,_0x23afef){const _0xea8a56=_0x36f63a;let _0x34b4fa=_0x23afef?_0x148207[_0xea8a56(0x458)][_0x23afef]:null;return!!_0x34b4fa&&_0x34b4fa[_0xea8a56(0x5d6)]===_0x26cf17[_0xea8a56(0x22d)][_0xea8a56(0x1be)]&&_0x34b4fa[_0xea8a56(0x4e5)]!==!0x0&&_0x34b4fa['system']!==!0x0;}function _0x39059f(_0x42af5a,_0x55fb74,_0x544cd1){const _0xa4dd5d=_0x36f63a;let _0x139460=new Set([...Object[_0xa4dd5d(0x40d)](_0x42af5a[_0xa4dd5d(0x458)]),..._0x55fb74[_0xa4dd5d(0x4a5)](_0x3e4c19=>_0x3e4c19['id'])]),_0x327317=_0xa4dd5d(0x2d8)+(0x0,_0x26cf17['generateRandomId'])(0x8);for(;_0x139460[_0xa4dd5d(0x2fa)](_0x327317);)_0x327317=_0xa4dd5d(0x2d8)+(0x0,_0x26cf17[_0xa4dd5d(0x5af)])(0x8);return{'id':_0x327317,'name':_0x415bdf(_0x42af5a,_0x544cd1,_0x55fb74),'type':_0x26cf17[_0xa4dd5d(0x22d)]['Date'],'config':{..._0x4fe696}};}let _0x573f6f={'id':_0x36f63a(0x46b),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xc7c486,_0x29292c)=>{const _0x2f74e8=_0x36f63a;if(!_0x29292c)return!0x1;let _0x4a3704=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x4a8)]),{unitId:_0x8cca13,tableId:_0x2d0759,view:_0x87d33d,index:_0x298ebc}=_0x29292c,_0xc70b94=_0x4a3704[_0x2f74e8(0x2e3)](_0x8cca13,_0x26cf17[_0x2f74e8(0x1ef)]['UNIVER_BASE']);if(!_0xc70b94||!_0x4cb030(_0xc70b94,_0x2d0759)||_0xc70b94[_0x2f74e8(0x509)]()['tables'][_0x2d0759][_0x2f74e8(0x3d8)][_0x87d33d['id']])return!0x1;let _0x370317=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x2d3)]),_0x1ed1a7=_0xc7c486[_0x2f74e8(0x558)](_0x26cf17[_0x2f74e8(0x501)]),_0x28c8ce=_0xc70b94[_0x2f74e8(0x509)](),_0x39ae04=_0xec0948(_0x28c8ce,_0x2d0759,_0x87d33d,_0x298ebc),_0x5731ff=new _0x5070bf()[_0x2f74e8(0x3ad)](_0x28c8ce,_0x39ae04),_0x229c91={'historyAction':_0x2f74e8(0x583),'unitId':_0x8cca13,'op':_0x39ae04,'viewType':_0x87d33d[_0x2f74e8(0x5d6)]},_0x194ed3={'historyAction':_0x2f74e8(0x1e8),'unitId':_0x8cca13,'op':_0x5731ff,'viewType':_0x87d33d['type']};return _0x370317[_0x2f74e8(0x234)](_0x22dd4d['id'],_0x229c91)?(_0x4a3704[_0x2f74e8(0x542)](_0x8cca13),_0x1ed1a7['pushUndoRedo']({'unitID':_0x8cca13,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x194ed3}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x229c91}]}),!0x0):!0x1;}},_0x4de029={'id':_0x36f63a(0x53e),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler'(_0x5de124,_0x29a254){const _0x4ba319=_0x36f63a;if(!_0x29a254)return!0x1;let _0x349011=_0x5de124['get'](_0x26cf17[_0x4ba319(0x4a8)]),{unitId:_0x462f54,tableId:_0x247896,fieldId:_0x4ee9ae}=_0x29a254,_0x48dec4=_0x349011['getUnit'](_0x462f54,_0x26cf17['UniverInstanceType'][_0x4ba319(0x440)]);if(!_0x48dec4)return!0x1;let _0x15b345=_0x48dec4[_0x4ba319(0x509)](),_0x5ba80c=_0x15b345[_0x4ba319(0x594)][_0x247896];if(!_0x4cb030(_0x48dec4,_0x247896,{'fieldIds':[_0x4ee9ae]})||_0x5ba80c['primaryFieldId']===_0x4ee9ae||_0x4ee9ae===_0x26cf17[_0x4ba319(0x478)])return!0x1;let _0x1d6b98=_0x5de124[_0x4ba319(0x558)](_0x26cf17['ICommandService']),_0x45ba3f=_0x5de124[_0x4ba319(0x558)](_0x26cf17[_0x4ba319(0x501)]),_0x1bc8f1=new _0x3c2e91()[_0x4ba319(0x4e9)](_0x15b345,_0x247896,_0x4ee9ae),_0x393b3f=new _0x5070bf()[_0x4ba319(0x3ad)](_0x15b345,_0x1bc8f1),_0x48625a={'unitId':_0x462f54,'op':_0x1bc8f1},_0x27ccc0={'unitId':_0x462f54,'op':_0x393b3f};return _0x1d6b98[_0x4ba319(0x234)](_0x22dd4d['id'],_0x48625a)?(_0x349011[_0x4ba319(0x542)](_0x462f54),_0x45ba3f['pushUndoRedo']({'unitID':_0x462f54,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x27ccc0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x48625a}]}),!0x0):!0x1;}},_0x447b1b={'id':_0x36f63a(0x228),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x33608e,_0x8ddb0f)=>{const _0x484791=_0x36f63a;if(!_0x8ddb0f)return!0x1;let _0xec0460=_0x33608e['get'](_0x26cf17['IUniverInstanceService']),{unitId:_0x637bf5,tableId:_0xc18dc,recordId:_0x133ac6}=_0x8ddb0f,_0x678b4c=_0xec0460[_0x484791(0x2e3)](_0x637bf5,_0x26cf17[_0x484791(0x1ef)]['UNIVER_BASE']);if(!_0x678b4c||!_0x4cb030(_0x678b4c,_0xc18dc,{'recordIds':[_0x133ac6]}))return!0x1;let _0x1713ad=_0x33608e['get'](_0x26cf17[_0x484791(0x2d3)]),_0x470cbc=_0x33608e['get'](_0x26cf17[_0x484791(0x501)]),_0x4a8dad=_0x678b4c[_0x484791(0x509)](),_0x4edcc0=_0x4665b4(_0x4a8dad[_0x484791(0x594)][_0xc18dc],[_0x133ac6]),_0x301e0e=new _0x3c2e91(),_0x57db82=new _0x5070bf(),_0x598157=_0x301e0e[_0x484791(0x255)](_0x4a8dad,_0xc18dc,_0x133ac6),_0x13a05d=_0x57db82[_0x484791(0x4ad)](_0x4a8dad,_0x598157),_0x1ff510=_0x301e0e[_0x484791(0x2dc)](_0x4a8dad,_0x13a05d,_0xc18dc,[_0x133ac6]),_0x2a3def={'unitId':_0x637bf5,'op':_0x598157,'hierarchyChanges':_0x4edcc0,'source':_0x8ddb0f['source']??'ui'},_0xd98e20={..._0x2a3def,'source':_0x484791(0x265)},_0x278453={'unitId':_0x637bf5,'op':_0x1ff510,'hierarchyChanges':_0x4edcc0['map'](_0x26afdc=>({..._0x26afdc,'oldParentRecordId':_0x26afdc[_0x484791(0x283)],'parentRecordId':_0x26afdc[_0x484791(0x369)]})),'source':_0x484791(0x19e)};return _0x1713ad[_0x484791(0x234)](_0x22dd4d['id'],_0x2a3def)?(_0xec0460[_0x484791(0x542)](_0x637bf5),_0x470cbc[_0x484791(0x581)]({'unitID':_0x637bf5,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x278453}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xd98e20}]}),!0x0):!0x1;}},_0x7cfb9={'id':_0x36f63a(0x536),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x1c5b00,_0x5708f5)=>{const _0x1a009d=_0x36f63a;if(!_0x5708f5)return!0x1;let _0x561977=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x4a8)]),{unitId:_0x12a165,tableId:_0x32da7c}=_0x5708f5,_0x35b0ef=_0x561977[_0x1a009d(0x2e3)](_0x12a165,_0x26cf17[_0x1a009d(0x1ef)][_0x1a009d(0x440)]);if(!_0x35b0ef||!_0x4cb030(_0x35b0ef,_0x32da7c))return!0x1;let _0x4ea3fb=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x2d3)]),_0x3dc141=_0x1c5b00[_0x1a009d(0x558)](_0x26cf17[_0x1a009d(0x501)]),_0x1d7c0d=_0x35b0ef[_0x1a009d(0x509)](),_0x2a7ecf=_0x283ed9(_0x1d7c0d,_0x32da7c);if(_0x2a7ecf[_0x1a009d(0x4cd)]>0x0)return console[_0x1a009d(0x2ce)](_0x1a009d(0x56a)+_0x32da7c+_0x1a009d(0x3fe)+_0x2a7ecf[_0x1a009d(0x4a5)](_0x2ecc69=>_0x2ecc69[_0x1a009d(0x353)]+'.'+_0x2ecc69['fieldId'])['join'](',\x20')+'.'),!0x1;let _0x1193c8=new _0x3c2e91()['deleteTable'](_0x1d7c0d,_0x32da7c),_0x289b9f=new _0x5070bf()[_0x1a009d(0x3ad)](_0x1d7c0d,_0x1193c8),_0x370234={'unitId':_0x12a165,'op':_0x1193c8},_0x4cd326={'unitId':_0x12a165,'op':_0x289b9f};return _0x4ea3fb['syncExecuteCommand'](_0x22dd4d['id'],_0x370234)?(_0x561977[_0x1a009d(0x542)](_0x12a165),_0x3dc141['pushUndoRedo']({'unitID':_0x12a165,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4cd326}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x370234}]}),!0x0):!0x1;}},_0x447566={'id':_0x36f63a(0x3f4),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x31ef08,_0x4c01ab)=>{const _0x5a1599=_0x36f63a;if(!_0x4c01ab)return!0x1;let _0x956346=_0x31ef08[_0x5a1599(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x4b136c,tableId:_0xc4e3ff,viewId:_0x2a44c8}=_0x4c01ab,_0x5b7435=_0x956346['getUnit'](_0x4b136c,_0x26cf17[_0x5a1599(0x1ef)]['UNIVER_BASE']);if(!_0x5b7435||!_0x4cb030(_0x5b7435,_0xc4e3ff,{'viewIds':[_0x2a44c8]}))return!0x1;let _0x3e6704=_0x31ef08[_0x5a1599(0x558)](_0x26cf17[_0x5a1599(0x2d3)]),_0x173807=_0x31ef08[_0x5a1599(0x558)](_0x26cf17[_0x5a1599(0x501)]),_0x3bbe34=_0x5b7435[_0x5a1599(0x509)](),_0x1e060f=_0x3bbe34[_0x5a1599(0x594)][_0xc4e3ff][_0x5a1599(0x3d8)][_0x2a44c8][_0x5a1599(0x5d6)],_0x2628d4=new _0x3c2e91()[_0x5a1599(0x574)](_0x3bbe34,_0xc4e3ff,_0x2a44c8),_0xa961e2=new _0x5070bf()['invertOp'](_0x3bbe34,_0x2628d4),_0x17e183={'historyAction':_0x5a1599(0x1e8),'unitId':_0x4b136c,'op':_0x2628d4,'viewType':_0x1e060f},_0x4bfd41={'historyAction':_0x5a1599(0x583),'unitId':_0x4b136c,'op':_0xa961e2,'viewType':_0x1e060f};return _0x3e6704[_0x5a1599(0x234)](_0x22dd4d['id'],_0x17e183)?(_0x956346[_0x5a1599(0x542)](_0x4b136c),_0x173807['pushUndoRedo']({'unitID':_0x4b136c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4bfd41}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x17e183}]}),!0x0):!0x1;}},_0x4a7d2b={'id':_0x36f63a(0x3ba),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x1d508d,_0x36667a)=>{const _0x9a26ac=_0x36f63a;if(!_0x36667a)return!0x1;let _0x487a22=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x4a8)]),{unitId:_0x520988,tableId:_0x2fe6df,sourceFieldId:_0x3566e1,field:_0x343052,index:_0x5dcd77,viewIndexes:_0x490869}=_0x36667a,_0x498de3=_0x487a22[_0x9a26ac(0x2e3)](_0x520988,_0x26cf17[_0x9a26ac(0x1ef)][_0x9a26ac(0x440)]);if(!_0x498de3||!_0x4cb030(_0x498de3,_0x2fe6df,{'fieldIds':[_0x3566e1]})||_0x3566e1===_0x26cf17[_0x9a26ac(0x478)]||_0x498de3['getSnapshot']()['tables'][_0x2fe6df]['fields'][_0x343052['id']]||_0x5dcd77===0x0||!_0x1e8b5f(_0x498de3,_0x2fe6df,_0x343052))return!0x1;let _0x1d3df4=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x2d3)]),_0x2882cf=_0x1d508d[_0x9a26ac(0x558)](_0x26cf17[_0x9a26ac(0x501)]),_0x2f8d69=_0x498de3[_0x9a26ac(0x509)](),_0x145f08=new _0x3c2e91()[_0x9a26ac(0x1ee)](_0x2f8d69,_0x2fe6df,_0x3566e1,{'field':_0x343052,'index':_0x5dcd77,'viewIndexes':_0x490869}),_0x7c90f4=new _0x5070bf()[_0x9a26ac(0x3ad)](_0x2f8d69,_0x145f08),_0x49367b={'unitId':_0x520988,'op':_0x145f08},_0xd47a3b={'unitId':_0x520988,'op':_0x7c90f4};return _0x1d3df4[_0x9a26ac(0x234)](_0x22dd4d['id'],_0x49367b)?(_0x487a22[_0x9a26ac(0x542)](_0x520988),_0x2882cf[_0x9a26ac(0x581)]({'unitID':_0x520988,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0xd47a3b}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x49367b}]}),!0x0):!0x1;}},_0x434ddb={'id':_0x36f63a(0x21c),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x2c5ac3,_0xfc56ea)=>{const _0x3ac5ce=_0x36f63a;if(!_0xfc56ea)return!0x1;let _0x5181fb=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17[_0x3ac5ce(0x4a8)]),{unitId:_0xb71798,tableId:_0xd1c2fa,sourceRecordId:_0x5d2182,record:_0x597e38}=_0xfc56ea,_0x224b62=_0x5181fb[_0x3ac5ce(0x2e3)](_0xb71798,_0x26cf17[_0x3ac5ce(0x1ef)][_0x3ac5ce(0x440)]);if(!_0x224b62||!_0x4cb030(_0x224b62,_0xd1c2fa,{'recordIds':[_0x5d2182]})||!_0x5761a0(_0x224b62,_0xd1c2fa,_0x597e38))return!0x1;let _0x2f8824=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17[_0x3ac5ce(0x2d3)]),_0x21ae05=_0x2c5ac3[_0x3ac5ce(0x558)](_0x26cf17['IUndoRedoService']),_0x5a8efc=_0x224b62[_0x3ac5ce(0x509)](),_0x34f840=_0x55a214(_0x597e38),_0x37c0c3=_0x298dba(_0x5a8efc[_0x3ac5ce(0x594)][_0xd1c2fa],[_0x34f840]),_0x5df6ad=new _0x3c2e91()['duplicateRecord'](_0x5a8efc,_0xd1c2fa,_0x5d2182,_0x34f840),_0xe06d48=new _0x5070bf()['invertOp'](_0x5a8efc,_0x5df6ad),_0x2ebe37={'unitId':_0xb71798,'op':_0x5df6ad,'hierarchyChanges':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x37c0c3:void 0x0,'source':_0x37c0c3['length']?_0xfc56ea[_0x3ac5ce(0x31b)]??'ui':void 0x0},_0x2831e4={..._0x2ebe37,'source':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x3ac5ce(0x265):void 0x0},_0x205a7c={'unitId':_0xb71798,'op':_0xe06d48,'hierarchyChanges':_0x37c0c3[_0x3ac5ce(0x4cd)]?_0x37c0c3[_0x3ac5ce(0x4a5)](_0x148486=>({..._0x148486,'oldParentRecordId':_0x148486[_0x3ac5ce(0x283)],'parentRecordId':null})):void 0x0,'source':_0x37c0c3['length']?_0x3ac5ce(0x19e):void 0x0};return _0x2f8824[_0x3ac5ce(0x234)](_0x22dd4d['id'],_0x2ebe37)?(_0x5181fb[_0x3ac5ce(0x542)](_0xb71798),_0x21ae05[_0x3ac5ce(0x581)]({'unitID':_0xb71798,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x205a7c}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x2831e4}]}),!0x0):!0x1;}},_0x310dd6={'id':_0x36f63a(0x1e5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x2ea552,_0xd43349){const _0x348de2=_0x36f63a;if(!_0xd43349)return!0x1;let _0x4c1c3c=_0x2ea552[_0x348de2(0x558)](_0x26cf17[_0x348de2(0x4a8)]),{unitId:_0x4b3d30,tableId:_0x5de061,viewId:_0x2deb02,ensureEndDateField:_0x51dd9c}=_0xd43349,_0x53dd45=_0x4c1c3c[_0x348de2(0x2e3)](_0x4b3d30,_0x26cf17[_0x348de2(0x1ef)][_0x348de2(0x440)]);if(!_0x53dd45||!_0x4cb030(_0x53dd45,_0x5de061,{'viewIds':[_0x2deb02]}))return!0x1;let _0x22b3ee=_0x53dd45['getSnapshot'](),_0x1c9583=_0x22b3ee[_0x348de2(0x594)][_0x5de061],_0x1a6944=_0x1c9583==null?void 0x0:_0x1c9583['views'][_0x2deb02];if(!_0x1c9583||!_0x1a6944||_0x1a6944['type']!==_0x348de2(0x302)&&_0x1a6944[_0x348de2(0x5d6)]!=='gantt')return!0x1;let _0x4fa5b2=_0x3ef9a8(_0x1c9583,_0x1a6944,_0x51dd9c===!0x0);if(!_0x4fa5b2[_0x348de2(0x379)])return!0x1;let _0x360cfa=_0x2ea552['get'](_0x26cf17[_0x348de2(0x2d3)]),_0x56b482=_0x2ea552[_0x348de2(0x558)](_0x26cf17[_0x348de2(0x501)]),_0x25c0ef=new _0x3c2e91(),_0x44f882=[..._0x4fa5b2['fields'][_0x348de2(0x4a5)](_0x1e49e5=>_0x25c0ef['createField'](_0x22b3ee,_0xd43349[_0x348de2(0x353)],{'field':_0x1e49e5})),_0x2defc2([..._0x1a83b9(_0xd43349[_0x348de2(0x353)],_0xd43349[_0x348de2(0x297)]),_0x348de2(0x4cc)],_0x1a6944[_0x348de2(0x4cc)],_0x4fa5b2['config'])];_0x4fa5b2['fieldOrder']&&_0x44f882['push'](_0x2defc2([..._0x1a83b9(_0xd43349[_0x348de2(0x353)],_0xd43349['viewId']),_0x348de2(0x1b2)],_0x1a6944['fieldOrder'],_0x4fa5b2[_0x348de2(0x1b2)]));let _0x1e8d41=_0x396f18(_0x44f882),_0x23d639=new _0x5070bf()[_0x348de2(0x3ad)](_0x22b3ee,_0x1e8d41),_0x4dceda={'unitId':_0x4b3d30,'op':_0x1e8d41},_0x2f7203={'unitId':_0x4b3d30,'op':_0x23d639};return _0x360cfa[_0x348de2(0x234)](_0x22dd4d['id'],_0x4dceda)?(_0x4c1c3c[_0x348de2(0x542)](_0x4b3d30),_0x56b482[_0x348de2(0x581)]({'unitID':_0x4b3d30,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x2f7203}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4dceda}]}),!0x0):!0x1;}};function _0x2defc2(_0x20f64f,_0x26dfad,_0xc73f2c){const _0x4bb49b=_0x36f63a;return _0x26dfad===void 0x0?_0x26cf17[_0x4bb49b(0x2a4)][_0x4bb49b(0x4b1)](_0x20f64f,_0xc73f2c):_0x26cf17[_0x4bb49b(0x2a4)]['replaceOp'](_0x20f64f,_0x26dfad,_0xc73f2c);}function _0x1a83b9(_0x4a4369,_0x57676c){const _0x150928=_0x36f63a;return[_0x150928(0x594),_0x4a4369,'views',_0x57676c];}let _0x1d821e={'id':_0x36f63a(0x55e),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x23589f,_0x332e61)=>{const _0x5abc27=_0x36f63a;if(!_0x332e61)return!0x1;let _0x76f514=_0x23589f[_0x5abc27(0x558)](_0x26cf17[_0x5abc27(0x4a8)]),{unitId:_0x33977c,tableId:_0x43c143,fieldId:_0x206d03,target:_0x591d68}=_0x332e61,_0x278ef5=_0x76f514[_0x5abc27(0x2e3)](_0x33977c,_0x26cf17[_0x5abc27(0x1ef)][_0x5abc27(0x440)]),_0x222992=_0x591d68[_0x5abc27(0x3bd)]??_0x591d68[_0x5abc27(0x566)];if(!_0x278ef5||!!_0x591d68[_0x5abc27(0x3bd)]==!!_0x591d68['afterFieldId']||!_0x222992||_0x222992===_0x206d03||_0x206d03===_0x26cf17[_0x5abc27(0x478)]||_0x591d68[_0x5abc27(0x3bd)]===_0x26cf17[_0x5abc27(0x478)]||!_0x4cb030(_0x278ef5,_0x43c143,{'fieldIds':[_0x206d03,_0x222992]}))return!0x1;let _0x3f4612=_0x23589f[_0x5abc27(0x558)](_0x26cf17['ICommandService']),_0x5bb150=_0x23589f['get'](_0x26cf17['IUndoRedoService']),_0xb8ac30=_0x278ef5[_0x5abc27(0x509)](),_0x2f5483=new _0x3c2e91()['moveField'](_0xb8ac30,_0x43c143,_0x206d03,_0x591d68),_0x43fa31=new _0x5070bf()[_0x5abc27(0x3ad)](_0xb8ac30,_0x2f5483),_0x306bd2={'unitId':_0x33977c,'op':_0x2f5483},_0x415cd6={'unitId':_0x33977c,'op':_0x43fa31};return _0x3f4612[_0x5abc27(0x234)](_0x22dd4d['id'],_0x306bd2)?(_0x76f514[_0x5abc27(0x542)](_0x33977c),_0x5bb150['pushUndoRedo']({'unitID':_0x33977c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x415cd6}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x306bd2}]}),!0x0):!0x1;}},_0x29aa48={'id':_0x36f63a(0x3e9),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x43a77b,_0x387e73)=>{const _0x599e6d=_0x36f63a;var _0x461208;if(!_0x387e73)return!0x1;let {unitId:_0x473d63,tableId:_0x2fc06a,recordId:_0x4730c4,parentRecordId:_0x5ffcab,orderKey:_0x1aad03}=_0x387e73,_0x10260d=_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x4a8)]),_0xce4cea=_0x10260d[_0x599e6d(0x2e3)](_0x473d63,_0x26cf17['UniverInstanceType'][_0x599e6d(0x440)]);if(!_0xce4cea||!_0x4cb030(_0xce4cea,_0x2fc06a,{'recordIds':[_0x4730c4,..._0x5ffcab?[_0x5ffcab]:[]]}))throw new _0x3763ee(_0x599e6d(0x333));let _0x2efb13=_0xce4cea['getSnapshot'](),_0x3ba956=_0x2efb13[_0x599e6d(0x594)][_0x2fc06a],_0x11b483=_0x126b6c(_0x3ba956),_0x359c79=_0x11b483??_0x387e73[_0x599e6d(0x39c)]??_0xcff95d(_0x3ba956);if(_0x11b483&&_0x387e73['fieldId']&&_0x387e73[_0x599e6d(0x39c)]!==_0x11b483||_0x3ba956[_0x599e6d(0x458)][_0x359c79]&&!_0x2e8fb1(_0x3ba956,_0x359c79))throw new _0x3763ee(_0x599e6d(0x39b));let _0x1e029=_0x17cc3f(_0x3ba956,_0x359c79),_0x44b7c3=_0xc17f5a(_0x1e029,_0x4730c4,_0x5ffcab);if(!_0x44b7c3[_0x599e6d(0x50f)])throw new _0x3763ee(_0x44b7c3['reason']===_0x26cf17[_0x599e6d(0x23e)]['SelfParent']?'selfParent':_0x44b7c3['reason']===_0x26cf17[_0x599e6d(0x23e)][_0x599e6d(0x425)]?_0x599e6d(0x38c):_0x599e6d(0x2af));let _0x56304a=_0x1e029[_0x599e6d(0x35e)][_0x599e6d(0x558)](_0x4730c4)??null,_0x2a5cb3=_0x3ba956[_0x599e6d(0x4c9)][_0x4730c4][_0x599e6d(0x58c)];if(_0x56304a===_0x5ffcab&&(_0x1aad03===void 0x0||_0x1aad03===_0x2a5cb3))return!0x0;let _0x428d31=_0x56304a!==_0x5ffcab,_0x11e339=_0x1aad03!==void 0x0&&_0x1aad03!==_0x2a5cb3,_0xe1d6cf=new _0x3c2e91(),_0x211843=[],_0x5f48b3=_0x3ba956[_0x599e6d(0x458)][_0x359c79],_0x38ec54=_0x428d31&&(!_0x5f48b3||((_0x461208=_0x3caba0(_0x5f48b3))==null?void 0x0:_0x461208['relationRole'])!==_0x26cf17[_0x599e6d(0x487)][_0x599e6d(0x1cc)])?_0x5f48b3?_0xe1d6cf[_0x599e6d(0x4f8)](_0x2efb13,_0x2fc06a,_0x359c79,{'config':{..._0x5f48b3['config'],'relationRole':_0x26cf17[_0x599e6d(0x487)]['Parent']}}):_0x43a77b[_0x599e6d(0x558)](_0x10f260)['createCreateFieldOp'](_0xce4cea,_0x2fc06a,_0x39e357(_0x3ba956,_0x359c79,_0x387e73[_0x599e6d(0x365)]),_0x3ba956[_0x599e6d(0x1b2)]['length']):null;_0x38ec54&&_0x211843[_0x599e6d(0x605)](_0x38ec54),_0x428d31&&_0x211843[_0x599e6d(0x605)](_0xe1d6cf['updateCell'](_0x2efb13,_0x2fc06a,_0x4730c4,_0x359c79,_0x5ffcab?_0x1bd71a([_0x5ffcab]):'')),_0x11e339&&_0x211843[_0x599e6d(0x605)](_0xe1d6cf[_0x599e6d(0x5bb)](_0x2efb13,_0x2fc06a,_0x4730c4,_0x1aad03));let _0x3af90b=_0x396f18(_0x211843),_0x45ffbf={'tableId':_0x2fc06a,'fieldId':_0x359c79,'recordId':_0x4730c4,'oldParentRecordId':_0x56304a,'parentRecordId':_0x5ffcab},_0x2002dd={'unitId':_0x473d63,'op':_0x3af90b,'trigger':_0x29aa48['id'],'hierarchyChanges':[_0x45ffbf],'source':_0x387e73[_0x599e6d(0x31b)]??'ui'},_0xc0e407={..._0x2002dd,'source':'redo'};if(!_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x2d3)])[_0x599e6d(0x234)](_0x22dd4d['id'],_0x2002dd))return!0x1;let _0x41bb7b=_0xce4cea['getSnapshot'](),_0x29299d=[];_0x428d31&&_0x29299d[_0x599e6d(0x605)](_0x7c1167(_0x41bb7b,_0x2efb13,_0x2fc06a,_0x4730c4,_0x359c79)),_0x11e339&&_0x29299d[_0x599e6d(0x605)](_0x249c64(_0x41bb7b,_0x2efb13,_0x2fc06a,_0x4730c4)),_0x38ec54&&_0x29299d[_0x599e6d(0x605)](new _0x5070bf()['invertOp'](_0x2efb13,_0x38ec54));let _0x1fe204={'unitId':_0x473d63,'op':_0x396f18(_0x29299d),'trigger':_0x29aa48['id'],'hierarchyChanges':[{..._0x45ffbf,'oldParentRecordId':_0x5ffcab,'parentRecordId':_0x56304a}],'source':_0x599e6d(0x19e)};return _0x10260d[_0x599e6d(0x542)](_0x473d63),_0x43a77b[_0x599e6d(0x558)](_0x26cf17[_0x599e6d(0x501)])[_0x599e6d(0x581)]({'unitID':_0x473d63,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1fe204}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xc0e407}]}),!0x0;}};function _0x7c1167(_0x19699f,_0x28b06d,_0x2e6e40,_0x482606,_0x50ca5f){const _0x496ad0=_0x36f63a;var _0x4bce05,_0x35b7a9,_0x198d33,_0x3de8fc,_0x44b312,_0x425712,_0x5afafd,_0x5e5037;let _0x264267=_0x19699f['tables'][_0x2e6e40],_0x467284=_0x28b06d[_0x496ad0(0x594)][_0x2e6e40],_0x57b89a=(_0x4bce05=_0x264267['rowIndex'])==null?void 0x0:_0x4bce05[_0x482606],_0x1c0594=(_0x35b7a9=_0x264267[_0x496ad0(0x41d)])==null?void 0x0:_0x35b7a9[_0x50ca5f],_0x457f01=(_0x198d33=_0x467284[_0x496ad0(0x5cd)])==null?void 0x0:_0x198d33[_0x482606],_0x2ec634=(_0x3de8fc=_0x467284[_0x496ad0(0x41d)])==null?void 0x0:_0x3de8fc[_0x50ca5f],_0x2a418b=_0x57b89a==null||_0x1c0594==null||(_0x44b312=_0x264267[_0x496ad0(0x61f)])==null||(_0x44b312=_0x44b312[_0x57b89a])==null?void 0x0:_0x44b312[_0x1c0594],_0x599172=_0x457f01==null||_0x2ec634==null||(_0x425712=_0x467284[_0x496ad0(0x61f)])==null||(_0x425712=_0x425712[_0x457f01])==null?void 0x0:_0x425712[_0x2ec634],_0x3a0c77=(_0x5afafd=_0x264267[_0x496ad0(0x4c9)][_0x482606])==null?void 0x0:_0x5afafd['values'][_0x50ca5f],_0x29ec6e=(_0x5e5037=_0x467284['records'][_0x482606])==null?void 0x0:_0x5e5037[_0x496ad0(0x20f)][_0x50ca5f],_0x2a8fa7=[],_0x4a840e=_0x4627f5(_0x57b89a==null||_0x1c0594==null?null:_0x1db9f2['cellData'](_0x2e6e40,_0x57b89a,_0x1c0594),_0x2a418b,_0x599172);_0x4a840e&&_0x2a8fa7[_0x496ad0(0x605)](_0x4a840e);let _0x142544=_0x4627f5(_0x1db9f2[_0x496ad0(0x49d)](_0x2e6e40,_0x482606,_0x50ca5f),_0x3a0c77,_0x29ec6e);return _0x142544&&_0x2a8fa7[_0x496ad0(0x605)](_0x142544),_0x396f18(_0x2a8fa7);}function _0x249c64(_0x45a559,_0x44273d,_0x4071d9,_0x270a86){const _0x164ebb=_0x36f63a;var _0x39eb34,_0xb3373d;let _0x19990d=_0x45a559[_0x164ebb(0x594)][_0x4071d9],_0x5ac4a5=_0x44273d[_0x164ebb(0x594)][_0x4071d9];return _0x396f18([_0x4627f5([..._0x1db9f2[_0x164ebb(0x1b5)](_0x4071d9,_0x270a86),_0x164ebb(0x58c)],(_0x39eb34=_0x19990d[_0x164ebb(0x4c9)][_0x270a86])==null?void 0x0:_0x39eb34[_0x164ebb(0x58c)],(_0xb3373d=_0x5ac4a5[_0x164ebb(0x4c9)][_0x270a86])==null?void 0x0:_0xb3373d[_0x164ebb(0x58c)]),_0x4627f5([..._0x1db9f2['table'](_0x4071d9),_0x164ebb(0x2ba)],_0x19990d[_0x164ebb(0x2ba)],_0x5ac4a5[_0x164ebb(0x2ba)])][_0x164ebb(0x46a)](_0x410c9a=>!!_0x410c9a));}function _0x4627f5(_0x3826cd,_0x28b922,_0x35417f){const _0x47cf6b=_0x36f63a;if(!_0x3826cd||_0x28b922===void 0x0&&_0x35417f===void 0x0)return null;let _0x5b4bf1=_0x26cf17['JSONX']['getInstance']();return _0x35417f===void 0x0?_0x5b4bf1['removeOp'](_0x3826cd,_0x28b922):_0x28b922===void 0x0?_0x5b4bf1[_0x47cf6b(0x4b1)](_0x3826cd,_0x35417f):_0x5b4bf1[_0x47cf6b(0x30d)](_0x3826cd,_0x28b922,_0x35417f);}let _0x4af643={'id':_0x36f63a(0x1ae),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x295bd2,_0x321258)=>{const _0x413ce5=_0x36f63a;if(!_0x321258)return!0x1;let _0x4fc1d0=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x4a8)]),{unitId:_0x571168,tableId:_0x4495e9,viewId:_0x35a7a8,target:_0x50b5db}=_0x321258,_0x28c00b=_0x4fc1d0[_0x413ce5(0x2e3)](_0x571168,_0x26cf17[_0x413ce5(0x1ef)][_0x413ce5(0x440)]),_0x2c6cd7=_0x50b5db[_0x413ce5(0x313)]??_0x50b5db[_0x413ce5(0x58d)];if(!_0x28c00b||!_0x2c6cd7||_0x2c6cd7===_0x35a7a8||!_0x4cb030(_0x28c00b,_0x4495e9,{'viewIds':[_0x35a7a8,_0x2c6cd7]}))return!0x1;let _0x361053=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x2d3)]),_0x85128b=_0x295bd2[_0x413ce5(0x558)](_0x26cf17[_0x413ce5(0x501)]),_0xa8996e=_0x28c00b[_0x413ce5(0x509)](),_0x1f3da0=new _0x3c2e91()[_0x413ce5(0x19a)](_0xa8996e,_0x4495e9,_0x35a7a8,_0x50b5db),_0x3e0ea4=new _0x5070bf()[_0x413ce5(0x3ad)](_0xa8996e,_0x1f3da0),_0x3e6052={'unitId':_0x571168,'op':_0x1f3da0},_0x381c11={'unitId':_0x571168,'op':_0x3e0ea4};return _0x361053[_0x413ce5(0x234)](_0x22dd4d['id'],_0x3e6052)?(_0x4fc1d0[_0x413ce5(0x542)](_0x571168),_0x85128b[_0x413ce5(0x581)]({'unitID':_0x571168,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x381c11}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3e6052}]}),!0x0):!0x1;}},_0x15e0f4={'id':_0x36f63a(0x2db),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xeb57fe,_0x12a161)=>{const _0x12c4f0=_0x36f63a;if(!_0x12a161)return!0x1;let _0x435b36=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17[_0x12c4f0(0x4a8)]),{unitId:_0x2895ec,tableId:_0x23c081,name:_0x557e85}=_0x12a161,_0x229652=_0x435b36[_0x12c4f0(0x2e3)](_0x2895ec,_0x26cf17[_0x12c4f0(0x1ef)]['UNIVER_BASE']);if(!_0x229652||!_0x4cb030(_0x229652,_0x23c081)||!_0x41dc3d(_0x229652[_0x12c4f0(0x509)](),_0x557e85,_0x23c081)['valid'])return!0x1;let _0x537dd2=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17['ICommandService']),_0x5729a7=_0xeb57fe[_0x12c4f0(0x558)](_0x26cf17[_0x12c4f0(0x501)]),_0x310e8f=_0x229652['getSnapshot'](),_0x33a400=new _0x3c2e91()[_0x12c4f0(0x437)](_0x310e8f,_0x23c081,_0x557e85),_0x13b9c3=new _0x5070bf()['invertOp'](_0x310e8f,_0x33a400),_0x192625={'unitId':_0x2895ec,'op':_0x33a400},_0x1eb6ef={'unitId':_0x2895ec,'op':_0x13b9c3};return _0x537dd2['syncExecuteCommand'](_0x22dd4d['id'],_0x192625)?(_0x435b36['focusUnit'](_0x2895ec),_0x5729a7[_0x12c4f0(0x581)]({'unitID':_0x2895ec,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1eb6ef}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x192625}]}),!0x0):!0x1;}},_0x14a5ec={'id':_0x36f63a(0x525),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x2fd6d1,_0x2e76c3)=>{const _0x8f313b=_0x36f63a;if(!_0x2e76c3)return!0x1;let _0x41b36c=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17[_0x8f313b(0x4a8)]),{unitId:_0x6e5e64,tableId:_0x2eb48b,viewId:_0x389aba,name:_0x447fb5}=_0x2e76c3,_0xea5344=_0x41b36c[_0x8f313b(0x2e3)](_0x6e5e64,_0x26cf17['UniverInstanceType'][_0x8f313b(0x440)]);if(!_0xea5344||!_0x4cb030(_0xea5344,_0x2eb48b,{'viewIds':[_0x389aba]}))return!0x1;let _0x2e1c3e=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17[_0x8f313b(0x2d3)]),_0x35af10=_0x2fd6d1[_0x8f313b(0x558)](_0x26cf17['IUndoRedoService']),_0x31aad8=_0xea5344[_0x8f313b(0x509)](),_0x165e82=new _0x3c2e91()[_0x8f313b(0x206)](_0x31aad8,_0x2eb48b,_0x389aba,_0x447fb5),_0xc1771c=new _0x5070bf()[_0x8f313b(0x3ad)](_0x31aad8,_0x165e82),_0x4192c8={'unitId':_0x6e5e64,'op':_0x165e82},_0x4ed1cd={'unitId':_0x6e5e64,'op':_0xc1771c};return _0x2e1c3e[_0x8f313b(0x234)](_0x22dd4d['id'],_0x4192c8)?(_0x41b36c[_0x8f313b(0x542)](_0x6e5e64),_0x35af10[_0x8f313b(0x581)]({'unitID':_0x6e5e64,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4ed1cd}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x4192c8}]}),!0x0):!0x1;}},_0x393c61={'id':'base.command.set-base-kanban-group-field','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x4c8383,_0x19cf1e)=>{const _0x2053d1=_0x36f63a;if(!_0x19cf1e)return!0x1;let _0x4bab79=_0x4c8383['get'](_0x26cf17[_0x2053d1(0x4a8)]),{unitId:_0x33b860,tableId:_0x5ae78e,viewId:_0x4e6d05,fieldId:_0x119030}=_0x19cf1e,_0x377328=_0x4bab79['getUnit'](_0x33b860,_0x26cf17[_0x2053d1(0x1ef)][_0x2053d1(0x440)]);if(!_0x377328||!_0x4cb030(_0x377328,_0x5ae78e,{'viewIds':[_0x4e6d05],'fieldIds':[_0x119030]}))return!0x1;let _0x4b8b94=_0x4c8383['get'](_0x26cf17['ICommandService']),_0x526c87=_0x4c8383[_0x2053d1(0x558)](_0x26cf17['IUndoRedoService']),_0x158ca3=_0x377328['getSnapshot'](),_0x31cdf2=new _0x3c2e91()[_0x2053d1(0x52e)](_0x158ca3,_0x5ae78e,_0x4e6d05,{'groupFieldId':_0x119030}),_0x487ef8=new _0x5070bf()[_0x2053d1(0x3ad)](_0x158ca3,_0x31cdf2),_0x40c434={'unitId':_0x33b860,'op':_0x31cdf2},_0x28ac16={'unitId':_0x33b860,'op':_0x487ef8};return _0x4b8b94['syncExecuteCommand'](_0x22dd4d['id'],_0x40c434)?(_0x4bab79[_0x2053d1(0x542)](_0x33b860),_0x526c87[_0x2053d1(0x581)]({'unitID':_0x33b860,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x28ac16}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x40c434}]}),!0x0):!0x1;}},_0x623a77={'id':_0x36f63a(0x4a7),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0xd64149,_0x1e78b1)=>{const _0x20ec83=_0x36f63a;if(!_0x1e78b1)return!0x1;let _0x3db037=_0xd64149['get'](_0x26cf17['IUniverInstanceService']),_0x2f1e6f=_0x3db037[_0x20ec83(0x2e3)](_0x1e78b1[_0x20ec83(0x41e)],_0x26cf17[_0x20ec83(0x1ef)][_0x20ec83(0x440)]);if(!_0x2f1e6f)return!0x1;let _0x22d8fe=_0x2f1e6f['getSnapshot']()['name'];if(_0x22d8fe===_0x1e78b1[_0x20ec83(0x3f8)])return!0x0;let _0xeef8cf=new _0x3c2e91(),_0x1bf8fb=new _0x5070bf(),_0x4d7dff=[],_0x691db2=[],_0x4012be=[_0x2f1e6f,..._0x3db037[_0x20ec83(0x1c0)](_0x26cf17[_0x20ec83(0x1ef)][_0x20ec83(0x440)])[_0x20ec83(0x46a)](_0x39fb9e=>_0x39fb9e[_0x20ec83(0x4f5)]()!==_0x1e78b1[_0x20ec83(0x41e)])];for(let _0x548fc4 of _0x4012be){let _0x1ab86c=_0x548fc4[_0x20ec83(0x509)](),_0x28173d=_0x548fc4===_0x2f1e6f?_0xeef8cf['setBaseName'](_0x1ab86c,_0x1e78b1[_0x20ec83(0x3f8)]):_0xeef8cf[_0x20ec83(0x450)](_0x1ab86c,_0x22d8fe,_0x1e78b1['name']);_0x28173d&&(_0x4d7dff['push']({'id':_0x22dd4d['id'],'params':{'unitId':_0x548fc4[_0x20ec83(0x4f5)](),'op':_0x28173d,'trigger':_0x623a77['id']}}),_0x691db2['unshift']({'id':_0x22dd4d['id'],'params':{'unitId':_0x548fc4[_0x20ec83(0x4f5)](),'op':_0x1bf8fb[_0x20ec83(0x3ad)](_0x1ab86c,_0x28173d),'trigger':_0x623a77['id']}}));}let _0x3a26cb=_0xd64149['get'](_0x26cf17[_0x20ec83(0x2d3)]),_0x34e284=_0xd64149['get'](_0x26cf17[_0x20ec83(0x501)]),_0x50c444=_0x34e284[_0x20ec83(0x554)](_0x1e78b1[_0x20ec83(0x41e)]);try{return(0x0,_0x26cf17[_0x20ec83(0x424)])(_0x4d7dff,_0x3a26cb)[_0x20ec83(0x28f)]?(_0x3db037['focusUnit'](_0x1e78b1['unitId']),_0x34e284[_0x20ec83(0x581)]({'unitID':_0x1e78b1[_0x20ec83(0x41e)],'undoMutations':_0x691db2,'redoMutations':_0x4d7dff}),!0x0):!0x1;}finally{_0x50c444[_0x20ec83(0x3a4)]();}}},_0x144927={'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'id':_0x36f63a(0x29c),async 'handler'(_0x23968a,_0x1cd49e){const _0x348781=_0x36f63a;if(!_0x1cd49e||!_0x46e218[_0x348781(0x358)](_0x1cd49e[_0x348781(0x55c)])||_0x1cd49e['objectId']!==_0x1cd49e['unitId']&&_0x1cd49e[_0x348781(0x55c)]!==_0xf5110d['UnitAction'][_0x348781(0x284)]||_0x1cd49e[_0x348781(0x28a)]&&(![_0x348781(0x1b8),_0x348781(0x329),_0x348781(0x568)][_0x348781(0x358)](_0x1cd49e[_0x348781(0x28a)]['edit'])||_0x1cd49e[_0x348781(0x28a)]['strategies'][_0x348781(0x2c3)](_0x2357e4=>!_0x46e218['includes'](_0x2357e4[_0x348781(0x55c)])||_0x1cd49e[_0x348781(0x452)]!==_0x1cd49e[_0x348781(0x41e)]&&_0x2357e4[_0x348781(0x55c)]!==_0xf5110d[_0x348781(0x5d3)][_0x348781(0x284)])))return!0x1;let _0x4a9cb9=_0x353921(_0x1cd49e[_0x348781(0x41e)],_0x1cd49e[_0x348781(0x452)],_0x1cd49e[_0x348781(0x55c)]),_0x212bd2={'unitId':_0x1cd49e[_0x348781(0x41e)],'objectId':_0x1cd49e['objectId'],'objectType':_0x4a9cb9[_0x348781(0x5d6)]},_0x294517=_0x23968a[_0x348781(0x558)](_0x26cf17[_0x348781(0x27a)]);return _0x1cd49e[_0x348781(0x1dd)]?await _0x294517[_0x348781(0x1dd)](_0x212bd2):_0x1cd49e['policy']?await _0x294517['save'](_0x212bd2,_0x1cd49e[_0x348781(0x28a)]):await _0x294517[_0x348781(0x355)](_0x212bd2,_0x4a9cb9,_0x1cd49e[_0x348781(0x5a4)]),!0x0;}},_0x3937db={'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'id':_0x36f63a(0x3e5),async 'handler'(_0x508a32,_0x31164c){const _0x43d720=_0x36f63a;if(!(_0x31164c!=null&&_0x31164c[_0x43d720(0x41e)])||!Array[_0x43d720(0x2c4)](_0x31164c[_0x43d720(0x467)])||!_0x31164c[_0x43d720(0x467)][_0x43d720(0x4cd)]||_0x31164c[_0x43d720(0x467)]['some'](_0x4afb8b=>!(_0x4afb8b!=null&&_0x4afb8b['objectId'])||_0x4afb8b[_0x43d720(0x452)]===_0x31164c['unitId']||_0x4afb8b['policy']!==null&&(!_0x4afb8b[_0x43d720(0x28a)]||![_0x43d720(0x1b8),'owner',_0x43d720(0x568)][_0x43d720(0x358)](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x1f7)])||!Array[_0x43d720(0x2c4)](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x2e4)])||!Array['isArray'](_0x4afb8b[_0x43d720(0x28a)][_0x43d720(0x3b4)])||_0x4afb8b[_0x43d720(0x28a)]['strategies'][_0x43d720(0x2c3)](_0x482c7a=>_0x482c7a[_0x43d720(0x55c)]!==_0xf5110d[_0x43d720(0x5d3)][_0x43d720(0x284)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x508a32[_0x43d720(0x558)](_0x26cf17['ObjectPermissionService'])['saveMany'](_0x31164c[_0x43d720(0x467)]['map'](_0x3916ce=>{const _0x22ecdf=_0x43d720;let _0x4f2ab7=_0x353921(_0x31164c[_0x22ecdf(0x41e)],_0x3916ce[_0x22ecdf(0x452)],_0xf5110d['UnitAction'][_0x22ecdf(0x284)]);return{'unitId':_0x31164c[_0x22ecdf(0x41e)],'objectId':_0x3916ce[_0x22ecdf(0x452)],'objectType':_0x4f2ab7['type'],'policy':_0x3916ce['policy']};}));}};function _0x3d520b(_0x304f8e,_0x24387e){const _0x4779b5=_0x36f63a;let _0x487cc4=_0x58de72(_0x26cf17[_0x4779b5(0x3e7)][_0x4779b5(0x269)](_0x304f8e)),_0x61e266=new Map();return _0x24387e[_0x4779b5(0x1bf)](_0x10ada2=>{const _0x3b7f3f=_0x4779b5;var _0x3525ff,_0x5efd84;let _0x27108c=_0x3b7f3f(0x571)in _0x10ada2?_0x10ada2[_0x3b7f3f(0x571)]:(_0x3525ff=_0x487cc4[_0x3b7f3f(0x51d)])==null?void 0x0:_0x3525ff[_0x10ada2[_0x3b7f3f(0x5dd)]],_0x2291a8='fieldId'in _0x10ada2?_0x10ada2[_0x3b7f3f(0x39c)]:(_0x5efd84=_0x487cc4[_0x3b7f3f(0x3e3)])==null?void 0x0:_0x5efd84[_0x10ada2[_0x3b7f3f(0x46c)]],_0x5c3dae=_0x2291a8?_0x487cc4[_0x3b7f3f(0x458)][_0x2291a8]:void 0x0;if(!_0x27108c||!_0x2291a8||!_0x5c3dae||!_0x487cc4['records'][_0x27108c])return;let _0x83afc2=_0x545d9f(_0x10ada2['value'],_0x5c3dae),_0x592df1=_0x1871e5(_0x10ada2['value'],_0x83afc2,_0x5c3dae,_0x487cc4,_0x27108c),_0x48b2e0=_0x61e266[_0x3b7f3f(0x558)](_0x27108c)??{};_0x48b2e0[_0x2291a8]=_0x592df1,_0x61e266['set'](_0x27108c,_0x48b2e0);}),[..._0x61e266][_0x4779b5(0x4a5)](([_0x1f62a4,_0x4761ed])=>({'recordId':_0x1f62a4,'values':_0x4761ed}));}let _0x574186={'id':'base.command.set-base-range-values','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x441b50,_0x40e634){const _0xee408a=_0x36f63a;if(!_0x40e634)return!0x1;let _0x29aef9=_0x441b50[_0xee408a(0x558)](_0x26cf17[_0xee408a(0x4a8)]),{unitId:_0x44f895,tableId:_0x537ce4,patches:_0x84f729}=_0x40e634,_0x56b281=_0x29aef9[_0xee408a(0x2e3)](_0x44f895,_0x26cf17[_0xee408a(0x1ef)]['UNIVER_BASE']);if(!_0x56b281||!_0x4cb030(_0x56b281,_0x537ce4))return!0x1;let _0xf697e4=_0x441b50['get'](_0x26cf17['ICommandService']),_0x3e5a33=_0x441b50['get'](_0x26cf17[_0xee408a(0x501)]),_0x2bede5=_0x56b281[_0xee408a(0x509)](),_0x4876c8=_0x58de72(_0x2bede5[_0xee408a(0x594)][_0x537ce4]),_0x1e82db=_0x84f729[_0xee408a(0x4a5)](_0x4af646=>{const _0x51fd5b=_0xee408a;var _0x432740;return _0x51fd5b(0x571)in _0x4af646?_0x4af646[_0x51fd5b(0x571)]:(_0x432740=_0x4876c8[_0x51fd5b(0x51d)])==null?void 0x0:_0x432740[_0x4af646[_0x51fd5b(0x5dd)]];})[_0xee408a(0x46a)](_0x382d23=>_0x382d23!=null),_0x1d6c3e=_0x84f729[_0xee408a(0x4a5)](_0x16ac5b=>{const _0x3e44a6=_0xee408a;var _0x1b8ddb;return _0x3e44a6(0x39c)in _0x16ac5b?_0x16ac5b[_0x3e44a6(0x39c)]:(_0x1b8ddb=_0x4876c8[_0x3e44a6(0x3e3)])==null?void 0x0:_0x1b8ddb[_0x16ac5b[_0x3e44a6(0x46c)]];})[_0xee408a(0x46a)](_0x2b5570=>_0x2b5570!=null);if(_0x1e82db[_0xee408a(0x4cd)]!==_0x84f729[_0xee408a(0x4cd)]||_0x1d6c3e[_0xee408a(0x4cd)]!==_0x84f729['length']||!_0x4cb030(_0x56b281,_0x537ce4,{'recordIds':_0x1e82db,'fieldIds':_0x1d6c3e})||_0x84f729['some']((_0x29de4b,_0x33f0d4)=>!_0x2ef661(_0x56b281,_0x537ce4,_0x1d6c3e[_0x33f0d4],_0x29de4b[_0xee408a(0x5a4)])))return!0x1;let _0x3bd674=_0x37fba2(_0x4876c8,_0x3d520b(_0x4876c8,_0x84f729)),_0x23f188=_0x84f729[_0xee408a(0x35a)](_0x1cea99=>{const _0x138726=_0xee408a;var _0x793c72,_0x5547a0;if('row'in _0x1cea99)return[_0x1cea99];let _0x4664a7=(_0x793c72=_0x4876c8['rowIndex'])==null?void 0x0:_0x793c72[_0x1cea99[_0x138726(0x571)]],_0xc16167=(_0x5547a0=_0x4876c8[_0x138726(0x41d)])==null?void 0x0:_0x5547a0[_0x1cea99[_0x138726(0x39c)]];return _0x4664a7==null||_0xc16167==null?[]:[{'row':_0x4664a7,'col':_0xc16167,'value':_0x1cea99['value']}];}),_0x774c49=new _0x3c2e91()[_0xee408a(0x4ff)](_0x2bede5,_0x537ce4,_0x23f188),_0x54bc5b=new _0x5070bf()[_0xee408a(0x3ad)](_0x2bede5,_0x774c49),_0x19d63e={'unitId':_0x44f895,'op':_0x774c49,'trigger':_0x3bd674[_0xee408a(0x4cd)]?_0x574186['id']:void 0x0,'hierarchyChanges':_0x3bd674['length']?_0x3bd674:void 0x0,'source':_0x3bd674[_0xee408a(0x4cd)]?_0xee408a(0x265):void 0x0},_0x57677b={'unitId':_0x44f895,'op':_0x54bc5b,'trigger':_0x3bd674['length']?_0x574186['id']:void 0x0,'hierarchyChanges':_0x3bd674[_0xee408a(0x4cd)]?_0x3bd674[_0xee408a(0x4a5)](_0x4eaea8=>({..._0x4eaea8,'oldParentRecordId':_0x4eaea8['parentRecordId'],'parentRecordId':_0x4eaea8['oldParentRecordId']})):void 0x0,'source':_0x3bd674[_0xee408a(0x4cd)]?_0xee408a(0x19e):void 0x0},_0x5d4611={..._0x19d63e,'source':_0x3bd674[_0xee408a(0x4cd)]?_0x40e634[_0xee408a(0x31b)]??'ui':void 0x0};return _0xf697e4[_0xee408a(0x234)](_0x22dd4d['id'],_0x5d4611)?(_0x29aef9[_0xee408a(0x542)](_0x44f895),_0x3e5a33['pushUndoRedo']({'unitID':_0x44f895,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x57677b}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x19d63e}]}),!0x0):!0x1;}},_0x4b47f4={'id':'base.command.set-base-record-values','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0x4e8f61,_0x4851a3){const _0x2ffb68=_0x36f63a;if(!_0x4851a3)return!0x1;let _0x1f71a1=_0x4e8f61[_0x2ffb68(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x493146,tableId:_0x59b73b,patches:_0x438131}=_0x4851a3,_0x3b954a=_0x1f71a1[_0x2ffb68(0x2e3)](_0x493146,_0x26cf17[_0x2ffb68(0x1ef)][_0x2ffb68(0x440)]),_0x49e18f=_0x438131['map'](_0x1262a5=>_0x1262a5[_0x2ffb68(0x571)]),_0xfb8792=_0x438131[_0x2ffb68(0x35a)](_0x4f117e=>Object[_0x2ffb68(0x40d)](_0x4f117e[_0x2ffb68(0x20f)]));if(!_0x3b954a||!_0x4cb030(_0x3b954a,_0x59b73b,{'recordIds':_0x49e18f,'fieldIds':_0xfb8792})||_0x438131[_0x2ffb68(0x2c3)](_0x14b183=>Object[_0x2ffb68(0x443)](_0x14b183[_0x2ffb68(0x20f)])[_0x2ffb68(0x2c3)](([_0x1227c8,_0x3acde8])=>!_0x2ef661(_0x3b954a,_0x59b73b,_0x1227c8,_0x3acde8))))return!0x1;let _0x8c45d0=_0x37fba2(_0x3b954a[_0x2ffb68(0x509)]()[_0x2ffb68(0x594)][_0x59b73b],_0x438131),_0x65b256=_0x4e8f61['get'](_0x26cf17[_0x2ffb68(0x2d3)]),_0x5bd515=_0x4e8f61[_0x2ffb68(0x558)](_0x26cf17[_0x2ffb68(0x501)]),_0x9f113d=_0x4e8f61['get'](_0x10f260)[_0x2ffb68(0x3a5)](_0x3b954a,_0x59b73b,_0x438131),_0x1e192c=new _0x5070bf()['invertOp'](_0x3b954a[_0x2ffb68(0x509)](),_0x9f113d),_0x2e115a={'unitId':_0x493146,'op':_0x9f113d,'trigger':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x4b47f4['id']:void 0x0,'hierarchyChanges':_0x8c45d0['length']?_0x8c45d0:void 0x0,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x4851a3['source']??'ui':void 0x0},_0x1d1df1={..._0x2e115a,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x2ffb68(0x265):void 0x0},_0x10c505={'unitId':_0x493146,'op':_0x1e192c,'trigger':_0x8c45d0['length']?_0x4b47f4['id']:void 0x0,'hierarchyChanges':_0x8c45d0['length']?_0x8c45d0[_0x2ffb68(0x4a5)](_0x16127f=>({..._0x16127f,'oldParentRecordId':_0x16127f[_0x2ffb68(0x283)],'parentRecordId':_0x16127f[_0x2ffb68(0x369)]})):void 0x0,'source':_0x8c45d0[_0x2ffb68(0x4cd)]?_0x2ffb68(0x19e):void 0x0};return _0x65b256['syncExecuteCommand'](_0x22dd4d['id'],_0x2e115a)?(_0x1f71a1[_0x2ffb68(0x542)](_0x493146),_0x5bd515[_0x2ffb68(0x581)]({'unitID':_0x493146,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x10c505}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x1d1df1}]}),!0x0):!0x1;}},_0x3eab69={'id':_0x36f63a(0x419),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x30e1d7,_0x41e103)=>{const _0x25f16d=_0x36f63a;if(!_0x41e103)return!0x1;let {unitId:_0x54304d,tableId:_0x36a414,fieldId:_0x15fb8b}=_0x41e103,_0x407594=_0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x4a8)]),_0x36d140=_0x407594[_0x25f16d(0x2e3)](_0x54304d,_0x26cf17['UniverInstanceType'][_0x25f16d(0x440)]);if(!_0x36d140||!_0x4cb030(_0x36d140,_0x36a414))return!0x1;let _0x561ffb=_0x36d140[_0x25f16d(0x509)](),_0x49d8a4=_0x561ffb[_0x25f16d(0x594)][_0x36a414];if(_0x15fb8b!==null&&!_0x2e8fb1(_0x49d8a4,_0x15fb8b))throw new _0x3763ee(_0x25f16d(0x39b));if(_0x126b6c(_0x49d8a4)===_0x15fb8b)return!0x0;let _0x3026e1=new _0x3c2e91(),_0x44fa9d=_0x396f18(Object[_0x25f16d(0x20f)](_0x49d8a4[_0x25f16d(0x458)])[_0x25f16d(0x35a)](_0x4d4624=>{const _0x4aca61=_0x25f16d;if(!_0x2e8fb1(_0x49d8a4,_0x4d4624['id']))return[];let _0x595665=_0x3caba0(_0x4d4624);if(!_0x595665)return[];let _0x102ab4=_0x4d4624['id']===_0x15fb8b;if(_0x595665['relationRole']===_0x26cf17['BaseRecordLinkRole'][_0x4aca61(0x1cc)]===_0x102ab4)return[];let _0x3af8c0={..._0x4d4624[_0x4aca61(0x4cc)],'targetTableId':_0x595665[_0x4aca61(0x54e)],'multiple':_0x595665[_0x4aca61(0x4d4)]};return _0x102ab4?_0x3af8c0[_0x4aca61(0x3a1)]=_0x26cf17['BaseRecordLinkRole']['Parent']:delete _0x3af8c0[_0x4aca61(0x3a1)],[_0x3026e1['updateField'](_0x561ffb,_0x36a414,_0x4d4624['id'],{'config':_0x3af8c0})];})),_0x40f55d=new _0x5070bf()[_0x25f16d(0x3ad)](_0x561ffb,_0x44fa9d),_0x44a72e={'unitId':_0x54304d,'op':_0x44fa9d},_0x429f54={'unitId':_0x54304d,'op':_0x40f55d};return _0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x2d3)])['syncExecuteCommand'](_0x22dd4d['id'],_0x44a72e)?(_0x407594[_0x25f16d(0x542)](_0x54304d),_0x30e1d7[_0x25f16d(0x558)](_0x26cf17[_0x25f16d(0x501)])[_0x25f16d(0x581)]({'unitID':_0x54304d,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x429f54}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x44a72e}]}),!0x0):!0x1;}},_0x3a3911={'id':'base.command.set-base-view-field-order','type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x138d8a,_0x3924e6)=>{const _0x748098=_0x36f63a;if(!_0x3924e6)return!0x1;let _0x129db3=_0x138d8a[_0x748098(0x558)](_0x26cf17[_0x748098(0x4a8)]),{unitId:_0x4c1814,tableId:_0x522dfc,viewId:_0x2fa7d4,fieldId:_0xc72081,target:_0x1e119b}=_0x3924e6,_0x4d6a5f=_0x129db3[_0x748098(0x2e3)](_0x4c1814,_0x26cf17[_0x748098(0x1ef)]['UNIVER_BASE']),_0x565c0c=_0x1e119b[_0x748098(0x3bd)]??_0x1e119b[_0x748098(0x566)];if(!_0x4d6a5f||!_0x565c0c||_0x565c0c===_0xc72081||!_0x4cb030(_0x4d6a5f,_0x522dfc,{'viewIds':[_0x2fa7d4],'fieldIds':[_0xc72081,_0x565c0c]}))return!0x1;let _0x4e6896=_0x4d6a5f[_0x748098(0x509)]()[_0x748098(0x594)][_0x522dfc],_0x4f894e=_0x4e6896[_0x748098(0x458)][_0xc72081],_0x2d4a5d=_0x4e6896['fields'][_0x565c0c];if(_0x4f894e['system']===!0x0||_0x4f894e[_0x748098(0x5d6)]===_0x26cf17['BaseFieldType']['RecordId']||_0x2d4a5d[_0x748098(0x5a9)]===!0x0||_0x2d4a5d[_0x748098(0x5d6)]===_0x26cf17['BaseFieldType'][_0x748098(0x4b5)])return!0x1;let _0x3a03a0=_0x138d8a[_0x748098(0x558)](_0x26cf17['ICommandService']),_0x42c821=_0x138d8a['get'](_0x26cf17[_0x748098(0x501)]),_0x44aa02=_0x4d6a5f['getSnapshot'](),_0xb7ba59=new _0x3c2e91()[_0x748098(0x371)](_0x44aa02,_0x522dfc,_0x2fa7d4,_0xc72081,_0x1e119b),_0x5aae01=new _0x5070bf()[_0x748098(0x3ad)](_0x44aa02,_0xb7ba59),_0x2e9c04={'unitId':_0x4c1814,'op':_0xb7ba59},_0x17eead={'unitId':_0x4c1814,'op':_0x5aae01};return _0x3a03a0[_0x748098(0x234)](_0x22dd4d['id'],_0x2e9c04)?(_0x129db3[_0x748098(0x542)](_0x4c1814),_0x42c821[_0x748098(0x581)]({'unitID':_0x4c1814,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x17eead}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x2e9c04}]}),!0x0):!0x1;}},_0xc496a1={'id':'base.command.set-base-view-field-visible','type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler'(_0x4710d4,_0x541699){const _0x11ecd4=_0x36f63a;if(!_0x541699)return!0x1;let _0x5679f8=_0x4710d4['get'](_0x26cf17[_0x11ecd4(0x4a8)]),{unitId:_0x230b70,tableId:_0x5f2a50,viewId:_0x38a26a,fieldId:_0x5110b4,visible:_0x7ac0c7}=_0x541699,_0xf679a5=_0x5679f8[_0x11ecd4(0x2e3)](_0x230b70,_0x26cf17[_0x11ecd4(0x1ef)][_0x11ecd4(0x440)]);if(!_0xf679a5||!_0x4cb030(_0xf679a5,_0x5f2a50,{'viewIds':[_0x38a26a],'fieldIds':[_0x5110b4]}))return!0x1;let _0x5d9127=_0xf679a5[_0x11ecd4(0x509)]()[_0x11ecd4(0x594)][_0x5f2a50][_0x11ecd4(0x458)][_0x5110b4];if(_0x5d9127[_0x11ecd4(0x5a9)]===!0x0||_0x5d9127[_0x11ecd4(0x5d6)]===_0x26cf17['BaseFieldType'][_0x11ecd4(0x4b5)])return!0x1;let _0xb2c4af=_0x4710d4[_0x11ecd4(0x558)](_0x26cf17[_0x11ecd4(0x2d3)]),_0x1478e0=_0x4710d4[_0x11ecd4(0x558)](_0x26cf17[_0x11ecd4(0x501)]),_0x1e724f=_0xf679a5[_0x11ecd4(0x509)](),_0x7879ad=new _0x3c2e91()[_0x11ecd4(0x584)](_0x1e724f,_0x5f2a50,_0x38a26a,_0x5110b4,_0x7ac0c7),_0x27c3f7=new _0x5070bf()[_0x11ecd4(0x3ad)](_0x1e724f,_0x7879ad),_0xa763ef={'unitId':_0x230b70,'op':_0x7879ad},_0x26e8ff={'unitId':_0x230b70,'op':_0x27c3f7};return _0xb2c4af[_0x11ecd4(0x234)](_0x22dd4d['id'],_0xa763ef)?(_0x5679f8['focusUnit'](_0x230b70),_0x1478e0['pushUndoRedo']({'unitID':_0x230b70,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x26e8ff}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xa763ef}]}),!0x0):!0x1;}},_0x20e162={'id':_0x36f63a(0x5c3),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3d7af2,_0x5d27c6)=>{const _0x4f87f7=_0x36f63a;if(!_0x5d27c6)return!0x1;let _0x2ce31e=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x4a8)]),{unitId:_0x1d1cc4,tableId:_0x35ce32,viewId:_0x13d213,fieldId:_0x4a8ec3,width:_0x1ebde4}=_0x5d27c6,_0x1f9d06=_0x2ce31e[_0x4f87f7(0x2e3)](_0x1d1cc4,_0x26cf17[_0x4f87f7(0x1ef)]['UNIVER_BASE']);if(!_0x1f9d06||!_0x4cb030(_0x1f9d06,_0x35ce32,{'viewIds':[_0x13d213],'fieldIds':[_0x4a8ec3]}))return!0x1;let _0x4df650=_0x1f9d06[_0x4f87f7(0x509)]()['tables'][_0x35ce32]['fields'][_0x4a8ec3];if(_0x4df650[_0x4f87f7(0x5a9)]===!0x0||_0x4df650[_0x4f87f7(0x5d6)]===_0x26cf17[_0x4f87f7(0x22d)][_0x4f87f7(0x4b5)])return!0x1;let _0x52188e=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x2d3)]),_0x4f1f86=_0x3d7af2[_0x4f87f7(0x558)](_0x26cf17[_0x4f87f7(0x501)]),_0x39707a=_0x1f9d06[_0x4f87f7(0x509)](),_0x1c4441=new _0x3c2e91()[_0x4f87f7(0x390)](_0x39707a,_0x35ce32,_0x13d213,_0x4a8ec3,_0x1ebde4),_0x5a6fd5=new _0x5070bf()[_0x4f87f7(0x3ad)](_0x39707a,_0x1c4441),_0x57a1c8={'unitId':_0x1d1cc4,'op':_0x1c4441},_0xf6e20a={'unitId':_0x1d1cc4,'op':_0x5a6fd5};return _0x52188e['syncExecuteCommand'](_0x22dd4d['id'],_0x57a1c8)?(_0x2ce31e[_0x4f87f7(0x542)](_0x1d1cc4),_0x4f1f86['pushUndoRedo']({'unitID':_0x1d1cc4,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0xf6e20a}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x57a1c8}]}),!0x0):!0x1;}},_0xb28a0={'id':_0x36f63a(0x1f4),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x4bfb18,_0xe638d3)=>{const _0x5e5e45=_0x36f63a;if(!_0xe638d3)return!0x1;let _0x5f4755=_0x4bfb18['get'](_0x26cf17[_0x5e5e45(0x4a8)]),{unitId:_0x56ab90,tableId:_0x12bbad,viewId:_0x4fbde9,filter:_0x5f1f0d}=_0xe638d3,_0xf494ee=_0x5f4755[_0x5e5e45(0x2e3)](_0x56ab90,_0x26cf17['UniverInstanceType']['UNIVER_BASE']),_0x34df6b=(_0x5f1f0d==null?void 0x0:_0x5f1f0d[_0x5e5e45(0x357)][_0x5e5e45(0x4a5)](_0x319051=>_0x319051['fieldId']))??[];if(!_0xf494ee||!_0x4cb030(_0xf494ee,_0x12bbad,{'viewIds':[_0x4fbde9],'fieldIds':_0x34df6b}))return!0x1;let _0x2bc0ce=_0x4bfb18[_0x5e5e45(0x558)](_0x26cf17[_0x5e5e45(0x2d3)]),_0x41c834=_0x4bfb18[_0x5e5e45(0x558)](_0x26cf17['IUndoRedoService']),_0x18b8ad=_0xf494ee[_0x5e5e45(0x509)](),_0x17e2e6=new _0x3c2e91()['setViewFilter'](_0x18b8ad,_0x12bbad,_0x4fbde9,_0x5f1f0d),_0x22f39a=new _0x5070bf()[_0x5e5e45(0x3ad)](_0x18b8ad,_0x17e2e6),_0x442a22={'unitId':_0x56ab90,'op':_0x17e2e6},_0x53923f={'unitId':_0x56ab90,'op':_0x22f39a};return _0x2bc0ce[_0x5e5e45(0x234)](_0x22dd4d['id'],_0x442a22)?(_0x5f4755[_0x5e5e45(0x542)](_0x56ab90),_0x41c834[_0x5e5e45(0x581)]({'unitID':_0x56ab90,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x53923f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x442a22}]}),!0x0):!0x1;}},_0x431b04={'id':_0x36f63a(0x3be),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler':(_0x4ba63f,_0x4293f2)=>{const _0x2a6a44=_0x36f63a;if(!_0x4293f2)return!0x1;let _0x5396d5=_0x4ba63f[_0x2a6a44(0x558)](_0x26cf17['IUniverInstanceService']),{unitId:_0x23d70e,tableId:_0x554a75,viewId:_0xa59c04,group:_0x1c908d}=_0x4293f2,_0x15c7d8=_0x5396d5[_0x2a6a44(0x2e3)](_0x23d70e,_0x26cf17[_0x2a6a44(0x1ef)][_0x2a6a44(0x440)]);if(!_0x15c7d8||!_0x4cb030(_0x15c7d8,_0x554a75,{'viewIds':[_0xa59c04],'fieldIds':_0x1c908d['map'](_0x58ee30=>_0x58ee30[_0x2a6a44(0x39c)])}))return!0x1;let _0x3cf7ac=_0x4ba63f['get'](_0x26cf17[_0x2a6a44(0x2d3)]),_0x1befe6=_0x4ba63f[_0x2a6a44(0x558)](_0x26cf17[_0x2a6a44(0x501)]),_0x1c337d=_0x15c7d8[_0x2a6a44(0x509)](),_0x17077a=new _0x3c2e91()[_0x2a6a44(0x2c6)](_0x1c337d,_0x554a75,_0xa59c04,_0x1c908d),_0xd00dae=new _0x5070bf()[_0x2a6a44(0x3ad)](_0x1c337d,_0x17077a),_0xcfdf2b={'unitId':_0x23d70e,'op':_0x17077a},_0x5ad3df={'unitId':_0x23d70e,'op':_0xd00dae};return _0x3cf7ac['syncExecuteCommand'](_0x22dd4d['id'],_0xcfdf2b)?(_0x5396d5[_0x2a6a44(0x542)](_0x23d70e),_0x1befe6['pushUndoRedo']({'unitID':_0x23d70e,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x5ad3df}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xcfdf2b}]}),!0x0):!0x1;}},_0x4f8870={'id':'base.command.set-base-view-sort','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x3cbd16,_0x59e3b4)=>{const _0x58def8=_0x36f63a;if(!_0x59e3b4)return!0x1;let _0x480b53=_0x3cbd16['get'](_0x26cf17['IUniverInstanceService']),{unitId:_0x247ee0,tableId:_0x28a0de,viewId:_0x5b4843,sort:_0xb52f4}=_0x59e3b4,_0x5a3bab=_0x480b53[_0x58def8(0x2e3)](_0x247ee0,_0x26cf17[_0x58def8(0x1ef)][_0x58def8(0x440)]);if(!_0x5a3bab||!_0x4cb030(_0x5a3bab,_0x28a0de,{'viewIds':[_0x5b4843],'fieldIds':_0xb52f4['map'](_0xe8474=>_0xe8474[_0x58def8(0x39c)])}))return!0x1;let _0x2ab1df=_0x3cbd16['get'](_0x26cf17[_0x58def8(0x2d3)]),_0x2d2b51=_0x3cbd16['get'](_0x26cf17['IUndoRedoService']),_0x10bd25=_0x5a3bab[_0x58def8(0x509)](),_0x388ad0=new _0x3c2e91()['setViewSort'](_0x10bd25,_0x28a0de,_0x5b4843,_0xb52f4),_0x494484=new _0x5070bf()['invertOp'](_0x10bd25,_0x388ad0),_0x57d113={'unitId':_0x247ee0,'op':_0x388ad0},_0x4b3b4f={'unitId':_0x247ee0,'op':_0x494484};return _0x2ab1df[_0x58def8(0x234)](_0x22dd4d['id'],_0x57d113)?(_0x480b53[_0x58def8(0x542)](_0x247ee0),_0x2d2b51['pushUndoRedo']({'unitID':_0x247ee0,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x4b3b4f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x57d113}]}),!0x0):!0x1;}},_0x3701b5={'id':_0x36f63a(0x243),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x244976,_0x2c017c){const _0x196867=_0x36f63a;if(!_0x2c017c)return!0x1;let _0x5d6dbe=_0x244976['get'](_0x26cf17[_0x196867(0x4a8)]),{unitId:_0x42b8de,tableId:_0x10107d,recordId:_0x301a06,fieldId:_0xa0847d,value:_0x5480bc}=_0x2c017c,_0x58ee50=_0x5d6dbe[_0x196867(0x2e3)](_0x42b8de,_0x26cf17['UniverInstanceType'][_0x196867(0x440)]);if(!_0x58ee50||!_0x4cb030(_0x58ee50,_0x10107d,{'recordIds':[_0x301a06],'fieldIds':[_0xa0847d]})||!_0x2ef661(_0x58ee50,_0x10107d,_0xa0847d,_0x5480bc))return!0x1;let _0x541076=_0x58ee50['getSnapshot']()[_0x196867(0x594)][_0x10107d],_0x323b6a=_0x2e8fb1(_0x541076,_0xa0847d)&&_0x91f8f5(_0x541076)[_0x196867(0x358)](_0xa0847d),_0x451fed=_0x323b6a?_0x17cc3f(_0x541076,_0xa0847d):null,_0x21deb4=(_0x451fed==null?void 0x0:_0x451fed[_0x196867(0x35e)][_0x196867(0x558)](_0x301a06))??null,_0x2555ae=_0x323b6a?_0x4db4ea(_0x5480bc)[0x0]??null:null;if(_0x451fed){if(_0x2555ae&&!_0x541076[_0x196867(0x4c9)][_0x2555ae])throw new _0x3763ee('missingRecord');let _0x2bef9d=_0xc17f5a(_0x451fed,_0x301a06,_0x2555ae);if(!_0x2bef9d[_0x196867(0x50f)])throw new _0x3763ee(_0x2bef9d[_0x196867(0x560)]===_0x26cf17[_0x196867(0x23e)]['SelfParent']?_0x196867(0x1ca):_0x2bef9d[_0x196867(0x560)]===_0x26cf17[_0x196867(0x23e)]['Cycle']?_0x196867(0x38c):'maxDepth');}let _0x5bcbc6=_0x244976[_0x196867(0x558)](_0x26cf17[_0x196867(0x2d3)]),_0x398cff=_0x244976['get'](_0x26cf17[_0x196867(0x501)]),_0x36d601=_0x244976[_0x196867(0x558)](_0x10f260),_0x4c7604;try{_0x4c7604=_0x36d601[_0x196867(0x3d9)](_0x58ee50,_0x10107d,_0x301a06,_0xa0847d,_0x5480bc);}catch(_0x5e8161){return console[_0x196867(0x2ce)](_0x196867(0x231),_0x5e8161),!0x1;}let _0x24b7ac=new _0x5070bf()[_0x196867(0x3ad)](_0x58ee50[_0x196867(0x509)](),_0x4c7604),_0xa6cf99=_0x323b6a&&_0x21deb4!==_0x2555ae?[{'tableId':_0x10107d,'fieldId':_0xa0847d,'recordId':_0x301a06,'oldParentRecordId':_0x21deb4,'parentRecordId':_0x2555ae}]:void 0x0,_0x3c7b3d={'unitId':_0x42b8de,'op':_0x4c7604,'trigger':_0xa6cf99?_0x3701b5['id']:void 0x0,'hierarchyChanges':_0xa6cf99,'source':_0xa6cf99?_0x2c017c[_0x196867(0x31b)]??'ui':void 0x0},_0x58d8fe={..._0x3c7b3d,'source':_0xa6cf99?_0x196867(0x265):void 0x0},_0x556f9f={'unitId':_0x42b8de,'op':_0x24b7ac,'trigger':_0xa6cf99?_0x3701b5['id']:void 0x0,'hierarchyChanges':_0xa6cf99==null?void 0x0:_0xa6cf99[_0x196867(0x4a5)](_0x28e47d=>({..._0x28e47d,'oldParentRecordId':_0x28e47d[_0x196867(0x283)],'parentRecordId':_0x28e47d[_0x196867(0x369)]})),'source':_0xa6cf99?'undo':void 0x0};return _0x5bcbc6[_0x196867(0x234)](_0x22dd4d['id'],_0x3c7b3d)?(_0x5d6dbe[_0x196867(0x5df)]()||_0x5d6dbe['focusUnit'](_0x42b8de),_0x398cff[_0x196867(0x581)]({'unitID':_0x42b8de,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x556f9f}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x58d8fe}]}),!0x0):!0x1;}},_0x2a30c6={'id':_0x36f63a(0x29b),'type':_0x26cf17['CommandType'][_0x36f63a(0x486)],'handler'(_0x41eefd,_0x37bead){const _0x432dd0=_0x36f63a;if(!_0x37bead)return!0x1;let _0x54202f=_0x41eefd[_0x432dd0(0x558)](_0x26cf17[_0x432dd0(0x4a8)]),{unitId:_0x5302a0,tableId:_0x10f692,fieldId:_0x3937e8}=_0x37bead,_0x114d08=_0x54202f[_0x432dd0(0x2e3)](_0x5302a0,_0x26cf17[_0x432dd0(0x1ef)][_0x432dd0(0x440)]);if(!_0x114d08||!_0x4cb030(_0x114d08,_0x10f692,{'fieldIds':[_0x3937e8]}))return!0x1;let _0x3ed729=_0x41eefd['get'](_0x26cf17[_0x432dd0(0x2d3)]),_0x580bd4=_0x41eefd['get'](_0x26cf17[_0x432dd0(0x501)]),_0x107b77=_0x114d08['getSnapshot'](),_0x329930=_0x37bead[_0x432dd0(0x1ec)][_0x432dd0(0x3ce)](),_0x3f31df=new _0x3c2e91()[_0x432dd0(0x4f8)](_0x107b77,_0x10f692,_0x3937e8,{'description':_0x329930}),_0x2540e7=new _0x5070bf()[_0x432dd0(0x3ad)](_0x114d08['getSnapshot'](),_0x3f31df),_0x5ab309={'unitId':_0x5302a0,'op':_0x3f31df},_0x53d31e={'unitId':_0x5302a0,'op':_0x2540e7};return _0x3ed729[_0x432dd0(0x234)](_0x22dd4d['id'],_0x5ab309)?(_0x54202f[_0x432dd0(0x542)](_0x5302a0),_0x580bd4['pushUndoRedo']({'unitID':_0x5302a0,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x53d31e}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x5ab309}]}),!0x0):!0x1;}},_0x217532={'id':_0x36f63a(0x5e1),'type':_0x26cf17[_0x36f63a(0x34e)]['COMMAND'],'handler':(_0x23b892,_0x4a81f9)=>{const _0x3eda8c=_0x36f63a;if(!_0x4a81f9)return!0x1;let _0x5306a9=_0x23b892[_0x3eda8c(0x558)](_0x26cf17[_0x3eda8c(0x4a8)]),{unitId:_0x45f924,tableId:_0x51d7eb,fieldId:_0x16de0c,patch:_0x314ea5}=_0x4a81f9,_0x197277=_0x5306a9['getUnit'](_0x45f924,_0x26cf17[_0x3eda8c(0x1ef)]['UNIVER_BASE']);if(!_0x197277||_0x16de0c===_0x26cf17[_0x3eda8c(0x478)]||!_0x4cb030(_0x197277,_0x51d7eb,{'fieldIds':[_0x16de0c]}))return!0x1;let _0x8048bb=_0x23b892[_0x3eda8c(0x558)](_0x26cf17[_0x3eda8c(0x2d3)]),_0xe7d8c0=_0x23b892['get'](_0x26cf17['IUndoRedoService']),_0xb52efb=_0x197277[_0x3eda8c(0x509)]();if(!_0x1e8b5f(_0x197277,_0x51d7eb,{..._0xb52efb['tables'][_0x51d7eb][_0x3eda8c(0x458)][_0x16de0c],..._0x314ea5}))return!0x1;let _0x3c16b6=new _0x3c2e91()['updateField'](_0xb52efb,_0x51d7eb,_0x16de0c,_0x314ea5),_0x1b751b=new _0x5070bf()[_0x3eda8c(0x3ad)](_0xb52efb,_0x3c16b6),_0x124e40={'unitId':_0x45f924,'op':_0x3c16b6},_0x420ce0={'unitId':_0x45f924,'op':_0x1b751b};return _0x8048bb['syncExecuteCommand'](_0x22dd4d['id'],_0x124e40)?(_0x5306a9[_0x3eda8c(0x542)](_0x45f924),_0xe7d8c0[_0x3eda8c(0x581)]({'unitID':_0x45f924,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x420ce0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x124e40}]}),!0x0):!0x1;}},_0x7bc6de={'id':_0x36f63a(0x278),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x116cd6,_0x2a1f90)=>{const _0x201d7e=_0x36f63a;if(!_0x2a1f90)return!0x1;let _0x2ef1d7=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x4a8)]),{unitId:_0x26076e,tableId:_0x4381f5,viewId:_0x3b4140,patch:_0x410098}=_0x2a1f90,_0x5048d4=_0x2ef1d7[_0x201d7e(0x2e3)](_0x26076e,_0x26cf17[_0x201d7e(0x1ef)][_0x201d7e(0x440)]);if(!_0x5048d4||!_0x4cb030(_0x5048d4,_0x4381f5,{'viewIds':[_0x3b4140]}))return!0x1;let _0x43c07f=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x2d3)]),_0x3460f7=_0x116cd6[_0x201d7e(0x558)](_0x26cf17[_0x201d7e(0x501)]),_0x576dff=_0x5048d4[_0x201d7e(0x509)](),_0x2792f3=new _0x3c2e91()['updateViewConfig'](_0x576dff,_0x4381f5,_0x3b4140,_0x410098),_0x3411b0=new _0x5070bf()['invertOp'](_0x576dff,_0x2792f3),_0x376163={'unitId':_0x26076e,'op':_0x2792f3},_0x498bd4={'unitId':_0x26076e,'op':_0x3411b0};return _0x43c07f[_0x201d7e(0x234)](_0x22dd4d['id'],_0x376163)?(_0x2ef1d7['focusUnit'](_0x26076e),_0x3460f7['pushUndoRedo']({'unitID':_0x26076e,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x498bd4}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x376163}]}),!0x0):!0x1;}},_0x11441c={'id':_0x36f63a(0x54c),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x423093,_0x2da246)=>{const _0xcfc9c3=_0x36f63a;if(!_0x2da246)return!0x1;let _0x5b10a9=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x4a8)]),{unitId:_0x39e56c,tableId:_0x47d3e1,recordId:_0x1d510e,orderKey:_0x35153b}=_0x2da246,_0x56262c=_0x5b10a9[_0xcfc9c3(0x2e3)](_0x39e56c,_0x26cf17[_0xcfc9c3(0x1ef)][_0xcfc9c3(0x440)]);if(!_0x56262c||!_0x4cb030(_0x56262c,_0x47d3e1,{'recordIds':[_0x1d510e]}))return!0x1;let _0x8d9da1=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x2d3)]),_0x40cbff=_0x423093[_0xcfc9c3(0x558)](_0x26cf17[_0xcfc9c3(0x501)]),_0x38bf3a=_0x56262c[_0xcfc9c3(0x509)](),_0x26f7a4=new _0x3c2e91()[_0xcfc9c3(0x5bb)](_0x38bf3a,_0x47d3e1,_0x1d510e,_0x35153b),_0x1f3fe4=new _0x5070bf()[_0xcfc9c3(0x3ad)](_0x38bf3a,_0x26f7a4),_0x5058b1={'unitId':_0x39e56c,'op':_0x26f7a4},_0x1772e0={'unitId':_0x39e56c,'op':_0x1f3fe4};return _0x8d9da1[_0xcfc9c3(0x234)](_0x22dd4d['id'],_0x5058b1)?(_0x5b10a9[_0xcfc9c3(0x542)](_0x39e56c),_0x40cbff['pushUndoRedo']({'unitID':_0x39e56c,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x1772e0}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x5058b1}]}),!0x0):!0x1;}},_0x2f812f=function(_0x55efeb){const _0x43d0d2=_0x36f63a;return _0x55efeb[_0x43d0d2(0x1e3)]=_0x43d0d2(0x4a9),_0x55efeb[_0x43d0d2(0x3b2)]='add',_0x55efeb[_0x43d0d2(0x45f)]=_0x43d0d2(0x346),_0x55efeb[_0x43d0d2(0x1fa)]=_0x43d0d2(0x1dc),_0x55efeb;}({}),_0x219a50={'id':_0x36f63a(0x503),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x1c527f,_0x47721e)=>{const _0x5e2af8=_0x36f63a;var _0x5887be;if(!_0x47721e)return!0x1;let _0x4a01a1=_0x1c527f['get'](_0x26cf17[_0x5e2af8(0x4a8)]),_0x587584=_0x4a01a1[_0x5e2af8(0x2e3)](_0x47721e[_0x5e2af8(0x41e)],_0x26cf17[_0x5e2af8(0x1ef)][_0x5e2af8(0x440)]);if(!_0x587584||!_0x4cb030(_0x587584,_0x47721e[_0x5e2af8(0x353)],{'viewIds':[_0x47721e['viewId']]}))return!0x1;let _0x4e9523=_0x587584['getSnapshot'](),_0x39cd4b=_0x4e9523[_0x5e2af8(0x594)][_0x47721e[_0x5e2af8(0x353)]],_0x187218=_0xdb90cf(((_0x5887be=_0x39cd4b['views'][_0x47721e['viewId']][_0x5e2af8(0x4cc)][_0x5e2af8(0x457)])==null?void 0x0:_0x5887be[_0x5e2af8(0x29a)])??[],_0x47721e);if(!_0x187218)return!0x1;_0x3a1be5(_0x39cd4b,_0x187218);let _0x1d1da9=new _0x3c2e91()[_0x5e2af8(0x52e)](_0x4e9523,_0x47721e['tableId'],_0x47721e['viewId'],{'conditionalColoring':_0x187218[_0x5e2af8(0x4cd)]?{'rules':_0x187218}:null}),_0x306d46=new _0x5070bf()[_0x5e2af8(0x3ad)](_0x4e9523,_0x1d1da9),_0x3636d5={'unitId':_0x47721e[_0x5e2af8(0x41e)],'op':_0x1d1da9},_0x271615={'unitId':_0x47721e[_0x5e2af8(0x41e)],'op':_0x306d46};return _0x1c527f[_0x5e2af8(0x558)](_0x26cf17[_0x5e2af8(0x2d3)])[_0x5e2af8(0x234)](_0x22dd4d['id'],_0x3636d5)?(_0x4a01a1[_0x5e2af8(0x542)](_0x47721e[_0x5e2af8(0x41e)]),_0x1c527f[_0x5e2af8(0x558)](_0x26cf17[_0x5e2af8(0x501)])[_0x5e2af8(0x581)]({'unitID':_0x47721e['unitId'],'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x271615}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0x3636d5}]}),!0x0):!0x1;}};function _0xdb90cf(_0x4135b3,_0x1c2dfe){const _0x4e5252=_0x36f63a;switch(_0x1c2dfe[_0x4e5252(0x5d6)]){case _0x4e5252(0x4a9):return _0x26cf17[_0x4e5252(0x3e7)][_0x4e5252(0x269)](_0x1c2dfe[_0x4e5252(0x29a)]);case _0x4e5252(0x1ce):return[..._0x26cf17['Tools'][_0x4e5252(0x269)](_0x4135b3),_0x26cf17[_0x4e5252(0x3e7)]['deepClone'](_0x1c2dfe[_0x4e5252(0x423)])];case _0x4e5252(0x346):{let _0x491b42=_0x4135b3['filter'](_0x2815e1=>_0x2815e1['id']!==_0x1c2dfe[_0x4e5252(0x5de)]);return _0x491b42['length']===_0x4135b3[_0x4e5252(0x4cd)]?null:_0x26cf17['Tools']['deepClone'](_0x491b42);}case _0x4e5252(0x1dc):return _0x4135b3['length']?[]:null;}}function _0x3a1be5(_0x3b0c86,_0x1cd756){const _0x5f2566=_0x36f63a;if(!Array[_0x5f2566(0x2c4)](_0x1cd756))throw TypeError(_0x5f2566(0x324));let _0x591363=new Set();for(let [_0xfae968,_0x5a2fba]of _0x1cd756[_0x5f2566(0x443)]())_0xe7924b(_0x3b0c86,_0x5a2fba,_0x1a7394(_0x5a2fba,_0xfae968,_0x591363));}function _0x1a7394(_0x128a7c,_0x259896,_0x138594){const _0x5c6108=_0x36f63a;if(!_0x128a7c||typeof _0x128a7c!=_0x5c6108(0x3e4))throw TypeError(_0x5c6108(0x2de)+_0x259896+_0x5c6108(0x54d));let _0xbe03cb=typeof _0x128a7c['id']=='string'&&_0x128a7c['id']['trim']()?'\x22'+_0x128a7c['id']+'\x22':'at\x20index\x20'+_0x259896;if(typeof _0x128a7c['id']!=_0x5c6108(0x4c8)||!_0x128a7c['id']['trim']())throw Error(_0x5c6108(0x5cc)+_0xbe03cb+_0x5c6108(0x448));if(_0x138594['has'](_0x128a7c['id']))throw Error(_0x5c6108(0x2c9)+_0x128a7c['id']+'\x22.');_0x138594[_0x5c6108(0x1ce)](_0x128a7c['id']);let _0x5a1b97=typeof _0x128a7c[_0x5c6108(0x1cb)]==_0x5c6108(0x4c8)&&_0x128a7c[_0x5c6108(0x1cb)][_0x5c6108(0x3ce)]()?new _0x26cf17[(_0x5c6108(0x344))](_0x128a7c['color']):null;if(!(_0x5a1b97!=null&&_0x5a1b97[_0x5c6108(0x44b)]))throw Error(_0x5c6108(0x5cc)+_0xbe03cb+_0x5c6108(0x609));return _0xbe03cb;}function _0xe7924b(_0x40e30c,_0x7e19c5,_0x3670c8){const _0x5c7b90=_0x36f63a;let _0x54a162=new Set(Object['values'](_0x26cf17[_0x5c7b90(0x1d0)])),_0x5e5b2b=new Set(Object[_0x5c7b90(0x20f)](_0x26cf17[_0x5c7b90(0x218)])),_0x1732a6=new Set(Object[_0x5c7b90(0x20f)](_0x26cf17[_0x5c7b90(0x5dc)]));if(!_0x54a162['has'](_0x7e19c5[_0x5c7b90(0x3b6)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x591)+String(_0x7e19c5[_0x5c7b90(0x3b6)])+'\x22.');let _0x1d7a2b=typeof _0x7e19c5[_0x5c7b90(0x39c)]==_0x5c7b90(0x4c8)?_0x40e30c[_0x5c7b90(0x458)][_0x7e19c5[_0x5c7b90(0x39c)]]:void 0x0;if(!_0x1d7a2b||_0x1d7a2b['system']===!0x0||_0x1d7a2b[_0x5c7b90(0x5d6)]===_0x26cf17['BaseFieldType'][_0x5c7b90(0x4b5)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x7e19c5[_0x5c7b90(0x39c)])+'\x22.');if(!_0x5e5b2b[_0x5c7b90(0x2fa)](_0x7e19c5[_0x5c7b90(0x2a0)]))throw Error(_0x5c7b90(0x5cc)+_0x3670c8+_0x5c7b90(0x350)+String(_0x7e19c5['operator'])+'\x22.');if(_0x7e19c5['dateMode']!==void 0x0&&!_0x1732a6[_0x5c7b90(0x2fa)](_0x7e19c5[_0x5c7b90(0x293)]))throw Error(_0x5c7b90(0x5cc)+_0x3670c8+_0x5c7b90(0x3f5)+String(_0x7e19c5[_0x5c7b90(0x293)])+'\x22.');if(_0x7e19c5[_0x5c7b90(0x3b6)]===_0x26cf17['BaseConditionalColorTarget'][_0x5c7b90(0x2e6)])return;let _0x38cd6d=_0x175c6c(_0x1d7a2b['type']);if(!_0x38cd6d[_0x5c7b90(0x358)](_0x7e19c5[_0x5c7b90(0x2a0)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x41f)+_0x7e19c5['operator']+_0x5c7b90(0x2b0)+_0x1d7a2b[_0x5c7b90(0x5d6)]+_0x5c7b90(0x382)+_0x38cd6d[_0x5c7b90(0x241)](',\x20')+'.');if(_0x7e19c5[_0x5c7b90(0x293)]!==void 0x0&&!_0x35496(_0x1d7a2b['type']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x3670c8+_0x5c7b90(0x1e4));}let _0x554c59={'id':_0x36f63a(0x5d2),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler':(_0x387694,_0x449ec1)=>{const _0x8542c2=_0x36f63a;if(!_0x449ec1)return!0x1;let _0x433c56=_0x387694['get'](_0x26cf17[_0x8542c2(0x4a8)]),{unitId:_0x26db19,tableId:_0x3f0994,viewId:_0x22003b,patch:_0x26f010}=_0x449ec1,_0x4bd313=_0x433c56[_0x8542c2(0x2e3)](_0x26db19,_0x26cf17[_0x8542c2(0x1ef)][_0x8542c2(0x440)]);if(!_0x4bd313||!_0x4cb030(_0x4bd313,_0x3f0994,{'viewIds':[_0x22003b]}))return!0x1;let _0x52a7e3=_0x387694[_0x8542c2(0x558)](_0x26cf17[_0x8542c2(0x2d3)]),_0x2e636a=_0x387694[_0x8542c2(0x558)](_0x26cf17[_0x8542c2(0x501)]),_0x38b773=_0x4bd313['getSnapshot'](),_0x4869ef=new _0x3c2e91()[_0x8542c2(0x52e)](_0x38b773,_0x3f0994,_0x22003b,_0x26f010),_0x3b9f3a=new _0x5070bf()['invertOp'](_0x38b773,_0x4869ef),_0xebed4b={'unitId':_0x26db19,'op':_0x4869ef},_0x2e8643={'unitId':_0x26db19,'op':_0x3b9f3a};return _0x52a7e3[_0x8542c2(0x234)](_0x22dd4d['id'],_0xebed4b)?(_0x433c56['focusUnit'](_0x26db19),_0x2e636a['pushUndoRedo']({'unitID':_0x26db19,'undoMutations':[{'id':_0x22dd4d['id'],'params':_0x2e8643}],'redoMutations':[{'id':_0x22dd4d['id'],'params':_0xebed4b}]}),!0x0):!0x1;}},_0x25cd5e={'id':_0x36f63a(0x5a5),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x486)],'handler'(_0xcbe5,_0x57afe2){const _0x36a53d=_0x36f63a;if(!_0x57afe2)return{'valid':!0x1,'reason':_0x36a53d(0x2e8)};let _0x69779b=_0xcbe5['get'](_0x26cf17[_0x36a53d(0x4a8)])[_0x36a53d(0x2e3)](_0x57afe2[_0x36a53d(0x41e)],_0x26cf17[_0x36a53d(0x1ef)][_0x36a53d(0x440)]),_0x2dd924=_0x69779b==null?void 0x0:_0x69779b[_0x36a53d(0x509)](),_0xad1f27=_0x2dd924==null?void 0x0:_0x2dd924[_0x36a53d(0x594)][_0x57afe2[_0x36a53d(0x353)]];return!_0x2dd924||!_0xad1f27?{'valid':!0x1,'reason':_0x36a53d(0x5d7)}:new _0x24626c()[_0x36a53d(0x225)](_0x57afe2['formula'],_0xad1f27,{'snapshot':_0x2dd924});}},_0x201e06=class extends _0x26cf17['ObjectPermissionRuleModel']{constructor(_0x2105a3){const _0x2b959e=_0x36f63a;super(_0x2105a3,_0x2b959e(0x1ff),_0x26cf17[_0x2b959e(0x1ef)][_0x2b959e(0x440)],[_0xf5110d['UnitObject'][_0x2b959e(0x52c)],_0xf5110d['UnitObject'][_0x2b959e(0x540)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x562)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x30e)],_0xf5110d[_0x2b959e(0x4de)][_0x2b959e(0x48c)]]);}};_0x201e06=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x56c)])],_0x201e06);let _0x475558={'id':'base.mutation.set-permission-rule','type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler':(_0x44795b,_0x4de10f)=>!_0x4de10f||!_0x44795b[_0x36f63a(0x558)](_0x26cf17['IUniverInstanceService'])[_0x36f63a(0x2e3)](_0x4de10f[_0x36f63a(0x41e)],_0x26cf17[_0x36f63a(0x1ef)][_0x36f63a(0x440)])?!0x1:_0x44795b[_0x36f63a(0x558)](_0x201e06)[_0x36f63a(0x4e2)](_0x4de10f['unitId'],_0x4de10f[_0x36f63a(0x5cb)],_0x4de10f[_0x36f63a(0x452)],_0x4de10f['rule'])},_0x4f4152={'id':_0x36f63a(0x43d),'type':_0x26cf17[_0x36f63a(0x34e)][_0x36f63a(0x57a)],'handler':(_0x383d90,_0x2d4fcc)=>!_0x2d4fcc||!_0x383d90[_0x36f63a(0x558)](_0x26cf17[_0x36f63a(0x4a8)])[_0x36f63a(0x2e3)](_0x2d4fcc['unitId'],_0x26cf17[_0x36f63a(0x1ef)]['UNIVER_BASE'])?!0x1:_0x383d90[_0x36f63a(0x558)](_0x201e06)[_0x36f63a(0x2a8)](_0x2d4fcc[_0x36f63a(0x41e)],_0x2d4fcc['rules'])};function _0x37171b(_0x7948be){const _0x367028=_0x36f63a;let _0xd9e5f9=_0x7948be['now']??Date[_0x367028(0x5c9)](),_0x570e96=_0x7948be[_0x367028(0x5ce)]??_0x7948be['id']+_0x367028(0x348),_0x1af2c9=_0x7948be['gridViewId']??_0x7948be['id']+_0x367028(0x541),_0x511a6b=_0x7948be[_0x367028(0x61a)]??0x0,_0x259513=(0x0,_0x26cf17[_0x367028(0x28e)])(),_0x3016ea={'id':_0x570e96,'name':_0x7948be[_0x367028(0x20c)]??'Name','type':_0x26cf17[_0x367028(0x22d)][_0x367028(0x286)],'config':{'placeholder':_0x367028(0x370)}},_0x1cf57b={},_0x3c461c=[],_0x3b7e74={},_0x587731={},_0x109d12={};for(let _0x1c7b6d=0x0;_0x1c7b6d<_0x511a6b;_0x1c7b6d++){let _0x22d551=_0x7948be['id']+'-record-'+(_0x1c7b6d+0x1);_0x1cf57b[_0x22d551]={'id':_0x22d551,'values':{[_0x26cf17[_0x367028(0x478)]]:_0x22d551,..._0x7948be[_0x367028(0x1de)]?{[_0x570e96]:_0x7948be[_0x367028(0x1de)]+'\x20'+(_0x1c7b6d+0x1)}:{}},'orderKey':String(_0x1c7b6d+0x1)[_0x367028(0x2be)](0x4,'0'),'createdAt':_0xd9e5f9,'updatedAt':_0xd9e5f9},_0x3c461c[_0x367028(0x605)](_0x22d551),_0x3b7e74[_0x22d551]=_0x1c7b6d,_0x587731[_0x1c7b6d]=_0x22d551,_0x109d12[_0x1c7b6d]={0x0:{'v':_0x22d551,'t':_0x26cf17[_0x367028(0x555)]['STRING']}},_0x7948be[_0x367028(0x1de)]&&(_0x109d12[_0x1c7b6d][0x1]={'v':_0x7948be[_0x367028(0x1de)]+'\x20'+(_0x1c7b6d+0x1),'t':_0x26cf17[_0x367028(0x555)]['STRING']});}let _0x48f9db={'id':_0x1af2c9,'tableId':_0x7948be['id'],'name':_0x367028(0x521),'type':_0x26cf17['BaseViewType'][_0x367028(0x521)],'fieldOrder':[_0x26cf17[_0x367028(0x478)],_0x570e96],'fieldSettings':{[_0x26cf17[_0x367028(0x478)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x7948be['id'],'name':_0x7948be['name'],'primaryFieldId':_0x570e96,'fieldOrder':[_0x26cf17[_0x367028(0x478)],_0x570e96],'fields':{[_0x26cf17['BASE_RECORD_ID_FIELD_ID']]:_0x259513,[_0x570e96]:_0x3016ea},'records':_0x1cf57b,'recordOrder':_0x3c461c,'rowIndex':_0x3b7e74,'rowId':_0x587731,'colIndex':{[_0x26cf17[_0x367028(0x478)]]:0x0,[_0x570e96]:0x1},'colId':{0x0:_0x26cf17[_0x367028(0x478)],0x1:_0x570e96},'cellData':_0x109d12,'views':{[_0x1af2c9]:_0x48f9db},'viewOrder':[_0x1af2c9]};}let _0x260313=_0x36f63a(0x535);function _0x572bf3(_0x1cf0dc){const _0x489002=_0x36f63a;let _0x23dd3f=_0x37171b({'id':_0x1cf0dc[_0x489002(0x483)],'name':_0x1cf0dc[_0x489002(0x3f8)]??_0x1cf0dc[_0x489002(0x4d5)],'recordCount':0x0});return{..._0x23dd3f,'resources':{..._0x23dd3f[_0x489002(0x26a)]??{},[_0x260313]:_0x138c76(_0x1cf0dc)}};}function _0xcb509f(_0x22b401){const _0x51db26=_0x36f63a;return{'id':_0x22dd4d['id'],'params':{'unitId':_0x22b401['unitId'],'op':_0x26cf17[_0x51db26(0x2a4)][_0x51db26(0x5d6)][_0x51db26(0x44a)](_0x26cf17['JSON1'][_0x51db26(0x4b1)]([_0x51db26(0x594),_0x22b401['table']['id']],_0x22b401[_0x51db26(0x551)]),_0x26cf17[_0x51db26(0x2a4)]['insertOp']([_0x51db26(0x260),_0x22b401[_0x51db26(0x21b)]??_0x22b401['snapshot']['tableOrder']['length']],_0x22b401[_0x51db26(0x551)]['id'])),'trigger':_0x51db26(0x2ea)}};}function _0x5dff2e(_0x5e2bd0){const _0x3e039e=_0x36f63a;let _0x548e96=_0x5e2bd0['snapshot'][_0x3e039e(0x260)]['indexOf'](_0x5e2bd0[_0x3e039e(0x353)]);if(!(!_0x5e2bd0[_0x3e039e(0x248)][_0x3e039e(0x594)][_0x5e2bd0['tableId']]||_0x548e96<0x0))return{'id':_0x22dd4d['id'],'params':{'unitId':_0x5e2bd0[_0x3e039e(0x41e)],'op':_0x26cf17['JSON1']['type'][_0x3e039e(0x44a)](_0x26cf17[_0x3e039e(0x2a4)][_0x3e039e(0x427)]([_0x3e039e(0x594),_0x5e2bd0[_0x3e039e(0x353)]],_0x5e2bd0[_0x3e039e(0x248)][_0x3e039e(0x594)][_0x5e2bd0[_0x3e039e(0x353)]]),_0x26cf17[_0x3e039e(0x2a4)]['removeOp'](['tableOrder',_0x548e96],_0x5e2bd0[_0x3e039e(0x353)])),'trigger':_0x3e039e(0x2ea)}};}function _0x138c76(_0x5448f1){const _0x190cdf=_0x36f63a;return{'version':0x1,'embedId':_0x5448f1['embedId'],'hostAnchorId':_0x5448f1[_0x190cdf(0x483)],'childUnitId':_0x5448f1[_0x190cdf(0x4f9)],'childType':_0x5448f1[_0x190cdf(0x43c)]};}function _0x4921f7(_0x282354){const _0x144a06=_0x36f63a;let _0x47bbe3=Math[_0x144a06(0x5a7)](0x0,Number(_0x282354[_0x144a06(0x289)]??0x0)),_0x6b7b91=_0x282354['useThousands']===!0x1?'0':_0x144a06(0x2d1),_0x3884de=_0x47bbe3?'.'+'0'[_0x144a06(0x1cd)](_0x47bbe3):'',_0xc317ec=_0x2cfd48(_0x282354['abbreviation']);return''+(_0x282354[_0x144a06(0x598)]?_0x41d892(_0x282354['currencySymbol']):'')+_0x6b7b91+_0x3884de+_0xc317ec;}function _0x2d4820(_0x342116,_0x58bf57){const _0x252e2e=_0x36f63a;let _0x139769=_0x4921f7(_0x58bf57),_0x7a1860=_0x26cf17['numfmt']['format'](_0x139769,_0x342116,{'throws':!0x1});return _0x59f134(String(_0x7a1860),_0x58bf57[_0x252e2e(0x1f3)],_0x58bf57[_0x252e2e(0x3b8)]);}function _0x2cfd48(_0x2c8da2){const _0x4be520=_0x36f63a;return _0x2c8da2==='K'?_0x4be520(0x37e):_0x2c8da2==='M'?_0x4be520(0x271):_0x2c8da2==='B'?_0x4be520(0x2c2):'';}function _0x41d892(_0x3420ce){return/^[A-Z]+$/i['test'](_0x3420ce)?'\x22'+_0x3420ce+'\x22':_0x3420ce;}function _0x59f134(_0x10318d,_0xb0ba4c,_0x9de1c5){const _0x5c0016=_0x36f63a;let _0x54b785=_0xb0ba4c===_0x5c0016(0x222)?_0x149b09(_0x9de1c5):_0xb0ba4c;return _0x54b785==='periodComma'?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x00')[_0x5c0016(0x2ed)](/\./g,',')[_0x5c0016(0x2ed)](/\0/g,'.'):_0x54b785===_0x5c0016(0x550)?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x20')['replace'](/\./g,','):_0x54b785===_0x5c0016(0x1cf)?_0x10318d[_0x5c0016(0x2ed)](/,/g,'\x20'):_0x10318d;}function _0x149b09(_0x212b2a){const _0x45edf9=_0x36f63a;var _0x57210a,_0x56b02c;let _0xab2e4c=_0x212b2a||new Intl[(_0x45edf9(0x4bb))]()[_0x45edf9(0x47a)]()['locale'],_0x59ef23;try{_0x59ef23=new Intl[(_0x45edf9(0x4bb))](_0xab2e4c,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x45edf9(0x33c);}let _0x5c7a00=(_0x57210a=_0x59ef23[_0x45edf9(0x396)](_0x54ea67=>_0x54ea67['type']===_0x45edf9(0x58b)))==null?void 0x0:_0x57210a[_0x45edf9(0x5a4)],_0x26c2dd=(_0x56b02c=_0x59ef23[_0x45edf9(0x396)](_0x4e1172=>_0x4e1172[_0x45edf9(0x5d6)]===_0x45edf9(0x295)))==null?void 0x0:_0x56b02c[_0x45edf9(0x5a4)],_0x2ba5b5=_0x5c7a00==='\u00a0'||_0x5c7a00==='\u202f'?'\x20':_0x5c7a00;return _0x2ba5b5==='.'&&_0x26c2dd===','?_0x45edf9(0x469):_0x2ba5b5==='\x20'&&_0x26c2dd===','?'spaceComma':_0x2ba5b5==='\x20'&&_0x26c2dd==='.'?_0x45edf9(0x1cf):_0x45edf9(0x33c);}function _0x46e601(_0x25be0a,_0x5be617){const _0x289d72=_0x36f63a;let _0x57aa85=_0x5be617&&typeof _0x5be617==_0x289d72(0x3e4)&&!Array['isArray'](_0x5be617)?_0x5be617:{},_0x5882bc=_0x33996e(_0x57aa85[_0x289d72(0x289)],0x0,0x2,0x0),_0x34594e=_0x25be0a[_0x289d72(0x2cb)](_0x5882bc);return _0x57aa85['format']==='number'?_0x34594e:_0x34594e+'%';}function _0x33996e(_0xd1a56a,_0x578882,_0x5aaf8d,_0x458e0d){const _0x30a58c=_0x36f63a;if(_0xd1a56a==null||_0xd1a56a==='')return _0x458e0d;let _0x18405f=typeof _0xd1a56a=='number'?_0xd1a56a:Number(_0xd1a56a);return Number['isFinite'](_0x18405f)?Math[_0x30a58c(0x5a7)](_0x578882,Math[_0x30a58c(0x275)](_0x5aaf8d,Math[_0x30a58c(0x1af)](_0x18405f))):_0x458e0d;}let _0x37064d=['count',_0x36f63a(0x435),_0x36f63a(0x325),_0x36f63a(0x1e0),_0x36f63a(0x557),'average','min',_0x36f63a(0x5a7)],_0x59ec3e=[_0x36f63a(0x364),_0x36f63a(0x435),'empty',_0x36f63a(0x1e0)],_0x27df7a=[_0x36f63a(0x557),_0x36f63a(0x246),_0x36f63a(0x275),_0x36f63a(0x5a7)],_0x5504e6=[_0x36f63a(0x275),_0x36f63a(0x5a7)],_0x1929e7=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x1ab)],_0x26cf17['BaseFieldType'][_0x36f63a(0x4b6)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x3cf)],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x372)]]),_0x4d716b=new Set([_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x36d)],_0x26cf17[_0x36f63a(0x22d)]['Person'],_0x26cf17[_0x36f63a(0x22d)][_0x36f63a(0x4ef)]]),_0x117329=_0x36f63a(0x432);function _0x1ba817(_0x5cf873){const _0x88f1fb=_0x36f63a;return typeof _0x5cf873==_0x88f1fb(0x4c8)&&_0x37064d[_0x88f1fb(0x358)](_0x5cf873);}function _0x7f18f8(_0x3fd170){const _0x3c82cb=_0x36f63a;return!_0x3fd170||typeof _0x3fd170!=_0x3c82cb(0x3e4)?{}:Object[_0x3c82cb(0x60c)](Object[_0x3c82cb(0x443)](_0x3fd170)['filter'](_0x52d952=>_0x1ba817(_0x52d952[0x1])));}function _0x35da72(_0xe4571b){const _0x2a61ee=_0x36f63a;return _0x1929e7[_0x2a61ee(0x2fa)](_0xe4571b[_0x2a61ee(0x5d6)])?[..._0x59ec3e,..._0x27df7a]:_0xe4571b[_0x2a61ee(0x5d6)]===_0x26cf17[_0x2a61ee(0x22d)]['Formula']?[..._0x59ec3e,..._0x492298(_0xe4571b)==='date'?_0x5504e6:_0x27df7a]:_0x59ec3e;}function _0xf5ac86(_0x35782e,_0x4ce06e){return _0x35da72(_0x35782e)['includes'](_0x4ce06e);}function _0x4d141c(_0x3fe975,_0x495bd6,_0x440e95){const _0x47565b=_0x36f63a;if(!_0xf5ac86(_0x3fe975,_0x440e95))return null;let _0x4deb68=_0x495bd6[_0x47565b(0x46a)](_0x328015=>!_0xacde3b(_0x3fe975,_0x328015));switch(_0x440e95){case _0x47565b(0x364):return _0x495bd6[_0x47565b(0x4cd)];case _0x47565b(0x435):return _0x4deb68['length'];case _0x47565b(0x325):return _0x495bd6['length']-_0x4deb68[_0x47565b(0x4cd)];case'unique':return new Set(_0x4deb68[_0x47565b(0x4a5)](_0x19e4bf=>_0x71a20c(_0x3fe975,_0x19e4bf)))[_0x47565b(0x52b)];case _0x47565b(0x557):{let _0x3c3c6a=_0x4f33ec(_0x3fe975,_0x4deb68);return _0x3c3c6a[_0x47565b(0x4cd)]?_0x24808a(_0x3c3c6a):null;}case _0x47565b(0x246):{let _0xf75230=_0x4f33ec(_0x3fe975,_0x4deb68);return _0xf75230[_0x47565b(0x4cd)]?_0x24808a(_0xf75230)/_0xf75230['length']:null;}case'min':{let _0x974ed6=_0x4f33ec(_0x3fe975,_0x4deb68);return _0x974ed6[_0x47565b(0x4cd)]?Math['min'](..._0x974ed6):null;}case _0x47565b(0x5a7):{let _0xbf23a2=_0x4f33ec(_0x3fe975,_0x4deb68);return _0xbf23a2[_0x47565b(0x4cd)]?Math[_0x47565b(0x5a7)](..._0xbf23a2):null;}}}function _0x5118c9(_0x449759,_0x5a7bc9,_0x304293){const _0x1da141=_0x36f63a;if(_0x304293==null||!Number['isFinite'](_0x304293))return'-';if(_0x59ec3e['includes'](_0x5a7bc9))return String(_0x304293);switch(_0x449759[_0x1da141(0x5d6)]){case _0x26cf17[_0x1da141(0x22d)]['Number']:return _0x2d4820(_0x304293,_0x36f981(_0x449759));case _0x26cf17['BaseFieldType'][_0x1da141(0x4b6)]:return _0x2d4820(_0x304293,_0x5ce3e4(_0x449759));case _0x26cf17['BaseFieldType'][_0x1da141(0x3cf)]:return _0x46e601(_0x304293,_0x449759[_0x1da141(0x4cc)]);case _0x26cf17['BaseFieldType'][_0x1da141(0x274)]:return _0x58d968(_0x304293,_0x449759);default:return _0xd58d18(_0x304293);}}function _0xacde3b(_0x5824b1,_0x2b90d3){const _0x2fb7a0=_0x36f63a;if(_0x2b90d3==null)return!0x0;if(typeof _0x2b90d3==_0x2fb7a0(0x4c8))return _0x2b90d3[_0x2fb7a0(0x3ce)]()==='';if(Array[_0x2fb7a0(0x2c4)](_0x2b90d3))return _0x5824b1[_0x2fb7a0(0x5d6)]===_0x26cf17['BaseFieldType'][_0x2fb7a0(0x50b)]?!_0x2b90d3[_0x2fb7a0(0x2c3)](_0x58d808):_0x2b90d3[_0x2fb7a0(0x4cd)]===0x0;if(_0x5824b1[_0x2fb7a0(0x5d6)]===_0x26cf17[_0x2fb7a0(0x22d)][_0x2fb7a0(0x205)]&&typeof _0x2b90d3==_0x2fb7a0(0x3e4)){let _0x2773c3=_0x2b90d3;return[_0x2773c3[_0x2fb7a0(0x1c8)],_0x2773c3['url']]['every'](_0x56487f=>_0x56487f==null||String(_0x56487f)[_0x2fb7a0(0x3ce)]()==='');}return!0x1;}function _0x4f33ec(_0x3a79ed,_0x3dae76){let _0x331ce8=[];for(let _0x33b510 of _0x3dae76){let _0x41a4c3=_0x13fbba(_0x3a79ed,_0x33b510);_0x41a4c3!=null&&_0x331ce8['push'](_0x41a4c3);}return _0x331ce8;}function _0x13fbba(_0x43a31f,_0xa7a4ba){const _0x419cd7=_0x36f63a;if(typeof _0xa7a4ba==_0x419cd7(0x5ac))return Number[_0x419cd7(0x26b)](_0xa7a4ba)?_0xa7a4ba:null;if(_0x43a31f['type']!==_0x26cf17[_0x419cd7(0x22d)][_0x419cd7(0x274)]&&typeof _0xa7a4ba==_0x419cd7(0x4c8)&&_0xa7a4ba[_0x419cd7(0x3ce)]()!==''){let _0x184e2=Number(_0xa7a4ba);return Number['isFinite'](_0x184e2)?_0x184e2:null;}return null;}function _0x24808a(_0x260dbb){const _0x275c3c=_0x36f63a;let _0x2de28b=0x0,_0x461e00=0x0;for(let _0x3975a3 of _0x260dbb){let _0x296545=_0x2de28b+_0x3975a3;_0x461e00+=Math['abs'](_0x2de28b)>=Math[_0x275c3c(0x57c)](_0x3975a3)?_0x2de28b-_0x296545+_0x3975a3:_0x3975a3-_0x296545+_0x2de28b,_0x2de28b=_0x296545;}return _0x2de28b+_0x461e00;}function _0x71a20c(_0x28f566,_0x3cf4c6){const _0x5842b9=_0x36f63a;return _0x4d716b[_0x5842b9(0x2fa)](_0x28f566[_0x5842b9(0x5d6)])&&Array['isArray'](_0x3cf4c6)?_0x5ab050([...new Set(_0x3cf4c6['map'](_0xe0fc7c=>_0x5ab050(_0x4f4769(_0xe0fc7c))))][_0x5842b9(0x30f)]()):_0x5ab050(_0x4f4769(_0x3cf4c6));}function _0x4f4769(_0x515de3){const _0x562889=_0x36f63a;return Array[_0x562889(0x2c4)](_0x515de3)?_0x515de3[_0x562889(0x4a5)](_0x4f4769):_0x515de3&&typeof _0x515de3==_0x562889(0x3e4)?Object[_0x562889(0x60c)](Object[_0x562889(0x443)](_0x515de3)[_0x562889(0x30f)](([_0x11b043],[_0x52eb8f])=>_0x11b043['localeCompare'](_0x52eb8f))[_0x562889(0x4a5)](([_0x9d465c,_0x9daabb])=>[_0x9d465c,_0x4f4769(_0x9daabb)])):_0x515de3;}function _0x5ab050(_0x116ce4){const _0x5bf9c2=_0x36f63a;return JSON[_0x5bf9c2(0x40a)](_0x116ce4)??_0x5bf9c2(0x31d);}function _0x58d808(_0x13c58e){const _0x4fabea=_0x36f63a;if(typeof _0x13c58e==_0x4fabea(0x4c8))return _0x13c58e[_0x4fabea(0x3ce)]()!=='';if(!_0x13c58e||typeof _0x13c58e!=_0x4fabea(0x3e4))return!0x1;let _0x2328b8=_0x13c58e;return[_0x2328b8['id'],_0x2328b8[_0x4fabea(0x3f8)],_0x2328b8[_0x4fabea(0x31b)],_0x2328b8[_0x4fabea(0x3f2)],_0x2328b8[_0x4fabea(0x2d0)]][_0x4fabea(0x2c3)](_0x7c2422=>_0x7c2422!=null&&String(_0x7c2422)[_0x4fabea(0x3ce)]()!=='');}function _0x36f981(_0x3ec027){const _0x28edbc=_0x36f63a;let _0x8871db=_0x4ef6d0(_0x3ec027[_0x28edbc(0x4cc)]);return{'decimalPlaces':_0x45ee23(_0x8871db[_0x28edbc(0x289)],0x0,0x14,0x2),'separatorStyle':typeof _0x8871db['separatorStyle']==_0x28edbc(0x4c8)?_0x8871db[_0x28edbc(0x1f3)]:_0x28edbc(0x222),'locale':typeof _0x8871db[_0x28edbc(0x3b8)]==_0x28edbc(0x4c8)?_0x8871db['locale']:void 0x0,'useThousands':_0x8871db['useThousands']!==!0x1,'abbreviation':typeof _0x8871db[_0x28edbc(0x219)]==_0x28edbc(0x4c8)?_0x8871db[_0x28edbc(0x219)]:_0x28edbc(0x272)};}function _0x5ce3e4(_0x4da2ff){const _0x550144=_0x36f63a;let _0x2124ec=_0x4ef6d0(_0x4da2ff[_0x550144(0x4cc)]);return{..._0x36f981(_0x4da2ff),'currencySymbol':String(_0x2124ec['currencySymbol']??'$')};}function _0x58d968(_0x1b5f31,_0x491e27){const _0x26d90a=_0x36f63a;let _0x32ad77=_0x3e8b5d(_0x491e27);if(_0x32ad77===_0x117329)return _0xd58d18(_0x1b5f31);try{return String(_0x26cf17[_0x26d90a(0x4d2)][_0x26d90a(0x5da)](_0x32ad77,_0x1b5f31,{'throws':!0x1}));}catch{return _0xd58d18(_0x1b5f31);}}function _0x492298(_0x180003){const _0x4cf3a0=_0x36f63a;let _0xc7556d=_0x4ef6d0(_0x4ef6d0(_0x180003[_0x4cf3a0(0x4cc)])[_0x4cf3a0(0x4d2)]);return typeof _0xc7556d[_0x4cf3a0(0x5d6)]=='string'?_0xc7556d[_0x4cf3a0(0x5d6)]:_0x4cf3a0(0x561);}function _0x3e8b5d(_0x2f1c4f){const _0x2050da=_0x36f63a;let _0x54c9cb=_0x4ef6d0(_0x4ef6d0(_0x2f1c4f['config'])[_0x2050da(0x4d2)]);return String(_0x54c9cb['pattern']??_0x117329)['trim']()||_0x117329;}function _0xd58d18(_0x303a74){const _0x4144c4=_0x36f63a;return String(Number[_0x4144c4(0x497)](_0x303a74)?_0x303a74:Math['round']((_0x303a74+0x2**-0x34)*0x64)/0x64);}function _0x4ef6d0(_0x9b9bd7){const _0x1815c8=_0x36f63a;return _0x9b9bd7&&typeof _0x9b9bd7==_0x1815c8(0x3e4)&&!Array['isArray'](_0x9b9bd7)?_0x9b9bd7:{};}function _0x2eca2c(_0x52e1f3){const _0x27b6f2=_0x36f63a;if(_0x52e1f3==null||_0x52e1f3==='')return null;let _0x309d69=typeof _0x52e1f3==_0x27b6f2(0x5ac)?_0x52e1f3:Number(_0x52e1f3);return Number[_0x27b6f2(0x26b)](_0x309d69)?_0x309d69:null;}function _0x45ee23(_0x4df9c7,_0x2c8f4c,_0x4b502d,_0x11469e){const _0x1a732c=_0x36f63a;let _0x28c0df=_0x2eca2c(_0x4df9c7);return _0x28c0df==null?_0x11469e:Math['max'](_0x2c8f4c,Math[_0x1a732c(0x275)](_0x4b502d,Math[_0x1a732c(0x1af)](_0x28c0df)));}function _0x4a5d23(_0x2367aa,_0x33598d){const _0xa840d7=_0x36f63a;let _0x15cbe4=_0x26cf17[_0xa840d7(0x3e7)][_0xa840d7(0x269)](_0x2367aa),_0x5d8929=_0x33598d[_0xa840d7(0x25f)]===!0x0,_0x3c72bb=new Map(),_0x1c5699=_0x33598d[_0xa840d7(0x3fc)]??(()=>_0xa840d7(0x51f)+(0x0,_0x26cf17[_0xa840d7(0x5af)])(0x8)),_0x15723a=_0x15cbe4[_0xa840d7(0x226)];return _0x33598d[_0xa840d7(0x51a)]&&(_0x15723a=_0x15cbe4[_0xa840d7(0x226)][_0xa840d7(0x4a5)](_0x300081=>{let _0x420bdb=_0x1c5699();return _0x3c72bb['set'](_0x300081,_0x420bdb),_0x420bdb;})),{..._0x15cbe4,'id':_0x33598d['id'],'name':_0x33598d[_0xa840d7(0x3f8)],'records':_0x5d8929?_0x15cbe4[_0xa840d7(0x4c9)]:{},'recordOrder':_0x5d8929?_0x15cbe4[_0xa840d7(0x2ba)]:[],'rowIndex':_0x5d8929?_0x15cbe4['rowIndex']:{},'rowId':_0x5d8929?_0x15cbe4[_0xa840d7(0x51d)]:{},'cellData':_0x5d8929?_0x15cbe4[_0xa840d7(0x61f)]:{},'resources':_0x5d8929?_0x15cbe4[_0xa840d7(0x26a)]:{},'viewOrder':_0x15723a,'views':Object[_0xa840d7(0x60c)](Object['entries'](_0x15cbe4[_0xa840d7(0x3d8)]??{})[_0xa840d7(0x4a5)](([_0x4b19b5,_0x6cadb5])=>{const _0x330b1b=_0xa840d7;let _0x2c550e=_0x3c72bb[_0x330b1b(0x558)](_0x4b19b5)??(_0x33598d['regenerateViewIds']?_0x1c5699():_0x4b19b5);return[_0x2c550e,{..._0x6cadb5,'id':_0x2c550e,'tableId':_0x33598d['id']}];}))};}var _0x3ba0a5=_0x36f63a(0x408),_0x594a2f='1.3.0';let _0x5e802a={},_0x49f644={};function _0x4bcf2f(_0x29ae19){const _0xc7fd69=_0x36f63a;return new _0x5070bf()[_0xc7fd69(0x2b7)](_0x29ae19);}function _0x2d6e39(_0x2b688f){const _0x56814e=_0x36f63a;return _0x2b688f[_0x56814e(0x530)][_0x56814e(0x4a5)](_0x205ae1=>({'unitId':_0x2b688f[_0x56814e(0x41e)],'sheetId':_0x2b688f[_0x56814e(0x353)],'range':{'startRow':_0x205ae1[_0x56814e(0x5dd)],'endRow':_0x205ae1[_0x56814e(0x5dd)],'startColumn':_0x205ae1[_0x56814e(0x46c)],'endColumn':_0x205ae1[_0x56814e(0x46c)]}}));}function _0x115dfd(_0x1bfd7d,_0xf29cb7){const _0x5759cb=_0x36f63a;return{[_0x1bfd7d]:Object['fromEntries'](_0xf29cb7[_0x5759cb(0x4a5)](_0x53353e=>[_0x53353e,'1']))};}let _0x2f870d=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x25d11f,_0x441771){const _0x1f5834=_0x36f63a;super(),this[_0x1f5834(0x3e6)]=_0x25d11f,this[_0x1f5834(0x299)]=_0x441771,this[_0x1f5834(0x50a)]();}['_initialize'](){const _0x4fb356=_0x36f63a;this['_activeDirtyManagerService'][_0x4fb356(0x397)](_0x22dd4d['id'],{'commandId':_0x22dd4d['id'],'getDirtyData':_0x1713f0=>this['_getJson1DirtyData'](_0x1713f0[_0x4fb356(0x327)])}),this['disposeWithMe']((0x0,_0x26cf17[_0x4fb356(0x3a2)])(()=>{this['_activeDirtyManagerService']['remove'](_0x22dd4d['id']);}));}[_0x36f63a(0x612)](_0x3be983,_0x22e763){const _0x195bed=_0x36f63a;let _0x625c94=this[_0x195bed(0x299)][_0x195bed(0x2e3)](_0x3be983,_0x26cf17['UniverInstanceType'][_0x195bed(0x440)]);return(_0x625c94==null?void 0x0:_0x625c94[_0x195bed(0x509)]()[_0x195bed(0x594)][_0x22e763])??null;}[_0x36f63a(0x239)](_0x5504e0){const _0x39fe02=_0x36f63a;if(_0x5504e0['trigger']===_0x39fe02(0x334))return{};if(!_0x5504e0['unitId']||!_0x5504e0['op'])return{'clearDependencyTreeCache':this[_0x39fe02(0x53a)](),'forceCalculation':!0x0};let _0x530787=_0x4bcf2f(_0x5504e0['op']),_0x3163d5=this[_0x39fe02(0x4be)](_0x5504e0['unitId'],_0x530787);if(_0x3163d5[_0x39fe02(0x4cd)])return{'clearDependencyTreeCache':_0x115dfd(_0x5504e0[_0x39fe02(0x41e)],_0x3163d5),'forceCalculation':!0x0};let _0x272ff5=Object[_0x39fe02(0x443)](this[_0x39fe02(0x519)](_0x5504e0[_0x39fe02(0x41e)],_0x530787))[_0x39fe02(0x35a)](([_0x4dbde5,_0x309ddd])=>_0x2d6e39({'unitId':_0x5504e0[_0x39fe02(0x41e)],'tableId':_0x4dbde5,'patches':_0x309ddd}));return _0x272ff5['length']?{'dirtyRanges':_0x272ff5}:{};}[_0x36f63a(0x4be)](_0x43f605,_0x5c8eee){const _0x5d8b45=_0x36f63a;let _0x38713b=_0x5c8eee[_0x5d8b45(0x46a)](_0x416741=>_0x416741[_0x5d8b45(0x560)]!==_0x5d8b45(0x49d))['flatMap'](_0x3ab401=>_0x3ab401[_0x5d8b45(0x353)]?[_0x3ab401[_0x5d8b45(0x353)]]:this['_getAllTableIds'](_0x43f605));return Array[_0x5d8b45(0x356)](new Set(_0x38713b));}[_0x36f63a(0x519)](_0x46d44f,_0x26d45d){const _0x4bb8fe=_0x36f63a;let _0x319b26=new Set();return _0x26d45d[_0x4bb8fe(0x49f)]((_0x278de0,_0x390f98)=>{const _0x50ce93=_0x4bb8fe;let _0x4e7468=this[_0x50ce93(0x5e6)](_0x46d44f,_0x390f98);if(!_0x4e7468)return _0x278de0;let _0x246199=_0x390f98[_0x50ce93(0x353)]+':'+_0x4e7468[_0x50ce93(0x5dd)]+':'+_0x4e7468['col'];return _0x319b26[_0x50ce93(0x2fa)](_0x246199)||(_0x319b26[_0x50ce93(0x1ce)](_0x246199),_0x278de0[_0x390f98[_0x50ce93(0x353)]]=_0x278de0[_0x390f98['tableId']]??[],_0x278de0[_0x390f98[_0x50ce93(0x353)]][_0x50ce93(0x605)](_0x4e7468)),_0x278de0;},{});}['_toDirtyRangePatch'](_0x84917b,_0x5c7d10){const _0x5f2504=_0x36f63a;if(_0x5c7d10[_0x5f2504(0x560)]!==_0x5f2504(0x49d))return null;if(_0x5c7d10[_0x5f2504(0x5dd)]!=null&&_0x5c7d10[_0x5f2504(0x582)]!=null)return{'row':_0x5c7d10['row'],'col':_0x5c7d10[_0x5f2504(0x582)],'value':null};if(!_0x5c7d10['recordId']||!_0x5c7d10['fieldId'])return null;let _0x597475=this[_0x5f2504(0x612)](_0x84917b,_0x5c7d10['tableId']);if(!_0x597475)return null;let _0x416d2d=_0x45e3a4(_0x597475,_0x5c7d10[_0x5f2504(0x571)],_0x5c7d10[_0x5f2504(0x39c)]);return _0x416d2d?{'row':_0x416d2d[_0x5f2504(0x5dd)],'col':_0x416d2d[_0x5f2504(0x46c)],'value':null}:null;}[_0x36f63a(0x36b)](_0x2284f6){const _0x23c059=_0x36f63a;let _0x556c27=this[_0x23c059(0x299)]['getUnit'](_0x2284f6,_0x26cf17[_0x23c059(0x1ef)][_0x23c059(0x440)]);return Object[_0x23c059(0x20f)]((_0x556c27==null?void 0x0:_0x556c27['getSnapshot']()[_0x23c059(0x594)])??{})[_0x23c059(0x4a5)](_0x26f438=>_0x26f438['id']);}[_0x36f63a(0x53a)](){const _0x3a6a91=_0x36f63a;let _0x49bc4c=this[_0x3a6a91(0x299)][_0x3a6a91(0x1c0)](_0x26cf17[_0x3a6a91(0x1ef)][_0x3a6a91(0x440)])[_0x3a6a91(0x4a5)](_0xe069ba=>_0x115dfd(_0xe069ba[_0x3a6a91(0x4f5)](),Object[_0x3a6a91(0x40d)](_0xe069ba[_0x3a6a91(0x509)]()[_0x3a6a91(0x594)])));return Object[_0x3a6a91(0x25c)]({},..._0x49bc4c);}};_0x2f870d=_0x184c3d([_0x5712fb(0x0,_0x386470[_0x36f63a(0x43a)]),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x4a8)])],_0x2f870d);let _0x5ac30b=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0x3641d8,_0x42e9cd,_0x5b003f,_0x2b87ee){const _0x1500a5=_0x36f63a;super(),this[_0x1500a5(0x417)]=_0x3641d8,this[_0x1500a5(0x299)]=_0x42e9cd,this[_0x1500a5(0x347)]=_0x5b003f,this['_formulaCalculationSessionService']=_0x2b87ee,_0x52a6e5(this,'_formulaService',new _0x24626c()),_0x52a6e5(this,_0x1500a5(0x331),new Map()),_0x52a6e5(this,_0x1500a5(0x413),new Set()),_0x52a6e5(this,_0x1500a5(0x32d),Promise[_0x1500a5(0x3db)]()),_0x52a6e5(this,_0x1500a5(0x5ef),!0x1),this['_initialize']();}[_0x36f63a(0x50a)](){const _0x2d5a55=_0x36f63a;this[_0x2d5a55(0x299)]['getAllUnitsForType'](_0x26cf17[_0x2d5a55(0x1ef)][_0x2d5a55(0x440)])[_0x2d5a55(0x1bf)](_0x3d438a=>{const _0x512ad3=_0x2d5a55;this[_0x512ad3(0x235)](_0x3d438a);}),this[_0x2d5a55(0x492)](this['_univerInstanceService'][_0x2d5a55(0x5eb)](_0x26cf17['UniverInstanceType'][_0x2d5a55(0x440)])[_0x2d5a55(0x455)](({unit:_0x519019})=>{const _0x446e79=_0x2d5a55;this[_0x446e79(0x235)](_0x519019);})),this[_0x2d5a55(0x492)](this['_univerInstanceService'][_0x2d5a55(0x4b7)](_0x26cf17[_0x2d5a55(0x1ef)][_0x2d5a55(0x440)])['subscribe'](_0x50e37c=>{const _0x2f03dc=_0x2d5a55;this[_0x2f03dc(0x2ec)](()=>this[_0x2f03dc(0x59d)](_0x50e37c[_0x2f03dc(0x4f5)]()));})),this['disposeWithMe'](this[_0x2d5a55(0x417)]['onCommandExecuted'](_0x35eee7=>this[_0x2d5a55(0x1bd)](_0x35eee7)));}[_0x36f63a(0x1bd)](_0x57224d){const _0x14fcdc=_0x36f63a;if(_0x57224d['id']===_0x386470[_0x14fcdc(0x23c)]['id']){_0x201052(_0x57224d['params'])&&this['_applyFormulaResult'](_0x57224d[_0x14fcdc(0x327)]);return;}if(this['_applyingFormulaResults']||_0x57224d['id']!==_0x22dd4d['id'])return;let _0x5abe00=_0x38f433(_0x57224d[_0x14fcdc(0x327)])?_0x57224d[_0x14fcdc(0x327)]:void 0x0,_0x44bf68=_0x5abe00!=null&&_0x5abe00[_0x14fcdc(0x41e)]?[this['_univerInstanceService'][_0x14fcdc(0x2e3)](_0x5abe00['unitId'],_0x26cf17[_0x14fcdc(0x1ef)][_0x14fcdc(0x440)])]['filter'](_0x5c9a96=>!!_0x5c9a96):this['_univerInstanceService'][_0x14fcdc(0x1c0)](_0x26cf17[_0x14fcdc(0x1ef)][_0x14fcdc(0x440)]),_0x2f7d19=_0x5abe00==null?void 0x0:_0x5abe00['op'];_0x44bf68[_0x14fcdc(0x1bf)](_0x5de3ea=>{const _0x678e44=_0x14fcdc;let _0x36211d=_0x2f7d19?_0x4bcf2f(_0x2f7d19):[];(!_0x2f7d19||_0x36211d[_0x678e44(0x2c3)](_0x3659b9=>_0x3659b9[_0x678e44(0x560)]!==_0x678e44(0x49d)))&&this[_0x678e44(0x235)](_0x5de3ea);});}[_0x36f63a(0x235)](_0x5f45b0){const _0x2f80fd=_0x36f63a;let _0x6e4e7b=_0x5f45b0[_0x2f80fd(0x4f5)]();this[_0x2f80fd(0x413)][_0x2f80fd(0x2fa)](_0x6e4e7b)||(this[_0x2f80fd(0x413)]['add'](_0x6e4e7b),this[_0x2f80fd(0x2ec)](async()=>{const _0x46d4c2=_0x2f80fd;this[_0x46d4c2(0x413)][_0x46d4c2(0x346)](_0x6e4e7b),await this[_0x46d4c2(0x403)](_0x5f45b0);}));}async[_0x36f63a(0x403)](_0xba1476){const _0x439de5=_0x36f63a;let _0x3f6d00=_0xba1476[_0x439de5(0x4f5)](),_0x1c499f=this[_0x439de5(0x30a)][_0x439de5(0x5ff)](_0xba1476[_0x439de5(0x509)]()),_0x3f1285=new Set(_0x1c499f[_0x439de5(0x4a5)](({tableName:_0x3caca5})=>_0x3caca5)),_0x536c4e=this[_0x439de5(0x331)][_0x439de5(0x558)](_0x3f6d00)??new Set();for(let _0x303384 of _0x536c4e)if(!_0x3f1285[_0x439de5(0x2fa)](_0x303384)&&!await this[_0x439de5(0x576)](_0x386470['RemoveSuperTableMutation']['id'],{'unitId':_0x3f6d00,'tableName':_0x303384}))return;for(let {tableName:_0x5eb7b5,reference:_0x3313da}of _0x1c499f)if(!await this[_0x439de5(0x576)](_0x386470['SetSuperTableMutation']['id'],{'unitId':_0x3f6d00,'tableName':_0x5eb7b5,'reference':_0x3313da}))return;this['_registeredSuperTableNames']['set'](_0x3f6d00,_0x3f1285);}async['_removeSuperTables'](_0x683bb5){const _0x38f748=_0x36f63a;let _0x57241f=this[_0x38f748(0x331)][_0x38f748(0x558)](_0x683bb5)??new Set();for(let _0x459c29 of _0x57241f)if(!await this['_executeSuperTableMutationWhileActive'](_0x386470['RemoveSuperTableMutation']['id'],{'unitId':_0x683bb5,'tableName':_0x459c29}))return;this[_0x38f748(0x331)][_0x38f748(0x346)](_0x683bb5);}async[_0x36f63a(0x576)](_0x4b4709,_0x415ce6){const _0xd5a3a7=_0x36f63a;return!this['_disposed']&&await this[_0xd5a3a7(0x417)][_0xd5a3a7(0x2f7)](_0x4b4709,_0x415ce6,{'onlyLocal':!0x0})&&!this[_0xd5a3a7(0x332)];}[_0x36f63a(0x2ec)](_0x439f1a){const _0x102d12=_0x36f63a;this['_formulaSyncQueue']=this[_0x102d12(0x32d)]['then'](_0x439f1a,_0x439f1a)[_0x102d12(0x28d)](()=>void 0x0);}['_applyFormulaResult'](_0x1323b5){const _0x4ff33a=_0x36f63a;let _0x564a18=this[_0x4ff33a(0x299)][_0x4ff33a(0x1c0)](_0x26cf17[_0x4ff33a(0x1ef)][_0x4ff33a(0x440)]);if(!_0x564a18[_0x4ff33a(0x2c3)](_0x3cd785=>{const _0x427637=_0x4ff33a;var _0x10fd6e;return((_0x10fd6e=_0x1323b5[_0x427637(0x4f2)])==null?void 0x0:_0x10fd6e[_0x3cd785[_0x427637(0x4f5)]()])!=null;}))return;let _0x1bd45e=_0x564a18[_0x4ff33a(0x35a)](_0x5f5551=>_0x5d816f(_0x5f5551[_0x4ff33a(0x509)](),_0x1323b5));if(!_0x1bd45e[_0x4ff33a(0x4cd)]){this[_0x4ff33a(0x513)][_0x4ff33a(0x481)](_0x55cce4[_0x4ff33a(0x2c8)]['BASE'],_0x1323b5);return;}let _0x1b150f=new _0x3c2e91(),_0x2bfa5f=_0x1bd45e['flatMap'](_0x36cce7=>_0x2d6e39({'unitId':_0x36cce7[_0x4ff33a(0x41e)],'tableId':_0x36cce7['tableId'],'patches':_0x36cce7[_0x4ff33a(0x530)]}));this[_0x4ff33a(0x5ef)]=!0x0,(async()=>{const _0x44b4be=_0x4ff33a;for(let _0xcd9fc5 of _0x1bd45e){let _0x2b6e49=this[_0x44b4be(0x299)][_0x44b4be(0x2e3)](_0xcd9fc5[_0x44b4be(0x41e)],_0x26cf17[_0x44b4be(0x1ef)][_0x44b4be(0x440)]);_0x2b6e49&&await this[_0x44b4be(0x417)][_0x44b4be(0x2f7)](_0x22dd4d['id'],{'unitId':_0xcd9fc5['unitId'],'op':_0x1b150f[_0x44b4be(0x4ff)](_0x2b6e49[_0x44b4be(0x509)](),_0xcd9fc5[_0x44b4be(0x353)],_0xcd9fc5[_0x44b4be(0x530)]),'trigger':_0x386470[_0x44b4be(0x23c)]['id']},{'onlyLocal':!0x0});}await this[_0x44b4be(0x417)][_0x44b4be(0x2f7)](_0x386470[_0x44b4be(0x25a)]['id'],{'dirtyRanges':_0x2bfa5f},{'onlyLocal':!0x0});})()[_0x4ff33a(0x23b)](()=>{const _0x2795e3=_0x4ff33a;this[_0x2795e3(0x5ef)]=!0x1,this['_formulaCalculationSessionService'][_0x2795e3(0x481)](_0x55cce4[_0x2795e3(0x2c8)][_0x2795e3(0x1f1)],_0x1323b5);});}};_0x5ac30b=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x1,_0x26cf17['IUniverInstanceService']),_0x5712fb(0x2,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x386470[_0x36f63a(0x345)])),_0x5712fb(0x3,(0x0,_0x26cf17['Inject'])(_0x55cce4[_0x36f63a(0x298)]))],_0x5ac30b);function _0x38f433(_0xc412b2){const _0x2ceade=_0x36f63a;return typeof _0xc412b2==_0x2ceade(0x3e4)&&!!_0xc412b2&&_0x2ceade(0x41e)in _0xc412b2&&typeof _0xc412b2['unitId']=='string'&&'op'in _0xc412b2&&Array['isArray'](_0xc412b2['op']);}function _0x201052(_0xed0f10){const _0x5e3e86=_0x36f63a;return typeof _0xed0f10==_0x5e3e86(0x3e4)&&!!_0xed0f10&&_0x5e3e86(0x4f2)in _0xed0f10&&_0x5e3e86(0x2f5)in _0xed0f10;}let _0x4766e0=new Set([_0x144927['id'],_0x3937db['id'],_0x25cd5e['id']]),_0x5e7595=class extends _0x26cf17[_0x36f63a(0x1d6)]{constructor(_0xddfd51,_0x33206f,_0x216b0f,_0x81774e){const _0x42b13a=_0x36f63a;super(),this[_0x42b13a(0x306)]=_0xddfd51,this[_0x42b13a(0x417)]=_0x33206f,this[_0x42b13a(0x377)]=_0x216b0f,this[_0x42b13a(0x58e)]=_0x81774e,this[_0x42b13a(0x58e)][_0x42b13a(0x1c0)](_0x26cf17[_0x42b13a(0x1ef)][_0x42b13a(0x440)])['forEach'](_0x2670b4=>this[_0x42b13a(0x221)](_0x2670b4[_0x42b13a(0x4f5)]())),this[_0x42b13a(0x492)](this[_0x42b13a(0x58e)][_0x42b13a(0x5eb)](_0x26cf17['UniverInstanceType']['UNIVER_BASE'])['subscribe'](({unit:_0x5598e0})=>this[_0x42b13a(0x221)](_0x5598e0[_0x42b13a(0x4f5)]()))),this['disposeWithMe'](this[_0x42b13a(0x417)][_0x42b13a(0x3c0)]((_0x187611,_0x10d05b)=>this[_0x42b13a(0x210)](_0x187611,_0x10d05b))),this[_0x42b13a(0x492)](this[_0x42b13a(0x58e)][_0x42b13a(0x4b7)](_0x26cf17[_0x42b13a(0x1ef)][_0x42b13a(0x440)])[_0x42b13a(0x455)](_0x5a4292=>{const _0x555703=_0x42b13a;this[_0x555703(0x306)][_0x555703(0x558)](_0x26cf17[_0x555703(0x27a)])[_0x555703(0x319)](_0x5a4292[_0x555703(0x4f5)]()),_0x26786d(this[_0x555703(0x377)],_0x5a4292[_0x555703(0x4f5)]());}));}[_0x36f63a(0x221)](_0xb96b8f){const _0x5a28d4=_0x36f63a;_0x46e218['forEach'](_0x112240=>{const _0x448154=_0x45c5;let _0x17d4ed=_0x353921(_0xb96b8f,_0xb96b8f,_0x112240);this['_permissionService'][_0x448154(0x2da)](_0x17d4ed['id'])||this['_permissionService']['addPermissionPoint'](_0x17d4ed);}),this[_0x5a28d4(0x306)][_0x5a28d4(0x558)](_0x26cf17[_0x5a28d4(0x27a)])[_0x5a28d4(0x1f6)]({'unitId':_0xb96b8f,'objectId':_0xb96b8f,'objectType':_0xf5110d[_0x5a28d4(0x4de)][_0x5a28d4(0x285)]});}[_0x36f63a(0x210)](_0x241aa1,_0x2e4c86){const _0x24f0db=_0x36f63a;var _0x5bde91;if(_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x251)]||_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x301)])return;let _0x2f4f07=_0x2d1f5f(_0x241aa1[_0x24f0db(0x327)])?_0x241aa1[_0x24f0db(0x327)]:void 0x0;if(_0x2e4c86!=null&&_0x2e4c86[_0x24f0db(0x24b)]&&_0x241aa1['id']==='base.mutation.apply-base-json1'&&(_0x2f4f07==null?void 0x0:_0x2f4f07['trigger'])===_0x386470[_0x24f0db(0x23c)]['id'])return;let _0x1e4388=_0x652a6e(_0x241aa1['id']),_0x4b5940=_0x13b40e(_0x2f4f07==null?void 0x0:_0x2f4f07['unitId'],_0x2e4c86)??(_0x1e4388?(_0x5bde91=this['_instanceService'][_0x24f0db(0x3d6)](_0x26cf17['UniverInstanceType'][_0x24f0db(0x440)]))==null?void 0x0:_0x5bde91[_0x24f0db(0x4f5)]():void 0x0);if(!_0x4b5940||this[_0x24f0db(0x58e)][_0x24f0db(0x5a3)](_0x4b5940)!==_0x26cf17['UniverInstanceType'][_0x24f0db(0x440)])return;if(_0x1e4388){if(!_0x3139d7(this[_0x24f0db(0x377)],_0x4b5940,_0x4b5940,_0x1e4388))throw this[_0x24f0db(0x306)][_0x24f0db(0x558)](_0x26cf17[_0x24f0db(0x264)])[_0x24f0db(0x2c1)](_0x4b5940),new _0x26cf17['CustomCommandExecutionError']('Base\x20'+_0xf5110d[_0x24f0db(0x5d3)][_0x1e4388]+_0x24f0db(0x4b2));return;}if(_0x4766e0[_0x24f0db(0x2fa)](_0x241aa1['id'])||!_0x241aa1['id'][_0x24f0db(0x57d)](_0x24f0db(0x254))&&!_0x241aa1['id'][_0x24f0db(0x57d)](_0x24f0db(0x318)))return;let _0x1d786a=this[_0x24f0db(0x58e)][_0x24f0db(0x2e3)](_0x4b5940,_0x26cf17[_0x24f0db(0x1ef)][_0x24f0db(0x440)]),_0x2335f7=_0x1d786a?_0x2586d1(_0x1d786a,_0x2f4f07??{},_0x241aa1['id']):[];if(!_0x1d786a||!_0x2c4137(this[_0x24f0db(0x377)],_0x4b5940,_0x2335f7))throw this[_0x24f0db(0x306)][_0x24f0db(0x558)](_0x26cf17[_0x24f0db(0x264)])[_0x24f0db(0x2c1)](_0x4b5940,_0x2335f7),new _0x26cf17[(_0x24f0db(0x5d5))](_0x24f0db(0x59f));}};_0x5e7595=_0x184c3d([_0x5712fb(0x0,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x1,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x2,_0x26cf17['IPermissionService']),_0x5712fb(0x3,_0x26cf17['IUniverInstanceService'])],_0x5e7595);function _0x13b40e(_0x259b42,_0x89bd96){const _0x12b78d=_0x36f63a;return typeof _0x259b42==_0x12b78d(0x4c8)?_0x259b42:typeof(_0x89bd96==null?void 0x0:_0x89bd96['unitId'])==_0x12b78d(0x4c8)?_0x89bd96[_0x12b78d(0x41e)]:void 0x0;}function _0x652a6e(_0x4c8892){const _0x1b1236=_0x36f63a;if(_0x4c8892===_0x1b1236(0x266)||_0x4c8892===_0x1b1236(0x2f6))return _0xf5110d['UnitAction'][_0x1b1236(0x451)];if(_0x4c8892['startsWith'](_0x1b1236(0x533))||_0x4c8892[_0x1b1236(0x57d)](_0x1b1236(0x4c3)))return _0xf5110d[_0x1b1236(0x5d3)][_0x1b1236(0x49b)];}function _0x2586d1(_0x3c6e25,_0x4c94b3,_0xdd42b8){const _0x309d87=_0x36f63a;if(_0xdd42b8===_0x309d87(0x2c5)&&_0x5facd0(_0x4c94b3['op']))return _0x5e3096(_0x3c6e25,_0x4c94b3['op']);let _0x423a44=new Set(),_0x57ec60=_0xb0be99(_0x4c94b3,_0x309d87(0x551)),_0x2f070e=typeof _0x4c94b3[_0x309d87(0x353)]==_0x309d87(0x4c8)?_0x4c94b3[_0x309d87(0x353)]:_0x57ec60[0x0];if(_0x57ec60[_0x309d87(0x1bf)](_0x49fe68=>_0x423a44[_0x309d87(0x1ce)](_0x1c40e5(_0x49fe68))),!_0x2f070e)return[..._0x423a44];let _0x4de621=_0x3c6e25[_0x309d87(0x509)]()[_0x309d87(0x594)][_0x2f070e],_0x30bd1d=new Set(_0xb0be99(_0x4c94b3,_0x309d87(0x5f1))),_0x3ec3b1=new Set(_0xb0be99(_0x4c94b3,_0x309d87(0x1b5))),_0x32b6c7=new Set(_0xb0be99(_0x4c94b3,'view'));return _0x4b5884(_0x4de621,_0x4c94b3[_0x309d87(0x530)],_0x3ec3b1,_0x30bd1d),_0x185c4c(_0x4c94b3,_0x30bd1d),_0x30bd1d[_0x309d87(0x1bf)](_0x155ff6=>_0x423a44[_0x309d87(0x1ce)](_0x32d579(_0x2f070e,_0x155ff6))),_0x3ec3b1['forEach'](_0x21693f=>_0x423a44[_0x309d87(0x1ce)](_0x523656(_0x2f070e,_0x21693f))),_0x32b6c7[_0x309d87(0x1bf)](_0x42b017=>_0x423a44[_0x309d87(0x1ce)](_0x3b5ace(_0x2f070e,_0x42b017))),[..._0x423a44];}function _0x5e3096(_0x1e3d87,_0x304205){const _0x25c07d=_0x36f63a;let _0x24b779=_0x1e3d87[_0x25c07d(0x509)](),_0x1f56a5=new _0x5070bf()['getAffectedRanges'](_0x304205),_0x330c3b=_0xedd3ea(_0x304205),_0x3781c6=new Set();return _0x1f56a5[_0x25c07d(0x1bf)](_0x166443=>{const _0x1265ba=_0x25c07d;var _0x268c6f,_0x5e2922;let {tableId:_0x14a622}=_0x166443;if(!_0x14a622)return;_0x3781c6['add'](_0x1c40e5(_0x14a622));let _0x108062=_0x24b779[_0x1265ba(0x594)][_0x14a622],_0x609dc2=_0x166443[_0x1265ba(0x571)]??(_0x166443[_0x1265ba(0x5dd)]==null||_0x108062==null||(_0x268c6f=_0x108062[_0x1265ba(0x51d)])==null?void 0x0:_0x268c6f[_0x166443[_0x1265ba(0x5dd)]]),_0x81f7f1=_0x166443[_0x1265ba(0x39c)]??(_0x166443['column']==null||_0x108062==null||(_0x5e2922=_0x108062[_0x1265ba(0x3e3)])==null?void 0x0:_0x5e2922[_0x166443[_0x1265ba(0x582)]]);_0x609dc2&&_0x3781c6[_0x1265ba(0x1ce)](_0x523656(_0x14a622,_0x609dc2)),_0x81f7f1&&_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x81f7f1)),_0x166443[_0x1265ba(0x297)]&&_0x3781c6[_0x1265ba(0x1ce)](_0x3b5ace(_0x14a622,_0x166443[_0x1265ba(0x297)])),(_0x166443[_0x1265ba(0x560)]===_0x1265ba(0x551)||_0x330c3b[_0x1265ba(0x2fa)](_0x14a622))&&_0x108062&&(Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x458)])['forEach'](_0x4c78fc=>_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x4c78fc))),Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x4c9)])['forEach'](_0x4cc76e=>_0x3781c6[_0x1265ba(0x1ce)](_0x523656(_0x14a622,_0x4cc76e))),Object['keys'](_0x108062[_0x1265ba(0x3d8)])['forEach'](_0x160508=>_0x3781c6[_0x1265ba(0x1ce)](_0x3b5ace(_0x14a622,_0x160508)))),_0x166443[_0x1265ba(0x560)]==='record'&&_0x108062&&Object[_0x1265ba(0x40d)](_0x108062[_0x1265ba(0x458)])[_0x1265ba(0x1bf)](_0x1cdab5=>_0x3781c6[_0x1265ba(0x1ce)](_0x32d579(_0x14a622,_0x1cdab5)));}),_0x1f56a5['length']===0x0&&_0x4627aa(_0x304205,'tableOrder')&&Object[_0x25c07d(0x40d)](_0x24b779[_0x25c07d(0x594)])[_0x25c07d(0x1bf)](_0x214ec9=>_0x3781c6[_0x25c07d(0x1ce)](_0x1c40e5(_0x214ec9))),[..._0x3781c6];}function _0xedd3ea(_0x46ce4d){let _0x42520f=new Set(),_0x5eb6dd=_0x2d9645=>{const _0x35a00a=_0x45c5;Array[_0x35a00a(0x2c4)](_0x2d9645)&&_0x2d9645[_0x35a00a(0x1bf)]((_0xa4122f,_0x42f6be)=>{const _0x5411ae=_0x35a00a;_0xa4122f===_0x5411ae(0x594)&&typeof _0x2d9645[_0x42f6be+0x1]==_0x5411ae(0x4c8)&&_0xf44370(_0x2d9645[_0x42f6be+0x2])&&_0x42520f[_0x5411ae(0x1ce)](_0x2d9645[_0x42f6be+0x1]),_0x5eb6dd(_0xa4122f);});};return _0x5eb6dd(_0x46ce4d),_0x42520f;}function _0xf44370(_0x63d33){const _0x14015e=_0x36f63a;return!!_0x63d33&&typeof _0x63d33==_0x14015e(0x3e4)&&!Array[_0x14015e(0x2c4)](_0x63d33)&&('i'in _0x63d33||'r'in _0x63d33||'p'in _0x63d33||'d'in _0x63d33||'es'in _0x63d33||'ena'in _0x63d33||'et'in _0x63d33);}function _0x4627aa(_0x517e79,_0x4450b5){const _0x12572f=_0x36f63a;return Array['isArray'](_0x517e79)&&_0x517e79[_0x12572f(0x2c3)](_0x591bd0=>_0x591bd0===_0x4450b5||_0x4627aa(_0x591bd0,_0x4450b5));}function _0xb0be99(_0x4ba34d,_0x14c4aa){const _0x4b52cd=_0x36f63a;let _0x2fd08c=new Set(),_0x3031f3=_0x14c4aa+'Id',_0x52069d=_0x14c4aa+_0x4b52cd(0x3b9),_0x1c4745=(_0x5180c4,_0x580f26='')=>{const _0x5016fe=_0x4b52cd;typeof _0x5180c4=='string'?_0x580f26===_0x3031f3&&_0x2fd08c[_0x5016fe(0x1ce)](_0x5180c4):Array[_0x5016fe(0x2c4)](_0x5180c4)?_0x580f26===_0x52069d?_0x5180c4[_0x5016fe(0x1bf)](_0x264c44=>{typeof _0x264c44=='string'&&_0x2fd08c['add'](_0x264c44);}):_0x5180c4['forEach'](_0x52948d=>_0x1c4745(_0x52948d,_0x580f26)):_0x2d1f5f(_0x5180c4)&&Object[_0x5016fe(0x443)](_0x5180c4)[_0x5016fe(0x1bf)](([_0xcdf30d,_0x169b4b])=>{const _0x381be1=_0x5016fe;_0xcdf30d==='id'&&_0x580f26===_0x14c4aa&&typeof _0x169b4b==_0x381be1(0x4c8)?_0x2fd08c[_0x381be1(0x1ce)](_0x169b4b):_0x1c4745(_0x169b4b,_0xcdf30d);});};return _0x1c4745(_0x4ba34d),[..._0x2fd08c];}function _0x4b5884(_0x3d33a8,_0x173afb,_0x1faa08,_0x224f8b){const _0x55a274=_0x36f63a;_0x3d33a8&&Array[_0x55a274(0x2c4)](_0x173afb)&&_0x173afb[_0x55a274(0x1bf)](_0x8316d2=>{const _0x25cbea=_0x55a274;if(!_0x2d1f5f(_0x8316d2))return;let _0x2ea351=_0x8316d2;if(typeof _0x2ea351[_0x25cbea(0x5dd)]=='number'){var _0x1b9303;let _0x2484d2=(_0x1b9303=_0x3d33a8['rowId'])==null?void 0x0:_0x1b9303[_0x2ea351[_0x25cbea(0x5dd)]];_0x2484d2&&_0x1faa08['add'](_0x2484d2);}if(typeof _0x2ea351['col']==_0x25cbea(0x5ac)){var _0x54c145;let _0x52b133=(_0x54c145=_0x3d33a8[_0x25cbea(0x3e3)])==null?void 0x0:_0x54c145[_0x2ea351[_0x25cbea(0x46c)]];_0x52b133&&_0x224f8b[_0x25cbea(0x1ce)](_0x52b133);}});}function _0x185c4c(_0x57802a,_0x2f51bc,_0x499a04=''){const _0x4fc065=_0x36f63a;_0x57802a&&typeof _0x57802a==_0x4fc065(0x3e4)&&(Array['isArray'](_0x57802a)?_0x57802a[_0x4fc065(0x1bf)](_0x5a9a8c=>_0x185c4c(_0x5a9a8c,_0x2f51bc,_0x499a04)):_0x2d1f5f(_0x57802a)&&Object[_0x4fc065(0x443)](_0x57802a)[_0x4fc065(0x1bf)](([_0x335380,_0x31f84c])=>{const _0x48b492=_0x4fc065;_0x499a04===_0x48b492(0x20f)&&_0x2f51bc['add'](_0x335380),_0x185c4c(_0x31f84c,_0x2f51bc,_0x335380);}));}function _0x5facd0(_0x391767){return Array['isArray'](_0x391767);}function _0x2d1f5f(_0x211f8b){const _0x2057aa=_0x36f63a;return typeof _0x211f8b==_0x2057aa(0x3e4)&&!!_0x211f8b&&!Array[_0x2057aa(0x2c4)](_0x211f8b);}let _0x52e928=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x4c4)),_0x395d6d=class{constructor(_0x9782bd){const _0x4ec40d=_0x36f63a;this[_0x4ec40d(0x299)]=_0x9782bd;}[_0x36f63a(0x216)](_0x45d6d9){const _0x382c53=_0x36f63a;return this[_0x382c53(0x299)][_0x382c53(0x2e3)](_0x45d6d9,_0x26cf17[_0x382c53(0x1ef)][_0x382c53(0x440)])??null;}[_0x36f63a(0x315)](){const _0xcdc1=_0x36f63a;return this[_0xcdc1(0x299)][_0xcdc1(0x1c0)](_0x26cf17['UniverInstanceType'][_0xcdc1(0x440)]);}[_0x36f63a(0x398)](_0x38bffb){const _0x507c09=_0x36f63a;return this['_univerInstanceService'][_0x507c09(0x31c)](_0x26cf17['UniverInstanceType'][_0x507c09(0x440)],_0x38bffb);}};_0x395d6d=_0x184c3d([_0x5712fb(0x0,_0x26cf17[_0x36f63a(0x4a8)])],_0x395d6d);let _0x21ee7c=(0x0,_0x26cf17[_0x36f63a(0x3b5)])(_0x36f63a(0x52a));var _0x42467f=class extends _0x26cf17['Disposable']{constructor(..._0x19f7bd){const _0x178b0b=_0x36f63a;super(..._0x19f7bd),_0x52a6e5(this,_0x178b0b(0x47e),new Map());}['register'](_0x416c25){const _0x44a929=_0x36f63a;return this[_0x44a929(0x47e)][_0x44a929(0x4a9)](_0x416c25[_0x44a929(0x5d6)],_0x416c25),(0x0,_0x26cf17['toDisposable'])(()=>this[_0x44a929(0x47e)][_0x44a929(0x346)](_0x416c25[_0x44a929(0x5d6)]));}['get'](_0x2a99c4){const _0xc5dbe7=_0x36f63a;let _0x3e34bf=this[_0xc5dbe7(0x47e)][_0xc5dbe7(0x558)](_0x2a99c4);if(!_0x3e34bf)throw Error(_0xc5dbe7(0x618)+_0x2a99c4+_0xc5dbe7(0x5f8));return _0x3e34bf;}[_0x36f63a(0x39a)](){const _0x4cea10=_0x36f63a;return Array[_0x4cea10(0x356)](this[_0x4cea10(0x47e)][_0x4cea10(0x20f)]());}};let _0x56622d=[_0x22dd4d],_0x3be2b0=class extends _0x26cf17['Plugin']{constructor(_0x4a1b6e=_0x5e802a,_0x5a3ca6,_0x26c542,_0xb6c66d,_0x39a71f,_0x3cabf6){const _0x15a4f0=_0x36f63a;super(),this[_0x15a4f0(0x4dd)]=_0x4a1b6e,this['_injector']=_0x5a3ca6,this['_commandService']=_0x26c542,this[_0x15a4f0(0x299)]=_0xb6c66d,this[_0x15a4f0(0x4df)]=_0x39a71f,this[_0x15a4f0(0x1c1)]=_0x3cabf6,_0x52a6e5(this,_0x15a4f0(0x51e),new Map());let {..._0x24674d}=(0x0,_0x26cf17['merge'])({},_0x5e802a,this[_0x15a4f0(0x4dd)]);this[_0x15a4f0(0x4df)][_0x15a4f0(0x31f)](_0x15a4f0(0x538),_0x24674d),this[_0x15a4f0(0x299)][_0x15a4f0(0x335)](_0x26cf17[_0x15a4f0(0x1ef)][_0x15a4f0(0x440)],_0x26cf17[_0x15a4f0(0x2d2)]),this[_0x15a4f0(0x4bd)](),this[_0x15a4f0(0x236)](),this[_0x15a4f0(0x33b)](),this[_0x15a4f0(0x58f)]();}[_0x36f63a(0x39e)](){const _0x4dce7d=_0x36f63a;this[_0x4dce7d(0x306)][_0x4dce7d(0x1ce)]([_0x201e06]),this[_0x4dce7d(0x492)](this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x2d3)])[_0x4dce7d(0x418)](_0x475558)),this[_0x4dce7d(0x492)](this['_injector'][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x2d3)])[_0x4dce7d(0x418)](_0x4f4152)),this[_0x4dce7d(0x492)](this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x26cf17[_0x4dce7d(0x27a)])[_0x4dce7d(0x2cc)](_0xf5110d['UnitObject'][_0x4dce7d(0x285)],this[_0x4dce7d(0x306)][_0x4dce7d(0x558)](_0x201e06),_0x475558['id'],_0x4f4152['id']));}['onReady'](){const _0x43eba3=_0x36f63a;(0x0,_0x26cf17['touchDependencies'])(this[_0x43eba3(0x306)],[[_0x395d6d],[_0x2c090c],[_0x2f870d]]),this[_0x43eba3(0x299)][_0x43eba3(0x1c0)](_0x26cf17[_0x43eba3(0x1ef)]['UNIVER_BASE'])[_0x43eba3(0x1bf)](_0x5459fa=>this[_0x43eba3(0x1bc)](_0x5459fa['getUnitId']())),(0x0,_0x26cf17[_0x43eba3(0x4ba)])(this['_injector'],[[_0x5ac30b],[_0x5e7595]]);}[_0x36f63a(0x4bd)](){const _0x4398c4=_0x36f63a;[[_0x270bb8,{'useClass':_0x5317ce}],[_0x21ee7c,{'useClass':_0x42467f}],[_0x4076d2,{'useClass':_0x4149ac}],[_0x52e928,{'useClass':_0x395d6d}],[_0x55f82b,{'useClass':_0x57d557}],[_0x10f260,{'useClass':_0x2c090c}],[_0x2f870d],[_0x5ac30b],[_0x5e7595]][_0x4398c4(0x1bf)](_0x167826=>this[_0x4398c4(0x306)]['add'](_0x167826));}[_0x36f63a(0x236)](){const _0x43d9d1=_0x36f63a;[_0x129c3e,_0x15e0f4,_0x7cfb9,_0x3701b5,_0x4b47f4,_0x574186,_0x83e844,_0x30f8e9,_0x4a0304,_0x447b1b,_0x383797,_0x434ddb,_0x11441c,_0x29aa48,_0x592bbf,_0x4a7d2b,_0x217532,_0x2a30c6,_0x2a60c5,_0x4de029,_0x1d821e,_0x25cd5e,_0x573f6f,_0x310dd6,_0x14a5ec,_0x623a77,_0x447566,_0x4af643,_0x554c59,_0x219a50,_0x393c61,_0x144927,_0x3937db,_0x7bc6de,_0xb28a0,_0x4f8870,_0x431b04,_0x3eab69,_0xc496a1,_0x20e162,_0x3a3911,..._0x56622d][_0x43d9d1(0x1bf)](_0x423539=>this[_0x43d9d1(0x492)](this['_commandService'][_0x43d9d1(0x418)](_0x423539))),_0x56622d[_0x43d9d1(0x1bf)](_0xb9aeca=>{const _0xcac196=_0x43d9d1;var _0x364760;return(_0x364760=this[_0xcac196(0x1c1)])==null?void 0x0:_0x364760[_0xcac196(0x282)](_0xb9aeca);});}[_0x36f63a(0x58f)](){const _0x2de9d1=_0x36f63a;this[_0x2de9d1(0x1c1)]&&(this[_0x2de9d1(0x492)](this[_0x2de9d1(0x299)][_0x2de9d1(0x5eb)](_0x26cf17['UniverInstanceType'][_0x2de9d1(0x440)])['subscribe'](({unit:_0xd77c4e})=>{const _0x7ff951=_0x2de9d1;this[_0x7ff951(0x1bc)](_0xd77c4e[_0x7ff951(0x4f5)]());})),this[_0x2de9d1(0x492)](this['_univerInstanceService'][_0x2de9d1(0x4b7)](_0x26cf17[_0x2de9d1(0x1ef)]['UNIVER_BASE'])[_0x2de9d1(0x455)](_0x1c20bb=>{const _0x2d516d=_0x2de9d1;var _0x1c0dd3;(_0x1c0dd3=this[_0x2d516d(0x51e)]['get'](_0x1c20bb[_0x2d516d(0x4f5)]()))==null||_0x1c0dd3[_0x2d516d(0x3a4)](),this[_0x2d516d(0x51e)][_0x2d516d(0x346)](_0x1c20bb[_0x2d516d(0x4f5)]());})));}[_0x36f63a(0x1bc)](_0x205b06){const _0x2df744=_0x36f63a;this[_0x2df744(0x1c1)]&&!this[_0x2df744(0x51e)][_0x2df744(0x2fa)](_0x205b06)&&this['_baseSyncDisposables'][_0x2df744(0x4a9)](_0x205b06,this[_0x2df744(0x1c1)][_0x2df744(0x224)](_0x205b06));}[_0x36f63a(0x33b)](){const _0x2b0db1=_0x36f63a;let _0x3ce5b2=this[_0x2b0db1(0x306)][_0x2b0db1(0x558)](_0x270bb8);_0x5f0176()[_0x2b0db1(0x1bf)](_0xa8813c=>_0x3ce5b2[_0x2b0db1(0x397)](_0xa8813c));let _0x542dcd=this[_0x2b0db1(0x306)]['get'](_0x21ee7c),_0x531217=this['_injector'][_0x2b0db1(0x558)](_0x4076d2);_0x1a24bf()[_0x2b0db1(0x1bf)](_0x1e0b9a=>{const _0x5b252d=_0x2b0db1;_0x542dcd[_0x5b252d(0x397)](_0x1e0b9a),_0x531217[_0x5b252d(0x2a1)](_0x1e0b9a);});}};_0x52a6e5(_0x3be2b0,'pluginName',_0x36f63a(0x5a1)),_0x52a6e5(_0x3be2b0,_0x36f63a(0x5e4),_0x3ba0a5),_0x52a6e5(_0x3be2b0,_0x36f63a(0x300),_0x594a2f),_0x52a6e5(_0x3be2b0,_0x36f63a(0x5d6),_0x26cf17[_0x36f63a(0x1ef)][_0x36f63a(0x440)]),_0x3be2b0=_0x184c3d([(0x0,_0x26cf17['DependentOn'])(_0x24f38d[_0x36f63a(0x316)],_0x386470['UniverProFormulaEnginePlugin']),_0x5712fb(0x1,(0x0,_0x26cf17['Inject'])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x2,_0x26cf17[_0x36f63a(0x2d3)]),_0x5712fb(0x3,_0x26cf17[_0x36f63a(0x4a8)]),_0x5712fb(0x4,_0x26cf17['IConfigService']),_0x5712fb(0x5,(0x0,_0x26cf17[_0x36f63a(0x57e)])(_0x44a612[_0x36f63a(0x320)]))],_0x3be2b0);let _0x15248a=class extends _0x26cf17[_0x36f63a(0x5ba)]{constructor(_0x498839=_0x49f644,_0x5eadfb,_0x54fb0e,_0x1b1d1e,_0x484be5){const _0x16b1e2=_0x36f63a;super(),this[_0x16b1e2(0x4dd)]=_0x498839,this[_0x16b1e2(0x306)]=_0x5eadfb,this['_commandService']=_0x54fb0e,this['_configService']=_0x1b1d1e,this[_0x16b1e2(0x299)]=_0x484be5;let {..._0x4e3e97}=(0x0,_0x26cf17['merge'])({},_0x49f644,this['_config']);this['_configService'][_0x16b1e2(0x31f)](_0x16b1e2(0x5c0),_0x4e3e97),this[_0x16b1e2(0x299)][_0x16b1e2(0x335)](_0x26cf17[_0x16b1e2(0x1ef)][_0x16b1e2(0x440)],_0x26cf17['BaseDataModel']),[[_0x270bb8,{'useClass':_0x5317ce}],[_0x4076d2,{'useClass':_0x4149ac}]][_0x16b1e2(0x1bf)](_0x474286=>this[_0x16b1e2(0x306)][_0x16b1e2(0x1ce)](_0x474286)),_0x56622d[_0x16b1e2(0x1bf)](_0x1c91eb=>this[_0x16b1e2(0x492)](this[_0x16b1e2(0x417)][_0x16b1e2(0x418)](_0x1c91eb)));}};_0x52a6e5(_0x15248a,_0x36f63a(0x375),'REMOTE_BASES_PLUGIN'),_0x52a6e5(_0x15248a,_0x36f63a(0x5e4),_0x3ba0a5),_0x52a6e5(_0x15248a,_0x36f63a(0x300),_0x594a2f),_0x52a6e5(_0x15248a,_0x36f63a(0x5d6),_0x26cf17['UniverInstanceType'][_0x36f63a(0x440)]),_0x15248a=_0x184c3d([(0x0,_0x26cf17['DependentOn'])(_0x24f38d[_0x36f63a(0x316)],_0x386470[_0x36f63a(0x4ca)]),_0x5712fb(0x1,(0x0,_0x26cf17[_0x36f63a(0x4a4)])(_0x26cf17[_0x36f63a(0x2d6)])),_0x5712fb(0x2,_0x26cf17['ICommandService']),_0x5712fb(0x3,_0x26cf17['IConfigService']),_0x5712fb(0x4,_0x26cf17[_0x36f63a(0x4a8)])],_0x15248a);function _0xf4252d(_0x245e8a){const _0x49e5b6=_0x36f63a;let _0x3a307c=_0x4e3f03(_0x245e8a[_0x49e5b6(0x3dc)]);if(!_0x3a307c)return{'query':'','total':0x0,'matches':[]};let _0x4b1935=[],_0x87f7a3=[];for(let _0x1af177=0x0;_0x1af177<_0x245e8a['fieldIds'][_0x49e5b6(0x4cd)];_0x1af177++){if(!(_0x1af177 in _0x245e8a[_0x49e5b6(0x60e)]))continue;let _0x3e3347=_0x245e8a[_0x49e5b6(0x551)][_0x49e5b6(0x458)][_0x245e8a[_0x49e5b6(0x60e)][_0x1af177]];_0x3e3347&&_0x87f7a3['push']({'field':_0x3e3347,'fieldIndex':_0x1af177});}_0x245e8a[_0x49e5b6(0x354)][_0x49e5b6(0x1bf)]((_0x4c18f5,_0xad7af2)=>{const _0x20f6c5=_0x49e5b6;_0x87f7a3[_0x20f6c5(0x1bf)](({field:_0x6e4b24,fieldIndex:_0x1e6396})=>{const _0x2711d5=_0x20f6c5;let _0x3fce9e=_0x4b90bb(_0x4c18f5[_0x2711d5(0x20f)][_0x6e4b24['id']],_0x6e4b24);if(!_0x3fce9e)return;let _0x389cac=_0x5db23a(_0x3a307c,_0x3fce9e[_0x2711d5(0x1a6)]);_0x389cac<=0x0||_0x4b1935[_0x2711d5(0x605)]({'recordId':_0x4c18f5[_0x2711d5(0x571)],'fieldId':_0x6e4b24['id'],'fieldType':_0x6e4b24[_0x2711d5(0x5d6)],'text':_0x3fce9e[_0x2711d5(0x439)],'score':_0x389cac,'rowIndex':_0xad7af2,'fieldIndex':_0x1e6396});});}),_0x4b1935['sort']((_0x536884,_0x3b0dde)=>_0x3b0dde['score']-_0x536884[_0x49e5b6(0x4c1)]||_0x536884[_0x49e5b6(0x5cd)]-_0x3b0dde[_0x49e5b6(0x5cd)]||_0x536884[_0x49e5b6(0x3f7)]-_0x3b0dde[_0x49e5b6(0x3f7)]);let _0x5d0faa=_0x245e8a[_0x49e5b6(0x1bb)]==null?_0x4b1935:_0x4b1935['slice'](0x0,Math[_0x49e5b6(0x5a7)](0x0,_0x245e8a[_0x49e5b6(0x1bb)]));return{'query':_0x3a307c,'total':_0x4b1935[_0x49e5b6(0x4cd)],'matches':_0x2e475c(_0x5d0faa)};}function _0x4b90bb(_0x282781,_0x1a68d1){const _0x44a3dd=_0x36f63a;let _0xfbbdfd=[];for(let _0x4adc72 of _0x2f4e74(_0x282781,_0x1a68d1)){let _0x291b24=_0x4e3f03(_0x4adc72);_0x291b24&&_0xfbbdfd[_0x44a3dd(0x605)](_0x291b24);}return _0xfbbdfd[_0x44a3dd(0x4cd)]?{'displayText':_0x459149(_0x282781,_0x1a68d1),'searchTexts':_0xe1c903(_0xfbbdfd)}:null;}function _0x459149(_0x18b4f9,_0x24bab0){const _0x2f5e91=_0x36f63a;switch(_0x24bab0[_0x2f5e91(0x5d6)]){case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x537)]:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x36d)]:case _0x26cf17[_0x2f5e91(0x22d)]['Group']:return _0x3d4229(_0x18b4f9,_0x24bab0)[_0x2f5e91(0x241)](',\x20');case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x205)]:return _0xe88877(_0x18b4f9);case _0x26cf17[_0x2f5e91(0x22d)]['Date']:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x230)]:case _0x26cf17[_0x2f5e91(0x22d)]['UpdatedAt']:return _0x16a1d5(_0x18b4f9,_0x24bab0);case _0x26cf17['BaseFieldType'][_0x2f5e91(0x1ab)]:case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x4b6)]:return _0x224027(_0x18b4f9,_0x24bab0);case _0x26cf17['BaseFieldType'][_0x2f5e91(0x3cf)]:return _0x2a7c80(_0x18b4f9,_0x24bab0);case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x428)]:return _0x18b4f9?_0x2f5e91(0x1fe):_0x2f5e91(0x2ff);case _0x26cf17[_0x2f5e91(0x22d)][_0x2f5e91(0x50b)]:return _0x502a6c(_0x18b4f9)[_0x2f5e91(0x241)](',\x20');default:return _0x29afce(_0x18b4f9);}}function _0x2f4e74(_0x4fd6f3,_0xca9ac3){const _0x419e51=_0x36f63a;switch(_0xca9ac3[_0x419e51(0x5d6)]){case _0x26cf17[_0x419e51(0x22d)]['SingleSelect']:case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x36d)]:case _0x26cf17['BaseFieldType'][_0x419e51(0x4ef)]:{let _0x4630f8=_0x3d4229(_0x4fd6f3,_0xca9ac3);if(Array['isArray'](_0x4fd6f3)){let _0x68f27=[..._0x4630f8];for(let _0x35e3df=0x0;_0x35e3df<_0x4fd6f3['length'];_0x35e3df++)_0x35e3df in _0x4fd6f3&&_0x68f27[_0x419e51(0x605)](String(_0x4fd6f3[_0x35e3df]));return _0x68f27;}return _0x4fd6f3==null?_0x4630f8:[..._0x4630f8,String(_0x4fd6f3)];}case _0x26cf17[_0x419e51(0x22d)]['Link']:{let _0x9038a9=_0x244ade(_0x4fd6f3);return[_0x9038a9[_0x419e51(0x1c8)],_0x9038a9[_0x419e51(0x3f2)]];}case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x1be)]:case _0x26cf17[_0x419e51(0x22d)]['CreatedAt']:case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x217)]:return[_0x16a1d5(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17['BaseFieldType'][_0x419e51(0x1ab)]:case _0x26cf17['BaseFieldType'][_0x419e51(0x4b6)]:return[_0x224027(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17['BaseFieldType'][_0x419e51(0x3cf)]:return[_0x2a7c80(_0x4fd6f3,_0xca9ac3),_0x29afce(_0x4fd6f3)];case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x428)]:return _0x4fd6f3?['Checked',_0x419e51(0x388),_0x419e51(0x244)]:[_0x419e51(0x2ff),'No',_0x419e51(0x199)];case _0x26cf17[_0x419e51(0x22d)][_0x419e51(0x50b)]:return _0x502a6c(_0x4fd6f3);default:return[_0x29afce(_0x4fd6f3)];}}function _0x3d4229(_0x581961,_0x5a4c54){const _0x4da0d1=_0x36f63a;var _0x371a6c;let _0x53fa31=Array['isArray']((_0x371a6c=_0x5a4c54[_0x4da0d1(0x4cc)])==null?void 0x0:_0x371a6c[_0x4da0d1(0x45b)])?_0x5a4c54[_0x4da0d1(0x4cc)]['options']:[],_0x34b38f=[];if(Array[_0x4da0d1(0x2c4)](_0x581961)){for(let _0x25a247=0x0;_0x25a247<_0x581961[_0x4da0d1(0x4cd)];_0x25a247++){if(!(_0x25a247 in _0x581961))continue;let _0x8e33b9=String(_0x581961[_0x25a247]);_0x8e33b9&&_0x34b38f[_0x4da0d1(0x605)](_0x4df809(_0x53fa31,_0x8e33b9));}return _0x34b38f;}if(_0x581961!=null){let _0x5dfba7=String(_0x581961);_0x5dfba7&&_0x34b38f[_0x4da0d1(0x605)](_0x4df809(_0x53fa31,_0x5dfba7));}return _0x34b38f;}function _0x4df809(_0x52ca91,_0xe9e2c8){const _0xa69a33=_0x36f63a;for(let _0x54e245 of _0x52ca91){if(typeof _0x54e245==_0xa69a33(0x4c8)&&_0x54e245===_0xe9e2c8)return _0x54e245;if(_0x54e245&&typeof _0x54e245==_0xa69a33(0x3e4)){let _0x33dbb5=_0x54e245;if(String(_0x33dbb5['id']??_0x33dbb5[_0xa69a33(0x3f8)]??'')===_0xe9e2c8||String(_0x33dbb5[_0xa69a33(0x3f8)]??'')===_0xe9e2c8)return String(_0x33dbb5['name']??_0x33dbb5['id']??_0xe9e2c8);}}return _0xe9e2c8;}function _0x244ade(_0x4cba0e){const _0x2b50e6=_0x36f63a;if(_0x4cba0e&&typeof _0x4cba0e=='object'&&!Array[_0x2b50e6(0x2c4)](_0x4cba0e)){let _0xf7e718=_0x4cba0e;return{'text':String(_0xf7e718['text']??_0xf7e718[_0x2b50e6(0x3f2)]??''),'url':String(_0xf7e718['url']??'')};}return{'text':_0x29afce(_0x4cba0e),'url':_0x29afce(_0x4cba0e)};}function _0xe88877(_0x5e895){const _0x203a1d=_0x36f63a;let _0x2f40de=_0x244ade(_0x5e895);return _0x2f40de[_0x203a1d(0x1c8)]||_0x2f40de['url'];}function _0x16a1d5(_0x2b5307,_0x1d3b3f){const _0x44e395=_0x36f63a;return typeof _0x2b5307!='number'||!Number[_0x44e395(0x26b)](_0x2b5307)?'':_0x44d5ce(_0x2b5307,_0x1d3b3f[_0x44e395(0x4cc)]);}function _0x224027(_0xf53732,_0x245057){const _0x22a98a=_0x36f63a;let _0x286ec5=typeof _0xf53732==_0x22a98a(0x5ac)?_0xf53732:Number(_0xf53732);return Number[_0x22a98a(0x26b)](_0x286ec5)?_0x2d4820(_0x286ec5,_0x245057[_0x22a98a(0x4cc)]):'';}function _0x2a7c80(_0x52ae5f,_0x7a144b){const _0x441cf5=_0x36f63a;let _0x41bfa8=typeof _0x52ae5f==_0x441cf5(0x5ac)?_0x52ae5f:Number(_0x52ae5f);return Number['isFinite'](_0x41bfa8)?_0x46e601(_0x41bfa8,_0x7a144b[_0x441cf5(0x4cc)]):'';}function _0x502a6c(_0x2c6105){const _0x479329=_0x36f63a;return Array[_0x479329(0x2c4)](_0x2c6105)?_0x2c6105['flatMap'](_0x49b70c=>{const _0x4bf14e=_0x479329;if(!_0x49b70c||typeof _0x49b70c!=_0x4bf14e(0x3e4))return[];let _0x13c6ef=_0x49b70c,_0x576f8d=String(_0x13c6ef[_0x4bf14e(0x3f8)]??_0x13c6ef['url']??'')[_0x4bf14e(0x3ce)]();return _0x576f8d?[_0x576f8d]:[];}):[];}function _0x29afce(_0x17fabf){const _0x5813f6=_0x36f63a;if(_0x17fabf==null)return'';if(typeof _0x17fabf==_0x5813f6(0x49e))return _0x17fabf?_0x5813f6(0x4f4):_0x5813f6(0x1d7);if(typeof _0x17fabf==_0x5813f6(0x5ac))return String(_0x17fabf);if(Array['isArray'](_0x17fabf)){let _0x108127=[];for(let _0x8dc897=0x0;_0x8dc897<_0x17fabf[_0x5813f6(0x4cd)];_0x8dc897++){if(!(_0x8dc897 in _0x17fabf))continue;let _0x5494c5=_0x29afce(_0x17fabf[_0x8dc897]);_0x5494c5&&_0x108127['push'](_0x5494c5);}return _0x108127[_0x5813f6(0x241)](',\x20');}if(typeof _0x17fabf==_0x5813f6(0x3e4)){let _0x5e3890=_0x17fabf;return String(_0x5e3890['title']??_0x5e3890[_0x5813f6(0x3f8)]??_0x5e3890[_0x5813f6(0x1c8)]??_0x5e3890[_0x5813f6(0x3f2)]??'')[_0x5813f6(0x3ce)]();}return String(_0x17fabf);}function _0x5db23a(_0x498771,_0x12c2ac){const _0x5ba0d9=_0x36f63a;let _0x4b99ea=0x0;for(let _0x30dec8 of _0x12c2ac)_0x30dec8&&(_0x30dec8===_0x498771?_0x4b99ea=Math[_0x5ba0d9(0x5a7)](_0x4b99ea,0x12c):_0x30dec8['startsWith'](_0x498771)?_0x4b99ea=Math[_0x5ba0d9(0x5a7)](_0x4b99ea,0xfa):_0x30dec8[_0x5ba0d9(0x358)](_0x498771)&&(_0x4b99ea=Math['max'](_0x4b99ea,0xc8)));return _0x4b99ea;}function _0x4e3f03(_0x1fe49e){const _0x30b62d=_0x36f63a;return _0x1fe49e[_0x30b62d(0x3ce)]()[_0x30b62d(0x2ed)](/\s+/g,'\x20')['toLowerCase']();}function _0xe1c903(_0x1ed209){const _0x458a1f=_0x36f63a;return Array[_0x458a1f(0x356)](new Set(_0x1ed209));}function _0x2e475c(_0x17b36b){const _0x3b0594=_0x36f63a;let _0x3dab03=[];for(let {rowIndex:_0x48fcb2,fieldIndex:_0x449397,..._0x288d18}of _0x17b36b)_0x3dab03[_0x3b0594(0x605)](_0x288d18);return _0x3dab03;}function _0x35b3dd(_0x43a005){const _0x4e2abf=_0x36f63a;return{'compress':!0x0,'kind':_0x4e2abf(0x2eb),'u':_0x43a005['unitId'],'t':_0x43a005[_0x4e2abf(0x353)],'p':_0x43a005[_0x4e2abf(0x530)][_0x4e2abf(0x4a5)](_0x27e1fc=>[_0x27e1fc[_0x4e2abf(0x5dd)],_0x27e1fc[_0x4e2abf(0x46c)],_0x5ad241(_0x27e1fc[_0x4e2abf(0x5a4)])]),..._0x43a005[_0x4e2abf(0x341)]===void 0x0?{}:{'g':_0x43a005[_0x4e2abf(0x341)]}};}function _0xb56897(_0x4e0087){const _0x5200c9=_0x36f63a;if(_0x4bbed9(_0x4e0087,_0x5200c9(0x2eb)),!_0x14578d(_0x4e0087)){if(!_0x48f48c(_0x4e0087))throw Error(_0x5200c9(0x3c4));return _0x4e0087;}return{'unitId':_0x4e0087['u'],'tableId':_0x4e0087['t'],'patches':_0x4e0087['p'][_0x5200c9(0x4a5)](([_0x285df1,_0x383199,_0x2faf18])=>({'row':_0x285df1,'col':_0x383199,'value':_0x58e835(_0x2faf18)})),..._0x4e0087['g']===void 0x0?{}:{'trigger':_0x4e0087['g']}};}function _0x14578d(_0x5ef6fe){const _0x3715bb=_0x36f63a;return!_0x7893c8(_0x5ef6fe)||_0x5ef6fe[_0x3715bb(0x3a8)]!==!0x0||_0x5ef6fe[_0x3715bb(0x607)]!==_0x3715bb(0x2eb)?!0x1:typeof _0x5ef6fe['u']==_0x3715bb(0x4c8)&&typeof _0x5ef6fe['t']==_0x3715bb(0x4c8)&&(_0x5ef6fe['g']===void 0x0||typeof _0x5ef6fe['g']==_0x3715bb(0x4c8))&&Array[_0x3715bb(0x2c4)](_0x5ef6fe['p'])&&_0x5ef6fe['p'][_0x3715bb(0x308)](_0x2c5573=>Array[_0x3715bb(0x2c4)](_0x2c5573)&&_0x2c5573[_0x3715bb(0x4cd)]===0x3&&Number['isInteger'](_0x2c5573[0x0])&&Number[_0x3715bb(0x497)](_0x2c5573[0x1]));}function _0x590481(_0x4b0251){const _0x3c2eff=_0x36f63a;return!_0x7893c8(_0x4b0251)||_0x4b0251[_0x3c2eff(0x3a8)]!==!0x0||_0x4b0251[_0x3c2eff(0x607)]!==_0x3c2eff(0x362)||!_0x7893c8(_0x4b0251['tables'])?!0x1:Object[_0x3c2eff(0x20f)](_0x4b0251['tables'])[_0x3c2eff(0x308)](_0x1dd056=>_0x7893c8(_0x1dd056)&&(_0x1dd056['cd']===void 0x0||Array['isArray'](_0x1dd056['cd'])&&_0x1dd056['cd']['every'](_0x35c3b1=>Array[_0x3c2eff(0x2c4)](_0x35c3b1)&&_0x35c3b1[_0x3c2eff(0x4cd)]===0x3&&Number[_0x3c2eff(0x497)](_0x35c3b1[0x0])&&Number[_0x3c2eff(0x497)](_0x35c3b1[0x1])&&_0x20e36b(_0x35c3b1[0x2]))));}function _0x5ad241(_0xd04436){return _0xf40281(_0xd04436)?_0x52ea1a(_0xd04436):_0xd04436;}function _0x58e835(_0xdc95fd){return _0x20e36b(_0xdc95fd)?_0x5a0a9b(_0xdc95fd):_0xdc95fd;}function _0x52ea1a(_0x5c29ae){return{'c':0x1,..._0x5c29ae['v']===void 0x0?{}:{'v':_0x5c29ae['v']},..._0x5c29ae['t']!==void 0x0&&_0x5c29ae['t']!==null?{'t':_0x5c29ae['t']}:_0x5c29ae['t']===null?{'t':null}:{},..._0x5c29ae['f']!==void 0x0&&_0x5c29ae['f']!==null?{'f':_0x5c29ae['f']}:_0x5c29ae['f']===null?{'f':null}:{},..._0x5c29ae['si']!==void 0x0&&_0x5c29ae['si']!==null?{'si':_0x5c29ae['si']}:_0x5c29ae['si']===null?{'si':null}:{},..._0x5c29ae['p']!==void 0x0&&_0x5c29ae['p']!==null?{'p':_0x5c29ae['p']}:_0x5c29ae['p']===null?{'p':null}:{}};}function _0x5a0a9b(_0x52e691){return{..._0x52e691['v']===void 0x0?{}:{'v':_0x52e691['v']},..._0x52e691['t']===void 0x0?{}:{'t':_0x52e691['t']},..._0x52e691['f']===void 0x0?{}:{'f':_0x52e691['f']},..._0x52e691['si']===void 0x0?{}:{'si':_0x52e691['si']},..._0x52e691['p']===void 0x0?{}:{'p':_0x52e691['p']}};}function _0xf40281(_0xf324b1){const _0x321e76=_0x36f63a;return!!_0xf324b1&&typeof _0xf324b1==_0x321e76(0x3e4)&&!Array[_0x321e76(0x2c4)](_0xf324b1)&&(Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'v')||Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)]['call'](_0xf324b1,'t')||Object[_0x321e76(0x1d5)][_0x321e76(0x4ea)]['call'](_0xf324b1,'p')||Object['prototype'][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'f')||Object['prototype'][_0x321e76(0x4ea)][_0x321e76(0x5b6)](_0xf324b1,'si'));}function _0x20e36b(_0x8e92ee){return _0x7893c8(_0x8e92ee)&&_0x8e92ee['c']===0x1;}function _0x48f48c(_0x415269){const _0x1bb891=_0x36f63a;return _0x7893c8(_0x415269)&&typeof _0x415269[_0x1bb891(0x41e)]=='string'&&typeof _0x415269[_0x1bb891(0x353)]==_0x1bb891(0x4c8)&&(_0x415269['trigger']===void 0x0||typeof _0x415269['trigger']==_0x1bb891(0x4c8))&&Array[_0x1bb891(0x2c4)](_0x415269[_0x1bb891(0x530)])&&_0x415269[_0x1bb891(0x530)][_0x1bb891(0x308)](_0x3d3050=>_0x7893c8(_0x3d3050)&&Number[_0x1bb891(0x497)](_0x3d3050[_0x1bb891(0x5dd)])&&Number[_0x1bb891(0x497)](_0x3d3050[_0x1bb891(0x46c)])&&_0x1bb891(0x5a4)in _0x3d3050);}function _0x4bbed9(_0x2a8d40,_0x45837d){const _0x444798=_0x36f63a;if(_0x7893c8(_0x2a8d40)&&_0x2a8d40[_0x444798(0x3a8)]===!0x0){if(_0x2a8d40[_0x444798(0x607)]!==_0x45837d)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x2a8d40[_0x444798(0x607)])+'\x22.');if(!(_0x45837d==='base-range-values-v1'?_0x14578d(_0x2a8d40):_0x590481(_0x2a8d40)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x45837d+'\x22.');}}function _0x7893c8(_0x1de30b){const _0x49d5ce=_0x36f63a;return!!_0x1de30b&&typeof _0x1de30b==_0x49d5ce(0x3e4)&&!Array['isArray'](_0x1de30b);}_0x312799[_0x36f63a(0x565)]=_0x22dd4d,_0x312799[_0x36f63a(0x4db)]=_0x37064d,_0x312799[_0x36f63a(0x25d)]=0x5,_0x312799['BASE_HIERARCHY_PARENT_FIELD_ID']=_0x4506fa,_0x312799[_0x36f63a(0x507)]=_0x36f63a(0x2b8),_0x312799[_0x36f63a(0x445)]=_0x46e218,_0x312799[_0x36f63a(0x42d)]=_0x2f812f,_0x312799['BaseEventSource']=_0x4fead6,_0x312799[_0x36f63a(0x3aa)]=_0x24626c,_0x312799[_0x36f63a(0x43e)]=_0x3763ee,_0x312799[_0x36f63a(0x1aa)]=_0x389e50,_0x312799[_0x36f63a(0x1ac)]=_0x1fa5a0,_0x312799[_0x36f63a(0x600)]=_0x5070bf,_0x312799[_0x36f63a(0x60b)]=_0x3c2e91,_0x312799[_0x36f63a(0x5c7)]=_0x4a0304,_0x312799[_0x36f63a(0x1c9)]=_0x383797,_0x312799[_0x36f63a(0x453)]=_0x2a60c5,_0x312799['CreateBaseChildRecordCommand']=_0x30f8e9,_0x312799[_0x36f63a(0x548)]=_0x592bbf,_0x312799['CreateBaseRecordCommand']=_0x83e844,_0x312799[_0x36f63a(0x294)]=_0x129c3e,_0x312799[_0x36f63a(0x446)]=_0x573f6f,_0x312799[_0x36f63a(0x2c7)]=_0x4de029,_0x312799['DeleteBaseRecordCommand']=_0x447b1b,_0x312799[_0x36f63a(0x4a0)]=_0x7cfb9,_0x312799[_0x36f63a(0x1a8)]=_0x447566,_0x312799[_0x36f63a(0x5ea)]=_0x4a7d2b,_0x312799[_0x36f63a(0x2bd)]=_0x434ddb,_0x312799[_0x36f63a(0x292)]=_0x260313,_0x312799[_0x36f63a(0x4e7)]=_0x310dd6,_0x312799[_0x36f63a(0x2a2)]=_0x10f260,_0x312799[_0x36f63a(0x252)]=_0x55f82b,_0x312799['IBaseProjectionService']=_0x4076d2,_0x312799[_0x36f63a(0x35d)]=_0x21ee7c,_0x312799[_0x36f63a(0x400)]=_0x1d821e,_0x312799[_0x36f63a(0x526)]=_0x29aa48,_0x312799[_0x36f63a(0x32b)]=_0x4af643,_0x312799[_0x36f63a(0x1a4)]=_0x15e0f4,_0x312799[_0x36f63a(0x5e9)]=_0x14a5ec,_0x312799['SetBaseKanbanGroupFieldCommand']=_0x393c61,_0x312799[_0x36f63a(0x456)]=_0x623a77,_0x312799['SetBasePermissionCommand']=_0x144927,_0x312799[_0x36f63a(0x5ab)]=_0x475558,_0x312799[_0x36f63a(0x310)]=_0x4f4152,_0x312799[_0x36f63a(0x387)]=_0x3937db,_0x312799[_0x36f63a(0x4cb)]=_0x574186,_0x312799[_0x36f63a(0x33a)]=_0x4b47f4,_0x312799[_0x36f63a(0x5c1)]=_0x3eab69,_0x312799[_0x36f63a(0x342)]=_0x3a3911,_0x312799[_0x36f63a(0x35f)]=_0xc496a1,_0x312799[_0x36f63a(0x33d)]=_0x20e162,_0x312799['SetBaseViewFilterCommand']=_0xb28a0,_0x312799[_0x36f63a(0x39f)]=_0x431b04,_0x312799[_0x36f63a(0x611)]=_0x4f8870,Object['defineProperty'](_0x312799,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return _0x3be2b0;}}),Object['defineProperty'](_0x312799,_0x36f63a(0x5b5),{'enumerable':!0x0,'get':function(){return _0x15248a;}}),_0x312799[_0x36f63a(0x490)]=_0x3701b5,_0x312799['UpdateBaseFieldCommand']=_0x217532,_0x312799[_0x36f63a(0x471)]=_0x2a30c6,_0x312799[_0x36f63a(0x3f3)]=_0x7bc6de,_0x312799[_0x36f63a(0x470)]=_0x11441c,_0x312799[_0x36f63a(0x45c)]=_0x219a50,_0x312799['UpdateBaseViewConfigCommand']=_0x554c59,_0x312799[_0x36f63a(0x500)]=_0x25cd5e,_0x312799[_0x36f63a(0x57f)]=_0x134f0b,_0x312799[_0x36f63a(0x323)]=_0x17cc3f,_0x312799[_0x36f63a(0x529)]=_0x4d141c,_0x312799[_0x36f63a(0x3bc)]=_0x2c4137,_0x312799['compressBaseRangeValuesPayload']=_0x35b3dd,_0x312799['copyBaseTableSnapshot']=_0x4a5d23,_0x312799[_0x36f63a(0x46d)]=_0x39e357,_0x312799[_0x36f63a(0x1a0)]=_0x37171b,_0x312799[_0x36f63a(0x42b)]=_0x572bf3,_0x312799[_0x36f63a(0x35b)]=_0xcb509f,_0x312799['createEmbedBasesTableRemoveMutation']=_0x5dff2e,_0x312799['createUniqueBaseTableName']=_0x3fb9db,_0x312799[_0x36f63a(0x1d3)]=_0x3815fa,_0x312799[_0x36f63a(0x2f4)]=_0xb56897,_0x312799['ensureBaseTableCellLayout']=_0x58de72,_0x312799['findRecordLinkReferences']=_0x283ed9,_0x312799[_0x36f63a(0x5b0)]=_0x44d5ce,_0x312799[_0x36f63a(0x1f5)]=_0x5118c9,_0x312799[_0x36f63a(0x48e)]=_0x2d4820,_0x312799[_0x36f63a(0x512)]=_0x46e601,_0x312799[_0x36f63a(0x5fc)]=_0x91f8f5,_0x312799[_0x36f63a(0x326)]=_0x5e403e,_0x312799[_0x36f63a(0x2ab)]=_0x2db5fc,_0x312799[_0x36f63a(0x522)]=_0x175c6c,_0x312799['getBaseDashboardPermissionObjectId']=_0x498862,_0x312799[_0x36f63a(0x2dd)]=_0x32d579,Object[_0x36f63a(0x21a)](_0x312799,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x34d67e=_0x36f63a;return _0x26cf17[_0x34d67e(0x322)];}}),_0x312799[_0x36f63a(0x4d1)]=_0x4665b4,_0x312799[_0x36f63a(0x1d1)]=_0x126b6c,_0x312799[_0x36f63a(0x60d)]=_0x3139d7,_0x312799[_0x36f63a(0x19b)]=_0x523656,_0x312799[_0x36f63a(0x2b1)]=_0x1c40e5,_0x312799[_0x36f63a(0x3a3)]=_0x3b5ace,_0x312799[_0x36f63a(0x203)]=_0x3caba0,_0x312799['getSupportedBaseFieldStatTypes']=_0x35da72,_0x312799[_0x36f63a(0x37f)]=_0x5cca96,_0x312799[_0x36f63a(0x25b)]=_0x149b09,_0x312799[_0x36f63a(0x28c)]=_0x35496,_0x312799[_0x36f63a(0x59a)]=_0xacde3b,_0x312799[_0x36f63a(0x270)]=_0xf5ac86,_0x312799[_0x36f63a(0x4e0)]=_0x1ba817,_0x312799[_0x36f63a(0x613)]=_0x2e8fb1,_0x312799[_0x36f63a(0x4b0)]=_0x14578d,_0x312799['matchesBaseCondition']=_0x300f16,_0x312799['normalizeBaseDateFieldConfig']=_0x4ee288,_0x312799[_0x36f63a(0x2f9)]=_0x141f6f,_0x312799[_0x36f63a(0x359)]=_0x7f18f8,_0x312799[_0x36f63a(0x1e9)]=_0x4db4ea,_0x312799['projectBaseHierarchy']=_0x53de46,_0x312799[_0x36f63a(0x604)]=_0x1d2879,_0x312799[_0x36f63a(0x1c3)]=_0xcff95d,_0x312799['resolveBaseRangeHierarchyPatches']=_0x3d520b,_0x312799['searchBaseTable']=_0xf4252d,_0x312799[_0x36f63a(0x508)]=_0x1bd71a,_0x312799[_0x36f63a(0x3de)]=_0x1874b2,_0x312799['traceBasePerformance']=_0xdade1e,_0x312799[_0x36f63a(0x45d)]=_0x415bdf,_0x312799[_0x36f63a(0x601)]=_0xc17f5a,_0x312799['validateBaseHierarchyRecordCreations']=_0x298dba,_0x312799[_0x36f63a(0x1e7)]=_0x37fba2,_0x312799[_0x36f63a(0x28b)]=_0x41dc3d,_0x312799[_0x36f63a(0x19f)]=_0x31953c,_0x312799[_0x36f63a(0x29f)]=_0x5f1ecb,_0x312799[_0x36f63a(0x3f0)]=_0x288789;}));
|
|
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;}));
|