<commit_before><?php defined('BX_DOL') or defined('BX_DOL_INSTALL') or die('hack attempt');
/**
 * Copyright (c) UNA, Inc - https://una.io
 * MIT License - https://opensource.org/licenses/MIT
 *
 * @defgroup    UnaBaseView UNA Base Representation Classes
 * @{
 */

class BxBaseConfig extends BxDol implements iBxDolSingleton
{
    protected $_aConfig = array (
        'bAllowUnicodeInPreg' => true, ///< allow unicode in regular expressions
        'aLessConfig' => array (
            'bx-root-class-name' => '',
            
            'bx-page-width' => '1000px',

            'bx-margin' => '16px',
            'bx-margin-sec' => '8px',
            'bx-margin-thd' => '4px',

            'bx-padding' => '16px',
            'bx-padding-sec' => '8px',
            'bx-padding-thd' => '4px',

            'bx-font-family' => 'Helvetica, Arial, sans-serif',

            'bx-size-avatar-big' => '192px',
            'bx-size-avatar' => '96px',
            'bx-size-thumb' => '48px',
            'bx-size-icon' => '32px',

            'bx-size-gallery-img-width' => '300px',
            'bx-size-gallery-img-height' => '200px',

            'bx-color-page' => '#fff',
            'bx-color-block' => '#fff',
            'bx-color-box' => 'rgba(242, 242, 242, 1.0)',
            'bx-color-box-hover' => 'rgba(242, 242, 242, 0.8)',
            'bx-color-label' => '#e8e8e8',
            'bx-color-label-menu' => '#999999',
            'bx-color-sec' => '#f2f2f2',
            'bx-color-hl' => 'rgba(196, 248, 156, 0.2)',
            'bx-color-active' => 'rgba(196, 248, 156, 0.4)',
            'bx-color-disabled' => 'rgba(221, 221, 221, 1.0)',

            'bx-border-width' => '1px',
            'bx-border-type' => 'solid',
            'bx-border-color' => '#d0d0d0',
            'bx-border-color-hr' => 'rgba(232, 232, 232, 0.8)',

            'bx-font-size-default' => '16px',
            'bx-font-size-small' => '12px',
            'bx-font-size-middle' => '14px',
            'bx-font-size-large' => '20px',
            'bx-font-size-h1' => '32px',
            'bx-font-size-h2' => '28px',
            'bx-font-size-h3' => '24px',

            'bx-font-color-default' => '#333',
            'bx-font-color-grayed' => '#999',
            'bx-font-color-contrasted' => '#fff',

            'bx-round-corners-radius' => '3px',
            'bx-round-corners-radius-label' => '4px',
            'bx-round-corners-radius-label-menu' => '12px',
        ),
    );

    function __construct()
    {
        parent::__construct();
        $this->_aConfig['aLessConfig']['bx-root-class-name'] =  BxDolTemplate::getInstance()->getCssClassName();
    }

    public static function getInstance()
    {
        if(!isset($GLOBALS['bxDolClasses'][__CLASS__]))
            $GLOBALS['bxDolClasses'][__CLASS__] = new BxTemplConfig();

        return $GLOBALS['bxDolClasses'][__CLASS__];
    }

    public function __get($sName)
    {
        if (array_key_exists($sName, $this->_aConfig))<commit_msg>#3661 - Move tailwind in core templates<commit_after><?php defined('BX_DOL') or defined('BX_DOL_INSTALL') or die('hack attempt');
/**
 * Copyright (c) UNA, Inc - https://una.io
 * MIT License - https://opensource.org/licenses/MIT
 *
 * @defgroup    UnaBaseView UNA Base Representation Classes
 * @{
 */

class BxBaseConfig extends BxDol implements iBxDolSingleton
{
    protected $_aConfig = array (
        'bAllowUnicodeInPreg' => true, ///< allow unicode in regular expressions
        'aLessConfig' => array (
            'bx-root-class-name' => '',
            
            'bx-page-width' => '1000px',

            'bx-margin' => '16px',
            'bx-margin-sec' => '8px',
            'bx-margin-thd' => '4px',

            'bx-padding' => '16px',
            'bx-padding-sec' => '8px',
            'bx-padding-thd' => '4px',

            'bx-font-family' => 'Helvetica, Arial, sans-serif',

            'bx-size-avatar-big' => '192px',
            'bx-size-avatar' => '96px',
            'bx-size-thumb' => '48px',
            'bx-size-icon' => '32px',

            'bx-size-gallery-img-width' => '300px',
            'bx-size-gallery-img-height' => '200px',

            'bx-color-page' => '#fff',
            'bx-color-block' => '#fff',
            'bx-color-box' => 'rgba(242, 242, 242, 1.0)',
            'bx-color-box-hover' => 'rgba(242, 242, 242, 0.8)',
            'bx-color-label' => '#e8e8e8',
            'bx-color-label-menu' => '#999999',
            'bx-color-sec' => '#f2f2f2',
            'bx-color-hl' => 'rgba(196, 248, 156, 0.2)',
            'bx-color-active' => 'rgba(196, 248, 156, 0.4)',
            'bx-color-disabled' => 'rgba(221, 221, 221, 1.0)',

            'bx-border-width' => '1px',
            'bx-border-type' => 'solid',
            'bx-border-color' => '#d0d0d0',
            'bx-border-color-hr' => 'rgba(232, 232, 232, 0.8)',

            'bx-font-size-default' => '16px',
            'bx-font-size-small' => '12px',
            'bx-font-size-middle' => '14px',
            'bx-font-size-large' => '20px',
            'bx-font-size-h1' => '32px',
            'bx-font-size-h2' => '28px',
            'bx-font-size-h3' => '24px',

            'bx-font-color-default' => '#333',
            'bx-font-color-grayed' => '#999',
            'bx-font-color-contrasted' => '#fff',

            'bx-round-corners-radius' => '3px',
            'bx-round-corners-radius-label' => '4px',
            'bx-round-corners-radius-label-menu' => '12px',
        ),
    );

    function __construct()
    {
        parent::__construct();
        
        if (class_exists('BxDolTemplate'))
            $this->_aConfig['aLessConfig']['bx-root-class-name'] =  BxDolTemplate::getInstance()->getCssClassName();
    }

    public static function getInstance()
    {
        if(!isset($GLOBALS['bxDolClasses'][__CLASS__]))
            $GLOBALS['bxDolClasses'][__CLASS__] = new BxTemplConfig();

        return $GLOBALS['bxDolClasses'][__CLASS__];
    }

    public function __get($sName)
    {
        if (array_key_exists($sName, $this->_aConfig))
{'fraction_non_alphanumeric': 0.19867986798679868, 'fraction_numerical': 0.04554455445544554, 'mean_word_length': 1.9153439153439153, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 97, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3848020', 'n_tokens_mistral': 2387, 'n_tokens_neox': 2096, 'n_words': 332}