$W){unset($ng[$z][$be]);if(is_array($W)){$ng[$z][stripslashes($be)]=$W;$ng[]=&$ng[$z][stripslashes($be)];}else$ng[$z][stripslashes($be)]=($Tc?$W:stripslashes($W));}}}}function bracket_escape($v,$Na=false){static$qi=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($v,($Na?array_flip($qi):$qi));}function min_version($Vi,$_e="",$h=null){global$g;if(!$h)$h=$g;$ih=$h->server_info;if($_e&&preg_match('~([\d.]+)-MariaDB~',$ih,$B)){$ih=$B[1];$Vi=$_e;}return(version_compare($ih,$Vi)>=0);}function charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function script($th,$pi="\n"){return"$th$pi";}function script_src($Ji){return"\n";}function nonce(){return' nonce="'.get_nonce().'"';}function target_blank(){return' target="_blank" rel="noreferrer noopener"';}function h($P){return str_replace("\0","�",htmlspecialchars($P,ENT_QUOTES,'utf-8'));}function nl_br($P){return str_replace("\n","
",$P);}function checkbox($C,$Y,$eb,$ie="",$pf="",$jb="",$je=""){$I="".($pf?script("qsl('input').onclick = function () { $pf };",""):"");return($ie!=""||$jb?"$I".h($ie)."":$I);}function optionlist($vf,$ch=null,$Ni=false){$I="";foreach($vf as$be=>$W){$wf=array($be=>$W);if(is_array($W)){$I.='';$wf=$W;}foreach($wf as$z=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function html_select($C,$vf,$Y="",$of=true,$je=""){if($of)return"".(is_string($of)?script("qsl('select').onchange = function () { $of };",""):"");$I="";foreach($vf as$z=>$X)$I.="";return$I;}function select_input($Ja,$vf,$Y="",$of="",$Zf=""){$Uh=($vf?"select":"input");return"<$Uh$Ja".($vf?">