@things-factory/meta-ui 6.1.18 → 6.1.19

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 (84) 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 +10 -10
  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 +7 -7
  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 +3 -3
  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 +28 -28
  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 +7 -7
  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 +6 -6
  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 +1 -1
  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 +2 -2
  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/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x59df8b=a0_0x525c;(function(_0x57422f,_0xb18fb2){const _0xd44a4a=a0_0x525c,_0x2bb539=_0x57422f();while(!![]){try{const _0x54dc9f=-parseInt(_0xd44a4a(0x195))/0x1+-parseInt(_0xd44a4a(0x17a))/0x2+-parseInt(_0xd44a4a(0x12c))/0x3*(parseInt(_0xd44a4a(0x17e))/0x4)+parseInt(_0xd44a4a(0x18c))/0x5*(-parseInt(_0xd44a4a(0x172))/0x6)+-parseInt(_0xd44a4a(0x19a))/0x7*(-parseInt(_0xd44a4a(0x153))/0x8)+parseInt(_0xd44a4a(0x1a2))/0x9+-parseInt(_0xd44a4a(0x137))/0xa*(-parseInt(_0xd44a4a(0x162))/0xb);if(_0x54dc9f===_0xb18fb2)break;else _0x2bb539['push'](_0x2bb539['shift']());}catch(_0x21cd38){_0x2bb539['push'](_0x2bb539['shift']());}}}(a0_0x3c5c,0x3386c));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x5e2fc5 from'graphql-tag';function a0_0x525c(_0x187b85,_0x2a6b8f){const _0x3c5cd4=a0_0x3c5c();return a0_0x525c=function(_0x525c0b,_0x55bf45){_0x525c0b=_0x525c0b-0x12b;let _0x514d2a=_0x3c5cd4[_0x525c0b];return _0x514d2a;},a0_0x525c(_0x187b85,_0x2a6b8f);}function a0_0x3c5c(){const _0x3901d5=['code','9658uNhsiA','callScenario','HIDDEN-PAGE','columns','networkError','text.NOTHING_CHANGED','createdAt','updateMultipleData','myDynamicMenus','routing','menuType','extensions','total','__seq__','query','deleteListByGristSelected','486bWYSIa','type','record','result','tText','updatedAt','description','details','451534jKcJre','length','active','findIndex','4060IwJWCW','showToast','data','confirm','dirtyRecords','GROUP','value','workCodeByName','text.nothing_changed','\x0a\x20\x20\x20\x20\x20\x20','__dirty__','name','split','message','23180lwzTDE','object','showGraphqlException','updateMultiple','imex','getCodeByScenario','__selected__','button.','template','256081dGFsYZ','updater','children','hidden','cancel','168644jMSnkM','delete','numberOfApprovalPendings','todo-list','sort','text.nothing_selected','badge','menu.id','3426750rozKey','error','runScenario','noteq','rank','searchByPagination','xlsx','showGraphqlErrorResponse','map','\x0a\x20\x20\x20\x20','getSelectedIdList','forEach','_config','378shXJlI','numberOfToDos','isNotEmpty','creator','draft-list','tMenu','text.there_is_nothing_to_delete','path','exportableData','key','dispatch','8740QbzRGr','records','undefined','id,template','patchesForUpdateMultiple','title','gutter','resourceUrl','buildArgs','routingType','getCodeByEntity','HOME','info','unshift','success\x20to\x20process','group','menus','success\x20to\x20delete','hiddenFlag','push','deleteListByIds','parse','codeItems','MENU','fetch','test','findOne','__dirtyfields__','16WqSikJ','find','errors','arrangeMenuRoutes','searchMyDynamicMenus','text.are_you_sure','reduce','checkClientError','showAlertPopup','SCREEN','filter','question','__origin__','splice'];a0_0x3c5c=function(){return _0x3901d5;};return a0_0x3c5c();}import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x4fe948 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async['codeItems'](_0x4a8384){const _0x55994c=a0_0x525c;if(Array['isArray'](_0x4a8384))return _0x4a8384[_0x55994c(0x1aa)](_0x3328b8=>_0x55994c(0x18d)==typeof _0x3328b8?{'name':_0x3328b8[_0x55994c(0x184)],'description':_0x3328b8['display']}:{'name':_0x3328b8,'description':_0x3328b8});let _0x4406a8=await ServiceUtil['getWorkCodeByName'](_0x4a8384);return _0x4406a8&&_0x4406a8[_0x55994c(0x17b)]>0x0?_0x4406a8:await getCodeByName(_0x4a8384);}static async['getWorkCodeByName'](_0x123220){const _0x2b680d=a0_0x525c,_0x4e05bb=await client[_0x2b680d(0x170)]({'query':a0_0x5e2fc5`
1
+ function a0_0x112c(_0x52d7d6,_0x439d07){const _0x2e8e04=a0_0x2e8e();return a0_0x112c=function(_0x112c20,_0x29e69d){_0x112c20=_0x112c20-0xfc;let _0x334338=_0x2e8e04[_0x112c20];return _0x334338;},a0_0x112c(_0x52d7d6,_0x439d07);}const a0_0x24e109=a0_0x112c;function a0_0x2e8e(){const _0x3049b8=['columns','value','arrangeMenuRoutes','button.delete','updatedAt','menuType','type','menus','badge','menu.id','name','success\x20to\x20delete','createdAt','path','tMenu','__seq__','hidden','buildArgs','__dirty__','draft-list','title','selected','query','error','undefined','info','getCodeSelectorData','getCodeByEntity','xlsx','checkClientError','__selected__','cuFlag','approval-pending-list','runScenario','__dirtyfields__','object','\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','fetch','4360kGsitj','routing','networkError','89355yVlgsA','callScenario','findOne','confirm','deleteListByGristSelected','1rxBmBb','id,template','getWorkCodeByName','showAlertPopup','active','total','template','updateMultipleData','numberOfApprovalPendings','noteq','filter','3800744VAIBLP','showGraphqlException','tText','imex','patchesForUpdateMultiple','delete','10maMIjk','5058akrHPz','iconPath','text.there_is_nothing_to_delete','4926988mwTUwM','GROUP','splice','Graphql\x20Error','category','reduce','deleteListByIds','isArray','code','22184412WPdhly','findIndex','success\x20to\x20process','codeItems','MENU','searchByPagination','showToast','button.','rank','items','details','621576CeAENC','9eXUWXr','extensions','3141229xBmhni','12XlpKPD','result','HOME','success\x20to\x20save','display','workCodeByName','text.nothing_selected','text.nothing_changed','gutter','includes','parse','isNotEmpty','key','errors','text.are_you_sure','creator','length','records','HIDDEN-PAGE','question','test','getCodeByScenario','getSelectedIdList','map','dirtyRecords','cancel','hiddenFlag','_config','description','showGraphqlErrorResponse','text.NOTHING_CHANGED','numberOfDrafts','data','gridPersonalizeTemplates','message','routingType','numberOfToDos','sort','forEach','unshift','children','resourceUrl','push','isEmpty','parent','updateMultiple'];a0_0x2e8e=function(){return _0x3049b8;};return a0_0x2e8e();}(function(_0x4fa2bd,_0xae226c){const _0x528352=a0_0x112c,_0x57ed03=_0x4fa2bd();while(!![]){try{const _0x587946=-parseInt(_0x528352(0x169))/0x1*(parseInt(_0x528352(0x109))/0x2)+parseInt(_0x528352(0x164))/0x3*(parseInt(_0x528352(0x10d))/0x4)+parseInt(_0x528352(0x161))/0x5*(-parseInt(_0x528352(0x17b))/0x6)+parseInt(_0x528352(0x10c))/0x7+-parseInt(_0x528352(0x174))/0x8*(parseInt(_0x528352(0x10a))/0x9)+-parseInt(_0x528352(0x17a))/0xa*(parseInt(_0x528352(0x17e))/0xb)+parseInt(_0x528352(0xfe))/0xc;if(_0x587946===_0xae226c)break;else _0x57ed03['push'](_0x57ed03['shift']());}catch(_0x5eee50){_0x57ed03['push'](_0x57ed03['shift']());}}}(a0_0x2e8e,0x6607e));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x515707 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x491032 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async['codeItems'](_0x4725f4){const _0x442084=a0_0x112c;if(Array[_0x442084(0xfc)](_0x4725f4))return _0x4725f4[_0x442084(0x124)](_0x421317=>_0x442084(0x15e)==typeof _0x421317?{'name':_0x421317['value'],'description':_0x421317[_0x442084(0x111)]}:{'name':_0x421317,'description':_0x421317});let _0x162b20=await ServiceUtil['getWorkCodeByName'](_0x4725f4);return _0x162b20&&_0x162b20[_0x442084(0x11d)]>0x0?_0x162b20:await getCodeByName(_0x4725f4);}static async[a0_0x24e109(0x16b)](_0x2efe35){const _0x55c530=a0_0x24e109,_0x2c6483=await client[_0x55c530(0x151)]({'query':a0_0x515707`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x59df8b=a0_0x525c;(function(_0x57422f,_0xb18fb2){const _0xd44a4a=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x123220},'context':gqlContext()});return!_0x4e05bb[_0x2b680d(0x155)]&&_0x4e05bb['data'][_0x2b680d(0x185)]&&_0x4e05bb[_0x2b680d(0x180)][_0x2b680d(0x185)][_0x2b680d(0x179)]?_0x4e05bb[_0x2b680d(0x180)][_0x2b680d(0x185)][_0x2b680d(0x179)][_0x2b680d(0x19e)]((_0x463823,_0x5bbfd5)=>_0x463823[_0x2b680d(0x1a6)]-_0x5bbfd5['rank']):[];}static async['getCodeSelectorData'](_0x27637b){const _0x55e1f8=a0_0x525c;let _0x474993=(await ServiceUtil[_0x55e1f8(0x14d)](_0x27637b))['map'](_0x372148=>({'value':_0x372148[_0x55e1f8(0x189)],'display':_0x372148[_0x55e1f8(0x178)]}));return _0x474993[_0x55e1f8(0x144)]({'value':'','display':''}),_0x474993;}static async[a0_0x59df8b(0x191)](_0x4526a6,_0x3db9c9){const _0x4d2c82=a0_0x59df8b;let _0x5dab4b=await ServiceUtil[_0x4d2c82(0x163)](null,_0x4526a6,_0x3db9c9);return _0x5dab4b[_0x4d2c82(0x144)]({'value':'','display':''}),_0x5dab4b['map'](_0x5bd9ef=>({'value':_0x5bd9ef[_0x4d2c82(0x189)],'display':_0x5bd9ef[_0x4d2c82(0x178)]}));}static async[a0_0x59df8b(0x141)]({queryName:_0x58baf3,codeField:_0x1e3a3d=a0_0x59df8b(0x189),dispField:_0x1588f9=a0_0x59df8b(0x178),filters:_0x153819=[],sorters:_0x17078c=[]}){const _0x6968ab=a0_0x59df8b;let _0x65460f=_0x6968ab(0x187)+_0x1e3a3d+'\x0a\x20\x20\x20\x20\x20\x20'+_0x1588f9+_0x6968ab(0x1ab),_0x2b7368=await ServiceUtil[_0x6968ab(0x1a7)](_0x58baf3,_0x153819,_0x17078c,0x0,0x0,_0x65460f),_0x13bea5=[{'value':'','display':''}];return _0x2b7368[_0x6968ab(0x138)][_0x6968ab(0x1ad)](_0x5dd815=>{_0x13bea5['push']({'value':_0x5dd815[_0x1e3a3d],'display':_0x5dd815[_0x1588f9]});}),_0x13bea5;}static async[a0_0x59df8b(0x16a)](){const _0x5ac78d=a0_0x59df8b;let _0x46964b=await ServiceUtil[_0x5ac78d(0x157)]();return null!=_0x46964b?ServiceUtil[_0x5ac78d(0x156)](_0x46964b):null;}static async['searchMenuGridPersnalTemplate'](_0x214441){const _0x37b32d=a0_0x59df8b;let _0x54f15f=[{'name':_0x37b32d(0x1a1),'operator':'eq','value':_0x214441}],_0x2d4d23=await ServiceUtil[_0x37b32d(0x1a7)]('gridPersonalizeTemplates',_0x54f15f,[],0x0,0x0,_0x37b32d(0x13a));return 0x0==_0x2d4d23[_0x37b32d(0x16e)]?{}:{'id':_0x2d4d23['records'][0x0]['id'],'template':JSON[_0x37b32d(0x14c)](_0x2d4d23['records'][0x0][_0x37b32d(0x194)])};}static['arrangeMenuRoutes'](_0x125296){const _0x5548db=a0_0x59df8b;let _0x6341aa=[];_0x125296[_0x5548db(0x1ad)](_0x11baeb=>{const _0x3120e3=_0x5548db;_0x6341aa[_0x3120e3(0x14a)](_0x11baeb),_0x11baeb[_0x3120e3(0x197)]&&(_0x11baeb[_0x3120e3(0x197)][_0x3120e3(0x19e)](function(_0x229ed4,_0x2f990d){const _0x21db08=_0x3120e3;return _0x229ed4[_0x21db08(0x1a6)]-_0x2f990d[_0x21db08(0x1a6)];}),_0x11baeb[_0x3120e3(0x197)][_0x3120e3(0x1ad)](_0x136b72=>{const _0x2b5bf1=_0x3120e3;0x1!=_0x136b72['hiddenFlag']&&(_0x136b72['parent']=_0x11baeb,_0x6341aa[_0x2b5bf1(0x14a)](_0x136b72));}));});let _0x1e5090=_0x6341aa['map'](_0x3112b4=>{const _0x37764e=_0x5548db;if(_0x37764e(0x183)==_0x3112b4[_0x37764e(0x16c)]||_0x37764e(0x14e)==_0x3112b4[_0x37764e(0x16c)]){let _0x184a76={'id':_0x3112b4['id'],'parent':!0x0,'name':TermsUtil[_0x37764e(0x131)](_0x3112b4[_0x37764e(0x189)]),'icon':_0x3112b4['iconPath'],'type':_0x37764e(0x183)==_0x3112b4['menuType']?_0x37764e(0x146):'','menus':[]};return _0x3112b4[_0x37764e(0x16b)]&&(_0x184a76[_0x37764e(0x133)]=_0x3112b4[_0x37764e(0x16b)]),_0x184a76;}return{'id':'0'};})[_0x5548db(0x15d)](_0x45220d=>'0'!=_0x45220d['id']),_0x430e59=_0x6341aa['map'](_0x2bb999=>{const _0x41e63a=_0x5548db;if(_0x41e63a(0x15c)==_0x2bb999[_0x41e63a(0x16c)]||_0x41e63a(0x164)==_0x2bb999[_0x41e63a(0x16c)]){let _0x41de6a=_0x1e5090[_0x41e63a(0x154)](_0x27883b=>_0x27883b['id']==_0x2bb999['parent']['id']);if(_0x41de6a){let _0x58d940=TermsUtil['tMenu'](_0x2bb999['name']);return'SCREEN'==_0x2bb999[_0x41e63a(0x16c)]&&_0x41de6a[_0x41e63a(0x147)][_0x41e63a(0x14a)]({'id':_0x2bb999['id'],'name':_0x58d940,'path':_0x2bb999['routing'],'icon':_0x2bb999['iconPath']}),{'id':_0x2bb999['id'],'parent':!0x1,'parent_id':_0x41de6a['id'],'title':_0x58d940,'tagname':_0x2bb999['category'],'page':_0x2bb999[_0x41e63a(0x16b)],'template':_0x2bb999[_0x41e63a(0x13e)],'routing_type':_0x2bb999[_0x41e63a(0x140)]};}return{'id':'0'};}return _0x41e63a(0x142)==_0x2bb999[_0x41e63a(0x16c)]?{'id':_0x2bb999['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x41e63a(0x131)](_0x2bb999[_0x41e63a(0x189)]),'tagname':_0x2bb999['category'],'page':_0x2bb999[_0x41e63a(0x16b)],'template':_0x2bb999[_0x41e63a(0x13e)],'routing_type':_0x2bb999[_0x41e63a(0x140)]}:{'id':'0'};})['filter'](_0x55f13b=>null!=_0x55f13b&&'0'!=_0x55f13b['id']);_0x1e5090['filter'](_0x347f4a=>_0x5548db(0x146)==_0x347f4a[_0x5548db(0x173)]&&_0x347f4a[_0x5548db(0x147)]&&_0x347f4a[_0x5548db(0x147)]['length']>0x0)[_0x5548db(0x1ad)](_0x5db0f4=>{const _0x23a672=_0x5548db;let _0x4d81e0=_0x1e5090[_0x23a672(0x17d)](_0x2b6dee=>_0x2b6dee['id']==_0x5db0f4['id'])+0x1;_0x1e5090[_0x23a672(0x160)](_0x4d81e0,0x0,..._0x5db0f4['menus']);});let _0x21031a=0x0;return _0x1e5090['forEach'](_0x5b3845=>{const _0xed2b35=_0x5548db;_0xed2b35(0x19d)==_0x5b3845[_0xed2b35(0x133)]?(_0x21031a++,_0x5b3845[_0xed2b35(0x1a0)]=()=>asyncReplace(generateActivitySummary(_0xed2b35(0x12d))),_0x5b3845[_0xed2b35(0x17c)]=({path:_0x400e07})=>/^activity\//[_0xed2b35(0x150)](_0x400e07)):'approval-pending-list'==_0x5b3845[_0xed2b35(0x133)]?(_0x21031a++,_0x5b3845[_0xed2b35(0x1a0)]=()=>asyncReplace(generateActivitySummary(_0xed2b35(0x19c))),_0x5b3845[_0xed2b35(0x17c)]=({path:_0xac92b9})=>/^activity\//['test'](_0xac92b9)):_0xed2b35(0x130)==_0x5b3845[_0xed2b35(0x133)]&&(_0x21031a++,_0x5b3845['badge']=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x21031a>0x0&&startSubscribeActivitySummary(),{'menus':_0x1e5090,'routes':_0x430e59};}static async[a0_0x59df8b(0x157)](){const _0x2024ce=a0_0x59df8b;let _0x343afa=await ServiceUtil[_0x2024ce(0x1a7)](_0x2024ce(0x147),[{'name':_0x2024ce(0x149),'operator':_0x2024ce(0x1a5),'value':!0x0},{'name':_0x2024ce(0x16c),'operator':'in','value':['HOME',_0x2024ce(0x14e),_0x2024ce(0x183)]}],[{'name':_0x2024ce(0x1a6)}],0x0,0x0,'\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');return _0x343afa?_0x343afa[_0x2024ce(0x138)]:[];}static async[a0_0x59df8b(0x1a9)](_0xc40ec2){const _0x38dc7f=a0_0x59df8b;if(_0xc40ec2['errors']&&_0xc40ec2[_0x38dc7f(0x155)]['length']>0x0){let _0x62aef4=_0xc40ec2['errors'][0x0],_0x47adea=_0x62aef4['message'],_0x13b8d1=_0x62aef4[_0x38dc7f(0x18b)];_0x62aef4['extensions']&&(_0x13b8d1=_0x62aef4[_0x38dc7f(0x16d)][_0x38dc7f(0x161)]),await UiUtil[_0x38dc7f(0x15b)](_0x13b8d1,_0x47adea,_0x38dc7f(0x1a3),_0x38dc7f(0x181));}}static async[a0_0x59df8b(0x18e)](_0x5cd35e){const _0x597939=a0_0x59df8b;_0x5cd35e&&(_0x5cd35e[_0x597939(0x166)]&&_0x5cd35e[_0x597939(0x166)][_0x597939(0x175)]?await ServiceUtil[_0x597939(0x1a9)](_0x5cd35e[_0x597939(0x166)][_0x597939(0x175)]):await UiUtil[_0x597939(0x15b)]('Graphql\x20Error',_0x5cd35e['message'],'error',_0x597939(0x181)));}static async[a0_0x59df8b(0x134)](_0x280828,_0xf0e46d,_0x1c7d37){const _0x28c60f=a0_0x59df8b;var _0x4c4405=_0x1c7d37[_0x28c60f(0x12b)]['columns'][_0x28c60f(0x15d)](_0x5457f3=>'gutter'!==_0x5457f3[_0x28c60f(0x173)]&&void 0x0!==_0x5457f3[_0x28c60f(0x174)]&&void 0x0!==_0x5457f3[_0x28c60f(0x190)]&&!0x0!==_0x5457f3[_0x28c60f(0x198)])[_0x28c60f(0x1aa)](_0x598271=>_0x598271[_0x28c60f(0x190)]),_0x5ebe9f=_0x1c7d37[_0x28c60f(0x180)][_0x28c60f(0x138)][_0x28c60f(0x1aa)](_0x1503f4=>({..._0x1c7d37[_0x28c60f(0x12b)][_0x28c60f(0x165)][_0x28c60f(0x15d)](_0x1029c5=>_0x28c60f(0x13d)!==_0x1029c5['type']&&void 0x0!==_0x1029c5[_0x28c60f(0x174)]&&void 0x0!==_0x1029c5['imex']&&!0x0!==_0x1029c5['hidden'])['reduce']((_0x14c9fa,_0x4d491a)=>(_0x14c9fa[_0x4d491a[_0x28c60f(0x190)][_0x28c60f(0x135)]]=_0x4d491a[_0x28c60f(0x190)][_0x28c60f(0x135)][_0x28c60f(0x18a)]('.')[_0x28c60f(0x159)]((_0x4f348c,_0x4ed8f6)=>_0x4f348c&&_0x28c60f(0x139)!==_0x4f348c[_0x4ed8f6]?_0x4f348c[_0x4ed8f6]:void 0x0,_0x1503f4),_0x14c9fa),{})}));if(!_0x280828)return{'header':_0x4c4405,'data':_0x5ebe9f};store[_0x28c60f(0x136)]({'type':EXPORT,'exportable':{'extension':_0x28c60f(0x1a8),'name':_0xf0e46d,'data':{'header':_0x4c4405,'data':_0x5ebe9f}}});}static async['searchByPagination'](_0x590b48,_0x3ea3b1,_0x13307d,_0x1e408c,_0x389f0f,_0x42fcec){const _0x3a10cf=a0_0x59df8b;try{const _0x55e2a0=await client[_0x3a10cf(0x170)]({'query':a0_0x5e2fc5`
11
+ `,'variables':{'name':_0x2efe35},'context':gqlContext()});return!_0x2c6483[_0x55c530(0x11a)]&&_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)]&&_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)]['details']?_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)][_0x55c530(0x108)][_0x55c530(0x132)]((_0x45aaf6,_0x4ae497)=>_0x45aaf6['rank']-_0x4ae497[_0x55c530(0x106)]):[];}static async[a0_0x24e109(0x155)](_0x3b13ad){const _0x467a0d=a0_0x24e109;let _0x138ba4=(await ServiceUtil[_0x467a0d(0x101)](_0x3b13ad))[_0x467a0d(0x124)](_0x43767c=>({'value':_0x43767c[_0x467a0d(0x145)],'display':_0x43767c[_0x467a0d(0x129)]}));return _0x138ba4[_0x467a0d(0x134)]({'value':'','display':''}),_0x138ba4;}static async[a0_0x24e109(0x122)](_0xcadc0e,_0xbf0814){const _0x2250e=a0_0x24e109;let _0x177250=await ServiceUtil[_0x2250e(0x165)](null,_0xcadc0e,_0xbf0814);return _0x177250[_0x2250e(0x134)]({'value':'','display':''}),_0x177250[_0x2250e(0x124)](_0xbb177c=>({'value':_0xbb177c[_0x2250e(0x145)],'display':_0xbb177c[_0x2250e(0x129)]}));}static async[a0_0x24e109(0x156)]({queryName:_0x43c762,codeField:_0x39f7e9=a0_0x24e109(0x145),dispField:_0x429dd3=a0_0x24e109(0x129),filters:_0x9b6fae=[],sorters:_0x5f449b=[]}){const _0x31f15d=a0_0x24e109;let _0x2fbeef='\x0a\x20\x20\x20\x20\x20\x20'+_0x39f7e9+'\x0a\x20\x20\x20\x20\x20\x20'+_0x429dd3+'\x0a\x20\x20\x20\x20',_0x256ada=await ServiceUtil['searchByPagination'](_0x43c762,_0x9b6fae,_0x5f449b,0x0,0x0,_0x2fbeef),_0x3d2a38=[{'value':'','display':''}];return _0x256ada['records'][_0x31f15d(0x133)](_0x49b431=>{const _0x5a5197=_0x31f15d;_0x3d2a38[_0x5a5197(0x137)]({'value':_0x49b431[_0x39f7e9],'display':_0x49b431[_0x429dd3]});}),_0x3d2a38;}static async['myDynamicMenus'](){const _0x1ad347=a0_0x24e109;let _0x20938d=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x20938d?ServiceUtil[_0x1ad347(0x13d)](_0x20938d):null;}static async['searchMenuGridPersnalTemplate'](_0x554a52){const _0x480d63=a0_0x24e109;let _0x1b0fec=[{'name':_0x480d63(0x144),'operator':'eq','value':_0x554a52}],_0x1547d1=await ServiceUtil[_0x480d63(0x103)](_0x480d63(0x12e),_0x1b0fec,[],0x0,0x0,_0x480d63(0x16a));return 0x0==_0x1547d1['total']?{}:{'id':_0x1547d1[_0x480d63(0x11e)][0x0]['id'],'template':JSON[_0x480d63(0x117)](_0x1547d1['records'][0x0][_0x480d63(0x16f)])};}static[a0_0x24e109(0x13d)](_0x3f9fdc){const _0x22dd2c=a0_0x24e109;let _0x5c0119=[];_0x3f9fdc[_0x22dd2c(0x133)](_0x16b85a=>{const _0x42cffc=_0x22dd2c;_0x5c0119['push'](_0x16b85a),_0x16b85a[_0x42cffc(0x135)]&&(_0x16b85a[_0x42cffc(0x135)][_0x42cffc(0x132)](function(_0x6ac7c2,_0x5ab912){const _0x4b8549=_0x42cffc;return _0x6ac7c2[_0x4b8549(0x106)]-_0x5ab912[_0x4b8549(0x106)];}),_0x16b85a[_0x42cffc(0x135)]['forEach'](_0x5352d0=>{const _0x205bfd=_0x42cffc;0x1!=_0x5352d0[_0x205bfd(0x127)]&&(_0x5352d0[_0x205bfd(0x139)]=_0x16b85a,_0x5c0119[_0x205bfd(0x137)](_0x5352d0));}));});let _0x18bf02=_0x5c0119[_0x22dd2c(0x124)](_0x3ef8fd=>{const _0x41ca92=_0x22dd2c;if('GROUP'==_0x3ef8fd[_0x41ca92(0x140)]||_0x41ca92(0x102)==_0x3ef8fd[_0x41ca92(0x140)]){let _0x462b02={'id':_0x3ef8fd['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x3ef8fd[_0x41ca92(0x145)]),'icon':_0x3ef8fd[_0x41ca92(0x17c)],'type':_0x41ca92(0x17f)==_0x3ef8fd[_0x41ca92(0x140)]?'group':'','menus':[]};return _0x3ef8fd[_0x41ca92(0x162)]&&(_0x462b02[_0x41ca92(0x148)]=_0x3ef8fd[_0x41ca92(0x162)]),_0x462b02;}return{'id':'0'};})[_0x22dd2c(0x173)](_0x466f77=>'0'!=_0x466f77['id']),_0x3fe9ea=_0x5c0119['map'](_0x23b31a=>{const _0x7981eb=_0x22dd2c;if('SCREEN'==_0x23b31a[_0x7981eb(0x140)]||_0x7981eb(0x11f)==_0x23b31a['menuType']){let _0x7638a8=_0x18bf02['find'](_0x5cbf98=>_0x5cbf98['id']==_0x23b31a[_0x7981eb(0x139)]['id']);if(_0x7638a8){let _0x5b90f8=TermsUtil[_0x7981eb(0x149)](_0x23b31a[_0x7981eb(0x145)]);return'SCREEN'==_0x23b31a[_0x7981eb(0x140)]&&_0x7638a8[_0x7981eb(0x142)][_0x7981eb(0x137)]({'id':_0x23b31a['id'],'name':_0x5b90f8,'path':_0x23b31a[_0x7981eb(0x162)],'icon':_0x23b31a[_0x7981eb(0x17c)]}),{'id':_0x23b31a['id'],'parent':!0x1,'parent_id':_0x7638a8['id'],'title':_0x5b90f8,'tagname':_0x23b31a['category'],'page':_0x23b31a['routing'],'template':_0x23b31a['resourceUrl'],'routing_type':_0x23b31a[_0x7981eb(0x130)]};}return{'id':'0'};}return _0x7981eb(0x10f)==_0x23b31a[_0x7981eb(0x140)]?{'id':_0x23b31a['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x23b31a[_0x7981eb(0x145)]),'tagname':_0x23b31a[_0x7981eb(0x182)],'page':_0x23b31a[_0x7981eb(0x162)],'template':_0x23b31a[_0x7981eb(0x136)],'routing_type':_0x23b31a['routingType']}:{'id':'0'};})['filter'](_0x376a5d=>null!=_0x376a5d&&'0'!=_0x376a5d['id']);_0x18bf02[_0x22dd2c(0x173)](_0x4f8eab=>'group'==_0x4f8eab[_0x22dd2c(0x141)]&&_0x4f8eab[_0x22dd2c(0x142)]&&_0x4f8eab[_0x22dd2c(0x142)][_0x22dd2c(0x11d)]>0x0)[_0x22dd2c(0x133)](_0x2898e3=>{const _0x487424=_0x22dd2c;let _0x2d6b79=_0x18bf02[_0x487424(0xff)](_0x58fa52=>_0x58fa52['id']==_0x2898e3['id'])+0x1;_0x18bf02[_0x487424(0x180)](_0x2d6b79,0x0,..._0x2898e3['menus']);});let _0x4180c6=0x0;return _0x18bf02[_0x22dd2c(0x133)](_0x29c544=>{const _0x2c0e3f=_0x22dd2c;'todo-list'==_0x29c544['path']?(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x131))),_0x29c544[_0x2c0e3f(0x16d)]=({path:_0x377cb3})=>/^activity\//['test'](_0x377cb3)):_0x2c0e3f(0x15b)==_0x29c544['path']?(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x171))),_0x29c544[_0x2c0e3f(0x16d)]=({path:_0x52cfe6})=>/^activity\//[_0x2c0e3f(0x121)](_0x52cfe6)):_0x2c0e3f(0x14e)==_0x29c544[_0x2c0e3f(0x148)]&&(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x12c))));}),_0x4180c6>0x0&&startSubscribeActivitySummary(),{'menus':_0x18bf02,'routes':_0x3fe9ea};}static async['searchMyDynamicMenus'](){const _0x4c40ab=a0_0x24e109;let _0x4ca0c9=await ServiceUtil[_0x4c40ab(0x103)]('menus',[{'name':_0x4c40ab(0x127),'operator':_0x4c40ab(0x172),'value':!0x0},{'name':_0x4c40ab(0x140),'operator':'in','value':[_0x4c40ab(0x10f),_0x4c40ab(0x102),_0x4c40ab(0x17f)]}],[{'name':_0x4c40ab(0x106)}],0x0,0x0,_0x4c40ab(0x15f));return _0x4ca0c9?_0x4ca0c9[_0x4c40ab(0x11e)]:[];}static async[a0_0x24e109(0x12a)](_0x2b2cf4){const _0x3e41c1=a0_0x24e109;if(_0x2b2cf4[_0x3e41c1(0x11a)]&&_0x2b2cf4[_0x3e41c1(0x11a)]['length']>0x0){let _0x5da2f3=_0x2b2cf4[_0x3e41c1(0x11a)][0x0],_0x5ad807=_0x5da2f3['message'],_0x5b6024=_0x5da2f3[_0x3e41c1(0x12f)];_0x5da2f3[_0x3e41c1(0x10b)]&&(_0x5b6024=_0x5da2f3[_0x3e41c1(0x10b)][_0x3e41c1(0xfd)]),await UiUtil['showAlertPopup'](_0x5b6024,_0x5ad807,'error',_0x3e41c1(0x167));}}static async[a0_0x24e109(0x175)](_0x2efe69){const _0x313e4c=a0_0x24e109;_0x2efe69&&(_0x2efe69[_0x313e4c(0x163)]&&_0x2efe69[_0x313e4c(0x163)][_0x313e4c(0x10e)]?await ServiceUtil[_0x313e4c(0x12a)](_0x2efe69[_0x313e4c(0x163)]['result']):await UiUtil['showAlertPopup'](_0x313e4c(0x181),_0x2efe69[_0x313e4c(0x12f)],_0x313e4c(0x152),_0x313e4c(0x167)));}static async['exportableData'](_0x3be6dd,_0x3312b8,_0x39a76d){const _0x546af5=a0_0x24e109;var _0x235465=_0x39a76d['_config'][_0x546af5(0x13b)][_0x546af5(0x173)](_0x3668d4=>'gutter'!==_0x3668d4[_0x546af5(0x141)]&&void 0x0!==_0x3668d4['record']&&void 0x0!==_0x3668d4['imex']&&!0x0!==_0x3668d4['hidden'])['map'](_0x10c8dc=>_0x10c8dc['imex']),_0x22fc7a=_0x39a76d[_0x546af5(0x12d)][_0x546af5(0x11e)]['map'](_0x1529be=>({..._0x39a76d[_0x546af5(0x128)]['columns']['filter'](_0x4b065f=>_0x546af5(0x115)!==_0x4b065f[_0x546af5(0x141)]&&void 0x0!==_0x4b065f['record']&&void 0x0!==_0x4b065f[_0x546af5(0x177)]&&!0x0!==_0x4b065f[_0x546af5(0x14b)])[_0x546af5(0x183)]((_0xa388f5,_0x47d690)=>(_0xa388f5[_0x47d690[_0x546af5(0x177)][_0x546af5(0x119)]]=_0x47d690[_0x546af5(0x177)][_0x546af5(0x119)]['split']('.')[_0x546af5(0x183)]((_0xddb2f4,_0x4e94d7)=>_0xddb2f4&&_0x546af5(0x153)!==_0xddb2f4[_0x4e94d7]?_0xddb2f4[_0x4e94d7]:void 0x0,_0x1529be),_0xa388f5),{})}));if(!_0x3be6dd)return{'header':_0x235465,'data':_0x22fc7a};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x546af5(0x157),'name':_0x3312b8,'data':{'header':_0x235465,'data':_0x22fc7a}}});}static async[a0_0x24e109(0x103)](_0x62b231,_0x25f15b,_0x462c4e,_0x4703e9,_0x1ddacd,_0x292ed6){const _0x5532d6=a0_0x24e109;try{const _0x4bf799=await client[_0x5532d6(0x151)]({'query':a0_0x515707`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x590b48}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x62b231}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x42fcec}
15
+ ${_0x292ed6}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x3ea3b1,'sortings':_0x13307d,'pagination':{'page':_0x1e408c,'limit':_0x389f0f}}});if(!_0x55e2a0[_0x3a10cf(0x155)])return{'records':_0x55e2a0[_0x3a10cf(0x180)][_0x590b48]['items'],'total':_0x55e2a0['data'][_0x590b48][_0x3a10cf(0x16e)]};ServiceUtil['showGraphqlErrorResponse'](_0x55e2a0);}catch(_0x4d43ff){ServiceUtil[_0x3a10cf(0x18e)](_0x4d43ff);}return null;}static async[a0_0x59df8b(0x151)](_0x5de2e0,_0x375e77,_0x45c6cc){const _0xad59e3=a0_0x59df8b;try{let _0x9ffe10=await client[_0xad59e3(0x170)]({'query':a0_0x5e2fc5`
20
+ `,'variables':{'filters':_0x25f15b,'sortings':_0x462c4e,'pagination':{'page':_0x4703e9,'limit':_0x1ddacd}}});if(!_0x4bf799[_0x5532d6(0x11a)])return{'records':_0x4bf799[_0x5532d6(0x12d)][_0x62b231][_0x5532d6(0x107)],'total':_0x4bf799[_0x5532d6(0x12d)][_0x62b231][_0x5532d6(0x16e)]};ServiceUtil['showGraphqlErrorResponse'](_0x4bf799);}catch(_0x1cc7d5){ServiceUtil['showGraphqlException'](_0x1cc7d5);}return null;}static async[a0_0x24e109(0x166)](_0x190402,_0x16b07c,_0x37e38a){const _0x55ce7e=a0_0x24e109;try{let _0x434d5e=await client[_0x55ce7e(0x151)]({'query':a0_0x515707`
21
21
  query ($id: String!) {
22
- ${_0x5de2e0}(id: $id) {
23
- ${_0x45c6cc}
22
+ ${_0x190402}(id: $id) {
23
+ ${_0x37e38a}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x375e77}});if(!_0x9ffe10[_0xad59e3(0x155)])return _0x9ffe10[_0xad59e3(0x180)][_0x5de2e0]||{};ServiceUtil[_0xad59e3(0x1a9)](_0x9ffe10);}catch(_0x14e519){ServiceUtil['showGraphqlException'](_0x14e519);}return null;}static[a0_0x59df8b(0x1ac)](_0x153cf3,_0x33081f){const _0x183e1e=a0_0x59df8b,_0xb1419f=_0x153cf3['selected'][_0x183e1e(0x1aa)](_0x57f834=>_0x57f834['id']);return ValueUtil['isEmpty'](_0xb1419f)&&0x1==_0x33081f&&UiUtil[_0x183e1e(0x15b)](_0x183e1e(0x19f),_0x183e1e(0x132),'info',_0x183e1e(0x181)),_0xb1419f;}static async[a0_0x59df8b(0x171)](_0x1adaaf,_0xee221c){const _0xa0e6ce=a0_0x59df8b;let _0x2662fb=ServiceUtil[_0xa0e6ce(0x1ac)](_0x1adaaf,!0x0);ValueUtil[_0xa0e6ce(0x12e)](_0x2662fb)&&(await ServiceUtil[_0xa0e6ce(0x14b)](_0x2662fb,_0xee221c)&&_0x1adaaf['fetch']());}static async[a0_0x59df8b(0x14b)](_0x2ca6ef,_0x1a39e9){const _0x28cfcc=a0_0x59df8b;if(!(await UiUtil[_0x28cfcc(0x15b)]('button.delete',_0x28cfcc(0x158),_0x28cfcc(0x15e),_0x28cfcc(0x19b),_0x28cfcc(0x199)))[_0x28cfcc(0x184)])return!0x1;try{const _0x55f149=await client[_0x28cfcc(0x170)]({'query':a0_0x5e2fc5`
26
+ `,'variables':{'id':_0x16b07c}});if(!_0x434d5e[_0x55ce7e(0x11a)])return _0x434d5e[_0x55ce7e(0x12d)][_0x190402]||{};ServiceUtil[_0x55ce7e(0x12a)](_0x434d5e);}catch(_0x39e94e){ServiceUtil[_0x55ce7e(0x175)](_0x39e94e);}return null;}static[a0_0x24e109(0x123)](_0x17f6b3,_0x530b68){const _0x13f99e=a0_0x24e109,_0x3606cc=_0x17f6b3[_0x13f99e(0x150)][_0x13f99e(0x124)](_0x2d5271=>_0x2d5271['id']);return ValueUtil[_0x13f99e(0x138)](_0x3606cc)&&0x1==_0x530b68&&UiUtil[_0x13f99e(0x16c)](_0x13f99e(0x113),_0x13f99e(0x17d),_0x13f99e(0x154),_0x13f99e(0x167)),_0x3606cc;}static async[a0_0x24e109(0x168)](_0x8bde75,_0x2aeb78){const _0x5a90f0=a0_0x24e109;let _0x1405be=ServiceUtil[_0x5a90f0(0x123)](_0x8bde75,!0x0);ValueUtil[_0x5a90f0(0x118)](_0x1405be)&&(await ServiceUtil[_0x5a90f0(0x184)](_0x1405be,_0x2aeb78)&&_0x8bde75['fetch']());}static async['deleteListByIds'](_0x62bd96,_0x4a8d15){const _0xea396c=a0_0x24e109;if(!(await UiUtil['showAlertPopup'](_0xea396c(0x13e),_0xea396c(0x11b),_0xea396c(0x120),_0xea396c(0x179),'cancel'))['value'])return!0x1;try{const _0xfff8c=await client[_0xea396c(0x151)]({'query':a0_0x515707`
27
27
  mutation {
28
- ${_0x1a39e9}(${gqlBuilder[_0x28cfcc(0x13f)]({'ids':_0x2ca6ef})})
28
+ ${_0x4a8d15}(${gqlBuilder[_0xea396c(0x14c)]({'ids':_0x62bd96})})
29
29
  }
30
- `});if(!_0x55f149['errors'])return UiUtil['showToast']('info',TermsUtil['tText'](_0x28cfcc(0x148))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x55f149);}catch(_0x1b5443){ServiceUtil[_0x28cfcc(0x18e)](_0x1b5443);}return!0x1;}static async[a0_0x59df8b(0x169)](_0x6c55df,_0x50849f){const _0x18d6a1=a0_0x59df8b;let _0x1fd933=ServiceUtil['patchesForUpdateMultiple'](_0x6c55df);if(ValueUtil[_0x18d6a1(0x12e)](_0x1fd933)){let _0x468a44=await ServiceUtil[_0x18d6a1(0x18f)](_0x50849f,_0x1fd933);if(_0x468a44)return _0x6c55df[_0x18d6a1(0x14f)](),_0x468a44;}return!0x1;}static async['updateMultiple'](_0x443ac4,_0x1d47a9){const _0x14fa57=a0_0x59df8b;try{const _0x81451c=await client[_0x14fa57(0x170)]({'query':a0_0x5e2fc5`
30
+ `});if(!_0xfff8c[_0xea396c(0x11a)])return UiUtil[_0xea396c(0x104)](_0xea396c(0x154),TermsUtil['tText'](_0xea396c(0x146))),!0x0;ServiceUtil[_0xea396c(0x12a)](_0xfff8c);}catch(_0x1265a4){ServiceUtil['showGraphqlException'](_0x1265a4);}return!0x1;}static async[a0_0x24e109(0x170)](_0x364c1c,_0x5012b0){const _0x5afad0=a0_0x24e109;let _0xc36940=ServiceUtil[_0x5afad0(0x178)](_0x364c1c);if(ValueUtil['isNotEmpty'](_0xc36940)){let _0x45daf=await ServiceUtil['updateMultiple'](_0x5012b0,_0xc36940);if(_0x45daf)return _0x364c1c[_0x5afad0(0x160)](),_0x45daf;}return!0x1;}static async[a0_0x24e109(0x13a)](_0x279f2b,_0x33f70f){const _0x1238f0=a0_0x24e109;try{const _0x5d02ab=await client[_0x1238f0(0x151)]({'query':a0_0x515707`
31
31
  mutation {
32
- ${_0x443ac4}(${gqlBuilder['buildArgs']({'patches':_0x1d47a9})}) {
32
+ ${_0x279f2b}(${gqlBuilder[_0x1238f0(0x14c)]({'patches':_0x33f70f})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x81451c[_0x14fa57(0x155)])return UiUtil[_0x14fa57(0x17f)]('info',TermsUtil[_0x14fa57(0x176)]('success\x20to\x20save')),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x81451c);}catch(_0x207fe5){ServiceUtil[_0x14fa57(0x18e)](_0x207fe5);}return!0x1;}static[a0_0x59df8b(0x13b)](_0x17920e,_0x550d78=!0x1){const _0x4a042c=a0_0x59df8b;let _0x421630=_0x17920e[_0x4a042c(0x182)];if(_0x421630&&0x0!=_0x421630[_0x4a042c(0x17b)])return _0x421630[_0x4a042c(0x1aa)](_0x888218=>{const _0x51175a=_0x4a042c;let _0x3c2167=_0x888218['id']?{'id':_0x888218['id']}:{};for(let _0x242532 in _0x888218)[_0x51175a(0x12f),_0x51175a(0x196),_0x51175a(0x168),_0x51175a(0x177),_0x51175a(0x188),_0x51175a(0x152),_0x51175a(0x15f),_0x51175a(0x16f),_0x51175a(0x192)]['includes'](_0x242532)||(_0x888218[_0x242532]&&_0x51175a(0x18d)==typeof _0x888218[_0x242532]&&0x0==_0x550d78?_0x3c2167[_0x242532]={'id':_0x888218[_0x242532]['id']}:_0x3c2167[_0x242532]=_0x888218[_0x242532]);return _0x3c2167['cuFlag']=_0x888218['__dirty__'],_0x3c2167;});UiUtil[_0x4a042c(0x15b)](_0x4a042c(0x186),_0x4a042c(0x167),'info',_0x4a042c(0x181));}static async['callScenario'](_0x352236,_0x3c2ab8,_0x31aac3,_0x198201=!0x0){const _0x1bebe8=a0_0x59df8b;let _0x9ba7d7=!0x0;_0x352236&&!0x0===_0x198201&&(_0x9ba7d7=(await UiUtil[_0x1bebe8(0x15b)](_0x1bebe8(0x193)+_0x352236,'text.are_you_sure',_0x1bebe8(0x15e),_0x1bebe8(0x181),_0x1bebe8(0x199)))['value']);if(_0x9ba7d7)try{const _0x9b7313=await client[_0x1bebe8(0x170)]({'query':a0_0x5e2fc5`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x5d02ab[_0x1238f0(0x11a)])return UiUtil['showToast'](_0x1238f0(0x154),TermsUtil[_0x1238f0(0x176)](_0x1238f0(0x110))),!0x0;ServiceUtil[_0x1238f0(0x12a)](_0x5d02ab);}catch(_0x3e893b){ServiceUtil[_0x1238f0(0x175)](_0x3e893b);}return!0x1;}static['patchesForUpdateMultiple'](_0x2aadc0,_0x5aea2=!0x1){const _0x70e35d=a0_0x24e109;let _0x1195b6=_0x2aadc0[_0x70e35d(0x125)];if(_0x1195b6&&0x0!=_0x1195b6[_0x70e35d(0x11d)])return _0x1195b6[_0x70e35d(0x124)](_0x42bb60=>{const _0x12e840=_0x70e35d;let _0xe54fa2=_0x42bb60['id']?{'id':_0x42bb60['id']}:{};for(let _0x3a7c56 in _0x42bb60)[_0x12e840(0x11c),'updater',_0x12e840(0x147),_0x12e840(0x13f),_0x12e840(0x14d),_0x12e840(0x15d),'__origin__',_0x12e840(0x14a),_0x12e840(0x159)][_0x12e840(0x116)](_0x3a7c56)||(_0x42bb60[_0x3a7c56]&&_0x12e840(0x15e)==typeof _0x42bb60[_0x3a7c56]&&0x0==_0x5aea2?_0xe54fa2[_0x3a7c56]={'id':_0x42bb60[_0x3a7c56]['id']}:_0xe54fa2[_0x3a7c56]=_0x42bb60[_0x3a7c56]);return _0xe54fa2[_0x12e840(0x15a)]=_0x42bb60[_0x12e840(0x14d)],_0xe54fa2;});UiUtil['showAlertPopup'](_0x70e35d(0x114),_0x70e35d(0x12b),_0x70e35d(0x154),_0x70e35d(0x167));}static async[a0_0x24e109(0x165)](_0x4e9918,_0x465a92,_0x1b1906,_0x4642fd=!0x0){const _0x54d240=a0_0x24e109;let _0x4623e3=!0x0;_0x4e9918&&!0x0===_0x4642fd&&(_0x4623e3=(await UiUtil['showAlertPopup'](_0x54d240(0x105)+_0x4e9918,_0x54d240(0x11b),_0x54d240(0x120),_0x54d240(0x167),_0x54d240(0x126)))[_0x54d240(0x13c)]);if(_0x4623e3)try{const _0x5616f9=await client['query']({'query':a0_0x515707`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x59df8b=a0_0x525c;(function(_0x57422f,_0xb18fb2){const _0xd44a4a=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x3c2ab8,'variables':_0x31aac3}});if(_0x9b7313[_0x1bebe8(0x155)])ServiceUtil[_0x1bebe8(0x1a9)](_0x9b7313);else{if(this[_0x1bebe8(0x15a)](_0x9b7313))return!0x0===_0x198201&&UiUtil['showToast'](_0x1bebe8(0x143),TermsUtil['tText'](_0x1bebe8(0x145))),_0x9b7313;}}catch(_0x5cef2c){ServiceUtil['showGraphqlException'](_0x5cef2c);}return!0x1;}static[a0_0x59df8b(0x15a)](_0x303962){const _0x10ed9c=a0_0x59df8b;if(_0x303962&&_0x303962[_0x10ed9c(0x180)]&&_0x303962[_0x10ed9c(0x180)]['runScenario']&&_0x303962[_0x10ed9c(0x180)][_0x10ed9c(0x1a4)]['data']&&_0x303962[_0x10ed9c(0x180)][_0x10ed9c(0x1a4)]['data'][_0x10ed9c(0x1a3)]){let _0x54577c=_0x303962[_0x10ed9c(0x180)]['runScenario'][_0x10ed9c(0x180)][_0x10ed9c(0x1a3)];return UiUtil[_0x10ed9c(0x15b)](_0x54577c[_0x10ed9c(0x13c)],_0x54577c[_0x10ed9c(0x18b)],_0x10ed9c(0x1a3),'confirm'),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x465a92,'variables':_0x1b1906}});if(_0x5616f9[_0x54d240(0x11a)])ServiceUtil[_0x54d240(0x12a)](_0x5616f9);else{if(this[_0x54d240(0x158)](_0x5616f9))return!0x0===_0x4642fd&&UiUtil['showToast'](_0x54d240(0x154),TermsUtil[_0x54d240(0x176)](_0x54d240(0x100))),_0x5616f9;}}catch(_0x3ce18a){ServiceUtil[_0x54d240(0x175)](_0x3ce18a);}return!0x1;}static['checkClientError'](_0x5c39e2){const _0x438049=a0_0x24e109;if(_0x5c39e2&&_0x5c39e2['data']&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)]&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)][_0x438049(0x12d)]&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)]['data']['error']){let _0x2b28d3=_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)][_0x438049(0x12d)][_0x438049(0x152)];return UiUtil[_0x438049(0x16c)](_0x2b28d3[_0x438049(0x14f)],_0x2b28d3[_0x438049(0x12f)],_0x438049(0x152),_0x438049(0x167)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x170fbe=a0_0x24a3;(function(_0x5eaa77,_0x49ca0c){const _0x45256a=a0_0x24a3,_0x54b3d9=_0x5eaa77();while(!![]){try{const _0x124771=-parseInt(_0x45256a(0x95))/0x1+-parseInt(_0x45256a(0x87))/0x2+-parseInt(_0x45256a(0x85))/0x3+-parseInt(_0x45256a(0x84))/0x4+parseInt(_0x45256a(0x96))/0x5*(-parseInt(_0x45256a(0x7a))/0x6)+parseInt(_0x45256a(0x73))/0x7*(-parseInt(_0x45256a(0x7b))/0x8)+parseInt(_0x45256a(0x8e))/0x9;if(_0x124771===_0x49ca0c)break;else _0x54b3d9['push'](_0x54b3d9['shift']());}catch(_0x541514){_0x54b3d9['push'](_0x54b3d9['shift']());}}}(a0_0x4585,0x33c55));import a0_0x56eb63 from'graphql-tag';function a0_0x4585(){const _0x494d4d=['tLabel','tMenu','data','label','records','tField','category','keys','510308uECiCG','59361EOkiIq','replace','255848SkfSyR','field','tTitle','query','text','title','forEach','12391857oVPEoC','translate','name','length','terminologies','menu','fetchTerminologies','117786GkeiuI','115HNukwo','553pMUdQF','errors','error','tText','downloadTerminologies','display','META_TERMS','102630FuqBuz','38312nikGPP'];a0_0x4585=function(){return _0x494d4d;};return a0_0x4585();}function a0_0x24a3(_0x5a7759,_0x2f360f){const _0x458590=a0_0x4585();return a0_0x24a3=function(_0x24a31d,_0x3c5790){_0x24a31d=_0x24a31d-0x73;let _0x345f40=_0x458590[_0x24a31d];return _0x345f40;},a0_0x24a3(_0x5a7759,_0x2f360f);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x170fbe(0x79)]=null;static async[a0_0x170fbe(0x77)](_0x3834e9){const _0x14d732=a0_0x170fbe;let _0x4da1ec=(await TermsUtil['fetchTerminologies'](_0x3834e9))[_0x14d732(0x80)];_0x4da1ec&&_0x4da1ec[_0x14d732(0x91)]>0x0&&(this['META_TERMS']={},_0x4da1ec[_0x14d732(0x8d)](_0x22576c=>{const _0x3bef00=_0x14d732;let _0x32bae2=_0x22576c[_0x3bef00(0x82)]+'.'+_0x22576c['name'];this['META_TERMS'][_0x32bae2]=_0x22576c[_0x3bef00(0x78)];}));}static async[a0_0x170fbe(0x94)](_0x41d1f9){const _0x4824e2=a0_0x170fbe;let _0x47908f=[{'name':'locale','operator':'eq','value':_0x41d1f9}];const _0x15471b=await client[_0x4824e2(0x8a)]({'query':a0_0x56eb63`
1
+ function a0_0xab46(){const _0x174996=['translate','tTitle','1245235RnBGUm','keys','5297922rdHYSP','total','text','51743750gwwHdu','4115cnVTok','label','tError','334575JUkbDf','data','tField','downloadTerminologies','11566872nZxpQa','1300mXDmGH','query','22FBljYU','category','forEach','error','terminologies','7LAyUaj','field','replace','META_TERMS','locale','10038920YSACPi','name','fetchTerminologies','tText','display','errors'];a0_0xab46=function(){return _0x174996;};return a0_0xab46();}const a0_0x289465=a0_0x3ce2;(function(_0xe54a6,_0x14260b){const _0x36452a=a0_0x3ce2,_0x59aa9d=_0xe54a6();while(!![]){try{const _0x4044a4=-parseInt(_0x36452a(0xc4))/0x1+-parseInt(_0x36452a(0xd4))/0x2*(parseInt(_0x36452a(0xcd))/0x3)+parseInt(_0x36452a(0xd2))/0x4*(-parseInt(_0x36452a(0xca))/0x5)+parseInt(_0x36452a(0xc6))/0x6+parseInt(_0x36452a(0xb7))/0x7*(-parseInt(_0x36452a(0xbc))/0x8)+-parseInt(_0x36452a(0xd1))/0x9+parseInt(_0x36452a(0xc9))/0xa;if(_0x4044a4===_0x14260b)break;else _0x59aa9d['push'](_0x59aa9d['shift']());}catch(_0x2bc1b3){_0x59aa9d['push'](_0x59aa9d['shift']());}}}(a0_0xab46,0xbde4c));import a0_0x22a4ed from'graphql-tag';function a0_0x3ce2(_0x4869bc,_0x112f18){const _0xab46cf=a0_0xab46();return a0_0x3ce2=function(_0x3ce2c6,_0x117dc9){_0x3ce2c6=_0x3ce2c6-0xb4;let _0x5be553=_0xab46cf[_0x3ce2c6];return _0x5be553;},a0_0x3ce2(_0x4869bc,_0x112f18);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x289465(0xba)]=null;static async[a0_0x289465(0xd0)](_0x1098c3){const _0x22d17c=a0_0x289465;let _0x260f38=(await TermsUtil[_0x22d17c(0xbe)](_0x1098c3))['records'];_0x260f38&&_0x260f38['length']>0x0&&(this[_0x22d17c(0xba)]={},_0x260f38[_0x22d17c(0xb4)](_0x1697fd=>{const _0x44455f=_0x22d17c;let _0x2f0b7f=_0x1697fd[_0x44455f(0xd5)]+'.'+_0x1697fd[_0x44455f(0xbd)];this['META_TERMS'][_0x2f0b7f]=_0x1697fd[_0x44455f(0xc0)];}));}static async[a0_0x289465(0xbe)](_0x5403d3){const _0x21105c=a0_0x289465;let _0x53d42e=[{'name':_0x21105c(0xbb),'operator':'eq','value':_0x5403d3}];const _0x51ac09=await client[_0x21105c(0xd3)]({'query':a0_0x22a4ed`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ const a0_0x170fbe=a0_0x24a3;(function(_0x5eaa77,_0x49ca0c){const _0x45256a=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x47908f,'sortings':[{'name':_0x4824e2(0x82)},{'name':_0x4824e2(0x90)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x15471b[_0x4824e2(0x74)])return{'records':_0x15471b[_0x4824e2(0x7e)]['terminologies']['items']||[],'total':_0x15471b[_0x4824e2(0x7e)][_0x4824e2(0x92)]['total']||0x0};}static[a0_0x170fbe(0x7c)](_0x176780,_0x2659ac){const _0xf6adb1=a0_0x170fbe;let _0x15de61=TermsUtil[_0xf6adb1(0x8f)](_0xf6adb1(0x7f),_0x176780,_0x2659ac,null);return _0x15de61||TermsUtil[_0xf6adb1(0x8f)](_0xf6adb1(0x88),_0x176780,_0x2659ac,_0x176780);}static[a0_0x170fbe(0x81)](_0x3cbb24,_0x5bf90d){const _0x56ca3d=a0_0x170fbe;let _0x2df052=TermsUtil['translate']('field',_0x3cbb24,_0x5bf90d,null);return _0x2df052||TermsUtil[_0x56ca3d(0x8f)](_0x56ca3d(0x88),_0x3cbb24,_0x5bf90d,_0x3cbb24);}static['tButton'](_0x5d72a6){const _0x172f91=a0_0x170fbe;return TermsUtil[_0x172f91(0x8f)]('button',_0x5d72a6,null,_0x5d72a6);}static[a0_0x170fbe(0x89)](_0x7ee70,_0x570ff1){const _0x38473d=a0_0x170fbe;let _0x469745=TermsUtil[_0x38473d(0x8f)](_0x38473d(0x8c),_0x7ee70,_0x570ff1,null);return _0x469745||TermsUtil['translate'](_0x38473d(0x93),_0x7ee70,_0x570ff1,_0x7ee70);}static[a0_0x170fbe(0x7d)](_0x1492ca){const _0x5a191c=a0_0x170fbe;let _0x4afdfc=TermsUtil[_0x5a191c(0x8f)]('menu',_0x1492ca,null,_0x1492ca);return _0x4afdfc||TermsUtil[_0x5a191c(0x8f)](_0x5a191c(0x8c),_0x1492ca,null,_0x1492ca);}static[a0_0x170fbe(0x76)](_0x3c80e4,_0x3b03c7){const _0x2983f6=a0_0x170fbe;return TermsUtil[_0x2983f6(0x8f)](_0x2983f6(0x8b),_0x3c80e4,_0x3b03c7,_0x3c80e4);}static['tError'](_0x49c433,_0x51ca10){const _0x3fdf6d=a0_0x170fbe;return TermsUtil[_0x3fdf6d(0x8f)](_0x3fdf6d(0x75),_0x49c433,_0x51ca10,_0x49c433);}static['translate'](_0x26b71b,_0xb4b786,_0x116a8a,_0x159937){let _0x4b4f27=_0x26b71b+'.'+_0xb4b786;return TermsUtil['t'](_0x4b4f27,_0x116a8a,_0x159937);}static['t'](_0x5760d,_0x1fe965,_0x18b346){const _0x2b147f=a0_0x170fbe;let _0x3e7067=this[_0x2b147f(0x79)]?this[_0x2b147f(0x79)][_0x5760d]:null;return _0x3e7067=_0x3e7067||i18next['t'](_0x5760d),_0x3e7067&&_0x5760d!=_0x3e7067?(_0x1fe965&&Object[_0x2b147f(0x83)](_0x1fe965)[_0x2b147f(0x8d)](function(_0x47c882){const _0x47c3e0=_0x2b147f;var _0x27daaa='\x5c{'+_0x47c882['replace'](/\$/,'\x5c$')+'\x5c}',_0x3bdb1b=new RegExp(_0x27daaa,'gi');_0x3e7067=_0x3e7067[_0x47c3e0(0x86)](_0x3bdb1b,_0x1fe965[_0x47c882]);}),_0x3e7067):_0x18b346;}}
14
+ `,'variables':{'filters':_0x53d42e,'sortings':[{'name':'category'},{'name':_0x21105c(0xbd)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x51ac09[_0x21105c(0xc1)])return{'records':_0x51ac09['data']['terminologies']['items']||[],'total':_0x51ac09[_0x21105c(0xce)][_0x21105c(0xb6)][_0x21105c(0xc7)]||0x0};}static['tLabel'](_0x5df706,_0x24e917){const _0x4694ac=a0_0x289465;let _0x2d6cee=TermsUtil['translate'](_0x4694ac(0xcb),_0x5df706,_0x24e917,null);return _0x2d6cee||TermsUtil[_0x4694ac(0xc2)](_0x4694ac(0xb8),_0x5df706,_0x24e917,_0x5df706);}static[a0_0x289465(0xcf)](_0x3b9498,_0x531b96){const _0x27e16d=a0_0x289465;let _0x4e43f0=TermsUtil['translate'](_0x27e16d(0xb8),_0x3b9498,_0x531b96,null);return _0x4e43f0||TermsUtil[_0x27e16d(0xc2)](_0x27e16d(0xb8),_0x3b9498,_0x531b96,_0x3b9498);}static['tButton'](_0x14120b){const _0x56a526=a0_0x289465;return TermsUtil[_0x56a526(0xc2)]('button',_0x14120b,null,_0x14120b);}static[a0_0x289465(0xc3)](_0x2ecd1f,_0x56e6a0){const _0x1c6a4a=a0_0x289465;let _0x282fef=TermsUtil['translate']('title',_0x2ecd1f,_0x56e6a0,null);return _0x282fef||TermsUtil[_0x1c6a4a(0xc2)]('menu',_0x2ecd1f,_0x56e6a0,_0x2ecd1f);}static['tMenu'](_0x379cbd){const _0x437904=a0_0x289465;let _0x4a04e9=TermsUtil['translate']('menu',_0x379cbd,null,_0x379cbd);return _0x4a04e9||TermsUtil[_0x437904(0xc2)]('title',_0x379cbd,null,_0x379cbd);}static[a0_0x289465(0xbf)](_0x27720b,_0x3cdc0a){const _0x15f4fe=a0_0x289465;return TermsUtil['translate'](_0x15f4fe(0xc8),_0x27720b,_0x3cdc0a,_0x27720b);}static[a0_0x289465(0xcc)](_0x1b644f,_0xf7b982){const _0x4c74b7=a0_0x289465;return TermsUtil[_0x4c74b7(0xc2)](_0x4c74b7(0xb5),_0x1b644f,_0xf7b982,_0x1b644f);}static[a0_0x289465(0xc2)](_0x356372,_0x5de5e1,_0x5d22f2,_0x13c89d){let _0x324a17=_0x356372+'.'+_0x5de5e1;return TermsUtil['t'](_0x324a17,_0x5d22f2,_0x13c89d);}static['t'](_0x1f2ff9,_0x580cd0,_0x5b9c96){const _0x35718e=a0_0x289465;let _0x2c1188=this[_0x35718e(0xba)]?this['META_TERMS'][_0x1f2ff9]:null;return _0x2c1188=_0x2c1188||i18next['t'](_0x1f2ff9),_0x2c1188&&_0x1f2ff9!=_0x2c1188?(_0x580cd0&&Object[_0x35718e(0xc5)](_0x580cd0)[_0x35718e(0xb4)](function(_0x40443e){const _0x46ecaa=_0x35718e;var _0x2036ff='\x5c{'+_0x40443e[_0x46ecaa(0xb9)](/\$/,'\x5c$')+'\x5c}',_0x387bef=new RegExp(_0x2036ff,'gi');_0x2c1188=_0x2c1188[_0x46ecaa(0xb9)](_0x387bef,_0x580cd0[_0x40443e]);}),_0x2c1188):_0x5b9c96;}}
@@ -1 +1 @@
1
- const a0_0x3f0f48=a0_0x79a5;function a0_0x2ea2(){const _0x3fb1bf=['cookie','setValueToEditor','split','622952fMKQgg','isMobileEnv','modules','8kafLOV','6yOBMmJ','config','barcode','confirmButton','3749931LSqCUf','content','getType','3160367QpTCTm','\x27></','replace','textarea','366297VkCQUA','code-editor','parent_field','removeChild','i18next=','size','2EMSGMz','ko-KR','createCustomElement','2943445APFXyU','select-combo','\x27\x20\x20parent_id=\x27','ox-select','value','renderRoot','\x27\x20is_popup=true></','input','getLeafInput','pass=','tagname','filters','length','onclosed','openDynamicPopup','getParams','popup_field','template','isNotEmpty','firstElementChild','tButton','name','ox-input-barcode','pageNavigate','htmlToElement','getApplicationModuleInfo','menu','createElement','createEditorHtml','1606722ogmGVm','querySelector','7465250lZnrsg','stringify','fireCustomEvent','getState','innerHTML','dispatchEvent','i18next','indexOf','childNodes','ox-input-code','substring','openPopupByElement'];a0_0x2ea2=function(){return _0x3fb1bf;};return a0_0x2ea2();}function a0_0x79a5(_0x1c5391,_0x2b638a){const _0x2ea274=a0_0x2ea2();return a0_0x79a5=function(_0x79a55,_0x4fb2ab){_0x79a55=_0x79a55-0xec;let _0x4bceff=_0x2ea274[_0x79a55];return _0x4bceff;},a0_0x79a5(_0x1c5391,_0x2b638a);}(function(_0x446a09,_0x4819ab){const _0x35dd13=a0_0x79a5,_0x3ee714=_0x446a09();while(!![]){try{const _0x5bd238=-parseInt(_0x35dd13(0xfc))/0x1*(-parseInt(_0x35dd13(0x102))/0x2)+parseInt(_0x35dd13(0x122))/0x3+parseInt(_0x35dd13(0xed))/0x4+parseInt(_0x35dd13(0x105))/0x5*(-parseInt(_0x35dd13(0xf1))/0x6)+-parseInt(_0x35dd13(0xf8))/0x7*(parseInt(_0x35dd13(0xf0))/0x8)+-parseInt(_0x35dd13(0xf5))/0x9+parseInt(_0x35dd13(0x124))/0xa;if(_0x5bd238===_0x4819ab)break;else _0x3ee714['push'](_0x3ee714['shift']());}catch(_0x5371bf){_0x3ee714['push'](_0x3ee714['shift']());}}}(a0_0x2ea2,0x54ca9));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x3f0f48(0xee)](){return isMobileDevice();}static['currentLocale'](){const _0x35e5c1=a0_0x3f0f48;let _0x15a0bf=document[_0x35e5c1(0x130)];return _0x15a0bf=_0x15a0bf[_0x35e5c1(0x12e)](_0x15a0bf[_0x35e5c1(0x12b)](_0x35e5c1(0x12a))),_0x15a0bf['indexOf'](';')>-0x1&&(_0x15a0bf=_0x15a0bf['substring'](0x0,_0x15a0bf['indexOf'](';'))),_0x15a0bf=_0x15a0bf[_0x35e5c1(0xfa)](_0x35e5c1(0x100),''),'ko'==_0x15a0bf?_0x35e5c1(0x103):_0x15a0bf;}static[a0_0x3f0f48(0x11e)](){const _0x2d767a=a0_0x3f0f48;let _0x127df9=store[_0x2d767a(0x127)]()['app'][_0x2d767a(0xef)];return _0x127df9[_0x127df9[_0x2d767a(0x111)]-0x1];}static['currentRouting'](){const _0x3c5083=a0_0x3f0f48;return store[_0x3c5083(0x127)]()['route']['page'];}static[a0_0x3f0f48(0x12f)](_0x1d3d1a,_0x1fd8ce,_0x175650,_0x50676a){return openPopup(_0x175650,{'backdrop':!0x0,'size':_0x1fd8ce,'title':_0x1d3d1a,'backdrop':_0x50676a});}static async[a0_0x3f0f48(0x113)](_0x298224,_0x23123d,_0x10b9a5,_0x544db1){const _0xc8f3e=a0_0x3f0f48;let _0x3b596a=ValueUtil[_0xc8f3e(0x117)](_0x23123d['parent_field'])?ValueUtil[_0xc8f3e(0x114)](_0x10b9a5,..._0x23123d[_0xc8f3e(0xfe)][_0xc8f3e(0xec)]('.')):void 0x0,_0x107e5c='<'+_0x23123d[_0xc8f3e(0x10f)]+'\x20route_name=\x27'+_0x23123d[_0xc8f3e(0x11f)]+_0xc8f3e(0x107)+_0x3b596a+_0xc8f3e(0x10b)+_0x23123d['tagname']+'>',_0x38c168=UiUtil[_0xc8f3e(0x11d)](_0x107e5c);_0x38c168[_0xc8f3e(0xf2)]=_0x23123d,ValueUtil[_0xc8f3e(0x117)](_0x23123d[_0xc8f3e(0x115)])&&(_0x38c168[_0x23123d['popup_field']]=_0x10b9a5);let _0x307ceb=UiUtil[_0xc8f3e(0x12f)](_0x298224,_0x23123d[_0xc8f3e(0x101)],_0x38c168,!0x0);_0x544db1&&(_0x307ceb[_0xc8f3e(0x112)]=_0x544db1);}static[a0_0x3f0f48(0x104)](_0x4b6d99,_0x137aeb){const _0x211323=a0_0x3f0f48;let _0x3206cc='<'+_0x4b6d99+'\x20route_name=\x27'+_0x137aeb+_0x211323(0xf9)+_0x4b6d99+'>';return UiUtil[_0x211323(0x11d)](_0x3206cc);}static[a0_0x3f0f48(0x11d)](_0x3f90df){const _0xb85e08=a0_0x3f0f48;var _0x52daff=document[_0xb85e08(0x120)](_0xb85e08(0x116));_0x52daff[_0xb85e08(0x128)]=_0x3f90df;var _0x5e2de6=_0x52daff[_0xb85e08(0xf6)][_0xb85e08(0x12c)][0x0];return _0x52daff[_0xb85e08(0xf6)][_0xb85e08(0xff)](_0x5e2de6),_0x5e2de6;}static[a0_0x3f0f48(0x11c)](_0xd56a82,_0x2a276a){const _0x118476=a0_0x3f0f48;let _0x20afd4=_0x2a276a?'?':'';_0x2a276a&&(_0x20afd4+=_0x118476(0x10e)+JSON[_0x118476(0x125)](_0x2a276a)),navigate(''+_0xd56a82+_0x20afd4);}static['getStore'](_0x2440a5,_0x2c2e1e,_0x164d6e){const _0xe46b92=a0_0x3f0f48;let _0x24f063=_0x24f063[_0xe46b92(0x127)]();return _0x2440a5&&_0x2c2e1e&&_0x164d6e?_0x24f063[_0x2440a5][_0x2c2e1e][_0x164d6e]:_0x2440a5&&_0x2c2e1e?_0x24f063[_0x2440a5][_0x2c2e1e]:_0x2440a5?_0x24f063[_0x2440a5]:_0x24f063;}static[a0_0x3f0f48(0x126)](_0x437f6e,_0x4534ee){const _0xfe9847=a0_0x3f0f48;document[_0xfe9847(0x129)](new CustomEvent(_0x437f6e,{'detail':_0x4534ee}));}static['showToast'](_0x222d75,_0x322a79){const _0x30b86d=a0_0x3f0f48;document[_0x30b86d(0x129)](new CustomEvent('notify',{'detail':{'type':_0x222d75,'message':_0x322a79}}));}static async['showAlertPopup'](_0x173659,_0x3deb4f,_0x566ac2,_0x378f2d,_0x4a5193){const _0xef361f=a0_0x3f0f48;let _0x5c738d={'title':TermsUtil['t'](_0x173659)||_0x173659,'text':TermsUtil['t'](_0x3deb4f)||_0x3deb4f};return _0x566ac2&&(_0x5c738d['type']=_0x566ac2),_0x378f2d&&(_0x5c738d[_0xef361f(0xf4)]=TermsUtil[_0xef361f(0x119)](_0x378f2d)),_0x4a5193&&(_0x5c738d['cancelButton']=TermsUtil['tButton'](_0x4a5193)),await CustomAlert(_0x5c738d);}static['getFilterFormData'](_0x321db0){const _0x27abd7=a0_0x3f0f48;if(ValueUtil[_0x27abd7(0x117)](_0x321db0)){let _0x29f31c=_0x321db0[_0x27abd7(0x110)]();ValueUtil[_0x27abd7(0x117)](_0x29f31c)&&_0x29f31c['forEach'](_0x3e713f=>{const _0x2455b6=_0x27abd7;ValueUtil[_0x2455b6(0x117)](_0x3e713f['value'])&&(item[_0x3e713f[_0x2455b6(0x11a)]]=_0x3e713f[_0x2455b6(0x109)]?_0x3e713f[_0x2455b6(0x109)]:null);});}return{};}static['setSearchFormEditorValue'](_0x13aa82,_0x57279f,_0x2332b7){const _0x410da9=a0_0x3f0f48;if(ValueUtil[_0x410da9(0x117)](_0x13aa82)){let _0x3dedf1=_0x13aa82[_0x410da9(0x10a)]?.[_0x410da9(0x123)]('[name=\x27'+_0x57279f+'\x27]');ValueUtil[_0x410da9(0x117)](_0x3dedf1)&&(_0x3dedf1[_0x410da9(0x109)]=_0x2332b7);}}static[a0_0x3f0f48(0x121)](_0x4c550d,_0x277d53,_0x348cd1,_0x5b843a){return getEditor(_0x4c550d)('',_0x277d53,_0x348cd1,_0x5b843a,{});}static[a0_0x3f0f48(0x131)](_0xd6756,_0x1600cc){const _0x2de795=a0_0x3f0f48;UiUtil[_0x2de795(0x10d)](_0xd6756)['value']=_0x1600cc;}static[a0_0x3f0f48(0x10d)](_0x9ad35){const _0x15b747=a0_0x3f0f48;let _0x12ceaa=_0x9ad35[_0x15b747(0xf7)]();return _0x15b747(0xfd)==_0x12ceaa?_0x9ad35[_0x15b747(0x10a)][_0x15b747(0x123)](_0x15b747(0x12d)):_0x15b747(0xfb)==_0x12ceaa?_0x9ad35[_0x15b747(0x10a)][_0x15b747(0x123)](_0x15b747(0xfb)):_0x15b747(0x106)==_0x12ceaa?_0x9ad35[_0x15b747(0x10a)][_0x15b747(0x123)](_0x15b747(0x108))[_0x15b747(0x118)]:_0x15b747(0xf3)==_0x12ceaa?_0x9ad35[_0x15b747(0x10a)]['querySelector'](_0x15b747(0x11b))[_0x15b747(0x10a)][_0x15b747(0x123)](_0x15b747(0x10c)):_0x9ad35[_0x15b747(0x10a)][_0x15b747(0x118)]['editor'];}}
1
+ const a0_0x582bbf=a0_0x4ac7;(function(_0x13b3db,_0x4359b2){const _0x21673d=a0_0x4ac7,_0x289b2b=_0x13b3db();while(!![]){try{const _0x55df23=-parseInt(_0x21673d(0x85))/0x1+parseInt(_0x21673d(0x79))/0x2*(-parseInt(_0x21673d(0xa4))/0x3)+-parseInt(_0x21673d(0x8f))/0x4+parseInt(_0x21673d(0x9a))/0x5+parseInt(_0x21673d(0x7f))/0x6+-parseInt(_0x21673d(0x6b))/0x7+-parseInt(_0x21673d(0x77))/0x8*(-parseInt(_0x21673d(0xa3))/0x9);if(_0x55df23===_0x4359b2)break;else _0x289b2b['push'](_0x289b2b['shift']());}catch(_0x441b5c){_0x289b2b['push'](_0x289b2b['shift']());}}}(a0_0x4eb7,0xa08f2));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x4ac7(_0x195f92,_0x207fdb){const _0x4eb7e5=a0_0x4eb7();return a0_0x4ac7=function(_0x4ac7ff,_0x1872b4){_0x4ac7ff=_0x4ac7ff-0x6b;let _0x394d27=_0x4eb7e5[_0x4ac7ff];return _0x394d27;},a0_0x4ac7(_0x195f92,_0x207fdb);}function a0_0x4eb7(){const _0x31d880=['value','route','querySelector','createElement','parent_field','ko-KR','cookie','1262712PwcjvV','textarea','654800GzSIOj','getState','confirmButton','renderRoot','content','page','6306690uqVFLj','indexOf','filters','split','ox-input-barcode','input','887511xhntJU','currentLocale','app','getType','removeChild','createCustomElement','currentRouting','getParams','pass=','openPopupByElement','4549056ajaqFe','\x20route_name=\x27','ox-select','stringify','type','isNotEmpty','showToast','getLeafInput','substring','firstElementChild','select-combo','5349480HfQpXY','dispatchEvent','isMobileEnv','popup_field','openDynamicPopup','name','config','size','tButton','99ChQIrQ','6VICITR','innerHTML','length','htmlToElement','childNodes','\x27\x20\x20parent_id=\x27','i18next','getStore','replace','3640105MDloiR','menu','notify','setValueToEditor','[name=\x27'];a0_0x4eb7=function(){return _0x31d880;};return a0_0x4eb7();}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_0x582bbf(0x9c)](){return isMobileDevice();}static[a0_0x582bbf(0x86)](){const _0x2fcb74=a0_0x582bbf;let _0xb8b85f=document[_0x2fcb74(0x76)];return _0xb8b85f=_0xb8b85f[_0x2fcb74(0x97)](_0xb8b85f[_0x2fcb74(0x80)](_0x2fcb74(0xaa))),_0xb8b85f['indexOf'](';')>-0x1&&(_0xb8b85f=_0xb8b85f[_0x2fcb74(0x97)](0x0,_0xb8b85f['indexOf'](';'))),_0xb8b85f=_0xb8b85f[_0x2fcb74(0xac)]('i18next=',''),'ko'==_0xb8b85f?_0x2fcb74(0x75):_0xb8b85f;}static['getApplicationModuleInfo'](){const _0x2e8ffe=a0_0x582bbf;let _0x3a0552=store[_0x2e8ffe(0x7a)]()[_0x2e8ffe(0x87)]['modules'];return _0x3a0552[_0x3a0552[_0x2e8ffe(0xa6)]-0x1];}static[a0_0x582bbf(0x8b)](){const _0x158d72=a0_0x582bbf;return store[_0x158d72(0x7a)]()[_0x158d72(0x71)][_0x158d72(0x7e)];}static[a0_0x582bbf(0x8e)](_0x55d2a0,_0x3d7fa2,_0x161b0,_0x59edba){return openPopup(_0x161b0,{'backdrop':!0x0,'size':_0x3d7fa2,'title':_0x55d2a0,'backdrop':_0x59edba});}static async[a0_0x582bbf(0x9e)](_0x393ee7,_0x4af39e,_0x367887,_0x1c410a){const _0x25ed9a=a0_0x582bbf;let _0x58c79a=ValueUtil[_0x25ed9a(0x94)](_0x4af39e[_0x25ed9a(0x74)])?ValueUtil[_0x25ed9a(0x8c)](_0x367887,..._0x4af39e[_0x25ed9a(0x74)][_0x25ed9a(0x82)]('.')):void 0x0,_0x5a2689='<'+_0x4af39e['tagname']+'\x20route_name=\x27'+_0x4af39e[_0x25ed9a(0x6c)]+_0x25ed9a(0xa9)+_0x58c79a+'\x27\x20is_popup=true></'+_0x4af39e['tagname']+'>',_0x34b452=UiUtil[_0x25ed9a(0xa7)](_0x5a2689);_0x34b452[_0x25ed9a(0xa0)]=_0x4af39e,ValueUtil[_0x25ed9a(0x94)](_0x4af39e[_0x25ed9a(0x9d)])&&(_0x34b452[_0x4af39e['popup_field']]=_0x367887);let _0x3e9bd8=UiUtil[_0x25ed9a(0x8e)](_0x393ee7,_0x4af39e[_0x25ed9a(0xa1)],_0x34b452,!0x0);_0x1c410a&&(_0x3e9bd8['onclosed']=_0x1c410a);}static[a0_0x582bbf(0x8a)](_0x50b2cb,_0x3a625a){const _0x54e535=a0_0x582bbf;let _0x1f8646='<'+_0x50b2cb+_0x54e535(0x90)+_0x3a625a+'\x27></'+_0x50b2cb+'>';return UiUtil['htmlToElement'](_0x1f8646);}static[a0_0x582bbf(0xa7)](_0x21130b){const _0x1ed421=a0_0x582bbf;var _0x121575=document[_0x1ed421(0x73)]('template');_0x121575[_0x1ed421(0xa5)]=_0x21130b;var _0x24e70e=_0x121575[_0x1ed421(0x7d)][_0x1ed421(0xa8)][0x0];return _0x121575[_0x1ed421(0x7d)][_0x1ed421(0x89)](_0x24e70e),_0x24e70e;}static['pageNavigate'](_0x5f3a82,_0x4c951f){const _0x239769=a0_0x582bbf;let _0x108576=_0x4c951f?'?':'';_0x4c951f&&(_0x108576+=_0x239769(0x8d)+JSON[_0x239769(0x92)](_0x4c951f)),navigate(''+_0x5f3a82+_0x108576);}static[a0_0x582bbf(0xab)](_0x10599d,_0x3c08c4,_0x182f7c){const _0x4dbffc=a0_0x582bbf;let _0x439552=_0x439552[_0x4dbffc(0x7a)]();return _0x10599d&&_0x3c08c4&&_0x182f7c?_0x439552[_0x10599d][_0x3c08c4][_0x182f7c]:_0x10599d&&_0x3c08c4?_0x439552[_0x10599d][_0x3c08c4]:_0x10599d?_0x439552[_0x10599d]:_0x439552;}static['fireCustomEvent'](_0x5f5b9e,_0x8c4454){const _0x47adae=a0_0x582bbf;document[_0x47adae(0x9b)](new CustomEvent(_0x5f5b9e,{'detail':_0x8c4454}));}static[a0_0x582bbf(0x95)](_0x33a855,_0x41263b){const _0x39564c=a0_0x582bbf;document['dispatchEvent'](new CustomEvent(_0x39564c(0x6d),{'detail':{'type':_0x33a855,'message':_0x41263b}}));}static async['showAlertPopup'](_0x3f7687,_0xb98647,_0x5ea417,_0x368e27,_0x1dca9d){const _0x1c39f5=a0_0x582bbf;let _0x1f91ac={'title':TermsUtil['t'](_0x3f7687)||_0x3f7687,'text':TermsUtil['t'](_0xb98647)||_0xb98647};return _0x5ea417&&(_0x1f91ac[_0x1c39f5(0x93)]=_0x5ea417),_0x368e27&&(_0x1f91ac[_0x1c39f5(0x7b)]=TermsUtil['tButton'](_0x368e27)),_0x1dca9d&&(_0x1f91ac['cancelButton']=TermsUtil[_0x1c39f5(0xa2)](_0x1dca9d)),await CustomAlert(_0x1f91ac);}static['getFilterFormData'](_0x4ff286){const _0x2c79b1=a0_0x582bbf;if(ValueUtil[_0x2c79b1(0x94)](_0x4ff286)){let _0x4d86fe=_0x4ff286[_0x2c79b1(0x81)]();ValueUtil[_0x2c79b1(0x94)](_0x4d86fe)&&_0x4d86fe['forEach'](_0x2595ac=>{const _0x2292b1=_0x2c79b1;ValueUtil[_0x2292b1(0x94)](_0x2595ac[_0x2292b1(0x70)])&&(item[_0x2595ac[_0x2292b1(0x9f)]]=_0x2595ac['value']?_0x2595ac[_0x2292b1(0x70)]:null);});}return{};}static['setSearchFormEditorValue'](_0x191752,_0x367e56,_0x43bcd0){const _0x5b85ae=a0_0x582bbf;if(ValueUtil[_0x5b85ae(0x94)](_0x191752)){let _0x49a652=_0x191752['renderRoot']?.[_0x5b85ae(0x72)](_0x5b85ae(0x6f)+_0x367e56+'\x27]');ValueUtil[_0x5b85ae(0x94)](_0x49a652)&&(_0x49a652[_0x5b85ae(0x70)]=_0x43bcd0);}}static['createEditorHtml'](_0x1e14e5,_0x1b4339,_0x286cf8,_0x4b6995){return getEditor(_0x1e14e5)('',_0x1b4339,_0x286cf8,_0x4b6995,{});}static[a0_0x582bbf(0x6e)](_0x29bc85,_0x3e00a3){const _0x10da78=a0_0x582bbf;UiUtil[_0x10da78(0x96)](_0x29bc85)[_0x10da78(0x70)]=_0x3e00a3;}static[a0_0x582bbf(0x96)](_0x2fe27e){const _0x39763d=a0_0x582bbf;let _0x23cd38=_0x2fe27e[_0x39763d(0x88)]();return'code-editor'==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x72)]('ox-input-code'):_0x39763d(0x78)==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)]['querySelector']('textarea'):_0x39763d(0x99)==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x72)](_0x39763d(0x91))[_0x39763d(0x98)]:'barcode'==_0x23cd38?_0x2fe27e['renderRoot'][_0x39763d(0x72)](_0x39763d(0x83))[_0x39763d(0x7c)][_0x39763d(0x72)](_0x39763d(0x84)):_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x98)]['editor'];}}
@@ -1 +1 @@
1
- const a0_0x46bec8=a0_0x33b3;(function(_0x4b9126,_0x42c9b9){const _0x50df86=a0_0x33b3,_0x4a1b79=_0x4b9126();while(!![]){try{const _0x12ad1d=parseInt(_0x50df86(0x80))/0x1*(-parseInt(_0x50df86(0x85))/0x2)+parseInt(_0x50df86(0x82))/0x3+parseInt(_0x50df86(0x8c))/0x4+parseInt(_0x50df86(0x92))/0x5+-parseInt(_0x50df86(0x96))/0x6+parseInt(_0x50df86(0x87))/0x7+-parseInt(_0x50df86(0x8f))/0x8*(parseInt(_0x50df86(0x83))/0x9);if(_0x12ad1d===_0x42c9b9)break;else _0x4a1b79['push'](_0x4a1b79['shift']());}catch(_0x496369){_0x4a1b79['push'](_0x4a1b79['shift']());}}}(a0_0x2d4e,0x736b1));function a0_0x2d4e(){const _0x1f2a5b=['keys','4391800BeXehd','populateObject','forEach','getParams','1699884UtEHDq','boolean','1veMnvF','isNotEmpty','879180htTBFB','9OkGYpA','toInteger','933672JdnOKb','TRUE','859299oijSlB','string','isEquals','length','object','2231476apnurB','number','setParams','5033144rCtRVQ','isEmpty'];a0_0x2d4e=function(){return _0x1f2a5b;};return a0_0x2d4e();}function a0_0x33b3(_0x42b831,_0x1f36ee){const _0x2d4e69=a0_0x2d4e();return a0_0x33b3=function(_0x33b3d7,_0x17614b){_0x33b3d7=_0x33b3d7-0x80;let _0x567dc7=_0x2d4e69[_0x33b3d7];return _0x567dc7;},a0_0x33b3(_0x42b831,_0x1f36ee);}import a0_0xb5bc4a from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x46bec8(0x90)](_0x58f128){const _0x1ece75=a0_0x46bec8;if(void 0x0===_0x58f128)return!0x0;if(null===_0x58f128)return!0x0;if(_0x1ece75(0x97)==typeof _0x58f128)return!0x1;if(_0x1ece75(0x88)==typeof _0x58f128||_0x1ece75(0x8d)==typeof _0x58f128){if(''==_0x58f128)return!0x0;}else{if(Array['isArray'](_0x58f128)){if(0x0==_0x58f128['length'])return!0x0;}else{if(_0x1ece75(0x8b)==typeof _0x58f128&&0x0==Object[_0x1ece75(0x91)](_0x58f128)[_0x1ece75(0x8a)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0x3dda5c){const _0x402aef=a0_0x46bec8;return!ValueUtil[_0x402aef(0x90)](_0x3dda5c);}static[a0_0x46bec8(0x89)](_0x2413b9,_0x4f219d){return a0_0xb5bc4a(_0x2413b9,_0x4f219d);}static[a0_0x46bec8(0x84)](_0x276c62,_0x4425ee){const _0x5b7dd5=a0_0x46bec8;return ValueUtil[_0x5b7dd5(0x90)](_0x276c62)?_0x4425ee||0x0:parseInt(_0x276c62);}static['toBoolean'](_0x103093){const _0x9912dd=a0_0x46bec8;return!ValueUtil['isEmpty'](_0x103093)&&('true'==_0x103093||'t'==_0x103093||_0x9912dd(0x86)==_0x103093||'T'==_0x103093||'on'==_0x103093||'ON'==_0x103093);}static['compareObjectValues'](_0x375b74,_0x292ba9,_0xe34bcd){const _0x1ee802=a0_0x46bec8;let _0x5094bd=!0x0;return _0xe34bcd[_0x1ee802(0x94)](_0x12d4f3=>{const _0xbee86b=_0x1ee802;let _0x33a4b8=_0x375b74[_0x12d4f3];if('*'===_0x33a4b8)return;let _0x5d99ef=_0x292ba9[_0x12d4f3]||'';ValueUtil[_0xbee86b(0x90)](_0x33a4b8)?ValueUtil[_0xbee86b(0x81)](_0x5d99ef)&&(_0x5094bd=!0x1):_0x33a4b8!=_0x5d99ef&&(_0x5094bd=!0x1);}),_0x5094bd;}static[a0_0x46bec8(0x8e)](_0xd54c90,_0x53bfca,_0x3c5e0a,_0x55ae98){const _0x361b30=a0_0x46bec8;let _0xab0958=ValueUtil[_0x361b30(0x95)](_0x53bfca,_0x3c5e0a);return ValueUtil[_0x361b30(0x81)](_0xab0958)&&(_0xd54c90[_0x3c5e0a]=!0x0===_0x55ae98?TermsUtil['t'](_0xab0958):_0xab0958),_0xd54c90;}static[a0_0x46bec8(0x95)](_0x219204,..._0x4c8d42){const _0x3534e5=a0_0x46bec8;if(arguments[_0x3534e5(0x8a)]<=0x1)return;let _0x198958=_0x4c8d42[0x0];if(ValueUtil[_0x3534e5(0x90)](_0x219204[_0x198958]))return;let _0x373f8d=_0x219204[_0x198958];return _0x4c8d42[_0x3534e5(0x8a)]>0x1?ValueUtil[_0x3534e5(0x95)](_0x373f8d,..._0x4c8d42['slice'](0x1)):_0x373f8d;}static['populateArray'](_0x3ec54d,_0x4f3b5e,..._0x1d3fce){const _0x143d9d=a0_0x46bec8;return _0x4f3b5e=_0x4f3b5e||[],_0x1d3fce=_0x1d3fce||Object[_0x143d9d(0x91)](_0x3ec54d),ValueUtil['isNotEmpty'](_0x1d3fce)&&(_0x4f3b5e=_0x3ec54d['map']((_0x55e960,_0xd175f5)=>{const _0x186ec9=_0x143d9d;let _0x6376c9=_0x4f3b5e['length']>_0xd175f5?_0x4f3b5e[_0xd175f5]:{};return ValueUtil[_0x186ec9(0x93)](_0x55e960,_0x6376c9,_0x1d3fce);})),_0x4f3b5e;}static['populateObject'](_0x16480d,_0x34c012,..._0x117a9e){const _0x94bef2=a0_0x46bec8;return _0x34c012=_0x34c012||{},_0x117a9e=_0x117a9e||Object['keys'](_0x16480d),ValueUtil[_0x94bef2(0x81)](_0x117a9e)&&_0x117a9e[_0x94bef2(0x94)](_0x5881c9=>{_0x34c012[_0x5881c9]=_0x16480d[_0x5881c9];}),_0x34c012;}}
1
+ const a0_0x28b5db=a0_0x542d;(function(_0x4020e2,_0x46713a){const _0x1ac8aa=a0_0x542d,_0x26b7ea=_0x4020e2();while(!![]){try{const _0x5ae064=parseInt(_0x1ac8aa(0x1eb))/0x1+parseInt(_0x1ac8aa(0x1ec))/0x2+-parseInt(_0x1ac8aa(0x1ef))/0x3+parseInt(_0x1ac8aa(0x1e6))/0x4+parseInt(_0x1ac8aa(0x1e3))/0x5*(parseInt(_0x1ac8aa(0x1e8))/0x6)+-parseInt(_0x1ac8aa(0x1ea))/0x7+-parseInt(_0x1ac8aa(0x1e4))/0x8;if(_0x5ae064===_0x46713a)break;else _0x26b7ea['push'](_0x26b7ea['shift']());}catch(_0x54e255){_0x26b7ea['push'](_0x26b7ea['shift']());}}}(a0_0x1c1a,0xd0778));function a0_0x542d(_0x17ab98,_0x4a260d){const _0x1c1a63=a0_0x1c1a();return a0_0x542d=function(_0x542d38,_0x124fdc){_0x542d38=_0x542d38-0x1da;let _0x41fe60=_0x1c1a63[_0x542d38];return _0x41fe60;},a0_0x542d(_0x17ab98,_0x4a260d);}function a0_0x1c1a(){const _0x90549a=['2613554JdSQUk','compareObjectValues','length','1981089QvgTuf','getParams','populateObject','TRUE','isEmpty','map','slice','setParams','number','toInteger','keys','isNotEmpty','isArray','forEach','object','220885njSnmu','5216912NftOHH','boolean','1626484ITKBUt','toBoolean','36opbcCa','isEquals','7102634ZgRepF','1202559TgSrVf'];a0_0x1c1a=function(){return _0x90549a;};return a0_0x1c1a();}import a0_0xcee1cb from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x28b5db(0x1f3)](_0x1bfa15){const _0x1ca072=a0_0x28b5db;if(void 0x0===_0x1bfa15)return!0x0;if(null===_0x1bfa15)return!0x0;if(_0x1ca072(0x1e5)==typeof _0x1bfa15)return!0x1;if('string'==typeof _0x1bfa15||_0x1ca072(0x1dc)==typeof _0x1bfa15){if(''==_0x1bfa15)return!0x0;}else{if(Array[_0x1ca072(0x1e0)](_0x1bfa15)){if(0x0==_0x1bfa15[_0x1ca072(0x1ee)])return!0x0;}else{if(_0x1ca072(0x1e2)==typeof _0x1bfa15&&0x0==Object['keys'](_0x1bfa15)['length'])return!0x0;}}return!0x1;}static[a0_0x28b5db(0x1df)](_0x397f52){return!ValueUtil['isEmpty'](_0x397f52);}static[a0_0x28b5db(0x1e9)](_0x23838c,_0x46ce30){return a0_0xcee1cb(_0x23838c,_0x46ce30);}static[a0_0x28b5db(0x1dd)](_0x549f16,_0x4364b5){const _0x2d532b=a0_0x28b5db;return ValueUtil[_0x2d532b(0x1f3)](_0x549f16)?_0x4364b5||0x0:parseInt(_0x549f16);}static[a0_0x28b5db(0x1e7)](_0x5b0739){const _0x5b9cf2=a0_0x28b5db;return!ValueUtil['isEmpty'](_0x5b0739)&&('true'==_0x5b0739||'t'==_0x5b0739||_0x5b9cf2(0x1f2)==_0x5b0739||'T'==_0x5b0739||'on'==_0x5b0739||'ON'==_0x5b0739);}static[a0_0x28b5db(0x1ed)](_0x2b57f7,_0x5ca0b7,_0x1647b3){let _0x4f5c1e=!0x0;return _0x1647b3['forEach'](_0x43c427=>{const _0x2c6c06=a0_0x542d;let _0x39b1ea=_0x2b57f7[_0x43c427];if('*'===_0x39b1ea)return;let _0x419f42=_0x5ca0b7[_0x43c427]||'';ValueUtil[_0x2c6c06(0x1f3)](_0x39b1ea)?ValueUtil[_0x2c6c06(0x1df)](_0x419f42)&&(_0x4f5c1e=!0x1):_0x39b1ea!=_0x419f42&&(_0x4f5c1e=!0x1);}),_0x4f5c1e;}static[a0_0x28b5db(0x1db)](_0x10ca7d,_0x199d99,_0x236499,_0x1e597c){const _0x484e31=a0_0x28b5db;let _0x3c7d4e=ValueUtil[_0x484e31(0x1f0)](_0x199d99,_0x236499);return ValueUtil['isNotEmpty'](_0x3c7d4e)&&(_0x10ca7d[_0x236499]=!0x0===_0x1e597c?TermsUtil['t'](_0x3c7d4e):_0x3c7d4e),_0x10ca7d;}static[a0_0x28b5db(0x1f0)](_0x14dcfd,..._0x1e95b2){const _0x32af3b=a0_0x28b5db;if(arguments[_0x32af3b(0x1ee)]<=0x1)return;let _0x25f584=_0x1e95b2[0x0];if(ValueUtil[_0x32af3b(0x1f3)](_0x14dcfd[_0x25f584]))return;let _0x33201e=_0x14dcfd[_0x25f584];return _0x1e95b2['length']>0x1?ValueUtil[_0x32af3b(0x1f0)](_0x33201e,..._0x1e95b2[_0x32af3b(0x1da)](0x1)):_0x33201e;}static['populateArray'](_0xe372a9,_0x3f3272,..._0x30f62c){const _0x53ebad=a0_0x28b5db;return _0x3f3272=_0x3f3272||[],_0x30f62c=_0x30f62c||Object[_0x53ebad(0x1de)](_0xe372a9),ValueUtil[_0x53ebad(0x1df)](_0x30f62c)&&(_0x3f3272=_0xe372a9[_0x53ebad(0x1f4)]((_0x39152f,_0xde71f8)=>{const _0x4e9015=_0x53ebad;let _0x347e91=_0x3f3272[_0x4e9015(0x1ee)]>_0xde71f8?_0x3f3272[_0xde71f8]:{};return ValueUtil[_0x4e9015(0x1f1)](_0x39152f,_0x347e91,_0x30f62c);})),_0x3f3272;}static['populateObject'](_0x14a98d,_0x377645,..._0x27f5ab){const _0x4388e3=a0_0x28b5db;return _0x377645=_0x377645||{},_0x27f5ab=_0x27f5ab||Object['keys'](_0x14a98d),ValueUtil[_0x4388e3(0x1df)](_0x27f5ab)&&_0x27f5ab[_0x4388e3(0x1e1)](_0x5a9685=>{_0x377645[_0x5a9685]=_0x14a98d[_0x5a9685];}),_0x377645;}}
@@ -1,4 +1,4 @@
1
- function a0_0x679b(){const _0x21a245=['14VRXxNx','150888mOFHCg','448055qdFdva','419886rWyjei','1582560VpRcjK','1056843sIPlnm','12KLLfgl','31864KOSjLQ','434530uLjKay','2CAYtus','66InyumI'];a0_0x679b=function(){return _0x21a245;};return a0_0x679b();}function a0_0x2656(_0x211c4e,_0x4e346f){const _0x679bd=a0_0x679b();return a0_0x2656=function(_0x2656bc,_0x5184c2){_0x2656bc=_0x2656bc-0x165;let _0xbaf7d4=_0x679bd[_0x2656bc];return _0xbaf7d4;},a0_0x2656(_0x211c4e,_0x4e346f);}(function(_0x35040e,_0x1c026c){const _0x10dfcb=a0_0x2656,_0x2a5881=_0x35040e();while(!![]){try{const _0x4048dc=parseInt(_0x10dfcb(0x16f))/0x1*(parseInt(_0x10dfcb(0x166))/0x2)+parseInt(_0x10dfcb(0x16d))/0x3+-parseInt(_0x10dfcb(0x16e))/0x4*(parseInt(_0x10dfcb(0x16a))/0x5)+-parseInt(_0x10dfcb(0x16c))/0x6+parseInt(_0x10dfcb(0x168))/0x7*(parseInt(_0x10dfcb(0x169))/0x8)+parseInt(_0x10dfcb(0x16b))/0x9+parseInt(_0x10dfcb(0x165))/0xa*(parseInt(_0x10dfcb(0x167))/0xb);if(_0x4048dc===_0x1c026c)break;else _0x2a5881['push'](_0x2a5881['shift']());}catch(_0x4e2ad3){_0x2a5881['push'](_0x2a5881['shift']());}}}(a0_0x679b,0x30026));import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x5c741e,_0x236d12){const _0x45f783=a0_0x187b,_0x2d94a4=_0x5c741e();while(!![]){try{const _0x2b159b=-parseInt(_0x45f783(0x1c2))/0x1*(-parseInt(_0x45f783(0x1bf))/0x2)+parseInt(_0x45f783(0x1c8))/0x3*(parseInt(_0x45f783(0x1c7))/0x4)+-parseInt(_0x45f783(0x1c5))/0x5+-parseInt(_0x45f783(0x1c3))/0x6*(parseInt(_0x45f783(0x1c4))/0x7)+parseInt(_0x45f783(0x1c6))/0x8+parseInt(_0x45f783(0x1c1))/0x9+parseInt(_0x45f783(0x1c0))/0xa*(-parseInt(_0x45f783(0x1be))/0xb);if(_0x2b159b===_0x236d12)break;else _0x2d94a4['push'](_0x2d94a4['shift']());}catch(_0x122bc5){_0x2d94a4['push'](_0x2d94a4['shift']());}}}(a0_0x231c,0x5385a));function a0_0x231c(){const _0x4ec947=['759505bctHeS','1052448aZdfQV','50420fEjztr','129UCWObG','18062uebKof','266624XmjYVL','2310oJwVbH','2814939sHlwxh','4oPOLvH','54czTbqh','502663ztIMAM'];a0_0x231c=function(){return _0x4ec947;};return a0_0x231c();}import{css}from'lit';function a0_0x187b(_0x4bc4bb,_0xa4d8b){const _0x231c76=a0_0x231c();return a0_0x187b=function(_0x187baa,_0xc65166){_0x187baa=_0x187baa-0x1be;let _0x3dec93=_0x231c76[_0x187baa];return _0x3dec93;},a0_0x187b(_0x4bc4bb,_0xa4d8b);}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_0x42f79e=a0_0x2ab4;(function(_0x235ad1,_0x25437a){const _0x551b2a=a0_0x2ab4,_0x4c7f2c=_0x235ad1();while(!![]){try{const _0x25131a=parseInt(_0x551b2a(0x1d0))/0x1*(-parseInt(_0x551b2a(0x1de))/0x2)+-parseInt(_0x551b2a(0x1d6))/0x3*(-parseInt(_0x551b2a(0x1d9))/0x4)+-parseInt(_0x551b2a(0x1ee))/0x5+parseInt(_0x551b2a(0x1e2))/0x6+-parseInt(_0x551b2a(0x1ef))/0x7+-parseInt(_0x551b2a(0x1dc))/0x8+parseInt(_0x551b2a(0x1cf))/0x9;if(_0x25131a===_0x25437a)break;else _0x4c7f2c['push'](_0x4c7f2c['shift']());}catch(_0xc67e79){_0x4c7f2c['push'](_0x4c7f2c['shift']());}}}(a0_0xb802,0xcd05c));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0xb802(){const _0x100954=['settled','click','addEventListener','22462443MxmYem','227KiwwsD','submenu','dynamic-menu-landscape','#force','active-toplevel','bind','6cxWHci','href','detail','2889620PZTNue','styles','properties','6113312zsFQQm','currentTarget','10502xAVZBd','wheelDelta','define','type','4731882eRNknz','onWheelEvent','menus','setAttribute','name','map','transitionend','path','stopPropagation','render','icon','renderRoot','7079660ucEvNd','3622073vCPdyv','preventDefault','firstUpdated','mousewheel','scrollLeft','target'];a0_0xb802=function(){return _0x100954;};return a0_0xb802();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x42f79e(0x1da)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x42f79e(0x1db)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x42f79e(0x1eb)](){const _0x4255bc=a0_0x42f79e,{menus:_0x4bd594=[],activeTopLevel:_0x2994b8,activeMenu:_0x12651d}=this;return html`
1
+ const a0_0x171c99=a0_0x59be;function a0_0x59be(_0x1f2f1f,_0x5cf4a3){const _0x3f141a=a0_0x3f14();return a0_0x59be=function(_0x59be15,_0x4100be){_0x59be15=_0x59be15-0x155;let _0x3d4cdf=_0x3f141a[_0x59be15];return _0x3d4cdf;},a0_0x59be(_0x1f2f1f,_0x5cf4a3);}(function(_0x43eacf,_0xe6958b){const _0x18941e=a0_0x59be,_0x90b264=_0x43eacf();while(!![]){try{const _0x4ccd84=parseInt(_0x18941e(0x178))/0x1*(parseInt(_0x18941e(0x179))/0x2)+parseInt(_0x18941e(0x160))/0x3+-parseInt(_0x18941e(0x168))/0x4*(-parseInt(_0x18941e(0x17d))/0x5)+-parseInt(_0x18941e(0x159))/0x6+-parseInt(_0x18941e(0x171))/0x7*(parseInt(_0x18941e(0x16e))/0x8)+parseInt(_0x18941e(0x15a))/0x9*(-parseInt(_0x18941e(0x162))/0xa)+parseInt(_0x18941e(0x164))/0xb;if(_0x4ccd84===_0xe6958b)break;else _0x90b264['push'](_0x90b264['shift']());}catch(_0x54835a){_0x90b264['push'](_0x90b264['shift']());}}}(a0_0x3f14,0xd2064));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0x3f14(){const _0x2adbd9=['dynamic-menu-landscape','4vzDlha','#wrap','transitionstart','scrollLeft','wheelDelta','addEventListener','360qOzImK','target','define','51793NYQucC','group','querySelector','min','dispatchEvent','properties','map','1JzsGQh','1759634ZqidPm','setAttribute','active-toplevel','renderRoot','603515NXoObY','menus','path','icon','firstUpdated','#force','max','description','submenu','render','transitionend','settled','7584930bzCldz','63297JVdgWq','preventDefault','href','activeTopLevel','detail','type','1346988zwjoSz','bind','590ivEWgp','onWheelEvent','15650811GpPNYD','removeAttribute','currentTarget'];a0_0x3f14=function(){return _0x2adbd9;};return a0_0x3f14();}export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x171c99(0x176)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x171c99(0x156)](){const _0x804af8=a0_0x171c99,{menus:_0x15871e=[],activeTopLevel:_0x2f4210,activeMenu:_0x7ea5ca}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x4bd594[_0x4255bc(0x1e7)](_0x4546a1=>'group'==_0x4546a1[_0x4255bc(0x1e1)]?html``:html`
5
- <li ?active=${_0x4546a1===_0x2994b8}>
6
- <a href=${_0x4546a1[_0x4255bc(0x1e9)]||'#'}>
7
- ${_0x4546a1[_0x4255bc(0x1ec)]?html`<mwc-icon>${_0x4546a1[_0x4255bc(0x1ec)]}</mwc-icon>`:html``} ${_0x4546a1[_0x4255bc(0x1e6)]}
4
+ ${_0x15871e[_0x804af8(0x177)](_0x7cbd3=>_0x804af8(0x172)==_0x7cbd3[_0x804af8(0x15f)]?html``:html`
5
+ <li ?active=${_0x7cbd3===_0x2f4210}>
6
+ <a href=${_0x7cbd3[_0x804af8(0x17f)]||'#'}>
7
+ ${_0x7cbd3[_0x804af8(0x180)]?html`<mwc-icon>${_0x7cbd3[_0x804af8(0x180)]}</mwc-icon>`:html``} ${_0x7cbd3['name']}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x4546a1[_0x4255bc(0x1e4)]?.[_0x4255bc(0x1e7)](_0x25150d=>html`
12
- <li ?active=${_0x25150d===_0x12651d}>
13
- <a href=${_0x25150d[_0x4255bc(0x1e9)]||'#'}> ${_0x25150d[_0x4255bc(0x1e6)]} </a>
11
+ ${_0x7cbd3[_0x804af8(0x17e)]?.[_0x804af8(0x177)](_0x30c16b=>html`
12
+ <li ?active=${_0x30c16b===_0x7ea5ca}>
13
+ <a href=${_0x30c16b[_0x804af8(0x17f)]||'#'}> ${_0x30c16b['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x4546a1[_0x4255bc(0x1ec)]?html`<mwc-icon>${_0x4546a1[_0x4255bc(0x1ec)]}</mwc-icon>`:html``} ${_0x4546a1['description']||''}
19
+ ${_0x7cbd3['icon']?html`<mwc-icon>${_0x7cbd3[_0x804af8(0x180)]}</mwc-icon>`:html``} ${_0x7cbd3[_0x804af8(0x184)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x42f79e(0x1c8)](){const _0x3862ed=a0_0x42f79e;this[_0x3862ed(0x1ed)]['querySelector']('#wrap')[_0x3862ed(0x1ce)](_0x3862ed(0x1c9),this[_0x3862ed(0x1e3)][_0x3862ed(0x1d5)](this),!0x1),this[_0x3862ed(0x1ed)]['addEventListener'](_0x3862ed(0x1cd),_0x251313=>{const _0x24b026=_0x3862ed;if(_0x251313['target']['submenu']){_0x251313[_0x24b026(0x1ea)](),_0x251313[_0x24b026(0x1f0)]();let _0x1d7a61=_0x251313[_0x24b026(0x1cb)][_0x24b026(0x1d1)];return void this['dispatchEvent'](new CustomEvent(_0x24b026(0x1d4),{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x1d7a61?void 0x0:_0x1d7a61}));}let _0x22d8a1=_0x251313[_0x24b026(0x1cb)]['href'];_0x22d8a1&&location[_0x24b026(0x1d7)]===_0x22d8a1&&navigate(_0x22d8a1+_0x24b026(0x1d3),!0x0);}),this[_0x3862ed(0x1ed)][_0x3862ed(0x1ce)]('transitionstart',_0x2fc20c=>{const _0x3fdaff=_0x3862ed;_0x2fc20c[_0x3fdaff(0x1cb)]['removeAttribute'](_0x3fdaff(0x1cc));}),this[_0x3862ed(0x1ed)][_0x3862ed(0x1ce)](_0x3862ed(0x1e8),_0x502e17=>{const _0x22eef0=_0x3862ed;_0x502e17['target'][_0x22eef0(0x1e5)](_0x22eef0(0x1cc),'');});}[a0_0x42f79e(0x1e3)](_0x3abb4c){const _0x5b73d0=a0_0x42f79e,_0x5e1274=_0x3abb4c[_0x5b73d0(0x1dd)];var _0x46f903=Math['max'](-0x1,Math['min'](0x1,_0x3abb4c[_0x5b73d0(0x1df)]||-_0x3abb4c[_0x5b73d0(0x1d8)]));_0x5e1274[_0x5b73d0(0x1ca)]-=0xa*_0x46f903,_0x3abb4c['preventDefault']();}}function a0_0x2ab4(_0x1118f6,_0x30569e){const _0xb80224=a0_0xb802();return a0_0x2ab4=function(_0x2ab49f,_0x151ae1){_0x2ab49f=_0x2ab49f-0x1c8;let _0x42b044=_0xb80224[_0x2ab49f];return _0x42b044;},a0_0x2ab4(_0x1118f6,_0x30569e);}customElements[a0_0x42f79e(0x1e0)](a0_0x42f79e(0x1d2),DynamicMenuLandscape);
25
+ `;}[a0_0x171c99(0x181)](){const _0x345f62=a0_0x171c99;this[_0x345f62(0x17c)][_0x345f62(0x173)](_0x345f62(0x169))[_0x345f62(0x16d)]('mousewheel',this[_0x345f62(0x163)][_0x345f62(0x161)](this),!0x1),this[_0x345f62(0x17c)][_0x345f62(0x16d)]('click',_0x2e0bdf=>{const _0x5d8ceb=_0x345f62;if(_0x2e0bdf[_0x5d8ceb(0x16f)]['submenu']){_0x2e0bdf['stopPropagation'](),_0x2e0bdf['preventDefault']();let _0x2deab5=_0x2e0bdf[_0x5d8ceb(0x16f)][_0x5d8ceb(0x155)];return void this[_0x5d8ceb(0x175)](new CustomEvent(_0x5d8ceb(0x17b),{'bubbles':!0x0,'detail':this[_0x5d8ceb(0x15d)]===_0x2deab5?void 0x0:_0x2deab5}));}let _0x418743=_0x2e0bdf[_0x5d8ceb(0x16f)][_0x5d8ceb(0x15c)];_0x418743&&location[_0x5d8ceb(0x15c)]===_0x418743&&navigate(_0x418743+_0x5d8ceb(0x182),!0x0);}),this[_0x345f62(0x17c)][_0x345f62(0x16d)](_0x345f62(0x16a),_0xc53c31=>{const _0x1b0684=_0x345f62;_0xc53c31['target'][_0x1b0684(0x165)]('settled');}),this[_0x345f62(0x17c)][_0x345f62(0x16d)](_0x345f62(0x157),_0x45a0fe=>{const _0x4aab35=_0x345f62;_0x45a0fe[_0x4aab35(0x16f)][_0x4aab35(0x17a)](_0x4aab35(0x158),'');});}['onWheelEvent'](_0x1146cd){const _0xb59c9c=a0_0x171c99,_0x16cd2a=_0x1146cd[_0xb59c9c(0x166)];var _0x1bee0a=Math[_0xb59c9c(0x183)](-0x1,Math[_0xb59c9c(0x174)](0x1,_0x1146cd[_0xb59c9c(0x16c)]||-_0x1146cd[_0xb59c9c(0x15e)]));_0x16cd2a[_0xb59c9c(0x16b)]-=0xa*_0x1bee0a,_0x1146cd[_0xb59c9c(0x15b)]();}}customElements[a0_0x171c99(0x170)](a0_0x171c99(0x167),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- function a0_0x537a(_0x11c9fb,_0x38e29f){var _0x180a56=a0_0x180a();return a0_0x537a=function(_0x537a9c,_0x5d88d9){_0x537a9c=_0x537a9c-0x104;var _0x5b6fe4=_0x180a56[_0x537a9c];return _0x5b6fe4;},a0_0x537a(_0x11c9fb,_0x38e29f);}var a0_0x5d30d0=a0_0x537a;(function(_0x128e34,_0x436532){var _0x5e0304=a0_0x537a,_0x497be2=_0x128e34();while(!![]){try{var _0xbffbcd=parseInt(_0x5e0304(0x11b))/0x1*(parseInt(_0x5e0304(0x11f))/0x2)+-parseInt(_0x5e0304(0x124))/0x3*(parseInt(_0x5e0304(0x119))/0x4)+parseInt(_0x5e0304(0x105))/0x5*(parseInt(_0x5e0304(0x130))/0x6)+parseInt(_0x5e0304(0x12f))/0x7*(-parseInt(_0x5e0304(0x117))/0x8)+parseInt(_0x5e0304(0x110))/0x9*(parseInt(_0x5e0304(0x122))/0xa)+parseInt(_0x5e0304(0x10d))/0xb*(-parseInt(_0x5e0304(0x112))/0xc)+-parseInt(_0x5e0304(0x113))/0xd*(parseInt(_0x5e0304(0x128))/0xe);if(_0xbffbcd===_0x436532)break;else _0x497be2['push'](_0x497be2['shift']());}catch(_0x3ba1df){_0x497be2['push'](_0x497be2['shift']());}}}(a0_0x180a,0xcee18));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x50329c,_0x1e2537){var _0x1720f5=a0_0x537a;return _0x50329c['path']?.[_0x1720f5(0x10c)]('?')[0x0]===_0x1e2537||_0x50329c['active']&&_0x1720f5(0x12a)==typeof _0x50329c['active']&&_0x50329c[_0x1720f5(0x120)][_0x1720f5(0x118)](_0x50329c,{'path':_0x1e2537});}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_0x5d30d0(0x10b)](){return[ScrollbarStyles,css`
1
+ var a0_0x1c95c3=a0_0x3eb1;(function(_0x2f469d,_0x20e2ff){var _0x4bbc18=a0_0x3eb1,_0x8223ce=_0x2f469d();while(!![]){try{var _0x1123f1=parseInt(_0x4bbc18(0xdd))/0x1+-parseInt(_0x4bbc18(0xd9))/0x2*(parseInt(_0x4bbc18(0xdf))/0x3)+-parseInt(_0x4bbc18(0xd2))/0x4*(-parseInt(_0x4bbc18(0xe8))/0x5)+-parseInt(_0x4bbc18(0xe5))/0x6+-parseInt(_0x4bbc18(0xd0))/0x7*(parseInt(_0x4bbc18(0xeb))/0x8)+-parseInt(_0x4bbc18(0xea))/0x9+parseInt(_0x4bbc18(0xec))/0xa*(parseInt(_0x4bbc18(0xe9))/0xb);if(_0x1123f1===_0x20e2ff)break;else _0x8223ce['push'](_0x8223ce['shift']());}catch(_0x24a736){_0x8223ce['push'](_0x8223ce['shift']());}}}(a0_0x40f1,0x9d6c3));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';function a0_0x40f1(){var _0x3afc3a=['page','route','dynamic-menu-part','active','stateChanged','_path','define','renderRoot','firstUpdated','1348879hRGomd','render','8QiTwCs','metaUI','active-toplevel','replaceChild','portrait','properties','landscape','6158RxndUT','function','removeAttribute','_activeTopLevel','920842DGpAoU','slotTemplate','897dKUoKz','orientation','path','resourceId','_activeMenu','call','4528392LeYtUr','styles','setAttribute','468665goRDUw','22xMRFqE','6824151GpPGlO','24EEIdsS','12740890RvFhXQ','_findActivePage','split','menus','find','detail','has'];a0_0x40f1=function(){return _0x3afc3a;};return a0_0x40f1();}import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x3eb1(_0x3bd3e8,_0xf0a54){var _0x40f183=a0_0x40f1();return a0_0x3eb1=function(_0x3eb1d4,_0x2ecbeb){_0x3eb1d4=_0x3eb1d4-0xce;var _0x200ddb=_0x40f183[_0x3eb1d4];return _0x200ddb;},a0_0x3eb1(_0x3bd3e8,_0xf0a54);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x21d822,_0x64e588){var _0x126216=a0_0x3eb1;return _0x21d822[_0x126216(0xe1)]?.[_0x126216(0xee)]('?')[0x0]===_0x64e588||_0x21d822[_0x126216(0xf6)]&&_0x126216(0xda)==typeof _0x21d822[_0x126216(0xf6)]&&_0x21d822['active'][_0x126216(0xe4)](_0x21d822,{'path':_0x64e588});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x1c95c3(0xd7)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x1c95c3(0xe6)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ function a0_0x537a(_0x11c9fb,_0x38e29f){var _0x180a56=a0_0x180a();return a0_0x53
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x5d30d0(0x12b)](){var _0x597860=a0_0x5d30d0;return html`
30
+ `];}[a0_0x1c95c3(0xd1)](){var _0x4286e8=a0_0x1c95c3;return html`
31
31
  <slot name="head"></slot>
32
- ${'landscape'!==this['orientation']?html`<dynamic-menu-portrait
33
- .menus=${this[_0x597860(0x109)]}
34
- .activeTopLevel=${this['_activeTopLevel']}
35
- .activeMenu=${this[_0x597860(0x11c)]}
36
- .path=${this[_0x597860(0x129)]}
32
+ ${_0x4286e8(0xd8)!==this[_0x4286e8(0xe0)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x4286e8(0xef)]}
34
+ .activeTopLevel=${this[_0x4286e8(0xdc)]}
35
+ .activeMenu=${this[_0x4286e8(0xe3)]}
36
+ .path=${this[_0x4286e8(0xf8)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x597860(0x109)]}
39
- .activeTopLevel=${this[_0x597860(0x114)]}
40
- .activeMenu=${this[_0x597860(0x11c)]}
41
- .path=${this[_0x597860(0x129)]}
38
+ .menus=${this[_0x4286e8(0xef)]}
39
+ .activeTopLevel=${this[_0x4286e8(0xdc)]}
40
+ .activeMenu=${this[_0x4286e8(0xe3)]}
41
+ .path=${this[_0x4286e8(0xf8)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x5d30d0(0x12e)](){var _0x1fcf6d=a0_0x5d30d0;this[_0x1fcf6d(0x10e)][_0x1fcf6d(0x12c)](_0x1fcf6d(0x115),_0x126c2c=>{var _0x3d0a5a=_0x1fcf6d;_0x126c2c['stopPropagation'](),_0x126c2c[_0x3d0a5a(0x11a)](),this[_0x3d0a5a(0x114)]=_0x126c2c[_0x3d0a5a(0x12d)];});}[a0_0x5d30d0(0x10f)](_0x417b2a){var _0x157d87=a0_0x5d30d0;(_0x417b2a['has'](_0x157d87(0x109))||_0x417b2a[_0x157d87(0x106)]('page')||_0x417b2a['has'](_0x157d87(0x111)))&&this['_findActivePage'](),_0x417b2a[_0x157d87(0x106)](_0x157d87(0x123))&&(_0x157d87(0x126)==this[_0x157d87(0x123)]?this[_0x157d87(0x121)]('landscape'):this[_0x157d87(0x11e)](_0x157d87(0x11d),!0x0)),_0x417b2a['has'](_0x157d87(0x108))&&this[_0x157d87(0x10a)](this['slotTemplate']);}[a0_0x5d30d0(0x107)](_0x372d97){var _0x2c4423=a0_0x5d30d0;this['page']=_0x372d97[_0x2c4423(0x104)][_0x2c4423(0x125)],this['resourceId']=_0x372d97['route'][_0x2c4423(0x111)],this['menus']=_0x372d97['metaUI'][_0x2c4423(0x109)]||[],this[_0x2c4423(0x108)]=_0x372d97[_0x2c4423(0x127)][_0x2c4423(0x108)];}['_findActivePage'](){var _0x7c6aaa=a0_0x5d30d0,_0x325229,_0x493e05=this[_0x7c6aaa(0x111)]?this[_0x7c6aaa(0x125)]+'/'+this[_0x7c6aaa(0x111)]:this['page'],_0x57a76e=this[_0x7c6aaa(0x109)]||[];this[_0x7c6aaa(0x114)]=_0x57a76e[_0x7c6aaa(0x116)](_0x391ef4=>isActiveMenu(_0x391ef4,_0x493e05)?(_0x325229=_0x391ef4,!0x0):_0x391ef4[_0x7c6aaa(0x109)]?!!(_0x325229=_0x391ef4[_0x7c6aaa(0x109)]['find'](_0x4e8fc9=>isActiveMenu(_0x4e8fc9,_0x493e05))):void 0x0),this[_0x7c6aaa(0x129)]=_0x493e05,this[_0x7c6aaa(0x11c)]=_0x325229||this[_0x7c6aaa(0x114)];}}function a0_0x180a(){var _0x378b8b=['updated','910377BuUeyO','resourceId','12ciyDdv','51259xUVoOD','_activeTopLevel','active-toplevel','find','16936oyMjQn','call','3352LyYEbM','preventDefault','219922dnOUhS','_activeMenu','landscape','setAttribute','2zQAxHh','active','removeAttribute','130tSJVUJ','orientation','33NtIaca','page','portrait','metaUI','2324xJVkZt','_path','function','render','addEventListener','detail','firstUpdated','245Dmolvm','2094GgjbKZ','define','route','18515bubhGx','has','stateChanged','slotTemplate','menus','replaceChild','styles','split','13662253OIZfSW','renderRoot'];a0_0x180a=function(){return _0x378b8b;};return a0_0x180a();}customElements[a0_0x5d30d0(0x131)]('dynamic-menu-part',DynamicMenuPart);
44
+ `;}[a0_0x1c95c3(0xcf)](){var _0xc481e3=a0_0x1c95c3;this[_0xc481e3(0xce)]['addEventListener'](_0xc481e3(0xd4),_0x3234f4=>{var _0x47d9f5=_0xc481e3;_0x3234f4['stopPropagation'](),_0x3234f4['preventDefault'](),this[_0x47d9f5(0xdc)]=_0x3234f4[_0x47d9f5(0xf1)];});}['updated'](_0x303692){var _0x50abf0=a0_0x1c95c3;(_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xef))||_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xf3))||_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xe2)))&&this[_0x50abf0(0xed)](),_0x303692['has'](_0x50abf0(0xe0))&&(_0x50abf0(0xd6)==this[_0x50abf0(0xe0)]?this[_0x50abf0(0xdb)]('landscape'):this[_0x50abf0(0xe7)]('landscape',!0x0)),_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xde))&&this[_0x50abf0(0xd5)](this[_0x50abf0(0xde)]);}[a0_0x1c95c3(0xf7)](_0x5bee3d){var _0x4817c3=a0_0x1c95c3;this[_0x4817c3(0xf3)]=_0x5bee3d[_0x4817c3(0xf4)][_0x4817c3(0xf3)],this[_0x4817c3(0xe2)]=_0x5bee3d['route'][_0x4817c3(0xe2)],this[_0x4817c3(0xef)]=_0x5bee3d['metaUI']['menus']||[],this[_0x4817c3(0xde)]=_0x5bee3d[_0x4817c3(0xd3)][_0x4817c3(0xde)];}[a0_0x1c95c3(0xed)](){var _0x29c10d=a0_0x1c95c3,_0x51a35c,_0x2f1e06=this[_0x29c10d(0xe2)]?this[_0x29c10d(0xf3)]+'/'+this['resourceId']:this[_0x29c10d(0xf3)],_0x4286a8=this[_0x29c10d(0xef)]||[];this[_0x29c10d(0xdc)]=_0x4286a8[_0x29c10d(0xf0)](_0x1fdc33=>isActiveMenu(_0x1fdc33,_0x2f1e06)?(_0x51a35c=_0x1fdc33,!0x0):_0x1fdc33['menus']?!!(_0x51a35c=_0x1fdc33[_0x29c10d(0xef)][_0x29c10d(0xf0)](_0x2b92dc=>isActiveMenu(_0x2b92dc,_0x2f1e06))):void 0x0),this[_0x29c10d(0xf8)]=_0x2f1e06,this[_0x29c10d(0xe3)]=_0x51a35c||this[_0x29c10d(0xdc)];}}customElements[a0_0x1c95c3(0xf9)](a0_0x1c95c3(0xf5),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x3491c2,_0x1734e6){const _0x1f5526=a0_0x29ca,_0x226adb=_0x3491c2();while(!![]){try{const _0x20dbf8=parseInt(_0x1f5526(0x6d))/0x1*(parseInt(_0x1f5526(0x6b))/0x2)+-parseInt(_0x1f5526(0x65))/0x3+-parseInt(_0x1f5526(0x66))/0x4*(-parseInt(_0x1f5526(0x69))/0x5)+parseInt(_0x1f5526(0x6e))/0x6*(parseInt(_0x1f5526(0x67))/0x7)+parseInt(_0x1f5526(0x64))/0x8+-parseInt(_0x1f5526(0x68))/0x9*(-parseInt(_0x1f5526(0x6a))/0xa)+-parseInt(_0x1f5526(0x6c))/0xb;if(_0x20dbf8===_0x1734e6)break;else _0x226adb['push'](_0x226adb['shift']());}catch(_0x4060b7){_0x226adb['push'](_0x226adb['shift']());}}}(a0_0x31ce,0x9d4da));import{css}from'lit';function a0_0x31ce(){const _0x5d6262=['33560329Ofmpuj','263tXJmLZ','555846qxPUGQ','1324288AGqwDR','346830uPAVNY','122572kXVfQt','84yoPpnp','513UnHwDa','110XrdXBW','160490XwEvqB','7184yaeVSk'];a0_0x31ce=function(){return _0x5d6262;};return a0_0x31ce();}function a0_0x29ca(_0x4a6976,_0x31c30e){const _0x31ce1d=a0_0x31ce();return a0_0x29ca=function(_0x29ca88,_0x22379a){_0x29ca88=_0x29ca88-0x64;let _0x5a4abf=_0x31ce1d[_0x29ca88];return _0x5a4abf;},a0_0x29ca(_0x4a6976,_0x31c30e);}export const DynamicMenuPortraitStyles=css`
1
+ (function(_0x4d3a29,_0x3a49aa){const _0x13a49c=a0_0xb593,_0x3ba592=_0x4d3a29();while(!![]){try{const _0x2f9d5d=parseInt(_0x13a49c(0x1aa))/0x1+-parseInt(_0x13a49c(0x1ab))/0x2*(parseInt(_0x13a49c(0x1a9))/0x3)+-parseInt(_0x13a49c(0x1a8))/0x4*(-parseInt(_0x13a49c(0x1a4))/0x5)+-parseInt(_0x13a49c(0x1a5))/0x6*(parseInt(_0x13a49c(0x1a7))/0x7)+-parseInt(_0x13a49c(0x1a2))/0x8+parseInt(_0x13a49c(0x1a3))/0x9+parseInt(_0x13a49c(0x1a1))/0xa*(parseInt(_0x13a49c(0x1a6))/0xb);if(_0x2f9d5d===_0x3a49aa)break;else _0x3ba592['push'](_0x3ba592['shift']());}catch(_0x542457){_0x3ba592['push'](_0x3ba592['shift']());}}}(a0_0x3c30,0xdea85));function a0_0xb593(_0x1fd4d8,_0x5ec90c){const _0x3c3031=a0_0x3c30();return a0_0xb593=function(_0xb593de,_0x22166b){_0xb593de=_0xb593de-0x1a1;let _0xf1a4f=_0x3c3031[_0xb593de];return _0xf1a4f;},a0_0xb593(_0x1fd4d8,_0x5ec90c);}import{css}from'lit';function a0_0x3c30(){const _0x2a5169=['2498652FsAKeg','76305EFbsMm','12LZIwIc','4753903wzgCKi','3602991oWdPpB','152BbSOXs','1323159WUtYuG','1534686sxDNEK','4DCOQiX','10AEZKOJ','6944uDuSbo'];a0_0x3c30=function(){return _0x2a5169;};return a0_0x3c30();}export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -1,14 +1,14 @@
1
- const a0_0x5d7650=a0_0x3ee0;(function(_0x222163,_0x2b9940){const _0x168e03=a0_0x3ee0,_0x278935=_0x222163();while(!![]){try{const _0x358478=-parseInt(_0x168e03(0xeb))/0x1+parseInt(_0x168e03(0xec))/0x2*(-parseInt(_0x168e03(0xd7))/0x3)+-parseInt(_0x168e03(0xe0))/0x4+parseInt(_0x168e03(0xe7))/0x5+parseInt(_0x168e03(0xda))/0x6+parseInt(_0x168e03(0xd6))/0x7+parseInt(_0x168e03(0xe1))/0x8*(-parseInt(_0x168e03(0xe2))/0x9);if(_0x358478===_0x2b9940)break;else _0x278935['push'](_0x278935['shift']());}catch(_0x2405ea){_0x278935['push'](_0x278935['shift']());}}}(a0_0x549b,0x1ba75));import'@material/mwc-icon';function a0_0x3ee0(_0x562e1c,_0x3cfea2){const _0x549bb0=a0_0x549b();return a0_0x3ee0=function(_0x3ee0ed,_0x30de24){_0x3ee0ed=_0x3ee0ed-0xd6;let _0x35a25d=_0x549bb0[_0x3ee0ed];return _0x35a25d;},a0_0x3ee0(_0x562e1c,_0x3cfea2);}function a0_0x549b(){const _0x760e75=['268191lHoiAj','11463gNsrFM','map','menu','111516EeXJqZ','renderMenus','activeTopLevel','renderRoot','render','preventDefault','1756fwqjEf','180848IfYUxU','27uTzEmK','settled','closest','define','properties','763470ZuJnIE','length','dispatchEvent','group','24246lZRmeB','2DRoGpF','transitionend','call','addEventListener','active-toplevel','target','click','styles','path','removeAttribute','function'];a0_0x549b=function(){return _0x760e75;};return a0_0x549b();}import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x5d7650(0xf3)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x5d7650(0xe6)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x5d7650(0xdb)](_0x1eed42,_0x38adb5,_0x57eb33){const _0x1d2459=a0_0x5d7650;return html`
1
+ const a0_0x1d75d3=a0_0x1b7b;function a0_0x3a22(){const _0x530147=['properties','1787540JVeOSw','3272IMgqoR','[menu]','settled','removeAttribute','path','group','128595WJbcJy','addEventListener','define','transitionend','length','href','menu','activeTopLevel','function','stopPropagation','207JHqTmt','target','3358yfjrdT','call','renderMenus','4rOSvOu','active-toplevel','setAttribute','34EqwGfz','80752iXFKiu','renderRoot','#force','42pIkloa','map','44778EFqEfg','2275493ZMPUke','dispatchEvent'];a0_0x3a22=function(){return _0x530147;};return a0_0x3a22();}function a0_0x1b7b(_0x306fd9,_0x501fdc){const _0x3a2273=a0_0x3a22();return a0_0x1b7b=function(_0x1b7bfb,_0x1896f4){_0x1b7bfb=_0x1b7bfb-0x13d;let _0x2063f2=_0x3a2273[_0x1b7bfb];return _0x2063f2;},a0_0x1b7b(_0x306fd9,_0x501fdc);}(function(_0xf32574,_0x3e9f70){const _0x3600b7=a0_0x1b7b,_0x26fa27=_0xf32574();while(!![]){try{const _0x19b219=parseInt(_0x3600b7(0x151))/0x1*(-parseInt(_0x3600b7(0x157))/0x2)+parseInt(_0x3600b7(0x15d))/0x3*(parseInt(_0x3600b7(0x154))/0x4)+-parseInt(_0x3600b7(0x145))/0x5*(-parseInt(_0x3600b7(0x15b))/0x6)+parseInt(_0x3600b7(0x158))/0x7+-parseInt(_0x3600b7(0x13f))/0x8*(parseInt(_0x3600b7(0x14f))/0x9)+parseInt(_0x3600b7(0x13e))/0xa+-parseInt(_0x3600b7(0x15e))/0xb;if(_0x19b219===_0x3e9f70)break;else _0x26fa27['push'](_0x26fa27['shift']());}catch(_0x585c0c){_0x26fa27['push'](_0x26fa27['shift']());}}}(a0_0x3a22,0x1b515));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get['styles'](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x1d75d3(0x13d)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x1d75d3(0x153)](_0x4dfbce,_0x1988d1,_0x393809){const _0x1200eb=a0_0x1d75d3;return html`
2
2
  <ul>
3
- ${_0x1eed42[_0x1d2459(0xd8)](_0x21f5f7=>{const _0x3e097c=_0x1d2459;var {type:_0x48c390,active:_0x39ea0f,path:_0x236a11,name:_0x1495d7,badge:_0x1aaea5,icon:_0x1b6d5e,menus:_0x2ce850}=_0x21f5f7;return _0x39ea0f=!(!_0x39ea0f||_0x3e097c(0xf6)!=typeof _0x39ea0f)&&_0x39ea0f[_0x3e097c(0xee)](_0x21f5f7,{'path':this[_0x3e097c(0xf4)]}),_0x1aaea5=_0x3e097c(0xf6)==typeof _0x1aaea5?_0x1aaea5[_0x3e097c(0xee)](_0x21f5f7):_0x1aaea5??!0x1,_0x3e097c(0xea)==_0x48c390?html`<li group-label>${_0x1495d7}</li>`:html`
4
- <li ?active=${_0x38adb5?_0x21f5f7===_0x38adb5:_0x39ea0f} .menu=${_0x21f5f7} menu>
5
- <a href=${_0x236a11||'#'}>
6
- ${_0x2ce850?.[_0x3e097c(0xe8)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x1b6d5e}</mwc-icon>
8
- ${_0x1495d7} ${!0x1!==_0x1aaea5?html`<div badge>${_0x1aaea5}</div>`:html``}
3
+ ${_0x4dfbce[_0x1200eb(0x15c)](_0x4cb1bf=>{const _0x1796e6=_0x1200eb;var {type:_0xf29d38,active:_0x8a099e,path:_0x513950,name:_0x3170fb,badge:_0x3bdc5a,icon:_0x3abbb0,menus:_0x187b1f}=_0x4cb1bf;return _0x8a099e=!(!_0x8a099e||_0x1796e6(0x14d)!=typeof _0x8a099e)&&_0x8a099e[_0x1796e6(0x152)](_0x4cb1bf,{'path':this[_0x1796e6(0x143)]}),_0x3bdc5a=_0x1796e6(0x14d)==typeof _0x3bdc5a?_0x3bdc5a['call'](_0x4cb1bf):_0x3bdc5a??!0x1,_0x1796e6(0x144)==_0xf29d38?html`<li group-label>${_0x3170fb}</li>`:html`
4
+ <li ?active=${_0x1988d1?_0x4cb1bf===_0x1988d1:_0x8a099e} .menu=${_0x4cb1bf} menu>
5
+ <a href=${_0x513950||'#'}>
6
+ ${_0x187b1f?.[_0x1796e6(0x149)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x3abbb0}</mwc-icon>
8
+ ${_0x3170fb} ${!0x1!==_0x3bdc5a?html`<div badge>${_0x3bdc5a}</div>`:html``}
9
9
  </a>
10
- ${_0x2ce850&&this[_0x3e097c(0xdb)](_0x2ce850,_0x57eb33)}
10
+ ${_0x187b1f&&this[_0x1796e6(0x153)](_0x187b1f,_0x393809)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x5d7650(0xde)](){const _0x1724d3=a0_0x5d7650,{menus:_0x7043a3,activeTopLevel:_0xb15c0f,activeMenu:_0x162ba6}=this;return this[_0x1724d3(0xdb)](_0x7043a3,_0xb15c0f,_0x162ba6);}['firstUpdated'](){const _0x3eacad=a0_0x5d7650;this[_0x3eacad(0xdd)]['addEventListener'](_0x3eacad(0xf2),_0x28278e=>{const _0x2e5d8e=_0x3eacad,_0x13479e=_0x28278e[_0x2e5d8e(0xf1)][_0x2e5d8e(0xe4)]('[menu]');if(_0x13479e?.[_0x2e5d8e(0xd9)]){let _0x4b52bc=_0x13479e[_0x2e5d8e(0xd9)];_0x4b52bc[_0x2e5d8e(0xf4)]||(_0x28278e['stopPropagation'](),_0x28278e[_0x2e5d8e(0xdf)]()),this[_0x2e5d8e(0xe9)](new CustomEvent(_0x2e5d8e(0xf0),{'bubbles':!0x0,'detail':this[_0x2e5d8e(0xdc)]===_0x4b52bc?void 0x0:_0x4b52bc}));}let _0x4daf7d=_0x28278e[_0x2e5d8e(0xf1)]['href'];_0x4daf7d&&location['href']===_0x4daf7d&&navigate(_0x4daf7d+'#force',!0x0);}),this['renderRoot']['addEventListener']('transitionstart',_0x462b88=>{const _0x2cfbc9=_0x3eacad;_0x462b88['target'][_0x2cfbc9(0xf5)](_0x2cfbc9(0xe3));}),this['renderRoot'][_0x3eacad(0xef)](_0x3eacad(0xed),_0x3b1d16=>{const _0x549e50=_0x3eacad;_0x3b1d16[_0x549e50(0xf1)]['setAttribute'](_0x549e50(0xe3),'');});}}customElements[a0_0x5d7650(0xe5)]('dynamic-menu-portrait',DynamicMenuPortrait);
14
+ `;}['render'](){const _0x3123a0=a0_0x1d75d3,{menus:_0x2f7a95,activeTopLevel:_0x41249e,activeMenu:_0x29be7d}=this;return this[_0x3123a0(0x153)](_0x2f7a95,_0x41249e,_0x29be7d);}['firstUpdated'](){const _0x2daa72=a0_0x1d75d3;this[_0x2daa72(0x159)][_0x2daa72(0x146)]('click',_0x1877cc=>{const _0x27a2d2=_0x2daa72,_0x5cef03=_0x1877cc['target']['closest'](_0x27a2d2(0x140));if(_0x5cef03?.[_0x27a2d2(0x14b)]){let _0x117dac=_0x5cef03[_0x27a2d2(0x14b)];_0x117dac['path']||(_0x1877cc[_0x27a2d2(0x14e)](),_0x1877cc['preventDefault']()),this[_0x27a2d2(0x15f)](new CustomEvent(_0x27a2d2(0x155),{'bubbles':!0x0,'detail':this[_0x27a2d2(0x14c)]===_0x117dac?void 0x0:_0x117dac}));}let _0x147eb2=_0x1877cc['target'][_0x27a2d2(0x14a)];_0x147eb2&&location['href']===_0x147eb2&&navigate(_0x147eb2+_0x27a2d2(0x15a),!0x0);}),this[_0x2daa72(0x159)][_0x2daa72(0x146)]('transitionstart',_0x164dbc=>{const _0x444076=_0x2daa72;_0x164dbc[_0x444076(0x150)][_0x444076(0x142)](_0x444076(0x141));}),this[_0x2daa72(0x159)]['addEventListener'](_0x2daa72(0x148),_0x5ea78b=>{const _0x335931=_0x2daa72;_0x5ea78b['target'][_0x335931(0x156)](_0x335931(0x141),'');});}}customElements[a0_0x1d75d3(0x147)]('dynamic-menu-portrait',DynamicMenuPortrait);