<?php

if (!defined('VCV_E2E')) {
    header('Status: 403 Forbidden');
    header('HTTP/1.1 403 Forbidden');
    exit;
}

if (isset($_GET['php-e2e-action'])
    && $_GET['php-e2e-action'] === 'test-themeEditor-in-everywhere-source-css-location') {
    // We are on PRE wordpress init stage.
    // Tests related to VC-1210 -> source css and global template location
    // File required to quickly pre-create vcv_templates and vcv_header and set it to post
    define('WP_USE_THEMES', true);
    add_action('init', [TestThemeEditorSourceEverywhereCssLocation::class, 'createInstance']);

    class TestThemeEditorSourceEverywhereCssLocation
    {
        /**
         * @var int|\WP_Error
         */
        protected $postId;

        /**
         * @var int|\WP_Error
         */
        protected $templateId = [];

        /**
         * @var int|\WP_Error
         */
        protected $headerId;

        protected $footerId;

        protected $uniqueId = [];

        public function __construct()
        {
            $this->uniqueId['header'] = time() . '-' . mt_rand(1000, 1000 ** 2);
            $this->uniqueId['content'] = time() . '-' . mt_rand(1000, 1000 ** 2);
            $this->uniqueId['footer'] = time() . '-' . mt_rand(1000, 1000 ** 2);
            $this->createTemplate('header');
            $this->createTemplate('content');
            $this->createTemplate('footer');
            $this->createHeader();
            $this->createFooter();
            $this->createPost();

            add_action('wp_loaded', [$this, 'setupPage']);
        }

        public static function createInstance()
        {
            return new self();
        }

        public function createTemplate($type)
        {
            // Set up the WordPress query.
            $this->templateId[ $type ] = e2e_create_post(
                [
                    'post_title' => 'test-themeEditor-source-css-location-template',
                    'post_content' => '<!--vcv no format--><div class="vce-row-container"><div class="vce-row vce-element--has-background vce-row--col-gap-30 vce-row-columns--top vce-row-content--top" id="el-744d2c9f" data-vce-do-apply="all el-744d2c9f"><div class="vce-content-background-container"></div><div class="vce-row-content" data-vce-element-content="true"><div class="vce-col vce-col--md-auto vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first vce-col--md-first vce-col--lg-first vce-col--xl-first" id="el-bc283040"><div class="vce-col-inner" data-vce-do-apply="border margin background  el-bc283040"><div class="vce-col-content" data-vce-element-content="true" data-vce-do-apply="padding el-bc283040"><div class="vce-basic-testimonial vce" id="el-8b0c8234" data-vce-do-apply="all el-8b0c8234"><div><div class="vce-basic-testimonial-content vce-basic-testimonial-content-background--color-F9F9F9--F9F9F9 vce-basic-testimonial-content-background-hover--color-undefined"><blockquote><p style="text-align:center;color:#565656;">“Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to feed back into itself.”</p></blockquote></div><div class="vce-basic-testimonial-profile-wrapper"><div class="vce-basic-testimonial-image vce-basic-testimonial-image-shape--filled-circle" style="background-image: url(\'http://127.0.0.1:8000/wp-content/plugins/visualcomposer/devElements/basicTestimonial/basicTestimonial/public/placeholder-image.png\');"></div><div class="vce-basic-testimonial-title"><span class="vce-basic-testimonial-author vce-basic-testimonial-author--color-303030">Angie McQueen</span><span class="vce-basic-testimonial-author-title vce-basic-testimonial-author-title--color-636363">Frankwood</span></div></div></div></div></div></div></div><div class="vce-col vce-col--md-auto vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first" id="el-38fe1608"><div class="vce-col-inner" data-vce-do-apply="border margin background  el-38fe1608"><div class="vce-col-content" data-vce-element-content="true" data-vce-do-apply="padding el-38fe1608"><div class="vce-button--style-3d-container vce-button--style-3d-container--align-left"><div class="vce-button--style-3d-wrapper vce" id="el-d6fce343" data-vce-do-apply="margin el-d6fce343"><button class="vce-button--style-3d vce-button--style-3d--border-round vce-button--style-3d--push-animation vce-button--style-3d--color-fff vce-button--style-3d--background-color-fa8740 vce-button--style-3d--hover-default" data-vce-do-apply="padding border background  el-d6fce343"><span class="vce-button--style-3d-inner">Apply Now</span></button></div></div></div></div></div><div class="vce-col vce-col--md-auto vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first vce-col--md-last vce-col--lg-last vce-col--xl-last" id="el-7bc2284b"><div class="vce-col-inner" data-vce-do-apply="border margin background  el-7bc2284b"><div class="vce-col-content" data-vce-element-content="true" data-vce-do-apply="padding el-7bc2284b"><div class="vce-button--style-animated-three-color-container vce-button--style-animated-three-color-container--align-left"><div class="vce-button--style-animated-three-color-wrapper vce" id="el-0518460d" data-vce-do-apply="margin el-0518460d"><button class="vce-button--style-animated-three-color vce-button--style-animated-three-color--color-fff vce-button--style-animated-three-color--background-top-E9DC4D vce-button--style-animated-three-color--background-middle-F15F64 vce-button--style-animated-three-color--background-bottom-5168A5" data-vce-do-apply="padding border background  el-0518460d">Apply Now<span class="vce-button--style-animated-three-color-inner"></span></button></div></div></div></div></div></div></div></div><div class="vce-row-container"><div class="vce-row vce-row--col-gap-30 may6-global-css-'
                        . $type . ' vce-row-columns--top vce-row-content--top" id="el-faead64f" data-vce-do-apply="all el-faead64f"><div class="vce-row-content" data-vce-element-content="true"><div class="vce-col" id="el-2e4ce547"><div class="vce-col-inner" data-vce-do-apply="border margin background  el-2e4ce547"><div class="vce-col-content" data-vce-element-content="true" data-vce-do-apply="padding el-2e4ce547"><div class="vce-text-block"><div class="vce-text-block-wrapper vce" id="el-6ea27a12" data-vce-do-apply="all el-6ea27a12"><h2>Typography is the art and technique</h2>
<p>' . $type
                        . ' is the art and technique of arranging type to make written language legible, readable and appealing when displayed. The arrangement of type involves selecting typefaces, point size, line length, line-spacing (leading), letter-spacing (tracking), and adjusting the space within letters pairs (kerning).</p></div></div></div></div></div></div></div></div><!--vcv no format-->',
                    'post_status' => 'publish',
                    'post_type' => 'vcv_templates',
                    'meta_input' => [
                        'vcv-pageContent' => '%7B%22elements%22%3A%7B%22bc283040%22%3A%7B%22size%22%3A%7B%22all%22%3A%22auto%22%2C%22defaultSize%22%3A%22auto%22%7D%2C%22designOptionsAdvanced%22%3A%7B%7D%2C%22disableStacking%22%3Afalse%2C%22firstInRow%22%3A%7B%22all%22%3Atrue%7D%2C%22customClass%22%3A%22%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3A%22744d2c9f%22%2C%22hidden%22%3Afalse%2C%22boxShadow%22%3A%7B%7D%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2Felements%2Fcolumn%2Fcolumn%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22parallax%22%3A%7B%7D%2C%22metaIsElementLocked%22%3Afalse%2C%22dividers%22%3A%7B%7D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22column%22%2C%22id%22%3A%22bc283040%22%2C%22lastInRow%22%3A%7B%22all%22%3Afalse%7D%7D%2C%220518460d%22%3A%7B%22designOptions%22%3A%7B%7D%2C%22backgroundMiddle%22%3A%22%23F15F64%22%2C%22alignment%22%3A%22left%22%2C%22customClass%22%3A%22%22%2C%22backgroundTop%22%3A%22%23E9DC4D%22%2C%22parent%22%3A%227bc2284b%22%2C%22hidden%22%3Afalse%2C%22titleColor%22%3A%22%23fff%22%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2FdevElements%2F3ColorButton%2F3ColorButton%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22metaIsElementLocked%22%3Afalse%2C%22backgroundBottom%22%3A%22%235168A5%22%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%223ColorButton%22%2C%22animationDirection%22%3A%22left%22%2C%22id%22%3A%220518460d%22%2C%22buttonUrl%22%3A%7B%22url%22%3A%22%22%2C%22title%22%3A%22%22%2C%22targetBlank%22%3Afalse%2C%22relNofollow%22%3Afalse%7D%2C%22buttonText%22%3A%22Apply%20Now%22%7D%2C%22744d2c9f%22%3A%7B%22columnGap%22%3A%2230%22%2C%22size%22%3A%22auto%22%2C%22contentPosition%22%3A%22top%22%2C%22designOptionsAdvanced%22%3A%7B%22device%22%3A%7B%22all%22%3A%7B%22gradientAngle%22%3A45%2C%22dividerFlipHorizontal%22%3A%22horizontally-left%22%2C%22dividerFlipVertical%22%3A%22vertically-down%22%2C%22dividerPosition%22%3A%22top%22%2C%22dividerBackgroundType%22%3A%22color%22%2C%22dividerShape%22%3A%7B%22icon%22%3A%22vcv-ui-icon-dividers%20vcv-ui-icon-dividers-zigzag%22%2C%22iconSet%22%3A%22all%22%7D%2C%22dividerShapeNew%22%3A%7B%22icon%22%3A%22vcv-ui-icon-divider%20vcv-ui-icon-divider-zigzag%22%2C%22iconSet%22%3A%22all%22%7D%2C%22gradientStartColor%22%3A%22rgba(226%2C%20135%2C%20135%2C%200.5)%22%2C%22gradientEndColor%22%3A%22rgba(93%2C%2055%2C%20216%2C%200.5)%22%2C%22dividerBackgroundColor%22%3A%22%236567df%22%2C%22dividerBackgroundGradientStartColor%22%3A%22rgb(226%2C%20135%2C%20135)%22%2C%22dividerBackgroundGradientEndColor%22%3A%22rgb(93%2C%2055%2C%20216)%22%2C%22dividerBackgroundGradientAngle%22%3A0%2C%22backgroundColor%22%3A%22rgb(245%2C%2015%2C%2015)%22%7D%7D%2C%22attributeMixins%22%3A%7B%22backgroundColorMixin%3Aall%22%3A%7B%22src%22%3A%22%40if%20%24backgroundColor%20!%3D%20false%20%7B%5Cn%20%20%23%24selector%5Bdata-vce-do-apply*%3D%5C%22all%5C%22%5D%2C%5Cn%20%20%23%24selector%20%5Bdata-vce-do-apply*%3D%5C%22all%5C%22%5D%2C%5Cn%20%20%23%24selector%5Bdata-vce-do-apply*%3D%5C%22background%5C%22%5D%2C%5Cn%20%20%23%24selector%20%5Bdata-vce-do-apply*%3D%5C%22background%5C%22%5D%20%7B%5Cn%20%20%20%20%26%5Bdata-vce-do-apply*%3D%5C%22%24selector%5C%22%5D%20%7B%5Cn%20%20%20%20%20%20%40media%20(--%24(device)-only)%20%7B%5Cn%20%20%20%20%20%20%20%20background-color%3A%20%24backgroundColor%3B%5Cn%20%20%20%20%20%20%7D%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%22%2C%22variables%22%3A%7B%22device%22%3A%7B%22value%22%3A%22all%22%7D%2C%22backgroundColor%22%3A%7B%22value%22%3A%22rgb(245%2C%2015%2C%2015)%22%7D%7D%7D%7D%7D%2C%22columnBackground%22%3A%22%22%2C%22customClass%22%3A%22%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3Afalse%2C%22hidden%22%3Afalse%2C%22layout%22%3A%7B%7D%2C%22boxShadow%22%3A%7B%22device%22%3A%7B%22all%22%3A%7B%22boxShadowEnable%22%3Afalse%2C%22horizontalOffset%22%3A%220%22%2C%22verticalOffset%22%3A%220%22%2C%22blurRadius%22%3A%224%22%2C%22spreadRadius%22%3A%222%22%2C%22shadowColor%22%3A%22rgba(85%2C%2085%2C%2085%2C%200.5)%22%2C%22hoverBoxShadowEnable%22%3Afalse%2C%22hoverHorizontalOffset%22%3A%220%22%2C%22hoverVerticalOffset%22%3A%220%22%2C%22hoverBlurRadius%22%3A%224%22%2C%22hoverSpreadRadius%22%3A%222%22%2C%22hoverShadowColor%22%3A%22rgba(85%2C%2085%2C%2085%2C%200.8)%22%2C%22boxShadow%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.5)%22%2C%22hoverBoxShadow%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.8)%22%7D%7D%2C%22attributeMixins%22%3A%7B%22boxShadowMixin%3Aall%22%3A%7B%22src%22%3A%22%23%24selector%5Bvce-box-shadow%3D%5C%22%24selector%5C%22%5D%2C%5Cn%23%24selector%20%5Bvce-box-shadow%3D%5C%22%24selector%5C%22%5D%20%7B%5Cn%20%20box-shadow%3A%20%24boxShadow%3B%5Cn%7D%22%2C%22variables%22%3A%7B%22device%22%3A%7B%22value%22%3A%22all%22%7D%2C%22boxShadow%22%3A%7B%22value%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.5)%22%7D%7D%7D%2C%22hoverBoxShadowMixin%3Aall%22%3A%7B%22src%22%3A%22%23%24selector%5Bvce-hover-box-shadow%3D%5C%22%24selector%5C%22%5D%2C%5Cn%23%24selector%20%5Bvce-hover-box-shadow%3D%5C%22%24selector%5C%22%5D%20%7B%5Cn%20%20%26%3Ahover%2C%5Cn%20%20%26%3Afocus%20%7B%5Cn%20%20%20%20box-shadow%3A%20%24hoverBoxShadow%3B%5Cn%20%20%7D%5Cn%7D%5Cn%22%2C%22variables%22%3A%7B%22device%22%3A%7B%22value%22%3A%22all%22%7D%2C%22hoverBoxShadow%22%3A%7B%22value%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.8)%22%7D%7D%7D%7D%7D%2C%22rowWidth%22%3A%22boxed%22%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2Felements%2Frow%2Frow%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22removeSpaces%22%3Afalse%2C%22fullHeight%22%3Afalse%2C%22parallax%22%3A%7B%7D%2C%22metaIsElementLocked%22%3Afalse%2C%22dividers%22%3A%7B%7D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22row%22%2C%22id%22%3A%22744d2c9f%22%2C%22equalHeight%22%3Afalse%2C%22columnPosition%22%3A%22top%22%7D%2C%226ea27a12%22%3A%7B%22darkTextSkin%22%3Afalse%2C%22designOptions%22%3A%7B%7D%2C%22output%22%3A%22%3Ch2%3ETypography%20is%20the%20art%20and%20technique%3C%2Fh2%3E%5Cn%3Cp%3ETypography%20is%20the%20art%20and%20technique%20of%20arranging%20type%20to%20make%20written%20language%20legible%2C%20readable%20and%20appealing%20when%20displayed.%20The%20arrangement%20of%20type%20involves%20selecting%20typefaces%2C%20point%20size%2C%20line%20length%2C%20line-spacing%20(leading)%2C%20letter-spacing%20(tracking)%2C%20and%20adjusting%20the%20space%20within%20letters%20pairs%20(kerning).%3C%2Fp%3E%22%2C%22customClass%22%3A%22%22%2C%22parent%22%3A%222e4ce547%22%2C%22hidden%22%3Afalse%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2Felements%2FtextBlock%2FtextBlock%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22metaIsElementLocked%22%3Afalse%2C%22assetsLibrary%22%3A%5B%22animate%22%5D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22textBlock%22%2C%22id%22%3A%226ea27a12%22%7D%2C%227bc2284b%22%3A%7B%22size%22%3A%7B%22all%22%3A%22auto%22%2C%22defaultSize%22%3A%22auto%22%7D%2C%22designOptionsAdvanced%22%3A%7B%7D%2C%22disableStacking%22%3Afalse%2C%22firstInRow%22%3A%7B%22all%22%3Afalse%7D%2C%22customClass%22%3A%22%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3A%22744d2c9f%22%2C%22order%22%3A2%2C%22metaCustomId%22%3A%22%22%2C%22dividers%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22column%22%2C%22id%22%3A%227bc2284b%22%2C%22lastInRow%22%3A%7B%22all%22%3Atrue%7D%7D%2C%2238fe1608%22%3A%7B%22size%22%3A%7B%22all%22%3A%22auto%22%2C%22defaultSize%22%3A%22auto%22%7D%2C%22designOptionsAdvanced%22%3A%7B%7D%2C%22disableStacking%22%3Afalse%2C%22firstInRow%22%3A%7B%22all%22%3Afalse%7D%2C%22customClass%22%3A%22%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3A%22744d2c9f%22%2C%22order%22%3A1%2C%22metaCustomId%22%3A%22%22%2C%22dividers%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22column%22%2C%22id%22%3A%2238fe1608%22%2C%22lastInRow%22%3A%7B%22all%22%3Afalse%7D%7D%2C%222e4ce547%22%3A%7B%22size%22%3A%7B%7D%2C%22designOptionsAdvanced%22%3A%7B%7D%2C%22disableStacking%22%3Afalse%2C%22firstInRow%22%3A%7B%7D%2C%22customClass%22%3A%22%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3A%22faead64f%22%2C%22hidden%22%3Afalse%2C%22boxShadow%22%3A%7B%7D%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2Felements%2Fcolumn%2Fcolumn%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22parallax%22%3A%7B%7D%2C%22metaIsElementLocked%22%3Afalse%2C%22dividers%22%3A%7B%7D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22column%22%2C%22id%22%3A%222e4ce547%22%2C%22lastInRow%22%3A%7B%7D%7D%2C%228b0c8234%22%3A%7B%22darkTextSkin%22%3Afalse%2C%22designOptions%22%3A%7B%7D%2C%22shape%22%3A%22filled-circle%22%2C%22customClass%22%3A%22%22%2C%22parent%22%3A%22bc283040%22%2C%22hidden%22%3Afalse%2C%22author%22%3A%22Angie%20McQueen%22%2C%22text%22%3A%22%3Cblockquote%3E%3Cp%20style%3D%5C%22text-align%3Acenter%3Bcolor%3A%23565656%3B%5C%22%3E%E2%80%9CFeedback%20occurs%20when%20outputs%20of%20a%20system%20are%20routed%20back%20as%20inputs%20as%20part%20of%20a%20chain%20of%20cause-and-effect%20that%20forms%20a%20circuit%20or%20loop.%20The%20system%20can%20then%20be%20said%20to%20feed%20back%20into%20itself.%E2%80%9D%3C%2Fp%3E%3C%2Fblockquote%3E%22%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2FdevElements%2FbasicTestimonial%2FbasicTestimonial%2Fpublic%2F%22%2C%22authorTitle%22%3A%22Frankwood%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22backgroundColor%22%3A%22%23F9F9F9%22%2C%22backgroundHoverColor%22%3A%22%23F9F9F9%22%2C%22authorTitleColor%22%3A%22%23636363%22%2C%22metaIsElementLocked%22%3Afalse%2C%22authorColor%22%3A%22%23303030%22%2C%22addImage%22%3Atrue%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22basicTestimonial%22%2C%22id%22%3A%228b0c8234%22%2C%22image%22%3A%22placeholder-image.png%22%7D%2C%22faead64f%22%3A%7B%22columnGap%22%3A%2230%22%2C%22size%22%3A%22auto%22%2C%22contentPosition%22%3A%22top%22%2C%22designOptionsAdvanced%22%3A%7B%7D%2C%22columnBackground%22%3A%22%22%2C%22customClass%22%3A%22may6-global-css-'
                            . $type
                            . '%22%2C%22sticky%22%3A%7B%7D%2C%22parent%22%3Afalse%2C%22hidden%22%3Afalse%2C%22layout%22%3A%7B%7D%2C%22boxShadow%22%3A%7B%22device%22%3A%7B%22all%22%3A%7B%22boxShadowEnable%22%3Afalse%2C%22horizontalOffset%22%3A%220%22%2C%22verticalOffset%22%3A%220%22%2C%22blurRadius%22%3A%224%22%2C%22spreadRadius%22%3A%222%22%2C%22shadowColor%22%3A%22rgba(85%2C%2085%2C%2085%2C%200.5)%22%2C%22hoverBoxShadowEnable%22%3Afalse%2C%22hoverHorizontalOffset%22%3A%220%22%2C%22hoverVerticalOffset%22%3A%220%22%2C%22hoverBlurRadius%22%3A%224%22%2C%22hoverSpreadRadius%22%3A%222%22%2C%22hoverShadowColor%22%3A%22rgba(85%2C%2085%2C%2085%2C%200.8)%22%2C%22boxShadow%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.5)%22%2C%22hoverBoxShadow%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.8)%22%7D%7D%2C%22attributeMixins%22%3A%7B%22boxShadowMixin%3Aall%22%3A%7B%22src%22%3A%22%23%24selector%5Bvce-box-shadow%3D%5C%22%24selector%5C%22%5D%2C%5Cn%23%24selector%20%5Bvce-box-shadow%3D%5C%22%24selector%5C%22%5D%20%7B%5Cn%20%20box-shadow%3A%20%24boxShadow%3B%5Cn%7D%22%2C%22variables%22%3A%7B%22device%22%3A%7B%22value%22%3A%22all%22%7D%2C%22boxShadow%22%3A%7B%22value%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.5)%22%7D%7D%7D%2C%22hoverBoxShadowMixin%3Aall%22%3A%7B%22src%22%3A%22%23%24selector%5Bvce-hover-box-shadow%3D%5C%22%24selector%5C%22%5D%2C%5Cn%23%24selector%20%5Bvce-hover-box-shadow%3D%5C%22%24selector%5C%22%5D%20%7B%5Cn%20%20%26%3Ahover%2C%5Cn%20%20%26%3Afocus%20%7B%5Cn%20%20%20%20box-shadow%3A%20%24hoverBoxShadow%3B%5Cn%20%20%7D%5Cn%7D%5Cn%22%2C%22variables%22%3A%7B%22device%22%3A%7B%22value%22%3A%22all%22%7D%2C%22hoverBoxShadow%22%3A%7B%22value%22%3A%220px%200px%204px%202px%20rgba(85%2C%2085%2C%2085%2C%200.8)%22%7D%7D%7D%7D%7D%2C%22rowWidth%22%3A%22boxed%22%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2Felements%2Frow%2Frow%2Fpublic%2F%22%2C%22order%22%3A1%2C%22metaCustomId%22%3A%22%22%2C%22removeSpaces%22%3Afalse%2C%22fullHeight%22%3Afalse%2C%22parallax%22%3A%7B%7D%2C%22metaIsElementLocked%22%3Afalse%2C%22dividers%22%3A%7B%7D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%22row%22%2C%22id%22%3A%22faead64f%22%2C%22equalHeight%22%3Afalse%2C%22columnPosition%22%3A%22top%22%7D%2C%22d6fce343%22%3A%7B%22designOptions%22%3A%7B%7D%2C%22shape%22%3A%22round%22%2C%22alignment%22%3A%22left%22%2C%22customClass%22%3A%22%22%2C%22hoverColor%22%3A%22%23EC5418%22%2C%22parent%22%3A%2238fe1608%22%2C%22pushAnimation%22%3Atrue%2C%22hidden%22%3Afalse%2C%22customHover%22%3Afalse%2C%22titleColor%22%3A%22%23fff%22%2C%22metaAssetsPath%22%3A%22http%3A%2F%2F127.0.0.1%3A8000%2Fwp-content%2Fplugins%2Fvisualcomposer%2FdevElements%2F3dButton%2F3dButton%2Fpublic%2F%22%2C%22order%22%3A0%2C%22metaCustomId%22%3A%22%22%2C%22backgroundColor%22%3A%22%23fa8740%22%2C%22metaIsElementLocked%22%3Afalse%2C%22assetsLibrary%22%3A%5B%22animate%22%5D%2C%22metaElementAssets%22%3A%7B%7D%2C%22customHeaderTitle%22%3A%22%22%2C%22tag%22%3A%223dButton%22%2C%22id%22%3A%22d6fce343%22%2C%22buttonUrl%22%3A%7B%22url%22%3A%22%22%2C%22title%22%3A%22%22%2C%22targetBlank%22%3Afalse%2C%22relNofollow%22%3Afalse%7D%2C%22buttonText%22%3A%22Apply%20Now%22%7D%7D%7D',
                        '_vcv-type' => 'custom',
                        'vcvSourceAssetsFiles' => 'a:2:{s:9:"jsBundles";a:0:{}s:10:"cssBundles";a:1:{i:0;s:59:"assetsLibrary/imageFilter/dist/imageFilter.bundle.css?v=dev";}}',
                        'vcvSourceCss' => '.may6-global-css-' . $type . '{color:#00f}.may6-global-css-' . $type
                            . ':before{display:block;content:\'template-global-css-' . $type . '-'
                            . $this->uniqueId[ $type ]
                            . '\';font-size:20px;position:relative;width:100%;height:20px;color:green}',
                        'vcv-globalElementsCssData' => unserialize(
                            'a:10:{s:8:"bc283040";a:4:{s:3:"tag";s:6:"column";s:13:"attributesCss";s:0:"";s:9:"mixinsCss";s:0:"";s:7:"baseCss";s:3039:".vce-col{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%;box-sizing:border-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-width:1em;position:relative}.vce-col--auto{-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.vce-col-content,.vce-col-inner{position:relative;overflow-wrap:break-word;transition:box-shadow .2s}.vce-col-inner{width:100%}.vce-col-direction--rtl{direction:rtl}.vce-element--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}.vce-col.vce-col--all-hide{display:none}@media (min-width:0){.vce-col--xs-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xs-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xs-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xs-hide{display:none}}.vce-row-container>.vce-row>.vce-row-content>.vce-col>.vce-col-inner{padding:0}@media (min-width:544px){.vce-col--sm-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--sm-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--sm-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--sm-hide{display:none}}@media (min-width:768px){.vce-col--md-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--md-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--md-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--md-hide{display:none}}@media (min-width:992px){.vce-col--lg-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:1px}.vce-col--lg-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--lg-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--lg-hide{display:none}}@media (min-width:1200px){.vce-col--xl-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xl-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xl-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xl-hide{display:none}}@media (min-width:0) and (max-width:543px){.vce-element--xs--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:544px) and (max-width:767px){.vce-element--sm--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:768px) and (max-width:991px){.vce-element--md--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:992px) and (max-width:1199px){.vce-element--lg--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:1200px){.vce-element--xl--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}";}s:8:"0518460d";a:4:{s:3:"tag";s:12:"3ColorButton";s:13:"attributesCss";s:0:"";s:7:"baseCss";s:1878:".vce-button--style-animated-three-color-container--align-left{text-align:left}.vce-button--style-animated-three-color-container--align-right{text-align:right}.vce-button--style-animated-three-color-container--align-center{text-align:center}.vce-button--style-animated-three-color-wrapper{display:inline-block;vertical-align:top;max-width:100%}a.vce-button--style-animated-three-color,button.vce-button--style-animated-three-color{display:inline-block;border:0;font-size:16px;box-sizing:border-box;line-height:normal;cursor:pointer;background-color:transparent;background-image:none;background-clip:padding-box;position:relative;overflow:visible;word-wrap:break-word;text-decoration:none;vertical-align:middle;text-align:center;max-width:100%;padding:18px 43px;z-index:1}.vce-button--style-animated-three-color-inner{background-color:#f15f64;top:33.3%}.vce-button--style-animated-three-color:before{background-color:#e9dc4d;top:0}.vce-button--style-animated-three-color:after{background-color:#5168a5;top:66.6%}.vce-button--style-animated-three-color-inner,.vce-button--style-animated-three-color:after,.vce-button--style-animated-three-color:before{content:"";position:absolute;height:33.3%;left:0;width:100%;z-index:-1;transition:left .2s linear}.vce-button--style-animated-three-color:hover:after,.vce-button--style-animated-three-color:hover:before{left:-10px}.vce-button--style-animated-three-color:hover .vce-button--style-animated-three-color-inner{left:10px}.vce-button--style-animated-three-color-container--animate-right .vce-button--style-animated-three-color:hover:after,.vce-button--style-animated-three-color-container--animate-right .vce-button--style-animated-three-color:hover:before{left:10px}.vce-button--style-animated-three-color-container--animate-right .vce-button--style-animated-three-color:hover .vce-button--style-animated-three-color-inner{left:-10px}";s:9:"mixinsCss";s:936:".vce-button--style-animated-three-color.vce-button--style-animated-three-color--color-fff,.vce-button--style-animated-three-color.vce-button--style-animated-three-color--color-fff:active,.vce-button--style-animated-three-color.vce-button--style-animated-three-color--color-fff:focus,.vce-button--style-animated-three-color.vce-button--style-animated-three-color--color-fff:link,.vce-button--style-animated-three-color.vce-button--style-animated-three-color--color-fff:visited{color:#fff} .vce-button--style-animated-three-color.vce-button--style-animated-three-color--background-top-E9DC4D:before{background-color:#e9dc4d} .vce-button--style-animated-three-color.vce-button--style-animated-three-color--background-middle-F15F64 .vce-button--style-animated-three-color-inner{background-color:#f15f64} .vce-button--style-animated-three-color.vce-button--style-animated-three-color--background-bottom-5168A5:after{background-color:#5168a5}";}s:8:"744d2c9f";a:4:{s:3:"tag";s:3:"row";s:7:"baseCss";s:7301:".vce{margin-bottom:30px}.vce-row-container{width:100%}.vce-row{position:relative;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;margin-left:0;margin-right:0;transition:box-shadow .2s}.vce-row-content>.vce-col:last-child{margin-right:0}.vce-row-full-height{min-height:100vh}.vce-row-content{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;min-height:1em;position:relative}.vce-row-wrap--reverse>.vce-row-content{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end;-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.vce-row-columns--top>.vce-row-content{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.vce-row-columns--top.vce-row-wrap--reverse>.vce-row-content{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.vce-row-columns--middle>.vce-row-content{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.vce-row-columns--bottom>.vce-row-content{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.vce-row-columns--bottom.vce-row-wrap--reverse>.vce-row-content{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.vce-row-columns--bottom>.vce-row-content:after,.vce-row-columns--middle>.vce-row-content:after,.vce-row-columns--top>.vce-row-content:after{content:"";width:100%;height:0;overflow:hidden;visibility:hidden;display:block}.vce-row-content--middle>.vce-row-content>.vce-col>.vce-col-inner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.vce-row-content--bottom>.vce-row-content>.vce-col>.vce-col-inner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.vce-row-equal-height>.vce-row-content{-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}.vce-row-columns--stretch>.vce-row-content{-ms-flex-line-pack:stretch;-webkit-align-content:stretch;align-content:stretch;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}.vce-row[data-vce-full-width=true]{position:relative;box-sizing:border-box}.vce-row[data-vce-stretch-content=true]{padding-left:30px;padding-right:30px}.vce-row[data-vce-stretch-content=true].vce-row-no-paddings{padding-left:0;padding-right:0}.vce-row.vce-element--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--all-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--all-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--all-last{margin-left:0}@media (min-width:0) and (max-width:543px){.vce-row.vce-element--xs--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--xs--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--xs--has-background.vce-row--xs--has-col-background{padding-bottom:30px}.vce-row.vce-element--xs--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--xs--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--xs-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--xs-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--xs-last{margin-left:0}}@media (min-width:544px) and (max-width:767px){.vce-row.vce-element--sm--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--sm--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--sm--has-background.vce-row--sm--has-col-background{padding-bottom:30px}.vce-row.vce-element--sm--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--sm--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--sm-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--sm-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--sm-last{margin-left:0}}@media (min-width:768px) and (max-width:991px){.vce-row.vce-element--md--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--md--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--md--has-background.vce-row--md--has-col-background{padding-bottom:30px}.vce-row.vce-element--md--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--md--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--md-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--md-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--md-last{margin-left:0}}@media (min-width:992px) and (max-width:1199px){.vce-row.vce-element--lg--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--lg--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--lg--has-background.vce-row--lg--has-col-background{padding-bottom:30px}.vce-row.vce-element--lg--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--lg--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--lg-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--lg-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--lg-last{margin-left:0}}@media (min-width:1200px){.vce-row.vce-element--xl--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--xl--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--xl--has-background.vce-row--xl--has-col-background{padding-bottom:30px}.vce-row.vce-element--xl--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--xl--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--xl-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--xl-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--xl-last{margin-left:0}}";s:13:"attributesCss";s:1416:" @media all and (min-width:544px){.vce-row--col-gap-30#el-744d2c9f>.vce-row-content>.vce-col--sm-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:768px){.vce-row--col-gap-30#el-744d2c9f>.vce-row-content>.vce-col--md-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:992px){.vce-row--col-gap-30#el-744d2c9f>.vce-row-content>.vce-col--lg-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:1200px){.vce-row--col-gap-30#el-744d2c9f>.vce-row-content>.vce-col--xl-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} #el-744d2c9f [vce-box-shadow=el-744d2c9f],#el-744d2c9f[vce-box-shadow=el-744d2c9f]{box-shadow:0 0 4px 2px rgba(85,85,85,.5)} #el-744d2c9f [vce-hover-box-shadow=el-744d2c9f]:focus,#el-744d2c9f [vce-hover-box-shadow=el-744d2c9f]:hover,#el-744d2c9f[vce-hover-box-shadow=el-744d2c9f]:focus,#el-744d2c9f[vce-hover-box-shadow=el-744d2c9f]:hover{box-shadow:0 0 4px 2px rgba(85,85,85,.8)} @media all{#el-744d2c9f [data-vce-do-apply*=all][data-vce-do-apply*=el-744d2c9f],#el-744d2c9f [data-vce-do-apply*=background][data-vce-do-apply*=el-744d2c9f],#el-744d2c9f[data-vce-do-apply*=all][data-vce-do-apply*=el-744d2c9f],#el-744d2c9f[data-vce-do-apply*=background][data-vce-do-apply*=el-744d2c9f]{background-color:#f50f0f}}";s:9:"mixinsCss";s:297:".vce-row--col-gap-30>.vce-row-content>.vce-col{margin-right:30px}.vce-row--col-gap-30>.vce-row-content>.vce-column-resizer .vce-column-resizer-handler{width:30px}.rtl .vce-row--col-gap-30>.vce-row-content>.vce-col,.rtl.vce-row--col-gap-30>.vce-row-content>.vce-col{margin-left:30px;margin-right:0}";}s:8:"6ea27a12";a:4:{s:3:"tag";s:9:"textBlock";s:7:"baseCss";s:0:"";s:13:"attributesCss";s:0:"";s:9:"mixinsCss";s:0:"";}s:8:"7bc2284b";a:4:{s:3:"tag";s:6:"column";s:13:"attributesCss";s:0:"";s:9:"mixinsCss";s:0:"";s:7:"baseCss";s:3039:".vce-col{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%;box-sizing:border-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-width:1em;position:relative}.vce-col--auto{-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.vce-col-content,.vce-col-inner{position:relative;overflow-wrap:break-word;transition:box-shadow .2s}.vce-col-inner{width:100%}.vce-col-direction--rtl{direction:rtl}.vce-element--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}.vce-col.vce-col--all-hide{display:none}@media (min-width:0){.vce-col--xs-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xs-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xs-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xs-hide{display:none}}.vce-row-container>.vce-row>.vce-row-content>.vce-col>.vce-col-inner{padding:0}@media (min-width:544px){.vce-col--sm-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--sm-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--sm-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--sm-hide{display:none}}@media (min-width:768px){.vce-col--md-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--md-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--md-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--md-hide{display:none}}@media (min-width:992px){.vce-col--lg-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:1px}.vce-col--lg-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--lg-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--lg-hide{display:none}}@media (min-width:1200px){.vce-col--xl-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xl-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xl-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xl-hide{display:none}}@media (min-width:0) and (max-width:543px){.vce-element--xs--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:544px) and (max-width:767px){.vce-element--sm--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:768px) and (max-width:991px){.vce-element--md--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:992px) and (max-width:1199px){.vce-element--lg--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:1200px){.vce-element--xl--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}";}s:8:"38fe1608";a:4:{s:3:"tag";s:6:"column";s:13:"attributesCss";s:0:"";s:9:"mixinsCss";s:0:"";s:7:"baseCss";s:3039:".vce-col{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%;box-sizing:border-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-width:1em;position:relative}.vce-col--auto{-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.vce-col-content,.vce-col-inner{position:relative;overflow-wrap:break-word;transition:box-shadow .2s}.vce-col-inner{width:100%}.vce-col-direction--rtl{direction:rtl}.vce-element--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}.vce-col.vce-col--all-hide{display:none}@media (min-width:0){.vce-col--xs-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xs-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xs-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xs-hide{display:none}}.vce-row-container>.vce-row>.vce-row-content>.vce-col>.vce-col-inner{padding:0}@media (min-width:544px){.vce-col--sm-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--sm-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--sm-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--sm-hide{display:none}}@media (min-width:768px){.vce-col--md-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--md-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--md-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--md-hide{display:none}}@media (min-width:992px){.vce-col--lg-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:1px}.vce-col--lg-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--lg-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--lg-hide{display:none}}@media (min-width:1200px){.vce-col--xl-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xl-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xl-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xl-hide{display:none}}@media (min-width:0) and (max-width:543px){.vce-element--xs--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:544px) and (max-width:767px){.vce-element--sm--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:768px) and (max-width:991px){.vce-element--md--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:992px) and (max-width:1199px){.vce-element--lg--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:1200px){.vce-element--xl--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}";}s:8:"2e4ce547";a:4:{s:3:"tag";s:6:"column";s:13:"attributesCss";s:0:"";s:9:"mixinsCss";s:0:"";s:7:"baseCss";s:3039:".vce-col{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%;box-sizing:border-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-width:1em;position:relative}.vce-col--auto{-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.vce-col-content,.vce-col-inner{position:relative;overflow-wrap:break-word;transition:box-shadow .2s}.vce-col-inner{width:100%}.vce-col-direction--rtl{direction:rtl}.vce-element--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}.vce-col.vce-col--all-hide{display:none}@media (min-width:0){.vce-col--xs-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xs-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xs-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xs-hide{display:none}}.vce-row-container>.vce-row>.vce-row-content>.vce-col>.vce-col-inner{padding:0}@media (min-width:544px){.vce-col--sm-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--sm-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--sm-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--sm-hide{display:none}}@media (min-width:768px){.vce-col--md-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--md-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--md-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--md-hide{display:none}}@media (min-width:992px){.vce-col--lg-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:1px}.vce-col--lg-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--lg-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--lg-hide{display:none}}@media (min-width:1200px){.vce-col--xl-auto{-ms-flex:1 1 0;-webkit-flex:1 1 0;flex:1 1 0;width:auto}.vce-col--xl-1{-ms-flex:0 0 100%;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vce-col.vce-col--xl-visible{display:-ms-flexbox;display:-webkit-flex;display:flex}.vce-col.vce-col--xl-hide{display:none}}@media (min-width:0) and (max-width:543px){.vce-element--xs--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:544px) and (max-width:767px){.vce-element--sm--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:768px) and (max-width:991px){.vce-element--md--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:992px) and (max-width:1199px){.vce-element--lg--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}@media (min-width:1200px){.vce-element--xl--has-background>.vce-col-inner>.vce-col-content{padding-top:30px;padding-left:30px;padding-right:30px}}";}s:8:"8b0c8234";a:4:{s:3:"tag";s:16:"basicTestimonial";s:13:"attributesCss";s:0:"";s:7:"baseCss";s:1896:".vce-basic-testimonial .vce-basic-testimonial-content{position:relative;margin:0 0 33px 0;padding:30px;border-radius:10px}.vce-basic-testimonial .vce-basic-testimonial-content::before{content:\'\';position:absolute;top:100%;left:50%;margin-left:-10px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid transparent}.vce-basic-testimonial .vce-basic-testimonial-content blockquote{margin:0;padding:0;border:none}.vce-basic-testimonial .vce-basic-testimonial-wrapper{max-width:100%}.vce-basic-testimonial .vce-basic-testimonial-title{margin:0 8px;text-align:center}.vce-basic-testimonial .vce-basic-testimonial-profile-wrapper{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.vce-basic-testimonial .vce-basic-testimonial-author{font-size:16px;margin:0 0 10px}.vce-basic-testimonial .vce-basic-testimonial-author-title{font-size:14px;font-style:italic}.vce-basic-testimonial .vce-basic-testimonial-author,.vce-basic-testimonial .vce-basic-testimonial-author-title{display:block;line-height:1;letter-spacing:1px}.vce-basic-testimonial .vce-basic-testimonial-image{height:80px;width:80px;margin:0 0 17px;background-size:cover;background-position:center;max-width:100%;-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0}.vce-basic-testimonial .vce-basic-testimonial-image.vce-basic-testimonial-image-shape--filled-square{border-radius:0}.vce-basic-testimonial .vce-basic-testimonial-image.vce-basic-testimonial-image-shape--filled-circle{border-radius:50%}.vce-basic-testimonial .vce-basic-testimonial-image.vce-basic-testimonial-image-shape--filled-rounded{border-radius:10px}";s:9:"mixinsCss";s:890:".vce-basic-testimonial .vce-basic-testimonial-author.vce-basic-testimonial-author--color-303030{color:#303030} .vce-basic-testimonial .vce-basic-testimonial-author-title.vce-basic-testimonial-author-title--color-636363{color:#636363} .vce-basic-testimonial .vce-basic-testimonial-content.vce-basic-testimonial-content-background--color-F9F9F9--F9F9F9{background:#f9f9f9;transition:background .2s ease-in-out}.vce-basic-testimonial .vce-basic-testimonial-content.vce-basic-testimonial-content-background--color-F9F9F9--F9F9F9::before{border-top-color:#f9f9f9;transition:border .2s ease-in-out}.vce-basic-testimonial .vce-basic-testimonial-content.vce-basic-testimonial-content-background--color-F9F9F9--F9F9F9:hover{background:#f9f9f9}.vce-basic-testimonial .vce-basic-testimonial-content.vce-basic-testimonial-content-background--color-F9F9F9--F9F9F9:hover::before{border-top-color:#f9f9f9}";}s:8:"faead64f";a:4:{s:3:"tag";s:3:"row";s:7:"baseCss";s:7301:".vce{margin-bottom:30px}.vce-row-container{width:100%}.vce-row{position:relative;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;margin-left:0;margin-right:0;transition:box-shadow .2s}.vce-row-content>.vce-col:last-child{margin-right:0}.vce-row-full-height{min-height:100vh}.vce-row-content{-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;min-height:1em;position:relative}.vce-row-wrap--reverse>.vce-row-content{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end;-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.vce-row-columns--top>.vce-row-content{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.vce-row-columns--top.vce-row-wrap--reverse>.vce-row-content{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.vce-row-columns--middle>.vce-row-content{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.vce-row-columns--bottom>.vce-row-content{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.vce-row-columns--bottom.vce-row-wrap--reverse>.vce-row-content{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.vce-row-columns--bottom>.vce-row-content:after,.vce-row-columns--middle>.vce-row-content:after,.vce-row-columns--top>.vce-row-content:after{content:"";width:100%;height:0;overflow:hidden;visibility:hidden;display:block}.vce-row-content--middle>.vce-row-content>.vce-col>.vce-col-inner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.vce-row-content--bottom>.vce-row-content>.vce-col>.vce-col-inner{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.vce-row-equal-height>.vce-row-content{-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}.vce-row-columns--stretch>.vce-row-content{-ms-flex-line-pack:stretch;-webkit-align-content:stretch;align-content:stretch;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}.vce-row[data-vce-full-width=true]{position:relative;box-sizing:border-box}.vce-row[data-vce-stretch-content=true]{padding-left:30px;padding-right:30px}.vce-row[data-vce-stretch-content=true].vce-row-no-paddings{padding-left:0;padding-right:0}.vce-row.vce-element--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--all-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--all-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--all-last{margin-left:0}@media (min-width:0) and (max-width:543px){.vce-row.vce-element--xs--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--xs--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--xs--has-background.vce-row--xs--has-col-background{padding-bottom:30px}.vce-row.vce-element--xs--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--xs--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--xs-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--xs-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--xs-last{margin-left:0}}@media (min-width:544px) and (max-width:767px){.vce-row.vce-element--sm--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--sm--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--sm--has-background.vce-row--sm--has-col-background{padding-bottom:30px}.vce-row.vce-element--sm--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--sm--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--sm-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--sm-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--sm-last{margin-left:0}}@media (min-width:768px) and (max-width:991px){.vce-row.vce-element--md--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--md--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--md--has-background.vce-row--md--has-col-background{padding-bottom:30px}.vce-row.vce-element--md--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--md--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--md-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--md-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--md-last{margin-left:0}}@media (min-width:992px) and (max-width:1199px){.vce-row.vce-element--lg--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--lg--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--lg--has-background.vce-row--lg--has-col-background{padding-bottom:30px}.vce-row.vce-element--lg--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--lg--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--lg-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--lg-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--lg-last{margin-left:0}}@media (min-width:1200px){.vce-row.vce-element--xl--has-background{padding-left:30px;padding-right:30px;padding-top:30px}.vce-row.vce-element--xl--has-background[data-vce-full-width=true]:not([data-vce-stretch-content=true]){padding-left:0;padding-right:0}.vce-row.vce-element--xl--has-background.vce-row--xl--has-col-background{padding-bottom:30px}.vce-row.vce-element--xl--has-background.vce-row--has-col-background{padding-bottom:30px}.vce-row.vce-element--has-background.vce-row--xl--has-col-background{padding-bottom:30px}.vce-row>.vce-row-content>.vce-col.vce-col--xl-last{margin-right:0}.rtl .vce-row>.vce-row-content>.vce-col.vce-col--xl-last,.rtl.vce-row>.vce-row-content>.vce-col.vce-col--xl-last{margin-left:0}}";s:13:"attributesCss";s:1086:" @media all and (min-width:544px){.vce-row--col-gap-30#el-faead64f>.vce-row-content>.vce-col--sm-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:768px){.vce-row--col-gap-30#el-faead64f>.vce-row-content>.vce-col--md-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:992px){.vce-row--col-gap-30#el-faead64f>.vce-row-content>.vce-col--lg-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} @media all and (min-width:1200px){.vce-row--col-gap-30#el-faead64f>.vce-row-content>.vce-col--xl-auto{-webkit-flex:1 1 0;-ms-flex:1 1 0px;flex:1 1 0;width:auto;max-width:none}} #el-faead64f [vce-box-shadow=el-faead64f],#el-faead64f[vce-box-shadow=el-faead64f]{box-shadow:0 0 4px 2px rgba(85,85,85,.5)} #el-faead64f [vce-hover-box-shadow=el-faead64f]:focus,#el-faead64f [vce-hover-box-shadow=el-faead64f]:hover,#el-faead64f[vce-hover-box-shadow=el-faead64f]:focus,#el-faead64f[vce-hover-box-shadow=el-faead64f]:hover{box-shadow:0 0 4px 2px rgba(85,85,85,.8)}";s:9:"mixinsCss";s:297:".vce-row--col-gap-30>.vce-row-content>.vce-col{margin-right:30px}.vce-row--col-gap-30>.vce-row-content>.vce-column-resizer .vce-column-resizer-handler{width:30px}.rtl .vce-row--col-gap-30>.vce-row-content>.vce-col,.rtl.vce-row--col-gap-30>.vce-row-content>.vce-col{margin-left:30px;margin-right:0}";}s:8:"d6fce343";a:4:{s:3:"tag";s:8:"3dButton";s:13:"attributesCss";s:0:"";s:7:"baseCss";s:2076:".vce-button--style-3d-container.vce-button--style-3d-container--align-left{text-align:left}.vce-button--style-3d-container.vce-button--style-3d-container--align-center{text-align:center}.vce-button--style-3d-container.vce-button--style-3d-container--align-right{text-align:right}a.vce-button--style-3d,button.vce-button--style-3d{display:inline-block;border:0;box-sizing:border-box;font-size:16px;line-height:normal;cursor:pointer;padding:18px 43px;margin-bottom:3px;vertical-align:middle;text-align:center;word-wrap:break-word;text-decoration:none;position:relative;overflow:visible;transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,transform .2s ease-in-out;transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,transform .2s ease-in-out,-webkit-transform .2s ease-in-out;max-width:100%}a.vce-button--style-3d:focus,button.vce-button--style-3d:focus{outline:0}a.vce-button--style-3d-inner,button.vce-button--style-3d-inner{position:relative}a.vce-button--style-3d:hover.vce-button--style-3d--push-animation,button.vce-button--style-3d:hover.vce-button--style-3d--push-animation{transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-transform .2s ease-in-out;transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,transform .2s ease-in-out;transition:background-color .2s ease-in-out,box-shadow .2s ease-in-out,transform .2s ease-in-out,-webkit-transform .2s ease-in-out}a.vce-button--style-3d:hover.vce-button--style-3d--push-animation:hover,button.vce-button--style-3d:hover.vce-button--style-3d--push-animation:hover{box-shadow:none;-webkit-transform:translateY(3px);transform:translateY(3px)}a.vce-button--style-3d--border-square,button.vce-button--style-3d--border-square{border-radius:0}a.vce-button--style-3d--border-rounded,button.vce-button--style-3d--border-rounded{border-radius:5px}a.vce-button--style-3d--border-round,button.vce-button--style-3d--border-round{border-radius:4em}";s:9:"mixinsCss";s:1493:"a.vce-button--style-3d--color-fff,a.vce-button--style-3d--color-fff:active,a.vce-button--style-3d--color-fff:focus,a.vce-button--style-3d--color-fff:hover,a.vce-button--style-3d--color-fff:link,a.vce-button--style-3d--color-fff:visited,button.vce-button--style-3d--color-fff,button.vce-button--style-3d--color-fff:active,button.vce-button--style-3d--color-fff:focus,button.vce-button--style-3d--color-fff:hover,button.vce-button--style-3d--color-fff:link,button.vce-button--style-3d--color-fff:visited{color:#fff} a.vce-button--style-3d--background-color-fa8740,a.vce-button--style-3d--background-color-fa8740:active,a.vce-button--style-3d--background-color-fa8740:focus,a.vce-button--style-3d--background-color-fa8740:link,a.vce-button--style-3d--background-color-fa8740:visited,button.vce-button--style-3d--background-color-fa8740,button.vce-button--style-3d--background-color-fa8740:active,button.vce-button--style-3d--background-color-fa8740:focus,button.vce-button--style-3d--background-color-fa8740:link,button.vce-button--style-3d--background-color-fa8740:visited{background-color:#fa8740;box-shadow:0 3px 0 0 #e17a3a}a.vce-button--style-3d--background-color-fa8740.vce-button--style-3d--hover-default:hover,button.vce-button--style-3d--background-color-fa8740.vce-button--style-3d--hover-default:hover{background-color:#e17a3a} a.vce-button--style-3d--hover-color-EC5418:hover,button.vce-button--style-3d--hover-color-EC5418:hover{background-color:#ec5418;box-shadow:0 3px 0 0 #d44c16}";}}'
                        ),
                    ],
                ]
            );
            vcevent(
                'vcv:assets:file:generate',
                ['response' => [], 'payload' => ['sourceId' => $this->templateId[ $type ]]]
            );
        }

        public function createHeader()
        {
            // Set up the WordPress query.
            $this->headerId = e2e_create_post(
                [
                    'post_title' => 'test-themeEditor-source-css-location-header',
                    'post_content' => sprintf(
                        'This is header with globalTemplate element inside: <div id="vcv-global-template-%s">[vcv_global_template id="%d"]</div>',
                        $this->uniqueId['header'],
                        $this->templateId['header']
                    ),
                    'post_status' => 'publish',
                    'post_type' => 'vcv_headers',
                ]
            );
        }

        public function createFooter()
        {
            // Set up the WordPress query.
            $this->footerId = e2e_create_post(
                [
                    'post_title' => 'test-themeEditor-globalTemplate-in-content-source-css-location-footer',
                    'post_content' => sprintf(
                        'This footer with globalTemplate element inside: <div id="vcv-global-template-%s">[vcv_global_template id="%d"]</div>',
                        $this->uniqueId['footer'],
                        $this->templateId['footer']
                    ),
                    'post_status' => 'publish',
                    'post_type' => 'vcv_footers',
                ]
            );
        }

        public function createPost()
        {
            $templateSourceCssUrlHeader = vchelper('Assets')->getAssetUrl(
                get_post_meta($this->templateId['header'], 'vcvSourceCssFileUrl', true)
            );
            $templateSourceCssUrlContent = vchelper('Assets')->getAssetUrl(
                get_post_meta($this->templateId['content'], 'vcvSourceCssFileUrl', true)
            );
            $templateSourceCssUrlFooter = vchelper('Assets')->getAssetUrl(
                get_post_meta($this->templateId['footer'], 'vcvSourceCssFileUrl', true)
            );
            // Set up the WordPress query.
            $pageLayout = isset($_GET['php-e2e-layout']) ? $_GET['php-e2e-layout'] : 'header-footer-layout';
            $this->postId = e2e_create_post(
                [
                    'post_title' => 'test-themeEditor-source-css-location-page',
                    'post_content' => sprintf(
                        '
                            Hello From Tests :)  Current ID:<span id="e2e-current-id">[e2e_get_current_id]</span>,
                            globalTemplate element inside: <div id="vcv-global-template-%s">[vcv_global_template id="%d"]</div>
                            Template ID header:<span id="e2e-template-header-id">%d</span>
                            Template ID content:<span id="e2e-template-content-id">%d</span>
                            Template ID footer:<span id="e2e-template-footer-id">%d</span>
                            Header ID:<span id="e2e-header-id">%d</span>
                            Footer ID:<span id="e2e-footer-id">%d</span>
                            Unique ID HEADER:<span id="e2e-unique-header-id">%s</span>
                            Unique ID CONTENT:<span id="e2e-unique-content-id">%s</span>
                            Unique ID FOOTER:<span id="e2e-unique-footer-id">%s</span>
                            Header globalTemplate sourceCss url:<span id="e2e-header-globalTemplate-sourceCss-url">%s</span>
                            Content globalTemplate sourceCss url:<span id="e2e-content-globalTemplate-sourceCss-url">%s</span>
                            Footer globalTemplate sourceCss url:<span id="e2e-footer-globalTemplate-sourceCss-url">%s</span>
                        ',
                        $this->uniqueId['content'], // div
                        $this->templateId['content'], // shortcode
                        $this->templateId['header'], // span
                        $this->templateId['content'],
                        $this->templateId['footer'],
                        $this->headerId,
                        $this->footerId,
                        $this->uniqueId['header'],
                        $this->uniqueId['content'],
                        $this->uniqueId['footer'],
                        $templateSourceCssUrlHeader,
                        $templateSourceCssUrlContent,
                        $templateSourceCssUrlFooter
                    ),
                    'post_status' => 'publish',
                    'post_type' => 'page',
                    'meta_input' => [
                        '_vcv-page-template' => $pageLayout,
                        '_vcv-page-template-type' => 'vc-theme',
                        '_vcv-page-template-stretch' => '0',
                        '_vcv-pageTitleDisabled' => '',
                        '_vcv-HeaderTemplateId' => $this->headerId,
                        '_vcv-FooterTemplateId' => $this->footerId,
                        '_vcv-SidebarTemplateId' => '',
                    ],
                ]
            );
        }

        public function setupPage()
        {
            // Create rewrite rules, to avoid 404 issues and extra redirects
            e2e_add_rewrite_rules();

            // Setup global query
            wp(['p' => $this->postId, 'post_type' => 'page']);

            // Load the theme template.
            require_once ABSPATH . WPINC . '/template-loader.php';
        }
    }
}
