export function isBooleanParameter(_0x322d50){const _0x23622a=String(_0x322d50?.['type']||'')['toLowerCase']();return _0x23622a==='boolean';}const TRUE_BOOLEAN_STRINGS=['true','1','yes','on','checked'],FALSE_BOOLEAN_STRINGS=['false','0','no','off','unchecked'];function parseBooleanLike(_0x3255b4,_0x5d468a){if(typeof _0x3255b4==='boolean')return _0x3255b4;const _0x237d3e=String(_0x3255b4)['trim']()['toLowerCase']();if(TRUE_BOOLEAN_STRINGS['includes'](_0x237d3e))return!![];if(FALSE_BOOLEAN_STRINGS['includes'](_0x237d3e))return![];return _0x5d468a;}export function normalizeBooleanParameterValue(_0x5a33ca,_0x3afafc=![]){if(_0x5a33ca===undefined||_0x5a33ca===null||_0x5a33ca==='')return parseBooleanLike(_0x3afafc,Boolean(_0x3afafc));return parseBooleanLike(_0x5a33ca,Boolean(_0x5a33ca));}export function getBooleanParameterValue(_0x2e147c,_0x50cc45){return normalizeBooleanParameterValue(_0x50cc45,_0x2e147c?.['default']??![]);}export function hasTemplateParameterValue(_0x3000ce,_0x1eb0d3){if(isBooleanParameter(_0x3000ce))return!![];return String(_0x1eb0d3??'')['trim']()!=='';}