@univerjs-pro/bases 1.0.0-alpha.7 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/commands/commands/batch-create-base-records.command.d.ts +2 -0
  65. package/lib/types/commands/commands/batch-delete-base-records.command.d.ts +2 -0
  66. package/lib/types/commands/commands/create-base-child-record.command.d.ts +15 -0
  67. package/lib/types/commands/commands/create-base-record.command.d.ts +2 -0
  68. package/lib/types/commands/commands/delete-base-record.command.d.ts +2 -0
  69. package/lib/types/commands/commands/duplicate-base-record.command.d.ts +2 -0
  70. package/lib/types/commands/commands/move-base-hierarchy-record.command.d.ts +17 -0
  71. package/lib/types/commands/commands/set-base-range-values.command.d.ts +8 -1
  72. package/lib/types/commands/commands/set-base-record-values.command.d.ts +2 -0
  73. package/lib/types/commands/commands/set-base-table-hierarchy-field.command.d.ts +9 -0
  74. package/lib/types/commands/commands/update-base-cell.command.d.ts +2 -0
  75. package/lib/types/commands/commands/update-base-view-conditional-color-rules.command.d.ts +32 -0
  76. package/lib/types/commands/mutations/apply-base-json1.mutation.d.ts +4 -0
  77. package/lib/types/commands/utils/base-record-creation.d.ts +18 -0
  78. package/lib/types/commands/utils/base-validation.d.ts +6 -1
  79. package/lib/types/controllers/base-formula-calculation.controller.d.ts +6 -1
  80. package/lib/types/facade/f-base.d.ts +4 -2
  81. package/lib/types/facade/f-enum.d.ts +277 -6
  82. package/lib/types/facade/f-event.d.ts +102 -0
  83. package/lib/types/facade/f-field.d.ts +40 -7
  84. package/lib/types/facade/f-range.d.ts +4 -1
  85. package/lib/types/facade/f-record.d.ts +377 -2
  86. package/lib/types/facade/f-table.d.ts +287 -16
  87. package/lib/types/facade/f-univer.d.ts +2 -0
  88. package/lib/types/facade/f-view.d.ts +179 -3
  89. package/lib/types/facade/field-key.d.ts +3 -1
  90. package/lib/types/facade/index.d.ts +2 -1
  91. package/lib/types/fields/date-format.d.ts +20 -1
  92. package/lib/types/fields/field-core-plugin.d.ts +7 -5
  93. package/lib/types/fields/field-stat.d.ts +10 -0
  94. package/lib/types/fields/number-format.d.ts +3 -3
  95. package/lib/types/fields/progress-format.d.ts +1 -0
  96. package/lib/types/index.d.ts +21 -4
  97. package/lib/types/locale/en-US.d.ts +1 -1
  98. package/lib/types/models/base-hierarchy.d.ts +108 -0
  99. package/lib/types/models/default-table.d.ts +0 -1
  100. package/lib/types/models/record-link.d.ts +14 -0
  101. package/lib/types/ot/json1-adapter.d.ts +0 -1
  102. package/lib/types/ot/json1-op-applier.d.ts +3 -1
  103. package/lib/types/ot/json1-op-factory.d.ts +0 -3
  104. package/lib/types/ot/json1-util.d.ts +2 -2
  105. package/lib/types/search/base-search.d.ts +0 -3
  106. package/lib/types/services/base-active-dirty.service.d.ts +0 -1
  107. package/lib/types/services/base-command.service.d.ts +1 -1
  108. package/lib/types/services/base-compression.service.d.ts +0 -5
  109. package/lib/types/services/base-formula.service.d.ts +1 -3
  110. package/lib/types/services/base-permission.service.d.ts +0 -4
  111. package/lib/types/services/base-projection.service.d.ts +4 -0
  112. package/lib/types/views/view-core-plugin.d.ts +0 -2
  113. package/lib/umd/facade.js +1 -1
  114. package/lib/umd/index.js +1 -1
  115. package/lib/umd/locale/ar-SA.js +1 -1
  116. package/lib/umd/locale/ca-ES.js +1 -1
  117. package/lib/umd/locale/de-DE.js +1 -1
  118. package/lib/umd/locale/en-US.js +1 -1
  119. package/lib/umd/locale/es-ES.js +1 -1
  120. package/lib/umd/locale/fa-IR.js +1 -1
  121. package/lib/umd/locale/fr-FR.js +1 -1
  122. package/lib/umd/locale/id-ID.js +1 -1
  123. package/lib/umd/locale/it-IT.js +1 -1
  124. package/lib/umd/locale/ja-JP.js +1 -1
  125. package/lib/umd/locale/ko-KR.js +1 -1
  126. package/lib/umd/locale/pl-PL.js +1 -1
  127. package/lib/umd/locale/pt-BR.js +1 -1
  128. package/lib/umd/locale/ru-RU.js +1 -1
  129. package/lib/umd/locale/sk-SK.js +1 -1
  130. package/lib/umd/locale/vi-VN.js +1 -1
  131. package/lib/umd/locale/zh-CN.js +1 -1
  132. package/lib/umd/locale/zh-HK.js +1 -1
  133. package/lib/umd/locale/zh-TW.js +1 -1
  134. package/package.json +7 -6
  135. package/lib/types/facade/f-types.d.ts +0 -1
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x396ed2=_0x5744;(function(_0x53fdf5,_0x49d7bf){const _0x29baf9=_0x5744,_0x57991f=_0x53fdf5();while(!![]){try{const _0x5c4075=parseInt(_0x29baf9(0x384))/0x1*(-parseInt(_0x29baf9(0x3a2))/0x2)+-parseInt(_0x29baf9(0x33a))/0x3*(parseInt(_0x29baf9(0x212))/0x4)+parseInt(_0x29baf9(0x1b9))/0x5*(parseInt(_0x29baf9(0x2fd))/0x6)+parseInt(_0x29baf9(0x318))/0x7+-parseInt(_0x29baf9(0x252))/0x8+parseInt(_0x29baf9(0x21b))/0x9+parseInt(_0x29baf9(0x1d1))/0xa;if(_0x5c4075===_0x49d7bf)break;else _0x57991f['push'](_0x57991f['shift']());}catch(_0x4675dc){_0x57991f['push'](_0x57991f['shift']());}}}(_0x3d4a,0x86535));import{BaseDataModel as _0x46e527,BaseFieldType as _0x1e4a6b,BaseFilterConjunction as _0x1b2ae1,BaseSortDirection as _0x54483d,BaseViewType as _0x51a654,CellValueType as _0x5e55fc,CommandType as _0x533ada,DependentOn as _0x58d15d,Disposable as _0x4c331b,ICommandService as _0x40924c,IConfigService as _0x20ec7f,IUndoRedoService as _0xf32056,IUniverInstanceService as _0x726745,Inject as _0x351210,Injector as _0x2217d0,JSON1 as _0x6fccb6,ObjectMatrix as _0x14ef58,Optional as _0x240cfb,Plugin as _0x3ca0db,Tools as _0x32f40f,UniverInstanceType as _0x545be5,createIdentifier as _0x2adec3,dateKit as _0x3392d4,generateRandomId as _0x42f468,merge as _0x46244f,numfmt as _0xac5c9d,regexp as _0x301934,sequenceExecute as _0x422ae7,toDisposable as _0x37a382,touchDependencies as _0x4e84d6}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x4c060b,IActiveDirtyManagerService as _0xe982eb,RemoveSuperTableMutation as _0x5f0ad7,SetFormulaCalculationResultMutation as _0x5dc15c,SetSuperTableMutation as _0x28033a,SetTriggerFormulaCalculationStartMutation as _0x39bd47,UniverProFormulaEnginePlugin as _0x21bd3b,refactorFormulaUnitQualifier as _0x8d3a01}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0xb68e7e}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x110092}from'@univerjs/rpc';let he=0x0;function ge(){const _0x12be33=_0x5744;if(globalThis[_0x12be33(0x3e7)]===!0x0)return!0x0;try{let _0x2455c9=typeof location>'u'?'':location[_0x12be33(0x40d)],_0x4a0cdc=new URLSearchParams(_0x2455c9);if(_0x4a0cdc[_0x12be33(0x2bb)](_0x12be33(0x41b))==='1'||_0x4a0cdc['get'](_0x12be33(0x41b))===_0x12be33(0x2a7)||_0x4a0cdc[_0x12be33(0x2bb)](_0x12be33(0x349))==='1')return!0x0;}catch{}try{let _0x58c1f4=typeof localStorage>'u'?null:localStorage[_0x12be33(0x272)](_0x12be33(0x41a));return _0x58c1f4==='1'||_0x58c1f4==='true';}catch{return!0x1;}}function T(_0x6a4a6f,_0x24cc64,_0x35efbf){const _0x9d613c=_0x5744;if(!ge())return _0x24cc64();let _0x59a57f=ve(),_0x29d757='base-perf-'+he++;ye(_0x29d757+_0x9d613c(0x382));try{return _0x24cc64();}finally{let _0x19ddae=ve()-_0x59a57f;ye(_0x29d757+_0x9d613c(0x322)),be(_0x6a4a6f,_0x29d757+_0x9d613c(0x382),_0x29d757+':end'),_e(_0x6a4a6f,_0x19ddae,_0x35efbf);}}function _e(_0x516af0,_0x12f893,_0x2dcde6){const _0x329778=_0x5744;if(!ge())return;let _0x3e0f63=Math[_0x329778(0x25c)](_0x12f893*0x64)/0x64,_0x1e3814=_0x2dcde6&&Object[_0x329778(0x234)](_0x2dcde6)[_0x329778(0x1dd)]?'\x20'+JSON[_0x329778(0x219)](_0x2dcde6):'';console[_0x329778(0x2dd)](_0x329778(0x3cb)+_0x516af0+':\x20'+_0x3e0f63+'ms'+_0x1e3814);}function ve(){const _0x138cf1=_0x5744;return typeof performance<'u'&&typeof performance[_0x138cf1(0x29f)]==_0x138cf1(0x1c5)?performance[_0x138cf1(0x29f)]():Date['now']();}function ye(_0x1bea2d){const _0x3801f5=_0x5744;try{if(typeof performance<'u'){var _0x31977a,_0x9c7291;(_0x31977a=(_0x9c7291=performance)['mark'])==null||_0x31977a[_0x3801f5(0x1c1)](_0x9c7291,_0x1bea2d);}}catch{}}function be(_0x4074e6,_0x2a28ae,_0x53fce5){const _0x3f10c4=_0x5744;try{if(typeof performance<'u'){var _0x46f445,_0x444a8e;(_0x46f445=(_0x444a8e=performance)['measure'])==null||_0x46f445[_0x3f10c4(0x1c1)](_0x444a8e,_0x3f10c4(0x3cb)+_0x4074e6,_0x2a28ae,_0x53fce5);}}catch{}}function E(_0x5418f9){const _0x19e320=_0x5744;var _0x5f4413,_0x231471;return ge()?T(_0x19e320(0x383),()=>xe(_0x5418f9),{'tableId':_0x5418f9['id'],'records':Object[_0x19e320(0x234)]((_0x5f4413=_0x5418f9['records'])==null?{}:_0x5f4413)[_0x19e320(0x1dd)],'fields':_0x5418f9[_0x19e320(0x201)][_0x19e320(0x1dd)],'hasRecordOrder':!!((_0x231471=_0x5418f9['recordOrder'])!=null&&_0x231471[_0x19e320(0x1dd)])}):xe(_0x5418f9);}function xe(_0x240b83){const _0x4e8a4d=_0x5744;var _0x18727b,_0x560d3d,_0x5573cd,_0x593dc1,_0x3cb1d5,_0x2be296,_0x1a1ce5,_0x16ed26,_0x5ac803,_0x2f466c;let _0x23764b=(_0x18727b=_0x240b83['records'])==null?{}:_0x18727b,_0x3255a0=(_0x560d3d=_0x240b83[_0x4e8a4d(0x2f3)])==null?{}:_0x560d3d,_0x2de0ed=(_0x5573cd=(_0x593dc1=_0x240b83[_0x4e8a4d(0x3ab)])==null?void 0x0:_0x593dc1[_0x4e8a4d(0x24f)](_0x5dcf6a=>_0x23764b[_0x5dcf6a]))==null?[]:_0x5573cd,_0x48107e=new Set(_0x2de0ed),_0x1e0ea5=[];for(let _0x4e494d of Object[_0x4e8a4d(0x33e)](_0x23764b))_0x48107e['has'](_0x4e494d['id'])||_0x1e0ea5[_0x4e8a4d(0x258)](_0x4e494d);let _0x5d8bc2=_0x1e0ea5[_0x4e8a4d(0x1dd)]?[..._0x2de0ed,...Be(_0x1e0ea5)]:_0x2de0ed,_0x5815e5=_0x240b83[_0x4e8a4d(0x201)][_0x4e8a4d(0x24f)](_0x52732a=>_0x3255a0[_0x52732a]),_0x874bb1={...(_0x3cb1d5=_0x240b83[_0x4e8a4d(0x2d2)])==null?{}:_0x3cb1d5},_0x72a107={...(_0x2be296=_0x240b83['colId'])==null?{}:_0x2be296},_0x200df9={...(_0x1a1ce5=_0x240b83[_0x4e8a4d(0x34c)])==null?{}:_0x1a1ce5};return _0x240b83[_0x4e8a4d(0x3ab)]=_0x5d8bc2,_0x240b83[_0x4e8a4d(0x2f0)]={},_0x240b83[_0x4e8a4d(0x2d2)]={},_0x240b83[_0x4e8a4d(0x158)]={},_0x240b83[_0x4e8a4d(0x32b)]={},_0x240b83[_0x4e8a4d(0x34c)]={},_0x240b83[_0x4e8a4d(0x421)]={...(_0x16ed26=_0x240b83['resources'])==null?{}:_0x16ed26},_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x1a3)]={...(_0x5ac803=_0x240b83['resources'][_0x4e8a4d(0x1a3)])==null?{}:_0x5ac803},_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x24b)]={...(_0x2f466c=_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x24b)])==null?{}:_0x2f466c},_0x5d8bc2[_0x4e8a4d(0x3d3)]((_0x2498aa,_0x56d28a)=>{const _0x47797b=_0x4e8a4d;_0x240b83[_0x47797b(0x2f0)][_0x2498aa]=_0x56d28a,_0x240b83[_0x47797b(0x2d2)][_0x56d28a]=_0x2498aa;}),_0x5815e5[_0x4e8a4d(0x3d3)]((_0x1379d0,_0x36f20b)=>{const _0x27a658=_0x4e8a4d;_0x240b83[_0x27a658(0x158)][_0x1379d0]=_0x36f20b,_0x240b83[_0x27a658(0x32b)][_0x36f20b]=_0x1379d0;}),Object[_0x4e8a4d(0x236)](_0x200df9)[_0x4e8a4d(0x3d3)](([_0x35706e,_0xee3567])=>{const _0x53da89=_0x4e8a4d;var _0x84da42,_0x115319;let _0x414d4e=Number(_0x35706e),_0x479616=(_0x84da42=_0x874bb1[_0x414d4e])==null?_0x5d8bc2[_0x414d4e]:_0x84da42,_0x33cfee=_0x479616?_0x240b83[_0x53da89(0x2f0)][_0x479616]:void 0x0;_0x33cfee!=null&&(_0x240b83[_0x53da89(0x34c)][_0x33cfee]={...(_0x115319=_0x240b83[_0x53da89(0x34c)][_0x33cfee])==null?{}:_0x115319},Object[_0x53da89(0x236)](_0xee3567==null?{}:_0xee3567)[_0x53da89(0x3d3)](([_0x585bc1,_0x246461])=>{const _0x38a8f1=_0x53da89;var _0x531315;let _0x43e8e1=Number(_0x585bc1),_0x37ea85=(_0x531315=_0x72a107[_0x43e8e1])==null?_0x5815e5[_0x43e8e1]:_0x531315,_0x102bfa=_0x37ea85?_0x240b83['colIndex'][_0x37ea85]:void 0x0;_0x102bfa!=null&&(_0x240b83[_0x38a8f1(0x34c)][_0x33cfee][_0x102bfa]=Oe(_0x246461));}));}),Object[_0x4e8a4d(0x33e)](_0x23764b)[_0x4e8a4d(0x3d3)](_0x5b3a74=>{const _0x163ef5=_0x4e8a4d;var _0x3a414d,_0x23feff;let _0xbf8586=_0x240b83[_0x163ef5(0x2f0)][_0x5b3a74['id']];_0xbf8586!=null&&(_0x240b83[_0x163ef5(0x34c)][_0xbf8586]={...(_0x3a414d=_0x240b83[_0x163ef5(0x34c)][_0xbf8586])==null?{}:_0x3a414d},Object['entries']((_0x23feff=_0x5b3a74['values'])==null?{}:_0x23feff)[_0x163ef5(0x3d3)](([_0xc9b490,_0x3b85ca])=>{const _0x42d026=_0x163ef5;let _0x364414=_0x3255a0[_0xc9b490];(_0x364414==null?void 0x0:_0x364414[_0x42d026(0x415)])===_0x1e4a6b[_0x42d026(0x2da)]&&Ne(_0x240b83,_0x5b3a74['id'],_0xc9b490,_0x3b85ca);let _0x2c1610=_0x240b83[_0x42d026(0x158)][_0xc9b490];if(_0x2c1610==null)return;let _0x16f9f1=_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610];if(_0x16f9f1!=null){Ie(_0x16f9f1,_0x364414,_0x3b85ca)&&(_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610]=D(_0x3b85ca,_0x364414));return;}_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610]=D(_0x3b85ca,_0x364414);}));}),_0x240b83;}function Se(_0x187817){const _0x149e8c=_0x5744;var _0x2d6bd6;return E(_0x187817),Object[_0x149e8c(0x236)]((_0x2d6bd6=_0x187817[_0x149e8c(0x2d2)])==null?{}:_0x2d6bd6)[_0x149e8c(0x3d3)](([_0x519c13,_0x24144c])=>{const _0x31f250=_0x149e8c;var _0x4603ee,_0x4e2b73,_0x13f7d9;let _0x124cac=Number(_0x519c13),_0x2ab5ec=_0x187817[_0x31f250(0x1ce)][_0x24144c];_0x2ab5ec&&(_0x2ab5ec[_0x31f250(0x33e)]={...(_0x4603ee=_0x2ab5ec['values'])==null?{}:_0x4603ee},Object[_0x31f250(0x236)]((_0x4e2b73=(_0x13f7d9=_0x187817[_0x31f250(0x34c)])==null?void 0x0:_0x13f7d9[_0x124cac])==null?{}:_0x4e2b73)[_0x31f250(0x3d3)](([_0x1b5dde,_0x1d38b4])=>{const _0x33a206=_0x31f250;var _0x2ac980;let _0x10b7ba=(_0x2ac980=_0x187817[_0x33a206(0x32b)])==null?void 0x0:_0x2ac980[Number(_0x1b5dde)];_0x10b7ba&&(_0x2ab5ec[_0x33a206(0x33e)][_0x10b7ba]=ke(_0x1d38b4,_0x187817['fields'][_0x10b7ba],_0x187817,_0x24144c));}));}),_0x187817;}function Ce(_0x17ee94,_0x31047f){const _0x5684a1=_0x5744;for(let {row:_0x2ca5bc,col:_0x420b14}of _0x31047f){var _0xa09de1,_0x17500b,_0x193f88,_0x1ebb0a,_0x6f9c8f;let _0x317e42=(_0xa09de1=_0x17ee94[_0x5684a1(0x2d2)])==null?void 0x0:_0xa09de1[_0x2ca5bc],_0x415012=(_0x17500b=_0x17ee94['colId'])==null?void 0x0:_0x17500b[_0x420b14],_0x2e661b=_0x317e42?_0x17ee94[_0x5684a1(0x1ce)][_0x317e42]:void 0x0;if(!_0x2e661b||!_0x415012)continue;let _0x3fe3f0=(_0x193f88=_0x17ee94[_0x5684a1(0x34c)])==null||(_0x193f88=_0x193f88[_0x2ca5bc])==null?void 0x0:_0x193f88[_0x420b14];_0x3fe3f0==null&&!Object[_0x5684a1(0x3fd)][_0x5684a1(0x1c3)][_0x5684a1(0x1c1)]((_0x1ebb0a=_0x2e661b['values'])==null?{}:_0x1ebb0a,_0x415012)||(_0x2e661b[_0x5684a1(0x33e)]={...(_0x6f9c8f=_0x2e661b['values'])==null?{}:_0x6f9c8f},_0x2e661b[_0x5684a1(0x33e)][_0x415012]=ke(_0x3fe3f0,_0x17ee94['fields'][_0x415012],_0x17ee94,_0x317e42));}return _0x17ee94;}function we(_0x14a6a6,_0x39763a,_0x385ea5){const _0x47c946=_0x5744;var _0x2af547,_0xbcfd74,_0x1c8963,_0x1db9cd,_0x11a5e9,_0x1bf79e;let _0x280a40=(_0x2af547=_0x14a6a6[_0x47c946(0x2f0)])==null?void 0x0:_0x2af547[_0x39763a],_0x564b95=(_0xbcfd74=_0x14a6a6[_0x47c946(0x158)])==null?void 0x0:_0xbcfd74[_0x385ea5];if(_0x280a40!=null&&_0x564b95!=null&&((_0x1c8963=_0x14a6a6[_0x47c946(0x2d2)])==null?void 0x0:_0x1c8963[_0x280a40])===_0x39763a&&((_0x1db9cd=_0x14a6a6['colId'])==null?void 0x0:_0x1db9cd[_0x564b95])===_0x385ea5)return{'row':_0x280a40,'col':_0x564b95};let _0x476436=E(_0x14a6a6),_0x555eaa=(_0x11a5e9=_0x476436[_0x47c946(0x2f0)])==null?void 0x0:_0x11a5e9[_0x39763a],_0xc7b575=(_0x1bf79e=_0x476436['colIndex'])==null?void 0x0:_0x1bf79e[_0x385ea5];return _0x555eaa==null||_0xc7b575==null?null:{'row':_0x555eaa,'col':_0xc7b575};}function Te(_0x5e49cc,_0x2f13a9,_0x5bf28d){const _0x1c71a1=_0x5744;var _0x2a5107;let _0xfa5c86=we(_0x5e49cc,_0x2f13a9,_0x5bf28d);if(_0xfa5c86)return(_0x2a5107=_0x5e49cc['cellData'])==null||(_0x2a5107=_0x2a5107[_0xfa5c86['row']])==null?void 0x0:_0x2a5107[_0xfa5c86[_0x1c71a1(0x3b3)]];}function Ee(_0x348e7e,_0x57b66f,_0x57b0ae){const _0x3b4ea3=_0x5744;var _0x4c9a61,_0x51f2fd;let _0x21c819=Te(_0x348e7e,_0x57b66f,_0x57b0ae),_0x397275=_0x348e7e[_0x3b4ea3(0x2f3)][_0x57b0ae];if((_0x397275==null?void 0x0:_0x397275[_0x3b4ea3(0x415)])===_0x1e4a6b[_0x3b4ea3(0x2da)]){var _0x467f4d,_0xa06be6;return(_0x467f4d=Pe(_0x348e7e,_0x57b66f,_0x57b0ae))==null?O((_0xa06be6=_0x348e7e[_0x3b4ea3(0x1ce)][_0x57b66f])==null||(_0xa06be6=_0xa06be6[_0x3b4ea3(0x33e)])==null?void 0x0:_0xa06be6[_0x57b0ae]):_0x467f4d;}if(k(_0x397275)||(_0x397275==null?void 0x0:_0x397275[_0x3b4ea3(0x415)])===_0x1e4a6b[_0x3b4ea3(0x354)]){var _0x18212e;let _0x239873=(_0x18212e=_0x348e7e['records'][_0x57b66f])==null||(_0x18212e=_0x18212e['values'])==null?void 0x0:_0x18212e[_0x57b0ae];return _0x239873!=null&&_0x239873!==''?Fe(_0x239873,_0x397275):ke(_0x21c819,_0x397275,_0x348e7e,_0x57b66f);}if(_0x21c819&&Object[_0x3b4ea3(0x3fd)][_0x3b4ea3(0x1c3)][_0x3b4ea3(0x1c1)](_0x21c819,'v')){var _0x5c407f;return(_0x5c407f=_0x21c819['v'])==null?null:_0x5c407f;}return(_0x4c9a61=(_0x51f2fd=_0x348e7e[_0x3b4ea3(0x1ce)][_0x57b66f])==null||(_0x51f2fd=_0x51f2fd[_0x3b4ea3(0x33e)])==null?void 0x0:_0x51f2fd[_0x57b0ae])==null?null:_0x4c9a61;}function De(_0x52d98e,_0x30e3fd,_0x5fe4e3){const _0x45b84f=_0x5744;var _0x48334b,_0x495c22,_0x35b3ce;let _0x2d2a17=Te(_0x52d98e,_0x30e3fd,_0x5fe4e3);if(_0x2d2a17&&Object[_0x45b84f(0x3fd)][_0x45b84f(0x1c3)][_0x45b84f(0x1c1)](_0x2d2a17,'v')){var _0x1fc94a;return(_0x1fc94a=_0x2d2a17['v'])==null?null:_0x1fc94a;}let _0x1a94d5=_0x52d98e[_0x45b84f(0x2f3)][_0x5fe4e3];return(_0x48334b=D((_0x495c22=(_0x35b3ce=_0x52d98e[_0x45b84f(0x1ce)][_0x30e3fd])==null||(_0x35b3ce=_0x35b3ce[_0x45b84f(0x33e)])==null?void 0x0:_0x35b3ce[_0x5fe4e3])==null?null:_0x495c22,_0x1a94d5)['v'])==null?null:_0x48334b;}function D(_0x149df3,_0x202a94){const _0x2b75f0=_0x5744;if(je(_0x149df3))return(_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b['Attachment']?{..._0x149df3,'v':'','t':_0x5e55fc[_0x2b75f0(0x268)]}:Oe(_0x149df3);if((_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b[_0x2b75f0(0x2da)])return{'v':'','t':_0x5e55fc[_0x2b75f0(0x268)]};if(k(_0x202a94))return{'v':Le(_0x149df3)[_0x2b75f0(0x186)](',\x20'),'t':_0x5e55fc[_0x2b75f0(0x268)]};if((_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b['Link']&&_0x149df3&&typeof _0x149df3==_0x2b75f0(0x25a)&&!Array[_0x2b75f0(0x3db)](_0x149df3)){var _0x2a5043,_0x4b9b92;let _0x422a96=_0x149df3;return{'v':String((_0x2a5043=(_0x4b9b92=_0x422a96['text'])==null?_0x422a96[_0x2b75f0(0x2f1)]:_0x4b9b92)==null?'':_0x2a5043),'t':_0x5e55fc[_0x2b75f0(0x268)]};}return _0x149df3===null||typeof _0x149df3==_0x2b75f0(0x247)||typeof _0x149df3=='number'||typeof _0x149df3==_0x2b75f0(0x424)?{'v':_0x149df3,'t':ze(_0x149df3)}:{'v':null,'t':null};}function Oe(_0x26ab44){let _0x41e103=Ve(_0x26ab44['t'],_0x26ab44['v']);if(_0x41e103===void 0x0){let {t:_0x361885,..._0x4c9710}=_0x26ab44;return _0x4c9710;}return{..._0x26ab44,'t':_0x41e103};}function ke(_0x4bb6f2,_0x20ae99,_0xe6ffb7,_0x5e461e){const _0x4170a5=_0x5744;if(!_0x4bb6f2)return null;if((_0x20ae99==null?void 0x0:_0x20ae99['type'])===_0x1e4a6b[_0x4170a5(0x2da)]){var _0x5f056c;return _0xe6ffb7&&_0x5e461e?(_0x5f056c=Pe(_0xe6ffb7,_0x5e461e,_0x20ae99['id']))==null?[]:_0x5f056c:[];}if(k(_0x20ae99))return Le(_0x4bb6f2['v']);if((_0x20ae99==null?void 0x0:_0x20ae99[_0x4170a5(0x415)])===_0x1e4a6b[_0x4170a5(0x354)]&&_0xe6ffb7&&_0x5e461e){var _0x3e1fd7;let _0x27ba33=(_0x3e1fd7=_0xe6ffb7['records'][_0x5e461e])==null||(_0x3e1fd7=_0x3e1fd7[_0x4170a5(0x33e)])==null?void 0x0:_0x3e1fd7[_0x20ae99['id']];if(_0x27ba33&&typeof _0x27ba33==_0x4170a5(0x25a)&&!Array[_0x4170a5(0x3db)](_0x27ba33))return _0x27ba33;}if(Object[_0x4170a5(0x3fd)]['hasOwnProperty'][_0x4170a5(0x1c1)](_0x4bb6f2,'v')){var _0x34cead;return(_0x34cead=_0x4bb6f2['v'])==null?null:_0x34cead;}return null;}function Ae(_0x19ea23,_0x4d7cc0,_0x2e25e1,_0x164569,_0x2abd00){const _0x1250e7=_0x5744;return(_0x2e25e1==null?void 0x0:_0x2e25e1[_0x1250e7(0x415)])===_0x1e4a6b[_0x1250e7(0x2da)]?O(_0x19ea23):k(_0x2e25e1)?Le(_0x19ea23):(_0x2e25e1==null?void 0x0:_0x2e25e1[_0x1250e7(0x415)])===_0x1e4a6b[_0x1250e7(0x354)]&&_0x19ea23&&typeof _0x19ea23==_0x1250e7(0x25a)&&!Array[_0x1250e7(0x3db)](_0x19ea23)&&!je(_0x19ea23)?_0x19ea23:ke(_0x4d7cc0,_0x2e25e1,_0x164569,_0x2abd00);}function je(_0x258697){const _0x5574e8=_0x5744;return!!_0x258697&&typeof _0x258697==_0x5574e8(0x25a)&&(Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'v')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'t')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'p')||Object['prototype'][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'f')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)]['call'](_0x258697,'si'));}function Me(_0x531ff3,_0x54b331){return _0x531ff3+'\x1f'+_0x54b331;}function _0x3d4a(){const _0x488909=['info','_onCommandExecuted','Start\x20date','_groupsCacheKey','searchTexts','setViewFieldVisible','apply','_permissionService','deleteTable','leftPaneWidth','[BaseFormula]:\x20table\x20\x22','Todo','system','_isGanttDateField','_fastSortRows','Gallery','doing','operand','_getJson1DirtyData','rowIndex','url','canDeleteField','fields','createDefaultValue','_isNonEmptyCellValue','_projectedViewRowsCache','next30','after','sheetId','_views','leftPaneCollapsed','disposeWithMe','78UHDdob','currencySymbol','canEditField','_createNumberingAllocators','invalid','h:mm\x20a','clearTablePermission','tableRevision','text','base.command.move-base-view','reduce','progressFieldId','[BaseCommandService]:\x20cannot\x20edit\x20cell.','base.command.set-base-view-field-order','undefined','normalize','startsWith','_injector','_ganttBarColor','getMonth','constructor','afterFieldId','_toDirtyRangePatch','sort','defineProperty','long','trim','3561068SonGQv','_isColorfulKanbanGroupField','startDateFieldId','showTodayLine','finally','executeCommand','calendar','conditions','_config','base.viewType.gallery',':end','includes','_getTable','exceptions','updateCell','_kanbanLaneTitle','table','toPlainText','setRecordValues','colId','COMMAND','snapshot','decimalPlaces','_filterRows','then','recordIds','MultiSelect','_commandService','_activeDirtyManagerService','[BaseCommandService]:\x20cannot\x20manage\x20view.','_replaceOptional','unknown','flatMap','setBasePermission','182481DFoWum','renameFormulaUnitReferences','pushUndoRedo','day','values','manual','splice','setViewFieldOrder','revision','Phone','[BaseField]:\x20invalid\x20progress\x20value.','canCreateField','_baseSyncDisposables','pluginName','recordId','base-perf','[BaseCommandService]:\x20cannot\x20delete\x20record.','from','cellData','setRangeValues','value','toFixed','rules','_resolveGalleryCoverFieldId','usableAsCardCover','Rating','Link','_createSystemFieldValuePatches','createSuperTableReference','lastIndex','allowMultiple','-field-name','fieldIds','createCreateRecordOp','result','timeZone','invertOp','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','yyyy/mm/dd','updateRecordOrder','index','cardLayout','-view-grid','_initDependencies','groups','Yes','usableAsGanttStart','base.command.update-base-record-order','kanban','min','base.command.create-base-view','_sortRows','syncExecuteCommand','columnSettings','params','padStart','timeslotSize','_plugins','size','order','createUpdateCellOp','NumberFormat','viewIndexes','_bumpTableRevision','False','_resolveGanttDateFieldId','_title','lessThanOrEqual','embed-ui','quarter','renameView','invertWithDoc',':start','IBaseCellData.ensureTableCellLayout','18541giPCId','_withModifiedSystemValues','BaseProjection.projectTableRows','set','isNot','packageName','createBase','_normalizeGanttConfig','check','DESC','_getKanbanConfiguredLanes','cell','locale','base.command.delete-base-table','card','_resolveKanbanGroupFieldId','embedId','CreatedBy','duplicateField','#,##0','path','Flow','validateFormula','dispose','_fieldRegistry','dateMode','updateField','_applyingFormulaResults','forValue','Checked','118WEwSvY','findIndex','_viewRowsCacheKey','base.viewType.calendar','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','removeOp','false','UTC','medium','recordOrder','focusUnit','base.command.move-base-field','Number','setViewFieldWidth','_applier','title','en-US','col','#BFDBFE','[BaseCommandService]:\x20cannot\x20delete\x20field.','BaseJson1.cloneForOp','usableAsCalendarDate','getSuperTableRegistrations','commaPeriod','base.command.change-base-field-type','_tableRevisions','getUTCMonth','_syncBaseUnit','invalidateByCell','major-','user','next7','reason','_findKanbanGroupField','decorate','parse','_createNumberingFieldValuePatches','createField','base.command.set-base-view-group','separatorStyle','createDefaultConfig','[BasePerf]\x20','delete','changed','MMM\x20D,\x20YYYY','majorHeaders','[BaseCommandService]:\x20cannot\x20delete\x20table.','BOOLEAN','deleteRecord','forEach','children','setBaseName','[BaseField]:\x20invalid\x20multi-value\x20reference.','formula.mutation.set-formula-calculation-result','changeFieldType','exec','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isArray','unitId','short','syncUnit','custom','spaceComma','thisWeek','createViewId','@univerjs-pro/bases','base.command.service','_createRecordWithDefaults','editable','__UNIVER_BASE_PERF__','MM-DD','attachmentSet','matchAll','_cellInvalidationsTouchFields','\x22\x20does\x20not\x20exist.','updateViewConfig','base.command.batch-delete-base-records','_buildGrid','Progress','DD/MM/YYYY','Unchecked','repeat','clearRecordPermission','decimal','base.view-registry.service','Group','_viewRevisionKey','base.command.set-base-kanban-group-field','_projectTableRows','autoIncrement','score','prototype','isNotEmpty','base.projection.service','indexOf','HH:mm','symbol','_apply','tables','operator','base.command.batch-create-base-records','replace','Formula','createRegExpFromSafeFragment','Summary','Uncategorized','deleteRecords','search','Gantt','_cellInvalidations','canManageView','__all__','beforeFieldId','createdAt','level','type','diffValue','setSnapshot','_fieldPermissions','tableName','univer.basePerf','basePerf','patches','pattern','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.set-base-view-field-visible','_setCachedProjection','resources','max','valid','boolean','setTablePermission','formatToParts','test','_isKanbanGroupField','Currency','#14b8a6','Name','_dataSyncPrimaryController','[BaseField]:\x20invalid\x20phone\x20value.','Button','base.mutation.apply-base-json1','_recordPermissions','_kanbanGroupKeys','_tablePermissions','[BaseCommandService]:\x20cannot\x20create\x20record.','projection','Person','_recordIds','toPrimitive','canEditCell','base.command.create-base-record','onReady','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','greaterThanOrEqual','view-','includeRecords','colIndex','_getOrderedRecords','_matchesGanttColorRule','year','beforeViewId','unitData','unitOtherData','deleteView','getDependencies','getCapabilities','registerSyncingMutations','readonly','_projectFields','SingleSelect','greaterThan','past30','getUTCDay','workingDays','FORCE_STRING','[BaseCommandService]:\x20cannot\x20edit\x20field.','contains','primaryFieldName','_setFormulaFieldCells',',,\x22M\x22','defaultValue',',\x22K\x22','edit','views','UNIVER_BASE','label','_resolveKanbanCardFieldIds','general','normal','_isAllDayGanttDateRange','viewId','UNIVER_EMBED_BASES_TABLE','base.command.delete-base-record','cardSize','_patchProjectedRowsForCellInvalidations','-record-','createdBy','Doing','lastIndexOf','moveView',',,,\x22B\x22','fromEntries','join','fld-','userID','split','_getTablesToNormalize','clearFieldPermission','UpdatedAt','registerSuperTables','start','scale','YYYY-MM-DD','_groupProjectionFieldIds','[BaseField]:\x20invalid\x20date\x20value.','fieldSettings','key','weekdays','bases.config','bases.fieldConfig.linkPlaceholder','options','_deleteAttachmentResources','resolve','registerSuperTable','_getCachedProjection','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_registeredSuperTableNames','_enqueueFormulaSync','description','_setViewFieldSetting','_configService','attachmentSets','coverFieldId','Email','clearBasePermission','query','displayColor','_rowTransformCacheSegment','subscribe','getCurrentUser','slice','toLowerCase','_formulaSyncQueue','createRecord','endDateFieldId','groupFieldId','direction','percent','CreatedAt','_getStructureDirtyTableIds','past7','getFullYear','view','7885Dkmqjd','[BaseField]:\x20invalid\x20email\x20value.','createRecords','_normalizeGanttDisplayColor','hidden','duplicateRecord','mode','trigger','call','has','hasOwnProperty','base.resource.service','function','rowIndexById','replaceOp','displayText','formula','#3b82f6','Checkbox','registerCommand','_findCalendarDateFieldId','records','getTypePlugin','getStructuredDependencies','12516440pEWncj','globalRevision','workingDaysOnly','compose','Grid','recordCount','__tempBatchingUndoRedo','createView','_projectionCache','isFinite','base.command.rename-base-table','_createRecordOrderOp','length','afterViewId','_createNumberingAllocator','group','updatedAt','manageView','limit','lastWeek','_cacheKey','allowNegative','createSetRecordValuesOp','Kanban','spacePeriod','_normalizeCalendarDisplayColor','onCommandExecuted','_getViewRevision','_buildGallery','registerView','1.0.0-alpha.7','_getCurrentUserId','createTable','attachment','selectField','YYYY/MM/DD','week','invalidDateField','format','base.command.update-base-view-config','getTypeOfUnitDisposed$','regenerateViewIds','BaseProjection.filterAndSortRows','hh:mm','hostAnchorId','tableOrder','_kanbanLaneColor','date','fieldOrder','setFieldPermission','setHours','lastMonth','_syncSuperTables','todo','updatedBy','Numbering','_resolveGalleryCardFieldIds','compare','General','_buildKanban','base.command.rename-base-view','_projectedGroupsCache','fieldId','gridViewId','working','20DTeagh','fieldName','invalidGanttStartField','_formulaService','base.command.duplicate-base-field','base.command.duplicate-base-record','#BBF7D0','stringify','invalidateByOp','7395705QfNeqv','_capabilities','_viewRevisions','width','frozenFieldCount','tomorrow','hourCycle','[BaseField]:\x20invalid\x20person\x20value.','applyOp','#FDE68A','Date','baseRows','setViewFilter','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','add','map','canDeleteTable','base.command.delete-base-field','_removeSuperTables','repairViewConfig','_patchCachedProjectedRows','invalidGanttEndField','_groupCellInvalidations','field','thisMonth','keys','record','entries','_normalizeCellValue','_normalizeCalendarConfig','h24','includeTime','_basePermissions','_filterSortFieldIds','canDeleteRecord','localeCompare','getAffectedRanges','base.command.update-base-field','Barcode','person','primaryFieldId','base.command.set-base-view-field-width','today','_calendarEventColor','string','getUnit','[BaseCommandService]:\x20cannot\x20create\x20field.','month','attachments','some','error','RecordId','filter','setViewSort','recordNamePrefix','5234904TJqheQ','base.command.update-base-field-description','getProjection','YYYY/MM/DD\x20HH:mm','base.viewType.kanban','local','push','_runtimeContext','object','Working\x20day','round','blue','validate','_univerInstanceService','unitWidth','end','_initialize','resolvedOptions','_getCellRevision','_projectGroups','showFieldNames','number','STRING','remove','_getAllTableIds','viewOrder','column','childUnitId','getBase','Location','rows','_cellRevisions','getItem','_factory','_isAllowedKanbanGroupField','insertOp','setRecordPermission','_materializeGroups','colorFieldId','setViewGroup','getCurrentUserId','color','getAllUnitsForType','toLocaleString','_projectRows','fromPlainText','_globalRevision','usableAsGanttEnd','True','getUTCFullYear','row','config','REMOTE_BASES_PLUGIN','exact','_getTableRevision','find','deepClone','registerCtorForType','name','deleteField','_applyFormulaResult','every','register','star','_projectedRowsCache','periodComma','canCreateRecord','version','\x22\x20is\x20not\x20registered.','base.command.create-base-field','conditional','abbreviation','renameTable','createUnit','editCell','uniqueTableName','createBatchCreateRecordsOp','now','[BaseField]:\x20invalid\x20number\x20value.','BaseProjection.getProjection','isNaN','[BaseFormula]:\x20field\x20\x22','base.command.set-base-record-values','_initRegistries','[BaseCommandService]:\x20field\x20\x22','true','getAll','orderKey','Calendar','raw','BASES_PLUGIN','registerTable','_initDataSync','_getAllBaseDependencyTreeCacheMap','_groupConfigCacheSegment','Failed\x20to\x20create\x20update\x20cell\x20operation:','_resolveCalendarDateFieldId','tableId','_resolveKanbanCoverFieldId','invalidateByView','none','setConfig','conjunction','TwoWayLink','canCreateTable','get','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','titleFieldId','UpdatedBy','done','_initCommands','notContains','getUnitId','endsWith','getTime','yesterday','createCreateFieldOp','invalidateByField','invalidGroupField','_setAttachmentResources','Lookup','[BaseField]:\x20invalid\x20checkbox\x20value.','gantt','_isCalendarDateField','Text','before','getTypeOfUnitAdded$','fieldIndex','rowId','moveField','[BaseProjectionService]:\x20missing\x20view\x20\x22','getUTCDate','option-','base.command.set-base-name','cellRevision','getSnapshot','Attachment','NUMBER','dependencyFieldId'];_0x3d4a=function(){return _0x488909;};return _0x3d4a();}function Ne(_0x27de72,_0x3e06a7,_0x5fa7ea,_0x23eb4c){const _0x2c1af9=_0x5744;var _0x4d0783,_0x148447,_0x2041ff;let _0x22f2d7=O(_0x23eb4c);_0x27de72[_0x2c1af9(0x421)]={...(_0x4d0783=_0x27de72[_0x2c1af9(0x421)])==null?{}:_0x4d0783},_0x27de72[_0x2c1af9(0x421)]['attachmentSets']={...(_0x148447=_0x27de72[_0x2c1af9(0x421)]['attachmentSets'])==null?{}:_0x148447},_0x27de72[_0x2c1af9(0x421)]['attachments']={...(_0x2041ff=_0x27de72[_0x2c1af9(0x421)][_0x2c1af9(0x24b)])==null?{}:_0x2041ff};let _0x147d43=Me(_0x5fa7ea,_0x3e06a7),_0x56441e=[];for(let _0x4f4eda=0x0;_0x4f4eda<_0x22f2d7[_0x2c1af9(0x1dd)];_0x4f4eda++){var _0x5076da;if(!(_0x4f4eda in _0x22f2d7))continue;let _0x4fe4c8=_0x22f2d7[_0x4f4eda],_0x2da21a=String((_0x5076da=_0x4fe4c8['id'])==null?_0x147d43+'\x1f'+_0x4f4eda:_0x5076da),_0x27a25e={..._0x4fe4c8,'id':_0x2da21a};_0x27de72[_0x2c1af9(0x421)][_0x2c1af9(0x24b)][_0x2da21a]=_0x27a25e,_0x56441e['push'](_0x2da21a);}_0x27de72[_0x2c1af9(0x421)]['attachmentSets'][_0x147d43]=_0x56441e;}function Pe(_0x1d120a,_0x345d2c,_0x3ad322){const _0x257448=_0x5744;var _0x4eeef2;let _0xc21f1b=Me(_0x3ad322,_0x345d2c),_0x14150a=(_0x4eeef2=_0x1d120a['resources'])==null||(_0x4eeef2=_0x4eeef2[_0x257448(0x1a3)])==null?void 0x0:_0x4eeef2[_0xc21f1b];if(!_0x14150a)return null;let _0x3ac24a=[];for(let _0x1ccbda=0x0;_0x1ccbda<_0x14150a[_0x257448(0x1dd)];_0x1ccbda++){var _0x3db5cf;if(!(_0x1ccbda in _0x14150a))continue;let _0x394c3a=(_0x3db5cf=_0x1d120a[_0x257448(0x421)])==null||(_0x3db5cf=_0x3db5cf[_0x257448(0x24b)])==null?void 0x0:_0x3db5cf[_0x14150a[_0x1ccbda]];_0x394c3a&&_0x3ac24a[_0x257448(0x258)]({..._0x394c3a});}return _0x3ac24a;}function O(_0x60575f){const _0x25c355=_0x5744;if(_0x60575f==null||_0x60575f===''||je(_0x60575f)&&!('id'in _0x60575f)&&!(_0x25c355(0x28c)in _0x60575f))return[];let _0x2f3df7=Array[_0x25c355(0x3db)](_0x60575f)?_0x60575f:[_0x60575f],_0x413ba5=[];for(let _0x2f2452=0x0;_0x2f2452<_0x2f3df7[_0x25c355(0x1dd)];_0x2f2452++){if(!(_0x2f2452 in _0x2f3df7))continue;let _0x11c663=_0x2f3df7[_0x2f2452],_0x40329d=_0x11c663&&typeof _0x11c663==_0x25c355(0x25a)?{..._0x11c663}:{'id':'attachment-'+_0x2f2452,'name':String(_0x11c663)};Object['keys'](_0x40329d)[_0x25c355(0x1dd)]>0x0&&_0x413ba5['push'](_0x40329d);}return _0x413ba5;}function Fe(_0x3f9854,_0x500333){const _0x1bc5a3=_0x5744;return(_0x500333==null?void 0x0:_0x500333[_0x1bc5a3(0x415)])===_0x1e4a6b[_0x1bc5a3(0x2da)]?O(_0x3f9854):k(_0x500333)?Le(_0x3f9854):_0x3f9854;}function Ie(_0x2bfc25,_0x15ee1a,_0x1cfc04){const _0x256483=_0x5744;return(_0x15ee1a==null?void 0x0:_0x15ee1a[_0x256483(0x415)])===_0x1e4a6b[_0x256483(0x2da)]?_0x2bfc25['v']!=='':k(_0x15ee1a)?Array[_0x256483(0x3db)](_0x1cfc04)&&(_0x2bfc25['v']==null||_0x2bfc25['v']===''):!0x1;}function k(_0x4b766b){const _0x426a4c=_0x5744;return(_0x4b766b==null?void 0x0:_0x4b766b[_0x426a4c(0x415)])===_0x1e4a6b['MultiSelect']||(_0x4b766b==null?void 0x0:_0x4b766b['type'])===_0x1e4a6b[_0x426a4c(0x435)]||(_0x4b766b==null?void 0x0:_0x4b766b[_0x426a4c(0x415)])===_0x1e4a6b['Group'];}function Le(_0x27ce01){const _0x4b9527=_0x5744;if(_0x27ce01==null||_0x27ce01==='')return[];let _0x4987c5=[];if(Array[_0x4b9527(0x3db)](_0x27ce01)){for(let _0x285352=0x0;_0x285352<_0x27ce01[_0x4b9527(0x1dd)];_0x285352++){if(!(_0x285352 in _0x27ce01))continue;let _0x138002=Re(_0x27ce01[_0x285352]);_0x138002&&_0x4987c5['push'](_0x138002);}return _0x4987c5;}for(let _0xc54902 of String(_0x27ce01)[_0x4b9527(0x189)](',')){let _0x2854e7=_0xc54902[_0x4b9527(0x317)]();_0x2854e7&&_0x4987c5[_0x4b9527(0x258)](_0x2854e7);}return _0x4987c5;}function Re(_0x50f9e3){const _0x1d6325=_0x5744;if(_0x50f9e3==null)return'';if(typeof _0x50f9e3==_0x1d6325(0x247)||typeof _0x50f9e3=='number'||typeof _0x50f9e3==_0x1d6325(0x424))return String(_0x50f9e3);if(typeof _0x50f9e3=='object'){var _0x244f74,_0x202395,_0x17b77a;let _0x5e8fe6=_0x50f9e3;return String((_0x244f74=(_0x202395=(_0x17b77a=_0x5e8fe6['id'])==null?_0x5e8fe6[_0x1d6325(0x28c)]:_0x17b77a)==null?_0x5e8fe6[_0x1d6325(0x305)]:_0x202395)==null?'':_0x244f74);}return String(_0x50f9e3);}function ze(_0x23214b){const _0x5c77cb=_0x5744;return _0x23214b==null?null:typeof _0x23214b==_0x5c77cb(0x267)?_0x5e55fc[_0x5c77cb(0x2db)]:typeof _0x23214b==_0x5c77cb(0x424)?_0x5e55fc[_0x5c77cb(0x3d1)]:_0x5e55fc[_0x5c77cb(0x268)];}function Be(_0x545e0f){const _0x136044=_0x5744;_0x545e0f[_0x136044(0x314)]((_0x5f6490,_0x3a127b)=>_0x5f6490['orderKey'][_0x136044(0x23e)](_0x3a127b[_0x136044(0x2a9)]));let _0x1baec7=[];for(let _0x53add3 of _0x545e0f)_0x1baec7[_0x136044(0x258)](_0x53add3['id']);return _0x1baec7;}function Ve(_0x4541a4,_0x4650c1){const _0x3921a5=_0x5744;return _0x4541a4===_0x5e55fc[_0x3921a5(0x268)]||_0x4541a4===_0x5e55fc['NUMBER']||_0x4541a4===_0x5e55fc[_0x3921a5(0x3d1)]||_0x4541a4===_0x5e55fc[_0x3921a5(0x16a)]||_0x4541a4==null?_0x4541a4:ze(_0x4650c1==null?null:_0x4650c1);}var A=class{['applyOp'](_0x4c48d9,_0x3917bf){const _0x4941de=_0x5744;let _0xd7dd5b=this[_0x4941de(0x23f)](_0x3917bf),_0x257b8f=T(_0x4941de(0x3b6),()=>Ye(_0x4c48d9,_0x3917bf),{'invalidations':_0xd7dd5b['length']}),_0x4fe375=T('BaseJson1.json1Apply',()=>_0x6fccb6[_0x4941de(0x415)][_0x4941de(0x2e3)](_0x257b8f,_0x3917bf),{'invalidations':_0xd7dd5b[_0x4941de(0x1dd)]});return He(_0x4fe375,_0xd7dd5b)||this[_0x4941de(0x18a)](_0x4fe375,_0xd7dd5b)['forEach'](_0x516fd3=>{Se(_0x516fd3);}),_0x4fe375;}[_0x396ed2(0x35e)](_0x2b0be9,_0x4a86e0){const _0x2f7340=_0x396ed2;return _0x6fccb6[_0x2f7340(0x415)][_0x2f7340(0x381)](_0x4a86e0,_0x2b0be9);}['getAffectedRanges'](_0x3708ea){const _0x326287=_0x396ed2;let _0x2f0aa2=Ke(_0x3708ea);return _0x2f0aa2[_0x326287(0x1dd)]?qe(_0x2f0aa2[_0x326287(0x338)](_0x16b8bc=>this['getAffectedRanges'](_0x16b8bc))):Ue(_0x3708ea);}[_0x396ed2(0x18a)](_0x307709,_0x519eeb){const _0x5777d5=_0x396ed2;if(!_0x519eeb['length'])return[];if(_0x519eeb[_0x5777d5(0x24c)](_0x5d6b15=>!_0x5d6b15[_0x5777d5(0x2b3)])){var _0x4ff1a7;return Object[_0x5777d5(0x33e)]((_0x4ff1a7=_0x307709[_0x5777d5(0x404)])==null?{}:_0x4ff1a7);}return Array[_0x5777d5(0x34b)](new Set(_0x519eeb[_0x5777d5(0x22a)](_0x5c1d3e=>_0x5c1d3e[_0x5777d5(0x2b3)])))[_0x5777d5(0x338)](_0x3d305c=>{var _0x3fc646;let _0x398f0b=(_0x3fc646=_0x307709['tables'])==null?void 0x0:_0x3fc646[_0x3d305c];return _0x398f0b?[_0x398f0b]:[];});}};function He(_0x1e0790,_0x11cc28){const _0x614890=_0x396ed2;if(!_0x11cc28[_0x614890(0x1dd)]||_0x11cc28['some'](_0x49027c=>_0x49027c[_0x614890(0x3c2)]!==_0x614890(0x38f)))return!0x1;let _0x2aa4a7=new Map();for(let _0x5f46a6 of _0x11cc28){var _0x29b1c9;if(!_0x5f46a6[_0x614890(0x2b3)]||_0x5f46a6[_0x614890(0x284)]==null||_0x5f46a6[_0x614890(0x26c)]==null)continue;let _0x4ffe8b=(_0x29b1c9=_0x2aa4a7[_0x614890(0x2bb)](_0x5f46a6['tableId']))==null?[]:_0x29b1c9;_0x4ffe8b[_0x614890(0x258)]({'row':_0x5f46a6[_0x614890(0x284)],'col':_0x5f46a6['column']}),_0x2aa4a7[_0x614890(0x387)](_0x5f46a6[_0x614890(0x2b3)],_0x4ffe8b);}return _0x2aa4a7[_0x614890(0x3d3)]((_0x5f1d84,_0x34c2a0)=>{var _0x502785;let _0x1a8531=(_0x502785=_0x1e0790['tables'])==null?void 0x0:_0x502785[_0x34c2a0];_0x1a8531&&Ce(_0x1a8531,_0x5f1d84);}),!0x0;}function Ue(_0x532270){const _0x573f78=_0x396ed2;if(!Array[_0x573f78(0x3db)](_0x532270)||_0x532270[_0x573f78(0x1dd)]<0x2)return[{'tableId':'','reason':_0x573f78(0x337)}];let _0x25c0ef=_0x532270,_0xb6927d=_0x25c0ef[_0x573f78(0x400)](_0x573f78(0x404));return _0xb6927d===-0x1||typeof _0x25c0ef[_0xb6927d+0x1]!=_0x573f78(0x247)?_0x25c0ef[0x0]===_0x573f78(0x1fe)?[]:[{'tableId':'','reason':_0x573f78(0x337)}]:We(_0x25c0ef,_0xb6927d,String(_0x25c0ef[_0xb6927d+0x1]));}function We(_0x32be62,_0x4e5162,_0x1c41f7){const _0xdd0bc8=_0x396ed2;let _0x3c8346=_0x32be62[_0x4e5162+0x2];return _0x3c8346===_0xdd0bc8(0x1ce)&&typeof _0x32be62[_0x4e5162+0x3]==_0xdd0bc8(0x247)?Ge(_0x32be62,_0x4e5162,_0x1c41f7,String(_0x32be62[_0x4e5162+0x3])):_0x3c8346==='cellData'&&_0x32be62[_0x4e5162+0x3]!=null&&_0x32be62[_0x4e5162+0x4]!=null?[{'tableId':_0x1c41f7,'reason':'cell','row':Number(_0x32be62[_0x4e5162+0x3]),'column':Number(_0x32be62[_0x4e5162+0x4])}]:_0x3c8346===_0xdd0bc8(0x2f3)&&typeof _0x32be62[_0x4e5162+0x3]=='string'?[{'tableId':_0x1c41f7,'reason':_0xdd0bc8(0x232),'fieldId':String(_0x32be62[_0x4e5162+0x3])}]:_0x3c8346===_0xdd0bc8(0x173)&&typeof _0x32be62[_0x4e5162+0x3]==_0xdd0bc8(0x247)?[{'tableId':_0x1c41f7,'reason':_0xdd0bc8(0x1b8),'viewId':String(_0x32be62[_0x4e5162+0x3])}]:[{'tableId':_0x1c41f7,'reason':_0x3c8346===void 0x0?'table':_0xdd0bc8(0x337)}];}function Ge(_0x2a3d93,_0x1809ef,_0x5c012a,_0x59cdbc){const _0x4781cc=_0x396ed2;return _0x2a3d93[_0x1809ef+0x4]===_0x4781cc(0x33e)&&typeof _0x2a3d93[_0x1809ef+0x5]==_0x4781cc(0x247)?[{'tableId':_0x5c012a,'reason':_0x4781cc(0x38f),'recordId':_0x59cdbc,'fieldId':String(_0x2a3d93[_0x1809ef+0x5])}]:_0x2a3d93[_0x1809ef+0x4]==='updatedAt'||_0x2a3d93[_0x1809ef+0x4]===_0x4781cc(0x207)?[]:[{'tableId':_0x5c012a,'reason':_0x4781cc(0x235),'recordId':_0x59cdbc}];}function Ke(_0x20f133){const _0x2851c6=_0x396ed2;if(!Array[_0x2851c6(0x3db)](_0x20f133))return[];let _0x1d713a=_0x20f133['filter'](Array[_0x2851c6(0x3db)]);if(_0x1d713a[_0x2851c6(0x1dd)]>0x1&&_0x1d713a['length']===_0x20f133[_0x2851c6(0x1dd)])return _0x1d713a;let _0x4ff611=_0x20f133[_0x2851c6(0x3a3)](Array[_0x2851c6(0x3db)]);if(_0x4ff611>0x0&&_0x20f133[_0x2851c6(0x1ac)](_0x4ff611)[_0x2851c6(0x28f)](Array[_0x2851c6(0x3db)])){let _0x44b6a6=_0x20f133[_0x2851c6(0x1ac)](0x0,_0x4ff611);return _0x20f133['slice'](_0x4ff611)[_0x2851c6(0x22a)](_0x473daa=>[..._0x44b6a6,..._0x473daa]);}let _0x41085c=_0x20f133[_0x2851c6(0x400)](_0x2851c6(0x404));if(_0x41085c===-0x1||typeof _0x20f133[_0x41085c+0x1]!=_0x2851c6(0x247))return[];let _0x44f1f0=String(_0x20f133[_0x41085c+0x1]),_0x3d1bc3=_0x20f133[_0x2851c6(0x1ac)](_0x41085c+0x2)[_0x2851c6(0x24f)](Array['isArray']);return _0x3d1bc3[_0x2851c6(0x1dd)]<=0x1?[]:_0x3d1bc3['map'](_0x3e066e=>[_0x2851c6(0x404),_0x44f1f0,..._0x3e066e]);}function qe(_0x1b1062){const _0xa27553=_0x396ed2;let _0x5b5c4b=new Set();return _0x1b1062[_0xa27553(0x24f)](_0x5a25d2=>{const _0x3598f4=_0xa27553;let _0x2c21aa=JSON[_0x3598f4(0x219)](_0x5a25d2);return _0x5b5c4b[_0x3598f4(0x1c2)](_0x2c21aa)?!0x1:(_0x5b5c4b['add'](_0x2c21aa),!0x0);});}function Je(_0x5d5c1e){const _0x7438e3=_0x396ed2;return _0x32f40f[_0x7438e3(0x28a)](_0x5d5c1e);}function Ye(_0x38b1f4,_0x254d13){const _0xdd932c=_0x396ed2;let _0x31d34f=Xe(_0x254d13);if(!_0x31d34f[_0xdd932c(0x1dd)])return Je(_0x38b1f4);let _0x533957=tt(_0x38b1f4);for(let _0x425767 of _0x31d34f)$e(_0x533957,_0x425767);return _0x533957;}function Xe(_0x54ba97){let _0x241c1d=[];return Ze(_0x54ba97,[],_0x241c1d),_0x241c1d;}function Ze(_0x5a7878,_0x18c16c,_0x28c41e){const _0x5dc01b=_0x396ed2;if(!Array[_0x5dc01b(0x3db)](_0x5a7878))return;let _0x290ffb=[];for(let _0x7b10b of _0x5a7878){if(Array[_0x5dc01b(0x3db)](_0x7b10b)){Ze(_0x7b10b,[..._0x18c16c,..._0x290ffb],_0x28c41e);continue;}if(Qe(_0x7b10b)){_0x28c41e[_0x5dc01b(0x258)]([..._0x18c16c,..._0x290ffb]);continue;}(typeof _0x7b10b=='string'||typeof _0x7b10b=='number')&&_0x290ffb[_0x5dc01b(0x258)](_0x7b10b);}}function Qe(_0x286c3c){const _0x382e54=_0x396ed2;if(!_0x286c3c||typeof _0x286c3c!=_0x382e54(0x25a)||Array[_0x382e54(0x3db)](_0x286c3c))return!0x1;let _0x269b54=_0x286c3c;return'i'in _0x269b54||'r'in _0x269b54||'p'in _0x269b54||'d'in _0x269b54||'es'in _0x269b54||'ena'in _0x269b54||'et'in _0x269b54;}function $e(_0x55385f,_0x54b3db){const _0x11c278=_0x396ed2;let _0x1c8717=_0x55385f;for(let _0x38be5a=0x0;_0x38be5a<_0x54b3db[_0x11c278(0x1dd)]-0x1;_0x38be5a++){let _0x529ea8=_0x54b3db[_0x38be5a],_0x1b1eb9=_0x1c8717==null?void 0x0:_0x1c8717[_0x529ea8];if(!et(_0x1b1eb9))return;let _0x5aa9a4=tt(_0x1b1eb9);_0x1c8717[_0x529ea8]=_0x5aa9a4,_0x1c8717=_0x5aa9a4;}}function et(_0x22d352){const _0x10e4bb=_0x396ed2;return!!_0x22d352&&typeof _0x22d352==_0x10e4bb(0x25a);}function tt(_0x3a12f6){const _0x4238f4=_0x396ed2;return Array[_0x4238f4(0x3db)](_0x3a12f6)?_0x3a12f6['slice']():{..._0x3a12f6};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x396ed2(0x360),at={'yyyy/mm/dd':_0x396ed2(0x1f4),'yyyy/mm/dd\x20hh:mm':_0x396ed2(0x255),'yyyy-mm-dd':_0x396ed2(0x190),'mm-dd':_0x396ed2(0x3e8),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x396ed2(0x3f1),'mmm\x20d,\x20yyyy':_0x396ed2(0x3ce)};function j(_0x4dfcbb){return _0x3392d4(_0x4dfcbb)['valueOf']()/nt+rt;}function ot(_0x5c9b1a){return(_0x5c9b1a-rt)*nt;}function M(_0x106b62){const _0xd5d292=_0x396ed2;if(_0x106b62==null||_0x106b62==='')return null;if(_0x106b62 instanceof Date)return j(_0x106b62);if(typeof _0x106b62==_0xd5d292(0x267))return Number[_0xd5d292(0x1da)](_0x106b62)?_0x106b62>0xf4240?j(_0x106b62):_0x106b62:null;let _0x531027=Date[_0xd5d292(0x3c5)](String(_0x106b62));return Number[_0xd5d292(0x2a2)](_0x531027)?null:j(_0x531027);}function N(_0x1ef923){let _0x2ecd4e=M(_0x1ef923);return _0x2ecd4e==null?null:ot(_0x2ecd4e);}function st(_0x595c27,_0x298f73={}){const _0x18f125=_0x396ed2;var _0x25a695,_0x462db0,_0x57a4be;let _0x53798c=N(_0x595c27);if(_0x53798c==null||!Number[_0x18f125(0x1da)](_0x53798c))return'';let _0xf862cf=String((_0x25a695=(_0x462db0=_0x298f73[_0x18f125(0x41d)])==null?_0x298f73[_0x18f125(0x1f7)]:_0x462db0)==null?it:_0x25a695),_0x2a2244=_0x298f73['includeTime']===!0x0||_0xf862cf['includes']('hh:mm'),_0x100135=String((_0x57a4be=_0x298f73[_0x18f125(0x221)])==null?_0x18f125(0x239):_0x57a4be);return _0x3392d4(_0x53798c)[_0x18f125(0x1f7)](ct(_0xf862cf,_0x2a2244,_0x100135));}function ct(_0x44e502,_0x440cfd,_0x118e52){const _0x612917=_0x396ed2;var _0x3f1b7e;let _0x5c1225=(_0x3f1b7e=at[_0x44e502])==null?at[it]:_0x3f1b7e;return!_0x440cfd||_0x44e502[_0x612917(0x323)](_0x612917(0x1fc))?_0x5c1225:_0x5c1225+'\x20'+(_0x118e52==='h12'?_0x612917(0x302):_0x612917(0x401));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x1e4a6b[_0x396ed2(0x2ca)],_0x1e4a6b[_0x396ed2(0x40a)],_0x1e4a6b[_0x396ed2(0x399)],_0x1e4a6b[_0x396ed2(0x42e)],_0x1e4a6b[_0x396ed2(0x26f)],_0x1e4a6b['TwoWayLink'],_0x1e4a6b['RecordId'],_0x1e4a6b[_0x396ed2(0x241)]]),P=0x5a0*0x3c*0x3e8;function dt(_0x5b3cdb,_0x3b3168){const _0x364079=_0x396ed2;return _0x5b3cdb==null&&_0x3b3168==null?0x0:_0x5b3cdb==null?-0x1:_0x3b3168==null?0x1:typeof _0x5b3cdb=='number'&&typeof _0x3b3168==_0x364079(0x267)?_0x5b3cdb-_0x3b3168:String(_0x5b3cdb)[_0x364079(0x23e)](String(_0x3b3168));}function ft(_0x1a1eb3,_0x457044,_0x57121d,_0x23c36f,_0x4a8ff6={}){const _0x30740c=_0x396ed2;if(_0x457044==='isEmpty')return pt(_0x1a1eb3);if(_0x457044===_0x30740c(0x3fe))return!pt(_0x1a1eb3);switch(_0x23c36f[_0x30740c(0x415)]){case _0x1e4a6b['Number']:case _0x1e4a6b['Currency']:case _0x1e4a6b['Progress']:case _0x1e4a6b['Rating']:return mt(_0x1a1eb3,_0x457044,_0x57121d);case _0x1e4a6b[_0x30740c(0x225)]:case _0x1e4a6b['CreatedAt']:case _0x1e4a6b['UpdatedAt']:return gt(_0x1a1eb3,_0x457044,_0x57121d,_0x4a8ff6);case _0x1e4a6b['Checkbox']:return St(_0x1a1eb3,_0x457044,_0x57121d);case _0x1e4a6b['SingleSelect']:case _0x1e4a6b[_0x30740c(0x332)]:case _0x1e4a6b[_0x30740c(0x435)]:case _0x1e4a6b[_0x30740c(0x3f7)]:return wt(_0x1a1eb3,_0x457044,_0x57121d,_0x23c36f);default:return Tt(_0x1a1eb3,_0x457044,_0x57121d);}}function pt(_0x55c346){const _0x197f87=_0x396ed2;return _0x55c346==null?!0x0:Array[_0x197f87(0x3db)](_0x55c346)?_0x55c346[_0x197f87(0x1dd)]===0x0:typeof _0x55c346==_0x197f87(0x247)?_0x55c346[_0x197f87(0x317)]()==='':!0x1;}function mt(_0x51691d,_0x2ec959,_0x225f8b){const _0x5ec875=_0x396ed2;let _0x100d2c=ht(_0x51691d),_0x470968=ht(_0x225f8b);if(_0x100d2c==null||_0x470968==null)return!0x1;switch(_0x2ec959){case'is':return _0x100d2c===_0x470968;case _0x5ec875(0x388):return _0x100d2c!==_0x470968;case _0x5ec875(0x166):return _0x100d2c>_0x470968;case _0x5ec875(0x43c):return _0x100d2c>=_0x470968;case'lessThan':return _0x100d2c<_0x470968;case _0x5ec875(0x37d):return _0x100d2c<=_0x470968;default:return!0x1;}}function ht(_0x4b12f3){if(_0x4b12f3==null||_0x4b12f3==='')return null;let _0x41eb8c=Number(_0x4b12f3);return Number['isFinite'](_0x41eb8c)?_0x41eb8c:null;}function gt(_0x3ad132,_0x5c30aa,_0x414fa8,_0x43b38f){const _0xee873a=_0x396ed2;var _0x19752d;let _0x361a45=vt(_0x3ad132);if(_0x361a45==null)return!0x1;let _0x47fd0f=_t((_0x19752d=_0x43b38f[_0xee873a(0x39d)])==null?'exact':_0x19752d,_0x414fa8,_0x43b38f[_0xee873a(0x29f)]);if(!_0x47fd0f)return!0x1;switch(_0x5c30aa){case'is':return _0x361a45>=_0x47fd0f[_0xee873a(0x18e)]&&_0x361a45<=_0x47fd0f[_0xee873a(0x261)];case _0xee873a(0x388):return _0x361a45<_0x47fd0f[_0xee873a(0x18e)]||_0x361a45>_0x47fd0f[_0xee873a(0x261)];case _0xee873a(0x2cf):return _0x361a45<_0x47fd0f['start'];case _0xee873a(0x2f8):return _0x361a45>_0x47fd0f['end'];default:return!0x1;}}function _t(_0x1ca417,_0x5bfe0a,_0x108b0e=Date[_0x396ed2(0x29f)]()){const _0x1003aa=_0x396ed2;let _0x22b7ae=yt(_0x108b0e);switch(_0x1ca417){case _0x1003aa(0x287):{let _0x2c5519=vt(_0x5bfe0a);return _0x2c5519==null?null:{'start':_0x2c5519,'end':_0x2c5519+P-0x1};}case _0x1003aa(0x245):return{'start':_0x22b7ae,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x220):return{'start':_0x22b7ae+P,'end':_0x22b7ae+P*0x2-0x1};case _0x1003aa(0x2c5):return{'start':_0x22b7ae-P,'end':_0x22b7ae-0x1};case _0x1003aa(0x3e1):return bt(_0x22b7ae,0x0);case _0x1003aa(0x1e4):return bt(_0x22b7ae,-0x1);case _0x1003aa(0x233):return xt(_0x22b7ae,0x0);case _0x1003aa(0x204):return xt(_0x22b7ae,-0x1);case _0x1003aa(0x1b6):return{'start':_0x22b7ae-P*0x6,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x3c1):return{'start':_0x22b7ae,'end':_0x22b7ae+P*0x7-0x1};case _0x1003aa(0x167):return{'start':_0x22b7ae-P*0x1d,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x2f7):return{'start':_0x22b7ae,'end':_0x22b7ae+P*0x1e-0x1};}}function vt(_0x21a2d2){let _0x133883=M(_0x21a2d2);return _0x133883==null?null:yt(ot(_0x133883));}function yt(_0x5d4d74){const _0x25791f=_0x396ed2;let _0x272f20=new Date(_0x5d4d74);return _0x272f20[_0x25791f(0x203)](0x0,0x0,0x0,0x0),_0x272f20[_0x25791f(0x2c4)]();}function bt(_0x500ca4,_0x340f25){let _0x4d72c9=_0x500ca4-(new Date(_0x500ca4)['getDay']()+0x6)%0x7*P+_0x340f25*P*0x7;return{'start':_0x4d72c9,'end':_0x4d72c9+P*0x7-0x1};}function xt(_0x570382,_0x2327c0){const _0x25df21=_0x396ed2;let _0x3407b2=new Date(_0x570382),_0x229862=new Date(_0x3407b2[_0x25df21(0x1b7)](),_0x3407b2[_0x25df21(0x310)]()+_0x2327c0,0x1),_0x446b67=new Date(_0x3407b2[_0x25df21(0x1b7)](),_0x3407b2[_0x25df21(0x310)]()+_0x2327c0+0x1,0x1);return{'start':_0x229862[_0x25df21(0x2c4)](),'end':_0x446b67[_0x25df21(0x2c4)]()-0x1};}function St(_0x9d9dd1,_0x1cf243,_0x38e8dd){const _0x38e2ed=_0x396ed2;let _0x54f512=Ct(_0x9d9dd1),_0x3246fa=Ct(_0x38e8dd);switch(_0x1cf243){case'is':return _0x54f512===_0x3246fa;case _0x38e2ed(0x388):return _0x54f512!==_0x3246fa;default:return!0x1;}}function Ct(_0x56c108){const _0x3f5d7a=_0x396ed2;return _0x56c108===!0x0||_0x56c108===_0x3f5d7a(0x2a7)||_0x56c108===0x1||_0x56c108==='1';}function wt(_0x2785f6,_0x5b09a1,_0x47b578,_0xc4c501){const _0x41a0b9=_0x396ed2;let _0xfe0423=Dt(_0x2785f6,_0xc4c501),_0x1c91e2=Dt(_0x47b578,_0xc4c501),_0x601459=_0x1c91e2[_0x41a0b9(0x1dd)]>0x0&&_0x1c91e2[_0x41a0b9(0x24c)](_0x112581=>_0xfe0423[_0x41a0b9(0x323)](_0x112581));switch(_0x5b09a1){case'is':case _0x41a0b9(0x16c):return _0x601459;case'isNot':case'notContains':return!_0x601459;default:return!0x1;}}function Tt(_0x17469c,_0xfbe7ba,_0x585720){const _0x24bf4f=_0x396ed2;let _0x1ed4df=Et(_0x17469c),_0x510fc1=Et(_0x585720);switch(_0xfbe7ba){case'is':return _0x1ed4df===_0x510fc1;case _0x24bf4f(0x388):return _0x1ed4df!==_0x510fc1;case _0x24bf4f(0x16c):return _0x510fc1?_0x1ed4df[_0x24bf4f(0x323)](_0x510fc1):!0x1;case _0x24bf4f(0x2c1):return _0x510fc1?!_0x1ed4df[_0x24bf4f(0x323)](_0x510fc1):!0x0;default:return!0x1;}}function Et(_0x15b566){const _0xa24e1=_0x396ed2;if(Array['isArray'](_0x15b566))return _0x15b566[_0xa24e1(0x22a)](_0x2af886=>Et(_0x2af886))['join']('\x0a');if(_0x15b566&&typeof _0x15b566==_0xa24e1(0x25a)){var _0xb0e0ce,_0x4b3e49,_0x69604c,_0x16ce33,_0x156614;let _0x48a796=_0x15b566;return String((_0xb0e0ce=(_0x4b3e49=(_0x69604c=(_0x16ce33=(_0x156614=_0x48a796[_0xa24e1(0x28c)])==null?_0x48a796[_0xa24e1(0x175)]:_0x156614)==null?_0x48a796[_0xa24e1(0x305)]:_0x16ce33)==null?_0x48a796['value']:_0x69604c)==null?_0x48a796['id']:_0x4b3e49)==null?'':_0xb0e0ce)['trim']()['toLowerCase']();}return String(_0x15b566==null?'':_0x15b566)['trim']()['toLowerCase']();}function Dt(_0x368da6,_0x389ad9){const _0x4c445b=_0x396ed2;var _0x101419;let _0x4bd14e=Ot(_0x368da6),_0x333429=kt((_0x101419=_0x389ad9[_0x4c445b(0x285)])==null?{}:_0x101419);return _0x4bd14e[_0x4c445b(0x338)](_0x4cb9b5=>{const _0x4f21fd=_0x4c445b;var _0x43d1cc;return(_0x43d1cc=_0x333429[_0x4f21fd(0x2bb)](_0x4cb9b5))==null?[_0x4cb9b5]:_0x43d1cc;})[_0x4c445b(0x24f)]((_0x1ed4d6,_0x4e5ac0,_0x21dc55)=>_0x1ed4d6!==''&&_0x21dc55[_0x4c445b(0x400)](_0x1ed4d6)===_0x4e5ac0);}function Ot(_0x411940){const _0x17a389=_0x396ed2;if(_0x411940==null||_0x411940==='')return[];if(Array[_0x17a389(0x3db)](_0x411940))return _0x411940['flatMap'](_0x5268a0=>Ot(_0x5268a0));if(_0x411940&&typeof _0x411940=='object'){let _0x275033=_0x411940;return['id',_0x17a389(0x28c),_0x17a389(0x175),'value','text'][_0x17a389(0x338)](_0x1ce6da=>Ot(_0x275033[_0x1ce6da]))[_0x17a389(0x24f)]((_0x2d67ef,_0x2562e2,_0x2ad043)=>_0x2ad043['indexOf'](_0x2d67ef)===_0x2562e2);}return[Et(_0x411940)];}function kt(_0x43fdd1){const _0x5c057f=_0x396ed2;let _0x1b5b0b=new Map();return(Array['isArray'](_0x43fdd1[_0x5c057f(0x198)])?_0x43fdd1[_0x5c057f(0x198)]:[])['forEach'](_0x255695=>{const _0x3a310b=_0x5c057f;if(!_0x255695||typeof _0x255695!='object')return;let _0x2d2bae=Ot(_0x255695),_0x3815fc=_0x2d2bae['filter']((_0x1fdd78,_0x5a5bfb)=>_0x1fdd78!==''&&_0x2d2bae[_0x3a310b(0x400)](_0x1fdd78)===_0x5a5bfb);_0x3815fc[_0x3a310b(0x3d3)](_0x5453f2=>_0x1b5b0b[_0x3a310b(0x387)](_0x5453f2,_0x3815fc));}),_0x1b5b0b;}function F(_0x15c24c,_0x311499={},_0x11b321=_0x170e1c=>_0x170e1c,_0x4774d7={}){const _0x4b4736=_0x396ed2;var _0x43c909,_0x915ab,_0x389aaa,_0x1ccfe8;let _0x542113=!ut[_0x4b4736(0x1c2)](_0x15c24c),_0x5273ff=_0x11b321==null?_0x2de329=>_0x2de329:_0x11b321;return{'type':_0x15c24c,'i18nKey':'base.fieldType.'+_0x15c24c,'enabled':_0x542113,'visibleInCreateMenu':_0x542113,'createDefaultConfig':(_0x43c909=_0x4774d7[_0x4b4736(0x3ca)])==null?()=>({}):_0x43c909,'createDefaultValue':(_0x915ab=_0x4774d7[_0x4b4736(0x2f4)])==null?_0x2e9ba2=>{var _0x59aa68;return(_0x59aa68=_0x2e9ba2['defaultValue'])==null?null:_0x59aa68;}:_0x915ab,'normalize':(_0x401602,_0x45f6dc)=>_0x5273ff(_0x401602,_0x45f6dc),'validate':(_0x331f55,_0xc863fe)=>{const _0x2262ae=_0x4b4736;var _0x2ea8c5,_0x30c0ba;return _0x542113?(_0x2ea8c5=(_0x30c0ba=_0x4774d7[_0x2262ae(0x25e)])==null?void 0x0:_0x30c0ba[_0x2262ae(0x1c1)](_0x4774d7,_0x331f55,_0xc863fe))==null?{'valid':!0x0}:_0x2ea8c5:{'valid':!0x1};},'compare':(_0x267635,_0x4ba50c)=>dt(_0x267635,_0x4ba50c),'filter':(_0x8e67b8,_0x5b5804,_0x2c6d05,_0x2039c8)=>ft(_0x8e67b8,_0x5b5804,_0x2c6d05,_0x2039c8),'toPlainText':(_0x389aaa=_0x4774d7[_0x4b4736(0x329)])==null?_0x4af7a7=>_0x4af7a7==null?'':String(_0x4af7a7):_0x389aaa,'fromPlainText':(_0x1ccfe8=_0x4774d7[_0x4b4736(0x27f)])==null?_0x4c8fcb=>_0x5273ff(_0x4c8fcb,{'id':'','name':'','type':_0x15c24c,'config':{}}):_0x1ccfe8,'getCapabilities':()=>{const _0x689672=_0x4b4736;var _0x537771;return{...lt,..._0x311499,'editable':_0x542113&&((_0x537771=_0x311499[_0x689672(0x3e6)])==null?lt[_0x689672(0x3e6)]:_0x537771)};}};}function At(){const _0x589ee2=_0x396ed2;return[F(_0x1e4a6b['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x176e33=>{var _0x57bc45;return(_0x57bc45=_0x176e33['defaultValue'])==null?'':_0x57bc45;}}),F(_0x1e4a6b[_0x589ee2(0x165)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1bc7c3=>_0x1bc7c3==null||_0x1bc7c3===''?null:String(_0x1bc7c3),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x589ee2(0x33f)}})}),F(_0x1e4a6b['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4177eb=>Array[_0x589ee2(0x3db)](_0x4177eb)?_0x4177eb[_0x589ee2(0x22a)](String):_0x4177eb==null?[]:[String(_0x4177eb)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x589ee2(0x33f)}}),'createDefaultValue':_0x1b24cb=>{const _0x2ba863=_0x589ee2;var _0x577a30;return(_0x577a30=_0x1b24cb[_0x2ba863(0x170)])==null?[]:_0x577a30;}}),F(_0x1e4a6b[_0x589ee2(0x435)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x589ee2(0x242)}),'validate':Ft}),F(_0x1e4a6b[_0x589ee2(0x3f7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x589ee2(0x1e0)}),'createDefaultValue':_0x590a0b=>{var _0x593498;return(_0x593498=_0x590a0b['defaultValue'])==null?[]:_0x593498;},'validate':It}),F(_0x1e4a6b[_0x589ee2(0x225)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x278af9=>M(_0x278af9),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x2da)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x3aaa10=>_0x3aaa10==null?[]:Array[_0x589ee2(0x3db)](_0x3aaa10)?_0x3aaa10:[_0x3aaa10],{'createDefaultValue':_0x55b5d8=>{const _0x4aebd1=_0x589ee2;var _0x3fa753;return(_0x3fa753=_0x55b5d8[_0x4aebd1(0x170)])==null?[]:_0x3fa753;}}),F(_0x1e4a6b[_0x589ee2(0x3ae)],{},_0xb6793f=>_0xb6793f==null||_0xb6793f===''?null:Number(_0xb6793f),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x1e4a6b[_0x589ee2(0x1cb)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x272b82=>_0x272b82===!0x0||_0x272b82===_0x589ee2(0x2a7)||_0x272b82===0x1||_0x272b82==='1',{'createDefaultConfig':()=>({'icon':_0x589ee2(0x38c),'color':'#16a34a'}),'createDefaultValue':_0x3f680f=>{const _0x5c8a21=_0x589ee2;var _0x15a1ad;return(_0x15a1ad=_0x3f680f[_0x5c8a21(0x170)])==null?!0x1:_0x15a1ad;},'validate':_0x42eb7e=>typeof _0x42eb7e==_0x589ee2(0x424)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x2cb)}}),F(_0x1e4a6b[_0x589ee2(0x354)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':_0x589ee2(0x197)}),'toPlainText':_0x1f5c4b=>Vt(_0x1f5c4b),'fromPlainText':_0x1b9630=>Bt(_0x1b9630)}),F(_0x1e4a6b['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x589ee2(0x177),'pattern':_0x589ee2(0x20b)}}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x2ca)],{}),F(_0x1e4a6b['Flow'],{}),F(_0x1e4a6b[_0x589ee2(0x42e)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x1e4a6b[_0x589ee2(0x208)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x589ee2(0x3fb)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x343)],{'usableAsTitle':!0x0},_0x52b527=>_0x52b527==null?null:String(_0x52b527)['trim'](),{'validate':_0x12037b=>_0x12037b==null||_0x12037b===''||/^\+?[0-9 ()-]{6,20}$/[_0x589ee2(0x427)](String(_0x12037b))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x42d)}}),F(_0x1e4a6b[_0x589ee2(0x1a5)],{'usableAsTitle':!0x0},_0x13e0e1=>_0x13e0e1==null?null:String(_0x13e0e1)['trim'](),{'validate':_0x1aaed6=>_0x1aaed6==null||_0x1aaed6===''||Ut(String(_0x1aaed6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x1ba)}}),F(_0x1e4a6b[_0x589ee2(0x26f)],{'usableAsTitle':!0x0}),F(_0x1e4a6b[_0x589ee2(0x241)],{'usableAsTitle':!0x0}),F(_0x1e4a6b[_0x589ee2(0x3f0)],{'usableAsGanttProgress':!0x0},_0x54d0ab=>_0x54d0ab==null||_0x54d0ab===''?null:Number(_0x54d0ab),{'createDefaultConfig':()=>({'format':_0x589ee2(0x1b3),'decimalPlaces':0x0,'color':_0x589ee2(0x25d),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x1011b8,_0x40ef38)=>zt(_0x1011b8,_0x40ef38,_0x589ee2(0x344))}),F(_0x1e4a6b['Currency'],{},_0x4872fd=>_0x4872fd==null||_0x4872fd===''?null:Number(_0x4872fd),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x1e4a6b[_0x589ee2(0x353)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x405489=>_0x405489==null||_0x405489===''?null:Number(_0x405489),{'createDefaultConfig':()=>({'icon':_0x589ee2(0x291),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3ebc5b,_0x46267a)=>zt(_0x3ebc5b,_0x46267a,'[BaseField]:\x20invalid\x20rating\x20value.')}),F(_0x1e4a6b[_0x589ee2(0x2b9)],{'supportsRelation':!0x0}),F(_0x1e4a6b[_0x589ee2(0x24e)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x1e4a6b['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x409b40=>_0x409b40==null?null:String(_0x409b40),{'createDefaultConfig':()=>({'provider':_0x589ee2(0x3c0)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x2be)],{'editable':!0x1,'groupable':!0x0},_0x13f179=>_0x13f179==null?null:String(_0x13f179),{'createDefaultConfig':()=>({'provider':_0x589ee2(0x3c0)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x1b4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x208e1a=>M(_0x208e1a),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x18c)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x349f26=>M(_0x349f26),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x40a)],{})];}function jt(){const _0x3342e5=_0x396ed2;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x3342e5(0x257),'useThousands':!0x0,'abbreviation':_0x3342e5(0x2b6),'allowNegative':!0x0};}function Mt(){const _0x2b0a02=_0x396ed2;return{'locale':_0x2b0a02(0x3b2),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x2b0a02(0x239),'defaultMode':_0x2b0a02(0x2b6)};}function Nt(_0x23d8f1){const _0x1c3924=_0x396ed2;return _0x23d8f1==null||_0x23d8f1===''?[]:Array[_0x1c3924(0x3db)](_0x23d8f1)?_0x23d8f1[_0x1c3924(0x22a)](String):[String(_0x23d8f1)];}function Pt(_0x41d976,_0x248d97){const _0x180faa=_0x396ed2;var _0x4c7e3c;return _0x41d976==null||_0x41d976===''?_0x248d97[_0x180faa(0x285)]['allowMultiple']===!0x0?[]:null:_0x248d97[_0x180faa(0x285)][_0x180faa(0x358)]===!0x0?Array[_0x180faa(0x3db)](_0x41d976)?_0x41d976[_0x180faa(0x22a)](String):[String(_0x41d976)]:Array['isArray'](_0x41d976)?String((_0x4c7e3c=_0x41d976[0x0])==null?'':_0x4c7e3c)||null:String(_0x41d976);}function Ft(_0x34572a,_0x395c25){const _0x503ef4=_0x396ed2;return _0x395c25[_0x503ef4(0x285)]['allowMultiple']===!0x0?It(_0x34572a):_0x34572a==null||_0x34572a===''||typeof _0x34572a=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x503ef4(0x222)};}function It(_0x53aa4f){const _0x29614b=_0x396ed2;return _0x53aa4f==null||Array['isArray'](_0x53aa4f)&&_0x53aa4f[_0x29614b(0x28f)](_0x5a4fac=>typeof _0x5a4fac=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x29614b(0x3d6)};}function Lt(_0x512ca9){const _0x44eb37=_0x396ed2;return _0x512ca9==null||typeof _0x512ca9=='number'&&Number[_0x44eb37(0x1da)](_0x512ca9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x44eb37(0x192)};}function Rt(_0x4bb2e8,_0x4a3a67){const _0x29b069=_0x396ed2;return _0x4bb2e8==null||_0x4bb2e8===''?{'valid':!0x0}:typeof _0x4bb2e8!=_0x29b069(0x267)||!Number[_0x29b069(0x1da)](_0x4bb2e8)?{'valid':!0x1,'reason':_0x29b069(0x2a0)}:_0x4a3a67[_0x29b069(0x285)][_0x29b069(0x1e6)]===!0x1&&_0x4bb2e8<0x0?{'valid':!0x1,'reason':_0x29b069(0x35f)}:{'valid':!0x0};}function zt(_0x30378c,_0x10ecb9,_0x2fb34a){const _0x1e08e4=_0x396ed2;var _0x2f6814,_0xcec1a7,_0x25319f,_0x38c236;let _0x58f60a=Rt(_0x30378c,_0x10ecb9);if(!_0x58f60a[_0x1e08e4(0x423)]||_0x30378c==null||_0x30378c==='')return _0x58f60a;let _0x38218f=Number((_0x2f6814=(_0xcec1a7=_0x10ecb9['config'][_0x1e08e4(0x36b)])==null?_0x10ecb9[_0x1e08e4(0x285)][_0x1e08e4(0x18e)]:_0xcec1a7)==null?0x0:_0x2f6814),_0xd2b84e=Number((_0x25319f=(_0x38c236=_0x10ecb9['config']['max'])==null?_0x10ecb9[_0x1e08e4(0x285)][_0x1e08e4(0x261)]:_0x38c236)==null?0x64:_0x25319f),_0x2afc7c=Number(_0x30378c);return _0x2afc7c>=_0x38218f&&_0x2afc7c<=_0xd2b84e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2fb34a};}function Bt(_0x221492){const _0x44bcd9=_0x396ed2;if(_0x221492==null||_0x221492==='')return null;if(typeof _0x221492==_0x44bcd9(0x25a)&&!Array['isArray'](_0x221492)){let _0x266185=_0x221492,_0x15d438=typeof _0x266185[_0x44bcd9(0x305)]==_0x44bcd9(0x247)?_0x266185[_0x44bcd9(0x305)]['trim']():'',_0x19d065=typeof _0x266185[_0x44bcd9(0x2f1)]=='string'?_0x266185[_0x44bcd9(0x2f1)][_0x44bcd9(0x317)]():'',_0x2164bd=Ht(_0x19d065||_0x15d438);return _0x2164bd?{'text':_0x15d438||_0x19d065||_0x2164bd,'url':_0x2164bd}:null;}let _0x451f41=String(_0x221492)[_0x44bcd9(0x317)](),_0x297b5d=Ht(_0x451f41);return _0x297b5d?{'text':_0x451f41,'url':_0x297b5d}:null;}function Vt(_0x1fa09a){const _0x57f384=_0x396ed2;if(_0x1fa09a==null)return'';if(typeof _0x1fa09a=='object'&&!Array[_0x57f384(0x3db)](_0x1fa09a)){let _0x38667b=_0x1fa09a;return String(_0x38667b[_0x57f384(0x305)]||_0x38667b[_0x57f384(0x2f1)]||'');}return String(_0x1fa09a);}function Ht(_0x4e13d5){const _0x2dc895=_0x396ed2;let _0x1a0e8d=_0x4e13d5[_0x2dc895(0x317)]();return _0x1a0e8d?/^[a-z][a-z\d+.-]*:\/\//i['test'](_0x1a0e8d)?_0x1a0e8d:'https://'+_0x1a0e8d:'';}function Ut(_0x3f9340){const _0x37b418=_0x396ed2;let _0x584e6b=_0x3f9340[_0x37b418(0x400)]('@');if(_0x584e6b<=0x0||_0x584e6b!==_0x3f9340[_0x37b418(0x182)]('@'))return!0x1;let _0x33bb0a=_0x3f9340[_0x37b418(0x1ac)](_0x584e6b+0x1);return _0x33bb0a[_0x37b418(0x323)]('.')&&!_0x3f9340[_0x37b418(0x323)]('\x20')&&!_0x33bb0a[_0x37b418(0x30d)]('.')&&!_0x33bb0a['endsWith']('.');}const I={'table':_0x199efe=>[_0x396ed2(0x404),_0x199efe],'field':(_0xbf0519,_0x4ad51f)=>[_0x396ed2(0x404),_0xbf0519,'fields',_0x4ad51f],'fieldOrder':(_0x13c773,_0xfe9c90)=>['tables',_0x13c773,_0x396ed2(0x201),_0xfe9c90],'record':(_0x4d3b62,_0x24dd46)=>[_0x396ed2(0x404),_0x4d3b62,_0x396ed2(0x1ce),_0x24dd46],'cell':(_0x30701f,_0x330cb3,_0xb07a4a)=>[_0x396ed2(0x404),_0x30701f,_0x396ed2(0x1ce),_0x330cb3,'values',_0xb07a4a],'cellData':(_0x352676,_0x3e65fc,_0xd6bbec)=>[_0x396ed2(0x404),_0x352676,_0x396ed2(0x34c),String(_0x3e65fc),String(_0xd6bbec)],'attachmentSet':(_0x1b7ca4,_0x5a8e7c)=>[_0x396ed2(0x404),_0x1b7ca4,'resources',_0x396ed2(0x1a3),_0x5a8e7c],'attachment':(_0x150270,_0x252db0)=>[_0x396ed2(0x404),_0x150270,_0x396ed2(0x421),_0x396ed2(0x24b),_0x252db0],'view':(_0x46aa05,_0xb2bdf2)=>['tables',_0x46aa05,_0x396ed2(0x173),_0xb2bdf2],'viewFieldHidden':(_0x27f81c,_0x23f548,_0x261f4e)=>[_0x396ed2(0x404),_0x27f81c,_0x396ed2(0x173),_0x23f548,_0x396ed2(0x193),_0x261f4e,_0x396ed2(0x1bd)]};function L(_0xae928a){const _0x26c123=_0x396ed2;return _0xae928a[_0x26c123(0x307)]((_0x491692,_0x57f06a)=>_0x491692==null?_0x57f06a:_0x6fccb6['type'][_0x26c123(0x1d4)](_0x491692,_0x57f06a),void 0x0);}var R=class{['setBaseName'](_0x4889ba,_0x5280b4){const _0x159512=_0x396ed2;let _0x46c1ba=this[_0x159512(0x33b)](_0x4889ba,_0x4889ba[_0x159512(0x28c)],_0x5280b4);return L([this[_0x159512(0x336)]([_0x159512(0x28c)],_0x4889ba[_0x159512(0x28c)],_0x5280b4),..._0x46c1ba?[_0x46c1ba]:[]]);}[_0x396ed2(0x33b)](_0x44fc85,_0x111ff0,_0x4d9da8){const _0x10a96a=_0x396ed2;let _0x5188df=Object['values'](_0x44fc85['tables'])[_0x10a96a(0x338)](_0xda5229=>Object[_0x10a96a(0x33e)](_0xda5229['fields'])[_0x10a96a(0x338)](_0x4cdce6=>{const _0x5354b7=_0x10a96a;var _0x195680,_0x39f52,_0x18da0c;if(_0x4cdce6[_0x5354b7(0x415)]!==_0x1e4a6b['Formula'])return[];let _0x2936e8=String((_0x195680=(_0x39f52=_0x4cdce6['config'])==null?void 0x0:_0x39f52['formula'])==null?'':_0x195680),_0x5aef27=_0x8d3a01(_0x2936e8,_0x111ff0,_0x4d9da8);return _0x5aef27===_0x2936e8?[]:[this['_replaceOptional']([...I[_0x5354b7(0x232)](_0xda5229['id'],_0x4cdce6['id']),_0x5354b7(0x285),_0x5354b7(0x1c9)],(_0x18da0c=_0x4cdce6['config'])==null?void 0x0:_0x18da0c[_0x5354b7(0x1c9)],_0x5aef27)];}));return _0x5188df[_0x10a96a(0x1dd)]>0x0?L(_0x5188df):void 0x0;}[_0x396ed2(0x1f1)](_0x3bc4f1,_0x5b6a06,_0x44fa52=_0x3bc4f1['tableOrder'][_0x396ed2(0x1dd)]){const _0x3a18f8=_0x396ed2;return L([_0x6fccb6[_0x3a18f8(0x275)](I[_0x3a18f8(0x328)](_0x5b6a06['id']),_0x5b6a06),_0x6fccb6[_0x3a18f8(0x275)]([_0x3a18f8(0x1fe),_0x44fa52],_0x5b6a06['id'])]);}[_0x396ed2(0x29a)](_0x3213db,_0x1f7efc,_0x2ffaed){const _0x28c4d7=_0x396ed2;let _0x33b14a=_0x3213db['tables'][_0x1f7efc]['name'],_0xe1eee=Object[_0x28c4d7(0x33e)](_0x3213db[_0x28c4d7(0x404)])['flatMap'](_0x2c7e95=>Object[_0x28c4d7(0x33e)](_0x2c7e95[_0x28c4d7(0x2f3)])[_0x28c4d7(0x338)](_0xf9746e=>{const _0x2debc8=_0x28c4d7;var _0x337c2e,_0x596b17;if(_0xf9746e['type']!==_0x1e4a6b['Formula'])return[];let _0x2dacd3=String((_0x337c2e=(_0x596b17=_0xf9746e[_0x2debc8(0x285)])==null?void 0x0:_0x596b17['formula'])==null?'':_0x337c2e),_0x3d3221=Xt(_0x2dacd3,_0x33b14a,_0x2ffaed);return _0x3d3221===_0x2dacd3?[]:[this[_0x2debc8(0x39e)](_0x3213db,_0x2c7e95['id'],_0xf9746e['id'],{'config':{..._0xf9746e[_0x2debc8(0x285)],'formula':_0x3d3221}})];}));return L([_0x6fccb6[_0x28c4d7(0x1c7)]([...I[_0x28c4d7(0x328)](_0x1f7efc),_0x28c4d7(0x28c)],_0x33b14a,_0x2ffaed),..._0xe1eee]);}[_0x396ed2(0x2e5)](_0x5b280b,_0x5a380d){const _0x4a9448=_0x396ed2;let _0x4dfb70=_0x5b280b['tables'][_0x5a380d],_0x2664c7=_0x5b280b['tableOrder'][_0x4a9448(0x400)](_0x5a380d);return L([_0x6fccb6[_0x4a9448(0x3a7)](I[_0x4a9448(0x328)](_0x5a380d),_0x4dfb70),_0x6fccb6[_0x4a9448(0x3a7)]([_0x4a9448(0x1fe),_0x2664c7],_0x5a380d)]);}['createRecord'](_0x27d69e,_0x4a32f3,_0x47d5a0){const _0x14e677=_0x396ed2;return this[_0x14e677(0x1bb)](_0x27d69e,_0x4a32f3,[_0x47d5a0]);}[_0x396ed2(0x1bb)](_0x278dc3,_0x183b3c,_0x594bb7){const _0x27057d=_0x396ed2;let _0x15f1a6=_0x278dc3[_0x27057d(0x404)][_0x183b3c],_0xbe86ff=_0x594bb7[_0x27057d(0x24f)](_0x24e145=>_0x24e145&&!_0x15f1a6['records'][_0x24e145['id']]);return _0xbe86ff[_0x27057d(0x1dd)]?L([..._0xbe86ff[_0x27057d(0x22a)](_0x48d06c=>_0x6fccb6[_0x27057d(0x275)](I[_0x27057d(0x235)](_0x183b3c,_0x48d06c['id']),_0x48d06c)),this[_0x27057d(0x1dc)](_0x278dc3,_0x183b3c,_0xbe86ff)]):_0x6fccb6[_0x27057d(0x1c7)]([...I[_0x27057d(0x328)](_0x183b3c),_0x27057d(0x1ce)],_0x15f1a6[_0x27057d(0x1ce)],_0x15f1a6[_0x27057d(0x1ce)]);}['deleteRecord'](_0x1c4313,_0x23dc45,_0x406828){const _0x25cefb=_0x396ed2;return this[_0x25cefb(0x40c)](_0x1c4313,_0x23dc45,[_0x406828]);}[_0x396ed2(0x40c)](_0x17dc6f,_0x10b0f2,_0x4ebf1b){const _0x564721=_0x396ed2;let _0x82ca3c=_0x17dc6f[_0x564721(0x404)][_0x10b0f2],_0x578128=Array['from'](new Set(_0x4ebf1b))[_0x564721(0x24f)](_0x2a4af1=>_0x82ca3c[_0x564721(0x1ce)][_0x2a4af1]);if(!_0x578128[_0x564721(0x1dd)])return _0x6fccb6['replaceOp']([...I['table'](_0x10b0f2),_0x564721(0x1ce)],_0x82ca3c[_0x564721(0x1ce)],_0x82ca3c[_0x564721(0x1ce)]);let _0x3d2459=new Set(_0x578128),_0x42c0ca=_0x578128['map'](_0x5d2c25=>{const _0x4f008b=_0x564721;var _0x497967,_0x39b3f4;return{'recordId':_0x5d2c25,'index':(_0x497967=(_0x39b3f4=_0x82ca3c['recordOrder'])==null?void 0x0:_0x39b3f4[_0x4f008b(0x400)](_0x5d2c25))==null?-0x1:_0x497967};})[_0x564721(0x24f)](_0x56cc06=>_0x56cc06['index']>=0x0)['sort']((_0x3f12bb,_0x2317f9)=>_0x2317f9[_0x564721(0x362)]-_0x3f12bb[_0x564721(0x362)]);return L([..._0x578128['map'](_0x19fded=>_0x6fccb6[_0x564721(0x3a7)](I[_0x564721(0x235)](_0x10b0f2,_0x19fded),_0x82ca3c[_0x564721(0x1ce)][_0x19fded])),..._0x42c0ca['map'](({recordId:_0x3dc38e,index:_0x164807})=>_0x6fccb6[_0x564721(0x3a7)](['tables',_0x10b0f2,_0x564721(0x3ab),_0x164807],_0x3dc38e)),...this[_0x564721(0x199)](_0x82ca3c,_0x10b0f2,_0x123589=>{const _0x49a628=_0x564721;let _0x58fb29=_0x123589[_0x49a628(0x1ac)](_0x123589[_0x49a628(0x182)]('\x1f')+0x1);return _0x3d2459[_0x49a628(0x1c2)](_0x58fb29);})]);}[_0x396ed2(0x1be)](_0x39f88e,_0x15feaf,_0x24de52,_0x2de425){const _0x5186ae=_0x396ed2;return this[_0x5186ae(0x1af)](_0x39f88e,_0x15feaf,{..._0x2de425,'values':{..._0x39f88e[_0x5186ae(0x404)][_0x15feaf][_0x5186ae(0x1ce)][_0x24de52][_0x5186ae(0x33e)],..._0x2de425[_0x5186ae(0x33e)]}});}[_0x396ed2(0x361)](_0x388a80,_0x20f603,_0x2d3c01,_0xa13df6){const _0xd17118=_0x396ed2;let _0x1b01f6=_0x388a80['tables'][_0x20f603],_0x18e2b9=[...I[_0xd17118(0x235)](_0x20f603,_0x2d3c01),_0xd17118(0x2a9)],_0x168ec4=Object['values'](_0x1b01f6[_0xd17118(0x1ce)])[_0xd17118(0x22a)](_0x579fcb=>_0x579fcb['id']===_0x2d3c01?{..._0x579fcb,'orderKey':_0xa13df6}:_0x579fcb)[_0xd17118(0x314)]((_0x46476b,_0x2fd906)=>{const _0x3156b5=_0xd17118;var _0x4bd925,_0x37ac4a;return String((_0x4bd925=_0x46476b[_0x3156b5(0x2a9)])==null?_0x46476b['id']:_0x4bd925)[_0x3156b5(0x23e)](String((_0x37ac4a=_0x2fd906['orderKey'])==null?_0x2fd906['id']:_0x37ac4a));})['map'](_0x1e10f2=>_0x1e10f2['id']),_0x5dba43=[...I[_0xd17118(0x328)](_0x20f603),_0xd17118(0x3ab)];return L([_0x6fccb6[_0xd17118(0x1c7)](_0x18e2b9,_0x1b01f6[_0xd17118(0x1ce)][_0x2d3c01]['orderKey'],_0xa13df6),_0x1b01f6[_0xd17118(0x3ab)]?_0x6fccb6[_0xd17118(0x1c7)](_0x5dba43,_0x1b01f6[_0xd17118(0x3ab)],_0x168ec4):_0x6fccb6[_0xd17118(0x275)](_0x5dba43,_0x168ec4)]);}[_0x396ed2(0x326)](_0x2f62d9,_0x2e1b06,_0xa52d76,_0xf84848,_0x4e0f7d){const _0x3a6368=_0x396ed2;var _0x4b721b,_0x4a2ca9;let _0x16ad8c=_0x2f62d9[_0x3a6368(0x404)][_0x2e1b06],_0x12c09c=Wt(_0x16ad8c,_0xa52d76,_0xf84848)?_0x16ad8c:E(_0x16ad8c),_0x57b9a6=(_0x4b721b=_0x12c09c[_0x3a6368(0x2f0)])==null?void 0x0:_0x4b721b[_0xa52d76],_0x519d88=(_0x4a2ca9=_0x12c09c[_0x3a6368(0x158)])==null?void 0x0:_0x4a2ca9[_0xf84848];if(_0x57b9a6==null||_0x519d88==null){var _0x28c7ae;return this[_0x3a6368(0x336)](I[_0x3a6368(0x38f)](_0x2e1b06,_0xa52d76,_0xf84848),(_0x28c7ae=_0x2f62d9[_0x3a6368(0x404)][_0x2e1b06])==null||(_0x28c7ae=_0x28c7ae[_0x3a6368(0x1ce)][_0xa52d76])==null?void 0x0:_0x28c7ae[_0x3a6368(0x33e)][_0xf84848],_0x4e0f7d);}return this[_0x3a6368(0x34d)](_0x2f62d9,_0x2e1b06,[{'row':_0x57b9a6,'col':_0x519d88,'value':_0x4e0f7d}]);}[_0x396ed2(0x32a)](_0x29ef04,_0x843d0f,_0x419874){const _0x8f99e4=_0x396ed2;let _0x5e39a9=_0x29ef04[_0x8f99e4(0x404)][_0x843d0f],_0x4b607e=_0x419874[_0x8f99e4(0x28f)](_0x5f5650=>Object[_0x8f99e4(0x234)](_0x5f5650[_0x8f99e4(0x33e)])['every'](_0x3a9715=>Wt(_0x5e39a9,_0x5f5650[_0x8f99e4(0x348)],_0x3a9715)))?_0x5e39a9:E(_0x5e39a9),_0x43ccb2=_0x419874[_0x8f99e4(0x338)](_0x55196b=>Object[_0x8f99e4(0x236)](_0x55196b[_0x8f99e4(0x33e)])[_0x8f99e4(0x338)](([_0xb2404d,_0x49eade])=>{const _0x200d3f=_0x8f99e4;var _0x432530,_0x209804;let _0x282f97=(_0x432530=_0x4b607e[_0x200d3f(0x2f0)])==null?void 0x0:_0x432530[_0x55196b[_0x200d3f(0x348)]],_0x44a739=(_0x209804=_0x4b607e[_0x200d3f(0x158)])==null?void 0x0:_0x209804[_0xb2404d];return _0x282f97==null||_0x44a739==null?[]:[{'row':_0x282f97,'col':_0x44a739,'value':_0x49eade}];})),_0x3a1a0d=_0x419874[_0x8f99e4(0x338)](_0xfae61a=>{const _0x4025c0=_0x8f99e4;var _0x489cc7;return Object[_0x4025c0(0x236)]((_0x489cc7=_0xfae61a['recordPatch'])==null?{}:_0x489cc7)['map'](([_0x5be7f1,_0x51d97f])=>{const _0x43ac9d=_0x4025c0;var _0x1f9c4d;let _0x3fc7fd=[...I[_0x43ac9d(0x235)](_0x843d0f,_0xfae61a[_0x43ac9d(0x348)]),_0x5be7f1],_0xbbdc02=(_0x1f9c4d=_0x29ef04['tables'][_0x843d0f])==null||(_0x1f9c4d=_0x1f9c4d[_0x43ac9d(0x1ce)][_0xfae61a[_0x43ac9d(0x348)]])==null?void 0x0:_0x1f9c4d[_0x5be7f1];return this['_replaceOptional'](_0x3fc7fd,_0xbbdc02,_0x51d97f);});});return L([this[_0x8f99e4(0x34d)](_0x29ef04,_0x843d0f,_0x43ccb2),..._0x3a1a0d]);}[_0x396ed2(0x34d)](_0x304b2,_0x13b876,_0x6a847d){const _0x22327a=_0x396ed2;let _0x265aca=_0x304b2['tables'][_0x13b876],_0x23b779=_0x6a847d[_0x22327a(0x28f)](_0x2d6fc7=>Gt(_0x265aca,_0x2d6fc7[_0x22327a(0x284)],_0x2d6fc7[_0x22327a(0x3b3)]))?_0x265aca:E(_0x265aca),_0x2e3bd5=_0x6a847d['flatMap'](_0x51064a=>{const _0x3cde3f=_0x22327a;var _0x10558b,_0x478f07,_0x235737,_0x5a55fa;let _0x51182e=(_0x10558b=_0x23b779[_0x3cde3f(0x32b)])==null?void 0x0:_0x10558b[_0x51064a[_0x3cde3f(0x3b3)]],_0x3bad70=(_0x478f07=_0x23b779[_0x3cde3f(0x2d2)])==null?void 0x0:_0x478f07[_0x51064a[_0x3cde3f(0x284)]],_0x36d9a5=_0x51182e?_0x23b779[_0x3cde3f(0x2f3)][_0x51182e]:void 0x0,_0x3f3796=D(_0x51064a['value'],_0x36d9a5),_0x958711=(_0x235737=_0x23b779[_0x3cde3f(0x34c)])==null||(_0x235737=_0x235737[_0x51064a[_0x3cde3f(0x284)]])==null?void 0x0:_0x235737[_0x51064a['col']],_0x492cfb=this[_0x3cde3f(0x336)](I[_0x3cde3f(0x34c)](_0x13b876,_0x51064a[_0x3cde3f(0x284)],_0x51064a[_0x3cde3f(0x3b3)]),_0x958711,_0x3f3796);if(!_0x51182e||!_0x3bad70)return[_0x492cfb];let _0x3cd38b=(_0x5a55fa=_0x23b779[_0x3cde3f(0x1ce)][_0x3bad70])==null?void 0x0:_0x5a55fa[_0x3cde3f(0x33e)][_0x51182e],_0x42333e=(_0x36d9a5==null?void 0x0:_0x36d9a5[_0x3cde3f(0x415)])===_0x1e4a6b['Attachment']?O(_0x51064a[_0x3cde3f(0x34e)]):Ae(_0x51064a[_0x3cde3f(0x34e)],_0x3f3796,_0x36d9a5,_0x23b779,_0x3bad70),_0x458540=[_0x492cfb,this[_0x3cde3f(0x336)](I['cell'](_0x13b876,_0x3bad70,_0x51182e),_0x3cd38b,_0x42333e)];if((_0x36d9a5==null?void 0x0:_0x36d9a5[_0x3cde3f(0x415)])!==_0x1e4a6b[_0x3cde3f(0x2da)])return _0x458540;let _0x39498a=this[_0x3cde3f(0x2c9)](_0x23b779,_0x13b876,_0x3bad70,_0x51182e,_0x42333e);return[..._0x458540,..._0x39498a];});return _0x2e3bd5[_0x22327a(0x1dd)]?L(_0x2e3bd5):_0x6fccb6['replaceOp']([_0x22327a(0x404),_0x13b876,_0x22327a(0x34c)],_0x23b779[_0x22327a(0x34c)],_0x23b779[_0x22327a(0x34c)]);}[_0x396ed2(0x3c7)](_0x246aa4,_0x430a7a,_0x44dacf){const _0x172079=_0x396ed2;var _0x1e9504,_0x255e04;let _0x4e79e7=_0x246aa4[_0x172079(0x404)][_0x430a7a];if(_0x4e79e7[_0x172079(0x2f3)][_0x44dacf[_0x172079(0x232)]['id']]||_0x4e79e7[_0x172079(0x201)]['includes'](_0x44dacf['field']['id']))return _0x6fccb6['replaceOp']([_0x172079(0x404),_0x430a7a,'fieldOrder'],_0x4e79e7[_0x172079(0x201)],_0x4e79e7[_0x172079(0x201)]);let _0x4ebe53=(_0x1e9504=_0x44dacf['index'])==null?_0x4e79e7['fieldOrder'][_0x172079(0x1dd)]:_0x1e9504,_0x16ff95=Object[_0x172079(0x33e)]((_0x255e04=_0x4e79e7[_0x172079(0x173)])==null?{}:_0x255e04)[_0x172079(0x338)](_0x2f5b0a=>{const _0x2326f9=_0x172079;var _0xc58fe9,_0x4c91e9;if(!_0x2f5b0a[_0x2326f9(0x201)]||_0x2f5b0a[_0x2326f9(0x201)][_0x2326f9(0x323)](_0x44dacf['field']['id']))return[];let _0xead0fa=Yt((_0xc58fe9=(_0x4c91e9=_0x44dacf[_0x2326f9(0x378)])==null?void 0x0:_0x4c91e9[_0x2f5b0a['id']])==null?_0x4ebe53:_0xc58fe9,_0x2f5b0a['fieldOrder'][_0x2326f9(0x1dd)]);return[_0x6fccb6['insertOp']([...I['view'](_0x430a7a,_0x2f5b0a['id']),_0x2326f9(0x201),_0xead0fa],_0x44dacf['field']['id'])];});return L([_0x6fccb6['insertOp'](I['field'](_0x430a7a,_0x44dacf[_0x172079(0x232)]['id']),_0x44dacf[_0x172079(0x232)]),_0x6fccb6[_0x172079(0x275)](I['fieldOrder'](_0x430a7a,_0x4ebe53),_0x44dacf[_0x172079(0x232)]['id']),..._0x16ff95]);}['duplicateField'](_0x3307b0,_0x22e476,_0x3b5e80,_0x324506){const _0x216f5a=_0x396ed2;var _0x5c68b6,_0x1264a7;let _0x216505=_0x3307b0[_0x216f5a(0x404)][_0x22e476];if(!_0x216505[_0x216f5a(0x2f3)][_0x3b5e80]||_0x216505['fields'][_0x324506[_0x216f5a(0x232)]['id']]||_0x216505['fieldOrder'][_0x216f5a(0x323)](_0x324506[_0x216f5a(0x232)]['id']))return _0x6fccb6[_0x216f5a(0x1c7)]([_0x216f5a(0x404),_0x22e476,_0x216f5a(0x201)],_0x216505[_0x216f5a(0x201)],_0x216505['fieldOrder']);let _0x5163f8=(_0x5c68b6=_0x324506[_0x216f5a(0x362)])==null?_0x216505[_0x216f5a(0x201)][_0x216f5a(0x400)](_0x3b5e80)+0x1:_0x5c68b6,_0x206dd3=_0x216505[_0x216f5a(0x201)][_0x216f5a(0x24f)](_0x15acfc=>_0x15acfc!==_0x324506[_0x216f5a(0x232)]['id']),_0x22ac89=qt(_0x206dd3,_0x324506[_0x216f5a(0x232)]['id'],_0x5163f8),_0x22c7f5=Object['values']((_0x1264a7=_0x216505[_0x216f5a(0x173)])==null?{}:_0x1264a7)[_0x216f5a(0x338)](_0x258c90=>{const _0x1e9357=_0x216f5a;var _0x18a27b,_0x21cfd8,_0x3fffd9,_0x4f2eaa,_0x2bd1fa;let _0x588b07=(_0x18a27b=_0x258c90[_0x1e9357(0x201)])!=null&&_0x18a27b[_0x1e9357(0x1dd)]?_0x258c90[_0x1e9357(0x201)]:_0x206dd3;if(_0x588b07[_0x1e9357(0x323)](_0x324506[_0x1e9357(0x232)]['id']))return[];let _0x2571bd=qt(_0x588b07,_0x324506[_0x1e9357(0x232)]['id'],(_0x21cfd8=(_0x3fffd9=_0x324506['viewIndexes'])==null?void 0x0:_0x3fffd9[_0x258c90['id']])==null?_0x5163f8:_0x21cfd8),_0x20e959=(_0x4f2eaa=_0x258c90['fieldSettings'])==null?void 0x0:_0x4f2eaa[_0x3b5e80];return[this[_0x1e9357(0x336)]([...I[_0x1e9357(0x1b8)](_0x22e476,_0x258c90['id']),'fieldOrder'],_0x258c90[_0x1e9357(0x201)],_0x2571bd),..._0x20e959?[this[_0x1e9357(0x336)]([...I['view'](_0x22e476,_0x258c90['id']),'fieldSettings',_0x324506[_0x1e9357(0x232)]['id']],(_0x2bd1fa=_0x258c90[_0x1e9357(0x193)])==null?void 0x0:_0x2bd1fa[_0x324506[_0x1e9357(0x232)]['id']],_0x20e959)]:[]];}),_0x2feb99=Object[_0x216f5a(0x33e)](_0x216505[_0x216f5a(0x1ce)])['filter'](_0x394676=>Object[_0x216f5a(0x3fd)]['hasOwnProperty'][_0x216f5a(0x1c1)](_0x394676[_0x216f5a(0x33e)],_0x3b5e80))[_0x216f5a(0x22a)](_0x1740a7=>this['_replaceOptional'](I[_0x216f5a(0x38f)](_0x22e476,_0x1740a7['id'],_0x324506['field']['id']),_0x1740a7[_0x216f5a(0x33e)][_0x324506['field']['id']],_0x1740a7[_0x216f5a(0x33e)][_0x3b5e80]));return L([_0x6fccb6[_0x216f5a(0x275)](I[_0x216f5a(0x232)](_0x22e476,_0x324506[_0x216f5a(0x232)]['id']),_0x324506[_0x216f5a(0x232)]),_0x6fccb6['replaceOp'](['tables',_0x22e476,'fieldOrder'],_0x216505[_0x216f5a(0x201)],_0x22ac89),..._0x22c7f5,..._0x2feb99]);}[_0x396ed2(0x39e)](_0x512e3a,_0x4f14ee,_0x1a3d09,_0x10c9c6){const _0x2e05ee=_0x396ed2;let _0x26ac97=_0x512e3a[_0x2e05ee(0x404)][_0x4f14ee][_0x2e05ee(0x2f3)][_0x1a3d09],_0x5c9911={..._0x26ac97,..._0x10c9c6};Object[_0x2e05ee(0x234)](_0x10c9c6)[_0x2e05ee(0x3d3)](_0xc88896=>{_0x10c9c6[_0xc88896]===void 0x0&&delete _0x5c9911[_0xc88896];});let _0x1452e7=_0x6fccb6[_0x2e05ee(0x1c7)](I[_0x2e05ee(0x232)](_0x4f14ee,_0x1a3d09),_0x26ac97,_0x5c9911);return _0x5c9911['type']===_0x1e4a6b[_0x2e05ee(0x408)]?L([_0x1452e7,...this[_0x2e05ee(0x16e)](_0x512e3a,_0x4f14ee,_0x1a3d09,_0x5c9911)]):_0x1452e7;}[_0x396ed2(0x3d8)](_0x1b607e,_0x410765,_0x32e911,_0x1b20cc){const _0x27cb53=_0x396ed2;return this[_0x27cb53(0x39e)](_0x1b607e,_0x410765,_0x32e911,_0x1b20cc);}[_0x396ed2(0x28d)](_0x4ed0a8,_0x77a6a8,_0x11a87a){const _0x365122=_0x396ed2;let _0x36ae0d=_0x4ed0a8[_0x365122(0x404)][_0x77a6a8];if(!(_0x36ae0d!=null&&_0x36ae0d[_0x365122(0x2f3)][_0x11a87a])||_0x36ae0d[_0x365122(0x243)]===_0x11a87a)return _0x6fccb6[_0x365122(0x1c7)]([_0x365122(0x404),_0x77a6a8,_0x365122(0x201)],_0x36ae0d==null?void 0x0:_0x36ae0d[_0x365122(0x201)],_0x36ae0d==null?void 0x0:_0x36ae0d[_0x365122(0x201)]);let _0x59202c=_0x36ae0d[_0x365122(0x201)]['indexOf'](_0x11a87a),_0x3bbe8f=Object[_0x365122(0x33e)](_0x36ae0d[_0x365122(0x173)])[_0x365122(0x338)](_0x50f6dd=>{const _0x1b81c3=_0x365122;var _0x50cf46,_0x44a9da,_0x51138c,_0xee2fdf,_0x687bce,_0x20642c,_0x52be0a,_0x4f8bc9;let _0x2d9ca4=[],_0x5167a5=(_0x50cf46=(_0x44a9da=_0x50f6dd[_0x1b81c3(0x201)])==null?void 0x0:_0x44a9da[_0x1b81c3(0x400)](_0x11a87a))==null?-0x1:_0x50cf46;_0x5167a5>=0x0&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6[_0x1b81c3(0x3a7)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x201),_0x5167a5],_0x11a87a));let _0x18abda=(_0x51138c=_0x50f6dd['fieldSettings'])==null?void 0x0:_0x51138c[_0x11a87a];_0x18abda!==void 0x0&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6[_0x1b81c3(0x3a7)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'fieldSettings',_0x11a87a],_0x18abda));let _0x4b9c8f=_0x50f6dd[_0x1b81c3(0x24f)]?{..._0x50f6dd['filter'],'conditions':_0x50f6dd[_0x1b81c3(0x24f)][_0x1b81c3(0x31f)][_0x1b81c3(0x24f)](_0x59da68=>_0x59da68['fieldId']!==_0x11a87a)}:_0x50f6dd[_0x1b81c3(0x24f)];_0x4b9c8f&&_0x4b9c8f[_0x1b81c3(0x31f)][_0x1b81c3(0x1dd)]!==((_0xee2fdf=_0x50f6dd[_0x1b81c3(0x24f)])==null?void 0x0:_0xee2fdf[_0x1b81c3(0x31f)][_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this[_0x1b81c3(0x336)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x24f)],_0x50f6dd[_0x1b81c3(0x24f)],_0x4b9c8f));let _0x104886=(_0x687bce=_0x50f6dd['sort'])==null?void 0x0:_0x687bce[_0x1b81c3(0x24f)](_0x5b1ed4=>_0x5b1ed4[_0x1b81c3(0x20f)]!==_0x11a87a);_0x104886&&_0x104886[_0x1b81c3(0x1dd)]!==((_0x20642c=_0x50f6dd[_0x1b81c3(0x314)])==null?void 0x0:_0x20642c[_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this[_0x1b81c3(0x336)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'sort'],_0x50f6dd[_0x1b81c3(0x314)],_0x104886));let _0x39bf8a=(_0x52be0a=_0x50f6dd[_0x1b81c3(0x1e0)])==null?void 0x0:_0x52be0a[_0x1b81c3(0x24f)](_0x3c9991=>_0x3c9991[_0x1b81c3(0x20f)]!==_0x11a87a);_0x39bf8a&&_0x39bf8a[_0x1b81c3(0x1dd)]!==((_0x4f8bc9=_0x50f6dd['group'])==null?void 0x0:_0x4f8bc9[_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this['_replaceOptional']([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x1e0)],_0x50f6dd[_0x1b81c3(0x1e0)],_0x39bf8a));let _0x1be149=Jt(_0x50f6dd[_0x1b81c3(0x285)],_0x11a87a);return JSON['stringify'](_0x1be149)!==JSON[_0x1b81c3(0x219)](_0x50f6dd['config'])&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6['replaceOp']([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'config'],_0x50f6dd[_0x1b81c3(0x285)],_0x1be149)),_0x2d9ca4;}),_0x379b57=Object['values'](_0x36ae0d[_0x365122(0x1ce)])[_0x365122(0x338)](_0x1a08ad=>Object[_0x365122(0x3fd)][_0x365122(0x1c3)]['call'](_0x1a08ad[_0x365122(0x33e)],_0x11a87a)?[_0x6fccb6[_0x365122(0x3a7)](I['cell'](_0x77a6a8,_0x1a08ad['id'],_0x11a87a),_0x1a08ad[_0x365122(0x33e)][_0x11a87a])]:[]);return L([_0x6fccb6[_0x365122(0x3a7)](I[_0x365122(0x232)](_0x77a6a8,_0x11a87a),_0x36ae0d['fields'][_0x11a87a]),_0x6fccb6['removeOp'](I[_0x365122(0x201)](_0x77a6a8,_0x59202c),_0x11a87a),..._0x3bbe8f,..._0x379b57,...this['_deleteAttachmentResources'](_0x36ae0d,_0x77a6a8,_0x48fcd1=>_0x48fcd1[_0x365122(0x30d)](_0x11a87a+'\x1f'))]);}[_0x396ed2(0x2d3)](_0x5bf94a,_0x3e2319,_0x4d199a,_0x5187f0){const _0x2e9856=_0x396ed2;let _0x2845cd=_0x5bf94a[_0x2e9856(0x404)][_0x3e2319][_0x2e9856(0x201)],_0xd54d42=Kt(_0x2845cd,_0x4d199a,_0x5187f0);return _0x6fccb6['replaceOp']([_0x2e9856(0x404),_0x3e2319,_0x2e9856(0x201)],_0x2845cd,_0xd54d42);}[_0x396ed2(0x1d8)](_0x13524c,_0x2dbc0b,_0x5607e5,_0x1dcd29=_0x13524c['tables'][_0x2dbc0b][_0x396ed2(0x26b)][_0x396ed2(0x1dd)]){const _0x59c6f0=_0x396ed2;return L([_0x6fccb6[_0x59c6f0(0x275)](I[_0x59c6f0(0x1b8)](_0x2dbc0b,_0x5607e5['id']),_0x5607e5),_0x6fccb6['insertOp']([_0x59c6f0(0x404),_0x2dbc0b,_0x59c6f0(0x26b),_0x1dcd29],_0x5607e5['id'])]);}['renameView'](_0x55e9a7,_0x26284f,_0x4e6ef3,_0x127f73){const _0x3e167c=_0x396ed2;return _0x6fccb6[_0x3e167c(0x1c7)]([...I['view'](_0x26284f,_0x4e6ef3),_0x3e167c(0x28c)],_0x55e9a7[_0x3e167c(0x404)][_0x26284f][_0x3e167c(0x173)][_0x4e6ef3]['name'],_0x127f73);}[_0x396ed2(0x15f)](_0x11874e,_0x35d358,_0x1bd05a){const _0x1946ee=_0x396ed2;let _0x4bfb15=_0x11874e['tables'][_0x35d358],_0x5ad633=_0x4bfb15[_0x1946ee(0x173)][_0x1bd05a],_0x5537ab=_0x4bfb15['viewOrder'][_0x1946ee(0x400)](_0x1bd05a);return L([_0x6fccb6[_0x1946ee(0x3a7)](I[_0x1946ee(0x1b8)](_0x35d358,_0x1bd05a),_0x5ad633),_0x6fccb6[_0x1946ee(0x3a7)]([_0x1946ee(0x404),_0x35d358,'viewOrder',_0x5537ab],_0x1bd05a)]);}['moveView'](_0x568f07,_0x5897b2,_0x75bce2,_0x7a02d){const _0xc571f7=_0x396ed2;let _0x2d7423=_0x568f07[_0xc571f7(0x404)][_0x5897b2][_0xc571f7(0x26b)],_0x327282=Kt(_0x2d7423,_0x75bce2,{'beforeFieldId':_0x7a02d[_0xc571f7(0x15c)],'afterFieldId':_0x7a02d[_0xc571f7(0x1de)]});return _0x6fccb6[_0xc571f7(0x1c7)]([_0xc571f7(0x404),_0x5897b2,_0xc571f7(0x26b)],_0x2d7423,_0x327282);}[_0x396ed2(0x3ed)](_0x56cdad,_0x17b8e4,_0x1011f6,_0x103191){const _0x4d8738=_0x396ed2;var _0x545297;let _0x34aa54=(_0x545297=_0x56cdad['tables'][_0x17b8e4][_0x4d8738(0x173)][_0x1011f6][_0x4d8738(0x285)])==null?{}:_0x545297,_0x30e497={..._0x34aa54,..._0x103191};return Object['keys'](_0x103191)['forEach'](_0x549fe6=>{_0x103191[_0x549fe6]===void 0x0&&delete _0x30e497[_0x549fe6];}),_0x6fccb6['replaceOp']([...I['view'](_0x17b8e4,_0x1011f6),_0x4d8738(0x285)],_0x34aa54,_0x30e497);}[_0x396ed2(0x227)](_0x3c7ca7,_0x427a7a,_0x14f487,_0x15df67){const _0x145d31=_0x396ed2;return this[_0x145d31(0x336)]([...I[_0x145d31(0x1b8)](_0x427a7a,_0x14f487),_0x145d31(0x24f)],_0x3c7ca7[_0x145d31(0x404)][_0x427a7a][_0x145d31(0x173)][_0x14f487][_0x145d31(0x24f)],_0x15df67);}['setViewSort'](_0x3c254e,_0x2b4a46,_0x333c29,_0x53e985){const _0x4e8321=_0x396ed2;return this[_0x4e8321(0x336)]([...I[_0x4e8321(0x1b8)](_0x2b4a46,_0x333c29),_0x4e8321(0x314)],_0x3c254e[_0x4e8321(0x404)][_0x2b4a46]['views'][_0x333c29]['sort'],_0x53e985);}[_0x396ed2(0x279)](_0x329f9c,_0x749430,_0x4a7730,_0x5424fd){const _0x266eda=_0x396ed2;return this[_0x266eda(0x336)]([...I[_0x266eda(0x1b8)](_0x749430,_0x4a7730),_0x266eda(0x1e0)],_0x329f9c[_0x266eda(0x404)][_0x749430][_0x266eda(0x173)][_0x4a7730][_0x266eda(0x1e0)],_0x5424fd);}[_0x396ed2(0x2e2)](_0x558400,_0x541fe1,_0x21b5d7,_0x2ebb5d,_0x1c33f6){const _0x5697e4=_0x396ed2;return this[_0x5697e4(0x1a1)](_0x558400,_0x541fe1,_0x21b5d7,_0x2ebb5d,{'hidden':!_0x1c33f6});}[_0x396ed2(0x3af)](_0x31a54c,_0x4a284b,_0x48f219,_0x183eca,_0x22f09a){const _0x44dea7=_0x396ed2;return this[_0x44dea7(0x1a1)](_0x31a54c,_0x4a284b,_0x48f219,_0x183eca,{'width':_0x22f09a});}[_0x396ed2(0x341)](_0x141358,_0x414f26,_0x341da3,_0x58e0e4,_0x4365de){const _0x157960=_0x396ed2;var _0xf153e0;let _0x109755=_0x141358[_0x157960(0x404)][_0x414f26][_0x157960(0x173)][_0x341da3],_0x32d20f=Kt((_0xf153e0=_0x109755[_0x157960(0x201)])==null?_0x141358['tables'][_0x414f26][_0x157960(0x201)]:_0xf153e0,_0x58e0e4,_0x4365de);return this['_replaceOptional']([...I['view'](_0x414f26,_0x341da3),_0x157960(0x201)],_0x109755[_0x157960(0x201)],_0x32d20f);}['_setViewFieldSetting'](_0x2b826c,_0x4eaa28,_0x10bd64,_0x2b901a,_0xa17e83){const _0x40d259=_0x396ed2;var _0x1f111e;let _0x35a233=(_0x1f111e=_0x2b826c[_0x40d259(0x404)][_0x4eaa28][_0x40d259(0x173)][_0x10bd64][_0x40d259(0x193)])==null?{}:_0x1f111e,_0x1335af={..._0x35a233,[_0x2b901a]:{..._0x35a233[_0x2b901a],..._0xa17e83}};return this[_0x40d259(0x336)]([...I[_0x40d259(0x1b8)](_0x4eaa28,_0x10bd64),_0x40d259(0x193)],_0x2b826c[_0x40d259(0x404)][_0x4eaa28][_0x40d259(0x173)][_0x10bd64][_0x40d259(0x193)],_0x1335af);}[_0x396ed2(0x1dc)](_0x2c250f,_0x2dd2ba,_0x22f5fa){const _0x908a39=_0x396ed2;let _0x56db09=_0x2c250f[_0x908a39(0x404)][_0x2dd2ba],_0x1dbb73=new Set(_0x22f5fa[_0x908a39(0x22a)](_0x2a500b=>_0x2a500b['id'])),_0x138f56=[...Object[_0x908a39(0x33e)](_0x56db09[_0x908a39(0x1ce)])['filter'](_0x389308=>!_0x1dbb73[_0x908a39(0x1c2)](_0x389308['id'])),..._0x22f5fa][_0x908a39(0x314)]((_0x4f714b,_0x3073fc)=>{const _0x2a6fc2=_0x908a39;var _0x165314,_0x2562c4;return String((_0x165314=_0x4f714b[_0x2a6fc2(0x2a9)])==null?_0x4f714b['id']:_0x165314)[_0x2a6fc2(0x23e)](String((_0x2562c4=_0x3073fc[_0x2a6fc2(0x2a9)])==null?_0x3073fc['id']:_0x2562c4));})[_0x908a39(0x22a)](_0x325238=>_0x325238['id']),_0x105039=[...I[_0x908a39(0x328)](_0x2dd2ba),_0x908a39(0x3ab)];return _0x56db09[_0x908a39(0x3ab)]?_0x6fccb6['replaceOp'](_0x105039,_0x56db09[_0x908a39(0x3ab)],_0x138f56):_0x6fccb6[_0x908a39(0x275)](_0x105039,_0x138f56);}[_0x396ed2(0x16e)](_0x71242c,_0x35a764,_0x28fa95,_0x24bfe9){const _0x416092=_0x396ed2;var _0x1b6f10,_0x5bc67a,_0xe4a4c6,_0x3e2de1;let _0x4199eb=E(_0x71242c[_0x416092(0x404)][_0x35a764]),_0x27ba4a=String((_0x1b6f10=(_0x5bc67a=_0x24bfe9[_0x416092(0x285)])==null?void 0x0:_0x5bc67a[_0x416092(0x1c9)])==null?'':_0x1b6f10)[_0x416092(0x317)](),_0x3eb781=(_0xe4a4c6=_0x4199eb['colIndex'])==null?void 0x0:_0xe4a4c6[_0x28fa95];if(_0x3eb781==null)return[];let _0x474fc2=(_0x3e2de1=_0x4199eb[_0x416092(0x3ab)])==null?Object[_0x416092(0x234)](_0x4199eb[_0x416092(0x1ce)]):_0x3e2de1,_0x223e93=_0x474fc2[_0x416092(0x22a)](_0x372252=>{const _0x52ddf3=_0x416092;var _0x83f26a;return(_0x83f26a=_0x4199eb[_0x52ddf3(0x2f0)])==null?void 0x0:_0x83f26a[_0x372252];})['find'](_0x383687=>_0x383687!=null);return _0x474fc2[_0x416092(0x338)](_0x9aa0c4=>{const _0x48327d=_0x416092;var _0x57291a,_0x5af1f2;let _0xe09b7d=(_0x57291a=_0x4199eb[_0x48327d(0x2f0)])==null?void 0x0:_0x57291a[_0x9aa0c4];if(_0xe09b7d==null)return[];let _0xf39979=(_0x5af1f2=_0x4199eb['cellData'])==null||(_0x5af1f2=_0x5af1f2[_0xe09b7d])==null?void 0x0:_0x5af1f2[_0x3eb781],_0x24dae3=_0x27ba4a?_0xe09b7d===_0x223e93?{'f':_0x27ba4a,'si':_0x28fa95}:{'si':_0x28fa95}:{'v':null,'t':null};return[this['_replaceOptional'](I[_0x48327d(0x34c)](_0x35a764,_0xe09b7d,_0x3eb781),_0xf39979,_0x24dae3)];});}['_setAttachmentResources'](_0x84035c,_0x1a2732,_0x3eda19,_0x35b4a6,_0x15d948){const _0x38902d=_0x396ed2;var _0x31f95c;let _0x4e3234=Me(_0x35b4a6,_0x3eda19),_0xb2875f=_0x15d948[_0x38902d(0x22a)]((_0x3ad5f0,_0x5cabee)=>{var _0x501ea1;return String((_0x501ea1=_0x3ad5f0['id'])==null?_0x4e3234+'\x1f'+_0x5cabee:_0x501ea1);});return[this[_0x38902d(0x336)](I[_0x38902d(0x3e9)](_0x1a2732,_0x4e3234),(_0x31f95c=_0x84035c[_0x38902d(0x421)])==null||(_0x31f95c=_0x31f95c[_0x38902d(0x1a3)])==null?void 0x0:_0x31f95c[_0x4e3234],_0xb2875f),..._0x15d948[_0x38902d(0x22a)]((_0x4f6c2b,_0x403e5e)=>{const _0x1eff55=_0x38902d;var _0x39c7ef;let _0x24e685=_0xb2875f[_0x403e5e];return this[_0x1eff55(0x336)](I[_0x1eff55(0x1f2)](_0x1a2732,_0x24e685),(_0x39c7ef=_0x84035c[_0x1eff55(0x421)])==null||(_0x39c7ef=_0x39c7ef['attachments'])==null?void 0x0:_0x39c7ef[_0x24e685],{..._0x4f6c2b,'id':_0x24e685});})];}[_0x396ed2(0x199)](_0x4d93b8,_0x2f0c5f,_0x4b3e90){const _0x11846a=_0x396ed2;var _0x467eb7,_0x2873e2;let _0x12a6e3=(_0x467eb7=(_0x2873e2=_0x4d93b8[_0x11846a(0x421)])==null?void 0x0:_0x2873e2[_0x11846a(0x1a3)])==null?{}:_0x467eb7,_0x4314a6=Object[_0x11846a(0x236)](_0x12a6e3)[_0x11846a(0x24f)](([_0x5b2671])=>_0x4b3e90(_0x5b2671));if(!_0x4314a6[_0x11846a(0x1dd)])return[];let _0x1353e3=new Set(Object['entries'](_0x12a6e3)[_0x11846a(0x24f)](([_0xa39717])=>!_0x4b3e90(_0xa39717))[_0x11846a(0x338)](([,_0x491050])=>_0x491050)),_0x566a3d=new Set(_0x4314a6['flatMap'](([,_0x173e47])=>_0x173e47));return[..._0x4314a6[_0x11846a(0x22a)](([_0x48f5a4,_0x528e92])=>_0x6fccb6['removeOp'](I['attachmentSet'](_0x2f0c5f,_0x48f5a4),_0x528e92)),...Array[_0x11846a(0x34b)](_0x566a3d)[_0x11846a(0x338)](_0x1e0d81=>{const _0x37984d=_0x11846a;var _0x501578;let _0x489e71=(_0x501578=_0x4d93b8[_0x37984d(0x421)])==null||(_0x501578=_0x501578['attachments'])==null?void 0x0:_0x501578[_0x1e0d81];return _0x489e71!==void 0x0&&!_0x1353e3[_0x37984d(0x1c2)](_0x1e0d81)?[_0x6fccb6[_0x37984d(0x3a7)](I['attachment'](_0x2f0c5f,_0x1e0d81),_0x489e71)]:[];})];}[_0x396ed2(0x336)](_0x2283f9,_0x396d8b,_0x4e1551){const _0x4d36be=_0x396ed2;return _0x396d8b===void 0x0?_0x6fccb6['insertOp'](_0x2283f9,_0x4e1551):_0x6fccb6[_0x4d36be(0x1c7)](_0x2283f9,_0x396d8b,_0x4e1551);}};function Wt(_0x11d446,_0x356a4a,_0x39ab6a){const _0x2a8e58=_0x396ed2;var _0x271089,_0x5e6fb1,_0xa25df1,_0x36eb67;let _0x2a7466=(_0x271089=_0x11d446['rowIndex'])==null?void 0x0:_0x271089[_0x356a4a],_0x157cbf=(_0x5e6fb1=_0x11d446[_0x2a8e58(0x158)])==null?void 0x0:_0x5e6fb1[_0x39ab6a];return _0x2a7466!=null&&_0x157cbf!=null&&((_0xa25df1=_0x11d446[_0x2a8e58(0x2d2)])==null?void 0x0:_0xa25df1[_0x2a7466])===_0x356a4a&&((_0x36eb67=_0x11d446[_0x2a8e58(0x32b)])==null?void 0x0:_0x36eb67[_0x157cbf])===_0x39ab6a&&_0x11d446['cellData']!=null;}function Gt(_0x17369b,_0x2c2aad,_0x5eaa8a){const _0x4a32a5=_0x396ed2;var _0x40d9e4,_0x5ef011;return((_0x40d9e4=_0x17369b[_0x4a32a5(0x2d2)])==null?void 0x0:_0x40d9e4[_0x2c2aad])!=null&&((_0x5ef011=_0x17369b[_0x4a32a5(0x32b)])==null?void 0x0:_0x5ef011[_0x5eaa8a])!=null&&_0x17369b[_0x4a32a5(0x34c)]!=null;}function Kt(_0x405303,_0x369622,_0x2b278e){const _0x183b0d=_0x396ed2;let _0x3518c4=_0x405303['filter'](_0x1d2095=>_0x1d2095!==_0x369622),_0x3da7d7=_0x2b278e[_0x183b0d(0x412)]?_0x3518c4[_0x183b0d(0x400)](_0x2b278e[_0x183b0d(0x412)]):_0x2b278e[_0x183b0d(0x312)]?_0x3518c4['indexOf'](_0x2b278e[_0x183b0d(0x312)])+0x1:_0x3518c4[_0x183b0d(0x1dd)];return _0x3518c4[_0x183b0d(0x340)](_0x3da7d7<0x0?_0x3518c4[_0x183b0d(0x1dd)]:_0x3da7d7,0x0,_0x369622),_0x3518c4;}function qt(_0x545d25,_0x314047,_0x370dfe){const _0x5ba98c=_0x396ed2;let _0x33a988=_0x545d25[_0x5ba98c(0x24f)](_0x51ecd4=>_0x51ecd4!==_0x314047);return _0x33a988[_0x5ba98c(0x340)](Yt(_0x370dfe,_0x33a988[_0x5ba98c(0x1dd)]),0x0,_0x314047),_0x33a988;}function Jt(_0x49afa1,_0x789c1d,_0x1dd140){const _0x1e6572=_0x396ed2;if(Array[_0x1e6572(0x3db)](_0x49afa1))return _0x1dd140===_0x1e6572(0x35a)?_0x49afa1[_0x1e6572(0x24f)](_0x4b727b=>_0x4b727b!==_0x789c1d):_0x49afa1[_0x1e6572(0x338)](_0x265643=>{const _0x7920ab=_0x1e6572;if(_0x265643&&typeof _0x265643==_0x7920ab(0x25a)&&!Array[_0x7920ab(0x3db)](_0x265643)&&_0x265643['fieldId']===_0x789c1d)return[];let _0x29aa61=Jt(_0x265643,_0x789c1d);return _0x29aa61===void 0x0?[]:[_0x29aa61];});if(!_0x49afa1||typeof _0x49afa1!='object')return _0x1dd140!=null&&_0x1dd140[_0x1e6572(0x2c3)]('FieldId')&&_0x49afa1===_0x789c1d?void 0x0:_0x49afa1;let _0x4b43bb=_0x49afa1;if(_0x4b43bb[_0x1e6572(0x20f)]!==_0x789c1d)return Object[_0x1e6572(0x185)](Object[_0x1e6572(0x236)](_0x4b43bb)['flatMap'](([_0x21a3e2,_0x2d5974])=>{const _0x2aa73a=_0x1e6572;if(_0x21a3e2===_0x789c1d&&_0x1dd140===_0x2aa73a(0x193))return[];let _0x511697=Jt(_0x2d5974,_0x789c1d,_0x21a3e2);return _0x511697===void 0x0?[]:[[_0x21a3e2,_0x511697]];}));}function Yt(_0x56cd75,_0x1c1f53){const _0x5dfa31=_0x396ed2;return Math[_0x5dfa31(0x422)](0x0,Math[_0x5dfa31(0x36b)](_0x56cd75,_0x1c1f53));}function Xt(_0x4200e1,_0x23f066,_0x368c29){const _0xfdc826=_0x396ed2;if(!_0x4200e1||!_0x23f066||_0x23f066===_0x368c29)return _0x4200e1;let _0x47962a='',_0x413bc6=!0x1,_0x26b4d7=_0x23f066[_0xfdc826(0x1ad)]();for(let _0x55d3e0=0x0;_0x55d3e0<_0x4200e1[_0xfdc826(0x1dd)];){let _0x54456f=_0x4200e1[_0x55d3e0];if(_0x54456f==='\x22'){if(_0x413bc6&&_0x4200e1[_0x55d3e0+0x1]==='\x22'){_0x47962a+='\x22\x22',_0x55d3e0+=0x2;continue;}_0x413bc6=!_0x413bc6,_0x47962a+=_0x54456f,_0x55d3e0++;continue;}if(!_0x413bc6&&_0x4200e1['slice'](_0x55d3e0,_0x55d3e0+_0x23f066['length'])[_0xfdc826(0x1ad)]()===_0x26b4d7&&Zt(_0x4200e1,_0x55d3e0,_0x23f066[_0xfdc826(0x1dd)])){_0x47962a+=_0x368c29,_0x55d3e0+=_0x23f066['length'];continue;}_0x47962a+=_0x54456f,_0x55d3e0++;}return _0x47962a;}function Zt(_0x4a95f5,_0x8d9dd7,_0x3e77ee){const _0x4c5861=_0x396ed2;var _0x4760db;let _0x18e62a=_0x4a95f5[_0x8d9dd7-0x1];if(_0x18e62a&&/[\w.]/[_0x4c5861(0x427)](_0x18e62a))return!0x1;let _0x1bd551=_0x8d9dd7+_0x3e77ee;for(;/\s/[_0x4c5861(0x427)]((_0x4760db=_0x4a95f5[_0x1bd551])==null?'':_0x4760db);)_0x1bd551++;return _0x4a95f5[_0x1bd551]==='[';}function z(_0x2aa8eb){'@babel/helpers - typeof';const _0xe1d186=_0x396ed2;return z=typeof Symbol==_0xe1d186(0x1c5)&&typeof Symbol['iterator']==_0xe1d186(0x402)?function(_0x506d67){return typeof _0x506d67;}:function(_0x4896d3){const _0x1ab6cb=_0xe1d186;return _0x4896d3&&typeof Symbol==_0x1ab6cb(0x1c5)&&_0x4896d3[_0x1ab6cb(0x311)]===Symbol&&_0x4896d3!==Symbol[_0x1ab6cb(0x3fd)]?_0x1ab6cb(0x402):typeof _0x4896d3;},z(_0x2aa8eb);}function Qt(_0x5c645c,_0x5058e9){const _0x5ab0c9=_0x396ed2;if(z(_0x5c645c)!='object'||!_0x5c645c)return _0x5c645c;var _0xd27936=_0x5c645c[Symbol[_0x5ab0c9(0x437)]];if(_0xd27936!==void 0x0){var _0x2f01db=_0xd27936[_0x5ab0c9(0x1c1)](_0x5c645c,_0x5058e9||'default');if(z(_0x2f01db)!=_0x5ab0c9(0x25a))return _0x2f01db;throw TypeError(_0x5ab0c9(0x3da));}return(_0x5058e9==='string'?String:Number)(_0x5c645c);}function $t(_0x3c0bfe){const _0x6c3598=_0x396ed2;var _0x5d846a=Qt(_0x3c0bfe,_0x6c3598(0x247));return z(_0x5d846a)==_0x6c3598(0x402)?_0x5d846a:_0x5d846a+'';}function B(_0x1c2ef7,_0x4dca24,_0x59db62){const _0x42fd5e=_0x396ed2;return(_0x4dca24=$t(_0x4dca24))in _0x1c2ef7?Object[_0x42fd5e(0x315)](_0x1c2ef7,_0x4dca24,{'value':_0x59db62,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c2ef7[_0x4dca24]=_0x59db62,_0x1c2ef7;}const en=_0x2adec3('base.field-registry.service');var tn=class extends _0x4c331b{constructor(..._0x1b472b){super(..._0x1b472b),B(this,'_plugins',new Map());}[_0x396ed2(0x290)](_0x8207a6){const _0xa950c9=_0x396ed2;return this[_0xa950c9(0x373)][_0xa950c9(0x387)](_0x8207a6['type'],_0x8207a6),_0x37a382(()=>this[_0xa950c9(0x373)][_0xa950c9(0x3cc)](_0x8207a6[_0xa950c9(0x415)]));}[_0x396ed2(0x2bb)](_0x4010b9){const _0x4c8527=_0x396ed2;let _0x107730=this['_plugins'][_0x4c8527(0x2bb)](_0x4010b9);if(!_0x107730)throw Error(_0x4c8527(0x3a6)+_0x4010b9+_0x4c8527(0x296));return _0x107730;}[_0x396ed2(0x1cf)](_0x56a927){const _0x480638=_0x396ed2;return this['_plugins'][_0x480638(0x2bb)](_0x56a927);}['getAll'](){const _0x10563c=_0x396ed2;return Array[_0x10563c(0x34b)](this[_0x10563c(0x373)]['values']());}};const nn=_0x2adec3('base.permission.service');var rn=class{constructor(){const _0x44a03c=_0x396ed2;B(this,_0x44a03c(0x23b),new Map()),B(this,'_tablePermissions',new Map()),B(this,'_fieldPermissions',new Map()),B(this,'_recordPermissions',new Map());}[_0x396ed2(0x2ba)](_0x1cb497){const _0x30d1e4=_0x396ed2;var _0x37d46b,_0x46a957;return(_0x37d46b=(_0x46a957=this[_0x30d1e4(0x23b)]['get'](_0x1cb497))==null?void 0x0:_0x46a957['createTable'])==null?!0x0:_0x37d46b;}[_0x396ed2(0x22b)](_0x686c75){const _0x164ae1=_0x396ed2;var _0x1fb41f,_0x3aea6a;return(_0x1fb41f=(_0x3aea6a=this[_0x164ae1(0x432)][_0x164ae1(0x2bb)](_0x686c75))==null?void 0x0:_0x3aea6a['delete'])==null?!0x0:_0x1fb41f;}[_0x396ed2(0x345)](_0x4fedca){const _0x4f7e37=_0x396ed2;var _0x4f34b2,_0x72b418;return(_0x4f34b2=(_0x72b418=this['_tablePermissions'][_0x4f7e37(0x2bb)](_0x4fedca))==null?void 0x0:_0x72b418[_0x4f7e37(0x3c7)])==null?!0x0:_0x4f34b2;}[_0x396ed2(0x2ff)](_0x2d4489,_0x4f9887){const _0xd2e647=_0x396ed2;var _0x129a73,_0x5cdc16;return(_0x129a73=(_0x5cdc16=this[_0xd2e647(0x418)]['get'](V(_0x2d4489,_0x4f9887)))==null?void 0x0:_0x5cdc16[_0xd2e647(0x172)])==null?!0x0:_0x129a73;}[_0x396ed2(0x2f2)](_0x45cd2b,_0x45faa4){var _0x28aca4,_0x368b18;return(_0x28aca4=(_0x368b18=this['_fieldPermissions']['get'](V(_0x45cd2b,_0x45faa4)))==null?void 0x0:_0x368b18['delete'])==null?!0x0:_0x28aca4;}[_0x396ed2(0x294)](_0x513713){const _0x5e769c=_0x396ed2;var _0x35d595,_0x46834b;return(_0x35d595=(_0x46834b=this[_0x5e769c(0x432)][_0x5e769c(0x2bb)](_0x513713))==null?void 0x0:_0x46834b[_0x5e769c(0x1af)])==null?!0x0:_0x35d595;}[_0x396ed2(0x23d)](_0x2fb4de,_0x30e52c){const _0x24eec5=_0x396ed2;var _0x3f750b,_0x3ced67;return(_0x3f750b=(_0x3ced67=this[_0x24eec5(0x430)][_0x24eec5(0x2bb)](an(_0x2fb4de,_0x30e52c)))==null?void 0x0:_0x3ced67[_0x24eec5(0x3cc)])==null?!0x0:_0x3f750b;}[_0x396ed2(0x438)](_0x493d49,_0x43f437,_0x5b16e3){const _0x1e8ae4=_0x396ed2;var _0x3ff93a,_0x3bbf52,_0x16a81f,_0x1e2a37;let _0x5f0484=this[_0x1e8ae4(0x418)][_0x1e8ae4(0x2bb)](V(_0x493d49,_0x5b16e3));return((_0x3ff93a=(_0x3bbf52=this[_0x1e8ae4(0x430)][_0x1e8ae4(0x2bb)](an(_0x493d49,_0x43f437)))==null?void 0x0:_0x3bbf52[_0x1e8ae4(0x29c)])==null?!0x0:_0x3ff93a)&&((_0x16a81f=_0x5f0484==null?void 0x0:_0x5f0484[_0x1e8ae4(0x172)])==null?!0x0:_0x16a81f)&&((_0x1e2a37=_0x5f0484==null?void 0x0:_0x5f0484[_0x1e8ae4(0x29c)])==null?!0x0:_0x1e2a37);}[_0x396ed2(0x410)](_0x75cbd6){const _0x588167=_0x396ed2;var _0xd7db90,_0x5ca373;return(_0xd7db90=(_0x5ca373=this['_tablePermissions']['get'](_0x75cbd6))==null?void 0x0:_0x5ca373[_0x588167(0x1e2)])==null?!0x0:_0xd7db90;}[_0x396ed2(0x339)](_0x335ad0,_0x2f070b){const _0x150ff5=_0x396ed2;this['_basePermissions']['set'](_0x335ad0,{...this[_0x150ff5(0x23b)][_0x150ff5(0x2bb)](_0x335ad0),..._0x2f070b});}[_0x396ed2(0x425)](_0x596919,_0x368a5d){const _0x2131f2=_0x396ed2;this['_tablePermissions']['set'](_0x596919,{...this[_0x2131f2(0x432)][_0x2131f2(0x2bb)](_0x596919),..._0x368a5d});}[_0x396ed2(0x202)](_0x370610,_0x1b1194,_0x43127a){const _0x1a634d=_0x396ed2;let _0x56a20c=V(_0x370610,_0x1b1194);this['_fieldPermissions'][_0x1a634d(0x387)](_0x56a20c,{...this[_0x1a634d(0x418)][_0x1a634d(0x2bb)](_0x56a20c),..._0x43127a});}[_0x396ed2(0x276)](_0x2799b4,_0x4e46db,_0x37260e){const _0x33f7c7=_0x396ed2;let _0x345c2c=an(_0x2799b4,_0x4e46db);this[_0x33f7c7(0x430)]['set'](_0x345c2c,{...this[_0x33f7c7(0x430)][_0x33f7c7(0x2bb)](_0x345c2c),..._0x37260e});}[_0x396ed2(0x1a6)](_0x2c713a){const _0x207f0c=_0x396ed2;this[_0x207f0c(0x23b)][_0x207f0c(0x3cc)](_0x2c713a);}[_0x396ed2(0x303)](_0x4e0f94){const _0x427bb3=_0x396ed2;this[_0x427bb3(0x432)][_0x427bb3(0x3cc)](_0x4e0f94);}[_0x396ed2(0x18b)](_0x4c2fb2,_0x4115e0){const _0x2b1f4d=_0x396ed2;this[_0x2b1f4d(0x418)]['delete'](V(_0x4c2fb2,_0x4115e0));}[_0x396ed2(0x3f4)](_0x2f7ba3,_0x5208f2){this['_recordPermissions']['delete'](an(_0x2f7ba3,_0x5208f2));}[_0x396ed2(0x2d9)](){const _0x16233c=_0x396ed2;return{'bases':Object['fromEntries'](this[_0x16233c(0x23b)]),'tables':Object['fromEntries'](this[_0x16233c(0x432)]),'fields':Object[_0x16233c(0x185)](this[_0x16233c(0x418)]),'records':Object['fromEntries'](this['_recordPermissions'])};}};function V(_0x270437,_0x355ab0){return _0x270437+'\x1f'+_0x355ab0;}function an(_0x10a5c0,_0xbc2222){return _0x10a5c0+'\x1f'+_0xbc2222;}function H(_0x2208f0,_0xee96e7){return function(_0x38b62b,_0x2009fa){_0xee96e7(_0x38b62b,_0x2009fa,_0x2208f0);};}function U(_0x156296,_0x112b22,_0x42a090,_0x4f0624){const _0x28204f=_0x396ed2;var _0x454f64=arguments[_0x28204f(0x1dd)],_0x1b9542=_0x454f64<0x3?_0x112b22:_0x4f0624===null?_0x4f0624=Object['getOwnPropertyDescriptor'](_0x112b22,_0x42a090):_0x4f0624,_0x2dadeb;if(typeof Reflect=='object'&&typeof Reflect[_0x28204f(0x3c4)]==_0x28204f(0x1c5))_0x1b9542=Reflect[_0x28204f(0x3c4)](_0x156296,_0x112b22,_0x42a090,_0x4f0624);else{for(var _0x5a29cd=_0x156296[_0x28204f(0x1dd)]-0x1;_0x5a29cd>=0x0;_0x5a29cd--)(_0x2dadeb=_0x156296[_0x5a29cd])&&(_0x1b9542=(_0x454f64<0x3?_0x2dadeb(_0x1b9542):_0x454f64>0x3?_0x2dadeb(_0x112b22,_0x42a090,_0x1b9542):_0x2dadeb(_0x112b22,_0x42a090))||_0x1b9542);}return _0x454f64>0x3&&_0x1b9542&&Object[_0x28204f(0x315)](_0x112b22,_0x42a090,_0x1b9542),_0x1b9542;}const W=_0x2adec3(_0x396ed2(0x3e4));let on=class{constructor(_0x4f2e51,_0x5adc57=sn(),_0x575df0={}){const _0x3740b1=_0x396ed2;this[_0x3740b1(0x2e4)]=_0x4f2e51,this[_0x3740b1(0x39c)]=_0x5adc57,this['_runtimeContext']=_0x575df0,B(this,'_factory',new R()),B(this,_0x3740b1(0x3b0),new A());}[_0x396ed2(0x1f1)](_0x556dee,_0x113a07,_0x306940){const _0x393cf1=_0x396ed2;if(!this['_permissionService'][_0x393cf1(0x2ba)](_0x556dee[_0x393cf1(0x2c2)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this[_0x393cf1(0x403)](_0x556dee,this[_0x393cf1(0x273)]['createTable'](_0x556dee[_0x393cf1(0x2d9)](),_0x113a07,_0x306940));}['renameTable'](_0xee031d,_0x5a9a29,_0x59dadc){const _0x295f3b=_0x396ed2;this[_0x295f3b(0x403)](_0xee031d,this['_factory'][_0x295f3b(0x29a)](_0xee031d['getSnapshot'](),_0x5a9a29,_0x59dadc));}[_0x396ed2(0x2e5)](_0x254dec,_0x1fa271){const _0x46b103=_0x396ed2;if(!this[_0x46b103(0x2e4)][_0x46b103(0x22b)](_0x1fa271))throw Error(_0x46b103(0x3d0));this[_0x46b103(0x403)](_0x254dec,this[_0x46b103(0x273)][_0x46b103(0x2e5)](_0x254dec[_0x46b103(0x2d9)](),_0x1fa271));}[_0x396ed2(0x326)](_0x15e9fa,_0x545daf,_0x369165,_0x1417fb,_0x35366d){const _0x10e92e=_0x396ed2;this[_0x10e92e(0x403)](_0x15e9fa,this[_0x10e92e(0x376)](_0x15e9fa,_0x545daf,_0x369165,_0x1417fb,_0x35366d));}[_0x396ed2(0x32a)](_0xbf121e,_0x21476c,_0x178c45){const _0x121b2c=_0x396ed2;this[_0x121b2c(0x403)](_0xbf121e,this[_0x121b2c(0x1e7)](_0xbf121e,_0x21476c,_0x178c45));}[_0x396ed2(0x1af)](_0x41ca8c,_0x364dbc,_0x202c90){const _0x1d9799=_0x396ed2;this[_0x1d9799(0x403)](_0x41ca8c,this[_0x1d9799(0x35b)](_0x41ca8c,_0x364dbc,_0x202c90));}['createUpdateCellOp'](_0x196bb9,_0x2a7e03,_0x30940c,_0x2acbce,_0x2a965f){const _0x167320=_0x396ed2;let _0x1013c9=_0x196bb9[_0x167320(0x2d9)](),_0x1d9b61=this['_normalizeCellValue'](_0x1013c9,_0x2a7e03,_0x30940c,_0x2acbce,_0x2a965f),_0x3f08eb=this[_0x167320(0x385)](_0x1013c9,_0x2a7e03,_0x30940c,{[_0x2acbce]:_0x1d9b61});return this[_0x167320(0x273)]['setRecordValues'](_0x1013c9,_0x2a7e03,[_0x3f08eb]);}[_0x396ed2(0x1e7)](_0x150904,_0x252f44,_0x28df90){const _0x455a1f=_0x396ed2;let _0x5cb0b8=_0x150904[_0x455a1f(0x2d9)](),_0x13a93f=_0x28df90[_0x455a1f(0x22a)](_0x56c12f=>this[_0x455a1f(0x385)](_0x5cb0b8,_0x252f44,_0x56c12f[_0x455a1f(0x348)],{...Object['fromEntries'](Object[_0x455a1f(0x236)](_0x56c12f[_0x455a1f(0x33e)])[_0x455a1f(0x22a)](([_0x198757,_0x131c08])=>[_0x198757,this[_0x455a1f(0x237)](_0x5cb0b8,_0x252f44,_0x56c12f['recordId'],_0x198757,_0x131c08)]))}));return this[_0x455a1f(0x273)][_0x455a1f(0x32a)](_0x5cb0b8,_0x252f44,_0x13a93f);}[_0x396ed2(0x35b)](_0x2d5d3b,_0x524286,_0x58709a){const _0xaf5e42=_0x396ed2;if(!this['_permissionService'][_0xaf5e42(0x294)](_0x524286))throw Error(_0xaf5e42(0x433));let _0x1309a8=_0x2d5d3b[_0xaf5e42(0x2d9)](),_0x43e4d8=this['_createNumberingAllocators'](_0x1309a8['tables'][_0x524286]);return this[_0xaf5e42(0x273)][_0xaf5e42(0x1af)](_0x1309a8,_0x524286,this[_0xaf5e42(0x3e5)](_0x1309a8,_0x524286,_0x58709a,_0x43e4d8));}[_0x396ed2(0x29e)](_0x5be43a,_0xe0e472,_0x2be188){const _0x54c0da=_0x396ed2;if(!this[_0x54c0da(0x2e4)][_0x54c0da(0x294)](_0xe0e472))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x2b0f4f=_0x5be43a[_0x54c0da(0x2d9)](),_0xeeebc=this[_0x54c0da(0x300)](_0x2b0f4f['tables'][_0xe0e472]);return this['_factory'][_0x54c0da(0x1bb)](_0x2b0f4f,_0xe0e472,_0x2be188[_0x54c0da(0x22a)](_0x22bb73=>this['_createRecordWithDefaults'](_0x2b0f4f,_0xe0e472,_0x22bb73,_0xeeebc)));}[_0x396ed2(0x2c6)](_0x10e817,_0x375ccb,_0x5b83a6,_0x250f05,_0x4d147e){const _0x22f12d=_0x396ed2;if(!this[_0x22f12d(0x2e4)][_0x22f12d(0x345)](_0x375ccb))throw Error(_0x22f12d(0x249));let _0x3f1857=_0x10e817[_0x22f12d(0x2d9)](),_0x47cd9a=this[_0x22f12d(0x273)][_0x22f12d(0x3c7)](_0x3f1857,_0x375ccb,{'field':_0x5b83a6,'index':_0x250f05,'viewIndexes':_0x4d147e}),_0xac2747=this[_0x22f12d(0x355)](_0x3f1857,_0x375ccb,_0x5b83a6);if(!_0xac2747[_0x22f12d(0x1dd)])return _0x47cd9a;let _0x539c54=this[_0x22f12d(0x3b0)]['applyOp'](_0x3f1857,_0x47cd9a);return L([_0x47cd9a,this['_factory'][_0x22f12d(0x32a)](_0x539c54,_0x375ccb,_0xac2747)]);}[_0x396ed2(0x3d2)](_0x5ba1c5,_0x2a6ff1,_0x1b379a){const _0x321f84=_0x396ed2;if(!this[_0x321f84(0x2e4)]['canDeleteRecord'](_0x2a6ff1,_0x1b379a))throw Error(_0x321f84(0x34a));this['_apply'](_0x5ba1c5,this[_0x321f84(0x273)][_0x321f84(0x3d2)](_0x5ba1c5[_0x321f84(0x2d9)](),_0x2a6ff1,_0x1b379a));}['duplicateRecord'](_0x35275d,_0x5063ed,_0x3302de,_0x3e1760){const _0x5195ee=_0x396ed2;this[_0x5195ee(0x403)](_0x35275d,this['_factory'][_0x5195ee(0x1be)](_0x35275d['getSnapshot'](),_0x5063ed,_0x3302de,_0x3e1760));}[_0x396ed2(0x361)](_0x575b48,_0x21469c,_0x3ed941,_0x1a0cf5){const _0x9f252e=_0x396ed2;this[_0x9f252e(0x403)](_0x575b48,this['_factory'][_0x9f252e(0x361)](_0x575b48['getSnapshot'](),_0x21469c,_0x3ed941,_0x1a0cf5));}[_0x396ed2(0x3c7)](_0xbb11c4,_0x445e2f,_0x11e346,_0x2da027,_0x139bae){const _0x2a7d0d=_0x396ed2;this[_0x2a7d0d(0x403)](_0xbb11c4,this[_0x2a7d0d(0x2c6)](_0xbb11c4,_0x445e2f,_0x11e346,_0x2da027,_0x139bae));}[_0x396ed2(0x39e)](_0x1a7dc9,_0x5e229d,_0x47e932,_0x4a0ee2){const _0x264bd2=_0x396ed2;if(!this[_0x264bd2(0x2e4)][_0x264bd2(0x2ff)](_0x5e229d,_0x47e932))throw Error(_0x264bd2(0x16b));this[_0x264bd2(0x403)](_0x1a7dc9,this[_0x264bd2(0x273)][_0x264bd2(0x39e)](_0x1a7dc9[_0x264bd2(0x2d9)](),_0x5e229d,_0x47e932,_0x4a0ee2));}[_0x396ed2(0x3d8)](_0x4c1e80,_0x11117d,_0x5db339,_0xc27c45){const _0x14160b=_0x396ed2;if(!this[_0x14160b(0x2e4)][_0x14160b(0x2ff)](_0x11117d,_0x5db339))throw Error(_0x14160b(0x16b));this[_0x14160b(0x403)](_0x4c1e80,this[_0x14160b(0x273)][_0x14160b(0x3d8)](_0x4c1e80[_0x14160b(0x2d9)](),_0x11117d,_0x5db339,_0xc27c45));}[_0x396ed2(0x28d)](_0x5a7ebe,_0x594aed,_0x173a2c){const _0x319a5c=_0x396ed2;var _0x6b8a35;if(((_0x6b8a35=_0x5a7ebe[_0x319a5c(0x2d9)]()['tables'][_0x594aed])==null?void 0x0:_0x6b8a35[_0x319a5c(0x243)])===_0x173a2c)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x319a5c(0x2e4)][_0x319a5c(0x2f2)](_0x594aed,_0x173a2c))throw Error(_0x319a5c(0x3b5));this[_0x319a5c(0x403)](_0x5a7ebe,this['_factory']['deleteField'](_0x5a7ebe['getSnapshot'](),_0x594aed,_0x173a2c));}[_0x396ed2(0x2d3)](_0x363ffa,_0x24cb66,_0x4c13dd,_0x4c85bb){const _0x272728=_0x396ed2;if(!this[_0x272728(0x2e4)]['canEditField'](_0x24cb66,_0x4c13dd))throw Error(_0x272728(0x16b));this[_0x272728(0x403)](_0x363ffa,this[_0x272728(0x273)][_0x272728(0x2d3)](_0x363ffa[_0x272728(0x2d9)](),_0x24cb66,_0x4c13dd,_0x4c85bb));}[_0x396ed2(0x1d8)](_0x235665,_0x45a9e4,_0x3e3d28,_0x4a07b6){const _0x857293=_0x396ed2;this[_0x857293(0x403)](_0x235665,this['_factory'][_0x857293(0x1d8)](_0x235665[_0x857293(0x2d9)](),_0x45a9e4,_0x3e3d28,_0x4a07b6));}[_0x396ed2(0x380)](_0x52e449,_0x2c6ec0,_0x1e7647,_0x19ff1b){const _0x219d1f=_0x396ed2;if(!this['_permissionService']['canManageView'](_0x2c6ec0,_0x1e7647))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x52e449,this['_factory']['renameView'](_0x52e449[_0x219d1f(0x2d9)](),_0x2c6ec0,_0x1e7647,_0x19ff1b));}[_0x396ed2(0x15f)](_0x5432b7,_0x146110,_0x3546ef){const _0x3265e9=_0x396ed2;if(!this[_0x3265e9(0x2e4)][_0x3265e9(0x410)](_0x146110,_0x3546ef))throw Error(_0x3265e9(0x335));this[_0x3265e9(0x403)](_0x5432b7,this['_factory'][_0x3265e9(0x15f)](_0x5432b7[_0x3265e9(0x2d9)](),_0x146110,_0x3546ef));}[_0x396ed2(0x183)](_0x546ecc,_0x3b35b2,_0x4c6b5d,_0x3e9079){const _0x20b697=_0x396ed2;if(!this[_0x20b697(0x2e4)][_0x20b697(0x410)](_0x3b35b2,_0x4c6b5d))throw Error(_0x20b697(0x335));this['_apply'](_0x546ecc,this[_0x20b697(0x273)][_0x20b697(0x183)](_0x546ecc[_0x20b697(0x2d9)](),_0x3b35b2,_0x4c6b5d,_0x3e9079));}[_0x396ed2(0x3ed)](_0x12dc3b,_0x467fb9,_0x293802,_0x49af54){const _0x3f51f3=_0x396ed2;if(!this[_0x3f51f3(0x2e4)][_0x3f51f3(0x410)](_0x467fb9,_0x293802))throw Error(_0x3f51f3(0x335));this['_apply'](_0x12dc3b,this[_0x3f51f3(0x273)][_0x3f51f3(0x3ed)](_0x12dc3b[_0x3f51f3(0x2d9)](),_0x467fb9,_0x293802,_0x49af54));}[_0x396ed2(0x227)](_0x193bf6,_0x588c5f,_0x754ec8,_0x20171a){const _0x3dadcd=_0x396ed2;this[_0x3dadcd(0x403)](_0x193bf6,this[_0x3dadcd(0x273)][_0x3dadcd(0x227)](_0x193bf6[_0x3dadcd(0x2d9)](),_0x588c5f,_0x754ec8,_0x20171a));}[_0x396ed2(0x250)](_0x4d90d4,_0x38d546,_0x371f2e,_0x283639){const _0x4f4de4=_0x396ed2;this[_0x4f4de4(0x403)](_0x4d90d4,this[_0x4f4de4(0x273)][_0x4f4de4(0x250)](_0x4d90d4[_0x4f4de4(0x2d9)](),_0x38d546,_0x371f2e,_0x283639));}[_0x396ed2(0x279)](_0x4b7596,_0x11340a,_0x38288f,_0x379de4){const _0x5396b5=_0x396ed2;this[_0x5396b5(0x403)](_0x4b7596,this[_0x5396b5(0x273)]['setViewGroup'](_0x4b7596[_0x5396b5(0x2d9)](),_0x11340a,_0x38288f,_0x379de4));}[_0x396ed2(0x2e2)](_0xa33a34,_0x2f00b4,_0x5c38af,_0x38ec78,_0xcf10b3){const _0x3d8380=_0x396ed2;if(!this[_0x3d8380(0x2e4)][_0x3d8380(0x410)](_0x2f00b4,_0x5c38af))throw Error(_0x3d8380(0x335));this[_0x3d8380(0x403)](_0xa33a34,this[_0x3d8380(0x273)]['setViewFieldVisible'](_0xa33a34[_0x3d8380(0x2d9)](),_0x2f00b4,_0x5c38af,_0x38ec78,_0xcf10b3));}[_0x396ed2(0x3af)](_0x3c04da,_0x507ad2,_0x13606c,_0x1d5d9d,_0x4ceed0){const _0x4157cd=_0x396ed2;this[_0x4157cd(0x403)](_0x3c04da,this[_0x4157cd(0x273)][_0x4157cd(0x3af)](_0x3c04da['getSnapshot'](),_0x507ad2,_0x13606c,_0x1d5d9d,_0x4ceed0));}[_0x396ed2(0x341)](_0x1c2656,_0x2f3a3e,_0x37c651,_0x36c7d4,_0xee1de5){const _0x17f885=_0x396ed2;this[_0x17f885(0x403)](_0x1c2656,this[_0x17f885(0x273)][_0x17f885(0x341)](_0x1c2656[_0x17f885(0x2d9)](),_0x2f3a3e,_0x37c651,_0x36c7d4,_0xee1de5));}[_0x396ed2(0x403)](_0xb85e46,_0x505180){const _0xd8e808=_0x396ed2;let _0x32380c=_0xb85e46[_0xd8e808(0x2d9)]();_0xb85e46[_0xd8e808(0x417)](this[_0xd8e808(0x3b0)][_0xd8e808(0x223)](_0x32380c,_0x505180));}[_0x396ed2(0x3e5)](_0x38738f,_0x5f53e9,_0x454837,_0x15e209=this[_0x396ed2(0x300)](_0x38738f[_0x396ed2(0x404)][_0x5f53e9])){const _0x4eb2eb=_0x396ed2;var _0x1b6d20,_0x22fbfb,_0x1d2e59,_0x5d1d0c;let _0x51f193=_0x38738f[_0x4eb2eb(0x404)][_0x5f53e9],_0x3f2cd3=(_0x1b6d20=(_0x22fbfb=_0x454837[_0x4eb2eb(0x180)])==null?_0x454837['updatedBy']:_0x22fbfb)==null?this[_0x4eb2eb(0x1f0)]():_0x1b6d20,_0x37b47c={..._0x454837,'createdBy':(_0x1d2e59=_0x454837[_0x4eb2eb(0x180)])==null?_0x3f2cd3:_0x1d2e59,'updatedBy':(_0x5d1d0c=_0x454837['updatedBy'])==null?_0x3f2cd3:_0x5d1d0c,'values':{..._0x454837[_0x4eb2eb(0x33e)]}};return _0x51f193[_0x4eb2eb(0x201)][_0x4eb2eb(0x3d3)](_0x10177f=>{const _0x1851c1=_0x4eb2eb;let _0x4faf04=_0x51f193[_0x1851c1(0x2f3)][_0x10177f];if(!(!_0x4faf04||_0x37b47c[_0x1851c1(0x33e)][_0x10177f]!==void 0x0))switch(_0x4faf04['type']){case _0x1e4a6b['Numbering']:var _0x51711f,_0xe995c2;_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=(_0x51711f=(_0xe995c2=_0x15e209[_0x1851c1(0x2bb)](_0x10177f))==null?void 0x0:_0xe995c2())==null?this[_0x1851c1(0x1df)](_0x51f193,_0x10177f)():_0x51711f;break;case _0x1e4a6b[_0x1851c1(0x395)]:_0x37b47c[_0x1851c1(0x180)]&&(_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=_0x37b47c[_0x1851c1(0x180)]);break;case _0x1e4a6b[_0x1851c1(0x2be)]:_0x37b47c[_0x1851c1(0x207)]&&(_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=_0x37b47c[_0x1851c1(0x207)]);break;case _0x1e4a6b[_0x1851c1(0x1b4)]:_0x37b47c['values'][_0x10177f]=j(_0x37b47c[_0x1851c1(0x413)]);break;case _0x1e4a6b[_0x1851c1(0x18c)]:_0x37b47c['values'][_0x10177f]=j(_0x37b47c[_0x1851c1(0x1e1)]);break;default:{let _0x479826=_0x4faf04[_0x1851c1(0x170)];_0x479826!=null&&_0x479826!==''&&!(Array[_0x1851c1(0x3db)](_0x479826)&&_0x479826[_0x1851c1(0x1dd)]===0x0)&&(_0x37b47c['values'][_0x10177f]=_0x479826);}}}),_0x37b47c;}[_0x396ed2(0x385)](_0x42dac9,_0x29bf11,_0x170e42,_0x2930db){const _0x3681b1=_0x396ed2;var _0x3262ef,_0x8ae79c,_0x19d7b7;let _0x3f4d7e=_0x42dac9[_0x3681b1(0x404)][_0x29bf11],_0x293238=(_0x3262ef=(_0x8ae79c=(_0x19d7b7=this[_0x3681b1(0x259)])[_0x3681b1(0x29f)])==null?void 0x0:_0x8ae79c[_0x3681b1(0x1c1)](_0x19d7b7))==null?Date[_0x3681b1(0x29f)]():_0x3262ef,_0x292857=this[_0x3681b1(0x1f0)](),_0x46778d={..._0x2930db};return _0x3f4d7e[_0x3681b1(0x201)][_0x3681b1(0x3d3)](_0x2f6a9d=>{const _0x13d6b8=_0x3681b1;let _0x1e247c=_0x3f4d7e[_0x13d6b8(0x2f3)][_0x2f6a9d];_0x1e247c&&(_0x1e247c[_0x13d6b8(0x415)]===_0x1e4a6b[_0x13d6b8(0x18c)]&&(_0x46778d[_0x2f6a9d]=j(_0x293238)),_0x1e247c['type']===_0x1e4a6b[_0x13d6b8(0x2be)]&&_0x292857&&(_0x46778d[_0x2f6a9d]=_0x292857));}),{'recordId':_0x170e42,'values':_0x46778d,'recordPatch':{'updatedAt':_0x293238,..._0x292857?{'updatedBy':_0x292857}:{}}};}[_0x396ed2(0x355)](_0x181921,_0x38a32b,_0x480639){const _0x1723d8=_0x396ed2;let _0x11c90a=_0x181921['tables'][_0x38a32b];return!_0x11c90a||!cn(_0x480639)?[]:_0x480639[_0x1723d8(0x415)]===_0x1e4a6b[_0x1723d8(0x208)]?this['_createNumberingFieldValuePatches'](_0x11c90a,_0x480639['id']):Object[_0x1723d8(0x33e)](_0x11c90a[_0x1723d8(0x1ce)])[_0x1723d8(0x338)](_0x2d033c=>{let _0x44ded6=this['_getSystemFieldValue'](_0x480639,_0x2d033c);return _0x44ded6===void 0x0?[]:[{'recordId':_0x2d033c['id'],'values':{[_0x480639['id']]:_0x44ded6}}];});}['_getSystemFieldValue'](_0x25ef33,_0x117ab8){const _0x1a3272=_0x396ed2;switch(_0x25ef33[_0x1a3272(0x415)]){case _0x1e4a6b['CreatedBy']:var _0x45fb6e;return(_0x45fb6e=_0x117ab8[_0x1a3272(0x180)])==null?this['_getCurrentUserId']():_0x45fb6e;case _0x1e4a6b[_0x1a3272(0x2be)]:var _0x3022a6;return(_0x3022a6=_0x117ab8[_0x1a3272(0x207)])==null?this['_getCurrentUserId']():_0x3022a6;case _0x1e4a6b[_0x1a3272(0x1b4)]:var _0x4a2b86;return j((_0x4a2b86=_0x117ab8[_0x1a3272(0x413)])==null?Date['now']():_0x4a2b86);case _0x1e4a6b[_0x1a3272(0x18c)]:var _0x1b18a0;return j((_0x1b18a0=_0x117ab8['updatedAt'])==null?Date[_0x1a3272(0x29f)]():_0x1b18a0);default:return;}}[_0x396ed2(0x300)](_0x450277){const _0x146bab=_0x396ed2;let _0x50b582=new Map();return _0x450277&&_0x450277[_0x146bab(0x201)]['forEach'](_0xea80b0=>{const _0x3a0e71=_0x146bab;let _0x59aaa8=_0x450277[_0x3a0e71(0x2f3)][_0xea80b0];(_0x59aaa8==null?void 0x0:_0x59aaa8['type'])===_0x1e4a6b['Numbering']&&_0x50b582[_0x3a0e71(0x387)](_0xea80b0,this[_0x3a0e71(0x1df)](_0x450277,_0xea80b0));}),_0x50b582;}[_0x396ed2(0x1df)](_0x163387,_0x1e06e9){const _0x4a9f89=_0x396ed2;let _0x303daf=Object[_0x4a9f89(0x33e)](_0x163387[_0x4a9f89(0x1ce)])[_0x4a9f89(0x307)]((_0x3ba70c,_0x59d0a3)=>{let _0x1be236=Number(_0x59d0a3['values'][_0x1e06e9]);return Number['isFinite'](_0x1be236)?Math['max'](_0x3ba70c,_0x1be236):_0x3ba70c;},0x0);return()=>String(++_0x303daf);}[_0x396ed2(0x3c6)](_0x3b34e8,_0x56ae2e){const _0x5110a0=_0x396ed2;let _0x2650cd=this[_0x5110a0(0x159)](_0x3b34e8),_0x143f68=this['_createNumberingAllocator'](_0x3b34e8,_0x56ae2e);return _0x2650cd['flatMap'](_0x540603=>this['_isNonEmptyCellValue'](_0x540603[_0x5110a0(0x33e)][_0x56ae2e])?[]:[{'recordId':_0x540603['id'],'values':{[_0x56ae2e]:_0x143f68()}}]);}[_0x396ed2(0x159)](_0x2571d9){const _0x48b906=_0x396ed2;var _0x2202f6;let _0x369f0e=Object[_0x48b906(0x33e)](_0x2571d9[_0x48b906(0x1ce)]),_0x5e3c47=new Map(_0x369f0e[_0x48b906(0x22a)](_0x43cd74=>[_0x43cd74['id'],_0x43cd74])),_0x4841d5=[],_0x4e87c1=new Set();(_0x2202f6=_0x2571d9[_0x48b906(0x3ab)])==null||_0x2202f6[_0x48b906(0x3d3)](_0x42ef94=>{const _0x21d3c2=_0x48b906;let _0x3bdeec=_0x5e3c47[_0x21d3c2(0x2bb)](_0x42ef94);_0x3bdeec&&(_0x4841d5[_0x21d3c2(0x258)](_0x3bdeec),_0x4e87c1[_0x21d3c2(0x229)](_0x42ef94));});let _0x40da3d=_0x369f0e['filter'](_0xc6caa5=>!_0x4e87c1['has'](_0xc6caa5['id']))[_0x48b906(0x314)]((_0x11e4ff,_0xfb9d2a)=>{const _0xca8eae=_0x48b906;var _0x2bae73,_0x2fb06c;return String((_0x2bae73=_0x11e4ff[_0xca8eae(0x2a9)])==null?_0x11e4ff['id']:_0x2bae73)[_0xca8eae(0x23e)](String((_0x2fb06c=_0xfb9d2a[_0xca8eae(0x2a9)])==null?_0xfb9d2a['id']:_0x2fb06c))||_0x11e4ff['id'][_0xca8eae(0x23e)](_0xfb9d2a['id']);});return[..._0x4841d5,..._0x40da3d];}[_0x396ed2(0x2f5)](_0x1729d9){const _0xe4f988=_0x396ed2;return _0x1729d9!=null&&_0x1729d9!==''&&!(Array[_0xe4f988(0x3db)](_0x1729d9)&&_0x1729d9['length']===0x0);}[_0x396ed2(0x1f0)](){const _0x45e43a=_0x396ed2;var _0x3f3f62,_0x5ef06c,_0x4d0e3f,_0x1680f3,_0x15b26c,_0xd50c99;return(_0x3f3f62=(_0x5ef06c=(_0x4d0e3f=(_0x1680f3=this['_runtimeContext'])[_0x45e43a(0x27a)])==null?void 0x0:_0x4d0e3f['call'](_0x1680f3))==null?(_0x15b26c=(_0xd50c99=this['_runtimeContext'])[_0x45e43a(0x1ab)])==null||(_0x15b26c=_0x15b26c[_0x45e43a(0x1c1)](_0xd50c99))==null?void 0x0:_0x15b26c[_0x45e43a(0x188)]:_0x5ef06c)==null?void 0x0:_0x3f3f62;}[_0x396ed2(0x237)](_0x4af7b6,_0x1fcaab,_0x398d33,_0x579bd6,_0x20ec23){const _0x152e4d=_0x396ed2;var _0x4ed96e;if(!this['_permissionService'][_0x152e4d(0x438)](_0x1fcaab,_0x398d33,_0x579bd6))throw Error(_0x152e4d(0x309));let _0x218f46=(_0x4ed96e=_0x4af7b6[_0x152e4d(0x404)][_0x1fcaab])==null?void 0x0:_0x4ed96e[_0x152e4d(0x2f3)][_0x579bd6];if(!_0x218f46)throw Error(_0x152e4d(0x2a6)+_0x579bd6+'\x22\x20does\x20not\x20exist.');let _0x5cc75d=this['_fieldRegistry'][_0x152e4d(0x2bb)](_0x218f46['type']);if(_0x218f46[_0x152e4d(0x163)]||_0x218f46[_0x152e4d(0x2e9)]||!_0x5cc75d[_0x152e4d(0x161)](_0x218f46)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x38ba07=_0x5cc75d[_0x152e4d(0x30c)](_0x20ec23,_0x218f46),_0x1b228c=_0x5cc75d['validate'](_0x38ba07,_0x218f46);if(!_0x1b228c[_0x152e4d(0x423)]){var _0x1886b2;throw Error((_0x1886b2=_0x1b228c[_0x152e4d(0x3c2)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x1886b2);}return _0x38ba07;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0x5d5b4f=_0x396ed2;let _0x44e37a=new tn();return At()['forEach'](_0x325dad=>_0x44e37a[_0x5d5b4f(0x290)](_0x325dad)),_0x44e37a;}function cn(_0x36553a){const _0x1941b0=_0x396ed2;return _0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x208)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x395)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x2be)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x1b4)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x18c)];}const ln=new Set([_0x1e4a6b[_0x396ed2(0x3f0)],_0x1e4a6b[_0x396ed2(0x353)],_0x1e4a6b[_0x396ed2(0x1cb)]]);function un(_0x2194f1){const _0x14e9a5=_0x396ed2;var _0x392836,_0x448d9a;let _0x21d293=_0x2194f1[_0x14e9a5(0x2f3)][_0x2194f1['primaryFieldId']];return!(_0x21d293&&(_0x21d293[_0x14e9a5(0x2e9)]===!0x0||_0x21d293['id']['toLowerCase']()==='id'||_0x21d293['name'][_0x14e9a5(0x317)]()[_0x14e9a5(0x1ad)]()==='id'))&&_0x21d293?_0x21d293['id']:(_0x392836=(_0x448d9a=_0x2194f1[_0x14e9a5(0x201)]['map'](_0x7fa9d9=>_0x2194f1[_0x14e9a5(0x2f3)][_0x7fa9d9])['find'](_0xd1f8fc=>_0xd1f8fc&&_0xd1f8fc['id']!==_0x2194f1['primaryFieldId']))==null?void 0x0:_0x448d9a['id'])==null?_0x2194f1[_0x14e9a5(0x243)]:_0x392836;}function dn(_0x4a84e9,_0x43b02c=[],_0x11926d=0x5){const _0xb7c2b2=_0x396ed2;let _0x5f1de2=new Set(_0x43b02c[_0xb7c2b2(0x24f)](_0x278a19=>!!_0x278a19)),_0x191781=_0x4a84e9['fieldOrder']['flatMap'](_0x196b16=>{const _0x469bd5=_0xb7c2b2;let _0x456c77=_0x4a84e9[_0x469bd5(0x2f3)][_0x196b16];return _0x456c77&&!_0x5f1de2['has'](_0x456c77['id'])?[_0x456c77]:[];}),_0x3af174=_0x191781[_0xb7c2b2(0x24f)](_0x43eabd=>ln[_0xb7c2b2(0x1c2)](_0x43eabd[_0xb7c2b2(0x415)])),_0x265235=_0x191781['filter'](_0x18ed1d=>!ln[_0xb7c2b2(0x1c2)](_0x18ed1d[_0xb7c2b2(0x415)]));return[..._0x3af174,..._0x265235]['slice'](0x0,_0x11926d)[_0xb7c2b2(0x22a)](_0x403737=>_0x403737['id']);}function fn(){const _0xa72c3a=_0x396ed2;return[{'type':_0x51a654[_0xa72c3a(0x1d5)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x41966e=_0xa72c3a;throw Error(_0x41966e(0x41e));}},{'type':_0x51a654['Kanban'],'i18nKey':_0xa72c3a(0x256),'createDefaultConfig':_0x306d1d=>{const _0x6657f=_0xa72c3a;let _0x1951d6=pn(_0x306d1d);return{'groupFieldId':_0x1951d6,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x306d1d['primaryFieldId'],'fieldIds':dn(_0x306d1d,[_0x306d1d[_0x6657f(0x243)],_0x1951d6])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x8c07b8=_0xa72c3a;throw Error(_0x8c07b8(0x43b));}},{'type':_0x51a654[_0xa72c3a(0x2aa)],'i18nKey':_0xa72c3a(0x3a5),'createDefaultConfig':_0x3f74e6=>{const _0x7468e7=_0xa72c3a;let _0x42ad4b=mn(_0x3f74e6);return{'startDateFieldId':_0x42ad4b,'endDateFieldId':hn(_0x3f74e6,_0x42ad4b),'titleFieldId':_0x3f74e6[_0x7468e7(0x243)],'mode':_0x7468e7(0x24a),'timeslotSize':_0x7468e7(0x3aa),'timeZone':'local','displayColor':{'type':_0x7468e7(0x3df),'color':_0x7468e7(0x1ca)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x51a654[_0xa72c3a(0x40e)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x42d535=>{const _0x160551=_0xa72c3a;var _0x75e53b;let _0x139563=mn(_0x42d535);return{'startDateFieldId':_0x139563,'endDateFieldId':(_0x75e53b=hn(_0x42d535,_0x139563))==null?_0x139563:_0x75e53b,'titleFieldId':_0x42d535[_0x160551(0x243)],'scale':_0x160551(0x24a),'showTodayLine':!0x0,'displayColor':{'type':_0x160551(0x3df),'color':_0x160551(0x42a)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4e7e4d=_0xa72c3a;throw Error(_0x4e7e4d(0x19d));}},{'type':_0x51a654['Gallery'],'i18nKey':_0xa72c3a(0x321),'createDefaultConfig':_0x429fd5=>{const _0x4bf12e=_0xa72c3a;let _0xbf9154=un(_0x429fd5);return{'coverFieldId':null,'cardLayout':_0x4bf12e(0x178),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xbf9154,'coverFieldId':null,'fieldIds':dn(_0x429fd5,[_0xbf9154,_0x429fd5[_0x4bf12e(0x243)]])},'cardSize':_0x4bf12e(0x3aa)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x290eb6=_0xa72c3a;throw Error(_0x290eb6(0x228));}}];}function pn(_0x49a50b){const _0x1cf0d2=_0x396ed2;var _0x51b0e6,_0x46a267,_0x122cde,_0x51788b,_0x2017e9,_0x439b7a;let _0x570e31=_0x49a50b[_0x1cf0d2(0x201)][_0x1cf0d2(0x22a)](_0x44242e=>_0x49a50b[_0x1cf0d2(0x2f3)][_0x44242e])[_0x1cf0d2(0x24f)](_0x59d288=>!!_0x59d288);return(_0x51b0e6=(_0x46a267=(_0x122cde=(_0x51788b=_0x570e31[_0x1cf0d2(0x289)](_0xae9b8f=>_0xae9b8f[_0x1cf0d2(0x415)]===_0x1e4a6b[_0x1cf0d2(0x165)]||_0xae9b8f[_0x1cf0d2(0x415)]===_0x1e4a6b['MultiSelect']||_0xae9b8f['type']===_0x1e4a6b[_0x1cf0d2(0x3f7)]))==null?void 0x0:_0x51788b['id'])==null?(_0x2017e9=_0x570e31[_0x1cf0d2(0x289)](_0x2033b4=>_0x2033b4[_0x1cf0d2(0x415)]===_0x1e4a6b[_0x1cf0d2(0x2ce)]))==null?void 0x0:_0x2017e9['id']:_0x122cde)==null?(_0x439b7a=_0x570e31[_0x1cf0d2(0x289)](_0x3fb407=>_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['Date']||_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['CreatedAt']||_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['UpdatedAt']))==null?void 0x0:_0x439b7a['id']:_0x46a267)==null?_0x49a50b[_0x1cf0d2(0x243)]:_0x51b0e6;}function mn(_0x10701e){const _0x570467=_0x396ed2;var _0x50603e,_0x36657b;return(_0x50603e=(_0x36657b=_0x10701e[_0x570467(0x201)][_0x570467(0x22a)](_0x26a760=>_0x10701e['fields'][_0x26a760])[_0x570467(0x289)](gn))==null?void 0x0:_0x36657b['id'])==null?'':_0x50603e;}function hn(_0x194e1c,_0x212b36){const _0x578f20=_0x396ed2;var _0x6ab393;return(_0x6ab393=_0x194e1c[_0x578f20(0x201)][_0x578f20(0x22a)](_0xa1f55d=>_0x194e1c[_0x578f20(0x2f3)][_0xa1f55d])[_0x578f20(0x289)](_0x43dba5=>gn(_0x43dba5)&&_0x43dba5['id']!==_0x212b36))==null?void 0x0:_0x6ab393['id'];}function gn(_0x13e651){const _0x228c73=_0x396ed2;return!!_0x13e651&&_0x13e651['type']===_0x1e4a6b[_0x228c73(0x225)]&&_0x13e651[_0x228c73(0x163)]!==!0x0&&_0x13e651['system']!==!0x0;}const _n=_0x2adec3(_0x396ed2(0x3ff)),vn=new Set([_0x1e4a6b[_0x396ed2(0x3ae)],_0x1e4a6b['Currency'],_0x1e4a6b['Progress'],_0x1e4a6b[_0x396ed2(0x353)],_0x1e4a6b['Date'],_0x1e4a6b[_0x396ed2(0x1b4)],_0x1e4a6b['UpdatedAt'],_0x1e4a6b[_0x396ed2(0x1cb)]]);let yn=class extends _0x4c331b{constructor(_0x2c235a){const _0x403ba3=_0x396ed2;super(),this[_0x403ba3(0x39c)]=_0x2c235a,B(this,'_views',new Map()),B(this,_0x403ba3(0x1d9),new WeakMap()),B(this,_0x403ba3(0x292),new Map()),B(this,_0x403ba3(0x2f6),new Map()),B(this,_0x403ba3(0x20e),new Map()),B(this,_0x403ba3(0x280),0x0),B(this,_0x403ba3(0x3bb),new Map()),B(this,'_cellRevisions',new Map()),B(this,_0x403ba3(0x40f),new Map()),B(this,_0x403ba3(0x21d),new Map());}[_0x396ed2(0x1ee)](_0x33858c){const _0x312dcb=_0x396ed2;return this[_0x312dcb(0x2fa)][_0x312dcb(0x387)](_0x33858c[_0x312dcb(0x415)],_0x33858c),_0x37a382(()=>this['_views'][_0x312dcb(0x3cc)](_0x33858c[_0x312dcb(0x415)]));}[_0x396ed2(0x254)](_0x35b69a,_0x4b5bdf,_0x28841c){const _0x5ec4c1=_0x396ed2;var _0x26858d,_0xb41e31,_0x13e34a,_0x5d3fde,_0x277f1c;return T(_0x5ec4c1(0x2a1),()=>{const _0x2eb8eb=_0x5ec4c1;let _0x26fed8=this['_getCachedProjection'](_0x35b69a,_0x4b5bdf,_0x28841c);if(_0x26fed8)return _0x26fed8;let _0x409a54=_0x35b69a[_0x2eb8eb(0x404)][_0x4b5bdf],_0x43cdc8=_0x409a54==null?void 0x0:_0x409a54[_0x2eb8eb(0x173)][_0x28841c];if(!_0x409a54||!_0x43cdc8){var _0x511d4c;return this[_0x2eb8eb(0x420)](_0x35b69a,_0x4b5bdf,_0x28841c,{'type':_0x2eb8eb(0x301),'viewType':(_0x511d4c=_0x43cdc8==null?void 0x0:_0x43cdc8[_0x2eb8eb(0x415)])==null?_0x51a654[_0x2eb8eb(0x1d5)]:_0x511d4c,'reason':'missingField'});}let _0x1e6d26;switch(_0x43cdc8[_0x2eb8eb(0x415)]){case _0x51a654['Grid']:_0x1e6d26=this[_0x2eb8eb(0x3ef)](_0x409a54,_0x43cdc8);break;case _0x51a654['Gantt']:_0x1e6d26=this['_buildGantt'](_0x409a54,_0x43cdc8);break;case _0x51a654['Kanban']:_0x1e6d26=this[_0x2eb8eb(0x20c)](_0x409a54,_0x43cdc8);break;case _0x51a654[_0x2eb8eb(0x2aa)]:_0x1e6d26=this['_buildCalendar'](_0x409a54,_0x43cdc8);break;case _0x51a654[_0x2eb8eb(0x2ec)]:_0x1e6d26=this[_0x2eb8eb(0x1ed)](_0x409a54,_0x43cdc8);break;default:_0x1e6d26={'type':_0x2eb8eb(0x301),'viewType':_0x43cdc8['type'],'reason':'missingField'};}return this[_0x2eb8eb(0x420)](_0x35b69a,_0x4b5bdf,_0x28841c,_0x1e6d26);},{'tableId':_0x4b5bdf,'viewId':_0x28841c,'viewType':(_0x26858d=_0x35b69a[_0x5ec4c1(0x404)][_0x4b5bdf])==null||(_0x26858d=_0x26858d['views'][_0x28841c])==null?void 0x0:_0x26858d[_0x5ec4c1(0x415)],'records':(_0xb41e31=(_0x13e34a=_0x35b69a[_0x5ec4c1(0x404)][_0x4b5bdf])==null||(_0x13e34a=_0x13e34a[_0x5ec4c1(0x3ab)])==null?void 0x0:_0x13e34a[_0x5ec4c1(0x1dd)])==null?Object[_0x5ec4c1(0x234)]((_0x5d3fde=(_0x277f1c=_0x35b69a['tables'][_0x4b5bdf])==null?void 0x0:_0x277f1c[_0x5ec4c1(0x1ce)])==null?{}:_0x5d3fde)[_0x5ec4c1(0x1dd)]:_0xb41e31});}[_0x396ed2(0x22e)](_0x5e43f0,_0x452e58,_0x1e1b89){const _0x22b0ad=_0x396ed2;var _0x1f35fa,_0x350fd5,_0x1a6484,_0x5dd755;let _0x1b6ef9=_0x5e43f0[_0x22b0ad(0x404)][_0x452e58],_0x58cd46=_0x1b6ef9==null?void 0x0:_0x1b6ef9[_0x22b0ad(0x173)][_0x1e1b89];if(!_0x1b6ef9||!_0x58cd46)throw Error(_0x22b0ad(0x2d4)+_0x1e1b89+'\x22.');let _0x460353=_0x51241c=>!!_0x1b6ef9[_0x22b0ad(0x2f3)][_0x51241c],_0x235b81={..._0x58cd46,'filter':_0x58cd46[_0x22b0ad(0x24f)]?{..._0x58cd46['filter'],'conditions':_0x58cd46[_0x22b0ad(0x24f)]['conditions'][_0x22b0ad(0x24f)](_0x5be248=>_0x460353(_0x5be248['fieldId']))}:_0x58cd46[_0x22b0ad(0x24f)],'sort':(_0x1f35fa=_0x58cd46[_0x22b0ad(0x314)])==null?void 0x0:_0x1f35fa[_0x22b0ad(0x24f)](_0x3e4453=>_0x460353(_0x3e4453[_0x22b0ad(0x20f)])),'group':(_0x350fd5=_0x58cd46['group'])==null?void 0x0:_0x350fd5[_0x22b0ad(0x24f)](_0x222001=>_0x460353(_0x222001[_0x22b0ad(0x20f)])),'fieldOrder':(_0x1a6484=_0x58cd46[_0x22b0ad(0x201)])==null?void 0x0:_0x1a6484['filter'](_0x460353),'fieldSettings':Object[_0x22b0ad(0x185)](Object[_0x22b0ad(0x236)]((_0x5dd755=_0x58cd46['fieldSettings'])==null?{}:_0x5dd755)[_0x22b0ad(0x24f)](([_0x109195])=>_0x460353(_0x109195)))};if(_0x235b81[_0x22b0ad(0x415)]===_0x22b0ad(0x36a)){var _0x49e1dc,_0x2496fb,_0x2d9c65,_0x2593a4;let _0x3c724a=(_0x49e1dc=_0x235b81[_0x22b0ad(0x285)])==null?{}:_0x49e1dc,_0x3f6bf4=this['_resolveKanbanGroupFieldId'](_0x1b6ef9,_0x235b81);_0x235b81[_0x22b0ad(0x285)]={..._0x3c724a,'groupFieldId':_0x3f6bf4==null?_0x3c724a['groupFieldId']:_0x3f6bf4,'coverFieldId':this[_0x22b0ad(0x2b4)](_0x1b6ef9,_0x3c724a),'cardLayout':_0x3c724a[_0x22b0ad(0x363)]===_0x22b0ad(0x1d4)?'compose':_0x22b0ad(0x178),'showFieldNames':_0x3c724a['showFieldNames']!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x22b0ad(0x236)]((_0x2496fb=_0x3c724a[_0x22b0ad(0x193)])==null?{}:_0x2496fb)[_0x22b0ad(0x24f)](([_0x47481c])=>_0x460353(_0x47481c))),'columnSettings':(_0x2d9c65=_0x3c724a[_0x22b0ad(0x36f)])==null?{}:_0x2d9c65,'card':{...(_0x2593a4=_0x3c724a[_0x22b0ad(0x392)])==null?{}:_0x2593a4,'fieldIds':this[_0x22b0ad(0x176)](_0x1b6ef9,_0x235b81,_0x3f6bf4==null?'':_0x3f6bf4)}};}return{'repaired':JSON[_0x22b0ad(0x219)](_0x235b81)!==JSON['stringify'](_0x58cd46),'view':_0x235b81};}[_0x396ed2(0x21a)](){this['_globalRevision']++;}[_0x396ed2(0x3be)](_0x29fcde,_0x4f3607,_0x46560e){const _0x52f6b5=_0x396ed2;var _0x45c4f3;let _0x2cec45=this[_0x52f6b5(0x264)](_0x29fcde)+0x1;this[_0x52f6b5(0x271)][_0x52f6b5(0x387)](_0x29fcde,_0x2cec45);let _0x435853=(_0x45c4f3=this[_0x52f6b5(0x40f)][_0x52f6b5(0x2bb)](_0x29fcde))==null?[]:_0x45c4f3;_0x435853[_0x52f6b5(0x258)]({'revision':_0x2cec45,'recordId':_0x4f3607,'fieldId':_0x46560e}),this[_0x52f6b5(0x40f)][_0x52f6b5(0x387)](_0x29fcde,_0x435853);}[_0x396ed2(0x2c7)](_0x457fdd,_0x376aa0){const _0x4cf801=_0x396ed2;this[_0x4cf801(0x379)](_0x457fdd);}[_0x396ed2(0x2b5)](_0x38862c,_0x15aaee){const _0x6d49c0=_0x396ed2;this[_0x6d49c0(0x21d)][_0x6d49c0(0x387)](this[_0x6d49c0(0x3f8)](_0x38862c,_0x15aaee),this[_0x6d49c0(0x1ec)](_0x38862c,_0x15aaee)+0x1);}[_0x396ed2(0x19c)](_0x4ab0e2,_0x1b9055,_0x287fb9){const _0x344e9a=_0x396ed2;var _0x23bf6e;let _0x44e12f=(_0x23bf6e=this[_0x344e9a(0x1d9)][_0x344e9a(0x2bb)](_0x4ab0e2))==null?void 0x0:_0x23bf6e['get'](this['_cacheKey'](_0x1b9055,_0x287fb9));return _0x44e12f&&_0x44e12f[_0x344e9a(0x1d2)]===this[_0x344e9a(0x280)]&&_0x44e12f[_0x344e9a(0x304)]===this[_0x344e9a(0x288)](_0x1b9055)&&_0x44e12f[_0x344e9a(0x2d8)]===this[_0x344e9a(0x264)](_0x1b9055)&&_0x44e12f['viewRevision']===this[_0x344e9a(0x1ec)](_0x1b9055,_0x287fb9)?_0x44e12f[_0x344e9a(0x434)]:null;}['_setCachedProjection'](_0x4e4d42,_0x42ca24,_0x46bd7b,_0x382203){const _0xc4195=_0x396ed2;let _0x519740=this[_0xc4195(0x1d9)][_0xc4195(0x2bb)](_0x4e4d42);return _0x519740||(_0x519740=new Map(),this[_0xc4195(0x1d9)][_0xc4195(0x387)](_0x4e4d42,_0x519740)),_0x519740[_0xc4195(0x387)](this[_0xc4195(0x1e5)](_0x42ca24,_0x46bd7b),{'projection':_0x382203,'globalRevision':this[_0xc4195(0x280)],'tableRevision':this[_0xc4195(0x288)](_0x42ca24),'cellRevision':this[_0xc4195(0x264)](_0x42ca24),'viewRevision':this['_getViewRevision'](_0x42ca24,_0x46bd7b)}),_0x382203;}[_0x396ed2(0x379)](_0xc6b171){const _0x137b8a=_0x396ed2;this['_tableRevisions']['set'](_0xc6b171,this[_0x137b8a(0x288)](_0xc6b171)+0x1);}[_0x396ed2(0x288)](_0x3476db){const _0x462a39=_0x396ed2;var _0x503c0d;return(_0x503c0d=this[_0x462a39(0x3bb)][_0x462a39(0x2bb)](_0x3476db))==null?0x0:_0x503c0d;}[_0x396ed2(0x264)](_0x505462){const _0x235ebb=_0x396ed2;var _0x2e287a;return(_0x2e287a=this[_0x235ebb(0x271)][_0x235ebb(0x2bb)](_0x505462))==null?0x0:_0x2e287a;}[_0x396ed2(0x1ec)](_0x58b2e0,_0x113678){const _0x42edb7=_0x396ed2;var _0x3f9ad4;return(_0x3f9ad4=this[_0x42edb7(0x21d)][_0x42edb7(0x2bb)](this[_0x42edb7(0x3f8)](_0x58b2e0,_0x113678)))==null?0x0:_0x3f9ad4;}['_cacheKey'](_0x272a46,_0xd3a7a5){return _0x272a46+'\x00'+_0xd3a7a5;}['_viewRowsCacheKey'](_0xbf284f,_0x577922){const _0x1751fe=_0x396ed2;return _0xbf284f+'\x00'+this[_0x1751fe(0x1a9)](_0x577922);}[_0x396ed2(0x2e0)](_0x5cfa83,_0x3a4a0d,_0x49b159){const _0x2a633c=_0x396ed2;return _0x5cfa83+'\x00'+this[_0x2a633c(0x1a9)](_0x3a4a0d)+'\x00'+this[_0x2a633c(0x2b0)](_0x49b159);}[_0x396ed2(0x1a9)](_0xf7f925){const _0x1150d2=_0x396ed2;return _0xf7f925?Tn({'filter':Cn(_0xf7f925[_0x1150d2(0x24f)]),'sort':wn(_0xf7f925[_0x1150d2(0x314)])}):_0x1150d2(0x411);}['_groupConfigCacheSegment'](_0x2867c1){const _0x56836e=_0x396ed2;return Tn(_0x2867c1[_0x56836e(0x22a)](_0xb284dd=>{const _0x3328f5=_0x56836e;var _0x41609e;return{'fieldId':_0xb284dd[_0x3328f5(0x20f)],'direction':(_0x41609e=_0xb284dd[_0x3328f5(0x1b2)])==null?null:_0x41609e};}));}['_viewRevisionKey'](_0x1726fd,_0x41b4cf){return _0x1726fd+'\x00'+_0x41b4cf;}[_0x396ed2(0x3ef)](_0x35abd9,_0x27ac63){const _0x402176=_0x396ed2;let _0x4bd352=this['_projectRows'](_0x35abd9,_0x27ac63);return{'type':_0x51a654[_0x402176(0x1d5)],'fields':this[_0x402176(0x164)](_0x35abd9,_0x27ac63),'rows':_0x4bd352,'groups':this[_0x402176(0x265)](_0x35abd9,_0x27ac63,_0x4bd352),'frozenFieldCount':typeof _0x27ac63[_0x402176(0x285)][_0x402176(0x21f)]==_0x402176(0x267)?_0x27ac63[_0x402176(0x285)][_0x402176(0x21f)]:0x0};}['_buildKanban'](_0x3760af,_0x20dec5){const _0x45c97a=_0x396ed2;var _0x1c639e;let _0x9ce1a5=this[_0x45c97a(0x393)](_0x3760af,_0x20dec5),_0x59592d=_0x9ce1a5?_0x3760af['fields'][_0x9ce1a5]:void 0x0;if(!_0x59592d)return{'type':_0x45c97a(0x301),'viewType':_0x51a654['Kanban'],'reason':_0x45c97a(0x2c8),'fieldId':_0x20dec5[_0x45c97a(0x285)][_0x45c97a(0x1b1)]};let _0xe57275=this[_0x45c97a(0x27e)](_0x3760af,_0x20dec5),_0x4b7312=this[_0x45c97a(0x164)](_0x3760af,_0x20dec5),_0xdda9e4=(_0x1c639e=_0x20dec5[_0x45c97a(0x285)])==null?{}:_0x1c639e,_0x5b2d9c=this['_resolveKanbanCardFieldIds'](_0x3760af,_0x20dec5,_0x59592d['id']),_0x12756=new Map();return this[_0x45c97a(0x38e)](_0x59592d,_0xdda9e4)[_0x45c97a(0x3d3)](_0x1d2498=>_0x12756['set'](_0x1d2498['key'],{..._0x1d2498,'recordIds':[]})),_0xe57275[_0x45c97a(0x3d3)](_0x53a615=>{const _0x12e95e=_0x45c97a;this[_0x12e95e(0x431)](_0x59592d,_0x53a615['values'][_0x59592d['id']])[_0x12e95e(0x3d3)](_0x52dda0=>{const _0x104a2c=_0x12e95e;let _0x402740=_0x12756[_0x104a2c(0x2bb)](_0x52dda0),_0x34fd66=_0x402740==null?{'key':_0x52dda0,'title':this[_0x104a2c(0x327)](_0x59592d,_0x52dda0,_0xdda9e4),'color':this['_kanbanLaneColor'](_0x59592d,_0x52dda0,_0xdda9e4),'recordIds':[]}:_0x402740;_0x34fd66[_0x104a2c(0x331)][_0x104a2c(0x258)](_0x53a615['recordId']),_0x12756[_0x104a2c(0x387)](_0x52dda0,_0x34fd66);});}),{'type':_0x51a654[_0x45c97a(0x1e8)],'fields':_0x4b7312,'rows':_0xe57275,'groups':this['_projectGroups'](_0x3760af,_0x20dec5,_0xe57275),'groupFieldId':_0x59592d['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3760af,_0xdda9e4),'cardLayout':_0xdda9e4[_0x45c97a(0x363)]===_0x45c97a(0x1d4)?_0x45c97a(0x1d4):_0x45c97a(0x178),'showFieldNames':_0xdda9e4['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5b2d9c,'lanes':Array['from'](_0x12756[_0x45c97a(0x33e)]())};}[_0x396ed2(0x393)](_0x35ab2c,_0x1ace9c){const _0x24c224=_0x396ed2;var _0xdbe7d8;let _0x19dad8=(_0xdbe7d8=_0x1ace9c['config'])==null?void 0x0:_0xdbe7d8[_0x24c224(0x1b1)];return _0x19dad8&&this[_0x24c224(0x428)](_0x35ab2c,_0x19dad8)?_0x19dad8:this[_0x24c224(0x3c3)](_0x35ab2c,_0x4ac7f9=>this[_0x24c224(0x274)](_0x4ac7f9));}[_0x396ed2(0x3c3)](_0x18d01e,_0x547ae0){const _0x5ea293=_0x396ed2;for(let _0x306bfc of _0x18d01e[_0x5ea293(0x201)]){let _0x4d84e6=_0x18d01e[_0x5ea293(0x2f3)][_0x306bfc];if(_0x4d84e6&&_0x547ae0(_0x4d84e6))return _0x4d84e6['id'];}return null;}[_0x396ed2(0x428)](_0x3c164b,_0x2a499b){const _0x51ee02=_0x396ed2;let _0x4d4e16=_0x3c164b[_0x51ee02(0x2f3)][_0x2a499b];return this['_isAllowedKanbanGroupField'](_0x4d4e16);}[_0x396ed2(0x274)](_0x51d8b4){const _0x1e3834=_0x396ed2;return!!_0x51d8b4&&(_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x165)]||_0x51d8b4['type']===_0x1e4a6b[_0x1e3834(0x332)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x353)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x435)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x3f7)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b['Checkbox']);}[_0x396ed2(0x319)](_0xf31eea){const _0x3e97f4=_0x396ed2;return _0xf31eea[_0x3e97f4(0x415)]===_0x1e4a6b[_0x3e97f4(0x165)]||_0xf31eea['type']===_0x1e4a6b[_0x3e97f4(0x332)];}[_0x396ed2(0x2b4)](_0x5660f9,_0x1b3288){const _0xc71066=_0x396ed2;var _0x15d31b,_0x2bc9e8,_0x5921a7;let _0x54724b=(_0x15d31b=(_0x2bc9e8=_0x1b3288[_0xc71066(0x1a4)])==null?(_0x5921a7=_0x1b3288[_0xc71066(0x392)])==null?void 0x0:_0x5921a7[_0xc71066(0x1a4)]:_0x2bc9e8)==null?null:_0x15d31b;if(!_0x54724b)return null;let _0x383c44=_0x5660f9[_0xc71066(0x2f3)][_0x54724b];return _0x383c44&&this[_0xc71066(0x21c)](_0x383c44)[_0xc71066(0x352)]?_0x383c44['id']:null;}[_0x396ed2(0x176)](_0x216407,_0x1a236e,_0x2e16ee){const _0x1aed3c=_0x396ed2;var _0x138522,_0x3546b8,_0x4ca373;let _0x51ef41=(_0x138522=_0x1a236e['config'])==null?{}:_0x138522,_0x13aea6=!((_0x3546b8=_0x51ef41['card'])==null||(_0x3546b8=_0x3546b8['fieldIds'])==null)&&_0x3546b8['length']?_0x51ef41[_0x1aed3c(0x392)][_0x1aed3c(0x35a)]:dn(_0x216407,[_0x216407['primaryFieldId'],_0x2e16ee]),_0x5a6d30=(_0x4ca373=_0x51ef41[_0x1aed3c(0x193)])==null?{}:_0x4ca373;return _0x13aea6[_0x1aed3c(0x24f)](_0x485467=>{const _0x49f4e2=_0x1aed3c;var _0x5bab44,_0x1e4d70;let _0x1d76d6=_0x216407[_0x49f4e2(0x2f3)][_0x485467];return!(!_0x1d76d6||_0x1d76d6['id']===_0x2e16ee||!((_0x5bab44=_0x1a236e[_0x49f4e2(0x193)])==null||(_0x5bab44=_0x5bab44[_0x485467])==null)&&_0x5bab44[_0x49f4e2(0x1bd)]||(_0x1e4d70=_0x5a6d30[_0x485467])!=null&&_0x1e4d70[_0x49f4e2(0x1bd)]);})[_0x1aed3c(0x314)]((_0x46abed,_0x5f310d)=>{const _0x4e02e1=_0x1aed3c;var _0xee517b,_0x44038a,_0x14c6eb,_0x22da16;return((_0xee517b=(_0x44038a=_0x5a6d30[_0x46abed])==null?void 0x0:_0x44038a['order'])==null?_0x13aea6[_0x4e02e1(0x400)](_0x46abed):_0xee517b)-((_0x14c6eb=(_0x22da16=_0x5a6d30[_0x5f310d])==null?void 0x0:_0x22da16[_0x4e02e1(0x375)])==null?_0x13aea6[_0x4e02e1(0x400)](_0x5f310d):_0x14c6eb);});}['_getKanbanConfiguredLanes'](_0x3b7bab,_0x66b2e7){const _0x56ceb8=_0x396ed2;var _0x44501d,_0x4b5cd6;let _0x313286=(Array[_0x56ceb8(0x3db)]((_0x44501d=_0x3b7bab[_0x56ceb8(0x285)])==null?void 0x0:_0x44501d[_0x56ceb8(0x198)])?_0x3b7bab['config'][_0x56ceb8(0x198)]:[])[_0x56ceb8(0x338)]((_0xef4d,_0x648454)=>{const _0x5ac45c=_0x56ceb8;var _0x3a3121,_0x2efc6c,_0xce64b0,_0x2c6644;if(_0xef4d==null)return[];let _0x492da4=typeof _0xef4d==_0x5ac45c(0x247)?{'id':_0xef4d,'name':_0xef4d,'color':void 0x0}:_0xef4d,_0x21062c=String((_0x3a3121=(_0x2efc6c=_0x492da4['id'])==null?_0x492da4[_0x5ac45c(0x28c)]:_0x2efc6c)==null?_0x5ac45c(0x2d6)+(_0x648454+0x1):_0x3a3121);return[{'key':_0x21062c,'title':String((_0xce64b0=(_0x2c6644=_0x492da4[_0x5ac45c(0x28c)])==null?_0x492da4['id']:_0x2c6644)==null?_0x21062c:_0xce64b0),'color':this[_0x5ac45c(0x1ff)](_0x3b7bab,_0x21062c,_0x66b2e7)}];});return Object[_0x56ceb8(0x236)]((_0x4b5cd6=_0x66b2e7[_0x56ceb8(0x36f)])==null?{}:_0x4b5cd6)['forEach'](([_0x360a52,_0x25a062])=>{const _0x25ff52=_0x56ceb8;var _0x39dfab;_0x313286[_0x25ff52(0x24c)](_0x28a0dc=>_0x28a0dc[_0x25ff52(0x194)]===_0x360a52)||_0x313286['push']({'key':_0x360a52,'title':this[_0x25ff52(0x319)](_0x3b7bab)?(_0x39dfab=_0x25a062['title'])==null?this['_kanbanLaneTitle'](_0x3b7bab,_0x360a52,_0x66b2e7):_0x39dfab:this[_0x25ff52(0x327)](_0x3b7bab,_0x360a52,_0x66b2e7),'color':this[_0x25ff52(0x1ff)](_0x3b7bab,_0x360a52,_0x66b2e7)});}),_0x313286;}[_0x396ed2(0x431)](_0x5159a4,_0xef26bf){const _0x4dbc13=_0x396ed2;let _0x13e383=_0x2bd1b6=>{const _0x153f09=_0x5744;var _0x542fba,_0x535eea;let _0x253cd6=_0x2bd1b6==null?'':String(_0x2bd1b6);return!_0x253cd6||!this[_0x153f09(0x319)](_0x5159a4)||(_0x542fba=(_0x535eea=J(_0x5159a4,_0x253cd6))==null?void 0x0:_0x535eea['id'])==null?_0x253cd6:_0x542fba;};if(Array[_0x4dbc13(0x3db)](_0xef26bf)){let _0x16f9f5=_0xef26bf[_0x4dbc13(0x22a)](_0x13e383)[_0x4dbc13(0x24f)](_0x4e58cb=>_0x4e58cb!=='');return _0x16f9f5[_0x4dbc13(0x1dd)]?_0x16f9f5:[''];}return[_0x13e383(_0xef26bf)];}[_0x396ed2(0x327)](_0x3f473a,_0x57704a,_0x42197b){const _0x3f5470=_0x396ed2;var _0x453546;if(!_0x57704a)return _0x3f5470(0x40b);let _0x277790=J(_0x3f473a,_0x57704a);return(_0x453546=_0x277790==null?void 0x0:_0x277790[_0x3f5470(0x28c)])==null?_0x57704a:_0x453546;}[_0x396ed2(0x1ff)](_0x18f7b3,_0x25ec69,_0x43393b){const _0x288d23=_0x396ed2;var _0x37e83f;if(this[_0x288d23(0x319)](_0x18f7b3))return(_0x37e83f=J(_0x18f7b3,_0x25ec69))==null?void 0x0:_0x37e83f[_0x288d23(0x27b)];}['_buildCalendar'](_0x30289c,_0x11d3b1){const _0x37ebff=_0x396ed2;var _0x188d9f;let _0x216c13=this[_0x37ebff(0x238)](_0x30289c,(_0x188d9f=_0x11d3b1['config'])==null?{}:_0x188d9f),_0x5aec27=_0x30289c[_0x37ebff(0x2f3)][_0x216c13[_0x37ebff(0x31a)]];if(!_0x5aec27||_0x5aec27[_0x37ebff(0x415)]!==_0x1e4a6b[_0x37ebff(0x225)]||_0x5aec27[_0x37ebff(0x163)]===!0x0||_0x5aec27[_0x37ebff(0x2e9)]===!0x0||!this['_capabilities'](_0x5aec27)['usableAsCalendarDate'])return{'type':_0x37ebff(0x301),'viewType':_0x51a654[_0x37ebff(0x2aa)],'reason':_0x37ebff(0x1f6),'fieldId':_0x216c13[_0x37ebff(0x31a)]};let _0x41b450=_0x216c13[_0x37ebff(0x1b0)]?_0x30289c['fields'][_0x216c13['endDateFieldId']]:void 0x0,_0x330765=this[_0x37ebff(0x27e)](_0x30289c,_0x11d3b1);return{'type':_0x51a654[_0x37ebff(0x2aa)],'config':_0x216c13,'fields':this[_0x37ebff(0x164)](_0x30289c,_0x11d3b1),'rows':_0x330765,'groups':this[_0x37ebff(0x265)](_0x30289c,_0x11d3b1,_0x330765),'events':_0x330765['flatMap'](_0x57c9bb=>{const _0x2d56d3=_0x37ebff;let _0x2b53e2=N(_0x57c9bb[_0x2d56d3(0x33e)][_0x216c13[_0x2d56d3(0x31a)]]);if(!Number[_0x2d56d3(0x1da)](_0x2b53e2))return[];let _0x14fc18=_0x57c9bb['values'][_0x216c13['startDateFieldId']],_0x5a8692=_0x216c13[_0x2d56d3(0x1b0)]==null?void 0x0:_0x57c9bb[_0x2d56d3(0x33e)][_0x216c13[_0x2d56d3(0x1b0)]],_0x547011=_0x216c13[_0x2d56d3(0x1b0)]==null?void 0x0:N(_0x5a8692),_0x36e36d=Number[_0x2d56d3(0x1da)](_0x547011)?_0x547011:void 0x0;return[{'recordId':_0x57c9bb[_0x2d56d3(0x348)],'title':this[_0x2d56d3(0x37c)](_0x30289c,_0x57c9bb,_0x216c13['titleFieldId']),'start':_0x2b53e2,'end':_0x36e36d,'color':this['_calendarEventColor'](_0x30289c,_0x57c9bb,_0x216c13),'startMs':_0x2b53e2,'endMs':_0x36e36d,'allDay':this['_isAllDayCalendarEvent'](_0x5aec27,_0x41b450,_0x14fc18,_0x5a8692),'fieldValues':_0x57c9bb['values']}];})};}[_0x396ed2(0x238)](_0x46dc06,_0x7fcfe4){const _0x527913=_0x396ed2;var _0x3f42d4,_0x4b4b5a;let _0x4ff7c6=this[_0x527913(0x2b2)](_0x46dc06,_0x7fcfe4[_0x527913(0x31a)]),_0x5a0df6=_0x7fcfe4[_0x527913(0x1b0)]&&this[_0x527913(0x2cd)](_0x46dc06,_0x7fcfe4['endDateFieldId'])?_0x7fcfe4['endDateFieldId']:(_0x3f42d4=this['_findCalendarDateFieldId'](_0x46dc06,_0x4ff7c6))==null?void 0x0:_0x3f42d4,_0xaef7db=_0x7fcfe4[_0x527913(0x2bd)]&&_0x46dc06[_0x527913(0x2f3)][_0x7fcfe4['titleFieldId']]?_0x7fcfe4['titleFieldId']:_0x46dc06[_0x527913(0x243)],_0x2af2a4=_0x7fcfe4[_0x527913(0x1bf)]===_0x527913(0x33d)||_0x7fcfe4['mode']===_0x527913(0x1f5)?_0x7fcfe4[_0x527913(0x1bf)]:_0x527913(0x24a),_0xe072bd=_0x7fcfe4[_0x527913(0x372)]===_0x527913(0x3dd)||_0x7fcfe4[_0x527913(0x372)]===_0x527913(0x316)?_0x7fcfe4[_0x527913(0x372)]:_0x527913(0x3aa),_0x5df71e=typeof _0x7fcfe4[_0x527913(0x35d)]=='string'&&_0x7fcfe4[_0x527913(0x35d)]['trim']()?_0x7fcfe4['timeZone']:_0x527913(0x257),_0x28be75=this['_normalizeCalendarDisplayColor'](_0x46dc06,_0x7fcfe4);return{..._0x7fcfe4,'startDateFieldId':_0x4ff7c6,'endDateFieldId':_0x5a0df6,'titleFieldId':_0xaef7db,'mode':_0x2af2a4,'timeslotSize':_0xe072bd,'timeZone':_0x5df71e,'displayColor':_0x28be75,'fieldSettings':Object[_0x527913(0x185)](Object['entries']((_0x4b4b5a=_0x7fcfe4[_0x527913(0x193)])==null?{}:_0x4b4b5a)['filter'](([_0x45ef02])=>!!_0x46dc06[_0x527913(0x2f3)][_0x45ef02]))};}[_0x396ed2(0x2b2)](_0x8c14fd,_0x50777d){const _0x5606a4=_0x396ed2;var _0x44a705,_0x4ee992;return _0x50777d&&this[_0x5606a4(0x2cd)](_0x8c14fd,_0x50777d)?_0x50777d:(_0x44a705=(_0x4ee992=this[_0x5606a4(0x1cd)](_0x8c14fd))==null?_0x50777d:_0x4ee992)==null?'':_0x44a705;}[_0x396ed2(0x1cd)](_0x33537f,_0x4be974){const _0x20a9b5=_0x396ed2;for(let _0x2f264 of _0x33537f[_0x20a9b5(0x201)])if(_0x2f264!==_0x4be974&&this[_0x20a9b5(0x2cd)](_0x33537f,_0x2f264))return _0x2f264;return null;}['_isCalendarDateField'](_0x3209b7,_0x11ad1e){const _0x5b26d3=_0x396ed2;let _0x32d827=_0x3209b7[_0x5b26d3(0x2f3)][_0x11ad1e];return!!_0x32d827&&_0x32d827[_0x5b26d3(0x415)]===_0x1e4a6b[_0x5b26d3(0x225)]&&_0x32d827[_0x5b26d3(0x163)]!==!0x0&&_0x32d827['system']!==!0x0&&this[_0x5b26d3(0x21c)](_0x32d827)[_0x5b26d3(0x3b7)];}[_0x396ed2(0x1ea)](_0x51c386,_0x4e39ec){const _0x57bf26=_0x396ed2;let _0x1250cc=_0x4e39ec[_0x57bf26(0x1a8)];if((_0x1250cc==null?void 0x0:_0x1250cc[_0x57bf26(0x415)])===_0x57bf26(0x1f3)){let _0x2bfb46=_0x51c386[_0x57bf26(0x2f3)][_0x1250cc[_0x57bf26(0x20f)]];if(_0x2bfb46&&_0x2bfb46[_0x57bf26(0x415)]===_0x1e4a6b[_0x57bf26(0x165)])return _0x1250cc;}if((_0x1250cc==null?void 0x0:_0x1250cc[_0x57bf26(0x415)])==='custom'&&typeof _0x1250cc[_0x57bf26(0x27b)]==_0x57bf26(0x247)&&_0x1250cc[_0x57bf26(0x27b)][_0x57bf26(0x317)]())return{'type':_0x57bf26(0x3df),'color':_0x1250cc[_0x57bf26(0x27b)]};if(_0x4e39ec[_0x57bf26(0x278)]){let _0x4a66c5=_0x51c386[_0x57bf26(0x2f3)][_0x4e39ec[_0x57bf26(0x278)]];if(_0x4a66c5&&_0x4a66c5[_0x57bf26(0x415)]===_0x1e4a6b[_0x57bf26(0x165)])return{'type':_0x57bf26(0x1f3),'fieldId':_0x4e39ec[_0x57bf26(0x278)]};}return{'type':_0x57bf26(0x3df),'color':_0x57bf26(0x1ca)};}[_0x396ed2(0x246)](_0x3d673e,_0xecd172,_0x125ade){const _0x201fc8=_0x396ed2;let _0x1ad8e0=_0x125ade[_0x201fc8(0x1a8)];if((_0x1ad8e0==null?void 0x0:_0x1ad8e0[_0x201fc8(0x415)])===_0x201fc8(0x1f3)){var _0x1b3bfa;let _0x25ecf6=_0x3d673e['fields'][_0x1ad8e0[_0x201fc8(0x20f)]];if(!_0x25ecf6)return;let _0x245612=_0xecd172[_0x201fc8(0x33e)][_0x1ad8e0['fieldId']],_0x59b009=Array[_0x201fc8(0x3db)](_0x245612)?_0x245612[0x0]:_0x245612;return _0x59b009==null||(_0x1b3bfa=J(_0x25ecf6,String(_0x59b009)))==null?void 0x0:_0x1b3bfa[_0x201fc8(0x27b)];}if((_0x1ad8e0==null?void 0x0:_0x1ad8e0[_0x201fc8(0x415)])===_0x201fc8(0x3df))return _0x1ad8e0[_0x201fc8(0x27b)];}['_isAllDayCalendarEvent'](_0x3d4a76,_0x223db2,_0x3ee637,_0x1a5008){const _0x2dc072=_0x396ed2;var _0x4700c2,_0x3bd33e;let _0x1ce885=((_0x4700c2=_0x3d4a76[_0x2dc072(0x285)])==null?void 0x0:_0x4700c2[_0x2dc072(0x23a)])===!0x0,_0xe942ec=(_0x223db2==null||(_0x3bd33e=_0x223db2['config'])==null?void 0x0:_0x3bd33e[_0x2dc072(0x23a)])===!0x0;return!_0x1ce885&&!_0xe942ec;}['_isAllDayGanttDateRange'](_0xd0dc47,_0x2a7bf6){const _0x444cd5=_0x396ed2;var _0x308155,_0x340b9b;let _0x5196a0=((_0x308155=_0xd0dc47[_0x444cd5(0x285)])==null?void 0x0:_0x308155['includeTime'])===!0x0,_0x5519be=((_0x340b9b=_0x2a7bf6['config'])==null?void 0x0:_0x340b9b[_0x444cd5(0x23a)])===!0x0;return!_0x5196a0&&!_0x5519be;}['_buildGantt'](_0x526c0f,_0x33c9d6){const _0x3bffcf=_0x396ed2;let _0x23378a=this[_0x3bffcf(0x38b)](_0x526c0f,_0x33c9d6[_0x3bffcf(0x285)]),_0xb0d4d=_0x526c0f[_0x3bffcf(0x2f3)][_0x23378a[_0x3bffcf(0x31a)]];if(!_0xb0d4d||_0xb0d4d['type']!==_0x1e4a6b[_0x3bffcf(0x225)]||_0xb0d4d[_0x3bffcf(0x163)]===!0x0||_0xb0d4d[_0x3bffcf(0x2e9)]===!0x0||!this[_0x3bffcf(0x21c)](_0xb0d4d)[_0x3bffcf(0x368)])return{'type':_0x3bffcf(0x301),'viewType':_0x51a654[_0x3bffcf(0x40e)],'reason':_0x3bffcf(0x214),'fieldId':_0x23378a[_0x3bffcf(0x31a)]};let _0x1913ff=_0x526c0f[_0x3bffcf(0x2f3)][_0x23378a[_0x3bffcf(0x1b0)]];if(!_0x1913ff||_0x1913ff[_0x3bffcf(0x415)]!==_0x1e4a6b['Date']||_0x1913ff[_0x3bffcf(0x163)]===!0x0||_0x1913ff[_0x3bffcf(0x2e9)]===!0x0||!this[_0x3bffcf(0x21c)](_0x1913ff)[_0x3bffcf(0x281)])return{'type':_0x3bffcf(0x301),'viewType':_0x51a654[_0x3bffcf(0x40e)],'reason':_0x3bffcf(0x230),'fieldId':_0x23378a[_0x3bffcf(0x1b0)]};let _0x33086c=this[_0x3bffcf(0x179)](_0xb0d4d,_0x1913ff),_0x649524=this[_0x3bffcf(0x27e)](_0x526c0f,_0x33c9d6),_0xb1a46d=_0x649524['flatMap'](_0x6adccd=>{const _0x22bfcf=_0x3bffcf;var _0x42fb94;let _0x78c88e=N(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a[_0x22bfcf(0x31a)]]),_0x5cacd0=N(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a[_0x22bfcf(0x1b0)]]);if(!Number[_0x22bfcf(0x1da)](_0x78c88e)||!Number[_0x22bfcf(0x1da)](_0x5cacd0))return[];let _0x584b77=Math['min'](_0x78c88e,_0x5cacd0),_0x2a905c=Math['max'](_0x78c88e,_0x5cacd0),_0x40a2b2=_0x23378a[_0x22bfcf(0x308)]==null?void 0x0:Number(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a['progressFieldId']]);return[{'recordId':_0x6adccd[_0x22bfcf(0x348)],'title':this[_0x22bfcf(0x37c)](_0x526c0f,_0x6adccd,_0x23378a[_0x22bfcf(0x2bd)]),'start':_0x584b77,'end':_0x2a905c,'color':this[_0x22bfcf(0x30f)](_0x526c0f,_0x6adccd,_0x23378a),'progress':Number[_0x22bfcf(0x1da)](_0x40a2b2)?_0x40a2b2:void 0x0,'workingDayCount':_0x23378a[_0x22bfcf(0x1d3)]?In(_0x584b77,_0x2a905c,_0x23378a[_0x22bfcf(0x169)]):void 0x0,'dependencyRecordIds':this[_0x22bfcf(0x436)](_0x6adccd[_0x22bfcf(0x33e)][(_0x42fb94=_0x23378a[_0x22bfcf(0x2dc)])==null?'':_0x42fb94])}];}),_0xbda08b=_0xb1a46d[_0x3bffcf(0x1dd)]?K(Math[_0x3bffcf(0x36b)](..._0xb1a46d[_0x3bffcf(0x22a)](_0x36df94=>_0x36df94[_0x3bffcf(0x18e)]))-0x5a*G):K(Date[_0x3bffcf(0x29f)]()-0x5a*G),_0x3963c8=_0xb1a46d[_0x3bffcf(0x1dd)]?K(Math[_0x3bffcf(0x422)](..._0xb1a46d[_0x3bffcf(0x22a)](_0x136c36=>_0x136c36[_0x3bffcf(0x261)]))+0x5b*G):K(Date[_0x3bffcf(0x29f)]()+0x5b*G),_0x1ef3b7=On(_0x23378a['scale'],_0xbda08b,_0x3963c8,_0x23378a[_0x3bffcf(0x1d3)]?_0x23378a[_0x3bffcf(0x169)]:void 0x0);return{'type':_0x51a654[_0x3bffcf(0x40e)],'fields':this['_projectFields'](_0x526c0f,{..._0x33c9d6,'config':_0x23378a}),'rows':_0x649524,'groups':this[_0x3bffcf(0x265)](_0x526c0f,_0x33c9d6,_0x649524),'config':_0x23378a,'dateRangeAllDay':_0x33086c,'timeline':{'scale':_0x23378a[_0x3bffcf(0x18f)],'start':_0xbda08b,'end':_0x3963c8,'unitWidth':_0x1ef3b7[_0x3bffcf(0x260)],'majorHeaders':_0x1ef3b7[_0x3bffcf(0x3cf)],'columns':_0x1ef3b7['columns']},'bars':_0xb1a46d};}[_0x396ed2(0x38b)](_0x942e3a,_0x4a66bc){const _0xb1d144=_0x396ed2;var _0x451b74;let _0x385c9f=this[_0xb1d144(0x37b)](_0x942e3a,_0x4a66bc[_0xb1d144(0x31a)],'start'),_0x1b5a67=this[_0xb1d144(0x37b)](_0x942e3a,_0x4a66bc[_0xb1d144(0x1b0)],_0xb1d144(0x261))||_0x385c9f,_0x3b6edc=_0x4a66bc[_0xb1d144(0x2bd)]&&_0x942e3a[_0xb1d144(0x2f3)][_0x4a66bc['titleFieldId']]?_0x4a66bc[_0xb1d144(0x2bd)]:_0x942e3a['primaryFieldId'],_0x1ccc96=_0x4a66bc[_0xb1d144(0x18f)]==='week'||_0x4a66bc['scale']===_0xb1d144(0x37f)||_0x4a66bc[_0xb1d144(0x18f)]==='year'?_0x4a66bc[_0xb1d144(0x18f)]:'month',_0x36dc5b=Dn(_0x4a66bc[_0xb1d144(0x169)]);return{..._0x4a66bc,'startDateFieldId':_0x385c9f,'endDateFieldId':_0x1b5a67,'titleFieldId':_0x3b6edc,'scale':_0x1ccc96,'leftPaneWidth':typeof _0x4a66bc[_0xb1d144(0x2e6)]==_0xb1d144(0x267)?_0x4a66bc['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x4a66bc[_0xb1d144(0x2fb)]===!0x0,'showTodayLine':_0x4a66bc[_0xb1d144(0x31b)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x942e3a,_0x4a66bc),'fieldSettings':Object[_0xb1d144(0x185)](Object[_0xb1d144(0x236)]((_0x451b74=_0x4a66bc[_0xb1d144(0x193)])==null?{}:_0x451b74)[_0xb1d144(0x24f)](([_0x51d92e])=>!!_0x942e3a[_0xb1d144(0x2f3)][_0x51d92e])),'workingDaysOnly':_0x4a66bc['workingDaysOnly']===!0x0,'workingDays':_0x36dc5b};}[_0x396ed2(0x37b)](_0x38d783,_0x4bc78b,_0xfd9206){const _0xe4995e=_0x396ed2;if(_0x4bc78b&&this[_0xe4995e(0x2ea)](_0x38d783,_0x4bc78b,_0xfd9206)||_0x4bc78b)return _0x4bc78b;for(let _0x612561 of _0x38d783[_0xe4995e(0x201)])if(this[_0xe4995e(0x2ea)](_0x38d783,_0x612561,_0xfd9206))return _0x612561;return _0x4bc78b==null?'':_0x4bc78b;}['_isGanttDateField'](_0x382ad6,_0x50e502,_0x57530f){const _0x3d62fe=_0x396ed2;let _0x3fd059=_0x382ad6[_0x3d62fe(0x2f3)][_0x50e502];if(!_0x3fd059||_0x3fd059[_0x3d62fe(0x415)]!==_0x1e4a6b[_0x3d62fe(0x225)]||_0x3fd059[_0x3d62fe(0x163)]===!0x0||_0x3fd059[_0x3d62fe(0x2e9)]===!0x0)return!0x1;let _0x5c6bd0=this[_0x3d62fe(0x21c)](_0x3fd059);return _0x57530f==='start'?_0x5c6bd0[_0x3d62fe(0x368)]:_0x5c6bd0[_0x3d62fe(0x281)];}[_0x396ed2(0x1bc)](_0x1a67dc,_0x43d042){const _0x3d9cd8=_0x396ed2;let _0x5d3c10=_0x43d042[_0x3d9cd8(0x1a8)];if((_0x5d3c10==null?void 0x0:_0x5d3c10[_0x3d9cd8(0x415)])===_0x3d9cd8(0x1f3)){let _0x40e4eb=_0x1a67dc['fields'][_0x5d3c10[_0x3d9cd8(0x20f)]];if(_0x40e4eb&&_0x40e4eb[_0x3d9cd8(0x415)]===_0x1e4a6b[_0x3d9cd8(0x165)])return _0x5d3c10;}return(_0x5d3c10==null?void 0x0:_0x5d3c10['type'])==='conditional'&&Array[_0x3d9cd8(0x3db)](_0x5d3c10[_0x3d9cd8(0x350)])?{'type':_0x3d9cd8(0x298),'rules':_0x5d3c10[_0x3d9cd8(0x350)]['filter'](_0x19b8aa=>!!_0x1a67dc['fields'][_0x19b8aa[_0x3d9cd8(0x20f)]])}:(_0x5d3c10==null?void 0x0:_0x5d3c10['type'])===_0x3d9cd8(0x3df)&&typeof _0x5d3c10[_0x3d9cd8(0x27b)]==_0x3d9cd8(0x247)&&_0x5d3c10['color'][_0x3d9cd8(0x317)]()?{'type':'custom','color':_0x5d3c10[_0x3d9cd8(0x27b)]}:{'type':_0x3d9cd8(0x3df),'color':_0x3d9cd8(0x42a)};}[_0x396ed2(0x30f)](_0x2ac940,_0x24df47,_0x5378d1){const _0x3d00e9=_0x396ed2;let _0x1e0652=_0x5378d1[_0x3d00e9(0x1a8)];if((_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x298)){let _0x52b442=_0x1e0652['rules'][_0x3d00e9(0x289)](_0x265495=>this[_0x3d00e9(0x15a)](_0x2ac940,_0x24df47,_0x265495));if(_0x52b442)return _0x52b442['color'];}if((_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x1f3)){let _0x5592b9=_0x2ac940[_0x3d00e9(0x2f3)][_0x1e0652[_0x3d00e9(0x20f)]];if(_0x5592b9){var _0x3dd0de;let _0x323af8=_0x24df47[_0x3d00e9(0x33e)][_0x1e0652[_0x3d00e9(0x20f)]],_0x438b43=Array[_0x3d00e9(0x3db)](_0x323af8)?_0x323af8[0x0]:_0x323af8,_0x5d8151=_0x438b43==null||(_0x3dd0de=J(_0x5592b9,String(_0x438b43)))==null?void 0x0:_0x3dd0de[_0x3d00e9(0x27b)];if(_0x5d8151)return _0x5d8151;}}return(_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x3df)?_0x1e0652[_0x3d00e9(0x27b)]:_0x3d00e9(0x42a);}[_0x396ed2(0x15a)](_0x5b5929,_0x10bbbf,_0x335b1b){const _0x39ec3b=_0x396ed2;let _0x4c480f=_0x5b5929[_0x39ec3b(0x2f3)][_0x335b1b[_0x39ec3b(0x20f)]];return _0x4c480f?ft(_0x10bbbf[_0x39ec3b(0x33e)][_0x4c480f['id']],_0x335b1b['operator'],_0x335b1b[_0x39ec3b(0x2ee)],_0x4c480f,{'dateMode':_0x335b1b[_0x39ec3b(0x39d)]}):!0x1;}[_0x396ed2(0x1ed)](_0xcde080,_0x398bfc){const _0x683aae=_0x396ed2;var _0x382099,_0x5bb4e6,_0x1f144e;let _0xddd45f=this['_projectRows'](_0xcde080,_0x398bfc),_0x522e8e=this['_normalizeGalleryConfig'](_0xcde080,(_0x382099=_0x398bfc[_0x683aae(0x285)])==null?{}:_0x382099),_0x534fb9=this[_0x683aae(0x164)](_0xcde080,_0x398bfc);return{'type':_0x51a654[_0x683aae(0x2ec)],'fields':_0x534fb9,'rows':_0xddd45f,'groups':this[_0x683aae(0x265)](_0xcde080,_0x398bfc,_0xddd45f),'coverFieldId':_0x522e8e['coverFieldId'],'cardLayout':(_0x5bb4e6=_0x522e8e[_0x683aae(0x363)])==null?_0x683aae(0x178):_0x5bb4e6,'showFieldNames':_0x522e8e[_0x683aae(0x266)]!==!0x1,'visibleCardFieldIds':this[_0x683aae(0x209)](_0xcde080,_0x398bfc,_0x522e8e),'cardSize':(_0x1f144e=_0x522e8e[_0x683aae(0x17d)])==null?_0x683aae(0x3aa):_0x1f144e,'cards':_0xddd45f[_0x683aae(0x22a)](_0x36d25f=>({'recordId':_0x36d25f[_0x683aae(0x348)],'title':this[_0x683aae(0x37c)](_0xcde080,_0x36d25f,_0x522e8e[_0x683aae(0x392)]['titleFieldId']),'values':_0x36d25f[_0x683aae(0x33e)]}))};}['_normalizeGalleryConfig'](_0x4c39f8,_0x168cb4){const _0x8d3532=_0x396ed2;var _0xc1b793,_0x56658d;let _0x377950=(_0xc1b793=_0x168cb4['card'])==null?{'fieldIds':[]}:_0xc1b793,_0x163a89=_0x377950['titleFieldId']&&_0x4c39f8['fields'][_0x377950['titleFieldId']]?_0x377950['titleFieldId']:un(_0x4c39f8),_0x455b89=this[_0x8d3532(0x351)](_0x4c39f8,_0x168cb4),_0x481c2d=_0x168cb4[_0x8d3532(0x17d)]==='small'||_0x168cb4[_0x8d3532(0x17d)]==='large'?_0x168cb4[_0x8d3532(0x17d)]:_0x8d3532(0x3aa);return{..._0x168cb4,'coverFieldId':_0x455b89,'cardLayout':_0x168cb4[_0x8d3532(0x363)]==='compose'?'compose':_0x8d3532(0x178),'showFieldNames':_0x168cb4[_0x8d3532(0x266)]!==!0x1,'fieldSettings':Object[_0x8d3532(0x185)](Object[_0x8d3532(0x236)]((_0x56658d=_0x168cb4[_0x8d3532(0x193)])==null?{}:_0x56658d)[_0x8d3532(0x24f)](([_0x3263e4])=>!!_0x4c39f8[_0x8d3532(0x2f3)][_0x3263e4])),'card':{..._0x377950,'titleFieldId':_0x163a89,'coverFieldId':_0x455b89,'fieldIds':Array[_0x8d3532(0x3db)](_0x377950[_0x8d3532(0x35a)])?_0x377950[_0x8d3532(0x35a)]:[]},'cardSize':_0x481c2d};}['_resolveGalleryCoverFieldId'](_0x72d16e,_0x29edc2){const _0x1a177e=_0x396ed2;var _0x28a93f,_0x371838,_0x221082;let _0xa0ab43=(_0x28a93f=(_0x371838=_0x29edc2[_0x1a177e(0x1a4)])==null?(_0x221082=_0x29edc2[_0x1a177e(0x392)])==null?void 0x0:_0x221082[_0x1a177e(0x1a4)]:_0x371838)==null?null:_0x28a93f;if(!_0xa0ab43)return null;let _0x1142b9=_0x72d16e[_0x1a177e(0x2f3)][_0xa0ab43];return _0x1142b9&&this[_0x1a177e(0x21c)](_0x1142b9)[_0x1a177e(0x352)]?_0x1142b9['id']:null;}[_0x396ed2(0x209)](_0x292a1e,_0x1666e1,_0x2e2d87){const _0xe73339=_0x396ed2;var _0x55d255,_0x2fae1f,_0x5408c8,_0x457524,_0x5a9044,_0x2061e8,_0x5bb5e2;let _0x1b1503=(_0x55d255=_0x2e2d87[_0xe73339(0x193)])==null?{}:_0x55d255,_0x2416b7=(_0x2fae1f=(_0x5408c8=_0x2e2d87[_0xe73339(0x392)])==null?void 0x0:_0x5408c8[_0xe73339(0x2bd)])==null?un(_0x292a1e):_0x2fae1f,_0x2ef8ca=(_0x457524=(_0x5a9044=_0x2e2d87['coverFieldId'])==null?(_0x2061e8=_0x2e2d87['card'])==null?void 0x0:_0x2061e8[_0xe73339(0x1a4)]:_0x5a9044)==null?null:_0x457524,_0x4c17e2=!((_0x5bb5e2=_0x2e2d87[_0xe73339(0x392)])==null||(_0x5bb5e2=_0x5bb5e2['fieldIds'])==null)&&_0x5bb5e2['length']?_0x2e2d87['card'][_0xe73339(0x35a)]:dn(_0x292a1e,[_0x2416b7,_0x2ef8ca,_0x292a1e[_0xe73339(0x243)]]);return _0x4c17e2['filter'](_0x14de2d=>{const _0x48b0e6=_0xe73339;var _0x4accb6,_0x15d621;let _0x332348=_0x292a1e['fields'][_0x14de2d];return!(!_0x332348||_0x332348['id']===_0x2416b7||_0x332348['id']===_0x2ef8ca||!((_0x4accb6=_0x1666e1['fieldSettings'])==null||(_0x4accb6=_0x4accb6[_0x14de2d])==null)&&_0x4accb6[_0x48b0e6(0x1bd)]||(_0x15d621=_0x1b1503[_0x14de2d])!=null&&_0x15d621['hidden']);})[_0xe73339(0x314)]((_0x38621e,_0xd03022)=>{const _0x4be953=_0xe73339;var _0x1f8b8c,_0x450860,_0x183cbe,_0xfbafe3;return((_0x1f8b8c=(_0x450860=_0x1b1503[_0x38621e])==null?void 0x0:_0x450860[_0x4be953(0x375)])==null?_0x4c17e2[_0x4be953(0x400)](_0x38621e):_0x1f8b8c)-((_0x183cbe=(_0xfbafe3=_0x1b1503[_0xd03022])==null?void 0x0:_0xfbafe3['order'])==null?_0x4c17e2[_0x4be953(0x400)](_0xd03022):_0x183cbe);});}[_0x396ed2(0x164)](_0x574d19,_0x46f772){const _0x4bb5f=_0x396ed2;var _0x2a43b7;return((_0x2a43b7=_0x46f772['fieldOrder'])!=null&&_0x2a43b7[_0x4bb5f(0x1dd)]?_0x46f772[_0x4bb5f(0x201)]:_0x574d19[_0x4bb5f(0x201)])['flatMap'](_0x181790=>{const _0x454acf=_0x4bb5f;var _0x3053bb,_0x8ae058;let _0x58b85a=_0x574d19[_0x454acf(0x2f3)][_0x181790],_0x503430=(_0x3053bb=(_0x8ae058=_0x46f772[_0x454acf(0x193)])==null?void 0x0:_0x8ae058[_0x181790])==null?{}:_0x3053bb;return!_0x58b85a||_0x503430[_0x454acf(0x1bd)]?[]:[{'id':_0x58b85a['id'],'name':_0x58b85a[_0x454acf(0x28c)],'description':_0x58b85a[_0x454acf(0x1a0)],'type':_0x58b85a['type'],'config':_0x58b85a['config'],'width':_0x503430[_0x454acf(0x21e)],'setting':_0x503430}];});}[_0x396ed2(0x27e)](_0x44caaf,_0x7d0206){const _0xe27cc1=_0x396ed2;var _0x430c2c,_0x46c756,_0xc5ccc8;return T('BaseProjection.projectRows',()=>{const _0x28af6b=_0x5744;var _0x23d197,_0xeefb42,_0x3dbd5d,_0x10622a;let _0xf50ca4=this[_0x28af6b(0x3fa)](_0x44caaf),_0x3b9369=this[_0x28af6b(0x3a4)](_0x44caaf['id'],_0x7d0206),_0x6598c0=this[_0x28af6b(0x264)](_0x44caaf['id']),_0xad4bdb=this['_projectedViewRowsCache']['get'](_0x3b9369);if(_0xad4bdb&&_0xad4bdb[_0x28af6b(0x1d2)]===this['_globalRevision']&&_0xad4bdb['tableRevision']===this[_0x28af6b(0x288)](_0x44caaf['id'])){if(_0xad4bdb[_0x28af6b(0x2d8)]===_0x6598c0&&_0xad4bdb[_0x28af6b(0x226)]===_0xf50ca4)return _0xad4bdb[_0x28af6b(0x270)];if(_0xad4bdb['cellRevision']!==_0x6598c0&&!this[_0x28af6b(0x3eb)](_0x44caaf['id'],_0xad4bdb[_0x28af6b(0x2d8)],_0x6598c0,this[_0x28af6b(0x23c)](_0x7d0206))){let _0x4393f4=_0xad4bdb[_0x28af6b(0x270)]===_0xad4bdb[_0x28af6b(0x226)]?_0xf50ca4:this[_0x28af6b(0x22f)](_0xad4bdb[_0x28af6b(0x270)],_0xf50ca4);if(_0x4393f4)return this[_0x28af6b(0x2f6)]['set'](_0x3b9369,{..._0xad4bdb,'rows':_0x4393f4,'baseRows':_0xf50ca4,'cellRevision':_0x6598c0}),_0x4393f4;}}let _0xdb931a=T(_0x28af6b(0x1fb),()=>this[_0x28af6b(0x36d)](_0x44caaf,_0x7d0206,this['_filterRows'](_0x44caaf,_0x7d0206,_0xf50ca4)),{'tableId':_0x44caaf['id'],'viewId':_0x7d0206==null?void 0x0:_0x7d0206['id'],'viewType':_0x7d0206==null?void 0x0:_0x7d0206['type'],'rows':_0xf50ca4[_0x28af6b(0x1dd)],'filters':(_0x23d197=_0x7d0206==null||(_0xeefb42=_0x7d0206[_0x28af6b(0x24f)])==null?void 0x0:_0xeefb42[_0x28af6b(0x31f)][_0x28af6b(0x1dd)])==null?0x0:_0x23d197,'sorts':(_0x3dbd5d=_0x7d0206==null||(_0x10622a=_0x7d0206[_0x28af6b(0x314)])==null?void 0x0:_0x10622a['length'])==null?0x0:_0x3dbd5d});return this[_0x28af6b(0x2f6)][_0x28af6b(0x387)](_0x3b9369,{'table':_0x44caaf,'rows':_0xdb931a,'baseRows':_0xf50ca4,'globalRevision':this[_0x28af6b(0x280)],'tableRevision':this['_getTableRevision'](_0x44caaf['id']),'cellRevision':_0x6598c0}),_0xdb931a;},{'tableId':_0x44caaf['id'],'viewId':_0x7d0206==null?void 0x0:_0x7d0206['id'],'viewType':_0x7d0206==null?void 0x0:_0x7d0206[_0xe27cc1(0x415)],'records':(_0x430c2c=(_0x46c756=_0x44caaf[_0xe27cc1(0x3ab)])==null?void 0x0:_0x46c756[_0xe27cc1(0x1dd)])==null?Object[_0xe27cc1(0x234)]((_0xc5ccc8=_0x44caaf[_0xe27cc1(0x1ce)])==null?{}:_0xc5ccc8)[_0xe27cc1(0x1dd)]:_0x430c2c});}[_0x396ed2(0x3fa)](_0xc6da22){const _0xe002c8=_0x396ed2;var _0x2ff6f0,_0x251baa,_0x23dd5d;return T(_0xe002c8(0x386),()=>{const _0x35e8bc=_0xe002c8;var _0x53dbe7;let _0x2b4f4a=this[_0x35e8bc(0x264)](_0xc6da22['id']),_0x5ec0bd=this[_0x35e8bc(0x292)][_0x35e8bc(0x2bb)](_0xc6da22['id']);if(_0x5ec0bd&&_0x5ec0bd[_0x35e8bc(0x1d2)]===this['_globalRevision']&&_0x5ec0bd[_0x35e8bc(0x304)]===this[_0x35e8bc(0x288)](_0xc6da22['id'])){if(_0x5ec0bd[_0x35e8bc(0x2d8)]===_0x2b4f4a&&_0x5ec0bd[_0x35e8bc(0x328)]===_0xc6da22)return _0x5ec0bd[_0x35e8bc(0x270)];let _0xbcb09c=this['_patchProjectedRowsForCellInvalidations'](_0xc6da22,_0x5ec0bd,_0x2b4f4a);if(_0xbcb09c)return _0xbcb09c;}Sn(_0xc6da22)||E(_0xc6da22);let _0x230d58=(_0x53dbe7=_0xc6da22['recordOrder'])!=null&&_0x53dbe7[_0x35e8bc(0x1dd)]?_0xc6da22[_0x35e8bc(0x3ab)]:En(_0xc6da22[_0x35e8bc(0x1ce)]),_0x42127f=T('BaseProjection.materializeTableRows',()=>{const _0x726ddb=_0x35e8bc;let _0x1f0dc9=[];for(let _0xc8f990 of _0x230d58){let _0x56b736=_0xc6da22[_0x726ddb(0x1ce)][_0xc8f990];if(!_0x56b736)continue;let _0x213031={};for(let _0x254158 of _0xc6da22['fieldOrder'])_0x213031[_0x254158]=Ee(_0xc6da22,_0x56b736['id'],_0x254158);_0x1f0dc9[_0x726ddb(0x258)]({'recordId':_0x56b736['id'],'values':_0x213031});}return _0x1f0dc9;},{'tableId':_0xc6da22['id'],'records':_0x230d58[_0x35e8bc(0x1dd)],'fields':_0xc6da22['fieldOrder'][_0x35e8bc(0x1dd)]});return this['_projectedRowsCache'][_0x35e8bc(0x387)](_0xc6da22['id'],{'table':_0xc6da22,'rows':_0x42127f,'rowIndexById':xn(_0x42127f),'globalRevision':this[_0x35e8bc(0x280)],'tableRevision':this[_0x35e8bc(0x288)](_0xc6da22['id']),'cellRevision':_0x2b4f4a}),_0x42127f;},{'tableId':_0xc6da22['id'],'records':(_0x2ff6f0=(_0x251baa=_0xc6da22[_0xe002c8(0x3ab)])==null?void 0x0:_0x251baa[_0xe002c8(0x1dd)])==null?Object['keys']((_0x23dd5d=_0xc6da22['records'])==null?{}:_0x23dd5d)[_0xe002c8(0x1dd)]:_0x2ff6f0,'fields':_0xc6da22[_0xe002c8(0x201)][_0xe002c8(0x1dd)]});}[_0x396ed2(0x17e)](_0x47206d,_0x170dc1,_0x2b5d39){const _0x29a247=_0x396ed2;var _0x552e9b,_0x667149;let _0x2fb8e9=((_0x552e9b=this[_0x29a247(0x40f)][_0x29a247(0x2bb)](_0x47206d['id']))==null?[]:_0x552e9b)['filter'](_0xe06e26=>_0xe06e26[_0x29a247(0x342)]>_0x170dc1[_0x29a247(0x2d8)]&&_0xe06e26[_0x29a247(0x342)]<=_0x2b5d39);if(!_0x2fb8e9[_0x29a247(0x1dd)])return _0x170dc1[_0x29a247(0x328)]===_0x47206d?_0x170dc1[_0x29a247(0x270)]:null;let _0x92f5c4=_0x170dc1[_0x29a247(0x270)],_0x3b2cfc=new Map();for(let _0x213bd8 of _0x2fb8e9){let _0x39247a=_0x3b2cfc['get'](_0x213bd8[_0x29a247(0x348)]);_0x39247a||(_0x39247a=new Set(),_0x3b2cfc[_0x29a247(0x387)](_0x213bd8[_0x29a247(0x348)],_0x39247a)),_0x39247a[_0x29a247(0x229)](_0x213bd8[_0x29a247(0x20f)]);}for(let [_0x14f87f,_0x41925f]of _0x3b2cfc){if(!_0x47206d[_0x29a247(0x1ce)][_0x14f87f])return null;let _0x5477fa=_0x170dc1['rowIndexById'][_0x29a247(0x2bb)](_0x14f87f);if(_0x5477fa==null)return null;_0x92f5c4===_0x170dc1[_0x29a247(0x270)]&&(_0x92f5c4=[..._0x170dc1[_0x29a247(0x270)]]);let _0x2388a2=_0x92f5c4[_0x5477fa],_0x48ac71={..._0x2388a2[_0x29a247(0x33e)]};_0x41925f[_0x29a247(0x3d3)](_0x33bb95=>{_0x48ac71[_0x33bb95]=Ee(_0x47206d,_0x14f87f,_0x33bb95);}),_0x92f5c4[_0x5477fa]={..._0x2388a2,'values':_0x48ac71};}let _0x10f87a={'table':_0x47206d,'rows':_0x92f5c4,'rowIndexById':_0x170dc1[_0x29a247(0x1c6)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x29a247(0x288)](_0x47206d['id']),'cellRevision':_0x2b5d39};return this[_0x29a247(0x292)][_0x29a247(0x387)](_0x47206d['id'],_0x10f87a),this[_0x29a247(0x40f)][_0x29a247(0x387)](_0x47206d['id'],((_0x667149=this[_0x29a247(0x40f)][_0x29a247(0x2bb)](_0x47206d['id']))==null?[]:_0x667149)[_0x29a247(0x24f)](_0x465b74=>_0x465b74[_0x29a247(0x342)]>Math[_0x29a247(0x422)](0x0,_0x2b5d39-0x100))),_0x92f5c4;}[_0x396ed2(0x22f)](_0x183cd0,_0x4605c3){const _0x4b0b4e=_0x396ed2;let _0x5c7891=new Map(_0x4605c3[_0x4b0b4e(0x22a)](_0x5b47c2=>[_0x5b47c2[_0x4b0b4e(0x348)],_0x5b47c2])),_0x5576c0=!0x1,_0x1a0bd7=_0x183cd0[_0x4b0b4e(0x22a)](_0x4a51db=>{const _0x590183=_0x4b0b4e;let _0x16ed5b=_0x5c7891['get'](_0x4a51db[_0x590183(0x348)]);return _0x16ed5b?_0x16ed5b===_0x4a51db?_0x4a51db:(_0x5576c0=!0x0,_0x16ed5b):_0x4a51db;});return _0x5576c0?_0x1a0bd7:_0x183cd0;}[_0x396ed2(0x3eb)](_0x535a27,_0x6e3cfd,_0x360b9b,_0x1ca6ef){const _0x393660=_0x396ed2;var _0x21c96c;return!_0x1ca6ef[_0x393660(0x374)]||_0x6e3cfd===_0x360b9b?!0x1:_0x360b9b-_0x6e3cfd>0x100?!0x0:((_0x21c96c=this[_0x393660(0x40f)][_0x393660(0x2bb)](_0x535a27))==null?[]:_0x21c96c)[_0x393660(0x24c)](_0x1772b8=>_0x1772b8[_0x393660(0x342)]>_0x6e3cfd&&_0x1772b8[_0x393660(0x342)]<=_0x360b9b&&_0x1ca6ef[_0x393660(0x1c2)](_0x1772b8[_0x393660(0x20f)]));}[_0x396ed2(0x23c)](_0x30ae64){const _0x322b1d=_0x396ed2;var _0x50189b,_0x1ed171;let _0x7ac8f4=new Set();return _0x30ae64==null||(_0x50189b=_0x30ae64['filter'])==null||_0x50189b[_0x322b1d(0x31f)][_0x322b1d(0x3d3)](_0x560e42=>_0x7ac8f4[_0x322b1d(0x229)](_0x560e42['fieldId'])),_0x30ae64==null||(_0x1ed171=_0x30ae64[_0x322b1d(0x314)])==null||_0x1ed171[_0x322b1d(0x3d3)](_0x372141=>_0x7ac8f4[_0x322b1d(0x229)](_0x372141['fieldId'])),_0x7ac8f4;}['_groupProjectionFieldIds'](_0x1a96ff){const _0x1ca8f5=_0x396ed2;var _0x15a3c6;let _0x140528=this[_0x1ca8f5(0x23c)](_0x1a96ff);return(_0x15a3c6=_0x1a96ff[_0x1ca8f5(0x1e0)])==null||_0x15a3c6[_0x1ca8f5(0x3d3)](_0x378e0c=>_0x140528[_0x1ca8f5(0x229)](_0x378e0c['fieldId'])),_0x140528;}[_0x396ed2(0x32f)](_0x7b3ada,_0x21f91d,_0x5f4765){const _0x3b0dbc=_0x396ed2;let _0x27eb1a=_0x21f91d==null?void 0x0:_0x21f91d['filter'];if(!(_0x27eb1a!=null&&_0x27eb1a[_0x3b0dbc(0x31f)][_0x3b0dbc(0x1dd)]))return _0x5f4765;let _0x5949db=_0x27eb1a[_0x3b0dbc(0x31f)]['filter'](_0x1a71e9=>!Kn(_0x1a71e9));return _0x5949db[_0x3b0dbc(0x1dd)]?_0x5f4765[_0x3b0dbc(0x24f)](_0x3c3b40=>{const _0x520227=_0x3b0dbc;if(_0x27eb1a[_0x520227(0x2b8)]===_0x1b2ae1['OR']){for(let _0x30b04a of _0x5949db){let _0x2d9575=_0x7b3ada[_0x520227(0x2f3)][_0x30b04a[_0x520227(0x20f)]];if(!_0x2d9575||this[_0x520227(0x39c)]['get'](_0x2d9575['type'])[_0x520227(0x24f)](_0x3c3b40['values'][_0x2d9575['id']],_0x30b04a[_0x520227(0x405)],_0x30b04a['operand'],_0x2d9575))return!0x0;}return!0x1;}for(let _0x44b0bb of _0x5949db){let _0x5bb083=_0x7b3ada[_0x520227(0x2f3)][_0x44b0bb[_0x520227(0x20f)]];if(_0x5bb083&&!this[_0x520227(0x39c)][_0x520227(0x2bb)](_0x5bb083[_0x520227(0x415)])[_0x520227(0x24f)](_0x3c3b40['values'][_0x5bb083['id']],_0x44b0bb[_0x520227(0x405)],_0x44b0bb[_0x520227(0x2ee)],_0x5bb083))return!0x1;}return!0x0;}):_0x5f4765;}[_0x396ed2(0x36d)](_0x42d42d,_0x61304c,_0x5e191a){const _0x21e9bd=_0x396ed2;var _0x18162a;let _0x4d5935=(_0x18162a=_0x61304c==null?void 0x0:_0x61304c[_0x21e9bd(0x314)])==null?[]:_0x18162a;if(!_0x4d5935[_0x21e9bd(0x1dd)])return _0x5e191a;let _0x2bade2=_0x4d5935['flatMap'](_0x477b18=>{const _0x4b2503=_0x21e9bd;let _0x270ee2=_0x42d42d['fields'][_0x477b18[_0x4b2503(0x20f)]];return _0x270ee2?[{..._0x477b18,'field':_0x270ee2}]:[];});return _0x2bade2[_0x21e9bd(0x1dd)]?this['_canUseFastSort'](_0x2bade2)?this[_0x21e9bd(0x2eb)](_0x2bade2,_0x5e191a):[..._0x5e191a][_0x21e9bd(0x314)]((_0x3f0f9c,_0x559cc6)=>{const _0x247428=_0x21e9bd;for(let _0x208989 of _0x2bade2){let _0x54a527=_0x208989[_0x247428(0x232)],_0x305e7b=this['_fieldRegistry'][_0x247428(0x2bb)](_0x54a527['type'])[_0x247428(0x20a)](_0x3f0f9c['values'][_0x54a527['id']],_0x559cc6[_0x247428(0x33e)][_0x54a527['id']],_0x54a527);if(_0x305e7b!==0x0)return _0x208989['direction']===_0x54483d[_0x247428(0x38d)]?-_0x305e7b:_0x305e7b;}return 0x0;}):_0x5e191a;}['_canUseFastSort'](_0x14963){const _0x541dac=_0x396ed2;return _0x14963[_0x541dac(0x28f)](_0x51d69e=>vn[_0x541dac(0x1c2)](_0x51d69e[_0x541dac(0x232)]['type']));}['_fastSortRows'](_0x5b4220,_0x177123){const _0x4de086=_0x396ed2;return _0x177123['map']((_0x1830cc,_0x28defc)=>({'row':_0x1830cc,'index':_0x28defc,'keys':_0x5b4220[_0x4de086(0x22a)](_0x1c091e=>_0x1830cc['values'][_0x1c091e['fieldId']])}))[_0x4de086(0x314)]((_0xfab8b7,_0x577c8f)=>{const _0x5c7323=_0x4de086;for(let _0x2ca567=0x0;_0x2ca567<_0x5b4220[_0x5c7323(0x1dd)];_0x2ca567++){let _0x3a7233=Gn(_0xfab8b7[_0x5c7323(0x234)][_0x2ca567],_0x577c8f['keys'][_0x2ca567]);if(_0x3a7233!==0x0)return _0x5b4220[_0x2ca567][_0x5c7323(0x1b2)]===_0x54483d[_0x5c7323(0x38d)]?-_0x3a7233:_0x3a7233;}return _0xfab8b7[_0x5c7323(0x362)]-_0x577c8f[_0x5c7323(0x362)];})['map'](_0x49001c=>_0x49001c[_0x4de086(0x284)]);}[_0x396ed2(0x265)](_0x58a2ce,_0x33d896,_0x1598b0){var _0x4d1108,_0x369194;return T('BaseProjection.projectGroups',()=>{const _0x97887=_0x5744;var _0x24de99;if(!((_0x24de99=_0x33d896['group'])!=null&&_0x24de99[_0x97887(0x1dd)]))return[];let _0x107381=_0x33d896[_0x97887(0x1e0)][_0x97887(0x24f)](_0x507742=>_0x58a2ce[_0x97887(0x2f3)][_0x507742[_0x97887(0x20f)]]);if(!_0x107381[_0x97887(0x1dd)])return[];let _0x5c6809=this[_0x97887(0x2e0)](_0x58a2ce['id'],_0x33d896,_0x107381),_0x33170b=this[_0x97887(0x264)](_0x58a2ce['id']),_0x5492f7=this[_0x97887(0x20e)]['get'](_0x5c6809);if(_0x5492f7&&_0x5492f7['globalRevision']===this[_0x97887(0x280)]&&_0x5492f7[_0x97887(0x304)]===this[_0x97887(0x288)](_0x58a2ce['id'])){if(_0x5492f7['cellRevision']===_0x33170b&&_0x5492f7['rows']===_0x1598b0)return _0x5492f7['groups'];if(_0x5492f7[_0x97887(0x2d8)]!==_0x33170b&&!this['_cellInvalidationsTouchFields'](_0x58a2ce['id'],_0x5492f7[_0x97887(0x2d8)],_0x33170b,this[_0x97887(0x191)](_0x33d896)))return this[_0x97887(0x20e)][_0x97887(0x387)](_0x5c6809,{..._0x5492f7,'rows':_0x1598b0,'cellRevision':_0x33170b}),_0x5492f7[_0x97887(0x366)];}let _0x3d0f52=new Map();for(let _0x28a88c of _0x1598b0){let _0x5d085a=_0x3d0f52,_0x10c9f4='';for(let _0x8b86c8=0x0;_0x8b86c8<_0x107381[_0x97887(0x1dd)];_0x8b86c8++){let _0x358409=_0x107381[_0x8b86c8],_0x3afdc7=_0x28a88c[_0x97887(0x33e)][_0x358409[_0x97887(0x20f)]],_0x9a0ce6=bn(_0x3afdc7),_0x1bb6c3=_0x358409[_0x97887(0x20f)]+'\x00'+_0x9a0ce6,_0x379b66=_0x10c9f4+'/'+_0x358409[_0x97887(0x20f)]+':'+_0x9a0ce6,_0x4c6852=_0x5d085a[_0x97887(0x2bb)](_0x1bb6c3);_0x4c6852||(_0x4c6852={'key':_0x9a0ce6,'value':_0x3afdc7,'path':_0x379b66,'label':_0x9a0ce6||'Empty','fieldId':_0x358409[_0x97887(0x20f)],'level':_0x8b86c8,'recordIds':[],'children':new Map()},_0x5d085a[_0x97887(0x387)](_0x1bb6c3,_0x4c6852)),_0x4c6852[_0x97887(0x331)]['push'](_0x28a88c[_0x97887(0x348)]),_0x5d085a=_0x4c6852[_0x97887(0x3d4)],_0x10c9f4=_0x379b66;}}let _0x4cfe1b=this['_materializeGroups'](_0x107381,_0x3d0f52,0x0);return this[_0x97887(0x20e)][_0x97887(0x387)](_0x5c6809,{'table':_0x58a2ce,'rows':_0x1598b0,'groups':_0x4cfe1b,'globalRevision':this[_0x97887(0x280)],'tableRevision':this[_0x97887(0x288)](_0x58a2ce['id']),'cellRevision':_0x33170b}),_0x4cfe1b;},{'tableId':_0x58a2ce['id'],'viewId':_0x33d896['id'],'viewType':_0x33d896['type'],'rows':_0x1598b0['length'],'groupFields':(_0x4d1108=(_0x369194=_0x33d896['group'])==null?void 0x0:_0x369194['length'])==null?0x0:_0x4d1108});}[_0x396ed2(0x277)](_0x4b4d3c,_0x26298a,_0x186cf3){const _0xda8a54=_0x396ed2;var _0x531fdc;let _0x2e5eab=Array[_0xda8a54(0x34b)](_0x26298a[_0xda8a54(0x33e)]()),_0x29ab8b=(_0x531fdc=_0x4b4d3c[_0x186cf3])==null?void 0x0:_0x531fdc['direction'];return _0x29ab8b&&_0x2e5eab[_0xda8a54(0x314)]((_0x490725,_0x3a924c)=>{const _0x120711=_0xda8a54;let _0x4e17d0=_0x490725[_0x120711(0x194)]['localeCompare'](_0x3a924c['key']);return _0x29ab8b===_0x54483d[_0x120711(0x38d)]?-_0x4e17d0:_0x4e17d0;}),_0x2e5eab[_0xda8a54(0x22a)](_0x3dbf25=>({'key':_0x3dbf25['key'],'value':_0x3dbf25[_0xda8a54(0x34e)],'path':_0x3dbf25[_0xda8a54(0x398)],'label':_0x3dbf25[_0xda8a54(0x175)],'fieldId':_0x3dbf25[_0xda8a54(0x20f)],'level':_0x3dbf25[_0xda8a54(0x414)],'recordIds':_0x3dbf25['recordIds'],'children':this[_0xda8a54(0x277)](_0x4b4d3c,_0x3dbf25[_0xda8a54(0x3d4)],_0x186cf3+0x1)}));}[_0x396ed2(0x37c)](_0x15f037,_0x2f0873,_0x164736){const _0x5742a4=_0x396ed2;let _0x2b505e=_0x164736==null?_0x15f037[_0x5742a4(0x243)]:_0x164736,_0xc59c28=_0x2f0873[_0x5742a4(0x33e)][_0x2b505e];return _0xc59c28==null?'':String(_0xc59c28);}[_0x396ed2(0x436)](_0x3e84cb){const _0x3f9f4b=_0x396ed2;if(Array[_0x3f9f4b(0x3db)](_0x3e84cb))return _0x3e84cb[_0x3f9f4b(0x22a)](String);if(typeof _0x3e84cb==_0x3f9f4b(0x247)&&_0x3e84cb)return[_0x3e84cb];}[_0x396ed2(0x21c)](_0x2e55e2){const _0x3d763e=_0x396ed2;return this[_0x3d763e(0x39c)][_0x3d763e(0x2bb)](_0x2e55e2['type'])[_0x3d763e(0x161)](_0x2e55e2);}};yn=U([H(0x0,_0x351210(en))],yn);function bn(_0x40139f){return _0x40139f==null?'':String(_0x40139f);}function xn(_0x146a8a){const _0x511218=_0x396ed2;return new Map(_0x146a8a[_0x511218(0x22a)]((_0x1c61d2,_0x10b19d)=>[_0x1c61d2[_0x511218(0x348)],_0x10b19d]));}function Sn(_0x1bb88a){const _0x3c3539=_0x396ed2;return!!(Array[_0x3c3539(0x3db)](_0x1bb88a[_0x3c3539(0x3ab)])&&_0x1bb88a[_0x3c3539(0x2f0)]&&_0x1bb88a[_0x3c3539(0x2d2)]&&_0x1bb88a[_0x3c3539(0x158)]&&_0x1bb88a['colId']&&_0x1bb88a[_0x3c3539(0x34c)]);}function Cn(_0xb39da1){const _0x12872c=_0x396ed2;return _0xb39da1!=null&&_0xb39da1['conditions'][_0x12872c(0x1dd)]?{'conjunction':_0xb39da1[_0x12872c(0x2b8)],'conditions':_0xb39da1[_0x12872c(0x31f)][_0x12872c(0x22a)](_0x44b1be=>({'fieldId':_0x44b1be[_0x12872c(0x20f)],'operator':_0x44b1be[_0x12872c(0x405)],'operand':_0x44b1be[_0x12872c(0x2ee)]}))}:null;}function wn(_0xc774e7){const _0x378f33=_0x396ed2;return _0xc774e7!=null&&_0xc774e7[_0x378f33(0x1dd)]?_0xc774e7[_0x378f33(0x22a)](_0x55428b=>({'fieldId':_0x55428b['fieldId'],'direction':_0x55428b[_0x378f33(0x1b2)]})):null;}function Tn(_0x20f38d){const _0x1ea40e=_0x396ed2;if(typeof _0x20f38d!=_0x1ea40e(0x25a)||!_0x20f38d){var _0x5521d2;return(_0x5521d2=JSON['stringify'](_0x20f38d))==null?_0x1ea40e(0x30b):_0x5521d2;}if(Array[_0x1ea40e(0x3db)](_0x20f38d))return'['+_0x20f38d[_0x1ea40e(0x22a)](Tn)['join'](',')+']';let _0x173eac=_0x20f38d;return'{'+Object[_0x1ea40e(0x234)](_0x173eac)[_0x1ea40e(0x314)]()[_0x1ea40e(0x22a)](_0x537e04=>JSON['stringify'](_0x537e04)+':'+Tn(_0x173eac[_0x537e04]))['join'](',')+'}';}function En(_0x3ec54e){const _0x228d8a=_0x396ed2;let _0x328f9c=Object[_0x228d8a(0x33e)](_0x3ec54e)[_0x228d8a(0x314)]((_0x381a7,_0x115fa3)=>_0x381a7[_0x228d8a(0x2a9)][_0x228d8a(0x23e)](_0x115fa3[_0x228d8a(0x2a9)])),_0x1fbaf9=[];for(let _0x216b2f of _0x328f9c)_0x1fbaf9[_0x228d8a(0x258)](_0x216b2f['id']);return _0x1fbaf9;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x4675a8){const _0x4537c1=_0x396ed2;return{'weekdays':Array[_0x4537c1(0x3db)](_0x4675a8==null?void 0x0:_0x4675a8[_0x4537c1(0x195)])&&_0x4675a8['weekdays'][_0x4537c1(0x1dd)]?[...new Set(_0x4675a8['weekdays'][_0x4537c1(0x24f)](_0x3d4ab2=>Number['isInteger'](_0x3d4ab2)&&_0x3d4ab2>=0x1&&_0x3d4ab2<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x4675a8==null?void 0x0:_0x4675a8[_0x4537c1(0x325)])?_0x4675a8[_0x4537c1(0x325)]['flatMap'](_0x27b17a=>!_0x27b17a||!Number[_0x4537c1(0x1da)](_0x27b17a['date'])?[]:[{'id':String(_0x27b17a['id']||'exception-'+_0x27b17a[_0x4537c1(0x200)]),'date':K(Number(_0x27b17a[_0x4537c1(0x200)])),'name':String(_0x27b17a[_0x4537c1(0x28c)]||_0x4537c1(0x25b)),'type':_0x27b17a[_0x4537c1(0x415)]===_0x4537c1(0x211)?'working':'off'}]):[]};}function On(_0x54fa7a,_0x31cecb,_0x360905,_0x4d60ca){let _0x10d710=Mn(_0x54fa7a,_0x31cecb),_0x4a3fd5=Nn(_0x54fa7a,_0x360905),_0x536ff8=kn(_0x54fa7a,_0x10d710,_0x4a3fd5,_0x4d60ca);return{'scale':_0x54fa7a,'start':_0x10d710,'end':_0x4a3fd5,'unitWidth':jn(_0x54fa7a),'majorHeaders':An(_0x54fa7a,_0x10d710,_0x4a3fd5),'columns':_0x536ff8};}function kn(_0x177185,_0x184212,_0x1709ef,_0x5f028e){const _0x3ddfb5=_0x396ed2;let _0xf4a5be=[],_0x5e8622=_0x184212;for(;_0x5e8622<_0x1709ef;){let _0x4f0e95=_0x177185==='quarter'?q(_0x5e8622,0x7):_0x177185===_0x3ddfb5(0x15b)?Hn(_0x5e8622,0x1):q(_0x5e8622,0x1);_0xf4a5be['push']({'id':_0x177185+'-'+_0x5e8622,'label':Pn(_0x177185,_0x5e8622,_0x4f0e95),'majorLabel':Fn(_0x177185,_0x5e8622),'start':_0x5e8622,'end':_0x4f0e95,'nonWorking':Ln(_0x5e8622,_0x4f0e95,_0x5f028e)}),_0x5e8622=_0x4f0e95;}return _0xf4a5be;}function An(_0x448bc3,_0x2ad657,_0x8af9b6){const _0x910398=_0x396ed2;let _0x58e66f=[],_0x4674cd=_0x448bc3==='year'?Vn(_0x2ad657):Bn(_0x2ad657);for(;_0x4674cd<_0x8af9b6;){let _0x5e58d1=_0x448bc3===_0x910398(0x15b)?Un(_0x4674cd,0x1):Hn(_0x4674cd,0x1);_0x58e66f[_0x910398(0x258)]({'id':_0x910398(0x3bf)+_0x4674cd,'label':_0x448bc3==='year'?String(new Date(_0x4674cd)['getUTCFullYear']()):Wn(_0x4674cd),'start':_0x4674cd,'end':_0x5e58d1}),_0x4674cd=_0x5e58d1;}return _0x58e66f;}function jn(_0x44548e){const _0x57ee57=_0x396ed2;switch(_0x44548e){case'week':return 0xac;case _0x57ee57(0x37f):return 0xac;case _0x57ee57(0x15b):return 0x88;default:return 0x56;}}function Mn(_0x5cb70e,_0x5208b1){const _0x178b53=_0x396ed2;return _0x5cb70e===_0x178b53(0x15b)?Vn(_0x5208b1):_0x5cb70e==='quarter'?zn(_0x5208b1):K(_0x5208b1);}function Nn(_0x225a74,_0x75004){const _0x3a8484=_0x396ed2;return _0x225a74===_0x3a8484(0x15b)?Un(Vn(_0x75004),0x1):_0x225a74==='quarter'?q(zn(_0x75004),0x7):q(K(_0x75004),0x1);}function Pn(_0x307fc6,_0x59994e,_0x3be7d9){const _0x31a686=_0x396ed2;let _0x488da6=new Date(_0x59994e);return _0x307fc6===_0x31a686(0x37f)?_0x488da6[_0x31a686(0x2d5)]()+'-'+new Date(_0x3be7d9-G)['getUTCDate']():_0x307fc6===_0x31a686(0x15b)?_0x488da6[_0x31a686(0x27d)](_0x31a686(0x3b2),{'month':_0x31a686(0x3dd),'timeZone':'UTC'}):String(_0x488da6[_0x31a686(0x2d5)]());}function Fn(_0xbd618a,_0x44a8b0){const _0x4df5a2=_0x396ed2;return _0xbd618a==='year'?String(new Date(_0x44a8b0)[_0x4df5a2(0x283)]()):Wn(_0x44a8b0);}function In(_0x5dba29,_0x1f64cb,_0x41fb45){let _0x4ad4d7=Dn(_0x41fb45),_0x24040e=0x0;for(let _0x381137=K(_0x5dba29);_0x381137<=K(_0x1f64cb);_0x381137=q(_0x381137,0x1))Rn(_0x381137,_0x4ad4d7)||_0x24040e++;return _0x24040e;}function Ln(_0x4b7cc1,_0x54cfd8,_0x49bf11){if(!_0x49bf11)return!0x1;let _0x5cac0a=Dn(_0x49bf11);for(let _0x49e360=K(_0x4b7cc1);_0x49e360<_0x54cfd8;_0x49e360=q(_0x49e360,0x1))if(!Rn(_0x49e360,_0x5cac0a))return!0x1;return!0x0;}function Rn(_0x5a6206,_0x2227b7){const _0x52787a=_0x396ed2;let _0x1ca3ee=K(_0x5a6206),_0x4b0818=_0x2227b7['exceptions']['find'](_0x37b065=>K(_0x37b065[_0x52787a(0x200)])===_0x1ca3ee);if(_0x4b0818)return _0x4b0818['type']==='off';let _0x52e408=new Date(_0x1ca3ee)['getUTCDay'](),_0x1aa8bb=_0x52e408===0x0?0x7:_0x52e408;return!_0x2227b7[_0x52787a(0x195)][_0x52787a(0x323)](_0x1aa8bb);}function K(_0x12728c){const _0x1371c7=_0x396ed2;let _0x4ebdd9=new Date(_0x12728c);return Date[_0x1371c7(0x3a9)](_0x4ebdd9[_0x1371c7(0x283)](),_0x4ebdd9[_0x1371c7(0x3bc)](),_0x4ebdd9['getUTCDate']());}function zn(_0x41fbef){const _0x22d550=_0x396ed2;let _0x30e95c=K(_0x41fbef),_0x3f6ec6=new Date(_0x30e95c)[_0x22d550(0x168)]();return q(_0x30e95c,-(_0x3f6ec6===0x0?0x6:_0x3f6ec6-0x1));}function Bn(_0x5729c3){const _0x5d2ea9=_0x396ed2;let _0x41d09e=new Date(_0x5729c3);return Date[_0x5d2ea9(0x3a9)](_0x41d09e[_0x5d2ea9(0x283)](),_0x41d09e['getUTCMonth'](),0x1);}function Vn(_0x56772b){const _0x26d37c=_0x396ed2;let _0x22105a=new Date(_0x56772b);return Date['UTC'](_0x22105a[_0x26d37c(0x283)](),0x0,0x1);}function q(_0x4e6cff,_0x2572b0){return _0x4e6cff+_0x2572b0*G;}function Hn(_0x53b9cd,_0x3d0527){const _0x16d766=_0x396ed2;let _0x43a0a5=new Date(_0x53b9cd);return Date[_0x16d766(0x3a9)](_0x43a0a5[_0x16d766(0x283)](),_0x43a0a5['getUTCMonth']()+_0x3d0527,0x1);}function Un(_0x329ae5,_0x48c081){const _0x157485=_0x396ed2;let _0x3c88a2=new Date(_0x329ae5);return Date[_0x157485(0x3a9)](_0x3c88a2['getUTCFullYear']()+_0x48c081,0x0,0x1);}function Wn(_0x378147){const _0x22b5b8=_0x396ed2;let _0x3308ff=new Date(_0x378147);return _0x3308ff[_0x22b5b8(0x27d)]('en-US',{'month':_0x22b5b8(0x3dd),'timeZone':'UTC'})+'\x20'+_0x3308ff[_0x22b5b8(0x283)]();}function Gn(_0x1b89b4,_0x449887){const _0x5950dc=_0x396ed2;if(_0x1b89b4==null&&_0x449887==null)return 0x0;if(_0x1b89b4==null)return-0x1;if(_0x449887==null)return 0x1;if(typeof _0x1b89b4==_0x5950dc(0x424)||typeof _0x449887==_0x5950dc(0x424))return Number(_0x1b89b4===!0x0)-Number(_0x449887===!0x0);let _0x3ec37e=Number(_0x1b89b4),_0x2a2ffa=Number(_0x449887),_0x4cbc8b=Number['isFinite'](_0x3ec37e),_0x45dd1c=Number[_0x5950dc(0x1da)](_0x2a2ffa);return _0x4cbc8b&&_0x45dd1c?_0x3ec37e-_0x2a2ffa:_0x4cbc8b?0x1:_0x45dd1c?-0x1:String(_0x1b89b4)[_0x5950dc(0x23e)](String(_0x449887));}function Kn(_0x49be49){const _0x572c17=_0x396ed2;if(_0x49be49[_0x572c17(0x405)]!=='is'&&_0x49be49[_0x572c17(0x405)]!==_0x572c17(0x388))return!0x1;let _0x263bae=_0x49be49['operand'];return _0x263bae==null?!0x0:typeof _0x263bae=='string'?_0x263bae[_0x572c17(0x317)]()==='':Array[_0x572c17(0x3db)](_0x263bae)?_0x263bae[_0x572c17(0x1dd)]===0x0:!0x1;}function J(_0x5a4c9f,_0x3ca0e4){const _0x37e742=_0x396ed2;var _0xa8715d;let _0x55c4a6=Array[_0x37e742(0x3db)]((_0xa8715d=_0x5a4c9f[_0x37e742(0x285)])==null?void 0x0:_0xa8715d[_0x37e742(0x198)])?_0x5a4c9f['config'][_0x37e742(0x198)]:[];for(let _0x3b0441 of _0x55c4a6){var _0x2d0bd4,_0x13432e,_0x49cb06,_0x2baffc;if(_0x3b0441==null)continue;if(typeof _0x3b0441==_0x37e742(0x247)){if(_0x3b0441===_0x3ca0e4)return{'id':_0x3b0441,'name':_0x3b0441};continue;}let _0xb110e5=_0x3b0441,_0x5bcff0=String((_0x2d0bd4=(_0x13432e=_0xb110e5['id'])==null?_0xb110e5['name']:_0x13432e)==null?'':_0x2d0bd4),_0x51e5dd=String((_0x49cb06=(_0x2baffc=_0xb110e5['name'])==null?_0xb110e5['id']:_0x2baffc)==null?_0x5bcff0:_0x49cb06);if(_0x5bcff0===_0x3ca0e4||_0x51e5dd===_0x3ca0e4)return{'id':_0x5bcff0,'name':_0x51e5dd,'color':_0xb110e5['color']==null?void 0x0:String(_0xb110e5[_0x37e742(0x27b)])};}return null;}const Y={'id':_0x396ed2(0x42f),'type':_0x533ada['MUTATION'],'handler'(_0x4806d4,_0x1ab367){const _0x3405d9=_0x396ed2;let {unitId:_0x5049fd,op:_0x5a1913}=_0x1ab367,_0x23e812=_0x4806d4[_0x3405d9(0x2bb)](_0x726745)[_0x3405d9(0x248)](_0x5049fd,_0x545be5['UNIVER_BASE']);if(!_0x23e812)return!0x1;let _0x9f7c4=_0x23e812[_0x3405d9(0x2d9)](),_0x3c7445=new A(),_0x3a3d80=_0x3c7445[_0x3405d9(0x23f)](_0x5a1913),_0x4d8e1a=_0x3c7445[_0x3405d9(0x223)](_0x9f7c4,_0x5a1913);return _0x23e812[_0x3405d9(0x417)](_0x4d8e1a),qn(_0x4d8e1a,_0x3a3d80,_0x4806d4[_0x3405d9(0x2bb)](_n)),!0x0;}};function qn(_0x2aafa2,_0x85bca1,_0x480da2){const _0x18222f=_0x396ed2;let _0x59c56a=new Set();for(let _0x4770fd of _0x85bca1){if(_0x4770fd[_0x18222f(0x3c2)]!==_0x18222f(0x38f)){_0x480da2[_0x18222f(0x21a)]();return;}let _0x5b958d=Jn(_0x2aafa2,_0x4770fd);if(!_0x5b958d){_0x480da2[_0x18222f(0x21a)]();return;}let _0x2b7b06=_0x5b958d[_0x18222f(0x2b3)]+'\x00'+_0x5b958d[_0x18222f(0x348)]+'\x00'+_0x5b958d[_0x18222f(0x20f)];_0x59c56a[_0x18222f(0x1c2)](_0x2b7b06)||(_0x59c56a[_0x18222f(0x229)](_0x2b7b06),_0x480da2['invalidateByCell'](_0x5b958d[_0x18222f(0x2b3)],_0x5b958d[_0x18222f(0x348)],_0x5b958d[_0x18222f(0x20f)]));}}function Jn(_0x44f92a,_0x6c16d9){const _0x4e612e=_0x396ed2;var _0x3f90dc,_0x282eb2;if(!_0x6c16d9[_0x4e612e(0x2b3)])return null;if(_0x6c16d9[_0x4e612e(0x348)]&&_0x6c16d9[_0x4e612e(0x20f)])return{'tableId':_0x6c16d9[_0x4e612e(0x2b3)],'recordId':_0x6c16d9[_0x4e612e(0x348)],'fieldId':_0x6c16d9[_0x4e612e(0x20f)]};if(_0x6c16d9[_0x4e612e(0x284)]==null||_0x6c16d9[_0x4e612e(0x26c)]==null)return null;let _0x5c1c43=_0x44f92a[_0x4e612e(0x404)][_0x6c16d9[_0x4e612e(0x2b3)]],_0x2bd6ef=_0x5c1c43==null||(_0x3f90dc=_0x5c1c43['rowId'])==null?void 0x0:_0x3f90dc[_0x6c16d9[_0x4e612e(0x284)]],_0x4da589=_0x5c1c43==null||(_0x282eb2=_0x5c1c43['colId'])==null?void 0x0:_0x282eb2[_0x6c16d9[_0x4e612e(0x26c)]];return!_0x2bd6ef||!_0x4da589?null:{'tableId':_0x6c16d9[_0x4e612e(0x2b3)],'recordId':_0x2bd6ef,'fieldId':_0x4da589};}function X(_0x275994,_0x5ef7eb,_0x532ba1){const _0x1cc6d3=_0x396ed2;let _0x2f3290=_0x275994['getSnapshot']()[_0x1cc6d3(0x404)][_0x5ef7eb];if(!_0x2f3290)return!0x1;let {viewIds:_0x4e43a5,fieldIds:_0x225794,recordIds:_0x1f10c4}=_0x532ba1||{};if(_0x4e43a5){for(let _0xc388ee of _0x4e43a5)if(!_0x2f3290[_0x1cc6d3(0x173)][_0xc388ee])return!0x1;}if(_0x225794){for(let _0x225c04 of _0x225794)if(!_0x2f3290[_0x1cc6d3(0x2f3)][_0x225c04])return!0x1;}if(_0x1f10c4){for(let _0x182d74 of _0x1f10c4)if(!_0x2f3290[_0x1cc6d3(0x1ce)][_0x182d74])return!0x1;}return!0x0;}const Yn={'id':_0x396ed2(0x406),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x2154b1,_0x2d2b19){const _0x40faf1=_0x396ed2;if(!_0x2d2b19)return!0x1;let _0x2355be=_0x2154b1['get'](_0x726745),{unitId:_0x502fa7,tableId:_0x206663,records:_0x4b8ae5}=_0x2d2b19,_0x5bd3f1=_0x2355be[_0x40faf1(0x248)](_0x502fa7,_0x545be5[_0x40faf1(0x174)]),_0x4346=_0x4b8ae5['map'](_0x40a717=>_0x40a717['id']);if(!_0x5bd3f1||!X(_0x5bd3f1,_0x206663)||new Set(_0x4346)[_0x40faf1(0x374)]!==_0x4346[_0x40faf1(0x1dd)]||_0x4346[_0x40faf1(0x24c)](_0x5cbe9d=>_0x5bd3f1[_0x40faf1(0x2d9)]()[_0x40faf1(0x404)][_0x206663]['records'][_0x5cbe9d]))return!0x1;let _0x289622=_0x2154b1[_0x40faf1(0x2bb)](_0x40924c),_0x5cfdf1=_0x2154b1[_0x40faf1(0x2bb)](_0xf32056),_0xcbc90d=_0x2154b1[_0x40faf1(0x2bb)](W)[_0x40faf1(0x29e)](_0x5bd3f1,_0x206663,_0x4b8ae5),_0x315055=new A()[_0x40faf1(0x35e)](_0x5bd3f1['getSnapshot'](),_0xcbc90d),_0x5e9442={'unitId':_0x502fa7,'op':_0xcbc90d},_0x5c49cb={'unitId':_0x502fa7,'op':_0x315055};return _0x289622[_0x40faf1(0x36e)](Y['id'],_0x5e9442)?(_0x2355be[_0x40faf1(0x3ac)](_0x502fa7),_0x5cfdf1[_0x40faf1(0x33c)]({'unitID':_0x502fa7,'undoMutations':[{'id':Y['id'],'params':_0x5c49cb}],'redoMutations':[{'id':Y['id'],'params':_0x5e9442}]}),!0x0):!0x1;}},Xn={'id':_0x396ed2(0x3ee),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x217cdf,_0x28255c)=>{const _0x3ef7b1=_0x396ed2;if(!_0x28255c)return!0x1;let _0x12bcd0=_0x217cdf[_0x3ef7b1(0x2bb)](_0x726745),{unitId:_0xc943b2,tableId:_0x56bb62,recordIds:_0x4b50d2}=_0x28255c,_0x2f5623=_0x12bcd0['getUnit'](_0xc943b2,_0x545be5[_0x3ef7b1(0x174)]);if(!_0x2f5623||!X(_0x2f5623,_0x56bb62,{'recordIds':_0x4b50d2}))return!0x1;let _0x3db58c=_0x217cdf[_0x3ef7b1(0x2bb)](_0x40924c),_0x2f4d4c=_0x217cdf[_0x3ef7b1(0x2bb)](_0xf32056),_0x357aec=_0x2f5623[_0x3ef7b1(0x2d9)](),_0x72dee7=new R()[_0x3ef7b1(0x40c)](_0x357aec,_0x56bb62,_0x4b50d2),_0x14e7c0=new A()[_0x3ef7b1(0x35e)](_0x357aec,_0x72dee7),_0x41d89b={'unitId':_0xc943b2,'op':_0x72dee7},_0x2fbb30={'unitId':_0xc943b2,'op':_0x14e7c0};return _0x3db58c[_0x3ef7b1(0x36e)](Y['id'],_0x41d89b)?(_0x12bcd0['focusUnit'](_0xc943b2),_0x2f4d4c[_0x3ef7b1(0x33c)]({'unitID':_0xc943b2,'undoMutations':[{'id':Y['id'],'params':_0x2fbb30}],'redoMutations':[{'id':Y['id'],'params':_0x41d89b}]}),!0x0):!0x1;}},Zn={'id':_0x396ed2(0x3ba),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x583914,_0x5bb3d1)=>{const _0x406331=_0x396ed2;if(!_0x5bb3d1)return!0x1;let _0x1b508c=_0x583914['get'](_0x726745),{unitId:_0x38f410,tableId:_0x491b6b,fieldId:_0x2d7d6a,input:_0x25a66a}=_0x5bb3d1,_0x21e170=_0x1b508c['getUnit'](_0x38f410,_0x545be5[_0x406331(0x174)]);if(!_0x21e170||!X(_0x21e170,_0x491b6b,{'fieldIds':[_0x2d7d6a]}))return!0x1;let _0x559c17=_0x583914['get'](_0x40924c),_0x330637=_0x583914[_0x406331(0x2bb)](_0xf32056),_0x44f9da=_0x21e170['getSnapshot'](),_0x567e59=new R()[_0x406331(0x3d8)](_0x44f9da,_0x491b6b,_0x2d7d6a,_0x25a66a),_0xa986ca=new A()[_0x406331(0x35e)](_0x44f9da,_0x567e59),_0x52345c={'unitId':_0x38f410,'op':_0x567e59},_0x41d91c={'unitId':_0x38f410,'op':_0xa986ca};return _0x559c17[_0x406331(0x36e)](Y['id'],_0x52345c)?(_0x1b508c[_0x406331(0x3ac)](_0x38f410),_0x330637['pushUndoRedo']({'unitID':_0x38f410,'undoMutations':[{'id':Y['id'],'params':_0x41d91c}],'redoMutations':[{'id':Y['id'],'params':_0x52345c}]}),!0x0):!0x1;}},Qn={'id':_0x396ed2(0x297),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x544618,_0x2307a6){const _0x1ac85e=_0x396ed2;if(!_0x2307a6)return!0x1;let _0x496079=_0x544618['get'](_0x726745),{unitId:_0xc7dfdd,tableId:_0x5a96c4,field:_0x48f382,index:_0xb6050d,viewIndexes:_0x1d4f7a}=_0x2307a6,_0x53abbb=_0x496079[_0x1ac85e(0x248)](_0xc7dfdd,_0x545be5['UNIVER_BASE']);if(!_0x53abbb||!X(_0x53abbb,_0x5a96c4)||_0x53abbb['getSnapshot']()[_0x1ac85e(0x404)][_0x5a96c4][_0x1ac85e(0x2f3)][_0x48f382['id']])return!0x1;let _0x4dd5f4=_0x544618[_0x1ac85e(0x2bb)](_0x40924c),_0x36f436=_0x544618[_0x1ac85e(0x2bb)](_0xf32056),_0x23976b=_0x544618[_0x1ac85e(0x2bb)](W)[_0x1ac85e(0x2c6)](_0x53abbb,_0x5a96c4,_0x48f382,_0xb6050d,_0x1d4f7a),_0x7979b8=new A()[_0x1ac85e(0x35e)](_0x53abbb[_0x1ac85e(0x2d9)](),_0x23976b),_0x226a80={'unitId':_0xc7dfdd,'op':_0x23976b},_0x113920={'unitId':_0xc7dfdd,'op':_0x7979b8};return _0x4dd5f4[_0x1ac85e(0x36e)](Y['id'],_0x226a80)?(_0x496079[_0x1ac85e(0x3ac)](_0xc7dfdd),_0x36f436[_0x1ac85e(0x33c)]({'unitID':_0xc7dfdd,'undoMutations':[{'id':Y['id'],'params':_0x113920}],'redoMutations':[{'id':Y['id'],'params':_0x226a80}]}),!0x0):!0x1;}},$n={'id':_0x396ed2(0x439),'type':_0x533ada['COMMAND'],'handler'(_0xde3adc,_0xb73f2e){const _0x454826=_0x396ed2;if(!_0xb73f2e)return!0x1;let _0x55477d=_0xde3adc[_0x454826(0x2bb)](_0x726745),{unitId:_0x1187c1,tableId:_0x1b32be,record:_0x23f150}=_0xb73f2e,_0x3d0c7d=_0x55477d['getUnit'](_0x1187c1,_0x545be5[_0x454826(0x174)]);if(!_0x3d0c7d||!X(_0x3d0c7d,_0x1b32be)||_0x3d0c7d[_0x454826(0x2d9)]()[_0x454826(0x404)][_0x1b32be][_0x454826(0x1ce)][_0x23f150['id']])return!0x1;let _0x46cab2=_0xde3adc[_0x454826(0x2bb)](_0x40924c),_0x3c8c32=_0xde3adc[_0x454826(0x2bb)](_0xf32056),_0x5bb5ae=_0xde3adc[_0x454826(0x2bb)](W)[_0x454826(0x35b)](_0x3d0c7d,_0x1b32be,_0x23f150),_0x493684=new A()['invertOp'](_0x3d0c7d['getSnapshot'](),_0x5bb5ae),_0x1ac0d9={'unitId':_0x1187c1,'op':_0x5bb5ae},_0x37af81={'unitId':_0x1187c1,'op':_0x493684};return _0x46cab2[_0x454826(0x36e)](Y['id'],_0x1ac0d9)?(_0x55477d[_0x454826(0x3ac)](_0x1187c1),_0x3c8c32['pushUndoRedo']({'unitID':_0x1187c1,'undoMutations':[{'id':Y['id'],'params':_0x37af81}],'redoMutations':[{'id':Y['id'],'params':_0x1ac0d9}]}),!0x0):!0x1;}},er={'id':'base.command.create-base-table','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x39c615,_0x24c59f)=>{const _0x320ebf=_0x396ed2;if(!_0x24c59f)return!0x1;let _0x352fe6=_0x39c615[_0x320ebf(0x2bb)](_0x726745),{unitId:_0x28f26f,table:_0x20704c,index:_0xc4de05}=_0x24c59f,_0x46e39=_0x352fe6[_0x320ebf(0x248)](_0x28f26f,_0x545be5[_0x320ebf(0x174)]);if(!_0x46e39||_0x46e39[_0x320ebf(0x2d9)]()[_0x320ebf(0x404)][_0x20704c['id']])return!0x1;let _0x16e384=_0x39c615[_0x320ebf(0x2bb)](_0x40924c),_0x3893ee=_0x39c615[_0x320ebf(0x2bb)](_0xf32056),_0x29eb20=_0x46e39['getSnapshot'](),_0x45103e={..._0x20704c,'name':_0x46e39[_0x320ebf(0x29d)](_0x20704c[_0x320ebf(0x28c)])},_0x11a4e5=new R()['createTable'](_0x29eb20,_0x45103e,_0xc4de05),_0x43c0ba=new A()[_0x320ebf(0x35e)](_0x29eb20,_0x11a4e5),_0x424636={'unitId':_0x28f26f,'op':_0x11a4e5},_0x2a8782={'unitId':_0x28f26f,'op':_0x43c0ba};return _0x16e384['syncExecuteCommand'](Y['id'],_0x424636)?(_0x352fe6[_0x320ebf(0x3ac)](_0x28f26f),_0x3893ee[_0x320ebf(0x33c)]({'unitID':_0x28f26f,'undoMutations':[{'id':Y['id'],'params':_0x2a8782}],'redoMutations':[{'id':Y['id'],'params':_0x424636}]}),!0x0):!0x1;}};function tr(_0x63eb0d,_0x573f3e,_0x3f6ee4=[]){const _0x3c4c97=_0x396ed2;let _0x549a86=new Set([...Object[_0x3c4c97(0x33e)](_0x63eb0d[_0x3c4c97(0x2f3)])[_0x3c4c97(0x24f)](_0xd73c06=>_0xd73c06)['map'](_0x3f6a12=>_0x3f6a12[_0x3c4c97(0x28c)]),..._0x3f6ee4[_0x3c4c97(0x22a)](_0x1b94b3=>_0x1b94b3['name'])]);if(!_0x549a86[_0x3c4c97(0x1c2)](_0x573f3e))return _0x573f3e;let _0x4c83f1=0x2;for(;_0x549a86[_0x3c4c97(0x1c2)](_0x573f3e+'\x20'+_0x4c83f1);)_0x4c83f1++;return _0x573f3e+'\x20'+_0x4c83f1;}function nr(_0x341a5d,_0x2a8837){const _0x31c029=_0x396ed2;if(!_0x341a5d||!_0x2a8837[_0x31c029(0x1dd)])return;let _0x262f36=[..._0x341a5d];return _0x2a8837['forEach'](_0x30eb84=>{const _0x40565e=_0x31c029;_0x262f36[_0x40565e(0x323)](_0x30eb84)||_0x262f36[_0x40565e(0x258)](_0x30eb84);}),_0x262f36;}const rr={'options':[{'id':_0x396ed2(0x206),'name':_0x396ed2(0x2e8),'color':_0x396ed2(0x3b4)},{'id':_0x396ed2(0x2ed),'name':_0x396ed2(0x181),'color':_0x396ed2(0x224)},{'id':_0x396ed2(0x2bf),'name':'Done','color':_0x396ed2(0x218)}]},ir={'locale':'en-US','pattern':_0x396ed2(0x360),'includeTime':!0x1,'hourCycle':_0x396ed2(0x239),'defaultMode':_0x396ed2(0x2b6)};function ar(_0x2ab5b5,_0x18b3d2,_0x222a95,_0x39af9d){const _0x33f07d=_0x396ed2;var _0x55895c;let _0x1bb6b2=new R(),_0x5a43bb=_0x2ab5b5[_0x33f07d(0x404)][_0x18b3d2];if(_0x5a43bb&&_0x222a95[_0x33f07d(0x415)]===_0x33f07d(0x36a)){var _0x5f47b5;let _0x67abc0=sr(_0x5a43bb,_0x222a95),_0x188ec7=_0x67abc0[_0x33f07d(0x3cd)]?{..._0x222a95,'config':_0x67abc0[_0x33f07d(0x285)],'fieldOrder':(_0x5f47b5=_0x67abc0[_0x33f07d(0x201)])==null?_0x222a95[_0x33f07d(0x201)]:_0x5f47b5}:_0x222a95;return L([..._0x67abc0[_0x33f07d(0x2f3)][_0x33f07d(0x22a)](_0x5aacda=>_0x1bb6b2['createField'](_0x2ab5b5,_0x18b3d2,{'field':_0x5aacda})),_0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x188ec7,_0x39af9d)]);}if(!_0x5a43bb||_0x222a95[_0x33f07d(0x415)]!=='calendar'&&_0x222a95[_0x33f07d(0x415)]!==_0x33f07d(0x2cc))return _0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x222a95,_0x39af9d);let _0x58db56=or(_0x5a43bb,_0x222a95),_0x1deac9=_0x58db56['changed']?{..._0x222a95,'config':_0x58db56[_0x33f07d(0x285)],'fieldOrder':(_0x55895c=_0x58db56[_0x33f07d(0x201)])==null?_0x222a95['fieldOrder']:_0x55895c}:_0x222a95;return _0x222a95[_0x33f07d(0x415)]===_0x33f07d(0x2cc)&&ur(_0x222a95)&&(_0x1deac9=dr(_0x5a43bb,_0x1deac9,_0x58db56[_0x33f07d(0x2f3)])),L([..._0x58db56[_0x33f07d(0x2f3)][_0x33f07d(0x22a)](_0x1f4275=>_0x1bb6b2[_0x33f07d(0x3c7)](_0x2ab5b5,_0x18b3d2,{'field':_0x1f4275})),_0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x1deac9,_0x39af9d)]);}function or(_0x2bb978,_0x55fcab,_0xa23dad=!0x1){const _0x345c36=_0x396ed2;var _0x4c160b,_0x22f208,_0x5000da,_0x4c5b17;let _0x5176c4=_0x2bb978[_0x345c36(0x201)][_0x345c36(0x24f)](_0x4533aa=>pr(_0x2bb978,_0x4533aa)),_0x40a6df=[],_0x4c639b={...(_0x4c160b=_0x55fcab[_0x345c36(0x285)])==null?{}:_0x4c160b},_0xe6ddaf=typeof _0x4c639b[_0x345c36(0x31a)]==_0x345c36(0x247)&&pr(_0x2bb978,_0x4c639b[_0x345c36(0x31a)])?_0x4c639b[_0x345c36(0x31a)]:_0x5176c4[0x0],_0x1e1771=typeof _0x4c639b[_0x345c36(0x1b0)]==_0x345c36(0x247)&&pr(_0x2bb978,_0x4c639b['endDateFieldId'])&&_0x4c639b[_0x345c36(0x1b0)]!==_0xe6ddaf?_0x4c639b[_0x345c36(0x1b0)]:_0x5176c4[_0x345c36(0x289)](_0x5b7f26=>_0x5b7f26!==_0xe6ddaf);if(!_0xe6ddaf){let _0x24a398=mr(_0x2bb978,_0x40a6df,_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x2cc)?_0x345c36(0x2df):_0x345c36(0x225));_0x40a6df[_0x345c36(0x258)](_0x24a398),_0xe6ddaf=_0x24a398['id'];}if((_0x55fcab['type']===_0x345c36(0x2cc)||_0xa23dad)&&!_0x1e1771){let _0xb6a114=mr(_0x2bb978,_0x40a6df,'End\x20date');_0x40a6df['push'](_0xb6a114),_0x1e1771=_0xb6a114['id'];}if(_0x55fcab['type']===_0x345c36(0x31e)&&!_0x1e1771&&delete _0x4c639b[_0x345c36(0x1b0)],_0x4c639b[_0x345c36(0x31a)]=_0xe6ddaf,_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x31e)&&_0x1e1771&&(_0x4c639b['endDateFieldId']=_0x1e1771),_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x2cc)){var _0x297c22;_0x4c639b[_0x345c36(0x1b0)]=(_0x297c22=_0x1e1771)==null?_0xe6ddaf:_0x297c22;}let _0x10c5b3=nr(_0x55fcab[_0x345c36(0x201)],_0x40a6df[_0x345c36(0x22a)](_0x68fcd5=>_0x68fcd5['id']));return{'changed':_0x40a6df['length']>0x0||_0x4c639b[_0x345c36(0x31a)]!==((_0x22f208=_0x55fcab[_0x345c36(0x285)])==null?void 0x0:_0x22f208[_0x345c36(0x31a)])||_0x4c639b[_0x345c36(0x1b0)]!==((_0x5000da=_0x55fcab[_0x345c36(0x285)])==null?void 0x0:_0x5000da[_0x345c36(0x1b0)])||!!(_0x10c5b3&&!_0x32f40f['diffValue'](_0x10c5b3,(_0x4c5b17=_0x55fcab['fieldOrder'])==null?[]:_0x4c5b17)),'fields':_0x40a6df,'config':_0x4c639b,'fieldOrder':_0x10c5b3};}function sr(_0xe2b70e,_0x5c5f1c){const _0x1c3467=_0x396ed2;var _0x6136c7,_0x52aa49,_0x2a1523;let _0x886e98=[],_0x4b1a2e={...(_0x6136c7=_0x5c5f1c['config'])==null?{}:_0x6136c7},_0x32de70=typeof _0x4b1a2e['groupFieldId']==_0x1c3467(0x247)&&cr(_0xe2b70e,_0x4b1a2e[_0x1c3467(0x1b1)])?_0x4b1a2e[_0x1c3467(0x1b1)]:_0xe2b70e[_0x1c3467(0x201)][_0x1c3467(0x289)](_0x2b2e1d=>cr(_0xe2b70e,_0x2b2e1d));if(!_0x32de70){let _0x557345=lr(_0xe2b70e,_0x886e98);_0x886e98[_0x1c3467(0x258)](_0x557345),_0x32de70=_0x557345['id'];}_0x4b1a2e[_0x1c3467(0x1b1)]=_0x32de70;let _0x1f9c01=nr(_0x5c5f1c[_0x1c3467(0x201)],_0x886e98[_0x1c3467(0x22a)](_0x2f1126=>_0x2f1126['id']));return{'changed':_0x886e98['length']>0x0||_0x4b1a2e[_0x1c3467(0x1b1)]!==((_0x52aa49=_0x5c5f1c['config'])==null?void 0x0:_0x52aa49[_0x1c3467(0x1b1)])||!!(_0x1f9c01&&!_0x32f40f[_0x1c3467(0x416)](_0x1f9c01,(_0x2a1523=_0x5c5f1c[_0x1c3467(0x201)])==null?[]:_0x2a1523)),'fields':_0x886e98,'config':_0x4b1a2e,'fieldOrder':_0x1f9c01};}function cr(_0xd256b1,_0x3cfe5e){const _0x1e8b59=_0x396ed2;let _0x43ed46=_0x3cfe5e?_0xd256b1[_0x1e8b59(0x2f3)][_0x3cfe5e]:null;return _0x43ed46?[_0x1e4a6b[_0x1e8b59(0x165)],_0x1e4a6b['MultiSelect'],_0x1e4a6b[_0x1e8b59(0x353)],_0x1e4a6b[_0x1e8b59(0x435)],_0x1e4a6b[_0x1e8b59(0x3f7)],_0x1e4a6b[_0x1e8b59(0x1cb)]][_0x1e8b59(0x323)](_0x43ed46[_0x1e8b59(0x415)]):!0x1;}function lr(_0x5d1f02,_0x44b77c){const _0xb31868=_0x396ed2;return{'id':_0xb31868(0x187)+_0x42f468(0x8),'name':tr(_0x5d1f02,'Status',_0x44b77c),'type':_0x1e4a6b[_0xb31868(0x165)],'config':_0x32f40f[_0xb31868(0x28a)](rr)};}function ur(_0x58c100){const _0x31e25a=_0x396ed2;var _0x4d97ce,_0x1e9142;return Object[_0x31e25a(0x234)]((_0x4d97ce=_0x58c100[_0x31e25a(0x285)])==null?{}:_0x4d97ce)[_0x31e25a(0x1dd)]===0x0&&Object['keys']((_0x1e9142=_0x58c100[_0x31e25a(0x193)])==null?{}:_0x1e9142)['length']===0x0;}function dr(_0x3d5e70,_0x28bd73,_0x3c4f49){const _0x123078=_0x396ed2;var _0x4991c6;let _0x1fbd77={...(_0x4991c6=_0x28bd73[_0x123078(0x285)])==null?{}:_0x4991c6},_0x33203e=_0x3c4f49[_0x123078(0x22a)](_0x10f921=>_0x10f921['id']),_0x183c5b=[..._0x3d5e70[_0x123078(0x201)],..._0x33203e],_0x51aff7=typeof _0x1fbd77['titleFieldId']==_0x123078(0x247)&&fr(_0x3d5e70,_0x3c4f49,_0x1fbd77[_0x123078(0x2bd)])?_0x1fbd77[_0x123078(0x2bd)]:_0x3d5e70[_0x123078(0x243)],_0x3bbbc2=typeof _0x1fbd77[_0x123078(0x31a)]==_0x123078(0x247)?_0x1fbd77[_0x123078(0x31a)]:'',_0x2b6e68=typeof _0x1fbd77['endDateFieldId']==_0x123078(0x247)?_0x1fbd77[_0x123078(0x1b0)]:_0x3bbbc2,_0x268852=new Set([_0x51aff7,_0x3bbbc2,_0x2b6e68][_0x123078(0x24f)](_0x4fd1bb=>_0x4fd1bb&&fr(_0x3d5e70,_0x3c4f49,_0x4fd1bb))),_0x31c6e9=Object[_0x123078(0x185)](_0x183c5b[_0x123078(0x338)](_0x5f3e15=>_0x268852['has'](_0x5f3e15)||!fr(_0x3d5e70,_0x3c4f49,_0x5f3e15)?[]:[[_0x5f3e15,{'hidden':!0x0}]]));return{..._0x28bd73,'config':{..._0x1fbd77,'titleFieldId':_0x51aff7},'fieldSettings':_0x31c6e9};}function fr(_0x1af924,_0x4c2652,_0x1d39b5){const _0x4199a6=_0x396ed2;var _0x4ed192;return!!((_0x4ed192=_0x1af924[_0x4199a6(0x2f3)][_0x1d39b5])==null?_0x4c2652[_0x4199a6(0x289)](_0x2f0566=>_0x2f0566['id']===_0x1d39b5):_0x4ed192)&&!0x0;}function pr(_0x171d8c,_0x4b40ef){const _0x46f7a8=_0x396ed2;let _0x1955b4=_0x4b40ef?_0x171d8c[_0x46f7a8(0x2f3)][_0x4b40ef]:null;return!!_0x1955b4&&_0x1955b4['type']===_0x1e4a6b[_0x46f7a8(0x225)]&&_0x1955b4[_0x46f7a8(0x163)]!==!0x0&&_0x1955b4[_0x46f7a8(0x2e9)]!==!0x0;}function mr(_0x107df3,_0xd12dcd,_0x3d524d){const _0x156640=_0x396ed2;let _0x51fb09=new Set([...Object['keys'](_0x107df3['fields']),..._0xd12dcd['map'](_0x359277=>_0x359277['id'])]),_0x155beb='fld-'+_0x42f468(0x8);for(;_0x51fb09['has'](_0x155beb);)_0x155beb='fld-'+_0x42f468(0x8);return{'id':_0x155beb,'name':tr(_0x107df3,_0x3d524d,_0xd12dcd),'type':_0x1e4a6b[_0x156640(0x225)],'config':{...ir}};}const hr={'id':_0x396ed2(0x36c),'type':_0x533ada['COMMAND'],'handler':(_0x594535,_0x644cb9)=>{const _0x2da936=_0x396ed2;if(!_0x644cb9)return!0x1;let _0xf7f3cb=_0x594535['get'](_0x726745),{unitId:_0x4c94d9,tableId:_0x1a054f,view:_0x4df265,index:_0x2854ac}=_0x644cb9,_0x782c33=_0xf7f3cb['getUnit'](_0x4c94d9,_0x545be5['UNIVER_BASE']);if(!_0x782c33||!X(_0x782c33,_0x1a054f)||_0x782c33[_0x2da936(0x2d9)]()[_0x2da936(0x404)][_0x1a054f][_0x2da936(0x173)][_0x4df265['id']])return!0x1;let _0x498afe=_0x594535['get'](_0x40924c),_0x4810d4=_0x594535[_0x2da936(0x2bb)](_0xf32056),_0x126cab=_0x782c33['getSnapshot'](),_0x235020=ar(_0x126cab,_0x1a054f,_0x4df265,_0x2854ac),_0x38b0e8=new A()['invertOp'](_0x126cab,_0x235020),_0x37e9f9={'unitId':_0x4c94d9,'op':_0x235020},_0x20f34a={'unitId':_0x4c94d9,'op':_0x38b0e8};return _0x498afe['syncExecuteCommand'](Y['id'],_0x37e9f9)?(_0xf7f3cb['focusUnit'](_0x4c94d9),_0x4810d4['pushUndoRedo']({'unitID':_0x4c94d9,'undoMutations':[{'id':Y['id'],'params':_0x20f34a}],'redoMutations':[{'id':Y['id'],'params':_0x37e9f9}]}),!0x0):!0x1;}},gr={'id':_0x396ed2(0x22c),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x34fef2,_0x35212f){const _0x4d8ace=_0x396ed2;if(!_0x35212f)return!0x1;let _0x14ed11=_0x34fef2[_0x4d8ace(0x2bb)](_0x726745),{unitId:_0x48b79b,tableId:_0x54c049,fieldId:_0x5ecc88}=_0x35212f,_0x4e6c7a=_0x14ed11[_0x4d8ace(0x248)](_0x48b79b,_0x545be5[_0x4d8ace(0x174)]);if(!_0x4e6c7a)return!0x1;let _0x36c26b=_0x4e6c7a[_0x4d8ace(0x2d9)](),_0x1c3ce6=_0x36c26b[_0x4d8ace(0x404)][_0x54c049];if(!X(_0x4e6c7a,_0x54c049,{'fieldIds':[_0x5ecc88]})||_0x1c3ce6['primaryFieldId']===_0x5ecc88)return!0x1;let _0x126de2=_0x34fef2[_0x4d8ace(0x2bb)](_0x40924c),_0x2bd5d4=_0x34fef2['get'](_0xf32056),_0x3ea340=new R()[_0x4d8ace(0x28d)](_0x36c26b,_0x54c049,_0x5ecc88),_0x5132f8=new A()[_0x4d8ace(0x35e)](_0x36c26b,_0x3ea340),_0x2a0dd9={'unitId':_0x48b79b,'op':_0x3ea340},_0x1df4b4={'unitId':_0x48b79b,'op':_0x5132f8};return _0x126de2['syncExecuteCommand'](Y['id'],_0x2a0dd9)?(_0x14ed11[_0x4d8ace(0x3ac)](_0x48b79b),_0x2bd5d4[_0x4d8ace(0x33c)]({'unitID':_0x48b79b,'undoMutations':[{'id':Y['id'],'params':_0x1df4b4}],'redoMutations':[{'id':Y['id'],'params':_0x2a0dd9}]}),!0x0):!0x1;}},_r={'id':_0x396ed2(0x17c),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x49a478,_0x4f8e9f)=>{const _0x108424=_0x396ed2;if(!_0x4f8e9f)return!0x1;let _0xf20082=_0x49a478[_0x108424(0x2bb)](_0x726745),{unitId:_0x2fbff0,tableId:_0x2b7225,recordId:_0xcf9254}=_0x4f8e9f,_0x186752=_0xf20082[_0x108424(0x248)](_0x2fbff0,_0x545be5['UNIVER_BASE']);if(!_0x186752||!X(_0x186752,_0x2b7225,{'recordIds':[_0xcf9254]}))return!0x1;let _0x1bf7de=_0x49a478[_0x108424(0x2bb)](_0x40924c),_0x5c6730=_0x49a478['get'](_0xf32056),_0x4604e1=_0x186752[_0x108424(0x2d9)](),_0x500a95=new R()['deleteRecord'](_0x4604e1,_0x2b7225,_0xcf9254),_0x513fe0=new A()[_0x108424(0x35e)](_0x4604e1,_0x500a95),_0x7bfe18={'unitId':_0x2fbff0,'op':_0x500a95},_0x174cbf={'unitId':_0x2fbff0,'op':_0x513fe0};return _0x1bf7de[_0x108424(0x36e)](Y['id'],_0x7bfe18)?(_0xf20082[_0x108424(0x3ac)](_0x2fbff0),_0x5c6730[_0x108424(0x33c)]({'unitID':_0x2fbff0,'undoMutations':[{'id':Y['id'],'params':_0x174cbf}],'redoMutations':[{'id':Y['id'],'params':_0x7bfe18}]}),!0x0):!0x1;}},vr={'id':_0x396ed2(0x391),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3e73c3,_0x39b8e2)=>{const _0x1bd096=_0x396ed2;if(!_0x39b8e2)return!0x1;let _0x4a7a50=_0x3e73c3[_0x1bd096(0x2bb)](_0x726745),{unitId:_0x514edf,tableId:_0x3b7b5f}=_0x39b8e2,_0x3d7312=_0x4a7a50[_0x1bd096(0x248)](_0x514edf,_0x545be5[_0x1bd096(0x174)]);if(!_0x3d7312||!X(_0x3d7312,_0x3b7b5f))return!0x1;let _0x373074=_0x3e73c3[_0x1bd096(0x2bb)](_0x40924c),_0x813ffd=_0x3e73c3[_0x1bd096(0x2bb)](_0xf32056),_0x2ffad8=_0x3d7312[_0x1bd096(0x2d9)](),_0x37d735=new R()[_0x1bd096(0x2e5)](_0x2ffad8,_0x3b7b5f),_0x5c3a85=new A()['invertOp'](_0x2ffad8,_0x37d735),_0x3095ec={'unitId':_0x514edf,'op':_0x37d735},_0x41f08d={'unitId':_0x514edf,'op':_0x5c3a85};return _0x373074[_0x1bd096(0x36e)](Y['id'],_0x3095ec)?(_0x4a7a50[_0x1bd096(0x3ac)](_0x514edf),_0x813ffd[_0x1bd096(0x33c)]({'unitID':_0x514edf,'undoMutations':[{'id':Y['id'],'params':_0x41f08d}],'redoMutations':[{'id':Y['id'],'params':_0x3095ec}]}),!0x0):!0x1;}},yr={'id':'base.command.delete-base-view','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x5abd89,_0xeb91f0)=>{const _0xc16671=_0x396ed2;if(!_0xeb91f0)return!0x1;let _0x407008=_0x5abd89[_0xc16671(0x2bb)](_0x726745),{unitId:_0x3fdbdf,tableId:_0x2de0c3,viewId:_0x6c57f6}=_0xeb91f0,_0x18356d=_0x407008[_0xc16671(0x248)](_0x3fdbdf,_0x545be5[_0xc16671(0x174)]);if(!_0x18356d||!X(_0x18356d,_0x2de0c3,{'viewIds':[_0x6c57f6]}))return!0x1;let _0x398076=_0x5abd89[_0xc16671(0x2bb)](_0x40924c),_0xcbb83a=_0x5abd89[_0xc16671(0x2bb)](_0xf32056),_0x52a98d=_0x18356d[_0xc16671(0x2d9)](),_0x2ecc28=new R()['deleteView'](_0x52a98d,_0x2de0c3,_0x6c57f6),_0x1624d9=new A()['invertOp'](_0x52a98d,_0x2ecc28),_0x8116b1={'unitId':_0x3fdbdf,'op':_0x2ecc28},_0x18ad35={'unitId':_0x3fdbdf,'op':_0x1624d9};return _0x398076[_0xc16671(0x36e)](Y['id'],_0x8116b1)?(_0x407008[_0xc16671(0x3ac)](_0x3fdbdf),_0xcbb83a[_0xc16671(0x33c)]({'unitID':_0x3fdbdf,'undoMutations':[{'id':Y['id'],'params':_0x18ad35}],'redoMutations':[{'id':Y['id'],'params':_0x8116b1}]}),!0x0):!0x1;}},br={'id':_0x396ed2(0x216),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0xe4ab04,_0x281106)=>{const _0x20b774=_0x396ed2;if(!_0x281106)return!0x1;let _0xc1296b=_0xe4ab04[_0x20b774(0x2bb)](_0x726745),{unitId:_0x3f3918,tableId:_0x56ce52,sourceFieldId:_0x2df740,field:_0x1d1e64,index:_0x3e3576,viewIndexes:_0x734384}=_0x281106,_0x4d758c=_0xc1296b[_0x20b774(0x248)](_0x3f3918,_0x545be5[_0x20b774(0x174)]);if(!_0x4d758c||!X(_0x4d758c,_0x56ce52,{'fieldIds':[_0x2df740]})||_0x4d758c[_0x20b774(0x2d9)]()[_0x20b774(0x404)][_0x56ce52][_0x20b774(0x2f3)][_0x1d1e64['id']])return!0x1;let _0x54a104=_0xe4ab04[_0x20b774(0x2bb)](_0x40924c),_0x57fb1f=_0xe4ab04['get'](_0xf32056),_0x17586d=_0x4d758c[_0x20b774(0x2d9)](),_0x186ce4=new R()[_0x20b774(0x396)](_0x17586d,_0x56ce52,_0x2df740,{'field':_0x1d1e64,'index':_0x3e3576,'viewIndexes':_0x734384}),_0x504eb7=new A()[_0x20b774(0x35e)](_0x17586d,_0x186ce4),_0x4b0dd7={'unitId':_0x3f3918,'op':_0x186ce4},_0x5d1023={'unitId':_0x3f3918,'op':_0x504eb7};return _0x54a104[_0x20b774(0x36e)](Y['id'],_0x4b0dd7)?(_0xc1296b[_0x20b774(0x3ac)](_0x3f3918),_0x57fb1f[_0x20b774(0x33c)]({'unitID':_0x3f3918,'undoMutations':[{'id':Y['id'],'params':_0x5d1023}],'redoMutations':[{'id':Y['id'],'params':_0x4b0dd7}]}),!0x0):!0x1;}},xr={'id':_0x396ed2(0x217),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x4a29e3,_0x72dde5)=>{const _0x9d7509=_0x396ed2;if(!_0x72dde5)return!0x1;let _0x2efe06=_0x4a29e3[_0x9d7509(0x2bb)](_0x726745),{unitId:_0xde936e,tableId:_0x2e80e6,sourceRecordId:_0x30f81a,record:_0x27c34c}=_0x72dde5,_0xa64579=_0x2efe06['getUnit'](_0xde936e,_0x545be5[_0x9d7509(0x174)]);if(!_0xa64579||!X(_0xa64579,_0x2e80e6,{'recordIds':[_0x30f81a]})||_0xa64579[_0x9d7509(0x2d9)]()[_0x9d7509(0x404)][_0x2e80e6][_0x9d7509(0x1ce)][_0x27c34c['id']])return!0x1;let _0x39da91=_0x4a29e3[_0x9d7509(0x2bb)](_0x40924c),_0x364f22=_0x4a29e3[_0x9d7509(0x2bb)](_0xf32056),_0x359bd9=_0xa64579[_0x9d7509(0x2d9)](),_0x4344e7=new R()['duplicateRecord'](_0x359bd9,_0x2e80e6,_0x30f81a,_0x27c34c),_0x3199a4=new A()[_0x9d7509(0x35e)](_0x359bd9,_0x4344e7),_0x44a30b={'unitId':_0xde936e,'op':_0x4344e7},_0x21a118={'unitId':_0xde936e,'op':_0x3199a4};return _0x39da91[_0x9d7509(0x36e)](Y['id'],_0x44a30b)?(_0x2efe06[_0x9d7509(0x3ac)](_0xde936e),_0x364f22[_0x9d7509(0x33c)]({'unitID':_0xde936e,'undoMutations':[{'id':Y['id'],'params':_0x21a118}],'redoMutations':[{'id':Y['id'],'params':_0x44a30b}]}),!0x0):!0x1;}},Sr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x533ada['COMMAND'],'handler'(_0x27d76e,_0xda145d){const _0x508bc2=_0x396ed2;if(!_0xda145d)return!0x1;let _0x121105=_0x27d76e[_0x508bc2(0x2bb)](_0x726745),{unitId:_0x24cbb1,tableId:_0x75df30,viewId:_0x89cf98,ensureEndDateField:_0xc166f}=_0xda145d,_0x2b3213=_0x121105[_0x508bc2(0x248)](_0x24cbb1,_0x545be5[_0x508bc2(0x174)]);if(!_0x2b3213||!X(_0x2b3213,_0x75df30,{'viewIds':[_0x89cf98]}))return!0x1;let _0x5e845e=_0x2b3213['getSnapshot'](),_0x18473c=_0x5e845e[_0x508bc2(0x404)][_0x75df30],_0x13ef1a=_0x18473c==null?void 0x0:_0x18473c['views'][_0x89cf98];if(!_0x18473c||!_0x13ef1a||_0x13ef1a[_0x508bc2(0x415)]!==_0x508bc2(0x31e)&&_0x13ef1a['type']!=='gantt')return!0x1;let _0x4fab0b=or(_0x18473c,_0x13ef1a,_0xc166f===!0x0);if(!_0x4fab0b[_0x508bc2(0x3cd)])return!0x1;let _0x4634f6=_0x27d76e[_0x508bc2(0x2bb)](_0x40924c),_0x3acb7f=_0x27d76e['get'](_0xf32056),_0x22d50c=new R(),_0x3e8007=[..._0x4fab0b[_0x508bc2(0x2f3)]['map'](_0x17d163=>_0x22d50c[_0x508bc2(0x3c7)](_0x5e845e,_0xda145d[_0x508bc2(0x2b3)],{'field':_0x17d163})),Cr([...wr(_0xda145d[_0x508bc2(0x2b3)],_0xda145d[_0x508bc2(0x17a)]),_0x508bc2(0x285)],_0x13ef1a[_0x508bc2(0x285)],_0x4fab0b[_0x508bc2(0x285)])];_0x4fab0b['fieldOrder']&&_0x3e8007['push'](Cr([...wr(_0xda145d[_0x508bc2(0x2b3)],_0xda145d[_0x508bc2(0x17a)]),_0x508bc2(0x201)],_0x13ef1a[_0x508bc2(0x201)],_0x4fab0b['fieldOrder']));let _0x516b70=L(_0x3e8007),_0x157e71=new A()[_0x508bc2(0x35e)](_0x5e845e,_0x516b70),_0x2b4e65={'unitId':_0x24cbb1,'op':_0x516b70},_0xe2969a={'unitId':_0x24cbb1,'op':_0x157e71};return _0x4634f6[_0x508bc2(0x36e)](Y['id'],_0x2b4e65)?(_0x121105[_0x508bc2(0x3ac)](_0x24cbb1),_0x3acb7f[_0x508bc2(0x33c)]({'unitID':_0x24cbb1,'undoMutations':[{'id':Y['id'],'params':_0xe2969a}],'redoMutations':[{'id':Y['id'],'params':_0x2b4e65}]}),!0x0):!0x1;}};function Cr(_0x13d332,_0x36e795,_0x3f61d4){const _0x2ef8e4=_0x396ed2;return _0x36e795===void 0x0?_0x6fccb6['insertOp'](_0x13d332,_0x3f61d4):_0x6fccb6[_0x2ef8e4(0x1c7)](_0x13d332,_0x36e795,_0x3f61d4);}function wr(_0x172f9b,_0x3758a6){const _0x1afb23=_0x396ed2;return[_0x1afb23(0x404),_0x172f9b,_0x1afb23(0x173),_0x3758a6];}const Tr={'id':_0x396ed2(0x3ad),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3d9f97,_0x24a62d)=>{const _0x4a6a1c=_0x396ed2;var _0x22b315;if(!_0x24a62d)return!0x1;let _0x565bec=_0x3d9f97['get'](_0x726745),{unitId:_0xf45ff2,tableId:_0x420332,fieldId:_0xa26752,target:_0x4922ec}=_0x24a62d,_0x312e8c=_0x565bec['getUnit'](_0xf45ff2,_0x545be5[_0x4a6a1c(0x174)]),_0x2f22c1=(_0x22b315=_0x4922ec[_0x4a6a1c(0x412)])==null?_0x4922ec['afterFieldId']:_0x22b315;if(!_0x312e8c||!!_0x4922ec['beforeFieldId']==!!_0x4922ec[_0x4a6a1c(0x312)]||!_0x2f22c1||_0x2f22c1===_0xa26752||!X(_0x312e8c,_0x420332,{'fieldIds':[_0xa26752,_0x2f22c1]}))return!0x1;let _0x57528b=_0x3d9f97[_0x4a6a1c(0x2bb)](_0x40924c),_0x45d4b8=_0x3d9f97[_0x4a6a1c(0x2bb)](_0xf32056),_0x507504=_0x312e8c[_0x4a6a1c(0x2d9)](),_0x3dbbf3=new R()['moveField'](_0x507504,_0x420332,_0xa26752,_0x4922ec),_0x41c19a=new A()[_0x4a6a1c(0x35e)](_0x507504,_0x3dbbf3),_0xb70fb0={'unitId':_0xf45ff2,'op':_0x3dbbf3},_0x1a5d30={'unitId':_0xf45ff2,'op':_0x41c19a};return _0x57528b[_0x4a6a1c(0x36e)](Y['id'],_0xb70fb0)?(_0x565bec[_0x4a6a1c(0x3ac)](_0xf45ff2),_0x45d4b8[_0x4a6a1c(0x33c)]({'unitID':_0xf45ff2,'undoMutations':[{'id':Y['id'],'params':_0x1a5d30}],'redoMutations':[{'id':Y['id'],'params':_0xb70fb0}]}),!0x0):!0x1;}},Er={'id':_0x396ed2(0x306),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3c6751,_0x51b9fa)=>{const _0x368624=_0x396ed2;var _0x35e715;if(!_0x51b9fa)return!0x1;let _0xa4bd42=_0x3c6751['get'](_0x726745),{unitId:_0x4b618c,tableId:_0x5c489e,viewId:_0x2da52f,target:_0x3bbb41}=_0x51b9fa,_0x19127c=_0xa4bd42[_0x368624(0x248)](_0x4b618c,_0x545be5[_0x368624(0x174)]),_0x1267dd=(_0x35e715=_0x3bbb41['beforeViewId'])==null?_0x3bbb41[_0x368624(0x1de)]:_0x35e715;if(!_0x19127c||!_0x1267dd||_0x1267dd===_0x2da52f||!X(_0x19127c,_0x5c489e,{'viewIds':[_0x2da52f,_0x1267dd]}))return!0x1;let _0x3f3875=_0x3c6751[_0x368624(0x2bb)](_0x40924c),_0x3d9ac8=_0x3c6751['get'](_0xf32056),_0x3579ac=_0x19127c['getSnapshot'](),_0xa2b606=new R()[_0x368624(0x183)](_0x3579ac,_0x5c489e,_0x2da52f,_0x3bbb41),_0x2771c6=new A()[_0x368624(0x35e)](_0x3579ac,_0xa2b606),_0x431776={'unitId':_0x4b618c,'op':_0xa2b606},_0x58670b={'unitId':_0x4b618c,'op':_0x2771c6};return _0x3f3875[_0x368624(0x36e)](Y['id'],_0x431776)?(_0xa4bd42[_0x368624(0x3ac)](_0x4b618c),_0x3d9ac8[_0x368624(0x33c)]({'unitID':_0x4b618c,'undoMutations':[{'id':Y['id'],'params':_0x58670b}],'redoMutations':[{'id':Y['id'],'params':_0x431776}]}),!0x0):!0x1;}},Dr={'id':_0x396ed2(0x1db),'type':_0x533ada['COMMAND'],'handler':(_0x1079e3,_0x4e7b82)=>{const _0x356920=_0x396ed2;if(!_0x4e7b82)return!0x1;let _0x384d2f=_0x1079e3[_0x356920(0x2bb)](_0x726745),{unitId:_0x21d878,tableId:_0x1a05ec,name:_0x3f9385}=_0x4e7b82,_0x5d04c0=_0x384d2f['getUnit'](_0x21d878,_0x545be5[_0x356920(0x174)]);if(!_0x5d04c0||!X(_0x5d04c0,_0x1a05ec))return!0x1;let _0x5bb2ae=_0x1079e3['get'](_0x40924c),_0x217968=_0x1079e3['get'](_0xf32056),_0x1f97f5=_0x5d04c0[_0x356920(0x2d9)](),_0x2af88f=new R()['renameTable'](_0x1f97f5,_0x1a05ec,_0x3f9385),_0x47b8c6=new A()[_0x356920(0x35e)](_0x1f97f5,_0x2af88f),_0xdfafac={'unitId':_0x21d878,'op':_0x2af88f},_0x2e95a0={'unitId':_0x21d878,'op':_0x47b8c6};return _0x5bb2ae[_0x356920(0x36e)](Y['id'],_0xdfafac)?(_0x384d2f[_0x356920(0x3ac)](_0x21d878),_0x217968[_0x356920(0x33c)]({'unitID':_0x21d878,'undoMutations':[{'id':Y['id'],'params':_0x2e95a0}],'redoMutations':[{'id':Y['id'],'params':_0xdfafac}]}),!0x0):!0x1;}},Or={'id':_0x396ed2(0x20d),'type':_0x533ada['COMMAND'],'handler':(_0x27ce8f,_0x27c66a)=>{const _0x123153=_0x396ed2;if(!_0x27c66a)return!0x1;let _0x4068f3=_0x27ce8f['get'](_0x726745),{unitId:_0x1f7b80,tableId:_0x1332ed,viewId:_0x9ace7f,name:_0x5c4838}=_0x27c66a,_0x26acaa=_0x4068f3[_0x123153(0x248)](_0x1f7b80,_0x545be5[_0x123153(0x174)]);if(!_0x26acaa||!X(_0x26acaa,_0x1332ed,{'viewIds':[_0x9ace7f]}))return!0x1;let _0x3f04c5=_0x27ce8f[_0x123153(0x2bb)](_0x40924c),_0xe61d34=_0x27ce8f[_0x123153(0x2bb)](_0xf32056),_0xe81597=_0x26acaa[_0x123153(0x2d9)](),_0x3c5808=new R()[_0x123153(0x380)](_0xe81597,_0x1332ed,_0x9ace7f,_0x5c4838),_0x1994a7=new A()['invertOp'](_0xe81597,_0x3c5808),_0x37b4bf={'unitId':_0x1f7b80,'op':_0x3c5808},_0x52327e={'unitId':_0x1f7b80,'op':_0x1994a7};return _0x3f04c5[_0x123153(0x36e)](Y['id'],_0x37b4bf)?(_0x4068f3[_0x123153(0x3ac)](_0x1f7b80),_0xe61d34['pushUndoRedo']({'unitID':_0x1f7b80,'undoMutations':[{'id':Y['id'],'params':_0x52327e}],'redoMutations':[{'id':Y['id'],'params':_0x37b4bf}]}),!0x0):!0x1;}},kr={'id':_0x396ed2(0x3f9),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x41000f,_0x88aadc)=>{const _0x15eb4a=_0x396ed2;if(!_0x88aadc)return!0x1;let _0x108c6d=_0x41000f[_0x15eb4a(0x2bb)](_0x726745),{unitId:_0xd15587,tableId:_0x41d462,viewId:_0x405037,fieldId:_0x4cb6f7}=_0x88aadc,_0x1f4d3d=_0x108c6d[_0x15eb4a(0x248)](_0xd15587,_0x545be5[_0x15eb4a(0x174)]);if(!_0x1f4d3d||!X(_0x1f4d3d,_0x41d462,{'viewIds':[_0x405037],'fieldIds':[_0x4cb6f7]}))return!0x1;let _0xe81db5=_0x41000f['get'](_0x40924c),_0x4f2529=_0x41000f[_0x15eb4a(0x2bb)](_0xf32056),_0x46f127=_0x1f4d3d[_0x15eb4a(0x2d9)](),_0x5b18f1=new R()[_0x15eb4a(0x3ed)](_0x46f127,_0x41d462,_0x405037,{'groupFieldId':_0x4cb6f7}),_0x4c7045=new A()[_0x15eb4a(0x35e)](_0x46f127,_0x5b18f1),_0x1a48ca={'unitId':_0xd15587,'op':_0x5b18f1},_0x157a1d={'unitId':_0xd15587,'op':_0x4c7045};return _0xe81db5[_0x15eb4a(0x36e)](Y['id'],_0x1a48ca)?(_0x108c6d[_0x15eb4a(0x3ac)](_0xd15587),_0x4f2529[_0x15eb4a(0x33c)]({'unitID':_0xd15587,'undoMutations':[{'id':Y['id'],'params':_0x157a1d}],'redoMutations':[{'id':Y['id'],'params':_0x1a48ca}]}),!0x0):!0x1;}},Ar={'id':_0x396ed2(0x2d7),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x2a332a,_0x2100cc)=>{const _0x36beff=_0x396ed2;if(!_0x2100cc)return!0x1;let _0x47462a=_0x2a332a[_0x36beff(0x2bb)](_0x726745),_0x4a2fb6=_0x47462a[_0x36beff(0x248)](_0x2100cc['unitId'],_0x545be5[_0x36beff(0x174)]);if(!_0x4a2fb6)return!0x1;let _0x595ad0=_0x4a2fb6[_0x36beff(0x2d9)]()[_0x36beff(0x28c)];if(_0x595ad0===_0x2100cc['name'])return!0x0;let _0x2ba977=new R(),_0x17d2ca=new A(),_0x4d623b=[],_0x276d21=[],_0x40a224=[_0x4a2fb6,..._0x47462a['getAllUnitsForType'](_0x545be5[_0x36beff(0x174)])['filter'](_0x1a89b4=>_0x1a89b4['getUnitId']()!==_0x2100cc[_0x36beff(0x3dc)])];for(let _0x3f5891 of _0x40a224){let _0x28bdbb=_0x3f5891[_0x36beff(0x2d9)](),_0x5f0cd3=_0x3f5891===_0x4a2fb6?_0x2ba977[_0x36beff(0x3d5)](_0x28bdbb,_0x2100cc['name']):_0x2ba977['renameFormulaUnitReferences'](_0x28bdbb,_0x595ad0,_0x2100cc[_0x36beff(0x28c)]);_0x5f0cd3&&(_0x4d623b[_0x36beff(0x258)]({'id':Y['id'],'params':{'unitId':_0x3f5891[_0x36beff(0x2c2)](),'op':_0x5f0cd3,'trigger':Ar['id']}}),_0x276d21['unshift']({'id':Y['id'],'params':{'unitId':_0x3f5891[_0x36beff(0x2c2)](),'op':_0x17d2ca[_0x36beff(0x35e)](_0x28bdbb,_0x5f0cd3),'trigger':Ar['id']}}));}let _0xbbeda0=_0x2a332a['get'](_0x40924c),_0x1269d3=_0x2a332a[_0x36beff(0x2bb)](_0xf32056),_0x97b25a=_0x1269d3[_0x36beff(0x1d7)](_0x2100cc[_0x36beff(0x3dc)]);try{return _0x422ae7(_0x4d623b,_0xbbeda0)[_0x36beff(0x35c)]?(_0x47462a[_0x36beff(0x3ac)](_0x2100cc['unitId']),_0x1269d3[_0x36beff(0x33c)]({'unitID':_0x2100cc[_0x36beff(0x3dc)],'undoMutations':_0x276d21,'redoMutations':_0x4d623b}),!0x0):!0x1;}finally{_0x97b25a[_0x36beff(0x39b)]();}}},jr={'id':'base.command.set-base-range-values','type':_0x533ada['COMMAND'],'handler'(_0x3b9bc1,_0x2be08a){const _0x90450f=_0x396ed2;if(!_0x2be08a)return!0x1;let _0x24a219=_0x3b9bc1[_0x90450f(0x2bb)](_0x726745),{unitId:_0x5cef62,tableId:_0x10a185,patches:_0x197d3c}=_0x2be08a,_0x40212b=_0x24a219['getUnit'](_0x5cef62,_0x545be5[_0x90450f(0x174)]);if(!_0x40212b||!X(_0x40212b,_0x10a185))return!0x1;let _0xe6e451=_0x3b9bc1[_0x90450f(0x2bb)](_0x40924c),_0x3cdb6d=_0x3b9bc1[_0x90450f(0x2bb)](_0xf32056),_0x5d2b5b=_0x40212b[_0x90450f(0x2d9)](),_0x15c99d=E(_0x5d2b5b[_0x90450f(0x404)][_0x10a185]),_0x44bd19=_0x197d3c[_0x90450f(0x22a)](_0x896a7b=>{const _0x34eb14=_0x90450f;var _0x54a664;return _0x34eb14(0x348)in _0x896a7b?_0x896a7b['recordId']:(_0x54a664=_0x15c99d[_0x34eb14(0x2d2)])==null?void 0x0:_0x54a664[_0x896a7b['row']];})[_0x90450f(0x24f)](_0x33350c=>_0x33350c!=null),_0x5a6505=_0x197d3c[_0x90450f(0x22a)](_0x4eca1d=>{const _0x45f693=_0x90450f;var _0x474c7f;return _0x45f693(0x20f)in _0x4eca1d?_0x4eca1d[_0x45f693(0x20f)]:(_0x474c7f=_0x15c99d['colId'])==null?void 0x0:_0x474c7f[_0x4eca1d['col']];})[_0x90450f(0x24f)](_0x20131c=>_0x20131c!=null);if(_0x44bd19[_0x90450f(0x1dd)]!==_0x197d3c['length']||_0x5a6505[_0x90450f(0x1dd)]!==_0x197d3c[_0x90450f(0x1dd)]||!X(_0x40212b,_0x10a185,{'recordIds':_0x44bd19,'fieldIds':_0x5a6505}))return!0x1;let _0x154026=_0x197d3c[_0x90450f(0x338)](_0x556844=>{const _0x1c569a=_0x90450f;var _0x344a95,_0x1dcf0f;if('row'in _0x556844)return[_0x556844];let _0x5a73ce=(_0x344a95=_0x15c99d[_0x1c569a(0x2f0)])==null?void 0x0:_0x344a95[_0x556844[_0x1c569a(0x348)]],_0x5bacc5=(_0x1dcf0f=_0x15c99d['colIndex'])==null?void 0x0:_0x1dcf0f[_0x556844[_0x1c569a(0x20f)]];return _0x5a73ce==null||_0x5bacc5==null?[]:[{'row':_0x5a73ce,'col':_0x5bacc5,'value':_0x556844[_0x1c569a(0x34e)]}];}),_0x4fbbeb=new R()[_0x90450f(0x34d)](_0x5d2b5b,_0x10a185,_0x154026),_0x51894f=new A()[_0x90450f(0x35e)](_0x5d2b5b,_0x4fbbeb),_0x9a6718={'unitId':_0x5cef62,'op':_0x4fbbeb},_0x46bab1={'unitId':_0x5cef62,'op':_0x51894f};return _0xe6e451['syncExecuteCommand'](Y['id'],_0x9a6718)?(_0x24a219[_0x90450f(0x3ac)](_0x5cef62),_0x3cdb6d[_0x90450f(0x33c)]({'unitID':_0x5cef62,'undoMutations':[{'id':Y['id'],'params':_0x46bab1}],'redoMutations':[{'id':Y['id'],'params':_0x9a6718}]}),!0x0):!0x1;}},Mr={'id':_0x396ed2(0x2a4),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x479abb,_0x4720a4){const _0x9e8d06=_0x396ed2;if(!_0x4720a4)return!0x1;let _0x211531=_0x479abb[_0x9e8d06(0x2bb)](_0x726745),{unitId:_0x542526,tableId:_0x3b17e0,patches:_0x4d5808}=_0x4720a4,_0x50236e=_0x211531[_0x9e8d06(0x248)](_0x542526,_0x545be5[_0x9e8d06(0x174)]),_0x5bb10d=_0x4d5808[_0x9e8d06(0x22a)](_0x58580f=>_0x58580f[_0x9e8d06(0x348)]),_0x398bec=_0x4d5808[_0x9e8d06(0x338)](_0x58a1cc=>Object[_0x9e8d06(0x234)](_0x58a1cc[_0x9e8d06(0x33e)]));if(!_0x50236e||!X(_0x50236e,_0x3b17e0,{'recordIds':_0x5bb10d,'fieldIds':_0x398bec}))return!0x1;let _0x4fece3=_0x479abb[_0x9e8d06(0x2bb)](_0x40924c),_0x35fd69=_0x479abb['get'](_0xf32056),_0x2118ff=_0x479abb[_0x9e8d06(0x2bb)](W)[_0x9e8d06(0x1e7)](_0x50236e,_0x3b17e0,_0x4d5808),_0x133ced=new A()[_0x9e8d06(0x35e)](_0x50236e[_0x9e8d06(0x2d9)](),_0x2118ff),_0x11735b={'unitId':_0x542526,'op':_0x2118ff},_0x36699d={'unitId':_0x542526,'op':_0x133ced};return _0x4fece3[_0x9e8d06(0x36e)](Y['id'],_0x11735b)?(_0x211531[_0x9e8d06(0x3ac)](_0x542526),_0x35fd69[_0x9e8d06(0x33c)]({'unitID':_0x542526,'undoMutations':[{'id':Y['id'],'params':_0x36699d}],'redoMutations':[{'id':Y['id'],'params':_0x11735b}]}),!0x0):!0x1;}},Nr={'id':_0x396ed2(0x30a),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x311681,_0xeb999d)=>{const _0xba301f=_0x396ed2;var _0x3e46c5;if(!_0xeb999d)return!0x1;let _0x5271ab=_0x311681['get'](_0x726745),{unitId:_0x465a9d,tableId:_0x600c24,viewId:_0x87f3ef,fieldId:_0x69970b,target:_0x17cdd2}=_0xeb999d,_0x3b7621=_0x5271ab[_0xba301f(0x248)](_0x465a9d,_0x545be5[_0xba301f(0x174)]),_0x5a69b1=(_0x3e46c5=_0x17cdd2[_0xba301f(0x412)])==null?_0x17cdd2['afterFieldId']:_0x3e46c5;if(!_0x3b7621||!_0x5a69b1||_0x5a69b1===_0x69970b||!X(_0x3b7621,_0x600c24,{'viewIds':[_0x87f3ef],'fieldIds':[_0x69970b,_0x5a69b1]}))return!0x1;let _0x5c9337=_0x311681['get'](_0x40924c),_0x5047e2=_0x311681['get'](_0xf32056),_0x6119dc=_0x3b7621[_0xba301f(0x2d9)](),_0x16b070=new R()['setViewFieldOrder'](_0x6119dc,_0x600c24,_0x87f3ef,_0x69970b,_0x17cdd2),_0xad04f9=new A()[_0xba301f(0x35e)](_0x6119dc,_0x16b070),_0x180fb9={'unitId':_0x465a9d,'op':_0x16b070},_0x4c3e0d={'unitId':_0x465a9d,'op':_0xad04f9};return _0x5c9337[_0xba301f(0x36e)](Y['id'],_0x180fb9)?(_0x5271ab[_0xba301f(0x3ac)](_0x465a9d),_0x5047e2[_0xba301f(0x33c)]({'unitID':_0x465a9d,'undoMutations':[{'id':Y['id'],'params':_0x4c3e0d}],'redoMutations':[{'id':Y['id'],'params':_0x180fb9}]}),!0x0):!0x1;}},Pr={'id':_0x396ed2(0x41f),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x3d2c23,_0x2ec254){const _0x3e2ff5=_0x396ed2;if(!_0x2ec254)return!0x1;let _0x5b3d05=_0x3d2c23[_0x3e2ff5(0x2bb)](_0x726745),{unitId:_0x1041d4,tableId:_0x2a5997,viewId:_0x2f0208,fieldId:_0x4f828f,visible:_0x36c417}=_0x2ec254,_0x5c746d=_0x5b3d05['getUnit'](_0x1041d4,_0x545be5['UNIVER_BASE']);if(!_0x5c746d||!X(_0x5c746d,_0x2a5997,{'viewIds':[_0x2f0208],'fieldIds':[_0x4f828f]}))return!0x1;let _0x511be1=_0x3d2c23[_0x3e2ff5(0x2bb)](_0x40924c),_0x41f58f=_0x3d2c23['get'](_0xf32056),_0xd38106=_0x5c746d[_0x3e2ff5(0x2d9)](),_0x1dbb06=new R()[_0x3e2ff5(0x2e2)](_0xd38106,_0x2a5997,_0x2f0208,_0x4f828f,_0x36c417),_0x2c5597=new A()[_0x3e2ff5(0x35e)](_0xd38106,_0x1dbb06),_0x183bce={'unitId':_0x1041d4,'op':_0x1dbb06},_0x3043f3={'unitId':_0x1041d4,'op':_0x2c5597};return _0x511be1[_0x3e2ff5(0x36e)](Y['id'],_0x183bce)?(_0x5b3d05['focusUnit'](_0x1041d4),_0x41f58f[_0x3e2ff5(0x33c)]({'unitID':_0x1041d4,'undoMutations':[{'id':Y['id'],'params':_0x3043f3}],'redoMutations':[{'id':Y['id'],'params':_0x183bce}]}),!0x0):!0x1;}},Fr={'id':_0x396ed2(0x244),'type':_0x533ada['COMMAND'],'handler':(_0x28107b,_0x98df83)=>{const _0x447e08=_0x396ed2;if(!_0x98df83)return!0x1;let _0x210be9=_0x28107b[_0x447e08(0x2bb)](_0x726745),{unitId:_0x2a4422,tableId:_0x216cf7,viewId:_0x1561e1,fieldId:_0x1f9583,width:_0x58d3ce}=_0x98df83,_0x4adbc2=_0x210be9[_0x447e08(0x248)](_0x2a4422,_0x545be5[_0x447e08(0x174)]);if(!_0x4adbc2||!X(_0x4adbc2,_0x216cf7,{'viewIds':[_0x1561e1],'fieldIds':[_0x1f9583]}))return!0x1;let _0x2bafbd=_0x28107b[_0x447e08(0x2bb)](_0x40924c),_0x170c47=_0x28107b[_0x447e08(0x2bb)](_0xf32056),_0x200098=_0x4adbc2[_0x447e08(0x2d9)](),_0x57349a=new R()[_0x447e08(0x3af)](_0x200098,_0x216cf7,_0x1561e1,_0x1f9583,_0x58d3ce),_0x2c6cb7=new A()['invertOp'](_0x200098,_0x57349a),_0x502275={'unitId':_0x2a4422,'op':_0x57349a},_0x551ace={'unitId':_0x2a4422,'op':_0x2c6cb7};return _0x2bafbd[_0x447e08(0x36e)](Y['id'],_0x502275)?(_0x210be9['focusUnit'](_0x2a4422),_0x170c47[_0x447e08(0x33c)]({'unitID':_0x2a4422,'undoMutations':[{'id':Y['id'],'params':_0x551ace}],'redoMutations':[{'id':Y['id'],'params':_0x502275}]}),!0x0):!0x1;}},Ir={'id':'base.command.set-base-view-filter','type':_0x533ada['COMMAND'],'handler':(_0x556c20,_0x590c7d)=>{const _0x2350a7=_0x396ed2;var _0x50f2ef;if(!_0x590c7d)return!0x1;let _0x5ea954=_0x556c20[_0x2350a7(0x2bb)](_0x726745),{unitId:_0xc5dd17,tableId:_0x29a952,viewId:_0x46e8ee,filter:_0x8977f1}=_0x590c7d,_0x4d5658=_0x5ea954[_0x2350a7(0x248)](_0xc5dd17,_0x545be5[_0x2350a7(0x174)]),_0x1dcee8=(_0x50f2ef=_0x8977f1==null?void 0x0:_0x8977f1[_0x2350a7(0x31f)]['map'](_0x1c903e=>_0x1c903e[_0x2350a7(0x20f)]))==null?[]:_0x50f2ef;if(!_0x4d5658||!X(_0x4d5658,_0x29a952,{'viewIds':[_0x46e8ee],'fieldIds':_0x1dcee8}))return!0x1;let _0x49ddf6=_0x556c20[_0x2350a7(0x2bb)](_0x40924c),_0x319253=_0x556c20[_0x2350a7(0x2bb)](_0xf32056),_0x3470ba=_0x4d5658['getSnapshot'](),_0x124d9b=new R()['setViewFilter'](_0x3470ba,_0x29a952,_0x46e8ee,_0x8977f1),_0x566b1a=new A()[_0x2350a7(0x35e)](_0x3470ba,_0x124d9b),_0x4280cf={'unitId':_0xc5dd17,'op':_0x124d9b},_0x1629c8={'unitId':_0xc5dd17,'op':_0x566b1a};return _0x49ddf6[_0x2350a7(0x36e)](Y['id'],_0x4280cf)?(_0x5ea954[_0x2350a7(0x3ac)](_0xc5dd17),_0x319253[_0x2350a7(0x33c)]({'unitID':_0xc5dd17,'undoMutations':[{'id':Y['id'],'params':_0x1629c8}],'redoMutations':[{'id':Y['id'],'params':_0x4280cf}]}),!0x0):!0x1;}},Lr={'id':_0x396ed2(0x3c8),'type':_0x533ada['COMMAND'],'handler':(_0x1925ed,_0x31bda7)=>{const _0x1a68f5=_0x396ed2;if(!_0x31bda7)return!0x1;let _0x3d1b25=_0x1925ed[_0x1a68f5(0x2bb)](_0x726745),{unitId:_0x3ca5a6,tableId:_0x1aae13,viewId:_0x71477a,group:_0x38c38e}=_0x31bda7,_0x5254fe=_0x3d1b25[_0x1a68f5(0x248)](_0x3ca5a6,_0x545be5[_0x1a68f5(0x174)]);if(!_0x5254fe||!X(_0x5254fe,_0x1aae13,{'viewIds':[_0x71477a],'fieldIds':_0x38c38e[_0x1a68f5(0x22a)](_0xf18dcc=>_0xf18dcc[_0x1a68f5(0x20f)])}))return!0x1;let _0x2a0f28=_0x1925ed[_0x1a68f5(0x2bb)](_0x40924c),_0x546535=_0x1925ed[_0x1a68f5(0x2bb)](_0xf32056),_0x14939d=_0x5254fe[_0x1a68f5(0x2d9)](),_0x501e69=new R()[_0x1a68f5(0x279)](_0x14939d,_0x1aae13,_0x71477a,_0x38c38e),_0x26dea3=new A()['invertOp'](_0x14939d,_0x501e69),_0x2cfad1={'unitId':_0x3ca5a6,'op':_0x501e69},_0x5b9a95={'unitId':_0x3ca5a6,'op':_0x26dea3};return _0x2a0f28[_0x1a68f5(0x36e)](Y['id'],_0x2cfad1)?(_0x3d1b25[_0x1a68f5(0x3ac)](_0x3ca5a6),_0x546535['pushUndoRedo']({'unitID':_0x3ca5a6,'undoMutations':[{'id':Y['id'],'params':_0x5b9a95}],'redoMutations':[{'id':Y['id'],'params':_0x2cfad1}]}),!0x0):!0x1;}},Rr={'id':'base.command.set-base-view-sort','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x2f9f7f,_0x294b29)=>{const _0x1d8dec=_0x396ed2;if(!_0x294b29)return!0x1;let _0x2ecff9=_0x2f9f7f[_0x1d8dec(0x2bb)](_0x726745),{unitId:_0x328882,tableId:_0x5a414e,viewId:_0x5d453c,sort:_0x1ba15b}=_0x294b29,_0x545d7d=_0x2ecff9[_0x1d8dec(0x248)](_0x328882,_0x545be5[_0x1d8dec(0x174)]);if(!_0x545d7d||!X(_0x545d7d,_0x5a414e,{'viewIds':[_0x5d453c],'fieldIds':_0x1ba15b[_0x1d8dec(0x22a)](_0x39b899=>_0x39b899[_0x1d8dec(0x20f)])}))return!0x1;let _0x395e1f=_0x2f9f7f['get'](_0x40924c),_0x5ee7b9=_0x2f9f7f[_0x1d8dec(0x2bb)](_0xf32056),_0x1a5943=_0x545d7d[_0x1d8dec(0x2d9)](),_0x3a0f52=new R()[_0x1d8dec(0x250)](_0x1a5943,_0x5a414e,_0x5d453c,_0x1ba15b),_0x4b9425=new A()[_0x1d8dec(0x35e)](_0x1a5943,_0x3a0f52),_0x22fc98={'unitId':_0x328882,'op':_0x3a0f52},_0x4baa97={'unitId':_0x328882,'op':_0x4b9425};return _0x395e1f[_0x1d8dec(0x36e)](Y['id'],_0x22fc98)?(_0x2ecff9[_0x1d8dec(0x3ac)](_0x328882),_0x5ee7b9[_0x1d8dec(0x33c)]({'unitID':_0x328882,'undoMutations':[{'id':Y['id'],'params':_0x4baa97}],'redoMutations':[{'id':Y['id'],'params':_0x22fc98}]}),!0x0):!0x1;}},zr={'id':'base.command.update-base-cell','type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x4c1a78,_0x327c18){const _0x5d9ff7=_0x396ed2;if(!_0x327c18)return!0x1;let _0x36e925=_0x4c1a78[_0x5d9ff7(0x2bb)](_0x726745),{unitId:_0x1da9eb,tableId:_0x43d45f,recordId:_0x1e0aae,fieldId:_0x3f31ea,value:_0x156b8b}=_0x327c18,_0x25f848=_0x36e925[_0x5d9ff7(0x248)](_0x1da9eb,_0x545be5[_0x5d9ff7(0x174)]);if(!_0x25f848||!X(_0x25f848,_0x43d45f,{'recordIds':[_0x1e0aae],'fieldIds':[_0x3f31ea]}))return!0x1;let _0x3e500b=_0x4c1a78[_0x5d9ff7(0x2bb)](_0x40924c),_0x91e9e8=_0x4c1a78[_0x5d9ff7(0x2bb)](_0xf32056),_0x5e756d=_0x4c1a78[_0x5d9ff7(0x2bb)](W),_0x11d4a5;try{_0x11d4a5=_0x5e756d['createUpdateCellOp'](_0x25f848,_0x43d45f,_0x1e0aae,_0x3f31ea,_0x156b8b);}catch(_0x2e1345){return console[_0x5d9ff7(0x24d)](_0x5d9ff7(0x2b1),_0x2e1345),!0x1;}let _0x592875=new A()[_0x5d9ff7(0x35e)](_0x25f848[_0x5d9ff7(0x2d9)](),_0x11d4a5),_0x1205fe={'unitId':_0x1da9eb,'op':_0x11d4a5},_0x4130b4={'unitId':_0x1da9eb,'op':_0x592875};return _0x3e500b[_0x5d9ff7(0x36e)](Y['id'],_0x1205fe)?(_0x36e925[_0x5d9ff7(0x3ac)](_0x1da9eb),_0x91e9e8[_0x5d9ff7(0x33c)]({'unitID':_0x1da9eb,'undoMutations':[{'id':Y['id'],'params':_0x4130b4}],'redoMutations':[{'id':Y['id'],'params':_0x1205fe}]}),!0x0):!0x1;}},Br={'id':_0x396ed2(0x253),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x37c40d,_0x23a46f){const _0x4d6af1=_0x396ed2;if(!_0x23a46f)return!0x1;let _0x31531d=_0x37c40d[_0x4d6af1(0x2bb)](_0x726745),{unitId:_0x2e3a7b,tableId:_0x4c4d11,fieldId:_0xf6bc24}=_0x23a46f,_0x352af8=_0x31531d[_0x4d6af1(0x248)](_0x2e3a7b,_0x545be5['UNIVER_BASE']);if(!_0x352af8||!X(_0x352af8,_0x4c4d11,{'fieldIds':[_0xf6bc24]}))return!0x1;let _0x61076d=_0x37c40d[_0x4d6af1(0x2bb)](_0x40924c),_0xeeb052=_0x37c40d[_0x4d6af1(0x2bb)](_0xf32056),_0x457048=_0x352af8[_0x4d6af1(0x2d9)](),_0x3f420a=_0x23a46f[_0x4d6af1(0x1a0)][_0x4d6af1(0x317)](),_0x2feb95=new R()[_0x4d6af1(0x39e)](_0x457048,_0x4c4d11,_0xf6bc24,{'description':_0x3f420a}),_0x1752ac=new A()['invertOp'](_0x352af8[_0x4d6af1(0x2d9)](),_0x2feb95),_0x47369a={'unitId':_0x2e3a7b,'op':_0x2feb95},_0x108163={'unitId':_0x2e3a7b,'op':_0x1752ac};return _0x61076d[_0x4d6af1(0x36e)](Y['id'],_0x47369a)?(_0x31531d['focusUnit'](_0x2e3a7b),_0xeeb052[_0x4d6af1(0x33c)]({'unitID':_0x2e3a7b,'undoMutations':[{'id':Y['id'],'params':_0x108163}],'redoMutations':[{'id':Y['id'],'params':_0x47369a}]}),!0x0):!0x1;}},Vr={'id':_0x396ed2(0x240),'type':_0x533ada['COMMAND'],'handler':(_0x532658,_0x363409)=>{const _0x15ceea=_0x396ed2;if(!_0x363409)return!0x1;let _0x504466=_0x532658['get'](_0x726745),{unitId:_0x2e9cbd,tableId:_0x48a703,fieldId:_0x3d97e3,patch:_0x106966}=_0x363409,_0x481a2a=_0x504466[_0x15ceea(0x248)](_0x2e9cbd,_0x545be5[_0x15ceea(0x174)]);if(!_0x481a2a||!X(_0x481a2a,_0x48a703,{'fieldIds':[_0x3d97e3]}))return!0x1;let _0x15a9f5=_0x532658['get'](_0x40924c),_0x3d8752=_0x532658[_0x15ceea(0x2bb)](_0xf32056),_0x36ad86=_0x481a2a['getSnapshot'](),_0x328573=new R()[_0x15ceea(0x39e)](_0x36ad86,_0x48a703,_0x3d97e3,_0x106966),_0x27fd2e=new A()['invertOp'](_0x36ad86,_0x328573),_0x22c614={'unitId':_0x2e9cbd,'op':_0x328573},_0x3d28d2={'unitId':_0x2e9cbd,'op':_0x27fd2e};return _0x15a9f5[_0x15ceea(0x36e)](Y['id'],_0x22c614)?(_0x504466[_0x15ceea(0x3ac)](_0x2e9cbd),_0x3d8752[_0x15ceea(0x33c)]({'unitID':_0x2e9cbd,'undoMutations':[{'id':Y['id'],'params':_0x3d28d2}],'redoMutations':[{'id':Y['id'],'params':_0x22c614}]}),!0x0):!0x1;}},Hr={'id':'base.command.update-base-kanban-config','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x5bcc2c,_0x3490cf)=>{const _0x38d777=_0x396ed2;if(!_0x3490cf)return!0x1;let _0x11a7f4=_0x5bcc2c[_0x38d777(0x2bb)](_0x726745),{unitId:_0x37e5a9,tableId:_0x1d0527,viewId:_0x59c6a2,patch:_0x3f7d44}=_0x3490cf,_0x5dff0c=_0x11a7f4[_0x38d777(0x248)](_0x37e5a9,_0x545be5[_0x38d777(0x174)]);if(!_0x5dff0c||!X(_0x5dff0c,_0x1d0527,{'viewIds':[_0x59c6a2]}))return!0x1;let _0x50cbd1=_0x5bcc2c[_0x38d777(0x2bb)](_0x40924c),_0x244bf3=_0x5bcc2c[_0x38d777(0x2bb)](_0xf32056),_0x4b07e6=_0x5dff0c[_0x38d777(0x2d9)](),_0x2324a1=new R()['updateViewConfig'](_0x4b07e6,_0x1d0527,_0x59c6a2,_0x3f7d44),_0x1fadc2=new A()[_0x38d777(0x35e)](_0x4b07e6,_0x2324a1),_0xf9e6ff={'unitId':_0x37e5a9,'op':_0x2324a1},_0x483529={'unitId':_0x37e5a9,'op':_0x1fadc2};return _0x50cbd1[_0x38d777(0x36e)](Y['id'],_0xf9e6ff)?(_0x11a7f4['focusUnit'](_0x37e5a9),_0x244bf3[_0x38d777(0x33c)]({'unitID':_0x37e5a9,'undoMutations':[{'id':Y['id'],'params':_0x483529}],'redoMutations':[{'id':Y['id'],'params':_0xf9e6ff}]}),!0x0):!0x1;}},Ur={'id':_0x396ed2(0x369),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x17b3df,_0x3d2816)=>{const _0x10a211=_0x396ed2;if(!_0x3d2816)return!0x1;let _0x42d372=_0x17b3df['get'](_0x726745),{unitId:_0x4af075,tableId:_0x11b581,recordId:_0x35f493,orderKey:_0x1cbf4a}=_0x3d2816,_0x1789ef=_0x42d372[_0x10a211(0x248)](_0x4af075,_0x545be5['UNIVER_BASE']);if(!_0x1789ef||!X(_0x1789ef,_0x11b581,{'recordIds':[_0x35f493]}))return!0x1;let _0x472d1b=_0x17b3df[_0x10a211(0x2bb)](_0x40924c),_0x318c42=_0x17b3df[_0x10a211(0x2bb)](_0xf32056),_0x54c90e=_0x1789ef['getSnapshot'](),_0x17d164=new R()[_0x10a211(0x361)](_0x54c90e,_0x11b581,_0x35f493,_0x1cbf4a),_0x1db84c=new A()['invertOp'](_0x54c90e,_0x17d164),_0x37f9ae={'unitId':_0x4af075,'op':_0x17d164},_0x9801ff={'unitId':_0x4af075,'op':_0x1db84c};return _0x472d1b[_0x10a211(0x36e)](Y['id'],_0x37f9ae)?(_0x42d372[_0x10a211(0x3ac)](_0x4af075),_0x318c42['pushUndoRedo']({'unitID':_0x4af075,'undoMutations':[{'id':Y['id'],'params':_0x9801ff}],'redoMutations':[{'id':Y['id'],'params':_0x37f9ae}]}),!0x0):!0x1;}},Wr={'id':_0x396ed2(0x1f8),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x297afa,_0x237088)=>{const _0xd78d06=_0x396ed2;if(!_0x237088)return!0x1;let _0x492409=_0x297afa[_0xd78d06(0x2bb)](_0x726745),{unitId:_0x169637,tableId:_0x4bfec4,viewId:_0x4fe794,patch:_0x499bb3}=_0x237088,_0x39bd17=_0x492409[_0xd78d06(0x248)](_0x169637,_0x545be5[_0xd78d06(0x174)]);if(!_0x39bd17||!X(_0x39bd17,_0x4bfec4,{'viewIds':[_0x4fe794]}))return!0x1;let _0x41a447=_0x297afa['get'](_0x40924c),_0x10ef83=_0x297afa[_0xd78d06(0x2bb)](_0xf32056),_0x5017be=_0x39bd17[_0xd78d06(0x2d9)](),_0x103fc2=new R()[_0xd78d06(0x3ed)](_0x5017be,_0x4bfec4,_0x4fe794,_0x499bb3),_0x277c7b=new A()[_0xd78d06(0x35e)](_0x5017be,_0x103fc2),_0x1afc3f={'unitId':_0x169637,'op':_0x103fc2},_0x173565={'unitId':_0x169637,'op':_0x277c7b};return _0x41a447[_0xd78d06(0x36e)](Y['id'],_0x1afc3f)?(_0x492409[_0xd78d06(0x3ac)](_0x169637),_0x10ef83[_0xd78d06(0x33c)]({'unitID':_0x169637,'undoMutations':[{'id':Y['id'],'params':_0x173565}],'redoMutations':[{'id':Y['id'],'params':_0x1afc3f}]}),!0x0):!0x1;}};function Gr(_0x168da1){const _0x5635c3=_0x396ed2;var _0x58a7d6,_0x2835cb,_0xa9af8f,_0x43e853,_0xedd373;let _0x557d2c=(_0x58a7d6=_0x168da1[_0x5635c3(0x29f)])==null?Date[_0x5635c3(0x29f)]():_0x58a7d6,_0x258d0f=(_0x2835cb=_0x168da1[_0x5635c3(0x243)])==null?_0x168da1['id']+_0x5635c3(0x359):_0x2835cb,_0x12bf76=(_0xa9af8f=_0x168da1[_0x5635c3(0x210)])==null?_0x168da1['id']+_0x5635c3(0x364):_0xa9af8f,_0x226eca=(_0x43e853=_0x168da1[_0x5635c3(0x1d6)])==null?0x5:_0x43e853,_0x40f8b9={'id':_0x258d0f,'name':(_0xedd373=_0x168da1[_0x5635c3(0x16d)])==null?_0x5635c3(0x42b):_0xedd373,'type':_0x1e4a6b[_0x5635c3(0x2ce)],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x67c10e={},_0x436f38=[],_0xc0275b={},_0xbe4743={},_0x107021={};for(let _0x499926=0x0;_0x499926<_0x226eca;_0x499926++){let _0x25c0b4=_0x168da1['id']+_0x5635c3(0x17f)+(_0x499926+0x1);_0x67c10e[_0x25c0b4]={'id':_0x25c0b4,'values':_0x168da1['recordNamePrefix']?{[_0x258d0f]:_0x168da1[_0x5635c3(0x251)]+'\x20'+(_0x499926+0x1)}:{},'orderKey':String(_0x499926+0x1)[_0x5635c3(0x371)](0x4,'0'),'createdAt':_0x557d2c,'updatedAt':_0x557d2c},_0x436f38['push'](_0x25c0b4),_0xc0275b[_0x25c0b4]=_0x499926,_0xbe4743[_0x499926]=_0x25c0b4,_0x107021[_0x499926]={},_0x168da1[_0x5635c3(0x251)]&&(_0x107021[_0x499926][0x0]={'v':_0x168da1['recordNamePrefix']+'\x20'+(_0x499926+0x1)});}let _0x23dd85={'id':_0x12bf76,'tableId':_0x168da1['id'],'name':_0x5635c3(0x1d5),'type':_0x51a654[_0x5635c3(0x1d5)],'fieldOrder':[_0x258d0f],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x168da1['id'],'name':_0x168da1[_0x5635c3(0x28c)],'primaryFieldId':_0x258d0f,'fieldOrder':[_0x258d0f],'fields':{[_0x258d0f]:_0x40f8b9},'records':_0x67c10e,'recordOrder':_0x436f38,'rowIndex':_0xc0275b,'rowId':_0xbe4743,'colIndex':{[_0x258d0f]:0x0},'colId':{0x0:_0x258d0f},'cellData':_0x107021,'views':{[_0x12bf76]:_0x23dd85},'viewOrder':[_0x12bf76]};}const Kr=_0x396ed2(0x17b);function qr(_0x5c56a4){const _0x317c23=_0x396ed2;var _0x558e30,_0x2f35df;let _0x2ffad4=Gr({'id':_0x5c56a4[_0x317c23(0x1fd)],'name':(_0x558e30=_0x5c56a4[_0x317c23(0x28c)])==null?_0x5c56a4[_0x317c23(0x394)]:_0x558e30,'recordCount':0x0});return{..._0x2ffad4,'resources':{...(_0x2f35df=_0x2ffad4[_0x317c23(0x421)])==null?{}:_0x2f35df,[Kr]:Xr(_0x5c56a4)}};}function Jr(_0x5a32f7){const _0x35ca15=_0x396ed2;return{'id':Y['id'],'params':{'unitId':_0x5a32f7[_0x35ca15(0x3dc)],'op':new R()['createTable'](_0x5a32f7[_0x35ca15(0x32d)],_0x5a32f7[_0x35ca15(0x328)],_0x5a32f7[_0x35ca15(0x362)]),'trigger':'embed-ui'}};}function Yr(_0x41715c){const _0x5a0deb=_0x396ed2;let _0x3f49d8=_0x41715c[_0x5a0deb(0x32d)][_0x5a0deb(0x1fe)][_0x5a0deb(0x400)](_0x41715c['tableId']);if(!(!_0x41715c['snapshot'][_0x5a0deb(0x404)][_0x41715c[_0x5a0deb(0x2b3)]]||_0x3f49d8<0x0))return{'id':Y['id'],'params':{'unitId':_0x41715c[_0x5a0deb(0x3dc)],'op':new R()[_0x5a0deb(0x2e5)](_0x41715c[_0x5a0deb(0x32d)],_0x41715c[_0x5a0deb(0x2b3)]),'trigger':_0x5a0deb(0x37e)}};}function _0x5744(_0xb38240,_0x14ed25){_0xb38240=_0xb38240-0x157;const _0x3d4acb=_0x3d4a();let _0x574407=_0x3d4acb[_0xb38240];return _0x574407;}function Xr(_0x724389){const _0x2f6d47=_0x396ed2;return{'version':0x1,'embedId':_0x724389['embedId'],'hostAnchorId':_0x724389[_0x2f6d47(0x1fd)],'childUnitId':_0x724389[_0x2f6d47(0x26d)],'childType':_0x724389['childType']};}function Zr(_0x48dd98){const _0x1d1c0e=_0x396ed2;var _0x2c7d77;let _0x4da687=Math[_0x1d1c0e(0x422)](0x0,Number((_0x2c7d77=_0x48dd98[_0x1d1c0e(0x32e)])==null?0x0:_0x2c7d77)),_0x2652aa=_0x48dd98['useThousands']===!0x1?'0':_0x1d1c0e(0x397),_0x8a5c1c=_0x4da687?'.'+'0'[_0x1d1c0e(0x3f3)](_0x4da687):'',_0x3d3013=$r(_0x48dd98[_0x1d1c0e(0x299)]);return''+(_0x48dd98[_0x1d1c0e(0x2fe)]?ei(_0x48dd98[_0x1d1c0e(0x2fe)]):'')+_0x2652aa+_0x8a5c1c+_0x3d3013;}function Qr(_0x467dbb,_0x4c3f54){const _0x367721=_0x396ed2;let _0x408792=Zr(_0x4c3f54),_0x21f0ce=_0xac5c9d[_0x367721(0x1f7)](_0x408792,_0x467dbb,{'throws':!0x1});return ti(String(_0x21f0ce),_0x4c3f54[_0x367721(0x3c9)],_0x4c3f54[_0x367721(0x390)]);}function $r(_0x149a58){const _0x2ff7a0=_0x396ed2;return _0x149a58==='K'?_0x2ff7a0(0x171):_0x149a58==='M'?_0x2ff7a0(0x16f):_0x149a58==='B'?_0x2ff7a0(0x184):'';}function ei(_0x2e04d1){const _0x349534=_0x396ed2;return/^[A-Z]+$/i[_0x349534(0x427)](_0x2e04d1)?'\x22'+_0x2e04d1+'\x22':_0x2e04d1;}function ti(_0xdd7624,_0x45fc35,_0x8dd4e9){const _0x3fdc68=_0x396ed2;let _0x4be383=_0x45fc35===_0x3fdc68(0x257)?ni(_0x8dd4e9):_0x45fc35;return _0x4be383===_0x3fdc68(0x293)?_0xdd7624['replace'](/,/g,'\x00')['replace'](/\./g,',')[_0x3fdc68(0x407)](/\0/g,'.'):_0x4be383==='spaceComma'?_0xdd7624[_0x3fdc68(0x407)](/,/g,'\x20')[_0x3fdc68(0x407)](/\./g,','):_0x4be383===_0x3fdc68(0x1e9)?_0xdd7624[_0x3fdc68(0x407)](/,/g,'\x20'):_0xdd7624;}function ni(_0x730d15){const _0x5b00ba=_0x396ed2;var _0x1fa2f2,_0x125024;let _0x356ec8=_0x730d15||Intl[_0x5b00ba(0x377)]()[_0x5b00ba(0x263)]()[_0x5b00ba(0x390)],_0x2eda57;try{_0x2eda57=new Intl[(_0x5b00ba(0x377))](_0x356ec8,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x5b00ba(0x426)](0xf4240);}catch{return _0x5b00ba(0x3b9);}let _0x3ec56e=(_0x1fa2f2=_0x2eda57[_0x5b00ba(0x289)](_0x5ed272=>_0x5ed272[_0x5b00ba(0x415)]===_0x5b00ba(0x1e0)))==null?void 0x0:_0x1fa2f2[_0x5b00ba(0x34e)],_0x6e4a2e=(_0x125024=_0x2eda57[_0x5b00ba(0x289)](_0x3d0148=>_0x3d0148[_0x5b00ba(0x415)]===_0x5b00ba(0x3f5)))==null?void 0x0:_0x125024[_0x5b00ba(0x34e)],_0xc930c8=_0x3ec56e==='\u00a0'||_0x3ec56e==='\u202f'?'\x20':_0x3ec56e;return _0xc930c8==='.'&&_0x6e4a2e===','?_0x5b00ba(0x293):_0xc930c8==='\x20'&&_0x6e4a2e===','?_0x5b00ba(0x3e0):_0xc930c8==='\x20'&&_0x6e4a2e==='.'?_0x5b00ba(0x1e9):_0x5b00ba(0x3b9);}function ri(_0x4e1dd6,_0x2b337a){const _0x443f58=_0x396ed2;var _0x45dcb0,_0x319326;let _0x19b890=_0x32f40f['deepClone'](_0x4e1dd6),_0x529603=_0x2b337a[_0x443f58(0x157)]===!0x0,_0x1fdcf8=new Map(),_0x3ca35a=(_0x45dcb0=_0x2b337a[_0x443f58(0x3e2)])==null?()=>_0x443f58(0x43d)+_0x42f468(0x8):_0x45dcb0,_0x347ba3=_0x19b890[_0x443f58(0x26b)];return _0x2b337a['regenerateViewIds']&&(_0x347ba3=_0x19b890['viewOrder'][_0x443f58(0x22a)](_0x5bdbe8=>{const _0x4e0ec3=_0x443f58;let _0x4880a9=_0x3ca35a();return _0x1fdcf8[_0x4e0ec3(0x387)](_0x5bdbe8,_0x4880a9),_0x4880a9;})),{..._0x19b890,'id':_0x2b337a['id'],'name':_0x2b337a['name'],'records':_0x529603?_0x19b890[_0x443f58(0x1ce)]:{},'recordOrder':_0x529603?_0x19b890[_0x443f58(0x3ab)]:[],'rowIndex':_0x529603?_0x19b890[_0x443f58(0x2f0)]:{},'rowId':_0x529603?_0x19b890[_0x443f58(0x2d2)]:{},'cellData':_0x529603?_0x19b890[_0x443f58(0x34c)]:{},'resources':_0x529603?_0x19b890[_0x443f58(0x421)]:{},'viewOrder':_0x347ba3,'views':Object[_0x443f58(0x185)](Object['entries']((_0x319326=_0x19b890[_0x443f58(0x173)])==null?{}:_0x319326)[_0x443f58(0x22a)](([_0x289b52,_0x5b7845])=>{const _0x5c7cf5=_0x443f58;var _0x2942fc;let _0x538275=(_0x2942fc=_0x1fdcf8[_0x5c7cf5(0x2bb)](_0x289b52))==null?_0x2b337a[_0x5c7cf5(0x1fa)]?_0x3ca35a():_0x289b52:_0x2942fc;return[_0x538275,{..._0x5b7845,'id':_0x538275,'tableId':_0x2b337a['id']}];}))};}var ii=_0x396ed2(0x3e3),ai=_0x396ed2(0x1ef);const oi={},si={};function ci(_0x4d971f){return new A()['getAffectedRanges'](_0x4d971f);}function li(_0x2976d2){const _0x2532db=_0x396ed2;return _0x2976d2[_0x2532db(0x41c)]['map'](_0x3a5252=>({'unitId':_0x2976d2[_0x2532db(0x3dc)],'sheetId':_0x2976d2[_0x2532db(0x2b3)],'range':{'startRow':_0x3a5252['row'],'endRow':_0x3a5252[_0x2532db(0x284)],'startColumn':_0x3a5252[_0x2532db(0x3b3)],'endColumn':_0x3a5252['col']}}));}function ui(_0x19949e,_0x276f76){const _0x5d1ae7=_0x396ed2;return{[_0x19949e]:Object['fromEntries'](_0x276f76[_0x5d1ae7(0x22a)](_0x58e0f3=>[_0x58e0f3,'1']))};}let di=class extends _0x4c331b{constructor(_0x1db32c,_0x5d63ef){const _0x3cb167=_0x396ed2;super(),this[_0x3cb167(0x334)]=_0x1db32c,this[_0x3cb167(0x25f)]=_0x5d63ef,this[_0x3cb167(0x262)]();}[_0x396ed2(0x262)](){const _0x546686=_0x396ed2;this[_0x546686(0x334)][_0x546686(0x290)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x66bc54=>this[_0x546686(0x2ef)](_0x66bc54[_0x546686(0x370)])}),this[_0x546686(0x2fc)](_0x37a382(()=>{const _0x502a0f=_0x546686;this[_0x502a0f(0x334)][_0x502a0f(0x269)](Y['id']);}));}[_0x396ed2(0x324)](_0x2fc168,_0x4d7c4b){const _0x6edb9c=_0x396ed2;var _0xe5b6c0;let _0x4e4574=this[_0x6edb9c(0x25f)][_0x6edb9c(0x248)](_0x2fc168,_0x545be5[_0x6edb9c(0x174)]);return(_0xe5b6c0=_0x4e4574==null?void 0x0:_0x4e4574[_0x6edb9c(0x2d9)]()[_0x6edb9c(0x404)][_0x4d7c4b])==null?null:_0xe5b6c0;}[_0x396ed2(0x2ef)](_0x2fa344){const _0x5ce785=_0x396ed2;if(_0x2fa344[_0x5ce785(0x1c0)]===_0x5ce785(0x3d7))return{};if(!_0x2fa344[_0x5ce785(0x3dc)]||!_0x2fa344['op'])return{'clearDependencyTreeCache':this[_0x5ce785(0x2af)](),'forceCalculation':!0x0};let _0x57f792=ci(_0x2fa344['op']),_0x2c6188=this[_0x5ce785(0x1b5)](_0x2fa344[_0x5ce785(0x3dc)],_0x57f792);if(_0x2c6188['length'])return{'clearDependencyTreeCache':ui(_0x2fa344['unitId'],_0x2c6188),'forceCalculation':!0x0};let _0x4f5083=Object[_0x5ce785(0x236)](this[_0x5ce785(0x231)](_0x2fa344[_0x5ce785(0x3dc)],_0x57f792))[_0x5ce785(0x338)](([_0x2ed157,_0x1b5969])=>li({'unitId':_0x2fa344[_0x5ce785(0x3dc)],'tableId':_0x2ed157,'patches':_0x1b5969}));return _0x4f5083[_0x5ce785(0x1dd)]?{'dirtyRanges':_0x4f5083}:{};}[_0x396ed2(0x1b5)](_0x8d2d8,_0x4e5c85){const _0xae0668=_0x396ed2;let _0x2c2c96=_0x4e5c85[_0xae0668(0x24f)](_0x12a209=>_0x12a209[_0xae0668(0x3c2)]!=='cell')['flatMap'](_0x4d7101=>_0x4d7101[_0xae0668(0x2b3)]?[_0x4d7101['tableId']]:this[_0xae0668(0x26a)](_0x8d2d8));return Array[_0xae0668(0x34b)](new Set(_0x2c2c96));}[_0x396ed2(0x231)](_0x50ac60,_0x1f48d7){const _0x18b81d=_0x396ed2;let _0x497392=new Set();return _0x1f48d7[_0x18b81d(0x307)]((_0x5a1e38,_0x34d832)=>{const _0x2f3edf=_0x18b81d;var _0x368ff7;let _0x408757=this[_0x2f3edf(0x313)](_0x50ac60,_0x34d832);if(!_0x408757)return _0x5a1e38;let _0x56dfc3=_0x34d832[_0x2f3edf(0x2b3)]+':'+_0x408757['row']+':'+_0x408757[_0x2f3edf(0x3b3)];return _0x497392['has'](_0x56dfc3)?_0x5a1e38:(_0x497392[_0x2f3edf(0x229)](_0x56dfc3),_0x5a1e38[_0x34d832[_0x2f3edf(0x2b3)]]=(_0x368ff7=_0x5a1e38[_0x34d832[_0x2f3edf(0x2b3)]])==null?[]:_0x368ff7,_0x5a1e38[_0x34d832['tableId']][_0x2f3edf(0x258)](_0x408757),_0x5a1e38);},{});}[_0x396ed2(0x313)](_0x48f5ff,_0x361430){const _0x3d63b6=_0x396ed2;if(_0x361430[_0x3d63b6(0x3c2)]!==_0x3d63b6(0x38f))return null;if(_0x361430[_0x3d63b6(0x284)]!=null&&_0x361430[_0x3d63b6(0x26c)]!=null)return{'row':_0x361430[_0x3d63b6(0x284)],'col':_0x361430[_0x3d63b6(0x26c)],'value':null};if(!_0x361430[_0x3d63b6(0x348)]||!_0x361430[_0x3d63b6(0x20f)])return null;let _0xce4094=this[_0x3d63b6(0x324)](_0x48f5ff,_0x361430['tableId']);if(!_0xce4094)return null;let _0xed35a3=we(_0xce4094,_0x361430['recordId'],_0x361430[_0x3d63b6(0x20f)]);return _0xed35a3?{'row':_0xed35a3[_0x3d63b6(0x284)],'col':_0xed35a3[_0x3d63b6(0x3b3)],'value':null}:null;}[_0x396ed2(0x26a)](_0x5e4992){const _0x5162d2=_0x396ed2;var _0x2921c4;let _0x17b07a=this[_0x5162d2(0x25f)]['getUnit'](_0x5e4992,_0x545be5[_0x5162d2(0x174)]);return Object[_0x5162d2(0x33e)]((_0x2921c4=_0x17b07a==null?void 0x0:_0x17b07a[_0x5162d2(0x2d9)]()[_0x5162d2(0x404)])==null?{}:_0x2921c4)[_0x5162d2(0x22a)](_0x225766=>_0x225766['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x37f09c=_0x396ed2;let _0x35bba5=this[_0x37f09c(0x25f)]['getAllUnitsForType'](_0x545be5['UNIVER_BASE'])[_0x37f09c(0x22a)](_0x375f5d=>ui(_0x375f5d[_0x37f09c(0x2c2)](),Object[_0x37f09c(0x234)](_0x375f5d[_0x37f09c(0x2d9)]()[_0x37f09c(0x404)])));return Object['assign']({},..._0x35bba5);}};di=U([H(0x0,_0xe982eb),H(0x1,_0x726745)],di);const fi=_0x301934[_0x396ed2(0x409)](String[_0x396ed2(0x2ab)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x301934['createRegExpFromSafeFragment'](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x301934[_0x396ed2(0x409)](String['raw']`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x301934[_0x396ed2(0x409)](String[_0x396ed2(0x2ab)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x396ed2(0x356)](_0x594c81,_0x397848=_0x594c81['id']){const _0x4fbb5a=_0x396ed2;var _0x1e2836,_0x2bd92c;let _0x159c40=(_0x1e2836=(_0x2bd92c=_0x594c81[_0x4fbb5a(0x3ab)])==null?void 0x0:_0x2bd92c[_0x4fbb5a(0x1dd)])==null?Object[_0x4fbb5a(0x33e)](_0x594c81[_0x4fbb5a(0x1ce)])[_0x4fbb5a(0x1dd)]:_0x1e2836;return{'sheetId':_0x397848,'titleMap':new Map(_0x594c81['fieldOrder'][_0x4fbb5a(0x22a)]((_0x560aad,_0x1af42d)=>{const _0x10f015=_0x4fbb5a;var _0x20400c,_0x512cac;return[(_0x20400c=(_0x512cac=_0x594c81[_0x10f015(0x2f3)][_0x560aad])==null?void 0x0:_0x512cac[_0x10f015(0x28c)])==null?_0x560aad:_0x20400c,_0x1af42d];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x159c40-0x1),'startColumn':0x0,'endColumn':Math[_0x4fbb5a(0x422)](0x0,_0x594c81[_0x4fbb5a(0x201)][_0x4fbb5a(0x1dd)]-0x1)},'showHeader':!0x1};}[_0x396ed2(0x19b)](_0xc84b1,_0x556b1b,_0x20945c,_0x3477d9={}){const _0x60b7cc=_0x396ed2;var _0x116196;let _0x3817ab=this[_0x60b7cc(0x356)](_0x20945c,(_0x116196=_0x3477d9[_0x60b7cc(0x2f9)])==null?_0x20945c['id']:_0x116196);return new Set([_0x20945c['id'],_0x20945c[_0x60b7cc(0x28c)],_0x3477d9[_0x60b7cc(0x419)]][_0x60b7cc(0x24f)](_0x290d1d=>!!_0x290d1d))['forEach'](_0x333a2e=>_0xc84b1[_0x60b7cc(0x2ad)](_0x556b1b,_0x333a2e,_0x3817ab)),_0x3817ab;}[_0x396ed2(0x18d)](_0x176fd3,_0x445d66){const _0x4f8ac8=_0x396ed2;let _0x121770=this[_0x4f8ac8(0x3b8)](_0x445d66);return _0x121770[_0x4f8ac8(0x3d3)](({tableName:_0x3a887b,reference:_0x1f3574})=>{_0x176fd3['registerTable'](_0x445d66['id'],_0x3a887b,_0x1f3574);}),Array[_0x4f8ac8(0x34b)](new Set(_0x121770[_0x4f8ac8(0x22a)](({reference:_0x52bdd4})=>_0x52bdd4)));}[_0x396ed2(0x3b8)](_0x43b409,_0x47875c){const _0x150191=_0x396ed2;let _0x57e9ab=[],_0x4278b1=_0x47875c?new Set(_0x47875c):null,_0x185816=new Map();return Object[_0x150191(0x33e)](_0x43b409[_0x150191(0x404)])['forEach'](_0x19b237=>{const _0x4e21f8=_0x150191;var _0x23675c;let _0x2a5f18=_0x19b237['name'][_0x4e21f8(0x317)]()['toLowerCase']();_0x185816[_0x4e21f8(0x387)](_0x2a5f18,((_0x23675c=_0x185816[_0x4e21f8(0x2bb)](_0x2a5f18))==null?0x0:_0x23675c)+0x1);}),Object[_0x150191(0x33e)](_0x43b409[_0x150191(0x404)])[_0x150191(0x24f)](_0x594782=>!_0x4278b1||_0x4278b1[_0x150191(0x1c2)](_0x594782['id']))[_0x150191(0x3d3)](_0x463e98=>{const _0x4ac024=_0x150191;var _0x41932d;let _0x216087=this['createSuperTableReference'](_0x463e98,_0x463e98['id']);_0x57e9ab[_0x4ac024(0x258)]({'tableId':_0x463e98['id'],'tableName':_0x463e98['id'],'reference':_0x216087}),((_0x41932d=_0x185816[_0x4ac024(0x2bb)](_0x463e98[_0x4ac024(0x28c)]['trim']()[_0x4ac024(0x1ad)]()))==null?0x0:_0x41932d)===0x1&&_0x57e9ab[_0x4ac024(0x258)]({'tableId':_0x463e98['id'],'tableName':_0x463e98[_0x4ac024(0x28c)],'reference':_0x216087});}),_0x57e9ab;}[_0x396ed2(0x39a)](_0x506787,_0x1736cb,_0x38e74d={}){const _0x7bf5cb=_0x396ed2;let _0x208d93=_0x506787[_0x7bf5cb(0x317)]();if(!_0x208d93)return{'valid':!0x0};if(Ci(_0x208d93))return{'valid':!0x1,'reason':_0x7bf5cb(0x2bc)};for(let _0x3633af of Si(_0x208d93)){let _0x57f781=ki(_0x3633af,_0x1736cb,_0x38e74d[_0x7bf5cb(0x32d)]);if(!_0x57f781[_0x7bf5cb(0x328)])return{'valid':!0x1,'reason':_0x7bf5cb(0x2e7)+_0x3633af[_0x7bf5cb(0x419)]+_0x7bf5cb(0x3ec)};if(!_0x57f781[_0x7bf5cb(0x232)])return{'valid':!0x1,'reason':_0x7bf5cb(0x2a3)+_0x3633af[_0x7bf5cb(0x213)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x396ed2(0x160)](_0x32d4f0,_0x373f30,_0x5850f6={}){const _0x515e5e=_0x396ed2;let _0x4d3c1b=new Set();for(let _0xb1952 of this[_0x515e5e(0x1d0)](_0x32d4f0,_0x373f30,_0x5850f6))_0xb1952[_0x515e5e(0x2b3)]===_0x373f30['id']&&_0x4d3c1b[_0x515e5e(0x229)](_0xb1952[_0x515e5e(0x20f)]);return Array[_0x515e5e(0x34b)](_0x4d3c1b);}[_0x396ed2(0x1d0)](_0x284ddb,_0x3206a2,_0x2478f8={}){const _0x270cce=_0x396ed2;let _0x3134b0=new Map();for(let _0xd1ca3e of Si(_0x284ddb)){let _0x3bd135=ki(_0xd1ca3e,_0x3206a2,_0x2478f8[_0x270cce(0x32d)]);if(!_0x3bd135[_0x270cce(0x328)]||!_0x3bd135[_0x270cce(0x232)])continue;let _0x403646=_0x3bd135[_0x270cce(0x328)]['id']+'\x1f'+_0x3bd135[_0x270cce(0x232)]['id'];_0x3134b0['set'](_0x403646,{'tableId':_0x3bd135[_0x270cce(0x328)]['id'],'fieldId':_0x3bd135[_0x270cce(0x232)]['id']});}return Array['from'](_0x3134b0['values']());}};function vi(_0x1f7055,_0xbd0390){const _0x395836=_0x396ed2;var _0x2cdc8e;let _0x16f8b9=[],_0x2808b6=(_0x2cdc8e=_0xbd0390[_0x395836(0x15d)])==null?void 0x0:_0x2cdc8e[_0x1f7055['id']];return _0x2808b6&&Object[_0x395836(0x236)](_0x2808b6)[_0x395836(0x3d3)](([_0x1a1dde,_0x30380e])=>{const _0x54204a=_0x395836;let _0x561ef8=_0x1f7055[_0x54204a(0x404)][_0x1a1dde];if(!_0x561ef8||!_0x30380e)return;let _0x17235d=E(_0x561ef8),_0x5dbd0c=[];new _0x14ef58(_0x30380e)[_0x54204a(0x3a0)]((_0x3e8645,_0x4a935c,_0x20bfdb)=>{const _0xe593db=_0x54204a;let _0x1c2c89=yi(_0x17235d,_0x3e8645,_0x4a935c,_0x20bfdb);_0x1c2c89&&_0x5dbd0c[_0xe593db(0x258)](_0x1c2c89);}),_0x5dbd0c[_0x54204a(0x1dd)]&&_0x16f8b9[_0x54204a(0x258)]({'unitId':_0x1f7055['id'],'tableId':_0x1a1dde,'patches':_0x5dbd0c});}),_0x16f8b9;}function yi(_0x576c36,_0x1a839a,_0x5497cb,_0xd88b6c){const _0xb64670=_0x396ed2;var _0x4e96f3,_0x1d9f44,_0x568013,_0x21bf52,_0x1a988a;let _0x3b231f=(_0x4e96f3=_0x576c36[_0xb64670(0x2d2)])==null?void 0x0:_0x4e96f3[_0x1a839a],_0x5dc251=(_0x1d9f44=_0x576c36['colId'])==null?void 0x0:_0x1d9f44[_0x5497cb];if(!_0x3b231f||!_0x576c36[_0xb64670(0x1ce)][_0x3b231f]||!_0x5dc251)return null;let _0x5c83bd=_0x576c36[_0xb64670(0x2f3)][_0x5dc251];if(!_0x5c83bd||_0x5c83bd[_0xb64670(0x415)]!==_0xb64670(0x1c9))return null;let _0x35aa16=String((_0x568013=(_0x21bf52=_0x5c83bd['config'])==null?void 0x0:_0x21bf52[_0xb64670(0x1c9)])==null?'':_0x568013)[_0xb64670(0x317)](),_0x3cc7ce=(_0x1a988a=_0xd88b6c==null?void 0x0:_0xd88b6c['v'])==null?null:_0x1a988a,_0x112dbe={'v':_0x3cc7ce,'t':xi(_0x3cc7ce),..._0x1a839a===0x0&&_0x35aa16?{'f':_0x35aa16}:{},'si':_0x5c83bd['id']};return bi(Te(_0x576c36,_0x3b231f,_0x5dc251),_0x112dbe)?null:{'row':_0x1a839a,'col':_0x5497cb,'value':_0x112dbe};}function bi(_0x191b2e,_0x3d0909){var _0x314a99,_0x44cef1;return _0x191b2e!=null&&Object['is']((_0x314a99=_0x191b2e['v'])==null?null:_0x314a99,(_0x44cef1=_0x3d0909['v'])==null?null:_0x44cef1)&&_0x191b2e['t']===_0x3d0909['t']&&_0x191b2e['f']===_0x3d0909['f']&&_0x191b2e['si']===_0x3d0909['si'];}function xi(_0x170118){const _0x3fb73e=_0x396ed2;return typeof _0x170118==_0x3fb73e(0x267)?_0x5e55fc[_0x3fb73e(0x2db)]:typeof _0x170118==_0x3fb73e(0x424)?_0x5e55fc[_0x3fb73e(0x3d1)]:typeof _0x170118==_0x3fb73e(0x247)?_0x5e55fc[_0x3fb73e(0x268)]:null;}function Si(_0x4edc22){const _0x71bd18=_0x396ed2;_0x4edc22=wi(_0x4edc22,()=>'');let _0x454e14=new Map();for(let _0x23aca6 of _0x4edc22[_0x71bd18(0x3ea)](mi)){let _0x4ce0e0={'fieldName':_0x23aca6[0x1]};_0x454e14['set']('\x1f'+_0x4ce0e0['fieldName'],_0x4ce0e0);}for(let _0x4a88e5 of _0x4edc22[_0x71bd18(0x3ea)](hi)){let _0x20c3e3={'tableName':_0x4a88e5[0x1],'fieldName':_0x4a88e5[0x2]};_0x454e14[_0x71bd18(0x387)](_0x20c3e3[_0x71bd18(0x419)]+'\x1f'+_0x20c3e3['fieldName'],_0x20c3e3);}for(let _0x1be4d5 of _0x4edc22[_0x71bd18(0x3ea)](gi)){let _0x350c44={'fieldName':_0x1be4d5[0x2]};_0x454e14[_0x71bd18(0x387)]('\x1f'+_0x350c44[_0x71bd18(0x213)],_0x350c44);}return Array[_0x71bd18(0x34b)](_0x454e14[_0x71bd18(0x33e)]());}function Ci(_0x1a08c1){const _0x4fe1a1=_0x396ed2;let _0x371f45=Ti(_0x1a08c1,()=>'\x20')[_0x4fe1a1(0x407)](mi,'\x20')[_0x4fe1a1(0x407)](hi,'\x20')[_0x4fe1a1(0x407)](gi,'$1\x20');return fi['test'](_0x371f45);}function wi(_0x24473f,_0xda0ad){return Di(Ti(_0x24473f,_0xda0ad),_0xda0ad);}function Ti(_0x1340ac,_0x5a1672){const _0xb1925d=_0x396ed2;return pi[_0xb1925d(0x357)]=0x0,_0x1340ac['replace'](pi,(_0x206af1,_0x505af1)=>Oi(_0x1340ac,_0x505af1)?_0x206af1:_0x5a1672(_0x206af1));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x1eb833,_0x597344){const _0x4d37ce=_0x396ed2;let _0x173341=[];Ei[_0x4d37ce(0x357)]=0x0;let _0x2242ac;for(;(_0x2242ac=Ei[_0x4d37ce(0x3d9)](_0x1eb833))!=null;){if(Oi(_0x1eb833,_0x2242ac[_0x4d37ce(0x362)]))continue;let _0x9161f3=Ei[_0x4d37ce(0x357)]-0x1,_0x5b1633=0x0;for(let _0x5b8ceb=_0x9161f3;_0x5b8ceb<_0x1eb833[_0x4d37ce(0x1dd)];_0x5b8ceb++)if(_0x1eb833[_0x5b8ceb]==='['&&_0x5b1633++,_0x1eb833[_0x5b8ceb]===']'&&(_0x5b1633--,_0x5b1633===0x0)){_0x173341[_0x4d37ce(0x258)]({'start':_0x2242ac[_0x4d37ce(0x362)],'end':_0x5b8ceb+0x1}),Ei[_0x4d37ce(0x357)]=_0x5b8ceb+0x1;break;}}if(_0x173341[_0x4d37ce(0x1dd)]===0x0)return _0x1eb833;let _0xf7a6b3='',_0x2e7ade=0x0;for(let _0x3200fc of _0x173341)_0xf7a6b3+=_0x1eb833[_0x4d37ce(0x1ac)](_0x2e7ade,_0x3200fc['start']),_0xf7a6b3+=_0x597344(_0x1eb833['slice'](_0x3200fc[_0x4d37ce(0x18e)],_0x3200fc[_0x4d37ce(0x261)])),_0x2e7ade=_0x3200fc[_0x4d37ce(0x261)];return _0xf7a6b3+_0x1eb833[_0x4d37ce(0x1ac)](_0x2e7ade);}function Oi(_0x5c3de9,_0x1323fa){let _0x292507=!0x1;for(let _0x5085bb=0x0;_0x5085bb<_0x1323fa;_0x5085bb++)if(_0x5c3de9[_0x5085bb]==='\x22'){if(_0x292507&&_0x5c3de9[_0x5085bb+0x1]==='\x22'){_0x5085bb++;continue;}_0x292507=!_0x292507;}return _0x292507;}function ki(_0x4a44b2,_0x50a190,_0x2da720){const _0x22fbf0=_0x396ed2;let _0x43d763=Ai(_0x4a44b2[_0x22fbf0(0x419)],_0x50a190,_0x2da720);return{'table':_0x43d763,'field':_0x43d763?Object['values'](_0x43d763[_0x22fbf0(0x2f3)])[_0x22fbf0(0x289)](_0x86eb6a=>_0x86eb6a['name']===_0x4a44b2[_0x22fbf0(0x213)]):void 0x0};}function Ai(_0x311993,_0x482280,_0x1893b1){const _0x269c5c=_0x396ed2;if(!_0x311993||_0x311993===_0x269c5c(0x328)||_0x311993===_0x482280['id']||_0x311993===_0x482280['name'])return _0x482280;if(!_0x1893b1)return;let _0x82de0a=_0x1893b1[_0x269c5c(0x404)][_0x311993];if(_0x82de0a)return _0x82de0a;let _0x444436=Object[_0x269c5c(0x33e)](_0x1893b1[_0x269c5c(0x404)])[_0x269c5c(0x24f)](_0x61867c=>_0x61867c['name']===_0x311993);return _0x444436[_0x269c5c(0x1dd)]===0x1?_0x444436[0x0]:void 0x0;}let ji=class extends _0x4c331b{constructor(_0x4e19c3,_0xa28272,_0x21c7b6){const _0x2dc9c8=_0x396ed2;super(),this['_commandService']=_0x4e19c3,this[_0x2dc9c8(0x25f)]=_0xa28272,B(this,_0x2dc9c8(0x215),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,'_formulaSyncQueue',Promise[_0x2dc9c8(0x19a)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x2dc9c8(0x262)]();}[_0x396ed2(0x262)](){const _0x3682e5=_0x396ed2;this[_0x3682e5(0x25f)][_0x3682e5(0x27c)](_0x545be5[_0x3682e5(0x174)])['forEach'](_0x44314b=>{const _0x1023a1=_0x3682e5;this[_0x1023a1(0x19f)](async()=>{await this['_syncSuperTables'](_0x44314b);});}),this['disposeWithMe'](this[_0x3682e5(0x25f)]['getTypeOfUnitAdded$'](_0x545be5[_0x3682e5(0x174)])[_0x3682e5(0x1aa)](({unit:_0x656c52})=>{this['_enqueueFormulaSync'](async()=>{await this['_syncSuperTables'](_0x656c52);});})),this[_0x3682e5(0x2fc)](this[_0x3682e5(0x25f)][_0x3682e5(0x1f9)](_0x545be5[_0x3682e5(0x174)])[_0x3682e5(0x1aa)](_0x1b0aca=>{const _0x2ed90d=_0x3682e5;this['_enqueueFormulaSync'](()=>this[_0x2ed90d(0x22d)](_0x1b0aca[_0x2ed90d(0x2c2)]()));})),this[_0x3682e5(0x2fc)](this['_commandService'][_0x3682e5(0x1eb)](_0xa49070=>this[_0x3682e5(0x2de)](_0xa49070)));}[_0x396ed2(0x2de)](_0xdf1ecb){const _0x3dcdd1=_0x396ed2;if(_0xdf1ecb['id']===_0x5dc15c['id']){Ni(_0xdf1ecb[_0x3dcdd1(0x370)])&&this[_0x3dcdd1(0x28e)](_0xdf1ecb[_0x3dcdd1(0x370)]);return;}if(this[_0x3dcdd1(0x39f)]||_0xdf1ecb['id']!==Y['id'])return;let _0x3bd23c=Mi(_0xdf1ecb['params'])?_0xdf1ecb[_0x3dcdd1(0x370)]:void 0x0,_0x4fba5c=_0x3bd23c!=null&&_0x3bd23c['unitId']?[this[_0x3dcdd1(0x25f)][_0x3dcdd1(0x248)](_0x3bd23c[_0x3dcdd1(0x3dc)],_0x545be5[_0x3dcdd1(0x174)])][_0x3dcdd1(0x24f)](_0x553104=>!!_0x553104):this[_0x3dcdd1(0x25f)][_0x3dcdd1(0x27c)](_0x545be5[_0x3dcdd1(0x174)]),_0x1f37a3=_0x3bd23c==null?void 0x0:_0x3bd23c['op'];_0x4fba5c[_0x3dcdd1(0x3d3)](_0x5f24e1=>{const _0x2eaa67=_0x3dcdd1;let _0x33e14d=_0x1f37a3?ci(_0x1f37a3):[];(!_0x1f37a3||_0x33e14d[_0x2eaa67(0x24c)](_0x2d064a=>_0x2d064a[_0x2eaa67(0x3c2)]!==_0x2eaa67(0x38f)))&&this[_0x2eaa67(0x19f)](()=>this[_0x2eaa67(0x205)](_0x5f24e1));});}async[_0x396ed2(0x205)](_0x3cff6f){const _0x3173c7=_0x396ed2;var _0x12149e;let _0x250951=_0x3cff6f['getUnitId'](),_0x4d2e04=this[_0x3173c7(0x215)][_0x3173c7(0x3b8)](_0x3cff6f[_0x3173c7(0x2d9)]()),_0x4e446d=new Set(_0x4d2e04[_0x3173c7(0x22a)](({tableName:_0x418c30})=>_0x418c30)),_0x242214=(_0x12149e=this[_0x3173c7(0x19e)]['get'](_0x250951))==null?new Set():_0x12149e;for(let _0x5e59f9 of _0x242214)_0x4e446d[_0x3173c7(0x1c2)](_0x5e59f9)||await this[_0x3173c7(0x333)][_0x3173c7(0x31d)](_0x5f0ad7['id'],{'unitId':_0x250951,'tableName':_0x5e59f9});for(let {tableName:_0x414085,reference:_0xa4ba87}of _0x4d2e04)await this[_0x3173c7(0x333)][_0x3173c7(0x31d)](_0x28033a['id'],{'unitId':_0x250951,'tableName':_0x414085,'reference':_0xa4ba87});this['_registeredSuperTableNames'][_0x3173c7(0x387)](_0x250951,_0x4e446d);}async[_0x396ed2(0x22d)](_0x1de3fa){const _0x16c888=_0x396ed2;var _0x41b375;let _0x2572b4=(_0x41b375=this[_0x16c888(0x19e)][_0x16c888(0x2bb)](_0x1de3fa))==null?new Set():_0x41b375;for(let _0x38686e of _0x2572b4)await this[_0x16c888(0x333)][_0x16c888(0x31d)](_0x5f0ad7['id'],{'unitId':_0x1de3fa,'tableName':_0x38686e});this[_0x16c888(0x19e)][_0x16c888(0x3cc)](_0x1de3fa);}['_enqueueFormulaSync'](_0x8355aa){const _0x12049d=_0x396ed2;this['_formulaSyncQueue']=this[_0x12049d(0x1ae)][_0x12049d(0x330)](_0x8355aa,_0x8355aa)['catch'](()=>void 0x0);}[_0x396ed2(0x28e)](_0xe26c63){const _0x735da5=_0x396ed2;let _0x1aac6e=this['_univerInstanceService'][_0x735da5(0x27c)](_0x545be5['UNIVER_BASE'])[_0x735da5(0x338)](_0x243d7c=>vi(_0x243d7c[_0x735da5(0x2d9)](),_0xe26c63));if(!_0x1aac6e[_0x735da5(0x1dd)])return;let _0x48ab91=new R(),_0xb16902=_0x1aac6e[_0x735da5(0x338)](_0x22505f=>li({'unitId':_0x22505f['unitId'],'tableId':_0x22505f['tableId'],'patches':_0x22505f[_0x735da5(0x41c)]}));this[_0x735da5(0x39f)]=!0x0,(async()=>{const _0x179c6e=_0x735da5;for(let _0x2b1ac2 of _0x1aac6e){let _0x57f46d=this[_0x179c6e(0x25f)][_0x179c6e(0x248)](_0x2b1ac2[_0x179c6e(0x3dc)],_0x545be5[_0x179c6e(0x174)]);_0x57f46d&&await this['_commandService'][_0x179c6e(0x31d)](Y['id'],{'unitId':_0x2b1ac2[_0x179c6e(0x3dc)],'op':_0x48ab91[_0x179c6e(0x34d)](_0x57f46d[_0x179c6e(0x2d9)](),_0x2b1ac2[_0x179c6e(0x2b3)],_0x2b1ac2['patches']),'trigger':_0x5dc15c['id']},{'onlyLocal':!0x0});}await this[_0x179c6e(0x333)][_0x179c6e(0x31d)](_0x39bd47['id'],{'dirtyRanges':_0xb16902},{'onlyLocal':!0x0});})()[_0x735da5(0x31c)](()=>{this['_applyingFormulaResults']=!0x1;});}};ji=U([H(0x0,_0x40924c),H(0x1,_0x726745),H(0x2,_0x351210(_0x4c060b))],ji);function Mi(_0x445078){const _0x2c09ec=_0x396ed2;return typeof _0x445078==_0x2c09ec(0x25a)&&!!_0x445078&&'unitId'in _0x445078&&typeof _0x445078[_0x2c09ec(0x3dc)]==_0x2c09ec(0x247)&&'op'in _0x445078&&Array[_0x2c09ec(0x3db)](_0x445078['op']);}function Ni(_0x105706){const _0x382e7a=_0x396ed2;return typeof _0x105706==_0x382e7a(0x25a)&&!!_0x105706&&_0x382e7a(0x15d)in _0x105706&&_0x382e7a(0x15e)in _0x105706;}const Pi=_0x2adec3(_0x396ed2(0x1c4));let Fi=class{constructor(_0x385244){const _0x39f3cf=_0x396ed2;this[_0x39f3cf(0x25f)]=_0x385244;}[_0x396ed2(0x26e)](_0x15b265){const _0x37f2d4=_0x396ed2;var _0x5a9264;return(_0x5a9264=this[_0x37f2d4(0x25f)][_0x37f2d4(0x248)](_0x15b265,_0x545be5[_0x37f2d4(0x174)]))==null?null:_0x5a9264;}['getAllBases'](){const _0x3c5905=_0x396ed2;return this[_0x3c5905(0x25f)][_0x3c5905(0x27c)](_0x545be5[_0x3c5905(0x174)]);}[_0x396ed2(0x38a)](_0x4d7c5e){const _0x1907cb=_0x396ed2;return this[_0x1907cb(0x25f)][_0x1907cb(0x29b)](_0x545be5[_0x1907cb(0x174)],_0x4d7c5e);}};Fi=U([H(0x0,_0x726745)],Fi);const Ii=_0x2adec3(_0x396ed2(0x3f6));var Li=class extends _0x4c331b{constructor(..._0x18addd){const _0x24c45c=_0x396ed2;super(..._0x18addd),B(this,_0x24c45c(0x373),new Map());}['register'](_0x469ad8){const _0x432b3a=_0x396ed2;return this['_plugins'][_0x432b3a(0x387)](_0x469ad8[_0x432b3a(0x415)],_0x469ad8),_0x37a382(()=>this[_0x432b3a(0x373)][_0x432b3a(0x3cc)](_0x469ad8[_0x432b3a(0x415)]));}['get'](_0x55724e){const _0x2aebc6=_0x396ed2;let _0x337e19=this[_0x2aebc6(0x373)][_0x2aebc6(0x2bb)](_0x55724e);if(!_0x337e19)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x55724e+_0x2aebc6(0x296));return _0x337e19;}[_0x396ed2(0x2a8)](){const _0x34cdf7=_0x396ed2;return Array[_0x34cdf7(0x34b)](this['_plugins'][_0x34cdf7(0x33e)]());}};const Ri=[Y];let Z=class extends _0x3ca0db{constructor(_0x54062a=oi,_0x37f83e,_0x3fe945,_0x134986,_0x54240b,_0x2e27ab){const _0x2f34ff=_0x396ed2;super(),this[_0x2f34ff(0x320)]=_0x54062a,this[_0x2f34ff(0x30e)]=_0x37f83e,this['_commandService']=_0x3fe945,this[_0x2f34ff(0x25f)]=_0x134986,this['_configService']=_0x54240b,this[_0x2f34ff(0x42c)]=_0x2e27ab,B(this,_0x2f34ff(0x346),new Map());let {..._0x636e69}=_0x46244f({},oi,this[_0x2f34ff(0x320)]);this[_0x2f34ff(0x1a2)][_0x2f34ff(0x2b7)](_0x2f34ff(0x196),_0x636e69),this[_0x2f34ff(0x25f)][_0x2f34ff(0x28b)](_0x545be5[_0x2f34ff(0x174)],_0x46e527),this[_0x2f34ff(0x365)](),this[_0x2f34ff(0x2c0)](),this[_0x2f34ff(0x2a5)](),this[_0x2f34ff(0x2ae)]();}[_0x396ed2(0x43a)](){const _0x100741=_0x396ed2;_0x4e84d6(this['_injector'],[[Fi],[on],[di]]),this[_0x100741(0x25f)][_0x100741(0x27c)](_0x545be5[_0x100741(0x174)])[_0x100741(0x3d3)](_0x515ab9=>this[_0x100741(0x3bd)](_0x515ab9['getUnitId']())),_0x4e84d6(this[_0x100741(0x30e)],[[ji]]);}[_0x396ed2(0x365)](){const _0x27b1f2=_0x396ed2;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x27b1f2(0x3d3)](_0x3560cb=>this['_injector'][_0x27b1f2(0x229)](_0x3560cb));}[_0x396ed2(0x2c0)](){const _0x5cbe50=_0x396ed2;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri][_0x5cbe50(0x3d3)](_0x53ecd5=>this[_0x5cbe50(0x2fc)](this[_0x5cbe50(0x333)][_0x5cbe50(0x1cc)](_0x53ecd5))),Ri[_0x5cbe50(0x3d3)](_0x334c04=>{const _0x441e23=_0x5cbe50;var _0x1aa478;return(_0x1aa478=this[_0x441e23(0x42c)])==null?void 0x0:_0x1aa478[_0x441e23(0x162)](_0x334c04);});}[_0x396ed2(0x2ae)](){const _0x498d6c=_0x396ed2;this['_dataSyncPrimaryController']&&(this[_0x498d6c(0x2fc)](this[_0x498d6c(0x25f)][_0x498d6c(0x2d0)](_0x545be5[_0x498d6c(0x174)])[_0x498d6c(0x1aa)](({unit:_0x4717ed})=>{const _0x168539=_0x498d6c;this[_0x168539(0x3bd)](_0x4717ed[_0x168539(0x2c2)]());})),this[_0x498d6c(0x2fc)](this[_0x498d6c(0x25f)]['getTypeOfUnitDisposed$'](_0x545be5['UNIVER_BASE'])[_0x498d6c(0x1aa)](_0x4e615b=>{const _0x34093a=_0x498d6c;var _0x2fe1f2;(_0x2fe1f2=this[_0x34093a(0x346)]['get'](_0x4e615b[_0x34093a(0x2c2)]()))==null||_0x2fe1f2[_0x34093a(0x39b)](),this['_baseSyncDisposables'][_0x34093a(0x3cc)](_0x4e615b[_0x34093a(0x2c2)]());})));}[_0x396ed2(0x3bd)](_0x366920){const _0x456bba=_0x396ed2;!this['_dataSyncPrimaryController']||this[_0x456bba(0x346)]['has'](_0x366920)||this[_0x456bba(0x346)][_0x456bba(0x387)](_0x366920,this['_dataSyncPrimaryController'][_0x456bba(0x3de)](_0x366920));}[_0x396ed2(0x2a5)](){const _0x38a7af=_0x396ed2;let _0x4d2a57=this[_0x38a7af(0x30e)][_0x38a7af(0x2bb)](en);At()[_0x38a7af(0x3d3)](_0x36bc4f=>_0x4d2a57[_0x38a7af(0x290)](_0x36bc4f));let _0x22b68d=this[_0x38a7af(0x30e)][_0x38a7af(0x2bb)](Ii),_0x417d76=this['_injector'][_0x38a7af(0x2bb)](_n);fn()['forEach'](_0x118ab1=>{const _0x197d9a=_0x38a7af;_0x22b68d[_0x197d9a(0x290)](_0x118ab1),_0x417d76[_0x197d9a(0x1ee)](_0x118ab1);});}};B(Z,'pluginName',_0x396ed2(0x2ac)),B(Z,'packageName',ii),B(Z,'version',ai),B(Z,'type',_0x545be5[_0x396ed2(0x174)]),Z=U([_0x58d15d(_0xb68e7e,_0x21bd3b),H(0x1,_0x351210(_0x2217d0)),H(0x2,_0x40924c),H(0x3,_0x726745),H(0x4,_0x20ec7f),H(0x5,_0x240cfb(_0x110092))],Z);let Q=class extends _0x3ca0db{constructor(_0x3f5cba=si,_0x2ee1f9,_0x54b3a8,_0x3d0d3a,_0x2a75aa){const _0x563887=_0x396ed2;super(),this[_0x563887(0x320)]=_0x3f5cba,this['_injector']=_0x2ee1f9,this[_0x563887(0x333)]=_0x54b3a8,this[_0x563887(0x1a2)]=_0x3d0d3a,this[_0x563887(0x25f)]=_0x2a75aa;let {..._0x3ff3ab}=_0x46244f({},si,this[_0x563887(0x320)]);this[_0x563887(0x1a2)][_0x563887(0x2b7)]('bases.remote.config',_0x3ff3ab),this[_0x563887(0x25f)][_0x563887(0x28b)](_0x545be5[_0x563887(0x174)],_0x46e527),Ri[_0x563887(0x3d3)](_0x26aa91=>this[_0x563887(0x2fc)](this[_0x563887(0x333)][_0x563887(0x1cc)](_0x26aa91)));}};B(Q,_0x396ed2(0x347),_0x396ed2(0x286)),B(Q,_0x396ed2(0x389),ii),B(Q,_0x396ed2(0x295),ai),B(Q,_0x396ed2(0x415),_0x545be5[_0x396ed2(0x174)]),Q=U([_0x58d15d(_0xb68e7e,_0x21bd3b),H(0x1,_0x351210(_0x2217d0)),H(0x2,_0x40924c),H(0x3,_0x20ec7f),H(0x4,_0x726745)],Q);function zi(_0x4aaec2){const _0x4a53f3=_0x396ed2;let _0x1a2933=Qi(_0x4aaec2[_0x4a53f3(0x1a7)]);if(!_0x1a2933)return{'query':'','total':0x0,'matches':[]};let _0x44a640=[],_0x1b1c8b=[];for(let _0x529109=0x0;_0x529109<_0x4aaec2[_0x4a53f3(0x35a)][_0x4a53f3(0x1dd)];_0x529109++){if(!(_0x529109 in _0x4aaec2[_0x4a53f3(0x35a)]))continue;let _0x553033=_0x4aaec2[_0x4a53f3(0x328)][_0x4a53f3(0x2f3)][_0x4aaec2[_0x4a53f3(0x35a)][_0x529109]];_0x553033&&_0x1b1c8b['push']({'field':_0x553033,'fieldIndex':_0x529109});}_0x4aaec2[_0x4a53f3(0x270)][_0x4a53f3(0x3d3)]((_0x5d6fe9,_0x1b86b0)=>{const _0x463595=_0x4a53f3;_0x1b1c8b[_0x463595(0x3d3)](({field:_0x521b57,fieldIndex:_0x3a5971})=>{const _0x4472d0=_0x463595;let _0x41f692=Bi(_0x5d6fe9['values'][_0x521b57['id']],_0x521b57);if(!_0x41f692)return;let _0xc58f07=Zi(_0x1a2933,_0x41f692[_0x4472d0(0x2e1)]);_0xc58f07<=0x0||_0x44a640[_0x4472d0(0x258)]({'recordId':_0x5d6fe9['recordId'],'fieldId':_0x521b57['id'],'fieldType':_0x521b57['type'],'text':_0x41f692[_0x4472d0(0x1c8)],'score':_0xc58f07,'rowIndex':_0x1b86b0,'fieldIndex':_0x3a5971});});}),_0x44a640[_0x4a53f3(0x314)]((_0x2a3d36,_0x6d262f)=>_0x6d262f[_0x4a53f3(0x3fc)]-_0x2a3d36[_0x4a53f3(0x3fc)]||_0x2a3d36[_0x4a53f3(0x2f0)]-_0x6d262f['rowIndex']||_0x2a3d36[_0x4a53f3(0x2d1)]-_0x6d262f[_0x4a53f3(0x2d1)]);let _0x17f963=_0x4aaec2[_0x4a53f3(0x1e3)]==null?_0x44a640:_0x44a640[_0x4a53f3(0x1ac)](0x0,Math['max'](0x0,_0x4aaec2[_0x4a53f3(0x1e3)]));return{'query':_0x1a2933,'total':_0x44a640['length'],'matches':ea(_0x17f963)};}function Bi(_0x349a2f,_0x2546c0){const _0x41933a=_0x396ed2;let _0x5234bf=[];for(let _0x1d3e4b of Hi(_0x349a2f,_0x2546c0)){let _0x51942a=Qi(_0x1d3e4b);_0x51942a&&_0x5234bf[_0x41933a(0x258)](_0x51942a);}return _0x5234bf['length']?{'displayText':Vi(_0x349a2f,_0x2546c0),'searchTexts':$i(_0x5234bf)}:null;}function Vi(_0x238cff,_0x126c28){const _0x4e6732=_0x396ed2;switch(_0x126c28[_0x4e6732(0x415)]){case _0x1e4a6b[_0x4e6732(0x165)]:case _0x1e4a6b['MultiSelect']:case _0x1e4a6b[_0x4e6732(0x3f7)]:return Ui(_0x238cff,_0x126c28)[_0x4e6732(0x186)](',\x20');case _0x1e4a6b[_0x4e6732(0x354)]:return Ki(_0x238cff);case _0x1e4a6b[_0x4e6732(0x225)]:case _0x1e4a6b[_0x4e6732(0x1b4)]:case _0x1e4a6b[_0x4e6732(0x18c)]:return qi(_0x238cff,_0x126c28);case _0x1e4a6b['Number']:case _0x1e4a6b['Currency']:return Ji(_0x238cff,_0x126c28);case _0x1e4a6b[_0x4e6732(0x3f0)]:return Yi(_0x238cff,_0x126c28);case _0x1e4a6b[_0x4e6732(0x1cb)]:return _0x238cff?'Checked':_0x4e6732(0x3f2);case _0x1e4a6b[_0x4e6732(0x2da)]:return Xi(_0x238cff)[_0x4e6732(0x186)](',\x20');default:return $(_0x238cff);}}function Hi(_0x3a6836,_0x2d9645){const _0x557f52=_0x396ed2;switch(_0x2d9645[_0x557f52(0x415)]){case _0x1e4a6b[_0x557f52(0x165)]:case _0x1e4a6b['MultiSelect']:case _0x1e4a6b[_0x557f52(0x3f7)]:{let _0x907e87=Ui(_0x3a6836,_0x2d9645);if(Array[_0x557f52(0x3db)](_0x3a6836)){let _0x53fc95=[..._0x907e87];for(let _0x5e7063=0x0;_0x5e7063<_0x3a6836[_0x557f52(0x1dd)];_0x5e7063++)_0x5e7063 in _0x3a6836&&_0x53fc95[_0x557f52(0x258)](String(_0x3a6836[_0x5e7063]));return _0x53fc95;}return _0x3a6836==null?_0x907e87:[..._0x907e87,String(_0x3a6836)];}case _0x1e4a6b[_0x557f52(0x354)]:{let _0x440020=Gi(_0x3a6836);return[_0x440020[_0x557f52(0x305)],_0x440020['url']];}case _0x1e4a6b[_0x557f52(0x225)]:case _0x1e4a6b[_0x557f52(0x1b4)]:case _0x1e4a6b['UpdatedAt']:return[qi(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b[_0x557f52(0x3ae)]:case _0x1e4a6b[_0x557f52(0x429)]:return[Ji(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b['Progress']:return[Yi(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b[_0x557f52(0x1cb)]:return _0x3a6836?[_0x557f52(0x3a1),_0x557f52(0x367),_0x557f52(0x282)]:[_0x557f52(0x3f2),'No',_0x557f52(0x37a)];case _0x1e4a6b[_0x557f52(0x2da)]:return Xi(_0x3a6836);default:return[$(_0x3a6836)];}}function Ui(_0x1a92e9,_0x328ec4){const _0x1f984a=_0x396ed2;var _0xda75fe;let _0x400014=Array[_0x1f984a(0x3db)]((_0xda75fe=_0x328ec4[_0x1f984a(0x285)])==null?void 0x0:_0xda75fe[_0x1f984a(0x198)])?_0x328ec4[_0x1f984a(0x285)][_0x1f984a(0x198)]:[],_0x44e852=[];if(Array[_0x1f984a(0x3db)](_0x1a92e9)){for(let _0x3d062d=0x0;_0x3d062d<_0x1a92e9['length'];_0x3d062d++){if(!(_0x3d062d in _0x1a92e9))continue;let _0x1d4ba0=String(_0x1a92e9[_0x3d062d]);_0x1d4ba0&&_0x44e852[_0x1f984a(0x258)](Wi(_0x400014,_0x1d4ba0));}return _0x44e852;}if(_0x1a92e9!=null){let _0x2e3f9c=String(_0x1a92e9);_0x2e3f9c&&_0x44e852['push'](Wi(_0x400014,_0x2e3f9c));}return _0x44e852;}function Wi(_0x5be492,_0x30cf19){const _0x48920d=_0x396ed2;for(let _0x1e9c1f of _0x5be492){if(typeof _0x1e9c1f=='string'&&_0x1e9c1f===_0x30cf19)return _0x1e9c1f;if(_0x1e9c1f&&typeof _0x1e9c1f=='object'){var _0x50281e,_0x2206c2,_0x11c56b;let _0x1211d7=_0x1e9c1f;if(String((_0x50281e=(_0x2206c2=_0x1211d7['id'])==null?_0x1211d7[_0x48920d(0x28c)]:_0x2206c2)==null?'':_0x50281e)===_0x30cf19||String((_0x11c56b=_0x1211d7[_0x48920d(0x28c)])==null?'':_0x11c56b)===_0x30cf19){var _0x1864b9,_0xf8426b;return String((_0x1864b9=(_0xf8426b=_0x1211d7['name'])==null?_0x1211d7['id']:_0xf8426b)==null?_0x30cf19:_0x1864b9);}}}return _0x30cf19;}function Gi(_0x1ce37a){const _0x31c85d=_0x396ed2;if(_0x1ce37a&&typeof _0x1ce37a==_0x31c85d(0x25a)&&!Array[_0x31c85d(0x3db)](_0x1ce37a)){var _0x13456c,_0x8a46b4,_0x8b4e68;let _0x2ce4db=_0x1ce37a;return{'text':String((_0x13456c=(_0x8a46b4=_0x2ce4db[_0x31c85d(0x305)])==null?_0x2ce4db[_0x31c85d(0x2f1)]:_0x8a46b4)==null?'':_0x13456c),'url':String((_0x8b4e68=_0x2ce4db[_0x31c85d(0x2f1)])==null?'':_0x8b4e68)};}return{'text':$(_0x1ce37a),'url':$(_0x1ce37a)};}function Ki(_0x1455d2){const _0x2c74b4=_0x396ed2;let _0xe68af2=Gi(_0x1455d2);return _0xe68af2['text']||_0xe68af2[_0x2c74b4(0x2f1)];}function qi(_0xff5d6,_0x2ed50f){const _0x47d115=_0x396ed2;return typeof _0xff5d6!=_0x47d115(0x267)||!Number[_0x47d115(0x1da)](_0xff5d6)?'':st(_0xff5d6,_0x2ed50f['config']);}function Ji(_0x5e3559,_0x3bfbe5){const _0x83a31e=_0x396ed2;let _0x7bde54=typeof _0x5e3559==_0x83a31e(0x267)?_0x5e3559:Number(_0x5e3559);return Number[_0x83a31e(0x1da)](_0x7bde54)?Qr(_0x7bde54,_0x3bfbe5[_0x83a31e(0x285)]):'';}function Yi(_0x233d13,_0x2812d9){const _0x492e62=_0x396ed2;var _0x59c4d6;let _0x402a18=typeof _0x233d13==_0x492e62(0x267)?_0x233d13:Number(_0x233d13);if(!Number[_0x492e62(0x1da)](_0x402a18))return'';let _0x18c3d0=(_0x59c4d6=_0x2812d9[_0x492e62(0x285)])==null?{}:_0x59c4d6,_0x52db54=_0x18c3d0[_0x492e62(0x32e)]===0x1||_0x18c3d0[_0x492e62(0x32e)]===0x2?_0x18c3d0[_0x492e62(0x32e)]:0x0,_0x25cc2d=_0x402a18[_0x492e62(0x34f)](_0x52db54);return _0x18c3d0[_0x492e62(0x1f7)]==='number'?_0x25cc2d:_0x25cc2d+'%';}function Xi(_0x20dd53){const _0x50ac89=_0x396ed2;return Array[_0x50ac89(0x3db)](_0x20dd53)?_0x20dd53[_0x50ac89(0x338)](_0x50c835=>{const _0x1de850=_0x50ac89;var _0xfbbad,_0x2727d0;if(!_0x50c835||typeof _0x50c835!=_0x1de850(0x25a))return[];let _0x4be58d=_0x50c835,_0x3bfede=String((_0xfbbad=(_0x2727d0=_0x4be58d[_0x1de850(0x28c)])==null?_0x4be58d[_0x1de850(0x2f1)]:_0x2727d0)==null?'':_0xfbbad)['trim']();return _0x3bfede?[_0x3bfede]:[];}):[];}function $(_0x17eda0){const _0x2dd6e4=_0x396ed2;if(_0x17eda0==null)return'';if(typeof _0x17eda0=='boolean')return _0x17eda0?_0x2dd6e4(0x2a7):_0x2dd6e4(0x3a8);if(typeof _0x17eda0==_0x2dd6e4(0x267))return String(_0x17eda0);if(Array[_0x2dd6e4(0x3db)](_0x17eda0)){let _0x3826f4=[];for(let _0x1634a7=0x0;_0x1634a7<_0x17eda0['length'];_0x1634a7++){if(!(_0x1634a7 in _0x17eda0))continue;let _0x4d7855=$(_0x17eda0[_0x1634a7]);_0x4d7855&&_0x3826f4['push'](_0x4d7855);}return _0x3826f4[_0x2dd6e4(0x186)](',\x20');}if(typeof _0x17eda0=='object'){var _0x148878,_0x4a9646,_0x16682c,_0x1dd295;let _0x30ff2d=_0x17eda0;return String((_0x148878=(_0x4a9646=(_0x16682c=(_0x1dd295=_0x30ff2d[_0x2dd6e4(0x3b1)])==null?_0x30ff2d[_0x2dd6e4(0x28c)]:_0x1dd295)==null?_0x30ff2d[_0x2dd6e4(0x305)]:_0x16682c)==null?_0x30ff2d[_0x2dd6e4(0x2f1)]:_0x4a9646)==null?'':_0x148878)[_0x2dd6e4(0x317)]();}return String(_0x17eda0);}function Zi(_0x5d79dd,_0x2014fb){const _0xce2082=_0x396ed2;let _0x1138ff=0x0;for(let _0x195093 of _0x2014fb)if(_0x195093){if(_0x195093===_0x5d79dd){_0x1138ff=Math[_0xce2082(0x422)](_0x1138ff,0x12c);continue;}if(_0x195093[_0xce2082(0x30d)](_0x5d79dd)){_0x1138ff=Math[_0xce2082(0x422)](_0x1138ff,0xfa);continue;}_0x195093[_0xce2082(0x323)](_0x5d79dd)&&(_0x1138ff=Math['max'](_0x1138ff,0xc8));}return _0x1138ff;}function Qi(_0x3694f5){const _0x5b0554=_0x396ed2;return _0x3694f5['trim']()['replace'](/\s+/g,'\x20')[_0x5b0554(0x1ad)]();}function $i(_0x1b8ed7){const _0x33a2ae=_0x396ed2;return Array[_0x33a2ae(0x34b)](new Set(_0x1b8ed7));}function ea(_0x4f5cae){const _0x147cb9=_0x396ed2;let _0x38a29f=[];for(let {rowIndex:_0x5b90c0,fieldIndex:_0x42872d,..._0x1756aa}of _0x4f5cae)_0x38a29f[_0x147cb9(0x258)](_0x1756aa);return _0x38a29f;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};
1
+ const _0x274f9f=_0x2f15;(function(_0x176cb2,_0x12a8a1){const _0xc2b912=_0x2f15,_0x1fe997=_0x176cb2();while(!![]){try{const _0x2ca35d=parseInt(_0xc2b912(0x450))/0x1+-parseInt(_0xc2b912(0x284))/0x2*(parseInt(_0xc2b912(0x41a))/0x3)+parseInt(_0xc2b912(0x437))/0x4+parseInt(_0xc2b912(0x2fe))/0x5*(parseInt(_0xc2b912(0x47b))/0x6)+-parseInt(_0xc2b912(0x514))/0x7+-parseInt(_0xc2b912(0x33e))/0x8+parseInt(_0xc2b912(0x493))/0x9;if(_0x2ca35d===_0x12a8a1)break;else _0x1fe997['push'](_0x1fe997['shift']());}catch(_0x3b67cc){_0x1fe997['push'](_0x1fe997['shift']());}}}(_0x42e6,0x9efe2));import{BASE_RECORD_ID_FIELD_ID as _0x525439,BaseConditionalColorOperator as _0x5914e9,BaseConditionalColorTarget as _0x2cbedb,BaseConditionalDateMode as _0x300409,BaseDataModel as _0x588b72,BaseFieldType as _0x11438e,BaseFilterConjunction as _0x14e8fd,BaseHierarchyInvalidReason as _0x29e4ba,BaseRecordLinkRole as _0x2af9b7,BaseSortDirection as _0x575c6c,BaseViewType as _0x31904d,CellValueType as _0x332e7b,ColorKit as _0x52124a,CommandType as _0x154d7f,DependentOn as _0x536e3b,Disposable as _0x4191ab,ICommandService as _0x232cd6,IConfigService as _0x1468c7,IUndoRedoService as _0x56cd6a,IUniverInstanceService as _0x310540,Inject as _0x3a5702,Injector as _0x3682df,JSON1 as _0x356391,JSONX as _0x8f86bf,ObjectMatrix as _0x388afb,Optional as _0x4a9daf,Plugin as _0x5f2ac0,Tools as _0x12a306,UniverInstanceType as _0x993548,assertBaseTableRecordIdentity as _0xbbbb25,createBaseRecordIdField as _0x4bb477,createIdentifier as _0x3c1d0d,dateKit as _0x1b3caf,generateRandomId as _0x3a2895,isBaseRecordIdFieldName as _0xec31b8,isValidBaseRecordId as _0x198e88,merge as _0xb3ba83,numfmt as _0x3efcdb,regexp as _0x3f679a,sequenceExecute as _0x40b820,toDisposable as _0x26ad0b,touchDependencies as _0x469d0d}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x5f1979,IActiveDirtyManagerService as _0x27fac4,RemoveSuperTableMutation as _0x12c440,SetFormulaCalculationResultMutation as _0x333d70,SetSuperTableMutation as _0x505dfe,SetTriggerFormulaCalculationStartMutation as _0x4ce331,UniverProFormulaEnginePlugin as _0x2d5150,refactorFormulaUnitQualifier as _0x4bae62}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x3b093}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x11da31}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x2120b4,FormulaResultApplicationType as _0x3f3756}from'@univerjs/engine-formula';function A(_0x5283f7){const _0x4a65f0=_0x2f15;let _0x22adbb=_0x5283f7[_0x4a65f0(0x427)]['targetTableId'],_0x15104d=_0x5283f7[_0x4a65f0(0x427)][_0x4a65f0(0x501)],_0x1073f5=_0x5283f7[_0x4a65f0(0x427)][_0x4a65f0(0x444)],_0x2ddd7f=_0x5283f7['config'][_0x4a65f0(0x438)],_0x4c9db5=_0x5283f7[_0x4a65f0(0x427)][_0x4a65f0(0x253)];return typeof _0x22adbb!=_0x4a65f0(0x3c6)||!_0x22adbb||typeof _0x15104d!=_0x4a65f0(0x4ed)||_0x1073f5!==void 0x0&&(typeof _0x1073f5!='string'||!_0x1073f5)||_0x4c9db5!==void 0x0&&_0x4c9db5!==_0x2af9b7[_0x4a65f0(0x38c)]||_0x2ddd7f!==void 0x0&&(!Array[_0x4a65f0(0x39e)](_0x2ddd7f)||_0x2ddd7f['some'](_0x386251=>typeof _0x386251!=_0x4a65f0(0x3c6)||!_0x386251)||new Set(_0x2ddd7f)[_0x4a65f0(0x43d)]!==_0x2ddd7f['length'])?null:{'targetTableId':_0x22adbb,'multiple':_0x15104d,..._0x1073f5?{'displayFieldId':_0x1073f5}:{},..._0x2ddd7f?{'pickerFieldIds':[..._0x2ddd7f]}:{},..._0x4c9db5?{'relationRole':_0x4c9db5}:{}};}function we(_0x5f3c5b){const _0x30dbda=_0x2f15;return typeof _0x5f3c5b!='string'||_0x5f3c5b===''?[]:_0x5f3c5b[_0x30dbda(0x213)](',');}function Te(_0x51d776){const _0x2527e2=_0x2f15;return Array[_0x2527e2(0x2a4)](new Set(_0x51d776))[_0x2527e2(0x48b)](',');}function Ee(_0x513539,_0x564593){const _0x2a8ab5=_0x2f15;if(typeof _0x513539!=_0x2a8ab5(0x3c6))return{'valid':!0x1,'reason':_0x2a8ab5(0x4bf)};if(_0x513539==='')return{'valid':!0x0};let _0x201edc=_0x513539[_0x2a8ab5(0x213)](',');return!_0x564593&&_0x201edc[_0x2a8ab5(0x353)]>0x1?{'valid':!0x1,'reason':_0x2a8ab5(0x327)}:_0x201edc[_0x2a8ab5(0x29f)](_0xb1b974=>!_0x198e88(_0xb1b974))||new Set(_0x201edc)[_0x2a8ab5(0x43d)]!==_0x201edc[_0x2a8ab5(0x353)]||Te(_0x201edc)!==_0x513539?{'valid':!0x1,'reason':_0x2a8ab5(0x40f)}:{'valid':!0x0};}function De(_0x32e2a4,_0x43ca8c){const _0x3fd852=_0x2f15;if(_0x43ca8c[_0x3fd852(0x2b9)]!==_0x11438e['RecordLink'])return{'valid':!0x0};let _0x2e8917=A(_0x43ca8c),_0x56ba61=_0x2e8917?_0x32e2a4['tables'][_0x2e8917[_0x3fd852(0x4a5)]]:void 0x0;if(!_0x2e8917||!_0x56ba61)return{'valid':!0x1,'reason':_0x3fd852(0x3c1)};let _0x48f4c0=[..._0x2e8917['displayFieldId']?[_0x2e8917[_0x3fd852(0x444)]]:[],..._0x2e8917[_0x3fd852(0x438)]??[]]['find'](_0x80386e=>{const _0x44da75=_0x3fd852;let _0x437739=_0x56ba61['fields'][_0x80386e];return!_0x437739||_0x437739[_0x44da75(0x3a9)]===!0x0||_0x437739[_0x44da75(0x2b9)]===_0x11438e[_0x44da75(0x20d)];});return _0x48f4c0?{'valid':!0x1,'reason':_0x3fd852(0x30d)+_0x48f4c0+'\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.'}:{'valid':!0x0};}function Oe(_0x397b60,_0x260afc,_0x494ae7,_0x451776={}){const _0x54f60d=_0x2f15;let _0xe48583=A(_0x260afc);if(_0x260afc[_0x54f60d(0x2b9)]!==_0x11438e[_0x54f60d(0x24c)]||!_0xe48583)return{'valid':!0x1,'reason':_0x54f60d(0x206)};let _0x5da05f=Ee(_0x494ae7,_0xe48583[_0x54f60d(0x501)]);if(!_0x5da05f['valid']||_0x451776[_0x54f60d(0x3d5)])return _0x5da05f;let _0x2129da=_0x397b60[_0x54f60d(0x529)][_0xe48583[_0x54f60d(0x4a5)]];if(!_0x2129da)return{'valid':!0x1,'reason':_0x54f60d(0x3c1)};let _0x5f35a4=we(_0x494ae7)[_0x54f60d(0x271)](_0x4c5a2e=>!_0x2129da['records'][_0x4c5a2e]);return _0x5f35a4?{'valid':!0x1,'reason':_0x54f60d(0x27b)+_0x5f35a4+_0x54f60d(0x518)}:{'valid':!0x0};}function ke(_0x59a958,_0x51b818){const _0x162610=_0x2f15;return Object[_0x162610(0x33c)](_0x59a958['tables'])['flatMap'](_0x594c60=>Object[_0x162610(0x33c)](_0x594c60['fields'])[_0x162610(0x25e)](_0x24c8a9=>{const _0x4cfb21=_0x162610;let _0x66f8d5=_0x24c8a9[_0x4cfb21(0x2b9)]===_0x11438e[_0x4cfb21(0x24c)]?A(_0x24c8a9):null;return(_0x66f8d5==null?void 0x0:_0x66f8d5[_0x4cfb21(0x4a5)])===_0x51b818?[{'tableId':_0x594c60['id'],'fieldId':_0x24c8a9['id']}]:[];}));}const Ae=0x5,je=_0x274f9f(0x2c7);let Me=function(_0x69d215){const _0xe7834b=_0x274f9f;return _0x69d215[_0xe7834b(0x4b2)]='invalidField',_0x69d215[_0xe7834b(0x375)]=_0xe7834b(0x2ac),_0x69d215[_0xe7834b(0x390)]=_0xe7834b(0x1e5),_0x69d215['Cycle']=_0xe7834b(0x4b4),_0x69d215[_0xe7834b(0x4e8)]=_0xe7834b(0x250),_0x69d215[_0xe7834b(0x44e)]=_0xe7834b(0x442),_0x69d215;}({});var j=class extends Error{constructor(_0x17974a,_0x109466='[BaseHierarchy]:\x20'+_0x17974a){const _0x104d53=_0x274f9f;super(_0x109466),this[_0x104d53(0x2b1)]=_0x17974a,this[_0x104d53(0x248)]=_0x104d53(0x204);}};let Ne=function(_0x1f8805){const _0x5cfc21=_0x274f9f;return _0x1f8805['UI']='ui',_0x1f8805[_0x5cfc21(0x3ab)]='facade',_0x1f8805[_0x5cfc21(0x241)]=_0x5cfc21(0x34a),_0x1f8805[_0x5cfc21(0x414)]='undo',_0x1f8805['Redo']=_0x5cfc21(0x37f),_0x1f8805[_0x5cfc21(0x2cb)]=_0x5cfc21(0x261),_0x1f8805;}({});function M(_0x2c23ff,_0x3dbddf){const _0x418541=_0x274f9f;if(!_0x3dbddf)return!0x1;let _0x198322=_0x2c23ff[_0x418541(0x39f)][_0x3dbddf];if(!_0x198322||_0x198322[_0x418541(0x2b9)]!==_0x11438e[_0x418541(0x24c)])return!0x1;let _0x4c8601=A(_0x198322);return _0x4c8601?_0x4c8601[_0x418541(0x4a5)]===_0x2c23ff['id']&&_0x4c8601[_0x418541(0x501)]===!0x1:!0x1;}function N(_0x138b7f){const _0x5db612=_0x274f9f;return[..._0x138b7f['fieldOrder'],...Object[_0x5db612(0x311)](_0x138b7f[_0x5db612(0x39f)])[_0x5db612(0x458)](_0x1ec257=>!_0x138b7f[_0x5db612(0x47a)][_0x5db612(0x1d2)](_0x1ec257))[_0x5db612(0x456)]()][_0x5db612(0x271)](_0x2ec87f=>{const _0x4b6687=_0x5db612;var _0x369fc5;return M(_0x138b7f,_0x2ec87f)?((_0x369fc5=A(_0x138b7f[_0x4b6687(0x39f)][_0x2ec87f]))==null?void 0x0:_0x369fc5[_0x4b6687(0x253)])===_0x2af9b7[_0x4b6687(0x38c)]:!0x1;})??null;}function P(_0x1f4a96){let _0x4fa713=N(_0x1f4a96);if(_0x4fa713)return _0x4fa713;let _0x119cb5=je,_0xbb3df7=0x2;for(;_0x1f4a96['fields'][_0x119cb5];)_0x119cb5=je+'_'+_0xbb3df7++;return _0x119cb5;}function Pe(_0x5e6b67,_0x53c138=P(_0x5e6b67),_0x3da77d=_0x274f9f(0x300)){const _0x2279b4=_0x274f9f;return{'id':_0x53c138,'name':_0x3da77d,'type':_0x11438e['RecordLink'],'config':{'targetTableId':_0x5e6b67['id'],'multiple':!0x1,'displayFieldId':_0x5e6b67[_0x2279b4(0x2db)],'pickerFieldIds':[_0x5e6b67[_0x2279b4(0x2db)]],'relationRole':_0x2af9b7[_0x2279b4(0x38c)]}};}function Fe(_0x5c85c6){let _0x794e6b=N(_0x5c85c6);return _0x794e6b?[_0x794e6b]:[];}function Ie(_0x327753,_0x11befd){const _0x406d6d=_0x274f9f;let _0x2c1aa5=[...Fe(_0x327753)][_0x406d6d(0x458)](_0x13f875=>_0x11befd[_0x406d6d(0x29f)](_0x3af9dd=>Object[_0x406d6d(0x20f)][_0x406d6d(0x465)][_0x406d6d(0x385)](_0x3af9dd[_0x406d6d(0x33c)],_0x13f875)));if(!_0x2c1aa5[_0x406d6d(0x353)])return[];let _0x1888af={..._0x327753[_0x406d6d(0x3c4)]};_0x11befd[_0x406d6d(0x366)](_0xbd5fef=>{const _0x269d4e=_0x406d6d;let _0x32be32=_0x1888af[_0xbd5fef[_0x269d4e(0x44a)]];_0x32be32&&(_0x1888af[_0xbd5fef[_0x269d4e(0x44a)]]={..._0x32be32,'values':{..._0x32be32[_0x269d4e(0x33c)],..._0xbd5fef[_0x269d4e(0x33c)]}});});let _0x140d9b={..._0x327753,'records':_0x1888af},_0x34bbd2=[];return _0x2c1aa5[_0x406d6d(0x366)](_0x28606c=>{const _0xf75087=_0x406d6d;let _0x55486a=F(_0x327753,_0x28606c),_0x494728=F(_0x140d9b,_0x28606c);for(let [_0x3f9c71,_0x46e94b]of _0x494728[_0xf75087(0x4fc)]){let _0x56500a=_0x11befd[_0xf75087(0x29f)](_0x13f68d=>_0x13f68d[_0xf75087(0x44a)]===_0x3f9c71&&Object[_0xf75087(0x20f)][_0xf75087(0x465)]['call'](_0x13f68d[_0xf75087(0x33c)],_0x28606c));if(_0x55486a[_0xf75087(0x4fc)][_0xf75087(0x23e)](_0x3f9c71)!==_0x46e94b||_0x56500a)throw new j(Re(_0x46e94b));}_0x11befd['forEach'](_0x4a40e5=>{const _0x2b3962=_0xf75087;if(!Object['prototype']['hasOwnProperty']['call'](_0x4a40e5[_0x2b3962(0x33c)],_0x28606c))return;let _0x424d3e=_0x55486a[_0x2b3962(0x4a8)][_0x2b3962(0x23e)](_0x4a40e5[_0x2b3962(0x44a)])??null,_0x563bd2=_0x494728[_0x2b3962(0x4a8)][_0x2b3962(0x23e)](_0x4a40e5[_0x2b3962(0x44a)])??null;_0x424d3e!==_0x563bd2&&_0x34bbd2[_0x2b3962(0x254)]({'tableId':_0x327753['id'],'fieldId':_0x28606c,'recordId':_0x4a40e5[_0x2b3962(0x44a)],'oldParentRecordId':_0x424d3e,'parentRecordId':_0x563bd2});});}),_0x34bbd2;}function Le(_0x3a14db,_0x4d1e0f){const _0x3de4fd=_0x274f9f;let _0x28226d=_0x4d1e0f['map'](_0x5dce2c=>_0x5dce2c['id']);if(new Set(_0x28226d)[_0x3de4fd(0x43d)]!==_0x28226d[_0x3de4fd(0x353)]||_0x28226d[_0x3de4fd(0x29f)](_0x2c5d8d=>_0x3a14db[_0x3de4fd(0x3c4)][_0x2c5d8d]))return[];let _0x482fc8=Fe(_0x3a14db),_0xad5c0b=_0x482fc8[_0x3de4fd(0x353)]?null:P(_0x3a14db),_0x1512fc=[..._0x482fc8,..._0xad5c0b&&_0x4d1e0f['some'](_0x1b3d58=>Object[_0x3de4fd(0x20f)]['hasOwnProperty']['call'](_0x1b3d58[_0x3de4fd(0x33c)],_0xad5c0b))?[_0xad5c0b]:[]][_0x3de4fd(0x458)](_0x48387f=>_0x4d1e0f[_0x3de4fd(0x29f)](_0x278815=>Object[_0x3de4fd(0x20f)][_0x3de4fd(0x465)][_0x3de4fd(0x385)](_0x278815[_0x3de4fd(0x33c)],_0x48387f)));if(!_0x1512fc[_0x3de4fd(0x353)])return[];let _0x48ab1f={..._0x3a14db,'records':{..._0x3a14db['records'],...Object[_0x3de4fd(0x372)](_0x4d1e0f[_0x3de4fd(0x22e)](_0x1bd321=>[_0x1bd321['id'],_0x1bd321]))},'recordOrder':[..._0x3a14db[_0x3de4fd(0x4fd)]??[],..._0x4d1e0f[_0x3de4fd(0x22e)](_0x27a895=>_0x27a895['id'])]},_0x17d47b=[];return _0x1512fc['forEach'](_0x1df1f7=>{let _0x49c6bf=F(_0x48ab1f,_0x1df1f7);_0x4d1e0f['forEach'](_0x383d8c=>{const _0x1bdca1=_0x2f15;let _0x42861d=_0x49c6bf[_0x1bdca1(0x4fc)][_0x1bdca1(0x23e)](_0x383d8c['id']);if(_0x42861d)throw new j(Re(_0x42861d));let _0x7fa15c=_0x49c6bf[_0x1bdca1(0x4a8)][_0x1bdca1(0x23e)](_0x383d8c['id'])??null;_0x7fa15c&&_0x17d47b[_0x1bdca1(0x254)]({'tableId':_0x3a14db['id'],'fieldId':_0x1df1f7,'recordId':_0x383d8c['id'],'oldParentRecordId':null,'parentRecordId':_0x7fa15c});});}),_0x17d47b;}function Re(_0x1b2344){const _0xf1bf98=_0x274f9f;switch(_0x1b2344){case _0x29e4ba['MissingParent']:return _0xf1bf98(0x2ac);case _0x29e4ba[_0xf1bf98(0x390)]:return _0xf1bf98(0x1e5);case _0x29e4ba[_0xf1bf98(0x4c5)]:return _0xf1bf98(0x4b4);case _0x29e4ba[_0xf1bf98(0x4e8)]:return _0xf1bf98(0x250);}}function ze(_0x2b86e2,_0x40ab8b){const _0x36f40d=_0x274f9f;let _0x276a17=new Set(_0x40ab8b),_0x25788b=Fe(_0x2b86e2);return Object[_0x36f40d(0x33c)](_0x2b86e2[_0x36f40d(0x3c4)])[_0x36f40d(0x25e)](_0x427116=>_0x276a17[_0x36f40d(0x51e)](_0x427116['id'])?[]:Array['from'](_0x25788b)[_0x36f40d(0x25e)](_0x259156=>{const _0x541d64=_0x36f40d;let _0x1d87fa=we(_0x427116[_0x541d64(0x33c)][_0x259156])[0x0]??null;return _0x1d87fa&&_0x276a17[_0x541d64(0x51e)](_0x1d87fa)?[{'tableId':_0x2b86e2['id'],'fieldId':_0x259156,'recordId':_0x427116['id'],'oldParentRecordId':_0x1d87fa,'parentRecordId':null}]:[];}));}function F(_0xb617dd,_0x1fced9,_0x5d5541=_0xb617dd[_0x274f9f(0x4fd)]??Object['keys'](_0xb617dd['records'])){const _0x55f784=_0x274f9f;if(!(!_0xb617dd[_0x55f784(0x39f)][_0x1fced9]&&_0x1fced9===P(_0xb617dd))&&!M(_0xb617dd,_0x1fced9))throw Error(_0x55f784(0x49d)+_0x1fced9+_0x55f784(0x50c));let _0x12930c=Ue(_0xb617dd,_0x5d5541),_0x451661=new Map(),_0x2aebef=new Map();for(let _0x567132 of _0x12930c){var _0x3d54f0;let _0x2f076c=we((_0x3d54f0=_0xb617dd['records'][_0x567132])==null?void 0x0:_0x3d54f0[_0x55f784(0x33c)][_0x1fced9])[0x0]??null;_0x2f076c?_0x2f076c===_0x567132?(_0x451661[_0x55f784(0x317)](_0x567132,null),_0x2aebef[_0x55f784(0x317)](_0x567132,_0x29e4ba['SelfParent'])):_0xb617dd['records'][_0x2f076c]?_0x451661[_0x55f784(0x317)](_0x567132,_0x2f076c):(_0x451661['set'](_0x567132,null),_0x2aebef[_0x55f784(0x317)](_0x567132,_0x29e4ba['MissingParent'])):_0x451661[_0x55f784(0x317)](_0x567132,null);}We(_0x451661,_0x2aebef,_0x12930c),Ge(_0x451661,_0x2aebef,_0x12930c);let _0x12f0f6=new Map(_0x12930c[_0x55f784(0x22e)]((_0x1d6708,_0xe45d97)=>[_0x1d6708,_0xe45d97])),_0x30b13d=new Map();for(let _0x8506ab of _0x12930c){let _0x3b5934=_0x451661[_0x55f784(0x23e)](_0x8506ab)??null,_0x345921=_0x30b13d['get'](_0x3b5934)??[];_0x345921[_0x55f784(0x254)](_0x8506ab),_0x30b13d[_0x55f784(0x317)](_0x3b5934,_0x345921);}_0x30b13d[_0x55f784(0x366)](_0x52d728=>_0x52d728[_0x55f784(0x456)]((_0x70aa5c,_0x6d79d5)=>(_0x12f0f6[_0x55f784(0x23e)](_0x70aa5c)??0x0)-(_0x12f0f6[_0x55f784(0x23e)](_0x6d79d5)??0x0)));let _0x24ca01=_0x30b13d[_0x55f784(0x23e)](null)??[],_0x223536=new Map(),_0x19e7c5=new Map(),_0x47c7fa=[],_0x2e0862=(_0x35abbc,_0x2b3634)=>{const _0x3fbc77=_0x55f784;_0x223536[_0x3fbc77(0x317)](_0x35abbc,_0x2b3634),_0x47c7fa[_0x3fbc77(0x254)](_0x35abbc);let _0xe82f20=0x0;for(let _0x43c71d of _0x30b13d[_0x3fbc77(0x23e)](_0x35abbc)??[])_0xe82f20=Math[_0x3fbc77(0x3f9)](_0xe82f20,0x1+_0x2e0862(_0x43c71d,_0x2b3634+0x1));return _0x19e7c5[_0x3fbc77(0x317)](_0x35abbc,_0xe82f20),_0xe82f20;};return _0x24ca01[_0x55f784(0x366)](_0x24e4f9=>_0x2e0862(_0x24e4f9,0x0)),{'fieldId':_0x1fced9,'parentByRecordId':_0x451661,'childrenByParentId':_0x30b13d,'depthByRecordId':_0x223536,'subtreeHeightByRecordId':_0x19e7c5,'invalidReasonByRecordId':_0x2aebef,'rootRecordIds':_0x24ca01,'orderedRecordIds':_0x47c7fa};}function Be(_0x3aa80e,_0x14b732,_0x1b23e7=new Set(_0x14b732['map'](_0x7b2c8c=>_0x7b2c8c[_0x274f9f(0x44a)]))){const _0x68d30f=_0x274f9f;let _0x4bee4c=new Set(_0x1b23e7);for(let _0x2dd814 of _0x1b23e7){let _0x5a1ff1=_0x3aa80e['parentByRecordId'][_0x68d30f(0x23e)](_0x2dd814)??null;for(;_0x5a1ff1;)_0x4bee4c[_0x68d30f(0x4a3)](_0x5a1ff1),_0x5a1ff1=_0x3aa80e[_0x68d30f(0x4a8)][_0x68d30f(0x23e)](_0x5a1ff1)??null;}let _0x53fb8b=new Map(_0x14b732[_0x68d30f(0x22e)](_0x523137=>[_0x523137[_0x68d30f(0x44a)],_0x523137])),_0x2efa9d=_0x3aa80e[_0x68d30f(0x3b3)][_0x68d30f(0x458)](_0xfd0d3=>_0x4bee4c['has'](_0xfd0d3)),_0x5d74bf=_0x2efa9d[_0x68d30f(0x25e)](_0x26c6da=>{const _0x4c326c=_0x68d30f;let _0x3d5fb4=_0x53fb8b[_0x4c326c(0x23e)](_0x26c6da);return _0x3d5fb4?[_0x3d5fb4]:[];}),_0x57d541={};for(let _0x5e1919=0x0;_0x5e1919<_0x2efa9d[_0x68d30f(0x353)];_0x5e1919++){let _0x42235c=_0x2efa9d[_0x5e1919];_0x57d541[_0x42235c]={'recordId':_0x42235c,'parentRecordId':_0x3aa80e[_0x68d30f(0x4a8)][_0x68d30f(0x23e)](_0x42235c)??null,'depth':_0x3aa80e[_0x68d30f(0x26b)][_0x68d30f(0x23e)](_0x42235c)??0x0,'directChildCount':(_0x3aa80e['childrenByParentId'][_0x68d30f(0x23e)](_0x42235c)??[])[_0x68d30f(0x353)],'subtreeHeight':_0x3aa80e[_0x68d30f(0x4ad)][_0x68d30f(0x23e)](_0x42235c)??0x0,'subtreeEndIndex':_0x5e1919,'invalidReason':_0x3aa80e[_0x68d30f(0x4fc)][_0x68d30f(0x23e)](_0x42235c)};}let _0x1d3194=[];for(let _0x14b7e7=0x0;_0x14b7e7<_0x2efa9d[_0x68d30f(0x353)];_0x14b7e7++){let _0x2e7b14=_0x2efa9d[_0x14b7e7],_0xa15ce7=_0x57d541[_0x2e7b14][_0x68d30f(0x49e)];for(;_0x1d3194[_0x68d30f(0x353)]&&_0x1d3194[_0x1d3194[_0x68d30f(0x353)]-0x1]['depth']>=_0xa15ce7;){let _0x1eb1da=_0x1d3194['pop']();_0x57d541[_0x1eb1da[_0x68d30f(0x44a)]][_0x68d30f(0x20a)]=_0x14b7e7-0x1;}_0x1d3194['push']({'recordId':_0x2e7b14,'depth':_0xa15ce7});}return _0x1d3194[_0x68d30f(0x366)](({recordId:_0x2005d3})=>{const _0x22cece=_0x68d30f;_0x57d541[_0x2005d3][_0x22cece(0x20a)]=_0x2efa9d['length']-0x1;}),{'rows':_0x5d74bf,'hierarchy':{'fieldId':_0x3aa80e[_0x68d30f(0x419)],'rootRecordIds':_0x3aa80e[_0x68d30f(0x2f8)][_0x68d30f(0x458)](_0x11165d=>_0x4bee4c[_0x68d30f(0x51e)](_0x11165d)),'orderedRecordIds':_0x2efa9d,'nodes':_0x57d541}};}function Ve(_0x2d6245,_0x11510a){const _0x54e788=_0x274f9f;if(!_0x2d6245[_0x54e788(0x24a)]||!(_0x11510a!=null&&_0x11510a[_0x54e788(0x43d)]))return _0x2d6245[_0x54e788(0x522)];let _0x280737=[],_0x47e44d=0x0;for(;_0x47e44d<_0x2d6245[_0x54e788(0x522)][_0x54e788(0x353)];){let _0x458f00=_0x2d6245[_0x54e788(0x522)][_0x47e44d];_0x280737[_0x54e788(0x254)](_0x458f00);let _0xa2eece=_0x2d6245['hierarchy'][_0x54e788(0x23d)][_0x458f00[_0x54e788(0x44a)]];_0x47e44d=_0x11510a[_0x54e788(0x51e)](_0x458f00[_0x54e788(0x44a)])&&_0xa2eece?_0xa2eece[_0x54e788(0x20a)]+0x1:_0x47e44d+0x1;}return _0x280737;}function He(_0x4bd9b2,_0x3d9151,_0x14c267){const _0x140059=_0x274f9f;if(!_0x14c267)return{'valid':!0x0};if(_0x3d9151===_0x14c267)return{'valid':!0x1,'reason':_0x29e4ba[_0x140059(0x390)]};let _0x2aafbc=_0x14c267;for(;_0x2aafbc;){if(_0x2aafbc===_0x3d9151)return{'valid':!0x1,'reason':_0x29e4ba[_0x140059(0x4c5)]};_0x2aafbc=_0x4bd9b2[_0x140059(0x4a8)][_0x140059(0x23e)](_0x2aafbc)??null;}return(_0x4bd9b2[_0x140059(0x26b)][_0x140059(0x23e)](_0x14c267)??0x0)+0x1+(_0x4bd9b2[_0x140059(0x4ad)][_0x140059(0x23e)](_0x3d9151)??0x0)>=0x5?{'valid':!0x1,'reason':_0x29e4ba[_0x140059(0x4e8)]}:{'valid':!0x0};}function Ue(_0x28fcf2,_0x59b10d){const _0x57fd49=_0x274f9f;let _0x13e048=new Set(),_0x456ae9=[];for(let _0x4aac3d of _0x59b10d)_0x28fcf2[_0x57fd49(0x3c4)][_0x4aac3d]&&!_0x13e048['has'](_0x4aac3d)&&(_0x13e048[_0x57fd49(0x4a3)](_0x4aac3d),_0x456ae9[_0x57fd49(0x254)](_0x4aac3d));return Object[_0x57fd49(0x311)](_0x28fcf2[_0x57fd49(0x3c4)])[_0x57fd49(0x456)]()[_0x57fd49(0x366)](_0x17c573=>{const _0x2161aa=_0x57fd49;_0x13e048['has'](_0x17c573)||_0x456ae9[_0x2161aa(0x254)](_0x17c573);}),_0x456ae9;}function _0x42e6(){const _0x176874=['view-','base.command.set-base-view-field-visible','MultiSelect','validate','NumberFormat','_cellInvalidations','system','cell','Facade','_getSystemFieldValue','mark','ena','groups','yyyy/mm/dd','decorate','trigger','orderedRecordIds','changeFieldType','Set','_applyFormulaResult','Done','setBasePermission','getProjection','readonly','url','viewOrder','periodComma','base.command.duplicate-base-field','getUTCMonth','duplicateField','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','empty','setHours','records','_resolveGalleryCardFieldIds','string','renameTable','createBase','_removeSuperTables','\x20must\x20be\x20an\x20object.','decimalPlaces','invalidateByField','BaseProjection.projectGroups','_getTableRevision','fld-','doing','[BaseCommandService]:\x20cannot\x20delete\x20field.','IS_NOT_EMPTY','_recordPermissions','pushUndoRedo','allowDangling','undo','Kanban','workingDaysOnly','getTypePlugin','updatedAt','_projectGroups','Delete','getSuperTableRegistrations','_capabilities','exceptions','resolve','defineProperty','base.command.create-base-child-record','ruleId','fieldIds','small','_fieldRegistry','base.command.rename-base-table','timeZone','base.command.set-base-view-sort','cardSize','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_canUseFastSort','renameView','End\x20date','titleFieldId','_toDirtyRangePatch','UNIVER_BASE','filled','lastIndexOf','_normalizeCalendarDisplayColor','createField','base.command.move-base-hierarchy-record','getTypeOfUnitDisposed$','dateFormat','max','#,##0.00','dispose','usableAsGanttEnd','key','bases.fieldConfig.linkPlaceholder','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','conditions','operator','invalid','_tablePermissions','\x20has\x20unsupported\x20date\x20mode\x20\x22','http:','register','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_replaceOptional','canEditCell','_tableRevisions','-view-grid','padStart','Gantt','workingDays','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','includeRecords','_formulaCalculationTriggerService','registerCommand','base.command.delete-base-record','Undo','globalRevision','true','end','hidden','fieldId','9oxcUwb','unshift',':start','_setViewFieldSetting','@univerjs-pro/bases','Name','start','syncExecuteCommand','raw','markResultApplied','base.command.service','_resolveCardTitleFieldId','base.command.move-base-field','config','True','before','[BaseField]:\x20invalid\x20person\x20value.','createDefaultValue','_normalizeCalendarConfig','resources','column','value','YYYY-MM-DD','canManageView','invalidField','_isNonEmptyCellValue','cellData','getUnitId','_buildGantt','3535248MVmKpy','pickerFieldIds','_setFormulaFieldCells','currencySymbol','_getJson1DirtyData','missingField','size','Number','base.viewType.calendar','tableRevision','bases.config','sortedView','isNot','displayFieldId','#,##0','YYYY/MM/DD','setViewFieldVisible','getAllUnitsForType','_projectionCache','recordId','Date','attachmentSet','Checkbox','SortedView','updateViewConfig','1042865ctZHwr','isValid','user','Currency','\x22.\x20Allowed\x20operators:\x20','kanban','sort','_createRecordOrderOp','filter','frozenFieldCount','getTime','_factory','disposeWithMe','BOOLEAN','_normalizeCellValue','greaterThanOrEqual','Clear','invalidDateField','getUnit','https:','_globalRevision','hasOwnProperty','[BaseCommandService]:\x20invalid\x20cell\x20value.','setRangeValues','base.command.update-base-cell','path','record','_univerInstanceService','_isKanbanGroupField','registerSyncingMutations','average','embedId','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','pattern','\x22\x20with\x20field\x20type\x20\x22','Empty','_activeDirtyManagerService','exact','_kanbanGroupKeys','forValue','__UNIVER_BASE_PERF__','createDefaultConfig','fieldOrder','10266fbrLBl','rowId','_filterSortFieldIds','_buildCalendar','_createNumberingAllocator','False','getDependencies','subscribe','format','blue','_groupCellInvalidations','attachments','today','_formulaSyncQueue','Doing','_getCachedProjection','join','month','h24','_withModifiedSystemValues','base.mutation.apply-base-json1','viewId','reduce','getInstance','10575900VwpmZE','createTable','_createNumberingFieldValuePatches','base.resource.service','deleteRecord','sheetId','apply','unitOtherData','Checked','renameFormulaUnitReferences','[BaseHierarchy]:\x20field\x20\x22','depth','selectField','Grid','_plugins','_scheduleSuperTableSync','add','DESC','targetTableId','past30','options','parentByRecordId','[BaseCommandService]:\x20invalid\x20field\x20definition.','createView','tableOrder','CreatedBy','subtreeHeightByRecordId','getFullYear','_initDataSync','_initDependencies','next30','InvalidField','number','cycle','after','Add','limit','includeTime','colIndex','_fieldPermissions','unitId','registerTable','colId','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','todo','createRegExpFromSafeFragment','notContains','[BaseFormula]:\x20field\x20\x22','_title','Cycle','check','[DeleteBaseTableCommand]:\x20table\x20\x22','unitWidth','[BaseField]:\x20invalid\x20email\x20value.','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','card','gantt','_buildKanban','setViewSort','custom','createSuperTableReference','_normalizeGalleryConfig','showFieldNames','_initRegistries','revision','unitData',',,\x22M\x22','_rowTransformCacheSegment','\x20cannot\x20use\x20operator\x20\x22','parentRecordId','year','getCapabilities','at\x20index\x20','[BaseProjectionService]:\x20missing\x20view\x20\x22','_commandService','now','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','contains','manual','lastMonth','base.command.update-base-view-config','Calendar','field','[BaseField]:\x20invalid\x20multi-value\x20reference.','MaxDepth','level','every','_getStructureDirtyTableIds','GREATER_THAN','boolean','toPrimitive','_onCommandExecuted','useThousands','round','#FDE68A','attachment-','https://','fieldName','percent','getUTCFullYear','_projectTableRows','_dataSyncPrimaryController','endsWith','base.field-registry.service','invalidReasonByRecordId','recordOrder','startDateFieldId','min','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','multiple','indexOf','_scheduledSuperTableSyncs','createCreateFieldOp','label','[BaseViewRegistryService]:\x20view\x20type\x20\x22','BaseProjection.getProjection','compose','_syncBaseUnit','params','base.command.create-base-field','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','target','_groupConfigCacheSegment','\x20has\x20unsupported\x20operator\x20\x22','invertWithDoc','_resolveKanbanCoverFieldId','columns','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','7256501LRktcr','uniqueTableName','_views','#3b82f6','\x22\x20does\x20not\x20exist.','index','1.0.0-beta.0','_patchProjectedRowsForCellInvalidations','slice','medium','has','[BaseField]:\x20invalid\x20rating\x20value.','splice','cardLayout','rows','deepClone','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','Formula','short','_applier','operand','tables','none','_sortRows','h:mm\x20a','includes','_getKanbanConfiguredLanes',',\x22K\x22','count','base.command.move-base-view','edit','off','getAll','setBaseName','[BaseCommandService]:\x20cannot\x20create\x20table.','AFTER','cellRevision','dependencyFieldId','focusUnit','hostAnchorId','_baseSyncDisposables','userID','color','\x22\x20is\x20referenced\x20by\x20','selfParent','option-','createRecords','descendPath','COMMAND','LESS_THAN','repeat','_initCommands','createUnit','isFinite','_cellRevisions','invalidateByOp','constructor','getStructuredDependencies','_getHierarchyIndex','clear','isInteger','_hierarchyIndexCache','startsWith','createUpdateCellOp','Group','_createRecordWithDefaults','Gallery','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','children','localeCompare','insertOp','assign','leftPaneWidth','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','diffValue','BaseHierarchyError','dateMode','[RecordLink]:\x20field\x20config\x20is\x20invalid.','viewRevision','toLowerCase','abbreviation','subtreeEndIndex','allowMultiple','_enqueueFormulaSync','RecordId','[BaseField]:\x20invalid\x20progress\x20value.','prototype','coverFieldId','WriteCursor','setSnapshot','split','canDeleteField','patches','createSetRecordValuesOp','recordPatch','BaseProjection.projectRows','_isAllDayCalendarEvent','_bumpTableRevision','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','invalidateByCell','valueOf','separatorStyle','IBaseCellData.ensureTableCellLayout','_isGanttDateField','query','MM-DD','_findCalendarDateFieldId','_projectedRowsCache','_kanbanLaneTitle','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','createBatchCreateRecordsOp','star','baseRows','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','lessThanOrEqual','findIndex','views','map','_getCurrentUserId','major-','registerSuperTable','locale','[BaseCommandService]:\x20cannot\x20create\x20record.','base.command.update-base-field','registerView','setViewFieldOrder','usableAsCalendarDate','Start\x20date','en-US','base.command.set-base-name','#16a34a','changed','nodes','get','displayText','allowNegative','Remote','BaseProjection.filterAndSortRows','fieldSettings','symbol','canEditField','direction','progressFieldId','name','Todo','hierarchy','_getAllBaseDependencyTreeCacheMap','RecordLink','MUTATION','Numbering','day','maxDepth','order','base.command.delete-base-table','relationRole','push','lessThan','base.viewType.gallery','reason','table','Rating','displayColor','deleteField','endDateFieldId','_isAllowedKanbanGroupField','flatMap','createCreateRecordOp','base.command.ensure-base-temporal-view-date-fields','import','_assertFieldDefinition','yesterday','row','base.command.set-base-table-hierarchy-field','regenerateViewIds','Text','normal','rowIndex','moveView','depthByRecordId','rules','info','removeOp','canCreateField','formula.mutation.set-formula-calculation-result','find','source','lastIndex','_apply','_runtimeContext','person','updateRecordOrder','UpdatedBy','updateField','createRecord','[RecordLink]:\x20target\x20record\x20\x22','BaseProjection.materializeTableRows','date','canDeleteTable','setRecordValues','orderKey','onCommandExecuted','SingleSelect','_kanbanLaneColor','800234neEdeY','_groupsCacheKey','_matchesGanttColorRule','base.command.set-base-record-values','version','_groupProjectionFieldIds','autoIncrement','_initialize','_resolveGalleryCoverFieldId','base.command.update-base-record-order','_permissionService','Status','_getCellRevision','description','done','fromPlainText','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BasePerf]\x20','recordNamePrefix','setViewFilter','Progress','score','base.command.change-base-field-type','local','_buildGrid','_setCachedProjection','tableName','some','_normalizeGanttDisplayColor','__tempBatchingUndoRedo','unique','STRING','from','executeCommand','test','[BaseField]:\x20invalid\x20checkbox\x20value.','finally','href','base.command.rename-base-view','registerCtorForType','missingRecord','_formulaCalculationSessionService','getAllBases','__all__','\x20must\x20have\x20a\x20non-empty\x20id.','code','_isAllDayGanttDateRange','updatedBy','unknown','greaterThan','stringify','base.viewType.kanban','getDay','type','trim','spacePeriod','beforeViewId','_getViewRevision','invalidGroupField','CONTAINS','showTodayLine','Email','search','formula','getItem','setRecordPermission','invertOp','__base_hierarchy_parent__','NUMBER','_viewRevisionKey','getUTCDate','Import','UTC','_projectedGroupsCache','resolvedOptions','createViewId','getSnapshot','leftPaneCollapsed','HH:mm','invalidGanttStartField','entries','_isColorfulKanbanGroupField','thisWeek','text','scale','_projectRows','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','primaryFieldId','_projectedViewRowsCache','[BaseFormula]:\x20table\x20\x22','_config','UpdatedAt','MMM\x20D,\x20YYYY','Unchecked','replaceOp','parentFieldName','[BaseField]:\x20invalid\x20phone\x20value.','isEmpty','groupFieldId','BEFORE','editable','_resolveCalendarDateFieldId','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','canDeleteRecord','clearRecordPermission','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','deleteTable','delete','general','abs','_viewRevisions','attachmentSets','base.command.delete-base-field','_fastSortRows','IS_EMPTY','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','rootRecordIds','FieldId','Link','formatToParts','childType','base.command.update-base-kanban-config','2770cMECpE','setFieldPermission','Parent\x20Items','getAffectedRanges','_calendarEventColor','exception-','_isCalendarDateField',':end','_viewRowsCacheKey','[BaseCommandService]:\x20cannot\x20manage\x20view.','base.projection.service','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','fieldIndex','spaceComma','repairViewConfig','[RecordLink]:\x20display\x20field\x20\x22','base.command.set-base-view-field-order','decimal','_configService','keys','calendar','_projectHierarchyGroups','object','canCreateRecord','recordIds','set','function','defaultValue','setViewGroup','oldParentRecordId','_basePermissions','duplicateRecord','Attachment','createdAt','Yes','#14b8a6','usableAsCardCover','[BaseCommandService]:\x20cannot\x20edit\x20field.','pop','getMonth','attachment','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.',',,,\x22B\x22','updateCell','_cellInvalidationsTouchFields','setConfig','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','conjunction','_createSystemFieldValuePatches','_formulaService','_getTablesToNormalize','base.command.set-base-view-field-width','moveField','base.permission.service','precision','embed-ui','BASE','_materializeGroups','DD/MM/YYYY','_registeredSuperTableNames','view','isNaN','values','Person','9291544Idnfgh','CreatedAt','Working\x20day','beforeFieldId','ascend','packageName','editCell','remove','conditionalColoring','applyOp','BaseJson1.normalizeTables','pluginName','remote','[BaseCommandService]:\x20field\x20\x22','_ganttBarColor','_findKanbanGroupField','canCreateTable','getTypeOfUnitAdded$','colorFieldId','_setAttachmentResources','valid','length','rowIndexById','col','getOwnPropertyDescriptor','long','_injector','[BaseCommandService]:\x20cannot\x20delete\x20table.','matchAll','width','_buildGallery','onReady','deleteView','weekdays','_patchCachedProjectedRows','base.command.create-base-view','columnSettings','snapshot','base.command.batch-create-base-records','#BFDBFE','forEach','viewIndexes','base.command.update-base-view-conditional-color-rules','Uncategorized','error','REMOTE_BASES_PLUGIN','_resolveGanttDateFieldId','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_resolveKanbanGroupFieldId','base.command.delete-base-view','createdBy','rule','fromEntries','then','working','MissingRecord','_createNumberingAllocators','majorHeaders','base.command.update-base-field-description','_resolveKanbanCardFieldIds','_applyingFormulaResults','h12','afterFieldId','BASES_PLUGIN','tableId','redo','[BaseCommandService]:\x20cannot\x20create\x20field.','past7','commaPeriod','bases.fieldConfig.textPlaceholder','hourCycle','call','replace','deleteRecords','conditional','BaseJson1.cloneForOp','numfmt','getUTCDay','Parent','_getAllTableIds','Failed\x20to\x20create\x20update\x20cell\x20operation:','_cacheKey','SelfParent','title','mode','_normalizeGanttConfig','group','IS_NOT','FORCE_STRING','thisMonth','_projectFields','_filterRows','quarter','_deleteAttachmentResources','timeslotSize','sum','isArray','fields','setViewFieldWidth','_syncSuperTables','week'];_0x42e6=function(){return _0x176874;};return _0x42e6();}function We(_0x4eb7ac,_0x291261,_0x329ec4){const _0xdeb20=_0x274f9f;let _0x19e1cf=new Set();for(let _0xc58bc4 of _0x329ec4){if(_0x19e1cf[_0xdeb20(0x51e)](_0xc58bc4))continue;let _0x1140ad=[],_0x4bd27b=new Map(),_0x38b0da=_0xc58bc4;for(;_0x38b0da&&!_0x19e1cf[_0xdeb20(0x51e)](_0x38b0da);){let _0x377d7b=_0x4bd27b['get'](_0x38b0da);if(_0x377d7b!=null){let _0x28dff0=[..._0x1140ad['slice'](_0x377d7b)][_0xdeb20(0x456)]()[_0xdeb20(0x324)]();_0x4eb7ac[_0xdeb20(0x317)](_0x28dff0,null),_0x291261['set'](_0x28dff0,_0x29e4ba['Cycle']);break;}_0x4bd27b['set'](_0x38b0da,_0x1140ad[_0xdeb20(0x353)]),_0x1140ad['push'](_0x38b0da),_0x38b0da=_0x4eb7ac['get'](_0x38b0da)??null;}_0x1140ad[_0xdeb20(0x366)](_0x2e7c24=>_0x19e1cf[_0xdeb20(0x4a3)](_0x2e7c24));}}function Ge(_0x2acf6f,_0x3a6d3d,_0x2005e3){const _0x2bc04e=_0x274f9f;let _0x1d08dd=new Map(),_0x3ce2df=_0x1f7501=>{const _0x344af3=_0x2f15;let _0x287485=_0x1d08dd[_0x344af3(0x23e)](_0x1f7501);if(_0x287485!=null)return _0x287485;let _0x21043f=_0x2acf6f['get'](_0x1f7501)??null;if(!_0x21043f)return _0x1d08dd['set'](_0x1f7501,0x0),0x0;let _0x53de52=_0x3ce2df(_0x21043f)+0x1;return _0x53de52>=0x5?(_0x2acf6f[_0x344af3(0x317)](_0x1f7501,null),_0x3a6d3d[_0x344af3(0x317)](_0x1f7501,_0x29e4ba[_0x344af3(0x4e8)]),_0x1d08dd['set'](_0x1f7501,0x0),0x0):(_0x1d08dd[_0x344af3(0x317)](_0x1f7501,_0x53de52),_0x53de52);};_0x2005e3[_0x2bc04e(0x366)](_0x3ce2df);}let Ke=0x0;function qe(){const _0x344812=_0x274f9f;if(globalThis[_0x344812(0x478)]===!0x0)return!0x0;try{let _0x205cf8=typeof location>'u'?'':location[_0x344812(0x2c2)],_0x5d4d87=new URLSearchParams(_0x205cf8);if(_0x5d4d87['get']('basePerf')==='1'||_0x5d4d87[_0x344812(0x23e)]('basePerf')===_0x344812(0x416)||_0x5d4d87[_0x344812(0x23e)]('base-perf')==='1')return!0x0;}catch{}try{let _0x5ef91b=typeof localStorage>'u'?null:localStorage[_0x344812(0x2c4)]('univer.basePerf');return _0x5ef91b==='1'||_0x5ef91b===_0x344812(0x416);}catch{return!0x1;}}function I(_0x4a4fff,_0x5a7b52,_0xbe9b14){const _0x1e7971=_0x274f9f;if(!qe())return _0x5a7b52();let _0x2b4c65=Ye(),_0x1ec17b='base-perf-'+Ke++;Xe(_0x1ec17b+_0x1e7971(0x41c));try{return _0x5a7b52();}finally{let _0x2fd4b6=Ye()-_0x2b4c65;Xe(_0x1ec17b+':end'),Ze(_0x4a4fff,_0x1ec17b+':start',_0x1ec17b+_0x1e7971(0x305)),Je(_0x4a4fff,_0x2fd4b6,_0xbe9b14);}}function Je(_0x14d590,_0x44799b,_0x5bd5a8){const _0x5d5d55=_0x274f9f;if(!qe())return;let _0x56759a=Math[_0x5d5d55(0x4f1)](_0x44799b*0x64)/0x64,_0x493b2f=_0x5bd5a8&&Object[_0x5d5d55(0x311)](_0x5bd5a8)[_0x5d5d55(0x353)]?'\x20'+JSON['stringify'](_0x5bd5a8):'';console[_0x5d5d55(0x26d)](_0x5d5d55(0x295)+_0x14d590+':\x20'+_0x56759a+'ms'+_0x493b2f);}function Ye(){const _0x548b15=_0x274f9f;return typeof performance<'u'&&typeof performance[_0x548b15(0x4df)]==_0x548b15(0x318)?performance['now']():Date[_0x548b15(0x4df)]();}function Xe(_0x5c855b){const _0x3f0662=_0x274f9f;try{if(typeof performance<'u'){var _0x36d426,_0x46d42b;(_0x36d426=(_0x46d42b=performance)[_0x3f0662(0x3ad)])==null||_0x36d426[_0x3f0662(0x385)](_0x46d42b,_0x5c855b);}}catch{}}function Ze(_0xf4b532,_0x4e6921,_0x5b78b8){const _0x550581=_0x274f9f;try{if(typeof performance<'u'){var _0x44f5eb,_0x2f5a92;(_0x44f5eb=(_0x2f5a92=performance)['measure'])==null||_0x44f5eb['call'](_0x2f5a92,_0x550581(0x295)+_0xf4b532,_0x4e6921,_0x5b78b8);}}catch{}}function L(_0x4cc105){const _0xc516c=_0x274f9f;var _0x43b738;return qe()?I(_0xc516c(0x21f),()=>Qe(_0x4cc105),{'tableId':_0x4cc105['id'],'records':Object[_0xc516c(0x311)](_0x4cc105['records']??{})[_0xc516c(0x353)],'fields':_0x4cc105[_0xc516c(0x47a)][_0xc516c(0x353)],'hasRecordOrder':!!((_0x43b738=_0x4cc105[_0xc516c(0x4fd)])!=null&&_0x43b738[_0xc516c(0x353)])}):Qe(_0x4cc105);}function Qe(_0x139b35){const _0x24f4e4=_0x274f9f;var _0x13687b;let _0x4baa84=_0x139b35[_0x24f4e4(0x3c4)]??{},_0x5b98df=_0x139b35[_0x24f4e4(0x39f)]??{},_0x5c1e54=((_0x13687b=_0x139b35[_0x24f4e4(0x4fd)])==null?void 0x0:_0x13687b[_0x24f4e4(0x458)](_0x1955c3=>_0x4baa84[_0x1955c3]))??[],_0x5a01ac=new Set(_0x5c1e54),_0xbcb3a9=[];for(let _0x3b8e66 of Object['values'](_0x4baa84))_0x5a01ac[_0x24f4e4(0x51e)](_0x3b8e66['id'])||_0xbcb3a9[_0x24f4e4(0x254)](_0x3b8e66);let _0x547bd9=_0xbcb3a9[_0x24f4e4(0x353)]?[..._0x5c1e54,...bt(_0xbcb3a9)]:_0x5c1e54,_0x4a8441=_0x139b35['fieldOrder']['filter'](_0x537a3c=>_0x5b98df[_0x537a3c]),_0x5f318b={..._0x139b35['rowId']??{}},_0x468e5c={..._0x139b35[_0x24f4e4(0x4bd)]??{}},_0x1b4a31={..._0x139b35[_0x24f4e4(0x434)]??{}};_0x139b35[_0x24f4e4(0x4fd)]=_0x547bd9,_0x139b35[_0x24f4e4(0x269)]={},_0x139b35[_0x24f4e4(0x47c)]={},_0x139b35[_0x24f4e4(0x4b9)]={},_0x139b35['colId']={},_0x139b35[_0x24f4e4(0x434)]={},_0x139b35[_0x24f4e4(0x42d)]={..._0x139b35['resources']??{}},_0x139b35['resources'][_0x24f4e4(0x2f3)]={..._0x139b35[_0x24f4e4(0x42d)][_0x24f4e4(0x2f3)]??{}},_0x139b35[_0x24f4e4(0x42d)][_0x24f4e4(0x486)]={..._0x139b35[_0x24f4e4(0x42d)][_0x24f4e4(0x486)]??{}};let _0x4e73d4=_0x139b35['rowIndex'],_0x14b5d7=_0x139b35[_0x24f4e4(0x47c)],_0x5afb0a=_0x139b35[_0x24f4e4(0x4b9)],_0x14d00d=_0x139b35['colId'],_0x3846e8=_0x139b35[_0x24f4e4(0x434)];return _0x547bd9['forEach']((_0x3d2276,_0x3467e3)=>{_0x4e73d4[_0x3d2276]=_0x3467e3,_0x14b5d7[_0x3467e3]=_0x3d2276;}),_0x4a8441[_0x24f4e4(0x366)]((_0x5c1e10,_0x26aaa1)=>{_0x5afb0a[_0x5c1e10]=_0x26aaa1,_0x14d00d[_0x26aaa1]=_0x5c1e10;}),Object[_0x24f4e4(0x2d4)](_0x1b4a31)[_0x24f4e4(0x366)](([_0xd2e695,_0x250da7])=>{const _0x22db2a=_0x24f4e4;let _0x21f16f=Number(_0xd2e695),_0x308572=_0x5f318b[_0x21f16f]??_0x547bd9[_0x21f16f],_0x53d804=_0x308572?_0x4e73d4[_0x308572]:void 0x0;_0x53d804!=null&&(_0x3846e8[_0x53d804]={..._0x3846e8[_0x53d804]??{}},Object[_0x22db2a(0x2d4)](_0x250da7??{})[_0x22db2a(0x366)](([_0x44b714,_0x37daf8])=>{let _0x505689=Number(_0x44b714),_0x3063ed=_0x468e5c[_0x505689]??_0x4a8441[_0x505689],_0x505ac5=_0x3063ed?_0x5afb0a[_0x3063ed]:void 0x0;_0x505ac5!=null&&(_0x3846e8[_0x53d804][_0x505ac5]=ot(_0x37daf8));}));}),Object[_0x24f4e4(0x33c)](_0x4baa84)['forEach'](_0x2b4fc1=>{const _0x32b99e=_0x24f4e4;let _0x64126b=_0x4e73d4[_0x2b4fc1['id']];_0x64126b!=null&&(_0x2b4fc1[_0x32b99e(0x33c)]={..._0x2b4fc1[_0x32b99e(0x33c)]??{},[_0x525439]:_0x2b4fc1['id']},_0x3846e8[_0x64126b]={..._0x3846e8[_0x64126b]??{},0x0:{'v':_0x2b4fc1['id'],'t':_0x332e7b[_0x32b99e(0x2a3)]}},Object[_0x32b99e(0x2d4)](_0x2b4fc1[_0x32b99e(0x33c)]??{})[_0x32b99e(0x366)](([_0xd97dee,_0x1ae87b])=>{const _0x8ccca0=_0x32b99e;let _0x123fe3=_0x5b98df[_0xd97dee];(_0x123fe3==null?void 0x0:_0x123fe3['type'])===_0x11438e[_0x8ccca0(0x31e)]&&dt(_0x139b35,_0x2b4fc1['id'],_0xd97dee,_0x1ae87b);let _0xd9c117=_0x5afb0a[_0xd97dee];if(_0xd9c117==null)return;let _0x2f20b=_0x3846e8[_0x64126b][_0xd9c117];if(_0x2f20b!=null){ht(_0x2f20b,_0x123fe3,_0x1ae87b)&&(_0x3846e8[_0x64126b][_0xd9c117]=at(_0x1ae87b,_0x123fe3));return;}_0x3846e8[_0x64126b][_0xd9c117]=at(_0x1ae87b,_0x123fe3);}));}),_0x139b35;}function $e(_0x19d477){const _0x130fa9=_0x274f9f;return L(_0x19d477),Object[_0x130fa9(0x2d4)](_0x19d477[_0x130fa9(0x47c)]??{})[_0x130fa9(0x366)](([_0x31d14f,_0xfdf61c])=>{const _0x91c0ac=_0x130fa9;var _0x2b4800;let _0x39aefe=Number(_0x31d14f),_0x13ddf9=_0x19d477[_0x91c0ac(0x3c4)][_0xfdf61c];_0x13ddf9&&(_0x13ddf9['values']={..._0x13ddf9[_0x91c0ac(0x33c)]??{}},Object[_0x91c0ac(0x2d4)](((_0x2b4800=_0x19d477[_0x91c0ac(0x434)])==null?void 0x0:_0x2b4800[_0x39aefe])??{})[_0x91c0ac(0x366)](([_0x23731a,_0x17c10c])=>{const _0x4df3f1=_0x91c0ac;var _0x46805e;let _0x1e53fc=(_0x46805e=_0x19d477[_0x4df3f1(0x4bd)])==null?void 0x0:_0x46805e[Number(_0x23731a)];_0x1e53fc===_0x525439?_0x13ddf9[_0x4df3f1(0x33c)][_0x525439]=_0x13ddf9['id']:_0x1e53fc&&(_0x13ddf9[_0x4df3f1(0x33c)][_0x1e53fc]=st(_0x17c10c,_0x19d477[_0x4df3f1(0x39f)][_0x1e53fc],_0x19d477,_0xfdf61c));}));}),_0x19d477;}function et(_0x488438,_0x3a7f97){const _0x4df523=_0x274f9f;for(let {row:_0x10d6b7,col:_0x1bf170}of _0x3a7f97){var _0x13b1d0,_0x2b2768,_0x1e8cfc;let _0x1d7b30=(_0x13b1d0=_0x488438[_0x4df523(0x47c)])==null?void 0x0:_0x13b1d0[_0x10d6b7],_0x25c9b9=(_0x2b2768=_0x488438[_0x4df523(0x4bd)])==null?void 0x0:_0x2b2768[_0x1bf170],_0x2e2ebe=_0x1d7b30?_0x488438[_0x4df523(0x3c4)][_0x1d7b30]:void 0x0;if(!_0x2e2ebe||!_0x25c9b9)continue;if(_0x25c9b9===_0x525439){_0x2e2ebe[_0x4df523(0x33c)][_0x525439]=_0x2e2ebe['id'];continue;}let _0x88a9db=(_0x1e8cfc=_0x488438[_0x4df523(0x434)])==null||(_0x1e8cfc=_0x1e8cfc[_0x10d6b7])==null?void 0x0:_0x1e8cfc[_0x1bf170];_0x88a9db==null&&!Object[_0x4df523(0x20f)]['hasOwnProperty'][_0x4df523(0x385)](_0x2e2ebe[_0x4df523(0x33c)]??{},_0x25c9b9)||(_0x2e2ebe['values']={..._0x2e2ebe['values']??{}},_0x2e2ebe[_0x4df523(0x33c)][_0x25c9b9]=st(_0x88a9db,_0x488438[_0x4df523(0x39f)][_0x25c9b9],_0x488438,_0x1d7b30));}return _0x488438;}function tt(_0x116a67,_0x157a56,_0x467859){const _0x320e68=_0x274f9f;var _0x19c933,_0x21e41a,_0x36cf13,_0x59fdce,_0x167d98,_0x1b7488;let _0x3356e2=(_0x19c933=_0x116a67[_0x320e68(0x269)])==null?void 0x0:_0x19c933[_0x157a56],_0x464838=(_0x21e41a=_0x116a67[_0x320e68(0x4b9)])==null?void 0x0:_0x21e41a[_0x467859];if(_0x3356e2!=null&&_0x464838!=null&&((_0x36cf13=_0x116a67['rowId'])==null?void 0x0:_0x36cf13[_0x3356e2])===_0x157a56&&((_0x59fdce=_0x116a67[_0x320e68(0x4bd)])==null?void 0x0:_0x59fdce[_0x464838])===_0x467859)return{'row':_0x3356e2,'col':_0x464838};let _0xcb0281=L(_0x116a67),_0xeaea3d=(_0x167d98=_0xcb0281[_0x320e68(0x269)])==null?void 0x0:_0x167d98[_0x157a56],_0x2bf2dc=(_0x1b7488=_0xcb0281['colIndex'])==null?void 0x0:_0x1b7488[_0x467859];return _0xeaea3d==null||_0x2bf2dc==null?null:{'row':_0xeaea3d,'col':_0x2bf2dc};}function nt(_0x35c751,_0x44037a,_0x25262f){const _0x290ba5=_0x274f9f;var _0x5b455d;let _0x1c5d39=tt(_0x35c751,_0x44037a,_0x25262f);if(_0x1c5d39)return(_0x5b455d=_0x35c751[_0x290ba5(0x434)])==null||(_0x5b455d=_0x5b455d[_0x1c5d39[_0x290ba5(0x264)]])==null?void 0x0:_0x5b455d[_0x1c5d39[_0x290ba5(0x355)]];}function rt(_0x361c50,_0x509cd0,_0x380de2){const _0x5e71e5=_0x274f9f;var _0x3d3b35;let _0x3905d7=nt(_0x361c50,_0x509cd0,_0x380de2),_0x149e42=_0x361c50[_0x5e71e5(0x39f)][_0x380de2];if((_0x149e42==null?void 0x0:_0x149e42['type'])===_0x11438e[_0x5e71e5(0x31e)]){var _0x37bcdd;return ft(_0x361c50,_0x509cd0,_0x380de2)??pt((_0x37bcdd=_0x361c50[_0x5e71e5(0x3c4)][_0x509cd0])==null||(_0x37bcdd=_0x37bcdd[_0x5e71e5(0x33c)])==null?void 0x0:_0x37bcdd[_0x380de2]);}if(gt(_0x149e42)||(_0x149e42==null?void 0x0:_0x149e42['type'])===_0x11438e[_0x5e71e5(0x2fa)]){var _0x294846;let _0x471da1=(_0x294846=_0x361c50[_0x5e71e5(0x3c4)][_0x509cd0])==null||(_0x294846=_0x294846['values'])==null?void 0x0:_0x294846[_0x380de2];return _0x471da1!=null&&_0x471da1!==''?mt(_0x471da1,_0x149e42):st(_0x3905d7,_0x149e42,_0x361c50,_0x509cd0);}return _0x3905d7&&Object[_0x5e71e5(0x20f)][_0x5e71e5(0x465)]['call'](_0x3905d7,'v')?_0x3905d7['v']??null:((_0x3d3b35=_0x361c50['records'][_0x509cd0])==null||(_0x3d3b35=_0x3d3b35[_0x5e71e5(0x33c)])==null?void 0x0:_0x3d3b35[_0x380de2])??null;}function it(_0x545162,_0x5b58c8,_0x47930a){const _0x531c84=_0x274f9f;var _0x3aa569;let _0xbadd0f=nt(_0x545162,_0x5b58c8,_0x47930a);if(_0xbadd0f&&Object[_0x531c84(0x20f)]['hasOwnProperty'][_0x531c84(0x385)](_0xbadd0f,'v'))return _0xbadd0f['v']??null;let _0x5cef15=_0x545162['fields'][_0x47930a];return at(((_0x3aa569=_0x545162[_0x531c84(0x3c4)][_0x5b58c8])==null||(_0x3aa569=_0x3aa569[_0x531c84(0x33c)])==null?void 0x0:_0x3aa569[_0x47930a])??null,_0x5cef15)['v']??null;}function at(_0x45b490,_0x595d27){const _0x5ebb4f=_0x274f9f;if(lt(_0x45b490))return(_0x595d27==null?void 0x0:_0x595d27[_0x5ebb4f(0x2b9)])===_0x11438e[_0x5ebb4f(0x31e)]?{..._0x45b490,'v':'','t':_0x332e7b['STRING']}:ot(_0x45b490);if((_0x595d27==null?void 0x0:_0x595d27[_0x5ebb4f(0x2b9)])===_0x11438e[_0x5ebb4f(0x31e)])return{'v':'','t':_0x332e7b[_0x5ebb4f(0x2a3)]};if(gt(_0x595d27))return{'v':_t(_0x45b490)[_0x5ebb4f(0x48b)](',\x20'),'t':_0x332e7b[_0x5ebb4f(0x2a3)]};if((_0x595d27==null?void 0x0:_0x595d27[_0x5ebb4f(0x2b9)])===_0x11438e['Link']&&_0x45b490&&typeof _0x45b490==_0x5ebb4f(0x314)&&!Array[_0x5ebb4f(0x39e)](_0x45b490)){let _0x180fea=_0x45b490;return{'v':String(_0x180fea[_0x5ebb4f(0x2d7)]??_0x180fea['url']??''),'t':_0x332e7b[_0x5ebb4f(0x2a3)]};}return _0x45b490===null||typeof _0x45b490==_0x5ebb4f(0x3c6)||typeof _0x45b490==_0x5ebb4f(0x4b3)||typeof _0x45b490==_0x5ebb4f(0x4ed)?{'v':_0x45b490,'t':yt(_0x45b490)}:{'v':null,'t':null};}function ot(_0xb0473d){let _0x24c9bf=xt(_0xb0473d['t'],_0xb0473d['v']);if(_0x24c9bf===void 0x0){let {t:_0x255899,..._0x137f76}=_0xb0473d;return _0x137f76;}return{..._0xb0473d,'t':_0x24c9bf};}function st(_0x41bd85,_0x57845a,_0x5858af,_0x21ee9f){const _0x4f4f56=_0x274f9f;if(!_0x41bd85)return null;if((_0x57845a==null?void 0x0:_0x57845a['type'])===_0x11438e[_0x4f4f56(0x31e)])return _0x5858af&&_0x21ee9f?ft(_0x5858af,_0x21ee9f,_0x57845a['id'])??[]:[];if(gt(_0x57845a))return _t(_0x41bd85['v']);if((_0x57845a==null?void 0x0:_0x57845a[_0x4f4f56(0x2b9)])===_0x11438e[_0x4f4f56(0x2fa)]&&_0x5858af&&_0x21ee9f){var _0x2f59ca;let _0x4846c0=(_0x2f59ca=_0x5858af[_0x4f4f56(0x3c4)][_0x21ee9f])==null||(_0x2f59ca=_0x2f59ca[_0x4f4f56(0x33c)])==null?void 0x0:_0x2f59ca[_0x57845a['id']];if(_0x4846c0&&typeof _0x4846c0=='object'&&!Array[_0x4f4f56(0x39e)](_0x4846c0))return _0x4846c0;}return Object[_0x4f4f56(0x20f)][_0x4f4f56(0x465)][_0x4f4f56(0x385)](_0x41bd85,'v')?_0x41bd85['v']??null:null;}function ct(_0x8bf27d,_0x3a2499,_0x3a5b1c,_0x29dddf,_0x2091e4){const _0x2e4eed=_0x274f9f;return(_0x3a5b1c==null?void 0x0:_0x3a5b1c[_0x2e4eed(0x2b9)])===_0x11438e[_0x2e4eed(0x31e)]?pt(_0x8bf27d):gt(_0x3a5b1c)?_t(_0x8bf27d):(_0x3a5b1c==null?void 0x0:_0x3a5b1c[_0x2e4eed(0x2b9)])===_0x11438e[_0x2e4eed(0x2fa)]&&_0x8bf27d&&typeof _0x8bf27d==_0x2e4eed(0x314)&&!Array[_0x2e4eed(0x39e)](_0x8bf27d)&&!lt(_0x8bf27d)?_0x8bf27d:st(_0x3a2499,_0x3a5b1c,_0x29dddf,_0x2091e4);}function lt(_0x3c6936){const _0x33164f=_0x274f9f;return!!_0x3c6936&&typeof _0x3c6936==_0x33164f(0x314)&&(Object[_0x33164f(0x20f)]['hasOwnProperty'][_0x33164f(0x385)](_0x3c6936,'v')||Object[_0x33164f(0x20f)][_0x33164f(0x465)][_0x33164f(0x385)](_0x3c6936,'t')||Object[_0x33164f(0x20f)][_0x33164f(0x465)][_0x33164f(0x385)](_0x3c6936,'p')||Object['prototype'][_0x33164f(0x465)][_0x33164f(0x385)](_0x3c6936,'f')||Object[_0x33164f(0x20f)][_0x33164f(0x465)]['call'](_0x3c6936,'si'));}function ut(_0x25880e,_0x56f3d8){return _0x25880e+'\x1f'+_0x56f3d8;}function dt(_0x1fdb3b,_0x24d999,_0x3efb94,_0x2733cb){const _0x3ca2ec=_0x274f9f;let _0x1189f8=pt(_0x2733cb);_0x1fdb3b[_0x3ca2ec(0x42d)]={..._0x1fdb3b[_0x3ca2ec(0x42d)]??{}},_0x1fdb3b['resources'][_0x3ca2ec(0x2f3)]={..._0x1fdb3b['resources']['attachmentSets']??{}},_0x1fdb3b[_0x3ca2ec(0x42d)][_0x3ca2ec(0x486)]={..._0x1fdb3b['resources'][_0x3ca2ec(0x486)]??{}};let _0x2e74a3=ut(_0x3efb94,_0x24d999),_0x2d779f=[];for(let _0xf8ef6c=0x0;_0xf8ef6c<_0x1189f8['length'];_0xf8ef6c++){if(!(_0xf8ef6c in _0x1189f8))continue;let _0x2e085f=_0x1189f8[_0xf8ef6c],_0x39eef5=String(_0x2e085f['id']??_0x2e74a3+'\x1f'+_0xf8ef6c),_0x229ce5={..._0x2e085f,'id':_0x39eef5};_0x1fdb3b[_0x3ca2ec(0x42d)][_0x3ca2ec(0x486)][_0x39eef5]=_0x229ce5,_0x2d779f['push'](_0x39eef5);}_0x1fdb3b[_0x3ca2ec(0x42d)][_0x3ca2ec(0x2f3)][_0x2e74a3]=_0x2d779f;}function ft(_0x3db565,_0x45c9c2,_0x101120){const _0x57a349=_0x274f9f;var _0xbf5b7d;let _0x1291c1=ut(_0x101120,_0x45c9c2),_0x4c3d30=(_0xbf5b7d=_0x3db565[_0x57a349(0x42d)])==null||(_0xbf5b7d=_0xbf5b7d[_0x57a349(0x2f3)])==null?void 0x0:_0xbf5b7d[_0x1291c1];if(!_0x4c3d30)return null;let _0x56db21=[];for(let _0x15c907=0x0;_0x15c907<_0x4c3d30[_0x57a349(0x353)];_0x15c907++){var _0x44d01c;if(!(_0x15c907 in _0x4c3d30))continue;let _0x592884=(_0x44d01c=_0x3db565[_0x57a349(0x42d)])==null||(_0x44d01c=_0x44d01c['attachments'])==null?void 0x0:_0x44d01c[_0x4c3d30[_0x15c907]];_0x592884&&_0x56db21[_0x57a349(0x254)]({..._0x592884});}return _0x56db21;}function pt(_0x333dc2){const _0x3f9b11=_0x274f9f;if(_0x333dc2==null||_0x333dc2===''||lt(_0x333dc2)&&!('id'in _0x333dc2)&&!(_0x3f9b11(0x248)in _0x333dc2))return[];let _0x4b5ada=Array[_0x3f9b11(0x39e)](_0x333dc2)?_0x333dc2:[_0x333dc2],_0x372591=[];for(let _0x1de35e=0x0;_0x1de35e<_0x4b5ada[_0x3f9b11(0x353)];_0x1de35e++){if(!(_0x1de35e in _0x4b5ada))continue;let _0x14471b=_0x4b5ada[_0x1de35e],_0x5dea59=_0x14471b&&typeof _0x14471b==_0x3f9b11(0x314)?{..._0x14471b}:{'id':_0x3f9b11(0x4f3)+_0x1de35e,'name':String(_0x14471b)};Object[_0x3f9b11(0x311)](_0x5dea59)[_0x3f9b11(0x353)]>0x0&&_0x372591[_0x3f9b11(0x254)](_0x5dea59);}return _0x372591;}function mt(_0x17221b,_0x391b57){const _0x5086be=_0x274f9f;return(_0x391b57==null?void 0x0:_0x391b57[_0x5086be(0x2b9)])===_0x11438e[_0x5086be(0x31e)]?pt(_0x17221b):gt(_0x391b57)?_t(_0x17221b):_0x17221b;}function ht(_0x1e156c,_0x28643b,_0x414a02){const _0x25d5f6=_0x274f9f;return(_0x28643b==null?void 0x0:_0x28643b[_0x25d5f6(0x2b9)])===_0x11438e[_0x25d5f6(0x31e)]?_0x1e156c['v']!=='':gt(_0x28643b)?Array[_0x25d5f6(0x39e)](_0x414a02)&&(_0x1e156c['v']==null||_0x1e156c['v']===''):!0x1;}function gt(_0x160bcf){const _0x18251b=_0x274f9f;return(_0x160bcf==null?void 0x0:_0x160bcf['type'])===_0x11438e[_0x18251b(0x3a5)]||(_0x160bcf==null?void 0x0:_0x160bcf['type'])===_0x11438e[_0x18251b(0x33d)]||(_0x160bcf==null?void 0x0:_0x160bcf['type'])===_0x11438e[_0x18251b(0x1f9)];}function _t(_0x53bdfe){const _0x436d2c=_0x274f9f;if(_0x53bdfe==null||_0x53bdfe==='')return[];let _0xa1c435=[];if(Array['isArray'](_0x53bdfe)){for(let _0x56b54f=0x0;_0x56b54f<_0x53bdfe['length'];_0x56b54f++){if(!(_0x56b54f in _0x53bdfe))continue;let _0x360a58=vt(_0x53bdfe[_0x56b54f]);_0x360a58&&_0xa1c435[_0x436d2c(0x254)](_0x360a58);}return _0xa1c435;}for(let _0x181e90 of String(_0x53bdfe)['split'](',')){let _0x38db64=_0x181e90[_0x436d2c(0x2ba)]();_0x38db64&&_0xa1c435[_0x436d2c(0x254)](_0x38db64);}return _0xa1c435;}function vt(_0x58c7ae){const _0x5e1bf6=_0x274f9f;if(_0x58c7ae==null)return'';if(typeof _0x58c7ae==_0x5e1bf6(0x3c6)||typeof _0x58c7ae=='number'||typeof _0x58c7ae==_0x5e1bf6(0x4ed))return String(_0x58c7ae);if(typeof _0x58c7ae==_0x5e1bf6(0x314)){let _0x2999d1=_0x58c7ae;return String(_0x2999d1['id']??_0x2999d1[_0x5e1bf6(0x248)]??_0x2999d1['text']??'');}return String(_0x58c7ae);}function yt(_0x1a6383){const _0x21a4df=_0x274f9f;return _0x1a6383==null?null:typeof _0x1a6383==_0x21a4df(0x4b3)?_0x332e7b[_0x21a4df(0x2c8)]:typeof _0x1a6383==_0x21a4df(0x4ed)?_0x332e7b[_0x21a4df(0x45d)]:_0x332e7b[_0x21a4df(0x2a3)];}function bt(_0x2310b5){const _0x432499=_0x274f9f;_0x2310b5[_0x432499(0x456)]((_0xd4a1dc,_0x46643a)=>_0xd4a1dc[_0x432499(0x280)][_0x432499(0x1fe)](_0x46643a[_0x432499(0x280)]));let _0x495d70=[];for(let _0x588594 of _0x2310b5)_0x495d70[_0x432499(0x254)](_0x588594['id']);return _0x495d70;}function xt(_0xd5817,_0xf7ab81){const _0x2d80ff=_0x274f9f;return _0xd5817===_0x332e7b['STRING']||_0xd5817===_0x332e7b[_0x2d80ff(0x2c8)]||_0xd5817===_0x332e7b[_0x2d80ff(0x45d)]||_0xd5817===_0x332e7b[_0x2d80ff(0x396)]||_0xd5817==null?_0xd5817:yt(_0xf7ab81??null);}function R(_0x510f9a){const _0x453f7c=_0x274f9f;let _0x36c0b9=null;for(let _0x22d5f5 of _0x510f9a)_0x36c0b9=_0x36c0b9===null?_0x22d5f5:_0x356391[_0x453f7c(0x2b9)][_0x453f7c(0x508)](_0x36c0b9,_0x22d5f5);return _0x36c0b9;}var z=class e{static['tryMaterializeSnapshot'](_0x5c9ab6,_0x2639bc){const _0x525f86=_0x274f9f;let _0x5d72c4=[];for(let _0x5b6219 of _0x2639bc){let _0xe77f52=St(_0x5b6219);if(!_0xe77f52||_0xe77f52[_0x525f86(0x4bb)]!==_0x5c9ab6['id'])return null;_0x5d72c4[_0x525f86(0x254)](_0xe77f52['op']);}try{let _0x91270b=R(_0x5d72c4);return _0x91270b===null?_0x5c9ab6:new e()[_0x525f86(0x347)](_0x5c9ab6,_0x91270b);}catch{return null;}}[_0x274f9f(0x347)](_0x1ef144,_0x4017a1){const _0x3af9e4=_0x274f9f;let _0x21fee1=this[_0x3af9e4(0x301)](_0x4017a1),_0x2ce7b8=I(_0x3af9e4(0x389),()=>At(_0x1ef144,_0x4017a1),{'invalidations':_0x21fee1['length']}),_0x3bb53c=I('BaseJson1.json1Apply',()=>_0x356391['type'][_0x3af9e4(0x499)](_0x2ce7b8,_0x4017a1),{'invalidations':_0x21fee1['length']});return I('BaseJson1.syncCellInvalidations',()=>Ct(_0x3bb53c,_0x21fee1),{'invalidations':_0x21fee1['length']})||I(_0x3af9e4(0x348),()=>{const _0x7755ce=_0x3af9e4;this[_0x7755ce(0x330)](_0x3bb53c,_0x21fee1)[_0x7755ce(0x366)](_0x4cef13=>{$e(_0x4cef13);});},{'invalidations':_0x21fee1['length']}),_0x3bb53c;}[_0x274f9f(0x2c6)](_0x509021,_0x331a95){const _0x1bc726=_0x274f9f;return _0x356391[_0x1bc726(0x2b9)][_0x1bc726(0x510)](_0x331a95,_0x509021);}[_0x274f9f(0x301)](_0x1a72eb){const _0x33e492=_0x274f9f;let _0x575668=Dt(_0x1a72eb);return _0x575668[_0x33e492(0x353)]?Ot(_0x575668['flatMap'](_0x50da87=>this['getAffectedRanges'](_0x50da87))):wt(_0x1a72eb);}[_0x274f9f(0x330)](_0x3e8f93,_0x4d44ba){const _0x2adf5e=_0x274f9f;return _0x4d44ba[_0x2adf5e(0x353)]?_0x4d44ba[_0x2adf5e(0x29f)](_0x184ddf=>!_0x184ddf[_0x2adf5e(0x37e)])?Object[_0x2adf5e(0x33c)](_0x3e8f93[_0x2adf5e(0x529)]??{}):Array[_0x2adf5e(0x2a4)](new Set(_0x4d44ba['map'](_0x45f555=>_0x45f555[_0x2adf5e(0x37e)])))[_0x2adf5e(0x25e)](_0x3f45df=>{const _0x32e767=_0x2adf5e;var _0x32cf8d;let _0x3cbdda=(_0x32cf8d=_0x3e8f93[_0x32e767(0x529)])==null?void 0x0:_0x32cf8d[_0x3f45df];return _0x3cbdda?[_0x3cbdda]:[];}):[];}};function St(_0x20aeb3){const _0x13c4f8=_0x274f9f;let _0x24670c=_0x20aeb3['params'];return _0x20aeb3['id']!==_0x13c4f8(0x48f)||typeof _0x24670c!=_0x13c4f8(0x314)||!_0x24670c||!('unitId'in _0x24670c)||typeof _0x24670c[_0x13c4f8(0x4bb)]!=_0x13c4f8(0x3c6)||!('op'in _0x24670c)||!Array[_0x13c4f8(0x39e)](_0x24670c['op'])?null:{'unitId':_0x24670c['unitId'],'op':_0x24670c['op']};}function Ct(_0x4e0c48,_0x207845){const _0x7a2a69=_0x274f9f;if(!_0x207845[_0x7a2a69(0x353)]||_0x207845[_0x7a2a69(0x29f)](_0x180b11=>_0x180b11[_0x7a2a69(0x257)]!==_0x7a2a69(0x3aa)))return!0x1;let _0x24bc18=new Map();for(let _0x903d2a of _0x207845){if(!_0x903d2a['tableId']||_0x903d2a['row']==null||_0x903d2a[_0x7a2a69(0x42e)]==null)continue;let _0xf5dc84=_0x24bc18['get'](_0x903d2a[_0x7a2a69(0x37e)])??[];_0xf5dc84['push']({'row':_0x903d2a[_0x7a2a69(0x264)],'col':_0x903d2a['column']}),_0x24bc18[_0x7a2a69(0x317)](_0x903d2a[_0x7a2a69(0x37e)],_0xf5dc84);}return _0x24bc18[_0x7a2a69(0x366)]((_0x2eca11,_0x3770bd)=>{const _0x308426=_0x7a2a69;var _0x3e2eaa;let _0x1b644c=(_0x3e2eaa=_0x4e0c48[_0x308426(0x529)])==null?void 0x0:_0x3e2eaa[_0x3770bd];_0x1b644c&&et(_0x1b644c,_0x2eca11);}),!0x0;}function wt(_0xc81294){const _0x44c975=_0x274f9f;if(!Array[_0x44c975(0x39e)](_0xc81294)||_0xc81294[_0x44c975(0x353)]<0x2)return[{'tableId':'','reason':_0x44c975(0x2b4)}];let _0x23369d=_0xc81294,_0x44bbce=_0x23369d[_0x44c975(0x502)]('tables');return _0x44bbce===-0x1||typeof _0x23369d[_0x44bbce+0x1]!=_0x44c975(0x3c6)?_0x23369d[0x0]===_0x44c975(0x4ab)?[]:[{'tableId':'','reason':_0x44c975(0x2b4)}]:Tt(_0x23369d,_0x44bbce,String(_0x23369d[_0x44bbce+0x1]));}function Tt(_0x108f60,_0x56387b,_0x3453af){const _0x2b38dd=_0x274f9f;let _0x3f48df=_0x108f60[_0x56387b+0x2];return _0x3f48df==='records'&&typeof _0x108f60[_0x56387b+0x3]==_0x2b38dd(0x3c6)?Et(_0x108f60,_0x56387b,_0x3453af,String(_0x108f60[_0x56387b+0x3])):_0x3f48df===_0x2b38dd(0x434)&&_0x108f60[_0x56387b+0x3]!=null&&_0x108f60[_0x56387b+0x4]!=null?[{'tableId':_0x3453af,'reason':_0x2b38dd(0x3aa),'row':Number(_0x108f60[_0x56387b+0x3]),'column':Number(_0x108f60[_0x56387b+0x4])}]:_0x3f48df===_0x2b38dd(0x39f)&&typeof _0x108f60[_0x56387b+0x3]==_0x2b38dd(0x3c6)?[{'tableId':_0x3453af,'reason':_0x2b38dd(0x4e6),'fieldId':String(_0x108f60[_0x56387b+0x3])}]:_0x3f48df===_0x2b38dd(0x22d)&&typeof _0x108f60[_0x56387b+0x3]=='string'?[{'tableId':_0x3453af,'reason':_0x2b38dd(0x33a),'viewId':String(_0x108f60[_0x56387b+0x3])}]:[{'tableId':_0x3453af,'reason':_0x3f48df===void 0x0?_0x2b38dd(0x258):'unknown'}];}function Et(_0x44147f,_0x1a9069,_0x453d91,_0x171abf){const _0x197c3a=_0x274f9f;return _0x44147f[_0x1a9069+0x4]===_0x197c3a(0x33c)&&typeof _0x44147f[_0x1a9069+0x5]==_0x197c3a(0x3c6)?[{'tableId':_0x453d91,'reason':_0x197c3a(0x3aa),'recordId':_0x171abf,'fieldId':String(_0x44147f[_0x1a9069+0x5])}]:_0x44147f[_0x1a9069+0x4]===_0x197c3a(0x3da)||_0x44147f[_0x1a9069+0x4]===_0x197c3a(0x2b3)?[]:[{'tableId':_0x453d91,'reason':_0x197c3a(0x46a),'recordId':_0x171abf}];}function Dt(_0x53cc32){const _0x4147d9=_0x274f9f;if(!Array[_0x4147d9(0x39e)](_0x53cc32))return[];let _0xd188f0=_0x53cc32[_0x4147d9(0x458)](Array[_0x4147d9(0x39e)]);if(_0xd188f0[_0x4147d9(0x353)]>0x1&&_0xd188f0[_0x4147d9(0x353)]===_0x53cc32[_0x4147d9(0x353)])return _0xd188f0;let _0x3c3943=_0x53cc32[_0x4147d9(0x22c)](Array[_0x4147d9(0x39e)]);if(_0x3c3943>0x0&&_0x53cc32['slice'](_0x3c3943)[_0x4147d9(0x4ea)](Array[_0x4147d9(0x39e)])){let _0x5d436a=_0x53cc32['slice'](0x0,_0x3c3943);return _0x53cc32[_0x4147d9(0x51c)](_0x3c3943)[_0x4147d9(0x22e)](_0x5f316b=>[..._0x5d436a,..._0x5f316b]);}let _0x122f65=_0x53cc32[_0x4147d9(0x502)](_0x4147d9(0x529));if(_0x122f65===-0x1||typeof _0x53cc32[_0x122f65+0x1]!=_0x4147d9(0x3c6))return[];let _0x35aecf=String(_0x53cc32[_0x122f65+0x1]),_0x48baaa=_0x53cc32['slice'](_0x122f65+0x2)[_0x4147d9(0x458)](Array[_0x4147d9(0x39e)]);return _0x48baaa['length']<=0x1?[]:_0x48baaa[_0x4147d9(0x22e)](_0x322c4b=>[_0x4147d9(0x529),_0x35aecf,..._0x322c4b]);}function Ot(_0x2cad8c){const _0x96f4c7=_0x274f9f;let _0xe14bbd=new Set();return _0x2cad8c[_0x96f4c7(0x458)](_0x6c1be1=>{const _0x2bd398=_0x96f4c7;let _0x340ff4=JSON[_0x2bd398(0x2b6)](_0x6c1be1);return _0xe14bbd['has'](_0x340ff4)?!0x1:(_0xe14bbd[_0x2bd398(0x4a3)](_0x340ff4),!0x0);});}function kt(_0x36b43e){const _0x24fd39=_0x274f9f;return _0x12a306[_0x24fd39(0x523)](_0x36b43e);}function At(_0x8f368b,_0x21d323){let _0x13cf53=jt(_0x21d323);if(!_0x13cf53['length'])return kt(_0x8f368b);let _0x41676a=Rt(_0x8f368b),_0x448a2b=new Set();for(let _0x59cd90 of _0x13cf53)Pt(_0x41676a,_0x59cd90,_0x448a2b);return _0x41676a;}function jt(_0x4a5c9c){let _0xbc2985=[];return Mt(_0x4a5c9c,[],_0xbc2985),_0xbc2985;}function Mt(_0x3eb00c,_0x4ce039,_0x5860ff){const _0x5cb94c=_0x274f9f;if(!Array[_0x5cb94c(0x39e)](_0x3eb00c))return;let _0x31a6a4=[];for(let _0x4da6b0 of _0x3eb00c){if(Array[_0x5cb94c(0x39e)](_0x4da6b0)){Mt(_0x4da6b0,[..._0x4ce039,..._0x31a6a4],_0x5860ff);continue;}if(Nt(_0x4da6b0)){_0x5860ff[_0x5cb94c(0x254)]([..._0x4ce039,..._0x31a6a4]);continue;}(typeof _0x4da6b0==_0x5cb94c(0x3c6)||typeof _0x4da6b0==_0x5cb94c(0x4b3))&&_0x31a6a4[_0x5cb94c(0x254)](_0x4da6b0);}}function Nt(_0x6605d0){const _0x3eb9f9=_0x274f9f;if(!_0x6605d0||typeof _0x6605d0!='object'||Array[_0x3eb9f9(0x39e)](_0x6605d0))return!0x1;let _0x283f51=_0x6605d0;return'i'in _0x283f51||'r'in _0x283f51||'p'in _0x283f51||'d'in _0x283f51||'es'in _0x283f51||_0x3eb9f9(0x3ae)in _0x283f51||'et'in _0x283f51;}function Pt(_0x332d2d,_0x379783,_0x377787){const _0x3aba28=_0x274f9f;let _0x167f6e=_0x332d2d,_0x31b66e=[];for(let _0x22b662=0x0;_0x22b662<_0x379783['length']-0x1;_0x22b662++){let _0x4dcd42=_0x379783[_0x22b662];_0x31b66e[_0x3aba28(0x254)](_0x4dcd42);let _0x5f498b=Ft(_0x167f6e,_0x4dcd42);if(!Lt(_0x5f498b))return;let _0x234af8=JSON[_0x3aba28(0x2b6)](_0x31b66e);_0x377787[_0x3aba28(0x51e)](_0x234af8)||(It(_0x167f6e,_0x4dcd42,Rt(_0x5f498b)),_0x377787['add'](_0x234af8));let _0x29c80f=Ft(_0x167f6e,_0x4dcd42);if(!Lt(_0x29c80f))return;_0x167f6e=_0x29c80f;}}function Ft(_0x2bfa8f,_0x15205f){const _0x2e75e3=_0x274f9f;return Array[_0x2e75e3(0x39e)](_0x2bfa8f)?typeof _0x15205f==_0x2e75e3(0x4b3)?_0x2bfa8f[_0x15205f]:void 0x0:Reflect['get'](_0x2bfa8f,_0x15205f);}function It(_0x7c9383,_0x597f60,_0x35163c){const _0x178e2e=_0x274f9f;if(Array[_0x178e2e(0x39e)](_0x7c9383)){typeof _0x597f60==_0x178e2e(0x4b3)&&(_0x7c9383[_0x597f60]=_0x35163c);return;}Reflect[_0x178e2e(0x317)](_0x7c9383,_0x597f60,_0x35163c);}function Lt(_0x343371){const _0x18d6c6=_0x274f9f;return!!_0x343371&&typeof _0x343371==_0x18d6c6(0x314);}function Rt(_0x9db6a3){const _0x5bae45=_0x274f9f;return Array['isArray'](_0x9db6a3)?_0x9db6a3[_0x5bae45(0x51c)]():{..._0x9db6a3};}const zt=0x5a0*0x3c*0x3e8,Bt=0x63e1,Vt='yyyy/mm/dd',Ht=/\s+hh:mm\s*$/i,Ut={'yyyy/mm/dd':_0x274f9f(0x446),'yyyy-mm-dd':_0x274f9f(0x430),'mm-dd':_0x274f9f(0x222),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x274f9f(0x338),'mmm\x20d,\x20yyyy':_0x274f9f(0x2e0)};function B(_0x23c471){const _0x4e192d=_0x274f9f;return _0x1b3caf(_0x23c471)[_0x4e192d(0x21d)]()/zt+Bt;}function Wt(_0x479be6){return Math['round']((_0x479be6-Bt)*zt);}function Gt(_0x4902cc){const _0x42ce74=_0x274f9f;if(_0x4902cc==null||_0x4902cc==='')return null;if(_0x4902cc instanceof Date)return B(_0x4902cc);if(typeof _0x4902cc==_0x42ce74(0x4b3))return Number[_0x42ce74(0x1ee)](_0x4902cc)?_0x4902cc>0xf4240?B(_0x4902cc):_0x4902cc:null;let _0x3137d9=Date['parse'](String(_0x4902cc));return Number[_0x42ce74(0x33b)](_0x3137d9)?null:B(_0x3137d9);}function Kt(_0x34339d){let _0x46abd8=Gt(_0x34339d);return _0x46abd8==null?null:Wt(_0x46abd8);}function qt(_0xfa9082={}){const _0x5ab7b4=_0x274f9f;let _0x55447d=String(_0xfa9082[_0x5ab7b4(0x471)]??_0xfa9082[_0x5ab7b4(0x483)]??_0xfa9082[_0x5ab7b4(0x3f8)]??Vt)[_0x5ab7b4(0x2ba)]()||Vt,_0x229701=Ht[_0x5ab7b4(0x2a6)](_0x55447d);return{'pattern':_0x55447d[_0x5ab7b4(0x386)](Ht,'')||Vt,'includeTime':typeof _0xfa9082[_0x5ab7b4(0x4b8)]==_0x5ab7b4(0x4ed)?_0xfa9082['includeTime']:_0x229701,'hourCycle':_0xfa9082[_0x5ab7b4(0x384)]===_0x5ab7b4(0x37b)?_0x5ab7b4(0x37b):_0x5ab7b4(0x48d)};}function Jt(_0x4a7a8b={}){let {format:_0x1aab35,dateFormat:_0x49efa8,..._0x3a9825}=_0x4a7a8b;return{..._0x3a9825,...qt(_0x4a7a8b)};}function Yt(_0x12e428,_0x528227={}){const _0x54c090=_0x274f9f;let _0x33d457=Kt(_0x12e428);if(_0x33d457==null||!Number[_0x54c090(0x1ee)](_0x33d457))return'';let _0xdb4e79=qt(_0x528227);return _0x1b3caf(_0x33d457)['format'](Xt(_0xdb4e79));}function Xt(_0x72187c){const _0x56d866=_0x274f9f;let {pattern:_0x29c396,includeTime:_0x5f07a6,hourCycle:_0x208ea7}=_0x72187c,_0x1f4606=Ut[_0x29c396]??Ut[Vt];return _0x5f07a6?_0x1f4606+'\x20'+(_0x208ea7===_0x56d866(0x37b)?_0x56d866(0x1d1):_0x56d866(0x2d2)):_0x1f4606;}const Zt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Qt=new Set([_0x11438e[_0x274f9f(0x20d)]]),V=0x5a0*0x3c*0x3e8;function $t(_0x3ef1a7){const _0x135484=_0x274f9f;switch(_0x3ef1a7){case _0x11438e[_0x135484(0x43e)]:case _0x11438e['Currency']:case _0x11438e['Progress']:case _0x11438e[_0x135484(0x259)]:return[_0x5914e9['IS'],_0x5914e9[_0x135484(0x395)],_0x5914e9[_0x135484(0x4ec)],_0x5914e9[_0x135484(0x1ea)],_0x5914e9['IS_EMPTY'],_0x5914e9[_0x135484(0x3d2)]];case _0x11438e['Date']:case _0x11438e[_0x135484(0x33f)]:case _0x11438e[_0x135484(0x2df)]:return[_0x5914e9['IS'],_0x5914e9[_0x135484(0x395)],_0x5914e9[_0x135484(0x2e7)],_0x5914e9[_0x135484(0x1dc)],_0x5914e9[_0x135484(0x2f6)],_0x5914e9[_0x135484(0x3d2)]];case _0x11438e['Checkbox']:return[_0x5914e9['IS'],_0x5914e9[_0x135484(0x395)]];default:return[_0x5914e9['IS'],_0x5914e9['IS_NOT'],_0x5914e9[_0x135484(0x2bf)],_0x5914e9['NOT_CONTAINS'],_0x5914e9['IS_EMPTY'],_0x5914e9[_0x135484(0x3d2)]];}}function en(_0x2b50b4){const _0x242bee=_0x274f9f;return _0x2b50b4===_0x11438e[_0x242bee(0x44b)]||_0x2b50b4===_0x11438e[_0x242bee(0x33f)]||_0x2b50b4===_0x11438e[_0x242bee(0x2df)];}function tn(_0x235c22,_0x3ccda8){const _0x1c99e1=_0x274f9f;return _0x235c22==null&&_0x3ccda8==null?0x0:_0x235c22==null?-0x1:_0x3ccda8==null?0x1:typeof _0x235c22==_0x1c99e1(0x4b3)&&typeof _0x3ccda8==_0x1c99e1(0x4b3)?_0x235c22-_0x3ccda8:String(_0x235c22)[_0x1c99e1(0x1fe)](String(_0x3ccda8));}function nn(_0x50addb,_0x3a2dcd,_0x40f057,_0x53666a,_0x27ab19={}){const _0x43d2ca=_0x274f9f;if(_0x3a2dcd===_0x43d2ca(0x2e5))return rn(_0x50addb);if(_0x3a2dcd==='isNotEmpty')return!rn(_0x50addb);switch(_0x53666a[_0x43d2ca(0x2b9)]){case _0x11438e[_0x43d2ca(0x43e)]:case _0x11438e[_0x43d2ca(0x453)]:case _0x11438e[_0x43d2ca(0x298)]:case _0x11438e[_0x43d2ca(0x259)]:return an(_0x50addb,_0x3a2dcd,_0x40f057);case _0x11438e[_0x43d2ca(0x44b)]:case _0x11438e[_0x43d2ca(0x33f)]:case _0x11438e[_0x43d2ca(0x2df)]:return sn(_0x50addb,_0x3a2dcd,_0x40f057,_0x27ab19);case _0x11438e[_0x43d2ca(0x44d)]:return pn(_0x50addb,_0x3a2dcd,_0x40f057);case _0x11438e[_0x43d2ca(0x282)]:case _0x11438e[_0x43d2ca(0x3a5)]:case _0x11438e['Person']:case _0x11438e[_0x43d2ca(0x1f9)]:return hn(_0x50addb,_0x3a2dcd,_0x40f057,_0x53666a);default:return gn(_0x50addb,_0x3a2dcd,_0x40f057);}}function rn(_0x21aeaf){const _0x3791e6=_0x274f9f;return _0x21aeaf==null?!0x0:Array[_0x3791e6(0x39e)](_0x21aeaf)?_0x21aeaf[_0x3791e6(0x353)]===0x0:typeof _0x21aeaf=='string'&&_0x21aeaf['trim']()==='';}function an(_0x4ed2e,_0x4ee5a9,_0x2dd856){const _0x1fcc18=_0x274f9f;let _0x209eab=on(_0x4ed2e),_0x44852f=on(_0x2dd856);if(_0x209eab==null||_0x44852f==null)return!0x1;switch(_0x4ee5a9){case'is':return _0x209eab===_0x44852f;case _0x1fcc18(0x443):return _0x209eab!==_0x44852f;case _0x1fcc18(0x2b5):return _0x209eab>_0x44852f;case _0x1fcc18(0x45f):return _0x209eab>=_0x44852f;case _0x1fcc18(0x255):return _0x209eab<_0x44852f;case _0x1fcc18(0x22b):return _0x209eab<=_0x44852f;default:return!0x1;}}function on(_0x506a88){if(_0x506a88==null||_0x506a88==='')return null;let _0x20b23d=Number(_0x506a88);return Number['isFinite'](_0x20b23d)?_0x20b23d:null;}function sn(_0x20dc5f,_0xba1d7e,_0x25bddd,_0x4538ac){const _0xe8be15=_0x274f9f;let _0x368bac=ln(_0x20dc5f);if(_0x368bac==null)return!0x1;let _0x375f96=cn(_0x4538ac[_0xe8be15(0x205)]??_0xe8be15(0x475),_0x25bddd,_0x4538ac['now']);if(!_0x375f96)return!0x1;switch(_0xba1d7e){case'is':return _0x368bac>=_0x375f96[_0xe8be15(0x420)]&&_0x368bac<=_0x375f96[_0xe8be15(0x417)];case'isNot':return _0x368bac<_0x375f96[_0xe8be15(0x420)]||_0x368bac>_0x375f96['end'];case _0xe8be15(0x429):return _0x368bac<_0x375f96['start'];case _0xe8be15(0x4b5):return _0x368bac>_0x375f96['end'];default:return!0x1;}}function cn(_0x5170f5,_0xa1aaa6,_0x371130=Date[_0x274f9f(0x4df)]()){const _0x5e2db3=_0x274f9f;let _0x6943a3=un(_0x371130);switch(_0x5170f5){case _0x5e2db3(0x475):{let _0x33c633=ln(_0xa1aaa6);return _0x33c633==null?null:{'start':_0x33c633,'end':_0x33c633+V-0x1};}case _0x5e2db3(0x487):return{'start':_0x6943a3,'end':_0x6943a3+V-0x1};case'tomorrow':return{'start':_0x6943a3+V,'end':_0x6943a3+V*0x2-0x1};case _0x5e2db3(0x263):return{'start':_0x6943a3-V,'end':_0x6943a3-0x1};case _0x5e2db3(0x2d6):return dn(_0x6943a3,0x0);case'lastWeek':return dn(_0x6943a3,-0x1);case _0x5e2db3(0x397):return fn(_0x6943a3,0x0);case _0x5e2db3(0x4e3):return fn(_0x6943a3,-0x1);case _0x5e2db3(0x381):return{'start':_0x6943a3-V*0x6,'end':_0x6943a3+V-0x1};case'next7':return{'start':_0x6943a3,'end':_0x6943a3+V*0x7-0x1};case _0x5e2db3(0x4a6):return{'start':_0x6943a3-V*0x1d,'end':_0x6943a3+V-0x1};case _0x5e2db3(0x4b1):return{'start':_0x6943a3,'end':_0x6943a3+V*0x1e-0x1};}}function ln(_0x1ef0ea){let _0x524e92=Gt(_0x1ef0ea);return _0x524e92==null?null:un(Wt(_0x524e92));}function un(_0x29c399){const _0x80103c=_0x274f9f;let _0x285b84=new Date(_0x29c399);return _0x285b84[_0x80103c(0x3c3)](0x0,0x0,0x0,0x0),_0x285b84[_0x80103c(0x45a)]();}function dn(_0x42c5e4,_0x5982ea){const _0x4add59=_0x274f9f;let _0x36cbff=_0x42c5e4-(new Date(_0x42c5e4)[_0x4add59(0x2b8)]()+0x6)%0x7*V+_0x5982ea*V*0x7;return{'start':_0x36cbff,'end':_0x36cbff+V*0x7-0x1};}function fn(_0x1fd317,_0x5741a3){const _0x45b536=_0x274f9f;let _0xd8872a=new Date(_0x1fd317),_0x55ade0=new Date(_0xd8872a['getFullYear'](),_0xd8872a[_0x45b536(0x325)]()+_0x5741a3,0x1),_0x54cf33=new Date(_0xd8872a[_0x45b536(0x4ae)](),_0xd8872a[_0x45b536(0x325)]()+_0x5741a3+0x1,0x1);return{'start':_0x55ade0[_0x45b536(0x45a)](),'end':_0x54cf33['getTime']()-0x1};}function pn(_0x4ee5bf,_0x3d59ed,_0x2603e1){const _0x5d0fa7=_0x274f9f;let _0x3c2bdc=mn(_0x4ee5bf),_0x3e5b82=mn(_0x2603e1);switch(_0x3d59ed){case'is':return _0x3c2bdc===_0x3e5b82;case _0x5d0fa7(0x443):return _0x3c2bdc!==_0x3e5b82;default:return!0x1;}}function mn(_0x3343fd){const _0xb56b1c=_0x274f9f;return _0x3343fd===!0x0||_0x3343fd===_0xb56b1c(0x416)||_0x3343fd===0x1||_0x3343fd==='1';}function hn(_0x140b49,_0x1bb46b,_0x33c470,_0x39acd2){const _0x532854=_0x274f9f;let _0x417d0b=vn(_0x140b49,_0x39acd2),_0x5d773c=vn(_0x33c470,_0x39acd2),_0x343fdf=_0x5d773c['length']>0x0&&_0x5d773c['some'](_0x44bdd0=>_0x417d0b[_0x532854(0x1d2)](_0x44bdd0));switch(_0x1bb46b){case'is':case'contains':return _0x343fdf;case _0x532854(0x443):case'notContains':return!_0x343fdf;default:return!0x1;}}function gn(_0x18dd0c,_0x17a6bd,_0x5cd1f9){const _0x43e09b=_0x274f9f;let _0x2a93a7=_n(_0x18dd0c),_0x80ca6e=_n(_0x5cd1f9);switch(_0x17a6bd){case'is':return _0x2a93a7===_0x80ca6e;case _0x43e09b(0x443):return _0x2a93a7!==_0x80ca6e;case _0x43e09b(0x4e1):return _0x80ca6e?_0x2a93a7['includes'](_0x80ca6e):!0x1;case _0x43e09b(0x4c2):return!_0x80ca6e||!_0x2a93a7[_0x43e09b(0x1d2)](_0x80ca6e);default:return!0x1;}}function _n(_0x52c308){const _0x22ecef=_0x274f9f;if(Array[_0x22ecef(0x39e)](_0x52c308))return _0x52c308['map'](_0x4b9dd6=>_n(_0x4b9dd6))[_0x22ecef(0x48b)]('\x0a');if(_0x52c308&&typeof _0x52c308==_0x22ecef(0x314)){let _0x1c060c=_0x52c308;return String(_0x1c060c[_0x22ecef(0x248)]??_0x1c060c[_0x22ecef(0x505)]??_0x1c060c['text']??_0x1c060c[_0x22ecef(0x42f)]??_0x1c060c['id']??'')[_0x22ecef(0x2ba)]()[_0x22ecef(0x208)]();}return String(_0x52c308??'')['trim']()['toLowerCase']();}function vn(_0x4ef807,_0x1d344c){const _0x1f832b=_0x274f9f;let _0x5a1098=yn(_0x4ef807),_0x49677a=bn(_0x1d344c[_0x1f832b(0x427)]??{});return _0x5a1098['flatMap'](_0x1cf9f6=>_0x49677a[_0x1f832b(0x23e)](_0x1cf9f6)??[_0x1cf9f6])[_0x1f832b(0x458)]((_0x38ecf1,_0x4d8e70,_0x503d55)=>_0x38ecf1!==''&&_0x503d55[_0x1f832b(0x502)](_0x38ecf1)===_0x4d8e70);}function yn(_0x4234fd){const _0xb1e000=_0x274f9f;if(_0x4234fd==null||_0x4234fd==='')return[];if(Array['isArray'](_0x4234fd))return _0x4234fd['flatMap'](_0x50a19d=>yn(_0x50a19d));if(_0x4234fd&&typeof _0x4234fd=='object'){let _0x1e518b=_0x4234fd;return['id',_0xb1e000(0x248),_0xb1e000(0x505),_0xb1e000(0x42f),'text']['flatMap'](_0x3b5f55=>yn(_0x1e518b[_0x3b5f55]))['filter']((_0x5b6440,_0x5117fa,_0x36fbb2)=>_0x36fbb2['indexOf'](_0x5b6440)===_0x5117fa);}return[_n(_0x4234fd)];}function bn(_0x135e3e){const _0x4a892a=_0x274f9f;let _0x3d29a8=new Map();return(Array['isArray'](_0x135e3e[_0x4a892a(0x4a7)])?_0x135e3e['options']:[])[_0x4a892a(0x366)](_0x19173b=>{const _0x913b81=_0x4a892a;if(!_0x19173b||typeof _0x19173b!='object')return;let _0x2a2955=yn(_0x19173b),_0x517116=_0x2a2955[_0x913b81(0x458)]((_0x3b198c,_0x11e15b)=>_0x3b198c!==''&&_0x2a2955[_0x913b81(0x502)](_0x3b198c)===_0x11e15b);_0x517116[_0x913b81(0x366)](_0x1ccc0b=>_0x3d29a8[_0x913b81(0x317)](_0x1ccc0b,_0x517116));}),_0x3d29a8;}function H(_0x34ee3e,_0x683fe8={},_0x48fe93=_0x43c131=>_0x43c131,_0x22539b={}){const _0xf79f5a=_0x274f9f;let _0x3b3caa=!Qt['has'](_0x34ee3e),_0x3d6be5=_0x48fe93??(_0x1b9710=>_0x1b9710);return{'type':_0x34ee3e,'i18nKey':'base.fieldType.'+_0x34ee3e,'enabled':_0x3b3caa,'visibleInCreateMenu':_0x3b3caa,'createDefaultConfig':_0x22539b[_0xf79f5a(0x479)]??(()=>({})),'createDefaultValue':_0x22539b[_0xf79f5a(0x42b)]??(_0x13fd49=>_0x13fd49[_0xf79f5a(0x319)]??null),'normalize':(_0x511960,_0x5b3df4)=>_0x3d6be5(_0x511960,_0x5b3df4),'validate':(_0x1f85e8,_0x4e5c89)=>{const _0x14d957=_0xf79f5a;var _0x83899c;return _0x3b3caa?((_0x83899c=_0x22539b[_0x14d957(0x3a6)])==null?void 0x0:_0x83899c[_0x14d957(0x385)](_0x22539b,_0x1f85e8,_0x4e5c89))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x38476b,_0x3e61b4)=>tn(_0x38476b,_0x3e61b4),'filter':(_0x4e35e8,_0x6d089a,_0x4dfba0,_0x3ada40)=>nn(_0x4e35e8,_0x6d089a,_0x4dfba0,_0x3ada40),'toPlainText':_0x22539b['toPlainText']??(_0x1c92f6=>_0x1c92f6==null?'':String(_0x1c92f6)),'fromPlainText':_0x22539b[_0xf79f5a(0x293)]??(_0x4ea477=>_0x3d6be5(_0x4ea477,{'id':'','name':'','type':_0x34ee3e,'config':{}})),'getCapabilities':()=>({...Zt,..._0x683fe8,'editable':_0x3b3caa&&(_0x683fe8[_0xf79f5a(0x2e8)]??Zt[_0xf79f5a(0x2e8)])})};}function xn(){const _0x3f6a53=_0x274f9f;return[H(_0x11438e['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x3f6a53(0x383)}),'createDefaultValue':_0x336df8=>_0x336df8[_0x3f6a53(0x319)]??''}),H(_0x11438e[_0x3f6a53(0x282)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x5d3821=>_0x5d3821==null||_0x5d3821===''?null:String(_0x5d3821),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x3f6a53(0x4e2)}})}),H(_0x11438e[_0x3f6a53(0x3a5)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x53ac9c=>Array[_0x3f6a53(0x39e)](_0x53ac9c)?_0x53ac9c['map'](String):_0x53ac9c==null?[]:[String(_0x53ac9c)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x3f6a53(0x4e2)}}),'createDefaultValue':_0x284bb0=>_0x284bb0[_0x3f6a53(0x319)]??[]}),H(_0x11438e[_0x3f6a53(0x33d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},En,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x3f6a53(0x276)}),'validate':Dn}),H(_0x11438e[_0x3f6a53(0x1f9)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},wn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x3f6a53(0x394)}),'createDefaultValue':_0x4d5733=>_0x4d5733[_0x3f6a53(0x319)]??[],'validate':On}),H(_0x11438e[_0x3f6a53(0x44b)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x225868=>Gt(_0x225868),{'createDefaultConfig':()=>Cn(),'validate':kn}),H(_0x11438e[_0x3f6a53(0x31e)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x5ba4d2=>_0x5ba4d2==null?[]:Array[_0x3f6a53(0x39e)](_0x5ba4d2)?_0x5ba4d2:[_0x5ba4d2],{'createDefaultValue':_0x36e0ce=>_0x36e0ce[_0x3f6a53(0x319)]??[]}),H(_0x11438e[_0x3f6a53(0x43e)],{},_0x3a7c39=>_0x3a7c39==null||_0x3a7c39===''?null:Number(_0x3a7c39),{'createDefaultConfig':()=>Sn(),'validate':An}),H(_0x11438e[_0x3f6a53(0x44d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x491534=>_0x491534===!0x0||_0x491534===_0x3f6a53(0x416)||_0x491534===0x1||_0x491534==='1',{'createDefaultConfig':()=>({'icon':_0x3f6a53(0x4c6),'color':_0x3f6a53(0x23b)}),'createDefaultValue':_0x1d7c1f=>_0x1d7c1f['defaultValue']??!0x1,'validate':_0x118b59=>typeof _0x118b59==_0x3f6a53(0x4ed)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3f6a53(0x2a7)}}),H(_0x11438e[_0x3f6a53(0x2fa)],{'supportsRelation':!0x0},Mn,{'createDefaultConfig':()=>({'placeholder':_0x3f6a53(0x3fe)}),'toPlainText':_0x268883=>Nn(_0x268883),'fromPlainText':_0x4396ed=>Mn(_0x4396ed)}),H(_0x11438e['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x3f6a53(0x2f0),'pattern':'General'}}),'createDefaultValue':()=>null}),H(_0x11438e[_0x3f6a53(0x24e)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x3f6a53(0x28a)}),'createDefaultValue':()=>null}),H(_0x11438e['Phone'],{'usableAsTitle':!0x0},_0xe303fb=>_0xe303fb==null?null:String(_0xe303fb)[_0x3f6a53(0x2ba)](),{'validate':_0x26a589=>_0x26a589==null||_0x26a589===''||/^\+?[0-9 ()-]{6,20}$/[_0x3f6a53(0x2a6)](String(_0x26a589))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3f6a53(0x2e4)}}),H(_0x11438e[_0x3f6a53(0x2c1)],{'usableAsTitle':!0x0},_0x20a4ee=>_0x20a4ee==null?null:String(_0x20a4ee)[_0x3f6a53(0x2ba)](),{'validate':_0x1cdfb5=>_0x1cdfb5==null||_0x1cdfb5===''||Fn(String(_0x1cdfb5))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3f6a53(0x4c9)}}),H(_0x11438e[_0x3f6a53(0x298)],{'usableAsGanttProgress':!0x0},_0x11cf9f=>_0x11cf9f==null||_0x11cf9f===''?null:Number(_0x11cf9f),{'createDefaultConfig':()=>({'format':_0x3f6a53(0x4f6),'decimalPlaces':0x0,'color':_0x3f6a53(0x484),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2379b8,_0x2b4dbd)=>jn(_0x2379b8,_0x2b4dbd,_0x3f6a53(0x20e))}),H(_0x11438e['Currency'],{},_0x1dbe74=>_0x1dbe74==null||_0x1dbe74===''?null:Number(_0x1dbe74),{'createDefaultConfig':()=>({...Sn(),'currencySymbol':'$'}),'validate':An}),H(_0x11438e['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x27922c=>_0x27922c==null||_0x27922c===''?null:Number(_0x27922c),{'createDefaultConfig':()=>({'icon':_0x3f6a53(0x228),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x14f5d2,_0x231c74)=>jn(_0x14f5d2,_0x231c74,_0x3f6a53(0x51f))}),H(_0x11438e[_0x3f6a53(0x24c)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Tn,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x14f206,_0x425a1b)=>Ee(_0x14f206,_0x425a1b[_0x3f6a53(0x427)][_0x3f6a53(0x501)]===!0x0)}),H(_0x11438e[_0x3f6a53(0x20d)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x11438e[_0x3f6a53(0x4ac)],{'editable':!0x1,'groupable':!0x0},_0xc68497=>_0xc68497==null?null:String(_0xc68497),{'createDefaultConfig':()=>({'provider':_0x3f6a53(0x452)}),'createDefaultValue':()=>null}),H(_0x11438e[_0x3f6a53(0x278)],{'editable':!0x1,'groupable':!0x0},_0x5d67ea=>_0x5d67ea==null?null:String(_0x5d67ea),{'createDefaultConfig':()=>({'provider':_0x3f6a53(0x452)}),'createDefaultValue':()=>null}),H(_0x11438e[_0x3f6a53(0x33f)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x24f8aa=>Gt(_0x24f8aa),{'createDefaultConfig':()=>Cn(),'createDefaultValue':()=>null,'validate':kn}),H(_0x11438e[_0x3f6a53(0x2df)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x44ee2b=>Gt(_0x44ee2b),{'createDefaultConfig':()=>Cn(),'createDefaultValue':()=>null,'validate':kn})];}function Sn(){const _0x50b52f=_0x274f9f;return{'pattern':_0x50b52f(0x3fa),'decimalPlaces':0x2,'separatorStyle':_0x50b52f(0x29b),'useThousands':!0x0,'abbreviation':_0x50b52f(0x52a),'allowNegative':!0x0};}function Cn(){const _0x1de1d4=_0x274f9f;return{'locale':'en-US','pattern':_0x1de1d4(0x3b0),'includeTime':!0x1,'hourCycle':_0x1de1d4(0x48d),'defaultMode':_0x1de1d4(0x52a)};}function wn(_0x52d171){const _0x199260=_0x274f9f;return _0x52d171==null||_0x52d171===''?[]:Array[_0x199260(0x39e)](_0x52d171)?_0x52d171[_0x199260(0x22e)](String):[String(_0x52d171)];}function Tn(_0x5a210e){const _0x36f1a9=_0x274f9f;return typeof _0x5a210e==_0x36f1a9(0x3c6)?_0x5a210e:'';}function En(_0x116d0b,_0x5caf39){const _0x41443f=_0x274f9f;return _0x116d0b==null||_0x116d0b===''?_0x5caf39[_0x41443f(0x427)][_0x41443f(0x20b)]===!0x0?[]:null:_0x5caf39[_0x41443f(0x427)][_0x41443f(0x20b)]===!0x0?Array[_0x41443f(0x39e)](_0x116d0b)?_0x116d0b[_0x41443f(0x22e)](String):[String(_0x116d0b)]:Array[_0x41443f(0x39e)](_0x116d0b)?String(_0x116d0b[0x0]??'')||null:String(_0x116d0b);}function Dn(_0x30679c,_0x72703){const _0x49f0ad=_0x274f9f;return _0x72703[_0x49f0ad(0x427)][_0x49f0ad(0x20b)]===!0x0?On(_0x30679c):_0x30679c==null||_0x30679c===''||typeof _0x30679c==_0x49f0ad(0x3c6)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x49f0ad(0x42a)};}function On(_0x554d63){const _0x4bf591=_0x274f9f;return _0x554d63==null||Array[_0x4bf591(0x39e)](_0x554d63)&&_0x554d63[_0x4bf591(0x4ea)](_0x4c6112=>typeof _0x4c6112==_0x4bf591(0x3c6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4bf591(0x4e7)};}function kn(_0x51d349){const _0x175ed6=_0x274f9f;return _0x51d349==null||typeof _0x51d349==_0x175ed6(0x4b3)&&Number[_0x175ed6(0x1ee)](_0x51d349)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function An(_0x3bcf2e,_0x362220){const _0x1124ef=_0x274f9f;return _0x3bcf2e==null||_0x3bcf2e===''?{'valid':!0x0}:typeof _0x3bcf2e!='number'||!Number['isFinite'](_0x3bcf2e)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x362220[_0x1124ef(0x427)][_0x1124ef(0x240)]===!0x1&&_0x3bcf2e<0x0?{'valid':!0x1,'reason':_0x1124ef(0x294)}:{'valid':!0x0};}function jn(_0x53eace,_0x5c3850,_0x38a60a){const _0x5ec0f0=_0x274f9f;let _0x516fc3=An(_0x53eace,_0x5c3850);if(!_0x516fc3['valid']||_0x53eace==null||_0x53eace==='')return _0x516fc3;let _0x4639c3=Number(_0x5c3850['config'][_0x5ec0f0(0x4ff)]??_0x5c3850[_0x5ec0f0(0x427)]['start']??0x0),_0x31b246=Number(_0x5c3850[_0x5ec0f0(0x427)][_0x5ec0f0(0x3f9)]??_0x5c3850['config'][_0x5ec0f0(0x417)]??0x64),_0x1560fb=Number(_0x53eace);return _0x1560fb>=_0x4639c3&&_0x1560fb<=_0x31b246?{'valid':!0x0}:{'valid':!0x1,'reason':_0x38a60a};}function Mn(_0x48ff41){const _0x156a48=_0x274f9f;if(_0x48ff41==null||_0x48ff41==='')return null;if(typeof _0x48ff41=='object'&&!Array[_0x156a48(0x39e)](_0x48ff41)){let _0x28adfd=_0x48ff41,_0x24283a=typeof _0x28adfd['text']=='string'?_0x28adfd[_0x156a48(0x2d7)]['trim']():'',_0x4ceffe=typeof _0x28adfd[_0x156a48(0x3bb)]==_0x156a48(0x3c6)?_0x28adfd[_0x156a48(0x3bb)]['trim']():'',_0x1493e4=Pn(_0x4ceffe||_0x24283a);return _0x1493e4?{'text':_0x24283a||_0x4ceffe||_0x1493e4,'url':_0x1493e4}:null;}let _0x1a014f=String(_0x48ff41)[_0x156a48(0x2ba)](),_0x38a00f=Pn(_0x1a014f);return _0x38a00f?{'text':_0x1a014f,'url':_0x38a00f}:null;}function Nn(_0x55f34d){const _0x46f282=_0x274f9f;if(_0x55f34d==null)return'';if(typeof _0x55f34d=='object'&&!Array[_0x46f282(0x39e)](_0x55f34d)){let _0x2f24be=_0x55f34d;return String(_0x2f24be[_0x46f282(0x2d7)]||_0x2f24be[_0x46f282(0x3bb)]||'');}return String(_0x55f34d);}function Pn(_0x55d0bf){const _0x23123f=_0x274f9f;let _0x1c2edb=_0x55d0bf['trim']();if(!_0x1c2edb)return'';let _0x4652b1=/^[a-z][a-z\d+.-]*:/i[_0x23123f(0x2a6)](_0x1c2edb)?_0x1c2edb:_0x1c2edb[_0x23123f(0x1f7)]('//')?_0x23123f(0x463)+_0x1c2edb:_0x23123f(0x4f4)+_0x1c2edb;try{let _0x15e34b=new URL(_0x4652b1);return _0x15e34b['protocol']===_0x23123f(0x405)||_0x15e34b['protocol']===_0x23123f(0x463)?_0x15e34b[_0x23123f(0x2a9)]:'';}catch{return'';}}function Fn(_0x49ecb5){const _0x529cdd=_0x274f9f;let _0x5ddcc6=_0x49ecb5[_0x529cdd(0x502)]('@');if(_0x5ddcc6<=0x0||_0x5ddcc6!==_0x49ecb5[_0x529cdd(0x3f3)]('@'))return!0x1;let _0x3baae=_0x49ecb5['slice'](_0x5ddcc6+0x1);return _0x3baae[_0x529cdd(0x1d2)]('.')&&!_0x49ecb5['includes']('\x20')&&!_0x3baae[_0x529cdd(0x1f7)]('.')&&!_0x3baae[_0x529cdd(0x4fa)]('.');}const U={'table':_0x959a6=>[_0x274f9f(0x529),_0x959a6],'field':(_0x227cb0,_0x5245dd)=>[_0x274f9f(0x529),_0x227cb0,_0x274f9f(0x39f),_0x5245dd],'fieldOrder':(_0x357887,_0x10cd91)=>['tables',_0x357887,'fieldOrder',_0x10cd91],'record':(_0x9ae154,_0x4dce03)=>[_0x274f9f(0x529),_0x9ae154,_0x274f9f(0x3c4),_0x4dce03],'cell':(_0x13b155,_0x13f81a,_0x29bdfb)=>['tables',_0x13b155,_0x274f9f(0x3c4),_0x13f81a,_0x274f9f(0x33c),_0x29bdfb],'cellData':(_0x5520e3,_0x15a956,_0x51bccc)=>[_0x274f9f(0x529),_0x5520e3,_0x274f9f(0x434),String(_0x15a956),String(_0x51bccc)],'attachmentSet':(_0x2a59f5,_0x1cc2fe)=>[_0x274f9f(0x529),_0x2a59f5,_0x274f9f(0x42d),_0x274f9f(0x2f3),_0x1cc2fe],'attachment':(_0x5172e4,_0x3bda66)=>['tables',_0x5172e4,_0x274f9f(0x42d),_0x274f9f(0x486),_0x3bda66],'view':(_0x4e8cc6,_0x94da8e)=>[_0x274f9f(0x529),_0x4e8cc6,_0x274f9f(0x22d),_0x94da8e],'viewFieldHidden':(_0x29303d,_0x5bda1a,_0x15fe88)=>[_0x274f9f(0x529),_0x29303d,_0x274f9f(0x22d),_0x5bda1a,'fieldSettings',_0x15fe88,_0x274f9f(0x418)]};var W=class{['setBaseName'](_0xf500ac,_0x2c9364){const _0x2e031d=_0x274f9f;let _0x498d99=this['renameFormulaUnitReferences'](_0xf500ac,_0xf500ac['name'],_0x2c9364);return R([this[_0x2e031d(0x408)]([_0x2e031d(0x248)],_0xf500ac['name'],_0x2c9364),..._0x498d99?[_0x498d99]:[]]);}[_0x274f9f(0x49c)](_0x1b91ac,_0x46dcf1,_0x2b532b){const _0x503238=_0x274f9f;let _0x393549=Object[_0x503238(0x33c)](_0x1b91ac[_0x503238(0x529)])[_0x503238(0x25e)](_0x34e92b=>Object['values'](_0x34e92b[_0x503238(0x39f)])['flatMap'](_0x7f8b5b=>{const _0x2f5c01=_0x503238;var _0x13c864,_0x2ff4c0;if(_0x7f8b5b['type']!==_0x11438e[_0x2f5c01(0x525)])return[];let _0x2ac725=String(((_0x13c864=_0x7f8b5b['config'])==null?void 0x0:_0x13c864[_0x2f5c01(0x2c3)])??''),_0x16763d=_0x4bae62(_0x2ac725,_0x46dcf1,_0x2b532b);return _0x16763d===_0x2ac725?[]:[this[_0x2f5c01(0x408)]([...U[_0x2f5c01(0x4e6)](_0x34e92b['id'],_0x7f8b5b['id']),_0x2f5c01(0x427),_0x2f5c01(0x2c3)],(_0x2ff4c0=_0x7f8b5b[_0x2f5c01(0x427)])==null?void 0x0:_0x2ff4c0[_0x2f5c01(0x2c3)],_0x16763d)];}));return _0x393549[_0x503238(0x353)]>0x0?R(_0x393549):void 0x0;}[_0x274f9f(0x494)](_0x2d5c7d,_0x5a1044,_0x3de84a=_0x2d5c7d['tableOrder'][_0x274f9f(0x353)]){const _0x37708e=_0x274f9f;return R([_0x356391['insertOp'](U[_0x37708e(0x258)](_0x5a1044['id']),_0x5a1044),_0x356391[_0x37708e(0x1ff)](['tableOrder',_0x3de84a],_0x5a1044['id'])]);}['renameTable'](_0x2ae269,_0x389c46,_0x44ff58){const _0x180763=_0x274f9f;let _0x50fa70=_0x2ae269[_0x180763(0x529)][_0x389c46]['name'],_0x369446=Object['values'](_0x2ae269[_0x180763(0x529)])[_0x180763(0x25e)](_0x28a749=>Object[_0x180763(0x33c)](_0x28a749[_0x180763(0x39f)])[_0x180763(0x25e)](_0x5ef12f=>{const _0x4f8c14=_0x180763;var _0x3cfd86;if(_0x5ef12f[_0x4f8c14(0x2b9)]!==_0x11438e[_0x4f8c14(0x525)])return[];let _0x11edcf=String(((_0x3cfd86=_0x5ef12f[_0x4f8c14(0x427)])==null?void 0x0:_0x3cfd86['formula'])??''),_0x41d983=Hn(_0x11edcf,_0x50fa70,_0x44ff58);return _0x41d983===_0x11edcf?[]:[this[_0x4f8c14(0x279)](_0x2ae269,_0x28a749['id'],_0x5ef12f['id'],{'config':{..._0x5ef12f['config'],'formula':_0x41d983}})];}));return R([_0x356391['replaceOp']([...U[_0x180763(0x258)](_0x389c46),'name'],_0x50fa70,_0x44ff58),..._0x369446]);}[_0x274f9f(0x2ee)](_0x591298,_0x116ac9){const _0x3d7e7d=_0x274f9f;let _0x1c9711=_0x591298['tables'][_0x116ac9],_0x56db7e=_0x591298[_0x3d7e7d(0x4ab)][_0x3d7e7d(0x502)](_0x116ac9);return R([_0x356391[_0x3d7e7d(0x26e)](U['table'](_0x116ac9),_0x1c9711),_0x356391['removeOp']([_0x3d7e7d(0x4ab),_0x56db7e],_0x116ac9)]);}[_0x274f9f(0x27a)](_0xa68e57,_0x5ccb19,_0x1159be){const _0x5937d0=_0x274f9f;return this[_0x5937d0(0x1e7)](_0xa68e57,_0x5ccb19,[_0x1159be]);}['createRecords'](_0x4585fe,_0x44b1d9,_0x6f0cdf){const _0x195940=_0x274f9f;let _0x301fbb=_0x4585fe[_0x195940(0x529)][_0x44b1d9],_0x2eb249=_0x6f0cdf[_0x195940(0x458)](_0x239827=>_0x239827&&!_0x301fbb['records'][_0x239827['id']])['map'](_0x1696a2=>({..._0x1696a2,'values':{..._0x1696a2[_0x195940(0x33c)],[_0x525439]:_0x1696a2['id']}}));if(!_0x2eb249[_0x195940(0x353)])return _0x356391[_0x195940(0x2e2)]([...U[_0x195940(0x258)](_0x44b1d9),_0x195940(0x3c4)],_0x301fbb[_0x195940(0x3c4)],_0x301fbb[_0x195940(0x3c4)]);let _0x2f915a=new _0x356391[(_0x195940(0x211))](),_0x2928e6=[..._0x2eb249]['sort']((_0x24d8cb,_0x2d712a)=>_0x24d8cb['id']<_0x2d712a['id']?-0x1:+(_0x24d8cb['id']>_0x2d712a['id'])),_0x53f11f=[...U[_0x195940(0x258)](_0x44b1d9),_0x195940(0x3c4)];_0x2f915a[_0x195940(0x1e8)](_0x53f11f);for(let _0x13ac3e of _0x2928e6)_0x2f915a['descend'](_0x13ac3e['id']),_0x2f915a['write']('i',_0x13ac3e),_0x2f915a[_0x195940(0x342)]();for(let _0x27acc5=0x0;_0x27acc5<_0x53f11f[_0x195940(0x353)];_0x27acc5+=0x1)_0x2f915a[_0x195940(0x342)]();return R([_0x2f915a[_0x195940(0x23e)](),this['_createRecordOrderOp'](_0x4585fe,_0x44b1d9,_0x2eb249)]);}[_0x274f9f(0x497)](_0x8b747f,_0x2eb3df,_0x454149){const _0x200c22=_0x274f9f;return this[_0x200c22(0x387)](_0x8b747f,_0x2eb3df,[_0x454149]);}[_0x274f9f(0x387)](_0x183673,_0x35848e,_0x2427fc){const _0x4fec39=_0x274f9f;let _0x2c7f5d=_0x183673[_0x4fec39(0x529)][_0x35848e],_0x1c905b=Array['from'](new Set(_0x2427fc))[_0x4fec39(0x458)](_0x51d5d3=>_0x2c7f5d['records'][_0x51d5d3]);if(!_0x1c905b[_0x4fec39(0x353)])return _0x356391[_0x4fec39(0x2e2)]([...U[_0x4fec39(0x258)](_0x35848e),_0x4fec39(0x3c4)],_0x2c7f5d[_0x4fec39(0x3c4)],_0x2c7f5d[_0x4fec39(0x3c4)]);let _0xf4383d=new Set(_0x1c905b),_0x550ad3=ze(_0x2c7f5d,_0x1c905b)[_0x4fec39(0x22e)](_0x65d81e=>this[_0x4fec39(0x329)](_0x183673,_0x35848e,_0x65d81e['recordId'],_0x65d81e[_0x4fec39(0x419)],'')),_0x5cc2f3=_0x1c905b[_0x4fec39(0x22e)](_0x1c9973=>{const _0x561d5e=_0x4fec39;var _0x5a3acc;return{'recordId':_0x1c9973,'index':((_0x5a3acc=_0x2c7f5d[_0x561d5e(0x4fd)])==null?void 0x0:_0x5a3acc[_0x561d5e(0x502)](_0x1c9973))??-0x1};})['filter'](_0x456a76=>_0x456a76[_0x4fec39(0x519)]>=0x0)['sort']((_0x461c6e,_0x4a13e6)=>_0x4a13e6[_0x4fec39(0x519)]-_0x461c6e[_0x4fec39(0x519)]);return R([..._0x1c905b[_0x4fec39(0x22e)](_0xc111f5=>_0x356391[_0x4fec39(0x26e)](U[_0x4fec39(0x46a)](_0x35848e,_0xc111f5),_0x2c7f5d[_0x4fec39(0x3c4)][_0xc111f5])),..._0x5cc2f3[_0x4fec39(0x22e)](({recordId:_0x5ceb26,index:_0x33281f})=>_0x356391['removeOp']([_0x4fec39(0x529),_0x35848e,_0x4fec39(0x4fd),_0x33281f],_0x5ceb26)),..._0x550ad3,...this['_deleteAttachmentResources'](_0x2c7f5d,_0x35848e,_0x386dff=>{const _0x597318=_0x4fec39;let _0x16d690=_0x386dff[_0x597318(0x51c)](_0x386dff[_0x597318(0x3f3)]('\x1f')+0x1);return _0xf4383d[_0x597318(0x51e)](_0x16d690);})]);}['duplicateRecord'](_0x27af6f,_0x366c62,_0x1cf531,_0x269ea4){const _0x1ad5f1=_0x274f9f;return this[_0x1ad5f1(0x27a)](_0x27af6f,_0x366c62,{..._0x269ea4,'values':{..._0x27af6f[_0x1ad5f1(0x529)][_0x366c62][_0x1ad5f1(0x3c4)][_0x1cf531]['values'],..._0x269ea4[_0x1ad5f1(0x33c)],[_0x525439]:_0x269ea4['id']}});}['updateRecordOrder'](_0x2d896a,_0xdbc8fe,_0x1320ff,_0x47ffd1){const _0x524a24=_0x274f9f;let _0x18f44b=_0x2d896a[_0x524a24(0x529)][_0xdbc8fe],_0x5b8988=[...U[_0x524a24(0x46a)](_0xdbc8fe,_0x1320ff),_0x524a24(0x280)],_0x21a6ff=Object['values'](_0x18f44b[_0x524a24(0x3c4)])[_0x524a24(0x22e)](_0x299ef6=>_0x299ef6['id']===_0x1320ff?{..._0x299ef6,'orderKey':_0x47ffd1}:_0x299ef6)[_0x524a24(0x456)]((_0x112672,_0x3555ea)=>String(_0x112672[_0x524a24(0x280)]??_0x112672['id'])[_0x524a24(0x1fe)](String(_0x3555ea[_0x524a24(0x280)]??_0x3555ea['id'])))['map'](_0x515889=>_0x515889['id']),_0x347db0=[...U['table'](_0xdbc8fe),_0x524a24(0x4fd)];return R([this[_0x524a24(0x408)](_0x5b8988,_0x18f44b[_0x524a24(0x3c4)][_0x1320ff][_0x524a24(0x280)],_0x47ffd1),_0x18f44b[_0x524a24(0x4fd)]?_0x356391[_0x524a24(0x2e2)](_0x347db0,_0x18f44b[_0x524a24(0x4fd)],_0x21a6ff):_0x356391['insertOp'](_0x347db0,_0x21a6ff)]);}['updateCell'](_0x5c4701,_0x2c7e49,_0x35e6d6,_0x14f11e,_0x35ec2b){const _0x1c25be=_0x274f9f;var _0x43d8d9,_0x1ff132;let _0x14e2e7=_0x5c4701[_0x1c25be(0x529)][_0x2c7e49],_0x4e285d=In(_0x14e2e7,_0x35e6d6,_0x14f11e)?_0x14e2e7:L(_0x14e2e7),_0x331fbe=(_0x43d8d9=_0x4e285d['rowIndex'])==null?void 0x0:_0x43d8d9[_0x35e6d6],_0x5f0520=(_0x1ff132=_0x4e285d['colIndex'])==null?void 0x0:_0x1ff132[_0x14f11e];if(_0x331fbe==null||_0x5f0520==null){var _0x3baa05;return this[_0x1c25be(0x408)](U[_0x1c25be(0x3aa)](_0x2c7e49,_0x35e6d6,_0x14f11e),(_0x3baa05=_0x5c4701[_0x1c25be(0x529)][_0x2c7e49])==null||(_0x3baa05=_0x3baa05[_0x1c25be(0x3c4)][_0x35e6d6])==null?void 0x0:_0x3baa05['values'][_0x14f11e],_0x35ec2b);}return this[_0x1c25be(0x467)](_0x5c4701,_0x2c7e49,[{'row':_0x331fbe,'col':_0x5f0520,'value':_0x35ec2b}]);}[_0x274f9f(0x27f)](_0x48a874,_0x36b4c8,_0x5deec3){const _0x38e4ac=_0x274f9f;let _0x8f3362=_0x48a874[_0x38e4ac(0x529)][_0x36b4c8],_0x163d56=_0x5deec3[_0x38e4ac(0x4ea)](_0x3c9c4b=>Object[_0x38e4ac(0x311)](_0x3c9c4b[_0x38e4ac(0x33c)])['every'](_0x567041=>In(_0x8f3362,_0x3c9c4b['recordId'],_0x567041)))?_0x8f3362:L(_0x8f3362),_0x52956f=_0x5deec3['flatMap'](_0x122db9=>Object[_0x38e4ac(0x2d4)](_0x122db9[_0x38e4ac(0x33c)])[_0x38e4ac(0x25e)](([_0x92d1aa,_0x3b4a84])=>{const _0x5cc20c=_0x38e4ac;var _0x36a371,_0x91ea5f;let _0x2f74b8=(_0x36a371=_0x163d56[_0x5cc20c(0x269)])==null?void 0x0:_0x36a371[_0x122db9['recordId']],_0x326c3f=(_0x91ea5f=_0x163d56[_0x5cc20c(0x4b9)])==null?void 0x0:_0x91ea5f[_0x92d1aa];return _0x2f74b8==null||_0x326c3f==null?[]:[{'row':_0x2f74b8,'col':_0x326c3f,'value':_0x3b4a84}];})),_0x2967fd=_0x5deec3['flatMap'](_0x5ed8cc=>Object['entries'](_0x5ed8cc[_0x38e4ac(0x217)]??{})[_0x38e4ac(0x22e)](([_0x2e7722,_0x14f13f])=>{const _0x33f995=_0x38e4ac;var _0x9091f;let _0x2b90bf=[...U['record'](_0x36b4c8,_0x5ed8cc['recordId']),_0x2e7722],_0x19eafd=(_0x9091f=_0x48a874[_0x33f995(0x529)][_0x36b4c8])==null||(_0x9091f=_0x9091f['records'][_0x5ed8cc['recordId']])==null?void 0x0:_0x9091f[_0x2e7722];return this['_replaceOptional'](_0x2b90bf,_0x19eafd,_0x14f13f);}));return R([this[_0x38e4ac(0x467)](_0x48a874,_0x36b4c8,_0x52956f),..._0x2967fd]);}['setRangeValues'](_0x128c5f,_0x5e145b,_0x5b0986){const _0x10db0f=_0x274f9f;let _0x38c7dd=_0x128c5f[_0x10db0f(0x529)][_0x5e145b],_0x5104ac=_0x5b0986[_0x10db0f(0x4ea)](_0x4e43e8=>Ln(_0x38c7dd,_0x4e43e8[_0x10db0f(0x264)],_0x4e43e8[_0x10db0f(0x355)]))?_0x38c7dd:L(_0x38c7dd),_0x243f94=_0x5b0986[_0x10db0f(0x25e)](_0x50663f=>{const _0x172c5d=_0x10db0f;var _0x92c819,_0x24880e,_0x1da700,_0x59e917;let _0x2ec9cb=(_0x92c819=_0x5104ac[_0x172c5d(0x4bd)])==null?void 0x0:_0x92c819[_0x50663f[_0x172c5d(0x355)]],_0x417627=(_0x24880e=_0x5104ac['rowId'])==null?void 0x0:_0x24880e[_0x50663f[_0x172c5d(0x264)]],_0x352224=_0x2ec9cb?_0x5104ac[_0x172c5d(0x39f)][_0x2ec9cb]:void 0x0;if(_0x2ec9cb===_0x525439||(_0x352224==null?void 0x0:_0x352224[_0x172c5d(0x2b9)])===_0x11438e['RecordId'])throw Error(_0x172c5d(0x4be));let _0x509f26=at(_0x50663f[_0x172c5d(0x42f)],_0x352224),_0x4e9d25=(_0x1da700=_0x5104ac[_0x172c5d(0x434)])==null||(_0x1da700=_0x1da700[_0x50663f['row']])==null?void 0x0:_0x1da700[_0x50663f[_0x172c5d(0x355)]],_0x22938e=this[_0x172c5d(0x408)](U[_0x172c5d(0x434)](_0x5e145b,_0x50663f['row'],_0x50663f[_0x172c5d(0x355)]),_0x4e9d25,_0x509f26);if(!_0x2ec9cb||!_0x417627)return[_0x22938e];let _0x26e5c7=(_0x59e917=_0x5104ac['records'][_0x417627])==null?void 0x0:_0x59e917['values'][_0x2ec9cb],_0x6ffdaa=(_0x352224==null?void 0x0:_0x352224[_0x172c5d(0x2b9)])===_0x11438e[_0x172c5d(0x31e)]?pt(_0x50663f[_0x172c5d(0x42f)]):ct(_0x50663f['value'],_0x509f26,_0x352224,_0x5104ac,_0x417627),_0xd69764=[_0x22938e,this['_replaceOptional'](U[_0x172c5d(0x3aa)](_0x5e145b,_0x417627,_0x2ec9cb),_0x26e5c7,_0x6ffdaa)];if((_0x352224==null?void 0x0:_0x352224[_0x172c5d(0x2b9)])!==_0x11438e[_0x172c5d(0x31e)])return _0xd69764;let _0x149010=this[_0x172c5d(0x351)](_0x5104ac,_0x5e145b,_0x417627,_0x2ec9cb,_0x6ffdaa);return[..._0xd69764,..._0x149010];});return _0x243f94[_0x10db0f(0x353)]?R(_0x243f94):_0x356391[_0x10db0f(0x2e2)]([_0x10db0f(0x529),_0x5e145b,'cellData'],_0x5104ac[_0x10db0f(0x434)],_0x5104ac[_0x10db0f(0x434)]);}[_0x274f9f(0x3f5)](_0x5775d8,_0x1bce0f,_0x2f7f61){const _0x433f9d=_0x274f9f;let _0x3d6526=_0x5775d8[_0x433f9d(0x529)][_0x1bce0f];if(_0x3d6526['fields'][_0x2f7f61[_0x433f9d(0x4e6)]['id']]||_0x3d6526[_0x433f9d(0x47a)]['includes'](_0x2f7f61[_0x433f9d(0x4e6)]['id']))return _0x356391[_0x433f9d(0x2e2)](['tables',_0x1bce0f,_0x433f9d(0x47a)],_0x3d6526[_0x433f9d(0x47a)],_0x3d6526[_0x433f9d(0x47a)]);let _0xad4a64=Math['max'](0x1,_0x2f7f61[_0x433f9d(0x519)]??_0x3d6526[_0x433f9d(0x47a)][_0x433f9d(0x353)]),_0x2e97b2=Object[_0x433f9d(0x33c)](_0x3d6526[_0x433f9d(0x22d)]??{})[_0x433f9d(0x25e)](_0x17ede1=>{const _0x4673a6=_0x433f9d;var _0x4c0b29;if(!_0x17ede1['fieldOrder']||_0x17ede1[_0x4673a6(0x47a)][_0x4673a6(0x1d2)](_0x2f7f61[_0x4673a6(0x4e6)]['id']))return[];let _0x8b766c=Vn(((_0x4c0b29=_0x2f7f61[_0x4673a6(0x367)])==null?void 0x0:_0x4c0b29[_0x17ede1['id']])??_0xad4a64,_0x17ede1[_0x4673a6(0x47a)]['length']);return[_0x356391[_0x4673a6(0x1ff)]([...U[_0x4673a6(0x33a)](_0x1bce0f,_0x17ede1['id']),'fieldOrder',_0x8b766c],_0x2f7f61['field']['id'])];});return R([_0x356391[_0x433f9d(0x1ff)](U[_0x433f9d(0x4e6)](_0x1bce0f,_0x2f7f61['field']['id']),_0x2f7f61['field']),_0x356391[_0x433f9d(0x1ff)](U[_0x433f9d(0x47a)](_0x1bce0f,_0xad4a64),_0x2f7f61[_0x433f9d(0x4e6)]['id']),..._0x2e97b2]);}['duplicateField'](_0x44b218,_0x4dbf3f,_0x37fc2a,_0x4b7229){const _0x2a482a=_0x274f9f;let _0xdcb007=_0x44b218['tables'][_0x4dbf3f];if(!_0xdcb007[_0x2a482a(0x39f)][_0x37fc2a]||_0xdcb007[_0x2a482a(0x39f)][_0x4b7229['field']['id']]||_0xdcb007[_0x2a482a(0x47a)][_0x2a482a(0x1d2)](_0x4b7229['field']['id']))return _0x356391[_0x2a482a(0x2e2)](['tables',_0x4dbf3f,_0x2a482a(0x47a)],_0xdcb007[_0x2a482a(0x47a)],_0xdcb007[_0x2a482a(0x47a)]);let _0x52a446=_0x4b7229[_0x2a482a(0x519)]??_0xdcb007[_0x2a482a(0x47a)][_0x2a482a(0x502)](_0x37fc2a)+0x1,_0x336a7c=_0xdcb007[_0x2a482a(0x47a)]['filter'](_0x4233e3=>_0x4233e3!==_0x4b7229[_0x2a482a(0x4e6)]['id']),_0x445cb3=zn(_0x336a7c,_0x4b7229[_0x2a482a(0x4e6)]['id'],_0x52a446),_0x525b45=Object[_0x2a482a(0x33c)](_0xdcb007['views']??{})[_0x2a482a(0x25e)](_0x4d06a0=>{const _0x1d3f96=_0x2a482a;var _0x352155,_0x2ae9cb,_0x396916,_0x21fe20;let _0x5afc6b=(_0x352155=_0x4d06a0[_0x1d3f96(0x47a)])!=null&&_0x352155[_0x1d3f96(0x353)]?_0x4d06a0[_0x1d3f96(0x47a)]:_0x336a7c;if(_0x5afc6b[_0x1d3f96(0x1d2)](_0x4b7229[_0x1d3f96(0x4e6)]['id']))return[];let _0x57bcd3=zn(_0x5afc6b,_0x4b7229[_0x1d3f96(0x4e6)]['id'],((_0x2ae9cb=_0x4b7229[_0x1d3f96(0x367)])==null?void 0x0:_0x2ae9cb[_0x4d06a0['id']])??_0x52a446),_0x24811d=(_0x396916=_0x4d06a0[_0x1d3f96(0x243)])==null?void 0x0:_0x396916[_0x37fc2a];return[this['_replaceOptional']([...U[_0x1d3f96(0x33a)](_0x4dbf3f,_0x4d06a0['id']),_0x1d3f96(0x47a)],_0x4d06a0[_0x1d3f96(0x47a)],_0x57bcd3),..._0x24811d?[this[_0x1d3f96(0x408)]([...U[_0x1d3f96(0x33a)](_0x4dbf3f,_0x4d06a0['id']),_0x1d3f96(0x243),_0x4b7229[_0x1d3f96(0x4e6)]['id']],(_0x21fe20=_0x4d06a0[_0x1d3f96(0x243)])==null?void 0x0:_0x21fe20[_0x4b7229[_0x1d3f96(0x4e6)]['id']],_0x24811d)]:[]];}),_0x11cc14=Object[_0x2a482a(0x33c)](_0xdcb007[_0x2a482a(0x3c4)])[_0x2a482a(0x458)](_0x22995a=>Object['prototype'][_0x2a482a(0x465)][_0x2a482a(0x385)](_0x22995a[_0x2a482a(0x33c)],_0x37fc2a))[_0x2a482a(0x22e)](_0x2d2dcf=>this[_0x2a482a(0x408)](U[_0x2a482a(0x3aa)](_0x4dbf3f,_0x2d2dcf['id'],_0x4b7229[_0x2a482a(0x4e6)]['id']),_0x2d2dcf['values'][_0x4b7229[_0x2a482a(0x4e6)]['id']],_0x2d2dcf[_0x2a482a(0x33c)][_0x37fc2a]));return R([_0x356391[_0x2a482a(0x1ff)](U[_0x2a482a(0x4e6)](_0x4dbf3f,_0x4b7229[_0x2a482a(0x4e6)]['id']),_0x4b7229['field']),_0x356391[_0x2a482a(0x2e2)]([_0x2a482a(0x529),_0x4dbf3f,_0x2a482a(0x47a)],_0xdcb007['fieldOrder'],_0x445cb3),..._0x525b45,..._0x11cc14]);}['updateField'](_0x3ba1cd,_0x5738ce,_0x35df98,_0x3ebaba){const _0x2af4b9=_0x274f9f;let _0x594165=_0x3ba1cd[_0x2af4b9(0x529)][_0x5738ce][_0x2af4b9(0x39f)][_0x35df98],_0x5d0932={..._0x594165,..._0x3ebaba};Object['keys'](_0x3ebaba)[_0x2af4b9(0x366)](_0x245311=>{_0x3ebaba[_0x245311]===void 0x0&&delete _0x5d0932[_0x245311];});let _0x45c05f=_0x356391[_0x2af4b9(0x2e2)](U['field'](_0x5738ce,_0x35df98),_0x594165,_0x5d0932);return _0x5d0932[_0x2af4b9(0x2b9)]===_0x11438e[_0x2af4b9(0x525)]?R([_0x45c05f,...this[_0x2af4b9(0x439)](_0x3ba1cd,_0x5738ce,_0x35df98,_0x5d0932)]):_0x45c05f;}[_0x274f9f(0x3b4)](_0x2ea7bd,_0x12f4fd,_0x46ce78,_0x18c24f){return this['updateField'](_0x2ea7bd,_0x12f4fd,_0x46ce78,_0x18c24f);}[_0x274f9f(0x25b)](_0x256cd4,_0x2e341a,_0x1f17ca){const _0x188715=_0x274f9f;let _0x359ca2=_0x256cd4['tables'][_0x2e341a];if(!(_0x359ca2!=null&&_0x359ca2[_0x188715(0x39f)][_0x1f17ca])||_0x359ca2['primaryFieldId']===_0x1f17ca||_0x1f17ca===_0x525439)return _0x356391[_0x188715(0x2e2)]([_0x188715(0x529),_0x2e341a,_0x188715(0x47a)],_0x359ca2==null?void 0x0:_0x359ca2[_0x188715(0x47a)],_0x359ca2==null?void 0x0:_0x359ca2['fieldOrder']);let _0x45305b=_0x359ca2['fieldOrder'][_0x188715(0x502)](_0x1f17ca),_0x250359=Object['values'](_0x359ca2[_0x188715(0x22d)])[_0x188715(0x25e)](_0x4b3026=>{const _0x1fefbe=_0x188715;var _0x3a1813,_0x539d4b,_0x32f686,_0x8f3d73,_0x49caa1,_0xb65beb,_0x27cbb9;let _0x5978ad=[],_0x5d41b8=((_0x3a1813=_0x4b3026['fieldOrder'])==null?void 0x0:_0x3a1813[_0x1fefbe(0x502)](_0x1f17ca))??-0x1;_0x5d41b8>=0x0&&_0x5978ad['push'](_0x356391['removeOp']([...U['view'](_0x2e341a,_0x4b3026['id']),_0x1fefbe(0x47a),_0x5d41b8],_0x1f17ca));let _0x5c391b=(_0x539d4b=_0x4b3026[_0x1fefbe(0x243)])==null?void 0x0:_0x539d4b[_0x1f17ca];_0x5c391b!==void 0x0&&_0x5978ad['push'](_0x356391[_0x1fefbe(0x26e)]([...U[_0x1fefbe(0x33a)](_0x2e341a,_0x4b3026['id']),_0x1fefbe(0x243),_0x1f17ca],_0x5c391b));let _0x8c9629=_0x4b3026['filter']?{..._0x4b3026[_0x1fefbe(0x458)],'conditions':_0x4b3026['filter'][_0x1fefbe(0x400)][_0x1fefbe(0x458)](_0x1bf95a=>_0x1bf95a[_0x1fefbe(0x419)]!==_0x1f17ca)}:_0x4b3026[_0x1fefbe(0x458)];_0x8c9629&&_0x8c9629['conditions'][_0x1fefbe(0x353)]!==((_0x32f686=_0x4b3026[_0x1fefbe(0x458)])==null?void 0x0:_0x32f686['conditions'][_0x1fefbe(0x353)])&&_0x5978ad[_0x1fefbe(0x254)](this[_0x1fefbe(0x408)]([...U['view'](_0x2e341a,_0x4b3026['id']),_0x1fefbe(0x458)],_0x4b3026[_0x1fefbe(0x458)],_0x8c9629));let _0xe8b60c=(_0x8f3d73=_0x4b3026['sort'])==null?void 0x0:_0x8f3d73[_0x1fefbe(0x458)](_0x3e62a2=>_0x3e62a2[_0x1fefbe(0x419)]!==_0x1f17ca);_0xe8b60c&&_0xe8b60c[_0x1fefbe(0x353)]!==((_0x49caa1=_0x4b3026[_0x1fefbe(0x456)])==null?void 0x0:_0x49caa1[_0x1fefbe(0x353)])&&_0x5978ad[_0x1fefbe(0x254)](this['_replaceOptional']([...U['view'](_0x2e341a,_0x4b3026['id']),'sort'],_0x4b3026['sort'],_0xe8b60c));let _0x5008d3=(_0xb65beb=_0x4b3026[_0x1fefbe(0x394)])==null?void 0x0:_0xb65beb[_0x1fefbe(0x458)](_0x19060f=>_0x19060f['fieldId']!==_0x1f17ca);_0x5008d3&&_0x5008d3['length']!==((_0x27cbb9=_0x4b3026['group'])==null?void 0x0:_0x27cbb9[_0x1fefbe(0x353)])&&_0x5978ad[_0x1fefbe(0x254)](this[_0x1fefbe(0x408)]([...U[_0x1fefbe(0x33a)](_0x2e341a,_0x4b3026['id']),_0x1fefbe(0x394)],_0x4b3026[_0x1fefbe(0x394)],_0x5008d3));let _0x56407e=Bn(_0x4b3026['config'],_0x1f17ca);return JSON[_0x1fefbe(0x2b6)](_0x56407e)!==JSON[_0x1fefbe(0x2b6)](_0x4b3026[_0x1fefbe(0x427)])&&_0x5978ad['push'](_0x356391[_0x1fefbe(0x2e2)]([...U[_0x1fefbe(0x33a)](_0x2e341a,_0x4b3026['id']),_0x1fefbe(0x427)],_0x4b3026['config'],_0x56407e)),_0x5978ad;}),_0x1ed68a=Object['values'](_0x359ca2[_0x188715(0x3c4)])[_0x188715(0x25e)](_0x36e918=>Object[_0x188715(0x20f)]['hasOwnProperty'][_0x188715(0x385)](_0x36e918['values'],_0x1f17ca)?[_0x356391[_0x188715(0x26e)](U['cell'](_0x2e341a,_0x36e918['id'],_0x1f17ca),_0x36e918['values'][_0x1f17ca])]:[]);return R([_0x356391[_0x188715(0x26e)](U[_0x188715(0x4e6)](_0x2e341a,_0x1f17ca),_0x359ca2['fields'][_0x1f17ca]),_0x356391[_0x188715(0x26e)](U[_0x188715(0x47a)](_0x2e341a,_0x45305b),_0x1f17ca),..._0x250359,..._0x1ed68a,...this[_0x188715(0x39b)](_0x359ca2,_0x2e341a,_0x101da7=>_0x101da7[_0x188715(0x1f7)](_0x1f17ca+'\x1f'))]);}[_0x274f9f(0x332)](_0x4ffbe1,_0x558cd1,_0x3fcbe3,_0x1311aa){const _0x3b6aed=_0x274f9f;let _0x22971b=_0x4ffbe1['tables'][_0x558cd1][_0x3b6aed(0x47a)];if(_0x3fcbe3===_0x525439||_0x1311aa[_0x3b6aed(0x341)]===_0x525439)throw Error(_0x3b6aed(0x32c));let _0x3b3c19=Rn(_0x22971b,_0x3fcbe3,_0x1311aa);return _0x356391[_0x3b6aed(0x2e2)]([_0x3b6aed(0x529),_0x558cd1,'fieldOrder'],_0x22971b,_0x3b3c19);}[_0x274f9f(0x4aa)](_0x13faec,_0x4614ad,_0x295bd4,_0x339187=_0x13faec[_0x274f9f(0x529)][_0x4614ad]['viewOrder'][_0x274f9f(0x353)]){const _0x45abb5=_0x274f9f;return R([_0x356391[_0x45abb5(0x1ff)](U[_0x45abb5(0x33a)](_0x4614ad,_0x295bd4['id']),_0x295bd4),_0x356391[_0x45abb5(0x1ff)]([_0x45abb5(0x529),_0x4614ad,_0x45abb5(0x3bc),_0x339187],_0x295bd4['id'])]);}[_0x274f9f(0x3ed)](_0x43f0f9,_0x5722cc,_0x43e4b3,_0x5ce9bc){const _0x3ba245=_0x274f9f;return _0x356391[_0x3ba245(0x2e2)]([...U[_0x3ba245(0x33a)](_0x5722cc,_0x43e4b3),_0x3ba245(0x248)],_0x43f0f9[_0x3ba245(0x529)][_0x5722cc]['views'][_0x43e4b3][_0x3ba245(0x248)],_0x5ce9bc);}[_0x274f9f(0x35e)](_0x3c0f8f,_0x31caa2,_0x229694){const _0x538442=_0x274f9f;let _0x34a129=_0x3c0f8f['tables'][_0x31caa2],_0x12d5cb=_0x34a129[_0x538442(0x22d)][_0x229694],_0x24ddcf=_0x34a129[_0x538442(0x3bc)][_0x538442(0x502)](_0x229694);return R([_0x356391[_0x538442(0x26e)](U[_0x538442(0x33a)](_0x31caa2,_0x229694),_0x12d5cb),_0x356391[_0x538442(0x26e)]([_0x538442(0x529),_0x31caa2,'viewOrder',_0x24ddcf],_0x229694)]);}[_0x274f9f(0x26a)](_0x13afbe,_0xeb93b3,_0x334985,_0x32326c){const _0x421c94=_0x274f9f;let _0x340026=_0x13afbe[_0x421c94(0x529)][_0xeb93b3][_0x421c94(0x3bc)],_0x52ef89=Rn(_0x340026,_0x334985,{'beforeFieldId':_0x32326c[_0x421c94(0x2bc)],'afterFieldId':_0x32326c['afterViewId']});return _0x356391['replaceOp']([_0x421c94(0x529),_0xeb93b3,_0x421c94(0x3bc)],_0x340026,_0x52ef89);}[_0x274f9f(0x44f)](_0x46e1cd,_0x3c60ac,_0x13671f,_0x23e780){const _0x2d47d6=_0x274f9f;let _0x295442=_0x46e1cd[_0x2d47d6(0x529)][_0x3c60ac][_0x2d47d6(0x22d)][_0x13671f][_0x2d47d6(0x427)]??{},_0x4f05a0={..._0x295442,..._0x23e780};return Object[_0x2d47d6(0x311)](_0x23e780)[_0x2d47d6(0x366)](_0x58bdef=>{_0x23e780[_0x58bdef]===void 0x0&&delete _0x4f05a0[_0x58bdef];}),_0x356391[_0x2d47d6(0x2e2)]([...U['view'](_0x3c60ac,_0x13671f),_0x2d47d6(0x427)],_0x295442,_0x4f05a0);}[_0x274f9f(0x297)](_0x250ef4,_0x39e81c,_0x423e14,_0x30320a){const _0x3181d4=_0x274f9f;return this[_0x3181d4(0x408)]([...U['view'](_0x39e81c,_0x423e14),'filter'],_0x250ef4[_0x3181d4(0x529)][_0x39e81c]['views'][_0x423e14][_0x3181d4(0x458)],_0x30320a);}['setViewSort'](_0x513b36,_0x406b68,_0x4c3de8,_0x1bb771){const _0x2519ee=_0x274f9f;return this[_0x2519ee(0x408)]([...U[_0x2519ee(0x33a)](_0x406b68,_0x4c3de8),_0x2519ee(0x456)],_0x513b36[_0x2519ee(0x529)][_0x406b68][_0x2519ee(0x22d)][_0x4c3de8][_0x2519ee(0x456)],_0x1bb771);}[_0x274f9f(0x31a)](_0x28cebd,_0x4b2150,_0x15d000,_0xa61fcb){const _0x30eb09=_0x274f9f;return this[_0x30eb09(0x408)]([...U[_0x30eb09(0x33a)](_0x4b2150,_0x15d000),_0x30eb09(0x394)],_0x28cebd['tables'][_0x4b2150][_0x30eb09(0x22d)][_0x15d000][_0x30eb09(0x394)],_0xa61fcb);}[_0x274f9f(0x447)](_0x237db9,_0x34d6e0,_0x8e900e,_0x59e0b6,_0x7b6829){const _0x22661d=_0x274f9f;return this[_0x22661d(0x41d)](_0x237db9,_0x34d6e0,_0x8e900e,_0x59e0b6,{'hidden':!_0x7b6829});}[_0x274f9f(0x3a0)](_0x298151,_0xf02397,_0x5e5ba8,_0x213d67,_0x484224){const _0x271241=_0x274f9f;return this[_0x271241(0x41d)](_0x298151,_0xf02397,_0x5e5ba8,_0x213d67,{'width':_0x484224});}['setViewFieldOrder'](_0xb7100,_0xffbf56,_0x31ff3b,_0x11974f,_0xa11344){const _0xae67c7=_0x274f9f;let _0x47ef2c=_0xb7100['tables'][_0xffbf56]['views'][_0x31ff3b],_0x5c83e7=Rn(_0x47ef2c['fieldOrder']??_0xb7100[_0xae67c7(0x529)][_0xffbf56]['fieldOrder'],_0x11974f,_0xa11344);return this[_0xae67c7(0x408)]([...U[_0xae67c7(0x33a)](_0xffbf56,_0x31ff3b),_0xae67c7(0x47a)],_0x47ef2c[_0xae67c7(0x47a)],_0x5c83e7);}[_0x274f9f(0x41d)](_0x468b64,_0x21bd38,_0x4166fa,_0x5bb94f,_0x2727cd){const _0x329556=_0x274f9f;let _0x4b05a5=_0x468b64[_0x329556(0x529)][_0x21bd38][_0x329556(0x22d)][_0x4166fa][_0x329556(0x243)]??{},_0x28f976={..._0x4b05a5,[_0x5bb94f]:{..._0x4b05a5[_0x5bb94f],..._0x2727cd}};return this[_0x329556(0x408)]([...U[_0x329556(0x33a)](_0x21bd38,_0x4166fa),'fieldSettings'],_0x468b64[_0x329556(0x529)][_0x21bd38][_0x329556(0x22d)][_0x4166fa][_0x329556(0x243)],_0x28f976);}[_0x274f9f(0x457)](_0x225853,_0x1f3a28,_0x2e83d3){const _0x5eb2bf=_0x274f9f;let _0xa0439b=_0x225853[_0x5eb2bf(0x529)][_0x1f3a28],_0x185301=new Set(_0x2e83d3[_0x5eb2bf(0x22e)](_0x41af36=>_0x41af36['id'])),_0x2eb19b=[...Object[_0x5eb2bf(0x33c)](_0xa0439b[_0x5eb2bf(0x3c4)])[_0x5eb2bf(0x458)](_0x60e54b=>!_0x185301[_0x5eb2bf(0x51e)](_0x60e54b['id'])),..._0x2e83d3]['sort']((_0x2a9f05,_0x54a227)=>String(_0x2a9f05['orderKey']??_0x2a9f05['id'])['localeCompare'](String(_0x54a227['orderKey']??_0x54a227['id'])))[_0x5eb2bf(0x22e)](_0x391c17=>_0x391c17['id']),_0x414fdc=[...U[_0x5eb2bf(0x258)](_0x1f3a28),_0x5eb2bf(0x4fd)];return _0xa0439b[_0x5eb2bf(0x4fd)]?_0x356391[_0x5eb2bf(0x2e2)](_0x414fdc,_0xa0439b[_0x5eb2bf(0x4fd)],_0x2eb19b):_0x356391['insertOp'](_0x414fdc,_0x2eb19b);}['_setFormulaFieldCells'](_0x1a5266,_0x4d6f54,_0x47572c,_0x48ca59){const _0x6692a2=_0x274f9f;var _0x37f780,_0x46d46b;let _0x2e4cd3=L(_0x1a5266[_0x6692a2(0x529)][_0x4d6f54]),_0x427b85=String(((_0x37f780=_0x48ca59[_0x6692a2(0x427)])==null?void 0x0:_0x37f780['formula'])??'')['trim'](),_0x369b4d=(_0x46d46b=_0x2e4cd3[_0x6692a2(0x4b9)])==null?void 0x0:_0x46d46b[_0x47572c];if(_0x369b4d==null)return[];let _0x36ef01=_0x2e4cd3[_0x6692a2(0x4fd)]??Object[_0x6692a2(0x311)](_0x2e4cd3[_0x6692a2(0x3c4)]),_0x4dfd06=_0x36ef01[_0x6692a2(0x22e)](_0x9e9b4a=>{var _0x2a1a7d;return(_0x2a1a7d=_0x2e4cd3['rowIndex'])==null?void 0x0:_0x2a1a7d[_0x9e9b4a];})['find'](_0x2fca92=>_0x2fca92!=null);return _0x36ef01['flatMap'](_0x2421e4=>{const _0x176500=_0x6692a2;var _0x4ab069,_0x50191f;let _0x375704=(_0x4ab069=_0x2e4cd3[_0x176500(0x269)])==null?void 0x0:_0x4ab069[_0x2421e4];if(_0x375704==null)return[];let _0x4f5716=(_0x50191f=_0x2e4cd3['cellData'])==null||(_0x50191f=_0x50191f[_0x375704])==null?void 0x0:_0x50191f[_0x369b4d],_0xb7ef4c=_0x427b85?_0x375704===_0x4dfd06?{'f':_0x427b85,'si':_0x47572c}:{'si':_0x47572c}:{'v':null,'t':null};return[this[_0x176500(0x408)](U[_0x176500(0x434)](_0x4d6f54,_0x375704,_0x369b4d),_0x4f5716,_0xb7ef4c)];});}[_0x274f9f(0x351)](_0x428ad5,_0x5e81bb,_0x103b7f,_0x4b8cdb,_0x439aa8){const _0x5d405f=_0x274f9f;var _0x50f7db;let _0x10a3d2=ut(_0x4b8cdb,_0x103b7f),_0x297ed9=_0x439aa8[_0x5d405f(0x22e)]((_0x25ce58,_0x5df0cb)=>String(_0x25ce58['id']??_0x10a3d2+'\x1f'+_0x5df0cb));return[this[_0x5d405f(0x408)](U['attachmentSet'](_0x5e81bb,_0x10a3d2),(_0x50f7db=_0x428ad5[_0x5d405f(0x42d)])==null||(_0x50f7db=_0x50f7db['attachmentSets'])==null?void 0x0:_0x50f7db[_0x10a3d2],_0x297ed9),..._0x439aa8['map']((_0x3a3f28,_0x4ea2d0)=>{const _0x1b9b34=_0x5d405f;var _0x4e9675;let _0x1c309d=_0x297ed9[_0x4ea2d0];return this[_0x1b9b34(0x408)](U['attachment'](_0x5e81bb,_0x1c309d),(_0x4e9675=_0x428ad5[_0x1b9b34(0x42d)])==null||(_0x4e9675=_0x4e9675[_0x1b9b34(0x486)])==null?void 0x0:_0x4e9675[_0x1c309d],{..._0x3a3f28,'id':_0x1c309d});})];}[_0x274f9f(0x39b)](_0xab7930,_0x57d485,_0x57094a){const _0x2583b3=_0x274f9f;var _0x2e6b82;let _0x2aa8fe=((_0x2e6b82=_0xab7930[_0x2583b3(0x42d)])==null?void 0x0:_0x2e6b82[_0x2583b3(0x2f3)])??{},_0x356ca4=Object['entries'](_0x2aa8fe)[_0x2583b3(0x458)](([_0x400684])=>_0x57094a(_0x400684));if(!_0x356ca4[_0x2583b3(0x353)])return[];let _0xfd2d5a=new Set(Object[_0x2583b3(0x2d4)](_0x2aa8fe)[_0x2583b3(0x458)](([_0x4c204f])=>!_0x57094a(_0x4c204f))[_0x2583b3(0x25e)](([,_0x1cf786])=>_0x1cf786)),_0x3b908a=new Set(_0x356ca4[_0x2583b3(0x25e)](([,_0x37eea2])=>_0x37eea2));return[..._0x356ca4[_0x2583b3(0x22e)](([_0x421cdf,_0x51681e])=>_0x356391[_0x2583b3(0x26e)](U[_0x2583b3(0x44c)](_0x57d485,_0x421cdf),_0x51681e)),...Array['from'](_0x3b908a)[_0x2583b3(0x25e)](_0x23c232=>{const _0x465667=_0x2583b3;var _0xf9b669;let _0x1fa7cd=(_0xf9b669=_0xab7930[_0x465667(0x42d)])==null||(_0xf9b669=_0xf9b669['attachments'])==null?void 0x0:_0xf9b669[_0x23c232];return _0x1fa7cd!==void 0x0&&!_0xfd2d5a[_0x465667(0x51e)](_0x23c232)?[_0x356391['removeOp'](U[_0x465667(0x326)](_0x57d485,_0x23c232),_0x1fa7cd)]:[];})];}[_0x274f9f(0x408)](_0x4f78e3,_0x2fd950,_0xc06c6){const _0xc78dad=_0x274f9f;return _0x2fd950===void 0x0?_0x356391[_0xc78dad(0x1ff)](_0x4f78e3,_0xc06c6):_0x356391[_0xc78dad(0x2e2)](_0x4f78e3,_0x2fd950,_0xc06c6);}};function In(_0x497f36,_0x54eb05,_0x1ac55c){const _0x6b3710=_0x274f9f;var _0x464a59,_0x17b66f,_0x3c590a,_0x2c3802;let _0x242947=(_0x464a59=_0x497f36['rowIndex'])==null?void 0x0:_0x464a59[_0x54eb05],_0x4b28b0=(_0x17b66f=_0x497f36['colIndex'])==null?void 0x0:_0x17b66f[_0x1ac55c];return _0x242947!=null&&_0x4b28b0!=null&&((_0x3c590a=_0x497f36[_0x6b3710(0x47c)])==null?void 0x0:_0x3c590a[_0x242947])===_0x54eb05&&((_0x2c3802=_0x497f36[_0x6b3710(0x4bd)])==null?void 0x0:_0x2c3802[_0x4b28b0])===_0x1ac55c&&_0x497f36['cellData']!=null;}function Ln(_0x274af4,_0x572aff,_0x480054){const _0x4b00bc=_0x274f9f;var _0x2dbc73,_0x5057a6;return((_0x2dbc73=_0x274af4[_0x4b00bc(0x47c)])==null?void 0x0:_0x2dbc73[_0x572aff])!=null&&((_0x5057a6=_0x274af4[_0x4b00bc(0x4bd)])==null?void 0x0:_0x5057a6[_0x480054])!=null&&_0x274af4[_0x4b00bc(0x434)]!=null;}function Rn(_0x50c434,_0x2f524c,_0x582706){const _0x234327=_0x274f9f;let _0x422090=_0x50c434['filter'](_0x3c462f=>_0x3c462f!==_0x2f524c),_0x454d08=_0x582706['beforeFieldId']?_0x422090['indexOf'](_0x582706[_0x234327(0x341)]):_0x582706[_0x234327(0x37c)]?_0x422090[_0x234327(0x502)](_0x582706[_0x234327(0x37c)])+0x1:_0x422090[_0x234327(0x353)];return _0x422090[_0x234327(0x520)](_0x454d08<0x0?_0x422090[_0x234327(0x353)]:_0x454d08,0x0,_0x2f524c),_0x422090;}function zn(_0x4112a2,_0x4a4ca2,_0x4c7ec2){const _0x285172=_0x274f9f;let _0x1e4774=_0x4112a2[_0x285172(0x458)](_0x403478=>_0x403478!==_0x4a4ca2);return _0x1e4774[_0x285172(0x520)](Vn(_0x4c7ec2,_0x1e4774[_0x285172(0x353)]),0x0,_0x4a4ca2),_0x1e4774;}function Bn(_0x5ccb60,_0x272f6a,_0x4cc818){const _0x5024ae=_0x274f9f;if(Array[_0x5024ae(0x39e)](_0x5ccb60))return _0x4cc818===_0x5024ae(0x3e4)?_0x5ccb60[_0x5024ae(0x458)](_0x2c0234=>_0x2c0234!==_0x272f6a):_0x5ccb60[_0x5024ae(0x25e)](_0x1af813=>{const _0x224149=_0x5024ae;if(_0x1af813&&typeof _0x1af813==_0x224149(0x314)&&!Array[_0x224149(0x39e)](_0x1af813)&&_0x1af813[_0x224149(0x419)]===_0x272f6a)return[];let _0x4efc56=Bn(_0x1af813,_0x272f6a);return _0x4efc56===void 0x0?[]:[_0x4efc56];});if(!_0x5ccb60||typeof _0x5ccb60!='object')return _0x4cc818!=null&&_0x4cc818['endsWith'](_0x5024ae(0x2f9))&&_0x5ccb60===_0x272f6a?void 0x0:_0x5ccb60;let _0x3b6283=_0x5ccb60;if(_0x3b6283['fieldId']!==_0x272f6a)return Object[_0x5024ae(0x372)](Object['entries'](_0x3b6283)['flatMap'](([_0xfbb963,_0x459b27])=>{const _0x39bf21=_0x5024ae;if(_0xfbb963===_0x272f6a&&_0x4cc818===_0x39bf21(0x243))return[];let _0x101f0e=Bn(_0x459b27,_0x272f6a,_0xfbb963);return _0x101f0e===void 0x0?[]:[[_0xfbb963,_0x101f0e]];}));}function Vn(_0x16a388,_0x4b4ba5){const _0x2de1e3=_0x274f9f;return Math[_0x2de1e3(0x3f9)](0x0,Math['min'](_0x16a388,_0x4b4ba5));}function Hn(_0x3248ce,_0x2f4161,_0x10e938){const _0x4af21f=_0x274f9f;if(!_0x3248ce||!_0x2f4161||_0x2f4161===_0x10e938)return _0x3248ce;let _0x44332a='',_0x34c37d=!0x1,_0x1a0b4f=_0x2f4161[_0x4af21f(0x208)]();for(let _0x4224ae=0x0;_0x4224ae<_0x3248ce[_0x4af21f(0x353)];){let _0x46fe47=_0x3248ce[_0x4224ae];if(_0x46fe47==='\x22'){if(_0x34c37d&&_0x3248ce[_0x4224ae+0x1]==='\x22'){_0x44332a+='\x22\x22',_0x4224ae+=0x2;continue;}_0x34c37d=!_0x34c37d,_0x44332a+=_0x46fe47,_0x4224ae++;continue;}if(!_0x34c37d&&_0x3248ce[_0x4af21f(0x51c)](_0x4224ae,_0x4224ae+_0x2f4161[_0x4af21f(0x353)])[_0x4af21f(0x208)]()===_0x1a0b4f&&Un(_0x3248ce,_0x4224ae,_0x2f4161[_0x4af21f(0x353)])){_0x44332a+=_0x10e938,_0x4224ae+=_0x2f4161[_0x4af21f(0x353)];continue;}_0x44332a+=_0x46fe47,_0x4224ae++;}return _0x44332a;}function Un(_0x23c2f2,_0x58354b,_0x2bda98){const _0x4cfc57=_0x274f9f;let _0x30c3c2=_0x23c2f2[_0x58354b-0x1];if(_0x30c3c2&&/[\w.]/[_0x4cfc57(0x2a6)](_0x30c3c2))return!0x1;let _0x509048=_0x58354b+_0x2bda98;for(;/\s/[_0x4cfc57(0x2a6)](_0x23c2f2[_0x509048]??'');)_0x509048++;return _0x23c2f2[_0x509048]==='[';}function Wn(_0x1afc99){'@babel/helpers - typeof';const _0x3b907f=_0x274f9f;return Wn=typeof Symbol==_0x3b907f(0x318)&&typeof Symbol['iterator']==_0x3b907f(0x244)?function(_0x3c6262){return typeof _0x3c6262;}:function(_0x55d35e){const _0x2f6d80=_0x3b907f;return _0x55d35e&&typeof Symbol==_0x2f6d80(0x318)&&_0x55d35e[_0x2f6d80(0x1f1)]===Symbol&&_0x55d35e!==Symbol['prototype']?'symbol':typeof _0x55d35e;},Wn(_0x1afc99);}function Gn(_0x5e70a9,_0x5bf050){const _0x344e93=_0x274f9f;if(Wn(_0x5e70a9)!=_0x344e93(0x314)||!_0x5e70a9)return _0x5e70a9;var _0x27eadc=_0x5e70a9[Symbol[_0x344e93(0x4ee)]];if(_0x27eadc!==void 0x0){var _0x365204=_0x27eadc['call'](_0x5e70a9,_0x5bf050||'default');if(Wn(_0x365204)!=_0x344e93(0x314))return _0x365204;throw TypeError(_0x344e93(0x3eb));}return(_0x5bf050===_0x344e93(0x3c6)?String:Number)(_0x5e70a9);}function Kn(_0x421b65){const _0x126838=_0x274f9f;var _0x37f040=Gn(_0x421b65,_0x126838(0x3c6));return Wn(_0x37f040)==_0x126838(0x244)?_0x37f040:_0x37f040+'';}function G(_0x515081,_0x235823,_0x3481ea){const _0x465879=_0x274f9f;return(_0x235823=Kn(_0x235823))in _0x515081?Object[_0x465879(0x3e1)](_0x515081,_0x235823,{'value':_0x3481ea,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x515081[_0x235823]=_0x3481ea,_0x515081;}const qn=_0x3c1d0d(_0x274f9f(0x4fb));var Jn=class extends _0x4191ab{constructor(..._0x238a5e){const _0x31c824=_0x274f9f;super(..._0x238a5e),G(this,_0x31c824(0x4a1),new Map());}[_0x274f9f(0x406)](_0x424ff4){const _0x49b9ad=_0x274f9f;return this[_0x49b9ad(0x4a1)][_0x49b9ad(0x317)](_0x424ff4[_0x49b9ad(0x2b9)],_0x424ff4),_0x26ad0b(()=>this[_0x49b9ad(0x4a1)][_0x49b9ad(0x2ef)](_0x424ff4[_0x49b9ad(0x2b9)]));}[_0x274f9f(0x23e)](_0x40048c){const _0x25ecea=_0x274f9f;let _0x2e8473=this[_0x25ecea(0x4a1)]['get'](_0x40048c);if(!_0x2e8473)throw Error(_0x25ecea(0x2da)+_0x40048c+'\x22\x20is\x20not\x20registered.');return _0x2e8473;}[_0x274f9f(0x3d9)](_0x8a985c){const _0x48244f=_0x274f9f;return this[_0x48244f(0x4a1)][_0x48244f(0x23e)](_0x8a985c);}[_0x274f9f(0x1d9)](){const _0x255de8=_0x274f9f;return Array[_0x255de8(0x2a4)](this['_plugins'][_0x255de8(0x33c)]());}};const Yn=_0x3c1d0d(_0x274f9f(0x333));var Xn=class{constructor(){const _0x2a5e2a=_0x274f9f;G(this,'_basePermissions',new Map()),G(this,'_tablePermissions',new Map()),G(this,'_fieldPermissions',new Map()),G(this,_0x2a5e2a(0x3d3),new Map());}[_0x274f9f(0x34e)](_0x3522d7){const _0x353301=_0x274f9f;var _0x5e82b4;return((_0x5e82b4=this[_0x353301(0x31c)][_0x353301(0x23e)](_0x3522d7))==null?void 0x0:_0x5e82b4[_0x353301(0x494)])??!0x0;}[_0x274f9f(0x27e)](_0x48d57c){const _0x42fb37=_0x274f9f;var _0x26a60a;return((_0x26a60a=this[_0x42fb37(0x403)][_0x42fb37(0x23e)](_0x48d57c))==null?void 0x0:_0x26a60a[_0x42fb37(0x2ef)])??!0x0;}[_0x274f9f(0x26f)](_0x498c8c){const _0x28d9a1=_0x274f9f;var _0x4f4a17;return((_0x4f4a17=this[_0x28d9a1(0x403)][_0x28d9a1(0x23e)](_0x498c8c))==null?void 0x0:_0x4f4a17['createField'])??!0x0;}[_0x274f9f(0x245)](_0x2964bb,_0xda4db4){const _0x3fd7bd=_0x274f9f;var _0x37acb5;return((_0x37acb5=this[_0x3fd7bd(0x4ba)][_0x3fd7bd(0x23e)](Zn(_0x2964bb,_0xda4db4)))==null?void 0x0:_0x37acb5[_0x3fd7bd(0x1d7)])??!0x0;}[_0x274f9f(0x214)](_0x4a2df2,_0x3b2a71){const _0x5bcfdb=_0x274f9f;var _0x335b5a;return((_0x335b5a=this['_fieldPermissions'][_0x5bcfdb(0x23e)](Zn(_0x4a2df2,_0x3b2a71)))==null?void 0x0:_0x335b5a[_0x5bcfdb(0x2ef)])??!0x0;}[_0x274f9f(0x315)](_0x321c4a){const _0x5905ba=_0x274f9f;var _0x412c5c;return((_0x412c5c=this[_0x5905ba(0x403)][_0x5905ba(0x23e)](_0x321c4a))==null?void 0x0:_0x412c5c[_0x5905ba(0x27a)])??!0x0;}[_0x274f9f(0x2eb)](_0x25e881,_0x1eabe6){var _0x5d7130;return((_0x5d7130=this['_recordPermissions']['get'](Qn(_0x25e881,_0x1eabe6)))==null?void 0x0:_0x5d7130['delete'])??!0x0;}[_0x274f9f(0x409)](_0x4084b2,_0x3c95bb,_0x188e83){const _0x47902b=_0x274f9f;var _0x2573c1;let _0x203387=this[_0x47902b(0x4ba)][_0x47902b(0x23e)](Zn(_0x4084b2,_0x188e83));return(((_0x2573c1=this[_0x47902b(0x3d3)][_0x47902b(0x23e)](Qn(_0x4084b2,_0x3c95bb)))==null?void 0x0:_0x2573c1[_0x47902b(0x344)])??!0x0)&&((_0x203387==null?void 0x0:_0x203387[_0x47902b(0x1d7)])??!0x0)&&((_0x203387==null?void 0x0:_0x203387['editCell'])??!0x0);}[_0x274f9f(0x431)](_0x259bf8){const _0x163021=_0x274f9f;var _0x51b0e4;return((_0x51b0e4=this[_0x163021(0x403)][_0x163021(0x23e)](_0x259bf8))==null?void 0x0:_0x51b0e4['manageView'])??!0x0;}[_0x274f9f(0x3b8)](_0x532540,_0x1a0d2e){const _0x49bfd9=_0x274f9f;this[_0x49bfd9(0x31c)]['set'](_0x532540,{...this[_0x49bfd9(0x31c)]['get'](_0x532540),..._0x1a0d2e});}['setTablePermission'](_0x4fdf98,_0x25cde5){const _0x421746=_0x274f9f;this[_0x421746(0x403)]['set'](_0x4fdf98,{...this[_0x421746(0x403)]['get'](_0x4fdf98),..._0x25cde5});}[_0x274f9f(0x2ff)](_0x6e2d24,_0x38b858,_0x4b8c9b){const _0x41d18e=_0x274f9f;let _0x4937ed=Zn(_0x6e2d24,_0x38b858);this['_fieldPermissions'][_0x41d18e(0x317)](_0x4937ed,{...this['_fieldPermissions'][_0x41d18e(0x23e)](_0x4937ed),..._0x4b8c9b});}[_0x274f9f(0x2c5)](_0x5c4a51,_0x52388b,_0x4c2601){const _0x2f4a2b=_0x274f9f;let _0x2b6726=Qn(_0x5c4a51,_0x52388b);this[_0x2f4a2b(0x3d3)]['set'](_0x2b6726,{...this[_0x2f4a2b(0x3d3)][_0x2f4a2b(0x23e)](_0x2b6726),..._0x4c2601});}['clearBasePermission'](_0x55036c){const _0xfced8a=_0x274f9f;this[_0xfced8a(0x31c)][_0xfced8a(0x2ef)](_0x55036c);}['clearTablePermission'](_0x16db70){const _0x207e8b=_0x274f9f;this[_0x207e8b(0x403)][_0x207e8b(0x2ef)](_0x16db70);}['clearFieldPermission'](_0x2d7537,_0x1e0f33){const _0x393a98=_0x274f9f;this[_0x393a98(0x4ba)]['delete'](Zn(_0x2d7537,_0x1e0f33));}[_0x274f9f(0x2ec)](_0x4642d9,_0x26fc83){const _0xc3ef78=_0x274f9f;this[_0xc3ef78(0x3d3)][_0xc3ef78(0x2ef)](Qn(_0x4642d9,_0x26fc83));}[_0x274f9f(0x2d0)](){const _0x6ba7c6=_0x274f9f;return{'bases':Object[_0x6ba7c6(0x372)](this[_0x6ba7c6(0x31c)]),'tables':Object[_0x6ba7c6(0x372)](this[_0x6ba7c6(0x403)]),'fields':Object[_0x6ba7c6(0x372)](this[_0x6ba7c6(0x4ba)]),'records':Object['fromEntries'](this['_recordPermissions'])};}};function Zn(_0x61e5ae,_0x72f664){return _0x61e5ae+'\x1f'+_0x72f664;}function Qn(_0x363827,_0x63a20b){return _0x363827+'\x1f'+_0x63a20b;}function K(_0x41ebba,_0x18f39f){return function(_0x5ce6f0,_0x4f978f){_0x18f39f(_0x5ce6f0,_0x4f978f,_0x41ebba);};}function q(_0x353526,_0x5e5af1,_0x3bf6e4,_0x2af29d){const _0x54d947=_0x274f9f;var _0x488db0=arguments[_0x54d947(0x353)],_0x5efa8b=_0x488db0<0x3?_0x5e5af1:_0x2af29d===null?_0x2af29d=Object[_0x54d947(0x356)](_0x5e5af1,_0x3bf6e4):_0x2af29d,_0x56d36f;if(typeof Reflect==_0x54d947(0x314)&&typeof Reflect[_0x54d947(0x3b1)]==_0x54d947(0x318))_0x5efa8b=Reflect[_0x54d947(0x3b1)](_0x353526,_0x5e5af1,_0x3bf6e4,_0x2af29d);else{for(var _0x3f92b9=_0x353526[_0x54d947(0x353)]-0x1;_0x3f92b9>=0x0;_0x3f92b9--)(_0x56d36f=_0x353526[_0x3f92b9])&&(_0x5efa8b=(_0x488db0<0x3?_0x56d36f(_0x5efa8b):_0x488db0>0x3?_0x56d36f(_0x5e5af1,_0x3bf6e4,_0x5efa8b):_0x56d36f(_0x5e5af1,_0x3bf6e4))||_0x5efa8b);}return _0x488db0>0x3&&_0x5efa8b&&Object['defineProperty'](_0x5e5af1,_0x3bf6e4,_0x5efa8b),_0x5efa8b;}const J=_0x3c1d0d(_0x274f9f(0x424));let $n=class{constructor(_0x32bf33,_0x2e7a4f=er(),_0x5698f5={}){const _0xa55ac4=_0x274f9f;this['_permissionService']=_0x32bf33,this[_0xa55ac4(0x3e6)]=_0x2e7a4f,this[_0xa55ac4(0x275)]=_0x5698f5,G(this,_0xa55ac4(0x45b),new W()),G(this,'_applier',new z());}[_0x274f9f(0x494)](_0x28d72c,_0x114ab8,_0x4b27ea){const _0x4bb700=_0x274f9f;if(!this[_0x4bb700(0x28e)][_0x4bb700(0x34e)](_0x28d72c['getUnitId']()))throw Error(_0x4bb700(0x1db));_0xbbbb25(_0x114ab8),this[_0x4bb700(0x274)](_0x28d72c,this[_0x4bb700(0x45b)][_0x4bb700(0x494)](_0x28d72c[_0x4bb700(0x2d0)](),_0x114ab8,_0x4b27ea));}['renameTable'](_0x5f391d,_0x44f33e,_0x3d74d4){const _0x4f7009=_0x274f9f;this[_0x4f7009(0x274)](_0x5f391d,this['_factory'][_0x4f7009(0x3c7)](_0x5f391d[_0x4f7009(0x2d0)](),_0x44f33e,_0x3d74d4));}[_0x274f9f(0x2ee)](_0x305741,_0x242119){const _0x234adc=_0x274f9f;if(!this[_0x234adc(0x28e)][_0x234adc(0x27e)](_0x242119))throw Error(_0x234adc(0x359));let _0x4af632=ke(_0x305741[_0x234adc(0x2d0)](),_0x242119);if(_0x4af632[_0x234adc(0x353)]>0x0)throw Error(_0x234adc(0x202)+_0x4af632[_0x234adc(0x22e)](_0x46e8f9=>_0x46e8f9['tableId']+'.'+_0x46e8f9[_0x234adc(0x419)])['join'](',\x20')+').');this[_0x234adc(0x274)](_0x305741,this[_0x234adc(0x45b)][_0x234adc(0x2ee)](_0x305741['getSnapshot'](),_0x242119));}['updateCell'](_0xa2ba1b,_0x574fd2,_0x1ed602,_0x7ccd76,_0xfd7b35){const _0x209a58=_0x274f9f;this[_0x209a58(0x274)](_0xa2ba1b,this[_0x209a58(0x1f8)](_0xa2ba1b,_0x574fd2,_0x1ed602,_0x7ccd76,_0xfd7b35));}['setRecordValues'](_0x3b087a,_0x268060,_0x16eda9){const _0x4c37fa=_0x274f9f;this[_0x4c37fa(0x274)](_0x3b087a,this[_0x4c37fa(0x216)](_0x3b087a,_0x268060,_0x16eda9));}['createRecord'](_0x4d0cf4,_0x34dc92,_0x21b970){const _0x518dbe=_0x274f9f;this['_apply'](_0x4d0cf4,this[_0x518dbe(0x25f)](_0x4d0cf4,_0x34dc92,_0x21b970));}[_0x274f9f(0x1f8)](_0x2c99c3,_0x4cb288,_0x28a769,_0x49ad06,_0x39ef93){const _0x4fe106=_0x274f9f;let _0x984dd7=_0x2c99c3[_0x4fe106(0x2d0)](),_0x1c3f03=this[_0x4fe106(0x45e)](_0x984dd7,_0x4cb288,_0x28a769,_0x49ad06,_0x39ef93),_0x41a63e=this['_withModifiedSystemValues'](_0x984dd7,_0x4cb288,_0x28a769,{[_0x49ad06]:_0x1c3f03});return this[_0x4fe106(0x45b)][_0x4fe106(0x27f)](_0x984dd7,_0x4cb288,[_0x41a63e]);}[_0x274f9f(0x216)](_0x238f88,_0x3c3001,_0x3f0cb0){const _0x4b5fb9=_0x274f9f;let _0x5ae333=_0x238f88['getSnapshot'](),_0x30f100=_0x3f0cb0[_0x4b5fb9(0x22e)](_0x374316=>this['_withModifiedSystemValues'](_0x5ae333,_0x3c3001,_0x374316[_0x4b5fb9(0x44a)],{...Object[_0x4b5fb9(0x372)](Object[_0x4b5fb9(0x2d4)](_0x374316[_0x4b5fb9(0x33c)])[_0x4b5fb9(0x22e)](([_0x59ecf0,_0x14d86e])=>[_0x59ecf0,this['_normalizeCellValue'](_0x5ae333,_0x3c3001,_0x374316[_0x4b5fb9(0x44a)],_0x59ecf0,_0x14d86e)]))}));return this[_0x4b5fb9(0x45b)][_0x4b5fb9(0x27f)](_0x5ae333,_0x3c3001,_0x30f100);}[_0x274f9f(0x25f)](_0x3fd3ee,_0x738792,_0x3087ef){const _0x4238d8=_0x274f9f;if(!this['_permissionService'][_0x4238d8(0x315)](_0x738792))throw Error(_0x4238d8(0x233));let _0x5bad1a=_0x3fd3ee['getSnapshot'](),_0x3836e8=this[_0x4238d8(0x376)](_0x5bad1a[_0x4238d8(0x529)][_0x738792]);return this['_factory'][_0x4238d8(0x27a)](_0x5bad1a,_0x738792,this[_0x4238d8(0x1fa)](_0x5bad1a,_0x738792,_0x3087ef,_0x3836e8));}[_0x274f9f(0x227)](_0x411bed,_0x30fa78,_0x34c382){const _0x2c9837=_0x274f9f;if(!this['_permissionService'][_0x2c9837(0x315)](_0x30fa78))throw Error(_0x2c9837(0x233));let _0xde1b72=_0x411bed['getSnapshot']();return I('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x370950=_0x2c9837;let _0x2cb7af=this[_0x370950(0x376)](_0xde1b72[_0x370950(0x529)][_0x30fa78]);return this[_0x370950(0x45b)][_0x370950(0x1e7)](_0xde1b72,_0x30fa78,_0x34c382[_0x370950(0x22e)](_0x169c51=>this[_0x370950(0x1fa)](_0xde1b72,_0x30fa78,_0x169c51,_0x2cb7af)));},{'existingRecords':Object[_0x2c9837(0x311)](_0xde1b72[_0x2c9837(0x529)][_0x30fa78][_0x2c9837(0x3c4)])[_0x2c9837(0x353)],'records':_0x34c382['length']});}[_0x274f9f(0x504)](_0xa0862d,_0x33b567,_0x79f17f,_0xfa2848,_0x49f4d8){const _0x2f3048=_0x274f9f;if(!this['_permissionService']['canCreateField'](_0x33b567))throw Error(_0x2f3048(0x380));let _0x2e80de=_0xa0862d['getSnapshot']();if(this['_assertFieldDefinition'](_0x2e80de,_0x79f17f),_0xfa2848===0x0)throw Error(_0x2f3048(0x2ed));let _0x36d099=this['_factory'][_0x2f3048(0x3f5)](_0x2e80de,_0x33b567,{'field':_0x79f17f,'index':_0xfa2848,'viewIndexes':_0x49f4d8}),_0x541261=this[_0x2f3048(0x32e)](_0x2e80de,_0x33b567,_0x79f17f);if(!_0x541261['length'])return _0x36d099;let _0x33c13b=this[_0x2f3048(0x527)][_0x2f3048(0x347)](_0x2e80de,_0x36d099);return R([_0x36d099,this['_factory'][_0x2f3048(0x27f)](_0x33c13b,_0x33b567,_0x541261)]);}[_0x274f9f(0x497)](_0x3899a4,_0x49c783,_0x57cc09){const _0x1cb2de=_0x274f9f;if(!this[_0x1cb2de(0x28e)][_0x1cb2de(0x2eb)](_0x49c783,_0x57cc09))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x1cb2de(0x274)](_0x3899a4,this[_0x1cb2de(0x45b)][_0x1cb2de(0x497)](_0x3899a4[_0x1cb2de(0x2d0)](),_0x49c783,_0x57cc09));}['duplicateRecord'](_0x29bcfd,_0x4a53fa,_0x432ccd,_0x5e6f43){const _0x11e2ff=_0x274f9f;this[_0x11e2ff(0x274)](_0x29bcfd,this[_0x11e2ff(0x45b)][_0x11e2ff(0x31d)](_0x29bcfd['getSnapshot'](),_0x4a53fa,_0x432ccd,{..._0x5e6f43,'values':{..._0x5e6f43['values'],[_0x525439]:_0x5e6f43['id']}}));}[_0x274f9f(0x277)](_0xe75d68,_0x508767,_0x1a9e66,_0x3a1eac){const _0x29f8f8=_0x274f9f;this[_0x29f8f8(0x274)](_0xe75d68,this[_0x29f8f8(0x45b)][_0x29f8f8(0x277)](_0xe75d68[_0x29f8f8(0x2d0)](),_0x508767,_0x1a9e66,_0x3a1eac));}['createField'](_0x475b9b,_0x46a9dd,_0x3459d0,_0x3256ec,_0x397229){const _0x3793d0=_0x274f9f;this['_apply'](_0x475b9b,this[_0x3793d0(0x504)](_0x475b9b,_0x46a9dd,_0x3459d0,_0x3256ec,_0x397229));}[_0x274f9f(0x279)](_0x553d15,_0x565986,_0x2d9c59,_0x2df62a){const _0xd4951b=_0x274f9f;var _0x550309;if(!this[_0xd4951b(0x28e)][_0xd4951b(0x245)](_0x565986,_0x2d9c59))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x44c52d=_0x553d15[_0xd4951b(0x2d0)](),_0x2cf3eb=(_0x550309=_0x44c52d['tables'][_0x565986])==null?void 0x0:_0x550309[_0xd4951b(0x39f)][_0x2d9c59];if(!_0x2cf3eb||_0x2d9c59===_0x525439)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0xd4951b(0x262)](_0x44c52d,{..._0x2cf3eb,..._0x2df62a}),this['_apply'](_0x553d15,this[_0xd4951b(0x45b)][_0xd4951b(0x279)](_0x44c52d,_0x565986,_0x2d9c59,_0x2df62a));}[_0x274f9f(0x3b4)](_0x270dda,_0x5d59ee,_0x5998be,_0x518a5d){const _0x207d57=_0x274f9f;var _0x57204a;if(!this[_0x207d57(0x28e)]['canEditField'](_0x5d59ee,_0x5998be))throw Error(_0x207d57(0x323));let _0x23c946=_0x270dda['getSnapshot'](),_0x1323cb=(_0x57204a=_0x23c946[_0x207d57(0x529)][_0x5d59ee])==null?void 0x0:_0x57204a['fields'][_0x5998be];if(!_0x1323cb||_0x5998be===_0x525439)throw Error(_0x207d57(0x4ca));this[_0x207d57(0x262)](_0x23c946,{..._0x1323cb,..._0x518a5d}),this['_apply'](_0x270dda,this[_0x207d57(0x45b)][_0x207d57(0x3b4)](_0x23c946,_0x5d59ee,_0x5998be,_0x518a5d));}[_0x274f9f(0x25b)](_0x41ab48,_0x2592b9,_0x309cdb){const _0x16eb71=_0x274f9f;var _0x27d8c3;if(((_0x27d8c3=_0x41ab48[_0x16eb71(0x2d0)]()['tables'][_0x2592b9])==null?void 0x0:_0x27d8c3['primaryFieldId'])===_0x309cdb||_0x309cdb===_0x525439)throw Error(_0x16eb71(0x1fc));if(!this['_permissionService'][_0x16eb71(0x214)](_0x2592b9,_0x309cdb))throw Error(_0x16eb71(0x3d1));this[_0x16eb71(0x274)](_0x41ab48,this[_0x16eb71(0x45b)]['deleteField'](_0x41ab48[_0x16eb71(0x2d0)](),_0x2592b9,_0x309cdb));}[_0x274f9f(0x332)](_0x1b5462,_0x185f44,_0x5dc33a,_0x37afd2){const _0x578b68=_0x274f9f;if(!this[_0x578b68(0x28e)][_0x578b68(0x245)](_0x185f44,_0x5dc33a))throw Error(_0x578b68(0x323));if(_0x5dc33a===_0x525439||_0x37afd2['beforeFieldId']===_0x525439)throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x578b68(0x274)](_0x1b5462,this[_0x578b68(0x45b)]['moveField'](_0x1b5462[_0x578b68(0x2d0)](),_0x185f44,_0x5dc33a,_0x37afd2));}[_0x274f9f(0x4aa)](_0x3c4447,_0x552e01,_0x106113,_0x27a172){const _0x78ecc4=_0x274f9f;this[_0x78ecc4(0x274)](_0x3c4447,this[_0x78ecc4(0x45b)][_0x78ecc4(0x4aa)](_0x3c4447['getSnapshot'](),_0x552e01,_0x106113,_0x27a172));}[_0x274f9f(0x3ed)](_0x546551,_0x2680cd,_0x5c4ecd,_0x4002db){const _0x21a143=_0x274f9f;if(!this[_0x21a143(0x28e)]['canManageView'](_0x2680cd,_0x5c4ecd))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x21a143(0x274)](_0x546551,this[_0x21a143(0x45b)][_0x21a143(0x3ed)](_0x546551[_0x21a143(0x2d0)](),_0x2680cd,_0x5c4ecd,_0x4002db));}['deleteView'](_0x809735,_0x42dfb5,_0xd981fd){const _0x1b5c05=_0x274f9f;if(!this[_0x1b5c05(0x28e)][_0x1b5c05(0x431)](_0x42dfb5,_0xd981fd))throw Error(_0x1b5c05(0x307));this[_0x1b5c05(0x274)](_0x809735,this[_0x1b5c05(0x45b)][_0x1b5c05(0x35e)](_0x809735[_0x1b5c05(0x2d0)](),_0x42dfb5,_0xd981fd));}[_0x274f9f(0x26a)](_0x1f3b51,_0x113cc8,_0x476082,_0x45584f){const _0xd34897=_0x274f9f;if(!this[_0xd34897(0x28e)][_0xd34897(0x431)](_0x113cc8,_0x476082))throw Error(_0xd34897(0x307));this[_0xd34897(0x274)](_0x1f3b51,this[_0xd34897(0x45b)][_0xd34897(0x26a)](_0x1f3b51[_0xd34897(0x2d0)](),_0x113cc8,_0x476082,_0x45584f));}[_0x274f9f(0x44f)](_0x41118e,_0x3c031d,_0x34e496,_0x4dfaf9){const _0x2cf219=_0x274f9f;if(!this[_0x2cf219(0x28e)][_0x2cf219(0x431)](_0x3c031d,_0x34e496))throw Error(_0x2cf219(0x307));this[_0x2cf219(0x274)](_0x41118e,this[_0x2cf219(0x45b)][_0x2cf219(0x44f)](_0x41118e[_0x2cf219(0x2d0)](),_0x3c031d,_0x34e496,_0x4dfaf9));}['setViewFilter'](_0x586633,_0x77e5b8,_0x278be4,_0x21fbac){const _0x4e85cd=_0x274f9f;this['_apply'](_0x586633,this['_factory']['setViewFilter'](_0x586633[_0x4e85cd(0x2d0)](),_0x77e5b8,_0x278be4,_0x21fbac));}[_0x274f9f(0x4ce)](_0x3e971c,_0x353a44,_0x126875,_0x2347c8){const _0x4848aa=_0x274f9f;this[_0x4848aa(0x274)](_0x3e971c,this[_0x4848aa(0x45b)][_0x4848aa(0x4ce)](_0x3e971c[_0x4848aa(0x2d0)](),_0x353a44,_0x126875,_0x2347c8));}['setViewGroup'](_0x44f440,_0x7b4221,_0x3089fe,_0x5dc82f){const _0x3fbd41=_0x274f9f;this['_apply'](_0x44f440,this['_factory']['setViewGroup'](_0x44f440[_0x3fbd41(0x2d0)](),_0x7b4221,_0x3089fe,_0x5dc82f));}[_0x274f9f(0x447)](_0x3f21f8,_0x437a27,_0x1bb1c8,_0x527c90,_0x120cc5){const _0x510954=_0x274f9f;if(!this[_0x510954(0x28e)]['canManageView'](_0x437a27,_0x1bb1c8))throw Error(_0x510954(0x307));this[_0x510954(0x274)](_0x3f21f8,this[_0x510954(0x45b)][_0x510954(0x447)](_0x3f21f8[_0x510954(0x2d0)](),_0x437a27,_0x1bb1c8,_0x527c90,_0x120cc5));}['setViewFieldWidth'](_0x5e92b2,_0x5323ee,_0x167227,_0x129739,_0x45acb5){const _0x3836c1=_0x274f9f;this[_0x3836c1(0x274)](_0x5e92b2,this[_0x3836c1(0x45b)]['setViewFieldWidth'](_0x5e92b2[_0x3836c1(0x2d0)](),_0x5323ee,_0x167227,_0x129739,_0x45acb5));}[_0x274f9f(0x236)](_0x1c6feb,_0x6daff3,_0x234109,_0x365f68,_0x374407){const _0x3f8924=_0x274f9f;this[_0x3f8924(0x274)](_0x1c6feb,this[_0x3f8924(0x45b)][_0x3f8924(0x236)](_0x1c6feb[_0x3f8924(0x2d0)](),_0x6daff3,_0x234109,_0x365f68,_0x374407));}[_0x274f9f(0x274)](_0x60b88d,_0x4b1577){const _0x16527f=_0x274f9f;let _0x158b32=_0x60b88d[_0x16527f(0x2d0)]();_0x60b88d[_0x16527f(0x212)](this[_0x16527f(0x527)][_0x16527f(0x347)](_0x158b32,_0x4b1577));}[_0x274f9f(0x1fa)](_0x3ec869,_0x25d6b2,_0x48a418,_0x599baa=this[_0x274f9f(0x376)](_0x3ec869[_0x274f9f(0x529)][_0x25d6b2])){const _0x21c4b0=_0x274f9f;let _0x2a9208=_0x3ec869['tables'][_0x25d6b2],_0x5f330f=_0x48a418[_0x21c4b0(0x370)]??_0x48a418[_0x21c4b0(0x2b3)]??this[_0x21c4b0(0x22f)](),_0xf318f={..._0x48a418,'createdBy':_0x48a418['createdBy']??_0x5f330f,'updatedBy':_0x48a418[_0x21c4b0(0x2b3)]??_0x5f330f,'values':{..._0x48a418['values']}};return _0xf318f[_0x21c4b0(0x33c)][_0x525439]=_0xf318f['id'],_0x2a9208[_0x21c4b0(0x47a)][_0x21c4b0(0x366)](_0x1715e5=>{const _0xbb3c1d=_0x21c4b0;let _0x7029ba=_0x2a9208[_0xbb3c1d(0x39f)][_0x1715e5];if(!(!_0x7029ba||_0xf318f['values'][_0x1715e5]!==void 0x0))switch(_0x7029ba[_0xbb3c1d(0x2b9)]){case _0x11438e[_0xbb3c1d(0x24e)]:var _0x387897;_0xf318f[_0xbb3c1d(0x33c)][_0x1715e5]=((_0x387897=_0x599baa[_0xbb3c1d(0x23e)](_0x1715e5))==null?void 0x0:_0x387897())??this[_0xbb3c1d(0x47f)](_0x2a9208,_0x1715e5)();break;case _0x11438e['CreatedBy']:_0xf318f[_0xbb3c1d(0x370)]&&(_0xf318f[_0xbb3c1d(0x33c)][_0x1715e5]=_0xf318f[_0xbb3c1d(0x370)]);break;case _0x11438e[_0xbb3c1d(0x278)]:_0xf318f[_0xbb3c1d(0x2b3)]&&(_0xf318f[_0xbb3c1d(0x33c)][_0x1715e5]=_0xf318f[_0xbb3c1d(0x2b3)]);break;case _0x11438e[_0xbb3c1d(0x33f)]:_0xf318f[_0xbb3c1d(0x33c)][_0x1715e5]=B(_0xf318f[_0xbb3c1d(0x31f)]);break;case _0x11438e[_0xbb3c1d(0x2df)]:_0xf318f[_0xbb3c1d(0x33c)][_0x1715e5]=B(_0xf318f[_0xbb3c1d(0x3da)]);break;default:{let _0x319878=_0x7029ba[_0xbb3c1d(0x319)];_0x319878!=null&&_0x319878!==''&&!(Array['isArray'](_0x319878)&&_0x319878[_0xbb3c1d(0x353)]===0x0)&&(_0xf318f['values'][_0x1715e5]=_0x319878);}}}),_0xf318f;}[_0x274f9f(0x48e)](_0x4e7b86,_0x2bbf8a,_0x4d24ff,_0x4fd014){const _0x4a3a91=_0x274f9f;var _0x4294d7,_0x5f56c4;let _0x1034e3=_0x4e7b86['tables'][_0x2bbf8a],_0x5e7180=((_0x4294d7=(_0x5f56c4=this[_0x4a3a91(0x275)])[_0x4a3a91(0x4df)])==null?void 0x0:_0x4294d7[_0x4a3a91(0x385)](_0x5f56c4))??Date[_0x4a3a91(0x4df)](),_0x3aa53e=this['_getCurrentUserId'](),_0xb3197={..._0x4fd014};return _0x1034e3['fieldOrder'][_0x4a3a91(0x366)](_0x51059e=>{const _0x523835=_0x4a3a91;let _0x3627e2=_0x1034e3[_0x523835(0x39f)][_0x51059e];_0x3627e2&&(_0x3627e2[_0x523835(0x2b9)]===_0x11438e[_0x523835(0x2df)]&&(_0xb3197[_0x51059e]=B(_0x5e7180)),_0x3627e2['type']===_0x11438e[_0x523835(0x278)]&&_0x3aa53e&&(_0xb3197[_0x51059e]=_0x3aa53e));}),{'recordId':_0x4d24ff,'values':_0xb3197,'recordPatch':{'updatedAt':_0x5e7180,..._0x3aa53e?{'updatedBy':_0x3aa53e}:{}}};}[_0x274f9f(0x32e)](_0x4a47b2,_0x26ec21,_0x5689bb){const _0x3db4ea=_0x274f9f;let _0x230e7a=_0x4a47b2[_0x3db4ea(0x529)][_0x26ec21];return!_0x230e7a||!tr(_0x5689bb)?[]:_0x5689bb[_0x3db4ea(0x2b9)]===_0x11438e[_0x3db4ea(0x24e)]?this[_0x3db4ea(0x495)](_0x230e7a,_0x5689bb['id']):Object[_0x3db4ea(0x33c)](_0x230e7a[_0x3db4ea(0x3c4)])[_0x3db4ea(0x25e)](_0x55fd7c=>{const _0x2271e8=_0x3db4ea;let _0x3b051b=this[_0x2271e8(0x3ac)](_0x5689bb,_0x55fd7c);return _0x3b051b===void 0x0?[]:[{'recordId':_0x55fd7c['id'],'values':{[_0x5689bb['id']]:_0x3b051b}}];});}['_getSystemFieldValue'](_0x4b6ccd,_0x2725c5){const _0x1f91b7=_0x274f9f;switch(_0x4b6ccd[_0x1f91b7(0x2b9)]){case _0x11438e['CreatedBy']:return _0x2725c5[_0x1f91b7(0x370)]??this[_0x1f91b7(0x22f)]();case _0x11438e[_0x1f91b7(0x278)]:return _0x2725c5[_0x1f91b7(0x2b3)]??this[_0x1f91b7(0x22f)]();case _0x11438e[_0x1f91b7(0x33f)]:return B(_0x2725c5['createdAt']??Date[_0x1f91b7(0x4df)]());case _0x11438e[_0x1f91b7(0x2df)]:return B(_0x2725c5['updatedAt']??Date[_0x1f91b7(0x4df)]());default:return;}}[_0x274f9f(0x376)](_0x6a2c6){const _0x5591e7=_0x274f9f;let _0x524ecb=new Map();return _0x6a2c6&&_0x6a2c6[_0x5591e7(0x47a)]['forEach'](_0x5389db=>{const _0x6513f0=_0x5591e7;let _0x142183=_0x6a2c6[_0x6513f0(0x39f)][_0x5389db];(_0x142183==null?void 0x0:_0x142183[_0x6513f0(0x2b9)])===_0x11438e[_0x6513f0(0x24e)]&&_0x524ecb[_0x6513f0(0x317)](_0x5389db,this['_createNumberingAllocator'](_0x6a2c6,_0x5389db));}),_0x524ecb;}['_createNumberingAllocator'](_0x3e87c7,_0x41d205){const _0x2b2579=_0x274f9f;let _0x436fd3=Object['values'](_0x3e87c7[_0x2b2579(0x3c4)])[_0x2b2579(0x491)]((_0xefa954,_0x275dbf)=>{const _0xa644e1=_0x2b2579;let _0x5e8250=Number(_0x275dbf[_0xa644e1(0x33c)][_0x41d205]);return Number['isFinite'](_0x5e8250)?Math['max'](_0xefa954,_0x5e8250):_0xefa954;},0x0);return()=>String(++_0x436fd3);}[_0x274f9f(0x495)](_0x46611c,_0x903279){const _0x113764=_0x274f9f;let _0x6e414a=this['_getOrderedRecords'](_0x46611c),_0x552691=this[_0x113764(0x47f)](_0x46611c,_0x903279);return _0x6e414a['flatMap'](_0x2c7efd=>this[_0x113764(0x433)](_0x2c7efd[_0x113764(0x33c)][_0x903279])?[]:[{'recordId':_0x2c7efd['id'],'values':{[_0x903279]:_0x552691()}}]);}['_getOrderedRecords'](_0x32029f){const _0x4135fd=_0x274f9f;var _0x1e42e9;let _0x35c34e=Object[_0x4135fd(0x33c)](_0x32029f[_0x4135fd(0x3c4)]),_0x404d9c=new Map(_0x35c34e['map'](_0x25865c=>[_0x25865c['id'],_0x25865c])),_0x2770e1=[],_0x24c927=new Set();(_0x1e42e9=_0x32029f['recordOrder'])==null||_0x1e42e9['forEach'](_0x3da2e3=>{const _0x14c5b0=_0x4135fd;let _0x42ccae=_0x404d9c[_0x14c5b0(0x23e)](_0x3da2e3);_0x42ccae&&(_0x2770e1[_0x14c5b0(0x254)](_0x42ccae),_0x24c927[_0x14c5b0(0x4a3)](_0x3da2e3));});let _0x56ad3b=_0x35c34e[_0x4135fd(0x458)](_0x4c7b9d=>!_0x24c927['has'](_0x4c7b9d['id']))['sort']((_0x5b5a4e,_0x26829c)=>String(_0x5b5a4e[_0x4135fd(0x280)]??_0x5b5a4e['id'])[_0x4135fd(0x1fe)](String(_0x26829c['orderKey']??_0x26829c['id']))||_0x5b5a4e['id'][_0x4135fd(0x1fe)](_0x26829c['id']));return[..._0x2770e1,..._0x56ad3b];}['_isNonEmptyCellValue'](_0x3f56dc){const _0x45139e=_0x274f9f;return _0x3f56dc!=null&&_0x3f56dc!==''&&!(Array[_0x45139e(0x39e)](_0x3f56dc)&&_0x3f56dc['length']===0x0);}[_0x274f9f(0x22f)](){const _0x49e235=_0x274f9f;var _0xd674f3,_0x11365f,_0x5b1485,_0x474f14;return((_0xd674f3=(_0x11365f=this[_0x49e235(0x275)])['getCurrentUserId'])==null?void 0x0:_0xd674f3[_0x49e235(0x385)](_0x11365f))??((_0x5b1485=(_0x474f14=this[_0x49e235(0x275)])['getCurrentUser'])==null||(_0x5b1485=_0x5b1485[_0x49e235(0x385)](_0x474f14))==null?void 0x0:_0x5b1485[_0x49e235(0x1e2)])??void 0x0;}[_0x274f9f(0x45e)](_0x33dc3c,_0x19ecee,_0x49fa1b,_0x483109,_0x5ea935){const _0x3a2685=_0x274f9f;var _0x27eba8;if(!this[_0x3a2685(0x28e)][_0x3a2685(0x409)](_0x19ecee,_0x49fa1b,_0x483109))throw Error(_0x3a2685(0x407));let _0x557468=(_0x27eba8=_0x33dc3c['tables'][_0x19ecee])==null?void 0x0:_0x27eba8['fields'][_0x483109];if(!_0x557468)throw Error(_0x3a2685(0x34b)+_0x483109+_0x3a2685(0x518));let _0xec020a=this[_0x3a2685(0x3e6)][_0x3a2685(0x23e)](_0x557468['type']);if(_0x557468[_0x3a2685(0x3ba)]||_0x557468[_0x3a2685(0x3a9)]||!_0xec020a[_0x3a2685(0x4db)](_0x557468)[_0x3a2685(0x2e8)])throw Error(_0x3a2685(0x470));let _0x5711f1=_0xec020a['normalize'](_0x5ea935,_0x557468),_0x443c8d=_0xec020a['validate'](_0x5711f1,_0x557468);if(!_0x443c8d['valid'])throw Error(_0x443c8d[_0x3a2685(0x257)]??_0x3a2685(0x466));let _0x575f27=_0x557468[_0x3a2685(0x2b9)]===_0x11438e[_0x3a2685(0x24c)]?Oe(_0x33dc3c,_0x557468,_0x5711f1):{'valid':!0x0};if(!_0x575f27['valid'])throw Error(_0x575f27[_0x3a2685(0x257)]??_0x3a2685(0x22a));return _0x5711f1;}[_0x274f9f(0x262)](_0x4daa3b,_0x50613f){const _0x298c96=_0x274f9f;if(_0x50613f['id']===_0x525439||_0x50613f[_0x298c96(0x2b9)]===_0x11438e[_0x298c96(0x20d)]||_0xec31b8(_0x50613f[_0x298c96(0x248)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x7d5a1f=De(_0x4daa3b,_0x50613f);if(!_0x7d5a1f['valid'])throw Error(_0x7d5a1f[_0x298c96(0x257)]??_0x298c96(0x4a9));}};$n=q([K(0x0,Yn),K(0x1,qn)],$n);function er(){const _0x1262c5=_0x274f9f;let _0xc0ff48=new Jn();return xn()[_0x1262c5(0x366)](_0x2c5ab1=>_0xc0ff48[_0x1262c5(0x406)](_0x2c5ab1)),_0xc0ff48;}function tr(_0x1d26e8){const _0xf4a3e4=_0x274f9f;return _0x1d26e8[_0xf4a3e4(0x2b9)]===_0x11438e[_0xf4a3e4(0x24e)]||_0x1d26e8[_0xf4a3e4(0x2b9)]===_0x11438e[_0xf4a3e4(0x4ac)]||_0x1d26e8[_0xf4a3e4(0x2b9)]===_0x11438e[_0xf4a3e4(0x278)]||_0x1d26e8[_0xf4a3e4(0x2b9)]===_0x11438e['CreatedAt']||_0x1d26e8[_0xf4a3e4(0x2b9)]===_0x11438e['UpdatedAt'];}const nr=new Set([_0x11438e[_0x274f9f(0x298)],_0x11438e[_0x274f9f(0x259)],_0x11438e['Checkbox']]);function rr(_0x1e0d55){const _0x3de31f=_0x274f9f;let _0x4c854c=_0x1e0d55[_0x3de31f(0x39f)][_0x1e0d55['primaryFieldId']];if(!(_0x4c854c&&(_0x4c854c['system']===!0x0||_0x4c854c['id'][_0x3de31f(0x208)]()==='id'||_0x4c854c[_0x3de31f(0x248)]['trim']()[_0x3de31f(0x208)]()==='id'))&&_0x4c854c)return _0x4c854c['id'];for(let _0x1ea74a of _0x1e0d55[_0x3de31f(0x47a)]){let _0xeb2106=_0x1e0d55[_0x3de31f(0x39f)][_0x1ea74a];if(_0xeb2106&&_0xeb2106['id']!==_0x1e0d55[_0x3de31f(0x2db)]&&_0xeb2106[_0x3de31f(0x3a9)]!==!0x0&&_0xeb2106[_0x3de31f(0x2b9)]!==_0x11438e[_0x3de31f(0x20d)])return _0xeb2106['id'];}return _0x1e0d55[_0x3de31f(0x2db)];}function ir(_0x57d94e,_0x3c6cb1=[],_0x3735cb=0x5){const _0x1d5bde=_0x274f9f;let _0x1c8294=new Set(_0x3c6cb1['filter'](_0x279ade=>!!_0x279ade)),_0x22746f=[],_0x22237d=[];for(let _0x4e315d of _0x57d94e[_0x1d5bde(0x47a)]){let _0x421658=_0x57d94e[_0x1d5bde(0x39f)][_0x4e315d];_0x421658&&_0x421658[_0x1d5bde(0x3a9)]!==!0x0&&_0x421658['type']!==_0x11438e[_0x1d5bde(0x20d)]&&!_0x1c8294[_0x1d5bde(0x51e)](_0x421658['id'])&&(nr[_0x1d5bde(0x51e)](_0x421658[_0x1d5bde(0x2b9)])?_0x22746f:_0x22237d)['push'](_0x421658['id']);}return[..._0x22746f,..._0x22237d][_0x1d5bde(0x51c)](0x0,_0x3735cb);}function ar(){const _0x49db01=_0x274f9f;return[{'type':_0x31904d[_0x49db01(0x4a0)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xc22cff=_0x49db01;throw Error(_0xc22cff(0x36d));}},{'type':_0x31904d[_0x49db01(0x3d7)],'i18nKey':_0x49db01(0x2b7),'createDefaultConfig':_0x2052a2=>{const _0x1ee096=_0x49db01;let _0x1aa88f=or(_0x2052a2);return{'groupFieldId':_0x1aa88f,'coverFieldId':null,'cardLayout':_0x1ee096(0x268),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x2052a2[_0x1ee096(0x2db)],'fieldIds':ir(_0x2052a2,[_0x2052a2[_0x1ee096(0x2db)],_0x1aa88f])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x16f622=_0x49db01;throw Error(_0x16f622(0x309));}},{'type':_0x31904d['Calendar'],'i18nKey':_0x49db01(0x43f),'createDefaultConfig':_0x125cbc=>{const _0x34f5b4=_0x49db01;let _0x586084=sr(_0x125cbc);return{'startDateFieldId':_0x586084,'endDateFieldId':cr(_0x125cbc,_0x586084),'titleFieldId':_0x125cbc[_0x34f5b4(0x2db)],'mode':_0x34f5b4(0x48c),'timeslotSize':_0x34f5b4(0x51d),'timeZone':_0x34f5b4(0x29b),'displayColor':{'type':_0x34f5b4(0x4cf),'color':_0x34f5b4(0x517)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c90c3=_0x49db01;throw Error(_0x5c90c3(0x2ea));}},{'type':_0x31904d['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x14b23f=>{const _0x3a9bc9=_0x49db01;let _0x2bcadf=sr(_0x14b23f);return{'startDateFieldId':_0x2bcadf,'endDateFieldId':cr(_0x14b23f,_0x2bcadf)??_0x2bcadf,'titleFieldId':_0x14b23f['primaryFieldId'],'scale':_0x3a9bc9(0x48c),'showTodayLine':!0x0,'displayColor':{'type':_0x3a9bc9(0x4cf),'color':_0x3a9bc9(0x321)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x129010=_0x49db01;throw Error(_0x129010(0x500));}},{'type':_0x31904d[_0x49db01(0x1fb)],'i18nKey':_0x49db01(0x256),'createDefaultConfig':_0x2a8b61=>{const _0xedc673=_0x49db01;let _0x553f3f=rr(_0x2a8b61);return{'coverFieldId':null,'cardLayout':_0xedc673(0x268),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x553f3f,'coverFieldId':null,'fieldIds':ir(_0x2a8b61,[_0x553f3f,_0x2a8b61[_0xedc673(0x2db)]])},'cardSize':_0xedc673(0x51d)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2c7629=_0x49db01;throw Error(_0x2c7629(0x3ff));}}];}function or(_0xc9c739){const _0x3bd77f=_0x274f9f;var _0x38a6,_0x5265b4,_0x476436;let _0x3284a2=_0xc9c739[_0x3bd77f(0x47a)][_0x3bd77f(0x22e)](_0x1f6748=>_0xc9c739[_0x3bd77f(0x39f)][_0x1f6748])[_0x3bd77f(0x458)](_0x249e5e=>!!_0x249e5e);return((_0x38a6=_0x3284a2[_0x3bd77f(0x271)](_0x257f32=>_0x257f32[_0x3bd77f(0x2b9)]===_0x11438e[_0x3bd77f(0x282)]||_0x257f32[_0x3bd77f(0x2b9)]===_0x11438e[_0x3bd77f(0x3a5)]||_0x257f32[_0x3bd77f(0x2b9)]===_0x11438e[_0x3bd77f(0x1f9)]))==null?void 0x0:_0x38a6['id'])??((_0x5265b4=_0x3284a2[_0x3bd77f(0x271)](_0x2232b9=>_0x2232b9[_0x3bd77f(0x2b9)]===_0x11438e['Text']))==null?void 0x0:_0x5265b4['id'])??((_0x476436=_0x3284a2[_0x3bd77f(0x271)](_0x2d576f=>_0x2d576f['type']===_0x11438e['Date']||_0x2d576f[_0x3bd77f(0x2b9)]===_0x11438e[_0x3bd77f(0x33f)]||_0x2d576f[_0x3bd77f(0x2b9)]===_0x11438e['UpdatedAt']))==null?void 0x0:_0x476436['id'])??_0xc9c739[_0x3bd77f(0x2db)];}function sr(_0x5b800c){const _0x511907=_0x274f9f;var _0x7ed281;return((_0x7ed281=_0x5b800c[_0x511907(0x47a)][_0x511907(0x22e)](_0x2fc42d=>_0x5b800c[_0x511907(0x39f)][_0x2fc42d])[_0x511907(0x271)](lr))==null?void 0x0:_0x7ed281['id'])??'';}function cr(_0x78bf03,_0x44177d){const _0x40ddaa=_0x274f9f;var _0x4f0152;return(_0x4f0152=_0x78bf03['fieldOrder'][_0x40ddaa(0x22e)](_0x43b900=>_0x78bf03[_0x40ddaa(0x39f)][_0x43b900])[_0x40ddaa(0x271)](_0x29d4cb=>lr(_0x29d4cb)&&_0x29d4cb['id']!==_0x44177d))==null?void 0x0:_0x4f0152['id'];}function lr(_0x1c8002){const _0x2f19b0=_0x274f9f;return!!_0x1c8002&&_0x1c8002[_0x2f19b0(0x2b9)]===_0x11438e[_0x2f19b0(0x44b)]&&_0x1c8002[_0x2f19b0(0x3ba)]!==!0x0&&_0x1c8002[_0x2f19b0(0x3a9)]!==!0x0;}const ur=_0x3c1d0d(_0x274f9f(0x308)),dr=new Set([_0x11438e[_0x274f9f(0x43e)],_0x11438e['Currency'],_0x11438e[_0x274f9f(0x298)],_0x11438e[_0x274f9f(0x259)],_0x11438e[_0x274f9f(0x44b)],_0x11438e[_0x274f9f(0x33f)],_0x11438e['UpdatedAt'],_0x11438e[_0x274f9f(0x44d)]]);let fr=class extends _0x4191ab{constructor(_0x2dbbe5){const _0xdf748b=_0x274f9f;super(),this[_0xdf748b(0x3e6)]=_0x2dbbe5,G(this,_0xdf748b(0x516),new Map()),G(this,'_projectionCache',new WeakMap()),G(this,_0xdf748b(0x224),new Map()),G(this,_0xdf748b(0x2dc),new Map()),G(this,_0xdf748b(0x2cd),new Map()),G(this,_0xdf748b(0x1f6),new Map()),G(this,_0xdf748b(0x464),0x0),G(this,_0xdf748b(0x40a),new Map()),G(this,_0xdf748b(0x1ef),new Map()),G(this,_0xdf748b(0x3a8),new Map()),G(this,_0xdf748b(0x2f2),new Map());}['registerView'](_0x55358a){const _0x2a650e=_0x274f9f;return this['_views'][_0x2a650e(0x317)](_0x55358a['type'],_0x55358a),_0x26ad0b(()=>this['_views']['delete'](_0x55358a[_0x2a650e(0x2b9)]));}[_0x274f9f(0x3b9)](_0x150654,_0x482904,_0x203709){const _0x2855e6=_0x274f9f;var _0x563758,_0x30c56f,_0x4c4950;return I(_0x2855e6(0x507),()=>{const _0x4b85f7=_0x2855e6;let _0xf2d94c=this[_0x4b85f7(0x48a)](_0x150654,_0x482904,_0x203709);if(_0xf2d94c)return _0xf2d94c;let _0x3cd7bd=_0x150654[_0x4b85f7(0x529)][_0x482904],_0x2caaa4=_0x3cd7bd==null?void 0x0:_0x3cd7bd[_0x4b85f7(0x22d)][_0x203709];if(!_0x3cd7bd||!_0x2caaa4)return this[_0x4b85f7(0x29d)](_0x150654,_0x482904,_0x203709,{'type':_0x4b85f7(0x402),'viewType':(_0x2caaa4==null?void 0x0:_0x2caaa4[_0x4b85f7(0x2b9)])??_0x31904d['Grid'],'reason':_0x4b85f7(0x43c)});let _0x182239;switch(_0x2caaa4[_0x4b85f7(0x2b9)]){case _0x31904d[_0x4b85f7(0x4a0)]:_0x182239=this[_0x4b85f7(0x29c)](_0x3cd7bd,_0x2caaa4);break;case _0x31904d['Gantt']:_0x182239=this[_0x4b85f7(0x436)](_0x3cd7bd,_0x2caaa4);break;case _0x31904d[_0x4b85f7(0x3d7)]:_0x182239=this[_0x4b85f7(0x4cd)](_0x3cd7bd,_0x2caaa4);break;case _0x31904d['Calendar']:_0x182239=this['_buildCalendar'](_0x3cd7bd,_0x2caaa4);break;case _0x31904d[_0x4b85f7(0x1fb)]:_0x182239=this[_0x4b85f7(0x35c)](_0x3cd7bd,_0x2caaa4);break;default:_0x182239={'type':_0x4b85f7(0x402),'viewType':_0x2caaa4['type'],'reason':'missingField'};}return this['_setCachedProjection'](_0x150654,_0x482904,_0x203709,_0x182239);},{'tableId':_0x482904,'viewId':_0x203709,'viewType':(_0x563758=_0x150654[_0x2855e6(0x529)][_0x482904])==null||(_0x563758=_0x563758[_0x2855e6(0x22d)][_0x203709])==null?void 0x0:_0x563758[_0x2855e6(0x2b9)],'records':((_0x30c56f=_0x150654['tables'][_0x482904])==null||(_0x30c56f=_0x30c56f[_0x2855e6(0x4fd)])==null?void 0x0:_0x30c56f[_0x2855e6(0x353)])??Object['keys'](((_0x4c4950=_0x150654[_0x2855e6(0x529)][_0x482904])==null?void 0x0:_0x4c4950[_0x2855e6(0x3c4)])??{})[_0x2855e6(0x353)]});}[_0x274f9f(0x30c)](_0x398f55,_0x2f6944,_0x7d7066){const _0xfb06fc=_0x274f9f;var _0x42a675,_0x58fb3b,_0xb71dca;let _0x37e5c1=_0x398f55[_0xfb06fc(0x529)][_0x2f6944],_0x2ef073=_0x37e5c1==null?void 0x0:_0x37e5c1[_0xfb06fc(0x22d)][_0x7d7066];if(!_0x37e5c1||!_0x2ef073)throw Error(_0xfb06fc(0x4dd)+_0x7d7066+'\x22.');let _0xc72e1b=_0x4d8dea=>!!_0x37e5c1[_0xfb06fc(0x39f)][_0x4d8dea],_0x4f7706={..._0x2ef073,'filter':_0x2ef073[_0xfb06fc(0x458)]?{..._0x2ef073[_0xfb06fc(0x458)],'conditions':_0x2ef073[_0xfb06fc(0x458)][_0xfb06fc(0x400)][_0xfb06fc(0x458)](_0x52043c=>_0xc72e1b(_0x52043c['fieldId']))}:_0x2ef073['filter'],'sort':(_0x42a675=_0x2ef073['sort'])==null?void 0x0:_0x42a675[_0xfb06fc(0x458)](_0x230ede=>_0xc72e1b(_0x230ede[_0xfb06fc(0x419)])),'group':(_0x58fb3b=_0x2ef073[_0xfb06fc(0x394)])==null?void 0x0:_0x58fb3b[_0xfb06fc(0x458)](_0x245a74=>_0xc72e1b(_0x245a74[_0xfb06fc(0x419)])),'fieldOrder':(_0xb71dca=_0x2ef073['fieldOrder'])==null?void 0x0:_0xb71dca[_0xfb06fc(0x458)](_0xc72e1b),'fieldSettings':Object[_0xfb06fc(0x372)](Object['entries'](_0x2ef073[_0xfb06fc(0x243)]??{})[_0xfb06fc(0x458)](([_0x82fd95])=>_0xc72e1b(_0x82fd95)))};if(_0x4f7706[_0xfb06fc(0x2b9)]==='kanban'){var _0x1d890f;let _0x4dfcb0=_0x4f7706[_0xfb06fc(0x427)]??{},_0x562676=this[_0xfb06fc(0x36e)](_0x37e5c1,_0x4f7706),_0xa8e476=this['_resolveCardTitleFieldId'](_0x37e5c1,(_0x1d890f=_0x4dfcb0[_0xfb06fc(0x4cb)])==null?void 0x0:_0x1d890f[_0xfb06fc(0x3ef)]);_0x4f7706[_0xfb06fc(0x427)]={..._0x4dfcb0,'groupFieldId':_0x562676??_0x4dfcb0[_0xfb06fc(0x2e6)],'coverFieldId':this[_0xfb06fc(0x511)](_0x37e5c1,_0x4dfcb0),'cardLayout':_0x4dfcb0[_0xfb06fc(0x521)]===_0xfb06fc(0x508)?'compose':_0xfb06fc(0x268),'showFieldNames':_0x4dfcb0[_0xfb06fc(0x4d2)]!==!0x1,'fieldSettings':Object[_0xfb06fc(0x372)](Object[_0xfb06fc(0x2d4)](_0x4dfcb0[_0xfb06fc(0x243)]??{})[_0xfb06fc(0x458)](([_0x44d729])=>_0xc72e1b(_0x44d729))),'columnSettings':_0x4dfcb0['columnSettings']??{},'card':{..._0x4dfcb0['card']??{},'titleFieldId':_0xa8e476,'fieldIds':this[_0xfb06fc(0x379)](_0x37e5c1,_0x4f7706,_0x562676??'',_0xa8e476)}};}return{'repaired':JSON[_0xfb06fc(0x2b6)](_0x4f7706)!==JSON['stringify'](_0x2ef073),'view':_0x4f7706};}[_0x274f9f(0x1f0)](){const _0x2b0bed=_0x274f9f;this[_0x2b0bed(0x464)]++;}[_0x274f9f(0x21c)](_0x55d094,_0x585d18,_0x178a89){const _0xc4b110=_0x274f9f;let _0x4a2a49=this['_getCellRevision'](_0x55d094)+0x1;this[_0xc4b110(0x1ef)][_0xc4b110(0x317)](_0x55d094,_0x4a2a49);let _0x55cac8=this['_cellInvalidations'][_0xc4b110(0x23e)](_0x55d094)??[];_0x55cac8['push']({'revision':_0x4a2a49,'recordId':_0x585d18,'fieldId':_0x178a89}),this[_0xc4b110(0x3a8)]['set'](_0x55d094,_0x55cac8);}[_0x274f9f(0x3cc)](_0x580c5d,_0x922251){const _0x2578db=_0x274f9f;this[_0x2578db(0x21a)](_0x580c5d);}['invalidateByView'](_0x365cf2,_0x44d836){const _0x4bd3f8=_0x274f9f;this[_0x4bd3f8(0x2f2)][_0x4bd3f8(0x317)](this[_0x4bd3f8(0x2c9)](_0x365cf2,_0x44d836),this[_0x4bd3f8(0x2bd)](_0x365cf2,_0x44d836)+0x1);}[_0x274f9f(0x48a)](_0x4d3023,_0x343d9b,_0x15cc02){const _0x411788=_0x274f9f;var _0x41ead7;let _0x1964a9=(_0x41ead7=this[_0x411788(0x449)][_0x411788(0x23e)](_0x4d3023))==null?void 0x0:_0x41ead7[_0x411788(0x23e)](this[_0x411788(0x38f)](_0x343d9b,_0x15cc02));return _0x1964a9&&_0x1964a9[_0x411788(0x415)]===this[_0x411788(0x464)]&&_0x1964a9[_0x411788(0x440)]===this[_0x411788(0x3ce)](_0x343d9b)&&_0x1964a9[_0x411788(0x1dd)]===this[_0x411788(0x290)](_0x343d9b)&&_0x1964a9[_0x411788(0x207)]===this['_getViewRevision'](_0x343d9b,_0x15cc02)?_0x1964a9['projection']:null;}[_0x274f9f(0x29d)](_0x1a1579,_0x4c950c,_0x233e10,_0x2e66ab){const _0x241c4c=_0x274f9f;let _0x42826c=this[_0x241c4c(0x449)]['get'](_0x1a1579);return _0x42826c||(_0x42826c=new Map(),this[_0x241c4c(0x449)][_0x241c4c(0x317)](_0x1a1579,_0x42826c)),_0x42826c[_0x241c4c(0x317)](this[_0x241c4c(0x38f)](_0x4c950c,_0x233e10),{'projection':_0x2e66ab,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x241c4c(0x3ce)](_0x4c950c),'cellRevision':this[_0x241c4c(0x290)](_0x4c950c),'viewRevision':this[_0x241c4c(0x2bd)](_0x4c950c,_0x233e10)}),_0x2e66ab;}[_0x274f9f(0x21a)](_0x10dea2){const _0x3cfeec=_0x274f9f;this[_0x3cfeec(0x40a)][_0x3cfeec(0x317)](_0x10dea2,this['_getTableRevision'](_0x10dea2)+0x1);}[_0x274f9f(0x3ce)](_0x2fe7b5){const _0x4ecb1c=_0x274f9f;return this[_0x4ecb1c(0x40a)][_0x4ecb1c(0x23e)](_0x2fe7b5)??0x0;}['_getCellRevision'](_0x23619e){const _0xe5bbc=_0x274f9f;return this[_0xe5bbc(0x1ef)][_0xe5bbc(0x23e)](_0x23619e)??0x0;}[_0x274f9f(0x2bd)](_0x43eb40,_0x472eac){const _0x1f6bc3=_0x274f9f;return this[_0x1f6bc3(0x2f2)][_0x1f6bc3(0x23e)](this[_0x1f6bc3(0x2c9)](_0x43eb40,_0x472eac))??0x0;}['_cacheKey'](_0x133521,_0x12d6db){return _0x133521+'\x00'+_0x12d6db;}[_0x274f9f(0x306)](_0x15cbc5,_0x250c01){const _0x3aae27=_0x274f9f;return _0x15cbc5+'\x00'+this[_0x3aae27(0x4d7)](_0x250c01);}[_0x274f9f(0x285)](_0x23e3b6,_0x1f7372,_0x5aa8fe){const _0x42549b=_0x274f9f;return _0x23e3b6+'\x00'+this[_0x42549b(0x4d7)](_0x1f7372)+'\x00'+this[_0x42549b(0x50e)](_0x5aa8fe);}[_0x274f9f(0x4d7)](_0x162919){const _0x591eca=_0x274f9f;return _0x162919?vr({'filter':gr(_0x162919['filter']),'sort':_r(_0x162919['sort'])}):_0x591eca(0x2af);}['_groupConfigCacheSegment'](_0x5e38da){const _0x59eb6f=_0x274f9f;return vr(_0x5e38da[_0x59eb6f(0x22e)](_0x2f4e68=>({'fieldId':_0x2f4e68['fieldId'],'direction':_0x2f4e68['direction']??null})));}[_0x274f9f(0x2c9)](_0x5e58e4,_0x1f3c9e){return _0x5e58e4+'\x00'+_0x1f3c9e;}['_buildGrid'](_0xf9507d,_0x12fe12){const _0x7aa5cf=_0x274f9f;var _0xf2127e;let _0x59ee03=P(_0xf9507d),_0x37816a=this[_0x7aa5cf(0x2d9)](_0xf9507d,_0x12fe12),_0x4d4a41=(_0xf2127e=_0x12fe12['filter'])!=null&&_0xf2127e[_0x7aa5cf(0x400)]['length']?this['_projectRows'](_0xf9507d,{..._0x12fe12,'filter':null}):_0x37816a,_0x450219=Be(this[_0x7aa5cf(0x1f3)](_0xf9507d,_0x59ee03,_0x12fe12['id'],_0x4d4a41[_0x7aa5cf(0x22e)](_0x310f73=>_0x310f73[_0x7aa5cf(0x44a)])),_0x4d4a41,new Set(_0x37816a[_0x7aa5cf(0x22e)](_0x407089=>_0x407089[_0x7aa5cf(0x44a)])));return{'type':_0x31904d[_0x7aa5cf(0x4a0)],'fields':this[_0x7aa5cf(0x398)](_0xf9507d,_0x12fe12),'rows':_0x450219[_0x7aa5cf(0x522)],'groups':this[_0x7aa5cf(0x313)](_0xf9507d,_0x12fe12,_0x450219[_0x7aa5cf(0x522)],_0x450219[_0x7aa5cf(0x24a)]),'hierarchy':_0x450219['hierarchy'],'frozenFieldCount':typeof _0x12fe12[_0x7aa5cf(0x427)]['frozenFieldCount']==_0x7aa5cf(0x4b3)?_0x12fe12['config'][_0x7aa5cf(0x459)]:0x0};}[_0x274f9f(0x1f3)](_0x538eab,_0xcf5bc0,_0x33fbc5,_0x4e30fe){const _0x5e0e2c=_0x274f9f;let _0x37a5b8=_0x538eab['id']+'\x00'+_0xcf5bc0+'\x00'+_0x33fbc5,_0x432c84=this['_getCellRevision'](_0x538eab['id']),_0x421235=this[_0x5e0e2c(0x1f6)][_0x5e0e2c(0x23e)](_0x37a5b8);if(_0x421235&&_0x421235[_0x5e0e2c(0x415)]===this[_0x5e0e2c(0x464)]&&_0x421235['tableRevision']===this[_0x5e0e2c(0x3ce)](_0x538eab['id'])){if(_0x421235[_0x5e0e2c(0x1dd)]===_0x432c84&&_0x421235['table']===_0x538eab)return _0x421235['index'];if(!this[_0x5e0e2c(0x32a)](_0x538eab['id'],_0x421235[_0x5e0e2c(0x1dd)],_0x432c84,new Set([_0xcf5bc0])))return this[_0x5e0e2c(0x1f6)][_0x5e0e2c(0x317)](_0x37a5b8,{..._0x421235,'table':_0x538eab,'cellRevision':_0x432c84}),_0x421235[_0x5e0e2c(0x519)];}let _0x25b008=F(_0x538eab,_0xcf5bc0,_0x4e30fe);return this[_0x5e0e2c(0x1f6)][_0x5e0e2c(0x317)](_0x37a5b8,{'table':_0x538eab,'index':_0x25b008,'globalRevision':this[_0x5e0e2c(0x464)],'tableRevision':this['_getTableRevision'](_0x538eab['id']),'cellRevision':_0x432c84}),_0x25b008;}[_0x274f9f(0x313)](_0x649c71,_0x2b2fba,_0x3497a9,_0x183f47){const _0x44bec7=_0x274f9f;var _0x3c6af5;if(!((_0x3c6af5=_0x2b2fba[_0x44bec7(0x394)])!=null&&_0x3c6af5['length']))return[];let _0xd8cb59=new Map(_0x3497a9[_0x44bec7(0x22e)](_0x8c6b2=>[_0x8c6b2['recordId'],_0x8c6b2])),_0x8b4b62=_0x183f47[_0x44bec7(0x2f8)][_0x44bec7(0x25e)](_0x5e1da9=>{const _0x610542=_0x44bec7;let _0x5be35c=_0xd8cb59[_0x610542(0x23e)](_0x5e1da9);return _0x5be35c?[_0x5be35c]:[];}),_0x12fd41=this[_0x44bec7(0x3db)](_0x649c71,_0x2b2fba,_0x8b4b62),_0x2a13cc=new Map(_0x183f47[_0x44bec7(0x3b3)][_0x44bec7(0x22e)]((_0x525111,_0x4217cb)=>[_0x525111,_0x4217cb])),_0x3ae708=_0x430742=>{const _0x2fec7e=_0x44bec7;let _0x1985cd=_0x183f47[_0x2fec7e(0x23d)][_0x430742],_0x369101=_0x2a13cc[_0x2fec7e(0x23e)](_0x430742)??-0x1;return _0x369101<0x0||!_0x1985cd?[]:_0x183f47[_0x2fec7e(0x3b3)][_0x2fec7e(0x51c)](_0x369101,_0x1985cd[_0x2fec7e(0x20a)]+0x1);},_0x37ad14=_0x569257=>{const _0xd87164=_0x44bec7;var _0xd01bdb,_0x5593dd;return{..._0x569257,'recordIds':(_0xd01bdb=_0x569257[_0xd87164(0x1fd)])!=null&&_0xd01bdb[_0xd87164(0x353)]?_0x569257[_0xd87164(0x316)]:_0x569257[_0xd87164(0x316)][_0xd87164(0x25e)](_0x3ae708),'children':(_0x5593dd=_0x569257[_0xd87164(0x1fd)])==null?void 0x0:_0x5593dd[_0xd87164(0x22e)](_0x37ad14)};};return _0x12fd41['map'](_0x37ad14);}['_buildKanban'](_0x19dfd0,_0x3c6080){const _0xf8688e=_0x274f9f;var _0x1fa051;let _0x8930e2=this[_0xf8688e(0x36e)](_0x19dfd0,_0x3c6080),_0x8f856e=_0x8930e2?_0x19dfd0[_0xf8688e(0x39f)][_0x8930e2]:void 0x0;if(!_0x8f856e)return{'type':'invalid','viewType':_0x31904d[_0xf8688e(0x3d7)],'reason':_0xf8688e(0x2be),'fieldId':_0x3c6080[_0xf8688e(0x427)][_0xf8688e(0x2e6)]};let _0x368663=this['_projectRows'](_0x19dfd0,_0x3c6080),_0x1194d5=this['_projectFields'](_0x19dfd0,_0x3c6080),_0x7f3819=_0x3c6080[_0xf8688e(0x427)]??{},_0x2109ea=this[_0xf8688e(0x425)](_0x19dfd0,(_0x1fa051=_0x7f3819[_0xf8688e(0x4cb)])==null?void 0x0:_0x1fa051['titleFieldId']),_0x1194c6=this[_0xf8688e(0x379)](_0x19dfd0,_0x3c6080,_0x8f856e['id'],_0x2109ea),_0x5ca0f3=new Map();if(M(_0x19dfd0,_0x8f856e['id'])){let _0x418291=this[_0xf8688e(0x1f3)](_0x19dfd0,_0x8f856e['id'],_0x3c6080['id'],_0x368663[_0xf8688e(0x22e)](_0x291e0d=>_0x291e0d[_0xf8688e(0x44a)])),_0x5e43fd=new Map();return _0x368663['forEach'](_0x16d2b4=>{const _0xc632f=_0xf8688e;let _0x1a6f11=_0x418291[_0xc632f(0x4a8)]['get'](_0x16d2b4[_0xc632f(0x44a)])??null,_0x2e9677=_0x1a6f11??'',_0x186793=_0x1a6f11?_0x19dfd0[_0xc632f(0x3c4)][_0x1a6f11]:void 0x0,_0x4d70fc=_0x5e43fd['get'](_0x2e9677)??{'key':_0x2e9677,'title':_0x186793?String(rt(_0x19dfd0,_0x186793['id'],_0x19dfd0[_0xc632f(0x2db)])??_0x1a6f11):this['_kanbanLaneTitle'](_0x8f856e,_0x2e9677,_0x7f3819),'recordIds':[]};_0x4d70fc['recordIds']['push'](_0x16d2b4['recordId']),_0x5e43fd[_0xc632f(0x317)](_0x2e9677,_0x4d70fc);}),{'type':_0x31904d[_0xf8688e(0x3d7)],'fields':_0x1194d5,'rows':_0x368663,'groups':[],'groupFieldId':_0x8f856e['id'],'titleFieldId':_0x2109ea,'coverFieldId':this[_0xf8688e(0x511)](_0x19dfd0,_0x7f3819),'cardLayout':_0x7f3819['cardLayout']==='compose'?'compose':_0xf8688e(0x268),'showFieldNames':_0x7f3819[_0xf8688e(0x4d2)]!==!0x1,'visibleCardFieldIds':_0x1194c6,'lanes':['',..._0x418291[_0xf8688e(0x3b3)]]['flatMap'](_0x5c0b14=>{const _0x8bf405=_0xf8688e;let _0x228413=_0x5e43fd[_0x8bf405(0x23e)](_0x5c0b14);return _0x228413!=null&&_0x228413['recordIds'][_0x8bf405(0x353)]?[_0x228413]:[];})};}return this[_0xf8688e(0x1d3)](_0x8f856e,_0x7f3819)[_0xf8688e(0x366)](_0x4ea7f4=>_0x5ca0f3['set'](_0x4ea7f4[_0xf8688e(0x3fd)],{..._0x4ea7f4,'recordIds':[]})),_0x368663[_0xf8688e(0x366)](_0x290053=>{const _0x164bfe=_0xf8688e;this[_0x164bfe(0x476)](_0x8f856e,_0x290053[_0x164bfe(0x33c)][_0x8f856e['id']])[_0x164bfe(0x366)](_0x208d75=>{const _0x5bc9c4=_0x164bfe;let _0x5cb1c9=_0x5ca0f3[_0x5bc9c4(0x23e)](_0x208d75)??{'key':_0x208d75,'title':this[_0x5bc9c4(0x225)](_0x8f856e,_0x208d75,_0x7f3819),'color':this['_kanbanLaneColor'](_0x8f856e,_0x208d75,_0x7f3819),'recordIds':[]};_0x5cb1c9[_0x5bc9c4(0x316)][_0x5bc9c4(0x254)](_0x290053[_0x5bc9c4(0x44a)]),_0x5ca0f3[_0x5bc9c4(0x317)](_0x208d75,_0x5cb1c9);});}),{'type':_0x31904d[_0xf8688e(0x3d7)],'fields':_0x1194d5,'rows':_0x368663,'groups':this[_0xf8688e(0x3db)](_0x19dfd0,_0x3c6080,_0x368663),'groupFieldId':_0x8f856e['id'],'titleFieldId':_0x2109ea,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x19dfd0,_0x7f3819),'cardLayout':_0x7f3819['cardLayout']===_0xf8688e(0x508)?_0xf8688e(0x508):_0xf8688e(0x268),'showFieldNames':_0x7f3819[_0xf8688e(0x4d2)]!==!0x1,'visibleCardFieldIds':_0x1194c6,'lanes':Array[_0xf8688e(0x2a4)](_0x5ca0f3['values']())};}[_0x274f9f(0x36e)](_0x5cabcd,_0x5db778){const _0x157b09=_0x274f9f;var _0x1c69ac;let _0x2b7cb6=(_0x1c69ac=_0x5db778[_0x157b09(0x427)])==null?void 0x0:_0x1c69ac['groupFieldId'];return _0x2b7cb6&&this[_0x157b09(0x46c)](_0x5cabcd,_0x2b7cb6)?_0x2b7cb6:this[_0x157b09(0x34d)](_0x5cabcd,_0x470487=>this[_0x157b09(0x25d)](_0x470487));}[_0x274f9f(0x34d)](_0x349956,_0x4a7417){const _0x4a04ce=_0x274f9f;for(let _0x267d1c of _0x349956[_0x4a04ce(0x47a)]){let _0x4886b6=_0x349956['fields'][_0x267d1c];if(_0x4886b6&&_0x4a7417(_0x4886b6))return _0x4886b6['id'];}return null;}[_0x274f9f(0x46c)](_0x52e83c,_0x45dea9){const _0x9781c8=_0x274f9f;let _0x9eb415=_0x52e83c[_0x9781c8(0x39f)][_0x45dea9];return this[_0x9781c8(0x25d)](_0x9eb415)||M(_0x52e83c,_0x45dea9);}['_isAllowedKanbanGroupField'](_0x4c4c0a){const _0x330acf=_0x274f9f;return!!_0x4c4c0a&&(_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e[_0x330acf(0x282)]||_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e['MultiSelect']||_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e['Rating']||_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e[_0x330acf(0x33d)]||_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e[_0x330acf(0x1f9)]||_0x4c4c0a[_0x330acf(0x2b9)]===_0x11438e[_0x330acf(0x44d)]);}[_0x274f9f(0x2d5)](_0x574d36){const _0x434873=_0x274f9f;return _0x574d36[_0x434873(0x2b9)]===_0x11438e[_0x434873(0x282)]||_0x574d36[_0x434873(0x2b9)]===_0x11438e[_0x434873(0x3a5)];}[_0x274f9f(0x511)](_0x1f51e6,_0x33d588){const _0x274d90=_0x274f9f;var _0x4ea585;let _0x201204=_0x33d588[_0x274d90(0x210)]??((_0x4ea585=_0x33d588[_0x274d90(0x4cb)])==null?void 0x0:_0x4ea585[_0x274d90(0x210)])??null;if(!_0x201204)return null;let _0x4e26a6=_0x1f51e6['fields'][_0x201204];return _0x4e26a6&&this[_0x274d90(0x3de)](_0x4e26a6)['usableAsCardCover']?_0x4e26a6['id']:null;}['_resolveKanbanCardFieldIds'](_0x4ca0aa,_0x1c4313,_0xe04a77,_0x1bafb3=this['_resolveCardTitleFieldId'](_0x4ca0aa,((()=>{const _0x15a0a1=_0x274f9f;var _0x5be304;return(_0x5be304=_0x1c4313[_0x15a0a1(0x427)])==null||(_0x5be304=_0x5be304[_0x15a0a1(0x4cb)])==null?void 0x0:_0x5be304[_0x15a0a1(0x3ef)];})()))){const _0x401c89=_0x274f9f;var _0xf11445;let _0x1eb071=_0x1c4313[_0x401c89(0x427)]??{},_0x58a18a=(_0xf11445=_0x1eb071[_0x401c89(0x4cb)])!=null&&(_0xf11445=_0xf11445['fieldIds'])!=null&&_0xf11445[_0x401c89(0x353)]?_0x1eb071[_0x401c89(0x4cb)][_0x401c89(0x3e4)]:ir(_0x4ca0aa,[_0x1bafb3,_0x4ca0aa[_0x401c89(0x2db)],_0xe04a77]),_0x1fc806=_0x1eb071[_0x401c89(0x243)]??{};return _0x58a18a[_0x401c89(0x458)](_0x33414c=>{const _0x555882=_0x401c89;var _0x4f7d2b,_0x47ca69;let _0x18e3bf=_0x4ca0aa['fields'][_0x33414c];return!(!_0x18e3bf||_0x18e3bf[_0x555882(0x3a9)]===!0x0||_0x18e3bf[_0x555882(0x2b9)]===_0x11438e[_0x555882(0x20d)]||_0x18e3bf['id']===_0xe04a77||_0x18e3bf['id']===_0x1bafb3||(_0x4f7d2b=_0x1c4313[_0x555882(0x243)])!=null&&(_0x4f7d2b=_0x4f7d2b[_0x33414c])!=null&&_0x4f7d2b[_0x555882(0x418)]||(_0x47ca69=_0x1fc806[_0x33414c])!=null&&_0x47ca69['hidden']);})[_0x401c89(0x456)]((_0x4fc709,_0x518e51)=>{const _0x6965f6=_0x401c89;var _0x167b34,_0x415247;return(((_0x167b34=_0x1fc806[_0x4fc709])==null?void 0x0:_0x167b34[_0x6965f6(0x251)])??_0x58a18a[_0x6965f6(0x502)](_0x4fc709))-(((_0x415247=_0x1fc806[_0x518e51])==null?void 0x0:_0x415247[_0x6965f6(0x251)])??_0x58a18a[_0x6965f6(0x502)](_0x518e51));});}[_0x274f9f(0x1d3)](_0x51b8c5,_0x485146){const _0x5c52f6=_0x274f9f;var _0x10cf11;let _0x38a656=(Array[_0x5c52f6(0x39e)]((_0x10cf11=_0x51b8c5['config'])==null?void 0x0:_0x10cf11[_0x5c52f6(0x4a7)])?_0x51b8c5['config']['options']:[])['flatMap']((_0xf9549,_0x4d4c43)=>{const _0x3a5730=_0x5c52f6;if(_0xf9549==null)return[];let _0x45570a=typeof _0xf9549=='string'?{'id':_0xf9549,'name':_0xf9549,'color':void 0x0}:_0xf9549,_0x45406e=String(_0x45570a['id']??_0x45570a[_0x3a5730(0x248)]??_0x3a5730(0x1e6)+(_0x4d4c43+0x1));return[{'key':_0x45406e,'title':String(_0x45570a[_0x3a5730(0x248)]??_0x45570a['id']??_0x45406e),'color':this['_kanbanLaneColor'](_0x51b8c5,_0x45406e,_0x485146)}];});return Object[_0x5c52f6(0x2d4)](_0x485146[_0x5c52f6(0x362)]??{})[_0x5c52f6(0x366)](([_0x2a3358,_0x3cc130])=>{const _0x8b25c1=_0x5c52f6;_0x38a656[_0x8b25c1(0x29f)](_0x81abe4=>_0x81abe4['key']===_0x2a3358)||_0x38a656['push']({'key':_0x2a3358,'title':this[_0x8b25c1(0x2d5)](_0x51b8c5)?_0x3cc130[_0x8b25c1(0x391)]??this[_0x8b25c1(0x225)](_0x51b8c5,_0x2a3358,_0x485146):this[_0x8b25c1(0x225)](_0x51b8c5,_0x2a3358,_0x485146),'color':this['_kanbanLaneColor'](_0x51b8c5,_0x2a3358,_0x485146)});}),_0x38a656;}[_0x274f9f(0x476)](_0x42091a,_0x3ff367){const _0x4d80eb=_0x274f9f;let _0x89e00f=_0x468ba4=>{const _0x478bb4=_0x2f15;var _0x4e18c1;let _0x5429f6=_0x468ba4==null?'':String(_0x468ba4);return!_0x5429f6||!this[_0x478bb4(0x2d5)](_0x42091a)?_0x5429f6:((_0x4e18c1=Vr(_0x42091a,_0x5429f6))==null?void 0x0:_0x4e18c1['id'])??_0x5429f6;};if(Array[_0x4d80eb(0x39e)](_0x3ff367)){let _0x45f887=_0x3ff367['map'](_0x89e00f)[_0x4d80eb(0x458)](_0x5c9497=>_0x5c9497!=='');return _0x45f887['length']?_0x45f887:[''];}return[_0x89e00f(_0x3ff367)];}['_kanbanLaneTitle'](_0x57d060,_0x30098f,_0x2c706c){const _0x4e7089=_0x274f9f;if(!_0x30098f)return _0x4e7089(0x369);let _0x355040=Vr(_0x57d060,_0x30098f);return(_0x355040==null?void 0x0:_0x355040[_0x4e7089(0x248)])??_0x30098f;}[_0x274f9f(0x283)](_0x27f84b,_0x31722b,_0x373106){const _0x3e01bf=_0x274f9f;var _0x46df38;if(this[_0x3e01bf(0x2d5)](_0x27f84b))return(_0x46df38=Vr(_0x27f84b,_0x31722b))==null?void 0x0:_0x46df38[_0x3e01bf(0x1e3)];}[_0x274f9f(0x47e)](_0x1d3e48,_0x473f81){const _0x3903a8=_0x274f9f;let _0x5b036c=this[_0x3903a8(0x42c)](_0x1d3e48,_0x473f81[_0x3903a8(0x427)]??{}),_0x57cb3c=_0x1d3e48[_0x3903a8(0x39f)][_0x5b036c[_0x3903a8(0x4fe)]];if(!_0x57cb3c||_0x57cb3c[_0x3903a8(0x2b9)]!==_0x11438e[_0x3903a8(0x44b)]||_0x57cb3c[_0x3903a8(0x3ba)]===!0x0||_0x57cb3c[_0x3903a8(0x3a9)]===!0x0||!this['_capabilities'](_0x57cb3c)['usableAsCalendarDate'])return{'type':_0x3903a8(0x402),'viewType':_0x31904d['Calendar'],'reason':_0x3903a8(0x461),'fieldId':_0x5b036c[_0x3903a8(0x4fe)]};let _0x1b8670=_0x5b036c[_0x3903a8(0x25c)]?_0x1d3e48[_0x3903a8(0x39f)][_0x5b036c[_0x3903a8(0x25c)]]:void 0x0,_0x22ab0b=this['_projectRows'](_0x1d3e48,_0x473f81);return{'type':_0x31904d[_0x3903a8(0x4e5)],'config':_0x5b036c,'fields':this[_0x3903a8(0x398)](_0x1d3e48,_0x473f81),'rows':_0x22ab0b,'groups':this[_0x3903a8(0x3db)](_0x1d3e48,_0x473f81,_0x22ab0b),'events':_0x22ab0b[_0x3903a8(0x25e)](_0x5b042c=>{const _0x5655f7=_0x3903a8;let _0x5a9dd4=Kt(_0x5b042c['values'][_0x5b036c['startDateFieldId']]);if(!Number[_0x5655f7(0x1ee)](_0x5a9dd4))return[];let _0x312d42=_0x5b042c['values'][_0x5b036c[_0x5655f7(0x4fe)]],_0x38684d=_0x5b036c[_0x5655f7(0x25c)]==null?void 0x0:_0x5b042c[_0x5655f7(0x33c)][_0x5b036c[_0x5655f7(0x25c)]],_0xa76c8e=_0x5b036c['endDateFieldId']==null?void 0x0:Kt(_0x38684d),_0x173546=Number[_0x5655f7(0x1ee)](_0xa76c8e)?_0xa76c8e:void 0x0;return[{'recordId':_0x5b042c[_0x5655f7(0x44a)],'title':this[_0x5655f7(0x4c4)](_0x1d3e48,_0x5b042c,_0x5b036c[_0x5655f7(0x3ef)]),'start':_0x5a9dd4,'end':_0x173546,'color':this[_0x5655f7(0x302)](_0x1d3e48,_0x5b042c,_0x5b036c),'startMs':_0x5a9dd4,'endMs':_0x173546,'allDay':this[_0x5655f7(0x219)](_0x57cb3c,_0x1b8670,_0x312d42,_0x38684d),'fieldValues':_0x5b042c['values']}];})};}[_0x274f9f(0x42c)](_0x1c0d89,_0xaa9665){const _0x32b051=_0x274f9f;let _0x1773a0=this[_0x32b051(0x2e9)](_0x1c0d89,_0xaa9665['startDateFieldId']),_0x1a9ee4=_0xaa9665[_0x32b051(0x25c)]&&this[_0x32b051(0x304)](_0x1c0d89,_0xaa9665[_0x32b051(0x25c)])?_0xaa9665[_0x32b051(0x25c)]:this['_findCalendarDateFieldId'](_0x1c0d89,_0x1773a0)??void 0x0,_0x407838=_0xaa9665['titleFieldId']?_0x1c0d89[_0x32b051(0x39f)][_0xaa9665[_0x32b051(0x3ef)]]:void 0x0,_0x44f5c3=_0x407838&&_0x407838[_0x32b051(0x3a9)]!==!0x0&&_0x407838[_0x32b051(0x2b9)]!==_0x11438e['RecordId']?_0xaa9665['titleFieldId']:_0x1c0d89[_0x32b051(0x2db)],_0x7a150b=_0xaa9665[_0x32b051(0x392)]===_0x32b051(0x24f)||_0xaa9665[_0x32b051(0x392)]===_0x32b051(0x3a2)?_0xaa9665[_0x32b051(0x392)]:_0x32b051(0x48c),_0x141b9a=_0xaa9665[_0x32b051(0x39c)]==='short'||_0xaa9665['timeslotSize']===_0x32b051(0x357)?_0xaa9665['timeslotSize']:_0x32b051(0x51d),_0x19aae1=typeof _0xaa9665[_0x32b051(0x3e8)]==_0x32b051(0x3c6)&&_0xaa9665[_0x32b051(0x3e8)][_0x32b051(0x2ba)]()?_0xaa9665[_0x32b051(0x3e8)]:_0x32b051(0x29b),_0x2bc489=this[_0x32b051(0x3f4)](_0x1c0d89,_0xaa9665);return{..._0xaa9665,'startDateFieldId':_0x1773a0,'endDateFieldId':_0x1a9ee4,'titleFieldId':_0x44f5c3,'mode':_0x7a150b,'timeslotSize':_0x141b9a,'timeZone':_0x19aae1,'displayColor':_0x2bc489,'fieldSettings':Object[_0x32b051(0x372)](Object[_0x32b051(0x2d4)](_0xaa9665[_0x32b051(0x243)]??{})[_0x32b051(0x458)](([_0x1ae19c])=>{const _0x208bde=_0x32b051;let _0x37dea8=_0x1c0d89[_0x208bde(0x39f)][_0x1ae19c];return!!(_0x37dea8&&_0x37dea8['system']!==!0x0&&_0x37dea8[_0x208bde(0x2b9)]!==_0x11438e[_0x208bde(0x20d)]);}))};}[_0x274f9f(0x2e9)](_0x53894c,_0x2eb4f5){const _0x3d3a06=_0x274f9f;return _0x2eb4f5&&this[_0x3d3a06(0x304)](_0x53894c,_0x2eb4f5)?_0x2eb4f5:this[_0x3d3a06(0x223)](_0x53894c)??_0x2eb4f5??'';}[_0x274f9f(0x223)](_0x5bf8a5,_0x24dfff){const _0x3b9d4a=_0x274f9f;for(let _0x5f4fdf of _0x5bf8a5[_0x3b9d4a(0x47a)])if(_0x5f4fdf!==_0x24dfff&&this['_isCalendarDateField'](_0x5bf8a5,_0x5f4fdf))return _0x5f4fdf;return null;}[_0x274f9f(0x304)](_0x35e5fb,_0xe12f20){const _0x246ad7=_0x274f9f;let _0x445095=_0x35e5fb[_0x246ad7(0x39f)][_0xe12f20];return!!_0x445095&&_0x445095[_0x246ad7(0x2b9)]===_0x11438e['Date']&&_0x445095[_0x246ad7(0x3ba)]!==!0x0&&_0x445095[_0x246ad7(0x3a9)]!==!0x0&&this[_0x246ad7(0x3de)](_0x445095)[_0x246ad7(0x237)];}[_0x274f9f(0x3f4)](_0x496c17,_0x497562){const _0x11a1f8=_0x274f9f;let _0x7fc42e=_0x497562['displayColor'];if((_0x7fc42e==null?void 0x0:_0x7fc42e['type'])===_0x11a1f8(0x49f)){let _0x45884e=_0x496c17[_0x11a1f8(0x39f)][_0x7fc42e[_0x11a1f8(0x419)]];if(_0x45884e&&_0x45884e['type']===_0x11438e[_0x11a1f8(0x282)])return _0x7fc42e;}if((_0x7fc42e==null?void 0x0:_0x7fc42e[_0x11a1f8(0x2b9)])===_0x11a1f8(0x4cf)&&typeof _0x7fc42e['color']==_0x11a1f8(0x3c6)&&_0x7fc42e[_0x11a1f8(0x1e3)][_0x11a1f8(0x2ba)]())return{'type':_0x11a1f8(0x4cf),'color':_0x7fc42e[_0x11a1f8(0x1e3)]};if(_0x497562[_0x11a1f8(0x350)]){let _0x5f495e=_0x496c17['fields'][_0x497562[_0x11a1f8(0x350)]];if(_0x5f495e&&_0x5f495e['type']===_0x11438e[_0x11a1f8(0x282)])return{'type':_0x11a1f8(0x49f),'fieldId':_0x497562[_0x11a1f8(0x350)]};}return{'type':_0x11a1f8(0x4cf),'color':_0x11a1f8(0x517)};}[_0x274f9f(0x302)](_0x31388d,_0xbb2ae6,_0x5be1f0){const _0x10ad52=_0x274f9f;let _0x399e83=_0x5be1f0[_0x10ad52(0x25a)];if((_0x399e83==null?void 0x0:_0x399e83['type'])==='selectField'){var _0x513c90;let _0x1422a5=_0x31388d[_0x10ad52(0x39f)][_0x399e83[_0x10ad52(0x419)]];if(!_0x1422a5)return;let _0x54adf1=_0xbb2ae6['values'][_0x399e83[_0x10ad52(0x419)]],_0x59747f=Array[_0x10ad52(0x39e)](_0x54adf1)?_0x54adf1[0x0]:_0x54adf1;return _0x59747f==null||(_0x513c90=Vr(_0x1422a5,String(_0x59747f)))==null?void 0x0:_0x513c90[_0x10ad52(0x1e3)];}if((_0x399e83==null?void 0x0:_0x399e83[_0x10ad52(0x2b9)])===_0x10ad52(0x4cf))return _0x399e83[_0x10ad52(0x1e3)];}[_0x274f9f(0x219)](_0x11eb5f,_0xebeac,_0x2f106b,_0x2e8236){const _0x56ccae=_0x274f9f;var _0x4a0892,_0x133216;let _0x4c6fe7=((_0x4a0892=_0x11eb5f[_0x56ccae(0x427)])==null?void 0x0:_0x4a0892[_0x56ccae(0x4b8)])===!0x0,_0x510810=(_0xebeac==null||(_0x133216=_0xebeac[_0x56ccae(0x427)])==null?void 0x0:_0x133216[_0x56ccae(0x4b8)])===!0x0;return!_0x4c6fe7&&!_0x510810;}[_0x274f9f(0x2b2)](_0x14fc52,_0x513248){const _0x32a556=_0x274f9f;var _0x567a09,_0x494b8a;let _0x59fdd9=((_0x567a09=_0x14fc52[_0x32a556(0x427)])==null?void 0x0:_0x567a09['includeTime'])===!0x0,_0x23c488=((_0x494b8a=_0x513248[_0x32a556(0x427)])==null?void 0x0:_0x494b8a[_0x32a556(0x4b8)])===!0x0;return!_0x59fdd9&&!_0x23c488;}[_0x274f9f(0x436)](_0x55def9,_0x795292){const _0x1a653f=_0x274f9f;let _0x2d2386=this[_0x1a653f(0x393)](_0x55def9,_0x795292[_0x1a653f(0x427)]),_0x194961=_0x55def9[_0x1a653f(0x39f)][_0x2d2386['startDateFieldId']];if(!_0x194961||_0x194961[_0x1a653f(0x2b9)]!==_0x11438e[_0x1a653f(0x44b)]||_0x194961['readonly']===!0x0||_0x194961[_0x1a653f(0x3a9)]===!0x0||!this['_capabilities'](_0x194961)['usableAsGanttStart'])return{'type':'invalid','viewType':_0x31904d['Gantt'],'reason':_0x1a653f(0x2d3),'fieldId':_0x2d2386[_0x1a653f(0x4fe)]};let _0x378924=_0x55def9[_0x1a653f(0x39f)][_0x2d2386[_0x1a653f(0x25c)]];if(!_0x378924||_0x378924['type']!==_0x11438e[_0x1a653f(0x44b)]||_0x378924['readonly']===!0x0||_0x378924['system']===!0x0||!this['_capabilities'](_0x378924)[_0x1a653f(0x3fc)])return{'type':_0x1a653f(0x402),'viewType':_0x31904d[_0x1a653f(0x40d)],'reason':'invalidGanttEndField','fieldId':_0x2d2386[_0x1a653f(0x25c)]};let _0x2ac952=this['_isAllDayGanttDateRange'](_0x194961,_0x378924),_0x3197b8=this[_0x1a653f(0x2d9)](_0x55def9,_0x795292),_0x16b020=_0x3197b8['flatMap'](_0x1959df=>{const _0x442c24=_0x1a653f;let _0xa4233b=Kt(_0x1959df[_0x442c24(0x33c)][_0x2d2386[_0x442c24(0x4fe)]]),_0x16321c=Kt(_0x1959df[_0x442c24(0x33c)][_0x2d2386['endDateFieldId']]);if(!Number['isFinite'](_0xa4233b)||!Number['isFinite'](_0x16321c))return[];let _0x5c544c=Math[_0x442c24(0x4ff)](_0xa4233b,_0x16321c),_0x2e1ef8=Math['max'](_0xa4233b,_0x16321c),_0x3ad8ba=_0x2d2386[_0x442c24(0x247)]==null?void 0x0:Number(_0x1959df['values'][_0x2d2386[_0x442c24(0x247)]]);return[{'recordId':_0x1959df[_0x442c24(0x44a)],'title':this['_title'](_0x55def9,_0x1959df,_0x2d2386['titleFieldId']),'start':_0x5c544c,'end':_0x2e1ef8,'color':this['_ganttBarColor'](_0x55def9,_0x1959df,_0x2d2386),'progress':Number['isFinite'](_0x3ad8ba)?_0x3ad8ba:void 0x0,'workingDayCount':_0x2d2386[_0x442c24(0x3d8)]?Ar(_0x5c544c,_0x2e1ef8,_0x2d2386[_0x442c24(0x40e)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x1959df[_0x442c24(0x33c)][_0x2d2386[_0x442c24(0x1de)]??''])}];}),_0x352174=_0x16b020[_0x1a653f(0x353)]?Y(Math['min'](..._0x16b020[_0x1a653f(0x22e)](_0x46b6e9=>_0x46b6e9[_0x1a653f(0x420)]))-0x5a*br):Y(Date[_0x1a653f(0x4df)]()-0x5a*br),_0xb18c22=_0x16b020[_0x1a653f(0x353)]?Y(Math['max'](..._0x16b020[_0x1a653f(0x22e)](_0x1e129b=>_0x1e129b[_0x1a653f(0x417)]))+0x5b*br):Y(Date[_0x1a653f(0x4df)]()+0x5b*br),_0x47881c=Sr(_0x2d2386['scale'],_0x352174,_0xb18c22,_0x2d2386['workingDaysOnly']?_0x2d2386[_0x1a653f(0x40e)]:void 0x0);return{'type':_0x31904d[_0x1a653f(0x40d)],'fields':this[_0x1a653f(0x398)](_0x55def9,{..._0x795292,'config':_0x2d2386}),'rows':_0x3197b8,'groups':this[_0x1a653f(0x3db)](_0x55def9,_0x795292,_0x3197b8),'config':_0x2d2386,'dateRangeAllDay':_0x2ac952,'timeline':{'scale':_0x2d2386[_0x1a653f(0x2d8)],'start':_0x352174,'end':_0xb18c22,'unitWidth':_0x47881c[_0x1a653f(0x4c8)],'majorHeaders':_0x47881c[_0x1a653f(0x377)],'columns':_0x47881c[_0x1a653f(0x512)]},'bars':_0x16b020};}['_normalizeGanttConfig'](_0x4dad78,_0x2370b8){const _0x30d9ff=_0x274f9f;let _0xf64805=this[_0x30d9ff(0x36c)](_0x4dad78,_0x2370b8['startDateFieldId'],'start'),_0x3c8104=this[_0x30d9ff(0x36c)](_0x4dad78,_0x2370b8[_0x30d9ff(0x25c)],_0x30d9ff(0x417))||_0xf64805,_0x525c38=_0x2370b8['titleFieldId']?_0x4dad78['fields'][_0x2370b8['titleFieldId']]:void 0x0,_0x392481=_0x525c38&&_0x525c38[_0x30d9ff(0x3a9)]!==!0x0&&_0x525c38[_0x30d9ff(0x2b9)]!==_0x11438e['RecordId']?_0x2370b8['titleFieldId']:_0x4dad78[_0x30d9ff(0x2db)],_0x1eed20=_0x2370b8[_0x30d9ff(0x2d8)]==='week'||_0x2370b8[_0x30d9ff(0x2d8)]===_0x30d9ff(0x39a)||_0x2370b8[_0x30d9ff(0x2d8)]===_0x30d9ff(0x4da)?_0x2370b8[_0x30d9ff(0x2d8)]:_0x30d9ff(0x48c),_0xef1036=xr(_0x2370b8[_0x30d9ff(0x40e)]);return{..._0x2370b8,'startDateFieldId':_0xf64805,'endDateFieldId':_0x3c8104,'titleFieldId':_0x392481,'scale':_0x1eed20,'leftPaneWidth':typeof _0x2370b8[_0x30d9ff(0x201)]==_0x30d9ff(0x4b3)?_0x2370b8[_0x30d9ff(0x201)]:void 0x0,'leftPaneCollapsed':_0x2370b8[_0x30d9ff(0x2d1)]===!0x0,'showTodayLine':_0x2370b8[_0x30d9ff(0x2c0)]!==!0x1,'displayColor':this[_0x30d9ff(0x2a0)](_0x4dad78,_0x2370b8),'fieldSettings':Object[_0x30d9ff(0x372)](Object[_0x30d9ff(0x2d4)](_0x2370b8['fieldSettings']??{})[_0x30d9ff(0x458)](([_0x1b7bcb])=>{const _0x1deff7=_0x30d9ff;let _0x1a0ee8=_0x4dad78[_0x1deff7(0x39f)][_0x1b7bcb];return!!(_0x1a0ee8&&_0x1a0ee8[_0x1deff7(0x3a9)]!==!0x0&&_0x1a0ee8[_0x1deff7(0x2b9)]!==_0x11438e[_0x1deff7(0x20d)]);})),'workingDaysOnly':_0x2370b8[_0x30d9ff(0x3d8)]===!0x0,'workingDays':_0xef1036};}['_resolveGanttDateFieldId'](_0x5c4e0a,_0x4600cb,_0x345102){const _0x373c55=_0x274f9f;if(_0x4600cb&&this[_0x373c55(0x220)](_0x5c4e0a,_0x4600cb,_0x345102)||_0x4600cb)return _0x4600cb;for(let _0x3366d9 of _0x5c4e0a[_0x373c55(0x47a)])if(this['_isGanttDateField'](_0x5c4e0a,_0x3366d9,_0x345102))return _0x3366d9;return _0x4600cb??'';}['_isGanttDateField'](_0x1961c9,_0xa611,_0x5d39f0){const _0x2baeca=_0x274f9f;let _0x5f98ae=_0x1961c9['fields'][_0xa611];if(!_0x5f98ae||_0x5f98ae[_0x2baeca(0x2b9)]!==_0x11438e[_0x2baeca(0x44b)]||_0x5f98ae['readonly']===!0x0||_0x5f98ae[_0x2baeca(0x3a9)]===!0x0)return!0x1;let _0x23c829=this[_0x2baeca(0x3de)](_0x5f98ae);return _0x5d39f0===_0x2baeca(0x420)?_0x23c829['usableAsGanttStart']:_0x23c829[_0x2baeca(0x3fc)];}[_0x274f9f(0x2a0)](_0x4029ae,_0x511e20){const _0x46aab8=_0x274f9f;let _0x4829a3=_0x511e20[_0x46aab8(0x25a)];if((_0x4829a3==null?void 0x0:_0x4829a3[_0x46aab8(0x2b9)])===_0x46aab8(0x49f)){let _0x4c6b68=_0x4029ae[_0x46aab8(0x39f)][_0x4829a3['fieldId']];if(_0x4c6b68&&_0x4c6b68[_0x46aab8(0x2b9)]===_0x11438e['SingleSelect'])return _0x4829a3;}return(_0x4829a3==null?void 0x0:_0x4829a3['type'])===_0x46aab8(0x388)&&Array[_0x46aab8(0x39e)](_0x4829a3[_0x46aab8(0x26c)])?{'type':'conditional','rules':_0x4829a3['rules'][_0x46aab8(0x458)](_0x59edc7=>!!_0x4029ae[_0x46aab8(0x39f)][_0x59edc7[_0x46aab8(0x419)]])}:(_0x4829a3==null?void 0x0:_0x4829a3[_0x46aab8(0x2b9)])===_0x46aab8(0x4cf)&&typeof _0x4829a3[_0x46aab8(0x1e3)]=='string'&&_0x4829a3[_0x46aab8(0x1e3)][_0x46aab8(0x2ba)]()?{'type':_0x46aab8(0x4cf),'color':_0x4829a3[_0x46aab8(0x1e3)]}:{'type':_0x46aab8(0x4cf),'color':_0x46aab8(0x321)};}[_0x274f9f(0x34c)](_0x5688ef,_0x46e87e,_0x477b3f){const _0x2c5451=_0x274f9f;let _0x121325=_0x477b3f[_0x2c5451(0x25a)];if((_0x121325==null?void 0x0:_0x121325[_0x2c5451(0x2b9)])==='conditional'){let _0x2d1a4e=_0x121325[_0x2c5451(0x26c)][_0x2c5451(0x271)](_0x1cb1bb=>this[_0x2c5451(0x286)](_0x5688ef,_0x46e87e,_0x1cb1bb));if(_0x2d1a4e)return _0x2d1a4e['color'];}if((_0x121325==null?void 0x0:_0x121325[_0x2c5451(0x2b9)])===_0x2c5451(0x49f)){let _0x7b13ef=_0x5688ef['fields'][_0x121325[_0x2c5451(0x419)]];if(_0x7b13ef){var _0x5e7cc5;let _0x3684e9=_0x46e87e['values'][_0x121325['fieldId']],_0x8e10ad=Array[_0x2c5451(0x39e)](_0x3684e9)?_0x3684e9[0x0]:_0x3684e9,_0xcdfe8e=_0x8e10ad==null||(_0x5e7cc5=Vr(_0x7b13ef,String(_0x8e10ad)))==null?void 0x0:_0x5e7cc5[_0x2c5451(0x1e3)];if(_0xcdfe8e)return _0xcdfe8e;}}return(_0x121325==null?void 0x0:_0x121325['type'])===_0x2c5451(0x4cf)?_0x121325[_0x2c5451(0x1e3)]:_0x2c5451(0x321);}['_matchesGanttColorRule'](_0x10b598,_0x59463e,_0x142675){const _0x35c178=_0x274f9f;let _0x580123=_0x10b598['fields'][_0x142675[_0x35c178(0x419)]];return _0x580123?nn(_0x59463e[_0x35c178(0x33c)][_0x580123['id']],_0x142675[_0x35c178(0x401)],_0x142675[_0x35c178(0x528)],_0x580123,{'dateMode':_0x142675[_0x35c178(0x205)]}):!0x1;}[_0x274f9f(0x35c)](_0x2cf056,_0xb5a17b){const _0x15321f=_0x274f9f;let _0x2fff1b=this[_0x15321f(0x2d9)](_0x2cf056,_0xb5a17b),_0x455d3a=this['_normalizeGalleryConfig'](_0x2cf056,_0xb5a17b['config']??{}),_0x2ca2fb=this[_0x15321f(0x398)](_0x2cf056,_0xb5a17b);return{'type':_0x31904d[_0x15321f(0x1fb)],'fields':_0x2ca2fb,'rows':_0x2fff1b,'groups':this[_0x15321f(0x3db)](_0x2cf056,_0xb5a17b,_0x2fff1b),'titleFieldId':_0x455d3a[_0x15321f(0x4cb)][_0x15321f(0x3ef)],'coverFieldId':_0x455d3a[_0x15321f(0x210)],'cardLayout':_0x455d3a['cardLayout']??'normal','showFieldNames':_0x455d3a[_0x15321f(0x4d2)]!==!0x1,'visibleCardFieldIds':this[_0x15321f(0x3c5)](_0x2cf056,_0xb5a17b,_0x455d3a),'cardSize':_0x455d3a[_0x15321f(0x3ea)]??_0x15321f(0x51d),'cards':_0x2fff1b['map'](_0x179c72=>({'recordId':_0x179c72[_0x15321f(0x44a)],'title':this['_title'](_0x2cf056,_0x179c72,_0x455d3a['card'][_0x15321f(0x3ef)]),'values':_0x179c72[_0x15321f(0x33c)]}))};}[_0x274f9f(0x4d1)](_0x389f73,_0xf888ea){const _0x4b0a32=_0x274f9f;let _0x3d9fcb=_0xf888ea[_0x4b0a32(0x4cb)]??{'fieldIds':[]},_0x5d1e7e=this[_0x4b0a32(0x425)](_0x389f73,_0x3d9fcb[_0x4b0a32(0x3ef)]),_0x1f7ed6=this[_0x4b0a32(0x28c)](_0x389f73,_0xf888ea),_0x2192e4=_0xf888ea[_0x4b0a32(0x3ea)]===_0x4b0a32(0x3e5)||_0xf888ea[_0x4b0a32(0x3ea)]==='large'?_0xf888ea[_0x4b0a32(0x3ea)]:_0x4b0a32(0x51d);return{..._0xf888ea,'coverFieldId':_0x1f7ed6,'cardLayout':_0xf888ea[_0x4b0a32(0x521)]===_0x4b0a32(0x508)?_0x4b0a32(0x508):_0x4b0a32(0x268),'showFieldNames':_0xf888ea[_0x4b0a32(0x4d2)]!==!0x1,'fieldSettings':Object[_0x4b0a32(0x372)](Object[_0x4b0a32(0x2d4)](_0xf888ea['fieldSettings']??{})['filter'](([_0x38ee2e])=>{const _0x49bfac=_0x4b0a32;let _0x1a427f=_0x389f73['fields'][_0x38ee2e];return!!(_0x1a427f&&_0x1a427f[_0x49bfac(0x3a9)]!==!0x0&&_0x1a427f[_0x49bfac(0x2b9)]!==_0x11438e[_0x49bfac(0x20d)]);})),'card':{..._0x3d9fcb,'titleFieldId':_0x5d1e7e,'coverFieldId':_0x1f7ed6,'fieldIds':Array[_0x4b0a32(0x39e)](_0x3d9fcb[_0x4b0a32(0x3e4)])?_0x3d9fcb[_0x4b0a32(0x3e4)]:[]},'cardSize':_0x2192e4};}[_0x274f9f(0x425)](_0x5247c5,_0x2fbfea){const _0x49db2d=_0x274f9f;let _0x1df1a1=_0x2fbfea?_0x5247c5[_0x49db2d(0x39f)][_0x2fbfea]:void 0x0;return _0x1df1a1&&_0x1df1a1[_0x49db2d(0x3a9)]!==!0x0&&_0x1df1a1['type']!==_0x11438e[_0x49db2d(0x20d)]?_0x1df1a1['id']:rr(_0x5247c5);}['_resolveGalleryCoverFieldId'](_0x5a8ddc,_0x512216){const _0x111223=_0x274f9f;var _0x414198;let _0x45cce1=_0x512216[_0x111223(0x210)]??((_0x414198=_0x512216[_0x111223(0x4cb)])==null?void 0x0:_0x414198['coverFieldId'])??null;if(!_0x45cce1)return null;let _0x19dabb=_0x5a8ddc[_0x111223(0x39f)][_0x45cce1];return _0x19dabb&&this[_0x111223(0x3de)](_0x19dabb)[_0x111223(0x322)]?_0x19dabb['id']:null;}['_resolveGalleryCardFieldIds'](_0x1365c3,_0x5262e5,_0xc97d12){const _0x432ce9=_0x274f9f;var _0xe5e104,_0x34c473,_0x3ac236;let _0x5553b2=_0xc97d12[_0x432ce9(0x243)]??{},_0x416b35=((_0xe5e104=_0xc97d12[_0x432ce9(0x4cb)])==null?void 0x0:_0xe5e104[_0x432ce9(0x3ef)])??rr(_0x1365c3),_0x662511=_0xc97d12[_0x432ce9(0x210)]??((_0x34c473=_0xc97d12['card'])==null?void 0x0:_0x34c473[_0x432ce9(0x210)])??null,_0x363e0b=(_0x3ac236=_0xc97d12[_0x432ce9(0x4cb)])!=null&&(_0x3ac236=_0x3ac236[_0x432ce9(0x3e4)])!=null&&_0x3ac236[_0x432ce9(0x353)]?_0xc97d12[_0x432ce9(0x4cb)][_0x432ce9(0x3e4)]:ir(_0x1365c3,[_0x416b35,_0x662511,_0x1365c3['primaryFieldId']]);return _0x363e0b[_0x432ce9(0x458)](_0x523133=>{const _0x536979=_0x432ce9;var _0x41c7d9,_0x5cc0cb;let _0x1457ef=_0x1365c3['fields'][_0x523133];return!(!_0x1457ef||_0x1457ef[_0x536979(0x3a9)]===!0x0||_0x1457ef['type']===_0x11438e[_0x536979(0x20d)]||_0x1457ef['id']===_0x416b35||_0x1457ef['id']===_0x662511||(_0x41c7d9=_0x5262e5[_0x536979(0x243)])!=null&&(_0x41c7d9=_0x41c7d9[_0x523133])!=null&&_0x41c7d9[_0x536979(0x418)]||(_0x5cc0cb=_0x5553b2[_0x523133])!=null&&_0x5cc0cb[_0x536979(0x418)]);})[_0x432ce9(0x456)]((_0x54bef3,_0x389a24)=>{const _0x331592=_0x432ce9;var _0x429456,_0x7788a7;return(((_0x429456=_0x5553b2[_0x54bef3])==null?void 0x0:_0x429456[_0x331592(0x251)])??_0x363e0b[_0x331592(0x502)](_0x54bef3))-(((_0x7788a7=_0x5553b2[_0x389a24])==null?void 0x0:_0x7788a7[_0x331592(0x251)])??_0x363e0b[_0x331592(0x502)](_0x389a24));});}[_0x274f9f(0x398)](_0x2e57d9,_0x14ac02){const _0x174d32=_0x274f9f;var _0x4ec7b5;return((_0x4ec7b5=_0x14ac02[_0x174d32(0x47a)])!=null&&_0x4ec7b5['length']?_0x14ac02['fieldOrder']:_0x2e57d9[_0x174d32(0x47a)])[_0x174d32(0x25e)](_0x44b84f=>{const _0x32d9ce=_0x174d32;var _0x574773;let _0x519ea5=_0x2e57d9[_0x32d9ce(0x39f)][_0x44b84f],_0x15598b=((_0x574773=_0x14ac02[_0x32d9ce(0x243)])==null?void 0x0:_0x574773[_0x44b84f])??{};return!_0x519ea5||_0x519ea5[_0x32d9ce(0x3a9)]===!0x0||_0x519ea5[_0x32d9ce(0x2b9)]===_0x11438e['RecordId']||_0x15598b[_0x32d9ce(0x418)]?[]:[{'id':_0x519ea5['id'],'name':_0x519ea5[_0x32d9ce(0x248)],'description':_0x519ea5[_0x32d9ce(0x291)],'type':_0x519ea5['type'],'config':_0x519ea5[_0x32d9ce(0x427)],'width':_0x15598b[_0x32d9ce(0x35b)],'setting':_0x15598b}];});}[_0x274f9f(0x2d9)](_0x122922,_0x293bcb){const _0x1a2659=_0x274f9f;var _0x543771;return I(_0x1a2659(0x218),()=>{const _0x459eef=_0x1a2659;var _0x4ff27e,_0x4bd4d0;let _0x448334=this[_0x459eef(0x4f8)](_0x122922),_0x35d970=this[_0x459eef(0x306)](_0x122922['id'],_0x293bcb),_0x65c5c=this[_0x459eef(0x290)](_0x122922['id']),_0x1f89dc=this[_0x459eef(0x2dc)][_0x459eef(0x23e)](_0x35d970);if(_0x1f89dc&&_0x1f89dc['globalRevision']===this[_0x459eef(0x464)]&&_0x1f89dc[_0x459eef(0x440)]===this['_getTableRevision'](_0x122922['id'])){if(_0x1f89dc[_0x459eef(0x1dd)]===_0x65c5c&&_0x1f89dc['baseRows']===_0x448334)return _0x1f89dc[_0x459eef(0x522)];if(_0x1f89dc[_0x459eef(0x1dd)]!==_0x65c5c&&!this['_cellInvalidationsTouchFields'](_0x122922['id'],_0x1f89dc[_0x459eef(0x1dd)],_0x65c5c,this['_filterSortFieldIds'](_0x293bcb))){let _0x2ecf57=_0x1f89dc[_0x459eef(0x522)]===_0x1f89dc[_0x459eef(0x229)]?_0x448334:this[_0x459eef(0x360)](_0x1f89dc['rows'],_0x448334);if(_0x2ecf57)return this[_0x459eef(0x2dc)]['set'](_0x35d970,{..._0x1f89dc,'rows':_0x2ecf57,'baseRows':_0x448334,'cellRevision':_0x65c5c}),_0x2ecf57;}}let _0x33ea8c=I(_0x459eef(0x242),()=>this['_sortRows'](_0x122922,_0x293bcb,this[_0x459eef(0x399)](_0x122922,_0x293bcb,_0x448334)),{'tableId':_0x122922['id'],'viewId':_0x293bcb==null?void 0x0:_0x293bcb['id'],'viewType':_0x293bcb==null?void 0x0:_0x293bcb['type'],'rows':_0x448334[_0x459eef(0x353)],'filters':(_0x293bcb==null||(_0x4ff27e=_0x293bcb[_0x459eef(0x458)])==null?void 0x0:_0x4ff27e[_0x459eef(0x400)]['length'])??0x0,'sorts':(_0x293bcb==null||(_0x4bd4d0=_0x293bcb[_0x459eef(0x456)])==null?void 0x0:_0x4bd4d0[_0x459eef(0x353)])??0x0});return this[_0x459eef(0x2dc)][_0x459eef(0x317)](_0x35d970,{'table':_0x122922,'rows':_0x33ea8c,'baseRows':_0x448334,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x459eef(0x3ce)](_0x122922['id']),'cellRevision':_0x65c5c}),_0x33ea8c;},{'tableId':_0x122922['id'],'viewId':_0x293bcb==null?void 0x0:_0x293bcb['id'],'viewType':_0x293bcb==null?void 0x0:_0x293bcb[_0x1a2659(0x2b9)],'records':((_0x543771=_0x122922['recordOrder'])==null?void 0x0:_0x543771[_0x1a2659(0x353)])??Object[_0x1a2659(0x311)](_0x122922[_0x1a2659(0x3c4)]??{})[_0x1a2659(0x353)]});}[_0x274f9f(0x4f8)](_0x277967){const _0x59431c=_0x274f9f;var _0x347d24;return I('BaseProjection.projectTableRows',()=>{const _0x2b0614=_0x2f15;var _0x11267b;let _0x367499=this[_0x2b0614(0x290)](_0x277967['id']),_0x2aeba6=this[_0x2b0614(0x224)]['get'](_0x277967['id']);if(_0x2aeba6&&_0x2aeba6['globalRevision']===this['_globalRevision']&&_0x2aeba6[_0x2b0614(0x440)]===this['_getTableRevision'](_0x277967['id'])){if(_0x2aeba6[_0x2b0614(0x1dd)]===_0x367499&&_0x2aeba6[_0x2b0614(0x258)]===_0x277967)return _0x2aeba6['rows'];let _0x301e14=this[_0x2b0614(0x51b)](_0x277967,_0x2aeba6,_0x367499);if(_0x301e14)return _0x301e14;}hr(_0x277967)||L(_0x277967);let _0x3b0ff4=(_0x11267b=_0x277967['recordOrder'])!=null&&_0x11267b[_0x2b0614(0x353)]?_0x277967[_0x2b0614(0x4fd)]:yr(_0x277967['records']),_0x46237b=I(_0x2b0614(0x27c),()=>{const _0x5eae8f=_0x2b0614;let _0x5f089e=[];for(let _0x107406 of _0x3b0ff4){let _0x44b57b=_0x277967[_0x5eae8f(0x3c4)][_0x107406];if(!_0x44b57b)continue;let _0x41a242={};for(let _0xf528ec of _0x277967['fieldOrder'])_0x41a242[_0xf528ec]=rt(_0x277967,_0x44b57b['id'],_0xf528ec);_0x5f089e['push']({'recordId':_0x44b57b['id'],'values':_0x41a242});}return _0x5f089e;},{'tableId':_0x277967['id'],'records':_0x3b0ff4[_0x2b0614(0x353)],'fields':_0x277967[_0x2b0614(0x47a)][_0x2b0614(0x353)]});return this['_projectedRowsCache'][_0x2b0614(0x317)](_0x277967['id'],{'table':_0x277967,'rows':_0x46237b,'rowIndexById':mr(_0x46237b),'globalRevision':this[_0x2b0614(0x464)],'tableRevision':this[_0x2b0614(0x3ce)](_0x277967['id']),'cellRevision':_0x367499}),_0x46237b;},{'tableId':_0x277967['id'],'records':((_0x347d24=_0x277967[_0x59431c(0x4fd)])==null?void 0x0:_0x347d24[_0x59431c(0x353)])??Object[_0x59431c(0x311)](_0x277967[_0x59431c(0x3c4)]??{})['length'],'fields':_0x277967[_0x59431c(0x47a)]['length']});}[_0x274f9f(0x51b)](_0x6e2934,_0x16b418,_0x248a2b){const _0x30fff2=_0x274f9f;let _0x41982f=(this[_0x30fff2(0x3a8)][_0x30fff2(0x23e)](_0x6e2934['id'])??[])['filter'](_0x553c6a=>_0x553c6a[_0x30fff2(0x4d4)]>_0x16b418[_0x30fff2(0x1dd)]&&_0x553c6a[_0x30fff2(0x4d4)]<=_0x248a2b);if(!_0x41982f[_0x30fff2(0x353)])return _0x16b418[_0x30fff2(0x258)]===_0x6e2934?_0x16b418[_0x30fff2(0x522)]:null;let _0x5cfa25=_0x16b418[_0x30fff2(0x522)],_0x587a7f=new Map();for(let _0x3978a7 of _0x41982f){let _0x3e1f5f=_0x587a7f[_0x30fff2(0x23e)](_0x3978a7['recordId']);_0x3e1f5f||(_0x3e1f5f=new Set(),_0x587a7f['set'](_0x3978a7[_0x30fff2(0x44a)],_0x3e1f5f)),_0x3e1f5f[_0x30fff2(0x4a3)](_0x3978a7[_0x30fff2(0x419)]);}for(let [_0x42e4c9,_0x3ccf98]of _0x587a7f){if(!_0x6e2934[_0x30fff2(0x3c4)][_0x42e4c9])return null;let _0x3c2716=_0x16b418[_0x30fff2(0x354)][_0x30fff2(0x23e)](_0x42e4c9);if(_0x3c2716==null)return null;_0x5cfa25===_0x16b418[_0x30fff2(0x522)]&&(_0x5cfa25=[..._0x16b418[_0x30fff2(0x522)]]);let _0x231bdb=_0x5cfa25[_0x3c2716],_0x64da70={..._0x231bdb[_0x30fff2(0x33c)]};_0x3ccf98[_0x30fff2(0x366)](_0x5baf3c=>{_0x64da70[_0x5baf3c]=rt(_0x6e2934,_0x42e4c9,_0x5baf3c);}),_0x5cfa25[_0x3c2716]={..._0x231bdb,'values':_0x64da70};}let _0x3d5eb9={'table':_0x6e2934,'rows':_0x5cfa25,'rowIndexById':_0x16b418[_0x30fff2(0x354)],'globalRevision':this[_0x30fff2(0x464)],'tableRevision':this['_getTableRevision'](_0x6e2934['id']),'cellRevision':_0x248a2b};return this[_0x30fff2(0x224)][_0x30fff2(0x317)](_0x6e2934['id'],_0x3d5eb9),this[_0x30fff2(0x3a8)]['set'](_0x6e2934['id'],(this[_0x30fff2(0x3a8)][_0x30fff2(0x23e)](_0x6e2934['id'])??[])[_0x30fff2(0x458)](_0x2d7439=>_0x2d7439['revision']>Math[_0x30fff2(0x3f9)](0x0,_0x248a2b-0x100))),_0x5cfa25;}[_0x274f9f(0x360)](_0x4aa327,_0x436626){const _0xc1776=_0x274f9f;let _0x427f46=new Map(_0x436626[_0xc1776(0x22e)](_0x41b57b=>[_0x41b57b[_0xc1776(0x44a)],_0x41b57b])),_0x47fac3=!0x1,_0x2dad4f=_0x4aa327[_0xc1776(0x22e)](_0x45ccf=>{const _0x53e8dd=_0xc1776;let _0x1ba36e=_0x427f46[_0x53e8dd(0x23e)](_0x45ccf['recordId']);return _0x1ba36e?_0x1ba36e===_0x45ccf?_0x45ccf:(_0x47fac3=!0x0,_0x1ba36e):_0x45ccf;});return _0x47fac3?_0x2dad4f:_0x4aa327;}[_0x274f9f(0x32a)](_0x20f57f,_0x2bf985,_0x55208a,_0x9241cd){const _0x377a78=_0x274f9f;return!_0x9241cd[_0x377a78(0x43d)]||_0x2bf985===_0x55208a?!0x1:_0x55208a-_0x2bf985>0x100||(this[_0x377a78(0x3a8)]['get'](_0x20f57f)??[])[_0x377a78(0x29f)](_0x5f5113=>_0x5f5113[_0x377a78(0x4d4)]>_0x2bf985&&_0x5f5113[_0x377a78(0x4d4)]<=_0x55208a&&_0x9241cd[_0x377a78(0x51e)](_0x5f5113[_0x377a78(0x419)]));}[_0x274f9f(0x47d)](_0x26d877){const _0xa0d4ab=_0x274f9f;var _0x2ebc75,_0x584fd2;let _0x3c21a2=new Set();return _0x26d877==null||(_0x2ebc75=_0x26d877[_0xa0d4ab(0x458)])==null||_0x2ebc75[_0xa0d4ab(0x400)][_0xa0d4ab(0x366)](_0x233f18=>_0x3c21a2[_0xa0d4ab(0x4a3)](_0x233f18[_0xa0d4ab(0x419)])),_0x26d877==null||(_0x584fd2=_0x26d877[_0xa0d4ab(0x456)])==null||_0x584fd2[_0xa0d4ab(0x366)](_0x13d9bc=>_0x3c21a2[_0xa0d4ab(0x4a3)](_0x13d9bc[_0xa0d4ab(0x419)])),_0x3c21a2;}[_0x274f9f(0x289)](_0x166b19){const _0x14e1cc=_0x274f9f;var _0x162259;let _0x20337b=this[_0x14e1cc(0x47d)](_0x166b19);return(_0x162259=_0x166b19[_0x14e1cc(0x394)])==null||_0x162259[_0x14e1cc(0x366)](_0x53b9a8=>_0x20337b['add'](_0x53b9a8['fieldId'])),_0x20337b;}['_filterRows'](_0x44899d,_0x3e9552,_0x4f4487){const _0x4a42db=_0x274f9f;let _0x299bcc=_0x3e9552==null?void 0x0:_0x3e9552[_0x4a42db(0x458)];if(!(_0x299bcc!=null&&_0x299bcc[_0x4a42db(0x400)][_0x4a42db(0x353)]))return _0x4f4487;let _0x34d2e5=_0x299bcc[_0x4a42db(0x400)]['filter'](_0x17416f=>!Br(_0x17416f));return _0x34d2e5['length']?_0x4f4487[_0x4a42db(0x458)](_0x31333d=>{const _0x40ad68=_0x4a42db;if(_0x299bcc['conjunction']===_0x14e8fd['OR']){for(let _0x22f851 of _0x34d2e5){let _0x54de8c=_0x44899d['fields'][_0x22f851[_0x40ad68(0x419)]];if(!_0x54de8c||this['_fieldRegistry'][_0x40ad68(0x23e)](_0x54de8c[_0x40ad68(0x2b9)])['filter'](_0x31333d[_0x40ad68(0x33c)][_0x54de8c['id']],_0x22f851[_0x40ad68(0x401)],_0x22f851[_0x40ad68(0x528)],_0x54de8c))return!0x0;}return!0x1;}for(let _0x953b7c of _0x34d2e5){let _0x8b98b7=_0x44899d[_0x40ad68(0x39f)][_0x953b7c[_0x40ad68(0x419)]];if(_0x8b98b7&&!this['_fieldRegistry'][_0x40ad68(0x23e)](_0x8b98b7['type'])[_0x40ad68(0x458)](_0x31333d[_0x40ad68(0x33c)][_0x8b98b7['id']],_0x953b7c['operator'],_0x953b7c['operand'],_0x8b98b7))return!0x1;}return!0x0;}):_0x4f4487;}[_0x274f9f(0x1d0)](_0x5cef4a,_0x1cbabc,_0x16fd0f){const _0xa9100c=_0x274f9f;let _0xd46e7e=(_0x1cbabc==null?void 0x0:_0x1cbabc[_0xa9100c(0x456)])??[];if(!_0xd46e7e[_0xa9100c(0x353)])return _0x16fd0f;let _0x2470e8=_0xd46e7e[_0xa9100c(0x25e)](_0x4dcb90=>{let _0x49522f=_0x5cef4a['fields'][_0x4dcb90['fieldId']];return _0x49522f?[{..._0x4dcb90,'field':_0x49522f}]:[];});return _0x2470e8[_0xa9100c(0x353)]?this[_0xa9100c(0x3ec)](_0x2470e8)?this['_fastSortRows'](_0x2470e8,_0x16fd0f):[..._0x16fd0f][_0xa9100c(0x456)]((_0x160b03,_0x407584)=>{const _0x1a1610=_0xa9100c;for(let _0x169b7a of _0x2470e8){let _0x5c4cd4=_0x169b7a[_0x1a1610(0x4e6)],_0x33771b=this[_0x1a1610(0x3e6)][_0x1a1610(0x23e)](_0x5c4cd4[_0x1a1610(0x2b9)])['compare'](_0x160b03[_0x1a1610(0x33c)][_0x5c4cd4['id']],_0x407584[_0x1a1610(0x33c)][_0x5c4cd4['id']],_0x5c4cd4);if(_0x33771b!==0x0)return _0x169b7a[_0x1a1610(0x246)]===_0x575c6c[_0x1a1610(0x4a4)]?-_0x33771b:_0x33771b;}return 0x0;}):_0x16fd0f;}[_0x274f9f(0x3ec)](_0x33026b){const _0x54b217=_0x274f9f;return _0x33026b[_0x54b217(0x4ea)](_0x4d19a9=>dr[_0x54b217(0x51e)](_0x4d19a9['field'][_0x54b217(0x2b9)]));}[_0x274f9f(0x2f5)](_0x5940a0,_0x18d280){const _0x498839=_0x274f9f;return _0x18d280[_0x498839(0x22e)]((_0x52d370,_0x2b2d22)=>({'row':_0x52d370,'index':_0x2b2d22,'keys':_0x5940a0[_0x498839(0x22e)](_0x3df5da=>_0x52d370[_0x498839(0x33c)][_0x3df5da[_0x498839(0x419)]])}))['sort']((_0x178b98,_0xefc4f7)=>{const _0x4f7a2a=_0x498839;for(let _0x5ef800=0x0;_0x5ef800<_0x5940a0['length'];_0x5ef800++){let _0x16ed06=zr(_0x178b98[_0x4f7a2a(0x311)][_0x5ef800],_0xefc4f7['keys'][_0x5ef800]);if(_0x16ed06!==0x0)return _0x5940a0[_0x5ef800][_0x4f7a2a(0x246)]===_0x575c6c['DESC']?-_0x16ed06:_0x16ed06;}return _0x178b98[_0x4f7a2a(0x519)]-_0xefc4f7[_0x4f7a2a(0x519)];})[_0x498839(0x22e)](_0x47868e=>_0x47868e[_0x498839(0x264)]);}[_0x274f9f(0x3db)](_0x42a135,_0x4e03e0,_0x93cb68){const _0x44c214=_0x274f9f;var _0x412b60;return I(_0x44c214(0x3cd),()=>{const _0x2f1113=_0x44c214;var _0x13f6f0;if(!((_0x13f6f0=_0x4e03e0['group'])!=null&&_0x13f6f0['length']))return[];let _0x167a8b=_0x4e03e0[_0x2f1113(0x394)][_0x2f1113(0x458)](_0xb1dd90=>_0x42a135['fields'][_0xb1dd90[_0x2f1113(0x419)]]);if(!_0x167a8b['length'])return[];let _0x277870=this[_0x2f1113(0x285)](_0x42a135['id'],_0x4e03e0,_0x167a8b),_0x455552=this[_0x2f1113(0x290)](_0x42a135['id']),_0x3008de=this['_projectedGroupsCache']['get'](_0x277870);if(_0x3008de&&_0x3008de['globalRevision']===this[_0x2f1113(0x464)]&&_0x3008de[_0x2f1113(0x440)]===this[_0x2f1113(0x3ce)](_0x42a135['id'])){if(_0x3008de[_0x2f1113(0x1dd)]===_0x455552&&_0x3008de[_0x2f1113(0x522)]===_0x93cb68)return _0x3008de['groups'];if(_0x3008de[_0x2f1113(0x1dd)]!==_0x455552&&!this[_0x2f1113(0x32a)](_0x42a135['id'],_0x3008de['cellRevision'],_0x455552,this[_0x2f1113(0x289)](_0x4e03e0)))return this[_0x2f1113(0x2cd)]['set'](_0x277870,{..._0x3008de,'rows':_0x93cb68,'cellRevision':_0x455552}),_0x3008de[_0x2f1113(0x3af)];}let _0x2b045e=new Map();for(let _0x383b06 of _0x93cb68){let _0x812c6c=_0x2b045e,_0x1675d5='';for(let _0x19eb6b=0x0;_0x19eb6b<_0x167a8b['length'];_0x19eb6b++){let _0x1f868a=_0x167a8b[_0x19eb6b],_0x15e4b9=_0x383b06[_0x2f1113(0x33c)][_0x1f868a[_0x2f1113(0x419)]],_0x179c78=pr(_0x15e4b9),_0x5c78f6=_0x1f868a[_0x2f1113(0x419)]+'\x00'+_0x179c78,_0x11010e=_0x1675d5+'/'+_0x1f868a['fieldId']+':'+_0x179c78,_0x1b6ada=_0x812c6c['get'](_0x5c78f6);_0x1b6ada||(_0x1b6ada={'key':_0x179c78,'value':_0x15e4b9,'path':_0x11010e,'label':_0x179c78||_0x2f1113(0x473),'fieldId':_0x1f868a[_0x2f1113(0x419)],'level':_0x19eb6b,'recordIds':[],'children':new Map()},_0x812c6c[_0x2f1113(0x317)](_0x5c78f6,_0x1b6ada)),_0x1b6ada[_0x2f1113(0x316)][_0x2f1113(0x254)](_0x383b06['recordId']),_0x812c6c=_0x1b6ada[_0x2f1113(0x1fd)],_0x1675d5=_0x11010e;}}let _0x37c9f5=this[_0x2f1113(0x337)](_0x167a8b,_0x2b045e,0x0);return this[_0x2f1113(0x2cd)][_0x2f1113(0x317)](_0x277870,{'table':_0x42a135,'rows':_0x93cb68,'groups':_0x37c9f5,'globalRevision':this[_0x2f1113(0x464)],'tableRevision':this['_getTableRevision'](_0x42a135['id']),'cellRevision':_0x455552}),_0x37c9f5;},{'tableId':_0x42a135['id'],'viewId':_0x4e03e0['id'],'viewType':_0x4e03e0[_0x44c214(0x2b9)],'rows':_0x93cb68[_0x44c214(0x353)],'groupFields':((_0x412b60=_0x4e03e0[_0x44c214(0x394)])==null?void 0x0:_0x412b60[_0x44c214(0x353)])??0x0});}[_0x274f9f(0x337)](_0x3cf955,_0x47dc3b,_0x2b4ad5){const _0xef2d90=_0x274f9f;var _0x335270;let _0x1003a3=Array[_0xef2d90(0x2a4)](_0x47dc3b[_0xef2d90(0x33c)]()),_0x1736c6=(_0x335270=_0x3cf955[_0x2b4ad5])==null?void 0x0:_0x335270[_0xef2d90(0x246)];return _0x1736c6&&_0x1003a3[_0xef2d90(0x456)]((_0x400183,_0x244b46)=>{const _0x242000=_0xef2d90;let _0xcb76f7=_0x400183[_0x242000(0x3fd)]['localeCompare'](_0x244b46['key']);return _0x1736c6===_0x575c6c[_0x242000(0x4a4)]?-_0xcb76f7:_0xcb76f7;}),_0x1003a3[_0xef2d90(0x22e)](_0x1c0de8=>({'key':_0x1c0de8['key'],'value':_0x1c0de8['value'],'path':_0x1c0de8[_0xef2d90(0x469)],'label':_0x1c0de8[_0xef2d90(0x505)],'fieldId':_0x1c0de8[_0xef2d90(0x419)],'level':_0x1c0de8[_0xef2d90(0x4e9)],'recordIds':_0x1c0de8[_0xef2d90(0x316)],'children':this[_0xef2d90(0x337)](_0x3cf955,_0x1c0de8[_0xef2d90(0x1fd)],_0x2b4ad5+0x1)}));}[_0x274f9f(0x4c4)](_0xb4fe37,_0x1fffcb,_0x2d6dfa){const _0x1add68=_0x274f9f;let _0x12f06d=_0x2d6dfa??_0xb4fe37[_0x1add68(0x2db)],_0x3341b7=_0x1fffcb[_0x1add68(0x33c)][_0x12f06d];return _0x3341b7==null?'':String(_0x3341b7);}['_recordIds'](_0x340ab4){const _0x2c153d=_0x274f9f;if(Array[_0x2c153d(0x39e)](_0x340ab4))return _0x340ab4[_0x2c153d(0x22e)](String);if(typeof _0x340ab4==_0x2c153d(0x3c6)&&_0x340ab4)return[_0x340ab4];}[_0x274f9f(0x3de)](_0x3d38c3){const _0x302d61=_0x274f9f;return this[_0x302d61(0x3e6)][_0x302d61(0x23e)](_0x3d38c3[_0x302d61(0x2b9)])['getCapabilities'](_0x3d38c3);}};fr=q([K(0x0,_0x3a5702(qn))],fr);function pr(_0x451aa6){return _0x451aa6==null?'':String(_0x451aa6);}function mr(_0x382a61){const _0x3ba26a=_0x274f9f;return new Map(_0x382a61[_0x3ba26a(0x22e)]((_0x3131a4,_0x4eeb57)=>[_0x3131a4[_0x3ba26a(0x44a)],_0x4eeb57]));}function hr(_0x33ef02){const _0x67937=_0x274f9f;return!!(Array[_0x67937(0x39e)](_0x33ef02[_0x67937(0x4fd)])&&_0x33ef02[_0x67937(0x269)]&&_0x33ef02[_0x67937(0x47c)]&&_0x33ef02['colIndex']&&_0x33ef02[_0x67937(0x4bd)]&&_0x33ef02['cellData']);}function gr(_0x4c8b05){const _0x2a5673=_0x274f9f;return _0x4c8b05!=null&&_0x4c8b05[_0x2a5673(0x400)][_0x2a5673(0x353)]?{'conjunction':_0x4c8b05[_0x2a5673(0x32d)],'conditions':_0x4c8b05['conditions'][_0x2a5673(0x22e)](_0x264e7d=>({'fieldId':_0x264e7d[_0x2a5673(0x419)],'operator':_0x264e7d['operator'],'operand':_0x264e7d[_0x2a5673(0x528)]}))}:null;}function _r(_0x458a18){const _0x15b08b=_0x274f9f;return _0x458a18!=null&&_0x458a18[_0x15b08b(0x353)]?_0x458a18[_0x15b08b(0x22e)](_0x2f6ef4=>({'fieldId':_0x2f6ef4[_0x15b08b(0x419)],'direction':_0x2f6ef4[_0x15b08b(0x246)]})):null;}function vr(_0x3c0231){const _0xb372e6=_0x274f9f;if(typeof _0x3c0231!=_0xb372e6(0x314)||!_0x3c0231)return JSON[_0xb372e6(0x2b6)](_0x3c0231)??'undefined';if(Array['isArray'](_0x3c0231))return'['+_0x3c0231['map'](vr)[_0xb372e6(0x48b)](',')+']';let _0x122716=_0x3c0231;return'{'+Object['keys'](_0x122716)[_0xb372e6(0x456)]()['map'](_0x3926e3=>JSON['stringify'](_0x3926e3)+':'+vr(_0x122716[_0x3926e3]))['join'](',')+'}';}function yr(_0x4e50c4){const _0x4ccc24=_0x274f9f;let _0x15b3c9=Object[_0x4ccc24(0x33c)](_0x4e50c4)[_0x4ccc24(0x456)]((_0x2bcf31,_0x3b760e)=>_0x2bcf31['orderKey']['localeCompare'](_0x3b760e['orderKey'])),_0xc86865=[];for(let _0x5cff2e of _0x15b3c9)_0xc86865['push'](_0x5cff2e['id']);return _0xc86865;}const br=0x5a0*0x3c*0x3e8;function xr(_0x2cd7ff){const _0x40bd1e=_0x274f9f;return{'weekdays':Array[_0x40bd1e(0x39e)](_0x2cd7ff==null?void 0x0:_0x2cd7ff['weekdays'])&&_0x2cd7ff['weekdays']['length']?[...new Set(_0x2cd7ff['weekdays'][_0x40bd1e(0x458)](_0x23d6a8=>Number['isInteger'](_0x23d6a8)&&_0x23d6a8>=0x1&&_0x23d6a8<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x40bd1e(0x39e)](_0x2cd7ff==null?void 0x0:_0x2cd7ff[_0x40bd1e(0x3df)])?_0x2cd7ff[_0x40bd1e(0x3df)][_0x40bd1e(0x25e)](_0x3ca3e9=>!_0x3ca3e9||!Number['isFinite'](_0x3ca3e9['date'])?[]:[{'id':String(_0x3ca3e9['id']||_0x40bd1e(0x303)+_0x3ca3e9['date']),'date':Y(Number(_0x3ca3e9[_0x40bd1e(0x27d)])),'name':String(_0x3ca3e9['name']||_0x40bd1e(0x340)),'type':_0x3ca3e9[_0x40bd1e(0x2b9)]==='working'?_0x40bd1e(0x374):_0x40bd1e(0x1d8)}]):[]};}function Sr(_0x48d3ec,_0x4caa12,_0x26ad83,_0x17600f){let _0x7e435d=Er(_0x48d3ec,_0x4caa12),_0x40be9c=Dr(_0x48d3ec,_0x26ad83),_0x4448a9=Cr(_0x48d3ec,_0x7e435d,_0x40be9c,_0x17600f);return{'scale':_0x48d3ec,'start':_0x7e435d,'end':_0x40be9c,'unitWidth':Tr(_0x48d3ec),'majorHeaders':wr(_0x48d3ec,_0x7e435d,_0x40be9c),'columns':_0x4448a9};}function Cr(_0x2bb63c,_0x219826,_0x16ad23,_0x3837b8){const _0x5b3ebc=_0x274f9f;let _0x226d49=[],_0x2580ed=_0x219826;for(;_0x2580ed<_0x16ad23;){let _0x16bd4f=_0x2bb63c==='quarter'?X(_0x2580ed,0x7):_0x2bb63c===_0x5b3ebc(0x4da)?Ir(_0x2580ed,0x1):X(_0x2580ed,0x1);_0x226d49[_0x5b3ebc(0x254)]({'id':_0x2bb63c+'-'+_0x2580ed,'label':Or(_0x2bb63c,_0x2580ed,_0x16bd4f),'majorLabel':kr(_0x2bb63c,_0x2580ed),'start':_0x2580ed,'end':_0x16bd4f,'nonWorking':jr(_0x2580ed,_0x16bd4f,_0x3837b8)}),_0x2580ed=_0x16bd4f;}return _0x226d49;}function wr(_0x5ec7b1,_0x10fb26,_0x1d2c73){const _0x54d1e5=_0x274f9f;let _0x54d6fe=[],_0x19f9bb=_0x5ec7b1==='year'?Fr(_0x10fb26):Pr(_0x10fb26);for(;_0x19f9bb<_0x1d2c73;){let _0x2c3001=_0x5ec7b1===_0x54d1e5(0x4da)?Lr(_0x19f9bb,0x1):Ir(_0x19f9bb,0x1);_0x54d6fe['push']({'id':_0x54d1e5(0x230)+_0x19f9bb,'label':_0x5ec7b1==='year'?String(new Date(_0x19f9bb)[_0x54d1e5(0x4f7)]()):Rr(_0x19f9bb),'start':_0x19f9bb,'end':_0x2c3001}),_0x19f9bb=_0x2c3001;}return _0x54d6fe;}function Tr(_0x1da13a){const _0x2dd1d0=_0x274f9f;switch(_0x1da13a){case _0x2dd1d0(0x3a2):return 0xac;case _0x2dd1d0(0x39a):return 0xac;case'year':return 0x88;default:return 0x56;}}function Er(_0xae932b,_0x49cba1){const _0x57b976=_0x274f9f;return _0xae932b==='year'?Fr(_0x49cba1):_0xae932b===_0x57b976(0x39a)?Nr(_0x49cba1):Y(_0x49cba1);}function Dr(_0x5975fb,_0x4d68dd){const _0x15e6b3=_0x274f9f;return _0x5975fb===_0x15e6b3(0x4da)?Lr(Fr(_0x4d68dd),0x1):_0x5975fb===_0x15e6b3(0x39a)?X(Nr(_0x4d68dd),0x7):X(Y(_0x4d68dd),0x1);}function Or(_0x1ee612,_0x49517e,_0x489cf6){const _0x14ed08=_0x274f9f;let _0x1c172f=new Date(_0x49517e);return _0x1ee612===_0x14ed08(0x39a)?_0x1c172f[_0x14ed08(0x2ca)]()+'-'+new Date(_0x489cf6-br)[_0x14ed08(0x2ca)]():_0x1ee612===_0x14ed08(0x4da)?_0x1c172f['toLocaleString'](_0x14ed08(0x239),{'month':_0x14ed08(0x526),'timeZone':'UTC'}):String(_0x1c172f[_0x14ed08(0x2ca)]());}function kr(_0x5560bb,_0x44942c){const _0x54644b=_0x274f9f;return _0x5560bb===_0x54644b(0x4da)?String(new Date(_0x44942c)[_0x54644b(0x4f7)]()):Rr(_0x44942c);}function Ar(_0x231b81,_0x331cfc,_0x4425e7){let _0x221c74=xr(_0x4425e7),_0x26fb72=0x0;for(let _0x4ea8f0=Y(_0x231b81);_0x4ea8f0<=Y(_0x331cfc);_0x4ea8f0=X(_0x4ea8f0,0x1))Mr(_0x4ea8f0,_0x221c74)||_0x26fb72++;return _0x26fb72;}function jr(_0x1c6355,_0x2170ac,_0x408ffb){if(!_0x408ffb)return!0x1;let _0x28cedd=xr(_0x408ffb);for(let _0x4f0130=Y(_0x1c6355);_0x4f0130<_0x2170ac;_0x4f0130=X(_0x4f0130,0x1))if(!Mr(_0x4f0130,_0x28cedd))return!0x1;return!0x0;}function Mr(_0x2eb462,_0x2090ee){const _0x3a4ae1=_0x274f9f;let _0x1d928b=Y(_0x2eb462),_0x4f795d=_0x2090ee['exceptions']['find'](_0x5f194b=>Y(_0x5f194b[_0x3a4ae1(0x27d)])===_0x1d928b);if(_0x4f795d)return _0x4f795d[_0x3a4ae1(0x2b9)]===_0x3a4ae1(0x1d8);let _0x1c07d5=new Date(_0x1d928b)[_0x3a4ae1(0x38b)](),_0x22fb26=_0x1c07d5===0x0?0x7:_0x1c07d5;return!_0x2090ee[_0x3a4ae1(0x35f)][_0x3a4ae1(0x1d2)](_0x22fb26);}function Y(_0x597abb){const _0x4d8f8e=_0x274f9f;let _0x121d84=new Date(_0x597abb);return Date[_0x4d8f8e(0x2cc)](_0x121d84[_0x4d8f8e(0x4f7)](),_0x121d84[_0x4d8f8e(0x3bf)](),_0x121d84[_0x4d8f8e(0x2ca)]());}function Nr(_0x293ba7){const _0x1cae77=_0x274f9f;let _0x373c87=Y(_0x293ba7),_0x3c01c1=new Date(_0x373c87)[_0x1cae77(0x38b)]();return X(_0x373c87,-(_0x3c01c1===0x0?0x6:_0x3c01c1-0x1));}function Pr(_0x26d97d){const _0x5c683f=_0x274f9f;let _0x3e5296=new Date(_0x26d97d);return Date[_0x5c683f(0x2cc)](_0x3e5296[_0x5c683f(0x4f7)](),_0x3e5296[_0x5c683f(0x3bf)](),0x1);}function Fr(_0x5a87b1){const _0x3a0660=_0x274f9f;let _0x4b21c8=new Date(_0x5a87b1);return Date['UTC'](_0x4b21c8[_0x3a0660(0x4f7)](),0x0,0x1);}function X(_0x4e0c53,_0x865d26){return _0x4e0c53+_0x865d26*br;}function Ir(_0x21f5f4,_0x445b53){const _0x4ee812=_0x274f9f;let _0x2b8ded=new Date(_0x21f5f4);return Date[_0x4ee812(0x2cc)](_0x2b8ded[_0x4ee812(0x4f7)](),_0x2b8ded['getUTCMonth']()+_0x445b53,0x1);}function Lr(_0x754e28,_0xd5ca53){const _0x1ef99d=_0x274f9f;let _0x5d7e47=new Date(_0x754e28);return Date[_0x1ef99d(0x2cc)](_0x5d7e47[_0x1ef99d(0x4f7)]()+_0xd5ca53,0x0,0x1);}function Rr(_0x2df744){const _0x2dc756=_0x274f9f;let _0x30720d=new Date(_0x2df744);return _0x30720d['toLocaleString'](_0x2dc756(0x239),{'month':_0x2dc756(0x526),'timeZone':'UTC'})+'\x20'+_0x30720d[_0x2dc756(0x4f7)]();}function zr(_0xf15e2b,_0x5e0b05){const _0x1cc4d1=_0x274f9f;if(_0xf15e2b==null&&_0x5e0b05==null)return 0x0;if(_0xf15e2b==null)return-0x1;if(_0x5e0b05==null)return 0x1;if(typeof _0xf15e2b==_0x1cc4d1(0x4ed)||typeof _0x5e0b05=='boolean')return Number(_0xf15e2b===!0x0)-Number(_0x5e0b05===!0x0);let _0x458a72=Number(_0xf15e2b),_0x1dd46b=Number(_0x5e0b05),_0x1b22c4=Number[_0x1cc4d1(0x1ee)](_0x458a72),_0x5e5a73=Number[_0x1cc4d1(0x1ee)](_0x1dd46b);return _0x1b22c4&&_0x5e5a73?_0x458a72-_0x1dd46b:_0x1b22c4?0x1:_0x5e5a73?-0x1:String(_0xf15e2b)[_0x1cc4d1(0x1fe)](String(_0x5e0b05));}function Br(_0x2535e5){const _0x3ec65a=_0x274f9f;if(_0x2535e5[_0x3ec65a(0x401)]!=='is'&&_0x2535e5[_0x3ec65a(0x401)]!=='isNot')return!0x1;let _0x27d46c=_0x2535e5[_0x3ec65a(0x528)];return _0x27d46c==null?!0x0:typeof _0x27d46c==_0x3ec65a(0x3c6)?_0x27d46c[_0x3ec65a(0x2ba)]()==='':Array['isArray'](_0x27d46c)?_0x27d46c[_0x3ec65a(0x353)]===0x0:!0x1;}function _0x2f15(_0x5c349b,_0x10f63f){_0x5c349b=_0x5c349b-0x1d0;const _0x42e693=_0x42e6();let _0x2f15a8=_0x42e693[_0x5c349b];return _0x2f15a8;}function Vr(_0x40489f,_0x54b41c){const _0x4bc923=_0x274f9f;var _0x2120c6;let _0x36e966=Array[_0x4bc923(0x39e)]((_0x2120c6=_0x40489f['config'])==null?void 0x0:_0x2120c6['options'])?_0x40489f[_0x4bc923(0x427)]['options']:[];for(let _0x4d3ee0 of _0x36e966){if(_0x4d3ee0==null)continue;if(typeof _0x4d3ee0==_0x4bc923(0x3c6)){if(_0x4d3ee0===_0x54b41c)return{'id':_0x4d3ee0,'name':_0x4d3ee0};continue;}let _0x1752e7=_0x4d3ee0,_0x2a3e03=String(_0x1752e7['id']??_0x1752e7[_0x4bc923(0x248)]??''),_0x39e55e=String(_0x1752e7[_0x4bc923(0x248)]??_0x1752e7['id']??_0x2a3e03);if(_0x2a3e03===_0x54b41c||_0x39e55e===_0x54b41c)return{'id':_0x2a3e03,'name':_0x39e55e,'color':_0x1752e7[_0x4bc923(0x1e3)]==null?void 0x0:String(_0x1752e7['color'])};}return null;}const Z={'id':_0x274f9f(0x48f),'type':_0x154d7f[_0x274f9f(0x24d)],'handler'(_0x1d28bb,_0x491109){const _0x40fa01=_0x274f9f;let {unitId:_0x1f60b0,op:_0x64402d}=_0x491109,_0xf5e42e=_0x1d28bb['get'](_0x310540)[_0x40fa01(0x462)](_0x1f60b0,_0x993548[_0x40fa01(0x3f1)]);if(!_0xf5e42e)return!0x1;let _0x2e7469=_0xf5e42e[_0x40fa01(0x2d0)](),_0x392965=new z(),_0x41604d=_0x392965[_0x40fa01(0x301)](_0x64402d),_0x196b4b=_0x392965['applyOp'](_0x2e7469,_0x64402d);return _0xf5e42e['setSnapshot'](_0x196b4b),Hr(_0x196b4b,_0x41604d,_0x1d28bb[_0x40fa01(0x23e)](ur)),!0x0;}};function Hr(_0xba50da,_0x4c3d22,_0x2e9f26){const _0x509df4=_0x274f9f;let _0x59884f=new Set();for(let _0x580626 of _0x4c3d22){if(_0x580626[_0x509df4(0x257)]!==_0x509df4(0x3aa)){_0x2e9f26[_0x509df4(0x1f0)]();return;}let _0x5dd771=Ur(_0xba50da,_0x580626);if(!_0x5dd771){_0x2e9f26[_0x509df4(0x1f0)]();return;}let _0x37d56b=_0x5dd771[_0x509df4(0x37e)]+'\x00'+_0x5dd771[_0x509df4(0x44a)]+'\x00'+_0x5dd771[_0x509df4(0x419)];_0x59884f[_0x509df4(0x51e)](_0x37d56b)||(_0x59884f['add'](_0x37d56b),_0x2e9f26[_0x509df4(0x21c)](_0x5dd771[_0x509df4(0x37e)],_0x5dd771[_0x509df4(0x44a)],_0x5dd771['fieldId']));}}function Ur(_0x3ef101,_0x19739e){const _0x10d922=_0x274f9f;var _0x2ec0df,_0x1843a3;if(!_0x19739e[_0x10d922(0x37e)])return null;if(_0x19739e[_0x10d922(0x44a)]&&_0x19739e[_0x10d922(0x419)])return{'tableId':_0x19739e[_0x10d922(0x37e)],'recordId':_0x19739e[_0x10d922(0x44a)],'fieldId':_0x19739e['fieldId']};if(_0x19739e[_0x10d922(0x264)]==null||_0x19739e['column']==null)return null;let _0x1cb264=_0x3ef101['tables'][_0x19739e[_0x10d922(0x37e)]],_0x25976f=_0x1cb264==null||(_0x2ec0df=_0x1cb264[_0x10d922(0x47c)])==null?void 0x0:_0x2ec0df[_0x19739e[_0x10d922(0x264)]],_0x121510=_0x1cb264==null||(_0x1843a3=_0x1cb264['colId'])==null?void 0x0:_0x1843a3[_0x19739e[_0x10d922(0x42e)]];return!_0x25976f||!_0x121510?null:{'tableId':_0x19739e[_0x10d922(0x37e)],'recordId':_0x25976f,'fieldId':_0x121510};}function Q(_0xd53bf4,_0x9c174a,_0x230244){const _0x4d3b54=_0x274f9f;let _0x16dc59=_0xd53bf4[_0x4d3b54(0x2d0)]()[_0x4d3b54(0x529)][_0x9c174a];if(!_0x16dc59)return!0x1;let {viewIds:_0x5db0d1,fieldIds:_0x49cf70,recordIds:_0x2fa561}=_0x230244||{};if(_0x5db0d1){for(let _0x1b5ed8 of _0x5db0d1)if(!_0x16dc59[_0x4d3b54(0x22d)][_0x1b5ed8])return!0x1;}if(_0x49cf70){for(let _0x4e9b2e of _0x49cf70)if(!_0x16dc59[_0x4d3b54(0x39f)][_0x4e9b2e])return!0x1;}if(_0x2fa561){for(let _0x36ab04 of _0x2fa561)if(!_0x16dc59[_0x4d3b54(0x3c4)][_0x36ab04])return!0x1;}return!0x0;}function Wr(_0x37b070,_0x1b1396,_0xb741cc){const _0x5a3d4d=_0x274f9f;if(_0xb741cc['id']===_0x525439||_0xb741cc[_0x5a3d4d(0x2b9)]===_0x11438e[_0x5a3d4d(0x20d)]||_0xec31b8(_0xb741cc[_0x5a3d4d(0x248)]))return!0x1;let _0x128958=_0x37b070['getSnapshot']();if(!De(_0x128958,_0xb741cc)['valid'])return!0x1;if(_0xb741cc[_0x5a3d4d(0x2b9)]!==_0x11438e['RecordLink'])return!0x0;let _0x578331=A(_0xb741cc);if(!_0x578331)return!0x1;if(_0x578331[_0x5a3d4d(0x253)]===void 0x0)return!0x0;if(_0x578331[_0x5a3d4d(0x253)]!==_0x2af9b7[_0x5a3d4d(0x38c)]||_0x578331['targetTableId']!==_0x1b1396||_0x578331[_0x5a3d4d(0x501)]!==!0x1)return!0x1;let _0x1aa3c3=_0x128958[_0x5a3d4d(0x529)][_0x1b1396];return!Object[_0x5a3d4d(0x33c)](_0x1aa3c3['fields'])[_0x5a3d4d(0x29f)](_0x4448fd=>{const _0x38f869=_0x5a3d4d;var _0x48e27d;return _0x4448fd['id']!==_0xb741cc['id']&&_0x4448fd['type']===_0x11438e[_0x38f869(0x24c)]&&((_0x48e27d=A(_0x4448fd))==null?void 0x0:_0x48e27d[_0x38f869(0x253)])===_0x2af9b7[_0x38f869(0x38c)];});}function Gr(_0x523c0d,_0x2afdc6,_0x1f793d,_0x530b4d){const _0xf84ea1=_0x274f9f;var _0x3fdd84;let _0x57a4ff=_0x523c0d[_0xf84ea1(0x2d0)](),_0x2c46a7=(_0x3fdd84=_0x57a4ff[_0xf84ea1(0x529)][_0x2afdc6])==null?void 0x0:_0x3fdd84[_0xf84ea1(0x39f)][_0x1f793d];return!_0x2c46a7||_0x2c46a7['id']===_0x525439||_0x2c46a7['type']===_0x11438e[_0xf84ea1(0x20d)]?!0x1:_0x2c46a7[_0xf84ea1(0x2b9)]!==_0x11438e[_0xf84ea1(0x24c)]||Oe(_0x57a4ff,_0x2c46a7,Jr(_0x530b4d))[_0xf84ea1(0x352)];}function Kr(_0x276538,_0xe6bb84,_0x3cc88b){const _0x309a28=_0x274f9f;let _0x3d1314=_0x276538['getSnapshot']()[_0x309a28(0x529)][_0xe6bb84];return!_0x3d1314||!_0x198e88(_0x3cc88b['id'])||_0x3d1314[_0x309a28(0x3c4)][_0x3cc88b['id']]||Object[_0x309a28(0x20f)][_0x309a28(0x465)][_0x309a28(0x385)](_0x3cc88b[_0x309a28(0x33c)],_0x525439)&&_0x3cc88b['values'][_0x525439]!==_0x3cc88b['id']?!0x1:Object[_0x309a28(0x2d4)](_0x3cc88b['values'])['every'](([_0xffd32,_0xaf8251])=>_0xffd32===_0x525439||Gr(_0x276538,_0xe6bb84,_0xffd32,_0xaf8251));}function qr(_0x1353b2){const _0x1413f5=_0x274f9f;return{..._0x1353b2,'values':{..._0x1353b2[_0x1413f5(0x33c)],[_0x525439]:_0x1353b2['id']}};}function Jr(_0x4e97d8){const _0x2c07ef=_0x274f9f;if(_0x4e97d8&&typeof _0x4e97d8==_0x2c07ef(0x314)&&!Array[_0x2c07ef(0x39e)](_0x4e97d8)&&'v'in _0x4e97d8){let _0x4a7122=_0x4e97d8['v'];return _0x4a7122===void 0x0?null:_0x4a7122;}return _0x4e97d8;}function Yr(_0x4670ce,_0x435290,_0x1ab986,_0x253f66){const _0x46343a=_0x274f9f;let _0x425015=_0x4670ce[_0x46343a(0x2d0)]()[_0x46343a(0x529)][_0x435290];if(!_0x425015)return null;let _0xe85008=N(_0x425015),_0x5a58b3=_0xe85008??P(_0x425015),_0x3af49b=_0x1ab986['some'](_0x3370ed=>Object[_0x46343a(0x20f)][_0x46343a(0x465)]['call'](_0x3370ed[_0x46343a(0x33c)],_0x5a58b3)),_0x2ec141=_0xe85008?_0x425015[_0x46343a(0x39f)][_0xe85008]:_0x3af49b?Pe(_0x425015,_0x5a58b3,_0x253f66):null,_0x2b3b6f=[];for(let _0x37e843 of _0x1ab986){let _0x448433=_0x37e843['values'][_0x5a58b3],_0x50f2fb=_0x2ec141!==null&&Object[_0x46343a(0x20f)][_0x46343a(0x465)]['call'](_0x37e843[_0x46343a(0x33c)],_0x5a58b3),_0xc4baf2=Jr(_0x448433),_0x2ca3a8=null;if(_0x50f2fb){if(typeof _0xc4baf2!=_0x46343a(0x3c6)||!Ee(_0xc4baf2,!0x1)[_0x46343a(0x352)])return null;_0x2ca3a8=_0xc4baf2;}let _0x1d9543={};if(Object[_0x46343a(0x2d4)](_0x37e843[_0x46343a(0x33c)])[_0x46343a(0x366)](([_0x5aaee3,_0x44cb88])=>{(!_0x50f2fb||_0x5aaee3!==_0x5a58b3)&&(_0x1d9543[_0x5aaee3]=_0x44cb88);}),!Kr(_0x4670ce,_0x435290,{..._0x37e843,'values':_0x1d9543}))return null;let _0x429c23={..._0x37e843[_0x46343a(0x33c)]};_0x2ca3a8!==null&&(_0x429c23[_0x5a58b3]=_0x2ca3a8),_0x2b3b6f[_0x46343a(0x254)](qr({..._0x37e843,'values':_0x429c23}));}return{'records':_0x2b3b6f,'hierarchyFieldToMaterialize':_0xe85008?null:_0x2ec141,'hierarchyChanges':Le(_0x425015,_0x2b3b6f)};}const Xr={'id':_0x274f9f(0x364),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x4543f2,_0x5d8b40){const _0xe0ac1b=_0x274f9f;if(!_0x5d8b40)return!0x1;let _0x412167=_0x4543f2[_0xe0ac1b(0x23e)](_0x310540),{unitId:_0x3164d0,tableId:_0x271f39,records:_0x1e7a76}=_0x5d8b40,_0x2aa095=_0x412167[_0xe0ac1b(0x462)](_0x3164d0,_0x993548['UNIVER_BASE']),_0x39ad70=_0x1e7a76[_0xe0ac1b(0x22e)](_0x5a570f=>_0x5a570f['id']);if(!_0x2aa095||!Q(_0x2aa095,_0x271f39)||new Set(_0x39ad70)['size']!==_0x39ad70[_0xe0ac1b(0x353)])return!0x1;let _0x2063de=_0x4543f2[_0xe0ac1b(0x23e)](_0x232cd6),_0x568aa1=_0x4543f2[_0xe0ac1b(0x23e)](_0x56cd6a),_0x454a5b=_0x4543f2[_0xe0ac1b(0x23e)](J),_0x5a1c98=_0x2aa095[_0xe0ac1b(0x2d0)](),_0x261f60=Yr(_0x2aa095,_0x271f39,_0x1e7a76);if(!_0x261f60)return!0x1;let {records:_0x1999f9,hierarchyChanges:_0x3f2c36,hierarchyFieldToMaterialize:_0x517524}=_0x261f60,_0x46df81=_0x517524?_0x454a5b[_0xe0ac1b(0x504)](_0x2aa095,_0x271f39,_0x517524,_0x5a1c98[_0xe0ac1b(0x529)][_0x271f39]['fieldOrder']['length']):null,_0x430cea=_0x454a5b[_0xe0ac1b(0x227)](_0x2aa095,_0x271f39,_0x1999f9),_0x2176dd=R([..._0x46df81?[_0x46df81]:[],_0x430cea]),_0x595611=new z()['invertOp'](_0x5a1c98,_0x2176dd),_0x2596af={'unitId':_0x3164d0,'op':_0x2176dd,'hierarchyChanges':_0x3f2c36[_0xe0ac1b(0x353)]?_0x3f2c36:void 0x0,'source':_0x3f2c36[_0xe0ac1b(0x353)]?_0x5d8b40[_0xe0ac1b(0x272)]??'ui':void 0x0},_0x173139={..._0x2596af,'source':_0x3f2c36['length']?_0xe0ac1b(0x37f):void 0x0},_0x5c7276={'unitId':_0x3164d0,'op':_0x595611,'hierarchyChanges':_0x3f2c36[_0xe0ac1b(0x353)]?_0x3f2c36[_0xe0ac1b(0x22e)](_0x2e6a24=>({..._0x2e6a24,'oldParentRecordId':_0x2e6a24['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x3f2c36[_0xe0ac1b(0x353)]?_0xe0ac1b(0x3d6):void 0x0};return _0x2063de[_0xe0ac1b(0x421)](Z['id'],_0x2596af)?(_0x412167[_0xe0ac1b(0x1df)](_0x3164d0),_0x568aa1['pushUndoRedo']({'unitID':_0x3164d0,'undoMutations':[{'id':Z['id'],'params':_0x5c7276}],'redoMutations':[{'id':Z['id'],'params':_0x173139}]}),!0x0):!0x1;}},Zr={'id':'base.command.batch-delete-base-records','type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x16052d,_0x497ee5)=>{const _0x4f480e=_0x274f9f;if(!_0x497ee5)return!0x1;let _0x2e5da6=_0x16052d['get'](_0x310540),{unitId:_0x55662c,tableId:_0x5072b2,recordIds:_0x2f9ab6}=_0x497ee5,_0x1d764a=_0x2e5da6[_0x4f480e(0x462)](_0x55662c,_0x993548[_0x4f480e(0x3f1)]);if(!_0x1d764a||!Q(_0x1d764a,_0x5072b2,{'recordIds':_0x2f9ab6}))return!0x1;let _0x48ea34=_0x16052d[_0x4f480e(0x23e)](_0x232cd6),_0x4d57c4=_0x16052d['get'](_0x56cd6a),_0x24133d=_0x1d764a[_0x4f480e(0x2d0)](),_0x4b7663=ze(_0x24133d['tables'][_0x5072b2],_0x2f9ab6),_0x1ae1b9=new W()[_0x4f480e(0x387)](_0x24133d,_0x5072b2,_0x2f9ab6),_0x3de6fe=new z()[_0x4f480e(0x2c6)](_0x24133d,_0x1ae1b9),_0x5a95d6={'unitId':_0x55662c,'op':_0x1ae1b9,'hierarchyChanges':_0x4b7663,'source':_0x497ee5[_0x4f480e(0x272)]??'ui'},_0x716dfd={..._0x5a95d6,'source':'redo'},_0x29b3af={'unitId':_0x55662c,'op':_0x3de6fe,'hierarchyChanges':_0x4b7663[_0x4f480e(0x22e)](_0x1bfb58=>({..._0x1bfb58,'oldParentRecordId':_0x1bfb58[_0x4f480e(0x4d9)],'parentRecordId':_0x1bfb58[_0x4f480e(0x31b)]})),'source':_0x4f480e(0x3d6)};return _0x48ea34[_0x4f480e(0x421)](Z['id'],_0x5a95d6)?(_0x2e5da6[_0x4f480e(0x1df)](_0x55662c),_0x4d57c4[_0x4f480e(0x3d4)]({'unitID':_0x55662c,'undoMutations':[{'id':Z['id'],'params':_0x29b3af}],'redoMutations':[{'id':Z['id'],'params':_0x716dfd}]}),!0x0):!0x1;}},Qr={'id':_0x274f9f(0x29a),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x20dfe1,_0x3e595a)=>{const _0x279ee2=_0x274f9f;if(!_0x3e595a)return!0x1;let _0x4a0809=_0x20dfe1['get'](_0x310540),{unitId:_0x22d735,tableId:_0x24f9e1,fieldId:_0x1c646e,input:_0x1f11fa}=_0x3e595a,_0x10ed9b=_0x4a0809['getUnit'](_0x22d735,_0x993548[_0x279ee2(0x3f1)]);if(!_0x10ed9b||_0x1c646e===_0x525439||!Q(_0x10ed9b,_0x24f9e1,{'fieldIds':[_0x1c646e]}))return!0x1;let _0xb0ae28=_0x20dfe1['get'](_0x232cd6),_0x351b56=_0x20dfe1[_0x279ee2(0x23e)](_0x56cd6a),_0x57b2a0=_0x10ed9b[_0x279ee2(0x2d0)]();if(!Wr(_0x10ed9b,_0x24f9e1,{..._0x57b2a0[_0x279ee2(0x529)][_0x24f9e1][_0x279ee2(0x39f)][_0x1c646e],..._0x1f11fa}))return!0x1;let _0x5af91b=new W()[_0x279ee2(0x3b4)](_0x57b2a0,_0x24f9e1,_0x1c646e,_0x1f11fa),_0x5c4ceb=new z()[_0x279ee2(0x2c6)](_0x57b2a0,_0x5af91b),_0xc59f60={'unitId':_0x22d735,'op':_0x5af91b},_0x22b61f={'unitId':_0x22d735,'op':_0x5c4ceb};return _0xb0ae28[_0x279ee2(0x421)](Z['id'],_0xc59f60)?(_0x4a0809['focusUnit'](_0x22d735),_0x351b56[_0x279ee2(0x3d4)]({'unitID':_0x22d735,'undoMutations':[{'id':Z['id'],'params':_0x22b61f}],'redoMutations':[{'id':Z['id'],'params':_0xc59f60}]}),!0x0):!0x1;}},$r={'id':_0x274f9f(0x3e2),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x2d5f5c,_0xf4bb07){const _0x235edc=_0x274f9f;var _0x3a4c79;if(!_0xf4bb07)return!0x1;let {unitId:_0x3cc6e8,tableId:_0xdfcf8f,parentRecordId:_0x24d424}=_0xf4bb07,_0x54bc8f=_0x2d5f5c[_0x235edc(0x23e)](_0x310540),_0x350fc5=_0x54bc8f[_0x235edc(0x462)](_0x3cc6e8,_0x993548[_0x235edc(0x3f1)]);if(!_0x350fc5||!Q(_0x350fc5,_0xdfcf8f,{'recordIds':[_0x24d424]}))throw new j('missingRecord');let _0x5b1d47=_0x350fc5[_0x235edc(0x2d0)](),_0x3cfbbb=_0x5b1d47['tables'][_0xdfcf8f],_0x5b8bdc=N(_0x3cfbbb),_0x17fa55=_0x5b8bdc??_0xf4bb07[_0x235edc(0x419)]??P(_0x3cfbbb);if(_0x5b8bdc&&_0xf4bb07['fieldId']&&_0xf4bb07[_0x235edc(0x419)]!==_0x5b8bdc||_0x3cfbbb[_0x235edc(0x39f)][_0x17fa55]&&!M(_0x3cfbbb,_0x17fa55))throw new j(_0x235edc(0x432));if((F(_0x3cfbbb,_0x17fa55)[_0x235edc(0x26b)]['get'](_0x24d424)??0x0)+0x1>=0x5)throw new j(_0x235edc(0x250));if(!Kr(_0x350fc5,_0xdfcf8f,_0xf4bb07[_0x235edc(0x46a)]))return!0x1;let _0x5b77a8=qr({..._0xf4bb07['record'],'values':{..._0xf4bb07[_0x235edc(0x46a)][_0x235edc(0x33c)],[_0x17fa55]:Te([_0x24d424])}}),_0x31ea5f=_0x2d5f5c['get'](J),_0x19d897=new W(),_0x1fffe3=_0x3cfbbb[_0x235edc(0x39f)][_0x17fa55],_0xa87333=_0x1fffe3?((_0x3a4c79=A(_0x1fffe3))==null?void 0x0:_0x3a4c79[_0x235edc(0x253)])===_0x2af9b7['Parent']?null:_0x19d897['updateField'](_0x5b1d47,_0xdfcf8f,_0x17fa55,{'config':{..._0x1fffe3['config'],'relationRole':_0x2af9b7[_0x235edc(0x38c)]}}):_0x31ea5f[_0x235edc(0x504)](_0x350fc5,_0xdfcf8f,Pe(_0x3cfbbb,_0x17fa55,_0xf4bb07[_0x235edc(0x2e3)]),_0x3cfbbb[_0x235edc(0x47a)][_0x235edc(0x353)]),_0x15d59b=_0x31ea5f[_0x235edc(0x25f)](_0x350fc5,_0xdfcf8f,_0x5b77a8),_0x2b0673=R([..._0xa87333?[_0xa87333]:[],_0x15d59b]),_0x5d7dd5=new z()[_0x235edc(0x2c6)](_0x5b1d47,_0x2b0673),_0x41472b={'tableId':_0xdfcf8f,'fieldId':_0x17fa55,'recordId':_0x5b77a8['id'],'oldParentRecordId':null,'parentRecordId':_0x24d424},_0x1ac685={'unitId':_0x3cc6e8,'op':_0x2b0673,'trigger':$r['id'],'hierarchyChanges':[_0x41472b],'source':_0xf4bb07[_0x235edc(0x272)]??'ui'},_0x36b85d={..._0x1ac685,'source':_0x235edc(0x37f)},_0x283c15={'unitId':_0x3cc6e8,'op':_0x5d7dd5,'trigger':$r['id'],'hierarchyChanges':[{..._0x41472b,'oldParentRecordId':_0x24d424,'parentRecordId':null}],'source':_0x235edc(0x3d6)};return _0x2d5f5c['get'](_0x232cd6)[_0x235edc(0x421)](Z['id'],_0x1ac685)?(_0x54bc8f[_0x235edc(0x1df)](_0x3cc6e8),_0x2d5f5c[_0x235edc(0x23e)](_0x56cd6a)[_0x235edc(0x3d4)]({'unitID':_0x3cc6e8,'undoMutations':[{'id':Z['id'],'params':_0x283c15}],'redoMutations':[{'id':Z['id'],'params':_0x36b85d}]}),!0x0):!0x1;}},ei={'id':_0x274f9f(0x50b),'type':_0x154d7f['COMMAND'],'handler'(_0x1139c7,_0x1d8043){const _0x353cd6=_0x274f9f;if(!_0x1d8043)return!0x1;let _0x49ac80=_0x1139c7[_0x353cd6(0x23e)](_0x310540),{unitId:_0x294814,tableId:_0x3ca94b,field:_0x49a4e9,index:_0x129dfa,viewIndexes:_0x32820e}=_0x1d8043,_0x443e57=_0x49ac80[_0x353cd6(0x462)](_0x294814,_0x993548[_0x353cd6(0x3f1)]);if(!_0x443e57||!Q(_0x443e57,_0x3ca94b)||_0x443e57['getSnapshot']()[_0x353cd6(0x529)][_0x3ca94b][_0x353cd6(0x39f)][_0x49a4e9['id']]||_0x129dfa===0x0||!Wr(_0x443e57,_0x3ca94b,_0x49a4e9))return!0x1;let _0x3f8a5a=_0x1139c7[_0x353cd6(0x23e)](_0x232cd6),_0x3e55bc=_0x1139c7[_0x353cd6(0x23e)](_0x56cd6a),_0x258d6d=_0x1139c7[_0x353cd6(0x23e)](J)[_0x353cd6(0x504)](_0x443e57,_0x3ca94b,_0x49a4e9,_0x129dfa,_0x32820e),_0x303103=new z()[_0x353cd6(0x2c6)](_0x443e57[_0x353cd6(0x2d0)](),_0x258d6d),_0x2346f5={'unitId':_0x294814,'op':_0x258d6d},_0x12b976={'unitId':_0x294814,'op':_0x303103};return _0x3f8a5a['syncExecuteCommand'](Z['id'],_0x2346f5)?(_0x49ac80[_0x353cd6(0x1df)](_0x294814),_0x3e55bc[_0x353cd6(0x3d4)]({'unitID':_0x294814,'undoMutations':[{'id':Z['id'],'params':_0x12b976}],'redoMutations':[{'id':Z['id'],'params':_0x2346f5}]}),!0x0):!0x1;}},ti={'id':'base.command.create-base-record','type':_0x154d7f['COMMAND'],'handler'(_0x116977,_0x4cc37b){const _0xaaccdc=_0x274f9f;if(!_0x4cc37b)return!0x1;let _0x1a5f3e=_0x116977[_0xaaccdc(0x23e)](_0x310540),{unitId:_0x5e74ae,tableId:_0x30e900,record:_0x15d21a}=_0x4cc37b,_0x933b27=_0x1a5f3e[_0xaaccdc(0x462)](_0x5e74ae,_0x993548[_0xaaccdc(0x3f1)]);if(!_0x933b27||!Q(_0x933b27,_0x30e900))return!0x1;let _0x1bbe9d=_0x116977[_0xaaccdc(0x23e)](_0x232cd6),_0x228e8e=_0x116977[_0xaaccdc(0x23e)](_0x56cd6a),_0x23865a=_0x116977[_0xaaccdc(0x23e)](J),_0x15936f=_0x933b27[_0xaaccdc(0x2d0)](),_0x2eddc3=Yr(_0x933b27,_0x30e900,[_0x15d21a]);if(!_0x2eddc3)return!0x1;let [_0x2ec027]=_0x2eddc3['records'],{hierarchyChanges:_0x41ce99,hierarchyFieldToMaterialize:_0x5b2b86}=_0x2eddc3,_0x3ca356=_0x5b2b86?_0x23865a[_0xaaccdc(0x504)](_0x933b27,_0x30e900,_0x5b2b86,_0x15936f[_0xaaccdc(0x529)][_0x30e900][_0xaaccdc(0x47a)][_0xaaccdc(0x353)]):null,_0x211b9b=_0x23865a[_0xaaccdc(0x25f)](_0x933b27,_0x30e900,_0x2ec027),_0x53a860=R([..._0x3ca356?[_0x3ca356]:[],_0x211b9b]),_0x5725b8=new z()[_0xaaccdc(0x2c6)](_0x15936f,_0x53a860),_0x29827b={'unitId':_0x5e74ae,'op':_0x53a860,'hierarchyChanges':_0x41ce99['length']?_0x41ce99:void 0x0,'source':_0x41ce99[_0xaaccdc(0x353)]?_0x4cc37b[_0xaaccdc(0x272)]??'ui':void 0x0},_0x327123={..._0x29827b,'source':_0x41ce99[_0xaaccdc(0x353)]?'redo':void 0x0},_0x3b2c9e={'unitId':_0x5e74ae,'op':_0x5725b8,'hierarchyChanges':_0x41ce99[_0xaaccdc(0x353)]?_0x41ce99[_0xaaccdc(0x22e)](_0x5a2c4f=>({..._0x5a2c4f,'oldParentRecordId':_0x5a2c4f[_0xaaccdc(0x4d9)],'parentRecordId':null})):void 0x0,'source':_0x41ce99[_0xaaccdc(0x353)]?_0xaaccdc(0x3d6):void 0x0};return _0x1bbe9d[_0xaaccdc(0x421)](Z['id'],_0x29827b)?(_0x1a5f3e[_0xaaccdc(0x1df)](_0x5e74ae),_0x228e8e[_0xaaccdc(0x3d4)]({'unitID':_0x5e74ae,'undoMutations':[{'id':Z['id'],'params':_0x3b2c9e}],'redoMutations':[{'id':Z['id'],'params':_0x327123}]}),!0x0):!0x1;}},ni={'id':'base.command.create-base-table','type':_0x154d7f['COMMAND'],'handler':(_0x1b2cc4,_0x167580)=>{const _0x3739ec=_0x274f9f;if(!_0x167580)return!0x1;let _0x317a4a=_0x1b2cc4[_0x3739ec(0x23e)](_0x310540),{unitId:_0x291a4d,table:_0x517750,index:_0x56588e}=_0x167580,_0x27f2f2=_0x317a4a[_0x3739ec(0x462)](_0x291a4d,_0x993548[_0x3739ec(0x3f1)]);if(!_0x27f2f2||_0x27f2f2['getSnapshot']()[_0x3739ec(0x529)][_0x517750['id']])return!0x1;try{_0xbbbb25(_0x517750);}catch{return!0x1;}let _0x3a42ad=_0x1b2cc4[_0x3739ec(0x23e)](_0x232cd6),_0x378a7d=_0x1b2cc4[_0x3739ec(0x23e)](_0x56cd6a),_0x4cf0a1=_0x27f2f2[_0x3739ec(0x2d0)](),_0xe9e15b={..._0x517750,'name':_0x27f2f2[_0x3739ec(0x515)](_0x517750[_0x3739ec(0x248)])},_0x158534=new W()[_0x3739ec(0x494)](_0x4cf0a1,_0xe9e15b,_0x56588e),_0x19f09f=new z()[_0x3739ec(0x2c6)](_0x4cf0a1,_0x158534),_0x5b67e0={'unitId':_0x291a4d,'op':_0x158534},_0x23be08={'unitId':_0x291a4d,'op':_0x19f09f};return _0x3a42ad['syncExecuteCommand'](Z['id'],_0x5b67e0)?(_0x317a4a[_0x3739ec(0x1df)](_0x291a4d),_0x378a7d['pushUndoRedo']({'unitID':_0x291a4d,'undoMutations':[{'id':Z['id'],'params':_0x23be08}],'redoMutations':[{'id':Z['id'],'params':_0x5b67e0}]}),!0x0):!0x1;}};function ri(_0x27c405,_0xdfdb3,_0x1f7a47=[]){const _0x4a0e32=_0x274f9f;let _0x418936=new Set([...Object[_0x4a0e32(0x33c)](_0x27c405[_0x4a0e32(0x39f)])[_0x4a0e32(0x458)](_0x4fbba9=>_0x4fbba9)[_0x4a0e32(0x22e)](_0x3023a5=>_0x3023a5['name']),..._0x1f7a47[_0x4a0e32(0x22e)](_0x4fc3be=>_0x4fc3be[_0x4a0e32(0x248)])]);if(!_0x418936[_0x4a0e32(0x51e)](_0xdfdb3))return _0xdfdb3;let _0x5448ec=0x2;for(;_0x418936[_0x4a0e32(0x51e)](_0xdfdb3+'\x20'+_0x5448ec);)_0x5448ec++;return _0xdfdb3+'\x20'+_0x5448ec;}function ii(_0x1140cd,_0x59bdf0){const _0x594aad=_0x274f9f;if(!_0x1140cd||!_0x59bdf0[_0x594aad(0x353)])return;let _0x358b09=[..._0x1140cd];return _0x59bdf0['forEach'](_0x1e7a85=>{const _0x570b1f=_0x594aad;_0x358b09['includes'](_0x1e7a85)||_0x358b09[_0x570b1f(0x254)](_0x1e7a85);}),_0x358b09;}const ai={'options':[{'id':_0x274f9f(0x4c0),'name':_0x274f9f(0x249),'color':_0x274f9f(0x365)},{'id':_0x274f9f(0x3d0),'name':_0x274f9f(0x489),'color':_0x274f9f(0x4f2)},{'id':_0x274f9f(0x292),'name':_0x274f9f(0x3b7),'color':'#BBF7D0'}]},oi={'locale':_0x274f9f(0x239),'pattern':_0x274f9f(0x3b0),'includeTime':!0x1,'hourCycle':_0x274f9f(0x48d),'defaultMode':_0x274f9f(0x52a)};function si(_0x29a932,_0x5326de,_0xc02df4,_0x1335bb){const _0x257c00=_0x274f9f;var _0x33570e;let _0x1dc47b=new W(),_0x57f6b7=_0x29a932[_0x257c00(0x529)][_0x5326de],_0x2f4328=_0x57f6b7?{..._0xc02df4,'fieldOrder':[_0x525439,...(_0xc02df4[_0x257c00(0x47a)]??_0x57f6b7[_0x257c00(0x47a)])[_0x257c00(0x458)](_0x1f55d3=>_0x1f55d3!==_0x525439)],'fieldSettings':{..._0xc02df4[_0x257c00(0x243)],[_0x525439]:{...(_0x33570e=_0xc02df4[_0x257c00(0x243)])==null?void 0x0:_0x33570e[_0x525439],'hidden':!0x0}}}:_0xc02df4;if(_0x57f6b7&&_0x2f4328[_0x257c00(0x2b9)]===_0x257c00(0x455)){let _0x3387f5=li(_0x57f6b7,_0x2f4328),_0x58761a=_0x3387f5[_0x257c00(0x23c)]?{..._0x2f4328,'config':_0x3387f5[_0x257c00(0x427)],'fieldOrder':_0x3387f5[_0x257c00(0x47a)]??_0x2f4328['fieldOrder']}:_0x2f4328;return R([..._0x3387f5[_0x257c00(0x39f)][_0x257c00(0x22e)](_0x6904bb=>_0x1dc47b[_0x257c00(0x3f5)](_0x29a932,_0x5326de,{'field':_0x6904bb})),_0x1dc47b[_0x257c00(0x4aa)](_0x29a932,_0x5326de,_0x58761a,_0x1335bb)]);}if(!_0x57f6b7||_0x2f4328[_0x257c00(0x2b9)]!==_0x257c00(0x312)&&_0x2f4328['type']!==_0x257c00(0x4cc))return _0x1dc47b[_0x257c00(0x4aa)](_0x29a932,_0x5326de,_0x2f4328,_0x1335bb);let _0x59fefc=ci(_0x57f6b7,_0x2f4328),_0x214884=_0x59fefc[_0x257c00(0x23c)]?{..._0x2f4328,'config':_0x59fefc[_0x257c00(0x427)],'fieldOrder':_0x59fefc[_0x257c00(0x47a)]??_0x2f4328[_0x257c00(0x47a)]}:_0x2f4328;return _0x2f4328[_0x257c00(0x2b9)]===_0x257c00(0x4cc)&&fi(_0x2f4328)&&(_0x214884=pi(_0x57f6b7,_0x214884,_0x59fefc[_0x257c00(0x39f)])),R([..._0x59fefc[_0x257c00(0x39f)][_0x257c00(0x22e)](_0x3e0143=>_0x1dc47b['createField'](_0x29a932,_0x5326de,{'field':_0x3e0143})),_0x1dc47b[_0x257c00(0x4aa)](_0x29a932,_0x5326de,_0x214884,_0x1335bb)]);}function ci(_0x565d9a,_0x3bf81d,_0x3f859b=!0x1){const _0x5e3197=_0x274f9f;var _0xa94945,_0x975091;let _0x123628=_0x565d9a[_0x5e3197(0x47a)][_0x5e3197(0x458)](_0x197044=>hi(_0x565d9a,_0x197044)),_0x5c6fe9=[],_0x3feef6={..._0x3bf81d[_0x5e3197(0x427)]??{}},_0x571097=typeof _0x3feef6['startDateFieldId']==_0x5e3197(0x3c6)&&hi(_0x565d9a,_0x3feef6[_0x5e3197(0x4fe)])?_0x3feef6[_0x5e3197(0x4fe)]:_0x123628[0x0],_0x34dc13=typeof _0x3feef6[_0x5e3197(0x25c)]=='string'&&hi(_0x565d9a,_0x3feef6[_0x5e3197(0x25c)])&&_0x3feef6['endDateFieldId']!==_0x571097?_0x3feef6[_0x5e3197(0x25c)]:_0x123628[_0x5e3197(0x271)](_0x280e81=>_0x280e81!==_0x571097);if(!_0x571097){let _0x23a077=gi(_0x565d9a,_0x5c6fe9,_0x3bf81d[_0x5e3197(0x2b9)]==='gantt'?_0x5e3197(0x238):_0x5e3197(0x44b));_0x5c6fe9[_0x5e3197(0x254)](_0x23a077),_0x571097=_0x23a077['id'];}if((_0x3bf81d['type']==='gantt'||_0x3f859b)&&!_0x34dc13){let _0x4690de=gi(_0x565d9a,_0x5c6fe9,_0x5e3197(0x3ee));_0x5c6fe9[_0x5e3197(0x254)](_0x4690de),_0x34dc13=_0x4690de['id'];}_0x3bf81d['type']==='calendar'&&!_0x34dc13&&delete _0x3feef6['endDateFieldId'],_0x3feef6['startDateFieldId']=_0x571097,_0x3bf81d[_0x5e3197(0x2b9)]===_0x5e3197(0x312)&&_0x34dc13&&(_0x3feef6['endDateFieldId']=_0x34dc13),_0x3bf81d[_0x5e3197(0x2b9)]===_0x5e3197(0x4cc)&&(_0x3feef6['endDateFieldId']=_0x34dc13??_0x571097);let _0x53a34f=ii(_0x3bf81d[_0x5e3197(0x47a)],_0x5c6fe9['map'](_0x598046=>_0x598046['id']));return{'changed':_0x5c6fe9['length']>0x0||_0x3feef6[_0x5e3197(0x4fe)]!==((_0xa94945=_0x3bf81d['config'])==null?void 0x0:_0xa94945[_0x5e3197(0x4fe)])||_0x3feef6[_0x5e3197(0x25c)]!==((_0x975091=_0x3bf81d[_0x5e3197(0x427)])==null?void 0x0:_0x975091[_0x5e3197(0x25c)])||!!(_0x53a34f&&!_0x12a306[_0x5e3197(0x203)](_0x53a34f,_0x3bf81d[_0x5e3197(0x47a)]??[])),'fields':_0x5c6fe9,'config':_0x3feef6,'fieldOrder':_0x53a34f};}function li(_0x49d518,_0x586337){const _0x33e701=_0x274f9f;var _0x3db084;let _0x583faf=[],_0x30c642={..._0x586337[_0x33e701(0x427)]??{}},_0x4587a0=typeof _0x30c642[_0x33e701(0x2e6)]=='string'&&ui(_0x49d518,_0x30c642[_0x33e701(0x2e6)])?_0x30c642[_0x33e701(0x2e6)]:_0x49d518[_0x33e701(0x47a)][_0x33e701(0x271)](_0x3c937d=>ui(_0x49d518,_0x3c937d));if(!_0x4587a0){let _0x22e128=di(_0x49d518,_0x583faf);_0x583faf['push'](_0x22e128),_0x4587a0=_0x22e128['id'];}_0x30c642[_0x33e701(0x2e6)]=_0x4587a0;let _0x36ee01=ii(_0x586337[_0x33e701(0x47a)],_0x583faf[_0x33e701(0x22e)](_0x5eb84f=>_0x5eb84f['id']));return{'changed':_0x583faf[_0x33e701(0x353)]>0x0||_0x30c642[_0x33e701(0x2e6)]!==((_0x3db084=_0x586337[_0x33e701(0x427)])==null?void 0x0:_0x3db084[_0x33e701(0x2e6)])||!!(_0x36ee01&&!_0x12a306[_0x33e701(0x203)](_0x36ee01,_0x586337[_0x33e701(0x47a)]??[])),'fields':_0x583faf,'config':_0x30c642,'fieldOrder':_0x36ee01};}function ui(_0x37e7f6,_0x2452c3){const _0x2d81f7=_0x274f9f;let _0x431536=_0x2452c3?_0x37e7f6[_0x2d81f7(0x39f)][_0x2452c3]:null;return _0x431536?[_0x11438e['SingleSelect'],_0x11438e[_0x2d81f7(0x3a5)],_0x11438e[_0x2d81f7(0x259)],_0x11438e[_0x2d81f7(0x33d)],_0x11438e['Group'],_0x11438e[_0x2d81f7(0x44d)]][_0x2d81f7(0x1d2)](_0x431536[_0x2d81f7(0x2b9)]):!0x1;}function di(_0x2bd5eb,_0x15adbd){const _0x5a7c13=_0x274f9f;return{'id':_0x5a7c13(0x3cf)+_0x3a2895(0x8),'name':ri(_0x2bd5eb,_0x5a7c13(0x28f),_0x15adbd),'type':_0x11438e[_0x5a7c13(0x282)],'config':_0x12a306['deepClone'](ai)};}function fi(_0x481f97){const _0x5bd07a=_0x274f9f;return Object[_0x5bd07a(0x311)](_0x481f97['config']??{})['length']===0x0&&Object[_0x5bd07a(0x311)](_0x481f97[_0x5bd07a(0x243)]??{})['length']===0x0;}function pi(_0x487c6d,_0x340b11,_0x16e2f0){const _0x51f437=_0x274f9f;let _0xd9ef7b={..._0x340b11[_0x51f437(0x427)]??{}},_0x329d6b=_0x16e2f0['map'](_0x183a9b=>_0x183a9b['id']),_0xf8e037=[..._0x487c6d[_0x51f437(0x47a)],..._0x329d6b],_0x4b0d9d=typeof _0xd9ef7b['titleFieldId']==_0x51f437(0x3c6)&&mi(_0x487c6d,_0x16e2f0,_0xd9ef7b[_0x51f437(0x3ef)])?_0xd9ef7b[_0x51f437(0x3ef)]:_0x487c6d['primaryFieldId'],_0x2615d4=typeof _0xd9ef7b[_0x51f437(0x4fe)]==_0x51f437(0x3c6)?_0xd9ef7b['startDateFieldId']:'',_0x4256c8=typeof _0xd9ef7b['endDateFieldId']==_0x51f437(0x3c6)?_0xd9ef7b[_0x51f437(0x25c)]:_0x2615d4,_0x4368bb=new Set([_0x4b0d9d,_0x2615d4,_0x4256c8][_0x51f437(0x458)](_0x149a3e=>_0x149a3e&&mi(_0x487c6d,_0x16e2f0,_0x149a3e))),_0x3f7053=Object[_0x51f437(0x372)](_0xf8e037[_0x51f437(0x25e)](_0x1444dc=>_0x4368bb[_0x51f437(0x51e)](_0x1444dc)||!mi(_0x487c6d,_0x16e2f0,_0x1444dc)?[]:[[_0x1444dc,{'hidden':!0x0}]]));return{..._0x340b11,'config':{..._0xd9ef7b,'titleFieldId':_0x4b0d9d},'fieldSettings':_0x3f7053};}function mi(_0x1e6d91,_0x22fa95,_0x1fcbca){const _0x2d6b2b=_0x274f9f;return!!(_0x1e6d91[_0x2d6b2b(0x39f)][_0x1fcbca]??_0x22fa95[_0x2d6b2b(0x271)](_0x470206=>_0x470206['id']===_0x1fcbca))&&!0x0;}function hi(_0x337324,_0x511cab){const _0x48eaa5=_0x274f9f;let _0x510c03=_0x511cab?_0x337324[_0x48eaa5(0x39f)][_0x511cab]:null;return!!_0x510c03&&_0x510c03[_0x48eaa5(0x2b9)]===_0x11438e[_0x48eaa5(0x44b)]&&_0x510c03[_0x48eaa5(0x3ba)]!==!0x0&&_0x510c03[_0x48eaa5(0x3a9)]!==!0x0;}function gi(_0x40d159,_0x287918,_0x4b9f7b){const _0x5204dc=_0x274f9f;let _0x22de01=new Set([...Object[_0x5204dc(0x311)](_0x40d159['fields']),..._0x287918[_0x5204dc(0x22e)](_0x8896ea=>_0x8896ea['id'])]),_0x36b14d=_0x5204dc(0x3cf)+_0x3a2895(0x8);for(;_0x22de01['has'](_0x36b14d);)_0x36b14d='fld-'+_0x3a2895(0x8);return{'id':_0x36b14d,'name':ri(_0x40d159,_0x4b9f7b,_0x287918),'type':_0x11438e['Date'],'config':{...oi}};}const _i={'id':_0x274f9f(0x361),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x9004f3,_0x3b731d)=>{const _0x46bc1c=_0x274f9f;if(!_0x3b731d)return!0x1;let _0x122ef9=_0x9004f3['get'](_0x310540),{unitId:_0x4aa4de,tableId:_0x273c82,view:_0x1dbbd4,index:_0x3d1601}=_0x3b731d,_0x23dd84=_0x122ef9[_0x46bc1c(0x462)](_0x4aa4de,_0x993548[_0x46bc1c(0x3f1)]);if(!_0x23dd84||!Q(_0x23dd84,_0x273c82)||_0x23dd84[_0x46bc1c(0x2d0)]()['tables'][_0x273c82][_0x46bc1c(0x22d)][_0x1dbbd4['id']])return!0x1;let _0x1a61ba=_0x9004f3['get'](_0x232cd6),_0x581c19=_0x9004f3['get'](_0x56cd6a),_0xeda0f5=_0x23dd84['getSnapshot'](),_0x464f45=si(_0xeda0f5,_0x273c82,_0x1dbbd4,_0x3d1601),_0x378504=new z()[_0x46bc1c(0x2c6)](_0xeda0f5,_0x464f45),_0x409062={'unitId':_0x4aa4de,'op':_0x464f45},_0x5e31e9={'unitId':_0x4aa4de,'op':_0x378504};return _0x1a61ba[_0x46bc1c(0x421)](Z['id'],_0x409062)?(_0x122ef9[_0x46bc1c(0x1df)](_0x4aa4de),_0x581c19[_0x46bc1c(0x3d4)]({'unitID':_0x4aa4de,'undoMutations':[{'id':Z['id'],'params':_0x5e31e9}],'redoMutations':[{'id':Z['id'],'params':_0x409062}]}),!0x0):!0x1;}},vi={'id':_0x274f9f(0x2f4),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0xdd3f5b,_0x22cb7b){const _0x103550=_0x274f9f;if(!_0x22cb7b)return!0x1;let _0x1567ee=_0xdd3f5b[_0x103550(0x23e)](_0x310540),{unitId:_0x375255,tableId:_0x204ec5,fieldId:_0x41461f}=_0x22cb7b,_0x5c5aa9=_0x1567ee['getUnit'](_0x375255,_0x993548[_0x103550(0x3f1)]);if(!_0x5c5aa9)return!0x1;let _0x4613d9=_0x5c5aa9[_0x103550(0x2d0)](),_0x38c91a=_0x4613d9['tables'][_0x204ec5];if(!Q(_0x5c5aa9,_0x204ec5,{'fieldIds':[_0x41461f]})||_0x38c91a[_0x103550(0x2db)]===_0x41461f||_0x41461f===_0x525439)return!0x1;let _0x568619=_0xdd3f5b[_0x103550(0x23e)](_0x232cd6),_0x4a95cc=_0xdd3f5b[_0x103550(0x23e)](_0x56cd6a),_0x15d393=new W()[_0x103550(0x25b)](_0x4613d9,_0x204ec5,_0x41461f),_0xf20893=new z()[_0x103550(0x2c6)](_0x4613d9,_0x15d393),_0x5e8cc8={'unitId':_0x375255,'op':_0x15d393},_0x352c66={'unitId':_0x375255,'op':_0xf20893};return _0x568619['syncExecuteCommand'](Z['id'],_0x5e8cc8)?(_0x1567ee[_0x103550(0x1df)](_0x375255),_0x4a95cc[_0x103550(0x3d4)]({'unitID':_0x375255,'undoMutations':[{'id':Z['id'],'params':_0x352c66}],'redoMutations':[{'id':Z['id'],'params':_0x5e8cc8}]}),!0x0):!0x1;}},yi={'id':_0x274f9f(0x413),'type':_0x154d7f['COMMAND'],'handler':(_0x18aa3f,_0xba4c9a)=>{const _0x163fd2=_0x274f9f;if(!_0xba4c9a)return!0x1;let _0xc4759=_0x18aa3f['get'](_0x310540),{unitId:_0x3dff3e,tableId:_0x1ed245,recordId:_0xcf0aa7}=_0xba4c9a,_0x41744d=_0xc4759[_0x163fd2(0x462)](_0x3dff3e,_0x993548[_0x163fd2(0x3f1)]);if(!_0x41744d||!Q(_0x41744d,_0x1ed245,{'recordIds':[_0xcf0aa7]}))return!0x1;let _0x2b3ac5=_0x18aa3f[_0x163fd2(0x23e)](_0x232cd6),_0xd252d7=_0x18aa3f[_0x163fd2(0x23e)](_0x56cd6a),_0x3a826b=_0x41744d[_0x163fd2(0x2d0)](),_0x5a3160=ze(_0x3a826b['tables'][_0x1ed245],[_0xcf0aa7]),_0x33d085=new W()[_0x163fd2(0x497)](_0x3a826b,_0x1ed245,_0xcf0aa7),_0x3e2136=new z()[_0x163fd2(0x2c6)](_0x3a826b,_0x33d085),_0xae1ec={'unitId':_0x3dff3e,'op':_0x33d085,'hierarchyChanges':_0x5a3160,'source':_0xba4c9a['source']??'ui'},_0x39b257={..._0xae1ec,'source':_0x163fd2(0x37f)},_0xe5f986={'unitId':_0x3dff3e,'op':_0x3e2136,'hierarchyChanges':_0x5a3160['map'](_0x1e0426=>({..._0x1e0426,'oldParentRecordId':_0x1e0426[_0x163fd2(0x4d9)],'parentRecordId':_0x1e0426[_0x163fd2(0x31b)]})),'source':'undo'};return _0x2b3ac5[_0x163fd2(0x421)](Z['id'],_0xae1ec)?(_0xc4759[_0x163fd2(0x1df)](_0x3dff3e),_0xd252d7['pushUndoRedo']({'unitID':_0x3dff3e,'undoMutations':[{'id':Z['id'],'params':_0xe5f986}],'redoMutations':[{'id':Z['id'],'params':_0x39b257}]}),!0x0):!0x1;}},bi={'id':_0x274f9f(0x252),'type':_0x154d7f['COMMAND'],'handler':(_0x14ecca,_0x3dd803)=>{const _0x5d1d4c=_0x274f9f;if(!_0x3dd803)return!0x1;let _0x36f6de=_0x14ecca[_0x5d1d4c(0x23e)](_0x310540),{unitId:_0x1442d1,tableId:_0x5d3f92}=_0x3dd803,_0x561409=_0x36f6de['getUnit'](_0x1442d1,_0x993548[_0x5d1d4c(0x3f1)]);if(!_0x561409||!Q(_0x561409,_0x5d3f92))return!0x1;let _0x2ef5a7=_0x14ecca['get'](_0x232cd6),_0x613c8f=_0x14ecca[_0x5d1d4c(0x23e)](_0x56cd6a),_0x5526e7=_0x561409['getSnapshot'](),_0x1ff5d6=ke(_0x5526e7,_0x5d3f92);if(_0x1ff5d6[_0x5d1d4c(0x353)]>0x0)return console[_0x5d1d4c(0x36a)](_0x5d1d4c(0x4c7)+_0x5d3f92+_0x5d1d4c(0x1e4)+_0x1ff5d6[_0x5d1d4c(0x22e)](_0x47ad05=>_0x47ad05[_0x5d1d4c(0x37e)]+'.'+_0x47ad05[_0x5d1d4c(0x419)])[_0x5d1d4c(0x48b)](',\x20')+'.'),!0x1;let _0x22e7d4=new W()['deleteTable'](_0x5526e7,_0x5d3f92),_0xf767aa=new z()['invertOp'](_0x5526e7,_0x22e7d4),_0xc8cb6b={'unitId':_0x1442d1,'op':_0x22e7d4},_0x5a6328={'unitId':_0x1442d1,'op':_0xf767aa};return _0x2ef5a7[_0x5d1d4c(0x421)](Z['id'],_0xc8cb6b)?(_0x36f6de[_0x5d1d4c(0x1df)](_0x1442d1),_0x613c8f[_0x5d1d4c(0x3d4)]({'unitID':_0x1442d1,'undoMutations':[{'id':Z['id'],'params':_0x5a6328}],'redoMutations':[{'id':Z['id'],'params':_0xc8cb6b}]}),!0x0):!0x1;}},xi={'id':_0x274f9f(0x36f),'type':_0x154d7f['COMMAND'],'handler':(_0xd109c5,_0x409a5b)=>{const _0x7ebc2=_0x274f9f;if(!_0x409a5b)return!0x1;let _0x211107=_0xd109c5[_0x7ebc2(0x23e)](_0x310540),{unitId:_0xc5cc23,tableId:_0x1203dc,viewId:_0x5674ca}=_0x409a5b,_0x513df4=_0x211107['getUnit'](_0xc5cc23,_0x993548[_0x7ebc2(0x3f1)]);if(!_0x513df4||!Q(_0x513df4,_0x1203dc,{'viewIds':[_0x5674ca]}))return!0x1;let _0x3c231a=_0xd109c5[_0x7ebc2(0x23e)](_0x232cd6),_0x415370=_0xd109c5[_0x7ebc2(0x23e)](_0x56cd6a),_0x3b376d=_0x513df4[_0x7ebc2(0x2d0)](),_0x2257d3=new W()[_0x7ebc2(0x35e)](_0x3b376d,_0x1203dc,_0x5674ca),_0x42291b=new z()[_0x7ebc2(0x2c6)](_0x3b376d,_0x2257d3),_0x410cce={'unitId':_0xc5cc23,'op':_0x2257d3},_0x48f274={'unitId':_0xc5cc23,'op':_0x42291b};return _0x3c231a[_0x7ebc2(0x421)](Z['id'],_0x410cce)?(_0x211107['focusUnit'](_0xc5cc23),_0x415370[_0x7ebc2(0x3d4)]({'unitID':_0xc5cc23,'undoMutations':[{'id':Z['id'],'params':_0x48f274}],'redoMutations':[{'id':Z['id'],'params':_0x410cce}]}),!0x0):!0x1;}},Si={'id':_0x274f9f(0x3be),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x8d736a,_0x52950f)=>{const _0x29be28=_0x274f9f;if(!_0x52950f)return!0x1;let _0x2e31d6=_0x8d736a[_0x29be28(0x23e)](_0x310540),{unitId:_0x26acc6,tableId:_0x313e64,sourceFieldId:_0x115fb8,field:_0x449d0f,index:_0x3d0d4e,viewIndexes:_0x357bac}=_0x52950f,_0x52cd26=_0x2e31d6['getUnit'](_0x26acc6,_0x993548[_0x29be28(0x3f1)]);if(!_0x52cd26||!Q(_0x52cd26,_0x313e64,{'fieldIds':[_0x115fb8]})||_0x115fb8===_0x525439||_0x52cd26[_0x29be28(0x2d0)]()['tables'][_0x313e64]['fields'][_0x449d0f['id']]||_0x3d0d4e===0x0||!Wr(_0x52cd26,_0x313e64,_0x449d0f))return!0x1;let _0x52b1c4=_0x8d736a['get'](_0x232cd6),_0x4fe1da=_0x8d736a[_0x29be28(0x23e)](_0x56cd6a),_0x1ef599=_0x52cd26[_0x29be28(0x2d0)](),_0x41be59=new W()[_0x29be28(0x3c0)](_0x1ef599,_0x313e64,_0x115fb8,{'field':_0x449d0f,'index':_0x3d0d4e,'viewIndexes':_0x357bac}),_0x1f8436=new z()['invertOp'](_0x1ef599,_0x41be59),_0xffd1f3={'unitId':_0x26acc6,'op':_0x41be59},_0x1f43bd={'unitId':_0x26acc6,'op':_0x1f8436};return _0x52b1c4[_0x29be28(0x421)](Z['id'],_0xffd1f3)?(_0x2e31d6['focusUnit'](_0x26acc6),_0x4fe1da[_0x29be28(0x3d4)]({'unitID':_0x26acc6,'undoMutations':[{'id':Z['id'],'params':_0x1f43bd}],'redoMutations':[{'id':Z['id'],'params':_0xffd1f3}]}),!0x0):!0x1;}},Ci={'id':'base.command.duplicate-base-record','type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x255244,_0x4b2cae)=>{const _0x3d1920=_0x274f9f;if(!_0x4b2cae)return!0x1;let _0x299ba9=_0x255244[_0x3d1920(0x23e)](_0x310540),{unitId:_0x3fc428,tableId:_0x4e5bc6,sourceRecordId:_0x8da5ce,record:_0x394698}=_0x4b2cae,_0x4b5312=_0x299ba9['getUnit'](_0x3fc428,_0x993548[_0x3d1920(0x3f1)]);if(!_0x4b5312||!Q(_0x4b5312,_0x4e5bc6,{'recordIds':[_0x8da5ce]})||!Kr(_0x4b5312,_0x4e5bc6,_0x394698))return!0x1;let _0x1804dc=_0x255244['get'](_0x232cd6),_0x585107=_0x255244['get'](_0x56cd6a),_0x1a504f=_0x4b5312[_0x3d1920(0x2d0)](),_0x15226c=qr(_0x394698),_0x30d624=Le(_0x1a504f['tables'][_0x4e5bc6],[_0x15226c]),_0x187906=new W()[_0x3d1920(0x31d)](_0x1a504f,_0x4e5bc6,_0x8da5ce,_0x15226c),_0x39543c=new z()[_0x3d1920(0x2c6)](_0x1a504f,_0x187906),_0x3924f7={'unitId':_0x3fc428,'op':_0x187906,'hierarchyChanges':_0x30d624[_0x3d1920(0x353)]?_0x30d624:void 0x0,'source':_0x30d624['length']?_0x4b2cae[_0x3d1920(0x272)]??'ui':void 0x0},_0x5e0ce9={..._0x3924f7,'source':_0x30d624[_0x3d1920(0x353)]?_0x3d1920(0x37f):void 0x0},_0x5c20c1={'unitId':_0x3fc428,'op':_0x39543c,'hierarchyChanges':_0x30d624[_0x3d1920(0x353)]?_0x30d624[_0x3d1920(0x22e)](_0x527308=>({..._0x527308,'oldParentRecordId':_0x527308['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x30d624[_0x3d1920(0x353)]?_0x3d1920(0x3d6):void 0x0};return _0x1804dc[_0x3d1920(0x421)](Z['id'],_0x3924f7)?(_0x299ba9['focusUnit'](_0x3fc428),_0x585107[_0x3d1920(0x3d4)]({'unitID':_0x3fc428,'undoMutations':[{'id':Z['id'],'params':_0x5c20c1}],'redoMutations':[{'id':Z['id'],'params':_0x5e0ce9}]}),!0x0):!0x1;}},wi={'id':_0x274f9f(0x260),'type':_0x154d7f['COMMAND'],'handler'(_0x39859d,_0x95cbca){const _0x1c40d1=_0x274f9f;if(!_0x95cbca)return!0x1;let _0x1d60e9=_0x39859d[_0x1c40d1(0x23e)](_0x310540),{unitId:_0x3ef114,tableId:_0x49ac07,viewId:_0x1293c4,ensureEndDateField:_0x18c9e9}=_0x95cbca,_0x11b810=_0x1d60e9['getUnit'](_0x3ef114,_0x993548[_0x1c40d1(0x3f1)]);if(!_0x11b810||!Q(_0x11b810,_0x49ac07,{'viewIds':[_0x1293c4]}))return!0x1;let _0x2ba041=_0x11b810[_0x1c40d1(0x2d0)](),_0x3a3672=_0x2ba041[_0x1c40d1(0x529)][_0x49ac07],_0x534aed=_0x3a3672==null?void 0x0:_0x3a3672[_0x1c40d1(0x22d)][_0x1293c4];if(!_0x3a3672||!_0x534aed||_0x534aed[_0x1c40d1(0x2b9)]!==_0x1c40d1(0x312)&&_0x534aed[_0x1c40d1(0x2b9)]!==_0x1c40d1(0x4cc))return!0x1;let _0x6ee5b=ci(_0x3a3672,_0x534aed,_0x18c9e9===!0x0);if(!_0x6ee5b['changed'])return!0x1;let _0x4aed17=_0x39859d[_0x1c40d1(0x23e)](_0x232cd6),_0x47dac1=_0x39859d[_0x1c40d1(0x23e)](_0x56cd6a),_0x261792=new W(),_0x4844fc=[..._0x6ee5b['fields']['map'](_0x142f08=>_0x261792[_0x1c40d1(0x3f5)](_0x2ba041,_0x95cbca[_0x1c40d1(0x37e)],{'field':_0x142f08})),Ti([...Ei(_0x95cbca[_0x1c40d1(0x37e)],_0x95cbca[_0x1c40d1(0x490)]),_0x1c40d1(0x427)],_0x534aed[_0x1c40d1(0x427)],_0x6ee5b['config'])];_0x6ee5b[_0x1c40d1(0x47a)]&&_0x4844fc['push'](Ti([...Ei(_0x95cbca[_0x1c40d1(0x37e)],_0x95cbca[_0x1c40d1(0x490)]),_0x1c40d1(0x47a)],_0x534aed[_0x1c40d1(0x47a)],_0x6ee5b['fieldOrder']));let _0x448913=R(_0x4844fc),_0x1dbc9a=new z()[_0x1c40d1(0x2c6)](_0x2ba041,_0x448913),_0x59b0e0={'unitId':_0x3ef114,'op':_0x448913},_0x355196={'unitId':_0x3ef114,'op':_0x1dbc9a};return _0x4aed17[_0x1c40d1(0x421)](Z['id'],_0x59b0e0)?(_0x1d60e9[_0x1c40d1(0x1df)](_0x3ef114),_0x47dac1['pushUndoRedo']({'unitID':_0x3ef114,'undoMutations':[{'id':Z['id'],'params':_0x355196}],'redoMutations':[{'id':Z['id'],'params':_0x59b0e0}]}),!0x0):!0x1;}};function Ti(_0x4731d1,_0x5c7ff8,_0x201e1a){const _0x5bc5b3=_0x274f9f;return _0x5c7ff8===void 0x0?_0x356391[_0x5bc5b3(0x1ff)](_0x4731d1,_0x201e1a):_0x356391[_0x5bc5b3(0x2e2)](_0x4731d1,_0x5c7ff8,_0x201e1a);}function Ei(_0xc4ff98,_0x393b8e){return['tables',_0xc4ff98,'views',_0x393b8e];}const Di={'id':_0x274f9f(0x426),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x68bbde,_0xb7a4cd)=>{const _0x341ef9=_0x274f9f;if(!_0xb7a4cd)return!0x1;let _0x2ffbe6=_0x68bbde[_0x341ef9(0x23e)](_0x310540),{unitId:_0x330e85,tableId:_0x3e86b9,fieldId:_0x3add92,target:_0x11eebe}=_0xb7a4cd,_0x47b107=_0x2ffbe6[_0x341ef9(0x462)](_0x330e85,_0x993548[_0x341ef9(0x3f1)]),_0x401054=_0x11eebe['beforeFieldId']??_0x11eebe['afterFieldId'];if(!_0x47b107||!!_0x11eebe['beforeFieldId']==!!_0x11eebe[_0x341ef9(0x37c)]||!_0x401054||_0x401054===_0x3add92||_0x3add92===_0x525439||_0x11eebe['beforeFieldId']===_0x525439||!Q(_0x47b107,_0x3e86b9,{'fieldIds':[_0x3add92,_0x401054]}))return!0x1;let _0x2f8d3b=_0x68bbde['get'](_0x232cd6),_0x4f28e3=_0x68bbde[_0x341ef9(0x23e)](_0x56cd6a),_0x58350c=_0x47b107[_0x341ef9(0x2d0)](),_0x3c5281=new W()[_0x341ef9(0x332)](_0x58350c,_0x3e86b9,_0x3add92,_0x11eebe),_0x52c874=new z()[_0x341ef9(0x2c6)](_0x58350c,_0x3c5281),_0x425d3a={'unitId':_0x330e85,'op':_0x3c5281},_0xac2544={'unitId':_0x330e85,'op':_0x52c874};return _0x2f8d3b[_0x341ef9(0x421)](Z['id'],_0x425d3a)?(_0x2ffbe6[_0x341ef9(0x1df)](_0x330e85),_0x4f28e3[_0x341ef9(0x3d4)]({'unitID':_0x330e85,'undoMutations':[{'id':Z['id'],'params':_0xac2544}],'redoMutations':[{'id':Z['id'],'params':_0x425d3a}]}),!0x0):!0x1;}},Oi={'id':_0x274f9f(0x3f6),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x418ba9,_0x12a37e)=>{const _0x2c3ac5=_0x274f9f;var _0x54b52b;if(!_0x12a37e)return!0x1;let {unitId:_0x50f9de,tableId:_0x22194b,recordId:_0xba25a4,parentRecordId:_0x1bbc5a,orderKey:_0x441065}=_0x12a37e,_0x3eb08f=_0x418ba9[_0x2c3ac5(0x23e)](_0x310540),_0x415047=_0x3eb08f[_0x2c3ac5(0x462)](_0x50f9de,_0x993548['UNIVER_BASE']);if(!_0x415047||!Q(_0x415047,_0x22194b,{'recordIds':[_0xba25a4,..._0x1bbc5a?[_0x1bbc5a]:[]]}))throw new j(_0x2c3ac5(0x2ac));let _0x1e974e=_0x415047[_0x2c3ac5(0x2d0)](),_0xcbe836=_0x1e974e[_0x2c3ac5(0x529)][_0x22194b],_0x152808=N(_0xcbe836),_0x37cab3=_0x152808??_0x12a37e['fieldId']??P(_0xcbe836);if(_0x152808&&_0x12a37e[_0x2c3ac5(0x419)]&&_0x12a37e[_0x2c3ac5(0x419)]!==_0x152808||_0xcbe836['fields'][_0x37cab3]&&!M(_0xcbe836,_0x37cab3))throw new j(_0x2c3ac5(0x432));let _0x1248ec=F(_0xcbe836,_0x37cab3),_0x33c5f3=He(_0x1248ec,_0xba25a4,_0x1bbc5a);if(!_0x33c5f3[_0x2c3ac5(0x352)])throw new j(_0x33c5f3[_0x2c3ac5(0x257)]===_0x29e4ba['SelfParent']?_0x2c3ac5(0x1e5):_0x33c5f3['reason']===_0x29e4ba['Cycle']?'cycle':_0x2c3ac5(0x250));let _0x3f24c2=_0x1248ec['parentByRecordId']['get'](_0xba25a4)??null,_0x3d433b=_0xcbe836[_0x2c3ac5(0x3c4)][_0xba25a4][_0x2c3ac5(0x280)];if(_0x3f24c2===_0x1bbc5a&&(_0x441065===void 0x0||_0x441065===_0x3d433b))return!0x0;let _0x58cb2c=_0x3f24c2!==_0x1bbc5a,_0x3bda20=_0x441065!==void 0x0&&_0x441065!==_0x3d433b,_0x2c70be=new W(),_0x484576=[],_0x5db41f=_0xcbe836[_0x2c3ac5(0x39f)][_0x37cab3],_0x5f42e3=_0x58cb2c&&(!_0x5db41f||((_0x54b52b=A(_0x5db41f))==null?void 0x0:_0x54b52b[_0x2c3ac5(0x253)])!==_0x2af9b7[_0x2c3ac5(0x38c)])?_0x5db41f?_0x2c70be['updateField'](_0x1e974e,_0x22194b,_0x37cab3,{'config':{..._0x5db41f[_0x2c3ac5(0x427)],'relationRole':_0x2af9b7[_0x2c3ac5(0x38c)]}}):_0x418ba9[_0x2c3ac5(0x23e)](J)[_0x2c3ac5(0x504)](_0x415047,_0x22194b,Pe(_0xcbe836,_0x37cab3,_0x12a37e[_0x2c3ac5(0x2e3)]),_0xcbe836[_0x2c3ac5(0x47a)][_0x2c3ac5(0x353)]):null;_0x5f42e3&&_0x484576['push'](_0x5f42e3),_0x58cb2c&&_0x484576['push'](_0x2c70be[_0x2c3ac5(0x329)](_0x1e974e,_0x22194b,_0xba25a4,_0x37cab3,_0x1bbc5a?Te([_0x1bbc5a]):'')),_0x3bda20&&_0x484576[_0x2c3ac5(0x254)](_0x2c70be['updateRecordOrder'](_0x1e974e,_0x22194b,_0xba25a4,_0x441065));let _0x3fe668=R(_0x484576),_0x12f173={'tableId':_0x22194b,'fieldId':_0x37cab3,'recordId':_0xba25a4,'oldParentRecordId':_0x3f24c2,'parentRecordId':_0x1bbc5a},_0x2b2b2a={'unitId':_0x50f9de,'op':_0x3fe668,'trigger':Oi['id'],'hierarchyChanges':[_0x12f173],'source':_0x12a37e[_0x2c3ac5(0x272)]??'ui'},_0x36193f={..._0x2b2b2a,'source':_0x2c3ac5(0x37f)};if(!_0x418ba9[_0x2c3ac5(0x23e)](_0x232cd6)[_0x2c3ac5(0x421)](Z['id'],_0x2b2b2a))return!0x1;let _0x5a5672=_0x415047[_0x2c3ac5(0x2d0)](),_0x5c8b1c=[];_0x58cb2c&&_0x5c8b1c['push'](ki(_0x5a5672,_0x1e974e,_0x22194b,_0xba25a4,_0x37cab3)),_0x3bda20&&_0x5c8b1c[_0x2c3ac5(0x254)](Ai(_0x5a5672,_0x1e974e,_0x22194b,_0xba25a4)),_0x5f42e3&&_0x5c8b1c[_0x2c3ac5(0x254)](new z()[_0x2c3ac5(0x2c6)](_0x1e974e,_0x5f42e3));let _0x382443={'unitId':_0x50f9de,'op':R(_0x5c8b1c),'trigger':Oi['id'],'hierarchyChanges':[{..._0x12f173,'oldParentRecordId':_0x1bbc5a,'parentRecordId':_0x3f24c2}],'source':'undo'};return _0x3eb08f[_0x2c3ac5(0x1df)](_0x50f9de),_0x418ba9['get'](_0x56cd6a)[_0x2c3ac5(0x3d4)]({'unitID':_0x50f9de,'undoMutations':[{'id':Z['id'],'params':_0x382443}],'redoMutations':[{'id':Z['id'],'params':_0x36193f}]}),!0x0;}};function ki(_0x2f4073,_0x1dc093,_0x447be8,_0x7824d2,_0x3e3071){const _0x5bdf1b=_0x274f9f;var _0x20f72a,_0x3204f3,_0x332717,_0x134002,_0x59c493,_0x260760,_0x2015e6,_0x2936a2;let _0x49f9cd=_0x2f4073[_0x5bdf1b(0x529)][_0x447be8],_0x3fbae5=_0x1dc093[_0x5bdf1b(0x529)][_0x447be8],_0x326bdd=(_0x20f72a=_0x49f9cd[_0x5bdf1b(0x269)])==null?void 0x0:_0x20f72a[_0x7824d2],_0x4ffcd3=(_0x3204f3=_0x49f9cd[_0x5bdf1b(0x4b9)])==null?void 0x0:_0x3204f3[_0x3e3071],_0x28bfb4=(_0x332717=_0x3fbae5['rowIndex'])==null?void 0x0:_0x332717[_0x7824d2],_0x59164f=(_0x134002=_0x3fbae5[_0x5bdf1b(0x4b9)])==null?void 0x0:_0x134002[_0x3e3071],_0x59e01d=_0x326bdd==null||_0x4ffcd3==null||(_0x59c493=_0x49f9cd[_0x5bdf1b(0x434)])==null||(_0x59c493=_0x59c493[_0x326bdd])==null?void 0x0:_0x59c493[_0x4ffcd3],_0x2084ac=_0x28bfb4==null||_0x59164f==null||(_0x260760=_0x3fbae5[_0x5bdf1b(0x434)])==null||(_0x260760=_0x260760[_0x28bfb4])==null?void 0x0:_0x260760[_0x59164f],_0x38d487=(_0x2015e6=_0x49f9cd[_0x5bdf1b(0x3c4)][_0x7824d2])==null?void 0x0:_0x2015e6[_0x5bdf1b(0x33c)][_0x3e3071],_0x42fbb5=(_0x2936a2=_0x3fbae5['records'][_0x7824d2])==null?void 0x0:_0x2936a2[_0x5bdf1b(0x33c)][_0x3e3071],_0x408bea=[],_0x2091fb=ji(_0x326bdd==null||_0x4ffcd3==null?null:U[_0x5bdf1b(0x434)](_0x447be8,_0x326bdd,_0x4ffcd3),_0x59e01d,_0x2084ac);_0x2091fb&&_0x408bea[_0x5bdf1b(0x254)](_0x2091fb);let _0x4bbd71=ji(U[_0x5bdf1b(0x3aa)](_0x447be8,_0x7824d2,_0x3e3071),_0x38d487,_0x42fbb5);return _0x4bbd71&&_0x408bea[_0x5bdf1b(0x254)](_0x4bbd71),R(_0x408bea);}function Ai(_0x5bd194,_0x4c44fb,_0x392ae3,_0x32449a){const _0x16dcd6=_0x274f9f;var _0x1ca474,_0x1ae73e;let _0x16f111=_0x5bd194['tables'][_0x392ae3],_0x537e30=_0x4c44fb['tables'][_0x392ae3];return R([ji([...U['record'](_0x392ae3,_0x32449a),_0x16dcd6(0x280)],(_0x1ca474=_0x16f111[_0x16dcd6(0x3c4)][_0x32449a])==null?void 0x0:_0x1ca474[_0x16dcd6(0x280)],(_0x1ae73e=_0x537e30[_0x16dcd6(0x3c4)][_0x32449a])==null?void 0x0:_0x1ae73e[_0x16dcd6(0x280)]),ji([...U[_0x16dcd6(0x258)](_0x392ae3),_0x16dcd6(0x4fd)],_0x16f111[_0x16dcd6(0x4fd)],_0x537e30[_0x16dcd6(0x4fd)])][_0x16dcd6(0x458)](_0x3e2a54=>!!_0x3e2a54));}function ji(_0x1aa511,_0x5155f8,_0x20e0ac){const _0xfd3d88=_0x274f9f;if(!_0x1aa511||_0x5155f8===void 0x0&&_0x20e0ac===void 0x0)return null;let _0x3aab15=_0x8f86bf[_0xfd3d88(0x492)]();return _0x20e0ac===void 0x0?_0x3aab15['removeOp'](_0x1aa511,_0x5155f8):_0x5155f8===void 0x0?_0x3aab15[_0xfd3d88(0x1ff)](_0x1aa511,_0x20e0ac):_0x3aab15[_0xfd3d88(0x2e2)](_0x1aa511,_0x5155f8,_0x20e0ac);}const Mi={'id':_0x274f9f(0x1d6),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x494086,_0x3cbae8)=>{const _0x750ca5=_0x274f9f;if(!_0x3cbae8)return!0x1;let _0x2ca72e=_0x494086[_0x750ca5(0x23e)](_0x310540),{unitId:_0x2f14c2,tableId:_0x249146,viewId:_0x372854,target:_0x1f4257}=_0x3cbae8,_0x3a390e=_0x2ca72e[_0x750ca5(0x462)](_0x2f14c2,_0x993548[_0x750ca5(0x3f1)]),_0x137cb9=_0x1f4257[_0x750ca5(0x2bc)]??_0x1f4257['afterViewId'];if(!_0x3a390e||!_0x137cb9||_0x137cb9===_0x372854||!Q(_0x3a390e,_0x249146,{'viewIds':[_0x372854,_0x137cb9]}))return!0x1;let _0x22bb03=_0x494086['get'](_0x232cd6),_0x231468=_0x494086[_0x750ca5(0x23e)](_0x56cd6a),_0x18cb01=_0x3a390e[_0x750ca5(0x2d0)](),_0x49ca38=new W()[_0x750ca5(0x26a)](_0x18cb01,_0x249146,_0x372854,_0x1f4257),_0x360063=new z()['invertOp'](_0x18cb01,_0x49ca38),_0x2b462d={'unitId':_0x2f14c2,'op':_0x49ca38},_0x2a0490={'unitId':_0x2f14c2,'op':_0x360063};return _0x22bb03[_0x750ca5(0x421)](Z['id'],_0x2b462d)?(_0x2ca72e['focusUnit'](_0x2f14c2),_0x231468[_0x750ca5(0x3d4)]({'unitID':_0x2f14c2,'undoMutations':[{'id':Z['id'],'params':_0x2a0490}],'redoMutations':[{'id':Z['id'],'params':_0x2b462d}]}),!0x0):!0x1;}},Ni={'id':_0x274f9f(0x3e7),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x473e12,_0x1a1f1d)=>{const _0x471718=_0x274f9f;if(!_0x1a1f1d)return!0x1;let _0x218d44=_0x473e12[_0x471718(0x23e)](_0x310540),{unitId:_0x12783e,tableId:_0x1c6b12,name:_0x270ccd}=_0x1a1f1d,_0x4399ed=_0x218d44[_0x471718(0x462)](_0x12783e,_0x993548[_0x471718(0x3f1)]);if(!_0x4399ed||!Q(_0x4399ed,_0x1c6b12))return!0x1;let _0x5b37e1=_0x473e12[_0x471718(0x23e)](_0x232cd6),_0x3ea901=_0x473e12['get'](_0x56cd6a),_0x49603f=_0x4399ed['getSnapshot'](),_0xa899e9=new W()[_0x471718(0x3c7)](_0x49603f,_0x1c6b12,_0x270ccd),_0x4ca5ba=new z()[_0x471718(0x2c6)](_0x49603f,_0xa899e9),_0x28f7d6={'unitId':_0x12783e,'op':_0xa899e9},_0x92d877={'unitId':_0x12783e,'op':_0x4ca5ba};return _0x5b37e1[_0x471718(0x421)](Z['id'],_0x28f7d6)?(_0x218d44[_0x471718(0x1df)](_0x12783e),_0x3ea901[_0x471718(0x3d4)]({'unitID':_0x12783e,'undoMutations':[{'id':Z['id'],'params':_0x92d877}],'redoMutations':[{'id':Z['id'],'params':_0x28f7d6}]}),!0x0):!0x1;}},Pi={'id':_0x274f9f(0x2aa),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x49d0ca,_0x46e84d)=>{const _0x595348=_0x274f9f;if(!_0x46e84d)return!0x1;let _0x356ff0=_0x49d0ca[_0x595348(0x23e)](_0x310540),{unitId:_0x9dd5ae,tableId:_0x4f6a03,viewId:_0x4e67a7,name:_0x3b1980}=_0x46e84d,_0x463ba5=_0x356ff0[_0x595348(0x462)](_0x9dd5ae,_0x993548[_0x595348(0x3f1)]);if(!_0x463ba5||!Q(_0x463ba5,_0x4f6a03,{'viewIds':[_0x4e67a7]}))return!0x1;let _0x1dbecc=_0x49d0ca[_0x595348(0x23e)](_0x232cd6),_0x5aeb57=_0x49d0ca['get'](_0x56cd6a),_0x37c439=_0x463ba5['getSnapshot'](),_0x4c9ae8=new W()[_0x595348(0x3ed)](_0x37c439,_0x4f6a03,_0x4e67a7,_0x3b1980),_0x4e85cf=new z()[_0x595348(0x2c6)](_0x37c439,_0x4c9ae8),_0x247721={'unitId':_0x9dd5ae,'op':_0x4c9ae8},_0x765e6d={'unitId':_0x9dd5ae,'op':_0x4e85cf};return _0x1dbecc[_0x595348(0x421)](Z['id'],_0x247721)?(_0x356ff0[_0x595348(0x1df)](_0x9dd5ae),_0x5aeb57['pushUndoRedo']({'unitID':_0x9dd5ae,'undoMutations':[{'id':Z['id'],'params':_0x765e6d}],'redoMutations':[{'id':Z['id'],'params':_0x247721}]}),!0x0):!0x1;}},Fi={'id':'base.command.set-base-kanban-group-field','type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x1ee6e1,_0x48759f)=>{const _0x2ccf92=_0x274f9f;if(!_0x48759f)return!0x1;let _0x26a2c7=_0x1ee6e1[_0x2ccf92(0x23e)](_0x310540),{unitId:_0x498191,tableId:_0x4ceb67,viewId:_0x29e5c0,fieldId:_0x212bcc}=_0x48759f,_0x21a279=_0x26a2c7['getUnit'](_0x498191,_0x993548[_0x2ccf92(0x3f1)]);if(!_0x21a279||!Q(_0x21a279,_0x4ceb67,{'viewIds':[_0x29e5c0],'fieldIds':[_0x212bcc]}))return!0x1;let _0x10dbad=_0x1ee6e1[_0x2ccf92(0x23e)](_0x232cd6),_0x42b191=_0x1ee6e1[_0x2ccf92(0x23e)](_0x56cd6a),_0x52480c=_0x21a279[_0x2ccf92(0x2d0)](),_0x43dd73=new W()['updateViewConfig'](_0x52480c,_0x4ceb67,_0x29e5c0,{'groupFieldId':_0x212bcc}),_0x839d3d=new z()[_0x2ccf92(0x2c6)](_0x52480c,_0x43dd73),_0x38e66b={'unitId':_0x498191,'op':_0x43dd73},_0x3af046={'unitId':_0x498191,'op':_0x839d3d};return _0x10dbad[_0x2ccf92(0x421)](Z['id'],_0x38e66b)?(_0x26a2c7[_0x2ccf92(0x1df)](_0x498191),_0x42b191[_0x2ccf92(0x3d4)]({'unitID':_0x498191,'undoMutations':[{'id':Z['id'],'params':_0x3af046}],'redoMutations':[{'id':Z['id'],'params':_0x38e66b}]}),!0x0):!0x1;}},Ii={'id':_0x274f9f(0x23a),'type':_0x154d7f['COMMAND'],'handler':(_0x19bd81,_0x3de4a4)=>{const _0x39a379=_0x274f9f;if(!_0x3de4a4)return!0x1;let _0x40cf25=_0x19bd81[_0x39a379(0x23e)](_0x310540),_0x4e8e04=_0x40cf25[_0x39a379(0x462)](_0x3de4a4[_0x39a379(0x4bb)],_0x993548['UNIVER_BASE']);if(!_0x4e8e04)return!0x1;let _0x132f22=_0x4e8e04[_0x39a379(0x2d0)]()[_0x39a379(0x248)];if(_0x132f22===_0x3de4a4[_0x39a379(0x248)])return!0x0;let _0x2deb66=new W(),_0x2a01f5=new z(),_0x21223b=[],_0x457c2d=[],_0x5f13d8=[_0x4e8e04,..._0x40cf25[_0x39a379(0x448)](_0x993548[_0x39a379(0x3f1)])[_0x39a379(0x458)](_0x449717=>_0x449717['getUnitId']()!==_0x3de4a4['unitId'])];for(let _0x58bd89 of _0x5f13d8){let _0x509910=_0x58bd89[_0x39a379(0x2d0)](),_0x1cdd28=_0x58bd89===_0x4e8e04?_0x2deb66[_0x39a379(0x1da)](_0x509910,_0x3de4a4[_0x39a379(0x248)]):_0x2deb66[_0x39a379(0x49c)](_0x509910,_0x132f22,_0x3de4a4['name']);_0x1cdd28&&(_0x21223b[_0x39a379(0x254)]({'id':Z['id'],'params':{'unitId':_0x58bd89[_0x39a379(0x435)](),'op':_0x1cdd28,'trigger':Ii['id']}}),_0x457c2d[_0x39a379(0x41b)]({'id':Z['id'],'params':{'unitId':_0x58bd89[_0x39a379(0x435)](),'op':_0x2a01f5[_0x39a379(0x2c6)](_0x509910,_0x1cdd28),'trigger':Ii['id']}}));}let _0x5d935e=_0x19bd81['get'](_0x232cd6),_0xd13a0f=_0x19bd81[_0x39a379(0x23e)](_0x56cd6a),_0x1739ca=_0xd13a0f[_0x39a379(0x2a1)](_0x3de4a4[_0x39a379(0x4bb)]);try{return _0x40b820(_0x21223b,_0x5d935e)['result']?(_0x40cf25[_0x39a379(0x1df)](_0x3de4a4[_0x39a379(0x4bb)]),_0xd13a0f[_0x39a379(0x3d4)]({'unitID':_0x3de4a4[_0x39a379(0x4bb)],'undoMutations':_0x457c2d,'redoMutations':_0x21223b}),!0x0):!0x1;}finally{_0x1739ca[_0x39a379(0x3fb)]();}}};function Li(_0x426fd7,_0x476919){const _0x4c4ccc=_0x274f9f;let _0x356532=L(_0x12a306[_0x4c4ccc(0x523)](_0x426fd7)),_0x46c787=new Map();return _0x476919[_0x4c4ccc(0x366)](_0x5dd93d=>{const _0x46daec=_0x4c4ccc;var _0x4f469a,_0x540515;let _0x9f7340=_0x46daec(0x44a)in _0x5dd93d?_0x5dd93d['recordId']:(_0x4f469a=_0x356532[_0x46daec(0x47c)])==null?void 0x0:_0x4f469a[_0x5dd93d[_0x46daec(0x264)]],_0x48d3ef='fieldId'in _0x5dd93d?_0x5dd93d[_0x46daec(0x419)]:(_0x540515=_0x356532['colId'])==null?void 0x0:_0x540515[_0x5dd93d[_0x46daec(0x355)]],_0x43eec4=_0x48d3ef?_0x356532[_0x46daec(0x39f)][_0x48d3ef]:void 0x0;if(!_0x9f7340||!_0x48d3ef||!_0x43eec4||!_0x356532[_0x46daec(0x3c4)][_0x9f7340])return;let _0x5b71de=at(_0x5dd93d[_0x46daec(0x42f)],_0x43eec4),_0x702d18=ct(_0x5dd93d['value'],_0x5b71de,_0x43eec4,_0x356532,_0x9f7340),_0x9d1d86=_0x46c787['get'](_0x9f7340)??{};_0x9d1d86[_0x48d3ef]=_0x702d18,_0x46c787['set'](_0x9f7340,_0x9d1d86);}),[..._0x46c787][_0x4c4ccc(0x22e)](([_0x442f54,_0x37589c])=>({'recordId':_0x442f54,'values':_0x37589c}));}const Ri={'id':'base.command.set-base-range-values','type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x587028,_0x2ec2e0){const _0x19796a=_0x274f9f;if(!_0x2ec2e0)return!0x1;let _0x578498=_0x587028[_0x19796a(0x23e)](_0x310540),{unitId:_0x207777,tableId:_0x4e593d,patches:_0xfca8a}=_0x2ec2e0,_0x4178e2=_0x578498['getUnit'](_0x207777,_0x993548[_0x19796a(0x3f1)]);if(!_0x4178e2||!Q(_0x4178e2,_0x4e593d))return!0x1;let _0x42f46a=_0x587028[_0x19796a(0x23e)](_0x232cd6),_0x206163=_0x587028[_0x19796a(0x23e)](_0x56cd6a),_0x139fad=_0x4178e2[_0x19796a(0x2d0)](),_0x322fe2=L(_0x139fad['tables'][_0x4e593d]),_0xca0c45=_0xfca8a[_0x19796a(0x22e)](_0x1171ff=>{const _0x247134=_0x19796a;var _0xe48a;return _0x247134(0x44a)in _0x1171ff?_0x1171ff[_0x247134(0x44a)]:(_0xe48a=_0x322fe2[_0x247134(0x47c)])==null?void 0x0:_0xe48a[_0x1171ff[_0x247134(0x264)]];})[_0x19796a(0x458)](_0x10bd8d=>_0x10bd8d!=null),_0x1c7331=_0xfca8a[_0x19796a(0x22e)](_0x3c8cbd=>{const _0x2c5aaa=_0x19796a;var _0x3d5278;return _0x2c5aaa(0x419)in _0x3c8cbd?_0x3c8cbd[_0x2c5aaa(0x419)]:(_0x3d5278=_0x322fe2[_0x2c5aaa(0x4bd)])==null?void 0x0:_0x3d5278[_0x3c8cbd[_0x2c5aaa(0x355)]];})[_0x19796a(0x458)](_0x5c5389=>_0x5c5389!=null);if(_0xca0c45[_0x19796a(0x353)]!==_0xfca8a[_0x19796a(0x353)]||_0x1c7331[_0x19796a(0x353)]!==_0xfca8a['length']||!Q(_0x4178e2,_0x4e593d,{'recordIds':_0xca0c45,'fieldIds':_0x1c7331})||_0xfca8a[_0x19796a(0x29f)]((_0x1b8ba1,_0x3effcd)=>!Gr(_0x4178e2,_0x4e593d,_0x1c7331[_0x3effcd],_0x1b8ba1[_0x19796a(0x42f)])))return!0x1;let _0x492322=Ie(_0x322fe2,Li(_0x322fe2,_0xfca8a)),_0x2af0a2=_0xfca8a[_0x19796a(0x25e)](_0x55f804=>{const _0x38d2a7=_0x19796a;var _0x5314cb,_0x56af99;if(_0x38d2a7(0x264)in _0x55f804)return[_0x55f804];let _0xb12087=(_0x5314cb=_0x322fe2['rowIndex'])==null?void 0x0:_0x5314cb[_0x55f804['recordId']],_0x251612=(_0x56af99=_0x322fe2['colIndex'])==null?void 0x0:_0x56af99[_0x55f804[_0x38d2a7(0x419)]];return _0xb12087==null||_0x251612==null?[]:[{'row':_0xb12087,'col':_0x251612,'value':_0x55f804[_0x38d2a7(0x42f)]}];}),_0x46f4fa=new W()['setRangeValues'](_0x139fad,_0x4e593d,_0x2af0a2),_0x37fd8d=new z()['invertOp'](_0x139fad,_0x46f4fa),_0x44bc10={'unitId':_0x207777,'op':_0x46f4fa,'trigger':_0x492322['length']?Ri['id']:void 0x0,'hierarchyChanges':_0x492322[_0x19796a(0x353)]?_0x492322:void 0x0,'source':_0x492322[_0x19796a(0x353)]?_0x19796a(0x37f):void 0x0},_0x1212fb={'unitId':_0x207777,'op':_0x37fd8d,'trigger':_0x492322[_0x19796a(0x353)]?Ri['id']:void 0x0,'hierarchyChanges':_0x492322['length']?_0x492322[_0x19796a(0x22e)](_0x395e45=>({..._0x395e45,'oldParentRecordId':_0x395e45[_0x19796a(0x4d9)],'parentRecordId':_0x395e45[_0x19796a(0x31b)]})):void 0x0,'source':_0x492322['length']?_0x19796a(0x3d6):void 0x0},_0x4e0d9a={..._0x44bc10,'source':_0x492322[_0x19796a(0x353)]?_0x2ec2e0['source']??'ui':void 0x0};return _0x42f46a[_0x19796a(0x421)](Z['id'],_0x4e0d9a)?(_0x578498['focusUnit'](_0x207777),_0x206163['pushUndoRedo']({'unitID':_0x207777,'undoMutations':[{'id':Z['id'],'params':_0x1212fb}],'redoMutations':[{'id':Z['id'],'params':_0x44bc10}]}),!0x0):!0x1;}},zi={'id':_0x274f9f(0x287),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x68bb2e,_0xf47c7){const _0x26cd77=_0x274f9f;if(!_0xf47c7)return!0x1;let _0xb56558=_0x68bb2e[_0x26cd77(0x23e)](_0x310540),{unitId:_0x5e44db,tableId:_0x39791e,patches:_0x5c1b9d}=_0xf47c7,_0x49a5c6=_0xb56558['getUnit'](_0x5e44db,_0x993548['UNIVER_BASE']),_0x273ef0=_0x5c1b9d[_0x26cd77(0x22e)](_0x2c1cdc=>_0x2c1cdc[_0x26cd77(0x44a)]),_0x1e56ad=_0x5c1b9d[_0x26cd77(0x25e)](_0x21e6d8=>Object['keys'](_0x21e6d8[_0x26cd77(0x33c)]));if(!_0x49a5c6||!Q(_0x49a5c6,_0x39791e,{'recordIds':_0x273ef0,'fieldIds':_0x1e56ad})||_0x5c1b9d[_0x26cd77(0x29f)](_0xa16ef8=>Object[_0x26cd77(0x2d4)](_0xa16ef8['values'])['some'](([_0x111231,_0x1ea4ce])=>!Gr(_0x49a5c6,_0x39791e,_0x111231,_0x1ea4ce))))return!0x1;let _0x5f20ca=Ie(_0x49a5c6['getSnapshot']()[_0x26cd77(0x529)][_0x39791e],_0x5c1b9d),_0x4f4643=_0x68bb2e[_0x26cd77(0x23e)](_0x232cd6),_0x46cae8=_0x68bb2e[_0x26cd77(0x23e)](_0x56cd6a),_0x26b4be=_0x68bb2e[_0x26cd77(0x23e)](J)[_0x26cd77(0x216)](_0x49a5c6,_0x39791e,_0x5c1b9d),_0x52c8fe=new z()[_0x26cd77(0x2c6)](_0x49a5c6['getSnapshot'](),_0x26b4be),_0x305c7c={'unitId':_0x5e44db,'op':_0x26b4be,'trigger':_0x5f20ca[_0x26cd77(0x353)]?zi['id']:void 0x0,'hierarchyChanges':_0x5f20ca['length']?_0x5f20ca:void 0x0,'source':_0x5f20ca[_0x26cd77(0x353)]?_0xf47c7[_0x26cd77(0x272)]??'ui':void 0x0},_0x7e8674={..._0x305c7c,'source':_0x5f20ca[_0x26cd77(0x353)]?_0x26cd77(0x37f):void 0x0},_0xae19f1={'unitId':_0x5e44db,'op':_0x52c8fe,'trigger':_0x5f20ca[_0x26cd77(0x353)]?zi['id']:void 0x0,'hierarchyChanges':_0x5f20ca['length']?_0x5f20ca['map'](_0x584bbd=>({..._0x584bbd,'oldParentRecordId':_0x584bbd[_0x26cd77(0x4d9)],'parentRecordId':_0x584bbd[_0x26cd77(0x31b)]})):void 0x0,'source':_0x5f20ca['length']?'undo':void 0x0};return _0x4f4643[_0x26cd77(0x421)](Z['id'],_0x305c7c)?(_0xb56558[_0x26cd77(0x1df)](_0x5e44db),_0x46cae8['pushUndoRedo']({'unitID':_0x5e44db,'undoMutations':[{'id':Z['id'],'params':_0xae19f1}],'redoMutations':[{'id':Z['id'],'params':_0x7e8674}]}),!0x0):!0x1;}},Bi={'id':_0x274f9f(0x265),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x501843,_0x19158c)=>{const _0x1468f0=_0x274f9f;if(!_0x19158c)return!0x1;let {unitId:_0x5921ae,tableId:_0x25b287,fieldId:_0x1fd11a}=_0x19158c,_0x23e43d=_0x501843[_0x1468f0(0x23e)](_0x310540),_0x265dc5=_0x23e43d[_0x1468f0(0x462)](_0x5921ae,_0x993548[_0x1468f0(0x3f1)]);if(!_0x265dc5||!Q(_0x265dc5,_0x25b287))return!0x1;let _0xd75357=_0x265dc5[_0x1468f0(0x2d0)](),_0x2035d1=_0xd75357[_0x1468f0(0x529)][_0x25b287];if(_0x1fd11a!==null&&!M(_0x2035d1,_0x1fd11a))throw new j('invalidField');if(N(_0x2035d1)===_0x1fd11a)return!0x0;let _0x2d2113=new W(),_0x173ed4=R(Object['values'](_0x2035d1['fields'])['flatMap'](_0x566e75=>{const _0xfa820a=_0x1468f0;if(!M(_0x2035d1,_0x566e75['id']))return[];let _0x4b58c4=A(_0x566e75);if(!_0x4b58c4)return[];let _0x475e07=_0x566e75['id']===_0x1fd11a;if(_0x4b58c4['relationRole']===_0x2af9b7[_0xfa820a(0x38c)]===_0x475e07)return[];let _0xfd1db={..._0x566e75[_0xfa820a(0x427)],'targetTableId':_0x4b58c4[_0xfa820a(0x4a5)],'multiple':_0x4b58c4['multiple']};return _0x475e07?_0xfd1db[_0xfa820a(0x253)]=_0x2af9b7[_0xfa820a(0x38c)]:delete _0xfd1db[_0xfa820a(0x253)],[_0x2d2113[_0xfa820a(0x279)](_0xd75357,_0x25b287,_0x566e75['id'],{'config':_0xfd1db})];})),_0x32a002=new z()[_0x1468f0(0x2c6)](_0xd75357,_0x173ed4),_0x1976d9={'unitId':_0x5921ae,'op':_0x173ed4},_0x1d0132={'unitId':_0x5921ae,'op':_0x32a002};return _0x501843[_0x1468f0(0x23e)](_0x232cd6)[_0x1468f0(0x421)](Z['id'],_0x1976d9)?(_0x23e43d[_0x1468f0(0x1df)](_0x5921ae),_0x501843[_0x1468f0(0x23e)](_0x56cd6a)[_0x1468f0(0x3d4)]({'unitID':_0x5921ae,'undoMutations':[{'id':Z['id'],'params':_0x1d0132}],'redoMutations':[{'id':Z['id'],'params':_0x1976d9}]}),!0x0):!0x1;}},Vi={'id':_0x274f9f(0x30e),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x1c6852,_0x21f1e3)=>{const _0x31d3b3=_0x274f9f;if(!_0x21f1e3)return!0x1;let _0x4330bb=_0x1c6852[_0x31d3b3(0x23e)](_0x310540),{unitId:_0x3703c3,tableId:_0x349774,viewId:_0x5f4d51,fieldId:_0x611010,target:_0x5b0cce}=_0x21f1e3,_0x51a091=_0x4330bb['getUnit'](_0x3703c3,_0x993548['UNIVER_BASE']),_0x28e7f0=_0x5b0cce[_0x31d3b3(0x341)]??_0x5b0cce['afterFieldId'];if(!_0x51a091||!_0x28e7f0||_0x28e7f0===_0x611010||!Q(_0x51a091,_0x349774,{'viewIds':[_0x5f4d51],'fieldIds':[_0x611010,_0x28e7f0]}))return!0x1;let _0x4940ae=_0x51a091[_0x31d3b3(0x2d0)]()['tables'][_0x349774],_0x2e3445=_0x4940ae[_0x31d3b3(0x39f)][_0x611010],_0x4dc70a=_0x4940ae[_0x31d3b3(0x39f)][_0x28e7f0];if(_0x2e3445[_0x31d3b3(0x3a9)]===!0x0||_0x2e3445[_0x31d3b3(0x2b9)]===_0x11438e[_0x31d3b3(0x20d)]||_0x4dc70a[_0x31d3b3(0x3a9)]===!0x0||_0x4dc70a[_0x31d3b3(0x2b9)]===_0x11438e[_0x31d3b3(0x20d)])return!0x1;let _0x24f31d=_0x1c6852[_0x31d3b3(0x23e)](_0x232cd6),_0x5ad840=_0x1c6852['get'](_0x56cd6a),_0x37b989=_0x51a091['getSnapshot'](),_0x3a7a10=new W()[_0x31d3b3(0x236)](_0x37b989,_0x349774,_0x5f4d51,_0x611010,_0x5b0cce),_0x303f1d=new z()[_0x31d3b3(0x2c6)](_0x37b989,_0x3a7a10),_0x50b208={'unitId':_0x3703c3,'op':_0x3a7a10},_0x48a265={'unitId':_0x3703c3,'op':_0x303f1d};return _0x24f31d[_0x31d3b3(0x421)](Z['id'],_0x50b208)?(_0x4330bb[_0x31d3b3(0x1df)](_0x3703c3),_0x5ad840[_0x31d3b3(0x3d4)]({'unitID':_0x3703c3,'undoMutations':[{'id':Z['id'],'params':_0x48a265}],'redoMutations':[{'id':Z['id'],'params':_0x50b208}]}),!0x0):!0x1;}},Hi={'id':_0x274f9f(0x3a4),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x4fff1f,_0x44854c){const _0x147a3b=_0x274f9f;if(!_0x44854c)return!0x1;let _0x224470=_0x4fff1f[_0x147a3b(0x23e)](_0x310540),{unitId:_0x4c48c6,tableId:_0xa5e433,viewId:_0x5e1eb8,fieldId:_0x5c83c3,visible:_0x8974b8}=_0x44854c,_0x1fb177=_0x224470['getUnit'](_0x4c48c6,_0x993548[_0x147a3b(0x3f1)]);if(!_0x1fb177||!Q(_0x1fb177,_0xa5e433,{'viewIds':[_0x5e1eb8],'fieldIds':[_0x5c83c3]}))return!0x1;let _0xea52db=_0x1fb177[_0x147a3b(0x2d0)]()[_0x147a3b(0x529)][_0xa5e433]['fields'][_0x5c83c3];if(_0xea52db['system']===!0x0||_0xea52db[_0x147a3b(0x2b9)]===_0x11438e[_0x147a3b(0x20d)])return!0x1;let _0x5452d5=_0x4fff1f[_0x147a3b(0x23e)](_0x232cd6),_0x114da8=_0x4fff1f['get'](_0x56cd6a),_0xd8a0cb=_0x1fb177['getSnapshot'](),_0x4562ea=new W()['setViewFieldVisible'](_0xd8a0cb,_0xa5e433,_0x5e1eb8,_0x5c83c3,_0x8974b8),_0x21b5b3=new z()[_0x147a3b(0x2c6)](_0xd8a0cb,_0x4562ea),_0x1266b3={'unitId':_0x4c48c6,'op':_0x4562ea},_0x3a678a={'unitId':_0x4c48c6,'op':_0x21b5b3};return _0x5452d5['syncExecuteCommand'](Z['id'],_0x1266b3)?(_0x224470[_0x147a3b(0x1df)](_0x4c48c6),_0x114da8[_0x147a3b(0x3d4)]({'unitID':_0x4c48c6,'undoMutations':[{'id':Z['id'],'params':_0x3a678a}],'redoMutations':[{'id':Z['id'],'params':_0x1266b3}]}),!0x0):!0x1;}},Ui={'id':_0x274f9f(0x331),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x38132c,_0xe2f67e)=>{const _0x156490=_0x274f9f;if(!_0xe2f67e)return!0x1;let _0x5b082e=_0x38132c['get'](_0x310540),{unitId:_0x4a475a,tableId:_0x57cf2b,viewId:_0x21512e,fieldId:_0x353d43,width:_0x2747d5}=_0xe2f67e,_0x26023a=_0x5b082e[_0x156490(0x462)](_0x4a475a,_0x993548[_0x156490(0x3f1)]);if(!_0x26023a||!Q(_0x26023a,_0x57cf2b,{'viewIds':[_0x21512e],'fieldIds':[_0x353d43]}))return!0x1;let _0x1451dc=_0x26023a[_0x156490(0x2d0)]()[_0x156490(0x529)][_0x57cf2b]['fields'][_0x353d43];if(_0x1451dc[_0x156490(0x3a9)]===!0x0||_0x1451dc[_0x156490(0x2b9)]===_0x11438e[_0x156490(0x20d)])return!0x1;let _0x15e379=_0x38132c[_0x156490(0x23e)](_0x232cd6),_0x59d057=_0x38132c[_0x156490(0x23e)](_0x56cd6a),_0x3722cc=_0x26023a[_0x156490(0x2d0)](),_0x493830=new W()[_0x156490(0x3a0)](_0x3722cc,_0x57cf2b,_0x21512e,_0x353d43,_0x2747d5),_0x2b3ef8=new z()['invertOp'](_0x3722cc,_0x493830),_0x4077ee={'unitId':_0x4a475a,'op':_0x493830},_0x28b4b4={'unitId':_0x4a475a,'op':_0x2b3ef8};return _0x15e379['syncExecuteCommand'](Z['id'],_0x4077ee)?(_0x5b082e[_0x156490(0x1df)](_0x4a475a),_0x59d057[_0x156490(0x3d4)]({'unitID':_0x4a475a,'undoMutations':[{'id':Z['id'],'params':_0x28b4b4}],'redoMutations':[{'id':Z['id'],'params':_0x4077ee}]}),!0x0):!0x1;}},Wi={'id':'base.command.set-base-view-filter','type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x4c901e,_0x206eca)=>{const _0x39e438=_0x274f9f;if(!_0x206eca)return!0x1;let _0x5d3558=_0x4c901e[_0x39e438(0x23e)](_0x310540),{unitId:_0x472da5,tableId:_0x4b1d95,viewId:_0x4c5b41,filter:_0x489fa3}=_0x206eca,_0x529df0=_0x5d3558['getUnit'](_0x472da5,_0x993548['UNIVER_BASE']),_0x2c6084=(_0x489fa3==null?void 0x0:_0x489fa3['conditions'][_0x39e438(0x22e)](_0x29d27b=>_0x29d27b['fieldId']))??[];if(!_0x529df0||!Q(_0x529df0,_0x4b1d95,{'viewIds':[_0x4c5b41],'fieldIds':_0x2c6084}))return!0x1;let _0x35dd8f=_0x4c901e[_0x39e438(0x23e)](_0x232cd6),_0xbd6811=_0x4c901e['get'](_0x56cd6a),_0x2606a4=_0x529df0[_0x39e438(0x2d0)](),_0x3b7f81=new W()['setViewFilter'](_0x2606a4,_0x4b1d95,_0x4c5b41,_0x489fa3),_0x2a546e=new z()[_0x39e438(0x2c6)](_0x2606a4,_0x3b7f81),_0x214440={'unitId':_0x472da5,'op':_0x3b7f81},_0x388c6a={'unitId':_0x472da5,'op':_0x2a546e};return _0x35dd8f[_0x39e438(0x421)](Z['id'],_0x214440)?(_0x5d3558['focusUnit'](_0x472da5),_0xbd6811[_0x39e438(0x3d4)]({'unitID':_0x472da5,'undoMutations':[{'id':Z['id'],'params':_0x388c6a}],'redoMutations':[{'id':Z['id'],'params':_0x214440}]}),!0x0):!0x1;}},Gi={'id':'base.command.set-base-view-group','type':_0x154d7f['COMMAND'],'handler':(_0x419357,_0x59cb8b)=>{const _0x2e8241=_0x274f9f;if(!_0x59cb8b)return!0x1;let _0x4f2ac1=_0x419357[_0x2e8241(0x23e)](_0x310540),{unitId:_0x55d12a,tableId:_0x59de31,viewId:_0xe9acf2,group:_0x4fc40b}=_0x59cb8b,_0x429244=_0x4f2ac1[_0x2e8241(0x462)](_0x55d12a,_0x993548[_0x2e8241(0x3f1)]);if(!_0x429244||!Q(_0x429244,_0x59de31,{'viewIds':[_0xe9acf2],'fieldIds':_0x4fc40b[_0x2e8241(0x22e)](_0xa4668f=>_0xa4668f[_0x2e8241(0x419)])}))return!0x1;let _0xf0ad85=_0x419357[_0x2e8241(0x23e)](_0x232cd6),_0x2af493=_0x419357['get'](_0x56cd6a),_0x518a15=_0x429244['getSnapshot'](),_0x5add13=new W()['setViewGroup'](_0x518a15,_0x59de31,_0xe9acf2,_0x4fc40b),_0x59fa40=new z()[_0x2e8241(0x2c6)](_0x518a15,_0x5add13),_0x52ae15={'unitId':_0x55d12a,'op':_0x5add13},_0x13f71c={'unitId':_0x55d12a,'op':_0x59fa40};return _0xf0ad85[_0x2e8241(0x421)](Z['id'],_0x52ae15)?(_0x4f2ac1['focusUnit'](_0x55d12a),_0x2af493[_0x2e8241(0x3d4)]({'unitID':_0x55d12a,'undoMutations':[{'id':Z['id'],'params':_0x13f71c}],'redoMutations':[{'id':Z['id'],'params':_0x52ae15}]}),!0x0):!0x1;}},Ki={'id':_0x274f9f(0x3e9),'type':_0x154d7f['COMMAND'],'handler':(_0x315f7b,_0x5d4d3c)=>{const _0x363253=_0x274f9f;if(!_0x5d4d3c)return!0x1;let _0x540cb3=_0x315f7b[_0x363253(0x23e)](_0x310540),{unitId:_0x56be8b,tableId:_0x4fc8e6,viewId:_0x2fa987,sort:_0x4764d5}=_0x5d4d3c,_0x461c29=_0x540cb3['getUnit'](_0x56be8b,_0x993548['UNIVER_BASE']);if(!_0x461c29||!Q(_0x461c29,_0x4fc8e6,{'viewIds':[_0x2fa987],'fieldIds':_0x4764d5[_0x363253(0x22e)](_0x147c10=>_0x147c10[_0x363253(0x419)])}))return!0x1;let _0x17d34e=_0x315f7b['get'](_0x232cd6),_0x17b36e=_0x315f7b['get'](_0x56cd6a),_0x488d07=_0x461c29[_0x363253(0x2d0)](),_0x2e223e=new W()[_0x363253(0x4ce)](_0x488d07,_0x4fc8e6,_0x2fa987,_0x4764d5),_0x167388=new z()[_0x363253(0x2c6)](_0x488d07,_0x2e223e),_0x34cb11={'unitId':_0x56be8b,'op':_0x2e223e},_0x369084={'unitId':_0x56be8b,'op':_0x167388};return _0x17d34e[_0x363253(0x421)](Z['id'],_0x34cb11)?(_0x540cb3['focusUnit'](_0x56be8b),_0x17b36e[_0x363253(0x3d4)]({'unitID':_0x56be8b,'undoMutations':[{'id':Z['id'],'params':_0x369084}],'redoMutations':[{'id':Z['id'],'params':_0x34cb11}]}),!0x0):!0x1;}},qi={'id':_0x274f9f(0x468),'type':_0x154d7f['COMMAND'],'handler'(_0x1b7c85,_0x442d33){const _0x4fdf5f=_0x274f9f;if(!_0x442d33)return!0x1;let _0x371d42=_0x1b7c85[_0x4fdf5f(0x23e)](_0x310540),{unitId:_0x297ed8,tableId:_0x16f616,recordId:_0x507f09,fieldId:_0x3b410e,value:_0x3b6d4c}=_0x442d33,_0x469e62=_0x371d42[_0x4fdf5f(0x462)](_0x297ed8,_0x993548[_0x4fdf5f(0x3f1)]);if(!_0x469e62||!Q(_0x469e62,_0x16f616,{'recordIds':[_0x507f09],'fieldIds':[_0x3b410e]})||!Gr(_0x469e62,_0x16f616,_0x3b410e,_0x3b6d4c))return!0x1;let _0x491fa6=_0x469e62[_0x4fdf5f(0x2d0)]()['tables'][_0x16f616],_0x19eb13=M(_0x491fa6,_0x3b410e)&&Fe(_0x491fa6)[_0x4fdf5f(0x1d2)](_0x3b410e),_0x3e9b30=_0x19eb13?F(_0x491fa6,_0x3b410e):null,_0x38297d=(_0x3e9b30==null?void 0x0:_0x3e9b30['parentByRecordId'][_0x4fdf5f(0x23e)](_0x507f09))??null,_0x3f9f38=_0x19eb13?we(_0x3b6d4c)[0x0]??null:null;if(_0x3e9b30){if(_0x3f9f38&&!_0x491fa6[_0x4fdf5f(0x3c4)][_0x3f9f38])throw new j('missingRecord');let _0x361eb6=He(_0x3e9b30,_0x507f09,_0x3f9f38);if(!_0x361eb6['valid'])throw new j(_0x361eb6[_0x4fdf5f(0x257)]===_0x29e4ba[_0x4fdf5f(0x390)]?_0x4fdf5f(0x1e5):_0x361eb6[_0x4fdf5f(0x257)]===_0x29e4ba['Cycle']?_0x4fdf5f(0x4b4):_0x4fdf5f(0x250));}let _0x529b2a=_0x1b7c85[_0x4fdf5f(0x23e)](_0x232cd6),_0x4bade3=_0x1b7c85['get'](_0x56cd6a),_0x588e94=_0x1b7c85['get'](J),_0x1c8ddb;try{_0x1c8ddb=_0x588e94[_0x4fdf5f(0x1f8)](_0x469e62,_0x16f616,_0x507f09,_0x3b410e,_0x3b6d4c);}catch(_0x1efdcf){return console['error'](_0x4fdf5f(0x38e),_0x1efdcf),!0x1;}let _0x368944=new z()['invertOp'](_0x469e62[_0x4fdf5f(0x2d0)](),_0x1c8ddb),_0x2dd702=_0x19eb13&&_0x38297d!==_0x3f9f38?[{'tableId':_0x16f616,'fieldId':_0x3b410e,'recordId':_0x507f09,'oldParentRecordId':_0x38297d,'parentRecordId':_0x3f9f38}]:void 0x0,_0x471309={'unitId':_0x297ed8,'op':_0x1c8ddb,'trigger':_0x2dd702?qi['id']:void 0x0,'hierarchyChanges':_0x2dd702,'source':_0x2dd702?_0x442d33[_0x4fdf5f(0x272)]??'ui':void 0x0},_0x2823d0={..._0x471309,'source':_0x2dd702?_0x4fdf5f(0x37f):void 0x0},_0x1bcc94={'unitId':_0x297ed8,'op':_0x368944,'trigger':_0x2dd702?qi['id']:void 0x0,'hierarchyChanges':_0x2dd702==null?void 0x0:_0x2dd702[_0x4fdf5f(0x22e)](_0x146942=>({..._0x146942,'oldParentRecordId':_0x146942[_0x4fdf5f(0x4d9)],'parentRecordId':_0x146942[_0x4fdf5f(0x31b)]})),'source':_0x2dd702?_0x4fdf5f(0x3d6):void 0x0};return _0x529b2a[_0x4fdf5f(0x421)](Z['id'],_0x471309)?(_0x371d42[_0x4fdf5f(0x1df)](_0x297ed8),_0x4bade3[_0x4fdf5f(0x3d4)]({'unitID':_0x297ed8,'undoMutations':[{'id':Z['id'],'params':_0x1bcc94}],'redoMutations':[{'id':Z['id'],'params':_0x2823d0}]}),!0x0):!0x1;}},Ji={'id':_0x274f9f(0x378),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler'(_0x34408a,_0x2095d0){const _0x373fee=_0x274f9f;if(!_0x2095d0)return!0x1;let _0x5f0340=_0x34408a[_0x373fee(0x23e)](_0x310540),{unitId:_0x565d9f,tableId:_0x246828,fieldId:_0x287f5c}=_0x2095d0,_0x583cfd=_0x5f0340[_0x373fee(0x462)](_0x565d9f,_0x993548[_0x373fee(0x3f1)]);if(!_0x583cfd||!Q(_0x583cfd,_0x246828,{'fieldIds':[_0x287f5c]}))return!0x1;let _0x297972=_0x34408a[_0x373fee(0x23e)](_0x232cd6),_0xed3991=_0x34408a[_0x373fee(0x23e)](_0x56cd6a),_0x245c36=_0x583cfd[_0x373fee(0x2d0)](),_0x535d8a=_0x2095d0[_0x373fee(0x291)][_0x373fee(0x2ba)](),_0x4b16ee=new W()[_0x373fee(0x279)](_0x245c36,_0x246828,_0x287f5c,{'description':_0x535d8a}),_0x1eb540=new z()[_0x373fee(0x2c6)](_0x583cfd[_0x373fee(0x2d0)](),_0x4b16ee),_0x26c299={'unitId':_0x565d9f,'op':_0x4b16ee},_0xf61625={'unitId':_0x565d9f,'op':_0x1eb540};return _0x297972['syncExecuteCommand'](Z['id'],_0x26c299)?(_0x5f0340[_0x373fee(0x1df)](_0x565d9f),_0xed3991[_0x373fee(0x3d4)]({'unitID':_0x565d9f,'undoMutations':[{'id':Z['id'],'params':_0xf61625}],'redoMutations':[{'id':Z['id'],'params':_0x26c299}]}),!0x0):!0x1;}},Yi={'id':_0x274f9f(0x234),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x176bee,_0x41c398)=>{const _0x58fbd6=_0x274f9f;if(!_0x41c398)return!0x1;let _0x1a0189=_0x176bee[_0x58fbd6(0x23e)](_0x310540),{unitId:_0xd4b4d5,tableId:_0x48162d,fieldId:_0x5a86d6,patch:_0x1a2e35}=_0x41c398,_0x4083df=_0x1a0189[_0x58fbd6(0x462)](_0xd4b4d5,_0x993548[_0x58fbd6(0x3f1)]);if(!_0x4083df||_0x5a86d6===_0x525439||!Q(_0x4083df,_0x48162d,{'fieldIds':[_0x5a86d6]}))return!0x1;let _0x35b2c8=_0x176bee[_0x58fbd6(0x23e)](_0x232cd6),_0x50a728=_0x176bee[_0x58fbd6(0x23e)](_0x56cd6a),_0x50a73b=_0x4083df[_0x58fbd6(0x2d0)]();if(!Wr(_0x4083df,_0x48162d,{..._0x50a73b['tables'][_0x48162d]['fields'][_0x5a86d6],..._0x1a2e35}))return!0x1;let _0x580f89=new W()[_0x58fbd6(0x279)](_0x50a73b,_0x48162d,_0x5a86d6,_0x1a2e35),_0x2479ba=new z()[_0x58fbd6(0x2c6)](_0x50a73b,_0x580f89),_0x38c36c={'unitId':_0xd4b4d5,'op':_0x580f89},_0x44e936={'unitId':_0xd4b4d5,'op':_0x2479ba};return _0x35b2c8[_0x58fbd6(0x421)](Z['id'],_0x38c36c)?(_0x1a0189[_0x58fbd6(0x1df)](_0xd4b4d5),_0x50a728[_0x58fbd6(0x3d4)]({'unitID':_0xd4b4d5,'undoMutations':[{'id':Z['id'],'params':_0x44e936}],'redoMutations':[{'id':Z['id'],'params':_0x38c36c}]}),!0x0):!0x1;}},Xi={'id':_0x274f9f(0x2fd),'type':_0x154d7f['COMMAND'],'handler':(_0x5bea59,_0xce2a01)=>{const _0x50868d=_0x274f9f;if(!_0xce2a01)return!0x1;let _0x54c8e2=_0x5bea59[_0x50868d(0x23e)](_0x310540),{unitId:_0x43a4fb,tableId:_0x4304b4,viewId:_0x251afb,patch:_0x1fe3b7}=_0xce2a01,_0x57a1ae=_0x54c8e2[_0x50868d(0x462)](_0x43a4fb,_0x993548[_0x50868d(0x3f1)]);if(!_0x57a1ae||!Q(_0x57a1ae,_0x4304b4,{'viewIds':[_0x251afb]}))return!0x1;let _0x41a595=_0x5bea59['get'](_0x232cd6),_0x4a2f1b=_0x5bea59[_0x50868d(0x23e)](_0x56cd6a),_0xc88ede=_0x57a1ae[_0x50868d(0x2d0)](),_0x538316=new W()['updateViewConfig'](_0xc88ede,_0x4304b4,_0x251afb,_0x1fe3b7),_0x4c77f8=new z()[_0x50868d(0x2c6)](_0xc88ede,_0x538316),_0x51f599={'unitId':_0x43a4fb,'op':_0x538316},_0xc20569={'unitId':_0x43a4fb,'op':_0x4c77f8};return _0x41a595[_0x50868d(0x421)](Z['id'],_0x51f599)?(_0x54c8e2[_0x50868d(0x1df)](_0x43a4fb),_0x4a2f1b[_0x50868d(0x3d4)]({'unitID':_0x43a4fb,'undoMutations':[{'id':Z['id'],'params':_0xc20569}],'redoMutations':[{'id':Z['id'],'params':_0x51f599}]}),!0x0):!0x1;}},Zi={'id':_0x274f9f(0x28d),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x3fe217,_0x31184a)=>{const _0x4da178=_0x274f9f;if(!_0x31184a)return!0x1;let _0x5edb97=_0x3fe217[_0x4da178(0x23e)](_0x310540),{unitId:_0x1c173b,tableId:_0x5d339b,recordId:_0x2c45f4,orderKey:_0x7aefe9}=_0x31184a,_0x2fa5c8=_0x5edb97[_0x4da178(0x462)](_0x1c173b,_0x993548[_0x4da178(0x3f1)]);if(!_0x2fa5c8||!Q(_0x2fa5c8,_0x5d339b,{'recordIds':[_0x2c45f4]}))return!0x1;let _0xc74868=_0x3fe217[_0x4da178(0x23e)](_0x232cd6),_0x447b8e=_0x3fe217[_0x4da178(0x23e)](_0x56cd6a),_0x490d75=_0x2fa5c8[_0x4da178(0x2d0)](),_0x445190=new W()['updateRecordOrder'](_0x490d75,_0x5d339b,_0x2c45f4,_0x7aefe9),_0x14ccd2=new z()[_0x4da178(0x2c6)](_0x490d75,_0x445190),_0x547338={'unitId':_0x1c173b,'op':_0x445190},_0x3a6d97={'unitId':_0x1c173b,'op':_0x14ccd2};return _0xc74868[_0x4da178(0x421)](Z['id'],_0x547338)?(_0x5edb97['focusUnit'](_0x1c173b),_0x447b8e[_0x4da178(0x3d4)]({'unitID':_0x1c173b,'undoMutations':[{'id':Z['id'],'params':_0x3a6d97}],'redoMutations':[{'id':Z['id'],'params':_0x547338}]}),!0x0):!0x1;}};let Qi=function(_0x474d0f){const _0x1b0664=_0x274f9f;return _0x474d0f[_0x1b0664(0x3b5)]=_0x1b0664(0x317),_0x474d0f[_0x1b0664(0x4b6)]=_0x1b0664(0x4a3),_0x474d0f[_0x1b0664(0x3dc)]=_0x1b0664(0x2ef),_0x474d0f[_0x1b0664(0x460)]=_0x1b0664(0x1f4),_0x474d0f;}({});const $i={'id':_0x274f9f(0x368),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x45c376,_0x1f1b3b)=>{const _0x47941e=_0x274f9f;var _0x5aeed8;if(!_0x1f1b3b)return!0x1;let _0x34e01d=_0x45c376[_0x47941e(0x23e)](_0x310540),_0x4f7d62=_0x34e01d[_0x47941e(0x462)](_0x1f1b3b['unitId'],_0x993548[_0x47941e(0x3f1)]);if(!_0x4f7d62||!Q(_0x4f7d62,_0x1f1b3b['tableId'],{'viewIds':[_0x1f1b3b[_0x47941e(0x490)]]}))return!0x1;let _0xce4ccd=_0x4f7d62['getSnapshot'](),_0x1e8c74=_0xce4ccd[_0x47941e(0x529)][_0x1f1b3b[_0x47941e(0x37e)]],_0x45dc7a=ea(((_0x5aeed8=_0x1e8c74['views'][_0x1f1b3b[_0x47941e(0x490)]][_0x47941e(0x427)][_0x47941e(0x346)])==null?void 0x0:_0x5aeed8[_0x47941e(0x26c)])??[],_0x1f1b3b);if(!_0x45dc7a)return!0x1;ta(_0x1e8c74,_0x45dc7a);let _0x1fbb3b=new W()['updateViewConfig'](_0xce4ccd,_0x1f1b3b[_0x47941e(0x37e)],_0x1f1b3b['viewId'],{'conditionalColoring':_0x45dc7a[_0x47941e(0x353)]?{'rules':_0x45dc7a}:null}),_0x421407=new z()[_0x47941e(0x2c6)](_0xce4ccd,_0x1fbb3b),_0x1aa9c9={'unitId':_0x1f1b3b[_0x47941e(0x4bb)],'op':_0x1fbb3b},_0xca06a5={'unitId':_0x1f1b3b['unitId'],'op':_0x421407};return _0x45c376[_0x47941e(0x23e)](_0x232cd6)['syncExecuteCommand'](Z['id'],_0x1aa9c9)?(_0x34e01d[_0x47941e(0x1df)](_0x1f1b3b[_0x47941e(0x4bb)]),_0x45c376['get'](_0x56cd6a)['pushUndoRedo']({'unitID':_0x1f1b3b[_0x47941e(0x4bb)],'undoMutations':[{'id':Z['id'],'params':_0xca06a5}],'redoMutations':[{'id':Z['id'],'params':_0x1aa9c9}]}),!0x0):!0x1;}};function ea(_0x3b4c71,_0x4b1d4d){const _0x12ab2b=_0x274f9f;switch(_0x4b1d4d[_0x12ab2b(0x2b9)]){case _0x12ab2b(0x317):return _0x12a306['deepClone'](_0x4b1d4d['rules']);case _0x12ab2b(0x4a3):return[..._0x12a306[_0x12ab2b(0x523)](_0x3b4c71),_0x12a306[_0x12ab2b(0x523)](_0x4b1d4d[_0x12ab2b(0x371)])];case _0x12ab2b(0x2ef):{let _0x148bf7=_0x3b4c71[_0x12ab2b(0x458)](_0x1fca2d=>_0x1fca2d['id']!==_0x4b1d4d[_0x12ab2b(0x3e3)]);return _0x148bf7[_0x12ab2b(0x353)]===_0x3b4c71[_0x12ab2b(0x353)]?null:_0x12a306[_0x12ab2b(0x523)](_0x148bf7);}case _0x12ab2b(0x1f4):return _0x3b4c71[_0x12ab2b(0x353)]?[]:null;}}function ta(_0x367c24,_0x474fd0){const _0x827aa5=_0x274f9f;if(!Array[_0x827aa5(0x39e)](_0x474fd0))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x531a82=new Set();for(let [_0x4d30bf,_0x2d6473]of _0x474fd0[_0x827aa5(0x2d4)]())ra(_0x367c24,_0x2d6473,na(_0x2d6473,_0x4d30bf,_0x531a82));}function na(_0x41e301,_0x5dcfbd,_0x25b100){const _0x308a99=_0x274f9f;if(!_0x41e301||typeof _0x41e301!=_0x308a99(0x314))throw TypeError(_0x308a99(0x21b)+_0x5dcfbd+_0x308a99(0x3ca));let _0x16cfb5=typeof _0x41e301['id']=='string'&&_0x41e301['id']['trim']()?'\x22'+_0x41e301['id']+'\x22':_0x308a99(0x4dc)+_0x5dcfbd;if(typeof _0x41e301['id']!=_0x308a99(0x3c6)||!_0x41e301['id'][_0x308a99(0x2ba)]())throw Error(_0x308a99(0x524)+_0x16cfb5+_0x308a99(0x2b0));if(_0x25b100['has'](_0x41e301['id']))throw Error(_0x308a99(0x4e0)+_0x41e301['id']+'\x22.');_0x25b100[_0x308a99(0x4a3)](_0x41e301['id']);let _0x22d964=typeof _0x41e301['color']==_0x308a99(0x3c6)&&_0x41e301[_0x308a99(0x1e3)][_0x308a99(0x2ba)]()?new _0x52124a(_0x41e301['color']):null;if(!(_0x22d964!=null&&_0x22d964[_0x308a99(0x451)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x16cfb5+_0x308a99(0x513));return _0x16cfb5;}function ra(_0x36babf,_0x38580f,_0x491315){const _0x1e2f66=_0x274f9f;let _0x4778da=new Set(Object[_0x1e2f66(0x33c)](_0x2cbedb)),_0x3be52a=new Set(Object[_0x1e2f66(0x33c)](_0x5914e9)),_0x91c02e=new Set(Object[_0x1e2f66(0x33c)](_0x300409));if(!_0x4778da['has'](_0x38580f['target']))throw Error(_0x1e2f66(0x524)+_0x491315+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x38580f[_0x1e2f66(0x50d)])+'\x22.');let _0xd6372c=typeof _0x38580f['fieldId']==_0x1e2f66(0x3c6)?_0x36babf['fields'][_0x38580f[_0x1e2f66(0x419)]]:void 0x0;if(!_0xd6372c||_0xd6372c[_0x1e2f66(0x3a9)]===!0x0||_0xd6372c[_0x1e2f66(0x2b9)]===_0x11438e[_0x1e2f66(0x20d)])throw Error(_0x1e2f66(0x524)+_0x491315+_0x1e2f66(0x2f7)+String(_0x38580f[_0x1e2f66(0x419)])+'\x22.');if(!_0x3be52a[_0x1e2f66(0x51e)](_0x38580f[_0x1e2f66(0x401)]))throw Error(_0x1e2f66(0x524)+_0x491315+_0x1e2f66(0x50f)+String(_0x38580f[_0x1e2f66(0x401)])+'\x22.');if(_0x38580f['dateMode']!==void 0x0&&!_0x91c02e['has'](_0x38580f[_0x1e2f66(0x205)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x491315+_0x1e2f66(0x404)+String(_0x38580f['dateMode'])+'\x22.');if(_0x38580f[_0x1e2f66(0x50d)]===_0x2cbedb['COLUMN'])return;let _0x314a39=$t(_0xd6372c[_0x1e2f66(0x2b9)]);if(!_0x314a39['includes'](_0x38580f[_0x1e2f66(0x401)]))throw Error(_0x1e2f66(0x524)+_0x491315+_0x1e2f66(0x4d8)+_0x38580f[_0x1e2f66(0x401)]+_0x1e2f66(0x472)+_0xd6372c[_0x1e2f66(0x2b9)]+_0x1e2f66(0x454)+_0x314a39['join'](',\x20')+'.');if(_0x38580f[_0x1e2f66(0x205)]!==void 0x0&&!en(_0xd6372c[_0x1e2f66(0x2b9)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x491315+_0x1e2f66(0x226));}const ia={'id':_0x274f9f(0x4e4),'type':_0x154d7f[_0x274f9f(0x1e9)],'handler':(_0x495c25,_0x31e0bd)=>{const _0x3b3489=_0x274f9f;if(!_0x31e0bd)return!0x1;let _0x5bc10b=_0x495c25[_0x3b3489(0x23e)](_0x310540),{unitId:_0x270665,tableId:_0x3ce689,viewId:_0x50234e,patch:_0x47dbff}=_0x31e0bd,_0x51bb03=_0x5bc10b['getUnit'](_0x270665,_0x993548['UNIVER_BASE']);if(!_0x51bb03||!Q(_0x51bb03,_0x3ce689,{'viewIds':[_0x50234e]}))return!0x1;let _0x5e10d9=_0x495c25[_0x3b3489(0x23e)](_0x232cd6),_0x31f919=_0x495c25[_0x3b3489(0x23e)](_0x56cd6a),_0x3ec692=_0x51bb03[_0x3b3489(0x2d0)](),_0x27dbb9=new W()['updateViewConfig'](_0x3ec692,_0x3ce689,_0x50234e,_0x47dbff),_0x2c2659=new z()[_0x3b3489(0x2c6)](_0x3ec692,_0x27dbb9),_0x6673d0={'unitId':_0x270665,'op':_0x27dbb9},_0x5457d0={'unitId':_0x270665,'op':_0x2c2659};return _0x5e10d9[_0x3b3489(0x421)](Z['id'],_0x6673d0)?(_0x5bc10b[_0x3b3489(0x1df)](_0x270665),_0x31f919[_0x3b3489(0x3d4)]({'unitID':_0x270665,'undoMutations':[{'id':Z['id'],'params':_0x5457d0}],'redoMutations':[{'id':Z['id'],'params':_0x6673d0}]}),!0x0):!0x1;}};function aa(_0x47f599){const _0x2f73e1=_0x274f9f;let _0xb9cfed=_0x47f599[_0x2f73e1(0x4df)]??Date[_0x2f73e1(0x4df)](),_0x4b0a07=_0x47f599[_0x2f73e1(0x2db)]??_0x47f599['id']+'-field-name',_0x42d040=_0x47f599['gridViewId']??_0x47f599['id']+_0x2f73e1(0x40b),_0x2a6bc4=_0x47f599['recordCount']??0x0,_0x1543b8=_0x4bb477(),_0x297a08={'id':_0x4b0a07,'name':_0x47f599['primaryFieldName']??_0x2f73e1(0x41f),'type':_0x11438e[_0x2f73e1(0x267)],'config':{'placeholder':_0x2f73e1(0x383)}},_0x2ff67d={},_0x288dd3=[],_0x1a11e7={},_0x1483ac={},_0x546628={};for(let _0x436a12=0x0;_0x436a12<_0x2a6bc4;_0x436a12++){let _0x5d17bf=_0x47f599['id']+'-record-'+(_0x436a12+0x1);_0x2ff67d[_0x5d17bf]={'id':_0x5d17bf,'values':{[_0x525439]:_0x5d17bf,..._0x47f599['recordNamePrefix']?{[_0x4b0a07]:_0x47f599[_0x2f73e1(0x296)]+'\x20'+(_0x436a12+0x1)}:{}},'orderKey':String(_0x436a12+0x1)[_0x2f73e1(0x40c)](0x4,'0'),'createdAt':_0xb9cfed,'updatedAt':_0xb9cfed},_0x288dd3[_0x2f73e1(0x254)](_0x5d17bf),_0x1a11e7[_0x5d17bf]=_0x436a12,_0x1483ac[_0x436a12]=_0x5d17bf,_0x546628[_0x436a12]={0x0:{'v':_0x5d17bf,'t':_0x332e7b[_0x2f73e1(0x2a3)]}},_0x47f599[_0x2f73e1(0x296)]&&(_0x546628[_0x436a12][0x1]={'v':_0x47f599['recordNamePrefix']+'\x20'+(_0x436a12+0x1),'t':_0x332e7b['STRING']});}let _0x1ca508={'id':_0x42d040,'tableId':_0x47f599['id'],'name':'Grid','type':_0x31904d[_0x2f73e1(0x4a0)],'fieldOrder':[_0x525439,_0x4b0a07],'fieldSettings':{[_0x525439]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x47f599['id'],'name':_0x47f599[_0x2f73e1(0x248)],'primaryFieldId':_0x4b0a07,'fieldOrder':[_0x525439,_0x4b0a07],'fields':{[_0x525439]:_0x1543b8,[_0x4b0a07]:_0x297a08},'records':_0x2ff67d,'recordOrder':_0x288dd3,'rowIndex':_0x1a11e7,'rowId':_0x1483ac,'colIndex':{[_0x525439]:0x0,[_0x4b0a07]:0x1},'colId':{0x0:_0x525439,0x1:_0x4b0a07},'cellData':_0x546628,'views':{[_0x42d040]:_0x1ca508},'viewOrder':[_0x42d040]};}const oa='UNIVER_EMBED_BASES_TABLE';function sa(_0xf56f76){const _0x309732=_0x274f9f;let _0x5a4082=aa({'id':_0xf56f76[_0x309732(0x1e0)],'name':_0xf56f76[_0x309732(0x248)]??_0xf56f76[_0x309732(0x46f)],'recordCount':0x0});return{..._0x5a4082,'resources':{..._0x5a4082[_0x309732(0x42d)]??{},[oa]:ua(_0xf56f76)}};}function ca(_0x440624){const _0x143a55=_0x274f9f;return{'id':Z['id'],'params':{'unitId':_0x440624[_0x143a55(0x4bb)],'op':new W()['createTable'](_0x440624[_0x143a55(0x363)],_0x440624['table'],_0x440624[_0x143a55(0x519)]),'trigger':'embed-ui'}};}function la(_0x2059c3){const _0x290a80=_0x274f9f;let _0x1bd5bd=_0x2059c3['snapshot']['tableOrder'][_0x290a80(0x502)](_0x2059c3[_0x290a80(0x37e)]);if(!(!_0x2059c3['snapshot'][_0x290a80(0x529)][_0x2059c3[_0x290a80(0x37e)]]||_0x1bd5bd<0x0))return{'id':Z['id'],'params':{'unitId':_0x2059c3[_0x290a80(0x4bb)],'op':new W()['deleteTable'](_0x2059c3[_0x290a80(0x363)],_0x2059c3[_0x290a80(0x37e)]),'trigger':_0x290a80(0x335)}};}function ua(_0x633863){const _0x2d69f5=_0x274f9f;return{'version':0x1,'embedId':_0x633863[_0x2d69f5(0x46f)],'hostAnchorId':_0x633863[_0x2d69f5(0x1e0)],'childUnitId':_0x633863['childUnitId'],'childType':_0x633863[_0x2d69f5(0x2fc)]};}function da(_0x2ea7f0){const _0x2223a2=_0x274f9f;let _0x2b9510=Math['max'](0x0,Number(_0x2ea7f0[_0x2223a2(0x3cb)]??0x0)),_0x4460e6=_0x2ea7f0[_0x2223a2(0x4f0)]===!0x1?'0':_0x2223a2(0x445),_0x2a5946=_0x2b9510?'.'+'0'[_0x2223a2(0x1eb)](_0x2b9510):'',_0x1fa60=pa(_0x2ea7f0[_0x2223a2(0x209)]);return''+(_0x2ea7f0[_0x2223a2(0x43a)]?ma(_0x2ea7f0[_0x2223a2(0x43a)]):'')+_0x4460e6+_0x2a5946+_0x1fa60;}function fa(_0x1770c2,_0x32a3e8){const _0x1ca1e5=_0x274f9f;let _0xa422e5=da(_0x32a3e8),_0x2b4b76=_0x3efcdb[_0x1ca1e5(0x483)](_0xa422e5,_0x1770c2,{'throws':!0x1});return ha(String(_0x2b4b76),_0x32a3e8[_0x1ca1e5(0x21e)],_0x32a3e8[_0x1ca1e5(0x232)]);}function pa(_0x49022f){const _0x47a4be=_0x274f9f;return _0x49022f==='K'?_0x47a4be(0x1d4):_0x49022f==='M'?_0x47a4be(0x4d6):_0x49022f==='B'?_0x47a4be(0x328):'';}function ma(_0x97fa6f){return/^[A-Z]+$/i['test'](_0x97fa6f)?'\x22'+_0x97fa6f+'\x22':_0x97fa6f;}function ha(_0xd6c982,_0x2029d6,_0x1c4dee){const _0x15792d=_0x274f9f;let _0x55626d=_0x2029d6===_0x15792d(0x29b)?ga(_0x1c4dee):_0x2029d6;return _0x55626d===_0x15792d(0x3bd)?_0xd6c982[_0x15792d(0x386)](/,/g,'\x00')[_0x15792d(0x386)](/\./g,',')[_0x15792d(0x386)](/\0/g,'.'):_0x55626d===_0x15792d(0x30b)?_0xd6c982[_0x15792d(0x386)](/,/g,'\x20')[_0x15792d(0x386)](/\./g,','):_0x55626d===_0x15792d(0x2bb)?_0xd6c982[_0x15792d(0x386)](/,/g,'\x20'):_0xd6c982;}function ga(_0x55abf3){const _0x90c174=_0x274f9f;var _0x3d3b09,_0x4763a3;let _0x5ca621=_0x55abf3||new Intl[(_0x90c174(0x3a7))]()[_0x90c174(0x2ce)]()[_0x90c174(0x232)],_0x2cabd6;try{_0x2cabd6=new Intl[(_0x90c174(0x3a7))](_0x5ca621,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x90c174(0x2fb)](0xf4240);}catch{return _0x90c174(0x382);}let _0x287ffa=(_0x3d3b09=_0x2cabd6[_0x90c174(0x271)](_0xed6669=>_0xed6669['type']===_0x90c174(0x394)))==null?void 0x0:_0x3d3b09[_0x90c174(0x42f)],_0x5ca267=(_0x4763a3=_0x2cabd6[_0x90c174(0x271)](_0x478cec=>_0x478cec[_0x90c174(0x2b9)]===_0x90c174(0x30f)))==null?void 0x0:_0x4763a3[_0x90c174(0x42f)],_0x1e7082=_0x287ffa==='\u00a0'||_0x287ffa==='\u202f'?'\x20':_0x287ffa;return _0x1e7082==='.'&&_0x5ca267===','?_0x90c174(0x3bd):_0x1e7082==='\x20'&&_0x5ca267===','?_0x90c174(0x30b):_0x1e7082==='\x20'&&_0x5ca267==='.'?_0x90c174(0x2bb):'commaPeriod';}function _a(_0x35601b,_0x1e8f12){const _0x51db11=_0x274f9f;let _0x4b4caa=_0x1e8f12&&typeof _0x1e8f12==_0x51db11(0x314)&&!Array[_0x51db11(0x39e)](_0x1e8f12)?_0x1e8f12:{},_0x591601=va(_0x4b4caa['decimalPlaces'],0x0,0x2,0x0),_0x2f2e75=_0x35601b['toFixed'](_0x591601);return _0x4b4caa[_0x51db11(0x483)]===_0x51db11(0x4b3)?_0x2f2e75:_0x2f2e75+'%';}function va(_0x5d034f,_0x4b383c,_0x2e7bd5,_0x59feaf){const _0x2c9fb5=_0x274f9f;if(_0x5d034f==null||_0x5d034f==='')return _0x59feaf;let _0x49198f=typeof _0x5d034f==_0x2c9fb5(0x4b3)?_0x5d034f:Number(_0x5d034f);return Number[_0x2c9fb5(0x1ee)](_0x49198f)?Math[_0x2c9fb5(0x3f9)](_0x4b383c,Math['min'](_0x2e7bd5,Math['round'](_0x49198f))):_0x59feaf;}const ya=[_0x274f9f(0x1d5),_0x274f9f(0x3f2),_0x274f9f(0x3c2),_0x274f9f(0x2a2),_0x274f9f(0x39d),_0x274f9f(0x46e),'min',_0x274f9f(0x3f9)],ba=[_0x274f9f(0x1d5),_0x274f9f(0x3f2),_0x274f9f(0x3c2),_0x274f9f(0x2a2)],xa=[_0x274f9f(0x39d),_0x274f9f(0x46e),_0x274f9f(0x4ff),_0x274f9f(0x3f9)],Sa=['min',_0x274f9f(0x3f9)],Ca=new Set([_0x11438e[_0x274f9f(0x43e)],_0x11438e[_0x274f9f(0x453)],_0x11438e[_0x274f9f(0x298)],_0x11438e[_0x274f9f(0x259)]]),wa=new Set([_0x11438e[_0x274f9f(0x3a5)],_0x11438e[_0x274f9f(0x33d)],_0x11438e['Group']]),Ta='General';function Ea(_0xa0176b){const _0x24e23a=_0x274f9f;return typeof _0xa0176b==_0x24e23a(0x3c6)&&ya['includes'](_0xa0176b);}function Da(_0x220f0c){const _0x1b18e6=_0x274f9f;return!_0x220f0c||typeof _0x220f0c!=_0x1b18e6(0x314)?{}:Object['fromEntries'](Object['entries'](_0x220f0c)[_0x1b18e6(0x458)](_0x30069e=>Ea(_0x30069e[0x1])));}function Oa(_0x28398d){const _0x55e72c=_0x274f9f;return Ca[_0x55e72c(0x51e)](_0x28398d['type'])?[...ba,...xa]:_0x28398d[_0x55e72c(0x2b9)]===_0x11438e[_0x55e72c(0x525)]?[...ba,...Ua(_0x28398d)==='date'?Sa:xa]:ba;}function ka(_0x4eca4e,_0xd4fc54){const _0x19cf3d=_0x274f9f;return Oa(_0x4eca4e)[_0x19cf3d(0x1d2)](_0xd4fc54);}function Aa(_0xabbc53,_0x1e2cdd,_0x5285f2){const _0x4f1279=_0x274f9f;if(!ka(_0xabbc53,_0x5285f2))return null;let _0x5032c2=_0x1e2cdd[_0x4f1279(0x458)](_0x468f43=>!Ma(_0xabbc53,_0x468f43));switch(_0x5285f2){case _0x4f1279(0x1d5):return _0x1e2cdd[_0x4f1279(0x353)];case'filled':return _0x5032c2[_0x4f1279(0x353)];case _0x4f1279(0x3c2):return _0x1e2cdd[_0x4f1279(0x353)]-_0x5032c2[_0x4f1279(0x353)];case _0x4f1279(0x2a2):return new Set(_0x5032c2[_0x4f1279(0x22e)](_0x12d819=>Ia(_0xabbc53,_0x12d819)))[_0x4f1279(0x43d)];case _0x4f1279(0x39d):{let _0x1165e2=Na(_0xabbc53,_0x5032c2);return _0x1165e2[_0x4f1279(0x353)]?Fa(_0x1165e2):null;}case _0x4f1279(0x46e):{let _0x188235=Na(_0xabbc53,_0x5032c2);return _0x188235['length']?Fa(_0x188235)/_0x188235['length']:null;}case _0x4f1279(0x4ff):{let _0x2b5d61=Na(_0xabbc53,_0x5032c2);return _0x2b5d61[_0x4f1279(0x353)]?Math[_0x4f1279(0x4ff)](..._0x2b5d61):null;}case _0x4f1279(0x3f9):{let _0x4211bc=Na(_0xabbc53,_0x5032c2);return _0x4211bc[_0x4f1279(0x353)]?Math[_0x4f1279(0x3f9)](..._0x4211bc):null;}}}function ja(_0x4ed3f9,_0x7e5856,_0x23069d){const _0x353c12=_0x274f9f;if(_0x23069d==null||!Number['isFinite'](_0x23069d))return'-';if(ba[_0x353c12(0x1d2)](_0x7e5856))return String(_0x23069d);switch(_0x4ed3f9['type']){case _0x11438e[_0x353c12(0x43e)]:return fa(_0x23069d,Ba(_0x4ed3f9));case _0x11438e[_0x353c12(0x453)]:return fa(_0x23069d,Va(_0x4ed3f9));case _0x11438e[_0x353c12(0x298)]:return _a(_0x23069d,_0x4ed3f9[_0x353c12(0x427)]);case _0x11438e[_0x353c12(0x525)]:return Ha(_0x23069d,_0x4ed3f9);default:return Ga(_0x23069d);}}function Ma(_0x3927f3,_0x31aec2){const _0xbf4d6c=_0x274f9f;if(_0x31aec2==null)return!0x0;if(typeof _0x31aec2=='string')return _0x31aec2[_0xbf4d6c(0x2ba)]()==='';if(Array[_0xbf4d6c(0x39e)](_0x31aec2))return _0x3927f3[_0xbf4d6c(0x2b9)]===_0x11438e[_0xbf4d6c(0x31e)]?!_0x31aec2[_0xbf4d6c(0x29f)](za):_0x31aec2[_0xbf4d6c(0x353)]===0x0;if(_0x3927f3[_0xbf4d6c(0x2b9)]===_0x11438e['Link']&&typeof _0x31aec2=='object'){let _0x266a0a=_0x31aec2;return[_0x266a0a[_0xbf4d6c(0x2d7)],_0x266a0a['url']]['every'](_0x45dbc8=>_0x45dbc8==null||String(_0x45dbc8)[_0xbf4d6c(0x2ba)]()==='');}return!0x1;}function Na(_0x5479fb,_0x2ae95a){const _0x1648f3=_0x274f9f;let _0x227a4b=[];for(let _0x4825bf of _0x2ae95a){let _0x575447=Pa(_0x5479fb,_0x4825bf);_0x575447!=null&&_0x227a4b[_0x1648f3(0x254)](_0x575447);}return _0x227a4b;}function Pa(_0x23bc1d,_0x3e3e78){const _0x169beb=_0x274f9f;if(typeof _0x3e3e78==_0x169beb(0x4b3))return Number[_0x169beb(0x1ee)](_0x3e3e78)?_0x3e3e78:null;if(_0x23bc1d[_0x169beb(0x2b9)]!==_0x11438e[_0x169beb(0x525)]&&typeof _0x3e3e78==_0x169beb(0x3c6)&&_0x3e3e78['trim']()!==''){let _0x5acfdc=Number(_0x3e3e78);return Number['isFinite'](_0x5acfdc)?_0x5acfdc:null;}return null;}function Fa(_0x14aacb){const _0x128341=_0x274f9f;let _0x10e581=0x0,_0x3cdffa=0x0;for(let _0x5f5d59 of _0x14aacb){let _0x18d4a2=_0x10e581+_0x5f5d59;_0x3cdffa+=Math[_0x128341(0x2f1)](_0x10e581)>=Math[_0x128341(0x2f1)](_0x5f5d59)?_0x10e581-_0x18d4a2+_0x5f5d59:_0x5f5d59-_0x18d4a2+_0x10e581,_0x10e581=_0x18d4a2;}return _0x10e581+_0x3cdffa;}function Ia(_0x189fb3,_0x105387){const _0x5530f5=_0x274f9f;return wa[_0x5530f5(0x51e)](_0x189fb3[_0x5530f5(0x2b9)])&&Array[_0x5530f5(0x39e)](_0x105387)?Ra([...new Set(_0x105387[_0x5530f5(0x22e)](_0x291f49=>Ra(La(_0x291f49))))][_0x5530f5(0x456)]()):Ra(La(_0x105387));}function La(_0x456c98){const _0x5df7fe=_0x274f9f;return Array[_0x5df7fe(0x39e)](_0x456c98)?_0x456c98[_0x5df7fe(0x22e)](La):_0x456c98&&typeof _0x456c98==_0x5df7fe(0x314)?Object['fromEntries'](Object[_0x5df7fe(0x2d4)](_0x456c98)['sort'](([_0x1ce1b1],[_0x19d6a2])=>_0x1ce1b1[_0x5df7fe(0x1fe)](_0x19d6a2))[_0x5df7fe(0x22e)](([_0x2adccc,_0x3c9932])=>[_0x2adccc,La(_0x3c9932)])):_0x456c98;}function Ra(_0x3c571f){const _0x2f573e=_0x274f9f;return JSON[_0x2f573e(0x2b6)](_0x3c571f)??'undefined';}function za(_0xa7fa5d){const _0x3bfb8e=_0x274f9f;if(typeof _0xa7fa5d=='string')return _0xa7fa5d[_0x3bfb8e(0x2ba)]()!=='';if(!_0xa7fa5d||typeof _0xa7fa5d!=_0x3bfb8e(0x314))return!0x1;let _0x221130=_0xa7fa5d;return[_0x221130['id'],_0x221130[_0x3bfb8e(0x248)],_0x221130['source'],_0x221130['url'],_0x221130['thumbnail']][_0x3bfb8e(0x29f)](_0x53ce3c=>_0x53ce3c!=null&&String(_0x53ce3c)[_0x3bfb8e(0x2ba)]()!=='');}function Ba(_0x99b724){const _0x342ef4=_0x274f9f;let _0x1bebf5=Ka(_0x99b724[_0x342ef4(0x427)]);return{'decimalPlaces':Ja(_0x1bebf5[_0x342ef4(0x3cb)]??_0x1bebf5[_0x342ef4(0x334)],0x0,0x14,0x2),'separatorStyle':typeof _0x1bebf5[_0x342ef4(0x21e)]==_0x342ef4(0x3c6)?_0x1bebf5['separatorStyle']:'local','locale':typeof _0x1bebf5[_0x342ef4(0x232)]=='string'?_0x1bebf5[_0x342ef4(0x232)]:void 0x0,'useThousands':_0x1bebf5[_0x342ef4(0x4f0)]!==!0x1,'abbreviation':typeof _0x1bebf5['abbreviation']==_0x342ef4(0x3c6)?_0x1bebf5[_0x342ef4(0x209)]:_0x342ef4(0x52a)};}function Va(_0x24f7ef){const _0x1e74da=_0x274f9f;let _0x6cb3f3=Ka(_0x24f7ef[_0x1e74da(0x427)]);return{...Ba(_0x24f7ef),'currencySymbol':String(_0x6cb3f3[_0x1e74da(0x43a)]??_0x6cb3f3[_0x1e74da(0x244)]??'$')};}function Ha(_0x317082,_0x239109){let _0x309924=Wa(_0x239109);if(_0x309924===Ta)return Ga(_0x317082);try{return String(_0x3efcdb['format'](_0x309924,_0x317082,{'throws':!0x1}));}catch{return Ga(_0x317082);}}function Ua(_0x3fee68){const _0x30611d=_0x274f9f;let _0x206c9c=Ka(Ka(_0x3fee68[_0x30611d(0x427)])['numfmt']);return typeof _0x206c9c[_0x30611d(0x2b9)]==_0x30611d(0x3c6)?_0x206c9c[_0x30611d(0x2b9)]:_0x30611d(0x2f0);}function Wa(_0x5dd89e){const _0x439965=_0x274f9f;let _0x275002=Ka(Ka(_0x5dd89e[_0x439965(0x427)])[_0x439965(0x38a)]);return String(_0x275002[_0x439965(0x471)]??Ta)[_0x439965(0x2ba)]()||Ta;}function Ga(_0x5cedfc){const _0x3016aa=_0x274f9f;return String(Number[_0x3016aa(0x1f5)](_0x5cedfc)?_0x5cedfc:Math['round']((_0x5cedfc+0x2**-0x34)*0x64)/0x64);}function Ka(_0x4217af){const _0x3c36eb=_0x274f9f;return _0x4217af&&typeof _0x4217af==_0x3c36eb(0x314)&&!Array[_0x3c36eb(0x39e)](_0x4217af)?_0x4217af:{};}function qa(_0xf2358b){const _0x3d8160=_0x274f9f;if(_0xf2358b==null||_0xf2358b==='')return null;let _0x17ec84=typeof _0xf2358b==_0x3d8160(0x4b3)?_0xf2358b:Number(_0xf2358b);return Number[_0x3d8160(0x1ee)](_0x17ec84)?_0x17ec84:null;}function Ja(_0x3b3b23,_0x2740fa,_0x51c8f8,_0x5f3c6a){const _0x501853=_0x274f9f;let _0x1e7bcb=qa(_0x3b3b23);return _0x1e7bcb==null?_0x5f3c6a:Math[_0x501853(0x3f9)](_0x2740fa,Math['min'](_0x51c8f8,Math[_0x501853(0x4f1)](_0x1e7bcb)));}function Ya(_0x35cd23,_0x348c9a){const _0x5f0ddd=_0x274f9f;let _0x5dfefc=_0x12a306[_0x5f0ddd(0x523)](_0x35cd23),_0x12e734=_0x348c9a[_0x5f0ddd(0x410)]===!0x0,_0x200c3f=new Map(),_0x33c3e9=_0x348c9a[_0x5f0ddd(0x2cf)]??(()=>_0x5f0ddd(0x3a3)+_0x3a2895(0x8)),_0x58f658=_0x5dfefc[_0x5f0ddd(0x3bc)];return _0x348c9a[_0x5f0ddd(0x266)]&&(_0x58f658=_0x5dfefc[_0x5f0ddd(0x3bc)]['map'](_0x53ac42=>{let _0x771ccd=_0x33c3e9();return _0x200c3f['set'](_0x53ac42,_0x771ccd),_0x771ccd;})),{..._0x5dfefc,'id':_0x348c9a['id'],'name':_0x348c9a[_0x5f0ddd(0x248)],'records':_0x12e734?_0x5dfefc[_0x5f0ddd(0x3c4)]:{},'recordOrder':_0x12e734?_0x5dfefc[_0x5f0ddd(0x4fd)]:[],'rowIndex':_0x12e734?_0x5dfefc[_0x5f0ddd(0x269)]:{},'rowId':_0x12e734?_0x5dfefc[_0x5f0ddd(0x47c)]:{},'cellData':_0x12e734?_0x5dfefc['cellData']:{},'resources':_0x12e734?_0x5dfefc[_0x5f0ddd(0x42d)]:{},'viewOrder':_0x58f658,'views':Object[_0x5f0ddd(0x372)](Object[_0x5f0ddd(0x2d4)](_0x5dfefc['views']??{})[_0x5f0ddd(0x22e)](([_0x9bd1b3,_0x33b5d4])=>{const _0x4e4d78=_0x5f0ddd;let _0x4781a9=_0x200c3f[_0x4e4d78(0x23e)](_0x9bd1b3)??(_0x348c9a[_0x4e4d78(0x266)]?_0x33c3e9():_0x9bd1b3);return[_0x4781a9,{..._0x33b5d4,'id':_0x4781a9,'tableId':_0x348c9a['id']}];}))};}var Xa=_0x274f9f(0x41e),Za=_0x274f9f(0x51a);const Qa={},$a={};function eo(_0x204417){const _0x4c06b9=_0x274f9f;return new z()[_0x4c06b9(0x301)](_0x204417);}function to(_0x51ad7c){const _0x43ce3f=_0x274f9f;return _0x51ad7c[_0x43ce3f(0x215)][_0x43ce3f(0x22e)](_0x48933c=>({'unitId':_0x51ad7c[_0x43ce3f(0x4bb)],'sheetId':_0x51ad7c[_0x43ce3f(0x37e)],'range':{'startRow':_0x48933c[_0x43ce3f(0x264)],'endRow':_0x48933c['row'],'startColumn':_0x48933c[_0x43ce3f(0x355)],'endColumn':_0x48933c['col']}}));}function no(_0x3adf7b,_0x5eb47c){const _0x2f8733=_0x274f9f;return{[_0x3adf7b]:Object[_0x2f8733(0x372)](_0x5eb47c[_0x2f8733(0x22e)](_0x5cd9a2=>[_0x5cd9a2,'1']))};}let ro=class extends _0x4191ab{constructor(_0x21ba76,_0x5d5708){const _0x39043c=_0x274f9f;super(),this[_0x39043c(0x474)]=_0x21ba76,this[_0x39043c(0x46b)]=_0x5d5708,this['_initialize']();}[_0x274f9f(0x28b)](){const _0x21d6e5=_0x274f9f;this[_0x21d6e5(0x474)][_0x21d6e5(0x406)](Z['id'],{'commandId':Z['id'],'getDirtyData':_0x230d3f=>this[_0x21d6e5(0x43b)](_0x230d3f[_0x21d6e5(0x50a)])}),this[_0x21d6e5(0x45c)](_0x26ad0b(()=>{const _0x16cfe1=_0x21d6e5;this['_activeDirtyManagerService'][_0x16cfe1(0x345)](Z['id']);}));}['_getTable'](_0x4bd1c4,_0x56d7e6){const _0x39c9de=_0x274f9f;let _0x168062=this[_0x39c9de(0x46b)][_0x39c9de(0x462)](_0x4bd1c4,_0x993548[_0x39c9de(0x3f1)]);return(_0x168062==null?void 0x0:_0x168062[_0x39c9de(0x2d0)]()[_0x39c9de(0x529)][_0x56d7e6])??null;}[_0x274f9f(0x43b)](_0x5b072c){const _0x5ee9fc=_0x274f9f;if(_0x5b072c[_0x5ee9fc(0x3b2)]===_0x5ee9fc(0x270))return{};if(!_0x5b072c[_0x5ee9fc(0x4bb)]||!_0x5b072c['op'])return{'clearDependencyTreeCache':this[_0x5ee9fc(0x24b)](),'forceCalculation':!0x0};let _0xf38d20=eo(_0x5b072c['op']),_0xdeab69=this['_getStructureDirtyTableIds'](_0x5b072c[_0x5ee9fc(0x4bb)],_0xf38d20);if(_0xdeab69[_0x5ee9fc(0x353)])return{'clearDependencyTreeCache':no(_0x5b072c[_0x5ee9fc(0x4bb)],_0xdeab69),'forceCalculation':!0x0};let _0x5e423b=Object[_0x5ee9fc(0x2d4)](this[_0x5ee9fc(0x485)](_0x5b072c['unitId'],_0xf38d20))[_0x5ee9fc(0x25e)](([_0x48e3c9,_0x54627c])=>to({'unitId':_0x5b072c[_0x5ee9fc(0x4bb)],'tableId':_0x48e3c9,'patches':_0x54627c}));return _0x5e423b[_0x5ee9fc(0x353)]?{'dirtyRanges':_0x5e423b}:{};}[_0x274f9f(0x4eb)](_0x3da4a1,_0x4ab21c){const _0x1b1bd3=_0x274f9f;let _0x2ffc3d=_0x4ab21c[_0x1b1bd3(0x458)](_0x1fcead=>_0x1fcead[_0x1b1bd3(0x257)]!==_0x1b1bd3(0x3aa))[_0x1b1bd3(0x25e)](_0x40ebb6=>_0x40ebb6[_0x1b1bd3(0x37e)]?[_0x40ebb6['tableId']]:this['_getAllTableIds'](_0x3da4a1));return Array[_0x1b1bd3(0x2a4)](new Set(_0x2ffc3d));}[_0x274f9f(0x485)](_0x19011c,_0x4e2995){let _0x5920e7=new Set();return _0x4e2995['reduce']((_0x204fac,_0x264262)=>{const _0x4ba456=_0x2f15;let _0xea7d4f=this[_0x4ba456(0x3f0)](_0x19011c,_0x264262);if(!_0xea7d4f)return _0x204fac;let _0x2a330b=_0x264262[_0x4ba456(0x37e)]+':'+_0xea7d4f[_0x4ba456(0x264)]+':'+_0xea7d4f['col'];return _0x5920e7['has'](_0x2a330b)?_0x204fac:(_0x5920e7[_0x4ba456(0x4a3)](_0x2a330b),_0x204fac[_0x264262[_0x4ba456(0x37e)]]=_0x204fac[_0x264262['tableId']]??[],_0x204fac[_0x264262[_0x4ba456(0x37e)]][_0x4ba456(0x254)](_0xea7d4f),_0x204fac);},{});}[_0x274f9f(0x3f0)](_0xfcd1d5,_0x214542){const _0x242a43=_0x274f9f;if(_0x214542[_0x242a43(0x257)]!=='cell')return null;if(_0x214542[_0x242a43(0x264)]!=null&&_0x214542['column']!=null)return{'row':_0x214542['row'],'col':_0x214542[_0x242a43(0x42e)],'value':null};if(!_0x214542[_0x242a43(0x44a)]||!_0x214542[_0x242a43(0x419)])return null;let _0x23165e=this['_getTable'](_0xfcd1d5,_0x214542[_0x242a43(0x37e)]);if(!_0x23165e)return null;let _0x5f4d0d=tt(_0x23165e,_0x214542['recordId'],_0x214542[_0x242a43(0x419)]);return _0x5f4d0d?{'row':_0x5f4d0d[_0x242a43(0x264)],'col':_0x5f4d0d[_0x242a43(0x355)],'value':null}:null;}[_0x274f9f(0x38d)](_0x391c2d){const _0x3cabb7=_0x274f9f;let _0x4ddb90=this[_0x3cabb7(0x46b)][_0x3cabb7(0x462)](_0x391c2d,_0x993548['UNIVER_BASE']);return Object[_0x3cabb7(0x33c)]((_0x4ddb90==null?void 0x0:_0x4ddb90[_0x3cabb7(0x2d0)]()[_0x3cabb7(0x529)])??{})[_0x3cabb7(0x22e)](_0x1b70d3=>_0x1b70d3['id']);}[_0x274f9f(0x24b)](){const _0x3bd25d=_0x274f9f;let _0x424d81=this[_0x3bd25d(0x46b)]['getAllUnitsForType'](_0x993548[_0x3bd25d(0x3f1)])['map'](_0xe86fb8=>no(_0xe86fb8[_0x3bd25d(0x435)](),Object[_0x3bd25d(0x311)](_0xe86fb8[_0x3bd25d(0x2d0)]()[_0x3bd25d(0x529)])));return Object[_0x3bd25d(0x200)]({},..._0x424d81);}};ro=q([K(0x0,_0x27fac4),K(0x1,_0x310540)],ro);const io=_0x3f679a['createRegExpFromSafeFragment'](String[_0x274f9f(0x422)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),ao=_0x3f679a[_0x274f9f(0x4c1)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),oo=/\{([^}]+)\}/g,so=_0x3f679a[_0x274f9f(0x4c1)](String['raw']`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),co=_0x3f679a[_0x274f9f(0x4c1)](String[_0x274f9f(0x422)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var lo=class{[_0x274f9f(0x4d0)](_0x3d398e,_0x408d99=_0x3d398e['id']){const _0x395b29=_0x274f9f;var _0x460e31;let _0xc2b28c=((_0x460e31=_0x3d398e['recordOrder'])==null?void 0x0:_0x460e31[_0x395b29(0x353)])??Object['values'](_0x3d398e[_0x395b29(0x3c4)])[_0x395b29(0x353)];return{'sheetId':_0x408d99,'titleMap':new Map(_0x3d398e[_0x395b29(0x47a)][_0x395b29(0x22e)]((_0x549fcf,_0x1c1ed5)=>{const _0x13526d=_0x395b29;var _0x280ef3;return[((_0x280ef3=_0x3d398e[_0x13526d(0x39f)][_0x549fcf])==null?void 0x0:_0x280ef3['name'])??_0x549fcf,_0x1c1ed5];})),'range':{'startRow':0x0,'endRow':Math[_0x395b29(0x3f9)](0x0,_0xc2b28c-0x1),'startColumn':0x0,'endColumn':Math[_0x395b29(0x3f9)](0x0,_0x3d398e[_0x395b29(0x47a)][_0x395b29(0x353)]-0x1)},'showHeader':!0x1};}[_0x274f9f(0x231)](_0x80f4e0,_0x486997,_0x48892f,_0x44a7c6={}){const _0x4542c2=_0x274f9f;let _0x314988=this[_0x4542c2(0x4d0)](_0x48892f,_0x44a7c6[_0x4542c2(0x498)]??_0x48892f['id']);return new Set([_0x48892f['id'],_0x48892f[_0x4542c2(0x248)],_0x44a7c6['tableName']][_0x4542c2(0x458)](_0x40e9a9=>!!_0x40e9a9))[_0x4542c2(0x366)](_0x41f18b=>_0x80f4e0[_0x4542c2(0x4bc)](_0x486997,_0x41f18b,_0x314988)),_0x314988;}['registerSuperTables'](_0x445409,_0x493f86){const _0x38554d=_0x274f9f;let _0x4af4f9=this[_0x38554d(0x3dd)](_0x493f86);return _0x4af4f9['forEach'](({tableName:_0x24089b,reference:_0x137b2b})=>{const _0x422955=_0x38554d;_0x445409[_0x422955(0x4bc)](_0x493f86['id'],_0x24089b,_0x137b2b);}),Array[_0x38554d(0x2a4)](new Set(_0x4af4f9[_0x38554d(0x22e)](({reference:_0x6ad05d})=>_0x6ad05d)));}[_0x274f9f(0x3dd)](_0x388ab4,_0x2bd172){const _0x1e656d=_0x274f9f;let _0x5a9303=[],_0xc312db=_0x2bd172?new Set(_0x2bd172):null,_0x4244a9=new Map();return Object['values'](_0x388ab4[_0x1e656d(0x529)])[_0x1e656d(0x366)](_0x2f4f94=>{const _0x4af467=_0x1e656d;let _0x2d6ce9=_0x2f4f94[_0x4af467(0x248)][_0x4af467(0x2ba)]()['toLowerCase']();_0x4244a9[_0x4af467(0x317)](_0x2d6ce9,(_0x4244a9[_0x4af467(0x23e)](_0x2d6ce9)??0x0)+0x1);}),Object[_0x1e656d(0x33c)](_0x388ab4[_0x1e656d(0x529)])['filter'](_0x5218d7=>!_0xc312db||_0xc312db[_0x1e656d(0x51e)](_0x5218d7['id']))[_0x1e656d(0x366)](_0x2704ba=>{const _0x4a651b=_0x1e656d;let _0x5162f8=this[_0x4a651b(0x4d0)](_0x2704ba,_0x2704ba['id']);_0x5a9303['push']({'tableId':_0x2704ba['id'],'tableName':_0x2704ba['id'],'reference':_0x5162f8}),(_0x4244a9[_0x4a651b(0x23e)](_0x2704ba[_0x4a651b(0x248)][_0x4a651b(0x2ba)]()[_0x4a651b(0x208)]())??0x0)===0x1&&_0x5a9303[_0x4a651b(0x254)]({'tableId':_0x2704ba['id'],'tableName':_0x2704ba[_0x4a651b(0x248)],'reference':_0x5162f8});}),_0x5a9303;}['validateFormula'](_0x4d7c65,_0xbd6e7d,_0x5a5d0b={}){const _0x30b888=_0x274f9f;let _0x59e0cf=_0x4d7c65[_0x30b888(0x2ba)]();if(!_0x59e0cf)return{'valid':!0x0};if(go(_0x59e0cf))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};for(let _0x29f65d of ho(_0x59e0cf)){let _0x362412=So(_0x29f65d,_0xbd6e7d,_0x5a5d0b[_0x30b888(0x363)]);if(!_0x362412[_0x30b888(0x258)])return{'valid':!0x1,'reason':_0x30b888(0x2dd)+_0x29f65d[_0x30b888(0x29e)]+_0x30b888(0x518)};if(!_0x362412[_0x30b888(0x4e6)])return{'valid':!0x1,'reason':_0x30b888(0x4c3)+_0x29f65d[_0x30b888(0x4f5)]+_0x30b888(0x518)};}return{'valid':!0x0};}[_0x274f9f(0x481)](_0x18ffef,_0x2e5776,_0x13519e={}){const _0x51448b=_0x274f9f;let _0xeab29b=new Set();for(let _0x5d57ff of this['getStructuredDependencies'](_0x18ffef,_0x2e5776,_0x13519e))_0x5d57ff['tableId']===_0x2e5776['id']&&_0xeab29b[_0x51448b(0x4a3)](_0x5d57ff[_0x51448b(0x419)]);return Array[_0x51448b(0x2a4)](_0xeab29b);}[_0x274f9f(0x1f2)](_0x5c6932,_0x388714,_0x5456d1={}){const _0x3d5502=_0x274f9f;let _0x28d8d8=new Map();for(let _0x9907f6 of ho(_0x5c6932)){let _0x1b8c2b=So(_0x9907f6,_0x388714,_0x5456d1[_0x3d5502(0x363)]);if(!_0x1b8c2b[_0x3d5502(0x258)]||!_0x1b8c2b[_0x3d5502(0x4e6)])continue;let _0x40f84c=_0x1b8c2b[_0x3d5502(0x258)]['id']+'\x1f'+_0x1b8c2b['field']['id'];_0x28d8d8['set'](_0x40f84c,{'tableId':_0x1b8c2b[_0x3d5502(0x258)]['id'],'fieldId':_0x1b8c2b[_0x3d5502(0x4e6)]['id']});}return Array[_0x3d5502(0x2a4)](_0x28d8d8[_0x3d5502(0x33c)]());}};function uo(_0x20802b,_0x5e9c65){const _0x28d560=_0x274f9f;var _0x3c222b;let _0x4c0392=[],_0x319de7=(_0x3c222b=_0x5e9c65[_0x28d560(0x4d5)])==null?void 0x0:_0x3c222b[_0x20802b['id']];return _0x319de7&&Object[_0x28d560(0x2d4)](_0x319de7)['forEach'](([_0x2a4914,_0x2c93a1])=>{const _0x4bd36f=_0x28d560;let _0x39d9f7=_0x20802b[_0x4bd36f(0x529)][_0x2a4914];if(!_0x39d9f7||!_0x2c93a1)return;let _0x11c402=L(_0x39d9f7),_0x3f80ad=[];new _0x388afb(_0x2c93a1)[_0x4bd36f(0x477)]((_0x603df0,_0xd6e0c1,_0xb40056)=>{let _0x143afd=fo(_0x11c402,_0x603df0,_0xd6e0c1,_0xb40056);_0x143afd&&_0x3f80ad['push'](_0x143afd);}),_0x3f80ad[_0x4bd36f(0x353)]&&_0x4c0392[_0x4bd36f(0x254)]({'unitId':_0x20802b['id'],'tableId':_0x2a4914,'patches':_0x3f80ad});}),_0x4c0392;}function fo(_0x3aeb26,_0x24c495,_0x36d6dc,_0x5521d7){const _0x3b56ee=_0x274f9f;var _0x2309aa,_0x281b73,_0x26ad46;let _0x30c1a7=(_0x2309aa=_0x3aeb26['rowId'])==null?void 0x0:_0x2309aa[_0x24c495],_0x5b888b=(_0x281b73=_0x3aeb26['colId'])==null?void 0x0:_0x281b73[_0x36d6dc];if(!_0x30c1a7||!_0x3aeb26[_0x3b56ee(0x3c4)][_0x30c1a7]||!_0x5b888b)return null;let _0x2f3b80=_0x3aeb26['fields'][_0x5b888b];if(!_0x2f3b80||_0x2f3b80['type']!==_0x3b56ee(0x2c3))return null;let _0x2b484f=String(((_0x26ad46=_0x2f3b80[_0x3b56ee(0x427)])==null?void 0x0:_0x26ad46['formula'])??'')[_0x3b56ee(0x2ba)](),_0x37aa3e=(_0x5521d7==null?void 0x0:_0x5521d7['v'])??null,_0x11eb82={'v':_0x37aa3e,'t':mo(_0x37aa3e),..._0x24c495===0x0&&_0x2b484f?{'f':_0x2b484f}:{},'si':_0x2f3b80['id']};return po(nt(_0x3aeb26,_0x30c1a7,_0x5b888b),_0x11eb82)?null:{'row':_0x24c495,'col':_0x36d6dc,'value':_0x11eb82};}function po(_0xf3a3d8,_0x5b0642){return _0xf3a3d8!=null&&Object['is'](_0xf3a3d8['v']??null,_0x5b0642['v']??null)&&_0xf3a3d8['t']===_0x5b0642['t']&&_0xf3a3d8['f']===_0x5b0642['f']&&_0xf3a3d8['si']===_0x5b0642['si'];}function mo(_0x36b235){const _0x5958d7=_0x274f9f;return typeof _0x36b235==_0x5958d7(0x4b3)?_0x332e7b[_0x5958d7(0x2c8)]:typeof _0x36b235=='boolean'?_0x332e7b[_0x5958d7(0x45d)]:typeof _0x36b235==_0x5958d7(0x3c6)?_0x332e7b[_0x5958d7(0x2a3)]:null;}function ho(_0xdff1c1){const _0x5d2168=_0x274f9f;_0xdff1c1=_o(_0xdff1c1,()=>'');let _0x112e8f=new Map();for(let _0x4787c6 of _0xdff1c1['matchAll'](oo)){let _0x45c0a0={'fieldName':_0x4787c6[0x1]};_0x112e8f[_0x5d2168(0x317)]('\x1f'+_0x45c0a0[_0x5d2168(0x4f5)],_0x45c0a0);}for(let _0x198e66 of _0xdff1c1[_0x5d2168(0x35a)](so)){let _0x12cb31={'tableName':_0x198e66[0x1],'fieldName':_0x198e66[0x2]};_0x112e8f[_0x5d2168(0x317)](_0x12cb31[_0x5d2168(0x29e)]+'\x1f'+_0x12cb31['fieldName'],_0x12cb31);}for(let _0x4bc587 of _0xdff1c1['matchAll'](co)){let _0x26563a={'fieldName':_0x4bc587[0x2]};_0x112e8f[_0x5d2168(0x317)]('\x1f'+_0x26563a[_0x5d2168(0x4f5)],_0x26563a);}return Array['from'](_0x112e8f[_0x5d2168(0x33c)]());}function go(_0x2061bd){const _0x122855=_0x274f9f;let _0x5bccdc=vo(_0x2061bd,()=>'\x20')['replace'](oo,'\x20')[_0x122855(0x386)](so,'\x20')[_0x122855(0x386)](co,'$1\x20');return io[_0x122855(0x2a6)](_0x5bccdc);}function _o(_0x4e8c98,_0x1815e7){return bo(vo(_0x4e8c98,_0x1815e7),_0x1815e7);}function vo(_0x440759,_0x1020e1){const _0x4c54c7=_0x274f9f;return ao[_0x4c54c7(0x273)]=0x0,_0x440759[_0x4c54c7(0x386)](ao,(_0x475105,_0x3bbfe4)=>xo(_0x440759,_0x3bbfe4)?_0x475105:_0x1020e1(_0x475105));}const yo=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function bo(_0x5e7270,_0x3be973){const _0xf54cd9=_0x274f9f;let _0x5a4fca=[];yo[_0xf54cd9(0x273)]=0x0;let _0x1f1a6a;for(;(_0x1f1a6a=yo['exec'](_0x5e7270))!=null;){if(xo(_0x5e7270,_0x1f1a6a[_0xf54cd9(0x519)]))continue;let _0x39edd2=yo['lastIndex']-0x1,_0x4c9d20=0x0;for(let _0x4938ea=_0x39edd2;_0x4938ea<_0x5e7270[_0xf54cd9(0x353)];_0x4938ea++)if(_0x5e7270[_0x4938ea]==='['&&_0x4c9d20++,_0x5e7270[_0x4938ea]===']'&&(_0x4c9d20--,_0x4c9d20===0x0)){_0x5a4fca['push']({'start':_0x1f1a6a[_0xf54cd9(0x519)],'end':_0x4938ea+0x1}),yo[_0xf54cd9(0x273)]=_0x4938ea+0x1;break;}}if(_0x5a4fca['length']===0x0)return _0x5e7270;let _0x1e9938='',_0x57c9e2=0x0;for(let _0x12cd2b of _0x5a4fca)_0x1e9938+=_0x5e7270['slice'](_0x57c9e2,_0x12cd2b['start']),_0x1e9938+=_0x3be973(_0x5e7270[_0xf54cd9(0x51c)](_0x12cd2b['start'],_0x12cd2b[_0xf54cd9(0x417)])),_0x57c9e2=_0x12cd2b[_0xf54cd9(0x417)];return _0x1e9938+_0x5e7270[_0xf54cd9(0x51c)](_0x57c9e2);}function xo(_0x14569f,_0x5bfade){let _0x24fbf5=!0x1;for(let _0x477512=0x0;_0x477512<_0x5bfade;_0x477512++)if(_0x14569f[_0x477512]==='\x22'){if(_0x24fbf5&&_0x14569f[_0x477512+0x1]==='\x22'){_0x477512++;continue;}_0x24fbf5=!_0x24fbf5;}return _0x24fbf5;}function So(_0x3e54fa,_0x3110da,_0x411494){const _0x2871ba=_0x274f9f;let _0x4f06a7=Co(_0x3e54fa[_0x2871ba(0x29e)],_0x3110da,_0x411494);return{'table':_0x4f06a7,'field':_0x4f06a7?Object['values'](_0x4f06a7[_0x2871ba(0x39f)])[_0x2871ba(0x271)](_0x109577=>_0x109577[_0x2871ba(0x248)]===_0x3e54fa[_0x2871ba(0x4f5)]):void 0x0};}function Co(_0x5a069f,_0x4cad7,_0x7a8e2b){const _0xf6b93c=_0x274f9f;if(!_0x5a069f||_0x5a069f===_0xf6b93c(0x258)||_0x5a069f===_0x4cad7['id']||_0x5a069f===_0x4cad7[_0xf6b93c(0x248)])return _0x4cad7;if(!_0x7a8e2b)return;let _0x3e1c20=_0x7a8e2b[_0xf6b93c(0x529)][_0x5a069f];if(_0x3e1c20)return _0x3e1c20;let _0x2893cb=Object['values'](_0x7a8e2b['tables'])[_0xf6b93c(0x458)](_0xd7fb5a=>_0xd7fb5a[_0xf6b93c(0x248)]===_0x5a069f);return _0x2893cb['length']===0x1?_0x2893cb[0x0]:void 0x0;}let wo=class extends _0x4191ab{constructor(_0x4ceba2,_0x48e58a,_0x46054a,_0x421cbe){const _0x4856b7=_0x274f9f;super(),this[_0x4856b7(0x4de)]=_0x4ceba2,this[_0x4856b7(0x46b)]=_0x48e58a,this[_0x4856b7(0x411)]=_0x46054a,this[_0x4856b7(0x2ad)]=_0x421cbe,G(this,_0x4856b7(0x32f),new lo()),G(this,_0x4856b7(0x339),new Map()),G(this,_0x4856b7(0x503),new Set()),G(this,_0x4856b7(0x488),Promise[_0x4856b7(0x3e0)]()),G(this,'_applyingFormulaResults',!0x1),this[_0x4856b7(0x28b)]();}[_0x274f9f(0x28b)](){const _0x38c5ab=_0x274f9f;this[_0x38c5ab(0x46b)][_0x38c5ab(0x448)](_0x993548[_0x38c5ab(0x3f1)])['forEach'](_0x39c6b3=>{const _0x34793f=_0x38c5ab;this[_0x34793f(0x4a2)](_0x39c6b3);}),this[_0x38c5ab(0x45c)](this[_0x38c5ab(0x46b)][_0x38c5ab(0x34f)](_0x993548[_0x38c5ab(0x3f1)])[_0x38c5ab(0x482)](({unit:_0x515e8b})=>{const _0x5cb985=_0x38c5ab;this[_0x5cb985(0x4a2)](_0x515e8b);})),this[_0x38c5ab(0x45c)](this[_0x38c5ab(0x46b)][_0x38c5ab(0x3f7)](_0x993548[_0x38c5ab(0x3f1)])[_0x38c5ab(0x482)](_0x5a6f3e=>{const _0x3f8f40=_0x38c5ab;this[_0x3f8f40(0x20c)](()=>this[_0x3f8f40(0x3c9)](_0x5a6f3e[_0x3f8f40(0x435)]()));})),this[_0x38c5ab(0x45c)](this[_0x38c5ab(0x4de)][_0x38c5ab(0x281)](_0xf2723=>this[_0x38c5ab(0x4ef)](_0xf2723)));}['_onCommandExecuted'](_0x104ce4){const _0x1097dd=_0x274f9f;if(_0x104ce4['id']===_0x333d70['id']){Eo(_0x104ce4[_0x1097dd(0x50a)])&&this['_applyFormulaResult'](_0x104ce4[_0x1097dd(0x50a)]);return;}if(this[_0x1097dd(0x37a)]||_0x104ce4['id']!==Z['id'])return;let _0x357977=To(_0x104ce4[_0x1097dd(0x50a)])?_0x104ce4['params']:void 0x0,_0xae66ea=_0x357977!=null&&_0x357977[_0x1097dd(0x4bb)]?[this['_univerInstanceService'][_0x1097dd(0x462)](_0x357977['unitId'],_0x993548[_0x1097dd(0x3f1)])][_0x1097dd(0x458)](_0x3d1cdd=>!!_0x3d1cdd):this[_0x1097dd(0x46b)][_0x1097dd(0x448)](_0x993548[_0x1097dd(0x3f1)]),_0x448b24=_0x357977==null?void 0x0:_0x357977['op'];_0xae66ea[_0x1097dd(0x366)](_0x496de1=>{const _0x1f25b8=_0x1097dd;let _0x472658=_0x448b24?eo(_0x448b24):[];(!_0x448b24||_0x472658['some'](_0xb6ff57=>_0xb6ff57[_0x1f25b8(0x257)]!==_0x1f25b8(0x3aa)))&&this[_0x1f25b8(0x4a2)](_0x496de1);});}['_scheduleSuperTableSync'](_0x24d11a){const _0x3d9a54=_0x274f9f;let _0x45ad32=_0x24d11a['getUnitId']();this['_scheduledSuperTableSyncs']['has'](_0x45ad32)||(this[_0x3d9a54(0x503)][_0x3d9a54(0x4a3)](_0x45ad32),this[_0x3d9a54(0x20c)](async()=>{const _0x146f5e=_0x3d9a54;this[_0x146f5e(0x503)]['delete'](_0x45ad32),await this[_0x146f5e(0x3a1)](_0x24d11a);}));}async['_syncSuperTables'](_0x1cdf41){const _0x16cbc2=_0x274f9f;let _0x11a60c=_0x1cdf41[_0x16cbc2(0x435)](),_0x130ee5=this[_0x16cbc2(0x32f)][_0x16cbc2(0x3dd)](_0x1cdf41[_0x16cbc2(0x2d0)]()),_0x1f0975=new Set(_0x130ee5['map'](({tableName:_0x35c0fd})=>_0x35c0fd)),_0x14173f=this[_0x16cbc2(0x339)]['get'](_0x11a60c)??new Set();for(let _0x182abf of _0x14173f)_0x1f0975['has'](_0x182abf)||await this[_0x16cbc2(0x4de)][_0x16cbc2(0x2a5)](_0x12c440['id'],{'unitId':_0x11a60c,'tableName':_0x182abf},{'onlyLocal':!0x0});for(let {tableName:_0x350671,reference:_0x4b1dd7}of _0x130ee5)await this[_0x16cbc2(0x4de)][_0x16cbc2(0x2a5)](_0x505dfe['id'],{'unitId':_0x11a60c,'tableName':_0x350671,'reference':_0x4b1dd7},{'onlyLocal':!0x0});this[_0x16cbc2(0x339)][_0x16cbc2(0x317)](_0x11a60c,_0x1f0975);}async[_0x274f9f(0x3c9)](_0xe75cb5){const _0x1c06a3=_0x274f9f;let _0x1f58fb=this[_0x1c06a3(0x339)][_0x1c06a3(0x23e)](_0xe75cb5)??new Set();for(let _0x34e77a of _0x1f58fb)await this[_0x1c06a3(0x4de)][_0x1c06a3(0x2a5)](_0x12c440['id'],{'unitId':_0xe75cb5,'tableName':_0x34e77a},{'onlyLocal':!0x0});this[_0x1c06a3(0x339)][_0x1c06a3(0x2ef)](_0xe75cb5);}[_0x274f9f(0x20c)](_0x143c7a){const _0x381126=_0x274f9f;this['_formulaSyncQueue']=this['_formulaSyncQueue'][_0x381126(0x373)](_0x143c7a,_0x143c7a)['catch'](()=>void 0x0);}[_0x274f9f(0x3b6)](_0x3c0375){const _0x247393=_0x274f9f;let _0x560385=this[_0x247393(0x46b)][_0x247393(0x448)](_0x993548[_0x247393(0x3f1)]);if(!_0x560385[_0x247393(0x29f)](_0x3fe1cd=>{const _0x3f1224=_0x247393;var _0x29f71e;return((_0x29f71e=_0x3c0375['unitData'])==null?void 0x0:_0x29f71e[_0x3fe1cd[_0x3f1224(0x435)]()])!=null;}))return;let _0x4279c4=_0x560385['flatMap'](_0x2e1d5e=>uo(_0x2e1d5e[_0x247393(0x2d0)](),_0x3c0375));if(!_0x4279c4[_0x247393(0x353)]){this[_0x247393(0x2ad)][_0x247393(0x423)](_0x3f3756[_0x247393(0x336)],_0x3c0375);return;}let _0x700ebc=new W(),_0x246834=_0x4279c4[_0x247393(0x25e)](_0x37a80f=>to({'unitId':_0x37a80f[_0x247393(0x4bb)],'tableId':_0x37a80f[_0x247393(0x37e)],'patches':_0x37a80f[_0x247393(0x215)]}));this[_0x247393(0x37a)]=!0x0,(async()=>{const _0x425f5b=_0x247393;for(let _0x3e5257 of _0x4279c4){let _0x571215=this['_univerInstanceService'][_0x425f5b(0x462)](_0x3e5257[_0x425f5b(0x4bb)],_0x993548[_0x425f5b(0x3f1)]);_0x571215&&await this[_0x425f5b(0x4de)]['executeCommand'](Z['id'],{'unitId':_0x3e5257[_0x425f5b(0x4bb)],'op':_0x700ebc[_0x425f5b(0x467)](_0x571215['getSnapshot'](),_0x3e5257['tableId'],_0x3e5257['patches']),'trigger':_0x333d70['id']},{'onlyLocal':!0x0});}await this[_0x425f5b(0x4de)]['executeCommand'](_0x4ce331['id'],{'dirtyRanges':_0x246834},{'onlyLocal':!0x0});})()[_0x247393(0x2a8)](()=>{const _0x213f38=_0x247393;this[_0x213f38(0x37a)]=!0x1,this[_0x213f38(0x2ad)][_0x213f38(0x423)](_0x3f3756['BASE'],_0x3c0375);});}};wo=q([K(0x0,_0x232cd6),K(0x1,_0x310540),K(0x2,_0x3a5702(_0x5f1979)),K(0x3,_0x3a5702(_0x2120b4))],wo);function To(_0x6ebb33){const _0x57023c=_0x274f9f;return typeof _0x6ebb33=='object'&&!!_0x6ebb33&&_0x57023c(0x4bb)in _0x6ebb33&&typeof _0x6ebb33['unitId']=='string'&&'op'in _0x6ebb33&&Array[_0x57023c(0x39e)](_0x6ebb33['op']);}function Eo(_0x30ba19){const _0x1119df=_0x274f9f;return typeof _0x30ba19==_0x1119df(0x314)&&!!_0x30ba19&&_0x1119df(0x4d5)in _0x30ba19&&_0x1119df(0x49a)in _0x30ba19;}const Do=_0x3c1d0d(_0x274f9f(0x496));let Oo=class{constructor(_0x4a7281){const _0x20c462=_0x274f9f;this[_0x20c462(0x46b)]=_0x4a7281;}['getBase'](_0xea6be){const _0x20812c=_0x274f9f;return this['_univerInstanceService']['getUnit'](_0xea6be,_0x993548[_0x20812c(0x3f1)])??null;}[_0x274f9f(0x2ae)](){const _0x27b4d2=_0x274f9f;return this[_0x27b4d2(0x46b)][_0x27b4d2(0x448)](_0x993548[_0x27b4d2(0x3f1)]);}[_0x274f9f(0x3c8)](_0x2d3af9){const _0x345802=_0x274f9f;return this[_0x345802(0x46b)][_0x345802(0x1ed)](_0x993548['UNIVER_BASE'],_0x2d3af9);}};Oo=q([K(0x0,_0x310540)],Oo);const ko=_0x3c1d0d('base.view-registry.service');var Ao=class extends _0x4191ab{constructor(..._0x579087){const _0x22d76d=_0x274f9f;super(..._0x579087),G(this,_0x22d76d(0x4a1),new Map());}[_0x274f9f(0x406)](_0x27de95){const _0x32ed58=_0x274f9f;return this['_plugins'][_0x32ed58(0x317)](_0x27de95[_0x32ed58(0x2b9)],_0x27de95),_0x26ad0b(()=>this[_0x32ed58(0x4a1)]['delete'](_0x27de95[_0x32ed58(0x2b9)]));}[_0x274f9f(0x23e)](_0x55dfb4){const _0x5d9d37=_0x274f9f;let _0x17db9=this[_0x5d9d37(0x4a1)][_0x5d9d37(0x23e)](_0x55dfb4);if(!_0x17db9)throw Error(_0x5d9d37(0x506)+_0x55dfb4+'\x22\x20is\x20not\x20registered.');return _0x17db9;}['getAll'](){const _0x4b1d84=_0x274f9f;return Array['from'](this[_0x4b1d84(0x4a1)]['values']());}};const jo=[Z];let Mo=class extends _0x5f2ac0{constructor(_0xd30012=Qa,_0xcdedc1,_0x55657d,_0x1dc085,_0x13d93c,_0x4e2ff2){const _0x10c578=_0x274f9f;super(),this[_0x10c578(0x2de)]=_0xd30012,this[_0x10c578(0x358)]=_0xcdedc1,this[_0x10c578(0x4de)]=_0x55657d,this['_univerInstanceService']=_0x1dc085,this[_0x10c578(0x310)]=_0x13d93c,this['_dataSyncPrimaryController']=_0x4e2ff2,G(this,'_baseSyncDisposables',new Map());let {..._0x4922bd}=_0xb3ba83({},Qa,this[_0x10c578(0x2de)]);this[_0x10c578(0x310)][_0x10c578(0x32b)](_0x10c578(0x441),_0x4922bd),this[_0x10c578(0x46b)][_0x10c578(0x2ab)](_0x993548[_0x10c578(0x3f1)],_0x588b72),this['_initDependencies'](),this['_initCommands'](),this['_initRegistries'](),this[_0x10c578(0x4af)]();}[_0x274f9f(0x35d)](){const _0x24fdb5=_0x274f9f;_0x469d0d(this[_0x24fdb5(0x358)],[[Oo],[$n],[ro]]),this[_0x24fdb5(0x46b)][_0x24fdb5(0x448)](_0x993548[_0x24fdb5(0x3f1)])[_0x24fdb5(0x366)](_0x4fa5e5=>this['_syncBaseUnit'](_0x4fa5e5[_0x24fdb5(0x435)]())),_0x469d0d(this[_0x24fdb5(0x358)],[[wo]]);}[_0x274f9f(0x4b0)](){const _0x13b37d=_0x274f9f;[[qn,{'useClass':Jn}],[ko,{'useClass':Ao}],[ur,{'useClass':fr}],[Do,{'useClass':Oo}],[Yn,{'useClass':Xn}],[J,{'useClass':$n}],[ro],[wo]][_0x13b37d(0x366)](_0x48432b=>this['_injector'][_0x13b37d(0x4a3)](_0x48432b));}[_0x274f9f(0x1ec)](){const _0x9f5a7b=_0x274f9f;[ni,Ni,bi,qi,zi,Ri,ti,$r,Xr,yi,Zr,Ci,Zi,Oi,ei,Si,Yi,Ji,Qr,vi,Di,_i,wi,Pi,Ii,xi,Mi,ia,$i,Fi,Xi,Wi,Ki,Gi,Bi,Hi,Ui,Vi,...jo][_0x9f5a7b(0x366)](_0x2bd1d1=>this['disposeWithMe'](this[_0x9f5a7b(0x4de)][_0x9f5a7b(0x412)](_0x2bd1d1))),jo['forEach'](_0x4743ed=>{const _0x118cf7=_0x9f5a7b;var _0x1074b9;return(_0x1074b9=this[_0x118cf7(0x4f9)])==null?void 0x0:_0x1074b9[_0x118cf7(0x46d)](_0x4743ed);});}[_0x274f9f(0x4af)](){const _0x3cdbc3=_0x274f9f;this[_0x3cdbc3(0x4f9)]&&(this[_0x3cdbc3(0x45c)](this[_0x3cdbc3(0x46b)][_0x3cdbc3(0x34f)](_0x993548[_0x3cdbc3(0x3f1)])[_0x3cdbc3(0x482)](({unit:_0x2cea96})=>{const _0x9f4926=_0x3cdbc3;this[_0x9f4926(0x509)](_0x2cea96[_0x9f4926(0x435)]());})),this[_0x3cdbc3(0x45c)](this['_univerInstanceService'][_0x3cdbc3(0x3f7)](_0x993548[_0x3cdbc3(0x3f1)])[_0x3cdbc3(0x482)](_0x3cf93f=>{const _0x108cbe=_0x3cdbc3;var _0x2515a2;(_0x2515a2=this[_0x108cbe(0x1e1)][_0x108cbe(0x23e)](_0x3cf93f[_0x108cbe(0x435)]()))==null||_0x2515a2[_0x108cbe(0x3fb)](),this[_0x108cbe(0x1e1)]['delete'](_0x3cf93f['getUnitId']());})));}['_syncBaseUnit'](_0x43e8a2){const _0x4b5f6e=_0x274f9f;!this['_dataSyncPrimaryController']||this[_0x4b5f6e(0x1e1)]['has'](_0x43e8a2)||this[_0x4b5f6e(0x1e1)]['set'](_0x43e8a2,this[_0x4b5f6e(0x4f9)]['syncUnit'](_0x43e8a2));}[_0x274f9f(0x4d3)](){const _0x4ae955=_0x274f9f;let _0x4ab39c=this[_0x4ae955(0x358)][_0x4ae955(0x23e)](qn);xn()[_0x4ae955(0x366)](_0x56898b=>_0x4ab39c['register'](_0x56898b));let _0x358071=this[_0x4ae955(0x358)][_0x4ae955(0x23e)](ko),_0x2f3a73=this['_injector']['get'](ur);ar()[_0x4ae955(0x366)](_0x39aba1=>{const _0x504742=_0x4ae955;_0x358071[_0x504742(0x406)](_0x39aba1),_0x2f3a73[_0x504742(0x235)](_0x39aba1);});}};G(Mo,_0x274f9f(0x349),_0x274f9f(0x37d)),G(Mo,_0x274f9f(0x343),Xa),G(Mo,'version',Za),G(Mo,_0x274f9f(0x2b9),_0x993548[_0x274f9f(0x3f1)]),Mo=q([_0x536e3b(_0x3b093,_0x2d5150),K(0x1,_0x3a5702(_0x3682df)),K(0x2,_0x232cd6),K(0x3,_0x310540),K(0x4,_0x1468c7),K(0x5,_0x4a9daf(_0x11da31))],Mo);let No=class extends _0x5f2ac0{constructor(_0x51d9b3=$a,_0x503a5f,_0x9bf1d7,_0x1156b1,_0x388b06){const _0x2bb88a=_0x274f9f;super(),this[_0x2bb88a(0x2de)]=_0x51d9b3,this['_injector']=_0x503a5f,this[_0x2bb88a(0x4de)]=_0x9bf1d7,this['_configService']=_0x1156b1,this[_0x2bb88a(0x46b)]=_0x388b06;let {..._0x4409c4}=_0xb3ba83({},$a,this[_0x2bb88a(0x2de)]);this['_configService'][_0x2bb88a(0x32b)]('bases.remote.config',_0x4409c4),this[_0x2bb88a(0x46b)]['registerCtorForType'](_0x993548[_0x2bb88a(0x3f1)],_0x588b72),[[qn,{'useClass':Jn}],[ur,{'useClass':fr}]][_0x2bb88a(0x366)](_0xb674ae=>this[_0x2bb88a(0x358)][_0x2bb88a(0x4a3)](_0xb674ae)),jo['forEach'](_0x1f49b6=>this['disposeWithMe'](this[_0x2bb88a(0x4de)][_0x2bb88a(0x412)](_0x1f49b6)));}};G(No,_0x274f9f(0x349),_0x274f9f(0x36b)),G(No,_0x274f9f(0x343),Xa),G(No,_0x274f9f(0x288),Za),G(No,_0x274f9f(0x2b9),_0x993548[_0x274f9f(0x3f1)]),No=q([_0x536e3b(_0x3b093,_0x2d5150),K(0x1,_0x3a5702(_0x3682df)),K(0x2,_0x232cd6),K(0x3,_0x1468c7),K(0x4,_0x310540)],No);function Po(_0x4ac08f){const _0x4323fc=_0x274f9f;let _0x532c0b=qo(_0x4ac08f[_0x4323fc(0x221)]);if(!_0x532c0b)return{'query':'','total':0x0,'matches':[]};let _0x152d2c=[],_0x1ff543=[];for(let _0x3fa69d=0x0;_0x3fa69d<_0x4ac08f['fieldIds']['length'];_0x3fa69d++){if(!(_0x3fa69d in _0x4ac08f[_0x4323fc(0x3e4)]))continue;let _0x5dffed=_0x4ac08f[_0x4323fc(0x258)][_0x4323fc(0x39f)][_0x4ac08f[_0x4323fc(0x3e4)][_0x3fa69d]];_0x5dffed&&_0x1ff543['push']({'field':_0x5dffed,'fieldIndex':_0x3fa69d});}_0x4ac08f['rows'][_0x4323fc(0x366)]((_0xedd276,_0x2ecb3c)=>{const _0x43241d=_0x4323fc;_0x1ff543[_0x43241d(0x366)](({field:_0x859a0,fieldIndex:_0x23fdaf})=>{const _0x27de19=_0x43241d;let _0x3f8830=Fo(_0xedd276['values'][_0x859a0['id']],_0x859a0);if(!_0x3f8830)return;let _0x4fcd16=Ko(_0x532c0b,_0x3f8830['searchTexts']);_0x4fcd16<=0x0||_0x152d2c[_0x27de19(0x254)]({'recordId':_0xedd276[_0x27de19(0x44a)],'fieldId':_0x859a0['id'],'fieldType':_0x859a0['type'],'text':_0x3f8830[_0x27de19(0x23f)],'score':_0x4fcd16,'rowIndex':_0x2ecb3c,'fieldIndex':_0x23fdaf});});}),_0x152d2c[_0x4323fc(0x456)]((_0x348ac7,_0x535f18)=>_0x535f18['score']-_0x348ac7[_0x4323fc(0x299)]||_0x348ac7['rowIndex']-_0x535f18[_0x4323fc(0x269)]||_0x348ac7[_0x4323fc(0x30a)]-_0x535f18['fieldIndex']);let _0x25dee6=_0x4ac08f[_0x4323fc(0x4b7)]==null?_0x152d2c:_0x152d2c[_0x4323fc(0x51c)](0x0,Math[_0x4323fc(0x3f9)](0x0,_0x4ac08f['limit']));return{'query':_0x532c0b,'total':_0x152d2c[_0x4323fc(0x353)],'matches':Yo(_0x25dee6)};}function Fo(_0x50278b,_0x570dc9){const _0x5b9241=_0x274f9f;let _0x2a5b1d=[];for(let _0x1c2f4b of Lo(_0x50278b,_0x570dc9)){let _0x1d60c2=qo(_0x1c2f4b);_0x1d60c2&&_0x2a5b1d[_0x5b9241(0x254)](_0x1d60c2);}return _0x2a5b1d[_0x5b9241(0x353)]?{'displayText':Io(_0x50278b,_0x570dc9),'searchTexts':Jo(_0x2a5b1d)}:null;}function Io(_0x30c7bc,_0x57cc8){const _0x7d9fd6=_0x274f9f;switch(_0x57cc8[_0x7d9fd6(0x2b9)]){case _0x11438e[_0x7d9fd6(0x282)]:case _0x11438e[_0x7d9fd6(0x3a5)]:case _0x11438e['Group']:return Ro(_0x30c7bc,_0x57cc8)[_0x7d9fd6(0x48b)](',\x20');case _0x11438e[_0x7d9fd6(0x2fa)]:return Vo(_0x30c7bc);case _0x11438e['Date']:case _0x11438e[_0x7d9fd6(0x33f)]:case _0x11438e['UpdatedAt']:return Ho(_0x30c7bc,_0x57cc8);case _0x11438e[_0x7d9fd6(0x43e)]:case _0x11438e['Currency']:return Uo(_0x30c7bc,_0x57cc8);case _0x11438e[_0x7d9fd6(0x298)]:return Wo(_0x30c7bc,_0x57cc8);case _0x11438e[_0x7d9fd6(0x44d)]:return _0x30c7bc?'Checked':_0x7d9fd6(0x2e1);case _0x11438e[_0x7d9fd6(0x31e)]:return Go(_0x30c7bc)[_0x7d9fd6(0x48b)](',\x20');default:return $(_0x30c7bc);}}function Lo(_0x1da62e,_0x12897e){const _0x1b6409=_0x274f9f;switch(_0x12897e[_0x1b6409(0x2b9)]){case _0x11438e[_0x1b6409(0x282)]:case _0x11438e[_0x1b6409(0x3a5)]:case _0x11438e[_0x1b6409(0x1f9)]:{let _0x598761=Ro(_0x1da62e,_0x12897e);if(Array['isArray'](_0x1da62e)){let _0x38ed84=[..._0x598761];for(let _0x371ea6=0x0;_0x371ea6<_0x1da62e[_0x1b6409(0x353)];_0x371ea6++)_0x371ea6 in _0x1da62e&&_0x38ed84[_0x1b6409(0x254)](String(_0x1da62e[_0x371ea6]));return _0x38ed84;}return _0x1da62e==null?_0x598761:[..._0x598761,String(_0x1da62e)];}case _0x11438e['Link']:{let _0x5bafa7=Bo(_0x1da62e);return[_0x5bafa7['text'],_0x5bafa7[_0x1b6409(0x3bb)]];}case _0x11438e[_0x1b6409(0x44b)]:case _0x11438e[_0x1b6409(0x33f)]:case _0x11438e['UpdatedAt']:return[Ho(_0x1da62e,_0x12897e),$(_0x1da62e)];case _0x11438e[_0x1b6409(0x43e)]:case _0x11438e[_0x1b6409(0x453)]:return[Uo(_0x1da62e,_0x12897e),$(_0x1da62e)];case _0x11438e[_0x1b6409(0x298)]:return[Wo(_0x1da62e,_0x12897e),$(_0x1da62e)];case _0x11438e[_0x1b6409(0x44d)]:return _0x1da62e?[_0x1b6409(0x49b),_0x1b6409(0x320),_0x1b6409(0x428)]:[_0x1b6409(0x2e1),'No',_0x1b6409(0x480)];case _0x11438e['Attachment']:return Go(_0x1da62e);default:return[$(_0x1da62e)];}}function Ro(_0x5da16e,_0xeffe2a){const _0x3fbeb4=_0x274f9f;var _0x1c82ef;let _0x3ab711=Array[_0x3fbeb4(0x39e)]((_0x1c82ef=_0xeffe2a[_0x3fbeb4(0x427)])==null?void 0x0:_0x1c82ef[_0x3fbeb4(0x4a7)])?_0xeffe2a[_0x3fbeb4(0x427)][_0x3fbeb4(0x4a7)]:[],_0x261d0a=[];if(Array[_0x3fbeb4(0x39e)](_0x5da16e)){for(let _0x173a37=0x0;_0x173a37<_0x5da16e[_0x3fbeb4(0x353)];_0x173a37++){if(!(_0x173a37 in _0x5da16e))continue;let _0xb15675=String(_0x5da16e[_0x173a37]);_0xb15675&&_0x261d0a[_0x3fbeb4(0x254)](zo(_0x3ab711,_0xb15675));}return _0x261d0a;}if(_0x5da16e!=null){let _0x263c55=String(_0x5da16e);_0x263c55&&_0x261d0a[_0x3fbeb4(0x254)](zo(_0x3ab711,_0x263c55));}return _0x261d0a;}function zo(_0x103200,_0x3e0610){const _0xb626c1=_0x274f9f;for(let _0x593619 of _0x103200){if(typeof _0x593619==_0xb626c1(0x3c6)&&_0x593619===_0x3e0610)return _0x593619;if(_0x593619&&typeof _0x593619=='object'){let _0x354736=_0x593619;if(String(_0x354736['id']??_0x354736[_0xb626c1(0x248)]??'')===_0x3e0610||String(_0x354736[_0xb626c1(0x248)]??'')===_0x3e0610)return String(_0x354736[_0xb626c1(0x248)]??_0x354736['id']??_0x3e0610);}}return _0x3e0610;}function Bo(_0xf02daf){const _0x3242d1=_0x274f9f;if(_0xf02daf&&typeof _0xf02daf==_0x3242d1(0x314)&&!Array['isArray'](_0xf02daf)){let _0x1c9cab=_0xf02daf;return{'text':String(_0x1c9cab[_0x3242d1(0x2d7)]??_0x1c9cab[_0x3242d1(0x3bb)]??''),'url':String(_0x1c9cab[_0x3242d1(0x3bb)]??'')};}return{'text':$(_0xf02daf),'url':$(_0xf02daf)};}function Vo(_0x31b312){const _0x349a73=_0x274f9f;let _0x19adff=Bo(_0x31b312);return _0x19adff[_0x349a73(0x2d7)]||_0x19adff['url'];}function Ho(_0x1a892d,_0x147cd0){const _0x289e67=_0x274f9f;return typeof _0x1a892d!=_0x289e67(0x4b3)||!Number[_0x289e67(0x1ee)](_0x1a892d)?'':Yt(_0x1a892d,_0x147cd0[_0x289e67(0x427)]);}function Uo(_0x3b2b7c,_0x570439){const _0x641d1c=_0x274f9f;let _0x44f27f=typeof _0x3b2b7c==_0x641d1c(0x4b3)?_0x3b2b7c:Number(_0x3b2b7c);return Number[_0x641d1c(0x1ee)](_0x44f27f)?fa(_0x44f27f,_0x570439['config']):'';}function Wo(_0x111aa4,_0x56fedc){const _0x202abd=_0x274f9f;let _0x24a878=typeof _0x111aa4==_0x202abd(0x4b3)?_0x111aa4:Number(_0x111aa4);return Number[_0x202abd(0x1ee)](_0x24a878)?_a(_0x24a878,_0x56fedc[_0x202abd(0x427)]):'';}function Go(_0x594070){const _0x1ddcf7=_0x274f9f;return Array[_0x1ddcf7(0x39e)](_0x594070)?_0x594070[_0x1ddcf7(0x25e)](_0x35b2c7=>{const _0x190a6e=_0x1ddcf7;if(!_0x35b2c7||typeof _0x35b2c7!=_0x190a6e(0x314))return[];let _0x3fd74d=_0x35b2c7,_0x4980f5=String(_0x3fd74d['name']??_0x3fd74d['url']??'')[_0x190a6e(0x2ba)]();return _0x4980f5?[_0x4980f5]:[];}):[];}function $(_0x3c8a91){const _0x4ec6ac=_0x274f9f;if(_0x3c8a91==null)return'';if(typeof _0x3c8a91=='boolean')return _0x3c8a91?'true':'false';if(typeof _0x3c8a91==_0x4ec6ac(0x4b3))return String(_0x3c8a91);if(Array[_0x4ec6ac(0x39e)](_0x3c8a91)){let _0x191309=[];for(let _0x49f2ea=0x0;_0x49f2ea<_0x3c8a91[_0x4ec6ac(0x353)];_0x49f2ea++){if(!(_0x49f2ea in _0x3c8a91))continue;let _0x217f7f=$(_0x3c8a91[_0x49f2ea]);_0x217f7f&&_0x191309['push'](_0x217f7f);}return _0x191309['join'](',\x20');}if(typeof _0x3c8a91==_0x4ec6ac(0x314)){let _0x1009c9=_0x3c8a91;return String(_0x1009c9['title']??_0x1009c9['name']??_0x1009c9['text']??_0x1009c9['url']??'')[_0x4ec6ac(0x2ba)]();}return String(_0x3c8a91);}function Ko(_0x13079e,_0x2c7be5){const _0x3eabf8=_0x274f9f;let _0xe72b07=0x0;for(let _0x1cb8e3 of _0x2c7be5)if(_0x1cb8e3){if(_0x1cb8e3===_0x13079e){_0xe72b07=Math[_0x3eabf8(0x3f9)](_0xe72b07,0x12c);continue;}if(_0x1cb8e3[_0x3eabf8(0x1f7)](_0x13079e)){_0xe72b07=Math[_0x3eabf8(0x3f9)](_0xe72b07,0xfa);continue;}_0x1cb8e3[_0x3eabf8(0x1d2)](_0x13079e)&&(_0xe72b07=Math[_0x3eabf8(0x3f9)](_0xe72b07,0xc8));}return _0xe72b07;}function qo(_0x20af3d){const _0x1b9fd6=_0x274f9f;return _0x20af3d[_0x1b9fd6(0x2ba)]()[_0x1b9fd6(0x386)](/\s+/g,'\x20')['toLowerCase']();}function Jo(_0x4e19f6){const _0x4db916=_0x274f9f;return Array[_0x4db916(0x2a4)](new Set(_0x4e19f6));}function Yo(_0x59ecb6){const _0x5ccf6c=_0x274f9f;let _0x515af5=[];for(let {rowIndex:_0x21415b,fieldIndex:_0x6b19b9,..._0x11049e}of _0x59ecb6)_0x515af5[_0x5ccf6c(0x254)](_0x11049e);return _0x515af5;}export{Z as ApplyBaseJson1Mutation,ya as BASE_FIELD_STAT_TYPES,Ae as BASE_HIERARCHY_MAX_LEVELS,je as BASE_HIERARCHY_PARENT_FIELD_ID,Qi as BaseConditionalColorRuleUpdateType,Ne as BaseEventSource,j as BaseHierarchyError,Me as BaseHierarchyErrorCode,z as BaseJson1OpApplier,W as BaseJson1OpFactory,Xr as BatchCreateBaseRecordsCommand,Zr as BatchDeleteBaseRecordsCommand,Qr as ChangeBaseFieldTypeCommand,$r as CreateBaseChildRecordCommand,ei as CreateBaseFieldCommand,ti as CreateBaseRecordCommand,ni as CreateBaseTableCommand,_i as CreateBaseViewCommand,vi as DeleteBaseFieldCommand,yi as DeleteBaseRecordCommand,bi as DeleteBaseTableCommand,xi as DeleteBaseViewCommand,Si as DuplicateBaseFieldCommand,Ci as DuplicateBaseRecordCommand,oa as EMBED_BASES_TABLE_RESOURCE_KEY,wi as EnsureBaseTemporalViewDateFieldsCommand,J as IBaseCommandService,Yn as IBasePermissionService,ur as IBaseProjectionService,ko as IBaseViewRegistryService,Di as MoveBaseFieldCommand,Oi as MoveBaseHierarchyRecordCommand,Mi as MoveBaseViewCommand,Ni as RenameBaseTableCommand,Pi as RenameBaseViewCommand,Fi as SetBaseKanbanGroupFieldCommand,Ii as SetBaseNameCommand,Ri as SetBaseRangeValuesCommand,zi as SetBaseRecordValuesCommand,Bi as SetBaseTableHierarchyFieldCommand,Vi as SetBaseViewFieldOrderCommand,Hi as SetBaseViewFieldVisibleCommand,Ui as SetBaseViewFieldWidthCommand,Wi as SetBaseViewFilterCommand,Gi as SetBaseViewGroupCommand,Ki as SetBaseViewSortCommand,Mo as UniverBasesPlugin,No as UniverRemoteBasesPlugin,qi as UpdateBaseCellCommand,Yi as UpdateBaseFieldCommand,Ji as UpdateBaseFieldDescriptionCommand,Xi as UpdateBaseKanbanConfigCommand,Zi as UpdateBaseRecordOrderCommand,$i as UpdateBaseViewConditionalColorRulesCommand,ia as UpdateBaseViewConfigCommand,Kt as baseDateSerialToDateMs,F as buildBaseHierarchyIndex,Aa as calculateBaseFieldStat,Ya as copyBaseTableSnapshot,Pe as createBaseHierarchyParentField,aa as createDefaultBaseTableSnapshot,sa as createEmbedBasesTable,ca as createEmbedBasesTableAddMutation,la as createEmbedBasesTableRemoveMutation,B as dateToExcelSerial,L as ensureBaseTableCellLayout,ke as findRecordLinkReferences,Yt as formatBaseDateValue,ja as formatBaseFieldStatValue,fa as formatBaseNumberValue,_a as formatBaseProgressValue,Fe as getActiveBaseHierarchyFieldIds,it as getBaseCellFormulaValue,rt as getBaseCellValue,$t as getBaseConditionalColorOperators,ze as getBaseHierarchyDeletePromotions,N as getBaseHierarchyFieldId,A as getRecordLinkFieldConfig,Oa as getSupportedBaseFieldStatTypes,Ve as getVisibleBaseHierarchyRows,ga as inferBaseSeparatorStyle,en as isBaseConditionalColorDateField,Ma as isBaseFieldStatEmptyValue,ka as isBaseFieldStatSupported,Ea as isBaseFieldStatType,M as isBaseHierarchyField,nn as matchesBaseCondition,Jt as normalizeBaseDateFieldConfig,Gt as normalizeBaseDateSerial,Da as normalizeBaseFieldStatsConfig,we as parseRecordLinkIds,Be as projectBaseHierarchy,qt as resolveBaseDateFieldConfig,P as resolveBaseHierarchyFieldId,Li as resolveBaseRangeHierarchyPatches,Po as searchBaseTable,Te as serializeRecordLinkIds,I as traceBasePerformance,ri as uniqueFieldName,He as validateBaseHierarchyMove,Le as validateBaseHierarchyRecordCreations,Ie as validateBaseHierarchyRecordPatches,Ee as validateCanonicalRecordLinkValue,De as validateRecordLinkField,Oe as validateRecordLinkValue};