export function isBooleanParameter(_0x4ff7ea){const _0x391daa=String(_0x4ff7ea?.['type']||'')['toLowerCase']();return _0x391daa==='boolean';}const TRUE_BOOLEAN_STRINGS=['true','1','yes','on','checked'],FALSE_BOOLEAN_STRINGS=['false','0','no','off','unchecked'];function parseBooleanLike(_0x44c9a5,_0x52d4c9){if(typeof _0x44c9a5==='boolean')return _0x44c9a5;const _0xa43cfe=String(_0x44c9a5)['trim']()['toLowerCase']();if(TRUE_BOOLEAN_STRINGS['includes'](_0xa43cfe))return!![];if(FALSE_BOOLEAN_STRINGS['includes'](_0xa43cfe))return![];return _0x52d4c9;}export function normalizeBooleanParameterValue(_0x362955,_0x5a297b=![]){if(_0x362955===undefined||_0x362955===null||_0x362955==='')return parseBooleanLike(_0x5a297b,Boolean(_0x5a297b));return parseBooleanLike(_0x362955,Boolean(_0x362955));}export function getBooleanParameterValue(_0x32d282,_0x565acb){return normalizeBooleanParameterValue(_0x565acb,_0x32d282?.['default']??![]);}export function hasTemplateParameterValue(_0x5e3649,_0x2c28ec){if(isBooleanParameter(_0x5e3649))return!![];return String(_0x2c28ec??'')['trim']()!=='';}