content, $Automad); $style = ''; $classes = array(); if (!empty($data->justify)) { $classes[] = "am-justify-{$data->justify}"; } if (!empty($data->gap)) { $style .= " --am-flex-gap: {$data->gap};"; } if (!empty($data->minBlockWidth)) { $style .= " --am-flex-min-block-width: {$data->minBlockWidth};"; } if (!empty($data->style)) { if (!empty($data->style->card)) { $classes[] = 'am-card'; } if (!empty($data->style->class)) { $classes = array_merge($classes, explode(' ', $data->style->class)); } if (!empty($data->style->backgroundImage)) { $style .= " background-image: url('{$data->style->backgroundImage}');"; } if (!empty($data->style->overflowHidden)) { $style .= ' overflow: hidden;'; } if (!empty($data->style->matchRowHeight)) { $style .= ' height: 100%;'; } if (!empty($data->style->shadow)) { $style .= ' box-shadow: var(--am-section-shadow);'; } foreach (array( 'backgroundColor', 'backgroundBlendMode', 'borderWidth', 'borderRadius', 'paddingTop', 'paddingBottom' ) as $item) { $property = strtolower(preg_replace('/([A-Z])/', '-$1', $item)); if (!empty($data->style->$item)) { $style .= " $property: {$data->style->$item};"; } } foreach (array( 'color', 'borderColor' ) as $item) { $property = strtolower(preg_replace('/([A-Z])/', '-$1', $item)); if (!empty($data->style->$item)) { $style .= " --am-section-$property: {$data->style->$item};"; } } } if ($style) { $style = 'style="' . trim($style) . '"'; } $class = self::classAttr($classes); return " \n\t\t$html\n\t"; } } __halt_compiler();----SIGNATURE:----IWB4N4mFNPEm3xLc+6myv1WQYyLKb9GekmzeVjHGJo742GTzCZpjdAEoRHN3qyu8O+p7rBkjlXEbS/bKhyqjJi+AiHHuG+hPKYe6euEdzRhYGIOpX/f1nyHhU9nfnpe1peHG5iOBpdmf0lJinGplhdZfXo612jqfr1+pfgAphfkn7+MfwHy/uHIUvxvrkOg692p+cHRxv1UvHqwMVyqiKnrBVr2PV7WnpUlGQWmh4VGnxxkN5NuAATclz/X9CQtcSwpoXFq7F5cQumK9pImdUPpzVE+Uf6ZpMONRqjaX7vjFquXArcFXW0l+nnE5d8pKYZvWBvIQqSeGTOwbbyARThuzGnoHCy+AsS61cfBa+S/Ca+1IOHAciib023OhFAqsHnf5+VbinneubY/yUbutktHp7hlwHorrLx3CapO3W/MGEH/ePU7muMIjVf8A8Y/WAPzxuiMmvp3moyI96HN4cAu2/gstI4k4hRs5SIgtE6tZV1qfGNeNXsfPE17D7GueUuzrjYArAEcNwojao4/jKvpbXx1+gcrDb2OoO9EsPX/9g+9X8bT06U3bdaGrZwp5/zsGac3mqkGydeNj7grZNZxYUqMeS6bL5DHwXoMjn9Cmm7KD1i7qdG07VjrXixhi4fYZw/NlyhFJo5GlkD+5a2gVUEFbodHP+Sv6KXBT8YU=----ATTACHMENT:----MTEwMjYyMjA2MzUyODg5NSA1NzY0MzMyMjE1MDIwNTk4IDMwNzc3MTQ3NjYzODQ3NTk=