const TASK_GROUP_SELECTION_PREFIX='task-group-';export function buildTaskGroupSelectionKey({groupId:groupId=null,taskIds:taskIds=[]}={}){if(groupId)return''+TASK_GROUP_SELECTION_PREFIX+groupId;const _0x593e68=Array['isArray'](taskIds)?taskIds['map'](_0x420eda=>String(_0x420eda||'')['trim']())['filter'](Boolean):[];if(_0x593e68['length']===0x0)return null;return''+TASK_GROUP_SELECTION_PREFIX+[..._0x593e68]['sort']()['join'](',');}export function isTaskGroupSelectionKey(_0xa2ac47){return typeof _0xa2ac47==='string'&&_0xa2ac47['startsWith'](TASK_GROUP_SELECTION_PREFIX);}export function getSelectedTaskGroupVariantId({groupId:groupId=null,taskIds:taskIds=[]}={}){const _0x3f0670=Array['isArray'](taskIds)?taskIds['map'](_0x5a511f=>String(_0x5a511f||'')['trim']())['filter'](Boolean):[],_0x15fd2e=buildTaskGroupSelectionKey({'groupId':groupId,'taskIds':_0x3f0670});if(!_0x15fd2e||_0x3f0670['length']===0x0)return null;try{const _0x10a694=localStorage['getItem'](_0x15fd2e);return _0x10a694&&_0x3f0670['includes'](_0x10a694)?_0x10a694:null;}catch{return null;}}export function saveSelectedTaskGroupVariantId({groupId:groupId=null,taskIds:taskIds=[],taskId:taskId=null}={}){if(!taskId)return![];const _0x3c25c8=buildTaskGroupSelectionKey({'groupId':groupId,'taskIds':taskIds});if(!_0x3c25c8)return![];try{return localStorage['setItem'](_0x3c25c8,taskId),!![];}catch{return![];}}