cd ~/etic
P="/usr/local/php8.3/bin/php $HOME/wp-cli.phar"
O=~/_scratch/etic/typo-$1; rm -rf $O; mkdir -p $O/html
for id in 26 917 1251 1780 1902 1914 1923 1932 1611 1248 861 890 2028 1740 1775 1854 1899; do
  $P eval "echo \Elementor\Plugin::\$instance->frontend->get_builder_content_for_display($id);" 2>/dev/null > $O/html/$id.html
done
cd wp-content
tar cf $O/css.tar $(ls plugins/elementor/assets/css/*.min.css plugins/elementor-pro/assets/css/*.min.css | grep -v rtl) uploads/elementor/css themes/Etic/style.css uploads/elementor/google-fonts plugins/elementor/assets/lib/font-awesome/css 2>/dev/null
ls $O/html | wc -l
