'use strict';
var __defProp=Object['defineProperty'],__name=(_0x3860ce,_0x242b21)=>__defProp(_0x3860ce,'name',{'value':_0x242b21,'configurable':!![]});function sortProperties(_0x3ad4a2,_0x319894){const _0x46627a=Object['entries'](_0x3ad4a2),_0x78e444=_0x46627a['toSorted'](([,_0x9f009f],[,_0x5389a6])=>comparePriority(_0x9f009f,_0x5389a6,_0x319894));return Object['fromEntries'](_0x78e444);}__name(sortProperties,'sortProperties');function comparePriority(_0x38cee7,_0x4e618c,_0x146516){const _0x24f0d2=_0x38cee7['ui']?.['priority']??Infinity,_0x14e339=_0x4e618c['ui']?.['priority']??Infinity;let _0x3bc091=-0xfcb+-0xbe*0x17+-0x1*-0x20dd;if(_0x24f0d2!==_0x14e339){const _0x1779de=_0x24f0d2-_0x14e339;_0x3bc091=_0x146516?-_0x1779de:_0x1779de;}else {const _0x3447f7=_0x38cee7['displayName']['toLowerCase'](),_0x48ab55=_0x4e618c['displayName']['toLowerCase']();_0x3447f7!==_0x48ab55&&(_0x3bc091=_0x146516?-(-0x542+0x1d5a+-0x1817):-0x23f5+-0x247a+-0x487*-0x10);}return _0x3bc091;}__name(comparePriority,'comparePriority');

export { comparePriority, sortProperties };
