@things-factory/meta-ui 6.1.19 → 6.1.21

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 (92) 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 +9 -9
  4. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  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 +6 -6
  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/mixin/meta-base-mixin.js +1 -1
  16. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  17. package/client/mixin/meta-button-mixin.js +1 -1
  18. package/client/mixin/meta-form-mixin.js +1 -1
  19. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  20. package/client/mixin/meta-main-tab-mixin.js +1 -1
  21. package/client/mixin/meta-master-detail-mixin.js +1 -1
  22. package/client/mixin/meta-service-mixin.js +1 -1
  23. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  24. package/client/mixin/meta-tab-mixin.js +1 -1
  25. package/client/pages/activity/meta-activity-list-page.js +6 -6
  26. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  27. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  28. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  29. package/client/pages/entity/config-entity.js +28 -28
  30. package/client/pages/entity/main-menu-selector.js +8 -8
  31. package/client/pages/history/history-copy-list-popup.js +5 -5
  32. package/client/pages/history/history-json-list-popup.js +6 -6
  33. package/client/pages/loading-page.js +5 -5
  34. package/client/pages/menu/dynamic-menu-template.js +7 -7
  35. package/client/pages/menu/dynamic-menu.js +14 -14
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +6 -6
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/meta-api.js +1 -1
  54. package/client/utils/meta-crypto.js +1 -1
  55. package/client/utils/meta-ui-util.js +103 -103
  56. package/client/utils/service-util.js +13 -13
  57. package/client/utils/terms-util.js +2 -2
  58. package/client/utils/ui-util.js +1 -1
  59. package/client/utils/value-util.js +1 -1
  60. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  62. package/client/viewparts/dynamic-menu-part.js +12 -12
  63. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  64. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  65. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  66. package/package.json +2 -2
  67. package/server/activity/CommonActivity.js +2 -2
  68. package/server/constants/error-code.js +1 -1
  69. package/server/errors/license-error.js +1 -1
  70. package/server/routes.js +1 -1
  71. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize.js +1 -1
  76. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  77. package/server/service/meta-activity/meta-activity-query.js +1 -1
  78. package/server/service/meta-activity/meta-activity-type.js +1 -1
  79. package/server/service/meta-secret/meta-resolver.js +1 -1
  80. package/server/service/set-translations/set-translation-resolver.js +1 -1
  81. package/server/service/work-code/work-code-mutation.js +1 -1
  82. package/server/service/work-code/work-code-query.js +1 -1
  83. package/server/service/work-code/work-code-type.js +1 -1
  84. package/server/service/work-code/work-code.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail.js +1 -1
  89. package/translations/en.json +1 -0
  90. package/translations/ko.json +1 -0
  91. package/translations/ms.json +1 -0
  92. package/translations/zh.json +1 -0
@@ -1,4 +1,4 @@
1
- function a0_0x112c(_0x52d7d6,_0x439d07){const _0x2e8e04=a0_0x2e8e();return a0_0x112c=function(_0x112c20,_0x29e69d){_0x112c20=_0x112c20-0xfc;let _0x334338=_0x2e8e04[_0x112c20];return _0x334338;},a0_0x112c(_0x52d7d6,_0x439d07);}const a0_0x24e109=a0_0x112c;function a0_0x2e8e(){const _0x3049b8=['columns','value','arrangeMenuRoutes','button.delete','updatedAt','menuType','type','menus','badge','menu.id','name','success\x20to\x20delete','createdAt','path','tMenu','__seq__','hidden','buildArgs','__dirty__','draft-list','title','selected','query','error','undefined','info','getCodeSelectorData','getCodeByEntity','xlsx','checkClientError','__selected__','cuFlag','approval-pending-list','runScenario','__dirtyfields__','object','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','fetch','4360kGsitj','routing','networkError','89355yVlgsA','callScenario','findOne','confirm','deleteListByGristSelected','1rxBmBb','id,template','getWorkCodeByName','showAlertPopup','active','total','template','updateMultipleData','numberOfApprovalPendings','noteq','filter','3800744VAIBLP','showGraphqlException','tText','imex','patchesForUpdateMultiple','delete','10maMIjk','5058akrHPz','iconPath','text.there_is_nothing_to_delete','4926988mwTUwM','GROUP','splice','Graphql\x20Error','category','reduce','deleteListByIds','isArray','code','22184412WPdhly','findIndex','success\x20to\x20process','codeItems','MENU','searchByPagination','showToast','button.','rank','items','details','621576CeAENC','9eXUWXr','extensions','3141229xBmhni','12XlpKPD','result','HOME','success\x20to\x20save','display','workCodeByName','text.nothing_selected','text.nothing_changed','gutter','includes','parse','isNotEmpty','key','errors','text.are_you_sure','creator','length','records','HIDDEN-PAGE','question','test','getCodeByScenario','getSelectedIdList','map','dirtyRecords','cancel','hiddenFlag','_config','description','showGraphqlErrorResponse','text.NOTHING_CHANGED','numberOfDrafts','data','gridPersonalizeTemplates','message','routingType','numberOfToDos','sort','forEach','unshift','children','resourceUrl','push','isEmpty','parent','updateMultiple'];a0_0x2e8e=function(){return _0x3049b8;};return a0_0x2e8e();}(function(_0x4fa2bd,_0xae226c){const _0x528352=a0_0x112c,_0x57ed03=_0x4fa2bd();while(!![]){try{const _0x587946=-parseInt(_0x528352(0x169))/0x1*(parseInt(_0x528352(0x109))/0x2)+parseInt(_0x528352(0x164))/0x3*(parseInt(_0x528352(0x10d))/0x4)+parseInt(_0x528352(0x161))/0x5*(-parseInt(_0x528352(0x17b))/0x6)+parseInt(_0x528352(0x10c))/0x7+-parseInt(_0x528352(0x174))/0x8*(parseInt(_0x528352(0x10a))/0x9)+-parseInt(_0x528352(0x17a))/0xa*(parseInt(_0x528352(0x17e))/0xb)+parseInt(_0x528352(0xfe))/0xc;if(_0x587946===_0xae226c)break;else _0x57ed03['push'](_0x57ed03['shift']());}catch(_0x5eee50){_0x57ed03['push'](_0x57ed03['shift']());}}}(a0_0x2e8e,0x6607e));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x515707 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x491032 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async['codeItems'](_0x4725f4){const _0x442084=a0_0x112c;if(Array[_0x442084(0xfc)](_0x4725f4))return _0x4725f4[_0x442084(0x124)](_0x421317=>_0x442084(0x15e)==typeof _0x421317?{'name':_0x421317['value'],'description':_0x421317[_0x442084(0x111)]}:{'name':_0x421317,'description':_0x421317});let _0x162b20=await ServiceUtil['getWorkCodeByName'](_0x4725f4);return _0x162b20&&_0x162b20[_0x442084(0x11d)]>0x0?_0x162b20:await getCodeByName(_0x4725f4);}static async[a0_0x24e109(0x16b)](_0x2efe35){const _0x55c530=a0_0x24e109,_0x2c6483=await client[_0x55c530(0x151)]({'query':a0_0x515707`
1
+ const a0_0x2f1074=a0_0xe5e3;(function(_0x48a6e8,_0x4a7e43){const _0x49788b=a0_0xe5e3,_0x28c973=_0x48a6e8();while(!![]){try{const _0xc93b96=parseInt(_0x49788b(0x225))/0x1*(parseInt(_0x49788b(0x1c1))/0x2)+-parseInt(_0x49788b(0x21c))/0x3*(parseInt(_0x49788b(0x21d))/0x4)+-parseInt(_0x49788b(0x20d))/0x5+-parseInt(_0x49788b(0x20c))/0x6*(-parseInt(_0x49788b(0x1f7))/0x7)+parseInt(_0x49788b(0x1e8))/0x8+parseInt(_0x49788b(0x227))/0x9+-parseInt(_0x49788b(0x1cc))/0xa;if(_0xc93b96===_0x4a7e43)break;else _0x28c973['push'](_0x28c973['shift']());}catch(_0x834420){_0x28c973['push'](_0x28c973['shift']());}}}(a0_0x21ae,0x267d2));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';function a0_0xe5e3(_0x4b52a4,_0x19d59f){const _0x21aee1=a0_0x21ae();return a0_0xe5e3=function(_0xe5e353,_0x29e225){_0xe5e353=_0xe5e353-0x1ba;let _0x2c3991=_0x21aee1[_0xe5e353];return _0x2c3991;},a0_0xe5e3(_0x4b52a4,_0x19d59f);}import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x14a0c5 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x5387fc from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';function a0_0x21ae(){const _0x1513ce=['menuType','myDynamicMenus','text.nothing_selected','checkClientError','gridPersonalizeTemplates','fetch','todo-list','189qqvNLg','updater','\x0a\x20\x20\x20\x20\x20\x20','approval-pending-list','split','menus','getCodeByEntity','tMenu','filter','text.NOTHING_CHANGED','imex','getCodeSelectorData','patchesForUpdateMultiple','details','__dirty__','updateMultipleData','dispatch','updatedAt','text.are_you_sure','searchMyDynamicMenus','records','11226VNFNGS','199035KuITXm','hiddenFlag','sort','includes','path','numberOfDrafts','findOne','message','\x0a\x20\x20\x20\x20','callScenario','value','object','draft-list','resourceUrl','numberOfApprovalPendings','14682beoOOe','112wEYaAB','push','buildArgs','exportableData','cancel','record','workCodeByName','name','23103AIQUiR','SCREEN','1989648pdRnYR','searchByPagination','tText','category','rank','map','creator','networkError','xlsx','extensions','query','length','runScenario','searchMenuGridPersnalTemplate','button.','numberOfToDos','getSelectedIdList','getWorkCodeByName','error','total','updateMultiple','badge','columns','__selected__','undefined','find','confirm','showGraphqlException','codeItems','button.delete','errors','20GTGmbD','routingType','splice','id,template','data','reduce','showAlertPopup','iconPath','menu.id','forEach','items','4279600NIpgpy','success\x20to\x20process','children','routing','getCodeByScenario','type','__seq__','success\x20to\x20save','unshift','arrangeMenuRoutes','gutter','display','isNotEmpty','question','text.nothing_changed','GROUP','deleteListByIds','key','cuFlag','result','_config','showGraphqlErrorResponse','findIndex','test','description','template','__dirtyfields__','info','2078640QluFlU','MENU','parent','group','HOME','\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','showToast','isEmpty'];a0_0x21ae=function(){return _0x1513ce;};return a0_0x21ae();}export class ServiceUtil{static async['codeItems'](_0x50388c){const _0x23483c=a0_0xe5e3;if(Array['isArray'](_0x50388c))return _0x50388c[_0x23483c(0x22c)](_0x3f5e79=>'object'==typeof _0x3f5e79?{'name':_0x3f5e79['value'],'description':_0x3f5e79[_0x23483c(0x1d7)]}:{'name':_0x3f5e79,'description':_0x3f5e79});let _0x37e3ae=await ServiceUtil[_0x23483c(0x238)](_0x50388c);return _0x37e3ae&&_0x37e3ae[_0x23483c(0x232)]>0x0?_0x37e3ae:await getCodeByName(_0x50388c);}static async[a0_0x2f1074(0x238)](_0x33a30b){const _0x2dd098=a0_0x2f1074,_0x154a4b=await client[_0x2dd098(0x231)]({'query':a0_0x14a0c5`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ function a0_0x112c(_0x52d7d6,_0x439d07){const _0x2e8e04=a0_0x2e8e();return a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x2efe35},'context':gqlContext()});return!_0x2c6483[_0x55c530(0x11a)]&&_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)]&&_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)]['details']?_0x2c6483[_0x55c530(0x12d)][_0x55c530(0x112)][_0x55c530(0x108)][_0x55c530(0x132)]((_0x45aaf6,_0x4ae497)=>_0x45aaf6['rank']-_0x4ae497[_0x55c530(0x106)]):[];}static async[a0_0x24e109(0x155)](_0x3b13ad){const _0x467a0d=a0_0x24e109;let _0x138ba4=(await ServiceUtil[_0x467a0d(0x101)](_0x3b13ad))[_0x467a0d(0x124)](_0x43767c=>({'value':_0x43767c[_0x467a0d(0x145)],'display':_0x43767c[_0x467a0d(0x129)]}));return _0x138ba4[_0x467a0d(0x134)]({'value':'','display':''}),_0x138ba4;}static async[a0_0x24e109(0x122)](_0xcadc0e,_0xbf0814){const _0x2250e=a0_0x24e109;let _0x177250=await ServiceUtil[_0x2250e(0x165)](null,_0xcadc0e,_0xbf0814);return _0x177250[_0x2250e(0x134)]({'value':'','display':''}),_0x177250[_0x2250e(0x124)](_0xbb177c=>({'value':_0xbb177c[_0x2250e(0x145)],'display':_0xbb177c[_0x2250e(0x129)]}));}static async[a0_0x24e109(0x156)]({queryName:_0x43c762,codeField:_0x39f7e9=a0_0x24e109(0x145),dispField:_0x429dd3=a0_0x24e109(0x129),filters:_0x9b6fae=[],sorters:_0x5f449b=[]}){const _0x31f15d=a0_0x24e109;let _0x2fbeef='\x0a\x20\x20\x20\x20\x20\x20'+_0x39f7e9+'\x0a\x20\x20\x20\x20\x20\x20'+_0x429dd3+'\x0a\x20\x20\x20\x20',_0x256ada=await ServiceUtil['searchByPagination'](_0x43c762,_0x9b6fae,_0x5f449b,0x0,0x0,_0x2fbeef),_0x3d2a38=[{'value':'','display':''}];return _0x256ada['records'][_0x31f15d(0x133)](_0x49b431=>{const _0x5a5197=_0x31f15d;_0x3d2a38[_0x5a5197(0x137)]({'value':_0x49b431[_0x39f7e9],'display':_0x49b431[_0x429dd3]});}),_0x3d2a38;}static async['myDynamicMenus'](){const _0x1ad347=a0_0x24e109;let _0x20938d=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x20938d?ServiceUtil[_0x1ad347(0x13d)](_0x20938d):null;}static async['searchMenuGridPersnalTemplate'](_0x554a52){const _0x480d63=a0_0x24e109;let _0x1b0fec=[{'name':_0x480d63(0x144),'operator':'eq','value':_0x554a52}],_0x1547d1=await ServiceUtil[_0x480d63(0x103)](_0x480d63(0x12e),_0x1b0fec,[],0x0,0x0,_0x480d63(0x16a));return 0x0==_0x1547d1['total']?{}:{'id':_0x1547d1[_0x480d63(0x11e)][0x0]['id'],'template':JSON[_0x480d63(0x117)](_0x1547d1['records'][0x0][_0x480d63(0x16f)])};}static[a0_0x24e109(0x13d)](_0x3f9fdc){const _0x22dd2c=a0_0x24e109;let _0x5c0119=[];_0x3f9fdc[_0x22dd2c(0x133)](_0x16b85a=>{const _0x42cffc=_0x22dd2c;_0x5c0119['push'](_0x16b85a),_0x16b85a[_0x42cffc(0x135)]&&(_0x16b85a[_0x42cffc(0x135)][_0x42cffc(0x132)](function(_0x6ac7c2,_0x5ab912){const _0x4b8549=_0x42cffc;return _0x6ac7c2[_0x4b8549(0x106)]-_0x5ab912[_0x4b8549(0x106)];}),_0x16b85a[_0x42cffc(0x135)]['forEach'](_0x5352d0=>{const _0x205bfd=_0x42cffc;0x1!=_0x5352d0[_0x205bfd(0x127)]&&(_0x5352d0[_0x205bfd(0x139)]=_0x16b85a,_0x5c0119[_0x205bfd(0x137)](_0x5352d0));}));});let _0x18bf02=_0x5c0119[_0x22dd2c(0x124)](_0x3ef8fd=>{const _0x41ca92=_0x22dd2c;if('GROUP'==_0x3ef8fd[_0x41ca92(0x140)]||_0x41ca92(0x102)==_0x3ef8fd[_0x41ca92(0x140)]){let _0x462b02={'id':_0x3ef8fd['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x3ef8fd[_0x41ca92(0x145)]),'icon':_0x3ef8fd[_0x41ca92(0x17c)],'type':_0x41ca92(0x17f)==_0x3ef8fd[_0x41ca92(0x140)]?'group':'','menus':[]};return _0x3ef8fd[_0x41ca92(0x162)]&&(_0x462b02[_0x41ca92(0x148)]=_0x3ef8fd[_0x41ca92(0x162)]),_0x462b02;}return{'id':'0'};})[_0x22dd2c(0x173)](_0x466f77=>'0'!=_0x466f77['id']),_0x3fe9ea=_0x5c0119['map'](_0x23b31a=>{const _0x7981eb=_0x22dd2c;if('SCREEN'==_0x23b31a[_0x7981eb(0x140)]||_0x7981eb(0x11f)==_0x23b31a['menuType']){let _0x7638a8=_0x18bf02['find'](_0x5cbf98=>_0x5cbf98['id']==_0x23b31a[_0x7981eb(0x139)]['id']);if(_0x7638a8){let _0x5b90f8=TermsUtil[_0x7981eb(0x149)](_0x23b31a[_0x7981eb(0x145)]);return'SCREEN'==_0x23b31a[_0x7981eb(0x140)]&&_0x7638a8[_0x7981eb(0x142)][_0x7981eb(0x137)]({'id':_0x23b31a['id'],'name':_0x5b90f8,'path':_0x23b31a[_0x7981eb(0x162)],'icon':_0x23b31a[_0x7981eb(0x17c)]}),{'id':_0x23b31a['id'],'parent':!0x1,'parent_id':_0x7638a8['id'],'title':_0x5b90f8,'tagname':_0x23b31a['category'],'page':_0x23b31a['routing'],'template':_0x23b31a['resourceUrl'],'routing_type':_0x23b31a[_0x7981eb(0x130)]};}return{'id':'0'};}return _0x7981eb(0x10f)==_0x23b31a[_0x7981eb(0x140)]?{'id':_0x23b31a['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x23b31a[_0x7981eb(0x145)]),'tagname':_0x23b31a[_0x7981eb(0x182)],'page':_0x23b31a[_0x7981eb(0x162)],'template':_0x23b31a[_0x7981eb(0x136)],'routing_type':_0x23b31a['routingType']}:{'id':'0'};})['filter'](_0x376a5d=>null!=_0x376a5d&&'0'!=_0x376a5d['id']);_0x18bf02[_0x22dd2c(0x173)](_0x4f8eab=>'group'==_0x4f8eab[_0x22dd2c(0x141)]&&_0x4f8eab[_0x22dd2c(0x142)]&&_0x4f8eab[_0x22dd2c(0x142)][_0x22dd2c(0x11d)]>0x0)[_0x22dd2c(0x133)](_0x2898e3=>{const _0x487424=_0x22dd2c;let _0x2d6b79=_0x18bf02[_0x487424(0xff)](_0x58fa52=>_0x58fa52['id']==_0x2898e3['id'])+0x1;_0x18bf02[_0x487424(0x180)](_0x2d6b79,0x0,..._0x2898e3['menus']);});let _0x4180c6=0x0;return _0x18bf02[_0x22dd2c(0x133)](_0x29c544=>{const _0x2c0e3f=_0x22dd2c;'todo-list'==_0x29c544['path']?(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x131))),_0x29c544[_0x2c0e3f(0x16d)]=({path:_0x377cb3})=>/^activity\//['test'](_0x377cb3)):_0x2c0e3f(0x15b)==_0x29c544['path']?(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x171))),_0x29c544[_0x2c0e3f(0x16d)]=({path:_0x52cfe6})=>/^activity\//[_0x2c0e3f(0x121)](_0x52cfe6)):_0x2c0e3f(0x14e)==_0x29c544[_0x2c0e3f(0x148)]&&(_0x4180c6++,_0x29c544[_0x2c0e3f(0x143)]=()=>asyncReplace(generateActivitySummary(_0x2c0e3f(0x12c))));}),_0x4180c6>0x0&&startSubscribeActivitySummary(),{'menus':_0x18bf02,'routes':_0x3fe9ea};}static async['searchMyDynamicMenus'](){const _0x4c40ab=a0_0x24e109;let _0x4ca0c9=await ServiceUtil[_0x4c40ab(0x103)]('menus',[{'name':_0x4c40ab(0x127),'operator':_0x4c40ab(0x172),'value':!0x0},{'name':_0x4c40ab(0x140),'operator':'in','value':[_0x4c40ab(0x10f),_0x4c40ab(0x102),_0x4c40ab(0x17f)]}],[{'name':_0x4c40ab(0x106)}],0x0,0x0,_0x4c40ab(0x15f));return _0x4ca0c9?_0x4ca0c9[_0x4c40ab(0x11e)]:[];}static async[a0_0x24e109(0x12a)](_0x2b2cf4){const _0x3e41c1=a0_0x24e109;if(_0x2b2cf4[_0x3e41c1(0x11a)]&&_0x2b2cf4[_0x3e41c1(0x11a)]['length']>0x0){let _0x5da2f3=_0x2b2cf4[_0x3e41c1(0x11a)][0x0],_0x5ad807=_0x5da2f3['message'],_0x5b6024=_0x5da2f3[_0x3e41c1(0x12f)];_0x5da2f3[_0x3e41c1(0x10b)]&&(_0x5b6024=_0x5da2f3[_0x3e41c1(0x10b)][_0x3e41c1(0xfd)]),await UiUtil['showAlertPopup'](_0x5b6024,_0x5ad807,'error',_0x3e41c1(0x167));}}static async[a0_0x24e109(0x175)](_0x2efe69){const _0x313e4c=a0_0x24e109;_0x2efe69&&(_0x2efe69[_0x313e4c(0x163)]&&_0x2efe69[_0x313e4c(0x163)][_0x313e4c(0x10e)]?await ServiceUtil[_0x313e4c(0x12a)](_0x2efe69[_0x313e4c(0x163)]['result']):await UiUtil['showAlertPopup'](_0x313e4c(0x181),_0x2efe69[_0x313e4c(0x12f)],_0x313e4c(0x152),_0x313e4c(0x167)));}static async['exportableData'](_0x3be6dd,_0x3312b8,_0x39a76d){const _0x546af5=a0_0x24e109;var _0x235465=_0x39a76d['_config'][_0x546af5(0x13b)][_0x546af5(0x173)](_0x3668d4=>'gutter'!==_0x3668d4[_0x546af5(0x141)]&&void 0x0!==_0x3668d4['record']&&void 0x0!==_0x3668d4['imex']&&!0x0!==_0x3668d4['hidden'])['map'](_0x10c8dc=>_0x10c8dc['imex']),_0x22fc7a=_0x39a76d[_0x546af5(0x12d)][_0x546af5(0x11e)]['map'](_0x1529be=>({..._0x39a76d[_0x546af5(0x128)]['columns']['filter'](_0x4b065f=>_0x546af5(0x115)!==_0x4b065f[_0x546af5(0x141)]&&void 0x0!==_0x4b065f['record']&&void 0x0!==_0x4b065f[_0x546af5(0x177)]&&!0x0!==_0x4b065f[_0x546af5(0x14b)])[_0x546af5(0x183)]((_0xa388f5,_0x47d690)=>(_0xa388f5[_0x47d690[_0x546af5(0x177)][_0x546af5(0x119)]]=_0x47d690[_0x546af5(0x177)][_0x546af5(0x119)]['split']('.')[_0x546af5(0x183)]((_0xddb2f4,_0x4e94d7)=>_0xddb2f4&&_0x546af5(0x153)!==_0xddb2f4[_0x4e94d7]?_0xddb2f4[_0x4e94d7]:void 0x0,_0x1529be),_0xa388f5),{})}));if(!_0x3be6dd)return{'header':_0x235465,'data':_0x22fc7a};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x546af5(0x157),'name':_0x3312b8,'data':{'header':_0x235465,'data':_0x22fc7a}}});}static async[a0_0x24e109(0x103)](_0x62b231,_0x25f15b,_0x462c4e,_0x4703e9,_0x1ddacd,_0x292ed6){const _0x5532d6=a0_0x24e109;try{const _0x4bf799=await client[_0x5532d6(0x151)]({'query':a0_0x515707`
11
+ `,'variables':{'name':_0x33a30b},'context':gqlContext()});return!_0x154a4b['errors']&&_0x154a4b[_0x2dd098(0x1c5)]['workCodeByName']&&_0x154a4b[_0x2dd098(0x1c5)][_0x2dd098(0x223)]['details']?_0x154a4b['data']['workCodeByName'][_0x2dd098(0x204)][_0x2dd098(0x20f)]((_0x17f400,_0x198329)=>_0x17f400[_0x2dd098(0x22b)]-_0x198329[_0x2dd098(0x22b)]):[];}static async[a0_0x2f1074(0x202)](_0xf5ce00){const _0xd0dff0=a0_0x2f1074;let _0x4731ef=(await ServiceUtil[_0xd0dff0(0x1be)](_0xf5ce00))[_0xd0dff0(0x22c)](_0x3dc00f=>({'value':_0x3dc00f[_0xd0dff0(0x224)],'display':_0x3dc00f[_0xd0dff0(0x1e4)]}));return _0x4731ef[_0xd0dff0(0x1d4)]({'value':'','display':''}),_0x4731ef;}static async[a0_0x2f1074(0x1d0)](_0x34994e,_0x2d69df){const _0x1398a0=a0_0x2f1074;let _0x49eac2=await ServiceUtil[_0x1398a0(0x216)](null,_0x34994e,_0x2d69df);return _0x49eac2['unshift']({'value':'','display':''}),_0x49eac2['map'](_0x4763b9=>({'value':_0x4763b9[_0x1398a0(0x224)],'display':_0x4763b9[_0x1398a0(0x1e4)]}));}static async[a0_0x2f1074(0x1fd)]({queryName:_0x216248,codeField:_0x5af98e=a0_0x2f1074(0x224),dispField:_0x47bc27=a0_0x2f1074(0x1e4),filters:_0x492cd5=[],sorters:_0x1691bf=[]}){const _0x453a76=a0_0x2f1074;let _0x288c11=_0x453a76(0x1f9)+_0x5af98e+'\x0a\x20\x20\x20\x20\x20\x20'+_0x47bc27+_0x453a76(0x215),_0x12906a=await ServiceUtil['searchByPagination'](_0x216248,_0x492cd5,_0x1691bf,0x0,0x0,_0x288c11),_0xc8a0ac=[{'value':'','display':''}];return _0x12906a[_0x453a76(0x20b)][_0x453a76(0x1ca)](_0x7a8fe2=>{const _0x413309=_0x453a76;_0xc8a0ac[_0x413309(0x21e)]({'value':_0x7a8fe2[_0x5af98e],'display':_0x7a8fe2[_0x47bc27]});}),_0xc8a0ac;}static async[a0_0x2f1074(0x1f1)](){const _0x4effe6=a0_0x2f1074;let _0x52c459=await ServiceUtil[_0x4effe6(0x20a)]();return null!=_0x52c459?ServiceUtil[_0x4effe6(0x1d5)](_0x52c459):null;}static async[a0_0x2f1074(0x234)](_0x3fa6cf){const _0x18ff21=a0_0x2f1074;let _0x5d060d=[{'name':_0x18ff21(0x1c9),'operator':'eq','value':_0x3fa6cf}],_0x469181=await ServiceUtil[_0x18ff21(0x228)](_0x18ff21(0x1f4),_0x5d060d,[],0x0,0x0,_0x18ff21(0x1c4));return 0x0==_0x469181[_0x18ff21(0x23a)]?{}:{'id':_0x469181['records'][0x0]['id'],'template':JSON['parse'](_0x469181[_0x18ff21(0x20b)][0x0][_0x18ff21(0x1e5)])};}static[a0_0x2f1074(0x1d5)](_0x569e8a){const _0x5a6c8e=a0_0x2f1074;let _0x3c417d=[];_0x569e8a['forEach'](_0x42376a=>{const _0x29c8de=a0_0xe5e3;_0x3c417d[_0x29c8de(0x21e)](_0x42376a),_0x42376a[_0x29c8de(0x1ce)]&&(_0x42376a[_0x29c8de(0x1ce)][_0x29c8de(0x20f)](function(_0x56898d,_0xfabfc8){const _0x5984ab=_0x29c8de;return _0x56898d[_0x5984ab(0x22b)]-_0xfabfc8[_0x5984ab(0x22b)];}),_0x42376a[_0x29c8de(0x1ce)][_0x29c8de(0x1ca)](_0x4ca997=>{const _0x1e9f6f=_0x29c8de;0x1!=_0x4ca997['hiddenFlag']&&(_0x4ca997[_0x1e9f6f(0x1ea)]=_0x42376a,_0x3c417d[_0x1e9f6f(0x21e)](_0x4ca997));}));});let _0x52fac5=_0x3c417d['map'](_0x21a246=>{const _0x12c7eb=a0_0xe5e3;if(_0x12c7eb(0x1db)==_0x21a246['menuType']||_0x12c7eb(0x1e9)==_0x21a246['menuType']){let _0x4cd13b={'id':_0x21a246['id'],'parent':!0x0,'name':TermsUtil[_0x12c7eb(0x1fe)](_0x21a246[_0x12c7eb(0x224)]),'icon':_0x21a246[_0x12c7eb(0x1c8)],'type':'GROUP'==_0x21a246[_0x12c7eb(0x1f0)]?_0x12c7eb(0x1eb):'','menus':[]};return _0x21a246[_0x12c7eb(0x1cf)]&&(_0x4cd13b['path']=_0x21a246[_0x12c7eb(0x1cf)]),_0x4cd13b;}return{'id':'0'};})[_0x5a6c8e(0x1ff)](_0x2b8550=>'0'!=_0x2b8550['id']),_0x36dd10=_0x3c417d[_0x5a6c8e(0x22c)](_0x179584=>{const _0x35a012=_0x5a6c8e;if(_0x35a012(0x226)==_0x179584[_0x35a012(0x1f0)]||'HIDDEN-PAGE'==_0x179584[_0x35a012(0x1f0)]){let _0x30932f=_0x52fac5[_0x35a012(0x1bb)](_0x52b758=>_0x52b758['id']==_0x179584[_0x35a012(0x1ea)]['id']);if(_0x30932f){let _0x5aa7cc=TermsUtil[_0x35a012(0x1fe)](_0x179584[_0x35a012(0x224)]);return'SCREEN'==_0x179584['menuType']&&_0x30932f[_0x35a012(0x1fc)][_0x35a012(0x21e)]({'id':_0x179584['id'],'name':_0x5aa7cc,'path':_0x179584[_0x35a012(0x1cf)],'icon':_0x179584['iconPath']}),{'id':_0x179584['id'],'parent':!0x1,'parent_id':_0x30932f['id'],'title':_0x5aa7cc,'tagname':_0x179584[_0x35a012(0x22a)],'page':_0x179584[_0x35a012(0x1cf)],'template':_0x179584[_0x35a012(0x21a)],'routing_type':_0x179584[_0x35a012(0x1c2)]};}return{'id':'0'};}return _0x35a012(0x1ec)==_0x179584[_0x35a012(0x1f0)]?{'id':_0x179584['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x179584[_0x35a012(0x224)]),'tagname':_0x179584['category'],'page':_0x179584[_0x35a012(0x1cf)],'template':_0x179584[_0x35a012(0x21a)],'routing_type':_0x179584['routingType']}:{'id':'0'};})[_0x5a6c8e(0x1ff)](_0x2c089a=>null!=_0x2c089a&&'0'!=_0x2c089a['id']);_0x52fac5['filter'](_0xb0e1bc=>_0x5a6c8e(0x1eb)==_0xb0e1bc[_0x5a6c8e(0x1d1)]&&_0xb0e1bc[_0x5a6c8e(0x1fc)]&&_0xb0e1bc['menus']['length']>0x0)[_0x5a6c8e(0x1ca)](_0x16641e=>{const _0x2bd983=_0x5a6c8e;let _0x19e0e5=_0x52fac5[_0x2bd983(0x1e2)](_0x5e52a2=>_0x5e52a2['id']==_0x16641e['id'])+0x1;_0x52fac5[_0x2bd983(0x1c3)](_0x19e0e5,0x0,..._0x16641e[_0x2bd983(0x1fc)]);});let _0x5abe25=0x0;return _0x52fac5[_0x5a6c8e(0x1ca)](_0x3c3ea3=>{const _0x5e1bd0=_0x5a6c8e;_0x5e1bd0(0x1f6)==_0x3c3ea3[_0x5e1bd0(0x211)]?(_0x5abe25++,_0x3c3ea3['badge']=()=>asyncReplace(generateActivitySummary(_0x5e1bd0(0x236))),_0x3c3ea3['active']=({path:_0x4f18c8})=>/^activity\//[_0x5e1bd0(0x1e3)](_0x4f18c8)):_0x5e1bd0(0x1fa)==_0x3c3ea3[_0x5e1bd0(0x211)]?(_0x5abe25++,_0x3c3ea3['badge']=()=>asyncReplace(generateActivitySummary(_0x5e1bd0(0x21b))),_0x3c3ea3['active']=({path:_0x5f47bd})=>/^activity\//[_0x5e1bd0(0x1e3)](_0x5f47bd)):_0x5e1bd0(0x219)==_0x3c3ea3[_0x5e1bd0(0x211)]&&(_0x5abe25++,_0x3c3ea3[_0x5e1bd0(0x23c)]=()=>asyncReplace(generateActivitySummary(_0x5e1bd0(0x212))));}),_0x5abe25>0x0&&startSubscribeActivitySummary(),{'menus':_0x52fac5,'routes':_0x36dd10};}static async[a0_0x2f1074(0x20a)](){const _0xee67fb=a0_0x2f1074;let _0x304f97=await ServiceUtil[_0xee67fb(0x228)](_0xee67fb(0x1fc),[{'name':_0xee67fb(0x20e),'operator':'noteq','value':!0x0},{'name':_0xee67fb(0x1f0),'operator':'in','value':[_0xee67fb(0x1ec),_0xee67fb(0x1e9),_0xee67fb(0x1db)]}],[{'name':_0xee67fb(0x22b)}],0x0,0x0,_0xee67fb(0x1ed));return _0x304f97?_0x304f97[_0xee67fb(0x20b)]:[];}static async['showGraphqlErrorResponse'](_0x4eef53){const _0x53466e=a0_0x2f1074;if(_0x4eef53['errors']&&_0x4eef53[_0x53466e(0x1c0)][_0x53466e(0x232)]>0x0){let _0x12f4f8=_0x4eef53[_0x53466e(0x1c0)][0x0],_0x5863db=_0x12f4f8[_0x53466e(0x214)],_0x7c455a=_0x12f4f8[_0x53466e(0x214)];_0x12f4f8[_0x53466e(0x230)]&&(_0x7c455a=_0x12f4f8['extensions']['code']),await UiUtil[_0x53466e(0x1c7)](_0x7c455a,_0x5863db,'error',_0x53466e(0x1bc));}}static async['showGraphqlException'](_0x4b58ab){const _0x17b577=a0_0x2f1074;_0x4b58ab&&(_0x4b58ab[_0x17b577(0x22e)]&&_0x4b58ab[_0x17b577(0x22e)][_0x17b577(0x1df)]?await ServiceUtil[_0x17b577(0x1e1)](_0x4b58ab[_0x17b577(0x22e)][_0x17b577(0x1df)]):await UiUtil['showAlertPopup']('Graphql\x20Error',_0x4b58ab[_0x17b577(0x214)],_0x17b577(0x239),_0x17b577(0x1bc)));}static async[a0_0x2f1074(0x220)](_0x5e758e,_0xfad15f,_0x5f0df0){const _0x38b5e3=a0_0x2f1074;var _0x413bc6=_0x5f0df0[_0x38b5e3(0x1e0)][_0x38b5e3(0x23d)]['filter'](_0x57dd6f=>_0x38b5e3(0x1d6)!==_0x57dd6f[_0x38b5e3(0x1d1)]&&void 0x0!==_0x57dd6f['record']&&void 0x0!==_0x57dd6f['imex']&&!0x0!==_0x57dd6f['hidden'])[_0x38b5e3(0x22c)](_0x2581d9=>_0x2581d9[_0x38b5e3(0x201)]),_0x56655b=_0x5f0df0[_0x38b5e3(0x1c5)][_0x38b5e3(0x20b)][_0x38b5e3(0x22c)](_0x2fa8c6=>({..._0x5f0df0[_0x38b5e3(0x1e0)][_0x38b5e3(0x23d)][_0x38b5e3(0x1ff)](_0x529eb9=>_0x38b5e3(0x1d6)!==_0x529eb9[_0x38b5e3(0x1d1)]&&void 0x0!==_0x529eb9[_0x38b5e3(0x222)]&&void 0x0!==_0x529eb9[_0x38b5e3(0x201)]&&!0x0!==_0x529eb9['hidden'])[_0x38b5e3(0x1c6)]((_0x738894,_0x1623eb)=>(_0x738894[_0x1623eb[_0x38b5e3(0x201)][_0x38b5e3(0x1dd)]]=_0x1623eb['imex'][_0x38b5e3(0x1dd)][_0x38b5e3(0x1fb)]('.')['reduce']((_0xf661bd,_0x51b202)=>_0xf661bd&&_0x38b5e3(0x1ba)!==_0xf661bd[_0x51b202]?_0xf661bd[_0x51b202]:void 0x0,_0x2fa8c6),_0x738894),{})}));if(!_0x5e758e)return{'header':_0x413bc6,'data':_0x56655b};store[_0x38b5e3(0x207)]({'type':EXPORT,'exportable':{'extension':_0x38b5e3(0x22f),'name':_0xfad15f,'data':{'header':_0x413bc6,'data':_0x56655b}}});}static async[a0_0x2f1074(0x228)](_0x54c172,_0x12937a,_0x323696,_0x69a3b9,_0x3f7e05,_0x3c8ed7){const _0x132408=a0_0x2f1074;try{const _0x32f10a=await client[_0x132408(0x231)]({'query':a0_0x14a0c5`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x62b231}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x54c172}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x292ed6}
15
+ ${_0x3c8ed7}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x25f15b,'sortings':_0x462c4e,'pagination':{'page':_0x4703e9,'limit':_0x1ddacd}}});if(!_0x4bf799[_0x5532d6(0x11a)])return{'records':_0x4bf799[_0x5532d6(0x12d)][_0x62b231][_0x5532d6(0x107)],'total':_0x4bf799[_0x5532d6(0x12d)][_0x62b231][_0x5532d6(0x16e)]};ServiceUtil['showGraphqlErrorResponse'](_0x4bf799);}catch(_0x1cc7d5){ServiceUtil['showGraphqlException'](_0x1cc7d5);}return null;}static async[a0_0x24e109(0x166)](_0x190402,_0x16b07c,_0x37e38a){const _0x55ce7e=a0_0x24e109;try{let _0x434d5e=await client[_0x55ce7e(0x151)]({'query':a0_0x515707`
20
+ `,'variables':{'filters':_0x12937a,'sortings':_0x323696,'pagination':{'page':_0x69a3b9,'limit':_0x3f7e05}}});if(!_0x32f10a['errors'])return{'records':_0x32f10a[_0x132408(0x1c5)][_0x54c172][_0x132408(0x1cb)],'total':_0x32f10a[_0x132408(0x1c5)][_0x54c172][_0x132408(0x23a)]};ServiceUtil[_0x132408(0x1e1)](_0x32f10a);}catch(_0x22b7bf){ServiceUtil[_0x132408(0x1bd)](_0x22b7bf);}return null;}static async[a0_0x2f1074(0x213)](_0xd7d59,_0xbbeef0,_0x1ec8b0){const _0x2728ab=a0_0x2f1074;try{let _0x2f5bf5=await client[_0x2728ab(0x231)]({'query':a0_0x14a0c5`
21
21
  query ($id: String!) {
22
- ${_0x190402}(id: $id) {
23
- ${_0x37e38a}
22
+ ${_0xd7d59}(id: $id) {
23
+ ${_0x1ec8b0}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x16b07c}});if(!_0x434d5e[_0x55ce7e(0x11a)])return _0x434d5e[_0x55ce7e(0x12d)][_0x190402]||{};ServiceUtil[_0x55ce7e(0x12a)](_0x434d5e);}catch(_0x39e94e){ServiceUtil[_0x55ce7e(0x175)](_0x39e94e);}return null;}static[a0_0x24e109(0x123)](_0x17f6b3,_0x530b68){const _0x13f99e=a0_0x24e109,_0x3606cc=_0x17f6b3[_0x13f99e(0x150)][_0x13f99e(0x124)](_0x2d5271=>_0x2d5271['id']);return ValueUtil[_0x13f99e(0x138)](_0x3606cc)&&0x1==_0x530b68&&UiUtil[_0x13f99e(0x16c)](_0x13f99e(0x113),_0x13f99e(0x17d),_0x13f99e(0x154),_0x13f99e(0x167)),_0x3606cc;}static async[a0_0x24e109(0x168)](_0x8bde75,_0x2aeb78){const _0x5a90f0=a0_0x24e109;let _0x1405be=ServiceUtil[_0x5a90f0(0x123)](_0x8bde75,!0x0);ValueUtil[_0x5a90f0(0x118)](_0x1405be)&&(await ServiceUtil[_0x5a90f0(0x184)](_0x1405be,_0x2aeb78)&&_0x8bde75['fetch']());}static async['deleteListByIds'](_0x62bd96,_0x4a8d15){const _0xea396c=a0_0x24e109;if(!(await UiUtil['showAlertPopup'](_0xea396c(0x13e),_0xea396c(0x11b),_0xea396c(0x120),_0xea396c(0x179),'cancel'))['value'])return!0x1;try{const _0xfff8c=await client[_0xea396c(0x151)]({'query':a0_0x515707`
26
+ `,'variables':{'id':_0xbbeef0}});if(!_0x2f5bf5[_0x2728ab(0x1c0)])return _0x2f5bf5[_0x2728ab(0x1c5)][_0xd7d59]||{};ServiceUtil['showGraphqlErrorResponse'](_0x2f5bf5);}catch(_0x38bf91){ServiceUtil[_0x2728ab(0x1bd)](_0x38bf91);}return null;}static[a0_0x2f1074(0x237)](_0x5c2d89,_0x36b27d){const _0x419e34=a0_0x2f1074,_0x54617f=_0x5c2d89['selected'][_0x419e34(0x22c)](_0x4c3e26=>_0x4c3e26['id']);return ValueUtil[_0x419e34(0x1ef)](_0x54617f)&&0x1==_0x36b27d&&UiUtil[_0x419e34(0x1c7)](_0x419e34(0x1f2),'text.there_is_nothing_to_delete',_0x419e34(0x1e7),'confirm'),_0x54617f;}static async['deleteListByGristSelected'](_0x3e46eb,_0x144a76){const _0x4aa0b9=a0_0x2f1074;let _0xd6937d=ServiceUtil[_0x4aa0b9(0x237)](_0x3e46eb,!0x0);ValueUtil[_0x4aa0b9(0x1d8)](_0xd6937d)&&(await ServiceUtil[_0x4aa0b9(0x1dc)](_0xd6937d,_0x144a76)&&_0x3e46eb[_0x4aa0b9(0x1f5)]());}static async[a0_0x2f1074(0x1dc)](_0x2e2616,_0x18d557){const _0x4a8591=a0_0x2f1074;if(!(await UiUtil['showAlertPopup'](_0x4a8591(0x1bf),_0x4a8591(0x209),_0x4a8591(0x1d9),'delete','cancel'))['value'])return!0x1;try{const _0x138d39=await client[_0x4a8591(0x231)]({'query':a0_0x14a0c5`
27
27
  mutation {
28
- ${_0x4a8d15}(${gqlBuilder[_0xea396c(0x14c)]({'ids':_0x62bd96})})
28
+ ${_0x18d557}(${gqlBuilder[_0x4a8591(0x21f)]({'ids':_0x2e2616})})
29
29
  }
30
- `});if(!_0xfff8c[_0xea396c(0x11a)])return UiUtil[_0xea396c(0x104)](_0xea396c(0x154),TermsUtil['tText'](_0xea396c(0x146))),!0x0;ServiceUtil[_0xea396c(0x12a)](_0xfff8c);}catch(_0x1265a4){ServiceUtil['showGraphqlException'](_0x1265a4);}return!0x1;}static async[a0_0x24e109(0x170)](_0x364c1c,_0x5012b0){const _0x5afad0=a0_0x24e109;let _0xc36940=ServiceUtil[_0x5afad0(0x178)](_0x364c1c);if(ValueUtil['isNotEmpty'](_0xc36940)){let _0x45daf=await ServiceUtil['updateMultiple'](_0x5012b0,_0xc36940);if(_0x45daf)return _0x364c1c[_0x5afad0(0x160)](),_0x45daf;}return!0x1;}static async[a0_0x24e109(0x13a)](_0x279f2b,_0x33f70f){const _0x1238f0=a0_0x24e109;try{const _0x5d02ab=await client[_0x1238f0(0x151)]({'query':a0_0x515707`
30
+ `});if(!_0x138d39[_0x4a8591(0x1c0)])return UiUtil[_0x4a8591(0x1ee)]('info',TermsUtil['tText']('success\x20to\x20delete')),!0x0;ServiceUtil[_0x4a8591(0x1e1)](_0x138d39);}catch(_0x320028){ServiceUtil[_0x4a8591(0x1bd)](_0x320028);}return!0x1;}static async[a0_0x2f1074(0x206)](_0x1bd819,_0x1c7517){const _0x128c50=a0_0x2f1074;let _0x4c9468=ServiceUtil['patchesForUpdateMultiple'](_0x1bd819);if(ValueUtil[_0x128c50(0x1d8)](_0x4c9468)){let _0xbb0dbc=await ServiceUtil[_0x128c50(0x23b)](_0x1c7517,_0x4c9468);if(_0xbb0dbc)return _0x1bd819[_0x128c50(0x1f5)](),_0xbb0dbc;}return!0x1;}static async['updateMultiple'](_0x21a502,_0x3c8290){const _0x64f77a=a0_0x2f1074;try{const _0x1bb3e2=await client[_0x64f77a(0x231)]({'query':a0_0x14a0c5`
31
31
  mutation {
32
- ${_0x279f2b}(${gqlBuilder[_0x1238f0(0x14c)]({'patches':_0x33f70f})}) {
32
+ ${_0x21a502}(${gqlBuilder[_0x64f77a(0x21f)]({'patches':_0x3c8290})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x5d02ab[_0x1238f0(0x11a)])return UiUtil['showToast'](_0x1238f0(0x154),TermsUtil[_0x1238f0(0x176)](_0x1238f0(0x110))),!0x0;ServiceUtil[_0x1238f0(0x12a)](_0x5d02ab);}catch(_0x3e893b){ServiceUtil[_0x1238f0(0x175)](_0x3e893b);}return!0x1;}static['patchesForUpdateMultiple'](_0x2aadc0,_0x5aea2=!0x1){const _0x70e35d=a0_0x24e109;let _0x1195b6=_0x2aadc0[_0x70e35d(0x125)];if(_0x1195b6&&0x0!=_0x1195b6[_0x70e35d(0x11d)])return _0x1195b6[_0x70e35d(0x124)](_0x42bb60=>{const _0x12e840=_0x70e35d;let _0xe54fa2=_0x42bb60['id']?{'id':_0x42bb60['id']}:{};for(let _0x3a7c56 in _0x42bb60)[_0x12e840(0x11c),'updater',_0x12e840(0x147),_0x12e840(0x13f),_0x12e840(0x14d),_0x12e840(0x15d),'__origin__',_0x12e840(0x14a),_0x12e840(0x159)][_0x12e840(0x116)](_0x3a7c56)||(_0x42bb60[_0x3a7c56]&&_0x12e840(0x15e)==typeof _0x42bb60[_0x3a7c56]&&0x0==_0x5aea2?_0xe54fa2[_0x3a7c56]={'id':_0x42bb60[_0x3a7c56]['id']}:_0xe54fa2[_0x3a7c56]=_0x42bb60[_0x3a7c56]);return _0xe54fa2[_0x12e840(0x15a)]=_0x42bb60[_0x12e840(0x14d)],_0xe54fa2;});UiUtil['showAlertPopup'](_0x70e35d(0x114),_0x70e35d(0x12b),_0x70e35d(0x154),_0x70e35d(0x167));}static async[a0_0x24e109(0x165)](_0x4e9918,_0x465a92,_0x1b1906,_0x4642fd=!0x0){const _0x54d240=a0_0x24e109;let _0x4623e3=!0x0;_0x4e9918&&!0x0===_0x4642fd&&(_0x4623e3=(await UiUtil['showAlertPopup'](_0x54d240(0x105)+_0x4e9918,_0x54d240(0x11b),_0x54d240(0x120),_0x54d240(0x167),_0x54d240(0x126)))[_0x54d240(0x13c)]);if(_0x4623e3)try{const _0x5616f9=await client['query']({'query':a0_0x515707`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x1bb3e2[_0x64f77a(0x1c0)])return UiUtil[_0x64f77a(0x1ee)]('info',TermsUtil[_0x64f77a(0x229)](_0x64f77a(0x1d3))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x1bb3e2);}catch(_0x73e7b2){ServiceUtil['showGraphqlException'](_0x73e7b2);}return!0x1;}static[a0_0x2f1074(0x203)](_0x1907c5,_0x1efb3c=!0x1){const _0x352d58=a0_0x2f1074;let _0x451fa5=_0x1907c5['dirtyRecords'];if(_0x451fa5&&0x0!=_0x451fa5[_0x352d58(0x232)])return _0x451fa5[_0x352d58(0x22c)](_0x153690=>{const _0x346d10=_0x352d58;let _0x1cab22=_0x153690['id']?{'id':_0x153690['id']}:{};for(let _0x519d0b in _0x153690)[_0x346d10(0x22d),_0x346d10(0x1f8),'createdAt',_0x346d10(0x208),_0x346d10(0x205),_0x346d10(0x1e6),'__origin__',_0x346d10(0x1d2),_0x346d10(0x23e)][_0x346d10(0x210)](_0x519d0b)||(_0x153690[_0x519d0b]&&_0x346d10(0x218)==typeof _0x153690[_0x519d0b]&&0x0==_0x1efb3c?_0x1cab22[_0x519d0b]={'id':_0x153690[_0x519d0b]['id']}:_0x1cab22[_0x519d0b]=_0x153690[_0x519d0b]);return _0x1cab22[_0x346d10(0x1de)]=_0x153690[_0x346d10(0x205)],_0x1cab22;});UiUtil[_0x352d58(0x1c7)](_0x352d58(0x1da),_0x352d58(0x200),'info',_0x352d58(0x1bc));}static async[a0_0x2f1074(0x216)](_0x54145b,_0x21e462,_0x49b326,_0x86ef27=!0x0){const _0x1292bf=a0_0x2f1074;let _0xe1d79=!0x0;_0x54145b&&!0x0===_0x86ef27&&(_0xe1d79=(await UiUtil[_0x1292bf(0x1c7)](_0x1292bf(0x235)+_0x54145b,'text.are_you_sure',_0x1292bf(0x1d9),_0x1292bf(0x1bc),_0x1292bf(0x221)))[_0x1292bf(0x217)]);if(_0xe1d79)try{const _0x3f1d33=await client['query']({'query':a0_0x14a0c5`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ function a0_0x112c(_0x52d7d6,_0x439d07){const _0x2e8e04=a0_0x2e8e();return a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x465a92,'variables':_0x1b1906}});if(_0x5616f9[_0x54d240(0x11a)])ServiceUtil[_0x54d240(0x12a)](_0x5616f9);else{if(this[_0x54d240(0x158)](_0x5616f9))return!0x0===_0x4642fd&&UiUtil['showToast'](_0x54d240(0x154),TermsUtil[_0x54d240(0x176)](_0x54d240(0x100))),_0x5616f9;}}catch(_0x3ce18a){ServiceUtil[_0x54d240(0x175)](_0x3ce18a);}return!0x1;}static['checkClientError'](_0x5c39e2){const _0x438049=a0_0x24e109;if(_0x5c39e2&&_0x5c39e2['data']&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)]&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)][_0x438049(0x12d)]&&_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)]['data']['error']){let _0x2b28d3=_0x5c39e2[_0x438049(0x12d)][_0x438049(0x15c)][_0x438049(0x12d)][_0x438049(0x152)];return UiUtil[_0x438049(0x16c)](_0x2b28d3[_0x438049(0x14f)],_0x2b28d3[_0x438049(0x12f)],_0x438049(0x152),_0x438049(0x167)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x21e462,'variables':_0x49b326}});if(_0x3f1d33[_0x1292bf(0x1c0)])ServiceUtil[_0x1292bf(0x1e1)](_0x3f1d33);else{if(this[_0x1292bf(0x1f3)](_0x3f1d33))return!0x0===_0x86ef27&&UiUtil[_0x1292bf(0x1ee)]('info',TermsUtil[_0x1292bf(0x229)](_0x1292bf(0x1cd))),_0x3f1d33;}}catch(_0x416c40){ServiceUtil[_0x1292bf(0x1bd)](_0x416c40);}return!0x1;}static[a0_0x2f1074(0x1f3)](_0x2b8e74){const _0x314d4e=a0_0x2f1074;if(_0x2b8e74&&_0x2b8e74[_0x314d4e(0x1c5)]&&_0x2b8e74[_0x314d4e(0x1c5)]['runScenario']&&_0x2b8e74[_0x314d4e(0x1c5)][_0x314d4e(0x233)][_0x314d4e(0x1c5)]&&_0x2b8e74['data']['runScenario'][_0x314d4e(0x1c5)][_0x314d4e(0x239)]){let _0x11c645=_0x2b8e74[_0x314d4e(0x1c5)]['runScenario'][_0x314d4e(0x1c5)][_0x314d4e(0x239)];return UiUtil[_0x314d4e(0x1c7)](_0x11c645['title'],_0x11c645[_0x314d4e(0x214)],_0x314d4e(0x239),_0x314d4e(0x1bc)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- function a0_0xab46(){const _0x174996=['translate','tTitle','1245235RnBGUm','keys','5297922rdHYSP','total','text','51743750gwwHdu','4115cnVTok','label','tError','334575JUkbDf','data','tField','downloadTerminologies','11566872nZxpQa','1300mXDmGH','query','22FBljYU','category','forEach','error','terminologies','7LAyUaj','field','replace','META_TERMS','locale','10038920YSACPi','name','fetchTerminologies','tText','display','errors'];a0_0xab46=function(){return _0x174996;};return a0_0xab46();}const a0_0x289465=a0_0x3ce2;(function(_0xe54a6,_0x14260b){const _0x36452a=a0_0x3ce2,_0x59aa9d=_0xe54a6();while(!![]){try{const _0x4044a4=-parseInt(_0x36452a(0xc4))/0x1+-parseInt(_0x36452a(0xd4))/0x2*(parseInt(_0x36452a(0xcd))/0x3)+parseInt(_0x36452a(0xd2))/0x4*(-parseInt(_0x36452a(0xca))/0x5)+parseInt(_0x36452a(0xc6))/0x6+parseInt(_0x36452a(0xb7))/0x7*(-parseInt(_0x36452a(0xbc))/0x8)+-parseInt(_0x36452a(0xd1))/0x9+parseInt(_0x36452a(0xc9))/0xa;if(_0x4044a4===_0x14260b)break;else _0x59aa9d['push'](_0x59aa9d['shift']());}catch(_0x2bc1b3){_0x59aa9d['push'](_0x59aa9d['shift']());}}}(a0_0xab46,0xbde4c));import a0_0x22a4ed from'graphql-tag';function a0_0x3ce2(_0x4869bc,_0x112f18){const _0xab46cf=a0_0xab46();return a0_0x3ce2=function(_0x3ce2c6,_0x117dc9){_0x3ce2c6=_0x3ce2c6-0xb4;let _0x5be553=_0xab46cf[_0x3ce2c6];return _0x5be553;},a0_0x3ce2(_0x4869bc,_0x112f18);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x289465(0xba)]=null;static async[a0_0x289465(0xd0)](_0x1098c3){const _0x22d17c=a0_0x289465;let _0x260f38=(await TermsUtil[_0x22d17c(0xbe)](_0x1098c3))['records'];_0x260f38&&_0x260f38['length']>0x0&&(this[_0x22d17c(0xba)]={},_0x260f38[_0x22d17c(0xb4)](_0x1697fd=>{const _0x44455f=_0x22d17c;let _0x2f0b7f=_0x1697fd[_0x44455f(0xd5)]+'.'+_0x1697fd[_0x44455f(0xbd)];this['META_TERMS'][_0x2f0b7f]=_0x1697fd[_0x44455f(0xc0)];}));}static async[a0_0x289465(0xbe)](_0x5403d3){const _0x21105c=a0_0x289465;let _0x53d42e=[{'name':_0x21105c(0xbb),'operator':'eq','value':_0x5403d3}];const _0x51ac09=await client[_0x21105c(0xd3)]({'query':a0_0x22a4ed`
1
+ const a0_0x18436e=a0_0x2572;(function(_0x615475,_0x46cbad){const _0x194ae9=a0_0x2572,_0x904aba=_0x615475();while(!![]){try{const _0x2a95e4=parseInt(_0x194ae9(0x168))/0x1+parseInt(_0x194ae9(0x178))/0x2+parseInt(_0x194ae9(0x167))/0x3*(-parseInt(_0x194ae9(0x163))/0x4)+-parseInt(_0x194ae9(0x177))/0x5+-parseInt(_0x194ae9(0x16c))/0x6+parseInt(_0x194ae9(0x173))/0x7+parseInt(_0x194ae9(0x175))/0x8;if(_0x2a95e4===_0x46cbad)break;else _0x904aba['push'](_0x904aba['shift']());}catch(_0x7c7e4e){_0x904aba['push'](_0x904aba['shift']());}}}(a0_0x311f,0xb0240));function a0_0x2572(_0xb69c12,_0x409eeb){const _0x311fb3=a0_0x311f();return a0_0x2572=function(_0x25720,_0xdaa099){_0x25720=_0x25720-0x160;let _0x443126=_0x311fb3[_0x25720];return _0x443126;},a0_0x2572(_0xb69c12,_0x409eeb);}import a0_0x10d8f6 from'graphql-tag';function a0_0x311f(){const _0x3046bf=['META_TERMS','locale','terminologies','tField','2506805aWrEgm','fetchTerminologies','9049640GvAPxR','text','5452370wQNyMS','957708RdpEMv','errors','field','category','forEach','tError','total','error','label','replace','1485164IShkqT','query','translate','menu','9TdxCYN','1075109brXxIa','tLabel','downloadTerminologies','keys','704784yYKdnb','title','length'];a0_0x311f=function(){return _0x3046bf;};return a0_0x311f();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x18436e(0x16f)]=null;static async[a0_0x18436e(0x16a)](_0x30f0bb){const _0x1c91ef=a0_0x18436e;let _0x1e0056=(await TermsUtil[_0x1c91ef(0x174)](_0x30f0bb))['records'];_0x1e0056&&_0x1e0056[_0x1c91ef(0x16e)]>0x0&&(this[_0x1c91ef(0x16f)]={},_0x1e0056[_0x1c91ef(0x17c)](_0x531d9d=>{const _0x19e227=_0x1c91ef;let _0x2b49e3=_0x531d9d[_0x19e227(0x17b)]+'.'+_0x531d9d['name'];this[_0x19e227(0x16f)][_0x2b49e3]=_0x531d9d['display'];}));}static async[a0_0x18436e(0x174)](_0x4deb90){const _0x252d38=a0_0x18436e;let _0x26bddb=[{'name':_0x252d38(0x170),'operator':'eq','value':_0x4deb90}];const _0x24fb39=await client[_0x252d38(0x164)]({'query':a0_0x10d8f6`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ function a0_0xab46(){const _0x174996=['translate','tTitle','1245235RnBGUm','keys
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x53d42e,'sortings':[{'name':'category'},{'name':_0x21105c(0xbd)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x51ac09[_0x21105c(0xc1)])return{'records':_0x51ac09['data']['terminologies']['items']||[],'total':_0x51ac09[_0x21105c(0xce)][_0x21105c(0xb6)][_0x21105c(0xc7)]||0x0};}static['tLabel'](_0x5df706,_0x24e917){const _0x4694ac=a0_0x289465;let _0x2d6cee=TermsUtil['translate'](_0x4694ac(0xcb),_0x5df706,_0x24e917,null);return _0x2d6cee||TermsUtil[_0x4694ac(0xc2)](_0x4694ac(0xb8),_0x5df706,_0x24e917,_0x5df706);}static[a0_0x289465(0xcf)](_0x3b9498,_0x531b96){const _0x27e16d=a0_0x289465;let _0x4e43f0=TermsUtil['translate'](_0x27e16d(0xb8),_0x3b9498,_0x531b96,null);return _0x4e43f0||TermsUtil[_0x27e16d(0xc2)](_0x27e16d(0xb8),_0x3b9498,_0x531b96,_0x3b9498);}static['tButton'](_0x14120b){const _0x56a526=a0_0x289465;return TermsUtil[_0x56a526(0xc2)]('button',_0x14120b,null,_0x14120b);}static[a0_0x289465(0xc3)](_0x2ecd1f,_0x56e6a0){const _0x1c6a4a=a0_0x289465;let _0x282fef=TermsUtil['translate']('title',_0x2ecd1f,_0x56e6a0,null);return _0x282fef||TermsUtil[_0x1c6a4a(0xc2)]('menu',_0x2ecd1f,_0x56e6a0,_0x2ecd1f);}static['tMenu'](_0x379cbd){const _0x437904=a0_0x289465;let _0x4a04e9=TermsUtil['translate']('menu',_0x379cbd,null,_0x379cbd);return _0x4a04e9||TermsUtil[_0x437904(0xc2)]('title',_0x379cbd,null,_0x379cbd);}static[a0_0x289465(0xbf)](_0x27720b,_0x3cdc0a){const _0x15f4fe=a0_0x289465;return TermsUtil['translate'](_0x15f4fe(0xc8),_0x27720b,_0x3cdc0a,_0x27720b);}static[a0_0x289465(0xcc)](_0x1b644f,_0xf7b982){const _0x4c74b7=a0_0x289465;return TermsUtil[_0x4c74b7(0xc2)](_0x4c74b7(0xb5),_0x1b644f,_0xf7b982,_0x1b644f);}static[a0_0x289465(0xc2)](_0x356372,_0x5de5e1,_0x5d22f2,_0x13c89d){let _0x324a17=_0x356372+'.'+_0x5de5e1;return TermsUtil['t'](_0x324a17,_0x5d22f2,_0x13c89d);}static['t'](_0x1f2ff9,_0x580cd0,_0x5b9c96){const _0x35718e=a0_0x289465;let _0x2c1188=this[_0x35718e(0xba)]?this['META_TERMS'][_0x1f2ff9]:null;return _0x2c1188=_0x2c1188||i18next['t'](_0x1f2ff9),_0x2c1188&&_0x1f2ff9!=_0x2c1188?(_0x580cd0&&Object[_0x35718e(0xc5)](_0x580cd0)[_0x35718e(0xb4)](function(_0x40443e){const _0x46ecaa=_0x35718e;var _0x2036ff='\x5c{'+_0x40443e[_0x46ecaa(0xb9)](/\$/,'\x5c$')+'\x5c}',_0x387bef=new RegExp(_0x2036ff,'gi');_0x2c1188=_0x2c1188[_0x46ecaa(0xb9)](_0x387bef,_0x580cd0[_0x40443e]);}),_0x2c1188):_0x5b9c96;}}
14
+ `,'variables':{'filters':_0x26bddb,'sortings':[{'name':'category'},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x24fb39[_0x252d38(0x179)])return{'records':_0x24fb39['data']['terminologies']['items']||[],'total':_0x24fb39['data'][_0x252d38(0x171)][_0x252d38(0x17e)]||0x0};}static[a0_0x18436e(0x169)](_0x44f0af,_0x121e55){const _0x5a0698=a0_0x18436e;let _0x239a94=TermsUtil['translate'](_0x5a0698(0x161),_0x44f0af,_0x121e55,null);return _0x239a94||TermsUtil[_0x5a0698(0x165)](_0x5a0698(0x17a),_0x44f0af,_0x121e55,_0x44f0af);}static[a0_0x18436e(0x172)](_0x59c788,_0x1ca5db){const _0x3b0801=a0_0x18436e;let _0x1177e2=TermsUtil[_0x3b0801(0x165)](_0x3b0801(0x17a),_0x59c788,_0x1ca5db,null);return _0x1177e2||TermsUtil[_0x3b0801(0x165)](_0x3b0801(0x17a),_0x59c788,_0x1ca5db,_0x59c788);}static['tButton'](_0x308785){const _0x5e4765=a0_0x18436e;return TermsUtil[_0x5e4765(0x165)]('button',_0x308785,null,_0x308785);}static['tTitle'](_0x55fbf3,_0x615629){const _0x40527f=a0_0x18436e;let _0x9f7de6=TermsUtil[_0x40527f(0x165)](_0x40527f(0x16d),_0x55fbf3,_0x615629,null);return _0x9f7de6||TermsUtil['translate'](_0x40527f(0x166),_0x55fbf3,_0x615629,_0x55fbf3);}static['tMenu'](_0x29dc89){const _0x19411b=a0_0x18436e;let _0x2fa885=TermsUtil[_0x19411b(0x165)](_0x19411b(0x166),_0x29dc89,null,_0x29dc89);return _0x2fa885||TermsUtil[_0x19411b(0x165)](_0x19411b(0x16d),_0x29dc89,null,_0x29dc89);}static['tText'](_0x4fd54c,_0x1816f6){const _0x59cda9=a0_0x18436e;return TermsUtil['translate'](_0x59cda9(0x176),_0x4fd54c,_0x1816f6,_0x4fd54c);}static[a0_0x18436e(0x17d)](_0xeaa81d,_0x3371ed){const _0x2c6e38=a0_0x18436e;return TermsUtil[_0x2c6e38(0x165)](_0x2c6e38(0x160),_0xeaa81d,_0x3371ed,_0xeaa81d);}static[a0_0x18436e(0x165)](_0x1e515e,_0x5b734f,_0x4678a4,_0x58dfc8){let _0x50a52f=_0x1e515e+'.'+_0x5b734f;return TermsUtil['t'](_0x50a52f,_0x4678a4,_0x58dfc8);}static['t'](_0x1eabe2,_0x99d2eb,_0x2a5a28){const _0x47edf2=a0_0x18436e;let _0x42a572=this['META_TERMS']?this[_0x47edf2(0x16f)][_0x1eabe2]:null;return _0x42a572=_0x42a572||i18next['t'](_0x1eabe2),_0x42a572&&_0x1eabe2!=_0x42a572?(_0x99d2eb&&Object[_0x47edf2(0x16b)](_0x99d2eb)[_0x47edf2(0x17c)](function(_0x42abe1){const _0x554b8a=_0x47edf2;var _0x4214fb='\x5c{'+_0x42abe1[_0x554b8a(0x162)](/\$/,'\x5c$')+'\x5c}',_0xd9d17f=new RegExp(_0x4214fb,'gi');_0x42a572=_0x42a572[_0x554b8a(0x162)](_0xd9d17f,_0x99d2eb[_0x42abe1]);}),_0x42a572):_0x2a5a28;}}
@@ -1 +1 @@
1
- const a0_0x582bbf=a0_0x4ac7;(function(_0x13b3db,_0x4359b2){const _0x21673d=a0_0x4ac7,_0x289b2b=_0x13b3db();while(!![]){try{const _0x55df23=-parseInt(_0x21673d(0x85))/0x1+parseInt(_0x21673d(0x79))/0x2*(-parseInt(_0x21673d(0xa4))/0x3)+-parseInt(_0x21673d(0x8f))/0x4+parseInt(_0x21673d(0x9a))/0x5+parseInt(_0x21673d(0x7f))/0x6+-parseInt(_0x21673d(0x6b))/0x7+-parseInt(_0x21673d(0x77))/0x8*(-parseInt(_0x21673d(0xa3))/0x9);if(_0x55df23===_0x4359b2)break;else _0x289b2b['push'](_0x289b2b['shift']());}catch(_0x441b5c){_0x289b2b['push'](_0x289b2b['shift']());}}}(a0_0x4eb7,0xa08f2));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x4ac7(_0x195f92,_0x207fdb){const _0x4eb7e5=a0_0x4eb7();return a0_0x4ac7=function(_0x4ac7ff,_0x1872b4){_0x4ac7ff=_0x4ac7ff-0x6b;let _0x394d27=_0x4eb7e5[_0x4ac7ff];return _0x394d27;},a0_0x4ac7(_0x195f92,_0x207fdb);}function a0_0x4eb7(){const _0x31d880=['value','route','querySelector','createElement','parent_field','ko-KR','cookie','1262712PwcjvV','textarea','654800GzSIOj','getState','confirmButton','renderRoot','content','page','6306690uqVFLj','indexOf','filters','split','ox-input-barcode','input','887511xhntJU','currentLocale','app','getType','removeChild','createCustomElement','currentRouting','getParams','pass=','openPopupByElement','4549056ajaqFe','\x20route_name=\x27','ox-select','stringify','type','isNotEmpty','showToast','getLeafInput','substring','firstElementChild','select-combo','5349480HfQpXY','dispatchEvent','isMobileEnv','popup_field','openDynamicPopup','name','config','size','tButton','99ChQIrQ','6VICITR','innerHTML','length','htmlToElement','childNodes','\x27\x20\x20parent_id=\x27','i18next','getStore','replace','3640105MDloiR','menu','notify','setValueToEditor','[name=\x27'];a0_0x4eb7=function(){return _0x31d880;};return a0_0x4eb7();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x582bbf(0x9c)](){return isMobileDevice();}static[a0_0x582bbf(0x86)](){const _0x2fcb74=a0_0x582bbf;let _0xb8b85f=document[_0x2fcb74(0x76)];return _0xb8b85f=_0xb8b85f[_0x2fcb74(0x97)](_0xb8b85f[_0x2fcb74(0x80)](_0x2fcb74(0xaa))),_0xb8b85f['indexOf'](';')>-0x1&&(_0xb8b85f=_0xb8b85f[_0x2fcb74(0x97)](0x0,_0xb8b85f['indexOf'](';'))),_0xb8b85f=_0xb8b85f[_0x2fcb74(0xac)]('i18next=',''),'ko'==_0xb8b85f?_0x2fcb74(0x75):_0xb8b85f;}static['getApplicationModuleInfo'](){const _0x2e8ffe=a0_0x582bbf;let _0x3a0552=store[_0x2e8ffe(0x7a)]()[_0x2e8ffe(0x87)]['modules'];return _0x3a0552[_0x3a0552[_0x2e8ffe(0xa6)]-0x1];}static[a0_0x582bbf(0x8b)](){const _0x158d72=a0_0x582bbf;return store[_0x158d72(0x7a)]()[_0x158d72(0x71)][_0x158d72(0x7e)];}static[a0_0x582bbf(0x8e)](_0x55d2a0,_0x3d7fa2,_0x161b0,_0x59edba){return openPopup(_0x161b0,{'backdrop':!0x0,'size':_0x3d7fa2,'title':_0x55d2a0,'backdrop':_0x59edba});}static async[a0_0x582bbf(0x9e)](_0x393ee7,_0x4af39e,_0x367887,_0x1c410a){const _0x25ed9a=a0_0x582bbf;let _0x58c79a=ValueUtil[_0x25ed9a(0x94)](_0x4af39e[_0x25ed9a(0x74)])?ValueUtil[_0x25ed9a(0x8c)](_0x367887,..._0x4af39e[_0x25ed9a(0x74)][_0x25ed9a(0x82)]('.')):void 0x0,_0x5a2689='<'+_0x4af39e['tagname']+'\x20route_name=\x27'+_0x4af39e[_0x25ed9a(0x6c)]+_0x25ed9a(0xa9)+_0x58c79a+'\x27\x20is_popup=true></'+_0x4af39e['tagname']+'>',_0x34b452=UiUtil[_0x25ed9a(0xa7)](_0x5a2689);_0x34b452[_0x25ed9a(0xa0)]=_0x4af39e,ValueUtil[_0x25ed9a(0x94)](_0x4af39e[_0x25ed9a(0x9d)])&&(_0x34b452[_0x4af39e['popup_field']]=_0x367887);let _0x3e9bd8=UiUtil[_0x25ed9a(0x8e)](_0x393ee7,_0x4af39e[_0x25ed9a(0xa1)],_0x34b452,!0x0);_0x1c410a&&(_0x3e9bd8['onclosed']=_0x1c410a);}static[a0_0x582bbf(0x8a)](_0x50b2cb,_0x3a625a){const _0x54e535=a0_0x582bbf;let _0x1f8646='<'+_0x50b2cb+_0x54e535(0x90)+_0x3a625a+'\x27></'+_0x50b2cb+'>';return UiUtil['htmlToElement'](_0x1f8646);}static[a0_0x582bbf(0xa7)](_0x21130b){const _0x1ed421=a0_0x582bbf;var _0x121575=document[_0x1ed421(0x73)]('template');_0x121575[_0x1ed421(0xa5)]=_0x21130b;var _0x24e70e=_0x121575[_0x1ed421(0x7d)][_0x1ed421(0xa8)][0x0];return _0x121575[_0x1ed421(0x7d)][_0x1ed421(0x89)](_0x24e70e),_0x24e70e;}static['pageNavigate'](_0x5f3a82,_0x4c951f){const _0x239769=a0_0x582bbf;let _0x108576=_0x4c951f?'?':'';_0x4c951f&&(_0x108576+=_0x239769(0x8d)+JSON[_0x239769(0x92)](_0x4c951f)),navigate(''+_0x5f3a82+_0x108576);}static[a0_0x582bbf(0xab)](_0x10599d,_0x3c08c4,_0x182f7c){const _0x4dbffc=a0_0x582bbf;let _0x439552=_0x439552[_0x4dbffc(0x7a)]();return _0x10599d&&_0x3c08c4&&_0x182f7c?_0x439552[_0x10599d][_0x3c08c4][_0x182f7c]:_0x10599d&&_0x3c08c4?_0x439552[_0x10599d][_0x3c08c4]:_0x10599d?_0x439552[_0x10599d]:_0x439552;}static['fireCustomEvent'](_0x5f5b9e,_0x8c4454){const _0x47adae=a0_0x582bbf;document[_0x47adae(0x9b)](new CustomEvent(_0x5f5b9e,{'detail':_0x8c4454}));}static[a0_0x582bbf(0x95)](_0x33a855,_0x41263b){const _0x39564c=a0_0x582bbf;document['dispatchEvent'](new CustomEvent(_0x39564c(0x6d),{'detail':{'type':_0x33a855,'message':_0x41263b}}));}static async['showAlertPopup'](_0x3f7687,_0xb98647,_0x5ea417,_0x368e27,_0x1dca9d){const _0x1c39f5=a0_0x582bbf;let _0x1f91ac={'title':TermsUtil['t'](_0x3f7687)||_0x3f7687,'text':TermsUtil['t'](_0xb98647)||_0xb98647};return _0x5ea417&&(_0x1f91ac[_0x1c39f5(0x93)]=_0x5ea417),_0x368e27&&(_0x1f91ac[_0x1c39f5(0x7b)]=TermsUtil['tButton'](_0x368e27)),_0x1dca9d&&(_0x1f91ac['cancelButton']=TermsUtil[_0x1c39f5(0xa2)](_0x1dca9d)),await CustomAlert(_0x1f91ac);}static['getFilterFormData'](_0x4ff286){const _0x2c79b1=a0_0x582bbf;if(ValueUtil[_0x2c79b1(0x94)](_0x4ff286)){let _0x4d86fe=_0x4ff286[_0x2c79b1(0x81)]();ValueUtil[_0x2c79b1(0x94)](_0x4d86fe)&&_0x4d86fe['forEach'](_0x2595ac=>{const _0x2292b1=_0x2c79b1;ValueUtil[_0x2292b1(0x94)](_0x2595ac[_0x2292b1(0x70)])&&(item[_0x2595ac[_0x2292b1(0x9f)]]=_0x2595ac['value']?_0x2595ac[_0x2292b1(0x70)]:null);});}return{};}static['setSearchFormEditorValue'](_0x191752,_0x367e56,_0x43bcd0){const _0x5b85ae=a0_0x582bbf;if(ValueUtil[_0x5b85ae(0x94)](_0x191752)){let _0x49a652=_0x191752['renderRoot']?.[_0x5b85ae(0x72)](_0x5b85ae(0x6f)+_0x367e56+'\x27]');ValueUtil[_0x5b85ae(0x94)](_0x49a652)&&(_0x49a652[_0x5b85ae(0x70)]=_0x43bcd0);}}static['createEditorHtml'](_0x1e14e5,_0x1b4339,_0x286cf8,_0x4b6995){return getEditor(_0x1e14e5)('',_0x1b4339,_0x286cf8,_0x4b6995,{});}static[a0_0x582bbf(0x6e)](_0x29bc85,_0x3e00a3){const _0x10da78=a0_0x582bbf;UiUtil[_0x10da78(0x96)](_0x29bc85)[_0x10da78(0x70)]=_0x3e00a3;}static[a0_0x582bbf(0x96)](_0x2fe27e){const _0x39763d=a0_0x582bbf;let _0x23cd38=_0x2fe27e[_0x39763d(0x88)]();return'code-editor'==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x72)]('ox-input-code'):_0x39763d(0x78)==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)]['querySelector']('textarea'):_0x39763d(0x99)==_0x23cd38?_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x72)](_0x39763d(0x91))[_0x39763d(0x98)]:'barcode'==_0x23cd38?_0x2fe27e['renderRoot'][_0x39763d(0x72)](_0x39763d(0x83))[_0x39763d(0x7c)][_0x39763d(0x72)](_0x39763d(0x84)):_0x2fe27e[_0x39763d(0x7c)][_0x39763d(0x98)]['editor'];}}
1
+ const a0_0x5c6eae=a0_0x2729;function a0_0x79f0(){const _0x4ef608=['isNotEmpty','isMobileEnv','getApplicationModuleInfo','querySelector','currentLocale','createElement','pageNavigate','type','ox-input-barcode','indexOf','43473mgJTts','createCustomElement','content','showAlertPopup','getStore','tButton','forEach','renderRoot','fireCustomEvent','getLeafInput','4700390wlOviR','\x20route_name=\x27','\x27\x20is_popup=true></','116PeRdth','notify','removeChild','replace','setValueToEditor','filters','split','4114168xzMFYZ','dispatchEvent','7jsqUbQ','confirmButton','substring','editor','value','pass=','template','popup_field','select-combo','2282042nIHIwM','10384173uxGNQt','tagname','modules','onclosed','config','htmlToElement','\x27></','10aAnzoR','750352gBNLWJ','code-editor','app','input','getState','openPopupByElement','route','5996832hGiXoj','childNodes','parent_field','getParams','textarea','barcode','createEditorHtml','openDynamicPopup','i18next','name','getType','currentRouting','cookie','menu'];a0_0x79f0=function(){return _0x4ef608;};return a0_0x79f0();}(function(_0x2113da,_0xaf11b1){const _0x13e277=a0_0x2729,_0x3737df=_0x2113da();while(!![]){try{const _0x4e3b49=parseInt(_0x13e277(0xec))/0x1+-parseInt(_0x13e277(0xe3))/0x2+parseInt(_0x13e277(0x10b))/0x3*(parseInt(_0x13e277(0xd1))/0x4)+-parseInt(_0x13e277(0xce))/0x5+parseInt(_0x13e277(0xf3))/0x6+-parseInt(_0x13e277(0xda))/0x7*(parseInt(_0x13e277(0xd8))/0x8)+parseInt(_0x13e277(0xe4))/0x9*(parseInt(_0x13e277(0xeb))/0xa);if(_0x4e3b49===_0xaf11b1)break;else _0x3737df['push'](_0x3737df['shift']());}catch(_0x1961cd){_0x3737df['push'](_0x3737df['shift']());}}}(a0_0x79f0,0xb1daa));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x2729(_0x270c65,_0x3706e6){const _0x79f01b=a0_0x79f0();return a0_0x2729=function(_0x2729ff,_0x1519b4){_0x2729ff=_0x2729ff-0xc6;let _0x55fd9e=_0x79f01b[_0x2729ff];return _0x55fd9e;},a0_0x2729(_0x270c65,_0x3706e6);}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_0x5c6eae(0x102)](){return isMobileDevice();}static[a0_0x5c6eae(0x105)](){const _0xe81abe=a0_0x5c6eae;let _0x43ada9=document[_0xe81abe(0xff)];return _0x43ada9=_0x43ada9['substring'](_0x43ada9[_0xe81abe(0x10a)](_0xe81abe(0xfb))),_0x43ada9['indexOf'](';')>-0x1&&(_0x43ada9=_0x43ada9[_0xe81abe(0xdc)](0x0,_0x43ada9[_0xe81abe(0x10a)](';'))),_0x43ada9=_0x43ada9[_0xe81abe(0xd4)]('i18next=',''),'ko'==_0x43ada9?'ko-KR':_0x43ada9;}static[a0_0x5c6eae(0x103)](){const _0x33b6f1=a0_0x5c6eae;let _0x26385a=store[_0x33b6f1(0xf0)]()[_0x33b6f1(0xee)][_0x33b6f1(0xe6)];return _0x26385a[_0x26385a['length']-0x1];}static[a0_0x5c6eae(0xfe)](){const _0x51ef7e=a0_0x5c6eae;return store['getState']()[_0x51ef7e(0xf2)]['page'];}static[a0_0x5c6eae(0xf1)](_0x3069df,_0x1f4ca7,_0x1b718c,_0x3baf75){return openPopup(_0x1b718c,{'backdrop':!0x0,'size':_0x1f4ca7,'title':_0x3069df,'backdrop':_0x3baf75});}static async[a0_0x5c6eae(0xfa)](_0x5c7220,_0x3c2b3c,_0x14fa88,_0x13acd7){const _0xf5c675=a0_0x5c6eae;let _0x18e254=ValueUtil[_0xf5c675(0x101)](_0x3c2b3c[_0xf5c675(0xf5)])?ValueUtil[_0xf5c675(0xf6)](_0x14fa88,..._0x3c2b3c['parent_field'][_0xf5c675(0xd7)]('.')):void 0x0,_0x2a45d1='<'+_0x3c2b3c[_0xf5c675(0xe5)]+_0xf5c675(0xcf)+_0x3c2b3c[_0xf5c675(0x100)]+'\x27\x20\x20parent_id=\x27'+_0x18e254+_0xf5c675(0xd0)+_0x3c2b3c[_0xf5c675(0xe5)]+'>',_0x3e3e10=UiUtil[_0xf5c675(0xe9)](_0x2a45d1);_0x3e3e10[_0xf5c675(0xe8)]=_0x3c2b3c,ValueUtil['isNotEmpty'](_0x3c2b3c['popup_field'])&&(_0x3e3e10[_0x3c2b3c[_0xf5c675(0xe1)]]=_0x14fa88);let _0x31564c=UiUtil[_0xf5c675(0xf1)](_0x5c7220,_0x3c2b3c['size'],_0x3e3e10,!0x0);_0x13acd7&&(_0x31564c[_0xf5c675(0xe7)]=_0x13acd7);}static[a0_0x5c6eae(0x10c)](_0x2f39b3,_0xb2171c){const _0x341909=a0_0x5c6eae;let _0x901651='<'+_0x2f39b3+'\x20route_name=\x27'+_0xb2171c+_0x341909(0xea)+_0x2f39b3+'>';return UiUtil[_0x341909(0xe9)](_0x901651);}static[a0_0x5c6eae(0xe9)](_0x16b1fe){const _0x4a548d=a0_0x5c6eae;var _0x1d4e81=document[_0x4a548d(0x106)](_0x4a548d(0xe0));_0x1d4e81['innerHTML']=_0x16b1fe;var _0x184d52=_0x1d4e81[_0x4a548d(0xc6)][_0x4a548d(0xf4)][0x0];return _0x1d4e81[_0x4a548d(0xc6)][_0x4a548d(0xd3)](_0x184d52),_0x184d52;}static[a0_0x5c6eae(0x107)](_0x490d93,_0x2e14d0){const _0x47fe01=a0_0x5c6eae;let _0x2fae36=_0x2e14d0?'?':'';_0x2e14d0&&(_0x2fae36+=_0x47fe01(0xdf)+JSON['stringify'](_0x2e14d0)),navigate(''+_0x490d93+_0x2fae36);}static[a0_0x5c6eae(0xc8)](_0x1d3456,_0x9c363b,_0x2cb29a){const _0x3ed76e=a0_0x5c6eae;let _0x5c0a42=_0x5c0a42[_0x3ed76e(0xf0)]();return _0x1d3456&&_0x9c363b&&_0x2cb29a?_0x5c0a42[_0x1d3456][_0x9c363b][_0x2cb29a]:_0x1d3456&&_0x9c363b?_0x5c0a42[_0x1d3456][_0x9c363b]:_0x1d3456?_0x5c0a42[_0x1d3456]:_0x5c0a42;}static[a0_0x5c6eae(0xcc)](_0x52b175,_0x33eab0){const _0x5d5f68=a0_0x5c6eae;document[_0x5d5f68(0xd9)](new CustomEvent(_0x52b175,{'detail':_0x33eab0}));}static['showToast'](_0x292cea,_0x4297d8){const _0x342509=a0_0x5c6eae;document[_0x342509(0xd9)](new CustomEvent(_0x342509(0xd2),{'detail':{'type':_0x292cea,'message':_0x4297d8}}));}static async[a0_0x5c6eae(0xc7)](_0x966b99,_0x50ca84,_0x14bb8b,_0x49cfde,_0x5f4a3){const _0x303e10=a0_0x5c6eae;let _0x4e593b={'title':TermsUtil['t'](_0x966b99)||_0x966b99,'text':TermsUtil['t'](_0x50ca84)||_0x50ca84};return _0x14bb8b&&(_0x4e593b[_0x303e10(0x108)]=_0x14bb8b),_0x49cfde&&(_0x4e593b[_0x303e10(0xdb)]=TermsUtil['tButton'](_0x49cfde)),_0x5f4a3&&(_0x4e593b['cancelButton']=TermsUtil[_0x303e10(0xc9)](_0x5f4a3)),await CustomAlert(_0x4e593b);}static['getFilterFormData'](_0x194207){const _0x43d861=a0_0x5c6eae;if(ValueUtil[_0x43d861(0x101)](_0x194207)){let _0x39502e=_0x194207[_0x43d861(0xd6)]();ValueUtil[_0x43d861(0x101)](_0x39502e)&&_0x39502e[_0x43d861(0xca)](_0x2f21f9=>{const _0x3726a8=_0x43d861;ValueUtil[_0x3726a8(0x101)](_0x2f21f9[_0x3726a8(0xde)])&&(item[_0x2f21f9[_0x3726a8(0xfc)]]=_0x2f21f9[_0x3726a8(0xde)]?_0x2f21f9[_0x3726a8(0xde)]:null);});}return{};}static['setSearchFormEditorValue'](_0x54ce21,_0x17f83b,_0x57eb15){const _0x297599=a0_0x5c6eae;if(ValueUtil['isNotEmpty'](_0x54ce21)){let _0x522522=_0x54ce21[_0x297599(0xcb)]?.['querySelector']('[name=\x27'+_0x17f83b+'\x27]');ValueUtil[_0x297599(0x101)](_0x522522)&&(_0x522522[_0x297599(0xde)]=_0x57eb15);}}static[a0_0x5c6eae(0xf9)](_0xcebb63,_0x2d6b95,_0x16962a,_0x28bf52){return getEditor(_0xcebb63)('',_0x2d6b95,_0x16962a,_0x28bf52,{});}static[a0_0x5c6eae(0xd5)](_0x1048f3,_0x86f1e5){const _0x2564ba=a0_0x5c6eae;UiUtil[_0x2564ba(0xcd)](_0x1048f3)['value']=_0x86f1e5;}static[a0_0x5c6eae(0xcd)](_0x3cb449){const _0x45b693=a0_0x5c6eae;let _0xb4acaf=_0x3cb449[_0x45b693(0xfd)]();return _0x45b693(0xed)==_0xb4acaf?_0x3cb449[_0x45b693(0xcb)]['querySelector']('ox-input-code'):_0x45b693(0xf7)==_0xb4acaf?_0x3cb449['renderRoot']['querySelector'](_0x45b693(0xf7)):_0x45b693(0xe2)==_0xb4acaf?_0x3cb449[_0x45b693(0xcb)][_0x45b693(0x104)]('ox-select')['firstElementChild']:_0x45b693(0xf8)==_0xb4acaf?_0x3cb449[_0x45b693(0xcb)][_0x45b693(0x104)](_0x45b693(0x109))['renderRoot'][_0x45b693(0x104)](_0x45b693(0xef)):_0x3cb449['renderRoot']['firstElementChild'][_0x45b693(0xdd)];}}
@@ -1 +1 @@
1
- const a0_0x28b5db=a0_0x542d;(function(_0x4020e2,_0x46713a){const _0x1ac8aa=a0_0x542d,_0x26b7ea=_0x4020e2();while(!![]){try{const _0x5ae064=parseInt(_0x1ac8aa(0x1eb))/0x1+parseInt(_0x1ac8aa(0x1ec))/0x2+-parseInt(_0x1ac8aa(0x1ef))/0x3+parseInt(_0x1ac8aa(0x1e6))/0x4+parseInt(_0x1ac8aa(0x1e3))/0x5*(parseInt(_0x1ac8aa(0x1e8))/0x6)+-parseInt(_0x1ac8aa(0x1ea))/0x7+-parseInt(_0x1ac8aa(0x1e4))/0x8;if(_0x5ae064===_0x46713a)break;else _0x26b7ea['push'](_0x26b7ea['shift']());}catch(_0x54e255){_0x26b7ea['push'](_0x26b7ea['shift']());}}}(a0_0x1c1a,0xd0778));function a0_0x542d(_0x17ab98,_0x4a260d){const _0x1c1a63=a0_0x1c1a();return a0_0x542d=function(_0x542d38,_0x124fdc){_0x542d38=_0x542d38-0x1da;let _0x41fe60=_0x1c1a63[_0x542d38];return _0x41fe60;},a0_0x542d(_0x17ab98,_0x4a260d);}function a0_0x1c1a(){const _0x90549a=['2613554JdSQUk','compareObjectValues','length','1981089QvgTuf','getParams','populateObject','TRUE','isEmpty','map','slice','setParams','number','toInteger','keys','isNotEmpty','isArray','forEach','object','220885njSnmu','5216912NftOHH','boolean','1626484ITKBUt','toBoolean','36opbcCa','isEquals','7102634ZgRepF','1202559TgSrVf'];a0_0x1c1a=function(){return _0x90549a;};return a0_0x1c1a();}import a0_0xcee1cb from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x28b5db(0x1f3)](_0x1bfa15){const _0x1ca072=a0_0x28b5db;if(void 0x0===_0x1bfa15)return!0x0;if(null===_0x1bfa15)return!0x0;if(_0x1ca072(0x1e5)==typeof _0x1bfa15)return!0x1;if('string'==typeof _0x1bfa15||_0x1ca072(0x1dc)==typeof _0x1bfa15){if(''==_0x1bfa15)return!0x0;}else{if(Array[_0x1ca072(0x1e0)](_0x1bfa15)){if(0x0==_0x1bfa15[_0x1ca072(0x1ee)])return!0x0;}else{if(_0x1ca072(0x1e2)==typeof _0x1bfa15&&0x0==Object['keys'](_0x1bfa15)['length'])return!0x0;}}return!0x1;}static[a0_0x28b5db(0x1df)](_0x397f52){return!ValueUtil['isEmpty'](_0x397f52);}static[a0_0x28b5db(0x1e9)](_0x23838c,_0x46ce30){return a0_0xcee1cb(_0x23838c,_0x46ce30);}static[a0_0x28b5db(0x1dd)](_0x549f16,_0x4364b5){const _0x2d532b=a0_0x28b5db;return ValueUtil[_0x2d532b(0x1f3)](_0x549f16)?_0x4364b5||0x0:parseInt(_0x549f16);}static[a0_0x28b5db(0x1e7)](_0x5b0739){const _0x5b9cf2=a0_0x28b5db;return!ValueUtil['isEmpty'](_0x5b0739)&&('true'==_0x5b0739||'t'==_0x5b0739||_0x5b9cf2(0x1f2)==_0x5b0739||'T'==_0x5b0739||'on'==_0x5b0739||'ON'==_0x5b0739);}static[a0_0x28b5db(0x1ed)](_0x2b57f7,_0x5ca0b7,_0x1647b3){let _0x4f5c1e=!0x0;return _0x1647b3['forEach'](_0x43c427=>{const _0x2c6c06=a0_0x542d;let _0x39b1ea=_0x2b57f7[_0x43c427];if('*'===_0x39b1ea)return;let _0x419f42=_0x5ca0b7[_0x43c427]||'';ValueUtil[_0x2c6c06(0x1f3)](_0x39b1ea)?ValueUtil[_0x2c6c06(0x1df)](_0x419f42)&&(_0x4f5c1e=!0x1):_0x39b1ea!=_0x419f42&&(_0x4f5c1e=!0x1);}),_0x4f5c1e;}static[a0_0x28b5db(0x1db)](_0x10ca7d,_0x199d99,_0x236499,_0x1e597c){const _0x484e31=a0_0x28b5db;let _0x3c7d4e=ValueUtil[_0x484e31(0x1f0)](_0x199d99,_0x236499);return ValueUtil['isNotEmpty'](_0x3c7d4e)&&(_0x10ca7d[_0x236499]=!0x0===_0x1e597c?TermsUtil['t'](_0x3c7d4e):_0x3c7d4e),_0x10ca7d;}static[a0_0x28b5db(0x1f0)](_0x14dcfd,..._0x1e95b2){const _0x32af3b=a0_0x28b5db;if(arguments[_0x32af3b(0x1ee)]<=0x1)return;let _0x25f584=_0x1e95b2[0x0];if(ValueUtil[_0x32af3b(0x1f3)](_0x14dcfd[_0x25f584]))return;let _0x33201e=_0x14dcfd[_0x25f584];return _0x1e95b2['length']>0x1?ValueUtil[_0x32af3b(0x1f0)](_0x33201e,..._0x1e95b2[_0x32af3b(0x1da)](0x1)):_0x33201e;}static['populateArray'](_0xe372a9,_0x3f3272,..._0x30f62c){const _0x53ebad=a0_0x28b5db;return _0x3f3272=_0x3f3272||[],_0x30f62c=_0x30f62c||Object[_0x53ebad(0x1de)](_0xe372a9),ValueUtil[_0x53ebad(0x1df)](_0x30f62c)&&(_0x3f3272=_0xe372a9[_0x53ebad(0x1f4)]((_0x39152f,_0xde71f8)=>{const _0x4e9015=_0x53ebad;let _0x347e91=_0x3f3272[_0x4e9015(0x1ee)]>_0xde71f8?_0x3f3272[_0xde71f8]:{};return ValueUtil[_0x4e9015(0x1f1)](_0x39152f,_0x347e91,_0x30f62c);})),_0x3f3272;}static['populateObject'](_0x14a98d,_0x377645,..._0x27f5ab){const _0x4388e3=a0_0x28b5db;return _0x377645=_0x377645||{},_0x27f5ab=_0x27f5ab||Object['keys'](_0x14a98d),ValueUtil[_0x4388e3(0x1df)](_0x27f5ab)&&_0x27f5ab[_0x4388e3(0x1e1)](_0x5a9685=>{_0x377645[_0x5a9685]=_0x14a98d[_0x5a9685];}),_0x377645;}}
1
+ function a0_0x2fcb(_0x5d1a43,_0x2a437e){const _0x1686d3=a0_0x1686();return a0_0x2fcb=function(_0x2fcb94,_0xac62){_0x2fcb94=_0x2fcb94-0x1c2;let _0x338a60=_0x1686d3[_0x2fcb94];return _0x338a60;},a0_0x2fcb(_0x5d1a43,_0x2a437e);}const a0_0x44f918=a0_0x2fcb;(function(_0x3d449a,_0x5bbe40){const _0x1191c6=a0_0x2fcb,_0x191dd6=_0x3d449a();while(!![]){try{const _0x574e02=-parseInt(_0x1191c6(0x1d2))/0x1*(parseInt(_0x1191c6(0x1dd))/0x2)+-parseInt(_0x1191c6(0x1c2))/0x3*(-parseInt(_0x1191c6(0x1cc))/0x4)+parseInt(_0x1191c6(0x1ca))/0x5*(-parseInt(_0x1191c6(0x1de))/0x6)+parseInt(_0x1191c6(0x1d6))/0x7*(-parseInt(_0x1191c6(0x1d1))/0x8)+parseInt(_0x1191c6(0x1db))/0x9*(parseInt(_0x1191c6(0x1d9))/0xa)+parseInt(_0x1191c6(0x1c8))/0xb+parseInt(_0x1191c6(0x1c3))/0xc*(parseInt(_0x1191c6(0x1cb))/0xd);if(_0x574e02===_0x5bbe40)break;else _0x191dd6['push'](_0x191dd6['shift']());}catch(_0x5d318f){_0x191dd6['push'](_0x191dd6['shift']());}}}(a0_0x1686,0x8c92c));function a0_0x1686(){const _0x5323d0=['true','isEmpty','toInteger','2722742AYWrVE','compareObjectValues','2111545fYQeDQ','15253953FJEJXq','9492hSiHAB','boolean','setParams','getParams','string','8NTBRGh','370679blMjCS','forEach','map','isNotEmpty','1337203MmVQWh','toBoolean','length','10dlIwBm','populateArray','2133828kESRgr','populateObject','6wbZUQb','12YVnMia','keys','number','TRUE','1347qiHWRY','12TBaICB','isArray'];a0_0x1686=function(){return _0x5323d0;};return a0_0x1686();}import a0_0x49ca93 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x44f918(0x1c6)](_0x35bd90){const _0x230526=a0_0x44f918;if(void 0x0===_0x35bd90)return!0x0;if(null===_0x35bd90)return!0x0;if(_0x230526(0x1cd)==typeof _0x35bd90)return!0x1;if(_0x230526(0x1d0)==typeof _0x35bd90||_0x230526(0x1e0)==typeof _0x35bd90){if(''==_0x35bd90)return!0x0;}else{if(Array[_0x230526(0x1c4)](_0x35bd90)){if(0x0==_0x35bd90['length'])return!0x0;}else{if('object'==typeof _0x35bd90&&0x0==Object[_0x230526(0x1df)](_0x35bd90)[_0x230526(0x1d8)])return!0x0;}}return!0x1;}static[a0_0x44f918(0x1d5)](_0x1ed4a8){return!ValueUtil['isEmpty'](_0x1ed4a8);}static['isEquals'](_0x245512,_0x3e45a9){return a0_0x49ca93(_0x245512,_0x3e45a9);}static[a0_0x44f918(0x1c7)](_0x3cb876,_0x3b5059){const _0x1f0a82=a0_0x44f918;return ValueUtil[_0x1f0a82(0x1c6)](_0x3cb876)?_0x3b5059||0x0:parseInt(_0x3cb876);}static[a0_0x44f918(0x1d7)](_0x579771){const _0x138ff5=a0_0x44f918;return!ValueUtil[_0x138ff5(0x1c6)](_0x579771)&&(_0x138ff5(0x1c5)==_0x579771||'t'==_0x579771||_0x138ff5(0x1e1)==_0x579771||'T'==_0x579771||'on'==_0x579771||'ON'==_0x579771);}static[a0_0x44f918(0x1c9)](_0x872cd6,_0x5eeb87,_0x3d061a){const _0x465615=a0_0x44f918;let _0x3f7e35=!0x0;return _0x3d061a[_0x465615(0x1d3)](_0x59e2bf=>{const _0x2afec1=_0x465615;let _0x34caf2=_0x872cd6[_0x59e2bf];if('*'===_0x34caf2)return;let _0x5d6636=_0x5eeb87[_0x59e2bf]||'';ValueUtil[_0x2afec1(0x1c6)](_0x34caf2)?ValueUtil[_0x2afec1(0x1d5)](_0x5d6636)&&(_0x3f7e35=!0x1):_0x34caf2!=_0x5d6636&&(_0x3f7e35=!0x1);}),_0x3f7e35;}static[a0_0x44f918(0x1ce)](_0x14cdea,_0x571cdd,_0x1f6f87,_0xc96239){const _0x48dbf6=a0_0x44f918;let _0x337ecd=ValueUtil['getParams'](_0x571cdd,_0x1f6f87);return ValueUtil[_0x48dbf6(0x1d5)](_0x337ecd)&&(_0x14cdea[_0x1f6f87]=!0x0===_0xc96239?TermsUtil['t'](_0x337ecd):_0x337ecd),_0x14cdea;}static[a0_0x44f918(0x1cf)](_0xe73b65,..._0x43ec63){const _0xc92c20=a0_0x44f918;if(arguments[_0xc92c20(0x1d8)]<=0x1)return;let _0x4b9b96=_0x43ec63[0x0];if(ValueUtil[_0xc92c20(0x1c6)](_0xe73b65[_0x4b9b96]))return;let _0x4daa34=_0xe73b65[_0x4b9b96];return _0x43ec63['length']>0x1?ValueUtil[_0xc92c20(0x1cf)](_0x4daa34,..._0x43ec63['slice'](0x1)):_0x4daa34;}static[a0_0x44f918(0x1da)](_0x12834e,_0x87b28a,..._0x4f1736){const _0x405c24=a0_0x44f918;return _0x87b28a=_0x87b28a||[],_0x4f1736=_0x4f1736||Object['keys'](_0x12834e),ValueUtil['isNotEmpty'](_0x4f1736)&&(_0x87b28a=_0x12834e[_0x405c24(0x1d4)]((_0xadb895,_0x1a9ad3)=>{const _0x10084e=_0x405c24;let _0x338116=_0x87b28a[_0x10084e(0x1d8)]>_0x1a9ad3?_0x87b28a[_0x1a9ad3]:{};return ValueUtil['populateObject'](_0xadb895,_0x338116,_0x4f1736);})),_0x87b28a;}static[a0_0x44f918(0x1dc)](_0x8670cf,_0x31a95c,..._0xe17e0e){const _0x4baeef=a0_0x44f918;return _0x31a95c=_0x31a95c||{},_0xe17e0e=_0xe17e0e||Object[_0x4baeef(0x1df)](_0x8670cf),ValueUtil['isNotEmpty'](_0xe17e0e)&&_0xe17e0e[_0x4baeef(0x1d3)](_0x58ce01=>{_0x31a95c[_0x58ce01]=_0x8670cf[_0x58ce01];}),_0x31a95c;}}
@@ -1,4 +1,4 @@
1
- (function(_0x5c741e,_0x236d12){const _0x45f783=a0_0x187b,_0x2d94a4=_0x5c741e();while(!![]){try{const _0x2b159b=-parseInt(_0x45f783(0x1c2))/0x1*(-parseInt(_0x45f783(0x1bf))/0x2)+parseInt(_0x45f783(0x1c8))/0x3*(parseInt(_0x45f783(0x1c7))/0x4)+-parseInt(_0x45f783(0x1c5))/0x5+-parseInt(_0x45f783(0x1c3))/0x6*(parseInt(_0x45f783(0x1c4))/0x7)+parseInt(_0x45f783(0x1c6))/0x8+parseInt(_0x45f783(0x1c1))/0x9+parseInt(_0x45f783(0x1c0))/0xa*(-parseInt(_0x45f783(0x1be))/0xb);if(_0x2b159b===_0x236d12)break;else _0x2d94a4['push'](_0x2d94a4['shift']());}catch(_0x122bc5){_0x2d94a4['push'](_0x2d94a4['shift']());}}}(a0_0x231c,0x5385a));function a0_0x231c(){const _0x4ec947=['759505bctHeS','1052448aZdfQV','50420fEjztr','129UCWObG','18062uebKof','266624XmjYVL','2310oJwVbH','2814939sHlwxh','4oPOLvH','54czTbqh','502663ztIMAM'];a0_0x231c=function(){return _0x4ec947;};return a0_0x231c();}import{css}from'lit';function a0_0x187b(_0x4bc4bb,_0xa4d8b){const _0x231c76=a0_0x231c();return a0_0x187b=function(_0x187baa,_0xc65166){_0x187baa=_0x187baa-0x1be;let _0x3dec93=_0x231c76[_0x187baa];return _0x3dec93;},a0_0x187b(_0x4bc4bb,_0xa4d8b);}export const DynamicMenuLandscapeStyles=css`
1
+ function a0_0x2ada(_0xa7d9eb,_0x2386f5){const _0x12d973=a0_0x12d9();return a0_0x2ada=function(_0x2ada4b,_0x3f8717){_0x2ada4b=_0x2ada4b-0x104;let _0x131360=_0x12d973[_0x2ada4b];return _0x131360;},a0_0x2ada(_0xa7d9eb,_0x2386f5);}(function(_0x55965d,_0x47cf37){const _0x289938=a0_0x2ada,_0x106095=_0x55965d();while(!![]){try{const _0x3bf7e3=parseInt(_0x289938(0x105))/0x1+parseInt(_0x289938(0x10a))/0x2*(-parseInt(_0x289938(0x10d))/0x3)+-parseInt(_0x289938(0x10b))/0x4+parseInt(_0x289938(0x109))/0x5*(parseInt(_0x289938(0x104))/0x6)+-parseInt(_0x289938(0x106))/0x7+-parseInt(_0x289938(0x107))/0x8+-parseInt(_0x289938(0x108))/0x9*(-parseInt(_0x289938(0x10c))/0xa);if(_0x3bf7e3===_0x47cf37)break;else _0x106095['push'](_0x106095['shift']());}catch(_0x4d60fd){_0x106095['push'](_0x106095['shift']());}}}(a0_0x12d9,0x366b4));import{css}from'lit';function a0_0x12d9(){const _0x1329c6=['70bwDtTK','54NVqipL','18LtviUZ','134538wCSWsr','2123261gwcPLf','2382952AYSmpW','1333962gTiVIm','431245QknWGC','18574WfWXdp','1758212jZNXIQ'];a0_0x12d9=function(){return _0x1329c6;};return a0_0x12d9();}export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- const a0_0x171c99=a0_0x59be;function a0_0x59be(_0x1f2f1f,_0x5cf4a3){const _0x3f141a=a0_0x3f14();return a0_0x59be=function(_0x59be15,_0x4100be){_0x59be15=_0x59be15-0x155;let _0x3d4cdf=_0x3f141a[_0x59be15];return _0x3d4cdf;},a0_0x59be(_0x1f2f1f,_0x5cf4a3);}(function(_0x43eacf,_0xe6958b){const _0x18941e=a0_0x59be,_0x90b264=_0x43eacf();while(!![]){try{const _0x4ccd84=parseInt(_0x18941e(0x178))/0x1*(parseInt(_0x18941e(0x179))/0x2)+parseInt(_0x18941e(0x160))/0x3+-parseInt(_0x18941e(0x168))/0x4*(-parseInt(_0x18941e(0x17d))/0x5)+-parseInt(_0x18941e(0x159))/0x6+-parseInt(_0x18941e(0x171))/0x7*(parseInt(_0x18941e(0x16e))/0x8)+parseInt(_0x18941e(0x15a))/0x9*(-parseInt(_0x18941e(0x162))/0xa)+parseInt(_0x18941e(0x164))/0xb;if(_0x4ccd84===_0xe6958b)break;else _0x90b264['push'](_0x90b264['shift']());}catch(_0x54835a){_0x90b264['push'](_0x90b264['shift']());}}}(a0_0x3f14,0xd2064));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0x3f14(){const _0x2adbd9=['dynamic-menu-landscape','4vzDlha','#wrap','transitionstart','scrollLeft','wheelDelta','addEventListener','360qOzImK','target','define','51793NYQucC','group','querySelector','min','dispatchEvent','properties','map','1JzsGQh','1759634ZqidPm','setAttribute','active-toplevel','renderRoot','603515NXoObY','menus','path','icon','firstUpdated','#force','max','description','submenu','render','transitionend','settled','7584930bzCldz','63297JVdgWq','preventDefault','href','activeTopLevel','detail','type','1346988zwjoSz','bind','590ivEWgp','onWheelEvent','15650811GpPNYD','removeAttribute','currentTarget'];a0_0x3f14=function(){return _0x2adbd9;};return a0_0x3f14();}export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x171c99(0x176)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x171c99(0x156)](){const _0x804af8=a0_0x171c99,{menus:_0x15871e=[],activeTopLevel:_0x2f4210,activeMenu:_0x7ea5ca}=this;return html`
1
+ const a0_0x3ede69=a0_0x1df1;(function(_0x4dbef0,_0xa9fd59){const _0x34fae4=a0_0x1df1,_0x5f1144=_0x4dbef0();while(!![]){try{const _0x41c4d0=parseInt(_0x34fae4(0x202))/0x1+parseInt(_0x34fae4(0x1f8))/0x2+parseInt(_0x34fae4(0x1f6))/0x3+parseInt(_0x34fae4(0x1f3))/0x4*(parseInt(_0x34fae4(0x1ff))/0x5)+parseInt(_0x34fae4(0x20b))/0x6+parseInt(_0x34fae4(0x201))/0x7*(parseInt(_0x34fae4(0x216))/0x8)+-parseInt(_0x34fae4(0x1f7))/0x9;if(_0x41c4d0===_0xa9fd59)break;else _0x5f1144['push'](_0x5f1144['shift']());}catch(_0x1d4912){_0x5f1144['push'](_0x5f1144['shift']());}}}(a0_0xe8ab,0x60688));function a0_0x1df1(_0x57a87c,_0x49a042){const _0xe8ab8f=a0_0xe8ab();return a0_0x1df1=function(_0x1df1c9,_0x31df11){_0x1df1c9=_0x1df1c9-0x1f3;let _0x1c5615=_0xe8ab8f[_0x1df1c9];return _0x1c5615;},a0_0x1df1(_0x57a87c,_0x49a042);}import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0xe8ab(){const _0x455bd4=['map','3040872MXtOqb','firstUpdated','path','currentTarget','renderRoot','menus','group','detail','click','icon','dynamic-menu-landscape','8pPvLIg','max','4xszacJ','render','setAttribute','2129406KfcQAi','18248067SGgmCM','1115822LIxOxy','scrollLeft','addEventListener','wheelDelta','settled','type','stopPropagation','2068735wAlSbi','properties','199759qKCdts','205642eCpTqZ','target','#force','submenu','onWheelEvent','define','styles','#wrap'];a0_0xe8ab=function(){return _0x455bd4;};return a0_0xe8ab();}export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x3ede69(0x208)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x3ede69(0x200)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x3ede69(0x1f4)](){const _0x5c3f7c=a0_0x3ede69,{menus:_0x50702b=[],activeTopLevel:_0x503af5,activeMenu:_0xd5a28}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x15871e[_0x804af8(0x177)](_0x7cbd3=>_0x804af8(0x172)==_0x7cbd3[_0x804af8(0x15f)]?html``:html`
5
- <li ?active=${_0x7cbd3===_0x2f4210}>
6
- <a href=${_0x7cbd3[_0x804af8(0x17f)]||'#'}>
7
- ${_0x7cbd3[_0x804af8(0x180)]?html`<mwc-icon>${_0x7cbd3[_0x804af8(0x180)]}</mwc-icon>`:html``} ${_0x7cbd3['name']}
4
+ ${_0x50702b[_0x5c3f7c(0x20a)](_0x38797a=>_0x5c3f7c(0x211)==_0x38797a[_0x5c3f7c(0x1fd)]?html``:html`
5
+ <li ?active=${_0x38797a===_0x503af5}>
6
+ <a href=${_0x38797a['path']||'#'}>
7
+ ${_0x38797a[_0x5c3f7c(0x214)]?html`<mwc-icon>${_0x38797a['icon']}</mwc-icon>`:html``} ${_0x38797a['name']}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x7cbd3[_0x804af8(0x17e)]?.[_0x804af8(0x177)](_0x30c16b=>html`
12
- <li ?active=${_0x30c16b===_0x7ea5ca}>
13
- <a href=${_0x30c16b[_0x804af8(0x17f)]||'#'}> ${_0x30c16b['name']} </a>
11
+ ${_0x38797a[_0x5c3f7c(0x210)]?.[_0x5c3f7c(0x20a)](_0x362be4=>html`
12
+ <li ?active=${_0x362be4===_0xd5a28}>
13
+ <a href=${_0x362be4[_0x5c3f7c(0x20d)]||'#'}> ${_0x362be4['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x7cbd3['icon']?html`<mwc-icon>${_0x7cbd3[_0x804af8(0x180)]}</mwc-icon>`:html``} ${_0x7cbd3[_0x804af8(0x184)]||''}
19
+ ${_0x38797a[_0x5c3f7c(0x214)]?html`<mwc-icon>${_0x38797a['icon']}</mwc-icon>`:html``} ${_0x38797a['description']||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x171c99(0x181)](){const _0x345f62=a0_0x171c99;this[_0x345f62(0x17c)][_0x345f62(0x173)](_0x345f62(0x169))[_0x345f62(0x16d)]('mousewheel',this[_0x345f62(0x163)][_0x345f62(0x161)](this),!0x1),this[_0x345f62(0x17c)][_0x345f62(0x16d)]('click',_0x2e0bdf=>{const _0x5d8ceb=_0x345f62;if(_0x2e0bdf[_0x5d8ceb(0x16f)]['submenu']){_0x2e0bdf['stopPropagation'](),_0x2e0bdf['preventDefault']();let _0x2deab5=_0x2e0bdf[_0x5d8ceb(0x16f)][_0x5d8ceb(0x155)];return void this[_0x5d8ceb(0x175)](new CustomEvent(_0x5d8ceb(0x17b),{'bubbles':!0x0,'detail':this[_0x5d8ceb(0x15d)]===_0x2deab5?void 0x0:_0x2deab5}));}let _0x418743=_0x2e0bdf[_0x5d8ceb(0x16f)][_0x5d8ceb(0x15c)];_0x418743&&location[_0x5d8ceb(0x15c)]===_0x418743&&navigate(_0x418743+_0x5d8ceb(0x182),!0x0);}),this[_0x345f62(0x17c)][_0x345f62(0x16d)](_0x345f62(0x16a),_0xc53c31=>{const _0x1b0684=_0x345f62;_0xc53c31['target'][_0x1b0684(0x165)]('settled');}),this[_0x345f62(0x17c)][_0x345f62(0x16d)](_0x345f62(0x157),_0x45a0fe=>{const _0x4aab35=_0x345f62;_0x45a0fe[_0x4aab35(0x16f)][_0x4aab35(0x17a)](_0x4aab35(0x158),'');});}['onWheelEvent'](_0x1146cd){const _0xb59c9c=a0_0x171c99,_0x16cd2a=_0x1146cd[_0xb59c9c(0x166)];var _0x1bee0a=Math[_0xb59c9c(0x183)](-0x1,Math[_0xb59c9c(0x174)](0x1,_0x1146cd[_0xb59c9c(0x16c)]||-_0x1146cd[_0xb59c9c(0x15e)]));_0x16cd2a[_0xb59c9c(0x16b)]-=0xa*_0x1bee0a,_0x1146cd[_0xb59c9c(0x15b)]();}}customElements[a0_0x171c99(0x170)](a0_0x171c99(0x167),DynamicMenuLandscape);
25
+ `;}[a0_0x3ede69(0x20c)](){const _0x16947d=a0_0x3ede69;this['renderRoot']['querySelector'](_0x16947d(0x209))[_0x16947d(0x1fa)]('mousewheel',this[_0x16947d(0x206)]['bind'](this),!0x1),this[_0x16947d(0x20f)][_0x16947d(0x1fa)](_0x16947d(0x213),_0x2db715=>{const _0x3ad479=_0x16947d;if(_0x2db715[_0x3ad479(0x203)][_0x3ad479(0x205)]){_0x2db715[_0x3ad479(0x1fe)](),_0x2db715['preventDefault']();let _0x5ed3f8=_0x2db715[_0x3ad479(0x203)][_0x3ad479(0x205)];return void this['dispatchEvent'](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x5ed3f8?void 0x0:_0x5ed3f8}));}let _0x1cda68=_0x2db715[_0x3ad479(0x203)]['href'];_0x1cda68&&location['href']===_0x1cda68&&navigate(_0x1cda68+_0x3ad479(0x204),!0x0);}),this[_0x16947d(0x20f)]['addEventListener']('transitionstart',_0x40d72d=>{const _0x2cb742=_0x16947d;_0x40d72d[_0x2cb742(0x203)]['removeAttribute']('settled');}),this[_0x16947d(0x20f)][_0x16947d(0x1fa)]('transitionend',_0x43dc86=>{const _0x57fec4=_0x16947d;_0x43dc86[_0x57fec4(0x203)][_0x57fec4(0x1f5)](_0x57fec4(0x1fc),'');});}[a0_0x3ede69(0x206)](_0x36c8af){const _0x2a51dd=a0_0x3ede69,_0x2acca8=_0x36c8af[_0x2a51dd(0x20e)];var _0x2ec7db=Math[_0x2a51dd(0x217)](-0x1,Math['min'](0x1,_0x36c8af[_0x2a51dd(0x1fb)]||-_0x36c8af[_0x2a51dd(0x212)]));_0x2acca8[_0x2a51dd(0x1f9)]-=0xa*_0x2ec7db,_0x36c8af['preventDefault']();}}customElements[a0_0x3ede69(0x207)](a0_0x3ede69(0x215),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x1c95c3=a0_0x3eb1;(function(_0x2f469d,_0x20e2ff){var _0x4bbc18=a0_0x3eb1,_0x8223ce=_0x2f469d();while(!![]){try{var _0x1123f1=parseInt(_0x4bbc18(0xdd))/0x1+-parseInt(_0x4bbc18(0xd9))/0x2*(parseInt(_0x4bbc18(0xdf))/0x3)+-parseInt(_0x4bbc18(0xd2))/0x4*(-parseInt(_0x4bbc18(0xe8))/0x5)+-parseInt(_0x4bbc18(0xe5))/0x6+-parseInt(_0x4bbc18(0xd0))/0x7*(parseInt(_0x4bbc18(0xeb))/0x8)+-parseInt(_0x4bbc18(0xea))/0x9+parseInt(_0x4bbc18(0xec))/0xa*(parseInt(_0x4bbc18(0xe9))/0xb);if(_0x1123f1===_0x20e2ff)break;else _0x8223ce['push'](_0x8223ce['shift']());}catch(_0x24a736){_0x8223ce['push'](_0x8223ce['shift']());}}}(a0_0x40f1,0x9d6c3));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';function a0_0x40f1(){var _0x3afc3a=['page','route','dynamic-menu-part','active','stateChanged','_path','define','renderRoot','firstUpdated','1348879hRGomd','render','8QiTwCs','metaUI','active-toplevel','replaceChild','portrait','properties','landscape','6158RxndUT','function','removeAttribute','_activeTopLevel','920842DGpAoU','slotTemplate','897dKUoKz','orientation','path','resourceId','_activeMenu','call','4528392LeYtUr','styles','setAttribute','468665goRDUw','22xMRFqE','6824151GpPGlO','24EEIdsS','12740890RvFhXQ','_findActivePage','split','menus','find','detail','has'];a0_0x40f1=function(){return _0x3afc3a;};return a0_0x40f1();}import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x3eb1(_0x3bd3e8,_0xf0a54){var _0x40f183=a0_0x40f1();return a0_0x3eb1=function(_0x3eb1d4,_0x2ecbeb){_0x3eb1d4=_0x3eb1d4-0xce;var _0x200ddb=_0x40f183[_0x3eb1d4];return _0x200ddb;},a0_0x3eb1(_0x3bd3e8,_0xf0a54);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x21d822,_0x64e588){var _0x126216=a0_0x3eb1;return _0x21d822[_0x126216(0xe1)]?.[_0x126216(0xee)]('?')[0x0]===_0x64e588||_0x21d822[_0x126216(0xf6)]&&_0x126216(0xda)==typeof _0x21d822[_0x126216(0xf6)]&&_0x21d822['active'][_0x126216(0xe4)](_0x21d822,{'path':_0x64e588});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x1c95c3(0xd7)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x1c95c3(0xe6)](){return[ScrollbarStyles,css`
1
+ var a0_0x14f5b0=a0_0x299a;function a0_0x4b48(){var _0x8030f4=['has','1586943yFAJad','addEventListener','preventDefault','36TlgYiq','_path','_activeMenu','landscape','orientation','_activeTopLevel','page','detail','641732hXtLvI','call','3193195cblyZp','split','stopPropagation','slotTemplate','removeAttribute','resourceId','387045mwXnPI','2304918utMgNR','route','properties','metaUI','define','2268048ooPIYP','stateChanged','menus','active','function','6PMIpcd','firstUpdated','1422600zqAXet','path','renderRoot','updated','_findActivePage','replaceChild','render'];a0_0x4b48=function(){return _0x8030f4;};return a0_0x4b48();}(function(_0x48e381,_0x521090){var _0x306cf7=a0_0x299a,_0x234fba=_0x48e381();while(!![]){try{var _0x50e513=-parseInt(_0x306cf7(0x20d))/0x1+-parseInt(_0x306cf7(0x205))/0x2+parseInt(_0x306cf7(0x1fa))/0x3+parseInt(_0x306cf7(0x1f2))/0x4+-parseInt(_0x306cf7(0x207))/0x5*(parseInt(_0x306cf7(0x1f0))/0x6)+-parseInt(_0x306cf7(0x20e))/0x7+-parseInt(_0x306cf7(0x1eb))/0x8*(-parseInt(_0x306cf7(0x1fd))/0x9);if(_0x50e513===_0x521090)break;else _0x234fba['push'](_0x234fba['shift']());}catch(_0x412663){_0x234fba['push'](_0x234fba['shift']());}}}(a0_0x4b48,0x53b2f));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_0x299a(_0x29bd30,_0x40a1d6){var _0x4b4866=a0_0x4b48();return a0_0x299a=function(_0x299a51,_0x5c3c2a){_0x299a51=_0x299a51-0x1e8;var _0x4779af=_0x4b4866[_0x299a51];return _0x4779af;},a0_0x299a(_0x29bd30,_0x40a1d6);}function isActiveMenu(_0x25a8a3,_0xd0f0a1){var _0x2df69e=a0_0x299a;return _0x25a8a3[_0x2df69e(0x1f3)]?.[_0x2df69e(0x208)]('?')[0x0]===_0xd0f0a1||_0x25a8a3[_0x2df69e(0x1ee)]&&_0x2df69e(0x1ef)==typeof _0x25a8a3[_0x2df69e(0x1ee)]&&_0x25a8a3[_0x2df69e(0x1ee)][_0x2df69e(0x206)](_0x25a8a3,{'path':_0xd0f0a1});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x14f5b0(0x1e8)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get['styles'](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x1c95c3=a0_0x3eb1;(function(_0x2f469d,_0x20e2ff){var _0x4bbc18=a0_0x3eb1
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x1c95c3(0xd1)](){var _0x4286e8=a0_0x1c95c3;return html`
30
+ `];}[a0_0x14f5b0(0x1f8)](){var _0x1b47f7=a0_0x14f5b0;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x4286e8(0xd8)!==this[_0x4286e8(0xe0)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x4286e8(0xef)]}
34
- .activeTopLevel=${this[_0x4286e8(0xdc)]}
35
- .activeMenu=${this[_0x4286e8(0xe3)]}
36
- .path=${this[_0x4286e8(0xf8)]}
32
+ ${_0x1b47f7(0x200)!==this[_0x1b47f7(0x201)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x1b47f7(0x1ed)]}
34
+ .activeTopLevel=${this['_activeTopLevel']}
35
+ .activeMenu=${this[_0x1b47f7(0x1ff)]}
36
+ .path=${this['_path']}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x4286e8(0xef)]}
39
- .activeTopLevel=${this[_0x4286e8(0xdc)]}
40
- .activeMenu=${this[_0x4286e8(0xe3)]}
41
- .path=${this[_0x4286e8(0xf8)]}
38
+ .menus=${this[_0x1b47f7(0x1ed)]}
39
+ .activeTopLevel=${this[_0x1b47f7(0x202)]}
40
+ .activeMenu=${this[_0x1b47f7(0x1ff)]}
41
+ .path=${this[_0x1b47f7(0x1fe)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x1c95c3(0xcf)](){var _0xc481e3=a0_0x1c95c3;this[_0xc481e3(0xce)]['addEventListener'](_0xc481e3(0xd4),_0x3234f4=>{var _0x47d9f5=_0xc481e3;_0x3234f4['stopPropagation'](),_0x3234f4['preventDefault'](),this[_0x47d9f5(0xdc)]=_0x3234f4[_0x47d9f5(0xf1)];});}['updated'](_0x303692){var _0x50abf0=a0_0x1c95c3;(_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xef))||_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xf3))||_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xe2)))&&this[_0x50abf0(0xed)](),_0x303692['has'](_0x50abf0(0xe0))&&(_0x50abf0(0xd6)==this[_0x50abf0(0xe0)]?this[_0x50abf0(0xdb)]('landscape'):this[_0x50abf0(0xe7)]('landscape',!0x0)),_0x303692[_0x50abf0(0xf2)](_0x50abf0(0xde))&&this[_0x50abf0(0xd5)](this[_0x50abf0(0xde)]);}[a0_0x1c95c3(0xf7)](_0x5bee3d){var _0x4817c3=a0_0x1c95c3;this[_0x4817c3(0xf3)]=_0x5bee3d[_0x4817c3(0xf4)][_0x4817c3(0xf3)],this[_0x4817c3(0xe2)]=_0x5bee3d['route'][_0x4817c3(0xe2)],this[_0x4817c3(0xef)]=_0x5bee3d['metaUI']['menus']||[],this[_0x4817c3(0xde)]=_0x5bee3d[_0x4817c3(0xd3)][_0x4817c3(0xde)];}[a0_0x1c95c3(0xed)](){var _0x29c10d=a0_0x1c95c3,_0x51a35c,_0x2f1e06=this[_0x29c10d(0xe2)]?this[_0x29c10d(0xf3)]+'/'+this['resourceId']:this[_0x29c10d(0xf3)],_0x4286a8=this[_0x29c10d(0xef)]||[];this[_0x29c10d(0xdc)]=_0x4286a8[_0x29c10d(0xf0)](_0x1fdc33=>isActiveMenu(_0x1fdc33,_0x2f1e06)?(_0x51a35c=_0x1fdc33,!0x0):_0x1fdc33['menus']?!!(_0x51a35c=_0x1fdc33[_0x29c10d(0xef)][_0x29c10d(0xf0)](_0x2b92dc=>isActiveMenu(_0x2b92dc,_0x2f1e06))):void 0x0),this[_0x29c10d(0xf8)]=_0x2f1e06,this[_0x29c10d(0xe3)]=_0x51a35c||this[_0x29c10d(0xdc)];}}customElements[a0_0x1c95c3(0xf9)](a0_0x1c95c3(0xf5),DynamicMenuPart);
44
+ `;}[a0_0x14f5b0(0x1f1)](){var _0x5df8a3=a0_0x14f5b0;this[_0x5df8a3(0x1f4)][_0x5df8a3(0x1fb)]('active-toplevel',_0x2551d9=>{var _0x112c90=_0x5df8a3;_0x2551d9[_0x112c90(0x209)](),_0x2551d9[_0x112c90(0x1fc)](),this[_0x112c90(0x202)]=_0x2551d9[_0x112c90(0x204)];});}[a0_0x14f5b0(0x1f5)](_0x50d07f){var _0x261e8d=a0_0x14f5b0;(_0x50d07f[_0x261e8d(0x1f9)]('menus')||_0x50d07f[_0x261e8d(0x1f9)](_0x261e8d(0x203))||_0x50d07f[_0x261e8d(0x1f9)]('resourceId'))&&this['_findActivePage'](),_0x50d07f['has'](_0x261e8d(0x201))&&('portrait'==this[_0x261e8d(0x201)]?this[_0x261e8d(0x20b)](_0x261e8d(0x200)):this['setAttribute'](_0x261e8d(0x200),!0x0)),_0x50d07f[_0x261e8d(0x1f9)](_0x261e8d(0x20a))&&this[_0x261e8d(0x1f7)](this[_0x261e8d(0x20a)]);}[a0_0x14f5b0(0x1ec)](_0x1603d6){var _0x33f815=a0_0x14f5b0;this[_0x33f815(0x203)]=_0x1603d6[_0x33f815(0x20f)][_0x33f815(0x203)],this[_0x33f815(0x20c)]=_0x1603d6['route'][_0x33f815(0x20c)],this[_0x33f815(0x1ed)]=_0x1603d6[_0x33f815(0x1e9)][_0x33f815(0x1ed)]||[],this['slotTemplate']=_0x1603d6['metaUI'][_0x33f815(0x20a)];}[a0_0x14f5b0(0x1f6)](){var _0x5a1d24=a0_0x14f5b0,_0x4afd94,_0x5ed1b9=this[_0x5a1d24(0x20c)]?this[_0x5a1d24(0x203)]+'/'+this[_0x5a1d24(0x20c)]:this[_0x5a1d24(0x203)],_0x1fc21f=this[_0x5a1d24(0x1ed)]||[];this['_activeTopLevel']=_0x1fc21f['find'](_0xb29245=>isActiveMenu(_0xb29245,_0x5ed1b9)?(_0x4afd94=_0xb29245,!0x0):_0xb29245['menus']?!!(_0x4afd94=_0xb29245['menus']['find'](_0xe18ee0=>isActiveMenu(_0xe18ee0,_0x5ed1b9))):void 0x0),this[_0x5a1d24(0x1fe)]=_0x5ed1b9,this[_0x5a1d24(0x1ff)]=_0x4afd94||this['_activeTopLevel'];}}customElements[a0_0x14f5b0(0x1ea)]('dynamic-menu-part',DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x4d3a29,_0x3a49aa){const _0x13a49c=a0_0xb593,_0x3ba592=_0x4d3a29();while(!![]){try{const _0x2f9d5d=parseInt(_0x13a49c(0x1aa))/0x1+-parseInt(_0x13a49c(0x1ab))/0x2*(parseInt(_0x13a49c(0x1a9))/0x3)+-parseInt(_0x13a49c(0x1a8))/0x4*(-parseInt(_0x13a49c(0x1a4))/0x5)+-parseInt(_0x13a49c(0x1a5))/0x6*(parseInt(_0x13a49c(0x1a7))/0x7)+-parseInt(_0x13a49c(0x1a2))/0x8+parseInt(_0x13a49c(0x1a3))/0x9+parseInt(_0x13a49c(0x1a1))/0xa*(parseInt(_0x13a49c(0x1a6))/0xb);if(_0x2f9d5d===_0x3a49aa)break;else _0x3ba592['push'](_0x3ba592['shift']());}catch(_0x542457){_0x3ba592['push'](_0x3ba592['shift']());}}}(a0_0x3c30,0xdea85));function a0_0xb593(_0x1fd4d8,_0x5ec90c){const _0x3c3031=a0_0x3c30();return a0_0xb593=function(_0xb593de,_0x22166b){_0xb593de=_0xb593de-0x1a1;let _0xf1a4f=_0x3c3031[_0xb593de];return _0xf1a4f;},a0_0xb593(_0x1fd4d8,_0x5ec90c);}import{css}from'lit';function a0_0x3c30(){const _0x2a5169=['2498652FsAKeg','76305EFbsMm','12LZIwIc','4753903wzgCKi','3602991oWdPpB','152BbSOXs','1323159WUtYuG','1534686sxDNEK','4DCOQiX','10AEZKOJ','6944uDuSbo'];a0_0x3c30=function(){return _0x2a5169;};return a0_0x3c30();}export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x2a35(){const _0x3001d8=['786120CDrMNJ','770484brrbMy','893178svbonJ','442639UcRAwH','1276352IzGGnl','1032870DuKkym','899040gZiQUR'];a0_0x2a35=function(){return _0x3001d8;};return a0_0x2a35();}(function(_0x350487,_0x225a91){const _0x35ec05=a0_0x5a26,_0x2a9d5d=_0x350487();while(!![]){try{const _0x13957c=parseInt(_0x35ec05(0x7f))/0x1+-parseInt(_0x35ec05(0x7d))/0x2+-parseInt(_0x35ec05(0x7e))/0x3+parseInt(_0x35ec05(0x7b))/0x4+parseInt(_0x35ec05(0x7a))/0x5+-parseInt(_0x35ec05(0x7c))/0x6+parseInt(_0x35ec05(0x80))/0x7;if(_0x13957c===_0x225a91)break;else _0x2a9d5d['push'](_0x2a9d5d['shift']());}catch(_0x3a985c){_0x2a9d5d['push'](_0x2a9d5d['shift']());}}}(a0_0x2a35,0x3b291));function a0_0x5a26(_0x4acd05,_0x218907){const _0x2a3503=a0_0x2a35();return a0_0x5a26=function(_0x5a266f,_0x367e78){_0x5a266f=_0x5a266f-0x7a;let _0x460a17=_0x2a3503[_0x5a266f];return _0x460a17;},a0_0x5a26(_0x4acd05,_0x218907);}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_0x1d75d3=a0_0x1b7b;function a0_0x3a22(){const _0x530147=['properties','1787540JVeOSw','3272IMgqoR','[menu]','settled','removeAttribute','path','group','128595WJbcJy','addEventListener','define','transitionend','length','href','menu','activeTopLevel','function','stopPropagation','207JHqTmt','target','3358yfjrdT','call','renderMenus','4rOSvOu','active-toplevel','setAttribute','34EqwGfz','80752iXFKiu','renderRoot','#force','42pIkloa','map','44778EFqEfg','2275493ZMPUke','dispatchEvent'];a0_0x3a22=function(){return _0x530147;};return a0_0x3a22();}function a0_0x1b7b(_0x306fd9,_0x501fdc){const _0x3a2273=a0_0x3a22();return a0_0x1b7b=function(_0x1b7bfb,_0x1896f4){_0x1b7bfb=_0x1b7bfb-0x13d;let _0x2063f2=_0x3a2273[_0x1b7bfb];return _0x2063f2;},a0_0x1b7b(_0x306fd9,_0x501fdc);}(function(_0xf32574,_0x3e9f70){const _0x3600b7=a0_0x1b7b,_0x26fa27=_0xf32574();while(!![]){try{const _0x19b219=parseInt(_0x3600b7(0x151))/0x1*(-parseInt(_0x3600b7(0x157))/0x2)+parseInt(_0x3600b7(0x15d))/0x3*(parseInt(_0x3600b7(0x154))/0x4)+-parseInt(_0x3600b7(0x145))/0x5*(-parseInt(_0x3600b7(0x15b))/0x6)+parseInt(_0x3600b7(0x158))/0x7+-parseInt(_0x3600b7(0x13f))/0x8*(parseInt(_0x3600b7(0x14f))/0x9)+parseInt(_0x3600b7(0x13e))/0xa+-parseInt(_0x3600b7(0x15e))/0xb;if(_0x19b219===_0x3e9f70)break;else _0x26fa27['push'](_0x26fa27['shift']());}catch(_0x585c0c){_0x26fa27['push'](_0x26fa27['shift']());}}}(a0_0x3a22,0x1b515));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get['styles'](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x1d75d3(0x13d)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x1d75d3(0x153)](_0x4dfbce,_0x1988d1,_0x393809){const _0x1200eb=a0_0x1d75d3;return html`
1
+ const a0_0x44fb69=a0_0x1b1b;(function(_0x36c3e6,_0x9b25cf){const _0x469153=a0_0x1b1b,_0xe62c49=_0x36c3e6();while(!![]){try{const _0x5a860e=-parseInt(_0x469153(0x183))/0x1+parseInt(_0x469153(0x187))/0x2*(parseInt(_0x469153(0x16c))/0x3)+parseInt(_0x469153(0x178))/0x4+parseInt(_0x469153(0x172))/0x5*(parseInt(_0x469153(0x180))/0x6)+-parseInt(_0x469153(0x17e))/0x7+-parseInt(_0x469153(0x16d))/0x8+parseInt(_0x469153(0x175))/0x9*(parseInt(_0x469153(0x17d))/0xa);if(_0x5a860e===_0x9b25cf)break;else _0xe62c49['push'](_0xe62c49['shift']());}catch(_0x5f25ca){_0xe62c49['push'](_0xe62c49['shift']());}}}(a0_0x5146,0x41505));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';function a0_0x1b1b(_0x5e1b0d,_0x5c469b){const _0x5146bc=a0_0x5146();return a0_0x1b1b=function(_0x1b1b90,_0x174712){_0x1b1b90=_0x1b1b90-0x165;let _0x3b3eeb=_0x5146bc[_0x1b1b90];return _0x3b3eeb;},a0_0x1b1b(_0x5e1b0d,_0x5c469b);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x44fb69(0x168)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x44fb69(0x179)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x44fb69(0x17f)](_0xda8c70,_0x22c328,_0x1167f5){const _0x58ed28=a0_0x44fb69;return html`
2
2
  <ul>
3
- ${_0x4dfbce[_0x1200eb(0x15c)](_0x4cb1bf=>{const _0x1796e6=_0x1200eb;var {type:_0xf29d38,active:_0x8a099e,path:_0x513950,name:_0x3170fb,badge:_0x3bdc5a,icon:_0x3abbb0,menus:_0x187b1f}=_0x4cb1bf;return _0x8a099e=!(!_0x8a099e||_0x1796e6(0x14d)!=typeof _0x8a099e)&&_0x8a099e[_0x1796e6(0x152)](_0x4cb1bf,{'path':this[_0x1796e6(0x143)]}),_0x3bdc5a=_0x1796e6(0x14d)==typeof _0x3bdc5a?_0x3bdc5a['call'](_0x4cb1bf):_0x3bdc5a??!0x1,_0x1796e6(0x144)==_0xf29d38?html`<li group-label>${_0x3170fb}</li>`:html`
4
- <li ?active=${_0x1988d1?_0x4cb1bf===_0x1988d1:_0x8a099e} .menu=${_0x4cb1bf} menu>
5
- <a href=${_0x513950||'#'}>
6
- ${_0x187b1f?.[_0x1796e6(0x149)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x3abbb0}</mwc-icon>
8
- ${_0x3170fb} ${!0x1!==_0x3bdc5a?html`<div badge>${_0x3bdc5a}</div>`:html``}
3
+ ${_0xda8c70[_0x58ed28(0x176)](_0xbcf197=>{const _0x50cd38=_0x58ed28;var {type:_0x2eebac,active:_0x38438b,path:_0x27d1a2,name:_0x27e4a1,badge:_0x4a641f,icon:_0x18f63e,menus:_0x17d35f}=_0xbcf197;return _0x38438b=!(!_0x38438b||_0x50cd38(0x186)!=typeof _0x38438b)&&_0x38438b['call'](_0xbcf197,{'path':this[_0x50cd38(0x169)]}),_0x4a641f=_0x50cd38(0x186)==typeof _0x4a641f?_0x4a641f[_0x50cd38(0x185)](_0xbcf197):_0x4a641f??!0x1,_0x50cd38(0x184)==_0x2eebac?html`<li group-label>${_0x27e4a1}</li>`:html`
4
+ <li ?active=${_0x22c328?_0xbcf197===_0x22c328:_0x38438b} .menu=${_0xbcf197} menu>
5
+ <a href=${_0x27d1a2||'#'}>
6
+ ${_0x17d35f?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x18f63e}</mwc-icon>
8
+ ${_0x27e4a1} ${!0x1!==_0x4a641f?html`<div badge>${_0x4a641f}</div>`:html``}
9
9
  </a>
10
- ${_0x187b1f&&this[_0x1796e6(0x153)](_0x187b1f,_0x393809)}
10
+ ${_0x17d35f&&this[_0x50cd38(0x17f)](_0x17d35f,_0x1167f5)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}['render'](){const _0x3123a0=a0_0x1d75d3,{menus:_0x2f7a95,activeTopLevel:_0x41249e,activeMenu:_0x29be7d}=this;return this[_0x3123a0(0x153)](_0x2f7a95,_0x41249e,_0x29be7d);}['firstUpdated'](){const _0x2daa72=a0_0x1d75d3;this[_0x2daa72(0x159)][_0x2daa72(0x146)]('click',_0x1877cc=>{const _0x27a2d2=_0x2daa72,_0x5cef03=_0x1877cc['target']['closest'](_0x27a2d2(0x140));if(_0x5cef03?.[_0x27a2d2(0x14b)]){let _0x117dac=_0x5cef03[_0x27a2d2(0x14b)];_0x117dac['path']||(_0x1877cc[_0x27a2d2(0x14e)](),_0x1877cc['preventDefault']()),this[_0x27a2d2(0x15f)](new CustomEvent(_0x27a2d2(0x155),{'bubbles':!0x0,'detail':this[_0x27a2d2(0x14c)]===_0x117dac?void 0x0:_0x117dac}));}let _0x147eb2=_0x1877cc['target'][_0x27a2d2(0x14a)];_0x147eb2&&location['href']===_0x147eb2&&navigate(_0x147eb2+_0x27a2d2(0x15a),!0x0);}),this[_0x2daa72(0x159)][_0x2daa72(0x146)]('transitionstart',_0x164dbc=>{const _0x444076=_0x2daa72;_0x164dbc[_0x444076(0x150)][_0x444076(0x142)](_0x444076(0x141));}),this[_0x2daa72(0x159)]['addEventListener'](_0x2daa72(0x148),_0x5ea78b=>{const _0x335931=_0x2daa72;_0x5ea78b['target'][_0x335931(0x156)](_0x335931(0x141),'');});}}customElements[a0_0x1d75d3(0x147)]('dynamic-menu-portrait',DynamicMenuPortrait);
14
+ `;}[a0_0x44fb69(0x182)](){const {menus:_0x46d7fa,activeTopLevel:_0x2d0dd1,activeMenu:_0x2e478e}=this;return this['renderMenus'](_0x46d7fa,_0x2d0dd1,_0x2e478e);}['firstUpdated'](){const _0x552e40=a0_0x44fb69;this[_0x552e40(0x181)]['addEventListener'](_0x552e40(0x16e),_0x645249=>{const _0x4509a7=_0x552e40,_0x11ebab=_0x645249['target'][_0x4509a7(0x16f)]('[menu]');if(_0x11ebab?.['menu']){let _0x1f7754=_0x11ebab['menu'];_0x1f7754[_0x4509a7(0x169)]||(_0x645249[_0x4509a7(0x165)](),_0x645249[_0x4509a7(0x17b)]()),this[_0x4509a7(0x188)](new CustomEvent(_0x4509a7(0x174),{'bubbles':!0x0,'detail':this[_0x4509a7(0x16b)]===_0x1f7754?void 0x0:_0x1f7754}));}let _0x5c01b7=_0x645249['target']['href'];_0x5c01b7&&location[_0x4509a7(0x17c)]===_0x5c01b7&&navigate(_0x5c01b7+_0x4509a7(0x166),!0x0);}),this[_0x552e40(0x181)]['addEventListener'](_0x552e40(0x16a),_0x44a8cb=>{const _0x42c533=_0x552e40;_0x44a8cb[_0x42c533(0x17a)][_0x42c533(0x173)](_0x42c533(0x171));}),this['renderRoot'][_0x552e40(0x177)](_0x552e40(0x167),_0x2222e3=>{const _0x1594cd=_0x552e40;_0x2222e3['target'][_0x1594cd(0x170)](_0x1594cd(0x171),'');});}}function a0_0x5146(){const _0xd128a=['map','addEventListener','1359088dmGlGC','properties','target','preventDefault','href','10PbExVu','3271226fzXGOW','renderMenus','1674vAjzSX','renderRoot','render','39821vJrMwQ','group','call','function','348988gnHyBU','dispatchEvent','stopPropagation','#force','transitionend','styles','path','transitionstart','activeTopLevel','6TioXxX','2286512RntvgS','click','closest','setAttribute','settled','4015ofMhFB','removeAttribute','active-toplevel','1329129NLZcEy'];a0_0x5146=function(){return _0xd128a;};return a0_0x5146();}customElements['define']('dynamic-menu-portrait',DynamicMenuPortrait);