@things-factory/meta-ui 6.1.0 → 6.1.2

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 (83) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +6 -6
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +6 -6
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +5 -5
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +12 -12
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +5 -5
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize.js +1 -1
  71. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  72. package/server/service/meta-activity/meta-activity-query.js +1 -1
  73. package/server/service/meta-activity/meta-activity-type.js +1 -1
  74. package/server/service/meta-secret/meta-resolver.js +1 -1
  75. package/server/service/set-translations/set-translation-resolver.js +1 -1
  76. package/server/service/work-code/work-code-mutation.js +1 -1
  77. package/server/service/work-code/work-code-query.js +1 -1
  78. package/server/service/work-code/work-code-type.js +1 -1
  79. package/server/service/work-code/work-code.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x5eb524=a0_0x3b66;(function(_0x46472e,_0x30e9c0){const _0x12f7ce=a0_0x3b66,_0x5ecd65=_0x46472e();while(!![]){try{const _0x3eb44=parseInt(_0x12f7ce(0x1b0))/0x1+-parseInt(_0x12f7ce(0x1a4))/0x2*(parseInt(_0x12f7ce(0x15a))/0x3)+-parseInt(_0x12f7ce(0x16d))/0x4*(-parseInt(_0x12f7ce(0x1a2))/0x5)+parseInt(_0x12f7ce(0x1a0))/0x6*(parseInt(_0x12f7ce(0x197))/0x7)+-parseInt(_0x12f7ce(0x19f))/0x8*(-parseInt(_0x12f7ce(0x17e))/0x9)+parseInt(_0x12f7ce(0x196))/0xa*(parseInt(_0x12f7ce(0x1b4))/0xb)+parseInt(_0x12f7ce(0x1b8))/0xc*(-parseInt(_0x12f7ce(0x17f))/0xd);if(_0x3eb44===_0x30e9c0)break;else _0x5ecd65['push'](_0x5ecd65['shift']());}catch(_0x17c2f7){_0x5ecd65['push'](_0x5ecd65['shift']());}}}(a0_0x84c0,0x83792));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';function a0_0x3b66(_0x1d0d02,_0x5676d6){const _0x84c0ef=a0_0x84c0();return a0_0x3b66=function(_0x3b6656,_0xb9f3fb){_0x3b6656=_0x3b6656-0x158;let _0x3e4062=_0x84c0ef[_0x3b6656];return _0x3e4062;},a0_0x3b66(_0x1d0d02,_0x5676d6);}import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x30a8f1 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x5ce80c from'i18next';function a0_0x84c0(){const _0xeb7b3b=['MENU','tText','callScenario','networkError','\x0a\x20\x20\x20\x20\x20\x20','128127BhltEq','push','getCodeSelectorData','success\x20to\x20save','searchMyDynamicMenus','parent','question','HOME','showToast','\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','patchesForUpdateMultiple','_config','showGraphqlException','records','dirtyRecords','deleteListByIds','template','getWorkCodeByName','text.nothing_selected','3335068OWnkyP','value','columns','test','updateMultipleData','name','__origin__','find','result','routingType','object','Graphql\x20Error','sort','total','description','isEmpty','searchMenuGridPersnalTemplate','665793KvTVUE','169ZygLSj','xlsx','arrangeMenuRoutes','menus','confirm','rank','updateMultiple','data','codeItems','runScenario','getCodeByEntity','message','searchByPagination','record','SCREEN','showAlertPopup','forEach','__dirty__','success\x20to\x20delete','fetch','extensions','hidden','filter','386710hfoVzb','7483julXKQ','code','__seq__','reduce','workCodeByName','badge','showGraphqlErrorResponse','approval-pending-list','96Cwpflt','150spGVru','display','5PVRjYA','cancel','34TGTrFs','delete','category','gutter','routing','deleteListByGristSelected','exportableData','__selected__','map','success\x20to\x20process','findOne','isNotEmpty','610189VXALVE','length','numberOfToDos','menuType','264bdBKaq','creator','updater','iconPath','1866408cpbpbg','imex','details','path','GROUP','draft-list','items','children','parse','buildArgs','button.delete','hiddenFlag','menu.id','type','info','checkClientError','HIDDEN-PAGE','group','splice','findIndex','errors','text.NOTHING_CHANGED','unshift','getSelectedIdList','split','undefined','numberOfApprovalPendings','text.there_is_nothing_to_delete','query','\x0a\x20\x20\x20\x20','key','active','text.are_you_sure','error','tMenu','todo-list','resourceUrl'];a0_0x84c0=function(){return _0xeb7b3b;};return a0_0x84c0();}import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x5eb524(0x187)](_0x53377c){const _0x5901ea=a0_0x5eb524;if(Array['isArray'](_0x53377c))return _0x53377c[_0x5901ea(0x1ac)](_0x3d9afa=>'object'==typeof _0x3d9afa?{'name':_0x3d9afa[_0x5901ea(0x16e)],'description':_0x3d9afa[_0x5901ea(0x1a1)]}:{'name':_0x3d9afa,'description':_0x3d9afa});let _0x4d6acd=await ServiceUtil[_0x5901ea(0x16b)](_0x53377c);return _0x4d6acd&&_0x4d6acd[_0x5901ea(0x1b1)]>0x0?_0x4d6acd:await getCodeByName(_0x53377c);}static async['getWorkCodeByName'](_0x56a9ef){const _0x1b79d9=a0_0x5eb524,_0x51f373=await client[_0x1b79d9(0x1d4)]({'query':a0_0x30a8f1`
1
+ const a0_0x56f1ba=a0_0x23ed;(function(_0x2e0b2d,_0xcca477){const _0x1c7427=a0_0x23ed,_0x2c4962=_0x2e0b2d();while(!![]){try{const _0x3c33e0=parseInt(_0x1c7427(0xef))/0x1+parseInt(_0x1c7427(0x7f))/0x2*(parseInt(_0x1c7427(0xce))/0x3)+-parseInt(_0x1c7427(0xad))/0x4+-parseInt(_0x1c7427(0xb7))/0x5+-parseInt(_0x1c7427(0xab))/0x6+-parseInt(_0x1c7427(0x88))/0x7*(parseInt(_0x1c7427(0x8d))/0x8)+parseInt(_0x1c7427(0xc4))/0x9;if(_0x3c33e0===_0xcca477)break;else _0x2c4962['push'](_0x2c4962['shift']());}catch(_0x42aa9f){_0x2c4962['push'](_0x2c4962['shift']());}}}(a0_0x1bd0,0x7aec7));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';function a0_0x23ed(_0x1b0885,_0x4eab4c){const _0x1bd0e7=a0_0x1bd0();return a0_0x23ed=function(_0x23ed0d,_0x691ae){_0x23ed0d=_0x23ed0d-0x7b;let _0x3d979f=_0x1bd0e7[_0x23ed0d];return _0x3d979f;},a0_0x23ed(_0x1b0885,_0x4eab4c);}import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x1586c7 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x1bd0(){const _0x5558e6=['menuType','key','routing','showAlertPopup','cancel','__selected__','\x0a\x20\x20\x20\x20\x20\x20','hidden','createdAt','gridPersonalizeTemplates','object','routingType','tMenu','forEach','text.there_is_nothing_to_delete','type','description','iconPath','callScenario','button.delete','arrangeMenuRoutes','1967856CEFmUm','findIndex','1001436WPgTHs','gutter','workCodeByName','GROUP','HIDDEN-PAGE','dirtyRecords','selected','find','getCodeSelectorData','\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','1684695TYVGlc','path','SCREEN','isEmpty','numberOfToDos','__dirty__','findOne','updateMultipleData','split','dispatch','\x0a\x20\x20\x20\x20','id,template','total','9001296NlDoMc','hiddenFlag','errors','text.nothing_changed','info','test','extensions','message','success\x20to\x20delete','showGraphqlErrorResponse','111222fJeQvx','updater','approval-pending-list','record','confirm','tText','deleteListByIds','children','rank','parse','undefined','runScenario','unshift','noteq','result','text.are_you_sure','Graphql\x20Error','updatedAt','updateMultiple','success\x20to\x20save','checkClientError','deleteListByGristSelected','showToast','_config','patchesForUpdateMultiple','creator','value','todo-list','category','name','networkError','menus','parent','903423FCxEwm','active','length','resourceUrl','code','columns','getCodeByEntity','data','codeItems','showGraphqlException','imex','group','query','text.nothing_selected','sort','push','getCodeByScenario','xlsx','10KwgeNV','records','details','reduce','getWorkCodeByName','filter','isNotEmpty','searchByPagination','error','14pbtgdW','map','badge','text.NOTHING_CHANGED','MENU','2680672CfxmDl','button.','title','buildArgs','draft-list','HOME','template','__origin__','exportableData'];a0_0x1bd0=function(){return _0x5558e6;};return a0_0x1bd0();}import a0_0x4c050e from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x56f1ba(0xf7)](_0x1c96d7){const _0x592eed=a0_0x56f1ba;if(Array['isArray'](_0x1c96d7))return _0x1c96d7[_0x592eed(0x89)](_0x5e53e4=>_0x592eed(0xa0)==typeof _0x5e53e4?{'name':_0x5e53e4[_0x592eed(0xe8)],'description':_0x5e53e4['display']}:{'name':_0x5e53e4,'description':_0x5e53e4});let _0xd24133=await ServiceUtil[_0x592eed(0x83)](_0x1c96d7);return _0xd24133&&_0xd24133[_0x592eed(0xf1)]>0x0?_0xd24133:await getCodeByName(_0x1c96d7);}static async['getWorkCodeByName'](_0x9c6b4d){const _0x4b115f=a0_0x56f1ba,_0x950690=await client[_0x4b115f(0xfb)]({'query':a0_0x1586c7`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x5eb524=a0_0x3b66;(function(_0x46472e,_0x30e9c0){const _0x12f7ce=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x56a9ef},'context':gqlContext()});return!_0x51f373[_0x1b79d9(0x1cc)]&&_0x51f373[_0x1b79d9(0x186)][_0x1b79d9(0x19b)]&&_0x51f373['data'][_0x1b79d9(0x19b)][_0x1b79d9(0x1ba)]?_0x51f373[_0x1b79d9(0x186)][_0x1b79d9(0x19b)]['details']['sort']((_0x8f55cc,_0x2d7d3f)=>_0x8f55cc[_0x1b79d9(0x184)]-_0x2d7d3f['rank']):[];}static async[a0_0x5eb524(0x15c)](_0x3f61fb){const _0x461254=a0_0x5eb524;let _0x478c5c=(await ServiceUtil[_0x461254(0x187)](_0x3f61fb))[_0x461254(0x1ac)](_0x54b319=>({'value':_0x54b319[_0x461254(0x172)],'display':_0x54b319['description']}));return _0x478c5c['unshift']({'value':'','display':''}),_0x478c5c;}static async['getCodeByScenario'](_0x84b13a,_0x373004){const _0x120ebf=a0_0x5eb524;let _0x55f21d=await ServiceUtil['callScenario'](null,_0x84b13a,_0x373004);return _0x55f21d[_0x120ebf(0x1ce)]({'value':'','display':''}),_0x55f21d['map'](_0x4c8444=>({'value':_0x4c8444[_0x120ebf(0x172)],'display':_0x4c8444['description']}));}static async[a0_0x5eb524(0x189)]({queryName:_0x31c499,codeField:_0x473489=a0_0x5eb524(0x172),dispField:_0x4b5f77=a0_0x5eb524(0x17b),filters:_0x5d35d7=[],sorters:_0x7e6546=[]}){const _0x43edce=a0_0x5eb524;let _0x52c623=_0x43edce(0x159)+_0x473489+_0x43edce(0x159)+_0x4b5f77+_0x43edce(0x1d5),_0x178bb6=await ServiceUtil[_0x43edce(0x18b)](_0x31c499,_0x5d35d7,_0x7e6546,0x0,0x0,_0x52c623),_0x1b8897=[{'value':'','display':''}];return _0x178bb6[_0x43edce(0x167)][_0x43edce(0x18f)](_0x34dab5=>{_0x1b8897['push']({'value':_0x34dab5[_0x473489],'display':_0x34dab5[_0x4b5f77]});}),_0x1b8897;}static async['myDynamicMenus'](){const _0x262f40=a0_0x5eb524;let _0x450f86=await ServiceUtil[_0x262f40(0x15e)]();return null!=_0x450f86?ServiceUtil[_0x262f40(0x181)](_0x450f86):null;}static async[a0_0x5eb524(0x17d)](_0x5bfe85){const _0x3b105b=a0_0x5eb524;let _0x957ce5=[{'name':_0x3b105b(0x1c4),'operator':'eq','value':_0x5bfe85}],_0x2396be=await ServiceUtil['searchByPagination']('gridPersonalizeTemplates',_0x957ce5,[],0x0,0x0,'id,template');return 0x0==_0x2396be[_0x3b105b(0x17a)]?{}:{'id':_0x2396be[_0x3b105b(0x167)][0x0]['id'],'template':JSON[_0x3b105b(0x1c0)](_0x2396be[_0x3b105b(0x167)][0x0][_0x3b105b(0x16a)])};}static[a0_0x5eb524(0x181)](_0x4c60eb){const _0x198f1c=a0_0x5eb524;let _0x3f1b9e=[];_0x4c60eb['forEach'](_0x208604=>{const _0x22423b=a0_0x3b66;_0x3f1b9e[_0x22423b(0x15b)](_0x208604),_0x208604['children']&&(_0x208604[_0x22423b(0x1bf)][_0x22423b(0x179)](function(_0x41f7a0,_0x2d2853){const _0x45a498=_0x22423b;return _0x41f7a0[_0x45a498(0x184)]-_0x2d2853['rank'];}),_0x208604['children'][_0x22423b(0x18f)](_0x12338d=>{const _0x6ece73=_0x22423b;0x1!=_0x12338d['hiddenFlag']&&(_0x12338d[_0x6ece73(0x15f)]=_0x208604,_0x3f1b9e[_0x6ece73(0x15b)](_0x12338d));}));});let _0xeb29a8=_0x3f1b9e[_0x198f1c(0x1ac)](_0x2885f8=>{const _0x3e0bc4=_0x198f1c;if(_0x3e0bc4(0x1bc)==_0x2885f8[_0x3e0bc4(0x1b3)]||_0x3e0bc4(0x1dd)==_0x2885f8[_0x3e0bc4(0x1b3)]){let _0x111b1d={'id':_0x2885f8['id'],'parent':!0x0,'name':TermsUtil[_0x3e0bc4(0x1da)](_0x2885f8[_0x3e0bc4(0x172)]),'icon':_0x2885f8[_0x3e0bc4(0x1b7)],'type':_0x3e0bc4(0x1bc)==_0x2885f8[_0x3e0bc4(0x1b3)]?_0x3e0bc4(0x1c9):'','menus':[]};return _0x2885f8[_0x3e0bc4(0x1a8)]&&(_0x111b1d[_0x3e0bc4(0x1bb)]=_0x2885f8[_0x3e0bc4(0x1a8)]),_0x111b1d;}return{'id':'0'};})[_0x198f1c(0x195)](_0x28139f=>'0'!=_0x28139f['id']),_0x37e9b9=_0x3f1b9e[_0x198f1c(0x1ac)](_0x479e0f=>{const _0x3a206f=_0x198f1c;if(_0x3a206f(0x18d)==_0x479e0f[_0x3a206f(0x1b3)]||_0x3a206f(0x1c8)==_0x479e0f[_0x3a206f(0x1b3)]){let _0x22af18=_0xeb29a8[_0x3a206f(0x174)](_0xe49035=>_0xe49035['id']==_0x479e0f[_0x3a206f(0x15f)]['id']);if(_0x22af18){let _0x33aeda=TermsUtil['tMenu'](_0x479e0f[_0x3a206f(0x172)]);return'SCREEN'==_0x479e0f['menuType']&&_0x22af18['menus']['push']({'id':_0x479e0f['id'],'name':_0x33aeda,'path':_0x479e0f[_0x3a206f(0x1a8)],'icon':_0x479e0f[_0x3a206f(0x1b7)]}),{'id':_0x479e0f['id'],'parent':!0x1,'parent_id':_0x22af18['id'],'title':_0x33aeda,'tagname':_0x479e0f[_0x3a206f(0x1a6)],'page':_0x479e0f[_0x3a206f(0x1a8)],'template':_0x479e0f[_0x3a206f(0x1dc)],'routing_type':_0x479e0f[_0x3a206f(0x176)]};}return{'id':'0'};}return'HOME'==_0x479e0f[_0x3a206f(0x1b3)]?{'id':_0x479e0f['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x479e0f['name']),'tagname':_0x479e0f[_0x3a206f(0x1a6)],'page':_0x479e0f[_0x3a206f(0x1a8)],'template':_0x479e0f[_0x3a206f(0x1dc)],'routing_type':_0x479e0f['routingType']}:{'id':'0'};})[_0x198f1c(0x195)](_0x3faaa1=>null!=_0x3faaa1&&'0'!=_0x3faaa1['id']);_0xeb29a8[_0x198f1c(0x195)](_0x631eab=>'group'==_0x631eab[_0x198f1c(0x1c5)]&&_0x631eab[_0x198f1c(0x182)]&&_0x631eab['menus'][_0x198f1c(0x1b1)]>0x0)['forEach'](_0x1db03f=>{const _0x48083f=_0x198f1c;let _0x1c7a65=_0xeb29a8[_0x48083f(0x1cb)](_0x516bf6=>_0x516bf6['id']==_0x1db03f['id'])+0x1;_0xeb29a8[_0x48083f(0x1ca)](_0x1c7a65,0x0,..._0x1db03f[_0x48083f(0x182)]);});let _0x157bbb=0x0;return _0xeb29a8['forEach'](_0x49916a=>{const _0x23fa23=_0x198f1c;_0x23fa23(0x1db)==_0x49916a[_0x23fa23(0x1bb)]?(_0x157bbb++,_0x49916a[_0x23fa23(0x19c)]=()=>asyncReplace(generateActivitySummary(_0x23fa23(0x1b2))),_0x49916a[_0x23fa23(0x1d7)]=({path:_0x359d0a})=>/^activity\//[_0x23fa23(0x170)](_0x359d0a)):_0x23fa23(0x19e)==_0x49916a[_0x23fa23(0x1bb)]?(_0x157bbb++,_0x49916a[_0x23fa23(0x19c)]=()=>asyncReplace(generateActivitySummary(_0x23fa23(0x1d2))),_0x49916a[_0x23fa23(0x1d7)]=({path:_0x268202})=>/^activity\//[_0x23fa23(0x170)](_0x268202)):_0x23fa23(0x1bd)==_0x49916a[_0x23fa23(0x1bb)]&&(_0x157bbb++,_0x49916a['badge']=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x157bbb>0x0&&startSubscribeActivitySummary(),{'menus':_0xeb29a8,'routes':_0x37e9b9};}static async['searchMyDynamicMenus'](){const _0x57739c=a0_0x5eb524;let _0x101017=await ServiceUtil['searchByPagination'](_0x57739c(0x182),[{'name':_0x57739c(0x1c3),'operator':'noteq','value':!0x0},{'name':_0x57739c(0x1b3),'operator':'in','value':[_0x57739c(0x161),_0x57739c(0x1dd),'GROUP']}],[{'name':_0x57739c(0x184)}],0x0,0x0,_0x57739c(0x163));return _0x101017?_0x101017['records']:[];}static async['showGraphqlErrorResponse'](_0xddfaa8){const _0x179f54=a0_0x5eb524;if(_0xddfaa8['errors']&&_0xddfaa8['errors']['length']>0x0){let _0x10d77f=_0xddfaa8[_0x179f54(0x1cc)][0x0],_0x51e1ab=_0x10d77f[_0x179f54(0x18a)],_0x3e1020=_0x10d77f[_0x179f54(0x18a)];_0x10d77f[_0x179f54(0x193)]&&(_0x3e1020=_0x10d77f[_0x179f54(0x193)][_0x179f54(0x198)]),await UiUtil[_0x179f54(0x18e)](_0x3e1020,_0x51e1ab,_0x179f54(0x1d9),_0x179f54(0x183));}}static async[a0_0x5eb524(0x166)](_0x277136){const _0x366f2c=a0_0x5eb524;_0x277136&&(_0x277136[_0x366f2c(0x158)]&&_0x277136[_0x366f2c(0x158)][_0x366f2c(0x175)]?await ServiceUtil[_0x366f2c(0x19d)](_0x277136['networkError'][_0x366f2c(0x175)]):await UiUtil['showAlertPopup'](_0x366f2c(0x178),_0x277136[_0x366f2c(0x18a)],_0x366f2c(0x1d9),_0x366f2c(0x183)));}static async[a0_0x5eb524(0x1aa)](_0x37f4d1,_0x1194dd,_0x47cb01){const _0x52feff=a0_0x5eb524;var _0x25b587=_0x47cb01[_0x52feff(0x165)][_0x52feff(0x16f)]['filter'](_0x204502=>'gutter'!==_0x204502[_0x52feff(0x1c5)]&&void 0x0!==_0x204502[_0x52feff(0x18c)]&&void 0x0!==_0x204502[_0x52feff(0x1b9)]&&!0x0!==_0x204502[_0x52feff(0x194)])['map'](_0x2324ea=>_0x2324ea['imex']),_0x536e07=_0x47cb01[_0x52feff(0x186)][_0x52feff(0x167)][_0x52feff(0x1ac)](_0x2a7e15=>({..._0x47cb01['_config'][_0x52feff(0x16f)][_0x52feff(0x195)](_0x38469b=>_0x52feff(0x1a7)!==_0x38469b[_0x52feff(0x1c5)]&&void 0x0!==_0x38469b[_0x52feff(0x18c)]&&void 0x0!==_0x38469b[_0x52feff(0x1b9)]&&!0x0!==_0x38469b[_0x52feff(0x194)])[_0x52feff(0x19a)]((_0x10c3c4,_0x563e62)=>(_0x10c3c4[_0x563e62[_0x52feff(0x1b9)][_0x52feff(0x1d6)]]=_0x563e62[_0x52feff(0x1b9)]['key'][_0x52feff(0x1d0)]('.')[_0x52feff(0x19a)]((_0x1f9c4f,_0x96e5f)=>_0x1f9c4f&&_0x52feff(0x1d1)!==_0x1f9c4f[_0x96e5f]?_0x1f9c4f[_0x96e5f]:void 0x0,_0x2a7e15),_0x10c3c4),{})}));if(!_0x37f4d1)return{'header':_0x25b587,'data':_0x536e07};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x52feff(0x180),'name':_0x1194dd,'data':{'header':_0x25b587,'data':_0x536e07}}});}static async[a0_0x5eb524(0x18b)](_0x3c9d27,_0x20f75c,_0x4769e4,_0x10d1d4,_0x3c947f,_0x4a3737){const _0x16eec8=a0_0x5eb524;try{const _0x4f41e7=await client['query']({'query':a0_0x30a8f1`
11
+ `,'variables':{'name':_0x9c6b4d},'context':gqlContext()});return!_0x950690[_0x4b115f(0xc6)]&&_0x950690['data'][_0x4b115f(0xaf)]&&_0x950690['data'][_0x4b115f(0xaf)][_0x4b115f(0x81)]?_0x950690[_0x4b115f(0xf6)]['workCodeByName'][_0x4b115f(0x81)][_0x4b115f(0x7b)]((_0x3da49c,_0x49ba2f)=>_0x3da49c[_0x4b115f(0xd6)]-_0x49ba2f['rank']):[];}static async[a0_0x56f1ba(0xb5)](_0x12b7b9){const _0x386465=a0_0x56f1ba;let _0x41aa84=(await ServiceUtil[_0x386465(0xf7)](_0x12b7b9))[_0x386465(0x89)](_0x4309d7=>({'value':_0x4309d7['name'],'display':_0x4309d7[_0x386465(0xa6)]}));return _0x41aa84[_0x386465(0xda)]({'value':'','display':''}),_0x41aa84;}static async[a0_0x56f1ba(0x7d)](_0x45a085,_0x38fe1b){const _0x1e6091=a0_0x56f1ba;let _0xcb39f2=await ServiceUtil['callScenario'](null,_0x45a085,_0x38fe1b);return _0xcb39f2['unshift']({'value':'','display':''}),_0xcb39f2[_0x1e6091(0x89)](_0xb7405=>({'value':_0xb7405[_0x1e6091(0xeb)],'display':_0xb7405['description']}));}static async[a0_0x56f1ba(0xf5)]({queryName:_0x5cff8d,codeField:_0x185fef='name',dispField:_0x2c7664=a0_0x56f1ba(0xa6),filters:_0x29ef49=[],sorters:_0x3011b0=[]}){const _0x21ecb1=a0_0x56f1ba;let _0x210aee=_0x21ecb1(0x9c)+_0x185fef+_0x21ecb1(0x9c)+_0x2c7664+_0x21ecb1(0xc1),_0x178c5a=await ServiceUtil[_0x21ecb1(0x86)](_0x5cff8d,_0x29ef49,_0x3011b0,0x0,0x0,_0x210aee),_0x4e366c=[{'value':'','display':''}];return _0x178c5a['records'][_0x21ecb1(0xa3)](_0x2d30f7=>{_0x4e366c['push']({'value':_0x2d30f7[_0x185fef],'display':_0x2d30f7[_0x2c7664]});}),_0x4e366c;}static async['myDynamicMenus'](){const _0x4869f8=a0_0x56f1ba;let _0x377dfa=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x377dfa?ServiceUtil[_0x4869f8(0xaa)](_0x377dfa):null;}static async['searchMenuGridPersnalTemplate'](_0x3b460c){const _0x12f372=a0_0x56f1ba;let _0x838ef4=[{'name':'menu.id','operator':'eq','value':_0x3b460c}],_0x340790=await ServiceUtil[_0x12f372(0x86)](_0x12f372(0x9f),_0x838ef4,[],0x0,0x0,_0x12f372(0xc2));return 0x0==_0x340790[_0x12f372(0xc3)]?{}:{'id':_0x340790[_0x12f372(0x80)][0x0]['id'],'template':JSON[_0x12f372(0xd7)](_0x340790[_0x12f372(0x80)][0x0][_0x12f372(0x93)])};}static['arrangeMenuRoutes'](_0x350e05){const _0x27a9f5=a0_0x56f1ba;let _0xeecce8=[];_0x350e05[_0x27a9f5(0xa3)](_0x180717=>{const _0x15f964=_0x27a9f5;_0xeecce8[_0x15f964(0x7c)](_0x180717),_0x180717[_0x15f964(0xd5)]&&(_0x180717[_0x15f964(0xd5)][_0x15f964(0x7b)](function(_0x1eedbd,_0x2b9697){const _0x4a9f16=_0x15f964;return _0x1eedbd['rank']-_0x2b9697[_0x4a9f16(0xd6)];}),_0x180717[_0x15f964(0xd5)][_0x15f964(0xa3)](_0xf6cfa9=>{const _0x3da0c4=_0x15f964;0x1!=_0xf6cfa9[_0x3da0c4(0xc5)]&&(_0xf6cfa9[_0x3da0c4(0xee)]=_0x180717,_0xeecce8[_0x3da0c4(0x7c)](_0xf6cfa9));}));});let _0x257a51=_0xeecce8[_0x27a9f5(0x89)](_0x32045c=>{const _0x382264=_0x27a9f5;if(_0x382264(0xb0)==_0x32045c[_0x382264(0x96)]||_0x382264(0x8c)==_0x32045c['menuType']){let _0x2188e0={'id':_0x32045c['id'],'parent':!0x0,'name':TermsUtil[_0x382264(0xa2)](_0x32045c[_0x382264(0xeb)]),'icon':_0x32045c['iconPath'],'type':'GROUP'==_0x32045c[_0x382264(0x96)]?_0x382264(0xfa):'','menus':[]};return _0x32045c[_0x382264(0x98)]&&(_0x2188e0[_0x382264(0xb8)]=_0x32045c['routing']),_0x2188e0;}return{'id':'0'};})[_0x27a9f5(0x84)](_0x4b1d11=>'0'!=_0x4b1d11['id']),_0x4611e9=_0xeecce8[_0x27a9f5(0x89)](_0x5b0be3=>{const _0x37d79a=_0x27a9f5;if(_0x37d79a(0xb9)==_0x5b0be3[_0x37d79a(0x96)]||_0x37d79a(0xb1)==_0x5b0be3[_0x37d79a(0x96)]){let _0x505c83=_0x257a51[_0x37d79a(0xb4)](_0x54a040=>_0x54a040['id']==_0x5b0be3['parent']['id']);if(_0x505c83){let _0x4a050c=TermsUtil[_0x37d79a(0xa2)](_0x5b0be3['name']);return _0x37d79a(0xb9)==_0x5b0be3['menuType']&&_0x505c83[_0x37d79a(0xed)][_0x37d79a(0x7c)]({'id':_0x5b0be3['id'],'name':_0x4a050c,'path':_0x5b0be3['routing'],'icon':_0x5b0be3[_0x37d79a(0xa7)]}),{'id':_0x5b0be3['id'],'parent':!0x1,'parent_id':_0x505c83['id'],'title':_0x4a050c,'tagname':_0x5b0be3[_0x37d79a(0xea)],'page':_0x5b0be3[_0x37d79a(0x98)],'template':_0x5b0be3['resourceUrl'],'routing_type':_0x5b0be3[_0x37d79a(0xa1)]};}return{'id':'0'};}return _0x37d79a(0x92)==_0x5b0be3['menuType']?{'id':_0x5b0be3['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x37d79a(0xa2)](_0x5b0be3['name']),'tagname':_0x5b0be3['category'],'page':_0x5b0be3[_0x37d79a(0x98)],'template':_0x5b0be3[_0x37d79a(0xf2)],'routing_type':_0x5b0be3[_0x37d79a(0xa1)]}:{'id':'0'};})[_0x27a9f5(0x84)](_0x3eb8d9=>null!=_0x3eb8d9&&'0'!=_0x3eb8d9['id']);_0x257a51[_0x27a9f5(0x84)](_0x23e6c7=>_0x27a9f5(0xfa)==_0x23e6c7[_0x27a9f5(0xa5)]&&_0x23e6c7['menus']&&_0x23e6c7[_0x27a9f5(0xed)]['length']>0x0)[_0x27a9f5(0xa3)](_0x3875f9=>{const _0x1cd473=_0x27a9f5;let _0x5d43f5=_0x257a51[_0x1cd473(0xac)](_0x2294f5=>_0x2294f5['id']==_0x3875f9['id'])+0x1;_0x257a51['splice'](_0x5d43f5,0x0,..._0x3875f9[_0x1cd473(0xed)]);});let _0xe3bc99=0x0;return _0x257a51[_0x27a9f5(0xa3)](_0x1c8fdc=>{const _0x56732a=_0x27a9f5;_0x56732a(0xe9)==_0x1c8fdc['path']?(_0xe3bc99++,_0x1c8fdc[_0x56732a(0x8a)]=()=>asyncReplace(generateActivitySummary(_0x56732a(0xbb))),_0x1c8fdc['active']=({path:_0x522082})=>/^activity\//[_0x56732a(0xc9)](_0x522082)):_0x56732a(0xd0)==_0x1c8fdc['path']?(_0xe3bc99++,_0x1c8fdc[_0x56732a(0x8a)]=()=>asyncReplace(generateActivitySummary('numberOfApprovalPendings')),_0x1c8fdc[_0x56732a(0xf0)]=({path:_0x54506d})=>/^activity\//[_0x56732a(0xc9)](_0x54506d)):_0x56732a(0x91)==_0x1c8fdc['path']&&(_0xe3bc99++,_0x1c8fdc['badge']=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0xe3bc99>0x0&&startSubscribeActivitySummary(),{'menus':_0x257a51,'routes':_0x4611e9};}static async['searchMyDynamicMenus'](){const _0x5ef247=a0_0x56f1ba;let _0x61c76b=await ServiceUtil[_0x5ef247(0x86)](_0x5ef247(0xed),[{'name':_0x5ef247(0xc5),'operator':_0x5ef247(0xdb),'value':!0x0},{'name':'menuType','operator':'in','value':[_0x5ef247(0x92),_0x5ef247(0x8c),'GROUP']}],[{'name':'rank'}],0x0,0x0,_0x5ef247(0xb6));return _0x61c76b?_0x61c76b[_0x5ef247(0x80)]:[];}static async['showGraphqlErrorResponse'](_0x1e4f76){const _0x2a5fd0=a0_0x56f1ba;if(_0x1e4f76[_0x2a5fd0(0xc6)]&&_0x1e4f76['errors'][_0x2a5fd0(0xf1)]>0x0){let _0x2176f1=_0x1e4f76[_0x2a5fd0(0xc6)][0x0],_0x2a4744=_0x2176f1[_0x2a5fd0(0xcb)],_0x36c1ae=_0x2176f1['message'];_0x2176f1[_0x2a5fd0(0xca)]&&(_0x36c1ae=_0x2176f1['extensions'][_0x2a5fd0(0xf3)]),await UiUtil[_0x2a5fd0(0x99)](_0x36c1ae,_0x2a4744,_0x2a5fd0(0x87),_0x2a5fd0(0xd2));}}static async['showGraphqlException'](_0x265886){const _0x3cf904=a0_0x56f1ba;_0x265886&&(_0x265886[_0x3cf904(0xec)]&&_0x265886[_0x3cf904(0xec)][_0x3cf904(0xdc)]?await ServiceUtil[_0x3cf904(0xcd)](_0x265886[_0x3cf904(0xec)][_0x3cf904(0xdc)]):await UiUtil[_0x3cf904(0x99)](_0x3cf904(0xde),_0x265886[_0x3cf904(0xcb)],_0x3cf904(0x87),'confirm'));}static async[a0_0x56f1ba(0x95)](_0x479e97,_0x25de32,_0x2fc105){const _0x4c44a5=a0_0x56f1ba;var _0x288338=_0x2fc105[_0x4c44a5(0xe5)][_0x4c44a5(0xf4)][_0x4c44a5(0x84)](_0x324d22=>_0x4c44a5(0xae)!==_0x324d22['type']&&void 0x0!==_0x324d22[_0x4c44a5(0xd1)]&&void 0x0!==_0x324d22['imex']&&!0x0!==_0x324d22[_0x4c44a5(0x9d)])['map'](_0x590bb6=>_0x590bb6[_0x4c44a5(0xf9)]),_0x345980=_0x2fc105['data'][_0x4c44a5(0x80)][_0x4c44a5(0x89)](_0x2073bb=>({..._0x2fc105['_config'][_0x4c44a5(0xf4)][_0x4c44a5(0x84)](_0x2363f6=>_0x4c44a5(0xae)!==_0x2363f6[_0x4c44a5(0xa5)]&&void 0x0!==_0x2363f6['record']&&void 0x0!==_0x2363f6[_0x4c44a5(0xf9)]&&!0x0!==_0x2363f6['hidden'])[_0x4c44a5(0x82)]((_0x38cf93,_0xce1161)=>(_0x38cf93[_0xce1161[_0x4c44a5(0xf9)]['key']]=_0xce1161['imex'][_0x4c44a5(0x97)][_0x4c44a5(0xbf)]('.')['reduce']((_0x5c9a8c,_0x11ee9d)=>_0x5c9a8c&&_0x4c44a5(0xd8)!==_0x5c9a8c[_0x11ee9d]?_0x5c9a8c[_0x11ee9d]:void 0x0,_0x2073bb),_0x38cf93),{})}));if(!_0x479e97)return{'header':_0x288338,'data':_0x345980};store[_0x4c44a5(0xc0)]({'type':EXPORT,'exportable':{'extension':_0x4c44a5(0x7e),'name':_0x25de32,'data':{'header':_0x288338,'data':_0x345980}}});}static async[a0_0x56f1ba(0x86)](_0xb364c0,_0x20e9bc,_0x5b0171,_0x5ec7e1,_0x3a70e9,_0x264f5c){const _0x52d75b=a0_0x56f1ba;try{const _0x2b7864=await client[_0x52d75b(0xfb)]({'query':a0_0x1586c7`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x3c9d27}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0xb364c0}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x4a3737}
15
+ ${_0x264f5c}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x20f75c,'sortings':_0x4769e4,'pagination':{'page':_0x10d1d4,'limit':_0x3c947f}}});if(!_0x4f41e7['errors'])return{'records':_0x4f41e7[_0x16eec8(0x186)][_0x3c9d27][_0x16eec8(0x1be)],'total':_0x4f41e7[_0x16eec8(0x186)][_0x3c9d27][_0x16eec8(0x17a)]};ServiceUtil[_0x16eec8(0x19d)](_0x4f41e7);}catch(_0x1027c1){ServiceUtil['showGraphqlException'](_0x1027c1);}return null;}static async[a0_0x5eb524(0x1ae)](_0x3ca142,_0x21cfc8,_0x15e79a){const _0x4f6d56=a0_0x5eb524;try{let _0x5630bf=await client[_0x4f6d56(0x1d4)]({'query':a0_0x30a8f1`
20
+ `,'variables':{'filters':_0x20e9bc,'sortings':_0x5b0171,'pagination':{'page':_0x5ec7e1,'limit':_0x3a70e9}}});if(!_0x2b7864[_0x52d75b(0xc6)])return{'records':_0x2b7864[_0x52d75b(0xf6)][_0xb364c0]['items'],'total':_0x2b7864[_0x52d75b(0xf6)][_0xb364c0]['total']};ServiceUtil[_0x52d75b(0xcd)](_0x2b7864);}catch(_0x212bc7){ServiceUtil[_0x52d75b(0xf8)](_0x212bc7);}return null;}static async[a0_0x56f1ba(0xbd)](_0x5e5ab7,_0x167b2b,_0x298ee8){const _0x5c555b=a0_0x56f1ba;try{let _0x1a1e97=await client[_0x5c555b(0xfb)]({'query':a0_0x1586c7`
21
21
  query ($id: String!) {
22
- ${_0x3ca142}(id: $id) {
23
- ${_0x15e79a}
22
+ ${_0x5e5ab7}(id: $id) {
23
+ ${_0x298ee8}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x21cfc8}});if(!_0x5630bf[_0x4f6d56(0x1cc)])return _0x5630bf[_0x4f6d56(0x186)][_0x3ca142]||{};ServiceUtil['showGraphqlErrorResponse'](_0x5630bf);}catch(_0xee37b4){ServiceUtil[_0x4f6d56(0x166)](_0xee37b4);}return null;}static[a0_0x5eb524(0x1cf)](_0x3be161,_0x3c97ef){const _0x2d79a2=a0_0x5eb524,_0x17cf79=_0x3be161['selected'][_0x2d79a2(0x1ac)](_0x3d19d5=>_0x3d19d5['id']);return ValueUtil[_0x2d79a2(0x17c)](_0x17cf79)&&0x1==_0x3c97ef&&UiUtil[_0x2d79a2(0x18e)](_0x2d79a2(0x16c),_0x2d79a2(0x1d3),_0x2d79a2(0x1c6),_0x2d79a2(0x183)),_0x17cf79;}static async[a0_0x5eb524(0x1a9)](_0x189dd8,_0xdc53d1){const _0x1115e3=a0_0x5eb524;let _0x40c2ed=ServiceUtil[_0x1115e3(0x1cf)](_0x189dd8,!0x0);ValueUtil[_0x1115e3(0x1af)](_0x40c2ed)&&(await ServiceUtil[_0x1115e3(0x169)](_0x40c2ed,_0xdc53d1)&&_0x189dd8[_0x1115e3(0x192)]());}static async[a0_0x5eb524(0x169)](_0xc4bb86,_0x4441fe){const _0xf07f71=a0_0x5eb524;if(!(await UiUtil[_0xf07f71(0x18e)](_0xf07f71(0x1c2),_0xf07f71(0x1d8),_0xf07f71(0x160),_0xf07f71(0x1a5),'cancel'))[_0xf07f71(0x16e)])return!0x1;try{const _0x5a0d39=await client[_0xf07f71(0x1d4)]({'query':a0_0x30a8f1`
26
+ `,'variables':{'id':_0x167b2b}});if(!_0x1a1e97[_0x5c555b(0xc6)])return _0x1a1e97[_0x5c555b(0xf6)][_0x5e5ab7]||{};ServiceUtil['showGraphqlErrorResponse'](_0x1a1e97);}catch(_0x52b5bb){ServiceUtil[_0x5c555b(0xf8)](_0x52b5bb);}return null;}static['getSelectedIdList'](_0x54e249,_0x4464c5){const _0x2945da=a0_0x56f1ba,_0x1bd903=_0x54e249[_0x2945da(0xb3)]['map'](_0x5834e8=>_0x5834e8['id']);return ValueUtil[_0x2945da(0xba)](_0x1bd903)&&0x1==_0x4464c5&&UiUtil[_0x2945da(0x99)](_0x2945da(0xfc),_0x2945da(0xa4),_0x2945da(0xc8),'confirm'),_0x1bd903;}static async[a0_0x56f1ba(0xe3)](_0x3df673,_0x50d1cb){const _0x47849c=a0_0x56f1ba;let _0x3a85b2=ServiceUtil['getSelectedIdList'](_0x3df673,!0x0);ValueUtil[_0x47849c(0x85)](_0x3a85b2)&&(await ServiceUtil[_0x47849c(0xd4)](_0x3a85b2,_0x50d1cb)&&_0x3df673['fetch']());}static async[a0_0x56f1ba(0xd4)](_0x322b3f,_0x356c1a){const _0x18765d=a0_0x56f1ba;if(!(await UiUtil[_0x18765d(0x99)](_0x18765d(0xa9),_0x18765d(0xdd),'question','delete','cancel'))[_0x18765d(0xe8)])return!0x1;try{const _0x3c4967=await client['query']({'query':a0_0x1586c7`
27
27
  mutation {
28
- ${_0x4441fe}(${gqlBuilder['buildArgs']({'ids':_0xc4bb86})})
28
+ ${_0x356c1a}(${gqlBuilder[_0x18765d(0x90)]({'ids':_0x322b3f})})
29
29
  }
30
- `});if(!_0x5a0d39['errors'])return UiUtil[_0xf07f71(0x162)](_0xf07f71(0x1c6),TermsUtil[_0xf07f71(0x1de)](_0xf07f71(0x191))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5a0d39);}catch(_0x1f8daf){ServiceUtil[_0xf07f71(0x166)](_0x1f8daf);}return!0x1;}static async[a0_0x5eb524(0x171)](_0x5c9ece,_0x4f7075){const _0xfda8e3=a0_0x5eb524;let _0x81f147=ServiceUtil[_0xfda8e3(0x164)](_0x5c9ece);if(ValueUtil['isNotEmpty'](_0x81f147)){let _0x451ca8=await ServiceUtil[_0xfda8e3(0x185)](_0x4f7075,_0x81f147);if(_0x451ca8)return _0x5c9ece[_0xfda8e3(0x192)](),_0x451ca8;}return!0x1;}static async[a0_0x5eb524(0x185)](_0x485085,_0x336c0e){const _0x5dff74=a0_0x5eb524;try{const _0x2c852f=await client[_0x5dff74(0x1d4)]({'query':a0_0x30a8f1`
30
+ `});if(!_0x3c4967['errors'])return UiUtil[_0x18765d(0xe4)]('info',TermsUtil['tText'](_0x18765d(0xcc))),!0x0;ServiceUtil[_0x18765d(0xcd)](_0x3c4967);}catch(_0x388bcc){ServiceUtil[_0x18765d(0xf8)](_0x388bcc);}return!0x1;}static async[a0_0x56f1ba(0xbe)](_0x47b9ab,_0x497238){const _0x2456d1=a0_0x56f1ba;let _0x41cf8f=ServiceUtil[_0x2456d1(0xe6)](_0x47b9ab);if(ValueUtil[_0x2456d1(0x85)](_0x41cf8f)){let _0x1c9f5b=await ServiceUtil[_0x2456d1(0xe0)](_0x497238,_0x41cf8f);if(_0x1c9f5b)return _0x47b9ab['fetch'](),_0x1c9f5b;}return!0x1;}static async['updateMultiple'](_0x39fe45,_0x3ce8ae){const _0x2690eb=a0_0x56f1ba;try{const _0x2a2901=await client[_0x2690eb(0xfb)]({'query':a0_0x1586c7`
31
31
  mutation {
32
- ${_0x485085}(${gqlBuilder[_0x5dff74(0x1c1)]({'patches':_0x336c0e})}) {
32
+ ${_0x39fe45}(${gqlBuilder[_0x2690eb(0x90)]({'patches':_0x3ce8ae})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x2c852f[_0x5dff74(0x1cc)])return UiUtil['showToast']('info',TermsUtil[_0x5dff74(0x1de)](_0x5dff74(0x15d))),!0x0;ServiceUtil[_0x5dff74(0x19d)](_0x2c852f);}catch(_0x3e835e){ServiceUtil['showGraphqlException'](_0x3e835e);}return!0x1;}static[a0_0x5eb524(0x164)](_0x3c2064,_0x1bbb3f=!0x1){const _0x518b5a=a0_0x5eb524;let _0x244d69=_0x3c2064[_0x518b5a(0x168)];if(_0x244d69&&0x0!=_0x244d69[_0x518b5a(0x1b1)])return _0x244d69['map'](_0x5c8be1=>{const _0x53f179=_0x518b5a;let _0x4eba39=_0x5c8be1['id']?{'id':_0x5c8be1['id']}:{};for(let _0x2868dd in _0x5c8be1)[_0x53f179(0x1b5),_0x53f179(0x1b6),'createdAt','updatedAt',_0x53f179(0x190),'__dirtyfields__',_0x53f179(0x173),_0x53f179(0x199),_0x53f179(0x1ab)]['includes'](_0x2868dd)||(_0x5c8be1[_0x2868dd]&&_0x53f179(0x177)==typeof _0x5c8be1[_0x2868dd]&&0x0==_0x1bbb3f?_0x4eba39[_0x2868dd]={'id':_0x5c8be1[_0x2868dd]['id']}:_0x4eba39[_0x2868dd]=_0x5c8be1[_0x2868dd]);return _0x4eba39['cuFlag']=_0x5c8be1[_0x53f179(0x190)],_0x4eba39;});UiUtil[_0x518b5a(0x18e)]('text.nothing_changed',_0x518b5a(0x1cd),_0x518b5a(0x1c6),_0x518b5a(0x183));}static async[a0_0x5eb524(0x1df)](_0x4d7996,_0x3a969f,_0x479936,_0x25629d=!0x0){const _0x439cd0=a0_0x5eb524;let _0x340bda=!0x0;_0x4d7996&&!0x0===_0x25629d&&(_0x340bda=(await UiUtil[_0x439cd0(0x18e)]('button.'+_0x4d7996,_0x439cd0(0x1d8),_0x439cd0(0x160),_0x439cd0(0x183),_0x439cd0(0x1a3)))['value']);if(_0x340bda)try{const _0x4c7d2b=await client[_0x439cd0(0x1d4)]({'query':a0_0x30a8f1`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x2a2901[_0x2690eb(0xc6)])return UiUtil[_0x2690eb(0xe4)](_0x2690eb(0xc8),TermsUtil[_0x2690eb(0xd3)](_0x2690eb(0xe1))),!0x0;ServiceUtil[_0x2690eb(0xcd)](_0x2a2901);}catch(_0x11fd8d){ServiceUtil['showGraphqlException'](_0x11fd8d);}return!0x1;}static['patchesForUpdateMultiple'](_0x5e8ad5,_0x40402a=!0x1){const _0x214628=a0_0x56f1ba;let _0x1909bc=_0x5e8ad5[_0x214628(0xb2)];if(_0x1909bc&&0x0!=_0x1909bc[_0x214628(0xf1)])return _0x1909bc['map'](_0x59c1a6=>{const _0x3b96f4=_0x214628;let _0x4592a5=_0x59c1a6['id']?{'id':_0x59c1a6['id']}:{};for(let _0x2fbf70 in _0x59c1a6)[_0x3b96f4(0xe7),_0x3b96f4(0xcf),_0x3b96f4(0x9e),_0x3b96f4(0xdf),_0x3b96f4(0xbc),'__dirtyfields__',_0x3b96f4(0x94),'__seq__',_0x3b96f4(0x9b)]['includes'](_0x2fbf70)||(_0x59c1a6[_0x2fbf70]&&_0x3b96f4(0xa0)==typeof _0x59c1a6[_0x2fbf70]&&0x0==_0x40402a?_0x4592a5[_0x2fbf70]={'id':_0x59c1a6[_0x2fbf70]['id']}:_0x4592a5[_0x2fbf70]=_0x59c1a6[_0x2fbf70]);return _0x4592a5['cuFlag']=_0x59c1a6['__dirty__'],_0x4592a5;});UiUtil[_0x214628(0x99)](_0x214628(0xc7),_0x214628(0x8b),_0x214628(0xc8),_0x214628(0xd2));}static async[a0_0x56f1ba(0xa8)](_0x535bb0,_0xb8a81c,_0x4d60be,_0x103a5c=!0x0){const _0x544716=a0_0x56f1ba;let _0x896d07=!0x0;_0x535bb0&&!0x0===_0x103a5c&&(_0x896d07=(await UiUtil['showAlertPopup'](_0x544716(0x8e)+_0x535bb0,'text.are_you_sure','question',_0x544716(0xd2),_0x544716(0x9a)))[_0x544716(0xe8)]);if(_0x896d07)try{const _0x518404=await client[_0x544716(0xfb)]({'query':a0_0x1586c7`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x5eb524=a0_0x3b66;(function(_0x46472e,_0x30e9c0){const _0x12f7ce=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x3a969f,'variables':_0x479936}});if(_0x4c7d2b['errors'])ServiceUtil['showGraphqlErrorResponse'](_0x4c7d2b);else{if(this[_0x439cd0(0x1c7)](_0x4c7d2b))return!0x0===_0x25629d&&UiUtil['showToast'](_0x439cd0(0x1c6),TermsUtil[_0x439cd0(0x1de)](_0x439cd0(0x1ad))),_0x4c7d2b;}}catch(_0x5d02dd){ServiceUtil[_0x439cd0(0x166)](_0x5d02dd);}return!0x1;}static[a0_0x5eb524(0x1c7)](_0x321ead){const _0x422598=a0_0x5eb524;if(_0x321ead&&_0x321ead[_0x422598(0x186)]&&_0x321ead[_0x422598(0x186)][_0x422598(0x188)]&&_0x321ead[_0x422598(0x186)][_0x422598(0x188)][_0x422598(0x186)]&&_0x321ead[_0x422598(0x186)]['runScenario'][_0x422598(0x186)][_0x422598(0x1d9)]){let _0x3874eb=_0x321ead[_0x422598(0x186)][_0x422598(0x188)][_0x422598(0x186)][_0x422598(0x1d9)];return UiUtil[_0x422598(0x18e)](_0x3874eb['title'],_0x3874eb['message'],_0x422598(0x1d9),_0x422598(0x183)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0xb8a81c,'variables':_0x4d60be}});if(_0x518404[_0x544716(0xc6)])ServiceUtil[_0x544716(0xcd)](_0x518404);else{if(this['checkClientError'](_0x518404))return!0x0===_0x103a5c&&UiUtil[_0x544716(0xe4)]('info',TermsUtil[_0x544716(0xd3)]('success\x20to\x20process')),_0x518404;}}catch(_0x2b5ebc){ServiceUtil[_0x544716(0xf8)](_0x2b5ebc);}return!0x1;}static[a0_0x56f1ba(0xe2)](_0x841b5){const _0x5928fe=a0_0x56f1ba;if(_0x841b5&&_0x841b5[_0x5928fe(0xf6)]&&_0x841b5[_0x5928fe(0xf6)]['runScenario']&&_0x841b5[_0x5928fe(0xf6)][_0x5928fe(0xd9)]['data']&&_0x841b5[_0x5928fe(0xf6)][_0x5928fe(0xd9)]['data'][_0x5928fe(0x87)]){let _0x406dee=_0x841b5[_0x5928fe(0xf6)][_0x5928fe(0xd9)][_0x5928fe(0xf6)][_0x5928fe(0x87)];return UiUtil[_0x5928fe(0x99)](_0x406dee[_0x5928fe(0x8f)],_0x406dee[_0x5928fe(0xcb)],'error',_0x5928fe(0xd2)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- function a0_0x1eec(_0x2d9c55,_0x3a3e68){const _0x54dc5e=a0_0x54dc();return a0_0x1eec=function(_0x1eec13,_0x3d184f){_0x1eec13=_0x1eec13-0x77;let _0x2036d4=_0x54dc5e[_0x1eec13];return _0x2036d4;},a0_0x1eec(_0x2d9c55,_0x3a3e68);}const a0_0x53fe23=a0_0x1eec;(function(_0x3e0258,_0x5018cb){const _0x422378=a0_0x1eec,_0x1b952e=_0x3e0258();while(!![]){try{const _0x41f1d7=-parseInt(_0x422378(0x7b))/0x1+-parseInt(_0x422378(0x98))/0x2*(-parseInt(_0x422378(0x83))/0x3)+parseInt(_0x422378(0x91))/0x4*(-parseInt(_0x422378(0x8e))/0x5)+parseInt(_0x422378(0x9a))/0x6+parseInt(_0x422378(0x7c))/0x7*(-parseInt(_0x422378(0x94))/0x8)+-parseInt(_0x422378(0x79))/0x9*(-parseInt(_0x422378(0x88))/0xa)+parseInt(_0x422378(0x77))/0xb;if(_0x41f1d7===_0x5018cb)break;else _0x1b952e['push'](_0x1b952e['shift']());}catch(_0x194552){_0x1b952e['push'](_0x1b952e['shift']());}}}(a0_0x54dc,0xe9b51));import a0_0x4b3e4b from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x53fe23(0x99)]=null;static async[a0_0x53fe23(0x7d)](_0x2c1eba){const _0x2d0347=a0_0x53fe23;let _0x4ce116=(await TermsUtil['fetchTerminologies'](_0x2c1eba))[_0x2d0347(0x8c)];_0x4ce116&&_0x4ce116[_0x2d0347(0x90)]>0x0&&(this[_0x2d0347(0x99)]={},_0x4ce116[_0x2d0347(0x7a)](_0x16af8d=>{const _0x45a4c4=_0x2d0347;let _0x38ccfc=_0x16af8d[_0x45a4c4(0x86)]+'.'+_0x16af8d[_0x45a4c4(0x8d)];this['META_TERMS'][_0x38ccfc]=_0x16af8d['display'];}));}static async['fetchTerminologies'](_0x59da0a){const _0x297ce4=a0_0x53fe23;let _0x174ea7=[{'name':_0x297ce4(0x8f),'operator':'eq','value':_0x59da0a}];const _0x257fef=await client[_0x297ce4(0x8a)]({'query':a0_0x4b3e4b`
1
+ const a0_0x230631=a0_0x269c;(function(_0x50f644,_0x45d7ba){const _0x407e83=a0_0x269c,_0x10bf3e=_0x50f644();while(!![]){try{const _0x278094=parseInt(_0x407e83(0x131))/0x1*(-parseInt(_0x407e83(0x141))/0x2)+-parseInt(_0x407e83(0x11e))/0x3+-parseInt(_0x407e83(0x13c))/0x4*(-parseInt(_0x407e83(0x130))/0x5)+-parseInt(_0x407e83(0x11b))/0x6*(-parseInt(_0x407e83(0x11a))/0x7)+-parseInt(_0x407e83(0x11d))/0x8*(-parseInt(_0x407e83(0x122))/0x9)+-parseInt(_0x407e83(0x127))/0xa+-parseInt(_0x407e83(0x137))/0xb;if(_0x278094===_0x45d7ba)break;else _0x10bf3e['push'](_0x10bf3e['shift']());}catch(_0x840d80){_0x10bf3e['push'](_0x10bf3e['shift']());}}}(a0_0x58c9,0x5c858));import a0_0x53a3bf from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';function a0_0x58c9(){const _0x2529a2=['112KprIYW','252654dowCGU','display','16xPiEva','2131536tLfcDL','data','label','tMenu','913968PeQdEQ','fetchTerminologies','replace','total','errors','3846370kNPpXW','text','field','downloadTerminologies','query','title','records','tError','translate','815JXkqoa','1dAHWXQ','error','terminologies','tTitle','forEach','length','1184964RiWNzj','META_TERMS','menu','category','tText','17704OqYSWh','tField','keys','name','items','32890zGHBqe'];a0_0x58c9=function(){return _0x2529a2;};return a0_0x58c9();}function a0_0x269c(_0x32c37b,_0x35df6c){const _0x58c959=a0_0x58c9();return a0_0x269c=function(_0x269cde,_0x3fc460){_0x269cde=_0x269cde-0x11a;let _0x2e021c=_0x58c959[_0x269cde];return _0x2e021c;},a0_0x269c(_0x32c37b,_0x35df6c);}export class TermsUtil{[a0_0x230631(0x138)]=null;static async[a0_0x230631(0x12a)](_0x5a782c){const _0x3b0e08=a0_0x230631;let _0x421f5f=(await TermsUtil[_0x3b0e08(0x123)](_0x5a782c))[_0x3b0e08(0x12d)];_0x421f5f&&_0x421f5f[_0x3b0e08(0x136)]>0x0&&(this['META_TERMS']={},_0x421f5f[_0x3b0e08(0x135)](_0x412314=>{const _0x5c5945=_0x3b0e08;let _0x5d4e87=_0x412314[_0x5c5945(0x13a)]+'.'+_0x412314[_0x5c5945(0x13f)];this['META_TERMS'][_0x5d4e87]=_0x412314[_0x5c5945(0x11c)];}));}static async[a0_0x230631(0x123)](_0x50d8ba){const _0xb400ba=a0_0x230631;let _0x379dc3=[{'name':'locale','operator':'eq','value':_0x50d8ba}];const _0x1618aa=await client[_0xb400ba(0x12b)]({'query':a0_0x53a3bf`
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 @@ function a0_0x1eec(_0x2d9c55,_0x3a3e68){const _0x54dc5e=a0_0x54dc();return a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x174ea7,'sortings':[{'name':_0x297ce4(0x86)},{'name':_0x297ce4(0x8d)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x257fef[_0x297ce4(0x89)])return{'records':_0x257fef[_0x297ce4(0x7e)][_0x297ce4(0x87)]['items']||[],'total':_0x257fef[_0x297ce4(0x7e)][_0x297ce4(0x87)]['total']||0x0};}static[a0_0x53fe23(0x82)](_0x37cd2c,_0x476410){const _0x7d8b7b=a0_0x53fe23;let _0x3a9626=TermsUtil[_0x7d8b7b(0x85)]('label',_0x37cd2c,_0x476410,null);return _0x3a9626||TermsUtil[_0x7d8b7b(0x85)](_0x7d8b7b(0x84),_0x37cd2c,_0x476410,_0x37cd2c);}static[a0_0x53fe23(0x96)](_0x1f356c,_0x3f7090){const _0x25078a=a0_0x53fe23;let _0x238a19=TermsUtil[_0x25078a(0x85)](_0x25078a(0x84),_0x1f356c,_0x3f7090,null);return _0x238a19||TermsUtil['translate'](_0x25078a(0x84),_0x1f356c,_0x3f7090,_0x1f356c);}static[a0_0x53fe23(0x7f)](_0x4602a4){const _0x25ccdf=a0_0x53fe23;return TermsUtil[_0x25ccdf(0x85)](_0x25ccdf(0x80),_0x4602a4,null,_0x4602a4);}static[a0_0x53fe23(0x9b)](_0x4f755a,_0x224fb9){const _0x4d2e9d=a0_0x53fe23;let _0x15a4bd=TermsUtil[_0x4d2e9d(0x85)]('title',_0x4f755a,_0x224fb9,null);return _0x15a4bd||TermsUtil[_0x4d2e9d(0x85)](_0x4d2e9d(0x93),_0x4f755a,_0x224fb9,_0x4f755a);}static[a0_0x53fe23(0x97)](_0x363ca7){const _0x2d9150=a0_0x53fe23;let _0x596e6e=TermsUtil['translate'](_0x2d9150(0x93),_0x363ca7,null,_0x363ca7);return _0x596e6e||TermsUtil['translate']('title',_0x363ca7,null,_0x363ca7);}static[a0_0x53fe23(0x78)](_0x2beaf1,_0x3c98f6){const _0x88ab47=a0_0x53fe23;return TermsUtil[_0x88ab47(0x85)]('text',_0x2beaf1,_0x3c98f6,_0x2beaf1);}static[a0_0x53fe23(0x95)](_0x53bd55,_0x5b07cc){const _0x54d745=a0_0x53fe23;return TermsUtil[_0x54d745(0x85)](_0x54d745(0x8b),_0x53bd55,_0x5b07cc,_0x53bd55);}static[a0_0x53fe23(0x85)](_0x1af4b9,_0x2913fe,_0x5525b9,_0x2e17bf){let _0x2214d4=_0x1af4b9+'.'+_0x2913fe;return TermsUtil['t'](_0x2214d4,_0x5525b9,_0x2e17bf);}static['t'](_0x478f36,_0x37a2d2,_0xc64725){const _0x260146=a0_0x53fe23;let _0x3748ab=this['META_TERMS']?this[_0x260146(0x99)][_0x478f36]:null;return _0x3748ab=_0x3748ab||i18next['t'](_0x478f36),_0x3748ab&&_0x478f36!=_0x3748ab?(_0x37a2d2&&Object[_0x260146(0x92)](_0x37a2d2)[_0x260146(0x7a)](function(_0x586c1c){const _0x4e3af2=_0x260146;var _0x45733d='\x5c{'+_0x586c1c[_0x4e3af2(0x81)](/\$/,'\x5c$')+'\x5c}',_0x5ca734=new RegExp(_0x45733d,'gi');_0x3748ab=_0x3748ab[_0x4e3af2(0x81)](_0x5ca734,_0x37a2d2[_0x586c1c]);}),_0x3748ab):_0xc64725;}}function a0_0x54dc(){const _0xc08864=['forEach','1403847sDjpKN','7SHVFRT','downloadTerminologies','data','tButton','button','replace','tLabel','3dtNnSl','field','translate','category','terminologies','30PQbYBs','errors','query','error','records','name','2762055SlkUfG','locale','length','4rvPZvf','keys','menu','12722032azlIWc','tError','tField','tMenu','3340940vwtgIX','META_TERMS','3050886BvlBZA','tTitle','25169199dfscfW','tText','110151qeXUoN'];a0_0x54dc=function(){return _0xc08864;};return a0_0x54dc();}
14
+ `,'variables':{'filters':_0x379dc3,'sortings':[{'name':_0xb400ba(0x13a)},{'name':_0xb400ba(0x13f)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x1618aa[_0xb400ba(0x126)])return{'records':_0x1618aa[_0xb400ba(0x11f)][_0xb400ba(0x133)][_0xb400ba(0x140)]||[],'total':_0x1618aa[_0xb400ba(0x11f)][_0xb400ba(0x133)][_0xb400ba(0x125)]||0x0};}static['tLabel'](_0x2ffae0,_0x2b046c){const _0x3f5553=a0_0x230631;let _0x502860=TermsUtil['translate'](_0x3f5553(0x120),_0x2ffae0,_0x2b046c,null);return _0x502860||TermsUtil['translate'](_0x3f5553(0x129),_0x2ffae0,_0x2b046c,_0x2ffae0);}static[a0_0x230631(0x13d)](_0x5165c3,_0x45700d){const _0x368ac2=a0_0x230631;let _0x390644=TermsUtil[_0x368ac2(0x12f)](_0x368ac2(0x129),_0x5165c3,_0x45700d,null);return _0x390644||TermsUtil['translate'](_0x368ac2(0x129),_0x5165c3,_0x45700d,_0x5165c3);}static['tButton'](_0x26d04d){const _0x4261d2=a0_0x230631;return TermsUtil[_0x4261d2(0x12f)]('button',_0x26d04d,null,_0x26d04d);}static[a0_0x230631(0x134)](_0x39a857,_0xd55414){const _0x3b3daf=a0_0x230631;let _0x24068c=TermsUtil[_0x3b3daf(0x12f)](_0x3b3daf(0x12c),_0x39a857,_0xd55414,null);return _0x24068c||TermsUtil['translate'](_0x3b3daf(0x139),_0x39a857,_0xd55414,_0x39a857);}static[a0_0x230631(0x121)](_0x14d907){const _0x55c5c0=a0_0x230631;let _0x5c6bda=TermsUtil[_0x55c5c0(0x12f)](_0x55c5c0(0x139),_0x14d907,null,_0x14d907);return _0x5c6bda||TermsUtil[_0x55c5c0(0x12f)]('title',_0x14d907,null,_0x14d907);}static[a0_0x230631(0x13b)](_0x36549a,_0x1b8776){const _0x5e8d21=a0_0x230631;return TermsUtil[_0x5e8d21(0x12f)](_0x5e8d21(0x128),_0x36549a,_0x1b8776,_0x36549a);}static[a0_0x230631(0x12e)](_0x37e8e3,_0x2cb9a5){const _0x332462=a0_0x230631;return TermsUtil['translate'](_0x332462(0x132),_0x37e8e3,_0x2cb9a5,_0x37e8e3);}static[a0_0x230631(0x12f)](_0x3fe4d3,_0x434d00,_0x27ecd7,_0x1cf9fd){let _0x5f44e4=_0x3fe4d3+'.'+_0x434d00;return TermsUtil['t'](_0x5f44e4,_0x27ecd7,_0x1cf9fd);}static['t'](_0x3ecefa,_0x16ed22,_0x25ab50){const _0x5042d5=a0_0x230631;let _0xa6a132=this[_0x5042d5(0x138)]?this[_0x5042d5(0x138)][_0x3ecefa]:null;return _0xa6a132=_0xa6a132||i18next['t'](_0x3ecefa),_0xa6a132&&_0x3ecefa!=_0xa6a132?(_0x16ed22&&Object[_0x5042d5(0x13e)](_0x16ed22)['forEach'](function(_0x508a5c){const _0xc0acad=_0x5042d5;var _0x161616='\x5c{'+_0x508a5c[_0xc0acad(0x124)](/\$/,'\x5c$')+'\x5c}',_0x3ee179=new RegExp(_0x161616,'gi');_0xa6a132=_0xa6a132[_0xc0acad(0x124)](_0x3ee179,_0x16ed22[_0x508a5c]);}),_0xa6a132):_0x25ab50;}}
@@ -1 +1 @@
1
- const a0_0x45fb98=a0_0x59fd;(function(_0x402904,_0x478335){const _0x270607=a0_0x59fd,_0x48bd5f=_0x402904();while(!![]){try{const _0x3a5333=parseInt(_0x270607(0x160))/0x1*(-parseInt(_0x270607(0x188))/0x2)+-parseInt(_0x270607(0x18a))/0x3+parseInt(_0x270607(0x18e))/0x4+-parseInt(_0x270607(0x15e))/0x5+-parseInt(_0x270607(0x173))/0x6*(-parseInt(_0x270607(0x163))/0x7)+-parseInt(_0x270607(0x167))/0x8+parseInt(_0x270607(0x17d))/0x9;if(_0x3a5333===_0x478335)break;else _0x48bd5f['push'](_0x48bd5f['shift']());}catch(_0x46465d){_0x48bd5f['push'](_0x48bd5f['shift']());}}}(a0_0x18d7,0xa17a1));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x18d7(){const _0x3ab6c7=['select-combo','ox-input-barcode','currentRouting','querySelector','getParams','editor','length','getApplicationModuleInfo','showToast','3522vTFqLb','barcode','value','\x27></','isMobileEnv','menu','replace','fireCustomEvent','getLeafInput','getState','10312524aDVPhG','ko-KR','onclosed','template','getFilterFormData','parent_field','substring','\x20route_name=\x27','innerHTML','dispatchEvent','content','3880EZuroZ','app','3839925ITjdLk','cancelButton','popup_field','htmlToElement','2356232ThMeoR','createElement','notify','name','currentLocale','setSearchFormEditorValue','size','ox-select','input','indexOf','renderRoot','createCustomElement','config','setValueToEditor','openDynamicPopup','forEach','split','tagname','filters','i18next','isNotEmpty','i18next=','3788595zKkSHC','tButton','53LnkbKe','cookie','confirmButton','12957JJsWyn','\x27\x20\x20parent_id=\x27','ox-input-code','openPopupByElement','156064fUStcy','textarea','firstElementChild'];a0_0x18d7=function(){return _0x3ab6c7;};return a0_0x18d7();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';function a0_0x59fd(_0x5b4489,_0x2592d9){const _0x18d7dc=a0_0x18d7();return a0_0x59fd=function(_0x59fd04,_0xa516f5){_0x59fd04=_0x59fd04-0x14b;let _0x3d2ed8=_0x18d7dc[_0x59fd04];return _0x3d2ed8;},a0_0x59fd(_0x5b4489,_0x2592d9);}import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x45fb98(0x177)](){return isMobileDevice();}static[a0_0x45fb98(0x14c)](){const _0x2554bc=a0_0x45fb98;let _0xd27b1a=document[_0x2554bc(0x161)];return _0xd27b1a=_0xd27b1a['substring'](_0xd27b1a['indexOf'](_0x2554bc(0x15b))),_0xd27b1a[_0x2554bc(0x151)](';')>-0x1&&(_0xd27b1a=_0xd27b1a[_0x2554bc(0x183)](0x0,_0xd27b1a[_0x2554bc(0x151)](';'))),_0xd27b1a=_0xd27b1a[_0x2554bc(0x179)](_0x2554bc(0x15d),''),'ko'==_0xd27b1a?_0x2554bc(0x17e):_0xd27b1a;}static[a0_0x45fb98(0x171)](){const _0x1f7f01=a0_0x45fb98;let _0x25d7d7=store[_0x1f7f01(0x17c)]()[_0x1f7f01(0x189)]['modules'];return _0x25d7d7[_0x25d7d7[_0x1f7f01(0x170)]-0x1];}static[a0_0x45fb98(0x16c)](){const _0x1e7812=a0_0x45fb98;return store[_0x1e7812(0x17c)]()['route']['page'];}static[a0_0x45fb98(0x166)](_0x1412f9,_0x5f2a2a,_0x469878,_0x1ff2be){return openPopup(_0x469878,{'backdrop':!0x0,'size':_0x5f2a2a,'title':_0x1412f9,'backdrop':_0x1ff2be});}static async[a0_0x45fb98(0x156)](_0x1c5f29,_0x115b96,_0x3d9a2d,_0x1691f0){const _0x16fe41=a0_0x45fb98;let _0x36664e=ValueUtil[_0x16fe41(0x15c)](_0x115b96[_0x16fe41(0x182)])?ValueUtil[_0x16fe41(0x16e)](_0x3d9a2d,..._0x115b96[_0x16fe41(0x182)][_0x16fe41(0x158)]('.')):void 0x0,_0x531c40='<'+_0x115b96['tagname']+_0x16fe41(0x184)+_0x115b96[_0x16fe41(0x178)]+_0x16fe41(0x164)+_0x36664e+'\x27\x20is_popup=true></'+_0x115b96[_0x16fe41(0x159)]+'>',_0x33f0a2=UiUtil['htmlToElement'](_0x531c40);_0x33f0a2[_0x16fe41(0x154)]=_0x115b96,ValueUtil[_0x16fe41(0x15c)](_0x115b96[_0x16fe41(0x18c)])&&(_0x33f0a2[_0x115b96[_0x16fe41(0x18c)]]=_0x3d9a2d);let _0x5f4607=UiUtil[_0x16fe41(0x166)](_0x1c5f29,_0x115b96[_0x16fe41(0x14e)],_0x33f0a2,!0x0);_0x1691f0&&(_0x5f4607[_0x16fe41(0x17f)]=_0x1691f0);}static[a0_0x45fb98(0x153)](_0x3d018d,_0x32661d){const _0x4d5e9f=a0_0x45fb98;let _0x6bac67='<'+_0x3d018d+'\x20route_name=\x27'+_0x32661d+_0x4d5e9f(0x176)+_0x3d018d+'>';return UiUtil[_0x4d5e9f(0x18d)](_0x6bac67);}static[a0_0x45fb98(0x18d)](_0x356d99){const _0xcf0e1b=a0_0x45fb98;var _0x45ea21=document[_0xcf0e1b(0x18f)](_0xcf0e1b(0x180));_0x45ea21[_0xcf0e1b(0x185)]=_0x356d99;var _0x363336=_0x45ea21['content']['childNodes'][0x0];return _0x45ea21[_0xcf0e1b(0x187)]['removeChild'](_0x363336),_0x363336;}static['pageNavigate'](_0x16ec87,_0x5cd33e){let _0x2e4b23=_0x5cd33e?'?':'';_0x5cd33e&&(_0x2e4b23+='pass='+JSON['stringify'](_0x5cd33e)),navigate(''+_0x16ec87+_0x2e4b23);}static['getStore'](_0x3dbaa5,_0x36ee16,_0x82d702){const _0x5e69e0=a0_0x45fb98;let _0x4d439b=_0x4d439b[_0x5e69e0(0x17c)]();return _0x3dbaa5&&_0x36ee16&&_0x82d702?_0x4d439b[_0x3dbaa5][_0x36ee16][_0x82d702]:_0x3dbaa5&&_0x36ee16?_0x4d439b[_0x3dbaa5][_0x36ee16]:_0x3dbaa5?_0x4d439b[_0x3dbaa5]:_0x4d439b;}static[a0_0x45fb98(0x17a)](_0x27ac96,_0x2c88ee){const _0x3c9bb7=a0_0x45fb98;document[_0x3c9bb7(0x186)](new CustomEvent(_0x27ac96,{'detail':_0x2c88ee}));}static[a0_0x45fb98(0x172)](_0x491a04,_0x43ab21){const _0x3c249e=a0_0x45fb98;document[_0x3c249e(0x186)](new CustomEvent(_0x3c249e(0x190),{'detail':{'type':_0x491a04,'message':_0x43ab21}}));}static async['showAlertPopup'](_0x2443ec,_0x9bef6b,_0x4fa180,_0x255369,_0xc2abe3){const _0xf80eba=a0_0x45fb98;let _0x3068d1={'title':TermsUtil['t'](_0x2443ec)||_0x2443ec,'text':TermsUtil['t'](_0x9bef6b)||_0x9bef6b};return _0x4fa180&&(_0x3068d1['type']=_0x4fa180),_0x255369&&(_0x3068d1[_0xf80eba(0x162)]=TermsUtil[_0xf80eba(0x15f)](_0x255369)),_0xc2abe3&&(_0x3068d1[_0xf80eba(0x18b)]=TermsUtil[_0xf80eba(0x15f)](_0xc2abe3)),await CustomAlert(_0x3068d1);}static[a0_0x45fb98(0x181)](_0x3426eb){const _0xe67f42=a0_0x45fb98;if(ValueUtil[_0xe67f42(0x15c)](_0x3426eb)){let _0x2d0c59=_0x3426eb[_0xe67f42(0x15a)]();ValueUtil[_0xe67f42(0x15c)](_0x2d0c59)&&_0x2d0c59[_0xe67f42(0x157)](_0x235a1f=>{const _0x3d1b27=_0xe67f42;ValueUtil[_0x3d1b27(0x15c)](_0x235a1f['value'])&&(item[_0x235a1f[_0x3d1b27(0x14b)]]=_0x235a1f[_0x3d1b27(0x175)]?_0x235a1f[_0x3d1b27(0x175)]:null);});}return{};}static[a0_0x45fb98(0x14d)](_0x4307dd,_0x3eb9ae,_0x18a6f5){const _0x59f2b4=a0_0x45fb98;if(ValueUtil['isNotEmpty'](_0x4307dd)){let _0x57e3c8=_0x4307dd[_0x59f2b4(0x152)]?.[_0x59f2b4(0x16d)]('[name=\x27'+_0x3eb9ae+'\x27]');ValueUtil['isNotEmpty'](_0x57e3c8)&&(_0x57e3c8['value']=_0x18a6f5);}}static['createEditorHtml'](_0x1fc03f,_0x2da3c0,_0x2498d0,_0x1da8bb){return getEditor(_0x1fc03f)('',_0x2da3c0,_0x2498d0,_0x1da8bb,{});}static[a0_0x45fb98(0x155)](_0x58e9c5,_0x187d4e){const _0x1c8740=a0_0x45fb98;UiUtil['getLeafInput'](_0x58e9c5)[_0x1c8740(0x175)]=_0x187d4e;}static[a0_0x45fb98(0x17b)](_0x3566cb){const _0x3861d4=a0_0x45fb98;let _0x5e537d=_0x3566cb['getType']();return'code-editor'==_0x5e537d?_0x3566cb[_0x3861d4(0x152)][_0x3861d4(0x16d)](_0x3861d4(0x165)):'textarea'==_0x5e537d?_0x3566cb['renderRoot']['querySelector'](_0x3861d4(0x168)):_0x3861d4(0x16a)==_0x5e537d?_0x3566cb['renderRoot'][_0x3861d4(0x16d)](_0x3861d4(0x14f))['firstElementChild']:_0x3861d4(0x174)==_0x5e537d?_0x3566cb[_0x3861d4(0x152)][_0x3861d4(0x16d)](_0x3861d4(0x16b))[_0x3861d4(0x152)]['querySelector'](_0x3861d4(0x150)):_0x3566cb['renderRoot'][_0x3861d4(0x169)][_0x3861d4(0x16f)];}}
1
+ const a0_0x50b9d9=a0_0x344e;function a0_0x344e(_0x38599b,_0x4cbbd4){const _0xffee46=a0_0xffee();return a0_0x344e=function(_0x344e16,_0x4daed7){_0x344e16=_0x344e16-0xf5;let _0x590922=_0xffee46[_0x344e16];return _0x590922;},a0_0x344e(_0x38599b,_0x4cbbd4);}(function(_0x3c2dd2,_0x36a138){const _0x1f94dd=a0_0x344e,_0x5e096f=_0x3c2dd2();while(!![]){try{const _0x5aa3d1=parseInt(_0x1f94dd(0x128))/0x1*(-parseInt(_0x1f94dd(0x138))/0x2)+-parseInt(_0x1f94dd(0xf7))/0x3+parseInt(_0x1f94dd(0xf5))/0x4+-parseInt(_0x1f94dd(0xf8))/0x5+parseInt(_0x1f94dd(0x125))/0x6+-parseInt(_0x1f94dd(0x131))/0x7*(-parseInt(_0x1f94dd(0xf9))/0x8)+parseInt(_0x1f94dd(0x12d))/0x9*(parseInt(_0x1f94dd(0xfc))/0xa);if(_0x5aa3d1===_0x36a138)break;else _0x5e096f['push'](_0x5e096f['shift']());}catch(_0x2b798c){_0x5e096f['push'](_0x5e096f['shift']());}}}(a0_0xffee,0x5696f));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';function a0_0xffee(){const _0x4749ea=['pass=','getFilterFormData','parent_field','313593BiVirV','createCustomElement','removeChild','ko-KR','value','getParams','app','326wEtoMY','getLeafInput','i18next=','1558692klecXe','content','1997400RuLNZF','2066540OJfoEx','32pmBSyl','barcode','i18next','1270dlmZym','editor','forEach','[name=\x27','openPopupByElement','showAlertPopup','size','confirmButton','modules','getState','currentRouting','split','notify','htmlToElement','getType','popup_field','indexOf','firstElementChild','setValueToEditor','input','ox-input-code','template','querySelector','cancelButton','\x20route_name=\x27','select-combo','tButton','ox-select','code-editor','ox-input-barcode','renderRoot','innerHTML','dispatchEvent','tagname','getApplicationModuleInfo','showToast','textarea','openDynamicPopup','isMobileEnv','type','currentLocale','2468184SdpvrP','fireCustomEvent','name','1181NIcyQJ','substring','childNodes','isNotEmpty','route','45783CWqPgo'];a0_0xffee=function(){return _0x4749ea;};return a0_0xffee();}import{isMobileDevice}from'@things-factory/utils';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_0x50b9d9(0x122)](){return isMobileDevice();}static[a0_0x50b9d9(0x124)](){const _0x45d017=a0_0x50b9d9;let _0x3abbba=document['cookie'];return _0x3abbba=_0x3abbba[_0x45d017(0x129)](_0x3abbba[_0x45d017(0x10c)](_0x45d017(0xfb))),_0x3abbba[_0x45d017(0x10c)](';')>-0x1&&(_0x3abbba=_0x3abbba[_0x45d017(0x129)](0x0,_0x3abbba[_0x45d017(0x10c)](';'))),_0x3abbba=_0x3abbba['replace'](_0x45d017(0x13a),''),'ko'==_0x3abbba?_0x45d017(0x134):_0x3abbba;}static[a0_0x50b9d9(0x11e)](){const _0x21e86=a0_0x50b9d9;let _0x4a3955=store[_0x21e86(0x105)]()[_0x21e86(0x137)][_0x21e86(0x104)];return _0x4a3955[_0x4a3955['length']-0x1];}static[a0_0x50b9d9(0x106)](){const _0x2c3332=a0_0x50b9d9;return store['getState']()[_0x2c3332(0x12c)]['page'];}static[a0_0x50b9d9(0x100)](_0x3b6eee,_0x15bb9a,_0x260948,_0x4f86ff){return openPopup(_0x260948,{'backdrop':!0x0,'size':_0x15bb9a,'title':_0x3b6eee,'backdrop':_0x4f86ff});}static async[a0_0x50b9d9(0x121)](_0x166a55,_0x5d1244,_0x20cc6a,_0x449606){const _0x34b848=a0_0x50b9d9;let _0xb94491=ValueUtil[_0x34b848(0x12b)](_0x5d1244['parent_field'])?ValueUtil[_0x34b848(0x136)](_0x20cc6a,..._0x5d1244[_0x34b848(0x130)][_0x34b848(0x107)]('.')):void 0x0,_0x1ccaf8='<'+_0x5d1244[_0x34b848(0x11d)]+_0x34b848(0x114)+_0x5d1244['menu']+'\x27\x20\x20parent_id=\x27'+_0xb94491+'\x27\x20is_popup=true></'+_0x5d1244[_0x34b848(0x11d)]+'>',_0x3d6838=UiUtil[_0x34b848(0x109)](_0x1ccaf8);_0x3d6838['config']=_0x5d1244,ValueUtil[_0x34b848(0x12b)](_0x5d1244[_0x34b848(0x10b)])&&(_0x3d6838[_0x5d1244[_0x34b848(0x10b)]]=_0x20cc6a);let _0x54f7bf=UiUtil[_0x34b848(0x100)](_0x166a55,_0x5d1244[_0x34b848(0x102)],_0x3d6838,!0x0);_0x449606&&(_0x54f7bf['onclosed']=_0x449606);}static[a0_0x50b9d9(0x132)](_0x3c1fe3,_0x420d80){const _0x17e215=a0_0x50b9d9;let _0x2903c1='<'+_0x3c1fe3+_0x17e215(0x114)+_0x420d80+'\x27></'+_0x3c1fe3+'>';return UiUtil[_0x17e215(0x109)](_0x2903c1);}static[a0_0x50b9d9(0x109)](_0x2efa96){const _0x42b90b=a0_0x50b9d9;var _0x8ec748=document['createElement'](_0x42b90b(0x111));_0x8ec748[_0x42b90b(0x11b)]=_0x2efa96;var _0x5720bf=_0x8ec748[_0x42b90b(0xf6)][_0x42b90b(0x12a)][0x0];return _0x8ec748[_0x42b90b(0xf6)][_0x42b90b(0x133)](_0x5720bf),_0x5720bf;}static['pageNavigate'](_0x434c82,_0x117335){const _0x49f48f=a0_0x50b9d9;let _0x2da89d=_0x117335?'?':'';_0x117335&&(_0x2da89d+=_0x49f48f(0x12e)+JSON['stringify'](_0x117335)),navigate(''+_0x434c82+_0x2da89d);}static['getStore'](_0x39e305,_0xdb94f,_0x8d70e6){const _0x605dff=a0_0x50b9d9;let _0x4c2a96=_0x4c2a96[_0x605dff(0x105)]();return _0x39e305&&_0xdb94f&&_0x8d70e6?_0x4c2a96[_0x39e305][_0xdb94f][_0x8d70e6]:_0x39e305&&_0xdb94f?_0x4c2a96[_0x39e305][_0xdb94f]:_0x39e305?_0x4c2a96[_0x39e305]:_0x4c2a96;}static[a0_0x50b9d9(0x126)](_0x3f6954,_0x5d95b5){const _0x3755a4=a0_0x50b9d9;document[_0x3755a4(0x11c)](new CustomEvent(_0x3f6954,{'detail':_0x5d95b5}));}static[a0_0x50b9d9(0x11f)](_0x5ab1b0,_0x916ca6){const _0x1a2e4c=a0_0x50b9d9;document[_0x1a2e4c(0x11c)](new CustomEvent(_0x1a2e4c(0x108),{'detail':{'type':_0x5ab1b0,'message':_0x916ca6}}));}static async[a0_0x50b9d9(0x101)](_0x69e57,_0x331e9e,_0x1b6678,_0xf591ee,_0x5d6657){const _0x58c1c8=a0_0x50b9d9;let _0x24a78e={'title':TermsUtil['t'](_0x69e57)||_0x69e57,'text':TermsUtil['t'](_0x331e9e)||_0x331e9e};return _0x1b6678&&(_0x24a78e[_0x58c1c8(0x123)]=_0x1b6678),_0xf591ee&&(_0x24a78e[_0x58c1c8(0x103)]=TermsUtil[_0x58c1c8(0x116)](_0xf591ee)),_0x5d6657&&(_0x24a78e[_0x58c1c8(0x113)]=TermsUtil[_0x58c1c8(0x116)](_0x5d6657)),await CustomAlert(_0x24a78e);}static[a0_0x50b9d9(0x12f)](_0x199f29){const _0x42e57d=a0_0x50b9d9;if(ValueUtil['isNotEmpty'](_0x199f29)){let _0x1265b4=_0x199f29['filters']();ValueUtil[_0x42e57d(0x12b)](_0x1265b4)&&_0x1265b4[_0x42e57d(0xfe)](_0x566f76=>{const _0x5ea034=_0x42e57d;ValueUtil[_0x5ea034(0x12b)](_0x566f76[_0x5ea034(0x135)])&&(item[_0x566f76[_0x5ea034(0x127)]]=_0x566f76[_0x5ea034(0x135)]?_0x566f76['value']:null);});}return{};}static['setSearchFormEditorValue'](_0x369eb9,_0x38d9d7,_0xa6caa0){const _0x25e106=a0_0x50b9d9;if(ValueUtil[_0x25e106(0x12b)](_0x369eb9)){let _0x3f3c82=_0x369eb9['renderRoot']?.[_0x25e106(0x112)](_0x25e106(0xff)+_0x38d9d7+'\x27]');ValueUtil[_0x25e106(0x12b)](_0x3f3c82)&&(_0x3f3c82[_0x25e106(0x135)]=_0xa6caa0);}}static['createEditorHtml'](_0x2cd887,_0x376407,_0x11e47a,_0x2d9ba1){return getEditor(_0x2cd887)('',_0x376407,_0x11e47a,_0x2d9ba1,{});}static[a0_0x50b9d9(0x10e)](_0x3fde4c,_0x3d2068){UiUtil['getLeafInput'](_0x3fde4c)['value']=_0x3d2068;}static[a0_0x50b9d9(0x139)](_0x6c6329){const _0x408bfd=a0_0x50b9d9;let _0x11dcb1=_0x6c6329[_0x408bfd(0x10a)]();return _0x408bfd(0x118)==_0x11dcb1?_0x6c6329[_0x408bfd(0x11a)]['querySelector'](_0x408bfd(0x110)):'textarea'==_0x11dcb1?_0x6c6329[_0x408bfd(0x11a)][_0x408bfd(0x112)](_0x408bfd(0x120)):_0x408bfd(0x115)==_0x11dcb1?_0x6c6329[_0x408bfd(0x11a)][_0x408bfd(0x112)](_0x408bfd(0x117))[_0x408bfd(0x10d)]:_0x408bfd(0xfa)==_0x11dcb1?_0x6c6329[_0x408bfd(0x11a)][_0x408bfd(0x112)](_0x408bfd(0x119))[_0x408bfd(0x11a)][_0x408bfd(0x112)](_0x408bfd(0x10f)):_0x6c6329['renderRoot']['firstElementChild'][_0x408bfd(0xfd)];}}
@@ -1 +1 @@
1
- function a0_0x129f(_0x6327aa,_0x46cf5d){const _0xd35940=a0_0xd359();return a0_0x129f=function(_0x129f5a,_0x1386a1){_0x129f5a=_0x129f5a-0x179;let _0x4992ba=_0xd35940[_0x129f5a];return _0x4992ba;},a0_0x129f(_0x6327aa,_0x46cf5d);}const a0_0x174894=a0_0x129f;(function(_0x3016d9,_0x4c6b56){const _0x1d1a3b=a0_0x129f,_0x2d1669=_0x3016d9();while(!![]){try{const _0xc9945f=-parseInt(_0x1d1a3b(0x186))/0x1+parseInt(_0x1d1a3b(0x17d))/0x2*(parseInt(_0x1d1a3b(0x192))/0x3)+-parseInt(_0x1d1a3b(0x18d))/0x4+-parseInt(_0x1d1a3b(0x17c))/0x5+-parseInt(_0x1d1a3b(0x18e))/0x6+-parseInt(_0x1d1a3b(0x180))/0x7*(parseInt(_0x1d1a3b(0x193))/0x8)+parseInt(_0x1d1a3b(0x191))/0x9;if(_0xc9945f===_0x4c6b56)break;else _0x2d1669['push'](_0x2d1669['shift']());}catch(_0x1640e2){_0x2d1669['push'](_0x2d1669['shift']());}}}(a0_0xd359,0x47bee));import a0_0x11b839 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';function a0_0xd359(){const _0x4338dc=['7ucbCaZ','isEmpty','isNotEmpty','forEach','boolean','length','496882XMlpWN','TRUE','keys','isArray','populateObject','string','setParams','1775068ZPVBMl','711354CDumVV','true','compareObjectValues','18992124gykjky','1353ZxCuXq','3659072mcnDNt','toInteger','toBoolean','getParams','1931830nlVbdv','384JqmZfI','map','number'];a0_0xd359=function(){return _0x4338dc;};return a0_0xd359();}export class ValueUtil{static['isEmpty'](_0x18a37){const _0x278749=a0_0x129f;if(void 0x0===_0x18a37)return!0x0;if(null===_0x18a37)return!0x0;if(_0x278749(0x184)==typeof _0x18a37)return!0x1;if(_0x278749(0x18b)==typeof _0x18a37||_0x278749(0x17f)==typeof _0x18a37){if(''==_0x18a37)return!0x0;}else{if(Array[_0x278749(0x189)](_0x18a37)){if(0x0==_0x18a37[_0x278749(0x185)])return!0x0;}else{if('object'==typeof _0x18a37&&0x0==Object['keys'](_0x18a37)[_0x278749(0x185)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0x9dda4c){const _0x53d025=a0_0x129f;return!ValueUtil[_0x53d025(0x181)](_0x9dda4c);}static['isEquals'](_0x2fbbf2,_0x2112fc){return a0_0x11b839(_0x2fbbf2,_0x2112fc);}static[a0_0x174894(0x179)](_0x5d2372,_0x44ac55){const _0x16c63f=a0_0x174894;return ValueUtil[_0x16c63f(0x181)](_0x5d2372)?_0x44ac55||0x0:parseInt(_0x5d2372);}static[a0_0x174894(0x17a)](_0x2604b2){const _0x560a67=a0_0x174894;return!ValueUtil['isEmpty'](_0x2604b2)&&(_0x560a67(0x18f)==_0x2604b2||'t'==_0x2604b2||_0x560a67(0x187)==_0x2604b2||'T'==_0x2604b2||'on'==_0x2604b2||'ON'==_0x2604b2);}static[a0_0x174894(0x190)](_0x498597,_0x2f56ca,_0x2a059f){const _0x479dfa=a0_0x174894;let _0x4d042c=!0x0;return _0x2a059f[_0x479dfa(0x183)](_0x2d01a6=>{const _0x163d44=_0x479dfa;let _0x356baa=_0x498597[_0x2d01a6];if('*'===_0x356baa)return;let _0x5cf923=_0x2f56ca[_0x2d01a6]||'';ValueUtil[_0x163d44(0x181)](_0x356baa)?ValueUtil[_0x163d44(0x182)](_0x5cf923)&&(_0x4d042c=!0x1):_0x356baa!=_0x5cf923&&(_0x4d042c=!0x1);}),_0x4d042c;}static[a0_0x174894(0x18c)](_0x42bbf1,_0x3a540b,_0x48b37c,_0x4127fc){const _0x43d4d4=a0_0x174894;let _0x13a43f=ValueUtil[_0x43d4d4(0x17b)](_0x3a540b,_0x48b37c);return ValueUtil[_0x43d4d4(0x182)](_0x13a43f)&&(_0x42bbf1[_0x48b37c]=!0x0===_0x4127fc?TermsUtil['t'](_0x13a43f):_0x13a43f),_0x42bbf1;}static['getParams'](_0x572d30,..._0x4b7fd1){const _0x209271=a0_0x174894;if(arguments[_0x209271(0x185)]<=0x1)return;let _0x2fb592=_0x4b7fd1[0x0];if(ValueUtil[_0x209271(0x181)](_0x572d30[_0x2fb592]))return;let _0x3af02b=_0x572d30[_0x2fb592];return _0x4b7fd1[_0x209271(0x185)]>0x1?ValueUtil[_0x209271(0x17b)](_0x3af02b,..._0x4b7fd1['slice'](0x1)):_0x3af02b;}static['populateArray'](_0x2f3b8e,_0x46ec52,..._0x2bec51){const _0x48a7c7=a0_0x174894;return _0x46ec52=_0x46ec52||[],_0x2bec51=_0x2bec51||Object[_0x48a7c7(0x188)](_0x2f3b8e),ValueUtil[_0x48a7c7(0x182)](_0x2bec51)&&(_0x46ec52=_0x2f3b8e[_0x48a7c7(0x17e)]((_0x2f00a1,_0xd7336c)=>{const _0x51d579=_0x48a7c7;let _0x1baaeb=_0x46ec52['length']>_0xd7336c?_0x46ec52[_0xd7336c]:{};return ValueUtil[_0x51d579(0x18a)](_0x2f00a1,_0x1baaeb,_0x2bec51);})),_0x46ec52;}static[a0_0x174894(0x18a)](_0x44564a,_0x50b0d7,..._0x1d0ac6){const _0x16d750=a0_0x174894;return _0x50b0d7=_0x50b0d7||{},_0x1d0ac6=_0x1d0ac6||Object[_0x16d750(0x188)](_0x44564a),ValueUtil['isNotEmpty'](_0x1d0ac6)&&_0x1d0ac6[_0x16d750(0x183)](_0x3088c1=>{_0x50b0d7[_0x3088c1]=_0x44564a[_0x3088c1];}),_0x50b0d7;}}
1
+ const a0_0x337b5e=a0_0x25f1;function a0_0x25f1(_0x1c00ef,_0x31380f){const _0x46da3c=a0_0x46da();return a0_0x25f1=function(_0x25f116,_0x2d60e4){_0x25f116=_0x25f116-0x173;let _0x13ddaf=_0x46da3c[_0x25f116];return _0x13ddaf;},a0_0x25f1(_0x1c00ef,_0x31380f);}(function(_0x50f715,_0x1f53a1){const _0x486e66=a0_0x25f1,_0x1c46c9=_0x50f715();while(!![]){try{const _0x352dfc=-parseInt(_0x486e66(0x186))/0x1+parseInt(_0x486e66(0x17f))/0x2+-parseInt(_0x486e66(0x188))/0x3*(parseInt(_0x486e66(0x187))/0x4)+parseInt(_0x486e66(0x17a))/0x5*(parseInt(_0x486e66(0x173))/0x6)+-parseInt(_0x486e66(0x179))/0x7+-parseInt(_0x486e66(0x18d))/0x8*(parseInt(_0x486e66(0x18a))/0x9)+parseInt(_0x486e66(0x17d))/0xa*(parseInt(_0x486e66(0x18b))/0xb);if(_0x352dfc===_0x1f53a1)break;else _0x1c46c9['push'](_0x1c46c9['shift']());}catch(_0x739c0){_0x1c46c9['push'](_0x1c46c9['shift']());}}}(a0_0x46da,0x477b5));import a0_0x15eeb2 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x337b5e(0x180)](_0x52f34d){const _0x2dbd4e=a0_0x337b5e;if(void 0x0===_0x52f34d)return!0x0;if(null===_0x52f34d)return!0x0;if(_0x2dbd4e(0x18e)==typeof _0x52f34d)return!0x1;if(_0x2dbd4e(0x18f)==typeof _0x52f34d||_0x2dbd4e(0x17c)==typeof _0x52f34d){if(''==_0x52f34d)return!0x0;}else{if(Array['isArray'](_0x52f34d)){if(0x0==_0x52f34d[_0x2dbd4e(0x178)])return!0x0;}else{if(_0x2dbd4e(0x184)==typeof _0x52f34d&&0x0==Object[_0x2dbd4e(0x190)](_0x52f34d)[_0x2dbd4e(0x178)])return!0x0;}}return!0x1;}static[a0_0x337b5e(0x185)](_0x35a729){return!ValueUtil['isEmpty'](_0x35a729);}static[a0_0x337b5e(0x175)](_0x51e739,_0x1d6258){return a0_0x15eeb2(_0x51e739,_0x1d6258);}static['toInteger'](_0x460572,_0x15b255){return ValueUtil['isEmpty'](_0x460572)?_0x15b255||0x0:parseInt(_0x460572);}static[a0_0x337b5e(0x17e)](_0x110276){const _0x150768=a0_0x337b5e;return!ValueUtil[_0x150768(0x180)](_0x110276)&&(_0x150768(0x177)==_0x110276||'t'==_0x110276||'TRUE'==_0x110276||'T'==_0x110276||'on'==_0x110276||'ON'==_0x110276);}static[a0_0x337b5e(0x176)](_0x33c08b,_0x1d7cbe,_0x16d52e){const _0xf639c1=a0_0x337b5e;let _0x361d8f=!0x0;return _0x16d52e[_0xf639c1(0x17b)](_0x558c8e=>{const _0x498dc4=_0xf639c1;let _0x4895b0=_0x33c08b[_0x558c8e];if('*'===_0x4895b0)return;let _0xb4a3df=_0x1d7cbe[_0x558c8e]||'';ValueUtil[_0x498dc4(0x180)](_0x4895b0)?ValueUtil[_0x498dc4(0x185)](_0xb4a3df)&&(_0x361d8f=!0x1):_0x4895b0!=_0xb4a3df&&(_0x361d8f=!0x1);}),_0x361d8f;}static[a0_0x337b5e(0x182)](_0x1a8141,_0x6062d7,_0x3a5631,_0x438354){const _0x60a716=a0_0x337b5e;let _0x72a3fb=ValueUtil[_0x60a716(0x181)](_0x6062d7,_0x3a5631);return ValueUtil[_0x60a716(0x185)](_0x72a3fb)&&(_0x1a8141[_0x3a5631]=!0x0===_0x438354?TermsUtil['t'](_0x72a3fb):_0x72a3fb),_0x1a8141;}static[a0_0x337b5e(0x181)](_0x2d6150,..._0x5a27d8){const _0x479a3a=a0_0x337b5e;if(arguments[_0x479a3a(0x178)]<=0x1)return;let _0x150947=_0x5a27d8[0x0];if(ValueUtil['isEmpty'](_0x2d6150[_0x150947]))return;let _0x4ec161=_0x2d6150[_0x150947];return _0x5a27d8[_0x479a3a(0x178)]>0x1?ValueUtil['getParams'](_0x4ec161,..._0x5a27d8[_0x479a3a(0x18c)](0x1)):_0x4ec161;}static[a0_0x337b5e(0x183)](_0x5b9e0d,_0x5d0079,..._0x394cc7){const _0x27e543=a0_0x337b5e;return _0x5d0079=_0x5d0079||[],_0x394cc7=_0x394cc7||Object[_0x27e543(0x190)](_0x5b9e0d),ValueUtil[_0x27e543(0x185)](_0x394cc7)&&(_0x5d0079=_0x5b9e0d[_0x27e543(0x174)]((_0x212220,_0x4ed36c)=>{const _0x56bdec=_0x27e543;let _0x52932a=_0x5d0079[_0x56bdec(0x178)]>_0x4ed36c?_0x5d0079[_0x4ed36c]:{};return ValueUtil[_0x56bdec(0x189)](_0x212220,_0x52932a,_0x394cc7);})),_0x5d0079;}static[a0_0x337b5e(0x189)](_0x1ae7cd,_0x5d70ad,..._0x5925f9){const _0x122a34=a0_0x337b5e;return _0x5d70ad=_0x5d70ad||{},_0x5925f9=_0x5925f9||Object[_0x122a34(0x190)](_0x1ae7cd),ValueUtil[_0x122a34(0x185)](_0x5925f9)&&_0x5925f9[_0x122a34(0x17b)](_0x5b62ed=>{_0x5d70ad[_0x5b62ed]=_0x1ae7cd[_0x5b62ed];}),_0x5d70ad;}}function a0_0x46da(){const _0x4e7873=['3569811wYjvvZ','5kHTtfy','forEach','number','29170YYgPjD','toBoolean','1070302zCqCJm','isEmpty','getParams','setParams','populateArray','object','isNotEmpty','341786CFIdcW','4DMeeqT','82020GwEpUj','populateObject','10809lDpGLy','3113tKWKIQ','slice','3416GwKMjl','boolean','string','keys','1944318yPjpjG','map','isEquals','compareObjectValues','true','length'];a0_0x46da=function(){return _0x4e7873;};return a0_0x46da();}
@@ -1,4 +1,4 @@
1
- (function(_0x294120,_0x4c7fd4){const _0x52fe18=a0_0x19b5,_0x5aed2a=_0x294120();while(!![]){try{const _0x464c32=parseInt(_0x52fe18(0x13b))/0x1*(parseInt(_0x52fe18(0x143))/0x2)+-parseInt(_0x52fe18(0x13d))/0x3+-parseInt(_0x52fe18(0x140))/0x4*(-parseInt(_0x52fe18(0x139))/0x5)+-parseInt(_0x52fe18(0x13a))/0x6*(parseInt(_0x52fe18(0x13c))/0x7)+parseInt(_0x52fe18(0x142))/0x8*(-parseInt(_0x52fe18(0x13e))/0x9)+parseInt(_0x52fe18(0x13f))/0xa+parseInt(_0x52fe18(0x141))/0xb;if(_0x464c32===_0x4c7fd4)break;else _0x5aed2a['push'](_0x5aed2a['shift']());}catch(_0x467919){_0x5aed2a['push'](_0x5aed2a['shift']());}}}(a0_0x4edd,0x9f597));import{css}from'lit';function a0_0x4edd(){const _0x35f9c6=['19550608hftZHr','24ocgtRR','958jLfasi','3760630vaXEMc','42930nuEwgL','1621AIxOpo','1134AWljFS','2214312eKVPNZ','3220794qMLAOF','3175940dfNtzB','4LJRoPn'];a0_0x4edd=function(){return _0x35f9c6;};return a0_0x4edd();}function a0_0x19b5(_0x1896e2,_0x92b997){const _0x4edd10=a0_0x4edd();return a0_0x19b5=function(_0x19b5d4,_0x3b8762){_0x19b5d4=_0x19b5d4-0x139;let _0x5ba3f1=_0x4edd10[_0x19b5d4];return _0x5ba3f1;},a0_0x19b5(_0x1896e2,_0x92b997);}export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x206ac0,_0x4336de){const _0x2cd3bf=a0_0x42f1,_0x8d1654=_0x206ac0();while(!![]){try{const _0x3202ce=-parseInt(_0x2cd3bf(0x128))/0x1+parseInt(_0x2cd3bf(0x12c))/0x2*(-parseInt(_0x2cd3bf(0x126))/0x3)+parseInt(_0x2cd3bf(0x125))/0x4+parseInt(_0x2cd3bf(0x127))/0x5*(parseInt(_0x2cd3bf(0x12d))/0x6)+-parseInt(_0x2cd3bf(0x12b))/0x7+parseInt(_0x2cd3bf(0x12a))/0x8+-parseInt(_0x2cd3bf(0x129))/0x9;if(_0x3202ce===_0x4336de)break;else _0x8d1654['push'](_0x8d1654['shift']());}catch(_0x1b48dd){_0x8d1654['push'](_0x8d1654['shift']());}}}(a0_0x33a6,0x4cdcd));import{css}from'lit';function a0_0x42f1(_0x518f25,_0x17a437){const _0x33a6f3=a0_0x33a6();return a0_0x42f1=function(_0x42f1cc,_0x23dad5){_0x42f1cc=_0x42f1cc-0x125;let _0x4a78a0=_0x33a6f3[_0x42f1cc];return _0x4a78a0;},a0_0x42f1(_0x518f25,_0x17a437);}function a0_0x33a6(){const _0x5cc4e6=['6095ozxsJr','167083kJNhny','3664206wgePSg','3793672JHTAAU','2868033nTyaxo','22576SZvqzl','1548WmQUjD','2175672ZsaUpS','9JklyBv'];a0_0x33a6=function(){return _0x5cc4e6;};return a0_0x33a6();}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
- const a0_0xe228c=a0_0x5938;(function(_0x473bb3,_0x4397b3){const _0x192801=a0_0x5938,_0x4cc189=_0x473bb3();while(!![]){try{const _0x220a6b=parseInt(_0x192801(0x1e2))/0x1*(-parseInt(_0x192801(0x1d5))/0x2)+-parseInt(_0x192801(0x1fd))/0x3*(parseInt(_0x192801(0x1f9))/0x4)+-parseInt(_0x192801(0x1d7))/0x5+parseInt(_0x192801(0x1f6))/0x6+-parseInt(_0x192801(0x1e6))/0x7*(parseInt(_0x192801(0x1df))/0x8)+parseInt(_0x192801(0x1f4))/0x9*(parseInt(_0x192801(0x1dd))/0xa)+parseInt(_0x192801(0x1d8))/0xb;if(_0x220a6b===_0x4397b3)break;else _0x4cc189['push'](_0x4cc189['shift']());}catch(_0x5e729b){_0x4cc189['push'](_0x4cc189['shift']());}}}(a0_0x4280,0xcaa19));import'@material/mwc-icon';function a0_0x4280(){const _0x2d6eb1=['1mydwwq','mousewheel','icon','href','49JwCmhk','dispatchEvent','active-toplevel','dynamic-menu-landscape','path','preventDefault','name','define','target','menus','addEventListener','settled','#force','querySelector','585ctDnbC','group','1843152CiOUDC','stopPropagation','onWheelEvent','3960wTEoUk','type','detail','#wrap','1314AkdRFB','map','submenu','activeTopLevel','renderRoot','2091918PPwlZD','transitionstart','850475kIUvKw','29957983qnaedM','transitionend','render','properties','removeAttribute','20110hlLYEt','click','779096rBrHlt','wheelDelta','bind'];a0_0x4280=function(){return _0x2d6eb1;};return a0_0x4280();}import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x5938(_0x3c084c,_0xaf3468){const _0x428009=a0_0x4280();return a0_0x5938=function(_0x593870,_0x3e0316){_0x593870=_0x593870-0x1d5;let _0x3766e0=_0x428009[_0x593870];return _0x3766e0;},a0_0x5938(_0x3c084c,_0xaf3468);}import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0xe228c(0x1db)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xe228c(0x1da)](){const _0x1b281c=a0_0xe228c,{menus:_0x4ff5f4=[],activeTopLevel:_0x36dde4,activeMenu:_0x50b681}=this;return html`
1
+ const a0_0x24008c=a0_0x2d17;(function(_0x4a1674,_0x1b7a8a){const _0x137cd2=a0_0x2d17,_0x49c15a=_0x4a1674();while(!![]){try{const _0x152442=parseInt(_0x137cd2(0x16f))/0x1+-parseInt(_0x137cd2(0x16b))/0x2+-parseInt(_0x137cd2(0x169))/0x3+parseInt(_0x137cd2(0x16e))/0x4*(parseInt(_0x137cd2(0x176))/0x5)+-parseInt(_0x137cd2(0x180))/0x6*(parseInt(_0x137cd2(0x15a))/0x7)+-parseInt(_0x137cd2(0x175))/0x8+-parseInt(_0x137cd2(0x17b))/0x9*(-parseInt(_0x137cd2(0x15e))/0xa);if(_0x152442===_0x1b7a8a)break;else _0x49c15a['push'](_0x49c15a['shift']());}catch(_0x5d1dcc){_0x49c15a['push'](_0x49c15a['shift']());}}}(a0_0x2602,0x756c4));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x2602(){const _0x2e9d91=['currentTarget','firstUpdated','addEventListener','bind','6bdiHcw','5923001cbWCOi','target','name','querySelector','10czSzKj','styles','scrollLeft','menus','href','icon','wheelDelta','define','click','submenu','setAttribute','1871559GioMDg','#wrap','642474mGrYGH','map','detail','24YKtpuG','331878xhgGpn','renderRoot','onWheelEvent','stopPropagation','mousewheel','preventDefault','6473328iLymWg','742230NuxjrR','path','properties','active-toplevel','activeTopLevel','16729281thjCNm'];a0_0x2602=function(){return _0x2e9d91;};return a0_0x2602();}import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x24008c(0x15f)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x24008c(0x178)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x41405a=a0_0x24008c,{menus:_0x2c01dd=[],activeTopLevel:_0x351be2,activeMenu:_0xa1190a}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x4ff5f4[_0x1b281c(0x1fe)](_0x5f4c0c=>_0x1b281c(0x1f5)==_0x5f4c0c[_0x1b281c(0x1fa)]?html``:html`
5
- <li ?active=${_0x5f4c0c===_0x36dde4}>
6
- <a href=${_0x5f4c0c['path']||'#'}>
7
- ${_0x5f4c0c[_0x1b281c(0x1e4)]?html`<mwc-icon>${_0x5f4c0c[_0x1b281c(0x1e4)]}</mwc-icon>`:html``} ${_0x5f4c0c[_0x1b281c(0x1ec)]}
4
+ ${_0x2c01dd[_0x41405a(0x16c)](_0x588a65=>'group'==_0x588a65['type']?html``:html`
5
+ <li ?active=${_0x588a65===_0x351be2}>
6
+ <a href=${_0x588a65[_0x41405a(0x177)]||'#'}>
7
+ ${_0x588a65[_0x41405a(0x163)]?html`<mwc-icon>${_0x588a65['icon']}</mwc-icon>`:html``} ${_0x588a65[_0x41405a(0x15c)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x5f4c0c[_0x1b281c(0x1ef)]?.[_0x1b281c(0x1fe)](_0x85c137=>html`
12
- <li ?active=${_0x85c137===_0x50b681}>
13
- <a href=${_0x85c137[_0x1b281c(0x1ea)]||'#'}> ${_0x85c137[_0x1b281c(0x1ec)]} </a>
11
+ ${_0x588a65[_0x41405a(0x161)]?.[_0x41405a(0x16c)](_0x5160de=>html`
12
+ <li ?active=${_0x5160de===_0xa1190a}>
13
+ <a href=${_0x5160de[_0x41405a(0x177)]||'#'}> ${_0x5160de['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x5f4c0c[_0x1b281c(0x1e4)]?html`<mwc-icon>${_0x5f4c0c[_0x1b281c(0x1e4)]}</mwc-icon>`:html``} ${_0x5f4c0c['description']||''}
19
+ ${_0x588a65[_0x41405a(0x163)]?html`<mwc-icon>${_0x588a65[_0x41405a(0x163)]}</mwc-icon>`:html``} ${_0x588a65['description']||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}['firstUpdated'](){const _0x56e0bd=a0_0xe228c;this[_0x56e0bd(0x201)][_0x56e0bd(0x1f3)](_0x56e0bd(0x1fc))[_0x56e0bd(0x1f0)](_0x56e0bd(0x1e3),this[_0x56e0bd(0x1f8)][_0x56e0bd(0x1e1)](this),!0x1),this[_0x56e0bd(0x201)]['addEventListener'](_0x56e0bd(0x1de),_0x27a99e=>{const _0x2b5c87=_0x56e0bd;if(_0x27a99e[_0x2b5c87(0x1ee)]['submenu']){_0x27a99e[_0x2b5c87(0x1f7)](),_0x27a99e[_0x2b5c87(0x1eb)]();let _0xd8bd31=_0x27a99e[_0x2b5c87(0x1ee)][_0x2b5c87(0x1ff)];return void this[_0x2b5c87(0x1e7)](new CustomEvent(_0x2b5c87(0x1e8),{'bubbles':!0x0,'detail':this[_0x2b5c87(0x200)]===_0xd8bd31?void 0x0:_0xd8bd31}));}let _0x38a97f=_0x27a99e[_0x2b5c87(0x1ee)][_0x2b5c87(0x1e5)];_0x38a97f&&location[_0x2b5c87(0x1e5)]===_0x38a97f&&navigate(_0x38a97f+_0x2b5c87(0x1f2),!0x0);}),this[_0x56e0bd(0x201)]['addEventListener'](_0x56e0bd(0x1d6),_0x47b94f=>{const _0x2a670d=_0x56e0bd;_0x47b94f[_0x2a670d(0x1ee)][_0x2a670d(0x1dc)](_0x2a670d(0x1f1));}),this[_0x56e0bd(0x201)]['addEventListener'](_0x56e0bd(0x1d9),_0x1abe4f=>{const _0x38c513=_0x56e0bd;_0x1abe4f[_0x38c513(0x1ee)]['setAttribute']('settled','');});}[a0_0xe228c(0x1f8)](_0x3d97cd){const _0x4e0e5c=a0_0xe228c,_0x2d8ef2=_0x3d97cd['currentTarget'];var _0x24cbeb=Math['max'](-0x1,Math['min'](0x1,_0x3d97cd[_0x4e0e5c(0x1e0)]||-_0x3d97cd[_0x4e0e5c(0x1fb)]));_0x2d8ef2['scrollLeft']-=0xa*_0x24cbeb,_0x3d97cd[_0x4e0e5c(0x1eb)]();}}customElements[a0_0xe228c(0x1ed)](a0_0xe228c(0x1e9),DynamicMenuLandscape);
25
+ `;}[a0_0x24008c(0x17d)](){const _0x1bbae6=a0_0x24008c;this['renderRoot'][_0x1bbae6(0x15d)](_0x1bbae6(0x16a))[_0x1bbae6(0x17e)](_0x1bbae6(0x173),this[_0x1bbae6(0x171)][_0x1bbae6(0x17f)](this),!0x1),this[_0x1bbae6(0x170)]['addEventListener'](_0x1bbae6(0x166),_0x178909=>{const _0x2ace4d=_0x1bbae6;if(_0x178909[_0x2ace4d(0x15b)][_0x2ace4d(0x167)]){_0x178909[_0x2ace4d(0x172)](),_0x178909[_0x2ace4d(0x174)]();let _0x5bb39c=_0x178909[_0x2ace4d(0x15b)][_0x2ace4d(0x167)];return void this['dispatchEvent'](new CustomEvent(_0x2ace4d(0x179),{'bubbles':!0x0,'detail':this[_0x2ace4d(0x17a)]===_0x5bb39c?void 0x0:_0x5bb39c}));}let _0x199411=_0x178909[_0x2ace4d(0x15b)][_0x2ace4d(0x162)];_0x199411&&location[_0x2ace4d(0x162)]===_0x199411&&navigate(_0x199411+'#force',!0x0);}),this['renderRoot'][_0x1bbae6(0x17e)]('transitionstart',_0x457e37=>{const _0x2d88f5=_0x1bbae6;_0x457e37[_0x2d88f5(0x15b)]['removeAttribute']('settled');}),this[_0x1bbae6(0x170)]['addEventListener']('transitionend',_0xe135a0=>{const _0xac0fea=_0x1bbae6;_0xe135a0['target'][_0xac0fea(0x168)]('settled','');});}[a0_0x24008c(0x171)](_0x3c52a5){const _0xcb532=a0_0x24008c,_0x94934b=_0x3c52a5[_0xcb532(0x17c)];var _0x117ec8=Math['max'](-0x1,Math['min'](0x1,_0x3c52a5[_0xcb532(0x164)]||-_0x3c52a5[_0xcb532(0x16d)]));_0x94934b[_0xcb532(0x160)]-=0xa*_0x117ec8,_0x3c52a5[_0xcb532(0x174)]();}}function a0_0x2d17(_0x474c09,_0x2480cb){const _0x26026d=a0_0x2602();return a0_0x2d17=function(_0x2d179a,_0x4eceec){_0x2d179a=_0x2d179a-0x15a;let _0x56e074=_0x26026d[_0x2d179a];return _0x56e074;},a0_0x2d17(_0x474c09,_0x2480cb);}customElements[a0_0x24008c(0x165)]('dynamic-menu-landscape',DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x5b44ab=a0_0x17aa;function a0_0x17aa(_0x426315,_0xd1911c){var _0x5afe5a=a0_0x5afe();return a0_0x17aa=function(_0x17aaf9,_0x4ea3bd){_0x17aaf9=_0x17aaf9-0x190;var _0x676db3=_0x5afe5a[_0x17aaf9];return _0x676db3;},a0_0x17aa(_0x426315,_0xd1911c);}(function(_0x526331,_0x40b1cd){var _0x1b2208=a0_0x17aa,_0x31e7ac=_0x526331();while(!![]){try{var _0x101085=-parseInt(_0x1b2208(0x1af))/0x1+parseInt(_0x1b2208(0x1a9))/0x2*(parseInt(_0x1b2208(0x1b4))/0x3)+parseInt(_0x1b2208(0x1a2))/0x4+parseInt(_0x1b2208(0x1a0))/0x5+parseInt(_0x1b2208(0x193))/0x6*(-parseInt(_0x1b2208(0x1aa))/0x7)+-parseInt(_0x1b2208(0x1a1))/0x8*(-parseInt(_0x1b2208(0x19c))/0x9)+-parseInt(_0x1b2208(0x1b8))/0xa;if(_0x101085===_0x40b1cd)break;else _0x31e7ac['push'](_0x31e7ac['shift']());}catch(_0x1289eb){_0x31e7ac['push'](_0x31e7ac['shift']());}}}(a0_0x5afe,0x1f45f));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';function a0_0x5afe(){var _0x31ba24=['resourceId','_path','75910QedZoo','addEventListener','landscape','function','273732uRctPU','find','updated','_findActivePage','orientation','replaceChild','has','stopPropagation','_activeMenu','12978krXATJ','firstUpdated','slotTemplate','path','422735ZYJOwS','136PCYuqd','923688iKjMAy','active-toplevel','route','portrait','menus','page','active','55652tmOlGw','35ZKXIgC','setAttribute','define','renderRoot','_activeTopLevel','31839kztPul','metaUI','detail','styles','preventDefault','6yYGHng','stateChanged'];a0_0x5afe=function(){return _0x31ba24;};return a0_0x5afe();}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x1c2f82,_0xfef25f){var _0x2ae008=a0_0x17aa;return _0x1c2f82[_0x2ae008(0x19f)]?.['split']('?')[0x0]===_0xfef25f||_0x1c2f82[_0x2ae008(0x1a8)]&&_0x2ae008(0x192)==typeof _0x1c2f82['active']&&_0x1c2f82[_0x2ae008(0x1a8)]['call'](_0x1c2f82,{'path':_0xfef25f});}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_0x5b44ab(0x1b2)](){return[ScrollbarStyles,css`
1
+ var a0_0x434071=a0_0xdfbf;function a0_0xdfbf(_0x4a5a3c,_0x25cdb6){var _0x21b205=a0_0x21b2();return a0_0xdfbf=function(_0xdfbf5d,_0x23a438){_0xdfbf5d=_0xdfbf5d-0x92;var _0x59153a=_0x21b205[_0xdfbf5d];return _0x59153a;},a0_0xdfbf(_0x4a5a3c,_0x25cdb6);}(function(_0x36293e,_0x40a91a){var _0x5593ac=a0_0xdfbf,_0x2c66d9=_0x36293e();while(!![]){try{var _0x288e5a=-parseInt(_0x5593ac(0xb9))/0x1*(-parseInt(_0x5593ac(0x9a))/0x2)+parseInt(_0x5593ac(0xac))/0x3*(-parseInt(_0x5593ac(0xb7))/0x4)+-parseInt(_0x5593ac(0xb3))/0x5*(-parseInt(_0x5593ac(0xb1))/0x6)+-parseInt(_0x5593ac(0xb6))/0x7*(-parseInt(_0x5593ac(0xb2))/0x8)+parseInt(_0x5593ac(0x9e))/0x9*(-parseInt(_0x5593ac(0xab))/0xa)+-parseInt(_0x5593ac(0x92))/0xb*(-parseInt(_0x5593ac(0xa6))/0xc)+parseInt(_0x5593ac(0xb8))/0xd*(parseInt(_0x5593ac(0x9d))/0xe);if(_0x288e5a===_0x40a91a)break;else _0x2c66d9['push'](_0x2c66d9['shift']());}catch(_0xb4df78){_0x2c66d9['push'](_0x2c66d9['shift']());}}}(a0_0x21b2,0x538c6));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x21b2(){var _0x25709c=['preventDefault','function','stateChanged','has','2748GrsOBY','setAttribute','render','path','active','5264930BNbGbS','15477gubMHo','_findActivePage','_activeMenu','properties','split','40686YdOzFS','450744aTafSQ','445znoiDi','addEventListener','slotTemplate','7TUAtwX','328eSErJB','209677mRVzYl','27463RtRSLN','firstUpdated','13057uWTNlU','_path','resourceId','replaceChild','define','_activeTopLevel','find','metaUI','18vtiEGj','menus','page','98XOLiiU','9cMTzEQ','active-toplevel','route','landscape'];a0_0x21b2=function(){return _0x25709c;};return a0_0x21b2();}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(_0xdfb578,_0x5eb7df){var _0x13d3f3=a0_0xdfbf;return _0xdfb578[_0x13d3f3(0xa9)]?.[_0x13d3f3(0xb0)]('?')[0x0]===_0x5eb7df||_0xdfb578[_0x13d3f3(0xaa)]&&_0x13d3f3(0xa3)==typeof _0xdfb578[_0x13d3f3(0xaa)]&&_0xdfb578['active']['call'](_0xdfb578,{'path':_0x5eb7df});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x434071(0xaf)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get['styles'](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x5b44ab=a0_0x17aa;function a0_0x17aa(_0x426315,_0xd1911c){var _0x5afe5a=
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}['render'](){var _0x139cbc=a0_0x5b44ab;return html`
30
+ `];}[a0_0x434071(0xa8)](){var _0x39c2ed=a0_0x434071;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x139cbc(0x191)!==this[_0x139cbc(0x197)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x139cbc(0x1a6)]}
34
- .activeTopLevel=${this[_0x139cbc(0x1ae)]}
35
- .activeMenu=${this[_0x139cbc(0x19b)]}
36
- .path=${this[_0x139cbc(0x1b7)]}
32
+ ${_0x39c2ed(0xa1)!==this['orientation']?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x39c2ed(0x9b)]}
34
+ .activeTopLevel=${this[_0x39c2ed(0x97)]}
35
+ .activeMenu=${this[_0x39c2ed(0xae)]}
36
+ .path=${this['_path']}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x139cbc(0x1a6)]}
39
- .activeTopLevel=${this[_0x139cbc(0x1ae)]}
40
- .activeMenu=${this[_0x139cbc(0x19b)]}
41
- .path=${this[_0x139cbc(0x1b7)]}
38
+ .menus=${this[_0x39c2ed(0x9b)]}
39
+ .activeTopLevel=${this[_0x39c2ed(0x97)]}
40
+ .activeMenu=${this[_0x39c2ed(0xae)]}
41
+ .path=${this['_path']}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x5b44ab(0x19d)](){var _0x49f18d=a0_0x5b44ab;this[_0x49f18d(0x1ad)][_0x49f18d(0x190)](_0x49f18d(0x1a3),_0x3a26d3=>{var _0x3b0763=_0x49f18d;_0x3a26d3[_0x3b0763(0x19a)](),_0x3a26d3[_0x3b0763(0x1b3)](),this[_0x3b0763(0x1ae)]=_0x3a26d3[_0x3b0763(0x1b1)];});}[a0_0x5b44ab(0x195)](_0x5df630){var _0x4719ca=a0_0x5b44ab;(_0x5df630['has'](_0x4719ca(0x1a6))||_0x5df630[_0x4719ca(0x199)](_0x4719ca(0x1a7))||_0x5df630[_0x4719ca(0x199)](_0x4719ca(0x1b6)))&&this[_0x4719ca(0x196)](),_0x5df630['has']('orientation')&&(_0x4719ca(0x1a5)==this[_0x4719ca(0x197)]?this['removeAttribute'](_0x4719ca(0x191)):this[_0x4719ca(0x1ab)](_0x4719ca(0x191),!0x0)),_0x5df630['has']('slotTemplate')&&this[_0x4719ca(0x198)](this['slotTemplate']);}[a0_0x5b44ab(0x1b5)](_0x3ec04f){var _0x43aabf=a0_0x5b44ab;this[_0x43aabf(0x1a7)]=_0x3ec04f[_0x43aabf(0x1a4)]['page'],this[_0x43aabf(0x1b6)]=_0x3ec04f[_0x43aabf(0x1a4)][_0x43aabf(0x1b6)],this[_0x43aabf(0x1a6)]=_0x3ec04f[_0x43aabf(0x1b0)][_0x43aabf(0x1a6)]||[],this['slotTemplate']=_0x3ec04f[_0x43aabf(0x1b0)][_0x43aabf(0x19e)];}[a0_0x5b44ab(0x196)](){var _0x3a579d=a0_0x5b44ab,_0x5344af,_0x420631=this[_0x3a579d(0x1b6)]?this[_0x3a579d(0x1a7)]+'/'+this[_0x3a579d(0x1b6)]:this['page'],_0x5dca3c=this[_0x3a579d(0x1a6)]||[];this[_0x3a579d(0x1ae)]=_0x5dca3c['find'](_0x1e96aa=>isActiveMenu(_0x1e96aa,_0x420631)?(_0x5344af=_0x1e96aa,!0x0):_0x1e96aa[_0x3a579d(0x1a6)]?!!(_0x5344af=_0x1e96aa[_0x3a579d(0x1a6)][_0x3a579d(0x194)](_0x5aac05=>isActiveMenu(_0x5aac05,_0x420631))):void 0x0),this[_0x3a579d(0x1b7)]=_0x420631,this[_0x3a579d(0x19b)]=_0x5344af||this[_0x3a579d(0x1ae)];}}customElements[a0_0x5b44ab(0x1ac)]('dynamic-menu-part',DynamicMenuPart);
44
+ `;}[a0_0x434071(0xba)](){var _0x4ae01b=a0_0x434071;this['renderRoot'][_0x4ae01b(0xb4)](_0x4ae01b(0x9f),_0x5146dd=>{var _0x259b49=_0x4ae01b;_0x5146dd['stopPropagation'](),_0x5146dd[_0x259b49(0xa2)](),this[_0x259b49(0x97)]=_0x5146dd['detail'];});}['updated'](_0x5d4fb7){var _0x110d22=a0_0x434071;(_0x5d4fb7['has'](_0x110d22(0x9b))||_0x5d4fb7['has']('page')||_0x5d4fb7[_0x110d22(0xa5)]('resourceId'))&&this[_0x110d22(0xad)](),_0x5d4fb7['has']('orientation')&&('portrait'==this['orientation']?this['removeAttribute']('landscape'):this[_0x110d22(0xa7)](_0x110d22(0xa1),!0x0)),_0x5d4fb7[_0x110d22(0xa5)](_0x110d22(0xb5))&&this[_0x110d22(0x95)](this['slotTemplate']);}[a0_0x434071(0xa4)](_0x1cdd70){var _0xc070da=a0_0x434071;this['page']=_0x1cdd70[_0xc070da(0xa0)][_0xc070da(0x9c)],this[_0xc070da(0x94)]=_0x1cdd70[_0xc070da(0xa0)][_0xc070da(0x94)],this['menus']=_0x1cdd70[_0xc070da(0x99)][_0xc070da(0x9b)]||[],this[_0xc070da(0xb5)]=_0x1cdd70[_0xc070da(0x99)][_0xc070da(0xb5)];}[a0_0x434071(0xad)](){var _0x441b3c=a0_0x434071,_0x190bf4,_0x519fd8=this[_0x441b3c(0x94)]?this['page']+'/'+this[_0x441b3c(0x94)]:this[_0x441b3c(0x9c)],_0x3f8fff=this[_0x441b3c(0x9b)]||[];this['_activeTopLevel']=_0x3f8fff[_0x441b3c(0x98)](_0x860ad2=>isActiveMenu(_0x860ad2,_0x519fd8)?(_0x190bf4=_0x860ad2,!0x0):_0x860ad2['menus']?!!(_0x190bf4=_0x860ad2[_0x441b3c(0x9b)][_0x441b3c(0x98)](_0x45ec32=>isActiveMenu(_0x45ec32,_0x519fd8))):void 0x0),this[_0x441b3c(0x93)]=_0x519fd8,this[_0x441b3c(0xae)]=_0x190bf4||this[_0x441b3c(0x97)];}}customElements[a0_0x434071(0x96)]('dynamic-menu-part',DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x1d10f6,_0x5af6b9){const _0x129672=a0_0x2a68,_0x169499=_0x1d10f6();while(!![]){try{const _0x47e148=-parseInt(_0x129672(0xdd))/0x1+-parseInt(_0x129672(0xd7))/0x2+parseInt(_0x129672(0xd8))/0x3*(-parseInt(_0x129672(0xdb))/0x4)+-parseInt(_0x129672(0xd5))/0x5+parseInt(_0x129672(0xda))/0x6+-parseInt(_0x129672(0xd9))/0x7*(parseInt(_0x129672(0xd6))/0x8)+parseInt(_0x129672(0xdc))/0x9;if(_0x47e148===_0x5af6b9)break;else _0x169499['push'](_0x169499['shift']());}catch(_0x33e523){_0x169499['push'](_0x169499['shift']());}}}(a0_0x5d8c,0xc303c));import{css}from'lit';function a0_0x2a68(_0x4cf240,_0x4f3406){const _0x5d8cd5=a0_0x5d8c();return a0_0x2a68=function(_0x2a68cc,_0x408dc5){_0x2a68cc=_0x2a68cc-0xd5;let _0x566379=_0x5d8cd5[_0x2a68cc];return _0x566379;},a0_0x2a68(_0x4cf240,_0x4f3406);}function a0_0x5d8c(){const _0x3294e4=['5376312rxaOyO','1236TJSemM','47181348zxDzGg','443450FoaCqZ','7260905hsEVaU','10568LXdShg','745682VMrOSP','15081QdNYTr','8043TDJsXj'];a0_0x5d8c=function(){return _0x3294e4;};return a0_0x5d8c();}export const DynamicMenuPortraitStyles=css`
1
+ (function(_0x451be3,_0x2cebe9){const _0x35a313=a0_0x1a33,_0xcfea92=_0x451be3();while(!![]){try{const _0x471d2c=-parseInt(_0x35a313(0x133))/0x1+-parseInt(_0x35a313(0x12c))/0x2+parseInt(_0x35a313(0x132))/0x3+parseInt(_0x35a313(0x130))/0x4*(parseInt(_0x35a313(0x12d))/0x5)+-parseInt(_0x35a313(0x12a))/0x6*(-parseInt(_0x35a313(0x131))/0x7)+parseInt(_0x35a313(0x12f))/0x8*(-parseInt(_0x35a313(0x12b))/0x9)+parseInt(_0x35a313(0x12e))/0xa;if(_0x471d2c===_0x2cebe9)break;else _0xcfea92['push'](_0xcfea92['shift']());}catch(_0x5bad85){_0xcfea92['push'](_0xcfea92['shift']());}}}(a0_0x4032,0x315e2));import{css}from'lit';function a0_0x1a33(_0x2b34c1,_0x5badfe){const _0x4032a2=a0_0x4032();return a0_0x1a33=function(_0x1a334f,_0x9b1f61){_0x1a334f=_0x1a334f-0x12a;let _0x2bd071=_0x4032a2[_0x1a334f];return _0x2bd071;},a0_0x1a33(_0x2b34c1,_0x5badfe);}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
- `;
128
+ `;function a0_0x4032(){const _0x8a1d1e=['8MODKrq','4tBgqHJ','46823gRuOLn','917268mkPTsJ','375461trDLZa','318GAuSMe','1204470bJfINM','613270dmMJOY','1570210rImEFm','438210EaaMgt'];a0_0x4032=function(){return _0x8a1d1e;};return a0_0x4032();}
@@ -1,14 +1,14 @@
1
- const a0_0x2eae57=a0_0x3da5;(function(_0x2a08ee,_0xc8feed){const _0xe4edb8=a0_0x3da5,_0xba04dc=_0x2a08ee();while(!![]){try{const _0x109200=-parseInt(_0xe4edb8(0x1b6))/0x1*(-parseInt(_0xe4edb8(0x1af))/0x2)+-parseInt(_0xe4edb8(0x1b4))/0x3+parseInt(_0xe4edb8(0x1ba))/0x4*(-parseInt(_0xe4edb8(0x19e))/0x5)+-parseInt(_0xe4edb8(0x1bb))/0x6+-parseInt(_0xe4edb8(0x1a7))/0x7+-parseInt(_0xe4edb8(0x1a6))/0x8+parseInt(_0xe4edb8(0x1b1))/0x9;if(_0x109200===_0xc8feed)break;else _0xba04dc['push'](_0xba04dc['shift']());}catch(_0x20c9d4){_0xba04dc['push'](_0xba04dc['shift']());}}}(a0_0x13a1,0x94000));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x3da5(_0x50b596,_0x169fbc){const _0x13a156=a0_0x13a1();return a0_0x3da5=function(_0x3da59e,_0x26620b){_0x3da59e=_0x3da59e-0x196;let _0x24a3fa=_0x13a156[_0x3da59e];return _0x24a3fa;},a0_0x3da5(_0x50b596,_0x169fbc);}import{navigate}from'@operato/shell';function a0_0x13a1(){const _0x3dc44b=['menu','1071049xKVWxc','styles','length','active-toplevel','38212HmwDFk','3028446uBgycc','render','activeTopLevel','define','group','renderRoot','addEventListener','stopPropagation','target','click','335egzYnL','#force','call','preventDefault','setAttribute','map','function','transitionend','5258600SOKviQ','3049116HIiiUL','properties','firstUpdated','href','dynamic-menu-portrait','path','dispatchEvent','transitionstart','2jnNoXD','[menu]','22199247WaibLE','renderMenus','closest','2081157EaLuVT'];a0_0x13a1=function(){return _0x3dc44b;};return a0_0x13a1();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x2eae57(0x1b7)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x2eae57(0x1a8)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x59377d,_0x318d70,_0x4dbfb1){const _0x27c33d=a0_0x2eae57;return html`
1
+ const a0_0x3c9084=a0_0x2d80;(function(_0x33fefa,_0xe03f79){const _0x9317f2=a0_0x2d80,_0x1163f9=_0x33fefa();while(!![]){try{const _0x32cd11=-parseInt(_0x9317f2(0x166))/0x1+parseInt(_0x9317f2(0x155))/0x2+-parseInt(_0x9317f2(0x153))/0x3*(parseInt(_0x9317f2(0x15c))/0x4)+-parseInt(_0x9317f2(0x152))/0x5*(parseInt(_0x9317f2(0x16a))/0x6)+-parseInt(_0x9317f2(0x15d))/0x7+parseInt(_0x9317f2(0x168))/0x8+parseInt(_0x9317f2(0x169))/0x9;if(_0x32cd11===_0xe03f79)break;else _0x1163f9['push'](_0x1163f9['shift']());}catch(_0x5d0475){_0x1163f9['push'](_0x1163f9['shift']());}}}(a0_0x5e52,0x29e65));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';function a0_0x2d80(_0x175563,_0xe0349a){const _0x5e5214=a0_0x5e52();return a0_0x2d80=function(_0x2d80ba,_0x41e001){_0x2d80ba=_0x2d80ba-0x14f;let _0x377e5d=_0x5e5214[_0x2d80ba];return _0x377e5d;},a0_0x2d80(_0x175563,_0xe0349a);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get['styles'](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x3c9084(0x151)](_0x56d76b,_0x192539,_0x16fbb5){const _0x24a406=a0_0x3c9084;return html`
2
2
  <ul>
3
- ${_0x59377d[_0x27c33d(0x1a3)](_0x5da660=>{const _0x313762=_0x27c33d;var {type:_0x5a899d,active:_0x2d0b7e,path:_0x100e2e,name:_0x71d37d,badge:_0x13d864,icon:_0x38bcee,menus:_0x41815e}=_0x5da660;return _0x2d0b7e=!(!_0x2d0b7e||_0x313762(0x1a4)!=typeof _0x2d0b7e)&&_0x2d0b7e[_0x313762(0x1a0)](_0x5da660,{'path':this[_0x313762(0x1ac)]}),_0x13d864=_0x313762(0x1a4)==typeof _0x13d864?_0x13d864[_0x313762(0x1a0)](_0x5da660):_0x13d864??!0x1,_0x313762(0x198)==_0x5a899d?html`<li group-label>${_0x71d37d}</li>`:html`
4
- <li ?active=${_0x318d70?_0x5da660===_0x318d70:_0x2d0b7e} .menu=${_0x5da660} menu>
5
- <a href=${_0x100e2e||'#'}>
6
- ${_0x41815e?.[_0x313762(0x1b8)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x38bcee}</mwc-icon>
8
- ${_0x71d37d} ${!0x1!==_0x13d864?html`<div badge>${_0x13d864}</div>`:html``}
3
+ ${_0x56d76b[_0x24a406(0x16b)](_0x136d8f=>{const _0x2a0dcb=_0x24a406;var {type:_0x3299df,active:_0x5478f2,path:_0x3a1640,name:_0x5e5719,badge:_0x409c59,icon:_0x17bb03,menus:_0x49afe6}=_0x136d8f;return _0x5478f2=!(!_0x5478f2||_0x2a0dcb(0x154)!=typeof _0x5478f2)&&_0x5478f2[_0x2a0dcb(0x162)](_0x136d8f,{'path':this['path']}),_0x409c59='function'==typeof _0x409c59?_0x409c59[_0x2a0dcb(0x162)](_0x136d8f):_0x409c59??!0x1,_0x2a0dcb(0x14f)==_0x3299df?html`<li group-label>${_0x5e5719}</li>`:html`
4
+ <li ?active=${_0x192539?_0x136d8f===_0x192539:_0x5478f2} .menu=${_0x136d8f} menu>
5
+ <a href=${_0x3a1640||'#'}>
6
+ ${_0x49afe6?.[_0x2a0dcb(0x161)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x17bb03}</mwc-icon>
8
+ ${_0x5e5719} ${!0x1!==_0x409c59?html`<div badge>${_0x409c59}</div>`:html``}
9
9
  </a>
10
- ${_0x41815e&&this[_0x313762(0x1b2)](_0x41815e,_0x4dbfb1)}
10
+ ${_0x49afe6&&this[_0x2a0dcb(0x151)](_0x49afe6,_0x16fbb5)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x2eae57(0x1bc)](){const _0x171f44=a0_0x2eae57,{menus:_0x669f2a,activeTopLevel:_0x4b750e,activeMenu:_0x1894f4}=this;return this[_0x171f44(0x1b2)](_0x669f2a,_0x4b750e,_0x1894f4);}[a0_0x2eae57(0x1a9)](){const _0x244ed9=a0_0x2eae57;this[_0x244ed9(0x199)][_0x244ed9(0x19a)](_0x244ed9(0x19d),_0x42be4b=>{const _0x2ee375=_0x244ed9,_0x126f0e=_0x42be4b[_0x2ee375(0x19c)][_0x2ee375(0x1b3)](_0x2ee375(0x1b0));if(_0x126f0e?.[_0x2ee375(0x1b5)]){let _0x3fbc8a=_0x126f0e['menu'];_0x3fbc8a[_0x2ee375(0x1ac)]||(_0x42be4b[_0x2ee375(0x19b)](),_0x42be4b[_0x2ee375(0x1a1)]()),this[_0x2ee375(0x1ad)](new CustomEvent(_0x2ee375(0x1b9),{'bubbles':!0x0,'detail':this[_0x2ee375(0x196)]===_0x3fbc8a?void 0x0:_0x3fbc8a}));}let _0x1fbaa0=_0x42be4b[_0x2ee375(0x19c)]['href'];_0x1fbaa0&&location[_0x2ee375(0x1aa)]===_0x1fbaa0&&navigate(_0x1fbaa0+_0x2ee375(0x19f),!0x0);}),this[_0x244ed9(0x199)]['addEventListener'](_0x244ed9(0x1ae),_0x30bdd3=>{const _0x263203=_0x244ed9;_0x30bdd3[_0x263203(0x19c)]['removeAttribute']('settled');}),this['renderRoot'][_0x244ed9(0x19a)](_0x244ed9(0x1a5),_0x108508=>{const _0xa13db9=_0x244ed9;_0x108508[_0xa13db9(0x19c)][_0xa13db9(0x1a2)]('settled','');});}}customElements[a0_0x2eae57(0x197)](a0_0x2eae57(0x1ab),DynamicMenuPortrait);
14
+ `;}[a0_0x3c9084(0x160)](){const _0x41da18=a0_0x3c9084,{menus:_0x1d83ac,activeTopLevel:_0x5551c4,activeMenu:_0xc18f94}=this;return this[_0x41da18(0x151)](_0x1d83ac,_0x5551c4,_0xc18f94);}[a0_0x3c9084(0x16e)](){const _0xf7c185=a0_0x3c9084;this[_0xf7c185(0x159)]['addEventListener'](_0xf7c185(0x170),_0xc8c0b7=>{const _0x1bd17a=_0xf7c185,_0x3ab941=_0xc8c0b7['target']['closest'](_0x1bd17a(0x158));if(_0x3ab941?.[_0x1bd17a(0x16c)]){let _0x4a2ba2=_0x3ab941[_0x1bd17a(0x16c)];_0x4a2ba2[_0x1bd17a(0x16d)]||(_0xc8c0b7[_0x1bd17a(0x167)](),_0xc8c0b7[_0x1bd17a(0x150)]()),this[_0x1bd17a(0x156)](new CustomEvent(_0x1bd17a(0x164),{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x4a2ba2?void 0x0:_0x4a2ba2}));}let _0x387e0f=_0xc8c0b7[_0x1bd17a(0x165)][_0x1bd17a(0x16f)];_0x387e0f&&location[_0x1bd17a(0x16f)]===_0x387e0f&&navigate(_0x387e0f+_0x1bd17a(0x15f),!0x0);}),this[_0xf7c185(0x159)][_0xf7c185(0x15e)]('transitionstart',_0x19f2ff=>{const _0x1f31ea=_0xf7c185;_0x19f2ff[_0x1f31ea(0x165)][_0x1f31ea(0x157)]('settled');}),this[_0xf7c185(0x159)][_0xf7c185(0x15e)](_0xf7c185(0x163),_0x456d78=>{const _0x4a22ea=_0xf7c185;_0x456d78['target']['setAttribute'](_0x4a22ea(0x15b),'');});}}customElements['define'](a0_0x3c9084(0x15a),DynamicMenuPortrait);function a0_0x5e52(){const _0x381316=['renderRoot','dynamic-menu-portrait','settled','4BGfCXi','1531103GmFagH','addEventListener','#force','render','length','call','transitionend','active-toplevel','target','259611Kirwqr','stopPropagation','2459928sBohNp','6935850kXCxdp','6heKdue','map','menu','path','firstUpdated','href','click','group','preventDefault','renderMenus','910265jcKicu','877443fKNWWx','function','92708CrbcPg','dispatchEvent','removeAttribute','[menu]'];a0_0x5e52=function(){return _0x381316;};return a0_0x5e52();}