@things-factory/meta-ui 6.1.18 → 6.1.20

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 (93) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +7 -0
  3. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  4. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  5. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  6. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  7. package/client/component/grist/editor/grist-editor-code-input.js +8 -0
  8. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  9. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  10. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -0
  11. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  12. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  13. package/client/component/popup/code-input-editor-popup.js +35 -0
  14. package/client/component/popup/meta-object-selector-popup.js +40 -0
  15. package/client/component/selector/meta-object-selector-popup.js +11 -11
  16. package/client/mixin/meta-base-mixin.js +1 -1
  17. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  18. package/client/mixin/meta-button-mixin.js +1 -1
  19. package/client/mixin/meta-form-mixin.js +1 -1
  20. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  21. package/client/mixin/meta-main-tab-mixin.js +1 -1
  22. package/client/mixin/meta-master-detail-mixin.js +1 -1
  23. package/client/mixin/meta-service-mixin.js +1 -1
  24. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  25. package/client/mixin/meta-tab-mixin.js +1 -1
  26. package/client/pages/activity/meta-activity-list-page.js +5 -5
  27. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  28. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  29. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  30. package/client/pages/entity/config-entity.js +29 -29
  31. package/client/pages/entity/main-menu-selector.js +8 -8
  32. package/client/pages/history/history-copy-list-popup.js +6 -6
  33. package/client/pages/history/history-json-list-popup.js +6 -6
  34. package/client/pages/loading-page.js +5 -5
  35. package/client/pages/menu/dynamic-menu-template.js +7 -7
  36. package/client/pages/menu/dynamic-menu.js +15 -15
  37. package/client/pages/meta-form-element.js +1 -1
  38. package/client/pages/meta-grist-element.js +1 -1
  39. package/client/pages/meta-grist-page.js +1 -1
  40. package/client/pages/meta-grist-tab-element.js +1 -1
  41. package/client/pages/meta-grist-tab-page.js +1 -1
  42. package/client/pages/meta-main-tab-element.js +1 -1
  43. package/client/pages/meta-main-tab-page.js +1 -1
  44. package/client/pages/meta-master-detail-element.js +1 -1
  45. package/client/pages/meta-master-detail-page.js +1 -1
  46. package/client/pages/meta-tab-detail-element.js +1 -1
  47. package/client/pages/meta-tab-detail-page.js +1 -1
  48. package/client/pages/meta-tab-element.js +1 -1
  49. package/client/pages/personalize/personal-column-selector.js +11 -11
  50. package/client/pages/terms/config-terminology.js +6 -6
  51. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  52. package/client/pages/work-code/work-code-page.js +1 -1
  53. package/client/reducers/main.js +1 -1
  54. package/client/utils/meta-api.js +1 -1
  55. package/client/utils/meta-crypto.js +1 -1
  56. package/client/utils/meta-ui-util.js +103 -103
  57. package/client/utils/service-util.js +13 -13
  58. package/client/utils/terms-util.js +2 -2
  59. package/client/utils/ui-util.js +1 -1
  60. package/client/utils/value-util.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  62. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  63. package/client/viewparts/dynamic-menu-part.js +10 -10
  64. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  65. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  66. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  67. package/package.json +2 -2
  68. package/server/activity/CommonActivity.js +2 -2
  69. package/server/constants/error-code.js +1 -1
  70. package/server/errors/license-error.js +1 -1
  71. package/server/routes.js +1 -1
  72. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  76. package/server/service/grid-personalize/grid-personalize.js +1 -1
  77. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  78. package/server/service/meta-activity/meta-activity-query.js +1 -1
  79. package/server/service/meta-activity/meta-activity-type.js +1 -1
  80. package/server/service/meta-secret/meta-resolver.js +1 -1
  81. package/server/service/set-translations/set-translation-resolver.js +1 -1
  82. package/server/service/work-code/work-code-mutation.js +1 -1
  83. package/server/service/work-code/work-code-query.js +1 -1
  84. package/server/service/work-code/work-code-type.js +1 -1
  85. package/server/service/work-code/work-code.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  89. package/server/service/work-code-detail/work-code-detail.js +1 -1
  90. package/translations/en.json +1 -0
  91. package/translations/ko.json +1 -0
  92. package/translations/ms.json +1 -0
  93. package/translations/zh.json +1 -0
@@ -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
+ const a0_0x29f094=a0_0x1997;(function(_0x3b0a6d,_0x461530){const _0x1e4a67=a0_0x1997,_0x4d6376=_0x3b0a6d();while(!![]){try{const _0x5f3d44=-parseInt(_0x1e4a67(0xd8))/0x1+-parseInt(_0x1e4a67(0xd6))/0x2*(parseInt(_0x1e4a67(0x11b))/0x3)+-parseInt(_0x1e4a67(0x112))/0x4*(parseInt(_0x1e4a67(0xe0))/0x5)+-parseInt(_0x1e4a67(0xc9))/0x6+parseInt(_0x1e4a67(0xf8))/0x7+parseInt(_0x1e4a67(0x128))/0x8*(parseInt(_0x1e4a67(0xf0))/0x9)+parseInt(_0x1e4a67(0xc0))/0xa*(parseInt(_0x1e4a67(0x10b))/0xb);if(_0x5f3d44===_0x461530)break;else _0x4d6376['push'](_0x4d6376['shift']());}catch(_0x308d17){_0x4d6376['push'](_0x4d6376['shift']());}}}(a0_0x377e,0x7b0e0));function a0_0x1997(_0x2f0fb3,_0x4cbf31){const _0x377e54=a0_0x377e();return a0_0x1997=function(_0x199747,_0x3daab2){_0x199747=_0x199747-0xa0;let _0x5cb56f=_0x377e54[_0x199747];return _0x5cb56f;},a0_0x1997(_0x2f0fb3,_0x4cbf31);}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';function a0_0x377e(){const _0x3c95f8=['errors','buildArgs','2344741sasyxV','\x0a\x20\x20\x20\x20','fetch','routingType','showGraphqlException','hiddenFlag','unshift','_config','cancel','checkClientError','sort','SCREEN','__seq__','getSelectedIdList','networkError','getCodeByScenario','name','myDynamicMenus','numberOfDrafts','11nDDHux','length','__dirty__','HIDDEN-PAGE','children','getCodeByEntity','getWorkCodeByName','863348RiWlVn','delete','runScenario','text.nothing_selected','cuFlag','showAlertPopup','findOne','error','object','89475KJSIcE','searchMenuGridPersnalTemplate','badge','test','success\x20to\x20save','columns','text.there_is_nothing_to_delete','hidden','result','type','creator','info','selected','32VsHgOF','dirtyRecords','__origin__','menu.id','tText','draft-list','text.are_you_sure','id,template','isNotEmpty','__dirtyfields__','group','deleteListByGristSelected','codeItems','HOME','updateMultiple','value','question','confirm','tMenu','template','description','key','path','__selected__','code','dispatch','callScenario','workCodeByName','createdAt','map','Graphql\x20Error','text.NOTHING_CHANGED','record','forEach','12769630jaCMYt','menuType','isArray','showToast','records','category','MENU','text.nothing_changed','approval-pending-list','1843464ErpuaJ','parse','resourceUrl','active','query','routing','includes','imex','arrangeMenuRoutes','filter','isEmpty','patchesForUpdateMultiple','numberOfToDos','34YncJnP','parent','95745RGprDp','splice','menus','GROUP','exportableData','find','gutter','display','20kZcitt','push','getCodeSelectorData','searchByPagination','iconPath','xlsx','title','total','details','extensions','findIndex','showGraphqlErrorResponse','data','rank','button.','success\x20to\x20process','1497303yIZBUw','updatedAt','updater','message','reduce','searchMyDynamicMenus'];a0_0x377e=function(){return _0x3c95f8;};return a0_0x377e();}import{UiUtil}from'./ui-util';import a0_0x525358 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x29efea from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x29f094(0xaa)](_0x4c39af){const _0x58113c=a0_0x29f094;if(Array[_0x58113c(0xc2)](_0x4c39af))return _0x4c39af[_0x58113c(0xbb)](_0xf36c94=>_0x58113c(0x11a)==typeof _0xf36c94?{'name':_0xf36c94[_0x58113c(0xad)],'description':_0xf36c94[_0x58113c(0xdf)]}:{'name':_0xf36c94,'description':_0xf36c94});let _0x59828e=await ServiceUtil[_0x58113c(0x111)](_0x4c39af);return _0x59828e&&_0x59828e[_0x58113c(0x10c)]>0x0?_0x59828e:await getCodeByName(_0x4c39af);}static async[a0_0x29f094(0x111)](_0x449b19){const _0x214f46=a0_0x29f094,_0x582abe=await client[_0x214f46(0xcd)]({'query':a0_0x525358`
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':_0x449b19},'context':gqlContext()});return!_0x582abe[_0x214f46(0xf6)]&&_0x582abe[_0x214f46(0xec)][_0x214f46(0xb9)]&&_0x582abe[_0x214f46(0xec)]['workCodeByName'][_0x214f46(0xe8)]?_0x582abe[_0x214f46(0xec)]['workCodeByName'][_0x214f46(0xe8)]['sort']((_0x5e2cde,_0x4d9811)=>_0x5e2cde[_0x214f46(0xed)]-_0x4d9811[_0x214f46(0xed)]):[];}static async[a0_0x29f094(0xe2)](_0x561595){const _0xa8167e=a0_0x29f094;let _0x5bd33c=(await ServiceUtil[_0xa8167e(0xaa)](_0x561595))[_0xa8167e(0xbb)](_0x2db924=>({'value':_0x2db924['name'],'display':_0x2db924[_0xa8167e(0xb2)]}));return _0x5bd33c[_0xa8167e(0xfe)]({'value':'','display':''}),_0x5bd33c;}static async[a0_0x29f094(0x107)](_0x29e9c9,_0x2ba027){const _0x1c0997=a0_0x29f094;let _0x2c4aad=await ServiceUtil['callScenario'](null,_0x29e9c9,_0x2ba027);return _0x2c4aad['unshift']({'value':'','display':''}),_0x2c4aad[_0x1c0997(0xbb)](_0xd3c002=>({'value':_0xd3c002[_0x1c0997(0x108)],'display':_0xd3c002[_0x1c0997(0xb2)]}));}static async[a0_0x29f094(0x110)]({queryName:_0x20d1d3,codeField:_0x1e54b1=a0_0x29f094(0x108),dispField:_0xfa9f59=a0_0x29f094(0xb2),filters:_0x4f831d=[],sorters:_0x138e3b=[]}){const _0xc99f3e=a0_0x29f094;let _0x19fc5e='\x0a\x20\x20\x20\x20\x20\x20'+_0x1e54b1+'\x0a\x20\x20\x20\x20\x20\x20'+_0xfa9f59+_0xc99f3e(0xf9),_0x16b0dd=await ServiceUtil[_0xc99f3e(0xe3)](_0x20d1d3,_0x4f831d,_0x138e3b,0x0,0x0,_0x19fc5e),_0x596dc8=[{'value':'','display':''}];return _0x16b0dd['records'][_0xc99f3e(0xbf)](_0x4a5ca9=>{const _0x567e6d=_0xc99f3e;_0x596dc8[_0x567e6d(0xe1)]({'value':_0x4a5ca9[_0x1e54b1],'display':_0x4a5ca9[_0xfa9f59]});}),_0x596dc8;}static async[a0_0x29f094(0x109)](){const _0xf48f0c=a0_0x29f094;let _0x4f6ede=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x4f6ede?ServiceUtil[_0xf48f0c(0xd1)](_0x4f6ede):null;}static async[a0_0x29f094(0x11c)](_0x463abc){const _0x1e87bb=a0_0x29f094;let _0x41f48b=[{'name':_0x1e87bb(0xa1),'operator':'eq','value':_0x463abc}],_0x1f497e=await ServiceUtil[_0x1e87bb(0xe3)]('gridPersonalizeTemplates',_0x41f48b,[],0x0,0x0,_0x1e87bb(0xa5));return 0x0==_0x1f497e[_0x1e87bb(0xe7)]?{}:{'id':_0x1f497e[_0x1e87bb(0xc4)][0x0]['id'],'template':JSON[_0x1e87bb(0xca)](_0x1f497e[_0x1e87bb(0xc4)][0x0][_0x1e87bb(0xb1)])};}static[a0_0x29f094(0xd1)](_0x10b540){const _0x2c9c87=a0_0x29f094;let _0x9d8171=[];_0x10b540[_0x2c9c87(0xbf)](_0x1ef78c=>{const _0x579f08=_0x2c9c87;_0x9d8171[_0x579f08(0xe1)](_0x1ef78c),_0x1ef78c[_0x579f08(0x10f)]&&(_0x1ef78c[_0x579f08(0x10f)][_0x579f08(0x102)](function(_0xf99b15,_0x1bb2e7){const _0x1d3e15=_0x579f08;return _0xf99b15[_0x1d3e15(0xed)]-_0x1bb2e7['rank'];}),_0x1ef78c['children'][_0x579f08(0xbf)](_0x2a77fb=>{const _0x4aeb16=_0x579f08;0x1!=_0x2a77fb[_0x4aeb16(0xfd)]&&(_0x2a77fb[_0x4aeb16(0xd7)]=_0x1ef78c,_0x9d8171[_0x4aeb16(0xe1)](_0x2a77fb));}));});let _0x5c44bf=_0x9d8171[_0x2c9c87(0xbb)](_0x155009=>{const _0x382412=_0x2c9c87;if('GROUP'==_0x155009['menuType']||_0x382412(0xc6)==_0x155009[_0x382412(0xc1)]){let _0x5f0ac5={'id':_0x155009['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x155009[_0x382412(0x108)]),'icon':_0x155009['iconPath'],'type':_0x382412(0xdb)==_0x155009[_0x382412(0xc1)]?_0x382412(0xa8):'','menus':[]};return _0x155009[_0x382412(0xce)]&&(_0x5f0ac5['path']=_0x155009[_0x382412(0xce)]),_0x5f0ac5;}return{'id':'0'};})[_0x2c9c87(0xd2)](_0x30fbe5=>'0'!=_0x30fbe5['id']),_0x1ec3f5=_0x9d8171[_0x2c9c87(0xbb)](_0x44cde5=>{const _0x16c8dc=_0x2c9c87;if(_0x16c8dc(0x103)==_0x44cde5[_0x16c8dc(0xc1)]||_0x16c8dc(0x10e)==_0x44cde5[_0x16c8dc(0xc1)]){let _0x174ebb=_0x5c44bf[_0x16c8dc(0xdd)](_0x54e941=>_0x54e941['id']==_0x44cde5[_0x16c8dc(0xd7)]['id']);if(_0x174ebb){let _0x24d404=TermsUtil[_0x16c8dc(0xb0)](_0x44cde5[_0x16c8dc(0x108)]);return _0x16c8dc(0x103)==_0x44cde5['menuType']&&_0x174ebb[_0x16c8dc(0xda)][_0x16c8dc(0xe1)]({'id':_0x44cde5['id'],'name':_0x24d404,'path':_0x44cde5['routing'],'icon':_0x44cde5[_0x16c8dc(0xe4)]}),{'id':_0x44cde5['id'],'parent':!0x1,'parent_id':_0x174ebb['id'],'title':_0x24d404,'tagname':_0x44cde5[_0x16c8dc(0xc5)],'page':_0x44cde5[_0x16c8dc(0xce)],'template':_0x44cde5['resourceUrl'],'routing_type':_0x44cde5[_0x16c8dc(0xfb)]};}return{'id':'0'};}return _0x16c8dc(0xab)==_0x44cde5['menuType']?{'id':_0x44cde5['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x16c8dc(0xb0)](_0x44cde5['name']),'tagname':_0x44cde5[_0x16c8dc(0xc5)],'page':_0x44cde5['routing'],'template':_0x44cde5[_0x16c8dc(0xcb)],'routing_type':_0x44cde5[_0x16c8dc(0xfb)]}:{'id':'0'};})[_0x2c9c87(0xd2)](_0x283193=>null!=_0x283193&&'0'!=_0x283193['id']);_0x5c44bf[_0x2c9c87(0xd2)](_0x40bb76=>_0x2c9c87(0xa8)==_0x40bb76[_0x2c9c87(0x124)]&&_0x40bb76['menus']&&_0x40bb76['menus'][_0x2c9c87(0x10c)]>0x0)[_0x2c9c87(0xbf)](_0x21ef11=>{const _0x222620=_0x2c9c87;let _0x20a4b7=_0x5c44bf[_0x222620(0xea)](_0x2b42ca=>_0x2b42ca['id']==_0x21ef11['id'])+0x1;_0x5c44bf[_0x222620(0xd9)](_0x20a4b7,0x0,..._0x21ef11[_0x222620(0xda)]);});let _0x4ae9c4=0x0;return _0x5c44bf[_0x2c9c87(0xbf)](_0x422656=>{const _0x218e7b=_0x2c9c87;'todo-list'==_0x422656['path']?(_0x4ae9c4++,_0x422656[_0x218e7b(0x11d)]=()=>asyncReplace(generateActivitySummary(_0x218e7b(0xd5))),_0x422656[_0x218e7b(0xcc)]=({path:_0x52f72f})=>/^activity\//[_0x218e7b(0x11e)](_0x52f72f)):_0x218e7b(0xc8)==_0x422656[_0x218e7b(0xb4)]?(_0x4ae9c4++,_0x422656[_0x218e7b(0x11d)]=()=>asyncReplace(generateActivitySummary('numberOfApprovalPendings')),_0x422656[_0x218e7b(0xcc)]=({path:_0x28afaf})=>/^activity\//[_0x218e7b(0x11e)](_0x28afaf)):_0x218e7b(0xa3)==_0x422656[_0x218e7b(0xb4)]&&(_0x4ae9c4++,_0x422656[_0x218e7b(0x11d)]=()=>asyncReplace(generateActivitySummary(_0x218e7b(0x10a))));}),_0x4ae9c4>0x0&&startSubscribeActivitySummary(),{'menus':_0x5c44bf,'routes':_0x1ec3f5};}static async[a0_0x29f094(0xf5)](){const _0x1e78cd=a0_0x29f094;let _0x47128a=await ServiceUtil[_0x1e78cd(0xe3)]('menus',[{'name':'hiddenFlag','operator':'noteq','value':!0x0},{'name':'menuType','operator':'in','value':[_0x1e78cd(0xab),_0x1e78cd(0xc6),_0x1e78cd(0xdb)]}],[{'name':_0x1e78cd(0xed)}],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 _0x47128a?_0x47128a['records']:[];}static async[a0_0x29f094(0xeb)](_0x382d51){const _0x209409=a0_0x29f094;if(_0x382d51['errors']&&_0x382d51[_0x209409(0xf6)][_0x209409(0x10c)]>0x0){let _0x5af1cc=_0x382d51['errors'][0x0],_0x4c9016=_0x5af1cc[_0x209409(0xf3)],_0x294672=_0x5af1cc[_0x209409(0xf3)];_0x5af1cc[_0x209409(0xe9)]&&(_0x294672=_0x5af1cc['extensions'][_0x209409(0xb6)]),await UiUtil[_0x209409(0x117)](_0x294672,_0x4c9016,_0x209409(0x119),_0x209409(0xaf));}}static async[a0_0x29f094(0xfc)](_0xafdb4c){const _0xe39eba=a0_0x29f094;_0xafdb4c&&(_0xafdb4c['networkError']&&_0xafdb4c['networkError'][_0xe39eba(0x123)]?await ServiceUtil[_0xe39eba(0xeb)](_0xafdb4c[_0xe39eba(0x106)]['result']):await UiUtil['showAlertPopup'](_0xe39eba(0xbc),_0xafdb4c[_0xe39eba(0xf3)],'error',_0xe39eba(0xaf)));}static async[a0_0x29f094(0xdc)](_0x154234,_0x32a539,_0x32131e){const _0x45ba4d=a0_0x29f094;var _0x1c0f3f=_0x32131e[_0x45ba4d(0xff)][_0x45ba4d(0x120)]['filter'](_0x156f69=>'gutter'!==_0x156f69['type']&&void 0x0!==_0x156f69[_0x45ba4d(0xbe)]&&void 0x0!==_0x156f69[_0x45ba4d(0xd0)]&&!0x0!==_0x156f69['hidden'])[_0x45ba4d(0xbb)](_0x312503=>_0x312503[_0x45ba4d(0xd0)]),_0x56c11f=_0x32131e[_0x45ba4d(0xec)][_0x45ba4d(0xc4)][_0x45ba4d(0xbb)](_0xd214ca=>({..._0x32131e['_config'][_0x45ba4d(0x120)][_0x45ba4d(0xd2)](_0x4bd431=>_0x45ba4d(0xde)!==_0x4bd431[_0x45ba4d(0x124)]&&void 0x0!==_0x4bd431['record']&&void 0x0!==_0x4bd431[_0x45ba4d(0xd0)]&&!0x0!==_0x4bd431[_0x45ba4d(0x122)])[_0x45ba4d(0xf4)]((_0x4024bb,_0x2795d9)=>(_0x4024bb[_0x2795d9['imex']['key']]=_0x2795d9['imex'][_0x45ba4d(0xb3)]['split']('.')['reduce']((_0x2b810c,_0x4c167e)=>_0x2b810c&&'undefined'!==_0x2b810c[_0x4c167e]?_0x2b810c[_0x4c167e]:void 0x0,_0xd214ca),_0x4024bb),{})}));if(!_0x154234)return{'header':_0x1c0f3f,'data':_0x56c11f};store[_0x45ba4d(0xb7)]({'type':EXPORT,'exportable':{'extension':_0x45ba4d(0xe5),'name':_0x32a539,'data':{'header':_0x1c0f3f,'data':_0x56c11f}}});}static async[a0_0x29f094(0xe3)](_0x13216b,_0x46d3dc,_0x43bb59,_0x44b80d,_0x282610,_0x10eb81){const _0xd3948=a0_0x29f094;try{const _0x3a7355=await client[_0xd3948(0xcd)]({'query':a0_0x525358`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x590b48}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x13216b}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x42fcec}
15
+ ${_0x10eb81}
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':_0x46d3dc,'sortings':_0x43bb59,'pagination':{'page':_0x44b80d,'limit':_0x282610}}});if(!_0x3a7355[_0xd3948(0xf6)])return{'records':_0x3a7355[_0xd3948(0xec)][_0x13216b]['items'],'total':_0x3a7355[_0xd3948(0xec)][_0x13216b]['total']};ServiceUtil[_0xd3948(0xeb)](_0x3a7355);}catch(_0x33be3a){ServiceUtil[_0xd3948(0xfc)](_0x33be3a);}return null;}static async[a0_0x29f094(0x118)](_0x545749,_0x26a188,_0x2721b2){const _0x1b0ef4=a0_0x29f094;try{let _0x21e8cb=await client[_0x1b0ef4(0xcd)]({'query':a0_0x525358`
21
21
  query ($id: String!) {
22
- ${_0x5de2e0}(id: $id) {
23
- ${_0x45c6cc}
22
+ ${_0x545749}(id: $id) {
23
+ ${_0x2721b2}
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':_0x26a188}});if(!_0x21e8cb[_0x1b0ef4(0xf6)])return _0x21e8cb[_0x1b0ef4(0xec)][_0x545749]||{};ServiceUtil[_0x1b0ef4(0xeb)](_0x21e8cb);}catch(_0x4e9e10){ServiceUtil['showGraphqlException'](_0x4e9e10);}return null;}static['getSelectedIdList'](_0x37c8e0,_0xf74414){const _0x288b6a=a0_0x29f094,_0x2056f8=_0x37c8e0[_0x288b6a(0x127)]['map'](_0x765d6e=>_0x765d6e['id']);return ValueUtil[_0x288b6a(0xd3)](_0x2056f8)&&0x1==_0xf74414&&UiUtil[_0x288b6a(0x117)](_0x288b6a(0x115),_0x288b6a(0x121),_0x288b6a(0x126),_0x288b6a(0xaf)),_0x2056f8;}static async[a0_0x29f094(0xa9)](_0x54d3c1,_0x35d809){const _0x5c973d=a0_0x29f094;let _0x486556=ServiceUtil[_0x5c973d(0x105)](_0x54d3c1,!0x0);ValueUtil[_0x5c973d(0xa6)](_0x486556)&&(await ServiceUtil['deleteListByIds'](_0x486556,_0x35d809)&&_0x54d3c1[_0x5c973d(0xfa)]());}static async['deleteListByIds'](_0x34ce4c,_0x3c2453){const _0x1859d1=a0_0x29f094;if(!(await UiUtil[_0x1859d1(0x117)]('button.delete',_0x1859d1(0xa4),'question',_0x1859d1(0x113),_0x1859d1(0x100)))[_0x1859d1(0xad)])return!0x1;try{const _0x23990f=await client[_0x1859d1(0xcd)]({'query':a0_0x525358`
27
27
  mutation {
28
- ${_0x1a39e9}(${gqlBuilder[_0x28cfcc(0x13f)]({'ids':_0x2ca6ef})})
28
+ ${_0x3c2453}(${gqlBuilder[_0x1859d1(0xf7)]({'ids':_0x34ce4c})})
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(!_0x23990f['errors'])return UiUtil[_0x1859d1(0xc3)](_0x1859d1(0x126),TermsUtil[_0x1859d1(0xa2)]('success\x20to\x20delete')),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x23990f);}catch(_0x1cdaee){ServiceUtil['showGraphqlException'](_0x1cdaee);}return!0x1;}static async['updateMultipleData'](_0xc6dfdd,_0x309036){const _0x48cbdb=a0_0x29f094;let _0x4ced62=ServiceUtil[_0x48cbdb(0xd4)](_0xc6dfdd);if(ValueUtil[_0x48cbdb(0xa6)](_0x4ced62)){let _0x5a0bc1=await ServiceUtil[_0x48cbdb(0xac)](_0x309036,_0x4ced62);if(_0x5a0bc1)return _0xc6dfdd['fetch'](),_0x5a0bc1;}return!0x1;}static async[a0_0x29f094(0xac)](_0x55a094,_0x471452){const _0x3662ed=a0_0x29f094;try{const _0x1c5168=await client[_0x3662ed(0xcd)]({'query':a0_0x525358`
31
31
  mutation {
32
- ${_0x443ac4}(${gqlBuilder['buildArgs']({'patches':_0x1d47a9})}) {
32
+ ${_0x55a094}(${gqlBuilder['buildArgs']({'patches':_0x471452})}) {
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(!_0x1c5168[_0x3662ed(0xf6)])return UiUtil[_0x3662ed(0xc3)]('info',TermsUtil['tText'](_0x3662ed(0x11f))),!0x0;ServiceUtil[_0x3662ed(0xeb)](_0x1c5168);}catch(_0xc0296b){ServiceUtil[_0x3662ed(0xfc)](_0xc0296b);}return!0x1;}static[a0_0x29f094(0xd4)](_0x57a50f,_0x5cf474=!0x1){const _0x1dff0e=a0_0x29f094;let _0x429783=_0x57a50f[_0x1dff0e(0x129)];if(_0x429783&&0x0!=_0x429783[_0x1dff0e(0x10c)])return _0x429783[_0x1dff0e(0xbb)](_0x553e8f=>{const _0x16ed4c=_0x1dff0e;let _0x5eeccc=_0x553e8f['id']?{'id':_0x553e8f['id']}:{};for(let _0x2f138f in _0x553e8f)[_0x16ed4c(0x125),_0x16ed4c(0xf2),_0x16ed4c(0xba),_0x16ed4c(0xf1),_0x16ed4c(0x10d),_0x16ed4c(0xa7),_0x16ed4c(0xa0),_0x16ed4c(0x104),_0x16ed4c(0xb5)][_0x16ed4c(0xcf)](_0x2f138f)||(_0x553e8f[_0x2f138f]&&_0x16ed4c(0x11a)==typeof _0x553e8f[_0x2f138f]&&0x0==_0x5cf474?_0x5eeccc[_0x2f138f]={'id':_0x553e8f[_0x2f138f]['id']}:_0x5eeccc[_0x2f138f]=_0x553e8f[_0x2f138f]);return _0x5eeccc[_0x16ed4c(0x116)]=_0x553e8f[_0x16ed4c(0x10d)],_0x5eeccc;});UiUtil[_0x1dff0e(0x117)](_0x1dff0e(0xc7),_0x1dff0e(0xbd),_0x1dff0e(0x126),_0x1dff0e(0xaf));}static async[a0_0x29f094(0xb8)](_0x39296b,_0x3f4ac5,_0x4e1c4e,_0x225f0d=!0x0){const _0x4ffded=a0_0x29f094;let _0x320427=!0x0;_0x39296b&&!0x0===_0x225f0d&&(_0x320427=(await UiUtil[_0x4ffded(0x117)](_0x4ffded(0xee)+_0x39296b,_0x4ffded(0xa4),_0x4ffded(0xae),'confirm',_0x4ffded(0x100)))[_0x4ffded(0xad)]);if(_0x320427)try{const _0x895f2a=await client[_0x4ffded(0xcd)]({'query':a0_0x525358`
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':_0x3f4ac5,'variables':_0x4e1c4e}});if(_0x895f2a[_0x4ffded(0xf6)])ServiceUtil[_0x4ffded(0xeb)](_0x895f2a);else{if(this[_0x4ffded(0x101)](_0x895f2a))return!0x0===_0x225f0d&&UiUtil[_0x4ffded(0xc3)](_0x4ffded(0x126),TermsUtil[_0x4ffded(0xa2)](_0x4ffded(0xef))),_0x895f2a;}}catch(_0x56d825){ServiceUtil['showGraphqlException'](_0x56d825);}return!0x1;}static[a0_0x29f094(0x101)](_0x3c9954){const _0x20c06c=a0_0x29f094;if(_0x3c9954&&_0x3c9954[_0x20c06c(0xec)]&&_0x3c9954[_0x20c06c(0xec)]['runScenario']&&_0x3c9954[_0x20c06c(0xec)][_0x20c06c(0x114)][_0x20c06c(0xec)]&&_0x3c9954['data']['runScenario'][_0x20c06c(0xec)][_0x20c06c(0x119)]){let _0x21b2e1=_0x3c9954[_0x20c06c(0xec)][_0x20c06c(0x114)]['data'][_0x20c06c(0x119)];return UiUtil[_0x20c06c(0x117)](_0x21b2e1[_0x20c06c(0xe6)],_0x21b2e1['message'],_0x20c06c(0x119),_0x20c06c(0xaf)),!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
+ const a0_0x1e36a1=a0_0x1a5f;(function(_0x52b094,_0x19c271){const _0x236500=a0_0x1a5f,_0x21910a=_0x52b094();while(!![]){try{const _0x45b90d=-parseInt(_0x236500(0x18f))/0x1*(parseInt(_0x236500(0x18c))/0x2)+-parseInt(_0x236500(0x174))/0x3*(-parseInt(_0x236500(0x17d))/0x4)+-parseInt(_0x236500(0x16f))/0x5*(parseInt(_0x236500(0x18a))/0x6)+-parseInt(_0x236500(0x16d))/0x7+-parseInt(_0x236500(0x18b))/0x8*(parseInt(_0x236500(0x17a))/0x9)+parseInt(_0x236500(0x180))/0xa+-parseInt(_0x236500(0x16c))/0xb*(-parseInt(_0x236500(0x171))/0xc);if(_0x45b90d===_0x19c271)break;else _0x21910a['push'](_0x21910a['shift']());}catch(_0x413ee8){_0x21910a['push'](_0x21910a['shift']());}}}(a0_0xce1f,0x6745c));import a0_0x27c7b6 from'graphql-tag';function a0_0xce1f(){const _0x2e5cc1=['query','META_TERMS','56406GWMdfq','title','data','downloadTerminologies','terminologies','category','117243EDAyqb','label','tMenu','152MUudYG','forEach','tText','1701070QpITas','tLabel','error','total','tTitle','records','display','translate','field','replace','254598RWFpzn','112YIlxZD','5326mtbCsK','fetchTerminologies','menu','104BpArup','locale','tButton','14395403CEHxzi','5315051NeQaWa','items','65IUsppd','text','12iCRhTJ'];a0_0xce1f=function(){return _0x2e5cc1;};return a0_0xce1f();}import{client}from'@operato/graphql';function a0_0x1a5f(_0x3bd14a,_0x302835){const _0xce1f03=a0_0xce1f();return a0_0x1a5f=function(_0x1a5f65,_0x43bd9f){_0x1a5f65=_0x1a5f65-0x16a;let _0x101a91=_0xce1f03[_0x1a5f65];return _0x101a91;},a0_0x1a5f(_0x3bd14a,_0x302835);}import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x1e36a1(0x173)]=null;static async[a0_0x1e36a1(0x177)](_0x2efd96){const _0x194ab3=a0_0x1e36a1;let _0x3b84a2=(await TermsUtil[_0x194ab3(0x18d)](_0x2efd96))[_0x194ab3(0x185)];_0x3b84a2&&_0x3b84a2['length']>0x0&&(this[_0x194ab3(0x173)]={},_0x3b84a2[_0x194ab3(0x17e)](_0x1a5d08=>{const _0x14f21b=_0x194ab3;let _0x271f43=_0x1a5d08['category']+'.'+_0x1a5d08['name'];this[_0x14f21b(0x173)][_0x271f43]=_0x1a5d08[_0x14f21b(0x186)];}));}static async[a0_0x1e36a1(0x18d)](_0x4001cc){const _0x445268=a0_0x1e36a1;let _0x7cf8d3=[{'name':_0x445268(0x16a),'operator':'eq','value':_0x4001cc}];const _0x4abee1=await client[_0x445268(0x172)]({'query':a0_0x27c7b6`
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':_0x7cf8d3,'sortings':[{'name':_0x445268(0x179)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x4abee1['errors'])return{'records':_0x4abee1[_0x445268(0x176)]['terminologies'][_0x445268(0x16e)]||[],'total':_0x4abee1['data'][_0x445268(0x178)][_0x445268(0x183)]||0x0};}static[a0_0x1e36a1(0x181)](_0x599ed1,_0x3a5a9e){const _0x4a907c=a0_0x1e36a1;let _0x36cb07=TermsUtil['translate'](_0x4a907c(0x17b),_0x599ed1,_0x3a5a9e,null);return _0x36cb07||TermsUtil[_0x4a907c(0x187)](_0x4a907c(0x188),_0x599ed1,_0x3a5a9e,_0x599ed1);}static['tField'](_0x2c3471,_0x487c43){const _0x2ce24e=a0_0x1e36a1;let _0x4279e5=TermsUtil[_0x2ce24e(0x187)](_0x2ce24e(0x188),_0x2c3471,_0x487c43,null);return _0x4279e5||TermsUtil[_0x2ce24e(0x187)](_0x2ce24e(0x188),_0x2c3471,_0x487c43,_0x2c3471);}static[a0_0x1e36a1(0x16b)](_0x3941eb){const _0x543cd0=a0_0x1e36a1;return TermsUtil[_0x543cd0(0x187)]('button',_0x3941eb,null,_0x3941eb);}static[a0_0x1e36a1(0x184)](_0x2393c9,_0x10da1a){const _0x12885a=a0_0x1e36a1;let _0x531884=TermsUtil[_0x12885a(0x187)](_0x12885a(0x175),_0x2393c9,_0x10da1a,null);return _0x531884||TermsUtil[_0x12885a(0x187)]('menu',_0x2393c9,_0x10da1a,_0x2393c9);}static[a0_0x1e36a1(0x17c)](_0x388a04){const _0x1f4811=a0_0x1e36a1;let _0x1614e6=TermsUtil[_0x1f4811(0x187)](_0x1f4811(0x18e),_0x388a04,null,_0x388a04);return _0x1614e6||TermsUtil[_0x1f4811(0x187)](_0x1f4811(0x175),_0x388a04,null,_0x388a04);}static[a0_0x1e36a1(0x17f)](_0x2e5047,_0x1479a0){const _0x54c1a5=a0_0x1e36a1;return TermsUtil['translate'](_0x54c1a5(0x170),_0x2e5047,_0x1479a0,_0x2e5047);}static['tError'](_0x5e855e,_0x495c7f){const _0x172473=a0_0x1e36a1;return TermsUtil[_0x172473(0x187)](_0x172473(0x182),_0x5e855e,_0x495c7f,_0x5e855e);}static[a0_0x1e36a1(0x187)](_0x307ebb,_0x1672dd,_0x50f272,_0x4a129d){let _0x1b4580=_0x307ebb+'.'+_0x1672dd;return TermsUtil['t'](_0x1b4580,_0x50f272,_0x4a129d);}static['t'](_0x2829a6,_0x3a2158,_0x3fc847){const _0x3fb26e=a0_0x1e36a1;let _0xf3f017=this[_0x3fb26e(0x173)]?this[_0x3fb26e(0x173)][_0x2829a6]:null;return _0xf3f017=_0xf3f017||i18next['t'](_0x2829a6),_0xf3f017&&_0x2829a6!=_0xf3f017?(_0x3a2158&&Object['keys'](_0x3a2158)[_0x3fb26e(0x17e)](function(_0x2c474a){const _0x54e43b=_0x3fb26e;var _0x40589a='\x5c{'+_0x2c474a[_0x54e43b(0x189)](/\$/,'\x5c$')+'\x5c}',_0x4e1928=new RegExp(_0x40589a,'gi');_0xf3f017=_0xf3f017[_0x54e43b(0x189)](_0x4e1928,_0x3a2158[_0x2c474a]);}),_0xf3f017):_0x3fc847;}}
@@ -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_0x2389b5=a0_0x2a05;(function(_0x210f22,_0x483cf4){const _0x295c5b=a0_0x2a05,_0x206ec8=_0x210f22();while(!![]){try{const _0x178bcd=parseInt(_0x295c5b(0x1b8))/0x1+parseInt(_0x295c5b(0x19e))/0x2+-parseInt(_0x295c5b(0x1ba))/0x3*(-parseInt(_0x295c5b(0x1c9))/0x4)+parseInt(_0x295c5b(0x1b4))/0x5+-parseInt(_0x295c5b(0x1cb))/0x6*(-parseInt(_0x295c5b(0x1c6))/0x7)+-parseInt(_0x295c5b(0x1ac))/0x8+-parseInt(_0x295c5b(0x1a4))/0x9*(parseInt(_0x295c5b(0x1ae))/0xa);if(_0x178bcd===_0x483cf4)break;else _0x206ec8['push'](_0x206ec8['shift']());}catch(_0x3bc695){_0x206ec8['push'](_0x206ec8['shift']());}}}(a0_0x1fda,0xee142));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';function a0_0x2a05(_0x47c777,_0x284527){const _0x1fda6f=a0_0x1fda();return a0_0x2a05=function(_0x2a05ea,_0x18d13f){_0x2a05ea=_0x2a05ea-0x192;let _0x2821bc=_0x1fda6f[_0x2a05ea];return _0x2821bc;},a0_0x2a05(_0x47c777,_0x284527);}import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x2389b5(0x1bf)](){return isMobileDevice();}static[a0_0x2389b5(0x1a2)](){const _0x12ed27=a0_0x2389b5;let _0x563f08=document[_0x12ed27(0x193)];return _0x563f08=_0x563f08[_0x12ed27(0x1c0)](_0x563f08[_0x12ed27(0x1af)](_0x12ed27(0x1b0))),_0x563f08[_0x12ed27(0x1af)](';')>-0x1&&(_0x563f08=_0x563f08[_0x12ed27(0x1c0)](0x0,_0x563f08[_0x12ed27(0x1af)](';'))),_0x563f08=_0x563f08[_0x12ed27(0x1bb)]('i18next=',''),'ko'==_0x563f08?_0x12ed27(0x1d7):_0x563f08;}static[a0_0x2389b5(0x1aa)](){const _0x43d1ff=a0_0x2389b5;let _0x50159e=store[_0x43d1ff(0x1c3)]()[_0x43d1ff(0x19b)]['modules'];return _0x50159e[_0x50159e[_0x43d1ff(0x198)]-0x1];}static[a0_0x2389b5(0x192)](){const _0x2984d3=a0_0x2389b5;return store[_0x2984d3(0x1c3)]()['route'][_0x2984d3(0x1bc)];}static['openPopupByElement'](_0x525760,_0xe49c92,_0x22c834,_0x10946e){return openPopup(_0x22c834,{'backdrop':!0x0,'size':_0xe49c92,'title':_0x525760,'backdrop':_0x10946e});}static async[a0_0x2389b5(0x1c1)](_0x2cbc5d,_0x5814c1,_0x40edb1,_0x1df290){const _0x529149=a0_0x2389b5;let _0x4b3df0=ValueUtil[_0x529149(0x1d4)](_0x5814c1[_0x529149(0x1b3)])?ValueUtil[_0x529149(0x1a5)](_0x40edb1,..._0x5814c1[_0x529149(0x1b3)][_0x529149(0x1b6)]('.')):void 0x0,_0x576b8e='<'+_0x5814c1['tagname']+_0x529149(0x1b9)+_0x5814c1[_0x529149(0x1a7)]+_0x529149(0x1c4)+_0x4b3df0+'\x27\x20is_popup=true></'+_0x5814c1[_0x529149(0x1a6)]+'>',_0x27b1a6=UiUtil[_0x529149(0x19f)](_0x576b8e);_0x27b1a6[_0x529149(0x1cd)]=_0x5814c1,ValueUtil[_0x529149(0x1d4)](_0x5814c1[_0x529149(0x1d5)])&&(_0x27b1a6[_0x5814c1[_0x529149(0x1d5)]]=_0x40edb1);let _0x4ff3f2=UiUtil[_0x529149(0x1a8)](_0x2cbc5d,_0x5814c1[_0x529149(0x1a3)],_0x27b1a6,!0x0);_0x1df290&&(_0x4ff3f2[_0x529149(0x1be)]=_0x1df290);}static[a0_0x2389b5(0x1b2)](_0x2fabfb,_0x23e7ab){const _0x119abe=a0_0x2389b5;let _0x1aae65='<'+_0x2fabfb+_0x119abe(0x1b9)+_0x23e7ab+_0x119abe(0x1c8)+_0x2fabfb+'>';return UiUtil['htmlToElement'](_0x1aae65);}static[a0_0x2389b5(0x19f)](_0x475cf6){const _0x550533=a0_0x2389b5;var _0x40c549=document[_0x550533(0x199)](_0x550533(0x1d0));_0x40c549['innerHTML']=_0x475cf6;var _0x38b7be=_0x40c549[_0x550533(0x194)][_0x550533(0x1ad)][0x0];return _0x40c549[_0x550533(0x194)]['removeChild'](_0x38b7be),_0x38b7be;}static['pageNavigate'](_0x12efeb,_0x72c1bf){let _0x49286e=_0x72c1bf?'?':'';_0x72c1bf&&(_0x49286e+='pass='+JSON['stringify'](_0x72c1bf)),navigate(''+_0x12efeb+_0x49286e);}static[a0_0x2389b5(0x19d)](_0x80d94d,_0x5011e2,_0x1094d6){const _0x12b3dd=a0_0x2389b5;let _0x18a6d0=_0x18a6d0[_0x12b3dd(0x1c3)]();return _0x80d94d&&_0x5011e2&&_0x1094d6?_0x18a6d0[_0x80d94d][_0x5011e2][_0x1094d6]:_0x80d94d&&_0x5011e2?_0x18a6d0[_0x80d94d][_0x5011e2]:_0x80d94d?_0x18a6d0[_0x80d94d]:_0x18a6d0;}static['fireCustomEvent'](_0xf6cfc4,_0x5ac8a0){const _0x2478fc=a0_0x2389b5;document[_0x2478fc(0x19a)](new CustomEvent(_0xf6cfc4,{'detail':_0x5ac8a0}));}static['showToast'](_0x380e28,_0x14286c){const _0x2ee016=a0_0x2389b5;document[_0x2ee016(0x19a)](new CustomEvent(_0x2ee016(0x1bd),{'detail':{'type':_0x380e28,'message':_0x14286c}}));}static async[a0_0x2389b5(0x1c5)](_0x1c1e6b,_0xfd5ca8,_0x39156c,_0x58645f,_0x2cfb37){const _0x54dabe=a0_0x2389b5;let _0x3f2a3a={'title':TermsUtil['t'](_0x1c1e6b)||_0x1c1e6b,'text':TermsUtil['t'](_0xfd5ca8)||_0xfd5ca8};return _0x39156c&&(_0x3f2a3a[_0x54dabe(0x1d1)]=_0x39156c),_0x58645f&&(_0x3f2a3a[_0x54dabe(0x1c7)]=TermsUtil[_0x54dabe(0x1ca)](_0x58645f)),_0x2cfb37&&(_0x3f2a3a[_0x54dabe(0x1d8)]=TermsUtil[_0x54dabe(0x1ca)](_0x2cfb37)),await CustomAlert(_0x3f2a3a);}static['getFilterFormData'](_0x4f7376){const _0x22e1c4=a0_0x2389b5;if(ValueUtil[_0x22e1c4(0x1d4)](_0x4f7376)){let _0x1e942b=_0x4f7376['filters']();ValueUtil[_0x22e1c4(0x1d4)](_0x1e942b)&&_0x1e942b[_0x22e1c4(0x196)](_0x13efc7=>{const _0x1a9227=_0x22e1c4;ValueUtil['isNotEmpty'](_0x13efc7['value'])&&(item[_0x13efc7[_0x1a9227(0x1cf)]]=_0x13efc7[_0x1a9227(0x1a1)]?_0x13efc7[_0x1a9227(0x1a1)]:null);});}return{};}static['setSearchFormEditorValue'](_0x434765,_0x3093a8,_0x1df452){const _0x127b06=a0_0x2389b5;if(ValueUtil[_0x127b06(0x1d4)](_0x434765)){let _0x56af99=_0x434765['renderRoot']?.[_0x127b06(0x1b5)]('[name=\x27'+_0x3093a8+'\x27]');ValueUtil['isNotEmpty'](_0x56af99)&&(_0x56af99[_0x127b06(0x1a1)]=_0x1df452);}}static[a0_0x2389b5(0x195)](_0x55df2f,_0x3ccc02,_0x316afc,_0x142836){return getEditor(_0x55df2f)('',_0x3ccc02,_0x316afc,_0x142836,{});}static[a0_0x2389b5(0x1b7)](_0x441b9d,_0x931e29){const _0x34739b=a0_0x2389b5;UiUtil[_0x34739b(0x1a9)](_0x441b9d)['value']=_0x931e29;}static['getLeafInput'](_0x4b1ba0){const _0x504cab=a0_0x2389b5;let _0x157bdc=_0x4b1ba0[_0x504cab(0x1ab)]();return _0x504cab(0x1a0)==_0x157bdc?_0x4b1ba0[_0x504cab(0x1d3)][_0x504cab(0x1b5)](_0x504cab(0x1d6)):_0x504cab(0x197)==_0x157bdc?_0x4b1ba0[_0x504cab(0x1d3)][_0x504cab(0x1b5)](_0x504cab(0x197)):_0x504cab(0x1b1)==_0x157bdc?_0x4b1ba0['renderRoot'][_0x504cab(0x1b5)](_0x504cab(0x1cc))[_0x504cab(0x1ce)]:_0x504cab(0x1c2)==_0x157bdc?_0x4b1ba0['renderRoot'][_0x504cab(0x1b5)](_0x504cab(0x19c))[_0x504cab(0x1d3)][_0x504cab(0x1b5)](_0x504cab(0x1d2)):_0x4b1ba0[_0x504cab(0x1d3)]['firstElementChild']['editor'];}}function a0_0x1fda(){const _0x5837a0=['textarea','length','createElement','dispatchEvent','app','ox-input-barcode','getStore','652232CloujP','htmlToElement','code-editor','value','currentLocale','size','19398942dKzuae','getParams','tagname','menu','openPopupByElement','getLeafInput','getApplicationModuleInfo','getType','10379032iAoJPV','childNodes','10MvpZmA','indexOf','i18next','select-combo','createCustomElement','parent_field','3799470RytBMD','querySelector','split','setValueToEditor','300520exMuOz','\x20route_name=\x27','453eXPscQ','replace','page','notify','onclosed','isMobileEnv','substring','openDynamicPopup','barcode','getState','\x27\x20\x20parent_id=\x27','showAlertPopup','4462178VANJNH','confirmButton','\x27></','46796VaDVPj','tButton','12wLqhET','ox-select','config','firstElementChild','name','template','type','input','renderRoot','isNotEmpty','popup_field','ox-input-code','ko-KR','cancelButton','currentRouting','cookie','content','createEditorHtml','forEach'];a0_0x1fda=function(){return _0x5837a0;};return a0_0x1fda();}
@@ -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_0x4851b7=a0_0x2df5;(function(_0x5a6d40,_0xe19646){const _0x1d0705=a0_0x2df5,_0x52ae37=_0x5a6d40();while(!![]){try{const _0x1f1f2b=parseInt(_0x1d0705(0x164))/0x1*(parseInt(_0x1d0705(0x15c))/0x2)+-parseInt(_0x1d0705(0x169))/0x3*(-parseInt(_0x1d0705(0x154))/0x4)+-parseInt(_0x1d0705(0x16b))/0x5+-parseInt(_0x1d0705(0x15a))/0x6+-parseInt(_0x1d0705(0x15e))/0x7+parseInt(_0x1d0705(0x15b))/0x8*(-parseInt(_0x1d0705(0x167))/0x9)+-parseInt(_0x1d0705(0x165))/0xa;if(_0x1f1f2b===_0xe19646)break;else _0x52ae37['push'](_0x52ae37['shift']());}catch(_0xa8d97c){_0x52ae37['push'](_0x52ae37['shift']());}}}(a0_0x41d1,0x27292));function a0_0x41d1(){const _0x2cfcb9=['86230iVSWio','populateArray','657DdFUXL','compareObjectValues','75RwclFB','forEach','56440NXQUKu','map','boolean','50860GUZpFc','getParams','keys','isEmpty','populateObject','number','1645848FjDUni','15432pSbwsZ','305818PGjkCw','string','197785zdXjxu','isEquals','toInteger','length','isNotEmpty','object','2JHWvBm'];a0_0x41d1=function(){return _0x2cfcb9;};return a0_0x41d1();}function a0_0x2df5(_0x48dd3e,_0x3bdac8){const _0x41d1f3=a0_0x41d1();return a0_0x2df5=function(_0x2df535,_0x369314){_0x2df535=_0x2df535-0x153;let _0x439bea=_0x41d1f3[_0x2df535];return _0x439bea;},a0_0x2df5(_0x48dd3e,_0x3bdac8);}import a0_0x4c843c from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x4851b7(0x157)](_0x381f25){const _0x53376b=a0_0x4851b7;if(void 0x0===_0x381f25)return!0x0;if(null===_0x381f25)return!0x0;if(_0x53376b(0x153)==typeof _0x381f25)return!0x1;if(_0x53376b(0x15d)==typeof _0x381f25||_0x53376b(0x159)==typeof _0x381f25){if(''==_0x381f25)return!0x0;}else{if(Array['isArray'](_0x381f25)){if(0x0==_0x381f25[_0x53376b(0x161)])return!0x0;}else{if(_0x53376b(0x163)==typeof _0x381f25&&0x0==Object[_0x53376b(0x156)](_0x381f25)[_0x53376b(0x161)])return!0x0;}}return!0x1;}static[a0_0x4851b7(0x162)](_0x2ba801){const _0x43d9b8=a0_0x4851b7;return!ValueUtil[_0x43d9b8(0x157)](_0x2ba801);}static[a0_0x4851b7(0x15f)](_0xa8ec36,_0x33db61){return a0_0x4c843c(_0xa8ec36,_0x33db61);}static[a0_0x4851b7(0x160)](_0x55ed4d,_0x125d85){return ValueUtil['isEmpty'](_0x55ed4d)?_0x125d85||0x0:parseInt(_0x55ed4d);}static['toBoolean'](_0x317f25){const _0x19cf86=a0_0x4851b7;return!ValueUtil[_0x19cf86(0x157)](_0x317f25)&&('true'==_0x317f25||'t'==_0x317f25||'TRUE'==_0x317f25||'T'==_0x317f25||'on'==_0x317f25||'ON'==_0x317f25);}static[a0_0x4851b7(0x168)](_0x5d53d4,_0x2dfa59,_0x4ec441){const _0x4cb8fb=a0_0x4851b7;let _0x5b8bbc=!0x0;return _0x4ec441[_0x4cb8fb(0x16a)](_0x13ec02=>{const _0x529e27=_0x4cb8fb;let _0x5b6685=_0x5d53d4[_0x13ec02];if('*'===_0x5b6685)return;let _0x436496=_0x2dfa59[_0x13ec02]||'';ValueUtil[_0x529e27(0x157)](_0x5b6685)?ValueUtil[_0x529e27(0x162)](_0x436496)&&(_0x5b8bbc=!0x1):_0x5b6685!=_0x436496&&(_0x5b8bbc=!0x1);}),_0x5b8bbc;}static['setParams'](_0x1f3d91,_0x55c7a4,_0xc1593c,_0x9372cf){const _0x5dcc6b=a0_0x4851b7;let _0x519f5a=ValueUtil[_0x5dcc6b(0x155)](_0x55c7a4,_0xc1593c);return ValueUtil['isNotEmpty'](_0x519f5a)&&(_0x1f3d91[_0xc1593c]=!0x0===_0x9372cf?TermsUtil['t'](_0x519f5a):_0x519f5a),_0x1f3d91;}static[a0_0x4851b7(0x155)](_0x7ceb94,..._0x270e9c){const _0x209d72=a0_0x4851b7;if(arguments[_0x209d72(0x161)]<=0x1)return;let _0x400a05=_0x270e9c[0x0];if(ValueUtil[_0x209d72(0x157)](_0x7ceb94[_0x400a05]))return;let _0x37e66b=_0x7ceb94[_0x400a05];return _0x270e9c[_0x209d72(0x161)]>0x1?ValueUtil['getParams'](_0x37e66b,..._0x270e9c['slice'](0x1)):_0x37e66b;}static[a0_0x4851b7(0x166)](_0x1145b5,_0x28325f,..._0x1b906b){const _0x396414=a0_0x4851b7;return _0x28325f=_0x28325f||[],_0x1b906b=_0x1b906b||Object[_0x396414(0x156)](_0x1145b5),ValueUtil[_0x396414(0x162)](_0x1b906b)&&(_0x28325f=_0x1145b5[_0x396414(0x16c)]((_0x51c461,_0x306000)=>{const _0x31e65c=_0x396414;let _0x3583d7=_0x28325f[_0x31e65c(0x161)]>_0x306000?_0x28325f[_0x306000]:{};return ValueUtil[_0x31e65c(0x158)](_0x51c461,_0x3583d7,_0x1b906b);})),_0x28325f;}static[a0_0x4851b7(0x158)](_0x4f06d9,_0x1253ce,..._0x3a4c7d){const _0x54e734=a0_0x4851b7;return _0x1253ce=_0x1253ce||{},_0x3a4c7d=_0x3a4c7d||Object[_0x54e734(0x156)](_0x4f06d9),ValueUtil[_0x54e734(0x162)](_0x3a4c7d)&&_0x3a4c7d[_0x54e734(0x16a)](_0x3837b4=>{_0x1253ce[_0x3837b4]=_0x4f06d9[_0x3837b4];}),_0x1253ce;}}
@@ -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 a0_0x3857(_0x657d1,_0x30100c){const _0x3002dc=a0_0x3002();return a0_0x3857=function(_0x3857f2,_0xe94efc){_0x3857f2=_0x3857f2-0x87;let _0x4af187=_0x3002dc[_0x3857f2];return _0x4af187;},a0_0x3857(_0x657d1,_0x30100c);}(function(_0x4e9201,_0x54341f){const _0x5c205c=a0_0x3857,_0x5aa705=_0x4e9201();while(!![]){try{const _0x1d7647=parseInt(_0x5c205c(0x8e))/0x1*(-parseInt(_0x5c205c(0x8b))/0x2)+-parseInt(_0x5c205c(0x88))/0x3*(parseInt(_0x5c205c(0x91))/0x4)+parseInt(_0x5c205c(0x8a))/0x5+parseInt(_0x5c205c(0x8d))/0x6*(-parseInt(_0x5c205c(0x8c))/0x7)+-parseInt(_0x5c205c(0x89))/0x8+-parseInt(_0x5c205c(0x90))/0x9*(-parseInt(_0x5c205c(0x8f))/0xa)+parseInt(_0x5c205c(0x87))/0xb;if(_0x1d7647===_0x54341f)break;else _0x5aa705['push'](_0x5aa705['shift']());}catch(_0x304eed){_0x5aa705['push'](_0x5aa705['shift']());}}}(a0_0x3002,0x55d24));import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -144,4 +144,4 @@ function a0_0x679b(){const _0x21a245=['14VRXxNx','150888mOFHCg','448055qdFdva','
144
144
  background-color: rgba(var(--secondary-color-rgb), 0.3);
145
145
  }
146
146
  }
147
- `;
147
+ `;function a0_0x3002(){const _0xcf2ddc=['125140xtCTwP','459XMaGhH','12BdYzqL','8975241TprnNl','474057idVvMt','2743704xAFpdt','1735505RDzjMu','4XFGauH','12215vCNaUj','48CjorSX','309371ItJPqF'];a0_0x3002=function(){return _0xcf2ddc;};return a0_0x3002();}
@@ -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_0x51b074=a0_0x57c0;(function(_0x189e40,_0x4f5535){const _0x1d79c1=a0_0x57c0,_0xb38191=_0x189e40();while(!![]){try{const _0x55d677=parseInt(_0x1d79c1(0x1fd))/0x1+-parseInt(_0x1d79c1(0x20e))/0x2+parseInt(_0x1d79c1(0x212))/0x3*(parseInt(_0x1d79c1(0x20a))/0x4)+-parseInt(_0x1d79c1(0x211))/0x5+-parseInt(_0x1d79c1(0x219))/0x6+-parseInt(_0x1d79c1(0x206))/0x7+parseInt(_0x1d79c1(0x217))/0x8;if(_0x55d677===_0x4f5535)break;else _0xb38191['push'](_0xb38191['shift']());}catch(_0x50b3a0){_0xb38191['push'](_0xb38191['shift']());}}}(a0_0x2469,0x4cefa));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';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x51b074(0x1f7)](){const _0x3a34b6=a0_0x51b074,{menus:_0x438f9f=[],activeTopLevel:_0x5c15ec,activeMenu:_0x47b48b}=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
+ ${_0x438f9f[_0x3a34b6(0x20d)](_0xc7ca29=>'group'==_0xc7ca29[_0x3a34b6(0x203)]?html``:html`
5
+ <li ?active=${_0xc7ca29===_0x5c15ec}>
6
+ <a href=${_0xc7ca29[_0x3a34b6(0x20c)]||'#'}>
7
+ ${_0xc7ca29['icon']?html`<mwc-icon>${_0xc7ca29[_0x3a34b6(0x1fe)]}</mwc-icon>`:html``} ${_0xc7ca29['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
+ ${_0xc7ca29[_0x3a34b6(0x1fa)]?.[_0x3a34b6(0x20d)](_0x17acb7=>html`
12
+ <li ?active=${_0x17acb7===_0x47b48b}>
13
+ <a href=${_0x17acb7[_0x3a34b6(0x20c)]||'#'}> ${_0x17acb7[_0x3a34b6(0x208)]} </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
+ ${_0xc7ca29[_0x3a34b6(0x1fe)]?html`<mwc-icon>${_0xc7ca29[_0x3a34b6(0x1fe)]}</mwc-icon>`:html``} ${_0xc7ca29[_0x3a34b6(0x207)]||''}
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_0x51b074(0x1f5)](){const _0x49f35=a0_0x51b074;this['renderRoot']['querySelector'](_0x49f35(0x210))['addEventListener'](_0x49f35(0x1f9),this[_0x49f35(0x202)]['bind'](this),!0x1),this[_0x49f35(0x216)][_0x49f35(0x209)]('click',_0x1e6e0f=>{const _0x46f162=_0x49f35;if(_0x1e6e0f['target'][_0x46f162(0x1f8)]){_0x1e6e0f[_0x46f162(0x1f4)](),_0x1e6e0f['preventDefault']();let _0x2a1caa=_0x1e6e0f[_0x46f162(0x20b)][_0x46f162(0x1f8)];return void this[_0x46f162(0x1f3)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x2a1caa?void 0x0:_0x2a1caa}));}let _0x2ed40d=_0x1e6e0f[_0x46f162(0x20b)][_0x46f162(0x20f)];_0x2ed40d&&location[_0x46f162(0x20f)]===_0x2ed40d&&navigate(_0x2ed40d+_0x46f162(0x1f2),!0x0);}),this[_0x49f35(0x216)][_0x49f35(0x209)](_0x49f35(0x205),_0x40dfc2=>{const _0x195aaf=_0x49f35;_0x40dfc2[_0x195aaf(0x20b)][_0x195aaf(0x1ff)](_0x195aaf(0x200));}),this[_0x49f35(0x216)][_0x49f35(0x209)](_0x49f35(0x1fb),_0x3007c2=>{const _0x34deef=_0x49f35;_0x3007c2['target'][_0x34deef(0x201)](_0x34deef(0x200),'');});}[a0_0x51b074(0x202)](_0x30e7a3){const _0xff9820=a0_0x51b074,_0x8ee745=_0x30e7a3['currentTarget'];var _0x575820=Math[_0xff9820(0x218)](-0x1,Math[_0xff9820(0x204)](0x1,_0x30e7a3[_0xff9820(0x1f6)]||-_0x30e7a3['detail']));_0x8ee745[_0xff9820(0x215)]-=0xa*_0x575820,_0x30e7a3[_0xff9820(0x214)]();}}function a0_0x57c0(_0x4a7f3d,_0x43563d){const _0x2469e3=a0_0x2469();return a0_0x57c0=function(_0x57c0a0,_0x366a8b){_0x57c0a0=_0x57c0a0-0x1f2;let _0x4430a6=_0x2469e3[_0x57c0a0];return _0x4430a6;},a0_0x57c0(_0x4a7f3d,_0x43563d);}function a0_0x2469(){const _0x4506b7=['icon','removeAttribute','settled','setAttribute','onWheelEvent','type','min','transitionstart','2852003DTwfOg','description','name','addEventListener','1211300OasniD','target','path','map','589152dtRhWc','href','#wrap','1478725wfKCOs','3MGSUqd','dynamic-menu-landscape','preventDefault','scrollLeft','renderRoot','6471496KkrmLM','max','1044882SUoLxL','#force','dispatchEvent','stopPropagation','firstUpdated','wheelDelta','render','submenu','mousewheel','menus','transitionend','define','375265TFWdcQ'];a0_0x2469=function(){return _0x4506b7;};return a0_0x2469();}customElements[a0_0x51b074(0x1fc)](a0_0x51b074(0x213),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
+ function a0_0x3bc9(_0x2eee61,_0x47a33c){var _0x1b59c8=a0_0x1b59();return a0_0x3bc9=function(_0x3bc941,_0x5b54ba){_0x3bc941=_0x3bc941-0xc4;var _0x4f17ff=_0x1b59c8[_0x3bc941];return _0x4f17ff;},a0_0x3bc9(_0x2eee61,_0x47a33c);}var a0_0x398be8=a0_0x3bc9;(function(_0x224b37,_0x5ba986){var _0x1ce945=a0_0x3bc9,_0x4c9ba5=_0x224b37();while(!![]){try{var _0x29e532=-parseInt(_0x1ce945(0xdd))/0x1+-parseInt(_0x1ce945(0xce))/0x2+parseInt(_0x1ce945(0xc5))/0x3*(-parseInt(_0x1ce945(0xcb))/0x4)+-parseInt(_0x1ce945(0xc9))/0x5+parseInt(_0x1ce945(0xcd))/0x6+parseInt(_0x1ce945(0xdc))/0x7*(parseInt(_0x1ce945(0xe5))/0x8)+parseInt(_0x1ce945(0xe2))/0x9*(parseInt(_0x1ce945(0xcf))/0xa);if(_0x29e532===_0x5ba986)break;else _0x4c9ba5['push'](_0x4c9ba5['shift']());}catch(_0x298bb6){_0x4c9ba5['push'](_0x4c9ba5['shift']());}}}(a0_0x1b59,0xc8d17));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 a0_0x1b59(){var _0x1792cc=['_path','167155RucDGg','active','8XSSLoa','metaUI','2649606OQMCwt','1334930ejGlNg','40uDoFmN','call','page','landscape','function','_activeMenu','firstUpdated','slotTemplate','has','preventDefault','orientation','addEventListener','dynamic-menu-part','2037zQqoWb','462736yabKgm','_findActivePage','menus','path','render','1914408zQScUR','resourceId','split','20736nveIIa','replaceChild','find','removeAttribute','renderRoot','route','90807OGpgEV','stateChanged','_activeTopLevel'];a0_0x1b59=function(){return _0x1792cc;};return a0_0x1b59();}function isActiveMenu(_0x594214,_0x311077){var _0x263dc4=a0_0x3bc9;return _0x594214[_0x263dc4(0xe0)]?.[_0x263dc4(0xe4)]('?')[0x0]===_0x311077||_0x594214[_0x263dc4(0xca)]&&_0x263dc4(0xd3)==typeof _0x594214[_0x263dc4(0xca)]&&_0x594214[_0x263dc4(0xca)][_0x263dc4(0xd0)](_0x594214,{'path':_0x311077});}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['styles'](){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_0x398be8(0xe1)](){var _0x2f7e23=a0_0x398be8;return html`
31
31
  <slot name="head"></slot>
32
32
  ${'landscape'!==this['orientation']?html`<dynamic-menu-portrait
33
- .menus=${this[_0x597860(0x109)]}
33
+ .menus=${this[_0x2f7e23(0xdf)]}
34
34
  .activeTopLevel=${this['_activeTopLevel']}
35
- .activeMenu=${this[_0x597860(0x11c)]}
36
- .path=${this[_0x597860(0x129)]}
35
+ .activeMenu=${this[_0x2f7e23(0xd4)]}
36
+ .path=${this['_path']}
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[_0x2f7e23(0xdf)]}
39
+ .activeTopLevel=${this[_0x2f7e23(0xc7)]}
40
+ .activeMenu=${this[_0x2f7e23(0xd4)]}
41
+ .path=${this[_0x2f7e23(0xc8)]}
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_0x398be8(0xd5)](){var _0x49ce80=a0_0x398be8;this[_0x49ce80(0xe9)][_0x49ce80(0xda)]('active-toplevel',_0xa012e0=>{var _0xc0e55d=_0x49ce80;_0xa012e0['stopPropagation'](),_0xa012e0[_0xc0e55d(0xd8)](),this['_activeTopLevel']=_0xa012e0['detail'];});}['updated'](_0x111d44){var _0x43e8ef=a0_0x398be8;(_0x111d44[_0x43e8ef(0xd7)](_0x43e8ef(0xdf))||_0x111d44[_0x43e8ef(0xd7)](_0x43e8ef(0xd1))||_0x111d44['has'](_0x43e8ef(0xe3)))&&this[_0x43e8ef(0xde)](),_0x111d44['has'](_0x43e8ef(0xd9))&&('portrait'==this[_0x43e8ef(0xd9)]?this[_0x43e8ef(0xe8)](_0x43e8ef(0xd2)):this['setAttribute'](_0x43e8ef(0xd2),!0x0)),_0x111d44['has']('slotTemplate')&&this[_0x43e8ef(0xe6)](this[_0x43e8ef(0xd6)]);}[a0_0x398be8(0xc6)](_0x9a53a7){var _0x5bab22=a0_0x398be8;this[_0x5bab22(0xd1)]=_0x9a53a7[_0x5bab22(0xc4)][_0x5bab22(0xd1)],this['resourceId']=_0x9a53a7[_0x5bab22(0xc4)]['resourceId'],this[_0x5bab22(0xdf)]=_0x9a53a7['metaUI']['menus']||[],this['slotTemplate']=_0x9a53a7[_0x5bab22(0xcc)][_0x5bab22(0xd6)];}['_findActivePage'](){var _0x285657=a0_0x398be8,_0xabb628,_0x4aa026=this['resourceId']?this[_0x285657(0xd1)]+'/'+this['resourceId']:this[_0x285657(0xd1)],_0x560335=this['menus']||[];this[_0x285657(0xc7)]=_0x560335[_0x285657(0xe7)](_0x2554d4=>isActiveMenu(_0x2554d4,_0x4aa026)?(_0xabb628=_0x2554d4,!0x0):_0x2554d4[_0x285657(0xdf)]?!!(_0xabb628=_0x2554d4[_0x285657(0xdf)][_0x285657(0xe7)](_0x294fe1=>isActiveMenu(_0x294fe1,_0x4aa026))):void 0x0),this[_0x285657(0xc8)]=_0x4aa026,this['_activeMenu']=_0xabb628||this[_0x285657(0xc7)];}}customElements['define'](a0_0x398be8(0xdb),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 a0_0xe4fc(){const _0x2d2900=['10636Acvnsq','14330160jqxsIa','647718KVeSAY','78ADihvT','303597LOFSio','1005OPlUKW','3784528frgVxp','197550ArHroc','268540GChONS'];a0_0xe4fc=function(){return _0x2d2900;};return a0_0xe4fc();}(function(_0x577ba4,_0x5941a8){const _0x23c22c=a0_0x3a4b,_0x296290=_0x577ba4();while(!![]){try{const _0x4cfabb=parseInt(_0x23c22c(0x92))/0x1+-parseInt(_0x23c22c(0x91))/0x2+parseInt(_0x23c22c(0x8c))/0x3+-parseInt(_0x23c22c(0x93))/0x4*(-parseInt(_0x23c22c(0x8f))/0x5)+-parseInt(_0x23c22c(0x8d))/0x6*(-parseInt(_0x23c22c(0x8e))/0x7)+parseInt(_0x23c22c(0x90))/0x8+-parseInt(_0x23c22c(0x94))/0x9;if(_0x4cfabb===_0x5941a8)break;else _0x296290['push'](_0x296290['shift']());}catch(_0xeeb296){_0x296290['push'](_0x296290['shift']());}}}(a0_0xe4fc,0x590eb));function a0_0x3a4b(_0x451437,_0x4034e8){const _0xe4fc6=a0_0xe4fc();return a0_0x3a4b=function(_0x3a4b01,_0x511c22){_0x3a4b01=_0x3a4b01-0x8c;let _0x817b45=_0xe4fc6[_0x3a4b01];return _0x817b45;},a0_0x3a4b(_0x451437,_0x4034e8);}import{css}from'lit';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
+ function a0_0x1bf8(){const _0x4dda28=['closest','dynamic-menu-portrait','settled','menu','#force','2561223NNUfWQ','call','define','2398986FqRKOP','renderRoot','dispatchEvent','addEventListener','[menu]','group','renderMenus','2300gbIwHZ','6FrjmFd','map','165AlFavi','transitionstart','6892823lyAxRV','path','properties','531000knEknZ','stopPropagation','835599tHFkta','length','preventDefault','target','2AWMKks','styles','7452540UiMERK','href','2136TzbuDH','firstUpdated','8wgMLic'];a0_0x1bf8=function(){return _0x4dda28;};return a0_0x1bf8();}const a0_0x43b5ef=a0_0x4adc;(function(_0x30d204,_0x5e2b47){const _0x5437ce=a0_0x4adc,_0x3674c5=_0x30d204();while(!![]){try{const _0x30a950=parseInt(_0x5437ce(0xac))/0x1*(parseInt(_0x5437ce(0x8c))/0x2)+parseInt(_0x5437ce(0x98))/0x3+-parseInt(_0x5437ce(0x90))/0x4*(-parseInt(_0x5437ce(0xa2))/0x5)+-parseInt(_0x5437ce(0xa3))/0x6*(parseInt(_0x5437ce(0xa7))/0x7)+parseInt(_0x5437ce(0x92))/0x8*(-parseInt(_0x5437ce(0x9b))/0x9)+-parseInt(_0x5437ce(0x8e))/0xa+-parseInt(_0x5437ce(0xa5))/0xb*(-parseInt(_0x5437ce(0xaa))/0xc);if(_0x30a950===_0x5e2b47)break;else _0x3674c5['push'](_0x3674c5['shift']());}catch(_0x2fdfaa){_0x3674c5['push'](_0x3674c5['shift']());}}}(a0_0x1bf8,0x93079));import'@material/mwc-icon';function a0_0x4adc(_0x41ebd7,_0x46328c){const _0x1bf8d1=a0_0x1bf8();return a0_0x4adc=function(_0x4adcc3,_0x101e6e){_0x4adcc3=_0x4adcc3-0x89;let _0x412136=_0x1bf8d1[_0x4adcc3];return _0x412136;},a0_0x4adc(_0x41ebd7,_0x46328c);}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_0x43b5ef(0x8d)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x43b5ef(0xa9)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x43b5ef(0xa1)](_0x435c61,_0x96a426,_0x4cff6a){const _0x2e5d4f=a0_0x43b5ef;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
+ ${_0x435c61[_0x2e5d4f(0xa4)](_0x26b4f4=>{const _0x4b77cc=_0x2e5d4f;var {type:_0x42fa84,active:_0x214418,path:_0x32214b,name:_0x5a0b65,badge:_0x5c5a87,icon:_0x276b14,menus:_0x1e8372}=_0x26b4f4;return _0x214418=!(!_0x214418||'function'!=typeof _0x214418)&&_0x214418[_0x4b77cc(0x99)](_0x26b4f4,{'path':this[_0x4b77cc(0xa8)]}),_0x5c5a87='function'==typeof _0x5c5a87?_0x5c5a87[_0x4b77cc(0x99)](_0x26b4f4):_0x5c5a87??!0x1,_0x4b77cc(0xa0)==_0x42fa84?html`<li group-label>${_0x5a0b65}</li>`:html`
4
+ <li ?active=${_0x96a426?_0x26b4f4===_0x96a426:_0x214418} .menu=${_0x26b4f4} menu>
5
+ <a href=${_0x32214b||'#'}>
6
+ ${_0x1e8372?.[_0x4b77cc(0x89)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x276b14}</mwc-icon>
8
+ ${_0x5a0b65} ${!0x1!==_0x5c5a87?html`<div badge>${_0x5c5a87}</div>`:html``}
9
9
  </a>
10
- ${_0x2ce850&&this[_0x3e097c(0xdb)](_0x2ce850,_0x57eb33)}
10
+ ${_0x1e8372&&this[_0x4b77cc(0xa1)](_0x1e8372,_0x4cff6a)}
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 _0x1b3c48=a0_0x43b5ef,{menus:_0x9a6e18,activeTopLevel:_0x1127f3,activeMenu:_0x519a55}=this;return this[_0x1b3c48(0xa1)](_0x9a6e18,_0x1127f3,_0x519a55);}[a0_0x43b5ef(0x91)](){const _0x187799=a0_0x43b5ef;this[_0x187799(0x9c)]['addEventListener']('click',_0x17dbdf=>{const _0x1bf7d0=_0x187799,_0x245557=_0x17dbdf[_0x1bf7d0(0x8b)][_0x1bf7d0(0x93)](_0x1bf7d0(0x9f));if(_0x245557?.[_0x1bf7d0(0x96)]){let _0x2416ca=_0x245557['menu'];_0x2416ca[_0x1bf7d0(0xa8)]||(_0x17dbdf[_0x1bf7d0(0xab)](),_0x17dbdf[_0x1bf7d0(0x8a)]()),this[_0x1bf7d0(0x9d)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x2416ca?void 0x0:_0x2416ca}));}let _0x325b09=_0x17dbdf[_0x1bf7d0(0x8b)][_0x1bf7d0(0x8f)];_0x325b09&&location[_0x1bf7d0(0x8f)]===_0x325b09&&navigate(_0x325b09+_0x1bf7d0(0x97),!0x0);}),this[_0x187799(0x9c)]['addEventListener'](_0x187799(0xa6),_0x3336ce=>{const _0x344446=_0x187799;_0x3336ce['target']['removeAttribute'](_0x344446(0x95));}),this['renderRoot'][_0x187799(0x9e)]('transitionend',_0x51f61b=>{const _0x40da9c=_0x187799;_0x51f61b['target']['setAttribute'](_0x40da9c(0x95),'');});}}customElements[a0_0x43b5ef(0x9a)](a0_0x43b5ef(0x94),DynamicMenuPortrait);