<commit_before><?php

use Movim\Widget\Base;

class Manifest extends Base
{
    public function display()
    {
        $infos = [
            'name'          => APP_TITLE,
            'short_name'    => APP_TITLE,
            'description'   => __('global.description'),
            'icons'         => [
                [
                    'src' => BASE_URI . 'theme/img/app/48.png',
                    'sizes' => '48x48',
                    'type' => 'image/png'
                ],
                [
                    'src' => BASE_URI . 'theme/img/app/96.png',
                    'sizes' => '96x96',
                    'type' => 'image/png'
                ],
                [
                    'src' => BASE_URI . 'theme/img/app/128.png',
                    'sizes' => '128x128',
                    'type' => 'image/png'
                ],
                [
                    'src' => BASE_URI . 'theme/img/app/512.png',
                    'sizes' => '512x512',
                    'type' => 'image/png'
                ],
            ],
            'display'=> 'standalone',
            'orientation' => 'portrait-primary',
            'background-color' => '#1C1D5',
            'theme-color' => '#1C1D5'
        ];

        $this->view->assign('json', json_encode($infos));
    }
}<commit_msg>Update the app manifest<commit_after><?php

use Movim\Widget\Base;

class Manifest extends Base
{
    public function display()
    {
        $infos = [
            'name'          => APP_TITLE,
            'short_name'    => APP_TITLE,
            'description'   => __('global.description'),
            'scope'         => BASE_URI,
            'icons'         => [
                [
                    'src' => BASE_URI . 'theme/img/app/vectorial_square.svg',
                    'sizes' => '512x512',
                    'type' => 'image/svg+xml',
                    'purpose' => 'maskable'
                ],
                [
                    'src' => BASE_URI . 'theme/img/app/vectorial.png',
                    'sizes' => '512x512',
                    'type' => 'image/png',
                    'purpose' => 'maskable'
                ],
                [
                    'src' => BASE_URI . 'theme/img/app/512.png',
                    'sizes' => '512x512',
                    'type' => 'image/png',
                    'purpose' => 'any'
                ]
            ],
            'shortcuts'     => [
                [
                    'name'  => $this->__('page.chats'),
                    'url'   => $this->route('chat')
                ],
                [
                    'name'  => $this->__('page.publish'),
                    'url'   => $this->route('publish')
                ],
                [
                    'name'  => $this->__('page.news'),
                    'url'   => $this->route('news')
                ]
            ],
            'display'       => 'standalone',
            'orientation'   => 'portrait-primary',
            'background-color' => '#3F51B5',
            'theme-color'   => '#10151A'
        ];

        $this->view->assign('json', json_encode($infos));
    }
}
{'fraction_non_alphanumeric': 0.15852885225110971, 'fraction_numerical': 0.02092580849714648, 'mean_word_length': 0.9547707558859975, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2865956', 'n_tokens_mistral': 975, 'n_tokens_neox': 876, 'n_words': 129}