Your IP : 3.15.12.122


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/landing/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/landing/include.php

<?php
$pathJS = '/bitrix/js/landing';
$pathTemplate24 = '/bitrix/templates/landing24';
$pathCSS = '/bitrix/js/landing/css';
$pathLang = BX_ROOT . '/modules/landing/lang/' . LANGUAGE_ID;


$jsConfig = array(
	'landing_master' => array(
		'js' => array(
			$pathJS . '/polyfill.js',
			$pathJS . '/bxdom.js',
			$pathJS . '/page_object.js',
			$pathJS . '/typedef.js',
			$pathJS . '/ui/editor_config.js',
			$pathJS . '/ui/style_factory.js',
			$pathJS . '/ui/property_map.js',
			$pathJS . '/collection/base_collection.js',
			$pathJS . '/collection/card_collection.js',
			$pathJS . '/collection/node_collection.js',
			$pathJS . '/ui/card/base_card.js',
			$pathJS . '/ui/card/block_preview_card.js',
			$pathJS . '/ui/card/field_group.js',
			$pathJS . '/ui/card/image_preview_card.js',
			$pathJS . '/ui/card/add_your_first_block.js',
			$pathJS . '/ui/card/base_image_library_card.js',
			$pathJS . '/ui/card/unsplash_card.js',
			$pathJS . '/ui/card/google_images_card.js',
			$pathJS . '/ui/card/uploader_card.js',
			$pathJS . '/ui/card/loader.js',
			$pathJS . '/ui/card/link_card.js',
			$pathJS . '/ui/card/landing_preview.js',
			$pathJS . '/ui/card/block_html_preview.js',
			$pathJS . '/ui/collection/button_collection.js',
			$pathJS . '/ui/collection/panel_collection.js',
			$pathJS . '/ui/collection/form_collection.js',
			$pathJS . '/ui/tool/color_picker.js',
			$pathJS . '/ui/panel/base_panel.js',
			$pathJS . '/ui/panel/base_button_panel.js',
			$pathJS . '/ui/panel/editor_panel.js',
			$pathJS . '/ui/panel/small_editor_panel.js',
			$pathJS . '/ui/panel/content_panel.js',
			$pathJS . '/ui/panel/edit_content_panel.js',
			$pathJS . '/ui/panel/style_panel.js',
			$pathJS . '/ui/panel/preview_panel.js',
			$pathJS . '/ui/panel/unsplash_panel.js',
			$pathJS . '/ui/panel/image_panel.js',
			$pathJS . '/ui/panel/url_list.js',
			$pathJS . '/ui/panel/link_buttons_panel.js',
			$pathJS . '/ui/panel/top_panel.js',
			$pathJS . '/ui/button/base_button.js',
			$pathJS . '/ui/button/action_button.js',
			$pathJS . '/ui/button/plus_button.js',
			$pathJS . '/ui/button/editor_action_button.js',
			$pathJS . '/ui/button/color_button.js',
			$pathJS . '/ui/button/block_card_action.js',
			$pathJS . '/ui/button/sidebar_button.js',
			$pathJS . '/ui/button/create_link.js',
			$pathJS . '/ui/form/base_form.js',
			$pathJS . '/ui/form/card_form.js',
			$pathJS . '/ui/form/style_form.js',
			$pathJS . '/ui/field/base_field.js',
			$pathJS . '/ui/field/text_field.js',
			$pathJS . '/ui/field/image_field.js',
			$pathJS . '/ui/field/link_field.js',
			$pathJS . '/ui/field/dropdown_field.js',
			$pathJS . '/ui/field/dropdown_preview_field.js',
			$pathJS . '/ui/field/unit_field.js',
			$pathJS . '/ui/field/range_field.js',
			$pathJS . '/ui/field/button_group_field.js',
			$pathJS . '/ui/field/color_field.js',
			$pathJS . '/ui/field/link_url_field.js',
			$pathJS . '/ui/field/dropdown_inline.js',
			$pathJS . '/ui/style_node.js',
			$pathJS . '/ui/highlight_node.js',
			$pathJS . '/landing.js',
			$pathJS . '/block.js',
			$pathJS . '/card.js',
			$pathJS . '/node.js',
			$pathJS . '/node/text.js',
			$pathJS . '/node/link.js',
			$pathJS . '/node/img.js',
			$pathJS . '/node/ul.js',
			$pathJS . '/node/component.js',
			$pathJS . '/layout.js',
			$pathJS . '/utils.js',
			$pathJS . '/client/unsplash.js',
			$pathJS . '/client/google_images.js',
			$pathJS . '/events/block_event.js'
		),
		'css' => array(
			$pathCSS . '/landing_master.css',
			$pathCSS . '/ui/button/base_button.css',
			$pathCSS . '/ui/button/action_button.css',
			$pathCSS . '/ui/button/plus_button.css',
			$pathCSS . '/ui/button/color_button.css',
			$pathCSS . '/ui/button/editor_action_button.css',
			$pathCSS . '/ui/button/block_card_action.css',
			$pathCSS . '/ui/button/sidebar_button.css',
			$pathCSS . '/ui/panel/base_panel.css',
			$pathCSS . '/ui/panel/editor_panel.css',
			$pathCSS . '/ui/panel/small_editor_panel.css',
			$pathCSS . '/ui/panel/content_panel.css',
			$pathCSS . '/ui/panel/block_card_action.css',
			$pathCSS . '/ui/panel/edit_content_panel.css',
			$pathCSS . '/ui/panel/style_panel.css',
			$pathCSS . '/ui/panel/preview_panel.css',
			$pathCSS . '/ui/panel/block_list_panel.css',
			$pathCSS . '/ui/panel/unsplash_panel.css',
			$pathCSS . '/ui/panel/image_panel.css',
			$pathCSS . '/ui/panel/url_list.css',
			$pathCSS . '/ui/form/base_form.css',
			$pathCSS . '/ui/form/card_form.css',
			$pathCSS . '/ui/form/style_form.css',
			$pathCSS . '/ui/field/base_field.css',
			$pathCSS . '/ui/field/image_field.css',
			$pathCSS . '/ui/field/link_field.css',
			$pathCSS . '/ui/field/dropdown_field.css',
			$pathCSS . '/ui/field/dropdown_preview_field.css',
			$pathCSS . '/ui/field/unit_field.css',
			$pathCSS . '/ui/field/range_field.css',
			$pathCSS . '/ui/field/button_group_field.css',
			$pathCSS . '/ui/field/color_field.css',
			$pathCSS . '/ui/field/link_url_field.css',
			$pathCSS . '/ui/field/dropdown_inline.css',
			$pathCSS . '/ui/card/base_card.css',
			$pathCSS . '/ui/card/block_preview_card.css',
			$pathCSS . '/ui/card/field_group.css',
			$pathCSS . '/ui/card/add_your_first_block.css',
			$pathCSS . '/ui/card/unsplash_card.css',
			$pathCSS . '/ui/card/google_images_card.css',
			$pathCSS . '/ui/card/base_image_library_card.css',
			$pathCSS . '/ui/card/uploader_card.css',
			$pathCSS . '/ui/card/loader.css',
			$pathCSS . '/ui/card/link_card.css',
			$pathCSS . '/ui/card/landing_preview.css',
			$pathCSS . '/ui/card/block_html_preview.css',
			$pathCSS . '/ui/style_node.css'
		),
		'rel' => array(
			'popup',
			'color_picker',
			'dnd',
			'fx'
		),
		'lang' => $pathLang . '/js/landing_master.php',
		'bundle_js' => 'landing_master',
	),
	
	'landing_public' => array(
		'js' => array(
			$pathJS . '/public.js',
			$pathJS . '/events/block_event.js'
		)
	),
	
	'landing_core' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/jquery/jquery.js',
			$pathTemplate24 . '/assets/vendor/jquery-migrate/jquery-migrate.js',
			$pathTemplate24 . '/assets/vendor/jquery.easing/js/jquery.easing.js',
			$pathTemplate24 . '/assets/vendor/tether.min.js',
			$pathTemplate24 . '/assets/vendor/bootstrap/bootstrap.js',
			$pathTemplate24 . '/assets/js/hs.core.js',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/bootstrap/bootstrap.css',
			$pathTemplate24 . '/assets/css/custom.css',
			$pathTemplate24 . '/assets/vendor/icon-awesome/css/font-awesome.css',
			$pathTemplate24 . '/assets/vendor/icon-line/css/simple-line-icons.css',
			$pathTemplate24 . '/assets/vendor/icon-line-pro/style.css',
			$pathTemplate24 . '/assets/vendor/icon-hs/style.css',
		),
		'rel' => array('landing_public')
	),
	
	'landing_form' => array(
		'js' => array(
			$pathTemplate24 . '/assets/js/helpers/form_init.js',
		)
	),
	
	'landing_hs_components' => array(
		'js' => array(
			$pathTemplate24 . '/landing24/assets/vendor/appear.js',
			$pathTemplate24 . '/assets/js/components/hs.onscroll-animation.js',
			$pathTemplate24 . '/assets/js/components/hs.tabs.js',
			$pathTemplate24 . '/assets/js/components/hs.counter.js',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/wait-animate.min.css',
			$pathTemplate24 . '/assets/vendor/animate.css',
		)
	),
	
	'landing_hamburgers' => array(
		'js' => array(
			$pathTemplate24 . '/assets/js/helpers/hs.hamburgers.js',
			$pathTemplate24 . '/assets/js/helpers/hamburgers_init.js',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/hamburgers/hamburgers.css',
		),
		'rel' => array('landing_core')
	),
	
	'landing_go_to' => array(
		'js' => array(
			$pathTemplate24 . '/assets/js/components/hs.go-to.js',
			$pathTemplate24 . '/assets/js/helpers/go_to_init.js',
		),
		'rel' => array('landing_core')
	),
	
	'landing_header_menu' => array(
		'js' => array(
			$pathTemplate24 . '/assets/js/components/hs.header.js',
			$pathTemplate24 . '/assets/js/components/hs.scroll-nav.js',
			$pathTemplate24 . '/assets/js/helpers/header_menu_init.js',
		),
		'rel' => array('landing_core', 'landing_hamburgers')
	),
	
	'landing_dzsparallaxer' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/dzsparallaxer.js">',
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/dzsscroller/scroller.js">',
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/advancedscroller/plugin.js">',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/dzsparallaxer.css',
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/dzsscroller/scroller.css',
			$pathTemplate24 . '/assets/vendor/dzsparallaxer/advancedscroller/plugin.css',
		),
		'rel' => array('landing_core')
	),
	
	'landing_cubeportfolio' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/cubeportfolio-full/cubeportfolio/js/jquery.cubeportfolio.js">',
			$pathTemplate24 . '/assets/js/components/hs.cubeportfolio.js',
			$pathTemplate24 . '/assets/js/helpers/cubeportfolio_init.js',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/cubeportfolio-full/cubeportfolio/css/cubeportfolio.css'
		),
		'rel' => array('landing_core')
	),
	
	'landing_popup' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/fancybox/jquery.fancybox.js',
			$pathTemplate24 . '/assets/js/components/hs.popup.js',
			$pathTemplate24 . '/assets/js/helpers/popup_init.js',
		),
		'css' => array(
			$pathTemplate24 .'/assets/vendor/fancybox/jquery.fancybox.css',
		),
		'rel' => array('landing_core'),
	),
	
	'landing_google_map' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/gmaps/gmaps.js',
			$pathTemplate24 . '/assets/js/components/gmap/hs.map.js',
			$pathTemplate24 . '/assets/js/helpers/gmap_init.js',
		),
		'rel' => array('landing_core'),
	),
	
	'landing_carousel' => array(
		'js' => array(
			$pathTemplate24 . '/assets/vendor/slick-carousel/slick/slick.js',
			$pathTemplate24 . '/assets/js/components/hs.carousel.js',
			$pathTemplate24 . '/assets/js/helpers/carousel_helper.js',
			$pathTemplate24 . '/assets/js/helpers/base_carousel_init.js',
		),
		'css' => array(
			$pathTemplate24 . '/assets/vendor/slick-carousel/slick/slick.css',
		),
		'rel' => array('landing_core'),
	)
);

foreach ($jsConfig as $code => $ext)
{
	\CJSCore::RegisterExt($code, $ext);
}

include 'module_updater.php';