@univerjs-pro/bases 1.0.0-alpha.7 → 1.0.0-alpha.8

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 (106) 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/controllers/base-formula-calculation.controller.d.ts +6 -1
  65. package/lib/types/facade/f-base.d.ts +3 -2
  66. package/lib/types/facade/f-enum.d.ts +72 -5
  67. package/lib/types/facade/f-field.d.ts +37 -4
  68. package/lib/types/facade/f-record.d.ts +52 -1
  69. package/lib/types/facade/f-table.d.ts +43 -9
  70. package/lib/types/facade/index.d.ts +2 -1
  71. package/lib/types/fields/field-core-plugin.d.ts +0 -1
  72. package/lib/types/fields/number-format.d.ts +3 -3
  73. package/lib/types/index.d.ts +2 -2
  74. package/lib/types/models/default-table.d.ts +0 -1
  75. package/lib/types/ot/json1-adapter.d.ts +0 -1
  76. package/lib/types/ot/json1-op-factory.d.ts +0 -3
  77. package/lib/types/search/base-search.d.ts +0 -3
  78. package/lib/types/services/base-active-dirty.service.d.ts +0 -1
  79. package/lib/types/services/base-command.service.d.ts +0 -1
  80. package/lib/types/services/base-compression.service.d.ts +0 -5
  81. package/lib/types/services/base-formula.service.d.ts +1 -3
  82. package/lib/types/services/base-permission.service.d.ts +0 -4
  83. package/lib/types/views/view-core-plugin.d.ts +0 -2
  84. package/lib/umd/facade.js +1 -1
  85. package/lib/umd/index.js +1 -1
  86. package/lib/umd/locale/ar-SA.js +1 -1
  87. package/lib/umd/locale/ca-ES.js +1 -1
  88. package/lib/umd/locale/de-DE.js +1 -1
  89. package/lib/umd/locale/en-US.js +1 -1
  90. package/lib/umd/locale/es-ES.js +1 -1
  91. package/lib/umd/locale/fa-IR.js +1 -1
  92. package/lib/umd/locale/fr-FR.js +1 -1
  93. package/lib/umd/locale/id-ID.js +1 -1
  94. package/lib/umd/locale/it-IT.js +1 -1
  95. package/lib/umd/locale/ja-JP.js +1 -1
  96. package/lib/umd/locale/ko-KR.js +1 -1
  97. package/lib/umd/locale/pl-PL.js +1 -1
  98. package/lib/umd/locale/pt-BR.js +1 -1
  99. package/lib/umd/locale/ru-RU.js +1 -1
  100. package/lib/umd/locale/sk-SK.js +1 -1
  101. package/lib/umd/locale/vi-VN.js +1 -1
  102. package/lib/umd/locale/zh-CN.js +1 -1
  103. package/lib/umd/locale/zh-HK.js +1 -1
  104. package/lib/umd/locale/zh-TW.js +1 -1
  105. package/package.json +7 -6
  106. package/lib/types/facade/f-types.d.ts +0 -1
package/lib/es/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 _0x189c21=_0x23e7;(function(_0x4adddd,_0x396b01){const _0x1ed54f=_0x23e7,_0x301ca1=_0x4adddd();while(!![]){try{const _0x578bc4=parseInt(_0x1ed54f(0x355))/0x1+parseInt(_0x1ed54f(0x1a5))/0x2+-parseInt(_0x1ed54f(0x2dd))/0x3+parseInt(_0x1ed54f(0x19d))/0x4+-parseInt(_0x1ed54f(0x219))/0x5*(-parseInt(_0x1ed54f(0x26d))/0x6)+parseInt(_0x1ed54f(0x262))/0x7*(-parseInt(_0x1ed54f(0x1d6))/0x8)+-parseInt(_0x1ed54f(0x2bd))/0x9;if(_0x578bc4===_0x396b01)break;else _0x301ca1['push'](_0x301ca1['shift']());}catch(_0x58e555){_0x301ca1['push'](_0x301ca1['shift']());}}}(_0x1f0a,0x75849));import{BaseDataModel as _0x5f3630,BaseFieldType as _0x2b9397,BaseFilterConjunction as _0x5f551c,BaseSortDirection as _0x2d1e91,BaseViewType as _0x23b613,CellValueType as _0x36aea6,CommandType as _0x43c9fc,DependentOn as _0x45dadb,Disposable as _0x6d36ab,ICommandService as _0x1df963,IConfigService as _0x3ac613,IUndoRedoService as _0x10421d,IUniverInstanceService as _0xde4d7d,Inject as _0x30e9cb,Injector as _0x49f70e,JSON1 as _0x1c896f,ObjectMatrix as _0x23b4df,Optional as _0x1d3b92,Plugin as _0x51bb55,Tools as _0x4b73bd,UniverInstanceType as _0x3cd153,createIdentifier as _0xda5c77,dateKit as _0x36325f,generateRandomId as _0x169e73,merge as _0x32e12d,numfmt as _0xce52f6,regexp as _0x3cc586,sequenceExecute as _0x2b015d,toDisposable as _0x11ac9e,touchDependencies as _0x364e6d}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x2c8e39,IActiveDirtyManagerService as _0x56800f,RemoveSuperTableMutation as _0x49dca2,SetFormulaCalculationResultMutation as _0x15ac11,SetSuperTableMutation as _0x66413e,SetTriggerFormulaCalculationStartMutation as _0x2f9e5d,UniverProFormulaEnginePlugin as _0x4d7eb6,refactorFormulaUnitQualifier as _0x545426}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x1e7823}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x23b493}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x13b508,FormulaResultApplicationType as _0x49eb01}from'@univerjs/engine-formula';let ye=0x0;function be(){const _0xf1a29f=_0x23e7;if(globalThis[_0xf1a29f(0x16c)]===!0x0)return!0x0;try{let _0x1847f3=typeof location>'u'?'':location[_0xf1a29f(0x29d)],_0x3b0bed=new URLSearchParams(_0x1847f3);if(_0x3b0bed[_0xf1a29f(0x37d)]('basePerf')==='1'||_0x3b0bed[_0xf1a29f(0x37d)](_0xf1a29f(0x2e2))===_0xf1a29f(0x228)||_0x3b0bed[_0xf1a29f(0x37d)](_0xf1a29f(0x2ac))==='1')return!0x0;}catch{}try{let _0x5af89b=typeof localStorage>'u'?null:localStorage['getItem'](_0xf1a29f(0x2e3));return _0x5af89b==='1'||_0x5af89b===_0xf1a29f(0x228);}catch{return!0x1;}}function C(_0x3b5aa2,_0x1f2912,_0x454f8a){const _0x57ad6b=_0x23e7;if(!be())return _0x1f2912();let _0xd30e57=Se(),_0x2d4a71=_0x57ad6b(0x234)+ye++;Ce(_0x2d4a71+':start');try{return _0x1f2912();}finally{let _0x65886d=Se()-_0xd30e57;Ce(_0x2d4a71+_0x57ad6b(0x1bf)),we(_0x3b5aa2,_0x2d4a71+':start',_0x2d4a71+_0x57ad6b(0x1bf)),xe(_0x3b5aa2,_0x65886d,_0x454f8a);}}function xe(_0x54c0ab,_0x12c904,_0x423b7e){const _0x67302e=_0x23e7;if(!be())return;let _0x1f9246=Math['round'](_0x12c904*0x64)/0x64,_0x5259b9=_0x423b7e&&Object['keys'](_0x423b7e)['length']?'\x20'+JSON[_0x67302e(0x1b0)](_0x423b7e):'';console[_0x67302e(0x27e)](_0x67302e(0x34e)+_0x54c0ab+':\x20'+_0x1f9246+'ms'+_0x5259b9);}function Se(){const _0x2749f3=_0x23e7;return typeof performance<'u'&&typeof performance[_0x2749f3(0x23e)]=='function'?performance[_0x2749f3(0x23e)]():Date[_0x2749f3(0x23e)]();}function Ce(_0x660af6){const _0x9416c0=_0x23e7;try{if(typeof performance<'u'){var _0x1f845f,_0x56839c;(_0x1f845f=(_0x56839c=performance)[_0x9416c0(0x172)])==null||_0x1f845f['call'](_0x56839c,_0x660af6);}}catch{}}function we(_0x5056b9,_0x20d354,_0x4f2116){const _0x5c0be4=_0x23e7;try{if(typeof performance<'u'){var _0x43aebd,_0x2c570b;(_0x43aebd=(_0x2c570b=performance)['measure'])==null||_0x43aebd[_0x5c0be4(0x167)](_0x2c570b,_0x5c0be4(0x34e)+_0x5056b9,_0x20d354,_0x4f2116);}}catch{}}function w(_0x53124b){const _0x45e5a3=_0x23e7;var _0xaa1093,_0x535c11;return be()?C('IBaseCellData.ensureTableCellLayout',()=>Te(_0x53124b),{'tableId':_0x53124b['id'],'records':Object['keys']((_0xaa1093=_0x53124b[_0x45e5a3(0x2ce)])==null?{}:_0xaa1093)['length'],'fields':_0x53124b['fieldOrder'][_0x45e5a3(0x149)],'hasRecordOrder':!!((_0x535c11=_0x53124b[_0x45e5a3(0x34a)])!=null&&_0x535c11[_0x45e5a3(0x149)])}):Te(_0x53124b);}function Te(_0x28f08a){const _0x1d5f04=_0x23e7;var _0x5a6cd5,_0x5c8a73,_0x55176c,_0x1086ba,_0x3285a0,_0x180103,_0x55ba0b,_0x44801c,_0x509c6b,_0x5dee9d;let _0x47ed82=(_0x5a6cd5=_0x28f08a[_0x1d5f04(0x2ce)])==null?{}:_0x5a6cd5,_0x7bcd5d=(_0x5c8a73=_0x28f08a[_0x1d5f04(0xfb)])==null?{}:_0x5c8a73,_0x58d77e=(_0x55176c=(_0x1086ba=_0x28f08a['recordOrder'])==null?void 0x0:_0x1086ba[_0x1d5f04(0x25c)](_0x5b45ef=>_0x47ed82[_0x5b45ef]))==null?[]:_0x55176c,_0x36668d=new Set(_0x58d77e),_0x4cfa10=[];for(let _0x148eb6 of Object['values'](_0x47ed82))_0x36668d[_0x1d5f04(0x24f)](_0x148eb6['id'])||_0x4cfa10[_0x1d5f04(0x2b9)](_0x148eb6);let _0x262486=_0x4cfa10[_0x1d5f04(0x149)]?[..._0x58d77e,...We(_0x4cfa10)]:_0x58d77e,_0x34bc1b=_0x28f08a['fieldOrder'][_0x1d5f04(0x25c)](_0x22b542=>_0x7bcd5d[_0x22b542]),_0x5bf5f5={...(_0x3285a0=_0x28f08a['rowId'])==null?{}:_0x3285a0},_0x435317={...(_0x180103=_0x28f08a[_0x1d5f04(0x390)])==null?{}:_0x180103},_0x3fab64={...(_0x55ba0b=_0x28f08a['cellData'])==null?{}:_0x55ba0b};return _0x28f08a[_0x1d5f04(0x34a)]=_0x262486,_0x28f08a['rowIndex']={},_0x28f08a[_0x1d5f04(0xc5)]={},_0x28f08a[_0x1d5f04(0x377)]={},_0x28f08a['colId']={},_0x28f08a[_0x1d5f04(0x24c)]={},_0x28f08a[_0x1d5f04(0x313)]={...(_0x44801c=_0x28f08a[_0x1d5f04(0x313)])==null?{}:_0x44801c},_0x28f08a[_0x1d5f04(0x313)][_0x1d5f04(0x124)]={...(_0x509c6b=_0x28f08a[_0x1d5f04(0x313)][_0x1d5f04(0x124)])==null?{}:_0x509c6b},_0x28f08a[_0x1d5f04(0x313)][_0x1d5f04(0x18b)]={...(_0x5dee9d=_0x28f08a[_0x1d5f04(0x313)][_0x1d5f04(0x18b)])==null?{}:_0x5dee9d},_0x262486[_0x1d5f04(0x38f)]((_0x267ec4,_0x2f6cbc)=>{const _0x32ebc0=_0x1d5f04;_0x28f08a[_0x32ebc0(0x235)][_0x267ec4]=_0x2f6cbc,_0x28f08a[_0x32ebc0(0xc5)][_0x2f6cbc]=_0x267ec4;}),_0x34bc1b[_0x1d5f04(0x38f)]((_0x49bda7,_0x333f7c)=>{const _0x4f06cf=_0x1d5f04;_0x28f08a[_0x4f06cf(0x377)][_0x49bda7]=_0x333f7c,_0x28f08a['colId'][_0x333f7c]=_0x49bda7;}),Object['entries'](_0x3fab64)[_0x1d5f04(0x38f)](([_0x21cc0b,_0x31a681])=>{const _0x2a327d=_0x1d5f04;var _0xd7cdbe,_0x434d76;let _0x6fb79=Number(_0x21cc0b),_0x193500=(_0xd7cdbe=_0x5bf5f5[_0x6fb79])==null?_0x262486[_0x6fb79]:_0xd7cdbe,_0x347a91=_0x193500?_0x28f08a[_0x2a327d(0x235)][_0x193500]:void 0x0;_0x347a91!=null&&(_0x28f08a['cellData'][_0x347a91]={...(_0x434d76=_0x28f08a[_0x2a327d(0x24c)][_0x347a91])==null?{}:_0x434d76},Object[_0x2a327d(0x2eb)](_0x31a681==null?{}:_0x31a681)[_0x2a327d(0x38f)](([_0x412381,_0x53f990])=>{const _0x190bdf=_0x2a327d;var _0x149f0d;let _0x5342b5=Number(_0x412381),_0x2b34d0=(_0x149f0d=_0x435317[_0x5342b5])==null?_0x34bc1b[_0x5342b5]:_0x149f0d,_0x1451e2=_0x2b34d0?_0x28f08a[_0x190bdf(0x377)][_0x2b34d0]:void 0x0;_0x1451e2!=null&&(_0x28f08a[_0x190bdf(0x24c)][_0x347a91][_0x1451e2]=Me(_0x53f990));}));}),Object[_0x1d5f04(0x21c)](_0x47ed82)['forEach'](_0x471cd6=>{const _0x1e8ae6=_0x1d5f04;var _0xc058a1,_0x2c2c7d;let _0x1ffd1b=_0x28f08a[_0x1e8ae6(0x235)][_0x471cd6['id']];_0x1ffd1b!=null&&(_0x28f08a[_0x1e8ae6(0x24c)][_0x1ffd1b]={...(_0xc058a1=_0x28f08a[_0x1e8ae6(0x24c)][_0x1ffd1b])==null?{}:_0xc058a1},Object[_0x1e8ae6(0x2eb)]((_0x2c2c7d=_0x471cd6[_0x1e8ae6(0x21c)])==null?{}:_0x2c2c7d)[_0x1e8ae6(0x38f)](([_0x3dbc71,_0x189a3e])=>{const _0x3112db=_0x1e8ae6;let _0x5a3eca=_0x7bcd5d[_0x3dbc71];(_0x5a3eca==null?void 0x0:_0x5a3eca[_0x3112db(0x2c7)])===_0x2b9397[_0x3112db(0x2ed)]&&Le(_0x28f08a,_0x471cd6['id'],_0x3dbc71,_0x189a3e);let _0x3b6215=_0x28f08a[_0x3112db(0x377)][_0x3dbc71];if(_0x3b6215==null)return;let _0x488150=_0x28f08a[_0x3112db(0x24c)][_0x1ffd1b][_0x3b6215];if(_0x488150!=null){Be(_0x488150,_0x5a3eca,_0x189a3e)&&(_0x28f08a['cellData'][_0x1ffd1b][_0x3b6215]=T(_0x189a3e,_0x5a3eca));return;}_0x28f08a['cellData'][_0x1ffd1b][_0x3b6215]=T(_0x189a3e,_0x5a3eca);}));}),_0x28f08a;}function Ee(_0x11eaf9){const _0x3d5618=_0x23e7;var _0x90c607;return w(_0x11eaf9),Object[_0x3d5618(0x2eb)]((_0x90c607=_0x11eaf9[_0x3d5618(0xc5)])==null?{}:_0x90c607)[_0x3d5618(0x38f)](([_0x2622cf,_0x2abccd])=>{const _0x5dfd2c=_0x3d5618;var _0x4a8c80,_0x36243a,_0x4f9c5f;let _0x22a364=Number(_0x2622cf),_0x1580dc=_0x11eaf9[_0x5dfd2c(0x2ce)][_0x2abccd];_0x1580dc&&(_0x1580dc[_0x5dfd2c(0x21c)]={...(_0x4a8c80=_0x1580dc['values'])==null?{}:_0x4a8c80},Object[_0x5dfd2c(0x2eb)]((_0x36243a=(_0x4f9c5f=_0x11eaf9[_0x5dfd2c(0x24c)])==null?void 0x0:_0x4f9c5f[_0x22a364])==null?{}:_0x36243a)[_0x5dfd2c(0x38f)](([_0x38ecfc,_0x198b76])=>{const _0x3a8d36=_0x5dfd2c;var _0x6d2796;let _0x443ef0=(_0x6d2796=_0x11eaf9[_0x3a8d36(0x390)])==null?void 0x0:_0x6d2796[Number(_0x38ecfc)];_0x443ef0&&(_0x1580dc[_0x3a8d36(0x21c)][_0x443ef0]=Ne(_0x198b76,_0x11eaf9[_0x3a8d36(0xfb)][_0x443ef0],_0x11eaf9,_0x2abccd));}));}),_0x11eaf9;}function De(_0x23b3c2,_0x255c5e){const _0x2c5579=_0x23e7;for(let {row:_0x3752c0,col:_0x2bda7b}of _0x255c5e){var _0x8524c6,_0xd02fa8,_0xf6bd8,_0x599bde,_0x4cb75d;let _0xf8c550=(_0x8524c6=_0x23b3c2[_0x2c5579(0xc5)])==null?void 0x0:_0x8524c6[_0x3752c0],_0x555797=(_0xd02fa8=_0x23b3c2['colId'])==null?void 0x0:_0xd02fa8[_0x2bda7b],_0x2d4fd4=_0xf8c550?_0x23b3c2[_0x2c5579(0x2ce)][_0xf8c550]:void 0x0;if(!_0x2d4fd4||!_0x555797)continue;let _0x5e5cc8=(_0xf6bd8=_0x23b3c2[_0x2c5579(0x24c)])==null||(_0xf6bd8=_0xf6bd8[_0x3752c0])==null?void 0x0:_0xf6bd8[_0x2bda7b];_0x5e5cc8==null&&!Object[_0x2c5579(0x39c)][_0x2c5579(0x396)]['call']((_0x599bde=_0x2d4fd4[_0x2c5579(0x21c)])==null?{}:_0x599bde,_0x555797)||(_0x2d4fd4[_0x2c5579(0x21c)]={...(_0x4cb75d=_0x2d4fd4[_0x2c5579(0x21c)])==null?{}:_0x4cb75d},_0x2d4fd4[_0x2c5579(0x21c)][_0x555797]=Ne(_0x5e5cc8,_0x23b3c2[_0x2c5579(0xfb)][_0x555797],_0x23b3c2,_0xf8c550));}return _0x23b3c2;}function Oe(_0x4bd8eb,_0x2e6161,_0x3048fd){const _0x245ade=_0x23e7;var _0x469299,_0x3febf7,_0x2a348d,_0x66c8a6,_0x238953,_0x296343;let _0x581784=(_0x469299=_0x4bd8eb[_0x245ade(0x235)])==null?void 0x0:_0x469299[_0x2e6161],_0x35d60e=(_0x3febf7=_0x4bd8eb[_0x245ade(0x377)])==null?void 0x0:_0x3febf7[_0x3048fd];if(_0x581784!=null&&_0x35d60e!=null&&((_0x2a348d=_0x4bd8eb[_0x245ade(0xc5)])==null?void 0x0:_0x2a348d[_0x581784])===_0x2e6161&&((_0x66c8a6=_0x4bd8eb[_0x245ade(0x390)])==null?void 0x0:_0x66c8a6[_0x35d60e])===_0x3048fd)return{'row':_0x581784,'col':_0x35d60e};let _0x3acc76=w(_0x4bd8eb),_0x14e7a0=(_0x238953=_0x3acc76[_0x245ade(0x235)])==null?void 0x0:_0x238953[_0x2e6161],_0x54e9a6=(_0x296343=_0x3acc76[_0x245ade(0x377)])==null?void 0x0:_0x296343[_0x3048fd];return _0x14e7a0==null||_0x54e9a6==null?null:{'row':_0x14e7a0,'col':_0x54e9a6};}function ke(_0x8e1af2,_0xa2c8f2,_0x50d52c){const _0x4a5577=_0x23e7;var _0x1cf293;let _0x33d267=Oe(_0x8e1af2,_0xa2c8f2,_0x50d52c);if(_0x33d267)return(_0x1cf293=_0x8e1af2[_0x4a5577(0x24c)])==null||(_0x1cf293=_0x1cf293[_0x33d267['row']])==null?void 0x0:_0x1cf293[_0x33d267[_0x4a5577(0x2a1)]];}function Ae(_0x293f89,_0x2dde94,_0x5117c5){const _0x20806e=_0x23e7;var _0x3d4f64,_0x443493;let _0x10bf1f=ke(_0x293f89,_0x2dde94,_0x5117c5),_0x44a73d=_0x293f89[_0x20806e(0xfb)][_0x5117c5];if((_0x44a73d==null?void 0x0:_0x44a73d[_0x20806e(0x2c7)])===_0x2b9397[_0x20806e(0x2ed)]){var _0x3f97f3,_0x39808c;return(_0x3f97f3=Re(_0x293f89,_0x2dde94,_0x5117c5))==null?E((_0x39808c=_0x293f89[_0x20806e(0x2ce)][_0x2dde94])==null||(_0x39808c=_0x39808c[_0x20806e(0x21c)])==null?void 0x0:_0x39808c[_0x5117c5]):_0x3f97f3;}if(D(_0x44a73d)||(_0x44a73d==null?void 0x0:_0x44a73d[_0x20806e(0x2c7)])===_0x2b9397[_0x20806e(0x1f2)]){var _0x5c6443;let _0x17737c=(_0x5c6443=_0x293f89[_0x20806e(0x2ce)][_0x2dde94])==null||(_0x5c6443=_0x5c6443[_0x20806e(0x21c)])==null?void 0x0:_0x5c6443[_0x5117c5];return _0x17737c!=null&&_0x17737c!==''?ze(_0x17737c,_0x44a73d):Ne(_0x10bf1f,_0x44a73d,_0x293f89,_0x2dde94);}if(_0x10bf1f&&Object['prototype'][_0x20806e(0x396)][_0x20806e(0x167)](_0x10bf1f,'v')){var _0x5e51de;return(_0x5e51de=_0x10bf1f['v'])==null?null:_0x5e51de;}return(_0x3d4f64=(_0x443493=_0x293f89[_0x20806e(0x2ce)][_0x2dde94])==null||(_0x443493=_0x443493[_0x20806e(0x21c)])==null?void 0x0:_0x443493[_0x5117c5])==null?null:_0x3d4f64;}function je(_0x772f31,_0x3f86db,_0x217abc){const _0x27edcb=_0x23e7;var _0x488806,_0x41ddb2,_0x4b54ea;let _0x5e68d2=ke(_0x772f31,_0x3f86db,_0x217abc);if(_0x5e68d2&&Object[_0x27edcb(0x39c)]['hasOwnProperty']['call'](_0x5e68d2,'v')){var _0x453b79;return(_0x453b79=_0x5e68d2['v'])==null?null:_0x453b79;}let _0x4b6964=_0x772f31[_0x27edcb(0xfb)][_0x217abc];return(_0x488806=T((_0x41ddb2=(_0x4b54ea=_0x772f31[_0x27edcb(0x2ce)][_0x3f86db])==null||(_0x4b54ea=_0x4b54ea[_0x27edcb(0x21c)])==null?void 0x0:_0x4b54ea[_0x217abc])==null?null:_0x41ddb2,_0x4b6964)['v'])==null?null:_0x488806;}function T(_0x2a1cd1,_0x568e82){const _0x58a1a0=_0x23e7;if(Fe(_0x2a1cd1))return(_0x568e82==null?void 0x0:_0x568e82[_0x58a1a0(0x2c7)])===_0x2b9397[_0x58a1a0(0x2ed)]?{..._0x2a1cd1,'v':'','t':_0x36aea6[_0x58a1a0(0x21b)]}:Me(_0x2a1cd1);if((_0x568e82==null?void 0x0:_0x568e82[_0x58a1a0(0x2c7)])===_0x2b9397[_0x58a1a0(0x2ed)])return{'v':'','t':_0x36aea6['STRING']};if(D(_0x568e82))return{'v':Ve(_0x2a1cd1)[_0x58a1a0(0x2fd)](',\x20'),'t':_0x36aea6[_0x58a1a0(0x21b)]};if((_0x568e82==null?void 0x0:_0x568e82[_0x58a1a0(0x2c7)])===_0x2b9397[_0x58a1a0(0x1f2)]&&_0x2a1cd1&&typeof _0x2a1cd1=='object'&&!Array['isArray'](_0x2a1cd1)){var _0x17545c,_0x4e29b4;let _0x278c52=_0x2a1cd1;return{'v':String((_0x17545c=(_0x4e29b4=_0x278c52['text'])==null?_0x278c52[_0x58a1a0(0x2c2)]:_0x4e29b4)==null?'':_0x17545c),'t':_0x36aea6[_0x58a1a0(0x21b)]};}return _0x2a1cd1===null||typeof _0x2a1cd1==_0x58a1a0(0xca)||typeof _0x2a1cd1=='number'||typeof _0x2a1cd1==_0x58a1a0(0xdc)?{'v':_0x2a1cd1,'t':Ue(_0x2a1cd1)}:{'v':null,'t':null};}function Me(_0x47225b){let _0x5b98a4=Ge(_0x47225b['t'],_0x47225b['v']);if(_0x5b98a4===void 0x0){let {t:_0x54f789,..._0x44f87c}=_0x47225b;return _0x44f87c;}return{..._0x47225b,'t':_0x5b98a4};}function Ne(_0x44fc11,_0x59a6ef,_0x13d64c,_0xbd9aef){const _0x2ae994=_0x23e7;if(!_0x44fc11)return null;if((_0x59a6ef==null?void 0x0:_0x59a6ef[_0x2ae994(0x2c7)])===_0x2b9397[_0x2ae994(0x2ed)]){var _0x56f8d9;return _0x13d64c&&_0xbd9aef?(_0x56f8d9=Re(_0x13d64c,_0xbd9aef,_0x59a6ef['id']))==null?[]:_0x56f8d9:[];}if(D(_0x59a6ef))return Ve(_0x44fc11['v']);if((_0x59a6ef==null?void 0x0:_0x59a6ef[_0x2ae994(0x2c7)])===_0x2b9397[_0x2ae994(0x1f2)]&&_0x13d64c&&_0xbd9aef){var _0x4bdbc4;let _0x147d7a=(_0x4bdbc4=_0x13d64c['records'][_0xbd9aef])==null||(_0x4bdbc4=_0x4bdbc4[_0x2ae994(0x21c)])==null?void 0x0:_0x4bdbc4[_0x59a6ef['id']];if(_0x147d7a&&typeof _0x147d7a==_0x2ae994(0x270)&&!Array['isArray'](_0x147d7a))return _0x147d7a;}if(Object[_0x2ae994(0x39c)][_0x2ae994(0x396)][_0x2ae994(0x167)](_0x44fc11,'v')){var _0xa286f0;return(_0xa286f0=_0x44fc11['v'])==null?null:_0xa286f0;}return null;}function Pe(_0xa93104,_0x14267d,_0x57a3e5,_0xf225c7,_0x207c3c){const _0xff02ea=_0x23e7;return(_0x57a3e5==null?void 0x0:_0x57a3e5['type'])===_0x2b9397[_0xff02ea(0x2ed)]?E(_0xa93104):D(_0x57a3e5)?Ve(_0xa93104):(_0x57a3e5==null?void 0x0:_0x57a3e5[_0xff02ea(0x2c7)])===_0x2b9397[_0xff02ea(0x1f2)]&&_0xa93104&&typeof _0xa93104==_0xff02ea(0x270)&&!Array[_0xff02ea(0x286)](_0xa93104)&&!Fe(_0xa93104)?_0xa93104:Ne(_0x14267d,_0x57a3e5,_0xf225c7,_0x207c3c);}function Fe(_0x312222){const _0x5ed392=_0x23e7;return!!_0x312222&&typeof _0x312222==_0x5ed392(0x270)&&(Object[_0x5ed392(0x39c)][_0x5ed392(0x396)][_0x5ed392(0x167)](_0x312222,'v')||Object['prototype']['hasOwnProperty'][_0x5ed392(0x167)](_0x312222,'t')||Object[_0x5ed392(0x39c)]['hasOwnProperty'][_0x5ed392(0x167)](_0x312222,'p')||Object[_0x5ed392(0x39c)][_0x5ed392(0x396)]['call'](_0x312222,'f')||Object[_0x5ed392(0x39c)]['hasOwnProperty'][_0x5ed392(0x167)](_0x312222,'si'));}function Ie(_0x644cd2,_0x438e02){return _0x644cd2+'\x1f'+_0x438e02;}function Le(_0x381020,_0x1579ca,_0x471a8e,_0xfc7803){const _0x528936=_0x23e7;var _0x4895cc,_0x2d9379,_0x1229c5;let _0x473edc=E(_0xfc7803);_0x381020[_0x528936(0x313)]={...(_0x4895cc=_0x381020['resources'])==null?{}:_0x4895cc},_0x381020['resources'][_0x528936(0x124)]={...(_0x2d9379=_0x381020[_0x528936(0x313)]['attachmentSets'])==null?{}:_0x2d9379},_0x381020[_0x528936(0x313)]['attachments']={...(_0x1229c5=_0x381020[_0x528936(0x313)]['attachments'])==null?{}:_0x1229c5};let _0x47f915=Ie(_0x471a8e,_0x1579ca),_0x31344d=[];for(let _0x2488c6=0x0;_0x2488c6<_0x473edc[_0x528936(0x149)];_0x2488c6++){var _0x118bd2;if(!(_0x2488c6 in _0x473edc))continue;let _0x2b1c77=_0x473edc[_0x2488c6],_0x1e800f=String((_0x118bd2=_0x2b1c77['id'])==null?_0x47f915+'\x1f'+_0x2488c6:_0x118bd2),_0x124caa={..._0x2b1c77,'id':_0x1e800f};_0x381020[_0x528936(0x313)][_0x528936(0x18b)][_0x1e800f]=_0x124caa,_0x31344d[_0x528936(0x2b9)](_0x1e800f);}_0x381020[_0x528936(0x313)][_0x528936(0x124)][_0x47f915]=_0x31344d;}function Re(_0x305230,_0x287136,_0x283e00){const _0x4c1ecc=_0x23e7;var _0x901fe3;let _0x494629=Ie(_0x283e00,_0x287136),_0xff78cd=(_0x901fe3=_0x305230[_0x4c1ecc(0x313)])==null||(_0x901fe3=_0x901fe3[_0x4c1ecc(0x124)])==null?void 0x0:_0x901fe3[_0x494629];if(!_0xff78cd)return null;let _0x6e9f4b=[];for(let _0x331542=0x0;_0x331542<_0xff78cd[_0x4c1ecc(0x149)];_0x331542++){var _0x581b7b;if(!(_0x331542 in _0xff78cd))continue;let _0x1f2546=(_0x581b7b=_0x305230[_0x4c1ecc(0x313)])==null||(_0x581b7b=_0x581b7b[_0x4c1ecc(0x18b)])==null?void 0x0:_0x581b7b[_0xff78cd[_0x331542]];_0x1f2546&&_0x6e9f4b[_0x4c1ecc(0x2b9)]({..._0x1f2546});}return _0x6e9f4b;}function E(_0x421d2d){const _0x53936=_0x23e7;if(_0x421d2d==null||_0x421d2d===''||Fe(_0x421d2d)&&!('id'in _0x421d2d)&&!('name'in _0x421d2d))return[];let _0x369127=Array[_0x53936(0x286)](_0x421d2d)?_0x421d2d:[_0x421d2d],_0x21e85e=[];for(let _0x314921=0x0;_0x314921<_0x369127['length'];_0x314921++){if(!(_0x314921 in _0x369127))continue;let _0x4f2fe7=_0x369127[_0x314921],_0x2fae66=_0x4f2fe7&&typeof _0x4f2fe7==_0x53936(0x270)?{..._0x4f2fe7}:{'id':_0x53936(0x274)+_0x314921,'name':String(_0x4f2fe7)};Object[_0x53936(0x1e7)](_0x2fae66)[_0x53936(0x149)]>0x0&&_0x21e85e[_0x53936(0x2b9)](_0x2fae66);}return _0x21e85e;}function ze(_0x1435ef,_0x1b0692){const _0x452b22=_0x23e7;return(_0x1b0692==null?void 0x0:_0x1b0692[_0x452b22(0x2c7)])===_0x2b9397[_0x452b22(0x2ed)]?E(_0x1435ef):D(_0x1b0692)?Ve(_0x1435ef):_0x1435ef;}function Be(_0x144ef3,_0x26caf9,_0x50492a){const _0x4bc1bb=_0x23e7;return(_0x26caf9==null?void 0x0:_0x26caf9[_0x4bc1bb(0x2c7)])===_0x2b9397[_0x4bc1bb(0x2ed)]?_0x144ef3['v']!=='':D(_0x26caf9)?Array[_0x4bc1bb(0x286)](_0x50492a)&&(_0x144ef3['v']==null||_0x144ef3['v']===''):!0x1;}function D(_0x19e5ce){const _0xfd0076=_0x23e7;return(_0x19e5ce==null?void 0x0:_0x19e5ce[_0xfd0076(0x2c7)])===_0x2b9397['MultiSelect']||(_0x19e5ce==null?void 0x0:_0x19e5ce[_0xfd0076(0x2c7)])===_0x2b9397[_0xfd0076(0x118)]||(_0x19e5ce==null?void 0x0:_0x19e5ce['type'])===_0x2b9397[_0xfd0076(0x1a9)];}function Ve(_0x3b7466){const _0x488b2f=_0x23e7;if(_0x3b7466==null||_0x3b7466==='')return[];let _0x3a87bc=[];if(Array[_0x488b2f(0x286)](_0x3b7466)){for(let _0x5f1ff4=0x0;_0x5f1ff4<_0x3b7466['length'];_0x5f1ff4++){if(!(_0x5f1ff4 in _0x3b7466))continue;let _0x197d38=He(_0x3b7466[_0x5f1ff4]);_0x197d38&&_0x3a87bc['push'](_0x197d38);}return _0x3a87bc;}for(let _0x24fd8e of String(_0x3b7466)[_0x488b2f(0xc3)](',')){let _0x539431=_0x24fd8e[_0x488b2f(0x378)]();_0x539431&&_0x3a87bc[_0x488b2f(0x2b9)](_0x539431);}return _0x3a87bc;}function He(_0x22cf0d){const _0x3b85f4=_0x23e7;if(_0x22cf0d==null)return'';if(typeof _0x22cf0d==_0x3b85f4(0xca)||typeof _0x22cf0d==_0x3b85f4(0x2a3)||typeof _0x22cf0d=='boolean')return String(_0x22cf0d);if(typeof _0x22cf0d=='object'){var _0x56fd7a,_0x194898,_0x3b64f8;let _0x4e1bf0=_0x22cf0d;return String((_0x56fd7a=(_0x194898=(_0x3b64f8=_0x4e1bf0['id'])==null?_0x4e1bf0['name']:_0x3b64f8)==null?_0x4e1bf0[_0x3b85f4(0x134)]:_0x194898)==null?'':_0x56fd7a);}return String(_0x22cf0d);}function Ue(_0x48f97e){const _0x311cf=_0x23e7;return _0x48f97e==null?null:typeof _0x48f97e==_0x311cf(0x2a3)?_0x36aea6[_0x311cf(0x31e)]:typeof _0x48f97e==_0x311cf(0xdc)?_0x36aea6['BOOLEAN']:_0x36aea6[_0x311cf(0x21b)];}function We(_0x3ea96f){const _0x3948af=_0x23e7;_0x3ea96f[_0x3948af(0x273)]((_0x365d17,_0x5a6c8a)=>_0x365d17[_0x3948af(0x328)][_0x3948af(0x1c7)](_0x5a6c8a[_0x3948af(0x328)]));let _0x4ff38a=[];for(let _0x3ea8d4 of _0x3ea96f)_0x4ff38a['push'](_0x3ea8d4['id']);return _0x4ff38a;}function Ge(_0xa240b5,_0x44a298){const _0x2d2805=_0x23e7;return _0xa240b5===_0x36aea6[_0x2d2805(0x21b)]||_0xa240b5===_0x36aea6[_0x2d2805(0x31e)]||_0xa240b5===_0x36aea6[_0x2d2805(0x16a)]||_0xa240b5===_0x36aea6[_0x2d2805(0x36a)]||_0xa240b5==null?_0xa240b5:Ue(_0x44a298==null?null:_0x44a298);}var O=class{['applyOp'](_0x59941a,_0x455637){const _0x56f445=_0x23e7;let _0x260f69=this[_0x56f445(0x1cd)](_0x455637),_0x595f92=C(_0x56f445(0x316),()=>$e(_0x59941a,_0x455637),{'invalidations':_0x260f69[_0x56f445(0x149)]}),_0x10af1b=C(_0x56f445(0x379),()=>_0x1c896f[_0x56f445(0x2c7)]['apply'](_0x595f92,_0x455637),{'invalidations':_0x260f69[_0x56f445(0x149)]});return C(_0x56f445(0x331),()=>Ke(_0x10af1b,_0x260f69),{'invalidations':_0x260f69[_0x56f445(0x149)]})||C(_0x56f445(0x1fc),()=>{const _0xa08846=_0x56f445;this[_0xa08846(0x1c6)](_0x10af1b,_0x260f69)['forEach'](_0x100866=>{Ee(_0x100866);});},{'invalidations':_0x260f69[_0x56f445(0x149)]}),_0x10af1b;}[_0x189c21(0x18f)](_0x3339d8,_0x966711){const _0x597425=_0x189c21;return _0x1c896f['type'][_0x597425(0x318)](_0x966711,_0x3339d8);}[_0x189c21(0x1cd)](_0x1d29cb){const _0x207fbb=_0x189c21;let _0x3e9013=Xe(_0x1d29cb);return _0x3e9013[_0x207fbb(0x149)]?Ze(_0x3e9013['flatMap'](_0xe1df9f=>this[_0x207fbb(0x1cd)](_0xe1df9f))):qe(_0x1d29cb);}['_getTablesToNormalize'](_0xfcc5c6,_0xb42d94){const _0x539c02=_0x189c21;if(!_0xb42d94[_0x539c02(0x149)])return[];if(_0xb42d94[_0x539c02(0x2ab)](_0x460e6d=>!_0x460e6d[_0x539c02(0x16b)])){var _0x398841;return Object['values']((_0x398841=_0xfcc5c6[_0x539c02(0x2ea)])==null?{}:_0x398841);}return Array['from'](new Set(_0xb42d94[_0x539c02(0x1d0)](_0x25dc25=>_0x25dc25[_0x539c02(0x16b)])))[_0x539c02(0x399)](_0x1e0483=>{const _0x2af45c=_0x539c02;var _0x45ea14;let _0x35779f=(_0x45ea14=_0xfcc5c6[_0x2af45c(0x2ea)])==null?void 0x0:_0x45ea14[_0x1e0483];return _0x35779f?[_0x35779f]:[];});}};function Ke(_0x4a7b7a,_0x24e260){const _0x23be82=_0x189c21;if(!_0x24e260[_0x23be82(0x149)]||_0x24e260[_0x23be82(0x2ab)](_0x58927c=>_0x58927c[_0x23be82(0x209)]!==_0x23be82(0xef)))return!0x1;let _0x44f78c=new Map();for(let _0x262a1c of _0x24e260){var _0x30198c;if(!_0x262a1c['tableId']||_0x262a1c[_0x23be82(0x193)]==null||_0x262a1c['column']==null)continue;let _0x2ae802=(_0x30198c=_0x44f78c[_0x23be82(0x37d)](_0x262a1c[_0x23be82(0x16b)]))==null?[]:_0x30198c;_0x2ae802[_0x23be82(0x2b9)]({'row':_0x262a1c[_0x23be82(0x193)],'col':_0x262a1c[_0x23be82(0xe4)]}),_0x44f78c[_0x23be82(0x11d)](_0x262a1c[_0x23be82(0x16b)],_0x2ae802);}return _0x44f78c[_0x23be82(0x38f)]((_0x217579,_0x184a5a)=>{const _0x4a54ba=_0x23be82;var _0x395640;let _0x3d3944=(_0x395640=_0x4a7b7a[_0x4a54ba(0x2ea)])==null?void 0x0:_0x395640[_0x184a5a];_0x3d3944&&De(_0x3d3944,_0x217579);}),!0x0;}function qe(_0x3cae8b){const _0x92b519=_0x189c21;if(!Array[_0x92b519(0x286)](_0x3cae8b)||_0x3cae8b[_0x92b519(0x149)]<0x2)return[{'tableId':'','reason':_0x92b519(0x348)}];let _0x2eeecc=_0x3cae8b,_0xb724a5=_0x2eeecc[_0x92b519(0x2f7)](_0x92b519(0x2ea));return _0xb724a5===-0x1||typeof _0x2eeecc[_0xb724a5+0x1]!=_0x92b519(0xca)?_0x2eeecc[0x0]===_0x92b519(0x106)?[]:[{'tableId':'','reason':_0x92b519(0x348)}]:Je(_0x2eeecc,_0xb724a5,String(_0x2eeecc[_0xb724a5+0x1]));}function Je(_0x1cbc92,_0x6b962a,_0x37e67c){const _0x2bfc91=_0x189c21;let _0x135393=_0x1cbc92[_0x6b962a+0x2];return _0x135393===_0x2bfc91(0x2ce)&&typeof _0x1cbc92[_0x6b962a+0x3]==_0x2bfc91(0xca)?Ye(_0x1cbc92,_0x6b962a,_0x37e67c,String(_0x1cbc92[_0x6b962a+0x3])):_0x135393===_0x2bfc91(0x24c)&&_0x1cbc92[_0x6b962a+0x3]!=null&&_0x1cbc92[_0x6b962a+0x4]!=null?[{'tableId':_0x37e67c,'reason':'cell','row':Number(_0x1cbc92[_0x6b962a+0x3]),'column':Number(_0x1cbc92[_0x6b962a+0x4])}]:_0x135393===_0x2bfc91(0xfb)&&typeof _0x1cbc92[_0x6b962a+0x3]==_0x2bfc91(0xca)?[{'tableId':_0x37e67c,'reason':_0x2bfc91(0x198),'fieldId':String(_0x1cbc92[_0x6b962a+0x3])}]:_0x135393===_0x2bfc91(0x12f)&&typeof _0x1cbc92[_0x6b962a+0x3]==_0x2bfc91(0xca)?[{'tableId':_0x37e67c,'reason':_0x2bfc91(0x28f),'viewId':String(_0x1cbc92[_0x6b962a+0x3])}]:[{'tableId':_0x37e67c,'reason':_0x135393===void 0x0?'table':_0x2bfc91(0x348)}];}function Ye(_0x8536cf,_0x57a57e,_0x3bdb62,_0x2bceb8){const _0x3c082a=_0x189c21;return _0x8536cf[_0x57a57e+0x4]==='values'&&typeof _0x8536cf[_0x57a57e+0x5]==_0x3c082a(0xca)?[{'tableId':_0x3bdb62,'reason':'cell','recordId':_0x2bceb8,'fieldId':String(_0x8536cf[_0x57a57e+0x5])}]:_0x8536cf[_0x57a57e+0x4]===_0x3c082a(0x26f)||_0x8536cf[_0x57a57e+0x4]===_0x3c082a(0x364)?[]:[{'tableId':_0x3bdb62,'reason':'record','recordId':_0x2bceb8}];}function Xe(_0x95f92f){const _0x238a81=_0x189c21;if(!Array[_0x238a81(0x286)](_0x95f92f))return[];let _0x3255c3=_0x95f92f[_0x238a81(0x25c)](Array[_0x238a81(0x286)]);if(_0x3255c3[_0x238a81(0x149)]>0x1&&_0x3255c3[_0x238a81(0x149)]===_0x95f92f[_0x238a81(0x149)])return _0x3255c3;let _0x28a6bf=_0x95f92f[_0x238a81(0x22f)](Array[_0x238a81(0x286)]);if(_0x28a6bf>0x0&&_0x95f92f[_0x238a81(0xcf)](_0x28a6bf)[_0x238a81(0x188)](Array['isArray'])){let _0x4fc7d1=_0x95f92f[_0x238a81(0xcf)](0x0,_0x28a6bf);return _0x95f92f['slice'](_0x28a6bf)[_0x238a81(0x1d0)](_0x5f0a07=>[..._0x4fc7d1,..._0x5f0a07]);}let _0x16c8df=_0x95f92f[_0x238a81(0x2f7)](_0x238a81(0x2ea));if(_0x16c8df===-0x1||typeof _0x95f92f[_0x16c8df+0x1]!=_0x238a81(0xca))return[];let _0x5bf6ea=String(_0x95f92f[_0x16c8df+0x1]),_0x52a734=_0x95f92f[_0x238a81(0xcf)](_0x16c8df+0x2)[_0x238a81(0x25c)](Array[_0x238a81(0x286)]);return _0x52a734[_0x238a81(0x149)]<=0x1?[]:_0x52a734['map'](_0x3069fa=>['tables',_0x5bf6ea,..._0x3069fa]);}function Ze(_0x1876ca){const _0x84227b=_0x189c21;let _0x3fd4a2=new Set();return _0x1876ca[_0x84227b(0x25c)](_0x10675d=>{const _0x2f3ad8=_0x84227b;let _0x420ee0=JSON['stringify'](_0x10675d);return _0x3fd4a2[_0x2f3ad8(0x24f)](_0x420ee0)?!0x1:(_0x3fd4a2[_0x2f3ad8(0x2dc)](_0x420ee0),!0x0);});}function Qe(_0x427b53){const _0xc1ca67=_0x189c21;return _0x4b73bd[_0xc1ca67(0x11c)](_0x427b53);}function _0x1f0a(){const _0x3a2c45=['setViewFieldWidth','allowMultiple','_createNumberingAllocator','Link','normalize','_normalizeCalendarConfig','snapshot','renameView','Status','setViewFilter','includes','_onCommandExecuted','canDeleteField','BaseJson1.normalizeTables','titleFieldId','direction','[BaseCommandService]:\x20invalid\x20cell\x20value.','group','_sortRows','base.command.set-base-view-field-order','lastIndex','base.viewType.grid','getAll','base.command.set-base-record-values','usableAsCalendarDate','getStructuredDependencies','reason','YYYY/MM/DD\x20HH:mm','_fieldRegistry','createSuperTableReference','leftPaneCollapsed','_syncSuperTables','operand','toFixed','_buildCalendar','getOwnPropertyDescriptor','projection','deleteField','record','getMonth','MUTATION','rowIndexById','655OUygWF','globalRevision','STRING','values','__tempBatchingUndoRedo','missingField','recordIds','valid','base.command.set-base-view-sort','gridViewId','removeOp','base.viewType.calendar','[BaseField]:\x20invalid\x20email\x20value.','syncUnit','fromEntries','true','hourCycle','replaceOp','index','_runtimeContext','selectField','Checkbox','findIndex','[BaseField]:\x20invalid\x20progress\x20value.','base.command.batch-delete-base-records','description','_resolveKanbanGroupFieldId','base-perf-','rowIndex','readonly','validateFormula','setRangeValues','viewRevision','_kanbanLaneTitle','_applier','bases.fieldConfig.textPlaceholder','_buildGrid','now','_initCommands','_groupConfigCacheSegment','base.projection.service','version','clearRecordPermission','FieldId','hh:mm','_getOrderedRecords','matchAll','assign','[BaseField]:\x20invalid\x20number\x20value.','_createNumberingFieldValuePatches','_globalRevision','cellData','Empty','exact','has','start','setRecordPermission','_getCurrentUserId','createCreateFieldOp','spacePeriod','reduce','[BaseField]:\x20invalid\x20multi-value\x20reference.','_apply','allowNegative','isEmpty','BASE','UNIVER_BASE','filter','_isAllDayGanttDateRange','base.command.move-base-view','_setViewFieldSetting','_filterRows','weekdays','70bwaRXv','tableName','unitOtherData','scale','invalidDateField','base.command.delete-base-record','Button','TwoWayLink','descend','undefined','isInteger','18372Rmqcek','beforeFieldId','updatedAt','object','getTime','currencySymbol','sort','attachment-','RecordId','next30','fromPlainText','lastMonth','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getSnapshot','today','base.command.delete-base-table','onCommandExecuted','info','registerTable','[BaseCommandService]:\x20field\x20\x22','_title','subscribe','yyyy/mm/dd','Text','[BaseField]:\x20invalid\x20rating\x20value.','isArray','ena','base.viewType.gantt','getUnit','setSnapshot','autoIncrement','base.mutation.apply-base-json1','timeslotSize','endDateFieldId','view','local','moveField','hidden','_kanbanLaneColor','dispose','Formula','dateMode','recordNamePrefix','_applyFormulaResult','createdAt','error','user','exceptions','search','Failed\x20to\x20create\x20update\x20cell\x20operation:','_matchesGanttColorRule','startsWith','col','_activeDirtyManagerService','number','_projectedViewRowsCache','getFullYear','getCurrentUserId','timeZone','separatorStyle','_dataSyncPrimaryController','Rating','some','base-perf','getUTCFullYear','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_deleteAttachmentResources','Date','UNIVER_EMBED_BASES_TABLE','Start\x20date','year','none','bases.fieldConfig.linkPlaceholder','frozenFieldCount','bases.remote.config','toPrimitive','push','limit','_projectedRowsCache','fieldIndex','3781980CnDYEg','displayColor','mode','majorHeaders','deleteView','url','Progress','params','baseRows','useThousands','type','#,##0.00','_viewRowsCacheKey','unshift','h12','changed','canEditCell','records','medium','invalidGroupField','_getTableRevision','[BaseCommandService]:\x20cannot\x20create\x20table.','end','_factory','_getJson1DirtyData','insertOp','h24','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','level','updateRecordOrder','_recordPermissions','add','1607454UQeOiR','_isCalendarDateField','_enqueueFormulaSync','base.command.ensure-base-temporal-view-date-fields','conditions','basePerf','univer.basePerf','register','#,##0','BaseProjection.materializeTableRows','_canUseFastSort','_getAllTableIds','afterFieldId','tables','entries','fld-','Attachment','createDefaultConfig','long','UTC','descendPath','view-','fieldId','_cacheKey','_getCachedProjection','_getSystemFieldValue','indexOf','constructor','_buildGallery','usableAsGanttStart','_buildKanban','createRecords','join','createSetRecordValuesOp','viewIndexes','Yes','max','base.viewType.gallery','Currency','defineProperty','_createNumberingAllocators','leftPaneWidth','Calendar','_normalizeGalleryConfig','setHours','recordId','_patchProjectedRowsForCellInvalidations','clearFieldPermission','deleteRecord','DESC','createBatchCreateRecordsOp','canCreateRecord','invalid','[BaseCommandService]:\x20cannot\x20edit\x20field.','resources','isFinite','changeFieldType','BaseJson1.cloneForOp','usableAsGanttEnd','invertWithDoc','_projectGroups','h:mm\x20a','toLocaleString','base.command.delete-base-field','_projectTableRows','NUMBER','en-US','regenerateViewIds','getProjection','_initRegistries','Kanban','Doing','duplicateRecord','past7','normal','orderKey','Working\x20day','formula','_formulaCalculationSessionService','base.command.update-base-view-config','Phone','embedId','_resolveGalleryCoverFieldId','value','BaseJson1.syncCellInvalidations','CreatedAt','canDeleteTable','MM-DD','attachmentSet','base.command.set-base-kanban-group-field','_getKanbanConfiguredLanes','_scheduledSuperTableSyncs','periodComma','_cellInvalidationsTouchFields','format','NumberFormat','resolve','BaseProjection.projectTableRows','custom','setViewFieldOrder','after','trigger','invalidGanttStartField','calendar','base.command.service','Todo','base.command.set-base-range-values','unknown','_replaceOptional','recordOrder','exec','http:','viewOrder','[BasePerf]\x20','yesterday','month','label','base.command.create-base-field','Flow','setViewSort','574557pCrRSw','_formulaSyncQueue','https:','True','key','conditional','cardSize','createRecord','lastWeek','Number','_initDependencies','-record-','[BaseCommandService]:\x20cannot\x20edit\x20cell.','BaseProjection.projectGroups','Barcode','updatedBy','_getViewRevision','__all__','_normalizeCellValue','base.field-registry.service','_commandService','FORCE_STRING','_formulaService','BaseCommand.createBatchCreateRecordsOp','_permissionService','@univerjs-pro/bases','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_resolveKanbanCardFieldIds','pushUndoRedo','iterator','renameFormulaUnitReferences','canEditField','general','_createRecordWithDefaults','colIndex','trim','BaseJson1.json1Apply','_isColorfulKanbanGroupField','_viewRevisions','base.command.change-base-field-type','get','End\x20date','title','setConfig','setBasePermission','attachment','catch','HH:mm','_registeredSuperTableNames','base.resource.service','primaryFieldName','resolvedOptions','[BaseField]:\x20invalid\x20person\x20value.','base.command.set-base-view-filter','coverFieldId','_projectRows','canManageView','progressFieldId','forEach','colId','base.command.set-base-view-field-visible','_isAllDayCalendarEvent','edit','_bumpTableRevision','updateField','hasOwnProperty','canCreateField','canDeleteRecord','flatMap','registerView','getTypeOfUnitDisposed$','prototype','setBaseName','_isNonEmptyCellValue','unitData','duplicateField','revision','score','ascend','createBase','SingleSelect','compose','columns','_createSystemFieldValuePatches','split','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','rowId','getTypePlugin','renameTable','[BaseCommandService]:\x20cannot\x20create\x20record.','\x22\x20is\x20not\x20registered.','string','Gallery','system','editCell','_setFormulaFieldCells','slice','_univerInstanceService','_findCalendarDateFieldId','Grid','doing','_groupsCacheKey','registerSyncingMutations','_recordIds','[BaseCommandService]:\x20cannot\x20delete\x20table.','disposeWithMe','MultiSelect','groups','false','boolean','rules',',\x22K\x22','Email','path','base.command.create-base-view','userID','base.command.update-base-field-description','column','large','greaterThan','createDefaultValue','_injector','unitId','Checked','getAllBases','executeCommand','_projectFields','getSuperTableRegistrations','cell','base.command.set-base-view-field-width','forValue','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','fieldSettings','_projectedGroupsCache','cardLayout','deleteRecords','commaPeriod','showFieldNames','applyOp','deleteTable','fields','write','cellRevision','includeRecords','sheetId','_resolveKanbanCoverFieldId','fieldName','getDependencies','invalidateByField','updateViewConfig','base.command.update-base-kanban-config','tableOrder','setViewFieldVisible','-field-name','week','base.command.delete-base-view','_getCellRevision','createTable','percent','hostAnchorId','startDateFieldId','_projectionCache','kanban','Numbering','Summary','invalidateByCell','_createRecordOrderOp','#FDE68A','toLowerCase','Person','_fieldPermissions','CreatedBy','registerSuperTable','deepClone','set','locale','options','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','getUTCDay','viewId','quarter','attachmentSets','BaseProjection.projectRows','_viewRevisionKey','todo','rows','_initialize','recordCount','protocol','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','contains','displayText','views','getAllUnitsForType','UpdatedBy','includeTime','packageName','text','_config','_groupCellInvalidations','Gantt','registerSuperTables','usableAsCardCover','_resolveGanttDateFieldId','_configService','color','recordPatch','short','delete','_patchCachedProjectedRows','updateCell','table','_baseSyncDisposables','_isKanbanGroupField','registerCommand','padStart','day','find','length','_normalizeCalendarDisplayColor','_basePermissions','diffValue','patches','clearTablePermission','_applyingFormulaResults','base.command.rename-base-table','embed-ui','size','canCreateTable','decimalPlaces','width','_views','getUTCDate','decimal','default','min','moveView','check','defaultValue','colorFieldId','COMMAND','childType','base.command.update-base-field','_setAttachmentResources','syncExecuteCommand','_capabilities','_resolveCalendarDateFieldId','clearBasePermission','call','_initDataSync','href','BOOLEAN','tableId','__UNIVER_BASE_PERF__','_isGanttDateField','_groupProjectionFieldIds','BASES_PLUGIN','person','UpdatedAt','mark','replace','past30','formatToParts','primaryFieldId','_cellInvalidations','remove','[BaseCommandService]:\x20cannot\x20create\x20field.','tableRevision','setViewGroup','raw','_kanbanGroupKeys','exception-','conjunction','formula.mutation.set-formula-calculation-result','gantt','getCapabilities','isNot','_buildGantt','_fastSortRows','lastIndexOf','#16a34a','every','_materializeGroups','_getTable','attachments','function','getDay','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','invertOp','_withModifiedSystemValues','registerCtorForType','workingDays','row','markResultApplied','_filterSortFieldIds','groupFieldId','Uncategorized','field','Location','_resolveGalleryCardFieldIds','off','manual','1044260rddCdO','children','order','_calendarEventColor','_tablePermissions','config','_tableRevisions','decorate','1708354gejyOk','working','date','parse','Group','beforeViewId','_toDirtyRangePatch','createCreateRecordOp','createUpdateCellOp','MM/DD/YYYY','_rowTransformCacheSegment','stringify','valueOf','toPlainText','_ganttBarColor','spaceComma','test','_scheduleSuperTableSync','splice','base.command.batch-create-base-records','pluginName','_syncBaseUnit','Lookup','createView','card','afterViewId',':end','base.command.rename-base-view','https://','Unchecked','[BaseProjectionService]:\x20missing\x20view\x20\x22','endsWith','base.command.move-base-field','_getTablesToNormalize','localeCompare','validate','getUnitId','bases.config','setRecordValues',',,,\x22B\x22','getAffectedRanges','workingDaysOnly','name','map','_cellRevisions','base.viewType.kanban','_isAllowedKanbanGroupField','invalidateByOp','fieldOrder','522824FlgLjZ','uniqueTableName','_setCachedProjection','createdBy','base.command.update-base-record-order','_normalizeGanttConfig','_getAllBaseDependencyTreeCacheMap','from','operator','createField','symbol','fieldIds','$1\x20','getUTCMonth','_plugins','#14b8a6','editable','keys','focusUnit','base.command.update-base-cell','repairViewConfig','_normalizeGanttDisplayColor','getCurrentUser','greaterThanOrEqual','[BaseCommandService]:\x20cannot\x20manage\x20view.'];_0x1f0a=function(){return _0x3a2c45;};return _0x1f0a();}function $e(_0x175d2a,_0x19affe){const _0x2b4b4a=_0x189c21;let _0x35b08f=et(_0x19affe);if(!_0x35b08f[_0x2b4b4a(0x149)])return Qe(_0x175d2a);let _0xa1a5c0=st(_0x175d2a),_0x5064f0=new Set();for(let _0x2f8944 of _0x35b08f)rt(_0xa1a5c0,_0x2f8944,_0x5064f0);return _0xa1a5c0;}function et(_0x3f015f){let _0x57e60a=[];return tt(_0x3f015f,[],_0x57e60a),_0x57e60a;}function tt(_0x341504,_0x71b546,_0x442e92){const _0x311df3=_0x189c21;if(!Array[_0x311df3(0x286)](_0x341504))return;let _0x467b9f=[];for(let _0x3ca5c4 of _0x341504){if(Array[_0x311df3(0x286)](_0x3ca5c4)){tt(_0x3ca5c4,[..._0x71b546,..._0x467b9f],_0x442e92);continue;}if(nt(_0x3ca5c4)){_0x442e92[_0x311df3(0x2b9)]([..._0x71b546,..._0x467b9f]);continue;}(typeof _0x3ca5c4==_0x311df3(0xca)||typeof _0x3ca5c4==_0x311df3(0x2a3))&&_0x467b9f['push'](_0x3ca5c4);}}function nt(_0x2982da){const _0x3cb902=_0x189c21;if(!_0x2982da||typeof _0x2982da!='object'||Array['isArray'](_0x2982da))return!0x1;let _0x456fd9=_0x2982da;return'i'in _0x456fd9||'r'in _0x456fd9||'p'in _0x456fd9||'d'in _0x456fd9||'es'in _0x456fd9||_0x3cb902(0x287)in _0x456fd9||'et'in _0x456fd9;}function rt(_0x2de75a,_0x3d89e7,_0xc58181){const _0x1b3fb2=_0x189c21;let _0x1911df=_0x2de75a,_0x563553=[];for(let _0x5675c4=0x0;_0x5675c4<_0x3d89e7[_0x1b3fb2(0x149)]-0x1;_0x5675c4++){let _0x528f25=_0x3d89e7[_0x5675c4];_0x563553['push'](_0x528f25);let _0x4ba5a0=it(_0x1911df,_0x528f25);if(!ot(_0x4ba5a0))return;let _0x29ccbb=JSON[_0x1b3fb2(0x1b0)](_0x563553);_0xc58181[_0x1b3fb2(0x24f)](_0x29ccbb)||(at(_0x1911df,_0x528f25,st(_0x4ba5a0)),_0xc58181[_0x1b3fb2(0x2dc)](_0x29ccbb));let _0x568985=it(_0x1911df,_0x528f25);if(!ot(_0x568985))return;_0x1911df=_0x568985;}}function it(_0x1f03a2,_0x33b8cf){const _0x14c5f0=_0x189c21;return Array['isArray'](_0x1f03a2)?typeof _0x33b8cf==_0x14c5f0(0x2a3)?_0x1f03a2[_0x33b8cf]:void 0x0:Reflect[_0x14c5f0(0x37d)](_0x1f03a2,_0x33b8cf);}function at(_0x283112,_0x521831,_0x2df11c){const _0x3525e3=_0x189c21;if(Array['isArray'](_0x283112)){typeof _0x521831==_0x3525e3(0x2a3)&&(_0x283112[_0x521831]=_0x2df11c);return;}Reflect[_0x3525e3(0x11d)](_0x283112,_0x521831,_0x2df11c);}function ot(_0x229540){const _0x118103=_0x189c21;return!!_0x229540&&typeof _0x229540==_0x118103(0x270);}function st(_0x3b996e){const _0x4378fe=_0x189c21;return Array[_0x4378fe(0x286)](_0x3b996e)?_0x3b996e[_0x4378fe(0xcf)]():{..._0x3b996e};}const ct=0x5a0*0x3c*0x3e8,lt=0x63e1,ut=_0x189c21(0x283),dt={'yyyy/mm/dd':'YYYY/MM/DD','yyyy/mm/dd\x20hh:mm':_0x189c21(0x20a),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x189c21(0x334),'mm/dd/yyyy':_0x189c21(0x1ae),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function k(_0x26baea){const _0xbe1cd8=_0x189c21;return _0x36325f(_0x26baea)[_0xbe1cd8(0x1b1)]()/ct+lt;}function ft(_0x350cba){return(_0x350cba-lt)*ct;}function A(_0xcad322){const _0xf7c4f7=_0x189c21;if(_0xcad322==null||_0xcad322==='')return null;if(_0xcad322 instanceof Date)return k(_0xcad322);if(typeof _0xcad322==_0xf7c4f7(0x2a3))return Number[_0xf7c4f7(0x314)](_0xcad322)?_0xcad322>0xf4240?k(_0xcad322):_0xcad322:null;let _0x444af3=Date[_0xf7c4f7(0x1a8)](String(_0xcad322));return Number['isNaN'](_0x444af3)?null:k(_0x444af3);}function j(_0x5a3b00){let _0x4a7228=A(_0x5a3b00);return _0x4a7228==null?null:ft(_0x4a7228);}function pt(_0x4933bc,_0x112441={}){const _0xe01984=_0x189c21;var _0x1179a6,_0x36eaeb,_0x5c53c1;let _0x52952a=j(_0x4933bc);if(_0x52952a==null||!Number[_0xe01984(0x314)](_0x52952a))return'';let _0x3023c4=String((_0x1179a6=(_0x36eaeb=_0x112441['pattern'])==null?_0x112441[_0xe01984(0x33b)]:_0x36eaeb)==null?ut:_0x1179a6),_0x49280c=_0x112441[_0xe01984(0x132)]===!0x0||_0x3023c4['includes'](_0xe01984(0x245)),_0x445483=String((_0x5c53c1=_0x112441[_0xe01984(0x229)])==null?'h24':_0x5c53c1);return _0x36325f(_0x52952a)[_0xe01984(0x33b)](mt(_0x3023c4,_0x49280c,_0x445483));}function mt(_0x587d72,_0x2812de,_0x39bfe5){const _0x208aae=_0x189c21;var _0x5c555a;let _0x207451=(_0x5c555a=dt[_0x587d72])==null?dt[ut]:_0x5c555a;return!_0x2812de||_0x587d72['includes'](_0x208aae(0x245))?_0x207451:_0x207451+'\x20'+(_0x39bfe5===_0x208aae(0x2cb)?_0x208aae(0x31a):_0x208aae(0x384));}const ht={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},gt=new Set([_0x2b9397['Lookup'],_0x2b9397[_0x189c21(0x113)],_0x2b9397[_0x189c21(0x353)],_0x2b9397[_0x189c21(0x268)],_0x2b9397[_0x189c21(0x199)],_0x2b9397[_0x189c21(0x269)],_0x2b9397[_0x189c21(0x275)],_0x2b9397[_0x189c21(0x363)]]),M=0x5a0*0x3c*0x3e8;function _t(_0x493ad5,_0x2ce9a2){const _0x1b7703=_0x189c21;return _0x493ad5==null&&_0x2ce9a2==null?0x0:_0x493ad5==null?-0x1:_0x2ce9a2==null?0x1:typeof _0x493ad5==_0x1b7703(0x2a3)&&typeof _0x2ce9a2==_0x1b7703(0x2a3)?_0x493ad5-_0x2ce9a2:String(_0x493ad5)[_0x1b7703(0x1c7)](String(_0x2ce9a2));}function vt(_0x498384,_0x256215,_0x2de86a,_0x50c3eb,_0x329725={}){const _0x2f2ae1=_0x189c21;if(_0x256215===_0x2f2ae1(0x259))return yt(_0x498384);if(_0x256215==='isNotEmpty')return!yt(_0x498384);switch(_0x50c3eb['type']){case _0x2b9397['Number']:case _0x2b9397['Currency']:case _0x2b9397[_0x2f2ae1(0x2c3)]:case _0x2b9397['Rating']:return bt(_0x498384,_0x256215,_0x2de86a);case _0x2b9397[_0x2f2ae1(0x2b0)]:case _0x2b9397[_0x2f2ae1(0x332)]:case _0x2b9397[_0x2f2ae1(0x171)]:return St(_0x498384,_0x256215,_0x2de86a,_0x329725);case _0x2b9397[_0x2f2ae1(0x22e)]:return Ot(_0x498384,_0x256215,_0x2de86a);case _0x2b9397[_0x2f2ae1(0x3a5)]:case _0x2b9397[_0x2f2ae1(0xd9)]:case _0x2b9397['Person']:case _0x2b9397[_0x2f2ae1(0x1a9)]:return At(_0x498384,_0x256215,_0x2de86a,_0x50c3eb);default:return jt(_0x498384,_0x256215,_0x2de86a);}}function yt(_0xf1f436){const _0x5e3ff2=_0x189c21;return _0xf1f436==null?!0x0:Array['isArray'](_0xf1f436)?_0xf1f436[_0x5e3ff2(0x149)]===0x0:typeof _0xf1f436==_0x5e3ff2(0xca)&&_0xf1f436[_0x5e3ff2(0x378)]()==='';}function bt(_0x2ff7d3,_0x3bd0e0,_0x5a6fb9){const _0x2b63a7=_0x189c21;let _0x3eaece=xt(_0x2ff7d3),_0x463da6=xt(_0x5a6fb9);if(_0x3eaece==null||_0x463da6==null)return!0x1;switch(_0x3bd0e0){case'is':return _0x3eaece===_0x463da6;case _0x2b63a7(0x183):return _0x3eaece!==_0x463da6;case _0x2b63a7(0xe6):return _0x3eaece>_0x463da6;case _0x2b63a7(0x1ed):return _0x3eaece>=_0x463da6;case'lessThan':return _0x3eaece<_0x463da6;case'lessThanOrEqual':return _0x3eaece<=_0x463da6;default:return!0x1;}}function xt(_0x5586ed){if(_0x5586ed==null||_0x5586ed==='')return null;let _0x3039da=Number(_0x5586ed);return Number['isFinite'](_0x3039da)?_0x3039da:null;}function St(_0x5ab5da,_0x3508e2,_0x4938cb,_0x3283b8){const _0x2ccf4e=_0x189c21;var _0xe99793;let _0xe12385=wt(_0x5ab5da);if(_0xe12385==null)return!0x1;let _0x5ccb7d=Ct((_0xe99793=_0x3283b8[_0x2ccf4e(0x296)])==null?_0x2ccf4e(0x24e):_0xe99793,_0x4938cb,_0x3283b8[_0x2ccf4e(0x23e)]);if(!_0x5ccb7d)return!0x1;switch(_0x3508e2){case'is':return _0xe12385>=_0x5ccb7d['start']&&_0xe12385<=_0x5ccb7d[_0x2ccf4e(0x2d3)];case _0x2ccf4e(0x183):return _0xe12385<_0x5ccb7d[_0x2ccf4e(0x250)]||_0xe12385>_0x5ccb7d[_0x2ccf4e(0x2d3)];case'before':return _0xe12385<_0x5ccb7d[_0x2ccf4e(0x250)];case _0x2ccf4e(0x341):return _0xe12385>_0x5ccb7d[_0x2ccf4e(0x2d3)];default:return!0x1;}}function Ct(_0x77ea2d,_0x292de8,_0x26b1bf=Date[_0x189c21(0x23e)]()){const _0x4a2f61=_0x189c21;let _0x362ee9=Tt(_0x26b1bf);switch(_0x77ea2d){case _0x4a2f61(0x24e):{let _0x36f28a=wt(_0x292de8);return _0x36f28a==null?null:{'start':_0x36f28a,'end':_0x36f28a+M-0x1};}case _0x4a2f61(0x27b):return{'start':_0x362ee9,'end':_0x362ee9+M-0x1};case'tomorrow':return{'start':_0x362ee9+M,'end':_0x362ee9+M*0x2-0x1};case _0x4a2f61(0x34f):return{'start':_0x362ee9-M,'end':_0x362ee9-0x1};case'thisWeek':return Et(_0x362ee9,0x0);case _0x4a2f61(0x35d):return Et(_0x362ee9,-0x1);case'thisMonth':return Dt(_0x362ee9,0x0);case _0x4a2f61(0x278):return Dt(_0x362ee9,-0x1);case _0x4a2f61(0x326):return{'start':_0x362ee9-M*0x6,'end':_0x362ee9+M-0x1};case'next7':return{'start':_0x362ee9,'end':_0x362ee9+M*0x7-0x1};case _0x4a2f61(0x174):return{'start':_0x362ee9-M*0x1d,'end':_0x362ee9+M-0x1};case _0x4a2f61(0x276):return{'start':_0x362ee9,'end':_0x362ee9+M*0x1e-0x1};}}function wt(_0x1080fe){let _0x189bf6=A(_0x1080fe);return _0x189bf6==null?null:Tt(ft(_0x189bf6));}function Tt(_0x39b390){const _0x488e22=_0x189c21;let _0x525716=new Date(_0x39b390);return _0x525716[_0x488e22(0x309)](0x0,0x0,0x0,0x0),_0x525716[_0x488e22(0x271)]();}function Et(_0x4d85ec,_0x71a71){const _0x5a3af7=_0x189c21;let _0x1f3b7f=_0x4d85ec-(new Date(_0x4d85ec)[_0x5a3af7(0x18d)]()+0x6)%0x7*M+_0x71a71*M*0x7;return{'start':_0x1f3b7f,'end':_0x1f3b7f+M*0x7-0x1};}function Dt(_0x587c22,_0x5d3146){const _0x47dc62=_0x189c21;let _0x2e4bf7=new Date(_0x587c22),_0x1b107d=new Date(_0x2e4bf7['getFullYear'](),_0x2e4bf7[_0x47dc62(0x216)]()+_0x5d3146,0x1),_0x5386e5=new Date(_0x2e4bf7[_0x47dc62(0x2a5)](),_0x2e4bf7['getMonth']()+_0x5d3146+0x1,0x1);return{'start':_0x1b107d[_0x47dc62(0x271)](),'end':_0x5386e5[_0x47dc62(0x271)]()-0x1};}function Ot(_0x5d5bf5,_0x4abdc7,_0x5809e1){const _0x5b9abc=_0x189c21;let _0x455587=kt(_0x5d5bf5),_0x3b15b2=kt(_0x5809e1);switch(_0x4abdc7){case'is':return _0x455587===_0x3b15b2;case _0x5b9abc(0x183):return _0x455587!==_0x3b15b2;default:return!0x1;}}function kt(_0x453985){const _0x7b1ee4=_0x189c21;return _0x453985===!0x0||_0x453985===_0x7b1ee4(0x228)||_0x453985===0x1||_0x453985==='1';}function At(_0xc3fa2e,_0x17d65c,_0x482df8,_0x3ea187){const _0x166a9d=_0x189c21;let _0x360f56=Nt(_0xc3fa2e,_0x3ea187),_0x510ff7=Nt(_0x482df8,_0x3ea187),_0x1cc0e6=_0x510ff7['length']>0x0&&_0x510ff7[_0x166a9d(0x2ab)](_0x47cd86=>_0x360f56['includes'](_0x47cd86));switch(_0x17d65c){case'is':case _0x166a9d(0x12d):return _0x1cc0e6;case'isNot':case'notContains':return!_0x1cc0e6;default:return!0x1;}}function jt(_0x5cb4e2,_0x229506,_0xe35baf){const _0x3011da=_0x189c21;let _0x12081f=Mt(_0x5cb4e2),_0x226646=Mt(_0xe35baf);switch(_0x229506){case'is':return _0x12081f===_0x226646;case _0x3011da(0x183):return _0x12081f!==_0x226646;case _0x3011da(0x12d):return _0x226646?_0x12081f[_0x3011da(0x1f9)](_0x226646):!0x1;case'notContains':return!_0x226646||!_0x12081f[_0x3011da(0x1f9)](_0x226646);default:return!0x1;}}function Mt(_0x5794b9){const _0x4f9a4b=_0x189c21;if(Array[_0x4f9a4b(0x286)](_0x5794b9))return _0x5794b9[_0x4f9a4b(0x1d0)](_0x4bddc5=>Mt(_0x4bddc5))[_0x4f9a4b(0x2fd)]('\x0a');if(_0x5794b9&&typeof _0x5794b9==_0x4f9a4b(0x270)){var _0x4251ea,_0x1577f8,_0x376d17,_0x306f02,_0x3e1226;let _0x9d9993=_0x5794b9;return String((_0x4251ea=(_0x1577f8=(_0x376d17=(_0x306f02=(_0x3e1226=_0x9d9993['name'])==null?_0x9d9993[_0x4f9a4b(0x351)]:_0x3e1226)==null?_0x9d9993[_0x4f9a4b(0x134)]:_0x306f02)==null?_0x9d9993[_0x4f9a4b(0x330)]:_0x376d17)==null?_0x9d9993['id']:_0x1577f8)==null?'':_0x4251ea)[_0x4f9a4b(0x378)]()['toLowerCase']();}return String(_0x5794b9==null?'':_0x5794b9)['trim']()[_0x4f9a4b(0x117)]();}function Nt(_0x59a42b,_0x29733b){const _0x28a220=_0x189c21;var _0x11ecea;let _0x1bab1a=Pt(_0x59a42b),_0x275274=Ft((_0x11ecea=_0x29733b[_0x28a220(0x1a2)])==null?{}:_0x11ecea);return _0x1bab1a[_0x28a220(0x399)](_0x53facf=>{const _0x2574ec=_0x28a220;var _0x3e1ee5;return(_0x3e1ee5=_0x275274[_0x2574ec(0x37d)](_0x53facf))==null?[_0x53facf]:_0x3e1ee5;})[_0x28a220(0x25c)]((_0x4650dc,_0x12bff,_0x35f331)=>_0x4650dc!==''&&_0x35f331[_0x28a220(0x2f7)](_0x4650dc)===_0x12bff);}function Pt(_0x48176d){const _0x3676b2=_0x189c21;if(_0x48176d==null||_0x48176d==='')return[];if(Array[_0x3676b2(0x286)](_0x48176d))return _0x48176d[_0x3676b2(0x399)](_0x8bc54f=>Pt(_0x8bc54f));if(_0x48176d&&typeof _0x48176d==_0x3676b2(0x270)){let _0xc30989=_0x48176d;return['id','name',_0x3676b2(0x351),'value',_0x3676b2(0x134)][_0x3676b2(0x399)](_0x525869=>Pt(_0xc30989[_0x525869]))['filter']((_0x3b5b11,_0x308724,_0x2fb87d)=>_0x2fb87d[_0x3676b2(0x2f7)](_0x3b5b11)===_0x308724);}return[Mt(_0x48176d)];}function Ft(_0x37e37f){const _0xe46062=_0x189c21;let _0x4f9902=new Map();return(Array[_0xe46062(0x286)](_0x37e37f[_0xe46062(0x11f)])?_0x37e37f[_0xe46062(0x11f)]:[])[_0xe46062(0x38f)](_0x555160=>{const _0x31bc74=_0xe46062;if(!_0x555160||typeof _0x555160!=_0x31bc74(0x270))return;let _0x2a2b46=Pt(_0x555160),_0x62f155=_0x2a2b46['filter']((_0x3b53ff,_0xb7873a)=>_0x3b53ff!==''&&_0x2a2b46[_0x31bc74(0x2f7)](_0x3b53ff)===_0xb7873a);_0x62f155[_0x31bc74(0x38f)](_0x4ff061=>_0x4f9902[_0x31bc74(0x11d)](_0x4ff061,_0x62f155));}),_0x4f9902;}function N(_0x23cd6e,_0x439465={},_0xef927d=_0x4e7dfb=>_0x4e7dfb,_0x41857e={}){const _0x3046cb=_0x189c21;var _0x1d286d,_0x4712f9,_0x5a337b,_0x3d3926;let _0x1ca03b=!gt[_0x3046cb(0x24f)](_0x23cd6e),_0x47b7cc=_0xef927d==null?_0x1d22b3=>_0x1d22b3:_0xef927d;return{'type':_0x23cd6e,'i18nKey':'base.fieldType.'+_0x23cd6e,'enabled':_0x1ca03b,'visibleInCreateMenu':_0x1ca03b,'createDefaultConfig':(_0x1d286d=_0x41857e[_0x3046cb(0x2ee)])==null?()=>({}):_0x1d286d,'createDefaultValue':(_0x4712f9=_0x41857e[_0x3046cb(0xe7)])==null?_0x2602c2=>{const _0x4716ba=_0x3046cb;var _0x3911d6;return(_0x3911d6=_0x2602c2[_0x4716ba(0x15d)])==null?null:_0x3911d6;}:_0x4712f9,'normalize':(_0x3b7806,_0xa7a8f4)=>_0x47b7cc(_0x3b7806,_0xa7a8f4),'validate':(_0x943159,_0x5a625d)=>{const _0x2e1ad6=_0x3046cb;var _0x15b6ee,_0x4a6ecf;return _0x1ca03b?(_0x15b6ee=(_0x4a6ecf=_0x41857e['validate'])==null?void 0x0:_0x4a6ecf[_0x2e1ad6(0x167)](_0x41857e,_0x943159,_0x5a625d))==null?{'valid':!0x0}:_0x15b6ee:{'valid':!0x1};},'compare':(_0x5ead4a,_0x5a7b5f)=>_t(_0x5ead4a,_0x5a7b5f),'filter':(_0x17f293,_0x5ea050,_0xd8700,_0x464634)=>vt(_0x17f293,_0x5ea050,_0xd8700,_0x464634),'toPlainText':(_0x5a337b=_0x41857e[_0x3046cb(0x1b2)])==null?_0x5bfa4a=>_0x5bfa4a==null?'':String(_0x5bfa4a):_0x5a337b,'fromPlainText':(_0x3d3926=_0x41857e[_0x3046cb(0x277)])==null?_0x5e9184=>_0x47b7cc(_0x5e9184,{'id':'','name':'','type':_0x23cd6e,'config':{}}):_0x3d3926,'getCapabilities':()=>{const _0x3f3814=_0x3046cb;var _0x3f6807;return{...ht,..._0x439465,'editable':_0x1ca03b&&((_0x3f6807=_0x439465[_0x3f3814(0x1e6)])==null?ht[_0x3f3814(0x1e6)]:_0x3f6807)};}};}function It(){const _0x461655=_0x189c21;return[N(_0x2b9397[_0x461655(0x284)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x461655(0x23c)}),'createDefaultValue':_0x1829e4=>{const _0x4cfb10=_0x461655;var _0x12fa06;return(_0x12fa06=_0x1829e4[_0x4cfb10(0x15d)])==null?'':_0x12fa06;}}),N(_0x2b9397[_0x461655(0x3a5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0xf19442=>_0xf19442==null||_0xf19442===''?null:String(_0xf19442),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x461655(0x19c)}})}),N(_0x2b9397['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x549cc9=>Array[_0x461655(0x286)](_0x549cc9)?_0x549cc9[_0x461655(0x1d0)](String):_0x549cc9==null?[]:[String(_0x549cc9)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x461655(0x19c)}}),'createDefaultValue':_0x59bd17=>{var _0x238a35;return(_0x238a35=_0x59bd17['defaultValue'])==null?[]:_0x238a35;}}),N(_0x2b9397[_0x461655(0x118)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Bt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x461655(0x170)}),'validate':Vt}),N(_0x2b9397[_0x461655(0x1a9)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},zt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x461655(0x200)}),'createDefaultValue':_0x4939f4=>{const _0x2619cb=_0x461655;var _0x45c218;return(_0x45c218=_0x4939f4[_0x2619cb(0x15d)])==null?[]:_0x45c218;},'validate':Ht}),N(_0x2b9397['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3b2006=>A(_0x3b2006),{'createDefaultConfig':()=>Rt(),'validate':Ut}),N(_0x2b9397[_0x461655(0x2ed)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2d44c6=>_0x2d44c6==null?[]:Array[_0x461655(0x286)](_0x2d44c6)?_0x2d44c6:[_0x2d44c6],{'createDefaultValue':_0xc7bae7=>{const _0x283942=_0x461655;var _0x38e1a3;return(_0x38e1a3=_0xc7bae7[_0x283942(0x15d)])==null?[]:_0x38e1a3;}}),N(_0x2b9397[_0x461655(0x35e)],{},_0x1f1d9d=>_0x1f1d9d==null||_0x1f1d9d===''?null:Number(_0x1f1d9d),{'createDefaultConfig':()=>Lt(),'validate':Wt}),N(_0x2b9397[_0x461655(0x22e)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x35d8da=>_0x35d8da===!0x0||_0x35d8da==='true'||_0x35d8da===0x1||_0x35d8da==='1',{'createDefaultConfig':()=>({'icon':_0x461655(0x15c),'color':_0x461655(0x187)}),'createDefaultValue':_0xaf79d0=>{const _0x55c0a5=_0x461655;var _0x18a79a;return(_0x18a79a=_0xaf79d0[_0x55c0a5(0x15d)])!=null&&_0x18a79a;},'validate':_0x53ff17=>typeof _0x53ff17==_0x461655(0xdc)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),N(_0x2b9397[_0x461655(0x1f2)],{'supportsRelation':!0x0},Kt,{'createDefaultConfig':()=>({'placeholder':_0x461655(0x2b5)}),'toPlainText':_0x12eb27=>qt(_0x12eb27),'fromPlainText':_0x3d3245=>Kt(_0x3d3245)}),N(_0x2b9397[_0x461655(0x295)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x461655(0x375),'pattern':'General'}}),'createDefaultValue':()=>null}),N(_0x2b9397[_0x461655(0x1bb)],{}),N(_0x2b9397[_0x461655(0x353)],{}),N(_0x2b9397['Button'],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),N(_0x2b9397[_0x461655(0x112)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x461655(0x28b)}),'createDefaultValue':()=>null}),N(_0x2b9397[_0x461655(0x32d)],{'usableAsTitle':!0x0},_0x3fe192=>_0x3fe192==null?null:String(_0x3fe192)['trim'](),{'validate':_0x4276b9=>_0x4276b9==null||_0x4276b9===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x4276b9))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),N(_0x2b9397[_0x461655(0xdf)],{'usableAsTitle':!0x0},_0xca9f38=>_0xca9f38==null?null:String(_0xca9f38)[_0x461655(0x378)](),{'validate':_0x5ce048=>_0x5ce048==null||_0x5ce048===''||Yt(String(_0x5ce048))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x461655(0x225)}}),N(_0x2b9397[_0x461655(0x199)],{'usableAsTitle':!0x0}),N(_0x2b9397[_0x461655(0x363)],{'usableAsTitle':!0x0}),N(_0x2b9397[_0x461655(0x2c3)],{'usableAsGanttProgress':!0x0},_0x28207d=>_0x28207d==null||_0x28207d===''?null:Number(_0x28207d),{'createDefaultConfig':()=>({'format':_0x461655(0x10d),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x227c0e,_0x13596a)=>Gt(_0x227c0e,_0x13596a,_0x461655(0x230))}),N(_0x2b9397[_0x461655(0x303)],{},_0x17252a=>_0x17252a==null||_0x17252a===''?null:Number(_0x17252a),{'createDefaultConfig':()=>({...Lt(),'currencySymbol':'$'}),'validate':Wt}),N(_0x2b9397[_0x461655(0x2aa)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1ddb13=>_0x1ddb13==null||_0x1ddb13===''?null:Number(_0x1ddb13),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x24f4cb,_0x5b5744)=>Gt(_0x24f4cb,_0x5b5744,_0x461655(0x285))}),N(_0x2b9397[_0x461655(0x269)],{'supportsRelation':!0x0}),N(_0x2b9397['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),N(_0x2b9397[_0x461655(0x11a)],{'editable':!0x1,'groupable':!0x0},_0x117984=>_0x117984==null?null:String(_0x117984),{'createDefaultConfig':()=>({'provider':_0x461655(0x29b)}),'createDefaultValue':()=>null}),N(_0x2b9397['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x2ec663=>_0x2ec663==null?null:String(_0x2ec663),{'createDefaultConfig':()=>({'provider':_0x461655(0x29b)}),'createDefaultValue':()=>null}),N(_0x2b9397['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x31879f=>A(_0x31879f),{'createDefaultConfig':()=>Rt(),'createDefaultValue':()=>null,'validate':Ut}),N(_0x2b9397[_0x461655(0x171)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5f00c7=>A(_0x5f00c7),{'createDefaultConfig':()=>Rt(),'createDefaultValue':()=>null,'validate':Ut}),N(_0x2b9397[_0x461655(0x113)],{})];}function Lt(){const _0x3323e7=_0x189c21;return{'pattern':_0x3323e7(0x2c8),'decimalPlaces':0x2,'separatorStyle':_0x3323e7(0x290),'useThousands':!0x0,'abbreviation':_0x3323e7(0x2b4),'allowNegative':!0x0};}function Rt(){const _0x120230=_0x189c21;return{'locale':_0x120230(0x31f),'pattern':_0x120230(0x283),'includeTime':!0x1,'hourCycle':_0x120230(0x2d7),'defaultMode':_0x120230(0x2b4)};}function zt(_0x22d5a8){const _0x36d4a9=_0x189c21;return _0x22d5a8==null||_0x22d5a8===''?[]:Array[_0x36d4a9(0x286)](_0x22d5a8)?_0x22d5a8[_0x36d4a9(0x1d0)](String):[String(_0x22d5a8)];}function Bt(_0x4dcda1,_0x3210de){const _0x342f28=_0x189c21;var _0x1d91b0;return _0x4dcda1==null||_0x4dcda1===''?_0x3210de[_0x342f28(0x1a2)][_0x342f28(0x1f0)]===!0x0?[]:null:_0x3210de[_0x342f28(0x1a2)]['allowMultiple']===!0x0?Array[_0x342f28(0x286)](_0x4dcda1)?_0x4dcda1['map'](String):[String(_0x4dcda1)]:Array[_0x342f28(0x286)](_0x4dcda1)?String((_0x1d91b0=_0x4dcda1[0x0])==null?'':_0x1d91b0)||null:String(_0x4dcda1);}function Vt(_0x49016e,_0x3c60c4){const _0x1ce7cf=_0x189c21;return _0x3c60c4[_0x1ce7cf(0x1a2)]['allowMultiple']===!0x0?Ht(_0x49016e):_0x49016e==null||_0x49016e===''||typeof _0x49016e==_0x1ce7cf(0xca)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1ce7cf(0x389)};}function Ht(_0x325a14){const _0xdf47ce=_0x189c21;return _0x325a14==null||Array[_0xdf47ce(0x286)](_0x325a14)&&_0x325a14[_0xdf47ce(0x188)](_0x3d15e3=>typeof _0x3d15e3==_0xdf47ce(0xca))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xdf47ce(0x256)};}function Ut(_0x284ebe){const _0xc61842=_0x189c21;return _0x284ebe==null||typeof _0x284ebe==_0xc61842(0x2a3)&&Number[_0xc61842(0x314)](_0x284ebe)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function Wt(_0xfc6fd6,_0xe8057){const _0x403511=_0x189c21;return _0xfc6fd6==null||_0xfc6fd6===''?{'valid':!0x0}:typeof _0xfc6fd6!='number'||!Number[_0x403511(0x314)](_0xfc6fd6)?{'valid':!0x1,'reason':_0x403511(0x249)}:_0xe8057[_0x403511(0x1a2)][_0x403511(0x258)]===!0x1&&_0xfc6fd6<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function Gt(_0x4d0d80,_0x442858,_0x47a681){const _0x593da6=_0x189c21;var _0x1ffb18,_0x6def,_0x2650b7,_0x583f29;let _0x576c18=Wt(_0x4d0d80,_0x442858);if(!_0x576c18['valid']||_0x4d0d80==null||_0x4d0d80==='')return _0x576c18;let _0x575ca1=Number((_0x1ffb18=(_0x6def=_0x442858[_0x593da6(0x1a2)][_0x593da6(0x15a)])==null?_0x442858[_0x593da6(0x1a2)][_0x593da6(0x250)]:_0x6def)==null?0x0:_0x1ffb18),_0x19654d=Number((_0x2650b7=(_0x583f29=_0x442858[_0x593da6(0x1a2)][_0x593da6(0x301)])==null?_0x442858[_0x593da6(0x1a2)][_0x593da6(0x2d3)]:_0x583f29)==null?0x64:_0x2650b7),_0x31645f=Number(_0x4d0d80);return _0x31645f>=_0x575ca1&&_0x31645f<=_0x19654d?{'valid':!0x0}:{'valid':!0x1,'reason':_0x47a681};}function Kt(_0x2510ae){const _0x18a3e7=_0x189c21;if(_0x2510ae==null||_0x2510ae==='')return null;if(typeof _0x2510ae=='object'&&!Array['isArray'](_0x2510ae)){let _0x12faa7=_0x2510ae,_0x1b58b9=typeof _0x12faa7[_0x18a3e7(0x134)]==_0x18a3e7(0xca)?_0x12faa7[_0x18a3e7(0x134)][_0x18a3e7(0x378)]():'',_0x27e37c=typeof _0x12faa7[_0x18a3e7(0x2c2)]==_0x18a3e7(0xca)?_0x12faa7['url'][_0x18a3e7(0x378)]():'',_0x232186=Jt(_0x27e37c||_0x1b58b9);return _0x232186?{'text':_0x1b58b9||_0x27e37c||_0x232186,'url':_0x232186}:null;}let _0x10c8b4=String(_0x2510ae)[_0x18a3e7(0x378)](),_0x3090e3=Jt(_0x10c8b4);return _0x3090e3?{'text':_0x10c8b4,'url':_0x3090e3}:null;}function qt(_0x3fef5d){const _0x28e4ca=_0x189c21;if(_0x3fef5d==null)return'';if(typeof _0x3fef5d==_0x28e4ca(0x270)&&!Array[_0x28e4ca(0x286)](_0x3fef5d)){let _0x101066=_0x3fef5d;return String(_0x101066['text']||_0x101066[_0x28e4ca(0x2c2)]||'');}return String(_0x3fef5d);}function Jt(_0x20a7ed){const _0xb7aabb=_0x189c21;let _0x3d55ad=_0x20a7ed[_0xb7aabb(0x378)]();if(!_0x3d55ad)return'';let _0x1e5aae=/^[a-z][a-z\d+.-]*:/i[_0xb7aabb(0x1b5)](_0x3d55ad)?_0x3d55ad:_0x3d55ad['startsWith']('//')?_0xb7aabb(0x357)+_0x3d55ad:_0xb7aabb(0x1c1)+_0x3d55ad;try{let _0x1852ff=new URL(_0x1e5aae);return _0x1852ff['protocol']===_0xb7aabb(0x34c)||_0x1852ff[_0xb7aabb(0x12b)]==='https:'?_0x1852ff[_0xb7aabb(0x169)]:'';}catch{return'';}}function Yt(_0x416e97){const _0x5ae5d6=_0x189c21;let _0x4ee68c=_0x416e97[_0x5ae5d6(0x2f7)]('@');if(_0x4ee68c<=0x0||_0x4ee68c!==_0x416e97['lastIndexOf']('@'))return!0x1;let _0x51d0b9=_0x416e97[_0x5ae5d6(0xcf)](_0x4ee68c+0x1);return _0x51d0b9[_0x5ae5d6(0x1f9)]('.')&&!_0x416e97[_0x5ae5d6(0x1f9)]('\x20')&&!_0x51d0b9['startsWith']('.')&&!_0x51d0b9[_0x5ae5d6(0x1c4)]('.');}const P={'table':_0x23a18b=>['tables',_0x23a18b],'field':(_0xbd8d7d,_0x1c889d)=>['tables',_0xbd8d7d,_0x189c21(0xfb),_0x1c889d],'fieldOrder':(_0x2c1a88,_0x10392e)=>['tables',_0x2c1a88,_0x189c21(0x1d5),_0x10392e],'record':(_0x4e028e,_0x304d10)=>[_0x189c21(0x2ea),_0x4e028e,_0x189c21(0x2ce),_0x304d10],'cell':(_0x72ad0a,_0x19fcb7,_0x280f69)=>[_0x189c21(0x2ea),_0x72ad0a,'records',_0x19fcb7,_0x189c21(0x21c),_0x280f69],'cellData':(_0x5ecc8c,_0x304929,_0x35f386)=>[_0x189c21(0x2ea),_0x5ecc8c,_0x189c21(0x24c),String(_0x304929),String(_0x35f386)],'attachmentSet':(_0x313b80,_0x165636)=>['tables',_0x313b80,_0x189c21(0x313),_0x189c21(0x124),_0x165636],'attachment':(_0x1cc8c4,_0x459437)=>[_0x189c21(0x2ea),_0x1cc8c4,_0x189c21(0x313),'attachments',_0x459437],'view':(_0x332822,_0x13b786)=>['tables',_0x332822,_0x189c21(0x12f),_0x13b786],'viewFieldHidden':(_0x4d362d,_0x17099e,_0x4e7a83)=>[_0x189c21(0x2ea),_0x4d362d,'views',_0x17099e,_0x189c21(0xf3),_0x4e7a83,_0x189c21(0x292)]};function F(_0x20da36){const _0x282c9f=_0x189c21;return _0x20da36[_0x282c9f(0x255)]((_0x2221c3,_0x312d54)=>_0x2221c3==null?_0x312d54:_0x1c896f['type'][_0x282c9f(0xc0)](_0x2221c3,_0x312d54),void 0x0);}var I=class{[_0x189c21(0x39d)](_0x496bf1,_0x440e8c){const _0x38fdd3=_0x189c21;let _0x4a8127=this['renameFormulaUnitReferences'](_0x496bf1,_0x496bf1[_0x38fdd3(0x1cf)],_0x440e8c);return F([this[_0x38fdd3(0x349)]([_0x38fdd3(0x1cf)],_0x496bf1['name'],_0x440e8c),..._0x4a8127?[_0x4a8127]:[]]);}[_0x189c21(0x373)](_0x1e7ec6,_0xf21b01,_0x11d60c){const _0x2add1e=_0x189c21;let _0x49ba43=Object[_0x2add1e(0x21c)](_0x1e7ec6[_0x2add1e(0x2ea)])[_0x2add1e(0x399)](_0x249682=>Object[_0x2add1e(0x21c)](_0x249682[_0x2add1e(0xfb)])[_0x2add1e(0x399)](_0x1ae257=>{const _0x7103e2=_0x2add1e;var _0x189e8a,_0x956c7f,_0x371fe6;if(_0x1ae257[_0x7103e2(0x2c7)]!==_0x2b9397[_0x7103e2(0x295)])return[];let _0x32bb1c=String((_0x189e8a=(_0x956c7f=_0x1ae257['config'])==null?void 0x0:_0x956c7f[_0x7103e2(0x32a)])==null?'':_0x189e8a),_0x5191e8=_0x545426(_0x32bb1c,_0xf21b01,_0x11d60c);return _0x5191e8===_0x32bb1c?[]:[this['_replaceOptional']([...P[_0x7103e2(0x198)](_0x249682['id'],_0x1ae257['id']),_0x7103e2(0x1a2),_0x7103e2(0x32a)],(_0x371fe6=_0x1ae257[_0x7103e2(0x1a2)])==null?void 0x0:_0x371fe6[_0x7103e2(0x32a)],_0x5191e8)];}));return _0x49ba43[_0x2add1e(0x149)]>0x0?F(_0x49ba43):void 0x0;}[_0x189c21(0x10c)](_0x3e9492,_0x74d55a,_0x554b1c=_0x3e9492[_0x189c21(0x106)][_0x189c21(0x149)]){const _0x4e6d08=_0x189c21;return F([_0x1c896f[_0x4e6d08(0x2d6)](P[_0x4e6d08(0x142)](_0x74d55a['id']),_0x74d55a),_0x1c896f['insertOp'](['tableOrder',_0x554b1c],_0x74d55a['id'])]);}['renameTable'](_0x5e300f,_0x445cae,_0x3e16f5){const _0x55786e=_0x189c21;let _0x416fa3=_0x5e300f['tables'][_0x445cae][_0x55786e(0x1cf)],_0x1dd20a=Object[_0x55786e(0x21c)](_0x5e300f['tables'])[_0x55786e(0x399)](_0x4b31f4=>Object[_0x55786e(0x21c)](_0x4b31f4[_0x55786e(0xfb)])['flatMap'](_0x29736f=>{const _0x48fcae=_0x55786e;var _0x11e233,_0x2a1b8c;if(_0x29736f[_0x48fcae(0x2c7)]!==_0x2b9397[_0x48fcae(0x295)])return[];let _0x4e6ecf=String((_0x11e233=(_0x2a1b8c=_0x29736f[_0x48fcae(0x1a2)])==null?void 0x0:_0x2a1b8c[_0x48fcae(0x32a)])==null?'':_0x11e233),_0x4d67c5=nn(_0x4e6ecf,_0x416fa3,_0x3e16f5);return _0x4d67c5===_0x4e6ecf?[]:[this[_0x48fcae(0x395)](_0x5e300f,_0x4b31f4['id'],_0x29736f['id'],{'config':{..._0x29736f['config'],'formula':_0x4d67c5}})];}));return F([_0x1c896f[_0x55786e(0x22a)]([...P['table'](_0x445cae),'name'],_0x416fa3,_0x3e16f5),..._0x1dd20a]);}['deleteTable'](_0x449ebe,_0x2ced02){const _0x6d8f97=_0x189c21;let _0x54e21f=_0x449ebe[_0x6d8f97(0x2ea)][_0x2ced02],_0x2837ca=_0x449ebe[_0x6d8f97(0x106)][_0x6d8f97(0x2f7)](_0x2ced02);return F([_0x1c896f[_0x6d8f97(0x223)](P['table'](_0x2ced02),_0x54e21f),_0x1c896f[_0x6d8f97(0x223)](['tableOrder',_0x2837ca],_0x2ced02)]);}[_0x189c21(0x35c)](_0xef3acb,_0x24b850,_0x3fa78d){const _0x4d0fbb=_0x189c21;return this[_0x4d0fbb(0x2fc)](_0xef3acb,_0x24b850,[_0x3fa78d]);}[_0x189c21(0x2fc)](_0x13ae20,_0x51c915,_0x18c3b6){const _0x26e8d5=_0x189c21;let _0x387ab2=_0x13ae20['tables'][_0x51c915],_0x18af79=_0x18c3b6[_0x26e8d5(0x25c)](_0x25d992=>_0x25d992&&!_0x387ab2[_0x26e8d5(0x2ce)][_0x25d992['id']]);if(!_0x18af79[_0x26e8d5(0x149)])return _0x1c896f[_0x26e8d5(0x22a)]([...P[_0x26e8d5(0x142)](_0x51c915),'records'],_0x387ab2[_0x26e8d5(0x2ce)],_0x387ab2['records']);let _0x52f3ca=new _0x1c896f['WriteCursor'](),_0xac7943=[..._0x18af79][_0x26e8d5(0x273)]((_0x3feb80,_0x3c7189)=>_0x3feb80['id']<_0x3c7189['id']?-0x1:+(_0x3feb80['id']>_0x3c7189['id'])),_0x4b98ae=[...P[_0x26e8d5(0x142)](_0x51c915),_0x26e8d5(0x2ce)];_0x52f3ca[_0x26e8d5(0x2f1)](_0x4b98ae);for(let _0x26c427 of _0xac7943)_0x52f3ca[_0x26e8d5(0x26a)](_0x26c427['id']),_0x52f3ca[_0x26e8d5(0xfc)]('i',_0x26c427),_0x52f3ca['ascend']();for(let _0xa7861a=0x0;_0xa7861a<_0x4b98ae[_0x26e8d5(0x149)];_0xa7861a+=0x1)_0x52f3ca[_0x26e8d5(0x3a3)]();return F([_0x52f3ca[_0x26e8d5(0x37d)](),this[_0x26e8d5(0x115)](_0x13ae20,_0x51c915,_0x18af79)]);}['deleteRecord'](_0x14ff8b,_0x364995,_0x26a0fa){return this['deleteRecords'](_0x14ff8b,_0x364995,[_0x26a0fa]);}['deleteRecords'](_0x50d523,_0x3b466d,_0x2274e3){const _0x320a7b=_0x189c21;let _0x5430f6=_0x50d523[_0x320a7b(0x2ea)][_0x3b466d],_0x2ce6ec=Array[_0x320a7b(0x1dd)](new Set(_0x2274e3))[_0x320a7b(0x25c)](_0x11b011=>_0x5430f6['records'][_0x11b011]);if(!_0x2ce6ec[_0x320a7b(0x149)])return _0x1c896f['replaceOp']([...P[_0x320a7b(0x142)](_0x3b466d),_0x320a7b(0x2ce)],_0x5430f6['records'],_0x5430f6['records']);let _0x34dd90=new Set(_0x2ce6ec),_0x53e245=_0x2ce6ec[_0x320a7b(0x1d0)](_0x50a71f=>{const _0x3c6ef0=_0x320a7b;var _0x4522a1,_0x3d2690;return{'recordId':_0x50a71f,'index':(_0x4522a1=(_0x3d2690=_0x5430f6[_0x3c6ef0(0x34a)])==null?void 0x0:_0x3d2690[_0x3c6ef0(0x2f7)](_0x50a71f))==null?-0x1:_0x4522a1};})[_0x320a7b(0x25c)](_0x3e85c4=>_0x3e85c4['index']>=0x0)['sort']((_0x481e3b,_0x4783b0)=>_0x4783b0[_0x320a7b(0x22b)]-_0x481e3b[_0x320a7b(0x22b)]);return F([..._0x2ce6ec['map'](_0x56a011=>_0x1c896f[_0x320a7b(0x223)](P[_0x320a7b(0x215)](_0x3b466d,_0x56a011),_0x5430f6[_0x320a7b(0x2ce)][_0x56a011])),..._0x53e245[_0x320a7b(0x1d0)](({recordId:_0xb2bfdb,index:_0x4ffeb0})=>_0x1c896f[_0x320a7b(0x223)](['tables',_0x3b466d,_0x320a7b(0x34a),_0x4ffeb0],_0xb2bfdb)),...this[_0x320a7b(0x2af)](_0x5430f6,_0x3b466d,_0x48060e=>{const _0x5d4a6a=_0x320a7b;let _0x66188d=_0x48060e[_0x5d4a6a(0xcf)](_0x48060e[_0x5d4a6a(0x186)]('\x1f')+0x1);return _0x34dd90[_0x5d4a6a(0x24f)](_0x66188d);})]);}[_0x189c21(0x325)](_0x11ee19,_0x5121e9,_0x5c2d04,_0x3ca3ae){const _0x13f671=_0x189c21;return this[_0x13f671(0x35c)](_0x11ee19,_0x5121e9,{..._0x3ca3ae,'values':{..._0x11ee19[_0x13f671(0x2ea)][_0x5121e9]['records'][_0x5c2d04][_0x13f671(0x21c)],..._0x3ca3ae[_0x13f671(0x21c)]}});}[_0x189c21(0x2da)](_0x4c536a,_0x40d621,_0x243f68,_0x389e2c){const _0x1c628=_0x189c21;let _0x213fb5=_0x4c536a[_0x1c628(0x2ea)][_0x40d621],_0x55f3aa=[...P['record'](_0x40d621,_0x243f68),'orderKey'],_0x5d0960=Object[_0x1c628(0x21c)](_0x213fb5[_0x1c628(0x2ce)])[_0x1c628(0x1d0)](_0x269809=>_0x269809['id']===_0x243f68?{..._0x269809,'orderKey':_0x389e2c}:_0x269809)['sort']((_0x29b854,_0x20ce7a)=>{const _0x3eae25=_0x1c628;var _0xb706a3,_0x517620;return String((_0xb706a3=_0x29b854[_0x3eae25(0x328)])==null?_0x29b854['id']:_0xb706a3)[_0x3eae25(0x1c7)](String((_0x517620=_0x20ce7a[_0x3eae25(0x328)])==null?_0x20ce7a['id']:_0x517620));})['map'](_0x70a4e5=>_0x70a4e5['id']),_0x5b297c=[...P['table'](_0x40d621),'recordOrder'];return F([_0x1c896f[_0x1c628(0x22a)](_0x55f3aa,_0x213fb5[_0x1c628(0x2ce)][_0x243f68][_0x1c628(0x328)],_0x389e2c),_0x213fb5['recordOrder']?_0x1c896f['replaceOp'](_0x5b297c,_0x213fb5[_0x1c628(0x34a)],_0x5d0960):_0x1c896f['insertOp'](_0x5b297c,_0x5d0960)]);}[_0x189c21(0x141)](_0x485291,_0x220880,_0x2ecda2,_0x241bdf,_0x421be8){const _0x6c72fe=_0x189c21;var _0x18fb18,_0x4f91dd;let _0x55b737=_0x485291[_0x6c72fe(0x2ea)][_0x220880],_0x40764e=Xt(_0x55b737,_0x2ecda2,_0x241bdf)?_0x55b737:w(_0x55b737),_0x4e75cd=(_0x18fb18=_0x40764e[_0x6c72fe(0x235)])==null?void 0x0:_0x18fb18[_0x2ecda2],_0x27622e=(_0x4f91dd=_0x40764e[_0x6c72fe(0x377)])==null?void 0x0:_0x4f91dd[_0x241bdf];if(_0x4e75cd==null||_0x27622e==null){var _0xaea9a2;return this[_0x6c72fe(0x349)](P['cell'](_0x220880,_0x2ecda2,_0x241bdf),(_0xaea9a2=_0x485291[_0x6c72fe(0x2ea)][_0x220880])==null||(_0xaea9a2=_0xaea9a2[_0x6c72fe(0x2ce)][_0x2ecda2])==null?void 0x0:_0xaea9a2[_0x6c72fe(0x21c)][_0x241bdf],_0x421be8);}return this[_0x6c72fe(0x238)](_0x485291,_0x220880,[{'row':_0x4e75cd,'col':_0x27622e,'value':_0x421be8}]);}['setRecordValues'](_0x4558c2,_0x1e6ad8,_0x318f5d){const _0x3b51f7=_0x189c21;let _0x401e8e=_0x4558c2['tables'][_0x1e6ad8],_0x32bf8e=_0x318f5d['every'](_0x50330c=>Object[_0x3b51f7(0x1e7)](_0x50330c[_0x3b51f7(0x21c)])[_0x3b51f7(0x188)](_0x66e61e=>Xt(_0x401e8e,_0x50330c[_0x3b51f7(0x30a)],_0x66e61e)))?_0x401e8e:w(_0x401e8e),_0x4e4c5f=_0x318f5d[_0x3b51f7(0x399)](_0x4e85ba=>Object[_0x3b51f7(0x2eb)](_0x4e85ba[_0x3b51f7(0x21c)])[_0x3b51f7(0x399)](([_0x5e8030,_0x2d1a5e])=>{const _0x3b3b69=_0x3b51f7;var _0x3b1c02,_0x407b1e;let _0x152c0e=(_0x3b1c02=_0x32bf8e[_0x3b3b69(0x235)])==null?void 0x0:_0x3b1c02[_0x4e85ba[_0x3b3b69(0x30a)]],_0x394360=(_0x407b1e=_0x32bf8e[_0x3b3b69(0x377)])==null?void 0x0:_0x407b1e[_0x5e8030];return _0x152c0e==null||_0x394360==null?[]:[{'row':_0x152c0e,'col':_0x394360,'value':_0x2d1a5e}];})),_0x874dbf=_0x318f5d[_0x3b51f7(0x399)](_0x4ebe7e=>{const _0x115c12=_0x3b51f7;var _0x1069ec;return Object[_0x115c12(0x2eb)]((_0x1069ec=_0x4ebe7e[_0x115c12(0x13d)])==null?{}:_0x1069ec)[_0x115c12(0x1d0)](([_0x21f259,_0x463d97])=>{const _0x1403cb=_0x115c12;var _0x3d8173;let _0xee5b61=[...P[_0x1403cb(0x215)](_0x1e6ad8,_0x4ebe7e[_0x1403cb(0x30a)]),_0x21f259],_0x46c23c=(_0x3d8173=_0x4558c2['tables'][_0x1e6ad8])==null||(_0x3d8173=_0x3d8173[_0x1403cb(0x2ce)][_0x4ebe7e[_0x1403cb(0x30a)]])==null?void 0x0:_0x3d8173[_0x21f259];return this['_replaceOptional'](_0xee5b61,_0x46c23c,_0x463d97);});});return F([this['setRangeValues'](_0x4558c2,_0x1e6ad8,_0x4e4c5f),..._0x874dbf]);}['setRangeValues'](_0x4bc7e4,_0x45a14b,_0x17e587){const _0x4d752e=_0x189c21;let _0x2a0058=_0x4bc7e4[_0x4d752e(0x2ea)][_0x45a14b],_0x291109=_0x17e587[_0x4d752e(0x188)](_0x172a30=>Zt(_0x2a0058,_0x172a30[_0x4d752e(0x193)],_0x172a30['col']))?_0x2a0058:w(_0x2a0058),_0x2f9174=_0x17e587['flatMap'](_0x730e91=>{const _0x4fccda=_0x4d752e;var _0x109dad,_0x540506,_0xd0a75a,_0xd4548;let _0x32eb54=(_0x109dad=_0x291109[_0x4fccda(0x390)])==null?void 0x0:_0x109dad[_0x730e91['col']],_0x3fa331=(_0x540506=_0x291109[_0x4fccda(0xc5)])==null?void 0x0:_0x540506[_0x730e91[_0x4fccda(0x193)]],_0x1e4687=_0x32eb54?_0x291109[_0x4fccda(0xfb)][_0x32eb54]:void 0x0,_0x837b7c=T(_0x730e91[_0x4fccda(0x330)],_0x1e4687),_0x4a8e13=(_0xd0a75a=_0x291109[_0x4fccda(0x24c)])==null||(_0xd0a75a=_0xd0a75a[_0x730e91[_0x4fccda(0x193)]])==null?void 0x0:_0xd0a75a[_0x730e91[_0x4fccda(0x2a1)]],_0x138de0=this[_0x4fccda(0x349)](P[_0x4fccda(0x24c)](_0x45a14b,_0x730e91[_0x4fccda(0x193)],_0x730e91[_0x4fccda(0x2a1)]),_0x4a8e13,_0x837b7c);if(!_0x32eb54||!_0x3fa331)return[_0x138de0];let _0x18d247=(_0xd4548=_0x291109['records'][_0x3fa331])==null?void 0x0:_0xd4548[_0x4fccda(0x21c)][_0x32eb54],_0xfccbb8=(_0x1e4687==null?void 0x0:_0x1e4687[_0x4fccda(0x2c7)])===_0x2b9397[_0x4fccda(0x2ed)]?E(_0x730e91[_0x4fccda(0x330)]):Pe(_0x730e91[_0x4fccda(0x330)],_0x837b7c,_0x1e4687,_0x291109,_0x3fa331),_0x123d64=[_0x138de0,this[_0x4fccda(0x349)](P[_0x4fccda(0xef)](_0x45a14b,_0x3fa331,_0x32eb54),_0x18d247,_0xfccbb8)];if((_0x1e4687==null?void 0x0:_0x1e4687[_0x4fccda(0x2c7)])!==_0x2b9397[_0x4fccda(0x2ed)])return _0x123d64;let _0x26fe68=this[_0x4fccda(0x162)](_0x291109,_0x45a14b,_0x3fa331,_0x32eb54,_0xfccbb8);return[..._0x123d64,..._0x26fe68];});return _0x2f9174[_0x4d752e(0x149)]?F(_0x2f9174):_0x1c896f[_0x4d752e(0x22a)]([_0x4d752e(0x2ea),_0x45a14b,_0x4d752e(0x24c)],_0x291109[_0x4d752e(0x24c)],_0x291109['cellData']);}['createField'](_0x2c75e1,_0x297e53,_0x1fe006){const _0x71acf7=_0x189c21;var _0x3fb5b8,_0x4187c0;let _0x5c796e=_0x2c75e1[_0x71acf7(0x2ea)][_0x297e53];if(_0x5c796e[_0x71acf7(0xfb)][_0x1fe006[_0x71acf7(0x198)]['id']]||_0x5c796e[_0x71acf7(0x1d5)]['includes'](_0x1fe006[_0x71acf7(0x198)]['id']))return _0x1c896f[_0x71acf7(0x22a)](['tables',_0x297e53,_0x71acf7(0x1d5)],_0x5c796e[_0x71acf7(0x1d5)],_0x5c796e[_0x71acf7(0x1d5)]);let _0x35bc08=(_0x3fb5b8=_0x1fe006[_0x71acf7(0x22b)])==null?_0x5c796e['fieldOrder'][_0x71acf7(0x149)]:_0x3fb5b8,_0x125140=Object[_0x71acf7(0x21c)]((_0x4187c0=_0x5c796e[_0x71acf7(0x12f)])==null?{}:_0x4187c0)[_0x71acf7(0x399)](_0x51e600=>{const _0x5b7ae6=_0x71acf7;var _0x45de61,_0x46e653;if(!_0x51e600[_0x5b7ae6(0x1d5)]||_0x51e600['fieldOrder'][_0x5b7ae6(0x1f9)](_0x1fe006[_0x5b7ae6(0x198)]['id']))return[];let _0x24adfd=tn((_0x45de61=(_0x46e653=_0x1fe006[_0x5b7ae6(0x2ff)])==null?void 0x0:_0x46e653[_0x51e600['id']])==null?_0x35bc08:_0x45de61,_0x51e600['fieldOrder']['length']);return[_0x1c896f[_0x5b7ae6(0x2d6)]([...P['view'](_0x297e53,_0x51e600['id']),_0x5b7ae6(0x1d5),_0x24adfd],_0x1fe006[_0x5b7ae6(0x198)]['id'])];});return F([_0x1c896f[_0x71acf7(0x2d6)](P[_0x71acf7(0x198)](_0x297e53,_0x1fe006[_0x71acf7(0x198)]['id']),_0x1fe006[_0x71acf7(0x198)]),_0x1c896f[_0x71acf7(0x2d6)](P['fieldOrder'](_0x297e53,_0x35bc08),_0x1fe006[_0x71acf7(0x198)]['id']),..._0x125140]);}[_0x189c21(0x3a0)](_0x92df6b,_0x16d4f,_0x549f21,_0x45a403){const _0x2cc872=_0x189c21;var _0x48db40,_0x197d87;let _0x1bb19d=_0x92df6b['tables'][_0x16d4f];if(!_0x1bb19d['fields'][_0x549f21]||_0x1bb19d[_0x2cc872(0xfb)][_0x45a403['field']['id']]||_0x1bb19d[_0x2cc872(0x1d5)][_0x2cc872(0x1f9)](_0x45a403['field']['id']))return _0x1c896f[_0x2cc872(0x22a)]([_0x2cc872(0x2ea),_0x16d4f,_0x2cc872(0x1d5)],_0x1bb19d['fieldOrder'],_0x1bb19d['fieldOrder']);let _0x1cbfcb=(_0x48db40=_0x45a403[_0x2cc872(0x22b)])==null?_0x1bb19d[_0x2cc872(0x1d5)][_0x2cc872(0x2f7)](_0x549f21)+0x1:_0x48db40,_0x4f3c19=_0x1bb19d[_0x2cc872(0x1d5)][_0x2cc872(0x25c)](_0x38e714=>_0x38e714!==_0x45a403[_0x2cc872(0x198)]['id']),_0x3ac029=$t(_0x4f3c19,_0x45a403[_0x2cc872(0x198)]['id'],_0x1cbfcb),_0xef64a2=Object['values']((_0x197d87=_0x1bb19d[_0x2cc872(0x12f)])==null?{}:_0x197d87)[_0x2cc872(0x399)](_0x1db00f=>{const _0x3e097e=_0x2cc872;var _0x5062f5,_0x435b36,_0x1591ef,_0x12ae87,_0x2e10c7;let _0x23bf25=(_0x5062f5=_0x1db00f[_0x3e097e(0x1d5)])!=null&&_0x5062f5[_0x3e097e(0x149)]?_0x1db00f['fieldOrder']:_0x4f3c19;if(_0x23bf25[_0x3e097e(0x1f9)](_0x45a403[_0x3e097e(0x198)]['id']))return[];let _0x1f55fb=$t(_0x23bf25,_0x45a403[_0x3e097e(0x198)]['id'],(_0x435b36=(_0x1591ef=_0x45a403['viewIndexes'])==null?void 0x0:_0x1591ef[_0x1db00f['id']])==null?_0x1cbfcb:_0x435b36),_0x1cb4ee=(_0x12ae87=_0x1db00f[_0x3e097e(0xf3)])==null?void 0x0:_0x12ae87[_0x549f21];return[this[_0x3e097e(0x349)]([...P[_0x3e097e(0x28f)](_0x16d4f,_0x1db00f['id']),_0x3e097e(0x1d5)],_0x1db00f[_0x3e097e(0x1d5)],_0x1f55fb),..._0x1cb4ee?[this['_replaceOptional']([...P['view'](_0x16d4f,_0x1db00f['id']),_0x3e097e(0xf3),_0x45a403['field']['id']],(_0x2e10c7=_0x1db00f['fieldSettings'])==null?void 0x0:_0x2e10c7[_0x45a403[_0x3e097e(0x198)]['id']],_0x1cb4ee)]:[]];}),_0x241be9=Object[_0x2cc872(0x21c)](_0x1bb19d[_0x2cc872(0x2ce)])['filter'](_0x16b96b=>Object[_0x2cc872(0x39c)][_0x2cc872(0x396)][_0x2cc872(0x167)](_0x16b96b['values'],_0x549f21))[_0x2cc872(0x1d0)](_0x3c8f05=>this[_0x2cc872(0x349)](P[_0x2cc872(0xef)](_0x16d4f,_0x3c8f05['id'],_0x45a403['field']['id']),_0x3c8f05[_0x2cc872(0x21c)][_0x45a403[_0x2cc872(0x198)]['id']],_0x3c8f05[_0x2cc872(0x21c)][_0x549f21]));return F([_0x1c896f[_0x2cc872(0x2d6)](P[_0x2cc872(0x198)](_0x16d4f,_0x45a403['field']['id']),_0x45a403[_0x2cc872(0x198)]),_0x1c896f[_0x2cc872(0x22a)](['tables',_0x16d4f,_0x2cc872(0x1d5)],_0x1bb19d[_0x2cc872(0x1d5)],_0x3ac029),..._0xef64a2,..._0x241be9]);}['updateField'](_0x359b1f,_0x4c8e63,_0x3cf484,_0x5ccad2){const _0x38c70e=_0x189c21;let _0x212bc3=_0x359b1f[_0x38c70e(0x2ea)][_0x4c8e63][_0x38c70e(0xfb)][_0x3cf484],_0x4db28e={..._0x212bc3,..._0x5ccad2};Object[_0x38c70e(0x1e7)](_0x5ccad2)[_0x38c70e(0x38f)](_0x59ff00=>{_0x5ccad2[_0x59ff00]===void 0x0&&delete _0x4db28e[_0x59ff00];});let _0x52e550=_0x1c896f[_0x38c70e(0x22a)](P[_0x38c70e(0x198)](_0x4c8e63,_0x3cf484),_0x212bc3,_0x4db28e);return _0x4db28e['type']===_0x2b9397[_0x38c70e(0x295)]?F([_0x52e550,...this[_0x38c70e(0xce)](_0x359b1f,_0x4c8e63,_0x3cf484,_0x4db28e)]):_0x52e550;}[_0x189c21(0x315)](_0xe83c83,_0x1f8826,_0x4ebe15,_0x493522){return this['updateField'](_0xe83c83,_0x1f8826,_0x4ebe15,_0x493522);}['deleteField'](_0x34d4e5,_0x5dbd75,_0x93f907){const _0x394f36=_0x189c21;let _0x39b2b9=_0x34d4e5[_0x394f36(0x2ea)][_0x5dbd75];if(!(_0x39b2b9!=null&&_0x39b2b9[_0x394f36(0xfb)][_0x93f907])||_0x39b2b9[_0x394f36(0x176)]===_0x93f907)return _0x1c896f[_0x394f36(0x22a)]([_0x394f36(0x2ea),_0x5dbd75,_0x394f36(0x1d5)],_0x39b2b9==null?void 0x0:_0x39b2b9['fieldOrder'],_0x39b2b9==null?void 0x0:_0x39b2b9['fieldOrder']);let _0x4d507e=_0x39b2b9[_0x394f36(0x1d5)][_0x394f36(0x2f7)](_0x93f907),_0x5510c9=Object[_0x394f36(0x21c)](_0x39b2b9['views'])[_0x394f36(0x399)](_0x607b7f=>{const _0x1402b2=_0x394f36;var _0x4a33e7,_0x383813,_0x5d8dd7,_0x456d18,_0x23c2db,_0x130b61,_0x3f7d8f,_0x4a6ad1;let _0x3f0517=[],_0x243441=(_0x4a33e7=(_0x383813=_0x607b7f['fieldOrder'])==null?void 0x0:_0x383813[_0x1402b2(0x2f7)](_0x93f907))==null?-0x1:_0x4a33e7;_0x243441>=0x0&&_0x3f0517['push'](_0x1c896f[_0x1402b2(0x223)]([...P[_0x1402b2(0x28f)](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0x1d5),_0x243441],_0x93f907));let _0x1adc9b=(_0x5d8dd7=_0x607b7f['fieldSettings'])==null?void 0x0:_0x5d8dd7[_0x93f907];_0x1adc9b!==void 0x0&&_0x3f0517[_0x1402b2(0x2b9)](_0x1c896f['removeOp']([...P['view'](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0xf3),_0x93f907],_0x1adc9b));let _0x2450c8=_0x607b7f[_0x1402b2(0x25c)]?{..._0x607b7f['filter'],'conditions':_0x607b7f['filter'][_0x1402b2(0x2e1)][_0x1402b2(0x25c)](_0x32a1a6=>_0x32a1a6[_0x1402b2(0x2f3)]!==_0x93f907)}:_0x607b7f[_0x1402b2(0x25c)];_0x2450c8&&_0x2450c8['conditions']['length']!==((_0x456d18=_0x607b7f[_0x1402b2(0x25c)])==null?void 0x0:_0x456d18[_0x1402b2(0x2e1)][_0x1402b2(0x149)])&&_0x3f0517[_0x1402b2(0x2b9)](this['_replaceOptional']([...P['view'](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0x25c)],_0x607b7f[_0x1402b2(0x25c)],_0x2450c8));let _0x56f2d9=(_0x23c2db=_0x607b7f['sort'])==null?void 0x0:_0x23c2db['filter'](_0x4cf4cd=>_0x4cf4cd['fieldId']!==_0x93f907);_0x56f2d9&&_0x56f2d9[_0x1402b2(0x149)]!==((_0x130b61=_0x607b7f[_0x1402b2(0x273)])==null?void 0x0:_0x130b61[_0x1402b2(0x149)])&&_0x3f0517[_0x1402b2(0x2b9)](this[_0x1402b2(0x349)]([...P[_0x1402b2(0x28f)](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0x273)],_0x607b7f[_0x1402b2(0x273)],_0x56f2d9));let _0x250d0d=(_0x3f7d8f=_0x607b7f[_0x1402b2(0x200)])==null?void 0x0:_0x3f7d8f['filter'](_0x52345e=>_0x52345e[_0x1402b2(0x2f3)]!==_0x93f907);_0x250d0d&&_0x250d0d[_0x1402b2(0x149)]!==((_0x4a6ad1=_0x607b7f['group'])==null?void 0x0:_0x4a6ad1['length'])&&_0x3f0517[_0x1402b2(0x2b9)](this['_replaceOptional']([...P[_0x1402b2(0x28f)](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0x200)],_0x607b7f[_0x1402b2(0x200)],_0x250d0d));let _0x528595=en(_0x607b7f[_0x1402b2(0x1a2)],_0x93f907);return JSON[_0x1402b2(0x1b0)](_0x528595)!==JSON[_0x1402b2(0x1b0)](_0x607b7f[_0x1402b2(0x1a2)])&&_0x3f0517[_0x1402b2(0x2b9)](_0x1c896f[_0x1402b2(0x22a)]([...P['view'](_0x5dbd75,_0x607b7f['id']),_0x1402b2(0x1a2)],_0x607b7f[_0x1402b2(0x1a2)],_0x528595)),_0x3f0517;}),_0x5229c6=Object[_0x394f36(0x21c)](_0x39b2b9[_0x394f36(0x2ce)])['flatMap'](_0x30d076=>Object[_0x394f36(0x39c)][_0x394f36(0x396)][_0x394f36(0x167)](_0x30d076[_0x394f36(0x21c)],_0x93f907)?[_0x1c896f['removeOp'](P[_0x394f36(0xef)](_0x5dbd75,_0x30d076['id'],_0x93f907),_0x30d076[_0x394f36(0x21c)][_0x93f907])]:[]);return F([_0x1c896f[_0x394f36(0x223)](P[_0x394f36(0x198)](_0x5dbd75,_0x93f907),_0x39b2b9[_0x394f36(0xfb)][_0x93f907]),_0x1c896f[_0x394f36(0x223)](P[_0x394f36(0x1d5)](_0x5dbd75,_0x4d507e),_0x93f907),..._0x5510c9,..._0x5229c6,...this[_0x394f36(0x2af)](_0x39b2b9,_0x5dbd75,_0x10dc5d=>_0x10dc5d[_0x394f36(0x2a0)](_0x93f907+'\x1f'))]);}[_0x189c21(0x291)](_0x5befd3,_0x3c5507,_0xbe14b9,_0x49e4fe){const _0x358713=_0x189c21;let _0x1aaace=_0x5befd3['tables'][_0x3c5507][_0x358713(0x1d5)],_0x26b560=Qt(_0x1aaace,_0xbe14b9,_0x49e4fe);return _0x1c896f[_0x358713(0x22a)]([_0x358713(0x2ea),_0x3c5507,_0x358713(0x1d5)],_0x1aaace,_0x26b560);}['createView'](_0x44a3a0,_0x3d5d00,_0x19927d,_0x2e6ae7=_0x44a3a0[_0x189c21(0x2ea)][_0x3d5d00][_0x189c21(0x34d)][_0x189c21(0x149)]){const _0x389c15=_0x189c21;return F([_0x1c896f[_0x389c15(0x2d6)](P[_0x389c15(0x28f)](_0x3d5d00,_0x19927d['id']),_0x19927d),_0x1c896f['insertOp']([_0x389c15(0x2ea),_0x3d5d00,_0x389c15(0x34d),_0x2e6ae7],_0x19927d['id'])]);}[_0x189c21(0x1f6)](_0x138b25,_0xfe39cc,_0x5ac895,_0x6a4123){const _0x4ecc98=_0x189c21;return _0x1c896f[_0x4ecc98(0x22a)]([...P[_0x4ecc98(0x28f)](_0xfe39cc,_0x5ac895),_0x4ecc98(0x1cf)],_0x138b25[_0x4ecc98(0x2ea)][_0xfe39cc][_0x4ecc98(0x12f)][_0x5ac895]['name'],_0x6a4123);}[_0x189c21(0x2c1)](_0xeb5690,_0x2a4492,_0x45720a){const _0x24fe85=_0x189c21;let _0x26d933=_0xeb5690[_0x24fe85(0x2ea)][_0x2a4492],_0x58a3f7=_0x26d933[_0x24fe85(0x12f)][_0x45720a],_0x221f5c=_0x26d933['viewOrder'][_0x24fe85(0x2f7)](_0x45720a);return F([_0x1c896f[_0x24fe85(0x223)](P['view'](_0x2a4492,_0x45720a),_0x58a3f7),_0x1c896f[_0x24fe85(0x223)]([_0x24fe85(0x2ea),_0x2a4492,_0x24fe85(0x34d),_0x221f5c],_0x45720a)]);}[_0x189c21(0x15b)](_0x5d8ae3,_0x81a8d5,_0x17e183,_0x2ca78d){const _0x1e9959=_0x189c21;let _0x473c29=_0x5d8ae3[_0x1e9959(0x2ea)][_0x81a8d5][_0x1e9959(0x34d)],_0xd1b4c6=Qt(_0x473c29,_0x17e183,{'beforeFieldId':_0x2ca78d[_0x1e9959(0x1aa)],'afterFieldId':_0x2ca78d['afterViewId']});return _0x1c896f[_0x1e9959(0x22a)](['tables',_0x81a8d5,'viewOrder'],_0x473c29,_0xd1b4c6);}[_0x189c21(0x104)](_0x2fa395,_0x166a68,_0x4b676f,_0x118941){const _0x3b99c6=_0x189c21;var _0x2b8fe7;let _0x2011e0=(_0x2b8fe7=_0x2fa395[_0x3b99c6(0x2ea)][_0x166a68][_0x3b99c6(0x12f)][_0x4b676f][_0x3b99c6(0x1a2)])==null?{}:_0x2b8fe7,_0x27cf69={..._0x2011e0,..._0x118941};return Object[_0x3b99c6(0x1e7)](_0x118941)[_0x3b99c6(0x38f)](_0x557a05=>{_0x118941[_0x557a05]===void 0x0&&delete _0x27cf69[_0x557a05];}),_0x1c896f[_0x3b99c6(0x22a)]([...P['view'](_0x166a68,_0x4b676f),'config'],_0x2011e0,_0x27cf69);}['setViewFilter'](_0x26ee25,_0x1b4f9b,_0xe1e5db,_0x4ebac8){const _0x15d83b=_0x189c21;return this['_replaceOptional']([...P[_0x15d83b(0x28f)](_0x1b4f9b,_0xe1e5db),_0x15d83b(0x25c)],_0x26ee25[_0x15d83b(0x2ea)][_0x1b4f9b][_0x15d83b(0x12f)][_0xe1e5db][_0x15d83b(0x25c)],_0x4ebac8);}[_0x189c21(0x354)](_0x3fd1da,_0x53ad53,_0x33390b,_0x3cae79){const _0x5143ba=_0x189c21;return this[_0x5143ba(0x349)]([...P[_0x5143ba(0x28f)](_0x53ad53,_0x33390b),'sort'],_0x3fd1da[_0x5143ba(0x2ea)][_0x53ad53][_0x5143ba(0x12f)][_0x33390b][_0x5143ba(0x273)],_0x3cae79);}[_0x189c21(0x17b)](_0x293ac9,_0x3c4789,_0x397b14,_0x4078c0){const _0x42f9f5=_0x189c21;return this[_0x42f9f5(0x349)]([...P[_0x42f9f5(0x28f)](_0x3c4789,_0x397b14),'group'],_0x293ac9['tables'][_0x3c4789][_0x42f9f5(0x12f)][_0x397b14][_0x42f9f5(0x200)],_0x4078c0);}[_0x189c21(0x107)](_0x16ac49,_0x259677,_0x4f6f69,_0x2429ec,_0x5076fa){const _0x46cc51=_0x189c21;return this[_0x46cc51(0x25f)](_0x16ac49,_0x259677,_0x4f6f69,_0x2429ec,{'hidden':!_0x5076fa});}[_0x189c21(0x1ef)](_0x4fcb0f,_0x1ba7a2,_0x70734e,_0x4ac5a6,_0x42c4be){const _0x117068=_0x189c21;return this[_0x117068(0x25f)](_0x4fcb0f,_0x1ba7a2,_0x70734e,_0x4ac5a6,{'width':_0x42c4be});}[_0x189c21(0x340)](_0x1665f6,_0x2dcbf8,_0x52d30e,_0xeb879a,_0x59f5f9){const _0x51b9d8=_0x189c21;var _0x1347f9;let _0x53843d=_0x1665f6[_0x51b9d8(0x2ea)][_0x2dcbf8]['views'][_0x52d30e],_0x1736ba=Qt((_0x1347f9=_0x53843d[_0x51b9d8(0x1d5)])==null?_0x1665f6['tables'][_0x2dcbf8]['fieldOrder']:_0x1347f9,_0xeb879a,_0x59f5f9);return this[_0x51b9d8(0x349)]([...P[_0x51b9d8(0x28f)](_0x2dcbf8,_0x52d30e),'fieldOrder'],_0x53843d[_0x51b9d8(0x1d5)],_0x1736ba);}[_0x189c21(0x25f)](_0x40e408,_0x27f86e,_0xcf2227,_0x58eda7,_0x3ac735){const _0x300f2d=_0x189c21;var _0x24cb79;let _0x448a5b=(_0x24cb79=_0x40e408['tables'][_0x27f86e]['views'][_0xcf2227][_0x300f2d(0xf3)])==null?{}:_0x24cb79,_0x7d4c2={..._0x448a5b,[_0x58eda7]:{..._0x448a5b[_0x58eda7],..._0x3ac735}};return this[_0x300f2d(0x349)]([...P[_0x300f2d(0x28f)](_0x27f86e,_0xcf2227),_0x300f2d(0xf3)],_0x40e408[_0x300f2d(0x2ea)][_0x27f86e][_0x300f2d(0x12f)][_0xcf2227][_0x300f2d(0xf3)],_0x7d4c2);}['_createRecordOrderOp'](_0x3ac43c,_0xc312dc,_0x4d8102){const _0x539a4d=_0x189c21;let _0x24a339=_0x3ac43c['tables'][_0xc312dc],_0x250c00=new Set(_0x4d8102[_0x539a4d(0x1d0)](_0x2fac90=>_0x2fac90['id'])),_0x28f7a0=[...Object[_0x539a4d(0x21c)](_0x24a339['records'])[_0x539a4d(0x25c)](_0x20dbe8=>!_0x250c00[_0x539a4d(0x24f)](_0x20dbe8['id'])),..._0x4d8102]['sort']((_0x51ff14,_0x4581bc)=>{const _0xbcb256=_0x539a4d;var _0x3dfe0e,_0x53d6bd;return String((_0x3dfe0e=_0x51ff14[_0xbcb256(0x328)])==null?_0x51ff14['id']:_0x3dfe0e)[_0xbcb256(0x1c7)](String((_0x53d6bd=_0x4581bc['orderKey'])==null?_0x4581bc['id']:_0x53d6bd));})[_0x539a4d(0x1d0)](_0x666db2=>_0x666db2['id']),_0x5a7825=[...P[_0x539a4d(0x142)](_0xc312dc),'recordOrder'];return _0x24a339[_0x539a4d(0x34a)]?_0x1c896f[_0x539a4d(0x22a)](_0x5a7825,_0x24a339['recordOrder'],_0x28f7a0):_0x1c896f[_0x539a4d(0x2d6)](_0x5a7825,_0x28f7a0);}[_0x189c21(0xce)](_0x1669a5,_0x12f667,_0x2a95dc,_0x2b0d8c){const _0x19e249=_0x189c21;var _0x37c861,_0x165ae9,_0x37fc3c,_0x388ab8;let _0x5adca6=w(_0x1669a5['tables'][_0x12f667]),_0x19af16=String((_0x37c861=(_0x165ae9=_0x2b0d8c['config'])==null?void 0x0:_0x165ae9[_0x19e249(0x32a)])==null?'':_0x37c861)[_0x19e249(0x378)](),_0x526d62=(_0x37fc3c=_0x5adca6['colIndex'])==null?void 0x0:_0x37fc3c[_0x2a95dc];if(_0x526d62==null)return[];let _0x21ccc1=(_0x388ab8=_0x5adca6[_0x19e249(0x34a)])==null?Object['keys'](_0x5adca6[_0x19e249(0x2ce)]):_0x388ab8,_0x3800ae=_0x21ccc1[_0x19e249(0x1d0)](_0x4600b6=>{const _0x38df9b=_0x19e249;var _0x31d52a;return(_0x31d52a=_0x5adca6[_0x38df9b(0x235)])==null?void 0x0:_0x31d52a[_0x4600b6];})[_0x19e249(0x148)](_0x3b11a1=>_0x3b11a1!=null);return _0x21ccc1[_0x19e249(0x399)](_0x51db5f=>{const _0x5c1959=_0x19e249;var _0x331ff8,_0x1d7208;let _0x3bf32c=(_0x331ff8=_0x5adca6[_0x5c1959(0x235)])==null?void 0x0:_0x331ff8[_0x51db5f];if(_0x3bf32c==null)return[];let _0x413c20=(_0x1d7208=_0x5adca6['cellData'])==null||(_0x1d7208=_0x1d7208[_0x3bf32c])==null?void 0x0:_0x1d7208[_0x526d62],_0x1e182c=_0x19af16?_0x3bf32c===_0x3800ae?{'f':_0x19af16,'si':_0x2a95dc}:{'si':_0x2a95dc}:{'v':null,'t':null};return[this['_replaceOptional'](P[_0x5c1959(0x24c)](_0x12f667,_0x3bf32c,_0x526d62),_0x413c20,_0x1e182c)];});}['_setAttachmentResources'](_0x207608,_0x5b49ef,_0x5c026f,_0x24e6d6,_0x415b92){const _0x245fd4=_0x189c21;var _0x27693b;let _0x15a02c=Ie(_0x24e6d6,_0x5c026f),_0x5280d1=_0x415b92[_0x245fd4(0x1d0)]((_0x861fa8,_0x384d40)=>{var _0x32c899;return String((_0x32c899=_0x861fa8['id'])==null?_0x15a02c+'\x1f'+_0x384d40:_0x32c899);});return[this['_replaceOptional'](P[_0x245fd4(0x335)](_0x5b49ef,_0x15a02c),(_0x27693b=_0x207608[_0x245fd4(0x313)])==null||(_0x27693b=_0x27693b[_0x245fd4(0x124)])==null?void 0x0:_0x27693b[_0x15a02c],_0x5280d1),..._0x415b92[_0x245fd4(0x1d0)]((_0x19cb5e,_0x3f872c)=>{const _0x318701=_0x245fd4;var _0x8ad879;let _0x20438b=_0x5280d1[_0x3f872c];return this[_0x318701(0x349)](P[_0x318701(0x382)](_0x5b49ef,_0x20438b),(_0x8ad879=_0x207608[_0x318701(0x313)])==null||(_0x8ad879=_0x8ad879[_0x318701(0x18b)])==null?void 0x0:_0x8ad879[_0x20438b],{..._0x19cb5e,'id':_0x20438b});})];}[_0x189c21(0x2af)](_0x582bd2,_0x51281a,_0x537ab0){const _0x4f2075=_0x189c21;var _0x1b399e,_0x2fd65f;let _0x1d500f=(_0x1b399e=(_0x2fd65f=_0x582bd2[_0x4f2075(0x313)])==null?void 0x0:_0x2fd65f[_0x4f2075(0x124)])==null?{}:_0x1b399e,_0x34607b=Object[_0x4f2075(0x2eb)](_0x1d500f)[_0x4f2075(0x25c)](([_0x14849a])=>_0x537ab0(_0x14849a));if(!_0x34607b[_0x4f2075(0x149)])return[];let _0x2df1b7=new Set(Object['entries'](_0x1d500f)[_0x4f2075(0x25c)](([_0x5e6608])=>!_0x537ab0(_0x5e6608))[_0x4f2075(0x399)](([,_0x1a3c30])=>_0x1a3c30)),_0x4bcec5=new Set(_0x34607b[_0x4f2075(0x399)](([,_0x42b330])=>_0x42b330));return[..._0x34607b[_0x4f2075(0x1d0)](([_0x495cdb,_0x792afe])=>_0x1c896f['removeOp'](P[_0x4f2075(0x335)](_0x51281a,_0x495cdb),_0x792afe)),...Array[_0x4f2075(0x1dd)](_0x4bcec5)[_0x4f2075(0x399)](_0x25759b=>{const _0x42edf3=_0x4f2075;var _0x35173d;let _0x3305eb=(_0x35173d=_0x582bd2['resources'])==null||(_0x35173d=_0x35173d[_0x42edf3(0x18b)])==null?void 0x0:_0x35173d[_0x25759b];return _0x3305eb!==void 0x0&&!_0x2df1b7[_0x42edf3(0x24f)](_0x25759b)?[_0x1c896f[_0x42edf3(0x223)](P[_0x42edf3(0x382)](_0x51281a,_0x25759b),_0x3305eb)]:[];})];}[_0x189c21(0x349)](_0x4edd14,_0x10fa8f,_0x85938c){const _0x3cd844=_0x189c21;return _0x10fa8f===void 0x0?_0x1c896f[_0x3cd844(0x2d6)](_0x4edd14,_0x85938c):_0x1c896f[_0x3cd844(0x22a)](_0x4edd14,_0x10fa8f,_0x85938c);}};function Xt(_0x309a59,_0x584e9f,_0x14ce07){const _0xa87da7=_0x189c21;var _0x770355,_0x4c1e04,_0xc74545,_0x593105;let _0x611364=(_0x770355=_0x309a59[_0xa87da7(0x235)])==null?void 0x0:_0x770355[_0x584e9f],_0x5da2cc=(_0x4c1e04=_0x309a59[_0xa87da7(0x377)])==null?void 0x0:_0x4c1e04[_0x14ce07];return _0x611364!=null&&_0x5da2cc!=null&&((_0xc74545=_0x309a59['rowId'])==null?void 0x0:_0xc74545[_0x611364])===_0x584e9f&&((_0x593105=_0x309a59[_0xa87da7(0x390)])==null?void 0x0:_0x593105[_0x5da2cc])===_0x14ce07&&_0x309a59[_0xa87da7(0x24c)]!=null;}function Zt(_0x20797f,_0x867d00,_0x20f278){const _0x22f6bc=_0x189c21;var _0xe5c699,_0x3a63e2;return((_0xe5c699=_0x20797f['rowId'])==null?void 0x0:_0xe5c699[_0x867d00])!=null&&((_0x3a63e2=_0x20797f['colId'])==null?void 0x0:_0x3a63e2[_0x20f278])!=null&&_0x20797f[_0x22f6bc(0x24c)]!=null;}function Qt(_0x46a289,_0x3866a9,_0x434ee9){const _0x2b0181=_0x189c21;let _0x5d6aad=_0x46a289[_0x2b0181(0x25c)](_0x130f31=>_0x130f31!==_0x3866a9),_0xa10287=_0x434ee9[_0x2b0181(0x26e)]?_0x5d6aad['indexOf'](_0x434ee9['beforeFieldId']):_0x434ee9['afterFieldId']?_0x5d6aad['indexOf'](_0x434ee9['afterFieldId'])+0x1:_0x5d6aad[_0x2b0181(0x149)];return _0x5d6aad[_0x2b0181(0x1b7)](_0xa10287<0x0?_0x5d6aad['length']:_0xa10287,0x0,_0x3866a9),_0x5d6aad;}function $t(_0x58fdd3,_0x2f53eb,_0x25964f){const _0x2b55b9=_0x189c21;let _0x24701b=_0x58fdd3['filter'](_0x1ed809=>_0x1ed809!==_0x2f53eb);return _0x24701b[_0x2b55b9(0x1b7)](tn(_0x25964f,_0x24701b[_0x2b55b9(0x149)]),0x0,_0x2f53eb),_0x24701b;}function en(_0x4fc53b,_0x5ae0fe,_0x2016fc){const _0x3dd6fb=_0x189c21;if(Array[_0x3dd6fb(0x286)](_0x4fc53b))return _0x2016fc===_0x3dd6fb(0x1e1)?_0x4fc53b[_0x3dd6fb(0x25c)](_0x1bd5e3=>_0x1bd5e3!==_0x5ae0fe):_0x4fc53b[_0x3dd6fb(0x399)](_0x21baba=>{const _0x127916=_0x3dd6fb;if(_0x21baba&&typeof _0x21baba==_0x127916(0x270)&&!Array['isArray'](_0x21baba)&&_0x21baba[_0x127916(0x2f3)]===_0x5ae0fe)return[];let _0x5ea274=en(_0x21baba,_0x5ae0fe);return _0x5ea274===void 0x0?[]:[_0x5ea274];});if(!_0x4fc53b||typeof _0x4fc53b!=_0x3dd6fb(0x270))return _0x2016fc!=null&&_0x2016fc[_0x3dd6fb(0x1c4)](_0x3dd6fb(0x244))&&_0x4fc53b===_0x5ae0fe?void 0x0:_0x4fc53b;let _0x247312=_0x4fc53b;if(_0x247312[_0x3dd6fb(0x2f3)]!==_0x5ae0fe)return Object[_0x3dd6fb(0x227)](Object[_0x3dd6fb(0x2eb)](_0x247312)[_0x3dd6fb(0x399)](([_0x5bf3d2,_0x31798e])=>{const _0x7685e4=_0x3dd6fb;if(_0x5bf3d2===_0x5ae0fe&&_0x2016fc===_0x7685e4(0xf3))return[];let _0x2abe57=en(_0x31798e,_0x5ae0fe,_0x5bf3d2);return _0x2abe57===void 0x0?[]:[[_0x5bf3d2,_0x2abe57]];}));}function tn(_0x2a79bc,_0x3e853b){const _0x38e6f7=_0x189c21;return Math[_0x38e6f7(0x301)](0x0,Math[_0x38e6f7(0x15a)](_0x2a79bc,_0x3e853b));}function nn(_0x3048e9,_0x4aa568,_0x347dc2){const _0x419d69=_0x189c21;if(!_0x3048e9||!_0x4aa568||_0x4aa568===_0x347dc2)return _0x3048e9;let _0x126c88='',_0x207cfd=!0x1,_0x2a58f5=_0x4aa568[_0x419d69(0x117)]();for(let _0x47ab3b=0x0;_0x47ab3b<_0x3048e9['length'];){let _0xbd3517=_0x3048e9[_0x47ab3b];if(_0xbd3517==='\x22'){if(_0x207cfd&&_0x3048e9[_0x47ab3b+0x1]==='\x22'){_0x126c88+='\x22\x22',_0x47ab3b+=0x2;continue;}_0x207cfd=!_0x207cfd,_0x126c88+=_0xbd3517,_0x47ab3b++;continue;}if(!_0x207cfd&&_0x3048e9['slice'](_0x47ab3b,_0x47ab3b+_0x4aa568[_0x419d69(0x149)])['toLowerCase']()===_0x2a58f5&&rn(_0x3048e9,_0x47ab3b,_0x4aa568[_0x419d69(0x149)])){_0x126c88+=_0x347dc2,_0x47ab3b+=_0x4aa568['length'];continue;}_0x126c88+=_0xbd3517,_0x47ab3b++;}return _0x126c88;}function rn(_0x318fe2,_0x1a1a21,_0x134e2b){const _0x1b3faa=_0x189c21;var _0x204d60;let _0x276269=_0x318fe2[_0x1a1a21-0x1];if(_0x276269&&/[\w.]/[_0x1b3faa(0x1b5)](_0x276269))return!0x1;let _0x2e5fe6=_0x1a1a21+_0x134e2b;for(;/\s/[_0x1b3faa(0x1b5)]((_0x204d60=_0x318fe2[_0x2e5fe6])==null?'':_0x204d60);)_0x2e5fe6++;return _0x318fe2[_0x2e5fe6]==='[';}function L(_0x39f2fa){'@babel/helpers - typeof';const _0x2136dc=_0x189c21;return L=typeof Symbol=='function'&&typeof Symbol[_0x2136dc(0x372)]==_0x2136dc(0x1e0)?function(_0x1bf6c9){return typeof _0x1bf6c9;}:function(_0x2966bb){const _0x3d5ae0=_0x2136dc;return _0x2966bb&&typeof Symbol==_0x3d5ae0(0x18c)&&_0x2966bb[_0x3d5ae0(0x2f8)]===Symbol&&_0x2966bb!==Symbol['prototype']?'symbol':typeof _0x2966bb;},L(_0x39f2fa);}function an(_0x2a7552,_0x56fc4a){const _0x30c1be=_0x189c21;if(L(_0x2a7552)!='object'||!_0x2a7552)return _0x2a7552;var _0x24168c=_0x2a7552[Symbol[_0x30c1be(0x2b8)]];if(_0x24168c!==void 0x0){var _0x5b927d=_0x24168c[_0x30c1be(0x167)](_0x2a7552,_0x56fc4a||_0x30c1be(0x159));if(L(_0x5b927d)!='object')return _0x5b927d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x56fc4a==='string'?String:Number)(_0x2a7552);}function on(_0x1c5a6d){const _0x1f90f5=_0x189c21;var _0x14c5c1=an(_0x1c5a6d,_0x1f90f5(0xca));return L(_0x14c5c1)==_0x1f90f5(0x1e0)?_0x14c5c1:_0x14c5c1+'';}function R(_0xc63c52,_0xaabe37,_0x17002b){const _0xbb4f37=_0x189c21;return(_0xaabe37=on(_0xaabe37))in _0xc63c52?Object[_0xbb4f37(0x304)](_0xc63c52,_0xaabe37,{'value':_0x17002b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc63c52[_0xaabe37]=_0x17002b,_0xc63c52;}const z=_0xda5c77(_0x189c21(0x368));var sn=class extends _0x6d36ab{constructor(..._0xeef802){const _0x1960b1=_0x189c21;super(..._0xeef802),R(this,_0x1960b1(0x1e4),new Map());}[_0x189c21(0x2e4)](_0x3cb91e){const _0x338fa9=_0x189c21;return this[_0x338fa9(0x1e4)][_0x338fa9(0x11d)](_0x3cb91e[_0x338fa9(0x2c7)],_0x3cb91e),_0x11ac9e(()=>this[_0x338fa9(0x1e4)][_0x338fa9(0x13f)](_0x3cb91e[_0x338fa9(0x2c7)]));}[_0x189c21(0x37d)](_0x3cbb28){const _0xa6dd7=_0x189c21;let _0x5f3210=this['_plugins'][_0xa6dd7(0x37d)](_0x3cbb28);if(!_0x5f3210)throw Error(_0xa6dd7(0x120)+_0x3cbb28+_0xa6dd7(0xc9));return _0x5f3210;}[_0x189c21(0xc6)](_0x1bb692){const _0x25f636=_0x189c21;return this['_plugins'][_0x25f636(0x37d)](_0x1bb692);}[_0x189c21(0x205)](){const _0x87da1=_0x189c21;return Array[_0x87da1(0x1dd)](this[_0x87da1(0x1e4)]['values']());}};const cn=_0xda5c77('base.permission.service');var ln=class{constructor(){const _0x26c0ef=_0x189c21;R(this,'_basePermissions',new Map()),R(this,_0x26c0ef(0x1a1),new Map()),R(this,'_fieldPermissions',new Map()),R(this,_0x26c0ef(0x2db),new Map());}[_0x189c21(0x153)](_0x57d716){const _0x2ca13d=_0x189c21;var _0x523376,_0x30d099;return(_0x523376=(_0x30d099=this['_basePermissions']['get'](_0x57d716))==null?void 0x0:_0x30d099[_0x2ca13d(0x10c)])==null||_0x523376;}[_0x189c21(0x333)](_0x36df9d){const _0x189056=_0x189c21;var _0x282006,_0x58bd30;return(_0x282006=(_0x58bd30=this[_0x189056(0x1a1)]['get'](_0x36df9d))==null?void 0x0:_0x58bd30[_0x189056(0x13f)])==null||_0x282006;}[_0x189c21(0x397)](_0x342055){const _0x2870f6=_0x189c21;var _0x43669e,_0x2f1a7d;return(_0x43669e=(_0x2f1a7d=this[_0x2870f6(0x1a1)][_0x2870f6(0x37d)](_0x342055))==null?void 0x0:_0x2f1a7d[_0x2870f6(0x1df)])==null||_0x43669e;}[_0x189c21(0x374)](_0x4503a5,_0x4af86a){const _0x441a7d=_0x189c21;var _0x47a371,_0x151e91;return(_0x47a371=(_0x151e91=this[_0x441a7d(0x119)]['get'](B(_0x4503a5,_0x4af86a)))==null?void 0x0:_0x151e91[_0x441a7d(0x393)])==null||_0x47a371;}[_0x189c21(0x1fb)](_0x877e98,_0x9ee0b6){const _0x345834=_0x189c21;var _0x51fb04,_0x3d573a;return(_0x51fb04=(_0x3d573a=this['_fieldPermissions'][_0x345834(0x37d)](B(_0x877e98,_0x9ee0b6)))==null?void 0x0:_0x3d573a[_0x345834(0x13f)])==null||_0x51fb04;}[_0x189c21(0x310)](_0x2dbec1){const _0x3363d9=_0x189c21;var _0x4d4d7d,_0x411232;return(_0x4d4d7d=(_0x411232=this['_tablePermissions']['get'](_0x2dbec1))==null?void 0x0:_0x411232[_0x3363d9(0x35c)])==null||_0x4d4d7d;}[_0x189c21(0x398)](_0x1edb18,_0xe1f168){const _0x33673f=_0x189c21;var _0x543a35,_0xc2bfae;return(_0x543a35=(_0xc2bfae=this[_0x33673f(0x2db)][_0x33673f(0x37d)](un(_0x1edb18,_0xe1f168)))==null?void 0x0:_0xc2bfae[_0x33673f(0x13f)])==null||_0x543a35;}[_0x189c21(0x2cd)](_0x36c161,_0x42e19d,_0x3c8de6){const _0x1777db=_0x189c21;var _0x4a2736,_0x1a24bb,_0x1111f8,_0x21455e;let _0x491856=this[_0x1777db(0x119)][_0x1777db(0x37d)](B(_0x36c161,_0x3c8de6));return((_0x4a2736=(_0x1a24bb=this[_0x1777db(0x2db)][_0x1777db(0x37d)](un(_0x36c161,_0x42e19d)))==null?void 0x0:_0x1a24bb['editCell'])==null||_0x4a2736)&&((_0x1111f8=_0x491856==null?void 0x0:_0x491856[_0x1777db(0x393)])==null||_0x1111f8)&&((_0x21455e=_0x491856==null?void 0x0:_0x491856[_0x1777db(0xcd)])==null||_0x21455e);}[_0x189c21(0x38d)](_0xd58dc0){const _0x3c9bcf=_0x189c21;var _0x526bd3,_0x304bae;return(_0x526bd3=(_0x304bae=this[_0x3c9bcf(0x1a1)][_0x3c9bcf(0x37d)](_0xd58dc0))==null?void 0x0:_0x304bae['manageView'])==null||_0x526bd3;}[_0x189c21(0x381)](_0x56b819,_0x11ceb9){const _0x1c290c=_0x189c21;this[_0x1c290c(0x14b)][_0x1c290c(0x11d)](_0x56b819,{...this[_0x1c290c(0x14b)][_0x1c290c(0x37d)](_0x56b819),..._0x11ceb9});}['setTablePermission'](_0x3b0116,_0x2bb73b){const _0x577a6d=_0x189c21;this[_0x577a6d(0x1a1)][_0x577a6d(0x11d)](_0x3b0116,{...this[_0x577a6d(0x1a1)][_0x577a6d(0x37d)](_0x3b0116),..._0x2bb73b});}['setFieldPermission'](_0x316e04,_0x55b906,_0x5958e3){const _0x3351ec=_0x189c21;let _0x116c31=B(_0x316e04,_0x55b906);this[_0x3351ec(0x119)][_0x3351ec(0x11d)](_0x116c31,{...this[_0x3351ec(0x119)][_0x3351ec(0x37d)](_0x116c31),..._0x5958e3});}[_0x189c21(0x251)](_0x195374,_0x551c87,_0x5c7a70){const _0x427dbb=_0x189c21;let _0x50aac7=un(_0x195374,_0x551c87);this[_0x427dbb(0x2db)][_0x427dbb(0x11d)](_0x50aac7,{...this[_0x427dbb(0x2db)][_0x427dbb(0x37d)](_0x50aac7),..._0x5c7a70});}[_0x189c21(0x166)](_0x138788){const _0x44f366=_0x189c21;this[_0x44f366(0x14b)][_0x44f366(0x13f)](_0x138788);}[_0x189c21(0x14e)](_0x2f4a88){const _0x380b91=_0x189c21;this['_tablePermissions'][_0x380b91(0x13f)](_0x2f4a88);}[_0x189c21(0x30c)](_0x4c0463,_0x38e2a9){const _0x226cf3=_0x189c21;this['_fieldPermissions'][_0x226cf3(0x13f)](B(_0x4c0463,_0x38e2a9));}[_0x189c21(0x243)](_0x1b93c8,_0x9007f1){const _0x19fba8=_0x189c21;this[_0x19fba8(0x2db)][_0x19fba8(0x13f)](un(_0x1b93c8,_0x9007f1));}[_0x189c21(0x27a)](){const _0x3c5c8c=_0x189c21;return{'bases':Object[_0x3c5c8c(0x227)](this['_basePermissions']),'tables':Object['fromEntries'](this[_0x3c5c8c(0x1a1)]),'fields':Object['fromEntries'](this[_0x3c5c8c(0x119)]),'records':Object['fromEntries'](this[_0x3c5c8c(0x2db)])};}};function B(_0x5d3fd3,_0x49667c){return _0x5d3fd3+'\x1f'+_0x49667c;}function un(_0x26b730,_0x4c591e){return _0x26b730+'\x1f'+_0x4c591e;}function V(_0x23152d,_0x597dd3){return function(_0x4ce531,_0x43ded7){_0x597dd3(_0x4ce531,_0x43ded7,_0x23152d);};}function H(_0x161a3f,_0x5a9068,_0x5ce0a8,_0x1bf4a1){const _0x3c7f58=_0x189c21;var _0x593018=arguments[_0x3c7f58(0x149)],_0x303b50=_0x593018<0x3?_0x5a9068:_0x1bf4a1===null?_0x1bf4a1=Object[_0x3c7f58(0x212)](_0x5a9068,_0x5ce0a8):_0x1bf4a1,_0x1e9c18;if(typeof Reflect=='object'&&typeof Reflect[_0x3c7f58(0x1a4)]==_0x3c7f58(0x18c))_0x303b50=Reflect[_0x3c7f58(0x1a4)](_0x161a3f,_0x5a9068,_0x5ce0a8,_0x1bf4a1);else{for(var _0x219438=_0x161a3f[_0x3c7f58(0x149)]-0x1;_0x219438>=0x0;_0x219438--)(_0x1e9c18=_0x161a3f[_0x219438])&&(_0x303b50=(_0x593018<0x3?_0x1e9c18(_0x303b50):_0x593018>0x3?_0x1e9c18(_0x5a9068,_0x5ce0a8,_0x303b50):_0x1e9c18(_0x5a9068,_0x5ce0a8))||_0x303b50);}return _0x593018>0x3&&_0x303b50&&Object[_0x3c7f58(0x304)](_0x5a9068,_0x5ce0a8,_0x303b50),_0x303b50;}const U=_0xda5c77(_0x189c21(0x345));let dn=class{constructor(_0x15948a,_0x3e9fd9=fn(),_0x4e48ce={}){const _0x345e26=_0x189c21;this[_0x345e26(0x36d)]=_0x15948a,this[_0x345e26(0x20b)]=_0x3e9fd9,this['_runtimeContext']=_0x4e48ce,R(this,_0x345e26(0x2d4),new I()),R(this,_0x345e26(0x23b),new O());}[_0x189c21(0x10c)](_0x37d5d6,_0x271008,_0x564d75){const _0x32c6e5=_0x189c21;if(!this['_permissionService'][_0x32c6e5(0x153)](_0x37d5d6['getUnitId']()))throw Error(_0x32c6e5(0x2d2));this['_apply'](_0x37d5d6,this[_0x32c6e5(0x2d4)]['createTable'](_0x37d5d6[_0x32c6e5(0x27a)](),_0x271008,_0x564d75));}[_0x189c21(0xc7)](_0x3e3e31,_0x287c9c,_0x417842){const _0x49ae9b=_0x189c21;this['_apply'](_0x3e3e31,this[_0x49ae9b(0x2d4)][_0x49ae9b(0xc7)](_0x3e3e31[_0x49ae9b(0x27a)](),_0x287c9c,_0x417842));}[_0x189c21(0xfa)](_0x152ce3,_0x43a785){const _0x16bf5e=_0x189c21;if(!this[_0x16bf5e(0x36d)]['canDeleteTable'](_0x43a785))throw Error(_0x16bf5e(0xd7));this[_0x16bf5e(0x257)](_0x152ce3,this['_factory'][_0x16bf5e(0xfa)](_0x152ce3[_0x16bf5e(0x27a)](),_0x43a785));}[_0x189c21(0x141)](_0xf1717f,_0x2046a2,_0x1f0e41,_0x1d9249,_0x53169e){const _0x1229e7=_0x189c21;this[_0x1229e7(0x257)](_0xf1717f,this[_0x1229e7(0x1ad)](_0xf1717f,_0x2046a2,_0x1f0e41,_0x1d9249,_0x53169e));}[_0x189c21(0x1cb)](_0x515cd4,_0x592403,_0x37ae8a){const _0x280d85=_0x189c21;this[_0x280d85(0x257)](_0x515cd4,this[_0x280d85(0x2fe)](_0x515cd4,_0x592403,_0x37ae8a));}[_0x189c21(0x35c)](_0x368a9a,_0xb3b553,_0x14e049){const _0x435d77=_0x189c21;this[_0x435d77(0x257)](_0x368a9a,this[_0x435d77(0x1ac)](_0x368a9a,_0xb3b553,_0x14e049));}[_0x189c21(0x1ad)](_0xd24b57,_0x44df28,_0x5361ba,_0x3a6649,_0x144a77){const _0x168ee1=_0x189c21;let _0x2aa7dc=_0xd24b57[_0x168ee1(0x27a)](),_0xbb021c=this[_0x168ee1(0x367)](_0x2aa7dc,_0x44df28,_0x5361ba,_0x3a6649,_0x144a77),_0x220e4b=this[_0x168ee1(0x190)](_0x2aa7dc,_0x44df28,_0x5361ba,{[_0x3a6649]:_0xbb021c});return this['_factory']['setRecordValues'](_0x2aa7dc,_0x44df28,[_0x220e4b]);}[_0x189c21(0x2fe)](_0x490cb9,_0x47e73b,_0x593d29){const _0xc998b6=_0x189c21;let _0x507424=_0x490cb9[_0xc998b6(0x27a)](),_0x399a08=_0x593d29[_0xc998b6(0x1d0)](_0xfc2182=>this[_0xc998b6(0x190)](_0x507424,_0x47e73b,_0xfc2182[_0xc998b6(0x30a)],{...Object[_0xc998b6(0x227)](Object[_0xc998b6(0x2eb)](_0xfc2182[_0xc998b6(0x21c)])[_0xc998b6(0x1d0)](([_0x545ad5,_0x5a3249])=>[_0x545ad5,this['_normalizeCellValue'](_0x507424,_0x47e73b,_0xfc2182['recordId'],_0x545ad5,_0x5a3249)]))}));return this[_0xc998b6(0x2d4)]['setRecordValues'](_0x507424,_0x47e73b,_0x399a08);}['createCreateRecordOp'](_0x31dada,_0x4aa95c,_0x5554f7){const _0x5de423=_0x189c21;if(!this[_0x5de423(0x36d)][_0x5de423(0x310)](_0x4aa95c))throw Error(_0x5de423(0xc8));let _0x4626c0=_0x31dada[_0x5de423(0x27a)](),_0x4940fd=this['_createNumberingAllocators'](_0x4626c0[_0x5de423(0x2ea)][_0x4aa95c]);return this['_factory'][_0x5de423(0x35c)](_0x4626c0,_0x4aa95c,this[_0x5de423(0x376)](_0x4626c0,_0x4aa95c,_0x5554f7,_0x4940fd));}['createBatchCreateRecordsOp'](_0x18d9a2,_0x2d3be2,_0x5cc97d){const _0x51c19c=_0x189c21;if(!this[_0x51c19c(0x36d)][_0x51c19c(0x310)](_0x2d3be2))throw Error(_0x51c19c(0xc8));let _0x876f2b=_0x18d9a2[_0x51c19c(0x27a)]();return C(_0x51c19c(0x36c),()=>{const _0x103222=_0x51c19c;let _0x4883ce=this[_0x103222(0x305)](_0x876f2b['tables'][_0x2d3be2]);return this[_0x103222(0x2d4)]['createRecords'](_0x876f2b,_0x2d3be2,_0x5cc97d[_0x103222(0x1d0)](_0x3bfc6b=>this[_0x103222(0x376)](_0x876f2b,_0x2d3be2,_0x3bfc6b,_0x4883ce)));},{'existingRecords':Object[_0x51c19c(0x1e7)](_0x876f2b['tables'][_0x2d3be2][_0x51c19c(0x2ce)])[_0x51c19c(0x149)],'records':_0x5cc97d[_0x51c19c(0x149)]});}[_0x189c21(0x253)](_0x1c85ad,_0x2844a5,_0x3f11e4,_0x5966e3,_0x3ea6b9){const _0xb1b14b=_0x189c21;if(!this[_0xb1b14b(0x36d)][_0xb1b14b(0x397)](_0x2844a5))throw Error(_0xb1b14b(0x179));let _0x594261=_0x1c85ad[_0xb1b14b(0x27a)](),_0x5f5500=this[_0xb1b14b(0x2d4)]['createField'](_0x594261,_0x2844a5,{'field':_0x3f11e4,'index':_0x5966e3,'viewIndexes':_0x3ea6b9}),_0x478868=this[_0xb1b14b(0xc2)](_0x594261,_0x2844a5,_0x3f11e4);if(!_0x478868[_0xb1b14b(0x149)])return _0x5f5500;let _0x502382=this[_0xb1b14b(0x23b)][_0xb1b14b(0xf9)](_0x594261,_0x5f5500);return F([_0x5f5500,this[_0xb1b14b(0x2d4)][_0xb1b14b(0x1cb)](_0x502382,_0x2844a5,_0x478868)]);}['deleteRecord'](_0x5d3b3f,_0x43648c,_0x3b57b5){const _0x5470d2=_0x189c21;if(!this[_0x5470d2(0x36d)][_0x5470d2(0x398)](_0x43648c,_0x3b57b5))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x5470d2(0x257)](_0x5d3b3f,this['_factory'][_0x5470d2(0x30d)](_0x5d3b3f['getSnapshot'](),_0x43648c,_0x3b57b5));}[_0x189c21(0x325)](_0x1f9919,_0x11964c,_0x4b4a72,_0x171ac9){const _0x3b2cfe=_0x189c21;this[_0x3b2cfe(0x257)](_0x1f9919,this[_0x3b2cfe(0x2d4)][_0x3b2cfe(0x325)](_0x1f9919[_0x3b2cfe(0x27a)](),_0x11964c,_0x4b4a72,_0x171ac9));}[_0x189c21(0x2da)](_0x3b91a6,_0x436226,_0x33397c,_0x2fa599){const _0x584275=_0x189c21;this[_0x584275(0x257)](_0x3b91a6,this[_0x584275(0x2d4)]['updateRecordOrder'](_0x3b91a6[_0x584275(0x27a)](),_0x436226,_0x33397c,_0x2fa599));}[_0x189c21(0x1df)](_0x79f908,_0x15bbbd,_0x2e44b1,_0x2a2a6d,_0x537c05){const _0x279e41=_0x189c21;this[_0x279e41(0x257)](_0x79f908,this[_0x279e41(0x253)](_0x79f908,_0x15bbbd,_0x2e44b1,_0x2a2a6d,_0x537c05));}[_0x189c21(0x395)](_0x97a5ea,_0x1ba251,_0x92caef,_0x1c2afe){const _0x3e48e1=_0x189c21;if(!this[_0x3e48e1(0x36d)]['canEditField'](_0x1ba251,_0x92caef))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x3e48e1(0x257)](_0x97a5ea,this[_0x3e48e1(0x2d4)][_0x3e48e1(0x395)](_0x97a5ea['getSnapshot'](),_0x1ba251,_0x92caef,_0x1c2afe));}[_0x189c21(0x315)](_0x1747b5,_0x408a13,_0x512520,_0x1a73a1){const _0x5cd542=_0x189c21;if(!this[_0x5cd542(0x36d)]['canEditField'](_0x408a13,_0x512520))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x5cd542(0x257)](_0x1747b5,this[_0x5cd542(0x2d4)]['changeFieldType'](_0x1747b5[_0x5cd542(0x27a)](),_0x408a13,_0x512520,_0x1a73a1));}[_0x189c21(0x214)](_0x4e9af4,_0x55b3e8,_0x2ba326){const _0x347daf=_0x189c21;var _0x89fcf5;if(((_0x89fcf5=_0x4e9af4[_0x347daf(0x27a)]()['tables'][_0x55b3e8])==null?void 0x0:_0x89fcf5[_0x347daf(0x176)])===_0x2ba326)throw Error(_0x347daf(0xc4));if(!this['_permissionService']['canDeleteField'](_0x55b3e8,_0x2ba326))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this[_0x347daf(0x257)](_0x4e9af4,this[_0x347daf(0x2d4)][_0x347daf(0x214)](_0x4e9af4['getSnapshot'](),_0x55b3e8,_0x2ba326));}['moveField'](_0x3959e5,_0x52a078,_0x5d4bd2,_0x3855c9){const _0x28d627=_0x189c21;if(!this['_permissionService']['canEditField'](_0x52a078,_0x5d4bd2))throw Error(_0x28d627(0x312));this['_apply'](_0x3959e5,this['_factory'][_0x28d627(0x291)](_0x3959e5[_0x28d627(0x27a)](),_0x52a078,_0x5d4bd2,_0x3855c9));}[_0x189c21(0x1bc)](_0x1e86a2,_0x313092,_0x22fbee,_0x5e83b0){const _0x1dc629=_0x189c21;this[_0x1dc629(0x257)](_0x1e86a2,this[_0x1dc629(0x2d4)]['createView'](_0x1e86a2[_0x1dc629(0x27a)](),_0x313092,_0x22fbee,_0x5e83b0));}[_0x189c21(0x1f6)](_0x21bdd3,_0xcbb09b,_0x394520,_0xbdd959){const _0x424f46=_0x189c21;if(!this[_0x424f46(0x36d)][_0x424f46(0x38d)](_0xcbb09b,_0x394520))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x21bdd3,this['_factory'][_0x424f46(0x1f6)](_0x21bdd3[_0x424f46(0x27a)](),_0xcbb09b,_0x394520,_0xbdd959));}[_0x189c21(0x2c1)](_0x3ccf14,_0x350d4c,_0x2a9542){const _0x16a9df=_0x189c21;if(!this[_0x16a9df(0x36d)][_0x16a9df(0x38d)](_0x350d4c,_0x2a9542))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x3ccf14,this[_0x16a9df(0x2d4)][_0x16a9df(0x2c1)](_0x3ccf14['getSnapshot'](),_0x350d4c,_0x2a9542));}[_0x189c21(0x15b)](_0x4a854d,_0x320193,_0x2b9704,_0x1c576c){const _0x58299c=_0x189c21;if(!this[_0x58299c(0x36d)]['canManageView'](_0x320193,_0x2b9704))throw Error(_0x58299c(0x1ee));this[_0x58299c(0x257)](_0x4a854d,this[_0x58299c(0x2d4)][_0x58299c(0x15b)](_0x4a854d[_0x58299c(0x27a)](),_0x320193,_0x2b9704,_0x1c576c));}[_0x189c21(0x104)](_0x857909,_0x42f3bb,_0x4fae53,_0xbd15ef){const _0xebcae4=_0x189c21;if(!this[_0xebcae4(0x36d)][_0xebcae4(0x38d)](_0x42f3bb,_0x4fae53))throw Error(_0xebcae4(0x1ee));this[_0xebcae4(0x257)](_0x857909,this[_0xebcae4(0x2d4)][_0xebcae4(0x104)](_0x857909[_0xebcae4(0x27a)](),_0x42f3bb,_0x4fae53,_0xbd15ef));}[_0x189c21(0x1f8)](_0x1b4eb4,_0x3ac4a3,_0x13476d,_0x15ab78){const _0x40c969=_0x189c21;this[_0x40c969(0x257)](_0x1b4eb4,this[_0x40c969(0x2d4)]['setViewFilter'](_0x1b4eb4[_0x40c969(0x27a)](),_0x3ac4a3,_0x13476d,_0x15ab78));}[_0x189c21(0x354)](_0x2e6a5c,_0x2fdc82,_0x3b4c33,_0x1a8046){const _0x568aa6=_0x189c21;this[_0x568aa6(0x257)](_0x2e6a5c,this[_0x568aa6(0x2d4)][_0x568aa6(0x354)](_0x2e6a5c[_0x568aa6(0x27a)](),_0x2fdc82,_0x3b4c33,_0x1a8046));}[_0x189c21(0x17b)](_0x190a4a,_0x1b4044,_0x36c291,_0x1670dd){const _0x423721=_0x189c21;this[_0x423721(0x257)](_0x190a4a,this['_factory'][_0x423721(0x17b)](_0x190a4a[_0x423721(0x27a)](),_0x1b4044,_0x36c291,_0x1670dd));}[_0x189c21(0x107)](_0x373f26,_0x5c22ae,_0x12f656,_0x2d980d,_0x1992bb){const _0x2b3f72=_0x189c21;if(!this[_0x2b3f72(0x36d)][_0x2b3f72(0x38d)](_0x5c22ae,_0x12f656))throw Error(_0x2b3f72(0x1ee));this[_0x2b3f72(0x257)](_0x373f26,this['_factory'][_0x2b3f72(0x107)](_0x373f26[_0x2b3f72(0x27a)](),_0x5c22ae,_0x12f656,_0x2d980d,_0x1992bb));}[_0x189c21(0x1ef)](_0x546af1,_0x67dd32,_0x5266fd,_0x1cd484,_0x180f8c){const _0x1bd5fc=_0x189c21;this[_0x1bd5fc(0x257)](_0x546af1,this[_0x1bd5fc(0x2d4)]['setViewFieldWidth'](_0x546af1[_0x1bd5fc(0x27a)](),_0x67dd32,_0x5266fd,_0x1cd484,_0x180f8c));}['setViewFieldOrder'](_0x596760,_0x1c0a6e,_0x2c8adc,_0x5793ee,_0x4deed8){const _0x17bc1e=_0x189c21;this[_0x17bc1e(0x257)](_0x596760,this[_0x17bc1e(0x2d4)][_0x17bc1e(0x340)](_0x596760[_0x17bc1e(0x27a)](),_0x1c0a6e,_0x2c8adc,_0x5793ee,_0x4deed8));}[_0x189c21(0x257)](_0x4a67f7,_0x1a2049){const _0x478dfd=_0x189c21;let _0x3c5dad=_0x4a67f7[_0x478dfd(0x27a)]();_0x4a67f7[_0x478dfd(0x28a)](this[_0x478dfd(0x23b)][_0x478dfd(0xf9)](_0x3c5dad,_0x1a2049));}[_0x189c21(0x376)](_0x4d0209,_0x535db5,_0x123ce7,_0xc60b87=this[_0x189c21(0x305)](_0x4d0209['tables'][_0x535db5])){const _0x6e3272=_0x189c21;var _0x2e00df,_0xd437c1,_0x48ed96,_0x14a764;let _0x2e94c3=_0x4d0209[_0x6e3272(0x2ea)][_0x535db5],_0x509912=(_0x2e00df=(_0xd437c1=_0x123ce7[_0x6e3272(0x1d9)])==null?_0x123ce7[_0x6e3272(0x364)]:_0xd437c1)==null?this[_0x6e3272(0x252)]():_0x2e00df,_0x335bb3={..._0x123ce7,'createdBy':(_0x48ed96=_0x123ce7[_0x6e3272(0x1d9)])==null?_0x509912:_0x48ed96,'updatedBy':(_0x14a764=_0x123ce7[_0x6e3272(0x364)])==null?_0x509912:_0x14a764,'values':{..._0x123ce7[_0x6e3272(0x21c)]}};return _0x2e94c3[_0x6e3272(0x1d5)]['forEach'](_0x23c18b=>{const _0xc81ba2=_0x6e3272;let _0x140a15=_0x2e94c3[_0xc81ba2(0xfb)][_0x23c18b];if(!(!_0x140a15||_0x335bb3['values'][_0x23c18b]!==void 0x0))switch(_0x140a15[_0xc81ba2(0x2c7)]){case _0x2b9397['Numbering']:var _0xa8f0b2,_0x2ca1ac;_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=(_0xa8f0b2=(_0x2ca1ac=_0xc60b87[_0xc81ba2(0x37d)](_0x23c18b))==null?void 0x0:_0x2ca1ac())==null?this['_createNumberingAllocator'](_0x2e94c3,_0x23c18b)():_0xa8f0b2;break;case _0x2b9397[_0xc81ba2(0x11a)]:_0x335bb3[_0xc81ba2(0x1d9)]&&(_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=_0x335bb3['createdBy']);break;case _0x2b9397[_0xc81ba2(0x131)]:_0x335bb3[_0xc81ba2(0x364)]&&(_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=_0x335bb3['updatedBy']);break;case _0x2b9397['CreatedAt']:_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=k(_0x335bb3['createdAt']);break;case _0x2b9397[_0xc81ba2(0x171)]:_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=k(_0x335bb3[_0xc81ba2(0x26f)]);break;default:{let _0x5f12db=_0x140a15['defaultValue'];_0x5f12db!=null&&_0x5f12db!==''&&!(Array[_0xc81ba2(0x286)](_0x5f12db)&&_0x5f12db[_0xc81ba2(0x149)]===0x0)&&(_0x335bb3[_0xc81ba2(0x21c)][_0x23c18b]=_0x5f12db);}}}),_0x335bb3;}[_0x189c21(0x190)](_0x200d47,_0x451361,_0x399ca1,_0x4c9833){const _0xa66726=_0x189c21;var _0x3f4797,_0x9af920,_0x270c77;let _0x307537=_0x200d47['tables'][_0x451361],_0x22fde3=(_0x3f4797=(_0x9af920=(_0x270c77=this[_0xa66726(0x22c)])[_0xa66726(0x23e)])==null?void 0x0:_0x9af920[_0xa66726(0x167)](_0x270c77))==null?Date[_0xa66726(0x23e)]():_0x3f4797,_0x3f110f=this[_0xa66726(0x252)](),_0x4cdb07={..._0x4c9833};return _0x307537[_0xa66726(0x1d5)]['forEach'](_0x8254eb=>{const _0x30a57e=_0xa66726;let _0xc4e08c=_0x307537[_0x30a57e(0xfb)][_0x8254eb];_0xc4e08c&&(_0xc4e08c[_0x30a57e(0x2c7)]===_0x2b9397[_0x30a57e(0x171)]&&(_0x4cdb07[_0x8254eb]=k(_0x22fde3)),_0xc4e08c[_0x30a57e(0x2c7)]===_0x2b9397[_0x30a57e(0x131)]&&_0x3f110f&&(_0x4cdb07[_0x8254eb]=_0x3f110f));}),{'recordId':_0x399ca1,'values':_0x4cdb07,'recordPatch':{'updatedAt':_0x22fde3,..._0x3f110f?{'updatedBy':_0x3f110f}:{}}};}['_createSystemFieldValuePatches'](_0x166d77,_0x513d01,_0x893384){const _0x512d80=_0x189c21;let _0x2441d2=_0x166d77[_0x512d80(0x2ea)][_0x513d01];return!_0x2441d2||!pn(_0x893384)?[]:_0x893384['type']===_0x2b9397[_0x512d80(0x112)]?this['_createNumberingFieldValuePatches'](_0x2441d2,_0x893384['id']):Object['values'](_0x2441d2[_0x512d80(0x2ce)])['flatMap'](_0x39a4a2=>{const _0x3c8bd6=_0x512d80;let _0x270092=this[_0x3c8bd6(0x2f6)](_0x893384,_0x39a4a2);return _0x270092===void 0x0?[]:[{'recordId':_0x39a4a2['id'],'values':{[_0x893384['id']]:_0x270092}}];});}[_0x189c21(0x2f6)](_0x1b669c,_0xaf1d91){const _0x2f8070=_0x189c21;switch(_0x1b669c['type']){case _0x2b9397[_0x2f8070(0x11a)]:var _0x10c267;return(_0x10c267=_0xaf1d91[_0x2f8070(0x1d9)])==null?this['_getCurrentUserId']():_0x10c267;case _0x2b9397[_0x2f8070(0x131)]:var _0x416a56;return(_0x416a56=_0xaf1d91[_0x2f8070(0x364)])==null?this[_0x2f8070(0x252)]():_0x416a56;case _0x2b9397['CreatedAt']:var _0x1b6c39;return k((_0x1b6c39=_0xaf1d91[_0x2f8070(0x299)])==null?Date[_0x2f8070(0x23e)]():_0x1b6c39);case _0x2b9397[_0x2f8070(0x171)]:var _0x236764;return k((_0x236764=_0xaf1d91[_0x2f8070(0x26f)])==null?Date['now']():_0x236764);default:return;}}['_createNumberingAllocators'](_0x444eae){const _0x117c57=_0x189c21;let _0x152a3f=new Map();return _0x444eae&&_0x444eae['fieldOrder'][_0x117c57(0x38f)](_0x17679c=>{const _0x5a65cf=_0x117c57;let _0x27b7a7=_0x444eae[_0x5a65cf(0xfb)][_0x17679c];(_0x27b7a7==null?void 0x0:_0x27b7a7[_0x5a65cf(0x2c7)])===_0x2b9397[_0x5a65cf(0x112)]&&_0x152a3f['set'](_0x17679c,this[_0x5a65cf(0x1f1)](_0x444eae,_0x17679c));}),_0x152a3f;}[_0x189c21(0x1f1)](_0x25e9eb,_0x4f2729){const _0x31db41=_0x189c21;let _0x165e59=Object[_0x31db41(0x21c)](_0x25e9eb[_0x31db41(0x2ce)])[_0x31db41(0x255)]((_0x4c05ee,_0x2d7e9f)=>{const _0x336188=_0x31db41;let _0x3336ab=Number(_0x2d7e9f[_0x336188(0x21c)][_0x4f2729]);return Number[_0x336188(0x314)](_0x3336ab)?Math[_0x336188(0x301)](_0x4c05ee,_0x3336ab):_0x4c05ee;},0x0);return()=>String(++_0x165e59);}[_0x189c21(0x24a)](_0x57bba0,_0x39c4c0){const _0xec3543=_0x189c21;let _0x486d18=this[_0xec3543(0x246)](_0x57bba0),_0x4af0da=this[_0xec3543(0x1f1)](_0x57bba0,_0x39c4c0);return _0x486d18['flatMap'](_0x42ae46=>this[_0xec3543(0x39e)](_0x42ae46['values'][_0x39c4c0])?[]:[{'recordId':_0x42ae46['id'],'values':{[_0x39c4c0]:_0x4af0da()}}]);}[_0x189c21(0x246)](_0xb49b01){const _0x39fd23=_0x189c21;var _0x10ad88;let _0x22bd9e=Object['values'](_0xb49b01[_0x39fd23(0x2ce)]),_0x582fe0=new Map(_0x22bd9e[_0x39fd23(0x1d0)](_0x4963aa=>[_0x4963aa['id'],_0x4963aa])),_0x1cae77=[],_0x1ca013=new Set();(_0x10ad88=_0xb49b01[_0x39fd23(0x34a)])==null||_0x10ad88[_0x39fd23(0x38f)](_0x5c45c3=>{const _0x13c20c=_0x39fd23;let _0x310120=_0x582fe0[_0x13c20c(0x37d)](_0x5c45c3);_0x310120&&(_0x1cae77[_0x13c20c(0x2b9)](_0x310120),_0x1ca013['add'](_0x5c45c3));});let _0x37ed48=_0x22bd9e[_0x39fd23(0x25c)](_0x4364ba=>!_0x1ca013['has'](_0x4364ba['id']))['sort']((_0x66c794,_0x436de4)=>{const _0x11302b=_0x39fd23;var _0x126c7b,_0x1fa82e;return String((_0x126c7b=_0x66c794[_0x11302b(0x328)])==null?_0x66c794['id']:_0x126c7b)[_0x11302b(0x1c7)](String((_0x1fa82e=_0x436de4[_0x11302b(0x328)])==null?_0x436de4['id']:_0x1fa82e))||_0x66c794['id'][_0x11302b(0x1c7)](_0x436de4['id']);});return[..._0x1cae77,..._0x37ed48];}[_0x189c21(0x39e)](_0x4b8214){const _0x55a146=_0x189c21;return _0x4b8214!=null&&_0x4b8214!==''&&!(Array[_0x55a146(0x286)](_0x4b8214)&&_0x4b8214[_0x55a146(0x149)]===0x0);}[_0x189c21(0x252)](){const _0x183bc8=_0x189c21;var _0x2fdaef,_0x272cd1,_0x3d87d5,_0x4992ee,_0x28589c,_0x53a63c;return(_0x2fdaef=(_0x272cd1=(_0x3d87d5=(_0x4992ee=this[_0x183bc8(0x22c)])[_0x183bc8(0x2a6)])==null?void 0x0:_0x3d87d5[_0x183bc8(0x167)](_0x4992ee))==null?(_0x28589c=(_0x53a63c=this['_runtimeContext'])[_0x183bc8(0x1ec)])==null||(_0x28589c=_0x28589c['call'](_0x53a63c))==null?void 0x0:_0x28589c[_0x183bc8(0xe2)]:_0x272cd1)==null?void 0x0:_0x2fdaef;}[_0x189c21(0x367)](_0x2a8c5b,_0x46cff7,_0x3f11fd,_0x39659e,_0x18b746){const _0x2424f6=_0x189c21;var _0x3b76a8;if(!this[_0x2424f6(0x36d)][_0x2424f6(0x2cd)](_0x46cff7,_0x3f11fd,_0x39659e))throw Error(_0x2424f6(0x361));let _0x44d34b=(_0x3b76a8=_0x2a8c5b[_0x2424f6(0x2ea)][_0x46cff7])==null?void 0x0:_0x3b76a8[_0x2424f6(0xfb)][_0x39659e];if(!_0x44d34b)throw Error(_0x2424f6(0x280)+_0x39659e+'\x22\x20does\x20not\x20exist.');let _0x2993a4=this['_fieldRegistry'][_0x2424f6(0x37d)](_0x44d34b[_0x2424f6(0x2c7)]);if(_0x44d34b[_0x2424f6(0x236)]||_0x44d34b['system']||!_0x2993a4[_0x2424f6(0x182)](_0x44d34b)[_0x2424f6(0x1e6)])throw Error(_0x2424f6(0x18e));let _0x4b295a=_0x2993a4[_0x2424f6(0x1f3)](_0x18b746,_0x44d34b),_0x5ceebd=_0x2993a4[_0x2424f6(0x1c8)](_0x4b295a,_0x44d34b);if(!_0x5ceebd[_0x2424f6(0x220)]){var _0x32ff52;throw Error((_0x32ff52=_0x5ceebd['reason'])==null?_0x2424f6(0x1ff):_0x32ff52);}return _0x4b295a;}};dn=H([V(0x0,cn),V(0x1,z)],dn);function fn(){const _0x2c7a0d=_0x189c21;let _0x20e46e=new sn();return It()[_0x2c7a0d(0x38f)](_0x590f59=>_0x20e46e[_0x2c7a0d(0x2e4)](_0x590f59)),_0x20e46e;}function pn(_0x5402c3){const _0x3ffda7=_0x189c21;return _0x5402c3[_0x3ffda7(0x2c7)]===_0x2b9397[_0x3ffda7(0x112)]||_0x5402c3['type']===_0x2b9397[_0x3ffda7(0x11a)]||_0x5402c3[_0x3ffda7(0x2c7)]===_0x2b9397[_0x3ffda7(0x131)]||_0x5402c3[_0x3ffda7(0x2c7)]===_0x2b9397['CreatedAt']||_0x5402c3[_0x3ffda7(0x2c7)]===_0x2b9397['UpdatedAt'];}const mn=new Set([_0x2b9397['Progress'],_0x2b9397[_0x189c21(0x2aa)],_0x2b9397[_0x189c21(0x22e)]]);function hn(_0x26a59a){const _0x80c15d=_0x189c21;var _0x50b3ec,_0x1eb2b7;let _0x1b4e38=_0x26a59a[_0x80c15d(0xfb)][_0x26a59a['primaryFieldId']];return!(_0x1b4e38&&(_0x1b4e38[_0x80c15d(0xcc)]===!0x0||_0x1b4e38['id'][_0x80c15d(0x117)]()==='id'||_0x1b4e38[_0x80c15d(0x1cf)]['trim']()['toLowerCase']()==='id'))&&_0x1b4e38?_0x1b4e38['id']:(_0x50b3ec=(_0x1eb2b7=_0x26a59a['fieldOrder'][_0x80c15d(0x1d0)](_0x15c9c8=>_0x26a59a[_0x80c15d(0xfb)][_0x15c9c8])['find'](_0x2b6ff0=>_0x2b6ff0&&_0x2b6ff0['id']!==_0x26a59a[_0x80c15d(0x176)]))==null?void 0x0:_0x1eb2b7['id'])==null?_0x26a59a[_0x80c15d(0x176)]:_0x50b3ec;}function gn(_0x3f04ae,_0x4601b1=[],_0x55513e=0x5){const _0x59a192=_0x189c21;let _0x22c70d=new Set(_0x4601b1[_0x59a192(0x25c)](_0x5ec5fd=>!!_0x5ec5fd)),_0x3faeee=_0x3f04ae[_0x59a192(0x1d5)][_0x59a192(0x399)](_0x4e196c=>{const _0x49191a=_0x59a192;let _0x26ba19=_0x3f04ae['fields'][_0x4e196c];return _0x26ba19&&!_0x22c70d[_0x49191a(0x24f)](_0x26ba19['id'])?[_0x26ba19]:[];}),_0x52a15c=_0x3faeee['filter'](_0x130cb0=>mn[_0x59a192(0x24f)](_0x130cb0[_0x59a192(0x2c7)])),_0x225b44=_0x3faeee['filter'](_0xe0a79b=>!mn[_0x59a192(0x24f)](_0xe0a79b[_0x59a192(0x2c7)]));return[..._0x52a15c,..._0x225b44][_0x59a192(0xcf)](0x0,_0x55513e)[_0x59a192(0x1d0)](_0x5c71a0=>_0x5c71a0['id']);}function _n(){const _0x2cc997=_0x189c21;return[{'type':_0x23b613[_0x2cc997(0xd2)],'i18nKey':_0x2cc997(0x204),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3662b2=_0x2cc997;throw Error(_0x3662b2(0x279));}},{'type':_0x23b613['Kanban'],'i18nKey':_0x2cc997(0x1d2),'createDefaultConfig':_0x446da4=>{const _0x2420c8=_0x2cc997;let _0x124e0c=vn(_0x446da4);return{'groupFieldId':_0x124e0c,'coverFieldId':null,'cardLayout':_0x2420c8(0x327),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x446da4['primaryFieldId'],'fieldIds':gn(_0x446da4,[_0x446da4[_0x2420c8(0x176)],_0x124e0c])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x27b6e9=_0x2cc997;throw Error(_0x27b6e9(0x2d8));}},{'type':_0x23b613['Calendar'],'i18nKey':_0x2cc997(0x224),'createDefaultConfig':_0x26887b=>{const _0x86f3c0=_0x2cc997;let _0x459310=yn(_0x26887b);return{'startDateFieldId':_0x459310,'endDateFieldId':bn(_0x26887b,_0x459310),'titleFieldId':_0x26887b[_0x86f3c0(0x176)],'mode':'month','timeslotSize':_0x86f3c0(0x2cf),'timeZone':_0x86f3c0(0x290),'displayColor':{'type':'custom','color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1ad9b4=_0x2cc997;throw Error(_0x1ad9b4(0x2ae));}},{'type':_0x23b613['Gantt'],'i18nKey':_0x2cc997(0x288),'createDefaultConfig':_0x29e762=>{const _0x3e743f=_0x2cc997;var _0x11fe2d;let _0x44301c=yn(_0x29e762);return{'startDateFieldId':_0x44301c,'endDateFieldId':(_0x11fe2d=bn(_0x29e762,_0x44301c))==null?_0x44301c:_0x11fe2d,'titleFieldId':_0x29e762[_0x3e743f(0x176)],'scale':_0x3e743f(0x350),'showTodayLine':!0x0,'displayColor':{'type':_0x3e743f(0x33f),'color':_0x3e743f(0x1e5)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5ebb69=_0x2cc997;throw Error(_0x5ebb69(0xf2));}},{'type':_0x23b613[_0x2cc997(0xcb)],'i18nKey':_0x2cc997(0x302),'createDefaultConfig':_0x46d405=>{const _0xb703f1=_0x2cc997;let _0x863bca=hn(_0x46d405);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x863bca,'coverFieldId':null,'fieldIds':gn(_0x46d405,[_0x863bca,_0x46d405[_0xb703f1(0x176)]])},'cardSize':_0xb703f1(0x2cf)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3bbb80=_0x2cc997;throw Error(_0x3bbb80(0x36f));}}];}function vn(_0x5c1f7e){const _0xfcfe30=_0x189c21;var _0x5264cb,_0x364979,_0x3ab9f9,_0xf8d002,_0x1443b6,_0xffbef3;let _0x4bf566=_0x5c1f7e[_0xfcfe30(0x1d5)][_0xfcfe30(0x1d0)](_0x1bb39c=>_0x5c1f7e['fields'][_0x1bb39c])['filter'](_0x1dfa07=>!!_0x1dfa07);return(_0x5264cb=(_0x364979=(_0x3ab9f9=(_0xf8d002=_0x4bf566[_0xfcfe30(0x148)](_0x2dd4d9=>_0x2dd4d9[_0xfcfe30(0x2c7)]===_0x2b9397[_0xfcfe30(0x3a5)]||_0x2dd4d9[_0xfcfe30(0x2c7)]===_0x2b9397[_0xfcfe30(0xd9)]||_0x2dd4d9['type']===_0x2b9397[_0xfcfe30(0x1a9)]))==null?void 0x0:_0xf8d002['id'])==null?(_0x1443b6=_0x4bf566[_0xfcfe30(0x148)](_0x4c112b=>_0x4c112b['type']===_0x2b9397['Text']))==null?void 0x0:_0x1443b6['id']:_0x3ab9f9)==null?(_0xffbef3=_0x4bf566[_0xfcfe30(0x148)](_0x3144e0=>_0x3144e0[_0xfcfe30(0x2c7)]===_0x2b9397[_0xfcfe30(0x2b0)]||_0x3144e0[_0xfcfe30(0x2c7)]===_0x2b9397[_0xfcfe30(0x332)]||_0x3144e0[_0xfcfe30(0x2c7)]===_0x2b9397[_0xfcfe30(0x171)]))==null?void 0x0:_0xffbef3['id']:_0x364979)==null?_0x5c1f7e[_0xfcfe30(0x176)]:_0x5264cb;}function yn(_0x52c323){const _0x2eff78=_0x189c21;var _0x5e3488,_0x2f624c;return(_0x5e3488=(_0x2f624c=_0x52c323[_0x2eff78(0x1d5)][_0x2eff78(0x1d0)](_0x6cd50e=>_0x52c323[_0x2eff78(0xfb)][_0x6cd50e])[_0x2eff78(0x148)](xn))==null?void 0x0:_0x2f624c['id'])==null?'':_0x5e3488;}function bn(_0x1e81b6,_0x526599){const _0x4a77bd=_0x189c21;var _0x257672;return(_0x257672=_0x1e81b6[_0x4a77bd(0x1d5)][_0x4a77bd(0x1d0)](_0x367b7e=>_0x1e81b6[_0x4a77bd(0xfb)][_0x367b7e])[_0x4a77bd(0x148)](_0x1f7527=>xn(_0x1f7527)&&_0x1f7527['id']!==_0x526599))==null?void 0x0:_0x257672['id'];}function xn(_0x4b3ff3){const _0x329531=_0x189c21;return!!_0x4b3ff3&&_0x4b3ff3[_0x329531(0x2c7)]===_0x2b9397['Date']&&_0x4b3ff3[_0x329531(0x236)]!==!0x0&&_0x4b3ff3[_0x329531(0xcc)]!==!0x0;}const W=_0xda5c77(_0x189c21(0x241)),Sn=new Set([_0x2b9397[_0x189c21(0x35e)],_0x2b9397[_0x189c21(0x303)],_0x2b9397[_0x189c21(0x2c3)],_0x2b9397[_0x189c21(0x2aa)],_0x2b9397[_0x189c21(0x2b0)],_0x2b9397['CreatedAt'],_0x2b9397[_0x189c21(0x171)],_0x2b9397[_0x189c21(0x22e)]]);let Cn=class extends _0x6d36ab{constructor(_0x27e874){const _0x87c210=_0x189c21;super(),this[_0x87c210(0x20b)]=_0x27e874,R(this,_0x87c210(0x156),new Map()),R(this,_0x87c210(0x110),new WeakMap()),R(this,_0x87c210(0x2bb),new Map()),R(this,_0x87c210(0x2a4),new Map()),R(this,'_projectedGroupsCache',new Map()),R(this,_0x87c210(0x24b),0x0),R(this,'_tableRevisions',new Map()),R(this,'_cellRevisions',new Map()),R(this,'_cellInvalidations',new Map()),R(this,_0x87c210(0x37b),new Map());}[_0x189c21(0x39a)](_0x5bdd18){const _0x447419=_0x189c21;return this[_0x447419(0x156)][_0x447419(0x11d)](_0x5bdd18[_0x447419(0x2c7)],_0x5bdd18),_0x11ac9e(()=>this[_0x447419(0x156)][_0x447419(0x13f)](_0x5bdd18[_0x447419(0x2c7)]));}[_0x189c21(0x321)](_0x171686,_0x61f8fb,_0x1d164c){const _0x32916b=_0x189c21;var _0x2c7aad,_0x510eda,_0x532764,_0x454372,_0x22aab5;return C('BaseProjection.getProjection',()=>{const _0x23488a=_0x23e7;let _0x24ca8c=this[_0x23488a(0x2f5)](_0x171686,_0x61f8fb,_0x1d164c);if(_0x24ca8c)return _0x24ca8c;let _0xd97bfb=_0x171686[_0x23488a(0x2ea)][_0x61f8fb],_0x188982=_0xd97bfb==null?void 0x0:_0xd97bfb['views'][_0x1d164c];if(!_0xd97bfb||!_0x188982){var _0x5d7f71;return this[_0x23488a(0x1d8)](_0x171686,_0x61f8fb,_0x1d164c,{'type':'invalid','viewType':(_0x5d7f71=_0x188982==null?void 0x0:_0x188982[_0x23488a(0x2c7)])==null?_0x23b613[_0x23488a(0xd2)]:_0x5d7f71,'reason':_0x23488a(0x21e)});}let _0x503341;switch(_0x188982['type']){case _0x23b613[_0x23488a(0xd2)]:_0x503341=this[_0x23488a(0x23d)](_0xd97bfb,_0x188982);break;case _0x23b613['Gantt']:_0x503341=this[_0x23488a(0x184)](_0xd97bfb,_0x188982);break;case _0x23b613[_0x23488a(0x323)]:_0x503341=this[_0x23488a(0x2fb)](_0xd97bfb,_0x188982);break;case _0x23b613[_0x23488a(0x307)]:_0x503341=this[_0x23488a(0x211)](_0xd97bfb,_0x188982);break;case _0x23b613['Gallery']:_0x503341=this[_0x23488a(0x2f9)](_0xd97bfb,_0x188982);break;default:_0x503341={'type':'invalid','viewType':_0x188982[_0x23488a(0x2c7)],'reason':'missingField'};}return this[_0x23488a(0x1d8)](_0x171686,_0x61f8fb,_0x1d164c,_0x503341);},{'tableId':_0x61f8fb,'viewId':_0x1d164c,'viewType':(_0x2c7aad=_0x171686[_0x32916b(0x2ea)][_0x61f8fb])==null||(_0x2c7aad=_0x2c7aad[_0x32916b(0x12f)][_0x1d164c])==null?void 0x0:_0x2c7aad[_0x32916b(0x2c7)],'records':(_0x510eda=(_0x532764=_0x171686[_0x32916b(0x2ea)][_0x61f8fb])==null||(_0x532764=_0x532764[_0x32916b(0x34a)])==null?void 0x0:_0x532764[_0x32916b(0x149)])==null?Object[_0x32916b(0x1e7)]((_0x454372=(_0x22aab5=_0x171686['tables'][_0x61f8fb])==null?void 0x0:_0x22aab5['records'])==null?{}:_0x454372)[_0x32916b(0x149)]:_0x510eda});}[_0x189c21(0x1ea)](_0x56c13a,_0x1604cb,_0x533502){const _0x229191=_0x189c21;var _0x38c807,_0x3cef77,_0x1c9ddb,_0x58da81;let _0x46f0ec=_0x56c13a[_0x229191(0x2ea)][_0x1604cb],_0x545594=_0x46f0ec==null?void 0x0:_0x46f0ec[_0x229191(0x12f)][_0x533502];if(!_0x46f0ec||!_0x545594)throw Error(_0x229191(0x1c3)+_0x533502+'\x22.');let _0x53d95f=_0x3ee4dd=>!!_0x46f0ec[_0x229191(0xfb)][_0x3ee4dd],_0x13f7a2={..._0x545594,'filter':_0x545594['filter']?{..._0x545594[_0x229191(0x25c)],'conditions':_0x545594[_0x229191(0x25c)][_0x229191(0x2e1)][_0x229191(0x25c)](_0x41d142=>_0x53d95f(_0x41d142['fieldId']))}:_0x545594['filter'],'sort':(_0x38c807=_0x545594[_0x229191(0x273)])==null?void 0x0:_0x38c807[_0x229191(0x25c)](_0x12e8ae=>_0x53d95f(_0x12e8ae[_0x229191(0x2f3)])),'group':(_0x3cef77=_0x545594[_0x229191(0x200)])==null?void 0x0:_0x3cef77['filter'](_0x142ad7=>_0x53d95f(_0x142ad7[_0x229191(0x2f3)])),'fieldOrder':(_0x1c9ddb=_0x545594[_0x229191(0x1d5)])==null?void 0x0:_0x1c9ddb[_0x229191(0x25c)](_0x53d95f),'fieldSettings':Object[_0x229191(0x227)](Object['entries']((_0x58da81=_0x545594[_0x229191(0xf3)])==null?{}:_0x58da81)['filter'](([_0x2faeb1])=>_0x53d95f(_0x2faeb1)))};if(_0x13f7a2[_0x229191(0x2c7)]===_0x229191(0x111)){var _0x272c3c,_0x43a34b,_0x4627c1,_0x2f6e24;let _0xbe72c0=(_0x272c3c=_0x13f7a2[_0x229191(0x1a2)])==null?{}:_0x272c3c,_0x33dcaf=this[_0x229191(0x233)](_0x46f0ec,_0x13f7a2);_0x13f7a2[_0x229191(0x1a2)]={..._0xbe72c0,'groupFieldId':_0x33dcaf==null?_0xbe72c0[_0x229191(0x196)]:_0x33dcaf,'coverFieldId':this[_0x229191(0x100)](_0x46f0ec,_0xbe72c0),'cardLayout':_0xbe72c0[_0x229191(0xf5)]==='compose'?'compose':_0x229191(0x327),'showFieldNames':_0xbe72c0[_0x229191(0xf8)]!==!0x1,'fieldSettings':Object[_0x229191(0x227)](Object[_0x229191(0x2eb)]((_0x43a34b=_0xbe72c0[_0x229191(0xf3)])==null?{}:_0x43a34b)[_0x229191(0x25c)](([_0xe51b53])=>_0x53d95f(_0xe51b53))),'columnSettings':(_0x4627c1=_0xbe72c0['columnSettings'])==null?{}:_0x4627c1,'card':{...(_0x2f6e24=_0xbe72c0[_0x229191(0x1bd)])==null?{}:_0x2f6e24,'fieldIds':this[_0x229191(0x370)](_0x46f0ec,_0x13f7a2,_0x33dcaf==null?'':_0x33dcaf)}};}return{'repaired':JSON['stringify'](_0x13f7a2)!==JSON[_0x229191(0x1b0)](_0x545594),'view':_0x13f7a2};}[_0x189c21(0x1d4)](){const _0x258ac0=_0x189c21;this[_0x258ac0(0x24b)]++;}[_0x189c21(0x114)](_0x83121b,_0x40a7f6,_0x2ff1e7){const _0x5e4711=_0x189c21;var _0x546384;let _0xf11b01=this[_0x5e4711(0x10b)](_0x83121b)+0x1;this[_0x5e4711(0x1d1)][_0x5e4711(0x11d)](_0x83121b,_0xf11b01);let _0x1e7fd5=(_0x546384=this[_0x5e4711(0x177)][_0x5e4711(0x37d)](_0x83121b))==null?[]:_0x546384;_0x1e7fd5[_0x5e4711(0x2b9)]({'revision':_0xf11b01,'recordId':_0x40a7f6,'fieldId':_0x2ff1e7}),this[_0x5e4711(0x177)][_0x5e4711(0x11d)](_0x83121b,_0x1e7fd5);}[_0x189c21(0x103)](_0x547cd9,_0x306a13){this['_bumpTableRevision'](_0x547cd9);}['invalidateByView'](_0x52ba82,_0x50ced0){const _0x5c147c=_0x189c21;this[_0x5c147c(0x37b)][_0x5c147c(0x11d)](this['_viewRevisionKey'](_0x52ba82,_0x50ced0),this[_0x5c147c(0x365)](_0x52ba82,_0x50ced0)+0x1);}['_getCachedProjection'](_0x5830db,_0x55c178,_0x258f44){const _0x4424ad=_0x189c21;var _0x30136e;let _0x32c985=(_0x30136e=this['_projectionCache'][_0x4424ad(0x37d)](_0x5830db))==null?void 0x0:_0x30136e[_0x4424ad(0x37d)](this[_0x4424ad(0x2f4)](_0x55c178,_0x258f44));return _0x32c985&&_0x32c985[_0x4424ad(0x21a)]===this[_0x4424ad(0x24b)]&&_0x32c985['tableRevision']===this[_0x4424ad(0x2d1)](_0x55c178)&&_0x32c985['cellRevision']===this[_0x4424ad(0x10b)](_0x55c178)&&_0x32c985[_0x4424ad(0x239)]===this[_0x4424ad(0x365)](_0x55c178,_0x258f44)?_0x32c985[_0x4424ad(0x213)]:null;}[_0x189c21(0x1d8)](_0x50bc51,_0x2c5342,_0x2c02be,_0x3b58d1){const _0x24fa33=_0x189c21;let _0x2f262e=this['_projectionCache']['get'](_0x50bc51);return _0x2f262e||(_0x2f262e=new Map(),this[_0x24fa33(0x110)]['set'](_0x50bc51,_0x2f262e)),_0x2f262e[_0x24fa33(0x11d)](this[_0x24fa33(0x2f4)](_0x2c5342,_0x2c02be),{'projection':_0x3b58d1,'globalRevision':this[_0x24fa33(0x24b)],'tableRevision':this[_0x24fa33(0x2d1)](_0x2c5342),'cellRevision':this[_0x24fa33(0x10b)](_0x2c5342),'viewRevision':this[_0x24fa33(0x365)](_0x2c5342,_0x2c02be)}),_0x3b58d1;}[_0x189c21(0x394)](_0x117da7){const _0x5e7d73=_0x189c21;this['_tableRevisions'][_0x5e7d73(0x11d)](_0x117da7,this[_0x5e7d73(0x2d1)](_0x117da7)+0x1);}[_0x189c21(0x2d1)](_0x4c9cc6){const _0x4829b1=_0x189c21;var _0x224331;return(_0x224331=this[_0x4829b1(0x1a3)][_0x4829b1(0x37d)](_0x4c9cc6))==null?0x0:_0x224331;}[_0x189c21(0x10b)](_0x41742b){const _0x42ac4b=_0x189c21;var _0x47b353;return(_0x47b353=this[_0x42ac4b(0x1d1)]['get'](_0x41742b))==null?0x0:_0x47b353;}[_0x189c21(0x365)](_0x53baeb,_0x8e5d3f){const _0x3c7e79=_0x189c21;var _0xe05454;return(_0xe05454=this['_viewRevisions'][_0x3c7e79(0x37d)](this['_viewRevisionKey'](_0x53baeb,_0x8e5d3f)))==null?0x0:_0xe05454;}[_0x189c21(0x2f4)](_0x1935b5,_0x3417aa){return _0x1935b5+'\x00'+_0x3417aa;}[_0x189c21(0x2c9)](_0x4ce0d5,_0xf9071){const _0x2a8f5e=_0x189c21;return _0x4ce0d5+'\x00'+this[_0x2a8f5e(0x1af)](_0xf9071);}[_0x189c21(0xd4)](_0x49d583,_0x1b64dd,_0x4c86a4){const _0x5a7cd8=_0x189c21;return _0x49d583+'\x00'+this[_0x5a7cd8(0x1af)](_0x1b64dd)+'\x00'+this[_0x5a7cd8(0x240)](_0x4c86a4);}[_0x189c21(0x1af)](_0x1b70af){const _0x3bca00=_0x189c21;return _0x1b70af?kn({'filter':Dn(_0x1b70af[_0x3bca00(0x25c)]),'sort':On(_0x1b70af['sort'])}):_0x3bca00(0x366);}[_0x189c21(0x240)](_0x5150b6){const _0x13798c=_0x189c21;return kn(_0x5150b6[_0x13798c(0x1d0)](_0x2c01fa=>{const _0x424fbd=_0x13798c;var _0x2b9cc4;return{'fieldId':_0x2c01fa['fieldId'],'direction':(_0x2b9cc4=_0x2c01fa[_0x424fbd(0x1fe)])==null?null:_0x2b9cc4};}));}[_0x189c21(0x126)](_0x33b47f,_0x17df35){return _0x33b47f+'\x00'+_0x17df35;}[_0x189c21(0x23d)](_0x5b78c5,_0x4ce11d){const _0x3502cd=_0x189c21;let _0x2a2de4=this[_0x3502cd(0x38c)](_0x5b78c5,_0x4ce11d);return{'type':_0x23b613[_0x3502cd(0xd2)],'fields':this['_projectFields'](_0x5b78c5,_0x4ce11d),'rows':_0x2a2de4,'groups':this['_projectGroups'](_0x5b78c5,_0x4ce11d,_0x2a2de4),'frozenFieldCount':typeof _0x4ce11d[_0x3502cd(0x1a2)][_0x3502cd(0x2b6)]==_0x3502cd(0x2a3)?_0x4ce11d[_0x3502cd(0x1a2)]['frozenFieldCount']:0x0};}['_buildKanban'](_0x4bab03,_0xe0000e){const _0x16ff75=_0x189c21;var _0x3e9a82;let _0x4652c2=this[_0x16ff75(0x233)](_0x4bab03,_0xe0000e),_0x56ff5d=_0x4652c2?_0x4bab03[_0x16ff75(0xfb)][_0x4652c2]:void 0x0;if(!_0x56ff5d)return{'type':_0x16ff75(0x311),'viewType':_0x23b613[_0x16ff75(0x323)],'reason':_0x16ff75(0x2d0),'fieldId':_0xe0000e[_0x16ff75(0x1a2)][_0x16ff75(0x196)]};let _0x23856a=this[_0x16ff75(0x38c)](_0x4bab03,_0xe0000e),_0xf6e0bf=this[_0x16ff75(0xed)](_0x4bab03,_0xe0000e),_0x4cc5f5=(_0x3e9a82=_0xe0000e[_0x16ff75(0x1a2)])==null?{}:_0x3e9a82,_0x3cf8c4=this[_0x16ff75(0x370)](_0x4bab03,_0xe0000e,_0x56ff5d['id']),_0x4b434f=new Map();return this[_0x16ff75(0x337)](_0x56ff5d,_0x4cc5f5)[_0x16ff75(0x38f)](_0xd846b=>_0x4b434f[_0x16ff75(0x11d)](_0xd846b['key'],{..._0xd846b,'recordIds':[]})),_0x23856a[_0x16ff75(0x38f)](_0x521015=>{const _0x580d75=_0x16ff75;this[_0x580d75(0x17d)](_0x56ff5d,_0x521015[_0x580d75(0x21c)][_0x56ff5d['id']])[_0x580d75(0x38f)](_0x12afa8=>{const _0x4b29ce=_0x580d75;let _0x74300a=_0x4b434f['get'](_0x12afa8),_0xc9b80d=_0x74300a==null?{'key':_0x12afa8,'title':this[_0x4b29ce(0x23a)](_0x56ff5d,_0x12afa8,_0x4cc5f5),'color':this[_0x4b29ce(0x293)](_0x56ff5d,_0x12afa8,_0x4cc5f5),'recordIds':[]}:_0x74300a;_0xc9b80d['recordIds']['push'](_0x521015[_0x4b29ce(0x30a)]),_0x4b434f[_0x4b29ce(0x11d)](_0x12afa8,_0xc9b80d);});}),{'type':_0x23b613[_0x16ff75(0x323)],'fields':_0xf6e0bf,'rows':_0x23856a,'groups':this['_projectGroups'](_0x4bab03,_0xe0000e,_0x23856a),'groupFieldId':_0x56ff5d['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x4bab03,_0x4cc5f5),'cardLayout':_0x4cc5f5['cardLayout']===_0x16ff75(0xc0)?'compose':_0x16ff75(0x327),'showFieldNames':_0x4cc5f5[_0x16ff75(0xf8)]!==!0x1,'visibleCardFieldIds':_0x3cf8c4,'lanes':Array['from'](_0x4b434f[_0x16ff75(0x21c)]())};}['_resolveKanbanGroupFieldId'](_0x472275,_0x15c671){const _0x4ce8e7=_0x189c21;var _0x50a18d;let _0x1b327c=(_0x50a18d=_0x15c671[_0x4ce8e7(0x1a2)])==null?void 0x0:_0x50a18d[_0x4ce8e7(0x196)];return _0x1b327c&&this[_0x4ce8e7(0x144)](_0x472275,_0x1b327c)?_0x1b327c:this['_findKanbanGroupField'](_0x472275,_0x25c456=>this[_0x4ce8e7(0x1d3)](_0x25c456));}['_findKanbanGroupField'](_0x90fd6f,_0x369091){const _0xd44788=_0x189c21;for(let _0x5e8603 of _0x90fd6f[_0xd44788(0x1d5)]){let _0x42a53f=_0x90fd6f[_0xd44788(0xfb)][_0x5e8603];if(_0x42a53f&&_0x369091(_0x42a53f))return _0x42a53f['id'];}return null;}[_0x189c21(0x144)](_0x9f538c,_0x57cb27){const _0x328d51=_0x189c21;let _0x2d7d4b=_0x9f538c['fields'][_0x57cb27];return this[_0x328d51(0x1d3)](_0x2d7d4b);}[_0x189c21(0x1d3)](_0x4848c3){const _0x591614=_0x189c21;return!!_0x4848c3&&(_0x4848c3[_0x591614(0x2c7)]===_0x2b9397[_0x591614(0x3a5)]||_0x4848c3[_0x591614(0x2c7)]===_0x2b9397[_0x591614(0xd9)]||_0x4848c3[_0x591614(0x2c7)]===_0x2b9397['Rating']||_0x4848c3[_0x591614(0x2c7)]===_0x2b9397['Person']||_0x4848c3[_0x591614(0x2c7)]===_0x2b9397[_0x591614(0x1a9)]||_0x4848c3['type']===_0x2b9397[_0x591614(0x22e)]);}['_isColorfulKanbanGroupField'](_0x1f0936){const _0x42a757=_0x189c21;return _0x1f0936[_0x42a757(0x2c7)]===_0x2b9397[_0x42a757(0x3a5)]||_0x1f0936[_0x42a757(0x2c7)]===_0x2b9397[_0x42a757(0xd9)];}['_resolveKanbanCoverFieldId'](_0x2cb35d,_0x4539c1){const _0x3a66c4=_0x189c21;var _0xc5474f,_0x35c6d8,_0x16046e;let _0x3eb4db=(_0xc5474f=(_0x35c6d8=_0x4539c1['coverFieldId'])==null?(_0x16046e=_0x4539c1[_0x3a66c4(0x1bd)])==null?void 0x0:_0x16046e['coverFieldId']:_0x35c6d8)==null?null:_0xc5474f;if(!_0x3eb4db)return null;let _0x2695f7=_0x2cb35d[_0x3a66c4(0xfb)][_0x3eb4db];return _0x2695f7&&this[_0x3a66c4(0x164)](_0x2695f7)[_0x3a66c4(0x139)]?_0x2695f7['id']:null;}['_resolveKanbanCardFieldIds'](_0x3a3741,_0xc142d3,_0x4dd948){const _0x41ad05=_0x189c21;var _0x1a02f0,_0x239884,_0x35df58;let _0x5ecfef=(_0x1a02f0=_0xc142d3[_0x41ad05(0x1a2)])==null?{}:_0x1a02f0,_0x3ee0e2=(_0x239884=_0x5ecfef['card'])!=null&&(_0x239884=_0x239884[_0x41ad05(0x1e1)])!=null&&_0x239884[_0x41ad05(0x149)]?_0x5ecfef[_0x41ad05(0x1bd)][_0x41ad05(0x1e1)]:gn(_0x3a3741,[_0x3a3741[_0x41ad05(0x176)],_0x4dd948]),_0x3cce5b=(_0x35df58=_0x5ecfef['fieldSettings'])==null?{}:_0x35df58;return _0x3ee0e2[_0x41ad05(0x25c)](_0x466d6b=>{const _0x49fc9c=_0x41ad05;var _0x4d80b8,_0x9446cc;let _0x4fd2d2=_0x3a3741[_0x49fc9c(0xfb)][_0x466d6b];return!(!_0x4fd2d2||_0x4fd2d2['id']===_0x4dd948||(_0x4d80b8=_0xc142d3[_0x49fc9c(0xf3)])!=null&&(_0x4d80b8=_0x4d80b8[_0x466d6b])!=null&&_0x4d80b8['hidden']||(_0x9446cc=_0x3cce5b[_0x466d6b])!=null&&_0x9446cc['hidden']);})[_0x41ad05(0x273)]((_0x156fdd,_0x484379)=>{const _0x2dcca4=_0x41ad05;var _0x654899,_0x3484b7,_0x15d08f,_0x56f850;return((_0x654899=(_0x3484b7=_0x3cce5b[_0x156fdd])==null?void 0x0:_0x3484b7[_0x2dcca4(0x19f)])==null?_0x3ee0e2[_0x2dcca4(0x2f7)](_0x156fdd):_0x654899)-((_0x15d08f=(_0x56f850=_0x3cce5b[_0x484379])==null?void 0x0:_0x56f850[_0x2dcca4(0x19f)])==null?_0x3ee0e2[_0x2dcca4(0x2f7)](_0x484379):_0x15d08f);});}['_getKanbanConfiguredLanes'](_0x3abc5d,_0x4a5590){const _0x4c8937=_0x189c21;var _0x5d7368,_0x1fdbe9;let _0x11e293=(Array[_0x4c8937(0x286)]((_0x5d7368=_0x3abc5d[_0x4c8937(0x1a2)])==null?void 0x0:_0x5d7368[_0x4c8937(0x11f)])?_0x3abc5d[_0x4c8937(0x1a2)][_0x4c8937(0x11f)]:[])[_0x4c8937(0x399)]((_0x5e6647,_0x2c9793)=>{const _0x56d737=_0x4c8937;var _0x1c580c,_0x5e8e8f,_0x13b19d,_0xdccfdb;if(_0x5e6647==null)return[];let _0xfe665f=typeof _0x5e6647==_0x56d737(0xca)?{'id':_0x5e6647,'name':_0x5e6647,'color':void 0x0}:_0x5e6647,_0x417893=String((_0x1c580c=(_0x5e8e8f=_0xfe665f['id'])==null?_0xfe665f['name']:_0x5e8e8f)==null?'option-'+(_0x2c9793+0x1):_0x1c580c);return[{'key':_0x417893,'title':String((_0x13b19d=(_0xdccfdb=_0xfe665f[_0x56d737(0x1cf)])==null?_0xfe665f['id']:_0xdccfdb)==null?_0x417893:_0x13b19d),'color':this['_kanbanLaneColor'](_0x3abc5d,_0x417893,_0x4a5590)}];});return Object[_0x4c8937(0x2eb)]((_0x1fdbe9=_0x4a5590['columnSettings'])==null?{}:_0x1fdbe9)[_0x4c8937(0x38f)](([_0x4f1f9b,_0x49e60f])=>{const _0x1fd92f=_0x4c8937;var _0x39398c;_0x11e293[_0x1fd92f(0x2ab)](_0x161800=>_0x161800[_0x1fd92f(0x359)]===_0x4f1f9b)||_0x11e293[_0x1fd92f(0x2b9)]({'key':_0x4f1f9b,'title':this['_isColorfulKanbanGroupField'](_0x3abc5d)?(_0x39398c=_0x49e60f['title'])==null?this[_0x1fd92f(0x23a)](_0x3abc5d,_0x4f1f9b,_0x4a5590):_0x39398c:this['_kanbanLaneTitle'](_0x3abc5d,_0x4f1f9b,_0x4a5590),'color':this[_0x1fd92f(0x293)](_0x3abc5d,_0x4f1f9b,_0x4a5590)});}),_0x11e293;}[_0x189c21(0x17d)](_0x1d5dae,_0x1a0cd2){const _0x1ae0bc=_0x189c21;let _0x4da61f=_0x47c575=>{const _0x25d2c2=_0x23e7;var _0x2c2e3a,_0x1bd264;let _0x47ca4c=_0x47c575==null?'':String(_0x47c575);return!_0x47ca4c||!this[_0x25d2c2(0x37a)](_0x1d5dae)||(_0x2c2e3a=(_0x1bd264=J(_0x1d5dae,_0x47ca4c))==null?void 0x0:_0x1bd264['id'])==null?_0x47ca4c:_0x2c2e3a;};if(Array[_0x1ae0bc(0x286)](_0x1a0cd2)){let _0x17e825=_0x1a0cd2[_0x1ae0bc(0x1d0)](_0x4da61f)['filter'](_0x5d0539=>_0x5d0539!=='');return _0x17e825[_0x1ae0bc(0x149)]?_0x17e825:[''];}return[_0x4da61f(_0x1a0cd2)];}[_0x189c21(0x23a)](_0x402128,_0x5a3cbb,_0x184b34){const _0x120b02=_0x189c21;var _0x3cd787;if(!_0x5a3cbb)return _0x120b02(0x197);let _0x2c6d87=J(_0x402128,_0x5a3cbb);return(_0x3cd787=_0x2c6d87==null?void 0x0:_0x2c6d87['name'])==null?_0x5a3cbb:_0x3cd787;}[_0x189c21(0x293)](_0x2a70e0,_0x42320a,_0xec5cc8){const _0x2c1eb7=_0x189c21;var _0x561bc2;if(this[_0x2c1eb7(0x37a)](_0x2a70e0))return(_0x561bc2=J(_0x2a70e0,_0x42320a))==null?void 0x0:_0x561bc2[_0x2c1eb7(0x13c)];}[_0x189c21(0x211)](_0x129545,_0x516fed){const _0x2cafcc=_0x189c21;var _0x1ccac1;let _0x18afd7=this[_0x2cafcc(0x1f4)](_0x129545,(_0x1ccac1=_0x516fed[_0x2cafcc(0x1a2)])==null?{}:_0x1ccac1),_0x3796e7=_0x129545[_0x2cafcc(0xfb)][_0x18afd7[_0x2cafcc(0x10f)]];if(!_0x3796e7||_0x3796e7[_0x2cafcc(0x2c7)]!==_0x2b9397[_0x2cafcc(0x2b0)]||_0x3796e7[_0x2cafcc(0x236)]===!0x0||_0x3796e7[_0x2cafcc(0xcc)]===!0x0||!this[_0x2cafcc(0x164)](_0x3796e7)[_0x2cafcc(0x207)])return{'type':_0x2cafcc(0x311),'viewType':_0x23b613[_0x2cafcc(0x307)],'reason':_0x2cafcc(0x266),'fieldId':_0x18afd7[_0x2cafcc(0x10f)]};let _0x55f0bc=_0x18afd7[_0x2cafcc(0x28e)]?_0x129545[_0x2cafcc(0xfb)][_0x18afd7[_0x2cafcc(0x28e)]]:void 0x0,_0x149a72=this['_projectRows'](_0x129545,_0x516fed);return{'type':_0x23b613['Calendar'],'config':_0x18afd7,'fields':this[_0x2cafcc(0xed)](_0x129545,_0x516fed),'rows':_0x149a72,'groups':this['_projectGroups'](_0x129545,_0x516fed,_0x149a72),'events':_0x149a72[_0x2cafcc(0x399)](_0x446f4c=>{const _0x4a5c76=_0x2cafcc;let _0x481b9c=j(_0x446f4c['values'][_0x18afd7['startDateFieldId']]);if(!Number['isFinite'](_0x481b9c))return[];let _0x2b885b=_0x446f4c[_0x4a5c76(0x21c)][_0x18afd7[_0x4a5c76(0x10f)]],_0x55caa6=_0x18afd7[_0x4a5c76(0x28e)]==null?void 0x0:_0x446f4c[_0x4a5c76(0x21c)][_0x18afd7['endDateFieldId']],_0x5b97a3=_0x18afd7[_0x4a5c76(0x28e)]==null?void 0x0:j(_0x55caa6),_0x17413e=Number[_0x4a5c76(0x314)](_0x5b97a3)?_0x5b97a3:void 0x0;return[{'recordId':_0x446f4c[_0x4a5c76(0x30a)],'title':this[_0x4a5c76(0x281)](_0x129545,_0x446f4c,_0x18afd7[_0x4a5c76(0x1fd)]),'start':_0x481b9c,'end':_0x17413e,'color':this[_0x4a5c76(0x1a0)](_0x129545,_0x446f4c,_0x18afd7),'startMs':_0x481b9c,'endMs':_0x17413e,'allDay':this[_0x4a5c76(0x392)](_0x3796e7,_0x55f0bc,_0x2b885b,_0x55caa6),'fieldValues':_0x446f4c[_0x4a5c76(0x21c)]}];})};}['_normalizeCalendarConfig'](_0x362348,_0x50e3e8){const _0x5c311b=_0x189c21;var _0x4227c8,_0x33b190;let _0x32c080=this[_0x5c311b(0x165)](_0x362348,_0x50e3e8[_0x5c311b(0x10f)]),_0x730918=_0x50e3e8[_0x5c311b(0x28e)]&&this[_0x5c311b(0x2de)](_0x362348,_0x50e3e8[_0x5c311b(0x28e)])?_0x50e3e8[_0x5c311b(0x28e)]:(_0x4227c8=this[_0x5c311b(0xd1)](_0x362348,_0x32c080))==null?void 0x0:_0x4227c8,_0x356c22=_0x50e3e8[_0x5c311b(0x1fd)]&&_0x362348['fields'][_0x50e3e8[_0x5c311b(0x1fd)]]?_0x50e3e8[_0x5c311b(0x1fd)]:_0x362348[_0x5c311b(0x176)],_0xe13152=_0x50e3e8[_0x5c311b(0x2bf)]===_0x5c311b(0x147)||_0x50e3e8[_0x5c311b(0x2bf)]===_0x5c311b(0x109)?_0x50e3e8[_0x5c311b(0x2bf)]:'month',_0x343e10=_0x50e3e8[_0x5c311b(0x28d)]===_0x5c311b(0x13e)||_0x50e3e8[_0x5c311b(0x28d)]===_0x5c311b(0x2ef)?_0x50e3e8[_0x5c311b(0x28d)]:_0x5c311b(0x2cf),_0xca4ffb=typeof _0x50e3e8['timeZone']=='string'&&_0x50e3e8[_0x5c311b(0x2a7)][_0x5c311b(0x378)]()?_0x50e3e8[_0x5c311b(0x2a7)]:'local',_0x2af32b=this[_0x5c311b(0x14a)](_0x362348,_0x50e3e8);return{..._0x50e3e8,'startDateFieldId':_0x32c080,'endDateFieldId':_0x730918,'titleFieldId':_0x356c22,'mode':_0xe13152,'timeslotSize':_0x343e10,'timeZone':_0xca4ffb,'displayColor':_0x2af32b,'fieldSettings':Object['fromEntries'](Object[_0x5c311b(0x2eb)]((_0x33b190=_0x50e3e8[_0x5c311b(0xf3)])==null?{}:_0x33b190)[_0x5c311b(0x25c)](([_0x4f1392])=>!!_0x362348[_0x5c311b(0xfb)][_0x4f1392]))};}[_0x189c21(0x165)](_0x3135f6,_0x34008c){var _0x422a0a,_0x43a832;return _0x34008c&&this['_isCalendarDateField'](_0x3135f6,_0x34008c)?_0x34008c:(_0x422a0a=(_0x43a832=this['_findCalendarDateFieldId'](_0x3135f6))==null?_0x34008c:_0x43a832)==null?'':_0x422a0a;}['_findCalendarDateFieldId'](_0x5a2590,_0x4e7f60){const _0x5aa371=_0x189c21;for(let _0x1dd81c of _0x5a2590['fieldOrder'])if(_0x1dd81c!==_0x4e7f60&&this[_0x5aa371(0x2de)](_0x5a2590,_0x1dd81c))return _0x1dd81c;return null;}['_isCalendarDateField'](_0x467f83,_0x14f502){const _0x56915a=_0x189c21;let _0x4b5092=_0x467f83[_0x56915a(0xfb)][_0x14f502];return!!_0x4b5092&&_0x4b5092[_0x56915a(0x2c7)]===_0x2b9397['Date']&&_0x4b5092['readonly']!==!0x0&&_0x4b5092['system']!==!0x0&&this[_0x56915a(0x164)](_0x4b5092)[_0x56915a(0x207)];}[_0x189c21(0x14a)](_0x3041c9,_0x2d70f4){const _0x441f46=_0x189c21;let _0x32b6b4=_0x2d70f4[_0x441f46(0x2be)];if((_0x32b6b4==null?void 0x0:_0x32b6b4[_0x441f46(0x2c7)])===_0x441f46(0x22d)){let _0x4c80ab=_0x3041c9[_0x441f46(0xfb)][_0x32b6b4[_0x441f46(0x2f3)]];if(_0x4c80ab&&_0x4c80ab[_0x441f46(0x2c7)]===_0x2b9397[_0x441f46(0x3a5)])return _0x32b6b4;}if((_0x32b6b4==null?void 0x0:_0x32b6b4[_0x441f46(0x2c7)])===_0x441f46(0x33f)&&typeof _0x32b6b4[_0x441f46(0x13c)]==_0x441f46(0xca)&&_0x32b6b4[_0x441f46(0x13c)][_0x441f46(0x378)]())return{'type':'custom','color':_0x32b6b4[_0x441f46(0x13c)]};if(_0x2d70f4[_0x441f46(0x15e)]){let _0x50dceb=_0x3041c9[_0x441f46(0xfb)][_0x2d70f4[_0x441f46(0x15e)]];if(_0x50dceb&&_0x50dceb[_0x441f46(0x2c7)]===_0x2b9397[_0x441f46(0x3a5)])return{'type':'selectField','fieldId':_0x2d70f4['colorFieldId']};}return{'type':_0x441f46(0x33f),'color':'#3b82f6'};}[_0x189c21(0x1a0)](_0x1ce7dc,_0x2e5d1a,_0x39bb8b){const _0x33ad02=_0x189c21;let _0x30f9bd=_0x39bb8b[_0x33ad02(0x2be)];if((_0x30f9bd==null?void 0x0:_0x30f9bd[_0x33ad02(0x2c7)])===_0x33ad02(0x22d)){var _0x56bffd;let _0x405f26=_0x1ce7dc['fields'][_0x30f9bd[_0x33ad02(0x2f3)]];if(!_0x405f26)return;let _0x152a5e=_0x2e5d1a[_0x33ad02(0x21c)][_0x30f9bd[_0x33ad02(0x2f3)]],_0x2397fa=Array[_0x33ad02(0x286)](_0x152a5e)?_0x152a5e[0x0]:_0x152a5e;return _0x2397fa==null||(_0x56bffd=J(_0x405f26,String(_0x2397fa)))==null?void 0x0:_0x56bffd[_0x33ad02(0x13c)];}if((_0x30f9bd==null?void 0x0:_0x30f9bd['type'])===_0x33ad02(0x33f))return _0x30f9bd['color'];}['_isAllDayCalendarEvent'](_0x5bd69f,_0x4aa649,_0x255549,_0x29db04){const _0x4760a0=_0x189c21;var _0x26cb0f,_0x491f66;let _0x595699=((_0x26cb0f=_0x5bd69f[_0x4760a0(0x1a2)])==null?void 0x0:_0x26cb0f[_0x4760a0(0x132)])===!0x0,_0x3259ee=(_0x4aa649==null||(_0x491f66=_0x4aa649[_0x4760a0(0x1a2)])==null?void 0x0:_0x491f66[_0x4760a0(0x132)])===!0x0;return!_0x595699&&!_0x3259ee;}[_0x189c21(0x25d)](_0xbdf9,_0x28d268){const _0x31e29b=_0x189c21;var _0x5079a7,_0x18fcf5;let _0xa95a1=((_0x5079a7=_0xbdf9['config'])==null?void 0x0:_0x5079a7[_0x31e29b(0x132)])===!0x0,_0xe3c10b=((_0x18fcf5=_0x28d268[_0x31e29b(0x1a2)])==null?void 0x0:_0x18fcf5[_0x31e29b(0x132)])===!0x0;return!_0xa95a1&&!_0xe3c10b;}[_0x189c21(0x184)](_0x2126f6,_0xb87a6a){const _0x50649e=_0x189c21;let _0x5cad1c=this[_0x50649e(0x1db)](_0x2126f6,_0xb87a6a[_0x50649e(0x1a2)]),_0x1c8fe5=_0x2126f6[_0x50649e(0xfb)][_0x5cad1c[_0x50649e(0x10f)]];if(!_0x1c8fe5||_0x1c8fe5[_0x50649e(0x2c7)]!==_0x2b9397[_0x50649e(0x2b0)]||_0x1c8fe5[_0x50649e(0x236)]===!0x0||_0x1c8fe5['system']===!0x0||!this[_0x50649e(0x164)](_0x1c8fe5)[_0x50649e(0x2fa)])return{'type':_0x50649e(0x311),'viewType':_0x23b613[_0x50649e(0x137)],'reason':_0x50649e(0x343),'fieldId':_0x5cad1c[_0x50649e(0x10f)]};let _0x2b9f78=_0x2126f6[_0x50649e(0xfb)][_0x5cad1c[_0x50649e(0x28e)]];if(!_0x2b9f78||_0x2b9f78['type']!==_0x2b9397[_0x50649e(0x2b0)]||_0x2b9f78[_0x50649e(0x236)]===!0x0||_0x2b9f78['system']===!0x0||!this['_capabilities'](_0x2b9f78)[_0x50649e(0x317)])return{'type':'invalid','viewType':_0x23b613[_0x50649e(0x137)],'reason':'invalidGanttEndField','fieldId':_0x5cad1c[_0x50649e(0x28e)]};let _0xd211e9=this['_isAllDayGanttDateRange'](_0x1c8fe5,_0x2b9f78),_0x388eba=this[_0x50649e(0x38c)](_0x2126f6,_0xb87a6a),_0x4b5fd1=_0x388eba[_0x50649e(0x399)](_0x43a958=>{const _0x10efb9=_0x50649e;var _0x13e59b;let _0x40008a=j(_0x43a958[_0x10efb9(0x21c)][_0x5cad1c[_0x10efb9(0x10f)]]),_0x317fd4=j(_0x43a958[_0x10efb9(0x21c)][_0x5cad1c[_0x10efb9(0x28e)]]);if(!Number['isFinite'](_0x40008a)||!Number[_0x10efb9(0x314)](_0x317fd4))return[];let _0x4c4a2e=Math[_0x10efb9(0x15a)](_0x40008a,_0x317fd4),_0x2e248c=Math[_0x10efb9(0x301)](_0x40008a,_0x317fd4),_0x5e84ab=_0x5cad1c[_0x10efb9(0x38e)]==null?void 0x0:Number(_0x43a958[_0x10efb9(0x21c)][_0x5cad1c[_0x10efb9(0x38e)]]);return[{'recordId':_0x43a958[_0x10efb9(0x30a)],'title':this[_0x10efb9(0x281)](_0x2126f6,_0x43a958,_0x5cad1c[_0x10efb9(0x1fd)]),'start':_0x4c4a2e,'end':_0x2e248c,'color':this['_ganttBarColor'](_0x2126f6,_0x43a958,_0x5cad1c),'progress':Number[_0x10efb9(0x314)](_0x5e84ab)?_0x5e84ab:void 0x0,'workingDayCount':_0x5cad1c[_0x10efb9(0x1ce)]?Bn(_0x4c4a2e,_0x2e248c,_0x5cad1c[_0x10efb9(0x192)]):void 0x0,'dependencyRecordIds':this[_0x10efb9(0xd6)](_0x43a958[_0x10efb9(0x21c)][(_0x13e59b=_0x5cad1c['dependencyFieldId'])==null?'':_0x13e59b])}];}),_0x5e601a=_0x4b5fd1['length']?K(Math[_0x50649e(0x15a)](..._0x4b5fd1[_0x50649e(0x1d0)](_0x3cd0aa=>_0x3cd0aa[_0x50649e(0x250)]))-0x5a*G):K(Date['now']()-0x5a*G),_0x549d29=_0x4b5fd1['length']?K(Math[_0x50649e(0x301)](..._0x4b5fd1[_0x50649e(0x1d0)](_0xfccae1=>_0xfccae1[_0x50649e(0x2d3)]))+0x5b*G):K(Date[_0x50649e(0x23e)]()+0x5b*G),_0x263259=Mn(_0x5cad1c[_0x50649e(0x265)],_0x5e601a,_0x549d29,_0x5cad1c[_0x50649e(0x1ce)]?_0x5cad1c['workingDays']:void 0x0);return{'type':_0x23b613['Gantt'],'fields':this[_0x50649e(0xed)](_0x2126f6,{..._0xb87a6a,'config':_0x5cad1c}),'rows':_0x388eba,'groups':this[_0x50649e(0x319)](_0x2126f6,_0xb87a6a,_0x388eba),'config':_0x5cad1c,'dateRangeAllDay':_0xd211e9,'timeline':{'scale':_0x5cad1c[_0x50649e(0x265)],'start':_0x5e601a,'end':_0x549d29,'unitWidth':_0x263259['unitWidth'],'majorHeaders':_0x263259[_0x50649e(0x2c0)],'columns':_0x263259[_0x50649e(0xc1)]},'bars':_0x4b5fd1};}[_0x189c21(0x1db)](_0x3ae84a,_0x4acf5a){const _0x54c71f=_0x189c21;var _0x322a1c;let _0x2b295c=this[_0x54c71f(0x13a)](_0x3ae84a,_0x4acf5a['startDateFieldId'],_0x54c71f(0x250)),_0x2bc623=this[_0x54c71f(0x13a)](_0x3ae84a,_0x4acf5a[_0x54c71f(0x28e)],_0x54c71f(0x2d3))||_0x2b295c,_0xaec79e=_0x4acf5a[_0x54c71f(0x1fd)]&&_0x3ae84a[_0x54c71f(0xfb)][_0x4acf5a[_0x54c71f(0x1fd)]]?_0x4acf5a['titleFieldId']:_0x3ae84a[_0x54c71f(0x176)],_0x2e46af=_0x4acf5a[_0x54c71f(0x265)]===_0x54c71f(0x109)||_0x4acf5a['scale']==='quarter'||_0x4acf5a['scale']==='year'?_0x4acf5a[_0x54c71f(0x265)]:_0x54c71f(0x350),_0x36ca92=jn(_0x4acf5a['workingDays']);return{..._0x4acf5a,'startDateFieldId':_0x2b295c,'endDateFieldId':_0x2bc623,'titleFieldId':_0xaec79e,'scale':_0x2e46af,'leftPaneWidth':typeof _0x4acf5a['leftPaneWidth']==_0x54c71f(0x2a3)?_0x4acf5a[_0x54c71f(0x306)]:void 0x0,'leftPaneCollapsed':_0x4acf5a[_0x54c71f(0x20d)]===!0x0,'showTodayLine':_0x4acf5a['showTodayLine']!==!0x1,'displayColor':this[_0x54c71f(0x1eb)](_0x3ae84a,_0x4acf5a),'fieldSettings':Object[_0x54c71f(0x227)](Object[_0x54c71f(0x2eb)]((_0x322a1c=_0x4acf5a['fieldSettings'])==null?{}:_0x322a1c)['filter'](([_0x37d867])=>!!_0x3ae84a['fields'][_0x37d867])),'workingDaysOnly':_0x4acf5a[_0x54c71f(0x1ce)]===!0x0,'workingDays':_0x36ca92};}[_0x189c21(0x13a)](_0x5b1b55,_0x9a523b,_0x3f9ecb){const _0x1f063b=_0x189c21;if(_0x9a523b&&this[_0x1f063b(0x16d)](_0x5b1b55,_0x9a523b,_0x3f9ecb)||_0x9a523b)return _0x9a523b;for(let _0x1ba711 of _0x5b1b55[_0x1f063b(0x1d5)])if(this[_0x1f063b(0x16d)](_0x5b1b55,_0x1ba711,_0x3f9ecb))return _0x1ba711;return _0x9a523b==null?'':_0x9a523b;}['_isGanttDateField'](_0x2d5057,_0x20cec0,_0x4f655f){const _0x16c190=_0x189c21;let _0x1f9afc=_0x2d5057[_0x16c190(0xfb)][_0x20cec0];if(!_0x1f9afc||_0x1f9afc[_0x16c190(0x2c7)]!==_0x2b9397['Date']||_0x1f9afc[_0x16c190(0x236)]===!0x0||_0x1f9afc[_0x16c190(0xcc)]===!0x0)return!0x1;let _0x55da7d=this[_0x16c190(0x164)](_0x1f9afc);return _0x4f655f===_0x16c190(0x250)?_0x55da7d[_0x16c190(0x2fa)]:_0x55da7d[_0x16c190(0x317)];}['_normalizeGanttDisplayColor'](_0x557c85,_0x46b4ce){const _0x20acbc=_0x189c21;let _0x493097=_0x46b4ce[_0x20acbc(0x2be)];if((_0x493097==null?void 0x0:_0x493097[_0x20acbc(0x2c7)])===_0x20acbc(0x22d)){let _0x4b0848=_0x557c85[_0x20acbc(0xfb)][_0x493097[_0x20acbc(0x2f3)]];if(_0x4b0848&&_0x4b0848['type']===_0x2b9397['SingleSelect'])return _0x493097;}return(_0x493097==null?void 0x0:_0x493097[_0x20acbc(0x2c7)])===_0x20acbc(0x35a)&&Array[_0x20acbc(0x286)](_0x493097[_0x20acbc(0xdd)])?{'type':'conditional','rules':_0x493097[_0x20acbc(0xdd)][_0x20acbc(0x25c)](_0x535229=>!!_0x557c85[_0x20acbc(0xfb)][_0x535229['fieldId']])}:(_0x493097==null?void 0x0:_0x493097['type'])===_0x20acbc(0x33f)&&typeof _0x493097[_0x20acbc(0x13c)]=='string'&&_0x493097[_0x20acbc(0x13c)]['trim']()?{'type':_0x20acbc(0x33f),'color':_0x493097['color']}:{'type':_0x20acbc(0x33f),'color':_0x20acbc(0x1e5)};}[_0x189c21(0x1b3)](_0x4edfc0,_0x55282e,_0x34d52e){const _0x550a2d=_0x189c21;let _0x66d928=_0x34d52e[_0x550a2d(0x2be)];if((_0x66d928==null?void 0x0:_0x66d928[_0x550a2d(0x2c7)])==='conditional'){let _0xf38110=_0x66d928['rules']['find'](_0x3265f7=>this[_0x550a2d(0x29f)](_0x4edfc0,_0x55282e,_0x3265f7));if(_0xf38110)return _0xf38110[_0x550a2d(0x13c)];}if((_0x66d928==null?void 0x0:_0x66d928[_0x550a2d(0x2c7)])===_0x550a2d(0x22d)){let _0x28b02b=_0x4edfc0[_0x550a2d(0xfb)][_0x66d928[_0x550a2d(0x2f3)]];if(_0x28b02b){var _0x411801;let _0x287541=_0x55282e[_0x550a2d(0x21c)][_0x66d928[_0x550a2d(0x2f3)]],_0x3c76d6=Array[_0x550a2d(0x286)](_0x287541)?_0x287541[0x0]:_0x287541,_0x1f0998=_0x3c76d6==null||(_0x411801=J(_0x28b02b,String(_0x3c76d6)))==null?void 0x0:_0x411801[_0x550a2d(0x13c)];if(_0x1f0998)return _0x1f0998;}}return(_0x66d928==null?void 0x0:_0x66d928[_0x550a2d(0x2c7)])===_0x550a2d(0x33f)?_0x66d928[_0x550a2d(0x13c)]:_0x550a2d(0x1e5);}['_matchesGanttColorRule'](_0x281453,_0x5156d1,_0x288357){const _0x416ae6=_0x189c21;let _0x3feb30=_0x281453[_0x416ae6(0xfb)][_0x288357[_0x416ae6(0x2f3)]];return _0x3feb30?vt(_0x5156d1['values'][_0x3feb30['id']],_0x288357[_0x416ae6(0x1de)],_0x288357[_0x416ae6(0x20f)],_0x3feb30,{'dateMode':_0x288357['dateMode']}):!0x1;}[_0x189c21(0x2f9)](_0x27f1c7,_0x406b40){const _0x1e8635=_0x189c21;var _0x1171ef,_0xda0a8e,_0x157b4c;let _0x88cfd4=this[_0x1e8635(0x38c)](_0x27f1c7,_0x406b40),_0x1598ed=this[_0x1e8635(0x308)](_0x27f1c7,(_0x1171ef=_0x406b40['config'])==null?{}:_0x1171ef),_0x407cda=this[_0x1e8635(0xed)](_0x27f1c7,_0x406b40);return{'type':_0x23b613['Gallery'],'fields':_0x407cda,'rows':_0x88cfd4,'groups':this[_0x1e8635(0x319)](_0x27f1c7,_0x406b40,_0x88cfd4),'coverFieldId':_0x1598ed[_0x1e8635(0x38b)],'cardLayout':(_0xda0a8e=_0x1598ed['cardLayout'])==null?_0x1e8635(0x327):_0xda0a8e,'showFieldNames':_0x1598ed[_0x1e8635(0xf8)]!==!0x1,'visibleCardFieldIds':this[_0x1e8635(0x19a)](_0x27f1c7,_0x406b40,_0x1598ed),'cardSize':(_0x157b4c=_0x1598ed['cardSize'])==null?_0x1e8635(0x2cf):_0x157b4c,'cards':_0x88cfd4[_0x1e8635(0x1d0)](_0x5eebd6=>({'recordId':_0x5eebd6[_0x1e8635(0x30a)],'title':this[_0x1e8635(0x281)](_0x27f1c7,_0x5eebd6,_0x1598ed[_0x1e8635(0x1bd)][_0x1e8635(0x1fd)]),'values':_0x5eebd6[_0x1e8635(0x21c)]}))};}[_0x189c21(0x308)](_0x5c0a98,_0x5922e9){const _0x42fba0=_0x189c21;var _0x2090a2,_0x1e7a90;let _0x542056=(_0x2090a2=_0x5922e9['card'])==null?{'fieldIds':[]}:_0x2090a2,_0x4fa361=_0x542056[_0x42fba0(0x1fd)]&&_0x5c0a98[_0x42fba0(0xfb)][_0x542056['titleFieldId']]?_0x542056[_0x42fba0(0x1fd)]:hn(_0x5c0a98),_0x239670=this[_0x42fba0(0x32f)](_0x5c0a98,_0x5922e9),_0x3c7fd3=_0x5922e9[_0x42fba0(0x35b)]==='small'||_0x5922e9['cardSize']===_0x42fba0(0xe5)?_0x5922e9[_0x42fba0(0x35b)]:'medium';return{..._0x5922e9,'coverFieldId':_0x239670,'cardLayout':_0x5922e9['cardLayout']===_0x42fba0(0xc0)?'compose':'normal','showFieldNames':_0x5922e9[_0x42fba0(0xf8)]!==!0x1,'fieldSettings':Object[_0x42fba0(0x227)](Object[_0x42fba0(0x2eb)]((_0x1e7a90=_0x5922e9[_0x42fba0(0xf3)])==null?{}:_0x1e7a90)[_0x42fba0(0x25c)](([_0x125738])=>!!_0x5c0a98[_0x42fba0(0xfb)][_0x125738])),'card':{..._0x542056,'titleFieldId':_0x4fa361,'coverFieldId':_0x239670,'fieldIds':Array[_0x42fba0(0x286)](_0x542056['fieldIds'])?_0x542056[_0x42fba0(0x1e1)]:[]},'cardSize':_0x3c7fd3};}[_0x189c21(0x32f)](_0xac2337,_0x11afd7){const _0x2b2c70=_0x189c21;var _0x546a5a,_0x2b2874,_0x297402;let _0x4b4efe=(_0x546a5a=(_0x2b2874=_0x11afd7[_0x2b2c70(0x38b)])==null?(_0x297402=_0x11afd7[_0x2b2c70(0x1bd)])==null?void 0x0:_0x297402[_0x2b2c70(0x38b)]:_0x2b2874)==null?null:_0x546a5a;if(!_0x4b4efe)return null;let _0x11fd49=_0xac2337[_0x2b2c70(0xfb)][_0x4b4efe];return _0x11fd49&&this[_0x2b2c70(0x164)](_0x11fd49)[_0x2b2c70(0x139)]?_0x11fd49['id']:null;}[_0x189c21(0x19a)](_0x3da2ad,_0x19363b,_0x28db52){const _0x39ca21=_0x189c21;var _0x1b26ea,_0x161f45,_0x182695,_0x2fae62,_0x5a7d5c,_0x1f2033,_0x324197;let _0x17bd0b=(_0x1b26ea=_0x28db52[_0x39ca21(0xf3)])==null?{}:_0x1b26ea,_0x9f26bc=(_0x161f45=(_0x182695=_0x28db52['card'])==null?void 0x0:_0x182695[_0x39ca21(0x1fd)])==null?hn(_0x3da2ad):_0x161f45,_0x24e8d5=(_0x2fae62=(_0x5a7d5c=_0x28db52[_0x39ca21(0x38b)])==null?(_0x1f2033=_0x28db52[_0x39ca21(0x1bd)])==null?void 0x0:_0x1f2033['coverFieldId']:_0x5a7d5c)==null?null:_0x2fae62,_0x585bc5=(_0x324197=_0x28db52['card'])!=null&&(_0x324197=_0x324197[_0x39ca21(0x1e1)])!=null&&_0x324197[_0x39ca21(0x149)]?_0x28db52[_0x39ca21(0x1bd)][_0x39ca21(0x1e1)]:gn(_0x3da2ad,[_0x9f26bc,_0x24e8d5,_0x3da2ad[_0x39ca21(0x176)]]);return _0x585bc5[_0x39ca21(0x25c)](_0x27a6c6=>{const _0x3f7a5e=_0x39ca21;var _0x4cbc81,_0x3d2f2e;let _0x101814=_0x3da2ad['fields'][_0x27a6c6];return!(!_0x101814||_0x101814['id']===_0x9f26bc||_0x101814['id']===_0x24e8d5||(_0x4cbc81=_0x19363b['fieldSettings'])!=null&&(_0x4cbc81=_0x4cbc81[_0x27a6c6])!=null&&_0x4cbc81[_0x3f7a5e(0x292)]||(_0x3d2f2e=_0x17bd0b[_0x27a6c6])!=null&&_0x3d2f2e[_0x3f7a5e(0x292)]);})[_0x39ca21(0x273)]((_0x48dd08,_0x997306)=>{const _0x432678=_0x39ca21;var _0x211088,_0x25d2a9,_0xbc0877,_0x2752aa;return((_0x211088=(_0x25d2a9=_0x17bd0b[_0x48dd08])==null?void 0x0:_0x25d2a9[_0x432678(0x19f)])==null?_0x585bc5[_0x432678(0x2f7)](_0x48dd08):_0x211088)-((_0xbc0877=(_0x2752aa=_0x17bd0b[_0x997306])==null?void 0x0:_0x2752aa[_0x432678(0x19f)])==null?_0x585bc5[_0x432678(0x2f7)](_0x997306):_0xbc0877);});}[_0x189c21(0xed)](_0xcca933,_0x4fc4ff){const _0x416336=_0x189c21;var _0x5b1ea0;return((_0x5b1ea0=_0x4fc4ff[_0x416336(0x1d5)])!=null&&_0x5b1ea0[_0x416336(0x149)]?_0x4fc4ff[_0x416336(0x1d5)]:_0xcca933['fieldOrder'])[_0x416336(0x399)](_0x47badd=>{const _0x1a18b0=_0x416336;var _0x2f97f6,_0x2fb7ac;let _0x4d3d8a=_0xcca933[_0x1a18b0(0xfb)][_0x47badd],_0x16a4ea=(_0x2f97f6=(_0x2fb7ac=_0x4fc4ff[_0x1a18b0(0xf3)])==null?void 0x0:_0x2fb7ac[_0x47badd])==null?{}:_0x2f97f6;return!_0x4d3d8a||_0x16a4ea[_0x1a18b0(0x292)]?[]:[{'id':_0x4d3d8a['id'],'name':_0x4d3d8a[_0x1a18b0(0x1cf)],'description':_0x4d3d8a['description'],'type':_0x4d3d8a[_0x1a18b0(0x2c7)],'config':_0x4d3d8a[_0x1a18b0(0x1a2)],'width':_0x16a4ea[_0x1a18b0(0x155)],'setting':_0x16a4ea}];});}[_0x189c21(0x38c)](_0x307ea5,_0x2db951){const _0x2da435=_0x189c21;var _0x2891b4,_0x993ded,_0x5ae5ce;return C(_0x2da435(0x125),()=>{const _0x3ffe5e=_0x2da435;var _0xd255a7,_0x3b9e91,_0x5754cb,_0x34e884;let _0x21e192=this[_0x3ffe5e(0x31d)](_0x307ea5),_0x559603=this[_0x3ffe5e(0x2c9)](_0x307ea5['id'],_0x2db951),_0x350de4=this[_0x3ffe5e(0x10b)](_0x307ea5['id']),_0x4b7613=this['_projectedViewRowsCache'][_0x3ffe5e(0x37d)](_0x559603);if(_0x4b7613&&_0x4b7613[_0x3ffe5e(0x21a)]===this[_0x3ffe5e(0x24b)]&&_0x4b7613[_0x3ffe5e(0x17a)]===this[_0x3ffe5e(0x2d1)](_0x307ea5['id'])){if(_0x4b7613['cellRevision']===_0x350de4&&_0x4b7613[_0x3ffe5e(0x2c5)]===_0x21e192)return _0x4b7613[_0x3ffe5e(0x128)];if(_0x4b7613[_0x3ffe5e(0xfd)]!==_0x350de4&&!this[_0x3ffe5e(0x33a)](_0x307ea5['id'],_0x4b7613[_0x3ffe5e(0xfd)],_0x350de4,this[_0x3ffe5e(0x195)](_0x2db951))){let _0xf38897=_0x4b7613[_0x3ffe5e(0x128)]===_0x4b7613[_0x3ffe5e(0x2c5)]?_0x21e192:this[_0x3ffe5e(0x140)](_0x4b7613[_0x3ffe5e(0x128)],_0x21e192);if(_0xf38897)return this['_projectedViewRowsCache'][_0x3ffe5e(0x11d)](_0x559603,{..._0x4b7613,'rows':_0xf38897,'baseRows':_0x21e192,'cellRevision':_0x350de4}),_0xf38897;}}let _0x1a5dbf=C('BaseProjection.filterAndSortRows',()=>this[_0x3ffe5e(0x201)](_0x307ea5,_0x2db951,this['_filterRows'](_0x307ea5,_0x2db951,_0x21e192)),{'tableId':_0x307ea5['id'],'viewId':_0x2db951==null?void 0x0:_0x2db951['id'],'viewType':_0x2db951==null?void 0x0:_0x2db951['type'],'rows':_0x21e192['length'],'filters':(_0xd255a7=_0x2db951==null||(_0x3b9e91=_0x2db951[_0x3ffe5e(0x25c)])==null?void 0x0:_0x3b9e91[_0x3ffe5e(0x2e1)][_0x3ffe5e(0x149)])==null?0x0:_0xd255a7,'sorts':(_0x5754cb=_0x2db951==null||(_0x34e884=_0x2db951['sort'])==null?void 0x0:_0x34e884['length'])==null?0x0:_0x5754cb});return this[_0x3ffe5e(0x2a4)]['set'](_0x559603,{'table':_0x307ea5,'rows':_0x1a5dbf,'baseRows':_0x21e192,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x3ffe5e(0x2d1)](_0x307ea5['id']),'cellRevision':_0x350de4}),_0x1a5dbf;},{'tableId':_0x307ea5['id'],'viewId':_0x2db951==null?void 0x0:_0x2db951['id'],'viewType':_0x2db951==null?void 0x0:_0x2db951[_0x2da435(0x2c7)],'records':(_0x2891b4=(_0x993ded=_0x307ea5[_0x2da435(0x34a)])==null?void 0x0:_0x993ded[_0x2da435(0x149)])==null?Object[_0x2da435(0x1e7)]((_0x5ae5ce=_0x307ea5[_0x2da435(0x2ce)])==null?{}:_0x5ae5ce)[_0x2da435(0x149)]:_0x2891b4});}['_projectTableRows'](_0x2216bb){const _0x2cd4c8=_0x189c21;var _0x114165,_0xa76a0d,_0x456d30;return C(_0x2cd4c8(0x33e),()=>{const _0x3f5100=_0x2cd4c8;var _0x505dea;let _0x2c6c4b=this[_0x3f5100(0x10b)](_0x2216bb['id']),_0x159791=this[_0x3f5100(0x2bb)][_0x3f5100(0x37d)](_0x2216bb['id']);if(_0x159791&&_0x159791[_0x3f5100(0x21a)]===this[_0x3f5100(0x24b)]&&_0x159791[_0x3f5100(0x17a)]===this[_0x3f5100(0x2d1)](_0x2216bb['id'])){if(_0x159791[_0x3f5100(0xfd)]===_0x2c6c4b&&_0x159791[_0x3f5100(0x142)]===_0x2216bb)return _0x159791['rows'];let _0x74e13d=this[_0x3f5100(0x30b)](_0x2216bb,_0x159791,_0x2c6c4b);if(_0x74e13d)return _0x74e13d;}En(_0x2216bb)||w(_0x2216bb);let _0x263fae=(_0x505dea=_0x2216bb[_0x3f5100(0x34a)])!=null&&_0x505dea[_0x3f5100(0x149)]?_0x2216bb[_0x3f5100(0x34a)]:An(_0x2216bb[_0x3f5100(0x2ce)]),_0x43b131=C(_0x3f5100(0x2e6),()=>{const _0x596b7c=_0x3f5100;let _0x5ce36f=[];for(let _0x376b38 of _0x263fae){let _0x3ca4a9=_0x2216bb[_0x596b7c(0x2ce)][_0x376b38];if(!_0x3ca4a9)continue;let _0x551b53={};for(let _0x7fedfd of _0x2216bb[_0x596b7c(0x1d5)])_0x551b53[_0x7fedfd]=Ae(_0x2216bb,_0x3ca4a9['id'],_0x7fedfd);_0x5ce36f[_0x596b7c(0x2b9)]({'recordId':_0x3ca4a9['id'],'values':_0x551b53});}return _0x5ce36f;},{'tableId':_0x2216bb['id'],'records':_0x263fae[_0x3f5100(0x149)],'fields':_0x2216bb[_0x3f5100(0x1d5)][_0x3f5100(0x149)]});return this[_0x3f5100(0x2bb)][_0x3f5100(0x11d)](_0x2216bb['id'],{'table':_0x2216bb,'rows':_0x43b131,'rowIndexById':Tn(_0x43b131),'globalRevision':this[_0x3f5100(0x24b)],'tableRevision':this[_0x3f5100(0x2d1)](_0x2216bb['id']),'cellRevision':_0x2c6c4b}),_0x43b131;},{'tableId':_0x2216bb['id'],'records':(_0x114165=(_0xa76a0d=_0x2216bb['recordOrder'])==null?void 0x0:_0xa76a0d['length'])==null?Object[_0x2cd4c8(0x1e7)]((_0x456d30=_0x2216bb[_0x2cd4c8(0x2ce)])==null?{}:_0x456d30)[_0x2cd4c8(0x149)]:_0x114165,'fields':_0x2216bb['fieldOrder'][_0x2cd4c8(0x149)]});}[_0x189c21(0x30b)](_0x3024b7,_0x1d874e,_0x108114){const _0x43a8bb=_0x189c21;var _0x596a72,_0xaa04f;let _0x36ebc0=((_0x596a72=this[_0x43a8bb(0x177)][_0x43a8bb(0x37d)](_0x3024b7['id']))==null?[]:_0x596a72)[_0x43a8bb(0x25c)](_0x316f60=>_0x316f60[_0x43a8bb(0x3a1)]>_0x1d874e[_0x43a8bb(0xfd)]&&_0x316f60[_0x43a8bb(0x3a1)]<=_0x108114);if(!_0x36ebc0[_0x43a8bb(0x149)])return _0x1d874e[_0x43a8bb(0x142)]===_0x3024b7?_0x1d874e[_0x43a8bb(0x128)]:null;let _0x15672f=_0x1d874e[_0x43a8bb(0x128)],_0x43bb5c=new Map();for(let _0x581425 of _0x36ebc0){let _0x51ae18=_0x43bb5c[_0x43a8bb(0x37d)](_0x581425[_0x43a8bb(0x30a)]);_0x51ae18||(_0x51ae18=new Set(),_0x43bb5c[_0x43a8bb(0x11d)](_0x581425['recordId'],_0x51ae18)),_0x51ae18[_0x43a8bb(0x2dc)](_0x581425[_0x43a8bb(0x2f3)]);}for(let [_0x11df80,_0x3a4d95]of _0x43bb5c){if(!_0x3024b7[_0x43a8bb(0x2ce)][_0x11df80])return null;let _0x42f7aa=_0x1d874e[_0x43a8bb(0x218)][_0x43a8bb(0x37d)](_0x11df80);if(_0x42f7aa==null)return null;_0x15672f===_0x1d874e['rows']&&(_0x15672f=[..._0x1d874e[_0x43a8bb(0x128)]]);let _0x281273=_0x15672f[_0x42f7aa],_0x1ad509={..._0x281273['values']};_0x3a4d95[_0x43a8bb(0x38f)](_0xad28af=>{_0x1ad509[_0xad28af]=Ae(_0x3024b7,_0x11df80,_0xad28af);}),_0x15672f[_0x42f7aa]={..._0x281273,'values':_0x1ad509};}let _0x4dda38={'table':_0x3024b7,'rows':_0x15672f,'rowIndexById':_0x1d874e[_0x43a8bb(0x218)],'globalRevision':this[_0x43a8bb(0x24b)],'tableRevision':this[_0x43a8bb(0x2d1)](_0x3024b7['id']),'cellRevision':_0x108114};return this[_0x43a8bb(0x2bb)][_0x43a8bb(0x11d)](_0x3024b7['id'],_0x4dda38),this[_0x43a8bb(0x177)][_0x43a8bb(0x11d)](_0x3024b7['id'],((_0xaa04f=this[_0x43a8bb(0x177)][_0x43a8bb(0x37d)](_0x3024b7['id']))==null?[]:_0xaa04f)[_0x43a8bb(0x25c)](_0x4c9e8d=>_0x4c9e8d['revision']>Math[_0x43a8bb(0x301)](0x0,_0x108114-0x100))),_0x15672f;}[_0x189c21(0x140)](_0x154e20,_0x2fffe7){const _0x426451=_0x189c21;let _0x496bed=new Map(_0x2fffe7['map'](_0x48d404=>[_0x48d404['recordId'],_0x48d404])),_0x5613db=!0x1,_0x3ab391=_0x154e20[_0x426451(0x1d0)](_0x4b2fd1=>{const _0x3ea30c=_0x426451;let _0x2e5420=_0x496bed[_0x3ea30c(0x37d)](_0x4b2fd1[_0x3ea30c(0x30a)]);return _0x2e5420?_0x2e5420===_0x4b2fd1?_0x4b2fd1:(_0x5613db=!0x0,_0x2e5420):_0x4b2fd1;});return _0x5613db?_0x3ab391:_0x154e20;}['_cellInvalidationsTouchFields'](_0x44c733,_0x183556,_0x5559a1,_0x1d72d8){const _0x5750c0=_0x189c21;var _0x28e867;return!_0x1d72d8[_0x5750c0(0x152)]||_0x183556===_0x5559a1?!0x1:_0x5559a1-_0x183556>0x100||((_0x28e867=this[_0x5750c0(0x177)]['get'](_0x44c733))==null?[]:_0x28e867)[_0x5750c0(0x2ab)](_0x4a9090=>_0x4a9090[_0x5750c0(0x3a1)]>_0x183556&&_0x4a9090[_0x5750c0(0x3a1)]<=_0x5559a1&&_0x1d72d8['has'](_0x4a9090['fieldId']));}[_0x189c21(0x195)](_0x3334b9){const _0x5cae40=_0x189c21;var _0x121fde,_0x36f9bf;let _0xece7e1=new Set();return _0x3334b9==null||(_0x121fde=_0x3334b9[_0x5cae40(0x25c)])==null||_0x121fde[_0x5cae40(0x2e1)][_0x5cae40(0x38f)](_0x4c1e1f=>_0xece7e1[_0x5cae40(0x2dc)](_0x4c1e1f[_0x5cae40(0x2f3)])),_0x3334b9==null||(_0x36f9bf=_0x3334b9['sort'])==null||_0x36f9bf[_0x5cae40(0x38f)](_0x29d861=>_0xece7e1[_0x5cae40(0x2dc)](_0x29d861['fieldId'])),_0xece7e1;}[_0x189c21(0x16e)](_0x358db4){const _0x17e352=_0x189c21;var _0x2c8287;let _0x52bb62=this[_0x17e352(0x195)](_0x358db4);return(_0x2c8287=_0x358db4[_0x17e352(0x200)])==null||_0x2c8287[_0x17e352(0x38f)](_0x45dd59=>_0x52bb62[_0x17e352(0x2dc)](_0x45dd59[_0x17e352(0x2f3)])),_0x52bb62;}[_0x189c21(0x260)](_0xd72244,_0x38c7e7,_0x603ee3){const _0x52fa87=_0x189c21;let _0x127c26=_0x38c7e7==null?void 0x0:_0x38c7e7['filter'];if(!(_0x127c26!=null&&_0x127c26[_0x52fa87(0x2e1)][_0x52fa87(0x149)]))return _0x603ee3;let _0x279b59=_0x127c26[_0x52fa87(0x2e1)][_0x52fa87(0x25c)](_0x38fb6b=>!Xn(_0x38fb6b));return _0x279b59['length']?_0x603ee3[_0x52fa87(0x25c)](_0x11705f=>{const _0x55819d=_0x52fa87;if(_0x127c26[_0x55819d(0x17f)]===_0x5f551c['OR']){for(let _0x947806 of _0x279b59){let _0x1d6588=_0xd72244[_0x55819d(0xfb)][_0x947806[_0x55819d(0x2f3)]];if(!_0x1d6588||this[_0x55819d(0x20b)][_0x55819d(0x37d)](_0x1d6588[_0x55819d(0x2c7)])[_0x55819d(0x25c)](_0x11705f[_0x55819d(0x21c)][_0x1d6588['id']],_0x947806[_0x55819d(0x1de)],_0x947806[_0x55819d(0x20f)],_0x1d6588))return!0x0;}return!0x1;}for(let _0x2f7124 of _0x279b59){let _0x569498=_0xd72244[_0x55819d(0xfb)][_0x2f7124[_0x55819d(0x2f3)]];if(_0x569498&&!this[_0x55819d(0x20b)][_0x55819d(0x37d)](_0x569498[_0x55819d(0x2c7)])['filter'](_0x11705f['values'][_0x569498['id']],_0x2f7124[_0x55819d(0x1de)],_0x2f7124[_0x55819d(0x20f)],_0x569498))return!0x1;}return!0x0;}):_0x603ee3;}[_0x189c21(0x201)](_0x1b0cba,_0x4b10be,_0x1417c5){const _0x538d45=_0x189c21;var _0x49d34f;let _0x2b1eb2=(_0x49d34f=_0x4b10be==null?void 0x0:_0x4b10be[_0x538d45(0x273)])==null?[]:_0x49d34f;if(!_0x2b1eb2['length'])return _0x1417c5;let _0x20957d=_0x2b1eb2[_0x538d45(0x399)](_0xc5ef57=>{let _0x4a6c07=_0x1b0cba['fields'][_0xc5ef57['fieldId']];return _0x4a6c07?[{..._0xc5ef57,'field':_0x4a6c07}]:[];});return _0x20957d[_0x538d45(0x149)]?this[_0x538d45(0x2e7)](_0x20957d)?this['_fastSortRows'](_0x20957d,_0x1417c5):[..._0x1417c5]['sort']((_0x1ec594,_0x26b260)=>{const _0x5041f2=_0x538d45;for(let _0x276c79 of _0x20957d){let _0x4473f4=_0x276c79['field'],_0x26dc09=this[_0x5041f2(0x20b)][_0x5041f2(0x37d)](_0x4473f4[_0x5041f2(0x2c7)])['compare'](_0x1ec594['values'][_0x4473f4['id']],_0x26b260[_0x5041f2(0x21c)][_0x4473f4['id']],_0x4473f4);if(_0x26dc09!==0x0)return _0x276c79[_0x5041f2(0x1fe)]===_0x2d1e91[_0x5041f2(0x30e)]?-_0x26dc09:_0x26dc09;}return 0x0;}):_0x1417c5;}['_canUseFastSort'](_0x169731){const _0x32fa4a=_0x189c21;return _0x169731[_0x32fa4a(0x188)](_0x535966=>Sn[_0x32fa4a(0x24f)](_0x535966[_0x32fa4a(0x198)][_0x32fa4a(0x2c7)]));}[_0x189c21(0x185)](_0x55b801,_0x278316){const _0x4c012d=_0x189c21;return _0x278316[_0x4c012d(0x1d0)]((_0xe2ce3f,_0x3719ba)=>({'row':_0xe2ce3f,'index':_0x3719ba,'keys':_0x55b801[_0x4c012d(0x1d0)](_0x59c13b=>_0xe2ce3f[_0x4c012d(0x21c)][_0x59c13b[_0x4c012d(0x2f3)]])}))['sort']((_0x25fcc4,_0x43940e)=>{const _0x286e66=_0x4c012d;for(let _0x383ada=0x0;_0x383ada<_0x55b801[_0x286e66(0x149)];_0x383ada++){let _0x5d5b7c=Yn(_0x25fcc4[_0x286e66(0x1e7)][_0x383ada],_0x43940e['keys'][_0x383ada]);if(_0x5d5b7c!==0x0)return _0x55b801[_0x383ada][_0x286e66(0x1fe)]===_0x2d1e91[_0x286e66(0x30e)]?-_0x5d5b7c:_0x5d5b7c;}return _0x25fcc4[_0x286e66(0x22b)]-_0x43940e[_0x286e66(0x22b)];})[_0x4c012d(0x1d0)](_0x5a9d8e=>_0x5a9d8e[_0x4c012d(0x193)]);}[_0x189c21(0x319)](_0x1d5c13,_0x1bcd87,_0x28d6e9){const _0x3e4a3a=_0x189c21;var _0x4419dd,_0x3bd35b;return C(_0x3e4a3a(0x362),()=>{const _0x56fea7=_0x3e4a3a;var _0x18f0a2;if(!((_0x18f0a2=_0x1bcd87[_0x56fea7(0x200)])!=null&&_0x18f0a2[_0x56fea7(0x149)]))return[];let _0x14ab7b=_0x1bcd87['group']['filter'](_0x5f4edb=>_0x1d5c13[_0x56fea7(0xfb)][_0x5f4edb[_0x56fea7(0x2f3)]]);if(!_0x14ab7b[_0x56fea7(0x149)])return[];let _0x397b59=this[_0x56fea7(0xd4)](_0x1d5c13['id'],_0x1bcd87,_0x14ab7b),_0x2873f4=this[_0x56fea7(0x10b)](_0x1d5c13['id']),_0x5ef4e8=this[_0x56fea7(0xf4)][_0x56fea7(0x37d)](_0x397b59);if(_0x5ef4e8&&_0x5ef4e8[_0x56fea7(0x21a)]===this['_globalRevision']&&_0x5ef4e8[_0x56fea7(0x17a)]===this['_getTableRevision'](_0x1d5c13['id'])){if(_0x5ef4e8[_0x56fea7(0xfd)]===_0x2873f4&&_0x5ef4e8[_0x56fea7(0x128)]===_0x28d6e9)return _0x5ef4e8[_0x56fea7(0xda)];if(_0x5ef4e8[_0x56fea7(0xfd)]!==_0x2873f4&&!this[_0x56fea7(0x33a)](_0x1d5c13['id'],_0x5ef4e8[_0x56fea7(0xfd)],_0x2873f4,this[_0x56fea7(0x16e)](_0x1bcd87)))return this[_0x56fea7(0xf4)][_0x56fea7(0x11d)](_0x397b59,{..._0x5ef4e8,'rows':_0x28d6e9,'cellRevision':_0x2873f4}),_0x5ef4e8[_0x56fea7(0xda)];}let _0x2f43e6=new Map();for(let _0x433581 of _0x28d6e9){let _0xaaeebf=_0x2f43e6,_0x51963c='';for(let _0x279009=0x0;_0x279009<_0x14ab7b[_0x56fea7(0x149)];_0x279009++){let _0x10fa02=_0x14ab7b[_0x279009],_0x59fd48=_0x433581[_0x56fea7(0x21c)][_0x10fa02['fieldId']],_0x5dbb57=wn(_0x59fd48),_0x5efac4=_0x10fa02['fieldId']+'\x00'+_0x5dbb57,_0x2d94ed=_0x51963c+'/'+_0x10fa02['fieldId']+':'+_0x5dbb57,_0x4d1cbb=_0xaaeebf[_0x56fea7(0x37d)](_0x5efac4);_0x4d1cbb||(_0x4d1cbb={'key':_0x5dbb57,'value':_0x59fd48,'path':_0x2d94ed,'label':_0x5dbb57||_0x56fea7(0x24d),'fieldId':_0x10fa02[_0x56fea7(0x2f3)],'level':_0x279009,'recordIds':[],'children':new Map()},_0xaaeebf[_0x56fea7(0x11d)](_0x5efac4,_0x4d1cbb)),_0x4d1cbb[_0x56fea7(0x21f)]['push'](_0x433581[_0x56fea7(0x30a)]),_0xaaeebf=_0x4d1cbb['children'],_0x51963c=_0x2d94ed;}}let _0x22c6da=this[_0x56fea7(0x189)](_0x14ab7b,_0x2f43e6,0x0);return this[_0x56fea7(0xf4)]['set'](_0x397b59,{'table':_0x1d5c13,'rows':_0x28d6e9,'groups':_0x22c6da,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x56fea7(0x2d1)](_0x1d5c13['id']),'cellRevision':_0x2873f4}),_0x22c6da;},{'tableId':_0x1d5c13['id'],'viewId':_0x1bcd87['id'],'viewType':_0x1bcd87[_0x3e4a3a(0x2c7)],'rows':_0x28d6e9[_0x3e4a3a(0x149)],'groupFields':(_0x4419dd=(_0x3bd35b=_0x1bcd87[_0x3e4a3a(0x200)])==null?void 0x0:_0x3bd35b[_0x3e4a3a(0x149)])==null?0x0:_0x4419dd});}['_materializeGroups'](_0x4fe823,_0x41a412,_0x5b9f63){const _0x21c51d=_0x189c21;var _0x3b15db;let _0x54ecbc=Array[_0x21c51d(0x1dd)](_0x41a412['values']()),_0x42eea0=(_0x3b15db=_0x4fe823[_0x5b9f63])==null?void 0x0:_0x3b15db[_0x21c51d(0x1fe)];return _0x42eea0&&_0x54ecbc[_0x21c51d(0x273)]((_0x3a1d77,_0x15d888)=>{const _0x4ca769=_0x21c51d;let _0x289d8c=_0x3a1d77[_0x4ca769(0x359)][_0x4ca769(0x1c7)](_0x15d888[_0x4ca769(0x359)]);return _0x42eea0===_0x2d1e91[_0x4ca769(0x30e)]?-_0x289d8c:_0x289d8c;}),_0x54ecbc[_0x21c51d(0x1d0)](_0x24e26a=>({'key':_0x24e26a[_0x21c51d(0x359)],'value':_0x24e26a['value'],'path':_0x24e26a[_0x21c51d(0xe0)],'label':_0x24e26a['label'],'fieldId':_0x24e26a['fieldId'],'level':_0x24e26a[_0x21c51d(0x2d9)],'recordIds':_0x24e26a[_0x21c51d(0x21f)],'children':this[_0x21c51d(0x189)](_0x4fe823,_0x24e26a[_0x21c51d(0x19e)],_0x5b9f63+0x1)}));}[_0x189c21(0x281)](_0x5d610e,_0x52543b,_0x4153e9){const _0x315f1d=_0x189c21;let _0x50f5fa=_0x4153e9==null?_0x5d610e[_0x315f1d(0x176)]:_0x4153e9,_0x42c5cd=_0x52543b[_0x315f1d(0x21c)][_0x50f5fa];return _0x42c5cd==null?'':String(_0x42c5cd);}[_0x189c21(0xd6)](_0x20f5cd){const _0x10631c=_0x189c21;if(Array[_0x10631c(0x286)](_0x20f5cd))return _0x20f5cd[_0x10631c(0x1d0)](String);if(typeof _0x20f5cd==_0x10631c(0xca)&&_0x20f5cd)return[_0x20f5cd];}[_0x189c21(0x164)](_0x564ec2){const _0x2e3e4d=_0x189c21;return this['_fieldRegistry'][_0x2e3e4d(0x37d)](_0x564ec2[_0x2e3e4d(0x2c7)])[_0x2e3e4d(0x182)](_0x564ec2);}};Cn=H([V(0x0,_0x30e9cb(z))],Cn);function wn(_0x5342d1){return _0x5342d1==null?'':String(_0x5342d1);}function Tn(_0x390c61){const _0x49697e=_0x189c21;return new Map(_0x390c61[_0x49697e(0x1d0)]((_0x5e9a7f,_0x1171fd)=>[_0x5e9a7f[_0x49697e(0x30a)],_0x1171fd]));}function En(_0x274a88){const _0x3bbd01=_0x189c21;return!!(Array[_0x3bbd01(0x286)](_0x274a88['recordOrder'])&&_0x274a88[_0x3bbd01(0x235)]&&_0x274a88['rowId']&&_0x274a88['colIndex']&&_0x274a88[_0x3bbd01(0x390)]&&_0x274a88[_0x3bbd01(0x24c)]);}function Dn(_0x3bec71){const _0x503228=_0x189c21;return _0x3bec71!=null&&_0x3bec71[_0x503228(0x2e1)][_0x503228(0x149)]?{'conjunction':_0x3bec71[_0x503228(0x17f)],'conditions':_0x3bec71[_0x503228(0x2e1)][_0x503228(0x1d0)](_0x26eea0=>({'fieldId':_0x26eea0[_0x503228(0x2f3)],'operator':_0x26eea0[_0x503228(0x1de)],'operand':_0x26eea0[_0x503228(0x20f)]}))}:null;}function On(_0x5bfe00){const _0x5a67bb=_0x189c21;return _0x5bfe00!=null&&_0x5bfe00[_0x5a67bb(0x149)]?_0x5bfe00[_0x5a67bb(0x1d0)](_0x162844=>({'fieldId':_0x162844[_0x5a67bb(0x2f3)],'direction':_0x162844[_0x5a67bb(0x1fe)]})):null;}function kn(_0x59396d){const _0x111f06=_0x189c21;if(typeof _0x59396d!='object'||!_0x59396d){var _0x5e6285;return(_0x5e6285=JSON[_0x111f06(0x1b0)](_0x59396d))==null?_0x111f06(0x26b):_0x5e6285;}if(Array[_0x111f06(0x286)](_0x59396d))return'['+_0x59396d['map'](kn)[_0x111f06(0x2fd)](',')+']';let _0x48b3c9=_0x59396d;return'{'+Object[_0x111f06(0x1e7)](_0x48b3c9)[_0x111f06(0x273)]()[_0x111f06(0x1d0)](_0x144a5a=>JSON['stringify'](_0x144a5a)+':'+kn(_0x48b3c9[_0x144a5a]))[_0x111f06(0x2fd)](',')+'}';}function An(_0x18f4bc){const _0x22bffa=_0x189c21;let _0x4a95f8=Object['values'](_0x18f4bc)['sort']((_0x1d9205,_0x3cb0cb)=>_0x1d9205['orderKey']['localeCompare'](_0x3cb0cb[_0x22bffa(0x328)])),_0x40e374=[];for(let _0x31e1e2 of _0x4a95f8)_0x40e374[_0x22bffa(0x2b9)](_0x31e1e2['id']);return _0x40e374;}const G=0x5a0*0x3c*0x3e8;function jn(_0x3c124b){const _0xdaf7ad=_0x189c21;return{'weekdays':Array[_0xdaf7ad(0x286)](_0x3c124b==null?void 0x0:_0x3c124b[_0xdaf7ad(0x261)])&&_0x3c124b[_0xdaf7ad(0x261)][_0xdaf7ad(0x149)]?[...new Set(_0x3c124b[_0xdaf7ad(0x261)][_0xdaf7ad(0x25c)](_0x556f91=>Number[_0xdaf7ad(0x26c)](_0x556f91)&&_0x556f91>=0x1&&_0x556f91<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0xdaf7ad(0x286)](_0x3c124b==null?void 0x0:_0x3c124b[_0xdaf7ad(0x29c)])?_0x3c124b[_0xdaf7ad(0x29c)][_0xdaf7ad(0x399)](_0x43a1d6=>!_0x43a1d6||!Number[_0xdaf7ad(0x314)](_0x43a1d6[_0xdaf7ad(0x1a7)])?[]:[{'id':String(_0x43a1d6['id']||_0xdaf7ad(0x17e)+_0x43a1d6['date']),'date':K(Number(_0x43a1d6['date'])),'name':String(_0x43a1d6[_0xdaf7ad(0x1cf)]||_0xdaf7ad(0x329)),'type':_0x43a1d6[_0xdaf7ad(0x2c7)]===_0xdaf7ad(0x1a6)?_0xdaf7ad(0x1a6):'off'}]):[]};}function Mn(_0x2bdc54,_0xc81f93,_0x1915e0,_0x270448){let _0x3d1b7a=In(_0x2bdc54,_0xc81f93),_0x3b0b60=Ln(_0x2bdc54,_0x1915e0),_0x212ff3=Nn(_0x2bdc54,_0x3d1b7a,_0x3b0b60,_0x270448);return{'scale':_0x2bdc54,'start':_0x3d1b7a,'end':_0x3b0b60,'unitWidth':Fn(_0x2bdc54),'majorHeaders':Pn(_0x2bdc54,_0x3d1b7a,_0x3b0b60),'columns':_0x212ff3};}function Nn(_0x1a22b1,_0x116217,_0x5c60e4,_0x3b5217){const _0x1c5a7e=_0x189c21;let _0x367a8f=[],_0x2edf2a=_0x116217;for(;_0x2edf2a<_0x5c60e4;){let _0x2ffd04=_0x1a22b1===_0x1c5a7e(0x123)?q(_0x2edf2a,0x7):_0x1a22b1==='year'?Kn(_0x2edf2a,0x1):q(_0x2edf2a,0x1);_0x367a8f[_0x1c5a7e(0x2b9)]({'id':_0x1a22b1+'-'+_0x2edf2a,'label':Rn(_0x1a22b1,_0x2edf2a,_0x2ffd04),'majorLabel':zn(_0x1a22b1,_0x2edf2a),'start':_0x2edf2a,'end':_0x2ffd04,'nonWorking':Vn(_0x2edf2a,_0x2ffd04,_0x3b5217)}),_0x2edf2a=_0x2ffd04;}return _0x367a8f;}function Pn(_0x3831e8,_0x2eb35e,_0x1d9afe){const _0x5b4c37=_0x189c21;let _0x14c555=[],_0x236bc1=_0x3831e8===_0x5b4c37(0x2b3)?Gn(_0x2eb35e):Wn(_0x2eb35e);for(;_0x236bc1<_0x1d9afe;){let _0x5949b6=_0x3831e8==='year'?qn(_0x236bc1,0x1):Kn(_0x236bc1,0x1);_0x14c555[_0x5b4c37(0x2b9)]({'id':'major-'+_0x236bc1,'label':_0x3831e8===_0x5b4c37(0x2b3)?String(new Date(_0x236bc1)[_0x5b4c37(0x2ad)]()):Jn(_0x236bc1),'start':_0x236bc1,'end':_0x5949b6}),_0x236bc1=_0x5949b6;}return _0x14c555;}function Fn(_0x3c35b4){const _0x39c378=_0x189c21;switch(_0x3c35b4){case _0x39c378(0x109):return 0xac;case _0x39c378(0x123):return 0xac;case _0x39c378(0x2b3):return 0x88;default:return 0x56;}}function In(_0x45e160,_0x491a50){const _0x341c6a=_0x189c21;return _0x45e160==='year'?Gn(_0x491a50):_0x45e160===_0x341c6a(0x123)?Un(_0x491a50):K(_0x491a50);}function Ln(_0x5c3b00,_0x49b1d9){const _0x3a5a35=_0x189c21;return _0x5c3b00===_0x3a5a35(0x2b3)?qn(Gn(_0x49b1d9),0x1):_0x5c3b00===_0x3a5a35(0x123)?q(Un(_0x49b1d9),0x7):q(K(_0x49b1d9),0x1);}function Rn(_0x1c5b2f,_0x20f141,_0x3c55f2){const _0x3fdf40=_0x189c21;let _0x21f17f=new Date(_0x20f141);return _0x1c5b2f===_0x3fdf40(0x123)?_0x21f17f['getUTCDate']()+'-'+new Date(_0x3c55f2-G)['getUTCDate']():_0x1c5b2f==='year'?_0x21f17f[_0x3fdf40(0x31b)](_0x3fdf40(0x31f),{'month':_0x3fdf40(0x13e),'timeZone':_0x3fdf40(0x2f0)}):String(_0x21f17f[_0x3fdf40(0x157)]());}function zn(_0x18129e,_0x347f80){const _0x2947dc=_0x189c21;return _0x18129e==='year'?String(new Date(_0x347f80)[_0x2947dc(0x2ad)]()):Jn(_0x347f80);}function Bn(_0x4ce90e,_0x18d62e,_0x3055f6){let _0x575ca3=jn(_0x3055f6),_0x44ed89=0x0;for(let _0x37e005=K(_0x4ce90e);_0x37e005<=K(_0x18d62e);_0x37e005=q(_0x37e005,0x1))Hn(_0x37e005,_0x575ca3)||_0x44ed89++;return _0x44ed89;}function Vn(_0x27019d,_0x1c400f,_0x20bef6){if(!_0x20bef6)return!0x1;let _0x28c54a=jn(_0x20bef6);for(let _0xdc5637=K(_0x27019d);_0xdc5637<_0x1c400f;_0xdc5637=q(_0xdc5637,0x1))if(!Hn(_0xdc5637,_0x28c54a))return!0x1;return!0x0;}function Hn(_0x3a446a,_0x2a9148){const _0x29a34f=_0x189c21;let _0x562751=K(_0x3a446a),_0x8ae6af=_0x2a9148['exceptions'][_0x29a34f(0x148)](_0x56bff6=>K(_0x56bff6[_0x29a34f(0x1a7)])===_0x562751);if(_0x8ae6af)return _0x8ae6af['type']===_0x29a34f(0x19b);let _0x5a2922=new Date(_0x562751)['getUTCDay'](),_0x662cfb=_0x5a2922===0x0?0x7:_0x5a2922;return!_0x2a9148['weekdays'][_0x29a34f(0x1f9)](_0x662cfb);}function K(_0x40872e){const _0x9e7aef=_0x189c21;let _0x2162ec=new Date(_0x40872e);return Date[_0x9e7aef(0x2f0)](_0x2162ec[_0x9e7aef(0x2ad)](),_0x2162ec[_0x9e7aef(0x1e3)](),_0x2162ec['getUTCDate']());}function Un(_0x428a6a){const _0x1b8ea5=_0x189c21;let _0x5568c3=K(_0x428a6a),_0x25f2fa=new Date(_0x5568c3)[_0x1b8ea5(0x121)]();return q(_0x5568c3,-(_0x25f2fa===0x0?0x6:_0x25f2fa-0x1));}function Wn(_0x47beb2){const _0x401463=_0x189c21;let _0x3f1ee3=new Date(_0x47beb2);return Date[_0x401463(0x2f0)](_0x3f1ee3['getUTCFullYear'](),_0x3f1ee3['getUTCMonth'](),0x1);}function Gn(_0x50e8b6){const _0x5f280c=_0x189c21;let _0x77f301=new Date(_0x50e8b6);return Date[_0x5f280c(0x2f0)](_0x77f301[_0x5f280c(0x2ad)](),0x0,0x1);}function q(_0x17f967,_0x450e53){return _0x17f967+_0x450e53*G;}function Kn(_0xf7cb99,_0xeef1ca){const _0x160341=_0x189c21;let _0x527940=new Date(_0xf7cb99);return Date[_0x160341(0x2f0)](_0x527940[_0x160341(0x2ad)](),_0x527940[_0x160341(0x1e3)]()+_0xeef1ca,0x1);}function qn(_0x5744e4,_0x51201a){const _0x2bba62=_0x189c21;let _0x34073f=new Date(_0x5744e4);return Date[_0x2bba62(0x2f0)](_0x34073f[_0x2bba62(0x2ad)]()+_0x51201a,0x0,0x1);}function Jn(_0x2d298c){const _0x51c4b9=_0x189c21;let _0x4c943a=new Date(_0x2d298c);return _0x4c943a[_0x51c4b9(0x31b)](_0x51c4b9(0x31f),{'month':_0x51c4b9(0x13e),'timeZone':_0x51c4b9(0x2f0)})+'\x20'+_0x4c943a[_0x51c4b9(0x2ad)]();}function Yn(_0x3be04f,_0x28c9b7){const _0x161ad9=_0x189c21;if(_0x3be04f==null&&_0x28c9b7==null)return 0x0;if(_0x3be04f==null)return-0x1;if(_0x28c9b7==null)return 0x1;if(typeof _0x3be04f==_0x161ad9(0xdc)||typeof _0x28c9b7==_0x161ad9(0xdc))return Number(_0x3be04f===!0x0)-Number(_0x28c9b7===!0x0);let _0x15d9bb=Number(_0x3be04f),_0x5ce612=Number(_0x28c9b7),_0x15a6f0=Number[_0x161ad9(0x314)](_0x15d9bb),_0x28b645=Number['isFinite'](_0x5ce612);return _0x15a6f0&&_0x28b645?_0x15d9bb-_0x5ce612:_0x15a6f0?0x1:_0x28b645?-0x1:String(_0x3be04f)['localeCompare'](String(_0x28c9b7));}function Xn(_0x39a0f4){const _0x4b80a5=_0x189c21;if(_0x39a0f4[_0x4b80a5(0x1de)]!=='is'&&_0x39a0f4[_0x4b80a5(0x1de)]!=='isNot')return!0x1;let _0x21664d=_0x39a0f4[_0x4b80a5(0x20f)];return _0x21664d==null?!0x0:typeof _0x21664d==_0x4b80a5(0xca)?_0x21664d[_0x4b80a5(0x378)]()==='':Array['isArray'](_0x21664d)?_0x21664d[_0x4b80a5(0x149)]===0x0:!0x1;}function J(_0x154dc,_0x4a6160){const _0x5b4b25=_0x189c21;var _0x55327a;let _0x523871=Array[_0x5b4b25(0x286)]((_0x55327a=_0x154dc['config'])==null?void 0x0:_0x55327a[_0x5b4b25(0x11f)])?_0x154dc[_0x5b4b25(0x1a2)][_0x5b4b25(0x11f)]:[];for(let _0x14021f of _0x523871){var _0x477d6d,_0x858b91,_0x41b82d,_0x413a20;if(_0x14021f==null)continue;if(typeof _0x14021f==_0x5b4b25(0xca)){if(_0x14021f===_0x4a6160)return{'id':_0x14021f,'name':_0x14021f};continue;}let _0x37cf43=_0x14021f,_0x4b4c11=String((_0x477d6d=(_0x858b91=_0x37cf43['id'])==null?_0x37cf43['name']:_0x858b91)==null?'':_0x477d6d),_0x439bd8=String((_0x41b82d=(_0x413a20=_0x37cf43[_0x5b4b25(0x1cf)])==null?_0x37cf43['id']:_0x413a20)==null?_0x4b4c11:_0x41b82d);if(_0x4b4c11===_0x4a6160||_0x439bd8===_0x4a6160)return{'id':_0x4b4c11,'name':_0x439bd8,'color':_0x37cf43[_0x5b4b25(0x13c)]==null?void 0x0:String(_0x37cf43['color'])};}return null;}const Y={'id':_0x189c21(0x28c),'type':_0x43c9fc[_0x189c21(0x217)],'handler'(_0x5282b8,_0x20d43f){const _0x7c9905=_0x189c21;let {unitId:_0x2943c6,op:_0x375912}=_0x20d43f,_0x1a6b03=_0x5282b8[_0x7c9905(0x37d)](_0xde4d7d)[_0x7c9905(0x289)](_0x2943c6,_0x3cd153[_0x7c9905(0x25b)]);if(!_0x1a6b03)return!0x1;let _0xa7fd1=_0x1a6b03[_0x7c9905(0x27a)](),_0x1846d7=new O(),_0x2ea320=_0x1846d7['getAffectedRanges'](_0x375912),_0x212abe=_0x1846d7[_0x7c9905(0xf9)](_0xa7fd1,_0x375912);return _0x1a6b03[_0x7c9905(0x28a)](_0x212abe),Zn(_0x212abe,_0x2ea320,_0x5282b8['get'](W)),!0x0;}};function Zn(_0x52c6be,_0x35facb,_0x5b65eb){const _0x1ff1b8=_0x189c21;let _0x4ca145=new Set();for(let _0x2acf12 of _0x35facb){if(_0x2acf12[_0x1ff1b8(0x209)]!==_0x1ff1b8(0xef)){_0x5b65eb[_0x1ff1b8(0x1d4)]();return;}let _0x146226=Qn(_0x52c6be,_0x2acf12);if(!_0x146226){_0x5b65eb[_0x1ff1b8(0x1d4)]();return;}let _0xc16c18=_0x146226[_0x1ff1b8(0x16b)]+'\x00'+_0x146226[_0x1ff1b8(0x30a)]+'\x00'+_0x146226[_0x1ff1b8(0x2f3)];_0x4ca145[_0x1ff1b8(0x24f)](_0xc16c18)||(_0x4ca145[_0x1ff1b8(0x2dc)](_0xc16c18),_0x5b65eb[_0x1ff1b8(0x114)](_0x146226['tableId'],_0x146226[_0x1ff1b8(0x30a)],_0x146226[_0x1ff1b8(0x2f3)]));}}function Qn(_0x20e08b,_0x5f2cb3){const _0x49b3a3=_0x189c21;var _0x381c4d,_0x5631f0;if(!_0x5f2cb3[_0x49b3a3(0x16b)])return null;if(_0x5f2cb3[_0x49b3a3(0x30a)]&&_0x5f2cb3[_0x49b3a3(0x2f3)])return{'tableId':_0x5f2cb3[_0x49b3a3(0x16b)],'recordId':_0x5f2cb3[_0x49b3a3(0x30a)],'fieldId':_0x5f2cb3[_0x49b3a3(0x2f3)]};if(_0x5f2cb3['row']==null||_0x5f2cb3[_0x49b3a3(0xe4)]==null)return null;let _0x50c0b9=_0x20e08b[_0x49b3a3(0x2ea)][_0x5f2cb3[_0x49b3a3(0x16b)]],_0x37ee8f=_0x50c0b9==null||(_0x381c4d=_0x50c0b9['rowId'])==null?void 0x0:_0x381c4d[_0x5f2cb3[_0x49b3a3(0x193)]],_0x2308ad=_0x50c0b9==null||(_0x5631f0=_0x50c0b9[_0x49b3a3(0x390)])==null?void 0x0:_0x5631f0[_0x5f2cb3[_0x49b3a3(0xe4)]];return!_0x37ee8f||!_0x2308ad?null:{'tableId':_0x5f2cb3[_0x49b3a3(0x16b)],'recordId':_0x37ee8f,'fieldId':_0x2308ad};}function X(_0x2d6cb5,_0x22bd25,_0x32851e){const _0x2c7c79=_0x189c21;let _0x267474=_0x2d6cb5[_0x2c7c79(0x27a)]()[_0x2c7c79(0x2ea)][_0x22bd25];if(!_0x267474)return!0x1;let {viewIds:_0x540344,fieldIds:_0x5bf2ff,recordIds:_0x579404}=_0x32851e||{};if(_0x540344){for(let _0x48408b of _0x540344)if(!_0x267474[_0x2c7c79(0x12f)][_0x48408b])return!0x1;}if(_0x5bf2ff){for(let _0x3193e8 of _0x5bf2ff)if(!_0x267474[_0x2c7c79(0xfb)][_0x3193e8])return!0x1;}if(_0x579404){for(let _0x380fa9 of _0x579404)if(!_0x267474[_0x2c7c79(0x2ce)][_0x380fa9])return!0x1;}return!0x0;}const $n={'id':_0x189c21(0x1b8),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x51abde,_0x541133){const _0x10b787=_0x189c21;if(!_0x541133)return!0x1;let _0x9bb4e2=_0x51abde[_0x10b787(0x37d)](_0xde4d7d),{unitId:_0x475269,tableId:_0x4ba733,records:_0x2c6883}=_0x541133,_0x239ff7=_0x9bb4e2[_0x10b787(0x289)](_0x475269,_0x3cd153['UNIVER_BASE']),_0x487b30=_0x2c6883[_0x10b787(0x1d0)](_0x150315=>_0x150315['id']);if(!_0x239ff7||!X(_0x239ff7,_0x4ba733)||new Set(_0x487b30)[_0x10b787(0x152)]!==_0x487b30['length']||_0x487b30[_0x10b787(0x2ab)](_0x2c5a1e=>_0x239ff7[_0x10b787(0x27a)]()[_0x10b787(0x2ea)][_0x4ba733][_0x10b787(0x2ce)][_0x2c5a1e]))return!0x1;let _0x16ce2b=_0x51abde['get'](_0x1df963),_0x265f3e=_0x51abde[_0x10b787(0x37d)](_0x10421d),_0xe50a7c=_0x51abde[_0x10b787(0x37d)](U)[_0x10b787(0x30f)](_0x239ff7,_0x4ba733,_0x2c6883),_0x2dc4b9=new O()['invertOp'](_0x239ff7['getSnapshot'](),_0xe50a7c),_0x39ab13={'unitId':_0x475269,'op':_0xe50a7c},_0x3d730c={'unitId':_0x475269,'op':_0x2dc4b9};return _0x16ce2b[_0x10b787(0x163)](Y['id'],_0x39ab13)?(_0x9bb4e2['focusUnit'](_0x475269),_0x265f3e[_0x10b787(0x371)]({'unitID':_0x475269,'undoMutations':[{'id':Y['id'],'params':_0x3d730c}],'redoMutations':[{'id':Y['id'],'params':_0x39ab13}]}),!0x0):!0x1;}},er={'id':_0x189c21(0x231),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x1532c5,_0x1a6ad1)=>{const _0x517aae=_0x189c21;if(!_0x1a6ad1)return!0x1;let _0x2b7457=_0x1532c5[_0x517aae(0x37d)](_0xde4d7d),{unitId:_0x5a56e4,tableId:_0xe89b95,recordIds:_0x294450}=_0x1a6ad1,_0x2af0b2=_0x2b7457['getUnit'](_0x5a56e4,_0x3cd153[_0x517aae(0x25b)]);if(!_0x2af0b2||!X(_0x2af0b2,_0xe89b95,{'recordIds':_0x294450}))return!0x1;let _0x5855d6=_0x1532c5[_0x517aae(0x37d)](_0x1df963),_0x349de0=_0x1532c5[_0x517aae(0x37d)](_0x10421d),_0x5d6a96=_0x2af0b2[_0x517aae(0x27a)](),_0x5cccd1=new I()[_0x517aae(0xf6)](_0x5d6a96,_0xe89b95,_0x294450),_0x391d09=new O()['invertOp'](_0x5d6a96,_0x5cccd1),_0x2ab52c={'unitId':_0x5a56e4,'op':_0x5cccd1},_0x21fcb9={'unitId':_0x5a56e4,'op':_0x391d09};return _0x5855d6[_0x517aae(0x163)](Y['id'],_0x2ab52c)?(_0x2b7457['focusUnit'](_0x5a56e4),_0x349de0['pushUndoRedo']({'unitID':_0x5a56e4,'undoMutations':[{'id':Y['id'],'params':_0x21fcb9}],'redoMutations':[{'id':Y['id'],'params':_0x2ab52c}]}),!0x0):!0x1;}},tr={'id':_0x189c21(0x37c),'type':_0x43c9fc['COMMAND'],'handler':(_0x57650f,_0x3ef4ee)=>{const _0x37bcf4=_0x189c21;if(!_0x3ef4ee)return!0x1;let _0x3ef6b8=_0x57650f[_0x37bcf4(0x37d)](_0xde4d7d),{unitId:_0x1105fd,tableId:_0x55222a,fieldId:_0x2f03c9,input:_0x7501d1}=_0x3ef4ee,_0x1ecf15=_0x3ef6b8[_0x37bcf4(0x289)](_0x1105fd,_0x3cd153[_0x37bcf4(0x25b)]);if(!_0x1ecf15||!X(_0x1ecf15,_0x55222a,{'fieldIds':[_0x2f03c9]}))return!0x1;let _0x34ff0b=_0x57650f['get'](_0x1df963),_0x295598=_0x57650f[_0x37bcf4(0x37d)](_0x10421d),_0x563e0a=_0x1ecf15[_0x37bcf4(0x27a)](),_0x4c5e3a=new I()['changeFieldType'](_0x563e0a,_0x55222a,_0x2f03c9,_0x7501d1),_0x2b3f38=new O()[_0x37bcf4(0x18f)](_0x563e0a,_0x4c5e3a),_0x35fd1f={'unitId':_0x1105fd,'op':_0x4c5e3a},_0x1ee542={'unitId':_0x1105fd,'op':_0x2b3f38};return _0x34ff0b[_0x37bcf4(0x163)](Y['id'],_0x35fd1f)?(_0x3ef6b8[_0x37bcf4(0x1e8)](_0x1105fd),_0x295598['pushUndoRedo']({'unitID':_0x1105fd,'undoMutations':[{'id':Y['id'],'params':_0x1ee542}],'redoMutations':[{'id':Y['id'],'params':_0x35fd1f}]}),!0x0):!0x1;}},nr={'id':_0x189c21(0x352),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x45ca8e,_0x141c6e){const _0x510b18=_0x189c21;if(!_0x141c6e)return!0x1;let _0x442a40=_0x45ca8e[_0x510b18(0x37d)](_0xde4d7d),{unitId:_0x169f9b,tableId:_0x1f393b,field:_0x5b1ff8,index:_0x371acf,viewIndexes:_0x3a24e1}=_0x141c6e,_0x3c882e=_0x442a40['getUnit'](_0x169f9b,_0x3cd153['UNIVER_BASE']);if(!_0x3c882e||!X(_0x3c882e,_0x1f393b)||_0x3c882e[_0x510b18(0x27a)]()[_0x510b18(0x2ea)][_0x1f393b]['fields'][_0x5b1ff8['id']])return!0x1;let _0x52660e=_0x45ca8e['get'](_0x1df963),_0x388c69=_0x45ca8e[_0x510b18(0x37d)](_0x10421d),_0x34693e=_0x45ca8e[_0x510b18(0x37d)](U)[_0x510b18(0x253)](_0x3c882e,_0x1f393b,_0x5b1ff8,_0x371acf,_0x3a24e1),_0x41fb02=new O()[_0x510b18(0x18f)](_0x3c882e[_0x510b18(0x27a)](),_0x34693e),_0x456bea={'unitId':_0x169f9b,'op':_0x34693e},_0x5d3d6b={'unitId':_0x169f9b,'op':_0x41fb02};return _0x52660e['syncExecuteCommand'](Y['id'],_0x456bea)?(_0x442a40['focusUnit'](_0x169f9b),_0x388c69[_0x510b18(0x371)]({'unitID':_0x169f9b,'undoMutations':[{'id':Y['id'],'params':_0x5d3d6b}],'redoMutations':[{'id':Y['id'],'params':_0x456bea}]}),!0x0):!0x1;}},rr={'id':'base.command.create-base-record','type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x2db9af,_0x207505){const _0x1637c2=_0x189c21;if(!_0x207505)return!0x1;let _0x254821=_0x2db9af[_0x1637c2(0x37d)](_0xde4d7d),{unitId:_0x29d6ee,tableId:_0x9acb2e,record:_0x4f0981}=_0x207505,_0x1e8f1a=_0x254821['getUnit'](_0x29d6ee,_0x3cd153[_0x1637c2(0x25b)]);if(!_0x1e8f1a||!X(_0x1e8f1a,_0x9acb2e)||_0x1e8f1a[_0x1637c2(0x27a)]()['tables'][_0x9acb2e]['records'][_0x4f0981['id']])return!0x1;let _0xc9dfc9=_0x2db9af[_0x1637c2(0x37d)](_0x1df963),_0x27c10f=_0x2db9af[_0x1637c2(0x37d)](_0x10421d),_0x394939=_0x2db9af['get'](U)[_0x1637c2(0x1ac)](_0x1e8f1a,_0x9acb2e,_0x4f0981),_0x5453fd=new O()[_0x1637c2(0x18f)](_0x1e8f1a['getSnapshot'](),_0x394939),_0x29b5bf={'unitId':_0x29d6ee,'op':_0x394939},_0x5d0679={'unitId':_0x29d6ee,'op':_0x5453fd};return _0xc9dfc9[_0x1637c2(0x163)](Y['id'],_0x29b5bf)?(_0x254821[_0x1637c2(0x1e8)](_0x29d6ee),_0x27c10f[_0x1637c2(0x371)]({'unitID':_0x29d6ee,'undoMutations':[{'id':Y['id'],'params':_0x5d0679}],'redoMutations':[{'id':Y['id'],'params':_0x29b5bf}]}),!0x0):!0x1;}},ir={'id':'base.command.create-base-table','type':_0x43c9fc['COMMAND'],'handler':(_0x2feb87,_0x2b3810)=>{const _0x20b830=_0x189c21;if(!_0x2b3810)return!0x1;let _0x530124=_0x2feb87[_0x20b830(0x37d)](_0xde4d7d),{unitId:_0x408ba5,table:_0x41512f,index:_0x5d5813}=_0x2b3810,_0x4b491a=_0x530124['getUnit'](_0x408ba5,_0x3cd153[_0x20b830(0x25b)]);if(!_0x4b491a||_0x4b491a[_0x20b830(0x27a)]()[_0x20b830(0x2ea)][_0x41512f['id']])return!0x1;let _0x2bd220=_0x2feb87[_0x20b830(0x37d)](_0x1df963),_0x2e6340=_0x2feb87[_0x20b830(0x37d)](_0x10421d),_0x1684a6=_0x4b491a[_0x20b830(0x27a)](),_0x192a45={..._0x41512f,'name':_0x4b491a[_0x20b830(0x1d7)](_0x41512f['name'])},_0x5d2b5f=new I()[_0x20b830(0x10c)](_0x1684a6,_0x192a45,_0x5d5813),_0x811af0=new O()[_0x20b830(0x18f)](_0x1684a6,_0x5d2b5f),_0x2b66d8={'unitId':_0x408ba5,'op':_0x5d2b5f},_0x531a67={'unitId':_0x408ba5,'op':_0x811af0};return _0x2bd220[_0x20b830(0x163)](Y['id'],_0x2b66d8)?(_0x530124[_0x20b830(0x1e8)](_0x408ba5),_0x2e6340[_0x20b830(0x371)]({'unitID':_0x408ba5,'undoMutations':[{'id':Y['id'],'params':_0x531a67}],'redoMutations':[{'id':Y['id'],'params':_0x2b66d8}]}),!0x0):!0x1;}};function ar(_0xda02d3,_0x17dc5c,_0x2a76e7=[]){const _0x2e824e=_0x189c21;let _0xead437=new Set([...Object[_0x2e824e(0x21c)](_0xda02d3[_0x2e824e(0xfb)])['filter'](_0x2008cb=>_0x2008cb)[_0x2e824e(0x1d0)](_0x2c1bdb=>_0x2c1bdb[_0x2e824e(0x1cf)]),..._0x2a76e7['map'](_0x49ac4a=>_0x49ac4a[_0x2e824e(0x1cf)])]);if(!_0xead437['has'](_0x17dc5c))return _0x17dc5c;let _0x1c608a=0x2;for(;_0xead437[_0x2e824e(0x24f)](_0x17dc5c+'\x20'+_0x1c608a);)_0x1c608a++;return _0x17dc5c+'\x20'+_0x1c608a;}function or(_0x5089b3,_0xb3e41a){const _0x1bcc1c=_0x189c21;if(!_0x5089b3||!_0xb3e41a[_0x1bcc1c(0x149)])return;let _0x28cdf2=[..._0x5089b3];return _0xb3e41a['forEach'](_0x50ee74=>{const _0x17abbd=_0x1bcc1c;_0x28cdf2[_0x17abbd(0x1f9)](_0x50ee74)||_0x28cdf2[_0x17abbd(0x2b9)](_0x50ee74);}),_0x28cdf2;}const sr={'options':[{'id':_0x189c21(0x127),'name':_0x189c21(0x346),'color':'#BFDBFE'},{'id':_0x189c21(0xd3),'name':_0x189c21(0x324),'color':_0x189c21(0x116)},{'id':'done','name':'Done','color':'#BBF7D0'}]},cr={'locale':_0x189c21(0x31f),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x189c21(0x2d7),'defaultMode':_0x189c21(0x2b4)};function lr(_0x37838f,_0x4bb4df,_0x2f79ef,_0x511542){const _0x5d3198=_0x189c21;var _0xb0d347;let _0x4bd4c7=new I(),_0x1cbb28=_0x37838f[_0x5d3198(0x2ea)][_0x4bb4df];if(_0x1cbb28&&_0x2f79ef[_0x5d3198(0x2c7)]===_0x5d3198(0x111)){var _0x8df28c;let _0x76147e=dr(_0x1cbb28,_0x2f79ef),_0x13ebd0=_0x76147e[_0x5d3198(0x2cc)]?{..._0x2f79ef,'config':_0x76147e[_0x5d3198(0x1a2)],'fieldOrder':(_0x8df28c=_0x76147e[_0x5d3198(0x1d5)])==null?_0x2f79ef[_0x5d3198(0x1d5)]:_0x8df28c}:_0x2f79ef;return F([..._0x76147e[_0x5d3198(0xfb)][_0x5d3198(0x1d0)](_0x931542=>_0x4bd4c7[_0x5d3198(0x1df)](_0x37838f,_0x4bb4df,{'field':_0x931542})),_0x4bd4c7[_0x5d3198(0x1bc)](_0x37838f,_0x4bb4df,_0x13ebd0,_0x511542)]);}if(!_0x1cbb28||_0x2f79ef['type']!==_0x5d3198(0x344)&&_0x2f79ef['type']!==_0x5d3198(0x181))return _0x4bd4c7[_0x5d3198(0x1bc)](_0x37838f,_0x4bb4df,_0x2f79ef,_0x511542);let _0x52b88b=ur(_0x1cbb28,_0x2f79ef),_0xee13a4=_0x52b88b['changed']?{..._0x2f79ef,'config':_0x52b88b[_0x5d3198(0x1a2)],'fieldOrder':(_0xb0d347=_0x52b88b[_0x5d3198(0x1d5)])==null?_0x2f79ef['fieldOrder']:_0xb0d347}:_0x2f79ef;return _0x2f79ef[_0x5d3198(0x2c7)]===_0x5d3198(0x181)&&mr(_0x2f79ef)&&(_0xee13a4=hr(_0x1cbb28,_0xee13a4,_0x52b88b[_0x5d3198(0xfb)])),F([..._0x52b88b[_0x5d3198(0xfb)][_0x5d3198(0x1d0)](_0x4a37a9=>_0x4bd4c7[_0x5d3198(0x1df)](_0x37838f,_0x4bb4df,{'field':_0x4a37a9})),_0x4bd4c7[_0x5d3198(0x1bc)](_0x37838f,_0x4bb4df,_0xee13a4,_0x511542)]);}function ur(_0x20bb75,_0x174939,_0x396dd0=!0x1){const _0x3e1ce3=_0x189c21;var _0xb3b7f,_0x137df0,_0x7966f5,_0x516dd1;let _0x107257=_0x20bb75[_0x3e1ce3(0x1d5)][_0x3e1ce3(0x25c)](_0x3e1f85=>_r(_0x20bb75,_0x3e1f85)),_0x1977c0=[],_0x1e23a6={...(_0xb3b7f=_0x174939[_0x3e1ce3(0x1a2)])==null?{}:_0xb3b7f},_0x11c2df=typeof _0x1e23a6[_0x3e1ce3(0x10f)]==_0x3e1ce3(0xca)&&_r(_0x20bb75,_0x1e23a6[_0x3e1ce3(0x10f)])?_0x1e23a6['startDateFieldId']:_0x107257[0x0],_0x2e3eb0=typeof _0x1e23a6[_0x3e1ce3(0x28e)]==_0x3e1ce3(0xca)&&_r(_0x20bb75,_0x1e23a6['endDateFieldId'])&&_0x1e23a6[_0x3e1ce3(0x28e)]!==_0x11c2df?_0x1e23a6[_0x3e1ce3(0x28e)]:_0x107257['find'](_0x169967=>_0x169967!==_0x11c2df);if(!_0x11c2df){let _0xfc9316=vr(_0x20bb75,_0x1977c0,_0x174939['type']===_0x3e1ce3(0x181)?_0x3e1ce3(0x2b2):'Date');_0x1977c0[_0x3e1ce3(0x2b9)](_0xfc9316),_0x11c2df=_0xfc9316['id'];}if((_0x174939[_0x3e1ce3(0x2c7)]===_0x3e1ce3(0x181)||_0x396dd0)&&!_0x2e3eb0){let _0x5259fa=vr(_0x20bb75,_0x1977c0,_0x3e1ce3(0x37e));_0x1977c0['push'](_0x5259fa),_0x2e3eb0=_0x5259fa['id'];}if(_0x174939[_0x3e1ce3(0x2c7)]===_0x3e1ce3(0x344)&&!_0x2e3eb0&&delete _0x1e23a6[_0x3e1ce3(0x28e)],_0x1e23a6[_0x3e1ce3(0x10f)]=_0x11c2df,_0x174939['type']==='calendar'&&_0x2e3eb0&&(_0x1e23a6[_0x3e1ce3(0x28e)]=_0x2e3eb0),_0x174939['type']===_0x3e1ce3(0x181)){var _0x232824;_0x1e23a6[_0x3e1ce3(0x28e)]=(_0x232824=_0x2e3eb0)==null?_0x11c2df:_0x232824;}let _0x35b0e3=or(_0x174939['fieldOrder'],_0x1977c0[_0x3e1ce3(0x1d0)](_0x435e9a=>_0x435e9a['id']));return{'changed':_0x1977c0[_0x3e1ce3(0x149)]>0x0||_0x1e23a6[_0x3e1ce3(0x10f)]!==((_0x137df0=_0x174939[_0x3e1ce3(0x1a2)])==null?void 0x0:_0x137df0[_0x3e1ce3(0x10f)])||_0x1e23a6[_0x3e1ce3(0x28e)]!==((_0x7966f5=_0x174939['config'])==null?void 0x0:_0x7966f5['endDateFieldId'])||!!(_0x35b0e3&&!_0x4b73bd[_0x3e1ce3(0x14c)](_0x35b0e3,(_0x516dd1=_0x174939[_0x3e1ce3(0x1d5)])==null?[]:_0x516dd1)),'fields':_0x1977c0,'config':_0x1e23a6,'fieldOrder':_0x35b0e3};}function dr(_0x1821c4,_0x503cf0){const _0x5f174a=_0x189c21;var _0x5e8e6f,_0x3890fc,_0x22b1bb;let _0x1328aa=[],_0x39b1b1={...(_0x5e8e6f=_0x503cf0[_0x5f174a(0x1a2)])==null?{}:_0x5e8e6f},_0x57ce91=typeof _0x39b1b1[_0x5f174a(0x196)]==_0x5f174a(0xca)&&fr(_0x1821c4,_0x39b1b1[_0x5f174a(0x196)])?_0x39b1b1[_0x5f174a(0x196)]:_0x1821c4[_0x5f174a(0x1d5)][_0x5f174a(0x148)](_0x502fb0=>fr(_0x1821c4,_0x502fb0));if(!_0x57ce91){let _0x38d3cf=pr(_0x1821c4,_0x1328aa);_0x1328aa[_0x5f174a(0x2b9)](_0x38d3cf),_0x57ce91=_0x38d3cf['id'];}_0x39b1b1['groupFieldId']=_0x57ce91;let _0x2ca9f4=or(_0x503cf0[_0x5f174a(0x1d5)],_0x1328aa[_0x5f174a(0x1d0)](_0x14d9de=>_0x14d9de['id']));return{'changed':_0x1328aa['length']>0x0||_0x39b1b1[_0x5f174a(0x196)]!==((_0x3890fc=_0x503cf0[_0x5f174a(0x1a2)])==null?void 0x0:_0x3890fc[_0x5f174a(0x196)])||!!(_0x2ca9f4&&!_0x4b73bd[_0x5f174a(0x14c)](_0x2ca9f4,(_0x22b1bb=_0x503cf0['fieldOrder'])==null?[]:_0x22b1bb)),'fields':_0x1328aa,'config':_0x39b1b1,'fieldOrder':_0x2ca9f4};}function fr(_0x56ef48,_0x3577ab){const _0x17c4c9=_0x189c21;let _0xf07db8=_0x3577ab?_0x56ef48[_0x17c4c9(0xfb)][_0x3577ab]:null;return _0xf07db8?[_0x2b9397[_0x17c4c9(0x3a5)],_0x2b9397[_0x17c4c9(0xd9)],_0x2b9397['Rating'],_0x2b9397[_0x17c4c9(0x118)],_0x2b9397[_0x17c4c9(0x1a9)],_0x2b9397[_0x17c4c9(0x22e)]][_0x17c4c9(0x1f9)](_0xf07db8[_0x17c4c9(0x2c7)]):!0x1;}function pr(_0x34958e,_0xde30c7){const _0x1a3240=_0x189c21;return{'id':_0x1a3240(0x2ec)+_0x169e73(0x8),'name':ar(_0x34958e,_0x1a3240(0x1f7),_0xde30c7),'type':_0x2b9397[_0x1a3240(0x3a5)],'config':_0x4b73bd[_0x1a3240(0x11c)](sr)};}function mr(_0x2513c2){const _0x2562cc=_0x189c21;var _0x14aabb,_0x253667;return Object[_0x2562cc(0x1e7)]((_0x14aabb=_0x2513c2[_0x2562cc(0x1a2)])==null?{}:_0x14aabb)[_0x2562cc(0x149)]===0x0&&Object['keys']((_0x253667=_0x2513c2['fieldSettings'])==null?{}:_0x253667)[_0x2562cc(0x149)]===0x0;}function hr(_0x27e8bc,_0x33ff85,_0x9552ed){const _0x3cdb5=_0x189c21;var _0x3cebe9;let _0x1d6133={...(_0x3cebe9=_0x33ff85[_0x3cdb5(0x1a2)])==null?{}:_0x3cebe9},_0x7a9bb8=_0x9552ed[_0x3cdb5(0x1d0)](_0x4579ff=>_0x4579ff['id']),_0x1f9a66=[..._0x27e8bc[_0x3cdb5(0x1d5)],..._0x7a9bb8],_0xa017a2=typeof _0x1d6133[_0x3cdb5(0x1fd)]==_0x3cdb5(0xca)&&gr(_0x27e8bc,_0x9552ed,_0x1d6133['titleFieldId'])?_0x1d6133[_0x3cdb5(0x1fd)]:_0x27e8bc[_0x3cdb5(0x176)],_0x3d146c=typeof _0x1d6133[_0x3cdb5(0x10f)]==_0x3cdb5(0xca)?_0x1d6133[_0x3cdb5(0x10f)]:'',_0x1442ca=typeof _0x1d6133['endDateFieldId']==_0x3cdb5(0xca)?_0x1d6133['endDateFieldId']:_0x3d146c,_0x40feaa=new Set([_0xa017a2,_0x3d146c,_0x1442ca][_0x3cdb5(0x25c)](_0xd4b152=>_0xd4b152&&gr(_0x27e8bc,_0x9552ed,_0xd4b152))),_0x20fb8b=Object['fromEntries'](_0x1f9a66[_0x3cdb5(0x399)](_0x5b37cb=>_0x40feaa[_0x3cdb5(0x24f)](_0x5b37cb)||!gr(_0x27e8bc,_0x9552ed,_0x5b37cb)?[]:[[_0x5b37cb,{'hidden':!0x0}]]));return{..._0x33ff85,'config':{..._0x1d6133,'titleFieldId':_0xa017a2},'fieldSettings':_0x20fb8b};}function gr(_0x4eb517,_0x81057a,_0x4af7cc){var _0x436b56;return!!((_0x436b56=_0x4eb517['fields'][_0x4af7cc])==null?_0x81057a['find'](_0x5f59fb=>_0x5f59fb['id']===_0x4af7cc):_0x436b56)&&!0x0;}function _r(_0x15de54,_0x4d24e3){const _0x2cb0e5=_0x189c21;let _0x1ef4ac=_0x4d24e3?_0x15de54[_0x2cb0e5(0xfb)][_0x4d24e3]:null;return!!_0x1ef4ac&&_0x1ef4ac[_0x2cb0e5(0x2c7)]===_0x2b9397[_0x2cb0e5(0x2b0)]&&_0x1ef4ac['readonly']!==!0x0&&_0x1ef4ac[_0x2cb0e5(0xcc)]!==!0x0;}function vr(_0x2347ae,_0x8f8efd,_0x1b88c7){const _0x420f98=_0x189c21;let _0x11af64=new Set([...Object[_0x420f98(0x1e7)](_0x2347ae[_0x420f98(0xfb)]),..._0x8f8efd['map'](_0x2fd2eb=>_0x2fd2eb['id'])]),_0x5b4c78=_0x420f98(0x2ec)+_0x169e73(0x8);for(;_0x11af64[_0x420f98(0x24f)](_0x5b4c78);)_0x5b4c78=_0x420f98(0x2ec)+_0x169e73(0x8);return{'id':_0x5b4c78,'name':ar(_0x2347ae,_0x1b88c7,_0x8f8efd),'type':_0x2b9397[_0x420f98(0x2b0)],'config':{...cr}};}const yr={'id':_0x189c21(0xe1),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0xb6ed60,_0x458694)=>{const _0x5a547e=_0x189c21;if(!_0x458694)return!0x1;let _0x4f29a3=_0xb6ed60['get'](_0xde4d7d),{unitId:_0x34a0fe,tableId:_0xce4437,view:_0x3987af,index:_0x3d384b}=_0x458694,_0x341b36=_0x4f29a3['getUnit'](_0x34a0fe,_0x3cd153[_0x5a547e(0x25b)]);if(!_0x341b36||!X(_0x341b36,_0xce4437)||_0x341b36['getSnapshot']()[_0x5a547e(0x2ea)][_0xce4437][_0x5a547e(0x12f)][_0x3987af['id']])return!0x1;let _0x28ac00=_0xb6ed60[_0x5a547e(0x37d)](_0x1df963),_0x1115b0=_0xb6ed60[_0x5a547e(0x37d)](_0x10421d),_0x5dd24b=_0x341b36[_0x5a547e(0x27a)](),_0xd3c1d7=lr(_0x5dd24b,_0xce4437,_0x3987af,_0x3d384b),_0x456c4f=new O()[_0x5a547e(0x18f)](_0x5dd24b,_0xd3c1d7),_0x7cb80f={'unitId':_0x34a0fe,'op':_0xd3c1d7},_0xef2fdb={'unitId':_0x34a0fe,'op':_0x456c4f};return _0x28ac00[_0x5a547e(0x163)](Y['id'],_0x7cb80f)?(_0x4f29a3[_0x5a547e(0x1e8)](_0x34a0fe),_0x1115b0['pushUndoRedo']({'unitID':_0x34a0fe,'undoMutations':[{'id':Y['id'],'params':_0xef2fdb}],'redoMutations':[{'id':Y['id'],'params':_0x7cb80f}]}),!0x0):!0x1;}},br={'id':_0x189c21(0x31c),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x3696f6,_0xc520f){const _0x30e1e6=_0x189c21;if(!_0xc520f)return!0x1;let _0x481911=_0x3696f6[_0x30e1e6(0x37d)](_0xde4d7d),{unitId:_0x5e57c6,tableId:_0x2bdcca,fieldId:_0x376e3a}=_0xc520f,_0x4aac47=_0x481911[_0x30e1e6(0x289)](_0x5e57c6,_0x3cd153[_0x30e1e6(0x25b)]);if(!_0x4aac47)return!0x1;let _0x5e999f=_0x4aac47[_0x30e1e6(0x27a)](),_0x338e01=_0x5e999f['tables'][_0x2bdcca];if(!X(_0x4aac47,_0x2bdcca,{'fieldIds':[_0x376e3a]})||_0x338e01[_0x30e1e6(0x176)]===_0x376e3a)return!0x1;let _0x196d9e=_0x3696f6[_0x30e1e6(0x37d)](_0x1df963),_0x451852=_0x3696f6[_0x30e1e6(0x37d)](_0x10421d),_0x3e4f3b=new I()[_0x30e1e6(0x214)](_0x5e999f,_0x2bdcca,_0x376e3a),_0x4cbcf=new O()[_0x30e1e6(0x18f)](_0x5e999f,_0x3e4f3b),_0x1ae4a0={'unitId':_0x5e57c6,'op':_0x3e4f3b},_0xf49e3a={'unitId':_0x5e57c6,'op':_0x4cbcf};return _0x196d9e[_0x30e1e6(0x163)](Y['id'],_0x1ae4a0)?(_0x481911['focusUnit'](_0x5e57c6),_0x451852[_0x30e1e6(0x371)]({'unitID':_0x5e57c6,'undoMutations':[{'id':Y['id'],'params':_0xf49e3a}],'redoMutations':[{'id':Y['id'],'params':_0x1ae4a0}]}),!0x0):!0x1;}},xr={'id':_0x189c21(0x267),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x1b4b34,_0x3411bc)=>{const _0x36ab2a=_0x189c21;if(!_0x3411bc)return!0x1;let _0x2c76b1=_0x1b4b34[_0x36ab2a(0x37d)](_0xde4d7d),{unitId:_0x32cb55,tableId:_0x3cd973,recordId:_0x26db04}=_0x3411bc,_0x3d4671=_0x2c76b1[_0x36ab2a(0x289)](_0x32cb55,_0x3cd153[_0x36ab2a(0x25b)]);if(!_0x3d4671||!X(_0x3d4671,_0x3cd973,{'recordIds':[_0x26db04]}))return!0x1;let _0x3e2bfc=_0x1b4b34[_0x36ab2a(0x37d)](_0x1df963),_0x105541=_0x1b4b34['get'](_0x10421d),_0x53e2d1=_0x3d4671['getSnapshot'](),_0x1a98e2=new I()[_0x36ab2a(0x30d)](_0x53e2d1,_0x3cd973,_0x26db04),_0x5007b2=new O()[_0x36ab2a(0x18f)](_0x53e2d1,_0x1a98e2),_0x19b3b={'unitId':_0x32cb55,'op':_0x1a98e2},_0x1da9b1={'unitId':_0x32cb55,'op':_0x5007b2};return _0x3e2bfc['syncExecuteCommand'](Y['id'],_0x19b3b)?(_0x2c76b1[_0x36ab2a(0x1e8)](_0x32cb55),_0x105541['pushUndoRedo']({'unitID':_0x32cb55,'undoMutations':[{'id':Y['id'],'params':_0x1da9b1}],'redoMutations':[{'id':Y['id'],'params':_0x19b3b}]}),!0x0):!0x1;}},Sr={'id':_0x189c21(0x27c),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x2d9b99,_0x1eff89)=>{const _0x1f261a=_0x189c21;if(!_0x1eff89)return!0x1;let _0x109bea=_0x2d9b99[_0x1f261a(0x37d)](_0xde4d7d),{unitId:_0x188df9,tableId:_0x129d02}=_0x1eff89,_0x2e2e49=_0x109bea['getUnit'](_0x188df9,_0x3cd153['UNIVER_BASE']);if(!_0x2e2e49||!X(_0x2e2e49,_0x129d02))return!0x1;let _0x11d04c=_0x2d9b99[_0x1f261a(0x37d)](_0x1df963),_0x4d50db=_0x2d9b99[_0x1f261a(0x37d)](_0x10421d),_0x6e1f21=_0x2e2e49[_0x1f261a(0x27a)](),_0xfc83ff=new I()[_0x1f261a(0xfa)](_0x6e1f21,_0x129d02),_0x2a06c8=new O()[_0x1f261a(0x18f)](_0x6e1f21,_0xfc83ff),_0x1758ed={'unitId':_0x188df9,'op':_0xfc83ff},_0x1dd5f1={'unitId':_0x188df9,'op':_0x2a06c8};return _0x11d04c[_0x1f261a(0x163)](Y['id'],_0x1758ed)?(_0x109bea['focusUnit'](_0x188df9),_0x4d50db['pushUndoRedo']({'unitID':_0x188df9,'undoMutations':[{'id':Y['id'],'params':_0x1dd5f1}],'redoMutations':[{'id':Y['id'],'params':_0x1758ed}]}),!0x0):!0x1;}},Cr={'id':_0x189c21(0x10a),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x3a57b1,_0x22aa4b)=>{const _0x19da12=_0x189c21;if(!_0x22aa4b)return!0x1;let _0x11965c=_0x3a57b1['get'](_0xde4d7d),{unitId:_0x2e0191,tableId:_0x4854c0,viewId:_0x583ce4}=_0x22aa4b,_0x10b8e6=_0x11965c[_0x19da12(0x289)](_0x2e0191,_0x3cd153[_0x19da12(0x25b)]);if(!_0x10b8e6||!X(_0x10b8e6,_0x4854c0,{'viewIds':[_0x583ce4]}))return!0x1;let _0x617a8=_0x3a57b1[_0x19da12(0x37d)](_0x1df963),_0x42fa52=_0x3a57b1[_0x19da12(0x37d)](_0x10421d),_0x5046cb=_0x10b8e6['getSnapshot'](),_0xeac75b=new I()[_0x19da12(0x2c1)](_0x5046cb,_0x4854c0,_0x583ce4),_0x461fbd=new O()[_0x19da12(0x18f)](_0x5046cb,_0xeac75b),_0x5f1360={'unitId':_0x2e0191,'op':_0xeac75b},_0x38923b={'unitId':_0x2e0191,'op':_0x461fbd};return _0x617a8[_0x19da12(0x163)](Y['id'],_0x5f1360)?(_0x11965c[_0x19da12(0x1e8)](_0x2e0191),_0x42fa52['pushUndoRedo']({'unitID':_0x2e0191,'undoMutations':[{'id':Y['id'],'params':_0x38923b}],'redoMutations':[{'id':Y['id'],'params':_0x5f1360}]}),!0x0):!0x1;}},wr={'id':'base.command.duplicate-base-field','type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x206f81,_0x54686b)=>{const _0x14b7c1=_0x189c21;if(!_0x54686b)return!0x1;let _0x5d3f4d=_0x206f81[_0x14b7c1(0x37d)](_0xde4d7d),{unitId:_0x54837a,tableId:_0x4704ec,sourceFieldId:_0x5de6c2,field:_0x630843,index:_0x27efb2,viewIndexes:_0x3cbe1f}=_0x54686b,_0x32ca1d=_0x5d3f4d[_0x14b7c1(0x289)](_0x54837a,_0x3cd153['UNIVER_BASE']);if(!_0x32ca1d||!X(_0x32ca1d,_0x4704ec,{'fieldIds':[_0x5de6c2]})||_0x32ca1d[_0x14b7c1(0x27a)]()['tables'][_0x4704ec][_0x14b7c1(0xfb)][_0x630843['id']])return!0x1;let _0xe27a1=_0x206f81[_0x14b7c1(0x37d)](_0x1df963),_0x48e263=_0x206f81['get'](_0x10421d),_0xee15f6=_0x32ca1d[_0x14b7c1(0x27a)](),_0x44c295=new I()['duplicateField'](_0xee15f6,_0x4704ec,_0x5de6c2,{'field':_0x630843,'index':_0x27efb2,'viewIndexes':_0x3cbe1f}),_0x436374=new O()['invertOp'](_0xee15f6,_0x44c295),_0x279d30={'unitId':_0x54837a,'op':_0x44c295},_0x32e282={'unitId':_0x54837a,'op':_0x436374};return _0xe27a1[_0x14b7c1(0x163)](Y['id'],_0x279d30)?(_0x5d3f4d[_0x14b7c1(0x1e8)](_0x54837a),_0x48e263[_0x14b7c1(0x371)]({'unitID':_0x54837a,'undoMutations':[{'id':Y['id'],'params':_0x32e282}],'redoMutations':[{'id':Y['id'],'params':_0x279d30}]}),!0x0):!0x1;}},Tr={'id':'base.command.duplicate-base-record','type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x1f653a,_0x45392f)=>{const _0x2fb160=_0x189c21;if(!_0x45392f)return!0x1;let _0x521897=_0x1f653a[_0x2fb160(0x37d)](_0xde4d7d),{unitId:_0x6c0e6a,tableId:_0x5c58c2,sourceRecordId:_0x410dfa,record:_0x4c6419}=_0x45392f,_0x97e959=_0x521897[_0x2fb160(0x289)](_0x6c0e6a,_0x3cd153[_0x2fb160(0x25b)]);if(!_0x97e959||!X(_0x97e959,_0x5c58c2,{'recordIds':[_0x410dfa]})||_0x97e959[_0x2fb160(0x27a)]()[_0x2fb160(0x2ea)][_0x5c58c2]['records'][_0x4c6419['id']])return!0x1;let _0x56fcb2=_0x1f653a[_0x2fb160(0x37d)](_0x1df963),_0x22cbae=_0x1f653a['get'](_0x10421d),_0x4011a9=_0x97e959[_0x2fb160(0x27a)](),_0x448876=new I()[_0x2fb160(0x325)](_0x4011a9,_0x5c58c2,_0x410dfa,_0x4c6419),_0x3cba2e=new O()[_0x2fb160(0x18f)](_0x4011a9,_0x448876),_0x53866f={'unitId':_0x6c0e6a,'op':_0x448876},_0x8bb2a5={'unitId':_0x6c0e6a,'op':_0x3cba2e};return _0x56fcb2[_0x2fb160(0x163)](Y['id'],_0x53866f)?(_0x521897['focusUnit'](_0x6c0e6a),_0x22cbae[_0x2fb160(0x371)]({'unitID':_0x6c0e6a,'undoMutations':[{'id':Y['id'],'params':_0x8bb2a5}],'redoMutations':[{'id':Y['id'],'params':_0x53866f}]}),!0x0):!0x1;}},Er={'id':_0x189c21(0x2e0),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x2e6662,_0x41e5d1){const _0x2a660d=_0x189c21;if(!_0x41e5d1)return!0x1;let _0x4c6ba3=_0x2e6662['get'](_0xde4d7d),{unitId:_0x488b6d,tableId:_0x408dc1,viewId:_0x4e81d0,ensureEndDateField:_0x4a5807}=_0x41e5d1,_0x143541=_0x4c6ba3['getUnit'](_0x488b6d,_0x3cd153[_0x2a660d(0x25b)]);if(!_0x143541||!X(_0x143541,_0x408dc1,{'viewIds':[_0x4e81d0]}))return!0x1;let _0x3419fd=_0x143541[_0x2a660d(0x27a)](),_0x1db4b5=_0x3419fd['tables'][_0x408dc1],_0x214c68=_0x1db4b5==null?void 0x0:_0x1db4b5[_0x2a660d(0x12f)][_0x4e81d0];if(!_0x1db4b5||!_0x214c68||_0x214c68[_0x2a660d(0x2c7)]!==_0x2a660d(0x344)&&_0x214c68[_0x2a660d(0x2c7)]!==_0x2a660d(0x181))return!0x1;let _0x42828e=ur(_0x1db4b5,_0x214c68,_0x4a5807===!0x0);if(!_0x42828e['changed'])return!0x1;let _0x15196e=_0x2e6662[_0x2a660d(0x37d)](_0x1df963),_0x143ccd=_0x2e6662[_0x2a660d(0x37d)](_0x10421d),_0x3136e5=new I(),_0xd40d31=[..._0x42828e[_0x2a660d(0xfb)][_0x2a660d(0x1d0)](_0x4a0e3b=>_0x3136e5[_0x2a660d(0x1df)](_0x3419fd,_0x41e5d1[_0x2a660d(0x16b)],{'field':_0x4a0e3b})),Dr([...Or(_0x41e5d1[_0x2a660d(0x16b)],_0x41e5d1[_0x2a660d(0x122)]),_0x2a660d(0x1a2)],_0x214c68[_0x2a660d(0x1a2)],_0x42828e[_0x2a660d(0x1a2)])];_0x42828e['fieldOrder']&&_0xd40d31[_0x2a660d(0x2b9)](Dr([...Or(_0x41e5d1[_0x2a660d(0x16b)],_0x41e5d1['viewId']),_0x2a660d(0x1d5)],_0x214c68[_0x2a660d(0x1d5)],_0x42828e[_0x2a660d(0x1d5)]));let _0x487f4a=F(_0xd40d31),_0x5fbe60=new O()['invertOp'](_0x3419fd,_0x487f4a),_0x4cb771={'unitId':_0x488b6d,'op':_0x487f4a},_0x16eec9={'unitId':_0x488b6d,'op':_0x5fbe60};return _0x15196e['syncExecuteCommand'](Y['id'],_0x4cb771)?(_0x4c6ba3['focusUnit'](_0x488b6d),_0x143ccd[_0x2a660d(0x371)]({'unitID':_0x488b6d,'undoMutations':[{'id':Y['id'],'params':_0x16eec9}],'redoMutations':[{'id':Y['id'],'params':_0x4cb771}]}),!0x0):!0x1;}};function Dr(_0x43e8c5,_0x448d7f,_0x2dedd4){const _0x1d731e=_0x189c21;return _0x448d7f===void 0x0?_0x1c896f[_0x1d731e(0x2d6)](_0x43e8c5,_0x2dedd4):_0x1c896f[_0x1d731e(0x22a)](_0x43e8c5,_0x448d7f,_0x2dedd4);}function Or(_0x457037,_0x2280d7){const _0x2bce12=_0x189c21;return[_0x2bce12(0x2ea),_0x457037,_0x2bce12(0x12f),_0x2280d7];}const kr={'id':_0x189c21(0x1c5),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x2b77be,_0x110285)=>{const _0x17b55f=_0x189c21;var _0x1c5c65;if(!_0x110285)return!0x1;let _0x3cf998=_0x2b77be['get'](_0xde4d7d),{unitId:_0x47fbc8,tableId:_0x1a52ce,fieldId:_0x42dab9,target:_0x6bdf02}=_0x110285,_0x3e1a65=_0x3cf998['getUnit'](_0x47fbc8,_0x3cd153[_0x17b55f(0x25b)]),_0x364c08=(_0x1c5c65=_0x6bdf02['beforeFieldId'])==null?_0x6bdf02[_0x17b55f(0x2e9)]:_0x1c5c65;if(!_0x3e1a65||!!_0x6bdf02['beforeFieldId']==!!_0x6bdf02[_0x17b55f(0x2e9)]||!_0x364c08||_0x364c08===_0x42dab9||!X(_0x3e1a65,_0x1a52ce,{'fieldIds':[_0x42dab9,_0x364c08]}))return!0x1;let _0x31f183=_0x2b77be[_0x17b55f(0x37d)](_0x1df963),_0x3a7b0d=_0x2b77be[_0x17b55f(0x37d)](_0x10421d),_0x380a06=_0x3e1a65[_0x17b55f(0x27a)](),_0x3374a5=new I()['moveField'](_0x380a06,_0x1a52ce,_0x42dab9,_0x6bdf02),_0x109309=new O()['invertOp'](_0x380a06,_0x3374a5),_0x4e8e73={'unitId':_0x47fbc8,'op':_0x3374a5},_0x4a8509={'unitId':_0x47fbc8,'op':_0x109309};return _0x31f183[_0x17b55f(0x163)](Y['id'],_0x4e8e73)?(_0x3cf998[_0x17b55f(0x1e8)](_0x47fbc8),_0x3a7b0d[_0x17b55f(0x371)]({'unitID':_0x47fbc8,'undoMutations':[{'id':Y['id'],'params':_0x4a8509}],'redoMutations':[{'id':Y['id'],'params':_0x4e8e73}]}),!0x0):!0x1;}},Ar={'id':_0x189c21(0x25e),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x391de3,_0x141bfd)=>{const _0x175b0f=_0x189c21;var _0xe764fd;if(!_0x141bfd)return!0x1;let _0x418e17=_0x391de3[_0x175b0f(0x37d)](_0xde4d7d),{unitId:_0x498535,tableId:_0x378fd3,viewId:_0x4d9216,target:_0x21b953}=_0x141bfd,_0x55afdf=_0x418e17[_0x175b0f(0x289)](_0x498535,_0x3cd153[_0x175b0f(0x25b)]),_0x390964=(_0xe764fd=_0x21b953[_0x175b0f(0x1aa)])==null?_0x21b953[_0x175b0f(0x1be)]:_0xe764fd;if(!_0x55afdf||!_0x390964||_0x390964===_0x4d9216||!X(_0x55afdf,_0x378fd3,{'viewIds':[_0x4d9216,_0x390964]}))return!0x1;let _0x1b218f=_0x391de3['get'](_0x1df963),_0xf8be57=_0x391de3[_0x175b0f(0x37d)](_0x10421d),_0x3e0232=_0x55afdf['getSnapshot'](),_0x2a16ae=new I()[_0x175b0f(0x15b)](_0x3e0232,_0x378fd3,_0x4d9216,_0x21b953),_0x4984ce=new O()['invertOp'](_0x3e0232,_0x2a16ae),_0x145eb4={'unitId':_0x498535,'op':_0x2a16ae},_0x136507={'unitId':_0x498535,'op':_0x4984ce};return _0x1b218f[_0x175b0f(0x163)](Y['id'],_0x145eb4)?(_0x418e17[_0x175b0f(0x1e8)](_0x498535),_0xf8be57[_0x175b0f(0x371)]({'unitID':_0x498535,'undoMutations':[{'id':Y['id'],'params':_0x136507}],'redoMutations':[{'id':Y['id'],'params':_0x145eb4}]}),!0x0):!0x1;}},jr={'id':_0x189c21(0x150),'type':_0x43c9fc['COMMAND'],'handler':(_0x4b1ce3,_0x1a2a21)=>{const _0x2bbfc1=_0x189c21;if(!_0x1a2a21)return!0x1;let _0x55341e=_0x4b1ce3[_0x2bbfc1(0x37d)](_0xde4d7d),{unitId:_0x4156c7,tableId:_0x1ad47f,name:_0x586a34}=_0x1a2a21,_0x172282=_0x55341e[_0x2bbfc1(0x289)](_0x4156c7,_0x3cd153[_0x2bbfc1(0x25b)]);if(!_0x172282||!X(_0x172282,_0x1ad47f))return!0x1;let _0x60074f=_0x4b1ce3['get'](_0x1df963),_0x5c012d=_0x4b1ce3[_0x2bbfc1(0x37d)](_0x10421d),_0x4762c0=_0x172282[_0x2bbfc1(0x27a)](),_0x8caedf=new I()['renameTable'](_0x4762c0,_0x1ad47f,_0x586a34),_0x3c1a1c=new O()['invertOp'](_0x4762c0,_0x8caedf),_0x551ebb={'unitId':_0x4156c7,'op':_0x8caedf},_0x3174eb={'unitId':_0x4156c7,'op':_0x3c1a1c};return _0x60074f[_0x2bbfc1(0x163)](Y['id'],_0x551ebb)?(_0x55341e['focusUnit'](_0x4156c7),_0x5c012d[_0x2bbfc1(0x371)]({'unitID':_0x4156c7,'undoMutations':[{'id':Y['id'],'params':_0x3174eb}],'redoMutations':[{'id':Y['id'],'params':_0x551ebb}]}),!0x0):!0x1;}},Mr={'id':_0x189c21(0x1c0),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x379fb6,_0x1cec6e)=>{const _0xd2a215=_0x189c21;if(!_0x1cec6e)return!0x1;let _0x30aab8=_0x379fb6[_0xd2a215(0x37d)](_0xde4d7d),{unitId:_0x2a3aa1,tableId:_0x3f93b4,viewId:_0x4fa046,name:_0x2723f}=_0x1cec6e,_0x487251=_0x30aab8[_0xd2a215(0x289)](_0x2a3aa1,_0x3cd153[_0xd2a215(0x25b)]);if(!_0x487251||!X(_0x487251,_0x3f93b4,{'viewIds':[_0x4fa046]}))return!0x1;let _0x896159=_0x379fb6['get'](_0x1df963),_0x40d937=_0x379fb6[_0xd2a215(0x37d)](_0x10421d),_0x5a16a5=_0x487251['getSnapshot'](),_0xfbadeb=new I()['renameView'](_0x5a16a5,_0x3f93b4,_0x4fa046,_0x2723f),_0x1f9a17=new O()[_0xd2a215(0x18f)](_0x5a16a5,_0xfbadeb),_0x57ba1c={'unitId':_0x2a3aa1,'op':_0xfbadeb},_0x125db1={'unitId':_0x2a3aa1,'op':_0x1f9a17};return _0x896159['syncExecuteCommand'](Y['id'],_0x57ba1c)?(_0x30aab8[_0xd2a215(0x1e8)](_0x2a3aa1),_0x40d937['pushUndoRedo']({'unitID':_0x2a3aa1,'undoMutations':[{'id':Y['id'],'params':_0x125db1}],'redoMutations':[{'id':Y['id'],'params':_0x57ba1c}]}),!0x0):!0x1;}},Nr={'id':_0x189c21(0x336),'type':_0x43c9fc['COMMAND'],'handler':(_0x1d4ab2,_0x532aaf)=>{const _0x3289d2=_0x189c21;if(!_0x532aaf)return!0x1;let _0x2a7695=_0x1d4ab2[_0x3289d2(0x37d)](_0xde4d7d),{unitId:_0x42d962,tableId:_0x3c924e,viewId:_0x348582,fieldId:_0x174ce1}=_0x532aaf,_0x201342=_0x2a7695[_0x3289d2(0x289)](_0x42d962,_0x3cd153['UNIVER_BASE']);if(!_0x201342||!X(_0x201342,_0x3c924e,{'viewIds':[_0x348582],'fieldIds':[_0x174ce1]}))return!0x1;let _0x3414f7=_0x1d4ab2[_0x3289d2(0x37d)](_0x1df963),_0x2f72c4=_0x1d4ab2[_0x3289d2(0x37d)](_0x10421d),_0x312988=_0x201342[_0x3289d2(0x27a)](),_0x308f7f=new I()[_0x3289d2(0x104)](_0x312988,_0x3c924e,_0x348582,{'groupFieldId':_0x174ce1}),_0x581c9c=new O()[_0x3289d2(0x18f)](_0x312988,_0x308f7f),_0x118f26={'unitId':_0x42d962,'op':_0x308f7f},_0x5261a3={'unitId':_0x42d962,'op':_0x581c9c};return _0x3414f7[_0x3289d2(0x163)](Y['id'],_0x118f26)?(_0x2a7695[_0x3289d2(0x1e8)](_0x42d962),_0x2f72c4[_0x3289d2(0x371)]({'unitID':_0x42d962,'undoMutations':[{'id':Y['id'],'params':_0x5261a3}],'redoMutations':[{'id':Y['id'],'params':_0x118f26}]}),!0x0):!0x1;}},Pr={'id':'base.command.set-base-name','type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0xec5638,_0x241765)=>{const _0x54c13c=_0x189c21;if(!_0x241765)return!0x1;let _0x413999=_0xec5638['get'](_0xde4d7d),_0x3d03fc=_0x413999['getUnit'](_0x241765[_0x54c13c(0xe9)],_0x3cd153['UNIVER_BASE']);if(!_0x3d03fc)return!0x1;let _0x501c15=_0x3d03fc[_0x54c13c(0x27a)]()[_0x54c13c(0x1cf)];if(_0x501c15===_0x241765[_0x54c13c(0x1cf)])return!0x0;let _0x24a6ce=new I(),_0x36868d=new O(),_0x41498e=[],_0x3df98a=[],_0x39100f=[_0x3d03fc,..._0x413999[_0x54c13c(0x130)](_0x3cd153['UNIVER_BASE'])[_0x54c13c(0x25c)](_0x3b34d0=>_0x3b34d0[_0x54c13c(0x1c9)]()!==_0x241765[_0x54c13c(0xe9)])];for(let _0x581e8e of _0x39100f){let _0x4854a0=_0x581e8e['getSnapshot'](),_0x36e841=_0x581e8e===_0x3d03fc?_0x24a6ce[_0x54c13c(0x39d)](_0x4854a0,_0x241765['name']):_0x24a6ce['renameFormulaUnitReferences'](_0x4854a0,_0x501c15,_0x241765[_0x54c13c(0x1cf)]);_0x36e841&&(_0x41498e[_0x54c13c(0x2b9)]({'id':Y['id'],'params':{'unitId':_0x581e8e['getUnitId'](),'op':_0x36e841,'trigger':Pr['id']}}),_0x3df98a[_0x54c13c(0x2ca)]({'id':Y['id'],'params':{'unitId':_0x581e8e[_0x54c13c(0x1c9)](),'op':_0x36868d[_0x54c13c(0x18f)](_0x4854a0,_0x36e841),'trigger':Pr['id']}}));}let _0x92cab2=_0xec5638[_0x54c13c(0x37d)](_0x1df963),_0x20e59c=_0xec5638['get'](_0x10421d),_0x1025d7=_0x20e59c[_0x54c13c(0x21d)](_0x241765[_0x54c13c(0xe9)]);try{return _0x2b015d(_0x41498e,_0x92cab2)['result']?(_0x413999[_0x54c13c(0x1e8)](_0x241765[_0x54c13c(0xe9)]),_0x20e59c[_0x54c13c(0x371)]({'unitID':_0x241765[_0x54c13c(0xe9)],'undoMutations':_0x3df98a,'redoMutations':_0x41498e}),!0x0):!0x1;}finally{_0x1025d7[_0x54c13c(0x294)]();}}},Fr={'id':_0x189c21(0x347),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x525fff,_0xd10aab){const _0x2d748a=_0x189c21;if(!_0xd10aab)return!0x1;let _0x25cfbb=_0x525fff[_0x2d748a(0x37d)](_0xde4d7d),{unitId:_0x3bfa90,tableId:_0x4bf2c,patches:_0x379fcb}=_0xd10aab,_0x531219=_0x25cfbb[_0x2d748a(0x289)](_0x3bfa90,_0x3cd153[_0x2d748a(0x25b)]);if(!_0x531219||!X(_0x531219,_0x4bf2c))return!0x1;let _0x63ba9b=_0x525fff[_0x2d748a(0x37d)](_0x1df963),_0x47bc0c=_0x525fff[_0x2d748a(0x37d)](_0x10421d),_0x85b575=_0x531219[_0x2d748a(0x27a)](),_0x44cc9e=w(_0x85b575['tables'][_0x4bf2c]),_0x5bc4c4=_0x379fcb[_0x2d748a(0x1d0)](_0xd421c1=>{const _0x158d11=_0x2d748a;var _0x4869ad;return _0x158d11(0x30a)in _0xd421c1?_0xd421c1['recordId']:(_0x4869ad=_0x44cc9e[_0x158d11(0xc5)])==null?void 0x0:_0x4869ad[_0xd421c1[_0x158d11(0x193)]];})[_0x2d748a(0x25c)](_0x3a3ecb=>_0x3a3ecb!=null),_0x3a5266=_0x379fcb[_0x2d748a(0x1d0)](_0x2fd8d6=>{const _0x43fc3a=_0x2d748a;var _0x958292;return _0x43fc3a(0x2f3)in _0x2fd8d6?_0x2fd8d6[_0x43fc3a(0x2f3)]:(_0x958292=_0x44cc9e[_0x43fc3a(0x390)])==null?void 0x0:_0x958292[_0x2fd8d6[_0x43fc3a(0x2a1)]];})[_0x2d748a(0x25c)](_0x49b76b=>_0x49b76b!=null);if(_0x5bc4c4[_0x2d748a(0x149)]!==_0x379fcb[_0x2d748a(0x149)]||_0x3a5266[_0x2d748a(0x149)]!==_0x379fcb[_0x2d748a(0x149)]||!X(_0x531219,_0x4bf2c,{'recordIds':_0x5bc4c4,'fieldIds':_0x3a5266}))return!0x1;let _0x324462=_0x379fcb[_0x2d748a(0x399)](_0x4b2817=>{const _0x123910=_0x2d748a;var _0x88ceb6,_0xc329fb;if('row'in _0x4b2817)return[_0x4b2817];let _0x409f52=(_0x88ceb6=_0x44cc9e[_0x123910(0x235)])==null?void 0x0:_0x88ceb6[_0x4b2817[_0x123910(0x30a)]],_0x45c2b5=(_0xc329fb=_0x44cc9e[_0x123910(0x377)])==null?void 0x0:_0xc329fb[_0x4b2817[_0x123910(0x2f3)]];return _0x409f52==null||_0x45c2b5==null?[]:[{'row':_0x409f52,'col':_0x45c2b5,'value':_0x4b2817[_0x123910(0x330)]}];}),_0x466e5b=new I()[_0x2d748a(0x238)](_0x85b575,_0x4bf2c,_0x324462),_0x42b52d=new O()[_0x2d748a(0x18f)](_0x85b575,_0x466e5b),_0x3e2c8b={'unitId':_0x3bfa90,'op':_0x466e5b},_0x3dd943={'unitId':_0x3bfa90,'op':_0x42b52d};return _0x63ba9b[_0x2d748a(0x163)](Y['id'],_0x3e2c8b)?(_0x25cfbb[_0x2d748a(0x1e8)](_0x3bfa90),_0x47bc0c[_0x2d748a(0x371)]({'unitID':_0x3bfa90,'undoMutations':[{'id':Y['id'],'params':_0x3dd943}],'redoMutations':[{'id':Y['id'],'params':_0x3e2c8b}]}),!0x0):!0x1;}},Ir={'id':_0x189c21(0x206),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x19f1c8,_0x2c6902){const _0x4f8f8a=_0x189c21;if(!_0x2c6902)return!0x1;let _0x59edab=_0x19f1c8[_0x4f8f8a(0x37d)](_0xde4d7d),{unitId:_0x19c4c0,tableId:_0x3e7c0a,patches:_0x367ecb}=_0x2c6902,_0x2f763f=_0x59edab[_0x4f8f8a(0x289)](_0x19c4c0,_0x3cd153[_0x4f8f8a(0x25b)]),_0x3a594b=_0x367ecb[_0x4f8f8a(0x1d0)](_0x4f12a1=>_0x4f12a1[_0x4f8f8a(0x30a)]),_0x4bcc18=_0x367ecb[_0x4f8f8a(0x399)](_0x248b83=>Object[_0x4f8f8a(0x1e7)](_0x248b83[_0x4f8f8a(0x21c)]));if(!_0x2f763f||!X(_0x2f763f,_0x3e7c0a,{'recordIds':_0x3a594b,'fieldIds':_0x4bcc18}))return!0x1;let _0x1ffe3c=_0x19f1c8[_0x4f8f8a(0x37d)](_0x1df963),_0x2eb69b=_0x19f1c8[_0x4f8f8a(0x37d)](_0x10421d),_0x4530b3=_0x19f1c8[_0x4f8f8a(0x37d)](U)[_0x4f8f8a(0x2fe)](_0x2f763f,_0x3e7c0a,_0x367ecb),_0x15f7e6=new O()[_0x4f8f8a(0x18f)](_0x2f763f[_0x4f8f8a(0x27a)](),_0x4530b3),_0x4b642e={'unitId':_0x19c4c0,'op':_0x4530b3},_0x45497a={'unitId':_0x19c4c0,'op':_0x15f7e6};return _0x1ffe3c[_0x4f8f8a(0x163)](Y['id'],_0x4b642e)?(_0x59edab[_0x4f8f8a(0x1e8)](_0x19c4c0),_0x2eb69b[_0x4f8f8a(0x371)]({'unitID':_0x19c4c0,'undoMutations':[{'id':Y['id'],'params':_0x45497a}],'redoMutations':[{'id':Y['id'],'params':_0x4b642e}]}),!0x0):!0x1;}},Lr={'id':_0x189c21(0x202),'type':_0x43c9fc['COMMAND'],'handler':(_0x5cae28,_0x23085b)=>{const _0x9586a8=_0x189c21;var _0x125913;if(!_0x23085b)return!0x1;let _0x8ba419=_0x5cae28[_0x9586a8(0x37d)](_0xde4d7d),{unitId:_0x5ae140,tableId:_0x5561f2,viewId:_0x1372d6,fieldId:_0x46b329,target:_0x53110a}=_0x23085b,_0x4568a8=_0x8ba419[_0x9586a8(0x289)](_0x5ae140,_0x3cd153[_0x9586a8(0x25b)]),_0x16f61e=(_0x125913=_0x53110a[_0x9586a8(0x26e)])==null?_0x53110a[_0x9586a8(0x2e9)]:_0x125913;if(!_0x4568a8||!_0x16f61e||_0x16f61e===_0x46b329||!X(_0x4568a8,_0x5561f2,{'viewIds':[_0x1372d6],'fieldIds':[_0x46b329,_0x16f61e]}))return!0x1;let _0x534590=_0x5cae28[_0x9586a8(0x37d)](_0x1df963),_0xc28373=_0x5cae28[_0x9586a8(0x37d)](_0x10421d),_0x424b3d=_0x4568a8[_0x9586a8(0x27a)](),_0x364407=new I()[_0x9586a8(0x340)](_0x424b3d,_0x5561f2,_0x1372d6,_0x46b329,_0x53110a),_0xdabfc0=new O()[_0x9586a8(0x18f)](_0x424b3d,_0x364407),_0x17c423={'unitId':_0x5ae140,'op':_0x364407},_0x2a0ceb={'unitId':_0x5ae140,'op':_0xdabfc0};return _0x534590[_0x9586a8(0x163)](Y['id'],_0x17c423)?(_0x8ba419[_0x9586a8(0x1e8)](_0x5ae140),_0xc28373[_0x9586a8(0x371)]({'unitID':_0x5ae140,'undoMutations':[{'id':Y['id'],'params':_0x2a0ceb}],'redoMutations':[{'id':Y['id'],'params':_0x17c423}]}),!0x0):!0x1;}},Rr={'id':_0x189c21(0x391),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x2941ed,_0x4cc779){const _0x1b2184=_0x189c21;if(!_0x4cc779)return!0x1;let _0x1ce9f0=_0x2941ed[_0x1b2184(0x37d)](_0xde4d7d),{unitId:_0x3b15d8,tableId:_0x9aeb76,viewId:_0x18c222,fieldId:_0x13b222,visible:_0xec3b16}=_0x4cc779,_0x1a5547=_0x1ce9f0[_0x1b2184(0x289)](_0x3b15d8,_0x3cd153[_0x1b2184(0x25b)]);if(!_0x1a5547||!X(_0x1a5547,_0x9aeb76,{'viewIds':[_0x18c222],'fieldIds':[_0x13b222]}))return!0x1;let _0x13b928=_0x2941ed[_0x1b2184(0x37d)](_0x1df963),_0x37cbd1=_0x2941ed[_0x1b2184(0x37d)](_0x10421d),_0x350b5a=_0x1a5547[_0x1b2184(0x27a)](),_0x310fed=new I()['setViewFieldVisible'](_0x350b5a,_0x9aeb76,_0x18c222,_0x13b222,_0xec3b16),_0x24ac08=new O()['invertOp'](_0x350b5a,_0x310fed),_0x58b672={'unitId':_0x3b15d8,'op':_0x310fed},_0x435825={'unitId':_0x3b15d8,'op':_0x24ac08};return _0x13b928[_0x1b2184(0x163)](Y['id'],_0x58b672)?(_0x1ce9f0[_0x1b2184(0x1e8)](_0x3b15d8),_0x37cbd1[_0x1b2184(0x371)]({'unitID':_0x3b15d8,'undoMutations':[{'id':Y['id'],'params':_0x435825}],'redoMutations':[{'id':Y['id'],'params':_0x58b672}]}),!0x0):!0x1;}},zr={'id':_0x189c21(0xf0),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x17423f,_0x454739)=>{const _0x2aac8c=_0x189c21;if(!_0x454739)return!0x1;let _0xfbd535=_0x17423f[_0x2aac8c(0x37d)](_0xde4d7d),{unitId:_0x3e6c59,tableId:_0x44ab1d,viewId:_0x53cff7,fieldId:_0x5578cf,width:_0x4190ea}=_0x454739,_0x9bfab8=_0xfbd535['getUnit'](_0x3e6c59,_0x3cd153[_0x2aac8c(0x25b)]);if(!_0x9bfab8||!X(_0x9bfab8,_0x44ab1d,{'viewIds':[_0x53cff7],'fieldIds':[_0x5578cf]}))return!0x1;let _0x280c3e=_0x17423f['get'](_0x1df963),_0x3e7b65=_0x17423f[_0x2aac8c(0x37d)](_0x10421d),_0x317ab1=_0x9bfab8[_0x2aac8c(0x27a)](),_0x37cc6a=new I()['setViewFieldWidth'](_0x317ab1,_0x44ab1d,_0x53cff7,_0x5578cf,_0x4190ea),_0x30002d=new O()[_0x2aac8c(0x18f)](_0x317ab1,_0x37cc6a),_0x995182={'unitId':_0x3e6c59,'op':_0x37cc6a},_0x2b91f9={'unitId':_0x3e6c59,'op':_0x30002d};return _0x280c3e[_0x2aac8c(0x163)](Y['id'],_0x995182)?(_0xfbd535[_0x2aac8c(0x1e8)](_0x3e6c59),_0x3e7b65[_0x2aac8c(0x371)]({'unitID':_0x3e6c59,'undoMutations':[{'id':Y['id'],'params':_0x2b91f9}],'redoMutations':[{'id':Y['id'],'params':_0x995182}]}),!0x0):!0x1;}},Br={'id':_0x189c21(0x38a),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x361356,_0xa2bb51)=>{const _0x35faee=_0x189c21;var _0x234bcf;if(!_0xa2bb51)return!0x1;let _0xc118b9=_0x361356[_0x35faee(0x37d)](_0xde4d7d),{unitId:_0x1e3a37,tableId:_0x3db66d,viewId:_0x25cc83,filter:_0x22cd2c}=_0xa2bb51,_0x573ca5=_0xc118b9[_0x35faee(0x289)](_0x1e3a37,_0x3cd153['UNIVER_BASE']),_0x261f44=(_0x234bcf=_0x22cd2c==null?void 0x0:_0x22cd2c[_0x35faee(0x2e1)][_0x35faee(0x1d0)](_0xedb315=>_0xedb315[_0x35faee(0x2f3)]))==null?[]:_0x234bcf;if(!_0x573ca5||!X(_0x573ca5,_0x3db66d,{'viewIds':[_0x25cc83],'fieldIds':_0x261f44}))return!0x1;let _0x1a48e8=_0x361356[_0x35faee(0x37d)](_0x1df963),_0x1cc73c=_0x361356[_0x35faee(0x37d)](_0x10421d),_0x3981ec=_0x573ca5[_0x35faee(0x27a)](),_0x4c4825=new I()[_0x35faee(0x1f8)](_0x3981ec,_0x3db66d,_0x25cc83,_0x22cd2c),_0x4629db=new O()[_0x35faee(0x18f)](_0x3981ec,_0x4c4825),_0x21c9cf={'unitId':_0x1e3a37,'op':_0x4c4825},_0x9dc422={'unitId':_0x1e3a37,'op':_0x4629db};return _0x1a48e8['syncExecuteCommand'](Y['id'],_0x21c9cf)?(_0xc118b9[_0x35faee(0x1e8)](_0x1e3a37),_0x1cc73c[_0x35faee(0x371)]({'unitID':_0x1e3a37,'undoMutations':[{'id':Y['id'],'params':_0x9dc422}],'redoMutations':[{'id':Y['id'],'params':_0x21c9cf}]}),!0x0):!0x1;}},Vr={'id':'base.command.set-base-view-group','type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x188ee0,_0x41873a)=>{const _0x4fa771=_0x189c21;if(!_0x41873a)return!0x1;let _0x4fca57=_0x188ee0[_0x4fa771(0x37d)](_0xde4d7d),{unitId:_0x278339,tableId:_0xab0d1f,viewId:_0x22c863,group:_0x44a995}=_0x41873a,_0xed048a=_0x4fca57[_0x4fa771(0x289)](_0x278339,_0x3cd153[_0x4fa771(0x25b)]);if(!_0xed048a||!X(_0xed048a,_0xab0d1f,{'viewIds':[_0x22c863],'fieldIds':_0x44a995[_0x4fa771(0x1d0)](_0x229640=>_0x229640[_0x4fa771(0x2f3)])}))return!0x1;let _0x328798=_0x188ee0[_0x4fa771(0x37d)](_0x1df963),_0x7a0b96=_0x188ee0[_0x4fa771(0x37d)](_0x10421d),_0x2a9f5c=_0xed048a[_0x4fa771(0x27a)](),_0x48e997=new I()[_0x4fa771(0x17b)](_0x2a9f5c,_0xab0d1f,_0x22c863,_0x44a995),_0x40d072=new O()[_0x4fa771(0x18f)](_0x2a9f5c,_0x48e997),_0x2aa93d={'unitId':_0x278339,'op':_0x48e997},_0x28575d={'unitId':_0x278339,'op':_0x40d072};return _0x328798['syncExecuteCommand'](Y['id'],_0x2aa93d)?(_0x4fca57[_0x4fa771(0x1e8)](_0x278339),_0x7a0b96[_0x4fa771(0x371)]({'unitID':_0x278339,'undoMutations':[{'id':Y['id'],'params':_0x28575d}],'redoMutations':[{'id':Y['id'],'params':_0x2aa93d}]}),!0x0):!0x1;}},Hr={'id':_0x189c21(0x221),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x272a99,_0x10e685)=>{const _0x5407d9=_0x189c21;if(!_0x10e685)return!0x1;let _0x5d2f2d=_0x272a99[_0x5407d9(0x37d)](_0xde4d7d),{unitId:_0x1ff13c,tableId:_0x4b90af,viewId:_0x12c12e,sort:_0xfffc04}=_0x10e685,_0x29aba1=_0x5d2f2d[_0x5407d9(0x289)](_0x1ff13c,_0x3cd153[_0x5407d9(0x25b)]);if(!_0x29aba1||!X(_0x29aba1,_0x4b90af,{'viewIds':[_0x12c12e],'fieldIds':_0xfffc04[_0x5407d9(0x1d0)](_0x22f3bb=>_0x22f3bb[_0x5407d9(0x2f3)])}))return!0x1;let _0x390df0=_0x272a99['get'](_0x1df963),_0x387eaf=_0x272a99[_0x5407d9(0x37d)](_0x10421d),_0x2b4893=_0x29aba1[_0x5407d9(0x27a)](),_0x2bd7df=new I()[_0x5407d9(0x354)](_0x2b4893,_0x4b90af,_0x12c12e,_0xfffc04),_0x29e220=new O()[_0x5407d9(0x18f)](_0x2b4893,_0x2bd7df),_0x1610f8={'unitId':_0x1ff13c,'op':_0x2bd7df},_0x35687b={'unitId':_0x1ff13c,'op':_0x29e220};return _0x390df0[_0x5407d9(0x163)](Y['id'],_0x1610f8)?(_0x5d2f2d[_0x5407d9(0x1e8)](_0x1ff13c),_0x387eaf[_0x5407d9(0x371)]({'unitID':_0x1ff13c,'undoMutations':[{'id':Y['id'],'params':_0x35687b}],'redoMutations':[{'id':Y['id'],'params':_0x1610f8}]}),!0x0):!0x1;}},Ur={'id':_0x189c21(0x1e9),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x21b6e6,_0x491de9){const _0x3cec3f=_0x189c21;if(!_0x491de9)return!0x1;let _0x3892df=_0x21b6e6['get'](_0xde4d7d),{unitId:_0x229e94,tableId:_0x1710a3,recordId:_0x5d7657,fieldId:_0x44acd1,value:_0x2261a3}=_0x491de9,_0x201543=_0x3892df['getUnit'](_0x229e94,_0x3cd153['UNIVER_BASE']);if(!_0x201543||!X(_0x201543,_0x1710a3,{'recordIds':[_0x5d7657],'fieldIds':[_0x44acd1]}))return!0x1;let _0x54f9ef=_0x21b6e6[_0x3cec3f(0x37d)](_0x1df963),_0x3730d6=_0x21b6e6['get'](_0x10421d),_0x3dc525=_0x21b6e6[_0x3cec3f(0x37d)](U),_0x13978c;try{_0x13978c=_0x3dc525[_0x3cec3f(0x1ad)](_0x201543,_0x1710a3,_0x5d7657,_0x44acd1,_0x2261a3);}catch(_0x5e7529){return console[_0x3cec3f(0x29a)](_0x3cec3f(0x29e),_0x5e7529),!0x1;}let _0x41bbc6=new O()[_0x3cec3f(0x18f)](_0x201543['getSnapshot'](),_0x13978c),_0x2d3bd8={'unitId':_0x229e94,'op':_0x13978c},_0x3af095={'unitId':_0x229e94,'op':_0x41bbc6};return _0x54f9ef['syncExecuteCommand'](Y['id'],_0x2d3bd8)?(_0x3892df[_0x3cec3f(0x1e8)](_0x229e94),_0x3730d6[_0x3cec3f(0x371)]({'unitID':_0x229e94,'undoMutations':[{'id':Y['id'],'params':_0x3af095}],'redoMutations':[{'id':Y['id'],'params':_0x2d3bd8}]}),!0x0):!0x1;}},Wr={'id':_0x189c21(0xe3),'type':_0x43c9fc[_0x189c21(0x15f)],'handler'(_0x55d557,_0x2f07a2){const _0x52e301=_0x189c21;if(!_0x2f07a2)return!0x1;let _0x460158=_0x55d557['get'](_0xde4d7d),{unitId:_0x56d67e,tableId:_0xcbce95,fieldId:_0x4632ae}=_0x2f07a2,_0x501a89=_0x460158[_0x52e301(0x289)](_0x56d67e,_0x3cd153[_0x52e301(0x25b)]);if(!_0x501a89||!X(_0x501a89,_0xcbce95,{'fieldIds':[_0x4632ae]}))return!0x1;let _0x34e6f5=_0x55d557[_0x52e301(0x37d)](_0x1df963),_0x2f82c0=_0x55d557[_0x52e301(0x37d)](_0x10421d),_0x54b883=_0x501a89[_0x52e301(0x27a)](),_0x3ebbc2=_0x2f07a2[_0x52e301(0x232)][_0x52e301(0x378)](),_0x3cb4f1=new I()[_0x52e301(0x395)](_0x54b883,_0xcbce95,_0x4632ae,{'description':_0x3ebbc2}),_0x28e77a=new O()[_0x52e301(0x18f)](_0x501a89['getSnapshot'](),_0x3cb4f1),_0x4ff457={'unitId':_0x56d67e,'op':_0x3cb4f1},_0x5d2693={'unitId':_0x56d67e,'op':_0x28e77a};return _0x34e6f5['syncExecuteCommand'](Y['id'],_0x4ff457)?(_0x460158[_0x52e301(0x1e8)](_0x56d67e),_0x2f82c0[_0x52e301(0x371)]({'unitID':_0x56d67e,'undoMutations':[{'id':Y['id'],'params':_0x5d2693}],'redoMutations':[{'id':Y['id'],'params':_0x4ff457}]}),!0x0):!0x1;}},Gr={'id':_0x189c21(0x161),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x287633,_0x4e5b99)=>{const _0x231b7c=_0x189c21;if(!_0x4e5b99)return!0x1;let _0x608315=_0x287633[_0x231b7c(0x37d)](_0xde4d7d),{unitId:_0x109aa3,tableId:_0x4947b7,fieldId:_0x11fcea,patch:_0x112abd}=_0x4e5b99,_0x313ac5=_0x608315['getUnit'](_0x109aa3,_0x3cd153[_0x231b7c(0x25b)]);if(!_0x313ac5||!X(_0x313ac5,_0x4947b7,{'fieldIds':[_0x11fcea]}))return!0x1;let _0x10073d=_0x287633['get'](_0x1df963),_0x4c8e36=_0x287633[_0x231b7c(0x37d)](_0x10421d),_0x54ac1c=_0x313ac5['getSnapshot'](),_0x36152b=new I()[_0x231b7c(0x395)](_0x54ac1c,_0x4947b7,_0x11fcea,_0x112abd),_0x5c4af7=new O()[_0x231b7c(0x18f)](_0x54ac1c,_0x36152b),_0x5a473c={'unitId':_0x109aa3,'op':_0x36152b},_0x2c8be3={'unitId':_0x109aa3,'op':_0x5c4af7};return _0x10073d[_0x231b7c(0x163)](Y['id'],_0x5a473c)?(_0x608315[_0x231b7c(0x1e8)](_0x109aa3),_0x4c8e36['pushUndoRedo']({'unitID':_0x109aa3,'undoMutations':[{'id':Y['id'],'params':_0x2c8be3}],'redoMutations':[{'id':Y['id'],'params':_0x5a473c}]}),!0x0):!0x1;}},Kr={'id':_0x189c21(0x105),'type':_0x43c9fc['COMMAND'],'handler':(_0x35161c,_0x3ccaf9)=>{const _0x3a3c42=_0x189c21;if(!_0x3ccaf9)return!0x1;let _0x331b2e=_0x35161c['get'](_0xde4d7d),{unitId:_0x403b1a,tableId:_0x36f738,viewId:_0x3912af,patch:_0x13a116}=_0x3ccaf9,_0x177ef2=_0x331b2e['getUnit'](_0x403b1a,_0x3cd153[_0x3a3c42(0x25b)]);if(!_0x177ef2||!X(_0x177ef2,_0x36f738,{'viewIds':[_0x3912af]}))return!0x1;let _0x3d7526=_0x35161c[_0x3a3c42(0x37d)](_0x1df963),_0x13cd18=_0x35161c[_0x3a3c42(0x37d)](_0x10421d),_0x3391b1=_0x177ef2['getSnapshot'](),_0x592237=new I()[_0x3a3c42(0x104)](_0x3391b1,_0x36f738,_0x3912af,_0x13a116),_0x58d448=new O()[_0x3a3c42(0x18f)](_0x3391b1,_0x592237),_0x3cc820={'unitId':_0x403b1a,'op':_0x592237},_0x4b5799={'unitId':_0x403b1a,'op':_0x58d448};return _0x3d7526[_0x3a3c42(0x163)](Y['id'],_0x3cc820)?(_0x331b2e['focusUnit'](_0x403b1a),_0x13cd18['pushUndoRedo']({'unitID':_0x403b1a,'undoMutations':[{'id':Y['id'],'params':_0x4b5799}],'redoMutations':[{'id':Y['id'],'params':_0x3cc820}]}),!0x0):!0x1;}},qr={'id':_0x189c21(0x1da),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x2e6482,_0x19e919)=>{const _0xb090c5=_0x189c21;if(!_0x19e919)return!0x1;let _0x57200a=_0x2e6482[_0xb090c5(0x37d)](_0xde4d7d),{unitId:_0x2418c6,tableId:_0x355215,recordId:_0xc9944c,orderKey:_0x1b9fe9}=_0x19e919,_0x3fa512=_0x57200a[_0xb090c5(0x289)](_0x2418c6,_0x3cd153['UNIVER_BASE']);if(!_0x3fa512||!X(_0x3fa512,_0x355215,{'recordIds':[_0xc9944c]}))return!0x1;let _0x1e46c9=_0x2e6482[_0xb090c5(0x37d)](_0x1df963),_0x562b04=_0x2e6482[_0xb090c5(0x37d)](_0x10421d),_0x2172e6=_0x3fa512[_0xb090c5(0x27a)](),_0x250e79=new I()['updateRecordOrder'](_0x2172e6,_0x355215,_0xc9944c,_0x1b9fe9),_0x6856a5=new O()[_0xb090c5(0x18f)](_0x2172e6,_0x250e79),_0x2beaeb={'unitId':_0x2418c6,'op':_0x250e79},_0x5c63ac={'unitId':_0x2418c6,'op':_0x6856a5};return _0x1e46c9[_0xb090c5(0x163)](Y['id'],_0x2beaeb)?(_0x57200a['focusUnit'](_0x2418c6),_0x562b04[_0xb090c5(0x371)]({'unitID':_0x2418c6,'undoMutations':[{'id':Y['id'],'params':_0x5c63ac}],'redoMutations':[{'id':Y['id'],'params':_0x2beaeb}]}),!0x0):!0x1;}},Jr={'id':_0x189c21(0x32c),'type':_0x43c9fc[_0x189c21(0x15f)],'handler':(_0x1d76ce,_0x455bf5)=>{const _0x33a485=_0x189c21;if(!_0x455bf5)return!0x1;let _0x19b169=_0x1d76ce['get'](_0xde4d7d),{unitId:_0x13b661,tableId:_0x545389,viewId:_0xd4a536,patch:_0x570785}=_0x455bf5,_0x510cd9=_0x19b169[_0x33a485(0x289)](_0x13b661,_0x3cd153[_0x33a485(0x25b)]);if(!_0x510cd9||!X(_0x510cd9,_0x545389,{'viewIds':[_0xd4a536]}))return!0x1;let _0xb9fdb5=_0x1d76ce['get'](_0x1df963),_0x10031d=_0x1d76ce[_0x33a485(0x37d)](_0x10421d),_0x306fb6=_0x510cd9[_0x33a485(0x27a)](),_0x59afb8=new I()[_0x33a485(0x104)](_0x306fb6,_0x545389,_0xd4a536,_0x570785),_0x2fdc19=new O()[_0x33a485(0x18f)](_0x306fb6,_0x59afb8),_0x2764cb={'unitId':_0x13b661,'op':_0x59afb8},_0x224702={'unitId':_0x13b661,'op':_0x2fdc19};return _0xb9fdb5['syncExecuteCommand'](Y['id'],_0x2764cb)?(_0x19b169[_0x33a485(0x1e8)](_0x13b661),_0x10031d['pushUndoRedo']({'unitID':_0x13b661,'undoMutations':[{'id':Y['id'],'params':_0x224702}],'redoMutations':[{'id':Y['id'],'params':_0x2764cb}]}),!0x0):!0x1;}};function Yr(_0x1dccc6){const _0x2fadd3=_0x189c21;var _0x19415a,_0x42babf,_0x5b438f,_0x404dde,_0x2da7db;let _0x11e05d=(_0x19415a=_0x1dccc6[_0x2fadd3(0x23e)])==null?Date['now']():_0x19415a,_0xc2e48=(_0x42babf=_0x1dccc6[_0x2fadd3(0x176)])==null?_0x1dccc6['id']+_0x2fadd3(0x108):_0x42babf,_0x1dfd0c=(_0x5b438f=_0x1dccc6[_0x2fadd3(0x222)])==null?_0x1dccc6['id']+'-view-grid':_0x5b438f,_0x261521=(_0x404dde=_0x1dccc6[_0x2fadd3(0x12a)])==null?0x5:_0x404dde,_0x21a3a4={'id':_0xc2e48,'name':(_0x2da7db=_0x1dccc6[_0x2fadd3(0x387)])==null?'Name':_0x2da7db,'type':_0x2b9397['Text'],'config':{'placeholder':_0x2fadd3(0x23c)}},_0x4b9e27={},_0x483f32=[],_0x246df5={},_0x1f3802={},_0x34dabe={};for(let _0x592912=0x0;_0x592912<_0x261521;_0x592912++){let _0x5ca08f=_0x1dccc6['id']+_0x2fadd3(0x360)+(_0x592912+0x1);_0x4b9e27[_0x5ca08f]={'id':_0x5ca08f,'values':_0x1dccc6[_0x2fadd3(0x297)]?{[_0xc2e48]:_0x1dccc6['recordNamePrefix']+'\x20'+(_0x592912+0x1)}:{},'orderKey':String(_0x592912+0x1)[_0x2fadd3(0x146)](0x4,'0'),'createdAt':_0x11e05d,'updatedAt':_0x11e05d},_0x483f32[_0x2fadd3(0x2b9)](_0x5ca08f),_0x246df5[_0x5ca08f]=_0x592912,_0x1f3802[_0x592912]=_0x5ca08f,_0x34dabe[_0x592912]={},_0x1dccc6[_0x2fadd3(0x297)]&&(_0x34dabe[_0x592912][0x0]={'v':_0x1dccc6[_0x2fadd3(0x297)]+'\x20'+(_0x592912+0x1)});}let _0x444964={'id':_0x1dfd0c,'tableId':_0x1dccc6['id'],'name':_0x2fadd3(0xd2),'type':_0x23b613[_0x2fadd3(0xd2)],'fieldOrder':[_0xc2e48],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x1dccc6['id'],'name':_0x1dccc6[_0x2fadd3(0x1cf)],'primaryFieldId':_0xc2e48,'fieldOrder':[_0xc2e48],'fields':{[_0xc2e48]:_0x21a3a4},'records':_0x4b9e27,'recordOrder':_0x483f32,'rowIndex':_0x246df5,'rowId':_0x1f3802,'colIndex':{[_0xc2e48]:0x0},'colId':{0x0:_0xc2e48},'cellData':_0x34dabe,'views':{[_0x1dfd0c]:_0x444964},'viewOrder':[_0x1dfd0c]};}const Xr=_0x189c21(0x2b1);function Zr(_0x5acc02){const _0x57426f=_0x189c21;var _0x3c55d2,_0x496e06;let _0x239548=Yr({'id':_0x5acc02[_0x57426f(0x10e)],'name':(_0x3c55d2=_0x5acc02[_0x57426f(0x1cf)])==null?_0x5acc02[_0x57426f(0x32e)]:_0x3c55d2,'recordCount':0x0});return{..._0x239548,'resources':{...(_0x496e06=_0x239548[_0x57426f(0x313)])==null?{}:_0x496e06,[Xr]:ei(_0x5acc02)}};}function Qr(_0x42c633){const _0x52c4d2=_0x189c21;return{'id':Y['id'],'params':{'unitId':_0x42c633[_0x52c4d2(0xe9)],'op':new I()[_0x52c4d2(0x10c)](_0x42c633[_0x52c4d2(0x1f5)],_0x42c633[_0x52c4d2(0x142)],_0x42c633[_0x52c4d2(0x22b)]),'trigger':_0x52c4d2(0x151)}};}function $r(_0x3db7c2){const _0x22724d=_0x189c21;let _0x5efa75=_0x3db7c2[_0x22724d(0x1f5)][_0x22724d(0x106)][_0x22724d(0x2f7)](_0x3db7c2['tableId']);if(!(!_0x3db7c2[_0x22724d(0x1f5)][_0x22724d(0x2ea)][_0x3db7c2[_0x22724d(0x16b)]]||_0x5efa75<0x0))return{'id':Y['id'],'params':{'unitId':_0x3db7c2['unitId'],'op':new I()[_0x22724d(0xfa)](_0x3db7c2[_0x22724d(0x1f5)],_0x3db7c2[_0x22724d(0x16b)]),'trigger':_0x22724d(0x151)}};}function ei(_0x254784){const _0x3a6ab3=_0x189c21;return{'version':0x1,'embedId':_0x254784[_0x3a6ab3(0x32e)],'hostAnchorId':_0x254784[_0x3a6ab3(0x10e)],'childUnitId':_0x254784['childUnitId'],'childType':_0x254784[_0x3a6ab3(0x160)]};}function ti(_0x58eb04){const _0x150dd6=_0x189c21;var _0x1bf74b;let _0x470cff=Math[_0x150dd6(0x301)](0x0,Number((_0x1bf74b=_0x58eb04[_0x150dd6(0x154)])==null?0x0:_0x1bf74b)),_0x2d6814=_0x58eb04[_0x150dd6(0x2c6)]===!0x1?'0':_0x150dd6(0x2e5),_0x17e897=_0x470cff?'.'+'0'['repeat'](_0x470cff):'',_0x4dd369=ri(_0x58eb04['abbreviation']);return''+(_0x58eb04[_0x150dd6(0x272)]?ii(_0x58eb04[_0x150dd6(0x272)]):'')+_0x2d6814+_0x17e897+_0x4dd369;}function ni(_0x523481,_0x56de79){const _0x1a3153=_0x189c21;let _0x5404ea=ti(_0x56de79),_0x3359e3=_0xce52f6['format'](_0x5404ea,_0x523481,{'throws':!0x1});return ai(String(_0x3359e3),_0x56de79[_0x1a3153(0x2a8)],_0x56de79['locale']);}function ri(_0x4d0467){const _0x4806c3=_0x189c21;return _0x4d0467==='K'?_0x4806c3(0xde):_0x4d0467==='M'?',,\x22M\x22':_0x4d0467==='B'?_0x4806c3(0x1cc):'';}function ii(_0x230d97){const _0x298342=_0x189c21;return/^[A-Z]+$/i[_0x298342(0x1b5)](_0x230d97)?'\x22'+_0x230d97+'\x22':_0x230d97;}function ai(_0x511bb2,_0x80667d,_0x73eb82){const _0x635094=_0x189c21;let _0x23345e=_0x80667d===_0x635094(0x290)?oi(_0x73eb82):_0x80667d;return _0x23345e===_0x635094(0x339)?_0x511bb2[_0x635094(0x173)](/,/g,'\x00')[_0x635094(0x173)](/\./g,',')['replace'](/\0/g,'.'):_0x23345e===_0x635094(0x1b4)?_0x511bb2['replace'](/,/g,'\x20')[_0x635094(0x173)](/\./g,','):_0x23345e===_0x635094(0x254)?_0x511bb2[_0x635094(0x173)](/,/g,'\x20'):_0x511bb2;}function oi(_0x45c473){const _0x55e92f=_0x189c21;var _0x5a2b66,_0x435dd1;let _0x548379=_0x45c473||new Intl[(_0x55e92f(0x33c))]()[_0x55e92f(0x388)]()[_0x55e92f(0x11e)],_0x3379eb;try{_0x3379eb=new Intl['NumberFormat'](_0x548379,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x55e92f(0x175)](0xf4240);}catch{return _0x55e92f(0xf7);}let _0x5ed6f=(_0x5a2b66=_0x3379eb[_0x55e92f(0x148)](_0x54d621=>_0x54d621[_0x55e92f(0x2c7)]===_0x55e92f(0x200)))==null?void 0x0:_0x5a2b66[_0x55e92f(0x330)],_0x19c102=(_0x435dd1=_0x3379eb[_0x55e92f(0x148)](_0x46287f=>_0x46287f[_0x55e92f(0x2c7)]===_0x55e92f(0x158)))==null?void 0x0:_0x435dd1['value'],_0x163baa=_0x5ed6f==='\u00a0'||_0x5ed6f==='\u202f'?'\x20':_0x5ed6f;return _0x163baa==='.'&&_0x19c102===','?_0x55e92f(0x339):_0x163baa==='\x20'&&_0x19c102===','?_0x55e92f(0x1b4):_0x163baa==='\x20'&&_0x19c102==='.'?'spacePeriod':'commaPeriod';}function si(_0x554526,_0x3fbf60){const _0xf16859=_0x189c21;var _0x43b2fc,_0x5b58af;let _0x11edad=_0x4b73bd[_0xf16859(0x11c)](_0x554526),_0x252b73=_0x3fbf60[_0xf16859(0xfe)]===!0x0,_0x160ff9=new Map(),_0x47cf5f=(_0x43b2fc=_0x3fbf60['createViewId'])==null?()=>_0xf16859(0x2f2)+_0x169e73(0x8):_0x43b2fc,_0x455e2b=_0x11edad[_0xf16859(0x34d)];return _0x3fbf60[_0xf16859(0x320)]&&(_0x455e2b=_0x11edad['viewOrder'][_0xf16859(0x1d0)](_0x1fa5b3=>{const _0xb90e1f=_0xf16859;let _0x2b09a7=_0x47cf5f();return _0x160ff9[_0xb90e1f(0x11d)](_0x1fa5b3,_0x2b09a7),_0x2b09a7;})),{..._0x11edad,'id':_0x3fbf60['id'],'name':_0x3fbf60[_0xf16859(0x1cf)],'records':_0x252b73?_0x11edad[_0xf16859(0x2ce)]:{},'recordOrder':_0x252b73?_0x11edad['recordOrder']:[],'rowIndex':_0x252b73?_0x11edad[_0xf16859(0x235)]:{},'rowId':_0x252b73?_0x11edad['rowId']:{},'cellData':_0x252b73?_0x11edad['cellData']:{},'resources':_0x252b73?_0x11edad[_0xf16859(0x313)]:{},'viewOrder':_0x455e2b,'views':Object[_0xf16859(0x227)](Object[_0xf16859(0x2eb)]((_0x5b58af=_0x11edad[_0xf16859(0x12f)])==null?{}:_0x5b58af)[_0xf16859(0x1d0)](([_0x59af54,_0x2a704b])=>{var _0x214791;let _0x583e5d=(_0x214791=_0x160ff9['get'](_0x59af54))==null?_0x3fbf60['regenerateViewIds']?_0x47cf5f():_0x59af54:_0x214791;return[_0x583e5d,{..._0x2a704b,'id':_0x583e5d,'tableId':_0x3fbf60['id']}];}))};}var ci=_0x189c21(0x36e),li='1.0.0-alpha.8';const ui={},di={};function fi(_0x189378){return new O()['getAffectedRanges'](_0x189378);}function pi(_0x377c46){const _0x190595=_0x189c21;return _0x377c46[_0x190595(0x14d)][_0x190595(0x1d0)](_0x4decd9=>({'unitId':_0x377c46[_0x190595(0xe9)],'sheetId':_0x377c46[_0x190595(0x16b)],'range':{'startRow':_0x4decd9[_0x190595(0x193)],'endRow':_0x4decd9[_0x190595(0x193)],'startColumn':_0x4decd9[_0x190595(0x2a1)],'endColumn':_0x4decd9[_0x190595(0x2a1)]}}));}function mi(_0x144899,_0xf10047){const _0x3c26d9=_0x189c21;return{[_0x144899]:Object[_0x3c26d9(0x227)](_0xf10047[_0x3c26d9(0x1d0)](_0x238927=>[_0x238927,'1']))};}let hi=class extends _0x6d36ab{constructor(_0x3c07f5,_0x34793c){const _0x39cd12=_0x189c21;super(),this[_0x39cd12(0x2a2)]=_0x3c07f5,this['_univerInstanceService']=_0x34793c,this[_0x39cd12(0x129)]();}[_0x189c21(0x129)](){const _0x283180=_0x189c21;this[_0x283180(0x2a2)][_0x283180(0x2e4)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0xfd0d3d=>this['_getJson1DirtyData'](_0xfd0d3d['params'])}),this[_0x283180(0xd8)](_0x11ac9e(()=>{const _0x56b3e8=_0x283180;this['_activeDirtyManagerService'][_0x56b3e8(0x178)](Y['id']);}));}[_0x189c21(0x18a)](_0x410e55,_0x58a2f4){const _0x4b0e62=_0x189c21;var _0x9c4499;let _0x2f17d7=this[_0x4b0e62(0xd0)][_0x4b0e62(0x289)](_0x410e55,_0x3cd153[_0x4b0e62(0x25b)]);return(_0x9c4499=_0x2f17d7==null?void 0x0:_0x2f17d7['getSnapshot']()[_0x4b0e62(0x2ea)][_0x58a2f4])==null?null:_0x9c4499;}[_0x189c21(0x2d5)](_0x54071d){const _0x1f83c8=_0x189c21;if(_0x54071d[_0x1f83c8(0x342)]===_0x1f83c8(0x180))return{};if(!_0x54071d[_0x1f83c8(0xe9)]||!_0x54071d['op'])return{'clearDependencyTreeCache':this[_0x1f83c8(0x1dc)](),'forceCalculation':!0x0};let _0x145fcf=fi(_0x54071d['op']),_0x5caccf=this['_getStructureDirtyTableIds'](_0x54071d[_0x1f83c8(0xe9)],_0x145fcf);if(_0x5caccf[_0x1f83c8(0x149)])return{'clearDependencyTreeCache':mi(_0x54071d['unitId'],_0x5caccf),'forceCalculation':!0x0};let _0x222c65=Object[_0x1f83c8(0x2eb)](this['_groupCellInvalidations'](_0x54071d[_0x1f83c8(0xe9)],_0x145fcf))[_0x1f83c8(0x399)](([_0x75ac1b,_0x3fb3d7])=>pi({'unitId':_0x54071d[_0x1f83c8(0xe9)],'tableId':_0x75ac1b,'patches':_0x3fb3d7}));return _0x222c65[_0x1f83c8(0x149)]?{'dirtyRanges':_0x222c65}:{};}['_getStructureDirtyTableIds'](_0x475fb8,_0x243277){const _0x2776df=_0x189c21;let _0x2b1cef=_0x243277[_0x2776df(0x25c)](_0x5c444c=>_0x5c444c[_0x2776df(0x209)]!==_0x2776df(0xef))['flatMap'](_0x450088=>_0x450088[_0x2776df(0x16b)]?[_0x450088[_0x2776df(0x16b)]]:this[_0x2776df(0x2e8)](_0x475fb8));return Array[_0x2776df(0x1dd)](new Set(_0x2b1cef));}[_0x189c21(0x136)](_0x22b480,_0x283c33){const _0x24857c=_0x189c21;let _0x267100=new Set();return _0x283c33[_0x24857c(0x255)]((_0x5de0b9,_0x355787)=>{const _0x596a04=_0x24857c;var _0x327cf0;let _0x1fc9de=this[_0x596a04(0x1ab)](_0x22b480,_0x355787);if(!_0x1fc9de)return _0x5de0b9;let _0x4ba147=_0x355787[_0x596a04(0x16b)]+':'+_0x1fc9de[_0x596a04(0x193)]+':'+_0x1fc9de[_0x596a04(0x2a1)];return _0x267100[_0x596a04(0x24f)](_0x4ba147)?_0x5de0b9:(_0x267100[_0x596a04(0x2dc)](_0x4ba147),_0x5de0b9[_0x355787[_0x596a04(0x16b)]]=(_0x327cf0=_0x5de0b9[_0x355787[_0x596a04(0x16b)]])==null?[]:_0x327cf0,_0x5de0b9[_0x355787[_0x596a04(0x16b)]][_0x596a04(0x2b9)](_0x1fc9de),_0x5de0b9);},{});}[_0x189c21(0x1ab)](_0x2986db,_0x131c45){const _0x98344a=_0x189c21;if(_0x131c45[_0x98344a(0x209)]!==_0x98344a(0xef))return null;if(_0x131c45['row']!=null&&_0x131c45[_0x98344a(0xe4)]!=null)return{'row':_0x131c45[_0x98344a(0x193)],'col':_0x131c45[_0x98344a(0xe4)],'value':null};if(!_0x131c45['recordId']||!_0x131c45[_0x98344a(0x2f3)])return null;let _0x1e6278=this[_0x98344a(0x18a)](_0x2986db,_0x131c45[_0x98344a(0x16b)]);if(!_0x1e6278)return null;let _0x336cf1=Oe(_0x1e6278,_0x131c45[_0x98344a(0x30a)],_0x131c45[_0x98344a(0x2f3)]);return _0x336cf1?{'row':_0x336cf1[_0x98344a(0x193)],'col':_0x336cf1['col'],'value':null}:null;}['_getAllTableIds'](_0x4c7c7c){const _0x13ea40=_0x189c21;var _0x97cdd3;let _0x108e9d=this[_0x13ea40(0xd0)][_0x13ea40(0x289)](_0x4c7c7c,_0x3cd153[_0x13ea40(0x25b)]);return Object[_0x13ea40(0x21c)]((_0x97cdd3=_0x108e9d==null?void 0x0:_0x108e9d[_0x13ea40(0x27a)]()[_0x13ea40(0x2ea)])==null?{}:_0x97cdd3)[_0x13ea40(0x1d0)](_0x1fc9c3=>_0x1fc9c3['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x3bc66b=_0x189c21;let _0x388f15=this[_0x3bc66b(0xd0)][_0x3bc66b(0x130)](_0x3cd153[_0x3bc66b(0x25b)])['map'](_0x19106f=>mi(_0x19106f[_0x3bc66b(0x1c9)](),Object[_0x3bc66b(0x1e7)](_0x19106f['getSnapshot']()['tables'])));return Object[_0x3bc66b(0x248)]({},..._0x388f15);}};hi=H([V(0x0,_0x56800f),V(0x1,_0xde4d7d)],hi);const gi=_0x3cc586['createRegExpFromSafeFragment'](String[_0x189c21(0x17c)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_i=_0x3cc586['createRegExpFromSafeFragment'](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),vi=/\{([^}]+)\}/g,yi=_0x3cc586['createRegExpFromSafeFragment'](String[_0x189c21(0x17c)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),bi=_0x3cc586['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var xi=class{[_0x189c21(0x20c)](_0xfdc849,_0x2918d0=_0xfdc849['id']){const _0x1b0019=_0x189c21;var _0x4f20c5,_0x265eae;let _0x463d7c=(_0x4f20c5=(_0x265eae=_0xfdc849[_0x1b0019(0x34a)])==null?void 0x0:_0x265eae[_0x1b0019(0x149)])==null?Object[_0x1b0019(0x21c)](_0xfdc849[_0x1b0019(0x2ce)])['length']:_0x4f20c5;return{'sheetId':_0x2918d0,'titleMap':new Map(_0xfdc849['fieldOrder']['map']((_0x4f8073,_0x4526d7)=>{const _0x2187d0=_0x1b0019;var _0x1dd5d5,_0xf70163;return[(_0x1dd5d5=(_0xf70163=_0xfdc849[_0x2187d0(0xfb)][_0x4f8073])==null?void 0x0:_0xf70163['name'])==null?_0x4f8073:_0x1dd5d5,_0x4526d7];})),'range':{'startRow':0x0,'endRow':Math[_0x1b0019(0x301)](0x0,_0x463d7c-0x1),'startColumn':0x0,'endColumn':Math[_0x1b0019(0x301)](0x0,_0xfdc849['fieldOrder'][_0x1b0019(0x149)]-0x1)},'showHeader':!0x1};}[_0x189c21(0x11b)](_0x10fe8c,_0x18c9a1,_0x4ed82a,_0x284ac6={}){const _0x3bb759=_0x189c21;var _0xd210e0;let _0x13d4f6=this[_0x3bb759(0x20c)](_0x4ed82a,(_0xd210e0=_0x284ac6[_0x3bb759(0xff)])==null?_0x4ed82a['id']:_0xd210e0);return new Set([_0x4ed82a['id'],_0x4ed82a[_0x3bb759(0x1cf)],_0x284ac6[_0x3bb759(0x263)]]['filter'](_0x3f0864=>!!_0x3f0864))[_0x3bb759(0x38f)](_0x5989a7=>_0x10fe8c[_0x3bb759(0x27f)](_0x18c9a1,_0x5989a7,_0x13d4f6)),_0x13d4f6;}[_0x189c21(0x138)](_0x50b043,_0xc653d){const _0x530799=_0x189c21;let _0x16d7fa=this[_0x530799(0xee)](_0xc653d);return _0x16d7fa[_0x530799(0x38f)](({tableName:_0x4b8ef9,reference:_0x3a2aed})=>{const _0x46282f=_0x530799;_0x50b043[_0x46282f(0x27f)](_0xc653d['id'],_0x4b8ef9,_0x3a2aed);}),Array[_0x530799(0x1dd)](new Set(_0x16d7fa[_0x530799(0x1d0)](({reference:_0x333352})=>_0x333352)));}[_0x189c21(0xee)](_0x1e1283,_0x20a6b9){const _0x225776=_0x189c21;let _0x121447=[],_0x4c3ef6=_0x20a6b9?new Set(_0x20a6b9):null,_0x4ccf80=new Map();return Object[_0x225776(0x21c)](_0x1e1283['tables'])[_0x225776(0x38f)](_0x4abd3a=>{const _0x366c58=_0x225776;var _0x4476ee;let _0x4295dd=_0x4abd3a[_0x366c58(0x1cf)][_0x366c58(0x378)]()[_0x366c58(0x117)]();_0x4ccf80[_0x366c58(0x11d)](_0x4295dd,((_0x4476ee=_0x4ccf80[_0x366c58(0x37d)](_0x4295dd))==null?0x0:_0x4476ee)+0x1);}),Object[_0x225776(0x21c)](_0x1e1283[_0x225776(0x2ea)])['filter'](_0x46eb0a=>!_0x4c3ef6||_0x4c3ef6[_0x225776(0x24f)](_0x46eb0a['id']))[_0x225776(0x38f)](_0x27fe87=>{const _0x149b4c=_0x225776;var _0x5f1c4c;let _0x5b19bc=this['createSuperTableReference'](_0x27fe87,_0x27fe87['id']);_0x121447[_0x149b4c(0x2b9)]({'tableId':_0x27fe87['id'],'tableName':_0x27fe87['id'],'reference':_0x5b19bc}),((_0x5f1c4c=_0x4ccf80['get'](_0x27fe87[_0x149b4c(0x1cf)]['trim']()['toLowerCase']()))==null?0x0:_0x5f1c4c)===0x1&&_0x121447[_0x149b4c(0x2b9)]({'tableId':_0x27fe87['id'],'tableName':_0x27fe87[_0x149b4c(0x1cf)],'reference':_0x5b19bc});}),_0x121447;}[_0x189c21(0x237)](_0x573e97,_0x25a555,_0x1caee3={}){const _0x5a698a=_0x189c21;let _0x57b5b8=_0x573e97[_0x5a698a(0x378)]();if(!_0x57b5b8)return{'valid':!0x0};if(Di(_0x57b5b8))return{'valid':!0x1,'reason':_0x5a698a(0x12c)};for(let _0x3980de of Ei(_0x57b5b8)){let _0x1eb9ee=Ni(_0x3980de,_0x25a555,_0x1caee3[_0x5a698a(0x1f5)]);if(!_0x1eb9ee[_0x5a698a(0x142)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x3980de[_0x5a698a(0x263)]+'\x22\x20does\x20not\x20exist.'};if(!_0x1eb9ee[_0x5a698a(0x198)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x3980de[_0x5a698a(0x101)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x189c21(0x102)](_0x20d65d,_0x108dd1,_0x2ea112={}){const _0x30909e=_0x189c21;let _0x1c44d6=new Set();for(let _0xe84f0f of this['getStructuredDependencies'](_0x20d65d,_0x108dd1,_0x2ea112))_0xe84f0f[_0x30909e(0x16b)]===_0x108dd1['id']&&_0x1c44d6[_0x30909e(0x2dc)](_0xe84f0f[_0x30909e(0x2f3)]);return Array[_0x30909e(0x1dd)](_0x1c44d6);}[_0x189c21(0x208)](_0xd836ee,_0x552728,_0x4d1a12={}){const _0x14914d=_0x189c21;let _0x1a9795=new Map();for(let _0x5496f9 of Ei(_0xd836ee)){let _0x31543e=Ni(_0x5496f9,_0x552728,_0x4d1a12[_0x14914d(0x1f5)]);if(!_0x31543e[_0x14914d(0x142)]||!_0x31543e[_0x14914d(0x198)])continue;let _0x2cf75b=_0x31543e[_0x14914d(0x142)]['id']+'\x1f'+_0x31543e['field']['id'];_0x1a9795[_0x14914d(0x11d)](_0x2cf75b,{'tableId':_0x31543e[_0x14914d(0x142)]['id'],'fieldId':_0x31543e[_0x14914d(0x198)]['id']});}return Array['from'](_0x1a9795['values']());}};function Si(_0x22e557,_0x2dfdb5){var _0x56285c;let _0x1ca054=[],_0x149672=(_0x56285c=_0x2dfdb5['unitData'])==null?void 0x0:_0x56285c[_0x22e557['id']];return _0x149672&&Object['entries'](_0x149672)['forEach'](([_0x33b773,_0x22f641])=>{const _0x128403=_0x23e7;let _0x86762a=_0x22e557[_0x128403(0x2ea)][_0x33b773];if(!_0x86762a||!_0x22f641)return;let _0x243396=w(_0x86762a),_0x3eb2de=[];new _0x23b4df(_0x22f641)[_0x128403(0xf1)]((_0x1ad258,_0x9ae1f6,_0x1b23e1)=>{let _0x1cf171=Ci(_0x243396,_0x1ad258,_0x9ae1f6,_0x1b23e1);_0x1cf171&&_0x3eb2de['push'](_0x1cf171);}),_0x3eb2de['length']&&_0x1ca054['push']({'unitId':_0x22e557['id'],'tableId':_0x33b773,'patches':_0x3eb2de});}),_0x1ca054;}function Ci(_0x59f606,_0x2d9092,_0x10c197,_0x5736fe){const _0x2ebb2f=_0x189c21;var _0x5ed371,_0x1efa9b,_0x9260b0,_0x1479bc,_0x27f83c;let _0x205240=(_0x5ed371=_0x59f606[_0x2ebb2f(0xc5)])==null?void 0x0:_0x5ed371[_0x2d9092],_0x5e246c=(_0x1efa9b=_0x59f606[_0x2ebb2f(0x390)])==null?void 0x0:_0x1efa9b[_0x10c197];if(!_0x205240||!_0x59f606[_0x2ebb2f(0x2ce)][_0x205240]||!_0x5e246c)return null;let _0x5c11c4=_0x59f606[_0x2ebb2f(0xfb)][_0x5e246c];if(!_0x5c11c4||_0x5c11c4[_0x2ebb2f(0x2c7)]!==_0x2ebb2f(0x32a))return null;let _0x282d5a=String((_0x9260b0=(_0x1479bc=_0x5c11c4[_0x2ebb2f(0x1a2)])==null?void 0x0:_0x1479bc[_0x2ebb2f(0x32a)])==null?'':_0x9260b0)[_0x2ebb2f(0x378)](),_0x151470=(_0x27f83c=_0x5736fe==null?void 0x0:_0x5736fe['v'])==null?null:_0x27f83c,_0x4d50ff={'v':_0x151470,'t':Ti(_0x151470),..._0x2d9092===0x0&&_0x282d5a?{'f':_0x282d5a}:{},'si':_0x5c11c4['id']};return wi(ke(_0x59f606,_0x205240,_0x5e246c),_0x4d50ff)?null:{'row':_0x2d9092,'col':_0x10c197,'value':_0x4d50ff};}function wi(_0x3963c0,_0x25431f){var _0x497357,_0x3db188;return _0x3963c0!=null&&Object['is']((_0x497357=_0x3963c0['v'])==null?null:_0x497357,(_0x3db188=_0x25431f['v'])==null?null:_0x3db188)&&_0x3963c0['t']===_0x25431f['t']&&_0x3963c0['f']===_0x25431f['f']&&_0x3963c0['si']===_0x25431f['si'];}function Ti(_0x1619fb){const _0x53eccf=_0x189c21;return typeof _0x1619fb==_0x53eccf(0x2a3)?_0x36aea6['NUMBER']:typeof _0x1619fb=='boolean'?_0x36aea6[_0x53eccf(0x16a)]:typeof _0x1619fb=='string'?_0x36aea6[_0x53eccf(0x21b)]:null;}function Ei(_0x436a55){const _0xc38ec0=_0x189c21;_0x436a55=Oi(_0x436a55,()=>'');let _0x3e1b6c=new Map();for(let _0x21827b of _0x436a55[_0xc38ec0(0x247)](vi)){let _0xa5eb34={'fieldName':_0x21827b[0x1]};_0x3e1b6c[_0xc38ec0(0x11d)]('\x1f'+_0xa5eb34[_0xc38ec0(0x101)],_0xa5eb34);}for(let _0x14a586 of _0x436a55[_0xc38ec0(0x247)](yi)){let _0x844877={'tableName':_0x14a586[0x1],'fieldName':_0x14a586[0x2]};_0x3e1b6c[_0xc38ec0(0x11d)](_0x844877[_0xc38ec0(0x263)]+'\x1f'+_0x844877[_0xc38ec0(0x101)],_0x844877);}for(let _0x3fc636 of _0x436a55[_0xc38ec0(0x247)](bi)){let _0x1d3325={'fieldName':_0x3fc636[0x2]};_0x3e1b6c['set']('\x1f'+_0x1d3325[_0xc38ec0(0x101)],_0x1d3325);}return Array[_0xc38ec0(0x1dd)](_0x3e1b6c['values']());}function Di(_0x2187f9){const _0x297db3=_0x189c21;let _0x5c271c=ki(_0x2187f9,()=>'\x20')[_0x297db3(0x173)](vi,'\x20')[_0x297db3(0x173)](yi,'\x20')[_0x297db3(0x173)](bi,_0x297db3(0x1e2));return gi[_0x297db3(0x1b5)](_0x5c271c);}function Oi(_0x3d9d1d,_0x391621){return ji(ki(_0x3d9d1d,_0x391621),_0x391621);}function ki(_0xcd17d5,_0x398532){return _i['lastIndex']=0x0,_0xcd17d5['replace'](_i,(_0x218023,_0x1cc40e)=>Mi(_0xcd17d5,_0x1cc40e)?_0x218023:_0x398532(_0x218023));}const Ai=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ji(_0x3fb485,_0x468cdc){const _0x7064dc=_0x189c21;let _0x355db2=[];Ai[_0x7064dc(0x203)]=0x0;let _0x43dc17;for(;(_0x43dc17=Ai[_0x7064dc(0x34b)](_0x3fb485))!=null;){if(Mi(_0x3fb485,_0x43dc17['index']))continue;let _0x2906df=Ai['lastIndex']-0x1,_0x2b3912=0x0;for(let _0x179d66=_0x2906df;_0x179d66<_0x3fb485[_0x7064dc(0x149)];_0x179d66++)if(_0x3fb485[_0x179d66]==='['&&_0x2b3912++,_0x3fb485[_0x179d66]===']'&&(_0x2b3912--,_0x2b3912===0x0)){_0x355db2['push']({'start':_0x43dc17[_0x7064dc(0x22b)],'end':_0x179d66+0x1}),Ai[_0x7064dc(0x203)]=_0x179d66+0x1;break;}}if(_0x355db2[_0x7064dc(0x149)]===0x0)return _0x3fb485;let _0xfe9459='',_0x1b16a3=0x0;for(let _0x1e84a3 of _0x355db2)_0xfe9459+=_0x3fb485[_0x7064dc(0xcf)](_0x1b16a3,_0x1e84a3['start']),_0xfe9459+=_0x468cdc(_0x3fb485['slice'](_0x1e84a3[_0x7064dc(0x250)],_0x1e84a3[_0x7064dc(0x2d3)])),_0x1b16a3=_0x1e84a3['end'];return _0xfe9459+_0x3fb485[_0x7064dc(0xcf)](_0x1b16a3);}function Mi(_0x33ced6,_0xb0de79){let _0x45a6cb=!0x1;for(let _0x26d5ab=0x0;_0x26d5ab<_0xb0de79;_0x26d5ab++)if(_0x33ced6[_0x26d5ab]==='\x22'){if(_0x45a6cb&&_0x33ced6[_0x26d5ab+0x1]==='\x22'){_0x26d5ab++;continue;}_0x45a6cb=!_0x45a6cb;}return _0x45a6cb;}function _0x23e7(_0x5907cf,_0xacbc25){_0x5907cf=_0x5907cf-0xc0;const _0x1f0ade=_0x1f0a();let _0x23e726=_0x1f0ade[_0x5907cf];return _0x23e726;}function Ni(_0x5b9310,_0x4637c5,_0x432b8e){const _0x30f926=_0x189c21;let _0x13a777=Pi(_0x5b9310['tableName'],_0x4637c5,_0x432b8e);return{'table':_0x13a777,'field':_0x13a777?Object[_0x30f926(0x21c)](_0x13a777[_0x30f926(0xfb)])[_0x30f926(0x148)](_0x4715be=>_0x4715be[_0x30f926(0x1cf)]===_0x5b9310[_0x30f926(0x101)]):void 0x0};}function Pi(_0x323c0d,_0x16e495,_0x2f3fb4){const _0x4842e5=_0x189c21;if(!_0x323c0d||_0x323c0d==='table'||_0x323c0d===_0x16e495['id']||_0x323c0d===_0x16e495[_0x4842e5(0x1cf)])return _0x16e495;if(!_0x2f3fb4)return;let _0x22bb7d=_0x2f3fb4[_0x4842e5(0x2ea)][_0x323c0d];if(_0x22bb7d)return _0x22bb7d;let _0x214057=Object['values'](_0x2f3fb4[_0x4842e5(0x2ea)])['filter'](_0xd35773=>_0xd35773[_0x4842e5(0x1cf)]===_0x323c0d);return _0x214057['length']===0x1?_0x214057[0x0]:void 0x0;}let Fi=class extends _0x6d36ab{constructor(_0x390dc3,_0x2dfcb6,_0x5b26dc,_0x2cae29){const _0x1758f6=_0x189c21;super(),this[_0x1758f6(0x369)]=_0x390dc3,this[_0x1758f6(0xd0)]=_0x2dfcb6,this['_formulaCalculationTriggerService']=_0x5b26dc,this[_0x1758f6(0x32b)]=_0x2cae29,R(this,'_formulaService',new xi()),R(this,_0x1758f6(0x385),new Map()),R(this,'_scheduledSuperTableSyncs',new Set()),R(this,_0x1758f6(0x356),Promise[_0x1758f6(0x33d)]()),R(this,_0x1758f6(0x14f),!0x1),this[_0x1758f6(0x129)]();}[_0x189c21(0x129)](){const _0x40a43a=_0x189c21;this[_0x40a43a(0xd0)][_0x40a43a(0x130)](_0x3cd153[_0x40a43a(0x25b)])[_0x40a43a(0x38f)](_0x1693fe=>{this['_scheduleSuperTableSync'](_0x1693fe);}),this[_0x40a43a(0xd8)](this[_0x40a43a(0xd0)]['getTypeOfUnitAdded$'](_0x3cd153['UNIVER_BASE'])['subscribe'](({unit:_0x1b34fa})=>{const _0xb96795=_0x40a43a;this[_0xb96795(0x1b6)](_0x1b34fa);})),this[_0x40a43a(0xd8)](this[_0x40a43a(0xd0)][_0x40a43a(0x39b)](_0x3cd153[_0x40a43a(0x25b)])['subscribe'](_0x5dd93=>{const _0x44215c=_0x40a43a;this[_0x44215c(0x2df)](()=>this['_removeSuperTables'](_0x5dd93[_0x44215c(0x1c9)]()));})),this[_0x40a43a(0xd8)](this['_commandService'][_0x40a43a(0x27d)](_0x10afb5=>this['_onCommandExecuted'](_0x10afb5)));}[_0x189c21(0x1fa)](_0x27ad71){const _0x2cfdc4=_0x189c21;if(_0x27ad71['id']===_0x15ac11['id']){Li(_0x27ad71[_0x2cfdc4(0x2c4)])&&this[_0x2cfdc4(0x298)](_0x27ad71[_0x2cfdc4(0x2c4)]);return;}if(this[_0x2cfdc4(0x14f)]||_0x27ad71['id']!==Y['id'])return;let _0x595504=Ii(_0x27ad71[_0x2cfdc4(0x2c4)])?_0x27ad71[_0x2cfdc4(0x2c4)]:void 0x0,_0x119990=_0x595504!=null&&_0x595504['unitId']?[this[_0x2cfdc4(0xd0)][_0x2cfdc4(0x289)](_0x595504[_0x2cfdc4(0xe9)],_0x3cd153[_0x2cfdc4(0x25b)])][_0x2cfdc4(0x25c)](_0x38f248=>!!_0x38f248):this[_0x2cfdc4(0xd0)][_0x2cfdc4(0x130)](_0x3cd153[_0x2cfdc4(0x25b)]),_0xa32f6=_0x595504==null?void 0x0:_0x595504['op'];_0x119990[_0x2cfdc4(0x38f)](_0x2813fb=>{const _0x78cdd3=_0x2cfdc4;let _0x584f6f=_0xa32f6?fi(_0xa32f6):[];(!_0xa32f6||_0x584f6f[_0x78cdd3(0x2ab)](_0x6b28a1=>_0x6b28a1[_0x78cdd3(0x209)]!=='cell'))&&this['_scheduleSuperTableSync'](_0x2813fb);});}[_0x189c21(0x1b6)](_0x42d7bd){const _0x441684=_0x189c21;let _0x25bf2b=_0x42d7bd[_0x441684(0x1c9)]();this[_0x441684(0x338)]['has'](_0x25bf2b)||(this['_scheduledSuperTableSyncs'][_0x441684(0x2dc)](_0x25bf2b),this[_0x441684(0x2df)](async()=>{const _0x1080ae=_0x441684;this['_scheduledSuperTableSyncs'][_0x1080ae(0x13f)](_0x25bf2b),await this[_0x1080ae(0x20e)](_0x42d7bd);}));}async[_0x189c21(0x20e)](_0x24ee08){const _0x5f3e5a=_0x189c21;var _0x58ba00;let _0xcd3734=_0x24ee08[_0x5f3e5a(0x1c9)](),_0x15893b=this[_0x5f3e5a(0x36b)]['getSuperTableRegistrations'](_0x24ee08['getSnapshot']()),_0x5885f8=new Set(_0x15893b[_0x5f3e5a(0x1d0)](({tableName:_0x58507c})=>_0x58507c)),_0x3a29d3=(_0x58ba00=this['_registeredSuperTableNames'][_0x5f3e5a(0x37d)](_0xcd3734))==null?new Set():_0x58ba00;for(let _0xa56156 of _0x3a29d3)_0x5885f8['has'](_0xa56156)||await this[_0x5f3e5a(0x369)]['executeCommand'](_0x49dca2['id'],{'unitId':_0xcd3734,'tableName':_0xa56156},{'onlyLocal':!0x0});for(let {tableName:_0x403afe,reference:_0x29559c}of _0x15893b)await this[_0x5f3e5a(0x369)][_0x5f3e5a(0xec)](_0x66413e['id'],{'unitId':_0xcd3734,'tableName':_0x403afe,'reference':_0x29559c},{'onlyLocal':!0x0});this['_registeredSuperTableNames'][_0x5f3e5a(0x11d)](_0xcd3734,_0x5885f8);}async['_removeSuperTables'](_0x14af90){const _0x5a2d37=_0x189c21;var _0x2232fb;let _0x563ddd=(_0x2232fb=this[_0x5a2d37(0x385)][_0x5a2d37(0x37d)](_0x14af90))==null?new Set():_0x2232fb;for(let _0x54ba17 of _0x563ddd)await this[_0x5a2d37(0x369)]['executeCommand'](_0x49dca2['id'],{'unitId':_0x14af90,'tableName':_0x54ba17},{'onlyLocal':!0x0});this[_0x5a2d37(0x385)][_0x5a2d37(0x13f)](_0x14af90);}[_0x189c21(0x2df)](_0x3ce91b){const _0x476aaa=_0x189c21;this['_formulaSyncQueue']=this[_0x476aaa(0x356)]['then'](_0x3ce91b,_0x3ce91b)[_0x476aaa(0x383)](()=>void 0x0);}[_0x189c21(0x298)](_0x13a64f){const _0x30f202=_0x189c21;let _0x1099f7=this[_0x30f202(0xd0)][_0x30f202(0x130)](_0x3cd153[_0x30f202(0x25b)]);if(!_0x1099f7['some'](_0x3abad7=>{const _0x30ce03=_0x30f202;var _0x4eb0b2;return((_0x4eb0b2=_0x13a64f[_0x30ce03(0x39f)])==null?void 0x0:_0x4eb0b2[_0x3abad7[_0x30ce03(0x1c9)]()])!=null;}))return;let _0x152c4a=_0x1099f7[_0x30f202(0x399)](_0x13047d=>Si(_0x13047d['getSnapshot'](),_0x13a64f));if(!_0x152c4a[_0x30f202(0x149)]){this[_0x30f202(0x32b)][_0x30f202(0x194)](_0x49eb01[_0x30f202(0x25a)],_0x13a64f);return;}let _0x7ac43d=new I(),_0x286bfa=_0x152c4a[_0x30f202(0x399)](_0x132f97=>pi({'unitId':_0x132f97[_0x30f202(0xe9)],'tableId':_0x132f97[_0x30f202(0x16b)],'patches':_0x132f97[_0x30f202(0x14d)]}));this[_0x30f202(0x14f)]=!0x0,(async()=>{const _0x968219=_0x30f202;for(let _0x44a8b0 of _0x152c4a){let _0x3b0010=this['_univerInstanceService']['getUnit'](_0x44a8b0[_0x968219(0xe9)],_0x3cd153[_0x968219(0x25b)]);_0x3b0010&&await this['_commandService'][_0x968219(0xec)](Y['id'],{'unitId':_0x44a8b0[_0x968219(0xe9)],'op':_0x7ac43d['setRangeValues'](_0x3b0010['getSnapshot'](),_0x44a8b0[_0x968219(0x16b)],_0x44a8b0['patches']),'trigger':_0x15ac11['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x968219(0xec)](_0x2f9e5d['id'],{'dirtyRanges':_0x286bfa},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x4d842b=_0x30f202;this['_applyingFormulaResults']=!0x1,this[_0x4d842b(0x32b)][_0x4d842b(0x194)](_0x49eb01['BASE'],_0x13a64f);});}};Fi=H([V(0x0,_0x1df963),V(0x1,_0xde4d7d),V(0x2,_0x30e9cb(_0x2c8e39)),V(0x3,_0x30e9cb(_0x13b508))],Fi);function Ii(_0x22f366){const _0x4d8353=_0x189c21;return typeof _0x22f366==_0x4d8353(0x270)&&!!_0x22f366&&'unitId'in _0x22f366&&typeof _0x22f366[_0x4d8353(0xe9)]=='string'&&'op'in _0x22f366&&Array['isArray'](_0x22f366['op']);}function Li(_0x4219a4){const _0x224b44=_0x189c21;return typeof _0x4219a4==_0x224b44(0x270)&&!!_0x4219a4&&_0x224b44(0x39f)in _0x4219a4&&_0x224b44(0x264)in _0x4219a4;}const Ri=_0xda5c77(_0x189c21(0x386));let zi=class{constructor(_0xf7c836){this['_univerInstanceService']=_0xf7c836;}['getBase'](_0xec8197){const _0x364d03=_0x189c21;var _0x5533b1;return(_0x5533b1=this[_0x364d03(0xd0)][_0x364d03(0x289)](_0xec8197,_0x3cd153['UNIVER_BASE']))==null?null:_0x5533b1;}[_0x189c21(0xeb)](){const _0x2b3ff1=_0x189c21;return this[_0x2b3ff1(0xd0)][_0x2b3ff1(0x130)](_0x3cd153[_0x2b3ff1(0x25b)]);}[_0x189c21(0x3a4)](_0x3b4a4a){const _0x34a9fc=_0x189c21;return this[_0x34a9fc(0xd0)]['createUnit'](_0x3cd153[_0x34a9fc(0x25b)],_0x3b4a4a);}};zi=H([V(0x0,_0xde4d7d)],zi);const Bi=_0xda5c77('base.view-registry.service');var Vi=class extends _0x6d36ab{constructor(..._0x1e2161){super(..._0x1e2161),R(this,'_plugins',new Map());}['register'](_0x3da137){const _0x2ce4cb=_0x189c21;return this['_plugins'][_0x2ce4cb(0x11d)](_0x3da137['type'],_0x3da137),_0x11ac9e(()=>this['_plugins'][_0x2ce4cb(0x13f)](_0x3da137['type']));}[_0x189c21(0x37d)](_0x8a83eb){const _0x323f49=_0x189c21;let _0x293664=this[_0x323f49(0x1e4)][_0x323f49(0x37d)](_0x8a83eb);if(!_0x293664)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x8a83eb+_0x323f49(0xc9));return _0x293664;}['getAll'](){const _0x4e3dbe=_0x189c21;return Array[_0x4e3dbe(0x1dd)](this[_0x4e3dbe(0x1e4)][_0x4e3dbe(0x21c)]());}};const Hi=[Y];let Z=class extends _0x51bb55{constructor(_0x3398c9=ui,_0x936427,_0x561ca2,_0x2782c7,_0x57d567,_0x9383c1){const _0x34eeda=_0x189c21;super(),this[_0x34eeda(0x135)]=_0x3398c9,this[_0x34eeda(0xe8)]=_0x936427,this[_0x34eeda(0x369)]=_0x561ca2,this[_0x34eeda(0xd0)]=_0x2782c7,this[_0x34eeda(0x13b)]=_0x57d567,this[_0x34eeda(0x2a9)]=_0x9383c1,R(this,_0x34eeda(0x143),new Map());let {..._0xe9cd3}=_0x32e12d({},ui,this[_0x34eeda(0x135)]);this[_0x34eeda(0x13b)][_0x34eeda(0x380)](_0x34eeda(0x1ca),_0xe9cd3),this['_univerInstanceService'][_0x34eeda(0x191)](_0x3cd153[_0x34eeda(0x25b)],_0x5f3630),this[_0x34eeda(0x35f)](),this[_0x34eeda(0x23f)](),this[_0x34eeda(0x322)](),this[_0x34eeda(0x168)]();}['onReady'](){const _0x48e888=_0x189c21;_0x364e6d(this[_0x48e888(0xe8)],[[zi],[dn],[hi]]),this['_univerInstanceService'][_0x48e888(0x130)](_0x3cd153[_0x48e888(0x25b)])[_0x48e888(0x38f)](_0x1ad01b=>this[_0x48e888(0x1ba)](_0x1ad01b[_0x48e888(0x1c9)]())),_0x364e6d(this[_0x48e888(0xe8)],[[Fi]]);}[_0x189c21(0x35f)](){const _0x185f9f=_0x189c21;[[z,{'useClass':sn}],[Bi,{'useClass':Vi}],[W,{'useClass':Cn}],[Ri,{'useClass':zi}],[cn,{'useClass':ln}],[U,{'useClass':dn}],[hi],[Fi]]['forEach'](_0x42808c=>this[_0x185f9f(0xe8)]['add'](_0x42808c));}[_0x189c21(0x23f)](){const _0x5b5110=_0x189c21;[ir,jr,Sr,Ur,Ir,Fr,rr,$n,xr,er,Tr,qr,nr,wr,Gr,Wr,tr,br,kr,yr,Er,Mr,Pr,Cr,Ar,Jr,Nr,Kr,Br,Hr,Vr,Rr,zr,Lr,...Hi]['forEach'](_0x4e04af=>this[_0x5b5110(0xd8)](this['_commandService'][_0x5b5110(0x145)](_0x4e04af))),Hi[_0x5b5110(0x38f)](_0x45a29f=>{const _0x591e12=_0x5b5110;var _0x16c3b6;return(_0x16c3b6=this[_0x591e12(0x2a9)])==null?void 0x0:_0x16c3b6[_0x591e12(0xd5)](_0x45a29f);});}['_initDataSync'](){const _0x3239fe=_0x189c21;this[_0x3239fe(0x2a9)]&&(this[_0x3239fe(0xd8)](this[_0x3239fe(0xd0)]['getTypeOfUnitAdded$'](_0x3cd153[_0x3239fe(0x25b)])[_0x3239fe(0x282)](({unit:_0x3db6c5})=>{const _0x2c3ea0=_0x3239fe;this[_0x2c3ea0(0x1ba)](_0x3db6c5[_0x2c3ea0(0x1c9)]());})),this[_0x3239fe(0xd8)](this[_0x3239fe(0xd0)][_0x3239fe(0x39b)](_0x3cd153[_0x3239fe(0x25b)])[_0x3239fe(0x282)](_0x4057be=>{const _0x2c0bfb=_0x3239fe;var _0x26b438;(_0x26b438=this['_baseSyncDisposables'][_0x2c0bfb(0x37d)](_0x4057be[_0x2c0bfb(0x1c9)]()))==null||_0x26b438[_0x2c0bfb(0x294)](),this[_0x2c0bfb(0x143)][_0x2c0bfb(0x13f)](_0x4057be[_0x2c0bfb(0x1c9)]());})));}[_0x189c21(0x1ba)](_0x1b010f){const _0x158030=_0x189c21;!this[_0x158030(0x2a9)]||this[_0x158030(0x143)][_0x158030(0x24f)](_0x1b010f)||this['_baseSyncDisposables'][_0x158030(0x11d)](_0x1b010f,this[_0x158030(0x2a9)][_0x158030(0x226)](_0x1b010f));}['_initRegistries'](){const _0x2e4717=_0x189c21;let _0x73c7a4=this[_0x2e4717(0xe8)][_0x2e4717(0x37d)](z);It()[_0x2e4717(0x38f)](_0x1c8d4a=>_0x73c7a4[_0x2e4717(0x2e4)](_0x1c8d4a));let _0x29b9fc=this['_injector'][_0x2e4717(0x37d)](Bi),_0x4a0d32=this[_0x2e4717(0xe8)][_0x2e4717(0x37d)](W);_n()[_0x2e4717(0x38f)](_0x5a2dfa=>{const _0xf4f355=_0x2e4717;_0x29b9fc[_0xf4f355(0x2e4)](_0x5a2dfa),_0x4a0d32['registerView'](_0x5a2dfa);});}};R(Z,_0x189c21(0x1b9),_0x189c21(0x16f)),R(Z,_0x189c21(0x133),ci),R(Z,_0x189c21(0x242),li),R(Z,_0x189c21(0x2c7),_0x3cd153[_0x189c21(0x25b)]),Z=H([_0x45dadb(_0x1e7823,_0x4d7eb6),V(0x1,_0x30e9cb(_0x49f70e)),V(0x2,_0x1df963),V(0x3,_0xde4d7d),V(0x4,_0x3ac613),V(0x5,_0x1d3b92(_0x23b493))],Z);let Q=class extends _0x51bb55{constructor(_0x4a8279=di,_0x522649,_0x2f1131,_0x8a84b,_0x585b3c){const _0x527502=_0x189c21;super(),this['_config']=_0x4a8279,this[_0x527502(0xe8)]=_0x522649,this['_commandService']=_0x2f1131,this[_0x527502(0x13b)]=_0x8a84b,this[_0x527502(0xd0)]=_0x585b3c;let {..._0x1d670c}=_0x32e12d({},di,this[_0x527502(0x135)]);this[_0x527502(0x13b)]['setConfig'](_0x527502(0x2b7),_0x1d670c),this['_univerInstanceService'][_0x527502(0x191)](_0x3cd153[_0x527502(0x25b)],_0x5f3630),[[z,{'useClass':sn}],[W,{'useClass':Cn}]]['forEach'](_0x342a76=>this[_0x527502(0xe8)][_0x527502(0x2dc)](_0x342a76)),Hi['forEach'](_0x2faea4=>this['disposeWithMe'](this[_0x527502(0x369)]['registerCommand'](_0x2faea4)));}};R(Q,'pluginName','REMOTE_BASES_PLUGIN'),R(Q,_0x189c21(0x133),ci),R(Q,_0x189c21(0x242),li),R(Q,_0x189c21(0x2c7),_0x3cd153['UNIVER_BASE']),Q=H([_0x45dadb(_0x1e7823,_0x4d7eb6),V(0x1,_0x30e9cb(_0x49f70e)),V(0x2,_0x1df963),V(0x3,_0x3ac613),V(0x4,_0xde4d7d)],Q);function Ui(_0x599e40){const _0x21529b=_0x189c21;let _0x233d85=na(_0x599e40['query']);if(!_0x233d85)return{'query':'','total':0x0,'matches':[]};let _0xc45e94=[],_0x2a9911=[];for(let _0x41bfea=0x0;_0x41bfea<_0x599e40[_0x21529b(0x1e1)]['length'];_0x41bfea++){if(!(_0x41bfea in _0x599e40[_0x21529b(0x1e1)]))continue;let _0x5649b3=_0x599e40[_0x21529b(0x142)][_0x21529b(0xfb)][_0x599e40[_0x21529b(0x1e1)][_0x41bfea]];_0x5649b3&&_0x2a9911['push']({'field':_0x5649b3,'fieldIndex':_0x41bfea});}_0x599e40['rows'][_0x21529b(0x38f)]((_0x3060b3,_0x553662)=>{_0x2a9911['forEach'](({field:_0x436967,fieldIndex:_0x5995f0})=>{const _0x46967c=_0x23e7;let _0x38bcdc=Wi(_0x3060b3['values'][_0x436967['id']],_0x436967);if(!_0x38bcdc)return;let _0x134110=ta(_0x233d85,_0x38bcdc['searchTexts']);_0x134110<=0x0||_0xc45e94['push']({'recordId':_0x3060b3[_0x46967c(0x30a)],'fieldId':_0x436967['id'],'fieldType':_0x436967[_0x46967c(0x2c7)],'text':_0x38bcdc[_0x46967c(0x12e)],'score':_0x134110,'rowIndex':_0x553662,'fieldIndex':_0x5995f0});});}),_0xc45e94['sort']((_0x34d1c8,_0x56515b)=>_0x56515b['score']-_0x34d1c8[_0x21529b(0x3a2)]||_0x34d1c8['rowIndex']-_0x56515b['rowIndex']||_0x34d1c8[_0x21529b(0x2bc)]-_0x56515b[_0x21529b(0x2bc)]);let _0x3744eb=_0x599e40[_0x21529b(0x2ba)]==null?_0xc45e94:_0xc45e94[_0x21529b(0xcf)](0x0,Math['max'](0x0,_0x599e40[_0x21529b(0x2ba)]));return{'query':_0x233d85,'total':_0xc45e94['length'],'matches':ia(_0x3744eb)};}function Wi(_0x1872f5,_0x4ec2b2){const _0x2aab34=_0x189c21;let _0x36939a=[];for(let _0x47b1da of Ki(_0x1872f5,_0x4ec2b2)){let _0x2b146f=na(_0x47b1da);_0x2b146f&&_0x36939a[_0x2aab34(0x2b9)](_0x2b146f);}return _0x36939a[_0x2aab34(0x149)]?{'displayText':Gi(_0x1872f5,_0x4ec2b2),'searchTexts':ra(_0x36939a)}:null;}function Gi(_0x1c618e,_0x2ad15d){const _0x1b3b37=_0x189c21;switch(_0x2ad15d[_0x1b3b37(0x2c7)]){case _0x2b9397['SingleSelect']:case _0x2b9397[_0x1b3b37(0xd9)]:case _0x2b9397[_0x1b3b37(0x1a9)]:return qi(_0x1c618e,_0x2ad15d)['join'](',\x20');case _0x2b9397['Link']:return Xi(_0x1c618e);case _0x2b9397[_0x1b3b37(0x2b0)]:case _0x2b9397[_0x1b3b37(0x332)]:case _0x2b9397['UpdatedAt']:return Zi(_0x1c618e,_0x2ad15d);case _0x2b9397[_0x1b3b37(0x35e)]:case _0x2b9397[_0x1b3b37(0x303)]:return Qi(_0x1c618e,_0x2ad15d);case _0x2b9397[_0x1b3b37(0x2c3)]:return $i(_0x1c618e,_0x2ad15d);case _0x2b9397[_0x1b3b37(0x22e)]:return _0x1c618e?_0x1b3b37(0xea):_0x1b3b37(0x1c2);case _0x2b9397[_0x1b3b37(0x2ed)]:return ea(_0x1c618e)['join'](',\x20');default:return $(_0x1c618e);}}function Ki(_0x254c16,_0x31445a){const _0xf41e3c=_0x189c21;switch(_0x31445a['type']){case _0x2b9397[_0xf41e3c(0x3a5)]:case _0x2b9397['MultiSelect']:case _0x2b9397[_0xf41e3c(0x1a9)]:{let _0x5ce183=qi(_0x254c16,_0x31445a);if(Array[_0xf41e3c(0x286)](_0x254c16)){let _0x502fce=[..._0x5ce183];for(let _0x56fd95=0x0;_0x56fd95<_0x254c16[_0xf41e3c(0x149)];_0x56fd95++)_0x56fd95 in _0x254c16&&_0x502fce[_0xf41e3c(0x2b9)](String(_0x254c16[_0x56fd95]));return _0x502fce;}return _0x254c16==null?_0x5ce183:[..._0x5ce183,String(_0x254c16)];}case _0x2b9397[_0xf41e3c(0x1f2)]:{let _0x429ea1=Yi(_0x254c16);return[_0x429ea1[_0xf41e3c(0x134)],_0x429ea1['url']];}case _0x2b9397['Date']:case _0x2b9397[_0xf41e3c(0x332)]:case _0x2b9397['UpdatedAt']:return[Zi(_0x254c16,_0x31445a),$(_0x254c16)];case _0x2b9397['Number']:case _0x2b9397[_0xf41e3c(0x303)]:return[Qi(_0x254c16,_0x31445a),$(_0x254c16)];case _0x2b9397[_0xf41e3c(0x2c3)]:return[$i(_0x254c16,_0x31445a),$(_0x254c16)];case _0x2b9397[_0xf41e3c(0x22e)]:return _0x254c16?[_0xf41e3c(0xea),_0xf41e3c(0x300),_0xf41e3c(0x358)]:['Unchecked','No','False'];case _0x2b9397['Attachment']:return ea(_0x254c16);default:return[$(_0x254c16)];}}function qi(_0x1c30ac,_0x15fec2){const _0x34f7e2=_0x189c21;var _0x285509;let _0x3d28f3=Array[_0x34f7e2(0x286)]((_0x285509=_0x15fec2['config'])==null?void 0x0:_0x285509[_0x34f7e2(0x11f)])?_0x15fec2['config'][_0x34f7e2(0x11f)]:[],_0x23f71f=[];if(Array[_0x34f7e2(0x286)](_0x1c30ac)){for(let _0x4ec09d=0x0;_0x4ec09d<_0x1c30ac[_0x34f7e2(0x149)];_0x4ec09d++){if(!(_0x4ec09d in _0x1c30ac))continue;let _0x55b87d=String(_0x1c30ac[_0x4ec09d]);_0x55b87d&&_0x23f71f['push'](Ji(_0x3d28f3,_0x55b87d));}return _0x23f71f;}if(_0x1c30ac!=null){let _0x459d1a=String(_0x1c30ac);_0x459d1a&&_0x23f71f[_0x34f7e2(0x2b9)](Ji(_0x3d28f3,_0x459d1a));}return _0x23f71f;}function Ji(_0x3f8f5f,_0x5bfc60){const _0x3d5c91=_0x189c21;for(let _0x28d121 of _0x3f8f5f){if(typeof _0x28d121==_0x3d5c91(0xca)&&_0x28d121===_0x5bfc60)return _0x28d121;if(_0x28d121&&typeof _0x28d121==_0x3d5c91(0x270)){var _0x5c686d,_0x338988,_0x25a97c;let _0x540cf7=_0x28d121;if(String((_0x5c686d=(_0x338988=_0x540cf7['id'])==null?_0x540cf7[_0x3d5c91(0x1cf)]:_0x338988)==null?'':_0x5c686d)===_0x5bfc60||String((_0x25a97c=_0x540cf7[_0x3d5c91(0x1cf)])==null?'':_0x25a97c)===_0x5bfc60){var _0x190ea8,_0x59c0a6;return String((_0x190ea8=(_0x59c0a6=_0x540cf7[_0x3d5c91(0x1cf)])==null?_0x540cf7['id']:_0x59c0a6)==null?_0x5bfc60:_0x190ea8);}}}return _0x5bfc60;}function Yi(_0x4f8ac8){const _0x2bf4cf=_0x189c21;if(_0x4f8ac8&&typeof _0x4f8ac8==_0x2bf4cf(0x270)&&!Array['isArray'](_0x4f8ac8)){var _0x587841,_0x94db5,_0x35d74b;let _0x198eb7=_0x4f8ac8;return{'text':String((_0x587841=(_0x94db5=_0x198eb7['text'])==null?_0x198eb7[_0x2bf4cf(0x2c2)]:_0x94db5)==null?'':_0x587841),'url':String((_0x35d74b=_0x198eb7[_0x2bf4cf(0x2c2)])==null?'':_0x35d74b)};}return{'text':$(_0x4f8ac8),'url':$(_0x4f8ac8)};}function Xi(_0x459116){const _0x1cdb87=_0x189c21;let _0x2901f3=Yi(_0x459116);return _0x2901f3[_0x1cdb87(0x134)]||_0x2901f3[_0x1cdb87(0x2c2)];}function Zi(_0x2e1697,_0x4bd8e9){const _0x482bbe=_0x189c21;return typeof _0x2e1697!=_0x482bbe(0x2a3)||!Number[_0x482bbe(0x314)](_0x2e1697)?'':pt(_0x2e1697,_0x4bd8e9[_0x482bbe(0x1a2)]);}function Qi(_0x3aeb79,_0x41c362){const _0x148a9f=_0x189c21;let _0xd9c8b9=typeof _0x3aeb79==_0x148a9f(0x2a3)?_0x3aeb79:Number(_0x3aeb79);return Number[_0x148a9f(0x314)](_0xd9c8b9)?ni(_0xd9c8b9,_0x41c362[_0x148a9f(0x1a2)]):'';}function $i(_0x539244,_0x5d042a){const _0x1e34b1=_0x189c21;var _0xc6fa8a;let _0x4ee85f=typeof _0x539244==_0x1e34b1(0x2a3)?_0x539244:Number(_0x539244);if(!Number[_0x1e34b1(0x314)](_0x4ee85f))return'';let _0x3e2821=(_0xc6fa8a=_0x5d042a['config'])==null?{}:_0xc6fa8a,_0x19228b=_0x3e2821['decimalPlaces']===0x1||_0x3e2821[_0x1e34b1(0x154)]===0x2?_0x3e2821['decimalPlaces']:0x0,_0x12b81d=_0x4ee85f[_0x1e34b1(0x210)](_0x19228b);return _0x3e2821[_0x1e34b1(0x33b)]===_0x1e34b1(0x2a3)?_0x12b81d:_0x12b81d+'%';}function ea(_0x556c9f){const _0x472372=_0x189c21;return Array[_0x472372(0x286)](_0x556c9f)?_0x556c9f['flatMap'](_0x30f9df=>{const _0x526575=_0x472372;var _0x4d3329,_0x4fd183;if(!_0x30f9df||typeof _0x30f9df!=_0x526575(0x270))return[];let _0x590762=_0x30f9df,_0x4dcba4=String((_0x4d3329=(_0x4fd183=_0x590762[_0x526575(0x1cf)])==null?_0x590762[_0x526575(0x2c2)]:_0x4fd183)==null?'':_0x4d3329)['trim']();return _0x4dcba4?[_0x4dcba4]:[];}):[];}function $(_0x2f855c){const _0x6d81ac=_0x189c21;if(_0x2f855c==null)return'';if(typeof _0x2f855c==_0x6d81ac(0xdc))return _0x2f855c?_0x6d81ac(0x228):_0x6d81ac(0xdb);if(typeof _0x2f855c==_0x6d81ac(0x2a3))return String(_0x2f855c);if(Array[_0x6d81ac(0x286)](_0x2f855c)){let _0x5e410e=[];for(let _0x57bcb7=0x0;_0x57bcb7<_0x2f855c[_0x6d81ac(0x149)];_0x57bcb7++){if(!(_0x57bcb7 in _0x2f855c))continue;let _0x197bac=$(_0x2f855c[_0x57bcb7]);_0x197bac&&_0x5e410e['push'](_0x197bac);}return _0x5e410e['join'](',\x20');}if(typeof _0x2f855c=='object'){var _0x17c9d8,_0x5821f8,_0x70052e,_0x3584b9;let _0x2874e1=_0x2f855c;return String((_0x17c9d8=(_0x5821f8=(_0x70052e=(_0x3584b9=_0x2874e1[_0x6d81ac(0x37f)])==null?_0x2874e1[_0x6d81ac(0x1cf)]:_0x3584b9)==null?_0x2874e1['text']:_0x70052e)==null?_0x2874e1[_0x6d81ac(0x2c2)]:_0x5821f8)==null?'':_0x17c9d8)[_0x6d81ac(0x378)]();}return String(_0x2f855c);}function ta(_0xd1149b,_0x12d216){const _0x458774=_0x189c21;let _0x575078=0x0;for(let _0x20c4bf of _0x12d216)if(_0x20c4bf){if(_0x20c4bf===_0xd1149b){_0x575078=Math[_0x458774(0x301)](_0x575078,0x12c);continue;}if(_0x20c4bf[_0x458774(0x2a0)](_0xd1149b)){_0x575078=Math[_0x458774(0x301)](_0x575078,0xfa);continue;}_0x20c4bf['includes'](_0xd1149b)&&(_0x575078=Math[_0x458774(0x301)](_0x575078,0xc8));}return _0x575078;}function na(_0xf24fb7){const _0x399fe6=_0x189c21;return _0xf24fb7['trim']()['replace'](/\s+/g,'\x20')[_0x399fe6(0x117)]();}function ra(_0x329b60){const _0x4ddcdd=_0x189c21;return Array[_0x4ddcdd(0x1dd)](new Set(_0x329b60));}function ia(_0x12c7ce){const _0x26c210=_0x189c21;let _0x6556b6=[];for(let {rowIndex:_0x2381b4,fieldIndex:_0x4ca756,..._0x41da9f}of _0x12c7ce)_0x6556b6[_0x26c210(0x2b9)](_0x41da9f);return _0x6556b6;}export{Y as ApplyBaseJson1Mutation,O as BaseJson1OpApplier,I as BaseJson1OpFactory,$n as BatchCreateBaseRecordsCommand,er as BatchDeleteBaseRecordsCommand,tr as ChangeBaseFieldTypeCommand,nr as CreateBaseFieldCommand,rr as CreateBaseRecordCommand,ir as CreateBaseTableCommand,yr as CreateBaseViewCommand,br as DeleteBaseFieldCommand,xr as DeleteBaseRecordCommand,Sr as DeleteBaseTableCommand,Cr as DeleteBaseViewCommand,wr as DuplicateBaseFieldCommand,Tr as DuplicateBaseRecordCommand,Xr as EMBED_BASES_TABLE_RESOURCE_KEY,Er as EnsureBaseTemporalViewDateFieldsCommand,U as IBaseCommandService,cn as IBasePermissionService,W as IBaseProjectionService,Bi as IBaseViewRegistryService,kr as MoveBaseFieldCommand,Ar as MoveBaseViewCommand,jr as RenameBaseTableCommand,Mr as RenameBaseViewCommand,Nr as SetBaseKanbanGroupFieldCommand,Pr as SetBaseNameCommand,Fr as SetBaseRangeValuesCommand,Ir as SetBaseRecordValuesCommand,Lr as SetBaseViewFieldOrderCommand,Rr as SetBaseViewFieldVisibleCommand,zr as SetBaseViewFieldWidthCommand,Br as SetBaseViewFilterCommand,Vr as SetBaseViewGroupCommand,Hr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Ur as UpdateBaseCellCommand,Gr as UpdateBaseFieldCommand,Wr as UpdateBaseFieldDescriptionCommand,Kr as UpdateBaseKanbanConfigCommand,qr as UpdateBaseRecordOrderCommand,Jr as UpdateBaseViewConfigCommand,j as baseDateSerialToDateMs,si as copyBaseTableSnapshot,Yr as createDefaultBaseTableSnapshot,Zr as createEmbedBasesTable,Qr as createEmbedBasesTableAddMutation,$r as createEmbedBasesTableRemoveMutation,k as dateToExcelSerial,w as ensureBaseTableCellLayout,pt as formatBaseDateValue,ni as formatBaseNumberValue,je as getBaseCellFormulaValue,Ae as getBaseCellValue,oi as inferBaseSeparatorStyle,vt as matchesBaseCondition,A as normalizeBaseDateSerial,Ui as searchBaseTable,C as traceBasePerformance,ar as uniqueFieldName};