@things-factory/meta-ui 6.0.124 → 6.0.126

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 (78) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +16 -0
  3. package/client/component/filter/filter-grist-resource-code-select.js +16 -0
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -7
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-master-detail-mixin.js +1 -1
  13. package/client/mixin/meta-service-mixin.js +1 -1
  14. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  15. package/client/mixin/meta-tab-mixin.js +1 -1
  16. package/client/pages/activity/meta-activity-list-page.js +6 -6
  17. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  18. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  19. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  20. package/client/pages/entity/config-entity.js +29 -29
  21. package/client/pages/entity/main-menu-selector.js +8 -8
  22. package/client/pages/history/history-copy-list-popup.js +6 -6
  23. package/client/pages/history/history-json-list-popup.js +6 -6
  24. package/client/pages/loading-page.js +5 -5
  25. package/client/pages/menu/dynamic-menu-template.js +7 -7
  26. package/client/pages/menu/dynamic-menu.js +15 -15
  27. package/client/pages/meta-form-element.js +1 -1
  28. package/client/pages/meta-grist-element.js +1 -1
  29. package/client/pages/meta-grist-page.js +1 -1
  30. package/client/pages/meta-grist-tab-element.js +1 -1
  31. package/client/pages/meta-grist-tab-page.js +1 -1
  32. package/client/pages/meta-master-detail-element.js +1 -1
  33. package/client/pages/meta-master-detail-page.js +1 -1
  34. package/client/pages/meta-tab-detail-element.js +1 -1
  35. package/client/pages/meta-tab-detail-page.js +1 -1
  36. package/client/pages/meta-tab-element.js +1 -1
  37. package/client/pages/personalize/personal-column-selector.js +11 -11
  38. package/client/pages/terms/config-terminology.js +6 -6
  39. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  40. package/client/pages/work-code/work-code-page.js +1 -1
  41. package/client/reducers/main.js +1 -1
  42. package/client/utils/meta-api.js +1 -1
  43. package/client/utils/meta-crypto.js +1 -1
  44. package/client/utils/meta-ui-util.js +96 -96
  45. package/client/utils/service-util.js +13 -13
  46. package/client/utils/terms-util.js +2 -2
  47. package/client/utils/ui-util.js +1 -1
  48. package/client/utils/value-util.js +1 -1
  49. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  50. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  51. package/client/viewparts/dynamic-menu-part.js +12 -12
  52. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  53. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  54. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  55. package/package.json +5 -5
  56. package/server/activity/CommonActivity.js +2 -2
  57. package/server/constants/error-code.js +1 -1
  58. package/server/errors/license-error.js +1 -1
  59. package/server/routes.js +1 -1
  60. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  61. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  62. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize.js +1 -1
  64. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  65. package/server/service/meta-activity/meta-activity-query.js +1 -1
  66. package/server/service/meta-activity/meta-activity-type.js +1 -1
  67. package/server/service/meta-secret/meta-resolver.js +1 -1
  68. package/server/service/set-translations/set-translation-resolver.js +1 -1
  69. package/server/service/work-code/work-code-mutation.js +1 -1
  70. package/server/service/work-code/work-code-query.js +1 -1
  71. package/server/service/work-code/work-code-type.js +1 -1
  72. package/server/service/work-code/work-code.js +1 -1
  73. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  74. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  75. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail.js +1 -1
  77. package/client/component/filter/filter-form-resource-code-select.ts +0 -94
  78. package/client/component/filter/filter-grist-resource-code-select.ts +0 -95
@@ -1,4 +1,4 @@
1
- const a0_0x3c5331=a0_0x2d85;(function(_0x39f14e,_0x468780){const _0x21f677=a0_0x2d85,_0xfc2c4a=_0x39f14e();while(!![]){try{const _0x3128d9=-parseInt(_0x21f677(0x220))/0x1+-parseInt(_0x21f677(0x221))/0x2*(parseInt(_0x21f677(0x227))/0x3)+parseInt(_0x21f677(0x1d9))/0x4+parseInt(_0x21f677(0x22b))/0x5+parseInt(_0x21f677(0x1f3))/0x6+-parseInt(_0x21f677(0x1da))/0x7*(parseInt(_0x21f677(0x1cd))/0x8)+parseInt(_0x21f677(0x1ce))/0x9;if(_0x3128d9===_0x468780)break;else _0xfc2c4a['push'](_0xfc2c4a['shift']());}catch(_0x34769b){_0xfc2c4a['push'](_0xfc2c4a['shift']());}}}(a0_0x554f,0xddf0b));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';function a0_0x554f(){const _0x24414e=['showAlertPopup','showToast','dirtyRecords','delete','tMenu','button.delete','296kCqugL','13810689DrcPBu','details','\x0a\x20\x20\x20\x20\x20\x20','noteq','data','hidden','group','_config','findIndex','reduce','updateMultipleData','1924924hZKdCZ','259406MZrhBJ','query','success\x20to\x20process','test','draft-list','numberOfApprovalPendings','fetch','result','__origin__','tText','resourceUrl','gutter','networkError','todo-list','showGraphqlErrorResponse','codeItems','__dirty__','undefined','records','parent','getCodeByScenario','button.','updatedAt','message','xlsx','2484864jyeQEg','key','object','menuType','getCodeByEntity','value','SCREEN','text.nothing_selected','splice','checkClientError','name','cancel','HOME','searchByPagination','Graphql\x20Error','arrangeMenuRoutes','updater','code','showGraphqlException','question','buildArgs','filter','__seq__','imex','numberOfDrafts','isNotEmpty','exportableData','text.nothing_changed','patchesForUpdateMultiple','template','error','numberOfToDos','getSelectedIdList','children','menu.id','description','HIDDEN-PAGE','parse','category','id,template','unshift','push','\x0a\x20\x20\x20\x20','map','path','240382iDmsQq','2nWlIxo','record','split','extensions','runScenario','getCodeSelectorData','4990803CtSrwh','routingType','routing','__selected__','8771500YJaNTb','title','text.there_is_nothing_to_delete','items','total','errors','isEmpty','callScenario','badge','info','updateMultiple','deleteListByGristSelected','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','success\x20to\x20delete','getWorkCodeByName','workCodeByName','MENU','menus','creator','forEach','length','rank','gridPersonalizeTemplates','deleteListByIds','confirm','isArray','columns','text.are_you_sure','selected','GROUP','type'];a0_0x554f=function(){return _0x24414e;};return a0_0x554f();}import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x246edb from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x2d85(_0x2debdd,_0x1fc1c1){const _0x554f25=a0_0x554f();return a0_0x2d85=function(_0x2d85f2,_0x13bb8b){_0x2d85f2=_0x2d85f2-0x1ad;let _0x4d126d=_0x554f25[_0x2d85f2];return _0x4d126d;},a0_0x2d85(_0x2debdd,_0x1fc1c1);}import a0_0x2b9b42 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x3c5331(0x1e9)](_0x37dea4){const _0x5c0f28=a0_0x3c5331;if(Array[_0x5c0f28(0x1c1)](_0x37dea4))return _0x37dea4[_0x5c0f28(0x21e)](_0x496379=>'object'==typeof _0x496379?{'name':_0x496379['value'],'description':_0x496379['display']}:{'name':_0x496379,'description':_0x496379});let _0x24b143=await ServiceUtil[_0x5c0f28(0x1b6)](_0x37dea4);return _0x24b143&&_0x24b143['length']>0x0?_0x24b143:await getCodeByName(_0x37dea4);}static async['getWorkCodeByName'](_0xf9af34){const _0x207cf8=a0_0x3c5331,_0x439b97=await client[_0x207cf8(0x1db)]({'query':a0_0x246edb`
1
+ const a0_0x50de27=a0_0x3dc2;(function(_0x122878,_0x2e949c){const _0x38a1fc=a0_0x3dc2,_0xd15102=_0x122878();while(!![]){try{const _0x4f69f7=parseInt(_0x38a1fc(0x112))/0x1*(parseInt(_0x38a1fc(0x13b))/0x2)+-parseInt(_0x38a1fc(0x127))/0x3+parseInt(_0x38a1fc(0x17c))/0x4*(-parseInt(_0x38a1fc(0x115))/0x5)+parseInt(_0x38a1fc(0x16a))/0x6+parseInt(_0x38a1fc(0x145))/0x7+-parseInt(_0x38a1fc(0x162))/0x8*(-parseInt(_0x38a1fc(0x16b))/0x9)+-parseInt(_0x38a1fc(0x155))/0xa;if(_0x4f69f7===_0x2e949c)break;else _0xd15102['push'](_0xd15102['shift']());}catch(_0x483d5e){_0xd15102['push'](_0xd15102['shift']());}}}(a0_0x5d36,0xb153f));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';function a0_0x3dc2(_0xbe8d91,_0x3a4f66){const _0x5d361d=a0_0x5d36();return a0_0x3dc2=function(_0x3dc2b9,_0x2d2bbd){_0x3dc2b9=_0x3dc2b9-0xfe;let _0x428a8e=_0x5d361d[_0x3dc2b9];return _0x428a8e;},a0_0x3dc2(_0xbe8d91,_0x3a4f66);}import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';function a0_0x5d36(){const _0x1ceabd=['\x0a\x20\x20\x20\x20\x20\x20','updatedAt','query','test','getSelectedIdList','530428uvfKIs','findIndex','deleteListByGristSelected','searchByPagination','MENU','updateMultiple','find','group','undefined','getCodeSelectorData','dispatch','checkClientError','unshift','draft-list','codeItems','buildArgs','button.','showAlertPopup','badge','path','workCodeByName','rank','map','__dirty__','gutter','401627UffVMj','type','SCREEN','5pVFVsC','splice','records','active','routingType','HOME','result','isNotEmpty','length','imex','gridPersonalizeTemplates','info','numberOfApprovalPendings','runScenario','name','selected','filter','question','1416432KEKqIu','tText','data','createdAt','category','success\x20to\x20delete','Graphql\x20Error','showToast','confirm','key','creator','__seq__','__selected__','extensions','reduce','GROUP','iconPath','text.nothing_changed','todo-list','myDynamicMenus','2nyLpLK','getWorkCodeByName','numberOfToDos','cuFlag','children','showGraphqlException','button.delete','hidden','searchMyDynamicMenus','approval-pending-list','7053627qOeoif','menus','routing','value','callScenario','menuType','display','split','record','id,template','success\x20to\x20process','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','xlsx','parse','details','__dirtyfields__','8694170jNRpyV','showGraphqlErrorResponse','columns','menu.id','object','sort','error','forEach','networkError','message','updater','total','resourceUrl','88VnIUlL','exportableData','findOne','deleteListByIds','getCodeByEntity','patchesForUpdateMultiple','_config','text.nothing_selected','1783428ieIgug','404163JNCWFE','success\x20to\x20save','cancel','hiddenFlag','push','errors','dirtyRecords','description','title','tMenu','fetch','items'];a0_0x5d36=function(){return _0x1ceabd;};return a0_0x5d36();}import{UiUtil}from'./ui-util';import a0_0x2d4f9e from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0xee0cbb from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x50de27(0x107)](_0x4045d8){const _0x3231d8=a0_0x50de27;if(Array['isArray'](_0x4045d8))return _0x4045d8[_0x3231d8(0x10f)](_0x1341f6=>'object'==typeof _0x1341f6?{'name':_0x1341f6[_0x3231d8(0x148)],'description':_0x1341f6[_0x3231d8(0x14b)]}:{'name':_0x1341f6,'description':_0x1341f6});let _0x5b7d9d=await ServiceUtil[_0x3231d8(0x13c)](_0x4045d8);return _0x5b7d9d&&_0x5b7d9d[_0x3231d8(0x11d)]>0x0?_0x5b7d9d:await getCodeByName(_0x4045d8);}static async['getWorkCodeByName'](_0x428daf){const _0x412aea=a0_0x50de27,_0x40c9c3=await client[_0x412aea(0x179)]({'query':a0_0x2d4f9e`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x3c5331=a0_0x2d85;(function(_0x39f14e,_0x468780){const _0x21f677=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0xf9af34},'context':gqlContext()});return!_0x439b97[_0x207cf8(0x1ad)]&&_0x439b97[_0x207cf8(0x1d2)][_0x207cf8(0x1b7)]&&_0x439b97[_0x207cf8(0x1d2)][_0x207cf8(0x1b7)][_0x207cf8(0x1cf)]?_0x439b97[_0x207cf8(0x1d2)]['workCodeByName'][_0x207cf8(0x1cf)]['sort']((_0x59c86f,_0x3246ab)=>_0x59c86f[_0x207cf8(0x1bd)]-_0x3246ab[_0x207cf8(0x1bd)]):[];}static async[a0_0x3c5331(0x226)](_0xf6f985){const _0x1bc7b8=a0_0x3c5331;let _0x4133ba=(await ServiceUtil[_0x1bc7b8(0x1e9)](_0xf6f985))[_0x1bc7b8(0x21e)](_0x532f60=>({'value':_0x532f60[_0x1bc7b8(0x1fd)],'display':_0x532f60[_0x1bc7b8(0x216)]}));return _0x4133ba[_0x1bc7b8(0x21b)]({'value':'','display':''}),_0x4133ba;}static async[a0_0x3c5331(0x1ee)](_0x23de10,_0x2b72a2){const _0x3426f1=a0_0x3c5331;let _0x1cb048=await ServiceUtil['callScenario'](null,_0x23de10,_0x2b72a2);return _0x1cb048['unshift']({'value':'','display':''}),_0x1cb048[_0x3426f1(0x21e)](_0x51c5a0=>({'value':_0x51c5a0[_0x3426f1(0x1fd)],'display':_0x51c5a0[_0x3426f1(0x216)]}));}static async[a0_0x3c5331(0x1f7)]({queryName:_0xdd80e6,codeField:_0x22c956=a0_0x3c5331(0x1fd),dispField:_0x412a2a=a0_0x3c5331(0x216),filters:_0x18bbd1=[],sorters:_0x335771=[]}){const _0x211410=a0_0x3c5331;let _0x14174d=_0x211410(0x1d0)+_0x22c956+_0x211410(0x1d0)+_0x412a2a+_0x211410(0x21d),_0x24f661=await ServiceUtil['searchByPagination'](_0xdd80e6,_0x18bbd1,_0x335771,0x0,0x0,_0x14174d),_0xa906c=[{'value':'','display':''}];return _0x24f661[_0x211410(0x1ec)]['forEach'](_0x31327e=>{_0xa906c['push']({'value':_0x31327e[_0x22c956],'display':_0x31327e[_0x412a2a]});}),_0xa906c;}static async['myDynamicMenus'](){let _0x4b035a=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x4b035a?ServiceUtil['arrangeMenuRoutes'](_0x4b035a):null;}static async['searchMenuGridPersnalTemplate'](_0x8cb35c){const _0xc30ab0=a0_0x3c5331;let _0x1e8ef9=[{'name':_0xc30ab0(0x215),'operator':'eq','value':_0x8cb35c}],_0x1ea1ed=await ServiceUtil[_0xc30ab0(0x200)](_0xc30ab0(0x1be),_0x1e8ef9,[],0x0,0x0,_0xc30ab0(0x21a));return 0x0==_0x1ea1ed[_0xc30ab0(0x22f)]?{}:{'id':_0x1ea1ed['records'][0x0]['id'],'template':JSON[_0xc30ab0(0x218)](_0x1ea1ed[_0xc30ab0(0x1ec)][0x0][_0xc30ab0(0x210)])};}static[a0_0x3c5331(0x202)](_0x2b12d6){const _0x51fd95=a0_0x3c5331;let _0x54880d=[];_0x2b12d6[_0x51fd95(0x1bb)](_0x1f97f4=>{const _0x2e2d4d=_0x51fd95;_0x54880d[_0x2e2d4d(0x21c)](_0x1f97f4),_0x1f97f4[_0x2e2d4d(0x214)]&&(_0x1f97f4[_0x2e2d4d(0x214)]['sort'](function(_0x4e0cc2,_0x563b42){return _0x4e0cc2['rank']-_0x563b42['rank'];}),_0x1f97f4[_0x2e2d4d(0x214)][_0x2e2d4d(0x1bb)](_0x1e0c56=>{const _0x4ef218=_0x2e2d4d;0x1!=_0x1e0c56['hiddenFlag']&&(_0x1e0c56[_0x4ef218(0x1ed)]=_0x1f97f4,_0x54880d[_0x4ef218(0x21c)](_0x1e0c56));}));});let _0x475fac=_0x54880d['map'](_0x292088=>{const _0x1702a0=_0x51fd95;if(_0x1702a0(0x1c5)==_0x292088[_0x1702a0(0x1f6)]||_0x1702a0(0x1b8)==_0x292088[_0x1702a0(0x1f6)]){let _0x3cdcb5={'id':_0x292088['id'],'parent':!0x0,'name':TermsUtil[_0x1702a0(0x1cb)](_0x292088[_0x1702a0(0x1fd)]),'icon':_0x292088['iconPath'],'type':_0x1702a0(0x1c5)==_0x292088[_0x1702a0(0x1f6)]?_0x1702a0(0x1d4):'','menus':[]};return _0x292088['routing']&&(_0x3cdcb5[_0x1702a0(0x21f)]=_0x292088[_0x1702a0(0x229)]),_0x3cdcb5;}return{'id':'0'};})[_0x51fd95(0x208)](_0x1baba4=>'0'!=_0x1baba4['id']),_0x64982a=_0x54880d['map'](_0x3c89b3=>{const _0x304337=_0x51fd95;if(_0x304337(0x1f9)==_0x3c89b3[_0x304337(0x1f6)]||_0x304337(0x217)==_0x3c89b3[_0x304337(0x1f6)]){let _0x1dec79=_0x475fac['find'](_0x248467=>_0x248467['id']==_0x3c89b3['parent']['id']);if(_0x1dec79){let _0x25d6d9=TermsUtil[_0x304337(0x1cb)](_0x3c89b3[_0x304337(0x1fd)]);return _0x304337(0x1f9)==_0x3c89b3[_0x304337(0x1f6)]&&_0x1dec79[_0x304337(0x1b9)][_0x304337(0x21c)]({'id':_0x3c89b3['id'],'name':_0x25d6d9,'path':_0x3c89b3[_0x304337(0x229)],'icon':_0x3c89b3['iconPath']}),{'id':_0x3c89b3['id'],'parent':!0x1,'parent_id':_0x1dec79['id'],'title':_0x25d6d9,'tagname':_0x3c89b3['category'],'page':_0x3c89b3['routing'],'template':_0x3c89b3[_0x304337(0x1e4)],'routing_type':_0x3c89b3[_0x304337(0x228)]};}return{'id':'0'};}return _0x304337(0x1ff)==_0x3c89b3[_0x304337(0x1f6)]?{'id':_0x3c89b3['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x304337(0x1cb)](_0x3c89b3[_0x304337(0x1fd)]),'tagname':_0x3c89b3[_0x304337(0x219)],'page':_0x3c89b3['routing'],'template':_0x3c89b3[_0x304337(0x1e4)],'routing_type':_0x3c89b3['routingType']}:{'id':'0'};})[_0x51fd95(0x208)](_0x1a2aeb=>null!=_0x1a2aeb&&'0'!=_0x1a2aeb['id']);_0x475fac['filter'](_0x5b6c4f=>'group'==_0x5b6c4f[_0x51fd95(0x1c6)]&&_0x5b6c4f[_0x51fd95(0x1b9)]&&_0x5b6c4f[_0x51fd95(0x1b9)][_0x51fd95(0x1bc)]>0x0)[_0x51fd95(0x1bb)](_0x3e0797=>{const _0x317fc8=_0x51fd95;let _0x4152ae=_0x475fac[_0x317fc8(0x1d6)](_0x4a150d=>_0x4a150d['id']==_0x3e0797['id'])+0x1;_0x475fac[_0x317fc8(0x1fb)](_0x4152ae,0x0,..._0x3e0797[_0x317fc8(0x1b9)]);});let _0x228200=0x0;return _0x475fac['forEach'](_0x2e0818=>{const _0x8d0761=_0x51fd95;_0x8d0761(0x1e7)==_0x2e0818[_0x8d0761(0x21f)]?(_0x228200++,_0x2e0818[_0x8d0761(0x1b0)]=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x212))),_0x2e0818['active']=({path:_0x12bce3})=>/^activity\//[_0x8d0761(0x1dd)](_0x12bce3)):'approval-pending-list'==_0x2e0818['path']?(_0x228200++,_0x2e0818[_0x8d0761(0x1b0)]=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x1df))),_0x2e0818['active']=({path:_0x13f798})=>/^activity\//[_0x8d0761(0x1dd)](_0x13f798)):_0x8d0761(0x1de)==_0x2e0818[_0x8d0761(0x21f)]&&(_0x228200++,_0x2e0818['badge']=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x20b))));}),_0x228200>0x0&&startSubscribeActivitySummary(),{'menus':_0x475fac,'routes':_0x64982a};}static async['searchMyDynamicMenus'](){const _0x13d731=a0_0x3c5331;let _0x912367=await ServiceUtil[_0x13d731(0x200)]('menus',[{'name':'hiddenFlag','operator':_0x13d731(0x1d1),'value':!0x0},{'name':_0x13d731(0x1f6),'operator':'in','value':[_0x13d731(0x1ff),_0x13d731(0x1b8),_0x13d731(0x1c5)]}],[{'name':_0x13d731(0x1bd)}],0x0,0x0,_0x13d731(0x1b4));return _0x912367?_0x912367[_0x13d731(0x1ec)]:[];}static async['showGraphqlErrorResponse'](_0x547cdb){const _0x30547b=a0_0x3c5331;if(_0x547cdb['errors']&&_0x547cdb[_0x30547b(0x1ad)][_0x30547b(0x1bc)]>0x0){let _0x282854=_0x547cdb['errors'][0x0],_0x25f954=_0x282854[_0x30547b(0x1f1)],_0x4a0927=_0x282854[_0x30547b(0x1f1)];_0x282854[_0x30547b(0x224)]&&(_0x4a0927=_0x282854[_0x30547b(0x224)][_0x30547b(0x204)]),await UiUtil[_0x30547b(0x1c7)](_0x4a0927,_0x25f954,_0x30547b(0x211),_0x30547b(0x1c0));}}static async[a0_0x3c5331(0x205)](_0x59147f){const _0x238392=a0_0x3c5331;_0x59147f&&(_0x59147f[_0x238392(0x1e6)]&&_0x59147f[_0x238392(0x1e6)][_0x238392(0x1e1)]?await ServiceUtil['showGraphqlErrorResponse'](_0x59147f[_0x238392(0x1e6)][_0x238392(0x1e1)]):await UiUtil[_0x238392(0x1c7)](_0x238392(0x201),_0x59147f[_0x238392(0x1f1)],_0x238392(0x211),_0x238392(0x1c0)));}static async[a0_0x3c5331(0x20d)](_0x2f3ee4,_0x5e5860,_0x38924d){const _0x44106e=a0_0x3c5331;var _0x420353=_0x38924d[_0x44106e(0x1d5)][_0x44106e(0x1c2)][_0x44106e(0x208)](_0x4e04ff=>_0x44106e(0x1e5)!==_0x4e04ff['type']&&void 0x0!==_0x4e04ff['record']&&void 0x0!==_0x4e04ff[_0x44106e(0x20a)]&&!0x0!==_0x4e04ff[_0x44106e(0x1d3)])[_0x44106e(0x21e)](_0x1fc1c6=>_0x1fc1c6[_0x44106e(0x20a)]),_0x39c6da=_0x38924d['data'][_0x44106e(0x1ec)][_0x44106e(0x21e)](_0x2646f4=>({..._0x38924d[_0x44106e(0x1d5)][_0x44106e(0x1c2)][_0x44106e(0x208)](_0x12c624=>_0x44106e(0x1e5)!==_0x12c624[_0x44106e(0x1c6)]&&void 0x0!==_0x12c624[_0x44106e(0x222)]&&void 0x0!==_0x12c624[_0x44106e(0x20a)]&&!0x0!==_0x12c624[_0x44106e(0x1d3)])[_0x44106e(0x1d7)]((_0x207ee7,_0x2e1ab3)=>(_0x207ee7[_0x2e1ab3[_0x44106e(0x20a)]['key']]=_0x2e1ab3['imex'][_0x44106e(0x1f4)][_0x44106e(0x223)]('.')[_0x44106e(0x1d7)]((_0x458f95,_0x2c319e)=>_0x458f95&&_0x44106e(0x1eb)!==_0x458f95[_0x2c319e]?_0x458f95[_0x2c319e]:void 0x0,_0x2646f4),_0x207ee7),{})}));if(!_0x2f3ee4)return{'header':_0x420353,'data':_0x39c6da};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x44106e(0x1f2),'name':_0x5e5860,'data':{'header':_0x420353,'data':_0x39c6da}}});}static async['searchByPagination'](_0x1e86aa,_0x32bf32,_0x36d648,_0x1d1bbb,_0x3534a8,_0x5545d8){const _0x53bf9=a0_0x3c5331;try{const _0x4996d4=await client[_0x53bf9(0x1db)]({'query':a0_0x246edb`
11
+ `,'variables':{'name':_0x428daf},'context':gqlContext()});return!_0x40c9c3[_0x412aea(0x170)]&&_0x40c9c3['data']['workCodeByName']&&_0x40c9c3[_0x412aea(0x129)]['workCodeByName'][_0x412aea(0x153)]?_0x40c9c3['data'][_0x412aea(0x10d)]['details']['sort']((_0x318ede,_0x113d4c)=>_0x318ede['rank']-_0x113d4c[_0x412aea(0x10e)]):[];}static async[a0_0x50de27(0x102)](_0x5a875b){const _0x2c45b4=a0_0x50de27;let _0x23b43d=(await ServiceUtil[_0x2c45b4(0x107)](_0x5a875b))[_0x2c45b4(0x10f)](_0xb0a36d=>({'value':_0xb0a36d['name'],'display':_0xb0a36d[_0x2c45b4(0x172)]}));return _0x23b43d[_0x2c45b4(0x105)]({'value':'','display':''}),_0x23b43d;}static async['getCodeByScenario'](_0x29a8ae,_0x440bac){const _0x5cc1b9=a0_0x50de27;let _0xd1e8f9=await ServiceUtil[_0x5cc1b9(0x149)](null,_0x29a8ae,_0x440bac);return _0xd1e8f9[_0x5cc1b9(0x105)]({'value':'','display':''}),_0xd1e8f9['map'](_0x5a7854=>({'value':_0x5a7854[_0x5cc1b9(0x123)],'display':_0x5a7854['description']}));}static async[a0_0x50de27(0x166)]({queryName:_0x1be0d3,codeField:_0x2b58f6=a0_0x50de27(0x123),dispField:_0x1f6428=a0_0x50de27(0x172),filters:_0x11e92e=[],sorters:_0x4dbe42=[]}){const _0x44c0c6=a0_0x50de27;let _0x10a4ec=_0x44c0c6(0x177)+_0x2b58f6+_0x44c0c6(0x177)+_0x1f6428+'\x0a\x20\x20\x20\x20',_0x41c6fd=await ServiceUtil[_0x44c0c6(0x17f)](_0x1be0d3,_0x11e92e,_0x4dbe42,0x0,0x0,_0x10a4ec),_0x4c30e7=[{'value':'','display':''}];return _0x41c6fd[_0x44c0c6(0x117)][_0x44c0c6(0x15c)](_0x4885b4=>{_0x4c30e7['push']({'value':_0x4885b4[_0x2b58f6],'display':_0x4885b4[_0x1f6428]});}),_0x4c30e7;}static async[a0_0x50de27(0x13a)](){const _0x342df1=a0_0x50de27;let _0x1fa7ca=await ServiceUtil[_0x342df1(0x143)]();return null!=_0x1fa7ca?ServiceUtil['arrangeMenuRoutes'](_0x1fa7ca):null;}static async['searchMenuGridPersnalTemplate'](_0x130052){const _0x1e7ccb=a0_0x50de27;let _0x2183f7=[{'name':_0x1e7ccb(0x158),'operator':'eq','value':_0x130052}],_0xc920e4=await ServiceUtil['searchByPagination'](_0x1e7ccb(0x11f),_0x2183f7,[],0x0,0x0,_0x1e7ccb(0x14e));return 0x0==_0xc920e4[_0x1e7ccb(0x160)]?{}:{'id':_0xc920e4['records'][0x0]['id'],'template':JSON[_0x1e7ccb(0x152)](_0xc920e4[_0x1e7ccb(0x117)][0x0]['template'])};}static['arrangeMenuRoutes'](_0x5f30a1){const _0x20a017=a0_0x50de27;let _0xfc84fd=[];_0x5f30a1[_0x20a017(0x15c)](_0x231eaa=>{const _0x2bc475=_0x20a017;_0xfc84fd['push'](_0x231eaa),_0x231eaa['children']&&(_0x231eaa[_0x2bc475(0x13f)][_0x2bc475(0x15a)](function(_0x45e768,_0x41ceee){return _0x45e768['rank']-_0x41ceee['rank'];}),_0x231eaa[_0x2bc475(0x13f)][_0x2bc475(0x15c)](_0x1c4683=>{const _0x66c8a5=_0x2bc475;0x1!=_0x1c4683[_0x66c8a5(0x16e)]&&(_0x1c4683['parent']=_0x231eaa,_0xfc84fd[_0x66c8a5(0x16f)](_0x1c4683));}));});let _0x172670=_0xfc84fd['map'](_0x25ba29=>{const _0x519bbc=_0x20a017;if(_0x519bbc(0x136)==_0x25ba29[_0x519bbc(0x14a)]||_0x519bbc(0x180)==_0x25ba29[_0x519bbc(0x14a)]){let _0x3a5544={'id':_0x25ba29['id'],'parent':!0x0,'name':TermsUtil[_0x519bbc(0x174)](_0x25ba29[_0x519bbc(0x123)]),'icon':_0x25ba29[_0x519bbc(0x137)],'type':_0x519bbc(0x136)==_0x25ba29[_0x519bbc(0x14a)]?_0x519bbc(0x100):'','menus':[]};return _0x25ba29[_0x519bbc(0x147)]&&(_0x3a5544['path']=_0x25ba29[_0x519bbc(0x147)]),_0x3a5544;}return{'id':'0'};})['filter'](_0x2e5fef=>'0'!=_0x2e5fef['id']),_0x146d42=_0xfc84fd[_0x20a017(0x10f)](_0x2d233d=>{const _0x3de5df=_0x20a017;if(_0x3de5df(0x114)==_0x2d233d[_0x3de5df(0x14a)]||'HIDDEN-PAGE'==_0x2d233d[_0x3de5df(0x14a)]){let _0x1d822e=_0x172670[_0x3de5df(0xff)](_0x276461=>_0x276461['id']==_0x2d233d['parent']['id']);if(_0x1d822e){let _0x547ef5=TermsUtil[_0x3de5df(0x174)](_0x2d233d[_0x3de5df(0x123)]);return _0x3de5df(0x114)==_0x2d233d['menuType']&&_0x1d822e['menus']['push']({'id':_0x2d233d['id'],'name':_0x547ef5,'path':_0x2d233d[_0x3de5df(0x147)],'icon':_0x2d233d[_0x3de5df(0x137)]}),{'id':_0x2d233d['id'],'parent':!0x1,'parent_id':_0x1d822e['id'],'title':_0x547ef5,'tagname':_0x2d233d[_0x3de5df(0x12b)],'page':_0x2d233d[_0x3de5df(0x147)],'template':_0x2d233d[_0x3de5df(0x161)],'routing_type':_0x2d233d[_0x3de5df(0x119)]};}return{'id':'0'};}return _0x3de5df(0x11a)==_0x2d233d[_0x3de5df(0x14a)]?{'id':_0x2d233d['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x3de5df(0x174)](_0x2d233d[_0x3de5df(0x123)]),'tagname':_0x2d233d['category'],'page':_0x2d233d[_0x3de5df(0x147)],'template':_0x2d233d[_0x3de5df(0x161)],'routing_type':_0x2d233d['routingType']}:{'id':'0'};})[_0x20a017(0x125)](_0x2abebc=>null!=_0x2abebc&&'0'!=_0x2abebc['id']);_0x172670[_0x20a017(0x125)](_0x5d93cb=>'group'==_0x5d93cb[_0x20a017(0x113)]&&_0x5d93cb[_0x20a017(0x146)]&&_0x5d93cb['menus']['length']>0x0)[_0x20a017(0x15c)](_0xb118a2=>{const _0x532005=_0x20a017;let _0x599bea=_0x172670[_0x532005(0x17d)](_0x93672b=>_0x93672b['id']==_0xb118a2['id'])+0x1;_0x172670[_0x532005(0x116)](_0x599bea,0x0,..._0xb118a2[_0x532005(0x146)]);});let _0x545617=0x0;return _0x172670[_0x20a017(0x15c)](_0x28f59a=>{const _0x40036c=_0x20a017;_0x40036c(0x139)==_0x28f59a[_0x40036c(0x10c)]?(_0x545617++,_0x28f59a['badge']=()=>asyncReplace(generateActivitySummary(_0x40036c(0x13d))),_0x28f59a[_0x40036c(0x118)]=({path:_0x523c6a})=>/^activity\//[_0x40036c(0x17a)](_0x523c6a)):_0x40036c(0x144)==_0x28f59a[_0x40036c(0x10c)]?(_0x545617++,_0x28f59a[_0x40036c(0x10b)]=()=>asyncReplace(generateActivitySummary(_0x40036c(0x121))),_0x28f59a['active']=({path:_0x4d0f52})=>/^activity\//[_0x40036c(0x17a)](_0x4d0f52)):_0x40036c(0x106)==_0x28f59a[_0x40036c(0x10c)]&&(_0x545617++,_0x28f59a[_0x40036c(0x10b)]=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x545617>0x0&&startSubscribeActivitySummary(),{'menus':_0x172670,'routes':_0x146d42};}static async[a0_0x50de27(0x143)](){const _0x148b24=a0_0x50de27;let _0x2ad41b=await ServiceUtil[_0x148b24(0x17f)]('menus',[{'name':'hiddenFlag','operator':'noteq','value':!0x0},{'name':_0x148b24(0x14a),'operator':'in','value':['HOME','MENU','GROUP']}],[{'name':'rank'}],0x0,0x0,_0x148b24(0x150));return _0x2ad41b?_0x2ad41b[_0x148b24(0x117)]:[];}static async[a0_0x50de27(0x156)](_0x36153a){const _0x41d942=a0_0x50de27;if(_0x36153a['errors']&&_0x36153a[_0x41d942(0x170)][_0x41d942(0x11d)]>0x0){let _0x116ab7=_0x36153a['errors'][0x0],_0x472f03=_0x116ab7[_0x41d942(0x15e)],_0x2302b3=_0x116ab7[_0x41d942(0x15e)];_0x116ab7[_0x41d942(0x134)]&&(_0x2302b3=_0x116ab7[_0x41d942(0x134)]['code']),await UiUtil[_0x41d942(0x10a)](_0x2302b3,_0x472f03,'error',_0x41d942(0x12f));}}static async['showGraphqlException'](_0x3739f4){const _0xc9c6c6=a0_0x50de27;_0x3739f4&&(_0x3739f4['networkError']&&_0x3739f4[_0xc9c6c6(0x15d)][_0xc9c6c6(0x11b)]?await ServiceUtil['showGraphqlErrorResponse'](_0x3739f4[_0xc9c6c6(0x15d)]['result']):await UiUtil[_0xc9c6c6(0x10a)](_0xc9c6c6(0x12d),_0x3739f4[_0xc9c6c6(0x15e)],_0xc9c6c6(0x15b),'confirm'));}static async[a0_0x50de27(0x163)](_0x8b3a95,_0x986a50,_0x1a3f6a){const _0x34fba0=a0_0x50de27;var _0x3b8a8f=_0x1a3f6a[_0x34fba0(0x168)][_0x34fba0(0x157)]['filter'](_0x847b40=>_0x34fba0(0x111)!==_0x847b40[_0x34fba0(0x113)]&&void 0x0!==_0x847b40[_0x34fba0(0x14d)]&&void 0x0!==_0x847b40['imex']&&!0x0!==_0x847b40[_0x34fba0(0x142)])[_0x34fba0(0x10f)](_0x488ce6=>_0x488ce6[_0x34fba0(0x11e)]),_0x471d0e=_0x1a3f6a[_0x34fba0(0x129)][_0x34fba0(0x117)]['map'](_0x5b1a3b=>({..._0x1a3f6a[_0x34fba0(0x168)][_0x34fba0(0x157)][_0x34fba0(0x125)](_0x4a56d7=>_0x34fba0(0x111)!==_0x4a56d7['type']&&void 0x0!==_0x4a56d7['record']&&void 0x0!==_0x4a56d7[_0x34fba0(0x11e)]&&!0x0!==_0x4a56d7[_0x34fba0(0x142)])[_0x34fba0(0x135)]((_0x2fe349,_0x37ad66)=>(_0x2fe349[_0x37ad66[_0x34fba0(0x11e)][_0x34fba0(0x130)]]=_0x37ad66['imex'][_0x34fba0(0x130)][_0x34fba0(0x14c)]('.')[_0x34fba0(0x135)]((_0xc3b367,_0x2de718)=>_0xc3b367&&_0x34fba0(0x101)!==_0xc3b367[_0x2de718]?_0xc3b367[_0x2de718]:void 0x0,_0x5b1a3b),_0x2fe349),{})}));if(!_0x8b3a95)return{'header':_0x3b8a8f,'data':_0x471d0e};store[_0x34fba0(0x103)]({'type':EXPORT,'exportable':{'extension':_0x34fba0(0x151),'name':_0x986a50,'data':{'header':_0x3b8a8f,'data':_0x471d0e}}});}static async[a0_0x50de27(0x17f)](_0xa8ce49,_0x188dc4,_0x13797d,_0x4d78d7,_0x5d8f89,_0x551e7e){const _0x484968=a0_0x50de27;try{const _0xefc941=await client['query']({'query':a0_0x2d4f9e`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x1e86aa}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0xa8ce49}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x5545d8}
15
+ ${_0x551e7e}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x32bf32,'sortings':_0x36d648,'pagination':{'page':_0x1d1bbb,'limit':_0x3534a8}}});if(!_0x4996d4['errors'])return{'records':_0x4996d4['data'][_0x1e86aa][_0x53bf9(0x22e)],'total':_0x4996d4[_0x53bf9(0x1d2)][_0x1e86aa]['total']};ServiceUtil[_0x53bf9(0x1e8)](_0x4996d4);}catch(_0x785ef3){ServiceUtil[_0x53bf9(0x205)](_0x785ef3);}return null;}static async['findOne'](_0x3e600c,_0x483586,_0x2b9a21){const _0x51a929=a0_0x3c5331;try{let _0x343b81=await client['query']({'query':a0_0x246edb`
20
+ `,'variables':{'filters':_0x188dc4,'sortings':_0x13797d,'pagination':{'page':_0x4d78d7,'limit':_0x5d8f89}}});if(!_0xefc941[_0x484968(0x170)])return{'records':_0xefc941[_0x484968(0x129)][_0xa8ce49][_0x484968(0x176)],'total':_0xefc941[_0x484968(0x129)][_0xa8ce49][_0x484968(0x160)]};ServiceUtil[_0x484968(0x156)](_0xefc941);}catch(_0x5aef48){ServiceUtil[_0x484968(0x140)](_0x5aef48);}return null;}static async[a0_0x50de27(0x164)](_0x4eebce,_0xd0cf54,_0x262a95){const _0x399faf=a0_0x50de27;try{let _0x57a491=await client['query']({'query':a0_0x2d4f9e`
21
21
  query ($id: String!) {
22
- ${_0x3e600c}(id: $id) {
23
- ${_0x2b9a21}
22
+ ${_0x4eebce}(id: $id) {
23
+ ${_0x262a95}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x483586}});if(!_0x343b81[_0x51a929(0x1ad)])return _0x343b81[_0x51a929(0x1d2)][_0x3e600c]||{};ServiceUtil[_0x51a929(0x1e8)](_0x343b81);}catch(_0x503ffb){ServiceUtil[_0x51a929(0x205)](_0x503ffb);}return null;}static[a0_0x3c5331(0x213)](_0x3ff62f,_0x239a52){const _0x515c1c=a0_0x3c5331,_0x9ccd01=_0x3ff62f[_0x515c1c(0x1c4)][_0x515c1c(0x21e)](_0x3a24de=>_0x3a24de['id']);return ValueUtil[_0x515c1c(0x1ae)](_0x9ccd01)&&0x1==_0x239a52&&UiUtil['showAlertPopup'](_0x515c1c(0x1fa),_0x515c1c(0x22d),_0x515c1c(0x1b1),_0x515c1c(0x1c0)),_0x9ccd01;}static async[a0_0x3c5331(0x1b3)](_0x38285f,_0x29abd6){const _0xacbb77=a0_0x3c5331;let _0x2c695d=ServiceUtil[_0xacbb77(0x213)](_0x38285f,!0x0);ValueUtil[_0xacbb77(0x20c)](_0x2c695d)&&(await ServiceUtil['deleteListByIds'](_0x2c695d,_0x29abd6)&&_0x38285f[_0xacbb77(0x1e0)]());}static async[a0_0x3c5331(0x1bf)](_0x264094,_0x526739){const _0x492881=a0_0x3c5331;if(!(await UiUtil[_0x492881(0x1c7)](_0x492881(0x1cc),'text.are_you_sure',_0x492881(0x206),_0x492881(0x1ca),_0x492881(0x1fe)))[_0x492881(0x1f8)])return!0x1;try{const _0x39cb19=await client[_0x492881(0x1db)]({'query':a0_0x246edb`
26
+ `,'variables':{'id':_0xd0cf54}});if(!_0x57a491[_0x399faf(0x170)])return _0x57a491[_0x399faf(0x129)][_0x4eebce]||{};ServiceUtil[_0x399faf(0x156)](_0x57a491);}catch(_0x37f278){ServiceUtil[_0x399faf(0x140)](_0x37f278);}return null;}static[a0_0x50de27(0x17b)](_0x1445b8,_0x203e88){const _0xd31ee9=a0_0x50de27,_0x5c7472=_0x1445b8[_0xd31ee9(0x124)][_0xd31ee9(0x10f)](_0x71837c=>_0x71837c['id']);return ValueUtil['isEmpty'](_0x5c7472)&&0x1==_0x203e88&&UiUtil['showAlertPopup'](_0xd31ee9(0x169),'text.there_is_nothing_to_delete',_0xd31ee9(0x120),_0xd31ee9(0x12f)),_0x5c7472;}static async[a0_0x50de27(0x17e)](_0x42319d,_0x1ff7ab){const _0x9dd37a=a0_0x50de27;let _0x4b25be=ServiceUtil[_0x9dd37a(0x17b)](_0x42319d,!0x0);ValueUtil[_0x9dd37a(0x11c)](_0x4b25be)&&(await ServiceUtil[_0x9dd37a(0x165)](_0x4b25be,_0x1ff7ab)&&_0x42319d[_0x9dd37a(0x175)]());}static async[a0_0x50de27(0x165)](_0x2bc431,_0x2e2170){const _0x46c81e=a0_0x50de27;if(!(await UiUtil[_0x46c81e(0x10a)](_0x46c81e(0x141),'text.are_you_sure',_0x46c81e(0x126),'delete',_0x46c81e(0x16d)))[_0x46c81e(0x148)])return!0x1;try{const _0x5954b2=await client['query']({'query':a0_0x2d4f9e`
27
27
  mutation {
28
- ${_0x526739}(${gqlBuilder[_0x492881(0x207)]({'ids':_0x264094})})
28
+ ${_0x2e2170}(${gqlBuilder[_0x46c81e(0x108)]({'ids':_0x2bc431})})
29
29
  }
30
- `});if(!_0x39cb19[_0x492881(0x1ad)])return UiUtil[_0x492881(0x1c8)](_0x492881(0x1b1),TermsUtil[_0x492881(0x1e3)](_0x492881(0x1b5))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x39cb19);}catch(_0x301361){ServiceUtil['showGraphqlException'](_0x301361);}return!0x1;}static async[a0_0x3c5331(0x1d8)](_0x2f1b9a,_0x5391b6){const _0x311706=a0_0x3c5331;let _0x511552=ServiceUtil[_0x311706(0x20f)](_0x2f1b9a);if(ValueUtil[_0x311706(0x20c)](_0x511552)){let _0x3fbb6f=await ServiceUtil['updateMultiple'](_0x5391b6,_0x511552);if(_0x3fbb6f)return _0x2f1b9a[_0x311706(0x1e0)](),_0x3fbb6f;}return!0x1;}static async[a0_0x3c5331(0x1b2)](_0x21a6a0,_0x1bb1bd){const _0x3b83fe=a0_0x3c5331;try{const _0x5e43c5=await client[_0x3b83fe(0x1db)]({'query':a0_0x246edb`
30
+ `});if(!_0x5954b2['errors'])return UiUtil['showToast'](_0x46c81e(0x120),TermsUtil['tText'](_0x46c81e(0x12c))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5954b2);}catch(_0x404b87){ServiceUtil['showGraphqlException'](_0x404b87);}return!0x1;}static async['updateMultipleData'](_0x369db7,_0x181d77){const _0x320650=a0_0x50de27;let _0x26e4a0=ServiceUtil[_0x320650(0x167)](_0x369db7);if(ValueUtil[_0x320650(0x11c)](_0x26e4a0)){let _0xebb77f=await ServiceUtil[_0x320650(0xfe)](_0x181d77,_0x26e4a0);if(_0xebb77f)return _0x369db7[_0x320650(0x175)](),_0xebb77f;}return!0x1;}static async[a0_0x50de27(0xfe)](_0x27a7fd,_0x3779b0){const _0x13769a=a0_0x50de27;try{const _0x3b7f00=await client[_0x13769a(0x179)]({'query':a0_0x2d4f9e`
31
31
  mutation {
32
- ${_0x21a6a0}(${gqlBuilder[_0x3b83fe(0x207)]({'patches':_0x1bb1bd})}) {
32
+ ${_0x27a7fd}(${gqlBuilder[_0x13769a(0x108)]({'patches':_0x3779b0})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x5e43c5[_0x3b83fe(0x1ad)])return UiUtil[_0x3b83fe(0x1c8)](_0x3b83fe(0x1b1),TermsUtil[_0x3b83fe(0x1e3)]('success\x20to\x20save')),!0x0;ServiceUtil[_0x3b83fe(0x1e8)](_0x5e43c5);}catch(_0x2311e7){ServiceUtil['showGraphqlException'](_0x2311e7);}return!0x1;}static[a0_0x3c5331(0x20f)](_0x40eb27,_0x4948af=!0x1){const _0x17132f=a0_0x3c5331;let _0x1b897c=_0x40eb27[_0x17132f(0x1c9)];if(_0x1b897c&&0x0!=_0x1b897c[_0x17132f(0x1bc)])return _0x1b897c['map'](_0x2f4127=>{const _0x3ae210=_0x17132f;let _0x4f17d4=_0x2f4127['id']?{'id':_0x2f4127['id']}:{};for(let _0xb5fec1 in _0x2f4127)[_0x3ae210(0x1ba),_0x3ae210(0x203),'createdAt',_0x3ae210(0x1f0),_0x3ae210(0x1ea),'__dirtyfields__',_0x3ae210(0x1e2),_0x3ae210(0x209),_0x3ae210(0x22a)]['includes'](_0xb5fec1)||(_0x2f4127[_0xb5fec1]&&_0x3ae210(0x1f5)==typeof _0x2f4127[_0xb5fec1]&&0x0==_0x4948af?_0x4f17d4[_0xb5fec1]={'id':_0x2f4127[_0xb5fec1]['id']}:_0x4f17d4[_0xb5fec1]=_0x2f4127[_0xb5fec1]);return _0x4f17d4['cuFlag']=_0x2f4127[_0x3ae210(0x1ea)],_0x4f17d4;});UiUtil[_0x17132f(0x1c7)](_0x17132f(0x20e),'text.NOTHING_CHANGED',_0x17132f(0x1b1),_0x17132f(0x1c0));}static async[a0_0x3c5331(0x1af)](_0x21f618,_0x4d42b6,_0xf8820){const _0x1323f5=a0_0x3c5331;let _0x34252f=!0x0;_0x21f618&&(_0x34252f=(await UiUtil[_0x1323f5(0x1c7)](_0x1323f5(0x1ef)+_0x21f618,_0x1323f5(0x1c3),_0x1323f5(0x206),_0x1323f5(0x1c0),_0x1323f5(0x1fe)))[_0x1323f5(0x1f8)]);if(_0x34252f)try{const _0x53f1e2=await client[_0x1323f5(0x1db)]({'query':a0_0x246edb`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x3b7f00[_0x13769a(0x170)])return UiUtil['showToast'](_0x13769a(0x120),TermsUtil['tText'](_0x13769a(0x16c))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x3b7f00);}catch(_0xba6911){ServiceUtil['showGraphqlException'](_0xba6911);}return!0x1;}static[a0_0x50de27(0x167)](_0x48a61a,_0x351bd0=!0x1){const _0x26c89a=a0_0x50de27;let _0x5845bb=_0x48a61a[_0x26c89a(0x171)];if(_0x5845bb&&0x0!=_0x5845bb[_0x26c89a(0x11d)])return _0x5845bb[_0x26c89a(0x10f)](_0x1e0270=>{const _0x566d24=_0x26c89a;let _0x33dc91=_0x1e0270['id']?{'id':_0x1e0270['id']}:{};for(let _0x2bf226 in _0x1e0270)[_0x566d24(0x131),_0x566d24(0x15f),_0x566d24(0x12a),_0x566d24(0x178),_0x566d24(0x110),_0x566d24(0x154),'__origin__',_0x566d24(0x132),_0x566d24(0x133)]['includes'](_0x2bf226)||(_0x1e0270[_0x2bf226]&&_0x566d24(0x159)==typeof _0x1e0270[_0x2bf226]&&0x0==_0x351bd0?_0x33dc91[_0x2bf226]={'id':_0x1e0270[_0x2bf226]['id']}:_0x33dc91[_0x2bf226]=_0x1e0270[_0x2bf226]);return _0x33dc91[_0x566d24(0x13e)]=_0x1e0270[_0x566d24(0x110)],_0x33dc91;});UiUtil['showAlertPopup'](_0x26c89a(0x138),'text.NOTHING_CHANGED',_0x26c89a(0x120),_0x26c89a(0x12f));}static async[a0_0x50de27(0x149)](_0x4d19f7,_0x49b507,_0x5710a0){const _0xa32934=a0_0x50de27;let _0xbf3155=!0x0;_0x4d19f7&&(_0xbf3155=(await UiUtil['showAlertPopup'](_0xa32934(0x109)+_0x4d19f7,'text.are_you_sure',_0xa32934(0x126),_0xa32934(0x12f),_0xa32934(0x16d)))[_0xa32934(0x148)]);if(_0xbf3155)try{const _0x4405ee=await client[_0xa32934(0x179)]({'query':a0_0x2d4f9e`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x3c5331=a0_0x2d85;(function(_0x39f14e,_0x468780){const _0x21f677=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x4d42b6,'variables':_0xf8820}});if(_0x53f1e2[_0x1323f5(0x1ad)])ServiceUtil[_0x1323f5(0x1e8)](_0x53f1e2);else{if(this[_0x1323f5(0x1fc)](_0x53f1e2))return UiUtil[_0x1323f5(0x1c8)](_0x1323f5(0x1b1),TermsUtil[_0x1323f5(0x1e3)](_0x1323f5(0x1dc))),_0x53f1e2;}}catch(_0x613bf5){ServiceUtil[_0x1323f5(0x205)](_0x613bf5);}return!0x1;}static[a0_0x3c5331(0x1fc)](_0x5116fa){const _0x3a7380=a0_0x3c5331;if(_0x5116fa&&_0x5116fa['data']&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)]&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)]&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)][_0x3a7380(0x211)]){let _0x186a23=_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)]['error'];return UiUtil[_0x3a7380(0x1c7)](_0x186a23[_0x3a7380(0x22c)],_0x186a23[_0x3a7380(0x1f1)],_0x3a7380(0x211),_0x3a7380(0x1c0)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x49b507,'variables':_0x5710a0}});if(_0x4405ee[_0xa32934(0x170)])ServiceUtil[_0xa32934(0x156)](_0x4405ee);else{if(this[_0xa32934(0x104)](_0x4405ee))return UiUtil[_0xa32934(0x12e)]('info',TermsUtil[_0xa32934(0x128)](_0xa32934(0x14f))),_0x4405ee;}}catch(_0x10400d){ServiceUtil[_0xa32934(0x140)](_0x10400d);}return!0x1;}static[a0_0x50de27(0x104)](_0x91d11a){const _0x3251f1=a0_0x50de27;if(_0x91d11a&&_0x91d11a[_0x3251f1(0x129)]&&_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)]&&_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)][_0x3251f1(0x129)]&&_0x91d11a[_0x3251f1(0x129)]['runScenario'][_0x3251f1(0x129)][_0x3251f1(0x15b)]){let _0x10009b=_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)][_0x3251f1(0x129)]['error'];return UiUtil['showAlertPopup'](_0x10009b[_0x3251f1(0x173)],_0x10009b[_0x3251f1(0x15e)],'error',_0x3251f1(0x12f)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x13c3bb=a0_0x23df;(function(_0x868cbf,_0x3488a6){const _0x3055fb=a0_0x23df,_0x1883fe=_0x868cbf();while(!![]){try{const _0x1ffd2a=-parseInt(_0x3055fb(0x1ab))/0x1+parseInt(_0x3055fb(0x1bd))/0x2*(-parseInt(_0x3055fb(0x1b3))/0x3)+parseInt(_0x3055fb(0x1b9))/0x4+parseInt(_0x3055fb(0x1c0))/0x5+-parseInt(_0x3055fb(0x1c1))/0x6*(parseInt(_0x3055fb(0x1b8))/0x7)+-parseInt(_0x3055fb(0x1b1))/0x8+-parseInt(_0x3055fb(0x1a9))/0x9*(-parseInt(_0x3055fb(0x1c9))/0xa);if(_0x1ffd2a===_0x3488a6)break;else _0x1883fe['push'](_0x1883fe['shift']());}catch(_0x5a5a91){_0x1883fe['push'](_0x1883fe['shift']());}}}(a0_0x7452,0x18d95));function a0_0x7452(){const _0x2b325b=['error','length','data','fetchTerminologies','1200400mwxbME','tMenu','downloadTerminologies','tError','title','27OVSECr','tText','4039ZvqsbV','tField','total','records','replace','field','1056416EXeZnc','display','3wETZAW','tButton','META_TERMS','terminologies','keys','1263773okAPoQ','312836JgdnyA','button','query','menu','271978YLgZcQ','translate','forEach','580355ctbKtw','6ISBqLp','tTitle','category','name'];a0_0x7452=function(){return _0x2b325b;};return a0_0x7452();}function a0_0x23df(_0x5be656,_0x18331c){const _0x745284=a0_0x7452();return a0_0x23df=function(_0x23df30,_0x3e997f){_0x23df30=_0x23df30-0x1a8;let _0xca9bb7=_0x745284[_0x23df30];return _0xca9bb7;},a0_0x23df(_0x5be656,_0x18331c);}import a0_0x19e0e6 from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x13c3bb(0x1cb)](_0x4ac6ec){const _0x1f37a0=a0_0x13c3bb;let _0x226c3f=(await TermsUtil[_0x1f37a0(0x1c8)](_0x4ac6ec))[_0x1f37a0(0x1ae)];_0x226c3f&&_0x226c3f[_0x1f37a0(0x1c6)]>0x0&&(this[_0x1f37a0(0x1b5)]={},_0x226c3f[_0x1f37a0(0x1bf)](_0x3653bb=>{const _0x2cc29c=_0x1f37a0;let _0x46f6c7=_0x3653bb[_0x2cc29c(0x1c3)]+'.'+_0x3653bb[_0x2cc29c(0x1c4)];this[_0x2cc29c(0x1b5)][_0x46f6c7]=_0x3653bb[_0x2cc29c(0x1b2)];}));}static async['fetchTerminologies'](_0x46787b){const _0x8ad5c7=a0_0x13c3bb;let _0x18e0e3=[{'name':'locale','operator':'eq','value':_0x46787b}];const _0x26ba72=await client[_0x8ad5c7(0x1bb)]({'query':a0_0x19e0e6`
1
+ const a0_0x1f1020=a0_0xc485;(function(_0x581d5a,_0x4b48e8){const _0x352394=a0_0xc485,_0x23e8d1=_0x581d5a();while(!![]){try{const _0x4c5660=parseInt(_0x352394(0xef))/0x1+parseInt(_0x352394(0xea))/0x2+parseInt(_0x352394(0x10f))/0x3*(-parseInt(_0x352394(0x101))/0x4)+-parseInt(_0x352394(0x105))/0x5*(parseInt(_0x352394(0xf3))/0x6)+parseInt(_0x352394(0xed))/0x7*(-parseInt(_0x352394(0x10b))/0x8)+parseInt(_0x352394(0x103))/0x9+-parseInt(_0x352394(0xf4))/0xa*(-parseInt(_0x352394(0x100))/0xb);if(_0x4c5660===_0x4b48e8)break;else _0x23e8d1['push'](_0x23e8d1['shift']());}catch(_0xce70be){_0x23e8d1['push'](_0x23e8d1['shift']());}}}(a0_0x53a6,0x988ca));import a0_0x22dbd6 from'graphql-tag';function a0_0x53a6(){const _0xeb9106=['total','65639Iiecoc','META_TERMS','321145GZMpqE','data','errors','query','7086FHMxWF','4573160rxYaam','translate','text','terminologies','error','field','items','keys','records','tMenu','title','forEach','22DrGCnN','1553972gPjOel','tError','3483018zBbCxE','menu','1585boeBsH','tField','tTitle','category','replace','locale','328ymlVBT','tButton','fetchTerminologies','display','6cRiSCu','button','1075766SSrBxw','tLabel'];a0_0x53a6=function(){return _0xeb9106;};return a0_0x53a6();}function a0_0xc485(_0x3cd7bf,_0x1248b5){const _0x53a668=a0_0x53a6();return a0_0xc485=function(_0xc4850c,_0x20e477){_0xc4850c=_0xc4850c-0xe9;let _0x981064=_0x53a668[_0xc4850c];return _0x981064;},a0_0xc485(_0x3cd7bf,_0x1248b5);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x1f1020(0xee)]=null;static async['downloadTerminologies'](_0x1afee1){const _0xbf46b9=a0_0x1f1020;let _0x2d1487=(await TermsUtil['fetchTerminologies'](_0x1afee1))[_0xbf46b9(0xfc)];_0x2d1487&&_0x2d1487['length']>0x0&&(this['META_TERMS']={},_0x2d1487[_0xbf46b9(0xff)](_0x173b93=>{const _0x230dc5=_0xbf46b9;let _0x5b98a7=_0x173b93[_0x230dc5(0x108)]+'.'+_0x173b93['name'];this[_0x230dc5(0xee)][_0x5b98a7]=_0x173b93[_0x230dc5(0x10e)];}));}static async[a0_0x1f1020(0x10d)](_0x441a3e){const _0x165896=a0_0x1f1020;let _0x825881=[{'name':_0x165896(0x10a),'operator':'eq','value':_0x441a3e}];const _0x3a1cac=await client[_0x165896(0xf2)]({'query':a0_0x22dbd6`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ const a0_0x13c3bb=a0_0x23df;(function(_0x868cbf,_0x3488a6){const _0x3055fb=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x18e0e3,'sortings':[{'name':_0x8ad5c7(0x1c3)},{'name':_0x8ad5c7(0x1c4)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x26ba72['errors'])return{'records':_0x26ba72[_0x8ad5c7(0x1c7)][_0x8ad5c7(0x1b6)]['items']||[],'total':_0x26ba72[_0x8ad5c7(0x1c7)][_0x8ad5c7(0x1b6)][_0x8ad5c7(0x1ad)]||0x0};}static['tLabel'](_0x1be380,_0x53f911){const _0x4bbc9a=a0_0x13c3bb;let _0xd6550c=TermsUtil[_0x4bbc9a(0x1be)]('label',_0x1be380,_0x53f911,null);return _0xd6550c||TermsUtil[_0x4bbc9a(0x1be)](_0x4bbc9a(0x1b0),_0x1be380,_0x53f911,_0x1be380);}static[a0_0x13c3bb(0x1ac)](_0x4cc479,_0xc1ebf1){const _0x6765e1=a0_0x13c3bb;let _0x548062=TermsUtil[_0x6765e1(0x1be)](_0x6765e1(0x1b0),_0x4cc479,_0xc1ebf1,null);return _0x548062||TermsUtil['translate'](_0x6765e1(0x1b0),_0x4cc479,_0xc1ebf1,_0x4cc479);}static[a0_0x13c3bb(0x1b4)](_0x2bb96e){const _0xa7b01a=a0_0x13c3bb;return TermsUtil[_0xa7b01a(0x1be)](_0xa7b01a(0x1ba),_0x2bb96e,null,_0x2bb96e);}static[a0_0x13c3bb(0x1c2)](_0x2404bc,_0x939619){const _0x206a2a=a0_0x13c3bb;let _0x3b14bc=TermsUtil[_0x206a2a(0x1be)]('title',_0x2404bc,_0x939619,null);return _0x3b14bc||TermsUtil[_0x206a2a(0x1be)](_0x206a2a(0x1bc),_0x2404bc,_0x939619,_0x2404bc);}static[a0_0x13c3bb(0x1ca)](_0x49bb5d){const _0x2a8d53=a0_0x13c3bb;let _0x4df15b=TermsUtil[_0x2a8d53(0x1be)]('menu',_0x49bb5d,null,_0x49bb5d);return _0x4df15b||TermsUtil[_0x2a8d53(0x1be)](_0x2a8d53(0x1a8),_0x49bb5d,null,_0x49bb5d);}static[a0_0x13c3bb(0x1aa)](_0x1d212c,_0x462362){const _0x49741b=a0_0x13c3bb;return TermsUtil[_0x49741b(0x1be)]('text',_0x1d212c,_0x462362,_0x1d212c);}static[a0_0x13c3bb(0x1cc)](_0x1e3fcb,_0x13379c){const _0x77bc5e=a0_0x13c3bb;return TermsUtil[_0x77bc5e(0x1be)](_0x77bc5e(0x1c5),_0x1e3fcb,_0x13379c,_0x1e3fcb);}static[a0_0x13c3bb(0x1be)](_0x4eb3bc,_0xf1664a,_0x32697f,_0x58ea26){let _0x3a4753=_0x4eb3bc+'.'+_0xf1664a;return TermsUtil['t'](_0x3a4753,_0x32697f,_0x58ea26);}static['t'](_0x2c5ee4,_0x51abe7,_0x3dc4ae){const _0x46995b=a0_0x13c3bb;let _0x338393=this[_0x46995b(0x1b5)]?this[_0x46995b(0x1b5)][_0x2c5ee4]:null;return _0x338393=_0x338393||i18next['t'](_0x2c5ee4),_0x338393&&_0x2c5ee4!=_0x338393?(_0x51abe7&&Object[_0x46995b(0x1b7)](_0x51abe7)[_0x46995b(0x1bf)](function(_0x1e4cbd){const _0x3880ce=_0x46995b;var _0x59c0b1='\x5c{'+_0x1e4cbd[_0x3880ce(0x1af)](/\$/,'\x5c$')+'\x5c}',_0x50e8c7=new RegExp(_0x59c0b1,'gi');_0x338393=_0x338393[_0x3880ce(0x1af)](_0x50e8c7,_0x51abe7[_0x1e4cbd]);}),_0x338393):_0x3dc4ae;}}
14
+ `,'variables':{'filters':_0x825881,'sortings':[{'name':_0x165896(0x108)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x3a1cac[_0x165896(0xf1)])return{'records':_0x3a1cac[_0x165896(0xf0)][_0x165896(0xf7)][_0x165896(0xfa)]||[],'total':_0x3a1cac['data'][_0x165896(0xf7)][_0x165896(0xec)]||0x0};}static[a0_0x1f1020(0xeb)](_0x9efca4,_0xf6aedf){const _0x1528b3=a0_0x1f1020;let _0x178501=TermsUtil[_0x1528b3(0xf5)]('label',_0x9efca4,_0xf6aedf,null);return _0x178501||TermsUtil[_0x1528b3(0xf5)](_0x1528b3(0xf9),_0x9efca4,_0xf6aedf,_0x9efca4);}static[a0_0x1f1020(0x106)](_0x17eb94,_0x2e30c2){const _0x567fa8=a0_0x1f1020;let _0x1d5b8e=TermsUtil[_0x567fa8(0xf5)](_0x567fa8(0xf9),_0x17eb94,_0x2e30c2,null);return _0x1d5b8e||TermsUtil[_0x567fa8(0xf5)](_0x567fa8(0xf9),_0x17eb94,_0x2e30c2,_0x17eb94);}static[a0_0x1f1020(0x10c)](_0x118060){const _0x4b1030=a0_0x1f1020;return TermsUtil[_0x4b1030(0xf5)](_0x4b1030(0xe9),_0x118060,null,_0x118060);}static[a0_0x1f1020(0x107)](_0x1ab4ca,_0x3f2de9){const _0x4399f8=a0_0x1f1020;let _0x434594=TermsUtil[_0x4399f8(0xf5)](_0x4399f8(0xfe),_0x1ab4ca,_0x3f2de9,null);return _0x434594||TermsUtil[_0x4399f8(0xf5)](_0x4399f8(0x104),_0x1ab4ca,_0x3f2de9,_0x1ab4ca);}static[a0_0x1f1020(0xfd)](_0x15222b){const _0x3ad77e=a0_0x1f1020;let _0x135f66=TermsUtil[_0x3ad77e(0xf5)](_0x3ad77e(0x104),_0x15222b,null,_0x15222b);return _0x135f66||TermsUtil[_0x3ad77e(0xf5)](_0x3ad77e(0xfe),_0x15222b,null,_0x15222b);}static['tText'](_0x20ed23,_0x4ca930){const _0x26f057=a0_0x1f1020;return TermsUtil['translate'](_0x26f057(0xf6),_0x20ed23,_0x4ca930,_0x20ed23);}static[a0_0x1f1020(0x102)](_0x8427c2,_0x5330e9){const _0x4b9a4e=a0_0x1f1020;return TermsUtil[_0x4b9a4e(0xf5)](_0x4b9a4e(0xf8),_0x8427c2,_0x5330e9,_0x8427c2);}static[a0_0x1f1020(0xf5)](_0xb8f461,_0x1844da,_0x5a77ad,_0x25d1ce){let _0x390f7c=_0xb8f461+'.'+_0x1844da;return TermsUtil['t'](_0x390f7c,_0x5a77ad,_0x25d1ce);}static['t'](_0x345b05,_0x1db985,_0x2b397e){const _0x10e1ac=a0_0x1f1020;let _0x9c81d3=this[_0x10e1ac(0xee)]?this[_0x10e1ac(0xee)][_0x345b05]:null;return _0x9c81d3=_0x9c81d3||i18next['t'](_0x345b05),_0x9c81d3&&_0x345b05!=_0x9c81d3?(_0x1db985&&Object[_0x10e1ac(0xfb)](_0x1db985)[_0x10e1ac(0xff)](function(_0x385d77){const _0x4e184c=_0x10e1ac;var _0x47ad18='\x5c{'+_0x385d77[_0x4e184c(0x109)](/\$/,'\x5c$')+'\x5c}',_0x3a0944=new RegExp(_0x47ad18,'gi');_0x9c81d3=_0x9c81d3[_0x4e184c(0x109)](_0x3a0944,_0x1db985[_0x385d77]);}),_0x9c81d3):_0x2b397e;}}
@@ -1 +1 @@
1
- const a0_0x15de1a=a0_0x2434;(function(_0x225f79,_0x3372d6){const _0x5f2eab=a0_0x2434,_0x5f5067=_0x225f79();while(!![]){try{const _0x372b62=parseInt(_0x5f2eab(0x1d4))/0x1+-parseInt(_0x5f2eab(0x1be))/0x2+-parseInt(_0x5f2eab(0x1d7))/0x3*(-parseInt(_0x5f2eab(0x1db))/0x4)+parseInt(_0x5f2eab(0x1b4))/0x5*(-parseInt(_0x5f2eab(0x1cd))/0x6)+parseInt(_0x5f2eab(0x19d))/0x7*(-parseInt(_0x5f2eab(0x1b9))/0x8)+-parseInt(_0x5f2eab(0x1aa))/0x9*(-parseInt(_0x5f2eab(0x1af))/0xa)+-parseInt(_0x5f2eab(0x1d6))/0xb;if(_0x372b62===_0x3372d6)break;else _0x5f5067['push'](_0x5f5067['shift']());}catch(_0xb44ee8){_0x5f5067['push'](_0x5f5067['shift']());}}}(a0_0x34f5,0xf1018));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';function a0_0x34f5(){const _0x3868d5=['showToast','querySelector','getLeafInput','popup_field','49kfuLjZ','filters','parent_field','getState','pageNavigate','getFilterFormData','cancelButton','textarea','name','size','ox-input-barcode','content','setValueToEditor','14418mznVqo','\x20route_name=\x27','app','getType','innerHTML','9320vfwVbf','isMobileEnv','getParams','getStore','isNotEmpty','1216395alSiyT','\x27></','fireCustomEvent','barcode','tagname','743368orDqBd','cookie','stringify','currentLocale','i18next','2648870zqqFfl','\x27\x20is_popup=true></','\x27\x20\x20parent_id=\x27','input','replace','htmlToElement','childNodes','createEditorHtml','substring','ox-select','select-combo','length','template','dispatchEvent','showAlertPopup','6yFbdyj','currentRouting','renderRoot','forEach','notify','openPopupByElement','indexOf','781342HUfSKJ','i18next=','7406553MfqqYZ','9xqbkxT','onclosed','confirmButton','[name=\x27','2138984pwoaDm','type','tButton','getApplicationModuleInfo','split','value','createElement'];a0_0x34f5=function(){return _0x3868d5;};return a0_0x34f5();}import{isMobileDevice}from'@things-factory/utils';function a0_0x2434(_0x49f539,_0x55d5c1){const _0x34f514=a0_0x34f5();return a0_0x2434=function(_0x24346d,_0x45e54a){_0x24346d=_0x24346d-0x19b;let _0x3bf739=_0x34f514[_0x24346d];return _0x3bf739;},a0_0x2434(_0x49f539,_0x55d5c1);}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x15de1a(0x1b0)](){return isMobileDevice();}static[a0_0x15de1a(0x1bc)](){const _0x362c52=a0_0x15de1a;let _0x37ac73=document[_0x362c52(0x1ba)];return _0x37ac73=_0x37ac73[_0x362c52(0x1c6)](_0x37ac73[_0x362c52(0x1d3)](_0x362c52(0x1bd))),_0x37ac73[_0x362c52(0x1d3)](';')>-0x1&&(_0x37ac73=_0x37ac73[_0x362c52(0x1c6)](0x0,_0x37ac73[_0x362c52(0x1d3)](';'))),_0x37ac73=_0x37ac73[_0x362c52(0x1c2)](_0x362c52(0x1d5),''),'ko'==_0x37ac73?'ko-KR':_0x37ac73;}static[a0_0x15de1a(0x1de)](){const _0x33c8f5=a0_0x15de1a;let _0x21f099=store[_0x33c8f5(0x1a0)]()[_0x33c8f5(0x1ac)]['modules'];return _0x21f099[_0x21f099[_0x33c8f5(0x1c9)]-0x1];}static[a0_0x15de1a(0x1ce)](){const _0x53b732=a0_0x15de1a;return store[_0x53b732(0x1a0)]()['route']['page'];}static[a0_0x15de1a(0x1d2)](_0x5f55c4,_0x5458a0,_0x144a35,_0x5da060){return openPopup(_0x144a35,{'backdrop':!0x0,'size':_0x5458a0,'title':_0x5f55c4,'backdrop':_0x5da060});}static async['openDynamicPopup'](_0x58c23f,_0x289857,_0x3d19e9,_0x12281d){const _0x35b6ff=a0_0x15de1a;let _0x53c7e7=ValueUtil[_0x35b6ff(0x1b3)](_0x289857[_0x35b6ff(0x19f)])?ValueUtil[_0x35b6ff(0x1b1)](_0x3d19e9,..._0x289857[_0x35b6ff(0x19f)][_0x35b6ff(0x1df)]('.')):void 0x0,_0x1dd955='<'+_0x289857['tagname']+_0x35b6ff(0x1ab)+_0x289857['menu']+_0x35b6ff(0x1c0)+_0x53c7e7+_0x35b6ff(0x1bf)+_0x289857[_0x35b6ff(0x1b8)]+'>',_0x1c54e6=UiUtil[_0x35b6ff(0x1c3)](_0x1dd955);_0x1c54e6['config']=_0x289857,ValueUtil[_0x35b6ff(0x1b3)](_0x289857[_0x35b6ff(0x19c)])&&(_0x1c54e6[_0x289857['popup_field']]=_0x3d19e9);let _0x5ec8cd=UiUtil['openPopupByElement'](_0x58c23f,_0x289857[_0x35b6ff(0x1a6)],_0x1c54e6,!0x0);_0x12281d&&(_0x5ec8cd[_0x35b6ff(0x1d8)]=_0x12281d);}static['createCustomElement'](_0x579d56,_0x4351cb){const _0x3cb721=a0_0x15de1a;let _0x1e9cd0='<'+_0x579d56+_0x3cb721(0x1ab)+_0x4351cb+_0x3cb721(0x1b5)+_0x579d56+'>';return UiUtil['htmlToElement'](_0x1e9cd0);}static['htmlToElement'](_0x43817e){const _0x2d73dd=a0_0x15de1a;var _0x522a14=document[_0x2d73dd(0x1e1)](_0x2d73dd(0x1ca));_0x522a14[_0x2d73dd(0x1ae)]=_0x43817e;var _0xcdda25=_0x522a14[_0x2d73dd(0x1a8)][_0x2d73dd(0x1c4)][0x0];return _0x522a14[_0x2d73dd(0x1a8)]['removeChild'](_0xcdda25),_0xcdda25;}static[a0_0x15de1a(0x1a1)](_0x1bda2e,_0x310a5c){const _0x4776ce=a0_0x15de1a;let _0x128d15=_0x310a5c?'?':'';_0x310a5c&&(_0x128d15+='pass='+JSON[_0x4776ce(0x1bb)](_0x310a5c)),navigate(''+_0x1bda2e+_0x128d15);}static[a0_0x15de1a(0x1b2)](_0x44c35,_0x54cf7c,_0x6543b6){let _0x55bde7=_0x55bde7['getState']();return _0x44c35&&_0x54cf7c&&_0x6543b6?_0x55bde7[_0x44c35][_0x54cf7c][_0x6543b6]:_0x44c35&&_0x54cf7c?_0x55bde7[_0x44c35][_0x54cf7c]:_0x44c35?_0x55bde7[_0x44c35]:_0x55bde7;}static[a0_0x15de1a(0x1b6)](_0x26c966,_0x928c71){const _0x501fae=a0_0x15de1a;document[_0x501fae(0x1cb)](new CustomEvent(_0x26c966,{'detail':_0x928c71}));}static[a0_0x15de1a(0x1e2)](_0x474565,_0x511900){const _0x4d9bfb=a0_0x15de1a;document[_0x4d9bfb(0x1cb)](new CustomEvent(_0x4d9bfb(0x1d1),{'detail':{'type':_0x474565,'message':_0x511900}}));}static async[a0_0x15de1a(0x1cc)](_0x5249b3,_0x3f7bb3,_0x1811e9,_0x32cb4c,_0x2dd2ae){const _0x445509=a0_0x15de1a;let _0x43ca6e={'title':TermsUtil['t'](_0x5249b3)||_0x5249b3,'text':TermsUtil['t'](_0x3f7bb3)||_0x3f7bb3};return _0x1811e9&&(_0x43ca6e[_0x445509(0x1dc)]=_0x1811e9),_0x32cb4c&&(_0x43ca6e[_0x445509(0x1d9)]=TermsUtil[_0x445509(0x1dd)](_0x32cb4c)),_0x2dd2ae&&(_0x43ca6e[_0x445509(0x1a3)]=TermsUtil[_0x445509(0x1dd)](_0x2dd2ae)),await CustomAlert(_0x43ca6e);}static[a0_0x15de1a(0x1a2)](_0x57d9ba){const _0x5a5620=a0_0x15de1a;if(ValueUtil[_0x5a5620(0x1b3)](_0x57d9ba)){let _0x45c102=_0x57d9ba[_0x5a5620(0x19e)]();ValueUtil[_0x5a5620(0x1b3)](_0x45c102)&&_0x45c102[_0x5a5620(0x1d0)](_0xce1fc2=>{const _0x1e79fd=_0x5a5620;ValueUtil[_0x1e79fd(0x1b3)](_0xce1fc2[_0x1e79fd(0x1e0)])&&(item[_0xce1fc2[_0x1e79fd(0x1a5)]]=_0xce1fc2['value']?_0xce1fc2[_0x1e79fd(0x1e0)]:null);});}return{};}static['setSearchFormEditorValue'](_0x116607,_0x41fd78,_0x366d66){const _0x18ebe8=a0_0x15de1a;if(ValueUtil[_0x18ebe8(0x1b3)](_0x116607)){let _0xc4ccf0=_0x116607[_0x18ebe8(0x1cf)]?.['querySelector'](_0x18ebe8(0x1da)+_0x41fd78+'\x27]');ValueUtil[_0x18ebe8(0x1b3)](_0xc4ccf0)&&(_0xc4ccf0[_0x18ebe8(0x1e0)]=_0x366d66);}}static[a0_0x15de1a(0x1c5)](_0x265157,_0x3a0612,_0x47f618,_0x580458){return getEditor(_0x265157)('',_0x3a0612,_0x47f618,_0x580458,{});}static[a0_0x15de1a(0x1a9)](_0x94d6a1,_0x24bbff){const _0xd209fc=a0_0x15de1a;UiUtil[_0xd209fc(0x19b)](_0x94d6a1)['value']=_0x24bbff;}static[a0_0x15de1a(0x19b)](_0x2d2ed3){const _0x18ebf2=a0_0x15de1a;let _0x1e9e33=_0x2d2ed3[_0x18ebf2(0x1ad)]();return'code-editor'==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)]('ox-input-code'):_0x18ebf2(0x1a4)==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)]('textarea'):_0x18ebf2(0x1c8)==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)](_0x18ebf2(0x1c7))['firstElementChild']:_0x18ebf2(0x1b7)==_0x1e9e33?_0x2d2ed3['renderRoot'][_0x18ebf2(0x1e3)](_0x18ebf2(0x1a7))['renderRoot'][_0x18ebf2(0x1e3)](_0x18ebf2(0x1c1)):_0x2d2ed3[_0x18ebf2(0x1cf)]['firstElementChild']['editor'];}}
1
+ function a0_0x24b2(_0x2648fd,_0x1e67fe){const _0x44fa35=a0_0x44fa();return a0_0x24b2=function(_0x24b2c8,_0x4f5d90){_0x24b2c8=_0x24b2c8-0x94;let _0x316f21=_0x44fa35[_0x24b2c8];return _0x316f21;},a0_0x24b2(_0x2648fd,_0x1e67fe);}const a0_0x1205f5=a0_0x24b2;(function(_0x398e24,_0x443402){const _0x139e59=a0_0x24b2,_0x52802f=_0x398e24();while(!![]){try{const _0x4801eb=parseInt(_0x139e59(0xa0))/0x1*(-parseInt(_0x139e59(0xc6))/0x2)+parseInt(_0x139e59(0xd5))/0x3+parseInt(_0x139e59(0xc9))/0x4+-parseInt(_0x139e59(0xd0))/0x5+parseInt(_0x139e59(0xa1))/0x6+parseInt(_0x139e59(0xd2))/0x7+-parseInt(_0x139e59(0xc0))/0x8;if(_0x4801eb===_0x443402)break;else _0x52802f['push'](_0x52802f['shift']());}catch(_0x1d5486){_0x52802f['push'](_0x52802f['shift']());}}}(a0_0x44fa,0x6ec19));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x44fa(){const _0x6e87c=['2181280sRLMBj','config','6258966xsYstE','renderRoot','ox-input-code','162921BciVMo','popup_field','dispatchEvent','tButton','ko-KR','ox-input-barcode','stringify','substring','[name=\x27','forEach','barcode','getState','name','109017zNpqCs','2909958QYrcnD','notify','currentLocale','template','tagname','pageNavigate','currentRouting','onclosed','route','getStore','select-combo','firstElementChild','showAlertPopup','confirmButton','createElement','getType','parent_field','openPopupByElement','getFilterFormData','showToast','content','createEditorHtml','openDynamicPopup','code-editor','cancelButton','querySelector','replace','split','\x20route_name=\x27','getLeafInput','createCustomElement','3935736trEOIB','input','i18next','isNotEmpty','cookie','textarea','6gEQGQe','indexOf','\x27></','1101972OvWBez','htmlToElement','value','pass=','type','isMobileEnv','length'];a0_0x44fa=function(){return _0x6e87c;};return a0_0x44fa();}import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x1205f5(0xce)](){return isMobileDevice();}static[a0_0x1205f5(0xa3)](){const _0x4832be=a0_0x1205f5;let _0x358671=document[_0x4832be(0xc4)];return _0x358671=_0x358671[_0x4832be(0x9a)](_0x358671[_0x4832be(0xc7)](_0x4832be(0xc2))),_0x358671[_0x4832be(0xc7)](';')>-0x1&&(_0x358671=_0x358671[_0x4832be(0x9a)](0x0,_0x358671[_0x4832be(0xc7)](';'))),_0x358671=_0x358671[_0x4832be(0xbb)]('i18next=',''),'ko'==_0x358671?_0x4832be(0x97):_0x358671;}static['getApplicationModuleInfo'](){const _0x4eaa7b=a0_0x1205f5;let _0x19ffc4=store['getState']()['app']['modules'];return _0x19ffc4[_0x19ffc4[_0x4eaa7b(0xcf)]-0x1];}static[a0_0x1205f5(0xa7)](){const _0xa84240=a0_0x1205f5;return store['getState']()[_0xa84240(0xa9)]['page'];}static[a0_0x1205f5(0xb2)](_0x58805c,_0x3615cc,_0x361d4d,_0x49b1ec){return openPopup(_0x361d4d,{'backdrop':!0x0,'size':_0x3615cc,'title':_0x58805c,'backdrop':_0x49b1ec});}static async[a0_0x1205f5(0xb7)](_0x424f4c,_0x176a63,_0x1c998f,_0x27eeca){const _0x43a1e0=a0_0x1205f5;let _0x4288da=ValueUtil['isNotEmpty'](_0x176a63[_0x43a1e0(0xb1)])?ValueUtil['getParams'](_0x1c998f,..._0x176a63[_0x43a1e0(0xb1)][_0x43a1e0(0xbc)]('.')):void 0x0,_0x19d9d='<'+_0x176a63['tagname']+'\x20route_name=\x27'+_0x176a63['menu']+'\x27\x20\x20parent_id=\x27'+_0x4288da+'\x27\x20is_popup=true></'+_0x176a63[_0x43a1e0(0xa5)]+'>',_0x112c3a=UiUtil[_0x43a1e0(0xca)](_0x19d9d);_0x112c3a[_0x43a1e0(0xd1)]=_0x176a63,ValueUtil[_0x43a1e0(0xc3)](_0x176a63[_0x43a1e0(0x94)])&&(_0x112c3a[_0x176a63[_0x43a1e0(0x94)]]=_0x1c998f);let _0x50df01=UiUtil[_0x43a1e0(0xb2)](_0x424f4c,_0x176a63['size'],_0x112c3a,!0x0);_0x27eeca&&(_0x50df01[_0x43a1e0(0xa8)]=_0x27eeca);}static[a0_0x1205f5(0xbf)](_0x1ac12b,_0x512f55){const _0x14a9d7=a0_0x1205f5;let _0xc3c3bc='<'+_0x1ac12b+_0x14a9d7(0xbd)+_0x512f55+_0x14a9d7(0xc8)+_0x1ac12b+'>';return UiUtil[_0x14a9d7(0xca)](_0xc3c3bc);}static[a0_0x1205f5(0xca)](_0x227bd9){const _0x11a7c2=a0_0x1205f5;var _0x56604f=document[_0x11a7c2(0xaf)](_0x11a7c2(0xa4));_0x56604f['innerHTML']=_0x227bd9;var _0x3d4fed=_0x56604f[_0x11a7c2(0xb5)]['childNodes'][0x0];return _0x56604f[_0x11a7c2(0xb5)]['removeChild'](_0x3d4fed),_0x3d4fed;}static[a0_0x1205f5(0xa6)](_0x21a0b4,_0x255fe5){const _0x1778f6=a0_0x1205f5;let _0x1e6b3c=_0x255fe5?'?':'';_0x255fe5&&(_0x1e6b3c+=_0x1778f6(0xcc)+JSON[_0x1778f6(0x99)](_0x255fe5)),navigate(''+_0x21a0b4+_0x1e6b3c);}static[a0_0x1205f5(0xaa)](_0x143958,_0x563475,_0x241711){const _0x53dd06=a0_0x1205f5;let _0x336f62=_0x336f62[_0x53dd06(0x9e)]();return _0x143958&&_0x563475&&_0x241711?_0x336f62[_0x143958][_0x563475][_0x241711]:_0x143958&&_0x563475?_0x336f62[_0x143958][_0x563475]:_0x143958?_0x336f62[_0x143958]:_0x336f62;}static['fireCustomEvent'](_0x326d6c,_0x4cb66b){const _0x8de865=a0_0x1205f5;document[_0x8de865(0x95)](new CustomEvent(_0x326d6c,{'detail':_0x4cb66b}));}static[a0_0x1205f5(0xb4)](_0x5b3388,_0x2aa20c){const _0x52202e=a0_0x1205f5;document[_0x52202e(0x95)](new CustomEvent(_0x52202e(0xa2),{'detail':{'type':_0x5b3388,'message':_0x2aa20c}}));}static async[a0_0x1205f5(0xad)](_0x44d53c,_0x3d5e8e,_0x4d4c75,_0x3441cb,_0x3cf2ff){const _0x1bd342=a0_0x1205f5;let _0x3eabdb={'title':TermsUtil['t'](_0x44d53c)||_0x44d53c,'text':TermsUtil['t'](_0x3d5e8e)||_0x3d5e8e};return _0x4d4c75&&(_0x3eabdb[_0x1bd342(0xcd)]=_0x4d4c75),_0x3441cb&&(_0x3eabdb[_0x1bd342(0xae)]=TermsUtil['tButton'](_0x3441cb)),_0x3cf2ff&&(_0x3eabdb[_0x1bd342(0xb9)]=TermsUtil[_0x1bd342(0x96)](_0x3cf2ff)),await CustomAlert(_0x3eabdb);}static[a0_0x1205f5(0xb3)](_0x1a575f){const _0x5a78eb=a0_0x1205f5;if(ValueUtil[_0x5a78eb(0xc3)](_0x1a575f)){let _0x2842e7=_0x1a575f['filters']();ValueUtil[_0x5a78eb(0xc3)](_0x2842e7)&&_0x2842e7[_0x5a78eb(0x9c)](_0x3d60d1=>{const _0x3ba81b=_0x5a78eb;ValueUtil[_0x3ba81b(0xc3)](_0x3d60d1[_0x3ba81b(0xcb)])&&(item[_0x3d60d1[_0x3ba81b(0x9f)]]=_0x3d60d1['value']?_0x3d60d1['value']:null);});}return{};}static['setSearchFormEditorValue'](_0xeee293,_0x604fb9,_0x4bc430){const _0x558493=a0_0x1205f5;if(ValueUtil[_0x558493(0xc3)](_0xeee293)){let _0x5c165a=_0xeee293[_0x558493(0xd3)]?.[_0x558493(0xba)](_0x558493(0x9b)+_0x604fb9+'\x27]');ValueUtil['isNotEmpty'](_0x5c165a)&&(_0x5c165a[_0x558493(0xcb)]=_0x4bc430);}}static[a0_0x1205f5(0xb6)](_0x2b7ab2,_0x219b6c,_0x5672e6,_0x42e23f){return getEditor(_0x2b7ab2)('',_0x219b6c,_0x5672e6,_0x42e23f,{});}static['setValueToEditor'](_0x523d46,_0x34b4cc){const _0x3b928d=a0_0x1205f5;UiUtil[_0x3b928d(0xbe)](_0x523d46)['value']=_0x34b4cc;}static['getLeafInput'](_0x341853){const _0x1d6a97=a0_0x1205f5;let _0x3089dd=_0x341853[_0x1d6a97(0xb0)]();return _0x1d6a97(0xb8)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0xd4)):_0x1d6a97(0xc5)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0xc5)):_0x1d6a97(0xab)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)]('ox-select')[_0x1d6a97(0xac)]:_0x1d6a97(0x9d)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0x98))[_0x1d6a97(0xd3)]['querySelector'](_0x1d6a97(0xc1)):_0x341853['renderRoot'][_0x1d6a97(0xac)]['editor'];}}
@@ -1 +1 @@
1
- function a0_0x2e37(){const _0x22b05e=['map','toBoolean','boolean','forEach','compareObjectValues','5096966sSwpdq','populateObject','242IHOykE','TRUE','2104880ZcjOyH','3726543kMtMfA','object','7891260UpiJnm','isArray','length','124fAbbYI','104067mwPRrF','string','number','400bzkXVH','slice','keys','isEquals','populateArray','1508375goTfli','isEmpty','getParams','61655vwyyBR','isNotEmpty','2JfwjPa','toInteger'];a0_0x2e37=function(){return _0x22b05e;};return a0_0x2e37();}const a0_0x4e9a16=a0_0x4c3e;(function(_0x32252a,_0xf12909){const _0x9bf566=a0_0x4c3e,_0xf156c1=_0x32252a();while(!![]){try{const _0x4d197e=-parseInt(_0x9bf566(0x1be))/0x1+parseInt(_0x9bf566(0x1c3))/0x2*(-parseInt(_0x9bf566(0x1b0))/0x3)+-parseInt(_0x9bf566(0x1b5))/0x4*(-parseInt(_0x9bf566(0x1c1))/0x5)+-parseInt(_0x9bf566(0x1b2))/0x6+-parseInt(_0x9bf566(0x1ca))/0x7+parseInt(_0x9bf566(0x1b9))/0x8*(parseInt(_0x9bf566(0x1b6))/0x9)+parseInt(_0x9bf566(0x1af))/0xa*(parseInt(_0x9bf566(0x1cc))/0xb);if(_0x4d197e===_0xf12909)break;else _0xf156c1['push'](_0xf156c1['shift']());}catch(_0x5532f0){_0xf156c1['push'](_0xf156c1['shift']());}}}(a0_0x2e37,0xc2a3b));import a0_0x1c13ae from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';function a0_0x4c3e(_0x2da5d2,_0x503bb0){const _0x2e37b2=a0_0x2e37();return a0_0x4c3e=function(_0x4c3e72,_0x3cbde4){_0x4c3e72=_0x4c3e72-0x1ae;let _0x2a3a85=_0x2e37b2[_0x4c3e72];return _0x2a3a85;},a0_0x4c3e(_0x2da5d2,_0x503bb0);}export class ValueUtil{static[a0_0x4e9a16(0x1bf)](_0x38ec1a){const _0x47233a=a0_0x4e9a16;if(void 0x0===_0x38ec1a)return!0x0;if(null===_0x38ec1a)return!0x0;if(_0x47233a(0x1c7)==typeof _0x38ec1a)return!0x1;if(_0x47233a(0x1b7)==typeof _0x38ec1a||_0x47233a(0x1b8)==typeof _0x38ec1a){if(''==_0x38ec1a)return!0x0;}else{if(Array[_0x47233a(0x1b3)](_0x38ec1a)){if(0x0==_0x38ec1a[_0x47233a(0x1b4)])return!0x0;}else{if(_0x47233a(0x1b1)==typeof _0x38ec1a&&0x0==Object[_0x47233a(0x1bb)](_0x38ec1a)[_0x47233a(0x1b4)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0xa730d){return!ValueUtil['isEmpty'](_0xa730d);}static[a0_0x4e9a16(0x1bc)](_0x514e00,_0x4431d6){return a0_0x1c13ae(_0x514e00,_0x4431d6);}static[a0_0x4e9a16(0x1c4)](_0x3e33ea,_0x4d091a){return ValueUtil['isEmpty'](_0x3e33ea)?_0x4d091a||0x0:parseInt(_0x3e33ea);}static[a0_0x4e9a16(0x1c6)](_0x346dce){const _0x581c2e=a0_0x4e9a16;return!ValueUtil[_0x581c2e(0x1bf)](_0x346dce)&&('true'==_0x346dce||'t'==_0x346dce||_0x581c2e(0x1ae)==_0x346dce||'T'==_0x346dce||'on'==_0x346dce||'ON'==_0x346dce);}static[a0_0x4e9a16(0x1c9)](_0x4cfa34,_0x2c76cc,_0x3d9448){const _0xd9ac53=a0_0x4e9a16;let _0x1857ca=!0x0;return _0x3d9448[_0xd9ac53(0x1c8)](_0x54865b=>{const _0x51bf6f=_0xd9ac53;let _0x5c7ee8=_0x4cfa34[_0x54865b];if('*'===_0x5c7ee8)return;let _0xcdc2ef=_0x2c76cc[_0x54865b]||'';ValueUtil[_0x51bf6f(0x1bf)](_0x5c7ee8)?ValueUtil['isNotEmpty'](_0xcdc2ef)&&(_0x1857ca=!0x1):_0x5c7ee8!=_0xcdc2ef&&(_0x1857ca=!0x1);}),_0x1857ca;}static['setParams'](_0x3760ce,_0x371b04,_0x5626a5,_0x52c62c){const _0x479e0a=a0_0x4e9a16;let _0x5bb339=ValueUtil[_0x479e0a(0x1c0)](_0x371b04,_0x5626a5);return ValueUtil[_0x479e0a(0x1c2)](_0x5bb339)&&(_0x3760ce[_0x5626a5]=!0x0===_0x52c62c?TermsUtil['t'](_0x5bb339):_0x5bb339),_0x3760ce;}static[a0_0x4e9a16(0x1c0)](_0x2d6532,..._0x34d170){const _0x515994=a0_0x4e9a16;if(arguments[_0x515994(0x1b4)]<=0x1)return;let _0xe2fdbc=_0x34d170[0x0];if(ValueUtil[_0x515994(0x1bf)](_0x2d6532[_0xe2fdbc]))return;let _0x5b23b6=_0x2d6532[_0xe2fdbc];return _0x34d170[_0x515994(0x1b4)]>0x1?ValueUtil[_0x515994(0x1c0)](_0x5b23b6,..._0x34d170[_0x515994(0x1ba)](0x1)):_0x5b23b6;}static[a0_0x4e9a16(0x1bd)](_0x1ea179,_0x3a75d3,..._0x204f3e){const _0x534659=a0_0x4e9a16;return _0x3a75d3=_0x3a75d3||[],_0x204f3e=_0x204f3e||Object['keys'](_0x1ea179),ValueUtil['isNotEmpty'](_0x204f3e)&&(_0x3a75d3=_0x1ea179[_0x534659(0x1c5)]((_0xa283a,_0x53b105)=>{const _0x1c1ae3=_0x534659;let _0x9d6776=_0x3a75d3[_0x1c1ae3(0x1b4)]>_0x53b105?_0x3a75d3[_0x53b105]:{};return ValueUtil[_0x1c1ae3(0x1cb)](_0xa283a,_0x9d6776,_0x204f3e);})),_0x3a75d3;}static['populateObject'](_0x2a2c3d,_0x2f77d5,..._0x32b9ef){const _0x54c860=a0_0x4e9a16;return _0x2f77d5=_0x2f77d5||{},_0x32b9ef=_0x32b9ef||Object[_0x54c860(0x1bb)](_0x2a2c3d),ValueUtil[_0x54c860(0x1c2)](_0x32b9ef)&&_0x32b9ef[_0x54c860(0x1c8)](_0x307fe1=>{_0x2f77d5[_0x307fe1]=_0x2a2c3d[_0x307fe1];}),_0x2f77d5;}}
1
+ function a0_0x30d1(){const _0xfa35f0=['populateObject','TRUE','3UMBJiq','isArray','compareObjectValues','keys','setParams','toBoolean','165672wqZEBP','getParams','1116qkcjYj','forEach','boolean','9549749jNMReL','length','toInteger','number','isNotEmpty','6440652nzaJKX','isEmpty','populateArray','10sywFBW','map','slice','21235TTfFBN','9965682cUiFKP','330197yFRewE','259FpnKGS','433454QnjfGC'];a0_0x30d1=function(){return _0xfa35f0;};return a0_0x30d1();}function a0_0x3e44(_0x39b040,_0x23f438){const _0x30d138=a0_0x30d1();return a0_0x3e44=function(_0x3e4478,_0x326a63){_0x3e4478=_0x3e4478-0x121;let _0x504135=_0x30d138[_0x3e4478];return _0x504135;},a0_0x3e44(_0x39b040,_0x23f438);}const a0_0x4f0509=a0_0x3e44;(function(_0x34db93,_0x5d1831){const _0x279661=a0_0x3e44,_0x43fa3c=_0x34db93();while(!![]){try{const _0x314847=parseInt(_0x279661(0x13c))/0x1+-parseInt(_0x279661(0x121))/0x2*(parseInt(_0x279661(0x124))/0x3)+parseInt(_0x279661(0x12c))/0x4*(-parseInt(_0x279661(0x13a))/0x5)+-parseInt(_0x279661(0x134))/0x6+parseInt(_0x279661(0x13d))/0x7*(parseInt(_0x279661(0x12a))/0x8)+parseInt(_0x279661(0x13b))/0x9+-parseInt(_0x279661(0x137))/0xa*(-parseInt(_0x279661(0x12f))/0xb);if(_0x314847===_0x5d1831)break;else _0x43fa3c['push'](_0x43fa3c['shift']());}catch(_0x20d97d){_0x43fa3c['push'](_0x43fa3c['shift']());}}}(a0_0x30d1,0x91b45));import a0_0x21a655 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x4f0509(0x135)](_0x519a99){const _0x4d50ea=a0_0x4f0509;if(void 0x0===_0x519a99)return!0x0;if(null===_0x519a99)return!0x0;if(_0x4d50ea(0x12e)==typeof _0x519a99)return!0x1;if('string'==typeof _0x519a99||_0x4d50ea(0x132)==typeof _0x519a99){if(''==_0x519a99)return!0x0;}else{if(Array[_0x4d50ea(0x125)](_0x519a99)){if(0x0==_0x519a99[_0x4d50ea(0x130)])return!0x0;}else{if('object'==typeof _0x519a99&&0x0==Object[_0x4d50ea(0x127)](_0x519a99)[_0x4d50ea(0x130)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0x1a2920){const _0x19da69=a0_0x4f0509;return!ValueUtil[_0x19da69(0x135)](_0x1a2920);}static['isEquals'](_0x28ea91,_0xd6b35d){return a0_0x21a655(_0x28ea91,_0xd6b35d);}static[a0_0x4f0509(0x131)](_0x143f15,_0x448e0f){return ValueUtil['isEmpty'](_0x143f15)?_0x448e0f||0x0:parseInt(_0x143f15);}static[a0_0x4f0509(0x129)](_0x5c57e){const _0x28f2f8=a0_0x4f0509;return!ValueUtil[_0x28f2f8(0x135)](_0x5c57e)&&('true'==_0x5c57e||'t'==_0x5c57e||_0x28f2f8(0x123)==_0x5c57e||'T'==_0x5c57e||'on'==_0x5c57e||'ON'==_0x5c57e);}static[a0_0x4f0509(0x126)](_0x1a9bb1,_0x21b824,_0x5cd6ef){let _0x3d1d09=!0x0;return _0x5cd6ef['forEach'](_0x334100=>{const _0x4b7c68=a0_0x3e44;let _0x32bcde=_0x1a9bb1[_0x334100];if('*'===_0x32bcde)return;let _0x235fb6=_0x21b824[_0x334100]||'';ValueUtil[_0x4b7c68(0x135)](_0x32bcde)?ValueUtil['isNotEmpty'](_0x235fb6)&&(_0x3d1d09=!0x1):_0x32bcde!=_0x235fb6&&(_0x3d1d09=!0x1);}),_0x3d1d09;}static[a0_0x4f0509(0x128)](_0x280b90,_0x5c072c,_0x24a9e0,_0x33d428){const _0x3a0999=a0_0x4f0509;let _0x182aed=ValueUtil['getParams'](_0x5c072c,_0x24a9e0);return ValueUtil[_0x3a0999(0x133)](_0x182aed)&&(_0x280b90[_0x24a9e0]=!0x0===_0x33d428?TermsUtil['t'](_0x182aed):_0x182aed),_0x280b90;}static[a0_0x4f0509(0x12b)](_0x1e9064,..._0x41da59){const _0x49e779=a0_0x4f0509;if(arguments[_0x49e779(0x130)]<=0x1)return;let _0xe22db1=_0x41da59[0x0];if(ValueUtil[_0x49e779(0x135)](_0x1e9064[_0xe22db1]))return;let _0x235990=_0x1e9064[_0xe22db1];return _0x41da59[_0x49e779(0x130)]>0x1?ValueUtil['getParams'](_0x235990,..._0x41da59[_0x49e779(0x139)](0x1)):_0x235990;}static[a0_0x4f0509(0x136)](_0x390533,_0x214b0b,..._0x3cfb2f){const _0xba99c4=a0_0x4f0509;return _0x214b0b=_0x214b0b||[],_0x3cfb2f=_0x3cfb2f||Object[_0xba99c4(0x127)](_0x390533),ValueUtil[_0xba99c4(0x133)](_0x3cfb2f)&&(_0x214b0b=_0x390533[_0xba99c4(0x138)]((_0x1056d1,_0x206fc9)=>{const _0x380a40=_0xba99c4;let _0x3c0945=_0x214b0b['length']>_0x206fc9?_0x214b0b[_0x206fc9]:{};return ValueUtil[_0x380a40(0x122)](_0x1056d1,_0x3c0945,_0x3cfb2f);})),_0x214b0b;}static[a0_0x4f0509(0x122)](_0x1af0bb,_0x3e5e24,..._0x43e4df){const _0x5c184b=a0_0x4f0509;return _0x3e5e24=_0x3e5e24||{},_0x43e4df=_0x43e4df||Object['keys'](_0x1af0bb),ValueUtil[_0x5c184b(0x133)](_0x43e4df)&&_0x43e4df[_0x5c184b(0x12d)](_0x3c1b97=>{_0x3e5e24[_0x3c1b97]=_0x1af0bb[_0x3c1b97];}),_0x3e5e24;}}
@@ -1,4 +1,4 @@
1
- function a0_0x5641(_0x386a45,_0x5f7900){const _0x5573fb=a0_0x5573();return a0_0x5641=function(_0x5641ab,_0x38ab27){_0x5641ab=_0x5641ab-0xca;let _0x329368=_0x5573fb[_0x5641ab];return _0x329368;},a0_0x5641(_0x386a45,_0x5f7900);}function a0_0x5573(){const _0x3d805e=['136212LEpPhB','1599304vlmMIR','531516XsNnOD','27HkzEpJ','1347246brksgG','25VdGigY','816680vhJaNH','184211qldWST','3173107vELlHD'];a0_0x5573=function(){return _0x3d805e;};return a0_0x5573();}(function(_0x1d1324,_0x494965){const _0x32aeb8=a0_0x5641,_0x25ca26=_0x1d1324();while(!![]){try{const _0x4dffba=parseInt(_0x32aeb8(0xcc))/0x1+parseInt(_0x32aeb8(0xcb))/0x2+parseInt(_0x32aeb8(0xd1))/0x3*(-parseInt(_0x32aeb8(0xce))/0x4)+parseInt(_0x32aeb8(0xca))/0x5*(parseInt(_0x32aeb8(0xd0))/0x6)+-parseInt(_0x32aeb8(0xcd))/0x7+parseInt(_0x32aeb8(0xcf))/0x8+-parseInt(_0x32aeb8(0xd2))/0x9;if(_0x4dffba===_0x494965)break;else _0x25ca26['push'](_0x25ca26['shift']());}catch(_0x2b7f2d){_0x25ca26['push'](_0x25ca26['shift']());}}}(a0_0x5573,0x4f922));import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ function a0_0x5482(_0x5a505b,_0x463ccf){const _0x26e778=a0_0x26e7();return a0_0x5482=function(_0x5482d1,_0x385063){_0x5482d1=_0x5482d1-0x1ee;let _0x505903=_0x26e778[_0x5482d1];return _0x505903;},a0_0x5482(_0x5a505b,_0x463ccf);}(function(_0x104246,_0x58bdb4){const _0x4367b2=a0_0x5482,_0x573730=_0x104246();while(!![]){try{const _0x1204a6=parseInt(_0x4367b2(0x1f9))/0x1+parseInt(_0x4367b2(0x1f6))/0x2*(-parseInt(_0x4367b2(0x1f7))/0x3)+parseInt(_0x4367b2(0x1f4))/0x4*(parseInt(_0x4367b2(0x1f3))/0x5)+-parseInt(_0x4367b2(0x1f2))/0x6*(parseInt(_0x4367b2(0x1f8))/0x7)+parseInt(_0x4367b2(0x1f5))/0x8+-parseInt(_0x4367b2(0x1ee))/0x9*(-parseInt(_0x4367b2(0x1ef))/0xa)+parseInt(_0x4367b2(0x1f1))/0xb*(-parseInt(_0x4367b2(0x1f0))/0xc);if(_0x1204a6===_0x58bdb4)break;else _0x573730['push'](_0x573730['shift']());}catch(_0x56b2f7){_0x573730['push'](_0x573730['shift']());}}}(a0_0x26e7,0x847ed));function a0_0x26e7(){const _0x4bf066=['626fgdcyS','2919ZCJMAn','77wGdfQi','602013gXrAfe','111204HzITwY','380vkTpxR','11867868sdJpWJ','22YOsbRM','22008UbjOWD','1539095xUNJKo','12tzkyEI','6964624hhsYXJ'];a0_0x26e7=function(){return _0x4bf066;};return a0_0x26e7();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- function a0_0x1c62(){const _0x5797be=['dynamic-menu-landscape','removeAttribute','submenu','preventDefault','addEventListener','max','renderRoot','bind','render','9ypyRuH','transitionstart','7316645LZAYvN','name','onWheelEvent','3KtEdtJ','detail','styles','type','1412012gQbAjQ','activeTopLevel','menus','setAttribute','stopPropagation','10097904fdXVGB','icon','dispatchEvent','click','target','path','properties','7LVwMUp','define','settled','currentTarget','map','666546uxFjKL','#wrap','996050XzrOXv','3009516oejhLA','firstUpdated','description','524547yAdxPD'];a0_0x1c62=function(){return _0x5797be;};return a0_0x1c62();}const a0_0xcada40=a0_0x62f1;(function(_0x113422,_0x2a9005){const _0x3b3c73=a0_0x62f1,_0x65b53c=_0x113422();while(!![]){try{const _0x22e792=-parseInt(_0x3b3c73(0x117))/0x1+parseInt(_0x3b3c73(0x12a))/0x2+parseInt(_0x3b3c73(0x126))/0x3*(parseInt(_0x3b3c73(0x114))/0x4)+-parseInt(_0x3b3c73(0x123))/0x5+parseInt(_0x3b3c73(0x111))/0x6*(parseInt(_0x3b3c73(0x10c))/0x7)+parseInt(_0x3b3c73(0x12f))/0x8+parseInt(_0x3b3c73(0x121))/0x9*(-parseInt(_0x3b3c73(0x113))/0xa);if(_0x22e792===_0x2a9005)break;else _0x65b53c['push'](_0x65b53c['shift']());}catch(_0x532cf8){_0x65b53c['push'](_0x65b53c['shift']());}}}(a0_0x1c62,0xb5b29));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x62f1(_0x1e076b,_0x3df9b5){const _0x1c6275=a0_0x1c62();return a0_0x62f1=function(_0x62f182,_0x8d11da){_0x62f182=_0x62f182-0x109;let _0x169afb=_0x1c6275[_0x62f182];return _0x169afb;},a0_0x62f1(_0x1e076b,_0x3df9b5);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0xcada40(0x128)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0xcada40(0x10b)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xcada40(0x120)](){const _0x5320d0=a0_0xcada40,{menus:_0x3bf880=[],activeTopLevel:_0x1086e5,activeMenu:_0x3d7878}=this;return html`
1
+ const a0_0x3e50eb=a0_0x4150;(function(_0xc084e1,_0x3e4192){const _0x412f4f=a0_0x4150,_0x1ba04e=_0xc084e1();while(!![]){try{const _0x40322a=-parseInt(_0x412f4f(0x1e2))/0x1+-parseInt(_0x412f4f(0x1da))/0x2*(-parseInt(_0x412f4f(0x1e8))/0x3)+parseInt(_0x412f4f(0x1e4))/0x4*(-parseInt(_0x412f4f(0x1e7))/0x5)+-parseInt(_0x412f4f(0x1ff))/0x6+parseInt(_0x412f4f(0x1e3))/0x7*(parseInt(_0x412f4f(0x1f9))/0x8)+parseInt(_0x412f4f(0x1f4))/0x9+parseInt(_0x412f4f(0x1fd))/0xa;if(_0x40322a===_0x3e4192)break;else _0x1ba04e['push'](_0x1ba04e['shift']());}catch(_0x416bc7){_0x1ba04e['push'](_0x1ba04e['shift']());}}}(a0_0x49ef,0x7a01a));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x4150(_0x12d553,_0x43fac4){const _0x49ef03=a0_0x49ef();return a0_0x4150=function(_0x415084,_0x5fe527){_0x415084=_0x415084-0x1d6;let _0x3baba4=_0x49ef03[_0x415084];return _0x3baba4;},a0_0x4150(_0x12d553,_0x43fac4);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x3e50eb(0x1e9)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x3e50eb(0x1f3)](){const _0x23a53b=a0_0x3e50eb,{menus:_0x1a6b14=[],activeTopLevel:_0x13bd28,activeMenu:_0x9a582b}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x3bf880[_0x5320d0(0x110)](_0x2d6485=>'group'==_0x2d6485[_0x5320d0(0x129)]?html``:html`
5
- <li ?active=${_0x2d6485===_0x1086e5}>
6
- <a href=${_0x2d6485[_0x5320d0(0x10a)]||'#'}>
7
- ${_0x2d6485['icon']?html`<mwc-icon>${_0x2d6485[_0x5320d0(0x130)]}</mwc-icon>`:html``} ${_0x2d6485['name']}
4
+ ${_0x1a6b14[_0x23a53b(0x1eb)](_0x31da82=>_0x23a53b(0x1fa)==_0x31da82['type']?html``:html`
5
+ <li ?active=${_0x31da82===_0x13bd28}>
6
+ <a href=${_0x31da82['path']||'#'}>
7
+ ${_0x31da82['icon']?html`<mwc-icon>${_0x31da82['icon']}</mwc-icon>`:html``} ${_0x31da82[_0x23a53b(0x1de)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x2d6485[_0x5320d0(0x12c)]?.[_0x5320d0(0x110)](_0x565a49=>html`
12
- <li ?active=${_0x565a49===_0x3d7878}>
13
- <a href=${_0x565a49[_0x5320d0(0x10a)]||'#'}> ${_0x565a49[_0x5320d0(0x124)]} </a>
11
+ ${_0x31da82[_0x23a53b(0x1ec)]?.[_0x23a53b(0x1eb)](_0x46463c=>html`
12
+ <li ?active=${_0x46463c===_0x9a582b}>
13
+ <a href=${_0x46463c[_0x23a53b(0x1fe)]||'#'}> ${_0x46463c['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x2d6485[_0x5320d0(0x130)]?html`<mwc-icon>${_0x2d6485[_0x5320d0(0x130)]}</mwc-icon>`:html``} ${_0x2d6485[_0x5320d0(0x116)]||''}
19
+ ${_0x31da82[_0x23a53b(0x1f7)]?html`<mwc-icon>${_0x31da82[_0x23a53b(0x1f7)]}</mwc-icon>`:html``} ${_0x31da82[_0x23a53b(0x1d8)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0xcada40(0x115)](){const _0x5a09cf=a0_0xcada40;this[_0x5a09cf(0x11e)]['querySelector'](_0x5a09cf(0x112))[_0x5a09cf(0x11c)]('mousewheel',this[_0x5a09cf(0x125)][_0x5a09cf(0x11f)](this),!0x1),this[_0x5a09cf(0x11e)][_0x5a09cf(0x11c)](_0x5a09cf(0x132),_0x56026d=>{const _0x1367b1=_0x5a09cf;if(_0x56026d[_0x1367b1(0x109)][_0x1367b1(0x11a)]){_0x56026d[_0x1367b1(0x12e)](),_0x56026d[_0x1367b1(0x11b)]();let _0x5437ed=_0x56026d['target'][_0x1367b1(0x11a)];return void this[_0x1367b1(0x131)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x1367b1(0x12b)]===_0x5437ed?void 0x0:_0x5437ed}));}let _0x22ed62=_0x56026d[_0x1367b1(0x109)]['href'];_0x22ed62&&location['href']===_0x22ed62&&navigate(_0x22ed62+'#force',!0x0);}),this[_0x5a09cf(0x11e)][_0x5a09cf(0x11c)](_0x5a09cf(0x122),_0xc81ae7=>{const _0x10b22c=_0x5a09cf;_0xc81ae7['target'][_0x10b22c(0x119)](_0x10b22c(0x10e));}),this[_0x5a09cf(0x11e)]['addEventListener']('transitionend',_0x1c15fd=>{const _0x32e492=_0x5a09cf;_0x1c15fd['target'][_0x32e492(0x12d)](_0x32e492(0x10e),'');});}['onWheelEvent'](_0x274478){const _0x2a2930=a0_0xcada40,_0x58867a=_0x274478[_0x2a2930(0x10f)];var _0x3fa540=Math[_0x2a2930(0x11d)](-0x1,Math['min'](0x1,_0x274478['wheelDelta']||-_0x274478[_0x2a2930(0x127)]));_0x58867a['scrollLeft']-=0xa*_0x3fa540,_0x274478[_0x2a2930(0x11b)]();}}customElements[a0_0xcada40(0x10d)](a0_0xcada40(0x118),DynamicMenuLandscape);
25
+ `;}[a0_0x3e50eb(0x1db)](){const _0x1be1eb=a0_0x3e50eb;this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1d7)](_0x1be1eb(0x1fc))['addEventListener']('mousewheel',this[_0x1be1eb(0x1ef)][_0x1be1eb(0x1d9)](this),!0x1),this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1e5)]('click',_0x2c3a88=>{const _0x5ce592=_0x1be1eb;if(_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1d6)]){_0x2c3a88[_0x5ce592(0x1e0)](),_0x2c3a88[_0x5ce592(0x1dc)]();let _0x15cd35=_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1d6)];return void this[_0x5ce592(0x1ee)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x5ce592(0x1f8)]===_0x15cd35?void 0x0:_0x15cd35}));}let _0xdf3ac0=_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1ed)];_0xdf3ac0&&location[_0x5ce592(0x1ed)]===_0xdf3ac0&&navigate(_0xdf3ac0+_0x5ce592(0x201),!0x0);}),this['renderRoot'][_0x1be1eb(0x1e5)]('transitionstart',_0x130e0f=>{const _0x15feb6=_0x1be1eb;_0x130e0f[_0x15feb6(0x1f5)][_0x15feb6(0x1fb)]('settled');}),this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1e5)](_0x1be1eb(0x200),_0x2ae633=>{const _0x3f5804=_0x1be1eb;_0x2ae633[_0x3f5804(0x1f5)][_0x3f5804(0x1f6)](_0x3f5804(0x1e1),'');});}[a0_0x3e50eb(0x1ef)](_0x5c905d){const _0x1dfb48=a0_0x3e50eb,_0x3e5c75=_0x5c905d[_0x1dfb48(0x1e6)];var _0x267162=Math[_0x1dfb48(0x1f1)](-0x1,Math[_0x1dfb48(0x202)](0x1,_0x5c905d[_0x1dfb48(0x1f0)]||-_0x5c905d[_0x1dfb48(0x1dd)]));_0x3e5c75[_0x1dfb48(0x1ea)]-=0xa*_0x267162,_0x5c905d[_0x1dfb48(0x1dc)]();}}customElements[a0_0x3e50eb(0x1df)](a0_0x3e50eb(0x203),DynamicMenuLandscape);function a0_0x49ef(){const _0x23f571=['transitionend','#force','min','dynamic-menu-landscape','submenu','querySelector','description','bind','78148qXgLqC','firstUpdated','preventDefault','detail','name','define','stopPropagation','settled','131290oyqtlG','40040yMShxJ','168HmUStg','addEventListener','currentTarget','3985wyzOFl','3jypRdK','properties','scrollLeft','map','menus','href','dispatchEvent','onWheelEvent','wheelDelta','max','renderRoot','render','7880292zCnkYu','target','setAttribute','icon','activeTopLevel','72EozTiu','group','removeAttribute','#wrap','3501910NeKYTp','path','3910986eVXeHm'];a0_0x49ef=function(){return _0x23f571;};return a0_0x49ef();}
@@ -1,4 +1,4 @@
1
- var a0_0x39d41e=a0_0x38d5;function a0_0x3b01(){var _0x1b056a=['function','active','landscape','menus','removeAttribute','find','53495gwUUoa','125uPVTwg','page','stopPropagation','5844MFYbWg','metaUI','_activeTopLevel','178pBFIrz','_path','render','498684eevSTS','firstUpdated','active-toplevel','410350gXYUve','7ITgzrC','24QRqAlS','slotTemplate','call','264voDXZN','addEventListener','setAttribute','preventDefault','styles','define','route','has','77QzbuKl','renderRoot','29745cQcktQ','_findActivePage','resourceId','10060alcWCG','190640OrWrQm','orientation'];a0_0x3b01=function(){return _0x1b056a;};return a0_0x3b01();}(function(_0x1ba448,_0x13719b){var _0x35180d=a0_0x38d5,_0x39df70=_0x1ba448();while(!![]){try{var _0x30d648=parseInt(_0x35180d(0x1c3))/0x1+parseInt(_0x35180d(0x1d2))/0x2*(parseInt(_0x35180d(0x1cf))/0x3)+parseInt(_0x35180d(0x1c2))/0x4*(-parseInt(_0x35180d(0x1cc))/0x5)+-parseInt(_0x35180d(0x1d5))/0x6*(-parseInt(_0x35180d(0x1d9))/0x7)+parseInt(_0x35180d(0x1dd))/0x8*(parseInt(_0x35180d(0x1bf))/0x9)+-parseInt(_0x35180d(0x1d8))/0xa*(parseInt(_0x35180d(0x1e5))/0xb)+parseInt(_0x35180d(0x1da))/0xc*(-parseInt(_0x35180d(0x1cb))/0xd);if(_0x30d648===_0x13719b)break;else _0x39df70['push'](_0x39df70['shift']());}catch(_0x308214){_0x39df70['push'](_0x39df70['shift']());}}}(a0_0x3b01,0x304d1));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x38d5(_0x40850a,_0x3e6d53){var _0x3b0150=a0_0x3b01();return a0_0x38d5=function(_0x38d511,_0x1a8599){_0x38d511=_0x38d511-0x1bf;var _0x33fb03=_0x3b0150[_0x38d511];return _0x33fb03;},a0_0x38d5(_0x40850a,_0x3e6d53);}import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x3d1414,_0x40d23e){var _0x5cbd7a=a0_0x38d5;return _0x3d1414['path']?.['split']('?')[0x0]===_0x40d23e||_0x3d1414['active']&&_0x5cbd7a(0x1c5)==typeof _0x3d1414[_0x5cbd7a(0x1c6)]&&_0x3d1414[_0x5cbd7a(0x1c6)][_0x5cbd7a(0x1dc)](_0x3d1414,{'path':_0x40d23e});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x39d41e(0x1e1)](){return[ScrollbarStyles,css`
1
+ var a0_0x422849=a0_0x1d6f;(function(_0x4ff0c4,_0x168358){var _0x22ce9c=a0_0x1d6f,_0x521a0f=_0x4ff0c4();while(!![]){try{var _0x250be8=-parseInt(_0x22ce9c(0x1c0))/0x1*(-parseInt(_0x22ce9c(0x1c2))/0x2)+-parseInt(_0x22ce9c(0x1b1))/0x3+parseInt(_0x22ce9c(0x1c4))/0x4*(parseInt(_0x22ce9c(0x1ab))/0x5)+parseInt(_0x22ce9c(0x1c9))/0x6*(parseInt(_0x22ce9c(0x1c1))/0x7)+-parseInt(_0x22ce9c(0x1a0))/0x8*(-parseInt(_0x22ce9c(0x1c8))/0x9)+parseInt(_0x22ce9c(0x1a6))/0xa+-parseInt(_0x22ce9c(0x1b4))/0xb;if(_0x250be8===_0x168358)break;else _0x521a0f['push'](_0x521a0f['shift']());}catch(_0x101ab8){_0x521a0f['push'](_0x521a0f['shift']());}}}(a0_0x252d,0x9e0aa));function a0_0x1d6f(_0x1d015d,_0x4ff259){var _0x252d3d=a0_0x252d();return a0_0x1d6f=function(_0x1d6f7b,_0x16ee87){_0x1d6f7b=_0x1d6f7b-0x19f;var _0x51eda8=_0x252d3d[_0x1d6f7b];return _0x51eda8;},a0_0x1d6f(_0x1d015d,_0x4ff259);}import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x160266,_0x5971c6){var _0x4d93f5=a0_0x1d6f;return _0x160266[_0x4d93f5(0x1bb)]?.[_0x4d93f5(0x1c5)]('?')[0x0]===_0x5971c6||_0x160266[_0x4d93f5(0x1b7)]&&_0x4d93f5(0x1ad)==typeof _0x160266['active']&&_0x160266[_0x4d93f5(0x1b7)][_0x4d93f5(0x1a7)](_0x160266,{'path':_0x5971c6});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x422849(0x1a4)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x39d41e=a0_0x38d5;function a0_0x3b01(){var _0x1b056a=['function','active
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x39d41e(0x1d4)](){var _0x194228=a0_0x39d41e;return html`
30
+ `];}[a0_0x422849(0x1c6)](){var _0x4e7b94=a0_0x422849;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x194228(0x1c7)!==this[_0x194228(0x1c4)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x194228(0x1c8)]}
34
- .activeTopLevel=${this[_0x194228(0x1d1)]}
35
- .activeMenu=${this['_activeMenu']}
36
- .path=${this[_0x194228(0x1d3)]}
32
+ ${_0x4e7b94(0x1b6)!==this[_0x4e7b94(0x1bf)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x4e7b94(0x1a3)]}
34
+ .activeTopLevel=${this[_0x4e7b94(0x19f)]}
35
+ .activeMenu=${this[_0x4e7b94(0x1a1)]}
36
+ .path=${this[_0x4e7b94(0x1a5)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this['menus']}
39
- .activeTopLevel=${this[_0x194228(0x1d1)]}
40
- .activeMenu=${this['_activeMenu']}
41
- .path=${this[_0x194228(0x1d3)]}
38
+ .menus=${this[_0x4e7b94(0x1a3)]}
39
+ .activeTopLevel=${this[_0x4e7b94(0x19f)]}
40
+ .activeMenu=${this[_0x4e7b94(0x1a1)]}
41
+ .path=${this['_path']}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x39d41e(0x1d6)](){var _0x39f758=a0_0x39d41e;this[_0x39f758(0x1e6)][_0x39f758(0x1de)](_0x39f758(0x1d7),_0x45c2cd=>{var _0x595411=_0x39f758;_0x45c2cd[_0x595411(0x1ce)](),_0x45c2cd[_0x595411(0x1e0)](),this['_activeTopLevel']=_0x45c2cd['detail'];});}['updated'](_0x18d385){var _0x21dc09=a0_0x39d41e;(_0x18d385['has']('menus')||_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1cd))||_0x18d385[_0x21dc09(0x1e4)]('resourceId'))&&this[_0x21dc09(0x1c0)](),_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1c4))&&('portrait'==this[_0x21dc09(0x1c4)]?this[_0x21dc09(0x1c9)](_0x21dc09(0x1c7)):this[_0x21dc09(0x1df)](_0x21dc09(0x1c7),!0x0)),_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1db))&&this['replaceChild'](this[_0x21dc09(0x1db)]);}['stateChanged'](_0x4fc9e5){var _0x101ede=a0_0x39d41e;this['page']=_0x4fc9e5[_0x101ede(0x1e3)][_0x101ede(0x1cd)],this[_0x101ede(0x1c1)]=_0x4fc9e5[_0x101ede(0x1e3)]['resourceId'],this[_0x101ede(0x1c8)]=_0x4fc9e5[_0x101ede(0x1d0)][_0x101ede(0x1c8)]||[],this['slotTemplate']=_0x4fc9e5[_0x101ede(0x1d0)][_0x101ede(0x1db)];}[a0_0x39d41e(0x1c0)](){var _0xc7ae2d=a0_0x39d41e,_0x302b53,_0x2417fb=this[_0xc7ae2d(0x1c1)]?this[_0xc7ae2d(0x1cd)]+'/'+this['resourceId']:this[_0xc7ae2d(0x1cd)],_0x557b59=this[_0xc7ae2d(0x1c8)]||[];this[_0xc7ae2d(0x1d1)]=_0x557b59['find'](_0x2d69e8=>isActiveMenu(_0x2d69e8,_0x2417fb)?(_0x302b53=_0x2d69e8,!0x0):_0x2d69e8['menus']?!!(_0x302b53=_0x2d69e8['menus'][_0xc7ae2d(0x1ca)](_0x3bf092=>isActiveMenu(_0x3bf092,_0x2417fb))):void 0x0),this['_path']=_0x2417fb,this['_activeMenu']=_0x302b53||this[_0xc7ae2d(0x1d1)];}}customElements[a0_0x39d41e(0x1e2)]('dynamic-menu-part',DynamicMenuPart);
44
+ `;}[a0_0x422849(0x1a8)](){var _0x40f83b=a0_0x422849;this[_0x40f83b(0x1b0)][_0x40f83b(0x1a9)](_0x40f83b(0x1be),_0x3ad7c5=>{var _0x4fc173=_0x40f83b;_0x3ad7c5[_0x4fc173(0x1b9)](),_0x3ad7c5[_0x4fc173(0x1aa)](),this[_0x4fc173(0x19f)]=_0x3ad7c5[_0x4fc173(0x1ba)];});}[a0_0x422849(0x1bd)](_0x2cca56){var _0x1b0475=a0_0x422849;(_0x2cca56[_0x1b0475(0x1ca)](_0x1b0475(0x1a3))||_0x2cca56['has'](_0x1b0475(0x1c3))||_0x2cca56['has'](_0x1b0475(0x1b3)))&&this['_findActivePage'](),_0x2cca56[_0x1b0475(0x1ca)](_0x1b0475(0x1bf))&&(_0x1b0475(0x1b2)==this['orientation']?this[_0x1b0475(0x1a2)](_0x1b0475(0x1b6)):this['setAttribute']('landscape',!0x0)),_0x2cca56['has'](_0x1b0475(0x1ae))&&this[_0x1b0475(0x1c7)](this[_0x1b0475(0x1ae)]);}[a0_0x422849(0x1bc)](_0x1c60ed){var _0x567949=a0_0x422849;this[_0x567949(0x1c3)]=_0x1c60ed[_0x567949(0x1b5)][_0x567949(0x1c3)],this[_0x567949(0x1b3)]=_0x1c60ed[_0x567949(0x1b5)][_0x567949(0x1b3)],this[_0x567949(0x1a3)]=_0x1c60ed[_0x567949(0x1ac)]['menus']||[],this[_0x567949(0x1ae)]=_0x1c60ed[_0x567949(0x1ac)]['slotTemplate'];}[a0_0x422849(0x1b8)](){var _0xd42e1b=a0_0x422849,_0x4b00f5,_0x4d248b=this[_0xd42e1b(0x1b3)]?this[_0xd42e1b(0x1c3)]+'/'+this['resourceId']:this[_0xd42e1b(0x1c3)],_0x936dad=this[_0xd42e1b(0x1a3)]||[];this[_0xd42e1b(0x19f)]=_0x936dad[_0xd42e1b(0x1cb)](_0x4a13ca=>isActiveMenu(_0x4a13ca,_0x4d248b)?(_0x4b00f5=_0x4a13ca,!0x0):_0x4a13ca[_0xd42e1b(0x1a3)]?!!(_0x4b00f5=_0x4a13ca[_0xd42e1b(0x1a3)][_0xd42e1b(0x1cb)](_0x21cd1e=>isActiveMenu(_0x21cd1e,_0x4d248b))):void 0x0),this['_path']=_0x4d248b,this[_0xd42e1b(0x1a1)]=_0x4b00f5||this[_0xd42e1b(0x19f)];}}customElements['define'](a0_0x422849(0x1af),DynamicMenuPart);function a0_0x252d(){var _0x5408a8=['firstUpdated','addEventListener','preventDefault','10sLRWZT','metaUI','function','slotTemplate','dynamic-menu-part','renderRoot','513699WTHuZr','portrait','resourceId','26054908IngAlE','route','landscape','active','_findActivePage','stopPropagation','detail','path','stateChanged','updated','active-toplevel','orientation','1GvLwAA','49goQBMK','352302alOCNn','page','1739072wRowLv','split','render','replaceChild','941049tGHGaX','873894nPdqwe','has','find','_activeTopLevel','16KUXkrP','_activeMenu','removeAttribute','menus','styles','_path','9128470Ysvgyu','call'];a0_0x252d=function(){return _0x5408a8;};return a0_0x252d();}
@@ -1,4 +1,4 @@
1
- (function(_0x29bca9,_0x35e107){const _0x35d45d=a0_0x4fc4,_0x2a13ae=_0x29bca9();while(!![]){try{const _0x10e9aa=parseInt(_0x35d45d(0x1ec))/0x1+parseInt(_0x35d45d(0x1ef))/0x2*(-parseInt(_0x35d45d(0x1f3))/0x3)+-parseInt(_0x35d45d(0x1eb))/0x4+parseInt(_0x35d45d(0x1ed))/0x5*(parseInt(_0x35d45d(0x1f0))/0x6)+parseInt(_0x35d45d(0x1ee))/0x7*(parseInt(_0x35d45d(0x1f2))/0x8)+-parseInt(_0x35d45d(0x1f5))/0x9*(parseInt(_0x35d45d(0x1f1))/0xa)+parseInt(_0x35d45d(0x1f4))/0xb*(parseInt(_0x35d45d(0x1ea))/0xc);if(_0x10e9aa===_0x35e107)break;else _0x2a13ae['push'](_0x2a13ae['shift']());}catch(_0x426d47){_0x2a13ae['push'](_0x2a13ae['shift']());}}}(a0_0x48ac,0x644e3));import{css}from'lit';function a0_0x4fc4(_0x53f313,_0x11fa7b){const _0x48acb9=a0_0x48ac();return a0_0x4fc4=function(_0x4fc4c1,_0x54f7cd){_0x4fc4c1=_0x4fc4c1-0x1ea;let _0x359617=_0x48acb9[_0x4fc4c1];return _0x359617;},a0_0x4fc4(_0x53f313,_0x11fa7b);}export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x159f(_0x30edda,_0x59a136){const _0x2e43ce=a0_0x2e43();return a0_0x159f=function(_0x159f3d,_0x3d36d7){_0x159f3d=_0x159f3d-0xac;let _0x2f3f7b=_0x2e43ce[_0x159f3d];return _0x2f3f7b;},a0_0x159f(_0x30edda,_0x59a136);}(function(_0x371bd4,_0x31b64d){const _0x43c672=a0_0x159f,_0x35ca05=_0x371bd4();while(!![]){try{const _0x1f7df6=-parseInt(_0x43c672(0xb4))/0x1+-parseInt(_0x43c672(0xb2))/0x2+-parseInt(_0x43c672(0xb3))/0x3+-parseInt(_0x43c672(0xae))/0x4+parseInt(_0x43c672(0xb1))/0x5+parseInt(_0x43c672(0xad))/0x6*(parseInt(_0x43c672(0xb0))/0x7)+-parseInt(_0x43c672(0xac))/0x8*(-parseInt(_0x43c672(0xaf))/0x9);if(_0x1f7df6===_0x31b64d)break;else _0x35ca05['push'](_0x35ca05['shift']());}catch(_0x48dd39){_0x35ca05['push'](_0x35ca05['shift']());}}}(a0_0x2e43,0xbc399));function a0_0x2e43(){const _0x10ba18=['3748215SkCqLs','2863916WrMRxF','1362912iTeOIT','795185lnniXp','21653992GOOlBP','54VqLlhE','2549944QTQdTJ','9yvnGbY','492730TIYXvu'];a0_0x2e43=function(){return _0x10ba18;};return a0_0x2e43();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -125,4 +125,4 @@
125
125
  font: bold 14px var(--theme-font);
126
126
  }
127
127
  }
128
- `;function a0_0x48ac(){const _0x4f124d=['421861AilCMj','48501fGlEjS','12boboQW','2902552ixlVrU','690664ROgaBP','15yQveCF','14HixXCQ','22tMuguu','809742cZOZDB','430upEdNJ','2528976oPUEdP','108522oBffRS'];a0_0x48ac=function(){return _0x4f124d;};return a0_0x48ac();}
128
+ `;
@@ -1,14 +1,14 @@
1
- const a0_0x1c8e32=a0_0x4f99;(function(_0x5ebe48,_0x2e3fc2){const _0xeea1e8=a0_0x4f99,_0x218526=_0x5ebe48();while(!![]){try{const _0x3e98cb=-parseInt(_0xeea1e8(0x84))/0x1+parseInt(_0xeea1e8(0x72))/0x2+parseInt(_0xeea1e8(0x6c))/0x3+parseInt(_0xeea1e8(0x6b))/0x4*(-parseInt(_0xeea1e8(0x85))/0x5)+parseInt(_0xeea1e8(0x80))/0x6*(parseInt(_0xeea1e8(0x69))/0x7)+-parseInt(_0xeea1e8(0x87))/0x8+parseInt(_0xeea1e8(0x71))/0x9*(parseInt(_0xeea1e8(0x83))/0xa);if(_0x3e98cb===_0x2e3fc2)break;else _0x218526['push'](_0x218526['shift']());}catch(_0x5aaec9){_0x218526['push'](_0x218526['shift']());}}}(a0_0x3f01,0xe6730));function a0_0x3f01(){const _0x4d142f=['addEventListener','preventDefault','renderMenus','24363XNaAjM','124046MgKDpQ','dynamic-menu-portrait','length','renderRoot','path','settled','dispatchEvent','transitionstart','active-toplevel','click','call','target','[menu]','define','18mwAImI','styles','activeTopLevel','4470GsgmLU','1033348mjHOAq','8798115STOJMb','#force','7144272ebcqxL','href','setAttribute','firstUpdated','function','properties','removeAttribute','transitionend','stopPropagation','3444427DsewpP','menu','4UPWIrl','5645070QAwYtQ','render'];a0_0x3f01=function(){return _0x4d142f;};return a0_0x3f01();}import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x4f99(_0x4371b0,_0x1f08d4){const _0x3f0171=a0_0x3f01();return a0_0x4f99=function(_0x4f99ae,_0x1ba9b1){_0x4f99ae=_0x4f99ae-0x66;let _0x35605b=_0x3f0171[_0x4f99ae];return _0x35605b;},a0_0x4f99(_0x4371b0,_0x1f08d4);}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x1c8e32(0x81)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x1c8e32(0x8c)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x345ec5,_0x593e95,_0x44a906){return html`
1
+ function a0_0x3d2f(_0x11be81,_0x49d7f3){const _0x18ef23=a0_0x18ef();return a0_0x3d2f=function(_0x3d2f61,_0x1c61a7){_0x3d2f61=_0x3d2f61-0xa8;let _0xd9b40b=_0x18ef23[_0x3d2f61];return _0xd9b40b;},a0_0x3d2f(_0x11be81,_0x49d7f3);}const a0_0x274c25=a0_0x3d2f;(function(_0x4976e7,_0x2211d5){const _0x324b67=a0_0x3d2f,_0x3c5bcf=_0x4976e7();while(!![]){try{const _0x347952=-parseInt(_0x324b67(0xbd))/0x1*(parseInt(_0x324b67(0xc0))/0x2)+parseInt(_0x324b67(0xc7))/0x3+-parseInt(_0x324b67(0xc2))/0x4+parseInt(_0x324b67(0xb7))/0x5*(-parseInt(_0x324b67(0xc9))/0x6)+parseInt(_0x324b67(0xbb))/0x7+-parseInt(_0x324b67(0xb5))/0x8+parseInt(_0x324b67(0xb6))/0x9;if(_0x347952===_0x2211d5)break;else _0x3c5bcf['push'](_0x3c5bcf['shift']());}catch(_0x51c9d4){_0x3c5bcf['push'](_0x3c5bcf['shift']());}}}(a0_0x18ef,0xa74b3));function a0_0x18ef(){const _0x2941e9=['dispatchEvent','settled','length','addEventListener','menu','renderRoot','transitionstart','removeAttribute','setAttribute','4585400mIydpD','5828283apqxWU','5rMdvdv','activeTopLevel','styles','group','3514651UayTqn','renderMenus','297099LIOZmA','dynamic-menu-portrait','stopPropagation','2KiiiOL','call','2602344yJLPyh','#force','[menu]','click','transitionend','3793599WXmbFT','render','1248708GkVjRC','function','target','closest','href','define'];a0_0x18ef=function(){return _0x2941e9;};return a0_0x18ef();}import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x274c25(0xb9)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x274c25(0xbc)](_0x22fc4e,_0x13d875,_0x495242){return html`
2
2
  <ul>
3
- ${_0x345ec5['map'](_0x497582=>{const _0x358cd9=a0_0x4f99;var {type:_0x520425,active:_0x2a11c2,path:_0x133e58,name:_0x3968ad,badge:_0xdae7fb,icon:_0x4f5781,menus:_0x56bbd4}=_0x497582;return _0x2a11c2=!(!_0x2a11c2||'function'!=typeof _0x2a11c2)&&_0x2a11c2[_0x358cd9(0x7c)](_0x497582,{'path':this['path']}),_0xdae7fb=_0x358cd9(0x8b)==typeof _0xdae7fb?_0xdae7fb[_0x358cd9(0x7c)](_0x497582):_0xdae7fb??!0x1,'group'==_0x520425?html`<li group-label>${_0x3968ad}</li>`:html`
4
- <li ?active=${_0x593e95?_0x497582===_0x593e95:_0x2a11c2} .menu=${_0x497582} menu>
5
- <a href=${_0x133e58||'#'}>
6
- ${_0x56bbd4?.[_0x358cd9(0x74)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x4f5781}</mwc-icon>
8
- ${_0x3968ad} ${!0x1!==_0xdae7fb?html`<div badge>${_0xdae7fb}</div>`:html``}
3
+ ${_0x22fc4e['map'](_0x3fb11c=>{const _0x2d29cf=a0_0x3d2f;var {type:_0x2392b9,active:_0x5a57c4,path:_0x5654b5,name:_0xe5b655,badge:_0xe4ed5b,icon:_0xc814b3,menus:_0x5a6355}=_0x3fb11c;return _0x5a57c4=!(!_0x5a57c4||'function'!=typeof _0x5a57c4)&&_0x5a57c4[_0x2d29cf(0xc1)](_0x3fb11c,{'path':this['path']}),_0xe4ed5b=_0x2d29cf(0xca)==typeof _0xe4ed5b?_0xe4ed5b[_0x2d29cf(0xc1)](_0x3fb11c):_0xe4ed5b??!0x1,_0x2d29cf(0xba)==_0x2392b9?html`<li group-label>${_0xe5b655}</li>`:html`
4
+ <li ?active=${_0x13d875?_0x3fb11c===_0x13d875:_0x5a57c4} .menu=${_0x3fb11c} menu>
5
+ <a href=${_0x5654b5||'#'}>
6
+ ${_0x5a6355?.[_0x2d29cf(0xae)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0xc814b3}</mwc-icon>
8
+ ${_0xe5b655} ${!0x1!==_0xe4ed5b?html`<div badge>${_0xe4ed5b}</div>`:html``}
9
9
  </a>
10
- ${_0x56bbd4&&this['renderMenus'](_0x56bbd4,_0x44a906)}
10
+ ${_0x5a6355&&this[_0x2d29cf(0xbc)](_0x5a6355,_0x495242)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x1c8e32(0x6d)](){const _0xfe8a7f=a0_0x1c8e32,{menus:_0x2f7f53,activeTopLevel:_0x1ed12b,activeMenu:_0x56877f}=this;return this[_0xfe8a7f(0x70)](_0x2f7f53,_0x1ed12b,_0x56877f);}[a0_0x1c8e32(0x8a)](){const _0x3978a4=a0_0x1c8e32;this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x7b),_0xe6c40=>{const _0x2d92ad=_0x3978a4,_0x5169d1=_0xe6c40[_0x2d92ad(0x7d)]['closest'](_0x2d92ad(0x7e));if(_0x5169d1?.[_0x2d92ad(0x6a)]){let _0x2ead21=_0x5169d1['menu'];_0x2ead21[_0x2d92ad(0x76)]||(_0xe6c40[_0x2d92ad(0x68)](),_0xe6c40[_0x2d92ad(0x6f)]()),this[_0x2d92ad(0x78)](new CustomEvent(_0x2d92ad(0x7a),{'bubbles':!0x0,'detail':this[_0x2d92ad(0x82)]===_0x2ead21?void 0x0:_0x2ead21}));}let _0x5815e7=_0xe6c40['target']['href'];_0x5815e7&&location[_0x2d92ad(0x88)]===_0x5815e7&&navigate(_0x5815e7+_0x2d92ad(0x86),!0x0);}),this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x79),_0xf53d4f=>{const _0x5d5cca=_0x3978a4;_0xf53d4f[_0x5d5cca(0x7d)][_0x5d5cca(0x66)](_0x5d5cca(0x77));}),this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x67),_0x960dd8=>{const _0x11e082=_0x3978a4;_0x960dd8[_0x11e082(0x7d)][_0x11e082(0x89)](_0x11e082(0x77),'');});}}customElements[a0_0x1c8e32(0x7f)](a0_0x1c8e32(0x73),DynamicMenuPortrait);
14
+ `;}[a0_0x274c25(0xc8)](){const _0x4e1116=a0_0x274c25,{menus:_0x2272bd,activeTopLevel:_0x204825,activeMenu:_0x4c1dfa}=this;return this[_0x4e1116(0xbc)](_0x2272bd,_0x204825,_0x4c1dfa);}['firstUpdated'](){const _0x31d483=a0_0x274c25;this[_0x31d483(0xb1)][_0x31d483(0xaf)](_0x31d483(0xc5),_0x5380bc=>{const _0x58281b=_0x31d483,_0x30dc08=_0x5380bc[_0x58281b(0xa8)][_0x58281b(0xa9)](_0x58281b(0xc4));if(_0x30dc08?.[_0x58281b(0xb0)]){let _0x732986=_0x30dc08[_0x58281b(0xb0)];_0x732986['path']||(_0x5380bc[_0x58281b(0xbf)](),_0x5380bc['preventDefault']()),this[_0x58281b(0xac)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x58281b(0xb8)]===_0x732986?void 0x0:_0x732986}));}let _0x111e2d=_0x5380bc[_0x58281b(0xa8)][_0x58281b(0xaa)];_0x111e2d&&location[_0x58281b(0xaa)]===_0x111e2d&&navigate(_0x111e2d+_0x58281b(0xc3),!0x0);}),this['renderRoot']['addEventListener'](_0x31d483(0xb2),_0x43e583=>{const _0x5d4559=_0x31d483;_0x43e583['target'][_0x5d4559(0xb3)](_0x5d4559(0xad));}),this[_0x31d483(0xb1)]['addEventListener'](_0x31d483(0xc6),_0x41cf7a=>{const _0x5f05ec=_0x31d483;_0x41cf7a[_0x5f05ec(0xa8)][_0x5f05ec(0xb4)]('settled','');});}}customElements[a0_0x274c25(0xab)](a0_0x274c25(0xbe),DynamicMenuPortrait);