@things-factory/meta-ui 6.0.82 → 6.0.90

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 (58) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/mixin/meta-base-mixin.js +1 -1
  3. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  4. package/client/mixin/meta-button-mixin.js +1 -1
  5. package/client/mixin/meta-form-mixin.js +1 -1
  6. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  7. package/client/mixin/meta-master-detail-mixin.js +1 -1
  8. package/client/mixin/meta-service-mixin.js +1 -1
  9. package/client/mixin/meta-tab-mixin.js +1 -1
  10. package/client/pages/activity/meta-activity-list-page.js +6 -6
  11. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  12. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  13. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  14. package/client/pages/entity/config-entity.js +29 -29
  15. package/client/pages/entity/main-menu-selector.js +8 -8
  16. package/client/pages/history/history-copy-list-popup.js +6 -6
  17. package/client/pages/history/history-json-list-popup.js +6 -6
  18. package/client/pages/loading-page.js +5 -5
  19. package/client/pages/menu/dynamic-menu-template.js +7 -7
  20. package/client/pages/menu/dynamic-menu.js +15 -15
  21. package/client/pages/meta-form-element.js +1 -1
  22. package/client/pages/meta-grist-element.js +1 -1
  23. package/client/pages/meta-grist-page.js +1 -1
  24. package/client/pages/meta-grist-tab-element.js +1 -1
  25. package/client/pages/meta-grist-tab-page.js +1 -1
  26. package/client/pages/meta-master-detail-element.js +1 -1
  27. package/client/pages/meta-master-detail-page.js +1 -1
  28. package/client/pages/meta-tab-element.js +1 -1
  29. package/client/pages/personalize/personal-column-selector.js +11 -11
  30. package/client/pages/terms/config-terminology.js +6 -6
  31. package/client/reducers/main.js +1 -1
  32. package/client/utils/meta-api.js +1 -1
  33. package/client/utils/meta-crypto.js +1 -1
  34. package/client/utils/meta-ui-util.js +82 -82
  35. package/client/utils/service-util.js +12 -12
  36. package/client/utils/terms-util.js +2 -2
  37. package/client/utils/ui-util.js +1 -1
  38. package/client/utils/value-util.js +1 -1
  39. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  40. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  41. package/client/viewparts/dynamic-menu-part.js +12 -12
  42. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  43. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  44. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  45. package/package.json +5 -5
  46. package/server/activity/CommonActivity.js +2 -2
  47. package/server/constants/error-code.js +1 -1
  48. package/server/errors/license-error.js +1 -1
  49. package/server/routes.js +1 -1
  50. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize.js +1 -1
  54. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  55. package/server/service/meta-activity/meta-activity-query.js +1 -1
  56. package/server/service/meta-activity/meta-activity-type.js +1 -1
  57. package/server/service/meta-secret/meta-resolver.js +1 -1
  58. package/server/service/set-translations/set-translation-resolver.js +1 -1
@@ -1,29 +1,29 @@
1
- const a0_0x3602b8=a0_0x31f9;(function(_0x446116,_0x54b0e2){const _0x4a5258=a0_0x31f9,_0x577ee5=_0x446116();while(!![]){try{const _0xc03ede=parseInt(_0x4a5258(0x1ce))/0x1*(parseInt(_0x4a5258(0x1d2))/0x2)+parseInt(_0x4a5258(0x215))/0x3+-parseInt(_0x4a5258(0x1bd))/0x4*(-parseInt(_0x4a5258(0x1f5))/0x5)+-parseInt(_0x4a5258(0x20a))/0x6+-parseInt(_0x4a5258(0x1d1))/0x7*(-parseInt(_0x4a5258(0x1fd))/0x8)+parseInt(_0x4a5258(0x211))/0x9+-parseInt(_0x4a5258(0x1f7))/0xa*(parseInt(_0x4a5258(0x22d))/0xb);if(_0xc03ede===_0x54b0e2)break;else _0x577ee5['push'](_0x577ee5['shift']());}catch(_0x3d26ba){_0x577ee5['push'](_0x577ee5['shift']());}}}(a0_0x1563,0x5c651));import{store}from'@things-factory/shell';function a0_0x31f9(_0x24e466,_0xddf343){const _0x15639d=a0_0x1563();return a0_0x31f9=function(_0x31f9cc,_0x390a38){_0x31f9cc=_0x31f9cc-0x1ba;let _0x325f0f=_0x15639d[_0x31f9cc];return _0x325f0f;},a0_0x31f9(_0x24e466,_0xddf343);}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_0x192684 from'graphql-tag';import{ValueUtil}from'./value-util';function a0_0x1563(){const _0x2426a8=['\x0a\x20\x20\x20\x20\x20\x20','33otxVPw','__seq__','parse','todo-list','query','splice','text.there_is_nothing_to_delete','HOME','hidden','9068CMprOF','searchByPagination','checkClientError','success\x20to\x20delete','SCREEN','showGraphqlErrorResponse','gridPersonalizeTemplates','active','myDynamicMenus','template','menus','\x0a\x20\x20\x20\x20','approval-pending-list','children','searchMyDynamicMenus','undefined','cuFlag','4pbqJbU','question','parent','623973jSBMWn','360958aoXAwe','object','button.delete','forEach','category','result','text.nothing_selected','showGraphqlException','length','menuType','iconPath','unshift','total','name','confirm','callScenario','text.are_you_sure','badge','test','runScenario','isNotEmpty','includes','updatedAt','buildArgs','MENU','exportableData','numberOfDrafts','__dirty__','value','imex','deleteListByGristSelected','menu.id','noteq','sort','rank','295ecyGpH','errors','3991910QYkocu','routingType','records','HIDDEN-PAGE','numberOfApprovalPendings','info','8NZoQHQ','showAlertPopup','tText','getCodeSelectorData','deleteListByIds','find','draft-list','fetch','filter','columns','\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','codeItems','group','103380jwFGoV','__selected__','key','cancel','dirtyRecords','updateMultiple','description','1615671YIakGR','selected','push','resourceUrl','1406775RkVPhh','record','__dirtyfields__','code','data','GROUP','arrangeMenuRoutes','split','message','text.nothing_changed','title','tMenu','networkError','getSelectedIdList','error','hiddenFlag','path','showToast','type','map','extensions','routing','patchesForUpdateMultiple'];a0_0x1563=function(){return _0x2426a8;};return a0_0x1563();}import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x69d479 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x3602b8(0x208)](_0x2c3b20){return await getCodeByName(_0x2c3b20);}static async[a0_0x3602b8(0x200)](_0x5a6e69){const _0x277944=a0_0x3602b8;let _0x4ced3f=(await ServiceUtil[_0x277944(0x208)](_0x5a6e69))[_0x277944(0x228)](_0xd6db60=>({'value':_0xd6db60['name'],'display':_0xd6db60[_0x277944(0x210)]}));return _0x4ced3f[_0x277944(0x1dd)]({'value':'','display':''}),_0x4ced3f;}static async['getCodeByScenario'](_0x52eed5,_0x3d4028){const _0x3d5c13=a0_0x3602b8;let _0x1ac2ee=await ServiceUtil[_0x3d5c13(0x1e1)](null,_0x52eed5,_0x3d4028);return _0x1ac2ee[_0x3d5c13(0x1dd)]({'name':'','description':''}),_0x1ac2ee[_0x3d5c13(0x228)](_0x110210=>({'value':_0x110210[_0x3d5c13(0x1df)],'display':_0x110210[_0x3d5c13(0x210)]}));}static async['getCodeByEntity']({queryName:_0x40870b,codeField:_0x3021a4=a0_0x3602b8(0x1df),dispField:_0x2644fd=a0_0x3602b8(0x210),filters:_0x53ab9e=[],sorters:_0x684ac1=[]}){const _0x10d67d=a0_0x3602b8;let _0x9fd44d=_0x10d67d(0x22c)+_0x3021a4+_0x10d67d(0x22c)+_0x2644fd+_0x10d67d(0x1c8),_0x4de49b=await ServiceUtil[_0x10d67d(0x1be)](_0x40870b,_0x53ab9e,_0x684ac1,0x0,0x0,_0x9fd44d),_0x4c57eb=[{'name':'','description':''}];return _0x4de49b[_0x10d67d(0x1f9)][_0x10d67d(0x1d5)](_0x14ec2e=>{const _0xf94ee4=_0x10d67d;_0x4c57eb[_0xf94ee4(0x213)]({'value':_0x14ec2e[_0x3021a4],'display':_0x14ec2e[_0x2644fd]});}),_0x4c57eb;}static async[a0_0x3602b8(0x1c5)](){const _0x2978cd=a0_0x3602b8;let _0xd36245=await ServiceUtil[_0x2978cd(0x1cb)]();return null!=_0xd36245?ServiceUtil[_0x2978cd(0x21b)](_0xd36245):null;}static async['searchMenuGridPersnalTemplate'](_0x58ef14){const _0x11a519=a0_0x3602b8;let _0x25754b=[{'name':_0x11a519(0x1f1),'operator':'eq','value':_0x58ef14}],_0x2e9342=await ServiceUtil['searchByPagination'](_0x11a519(0x1c3),_0x25754b,[],0x0,0x0,'id,template');return 0x0==_0x2e9342['total']?{}:{'id':_0x2e9342[_0x11a519(0x1f9)][0x0]['id'],'template':JSON[_0x11a519(0x22f)](_0x2e9342[_0x11a519(0x1f9)][0x0][_0x11a519(0x1c6)])};}static[a0_0x3602b8(0x21b)](_0x5745cb){const _0x6ae563=a0_0x3602b8;let _0x16025e=[];_0x5745cb[_0x6ae563(0x1d5)](_0x7d4e55=>{const _0x2399e9=_0x6ae563;_0x16025e[_0x2399e9(0x213)](_0x7d4e55),_0x7d4e55[_0x2399e9(0x1ca)]&&(_0x7d4e55[_0x2399e9(0x1ca)][_0x2399e9(0x1f3)](function(_0x1b64e8,_0x45d74a){const _0x4638a2=_0x2399e9;return _0x1b64e8[_0x4638a2(0x1f4)]-_0x45d74a[_0x4638a2(0x1f4)];}),_0x7d4e55[_0x2399e9(0x1ca)]['forEach'](_0x263eec=>{const _0x33dec3=_0x2399e9;0x1!=_0x263eec[_0x33dec3(0x224)]&&(_0x263eec[_0x33dec3(0x1d0)]=_0x7d4e55,_0x16025e['push'](_0x263eec));}));});let _0xeba48e=_0x16025e['map'](_0x2d228e=>{const _0x161312=_0x6ae563;if(_0x161312(0x21a)==_0x2d228e['menuType']||_0x161312(0x1ea)==_0x2d228e[_0x161312(0x1db)]){let _0x5e30bb={'id':_0x2d228e['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x2d228e[_0x161312(0x1df)]),'icon':_0x2d228e['iconPath'],'type':_0x161312(0x21a)==_0x2d228e[_0x161312(0x1db)]?'group':'','menus':[]};return _0x2d228e[_0x161312(0x22a)]&&(_0x5e30bb['path']=_0x2d228e[_0x161312(0x22a)]),_0x5e30bb;}return{'id':'0'};})[_0x6ae563(0x205)](_0x26a56f=>'0'!=_0x26a56f['id']),_0x420617=_0x16025e['map'](_0x381b32=>{const _0x1c0f6c=_0x6ae563;if(_0x1c0f6c(0x1c1)==_0x381b32['menuType']||_0x1c0f6c(0x1fa)==_0x381b32[_0x1c0f6c(0x1db)]){let _0x3f48ba=_0xeba48e[_0x1c0f6c(0x202)](_0x452543=>_0x452543['id']==_0x381b32['parent']['id']);if(_0x3f48ba){let _0x3ada27=TermsUtil[_0x1c0f6c(0x220)](_0x381b32[_0x1c0f6c(0x1df)]);return'SCREEN'==_0x381b32['menuType']&&_0x3f48ba[_0x1c0f6c(0x1c7)][_0x1c0f6c(0x213)]({'id':_0x381b32['id'],'name':_0x3ada27,'path':_0x381b32[_0x1c0f6c(0x22a)],'icon':_0x381b32[_0x1c0f6c(0x1dc)]}),{'id':_0x381b32['id'],'parent':!0x1,'parent_id':_0x3f48ba['id'],'title':_0x3ada27,'tagname':_0x381b32[_0x1c0f6c(0x1d6)],'page':_0x381b32[_0x1c0f6c(0x22a)],'template':_0x381b32[_0x1c0f6c(0x214)],'routing_type':_0x381b32[_0x1c0f6c(0x1f8)]};}return{'id':'0'};}return _0x1c0f6c(0x1bb)==_0x381b32[_0x1c0f6c(0x1db)]?{'id':_0x381b32['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x1c0f6c(0x220)](_0x381b32[_0x1c0f6c(0x1df)]),'tagname':_0x381b32[_0x1c0f6c(0x1d6)],'page':_0x381b32[_0x1c0f6c(0x22a)],'template':_0x381b32[_0x1c0f6c(0x214)],'routing_type':_0x381b32[_0x1c0f6c(0x1f8)]}:{'id':'0'};})[_0x6ae563(0x205)](_0x12cbd5=>null!=_0x12cbd5&&'0'!=_0x12cbd5['id']);_0xeba48e[_0x6ae563(0x205)](_0x3c9986=>_0x6ae563(0x209)==_0x3c9986[_0x6ae563(0x227)]&&_0x3c9986['menus']&&_0x3c9986[_0x6ae563(0x1c7)][_0x6ae563(0x1da)]>0x0)[_0x6ae563(0x1d5)](_0x9789f2=>{const _0x5cab85=_0x6ae563;let _0x5d44e6=_0xeba48e['findIndex'](_0x2b2b85=>_0x2b2b85['id']==_0x9789f2['id'])+0x1;_0xeba48e[_0x5cab85(0x232)](_0x5d44e6,0x0,..._0x9789f2[_0x5cab85(0x1c7)]);});let _0x362278=0x0;return _0xeba48e[_0x6ae563(0x1d5)](_0x33aaf2=>{const _0x30281f=_0x6ae563;_0x30281f(0x230)==_0x33aaf2[_0x30281f(0x225)]?(_0x362278++,_0x33aaf2[_0x30281f(0x1e3)]=()=>asyncReplace(generateActivitySummary('numberOfToDos')),_0x33aaf2[_0x30281f(0x1c4)]=({path:_0x334481})=>/^activity\//[_0x30281f(0x1e4)](_0x334481)):_0x30281f(0x1c9)==_0x33aaf2['path']?(_0x362278++,_0x33aaf2[_0x30281f(0x1e3)]=()=>asyncReplace(generateActivitySummary(_0x30281f(0x1fb))),_0x33aaf2[_0x30281f(0x1c4)]=({path:_0x39f148})=>/^activity\//[_0x30281f(0x1e4)](_0x39f148)):_0x30281f(0x203)==_0x33aaf2[_0x30281f(0x225)]&&(_0x362278++,_0x33aaf2[_0x30281f(0x1e3)]=()=>asyncReplace(generateActivitySummary(_0x30281f(0x1ec))));}),_0x362278>0x0&&startSubscribeActivitySummary(),{'menus':_0xeba48e,'routes':_0x420617};}static async['searchMyDynamicMenus'](){const _0x5c57d6=a0_0x3602b8;let _0x43a901=await ServiceUtil[_0x5c57d6(0x1be)]('menus',[{'name':_0x5c57d6(0x224),'operator':_0x5c57d6(0x1f2),'value':!0x0},{'name':'menuType','operator':'in','value':['HOME','MENU','GROUP']}],[{'name':_0x5c57d6(0x1f4)}],0x0,0x0,_0x5c57d6(0x207));return _0x43a901?_0x43a901[_0x5c57d6(0x1f9)]:[];}static async[a0_0x3602b8(0x1c2)](_0x36b42a){const _0x4a8a6c=a0_0x3602b8;if(_0x36b42a[_0x4a8a6c(0x1f6)]&&_0x36b42a['errors'][_0x4a8a6c(0x1da)]>0x0){let _0x4d4ef1=_0x36b42a['errors'][0x0],_0x5dc48e=_0x4d4ef1[_0x4a8a6c(0x21d)],_0x4841e3=_0x4d4ef1['message'];_0x4d4ef1[_0x4a8a6c(0x229)]&&(_0x4841e3=_0x4d4ef1[_0x4a8a6c(0x229)][_0x4a8a6c(0x218)]),await UiUtil['showAlertPopup'](_0x4841e3,_0x5dc48e,_0x4a8a6c(0x223),_0x4a8a6c(0x1e0));}}static async[a0_0x3602b8(0x1d9)](_0x31221){const _0x1a2432=a0_0x3602b8;_0x31221&&(_0x31221[_0x1a2432(0x221)]&&_0x31221['networkError'][_0x1a2432(0x1d7)]?await ServiceUtil[_0x1a2432(0x1c2)](_0x31221[_0x1a2432(0x221)][_0x1a2432(0x1d7)]):await UiUtil[_0x1a2432(0x1fe)]('Graphql\x20Error',_0x31221['message'],_0x1a2432(0x223),_0x1a2432(0x1e0)));}static async[a0_0x3602b8(0x1eb)](_0x6e874e,_0x15a2e3,_0x5bfd4e){const _0x3cac7c=a0_0x3602b8;var _0x459e07=_0x5bfd4e['_config'][_0x3cac7c(0x206)][_0x3cac7c(0x205)](_0x2841ec=>'gutter'!==_0x2841ec[_0x3cac7c(0x227)]&&void 0x0!==_0x2841ec['record']&&void 0x0!==_0x2841ec[_0x3cac7c(0x1ef)]&&!0x0!==_0x2841ec[_0x3cac7c(0x1bc)])[_0x3cac7c(0x228)](_0x2d1d75=>_0x2d1d75['imex']),_0x2cf529=_0x5bfd4e[_0x3cac7c(0x219)][_0x3cac7c(0x1f9)][_0x3cac7c(0x228)](_0x8823be=>({..._0x5bfd4e['_config']['columns']['filter'](_0x32635a=>'gutter'!==_0x32635a[_0x3cac7c(0x227)]&&void 0x0!==_0x32635a[_0x3cac7c(0x216)]&&void 0x0!==_0x32635a[_0x3cac7c(0x1ef)]&&!0x0!==_0x32635a[_0x3cac7c(0x1bc)])['reduce']((_0x18597c,_0x4a326b)=>(_0x18597c[_0x4a326b['imex'][_0x3cac7c(0x20c)]]=_0x4a326b[_0x3cac7c(0x1ef)][_0x3cac7c(0x20c)][_0x3cac7c(0x21c)]('.')['reduce']((_0x5d9d1e,_0x1e3d15)=>_0x5d9d1e&&_0x3cac7c(0x1cc)!==_0x5d9d1e[_0x1e3d15]?_0x5d9d1e[_0x1e3d15]:void 0x0,_0x8823be),_0x18597c),{})}));if(!_0x6e874e)return{'header':_0x459e07,'data':_0x2cf529};store['dispatch']({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x15a2e3,'data':{'header':_0x459e07,'data':_0x2cf529}}});}static async[a0_0x3602b8(0x1be)](_0x304e70,_0x479091,_0x976b5c,_0x21adaf,_0x4db480,_0x358bc1){const _0x207398=a0_0x3602b8;try{const _0x1880ba=await client[_0x207398(0x231)]({'query':a0_0x192684`
1
+ const a0_0x747d17=a0_0x5626;function a0_0x5626(_0x381da9,_0x52405c){const _0x364969=a0_0x3649();return a0_0x5626=function(_0x5626cc,_0x828022){_0x5626cc=_0x5626cc-0x177;let _0x30c862=_0x364969[_0x5626cc];return _0x30c862;},a0_0x5626(_0x381da9,_0x52405c);}(function(_0x53b54c,_0x380b51){const _0x54441b=a0_0x5626,_0x18cd5c=_0x53b54c();while(!![]){try{const _0x22de05=parseInt(_0x54441b(0x1f0))/0x1+parseInt(_0x54441b(0x1f2))/0x2+-parseInt(_0x54441b(0x1ec))/0x3*(-parseInt(_0x54441b(0x17e))/0x4)+-parseInt(_0x54441b(0x1b4))/0x5+-parseInt(_0x54441b(0x181))/0x6+-parseInt(_0x54441b(0x1aa))/0x7+parseInt(_0x54441b(0x1c8))/0x8;if(_0x22de05===_0x380b51)break;else _0x18cd5c['push'](_0x18cd5c['shift']());}catch(_0x3d1d75){_0x18cd5c['push'](_0x18cd5c['shift']());}}}(a0_0x3649,0x7c258));import{store}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';function a0_0x3649(){const _0x41a25a=['button.','gridPersonalizeTemplates','template','HIDDEN-PAGE','result','success\x20to\x20process','menu.id','message','active','resourceUrl','push','HOME','cancel','parent','deleteListByIds','gutter','button.delete','__dirty__','showToast','numberOfToDos','total','showGraphqlErrorResponse','success\x20to\x20save','todo-list','query','question','searchByPagination','test','routing','searchMenuGridPersnalTemplate','dirtyRecords','searchMyDynamicMenus','getSelectedIdList','find','1024464clWjqH','imex','group','text.there_is_nothing_to_delete','callScenario','path','text.nothing_changed','draft-list','xlsx','items','950445skfCXw','\x0a\x20\x20\x20\x20\x20\x20','record','showAlertPopup','menus','updateMultipleData','error','updater','forEach','filter','getCodeByEntity','runScenario','hidden','children','reduce','key','patchesForUpdateMultiple','name','text.nothing_selected','badge','3417048rtwGFN','hiddenFlag','fetch','data','menuType','_config','networkError','noteq','numberOfDrafts','confirm','arrangeMenuRoutes','selected','findOne','object','__selected__','creator','findIndex','includes','splice','code','description','exportableData','undefined','codeItems','sort','info','columns','text.are_you_sure','unshift','map','title','tText','routingType','records','value','errors','958767cxvIOe','getCodeByScenario','extensions','\x0a\x20\x20\x20\x20','127250YEeDhw','tMenu','1896434PPpgLX','type','checkClientError','showGraphqlException','iconPath','MENU','length','__seq__','split','GROUP','getCodeSelectorData','text.NOTHING_CHANGED','4RmGwUl','updateMultiple','dispatch','5863452vQeuIQ','buildArgs','numberOfApprovalPendings','SCREEN','rank','success\x20to\x20delete','category'];a0_0x3649=function(){return _0x41a25a;};return a0_0x3649();}import{UiUtil}from'./ui-util';import a0_0x53dac8 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x47d192 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x747d17(0x1df)](_0x46411d){return await getCodeByName(_0x46411d);}static async[a0_0x747d17(0x17c)](_0x2e5f4f){const _0x4a1cd9=a0_0x747d17;let _0x41b19a=(await ServiceUtil['codeItems'](_0x2e5f4f))['map'](_0x1f3756=>({'value':_0x1f3756['name'],'display':_0x1f3756[_0x4a1cd9(0x1dc)]}));return _0x41b19a[_0x4a1cd9(0x1e4)]({'value':'','display':''}),_0x41b19a;}static async[a0_0x747d17(0x1ed)](_0x31a8f2,_0x8ed29b){const _0x54b9cb=a0_0x747d17;let _0x6f357f=await ServiceUtil[_0x54b9cb(0x1ae)](null,_0x31a8f2,_0x8ed29b);return _0x6f357f['unshift']({'name':'','description':''}),_0x6f357f[_0x54b9cb(0x1e5)](_0x10a98a=>({'value':_0x10a98a[_0x54b9cb(0x1c5)],'display':_0x10a98a[_0x54b9cb(0x1dc)]}));}static async[a0_0x747d17(0x1be)]({queryName:_0x3f3426,codeField:_0x12b19e='name',dispField:_0x326558=a0_0x747d17(0x1dc),filters:_0x271083=[],sorters:_0x5c2464=[]}){const _0x12d5f0=a0_0x747d17;let _0x421b2d=_0x12d5f0(0x1b5)+_0x12b19e+_0x12d5f0(0x1b5)+_0x326558+_0x12d5f0(0x1ef),_0x17fcde=await ServiceUtil['searchByPagination'](_0x3f3426,_0x271083,_0x5c2464,0x0,0x0,_0x421b2d),_0x4d000f=[{'name':'','description':''}];return _0x17fcde[_0x12d5f0(0x1e9)]['forEach'](_0x3df8c1=>{const _0x2b373a=_0x12d5f0;_0x4d000f[_0x2b373a(0x192)]({'value':_0x3df8c1[_0x12b19e],'display':_0x3df8c1[_0x326558]});}),_0x4d000f;}static async['myDynamicMenus'](){const _0x38cd0c=a0_0x747d17;let _0x4433a0=await ServiceUtil[_0x38cd0c(0x1a7)]();return null!=_0x4433a0?ServiceUtil[_0x38cd0c(0x1d2)](_0x4433a0):null;}static async[a0_0x747d17(0x1a5)](_0x19d4ba){const _0x596a94=a0_0x747d17;let _0x197d4b=[{'name':_0x596a94(0x18e),'operator':'eq','value':_0x19d4ba}],_0x44186b=await ServiceUtil[_0x596a94(0x1a2)](_0x596a94(0x189),_0x197d4b,[],0x0,0x0,'id,template');return 0x0==_0x44186b['total']?{}:{'id':_0x44186b[_0x596a94(0x1e9)][0x0]['id'],'template':JSON['parse'](_0x44186b[_0x596a94(0x1e9)][0x0][_0x596a94(0x18a)])};}static['arrangeMenuRoutes'](_0x43aa36){const _0x112021=a0_0x747d17;let _0x5d02f1=[];_0x43aa36[_0x112021(0x1bc)](_0x35ecea=>{const _0x2c81b1=_0x112021;_0x5d02f1[_0x2c81b1(0x192)](_0x35ecea),_0x35ecea['children']&&(_0x35ecea[_0x2c81b1(0x1c1)][_0x2c81b1(0x1e0)](function(_0x1f566f,_0x5c3957){const _0xe09301=_0x2c81b1;return _0x1f566f[_0xe09301(0x185)]-_0x5c3957[_0xe09301(0x185)];}),_0x35ecea['children'][_0x2c81b1(0x1bc)](_0x4637ec=>{const _0x4baeda=_0x2c81b1;0x1!=_0x4637ec[_0x4baeda(0x1c9)]&&(_0x4637ec[_0x4baeda(0x195)]=_0x35ecea,_0x5d02f1[_0x4baeda(0x192)](_0x4637ec));}));});let _0x1a1078=_0x5d02f1['map'](_0x296674=>{const _0x417ff9=_0x112021;if(_0x417ff9(0x17b)==_0x296674['menuType']||'MENU'==_0x296674[_0x417ff9(0x1cc)]){let _0x3f92d9={'id':_0x296674['id'],'parent':!0x0,'name':TermsUtil[_0x417ff9(0x1f1)](_0x296674[_0x417ff9(0x1c5)]),'icon':_0x296674['iconPath'],'type':'GROUP'==_0x296674[_0x417ff9(0x1cc)]?'group':'','menus':[]};return _0x296674[_0x417ff9(0x1a4)]&&(_0x3f92d9[_0x417ff9(0x1af)]=_0x296674[_0x417ff9(0x1a4)]),_0x3f92d9;}return{'id':'0'};})[_0x112021(0x1bd)](_0x4e3bf9=>'0'!=_0x4e3bf9['id']),_0x23ebed=_0x5d02f1[_0x112021(0x1e5)](_0x188577=>{const _0x4db991=_0x112021;if(_0x4db991(0x184)==_0x188577[_0x4db991(0x1cc)]||_0x4db991(0x18b)==_0x188577[_0x4db991(0x1cc)]){let _0x53af9f=_0x1a1078[_0x4db991(0x1a9)](_0x4482eb=>_0x4482eb['id']==_0x188577['parent']['id']);if(_0x53af9f){let _0x41b938=TermsUtil['tMenu'](_0x188577[_0x4db991(0x1c5)]);return'SCREEN'==_0x188577['menuType']&&_0x53af9f['menus']['push']({'id':_0x188577['id'],'name':_0x41b938,'path':_0x188577[_0x4db991(0x1a4)],'icon':_0x188577[_0x4db991(0x1f6)]}),{'id':_0x188577['id'],'parent':!0x1,'parent_id':_0x53af9f['id'],'title':_0x41b938,'tagname':_0x188577['category'],'page':_0x188577[_0x4db991(0x1a4)],'template':_0x188577[_0x4db991(0x191)],'routing_type':_0x188577['routingType']};}return{'id':'0'};}return _0x4db991(0x193)==_0x188577[_0x4db991(0x1cc)]?{'id':_0x188577['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x4db991(0x1f1)](_0x188577[_0x4db991(0x1c5)]),'tagname':_0x188577[_0x4db991(0x187)],'page':_0x188577['routing'],'template':_0x188577[_0x4db991(0x191)],'routing_type':_0x188577[_0x4db991(0x1e8)]}:{'id':'0'};})[_0x112021(0x1bd)](_0x5ab4d0=>null!=_0x5ab4d0&&'0'!=_0x5ab4d0['id']);_0x1a1078[_0x112021(0x1bd)](_0x1fce6b=>_0x112021(0x1ac)==_0x1fce6b[_0x112021(0x1f3)]&&_0x1fce6b['menus']&&_0x1fce6b[_0x112021(0x1b8)][_0x112021(0x178)]>0x0)[_0x112021(0x1bc)](_0x4c35c2=>{const _0x46ec66=_0x112021;let _0x640cab=_0x1a1078[_0x46ec66(0x1d8)](_0x3a8e8d=>_0x3a8e8d['id']==_0x4c35c2['id'])+0x1;_0x1a1078[_0x46ec66(0x1da)](_0x640cab,0x0,..._0x4c35c2[_0x46ec66(0x1b8)]);});let _0x25ee00=0x0;return _0x1a1078[_0x112021(0x1bc)](_0x1bb235=>{const _0x64d7f=_0x112021;_0x64d7f(0x19f)==_0x1bb235['path']?(_0x25ee00++,_0x1bb235[_0x64d7f(0x1c7)]=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x19b))),_0x1bb235['active']=({path:_0x548beb})=>/^activity\//[_0x64d7f(0x1a3)](_0x548beb)):'approval-pending-list'==_0x1bb235[_0x64d7f(0x1af)]?(_0x25ee00++,_0x1bb235[_0x64d7f(0x1c7)]=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x183))),_0x1bb235[_0x64d7f(0x190)]=({path:_0x4a0577})=>/^activity\//['test'](_0x4a0577)):_0x64d7f(0x1b1)==_0x1bb235[_0x64d7f(0x1af)]&&(_0x25ee00++,_0x1bb235['badge']=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x1d0))));}),_0x25ee00>0x0&&startSubscribeActivitySummary(),{'menus':_0x1a1078,'routes':_0x23ebed};}static async['searchMyDynamicMenus'](){const _0x12cf2d=a0_0x747d17;let _0x23398b=await ServiceUtil['searchByPagination'](_0x12cf2d(0x1b8),[{'name':_0x12cf2d(0x1c9),'operator':_0x12cf2d(0x1cf),'value':!0x0},{'name':'menuType','operator':'in','value':[_0x12cf2d(0x193),_0x12cf2d(0x177),'GROUP']}],[{'name':'rank'}],0x0,0x0,'\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20');return _0x23398b?_0x23398b[_0x12cf2d(0x1e9)]:[];}static async[a0_0x747d17(0x19d)](_0x1a8a9f){const _0x38972e=a0_0x747d17;if(_0x1a8a9f[_0x38972e(0x1eb)]&&_0x1a8a9f['errors'][_0x38972e(0x178)]>0x0){let _0x18f52e=_0x1a8a9f[_0x38972e(0x1eb)][0x0],_0x42db9a=_0x18f52e['message'],_0x33a82d=_0x18f52e['message'];_0x18f52e[_0x38972e(0x1ee)]&&(_0x33a82d=_0x18f52e[_0x38972e(0x1ee)][_0x38972e(0x1db)]),await UiUtil[_0x38972e(0x1b7)](_0x33a82d,_0x42db9a,_0x38972e(0x1ba),_0x38972e(0x1d1));}}static async[a0_0x747d17(0x1f5)](_0x4e3d42){const _0x2b3658=a0_0x747d17;_0x4e3d42&&(_0x4e3d42[_0x2b3658(0x1ce)]&&_0x4e3d42[_0x2b3658(0x1ce)][_0x2b3658(0x18c)]?await ServiceUtil[_0x2b3658(0x19d)](_0x4e3d42[_0x2b3658(0x1ce)][_0x2b3658(0x18c)]):await UiUtil[_0x2b3658(0x1b7)]('Graphql\x20Error',_0x4e3d42[_0x2b3658(0x18f)],'error',_0x2b3658(0x1d1)));}static async[a0_0x747d17(0x1dd)](_0x26834e,_0x17d81d,_0x594bf3){const _0x28a745=a0_0x747d17;var _0x2b05c4=_0x594bf3[_0x28a745(0x1cd)][_0x28a745(0x1e2)][_0x28a745(0x1bd)](_0x3bd026=>'gutter'!==_0x3bd026[_0x28a745(0x1f3)]&&void 0x0!==_0x3bd026[_0x28a745(0x1b6)]&&void 0x0!==_0x3bd026[_0x28a745(0x1ab)]&&!0x0!==_0x3bd026[_0x28a745(0x1c0)])['map'](_0x162c2a=>_0x162c2a[_0x28a745(0x1ab)]),_0x2624bd=_0x594bf3['data'][_0x28a745(0x1e9)][_0x28a745(0x1e5)](_0xed8856=>({..._0x594bf3['_config'][_0x28a745(0x1e2)][_0x28a745(0x1bd)](_0x54c9e4=>_0x28a745(0x197)!==_0x54c9e4['type']&&void 0x0!==_0x54c9e4[_0x28a745(0x1b6)]&&void 0x0!==_0x54c9e4[_0x28a745(0x1ab)]&&!0x0!==_0x54c9e4[_0x28a745(0x1c0)])[_0x28a745(0x1c2)]((_0xbc3d4c,_0x350c79)=>(_0xbc3d4c[_0x350c79[_0x28a745(0x1ab)][_0x28a745(0x1c3)]]=_0x350c79[_0x28a745(0x1ab)][_0x28a745(0x1c3)][_0x28a745(0x17a)]('.')[_0x28a745(0x1c2)]((_0x29363b,_0x14c84f)=>_0x29363b&&_0x28a745(0x1de)!==_0x29363b[_0x14c84f]?_0x29363b[_0x14c84f]:void 0x0,_0xed8856),_0xbc3d4c),{})}));if(!_0x26834e)return{'header':_0x2b05c4,'data':_0x2624bd};store[_0x28a745(0x180)]({'type':EXPORT,'exportable':{'extension':_0x28a745(0x1b2),'name':_0x17d81d,'data':{'header':_0x2b05c4,'data':_0x2624bd}}});}static async[a0_0x747d17(0x1a2)](_0x33a77f,_0x442a73,_0x50a3a4,_0x4f9cc0,_0x5eb812,_0x335c4d){const _0x3ff9be=a0_0x747d17;try{const _0x400a75=await client[_0x3ff9be(0x1a0)]({'query':a0_0x53dac8`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
- ${_0x304e70}(filters: $filters, pagination: $pagination, sortings: $sortings) {
3
+ ${_0x33a77f}(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
5
- ${_0x358bc1}
5
+ ${_0x335c4d}
6
6
  }
7
7
  total
8
8
  }
9
9
  }
10
- `,'variables':{'filters':_0x479091,'sortings':_0x976b5c,'pagination':{'page':_0x21adaf,'limit':_0x4db480}}});if(!_0x1880ba[_0x207398(0x1f6)])return{'records':_0x1880ba[_0x207398(0x219)][_0x304e70]['items'],'total':_0x1880ba[_0x207398(0x219)][_0x304e70][_0x207398(0x1de)]};ServiceUtil['showGraphqlErrorResponse'](_0x1880ba);}catch(_0x9b5277){ServiceUtil[_0x207398(0x1d9)](_0x9b5277);}return null;}static async['findOne'](_0x9ceb71,_0x473905,_0xab08d1){const _0x5caa03=a0_0x3602b8;try{let _0x9aa42a=await client[_0x5caa03(0x231)]({'query':a0_0x192684`
10
+ `,'variables':{'filters':_0x442a73,'sortings':_0x50a3a4,'pagination':{'page':_0x4f9cc0,'limit':_0x5eb812}}});if(!_0x400a75[_0x3ff9be(0x1eb)])return{'records':_0x400a75[_0x3ff9be(0x1cb)][_0x33a77f][_0x3ff9be(0x1b3)],'total':_0x400a75[_0x3ff9be(0x1cb)][_0x33a77f][_0x3ff9be(0x19c)]};ServiceUtil['showGraphqlErrorResponse'](_0x400a75);}catch(_0x47c6db){ServiceUtil[_0x3ff9be(0x1f5)](_0x47c6db);}return null;}static async[a0_0x747d17(0x1d4)](_0x6bfa35,_0x4f9d4f,_0x253ccc){const _0x1674aa=a0_0x747d17;try{let _0x2a216=await client[_0x1674aa(0x1a0)]({'query':a0_0x53dac8`
11
11
  query ($id: String!) {
12
- ${_0x9ceb71}(id: $id) {
13
- ${_0xab08d1}
12
+ ${_0x6bfa35}(id: $id) {
13
+ ${_0x253ccc}
14
14
  }
15
15
  }
16
- `,'variables':{'id':_0x473905}});if(!_0x9aa42a[_0x5caa03(0x1f6)])return _0x9aa42a[_0x5caa03(0x219)][_0x9ceb71]||{};ServiceUtil[_0x5caa03(0x1c2)](_0x9aa42a);}catch(_0x1d488a){ServiceUtil[_0x5caa03(0x1d9)](_0x1d488a);}return null;}static['getSelectedIdList'](_0x4e7414,_0x354121){const _0x1305f8=a0_0x3602b8,_0x27a328=_0x4e7414[_0x1305f8(0x212)]['map'](_0x367a0a=>_0x367a0a['id']);return ValueUtil['isEmpty'](_0x27a328)&&0x1==_0x354121&&UiUtil[_0x1305f8(0x1fe)](_0x1305f8(0x1d8),_0x1305f8(0x1ba),_0x1305f8(0x1fc),'confirm'),_0x27a328;}static async[a0_0x3602b8(0x1f0)](_0x3e9dfa,_0x748d59){const _0x5e5676=a0_0x3602b8;let _0x45e4b9=ServiceUtil[_0x5e5676(0x222)](_0x3e9dfa,!0x0);ValueUtil[_0x5e5676(0x1e6)](_0x45e4b9)&&(await ServiceUtil[_0x5e5676(0x201)](_0x45e4b9,_0x748d59)&&_0x3e9dfa[_0x5e5676(0x204)]());}static async['deleteListByIds'](_0x41ab74,_0x3a1b4b){const _0x41cfbf=a0_0x3602b8;if(!(await UiUtil[_0x41cfbf(0x1fe)](_0x41cfbf(0x1d4),_0x41cfbf(0x1e2),_0x41cfbf(0x1cf),'delete',_0x41cfbf(0x20d)))['value'])return!0x1;try{const _0x5b2127=await client[_0x41cfbf(0x231)]({'query':a0_0x192684`
16
+ `,'variables':{'id':_0x4f9d4f}});if(!_0x2a216[_0x1674aa(0x1eb)])return _0x2a216[_0x1674aa(0x1cb)][_0x6bfa35]||{};ServiceUtil[_0x1674aa(0x19d)](_0x2a216);}catch(_0x29fd67){ServiceUtil['showGraphqlException'](_0x29fd67);}return null;}static['getSelectedIdList'](_0x5e73b2,_0x1bcdd4){const _0x1faa2c=a0_0x747d17,_0x24bda5=_0x5e73b2[_0x1faa2c(0x1d3)][_0x1faa2c(0x1e5)](_0x3f32fe=>_0x3f32fe['id']);return ValueUtil['isEmpty'](_0x24bda5)&&0x1==_0x1bcdd4&&UiUtil[_0x1faa2c(0x1b7)](_0x1faa2c(0x1c6),_0x1faa2c(0x1ad),_0x1faa2c(0x1e1),_0x1faa2c(0x1d1)),_0x24bda5;}static async['deleteListByGristSelected'](_0x301259,_0x4495cb){const _0x11d323=a0_0x747d17;let _0x3eb08c=ServiceUtil[_0x11d323(0x1a8)](_0x301259,!0x0);ValueUtil['isNotEmpty'](_0x3eb08c)&&(await ServiceUtil[_0x11d323(0x196)](_0x3eb08c,_0x4495cb)&&_0x301259[_0x11d323(0x1ca)]());}static async[a0_0x747d17(0x196)](_0x383d41,_0x21c009){const _0x672ae=a0_0x747d17;if(!(await UiUtil[_0x672ae(0x1b7)](_0x672ae(0x198),_0x672ae(0x1e3),_0x672ae(0x1a1),'delete',_0x672ae(0x194)))[_0x672ae(0x1ea)])return!0x1;try{const _0x4defd9=await client['query']({'query':a0_0x53dac8`
17
17
  mutation {
18
- ${_0x3a1b4b}(${gqlBuilder[_0x41cfbf(0x1e9)]({'ids':_0x41ab74})})
18
+ ${_0x21c009}(${gqlBuilder[_0x672ae(0x182)]({'ids':_0x383d41})})
19
19
  }
20
- `});if(!_0x5b2127[_0x41cfbf(0x1f6)])return UiUtil[_0x41cfbf(0x226)](_0x41cfbf(0x1fc),TermsUtil[_0x41cfbf(0x1ff)](_0x41cfbf(0x1c0))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5b2127);}catch(_0x7565bc){ServiceUtil[_0x41cfbf(0x1d9)](_0x7565bc);}return!0x1;}static async['updateMultipleData'](_0xb6d9fa,_0x21fd31){const _0x269c37=a0_0x3602b8;let _0x362b1e=ServiceUtil['patchesForUpdateMultiple'](_0xb6d9fa);if(ValueUtil['isNotEmpty'](_0x362b1e)){let _0x3dd494=await ServiceUtil[_0x269c37(0x20f)](_0x21fd31,_0x362b1e);if(_0x3dd494)return _0xb6d9fa['fetch'](),_0x3dd494;}return!0x1;}static async['updateMultiple'](_0x58cf3e,_0xe180f2){const _0x759466=a0_0x3602b8;try{const _0x5defc8=await client[_0x759466(0x231)]({'query':a0_0x192684`
20
+ `});if(!_0x4defd9['errors'])return UiUtil[_0x672ae(0x19a)](_0x672ae(0x1e1),TermsUtil[_0x672ae(0x1e7)](_0x672ae(0x186))),!0x0;ServiceUtil[_0x672ae(0x19d)](_0x4defd9);}catch(_0x49f487){ServiceUtil[_0x672ae(0x1f5)](_0x49f487);}return!0x1;}static async[a0_0x747d17(0x1b9)](_0x1cf31b,_0x1ec1a1){const _0x22b066=a0_0x747d17;let _0x157e59=ServiceUtil[_0x22b066(0x1c4)](_0x1cf31b);if(ValueUtil['isNotEmpty'](_0x157e59)){let _0x5ae004=await ServiceUtil['updateMultiple'](_0x1ec1a1,_0x157e59);if(_0x5ae004)return _0x1cf31b[_0x22b066(0x1ca)](),_0x5ae004;}return!0x1;}static async[a0_0x747d17(0x17f)](_0x115e30,_0x5433a1){const _0x27fc95=a0_0x747d17;try{const _0x3622c2=await client[_0x27fc95(0x1a0)]({'query':a0_0x53dac8`
21
21
  mutation {
22
- ${_0x58cf3e}(${gqlBuilder[_0x759466(0x1e9)]({'patches':_0xe180f2})}) {
22
+ ${_0x115e30}(${gqlBuilder[_0x27fc95(0x182)]({'patches':_0x5433a1})}) {
23
23
  id
24
24
  }
25
25
  }
26
- `,'context':{'hasUpload':!0x0}});if(!_0x5defc8['errors'])return UiUtil[_0x759466(0x226)](_0x759466(0x1fc),TermsUtil[_0x759466(0x1ff)]('success\x20to\x20save')),!0x0;ServiceUtil[_0x759466(0x1c2)](_0x5defc8);}catch(_0x3c768f){ServiceUtil['showGraphqlException'](_0x3c768f);}return!0x1;}static[a0_0x3602b8(0x22b)](_0x27b004,_0x1b14dd=!0x1){const _0x3b659a=a0_0x3602b8;let _0x424a81=_0x27b004[_0x3b659a(0x20e)];if(_0x424a81&&0x0!=_0x424a81[_0x3b659a(0x1da)])return _0x424a81[_0x3b659a(0x228)](_0x81c806=>{const _0x257945=_0x3b659a;let _0x3058c1=_0x81c806['id']?{'id':_0x81c806['id']}:{};for(let _0x25584a in _0x81c806)['creator','updater','createdAt',_0x257945(0x1e8),_0x257945(0x1ed),_0x257945(0x217),'__origin__',_0x257945(0x22e),_0x257945(0x20b)][_0x257945(0x1e7)](_0x25584a)||(_0x81c806[_0x25584a]&&_0x257945(0x1d3)==typeof _0x81c806[_0x25584a]&&0x0==_0x1b14dd?_0x3058c1[_0x25584a]={'id':_0x81c806[_0x25584a]['id']}:_0x3058c1[_0x25584a]=_0x81c806[_0x25584a]);return _0x3058c1[_0x257945(0x1cd)]=_0x81c806[_0x257945(0x1ed)],_0x3058c1;});UiUtil[_0x3b659a(0x1fe)](_0x3b659a(0x21e),'text.NOTHING_CHANGED',_0x3b659a(0x1fc),_0x3b659a(0x1e0));}static async['callScenario'](_0x42031f,_0x42438a,_0x200934){const _0x447463=a0_0x3602b8;let _0xc6fe36=!0x0;_0x42031f&&(_0xc6fe36=(await UiUtil['showAlertPopup']('button.'+_0x42031f,_0x447463(0x1e2),'question',_0x447463(0x1e0),_0x447463(0x20d)))[_0x447463(0x1ee)]);if(_0xc6fe36)try{const _0x4b6b9b=await client[_0x447463(0x231)]({'query':a0_0x192684`
26
+ `,'context':{'hasUpload':!0x0}});if(!_0x3622c2['errors'])return UiUtil[_0x27fc95(0x19a)]('info',TermsUtil[_0x27fc95(0x1e7)](_0x27fc95(0x19e))),!0x0;ServiceUtil[_0x27fc95(0x19d)](_0x3622c2);}catch(_0x3001de){ServiceUtil['showGraphqlException'](_0x3001de);}return!0x1;}static[a0_0x747d17(0x1c4)](_0x1ce428,_0x6e7624=!0x1){const _0x5ff02a=a0_0x747d17;let _0x465608=_0x1ce428[_0x5ff02a(0x1a6)];if(_0x465608&&0x0!=_0x465608[_0x5ff02a(0x178)])return _0x465608[_0x5ff02a(0x1e5)](_0x394018=>{const _0x24df4f=_0x5ff02a;let _0x2eb22b=_0x394018['id']?{'id':_0x394018['id']}:{};for(let _0x300e45 in _0x394018)[_0x24df4f(0x1d7),_0x24df4f(0x1bb),'createdAt','updatedAt',_0x24df4f(0x199),'__dirtyfields__','__origin__',_0x24df4f(0x179),_0x24df4f(0x1d6)][_0x24df4f(0x1d9)](_0x300e45)||(_0x394018[_0x300e45]&&_0x24df4f(0x1d5)==typeof _0x394018[_0x300e45]&&0x0==_0x6e7624?_0x2eb22b[_0x300e45]={'id':_0x394018[_0x300e45]['id']}:_0x2eb22b[_0x300e45]=_0x394018[_0x300e45]);return _0x2eb22b['cuFlag']=_0x394018['__dirty__'],_0x2eb22b;});UiUtil['showAlertPopup'](_0x5ff02a(0x1b0),_0x5ff02a(0x17d),_0x5ff02a(0x1e1),_0x5ff02a(0x1d1));}static async['callScenario'](_0x1ea8ae,_0x1cbd55,_0xf57ca5){const _0x28bb9c=a0_0x747d17;let _0x2aaee2=!0x0;_0x1ea8ae&&(_0x2aaee2=(await UiUtil[_0x28bb9c(0x1b7)](_0x28bb9c(0x188)+_0x1ea8ae,'text.are_you_sure',_0x28bb9c(0x1a1),_0x28bb9c(0x1d1),_0x28bb9c(0x194)))[_0x28bb9c(0x1ea)]);if(_0x2aaee2)try{const _0x1e995d=await client[_0x28bb9c(0x1a0)]({'query':a0_0x53dac8`
27
27
  mutation ($scenarioName: String!, $variables: Object) {
28
28
  runScenario(scenarioName: $scenarioName, variables: $variables) {
29
29
  state
@@ -32,4 +32,4 @@ const a0_0x3602b8=a0_0x31f9;(function(_0x446116,_0x54b0e2){const _0x4a5258=a0_0x
32
32
  __typename
33
33
  }
34
34
  }
35
- `,'variables':{'scenarioName':_0x42438a,'variables':_0x200934}});if(_0x4b6b9b[_0x447463(0x1f6)])ServiceUtil['showGraphqlErrorResponse'](_0x4b6b9b);else{if(this[_0x447463(0x1bf)](_0x4b6b9b))return UiUtil[_0x447463(0x226)](_0x447463(0x1fc),TermsUtil[_0x447463(0x1ff)]('success\x20to\x20process')),_0x4b6b9b;}}catch(_0x1eaf7b){ServiceUtil['showGraphqlException'](_0x1eaf7b);}return!0x1;}static[a0_0x3602b8(0x1bf)](_0x7e317d){const _0x1a212e=a0_0x3602b8;if(_0x7e317d&&_0x7e317d[_0x1a212e(0x219)]&&_0x7e317d['data'][_0x1a212e(0x1e5)]&&_0x7e317d['data'][_0x1a212e(0x1e5)][_0x1a212e(0x219)]&&_0x7e317d[_0x1a212e(0x219)]['runScenario'][_0x1a212e(0x219)][_0x1a212e(0x223)]){let _0x3d435f=_0x7e317d[_0x1a212e(0x219)][_0x1a212e(0x1e5)][_0x1a212e(0x219)][_0x1a212e(0x223)];return UiUtil[_0x1a212e(0x1fe)](_0x3d435f[_0x1a212e(0x21f)],_0x3d435f[_0x1a212e(0x21d)],'error',_0x1a212e(0x1e0)),!0x1;}return!0x0;}}
35
+ `,'variables':{'scenarioName':_0x1cbd55,'variables':_0xf57ca5}});if(_0x1e995d['errors'])ServiceUtil[_0x28bb9c(0x19d)](_0x1e995d);else{if(this[_0x28bb9c(0x1f4)](_0x1e995d))return UiUtil[_0x28bb9c(0x19a)](_0x28bb9c(0x1e1),TermsUtil[_0x28bb9c(0x1e7)](_0x28bb9c(0x18d))),_0x1e995d;}}catch(_0x3f2af9){ServiceUtil[_0x28bb9c(0x1f5)](_0x3f2af9);}return!0x1;}static[a0_0x747d17(0x1f4)](_0x1543f2){const _0x36baf7=a0_0x747d17;if(_0x1543f2&&_0x1543f2['data']&&_0x1543f2['data'][_0x36baf7(0x1bf)]&&_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)]&&_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)][_0x36baf7(0x1ba)]){let _0x2eec5d=_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)][_0x36baf7(0x1ba)];return UiUtil['showAlertPopup'](_0x2eec5d[_0x36baf7(0x1e6)],_0x2eec5d[_0x36baf7(0x18f)],_0x36baf7(0x1ba),_0x36baf7(0x1d1)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x168263=a0_0x204c;(function(_0x43f93b,_0x5b4fab){const _0x4fe2e7=a0_0x204c,_0x5d3d06=_0x43f93b();while(!![]){try{const _0x2e58f6=-parseInt(_0x4fe2e7(0x9f))/0x1*(parseInt(_0x4fe2e7(0x89))/0x2)+-parseInt(_0x4fe2e7(0x92))/0x3*(parseInt(_0x4fe2e7(0x8f))/0x4)+-parseInt(_0x4fe2e7(0x90))/0x5+parseInt(_0x4fe2e7(0x8d))/0x6+parseInt(_0x4fe2e7(0xa1))/0x7*(-parseInt(_0x4fe2e7(0xa8))/0x8)+parseInt(_0x4fe2e7(0xab))/0x9+parseInt(_0x4fe2e7(0xa9))/0xa;if(_0x2e58f6===_0x5b4fab)break;else _0x5d3d06['push'](_0x5d3d06['shift']());}catch(_0x23f92b){_0x5d3d06['push'](_0x5d3d06['shift']());}}}(a0_0x295c,0xb8532));import a0_0x57debd from'graphql-tag';function a0_0x204c(_0x20b4e1,_0x3c8c03){const _0x295c00=a0_0x295c();return a0_0x204c=function(_0x204c9d,_0x44d82e){_0x204c9d=_0x204c9d-0x86;let _0x49ccb2=_0x295c00[_0x204c9d];return _0x49ccb2;},a0_0x204c(_0x20b4e1,_0x3c8c03);}function a0_0x295c(){const _0x4ed1bf=['items','4567440vTGMvw','terminologies','220qdTFoc','4104615oaktIH','field','16542xBAKAg','category','menu','title','length','META_TERMS','locale','name','tLabel','tButton','errors','query','button','1zTbwAt','records','8106343XVFGVD','error','tMenu','total','forEach','label','downloadTerminologies','8uPqKYG','31656240kVGxGn','fetchTerminologies','2777571Tfeqdm','display','data','translate','2396494wbOlVk','replace','text'];a0_0x295c=function(){return _0x4ed1bf;};return a0_0x295c();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x168263(0x97)]=null;static async[a0_0x168263(0xa7)](_0x181baf){const _0x3a860e=a0_0x168263;let _0x34f6de=(await TermsUtil['fetchTerminologies'](_0x181baf))[_0x3a860e(0xa0)];_0x34f6de&&_0x34f6de[_0x3a860e(0x96)]>0x0&&(this[_0x3a860e(0x97)]={},_0x34f6de[_0x3a860e(0xa5)](_0x2d5041=>{const _0x41cabe=_0x3a860e;let _0x3439fd=_0x2d5041['category']+'.'+_0x2d5041[_0x41cabe(0x99)];this[_0x41cabe(0x97)][_0x3439fd]=_0x2d5041[_0x41cabe(0x86)];}));}static async[a0_0x168263(0xaa)](_0x2d0dc7){const _0x2ca357=a0_0x168263;let _0xe5144b=[{'name':_0x2ca357(0x98),'operator':'eq','value':_0x2d0dc7}];const _0x22f81f=await client[_0x2ca357(0x9d)]({'query':a0_0x57debd`
1
+ const a0_0x21c6bf=a0_0x48b1;(function(_0x5b6a63,_0x495601){const _0x4d12cd=a0_0x48b1,_0x402869=_0x5b6a63();while(!![]){try{const _0x346e63=-parseInt(_0x4d12cd(0xe3))/0x1+-parseInt(_0x4d12cd(0xdd))/0x2*(parseInt(_0x4d12cd(0xe9))/0x3)+-parseInt(_0x4d12cd(0xfe))/0x4+-parseInt(_0x4d12cd(0xe2))/0x5+-parseInt(_0x4d12cd(0xe1))/0x6*(parseInt(_0x4d12cd(0xf6))/0x7)+-parseInt(_0x4d12cd(0xe4))/0x8*(parseInt(_0x4d12cd(0xec))/0x9)+-parseInt(_0x4d12cd(0xf5))/0xa*(-parseInt(_0x4d12cd(0xfa))/0xb);if(_0x346e63===_0x495601)break;else _0x402869['push'](_0x402869['shift']());}catch(_0x1cddf5){_0x402869['push'](_0x402869['shift']());}}}(a0_0x3bbc,0xf1412));function a0_0x3bbc(){const _0x461779=['33sFkqRp','tField','text','350586PEmibn','forEach','translate','display','category','fetchTerminologies','button','tText','data','55313410uLjWgi','11177159sdkxtk','records','total','locale','11evyxqh','field','replace','title','2402400VnXpje','length','300788OxrlRP','META_TERMS','tLabel','downloadTerminologies','6hmNXXl','1334485MIUgBj','307733eXkafH','24BlYNwR','terminologies','tTitle','label','errors'];a0_0x3bbc=function(){return _0x461779;};return a0_0x3bbc();}import a0_0x8b3052 from'graphql-tag';import{client}from'@operato/graphql';function a0_0x48b1(_0x272ec4,_0x5818a2){const _0x3bbc35=a0_0x3bbc();return a0_0x48b1=function(_0x48b18a,_0x49823b){_0x48b18a=_0x48b18a-0xdd;let _0x2d08cd=_0x3bbc35[_0x48b18a];return _0x2d08cd;},a0_0x48b1(_0x272ec4,_0x5818a2);}import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x21c6bf(0xe0)](_0x6e0d51){const _0x51ea74=a0_0x21c6bf;let _0x2d3897=(await TermsUtil['fetchTerminologies'](_0x6e0d51))[_0x51ea74(0xf7)];_0x2d3897&&_0x2d3897[_0x51ea74(0xff)]>0x0&&(this[_0x51ea74(0xde)]={},_0x2d3897[_0x51ea74(0xed)](_0x1cbbd6=>{const _0x121001=_0x51ea74;let _0x1b4667=_0x1cbbd6['category']+'.'+_0x1cbbd6['name'];this[_0x121001(0xde)][_0x1b4667]=_0x1cbbd6[_0x121001(0xef)];}));}static async[a0_0x21c6bf(0xf1)](_0x1ec435){const _0x4835ba=a0_0x21c6bf;let _0x510801=[{'name':_0x4835ba(0xf9),'operator':'eq','value':_0x1ec435}];const _0x2729ed=await client['query']({'query':a0_0x8b3052`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ const a0_0x168263=a0_0x204c;(function(_0x43f93b,_0x5b4fab){const _0x4fe2e7=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0xe5144b,'sortings':[{'name':_0x2ca357(0x93)},{'name':_0x2ca357(0x99)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x22f81f[_0x2ca357(0x9c)])return{'records':_0x22f81f[_0x2ca357(0x87)][_0x2ca357(0x8e)][_0x2ca357(0x8c)]||[],'total':_0x22f81f[_0x2ca357(0x87)][_0x2ca357(0x8e)][_0x2ca357(0xa4)]||0x0};}static[a0_0x168263(0x9a)](_0x518bfe,_0xb665cd){const _0xa7bacc=a0_0x168263;let _0x1db7f4=TermsUtil[_0xa7bacc(0x88)](_0xa7bacc(0xa6),_0x518bfe,_0xb665cd,null);return _0x1db7f4||TermsUtil[_0xa7bacc(0x88)](_0xa7bacc(0x91),_0x518bfe,_0xb665cd,_0x518bfe);}static['tField'](_0x1ad17a,_0x43cc28){const _0x1ca56b=a0_0x168263;let _0x1c47e2=TermsUtil[_0x1ca56b(0x88)](_0x1ca56b(0x91),_0x1ad17a,_0x43cc28,null);return _0x1c47e2||TermsUtil[_0x1ca56b(0x88)](_0x1ca56b(0x91),_0x1ad17a,_0x43cc28,_0x1ad17a);}static[a0_0x168263(0x9b)](_0x27c5dd){const _0x4516e4=a0_0x168263;return TermsUtil[_0x4516e4(0x88)](_0x4516e4(0x9e),_0x27c5dd,null,_0x27c5dd);}static['tTitle'](_0x47fbf8,_0x2a0e7b){const _0xd95b19=a0_0x168263;let _0x5cb73e=TermsUtil['translate']('title',_0x47fbf8,_0x2a0e7b,null);return _0x5cb73e||TermsUtil[_0xd95b19(0x88)](_0xd95b19(0x94),_0x47fbf8,_0x2a0e7b,_0x47fbf8);}static[a0_0x168263(0xa3)](_0x56e4e6){const _0x4c30c4=a0_0x168263;let _0x1901bf=TermsUtil[_0x4c30c4(0x88)]('menu',_0x56e4e6,null,_0x56e4e6);return _0x1901bf||TermsUtil[_0x4c30c4(0x88)](_0x4c30c4(0x95),_0x56e4e6,null,_0x56e4e6);}static['tText'](_0x4f7d23,_0x542678){const _0x2f028f=a0_0x168263;return TermsUtil[_0x2f028f(0x88)](_0x2f028f(0x8b),_0x4f7d23,_0x542678,_0x4f7d23);}static['tError'](_0x305120,_0x14f00b){const _0x3c0a07=a0_0x168263;return TermsUtil['translate'](_0x3c0a07(0xa2),_0x305120,_0x14f00b,_0x305120);}static[a0_0x168263(0x88)](_0x3e6ff4,_0x447391,_0x174336,_0x5d4e51){let _0x55fc76=_0x3e6ff4+'.'+_0x447391;return TermsUtil['t'](_0x55fc76,_0x174336,_0x5d4e51);}static['t'](_0x3ae651,_0x29c130,_0xa0b4a5){const _0x1d3dfa=a0_0x168263;let _0x2d08da=this['META_TERMS']?this[_0x1d3dfa(0x97)][_0x3ae651]:null;return _0x2d08da=_0x2d08da||i18next['t'](_0x3ae651),_0x2d08da&&_0x3ae651!=_0x2d08da?(_0x29c130&&Object['keys'](_0x29c130)[_0x1d3dfa(0xa5)](function(_0x4c8212){const _0x3c6f4f=_0x1d3dfa;var _0x2e4f3a='\x5c{'+_0x4c8212[_0x3c6f4f(0x8a)](/\$/,'\x5c$')+'\x5c}',_0x151f8e=new RegExp(_0x2e4f3a,'gi');_0x2d08da=_0x2d08da[_0x3c6f4f(0x8a)](_0x151f8e,_0x29c130[_0x4c8212]);}),_0x2d08da):_0xa0b4a5;}}
14
+ `,'variables':{'filters':_0x510801,'sortings':[{'name':_0x4835ba(0xf0)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x2729ed[_0x4835ba(0xe8)])return{'records':_0x2729ed['data'][_0x4835ba(0xe5)]['items']||[],'total':_0x2729ed[_0x4835ba(0xf4)][_0x4835ba(0xe5)][_0x4835ba(0xf8)]||0x0};}static[a0_0x21c6bf(0xdf)](_0xf51562,_0x45c9c3){const _0x1bb8e9=a0_0x21c6bf;let _0x166e29=TermsUtil[_0x1bb8e9(0xee)](_0x1bb8e9(0xe7),_0xf51562,_0x45c9c3,null);return _0x166e29||TermsUtil[_0x1bb8e9(0xee)](_0x1bb8e9(0xfb),_0xf51562,_0x45c9c3,_0xf51562);}static[a0_0x21c6bf(0xea)](_0x5145a8,_0x754c38){const _0x50b548=a0_0x21c6bf;let _0x1794a5=TermsUtil['translate']('field',_0x5145a8,_0x754c38,null);return _0x1794a5||TermsUtil[_0x50b548(0xee)](_0x50b548(0xfb),_0x5145a8,_0x754c38,_0x5145a8);}static['tButton'](_0x11879b){const _0x4de655=a0_0x21c6bf;return TermsUtil[_0x4de655(0xee)](_0x4de655(0xf2),_0x11879b,null,_0x11879b);}static[a0_0x21c6bf(0xe6)](_0x12bc22,_0x2b4fe5){const _0x19faef=a0_0x21c6bf;let _0x2131fa=TermsUtil[_0x19faef(0xee)](_0x19faef(0xfd),_0x12bc22,_0x2b4fe5,null);return _0x2131fa||TermsUtil['translate']('menu',_0x12bc22,_0x2b4fe5,_0x12bc22);}static['tMenu'](_0x287ac3){const _0x3babd0=a0_0x21c6bf;let _0x34c158=TermsUtil[_0x3babd0(0xee)]('menu',_0x287ac3,null,_0x287ac3);return _0x34c158||TermsUtil[_0x3babd0(0xee)](_0x3babd0(0xfd),_0x287ac3,null,_0x287ac3);}static[a0_0x21c6bf(0xf3)](_0x4956e3,_0x387b63){const _0x15c1fe=a0_0x21c6bf;return TermsUtil[_0x15c1fe(0xee)](_0x15c1fe(0xeb),_0x4956e3,_0x387b63,_0x4956e3);}static['tError'](_0x15699a,_0x2ab25d){return TermsUtil['translate']('error',_0x15699a,_0x2ab25d,_0x15699a);}static[a0_0x21c6bf(0xee)](_0x3854f1,_0x56ce37,_0xbbd069,_0x62ebe3){let _0x3e14be=_0x3854f1+'.'+_0x56ce37;return TermsUtil['t'](_0x3e14be,_0xbbd069,_0x62ebe3);}static['t'](_0x793694,_0x8bf942,_0x376486){const _0x4edf59=a0_0x21c6bf;let _0x35ed9c=this[_0x4edf59(0xde)]?this[_0x4edf59(0xde)][_0x793694]:null;return _0x35ed9c=_0x35ed9c||i18next['t'](_0x793694),_0x35ed9c&&_0x793694!=_0x35ed9c?(_0x8bf942&&Object['keys'](_0x8bf942)[_0x4edf59(0xed)](function(_0x536f4d){const _0x4308c3=_0x4edf59;var _0xe80d90='\x5c{'+_0x536f4d['replace'](/\$/,'\x5c$')+'\x5c}',_0x13c917=new RegExp(_0xe80d90,'gi');_0x35ed9c=_0x35ed9c[_0x4308c3(0xfc)](_0x13c917,_0x8bf942[_0x536f4d]);}),_0x35ed9c):_0x376486;}}
@@ -1 +1 @@
1
- const a0_0x5e68d9=a0_0x52ad;(function(_0x18e024,_0x40c06f){const _0xcbf7c9=a0_0x52ad,_0x2e7edd=_0x18e024();while(!![]){try{const _0x1c4bb0=parseInt(_0xcbf7c9(0xc0))/0x1+parseInt(_0xcbf7c9(0xa7))/0x2*(parseInt(_0xcbf7c9(0xad))/0x3)+parseInt(_0xcbf7c9(0xc6))/0x4*(parseInt(_0xcbf7c9(0xaf))/0x5)+-parseInt(_0xcbf7c9(0xb8))/0x6*(-parseInt(_0xcbf7c9(0xcb))/0x7)+parseInt(_0xcbf7c9(0xa6))/0x8+-parseInt(_0xcbf7c9(0xae))/0x9+parseInt(_0xcbf7c9(0x9c))/0xa*(-parseInt(_0xcbf7c9(0xb4))/0xb);if(_0x1c4bb0===_0x40c06f)break;else _0x2e7edd['push'](_0x2e7edd['shift']());}catch(_0x16907e){_0x2e7edd['push'](_0x2e7edd['shift']());}}}(a0_0x4c60,0x5736d));import{store,CustomAlert,navigate}from'@things-factory/shell';function a0_0x52ad(_0x1c7349,_0x233c71){const _0x4c60d4=a0_0x4c60();return a0_0x52ad=function(_0x52ad75,_0x502078){_0x52ad75=_0x52ad75-0x8d;let _0x92eabe=_0x4c60d4[_0x52ad75];return _0x92eabe;},a0_0x52ad(_0x1c7349,_0x233c71);}import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x4c60(){const _0x3aad74=['\x27></','i18next=','barcode','pageNavigate','value','editor','getLeafInput','route','getApplicationModuleInfo','notify','cookie','getFilterFormData','htmlToElement','popup_field','parent_field','\x27\x20\x20parent_id=\x27','1080020jaktxl','innerHTML','ox-input-code','isMobileEnv','app','tButton','size','getState','currentLocale','getStore','4121152aJLEev','190DZXtkq','name','querySelector','filters','input','renderRoot','3009EOIvzb','6408027yiTKVw','20DeWszL','content','getParams','config','createElement','99zmfxRu','pass=','setSearchFormEditorValue','dispatchEvent','2113308AmKKCh','removeChild','cancelButton','ox-input-barcode','split','textarea','onclosed','showToast','432449vuSTpR','\x27\x20is_popup=true></','template','isNotEmpty','type','tagname','293936pVtudF','createCustomElement','indexOf','code-editor','showAlertPopup','14PnwkcT','[name=\x27','openPopupByElement','forEach'];a0_0x4c60=function(){return _0x3aad74;};return a0_0x4c60();}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_0x5e68d9(0x9f)](){return isMobileDevice();}static[a0_0x5e68d9(0xa4)](){const _0x2f0133=a0_0x5e68d9;let _0x5015d0=document[_0x2f0133(0x96)];return _0x5015d0=_0x5015d0['substring'](_0x5015d0[_0x2f0133(0xc8)]('i18next')),_0x5015d0[_0x2f0133(0xc8)](';')>-0x1&&(_0x5015d0=_0x5015d0['substring'](0x0,_0x5015d0[_0x2f0133(0xc8)](';'))),_0x5015d0=_0x5015d0['replace'](_0x2f0133(0x8d),''),'ko'==_0x5015d0?'ko-KR':_0x5015d0;}static[a0_0x5e68d9(0x94)](){const _0x364e83=a0_0x5e68d9;let _0x36857e=store[_0x364e83(0xa3)]()[_0x364e83(0xa0)]['modules'];return _0x36857e[_0x36857e['length']-0x1];}static['currentRouting'](){const _0x41b10c=a0_0x5e68d9;return store[_0x41b10c(0xa3)]()[_0x41b10c(0x93)]['page'];}static[a0_0x5e68d9(0xcd)](_0x9b3899,_0x2503ee,_0x583077,_0x1860c4){return openPopup(_0x583077,{'backdrop':!0x0,'size':_0x2503ee,'title':_0x9b3899,'backdrop':_0x1860c4});}static async['openDynamicPopup'](_0xb70d5,_0x591b83,_0x395a49,_0xb23750){const _0x5c88e5=a0_0x5e68d9;let _0x2afe08=ValueUtil['isNotEmpty'](_0x591b83[_0x5c88e5(0x9a)])?ValueUtil[_0x5c88e5(0xb1)](_0x395a49,..._0x591b83[_0x5c88e5(0x9a)][_0x5c88e5(0xbc)]('.')):void 0x0,_0x335020='<'+_0x591b83[_0x5c88e5(0xc5)]+'\x20route_name=\x27'+_0x591b83['menu']+_0x5c88e5(0x9b)+_0x2afe08+_0x5c88e5(0xc1)+_0x591b83[_0x5c88e5(0xc5)]+'>',_0x403ddf=UiUtil[_0x5c88e5(0x98)](_0x335020);_0x403ddf[_0x5c88e5(0xb2)]=_0x591b83,ValueUtil[_0x5c88e5(0xc3)](_0x591b83['popup_field'])&&(_0x403ddf[_0x591b83[_0x5c88e5(0x99)]]=_0x395a49);let _0x47b00e=UiUtil[_0x5c88e5(0xcd)](_0xb70d5,_0x591b83[_0x5c88e5(0xa2)],_0x403ddf,!0x0);_0xb23750&&(_0x47b00e[_0x5c88e5(0xbe)]=_0xb23750);}static[a0_0x5e68d9(0xc7)](_0x54d5d3,_0x44ad71){const _0x2eb495=a0_0x5e68d9;let _0x13638c='<'+_0x54d5d3+'\x20route_name=\x27'+_0x44ad71+_0x2eb495(0xcf)+_0x54d5d3+'>';return UiUtil[_0x2eb495(0x98)](_0x13638c);}static[a0_0x5e68d9(0x98)](_0x6c3d4e){const _0x3f68db=a0_0x5e68d9;var _0x36ec0d=document[_0x3f68db(0xb3)](_0x3f68db(0xc2));_0x36ec0d[_0x3f68db(0x9d)]=_0x6c3d4e;var _0x519640=_0x36ec0d['content']['childNodes'][0x0];return _0x36ec0d[_0x3f68db(0xb0)][_0x3f68db(0xb9)](_0x519640),_0x519640;}static[a0_0x5e68d9(0x8f)](_0x17faca,_0x59d4a8){const _0x42c466=a0_0x5e68d9;let _0x7c557e=_0x59d4a8?'?':'';_0x59d4a8&&(_0x7c557e+=_0x42c466(0xb5)+JSON['stringify'](_0x59d4a8)),navigate(''+_0x17faca+_0x7c557e);}static[a0_0x5e68d9(0xa5)](_0x4126fb,_0x2f6a6f,_0x59f701){const _0x4fecfb=a0_0x5e68d9;let _0x9743c=_0x9743c[_0x4fecfb(0xa3)]();return _0x4126fb&&_0x2f6a6f&&_0x59f701?_0x9743c[_0x4126fb][_0x2f6a6f][_0x59f701]:_0x4126fb&&_0x2f6a6f?_0x9743c[_0x4126fb][_0x2f6a6f]:_0x4126fb?_0x9743c[_0x4126fb]:_0x9743c;}static['fireCustomEvent'](_0x575a26,_0x421eff){const _0x4a304b=a0_0x5e68d9;document[_0x4a304b(0xb7)](new CustomEvent(_0x575a26,{'detail':_0x421eff}));}static[a0_0x5e68d9(0xbf)](_0x143196,_0xb40653){const _0xd0d216=a0_0x5e68d9;document[_0xd0d216(0xb7)](new CustomEvent(_0xd0d216(0x95),{'detail':{'type':_0x143196,'message':_0xb40653}}));}static async[a0_0x5e68d9(0xca)](_0x2f8e53,_0x5cd0b9,_0x181d52,_0x12369d,_0x13299b){const _0x33a98e=a0_0x5e68d9;let _0x358b01={'title':TermsUtil['t'](_0x2f8e53)||_0x2f8e53,'text':TermsUtil['t'](_0x5cd0b9)||_0x5cd0b9};return _0x181d52&&(_0x358b01[_0x33a98e(0xc4)]=_0x181d52),_0x12369d&&(_0x358b01['confirmButton']=TermsUtil['tButton'](_0x12369d)),_0x13299b&&(_0x358b01[_0x33a98e(0xba)]=TermsUtil[_0x33a98e(0xa1)](_0x13299b)),await CustomAlert(_0x358b01);}static[a0_0x5e68d9(0x97)](_0x101346){const _0x13995d=a0_0x5e68d9;if(ValueUtil[_0x13995d(0xc3)](_0x101346)){let _0x5e7325=_0x101346[_0x13995d(0xaa)]();ValueUtil['isNotEmpty'](_0x5e7325)&&_0x5e7325[_0x13995d(0xce)](_0x360f7d=>{const _0x5edeae=_0x13995d;ValueUtil[_0x5edeae(0xc3)](_0x360f7d[_0x5edeae(0x90)])&&(item[_0x360f7d[_0x5edeae(0xa8)]]=_0x360f7d[_0x5edeae(0x90)]?_0x360f7d[_0x5edeae(0x90)]:null);});}return{};}static[a0_0x5e68d9(0xb6)](_0x379431,_0x4f7595,_0x28324b){const _0x55c19=a0_0x5e68d9;if(ValueUtil[_0x55c19(0xc3)](_0x379431)){let _0x4b599d=_0x379431['renderRoot']?.[_0x55c19(0xa9)](_0x55c19(0xcc)+_0x4f7595+'\x27]');ValueUtil[_0x55c19(0xc3)](_0x4b599d)&&(_0x4b599d[_0x55c19(0x90)]=_0x28324b);}}static['createEditorHtml'](_0x4419f9,_0x4244ac,_0x16df5b,_0x4d8d40){return getEditor(_0x4419f9)('',_0x4244ac,_0x16df5b,_0x4d8d40,{});}static['setValueToEditor'](_0x14b38,_0x215d5b){const _0x4bb9f1=a0_0x5e68d9;UiUtil['getLeafInput'](_0x14b38)[_0x4bb9f1(0x90)]=_0x215d5b;}static[a0_0x5e68d9(0x92)](_0x17579f){const _0x3de0f6=a0_0x5e68d9;let _0x409dec=_0x17579f['getType']();return _0x3de0f6(0xc9)==_0x409dec?_0x17579f[_0x3de0f6(0xac)][_0x3de0f6(0xa9)](_0x3de0f6(0x9e)):_0x3de0f6(0xbd)==_0x409dec?_0x17579f[_0x3de0f6(0xac)]['querySelector'](_0x3de0f6(0xbd)):'select-combo'==_0x409dec?_0x17579f[_0x3de0f6(0xac)][_0x3de0f6(0xa9)]('ox-select')['firstElementChild']:_0x3de0f6(0x8e)==_0x409dec?_0x17579f[_0x3de0f6(0xac)]['querySelector'](_0x3de0f6(0xbb))[_0x3de0f6(0xac)][_0x3de0f6(0xa9)](_0x3de0f6(0xab)):_0x17579f[_0x3de0f6(0xac)]['firstElementChild'][_0x3de0f6(0x91)];}}
1
+ const a0_0x3e394a=a0_0x4f75;(function(_0x1efe7c,_0xdc7632){const _0x2d2918=a0_0x4f75,_0x51fb1f=_0x1efe7c();while(!![]){try{const _0x15e19b=-parseInt(_0x2d2918(0xc2))/0x1*(-parseInt(_0x2d2918(0xb6))/0x2)+-parseInt(_0x2d2918(0xb8))/0x3*(parseInt(_0x2d2918(0xcf))/0x4)+-parseInt(_0x2d2918(0x9d))/0x5*(parseInt(_0x2d2918(0xa9))/0x6)+parseInt(_0x2d2918(0x95))/0x7*(-parseInt(_0x2d2918(0x94))/0x8)+parseInt(_0x2d2918(0xc8))/0x9+-parseInt(_0x2d2918(0xb3))/0xa+parseInt(_0x2d2918(0xa2))/0xb;if(_0x15e19b===_0xdc7632)break;else _0x51fb1f['push'](_0x51fb1f['shift']());}catch(_0x17852f){_0x51fb1f['push'](_0x51fb1f['shift']());}}}(a0_0x28da,0x9f3eb));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x28da(){const _0x2409ca=['parent_field','template','popup_field','route','ox-input-code','getLeafInput','isNotEmpty','2370185gndWVW','name','filters','page','getStore','21538154JYSAbz','content','createEditorHtml','openPopupByElement','fireCustomEvent','createElement','ox-input-barcode','6kGilOf','childNodes','input','textarea','i18next=','getType','\x27\x20\x20parent_id=\x27','value','\x20route_name=\x27','isMobileEnv','11833850FDMwoh','substring','\x27\x20is_popup=true></','88410YMsymT','renderRoot','2418jGweqO','setSearchFormEditorValue','setValueToEditor','stringify','i18next','showAlertPopup','length','onclosed','modules','app','16Dsqfpm','code-editor','select-combo','pageNavigate','dispatchEvent','menu','6258186KnukPM','type','tButton','cancelButton','createCustomElement','getState','cookie','3692ziqWOM','indexOf','querySelector','tagname','getApplicationModuleInfo','[name=\x27','split','currentLocale','htmlToElement','firstElementChild','ko-KR','confirmButton','barcode','ox-select','21736vgtYzi','791hJLpJd'];a0_0x28da=function(){return _0x2409ca;};return a0_0x28da();}function a0_0x4f75(_0x3c7787,_0x35460a){const _0x28dae5=a0_0x28da();return a0_0x4f75=function(_0x4f7565,_0xd06836){_0x4f7565=_0x4f7565-0x93;let _0x211818=_0x28dae5[_0x4f7565];return _0x211818;},a0_0x4f75(_0x3c7787,_0x35460a);}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_0x3e394a(0xb2)](){return isMobileDevice();}static[a0_0x3e394a(0xd6)](){const _0x50aa6a=a0_0x3e394a;let _0x1fbb50=document[_0x50aa6a(0xce)];return _0x1fbb50=_0x1fbb50[_0x50aa6a(0xb4)](_0x1fbb50[_0x50aa6a(0xd0)](_0x50aa6a(0xbc))),_0x1fbb50[_0x50aa6a(0xd0)](';')>-0x1&&(_0x1fbb50=_0x1fbb50[_0x50aa6a(0xb4)](0x0,_0x1fbb50[_0x50aa6a(0xd0)](';'))),_0x1fbb50=_0x1fbb50['replace'](_0x50aa6a(0xad),''),'ko'==_0x1fbb50?_0x50aa6a(0xd9):_0x1fbb50;}static[a0_0x3e394a(0xd3)](){const _0x4b3cf4=a0_0x3e394a;let _0x1b99bf=store[_0x4b3cf4(0xcd)]()[_0x4b3cf4(0xc1)][_0x4b3cf4(0xc0)];return _0x1b99bf[_0x1b99bf[_0x4b3cf4(0xbe)]-0x1];}static['currentRouting'](){const _0x54cd96=a0_0x3e394a;return store[_0x54cd96(0xcd)]()[_0x54cd96(0x99)][_0x54cd96(0xa0)];}static[a0_0x3e394a(0xa5)](_0x515100,_0x2445a6,_0x352c26,_0x3a9fc7){return openPopup(_0x352c26,{'backdrop':!0x0,'size':_0x2445a6,'title':_0x515100,'backdrop':_0x3a9fc7});}static async['openDynamicPopup'](_0x60e76b,_0x25fcc0,_0x58c5f8,_0x3f429a){const _0x5c53fc=a0_0x3e394a;let _0x18dae7=ValueUtil[_0x5c53fc(0x9c)](_0x25fcc0['parent_field'])?ValueUtil['getParams'](_0x58c5f8,..._0x25fcc0[_0x5c53fc(0x96)][_0x5c53fc(0xd5)]('.')):void 0x0,_0x215932='<'+_0x25fcc0[_0x5c53fc(0xd2)]+'\x20route_name=\x27'+_0x25fcc0[_0x5c53fc(0xc7)]+_0x5c53fc(0xaf)+_0x18dae7+_0x5c53fc(0xb5)+_0x25fcc0[_0x5c53fc(0xd2)]+'>',_0x5caa84=UiUtil[_0x5c53fc(0xd7)](_0x215932);_0x5caa84['config']=_0x25fcc0,ValueUtil[_0x5c53fc(0x9c)](_0x25fcc0[_0x5c53fc(0x98)])&&(_0x5caa84[_0x25fcc0['popup_field']]=_0x58c5f8);let _0x49e3c2=UiUtil[_0x5c53fc(0xa5)](_0x60e76b,_0x25fcc0['size'],_0x5caa84,!0x0);_0x3f429a&&(_0x49e3c2[_0x5c53fc(0xbf)]=_0x3f429a);}static[a0_0x3e394a(0xcc)](_0x30873a,_0x3151c9){const _0x183129=a0_0x3e394a;let _0x37b789='<'+_0x30873a+_0x183129(0xb1)+_0x3151c9+'\x27></'+_0x30873a+'>';return UiUtil[_0x183129(0xd7)](_0x37b789);}static['htmlToElement'](_0x87abec){const _0x16d4d9=a0_0x3e394a;var _0x427ad5=document[_0x16d4d9(0xa7)](_0x16d4d9(0x97));_0x427ad5['innerHTML']=_0x87abec;var _0x3f7336=_0x427ad5[_0x16d4d9(0xa3)][_0x16d4d9(0xaa)][0x0];return _0x427ad5[_0x16d4d9(0xa3)]['removeChild'](_0x3f7336),_0x3f7336;}static[a0_0x3e394a(0xc5)](_0x46de42,_0x21047e){const _0x3eaf7e=a0_0x3e394a;let _0x191775=_0x21047e?'?':'';_0x21047e&&(_0x191775+='pass='+JSON[_0x3eaf7e(0xbb)](_0x21047e)),navigate(''+_0x46de42+_0x191775);}static[a0_0x3e394a(0xa1)](_0x4710bc,_0x4cc500,_0x502a71){const _0x5f057a=a0_0x3e394a;let _0x4cbf4c=_0x4cbf4c[_0x5f057a(0xcd)]();return _0x4710bc&&_0x4cc500&&_0x502a71?_0x4cbf4c[_0x4710bc][_0x4cc500][_0x502a71]:_0x4710bc&&_0x4cc500?_0x4cbf4c[_0x4710bc][_0x4cc500]:_0x4710bc?_0x4cbf4c[_0x4710bc]:_0x4cbf4c;}static[a0_0x3e394a(0xa6)](_0x12e28f,_0x590085){const _0x177a5b=a0_0x3e394a;document[_0x177a5b(0xc6)](new CustomEvent(_0x12e28f,{'detail':_0x590085}));}static['showToast'](_0xa993e3,_0xea2797){const _0x37901b=a0_0x3e394a;document[_0x37901b(0xc6)](new CustomEvent('notify',{'detail':{'type':_0xa993e3,'message':_0xea2797}}));}static async[a0_0x3e394a(0xbd)](_0x4de2b3,_0x6ab000,_0x58d8d2,_0x3f740e,_0x19bbfc){const _0x322644=a0_0x3e394a;let _0x2556ce={'title':TermsUtil['t'](_0x4de2b3)||_0x4de2b3,'text':TermsUtil['t'](_0x6ab000)||_0x6ab000};return _0x58d8d2&&(_0x2556ce[_0x322644(0xc9)]=_0x58d8d2),_0x3f740e&&(_0x2556ce[_0x322644(0xda)]=TermsUtil[_0x322644(0xca)](_0x3f740e)),_0x19bbfc&&(_0x2556ce[_0x322644(0xcb)]=TermsUtil[_0x322644(0xca)](_0x19bbfc)),await CustomAlert(_0x2556ce);}static['getFilterFormData'](_0x212662){const _0x46490f=a0_0x3e394a;if(ValueUtil[_0x46490f(0x9c)](_0x212662)){let _0x2603eb=_0x212662[_0x46490f(0x9f)]();ValueUtil[_0x46490f(0x9c)](_0x2603eb)&&_0x2603eb['forEach'](_0x341d77=>{const _0x25b7da=_0x46490f;ValueUtil['isNotEmpty'](_0x341d77[_0x25b7da(0xb0)])&&(item[_0x341d77[_0x25b7da(0x9e)]]=_0x341d77[_0x25b7da(0xb0)]?_0x341d77[_0x25b7da(0xb0)]:null);});}return{};}static[a0_0x3e394a(0xb9)](_0x361b54,_0x190dde,_0x28d8a3){const _0x448d80=a0_0x3e394a;if(ValueUtil[_0x448d80(0x9c)](_0x361b54)){let _0x5d0f38=_0x361b54['renderRoot']?.['querySelector'](_0x448d80(0xd4)+_0x190dde+'\x27]');ValueUtil[_0x448d80(0x9c)](_0x5d0f38)&&(_0x5d0f38['value']=_0x28d8a3);}}static[a0_0x3e394a(0xa4)](_0x502a5f,_0x5d8056,_0x27e754,_0x4bfea5){return getEditor(_0x502a5f)('',_0x5d8056,_0x27e754,_0x4bfea5,{});}static[a0_0x3e394a(0xba)](_0x1ccdb1,_0x483a0d){const _0x54084f=a0_0x3e394a;UiUtil[_0x54084f(0x9b)](_0x1ccdb1)[_0x54084f(0xb0)]=_0x483a0d;}static['getLeafInput'](_0x2f7ea5){const _0x2dbba2=a0_0x3e394a;let _0xd56bf3=_0x2f7ea5[_0x2dbba2(0xae)]();return _0x2dbba2(0xc3)==_0xd56bf3?_0x2f7ea5['renderRoot'][_0x2dbba2(0xd1)](_0x2dbba2(0x9a)):_0x2dbba2(0xac)==_0xd56bf3?_0x2f7ea5['renderRoot'][_0x2dbba2(0xd1)]('textarea'):_0x2dbba2(0xc4)==_0xd56bf3?_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd1)](_0x2dbba2(0x93))['firstElementChild']:_0x2dbba2(0xdb)==_0xd56bf3?_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd1)](_0x2dbba2(0xa8))[_0x2dbba2(0xb7)]['querySelector'](_0x2dbba2(0xab)):_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd8)]['editor'];}}
@@ -1 +1 @@
1
- const a0_0x433234=a0_0x3d55;(function(_0x13b013,_0x32dc2d){const _0x265714=a0_0x3d55,_0x8c46d3=_0x13b013();while(!![]){try{const _0x5f331f=parseInt(_0x265714(0x11e))/0x1*(-parseInt(_0x265714(0x10b))/0x2)+-parseInt(_0x265714(0x111))/0x3*(parseInt(_0x265714(0x113))/0x4)+parseInt(_0x265714(0x11b))/0x5*(parseInt(_0x265714(0x11f))/0x6)+parseInt(_0x265714(0x10a))/0x7+parseInt(_0x265714(0x118))/0x8+parseInt(_0x265714(0x108))/0x9*(-parseInt(_0x265714(0x122))/0xa)+parseInt(_0x265714(0x10e))/0xb;if(_0x5f331f===_0x32dc2d)break;else _0x8c46d3['push'](_0x8c46d3['shift']());}catch(_0x59f3e0){_0x8c46d3['push'](_0x8c46d3['shift']());}}}(a0_0x3ac7,0x236d2));import a0_0x556e5f from'lodash-es/isEqual';function a0_0x3ac7(){const _0x556962=['populateObject','180eztTZZ','forEach','6968apiQzU','toInteger','length','object','string','90128dKWKlF','getParams','slice','70xOmydo','isNotEmpty','compareObjectValues','1cqwpEU','98652DtPmUf','map','isArray','320FxGmKT','boolean','setParams','79533EEePQx','keys','386890PhlKko','66740JjsvDy','TRUE','isEquals','2959616qqaUOK','isEmpty'];a0_0x3ac7=function(){return _0x556962;};return a0_0x3ac7();}function a0_0x3d55(_0x43d429,_0x5c08e3){const _0x3ac7c2=a0_0x3ac7();return a0_0x3d55=function(_0x3d557c,_0x4ee174){_0x3d557c=_0x3d557c-0x107;let _0xec4d72=_0x3ac7c2[_0x3d557c];return _0xec4d72;},a0_0x3d55(_0x43d429,_0x5c08e3);}import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x433234(0x10f)](_0x11daac){const _0x2867b6=a0_0x433234;if(void 0x0===_0x11daac)return!0x0;if(null===_0x11daac)return!0x0;if(_0x2867b6(0x123)==typeof _0x11daac)return!0x1;if(_0x2867b6(0x117)==typeof _0x11daac||'number'==typeof _0x11daac){if(''==_0x11daac)return!0x0;}else{if(Array[_0x2867b6(0x121)](_0x11daac)){if(0x0==_0x11daac['length'])return!0x0;}else{if(_0x2867b6(0x116)==typeof _0x11daac&&0x0==Object[_0x2867b6(0x109)](_0x11daac)[_0x2867b6(0x115)])return!0x0;}}return!0x1;}static[a0_0x433234(0x11c)](_0x953b83){return!ValueUtil['isEmpty'](_0x953b83);}static[a0_0x433234(0x10d)](_0x4ec36,_0x3f6f0e){return a0_0x556e5f(_0x4ec36,_0x3f6f0e);}static[a0_0x433234(0x114)](_0x2458d7,_0x157752){return ValueUtil['isEmpty'](_0x2458d7)?_0x157752||0x0:parseInt(_0x2458d7);}static['toBoolean'](_0x5ac569){const _0x4213b4=a0_0x433234;return!ValueUtil[_0x4213b4(0x10f)](_0x5ac569)&&('true'==_0x5ac569||'t'==_0x5ac569||_0x4213b4(0x10c)==_0x5ac569||'T'==_0x5ac569||'on'==_0x5ac569||'ON'==_0x5ac569);}static[a0_0x433234(0x11d)](_0x32f93b,_0x121623,_0xb32e94){let _0x219124=!0x0;return _0xb32e94['forEach'](_0x340629=>{const _0x35502c=a0_0x3d55;let _0x9168b3=_0x32f93b[_0x340629];if('*'===_0x9168b3)return;let _0x352ac9=_0x121623[_0x340629]||'';ValueUtil[_0x35502c(0x10f)](_0x9168b3)?ValueUtil[_0x35502c(0x11c)](_0x352ac9)&&(_0x219124=!0x1):_0x9168b3!=_0x352ac9&&(_0x219124=!0x1);}),_0x219124;}static[a0_0x433234(0x107)](_0x34d024,_0x39b213,_0x390264,_0x4455d6){const _0x12a087=a0_0x433234;let _0x57dede=ValueUtil[_0x12a087(0x119)](_0x39b213,_0x390264);return ValueUtil['isNotEmpty'](_0x57dede)&&(_0x34d024[_0x390264]=!0x0===_0x4455d6?TermsUtil['t'](_0x57dede):_0x57dede),_0x34d024;}static[a0_0x433234(0x119)](_0x1c3f49,..._0xb95246){const _0x37c59e=a0_0x433234;if(arguments[_0x37c59e(0x115)]<=0x1)return;let _0x53af34=_0xb95246[0x0];if(ValueUtil[_0x37c59e(0x10f)](_0x1c3f49[_0x53af34]))return;let _0x38c688=_0x1c3f49[_0x53af34];return _0xb95246[_0x37c59e(0x115)]>0x1?ValueUtil[_0x37c59e(0x119)](_0x38c688,..._0xb95246[_0x37c59e(0x11a)](0x1)):_0x38c688;}static['populateArray'](_0x4fefa8,_0x444c21,..._0xdaff83){const _0x5d5eda=a0_0x433234;return _0x444c21=_0x444c21||[],_0xdaff83=_0xdaff83||Object[_0x5d5eda(0x109)](_0x4fefa8),ValueUtil['isNotEmpty'](_0xdaff83)&&(_0x444c21=_0x4fefa8[_0x5d5eda(0x120)]((_0x129f34,_0x19703a)=>{const _0x41137a=_0x5d5eda;let _0x33c864=_0x444c21[_0x41137a(0x115)]>_0x19703a?_0x444c21[_0x19703a]:{};return ValueUtil['populateObject'](_0x129f34,_0x33c864,_0xdaff83);})),_0x444c21;}static[a0_0x433234(0x110)](_0x3308fe,_0x3ca242,..._0x147bc4){const _0x1345d2=a0_0x433234;return _0x3ca242=_0x3ca242||{},_0x147bc4=_0x147bc4||Object[_0x1345d2(0x109)](_0x3308fe),ValueUtil[_0x1345d2(0x11c)](_0x147bc4)&&_0x147bc4[_0x1345d2(0x112)](_0x313e1d=>{_0x3ca242[_0x313e1d]=_0x3308fe[_0x313e1d];}),_0x3ca242;}}
1
+ function a0_0x5146(){const _0x36355d=['104cpJdcA','334663wwpYcV','forEach','isArray','populateObject','3566265gIFkTk','keys','161454QOoppo','887031jEvdEi','number','object','21626350TSrXND','2148820nAHdbJ','slice','populateArray','isEquals','8FsLnLR','90236UQBAvi','length','compareObjectValues','true','isEmpty','isNotEmpty','TRUE','toInteger','boolean','48okOFWf','getParams','string'];a0_0x5146=function(){return _0x36355d;};return a0_0x5146();}const a0_0x3751c7=a0_0x3c72;(function(_0xe82472,_0x3fbbb4){const _0x406639=a0_0x3c72,_0x12f477=_0xe82472();while(!![]){try{const _0x5b5c2f=-parseInt(_0x406639(0xc2))/0x1+parseInt(_0x406639(0xaf))/0x2+parseInt(_0x406639(0xc0))/0x3+parseInt(_0x406639(0xae))/0x4*(parseInt(_0x406639(0xc7))/0x5)+parseInt(_0x406639(0xb8))/0x6*(-parseInt(_0x406639(0xbc))/0x7)+parseInt(_0x406639(0xbb))/0x8*(parseInt(_0x406639(0xc3))/0x9)+-parseInt(_0x406639(0xc6))/0xa;if(_0x5b5c2f===_0x3fbbb4)break;else _0x12f477['push'](_0x12f477['shift']());}catch(_0x4527b8){_0x12f477['push'](_0x12f477['shift']());}}}(a0_0x5146,0xa31cb));function a0_0x3c72(_0x3dbbc7,_0x39f1c3){const _0x51462c=a0_0x5146();return a0_0x3c72=function(_0x3c7201,_0xc6db51){_0x3c7201=_0x3c7201-0xad;let _0xabd97c=_0x51462c[_0x3c7201];return _0xabd97c;},a0_0x3c72(_0x3dbbc7,_0x39f1c3);}import a0_0x5b453c from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x3751c7(0xb3)](_0x1ffc75){const _0xdc8efb=a0_0x3751c7;if(void 0x0===_0x1ffc75)return!0x0;if(null===_0x1ffc75)return!0x0;if(_0xdc8efb(0xb7)==typeof _0x1ffc75)return!0x1;if(_0xdc8efb(0xba)==typeof _0x1ffc75||_0xdc8efb(0xc4)==typeof _0x1ffc75){if(''==_0x1ffc75)return!0x0;}else{if(Array[_0xdc8efb(0xbe)](_0x1ffc75)){if(0x0==_0x1ffc75[_0xdc8efb(0xb0)])return!0x0;}else{if(_0xdc8efb(0xc5)==typeof _0x1ffc75&&0x0==Object[_0xdc8efb(0xc1)](_0x1ffc75)[_0xdc8efb(0xb0)])return!0x0;}}return!0x1;}static[a0_0x3751c7(0xb4)](_0x1f68fa){const _0x6656f7=a0_0x3751c7;return!ValueUtil[_0x6656f7(0xb3)](_0x1f68fa);}static[a0_0x3751c7(0xad)](_0x3d270b,_0x38288d){return a0_0x5b453c(_0x3d270b,_0x38288d);}static[a0_0x3751c7(0xb6)](_0x1f66c4,_0x455404){const _0x238794=a0_0x3751c7;return ValueUtil[_0x238794(0xb3)](_0x1f66c4)?_0x455404||0x0:parseInt(_0x1f66c4);}static['toBoolean'](_0x5abcae){const _0x550da8=a0_0x3751c7;return!ValueUtil[_0x550da8(0xb3)](_0x5abcae)&&(_0x550da8(0xb2)==_0x5abcae||'t'==_0x5abcae||_0x550da8(0xb5)==_0x5abcae||'T'==_0x5abcae||'on'==_0x5abcae||'ON'==_0x5abcae);}static[a0_0x3751c7(0xb1)](_0x4eea7f,_0x4aa62b,_0x5d1834){const _0x488836=a0_0x3751c7;let _0x69009c=!0x0;return _0x5d1834[_0x488836(0xbd)](_0x23bb34=>{const _0x40f447=_0x488836;let _0x12bb80=_0x4eea7f[_0x23bb34];if('*'===_0x12bb80)return;let _0x7a4b08=_0x4aa62b[_0x23bb34]||'';ValueUtil['isEmpty'](_0x12bb80)?ValueUtil[_0x40f447(0xb4)](_0x7a4b08)&&(_0x69009c=!0x1):_0x12bb80!=_0x7a4b08&&(_0x69009c=!0x1);}),_0x69009c;}static['setParams'](_0xf5ba9f,_0x25c753,_0x1966ad,_0x45c433){const _0x3f839e=a0_0x3751c7;let _0x2e1945=ValueUtil[_0x3f839e(0xb9)](_0x25c753,_0x1966ad);return ValueUtil[_0x3f839e(0xb4)](_0x2e1945)&&(_0xf5ba9f[_0x1966ad]=!0x0===_0x45c433?TermsUtil['t'](_0x2e1945):_0x2e1945),_0xf5ba9f;}static[a0_0x3751c7(0xb9)](_0x46fed6,..._0x15c667){const _0x55b949=a0_0x3751c7;if(arguments[_0x55b949(0xb0)]<=0x1)return;let _0x539f6e=_0x15c667[0x0];if(ValueUtil['isEmpty'](_0x46fed6[_0x539f6e]))return;let _0x5b09d9=_0x46fed6[_0x539f6e];return _0x15c667['length']>0x1?ValueUtil['getParams'](_0x5b09d9,..._0x15c667[_0x55b949(0xc8)](0x1)):_0x5b09d9;}static[a0_0x3751c7(0xc9)](_0x1a2f3d,_0x2d261c,..._0x4ae609){const _0x4ced00=a0_0x3751c7;return _0x2d261c=_0x2d261c||[],_0x4ae609=_0x4ae609||Object['keys'](_0x1a2f3d),ValueUtil[_0x4ced00(0xb4)](_0x4ae609)&&(_0x2d261c=_0x1a2f3d['map']((_0x3729af,_0x45184f)=>{const _0x52aeb7=_0x4ced00;let _0x34b3f5=_0x2d261c[_0x52aeb7(0xb0)]>_0x45184f?_0x2d261c[_0x45184f]:{};return ValueUtil[_0x52aeb7(0xbf)](_0x3729af,_0x34b3f5,_0x4ae609);})),_0x2d261c;}static[a0_0x3751c7(0xbf)](_0x4c6739,_0x3dc2cd,..._0x52a68f){const _0x1b51f1=a0_0x3751c7;return _0x3dc2cd=_0x3dc2cd||{},_0x52a68f=_0x52a68f||Object['keys'](_0x4c6739),ValueUtil[_0x1b51f1(0xb4)](_0x52a68f)&&_0x52a68f[_0x1b51f1(0xbd)](_0x5c8635=>{_0x3dc2cd[_0x5c8635]=_0x4c6739[_0x5c8635];}),_0x3dc2cd;}}
@@ -1,4 +1,4 @@
1
- (function(_0x3f95c2,_0x5665d6){const _0x3b0584=a0_0x387e,_0x36a437=_0x3f95c2();while(!![]){try{const _0x2e425b=-parseInt(_0x3b0584(0x11a))/0x1+parseInt(_0x3b0584(0x120))/0x2+parseInt(_0x3b0584(0x11b))/0x3+-parseInt(_0x3b0584(0x11c))/0x4+-parseInt(_0x3b0584(0x11d))/0x5+-parseInt(_0x3b0584(0x11f))/0x6*(parseInt(_0x3b0584(0x119))/0x7)+parseInt(_0x3b0584(0x11e))/0x8;if(_0x2e425b===_0x5665d6)break;else _0x36a437['push'](_0x36a437['shift']());}catch(_0x2be199){_0x36a437['push'](_0x36a437['shift']());}}}(a0_0x2cc2,0xebf4c));function a0_0x387e(_0x499176,_0x32136f){const _0x2cc292=a0_0x2cc2();return a0_0x387e=function(_0x387e62,_0x37b112){_0x387e62=_0x387e62-0x119;let _0x678df2=_0x2cc292[_0x387e62];return _0x678df2;},a0_0x387e(_0x499176,_0x32136f);}import{css}from'lit';function a0_0x2cc2(){const _0x3e0b3a=['2901932CSVOHB','59157WqOaCp','1608927qZPkqe','1454748OdwCtN','1716540MUMPRy','2432030hsTucP','16091328QnGqBC','324YkPPtj'];a0_0x2cc2=function(){return _0x3e0b3a;};return a0_0x2cc2();}export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x3c4106,_0xe24f51){const _0x35200e=a0_0x25a1,_0x4a8054=_0x3c4106();while(!![]){try{const _0x4a357e=parseInt(_0x35200e(0x77))/0x1+-parseInt(_0x35200e(0x76))/0x2*(-parseInt(_0x35200e(0x78))/0x3)+parseInt(_0x35200e(0x74))/0x4+parseInt(_0x35200e(0x75))/0x5+parseInt(_0x35200e(0x73))/0x6+parseInt(_0x35200e(0x7a))/0x7+-parseInt(_0x35200e(0x79))/0x8;if(_0x4a357e===_0xe24f51)break;else _0x4a8054['push'](_0x4a8054['shift']());}catch(_0x3249ca){_0x4a8054['push'](_0x4a8054['shift']());}}}(a0_0x2855,0xdbbe7));function a0_0x25a1(_0x6109c3,_0xe4b40e){const _0x28551b=a0_0x2855();return a0_0x25a1=function(_0x25a187,_0x330314){_0x25a187=_0x25a187-0x73;let _0x35fe7a=_0x28551b[_0x25a187];return _0x35fe7a;},a0_0x25a1(_0x6109c3,_0xe4b40e);}function a0_0x2855(){const _0x13f248=['41484736WlQVfR','9602278xGZehk','150936rLYUYK','4976688fDrOmN','3275545ZeLmDJ','40xAmHlw','1404252AWnzZd','207783XredYF'];a0_0x2855=function(){return _0x13f248;};return a0_0x2855();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- const a0_0x58a119=a0_0x4e96;(function(_0x49c39b,_0x5d65fe){const _0x27c2c3=a0_0x4e96,_0x4b2356=_0x49c39b();while(!![]){try{const _0x3a0913=-parseInt(_0x27c2c3(0xa2))/0x1*(parseInt(_0x27c2c3(0xb3))/0x2)+parseInt(_0x27c2c3(0xac))/0x3*(-parseInt(_0x27c2c3(0xaf))/0x4)+-parseInt(_0x27c2c3(0xba))/0x5+-parseInt(_0x27c2c3(0xc0))/0x6*(-parseInt(_0x27c2c3(0xb5))/0x7)+-parseInt(_0x27c2c3(0xbe))/0x8*(-parseInt(_0x27c2c3(0xae))/0x9)+parseInt(_0x27c2c3(0x9a))/0xa*(-parseInt(_0x27c2c3(0xa0))/0xb)+parseInt(_0x27c2c3(0xbd))/0xc;if(_0x3a0913===_0x5d65fe)break;else _0x4b2356['push'](_0x4b2356['shift']());}catch(_0x31796d){_0x4b2356['push'](_0x4b2356['shift']());}}}(a0_0x4647,0x52dcb));function a0_0x4e96(_0x472304,_0x27953f){const _0x46474f=a0_0x4647();return a0_0x4e96=function(_0x4e963f,_0xad6039){_0x4e963f=_0x4e963f-0x98;let _0x3e6455=_0x46474f[_0x4e963f];return _0x3e6455;},a0_0x4e96(_0x472304,_0x27953f);}import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x58a119(0xb8)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x58a119(0xaa)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x58a119(0x9f)](){const _0x3b0acd=a0_0x58a119,{menus:_0x57eb4b=[],activeTopLevel:_0x5af036,activeMenu:_0x46939a}=this;return html`
1
+ const a0_0x8d6d50=a0_0x38b0;(function(_0x12b186,_0x4dc105){const _0x49fc13=a0_0x38b0,_0x44be81=_0x12b186();while(!![]){try{const _0x69e262=parseInt(_0x49fc13(0x89))/0x1+parseInt(_0x49fc13(0x92))/0x2+parseInt(_0x49fc13(0x99))/0x3+parseInt(_0x49fc13(0xad))/0x4*(-parseInt(_0x49fc13(0x90))/0x5)+parseInt(_0x49fc13(0xa1))/0x6*(parseInt(_0x49fc13(0xa5))/0x7)+-parseInt(_0x49fc13(0x9a))/0x8*(-parseInt(_0x49fc13(0xa8))/0x9)+-parseInt(_0x49fc13(0xac))/0xa;if(_0x69e262===_0x4dc105)break;else _0x44be81['push'](_0x44be81['shift']());}catch(_0x190c0c){_0x44be81['push'](_0x44be81['shift']());}}}(a0_0x4416,0x59084));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x38b0(_0x287c09,_0x4fa29d){const _0x441689=a0_0x4416();return a0_0x38b0=function(_0x38b024,_0x58e3d0){_0x38b024=_0x38b024-0x82;let _0xbd5885=_0x441689[_0x38b024];return _0xbd5885;},a0_0x38b0(_0x287c09,_0x4fa29d);}import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x8d6d50(0x85)](){const _0x470772=a0_0x8d6d50,{menus:_0x47f05a=[],activeTopLevel:_0x525e4c,activeMenu:_0x5a7c7e}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x57eb4b['map'](_0x3ae92e=>'group'==_0x3ae92e[_0x3b0acd(0xad)]?html``:html`
5
- <li ?active=${_0x3ae92e===_0x5af036}>
6
- <a href=${_0x3ae92e['path']||'#'}>
7
- ${_0x3ae92e[_0x3b0acd(0xb0)]?html`<mwc-icon>${_0x3ae92e['icon']}</mwc-icon>`:html``} ${_0x3ae92e[_0x3b0acd(0xa5)]}
4
+ ${_0x47f05a[_0x470772(0x9d)](_0x4c0ae0=>_0x470772(0x94)==_0x4c0ae0[_0x470772(0x8d)]?html``:html`
5
+ <li ?active=${_0x4c0ae0===_0x525e4c}>
6
+ <a href=${_0x4c0ae0['path']||'#'}>
7
+ ${_0x4c0ae0[_0x470772(0x91)]?html`<mwc-icon>${_0x4c0ae0['icon']}</mwc-icon>`:html``} ${_0x4c0ae0[_0x470772(0x8b)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x3ae92e[_0x3b0acd(0xab)]?.['map'](_0x1aefc2=>html`
12
- <li ?active=${_0x1aefc2===_0x46939a}>
13
- <a href=${_0x1aefc2[_0x3b0acd(0xb4)]||'#'}> ${_0x1aefc2['name']} </a>
11
+ ${_0x4c0ae0[_0x470772(0xa2)]?.[_0x470772(0x9d)](_0x134bf4=>html`
12
+ <li ?active=${_0x134bf4===_0x5a7c7e}>
13
+ <a href=${_0x134bf4['path']||'#'}> ${_0x134bf4['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x3ae92e['icon']?html`<mwc-icon>${_0x3ae92e[_0x3b0acd(0xb0)]}</mwc-icon>`:html``} ${_0x3ae92e[_0x3b0acd(0xbb)]||''}
19
+ ${_0x4c0ae0[_0x470772(0x91)]?html`<mwc-icon>${_0x4c0ae0[_0x470772(0x91)]}</mwc-icon>`:html``} ${_0x4c0ae0[_0x470772(0x9e)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}['firstUpdated'](){const _0x28112e=a0_0x58a119;this['renderRoot'][_0x28112e(0xa1)](_0x28112e(0xa6))[_0x28112e(0x98)](_0x28112e(0x9c),this[_0x28112e(0xb2)][_0x28112e(0xa7)](this),!0x1),this[_0x28112e(0xbf)]['addEventListener']('click',_0x786c08=>{const _0x55e6dc=_0x28112e;if(_0x786c08[_0x55e6dc(0xa9)][_0x55e6dc(0x9d)]){_0x786c08['stopPropagation'](),_0x786c08['preventDefault']();let _0x3c3a5c=_0x786c08['target']['submenu'];return void this[_0x55e6dc(0xa3)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x55e6dc(0xb7)]===_0x3c3a5c?void 0x0:_0x3c3a5c}));}let _0x571551=_0x786c08['target'][_0x55e6dc(0xb6)];_0x571551&&location['href']===_0x571551&&navigate(_0x571551+_0x55e6dc(0xb1),!0x0);}),this[_0x28112e(0xbf)][_0x28112e(0x98)]('transitionstart',_0x159cd9=>{const _0x5e247e=_0x28112e;_0x159cd9[_0x5e247e(0xa9)][_0x5e247e(0x9b)](_0x5e247e(0xa8));}),this[_0x28112e(0xbf)][_0x28112e(0x98)](_0x28112e(0xb9),_0x54f7f1=>{const _0x28da19=_0x28112e;_0x54f7f1[_0x28da19(0xa9)][_0x28da19(0xc2)](_0x28da19(0xa8),'');});}[a0_0x58a119(0xb2)](_0x59923f){const _0x223989=a0_0x58a119,_0x5a6e30=_0x59923f[_0x223989(0x99)];var _0x51319b=Math['max'](-0x1,Math['min'](0x1,_0x59923f['wheelDelta']||-_0x59923f[_0x223989(0x9e)]));_0x5a6e30[_0x223989(0xc1)]-=0xa*_0x51319b,_0x59923f[_0x223989(0xbc)]();}}customElements[a0_0x58a119(0xa4)]('dynamic-menu-landscape',DynamicMenuLandscape);function a0_0x4647(){const _0x4b9500=['define','name','#wrap','bind','settled','target','properties','menus','3RrGwwk','type','99xKAgUa','169396IqzsaO','icon','#force','onWheelEvent','78162gmwORI','path','7231nHHBMq','href','activeTopLevel','styles','transitionend','1795350SGJCOg','description','preventDefault','10698312LnZAit','3304NVCxqk','renderRoot','1878swewWH','scrollLeft','setAttribute','addEventListener','currentTarget','292870ZZguFN','removeAttribute','mousewheel','submenu','detail','render','77hfzNHP','querySelector','7PPSpxW','dispatchEvent'];a0_0x4647=function(){return _0x4b9500;};return a0_0x4647();}
25
+ `;}[a0_0x8d6d50(0x98)](){const _0xbc1c61=a0_0x8d6d50;this[_0xbc1c61(0x9b)][_0xbc1c61(0xaa)](_0xbc1c61(0xa4))[_0xbc1c61(0x86)](_0xbc1c61(0x93),this['onWheelEvent'][_0xbc1c61(0x95)](this),!0x1),this[_0xbc1c61(0x9b)][_0xbc1c61(0x86)](_0xbc1c61(0xa6),_0x19f443=>{const _0xb7c0af=_0xbc1c61;if(_0x19f443[_0xb7c0af(0x87)][_0xb7c0af(0xa0)]){_0x19f443[_0xb7c0af(0x83)](),_0x19f443['preventDefault']();let _0x211eec=_0x19f443['target'][_0xb7c0af(0xa0)];return void this[_0xb7c0af(0x9c)](new CustomEvent(_0xb7c0af(0xa9),{'bubbles':!0x0,'detail':this[_0xb7c0af(0x8f)]===_0x211eec?void 0x0:_0x211eec}));}let _0x538477=_0x19f443[_0xb7c0af(0x87)]['href'];_0x538477&&location[_0xb7c0af(0x96)]===_0x538477&&navigate(_0x538477+'#force',!0x0);}),this[_0xbc1c61(0x9b)][_0xbc1c61(0x86)]('transitionstart',_0x3a3989=>{const _0x412c86=_0xbc1c61;_0x3a3989[_0x412c86(0x87)][_0x412c86(0x9f)](_0x412c86(0xa7));}),this[_0xbc1c61(0x9b)]['addEventListener'](_0xbc1c61(0x97),_0x2649ae=>{const _0xce931b=_0xbc1c61;_0x2649ae[_0xce931b(0x87)][_0xce931b(0xa3)](_0xce931b(0xa7),'');});}[a0_0x8d6d50(0x8a)](_0x25ebbb){const _0x56ad34=a0_0x8d6d50,_0x2ce6f6=_0x25ebbb['currentTarget'];var _0x241997=Math[_0x56ad34(0x8e)](-0x1,Math[_0x56ad34(0x82)](0x1,_0x25ebbb[_0x56ad34(0x88)]||-_0x25ebbb[_0x56ad34(0xab)]));_0x2ce6f6[_0x56ad34(0x8c)]-=0xa*_0x241997,_0x25ebbb['preventDefault']();}}customElements['define'](a0_0x8d6d50(0x84),DynamicMenuLandscape);function a0_0x4416(){const _0x5b906d=['max','activeTopLevel','50StKfcu','icon','1456652XMtPPI','mousewheel','group','bind','href','transitionend','firstUpdated','1343583FTOduE','1069192fErBTV','renderRoot','dispatchEvent','map','description','removeAttribute','submenu','753582wXVJRG','menus','setAttribute','#wrap','7cTibHq','click','settled','18aLMnpx','active-toplevel','querySelector','detail','10063500rlmPJM','125516bkteYl','min','stopPropagation','dynamic-menu-landscape','render','addEventListener','target','wheelDelta','115734MrYbmh','onWheelEvent','name','scrollLeft','type'];a0_0x4416=function(){return _0x5b906d;};return a0_0x4416();}
@@ -1,4 +1,4 @@
1
- var a0_0x37cd9b=a0_0x2fb9;function a0_0x29b0(){var _0x4c3c22=['styles','223680nnkIlg','firstUpdated','2fSgFcG','path','landscape','active-toplevel','221016CROUSS','23318537xUxhMZ','4673808RIkysr','function','split','page','detail','_path','slotTemplate','stopPropagation','12xkVSFx','setAttribute','1427361eVqtwo','active','route','stateChanged','call','metaUI','9775664FGLbBt','render','_activeMenu','renderRoot','7KEryuN','190JHlgMH','resourceId','properties','portrait','_activeTopLevel','replaceChild','find','3737589sNQtsm','orientation','dynamic-menu-part','has','495mdeFwH','menus'];a0_0x29b0=function(){return _0x4c3c22;};return a0_0x29b0();}function a0_0x2fb9(_0x1518b8,_0x2a8426){var _0x29b04c=a0_0x29b0();return a0_0x2fb9=function(_0x2fb96b,_0x1fc2bc){_0x2fb96b=_0x2fb96b-0x186;var _0x3191d2=_0x29b04c[_0x2fb96b];return _0x3191d2;},a0_0x2fb9(_0x1518b8,_0x2a8426);}(function(_0x2cd873,_0x135ba1){var _0x5dd18a=a0_0x2fb9,_0x12616c=_0x2cd873();while(!![]){try{var _0x29bd95=parseInt(_0x5dd18a(0x1a3))/0x1+parseInt(_0x5dd18a(0x193))/0x2*(parseInt(_0x5dd18a(0x18a))/0x3)+-parseInt(_0x5dd18a(0x199))/0x4+-parseInt(_0x5dd18a(0x1ae))/0x5*(-parseInt(_0x5dd18a(0x197))/0x6)+-parseInt(_0x5dd18a(0x1ad))/0x7*(parseInt(_0x5dd18a(0x1a9))/0x8)+parseInt(_0x5dd18a(0x18e))/0x9*(parseInt(_0x5dd18a(0x191))/0xa)+-parseInt(_0x5dd18a(0x198))/0xb*(parseInt(_0x5dd18a(0x1a1))/0xc);if(_0x29bd95===_0x135ba1)break;else _0x12616c['push'](_0x12616c['shift']());}catch(_0x38705a){_0x12616c['push'](_0x12616c['shift']());}}}(a0_0x29b0,0xc197b));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x1c8919,_0x3ae2e3){var _0x579cc2=a0_0x2fb9;return _0x1c8919[_0x579cc2(0x194)]?.[_0x579cc2(0x19b)]('?')[0x0]===_0x3ae2e3||_0x1c8919[_0x579cc2(0x1a4)]&&_0x579cc2(0x19a)==typeof _0x1c8919['active']&&_0x1c8919[_0x579cc2(0x1a4)][_0x579cc2(0x1a7)](_0x1c8919,{'path':_0x3ae2e3});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x37cd9b(0x1b0)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x37cd9b(0x190)](){return[ScrollbarStyles,css`
1
+ var a0_0x17469e=a0_0x526f;(function(_0x2ebc5e,_0x1253fa){var _0x563205=a0_0x526f,_0x32a51c=_0x2ebc5e();while(!![]){try{var _0x35b434=parseInt(_0x563205(0x14a))/0x1+-parseInt(_0x563205(0x143))/0x2*(parseInt(_0x563205(0x149))/0x3)+-parseInt(_0x563205(0x138))/0x4*(-parseInt(_0x563205(0x159))/0x5)+-parseInt(_0x563205(0x158))/0x6+-parseInt(_0x563205(0x151))/0x7*(-parseInt(_0x563205(0x148))/0x8)+parseInt(_0x563205(0x139))/0x9+-parseInt(_0x563205(0x142))/0xa;if(_0x35b434===_0x1253fa)break;else _0x32a51c['push'](_0x32a51c['shift']());}catch(_0x3854b9){_0x32a51c['push'](_0x32a51c['shift']());}}}(a0_0x4696,0x71875));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';function a0_0x4696(){var _0x4f6518=['dynamic-menu-part','5215974YKaQyV','5vsCwcn','detail','has','call','_findActivePage','active','3668480aIdcrV','4633632BUqpKn','path','slotTemplate','metaUI','render','stateChanged','_activeMenu','setAttribute','route','3520560GxadFm','1734816IZYYxk','renderRoot','active-toplevel','resourceId','function','6097928uKtxzU','3SoElnC','359597Ejjlys','_path','updated','_activeTopLevel','addEventListener','firstUpdated','orientation','7rZElyJ','styles','menus','landscape','preventDefault','page'];a0_0x4696=function(){return _0x4f6518;};return a0_0x4696();}import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x526f(_0x58f3f8,_0x219f2b){var _0x46969e=a0_0x4696();return a0_0x526f=function(_0x526fb0,_0x175c39){_0x526fb0=_0x526fb0-0x137;var _0x2b0ed6=_0x46969e[_0x526fb0];return _0x2b0ed6;},a0_0x526f(_0x58f3f8,_0x219f2b);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x143bbd,_0x2f8030){var _0x390f02=a0_0x526f;return _0x143bbd[_0x390f02(0x13a)]?.['split']('?')[0x0]===_0x2f8030||_0x143bbd[_0x390f02(0x137)]&&_0x390f02(0x147)==typeof _0x143bbd[_0x390f02(0x137)]&&_0x143bbd['active'][_0x390f02(0x15c)](_0x143bbd,{'path':_0x2f8030});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x17469e(0x152)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x37cd9b=a0_0x2fb9;function a0_0x29b0(){var _0x4c3c22=['styles','223680nn
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x37cd9b(0x1aa)](){var _0x41a9c6=a0_0x37cd9b;return html`
30
+ `];}[a0_0x17469e(0x13d)](){var _0x3e3aff=a0_0x17469e;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x41a9c6(0x195)!==this['orientation']?html`<dynamic-menu-portrait
33
- .menus=${this[_0x41a9c6(0x18f)]}
34
- .activeTopLevel=${this[_0x41a9c6(0x187)]}
35
- .activeMenu=${this[_0x41a9c6(0x1ab)]}
36
- .path=${this[_0x41a9c6(0x19e)]}
37
- ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x41a9c6(0x18f)]}
32
+ ${'landscape'!==this[_0x3e3aff(0x150)]?html`<dynamic-menu-portrait
33
+ .menus=${this['menus']}
39
34
  .activeTopLevel=${this['_activeTopLevel']}
40
- .activeMenu=${this[_0x41a9c6(0x1ab)]}
41
- .path=${this[_0x41a9c6(0x19e)]}
35
+ .activeMenu=${this[_0x3e3aff(0x13f)]}
36
+ .path=${this[_0x3e3aff(0x14b)]}
37
+ ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
+ .menus=${this[_0x3e3aff(0x153)]}
39
+ .activeTopLevel=${this[_0x3e3aff(0x14d)]}
40
+ .activeMenu=${this[_0x3e3aff(0x13f)]}
41
+ .path=${this[_0x3e3aff(0x14b)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x37cd9b(0x192)](){var _0x37d04e=a0_0x37cd9b;this[_0x37d04e(0x1ac)]['addEventListener'](_0x37d04e(0x196),_0xe7e641=>{var _0x407f53=_0x37d04e;_0xe7e641[_0x407f53(0x1a0)](),_0xe7e641['preventDefault'](),this[_0x407f53(0x187)]=_0xe7e641[_0x407f53(0x19d)];});}['updated'](_0x11e78f){var _0x21aa46=a0_0x37cd9b;(_0x11e78f[_0x21aa46(0x18d)](_0x21aa46(0x18f))||_0x11e78f['has']('page')||_0x11e78f[_0x21aa46(0x18d)](_0x21aa46(0x1af)))&&this['_findActivePage'](),_0x11e78f[_0x21aa46(0x18d)](_0x21aa46(0x18b))&&(_0x21aa46(0x186)==this[_0x21aa46(0x18b)]?this['removeAttribute'](_0x21aa46(0x195)):this[_0x21aa46(0x1a2)](_0x21aa46(0x195),!0x0)),_0x11e78f[_0x21aa46(0x18d)](_0x21aa46(0x19f))&&this[_0x21aa46(0x188)](this[_0x21aa46(0x19f)]);}[a0_0x37cd9b(0x1a6)](_0x36383b){var _0x55b391=a0_0x37cd9b;this[_0x55b391(0x19c)]=_0x36383b[_0x55b391(0x1a5)][_0x55b391(0x19c)],this[_0x55b391(0x1af)]=_0x36383b[_0x55b391(0x1a5)]['resourceId'],this[_0x55b391(0x18f)]=_0x36383b[_0x55b391(0x1a8)][_0x55b391(0x18f)]||[],this[_0x55b391(0x19f)]=_0x36383b['metaUI'][_0x55b391(0x19f)];}['_findActivePage'](){var _0x33aa75=a0_0x37cd9b,_0x52166e,_0x4aaf1a=this[_0x33aa75(0x1af)]?this['page']+'/'+this[_0x33aa75(0x1af)]:this[_0x33aa75(0x19c)],_0x3ed584=this[_0x33aa75(0x18f)]||[];this[_0x33aa75(0x187)]=_0x3ed584[_0x33aa75(0x189)](_0x17ee55=>isActiveMenu(_0x17ee55,_0x4aaf1a)?(_0x52166e=_0x17ee55,!0x0):_0x17ee55[_0x33aa75(0x18f)]?!!(_0x52166e=_0x17ee55[_0x33aa75(0x18f)]['find'](_0x3e3384=>isActiveMenu(_0x3e3384,_0x4aaf1a))):void 0x0),this['_path']=_0x4aaf1a,this[_0x33aa75(0x1ab)]=_0x52166e||this['_activeTopLevel'];}}customElements['define'](a0_0x37cd9b(0x18c),DynamicMenuPart);
44
+ `;}[a0_0x17469e(0x14f)](){var _0x22807c=a0_0x17469e;this[_0x22807c(0x144)][_0x22807c(0x14e)](_0x22807c(0x145),_0x14dae8=>{var _0x4bb614=_0x22807c;_0x14dae8['stopPropagation'](),_0x14dae8[_0x4bb614(0x155)](),this[_0x4bb614(0x14d)]=_0x14dae8[_0x4bb614(0x15a)];});}[a0_0x17469e(0x14c)](_0x5854b3){var _0x1d5e8a=a0_0x17469e;(_0x5854b3[_0x1d5e8a(0x15b)]('menus')||_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x156))||_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x146)))&&this[_0x1d5e8a(0x15d)](),_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x150))&&('portrait'==this[_0x1d5e8a(0x150)]?this['removeAttribute'](_0x1d5e8a(0x154)):this[_0x1d5e8a(0x140)](_0x1d5e8a(0x154),!0x0)),_0x5854b3[_0x1d5e8a(0x15b)]('slotTemplate')&&this['replaceChild'](this[_0x1d5e8a(0x13b)]);}[a0_0x17469e(0x13e)](_0x2ea6e2){var _0x14410d=a0_0x17469e;this[_0x14410d(0x156)]=_0x2ea6e2[_0x14410d(0x141)][_0x14410d(0x156)],this[_0x14410d(0x146)]=_0x2ea6e2[_0x14410d(0x141)][_0x14410d(0x146)],this[_0x14410d(0x153)]=_0x2ea6e2['metaUI'][_0x14410d(0x153)]||[],this[_0x14410d(0x13b)]=_0x2ea6e2[_0x14410d(0x13c)][_0x14410d(0x13b)];}[a0_0x17469e(0x15d)](){var _0x157c3f=a0_0x17469e,_0x35b9aa,_0x52c149=this['resourceId']?this[_0x157c3f(0x156)]+'/'+this[_0x157c3f(0x146)]:this[_0x157c3f(0x156)],_0x2fe440=this[_0x157c3f(0x153)]||[];this['_activeTopLevel']=_0x2fe440['find'](_0x3a16e8=>isActiveMenu(_0x3a16e8,_0x52c149)?(_0x35b9aa=_0x3a16e8,!0x0):_0x3a16e8[_0x157c3f(0x153)]?!!(_0x35b9aa=_0x3a16e8['menus']['find'](_0x350312=>isActiveMenu(_0x350312,_0x52c149))):void 0x0),this[_0x157c3f(0x14b)]=_0x52c149,this[_0x157c3f(0x13f)]=_0x35b9aa||this[_0x157c3f(0x14d)];}}customElements['define'](a0_0x17469e(0x157),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x7fba49,_0x48fe91){const _0x4c8f92=a0_0x3baf,_0x4869d2=_0x7fba49();while(!![]){try{const _0x5e91f4=-parseInt(_0x4c8f92(0x197))/0x1*(-parseInt(_0x4c8f92(0x191))/0x2)+parseInt(_0x4c8f92(0x19a))/0x3*(parseInt(_0x4c8f92(0x199))/0x4)+-parseInt(_0x4c8f92(0x192))/0x5*(parseInt(_0x4c8f92(0x19b))/0x6)+-parseInt(_0x4c8f92(0x193))/0x7*(-parseInt(_0x4c8f92(0x196))/0x8)+-parseInt(_0x4c8f92(0x190))/0x9*(parseInt(_0x4c8f92(0x194))/0xa)+parseInt(_0x4c8f92(0x195))/0xb*(parseInt(_0x4c8f92(0x198))/0xc)+parseInt(_0x4c8f92(0x18f))/0xd;if(_0x5e91f4===_0x48fe91)break;else _0x4869d2['push'](_0x4869d2['shift']());}catch(_0x530322){_0x4869d2['push'](_0x4869d2['shift']());}}}(a0_0x2a03,0xc3c51));import{css}from'lit';function a0_0x3baf(_0x47d61a,_0x59911c){const _0x2a03a0=a0_0x2a03();return a0_0x3baf=function(_0x3bafed,_0xb818eb){_0x3bafed=_0x3bafed-0x18f;let _0x443251=_0x2a03a0[_0x3bafed];return _0x443251;},a0_0x3baf(_0x47d61a,_0x59911c);}function a0_0x2a03(){const _0x5c8940=['62361WmFwmr','1761342AFHjdH','20uYLIwU','13461rDQVYc','1210jWLEbS','15793140SiKmcw','200TuXfyJ','1aNxLpR','12NNxsak','276bJEuHe','9123IyHaLj','1791876JaTbAQ','3387163ArIdkL'];a0_0x2a03=function(){return _0x5c8940;};return a0_0x2a03();}export const DynamicMenuPortraitStyles=css`
1
+ function a0_0xddd1(_0x5ad06c,_0xc39905){const _0x1c26e9=a0_0x1c26();return a0_0xddd1=function(_0xddd1a6,_0x4832a5){_0xddd1a6=_0xddd1a6-0x82;let _0x58cd03=_0x1c26e9[_0xddd1a6];return _0x58cd03;},a0_0xddd1(_0x5ad06c,_0xc39905);}(function(_0x1a4b7d,_0x185793){const _0x1e8d8f=a0_0xddd1,_0x50205b=_0x1a4b7d();while(!![]){try{const _0x14034c=-parseInt(_0x1e8d8f(0x88))/0x1*(-parseInt(_0x1e8d8f(0x83))/0x2)+parseInt(_0x1e8d8f(0x85))/0x3+parseInt(_0x1e8d8f(0x84))/0x4*(-parseInt(_0x1e8d8f(0x8c))/0x5)+parseInt(_0x1e8d8f(0x8a))/0x6*(-parseInt(_0x1e8d8f(0x8d))/0x7)+-parseInt(_0x1e8d8f(0x82))/0x8+-parseInt(_0x1e8d8f(0x89))/0x9*(parseInt(_0x1e8d8f(0x86))/0xa)+-parseInt(_0x1e8d8f(0x8b))/0xb*(-parseInt(_0x1e8d8f(0x87))/0xc);if(_0x14034c===_0x185793)break;else _0x50205b['push'](_0x50205b['shift']());}catch(_0x33a27b){_0x50205b['push'](_0x50205b['shift']());}}}(a0_0x1c26,0x24ba8));function a0_0x1c26(){const _0x2a0294=['124761TKVZgi','911672pewcBD','40UZqWhg','20sZFxqd','312003YCAlEd','626210UAzolw','357624pIuKSI','7309roOYmd','9zyRKpB','36rKRiUs','176lxvbcu','293055AjrADv'];a0_0x1c26=function(){return _0x2a0294;};return a0_0x1c26();}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_0x37edbe=a0_0x218d;(function(_0x468473,_0x460189){const _0x5b809f=a0_0x218d,_0x1b0c2a=_0x468473();while(!![]){try{const _0xccf00e=parseInt(_0x5b809f(0x8b))/0x1+parseInt(_0x5b809f(0xa9))/0x2+parseInt(_0x5b809f(0x95))/0x3*(-parseInt(_0x5b809f(0x99))/0x4)+parseInt(_0x5b809f(0x8a))/0x5+parseInt(_0x5b809f(0x92))/0x6*(-parseInt(_0x5b809f(0x88))/0x7)+parseInt(_0x5b809f(0x98))/0x8*(parseInt(_0x5b809f(0xa0))/0x9)+parseInt(_0x5b809f(0xa1))/0xa*(parseInt(_0x5b809f(0x9c))/0xb);if(_0xccf00e===_0x460189)break;else _0x1b0c2a['push'](_0x1b0c2a['shift']());}catch(_0x31009c){_0x1b0c2a['push'](_0x1b0c2a['shift']());}}}(a0_0x5a04,0xc349d));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x5a04(){const _0x329412=['[menu]','preventDefault','dispatchEvent','761934hMvNvX','group','settled','196461uuguxR','removeAttribute','setAttribute','4240TMqOdP','44sTigBh','click','#force','6772271bEpSAL','define','properties','activeTopLevel','12924uHmSow','20cboZus','call','dynamic-menu-portrait','stopPropagation','function','href','transitionstart','firstUpdated','931942AIdVVY','styles','render','map','transitionend','path','menu','addEventListener','closest','84uGBNNE','renderRoot','1766795UlWTto','232394TQJzHH','length','renderMenus','target'];a0_0x5a04=function(){return _0x329412;};return a0_0x5a04();}import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x218d(_0x228cfb,_0x1e3b5d){const _0x5a040b=a0_0x5a04();return a0_0x218d=function(_0x218d90,_0x5f0e7a){_0x218d90=_0x218d90-0x88;let _0x8ca608=_0x5a040b[_0x218d90];return _0x8ca608;},a0_0x218d(_0x228cfb,_0x1e3b5d);}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x37edbe(0xaa)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x37edbe(0x9e)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x37edbe(0x8d)](_0x3eb7ad,_0x599d90,_0x3b97d){const _0x9d5cef=a0_0x37edbe;return html`
1
+ const a0_0x6294eb=a0_0x1696;(function(_0x910de,_0x4bcb4){const _0x175bcb=a0_0x1696,_0x2ed9f2=_0x910de();while(!![]){try{const _0x831a95=parseInt(_0x175bcb(0xf9))/0x1+parseInt(_0x175bcb(0x106))/0x2+-parseInt(_0x175bcb(0xef))/0x3+-parseInt(_0x175bcb(0xfd))/0x4*(parseInt(_0x175bcb(0x10a))/0x5)+parseInt(_0x175bcb(0xf0))/0x6*(parseInt(_0x175bcb(0xee))/0x7)+-parseInt(_0x175bcb(0xf5))/0x8*(parseInt(_0x175bcb(0xec))/0x9)+-parseInt(_0x175bcb(0xe9))/0xa*(-parseInt(_0x175bcb(0x102))/0xb);if(_0x831a95===_0x4bcb4)break;else _0x2ed9f2['push'](_0x2ed9f2['shift']());}catch(_0x28595f){_0x2ed9f2['push'](_0x2ed9f2['shift']());}}}(a0_0x356f,0x4cdbf));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x356f(){const _0x501685=['295716gHspnW','activeTopLevel','href','transitionend','call','14503742ViNmWW','removeAttribute','path','map','610334csBQVp','menu','firstUpdated','active-toplevel','35qPPbhY','length','settled','function','10cjvoRh','addEventListener','dynamic-menu-portrait','9vruqeH','renderMenus','7cHxZJD','1166238DkpbiP','685350wxOGQX','#force','group','click','renderRoot','4607248WaaiBM','closest','render','styles','59056eYwrHh','preventDefault','dispatchEvent','transitionstart'];a0_0x356f=function(){return _0x501685;};return a0_0x356f();}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';function a0_0x1696(_0x5eb8bb,_0x2c38ce){const _0x356f25=a0_0x356f();return a0_0x1696=function(_0x1696f3,_0x22473c){_0x1696f3=_0x1696f3-0xe9;let _0x59577c=_0x356f25[_0x1696f3];return _0x59577c;},a0_0x1696(_0x5eb8bb,_0x2c38ce);}export class DynamicMenuPortrait extends LitElement{static get[a0_0x6294eb(0xf8)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x6294eb(0xed)](_0x4d5360,_0x2c1ab5,_0x3adeb8){const _0x2516a7=a0_0x6294eb;return html`
2
2
  <ul>
3
- ${_0x3eb7ad[_0x9d5cef(0xac)](_0x3b6a28=>{const _0xe0cc3e=_0x9d5cef;var {type:_0x5c5aff,active:_0x5f5c26,path:_0x3d564d,name:_0x4dc97a,badge:_0x1da1f7,icon:_0xc5be5c,menus:_0x103855}=_0x3b6a28;return _0x5f5c26=!(!_0x5f5c26||'function'!=typeof _0x5f5c26)&&_0x5f5c26[_0xe0cc3e(0xa2)](_0x3b6a28,{'path':this[_0xe0cc3e(0xae)]}),_0x1da1f7=_0xe0cc3e(0xa5)==typeof _0x1da1f7?_0x1da1f7[_0xe0cc3e(0xa2)](_0x3b6a28):_0x1da1f7??!0x1,_0xe0cc3e(0x93)==_0x5c5aff?html`<li group-label>${_0x4dc97a}</li>`:html`
4
- <li ?active=${_0x599d90?_0x3b6a28===_0x599d90:_0x5f5c26} .menu=${_0x3b6a28} menu>
5
- <a href=${_0x3d564d||'#'}>
6
- ${_0x103855?.[_0xe0cc3e(0x8c)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0xc5be5c}</mwc-icon>
8
- ${_0x4dc97a} ${!0x1!==_0x1da1f7?html`<div badge>${_0x1da1f7}</div>`:html``}
3
+ ${_0x4d5360[_0x2516a7(0x105)](_0x4772a2=>{const _0x2dd6ff=_0x2516a7;var {type:_0x399f5b,active:_0x437eb1,path:_0x21c11d,name:_0x3e23e6,badge:_0xeb36b4,icon:_0x745223,menus:_0x1a052d}=_0x4772a2;return _0x437eb1=!(!_0x437eb1||_0x2dd6ff(0x10d)!=typeof _0x437eb1)&&_0x437eb1[_0x2dd6ff(0x101)](_0x4772a2,{'path':this[_0x2dd6ff(0x104)]}),_0xeb36b4='function'==typeof _0xeb36b4?_0xeb36b4[_0x2dd6ff(0x101)](_0x4772a2):_0xeb36b4??!0x1,_0x2dd6ff(0xf2)==_0x399f5b?html`<li group-label>${_0x3e23e6}</li>`:html`
4
+ <li ?active=${_0x2c1ab5?_0x4772a2===_0x2c1ab5:_0x437eb1} .menu=${_0x4772a2} menu>
5
+ <a href=${_0x21c11d||'#'}>
6
+ ${_0x1a052d?.[_0x2dd6ff(0x10b)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x745223}</mwc-icon>
8
+ ${_0x3e23e6} ${!0x1!==_0xeb36b4?html`<div badge>${_0xeb36b4}</div>`:html``}
9
9
  </a>
10
- ${_0x103855&&this['renderMenus'](_0x103855,_0x3b97d)}
10
+ ${_0x1a052d&&this[_0x2dd6ff(0xed)](_0x1a052d,_0x3adeb8)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x37edbe(0xab)](){const {menus:_0x2e35a5,activeTopLevel:_0x238732,activeMenu:_0x202a3b}=this;return this['renderMenus'](_0x2e35a5,_0x238732,_0x202a3b);}[a0_0x37edbe(0xa8)](){const _0x169b20=a0_0x37edbe;this[_0x169b20(0x89)][_0x169b20(0xb0)](_0x169b20(0x9a),_0x3adf3a=>{const _0x1cd6ed=_0x169b20,_0x1809d6=_0x3adf3a[_0x1cd6ed(0x8e)][_0x1cd6ed(0xb1)](_0x1cd6ed(0x8f));if(_0x1809d6?.[_0x1cd6ed(0xaf)]){let _0x2b2d4f=_0x1809d6[_0x1cd6ed(0xaf)];_0x2b2d4f[_0x1cd6ed(0xae)]||(_0x3adf3a[_0x1cd6ed(0xa4)](),_0x3adf3a[_0x1cd6ed(0x90)]()),this[_0x1cd6ed(0x91)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x1cd6ed(0x9f)]===_0x2b2d4f?void 0x0:_0x2b2d4f}));}let _0x5589e9=_0x3adf3a[_0x1cd6ed(0x8e)][_0x1cd6ed(0xa6)];_0x5589e9&&location[_0x1cd6ed(0xa6)]===_0x5589e9&&navigate(_0x5589e9+_0x1cd6ed(0x9b),!0x0);}),this[_0x169b20(0x89)][_0x169b20(0xb0)](_0x169b20(0xa7),_0x1b49c3=>{const _0x10901b=_0x169b20;_0x1b49c3[_0x10901b(0x8e)][_0x10901b(0x96)]('settled');}),this['renderRoot'][_0x169b20(0xb0)](_0x169b20(0xad),_0x54e0ef=>{const _0x46f307=_0x169b20;_0x54e0ef['target'][_0x46f307(0x97)](_0x46f307(0x94),'');});}}customElements[a0_0x37edbe(0x9d)](a0_0x37edbe(0xa3),DynamicMenuPortrait);
14
+ `;}[a0_0x6294eb(0xf7)](){const _0x12b722=a0_0x6294eb,{menus:_0x2599e6,activeTopLevel:_0x219f1d,activeMenu:_0x2d7c9c}=this;return this[_0x12b722(0xed)](_0x2599e6,_0x219f1d,_0x2d7c9c);}[a0_0x6294eb(0x108)](){const _0x3f3897=a0_0x6294eb;this[_0x3f3897(0xf4)]['addEventListener'](_0x3f3897(0xf3),_0x55a65e=>{const _0x20e2b8=_0x3f3897,_0x47ca2f=_0x55a65e['target'][_0x20e2b8(0xf6)]('[menu]');if(_0x47ca2f?.[_0x20e2b8(0x107)]){let _0x2a9883=_0x47ca2f[_0x20e2b8(0x107)];_0x2a9883[_0x20e2b8(0x104)]||(_0x55a65e['stopPropagation'](),_0x55a65e[_0x20e2b8(0xfa)]()),this[_0x20e2b8(0xfb)](new CustomEvent(_0x20e2b8(0x109),{'bubbles':!0x0,'detail':this[_0x20e2b8(0xfe)]===_0x2a9883?void 0x0:_0x2a9883}));}let _0x4cf285=_0x55a65e['target'][_0x20e2b8(0xff)];_0x4cf285&&location[_0x20e2b8(0xff)]===_0x4cf285&&navigate(_0x4cf285+_0x20e2b8(0xf1),!0x0);}),this[_0x3f3897(0xf4)][_0x3f3897(0xea)](_0x3f3897(0xfc),_0x548112=>{const _0x52cfed=_0x3f3897;_0x548112['target'][_0x52cfed(0x103)](_0x52cfed(0x10c));}),this[_0x3f3897(0xf4)][_0x3f3897(0xea)](_0x3f3897(0x100),_0x315909=>{_0x315909['target']['setAttribute']('settled','');});}}customElements['define'](a0_0x6294eb(0xeb),DynamicMenuPortrait);
@@ -1,4 +1,4 @@
1
- const a0_0x5af07d=a0_0x379f;(function(_0x50dd6d,_0x5a6aca){const _0x419360=a0_0x379f,_0x179942=_0x50dd6d();while(!![]){try{const _0x3714b4=parseInt(_0x419360(0x1c7))/0x1+-parseInt(_0x419360(0x1ca))/0x2+-parseInt(_0x419360(0x1bf))/0x3+parseInt(_0x419360(0x1c2))/0x4+-parseInt(_0x419360(0x1d3))/0x5+-parseInt(_0x419360(0x1d6))/0x6*(parseInt(_0x419360(0x1be))/0x7)+parseInt(_0x419360(0x1cd))/0x8*(parseInt(_0x419360(0x1cf))/0x9);if(_0x3714b4===_0x5a6aca)break;else _0x179942['push'](_0x179942['shift']());}catch(_0x430dbb){_0x179942['push'](_0x179942['shift']());}}}(a0_0x142f,0x27944));import'@material/mwc-icon';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{toggleOverlay}from'@operato/layout';function a0_0x142f(){const _0x26e8e3=['3315216nToTwg','route','9DbgZvj','has','resourceId','menus','1223575IadJbG','_findActivePage','updated','86166mEuQQp','styles','split','metaUI','name','preventDefault','56nXncRl','339768SxSsvt','map','group','904332SuzEAq','page','dynamic-top-menu-bar','slotTemplate','_activeTopLevel','43464wDtPVH','dyamic-menu-part','properties','97948MiaEut','path','type'];a0_0x142f=function(){return _0x26e8e3;};return a0_0x142f();}import{store}from'@operato/shell';export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x5af07d(0x1d7)](){return css`
1
+ const a0_0x488795=a0_0x305f;(function(_0x13fd0f,_0x1ceb72){const _0x27710d=a0_0x305f,_0x4c8e02=_0x13fd0f();while(!![]){try{const _0x224f06=-parseInt(_0x27710d(0x1ff))/0x1*(parseInt(_0x27710d(0x202))/0x2)+-parseInt(_0x27710d(0x1f1))/0x3*(-parseInt(_0x27710d(0x206))/0x4)+-parseInt(_0x27710d(0x1f5))/0x5+-parseInt(_0x27710d(0x203))/0x6+parseInt(_0x27710d(0x1f0))/0x7*(-parseInt(_0x27710d(0x209))/0x8)+-parseInt(_0x27710d(0x208))/0x9+parseInt(_0x27710d(0x1f6))/0xa;if(_0x224f06===_0x1ceb72)break;else _0x4c8e02['push'](_0x4c8e02['shift']());}catch(_0x124ae7){_0x4c8e02['push'](_0x4c8e02['shift']());}}}(a0_0x1866,0xf14f5));import'@material/mwc-icon';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x305f(_0x291fcf,_0x207b75){const _0x1866c4=a0_0x1866();return a0_0x305f=function(_0x305fc6,_0x12f324){_0x305fc6=_0x305fc6-0x1ef;let _0x50a992=_0x1866c4[_0x305fc6];return _0x50a992;},a0_0x305f(_0x291fcf,_0x207b75);}import{toggleOverlay}from'@operato/layout';function a0_0x1866(){const _0x18d576=['dynamic-top-menu-bar','find','18508Ibvfxi','2370gUmTHU','updated','styles','properties','1680065fsTooB','32632340oeofPj','_findActivePage','slotTemplate','_activeTopLevel','path','route','define','group','metaUI','2371qRxwof','menus','page','860XYcxqU','100308MiMxLf','resourceId','dyamic-menu-part','7164iVFhzT','split','4509270pTzSGk','5496mWBINU','has','map'];a0_0x1866=function(){return _0x18d576;};return a0_0x1866();}import{store}from'@operato/shell';export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x488795(0x1f3)](){return css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -48,20 +48,20 @@ const a0_0x5af07d=a0_0x379f;(function(_0x50dd6d,_0x5a6aca){const _0x419360=a0_0x
48
48
  li[active] a mwc-icon {
49
49
  opacity: 1;
50
50
  }
51
- `;}static get[a0_0x5af07d(0x1c9)](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}['render'](){const _0x5979eb=a0_0x5af07d,{menus:_0x553390=[],_activeTopLevel:_0x4bdf32}=this;return html`
51
+ `;}static get[a0_0x488795(0x1f4)](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}['render'](){const _0x514cda=a0_0x488795,{menus:_0x13cb0f=[],_activeTopLevel:_0x20e874}=this;return html`
52
52
  <slot name="head"></slot>
53
53
  <ul>
54
- ${_0x553390[_0x5979eb(0x1c0)](_0x1e6819=>_0x5979eb(0x1c1)==_0x1e6819[_0x5979eb(0x1cc)]?html``:html`
55
- <li ?active=${_0x1e6819===_0x4bdf32}>
54
+ ${_0x13cb0f[_0x514cda(0x20b)](_0x18bbb6=>_0x514cda(0x1fd)==_0x18bbb6['type']?html``:html`
55
+ <li ?active=${_0x18bbb6===_0x20e874}>
56
56
  <a
57
57
  href="#"
58
- @click=${_0x441581=>{const _0x99f468=_0x5979eb;_0x441581[_0x99f468(0x1bd)](),toggleOverlay(_0x99f468(0x1c8),{'backdrop':!0x0});}}
58
+ @click=${_0x25267c=>{const _0x9de967=_0x514cda;_0x25267c['preventDefault'](),toggleOverlay(_0x9de967(0x205),{'backdrop':!0x0});}}
59
59
  >
60
- ${_0x1e6819[_0x5979eb(0x1da)]}
60
+ ${_0x18bbb6['name']}
61
61
  <mwc-icon>expand_more</mwc-icon>
62
62
  </a>
63
63
  </li>
64
64
  `)}
65
65
  </ul>
66
66
  <slot name="tail"></slot>
67
- `;}['stateChanged'](_0x286040){const _0x26120f=a0_0x5af07d;this[_0x26120f(0x1c3)]=_0x286040[_0x26120f(0x1ce)][_0x26120f(0x1c3)],this[_0x26120f(0x1d1)]=_0x286040[_0x26120f(0x1ce)]['resourceId'],this['menus']=_0x286040['metaUI']['menus']||[],this[_0x26120f(0x1c5)]=_0x286040[_0x26120f(0x1d9)][_0x26120f(0x1c5)];}[a0_0x5af07d(0x1d5)](_0x8eef6f){const _0x1d106f=a0_0x5af07d;(_0x8eef6f[_0x1d106f(0x1d0)](_0x1d106f(0x1d2))||_0x8eef6f['has'](_0x1d106f(0x1c3))||_0x8eef6f[_0x1d106f(0x1d0)](_0x1d106f(0x1d1)))&&this[_0x1d106f(0x1d4)](),_0x8eef6f[_0x1d106f(0x1d0)](_0x1d106f(0x1c5))&&this['replaceChild'](this[_0x1d106f(0x1c5)]);}[a0_0x5af07d(0x1d4)](){const _0x35cd96=a0_0x5af07d;var _0x408dbb=this[_0x35cd96(0x1d1)]?this[_0x35cd96(0x1c3)]+'/'+this[_0x35cd96(0x1d1)]:this['page'],_0x124ea3=this[_0x35cd96(0x1d2)]||[];this[_0x35cd96(0x1c6)]=_0x124ea3['find'](_0x485fe4=>_0x485fe4[_0x35cd96(0x1cb)]?.[_0x35cd96(0x1d8)]('?')[0x0]===_0x408dbb||(_0x485fe4[_0x35cd96(0x1d2)]?!!_0x485fe4[_0x35cd96(0x1d2)]['find'](_0x3f04be=>_0x3f04be['path']?.[_0x35cd96(0x1d8)]('?')[0x0]===_0x408dbb):void 0x0));}}function a0_0x379f(_0x3d7f5e,_0x3b44ce){const _0x142f8c=a0_0x142f();return a0_0x379f=function(_0x379f7e,_0x5f4ea2){_0x379f7e=_0x379f7e-0x1bd;let _0x2c57ae=_0x142f8c[_0x379f7e];return _0x2c57ae;},a0_0x379f(_0x3d7f5e,_0x3b44ce);}customElements['define'](a0_0x5af07d(0x1c4),DynamicTopMenuBar);
67
+ `;}['stateChanged'](_0x53e8aa){const _0x42cdc0=a0_0x488795;this[_0x42cdc0(0x201)]=_0x53e8aa['route']['page'],this[_0x42cdc0(0x204)]=_0x53e8aa[_0x42cdc0(0x1fb)][_0x42cdc0(0x204)],this['menus']=_0x53e8aa[_0x42cdc0(0x1fe)][_0x42cdc0(0x200)]||[],this['slotTemplate']=_0x53e8aa['metaUI'][_0x42cdc0(0x1f8)];}[a0_0x488795(0x1f2)](_0x5ce1f2){const _0x2ca3dc=a0_0x488795;(_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x200))||_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x201))||_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x204)))&&this[_0x2ca3dc(0x1f7)](),_0x5ce1f2['has'](_0x2ca3dc(0x1f8))&&this['replaceChild'](this[_0x2ca3dc(0x1f8)]);}[a0_0x488795(0x1f7)](){const _0x117f03=a0_0x488795;var _0x3c8547=this[_0x117f03(0x204)]?this[_0x117f03(0x201)]+'/'+this[_0x117f03(0x204)]:this['page'],_0x19c030=this[_0x117f03(0x200)]||[];this[_0x117f03(0x1f9)]=_0x19c030[_0x117f03(0x1ef)](_0x259a9c=>_0x259a9c[_0x117f03(0x1fa)]?.[_0x117f03(0x207)]('?')[0x0]===_0x3c8547||(_0x259a9c['menus']?!!_0x259a9c[_0x117f03(0x200)][_0x117f03(0x1ef)](_0x14fc2b=>_0x14fc2b[_0x117f03(0x1fa)]?.[_0x117f03(0x207)]('?')[0x0]===_0x3c8547):void 0x0));}}customElements[a0_0x488795(0x1fc)](a0_0x488795(0x20c),DynamicTopMenuBar);