Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,218 @@
|
||||
<?php
|
||||
/**
|
||||
* Slider Revolution
|
||||
*
|
||||
* @package Essential_Grid
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://revolution.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package RevSliderExtension
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderExtension {
|
||||
|
||||
public function __construct() {
|
||||
|
||||
$this->init_essential_grid_extensions();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/***************************
|
||||
* Setup part for Revslider inclusion into Essential Grid
|
||||
***************************/
|
||||
|
||||
/**
|
||||
* Do all initializations for RevSlider integration
|
||||
*/
|
||||
public function init_essential_grid_extensions(){
|
||||
|
||||
if(!class_exists('Essential_Grid')) return false; //only add if Essential Grid is installed
|
||||
|
||||
add_filter('essgrid_set_ajax_source_order', array($this, 'add_slider_to_eg_ajax'));
|
||||
add_filter('essgrid_handle_ajax_content', array($this, 'set_slider_values_to_eg_ajax'), 10, 4);
|
||||
add_action('essgrid_add_meta_options', array($this, 'add_eg_additional_meta_field'));
|
||||
add_action('essgrid_save_meta_options', array($this, 'save_eg_additional_meta_field'), 10, 2);
|
||||
|
||||
//only do on frontend
|
||||
|
||||
add_action('admin_head', array($this, 'add_eg_additional_inline_javascript'));
|
||||
add_action('wp_head', array($this, 'add_eg_additional_inline_javascript'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add Slider to the List of choosable media
|
||||
*/
|
||||
public function add_slider_to_eg_ajax($media){
|
||||
|
||||
$media['revslider'] = array('name' => __('Slider Revolution', 'revslider'), 'type' => 'ccw');
|
||||
|
||||
return $media;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add Slider to the List of choosable media
|
||||
*/
|
||||
public function set_slider_values_to_eg_ajax($handle, $media_sources, $post, $grid_id){
|
||||
|
||||
if($handle !== 'revslider') return false;
|
||||
|
||||
$slider_source = '';
|
||||
|
||||
$values = get_post_custom($post['ID']);
|
||||
|
||||
if(isset($values['eg_sources_revslider'])){
|
||||
if(isset($values['eg_sources_revslider'][0]))
|
||||
$slider_source = (isset($values['eg_sources_revslider'][0])) ? $values['eg_sources_revslider'][0] : '';
|
||||
else
|
||||
$slider_source = (isset($values['eg_sources_revslider'])) ? $values['eg_sources_revslider'] : '';
|
||||
}
|
||||
|
||||
if($slider_source === ''){
|
||||
return false;
|
||||
}else{
|
||||
return ' data-ajaxtype="'.$handle.'" data-ajaxsource="'.$slider_source.'"';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds custom meta field into the essential grid meta box for post/pages
|
||||
*/
|
||||
public function add_eg_additional_meta_field($values){
|
||||
|
||||
$sld = new RevSlider();
|
||||
$sliders = $sld->getArrSliders();
|
||||
$shortcodes = array();
|
||||
if(!empty($sliders)){
|
||||
$first = true;
|
||||
foreach($sliders as $slider){
|
||||
$name = $slider->getParam('shortcode','false');
|
||||
if($name != 'false'){
|
||||
$shortcodes[$slider->getID()] = $name;
|
||||
$first = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$selected_slider = (isset($values['eg_sources_revslider'])) ? $values['eg_sources_revslider'] : '';
|
||||
if($selected_slider == ''){
|
||||
$selected_slider = array();
|
||||
$selected_slider[0] = '';
|
||||
}
|
||||
?>
|
||||
<p>
|
||||
<strong style="font-size:14px"><?php _e('Choose Revolution Slider', 'revslider'); ?></strong>
|
||||
</p>
|
||||
<p>
|
||||
<select name="eg_sources_revslider" id="eg_sources_revslider">
|
||||
<option value=""<?php selected($selected_slider[0], ''); ?>><?php _e('--- Choose Slider ---', 'revslider'); ?></option>
|
||||
<?php
|
||||
if(!empty($shortcodes)){
|
||||
foreach($shortcodes as $id => $name){
|
||||
?>
|
||||
<option value="<?php echo $id; ?>"<?php selected($selected_slider[0], $id); ?>><?php echo $name; ?></option>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</p>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds custom meta field into the essential grid meta box for post/pages
|
||||
*/
|
||||
public function save_eg_additional_meta_field($metas, $post_id){
|
||||
|
||||
if(isset($metas['eg_sources_revslider']))
|
||||
update_post_meta($post_id, 'eg_sources_revslider', $metas['eg_sources_revslider']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds needed javascript to the DOM
|
||||
*/
|
||||
public function add_eg_additional_inline_javascript(){
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var ajaxRevslider;
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
// CUSTOM AJAX CONTENT LOADING FUNCTION
|
||||
ajaxRevslider = function(obj) {
|
||||
|
||||
// obj.type : Post Type
|
||||
// obj.id : ID of Content to Load
|
||||
// obj.aspectratio : The Aspect Ratio of the Container / Media
|
||||
// obj.selector : The Container Selector where the Content of Ajax will be injected. It is done via the Essential Grid on Return of Content
|
||||
|
||||
var content = "";
|
||||
|
||||
data = {};
|
||||
|
||||
data.action = 'revslider_ajax_call_front';
|
||||
data.client_action = 'get_slider_html';
|
||||
data.token = '<?php echo wp_create_nonce("RevSlider_Front"); ?>';
|
||||
data.type = obj.type;
|
||||
data.id = obj.id;
|
||||
data.aspectratio = obj.aspectratio;
|
||||
|
||||
// SYNC AJAX REQUEST
|
||||
jQuery.ajax({
|
||||
type:"post",
|
||||
url:"<?php echo admin_url('admin-ajax.php'); ?>",
|
||||
dataType: 'json',
|
||||
data:data,
|
||||
async:false,
|
||||
success: function(ret, textStatus, XMLHttpRequest) {
|
||||
if(ret.success == true)
|
||||
content = ret.data;
|
||||
},
|
||||
error: function(e) {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
|
||||
// FIRST RETURN THE CONTENT WHEN IT IS LOADED !!
|
||||
return content;
|
||||
};
|
||||
|
||||
// CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER
|
||||
var ajaxRemoveRevslider = function(obj) {
|
||||
return jQuery(obj.selector+" .rev_slider").revkill();
|
||||
};
|
||||
|
||||
// EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION
|
||||
var extendessential = setInterval(function() {
|
||||
if (jQuery.fn.tpessential != undefined) {
|
||||
clearInterval(extendessential);
|
||||
if(typeof(jQuery.fn.tpessential.defaults) !== 'undefined') {
|
||||
jQuery.fn.tpessential.defaults.ajaxTypes.push({type:"revslider",func:ajaxRevslider,killfunc:ajaxRemoveRevslider,openAnimationSpeed:0.3});
|
||||
// type: Name of the Post to load via Ajax into the Essential Grid Ajax Container
|
||||
// func: the Function Name which is Called once the Item with the Post Type has been clicked
|
||||
// killfunc: function to kill in case the Ajax Window going to be removed (before Remove function !
|
||||
// openAnimationSpeed: how quick the Ajax Content window should be animated (default is 0.3)
|
||||
}
|
||||
}
|
||||
},30);
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,278 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* The admin-specific functionality of the plugin.
|
||||
*
|
||||
* @link h
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @package Rev_addon
|
||||
* @subpackage Rev_addon/admin
|
||||
*/
|
||||
|
||||
/**
|
||||
* The admin-specific functionality of the plugin.
|
||||
*
|
||||
* Defines the plugin name, version, and two examples hooks for how to
|
||||
* enqueue the admin-specific stylesheet and JavaScript.
|
||||
*
|
||||
* @package Rev_addon
|
||||
* @subpackage Rev_addon/admin
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
*/
|
||||
class Rev_addon_Admin {
|
||||
|
||||
/**
|
||||
* The ID of this plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @access private
|
||||
* @var string $plugin_name The ID of this plugin.
|
||||
*/
|
||||
private $plugin_name;
|
||||
|
||||
/**
|
||||
* The version of this plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @access private
|
||||
* @var string $version The current version of this plugin.
|
||||
*/
|
||||
private $version;
|
||||
|
||||
/**
|
||||
* Initialize the class and set its properties.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @param string $plugin_name The name of this plugin.
|
||||
* @param string $version The version of this plugin.
|
||||
*/
|
||||
public function __construct( $plugin_name, $version ) {
|
||||
|
||||
$this->plugin_name = $plugin_name;
|
||||
$this->version = $version;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the stylesheets for the admin area.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function enqueue_styles() {
|
||||
|
||||
/**
|
||||
* This function is provided for demonstration purposes only.
|
||||
*
|
||||
* An instance of this class should be passed to the run() function
|
||||
* defined in Rev_addon_Loader as all of the hooks are defined
|
||||
* in that particular class.
|
||||
*
|
||||
* The Rev_addon_Loader will then create the relationship
|
||||
* between the defined hooks and the functions defined in this
|
||||
* class.
|
||||
*/
|
||||
|
||||
if(isset($_GET["page"]) && $_GET["page"]=="rev_addon"){
|
||||
wp_enqueue_style('rs-plugin-settings', RS_PLUGIN_URL .'admin/assets/css/admin.css', array(), RevSliderGlobals::SLIDER_REVISION);
|
||||
wp_enqueue_style( $this->plugin_name, RS_PLUGIN_URL . 'admin/assets/css/rev_addon-admin.css', array( ), $this->version);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the JavaScript for the admin area.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function enqueue_scripts() {
|
||||
|
||||
/**
|
||||
* This function is provided for demonstration purposes only.
|
||||
*
|
||||
* An instance of this class should be passed to the run() function
|
||||
* defined in Rev_addon_Loader as all of the hooks are defined
|
||||
* in that particular class.
|
||||
*
|
||||
* The Rev_addon_Loader will then create the relationship
|
||||
* between the defined hooks and the functions defined in this
|
||||
* class.
|
||||
*/
|
||||
|
||||
if(isset($_GET["page"]) && $_GET["page"]=="rev_addon"){
|
||||
wp_enqueue_script('tp-tools', RS_PLUGIN_URL .'public/assets/js/jquery.themepunch.tools.min.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('unite_admin', RS_PLUGIN_URL .'admin/assets/js/admin.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script( $this->plugin_name, RS_PLUGIN_URL .'admin/assets/js/rev_addon-admin.js', array( 'jquery' ), $this->version, false );
|
||||
wp_localize_script( $this->plugin_name, 'rev_slider_addon', array(
|
||||
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
||||
'please_wait_a_moment' => __("Please Wait a Moment",'revslider'),
|
||||
'settings_saved' => __("Settings saved",'revslider')
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the administration menu for this plugin into the WordPress Dashboard menu.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function add_plugin_admin_menu() {
|
||||
$this->plugin_screen_hook_suffix = add_submenu_page(
|
||||
'revslider',
|
||||
__( 'Add-Ons', 'revslider' ),
|
||||
__( 'Add-Ons', 'revslider' ),
|
||||
'manage_options',
|
||||
$this->plugin_name,
|
||||
array( $this, 'display_plugin_admin_page' )
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the settings page for this plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function display_plugin_admin_page() {
|
||||
include_once( RS_PLUGIN_PATH.'admin/views/rev_addon-admin-display.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Activates Installed Add-On/Plugin
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function activate_plugin() {
|
||||
// Verify that the incoming request is coming with the security nonce
|
||||
if( wp_verify_nonce( $_REQUEST['nonce'], 'ajax_rev_slider_addon_nonce' ) ) {
|
||||
if(isset($_REQUEST['plugin'])){
|
||||
//update_option( "rev_slider_addon_gal_default", sanitize_text_field($_REQUEST['default_gallery']) );
|
||||
$result = activate_plugin( $_REQUEST['plugin'] );
|
||||
if ( is_wp_error( $result ) ) {
|
||||
// Process Error
|
||||
die('0');
|
||||
}
|
||||
die( '1' );
|
||||
}
|
||||
else{
|
||||
die( '0' );
|
||||
}
|
||||
}
|
||||
else {
|
||||
die( '-1' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Deactivates Installed Add-On/Plugin
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function deactivate_plugin() {
|
||||
// Verify that the incoming request is coming with the security nonce
|
||||
if( wp_verify_nonce( $_REQUEST['nonce'], 'ajax_rev_slider_addon_nonce' ) ) {
|
||||
if(isset($_REQUEST['plugin'])){
|
||||
//update_option( "rev_slider_addon_gal_default", sanitize_text_field($_REQUEST['default_gallery']) );
|
||||
$result = deactivate_plugins( $_REQUEST['plugin'] );
|
||||
if ( is_wp_error( $result ) ) {
|
||||
// Process Error
|
||||
die('0');
|
||||
}
|
||||
die( '1' );
|
||||
}
|
||||
else{
|
||||
die( '0' );
|
||||
}
|
||||
}
|
||||
else {
|
||||
die( '-1' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Install Add-On/Plugin
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function install_plugin() {
|
||||
if( wp_verify_nonce( $_REQUEST['nonce'], 'ajax_rev_slider_addon_nonce' ) ) {
|
||||
if(isset($_REQUEST['plugin'])){
|
||||
global $wp_version, $rslb;
|
||||
|
||||
$plugin_slug = basename($_REQUEST['plugin']);
|
||||
$plugin_result = false;
|
||||
$plugin_message = 'UNKNOWN';
|
||||
|
||||
if(0 !== strpos($plugin_slug, 'revslider-')) die( '-1' );
|
||||
|
||||
$done = false;
|
||||
$count = 0;
|
||||
do{
|
||||
$url = $rslb->get_url('updates');
|
||||
$url .= '/addons/'.$plugin_slug.'/'.$plugin_slug.'.zip';
|
||||
|
||||
$get = wp_remote_post($url, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'body' => '',
|
||||
'timeout' => 45
|
||||
));
|
||||
|
||||
$response_code = wp_remote_retrieve_response_code( $get );
|
||||
if($response_code == 200){
|
||||
$done = true;
|
||||
}else{
|
||||
$rslb->move_server_list();
|
||||
}
|
||||
|
||||
$count++;
|
||||
}while($done == false && $count < 5);
|
||||
|
||||
if( !$get || $get["response"]["code"] != "200" ){
|
||||
$plugin_message = 'FAILED TO DOWNLOAD';
|
||||
}else{
|
||||
$plugin_message = 'ZIP is there';
|
||||
$upload_dir = wp_upload_dir();
|
||||
$file = $upload_dir['basedir']. '/revslider/templates/' . $plugin_slug . '.zip';
|
||||
@mkdir(dirname($file));
|
||||
$ret = @file_put_contents( $file, $get['body'] );
|
||||
|
||||
WP_Filesystem();
|
||||
|
||||
global $wp_filesystem;
|
||||
|
||||
$upload_dir = wp_upload_dir();
|
||||
$d_path = WP_PLUGIN_DIR;
|
||||
$unzipfile = unzip_file( $file, $d_path);
|
||||
|
||||
if( is_wp_error($unzipfile) ){
|
||||
define('FS_METHOD', 'direct'); //lets try direct.
|
||||
|
||||
WP_Filesystem(); //WP_Filesystem() needs to be called again since now we use direct !
|
||||
|
||||
//@chmod($file, 0775);
|
||||
$unzipfile = unzip_file( $file, $d_path);
|
||||
if( is_wp_error($unzipfile) ){
|
||||
$d_path = WP_PLUGIN_DIR;
|
||||
$unzipfile = unzip_file( $file, $d_path);
|
||||
|
||||
if( is_wp_error($unzipfile) ){
|
||||
$f = basename($file);
|
||||
$d_path = str_replace($f, '', $file);
|
||||
|
||||
$unzipfile = unzip_file( $file, $d_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
@unlink($file);
|
||||
die('1');
|
||||
}
|
||||
//$result = activate_plugin( $plugin_slug.'/'.$plugin_slug.'.php' );
|
||||
}
|
||||
else{
|
||||
die( '0' );
|
||||
}
|
||||
}
|
||||
else {
|
||||
die( '-1' );
|
||||
}
|
||||
}
|
||||
|
||||
} // END of class
|
||||
@@ -0,0 +1,205 @@
|
||||
<?php
|
||||
/**
|
||||
* Title : Aqua Resizer
|
||||
* Description : Resizes WordPress images on the fly
|
||||
* Version : 1.2.0
|
||||
* Author : Syamil MJ
|
||||
* Author URI : http://aquagraphite.com
|
||||
* License : WTFPL - http://sam.zoy.org/wtfpl/
|
||||
* Documentation : https://github.com/sy4mil/Aqua-Resizer/
|
||||
*
|
||||
* @param string $url - (required) must be uploaded using wp media uploader
|
||||
* @param int $width - (required)
|
||||
* @param int $height - (optional)
|
||||
* @param bool $crop - (optional) default to soft crop
|
||||
* @param bool $single - (optional) returns an array if false
|
||||
* @uses wp_upload_dir()
|
||||
* @uses image_resize_dimensions()
|
||||
* @uses wp_get_image_editor()
|
||||
*
|
||||
* @return str|array
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
if(!class_exists('Rev_Aq_Resize')) {
|
||||
class Rev_Aq_Resize
|
||||
{
|
||||
/**
|
||||
* The singleton instance
|
||||
*/
|
||||
static private $instance = null;
|
||||
|
||||
/**
|
||||
* No initialization allowed
|
||||
*/
|
||||
private function __construct() {}
|
||||
|
||||
/**
|
||||
* No cloning allowed
|
||||
*/
|
||||
private function __clone() {}
|
||||
|
||||
/**
|
||||
* For your custom default usage you may want to initialize an Aq_Resize object by yourself and then have own defaults
|
||||
*/
|
||||
static public function getInstance() {
|
||||
if(self::$instance == null) {
|
||||
self::$instance = new self;
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run, forest.
|
||||
*/
|
||||
public function process( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
|
||||
// Validate inputs.
|
||||
if ( ! $url || ( ! $width && ! $height ) ) return false;
|
||||
|
||||
// Caipt'n, ready to hook.
|
||||
if ( true === $upscale ) add_filter( 'image_resize_dimensions', array($this, 'aq_upscale'), 10, 6 );
|
||||
|
||||
// Define upload path & dir.
|
||||
$upload_info = wp_upload_dir();
|
||||
$upload_dir = $upload_info['basedir'];
|
||||
$upload_url = $upload_info['baseurl'];
|
||||
|
||||
$http_prefix = "http://";
|
||||
$https_prefix = "https://";
|
||||
|
||||
/* if the $url scheme differs from $upload_url scheme, make them match
|
||||
if the schemes differe, images don't show up. */
|
||||
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
||||
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
||||
}
|
||||
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
||||
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
||||
}
|
||||
|
||||
|
||||
// Check if $img_url is local.
|
||||
if ( false === strpos( $url, $upload_url ) ) return false;
|
||||
|
||||
// Define path of image.
|
||||
$rel_path = str_replace( $upload_url, '', $url );
|
||||
$img_path = $upload_dir . $rel_path;
|
||||
|
||||
// Check if img path exists, and is an image indeed.
|
||||
if ( ! file_exists( $img_path ) or ! @getimagesize( $img_path ) ) return false;
|
||||
|
||||
// Get image info.
|
||||
$info = pathinfo( $img_path );
|
||||
$ext = $info['extension'];
|
||||
list( $orig_w, $orig_h ) = getimagesize( $img_path );
|
||||
|
||||
// Get image size after cropping.
|
||||
$dims = image_resize_dimensions( $orig_w, $orig_h, $width, $height, $crop );
|
||||
$dst_w = $dims[4];
|
||||
$dst_h = $dims[5];
|
||||
|
||||
// Return the original image only if it exactly fits the needed measures.
|
||||
if ( ! $dims && ( ( ( null === $height && $orig_w == $width ) xor ( null === $width && $orig_h == $height ) ) xor ( $height == $orig_h && $width == $orig_w ) ) ) {
|
||||
$img_url = $url;
|
||||
$dst_w = $orig_w;
|
||||
$dst_h = $orig_h;
|
||||
} else {
|
||||
// Use this to check if cropped image already exists, so we can return that instead.
|
||||
$suffix = "{$dst_w}x{$dst_h}";
|
||||
$dst_rel_path = str_replace( '.' . $ext, '', $rel_path );
|
||||
$destfilename = "{$upload_dir}{$dst_rel_path}-{$suffix}.{$ext}";
|
||||
|
||||
if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) ) {
|
||||
// Can't resize, so return false saying that the action to do could not be processed as planned.
|
||||
return false;
|
||||
}
|
||||
// Else check if cache exists.
|
||||
elseif ( file_exists( $destfilename ) && getimagesize( $destfilename ) ) {
|
||||
$img_url = "{$upload_url}{$dst_rel_path}-{$suffix}.{$ext}";
|
||||
}
|
||||
// Else, we resize the image and return the new resized image url.
|
||||
else {
|
||||
|
||||
$editor = wp_get_image_editor( $img_path );
|
||||
|
||||
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) )
|
||||
return false;
|
||||
|
||||
$resized_file = $editor->save();
|
||||
|
||||
if ( ! is_wp_error( $resized_file ) ) {
|
||||
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
||||
$img_url = $upload_url . $resized_rel_path;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Okay, leave the ship.
|
||||
if ( true === $upscale ) remove_filter( 'image_resize_dimensions', array( $this, 'aq_upscale' ) );
|
||||
|
||||
// Return the output.
|
||||
if ( $single ) {
|
||||
// str return.
|
||||
$image = $img_url;
|
||||
} else {
|
||||
// array return.
|
||||
$image = array (
|
||||
0 => $img_url,
|
||||
1 => $dst_w,
|
||||
2 => $dst_h
|
||||
);
|
||||
}
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback to overwrite WP computing of thumbnail measures
|
||||
*/
|
||||
function aq_upscale( $default, $orig_w, $orig_h, $dest_w, $dest_h, $crop ) {
|
||||
if ( ! $crop ) return null; // Let the wordpress default function handle this.
|
||||
|
||||
// Here is the point we allow to use larger image size than the original one.
|
||||
$aspect_ratio = $orig_w / $orig_h;
|
||||
$new_w = $dest_w;
|
||||
$new_h = $dest_h;
|
||||
|
||||
if ( ! $new_w ) {
|
||||
$new_w = intval( $new_h * $aspect_ratio );
|
||||
}
|
||||
|
||||
if ( ! $new_h ) {
|
||||
$new_h = intval( $new_w / $aspect_ratio );
|
||||
}
|
||||
|
||||
$size_ratio = max( $new_w / $orig_w, $new_h / $orig_h );
|
||||
|
||||
$crop_w = round( $new_w / $size_ratio );
|
||||
$crop_h = round( $new_h / $size_ratio );
|
||||
|
||||
$s_x = floor( ( $orig_w - $crop_w ) / 2 );
|
||||
$s_y = floor( ( $orig_h - $crop_h ) / 2 );
|
||||
|
||||
return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(!function_exists('rev_aq_resize')) {
|
||||
|
||||
/**
|
||||
* This is just a tiny wrapper function for the class above so that there is no
|
||||
* need to change any code in your own WP themes. Usage is still the same :)
|
||||
*/
|
||||
function rev_aq_resize( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
|
||||
$aq_resize = Rev_Aq_Resize::getInstance();
|
||||
return $aq_resize->process( $url, $width, $height, $crop, $single, $upscale );
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,543 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderBaseAdmin extends RevSliderBase {
|
||||
|
||||
protected static $master_view;
|
||||
protected static $view;
|
||||
|
||||
private static $arrSettings = array();
|
||||
private static $arrMenuPages = array();
|
||||
private static $arrSubMenuPages = array();
|
||||
private static $tempVars = array();
|
||||
private static $startupError = '';
|
||||
private static $menuRole = 'admin';
|
||||
private static $arrMetaBoxes = array(); //option boxes that will be added to post
|
||||
|
||||
private static $allowed_views = array('master-view', 'system/validation', 'system/dialog-video', 'system/dialog-update', 'system/dialog-global-settings', 'sliders', 'slider', 'slider_template', 'slides', 'slide', 'navigation-editor', 'slide-editor', 'slide-overview', 'slide-editor', 'slider-overview', 'themepunch-google-fonts', 'global-settings');
|
||||
|
||||
/**
|
||||
*
|
||||
* main constructor
|
||||
*/
|
||||
public function __construct($t){
|
||||
|
||||
parent::__construct($t);
|
||||
|
||||
//set view
|
||||
self::$view = self::getGetVar("view");
|
||||
if(empty(self::$view))
|
||||
self::$view = 'sliders';
|
||||
|
||||
//add internal hook for adding a menu in arrMenus
|
||||
add_action('admin_menu', array('RevSliderBaseAdmin', 'addAdminMenu'));
|
||||
add_action('add_meta_boxes', array('RevSliderBaseAdmin', 'onAddMetaboxes'));
|
||||
add_action('save_post', array('RevSliderBaseAdmin', 'onSavePost'));
|
||||
|
||||
//if not inside plugin don't continue
|
||||
if($this->isInsidePlugin() == true){
|
||||
add_action('admin_enqueue_scripts', array('RevSliderBaseAdmin', 'addCommonScripts'));
|
||||
add_action('admin_enqueue_scripts', array('RevSliderAdmin', 'onAddScripts'));
|
||||
}else{
|
||||
add_action('admin_enqueue_scripts', array('RevSliderBaseAdmin', 'addGlobalScripts'));
|
||||
}
|
||||
|
||||
//a must event for any admin. call onActivate function.
|
||||
$this->addEvent_onActivate();
|
||||
$this->addAction_onActivate();
|
||||
|
||||
self::addActionAjax('show_image', 'onShowImage');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* add some meta box
|
||||
* return metabox handle
|
||||
*/
|
||||
public static function addMetaBox($title,$content = null, $customDrawFunction = null,$location="post"){
|
||||
|
||||
$box = array();
|
||||
$box['title'] = $title;
|
||||
$box['location'] = $location;
|
||||
$box['content'] = $content;
|
||||
$box['draw_function'] = $customDrawFunction;
|
||||
|
||||
self::$arrMetaBoxes[] = $box;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* on add metaboxes
|
||||
*/
|
||||
public static function onAddMetaboxes(){
|
||||
|
||||
foreach(self::$arrMetaBoxes as $index=>$box){
|
||||
|
||||
$title = $box['title'];
|
||||
$location = $box['location'];
|
||||
|
||||
$boxID = 'mymetabox_revslider_'.$index;
|
||||
$function = array(self::$t, "onAddMetaBoxContent");
|
||||
|
||||
if(is_array($location)){
|
||||
foreach($location as $loc)
|
||||
add_meta_box($boxID,$title,$function,$loc,'normal','default');
|
||||
}else
|
||||
add_meta_box($boxID,$title,$function,$location,'normal','default');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* on save post meta. Update metaboxes data from post, add it to the post meta
|
||||
*/
|
||||
public static function onSavePost(){
|
||||
|
||||
//protection against autosave
|
||||
if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ){
|
||||
$postID = RevSliderFunctions::getPostVariable("ID");
|
||||
return $postID;
|
||||
}
|
||||
|
||||
$postID = RevSliderFunctions::getPostVariable("ID");
|
||||
if(empty($postID))
|
||||
return(false);
|
||||
|
||||
|
||||
foreach(self::$arrMetaBoxes as $box){
|
||||
|
||||
$arrSettingNames = array('slide_template');
|
||||
foreach($arrSettingNames as $name){
|
||||
$value = RevSliderFunctions::getPostVariable($name);
|
||||
update_post_meta( $postID, $name, $value );
|
||||
} //end foreach settings
|
||||
|
||||
} //end foreach meta
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* on add metabox content
|
||||
*/
|
||||
public static function onAddMetaBoxContent($post,$boxData){
|
||||
|
||||
$postID = $post->ID;
|
||||
|
||||
$boxID = RevSliderFunctions::getVal($boxData, "id");
|
||||
$index = str_replace('mymetabox_revslider_',"",$boxID);
|
||||
|
||||
$arrMetabox = self::$arrMetaBoxes[$index];
|
||||
|
||||
|
||||
//draw element
|
||||
$drawFunction = RevSliderFunctions::getVal($arrMetabox, "draw_function");
|
||||
if(!empty($drawFunction))
|
||||
call_user_func($drawFunction);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* set the menu role - for viewing menus
|
||||
*/
|
||||
public static function setMenuRole($menuRole){
|
||||
self::$menuRole = $menuRole;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get the menu role - for viewing menus
|
||||
*/
|
||||
public static function getMenuRole(){
|
||||
return self::$menuRole;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* set startup error to be shown in master view
|
||||
*/
|
||||
public static function setStartupError($errorMessage){
|
||||
self::$startupError = $errorMessage;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* tells if the the current plugin opened is this plugin or not
|
||||
* in the admin side.
|
||||
*/
|
||||
private function isInsidePlugin(){
|
||||
$page = self::getGetVar("page");
|
||||
|
||||
if($page == 'revslider' || $page == 'themepunch-google-fonts' || $page == 'revslider_navigation' || $page == 'revslider_global_settings')
|
||||
return(true);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add global used scripts
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function addGlobalScripts(){
|
||||
wp_enqueue_script(array('jquery', 'jquery-ui-core', 'jquery-ui-sortable', 'wpdialogs'));
|
||||
wp_enqueue_style(array('wp-jquery-ui', 'wp-jquery-ui-dialog', 'wp-jquery-ui-core'));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add common used scripts
|
||||
*/
|
||||
public static function addCommonScripts(){
|
||||
|
||||
if(function_exists("wp_enqueue_media"))
|
||||
wp_enqueue_media();
|
||||
|
||||
wp_enqueue_script(array('jquery', 'jquery-ui-core', 'jquery-ui-mouse', 'jquery-ui-accordion', 'jquery-ui-datepicker', 'jquery-ui-dialog', 'jquery-ui-slider', 'jquery-ui-autocomplete', 'jquery-ui-sortable', 'jquery-ui-droppable', 'jquery-ui-tabs', 'jquery-ui-widget', 'wp-color-picker'));
|
||||
|
||||
wp_enqueue_style(array('wp-jquery-ui', 'wp-jquery-ui-core', 'wp-jquery-ui-dialog', 'wp-color-picker'));
|
||||
|
||||
wp_enqueue_script('unite_settings', RS_PLUGIN_URL .'admin/assets/js/settings.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('unite_admin', RS_PLUGIN_URL .'admin/assets/js/admin.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
|
||||
wp_enqueue_style('unite_admin', RS_PLUGIN_URL .'admin/assets/css/admin.css', array(), RevSliderGlobals::SLIDER_REVISION);
|
||||
|
||||
//add tipsy
|
||||
wp_enqueue_script('tipsy', RS_PLUGIN_URL .'admin/assets/js/jquery.tipsy.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_style('tipsy', RS_PLUGIN_URL .'admin/assets/css/tipsy.css', array(), RevSliderGlobals::SLIDER_REVISION);
|
||||
|
||||
//include codemirror
|
||||
wp_enqueue_script('codemirror_js', RS_PLUGIN_URL .'admin/assets/js/codemirror/codemirror.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('codemirror_js_highlight', RS_PLUGIN_URL .'admin/assets/js/codemirror/util/match-highlighter.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('codemirror_js_searchcursor', RS_PLUGIN_URL .'admin/assets/js/codemirror/util/searchcursor.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('codemirror_js_css', RS_PLUGIN_URL .'admin/assets/js/codemirror/css.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('codemirror_js_html', RS_PLUGIN_URL .'admin/assets/js/codemirror/xml.js', array(), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_style('codemirror_css', RS_PLUGIN_URL .'admin/assets/js/codemirror/codemirror.css', array(), RevSliderGlobals::SLIDER_REVISION);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* admin pages parent, includes all the admin files by default
|
||||
*/
|
||||
public static function adminPages(){
|
||||
//self::validateAdminPermissions();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* validate permission that the user is admin, and can manage options.
|
||||
*/
|
||||
protected static function isAdminPermissions(){
|
||||
|
||||
if( is_admin() && current_user_can("manage_options") )
|
||||
return(true);
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* validate admin permissions, if no pemissions - exit
|
||||
*/
|
||||
protected static function validateAdminPermissions(){
|
||||
if(!self::isAdminPermissions()){
|
||||
echo "access denied";
|
||||
return(false);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* set view that will be the master
|
||||
*/
|
||||
protected static function setMasterView($masterView){
|
||||
self::$master_view = $masterView;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* inlcude some view file
|
||||
*/
|
||||
protected static function requireView($view){
|
||||
try{
|
||||
//require master view file, and
|
||||
if(!empty(self::$master_view) && !isset(self::$tempVars["is_masterView"]) ){
|
||||
$masterViewFilepath = self::$path_views.self::$master_view.".php";
|
||||
RevSliderFunctions::validateFilepath($masterViewFilepath,"Master View");
|
||||
|
||||
self::$tempVars["is_masterView"] = true;
|
||||
require $masterViewFilepath;
|
||||
}else{ //simple require the view file.
|
||||
if(!in_array($view, self::$allowed_views)) UniteFunctionsRev::throwError(__('Wrong Request', 'revslider'));
|
||||
|
||||
switch($view){ //switch URLs to corresponding php files
|
||||
case 'slide':
|
||||
$view = 'slide-editor';
|
||||
break;
|
||||
case 'slider':
|
||||
$view = 'slider-editor';
|
||||
break;
|
||||
case 'sliders':
|
||||
$view = 'slider-overview';
|
||||
break;
|
||||
case 'slides':
|
||||
$view = 'slide-overview';
|
||||
break;
|
||||
}
|
||||
|
||||
$viewFilepath = self::$path_views.$view.".php";
|
||||
|
||||
RevSliderFunctions::validateFilepath($viewFilepath,"View");
|
||||
require $viewFilepath;
|
||||
}
|
||||
|
||||
}catch (Exception $e){
|
||||
echo "<br><br>View (".esc_attr($view).") Error: <b>".esc_attr($e->getMessage())."</b>";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* require some template from "templates" folder
|
||||
*/
|
||||
protected static function getPathTemplate($templateName){
|
||||
$pathTemplate = self::$path_templates.$templateName.'.php';
|
||||
RevSliderFunctions::validateFilepath($pathTemplate,'Template');
|
||||
|
||||
return($pathTemplate);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* add all js and css needed for media upload
|
||||
*/
|
||||
protected static function addMediaUploadIncludes(){
|
||||
|
||||
wp_enqueue_script('thickbox');
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_style('thickbox');
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add admin menus from the list.
|
||||
*/
|
||||
public static function addAdminMenu(){
|
||||
global $revslider_screens;
|
||||
|
||||
$role = "manage_options";
|
||||
|
||||
switch(self::$menuRole){
|
||||
case 'author':
|
||||
$role = "edit_published_posts";
|
||||
break;
|
||||
case 'editor':
|
||||
$role = "edit_pages";
|
||||
break;
|
||||
default:
|
||||
case 'admin':
|
||||
$role = "manage_options";
|
||||
break;
|
||||
}
|
||||
|
||||
foreach(self::$arrMenuPages as $menu){
|
||||
$title = $menu["title"];
|
||||
$pageFunctionName = $menu["pageFunction"];
|
||||
$revslider_screens[] = add_menu_page( $title, $title, $role, 'revslider', array(self::$t, $pageFunctionName), 'dashicons-update' );
|
||||
}
|
||||
|
||||
foreach(self::$arrSubMenuPages as $menu){
|
||||
$title = $menu["title"];
|
||||
$pageFunctionName = $menu["pageFunction"];
|
||||
$pageSlug = $menu["pageSlug"];
|
||||
$revslider_screens[] = add_submenu_page( 'revslider', $title, $title, $role, $pageSlug, array(self::$t, $pageFunctionName) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* add menu page
|
||||
*/
|
||||
protected static function addMenuPage($title,$pageFunctionName){
|
||||
|
||||
self::$arrMenuPages[] = array("title"=>$title,"pageFunction"=>$pageFunctionName);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* add menu page
|
||||
*/
|
||||
protected static function addSubMenuPage($title,$pageFunctionName,$pageSlug){
|
||||
|
||||
self::$arrSubMenuPages[] = array("title"=>$title,"pageFunction"=>$pageFunctionName,"pageSlug"=>$pageSlug);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get url to some view.
|
||||
*/
|
||||
public static function getViewUrl($viewName,$urlParams=""){
|
||||
$params = "&view=".$viewName;
|
||||
if(!empty($urlParams))
|
||||
$params .= "&".$urlParams;
|
||||
|
||||
$link = admin_url( 'admin.php?page=revslider'.$params);
|
||||
return($link);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* register the "onActivate" event
|
||||
*/
|
||||
protected function addEvent_onActivate($eventFunc = "onActivate"){
|
||||
register_activation_hook( RS_PLUGIN_FILE_PATH, array(self::$t, $eventFunc) );
|
||||
}
|
||||
|
||||
|
||||
protected function addAction_onActivate(){
|
||||
register_activation_hook( RS_PLUGIN_FILE_PATH, array(self::$t, 'onActivateHook') );
|
||||
}
|
||||
|
||||
|
||||
public static function onActivateHook(){
|
||||
|
||||
$options = array();
|
||||
|
||||
$options = apply_filters('revslider_mod_activation_option', $options);
|
||||
|
||||
|
||||
$operations = new RevSliderOperations();
|
||||
$options_exist = $operations->getGeneralSettingsValues();
|
||||
if(!is_array($options_exist)) $options_exist = array();
|
||||
|
||||
$options = array_merge($options_exist, $options);
|
||||
|
||||
$operations->updateGeneralSettings($options);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* store settings in the object
|
||||
*/
|
||||
protected static function storeSettings($key,$settings){
|
||||
self::$arrSettings[$key] = $settings;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get settings object
|
||||
*/
|
||||
protected static function getSettings($key){
|
||||
if(!isset(self::$arrSettings[$key]))
|
||||
RevSliderFunctions::throwError("Settings $key not found");
|
||||
$settings = self::$arrSettings[$key];
|
||||
return($settings);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* add ajax back end callback, on some action to some function.
|
||||
*/
|
||||
protected static function addActionAjax($ajaxAction,$eventFunction){
|
||||
add_action('wp_ajax_revslider_'.$ajaxAction, array('RevSliderAdmin', $eventFunction));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* echo json ajax response
|
||||
*/
|
||||
private static function ajaxResponse($success,$message,$arrData = null){
|
||||
|
||||
$response = array();
|
||||
$response["success"] = $success;
|
||||
$response["message"] = $message;
|
||||
|
||||
if(!empty($arrData)){
|
||||
|
||||
if(gettype($arrData) == "string")
|
||||
$arrData = array("data"=>$arrData);
|
||||
|
||||
$response = array_merge($response,$arrData);
|
||||
}
|
||||
|
||||
$json = json_encode($response);
|
||||
|
||||
echo $json;
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* echo json ajax response, without message, only data
|
||||
*/
|
||||
protected static function ajaxResponseData($arrData){
|
||||
if(gettype($arrData) == "string")
|
||||
$arrData = array("data"=>$arrData);
|
||||
|
||||
self::ajaxResponse(true,"",$arrData);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* echo json ajax response
|
||||
*/
|
||||
protected static function ajaxResponseError($message,$arrData = null){
|
||||
|
||||
self::ajaxResponse(false,$message,$arrData,true);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* echo ajax success response
|
||||
*/
|
||||
protected static function ajaxResponseSuccess($message,$arrData = null){
|
||||
|
||||
self::ajaxResponse(true,$message,$arrData,true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* echo ajax success response
|
||||
*/
|
||||
protected static function ajaxResponseSuccessRedirect($message,$url){
|
||||
$arrData = array("is_redirect"=>true,"redirect_url"=>$url);
|
||||
|
||||
self::ajaxResponse(true,$message,$arrData,true);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteBaseAdminClassRev extends RevSliderBaseAdmin {}
|
||||
?>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderBaseFront extends RevSliderBase {
|
||||
|
||||
const ACTION_ENQUEUE_SCRIPTS = "wp_enqueue_scripts";
|
||||
|
||||
/**
|
||||
*
|
||||
* main constructor
|
||||
*/
|
||||
public function __construct($t){
|
||||
|
||||
parent::__construct($t);
|
||||
|
||||
add_action('wp_enqueue_scripts', array('RevSliderFront', 'onAddScripts'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteBaseFrontClassRev extends RevSliderBaseFront {}
|
||||
?>
|
||||
@@ -0,0 +1,656 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderBase {
|
||||
|
||||
protected static $wpdb;
|
||||
protected static $table_prefix;
|
||||
protected static $t;
|
||||
|
||||
protected static $url_ajax;
|
||||
protected static $url_ajax_showimage;
|
||||
protected static $path_views;
|
||||
protected static $path_templates;
|
||||
protected static $is_multisite;
|
||||
public static $url_ajax_actions;
|
||||
|
||||
/**
|
||||
*
|
||||
* the constructor
|
||||
*/
|
||||
public function __construct($t){
|
||||
global $wpdb;
|
||||
|
||||
self::$is_multisite = RevSliderFunctionsWP::isMultisite();
|
||||
|
||||
self::$wpdb = $wpdb;
|
||||
self::$table_prefix = self::$wpdb->base_prefix;
|
||||
if(self::$is_multisite){
|
||||
$blogID = RevSliderFunctionsWP::getBlogID();
|
||||
if($blogID != 1){
|
||||
self::$table_prefix .= $blogID."_";
|
||||
}
|
||||
}
|
||||
|
||||
self::$t = $t;
|
||||
|
||||
self::$url_ajax = admin_url("admin-ajax.php");
|
||||
self::$url_ajax_actions = self::$url_ajax . "?action=revslider_ajax_action";
|
||||
self::$url_ajax_showimage = self::$url_ajax . "?action=revslider_show_image";
|
||||
|
||||
self::$path_views = RS_PLUGIN_PATH."admin/views/";
|
||||
self::$path_templates = self::$path_views."/templates/";
|
||||
|
||||
load_plugin_textdomain('revslider',false,'revslider/languages/');
|
||||
|
||||
//update globals oldversion flag
|
||||
RevSliderGlobals::$isNewVersion = false;
|
||||
$version = get_bloginfo("version");
|
||||
$version = (double)$version;
|
||||
if($version >= 3.5)
|
||||
RevSliderGlobals::$isNewVersion = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* add some wordpress action
|
||||
*/
|
||||
protected static function addAction($action,$eventFunction){
|
||||
|
||||
add_action( $action, array(self::$t, $eventFunction) );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get image url to be shown via thumb making script.
|
||||
*/
|
||||
public static function getImageUrl($filepath, $width=null,$height=null,$exact=false,$effect=null,$effect_param=null){
|
||||
|
||||
$urlImage = self::getUrlThumb(self::$url_ajax_showimage, $filepath,$width ,$height ,$exact ,$effect ,$effect_param);
|
||||
|
||||
return($urlImage);
|
||||
}
|
||||
|
||||
/**
|
||||
* get thumb url
|
||||
* @since: 5.0
|
||||
* @moved from image_view.class.php
|
||||
*/
|
||||
public static function getUrlThumb($urlBase, $filename,$width=null,$height=null,$exact=false,$effect=null,$effect_param=null){
|
||||
|
||||
$filename = urlencode($filename);
|
||||
|
||||
$url = $urlBase."&img=$filename";
|
||||
if(!empty($width))
|
||||
$url .= "&w=".$width;
|
||||
if(!empty($height))
|
||||
$url .= "&h=".$height;
|
||||
|
||||
if($exact == true){
|
||||
$url .= "&t=".self::TYPE_EXACT;
|
||||
}
|
||||
|
||||
if(!empty($effect)){
|
||||
$url .= "&e=".$effect;
|
||||
if(!empty($effect_param))
|
||||
$url .= "&ea1=".$effect_param;
|
||||
}
|
||||
|
||||
return($url);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* on show image ajax event. outputs image with parameters
|
||||
*/
|
||||
public static function onShowImage(){
|
||||
|
||||
$pathImages = RevSliderFunctionsWP::getPathContent();
|
||||
$urlImages = RevSliderFunctionsWP::getUrlContent();
|
||||
|
||||
try{
|
||||
$imageID = intval(RevSliderFunctions::getGetVar("img"));
|
||||
|
||||
$img = wp_get_attachment_image_src( $imageID, 'thumb' );
|
||||
|
||||
if(empty($img)) exit;
|
||||
|
||||
self::outputImage($img[0]);
|
||||
|
||||
}catch (Exception $e){
|
||||
header("status: 500");
|
||||
echo __('Image not Found', 'revslider');
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* show Image to client
|
||||
* @since: 5.0
|
||||
* @moved from image_view.class.php
|
||||
*/
|
||||
private static function outputImage($filepath){
|
||||
|
||||
$info = RevSliderFunctions::getPathInfo($filepath);
|
||||
$ext = $info["extension"];
|
||||
|
||||
$ext = strtolower($ext);
|
||||
if($ext == "jpg")
|
||||
$ext = "jpeg";
|
||||
|
||||
$numExpires = 31536000; //one year
|
||||
$strExpires = @date('D, d M Y H:i:s',time()+$numExpires);
|
||||
|
||||
$contents = file_get_contents($filepath);
|
||||
$filesize = strlen($contents);
|
||||
header("Expires: $strExpires GMT");
|
||||
header("Cache-Control: public");
|
||||
header("Content-Type: image/$ext");
|
||||
header("Content-Length: $filesize");
|
||||
|
||||
echo $contents;
|
||||
exit();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get POST var
|
||||
*/
|
||||
protected static function getPostVar($key,$defaultValue = ""){
|
||||
$val = self::getVar($_POST, $key, $defaultValue);
|
||||
return($val);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get GET var
|
||||
*/
|
||||
protected static function getGetVar($key,$defaultValue = ""){
|
||||
$val = self::getVar($_GET, $key, $defaultValue);
|
||||
return($val);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get post or get variable
|
||||
*/
|
||||
protected static function getPostGetVar($key,$defaultValue = ""){
|
||||
|
||||
if(array_key_exists($key, $_POST))
|
||||
$val = self::getVar($_POST, $key, $defaultValue);
|
||||
else
|
||||
$val = self::getVar($_GET, $key, $defaultValue);
|
||||
|
||||
return($val);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get some var from array
|
||||
*/
|
||||
public static function getVar($arr,$key,$defaultValue = ""){
|
||||
$val = $defaultValue;
|
||||
if(isset($arr[$key])) $val = $arr[$key];
|
||||
return($val);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get all images sizes + custom added sizes
|
||||
*/
|
||||
public static function get_all_image_sizes($type = 'gallery'){
|
||||
$custom_sizes = array();
|
||||
|
||||
switch($type){
|
||||
case 'flickr':
|
||||
$custom_sizes = array(
|
||||
'original' => __('Original', 'revslider'),
|
||||
'large' => __('Large', 'revslider'),
|
||||
'large-square' => __('Large Square', 'revslider'),
|
||||
'medium' => __('Medium', 'revslider'),
|
||||
'medium-800' => __('Medium 800', 'revslider'),
|
||||
'medium-640' => __('Medium 640', 'revslider'),
|
||||
'small' => __('Small', 'revslider'),
|
||||
'small-320' => __('Small 320', 'revslider'),
|
||||
'thumbnail'=> __('Thumbnail', 'revslider'),
|
||||
'square' => __('Square', 'revslider')
|
||||
);
|
||||
break;
|
||||
case 'instagram':
|
||||
$custom_sizes = array(
|
||||
'standard_resolution' => __('Standard Resolution', 'revslider'),
|
||||
'thumbnail' => __('Thumbnail', 'revslider'),
|
||||
'low_resolution' => __('Low Resolution', 'revslider')
|
||||
);
|
||||
break;
|
||||
case 'twitter':
|
||||
$custom_sizes = array(
|
||||
'large' => __('Standard Resolution', 'revslider')
|
||||
);
|
||||
break;
|
||||
case 'facebook':
|
||||
$custom_sizes = array(
|
||||
'full' => __('Original Size', 'revslider'),
|
||||
'thumbnail' => __('Thumbnail', 'revslider')
|
||||
);
|
||||
break;
|
||||
case 'youtube':
|
||||
$custom_sizes = array(
|
||||
'default' => __('Default', 'revslider'),
|
||||
'medium' => __('Medium', 'revslider'),
|
||||
'high' => __('High', 'revslider'),
|
||||
'standard' => __('Standard', 'revslider'),
|
||||
'maxres' => __('Max. Res.', 'revslider')
|
||||
);
|
||||
break;
|
||||
case 'vimeo':
|
||||
$custom_sizes = array(
|
||||
'thumbnail_small' => __('Small', 'revslider'),
|
||||
'thumbnail_medium' => __('Medium', 'revslider'),
|
||||
'thumbnail_large' => __('Large', 'revslider'),
|
||||
);
|
||||
break;
|
||||
case 'gallery':
|
||||
default:
|
||||
$added_image_sizes = get_intermediate_image_sizes();
|
||||
if(!empty($added_image_sizes) && is_array($added_image_sizes)){
|
||||
foreach($added_image_sizes as $key => $img_size_handle){
|
||||
$custom_sizes[$img_size_handle] = ucwords(str_replace('_', ' ', $img_size_handle));
|
||||
}
|
||||
}
|
||||
$img_orig_sources = array(
|
||||
'full' => __('Original Size', 'revslider'),
|
||||
'thumbnail' => __('Thumbnail', 'revslider'),
|
||||
'medium' => __('Medium', 'revslider'),
|
||||
'large' => __('Large', 'revslider')
|
||||
);
|
||||
$custom_sizes = array_merge($img_orig_sources, $custom_sizes);
|
||||
break;
|
||||
}
|
||||
|
||||
return $custom_sizes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* retrieve the image id from the given image url
|
||||
*/
|
||||
public static function get_image_id_by_url($image_url) {
|
||||
global $wpdb;
|
||||
|
||||
$attachment_id = 0;
|
||||
// If there is no url, return.
|
||||
if('' == $image_url || !$image_url)
|
||||
return $attachment_id;
|
||||
|
||||
if(function_exists('attachment_url_to_postid')){
|
||||
$attachment_id = attachment_url_to_postid($image_url); //0 if failed
|
||||
}
|
||||
if ( 0 == $attachment_id ){ //try to get it old school way
|
||||
//for WP < 4.0.0
|
||||
$attachment_id = false;
|
||||
|
||||
// Get the upload directory paths
|
||||
$upload_dir_paths = wp_upload_dir();
|
||||
|
||||
// Make sure the upload path base directory exists in the attachment URL, to verify that we're working with a media library image
|
||||
if ( false !== strpos( $image_url, $upload_dir_paths['baseurl'] ) ) {
|
||||
|
||||
// If this is the URL of an auto-generated thumbnail, get the URL of the original image
|
||||
$image_url = preg_replace( '/-\d+x\d+(?=\.(jpg|jpeg|png|gif)$)/i', '', $image_url );
|
||||
|
||||
// Remove the upload path base directory from the attachment URL
|
||||
$image_url = str_replace( $upload_dir_paths['baseurl'] . '/', '', $image_url );
|
||||
|
||||
// Finally, run a custom database query to get the attachment ID from the modified attachment URL
|
||||
$attachment_id = $wpdb->get_var( $wpdb->prepare( "SELECT wposts.ID FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = '_wp_attached_file' AND wpostmeta.meta_value = '%s' AND wposts.post_type = 'attachment'", $image_url ) );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return $attachment_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* get all the svg url sets used in Slider Revolution
|
||||
* @since: 5.1.7
|
||||
**/
|
||||
public static function get_svg_sets_url(){
|
||||
$svg_sets = array();
|
||||
|
||||
$path = RS_PLUGIN_PATH . 'public/assets/assets/svg/';
|
||||
$url = RS_PLUGIN_URL . 'public/assets/assets/svg/';
|
||||
|
||||
if(!file_exists($path.'action/ic_3d_rotation_24px.svg')){ //the path needs to be changed to the uploads folder then
|
||||
$upload_dir = wp_upload_dir();
|
||||
$path = $upload_dir['basedir'].'/revslider/assets/svg/';
|
||||
$url = $upload_dir['baseurl'].'/revslider/assets/svg/';
|
||||
}
|
||||
|
||||
$svg_sets['Actions'] = array('path' => $path.'action/', 'url' => $url.'action/');
|
||||
$svg_sets['Alerts'] = array('path' => $path.'alert/', 'url' => $url.'alert/');
|
||||
$svg_sets['AV'] = array('path' => $path.'av/', 'url' => $url.'av/');
|
||||
$svg_sets['Communication'] = array('path' => $path.'communication/', 'url' => $url.'communication/');
|
||||
$svg_sets['Content'] = array('path' => $path.'content/', 'url' => $url.'content/');
|
||||
$svg_sets['Device'] = array('path' => $path.'device/', 'url' => $url.'device/');
|
||||
$svg_sets['Editor'] = array('path' => $path.'editor/', 'url' => $url.'editor/');
|
||||
$svg_sets['File'] = array('path' => $path.'file/', 'url' => $url.'file/');
|
||||
$svg_sets['Hardware'] = array('path' => $path.'hardware/', 'url' => $url.'hardware/');
|
||||
$svg_sets['Images'] = array('path' => $path.'image/', 'url' => $url.'image/');
|
||||
$svg_sets['Maps'] = array('path' => $path.'maps/', 'url' => $url.'maps/');
|
||||
$svg_sets['Navigation'] = array('path' => $path.'navigation/', 'url' => $url.'navigation/');
|
||||
$svg_sets['Notifications'] = array('path' => $path.'notification/', 'url' => $url.'notification/');
|
||||
$svg_sets['Places'] = array('path' => $path.'places/', 'url' => $url.'places/');
|
||||
$svg_sets['Social'] = array('path' => $path.'social/', 'url' => $url.'social/');
|
||||
$svg_sets['Toggle'] = array('path' => $path.'toggle/', 'url' => $url.'toggle/');
|
||||
|
||||
|
||||
$svg_sets = apply_filters('revslider_get_svg_sets', $svg_sets);
|
||||
|
||||
return $svg_sets;
|
||||
}
|
||||
|
||||
/**
|
||||
* get all the svg files for given sets used in Slider Revolution
|
||||
* @since: 5.1.7
|
||||
**/
|
||||
public static function get_svg_sets_full(){
|
||||
|
||||
$svg_sets = self::get_svg_sets_url();
|
||||
|
||||
$svg = array();
|
||||
|
||||
if(!empty($svg_sets)){
|
||||
foreach($svg_sets as $handle => $values){
|
||||
$svg[$handle] = array();
|
||||
|
||||
if($dir = opendir($values['path'])) {
|
||||
while(false !== ($file = readdir($dir))){
|
||||
if ($file != "." && $file != "..") {
|
||||
$filetype = pathinfo($file);
|
||||
|
||||
if(isset($filetype['extension']) && $filetype['extension'] == 'svg'){
|
||||
$svg[$handle][$file] = $values['url'].$file;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$svg = apply_filters('revslider_get_svg_sets_full', $svg);
|
||||
|
||||
return $svg;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get all the icon sets used in Slider Revolution
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_icon_sets(){
|
||||
$icon_sets = array();
|
||||
|
||||
$icon_sets = apply_filters('revslider_mod_icon_sets', $icon_sets);
|
||||
|
||||
return $icon_sets;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add default icon sets of Slider Revolution
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function set_icon_sets($icon_sets){
|
||||
|
||||
$icon_sets[] = 'fa-icon-';
|
||||
$icon_sets[] = 'pe-7s-';
|
||||
|
||||
return $icon_sets;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* translates removed settings from Slider Settings from version <= 4.x to 5.0
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function translate_settings_to_v5($settings){
|
||||
|
||||
if(isset($settings['navigaion_type'])){
|
||||
switch($settings['navigaion_type']){
|
||||
case 'none': // all is off, so leave the defaults
|
||||
break;
|
||||
case 'bullet':
|
||||
$settings['enable_bullets'] = 'on';
|
||||
$settings['enable_thumbnails'] = 'off';
|
||||
$settings['enable_tabs'] = 'off';
|
||||
|
||||
break;
|
||||
case 'thumb':
|
||||
$settings['enable_bullets'] = 'off';
|
||||
$settings['enable_thumbnails'] = 'on';
|
||||
$settings['enable_tabs'] = 'off';
|
||||
break;
|
||||
}
|
||||
unset($settings['navigaion_type']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigation_arrows'])){
|
||||
$settings['enable_arrows'] = ($settings['navigation_arrows'] == 'solo' || $settings['navigation_arrows'] == 'nexttobullets') ? 'on' : 'off';
|
||||
unset($settings['navigation_arrows']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigation_style'])){
|
||||
$settings['navigation_arrow_style'] = $settings['navigation_style'];
|
||||
$settings['navigation_bullets_style'] = $settings['navigation_style'];
|
||||
unset($settings['navigation_style']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_always_on'])){
|
||||
$settings['arrows_always_on'] = $settings['navigaion_always_on'];
|
||||
$settings['bullets_always_on'] = $settings['navigaion_always_on'];
|
||||
$settings['thumbs_always_on'] = $settings['navigaion_always_on'];
|
||||
unset($settings['navigaion_always_on']);
|
||||
}
|
||||
|
||||
if(isset($settings['hide_thumbs']) && !isset($settings['hide_arrows']) && !isset($settings['hide_bullets'])){ //as hide_thumbs is still existing, we need to check if the other two were already set and only translate this if they are not set yet
|
||||
$settings['hide_arrows'] = $settings['hide_thumbs'];
|
||||
$settings['hide_bullets'] = $settings['hide_thumbs'];
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_align_vert'])){
|
||||
$settings['bullets_align_vert'] = $settings['navigaion_align_vert'];
|
||||
$settings['thumbnails_align_vert'] = $settings['navigaion_align_vert'];
|
||||
unset($settings['navigaion_align_vert']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_align_hor'])){
|
||||
$settings['bullets_align_hor'] = $settings['navigaion_align_hor'];
|
||||
$settings['thumbnails_align_hor'] = $settings['navigaion_align_hor'];
|
||||
unset($settings['navigaion_align_hor']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_offset_hor'])){
|
||||
$settings['bullets_offset_hor'] = $settings['navigaion_offset_hor'];
|
||||
$settings['thumbnails_offset_hor'] = $settings['navigaion_offset_hor'];
|
||||
unset($settings['navigaion_offset_hor']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_offset_hor'])){
|
||||
$settings['bullets_offset_hor'] = $settings['navigaion_offset_hor'];
|
||||
$settings['thumbnails_offset_hor'] = $settings['navigaion_offset_hor'];
|
||||
unset($settings['navigaion_offset_hor']);
|
||||
}
|
||||
|
||||
if(isset($settings['navigaion_offset_vert'])){
|
||||
$settings['bullets_offset_vert'] = $settings['navigaion_offset_vert'];
|
||||
$settings['thumbnails_offset_vert'] = $settings['navigaion_offset_vert'];
|
||||
unset($settings['navigaion_offset_vert']);
|
||||
}
|
||||
|
||||
if(isset($settings['show_timerbar']) && !isset($settings['enable_progressbar'])){
|
||||
if($settings['show_timerbar'] == 'hide'){
|
||||
$settings['enable_progressbar'] = 'off';
|
||||
$settings['show_timerbar'] = 'top';
|
||||
}else{
|
||||
$settings['enable_progressbar'] = 'on';
|
||||
}
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* explodes google fonts and returns the number of font weights of all fonts
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_font_weight_count($string){
|
||||
$string = explode(':', $string);
|
||||
|
||||
$nums = 0;
|
||||
|
||||
if(count($string) >= 2){
|
||||
$string = $string[1];
|
||||
if(strpos($string, '&') !== false){
|
||||
$string = explode('&', $string);
|
||||
$string = $string[0];
|
||||
}
|
||||
|
||||
$nums = count(explode(',', $string));
|
||||
}
|
||||
|
||||
return $nums;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* strip slashes recursive
|
||||
* @since: 5.0
|
||||
*/
|
||||
public static function stripslashes_deep($value){
|
||||
$value = is_array($value) ?
|
||||
array_map( array('RevSliderBase', 'stripslashes_deep'), $value) :
|
||||
stripslashes($value);
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* check if file is in zip
|
||||
* @since: 5.0
|
||||
*/
|
||||
public static function check_file_in_zip($d_path, $image, $alias, &$alreadyImported, $add_path = false){
|
||||
global $wp_filesystem;
|
||||
|
||||
if(trim($image) !== ''){
|
||||
if(strpos($image, 'http') !== false){
|
||||
}else{
|
||||
$strip = false;
|
||||
$zimage = $wp_filesystem->exists( $d_path.'images/'.$image );
|
||||
if(!$zimage){
|
||||
$zimage = $wp_filesystem->exists( str_replace('//', '/', $d_path.'images/'.$image) );
|
||||
$strip = true;
|
||||
}
|
||||
|
||||
if(!$zimage){
|
||||
//echo $image.__(' not found!<br>', 'revslider');
|
||||
}else{
|
||||
if(!isset($alreadyImported['images/'.$image])){
|
||||
//check if we are object folder, if yes, do not import into media library but add it to the object folder
|
||||
$uimg = ($strip == true) ? str_replace('//', '/', 'images/'.$image) : $image; //pclzip
|
||||
|
||||
$object_library = (strpos($uimg, 'revslider/objects/') === 0) ? true : false;
|
||||
|
||||
if($object_library === true){ //copy the image to the objects folder if false
|
||||
$objlib = new RevSliderObjectLibrary();
|
||||
$importImage = $objlib->_import_object($d_path.'images/'.$uimg);
|
||||
}else{
|
||||
$importImage = RevSliderFunctionsWP::import_media($d_path.'images/'.$uimg, $alias.'/');
|
||||
}
|
||||
|
||||
if($importImage !== false){
|
||||
$alreadyImported['images/'.$image] = $importImage['path'];
|
||||
|
||||
$image = $importImage['path'];
|
||||
}
|
||||
}else{
|
||||
$image = $alreadyImported['images/'.$image];
|
||||
}
|
||||
}
|
||||
if($add_path){
|
||||
$upload_dir = wp_upload_dir();
|
||||
$cont_url = $upload_dir['baseurl'];
|
||||
$image = str_replace('uploads/uploads/', 'uploads/', $cont_url . '/' . $image);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add "a" tags to links within a text
|
||||
* @since: 5.0
|
||||
*/
|
||||
public static function add_wrap_around_url($text){
|
||||
$reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/";
|
||||
// Check if there is a url in the text
|
||||
if(preg_match($reg_exUrl, $text, $url)){
|
||||
// make the urls hyper links
|
||||
return preg_replace($reg_exUrl, '<a href="'.$url[0].'" rel="nofollow" target="_blank">'.$url[0].'</a>', $text);
|
||||
}else{
|
||||
// if no urls in the text just return the text
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prints out debug text if constant TP_DEBUG is defined and true
|
||||
* @since: 5.2.4
|
||||
*/
|
||||
public static function debug($value , $message, $where = "console"){
|
||||
if( defined('TP_DEBUG') && TP_DEBUG ){
|
||||
if($where=="console"){
|
||||
echo '<script>
|
||||
jQuery(document).ready(function(){
|
||||
if(window.console) {
|
||||
console.log("'.$message.'");
|
||||
console.log('.json_encode($value).');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
';
|
||||
}
|
||||
else{
|
||||
var_dump($value);
|
||||
}
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteBaseClassRev extends RevSliderBase {}
|
||||
?>
|
||||
@@ -0,0 +1,377 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @version: 1.0.5 (13.6.2018)
|
||||
* @copyright 2017 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
if(!class_exists('TPColorpicker')){
|
||||
class TPColorpicker {
|
||||
|
||||
|
||||
/**
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public function __construct(){
|
||||
add_filter(AJAX_ACTION, array($this, 'init_ajax'), 10, 6);
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static $isColor = '/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i';
|
||||
|
||||
/**
|
||||
* best option for frontend
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function get($val) {
|
||||
|
||||
if(!$val || empty($val)) return 'transparent';
|
||||
$process = TPColorpicker::process($val, true);
|
||||
return $process[0];
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* return usable CSS value from stored color data value
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function parse($val, $prop, $returnColorType){
|
||||
|
||||
$val = TPColorpicker::process($val, true);
|
||||
$ar = array();
|
||||
|
||||
if(!$prop) $ar[0] = $val[0];
|
||||
else $ar[0] = $prop + ': ' + $val[0] + ';';
|
||||
|
||||
if($returnColorType) $ar[1] = $val[1];
|
||||
return $ar;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* convert hex and opacity to rgba
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function convert($color, $opacity){
|
||||
if( $opacity == "transparent" ){
|
||||
return 'rgba(0,0,0,0)';
|
||||
}
|
||||
if($color=="" ) return '';
|
||||
if(strpos($color, "[{") !== false || strpos($color,'gradient') !== false ) return TPColorpicker::get($color);
|
||||
|
||||
if(!is_bool($opacity) && "".$opacity === "0"){
|
||||
return 'transparent';
|
||||
}
|
||||
|
||||
if($opacity==-1 || !$opacity || empty($opacity) || !is_numeric($opacity) || $color == "transparent" || $opacity === 1 || $opacity == 100 ) {
|
||||
if(strpos($color,'rgba') === false && strpos($color,'#') !== false) {
|
||||
return TPColorpicker::processRgba(TPColorpicker::sanitizeHex($color), $opacity);
|
||||
}
|
||||
else {
|
||||
$color = TPColorpicker::process($color, true);
|
||||
return $color[0];
|
||||
}
|
||||
}
|
||||
|
||||
$opacity = floatval($opacity);
|
||||
if($opacity < 1) $opacity = $opacity * 100;
|
||||
$opacity = round($opacity);
|
||||
$opacity = $opacity > 100 ? 100 : $opacity;
|
||||
$opacity = $opacity < -1 ? 0 : $opacity;
|
||||
|
||||
if($opacity === 0) return 'transparent';
|
||||
|
||||
if(strpos($color,'#') !== false ) {
|
||||
|
||||
return TPColorpicker::processRgba(TPColorpicker::sanitizeHex($color), $opacity);
|
||||
|
||||
}
|
||||
else if(strpos($color, 'rgb') !== false) {
|
||||
|
||||
$color = TPColorpicker::rgbValues($color, 3);
|
||||
return TPColorpicker::rgbaString($color[0], $color[1], $color[2], $opacity);
|
||||
|
||||
}
|
||||
|
||||
return 'transparent';
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* core function for converting ColorPicker input values
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function process($clr, $processColor = false){
|
||||
|
||||
if(empty($clr)) return array('transparent', 'transparent');
|
||||
|
||||
if(!is_string($clr) ) {
|
||||
if($processColor) $clr = TPColorpicker::sanatizeGradient($clr);
|
||||
return array( TPColorpicker::processGradient($clr), 'gradient', $clr );
|
||||
}
|
||||
else if( trim($clr) == 'transparent' ) {
|
||||
|
||||
return array('transparent', 'transparent');
|
||||
|
||||
}
|
||||
else if( strpos( $clr, "[{" ) !== false ) {
|
||||
try {
|
||||
$clr = json_decode( str_replace("amp;", '',str_replace("&", '"', $clr)) );
|
||||
|
||||
if($processColor) $clr = TPColorpicker::sanatizeGradient($clr);
|
||||
|
||||
return array(TPColorpicker::processGradient($clr), 'gradient', $clr);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
return '{"type":"linear","angle":"0","colors":[{"r":"255","g":"255","b":"255","a":"1","position":"0","align":"bottom"},{"r":"0","g":"0","b":"0","a":"1","position":"100","align":"bottom"}]}';
|
||||
}
|
||||
}
|
||||
|
||||
else if( strpos($clr,'#') !== false ) {
|
||||
|
||||
return array(TPColorpicker::sanitizeHex($clr), 'hex');
|
||||
|
||||
}
|
||||
else if( strpos($clr,'rgba') !== false ) {
|
||||
$clr = preg_replace( '/\s+/', '', $clr ) ;
|
||||
return array($clr, 'rgba');
|
||||
|
||||
}
|
||||
else if( strpos($clr,'rgb') !== false ) {
|
||||
$clr = preg_replace('/\s+/', '', $clr);
|
||||
return array($clr, 'rgb');
|
||||
|
||||
}
|
||||
else if(preg_match(TPColorpicker::$isColor, $clr) !== false) {
|
||||
$clr = preg_replace('/\s+/', '', $clr);
|
||||
return array($clr, 'hex');
|
||||
}
|
||||
|
||||
return array('transparent', 'transparent');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* clean up duplicate values in gradient
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function sanatizeGradient($obj) {
|
||||
|
||||
$colors = $obj->colors;
|
||||
$len = sizeof($colors);
|
||||
$ar = array();
|
||||
|
||||
for($i = 0; $i < $len; $i++) {
|
||||
|
||||
$cur = $colors[$i];
|
||||
unset($cur->align);
|
||||
|
||||
if( isset($prev) ) {
|
||||
|
||||
if(json_encode($cur) !== json_encode($prev)) {
|
||||
|
||||
$ar[sizeof($ar)] = $cur;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
$ar[sizeof($ar)] = $cur;
|
||||
|
||||
}
|
||||
|
||||
$prev = $cur;
|
||||
|
||||
}
|
||||
|
||||
$obj->colors = $ar;
|
||||
return $obj;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* convert gradient object to CSS background gradient value
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function processGradient($obj){
|
||||
$tpe = $obj->type;
|
||||
$begin = $tpe . '-gradient(';
|
||||
$middle = $tpe === 'linear' ? $obj->angle . 'deg, ' : 'ellipse at center, ';
|
||||
$colors = $obj->colors;
|
||||
$len = sizeof($colors);
|
||||
$end = '';
|
||||
|
||||
for($i = 0; $i < $len; $i++) {
|
||||
|
||||
if($i > 0) $end .= ', ';
|
||||
$clr = $colors[$i];
|
||||
$end .= 'rgba(' . $clr->r . ',' . $clr->g . ',' . $clr->b . ',' . $clr->a . ') ' . $clr->position . '%';
|
||||
|
||||
}
|
||||
|
||||
return $begin . $middle . $end . ')';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* convert rgb values to CSS value
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function rgbValues($values, $num) {
|
||||
|
||||
$values = substr( $values, strpos($values, '(') + 1 , strpos($values, ')')-strpos($values, '(') - 1 );
|
||||
$values = explode(",", $values);
|
||||
|
||||
if(sizeof($values) == 3 && $num == 4) $values[3] = '1';
|
||||
for($i = 0; $i < $num; $i++) {
|
||||
if(isset($values[$i])) $values[$i] = trim($values[$i]);
|
||||
}
|
||||
|
||||
return $values;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* convert rgba data values to CSS value
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function rgbaString($r, $g, $b, $a) {
|
||||
if($a > 1){
|
||||
$a = "".number_format($a * 0.01 , 2);
|
||||
$a = str_replace(".00", "", $a);
|
||||
}
|
||||
return 'rgba(' . $r . ',' . $g . ',' . $b . ',' . $a . ')';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* convert rgb to hex
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function rgbToHex($clr) {
|
||||
|
||||
$values = TPColorpicker::rgbValues($clr, 3);
|
||||
return TPColorpicker::getRgbToHex($values[0], $values[1], $values[2]);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* convert rgba to hex
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function rgbaToHex($clr) {
|
||||
|
||||
$values = TPColorpicker::rgbValues($clr, 4);
|
||||
|
||||
return array(TPColorpicker::getRgbToHex($values[0], $values[1], $values[2]), $values[3]);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* get opacity value from rgba
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function getOpacity($val){
|
||||
$rgb = TPColorpicker::rgbValues($val, 4);
|
||||
return intval($rgb[3] * 100, 10) + '%';
|
||||
}
|
||||
|
||||
/**
|
||||
* convert rgb to hex
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function getRgbToHex($r, $g, $b){
|
||||
$rgb = array($r, $g, $b);
|
||||
$hex = "#";
|
||||
$hex .= str_pad(dechex($rgb[0]), 2, "0", STR_PAD_LEFT);
|
||||
$hex .= str_pad(dechex($rgb[1]), 2, "0", STR_PAD_LEFT);
|
||||
$hex .= str_pad(dechex($rgb[2]), 2, "0", STR_PAD_LEFT);
|
||||
return $hex;
|
||||
}
|
||||
|
||||
/**
|
||||
* convert hex and opacity values to rgba
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function joinToRgba($val){
|
||||
$val = explode('||', $val);
|
||||
return TPColorpicker::convert($val[0], $val[1]);
|
||||
}
|
||||
|
||||
/**
|
||||
* convert hex to rgba
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function processRgba($hex, $opacity=false){
|
||||
|
||||
$hex = trim(str_replace('#', '' , $hex));
|
||||
|
||||
$rgb = $opacity!==false ? 'rgba' : 'rgb';
|
||||
$r = hexdec(substr($hex,0,2));
|
||||
$g = hexdec(substr($hex,2,2));
|
||||
$b = hexdec(substr($hex,4,2));
|
||||
|
||||
$color = $rgb . "(" . $r . "," . $g . "," . $b ;
|
||||
|
||||
if($opacity!==false){
|
||||
if($opacity > 1)
|
||||
$opacity = "".number_format($opacity * 0.01 , 2);
|
||||
$opacity = str_replace(".00", "", $opacity);
|
||||
$color .= ',' . $opacity;
|
||||
}
|
||||
|
||||
$color .= ')';
|
||||
|
||||
return $color;
|
||||
}
|
||||
|
||||
/**
|
||||
* sanitize hex color values
|
||||
* @since 5.3.1.6
|
||||
*/
|
||||
public static function sanitizeHex($hex){
|
||||
$hex = trim(str_replace('#', '' , $hex));
|
||||
if (strlen($hex) == 3) {
|
||||
$hex[5] = $hex[2]; // f60##0
|
||||
$hex[4] = $hex[2]; // f60#00
|
||||
$hex[3] = $hex[1]; // f60600
|
||||
$hex[2] = $hex[1]; // f66600
|
||||
$hex[1] = $hex[0]; // ff6600
|
||||
}
|
||||
return '#'.$hex;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Save presets
|
||||
* @since 5.3.2
|
||||
*/
|
||||
public static function save_color_presets($presets){
|
||||
|
||||
update_option('tp_colorpicker_presets', $presets);
|
||||
|
||||
return self::get_color_presets();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Load presets
|
||||
* @since 5.3.2
|
||||
*/
|
||||
public static function get_color_presets(){
|
||||
|
||||
return get_option('tp_colorpicker_presets', array());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,688 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderCssParser{
|
||||
|
||||
private $cssContent;
|
||||
|
||||
public function __construct(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* init the parser, set css content
|
||||
*/
|
||||
public function initContent($cssContent){
|
||||
$this->cssContent = $cssContent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get array of slide classes, between two sections.
|
||||
*/
|
||||
public function getArrClasses($startText = "",$endText="",$explodeonspace=false){
|
||||
|
||||
$content = $this->cssContent;
|
||||
|
||||
//trim from top
|
||||
if(!empty($startText)){
|
||||
$posStart = strpos($content, $startText);
|
||||
if($posStart !== false)
|
||||
$content = substr($content, $posStart,strlen($content)-$posStart);
|
||||
}
|
||||
|
||||
//trim from bottom
|
||||
if(!empty($endText)){
|
||||
$posEnd = strpos($content, $endText);
|
||||
if($posEnd !== false)
|
||||
$content = substr($content,0,$posEnd);
|
||||
}
|
||||
|
||||
//get styles
|
||||
$lines = explode("\n",$content);
|
||||
$arrClasses = array();
|
||||
foreach($lines as $key=>$line){
|
||||
$line = trim($line);
|
||||
if(strpos($line, "{") === false)
|
||||
continue;
|
||||
//skip unnessasary links
|
||||
if(strpos($line, ".caption a") !== false)
|
||||
continue;
|
||||
|
||||
if(strpos($line, ".tp-caption a") !== false)
|
||||
continue;
|
||||
|
||||
//get style out of the line
|
||||
$class = str_replace("{", "", $line);
|
||||
$class = trim($class);
|
||||
|
||||
//skip captions like this: .tp-caption.imageclass img
|
||||
if(strpos($class," ") !== false){
|
||||
if(!$explodeonspace){
|
||||
continue;
|
||||
}else{
|
||||
$class = explode(',', $class);
|
||||
$class = $class[0];
|
||||
}
|
||||
}
|
||||
//skip captions like this: .tp-caption.imageclass:hover, :before, :after
|
||||
if(strpos($class,":") !== false)
|
||||
continue;
|
||||
|
||||
$class = str_replace(".caption.", ".", $class);
|
||||
$class = str_replace(".tp-caption.", ".", $class);
|
||||
|
||||
$class = str_replace(".", "", $class);
|
||||
$class = trim($class);
|
||||
$arrWords = explode(" ", $class);
|
||||
$class = $arrWords[count($arrWords)-1];
|
||||
$class = trim($class);
|
||||
|
||||
$arrClasses[] = $class;
|
||||
}
|
||||
|
||||
sort($arrClasses);
|
||||
|
||||
return($arrClasses);
|
||||
}
|
||||
|
||||
|
||||
public static function parseCssToArray($css){
|
||||
|
||||
while(strpos($css, '/*') !== false){
|
||||
if(strpos($css, '*/') === false) return false;
|
||||
$start = strpos($css, '/*');
|
||||
$end = strpos($css, '*/') + 2;
|
||||
$css = str_replace(substr($css, $start, $end - $start), '', $css);
|
||||
}
|
||||
|
||||
//preg_match_all( '/(?ims)([a-z0-9\s\.\:#_\-@]+)\{([^\}]*)\}/', $css, $arr);
|
||||
preg_match_all( '/(?ims)([a-z0-9\,\s\.\:#_\-@]+)\{([^\}]*)\}/', $css, $arr);
|
||||
|
||||
$result = array();
|
||||
foreach ($arr[0] as $i => $x){
|
||||
$selector = trim($arr[1][$i]);
|
||||
if(strpos($selector, '{') !== false || strpos($selector, '}') !== false) return false;
|
||||
$rules = explode(';', trim($arr[2][$i]));
|
||||
$result[$selector] = array();
|
||||
foreach ($rules as $strRule){
|
||||
if (!empty($strRule)){
|
||||
$rule = explode(":", $strRule);
|
||||
if(strpos($rule[0], '{') !== false || strpos($rule[0], '}') !== false || strpos($rule[1], '{') !== false || strpos($rule[1], '}') !== false) return false;
|
||||
|
||||
//put back everything but not $rule[0];
|
||||
$key = trim($rule[0]);
|
||||
unset($rule[0]);
|
||||
$values = implode(':', $rule);
|
||||
|
||||
$result[$selector][trim($key)] = trim(str_replace("'", '"', $values));
|
||||
}
|
||||
}
|
||||
}
|
||||
return($result);
|
||||
}
|
||||
|
||||
|
||||
public static function parseDbArrayToCss($cssArray, $nl = "\n\r"){
|
||||
$css = '';
|
||||
$deformations = self::get_deformation_css_tags();
|
||||
|
||||
$transparency = array(
|
||||
'color' => 'color-transparency',
|
||||
'background-color' => 'background-transparency',
|
||||
'border-color' => 'border-transparency'
|
||||
);
|
||||
|
||||
$check_parameters = array(
|
||||
'border-width' => 'px',
|
||||
'border-radius' => 'px',
|
||||
'padding' => 'px',
|
||||
'font-size' => 'px',
|
||||
'line-height' => 'px'
|
||||
);
|
||||
|
||||
foreach($cssArray as $id => $attr){
|
||||
$stripped = '';
|
||||
if(strpos($attr['handle'], '.tp-caption') !== false){
|
||||
$stripped = trim(str_replace('.tp-caption', '', $attr['handle']));
|
||||
}
|
||||
|
||||
$attr['advanced'] = json_decode($attr['advanced'], true);
|
||||
|
||||
$styles = json_decode(str_replace("'", '"', $attr['params']), true);
|
||||
$styles_adv = $attr['advanced']['idle'];
|
||||
|
||||
|
||||
$css.= $attr['handle'];
|
||||
if(!empty($stripped)) $css.= ', '.$stripped;
|
||||
$css.= " {".$nl;
|
||||
if(is_array($styles) || is_array($styles_adv)){
|
||||
if(is_array($styles)){
|
||||
foreach($styles as $name => $style){
|
||||
|
||||
if(in_array($name, $deformations)) {
|
||||
if($name !== 'css_cursor' && $name !== 'pointer_events') continue;
|
||||
}
|
||||
|
||||
if(!is_array($name) && isset($transparency[$name])){ //the style can have transparency!
|
||||
if(isset($styles[$transparency[$name]]) && $style !== 'transparent'){
|
||||
$style = RevSliderFunctions::hex2rgba($style, $styles[$transparency[$name]] * 100);
|
||||
}
|
||||
}
|
||||
if(!is_array($name) && isset($check_parameters[$name])){
|
||||
$style = RevSliderFunctions::add_missing_val($style, $check_parameters[$name]);
|
||||
}
|
||||
if(is_array($style) || is_object($style)) $style = implode(' ', $style);
|
||||
|
||||
$ret = self::check_for_modifications($name, $style);
|
||||
if($ret['name'] == 'cursor' && $ret['style'] == 'auto') continue;
|
||||
if($ret['name'] == 'pointer-events' && $ret['style'] == 'auto') continue;
|
||||
|
||||
$css.= $ret['name'].':'.$ret['style'].";".$nl;
|
||||
}
|
||||
}
|
||||
if(is_array($styles_adv)){
|
||||
foreach($styles_adv as $name => $style){
|
||||
|
||||
if(in_array($name, $deformations)) {
|
||||
if($name !== 'css_cursor' && $name !== 'pointer_events') continue;
|
||||
}
|
||||
|
||||
if(is_array($style) || is_object($style)) $style = implode(' ', $style);
|
||||
$ret = self::check_for_modifications($name, $style);
|
||||
if($ret['name'] == 'cursor' && $ret['style'] == 'auto') continue;
|
||||
if($ret['name'] == 'pointer-events' && $ret['style'] == 'auto') continue;
|
||||
$css.= $ret['name'].':'.$ret['style'].";".$nl;
|
||||
}
|
||||
}
|
||||
}
|
||||
$css.= "}".$nl.$nl;
|
||||
|
||||
//add hover
|
||||
$setting = json_decode($attr['settings'], true);
|
||||
if(isset($setting['hover']) && $setting['hover'] == 'true'){
|
||||
$hover = json_decode(str_replace("'", '"', $attr['hover']), true);
|
||||
$hover_adv = $attr['advanced']['hover'];
|
||||
|
||||
if(is_array($hover) || is_array($hover_adv)){
|
||||
$css.= $attr['handle'].":hover";
|
||||
if(!empty($stripped)) $css.= ', '.$stripped.':hover';
|
||||
$css.= " {".$nl;
|
||||
if(is_array($hover)){
|
||||
foreach($hover as $name => $style){
|
||||
|
||||
if(in_array($name, $deformations)) {
|
||||
if($name !== 'css_cursor' && $name !== 'pointer_events') continue;
|
||||
}
|
||||
|
||||
if(!is_array($name) && isset($transparency[$name])){ //the style can have transparency!
|
||||
if(isset($hover[$transparency[$name]]) && $style !== 'transparent'){
|
||||
$style = RevSliderFunctions::hex2rgba($style, $hover[$transparency[$name]] * 100);
|
||||
}
|
||||
}
|
||||
if(!is_array($name) && isset($check_parameters[$name])){
|
||||
$style = RevSliderFunctions::add_missing_val($style, $check_parameters[$name]);
|
||||
}
|
||||
if(is_array($style)|| is_object($style)) $style = implode(' ', $style);
|
||||
|
||||
$ret = self::check_for_modifications($name, $style);
|
||||
if($ret['name'] == 'cursor' && $ret['style'] == 'auto') continue;
|
||||
if($ret['name'] == 'pointer-events' && $ret['style'] == 'auto') continue;
|
||||
|
||||
$css.= $ret['name'].':'.$ret['style'].";".$nl;
|
||||
}
|
||||
}
|
||||
if(is_array($hover_adv)){
|
||||
foreach($hover_adv as $name => $style){
|
||||
|
||||
if(in_array($name, $deformations)) {
|
||||
if($name !== 'css_cursor' && $name !== 'pointer_events') continue;
|
||||
}
|
||||
|
||||
if(is_array($style)|| is_object($style)) $style = implode(' ', $style);
|
||||
$ret = self::check_for_modifications($name, $style);
|
||||
if($ret['name'] == 'cursor' && $ret['style'] == 'auto') continue;
|
||||
$css.= $ret['name'].':'.$ret['style'].";".$nl;
|
||||
}
|
||||
}
|
||||
$css.= "}".$nl.$nl;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check for Modifications like with css_cursor
|
||||
* @since: 5.1.3
|
||||
**/
|
||||
public static function check_for_modifications($name, $style){
|
||||
if($name == 'css_cursor'){
|
||||
if($style == 'zoom-in') $style = 'zoom-in; -webkit-zoom-in; cursor: -moz-zoom-in';
|
||||
if($style == 'zoom-out') $style = 'zoom-out; -webkit-zoom-out; cursor: -moz-zoom-out';
|
||||
$name = 'cursor';
|
||||
}
|
||||
|
||||
if($name == 'pointer_events'){
|
||||
$name = 'pointer-events';
|
||||
}
|
||||
|
||||
return array('name' => $name, 'style' => $style);
|
||||
}
|
||||
|
||||
|
||||
public static function parseArrayToCss($cssArray, $nl = "\n\r", $adv = false){
|
||||
$deformations = self::get_deformation_css_tags();
|
||||
|
||||
$css = '';
|
||||
foreach($cssArray as $id => $attr){
|
||||
$setting = (array)$attr['settings'];
|
||||
|
||||
$advanced = (array)$attr['advanced'];
|
||||
$stripped = '';
|
||||
if(strpos($attr['handle'], '.tp-caption') !== false){
|
||||
$stripped = trim(str_replace('.tp-caption', '', $attr['handle']));
|
||||
}
|
||||
$styles = (array)$attr['params'];
|
||||
$css.= $attr['handle'];
|
||||
if(!empty($stripped)) $css.= ', '.$stripped;
|
||||
$css.= " {".$nl;
|
||||
|
||||
if($adv && isset($advanced['idle'])){
|
||||
$styles = array_merge($styles, (array)$advanced['idle']);
|
||||
if(isset($setting['type'])){
|
||||
$styles['type'] = $setting['type'];
|
||||
}
|
||||
}
|
||||
|
||||
if(is_array($styles) && !empty($styles)){
|
||||
foreach($styles as $name => $style){
|
||||
|
||||
if(in_array($name, $deformations)) {
|
||||
if($name !== 'css_cursor' && $name !== 'pointer_events') continue;
|
||||
}
|
||||
|
||||
if($name == 'background-color' && strpos($style, 'rgba') !== false){ //rgb && rgba
|
||||
$rgb = explode(',', str_replace('rgba', 'rgb', $style));
|
||||
unset($rgb[count($rgb)-1]);
|
||||
$rgb = implode(',', $rgb).')';
|
||||
$css.= $name.':'.$rgb.";".$nl;
|
||||
}
|
||||
|
||||
$style = (is_array($style) || is_object($style)) ? implode(' ', $style) : $style;
|
||||
$css.= $name.':'.$style.";".$nl;
|
||||
}
|
||||
}
|
||||
|
||||
$css.= "}".$nl.$nl;
|
||||
|
||||
//add hover
|
||||
if(isset($setting['hover']) && $setting['hover'] == 'true'){
|
||||
$hover = (array)$attr['hover'];
|
||||
if($adv && isset($advanced['hover'])){
|
||||
$styles = array_merge($styles, (array)$advanced['hover']);
|
||||
}
|
||||
|
||||
if(is_array($hover)){
|
||||
$css.= $attr['handle'].":hover";
|
||||
if(!empty($stripped)) $css.= ', '.$stripped.":hover";
|
||||
$css.= " {".$nl;
|
||||
foreach($hover as $name => $style){
|
||||
if($name == 'background-color' && strpos($style, 'rgba') !== false){ //rgb && rgba
|
||||
$rgb = explode(',', str_replace('rgba', 'rgb', $style));
|
||||
unset($rgb[count($rgb)-1]);
|
||||
$rgb = implode(',', $rgb).')';
|
||||
$css.= $name.':'.$rgb.";".$nl;
|
||||
}
|
||||
$style = (is_array($style) || is_object($style)) ? implode(' ', $style) : $style;
|
||||
$css.= $name.':'.$style.";".$nl;
|
||||
}
|
||||
$css.= "}".$nl.$nl;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
public static function parseStaticArrayToCss($cssArray, $nl = "\n"){
|
||||
$css = RevSliderCssParser::parseSimpleArrayToCss();
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
public static function parseSimpleArrayToCss($cssArray, $nl = "\n"){
|
||||
$css = '';
|
||||
foreach($cssArray as $class => $styles){
|
||||
$css.= $class." {".$nl;
|
||||
if(is_array($styles) && !empty($styles)){
|
||||
foreach($styles as $name => $style){
|
||||
$style = (is_array($style) || is_object($style)) ? implode(' ', $style) : $style;
|
||||
$css.= $name.':'.$style.";".$nl;
|
||||
}
|
||||
}
|
||||
$css.= "}".$nl.$nl;
|
||||
}
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static function parseDbArrayToArray($cssArray, $handle = false){
|
||||
|
||||
if(!is_array($cssArray) || empty($cssArray)) return false;
|
||||
|
||||
foreach($cssArray as $key => $css){
|
||||
if($handle != false){
|
||||
if($cssArray[$key]['handle'] == '.tp-caption.'.$handle){
|
||||
$cssArray[$key]['params'] = json_decode(str_replace("'", '"', $css['params']));
|
||||
$cssArray[$key]['hover'] = json_decode(str_replace("'", '"', $css['hover']));
|
||||
$cssArray[$key]['advanced'] = json_decode(str_replace("'", '"', $css['advanced']));
|
||||
$cssArray[$key]['settings'] = json_decode(str_replace("'", '"', $css['settings']));
|
||||
return $cssArray[$key];
|
||||
}else{
|
||||
unset($cssArray[$key]);
|
||||
}
|
||||
}else{
|
||||
$cssArray[$key]['params'] = json_decode(str_replace("'", '"', $css['params']));
|
||||
$cssArray[$key]['hover'] = json_decode(str_replace("'", '"', $css['hover']));
|
||||
$cssArray[$key]['advanced'] = json_decode(str_replace("'", '"', $css['advanced']));
|
||||
$cssArray[$key]['settings'] = json_decode(str_replace("'", '"', $css['settings']));
|
||||
}
|
||||
}
|
||||
|
||||
return $cssArray;
|
||||
}
|
||||
|
||||
|
||||
public static function compress_css($buffer){
|
||||
/* remove comments */
|
||||
$buffer = preg_replace("!/\*[^*]*\*+([^/][^*]*\*+)*/!", "", $buffer) ;
|
||||
/* remove tabs, spaces, newlines, etc. */
|
||||
$arr = array("\r\n", "\r", "\n", "\t", " ", " ", " ");
|
||||
$rep = array("", "", "", "", " ", " ", " ");
|
||||
$buffer = str_replace($arr, $rep, $buffer);
|
||||
/* remove whitespaces around {}:, */
|
||||
$buffer = preg_replace("/\s*([\{\}:,])\s*/", "$1", $buffer);
|
||||
/* remove last ; */
|
||||
$buffer = str_replace(';}', "}", $buffer);
|
||||
|
||||
return $buffer;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Defines the default CSS Classes, can be given a version number to order them accordingly
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function default_css_classes(){
|
||||
|
||||
$default = array(
|
||||
'.tp-caption.medium_grey' => '4',
|
||||
'.tp-caption.small_text' => '4',
|
||||
'.tp-caption.medium_text' => '4',
|
||||
'.tp-caption.large_text' => '4',
|
||||
'.tp-caption.very_large_text' => '4',
|
||||
'.tp-caption.very_big_white' => '4',
|
||||
'.tp-caption.very_big_black' => '4',
|
||||
'.tp-caption.modern_medium_fat' => '4',
|
||||
'.tp-caption.modern_medium_fat_white' => '4',
|
||||
'.tp-caption.modern_medium_light' => '4',
|
||||
'.tp-caption.modern_big_bluebg' => '4',
|
||||
'.tp-caption.modern_big_redbg' => '4',
|
||||
'.tp-caption.modern_small_text_dark' => '4',
|
||||
'.tp-caption.boxshadow' => '4',
|
||||
'.tp-caption.black' => '4',
|
||||
'.tp-caption.noshadow' => '4',
|
||||
'.tp-caption.thinheadline_dark' => '4',
|
||||
'.tp-caption.thintext_dark' => '4',
|
||||
'.tp-caption.largeblackbg' => '4',
|
||||
'.tp-caption.largepinkbg' => '4',
|
||||
'.tp-caption.largewhitebg' => '4',
|
||||
'.tp-caption.largegreenbg' => '4',
|
||||
'.tp-caption.excerpt' => '4',
|
||||
'.tp-caption.large_bold_grey' => '4',
|
||||
'.tp-caption.medium_thin_grey' => '4',
|
||||
'.tp-caption.small_thin_grey' => '4',
|
||||
'.tp-caption.lightgrey_divider' => '4',
|
||||
'.tp-caption.large_bold_darkblue' => '4',
|
||||
'.tp-caption.medium_bg_darkblue' => '4',
|
||||
'.tp-caption.medium_bold_red' => '4',
|
||||
'.tp-caption.medium_light_red' => '4',
|
||||
'.tp-caption.medium_bg_red' => '4',
|
||||
'.tp-caption.medium_bold_orange' => '4',
|
||||
'.tp-caption.medium_bg_orange' => '4',
|
||||
'.tp-caption.grassfloor' => '4',
|
||||
'.tp-caption.large_bold_white' => '4',
|
||||
'.tp-caption.medium_light_white' => '4',
|
||||
'.tp-caption.mediumlarge_light_white' => '4',
|
||||
'.tp-caption.mediumlarge_light_white_center' => '4',
|
||||
'.tp-caption.medium_bg_asbestos' => '4',
|
||||
'.tp-caption.medium_light_black' => '4',
|
||||
'.tp-caption.large_bold_black' => '4',
|
||||
'.tp-caption.mediumlarge_light_darkblue' => '4',
|
||||
'.tp-caption.small_light_white' => '4',
|
||||
'.tp-caption.roundedimage' => '4',
|
||||
'.tp-caption.large_bg_black' => '4',
|
||||
'.tp-caption.mediumwhitebg' => '4',
|
||||
'.tp-caption.MarkerDisplay' => '5.0',
|
||||
'.tp-caption.Restaurant-Display' => '5.0',
|
||||
'.tp-caption.Restaurant-Cursive' => '5.0',
|
||||
'.tp-caption.Restaurant-ScrollDownText' => '5.0',
|
||||
'.tp-caption.Restaurant-Description' => '5.0',
|
||||
'.tp-caption.Restaurant-Price' => '5.0',
|
||||
'.tp-caption.Restaurant-Menuitem' => '5.0',
|
||||
'.tp-caption.Furniture-LogoText' => '5.0',
|
||||
'.tp-caption.Furniture-Plus' => '5.0',
|
||||
'.tp-caption.Furniture-Title' => '5.0',
|
||||
'.tp-caption.Furniture-Subtitle' => '5.0',
|
||||
'.tp-caption.Gym-Display' => '5.0',
|
||||
'.tp-caption.Gym-Subline' => '5.0',
|
||||
'.tp-caption.Gym-SmallText' => '5.0',
|
||||
'.tp-caption.Fashion-SmallText' => '5.0',
|
||||
'.tp-caption.Fashion-BigDisplay' => '5.0',
|
||||
'.tp-caption.Fashion-TextBlock' => '5.0',
|
||||
'.tp-caption.Sports-Display' => '5.0',
|
||||
'.tp-caption.Sports-DisplayFat' => '5.0',
|
||||
'.tp-caption.Sports-Subline' => '5.0',
|
||||
'.tp-caption.Instagram-Caption' => '5.0',
|
||||
'.tp-caption.News-Title' => '5.0',
|
||||
'.tp-caption.News-Subtitle' => '5.0',
|
||||
'.tp-caption.Photography-Display' => '5.0',
|
||||
'.tp-caption.Photography-Subline' => '5.0',
|
||||
'.tp-caption.Photography-ImageHover' => '5.0',
|
||||
'.tp-caption.Photography-Menuitem' => '5.0',
|
||||
'.tp-caption.Photography-Textblock' => '5.0',
|
||||
'.tp-caption.Photography-Subline-2' => '5.0',
|
||||
'.tp-caption.Photography-ImageHover2' => '5.0',
|
||||
'.tp-caption.WebProduct-Title' => '5.0',
|
||||
'.tp-caption.WebProduct-SubTitle' => '5.0',
|
||||
'.tp-caption.WebProduct-Content' => '5.0',
|
||||
'.tp-caption.WebProduct-Menuitem' => '5.0',
|
||||
'.tp-caption.WebProduct-Title-Light' => '5.0',
|
||||
'.tp-caption.WebProduct-SubTitle-Light' => '5.0',
|
||||
'.tp-caption.WebProduct-Content-Light' => '5.0',
|
||||
'.tp-caption.FatRounded' => '5.0',
|
||||
'.tp-caption.NotGeneric-Title' => '5.0',
|
||||
'.tp-caption.NotGeneric-SubTitle' => '5.0',
|
||||
'.tp-caption.NotGeneric-CallToAction' => '5.0',
|
||||
'.tp-caption.NotGeneric-Icon' => '5.0',
|
||||
'.tp-caption.NotGeneric-Menuitem' => '5.0',
|
||||
'.tp-caption.MarkerStyle' => '5.0',
|
||||
'.tp-caption.Gym-Menuitem' => '5.0',
|
||||
'.tp-caption.Newspaper-Button' => '5.0',
|
||||
'.tp-caption.Newspaper-Subtitle' => '5.0',
|
||||
'.tp-caption.Newspaper-Title' => '5.0',
|
||||
'.tp-caption.Newspaper-Title-Centered' => '5.0',
|
||||
'.tp-caption.Hero-Button' => '5.0',
|
||||
'.tp-caption.Video-Title' => '5.0',
|
||||
'.tp-caption.Video-SubTitle' => '5.0',
|
||||
'.tp-caption.NotGeneric-Button' => '5.0',
|
||||
'.tp-caption.NotGeneric-BigButton' => '5.0',
|
||||
'.tp-caption.WebProduct-Button' => '5.0',
|
||||
'.tp-caption.Restaurant-Button' => '5.0',
|
||||
'.tp-caption.Gym-Button' => '5.0',
|
||||
'.tp-caption.Gym-Button-Light' => '5.0',
|
||||
'.tp-caption.Sports-Button-Light' => '5.0',
|
||||
'.tp-caption.Sports-Button-Red' => '5.0',
|
||||
'.tp-caption.Photography-Button' => '5.0',
|
||||
'.tp-caption.Newspaper-Button-2' => '5.0'
|
||||
);
|
||||
|
||||
$default = apply_filters('revslider_mod_default_css_handles', $default);
|
||||
|
||||
return $default;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Defines the deformation CSS which is not directly usable as pure CSS
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_deformation_css_tags(){
|
||||
|
||||
return array(
|
||||
'x' => 'x',
|
||||
'y' => 'y',
|
||||
'z' => 'z',
|
||||
'skewx' => 'skewx',
|
||||
'skewy' => 'skewy',
|
||||
'scalex' => 'scalex',
|
||||
'scaley' => 'scaley',
|
||||
'opacity' => 'opacity',
|
||||
'xrotate' => 'xrotate',
|
||||
'yrotate' => 'yrotate',
|
||||
'2d_rotation' => '2d_rotation',
|
||||
'layer_2d_origin_x' => 'layer_2d_origin_x',
|
||||
'layer_2d_origin_y' => 'layer_2d_origin_y',
|
||||
'2d_origin_x' => '2d_origin_x',
|
||||
'2d_origin_y' => '2d_origin_y',
|
||||
'pers' => 'pers',
|
||||
|
||||
'color-transparency' => 'color-transparency',
|
||||
'background-transparency' => 'background-transparency',
|
||||
'border-transparency' => 'border-transparency',
|
||||
'css_cursor' => 'css_cursor',
|
||||
'pointer_events' => 'pointer_events',
|
||||
'speed' => 'speed',
|
||||
'easing' => 'easing',
|
||||
'corner_left' => 'corner_left',
|
||||
'corner_right' => 'corner_right',
|
||||
'parallax' => 'parallax',
|
||||
'type' => 'type',
|
||||
'padding' => 'padding',
|
||||
'margin' => 'margin',
|
||||
'text-align' => 'text-align'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static function get_captions_sorted(){
|
||||
$db = new RevSliderDB();
|
||||
$styles = $db->fetch(RevSliderGlobals::$table_css, '', 'handle ASC');
|
||||
|
||||
$arr = array('5.0' => array(), 'Custom' => array(), '4' => array());
|
||||
|
||||
foreach($styles as $style){
|
||||
$setting = json_decode($style['settings'], true);
|
||||
|
||||
if(!isset($setting['type'])) $setting['type'] = 'text';
|
||||
|
||||
if(array_key_exists('version', $setting) && isset($setting['version'])) $arr[ucfirst($setting['version'])][] = array('label' => trim(str_replace('.tp-caption.', '', $style['handle'])), 'type' => $setting['type']);
|
||||
}
|
||||
|
||||
$sorted = array();
|
||||
foreach($arr as $version => $class){
|
||||
foreach($class as $name){
|
||||
$sorted[] = array('label' => $name['label'], 'version' => $version, 'type' => $name['type']);
|
||||
}
|
||||
}
|
||||
|
||||
return $sorted;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Handles media queries
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public static function parse_media_blocks($css){
|
||||
$mediaBlocks = array();
|
||||
|
||||
$start = 0;
|
||||
while(($start = strpos($css, '@media', $start)) !== false){
|
||||
$s = array();
|
||||
|
||||
$i = strpos($css, '{', $start);
|
||||
|
||||
if ($i !== false){
|
||||
|
||||
$block = trim(substr($css, $start, $i - $start));
|
||||
|
||||
array_push($s, $css[$i]);
|
||||
|
||||
$i++;
|
||||
|
||||
while(!empty($s)){
|
||||
if ($css[$i] == '{'){
|
||||
array_push($s, '{');
|
||||
}elseif ($css[$i] == '}'){
|
||||
array_pop($s);
|
||||
}else{
|
||||
//broken css?
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
|
||||
$mediaBlocks[$block] = substr($css, $start, ($i + 1) - $start);
|
||||
$start = $i;
|
||||
}
|
||||
}
|
||||
|
||||
return $mediaBlocks;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes @media { ... } queries from CSS
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public static function clear_media_block($css){
|
||||
|
||||
$start = 0;
|
||||
if(strpos($css, '@media', $start) !== false){
|
||||
$start = strpos($css, '@media', 0);
|
||||
|
||||
$i = strpos($css, '{', $start) + 1;
|
||||
|
||||
//remove @media ... first {
|
||||
$remove = substr($css, $start - 1, $i - $start + 1);
|
||||
|
||||
$css = str_replace($remove, '', $css);
|
||||
|
||||
//remove last }
|
||||
$css = preg_replace('/}$/', '', $css);
|
||||
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteCssParserRev extends RevSliderCssParser {}
|
||||
?>
|
||||
@@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderDB{
|
||||
|
||||
private $lastRowID;
|
||||
|
||||
/**
|
||||
*
|
||||
* constructor - set database object
|
||||
*/
|
||||
public function __construct(){
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* throw error
|
||||
*/
|
||||
private function throwError($message,$code=-1){
|
||||
RevSliderFunctions::throwError($message,$code);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------
|
||||
// validate for errors
|
||||
private function checkForErrors($prefix = ""){
|
||||
global $wpdb;
|
||||
|
||||
if($wpdb->last_error !== ''){
|
||||
$query = $wpdb->last_query;
|
||||
$message = $wpdb->last_error;
|
||||
|
||||
if($prefix) $message = $prefix.' - <b>'.$message.'</b>';
|
||||
if($query) $message .= '<br>---<br> Query: ' . esc_attr($query);
|
||||
|
||||
$this->throwError($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* insert variables to some table
|
||||
*/
|
||||
public function insert($table,$arrItems){
|
||||
global $wpdb;
|
||||
|
||||
$wpdb->insert($table, $arrItems);
|
||||
$this->checkForErrors("Insert query error");
|
||||
|
||||
$this->lastRowID = $wpdb->insert_id;
|
||||
|
||||
return($this->lastRowID);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get last insert id
|
||||
*/
|
||||
public function getLastInsertID(){
|
||||
global $wpdb;
|
||||
|
||||
$this->lastRowID = $wpdb->insert_id;
|
||||
return($this->lastRowID);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* delete rows
|
||||
*/
|
||||
public function delete($table,$where){
|
||||
global $wpdb;
|
||||
|
||||
RevSliderFunctions::validateNotEmpty($table,"table name");
|
||||
RevSliderFunctions::validateNotEmpty($where,"where");
|
||||
|
||||
$query = "delete from $table where $where";
|
||||
|
||||
$wpdb->query($query);
|
||||
|
||||
$this->checkForErrors("Delete query error");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* run some sql query
|
||||
*/
|
||||
public function runSql($query){
|
||||
global $wpdb;
|
||||
|
||||
$wpdb->query($query);
|
||||
$this->checkForErrors("Regular query error");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* run some sql query
|
||||
*/
|
||||
public function runSqlR($query){
|
||||
global $wpdb;
|
||||
|
||||
$return = $wpdb->get_results($query, ARRAY_A);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* insert variables to some table
|
||||
*/
|
||||
public function update($table,$arrItems,$where){
|
||||
global $wpdb;
|
||||
|
||||
$response = $wpdb->update($table, $arrItems, $where);
|
||||
|
||||
return($wpdb->num_rows);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get data array from the database
|
||||
*
|
||||
*/
|
||||
public function fetch($tableName,$where="",$orderField="",$groupByField="",$sqlAddon=""){
|
||||
global $wpdb;
|
||||
|
||||
$query = "select * from $tableName";
|
||||
if($where) $query .= " where $where";
|
||||
if($orderField) $query .= " order by $orderField";
|
||||
if($groupByField) $query .= " group by $groupByField";
|
||||
if($sqlAddon) $query .= " ".$sqlAddon;
|
||||
|
||||
$response = $wpdb->get_results($query,ARRAY_A);
|
||||
|
||||
$this->checkForErrors("fetch");
|
||||
|
||||
return($response);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* fetch only one item. if not found - throw error
|
||||
*/
|
||||
public function fetchSingle($tableName,$where="",$orderField="",$groupByField="",$sqlAddon=""){
|
||||
$response = $this->fetch($tableName, $where, $orderField, $groupByField, $sqlAddon);
|
||||
|
||||
if(empty($response))
|
||||
$this->throwError("Record not found");
|
||||
$record = $response[0];
|
||||
return($record);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prepare statement to avoid sql injections
|
||||
*/
|
||||
public function prepare($query, $array){
|
||||
global $wpdb;
|
||||
|
||||
$query = $wpdb->prepare($query, $array);
|
||||
|
||||
return($query);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteDBRev extends RevSliderDB {}
|
||||
?>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderElementsBase {
|
||||
|
||||
protected $db;
|
||||
|
||||
public function __construct(){
|
||||
|
||||
$this->db = new RevSliderDB();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteElementsBaseRev extends RevSliderElementsBase {}
|
||||
?>
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderEventsManager {
|
||||
|
||||
const DEFAULT_FILTER = "none";
|
||||
|
||||
/**
|
||||
*
|
||||
* check if events class exists
|
||||
*/
|
||||
public static function isEventsExists(){
|
||||
if(defined("EM_VERSION") && defined("EM_PRO_MIN_VERSION"))
|
||||
return(true);
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get sort by list
|
||||
*/
|
||||
public static function getArrFilterTypes(){
|
||||
|
||||
$arrEventsSort = array("none" => __("All Events",'revslider'),
|
||||
"today" => __("Today",'revslider'),
|
||||
"tomorrow"=>__("Tomorrow",'revslider'),
|
||||
"future"=>__("Future",'revslider'),
|
||||
"past"=>__("Past",'revslider'),
|
||||
"month"=>__("This Month",'revslider'),
|
||||
"nextmonth"=>__("Next Month",'revslider')
|
||||
);
|
||||
|
||||
return($arrEventsSort);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get meta query
|
||||
*/
|
||||
public static function getWPQuery($filterType, $sortBy){
|
||||
$response = array();
|
||||
|
||||
$dayMs = 60*60*24;
|
||||
|
||||
$time = current_time('timestamp');
|
||||
$todayStart = strtotime(date('Y-m-d', $time));
|
||||
$todayEnd = $todayStart + $dayMs-1;
|
||||
$tomorrowStart = $todayEnd+1;
|
||||
$tomorrowEnd = $tomorrowStart + $dayMs-1;
|
||||
|
||||
$start_month = strtotime(date('Y-m-1',$time));
|
||||
$end_month = strtotime(date('Y-m-t',$time)) + 86399;
|
||||
$next_month_middle = strtotime('+1 month', $time); //get the end of this month + 1 day
|
||||
$start_next_month = strtotime(date('Y-m-1',$next_month_middle));
|
||||
$end_next_month = strtotime(date('Y-m-t',$next_month_middle)) + 86399;
|
||||
|
||||
$query = array();
|
||||
|
||||
switch($filterType){
|
||||
case self::DEFAULT_FILTER: //none
|
||||
break;
|
||||
case "today":
|
||||
$query[] = array( 'key' => '_start_ts', 'value' => $todayEnd, 'compare' => '<=' );
|
||||
$query[] = array( 'key' => '_end_ts', 'value' => $todayStart, 'compare' => '>=' );
|
||||
break;
|
||||
case "future":
|
||||
$query[] = array( 'key' => '_start_ts', 'value' => $time, 'compare' => '>' );
|
||||
break;
|
||||
case "tomorrow":
|
||||
$query[] = array( 'key' => '_start_ts', 'value' => $tomorrowEnd, 'compare' => '<=' );
|
||||
$query[] = array( 'key' => '_end_ts', 'value' => $todayStart, 'compare' => '>=' );
|
||||
break;
|
||||
case "past":
|
||||
$query[] = array( 'key' => '_end_ts', 'value' => $todayStart, 'compare' => '<' );
|
||||
break;
|
||||
case "month":
|
||||
$query[] = array( 'key' => '_start_ts', 'value' => $end_month, 'compare' => '<=' );
|
||||
$query[] = array( 'key' => '_end_ts', 'value' => $start_month, 'compare' => '>=' );
|
||||
break;
|
||||
case "nextmonth":
|
||||
$query[] = array( 'key' => '_start_ts', 'value' => $end_next_month, 'compare' => '<=' );
|
||||
$query[] = array( 'key' => '_end_ts', 'value' => $start_next_month, 'compare' => '>=' );
|
||||
break;
|
||||
default:
|
||||
RevSliderFunctions::throwError("Wrong event filter");
|
||||
break;
|
||||
}
|
||||
|
||||
if(!empty($query))
|
||||
$response["meta_query"] = $query;
|
||||
|
||||
//convert sortby
|
||||
switch($sortBy){
|
||||
case "event_start_date":
|
||||
$response["orderby"] = "meta_value_num";
|
||||
$response["meta_key"] = "_start_ts";
|
||||
break;
|
||||
case "event_end_date":
|
||||
$response["orderby"] = "meta_value_num";
|
||||
$response["meta_key"] = "_end_ts";
|
||||
break;
|
||||
}
|
||||
|
||||
return($response);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get event post data in array.
|
||||
* if the post is not event, return empty array
|
||||
*/
|
||||
public static function getEventPostData($postID){
|
||||
if(self::isEventsExists() == false)
|
||||
return(array());
|
||||
|
||||
$postType = get_post_type($postID);
|
||||
if($postType != EM_POST_TYPE_EVENT)
|
||||
return(array());
|
||||
|
||||
$event = new EM_Event($postID, 'post_id');
|
||||
$location = $event->get_location();
|
||||
|
||||
$arrEvent = $event->to_array();
|
||||
$arrLocation = $location->to_array();
|
||||
$date_format = get_option('date_format');
|
||||
$time_format = get_option('time_format');
|
||||
|
||||
$arrEvent["event_start_date"] = date_format(date_create_from_format('Y-m-d', $arrEvent["event_start_date"]), $date_format);
|
||||
$arrEvent["event_end_date"] = date_format(date_create_from_format('Y-m-d', $arrEvent["event_end_date"]), $date_format);
|
||||
$arrEvent["event_start_time"] = date_format(date_create_from_format('H:i:s', $arrEvent["event_start_time"]), $time_format);
|
||||
$arrEvent["event_end_time"] = date_format(date_create_from_format('H:i:s', $arrEvent["event_end_time"]), $time_format);
|
||||
|
||||
$response = array();
|
||||
$response["start_date"] = $arrEvent["event_start_date"];
|
||||
$response["end_date"] = $arrEvent["event_end_date"];
|
||||
$response["start_time"] = $arrEvent["event_start_time"];
|
||||
$response["end_time"] = $arrEvent["event_end_time"];
|
||||
$response["id"] = $arrEvent["event_id"];
|
||||
$response["location_name"] = $arrLocation["location_name"];
|
||||
$response["location_address"] = $arrLocation["location_address"];
|
||||
$response["location_slug"] = $arrLocation["location_slug"];
|
||||
$response["location_town"] = $arrLocation["location_town"];
|
||||
$response["location_state"] = $arrLocation["location_state"];
|
||||
$response["location_postcode"] = $arrLocation["location_postcode"];
|
||||
$response["location_region"] = $arrLocation["location_region"];
|
||||
$response["location_country"] = $arrLocation["location_country"];
|
||||
$response["location_latitude"] = $arrLocation["location_latitude"];
|
||||
$response["location_longitude"] = $arrLocation["location_longitude"];
|
||||
|
||||
return($response);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get events sort by array
|
||||
*/
|
||||
public static function getArrSortBy(){
|
||||
$arrSortBy = array();
|
||||
$arrSortBy["event_start_date"] = __("Event Start Date",'revslider');
|
||||
$arrSortBy["event_end_date"] = __("Event End Date",'revslider');
|
||||
return($arrSortBy);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteEmRev extends RevSliderEventsManager {}
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,692 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderFunctions{
|
||||
|
||||
public static function throwError($message,$code=null){
|
||||
if(!empty($code)){
|
||||
throw new Exception($message,$code);
|
||||
}else{
|
||||
throw new Exception($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* set output for download
|
||||
*/
|
||||
public static function downloadFile($str,$filename="output.txt"){
|
||||
|
||||
//output for download
|
||||
header('Content-Description: File Transfer');
|
||||
header('Content-Type: text/html; charset=UTF-8');
|
||||
header("Content-Disposition: attachment; filename=".$filename.";");
|
||||
header("Content-Transfer-Encoding: binary");
|
||||
header("Content-Length: ".strlen($str));
|
||||
echo $str;
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* turn boolean to string
|
||||
*/
|
||||
public static function boolToStr($bool){
|
||||
if(gettype($bool) == "string")
|
||||
return($bool);
|
||||
if($bool == true)
|
||||
return("true");
|
||||
else
|
||||
return("false");
|
||||
}
|
||||
|
||||
/**
|
||||
* convert string to boolean
|
||||
*/
|
||||
public static function strToBool($str){
|
||||
if(is_bool($str))
|
||||
return($str);
|
||||
|
||||
if(empty($str))
|
||||
return(false);
|
||||
|
||||
if(is_numeric($str))
|
||||
return($str != 0);
|
||||
|
||||
$str = strtolower($str);
|
||||
if($str == "true")
|
||||
return(true);
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get value from array. if not - return alternative
|
||||
*/
|
||||
public static function getVal($arr,$key,$altVal=""){
|
||||
if(is_array($arr)){
|
||||
if(isset($arr[$key])){
|
||||
return($arr[$key]);
|
||||
}
|
||||
}elseif(is_object($arr)){
|
||||
if(isset($arr->$key)){
|
||||
return($arr->$key);
|
||||
}
|
||||
}
|
||||
return($altVal);
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------
|
||||
// get variable from post or from get. post wins.
|
||||
public static function getPostGetVariable($name,$initVar = ""){
|
||||
$var = $initVar;
|
||||
if(isset($_POST[$name])) $var = $_POST[$name];
|
||||
else if(isset($_GET[$name])) $var = $_GET[$name];
|
||||
return($var);
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------
|
||||
public static function getPostVariable($name,$initVar = ""){
|
||||
$var = $initVar;
|
||||
if(isset($_POST[$name])) $var = $_POST[$name];
|
||||
return($var);
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------
|
||||
public static function getGetVar($name,$initVar = ""){
|
||||
$var = $initVar;
|
||||
if(isset($_GET[$name])) $var = $_GET[$name];
|
||||
return($var);
|
||||
}
|
||||
|
||||
public static function sortByOrder($a, $b) {
|
||||
return $a['order'] - $b['order'];
|
||||
}
|
||||
|
||||
/**
|
||||
* validate that some file exists, if not - throw error
|
||||
*/
|
||||
public static function validateFilepath($filepath,$errorPrefix=null){
|
||||
if(file_exists($filepath) == true)
|
||||
return(false);
|
||||
if($errorPrefix == null)
|
||||
$errorPrefix = "File";
|
||||
$message = $errorPrefix." ".esc_attr($filepath)." not exists!";
|
||||
self::throwError($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* validate that some value is numeric
|
||||
*/
|
||||
public static function validateNumeric($val,$fieldName=""){
|
||||
self::validateNotEmpty($val,$fieldName);
|
||||
|
||||
if(empty($fieldName))
|
||||
$fieldName = "Field";
|
||||
|
||||
if(!is_numeric($val))
|
||||
self::throwError("$fieldName should be numeric ");
|
||||
}
|
||||
|
||||
/**
|
||||
* validate that some variable not empty
|
||||
*/
|
||||
public static function validateNotEmpty($val,$fieldName=""){
|
||||
|
||||
if(empty($fieldName))
|
||||
$fieldName = "Field";
|
||||
|
||||
if(empty($val) && is_numeric($val) == false)
|
||||
self::throwError("Field <b>$fieldName</b> should not be empty");
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------
|
||||
//get path info of certain path with all needed fields
|
||||
public static function getPathInfo($filepath){
|
||||
$info = pathinfo($filepath);
|
||||
|
||||
//fix the filename problem
|
||||
if(!isset($info["filename"])){
|
||||
$filename = $info["basename"];
|
||||
if(isset($info["extension"]))
|
||||
$filename = substr($info["basename"],0,(-strlen($info["extension"])-1));
|
||||
$info["filename"] = $filename;
|
||||
}
|
||||
|
||||
return($info);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert std class to array, with all sons
|
||||
* @param unknown_type $arr
|
||||
*/
|
||||
public static function convertStdClassToArray($arr){
|
||||
$arr = (array)$arr;
|
||||
|
||||
$arrNew = array();
|
||||
|
||||
foreach($arr as $key=>$item){
|
||||
$item = (array)$item;
|
||||
$arrNew[$key] = $item;
|
||||
}
|
||||
|
||||
return($arrNew);
|
||||
}
|
||||
|
||||
public static function cleanStdClassToArray($arr){
|
||||
$arr = (array)$arr;
|
||||
|
||||
$arrNew = array();
|
||||
|
||||
foreach($arr as $key=>$item){
|
||||
$arrNew[$key] = $item;
|
||||
}
|
||||
|
||||
return($arrNew);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* encode array into json for client side
|
||||
*/
|
||||
public static function jsonEncodeForClientSide($arr){
|
||||
$json = "";
|
||||
if(!empty($arr)){
|
||||
$json = json_encode($arr);
|
||||
$json = addslashes($json);
|
||||
}
|
||||
|
||||
if(empty($json)) $json = '{}';
|
||||
|
||||
$json = "'".$json."'";
|
||||
|
||||
return($json);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* decode json from the client side
|
||||
*/
|
||||
public static function jsonDecodeFromClientSide($data){
|
||||
|
||||
$data = stripslashes($data);
|
||||
$data = str_replace('\"','\"',$data);
|
||||
$data = json_decode($data);
|
||||
$data = (array)$data;
|
||||
|
||||
return($data);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* do "trim" operation on all array items.
|
||||
*/
|
||||
public static function trimArrayItems($arr){
|
||||
if(gettype($arr) != "array")
|
||||
RevSliderFunctions::throwError("trimArrayItems error: The type must be array");
|
||||
|
||||
foreach ($arr as $key=>$item){
|
||||
if(is_array($item)){
|
||||
foreach($item as $key => $value){
|
||||
$arr[$key][$key] = trim($value);
|
||||
}
|
||||
}else{
|
||||
$arr[$key] = trim($item);
|
||||
}
|
||||
}
|
||||
|
||||
return($arr);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get link html
|
||||
*/
|
||||
public static function getHtmlLink($link,$text,$id="",$class=""){
|
||||
|
||||
if(!empty($class))
|
||||
$class = " class='$class'";
|
||||
|
||||
if(!empty($id))
|
||||
$id = " id='$id'";
|
||||
|
||||
$html = "<a href=\"$link\"".$id.$class.">$text</a>";
|
||||
return($html);
|
||||
}
|
||||
|
||||
/**
|
||||
* get select from array
|
||||
*/
|
||||
public static function getHTMLSelect($arr,$default="",$htmlParams="",$assoc = false){
|
||||
|
||||
$html = "<select $htmlParams>";
|
||||
foreach($arr as $key=>$item){
|
||||
$selected = "";
|
||||
|
||||
if($assoc == false){
|
||||
if($item == $default) $selected = " selected ";
|
||||
}else{
|
||||
if(trim($key) == trim($default)) $selected = " selected ";
|
||||
}
|
||||
|
||||
|
||||
if($assoc == true)
|
||||
$html .= "<option $selected value='$key'>$item</option>";
|
||||
else
|
||||
$html .= "<option $selected value='$item'>$item</option>";
|
||||
}
|
||||
$html.= "</select>";
|
||||
return($html);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* convert assoc array to array
|
||||
*/
|
||||
public static function assocToArray($assoc){
|
||||
$arr = array();
|
||||
foreach($assoc as $item)
|
||||
$arr[] = $item;
|
||||
|
||||
return($arr);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* strip slashes from textarea content after ajax request to server
|
||||
*/
|
||||
public static function normalizeTextareaContent($content){
|
||||
if(empty($content))
|
||||
return($content);
|
||||
$content = stripslashes($content);
|
||||
$content = trim($content);
|
||||
return($content);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get text intro, limit by number of words
|
||||
*/
|
||||
public static function getTextIntro($text, $limit){
|
||||
|
||||
$arrIntro = explode(' ', $text, $limit);
|
||||
|
||||
if (count($arrIntro)>=$limit) {
|
||||
array_pop($arrIntro);
|
||||
$intro = implode(" ",$arrIntro);
|
||||
$intro = trim($intro);
|
||||
if(!empty($intro))
|
||||
$intro .= '...';
|
||||
} else {
|
||||
$intro = implode(" ",$arrIntro);
|
||||
}
|
||||
|
||||
$intro = preg_replace('`\[[^\]]*\]`','',$intro);
|
||||
return($intro);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add missing px/% to value, do also for object and array
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function add_missing_val($obj, $set_to = 'px'){
|
||||
|
||||
if(is_array($obj)){
|
||||
foreach($obj as $key => $value){
|
||||
if(strpos($value, $set_to) === false){
|
||||
$obj[$key] = $value.$set_to;
|
||||
}
|
||||
}
|
||||
}elseif(is_object($obj)){
|
||||
foreach($obj as $key => $value){
|
||||
if(strpos($value, $set_to) === false){
|
||||
$obj->$key = $value.$set_to;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
if(strpos($obj, $set_to) === false){
|
||||
$obj .= $set_to;
|
||||
}
|
||||
}
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* normalize object with device informations depending on what is enabled for the Slider
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function normalize_device_settings($obj, $enabled_devices, $return = 'obj', $set_to_if = array()){ //array -> from -> to
|
||||
/*desktop
|
||||
notebook
|
||||
tablet
|
||||
mobile*/
|
||||
|
||||
if(!empty($set_to_if)){
|
||||
foreach($obj as $key => $value) {
|
||||
foreach($set_to_if as $from => $to){
|
||||
if(trim($value) == $from) $obj->$key = $to;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$inherit_size = self::get_biggest_device_setting($obj, $enabled_devices);
|
||||
if($enabled_devices['desktop'] == 'on'){
|
||||
if(!isset($obj->desktop) || $obj->desktop === ''){
|
||||
$obj->desktop = $inherit_size;
|
||||
}else{
|
||||
$inherit_size = $obj->desktop;
|
||||
}
|
||||
}else{
|
||||
$obj->desktop = $inherit_size;
|
||||
}
|
||||
|
||||
if($enabled_devices['notebook'] == 'on'){
|
||||
if(!isset($obj->notebook) || $obj->notebook === ''){
|
||||
$obj->notebook = $inherit_size;
|
||||
}else{
|
||||
$inherit_size = $obj->notebook;
|
||||
}
|
||||
}else{
|
||||
$obj->notebook = $inherit_size;
|
||||
}
|
||||
|
||||
if($enabled_devices['tablet'] == 'on'){
|
||||
if(!isset($obj->tablet) || $obj->tablet === ''){
|
||||
$obj->tablet = $inherit_size;
|
||||
}else{
|
||||
$inherit_size = $obj->tablet;
|
||||
}
|
||||
}else{
|
||||
$obj->tablet = $inherit_size;
|
||||
}
|
||||
|
||||
if($enabled_devices['mobile'] == 'on'){
|
||||
if(!isset($obj->mobile) || $obj->mobile === ''){
|
||||
$obj->mobile = $inherit_size;
|
||||
}else{
|
||||
$inherit_size = $obj->mobile;
|
||||
}
|
||||
}else{
|
||||
$obj->mobile = $inherit_size;
|
||||
}
|
||||
|
||||
switch($return){
|
||||
case 'obj':
|
||||
//order according to: desktop, notebook, tablet, mobile
|
||||
$new_obj = new stdClass();
|
||||
$new_obj->desktop = $obj->desktop;
|
||||
$new_obj->notebook = $obj->notebook;
|
||||
$new_obj->tablet = $obj->tablet;
|
||||
$new_obj->mobile = $obj->mobile;
|
||||
return $new_obj;
|
||||
break;
|
||||
case 'html-array':
|
||||
if($obj->desktop === $obj->notebook && $obj->desktop === $obj->mobile && $obj->desktop === $obj->tablet){
|
||||
return $obj->desktop;
|
||||
}else{
|
||||
return "['".@$obj->desktop."','".@$obj->notebook."','".@$obj->tablet."','".@$obj->mobile."']";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* return biggest value of object depending on which devices are enabled
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_biggest_device_setting($obj, $enabled_devices){
|
||||
|
||||
if($enabled_devices['desktop'] == 'on'){
|
||||
if(isset($obj->desktop) && $obj->desktop != ''){
|
||||
return $obj->desktop;
|
||||
}
|
||||
}
|
||||
|
||||
if($enabled_devices['notebook'] == 'on'){
|
||||
if(isset($obj->notebook) && $obj->notebook != ''){
|
||||
return $obj->notebook;
|
||||
}
|
||||
}
|
||||
|
||||
if($enabled_devices['tablet'] == 'on'){
|
||||
if(isset($obj->tablet) && $obj->tablet != ''){
|
||||
return $obj->tablet;
|
||||
}
|
||||
}
|
||||
|
||||
if($enabled_devices['mobile'] == 'on'){
|
||||
if(isset($obj->mobile) && $obj->mobile != ''){
|
||||
return $obj->mobile;
|
||||
}
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* change hex to rgba
|
||||
*/
|
||||
public static function hex2rgba($hex, $transparency = false, $raw = false, $do_rgb = false) {
|
||||
if($transparency !== false){
|
||||
$transparency = ($transparency > 0) ? number_format( ( $transparency / 100 ), 2, ".", "" ) : 0;
|
||||
}else{
|
||||
$transparency = 1;
|
||||
}
|
||||
|
||||
$hex = str_replace("#", "", $hex);
|
||||
|
||||
if(strlen($hex) == 3) {
|
||||
$r = hexdec(substr($hex,0,1).substr($hex,0,1));
|
||||
$g = hexdec(substr($hex,1,1).substr($hex,1,1));
|
||||
$b = hexdec(substr($hex,2,1).substr($hex,2,1));
|
||||
} else if(self::isrgb($hex)){
|
||||
return $hex;
|
||||
} else {
|
||||
$r = hexdec(substr($hex,0,2));
|
||||
$g = hexdec(substr($hex,2,2));
|
||||
$b = hexdec(substr($hex,4,2));
|
||||
}
|
||||
|
||||
if($do_rgb){
|
||||
$ret = $r.', '.$g.', '.$b;
|
||||
}else{
|
||||
$ret = $r.', '.$g.', '.$b.', '.$transparency;
|
||||
}
|
||||
if($raw){
|
||||
return $ret;
|
||||
}else{
|
||||
return 'rgba('.$ret.')';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static function isrgb($rgba){
|
||||
if(strpos($rgba, 'rgb') !== false) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* change rgba to hex
|
||||
* @since: 5.0
|
||||
*/
|
||||
public static function rgba2hex($rgba){
|
||||
if(strtolower($rgba) == 'transparent') return $rgba;
|
||||
|
||||
$temp = explode(',', $rgba);
|
||||
$rgb = array();
|
||||
if(count($temp) == 4) unset($temp[3]);
|
||||
foreach($temp as $val){
|
||||
$t = dechex(preg_replace('/[^\d.]/', '', $val));
|
||||
if(strlen($t) < 2) $t = '0'.$t;
|
||||
$rgb[] = $t;
|
||||
}
|
||||
|
||||
return '#'.implode('', $rgb);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get transparency from rgba
|
||||
* @since: 5.0
|
||||
*/
|
||||
public static function get_trans_from_rgba($rgba, $in_percent = false){
|
||||
if(strtolower($rgba) == 'transparent') return 100;
|
||||
|
||||
$temp = explode(',', $rgba);
|
||||
if(count($temp) == 4){
|
||||
return ($in_percent) ? preg_replace('/[^\d.]/', '', $temp[3]) : preg_replace('/[^\d.]/', "", $temp[3]) * 100;
|
||||
}
|
||||
return 100;
|
||||
}
|
||||
|
||||
|
||||
public static function get_responsive_size($slider){
|
||||
$operations = new RevSliderOperations();
|
||||
$arrValues = $operations->getGeneralSettingsValues();
|
||||
|
||||
$enable_custom_size_notebook = $slider->slider->getParam('enable_custom_size_notebook','off');
|
||||
$enable_custom_size_tablet = $slider->slider->getParam('enable_custom_size_tablet','off');
|
||||
$enable_custom_size_iphone = $slider->slider->getParam('enable_custom_size_iphone','off');
|
||||
$adv_resp_sizes = ($enable_custom_size_notebook == 'on' || $enable_custom_size_tablet == 'on' || $enable_custom_size_iphone == 'on') ? true : false;
|
||||
|
||||
if($adv_resp_sizes == true){
|
||||
$width = $slider->slider->getParam("width", 1240, RevSlider::FORCE_NUMERIC);
|
||||
$def = $width;
|
||||
$width .= ',';
|
||||
if($enable_custom_size_notebook == 'on'){
|
||||
$width.= $slider->slider->getParam("width_notebook", 1024, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("width_notebook", 1024, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$width.= $def;
|
||||
}
|
||||
$width.= ',';
|
||||
if($enable_custom_size_tablet == 'on'){
|
||||
$width.= $slider->slider->getParam("width_tablet", 778, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("width_tablet", 778, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$width.= $def;
|
||||
}
|
||||
$width.= ',';
|
||||
if($enable_custom_size_iphone == 'on'){
|
||||
$width.= $slider->slider->getParam("width_mobile", 480, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("width_mobile", 480, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$width.= $def;
|
||||
}
|
||||
|
||||
$height = $slider->slider->getParam("height", 1240, RevSlider::FORCE_NUMERIC);
|
||||
$def = $height;
|
||||
$height .= ',';
|
||||
if($enable_custom_size_notebook == 'on'){
|
||||
$height.= $slider->slider->getParam("height_notebook", 1024, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("height_notebook", 1024, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$height.= $def;
|
||||
}
|
||||
$height.= ',';
|
||||
if($enable_custom_size_tablet == 'on'){
|
||||
$height.= $slider->slider->getParam("height_tablet", 778, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("height_tablet", 778, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$height.= $def;
|
||||
}
|
||||
$height.= ',';
|
||||
if($enable_custom_size_iphone == 'on'){
|
||||
$height.= $slider->slider->getParam("height_mobile", 480, RevSlider::FORCE_NUMERIC);
|
||||
$def = $slider->slider->getParam("height_mobile", 480, RevSlider::FORCE_NUMERIC);
|
||||
}else{
|
||||
$height.= $def;
|
||||
}
|
||||
|
||||
$responsive = (isset($arrValues['width'])) ? $arrValues['width'] : '1240';
|
||||
$def = (isset($arrValues['width'])) ? $arrValues['width'] : '1240';
|
||||
|
||||
$responsive.= ',';
|
||||
if($enable_custom_size_notebook == 'on'){
|
||||
$responsive.= (isset($arrValues['width_notebook'])) ? $arrValues['width_notebook'] : '1024';
|
||||
$def = (isset($arrValues['width_notebook'])) ? $arrValues['width_notebook'] : '1024';
|
||||
}else{
|
||||
$responsive.= $def;
|
||||
}
|
||||
$responsive.= ',';
|
||||
if($enable_custom_size_tablet == 'on'){
|
||||
$responsive.= (isset($arrValues['width_tablet'])) ? $arrValues['width_tablet'] : '778';
|
||||
$def = (isset($arrValues['width_tablet'])) ? $arrValues['width_tablet'] : '778';
|
||||
}else{
|
||||
$responsive.= $def;
|
||||
}
|
||||
$responsive.= ',';
|
||||
if($enable_custom_size_iphone == 'on'){
|
||||
$responsive.= (isset($arrValues['width_mobile'])) ? $arrValues['width_mobile'] : '480';
|
||||
$def = (isset($arrValues['width_mobile'])) ? $arrValues['width_mobile'] : '480';
|
||||
}else{
|
||||
$responsive.= $def;
|
||||
}
|
||||
|
||||
return array(
|
||||
'level' => $responsive,
|
||||
'height' => $height,
|
||||
'width' => $width
|
||||
);
|
||||
}else{
|
||||
|
||||
$responsive = (isset($arrValues['width'])) ? $arrValues['width'] : '1240';
|
||||
$def = (isset($arrValues['width'])) ? $arrValues['width'] : '1240';
|
||||
$responsive.= ',';
|
||||
$responsive.= (isset($arrValues['width_notebook'])) ? $arrValues['width_notebook'] : '1024';
|
||||
$responsive.= ',';
|
||||
$responsive.= (isset($arrValues['width_tablet'])) ? $arrValues['width_tablet'] : '778';
|
||||
$responsive.= ',';
|
||||
$responsive.= (isset($arrValues['width_mobile'])) ? $arrValues['width_mobile'] : '480';
|
||||
|
||||
return array(
|
||||
'visibilitylevel' => $responsive,
|
||||
'height' => $slider->slider->getParam("height", "868", RevSlider::FORCE_NUMERIC),
|
||||
'width' => $slider->slider->getParam("width", "1240", RevSlider::FORCE_NUMERIC)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if(!function_exists("dmp")){
|
||||
function dmp($str){
|
||||
echo "<div align='left'>";
|
||||
echo "<pre>";
|
||||
print_r($str);
|
||||
echo "</pre>";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteFunctionsRev extends RevSliderFunctions {}
|
||||
?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
$folderIncludes = dirname(__FILE__)."/";
|
||||
|
||||
require_once($folderIncludes . 'functions.class.php');
|
||||
require_once($folderIncludes . 'functions-wordpress.class.php');
|
||||
require_once($folderIncludes . 'db.class.php');
|
||||
require_once($folderIncludes . 'cssparser.class.php');
|
||||
require_once($folderIncludes . 'wpml.class.php');
|
||||
require_once($folderIncludes . 'woocommerce.class.php');
|
||||
require_once($folderIncludes . 'em-integration.class.php');
|
||||
require_once($folderIncludes . 'aq-resizer.class.php');
|
||||
require_once($folderIncludes . 'plugin-update.class.php');
|
||||
require_once($folderIncludes . 'addon-admin.class.php');
|
||||
require_once($folderIncludes . 'colorpicker.class.php');
|
||||
require_once($folderIncludes . 'loadbalancer.class.php');
|
||||
?>
|
||||
Whitespace-only changes.
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2017 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderLoadBalancer {
|
||||
|
||||
public $servers = array();
|
||||
|
||||
/**
|
||||
* set the server list on construct
|
||||
**/
|
||||
public function __construct(){
|
||||
$this->servers = get_option('revslider_servers', array());
|
||||
$this->servers = (empty($this->servers)) ? array('themepunch.tools') : $this->servers; //, 'themepunch-ext-a.tools'
|
||||
}
|
||||
|
||||
/**
|
||||
* get the url depending on the purpose, here with key, you can switch do a different server
|
||||
**/
|
||||
public function get_url($purpose, $key = 0){
|
||||
$url = 'https://';
|
||||
|
||||
$use_url = (!isset($this->servers[$key])) ? reset($this->servers) : $this->servers[$key];
|
||||
|
||||
//$use_url = 'themepunch.tools';
|
||||
switch($purpose){
|
||||
case 'updates':
|
||||
$url .= 'updates.';
|
||||
break;
|
||||
case 'templates':
|
||||
$url .= 'templates.';
|
||||
break;
|
||||
case 'library':
|
||||
$url .= 'library.';
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
$url .= $use_url;
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* refresh the server list to be used, will be done once in a month
|
||||
**/
|
||||
public function refresh_server_list($force = false){
|
||||
global $wp_version;
|
||||
|
||||
$last_check = get_option('revslider_server_refresh', false);
|
||||
|
||||
if($force === true || $last_check === false || time() - $last_check > 60 * 60 * 24 * 14){
|
||||
//$url = $this->get_url('updates');
|
||||
$url = 'https://updates.themepunch.tools';
|
||||
$count = 0;
|
||||
/*$response = false;
|
||||
do{*/
|
||||
$request = wp_remote_post($url.'/get_server_list.php', array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'body' => array(
|
||||
'item' => urlencode(RS_PLUGIN_SLUG),
|
||||
'version' => urlencode(RevSliderGlobals::SLIDER_REVISION)
|
||||
),
|
||||
'timeout' => 45
|
||||
));
|
||||
if(!is_wp_error($request)){
|
||||
if($response = maybe_unserialize($request['body'])){
|
||||
$list = json_decode($response, true);
|
||||
update_option('revslider_servers', $list);
|
||||
}
|
||||
}/*else{
|
||||
$url = $this->get_url('updates');
|
||||
}
|
||||
$count++;
|
||||
}while($response === false && $count < 5);*/
|
||||
|
||||
update_option('revslider_server_refresh', time());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* move the server list, to take the next server as the one currently seems unavailable
|
||||
**/
|
||||
public function move_server_list(){
|
||||
|
||||
$servers = $this->servers;
|
||||
|
||||
$a = array_shift($servers);
|
||||
$servers[] = $a;
|
||||
|
||||
$this->servers = $servers;
|
||||
update_option('revslider_servers', $servers);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
if(!class_exists('ThemePunch_Newsletter')) {
|
||||
|
||||
class ThemePunch_Newsletter {
|
||||
|
||||
protected static $remote_url = 'http://newsletter.themepunch.com/';
|
||||
protected static $subscribe = 'subscribe.php';
|
||||
protected static $unsubscribe = 'unsubscribe.php';
|
||||
|
||||
public function __construct(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Subscribe to the ThemePunch Newsletter
|
||||
* @since: 1.0.0
|
||||
**/
|
||||
public static function subscribe($email){
|
||||
global $wp_version;
|
||||
|
||||
$request = wp_remote_post(self::$remote_url.self::$subscribe, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'timeout' => 15,
|
||||
'body' => array(
|
||||
'email' => urlencode($email)
|
||||
)
|
||||
));
|
||||
|
||||
if(!is_wp_error($request)) {
|
||||
if($response = json_decode($request['body'], true)) {
|
||||
if(is_array($response)) {
|
||||
$data = $response;
|
||||
|
||||
return $data;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Unsubscribe to the ThemePunch Newsletter
|
||||
* @since: 1.0.0
|
||||
**/
|
||||
public static function unsubscribe($email){
|
||||
global $wp_version;
|
||||
|
||||
$request = wp_remote_post(self::$remote_url.self::$unsubscribe, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'timeout' => 15,
|
||||
'body' => array(
|
||||
'email' => urlencode($email)
|
||||
)
|
||||
));
|
||||
|
||||
if(!is_wp_error($request)) {
|
||||
if($response = json_decode($request['body'], true)) {
|
||||
if(is_array($response)) {
|
||||
$data = $response;
|
||||
|
||||
return $data;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,328 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderUpdate {
|
||||
|
||||
private $plugin_url = 'https://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380';
|
||||
private $remote_url = 'check_for_updates.php';
|
||||
private $remote_url_info = 'revslider/revslider.php';
|
||||
private $remote_temp_active = 'temp_activate.php';
|
||||
private $plugin_slug = 'revslider';
|
||||
private $plugin_path = 'revslider/revslider.php';
|
||||
private $version;
|
||||
private $plugins;
|
||||
private $option;
|
||||
|
||||
|
||||
public function __construct($version) {
|
||||
$this->option = $this->plugin_slug . '_update_info';
|
||||
$this->_retrieve_version_info();
|
||||
$this->version = $version;
|
||||
|
||||
}
|
||||
|
||||
public function add_update_checks(){
|
||||
|
||||
add_filter('pre_set_site_transient_update_plugins', array(&$this, 'set_update_transient'));
|
||||
add_filter('plugins_api', array(&$this, 'set_updates_api_results'), 10, 3);
|
||||
|
||||
}
|
||||
|
||||
public function set_update_transient($transient) {
|
||||
|
||||
$this->_check_updates();
|
||||
|
||||
if(isset($transient) && !isset($transient->response)) {
|
||||
$transient->response = array();
|
||||
}
|
||||
|
||||
if(!empty($this->data->basic) && is_object($this->data->basic)) {
|
||||
if(version_compare($this->version, $this->data->basic->version, '<')) {
|
||||
|
||||
$this->data->basic->new_version = $this->data->basic->version;
|
||||
$transient->response[$this->plugin_path] = $this->data->basic;
|
||||
}
|
||||
}
|
||||
|
||||
return $transient;
|
||||
}
|
||||
|
||||
|
||||
public function set_updates_api_results($result, $action, $args) {
|
||||
|
||||
$this->_check_updates();
|
||||
|
||||
if(isset($args->slug) && $args->slug == $this->plugin_slug && $action == 'plugin_information') {
|
||||
if(is_object($this->data->full) && !empty($this->data->full)) {
|
||||
$result = $this->data->full;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
protected function _check_updates() {
|
||||
|
||||
//reset saved options
|
||||
//update_option($this->option, false);
|
||||
|
||||
$force_check = false;
|
||||
|
||||
if(isset($_GET['checkforupdates']) && $_GET['checkforupdates'] == 'true') $force_check = true;
|
||||
|
||||
// Get data
|
||||
if(empty($this->data)) {
|
||||
$data = get_option($this->option, false);
|
||||
$data = $data ? $data : new stdClass;
|
||||
|
||||
$this->data = is_object($data) ? $data : maybe_unserialize($data);
|
||||
}
|
||||
|
||||
$last_check = get_option('revslider-update-check');
|
||||
if($last_check == false){ //first time called
|
||||
$last_check = time();
|
||||
update_option('revslider-update-check', $last_check);
|
||||
}
|
||||
|
||||
// Check for updates
|
||||
if(time() - $last_check > 172800 || $force_check == true){
|
||||
|
||||
$data = $this->_retrieve_update_info();
|
||||
|
||||
if(isset($data->basic)) {
|
||||
update_option('revslider-update-check', time());
|
||||
|
||||
$this->data->checked = time();
|
||||
$this->data->basic = $data->basic;
|
||||
$this->data->full = $data->full;
|
||||
|
||||
update_option('revslider-stable-version', $data->full->stable);
|
||||
update_option('revslider-latest-version', $data->full->version);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Save results
|
||||
update_option($this->option, $this->data);
|
||||
}
|
||||
|
||||
|
||||
public function _retrieve_update_info() {
|
||||
global $wp_version, $rslb;
|
||||
|
||||
$data = new stdClass;
|
||||
|
||||
// Build request
|
||||
$code = get_option('revslider-code', '');
|
||||
$validated = get_option('revslider-valid', 'false');
|
||||
$stable_version = get_option('revslider-stable-version', '4.2');
|
||||
|
||||
$rattr = array(
|
||||
'code' => urlencode($code),
|
||||
'version' => urlencode(RevSliderGlobals::SLIDER_REVISION)
|
||||
);
|
||||
|
||||
if($validated !== 'true' && version_compare(RevSliderGlobals::SLIDER_REVISION, $stable_version, '<')){ //We'll get the last stable only now!
|
||||
$rattr['get_stable'] = 'true';
|
||||
}
|
||||
|
||||
$done = false;
|
||||
$count = 0;
|
||||
do{
|
||||
$url = $rslb->get_url('updates');
|
||||
$request = wp_remote_post($url.'/'.$this->remote_url_info, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'body' => $rattr
|
||||
));
|
||||
|
||||
$response_code = wp_remote_retrieve_response_code( $request );
|
||||
if($response_code == 200){
|
||||
$done = true;
|
||||
}else{
|
||||
$rslb->move_server_list();
|
||||
}
|
||||
|
||||
$count++;
|
||||
}while($done == false && $count < 5);
|
||||
|
||||
if(!is_wp_error($request)) {
|
||||
if($response = maybe_unserialize($request['body'])) {
|
||||
if(is_object($response)) {
|
||||
$data = $response;
|
||||
|
||||
$data->basic->url = $this->plugin_url;
|
||||
$data->full->url = $this->plugin_url;
|
||||
$data->full->external = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
public function _retrieve_version_info($force_check = false) {
|
||||
global $wp_version, $rslb;
|
||||
|
||||
$last_check = get_option('revslider-update-check-short');
|
||||
|
||||
if($last_check == false){ //first time called
|
||||
$last_check = time();
|
||||
update_option('revslider-update-check-short', $last_check);
|
||||
}
|
||||
|
||||
|
||||
// Check for updates
|
||||
if(time() - $last_check > 172800 || $force_check == true){
|
||||
|
||||
update_option('revslider-update-check-short', time());
|
||||
|
||||
$purchase = (get_option('revslider-valid', 'false') == 'true') ? get_option('revslider-code', '') : '';
|
||||
|
||||
$done = false;
|
||||
$count = 0;
|
||||
do{
|
||||
$url = $rslb->get_url('updates');
|
||||
$response = wp_remote_post($url.'/'.$this->remote_url, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'body' => array(
|
||||
'item' => urlencode(RS_PLUGIN_SLUG),
|
||||
'version' => urlencode(RevSliderGlobals::SLIDER_REVISION),
|
||||
'code' => urlencode($purchase)
|
||||
),
|
||||
'timeout' => 45
|
||||
));
|
||||
|
||||
$response_code = wp_remote_retrieve_response_code( $response );
|
||||
$version_info = wp_remote_retrieve_body( $response );
|
||||
|
||||
if($response_code == 200){
|
||||
$done = true;
|
||||
}else{
|
||||
$rslb->move_server_list();
|
||||
}
|
||||
|
||||
$count++;
|
||||
}while($done == false && $count < 5);
|
||||
|
||||
if ( $response_code != 200 || is_wp_error( $version_info ) ) {
|
||||
update_option('revslider-connection', false);
|
||||
return false;
|
||||
}else{
|
||||
update_option('revslider-connection', true);
|
||||
}
|
||||
|
||||
$version_info = json_decode($version_info);
|
||||
if(isset($version_info->version)){
|
||||
update_option('revslider-latest-version', $version_info->version);
|
||||
}
|
||||
|
||||
if(isset($version_info->stable)){
|
||||
update_option('revslider-stable-version', $version_info->stable);
|
||||
}
|
||||
|
||||
if(isset($version_info->notices)){
|
||||
update_option('revslider-notices', $version_info->notices);
|
||||
}
|
||||
|
||||
if(isset($version_info->dashboard)){
|
||||
update_option('revslider-dashboard', $version_info->dashboard);
|
||||
}
|
||||
|
||||
if(isset($version_info->addons)){
|
||||
update_option('revslider-addons', $version_info->addons);
|
||||
}
|
||||
|
||||
if(isset($version_info->deactivated) && $version_info->deactivated === true){
|
||||
if(get_option('revslider-valid', 'false') == 'true'){
|
||||
//remove validation, add notice
|
||||
update_option('revslider-valid', 'false');
|
||||
update_option('revslider-deact-notice', true);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if($force_check == true){ //force that the update will be directly searched
|
||||
update_option('revslider-update-check', '');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function add_temp_active_check($force = false){
|
||||
global $wp_version, $rslb;
|
||||
|
||||
$last_check = get_option('revslider-activate-temp-short');
|
||||
|
||||
if($last_check == false){ //first time called
|
||||
$last_check = time();
|
||||
update_option('revslider-activate-temp-short', $last_check);
|
||||
}
|
||||
|
||||
|
||||
// Check for updates
|
||||
if(time() - $last_check > 3600 || $force == true){
|
||||
$done = false;
|
||||
$count = 0;
|
||||
do{
|
||||
$url = $rslb->get_url('updates');
|
||||
$response = wp_remote_post($url.'/'.$this->remote_temp_active, array(
|
||||
'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'),
|
||||
'body' => array(
|
||||
'item' => urlencode(RS_PLUGIN_SLUG),
|
||||
'version' => urlencode(RevSliderGlobals::SLIDER_REVISION),
|
||||
'code' => urlencode(get_option('revslider-code', ''))
|
||||
),
|
||||
'timeout' => 45
|
||||
));
|
||||
|
||||
$response_code = wp_remote_retrieve_response_code( $response );
|
||||
$version_info = wp_remote_retrieve_body( $response );
|
||||
if($response_code == 200){
|
||||
$done = true;
|
||||
}else{
|
||||
$rslb->move_server_list();
|
||||
}
|
||||
|
||||
$count++;
|
||||
}while($done == false && $count < 5);
|
||||
|
||||
|
||||
if ( $response_code != 200 || is_wp_error( $version_info ) ) {
|
||||
//wait, cant connect
|
||||
}else{
|
||||
if($version_info == 'valid'){
|
||||
update_option('revslider-valid', 'true');
|
||||
update_option('revslider-temp-active', 'false');
|
||||
}elseif($version_info == 'temp_valid'){
|
||||
//do nothing,
|
||||
}elseif($version_info == 'invalid'){
|
||||
//invalid, deregister plugin!
|
||||
update_option('revslider-valid', 'false');
|
||||
update_option('revslider-temp-active', 'false');
|
||||
update_option('revslider-temp-active-notice', 'true');
|
||||
}
|
||||
}
|
||||
|
||||
$last_check = time();
|
||||
update_option('revslider-activate-temp-short', $last_check);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteUpdateClassRev extends RevSliderUpdate {}
|
||||
?>
|
||||
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderWooCommerce{
|
||||
|
||||
const ARG_REGULAR_PRICE_FROM = "reg_price_from";
|
||||
const ARG_REGULAR_PRICE_TO = "reg_price_to";
|
||||
const ARG_SALE_PRICE_FROM = "sale_price_from";
|
||||
const ARG_SALE_PRICE_TO = "sale_price_to";
|
||||
const ARG_IN_STOCK_ONLY = "instock_only";
|
||||
const ARG_FEATURED_ONLY = "featured_only";
|
||||
|
||||
const META_REGULAR_PRICE = "_regular_price";
|
||||
const META_SALE_PRICE = "_sale_price";
|
||||
const META_SKU = "_sku"; //can be 'instock' or 'outofstock'
|
||||
const META_STOCK = "_stock"; //can be 'instock' or 'outofstock'
|
||||
|
||||
|
||||
const SORTBY_NUMSALES = "meta_num_total_sales";
|
||||
const SORTBY_REGULAR_PRICE = "meta_num__regular_price";
|
||||
const SORTBY_SALE_PRICE = "meta_num__sale_price";
|
||||
const SORTBY_FEATURED = "meta__featured";
|
||||
const SORTBY_SKU = "meta__sku";
|
||||
const SORTBY_STOCK = "meta_num_stock";
|
||||
|
||||
/**
|
||||
*
|
||||
* return true / false if the woo commerce exists
|
||||
*/
|
||||
public static function isWooCommerceExists(){
|
||||
|
||||
if(class_exists( 'Woocommerce' ))
|
||||
return(true);
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* compare wc current version to given version
|
||||
*/
|
||||
public static function version_check( $version = '1.0' ) {
|
||||
if(self::isWooCommerceExists()){
|
||||
global $woocommerce;
|
||||
if(version_compare($woocommerce->version, $version, '>=')){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get wc post types
|
||||
*/
|
||||
public static function getCustomPostTypes(){
|
||||
$arr = array();
|
||||
$arr["product"] = __("Product", 'revslider');
|
||||
$arr["product_variation"] = __("Product Variation", 'revslider');
|
||||
|
||||
return($arr);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get price query
|
||||
*/
|
||||
private static function getPriceQuery($priceFrom, $priceTo, $metaTag){
|
||||
|
||||
if(empty($priceFrom))
|
||||
$priceFrom = 0;
|
||||
|
||||
if(empty($priceTo))
|
||||
$priceTo = 9999999999;
|
||||
|
||||
$query = array( 'key' => $metaTag,
|
||||
'value' => array( $priceFrom, $priceTo),
|
||||
'type' => 'numeric',
|
||||
'compare' => 'BETWEEN');
|
||||
|
||||
return($query);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get meta query for filtering woocommerce posts.
|
||||
*/
|
||||
public static function getMetaQuery($args){
|
||||
|
||||
$regPriceFrom = RevSliderFunctions::getVal($args, self::ARG_REGULAR_PRICE_FROM);
|
||||
$regPriceTo = RevSliderFunctions::getVal($args, self::ARG_REGULAR_PRICE_TO);
|
||||
|
||||
$salePriceFrom = RevSliderFunctions::getVal($args, self::ARG_SALE_PRICE_FROM);
|
||||
$salePriceTo = RevSliderFunctions::getVal($args, self::ARG_SALE_PRICE_TO);
|
||||
|
||||
$inStockOnly = RevSliderFunctions::getVal($args, self::ARG_IN_STOCK_ONLY);
|
||||
$featuredOnly = RevSliderFunctions::getVal($args, self::ARG_FEATURED_ONLY);
|
||||
|
||||
$arrQueries = array();
|
||||
$tax_query = array();
|
||||
|
||||
//get regular price array
|
||||
if(!empty($regPriceFrom) || !empty($regPriceTo)){
|
||||
$arrQueries[] = self::getPriceQuery($regPriceFrom, $regPriceTo, self::META_REGULAR_PRICE);
|
||||
}
|
||||
|
||||
//get sale price array
|
||||
if(!empty($salePriceFrom) || !empty($salePriceTo)){
|
||||
$arrQueries[] = self::getPriceQuery($salePriceFrom, $salePriceTo, self::META_SALE_PRICE);
|
||||
}
|
||||
|
||||
if($inStockOnly == "on"){
|
||||
$tax_query[] = array(
|
||||
'taxonomy' => 'product_visibility',
|
||||
'field' => 'name',
|
||||
'terms' => 'outofstock',
|
||||
'operator' => 'NOT IN',
|
||||
);
|
||||
}
|
||||
|
||||
if($featuredOnly == "on"){
|
||||
$tax_query[] = array(
|
||||
'taxonomy' => 'product_visibility',
|
||||
'field' => 'name',
|
||||
'terms' => 'featured',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$query = array();
|
||||
if(!empty($arrQueries)){
|
||||
$query = array("meta_query"=>$arrQueries);
|
||||
}
|
||||
|
||||
if(!empty($tax_query)){
|
||||
$query['tax_query'] = $tax_query;
|
||||
}
|
||||
|
||||
return($query);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get sortby function including standart wp sortby array
|
||||
*/
|
||||
public static function getArrSortBy(){
|
||||
|
||||
$arrSortBy = array();
|
||||
$arrSortBy[self::SORTBY_REGULAR_PRICE] = __("Regular Price", 'revslider');
|
||||
$arrSortBy[self::SORTBY_SALE_PRICE] = __("Sale Price", 'revslider');
|
||||
$arrSortBy[self::SORTBY_NUMSALES] = __("Number Of Sales", 'revslider');
|
||||
$arrSortBy[self::SORTBY_FEATURED] = __("Featured Products", 'revslider');
|
||||
$arrSortBy[self::SORTBY_SKU] = __("SKU", 'revslider');
|
||||
$arrSortBy[self::SORTBY_STOCK] = __("Stock Quantity", 'revslider');
|
||||
|
||||
return($arrSortBy);
|
||||
}
|
||||
|
||||
|
||||
} //end of the class
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,226 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderWpml{
|
||||
|
||||
private static $sitepress;
|
||||
|
||||
/**
|
||||
*
|
||||
* true / false if the wpml plugin exists
|
||||
*/
|
||||
public static function isWpmlExists(){
|
||||
return did_action( 'wpml_loaded' );
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* valdiate that wpml exists
|
||||
*/
|
||||
private static function validateWpmlExists(){
|
||||
if(!self::isWpmlExists())
|
||||
RevSliderFunctions::throwError("The wpml plugin is not activated");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get languages array
|
||||
*/
|
||||
public static function getArrLanguages($getAllCode = true){
|
||||
|
||||
self::validateWpmlExists();
|
||||
|
||||
$arrLangs = apply_filters( 'wpml_active_languages', array() );
|
||||
|
||||
$response = array();
|
||||
|
||||
if($getAllCode == true)
|
||||
$response["all"] = __("All Languages",'revslider');
|
||||
|
||||
foreach($arrLangs as $code=>$arrLang){
|
||||
$name = $arrLang["native_name"];
|
||||
$response[$code] = $name;
|
||||
}
|
||||
|
||||
return($response);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* get assoc array of lang codes
|
||||
*/
|
||||
public static function getArrLangCodes($getAllCode = true){
|
||||
|
||||
$arrCodes = array();
|
||||
|
||||
if($getAllCode == true)
|
||||
$arrCodes["all"] = "all";
|
||||
|
||||
self::validateWpmlExists();
|
||||
|
||||
$arrLangs = apply_filters( 'wpml_active_languages', array() );
|
||||
|
||||
foreach($arrLangs as $code=>$arr){
|
||||
$arrCodes[$code] = $code;
|
||||
}
|
||||
|
||||
return($arrCodes);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* check if all languages exists in the given langs array
|
||||
*/
|
||||
public static function isAllLangsInArray($arrCodes){
|
||||
$arrAllCodes = self::getArrLangCodes();
|
||||
$diff = array_diff($arrAllCodes, $arrCodes);
|
||||
return(empty($diff));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get langs with flags menu list
|
||||
* @param $props
|
||||
*/
|
||||
public static function getLangsWithFlagsHtmlList($props = "",$htmlBefore = ""){
|
||||
|
||||
$arrLangs = self::getArrLanguages();
|
||||
|
||||
if(!empty($props))
|
||||
$props = " ".$props;
|
||||
|
||||
$html = "<ul".$props.">"."\n";
|
||||
$html .= $htmlBefore;
|
||||
|
||||
foreach($arrLangs as $code=>$title){
|
||||
$urlIcon = self::getFlagUrl($code);
|
||||
|
||||
/* NEW:
|
||||
foreach($arrLangs as $lang){
|
||||
$code = $lang['language_code'];
|
||||
$title = $lang['native_name'];
|
||||
$urlIcon = $lang['country_flag_url'];
|
||||
|
||||
*/
|
||||
$html .= "<li data-lang='".$code."' class='item_lang'><a data-lang='".$code."' href='javascript:void(0)'>"."\n";
|
||||
$html .= "<img src='".$urlIcon."'/> $title"."\n";
|
||||
$html .= "</a></li>"."\n";
|
||||
}
|
||||
|
||||
$html .= "</ul>";
|
||||
|
||||
|
||||
return($html);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* get flag url
|
||||
*/
|
||||
public static function getFlagUrl($code){
|
||||
|
||||
self::validateWpmlExists();
|
||||
|
||||
if ( empty( $code ) || $code == "all" ) {
|
||||
$url = RS_PLUGIN_URL.'admin/assets/images/icon-all.png'; // NEW: ICL_PLUGIN_URL . '/res/img/icon16.png';
|
||||
} else {
|
||||
$active_languages = apply_filters( 'wpml_active_languages', array() );
|
||||
$url = isset( $active_languages[$code]['country_flag_url'] ) ? $active_languages[$code]['country_flag_url'] : null;
|
||||
}
|
||||
|
||||
//default: show all
|
||||
if(empty($url)){
|
||||
$url = RS_PLUGIN_URL.'admin/assets/images/icon-all.png';
|
||||
// NEW: $url = ICL_PLUGIN_URL . '/res/img/icon16.png';
|
||||
}
|
||||
|
||||
return($url);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get language title by code
|
||||
*/
|
||||
public static function getLangTitle($code){
|
||||
|
||||
if($code == "all")
|
||||
return(__("All Languages", 'revslider'));
|
||||
|
||||
$default_language = apply_filters( 'wpml_default_language', null );
|
||||
return apply_filters( 'wpml_translated_language_name', '', $code, $default_language );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* get current language
|
||||
*/
|
||||
public static function getCurrentLang(){
|
||||
self::validateWpmlExists();
|
||||
|
||||
if ( is_admin() ) {
|
||||
return apply_filters( 'wpml_default_language', null );
|
||||
}
|
||||
return apply_filters( 'wpml_current_language', null );
|
||||
|
||||
return($lang);
|
||||
}
|
||||
|
||||
|
||||
public static function svg_val_filter( $svg_val ) {
|
||||
|
||||
$current_language = apply_filters( 'wpml_current_language', null );
|
||||
|
||||
if ( is_array( $svg_val ) && array_key_exists( 'src', $svg_val )
|
||||
&& $current_language != apply_filters( 'wpml_default_language', null )
|
||||
&& apply_filters( 'wpml_setting', null, 'language_negotiation_type' ) == 2
|
||||
) {
|
||||
|
||||
$svg_val['src'] = self::convert_url( $svg_val['src'], $current_language );
|
||||
|
||||
}
|
||||
|
||||
return $svg_val;
|
||||
}
|
||||
|
||||
public static function convert_url( $url, $language ){
|
||||
|
||||
if ( self::$sitepress instanceof SitePress ) {
|
||||
$url = self::$sitepress->convert_url( $url, $language );
|
||||
}
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
private static function set_sitepress() {
|
||||
|
||||
if ( ! self::$sitepress instanceof SitePress ) {
|
||||
global $sitepress;
|
||||
self::$sitepress = $sitepress;
|
||||
}
|
||||
}
|
||||
|
||||
public static function add_hooks() {
|
||||
|
||||
if ( self::isWpmlExists() ) {
|
||||
self::set_sitepress();
|
||||
add_filter( 'revslider_svg_val', array( 'RevSliderWpml', 'svg_val_filter' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class UniteWpmlRev extends RevSliderWpml {}
|
||||
?>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
define("REVSLIDER_TEXTDOMAIN","revslider"); //just here for fallback reasons of themes
|
||||
|
||||
class RevSliderGlobals{
|
||||
|
||||
const SLIDER_REVISION = '5.4.8.3';
|
||||
const TABLE_SLIDERS_NAME = "revslider_sliders";
|
||||
const TABLE_SLIDES_NAME = "revslider_slides";
|
||||
const TABLE_STATIC_SLIDES_NAME = "revslider_static_slides";
|
||||
const TABLE_SETTINGS_NAME = "revslider_settings";
|
||||
const TABLE_CSS_NAME = "revslider_css";
|
||||
const TABLE_LAYER_ANIMS_NAME = "revslider_layer_animations";
|
||||
const TABLE_NAVIGATION_NAME = "revslider_navigations";
|
||||
|
||||
const FIELDS_SLIDE = "slider_id,slide_order,params,layers";
|
||||
const FIELDS_SLIDER = "title,alias,params,type";
|
||||
|
||||
const YOUTUBE_EXAMPLE_ID = "iyuxFo-WBiU";
|
||||
const DEFAULT_YOUTUBE_ARGUMENTS = "hd=1&wmode=opaque&showinfo=0&rel=0;";
|
||||
const DEFAULT_VIMEO_ARGUMENTS = "title=0&byline=0&portrait=0&api=1";
|
||||
const LINK_HELP_SLIDERS = "https://www.themepunch.com/revslider-doc/slider-revolution-documentation/?rev=rsb";
|
||||
const LINK_HELP_SLIDER = "https://www.themepunch.com/revslider-doc/slider-settings/?rev=rsb#generalsettings";
|
||||
const LINK_HELP_SLIDE_LIST = "https://www.themepunch.com/revslider-doc/individual-slide-settings/?rev=rsb";
|
||||
const LINK_HELP_SLIDE = "https://www.themepunch.com/revslider-doc/individual-slide-settings/?rev=rsb";
|
||||
|
||||
public static $table_sliders;
|
||||
public static $table_slides;
|
||||
public static $table_static_slides;
|
||||
public static $table_settings;
|
||||
public static $table_css;
|
||||
public static $table_layer_anims;
|
||||
public static $table_navigation;
|
||||
public static $filepath_backup;
|
||||
public static $filepath_captions;
|
||||
public static $filepath_dynamic_captions;
|
||||
public static $filepath_captions_original;
|
||||
public static $urlCaptionsCSS;
|
||||
public static $uploadsUrlExportZip;
|
||||
public static $isNewVersion;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class GlobalsRevSlider extends RevSliderGlobals {}
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,21 @@
|
||||
# Gutenberg Block Development Course for WordPress
|
||||
|
||||

|
||||
|
||||
## A Course from Zac Gordon on JS for WP
|
||||
|
||||
[View the course on https://javascriptforwp.com/ >>](https://javascriptforwp.com/product/gutenberg-block-development-course/)
|
||||
|
||||
## Course Outline
|
||||
|
||||
1. Core Gutenberg Architecture
|
||||
2. A High Level Overview of Blocks
|
||||
3. Working with registerBlockType ([See this plugin repo for this section](https://github.com/zgordon/how-to-gutenberg-plugin))
|
||||
4. HTTP Requests Outside of WordPress
|
||||
5. Example Block Walkthroughs
|
||||
|
||||
## Example File Instructions
|
||||
|
||||
1. Download or fork the course repo
|
||||
2. Install themes and plugins as needed
|
||||
3. Run `npm install` and `npm run dev` to make changes
|
||||
@@ -0,0 +1,30 @@
|
||||
div.revslider_block {
|
||||
background: url(../images/revlogo.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 205px;
|
||||
line-height: 32px; }
|
||||
|
||||
div.revslider_block .components-text-control__input {
|
||||
display: none; }
|
||||
|
||||
div.revslider_block span {
|
||||
font-weight: bold;
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
|
||||
|
||||
div.revslider_block .slider_slug {
|
||||
float: left; }
|
||||
|
||||
div.revslider_block .slider_edit_button {
|
||||
float: right; }
|
||||
|
||||
[data-type="themepunch/revslider"] .editor-block-list__block-edit:before {
|
||||
outline: 1px solid rgba(145, 151, 162, 0.25) !important; }
|
||||
|
||||
.editor-block-list-item-themepunch-revslider svg,
|
||||
.components-panel__body.edit-post-block-sidebar__panel svg.dashicons-update {
|
||||
width: 24px;
|
||||
height: 24px; }
|
||||
|
||||
.editor-block-list-item-themepunch-revslider .editor-block-types-list__item-title {
|
||||
padding: 4px 1px 4px 1px; }
|
||||
@@ -0,0 +1,30 @@
|
||||
div.revslider_block {
|
||||
background: url(../images/revlogo.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 205px;
|
||||
line-height: 32px; }
|
||||
|
||||
div.revslider_block .components-text-control__input {
|
||||
display: none; }
|
||||
|
||||
div.revslider_block span {
|
||||
font-weight: bold;
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
|
||||
|
||||
div.revslider_block .slider_slug {
|
||||
float: left; }
|
||||
|
||||
div.revslider_block .slider_edit_button {
|
||||
float: right; }
|
||||
|
||||
[data-type="themepunch/revslider"] .editor-block-list__block-edit:before {
|
||||
outline: 1px solid rgba(145, 151, 162, 0.25) !important; }
|
||||
|
||||
.editor-block-list-item-themepunch-revslider svg,
|
||||
.components-panel__body.edit-post-block-sidebar__panel svg.dashicons-update {
|
||||
width: 24px;
|
||||
height: 24px; }
|
||||
|
||||
.editor-block-list-item-themepunch-revslider .editor-block-types-list__item-title {
|
||||
padding: 4px 1px 4px 1px; }
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="260px" height="260px" viewBox="0 0 260 260" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Artboard</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<polygon id="path-1" points="0.865919429 173.933077 115.743287 173.933077 115.743287 0.803297698 0.865919429 0.803297698"></polygon>
|
||||
</defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Artboard">
|
||||
<g id="wapuu-js-learning" transform="translate(48.000000, 14.000000)">
|
||||
<g id="Group-4" transform="translate(67.000000, 0.000000)">
|
||||
<path d="M2.39536585,22.3852273 L44.0601463,2.03522727" id="Fill-1" fill="#969894"></path>
|
||||
<path d="M2.3964878,24.0897727 C1.77156098,24.0897727 1.17019512,23.7340909 0.879609756,23.125 C0.475707317,22.2772727 0.826878049,21.2579545 1.66497561,20.8488636 L43.3297561,0.5 C44.1644878,0.0909090909 45.172,0.446590909 45.5770244,1.29431818 C45.9798049,2.14318182 45.6286341,3.16136364 44.7905366,3.57045455 L3.12687805,23.9204545 C2.89126829,24.0352273 2.64219512,24.0897727 2.3964878,24.0897727" id="Fill-3" fill="#0A0B09"></path>
|
||||
</g>
|
||||
<polyline id="Fill-5" fill="#1A6193" points="53.5267129 2 17 41.8901408 97.4786168 51 140 12.8788282 53.5267129 2"></polyline>
|
||||
<path d="M21.1558745,40.7980319 L97.9969169,49.567742 L137.45372,13.9038068 L55.0730137,3.45488578 L21.1558745,40.7980319 Z M98.5719371,53 C98.5062852,53 98.4428971,52.9966438 98.3772452,52.9899314 L17.5031376,43.7604241 C16.8726528,43.6877068 16.3349862,43.2748961 16.1097322,42.6864451 C15.8856101,42.1002315 16.0101224,41.4390631 16.434596,40.9714348 L53.1408098,0.557379836 C53.5143466,0.146806599 54.0633324,-0.0590393828 54.6202418,0.014796676 L141.518479,11.0353878 C142.173866,11.1181737 142.72172,11.5701399 142.92094,12.1932715 C143.120159,12.8164031 142.935655,13.4977085 142.448925,13.9384874 L99.7185818,52.5603398 C99.4027735,52.8456155 98.9941469,53 98.5719371,53 L98.5719371,53 Z" id="Fill-6" fill="#0A0B09"></path>
|
||||
<path d="M34.1977414,122.147911 C37.4970617,131.071501 52.5331583,105.205408 48.2330364,98.5614212 C43.9329146,91.9174341 36.3059589,83.9511434 32.8266548,81.7118488 C29.3462042,79.4725542 19.0068817,82.3959533 19.0000033,92.1973459 C18.9942713,100.874613 26.4607319,101.220584 34.1977414,122.147911" id="Fill-7" fill="#F9CE22"></path>
|
||||
<path d="M29.4706132,82.3322112 C28.2498015,82.3322112 26.723504,82.6655272 25.2696179,83.4343763 C23.4502804,84.3954376 20.3988168,86.7575374 20.3942911,91.7761662 C20.3920282,95.3182049 21.7746342,97.1714422 24.2864063,100.536823 C27.2043613,104.44551 31.2005679,109.799677 35.2929461,120.9291 C35.485289,121.451295 35.6742376,121.642396 35.7262833,121.66795 C36.0057462,121.739058 37.6440552,121.11909 40.3063073,117.34373 C44.9576113,110.748516 47.8337034,101.652321 46.1139315,98.9802373 C42.0170277,92.6161227 34.7204431,84.903189 31.4087509,82.7610778 C30.9833336,82.4866476 30.2976877,82.3322112 29.4706132,82.3322112 Z M35.7375976,125 C35.6142719,125 35.4909461,124.993334 35.3676204,124.982223 C34.5167859,124.89445 32.9599398,124.396698 32.1011853,122.062374 C28.1739958,111.382928 24.3452406,106.252083 21.5494799,102.506721 C18.9064621,98.9669047 16.9966102,96.4081484 17.0000045,91.7739441 C17.0045302,86.8441996 19.4314451,82.7344125 23.6607261,80.4989728 C27.0391727,78.7157319 30.992385,78.5001875 33.2767399,79.9778887 C36.939175,82.3477659 44.5978169,90.3873493 48.9832351,97.1992185 C51.9849158,101.86231 47.7296119,112.004007 44.1361939,117.683712 C41.9989248,121.061315 38.8411069,125 35.7375976,125 L35.7375976,125 Z" id="Fill-8" fill="#0A0B09"></path>
|
||||
<path d="M148.991215,119.880993 C149.564673,165.967184 121.986744,188 88.6742302,188 C55.3617167,188 18,187.52727 18,149.905524 C18,131.441097 30.1668001,125.706866 36.7198038,113.414756 C47.4439271,93.2985662 31.4514372,60.6723414 70.9602362,50.0912256 C103.116802,41.4792612 147.853329,28.2986866 148.991215,119.880993" id="Fill-9" fill="#F9CE22"></path>
|
||||
<path d="M103.884124,46.2910073 C93.4992611,46.2910073 82.4424102,49.2591831 72.1622291,52.0188507 L70.9375672,52.3466657 C45.5382146,59.1538458 44.229132,74.9246492 42.8435081,91.6209168 C42.1816504,99.5966349 41.4972805,107.843302 37.8480582,114.692853 C35.6306098,118.854097 32.8042072,122.27497 30.0701045,125.583226 C24.5715077,132.237649 19.3768251,138.521886 19.3768251,150.319883 C19.3768251,186.654948 55.9197004,186.654948 88.1605007,186.654948 C104.744089,186.654948 118.961648,181.188019 129.275597,170.845119 C140.883996,159.20211 146.880112,141.753205 146.614468,120.385016 C146.176607,85.0991812 139.374555,63.0162654 125.81998,52.8740689 C119.327471,48.0159389 111.800527,46.2910073 103.884124,46.2910073 Z M88.1605007,190 C56.0108747,190 16,190 16,150.319883 C16,137.327702 21.8250233,130.279678 27.4575675,123.463578 C30.0847374,120.283549 32.801956,116.995363 34.8606937,113.130714 C38.187992,106.886617 38.8149558,99.3379509 39.4779391,91.3466226 C40.832046,75.0305758 42.3662502,56.5380154 70.0562158,49.1186909 L71.2786265,48.7897608 C89.2095677,43.9751165 111.523628,37.9863591 127.855079,50.2047177 C142.298886,61.0125795 149.539924,83.9551735 149.991293,120.34376 C150.268193,142.626264 143.93552,160.903626 131.677645,173.195576 C120.715346,184.18853 105.667087,190 88.1605007,190 L88.1605007,190 Z" id="Fill-10" fill="#0A0B09"></path>
|
||||
<path d="M29.9614905,75.6919793 C15.6405347,79.7619377 14.1709843,73.1019049 17.4758203,72.3614078 C20.7806562,71.6209108 29.5935521,66.440762 34,62 L29.9614905,75.6919793" id="Fill-11" fill="#E8802C"></path>
|
||||
<g id="Group-16" transform="translate(12.000000, 59.000000)">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<g id="Clip-13"></g>
|
||||
<path d="M5.72341748,14.6070769 C5.75607767,14.6070769 5.86081553,14.8056154 6.21106796,15.0398462 C6.8856699,15.4904615 9.60772816,16.7664615 16.9742913,14.8625 L19.2312233,7.34480769 C14.5202718,10.788 8.72928155,13.9032692 5.92838835,14.5200769 C5.70652427,14.5691538 5.71891262,14.6081923 5.72341748,14.6070769 Z M10.1719612,19.227 C6.35071845,19.227 4.44066019,18.0815 3.52392233,17.1635385 C2.52046602,16.1585769 2.13642718,14.8379615 2.49568932,13.6288846 C2.8504466,12.4354231 3.85953398,11.5475769 5.19409709,11.2531154 C8.10535922,10.6117692 16.8188738,5.69180769 21.2606602,1.29384615 C21.8057476,0.751769231 22.6526602,0.646923077 23.3193786,1.03953846 C23.9838447,1.43103846 24.2935534,2.21961538 24.0739417,2.95353846 L19.9452427,16.7095769 C19.7796893,17.2594615 19.3415922,17.6877692 18.7841165,17.8428077 C15.1734757,18.8522308 12.359068,19.227 10.1719612,19.227 L10.1719612,19.227 Z" id="Fill-12" fill="#0A0B09" mask="url(#mask-2)"></path>
|
||||
<path d="M114.053903,117.361885 C107.67165,141.528923 82.5199223,164.579462 53.9884272,171.271769 C29.4448544,177.028269 2.18260194,158.259692 2.55875728,146.733308 C2.98108738,133.753577 19.4519612,134.464077 27.7104854,148.221231 C40.3623689,169.295308 83.6461359,154.541 99.7881553,125.169577 L114.053903,117.361885" id="Fill-14" fill="#E8802C" mask="url(#mask-2)"></path>
|
||||
<path d="M11.5887379,139.104077 C10.8139029,139.104077 10.0784854,139.192192 9.39487379,139.366192 C6.20431068,140.180423 4.37646602,142.814962 4.24695146,146.786846 C4.1343301,150.271308 7.23930097,154.920231 12.5561553,159.223385 C22.1120777,166.960808 38.5074951,173.183538 53.5987573,169.643308 C79.8350291,163.489731 103.38866,143.322462 111.230485,120.818462 L101.033748,126.399846 C90.5284272,145.112654 68.0492039,159.443115 48.5307961,159.810077 C38.4579417,159.996346 30.5282718,156.189538 26.2576699,149.076731 C22.1582524,142.246115 16.2005825,139.104077 11.5887379,139.104077 Z M44.6115728,174 C31.4742913,174 18.5881553,168.428654 10.4174757,161.813308 C4.2007767,156.781808 0.720776699,151.264 0.870563107,146.678654 C1.04963107,141.173115 3.84939806,137.325038 8.55133981,136.126 C14.5292816,134.604615 23.5243495,137.974192 29.163301,147.365731 C33.8055534,155.099808 42.2161165,156.587731 48.4666019,156.465038 C67.0153398,156.115923 88.4404272,142.3175 98.304932,124.369846 C98.4580971,124.089885 98.6900971,123.859 98.9716505,123.705077 L113.236272,115.897385 C113.827534,115.572808 114.556194,115.629692 115.091146,116.040154 C115.624971,116.452846 115.859223,117.137692 115.688039,117.785731 C109.043379,142.945462 83.2587184,166.125385 54.3780971,172.900231 C51.1537476,173.656462 47.8742136,174 44.6115728,174 L44.6115728,174 Z" id="Fill-15" fill="#0A0B09" mask="url(#mask-2)"></path>
|
||||
</g>
|
||||
<path d="M33.431,80 C33.284,80.111 33.145,80.232 33,80.344 C33.217,80.263 33.434,80.184 33.653,80.106 C33.579,80.07 33.506,80.039 33.431,80" id="Fill-17" fill="#5798AD"></path>
|
||||
<path d="M50,77.0176071 C49.7503467,77.0143058 49.5062413,77 49.2565881,77 C43.9040222,77 38.7700416,77.9232731 34,79.608054 C40.0837725,82.604565 45.3797503,80.3079368 50,77.0176071" id="Fill-18" fill="#5798AD"></path>
|
||||
<g id="Group-22" transform="translate(0.000000, 137.000000)">
|
||||
<path d="M20.893,6.59384091 C13.4481333,-2.19497727 1.8904,1.6415 1.70226667,12.6330909 C1.547,21.6635682 12.7296,40.9706818 22.7720667,45.815 C31.4896667,50.0212045 31.8602667,39.8392273 31.1519333,36.2499773 C29.8962,29.8866591 24.8562667,11.2744545 20.893,6.59384091" id="Fill-19" fill="#F9CE22"></path>
|
||||
<path d="M11.4806667,3.41329545 C10.6193333,3.41329545 9.76593333,3.5525 8.94313333,3.83759091 C5.54766667,5.01247727 3.47593333,8.31106818 3.40226667,12.6609318 C3.25833333,21.0588636 14.2188,39.8269773 23.5212,44.3149318 C25.5022667,45.2715455 26.9778667,45.4018409 27.9049333,44.7058182 C29.6899333,43.3638864 29.971,39.0418636 29.4825333,36.5684773 C28.1576667,29.85325 23.1925333,11.9203636 19.5862667,7.66293182 C17.2595333,4.91559091 14.3185333,3.41329545 11.4806667,3.41329545 Z M26.469,48.4799318 C25.2529333,48.4799318 23.7818667,48.1625455 22.0229333,47.3150682 C11.4081333,42.1934545 -0.1632,22.2549091 0.00226666667,12.60525 C0.0997333333,6.88672727 3.09286667,2.31970455 7.8132,0.684886364 C12.7228,-1.00784091 18.2330667,0.843022727 22.1997333,5.52475 C26.7172,10.8590682 31.8478,30.9991818 32.8213333,35.9325909 C33.235,38.0295682 33.6010667,44.6300909 29.971,47.3596136 C29.1810667,47.9520682 28.0375333,48.4799318 26.469,48.4799318 L26.469,48.4799318 Z" id="Fill-21" fill="#0A0B09"></path>
|
||||
</g>
|
||||
<path d="M143,75.5251425 C134.317784,51.2306108 116.199165,34.7830806 91.2860642,34.0362811 C66.3729632,33.2894815 45.6124231,44.1281663 34.66538,61.3213747 C27.2820427,72.9158295 32.7787788,79.2613826 36.1760198,80.7572243 C39.5732609,82.2530659 53.9164126,76.646463 58.0689736,69.1706187 C67.883603,75.1506214 78.8295137,72.5334592 88.2670493,69.5440185" id="Fill-23" fill="#F9CE22"></path>
|
||||
<g id="Group-28" transform="translate(29.000000, 32.000000)">
|
||||
<path d="M8.57212403,50.169587 C7.70970543,50.169587 6.97404651,50.0531739 6.40928682,49.8070435 C4.39924031,48.9322826 1.86291473,46.7415 0.770744186,43.2191739 C-0.164108527,40.2079565 -0.335007752,35.1556304 4.15251163,28.1841522 C15.8087442,10.0725 37.511814,-0.318195652 62.2288217,0.430173913 C86.6504341,1.15415217 106.053721,16.509587 115.463364,42.5595 C115.775736,43.4253913 115.312837,44.3755435 114.428915,44.6826522 C113.546124,44.9875435 112.575054,44.5351957 112.262682,43.6693043 C103.345364,18.983087 85.0715969,4.4358913 62.1269612,3.75515217 C38.6322791,3.06221739 18.0338295,12.8542174 7.02497674,29.9569565 C4.01443411,34.6345435 2.97545736,38.8863913 4.01896124,42.2523913 C4.77951938,44.7048261 6.52472868,46.217087 7.78779845,46.7681087 C9.93365891,47.7105 23.5376899,43.0728261 27.4921395,36.0292826 C27.7151008,35.6312609 28.0965116,35.3396739 28.5458295,35.2232609 C28.9962791,35.1079565 29.4727597,35.1766957 29.8688837,35.4150652 C39.154031,41.0117609 49.5902016,38.4528913 58.6433333,35.6168478 C59.5397054,35.3396739 60.4915349,35.8186304 60.777876,36.6945 C61.0630853,37.5692609 60.5707597,38.505 59.6777829,38.7843913 C49.692062,41.9142391 39.1653488,44.0662174 29.5406667,39.0615652 C24.9082791,45.3645 14.1122016,50.169587 8.57212403,50.169587" id="Fill-24" fill="#0A0B09"></path>
|
||||
<path d="M91.6042481,12.4406739 C84.826,11.9018478 90.0955814,16.8765652 92.3591473,18.7236522 C94.6227132,20.5707391 110.844558,34.9837826 125.935752,30.549 C141.025814,26.1142174 145.554078,13.9196739 142.534481,13.1801739 C139.517147,12.4406739 105.563659,13.5493696 91.6042481,12.4406739" id="Fill-26" fill="#E8802C"></path>
|
||||
<path d="M90.1838605,14.0793261 C90.6263876,14.7888913 91.7106357,16.0295217 93.4456589,17.4453261 L93.8836589,17.8089783 C105.54555,27.5499783 116.751333,31.5080217 125.447953,28.9558043 C133.733736,26.52 138.823364,21.4909565 140.822093,17.595 C141.570202,16.1381739 141.719597,15.1824783 141.719597,14.7334565 C139.652961,14.5216957 132.03493,14.5593913 124.648915,14.5948696 C113.352589,14.6503043 99.2924496,14.7190435 91.4673023,14.0981739 C90.8765116,14.0505 90.4622791,14.0571522 90.1838605,14.0793261 Z M119.867132,33.0646304 C111.358388,33.0657391 101.750682,28.7506957 91.6800775,20.3401304 L91.2726357,20.0008696 C85.6114574,15.3809348 86.4817984,13.2943696 86.7681395,12.608087 C87.6633798,10.4583261 90.7327752,10.7022391 91.7411938,10.7820652 C99.4203411,11.3918478 113.400124,11.3208913 124.63307,11.2687826 C135.649845,11.2122391 141.467209,11.2033696 142.94645,11.565913 C144.264977,11.8896522 145.076465,13.0316087 145.113814,14.622587 C145.208884,18.6560217 139.667674,28.2484565 126.42355,32.141087 C124.324093,32.7586304 122.135225,33.0646304 119.867132,33.0646304 L119.867132,33.0646304 Z" id="Fill-27" fill="#0A0B09"></path>
|
||||
</g>
|
||||
<path d="M55.6077577,59.15591 C52.9601302,61.0621585 53.7583038,63.4191297 56.7178741,63.773954 C59.6785544,64.1287784 59.9094586,64.3163132 62.6392347,62.3525256 C65.598805,60.2214485 65.9695838,56.668943 62.6392347,57.0248329 C59.3088857,57.3807228 57.0886529,58.0903715 55.6077577,59.15591" id="Fill-29" fill="#0A0B09"></path>
|
||||
<path d="M48,61.5 C48,63.4331667 46.4331667,65 44.5,65 C42.568,65 41,63.4331667 41,61.5 C41,59.5656667 42.568,58 44.5,58 C46.4331667,58 48,59.5656667 48,61.5" id="Fill-30" fill="#0A0B09"></path>
|
||||
<path d="M87,52.5 C87,54.4331667 85.4331667,56 83.5,56 C81.5668333,56 80,54.4331667 80,52.5 C80,50.5656667 81.5668333,49 83.5,49 C85.4331667,49 87,50.5656667 87,52.5" id="Fill-31" fill="#0A0B09"></path>
|
||||
<path d="M46.9842286,47.7717197 C46.9842286,47.7717197 54.5201937,44.4403938 61.5689147,48 C61.5689147,48 91.5766165,32.4086786 110.979729,38.7870991 C110.979729,38.7870991 112.062243,32.9681892 98.405909,18.9804251 C98.405909,18.9804251 64.6881763,10.6269324 46.9842286,28.2324918 C46.9842286,28.2324918 40.2697142,50.4707986 46.9842286,47.7717197" id="Fill-32" fill="#387BB2"></path>
|
||||
<path d="M49.1963706,29.6601399 C46.8227001,37.508378 45.6971942,45.2824193 46.7307062,46.6711156 C46.7920355,46.6600415 46.8897081,46.6367858 47.0305383,46.5825226 C47.6722243,46.3100989 55.0589958,43.3278349 62.3821665,46.4883924 C67.1226929,44.1805431 91.8577015,32.800764 110.197429,36.9325231 C109.350176,34.3732909 106.739139,29.2592563 98.7140882,21.1297353 C94.6629483,20.2570936 65.138577,14.5517003 49.1963706,29.6601399 Z M46.6534768,50 C45.6006574,50 44.8862848,49.5448531 44.4944588,49.1960179 C41.0407116,46.1273757 44.4365367,33.5604496 46.0560841,28.299129 C46.1378565,28.0355646 46.2843653,27.7963633 46.4831176,27.602566 C54.1106633,20.1651783 65.8120634,16.1541273 80.3209819,16.0046265 C91.1433289,15.8905629 99.6431133,17.9226663 99.9997317,18.0090446 C100.307514,18.0843487 100.588039,18.2416014 100.810641,18.4641915 C114.801668,32.5161588 114.081617,38.8483481 113.953279,39.5238702 C113.864693,39.9967357 113.569404,40.407586 113.145777,40.6512169 C112.722151,40.8959553 112.209938,40.9491111 111.744289,40.7996103 C93.0786085,34.780819 63.4929079,49.6611315 63.1964831,49.8117397 C62.7081203,50.0586929 62.1266278,50.0631226 61.6359935,49.820599 C55.3202131,46.6932639 48.4490619,49.6024386 48.3797825,49.6323388 C48.3627466,49.6400907 48.344575,49.6478426 48.3264033,49.6544871 C47.6960746,49.903655 47.1384324,50 46.6534768,50 L46.6534768,50 Z" id="Fill-33" fill="#0A0B09"></path>
|
||||
<g id="Group-37" transform="translate(104.000000, 0.000000)">
|
||||
<path d="M10.01475,2.40444444 C9.54225,0.925555556 4.905,2.36777778 3.783375,3.45333333 C2.66175,4.53888889 1.967625,6.28 2.383875,7.77555556 C4.435875,15.1422222 5.938875,18.7711111 4.61475,29.3866667 C3.21525,40.6122222 5.229,52.0866667 2.54025,63.0811111 C2.1915,64.5088889 2.10825,66.5044444 3.531375,66.9322222 C3.978,67.0666667 4.45725,66.9822222 4.919625,66.9177778 C7.3485,66.5766667 9.8595,66.8188889 12.178125,67.6144444 C12.767625,67.8166667 13.428,68.0533333 13.9905,67.7844444 C14.68125,67.4555556 14.832,66.5655556 14.8905,65.8088889 C15.62175,56.4266667 15.84675,47.0066667 15.564375,37.6011111 C15.391125,31.8266667 15.01875,26.0122222 13.523625,20.4266667 C12.866625,17.9711111 11.424375,15.4788889 11.550375,12.9411111 C11.6595,10.7233333 13.100625,8.60111111 13.021875,6.38222222 C12.94425,4.16333333 11.323125,1.68888889 9.084375,1.89222222" id="Fill-34" fill="#D9DAD5"></path>
|
||||
<path d="M7.08975,65.1066667 C9.030375,65.1066667 10.93275,65.4222222 12.731625,66.04 C12.8565,66.0833333 13.01175,66.1366667 13.14675,66.1766667 C13.16925,66.0633333 13.190625,65.9044444 13.2075,65.6822222 C13.930875,56.4 14.157,46.97 13.878,37.6511111 C13.7115,32.1611111 13.35825,26.3255556 11.892375,20.8533333 C11.696625,20.1222222 11.417625,19.37 11.122875,18.5733333 C10.454625,16.7688889 9.76275,14.9022222 9.864,12.86 C9.927,11.5933333 10.312875,10.4511111 10.68525,9.34555556 C11.035125,8.30444444 11.367,7.32111111 11.336625,6.44 C11.30175,5.48777778 10.852875,4.47555556 10.218375,3.92333333 C9.74025,3.50777778 9.3645,3.54111111 9.2385,3.55222222 L9.156375,2.67222222 L8.404875,2.90555556 C8.515125,3.24888889 8.7885,3.43111111 8.8965,3.46111111 C8.155125,3.25555556 5.5125,4.11333333 4.964625,4.64333333 C4.18725,5.39555556 3.78675,6.52666667 4.010625,7.33444444 C4.208625,8.04444444 4.402125,8.72 4.58775,9.37 C6.357375,15.5733333 7.52625,19.6711111 6.28875,29.59 C5.713875,34.2077778 5.7285,38.9955556 5.74425,43.6244444 C5.765625,50.1544444 5.785875,56.9066667 4.1805,63.4722222 C3.940875,64.4566667 4.003875,65.1055556 4.087125,65.3388889 C4.206375,65.3355556 4.422375,65.3044444 4.5765,65.2822222 C5.418,65.1644444 6.25725,65.1066667 7.08975,65.1066667 Z M13.43475,69.5711111 C12.731625,69.5711111 12.097125,69.3511111 11.651625,69.1977778 C9.559125,68.48 7.318125,68.2633333 5.157,68.5677778 C4.53375,68.6566667 3.812625,68.76 3.038625,68.5255556 C0.99,67.91 0.169875,65.6733333 0.9,62.6888889 C2.40975,56.5155556 2.390625,50.2588889 2.36925,43.6344444 C2.3535,38.9022222 2.338875,34.0088889 2.94075,29.1822222 C4.093875,19.93 3.056625,16.2955556 1.33875,10.2744444 C1.150875,9.61777778 0.95625,8.93555556 0.756,8.21777778 C0.20925,6.25333333 0.950625,3.86 2.602125,2.26222222 C3.805875,1.09777778 7.5465,-0.306666667 9.712125,0.226666667 C9.714375,0.227777778 9.716625,0.227777778 9.718875,0.228888889 C10.704375,0.31 11.63475,0.714444444 12.448125,1.42222222 C13.77675,2.57666667 14.641875,4.45555556 14.709375,6.32333333 C14.761125,7.80555556 14.297625,9.18333333 13.887,10.3988889 C13.572,11.3322222 13.275,12.2133333 13.2345,13.0222222 C13.168125,14.3911111 13.71375,15.8666667 14.293125,17.4277778 C14.601375,18.2611111 14.91975,19.1222222 15.154875,20.0011111 C16.707375,25.7988889 17.07975,31.8633333 17.25075,37.5522222 C17.53425,46.9888889 17.305875,56.5388889 16.572375,65.9366667 C16.524,66.5688889 16.3755,68.4988889 14.722875,69.2866667 C14.286375,69.4944444 13.84875,69.5711111 13.43475,69.5711111 L13.43475,69.5711111 Z" id="Fill-36" fill="#0A0B09"></path>
|
||||
</g>
|
||||
<path d="M108,12 C108,12 113.185185,14.646296 116,12 L116,18.9639368 C116,18.9639368 111.555556,21.470954 108.592593,18.6853793 L108,12" id="Fill-38" fill="#969894"></path>
|
||||
<path d="M109.885708,17.2933315 C111.112037,18.0782857 112.674564,17.7068631 113.615465,17.3505565 L113.615465,14.2398917 C112.222165,14.5141398 110.787122,14.3327474 109.601407,14.0369049 L109.885708,17.2933315 Z M111.528335,21 C110.058319,21 108.455177,20.5789104 107.060749,19.2433004 C106.777576,18.9722914 106.602709,18.6138254 106.569991,18.2326853 L106.005902,11.7543831 C105.954006,11.1616185 106.247333,10.5893685 106.767423,10.2643736 C107.288641,9.93937882 107.949754,9.91238589 108.495792,10.1952718 C108.553329,10.2233444 112.394776,12.1160883 114.111864,10.4749185 C114.595852,10.0106401 115.324655,9.87243636 115.955307,10.1240104 C116.588215,10.3745048 117,10.9640303 117,11.6194185 L117,18.3676499 C117,18.9366608 116.688623,19.4646424 116.178686,19.7572457 C116.042177,19.8349853 113.968585,21 111.528335,21 L111.528335,21 Z" id="Fill-39" fill="#0A0B09"></path>
|
||||
<polyline id="Fill-40" fill="#EEA32D" points="9 90 97 94.1022244 84.10741 183.509279 46.5260409 193 14.1364855 178.885624 9 90"></polyline>
|
||||
<path d="M15.4265762,178.146458 L46.2001653,191.570086 L81.964765,182.527889 L94.3810143,96.3371127 L10.4771667,92.4230935 L15.4265762,178.146458 Z M46.0539992,195 C45.8201334,195 45.5885163,194.952146 45.3737645,194.858664 L13.1205247,180.789562 C12.541482,180.535824 12.1535796,179.98272 12.1176003,179.357278 L7.00291057,90.7637808 C6.9748017,90.2908044 7.15132539,89.8300697 7.48750746,89.4939782 C7.82368952,89.1578867 8.28692367,88.9853894 8.76589879,89.0009698 L96.3924849,93.0885992 C96.8658383,93.1108569 97.3099584,93.3300954 97.6124098,93.6917832 C97.9148612,94.054584 98.0497838,94.5264476 97.9834469,94.9916338 L85.1444402,184.104848 C85.04887,184.773693 84.5541539,185.319007 83.891909,185.487053 L46.4711348,194.947694 C46.3339635,194.982194 46.1934191,195 46.0539992,195 L46.0539992,195 Z" id="Fill-41" fill="#0A0B09"></path>
|
||||
<polyline id="Fill-42" fill="#F2BB2A" points="48.3222533 94 46 191 82.1603119 181.079293 95 95.2136681 48.3222533 94"></polyline>
|
||||
<polyline id="Fill-43" fill="#EEA32D" points="96.9709428 94 106 88.3437614 18.711965 85 9 89.990542 96.9709428 94"></polyline>
|
||||
<path d="M14.9054644,89.5850504 L95.8567455,93.5075518 L99.9350628,90.7919739 L18.7498997,87.4833388 L14.9054644,89.5850504 Z M96.3188873,97 C96.2930254,97 96.266039,97 96.2401771,96.9988439 L8.60639263,92.7526466 C7.84740058,92.7144967 7.20647396,92.1619014 7.04118236,91.4000599 C6.87476633,90.6370623 7.22334045,89.8555677 7.89462676,89.4879416 L17.5692454,84.2012929 C17.8334871,84.0579419 18.1280885,83.9966708 18.428312,84.000139 L105.38069,87.5422977 C106.114945,87.5723552 106.745751,88.0879566 106.940278,88.8174285 C107.133681,89.5457445 106.84695,90.3203026 106.230761,90.7307029 L97.2364244,96.7213903 C96.9620628,96.9040473 96.6438484,97 96.3188873,97 L96.3188873,97 Z" id="Fill-44" fill="#0A0B09"></path>
|
||||
<polyline id="Fill-45" fill="#F2BB2A" points="84 184 96.936911 94.7753029 106 89 91.7431117 176.974477 84 184"></polyline>
|
||||
<path d="M97.9553519,95.4055533 L85.9926211,178.937243 L89.734111,175.50057 L103.084148,92.0976864 L97.9553519,95.4055533 Z M83.673009,185 C83.4075918,185 83.1410594,184.936707 82.8946006,184.809012 C82.2689745,184.481446 81.9165718,183.796332 82.0169397,183.099004 L94.7502723,94.1841187 C94.8182994,93.7077592 95.091523,93.2835883 95.4974551,93.0226455 L104.417925,87.2674679 C104.971064,86.9099207 105.68479,86.911031 106.240159,87.2696887 C106.793297,87.6283463 107.082134,88.2779274 106.979535,88.9286189 L92.9469969,176.59542 C92.8878914,176.964071 92.7049989,177.303852 92.4295449,177.557022 L84.8071655,184.558063 C84.4915644,184.848986 84.0845171,185 83.673009,185 L83.673009,185 Z" id="Fill-46" fill="#0A0B09"></path>
|
||||
<polyline id="Fill-47" fill="#FAD443" points="47.9646427 100 89 101.28288 77.1161444 179.006345 46 186 47.9646427 100"></polyline>
|
||||
<polyline id="Fill-48" fill="#F2BB2A" points="49 99.9933788 46.9833519 186 19.7769353 175.249873 15 98 49 99.9933788"></polyline>
|
||||
<path d="M24.9146258,146.352096 C26.3492662,149.019954 28.2712072,150.307274 30.2056431,150.328359 C33.3134627,150.361652 34.9741469,148.752503 35.0343496,143.505567 L35.3240038,118 L44,118.09322 L43.7012586,144.323459 C43.6149303,151.920862 39.7335635,158.090006 31.2915625,157.999006 C25.4280522,157.93464 21.585306,155.542002 19,150.750067 L24.9146258,146.352096" id="Fill-49" fill="#0A0B09"></path>
|
||||
<path d="M54.9414629,146.068973 C57.5532837,148.524143 60.9738692,150.261407 64.071171,150.296018 C67.5695223,150.335095 69.3059221,148.899284 69.3325847,146.533434 C69.3603582,144.045886 67.2473496,143.233079 63.9934052,141.741443 L59.2008083,139.502874 C55.3191826,137.822551 51.6886294,134.384867 51.751953,128.621526 C51.8241641,122.068825 57.4421897,116.91509 65.1843332,117.00106 C69.4847835,117.049069 73.9952015,118.919196 77.1680472,122.351298 L72.8631532,127.946048 C70.4201953,125.917379 68.0827767,124.738361 65.0999018,124.704866 C62.2325646,124.673605 60.32508,125.985485 60.3006393,128.230753 C60.2739767,130.656894 62.7302659,131.534458 65.9842103,132.965803 L70.7212602,135.082675 C75.2283453,137.073383 78.0601324,140.319031 77.9990306,145.900382 C77.9268195,152.451967 72.7020669,158.098076 63.8145437,157.998708 C58.9397373,157.944 53.8005271,155.945476 50,152.141582 L54.9414629,146.068973" id="Fill-50" fill="#0A0B09"></path>
|
||||
<path d="M130.952199,147.725697 C116.102584,135.852178 96.9717971,143.944379 90.2272701,158.311359 C83.4827431,172.679466 76.8648581,188.635141 87.882712,187.980509 C98.900566,187.327003 133.473832,184.205951 143,152.708113" id="Fill-51" fill="#F9CE22"></path>
|
||||
<path d="M86.9984518,190 C84.3581701,190 82.4206808,189.120087 81.2312526,187.382623 C77.9357102,182.566024 81.5605805,172.624242 88.4775981,158.145375 C92.3548399,150.029383 100.213441,143.731356 108.987596,141.711023 C117.177789,139.824857 125.416645,141.721085 132.19333,147.045283 C132.926679,147.621084 133.047772,148.676532 132.464941,149.401034 C131.88211,150.125536 130.814906,150.247405 130.079294,149.669368 C124.131021,144.996999 116.911837,143.327736 109.75716,144.977992 C101.970988,146.770241 94.9928582,152.365009 91.54793,159.578727 C88.4413833,166.078005 81.1690085,181.301499 84.0435544,185.503166 C84.2597112,185.819577 84.9240255,186.777753 87.5439365,186.629051 C116.674177,184.93072 135.392677,173.236938 141.677068,152.813351 C141.950942,151.927848 142.899316,151.428075 143.795631,151.69641 C144.691946,151.965862 145.198953,152.902796 144.92621,153.789416 C138.190267,175.675425 118.418144,188.188744 87.7442493,189.976521 C87.4907461,189.992174 87.2417697,190 86.9984518,190" id="Fill-52" fill="#0A0B09"></path>
|
||||
<path d="M91.1321966,181.990235 C91.1321966,181.990235 88.8371128,195 76.2141522,195 C63.5911915,195 68.9467694,180.131219 67.4170961,170.465898 C65.8862752,160.800577 59.7664344,148.162169 68.9467694,142.21488 C78.1271045,136.26759 89.2203918,153.738101 91.1321966,160.42922 C93.8105593,169.350712 93.4272804,174.927759 91.1321966,181.990235" id="Fill-53" fill="#F9CE22"></path>
|
||||
<path d="M72.5114765,142.321921 C71.4567972,142.321921 70.4666208,142.628995 69.5183148,143.248686 C63.4437242,147.21515 65.3041242,154.826593 67.272029,162.88479 C67.8276594,165.159576 68.4025275,167.511962 68.746543,169.694737 C69.1890104,172.513831 69.0803739,175.694319 68.9762639,178.768384 C68.8087827,183.698196 68.6356433,188.795402 70.9204045,191.110097 C71.9603726,192.16213 73.537865,192.674289 75.7434121,192.674289 C86.5799023,192.674289 88.6971823,181.591913 88.7831862,181.119662 L88.8352411,180.903491 C90.8868866,174.541406 91.4934403,169.395423 88.8250565,160.437067 C87.4207035,155.483976 81.0235983,145.030158 74.7634204,142.750938 C73.9792008,142.464927 73.2300616,142.321921 72.5114765,142.321921 Z M75.7434121,196 C72.6133232,196 70.1701337,195.133098 68.4806099,193.422574 C65.194356,190.094646 65.3923913,184.280196 65.5836368,178.657527 C65.6820886,175.735336 65.785067,172.713374 65.3912597,170.201354 C65.0687451,168.152716 64.5357473,165.969941 63.9710639,163.658572 C61.9182868,155.256719 59.5916552,145.7341 67.6352822,140.481695 C70.1271318,138.854314 73.0003407,138.561651 75.9471056,139.63253 C83.6376639,142.434995 90.5440027,154.073874 92.0898094,159.526931 C94.9652816,169.180361 94.2806454,175.021417 92.1067839,181.799215 C91.1912951,186.780021 86.6376154,196 75.7434121,196 L75.7434121,196 Z" id="Fill-54" fill="#0A0B09"></path>
|
||||
<path d="M34.1187246,82.3610263 C31.5949934,78.7856636 19.187209,78.9624976 16.6017866,85.0323251 C16.0880671,86.2392173 15.9198183,87.3632185 16.0342275,88.3811193 C16.4941074,92.4825632 21.5404482,94.8333503 27.0074109,93.7270325 C33.8304584,92.3444116 36.5650614,85.826973 34.1187246,82.3610263" id="Fill-55" fill="#F9CE22"></path>
|
||||
<path d="M27.1034969,81.2525063 C26.5566537,81.2525063 25.9890442,81.2796431 25.4064369,81.3371731 C22.5037835,81.6259084 19.0185228,82.7906191 17.9456025,85.1981944 C17.5510446,86.081768 17.3964518,86.9164954 17.485285,87.6774108 C17.6433389,89.0201387 18.5478223,89.898285 19.2781003,90.3986873 C21.0974502,91.6426373 23.8731991,92.0605438 26.7043244,91.5112953 C29.7165772,90.9294827 32.1104586,89.1764466 33.1106973,86.8220594 C33.7406054,85.3403911 33.6783068,83.8641502 32.9457214,82.8731149 C32.3088912,82.0112507 30.0130724,81.2525063 27.1034969,81.2525063 Z M24.3115966,95 C21.6350641,95 19.1223538,94.318324 17.241859,93.0309551 C15.412126,91.7783213 14.276907,90.0046612 14.0461714,88.0345308 C13.8904249,86.7167687 14.1292362,85.3382202 14.7545296,83.9379622 C16.1620166,80.7814118 20.0083784,78.598529 25.0430284,78.0992122 C29.0243705,77.7041007 33.8928909,78.4519904 35.7872298,81.0137026 C37.186641,82.9056791 37.387381,85.5292631 36.3248437,88.0301889 C34.8919759,91.4038337 31.5555396,93.8982467 27.4011458,94.7014954 C26.3651431,94.9012221 25.3256794,95 24.3115966,95 L24.3115966,95 Z" id="Fill-56" fill="#0A0B09"></path>
|
||||
<path d="M108.648762,76.7683709 C94.2992425,71.1643455 76.1728772,74.5256399 66.7341624,82.7456245 C57.2931819,90.965609 63.7140455,96.9439834 70.8871062,97.6904395 C78.0624326,98.4368957 92.0324556,92.0864141 102.984627,94.3280243 C113.934533,96.5696345 117.293365,100.539526 129,111" id="Fill-57" fill="#F9CE22"></path>
|
||||
<path d="M128.310795,113 C127.905304,113 127.500939,112.857638 127.177673,112.569577 C125.907135,111.43513 124.734591,110.378537 123.639766,109.393125 C114.695316,101.327429 111.347764,98.3100217 102.101448,96.4203886 C96.073152,95.1914042 88.8858281,96.7651716 82.5421503,98.1554254 C77.7337056,99.2086818 73.5819307,100.117352 70.3526472,99.7825786 C65.3898907,99.2676285 61.458883,96.6884296 60.3370252,93.2127949 C59.5463182,90.7637237 59.7637063,86.8376469 65.2840126,82.0418272 C75.5958681,73.0808069 94.6651979,70.3425629 108.696305,75.8112655 C109.563605,76.148263 109.98937,77.1181041 109.646956,77.9745005 C109.304541,78.8320091 108.321226,79.253534 107.455053,78.9143121 C94.5030016,73.8671345 76.959894,76.339562 67.5164646,84.5465085 C64.2781702,87.3592701 62.8713425,90.0774944 63.5561714,92.1995779 C64.2601484,94.379496 67.1335011,96.0945131 70.7063253,96.4648768 C73.3870698,96.7407031 77.4780211,95.8464918 81.8100142,94.8977826 C88.4859692,93.4352356 96.0506247,91.7747163 102.785151,93.1538482 C112.940442,95.2281069 117.007739,98.8950405 125.918399,106.928483 C127.007592,107.911671 128.175631,108.963815 129.44279,110.092701 C130.135503,110.711086 130.189568,111.765455 129.564437,112.449459 C129.231033,112.814262 128.771477,113 128.310795,113" id="Fill-58" fill="#0A0B09"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,645 @@
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, {
|
||||
/******/ configurable: false,
|
||||
/******/ enumerable: true,
|
||||
/******/ get: getter
|
||||
/******/ });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 42);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([
|
||||
/* 0 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qcz8xNWUwIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBjb3JlID0gbW9kdWxlLmV4cG9ydHMgPSB7IHZlcnNpb246ICcyLjUuNycgfTtcbmlmICh0eXBlb2YgX19lID09ICdudW1iZXInKSBfX2UgPSBjb3JlOyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLXVuZGVmXG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qc1xuLy8gbW9kdWxlIGlkID0gMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///0\n");
|
||||
|
||||
/***/ }),
|
||||
/* 1 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZ2xvYmFsLmpzP2VjYWIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gaHR0cHM6Ly9naXRodWIuY29tL3psb2lyb2NrL2NvcmUtanMvaXNzdWVzLzg2I2lzc3VlY29tbWVudC0xMTU3NTkwMjhcbnZhciBnbG9iYWwgPSBtb2R1bGUuZXhwb3J0cyA9IHR5cGVvZiB3aW5kb3cgIT0gJ3VuZGVmaW5lZCcgJiYgd2luZG93Lk1hdGggPT0gTWF0aFxuICA/IHdpbmRvdyA6IHR5cGVvZiBzZWxmICE9ICd1bmRlZmluZWQnICYmIHNlbGYuTWF0aCA9PSBNYXRoID8gc2VsZlxuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tbmV3LWZ1bmNcbiAgOiBGdW5jdGlvbigncmV0dXJuIHRoaXMnKSgpO1xuaWYgKHR5cGVvZiBfX2cgPT0gJ251bWJlcicpIF9fZyA9IGdsb2JhbDsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby11bmRlZlxuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2dsb2JhbC5qc1xuLy8gbW9kdWxlIGlkID0gMVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///1\n");
|
||||
|
||||
/***/ }),
|
||||
/* 2 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(0);\nvar ctx = __webpack_require__(30);\nvar hide = __webpack_require__(6);\nvar has = __webpack_require__(5);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZXhwb3J0LmpzPzkwY2QiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGdsb2JhbCA9IHJlcXVpcmUoJy4vX2dsb2JhbCcpO1xudmFyIGNvcmUgPSByZXF1aXJlKCcuL19jb3JlJyk7XG52YXIgY3R4ID0gcmVxdWlyZSgnLi9fY3R4Jyk7XG52YXIgaGlkZSA9IHJlcXVpcmUoJy4vX2hpZGUnKTtcbnZhciBoYXMgPSByZXF1aXJlKCcuL19oYXMnKTtcbnZhciBQUk9UT1RZUEUgPSAncHJvdG90eXBlJztcblxudmFyICRleHBvcnQgPSBmdW5jdGlvbiAodHlwZSwgbmFtZSwgc291cmNlKSB7XG4gIHZhciBJU19GT1JDRUQgPSB0eXBlICYgJGV4cG9ydC5GO1xuICB2YXIgSVNfR0xPQkFMID0gdHlwZSAmICRleHBvcnQuRztcbiAgdmFyIElTX1NUQVRJQyA9IHR5cGUgJiAkZXhwb3J0LlM7XG4gIHZhciBJU19QUk9UTyA9IHR5cGUgJiAkZXhwb3J0LlA7XG4gIHZhciBJU19CSU5EID0gdHlwZSAmICRleHBvcnQuQjtcbiAgdmFyIElTX1dSQVAgPSB0eXBlICYgJGV4cG9ydC5XO1xuICB2YXIgZXhwb3J0cyA9IElTX0dMT0JBTCA/IGNvcmUgOiBjb3JlW25hbWVdIHx8IChjb3JlW25hbWVdID0ge30pO1xuICB2YXIgZXhwUHJvdG8gPSBleHBvcnRzW1BST1RPVFlQRV07XG4gIHZhciB0YXJnZXQgPSBJU19HTE9CQUwgPyBnbG9iYWwgOiBJU19TVEFUSUMgPyBnbG9iYWxbbmFtZV0gOiAoZ2xvYmFsW25hbWVdIHx8IHt9KVtQUk9UT1RZUEVdO1xuICB2YXIga2V5LCBvd24sIG91dDtcbiAgaWYgKElTX0dMT0JBTCkgc291cmNlID0gbmFtZTtcbiAgZm9yIChrZXkgaW4gc291cmNlKSB7XG4gICAgLy8gY29udGFpbnMgaW4gbmF0aXZlXG4gICAgb3duID0gIUlTX0ZPUkNFRCAmJiB0YXJnZXQgJiYgdGFyZ2V0W2tleV0gIT09IHVuZGVmaW5lZDtcbiAgICBpZiAob3duICYmIGhhcyhleHBvcnRzLCBrZXkpKSBjb250aW51ZTtcbiAgICAvLyBleHBvcnQgbmF0aXZlIG9yIHBhc3NlZFxuICAgIG91dCA9IG93biA/IHRhcmdldFtrZXldIDogc291cmNlW2tleV07XG4gICAgLy8gcHJldmVudCBnbG9iYWwgcG9sbHV0aW9uIGZvciBuYW1lc3BhY2VzXG4gICAgZXhwb3J0c1trZXldID0gSVNfR0xPQkFMICYmIHR5cGVvZiB0YXJnZXRba2V5XSAhPSAnZnVuY3Rpb24nID8gc291cmNlW2tleV1cbiAgICAvLyBiaW5kIHRpbWVycyB0byBnbG9iYWwgZm9yIGNhbGwgZnJvbSBleHBvcnQgY29udGV4dFxuICAgIDogSVNfQklORCAmJiBvd24gPyBjdHgob3V0LCBnbG9iYWwpXG4gICAgLy8gd3JhcCBnbG9iYWwgY29uc3RydWN0b3JzIGZvciBwcmV2ZW50IGNoYW5nZSB0aGVtIGluIGxpYnJhcnlcbiAgICA6IElTX1dSQVAgJiYgdGFyZ2V0W2tleV0gPT0gb3V0ID8gKGZ1bmN0aW9uIChDKSB7XG4gICAgICB2YXIgRiA9IGZ1bmN0aW9uIChhLCBiLCBjKSB7XG4gICAgICAgIGlmICh0aGlzIGluc3RhbmNlb2YgQykge1xuICAgICAgICAgIHN3aXRjaCAoYXJndW1lbnRzLmxlbmd0aCkge1xuICAgICAgICAgICAgY2FzZSAwOiByZXR1cm4gbmV3IEMoKTtcbiAgICAgICAgICAgIGNhc2UgMTogcmV0dXJuIG5ldyBDKGEpO1xuICAgICAgICAgICAgY2FzZSAyOiByZXR1cm4gbmV3IEMoYSwgYik7XG4gICAgICAgICAgfSByZXR1cm4gbmV3IEMoYSwgYiwgYyk7XG4gICAgICAgIH0gcmV0dXJuIEMuYXBwbHkodGhpcywgYXJndW1lbnRzKTtcbiAgICAgIH07XG4gICAgICBGW1BST1RPVFlQRV0gPSBDW1BST1RPVFlQRV07XG4gICAgICByZXR1cm4gRjtcbiAgICAvLyBtYWtlIHN0YXRpYyB2ZXJzaW9ucyBmb3IgcHJvdG90eXBlIG1ldGhvZHNcbiAgICB9KShvd
Line truncated
|
||||
|
||||
/***/ }),
|
||||
/* 3 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var anObject = __webpack_require__(11);\nvar IE8_DOM_DEFINE = __webpack_require__(31);\nvar toPrimitive = __webpack_require__(17);\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWRwLmpzPzdhZjAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGFuT2JqZWN0ID0gcmVxdWlyZSgnLi9fYW4tb2JqZWN0Jyk7XG52YXIgSUU4X0RPTV9ERUZJTkUgPSByZXF1aXJlKCcuL19pZTgtZG9tLWRlZmluZScpO1xudmFyIHRvUHJpbWl0aXZlID0gcmVxdWlyZSgnLi9fdG8tcHJpbWl0aXZlJyk7XG52YXIgZFAgPSBPYmplY3QuZGVmaW5lUHJvcGVydHk7XG5cbmV4cG9ydHMuZiA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBPYmplY3QuZGVmaW5lUHJvcGVydHkgOiBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0eShPLCBQLCBBdHRyaWJ1dGVzKSB7XG4gIGFuT2JqZWN0KE8pO1xuICBQID0gdG9QcmltaXRpdmUoUCwgdHJ1ZSk7XG4gIGFuT2JqZWN0KEF0dHJpYnV0ZXMpO1xuICBpZiAoSUU4X0RPTV9ERUZJTkUpIHRyeSB7XG4gICAgcmV0dXJuIGRQKE8sIFAsIEF0dHJpYnV0ZXMpO1xuICB9IGNhdGNoIChlKSB7IC8qIGVtcHR5ICovIH1cbiAgaWYgKCdnZXQnIGluIEF0dHJpYnV0ZXMgfHwgJ3NldCcgaW4gQXR0cmlidXRlcykgdGhyb3cgVHlwZUVycm9yKCdBY2Nlc3NvcnMgbm90IHN1cHBvcnRlZCEnKTtcbiAgaWYgKCd2YWx1ZScgaW4gQXR0cmlidXRlcykgT1tQXSA9IEF0dHJpYnV0ZXMudmFsdWU7XG4gIHJldHVybiBPO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZHAuanNcbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///3\n");
|
||||
|
||||
/***/ }),
|
||||
/* 4 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(8)(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZGVzY3JpcHRvcnMuanM/Zjg0ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUaGFuaydzIElFOCBmb3IgaGlzIGZ1bm55IGRlZmluZVByb3BlcnR5XG5tb2R1bGUuZXhwb3J0cyA9ICFyZXF1aXJlKCcuL19mYWlscycpKGZ1bmN0aW9uICgpIHtcbiAgcmV0dXJuIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh7fSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19kZXNjcmlwdG9ycy5qc1xuLy8gbW9kdWxlIGlkID0gNFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///4\n");
|
||||
|
||||
/***/ }),
|
||||
/* 5 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faGFzLmpzPzBmNjIiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGhhc093blByb3BlcnR5ID0ge30uaGFzT3duUHJvcGVydHk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCwga2V5KSB7XG4gIHJldHVybiBoYXNPd25Qcm9wZXJ0eS5jYWxsKGl0LCBrZXkpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19oYXMuanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///5\n");
|
||||
|
||||
/***/ }),
|
||||
/* 6 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var dP = __webpack_require__(3);\nvar createDesc = __webpack_require__(12);\nmodule.exports = __webpack_require__(4) ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faGlkZS5qcz84NDljIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBkUCA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpO1xudmFyIGNyZWF0ZURlc2MgPSByZXF1aXJlKCcuL19wcm9wZXJ0eS1kZXNjJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBmdW5jdGlvbiAob2JqZWN0LCBrZXksIHZhbHVlKSB7XG4gIHJldHVybiBkUC5mKG9iamVjdCwga2V5LCBjcmVhdGVEZXNjKDEsIHZhbHVlKSk7XG59IDogZnVuY3Rpb24gKG9iamVjdCwga2V5LCB2YWx1ZSkge1xuICBvYmplY3Rba2V5XSA9IHZhbHVlO1xuICByZXR1cm4gb2JqZWN0O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19oaWRlLmpzXG4vLyBtb2R1bGUgaWQgPSA2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///6\n");
|
||||
|
||||
/***/ }),
|
||||
/* 7 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtb2JqZWN0LmpzPzEyYTgiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgcmV0dXJuIHR5cGVvZiBpdCA9PT0gJ29iamVjdCcgPyBpdCAhPT0gbnVsbCA6IHR5cGVvZiBpdCA9PT0gJ2Z1bmN0aW9uJztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtb2JqZWN0LmpzXG4vLyBtb2R1bGUgaWQgPSA3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///7\n");
|
||||
|
||||
/***/ }),
|
||||
/* 8 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZmFpbHMuanM/NGJjZCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChleGVjKSB7XG4gIHRyeSB7XG4gICAgcmV0dXJuICEhZXhlYygpO1xuICB9IGNhdGNoIChlKSB7XG4gICAgcmV0dXJuIHRydWU7XG4gIH1cbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZmFpbHMuanNcbi8vIG1vZHVsZSBpZCA9IDhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///8\n");
|
||||
|
||||
/***/ }),
|
||||
/* 9 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(34);\nvar defined = __webpack_require__(18);\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8taW9iamVjdC5qcz80ZGM0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHRvIGluZGV4ZWQgb2JqZWN0LCB0b09iamVjdCB3aXRoIGZhbGxiYWNrIGZvciBub24tYXJyYXktbGlrZSBFUzMgc3RyaW5nc1xudmFyIElPYmplY3QgPSByZXF1aXJlKCcuL19pb2JqZWN0Jyk7XG52YXIgZGVmaW5lZCA9IHJlcXVpcmUoJy4vX2RlZmluZWQnKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBJT2JqZWN0KGRlZmluZWQoaXQpKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8taW9iamVjdC5qc1xuLy8gbW9kdWxlIGlkID0gOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///9\n");
|
||||
|
||||
/***/ }),
|
||||
/* 10 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var store = __webpack_require__(21)('wks');\nvar uid = __webpack_require__(15);\nvar Symbol = __webpack_require__(1).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy5qcz83NTJjIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBzdG9yZSA9IHJlcXVpcmUoJy4vX3NoYXJlZCcpKCd3a3MnKTtcbnZhciB1aWQgPSByZXF1aXJlKCcuL191aWQnKTtcbnZhciBTeW1ib2wgPSByZXF1aXJlKCcuL19nbG9iYWwnKS5TeW1ib2w7XG52YXIgVVNFX1NZTUJPTCA9IHR5cGVvZiBTeW1ib2wgPT0gJ2Z1bmN0aW9uJztcblxudmFyICRleHBvcnRzID0gbW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAobmFtZSkge1xuICByZXR1cm4gc3RvcmVbbmFtZV0gfHwgKHN0b3JlW25hbWVdID1cbiAgICBVU0VfU1lNQk9MICYmIFN5bWJvbFtuYW1lXSB8fCAoVVNFX1NZTUJPTCA/IFN5bWJvbCA6IHVpZCkoJ1N5bWJvbC4nICsgbmFtZSkpO1xufTtcblxuJGV4cG9ydHMuc3RvcmUgPSBzdG9yZTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL193a3MuanNcbi8vIG1vZHVsZSBpZCA9IDEwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///10\n");
|
||||
|
||||
/***/ }),
|
||||
/* 11 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var isObject = __webpack_require__(7);\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FuLW9iamVjdC5qcz9lZmIzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBpc09iamVjdCA9IHJlcXVpcmUoJy4vX2lzLW9iamVjdCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKCFpc09iamVjdChpdCkpIHRocm93IFR5cGVFcnJvcihpdCArICcgaXMgbm90IGFuIG9iamVjdCEnKTtcbiAgcmV0dXJuIGl0O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19hbi1vYmplY3QuanNcbi8vIG1vZHVsZSBpZCA9IDExXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///11\n");
|
||||
|
||||
/***/ }),
|
||||
/* 12 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3Byb3BlcnR5LWRlc2MuanM/NWZjMCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChiaXRtYXAsIHZhbHVlKSB7XG4gIHJldHVybiB7XG4gICAgZW51bWVyYWJsZTogIShiaXRtYXAgJiAxKSxcbiAgICBjb25maWd1cmFibGU6ICEoYml0bWFwICYgMiksXG4gICAgd3JpdGFibGU6ICEoYml0bWFwICYgNCksXG4gICAgdmFsdWU6IHZhbHVlXG4gIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3Byb3BlcnR5LWRlc2MuanNcbi8vIG1vZHVsZSBpZCA9IDEyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///12\n");
|
||||
|
||||
/***/ }),
|
||||
/* 13 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(33);\nvar enumBugKeys = __webpack_require__(22);\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1rZXlzLmpzPzk2NGIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjE0IC8gMTUuMi4zLjE0IE9iamVjdC5rZXlzKE8pXG52YXIgJGtleXMgPSByZXF1aXJlKCcuL19vYmplY3Qta2V5cy1pbnRlcm5hbCcpO1xudmFyIGVudW1CdWdLZXlzID0gcmVxdWlyZSgnLi9fZW51bS1idWcta2V5cycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IE9iamVjdC5rZXlzIHx8IGZ1bmN0aW9uIGtleXMoTykge1xuICByZXR1cm4gJGtleXMoTywgZW51bUJ1Z0tleXMpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3Qta2V5cy5qc1xuLy8gbW9kdWxlIGlkID0gMTNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///13\n");
|
||||
|
||||
/***/ }),
|
||||
/* 14 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = true;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2xpYnJhcnkuanM/M2I4OCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHRydWU7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fbGlicmFyeS5qc1xuLy8gbW9kdWxlIGlkID0gMTRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///14\n");
|
||||
|
||||
/***/ }),
|
||||
/* 15 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3VpZC5qcz9kYzRhIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBpZCA9IDA7XG52YXIgcHggPSBNYXRoLnJhbmRvbSgpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoa2V5KSB7XG4gIHJldHVybiAnU3ltYm9sKCcuY29uY2F0KGtleSA9PT0gdW5kZWZpbmVkID8gJycgOiBrZXksICcpXycsICgrK2lkICsgcHgpLnRvU3RyaW5nKDM2KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3VpZC5qc1xuLy8gbW9kdWxlIGlkID0gMTVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///15\n");
|
||||
|
||||
/***/ }),
|
||||
/* 16 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("exports.f = {}.propertyIsEnumerable;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1waWUuanM/MzY5MiJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnRzLmYgPSB7fS5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtcGllLmpzXG4vLyBtb2R1bGUgaWQgPSAxNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///16\n");
|
||||
|
||||
/***/ }),
|
||||
/* 17 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(7);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLXByaW1pdGl2ZS5qcz8zMjYzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xIFRvUHJpbWl0aXZlKGlucHV0IFssIFByZWZlcnJlZFR5cGVdKVxudmFyIGlzT2JqZWN0ID0gcmVxdWlyZSgnLi9faXMtb2JqZWN0Jyk7XG4vLyBpbnN0ZWFkIG9mIHRoZSBFUzYgc3BlYyB2ZXJzaW9uLCB3ZSBkaWRuJ3QgaW1wbGVtZW50IEBAdG9QcmltaXRpdmUgY2FzZVxuLy8gYW5kIHRoZSBzZWNvbmQgYXJndW1lbnQgLSBmbGFnIC0gcHJlZmVycmVkIHR5cGUgaXMgYSBzdHJpbmdcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0LCBTKSB7XG4gIGlmICghaXNPYmplY3QoaXQpKSByZXR1cm4gaXQ7XG4gIHZhciBmbiwgdmFsO1xuICBpZiAoUyAmJiB0eXBlb2YgKGZuID0gaXQudG9TdHJpbmcpID09ICdmdW5jdGlvbicgJiYgIWlzT2JqZWN0KHZhbCA9IGZuLmNhbGwoaXQpKSkgcmV0dXJuIHZhbDtcbiAgaWYgKHR5cGVvZiAoZm4gPSBpdC52YWx1ZU9mKSA9PSAnZnVuY3Rpb24nICYmICFpc09iamVjdCh2YWwgPSBmbi5jYWxsKGl0KSkpIHJldHVybiB2YWw7XG4gIGlmICghUyAmJiB0eXBlb2YgKGZuID0gaXQudG9TdHJpbmcpID09ICdmdW5jdGlvbicgJiYgIWlzT2JqZWN0KHZhbCA9IGZuLmNhbGwoaXQpKSkgcmV0dXJuIHZhbDtcbiAgdGhyb3cgVHlwZUVycm9yKFwiQ2FuJ3QgY29udmVydCBvYmplY3QgdG8gcHJpbWl0aXZlIHZhbHVlXCIpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL190by1wcmltaXRpdmUuanNcbi8vIG1vZHVsZSBpZCA9IDE3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///17\n");
|
||||
|
||||
/***/ }),
|
||||
/* 18 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RlZmluZWQuanM/ZTc2OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyA3LjIuMSBSZXF1aXJlT2JqZWN0Q29lcmNpYmxlKGFyZ3VtZW50KVxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKGl0ID09IHVuZGVmaW5lZCkgdGhyb3cgVHlwZUVycm9yKFwiQ2FuJ3QgY2FsbCBtZXRob2Qgb24gIFwiICsgaXQpO1xuICByZXR1cm4gaXQ7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RlZmluZWQuanNcbi8vIG1vZHVsZSBpZCA9IDE4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///18\n");
|
||||
|
||||
/***/ }),
|
||||
/* 19 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWludGVnZXIuanM/NTJlMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyA3LjEuNCBUb0ludGVnZXJcbnZhciBjZWlsID0gTWF0aC5jZWlsO1xudmFyIGZsb29yID0gTWF0aC5mbG9vcjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBpc05hTihpdCA9ICtpdCkgPyAwIDogKGl0ID4gMCA/IGZsb29yIDogY2VpbCkoaXQpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL190by1pbnRlZ2VyLmpzXG4vLyBtb2R1bGUgaWQgPSAxOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///19\n");
|
||||
|
||||
/***/ }),
|
||||
/* 20 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var shared = __webpack_require__(21)('keys');\nvar uid = __webpack_require__(15);\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NoYXJlZC1rZXkuanM/NmIxZCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgc2hhcmVkID0gcmVxdWlyZSgnLi9fc2hhcmVkJykoJ2tleXMnKTtcbnZhciB1aWQgPSByZXF1aXJlKCcuL191aWQnKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGtleSkge1xuICByZXR1cm4gc2hhcmVkW2tleV0gfHwgKHNoYXJlZFtrZXldID0gdWlkKGtleSkpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19zaGFyZWQta2V5LmpzXG4vLyBtb2R1bGUgaWQgPSAyMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///20\n");
|
||||
|
||||
/***/ }),
|
||||
/* 21 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var core = __webpack_require__(0);\nvar global = __webpack_require__(1);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(14) ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NoYXJlZC5qcz83YmMwIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBjb3JlID0gcmVxdWlyZSgnLi9fY29yZScpO1xudmFyIGdsb2JhbCA9IHJlcXVpcmUoJy4vX2dsb2JhbCcpO1xudmFyIFNIQVJFRCA9ICdfX2NvcmUtanNfc2hhcmVkX18nO1xudmFyIHN0b3JlID0gZ2xvYmFsW1NIQVJFRF0gfHwgKGdsb2JhbFtTSEFSRURdID0ge30pO1xuXG4obW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoa2V5LCB2YWx1ZSkge1xuICByZXR1cm4gc3RvcmVba2V5XSB8fCAoc3RvcmVba2V5XSA9IHZhbHVlICE9PSB1bmRlZmluZWQgPyB2YWx1ZSA6IHt9KTtcbn0pKCd2ZXJzaW9ucycsIFtdKS5wdXNoKHtcbiAgdmVyc2lvbjogY29yZS52ZXJzaW9uLFxuICBtb2RlOiByZXF1aXJlKCcuL19saWJyYXJ5JykgPyAncHVyZScgOiAnZ2xvYmFsJyxcbiAgY29weXJpZ2h0OiAnwqkgMjAxOCBEZW5pcyBQdXNoa2FyZXYgKHpsb2lyb2NrLnJ1KSdcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NoYXJlZC5qc1xuLy8gbW9kdWxlIGlkID0gMjFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///21\n");
|
||||
|
||||
/***/ }),
|
||||
/* 22 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2VudW0tYnVnLWtleXMuanM/YzY3NyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBJRSA4LSBkb24ndCBlbnVtIGJ1ZyBrZXlzXG5tb2R1bGUuZXhwb3J0cyA9IChcbiAgJ2NvbnN0cnVjdG9yLGhhc093blByb3BlcnR5LGlzUHJvdG90eXBlT2YscHJvcGVydHlJc0VudW1lcmFibGUsdG9Mb2NhbGVTdHJpbmcsdG9TdHJpbmcsdmFsdWVPZidcbikuc3BsaXQoJywnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19lbnVtLWJ1Zy1rZXlzLmpzXG4vLyBtb2R1bGUgaWQgPSAyMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///22\n");
|
||||
|
||||
/***/ }),
|
||||
/* 23 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("exports.f = Object.getOwnPropertySymbols;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BzLmpzP2Q2NDQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0cy5mID0gT2JqZWN0LmdldE93blByb3BlcnR5U3ltYm9scztcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ29wcy5qc1xuLy8gbW9kdWxlIGlkID0gMjNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///23\n");
|
||||
|
||||
/***/ }),
|
||||
/* 24 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(18);\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLW9iamVjdC5qcz9iMDFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xMyBUb09iamVjdChhcmd1bWVudClcbnZhciBkZWZpbmVkID0gcmVxdWlyZSgnLi9fZGVmaW5lZCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgcmV0dXJuIE9iamVjdChkZWZpbmVkKGl0KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLW9iamVjdC5qc1xuLy8gbW9kdWxlIGlkID0gMjRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///24\n");
|
||||
|
||||
/***/ }),
|
||||
/* 25 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = {};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXJhdG9ycy5qcz9mZGI0Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0ge307XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXRlcmF0b3JzLmpzXG4vLyBtb2R1bGUgaWQgPSAyNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///25\n");
|
||||
|
||||
/***/ }),
|
||||
/* 26 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(11);\nvar dPs = __webpack_require__(69);\nvar enumBugKeys = __webpack_require__(22);\nvar IE_PROTO = __webpack_require__(20)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(32)('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(70).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1jcmVhdGUuanM/NjI4NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjIuMiAvIDE1LjIuMy41IE9iamVjdC5jcmVhdGUoTyBbLCBQcm9wZXJ0aWVzXSlcbnZhciBhbk9iamVjdCA9IHJlcXVpcmUoJy4vX2FuLW9iamVjdCcpO1xudmFyIGRQcyA9IHJlcXVpcmUoJy4vX29iamVjdC1kcHMnKTtcbnZhciBlbnVtQnVnS2V5cyA9IHJlcXVpcmUoJy4vX2VudW0tYnVnLWtleXMnKTtcbnZhciBJRV9QUk9UTyA9IHJlcXVpcmUoJy4vX3NoYXJlZC1rZXknKSgnSUVfUFJPVE8nKTtcbnZhciBFbXB0eSA9IGZ1bmN0aW9uICgpIHsgLyogZW1wdHkgKi8gfTtcbnZhciBQUk9UT1RZUEUgPSAncHJvdG90eXBlJztcblxuLy8gQ3JlYXRlIG9iamVjdCB3aXRoIGZha2UgYG51bGxgIHByb3RvdHlwZTogdXNlIGlmcmFtZSBPYmplY3Qgd2l0aCBjbGVhcmVkIHByb3RvdHlwZVxudmFyIGNyZWF0ZURpY3QgPSBmdW5jdGlvbiAoKSB7XG4gIC8vIFRocmFzaCwgd2FzdGUgYW5kIHNvZG9teTogSUUgR0MgYnVnXG4gIHZhciBpZnJhbWUgPSByZXF1aXJlKCcuL19kb20tY3JlYXRlJykoJ2lmcmFtZScpO1xuICB2YXIgaSA9IGVudW1CdWdLZXlzLmxlbmd0aDtcbiAgdmFyIGx0ID0gJzwnO1xuICB2YXIgZ3QgPSAnPic7XG4gIHZhciBpZnJhbWVEb2N1bWVudDtcbiAgaWZyYW1lLnN0eWxlLmRpc3BsYXkgPSAnbm9uZSc7XG4gIHJlcXVpcmUoJy4vX2h0bWwnKS5hcHBlbmRDaGlsZChpZnJhbWUpO1xuICBpZnJhbWUuc3JjID0gJ2phdmFzY3JpcHQ6JzsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby1zY3JpcHQtdXJsXG4gIC8vIGNyZWF0ZURpY3QgPSBpZnJhbWUuY29udGVudFdpbmRvdy5PYmplY3Q7XG4gIC8vIGh0bWwucmVtb3ZlQ2hpbGQoaWZyYW1lKTtcbiAgaWZyYW1lRG9jdW1lbnQgPSBpZnJhbWUuY29udGVudFdpbmRvdy5kb2N1bWVudDtcbiAgaWZyYW1lRG9jdW1lbnQub3BlbigpO1xuICBpZnJhbWVEb2N1bWVudC53cml0ZShsdCArICdzY3JpcHQnICsgZ3QgKyAnZG9jdW1lbnQuRj1PYmplY3QnICsgbHQgKyAnL3NjcmlwdCcgKyBndCk7XG4gIGlmcmFtZURvY3VtZW50LmNsb3NlKCk7XG4gIGNyZWF0ZURpY3QgPSBpZnJhbWVEb2N1bWVudC5GO1xuICB3aGlsZSAoaS0tKSBkZWxldGUgY3JlYXRlRGljdFtQUk9UT1RZUEVdW2VudW1CdWdLZXlzW2ldXTtcbiAgcmV0dXJuIGNyZWF0ZURpY3QoKTtcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gT2JqZWN0LmNyZWF0ZSB8fCBmdW5jdGlvbiBjcmVhdGUoTywgUHJvcGVydGllcykge1xuICB2YXIgcmVzdWx0O1xuICBpZiAoTyAhPT0gbnVsbCkge1xuICAgIEVtcHR5W1BST1RPVFlQRV0gPSBhbk9iamVjdChPKTtcbiAgICByZXN1bHQgPSBuZXcgRW1wdHkoKTtcbiAgICBFbXB0eVtQUk9UT1RZUEVdID0gbnVsbDtcbiAgICAvLyBhZGQgXCJfX3Byb3RvX19cIiBmb3IgT2JqZWN0LmdldFByb3RvdHlwZU9mIHBvbHlmaWxsXG4gICAgcmVzdWx0W0lFX1BST1RPXSA9IE87XG4gIH0gZWxzZSByZXN1bHQgPSBjcmVhdGVEaWN0KCk7XG4gIHJldHVybiBQcm9wZXJ0aWVzID09PSB1bmRlZmluZWQgPyByZXN1bHQgOiBkUHMocmVzdWx0LCBQcm9wZXJ0aWVzKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWNyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gMjZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///26\n");
|
||||
|
||||
/***/ }),
|
||||
/* 27 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var def = __webpack_require__(3).f;\nvar has = __webpack_require__(5);\nvar TAG = __webpack_require__(10)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NldC10by1zdHJpbmctdGFnLmpzPzdiYTkiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGRlZiA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpLmY7XG52YXIgaGFzID0gcmVxdWlyZSgnLi9faGFzJyk7XG52YXIgVEFHID0gcmVxdWlyZSgnLi9fd2tzJykoJ3RvU3RyaW5nVGFnJyk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0LCB0YWcsIHN0YXQpIHtcbiAgaWYgKGl0ICYmICFoYXMoaXQgPSBzdGF0ID8gaXQgOiBpdC5wcm90b3R5cGUsIFRBRykpIGRlZihpdCwgVEFHLCB7IGNvbmZpZ3VyYWJsZTogdHJ1ZSwgdmFsdWU6IHRhZyB9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc2V0LXRvLXN0cmluZy10YWcuanNcbi8vIG1vZHVsZSBpZCA9IDI3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///27\n");
|
||||
|
||||
/***/ }),
|
||||
/* 28 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("exports.f = __webpack_require__(10);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy1leHQuanM/MmExZSJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnRzLmYgPSByZXF1aXJlKCcuL193a3MnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL193a3MtZXh0LmpzXG4vLyBtb2R1bGUgaWQgPSAyOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///28\n");
|
||||
|
||||
/***/ }),
|
||||
/* 29 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(0);\nvar LIBRARY = __webpack_require__(14);\nvar wksExt = __webpack_require__(28);\nvar defineProperty = __webpack_require__(3).f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy1kZWZpbmUuanM/NzJiOSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZ2xvYmFsID0gcmVxdWlyZSgnLi9fZ2xvYmFsJyk7XG52YXIgY29yZSA9IHJlcXVpcmUoJy4vX2NvcmUnKTtcbnZhciBMSUJSQVJZID0gcmVxdWlyZSgnLi9fbGlicmFyeScpO1xudmFyIHdrc0V4dCA9IHJlcXVpcmUoJy4vX3drcy1leHQnKTtcbnZhciBkZWZpbmVQcm9wZXJ0eSA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpLmY7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChuYW1lKSB7XG4gIHZhciAkU3ltYm9sID0gY29yZS5TeW1ib2wgfHwgKGNvcmUuU3ltYm9sID0gTElCUkFSWSA/IHt9IDogZ2xvYmFsLlN5bWJvbCB8fCB7fSk7XG4gIGlmIChuYW1lLmNoYXJBdCgwKSAhPSAnXycgJiYgIShuYW1lIGluICRTeW1ib2wpKSBkZWZpbmVQcm9wZXJ0eSgkU3ltYm9sLCBuYW1lLCB7IHZhbHVlOiB3a3NFeHQuZihuYW1lKSB9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fd2tzLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gMjlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///29\n");
|
||||
|
||||
/***/ }),
|
||||
/* 30 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// optional / simple context binding\nvar aFunction = __webpack_require__(49);\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2N0eC5qcz9mOTkzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIG9wdGlvbmFsIC8gc2ltcGxlIGNvbnRleHQgYmluZGluZ1xudmFyIGFGdW5jdGlvbiA9IHJlcXVpcmUoJy4vX2EtZnVuY3Rpb24nKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGZuLCB0aGF0LCBsZW5ndGgpIHtcbiAgYUZ1bmN0aW9uKGZuKTtcbiAgaWYgKHRoYXQgPT09IHVuZGVmaW5lZCkgcmV0dXJuIGZuO1xuICBzd2l0Y2ggKGxlbmd0aCkge1xuICAgIGNhc2UgMTogcmV0dXJuIGZ1bmN0aW9uIChhKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhKTtcbiAgICB9O1xuICAgIGNhc2UgMjogcmV0dXJuIGZ1bmN0aW9uIChhLCBiKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhLCBiKTtcbiAgICB9O1xuICAgIGNhc2UgMzogcmV0dXJuIGZ1bmN0aW9uIChhLCBiLCBjKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhLCBiLCBjKTtcbiAgICB9O1xuICB9XG4gIHJldHVybiBmdW5jdGlvbiAoLyogLi4uYXJncyAqLykge1xuICAgIHJldHVybiBmbi5hcHBseSh0aGF0LCBhcmd1bWVudHMpO1xuICB9O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19jdHguanNcbi8vIG1vZHVsZSBpZCA9IDMwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///30\n");
|
||||
|
||||
/***/ }),
|
||||
/* 31 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = !__webpack_require__(4) && !__webpack_require__(8)(function () {\n return Object.defineProperty(__webpack_require__(32)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2llOC1kb20tZGVmaW5lLmpzPzQ5ZjAiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAhcmVxdWlyZSgnLi9fZGVzY3JpcHRvcnMnKSAmJiAhcmVxdWlyZSgnLi9fZmFpbHMnKShmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBPYmplY3QuZGVmaW5lUHJvcGVydHkocmVxdWlyZSgnLi9fZG9tLWNyZWF0ZScpKCdkaXYnKSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19pZTgtZG9tLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gMzFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///31\n");
|
||||
|
||||
/***/ }),
|
||||
/* 32 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var isObject = __webpack_require__(7);\nvar document = __webpack_require__(1).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RvbS1jcmVhdGUuanM/MzhkZCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgaXNPYmplY3QgPSByZXF1aXJlKCcuL19pcy1vYmplY3QnKTtcbnZhciBkb2N1bWVudCA9IHJlcXVpcmUoJy4vX2dsb2JhbCcpLmRvY3VtZW50O1xuLy8gdHlwZW9mIGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQgaXMgJ29iamVjdCcgaW4gb2xkIElFXG52YXIgaXMgPSBpc09iamVjdChkb2N1bWVudCkgJiYgaXNPYmplY3QoZG9jdW1lbnQuY3JlYXRlRWxlbWVudCk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gaXMgPyBkb2N1bWVudC5jcmVhdGVFbGVtZW50KGl0KSA6IHt9O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19kb20tY3JlYXRlLmpzXG4vLyBtb2R1bGUgaWQgPSAzMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///32\n");
|
||||
|
||||
/***/ }),
|
||||
/* 33 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var has = __webpack_require__(5);\nvar toIObject = __webpack_require__(9);\nvar arrayIndexOf = __webpack_require__(51)(false);\nvar IE_PROTO = __webpack_require__(20)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1rZXlzLWludGVybmFsLmpzPzIxYjgiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIHRvSU9iamVjdCA9IHJlcXVpcmUoJy4vX3RvLWlvYmplY3QnKTtcbnZhciBhcnJheUluZGV4T2YgPSByZXF1aXJlKCcuL19hcnJheS1pbmNsdWRlcycpKGZhbHNlKTtcbnZhciBJRV9QUk9UTyA9IHJlcXVpcmUoJy4vX3NoYXJlZC1rZXknKSgnSUVfUFJPVE8nKTtcblxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAob2JqZWN0LCBuYW1lcykge1xuICB2YXIgTyA9IHRvSU9iamVjdChvYmplY3QpO1xuICB2YXIgaSA9IDA7XG4gIHZhciByZXN1bHQgPSBbXTtcbiAgdmFyIGtleTtcbiAgZm9yIChrZXkgaW4gTykgaWYgKGtleSAhPSBJRV9QUk9UTykgaGFzKE8sIGtleSkgJiYgcmVzdWx0LnB1c2goa2V5KTtcbiAgLy8gRG9uJ3QgZW51bSBidWcgJiBoaWRkZW4ga2V5c1xuICB3aGlsZSAobmFtZXMubGVuZ3RoID4gaSkgaWYgKGhhcyhPLCBrZXkgPSBuYW1lc1tpKytdKSkge1xuICAgIH5hcnJheUluZGV4T2YocmVzdWx0LCBrZXkpIHx8IHJlc3VsdC5wdXNoKGtleSk7XG4gIH1cbiAgcmV0dXJuIHJlc3VsdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWtleXMtaW50ZXJuYWwuanNcbi8vIG1vZHVsZSBpZCA9IDMzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///33\n");
|
||||
|
||||
/***/ }),
|
||||
/* 34 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(35);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lvYmplY3QuanM/MzE0ZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBmYWxsYmFjayBmb3Igbm9uLWFycmF5LWxpa2UgRVMzIGFuZCBub24tZW51bWVyYWJsZSBvbGQgVjggc3RyaW5nc1xudmFyIGNvZiA9IHJlcXVpcmUoJy4vX2NvZicpO1xuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXByb3RvdHlwZS1idWlsdGluc1xubW9kdWxlLmV4cG9ydHMgPSBPYmplY3QoJ3onKS5wcm9wZXJ0eUlzRW51bWVyYWJsZSgwKSA/IE9iamVjdCA6IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gY29mKGl0KSA9PSAnU3RyaW5nJyA/IGl0LnNwbGl0KCcnKSA6IE9iamVjdChpdCk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lvYmplY3QuanNcbi8vIG1vZHVsZSBpZCA9IDM0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///34\n");
|
||||
|
||||
/***/ }),
|
||||
/* 35 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2NvZi5qcz80N2QzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciB0b1N0cmluZyA9IHt9LnRvU3RyaW5nO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gdG9TdHJpbmcuY2FsbChpdCkuc2xpY2UoOCwgLTEpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19jb2YuanNcbi8vIG1vZHVsZSBpZCA9IDM1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///35\n");
|
||||
|
||||
/***/ }),
|
||||
/* 36 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(5);\nvar toObject = __webpack_require__(24);\nvar IE_PROTO = __webpack_require__(20)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1ncG8uanM/M2YzYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjIuOSAvIDE1LjIuMy4yIE9iamVjdC5nZXRQcm90b3R5cGVPZihPKVxudmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIHRvT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8tb2JqZWN0Jyk7XG52YXIgSUVfUFJPVE8gPSByZXF1aXJlKCcuL19zaGFyZWQta2V5JykoJ0lFX1BST1RPJyk7XG52YXIgT2JqZWN0UHJvdG8gPSBPYmplY3QucHJvdG90eXBlO1xuXG5tb2R1bGUuZXhwb3J0cyA9IE9iamVjdC5nZXRQcm90b3R5cGVPZiB8fCBmdW5jdGlvbiAoTykge1xuICBPID0gdG9PYmplY3QoTyk7XG4gIGlmIChoYXMoTywgSUVfUFJPVE8pKSByZXR1cm4gT1tJRV9QUk9UT107XG4gIGlmICh0eXBlb2YgTy5jb25zdHJ1Y3RvciA9PSAnZnVuY3Rpb24nICYmIE8gaW5zdGFuY2VvZiBPLmNvbnN0cnVjdG9yKSB7XG4gICAgcmV0dXJuIE8uY29uc3RydWN0b3IucHJvdG90eXBlO1xuICB9IHJldHVybiBPIGluc3RhbmNlb2YgT2JqZWN0ID8gT2JqZWN0UHJvdG8gOiBudWxsO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ3BvLmpzXG4vLyBtb2R1bGUgaWQgPSAzNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///36\n");
|
||||
|
||||
/***/ }),
|
||||
/* 37 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(64);\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(75);\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL3R5cGVvZi5qcz9hNDU2Il0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5leHBvcnRzLl9fZXNNb2R1bGUgPSB0cnVlO1xuXG52YXIgX2l0ZXJhdG9yID0gcmVxdWlyZShcIi4uL2NvcmUtanMvc3ltYm9sL2l0ZXJhdG9yXCIpO1xuXG52YXIgX2l0ZXJhdG9yMiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX2l0ZXJhdG9yKTtcblxudmFyIF9zeW1ib2wgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9zeW1ib2xcIik7XG5cbnZhciBfc3ltYm9sMiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX3N5bWJvbCk7XG5cbnZhciBfdHlwZW9mID0gdHlwZW9mIF9zeW1ib2wyLmRlZmF1bHQgPT09IFwiZnVuY3Rpb25cIiAmJiB0eXBlb2YgX2l0ZXJhdG9yMi5kZWZhdWx0ID09PSBcInN5bWJvbFwiID8gZnVuY3Rpb24gKG9iaikgeyByZXR1cm4gdHlwZW9mIG9iajsgfSA6IGZ1bmN0aW9uIChvYmopIHsgcmV0dXJuIG9iaiAmJiB0eXBlb2YgX3N5bWJvbDIuZGVmYXVsdCA9PT0gXCJmdW5jdGlvblwiICYmIG9iai5jb25zdHJ1Y3RvciA9PT0gX3N5bWJvbDIuZGVmYXVsdCAmJiBvYmogIT09IF9zeW1ib2wyLmRlZmF1bHQucHJvdG90eXBlID8gXCJzeW1ib2xcIiA6IHR5cGVvZiBvYmo7IH07XG5cbmZ1bmN0aW9uIF9pbnRlcm9wUmVxdWlyZURlZmF1bHQob2JqKSB7IHJldHVybiBvYmogJiYgb2JqLl9fZXNNb2R1bGUgPyBvYmogOiB7IGRlZmF1bHQ6IG9iaiB9OyB9XG5cbmV4cG9ydHMuZGVmYXVsdCA9IHR5cGVvZiBfc3ltYm9sMi5kZWZhdWx0ID09PSBcImZ1bmN0aW9uXCIgJiYgX3R5cGVvZihfaXRlcmF0b3IyLmRlZmF1bHQpID09PSBcInN5bWJvbFwiID8gZnVuY3Rpb24gKG9iaikge1xuICByZXR1cm4gdHlwZW9mIG9iaiA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiBfdHlwZW9mKG9iaik7XG59IDogZnVuY3Rpb24gKG9iaikge1xuICByZXR1cm4gb2JqICYmIHR5cGVvZiBfc3ltYm9sMi5kZWZhdWx0ID09PSBcImZ1bmN0aW9uXCIgJiYgb2JqLmNvbnN0cnVjdG9yID09PSBfc3ltYm9sMi5kZWZhdWx0ICYmIG9iaiAhPT0gX3N5bWJvbDIuZGVmYXVsdC5wcm90b3R5cGUgPyBcInN5bWJvbFwiIDogdHlwZW9mIG9iaiA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiBfdHlwZW9mKG9iaik7XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy90eXBlb2YuanNcbi8vIG1vZHVsZSBpZCA9IDM3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///37\n");
|
||||
|
||||
/***/ }),
|
||||
/* 38 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\nvar LIBRARY = __webpack_require__(14);\nvar $export = __webpack_require__(2);\nvar redefine = __webpack_require__(39);\nvar hide = __webpack_require__(6);\nvar Iterators = __webpack_require__(25);\nvar $iterCreate = __webpack_require__(68);\nvar setToStringTag = __webpack_require__(27);\nvar getPrototypeOf = __webpack_require__(36);\nvar ITERATOR = __webpack_require__(10)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItZGVmaW5lLmpzP2JjODAiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIExJQlJBUlkgPSByZXF1aXJlKCcuL19saWJyYXJ5Jyk7XG52YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xudmFyIHJlZGVmaW5lID0gcmVxdWlyZSgnLi9fcmVkZWZpbmUnKTtcbnZhciBoaWRlID0gcmVxdWlyZSgnLi9faGlkZScpO1xudmFyIEl0ZXJhdG9ycyA9IHJlcXVpcmUoJy4vX2l0ZXJhdG9ycycpO1xudmFyICRpdGVyQ3JlYXRlID0gcmVxdWlyZSgnLi9faXRlci1jcmVhdGUnKTtcbnZhciBzZXRUb1N0cmluZ1RhZyA9IHJlcXVpcmUoJy4vX3NldC10by1zdHJpbmctdGFnJyk7XG52YXIgZ2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKCcuL19vYmplY3QtZ3BvJyk7XG52YXIgSVRFUkFUT1IgPSByZXF1aXJlKCcuL193a3MnKSgnaXRlcmF0b3InKTtcbnZhciBCVUdHWSA9ICEoW10ua2V5cyAmJiAnbmV4dCcgaW4gW10ua2V5cygpKTsgLy8gU2FmYXJpIGhhcyBidWdneSBpdGVyYXRvcnMgdy9vIGBuZXh0YFxudmFyIEZGX0lURVJBVE9SID0gJ0BAaXRlcmF0b3InO1xudmFyIEtFWVMgPSAna2V5cyc7XG52YXIgVkFMVUVTID0gJ3ZhbHVlcyc7XG5cbnZhciByZXR1cm5UaGlzID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gdGhpczsgfTtcblxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoQmFzZSwgTkFNRSwgQ29uc3RydWN0b3IsIG5leHQsIERFRkFVTFQsIElTX1NFVCwgRk9SQ0VEKSB7XG4gICRpdGVyQ3JlYXRlKENvbnN0cnVjdG9yLCBOQU1FLCBuZXh0KTtcbiAgdmFyIGdldE1ldGhvZCA9IGZ1bmN0aW9uIChraW5kKSB7XG4gICAgaWYgKCFCVUdHWSAmJiBraW5kIGluIHByb3RvKSByZXR1cm4gcHJvdG9ba2luZF07XG4gICAgc3dpdGNoIChraW5kKSB7XG4gICAgICBjYXNlIEtFWVM6IHJldHVybiBmdW5jdGlvbiBrZXlzKCkgeyByZXR1cm4gbmV3IENvbnN0cnVjdG9yKHRoaXMsIGtpbmQpOyB9O1xuICAgICAgY2FzZSBWQUxVRVM6IHJldHVybiBmdW5jdGlvbiB2YWx1ZXMoKSB7IHJldHVybiBuZXcgQ29uc3RydWN0b3IodGhpcywga2luZCk7IH07XG4gICAgfSByZXR1cm4gZnVuY3Rpb24gZW50cmllcygpIHsgcmV0dXJuIG5ldyBDb25zdHJ1Y3Rvcih0aGlzLCBraW5kKTsgfTtcbiAgfTtcbiAgdmFyIFRBRyA9IE5BTUUgKyAnIEl0ZXJhdG9yJztcbiAgdmFyIERFRl9WQUxVRVMgPSBERUZBVUxUID09IFZBTFVFUztcbiAgdmFyIFZBTFVFU19CVUcgPSBmYWxzZTtcbiAgdmFyIHByb3RvID0gQmFzZS5wcm90b3R5cGU7XG4gIHZhciAkbmF0aXZlID0gcHJvdG9bSVRFUkFUT1JdIHx8IHByb3RvW0ZGX0lURVJBVE9SXSB8fCBERUZBVUxUICYmIHByb3RvW0RFRkFVTFRdO1xuICB2YXIgJGRlZmF1bHQgPSAkbmF0aXZlIHx8IGdldE1ldGhvZChERUZBVUxUKTtcbiAgdmFyICRlbnRyaWVzID0gREVGQVVMVCA/ICFERUZfVkFMVUVTID8gJGRlZmF1bH
Line truncated
|
||||
|
||||
/***/ }),
|
||||
/* 39 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = __webpack_require__(6);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3JlZGVmaW5lLmpzP2YzY2QiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuL19oaWRlJyk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fcmVkZWZpbmUuanNcbi8vIG1vZHVsZSBpZCA9IDM5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///39\n");
|
||||
|
||||
/***/ }),
|
||||
/* 40 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(33);\nvar hiddenKeys = __webpack_require__(22).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLmpzPzlmNDQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjcgLyAxNS4yLjMuNCBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyhPKVxudmFyICRrZXlzID0gcmVxdWlyZSgnLi9fb2JqZWN0LWtleXMtaW50ZXJuYWwnKTtcbnZhciBoaWRkZW5LZXlzID0gcmVxdWlyZSgnLi9fZW51bS1idWcta2V5cycpLmNvbmNhdCgnbGVuZ3RoJywgJ3Byb3RvdHlwZScpO1xuXG5leHBvcnRzLmYgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyB8fCBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eU5hbWVzKE8pIHtcbiAgcmV0dXJuICRrZXlzKE8sIGhpZGRlbktleXMpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ29wbi5qc1xuLy8gbW9kdWxlIGlkID0gNDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///40\n");
|
||||
|
||||
/***/ }),
|
||||
/* 41 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var pIE = __webpack_require__(16);\nvar createDesc = __webpack_require__(12);\nvar toIObject = __webpack_require__(9);\nvar toPrimitive = __webpack_require__(17);\nvar has = __webpack_require__(5);\nvar IE8_DOM_DEFINE = __webpack_require__(31);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(4) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BkLmpzPzJjYTYiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIHBJRSA9IHJlcXVpcmUoJy4vX29iamVjdC1waWUnKTtcbnZhciBjcmVhdGVEZXNjID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xudmFyIHRvSU9iamVjdCA9IHJlcXVpcmUoJy4vX3RvLWlvYmplY3QnKTtcbnZhciB0b1ByaW1pdGl2ZSA9IHJlcXVpcmUoJy4vX3RvLXByaW1pdGl2ZScpO1xudmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIElFOF9ET01fREVGSU5FID0gcmVxdWlyZSgnLi9faWU4LWRvbS1kZWZpbmUnKTtcbnZhciBnT1BEID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcjtcblxuZXhwb3J0cy5mID0gcmVxdWlyZSgnLi9fZGVzY3JpcHRvcnMnKSA/IGdPUEQgOiBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IoTywgUCkge1xuICBPID0gdG9JT2JqZWN0KE8pO1xuICBQID0gdG9QcmltaXRpdmUoUCwgdHJ1ZSk7XG4gIGlmIChJRThfRE9NX0RFRklORSkgdHJ5IHtcbiAgICByZXR1cm4gZ09QRChPLCBQKTtcbiAgfSBjYXRjaCAoZSkgeyAvKiBlbXB0eSAqLyB9XG4gIGlmIChoYXMoTywgUCkpIHJldHVybiBjcmVhdGVEZXNjKCFwSUUuZi5jYWxsKE8sIFApLCBPW1BdKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWdvcGQuanNcbi8vIG1vZHVsZSBpZCA9IDQxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///41\n");
|
||||
|
||||
/***/ }),
|
||||
/* 42 */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__i18n_js__ = __webpack_require__(43);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__i18n_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__i18n_js__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__revslider__ = __webpack_require__(44);\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvaW5kZXguanM/ODE5MyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgJy4vaTE4bi5qcyc7XG5pbXBvcnQgJy4vcmV2c2xpZGVyJztcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL2Jsb2Nrcy9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///42\n");
|
||||
|
||||
/***/ }),
|
||||
/* 43 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("wp.i18n.setLocaleData({ '': {} }, 'themepunchblocks');//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvaTE4bi5qcz9iNDE0Il0sInNvdXJjZXNDb250ZW50IjpbIndwLmkxOG4uc2V0TG9jYWxlRGF0YSh7ICcnOiB7fSB9LCAndGhlbWVwdW5jaGJsb2NrcycpO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vYmxvY2tzL2kxOG4uanNcbi8vIG1vZHVsZSBpZCA9IDQzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///43\n");
|
||||
|
||||
/***/ }),
|
||||
/* 44 */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("/* unused harmony export RevSlider */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(45);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(58);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__ = __webpack_require__(59);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(63);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__ = __webpack_require__(85);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);\n\n\n\n\n\n\n/**\n * Block dependencies\n */\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button;\nvar Component = wp.element.Component;\n\n/**\n * RevSlider Editor Element\n */\n\nvar RevSlider = function (_Component) {\n __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default()(RevSlider, _Component);\n\n function RevSlider() {\n __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, RevSlider);\n\n var _this = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default()(this, (RevSlider.__proto__ || __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default()(RevSlider)).apply(this, arguments));\n\n var _this$props$attribute = _this.props.attributes,\n text = _this$props$attribute.text,\n sliderTitle = _this$props$attribute.sliderTitle;\n\n _this.state = {\n text: text,\n sliderTitle: sliderTitle\n };\n return _this;\n }\n\n __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass___default()(RevSlider, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n _props$attributes = _props.attributes,\n text = _props$attributes.text,\n sliderTitle = _props$attributes.sliderTitle,\n setAttributes = _props.setAttributes;\n\n\n window.revslider_react = this;\n var openDialog = function openDialog() {\n jQuery('#revslider-tiny-mce-dialog').dialog({\n id: 'revslider-tiny-mce-dialog',\n width: 900,\n height: 600,\n resizable: false\n });\n };\n return wp.element.createElement(\n 'div',\n { className: 'revslider_block' },\n wp.element.createElement(\n 'span',\n null,\n this.state.sliderTitle,\n '\\xA0'\n ),\n wp.element.createElement(TextControl, {\n className: 'slider_slug',\n value: this.state.text,\n onChange: function onChange(text) {\n return setAttributes({ text: text });\n }\n }),\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n onClick: openDialog,\n className: 'slider_edit_button'\n },\n __('Edit','revslider')\n )\n );\n }\n }]);\n\n return RevSlider;\n}(Component);\n\n/**\n * Register block\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('themepunch/revslider', {\n title: __('Slider Revolution', 'revslider'),\n description: __('ALine truncated
|
||||
|
||||
/***/ }),
|
||||
/* 45 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nvar _assign = __webpack_require__(46);\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2V4dGVuZHMuanM/MGRkZiJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcblxudmFyIF9hc3NpZ24gPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3QvYXNzaWduXCIpO1xuXG52YXIgX2Fzc2lnbjIgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF9hc3NpZ24pO1xuXG5mdW5jdGlvbiBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KG9iaikgeyByZXR1cm4gb2JqICYmIG9iai5fX2VzTW9kdWxlID8gb2JqIDogeyBkZWZhdWx0OiBvYmogfTsgfVxuXG5leHBvcnRzLmRlZmF1bHQgPSBfYXNzaWduMi5kZWZhdWx0IHx8IGZ1bmN0aW9uICh0YXJnZXQpIHtcbiAgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHtcbiAgICB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldO1xuXG4gICAgZm9yICh2YXIga2V5IGluIHNvdXJjZSkge1xuICAgICAgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHtcbiAgICAgICAgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICByZXR1cm4gdGFyZ2V0O1xufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2hlbHBlcnMvZXh0ZW5kcy5qc1xuLy8gbW9kdWxlIGlkID0gNDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///45\n");
|
||||
|
||||
/***/ }),
|
||||
/* 46 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(47), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9hc3NpZ24uanM/YzI4MyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2Fzc2lnblwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvYXNzaWduLmpzXG4vLyBtb2R1bGUgaWQgPSA0NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///46\n");
|
||||
|
||||
/***/ }),
|
||||
/* 47 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(48);\nmodule.exports = __webpack_require__(0).Object.assign;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9hc3NpZ24uanM/NTc3YiJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuYXNzaWduJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3QuYXNzaWduO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9hc3NpZ24uanNcbi8vIG1vZHVsZSBpZCA9IDQ3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///47\n");
|
||||
|
||||
/***/ }),
|
||||
/* 48 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.3.1 Object.assign(target, source)\nvar $export = __webpack_require__(2);\n\n$export($export.S + $export.F, 'Object', { assign: __webpack_require__(50) });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5hc3NpZ24uanM/NDc4YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjMuMSBPYmplY3QuYXNzaWduKHRhcmdldCwgc291cmNlKVxudmFyICRleHBvcnQgPSByZXF1aXJlKCcuL19leHBvcnQnKTtcblxuJGV4cG9ydCgkZXhwb3J0LlMgKyAkZXhwb3J0LkYsICdPYmplY3QnLCB7IGFzc2lnbjogcmVxdWlyZSgnLi9fb2JqZWN0LWFzc2lnbicpIH0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5hc3NpZ24uanNcbi8vIG1vZHVsZSBpZCA9IDQ4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///48\n");
|
||||
|
||||
/***/ }),
|
||||
/* 49 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2EtZnVuY3Rpb24uanM/OTRlOSJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICBpZiAodHlwZW9mIGl0ICE9ICdmdW5jdGlvbicpIHRocm93IFR5cGVFcnJvcihpdCArICcgaXMgbm90IGEgZnVuY3Rpb24hJyk7XG4gIHJldHVybiBpdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fYS1mdW5jdGlvbi5qc1xuLy8gbW9kdWxlIGlkID0gNDlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///49\n");
|
||||
|
||||
/***/ }),
|
||||
/* 50 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = __webpack_require__(13);\nvar gOPS = __webpack_require__(23);\nvar pIE = __webpack_require__(16);\nvar toObject = __webpack_require__(24);\nvar IObject = __webpack_require__(34);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(8)(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1hc3NpZ24uanM/NGU4ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG4vLyAxOS4xLjIuMSBPYmplY3QuYXNzaWduKHRhcmdldCwgc291cmNlLCAuLi4pXG52YXIgZ2V0S2V5cyA9IHJlcXVpcmUoJy4vX29iamVjdC1rZXlzJyk7XG52YXIgZ09QUyA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BzJyk7XG52YXIgcElFID0gcmVxdWlyZSgnLi9fb2JqZWN0LXBpZScpO1xudmFyIHRvT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8tb2JqZWN0Jyk7XG52YXIgSU9iamVjdCA9IHJlcXVpcmUoJy4vX2lvYmplY3QnKTtcbnZhciAkYXNzaWduID0gT2JqZWN0LmFzc2lnbjtcblxuLy8gc2hvdWxkIHdvcmsgd2l0aCBzeW1ib2xzIGFuZCBzaG91bGQgaGF2ZSBkZXRlcm1pbmlzdGljIHByb3BlcnR5IG9yZGVyIChWOCBidWcpXG5tb2R1bGUuZXhwb3J0cyA9ICEkYXNzaWduIHx8IHJlcXVpcmUoJy4vX2ZhaWxzJykoZnVuY3Rpb24gKCkge1xuICB2YXIgQSA9IHt9O1xuICB2YXIgQiA9IHt9O1xuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tdW5kZWZcbiAgdmFyIFMgPSBTeW1ib2woKTtcbiAgdmFyIEsgPSAnYWJjZGVmZ2hpamtsbW5vcHFyc3QnO1xuICBBW1NdID0gNztcbiAgSy5zcGxpdCgnJykuZm9yRWFjaChmdW5jdGlvbiAoaykgeyBCW2tdID0gazsgfSk7XG4gIHJldHVybiAkYXNzaWduKHt9LCBBKVtTXSAhPSA3IHx8IE9iamVjdC5rZXlzKCRhc3NpZ24oe30sIEIpKS5qb2luKCcnKSAhPSBLO1xufSkgPyBmdW5jdGlvbiBhc3NpZ24odGFyZ2V0LCBzb3VyY2UpIHsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby11bnVzZWQtdmFyc1xuICB2YXIgVCA9IHRvT2JqZWN0KHRhcmdldCk7XG4gIHZhciBhTGVuID0gYXJndW1lbnRzLmxlbmd0aDtcbiAgdmFyIGluZGV4ID0gMTtcbiAgdmFyIGdldFN5bWJvbHMgPSBnT1BTLmY7XG4gIHZhciBpc0VudW0gPSBwSUUuZjtcbiAgd2hpbGUgKGFMZW4gPiBpbmRleCkge1xuICAgIHZhciBTID0gSU9iamVjdChhcmd1bWVudHNbaW5kZXgrK10pO1xuICAgIHZhciBrZXlzID0gZ2V0U3ltYm9scyA/IGdldEtleXMoUykuY29uY2F0KGdldFN5bWJvbHMoUykpIDogZ2V0S2V5cyhTKTtcbiAgICB2YXIgbGVuZ3RoID0ga2V5cy5sZW5ndGg7XG4gICAgdmFyIGogPSAwO1xuICAgIHZhciBrZXk7XG4gICAgd2hpbGUgKGxlbmd0aCA+IGopIGlmIChpc0VudW0uY2FsbChTLCBrZXkgPSBrZXlzW2orK10pKSBUW2tleV0gPSBTW2tleV07XG4gIH0gcmV0dXJuIFQ7XG59IDogJGFzc2lnbjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtYXNzaWduLmpzXG4vLyBtb2R1bGUgaWQgPSA1MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///50\n");
|
||||
|
||||
/***/ }),
|
||||
/* 51 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(9);\nvar toLength = __webpack_require__(52);\nvar toAbsoluteIndex = __webpack_require__(53);\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FycmF5LWluY2x1ZGVzLmpzP2JjNTciXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZmFsc2UgLT4gQXJyYXkjaW5kZXhPZlxuLy8gdHJ1ZSAgLT4gQXJyYXkjaW5jbHVkZXNcbnZhciB0b0lPYmplY3QgPSByZXF1aXJlKCcuL190by1pb2JqZWN0Jyk7XG52YXIgdG9MZW5ndGggPSByZXF1aXJlKCcuL190by1sZW5ndGgnKTtcbnZhciB0b0Fic29sdXRlSW5kZXggPSByZXF1aXJlKCcuL190by1hYnNvbHV0ZS1pbmRleCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoSVNfSU5DTFVERVMpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uICgkdGhpcywgZWwsIGZyb21JbmRleCkge1xuICAgIHZhciBPID0gdG9JT2JqZWN0KCR0aGlzKTtcbiAgICB2YXIgbGVuZ3RoID0gdG9MZW5ndGgoTy5sZW5ndGgpO1xuICAgIHZhciBpbmRleCA9IHRvQWJzb2x1dGVJbmRleChmcm9tSW5kZXgsIGxlbmd0aCk7XG4gICAgdmFyIHZhbHVlO1xuICAgIC8vIEFycmF5I2luY2x1ZGVzIHVzZXMgU2FtZVZhbHVlWmVybyBlcXVhbGl0eSBhbGdvcml0aG1cbiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tc2VsZi1jb21wYXJlXG4gICAgaWYgKElTX0lOQ0xVREVTICYmIGVsICE9IGVsKSB3aGlsZSAobGVuZ3RoID4gaW5kZXgpIHtcbiAgICAgIHZhbHVlID0gT1tpbmRleCsrXTtcbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1zZWxmLWNvbXBhcmVcbiAgICAgIGlmICh2YWx1ZSAhPSB2YWx1ZSkgcmV0dXJuIHRydWU7XG4gICAgLy8gQXJyYXkjaW5kZXhPZiBpZ25vcmVzIGhvbGVzLCBBcnJheSNpbmNsdWRlcyAtIG5vdFxuICAgIH0gZWxzZSBmb3IgKDtsZW5ndGggPiBpbmRleDsgaW5kZXgrKykgaWYgKElTX0lOQ0xVREVTIHx8IGluZGV4IGluIE8pIHtcbiAgICAgIGlmIChPW2luZGV4XSA9PT0gZWwpIHJldHVybiBJU19JTkNMVURFUyB8fCBpbmRleCB8fCAwO1xuICAgIH0gcmV0dXJuICFJU19JTkNMVURFUyAmJiAtMTtcbiAgfTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fYXJyYXktaW5jbHVkZXMuanNcbi8vIG1vZHVsZSBpZCA9IDUxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///51\n");
|
||||
|
||||
/***/ }),
|
||||
/* 52 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(19);\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWxlbmd0aC5qcz80MTExIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xNSBUb0xlbmd0aFxudmFyIHRvSW50ZWdlciA9IHJlcXVpcmUoJy4vX3RvLWludGVnZXInKTtcbnZhciBtaW4gPSBNYXRoLm1pbjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBpdCA+IDAgPyBtaW4odG9JbnRlZ2VyKGl0KSwgMHgxZmZmZmZmZmZmZmZmZikgOiAwOyAvLyBwb3coMiwgNTMpIC0gMSA9PSA5MDA3MTk5MjU0NzQwOTkxXG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWxlbmd0aC5qc1xuLy8gbW9kdWxlIGlkID0gNTJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///52\n");
|
||||
|
||||
/***/ }),
|
||||
/* 53 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var toInteger = __webpack_require__(19);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWFic29sdXRlLWluZGV4LmpzPzdlNDAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIHRvSW50ZWdlciA9IHJlcXVpcmUoJy4vX3RvLWludGVnZXInKTtcbnZhciBtYXggPSBNYXRoLm1heDtcbnZhciBtaW4gPSBNYXRoLm1pbjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGluZGV4LCBsZW5ndGgpIHtcbiAgaW5kZXggPSB0b0ludGVnZXIoaW5kZXgpO1xuICByZXR1cm4gaW5kZXggPCAwID8gbWF4KGluZGV4ICsgbGVuZ3RoLCAwKSA6IG1pbihpbmRleCwgbGVuZ3RoKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8tYWJzb2x1dGUtaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDUzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///53\n");
|
||||
|
||||
/***/ }),
|
||||
/* 54 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(55), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzPzY3MWUiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7IFwiZGVmYXVsdFwiOiByZXF1aXJlKFwiY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9nZXQtcHJvdG90eXBlLW9mXCIpLCBfX2VzTW9kdWxlOiB0cnVlIH07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSA1NFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///54\n");
|
||||
|
||||
/***/ }),
|
||||
/* 55 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(56);\nmodule.exports = __webpack_require__(0).Object.getPrototypeOf;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzPzdkMmUiXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LmdldC1wcm90b3R5cGUtb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9fY29yZScpLk9iamVjdC5nZXRQcm90b3R5cGVPZjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9mbi9vYmplY3QvZ2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gNTVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///55\n");
|
||||
|
||||
/***/ }),
|
||||
/* 56 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = __webpack_require__(24);\nvar $getPrototypeOf = __webpack_require__(36);\n\n__webpack_require__(57)('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5nZXQtcHJvdG90eXBlLW9mLmpzPzJhMWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjkgT2JqZWN0LmdldFByb3RvdHlwZU9mKE8pXG52YXIgdG9PYmplY3QgPSByZXF1aXJlKCcuL190by1vYmplY3QnKTtcbnZhciAkZ2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKCcuL19vYmplY3QtZ3BvJyk7XG5cbnJlcXVpcmUoJy4vX29iamVjdC1zYXAnKSgnZ2V0UHJvdG90eXBlT2YnLCBmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBmdW5jdGlvbiBnZXRQcm90b3R5cGVPZihpdCkge1xuICAgIHJldHVybiAkZ2V0UHJvdG90eXBlT2YodG9PYmplY3QoaXQpKTtcbiAgfTtcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5nZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSA1NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///56\n");
|
||||
|
||||
/***/ }),
|
||||
/* 57 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(2);\nvar core = __webpack_require__(0);\nvar fails = __webpack_require__(8);\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1zYXAuanM/YmFhNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBtb3N0IE9iamVjdCBtZXRob2RzIGJ5IEVTNiBzaG91bGQgYWNjZXB0IHByaW1pdGl2ZXNcbnZhciAkZXhwb3J0ID0gcmVxdWlyZSgnLi9fZXhwb3J0Jyk7XG52YXIgY29yZSA9IHJlcXVpcmUoJy4vX2NvcmUnKTtcbnZhciBmYWlscyA9IHJlcXVpcmUoJy4vX2ZhaWxzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChLRVksIGV4ZWMpIHtcbiAgdmFyIGZuID0gKGNvcmUuT2JqZWN0IHx8IHt9KVtLRVldIHx8IE9iamVjdFtLRVldO1xuICB2YXIgZXhwID0ge307XG4gIGV4cFtLRVldID0gZXhlYyhmbik7XG4gICRleHBvcnQoJGV4cG9ydC5TICsgJGV4cG9ydC5GICogZmFpbHMoZnVuY3Rpb24gKCkgeyBmbigxKTsgfSksICdPYmplY3QnLCBleHApO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3Qtc2FwLmpzXG4vLyBtb2R1bGUgaWQgPSA1N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///57\n");
|
||||
|
||||
/***/ }),
|
||||
/* 58 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NsYXNzQ2FsbENoZWNrLmpzPzY2YjkiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbmV4cG9ydHMuZGVmYXVsdCA9IGZ1bmN0aW9uIChpbnN0YW5jZSwgQ29uc3RydWN0b3IpIHtcbiAgaWYgKCEoaW5zdGFuY2UgaW5zdGFuY2VvZiBDb25zdHJ1Y3RvcikpIHtcbiAgICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiQ2Fubm90IGNhbGwgYSBjbGFzcyBhcyBhIGZ1bmN0aW9uXCIpO1xuICB9XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy9jbGFzc0NhbGxDaGVjay5qc1xuLy8gbW9kdWxlIGlkID0gNThcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///58\n");
|
||||
|
||||
/***/ }),
|
||||
/* 59 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(60);\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NyZWF0ZUNsYXNzLmpzP2MzMTAiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbnZhciBfZGVmaW5lUHJvcGVydHkgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3QvZGVmaW5lLXByb3BlcnR5XCIpO1xuXG52YXIgX2RlZmluZVByb3BlcnR5MiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX2RlZmluZVByb3BlcnR5KTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKCkge1xuICBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0aWVzKHRhcmdldCwgcHJvcHMpIHtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHByb3BzLmxlbmd0aDsgaSsrKSB7XG4gICAgICB2YXIgZGVzY3JpcHRvciA9IHByb3BzW2ldO1xuICAgICAgZGVzY3JpcHRvci5lbnVtZXJhYmxlID0gZGVzY3JpcHRvci5lbnVtZXJhYmxlIHx8IGZhbHNlO1xuICAgICAgZGVzY3JpcHRvci5jb25maWd1cmFibGUgPSB0cnVlO1xuICAgICAgaWYgKFwidmFsdWVcIiBpbiBkZXNjcmlwdG9yKSBkZXNjcmlwdG9yLndyaXRhYmxlID0gdHJ1ZTtcbiAgICAgICgwLCBfZGVmaW5lUHJvcGVydHkyLmRlZmF1bHQpKHRhcmdldCwgZGVzY3JpcHRvci5rZXksIGRlc2NyaXB0b3IpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBmdW5jdGlvbiAoQ29uc3RydWN0b3IsIHByb3RvUHJvcHMsIHN0YXRpY1Byb3BzKSB7XG4gICAgaWYgKHByb3RvUHJvcHMpIGRlZmluZVByb3BlcnRpZXMoQ29uc3RydWN0b3IucHJvdG90eXBlLCBwcm90b1Byb3BzKTtcbiAgICBpZiAoc3RhdGljUHJvcHMpIGRlZmluZVByb3BlcnRpZXMoQ29uc3RydWN0b3IsIHN0YXRpY1Byb3BzKTtcbiAgICByZXR1cm4gQ29uc3RydWN0b3I7XG4gIH07XG59KCk7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NyZWF0ZUNsYXNzLmpzXG4vLyBtb2R1bGUgaWQgPSA1OVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///59\n");
|
||||
|
||||
/***/ }),
|
||||
/* 60 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(61), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanM/MGI4MyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2RlZmluZS1wcm9wZXJ0eVwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvZGVmaW5lLXByb3BlcnR5LmpzXG4vLyBtb2R1bGUgaWQgPSA2MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///60\n");
|
||||
|
||||
/***/ }),
|
||||
/* 61 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(62);\nvar $Object = __webpack_require__(0).Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanM/ZjViMCJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuZGVmaW5lLXByb3BlcnR5Jyk7XG52YXIgJE9iamVjdCA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3Q7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGRlZmluZVByb3BlcnR5KGl0LCBrZXksIGRlc2MpIHtcbiAgcmV0dXJuICRPYmplY3QuZGVmaW5lUHJvcGVydHkoaXQsIGtleSwgZGVzYyk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanNcbi8vIG1vZHVsZSBpZCA9IDYxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///61\n");
|
||||
|
||||
/***/ }),
|
||||
/* 62 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var $export = __webpack_require__(2);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(4), 'Object', { defineProperty: __webpack_require__(3).f });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5kZWZpbmUtcHJvcGVydHkuanM/OTgyOSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xuLy8gMTkuMS4yLjQgLyAxNS4yLjMuNiBPYmplY3QuZGVmaW5lUHJvcGVydHkoTywgUCwgQXR0cmlidXRlcylcbiRleHBvcnQoJGV4cG9ydC5TICsgJGV4cG9ydC5GICogIXJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJyksICdPYmplY3QnLCB7IGRlZmluZVByb3BlcnR5OiByZXF1aXJlKCcuL19vYmplY3QtZHAnKS5mIH0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5kZWZpbmUtcHJvcGVydHkuanNcbi8vIG1vZHVsZSBpZCA9IDYyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///62\n");
|
||||
|
||||
/***/ }),
|
||||
/* 63 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(37);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL3Bvc3NpYmxlQ29uc3RydWN0b3JSZXR1cm4uanM/Y2YwYSJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcblxudmFyIF90eXBlb2YyID0gcmVxdWlyZShcIi4uL2hlbHBlcnMvdHlwZW9mXCIpO1xuXG52YXIgX3R5cGVvZjMgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF90eXBlb2YyKTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKHNlbGYsIGNhbGwpIHtcbiAgaWYgKCFzZWxmKSB7XG4gICAgdGhyb3cgbmV3IFJlZmVyZW5jZUVycm9yKFwidGhpcyBoYXNuJ3QgYmVlbiBpbml0aWFsaXNlZCAtIHN1cGVyKCkgaGFzbid0IGJlZW4gY2FsbGVkXCIpO1xuICB9XG5cbiAgcmV0dXJuIGNhbGwgJiYgKCh0eXBlb2YgY2FsbCA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiAoMCwgX3R5cGVvZjMuZGVmYXVsdCkoY2FsbCkpID09PSBcIm9iamVjdFwiIHx8IHR5cGVvZiBjYWxsID09PSBcImZ1bmN0aW9uXCIpID8gY2FsbCA6IHNlbGY7XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy9wb3NzaWJsZUNvbnN0cnVjdG9yUmV0dXJuLmpzXG4vLyBtb2R1bGUgaWQgPSA2M1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///63\n");
|
||||
|
||||
/***/ }),
|
||||
/* 64 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(65), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL3N5bWJvbC9pdGVyYXRvci5qcz82NzM4Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0geyBcImRlZmF1bHRcIjogcmVxdWlyZShcImNvcmUtanMvbGlicmFyeS9mbi9zeW1ib2wvaXRlcmF0b3JcIiksIF9fZXNNb2R1bGU6IHRydWUgfTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2NvcmUtanMvc3ltYm9sL2l0ZXJhdG9yLmpzXG4vLyBtb2R1bGUgaWQgPSA2NFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///64\n");
|
||||
|
||||
/***/ }),
|
||||
/* 65 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(66);\n__webpack_require__(71);\nmodule.exports = __webpack_require__(28).f('iterator');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pdGVyYXRvci5qcz9mZTdlIl0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4uLy4uL21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvcicpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy93ZWIuZG9tLml0ZXJhYmxlJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX3drcy1leHQnKS5mKCdpdGVyYXRvcicpO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNjVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///65\n");
|
||||
|
||||
/***/ }),
|
||||
/* 66 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\nvar $at = __webpack_require__(67)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(38)(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvci5qcz9jZDA0Il0sInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcbnZhciAkYXQgPSByZXF1aXJlKCcuL19zdHJpbmctYXQnKSh0cnVlKTtcblxuLy8gMjEuMS4zLjI3IFN0cmluZy5wcm90b3R5cGVbQEBpdGVyYXRvcl0oKVxucmVxdWlyZSgnLi9faXRlci1kZWZpbmUnKShTdHJpbmcsICdTdHJpbmcnLCBmdW5jdGlvbiAoaXRlcmF0ZWQpIHtcbiAgdGhpcy5fdCA9IFN0cmluZyhpdGVyYXRlZCk7IC8vIHRhcmdldFxuICB0aGlzLl9pID0gMDsgICAgICAgICAgICAgICAgLy8gbmV4dCBpbmRleFxuLy8gMjEuMS41LjIuMSAlU3RyaW5nSXRlcmF0b3JQcm90b3R5cGUlLm5leHQoKVxufSwgZnVuY3Rpb24gKCkge1xuICB2YXIgTyA9IHRoaXMuX3Q7XG4gIHZhciBpbmRleCA9IHRoaXMuX2k7XG4gIHZhciBwb2ludDtcbiAgaWYgKGluZGV4ID49IE8ubGVuZ3RoKSByZXR1cm4geyB2YWx1ZTogdW5kZWZpbmVkLCBkb25lOiB0cnVlIH07XG4gIHBvaW50ID0gJGF0KE8sIGluZGV4KTtcbiAgdGhpcy5faSArPSBwb2ludC5sZW5ndGg7XG4gIHJldHVybiB7IHZhbHVlOiBwb2ludCwgZG9uZTogZmFsc2UgfTtcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNjZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///66\n");
|
||||
|
||||
/***/ }),
|
||||
/* 67 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var toInteger = __webpack_require__(19);\nvar defined = __webpack_require__(18);\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3N0cmluZy1hdC5qcz84N2FlIl0sInNvdXJjZXNDb250ZW50IjpbInZhciB0b0ludGVnZXIgPSByZXF1aXJlKCcuL190by1pbnRlZ2VyJyk7XG52YXIgZGVmaW5lZCA9IHJlcXVpcmUoJy4vX2RlZmluZWQnKTtcbi8vIHRydWUgIC0+IFN0cmluZyNhdFxuLy8gZmFsc2UgLT4gU3RyaW5nI2NvZGVQb2ludEF0XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChUT19TVFJJTkcpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uICh0aGF0LCBwb3MpIHtcbiAgICB2YXIgcyA9IFN0cmluZyhkZWZpbmVkKHRoYXQpKTtcbiAgICB2YXIgaSA9IHRvSW50ZWdlcihwb3MpO1xuICAgIHZhciBsID0gcy5sZW5ndGg7XG4gICAgdmFyIGEsIGI7XG4gICAgaWYgKGkgPCAwIHx8IGkgPj0gbCkgcmV0dXJuIFRPX1NUUklORyA/ICcnIDogdW5kZWZpbmVkO1xuICAgIGEgPSBzLmNoYXJDb2RlQXQoaSk7XG4gICAgcmV0dXJuIGEgPCAweGQ4MDAgfHwgYSA+IDB4ZGJmZiB8fCBpICsgMSA9PT0gbCB8fCAoYiA9IHMuY2hhckNvZGVBdChpICsgMSkpIDwgMHhkYzAwIHx8IGIgPiAweGRmZmZcbiAgICAgID8gVE9fU1RSSU5HID8gcy5jaGFyQXQoaSkgOiBhXG4gICAgICA6IFRPX1NUUklORyA/IHMuc2xpY2UoaSwgaSArIDIpIDogKGEgLSAweGQ4MDAgPDwgMTApICsgKGIgLSAweGRjMDApICsgMHgxMDAwMDtcbiAgfTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc3RyaW5nLWF0LmpzXG4vLyBtb2R1bGUgaWQgPSA2N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///67\n");
|
||||
|
||||
/***/ }),
|
||||
/* 68 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\nvar create = __webpack_require__(26);\nvar descriptor = __webpack_require__(12);\nvar setToStringTag = __webpack_require__(27);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(6)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItY3JlYXRlLmpzP2Y3ODUiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIGNyZWF0ZSA9IHJlcXVpcmUoJy4vX29iamVjdC1jcmVhdGUnKTtcbnZhciBkZXNjcmlwdG9yID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xudmFyIHNldFRvU3RyaW5nVGFnID0gcmVxdWlyZSgnLi9fc2V0LXRvLXN0cmluZy10YWcnKTtcbnZhciBJdGVyYXRvclByb3RvdHlwZSA9IHt9O1xuXG4vLyAyNS4xLjIuMS4xICVJdGVyYXRvclByb3RvdHlwZSVbQEBpdGVyYXRvcl0oKVxucmVxdWlyZSgnLi9faGlkZScpKEl0ZXJhdG9yUHJvdG90eXBlLCByZXF1aXJlKCcuL193a3MnKSgnaXRlcmF0b3InKSwgZnVuY3Rpb24gKCkgeyByZXR1cm4gdGhpczsgfSk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKENvbnN0cnVjdG9yLCBOQU1FLCBuZXh0KSB7XG4gIENvbnN0cnVjdG9yLnByb3RvdHlwZSA9IGNyZWF0ZShJdGVyYXRvclByb3RvdHlwZSwgeyBuZXh0OiBkZXNjcmlwdG9yKDEsIG5leHQpIH0pO1xuICBzZXRUb1N0cmluZ1RhZyhDb25zdHJ1Y3RvciwgTkFNRSArICcgSXRlcmF0b3InKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXRlci1jcmVhdGUuanNcbi8vIG1vZHVsZSBpZCA9IDY4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///68\n");
|
||||
|
||||
/***/ }),
|
||||
/* 69 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var dP = __webpack_require__(3);\nvar anObject = __webpack_require__(11);\nvar getKeys = __webpack_require__(13);\n\nmodule.exports = __webpack_require__(4) ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1kcHMuanM/YWEyYSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZFAgPSByZXF1aXJlKCcuL19vYmplY3QtZHAnKTtcbnZhciBhbk9iamVjdCA9IHJlcXVpcmUoJy4vX2FuLW9iamVjdCcpO1xudmFyIGdldEtleXMgPSByZXF1aXJlKCcuL19vYmplY3Qta2V5cycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBPYmplY3QuZGVmaW5lUHJvcGVydGllcyA6IGZ1bmN0aW9uIGRlZmluZVByb3BlcnRpZXMoTywgUHJvcGVydGllcykge1xuICBhbk9iamVjdChPKTtcbiAgdmFyIGtleXMgPSBnZXRLZXlzKFByb3BlcnRpZXMpO1xuICB2YXIgbGVuZ3RoID0ga2V5cy5sZW5ndGg7XG4gIHZhciBpID0gMDtcbiAgdmFyIFA7XG4gIHdoaWxlIChsZW5ndGggPiBpKSBkUC5mKE8sIFAgPSBrZXlzW2krK10sIFByb3BlcnRpZXNbUF0pO1xuICByZXR1cm4gTztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWRwcy5qc1xuLy8gbW9kdWxlIGlkID0gNjlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///69\n");
|
||||
|
||||
/***/ }),
|
||||
/* 70 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var document = __webpack_require__(1).document;\nmodule.exports = document && document.documentElement;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2h0bWwuanM/NDRmMiJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZG9jdW1lbnQgPSByZXF1aXJlKCcuL19nbG9iYWwnKS5kb2N1bWVudDtcbm1vZHVsZS5leHBvcnRzID0gZG9jdW1lbnQgJiYgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2h0bWwuanNcbi8vIG1vZHVsZSBpZCA9IDcwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///70\n");
|
||||
|
||||
/***/ }),
|
||||
/* 71 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(72);\nvar global = __webpack_require__(1);\nvar hide = __webpack_require__(6);\nvar Iterators = __webpack_require__(25);\nvar TO_STRING_TAG = __webpack_require__(10)('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvd2ViLmRvbS5pdGVyYWJsZS5qcz9mYWQzIl0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4vZXM2LmFycmF5Lml0ZXJhdG9yJyk7XG52YXIgZ2xvYmFsID0gcmVxdWlyZSgnLi9fZ2xvYmFsJyk7XG52YXIgaGlkZSA9IHJlcXVpcmUoJy4vX2hpZGUnKTtcbnZhciBJdGVyYXRvcnMgPSByZXF1aXJlKCcuL19pdGVyYXRvcnMnKTtcbnZhciBUT19TVFJJTkdfVEFHID0gcmVxdWlyZSgnLi9fd2tzJykoJ3RvU3RyaW5nVGFnJyk7XG5cbnZhciBET01JdGVyYWJsZXMgPSAoJ0NTU1J1bGVMaXN0LENTU1N0eWxlRGVjbGFyYXRpb24sQ1NTVmFsdWVMaXN0LENsaWVudFJlY3RMaXN0LERPTVJlY3RMaXN0LERPTVN0cmluZ0xpc3QsJyArXG4gICdET01Ub2tlbkxpc3QsRGF0YVRyYW5zZmVySXRlbUxpc3QsRmlsZUxpc3QsSFRNTEFsbENvbGxlY3Rpb24sSFRNTENvbGxlY3Rpb24sSFRNTEZvcm1FbGVtZW50LEhUTUxTZWxlY3RFbGVtZW50LCcgK1xuICAnTWVkaWFMaXN0LE1pbWVUeXBlQXJyYXksTmFtZWROb2RlTWFwLE5vZGVMaXN0LFBhaW50UmVxdWVzdExpc3QsUGx1Z2luLFBsdWdpbkFycmF5LFNWR0xlbmd0aExpc3QsU1ZHTnVtYmVyTGlzdCwnICtcbiAgJ1NWR1BhdGhTZWdMaXN0LFNWR1BvaW50TGlzdCxTVkdTdHJpbmdMaXN0LFNWR1RyYW5zZm9ybUxpc3QsU291cmNlQnVmZmVyTGlzdCxTdHlsZVNoZWV0TGlzdCxUZXh0VHJhY2tDdWVMaXN0LCcgK1xuICAnVGV4dFRyYWNrTGlzdCxUb3VjaExpc3QnKS5zcGxpdCgnLCcpO1xuXG5mb3IgKHZhciBpID0gMDsgaSA8IERPTUl0ZXJhYmxlcy5sZW5ndGg7IGkrKykge1xuICB2YXIgTkFNRSA9IERPTUl0ZXJhYmxlc1tpXTtcbiAgdmFyIENvbGxlY3Rpb24gPSBnbG9iYWxbTkFNRV07XG4gIHZhciBwcm90byA9IENvbGxlY3Rpb24gJiYgQ29sbGVjdGlvbi5wcm90b3R5cGU7XG4gIGlmIChwcm90byAmJiAhcHJvdG9bVE9fU1RSSU5HX1RBR10pIGhpZGUocHJvdG8sIFRPX1NUUklOR19UQUcsIE5BTUUpO1xuICBJdGVyYXRvcnNbTkFNRV0gPSBJdGVyYXRvcnMuQXJyYXk7XG59XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy93ZWIuZG9tLml0ZXJhYmxlLmpzXG4vLyBtb2R1bGUgaWQgPSA3MVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///71\n");
|
||||
|
||||
/***/ }),
|
||||
/* 72 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\nvar addToUnscopables = __webpack_require__(73);\nvar step = __webpack_require__(74);\nvar Iterators = __webpack_require__(25);\nvar toIObject = __webpack_require__(9);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(38)(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LmFycmF5Lml0ZXJhdG9yLmpzP2M0NjkiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIGFkZFRvVW5zY29wYWJsZXMgPSByZXF1aXJlKCcuL19hZGQtdG8tdW5zY29wYWJsZXMnKTtcbnZhciBzdGVwID0gcmVxdWlyZSgnLi9faXRlci1zdGVwJyk7XG52YXIgSXRlcmF0b3JzID0gcmVxdWlyZSgnLi9faXRlcmF0b3JzJyk7XG52YXIgdG9JT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8taW9iamVjdCcpO1xuXG4vLyAyMi4xLjMuNCBBcnJheS5wcm90b3R5cGUuZW50cmllcygpXG4vLyAyMi4xLjMuMTMgQXJyYXkucHJvdG90eXBlLmtleXMoKVxuLy8gMjIuMS4zLjI5IEFycmF5LnByb3RvdHlwZS52YWx1ZXMoKVxuLy8gMjIuMS4zLjMwIEFycmF5LnByb3RvdHlwZVtAQGl0ZXJhdG9yXSgpXG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2l0ZXItZGVmaW5lJykoQXJyYXksICdBcnJheScsIGZ1bmN0aW9uIChpdGVyYXRlZCwga2luZCkge1xuICB0aGlzLl90ID0gdG9JT2JqZWN0KGl0ZXJhdGVkKTsgLy8gdGFyZ2V0XG4gIHRoaXMuX2kgPSAwOyAgICAgICAgICAgICAgICAgICAvLyBuZXh0IGluZGV4XG4gIHRoaXMuX2sgPSBraW5kOyAgICAgICAgICAgICAgICAvLyBraW5kXG4vLyAyMi4xLjUuMi4xICVBcnJheUl0ZXJhdG9yUHJvdG90eXBlJS5uZXh0KClcbn0sIGZ1bmN0aW9uICgpIHtcbiAgdmFyIE8gPSB0aGlzLl90O1xuICB2YXIga2luZCA9IHRoaXMuX2s7XG4gIHZhciBpbmRleCA9IHRoaXMuX2krKztcbiAgaWYgKCFPIHx8IGluZGV4ID49IE8ubGVuZ3RoKSB7XG4gICAgdGhpcy5fdCA9IHVuZGVmaW5lZDtcbiAgICByZXR1cm4gc3RlcCgxKTtcbiAgfVxuICBpZiAoa2luZCA9PSAna2V5cycpIHJldHVybiBzdGVwKDAsIGluZGV4KTtcbiAgaWYgKGtpbmQgPT0gJ3ZhbHVlcycpIHJldHVybiBzdGVwKDAsIE9baW5kZXhdKTtcbiAgcmV0dXJuIHN0ZXAoMCwgW2luZGV4LCBPW2luZGV4XV0pO1xufSwgJ3ZhbHVlcycpO1xuXG4vLyBhcmd1bWVudHNMaXN0W0BAaXRlcmF0b3JdIGlzICVBcnJheVByb3RvX3ZhbHVlcyUgKDkuNC40LjYsIDkuNC40LjcpXG5JdGVyYXRvcnMuQXJndW1lbnRzID0gSXRlcmF0b3JzLkFycmF5O1xuXG5hZGRUb1Vuc2NvcGFibGVzKCdrZXlzJyk7XG5hZGRUb1Vuc2NvcGFibGVzKCd2YWx1ZXMnKTtcbmFkZFRvVW5zY29wYWJsZXMoJ2VudHJpZXMnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL2VzNi5hcnJheS5pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNzJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///72\n");
|
||||
|
||||
/***/ }),
|
||||
/* 73 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function () { /* empty */ };\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FkZC10by11bnNjb3BhYmxlcy5qcz9lMjY3Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKCkgeyAvKiBlbXB0eSAqLyB9O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FkZC10by11bnNjb3BhYmxlcy5qc1xuLy8gbW9kdWxlIGlkID0gNzNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///73\n");
|
||||
|
||||
/***/ }),
|
||||
/* 74 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItc3RlcC5qcz8xMDY2Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGRvbmUsIHZhbHVlKSB7XG4gIHJldHVybiB7IHZhbHVlOiB2YWx1ZSwgZG9uZTogISFkb25lIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItc3RlcC5qc1xuLy8gbW9kdWxlIGlkID0gNzRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///74\n");
|
||||
|
||||
/***/ }),
|
||||
/* 75 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(76), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL3N5bWJvbC5qcz9lNTA1Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0geyBcImRlZmF1bHRcIjogcmVxdWlyZShcImNvcmUtanMvbGlicmFyeS9mbi9zeW1ib2xcIiksIF9fZXNNb2R1bGU6IHRydWUgfTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2NvcmUtanMvc3ltYm9sLmpzXG4vLyBtb2R1bGUgaWQgPSA3NVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///75\n");
|
||||
|
||||
/***/ }),
|
||||
/* 76 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(77);\n__webpack_require__(82);\n__webpack_require__(83);\n__webpack_require__(84);\nmodule.exports = __webpack_require__(0).Symbol;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pbmRleC5qcz8wNzA3Il0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4uLy4uL21vZHVsZXMvZXM2LnN5bWJvbCcpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LnRvLXN0cmluZycpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczcuc3ltYm9sLmFzeW5jLWl0ZXJhdG9yJyk7XG5yZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNy5zeW1ib2wub2JzZXJ2YWJsZScpO1xubW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuLi8uLi9tb2R1bGVzL19jb3JlJykuU3ltYm9sO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNzZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///76\n");
|
||||
|
||||
/***/ }),
|
||||
/* 77 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(1);\nvar has = __webpack_require__(5);\nvar DESCRIPTORS = __webpack_require__(4);\nvar $export = __webpack_require__(2);\nvar redefine = __webpack_require__(39);\nvar META = __webpack_require__(78).KEY;\nvar $fails = __webpack_require__(8);\nvar shared = __webpack_require__(21);\nvar setToStringTag = __webpack_require__(27);\nvar uid = __webpack_require__(15);\nvar wks = __webpack_require__(10);\nvar wksExt = __webpack_require__(28);\nvar wksDefine = __webpack_require__(29);\nvar enumKeys = __webpack_require__(79);\nvar isArray = __webpack_require__(80);\nvar anObject = __webpack_require__(11);\nvar isObject = __webpack_require__(7);\nvar toIObject = __webpack_require__(9);\nvar toPrimitive = __webpack_require__(17);\nvar createDesc = __webpack_require__(12);\nvar _create = __webpack_require__(26);\nvar gOPNExt = __webpack_require__(81);\nvar $GOPD = __webpack_require__(41);\nvar $DP = __webpack_require__(3);\nvar $keys = __webpack_require__(13);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function';\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments
Line truncated
|
||||
|
||||
/***/ }),
|
||||
/* 78 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var META = __webpack_require__(15)('meta');\nvar isObject = __webpack_require__(7);\nvar has = __webpack_require__(5);\nvar setDesc = __webpack_require__(3).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !__webpack_require__(8)(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX21ldGEuanM/ZDNhMyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgTUVUQSA9IHJlcXVpcmUoJy4vX3VpZCcpKCdtZXRhJyk7XG52YXIgaXNPYmplY3QgPSByZXF1aXJlKCcuL19pcy1vYmplY3QnKTtcbnZhciBoYXMgPSByZXF1aXJlKCcuL19oYXMnKTtcbnZhciBzZXREZXNjID0gcmVxdWlyZSgnLi9fb2JqZWN0LWRwJykuZjtcbnZhciBpZCA9IDA7XG52YXIgaXNFeHRlbnNpYmxlID0gT2JqZWN0LmlzRXh0ZW5zaWJsZSB8fCBmdW5jdGlvbiAoKSB7XG4gIHJldHVybiB0cnVlO1xufTtcbnZhciBGUkVFWkUgPSAhcmVxdWlyZSgnLi9fZmFpbHMnKShmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBpc0V4dGVuc2libGUoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKHt9KSk7XG59KTtcbnZhciBzZXRNZXRhID0gZnVuY3Rpb24gKGl0KSB7XG4gIHNldERlc2MoaXQsIE1FVEEsIHsgdmFsdWU6IHtcbiAgICBpOiAnTycgKyArK2lkLCAvLyBvYmplY3QgSURcbiAgICB3OiB7fSAgICAgICAgICAvLyB3ZWFrIGNvbGxlY3Rpb25zIElEc1xuICB9IH0pO1xufTtcbnZhciBmYXN0S2V5ID0gZnVuY3Rpb24gKGl0LCBjcmVhdGUpIHtcbiAgLy8gcmV0dXJuIHByaW1pdGl2ZSB3aXRoIHByZWZpeFxuICBpZiAoIWlzT2JqZWN0KGl0KSkgcmV0dXJuIHR5cGVvZiBpdCA9PSAnc3ltYm9sJyA/IGl0IDogKHR5cGVvZiBpdCA9PSAnc3RyaW5nJyA/ICdTJyA6ICdQJykgKyBpdDtcbiAgaWYgKCFoYXMoaXQsIE1FVEEpKSB7XG4gICAgLy8gY2FuJ3Qgc2V0IG1ldGFkYXRhIHRvIHVuY2F1Z2h0IGZyb3plbiBvYmplY3RcbiAgICBpZiAoIWlzRXh0ZW5zaWJsZShpdCkpIHJldHVybiAnRic7XG4gICAgLy8gbm90IG5lY2Vzc2FyeSB0byBhZGQgbWV0YWRhdGFcbiAgICBpZiAoIWNyZWF0ZSkgcmV0dXJuICdFJztcbiAgICAvLyBhZGQgbWlzc2luZyBtZXRhZGF0YVxuICAgIHNldE1ldGEoaXQpO1xuICAvLyByZXR1cm4gb2JqZWN0IElEXG4gIH0gcmV0dXJuIGl0W01FVEFdLmk7XG59O1xudmFyIGdldFdlYWsgPSBmdW5jdGlvbiAoaXQsIGNyZWF0ZSkge1xuICBpZiAoIWhhcyhpdCwgTUVUQSkpIHtcbiAgICAvLyBjYW4ndCBzZXQgbWV0YWRhdGEgdG8gdW5jYXVnaHQgZnJvemVuIG9iamVjdFxuICAgIGlmICghaXNFeHRlbnNpYmxlKGl0KSkgcmV0dXJuIHRydWU7XG4gICAgLy8gbm90IG5lY2Vzc2FyeSB0byBhZGQgbWV0YWRhdGFcbiAgICBpZiAoIWNyZWF0ZSkgcmV0dXJuIGZhbHNlO1xuICAgIC8vIGFkZCBtaXNzaW5nIG1ldGFkYXRhXG4gICAgc2V0TWV0YShpdCk7XG4gIC8vIHJldHVybiBoYXNoIHdlYWsgY29sbGVjdGlvbnMgSURzXG4gIH0gcmV0dXJuIGl0W01FVEFdLnc7XG59O1xuLy8gYWRkIG1ldGFkYXRhIG9uIGZyZWV6ZS1mYW1pbHkgbWV0aG9kcyBjYWxsaW5nXG52YXIgb25GcmVlemUgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKEZSRUVaRSAmJiBtZXRhLk5FRUQgJiYgaXNFeHRlbnNpYmxlKGl0KSAmJiAhaGFzKGl0LCBNRVRBKSkgc2V0TWV0YShpdCk7XG4gIHJldHVybiBpdDtcbn07XG52YXIgbWV0YSA9IG1vZHVsZS5leHBvcnRzID0ge1xuICBLRVk6IE1FVEEsXG4gIE5FRUQ6IGZhbHNlLFxuICBmYXN0S2V5OiBmYXN0S2V5LFxuICBnZXRXZWFrOiBnZXRXZWFrLFxuICBvbkZyZWV6ZTogb25GcmVlemVcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fbWV0YS5qc1xuLy8gbW9kdWxlIGlkID0gNzhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///78\n");
|
||||
|
||||
/***/ }),
|
||||
/* 79 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(13);\nvar gOPS = __webpack_require__(23);\nvar pIE = __webpack_require__(16);\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2VudW0ta2V5cy5qcz81ZGNlIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGFsbCBlbnVtZXJhYmxlIG9iamVjdCBrZXlzLCBpbmNsdWRlcyBzeW1ib2xzXG52YXIgZ2V0S2V5cyA9IHJlcXVpcmUoJy4vX29iamVjdC1rZXlzJyk7XG52YXIgZ09QUyA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BzJyk7XG52YXIgcElFID0gcmVxdWlyZSgnLi9fb2JqZWN0LXBpZScpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgdmFyIHJlc3VsdCA9IGdldEtleXMoaXQpO1xuICB2YXIgZ2V0U3ltYm9scyA9IGdPUFMuZjtcbiAgaWYgKGdldFN5bWJvbHMpIHtcbiAgICB2YXIgc3ltYm9scyA9IGdldFN5bWJvbHMoaXQpO1xuICAgIHZhciBpc0VudW0gPSBwSUUuZjtcbiAgICB2YXIgaSA9IDA7XG4gICAgdmFyIGtleTtcbiAgICB3aGlsZSAoc3ltYm9scy5sZW5ndGggPiBpKSBpZiAoaXNFbnVtLmNhbGwoaXQsIGtleSA9IHN5bWJvbHNbaSsrXSkpIHJlc3VsdC5wdXNoKGtleSk7XG4gIH0gcmV0dXJuIHJlc3VsdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZW51bS1rZXlzLmpzXG4vLyBtb2R1bGUgaWQgPSA3OVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///79\n");
|
||||
|
||||
/***/ }),
|
||||
/* 80 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(35);\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lzLWFycmF5LmpzP2VkNDMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gNy4yLjIgSXNBcnJheShhcmd1bWVudClcbnZhciBjb2YgPSByZXF1aXJlKCcuL19jb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gQXJyYXkuaXNBcnJheSB8fCBmdW5jdGlvbiBpc0FycmF5KGFyZykge1xuICByZXR1cm4gY29mKGFyZykgPT0gJ0FycmF5Jztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtYXJyYXkuanNcbi8vIG1vZHVsZSBpZCA9IDgwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///80\n");
|
||||
|
||||
/***/ }),
|
||||
/* 81 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(9);\nvar gOPN = __webpack_require__(40).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLWV4dC5qcz80NmI3Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGZhbGxiYWNrIGZvciBJRTExIGJ1Z2d5IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzIHdpdGggaWZyYW1lIGFuZCB3aW5kb3dcbnZhciB0b0lPYmplY3QgPSByZXF1aXJlKCcuL190by1pb2JqZWN0Jyk7XG52YXIgZ09QTiA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BuJykuZjtcbnZhciB0b1N0cmluZyA9IHt9LnRvU3RyaW5nO1xuXG52YXIgd2luZG93TmFtZXMgPSB0eXBlb2Ygd2luZG93ID09ICdvYmplY3QnICYmIHdpbmRvdyAmJiBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lc1xuICA/IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzKHdpbmRvdykgOiBbXTtcblxudmFyIGdldFdpbmRvd05hbWVzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHRyeSB7XG4gICAgcmV0dXJuIGdPUE4oaXQpO1xuICB9IGNhdGNoIChlKSB7XG4gICAgcmV0dXJuIHdpbmRvd05hbWVzLnNsaWNlKCk7XG4gIH1cbn07XG5cbm1vZHVsZS5leHBvcnRzLmYgPSBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eU5hbWVzKGl0KSB7XG4gIHJldHVybiB3aW5kb3dOYW1lcyAmJiB0b1N0cmluZy5jYWxsKGl0KSA9PSAnW29iamVjdCBXaW5kb3ddJyA/IGdldFdpbmRvd05hbWVzKGl0KSA6IGdPUE4odG9JT2JqZWN0KGl0KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLWV4dC5qc1xuLy8gbW9kdWxlIGlkID0gODFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///81\n");
|
||||
|
||||
/***/ }),
|
||||
/* 82 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODIuanMiLCJzb3VyY2VzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///82\n");
|
||||
|
||||
/***/ }),
|
||||
/* 83 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(29)('asyncIterator');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5hc3luYy1pdGVyYXRvci5qcz8zOTg5Il0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4vX3drcy1kZWZpbmUnKSgnYXN5bmNJdGVyYXRvcicpO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5hc3luYy1pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gODNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///83\n");
|
||||
|
||||
/***/ }),
|
||||
/* 84 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(29)('observable');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5vYnNlcnZhYmxlLmpzPzQxNjciXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi9fd2tzLWRlZmluZScpKCdvYnNlcnZhYmxlJyk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9lczcuc3ltYm9sLm9ic2VydmFibGUuanNcbi8vIG1vZHVsZSBpZCA9IDg0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///84\n");
|
||||
|
||||
/***/ }),
|
||||
/* 85 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(86);\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(90);\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(37);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2luaGVyaXRzLmpzPzNkZmQiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbnZhciBfc2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3Qvc2V0LXByb3RvdHlwZS1vZlwiKTtcblxudmFyIF9zZXRQcm90b3R5cGVPZjIgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF9zZXRQcm90b3R5cGVPZik7XG5cbnZhciBfY3JlYXRlID0gcmVxdWlyZShcIi4uL2NvcmUtanMvb2JqZWN0L2NyZWF0ZVwiKTtcblxudmFyIF9jcmVhdGUyID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfY3JlYXRlKTtcblxudmFyIF90eXBlb2YyID0gcmVxdWlyZShcIi4uL2hlbHBlcnMvdHlwZW9mXCIpO1xuXG52YXIgX3R5cGVvZjMgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF90eXBlb2YyKTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKHN1YkNsYXNzLCBzdXBlckNsYXNzKSB7XG4gIGlmICh0eXBlb2Ygc3VwZXJDbGFzcyAhPT0gXCJmdW5jdGlvblwiICYmIHN1cGVyQ2xhc3MgIT09IG51bGwpIHtcbiAgICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiU3VwZXIgZXhwcmVzc2lvbiBtdXN0IGVpdGhlciBiZSBudWxsIG9yIGEgZnVuY3Rpb24sIG5vdCBcIiArICh0eXBlb2Ygc3VwZXJDbGFzcyA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiAoMCwgX3R5cGVvZjMuZGVmYXVsdCkoc3VwZXJDbGFzcykpKTtcbiAgfVxuXG4gIHN1YkNsYXNzLnByb3RvdHlwZSA9ICgwLCBfY3JlYXRlMi5kZWZhdWx0KShzdXBlckNsYXNzICYmIHN1cGVyQ2xhc3MucHJvdG90eXBlLCB7XG4gICAgY29uc3RydWN0b3I6IHtcbiAgICAgIHZhbHVlOiBzdWJDbGFzcyxcbiAgICAgIGVudW1lcmFibGU6IGZhbHNlLFxuICAgICAgd3JpdGFibGU6IHRydWUsXG4gICAgICBjb25maWd1cmFibGU6IHRydWVcbiAgICB9XG4gIH0pO1xuICBpZiAoc3VwZXJDbGFzcykgX3NldFByb3RvdHlwZU9mMi5kZWZhdWx0ID8gKDAsIF9zZXRQcm90b3R5cGVPZjIuZGVmYXVsdCkoc3ViQ2xhc3MsIHN1cGVyQ2xhc3MpIDogc3ViQ2xhc3MuX19wcm90b19fID0gc3VwZXJDbGFzcztcbn07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2luaGVyaXRzLmpzXG4vLyBtb2R1bGUgaWQgPSA4NVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///85\n");
|
||||
|
||||
/***/ }),
|
||||
/* 86 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(87), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzPzkyMjAiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7IFwiZGVmYXVsdFwiOiByZXF1aXJlKFwiY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9zZXQtcHJvdG90eXBlLW9mXCIpLCBfX2VzTW9kdWxlOiB0cnVlIH07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSA4NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///86\n");
|
||||
|
||||
/***/ }),
|
||||
/* 87 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(88);\nmodule.exports = __webpack_require__(0).Object.setPrototypeOf;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzPzhiZjAiXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LnNldC1wcm90b3R5cGUtb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9fY29yZScpLk9iamVjdC5zZXRQcm90b3R5cGVPZjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9mbi9vYmplY3Qvc2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gODdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///87\n");
|
||||
|
||||
/***/ }),
|
||||
/* 88 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(2);\n$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(89).set });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5zZXQtcHJvdG90eXBlLW9mLmpzPzdiMTgiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4zLjE5IE9iamVjdC5zZXRQcm90b3R5cGVPZihPLCBwcm90bylcbnZhciAkZXhwb3J0ID0gcmVxdWlyZSgnLi9fZXhwb3J0Jyk7XG4kZXhwb3J0KCRleHBvcnQuUywgJ09iamVjdCcsIHsgc2V0UHJvdG90eXBlT2Y6IHJlcXVpcmUoJy4vX3NldC1wcm90bycpLnNldCB9KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL2VzNi5vYmplY3Quc2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gODhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///88\n");
|
||||
|
||||
/***/ }),
|
||||
/* 89 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(7);\nvar anObject = __webpack_require__(11);\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = __webpack_require__(30)(Function.call, __webpack_require__(41).f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NldC1wcm90by5qcz82NWE0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIFdvcmtzIHdpdGggX19wcm90b19fIG9ubHkuIE9sZCB2OCBjYW4ndCB3b3JrIHdpdGggbnVsbCBwcm90byBvYmplY3RzLlxuLyogZXNsaW50LWRpc2FibGUgbm8tcHJvdG8gKi9cbnZhciBpc09iamVjdCA9IHJlcXVpcmUoJy4vX2lzLW9iamVjdCcpO1xudmFyIGFuT2JqZWN0ID0gcmVxdWlyZSgnLi9fYW4tb2JqZWN0Jyk7XG52YXIgY2hlY2sgPSBmdW5jdGlvbiAoTywgcHJvdG8pIHtcbiAgYW5PYmplY3QoTyk7XG4gIGlmICghaXNPYmplY3QocHJvdG8pICYmIHByb3RvICE9PSBudWxsKSB0aHJvdyBUeXBlRXJyb3IocHJvdG8gKyBcIjogY2FuJ3Qgc2V0IGFzIHByb3RvdHlwZSFcIik7XG59O1xubW9kdWxlLmV4cG9ydHMgPSB7XG4gIHNldDogT2JqZWN0LnNldFByb3RvdHlwZU9mIHx8ICgnX19wcm90b19fJyBpbiB7fSA/IC8vIGVzbGludC1kaXNhYmxlLWxpbmVcbiAgICBmdW5jdGlvbiAodGVzdCwgYnVnZ3ksIHNldCkge1xuICAgICAgdHJ5IHtcbiAgICAgICAgc2V0ID0gcmVxdWlyZSgnLi9fY3R4JykoRnVuY3Rpb24uY2FsbCwgcmVxdWlyZSgnLi9fb2JqZWN0LWdvcGQnKS5mKE9iamVjdC5wcm90b3R5cGUsICdfX3Byb3RvX18nKS5zZXQsIDIpO1xuICAgICAgICBzZXQodGVzdCwgW10pO1xuICAgICAgICBidWdneSA9ICEodGVzdCBpbnN0YW5jZW9mIEFycmF5KTtcbiAgICAgIH0gY2F0Y2ggKGUpIHsgYnVnZ3kgPSB0cnVlOyB9XG4gICAgICByZXR1cm4gZnVuY3Rpb24gc2V0UHJvdG90eXBlT2YoTywgcHJvdG8pIHtcbiAgICAgICAgY2hlY2soTywgcHJvdG8pO1xuICAgICAgICBpZiAoYnVnZ3kpIE8uX19wcm90b19fID0gcHJvdG87XG4gICAgICAgIGVsc2Ugc2V0KE8sIHByb3RvKTtcbiAgICAgICAgcmV0dXJuIE87XG4gICAgICB9O1xuICAgIH0oe30sIGZhbHNlKSA6IHVuZGVmaW5lZCksXG4gIGNoZWNrOiBjaGVja1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19zZXQtcHJvdG8uanNcbi8vIG1vZHVsZSBpZCA9IDg5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///89\n");
|
||||
|
||||
/***/ }),
|
||||
/* 90 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("module.exports = { \"default\": __webpack_require__(91), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9jcmVhdGUuanM/M2FmNCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2NyZWF0ZVwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvY3JlYXRlLmpzXG4vLyBtb2R1bGUgaWQgPSA5MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///90\n");
|
||||
|
||||
/***/ }),
|
||||
/* 91 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("__webpack_require__(92);\nvar $Object = __webpack_require__(0).Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9jcmVhdGUuanM/YTBjZSJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuY3JlYXRlJyk7XG52YXIgJE9iamVjdCA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3Q7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGNyZWF0ZShQLCBEKSB7XG4gIHJldHVybiAkT2JqZWN0LmNyZWF0ZShQLCBEKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2NyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gOTFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///91\n");
|
||||
|
||||
/***/ }),
|
||||
/* 92 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("var $export = __webpack_require__(2);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: __webpack_require__(26) });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5jcmVhdGUuanM/YjA1ZiJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xuLy8gMTkuMS4yLjIgLyAxNS4yLjMuNSBPYmplY3QuY3JlYXRlKE8gWywgUHJvcGVydGllc10pXG4kZXhwb3J0KCRleHBvcnQuUywgJ09iamVjdCcsIHsgY3JlYXRlOiByZXF1aXJlKCcuL19vYmplY3QtY3JlYXRlJykgfSk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9lczYub2JqZWN0LmNyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gOTJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///92\n");
|
||||
|
||||
/***/ }),
|
||||
/* 93 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvcmV2c2xpZGVyL3N0eWxlLnNjc3M/MzU0MyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vYmxvY2tzL3JldnNsaWRlci9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSA5M1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///93\n");
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
@@ -0,0 +1,75 @@
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, {
|
||||
/******/ configurable: false,
|
||||
/******/ enumerable: true,
|
||||
/******/ get: getter
|
||||
/******/ });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 94);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 94:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
eval("// Tabs\n\n(function ($) {\n\t$(document).ready(function () {\n\t\tvar titleWrap = '.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap';\n\t\tvar contentWrap = '.wp-block-themepunchblocks-tpc-tabs-tab-content-wrap';\n\t\t$(document).on('click', '.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap', function () {\n\t\t\tvar parent = $(this).closest('.wp-block-themepunchblocks-tpc-tabs');\n\t\t\tvar contentWrapEl = parent.find('.wp-block-themepunchblocks-tpc-tabs-tab-content-wrap');\n\t\t\tvar activeStyle = parent.find('.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap.active').attr('style');\n\t\t\tvar defaultStyle = parent.find('.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap:not(.active)').attr('style');\n\n\t\t\t$(this).siblings(titleWrap).removeClass('active').attr('style', defaultStyle);\n\t\t\t$(this).addClass('active').attr('style', activeStyle);\n\n\t\t\tcontentWrapEl.removeClass('active').addClass('tpc-hide');\n\t\t\tparent.find(contentWrap + ':nth-of-type(' + ($(this).index() + 1) + ')').addClass('active').removeClass('tpc-hide');\n\t\t});\n\t});\n})(jQuery);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvZnJvbnRlbmQuanM/ZDJkNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUYWJzXG5cbihmdW5jdGlvbiAoJCkge1xuXHQkKGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbiAoKSB7XG5cdFx0dmFyIHRpdGxlV3JhcCA9ICcud3AtYmxvY2stdGhlbWVwdW5jaGJsb2Nrcy10cGMtdGFicy10YWItdGl0bGUtd3JhcCc7XG5cdFx0dmFyIGNvbnRlbnRXcmFwID0gJy53cC1ibG9jay10aGVtZXB1bmNoYmxvY2tzLXRwYy10YWJzLXRhYi1jb250ZW50LXdyYXAnO1xuXHRcdCQoZG9jdW1lbnQpLm9uKCdjbGljaycsICcud3AtYmxvY2stdGhlbWVwdW5jaGJsb2Nrcy10cGMtdGFicy10YWItdGl0bGUtd3JhcCcsIGZ1bmN0aW9uICgpIHtcblx0XHRcdHZhciBwYXJlbnQgPSAkKHRoaXMpLmNsb3Nlc3QoJy53cC1ibG9jay10aGVtZXB1bmNoYmxvY2tzLXRwYy10YWJzJyk7XG5cdFx0XHR2YXIgY29udGVudFdyYXBFbCA9IHBhcmVudC5maW5kKCcud3AtYmxvY2stdGhlbWVwdW5jaGJsb2Nrcy10cGMtdGFicy10YWItY29udGVudC13cmFwJyk7XG5cdFx0XHR2YXIgYWN0aXZlU3R5bGUgPSBwYXJlbnQuZmluZCgnLndwLWJsb2NrLXRoZW1lcHVuY2hibG9ja3MtdHBjLXRhYnMtdGFiLXRpdGxlLXdyYXAuYWN0aXZlJykuYXR0cignc3R5bGUnKTtcblx0XHRcdHZhciBkZWZhdWx0U3R5bGUgPSBwYXJlbnQuZmluZCgnLndwLWJsb2NrLXRoZW1lcHVuY2hibG9ja3MtdHBjLXRhYnMtdGFiLXRpdGxlLXdyYXA6bm90KC5hY3RpdmUpJykuYXR0cignc3R5bGUnKTtcblxuXHRcdFx0JCh0aGlzKS5zaWJsaW5ncyh0aXRsZVdyYXApLnJlbW92ZUNsYXNzKCdhY3RpdmUnKS5hdHRyKCdzdHlsZScsIGRlZmF1bHRTdHlsZSk7XG5cdFx0XHQkKHRoaXMpLmFkZENsYXNzKCdhY3RpdmUnKS5hdHRyKCdzdHlsZScsIGFjdGl2ZVN0eWxlKTtcblxuXHRcdFx0Y29udGVudFdyYXBFbC5yZW1vdmVDbGFzcygnYWN0aXZlJykuYWRkQ2xhc3MoJ3RwYy1oaWRlJyk7XG5cdFx0XHRwYXJlbnQuZmluZChjb250ZW50V3JhcCArICc6bnRoLW9mLXR5cGUoJyArICgkKHRoaXMpLmluZGV4KCkgKyAxKSArICcpJykuYWRkQ2xhc3MoJ2FjdGl2ZScpLnJlbW92ZUNsYXNzKCd0cGMtaGlkZScpO1xuXHRcdH0pO1xuXHR9KTtcbn0pKGpRdWVyeSk7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvZnJvbnRlbmQuanNcbi8vIG1vZHVsZSBpZCA9IDk0XG4vLyBtb2R1bGUgY2h1bmtzID0gMSJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///94\n");
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
@@ -0,0 +1,29 @@
|
||||
// Tabs
|
||||
|
||||
( function( $ ) {
|
||||
$( document ).ready( function() {
|
||||
var titleWrap = '.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap';
|
||||
var contentWrap = '.wp-block-themepunchblocks-tpc-tabs-tab-content-wrap';
|
||||
$( document )
|
||||
.on( 'click', '.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap', function() {
|
||||
var parent = $(this)
|
||||
.closest('.wp-block-themepunchblocks-tpc-tabs');
|
||||
var contentWrapEl = parent
|
||||
.find('.wp-block-themepunchblocks-tpc-tabs-tab-content-wrap');
|
||||
var activeStyle = parent
|
||||
.find('.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap.active')
|
||||
.attr('style');
|
||||
var defaultStyle = parent
|
||||
.find('.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap:not(.active)')
|
||||
.attr('style');
|
||||
|
||||
$(this).siblings(titleWrap).removeClass('active').attr('style', defaultStyle);
|
||||
$(this).addClass('active').attr('style', activeStyle);
|
||||
|
||||
contentWrapEl.removeClass('active').addClass('tpc-hide');
|
||||
parent.find(contentWrap +':nth-of-type(' + ($(this).index() + 1) + ')')
|
||||
.addClass('active')
|
||||
.removeClass('tpc-hide');
|
||||
} );
|
||||
} );
|
||||
}( jQuery ) );
|
||||
@@ -0,0 +1 @@
|
||||
wp.i18n.setLocaleData( { '': {} }, 'themepunchblocks' );
|
||||
@@ -0,0 +1,11 @@
|
||||
import './i18n.js';
|
||||
//import './tpc-headlines';
|
||||
//import './tpc-contents';
|
||||
//import './tpc-related';
|
||||
//import './tpc-btn';
|
||||
//import './tpc-infobox';
|
||||
//import './tpc-gallery';
|
||||
//import './tpc-tabs';
|
||||
//import './tpc-container';
|
||||
//import './tpc-code';
|
||||
import './revslider';
|
||||
@@ -0,0 +1,39 @@
|
||||
div.revslider_block {
|
||||
background: url(../images/revlogo.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 205px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
div.revslider_block .components-text-control__input {
|
||||
display:none;
|
||||
}
|
||||
|
||||
div.revslider_block span{
|
||||
font-weight: bold;
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
||||
}
|
||||
|
||||
div.revslider_block .slider_slug {
|
||||
float:left;
|
||||
}
|
||||
|
||||
div.revslider_block .slider_edit_button {
|
||||
float:right;
|
||||
}
|
||||
|
||||
[data-type="themepunch/revslider"] .editor-block-list__block-edit:before{
|
||||
outline: 1px solid rgba(145,151,162,.25)!important;
|
||||
}
|
||||
|
||||
.editor-block-list-item-themepunch-revslider svg,
|
||||
.components-panel__body.edit-post-block-sidebar__panel svg.dashicons-update
|
||||
{
|
||||
width:24px;
|
||||
height:24px;
|
||||
}
|
||||
|
||||
.editor-block-list-item-themepunch-revslider .editor-block-types-list__item-title{
|
||||
padding: 4px 1px 4px 1px;
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
/**
|
||||
* Block dependencies
|
||||
*/
|
||||
import './style.scss';
|
||||
|
||||
/**
|
||||
* Internal block libraries
|
||||
*/
|
||||
const { __ } = wp.i18n;
|
||||
const { registerBlockType } = wp.blocks;
|
||||
const { TextControl, Button } = wp.components;
|
||||
const { Component } = wp.element;
|
||||
|
||||
/**
|
||||
* RevSlider Editor Element
|
||||
*/
|
||||
export class RevSlider extends Component {
|
||||
|
||||
constructor() {
|
||||
super( ...arguments );
|
||||
const { attributes: { text,sliderTitle } } = this.props;
|
||||
this.state = {
|
||||
text ,
|
||||
sliderTitle
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
attributes: { text,sliderTitle },
|
||||
setAttributes } = this.props;
|
||||
|
||||
window.revslider_react = this;
|
||||
const openDialog = () => {
|
||||
jQuery('#revslider-tiny-mce-dialog').dialog({
|
||||
id : 'revslider-tiny-mce-dialog',
|
||||
width : 900,
|
||||
height : 600,
|
||||
resizable: false
|
||||
})
|
||||
}
|
||||
return (
|
||||
<div className="revslider_block">
|
||||
<span>{this.state.sliderTitle} </span>
|
||||
<TextControl
|
||||
className="slider_slug"
|
||||
value={ this.state.text }
|
||||
onChange={ ( text ) => setAttributes( { text } ) }
|
||||
/>
|
||||
<Button
|
||||
isDefault
|
||||
onClick = { openDialog }
|
||||
className="slider_edit_button"
|
||||
>
|
||||
Edit
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Register block
|
||||
*/
|
||||
export default registerBlockType(
|
||||
'themepunch/revslider',
|
||||
{
|
||||
title: __( 'Slider Revolution', 'revslider' ),
|
||||
description: __( 'Add your Slider Revolution.', 'revslider' ),
|
||||
category: 'themepunch',
|
||||
icon: {
|
||||
src: 'update',
|
||||
background: 'rgb(210,0,0)',
|
||||
color: 'white',
|
||||
viewbox: "0 0 24 24"
|
||||
},
|
||||
keywords: [
|
||||
__( 'Banner', 'revslider' ),
|
||||
__( 'CTA', 'revslider' ),
|
||||
__( 'Slider', 'revslider' ),
|
||||
],
|
||||
attributes: {
|
||||
text: {
|
||||
selector: '.revslider',
|
||||
type: 'string',
|
||||
source: 'text',
|
||||
},
|
||||
sliderTitle: {
|
||||
selector: '.revslider',
|
||||
type: 'string',
|
||||
source: 'attribute',
|
||||
attribute: 'data-slidertitle',
|
||||
}
|
||||
},
|
||||
edit: props => {
|
||||
const { setAttributes } = props;
|
||||
return (
|
||||
<div>
|
||||
<RevSlider {...{ setAttributes, ...props }} />
|
||||
</div>
|
||||
);
|
||||
},
|
||||
save: props => {
|
||||
const { attributes: { text,sliderTitle } } = props;
|
||||
return (
|
||||
<div className="revslider" data-slidertitle={sliderTitle}>
|
||||
{text}
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
);
|
||||
@@ -0,0 +1,39 @@
|
||||
div.revslider_block {
|
||||
background: url(../images/revlogo.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 205px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
div.revslider_block .components-text-control__input {
|
||||
display:none;
|
||||
}
|
||||
|
||||
div.revslider_block span{
|
||||
font-weight: bold;
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
||||
}
|
||||
|
||||
div.revslider_block .slider_slug {
|
||||
float:left;
|
||||
}
|
||||
|
||||
div.revslider_block .slider_edit_button {
|
||||
float:right;
|
||||
}
|
||||
|
||||
[data-type="themepunch/revslider"] .editor-block-list__block-edit:before{
|
||||
outline: 1px solid rgba(145,151,162,.25)!important;
|
||||
}
|
||||
|
||||
.editor-block-list-item-themepunch-revslider svg,
|
||||
.components-panel__body.edit-post-block-sidebar__panel svg.dashicons-update
|
||||
{
|
||||
width:24px;
|
||||
height:24px;
|
||||
}
|
||||
|
||||
.editor-block-list-item-themepunch-revslider .editor-block-types-list__item-title{
|
||||
padding: 4px 1px 4px 1px;
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"Project-Id-Version: Gutenberg - Block Examples\n"
|
||||
"POT-Creation-Date: 2018-03-27 15:08-0400\n"
|
||||
"PO-Revision-Date: 2018-03-27 15:39-0400\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.0.6\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
||||
"X-Poedit-WPHeader: jsforwp-blocks.php\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
|
||||
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
||||
"Last-Translator: \n"
|
||||
"Language: es_PE\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Gutenberg - Block Examples"
|
||||
msgstr "Ejemplos de Blocks de Gutenberg"
|
||||
|
||||
#. Plugin URI of the plugin/theme
|
||||
msgid "https://gutenberg.courses"
|
||||
msgstr "https://gutenberg.courses"
|
||||
|
||||
#. Description of the plugin/theme
|
||||
msgid ""
|
||||
"An plugin containing example blocks for developers. From <a href=\"https://"
|
||||
"gutenberg.courses\">Zac Gordon's Gutenberg Course</a>."
|
||||
msgstr ""
|
||||
"Un plugin que contiene ejemplos de blocks para developers. De el curso de "
|
||||
"Gutenberg de Zac Gordon."
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "Zac Gordon"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
msgid "https://zacgordon.com"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,128 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"X-Generator: babel-plugin-wp-i18n\n"
|
||||
|
||||
#: blocks/index.js:2
|
||||
msgid "jsforwp"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:17
|
||||
msgid "Block Demo"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:27
|
||||
msgid "registerBlockType - Demo"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:29
|
||||
msgid ""
|
||||
"A demonstration block for learning how to register your own blocks with "
|
||||
"registerBlockType()"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:35
|
||||
msgid "Example"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:36
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:37
|
||||
msgid "Code Samples"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:61
|
||||
msgid "Block Alignment"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/00-demo/index.js:72
|
||||
msgid "Enter your ipsum here.."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/01-title/index.js:8
|
||||
msgid "registerBlockType [1/8] - Title Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/01-title/index.js:9
|
||||
msgid ""
|
||||
"The title setting for registerBlockType() gives your block a searchable, "
|
||||
"human readable name. It should be escaped using wp.i18n.__()"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/02-category/index.js:8
|
||||
msgid "registerBlockType [2/8] - Category Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/02-category/index.js:9
|
||||
msgid ""
|
||||
"The category setting for registerBlockType() determines the heading / "
|
||||
"section / category in which a user can find your block. Options include "
|
||||
"\"common\", \"formatting\", \"layout\", \"widgets\" and \"embed.\""
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/03-icon/index.js:8
|
||||
msgid "registerBlockType [3/8] - Icon Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/03-icon/index.js:9
|
||||
msgid ""
|
||||
"The icon setting for registerBlockType() determines what icon will "
|
||||
"represent your custom block. Can use a WP Dashicon or custom SVG."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/04-keywords/index.js:8
|
||||
msgid "registerBlockType [4/8] - Keywords Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/04-keywords/index.js:9
|
||||
msgid ""
|
||||
"The keyword setting for registerBlockType() provides three additional "
|
||||
"keyword / phrases that will display your block when searched for. Limited "
|
||||
"to 3."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/05-edit/index.js:10
|
||||
msgid ""
|
||||
"The edit setting for registerBlockType() determines what will display in "
|
||||
"the editor area for the block. This includes block markup and "
|
||||
"functionality. Must return a valid element using wp.element.createElement() "
|
||||
"or JSX. Also accepts dynamic data via a \"props\" parameter."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/05-edit/index.js:9
|
||||
msgid "registerBlockType [5/8] - Edit Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/06-save/index.js:10
|
||||
msgid ""
|
||||
"The save setting for registerBlockType() determines what be displayed when "
|
||||
"the block is converted to content for the frontend. Must return a valid "
|
||||
"React element using wp.element.createElement() or JSX. Also accepts "
|
||||
"dynamic data as a props parameter."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/06-save/index.js:9
|
||||
msgid "registerBlockType [6/8] - Save Setting"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/07-attributes/index.js:10
|
||||
msgid ""
|
||||
"The attribute setting identifies what dynamic content we are using in our "
|
||||
"blocks. Several attribute options exist depending on what types of data we "
|
||||
"are using. Attribute settings are optional if your block uses no dynamic "
|
||||
"data. This data is then made available via props.attributes.name."
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/07-attributes/index.js:9
|
||||
msgid "registerBlockType [7/8] - Attribute Setting\n"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/08-all/index.js:8
|
||||
msgid "registerBlockType [8/8] - All Together"
|
||||
msgstr ""
|
||||
|
||||
#: blocks/register-block-type/08-all/index.js:9
|
||||
msgid "Here we see all of the registerBlockType settings together."
|
||||
msgstr ""
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Gutenberg_Courses\Example_Blocks;
|
||||
|
||||
//add_filter( 'register_post_type_args', __NAMESPACE__ . '\add_template_to_post_type', 20, 2 );
|
||||
function add_template_to_post_type( $args, $post_type ) {
|
||||
|
||||
if ( 'post' !== $post_type ) {
|
||||
return $args;
|
||||
}
|
||||
|
||||
$args['template_lock'] = true;
|
||||
$args['template'] = [
|
||||
[
|
||||
'core/image',
|
||||
[
|
||||
'align' => 'left',
|
||||
],
|
||||
],
|
||||
[
|
||||
'core/paragraph',
|
||||
[
|
||||
'placeholder' => 'The only thing you can add',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
return $args;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
namespace Gutenberg_Courses\Example_Blocks;
|
||||
|
||||
function themepunch_customize_register( $wp_customize ) {
|
||||
/*$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
|
||||
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
|
||||
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
|
||||
|
||||
if ( isset( $wp_customize->selective_refresh ) ) {
|
||||
$wp_customize->selective_refresh->add_partial( 'blogname', array(
|
||||
'selector' => '.site-title a',
|
||||
'render_callback' => 'themepunch_customize_partial_blogname',
|
||||
) );
|
||||
$wp_customize->selective_refresh->add_partial( 'blogdescription', array(
|
||||
'selector' => '.site-description',
|
||||
'render_callback' => 'themepunch_customize_partial_blogdescription',
|
||||
) );
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Remove not needed standard sections
|
||||
*/
|
||||
foreach (array('colors','header_image','background_image') as $id) {
|
||||
$wp_customize->remove_section($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* ThemePunch Blocks Default Accent
|
||||
*/
|
||||
$wp_customize->add_section( 'tpc_blocks_colors_section',
|
||||
array(
|
||||
'title' => __( 'ThemePunch Blocks Colors' ),
|
||||
'description' => esc_html__( 'Set the colors used in the ThemePunch blocks.' ),
|
||||
'capability' => 'edit_theme_options', // Not typically needed. Default is edit_theme_options
|
||||
'description_hidden' => 'false', // Rarely needed. Default is False
|
||||
'priority' => 99999,
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Accent Color Background
|
||||
*/
|
||||
$wp_customize->add_setting(
|
||||
'tpc_blocks_accent_color', array(
|
||||
'default' => '#5e35b1',
|
||||
'sanitize_callback' => 'wp_strip_all_tags',
|
||||
'transport' => 'postMessage',
|
||||
)
|
||||
);
|
||||
$wp_customize->add_control(
|
||||
new \WP_Customize_Color_Control(
|
||||
$wp_customize, 'tpc_blocks_accent_color', array(
|
||||
'label' => esc_html__( 'Accent Color Background', 'themepunch' ),
|
||||
'description' => esc_html__( 'Used for e.g. Button Backgrounds, Headline Borders', 'themepunch' ),
|
||||
'section' => 'tpc_blocks_colors_section',
|
||||
)
|
||||
)
|
||||
);
|
||||
$wp_customize->add_setting(
|
||||
'tpc_blocks_accent_color_font', array(
|
||||
'default' => '#ffffff',
|
||||
'sanitize_callback' => 'wp_strip_all_tags',
|
||||
'transport' => 'postMessage',
|
||||
)
|
||||
);
|
||||
$wp_customize->add_control(
|
||||
new \WP_Customize_Color_Control(
|
||||
$wp_customize, 'tpc_blocks_accent_color_font', array(
|
||||
'label' => esc_html__( 'Accent Color Font', 'themepunch' ),
|
||||
'description' => esc_html__( 'Used for e.g. Button Fonts', 'themepunch' ),
|
||||
'section' => 'tpc_blocks_colors_section',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Supporting Color Background
|
||||
*/
|
||||
$wp_customize->add_setting(
|
||||
'tpc_blocks_supporting_color_1', array(
|
||||
'default' => '#d9dadb',
|
||||
'sanitize_callback' => 'wp_strip_all_tags',
|
||||
'transport' => 'postMessage',
|
||||
)
|
||||
);
|
||||
$wp_customize->add_control(
|
||||
new \WP_Customize_Color_Control(
|
||||
$wp_customize, 'tpc_blocks_supporting_color_1', array(
|
||||
'label' => esc_html__( 'Supporting Color Background', 'themepunch' ),
|
||||
'description' => esc_html__( 'Used for e.g. Tab Backgrounds, Headline Borders', 'themepunch' ),
|
||||
'section' => 'tpc_blocks_colors_section',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$wp_customize->add_setting(
|
||||
'tpc_blocks_supporting_color_1_font', array(
|
||||
'default' => '#5b5c5e',
|
||||
'sanitize_callback' => 'wp_strip_all_tags',
|
||||
'transport' => 'postMessage',
|
||||
)
|
||||
);
|
||||
$wp_customize->add_control(
|
||||
new \WP_Customize_Color_Control(
|
||||
$wp_customize, 'tpc_blocks_supporting_color_1_font', array(
|
||||
'label' => esc_html__( 'Supporting Color Font', 'themepunch' ),
|
||||
'description' => esc_html__( 'Used for e.g. Tab Fonts', 'themepunch' ),
|
||||
'section' => 'tpc_blocks_colors_section',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
add_action( 'customize_register', __NAMESPACE__ .'\themepunch_customize_register' );
|
||||
?>
|
||||
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
|
||||
namespace Gutenberg_Courses\Example_Blocks;
|
||||
|
||||
add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_block_editor_assets' );
|
||||
/**
|
||||
* Enqueue block editor only JavaScript and CSS.
|
||||
*/
|
||||
function enqueue_block_editor_assets() {
|
||||
// Make paths variables so we don't write em twice ;)
|
||||
$block_path = '/assets/js/editor.blocks.js';
|
||||
$style_path = '/assets/css/blocks.editor.css';
|
||||
// Enqueue the bundled block JS file
|
||||
wp_enqueue_script(
|
||||
'jsforwp-blocks-js',
|
||||
_get_plugin_url() . $block_path,
|
||||
[ 'wp-i18n', 'wp-element', 'wp-blocks', 'wp-components', 'wp-editor' ],
|
||||
filemtime( _get_plugin_directory() . $block_path )
|
||||
);
|
||||
|
||||
if(class_exists("\RevSlider")){
|
||||
$slider = new \RevSlider();
|
||||
$arrSliders = $slider->getArrSliders();
|
||||
$sliderlist = array();
|
||||
foreach($arrSliders as $sliderony){
|
||||
$sliderlist[] = array('value' => $sliderony->getAlias(), 'label' => $sliderony->getTitle(), 'type' => $sliderony->getParam('source_type') );
|
||||
}
|
||||
}
|
||||
else $sliderlist = array('value' => '' , 'label' => __('No Sliders available','themepunchblocks'));
|
||||
|
||||
if(shortcode_exists("ess_grid")){
|
||||
global $wpdb;
|
||||
global $table_prefix;
|
||||
$wpdb->tablename = $table_prefix . 'eg_grids';
|
||||
|
||||
$grids = $wpdb->get_results(
|
||||
"
|
||||
SELECT handle,name
|
||||
FROM $wpdb->tablename
|
||||
"
|
||||
);
|
||||
|
||||
$gridlist = array();
|
||||
if(is_array($grids)){
|
||||
foreach ( $grids as $grid )
|
||||
{
|
||||
$gridlist[$grid->handle] = $grid->name;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$gridlist[] = __('No Grid available','themepunch');
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
$gridlist[] = __('No Grid available','themepunch');
|
||||
}
|
||||
|
||||
wp_localize_script(
|
||||
'jsforwp-blocks-js',
|
||||
'themepunch_blocks',
|
||||
array(
|
||||
'sliderlist' => $sliderlist,
|
||||
'gridlist' =>$gridlist
|
||||
)
|
||||
);
|
||||
|
||||
// Enqueue optional editor only styles
|
||||
wp_enqueue_style(
|
||||
'jsforwp-blocks-editor-css',
|
||||
_get_plugin_url() . $style_path,
|
||||
[ 'wp-blocks' ],
|
||||
filemtime( _get_plugin_directory() . $style_path )
|
||||
);
|
||||
wp_add_inline_style( 'jsforwp-blocks-editor-css', tpc_customizer_colors() );
|
||||
}
|
||||
|
||||
add_action( 'enqueue_block_assets', __NAMESPACE__ . '\enqueue_assets' );
|
||||
/**
|
||||
* Enqueue front end and editor JavaScript and CSS assets.
|
||||
*/
|
||||
function enqueue_assets() {
|
||||
$style_path = '/assets/css/blocks.style.css';
|
||||
wp_enqueue_style(
|
||||
'jsforwp-blocks',
|
||||
_get_plugin_url() . $style_path,
|
||||
[ 'wp-blocks' ],
|
||||
filemtime( _get_plugin_directory() . $style_path )
|
||||
);
|
||||
wp_add_inline_style( 'jsforwp-blocks', tpc_customizer_colors() );
|
||||
}
|
||||
|
||||
/*add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_frontend_assets' );
|
||||
function enqueue_frontend_assets() {
|
||||
|
||||
// If in the backend, bail out.
|
||||
if ( is_admin() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$block_path = '/assets/js/frontend.blocks.js';
|
||||
wp_enqueue_script(
|
||||
'jsforwp-blocks-frontend',
|
||||
_get_plugin_url() . $block_path,
|
||||
['jQuery'],
|
||||
filemtime( _get_plugin_directory() . $block_path )
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
function tpc_tabs_add_frontend_assets() {
|
||||
$block_path = '/blocks/tpc-tabs/front.js';
|
||||
wp_enqueue_script(
|
||||
'tpc-tabs-front-script',
|
||||
_get_plugin_url() . $block_path,
|
||||
array( 'jquery' ),
|
||||
filemtime( _get_plugin_directory() . $block_path )
|
||||
);
|
||||
}
|
||||
|
||||
add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\tpc_tabs_add_frontend_assets' );
|
||||
|
||||
/**
|
||||
* Add custom colors to Gutenberg.
|
||||
*/
|
||||
function tpc_customizer_colors() {
|
||||
|
||||
// Retrieve the colors from the Customizer
|
||||
$accent = get_theme_mod( 'tpc_blocks_accent_color', '#5e35b1' );
|
||||
$accent_font = get_theme_mod( 'tpc_blocks_accent_color_font', '#fff' );
|
||||
$support1 = get_theme_mod( 'tpc_blocks_supporting_color_1', '#d9dadb' );
|
||||
$support1_font = get_theme_mod( 'tpc_blocks_supporting_color_1_font', '#5b5c5e' );
|
||||
|
||||
// Build Custom CSS from Customizer
|
||||
$css = '
|
||||
h2.tpc-headline,
|
||||
h3.tpc-contentheadline,
|
||||
h2.wp-block-themepunchblocks-tpcheadline,
|
||||
h3.wp-block-themepunchblocks-tpcheadline { border-left: 10px solid ' . esc_attr( $accent ) . '; }
|
||||
|
||||
h2.tpc-headline em,
|
||||
h3.tpc-contentheadline em ,
|
||||
h4.tpc-caption em ,
|
||||
h2.wp-block-themepunchblocks-tpcheadline em ,
|
||||
h3.wp-block-themepunchblocks-tpcheadline,
|
||||
h4.wp-block-themepunchblocks-tpcheadline em { color: ' . esc_attr( $accent ) . '; }
|
||||
|
||||
.tpc-related ul li a,
|
||||
.tpc-related ul li a:visited,
|
||||
.tpc-related ul li a:hover { color: ' . esc_attr( $accent ) . ';}
|
||||
|
||||
.tpc-related ul li:first-child,
|
||||
button.tpc-btn,
|
||||
button.tpc-btn:focus,
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap.active .wp-block-themepunchblocks-tpc-tabs-tab-title {background: ' . esc_attr( $accent ) . '}
|
||||
|
||||
button.tpc-btn,
|
||||
button.tpc-btn:focus,
|
||||
.tpc-related ul li:first-child,
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap.active .wp-block-themepunchblocks-tpc-tabs-tab-title { color: ' . esc_attr( $accent_font ) . '!important; }
|
||||
|
||||
h4.tpc-caption,
|
||||
h4.wp-block-themepunchblocks-tpcheadline,
|
||||
.tpc-contents ol {border-left: 10px solid ' . esc_attr( $support1 ) . ';}
|
||||
|
||||
.wp-block-themepunchblocks-tpc-tabs { border-top: 3px solid ' . esc_attr( $support1 ) . '; }
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title,
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap { background: ' . esc_attr( $support1 ) . ';}
|
||||
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title,
|
||||
.wp-block-themepunchblocks-tpc-tabs-tab-title-wrap .dashicons-plus-alt { color: ' . esc_attr( $support1_font ) . ';}
|
||||
';
|
||||
|
||||
return wp_strip_all_tags( $css );
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Gutenberg_Courses\Example_Blocks;
|
||||
|
||||
add_action( 'init', __NAMESPACE__ . '\register_meta_fields' );
|
||||
/**
|
||||
* Registering meta fields for block attributes that use meta storage
|
||||
*/
|
||||
function register_meta_fields() {
|
||||
register_meta(
|
||||
'post',
|
||||
'themepunchblocks_gb_metabox',
|
||||
[
|
||||
'type' => 'string',
|
||||
'single' => true,
|
||||
'show_in_rest' => true,
|
||||
] );
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "jsforwp-blocks",
|
||||
"version": "2.0.0",
|
||||
"license": "MIT",
|
||||
"main": "blocks/index.js",
|
||||
"scripts": {
|
||||
"dev": "cross-env BABEL_ENV=default webpack --watch",
|
||||
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack -p"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "16.2.0",
|
||||
"react-autosize-textarea": "2.0.0",
|
||||
"react-dom": "16.2.0",
|
||||
"react-sortable-hoc": "^0.6.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wordpress/babel-preset-default": "^1.2.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-eslint": "^8.2.3",
|
||||
"babel-loader": "^7.1.4",
|
||||
"classnames": "^2.2.5",
|
||||
"cross-env": "^5.1.5",
|
||||
"css-loader": "^0.28.11",
|
||||
"eslint": "^4.19.1",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"node-sass": "^4.9.0",
|
||||
"postcss-loader": "^2.1.5",
|
||||
"raw-loader": "^0.5.1",
|
||||
"sass-loader": "^6.0.7",
|
||||
"style-loader": "^0.19.1",
|
||||
"webpack": "^3.11.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
const path = require( 'path' );
|
||||
const webpack = require( 'webpack' );
|
||||
const ExtractTextPlugin = require( 'extract-text-webpack-plugin' );
|
||||
|
||||
// Set different CSS extraction for editor only and common block styles
|
||||
const blocksCSSPlugin = new ExtractTextPlugin( {
|
||||
filename: './assets/css/blocks.style.css',
|
||||
} );
|
||||
const editBlocksCSSPlugin = new ExtractTextPlugin( {
|
||||
filename: './assets/css/blocks.editor.css',
|
||||
} );
|
||||
|
||||
// Configuration for the ExtractTextPlugin.
|
||||
const extractConfig = {
|
||||
use: [
|
||||
{ loader: 'raw-loader' },
|
||||
{
|
||||
loader: 'postcss-loader',
|
||||
options: {
|
||||
plugins: [ require( 'autoprefixer' ) ],
|
||||
},
|
||||
},
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
query: {
|
||||
outputStyle:
|
||||
'production' === process.env.NODE_ENV ? 'compressed' : 'nested',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
'./assets/js/editor.blocks' : './blocks/index.js',
|
||||
'./assets/js/frontend.blocks' : './blocks/frontend.js',
|
||||
},
|
||||
output: {
|
||||
path: path.resolve( __dirname ),
|
||||
filename: '[name].js',
|
||||
},
|
||||
watch: 'production' !== process.env.NODE_ENV,
|
||||
devtool: 'cheap-eval-source-map',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /style\.s?css$/,
|
||||
use: blocksCSSPlugin.extract( extractConfig ),
|
||||
},
|
||||
{
|
||||
test: /editor\.s?css$/,
|
||||
use: editBlocksCSSPlugin.extract( extractConfig ),
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
blocksCSSPlugin,
|
||||
editBlocksCSSPlugin,
|
||||
],
|
||||
};
|
||||
Whitespace-only changes.
@@ -0,0 +1,867 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Revolution Slider
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://revolution.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderNavigation {
|
||||
|
||||
public function __construct(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function init_by_id($nav_id){
|
||||
if(intval($nav_id) == 0) return false;
|
||||
|
||||
global $wpdb;
|
||||
|
||||
$row = $wpdb->get_row($wpdb->prepare("SELECT `id`, `handle`, `type`, `css`, `settings` FROM ".$wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME." WHERE `id` = %d", $nav_id), ARRAY_A);
|
||||
|
||||
return $row;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get all Navigations Short
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_all_navigations_short(){
|
||||
global $wpdb;
|
||||
|
||||
$navigations = $wpdb->get_results("SELECT `id`, `handle`, `name` FROM ".$wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME, ARRAY_A);
|
||||
|
||||
return $navigations;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get all Navigations
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_all_navigations($defaults = true, $raw = false){
|
||||
global $wpdb;
|
||||
|
||||
$navigations = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME, ARRAY_A);
|
||||
|
||||
if($raw == false){
|
||||
foreach($navigations as $key => $nav){
|
||||
$navigations[$key]['css'] = RevSliderBase::stripslashes_deep(json_decode($navigations[$key]['css'], true));
|
||||
$navigations[$key]['markup'] = RevSliderBase::stripslashes_deep(json_decode($navigations[$key]['markup'], true));
|
||||
if(isset($navigations[$key]['settings'])){
|
||||
$navigations[$key]['settings'] = RevSliderBase::stripslashes_deep(json_decode($navigations[$key]['settings'], true));
|
||||
if(!is_array($navigations[$key]['settings'])){
|
||||
$navigations[$key]['settings'] = json_decode($navigations[$key]['settings'], true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($defaults){
|
||||
$def = self::get_default_navigations();
|
||||
|
||||
$default_presets = get_option('revslider-nav-preset-default', array());
|
||||
|
||||
if(!empty($def)){
|
||||
if($raw == false){
|
||||
foreach($def as $key => $nav){
|
||||
$def[$key]['css'] = RevSliderBase::stripslashes_deep(json_decode($def[$key]['css'], true));
|
||||
$def[$key]['markup'] = RevSliderBase::stripslashes_deep(json_decode($def[$key]['markup'], true));
|
||||
|
||||
if(isset($def[$key]['settings'])){
|
||||
$def[$key]['settings'] = RevSliderBase::stripslashes_deep(json_decode($def[$key]['settings'], true));
|
||||
if(!is_array($def[$key]['settings'])){
|
||||
$def[$key]['settings'] = json_decode($def[$key]['settings'], true);
|
||||
}
|
||||
}
|
||||
//add custom settings (placeholders) to the default navigation
|
||||
if(!empty($default_presets)){
|
||||
if(!isset($def[$key]['settings'])) $def[$key]['settings'] = array();
|
||||
if(!isset($def[$key]['settings']['presets'])) $def[$key]['settings']['presets'] = array();
|
||||
foreach($default_presets as $id => $v){
|
||||
if($id !== $def[$key]['id']) continue;
|
||||
|
||||
foreach($v as $values){
|
||||
$def[$key]['settings']['presets'][] = $values;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$navigations = array_merge($navigations, $def);
|
||||
}
|
||||
}
|
||||
|
||||
return $navigations;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates / Updates Navigation skins
|
||||
* @since: 5.0
|
||||
**/
|
||||
public function create_update_full_navigation($data){
|
||||
global $wpdb;
|
||||
|
||||
if(!empty($data) && is_array($data)){
|
||||
|
||||
$navigations = self::get_all_navigations();
|
||||
|
||||
foreach($data as $vals){
|
||||
$found = false;
|
||||
|
||||
if(!isset($vals['markup']) || !isset($vals['css'])) continue;
|
||||
if(isset($vals['default']) && $vals['default'] == true) continue; //defaults can't be deleted
|
||||
|
||||
if(isset($vals['id'])){ //new will be added temporary to navs to tell here that they are new
|
||||
|
||||
if(intval($vals['id']) === 0) continue; //0
|
||||
|
||||
foreach($navigations as $nav){
|
||||
if($vals['id'] == $nav['id']){
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($found == true){ //update
|
||||
self::create_update_navigation($vals, $vals['id']);
|
||||
}else{ //create
|
||||
self::create_update_navigation($vals);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates / Updates Navigation skins
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function create_update_navigation($data, $nav_id = 0){
|
||||
global $wpdb;
|
||||
|
||||
if(isset($data['default']) && $data['default'] == true) return false;
|
||||
|
||||
if(!isset($data['settings'])) $data['settings'] = '';
|
||||
|
||||
if($nav_id > 0){
|
||||
$response = $wpdb->update($wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME,
|
||||
array(
|
||||
'name' => esc_attr(stripslashes($data['name'])),
|
||||
'handle' => sanitize_title($data['name']),
|
||||
'markup' => json_encode($data['markup']),
|
||||
'css' => json_encode($data['css']),
|
||||
'settings' => json_encode($data['settings'])
|
||||
),
|
||||
array('id' => $nav_id)
|
||||
);
|
||||
}else{
|
||||
if(!isset($data['settings'])) $data['settings'] = '';
|
||||
$response = $wpdb->insert($wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME, array('name' => $data['name'], 'handle' => sanitize_title($data['name']), 'css' => json_encode($data['css']), 'markup' => json_encode($data['markup']), 'settings' => json_encode($data['settings'])));
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete Navigation
|
||||
* @since: 5.0
|
||||
**/
|
||||
public function delete_navigation($nav_id = 0){
|
||||
global $wpdb;
|
||||
|
||||
if(!isset($nav_id) || intval($nav_id) == 0) return __('Invalid ID', 'revslider');
|
||||
|
||||
|
||||
$response = $wpdb->delete($wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME, array('id' => $nav_id));
|
||||
if($response === false) return __('Navigation could not be deleted', 'revslider');
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get Default Navigation
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function get_default_navigations(){
|
||||
$navigations = array();
|
||||
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5000,
|
||||
'default' => true,
|
||||
'name' => 'Hesperiden',
|
||||
'handle' => 'round',
|
||||
'markup' => '{"arrows":"","bullets":"","thumbs":"<span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-title\\\\\\">{{title}}<\\/span>","tabs":"<div class=\\\\\\"tp-tab-content\\\\\\">\\n <span class=\\\\\\"tp-tab-date\\\\\\">{{param1}}<\\/span>\\n <span class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/span>\\n<\\/div>\\n<div class=\\\\\\"tp-tab-image\\\\\\"><\\/div>"}',
|
||||
'css' => '{"arrows":".hesperiden.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##bg-color##);\\n\\twidth:##bg-size##px;\\n\\theight:##bg-size##px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius: 50%;\\n}\\n.hesperiden.tparrows:hover {\\n\\tbackground:rgba(##hover-bg-color##);\\n}\\n.hesperiden.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:##arrow-size##px;\\n\\tcolor:rgb(##arrow-color##);\\n\\tdisplay:block;\\n\\tline-height: ##bg-size##px;\\n\\ttext-align: center;\\n}\\n.hesperiden.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e82c\\\\\\";\\n margin-left:-3px;\\n}\\n.hesperiden.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e82d\\\\\\";\\n margin-right:-3px;\\n}","bullets":".hesperiden.tp-bullets {\\n}\\n.hesperiden.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:8px;\\n \\n}\\n.hesperiden .tp-bullet {\\n\\twidth:##bullet-size##px;\\n\\theight:##bullet-size##px;\\n\\tposition:absolute;\\n\\tbackground: rgb(##bullet-bg-top##); \\/* old browsers *\\/\\n background: -moz-linear-gradient(top, rgb(##bullet-bg-top##) 0%, rgb(##bullet-bg-bottom##) 100%); \\/* ff3.6+ *\\/\\n background: -webkit-linear-gradient(top, rgb(##bullet-bg-top##) 0%,rgb(##bullet-bg-bottom##) 100%); \\/* chrome10+,safari5.1+ *\\/\\n background: -o-linear-gradient(top, rgb(##bullet-bg-top##) 0%,rgb(##bullet-bg-bottom##) 100%); \\/* opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, rgb(##bullet-bg-top##) 0%,rgb(##bullet-bg-bottom##) 100%); \\/* ie10+ *\\/\\n background: linear-gradient(to bottom, rgb(##bullet-bg-top##) 0%,rgb(##bullet-bg-bottom##) 100%); \\/* w3c *\\/\\n filter: progid:dximagetransform.microsoft.gradient( \\n startcolorstr=\\\\\\"rgb(##bullet-bg-top##)\\\\\\", endcolorstr=\\\\\\"rgb(##bullet-bg-bottom##)\\\\\\",gradienttype=0 ); \\/* ie6-9 *\\/\\n\\tborder:##border-size##px solid rgb(##border-color##);\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.hesperiden .tp-bullet:hover,\\n.hesperiden .tp-bullet.selected {\\n\\tbackground:rgb(##hover-bullet-bg##);\\n}\\n.hesperiden .tp-bullet-image {\\n}\\n.hesperiden .tp-bullet-title {\\n}\\n","thumbs":".hesperiden .tp-thumb {\\n opacity:1;\\n -webkit-perspective: 600px;\\n perspective: 600px;\\n}\\n.hesperiden .tp-thumb .tp-thumb-title {\\n font-size:##title-font-size##px;\\n position:absolute;\\n margin-top:-10px;\\n color:rgba(##title-color##);\\n display:block;\\n z-index:1000;\\n background-color:rgba(##title-bg##);\\n padding:5px 10px; \\n bottom:0px;\\n left:0px;\\n width:100%;\\n box-sizing:border-box;\\n text-align:center;\\n overflow:hidden;\\n white-space:nowrap;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform:rotatex(90deg) translatez(0.001px);\\n transform-origin:50% 100%;\\n -webkit-transform:rotatex(90deg) translatez(0.001px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n }\\n.hesperiden .tp-thumb:hover .tp-thumb-title {\\n \\t transform:rotatex(0deg);\\n -webkit-transform:rotatex(0deg);\\n opacity:1;\\n}","tabs":".hesperiden .tp-tab { \\n opacity:1; \\n padding:10px;\\n box-sizing:border-box;\\n font-family: \\\\\\"##font-family##\\\\\\", sans-serif;\\n border-bottom: ##border-size##px solid rgba(##border-color##);\\n }\\n.hesperiden .tp-tab-image \\n{ \\n width:##image-size##px;\\n height:##image-size##px; max-height:100%; max-width:100%;\\n position:relative;\\n display:inline-block;\\n float:left;\\n\\n}\\n.hesperiden .tp-tab-content \\n{\\n background:rgba(##bgcolor##); \\n position:relative;\\n padding:15px 15px 15px 85px;\\n left:0px;\\n overflow:hidden;\\n margin-top:-15px;\\n box-sizing:border-box;\\n color:rgba(##contentcolor##);\\n display: inline-block;\\n width:100%;\\n height:100%;\\n position:absolute; }\\n.hesperiden .tp-tab-date\\n {\\n display:block;\\n color: rgba(##param1-color##);\\n font-weight:500;\\n font-size:##param1-size##px;\\n margin-bottom:0px;\\n }\\n.hesperiden .tp-tab-title \\n{\\n display:block;\\t\\n text-align:left\\t;\\n color:rgba(##param2-color##);\\n font-size:##param2-size##px;\\n font-weight:500;\\n text-transform:none;\\n line-height:17px;\\n}\\n.hesperiden .tp-tab:hover,\\n.hesperiden .tp-tab.selected {\\n\\tbackground:rgba(##hover-bg-color##); \\n}\\n\\n.hesperiden .tp-tab-mask {\\n}\\n\\n\\/* media queries *\\/\\n@media only screen and (max-width: 960px) {\\n\\n}\\n@media only screen and (max-width: 768px) {\\n\\n}"}',
|
||||
'settings' => '{"width":{"thumbs":"160","arrows":"160","bullets":"160","tabs":"250"},"height":{"thumbs":"160","arrows":"160","bullets":"160","tabs":"80"},"original":{"css":{"arrows":".hesperiden.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#000;\\n\\tbackground:rgba(0,0,0,0.5);\\n\\twidth:40px;\\n\\theight:40px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius: 50%;\\n}\\n.hesperiden.tparrows:hover {\\n\\tbackground:#000;\\n}\\n.hesperiden.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:20px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 40px;\\n\\ttext-align: center;\\n}\\n.hesperiden.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e82c\\\\\\";\\n margin-left:-3px;\\n}\\n.hesperiden.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e82d\\\\\\";\\n margin-right:-3px;\\n}","bullets":".hesperiden.tp-bullets {\\n}\\n.hesperiden.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:8px;\\n \\n}\\n.hesperiden .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground: #999999; \\/* old browsers *\\/\\n background: -moz-linear-gradient(top, #999999 0%, #e1e1e1 100%); \\/* ff3.6+ *\\/\\n background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), \\n color-stop(100%,#e1e1e1)); \\/* chrome,safari4+ *\\/\\n background: -webkit-linear-gradient(top, #999999 0%,#e1e1e1 100%); \\/* chrome10+,safari5.1+ *\\/\\n background: -o-linear-gradient(top, #999999 0%,#e1e1e1 100%); \\/* opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, #999999 0%,#e1e1e1 100%); \\/* ie10+ *\\/\\n background: linear-gradient(to bottom, #999999 0%,#e1e1e1 100%); \\/* w3c *\\/\\n filter: progid:dximagetransform.microsoft.gradient( \\n startcolorstr=\\\\\\"#999999\\\\\\", endcolorstr=\\\\\\"#e1e1e1\\\\\\",gradienttype=0 ); \\/* ie6-9 *\\/\\n\\tborder:3px solid #e5e5e5;\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.hesperiden .tp-bullet:hover,\\n.hesperiden .tp-bullet.selected {\\n\\tbackground:#666;\\n}\\n.hesperiden .tp-bullet-image {\\n}\\n.hesperiden .tp-bullet-title {\\n}\\n","thumbs":".hesperiden .tp-thumb {\\n opacity:1;\\n -webkit-perspective: 600px;\\n perspective: 600px;\\n}\\n.hesperiden .tp-thumb .tp-thumb-title {\\n font-size:12px;\\n position:absolute;\\n margin-top:-10px;\\n color:#fff;\\n display:block;\\n z-index:1000;\\n background-color:#000;\\n padding:5px 10px; \\n bottom:0px;\\n left:0px;\\n width:100%;\\n box-sizing:border-box;\\n text-align:center;\\n overflow:hidden;\\n white-space:nowrap;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform:rotatex(90deg) translatez(0.001px);\\n transform-origin:50% 100%;\\n -webkit-transform:rotatex(90deg) translatez(0.001px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n }\\n.hesperiden .tp-thumb:hover .tp-thumb-title {\\n \\t transform:rotatex(0deg);\\n -webkit-transform:rotatex(0deg);\\n opacity:1;\\n}","tabs":".hesperiden .tp-tab { \\n opacity:1; \\n padding:10px;\\n box-sizing:border-box;\\n font-family: \\\\\\"Roboto\\\\\\", sans-serif;\\n border-bottom: 1px solid #e5e5e5;\\n }\\n.hesperiden .tp-tab-image \\n{ \\n width:60px;\\n height:60px; max-height:100%; max-width:100%;\\n position:relative;\\n display:inline-block;\\n float:left;\\n\\n}\\n.hesperiden .tp-tab-content \\n{\\n background:rgba(0,0,0,0); \\n position:relative;\\n padding:15px 15px 15px 85px;\\n left:0px;\\n overflow:hidden;\\n margin-top:-15px;\\n box-sizing:border-box;\\n color:#333;\\n display: inline-block;\\n width:100%;\\n height:100%;\\n position:absolute; }\\n.hesperiden .tp-tab-date\\n {\\n display:block;\\n color: #aaa;\\n font-weight:500;\\n font-size:12px;\\n margin-bottom:0px;\\n }\\n.hesperiden .tp-tab-title \\n{\\n display:block;\\t\\n text-align:left;\\n color:#333;\\n font-size:14px;\\n font-weight:500;\\n text-transform:none;\\n line-height:17px;\\n}\\n.hesperiden .tp-tab:hover,\\n.hesperiden .tp-tab.selected {\\n\\tbackground:#eee; \\n}\\n\\n.hesperiden .tp-tab-mask {\\n}\\n\\n\\/* MEDIA QUERIES *\\/\\n@media only screen and (max-width: 960px) {\\n\\n}\\n@media only screen and (max-width: 768px) {\\n\\n}"},"markup":{"arrows":"","bullets":"","thumbs":"<span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-title\\\\\\">{{title}}<\\/span>","tabs":"<div class=\\\\\\"tp-tab-content\\\\\\">\\n <span class=\\\\\\"tp-tab-date\\\\\\">{{param1}}<\\/span>\\n <span class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/span>\\n<\\/div>\\n<div class=\\\\\\"tp-tab-image\\\\\\"><\\/div>"}},"placeholders":[{"title":"B
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5001,
|
||||
'default' => true,
|
||||
'name' => 'Gyges',
|
||||
'handle' => 'navbar',
|
||||
'markup' => '{"arrows":"","bullets":"","tabs":"<div class=\\\\\\"tp-tab-content\\\\\\">\\n <span class=\\\\\\"tp-tab-date\\\\\\">{{param1}}<\\/span>\\n <span class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/span>\\n<\\/div>\\n<div class=\\\\\\"tp-tab-image\\\\\\"><\\/div>","thumbs":"<span class=\\\\\\"tp-thumb-img-wrap\\\\\\">\\n <span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<\\/span>\\n"}',
|
||||
'css' => '{"arrows":"","bullets":".gyges.tp-bullets {\\n}\\n.gyges.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n background: -moz-linear-gradient(top, rgba(##bgtop##) 0%, rgba(##bgbottom##) 100%); \\n background: -webkit-linear-gradient(top, rgba(##bgtop##) 0%,rgba(##bgbottom##) 100%); \\n background: -o-linear-gradient(top, rgba(##bgtop##) 0%,rgba(##bgbottom##) 100%); \\n background: -ms-linear-gradient(top, rgba(##bgtop##) 0%,rgba(##bgbottom##) 100%); \\n background: linear-gradient(to bottom, rgba(##bgtop##) 0%, rgba(##bgbottom##) 100%); \\n filter: progid:dximagetransform.microsoft.gradient( startcolorstr=\\\\\\"rgba(##bgtop##)\\\\\\", \\n endcolorstr=\\\\\\"rgba(##bgbottom##)\\\\\\",gradienttype=0 ); \\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:10px;\\n}\\n.gyges .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground:rgba(##bulletbg##);\\n\\tborder:3px solid rgba(##bordercolor##);\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.gyges .tp-bullet:hover,\\n.gyges .tp-bullet.selected {\\n\\n background: -moz-linear-gradient(top, rgba(##hbgtop##) 0%, rgba(##hbgbottom##) 100%); \\/* ff3.6+ *\\/\\n background: -webkit-linear-gradient(top, rgba(##hbgtop##) 0%,rgba(##hbgbottom##) 100%); \\/* chrome10+,safari5.1+ *\\/\\n background: -o-linear-gradient(top, rgba(##hbgtop##) 0%,rgba(##hbgbottom##) 100%); \\/* opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, rgba(##hbgtop##) 0%,rgba(##hbgbottom##) 100%); \\/* ie10+ *\\/\\n background: linear-gradient(to bottom, rgba(##hbgtop##) 0%,rgba(##hbgbottom##) 100%); \\/* w3c *\\/\\n filter: progid:dximagetransform.microsoft.gradient( startcolorstr=\\\\\\"rgba(##hbgtop##)\\\\\\", \\n endcolorstr=\\\\\\"rgba(##hbgbottom##)\\\\\\",gradienttype=0 ); \\/* ie6-9 *\\/\\n\\n}\\n.gyges .tp-bullet-image {\\n}\\n.gyges .tp-bullet-title {\\n}\\n\\t","tabs":".gyges .tp-tab { \\n opacity:1; \\n padding:10px;\\n box-sizing:border-box;\\n font-family: \\\\\\"roboto\\\\\\", sans-serif;\\n border-bottom: 1px solid rgba(##borderc##);\\n }\\n.gyges .tp-tab-image \\n{ \\n width:##size##px;\\n height:##size##px; \\n max-height:100%; \\n max-width:100%;\\n position:relative;\\n display:inline-block;\\n float:left;\\n\\n}\\n.gyges .tp-tab-content \\n{\\n background:rgba(##bg##); \\n position:relative;\\n padding:15px 15px 15px 85px;\\n left:0px;\\n overflow:hidden;\\n margin-top:-15px;\\n box-sizing:border-box;\\n color:rgba(##color##);\\n display: inline-block;\\n width:100%;\\n height:100%;\\n position:absolute; }\\n.gyges .tp-tab-date\\n {\\n display:block;\\n color: rgba(##datecolor##);\\n font-weight:500;\\n font-size:##datesize##px;\\n margin-bottom:0px;\\n }\\n.gyges .tp-tab-title \\n{\\n display:block; \\n text-align:left;\\n color:rgba(##titlecolor##);\\n font-size:##titlesize##px;\\n font-weight:500;\\n text-transform:none;\\n line-height:17px;\\n}\\n.gyges .tp-tab:hover,\\n.gyges .tp-tab.selected {\\n background:rgba(##hbg##); \\n}\\n\\n.gyges .tp-tab-mask {\\n}\\n\\n\\/* media queries *\\/\\n@media only screen and (max-width: 960px) {\\n\\n}\\n@media only screen and (max-width: 768px) {\\n\\n}","thumbs":".gyges .tp-thumb { \\n opacity:1\\n }\\n.gyges .tp-thumb-img-wrap {\\n padding:3px;\\n background-color:rgba(##bg##);\\n display:inline-block;\\n\\n width:100%;\\n height:100%;\\n position:relative;\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.gyges .tp-thumb-image {\\n padding:3px; \\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(##bg##);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(##bg##);\\n box-shadow: inset 5px 5px 10px 0px rgba(##bg##);\\n } \\n\\n.gyges .tp-thumb:hover .tp-thumb-img-wrap,\\n .gyges .tp-thumb.selected .tp-thumb-img-wrap {\\n background: -moz-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(##hovercolor##)), color-stop(100%, rgba(##hbgb##)));\\nbackground: -webkit-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -o-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -ms-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: linear-gradient(to bottom, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\n\\n}\\n\\n"}',
|
||||
'settings' => '{"width":{"thumbs":"70","arrows":"160","bullets":"160","tabs":"300"},"height":{"thumbs":"70","arrows":"160","bullets":"160","tabs":"80"},"original":{"css":{"arrows":"","bullets":".gyges.tp-bullets {\\n}\\n.gyges.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground: #777777; \\/* Old browsers *\\/\\n background: -moz-linear-gradient(top, #777777 0%, #666666 100%); \\n background: -webkit-gradient(linear, left top, left bottom, \\n color-stop(0%,#777777), color-stop(100%,#666666)); \\n background: -webkit-linear-gradient(top, #777777 0%,#666666 100%); \\n background: -o-linear-gradient(top, #777777 0%,#666666 100%); \\n background: -ms-linear-gradient(top, #777777 0%,#666666 100%); \\n background: linear-gradient(to bottom, #777777 0%,#666666 100%); \\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\\\\\\"#777777\\\\\\", \\n endColorstr=\\\\\\"#666666\\\\\\",GradientType=0 ); \\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:10px;\\n}\\n.gyges .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground:#333;\\n\\tborder:3px solid #444;\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.gyges .tp-bullet:hover,\\n.gyges .tp-bullet.selected {\\n\\tbackground: #ffffff; \\/* Old browsers *\\/\\n background: -moz-linear-gradient(top, #ffffff 0%, #e1e1e1 100%); \\/* FF3.6+ *\\/\\n background: -webkit-gradient(linear, left top, left bottom, \\n color-stop(0%,#ffffff), color-stop(100%,#e1e1e1)); \\/* Chrome,Safari4+ *\\/\\n background: -webkit-linear-gradient(top, #ffffff 0%,#e1e1e1 100%); \\/* Chrome10+,Safari5.1+ *\\/\\n background: -o-linear-gradient(top, #ffffff 0%,#e1e1e1 100%); \\/* Opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, #ffffff 0%,#e1e1e1 100%); \\/* IE10+ *\\/\\n background: linear-gradient(to bottom, #ffffff 0%,#e1e1e1 100%); \\/* W3C *\\/\\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\\\\\\"#ffffff\\\\\\", \\n endColorstr=\\\\\\"#e1e1e1\\\\\\",GradientType=0 ); \\/* IE6-9 *\\/\\n\\n}\\n.gyges .tp-bullet-image {\\n}\\n.gyges .tp-bullet-title {\\n}\\n\\t","tabs":".gyges .tp-tab { \\n opacity:1; \\n padding:10px;\\n box-sizing:border-box;\\n font-family: \\\\\\"Roboto\\\\\\", sans-serif;\\n border-bottom: 1px solid rgba(255,255,255,0.15);\\n }\\n.gyges .tp-tab-image \\n{ \\n width:60px;\\n height:60px; max-height:100%; max-width:100%;\\n position:relative;\\n display:inline-block;\\n float:left;\\n\\n}\\n.gyges .tp-tab-content \\n{\\n background:rgba(0,0,0,0); \\n position:relative;\\n padding:15px 15px 15px 85px;\\n left:0px;\\n overflow:hidden;\\n margin-top:-15px;\\n box-sizing:border-box;\\n color:#333;\\n display: inline-block;\\n width:100%;\\n height:100%;\\n position:absolute; }\\n.gyges .tp-tab-date\\n {\\n display:block;\\n color: rgba(255,255,255,0.25);\\n font-weight:500;\\n font-size:12px;\\n margin-bottom:0px;\\n }\\n.gyges .tp-tab-title \\n{\\n display:block; \\n text-align:left;\\n color:#fff;\\n font-size:14px;\\n font-weight:500;\\n text-transform:none;\\n line-height:17px;\\n}\\n.gyges .tp-tab:hover,\\n.gyges .tp-tab.selected {\\n background:rgba(0,0,0,0.5); \\n}\\n\\n.gyges .tp-tab-mask {\\n}\\n\\n\\/* MEDIA QUERIES *\\/\\n@media only screen and (max-width: 960px) {\\n\\n}\\n@media only screen and (max-width: 768px) {\\n\\n}","thumbs":".gyges .tp-thumb { \\n opacity:1\\n }\\n.gyges .tp-thumb-img-wrap {\\n padding:3px;\\n background:#000;\\n background-color:rgba(0,0,0,0.25);\\n display:inline-block;\\n\\n width:100%;\\n height:100%;\\n position:relative;\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.gyges .tp-thumb-image {\\n padding:3px; \\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n } \\n.gyges .tp-thumb-title { \\n position:absolute; \\n bottom:100%; \\n display:inline-block;\\n left:50%;\\n background:rgba(255,255,255,0.8);\\n padding:10px 30px;\\n border-radius:4px;\\n\\t -webkit-border-radius:4px;\\n margin-bottom:20px;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n transform-origin:50% 100%;\\n -webkit-transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n -webkit-transform-origin:50% 100%;\\n white-space:nowrap;\\n }\\n.gyges .tp-thumb:hover .tp-thumb-title {\\n \\t transform:rotateX(0deg) translateX(-50%);\\n -webkit-transfo
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5002,
|
||||
'default' => true,
|
||||
'name' => 'Hades',
|
||||
'handle' => 'preview1',
|
||||
'markup' => '{"arrows":"<div class=\\\\\\"tp-arr-allwrapper\\\\\\">\\n\\t<div class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/div>\\n<\\/div>","bullets":"<span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>","tabs":"<div class=\\\\\\"tp-tab-inner\\\\\\">\\n <span class=\\\\\\"tp-tab-title\\\\\\">{{param1}}<\\/span>\\n <span class=\\\\\\"tp-tab-price\\\\\\">{{param2}}<\\/span>\\n <span class=\\\\\\"tp-tab-button\\\\\\">{{param3}}<\\/span>\\n<\\/div>","thumbs":"<span class=\\\\\\"tp-thumb-img-wrap\\\\\\">\\n <span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<\\/span>\\n"}',
|
||||
'css' => '{"arrows":".hades.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##bg##);\\n\\twidth:100px;\\n\\theight:100px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n}\\n\\n.hades.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:30px;\\n\\tcolor:rgba(##acolor##);\\n\\tdisplay:block;\\n\\tline-height: 100px;\\n\\ttext-align: center;\\n transition: background 0.3s, color 0.3s;\\n}\\n.hades.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e824\\\\\\";\\n}\\n.hades.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e825\\\\\\";\\n}\\n\\n.hades.tparrows:hover:before {\\n color:rgba(##harrow##);\\n background:rgba(##hbg##);\\n }\\n.hades .tp-arr-allwrapper {\\n position:absolute;\\n left:100%;\\n top:0px;\\n background:#888; \\n width:100px;height:100px;\\n -webkit-transition: all 0.3s;\\n transition: all 0.3s;\\n -ms-filter: \\\\\\"progid:dximagetransform.microsoft.alpha(opacity=0)\\\\\\";\\n filter: alpha(opacity=0);\\n -moz-opacity: 0.0;\\n -khtml-opacity: 0.0;\\n opacity: 0.0;\\n -webkit-transform: rotatey(-90deg);\\n transform: rotatey(-90deg);\\n -webkit-transform-origin: 0% 50%;\\n transform-origin: 0% 50%;\\n}\\n.hades.tp-rightarrow .tp-arr-allwrapper {\\n left:auto;\\n right:100%;\\n -webkit-transform-origin: 100% 50%;\\n transform-origin: 100% 50%;\\n -webkit-transform: rotatey(90deg);\\n transform: rotatey(90deg);\\n}\\n\\n.hades:hover .tp-arr-allwrapper {\\n -ms-filter: \\\\\\"progid:dximagetransform.microsoft.alpha(opacity=100)\\\\\\";\\n filter: alpha(opacity=100);\\n -moz-opacity: 1;\\n -khtml-opacity: 1;\\n opacity: 1; \\n -webkit-transform: rotatey(0deg);\\n transform: rotatey(0deg);\\n\\n }\\n \\n.hades .tp-arr-iwrapper {\\n}\\n.hades .tp-arr-imgholder {\\n background-size:cover;\\n position:absolute;\\n top:0px;left:0px;\\n width:100%;height:100%;\\n}\\n.hades .tp-arr-titleholder {\\n}\\n.hades .tp-arr-subtitleholder {\\n}\\n","bullets":".hades.tp-bullets {\\n}\\n.hades.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.hades .tp-bullet {\\n\\twidth:##innersize##px;\\n\\theight:##innersize##px;\\n\\tposition:absolute;\\n\\tbackground:rgba(##colorinner##);\\n\\tcursor: pointer;\\n border:##outersize##px solid rgba(##outercolor##);\\n\\tbox-sizing:content-box;\\n box-shadow:0px 0px 3px 1px rgba(0,0,0,0.2);\\n -webkit-perspective:400;\\n perspective:400;\\n -webkit-transform:translatez(0.01px);\\n transform:translatez(0.01px);\\n}\\n.hades .tp-bullet:hover,\\n.hades .tp-bullet.selected {\\n\\tbackground:rgba(##innerhover##);\\n border-color:rgba(##outerhover##);\\n}\\n\\n.hades .tp-bullet-image {\\n position:absolute;\\n top:##voffset##px; \\n left:##hoffset##;\\n width:##width##px;\\n height:##height##px;\\n background-position:center center;\\n background-size:cover;\\n visibility:hidden;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transform-style:flat;\\n transform-style:flat;\\n perspective:600;\\n -webkit-perspective:600;\\n transform: rotatex(-90deg) translatex(-50%);\\n -webkit-transform: rotatex(-90deg) translate(-50%);\\n box-shadow:0px 0px 3px 1px rgba(0,0,0,0.2);\\n transform-origin:50% 100%;\\n -webkit-transform-origin:50% 100%;\\n \\n \\n}\\n.hades .tp-bullet:hover .tp-bullet-image {\\n display:block;\\n opacity:1;\\n transform: rotatex(0deg) translatex(-50%);\\n -webkit-transform: rotatex(0deg) translatex(-50%);\\n visibility:visible;\\n }\\n.hades .tp-bullet-title {\\n}\\n","tabs":".hades .tp-tab {\\n opacity:1;\\n }\\n \\n.hades .tp-tab-title\\n {\\n display:block;\\n color:rgba(##param1##);\\n font-weight:600;\\n font-size:##param1size##px;\\n text-align:center;\\n line-height:25px; \\n } \\n.hades .tp-tab-price\\n {\\n\\tdisplay:block;\\n text-align:center;\\n color:rgba(##param2##);\\n font-size:##p2size##px;\\n margin-top:10px;\\n line-height:20px\\n}\\n\\n.hades .tp-tab-button {\\n display:inline-block;\\n margin-top:15px;\\n text-align:center;\\n\\tpadding:5px 15px;\\n \\tcolor:rgba(##p3##);\\n \\tfont-size:##p3size##px;\\n \\tbackground:rgba(##p3bg##);\\n \\tborder-radius:4px;\\n font-weight:400;\\n}\\n.hades .tp-tab-inner {\\n\\ttext-align:center;\\n}\\n\\n ","thumbs":".hades .tp-thumb { \\n opacity:1\\n }\\n.hades .tp-thumb-img-wrap {\\n border-radius:##radius##;\\n padding:##border##px;\\n display:inline-block;\\n background-color:rgba(##bg##);\\n width:100%;\\n height:100%;\\n position:relative;\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.hades .tp-thumb-image {\\n padding:##border##px; \\n border-radius:##radius##;\\n display:block;\\n box-sizin
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"70","arrows":"160","bullets":"160","tabs":"160"},"height":{"thumbs":"70","arrows":"160","bullets":"160","tabs":"160"},"original":{"css":{"arrows":".hades.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#000;\\n\\tbackground:rgba(0,0,0,0.15);\\n\\twidth:100px;\\n\\theight:100px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n}\\n\\n.hades.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:30px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 100px;\\n\\ttext-align: center;\\n transition: background 0.3s, color 0.3s;\\n}\\n.hades.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.hades.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n\\n.hades.tparrows:hover:before {\\n color:#aaa;\\n background:#fff;\\n background:rgba(255,255,255,1);\\n }\\n.hades .tp-arr-allwrapper {\\n position:absolute;\\n left:100%;\\n top:0px;\\n background:#888; \\n width:100px;height:100px;\\n -webkit-transition: all 0.3s;\\n transition: all 0.3s;\\n -ms-filter: \\\\\\"progid:dximagetransform.microsoft.alpha(opacity=0)\\\\\\";\\n filter: alpha(opacity=0);\\n -moz-opacity: 0.0;\\n -khtml-opacity: 0.0;\\n opacity: 0.0;\\n -webkit-transform: rotatey(-90deg);\\n transform: rotatey(-90deg);\\n -webkit-transform-origin: 0% 50%;\\n transform-origin: 0% 50%;\\n}\\n.hades.tp-rightarrow .tp-arr-allwrapper {\\n left:auto;\\n right:100%;\\n -webkit-transform-origin: 100% 50%;\\n transform-origin: 100% 50%;\\n -webkit-transform: rotatey(90deg);\\n transform: rotatey(90deg);\\n}\\n\\n.hades:hover .tp-arr-allwrapper {\\n -ms-filter: \\\\\\"progid:dximagetransform.microsoft.alpha(opacity=100)\\\\\\";\\n filter: alpha(opacity=100);\\n -moz-opacity: 1;\\n -khtml-opacity: 1;\\n opacity: 1; \\n -webkit-transform: rotatey(0deg);\\n transform: rotatey(0deg);\\n\\n }\\n \\n.hades .tp-arr-iwrapper {\\n}\\n.hades .tp-arr-imgholder {\\n background-size:cover;\\n position:absolute;\\n top:0px;left:0px;\\n width:100%;height:100%;\\n}\\n.hades .tp-arr-titleholder {\\n}\\n.hades .tp-arr-subtitleholder {\\n}\\n","bullets":".hades.tp-bullets {\\n}\\n.hades.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.hades .tp-bullet {\\n\\twidth:3px;\\n\\theight:3px;\\n\\tposition:absolute;\\n\\tbackground:#888;\\t\\n\\tcursor: pointer;\\n border:5px solid #fff;\\n\\tbox-sizing:content-box;\\n box-shadow:0px 0px 3px 1px rgba(0,0,0,0.2);\\n -webkit-perspective:400;\\n perspective:400;\\n -webkit-transform:translatez(0.01px);\\n transform:translatez(0.01px);\\n}\\n.hades .tp-bullet:hover,\\n.hades .tp-bullet.selected {\\n\\tbackground:#555;\\n \\n}\\n\\n.hades .tp-bullet-image {\\n position:absolute;top:-80px; left:-60px;width:120px;height:60px;\\n background-position:center center;\\n background-size:cover;\\n visibility:hidden;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transform-style:flat;\\n transform-style:flat;\\n perspective:600;\\n -webkit-perspective:600;\\n transform: rotatex(-90deg);\\n -webkit-transform: rotatex(-90deg);\\n box-shadow:0px 0px 3px 1px rgba(0,0,0,0.2);\\n transform-origin:50% 100%;\\n -webkit-transform-origin:50% 100%;\\n \\n \\n}\\n.hades .tp-bullet:hover .tp-bullet-image {\\n display:block;\\n opacity:1;\\n transform: rotatex(0deg);\\n -webkit-transform: rotatex(0deg);\\n visibility:visible;\\n }\\n.hades .tp-bullet-title {\\n}\\n","tabs":".hades .tp-tab {\\n opacity:1;\\n }\\n \\n.hades .tp-tab-title\\n {\\n display:block;\\n color:#333;\\n font-weight:600;\\n font-size:18px;\\n text-align:center;\\n line-height:25px; \\n } \\n.hades .tp-tab-price\\n {\\n\\tdisplay:block;\\n text-align:center;\\n color:#999;\\n font-size:16px;\\n margin-top:10px;\\n line-height:20px\\n}\\n\\n.hades .tp-tab-button {\\n display:inline-block;\\n margin-top:15px;\\n text-align:center;\\n\\tpadding:5px 15px;\\n \\tcolor:#fff;\\n \\tfont-size:14px;\\n \\tbackground:#219bd7;\\n \\tborder-radius:4px;\\n font-weight:400;\\n}\\n.hades .tp-tab-inner {\\n\\ttext-align:center;\\n}\\n\\n ","thumbs":".hades .tp-thumb { \\n opacity:1\\n }\\n.hades .tp-thumb-img-wrap {\\n border-radius:50%;\\n padding:3px;\\n display:inline-block;\\nbackground:#000;\\n background-color:rgba(0,0,0,0.25);\\n width:100%;\\n height:100%;\\n position:relative;\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.hades .tp-thumb-image {\\n padding:3px; \\n border-radius:50%;\\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-b
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5003,
|
||||
'default' => true,
|
||||
'name' => 'Ares',
|
||||
'handle' => 'preview2',
|
||||
'markup' => '{"arrows":"<div class=\\\\\\"tp-title-wrap\\\\\\">\\n\\t<span class=\\\\\\"tp-arr-titleholder\\\\\\">{{title}}<\\/span>\\n <\\/div>\\n","bullets":"<span class=\\\\\\"tp-bullet-title\\\\\\">{{title}}<\\/span>","tabs":"<div class=\\\\\\"tp-tab-content\\\\\\">\\n <span class=\\\\\\"tp-tab-date\\\\\\">{{param1}}<\\/span>\\n <span class=\\\\\\"tp-tab-title\\\\\\">{{param2}}<\\/span>\\n<\\/div>\\n<div class=\\\\\\"tp-tab-image\\\\\\"><\\/div>"}',
|
||||
'css' => '{"arrows":".ares.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##bg-color##);\\n\\tmin-width:##bg-size##px;\\n min-height:##bg-size##px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius:50%;\\n}\\n.ares.tparrows:hover {\\n}\\n.ares.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:##arrow-size##px;\\n\\tcolor:rgba(##arrowcolor##);\\n\\tdisplay:block;\\n\\tline-height: ##bg-size##px;\\n\\ttext-align: center;\\n -webkit-transition: color 0.3s;\\n -moz-transition: color 0.3s;\\n transition: color 0.3s;\\n z-index:2;\\n position:relative;\\n}\\n.ares.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e81f\\\\\\";\\n}\\n.ares.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e81e\\\\\\";\\n}\\n.ares.tparrows:hover:before {\\n color:rgb(##hover-arrow-color##);\\n }\\n.tp-title-wrap { \\n position:absolute;\\n z-index:1;\\n display:inline-block;\\n background:rgba(##bg-color##);\\n min-height:##bg-size##px;\\n line-height:##bg-size##px;\\n top:0px;\\n margin-left:30px;\\n border-radius:0px 30px 30px 0px;\\n overflow:hidden;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:scalex(0); \\n -webkit-transform:scalex(0); \\n transform-origin:0% 50%; \\n -webkit-transform-origin:0% 50%;\\n}\\n .ares.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n margin-right:30px;margin-left:0px;\\n -webkit-transform-origin:100% 50%;\\nborder-radius:30px 0px 0px 30px;\\n }\\n.ares.tparrows:hover .tp-title-wrap {\\n\\ttransform:scalex(1) scaley(1);\\n \\t-webkit-transform:scalex(1) scaley(1);\\n}\\n.ares .tp-arr-titleholder {\\n position:relative;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:translatex(200px); \\n text-transform:uppercase;\\n color:rgb(##hover-title-color##);\\n font-weight:400;\\n font-size:14px;\\n line-height:60px;\\n white-space:nowrap;\\n padding:0px 20px;\\n margin-left:10px;\\n opacity:0;\\n}\\n\\n.ares.tp-rightarrow .tp-arr-titleholder {\\n transform:translatex(-200px); \\n margin-left:0px; margin-right:10px;\\n }\\n\\n.ares.tparrows:hover .tp-arr-titleholder {\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}","bullets":".ares.tp-bullets {\\n}\\n.ares.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.ares .tp-bullet {\\n\\twidth:##bullet-size##px;\\n\\theight:##bullet-size##px;\\n\\tposition:absolute;\\n\\tbackground:rgba(##bullet-bg-color##);\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.ares .tp-bullet:hover,\\n.ares .tp-bullet.selected {\\n\\tbackground:rgba(##hover-bullet-bg-color##);\\n}\\n.ares .tp-bullet-title {\\n position:absolute;\\n color:##title-color##;\\n font-size:##title-font-size##px;\\n padding:0px 10px;\\n font-weight:600;\\n right:27px;\\n top:-4px; \\n background:rgba(##title-bg-color##);\\n visibility:hidden;\\n transform:translatex(-20px);\\n -webkit-transform:translatex(-20px);\\n transition:transform 0.3s;\\n -webkit-transition:transform 0.3s;\\n line-height:20px;\\n white-space:nowrap;\\n} \\n\\n.ares .tp-bullet-title:after {\\n width: 0px;\\n\\theight: 0px;\\n\\tborder-style: solid;\\n\\tborder-width: 10px 0 10px 10px;\\n\\tborder-color: transparent transparent transparent rgba(##title-bg-color##);\\n\\tcontent:\\\\\\" \\\\\\";\\n position:absolute;\\n right:-10px;\\n\\ttop:0px;\\n}\\n \\n.ares .tp-bullet:hover .tp-bullet-title{\\n visibility:visible;\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px);\\n}\\n\\n.ares .tp-bullet.selected:hover .tp-bullet-title {\\n background:rgba(##hover-bullet-bg-color##);}\\n.ares .tp-bullet.selected:hover .tp-bullet-title:after {\\n border-color:transparent transparent transparent rgba(##hover-bullet-bg-color##);\\n}\\n.ares.tp-bullets:hover .tp-bullet-title {\\n visibility:hidden;\\n \\n}\\n.ares.tp-bullets:hover .tp-bullet:hover .tp-bullet-title {\\n visibility:visible;\\n transform:translateX(0px) translatey(0px);\\n -webkit-transform:translateX(0px) translatey(0px);\\n}\\n\\n\\n\\/* VERTICAL *\\/\\n.ares.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title { right:auto; left:27px; transform:translatex(20px); -webkit-transform:translatex(20px);} \\n.ares.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title:after { \\n border-width: 10px 10px 10px 0 !important;\\n border-color: transparent rgba(##title-bg-color##) transparent transparent;\\n right:auto !important;\\n left:-10px !important; \\n}\\n.ares.nav-dir-vertical.nav-pos-hor-left .tp-bullet.selected:hover .tp-bullet-title:after {\\n border-color: transparent rgba(##hover-bullet-bg-colo
Line truncated
|
||||
'settings' => '{"width":{"tabs":"250"},"height":{"tabs":"80"},"original":{"css":{"arrows":".ares.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#fff;\\n\\tmin-width:60px;\\n min-height:60px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius:50%;\\n}\\n.ares.tparrows:hover {\\n}\\n.ares.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:25px;\\n\\tcolor:#aaa;\\n\\tdisplay:block;\\n\\tline-height: 60px;\\n\\ttext-align: center;\\n -webkit-transition: color 0.3s;\\n -moz-transition: color 0.3s;\\n transition: color 0.3s;\\n z-index:2;\\n position:relative;\\n}\\n.ares.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e81f\\\\\\";\\n}\\n.ares.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e81e\\\\\\";\\n}\\n.ares.tparrows:hover:before {\\n color:#000;\\n }\\n.tp-title-wrap { \\n position:absolute;\\n z-index:1;\\n display:inline-block;\\n background:#fff;\\n min-height:60px;\\n line-height:60px;\\n top:0px;\\n margin-left:30px;\\n border-radius:0px 30px 30px 0px;\\n overflow:hidden;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:scaleX(0); \\n -webkit-transform:scaleX(0); \\n transform-origin:0% 50%; \\n -webkit-transform-origin:0% 50%;\\n}\\n .ares.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n margin-right:30px;margin-left:0px;\\n -webkit-transform-origin:100% 50%;\\nborder-radius:30px 0px 0px 30px;\\n }\\n.ares.tparrows:hover .tp-title-wrap {\\n\\ttransform:scaleX(1) scaleY(1);\\n \\t-webkit-transform:scaleX(1) scaleY(1);\\n}\\n.ares .tp-arr-titleholder {\\n position:relative;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:translateX(200px); \\n text-transform:uppercase;\\n color:#000;\\n font-weight:400;\\n font-size:14px;\\n line-height:60px;\\n white-space:nowrap;\\n padding:0px 20px;\\n margin-left:10px;\\n opacity:0;\\n}\\n\\n.ares.tp-rightarrow .tp-arr-titleholder {\\n transform:translateX(-200px); \\n margin-left:0px; margin-right:10px;\\n }\\n\\n.ares.tparrows:hover .tp-arr-titleholder {\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}","bullets":".ares.tp-bullets {\\n}\\n.ares.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.ares .tp-bullet {\\n\\twidth:13px;\\n\\theight:13px;\\n\\tposition:absolute;\\n\\tbackground:#e5e5e5;\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.ares .tp-bullet:hover,\\n.ares .tp-bullet.selected {\\n\\tbackground:#fff;\\n}\\n.ares .tp-bullet-title {\\n position:absolute;\\n color:#888;\\n font-size:12px;\\n padding:0px 10px;\\n font-weight:600;\\n right:27px;\\n top:-4px;\\n background:#fff;\\n background:rgba(255,255,255,0.75);\\n visibility:hidden;\\n transform:translateX(-20px);\\n -webkit-transform:translateX(-20px);\\n transition:transform 0.3s;\\n -webkit-transition:transform 0.3s;\\n line-height:20px;\\n white-space:nowrap;\\n} \\n\\n.ares .tp-bullet-title:after {\\n width: 0px;\\n\\theight: 0px;\\n\\tborder-style: solid;\\n\\tborder-width: 10px 0 10px 10px;\\n\\tborder-color: transparent transparent transparent rgba(255,255,255,0.75);\\n\\tcontent:\\\\\\" \\\\\\";\\n position:absolute;\\n right:-10px;\\n\\ttop:0px;\\n}\\n \\n.ares .tp-bullet:hover .tp-bullet-title{\\n visibility:visible;\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px);\\n}\\n\\n.ares .tp-bullet.selected:hover .tp-bullet-title {\\n background:#fff;\\n }\\n.ares .tp-bullet.selected:hover .tp-bullet-title:after {\\n border-color:transparent transparent transparent #fff;\\n}\\n.ares.tp-bullets:hover .tp-bullet-title {\\n visibility:hidden;\\n}\\n.ares.tp-bullets:hover .tp-bullet:hover .tp-bullet-title {\\n visibility:visible;\\n }","tabs":".ares .tp-tab { \\n opacity:1; \\n padding:10px;\\n box-sizing:border-box;\\n font-family: \\\\\\"Roboto\\\\\\", sans-serif;\\n border-bottom: 1px solid #e5e5e5;\\n }\\n.ares .tp-tab-image \\n{ \\n width:60px;\\n height:60px; max-height:100%; max-width:100%;\\n position:relative;\\n display:inline-block;\\n float:left;\\n\\n}\\n.ares .tp-tab-content \\n{\\n background:rgba(0,0,0,0); \\n position:relative;\\n padding:15px 15px 15px 85px;\\n left:0px;\\n overflow:hidden;\\n margin-top:-15px;\\n box-sizing:border-box;\\n color:#333;\\n display: inline-block;\\n width:100%;\\n height:100%;\\n position:absolute; }\\n.ares .tp-tab-date\\n {\\n display:block;\\n color: #aaa;\\n font-weight:500;\\n font-size:12px;\\n margin-bottom:0px;\\n }\\n.ares .tp-tab-title \\n{\\n display:block;\\t\\n text-align:left;\\n color
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5004,
|
||||
'default' => true,
|
||||
'name' => 'Hebe',
|
||||
'handle' => 'preview3',
|
||||
'markup' => '{"arrows":"<div class=\\\\\\"tp-title-wrap\\\\\\">\\n\\t<span class=\\\\\\"tp-arr-titleholder\\\\\\">{{title}}<\\/span>\\n <span class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/span>\\n <\\/div>\\n","bullets":"<span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>","tabs":"<div class=\\\\\\"tp-tab-title\\\\\\">{{param1}}<\\/div>\\n<div class=\\\\\\"tp-tab-desc\\\\\\">{{title}}<\\/div>"}',
|
||||
'css' => '{"arrows":".hebe.tparrows {\\n cursor:pointer;\\n background:rgba(##back-color##);\\n min-width:##back-size##px;\\n min-height:##back-size##px;\\n position:absolute;\\n display:block;\\n z-index:100;\\n}\\n.hebe.tparrows:hover {\\n}\\n.hebe.tparrows:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:##arrow-size##px;\\n color:rgba(##arrow-color##);\\n display:block;\\n line-height: ##back-size##px;\\n text-align: center;\\n -webkit-transition: color 0.3s;\\n -moz-transition: color 0.3s;\\n transition: color 0.3s;\\n z-index:2;\\n position:relative;\\n background:rgba(##back-color##);\\n min-width:##back-size##px;\\n min-height:##back-size##px;\\n}\\n.hebe.tparrows.tp-leftarrow:before {\\n content: \\\\\\"\\\\\\\e824\\\\\\";\\n}\\n.hebe.tparrows.tp-rightarrow:before {\\n content: \\\\\\"\\\\\\\e825\\\\\\";\\n}\\n.hebe.tparrows:hover:before {\\n color:#000;\\n }\\n.tp-title-wrap { \\n position:absolute;\\n z-index:0;\\n display:inline-block;\\n background:#000;\\n background:rgba(##title-wrap-color##);\\n min-height:60px;\\n line-height:60px;\\n top:-10px;\\n margin-left:0px;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:scalex(0); \\n -webkit-transform:scalex(0); \\n transform-origin:0% 50%; \\n -webkit-transform-origin:0% 50%;\\n}\\n .hebe.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n -webkit-transform-origin:100% 50%;\\n }\\n.hebe.tparrows:hover .tp-title-wrap {\\n transform:scalex(1);\\n -webkit-transform:scalex(1);\\n}\\n.hebe .tp-arr-titleholder {\\n position:relative;\\n text-transform:uppercase;\\n color:rgb(##title-color##);\\n font-weight:600;\\n font-size:##title-size##px;\\n line-height:##image-size##px;\\n white-space:nowrap;\\n padding:0px 20px 0px ##image-size##px;\\n}\\n\\n.hebe.tp-rightarrow .tp-arr-titleholder {\\n margin-left:0px; \\n padding:0px ##image-size##px 0px 20px;\\n }\\n\\n.hebe.tparrows:hover .tp-arr-titleholder {\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}\\n\\n.hebe .tp-arr-imgholder{\\n width:##image-size##px;\\n height:##image-size##px;\\n position:absolute;\\n left:100%;\\n display:block;\\n background-size:cover;\\n background-position:center center;\\n \\t top:0px; right:-##image-size##px;\\n }\\n.hebe.tp-rightarrow .tp-arr-imgholder{\\n right:auto;left:-##image-size##px;\\n }","bullets":"\\n.hebe.tp-bullets:before {\\n content:\\\\\\" \\\\\\";\\n position:absolute;\\n width:100%;\\n height:100%;\\n background:transparent;\\n padding:10px;\\n margin-left:-10px;margin-top:-10px;\\n box-sizing:content-box;\\n}\\n\\n.hebe .tp-bullet {\\n width:##bullet-back-size##px;\\n height:##bullet-back-size##px;\\n position:absolute;\\n background:rgba(##bullet-back-color##); \\n cursor: pointer;\\n border:##bullet-border-size##px solid rgba(##bullet-border-color##);\\n border-radius:##bradius##;\\n box-sizing:content-box;\\n -webkit-perspective:400;\\n perspective:400;\\n -webkit-transform:translatez(0.01px);\\n transform:translatez(0.01px);\\n transition:all ##aspeed##s;\\n}\\n.hebe .tp-bullet:hover,\\n.hebe .tp-bullet.selected {\\n background:rgba(##bullet-border-color##);\\n border-color:rgba(##bullet-back-color##);\\n}\\n\\n.hebe .tp-bullet-image {\\n position:absolute;\\n width:##width##px;\\n height:##height##px;\\n background-position:center center;\\n background-size:cover;\\n visibility:hidden;\\n opacity:0;\\n bottom:##bullet-back-size##px;\\n transition:all ##aspeed##s;\\n -webkit-transform-style:flat;\\n transform-style:flat;\\n perspective:600;\\n -webkit-perspective:600;\\n transform: scale(0) translateX(-50%) translateY(0%);\\n -webkit-transform: scale(0) translateX(-50%) translateY(0%);\\n transform-origin:0% 100%;\\n -webkit-transform-origin:0% 100%;\\n margin-bottom:15px;\\n border-radius:##iradius##px;\\n}\\n.hebe .tp-bullet:hover .tp-bullet-image {\\n display:block;\\n opacity:1;\\n transform: scale(1) translateX(-50%) translateY(0%);\\n -webkit-transform: scale(1) translateX(-50%) translateY(0%);\\n visibility:visible;\\n}\\n\\n\\n\\/* VERTICAL *\\/\\n\\n.hebe.nav-dir-vertical .tp-bullet-image {\\n bottom:auto;\\n margin-right:15px;\\n margin-bottom:0px;\\n right:##bullet-back-size##px;\\n transform: scale(0) translateX(0px) translateY(-50%);\\n -webkit-transform: scale(0) translateX(0px) translateY(-50%);\\n transform-origin:100% 0%;\\n -webkit-transform-origin:100% 0%;\\n}\\n\\n.hebe.nav-dir-vertical .tp-bullet:hover .tp-bullet-image {\\n transform: scale(1) translateX(0px) translateY(-50%);\\n -webkit-transform: scale(1) translateX(0px) translateY(-50%);\\n}\\n\\n\\/* VERTICAL LEFT *\\/\\n\\n.hebe.nav-dir-vertical.nav-pos-hor-left .tp-bullet-image {\\n bottom:auto;\\n margin-left:15px;\\n margin-bottom:0px;\\n left:##bullet-back-size##px;\\n
Line truncated
|
||||
'settings' => '{"original":{"css":{"arrows":".hebe.tparrows {\\n cursor:pointer;\\n background:#fff;\\n min-width:70px;\\n min-height:70px;\\n position:absolute;\\n display:block;\\n z-index:100;\\n}\\n.hebe.tparrows:hover {\\n}\\n.hebe.tparrows:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:30px;\\n color:#aaa;\\n display:block;\\n line-height: 70px;\\n text-align: center;\\n -webkit-transition: color 0.3s;\\n -moz-transition: color 0.3s;\\n transition: color 0.3s;\\n z-index:2;\\n position:relative;\\n background:#fff;\\n min-width:70px;\\n min-height:70px;\\n}\\n.hebe.tparrows.tp-leftarrow:before {\\n content: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.hebe.tparrows.tp-rightarrow:before {\\n content: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n.hebe.tparrows:hover:before {\\n color:#000;\\n }\\n.tp-title-wrap { \\n position:absolute;\\n z-index:0;\\n display:inline-block;\\n background:#000;\\n background:rgba(0,0,0,0.75);\\n min-height:60px;\\n line-height:60px;\\n top:-10px;\\n margin-left:0px;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:scaleX(0); \\n -webkit-transform:scaleX(0); \\n transform-origin:0% 50%; \\n -webkit-transform-origin:0% 50%;\\n}\\n .hebe.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n -webkit-transform-origin:100% 50%;\\n }\\n.hebe.tparrows:hover .tp-title-wrap {\\n transform:scaleX(1);\\n -webkit-transform:scaleX(1);\\n}\\n.hebe .tp-arr-titleholder {\\n position:relative;\\n text-transform:uppercase;\\n color:#fff;\\n font-weight:600;\\n font-size:12px;\\n line-height:90px;\\n white-space:nowrap;\\n padding:0px 20px 0px 90px;\\n}\\n\\n.hebe.tp-rightarrow .tp-arr-titleholder {\\n margin-left:0px; \\n padding:0px 90px 0px 20px;\\n }\\n\\n.hebe.tparrows:hover .tp-arr-titleholder {\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}\\n\\n.hebe .tp-arr-imgholder{\\n width:90px;\\n height:90px;\\n position:absolute;\\n left:100%;\\n display:block;\\n background-size:cover;\\n background-position:center center;\\n \\t top:0px; right:-90px;\\n }\\n.hebe.tp-rightarrow .tp-arr-imgholder{\\n right:auto;left:-90px;\\n }","bullets":".hebe.tp-bullets {\\n}\\n.hebe.tp-bullets:before {\\n content:\\\\\\" \\\\\\";\\n position:absolute;\\n width:100%;\\n height:100%;\\n background:transparent;\\n padding:10px;\\n margin-left:-10px;margin-top:-10px;\\n box-sizing:content-box;\\n}\\n\\n.hebe .tp-bullet {\\n width:3px;\\n height:3px;\\n position:absolute;\\n background:#fff; \\n cursor: pointer;\\n border:5px solid #222;\\n border-radius:50%;\\n box-sizing:content-box;\\n -webkit-perspective:400;\\n perspective:400;\\n -webkit-transform:translateZ(0.01px);\\n transform:translateZ(0.01px);\\n transition:all 0.3s;\\n}\\n.hebe .tp-bullet:hover,\\n.hebe .tp-bullet.selected {\\n background:#222;\\n border-color:#fff;\\n}\\n\\n.hebe .tp-bullet-image {\\n position:absolute;\\n top:-90px; left:-40px;\\n width:70px;\\n height:70px;\\n background-position:center center;\\n background-size:cover;\\n visibility:hidden;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transform-style:flat;\\n transform-style:flat;\\n perspective:600;\\n -webkit-perspective:600;\\n transform: scale(0);\\n -webkit-transform: scale(0);\\n transform-origin:50% 100%;\\n -webkit-transform-origin:50% 100%;\\nborder-radius:6px;\\n \\n \\n}\\n.hebe .tp-bullet:hover .tp-bullet-image {\\n display:block;\\n opacity:1;\\n transform: scale(1);\\n -webkit-transform: scale(1);\\n visibility:visible;\\n }\\n.hebe .tp-bullet-title {\\n}\\n","tabs":".hebe .tp-tab-title {\\n color:#a8d8ee;\\n font-size:13px;\\n font-weight:700;\\n text-transform:uppercase;\\n font-family:\\\\\\"Roboto Slab\\\\\\"\\n margin-bottom:5px;\\n}\\n\\n.hebe .tp-tab-desc {\\n\\tfont-size:18px;\\n font-weight:400;\\n color:#fff;\\n line-height:25px;\\n\\tfont-family:\\\\\\"Roboto Slab\\\\\\";\\n}\\n"},"markup":{"arrows":"<div class=\\\\\\"tp-title-wrap\\\\\\">\\n\\t<span class=\\\\\\"tp-arr-titleholder\\\\\\">{{title}}<\\/span>\\n <span class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/span>\\n <\\/div>\\n","bullets":"<span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>","tabs":"<div class=\\\\\\"tp-tab-title\\\\\\">{{param1}}<\\/div>\\n<div class=\\\\\\"tp-tab-desc\\\\\\">{{title}}<\\/div>"}},"placeholders":[{"title":"BG-Size","handle":"back-size","type":"custom","nav-type":"arrows","data":{"custom":"70"}},{"title":"Background","handle":"back-color","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"#ffffff"}},{"title":"Arrow-Color","handle":"arrow-color","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"rgba(0,0,0,0.5)"}},{"title":"Arrow-Size","handle":"arrow-size","type":"custom","nav-type":"arrows","data":{"custom":"30"}},{"title":"Image-Size","han
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5005,
|
||||
'default' => true,
|
||||
'name' => 'Hermes',
|
||||
'handle' => 'preview4',
|
||||
'markup' => '{"arrows":"<div class=\\\\\\"tp-arr-allwrapper\\\\\\">\\n\\t<div class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/div>\\n\\t<div class=\\\\\\"tp-arr-titleholder\\\\\\">{{title}}<\\/div>\\t\\n<\\/div>","bullets":"","tabs":"<span class=\\\\\\"tp-tab-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-tab-content-wrapper\\\\\\">\\n<span class=\\\\\\"tp-tab-bg\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-tab-content\\\\\\">\\n\\t<span class=\\\\\\"tp-tab-date\\\\\\">{{param1}}<\\/span>\\n\\t<span class=\\\\\\"tp-tab-title\\\\\\">{{param2}}<\\/span>\\n<\\/span>\\n<\\/span>"}',
|
||||
'css' => '{"arrows":".hermes.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##back-color##);\\n\\twidth:##width##px;\\n\\theight:##height##px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n}\\n\\n.hermes.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:##arrow-size##px;\\n\\tcolor:rgb(##arrow-color##);\\n\\tdisplay:block;\\n\\tline-height: ##height##px;\\n\\ttext-align: center;\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px);\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.hermes.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e824\\\\\\";\\n}\\n.hermes.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e825\\\\\\";\\n}\\n.hermes.tparrows.tp-leftarrow:hover:before {\\n transform:translatex(-20px);\\n -webkit-transform:translatex(-20px);\\n opacity:0;\\n}\\n.hermes.tparrows.tp-rightarrow:hover:before {\\n transform:translatex(20px);\\n -webkit-transform:translatex(20px);\\n opacity:0;\\n}\\n\\n.hermes .tp-arr-allwrapper {\\n overflow:hidden;\\n position:absolute;\\n\\twidth:##wrapper-width##px;\\n height:##wrapper-height##px;\\n top:0px;\\n left:0px;\\n visibility:hidden;\\n -webkit-transition: -webkit-transform 0.3s 0.3s;\\n transition: transform 0.3s 0.3s;\\n -webkit-perspective: 1000px;\\n perspective: 1000px;\\n }\\n.hermes.tp-rightarrow .tp-arr-allwrapper {\\n right:0px;left:auto;\\n }\\n.hermes.tparrows:hover .tp-arr-allwrapper {\\n visibility:visible;\\n }\\n.hermes .tp-arr-imgholder {\\n width:##wrapper-width##px;position:absolute;\\n left:0px;top:0px;height:##height##px;\\n transform:translatex(-##wrapper-width##px);\\n -webkit-transform:translatex(-##wrapper-width##px);\\n transition:all 0.3s;\\n transition-delay:0.3s;\\n}\\n.hermes.tp-rightarrow .tp-arr-imgholder{\\n transform:translatex(##wrapper-width##px);\\n -webkit-transform:translatex(##wrapper-width##px);\\n }\\n \\n.hermes.tparrows:hover .tp-arr-imgholder {\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px); \\n}\\n.hermes .tp-arr-titleholder {\\n top:##height##px;\\n width:##wrapper-width##px;\\n text-align:left; \\n display:block;\\n padding:0px 10px;\\n line-height:30px; background:#000;\\n background:rgba(##title-back-color##);\\n color:rgb(##title-font-color##);\\n font-weight:600; position:absolute;\\n font-size:##title-size##px;\\n white-space:nowrap;\\n letter-spacing:1px;\\n -webkit-transition: all 0.3s;\\n transition: all 0.3s;\\n -webkit-transform: rotatex(-90deg);\\n transform: rotatex(-90deg);\\n -webkit-transform-origin: 50% 0;\\n transform-origin: 50% 0;\\n box-sizing:border-box;\\n\\n}\\n.hermes.tparrows:hover .tp-arr-titleholder {\\n -webkit-transition-delay: 0.6s;\\n transition-delay: 0.6s;\\n -webkit-transform: rotatex(0deg);\\n transform: rotatex(0deg);\\n}\\n","bullets":".hermes.tp-bullets {\\n}\\n\\n.hermes .tp-bullet {\\n overflow:hidden;\\n border-radius:50%;\\n width:##bullet-size##px;\\n height:##bullet-size##px;\\n background-color: rgba(0, 0, 0, 0);\\n box-shadow: inset 0 0 0 ##border##px rgb(##bullet-color##);\\n -webkit-transition: background 0.3s ease;\\n transition: background 0.3s ease;\\n position:absolute;\\n}\\n\\n.hermes .tp-bullet:hover {\\n\\t background-color: rgba(##bullet-hover##);\\n}\\n.hermes .tp-bullet:after {\\n content: \\\\\' \\\\\';\\n position: absolute;\\n bottom: 0;\\n height: 0;\\n left: 0;\\n width: 100%;\\n background-color: rgb(##bullet-color##);\\n box-shadow: 0 0 1px rgb(##bullet-color##);\\n -webkit-transition: height 0.3s ease;\\n transition: height 0.3s ease;\\n}\\n.hermes .tp-bullet.selected:after {\\n height:100%;\\n}\\n","tabs":".hermes .tp-tab { \\n opacity:1; \\n box-sizing:border-box;\\n padding-right:10px;\\n }\\n \\n.hermes .tp-tab-content-wrapper {\\n position:absolute;\\n width:100%;\\n min-height:40%;\\n bottom:0px;\\n box-sizing:border-box;\\n padding-right:10px;\\n overflow:hidden;\\n}\\n.hermes .tp-tab-bg {\\n position:absolute; \\n top:0px;\\n left:-10px; \\n width:100%;height:100%;\\n background:rgba(##back-color##); \\n}\\n.hermes .tp-tab-image \\n{ \\n width:100%;\\n height:60%;\\n position:relative;\\n}\\n.hermes .tp-tab-content \\n{\\n position:relative;\\n padding:##padding##;\\n box-sizing:border-box;\\n display:block;\\n width:100%;\\n }\\n.hermes .tp-tab-date\\n {\\n display:block;\\n color:rgb(##param1-color##);\\n font-weight:600;\\n font-size:##param1-size##px;\\n margin-bottom:10px;\\n }\\n.hermes .tp-tab-title \\n{\\n display:block;\\t\\n color:rgb(##param2-color##);\\n font-size:##param2-size##px;\\n font-weight:800;\\n text-transform:uppercase;\\n line-height:##param2-size##px;\\n}\\n\\n.hermes .tp-tab.selected .tp-tab-content-wrapper:after {\\n width: 0px;\\n\\theight: 0px;\\n\\tborder-style: solid;\\n\\tbo
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"160","arrows":"160","bullets":"160","tabs":"240"},"height":{"thumbs":"160","arrows":"160","bullets":"160","tabs":"260"},"original":{"css":{"arrows":".hermes.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#000;\\n\\tbackground:rgba(0,0,0,0.5);\\n\\twidth:30px;\\n\\theight:110px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n}\\n\\n.hermes.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:15px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 110px;\\n\\ttext-align: center;\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px);\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n}\\n.hermes.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.hermes.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n.hermes.tparrows.tp-leftarrow:hover:before {\\n transform:translateX(-20px);\\n -webkit-transform:translateX(-20px);\\n opacity:0;\\n}\\n.hermes.tparrows.tp-rightarrow:hover:before {\\n transform:translateX(20px);\\n -webkit-transform:translateX(20px);\\n opacity:0;\\n}\\n\\n.hermes .tp-arr-allwrapper {\\n overflow:hidden;\\n position:absolute;\\n\\twidth:180px;\\n height:140px;\\n top:0px;\\n left:0px;\\n visibility:hidden;\\n -webkit-transition: -webkit-transform 0.3s 0.3s;\\n transition: transform 0.3s 0.3s;\\n -webkit-perspective: 1000px;\\n perspective: 1000px;\\n }\\n.hermes.tp-rightarrow .tp-arr-allwrapper {\\n right:0px;left:auto;\\n }\\n.hermes.tparrows:hover .tp-arr-allwrapper {\\n visibility:visible;\\n }\\n.hermes .tp-arr-imgholder {\\n width:180px;position:absolute;\\n left:0px;top:0px;height:110px;\\n transform:translateX(-180px);\\n -webkit-transform:translateX(-180px);\\n transition:all 0.3s;\\n transition-delay:0.3s;\\n}\\n.hermes.tp-rightarrow .tp-arr-imgholder{\\n transform:translateX(180px);\\n -webkit-transform:translateX(180px);\\n }\\n \\n.hermes.tparrows:hover .tp-arr-imgholder {\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px); \\n}\\n.hermes .tp-arr-titleholder {\\n top:110px;\\n width:180px;\\n text-align:left; \\n display:block;\\n padding:0px 10px;\\n line-height:30px; background:#000;\\n background:rgba(0,0,0,0.75);color:#fff;\\n font-weight:600; position:absolute;\\n font-size:12px;\\n white-space:nowrap;\\n letter-spacing:1px;\\n -webkit-transition: all 0.3s;\\n transition: all 0.3s;\\n -webkit-transform: rotateX(-90deg);\\n transform: rotateX(-90deg);\\n -webkit-transform-origin: 50% 0;\\n transform-origin: 50% 0;\\n box-sizing:border-box;\\n\\n}\\n.hermes.tparrows:hover .tp-arr-titleholder {\\n -webkit-transition-delay: 0.6s;\\n transition-delay: 0.6s;\\n -webkit-transform: rotateX(0deg);\\n transform: rotateX(0deg);\\n}\\n","bullets":".hermes.tp-bullets {\\n}\\n\\n.hermes .tp-bullet {\\n overflow:hidden;\\n border-radius:50%;\\n width:16px;\\n height:16px;\\n background-color: rgba(0, 0, 0, 0);\\n box-shadow: inset 0 0 0 2px #FFF;\\n -webkit-transition: background 0.3s ease;\\n transition: background 0.3s ease;\\n position:absolute;\\n}\\n\\n.hermes .tp-bullet:hover {\\n\\t background-color: rgba(0, 0, 0, 0.2);\\n}\\n.hermes .tp-bullet:after {\\n content: \\\\\' \\\\\';\\n position: absolute;\\n bottom: 0;\\n height: 0;\\n left: 0;\\n width: 100%;\\n background-color: #FFF;\\n box-shadow: 0 0 1px #FFF;\\n -webkit-transition: height 0.3s ease;\\n transition: height 0.3s ease;\\n}\\n.hermes .tp-bullet.selected:after {\\n height:100%;\\n}\\n","tabs":".hermes .tp-tab { \\n opacity:1; \\n padding-right:10px;\\n box-sizing:border-box;\\n }\\n.hermes .tp-tab-image \\n{ \\n width:100%;\\n height:60%;\\n position:relative;\\n}\\n.hermes .tp-tab-content \\n{\\n background:rgb(54,54,54); \\n position:absolute;\\n padding:20px 20px 20px 30px;\\n box-sizing:border-box;\\n color:#fff;\\n display:block;\\n width:100%;\\n min-height:40%;\\n bottom:0px;\\n left:-10px;\\n }\\n.hermes .tp-tab-date\\n {\\n display:block;\\n color:#888;\\n font-weight:600;\\n font-size:12px;\\n margin-bottom:10px;\\n }\\n.hermes .tp-tab-title \\n{\\n display:block;\\t\\n color:#fff;\\n font-size:16px;\\n font-weight:800;\\n text-transform:uppercase;\\n line-height:19px;\\n}\\n\\n.hermes .tp-tab.selected .tp-tab-title:after {\\n width: 0px;\\n\\theight: 0px;\\n\\tborder-style: solid;\\n\\tborder-width: 30px 0 30px 10px;\\n\\tborder-color: transparent transparent transparent rgb(54,54,54);\\n\\tcontent:\\\\\\" \\\\\\";\\n position:absolute;\\n right:-9px;\\n bottom:50%;\\n margin-bottom:-30px;\\n}\\n.hermes .tp-tab-mask {\\n padding-right:10px !important;\\n }\\n\\n\\/* MEDIA QUERIES *\\/\\n@media only screen and (max-width: 960px) {\\n .hermes .tp-tab .tp-tab-title {font-size:14px;line-heig
Line truncated
|
||||
|
||||
$navigations[] = array('id' => 5006,'default' => true,'name' => 'Custom','handle' => 'custom','markup' => '{"thumbs":"<span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>","arrows":"","bullets":"","tabs":"<span class=\\\\\\"tp-tab-image\\\\\\"><\\/span>"}','css' => '{"thumbs":"","arrows":".custom.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#000;\\n\\tbackground:rgba(0,0,0,0.5);\\n\\twidth:40px;\\n\\theight:40px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n}\\n.custom.tparrows:hover {\\n\\tbackground:#000;\\n}\\n.custom.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:15px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 40px;\\n\\ttext-align: center;\\n}\\n.custom.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e824\\\\\\";\\n}\\n.custom.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\e825\\\\\\";\\n}\\n\\n","bullets":".custom.tp-bullets {\\n}\\n.custom.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.custom .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground:#aaa;\\n background:rgba(125,125,125,0.5);\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.custom .tp-bullet:hover,\\n.custom .tp-bullet.selected {\\n\\tbackground:rgb(125,125,125);\\n}\\n.custom .tp-bullet-image {\\n}\\n.custom .tp-bullet-title {\\n}\\n","tabs":""}','settings' => '""');
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5007,
|
||||
'default' => true,
|
||||
'name' => 'Hephaistos',
|
||||
'handle' => 'round-old',
|
||||
'markup' => '{"arrows":"","bullets":""}',
|
||||
'css' => '{"arrows":".hephaistos.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##back-color##);\\n\\twidth:##back-size##px;\\n\\theight:##back-size##px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius:50%;\\n}\\n.hephaistos.tparrows:hover {\\n\\tbackground:rgba(##back-hover##);\\n}\\n.hephaistos.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:18px;\\n\\tcolor:rgb(##arrow-color##);\\n\\tdisplay:block;\\n\\tline-height: ##back-size##px;\\n\\ttext-align: center;\\n}\\n.hephaistos.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"##left-arrow##\\\\\\";\\n margin-left:-2px;\\n \\n}\\n.hephaistos.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"##right-arrow##\\\\\\";\\n margin-right:-2px;\\n}\\n\\n","bullets":".hephaistos .tp-bullet {\\n\\twidth:##bullet-size##px;\\n\\theight:##bullet-size##px;\\n\\tposition:absolute;\\n\\tbackground:rgba(##back-color##);\\n\\tborder:##border-size##px solid rgba(##border-color##);\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n box-shadow: 0px 0px 2px 1px rgba(130,130,130, 0.3);\\n}\\n.hephaistos .tp-bullet:hover,\\n.hephaistos .tp-bullet.selected {\\n\\tbackground:rgba(##back-hover-color##);\\n border-color:rgba(##border-hover-color##);\\n}"}',
|
||||
'settings' => '{"width":{"thumbs":"160","arrows":"160","bullets":"161","tabs":"160"},"height":{"thumbs":"160","arrows":"160","bullets":"159","tabs":"160"},"original":{"css":{"arrows":".hephaistos.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#000;\\n\\tbackground:rgba(0,0,0,0.5);\\n\\twidth:40px;\\n\\theight:40px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border-radius:50%;\\n}\\n.hephaistos.tparrows:hover {\\n\\tbackground:#000;\\n}\\n.hephaistos.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:18px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 40px;\\n\\ttext-align: center;\\n}\\n.hephaistos.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"e82c\\\\\\";\\n margin-left:-2px;\\n \\n}\\n.hephaistos.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"e82d\\\\\\";\\n margin-right:-2px;\\n}\\n\\n","bullets":".hephaistos.tp-bullets {\\n}\\n.hephaistos.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.hephaistos .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground:#999;\\n\\tborder:3px solid #f5f5f5;\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n box-shadow: 0px 0px 2px 1px rgba(130,130,130, 0.3);\\n\\n}\\n.hephaistos .tp-bullet:hover,\\n.hephaistos .tp-bullet.selected {\\n\\tbackground:#fff;\\n border-color:#000;\\n}\\n.hephaistos .tp-bullet-image {\\n}\\n.hephaistos .tp-bullet-title {\\n}\\n"},"markup":{"arrows":"","bullets":""}},"placeholders":[{"title":"Background","handle":"back-color","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"rgba(0,0,0,0.5)"}},{"title":"BG-Size","handle":"back-size","type":"custom","nav-type":"arrows","data":{"custom":"40"}},{"title":"Arrow-Color","handle":"arrow-color","type":"color","nav-type":"arrows","data":{"color":"#ffffff"}},{"title":"Hover-Background","handle":"back-hover","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"#000000"}},{"title":"Bullet-Size","handle":"bullet-size","type":"custom","nav-type":"bullets","data":{"custom":"12"}},{"title":"Background","handle":"back-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#999999"}},{"title":"Border-Color","handle":"border-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"rgba(255,255,255,0.9)"}},{"title":"Border-Size","handle":"border-size","type":"custom","nav-type":"bullets","data":{"custom":"3"}},{"title":"Hover-Background","handle":"back-hover-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#ffffff"}},{"title":"Hover-Border","handle":"border-hover-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#000000"}},{"title":"Left-Arrow","handle":"left-arrow","type":"custom","nav-type":"arrows","data":{"custom":"\\\\\\\\e82c"}},{"title":"Right-Arrow","handle":"right-arrow","type":"custom","nav-type":"arrows","data":{"custom":"\\\\\\\\e82d"}}]}');
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5008,
|
||||
'default' => true,
|
||||
'name' => 'Persephone',
|
||||
'handle' => 'square-old',
|
||||
'markup' => '{"arrows":"","bullets":""}',
|
||||
'css' => '{"arrows":".persephone.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:rgba(##back-color##);\\n\\twidth:##back-size##px;\\n\\theight:##back-size##px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border:1px solid rgba(##border-rgba##);\\n}\\n.persephone.tparrows:hover {\\n\\tbackground:rgba(##back-hover##);\\n}\\n.persephone.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:##arrow-size##px;\\n\\tcolor: rgb(##arrow-color##);\\n\\tdisplay:block;\\n\\tline-height: ##back-size##px;\\n\\ttext-align: center;\\n}\\n.persephone.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"##left-arrow##\\\\\\";\\n}\\n.persephone.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"##right-arrow##\\n\\\\\\";\\n}\\n\\n","bullets":".persephone .tp-bullet {\\n\\twidth:##bullet-size##px;\\n\\theight:##bullet-size##px;\\n\\tposition:absolute;\\n\\tbackground:rgba(##back-color##);\\n\\tborder:1px solid rgba(##border-color##);\\t\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.persephone .tp-bullet:hover,\\n.persephone .tp-bullet.selected {\\n\\tbackground:rgba(##back-hover##);\\n}\\n\\n"}',
|
||||
'settings' => '{"original":{"css":{"arrows":".persephone.tparrows {\\n\\tcursor:pointer;\\n\\tbackground:#aaa;\\n\\tbackground:rgba(200,200,200,0.5);\\n\\twidth:40px;\\n\\theight:40px;\\n\\tposition:absolute;\\n\\tdisplay:block;\\n\\tz-index:100;\\n border:1px solid #f5f5f5;\\n}\\n.persephone.tparrows:hover {\\n\\tbackground:#333;\\n}\\n.persephone.tparrows:before {\\n\\tfont-family: \\\\\\"revicons\\\\\\";\\n\\tfont-size:15px;\\n\\tcolor:#fff;\\n\\tdisplay:block;\\n\\tline-height: 40px;\\n\\ttext-align: center;\\n}\\n.persephone.tparrows.tp-leftarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.persephone.tparrows.tp-rightarrow:before {\\n\\tcontent: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n\\n","bullets":".persephone.tp-bullets {\\n}\\n.persephone.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground:#transparent;\\n\\tpadding:10px;\\n\\tmargin-left:-10px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n}\\n.persephone .tp-bullet {\\n\\twidth:12px;\\n\\theight:12px;\\n\\tposition:absolute;\\n\\tbackground:#aaa;\\n\\tborder:1px solid #e5e5e5;\\t\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.persephone .tp-bullet:hover,\\n.persephone .tp-bullet.selected {\\n\\tbackground:#222;\\n}\\n.persephone .tp-bullet-image {\\n}\\n.persephone .tp-bullet-title {\\n}\\n"},"markup":{"arrows":"","bullets":""}},"placeholders":[{"title":"Background","handle":"back-color","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"rgba(201,201,201,0.75)"}},{"title":"Size","handle":"back-size","type":"custom","nav-type":"arrows","data":{"custom":"40"}},{"title":"Arrow-Color","handle":"arrow-color","type":"color","nav-type":"arrows","data":{"color":"#ffffff"}},{"title":"Arrow-Size","handle":"arrow-size","type":"custom","nav-type":"arrows","data":{"custom":"15"}},{"title":"Hover-Background","handle":"back-hover","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"#000000"}},{"title":"Bullet-Size","handle":"bullet-size","type":"custom","nav-type":"bullets","data":{"custom":"12"}},{"title":"Background","handle":"back-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#aaaaaa"}},{"title":"Border-Color","handle":"border-color","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#e5e5e5"}},{"title":"Hover-Background","handle":"back-hover","type":"color-rgba","nav-type":"bullets","data":{"color-rgba":"#000000"}},{"title":"Border","handle":"border-rgba","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"#ffffff"}},{"title":"Left-Arrow","handle":"left-arrow","type":"custom","nav-type":"arrows","data":{"custom":"\\\\\\\\e824"}},{"title":"Right-Arrow","handle":"right-arrow","type":"custom","nav-type":"arrows","data":{"custom":"\\\\\\\\e825"}}]}');
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5009,
|
||||
'default' => true,
|
||||
'name' => 'Erinyen',
|
||||
'handle' => 'navbar-old',
|
||||
'markup' => '{"arrows":"<div class=\\\\\\"tp-title-wrap\\\\\\">\\n \\t<div class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/div>\\n <div class=\\\\\\"tp-arr-img-over\\\\\\"><\\/div>\\n\\t<span class=\\\\\\"tp-arr-titleholder\\\\\\">{{title}}<\\/span>\\n <\\/div>\\n\\n","bullets":"","tabs":"<div class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/div>\\n<div class=\\\\\\"tp-tab-desc\\\\\\">{{description}}<\\/div>","thumbs":"<span class=\\\\\\"tp-thumb-over\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-title\\\\\\">{{title}}<\\/span>\\n<span class=\\\\\\"tp-thumb-more\\\\\\"><\\/span>"}',
|
||||
'css' => '{"arrows":".erinyen.tparrows {\\n cursor:pointer;\\n background:rgba(##back-color##);\\n min-width:##back-size##px;\\n min-height:##back-size##px;\\n position:absolute;\\n display:block;\\n z-index:100;\\n border-radius:50%; \\n}\\n\\n.erinyen.tparrows:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:##arrow-size##px;\\n color:rgb(##arrow-color##);\\n display:block;\\n line-height:##back-size##px;\\n text-align: center; \\n z-index:2;\\n position:relative;\\n}\\n.erinyen.tparrows.tp-leftarrow:before {\\n content: \\\\\\"##leftarrow##\\\\\\";\\n}\\n.erinyen.tparrows.tp-rightarrow:before {\\n content: \\\\\\"##right-arrow##\\\\\\";\\n}\\n\\n.erinyen .tp-title-wrap { \\n position:absolute;\\n z-index:1;\\n display:inline-block;\\n background:rgba(0,0,0,0.5);\\n min-height:##back-size##px;\\n line-height:##back-size##px;\\n top:0px;\\n margin-left:0px;\\n border-radius:##title-wrap-border-radius##px;\\n overflow:hidden; \\n transition: opacity 0.3s;\\n -webkit-transition:opacity 0.3s;\\n -moz-transition:opacity 0.3s;\\n -webkit-transform: scale(0);\\n -moz-transform: scale(0);\\n transform: scale(0); \\n visibility:hidden;\\n opacity:0;\\n}\\n\\n.erinyen.tparrows:hover .tp-title-wrap{\\n -webkit-transform: scale(1);\\n -moz-transform: scale(1);\\n transform: scale(1);\\n opacity:1;\\n visibility:visible;\\n}\\n \\n .erinyen.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n margin-right:0px;margin-left:0px;\\n -webkit-transform-origin:100% 50%;\\n border-radius:##title-wrap-border-radius##px;\\n padding-right:20px;\\n padding-left:10px;\\n }\\n\\n\\n.erinyen.tp-leftarrow .tp-title-wrap { \\n padding-left:20px;\\n padding-right:10px;\\n}\\n\\n.erinyen .tp-arr-titleholder {\\n letter-spacing: ##letter-spacing##px;\\n position:relative;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:translatex(200px); \\n text-transform:uppercase;\\n color:rgb(##arrow-color##);\\n font-weight:600;\\n font-size:##font-size##px;\\n line-height:##back-size##px;\\n white-space:nowrap;\\n padding:0px 20px;\\n margin-left:11px;\\n opacity:0; \\n}\\n\\n.erinyen .tp-arr-imgholder {\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n background-position:center center;\\n background-size:cover;\\n }\\n .erinyen .tp-arr-img-over {\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n background:rgba(##overlay-rgba##);\\n }\\n.erinyen.tp-rightarrow .tp-arr-titleholder {\\n transform:translatex(-200px); \\n margin-left:0px; margin-right:11px;\\n }\\n\\n.erinyen.tparrows:hover .tp-arr-titleholder {\\n transform:translatex(0px);\\n -webkit-transform:translatex(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}","bullets":".erinyen.tp-bullets {\\n}\\n.erinyen.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n background: -moz-linear-gradient(top, rgb(##back-top##) 0%, rgb(##back-bottom##) 100%); \\/* ff3.6+ *\\/\\n background: -webkit-linear-gradient(top, rgb(##back-top##) 0%,rgb(##back-bottom##) 100%); \\/* chrome10+,safari5.1+ *\\/\\n background: -o-linear-gradient(top, rgb(##back-top##) 0%,rgb(##back-bottom##) 100%); \\/* opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, rgb(##back-top##) 0%,rgb(##back-bottom##) 100%); \\/* ie10+ *\\/\\n background: linear-gradient(to bottom, rgb(##back-top##) 0%,rgb(##back-bottom##) 100%); \\/* w3c *\\/\\n\\n\\tpadding:10px 15px;\\n\\tmargin-left:-15px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:10px;\\n box-shadow:0px 0px 2px 1px rgba(33,33,33,0.3);\\n}\\n.erinyen .tp-bullet {\\n\\twidth:##bullet-size##px;\\n\\theight:##bullet-size##px;\\n\\tposition:absolute;\\n\\tbackground:##bullet-back##;\\t\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.erinyen .tp-bullet:hover,\\n.erinyen .tp-bullet.selected {\\nbackground: -moz-linear-gradient(top, ##bullet-top## 0%, ##bullet-bottom## 100%); \\/* ff3.6+ *\\/\\nbackground: -webkit-linear-gradient(top, ##bullet-top## 0%,##bullet-bottom## 100%); \\/* chrome10+,safari5.1+ *\\/\\nbackground: -o-linear-gradient(top, ##bullet-top## 0%,##bullet-bottom## 100%); \\/* opera 11.10+ *\\/\\nbackground: -ms-linear-gradient(top, ##bullet-top## 0%,##bullet-bottom## 100%); \\/* ie10+ *\\/\\nbackground: linear-gradient(to bottom, ##bullet-top## 0%,##bullet-bottom## 100%); \\/* w3c *\\/\\nborder:1px solid #555;\\nwidth:##bullet-size##px;\\nheight:##bullet-size##px;\\n}\\n\\n","tabs":".erinyen .tp-tab-title {\\n color:rgb(##title-color##);\\n font-size:##title-size##px;\\n font-weight:##title-font-weight##;\\n text-transform:uppercase;\\n font-family:\\\\\\"##title-font##\\\\\\";\\n margin-bottom:5px;\\n line-height:##title-line-height##px;\\n}\\n\\n.erinyen .tp-tab-desc {\\n\\tfon
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"200","arrows":"160","bullets":"160","tabs":"160"},"height":{"thumbs":"130","arrows":"160","bullets":"160","tabs":"160"},"original":{"css":{"arrows":".erinyen.tparrows {\\n cursor:pointer;\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n min-width:70px;\\n min-height:70px;\\n position:absolute;\\n display:block;\\n z-index:100;\\n border-radius:35px; \\n}\\n\\n.erinyen.tparrows:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:20px;\\n color:#fff;\\n display:block;\\n line-height: 70px;\\n text-align: center; \\n z-index:2;\\n position:relative;\\n}\\n.erinyen.tparrows.tp-leftarrow:before {\\n content: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.erinyen.tparrows.tp-rightarrow:before {\\n content: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n\\n.erinyen .tp-title-wrap { \\n position:absolute;\\n z-index:1;\\n display:inline-block;\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n min-height:70px;\\n line-height:70px;\\n top:0px;\\n margin-left:0px;\\n border-radius:35px;\\n overflow:hidden; \\n transition: opacity 0.3s;\\n -webkit-transition:opacity 0.3s;\\n -moz-transition:opacity 0.3s;\\n -webkit-transform: scale(0);\\n -moz-transform: scale(0);\\n transform: scale(0); \\n visibility:hidden;\\n opacity:0;\\n}\\n\\n.erinyen.tparrows:hover .tp-title-wrap{\\n -webkit-transform: scale(1);\\n -moz-transform: scale(1);\\n transform: scale(1);\\n opacity:1;\\n visibility:visible;\\n}\\n \\n .erinyen.tp-rightarrow .tp-title-wrap { \\n right:0px;\\n margin-right:0px;margin-left:0px;\\n -webkit-transform-origin:100% 50%;\\n border-radius:35px;\\n padding-right:20px;\\n padding-left:10px;\\n }\\n\\n\\n.erinyen.tp-leftarrow .tp-title-wrap { \\n padding-left:20px;\\n padding-right:10px;\\n}\\n\\n.erinyen .tp-arr-titleholder {\\n letter-spacing: 3px;\\n position:relative;\\n -webkit-transition: -webkit-transform 0.3s;\\n transition: transform 0.3s;\\n transform:translateX(200px); \\n text-transform:uppercase;\\n color:#fff;\\n font-weight:600;\\n font-size:13px;\\n line-height:70px;\\n white-space:nowrap;\\n padding:0px 20px;\\n margin-left:11px;\\n opacity:0; \\n}\\n\\n.erinyen .tp-arr-imgholder {\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n background-position:center center;\\n background-size:cover;\\n }\\n .erinyen .tp-arr-img-over {\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n }\\n.erinyen.tp-rightarrow .tp-arr-titleholder {\\n transform:translateX(-200px); \\n margin-left:0px; margin-right:11px;\\n }\\n\\n.erinyen.tparrows:hover .tp-arr-titleholder {\\n transform:translateX(0px);\\n -webkit-transform:translateX(0px);\\n transition-delay: 0.1s;\\n opacity:1;\\n}","bullets":".erinyen.tp-bullets {\\n}\\n.erinyen.tp-bullets:before {\\n\\tcontent:\\\\\\" \\\\\\";\\n\\tposition:absolute;\\n\\twidth:100%;\\n\\theight:100%;\\n\\tbackground: #555555; \\/* old browsers *\\/\\n background: -moz-linear-gradient(top, #555555 0%, #222222 100%); \\/* ff3.6+ *\\/\\n background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555555), color-stop(100%,#222222)); \\/* chrome,safari4+ *\\/\\n background: -webkit-linear-gradient(top, #555555 0%,#222222 100%); \\/* chrome10+,safari5.1+ *\\/\\n background: -o-linear-gradient(top, #555555 0%,#222222 100%); \\/* opera 11.10+ *\\/\\n background: -ms-linear-gradient(top, #555555 0%,#222222 100%); \\/* ie10+ *\\/\\n background: linear-gradient(to bottom, #555555 0%,#222222 100%); \\/* w3c *\\/\\n filter: progid:dximagetransform.microsoft.gradient( startcolorstr=\\\\\\"#555555\\\\\\", endcolorstr=\\\\\\"#222222\\\\\\",gradienttype=0 ); \\/* ie6-9 *\\/\\n\\tpadding:10px 15px;\\n\\tmargin-left:-15px;margin-top:-10px;\\n\\tbox-sizing:content-box;\\n border-radius:10px;\\n box-shadow:0px 0px 2px 1px rgba(33,33,33,0.3);\\n}\\n.erinyen .tp-bullet {\\n\\twidth:13px;\\n\\theight:13px;\\n\\tposition:absolute;\\n\\tbackground:#111;\\t\\n\\tborder-radius:50%;\\n\\tcursor: pointer;\\n\\tbox-sizing:content-box;\\n}\\n.erinyen .tp-bullet:hover,\\n.erinyen .tp-bullet.selected {\\n\\tbackground: #e5e5e5; \\/* old browsers *\\/\\nbackground: -moz-linear-gradient(top, #e5e5e5 0%, #999999 100%); \\/* ff3.6+ *\\/\\nbackground: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#999999)); \\/* chrome,safari4+ *\\/\\nbackground: -webkit-linear-gradient(top, #e5e5e5 0%,#999999 100%); \\/* chrome10+,safari5.1+ *\\/\\nbackground: -o-linear-gradient(top, #e5e5e5 0%,#999999 100%); \\/* opera 11.10+ *\\/\\nbackground: -ms-linear-gradient(top, #e5e5e5 0%,#999999 100%); \\/* ie10+ *\\/\\nbackground: linear-gradient(to bottom, #e5e5e5 0%,#999999 100%); \\/* w3c *\\/\\nfilter: progid:dximagetransform.microsoft.gradient( startcolorstr=\\\\\\"#e5e5e5\\\\\\"
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5010,
|
||||
'default' => true,
|
||||
'name' => 'Zeus',
|
||||
'handle' => 'zeus',
|
||||
'markup' => '{"bullets":"<span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-bullet-imageoverlay\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-bullet-title\\\\\\">{{title}}<\\/span>","arrows":"<div class=\\\\\\"tp-title-wrap\\\\\\">\\n \\t<div class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/div>\\n <\\/div>\\n","thumbs":"<span class=\\\\\\"tp-thumb-over\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-image\\\\\\"><\\/span>\\n<span class=\\\\\\"tp-thumb-title\\\\\\">{{title}}<\\/span>\\n<span class=\\\\\\"tp-thumb-more\\\\\\"><\\/span>","tabs":"<span class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/span>"}',
|
||||
'css' => '{"bullets":".zeus .tp-bullet {\\n box-sizing:content-box; -webkit-box-sizing:content-box; border-radius:50%;\\n background-color: rgba(0, 0, 0, 0);\\n -webkit-transition: opacity 0.3s ease;\\n transition: opacity 0.3s ease;\\n width:##size##px;height:##size##px;\\n border:2px solid rgb(##color##);\\n }\\n.zeus .tp-bullet:after {\\n content: \\\\\\"\\\\\\";\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n border-radius: 50%;\\n background-color: rgb(##color##);\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n -webkit-transform-origin: 50% 50%;\\n transform-origin: 50% 50%;\\n -webkit-transition: -webkit-transform 0.3s ease;\\n transition: transform 0.3s ease;\\n}\\n.zeus .tp-bullet:hover:after,\\n.zeus .tp-bullet.selected:after{\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n}\\n \\n .zeus .tp-bullet-image,\\n .zeus .tp-bullet-imageoverlay{\\n width:##img-width##px;\\n height:##img-height##px;\\n position:absolute;\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n bottom:##size##px;\\n margin-bottom:10px;\\n transform:translateX(-50%);\\n -webkit-transform:translateX(-50%);\\n box-sizing:border-box;\\n background-size:cover;\\n background-position:center center;\\n visibility:hidden;\\n opacity:0;\\n -webkit-backface-visibility: hidden; \\n backface-visibility: hidden;\\n -webkit-transform-origin: 50% 50%;\\n transform-origin: 50% 50%;\\n -webkit-transition: all 0.3s ease;\\n transition: all 0.3s ease;\\n border-radius:4px;\\n}\\n \\n\\n.zeus .tp-bullet-title,\\n.zeus .tp-bullet-imageoverlay {\\n z-index:2;\\n -webkit-transition: all 0.5s ease;\\n transition: all 0.5s ease;\\n transform:translateX(-50%);\\n -webkit-transform:translateX(-50%);\\n} \\n.zeus .tp-bullet-title { \\n color:rgb(##title-color##);\\n text-align:center;\\n line-height:##title-line-height##px;\\n font-size:##title-font-size##px;\\n font-weight:600; \\n z-index:3;\\n visibility:hidden;\\n opacity:0;\\n -webkit-backface-visibility: hidden; \\n backface-visibility: hidden;\\n -webkit-transform-origin: 50% 50%;\\n transform-origin: 50% 50%;\\n -webkit-transition: all 0.3s ease;\\n transition: all 0.3s ease;\\n position:absolute;\\n bottom:##tooltip-bottom##px;\\n width:##img-width##px;\\n vertical-align:middle;\\n \\n}\\n \\n.zeus .tp-bullet:hover .tp-bullet-title,\\n.zeus .tp-bullet:hover .tp-bullet-image,\\n.zeus .tp-bullet:hover .tp-bullet-imageoverlay{\\n opacity:1;\\n visibility:visible;\\n -webkit-transform:translateY(0px) translateX(-50%);\\n transform:translateY(0px) translateX(-50%); \\n }\\n\\n\\n\\n\\n\\/* VERTICAL RIGHT *\\/\\n\\n.zeus.nav-dir-vertical .tp-bullet-image,\\n.zeus.nav-dir-vertical .tp-bullet-imageoverlay{\\n bottom:auto;\\n margin-right:10px;\\n margin-bottom:0px;\\n right:##size##px;\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n \\n}\\n\\n.zeus.nav-dir-vertical .tp-bullet:hover .tp-bullet-image {\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n}\\n\\n\\n.zeus.nav-dir-vertical .tp-bullet-title,\\n.zeus.nav-dir-vertical .tp-bullet-imageoverlay {\\n z-index:2;\\n -webkit-transition: all 0.5s ease;\\n transition: all 0.5s ease;\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n} \\n\\n\\n.zeus.nav-dir-vertical .tp-bullet-title {\\n bottom:auto;\\n right:100%;\\n margin-right:10px;\\n}\\n\\n.zeus.nav-dir-vertical .tp-bullet:hover .tp-bullet-title,\\n.zeus.nav-dir-vertical .tp-bullet:hover .tp-bullet-image,\\n.zeus.nav-dir-vertical .tp-bullet:hover .tp-bullet-imageoverlay {\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n}\\n\\n\\n\\n\\/* VERTICAL LEFT *\\/\\n\\n.zeus.nav-dir-vertical.nav-pos-hor-left .tp-bullet-image,\\n.zeus.nav-dir-vertical.nav-pos-hor-left .tp-bullet-imageoverlay{\\n bottom:auto;\\n margin-left:10px;\\n margin-bottom:0px;\\n left:##size##px;\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n \\n}\\n\\n.zeus.nav-dir-vertical.nav-pos-hor-left .tp-bullet:hover .tp-bullet-image {\\n transform: translateX(0px) translateY(-50%);\\n -webkit-transform: translateX(0px) translateY(-50%);\\n}\\n\\n.zeus.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title,\\n.zeus.nav-dir-vertical.nav-pos-hor-left .tp-bullet-imageoverlay {\\n z-index:2;\\n -webkit-transition: all 0.5s ease;\\n transition: all 0.5s
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"400","arrows":"160","bullets":"160","tabs":"160"},"height":{"thumbs":"130","arrows":"160","bullets":"160","tabs":"31"},"original":{"css":{"bullets":".zeus .tp-bullet {\\n box-sizing:content-box; -webkit-box-sizing:content-box; border-radius:50%;\\n background-color: rgba(0, 0, 0, 0);\\n -webkit-transition: opacity 0.3s ease;\\n transition: opacity 0.3s ease;\\n\\t width:13px;height:13px;\\n\\t border:2px solid #fff;\\n }\\n.zeus .tp-bullet:after {\\n content: \\\\\\"\\\\\\";\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n border-radius: 50%;\\n background-color: #FFF;\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n -webkit-transform-origin: 50% 50%;\\n transform-origin: 50% 50%;\\n -webkit-transition: -webkit-transform 0.3s ease;\\n transition: transform 0.3s ease;\\n}\\n.zeus .tp-bullet:hover:after,\\n.zeus .tp-bullet.selected:after{\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n}\\n \\n .zeus .tp-bullet-image,\\n .zeus .tp-bullet-imageoverlay{\\n width:135px;\\n height:60px;\\n position:absolute;\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n bottom:25px;\\n left:50%;\\n margin-left:-65px;\\n box-sizing:border-box;\\n background-size:cover;\\n background-position:center center;\\n visibility:hidden;\\n opacity:0;\\n -webkit-backface-visibility: hidden; \\n \\tbackface-visibility: hidden;\\n -webkit-transform-origin: 50% 50%;\\n\\t\\ttransform-origin: 50% 50%;\\n \\t\\t-webkit-transition: all 0.3s ease;\\n \\t\\ttransition: all 0.3s ease;\\n border-radius:4px;\\n\\n}\\n \\n\\n.zeus .tp-bullet-title,\\n.zeus .tp-bullet-imageoverlay {\\n z-index:2;\\n -webkit-transition: all 0.5s ease;\\n\\t \\ttransition: all 0.5s ease;\\n} \\n.zeus .tp-bullet-title { \\n color:#fff;\\n text-align:center;\\n line-height:15px;\\n font-size:13px;\\n font-weight:600; \\n z-index:3;\\n visibility:hidden;\\n opacity:0;\\n -webkit-backface-visibility: hidden; \\n \\tbackface-visibility: hidden;\\n -webkit-transform-origin: 50% 50%;\\n\\t\\ttransform-origin: 50% 50%;\\n \\t\\t-webkit-transition: all 0.3s ease;\\n \\t\\ttransition: all 0.3s ease;\\n position:absolute;\\n bottom:45px;\\n width:135px;\\n \\tvertical-align:middle;\\n left:-57px;\\n}\\n \\n.zeus .tp-bullet:hover .tp-bullet-title,\\n.zeus .tp-bullet:hover .tp-bullet-image,\\n.zeus .tp-bullet:hover .tp-bullet-imageoverlay{\\n opacity:1;\\n visibility:visible;\\n\\t -webkit-transform:translateY(0px);\\n transform:translateY(0px); \\n }","arrows":".zeus.tparrows {\\n cursor:pointer;\\n min-width:70px;\\n min-height:70px;\\n position:absolute;\\n display:block;\\n z-index:100;\\n border-radius:35px; \\n overflow:hidden;\\n background:rgba(0,0,0,0.10);\\n}\\n\\n.zeus.tparrows:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:20px;\\n color:#fff;\\n display:block;\\n line-height: 70px;\\n text-align: center; \\n z-index:2;\\n position:relative;\\n}\\n.zeus.tparrows.tp-leftarrow:before {\\n content: \\\\\\"\\\\\\\\e824\\\\\\";\\n}\\n.zeus.tparrows.tp-rightarrow:before {\\n content: \\\\\\"\\\\\\\\e825\\\\\\";\\n}\\n\\n.zeus .tp-title-wrap {\\n background:#000;\\n background:rgba(0,0,0,0.5);\\n width:100%;\\n height:100%;\\n top:0px;\\n left:0px;\\n position:absolute;\\n opacity:0;\\n transform:scale(0);\\n -webkit-transform:scale(0);\\n transition: all 0.3s;\\n -webkit-transition:all 0.3s;\\n -moz-transition:all 0.3s;\\n border-radius:50%;\\n }\\n.zeus .tp-arr-imgholder {\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n background-position:center center;\\n background-size:cover;\\n border-radius:50%;\\n transform:translateX(-100%);\\n -webkit-transform:translateX(-100%);\\n transition: all 0.3s;\\n -webkit-transition:all 0.3s;\\n -moz-transition:all 0.3s;\\n\\n }\\n.zeus.tp-rightarrow .tp-arr-imgholder {\\n transform:translateX(100%);\\n -webkit-transform:translateX(100%);\\n }\\n.zeus.tparrows:hover .tp-arr-imgholder {\\n transform:translateX(0);\\n -webkit-transform:translateX(0);\\n opacity:1;\\n}\\n \\n.zeus.tparrows:hover .tp-title-wrap {\\n transform:scale(1);\\n -webkit-transform:scale(1);\\n opacity:1;\\n}\\n ","thumbs":".zeus .tp-thumb {\\nopacity:1\\n}\\n\\n.zeus .tp-thumb-over {\\n background:#000;\\n background:rgba(0,0,0,0.25);\\n width:100%;\\n height:100%;\\n position:absolute;\\n top:0px;\\n left:0px;\\n z-index:1;\\n -webkit-transition:all 0.3s;\\n transition:all 0.3s;\\n}\\n\\n.zeus .tp-thumb-more:before {\\n font-family: \\\\\\"revicons\\\\\\";\\n font-size:12px;\\n color:#aaa;\\n color:rgba(255,255,255,0.75);
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5011,
|
||||
'default' => true,
|
||||
'name' => 'Metis',
|
||||
'handle' => 'metis',
|
||||
'markup' => '{"bullets":"<span class=\\\\\\"tp-bullet-img-wrap\\\\\\">\\n <span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>\\n<\\/span>\\n<span class=\\\\\\"tp-bullet-title\\\\\\">{{title}}<\\/span>","arrows":"","tabs":"<div class=\\\\\\"tp-tab-wrapper\\\\\\">\\n<div class=\\\\\\"tp-tab-number\\\\\\">{{param1}}<\\/div>\\n<div class=\\\\\\"tp-tab-divider\\\\\\"><\\/div>\\n<div class=\\\\\\"tp-tab-title-mask\\\\\\">\\n<div class=\\\\\\"tp-tab-title\\\\\\">{{title}}<\\/div>\\n<\\/div>\\n<\\/div>"}',
|
||||
'css' => '{"bullets":".metis .tp-bullet { \\n opacity:1;\\n width:##size##px;\\n height:##size##px; \\n padding:##border-width##px;\\n background-color:rgba(##idlecolor##,0.25);\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n border-radius:50%;\\n }\\n\\n.metis .tp-bullet-image {\\n\\n border-radius:50%;\\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n width:100%;\\n height:100%;\\n background-size:cover;\\n background-position:center center;\\n } \\n.metis .tp-bullet-title { \\n position:absolute; \\n bottom:##size##px;\\n margin-bottom:10px;\\n display:inline-block;\\n left:50%;\\n background:#000;\\n background:rgba(##idlecolor##,0.75);\\n color:rgb(##tooltip-color##);\\n padding:10px 30px;\\n border-radius:4px;\\n -webkit-border-radius:4px;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform: translatez(0.001px) translatex(-50%) translatey(14px);\\n transform-origin:50% 100%;\\n -webkit-transform: translatez(0.001px) translatex(-50%) translatey(14px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n white-space:nowrap;\\n }\\n\\n.metis .tp-bullet:hover .tp-bullet-title {\\n transform:rotatex(0deg) translatex(-50%);\\n -webkit-transform:rotatex(0deg) translatex(-50%);\\n opacity:1;\\n}\\n\\n.metis .tp-bullet.selected,\\n.metis .tp-bullet:hover {\\nbackground: -moz-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(##hovercolor##)), color-stop(100%, rgba(##hbgb##)));\\nbackground: -webkit-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -o-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -ms-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: linear-gradient(to bottom, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\n }\\n.metis .tp-bullet-title:after {\\n content:\\\\\\" \\\\\\";\\n position:absolute;\\n left:50%;\\n margin-left:-8px;\\n width: 0;\\n height: 0;\\n border-style: solid;\\n border-width: 8px 8px 0 8px;\\n border-color: rgba(##idlecolor##,0.75) transparent transparent transparent;\\n bottom:-8px;\\n }\\n\\n\\n\\n\\/* VERTICAL RIGHT *\\/\\n.metis.nav-dir-vertical.nav-pos-hor-right .tp-bullet-title { \\n margin-bottom:0px; top:50%; right:##size##px; left:auto; bottom:auto; margin-right:10px; transform: translateX(-10px) translateY(-50%);-webkit-transform: translateX(-10px) translateY(-50%); \\n} \\n.metis.nav-dir-vertical.nav-pos-hor-right .tp-bullet-title:after { \\n border-width: 10px 0 10px 10px;\\n border-color: transparent transparent transparent rgba(##idlecolor##,0.75) ;\\n right:-10px;\\n left:auto; \\n bottom:auto;\\n top:10px; \\n}\\n\\n\\n.metis.nav-dir-vertical.nav-pos-hor-right .tp-bullet:hover .tp-bullet-title{\\n transform:translateY(-50%) translateX(0px);\\n -webkit-transform:translateY(-50%) translateX(0px);\\n}\\n\\n\\/* VERTICAL LEFT && CENTER*\\/\\n.metis.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title,\\n.metis.nav-dir-vertical.nav-pos-hor-center .tp-bullet-title { \\n margin-bottom:0px; top:50%; left:##size##px; right:auto; bottom:auto; margin-left:10px; transform: translateX(10px) translateY(-50%);-webkit-transform: translateX(10px) translateY(-50%); \\n} \\n.metis.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title:after,\\n.metis.nav-dir-vertical.nav-pos-hor-center .tp-bullet-title:after { \\n border-width: 10px 10px 10px 0;\\n border-color: transparent rgba(##idlecolor##,0.75) transparent transparent ;\\n left:-2px;\\n right:auto; \\n bottom:auto;\\n top:10px; \\n}\\n\\n\\n.metis.nav-dir-vertical.nav-pos-hor-left .tp-bullet:hover .tp-bullet-title,\\n.metis.nav-dir-vertical.nav-pos-hor-center .tp-bullet:hover .tp-bullet-title{\\n transform:translateY(-50%) translateX(0px);\\n -webkit-transform:translateY(-50%) translateX(0px);\\n}\\n\\n\\n\\/* HORIZONTAL TOP *\\/\\n.metis.nav-dir-horizontal.nav-pos-ver-top .tp-bullet-title { \\n margin-bottom:0px; top:##size##px; left:50%; bottom:auto; margin-top:10px; right:auto; transform: translateX(-50%) translateY(10px);-webkit-transform: translateX(-50%) translateY(10px); \\n} \\n.metis.nav-dir-horizontal.nav-pos-ver-top .tp-bullet-title:after { \\n border-width: 0 10px 10px 10px;\\n border-color: transparent transparent rgba(##idlecolor##,0.75) transparent;\\n right:auto;\\n left:50%;\\n margin-left:-10px;\\n bottom:auto;\\n top:-10px;\\n \\n}\\n\\n\\n.metis.nav-dir-horizontal.nav-pos-ver-top .tp-bullet:hover .tp-bullet-title{\\n transfo
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"200","arrows":"160","bullets":"160","tabs":"300"},"height":{"thumbs":"130","arrows":"160","bullets":"160","tabs":"40"},"original":{"css":{"bullets":".metis .tp-bullet { \\n opacity:1;\\n width:50px;\\n height:50px; \\n padding:3px;\\n background:#000;\\n background-color:rgba(0,0,0,0.25);\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n border-radius:50%;\\n }\\n\\n.metis .tp-bullet-image {\\n\\n border-radius:50%;\\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n width:44px;\\n height:44px;\\n background-size:cover;\\n background-position:center center;\\n } \\n.metis .tp-bullet-title { \\n position:absolute; \\n\\t bottom:65px;\\n display:inline-block;\\n left:50%;\\n background:#000;\\n background:rgba(0,0,0,0.75);\\n color:#fff;\\n padding:10px 30px;\\n border-radius:4px;\\n\\t -webkit-border-radius:4px;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n transform-origin:50% 100%;\\n -webkit-transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n white-space:nowrap;\\n }\\n\\n.metis .tp-bullet:hover .tp-bullet-title {\\n \\t transform:rotateX(0deg) translateX(-50%);\\n -webkit-transform:rotateX(0deg) translateX(-50%);\\n opacity:1;\\n}\\n\\n.metis .tp-bullet.selected,\\n.metis .tp-bullet:hover {\\n \\n background: rgba(255,255,255,1);\\n background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(119,119,119,1)));\\n background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\\\\\\"#ffffff\\\\\\", endColorstr=\\\\\\"#777777\\\\\\", GradientType=0 );\\n \\n }\\n.metis .tp-bullet-title:after {\\n content:\\\\\\" \\\\\\";\\n position:absolute;\\n left:50%;\\n margin-left:-8px;\\n width: 0;\\n\\t\\theight: 0;\\n\\t\\tborder-style: solid;\\n\\t\\tborder-width: 8px 8px 0 8px;\\n\\t\\tborder-color: rgba(0,0,0,0.75) transparent transparent transparent;\\n bottom:-8px;\\n }\\n","arrows":".metis.tparrows {\\n background:#fff;\\n padding:10px;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n width:60px;\\n height:60px;\\n box-sizing:border-box;\\n }\\n \\n .metis.tparrows:hover {\\n background:#fff;\\n background:rgba(255,255,255,0.75);\\n }\\n \\n .metis.tparrows:before {\\n color:#000; \\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n }\\n \\n .metis.tparrows:hover:before {\\n transform:scale(1.5);\\n }\\n ","tabs":".metis .tp-tab-number {\\n color:#fff;\\n font-size:40px;\\n line-height:30px;\\n font-weight:400;\\n font-family: \\\\\\"Playfair Display\\\\\\";\\n width: 50px;\\n margin-right: 17px;\\n display: inline-block;\\n float: left;\\n}\\n\\n\\n.metis .tp-tab-mask {\\n padding-left:20px;\\n left:0px;\\n max-width:90px !important;\\n transition:0.4s padding-left, 0.4s left, 0.4s max-width;\\n}\\n\\n.metis:hover .tp-tab-mask{\\n padding-left:0px;\\n left:50px;\\n max-width:500px !important;\\n}\\n\\n.metis .tp-tab-divider { \\n\\tborder-right: 1px solid transparent;\\n height: 30px;\\n width: 1px;\\n margin-top: 5px;\\n display: inline-block;\\n float: left;\\n}\\n\\n.metis .tp-tab-title {\\n color:#fff;\\n font-size:20px;\\n line-height:20px;\\n font-weight:400;\\n font-family: \\\\\\"Playfair Display\\\\\\";\\n position:relative;\\n padding-top: 10px;\\n padding-left: 30px;\\n display: inline-block;\\n transform:translateX(-100%);\\n transition:0.4s all;\\n}\\n\\n.metis .tp-tab-title-mask {\\n position:absolute;\\n overflow:hidden;\\n left:67px; \\n}\\n\\n.metis:hover .tp-tab-title {\\n transform:translateX(0);\\n }\\n\\n.metis .tp-tab { \\n\\topacity: 0.15;\\n transition:0.4s all;\\n}\\n\\n.metis .tp-tab:hover,\\n.metis .tp-tab.selected {\\n opacity: 1; \\n}\\n\\n.metis .tp-tab.selected .tp-tab-divider {\\n\\tborder-right: 1px solid #cdb083;\\n}\\n\\n.metis.tp-tabs {\\n max-width:118px !important;\\n padding-left:50px;\\n}\\n \\n.met
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5012,
|
||||
'default' => true,
|
||||
'name' => 'Dione',
|
||||
'handle' => 'dione',
|
||||
'markup' => '{"bullets":"<span class=\\\\\\"tp-bullet-img-wrap\\\\\\">\\n <span class=\\\\\\"tp-bullet-image\\\\\\"><\\/span>\\n<\\/span>\\n<span class=\\\\\\"tp-bullet-title\\\\\\">{{title}}<\\/span>","arrows":"<div class=\\\\\\"tp-arr-imgwrapper\\\\\\">\\n<div class=\\\\\\"tp-arr-imgholder\\\\\\"><\\/div>\\n<\\/div>"}',
|
||||
'css' => '{"bullets":"\\n.dione .tp-bullet { \\n opacity:1;\\n width:##size##px;\\n height:##size##px; \\n padding:##border-size##px;\\n background-color:rgba(##idlecolor##,0.25);\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n }\\n\\n.dione .tp-bullet-image {\\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n width:100%;\\n height:100%;\\n background-size:cover;\\n background-position:center center;\\n } \\n.dione .tp-bullet-title { \\n position:absolute; \\n bottom:##tooltip-offset##px;\\n display:inline-block;\\n left:50%;\\n background:rgba(##idlecolor##,0.65);\\n color:rgb(##tooltip-color##);\\n padding:10px 30px;\\n border-radius:4px;\\n -webkit-border-radius:4px;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform: translatez(0.001px) translatex(-50%) translatey(14px);\\n transform-origin:50% 100%;\\n -webkit-transform: translatez(0.001px) translatex(-50%) translatey(14px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n white-space:nowrap;\\n }\\n\\n.dione .tp-bullet:hover .tp-bullet-title {\\n transform:rotatex(0deg) translatex(-50%);\\n -webkit-transform:rotatex(0deg) translatex(-50%);\\n opacity:1;\\n}\\n\\n.dione .tp-bullet.selected,\\n.dione .tp-bullet:hover {\\n background: -moz-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(##hovercolor##)), color-stop(100%, rgba(##hbgb##)));\\nbackground: -webkit-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -o-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: -ms-linear-gradient(top, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\nbackground: linear-gradient(to bottom, rgba(##hovercolor##) 0%, rgba(##hbgb##) 100%);\\n}\\n.dione .tp-bullet-title:after {\\n content:\\\\\\" \\\\\\";\\n position:absolute;\\n left:50%;\\n margin-left:-8px;\\n width: 0;\\n height: 0;\\n border-style: solid;\\n border-width: 8px 8px 0 8px;\\n border-color: rgba(##idlecolor##,0.65) transparent transparent transparent;\\n bottom:-8px;\\n }\\n\\n\\n\\/* VERTICAL RIGHT *\\/\\n.dione.nav-dir-vertical.nav-pos-hor-right .tp-bullet-title { \\n top:50%; right:##size##px; left:auto; bottom:auto; margin-right:10px; transform: translateX(-10px) translateY(-50%);-webkit-transform: translateX(-10px) translateY(-50%); \\n} \\n.dione.nav-dir-vertical.nav-pos-hor-right .tp-bullet-title:after { \\n border-width: 10px 0 10px 10px;\\n border-color: transparent transparent transparent rgba(##idlecolor##,0.65) ;\\n right:-10px;\\n left:auto; \\n bottom:auto;\\n top:10px; \\n}\\n\\n\\n.dione.nav-dir-vertical.nav-pos-hor-right .tp-bullet:hover .tp-bullet-title{\\n transform:translateY(-50%) translateX(0px);\\n -webkit-transform:translateY(-50%) translateX(0px);\\n}\\n\\n\\/* VERTICAL LEFT && CENTER*\\/\\n.dione.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title,\\n.dione.nav-dir-vertical.nav-pos-hor-center .tp-bullet-title { \\n top:50%; left:##size##px; right:auto; bottom:auto; margin-left:10px; transform: translateX(10px) translateY(-50%);-webkit-transform: translateX(10px) translateY(-50%); \\n} \\n.dione.nav-dir-vertical.nav-pos-hor-left .tp-bullet-title:after,\\n.dione.nav-dir-vertical.nav-pos-hor-center .tp-bullet-title:after { \\n border-width: 10px 10px 10px 0;\\n border-color: transparent rgba(##idlecolor##,0.65) transparent transparent ;\\n left:-2px;\\n right:auto; \\n bottom:auto;\\n top:10px; \\n}\\n\\n\\n.dione.nav-dir-vertical.nav-pos-hor-left .tp-bullet:hover .tp-bullet-title,\\n.dione.nav-dir-vertical.nav-pos-hor-center .tp-bullet:hover .tp-bullet-title{\\n transform:translateY(-50%) translateX(0px);\\n -webkit-transform:translateY(-50%) translateX(0px);\\n}\\n\\n\\n\\/* HORIZONTAL TOP *\\/\\n.dione.nav-dir-horizontal.nav-pos-ver-top .tp-bullet-title { \\n top:##size##px; left:50%; bottom:auto; margin-top:10px; right:auto; transform: translateX(-50%) translateY(10px);-webkit-transform: translateX(-50%) translateY(10px); \\n} \\n.dione.nav-dir-horizontal.nav-pos-ver-top .tp-bullet-title:after { \\n border-width: 0 10px 10px 10px;\\n border-color: transparent transparent rgba(##idlecolor##,0.65) transparent;\\n right:auto;\\n left:50%;\\n margin-left:-10px;\\n bottom:auto;\\n top:-10px;\\n \\n}\\n\\n\\n.dione.nav-dir-horizontal.nav-pos-ver-top .tp-bullet:hover .tp-bullet-title{\\n transform:translateX(-50%) translatey(0px);\\n -webkit-transform:translateX(-50%) translatey(0px);\\n}\\n\\n","arrows":".dione.tparrow
Line truncated
|
||||
'settings' => '{"width":{"thumbs":"200","arrows":"160","bullets":"160","tabs":"160"},"height":{"thumbs":"130","arrows":"160","bullets":"160","tabs":"31"},"original":{"css":{"bullets":".dione .tp-bullet { \\n opacity:1;\\n width:50px;\\n height:50px; \\n padding:3px;\\n background:#000;\\n background-color:rgba(0,0,0,0.25);\\n margin:0px;\\n box-sizing:border-box;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n\\n }\\n\\n.dione .tp-bullet-image {\\n display:block;\\n box-sizing:border-box;\\n position:relative;\\n -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);\\n width:44px;\\n height:44px;\\n background-size:cover;\\n background-position:center center;\\n } \\n.dione .tp-bullet-title { \\n position:absolute; \\n bottom:65px;\\n display:inline-block;\\n left:50%;\\n background:#000;\\n background:rgba(0,0,0,0.75);\\n color:#fff;\\n padding:10px 30px;\\n border-radius:4px;\\n -webkit-border-radius:4px;\\n opacity:0;\\n transition:all 0.3s;\\n -webkit-transition:all 0.3s;\\n transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n transform-origin:50% 100%;\\n -webkit-transform: translateZ(0.001px) translateX(-50%) translateY(14px);\\n -webkit-transform-origin:50% 100%;\\n opacity:0;\\n white-space:nowrap;\\n }\\n\\n.dione .tp-bullet:hover .tp-bullet-title {\\n transform:rotateX(0deg) translateX(-50%);\\n -webkit-transform:rotateX(0deg) translateX(-50%);\\n opacity:1;\\n}\\n\\n.dione .tp-bullet.selected,\\n.dione .tp-bullet:hover {\\n \\n background: rgba(255,255,255,1);\\n background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(119,119,119,1)));\\n background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);\\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\\"#ffffff\\", endColorstr=\\"#777777\\", GradientType=0 );\\n \\n }\\n.dione .tp-bullet-title:after {\\n content:\\" \\";\\n position:absolute;\\n left:50%;\\n margin-left:-8px;\\n width: 0;\\n height: 0;\\n border-style: solid;\\n border-width: 8px 8px 0 8px;\\n border-color: rgba(0,0,0,0.75) transparent transparent transparent;\\n bottom:-8px;\\n }\\n","arrows":".dione.tparrows {\\n height:100%;\\n width:100px;\\n background:transparent;\\n background:rgba(0,0,0,0);\\n line-height:100%;\\n transition:all 0.3s;\\n-webkit-transition:all 0.3s;\\n}\\n\\n.dione.tparrows:hover {\\n background:rgba(0,0,0,0.45);\\n }\\n.dione .tp-arr-imgwrapper {\\n width:100px;\\n left:0px;\\n position:absolute;\\n height:100%;\\n top:0px;\\n overflow:hidden;\\n }\\n.dione.tp-rightarrow .tp-arr-imgwrapper {\\nleft:auto;\\nright:0px;\\n}\\n\\n.dione .tp-arr-imgholder {\\nbackground-position:center center;\\nbackground-size:cover;\\nwidth:100px;\\nheight:100%;\\ntop:0px;\\nvisibility:hidden;\\ntransform:translateX(-50px);\\n-webkit-transform:translateX(-50px);\\ntransition:all 0.3s;\\n-webkit-transition:all 0.3s;\\nopacity:0;\\nleft:0px;\\n}\\n\\n.dione.tparrows.tp-rightarrow .tp-arr-imgholder {\\n right:0px;\\n left:auto;\\n transform:translateX(50px);\\n -webkit-transform:translateX(50px);\\n}\\n\\n.dione.tparrows:before {\\nposition:absolute;\\nline-height:30px;\\nmargin-left:-22px;\\ntop:50%;\\nleft:50%;\\nfont-size:30px;\\nmargin-top:-15px;\\ntransition:all 0.3s;\\n-webkit-transition:all 0.3s;\\n}\\n\\n.dione.tparrows.tp-rightarrow:before {\\nmargin-left:6px;\\n}\\n\\n.dione.tparrows:hover:before {\\n transform:translateX(-20px);\\n-webkit-transform:translateX(-20px);\\nopacity:0;\\n}\\n\\n.dione.tparrows.tp-rightarrow:hover:before {\\n transform:translateX(20px);\\n-webkit-transform:translateX(20px);\\n}\\n\\n.dione.tparrows:hover .tp-arr-imgholder {\\n transform:translateX(0px);\\n-webkit-transform:translateX(0px);\\nopacity:1;\\nvisibility:visible;\\n}\\n\\n"},"markup":{"bullets":"<span class=\\"tp-bullet-img-wrap\\">\\n <span class=\\"tp-bullet-image\\"><\\/span>\\n<\\/span>\\n<span class=\\"tp-bullet-title\\">{{title}}<\\/span>","arrows":"<div class=\\"tp-arr-imgwrapper\\">\\n<div class=\\"tp-arr-imgholder\\"><\\/div>\\n<\\/div>"}},"placeholders":["","","",{"title":"Arrow-Color","handle":"arrow-color","type":"color","nav-type":"arrows","data":{"color":"#ffffff"}},"","","","","","","","","","","","","","","",{"title":"Arrow-Size","handle":"arrow-s
Line truncated
|
||||
|
||||
$navigations[] = array(
|
||||
'id' => 5013,
|
||||
'default' => true,
|
||||
'name' => 'Uranus',
|
||||
'handle' => 'uranus',
|
||||
'markup' => '{"arrows":"","bullets":"<span class=\\\\\\"tp-bullet-inner\\\\\\"><\\/span>"}',
|
||||
'css' => '{"arrows":".uranus.tparrows {\\n width:##width##px;\\n height:##height##px;\\n background:rgba(##background##);\\n }\\n .uranus.tparrows:before {\\n width:##width##px;\\n height:##height##px;\\n line-height:##height##px;\\n font-size:##font-size##px;\\n transition:all 0.3s;\\n-webkit-transition:all 0.3s;\\n }\\n \\n .uranus.tparrows:hover:before {\\n opacity:0.75;\\n }","bullets":".uranus .tp-bullet{\\n border-radius: 50%;\\n box-shadow: 0 0 0 2px rgba(##color##, 0);\\n -webkit-transition: box-shadow 0.3s ease;\\n transition: box-shadow 0.3s ease;\\n background:transparent;\\n width:##size##px;\\n height:##size##px;\\n}\\n.uranus .tp-bullet.selected,\\n.uranus .tp-bullet:hover {\\n box-shadow: 0 0 0 2px rgba(##color##,1);\\n border:none;\\n border-radius: 50%;\\n background:transparent;\\n}\\n\\n.uranus .tp-bullet-inner {\\n -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;\\n transition: background-color 0.3s ease, transform 0.3s ease;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n border-radius: 50%;\\n background-color: rgb(##color##);\\n background-color: rgba(##color##, 0.3);\\n text-indent: -999em;\\n cursor: pointer;\\n position: absolute;\\n}\\n\\n.uranus .tp-bullet.selected .tp-bullet-inner,\\n.uranus .tp-bullet:hover .tp-bullet-inner{\\n transform: scale(0.4);\\n -webkit-transform: scale(0.4);\\n background-color:rgb(##color##);\\n}"}',
|
||||
'settings' => '{"width":{"thumbs":"200","arrows":"160","bullets":"160","tabs":"160"},"height":{"thumbs":"130","arrows":"160","bullets":"160","tabs":"31"},"original":{"css":{"arrows":".uranus.tparrows {\\n width:50px;\\n height:50px;\\n background:transparent;\\n }\\n .uranus.tparrows:before {\\n width:50px;\\n height:50px;\\n line-height:50px;\\n font-size:40px;\\n transition:all 0.3s;\\n-webkit-transition:all 0.3s;\\n }\\n \\n .uranus.tparrows:hover:before {\\n opacity:0.75;\\n }","bullets":".uranus .tp-bullet{\\n\\tborder-radius: 50%;\\n box-shadow: 0 0 0 2px rgba(255, 255, 255, 0);\\n -webkit-transition: box-shadow 0.3s ease;\\n transition: box-shadow 0.3s ease;\\n background:transparent;\\n}\\n.uranus .tp-bullet.selected,\\n.uranus .tp-bullet:hover {\\n box-shadow: 0 0 0 2px #FFF;\\n border:none;\\n border-radius: 50%;\\n\\n background:transparent;\\n}\\n\\n\\n\\n.uranus .tp-bullet-inner {\\n background-color: rgba(255, 255, 255, 0.7);\\n -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;\\n transition: background-color 0.3s ease, transform 0.3s ease;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n border-radius: 50%;\\n background-color: #FFF;\\n background-color: rgba(255, 255, 255, 0.3);\\n text-indent: -999em;\\n cursor: pointer;\\n position: absolute;\\n}\\n\\n.uranus .tp-bullet.selected .tp-bullet-inner,\\n.uranus .tp-bullet:hover .tp-bullet-inner{\\n transform: scale(0.4);\\n -webkit-transform: scale(0.4);\\n background-color:#fff;\\n}"},"markup":{"arrows":"","bullets":"<span class=\\"tp-bullet-inner\\"><\\/span>"}},"placeholders":["",{"title":"Height","handle":"height","type":"custom","nav-type":"arrows","data":{"custom":"50"}},{"title":"Font-Size","handle":"font-size","type":"custom","nav-type":"arrows","data":{"custom":"40"}},{"title":"BG-Color","handle":"background","type":"color-rgba","nav-type":"arrows","data":{"color-rgba":"rgba(255,255,255,0)"}},{"title":"Size","handle":"size","type":"custom","nav-type":"bullets","data":{"custom":"15"}},{"title":"Color","handle":"color","type":"color","nav-type":"bullets","data":{"color":"#ffffff"}},{"title":"Width","handle":"width","type":"custom","nav-type":"arrows","data":{"custom":"50"}}],"presets":[{"name":"test","handle":"test","type":"arrows","values":{"ph-uranus-arrows-width-custom":"50","ph-uranus-arrows-background-color-rgba":"rgba(255,255,255,0)"}},{"name":"test2","handle":"test2","type":"arrows","values":{"ph-uranus-arrows-width-custom":"50"}}]}');
|
||||
|
||||
|
||||
return apply_filters('revslider_mod_default_navigations', $navigations);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Translate Navigation for backwards compatibility
|
||||
* @since: 5.0
|
||||
**/
|
||||
public static function translate_navigation($handle){
|
||||
switch($handle){
|
||||
case 'round':
|
||||
$handle = 'hesperiden';
|
||||
break;
|
||||
case 'navbar':
|
||||
$handle = 'gyges';
|
||||
break;
|
||||
case 'preview1':
|
||||
$handle = 'hades';
|
||||
break;
|
||||
case 'preview2':
|
||||
$handle = 'ares';
|
||||
break;
|
||||
case 'preview3':
|
||||
$handle = 'hebe';
|
||||
break;
|
||||
case 'preview4':
|
||||
$handle = 'hermes';
|
||||
break;
|
||||
case 'custom':
|
||||
$handle = 'custom';
|
||||
break;
|
||||
case 'round-old':
|
||||
$handle = 'hephaistos';
|
||||
break;
|
||||
case 'square-old':
|
||||
$handle = 'persephone';
|
||||
break;
|
||||
case 'navbar-old':
|
||||
$handle = 'erinyen';
|
||||
break;
|
||||
}
|
||||
|
||||
return $handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if given Navigation is custom, if yes, export it
|
||||
* @since: 5.1.1
|
||||
**/
|
||||
public static function export_navigation($nav_handle){
|
||||
$navs = self::get_all_navigations(false, true);
|
||||
|
||||
if(!is_array($nav_handle)) $nav_handle = array($nav_handle => true);
|
||||
|
||||
|
||||
$entries = array();
|
||||
if(!empty($nav_handle) && !empty($navs)){
|
||||
foreach($nav_handle as $handle => $u){
|
||||
foreach($navs as $n => $v){
|
||||
if($v['handle'] == $handle){
|
||||
$entries[$handle] = $navs[$n];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!empty($entries)) return $entries;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check the CSS for placeholders, replace them with correspinding values
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public function add_placeholder_modifications($css, $handle, $type, $settings, $slider, $output){
|
||||
$slider_preset = '';
|
||||
|
||||
switch($type){
|
||||
case 'arrows':
|
||||
$slider_preset = 'navigation_arrows_preset';
|
||||
break;
|
||||
case 'bullets':
|
||||
$slider_preset = 'navigation_bullets_preset';
|
||||
break;
|
||||
case 'thumbs':
|
||||
$slider_preset = 'navigation_thumbs_preset';
|
||||
break;
|
||||
case 'tabs':
|
||||
$slider_preset = 'navigation_tabs_preset';
|
||||
break;
|
||||
default:
|
||||
return $css;
|
||||
}
|
||||
|
||||
if(!is_array($settings)) $settings = json_decode($settings, true);
|
||||
//check if custom, default or an preset is choosen
|
||||
$preset = $slider->getParam($slider_preset, 'default');
|
||||
if(isset($settings['placeholders']) && is_array($settings['placeholders']) && !empty($settings['placeholders'])){
|
||||
|
||||
switch($preset){
|
||||
case 'default': //we have no modifications, just wait after the switch where all undone ones are done
|
||||
break;
|
||||
case 'custom': //do all the modifications
|
||||
foreach($settings['placeholders'] as $ph){
|
||||
if(empty($ph)) continue;
|
||||
if($ph['nav-type'] !== $type) continue;
|
||||
|
||||
foreach($ph['data'] as $k => $d){
|
||||
$def = $slider->getParam('ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k.'-def', 'off');
|
||||
$replace = ($def == 'off') ? $d : $slider->getParam('ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k, $d);
|
||||
|
||||
$replace = $this->check_css_convert($replace, $ph['type']);
|
||||
|
||||
$css = str_replace('##'.$ph['handle'].'##', $replace, $css);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default: //we have a selected preset, check for availability and do all of the checked in preset
|
||||
if(isset($settings['presets']) && !empty($settings['presets'])){
|
||||
foreach($settings['presets'] as $spreset){
|
||||
if($preset !== $spreset['handle']) continue;
|
||||
if($spreset['type'] !== $type) continue;
|
||||
|
||||
foreach($settings['placeholders'] as $ph){
|
||||
if(empty($ph)) continue;
|
||||
if($ph['nav-type'] !== $type) continue;
|
||||
|
||||
foreach($ph['data'] as $k => $d){
|
||||
if(isset($spreset['values']['ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k])){
|
||||
$d = $this->check_css_convert($spreset['values']['ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k], $ph['type']);
|
||||
|
||||
$css = str_replace('##'.$ph['handle'].'##', $d, $css);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
foreach($settings['placeholders'] as $ph){ //for 'default' and default: //which is a preset (as a preset does not need to have all replaced, so we do the rest that is not selected
|
||||
if(empty($ph)) continue;
|
||||
if($ph['nav-type'] !== $type) continue;
|
||||
|
||||
foreach($ph['data'] as $k => $d){
|
||||
|
||||
$d = $this->check_css_convert($d, $ph['type']);
|
||||
$css = str_replace('##'.$ph['handle'].'##', $d, $css);
|
||||
}
|
||||
}
|
||||
|
||||
//add slider id before class, now in a more proper way done
|
||||
//$css_raw = RevSliderCssParser::parseCssToArray($css);
|
||||
/*if(!empty($css_raw)){
|
||||
$css_new = array();
|
||||
foreach($css_raw as $css_class => $css_values){
|
||||
$css_class_raw = (strpos($css_class, ',') !== false) ? explode(',', $css_class) : (array)$css_class;
|
||||
foreach($css_class_raw as $cck => $ccv){
|
||||
$pos = strpos($ccv, '.'.$handle);
|
||||
if($pos !== false){
|
||||
$ccv = substr_replace($ccv, '#'.$output->getSliderHtmlID().' .'.$handle, $pos, strlen('.'.$handle));
|
||||
$css_class_raw[$cck] = $ccv;
|
||||
}
|
||||
}
|
||||
$css_class_raw = implode(',', $css_class_raw);
|
||||
$css_new[$css_class_raw] = $css_values;
|
||||
}
|
||||
$css = $css_new;
|
||||
$css = RevSliderCssParser::parseSimpleArrayToCss($css);
|
||||
}*/
|
||||
|
||||
$css = str_replace('.'.$handle, '#'.$output->getSliderHtmlID().' .'.$handle, $css);
|
||||
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check for example if the type is color or color-rgba and change hex and rgba values to fit our needs
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public function check_css_convert($css, $type){
|
||||
if($type == 'color' || $type == 'color-rgba'){
|
||||
//modify css
|
||||
$css = $this->convert_any_rgb_or_rgba($css, $type);
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* change rgb, rgba and hex to rgba like 120,130,50,0.5 (no () and rgb/rgba)
|
||||
* @since: 3.0.0
|
||||
**/
|
||||
public static function parse_css_to_array($css){
|
||||
|
||||
while(strpos($css, '/*') !== false){
|
||||
if(strpos($css, '*/') === false) return false;
|
||||
$start = strpos($css, '/*');
|
||||
$end = strpos($css, '*/') + 2;
|
||||
$css = str_replace(substr($css, $start, $end - $start), '', $css);
|
||||
}
|
||||
|
||||
//preg_match_all( '/(?ims)([a-z0-9\s\.\:#_\-@]+)\{([^\}]*)\}/', $css, $arr);
|
||||
preg_match_all( '/(?ims)([a-z0-9\,\s\.\:#_\-@]+)\{([^\}]*)\}/', $css, $arr);
|
||||
|
||||
$result = array();
|
||||
foreach ($arr[0] as $i => $x){
|
||||
$selector = trim($arr[1][$i]);
|
||||
if(strpos($selector, '{') !== false || strpos($selector, '}') !== false) return false;
|
||||
$rules = explode(';', trim($arr[2][$i]));
|
||||
$result[$selector] = array();
|
||||
foreach ($rules as $strRule){
|
||||
if (!empty($strRule)){
|
||||
$rule = explode(":", $strRule);
|
||||
if(strpos($rule[0], '{') !== false || strpos($rule[0], '}') !== false || strpos($rule[1], '{') !== false || strpos($rule[1], '}') !== false) return false;
|
||||
|
||||
//put back everything but not $rule[0];
|
||||
$key = trim($rule[0]);
|
||||
unset($rule[0]);
|
||||
$values = implode(':', $rule);
|
||||
|
||||
$result[$selector][trim($key)] = trim(str_replace("'", '"', $values));
|
||||
}
|
||||
}
|
||||
}
|
||||
return($result);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* change rgb, rgba and hex to rgba like 120,130,50,0.5 (no () and rgb/rgba)
|
||||
* @since: x.x.x
|
||||
**/
|
||||
public function convert_any_rgb_or_rgba($css, $type){
|
||||
if(strpos($css, 'rgb') !== false){
|
||||
//$css = explode(')', explode('(', $css)[1])[0];
|
||||
$css_1 = explode('(', $css);
|
||||
$css_2 = explode(')', $css_1[1]);
|
||||
$css = $css_2[0];
|
||||
|
||||
}else{
|
||||
if($type === "color-rgba"){
|
||||
$css = RevSliderFunctions::hex2rgba($css, false, true);
|
||||
}else{
|
||||
$css = RevSliderFunctions::hex2rgba($css, false, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
if($type === "color-rgba" && count(explode(',', $css)) < 4) $css .= ',1';
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check the CSS for placeholders, replace them with correspinding values
|
||||
* @since: x.x.x
|
||||
**/
|
||||
public function add_placeholder_sub_modifications($css, $handle, $type, $settings, $slide, $output){
|
||||
|
||||
$c_css = '';
|
||||
|
||||
if(!is_array($settings)) $settings = json_decode($settings, true);
|
||||
|
||||
if(isset($settings['placeholders']) && is_array($settings['placeholders']) && !empty($settings['placeholders'])){
|
||||
|
||||
//first check for media queries, generate more than one staple
|
||||
$marr = RevSliderCssParser::parse_media_blocks($css);
|
||||
|
||||
if(!empty($marr)){//handle them separated
|
||||
foreach($marr as $media => $mr){
|
||||
$css = str_replace($mr, '', $css);
|
||||
|
||||
//clean @media query from $mr
|
||||
$mr = RevSliderCssParser::clear_media_block($mr);
|
||||
|
||||
//remove media query and bracket
|
||||
$d = RevSliderCssParser::parseCssToArray($mr);
|
||||
|
||||
$ret = $this->preset_return_array_css($d, $settings, $slide, $handle, $type, $output);
|
||||
if(trim($ret) !== ''){
|
||||
$c_css .= "\n".$media.' {'."\n";
|
||||
$c_css .= $ret;
|
||||
$c_css .= "\n".'}'."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$c = RevSliderCssParser::parseCssToArray($css);
|
||||
|
||||
$c_css .= $this->preset_return_array_css($c, $settings, $slide, $handle, $type, $output);
|
||||
}
|
||||
|
||||
return $c_css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns Array CSS modifications
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public function preset_return_array_css($c, $settings, $slide, $handle, $type, $output){
|
||||
$c_css = '';
|
||||
$array_css = array();
|
||||
|
||||
if(!empty($c)){
|
||||
foreach($settings['placeholders'] as $ph){
|
||||
if(empty($ph)) continue;
|
||||
if($ph['nav-type'] !== $type) continue;
|
||||
|
||||
foreach($ph['data'] as $k => $d){
|
||||
$get_from = $slide->getParam('ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k.'-slide', 'off');
|
||||
if($get_from == 'on'){ //get from Slide
|
||||
foreach($c as $class => $styles){
|
||||
foreach($styles as $name => $val){
|
||||
if(strpos($val, '##'.$ph['handle'].'##') !== false){
|
||||
$e = $this->check_css_convert($slide->getParam('ph-'.$handle.'-'.$type.'-'.$ph['handle'].'-'.$k), $ph['type']);
|
||||
$array_css[$class][$name] = str_replace('##'.$ph['handle'].'##', $e, $val);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($array_css)){
|
||||
foreach($array_css as $class => $styles){
|
||||
if(!empty($styles)){
|
||||
//class needs to get current slider and slide id
|
||||
$slide_id = $slide->getID();
|
||||
if($slide->getParam('slide_id','') !== '') $slide_id = esc_attr($slide_id);
|
||||
|
||||
$class = str_replace('.'.$handle, '#'.$output->getSliderHtmlID().'[data-slideactive="rs-'.$slide_id.'"] .'.$handle, $class);
|
||||
|
||||
$c_css .= $class.'{'."\n";
|
||||
foreach($styles as $style => $value){
|
||||
$c_css .= $style.': '.$value.' !important;'."\n";
|
||||
}
|
||||
$c_css .= '}'."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $c_css;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add Navigation Preset to existing navigation
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public function add_preset($data){
|
||||
|
||||
if(!isset($data['navigation'])) return false;
|
||||
|
||||
$navs = self::get_all_navigations();
|
||||
|
||||
foreach($navs as $nav){
|
||||
if($nav['handle'] == $data['navigation']){ //found the navigation, get ID and update settings
|
||||
|
||||
//check if default, they cant have presets in the table
|
||||
if(isset($nav['default']) && $nav['default'] == true){
|
||||
//check if we are a default preset, if yes return error
|
||||
if(isset($nav['settings']['presets'])){
|
||||
foreach($nav['settings']['presets'] as $prkey => $preset){
|
||||
if($preset['handle'] == $data['handle']){
|
||||
if(!isset($preset['editable'])){
|
||||
return __('Can\'t modify a default preset of default navigations', 'revslider');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//we want to add the preset somewhere
|
||||
$overwrite = false;
|
||||
$default_presets = get_option('revslider-nav-preset-default', array());
|
||||
if(!empty($default_presets) && isset($default_presets[$nav['id']])){
|
||||
|
||||
foreach($default_presets[$nav['id']] as $prkey => $preset){
|
||||
if($preset['handle'] == $data['handle']){
|
||||
if($data['do_overwrite'] === false || $data['do_overwrite'] === 'false'){
|
||||
return __('Preset handle already exists, please choose a different name', 'revslider');
|
||||
}
|
||||
|
||||
$default_presets[$nav['id']][$prkey] = array(
|
||||
'name' => esc_attr($data['name']),
|
||||
'handle' => esc_attr($data['handle']),
|
||||
'type' => esc_attr($data['type']),
|
||||
'values' => $data['values'],
|
||||
'editable' => true
|
||||
);
|
||||
|
||||
$overwrite = true;
|
||||
}
|
||||
}
|
||||
}/*else{
|
||||
$default_presets = array();
|
||||
}*/
|
||||
|
||||
if($overwrite === false){
|
||||
$default_presets[$nav['id']][] = array(
|
||||
'name' => esc_attr($data['name']),
|
||||
'handle' => esc_attr($data['handle']),
|
||||
'type' => esc_attr($data['type']),
|
||||
'values' => $data['values'],
|
||||
'editable' => true
|
||||
);
|
||||
}
|
||||
|
||||
update_option('revslider-nav-preset-default', $default_presets);
|
||||
|
||||
//return __('Can\'t add a preset to default navigations', 'revslider');
|
||||
}else{
|
||||
|
||||
$overwrite = false;
|
||||
|
||||
if(isset($nav['settings']['presets'])){
|
||||
foreach($nav['settings']['presets'] as $prkey => $preset){
|
||||
if($preset['handle'] == $data['handle']){
|
||||
if($data['do_overwrite'] === false || $data['do_overwrite'] === 'false'){
|
||||
return __('Preset handle already exists, please choose a different name', 'revslider');
|
||||
}
|
||||
|
||||
$nav['settings']['presets'][$prkey] = array(
|
||||
'name' => esc_attr($data['name']),
|
||||
'handle' => esc_attr($data['handle']),
|
||||
'type' => esc_attr($data['type']),
|
||||
'values' => $data['values']
|
||||
);
|
||||
|
||||
$overwrite = true;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
$nav['settings']['presets'] = array();
|
||||
}
|
||||
|
||||
if($overwrite === false){
|
||||
$nav['settings']['presets'][] = array(
|
||||
'name' => esc_attr($data['name']),
|
||||
'handle' => esc_attr($data['handle']),
|
||||
'type' => esc_attr($data['type']),
|
||||
'values' => $data['values']
|
||||
);
|
||||
}
|
||||
|
||||
global $wpdb;
|
||||
|
||||
//save this navigation
|
||||
$response = $wpdb->update($wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME,
|
||||
array(
|
||||
'settings' => json_encode($nav['settings'])
|
||||
),
|
||||
array('id' => $nav['id'])
|
||||
);
|
||||
|
||||
if($response == 0) $response = false;
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return __('Navigation not found, could not add preset', 'revslider');
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add Navigation Preset to existing navigation
|
||||
* @since: 5.2.0
|
||||
**/
|
||||
public function delete_preset($data){
|
||||
|
||||
if(!isset($data['style_handle']) || !isset($data['handle']) || !isset($data['type'])) return false;
|
||||
|
||||
$navs = self::get_all_navigations();
|
||||
|
||||
foreach($navs as $nav){
|
||||
if($nav['handle'] == $data['style_handle']){ //found the navigation, get ID and update settings
|
||||
|
||||
//check if default, they cant have presets
|
||||
if(isset($nav['default']) && $nav['default'] == true){
|
||||
$default_presets = get_option('revslider-nav-preset-default', array());
|
||||
if(!empty($default_presets) && isset($default_presets[$nav['id']])){
|
||||
|
||||
foreach($default_presets[$nav['id']] as $prkey => $preset){
|
||||
if($preset['handle'] == $data['handle']){
|
||||
unset($default_presets[$nav['id']][$prkey]);
|
||||
|
||||
update_option('revslider-nav-preset-default', $default_presets);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return __('Can\'t delete default preset of default navigations', 'revslider');
|
||||
}
|
||||
return __('Preset not found in default navigations', 'revslider');
|
||||
}else{
|
||||
|
||||
if(isset($nav['settings']['presets'])){
|
||||
foreach($nav['settings']['presets'] as $pkey =>$preset){
|
||||
if($preset['handle'] == $data['handle']){
|
||||
//delete
|
||||
unset($nav['settings']['presets'][$pkey]);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
return __('Preset not found', 'revslider');
|
||||
}
|
||||
|
||||
global $wpdb;
|
||||
|
||||
//save this navigation
|
||||
$response = $wpdb->update($wpdb->prefix.RevSliderGlobals::TABLE_NAVIGATION_NAME,
|
||||
array(
|
||||
'settings' => json_encode($nav['settings'])
|
||||
),
|
||||
array('id' => $nav['id'])
|
||||
);
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return __('Navigation not found, could not delete preset', 'revslider');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,151 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2016 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderPageTemplate {
|
||||
|
||||
/**
|
||||
* A reference to an instance of this class.
|
||||
*/
|
||||
private static $instance;
|
||||
|
||||
/**
|
||||
* The array of templates that this plugin tracks.
|
||||
*/
|
||||
protected $templates;
|
||||
|
||||
|
||||
/**
|
||||
* Returns an instance of this class.
|
||||
*/
|
||||
public static function get_instance() {
|
||||
|
||||
if( null == self::$instance ) {
|
||||
self::$instance = new RevSliderPageTemplate();
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the plugin by setting filters and administration functions.
|
||||
*/
|
||||
private function __construct() {
|
||||
|
||||
$this->templates = array();
|
||||
|
||||
|
||||
// Add a filter to the attributes metabox to inject template into the cache.
|
||||
add_filter(
|
||||
'page_attributes_dropdown_pages_args',
|
||||
array( $this, 'register_project_templates' )
|
||||
);
|
||||
|
||||
|
||||
// Add a filter to the save post to inject out template into the page cache
|
||||
add_filter(
|
||||
'wp_insert_post_data',
|
||||
array( $this, 'register_project_templates' )
|
||||
);
|
||||
|
||||
|
||||
// Add a filter to the template include to determine if the page has our
|
||||
// template assigned and return it's path
|
||||
add_filter(
|
||||
'template_include',
|
||||
array( $this, 'view_project_template')
|
||||
);
|
||||
|
||||
|
||||
// Add your templates to this array.
|
||||
$this->templates = array(
|
||||
'../public/views/revslider-page-template.php' => 'Slider Revolution Blank Template',
|
||||
);
|
||||
|
||||
// Fix for WP 4.7
|
||||
add_filter( 'theme_page_templates', array($this, 'register_project_templates_new' ) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Adds our template to the new post templates setting (WP >= 4.7)
|
||||
public function register_project_templates_new( $post_templates ) {
|
||||
|
||||
$post_templates = array_merge( $post_templates, $this->templates );
|
||||
|
||||
return $post_templates;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds our template to the pages cache in order to trick WordPress
|
||||
* into thinking the template file exists where it doens't really exist.
|
||||
*
|
||||
*/
|
||||
|
||||
public function register_project_templates( $atts ) {
|
||||
|
||||
// Create the key used for the themes cache
|
||||
$cache_key = 'page_templates-' . md5( get_theme_root() . '/' . get_stylesheet() );
|
||||
|
||||
// Retrieve the cache list.
|
||||
// If it doesn't exist, or it's empty prepare an array
|
||||
$templates = wp_get_theme()->get_page_templates();
|
||||
|
||||
if ( empty( $templates ) ) {
|
||||
$templates = array();
|
||||
}
|
||||
|
||||
// New cache, therefore remove the old one
|
||||
wp_cache_delete( $cache_key , 'themes');
|
||||
|
||||
// Now add our template to the list of templates by merging our templates
|
||||
// with the existing templates array from the cache.
|
||||
$templates = array_merge( $templates, $this->templates );
|
||||
|
||||
// Add the modified cache to allow WordPress to pick it up for listing
|
||||
// available templates
|
||||
wp_cache_add( $cache_key, $templates, 'themes', 1800 );
|
||||
|
||||
return $atts;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the template is assigned to the page
|
||||
*/
|
||||
public function view_project_template( $template ) {
|
||||
|
||||
global $post;
|
||||
|
||||
if(!isset($post->ID)) return $template;
|
||||
|
||||
if (!isset($this->templates[get_post_meta(
|
||||
$post->ID, '_wp_page_template', true
|
||||
)] ) ) {
|
||||
|
||||
return $template;
|
||||
|
||||
}
|
||||
|
||||
$file = plugin_dir_path(__FILE__). get_post_meta(
|
||||
$post->ID, '_wp_page_template', true
|
||||
);
|
||||
|
||||
// Just to be safe, we check if the file exist first
|
||||
if( file_exists( $file ) ) {
|
||||
return $file;
|
||||
}
|
||||
else { echo $file; }
|
||||
|
||||
return $template;
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,422 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderTinyBox {
|
||||
|
||||
protected static $instanceIndex = 1;
|
||||
|
||||
public function __construct(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Add interface for custom shortcodes to tinymce
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function add_tinymce_editor(){
|
||||
global $typenow, $pagenow;
|
||||
|
||||
// check user permissions
|
||||
if (!current_user_can('edit_posts') && !current_user_can('edit_pages')) return;
|
||||
|
||||
$post_types = get_post_types();
|
||||
if(!is_array($post_types)) $post_types = array( 'post', 'page' );
|
||||
// verify the post type
|
||||
if(!in_array($typenow, $post_types)) return;
|
||||
if((isset($_GET['action']) && $_GET['action'] == 'edit') || (isset($_GET['vc_action']) && $_GET['vc_action'] == 'vc_inline') || $pagenow == 'post-new.php'){
|
||||
// check if WYSIWYG is enabled
|
||||
if(get_user_option('rich_editing') == 'true'){
|
||||
add_filter('mce_external_plugins', array('RevSliderTinyBox', 'add_tinymce_shortcode_editor_plugin'));
|
||||
add_filter('mce_buttons', array('RevSliderTinyBox', 'add_tinymce_shortcode_editor_button'));
|
||||
}
|
||||
|
||||
add_action('in_admin_footer', array('RevSliderTinyBox', 'add_tiny_mce_shortcode_dialog'));
|
||||
}else{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Allow for VC to use this plugin
|
||||
*/
|
||||
public static function visual_composer_include(){
|
||||
if(@is_user_logged_in()){
|
||||
|
||||
if(!function_exists('vc_map') || !function_exists('vc_action')) return false;
|
||||
|
||||
if('true' === vc_request_param('vc_editable') || 'vc_inline' === vc_action() || is_admin()){
|
||||
add_action( 'init', array('RevSliderTinyBox', 'add_to_VC' ));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static function add_to_VC() {
|
||||
|
||||
//wp_enqueue_script('revslider-admin-script', RS_PLUGIN_URL.'admin/assets/js/admin.js', array('jquery'), RevSliderGlobals::SLIDER_REVISION );
|
||||
wp_enqueue_script('wpdialogs', 'jquery-ui-sortable', 'jquery-ui-dialog');
|
||||
wp_enqueue_style('wp-jquery-ui-dialog');
|
||||
|
||||
vc_map( array(
|
||||
'name' => __('Revolution Slider 5', 'revslider'),
|
||||
'base' => 'rev_slider',
|
||||
'icon' => 'icon-wpb-revslider',
|
||||
'category' => __('Content', 'revslider'),
|
||||
'show_settings_on_create' => false,
|
||||
'js_view' => 'VcSliderRevolution',
|
||||
'admin_enqueue_js' => RS_PLUGIN_URL.'admin/assets/js/vc.js',
|
||||
'front_enqueue_js' => RS_PLUGIN_URL.'admin/assets/js/vc.js',
|
||||
'params' => array(
|
||||
array(
|
||||
'type' => 'rev_slider_shortcode',
|
||||
'heading' => __('Alias', 'revslider'),
|
||||
'param_name' => 'alias',
|
||||
'admin_label' => true,
|
||||
'value' => ''
|
||||
),
|
||||
array(
|
||||
'type' => 'rev_slider_shortcode',
|
||||
'heading' => __('Order', 'revslider'),
|
||||
'param_name' => 'order',
|
||||
'admin_label' => true,
|
||||
'value' => ''
|
||||
)
|
||||
)
|
||||
) );
|
||||
|
||||
if(version_compare(WPB_VC_VERSION, '4.4', '>=')){ //use if 4.4 or newer
|
||||
vc_add_shortcode_param('rev_slider_shortcode', array('RevSliderTinyBox', 'revslider_shortcode_settings_field'));
|
||||
}else{ //use if older than 4.4
|
||||
add_shortcode_param('rev_slider_shortcode', array('RevSliderTinyBox', 'revslider_shortcode_settings_field'));
|
||||
}
|
||||
|
||||
//if ( vc_is_frontend_ajax() || vc_is_frontend_editor() ) {
|
||||
// remove_filter( 'vc_revslider_shortcode', array( 'Vc_Vendor_Revslider', 'setId' ) );
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
//public function setId( $output ) {
|
||||
// return preg_replace( '/rev_slider_(\d+)_(\d+)/', 'rev_slider_$1_$2' . time() . '_' . self::$instanceIndex ++, $output );
|
||||
//}
|
||||
|
||||
|
||||
/**
|
||||
* The Dialog for Visual Composer
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function revslider_shortcode_settings_field($settings, $value) {
|
||||
|
||||
return '<div class="rev_slider_shortcode_block">'
|
||||
.'<input id="rs-vc-input-'.$settings['param_name'].'" name="'.$settings['param_name']
|
||||
.'" class="wpb_vc_param_value wpb-textinput '
|
||||
.$settings['param_name'].' '.$settings['type'].'_field" type="text" value="'
|
||||
.$value.'" />'
|
||||
.'</div>';
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add script tinymce shortcode script
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function add_tinymce_shortcode_editor_plugin($plugin_array){
|
||||
|
||||
$plugin_array['revslider_sc_button'] = RS_PLUGIN_URL . 'admin/assets/js/tinymce-shortcode-script.js';
|
||||
|
||||
return $plugin_array;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Add button to tinymce
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function add_tinymce_shortcode_editor_button($buttons){
|
||||
|
||||
array_push($buttons, "revslider_sc_button");
|
||||
|
||||
return $buttons;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add dialog for shortcode generator
|
||||
* @since: 5.1.1
|
||||
*/
|
||||
public static function add_tiny_mce_shortcode_dialog(){
|
||||
?>
|
||||
<div id="revslider-tiny-mce-dialog" tabindex="-1" action="" title="" style="display: none; ">
|
||||
<form id="revslider-tiny-mce-settings-form" action="">
|
||||
<!-- STEP 1 -->
|
||||
<div id="revslider-tiny-dialog-step-1">
|
||||
<p class="revslider-quicktitle"></p>
|
||||
<?php
|
||||
self::add_step_1_markup();
|
||||
?>
|
||||
<div class="revslider-stepnavigator">
|
||||
<span class="revslider-currentstep"><strong><?php _e('STEP 1', 'revslider'); ?></strong><?php _e('Select / Create Slider', 'revslider'); ?></span>
|
||||
<span class="revslider-step-actions-wrapper">
|
||||
<a href="javascript:void(0);" class="button-primary nonclickable" id="rs-modify-predefined-slider"><span class="dashicons dashicons-admin-generic"></span><?php _e('Quick Modify Slider', 'revslider'); ?></a>
|
||||
<a href="javascript:void(0);" class="button-primary nonclickable" id="rs-add-predefined-slider"><span class="dashicons dashicons-migrate"></span><?php _e('Add Selected Slider', 'revslider'); ?></a>
|
||||
</span>
|
||||
<span style="clear:both;width:100%;display:block"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- STEP 1.5 -->
|
||||
<div id="revslider-tiny-dialog-step-1-5" style="display: none;">
|
||||
<p class="revslider-quicktitle"></p>
|
||||
<div id="revslider-tiny-settings-wrap" class="revslider-quick-inner-wrapper" style="padding-right:0px;padding-bottom:0px;">
|
||||
<ul class="rs-mod-slides-wrapper">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="revslider-stepnavigator"><span class="revslider-currentstep"><strong><?php _e('STEP 2', 'revslider'); ?></strong><?php _e('Quick Modify / Add Slider', 'revslider'); ?></span>
|
||||
<span class="revslider-step-actions-wrapper">
|
||||
<a href="javascript:void(0);" class="button-primary rs-goto-step-1"><span class="dashicons dashicons-arrow-left-alt"></span><?php _e('Select Slider', 'revslider'); ?></a>
|
||||
<a href="javascript:void(0);" class="button-primary " id="revslider-add-custom-shortcode-modify"><span class="dashicons dashicons-migrate"></span><?php _e('Add Selected Slider', 'revslider'); ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
jQuery("document").ready(function() {
|
||||
jQuery('body').on('click', '.slide-published.pubclickable', function(){
|
||||
var li = jQuery(this).closest('li');
|
||||
li.find('.slide-published').removeClass("pubclickable");
|
||||
li.find('.slide-unpublished').addClass("pubclickable");
|
||||
});
|
||||
jQuery('body').on('click', '.slide-unpublished.pubclickable', function(){
|
||||
var li = jQuery(this).closest('li');
|
||||
li.find('.slide-published').addClass("pubclickable");
|
||||
li.find('.slide-unpublished').removeClass("pubclickable");
|
||||
});
|
||||
|
||||
jQuery('body').on('click', '.slide-hero-published.pubclickable', function(){
|
||||
var li = jQuery(this).closest('li');
|
||||
jQuery('.slide-link-published-wrapper').each(function(){
|
||||
jQuery(this).find('.slide-hero-published').addClass("pubclickable");
|
||||
jQuery(this).find('.slide-hero-unpublished').removeClass("pubclickable");
|
||||
});
|
||||
li.find('.slide-hero-published').removeClass("pubclickable");
|
||||
li.find('.slide-hero-unpublished').addClass("pubclickable");
|
||||
});
|
||||
jQuery('body').on('click', '.slide-hero-unpublished.pubclickable', function(){
|
||||
var li = jQuery(this).closest('li');
|
||||
jQuery('.slide-link-published-wrapper').each(function(){
|
||||
jQuery(this).find('.slide-hero-published').addClass("pubclickable");
|
||||
jQuery(this).find('.slide-hero-unpublished').removeClass("pubclickable");
|
||||
});
|
||||
li.find('.slide-hero-published').addClass("pubclickable");
|
||||
//li.find('.slide-hero-unpublished').removeClass("pubclickable");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/html" id="tmpl-rs-modify-slide-wrap">
|
||||
<li id="slidelist_item_{{ data.id }}" class="rs-slide-modify-li">
|
||||
<span class="mini-transparent mini-as-bg"></span>
|
||||
<div class="rs-slide-modify-container {{ data.bg_extraClass }}" {{{ data.bg_fullstyle }}}></div>
|
||||
<i class="slide-link-forward eg-icon-forward"></i>
|
||||
|
||||
<span class="slide-link-published-wrapper">
|
||||
<# if(data.slider_type !== 'hero'){ #>
|
||||
<# if(data.state == 'published'){ #>
|
||||
<span class="slide-published" ></span>
|
||||
<span class="slide-unpublished pubclickable"></span>
|
||||
<# }else{ #>
|
||||
<span class="slide-unpublished"></span>
|
||||
<span class="slide-published pubclickable"></span>
|
||||
<# } #>
|
||||
<# }else{ #>
|
||||
<# if(data.active_slide == data.id || data.active_slide == -1){ #> <?php /* || data.active_slide == -1 */ ?>
|
||||
<span class="slide-hero-published"></span>
|
||||
<span class="slide-hero-unpublished pubclickable"></span>
|
||||
<# }else{ #>
|
||||
<span class="slide-hero-published pubclickable"></span>
|
||||
<span class="slide-hero-unpublished"></span>
|
||||
<# } #>
|
||||
<# } #>
|
||||
</span>
|
||||
<span class="rs-slide-modify-title">{{ data.title }}</span>
|
||||
</li>
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
public static function add_step_1_markup(){
|
||||
$sld = new RevSlider();
|
||||
$sliders = $sld->getArrSliders();
|
||||
?>
|
||||
<div class="revslider-quick-inner-wrapper" style="padding-right:0px;padding-bottom:0px;">
|
||||
<select name="revslider-existing-slider" id="revslider-existing-slider">
|
||||
<option value="-1" selected="selected"><?php _e('--- Choose Slider ---', 'revslider'); ?></option>
|
||||
<?php
|
||||
$sl = array();
|
||||
$sliders_info = array();
|
||||
if(!empty($sliders)){
|
||||
foreach($sliders as $slider){
|
||||
$alias = $slider->getParam('alias','false');
|
||||
$title = $slider->getTitle();
|
||||
$type = $slider->getParam('source_type','gallery');
|
||||
$slider_type = $slider->getParam('slider-type','standard');
|
||||
$active_slide = $slider->getParam('hero_active', -1);
|
||||
$sliderID = $slider->getID();
|
||||
|
||||
if($type == 'gallery'){
|
||||
$slides = $slider->getSlides();
|
||||
}elseif($type == 'specific_posts' || $type == 'current_post'){
|
||||
$slides = $slider->getSlidesFromPosts();
|
||||
}
|
||||
|
||||
if(!empty($slides)){
|
||||
$sliders_info[$sliderID] = array();
|
||||
|
||||
foreach($slides as $slide){
|
||||
$bg_extraClass = '';
|
||||
$bg_fullstyle = '';
|
||||
|
||||
$urlImageForView = $slide->getThumbUrl();
|
||||
|
||||
$bgt = $slide->getParam('background_type', 'transparent');
|
||||
if($type == 'woocommerce'){
|
||||
}
|
||||
if($bgt == 'image' || $bgt == 'streamvimeo' || $bgt == 'streamyoutube' || $bgt == 'streaminstagram'){
|
||||
switch($type){
|
||||
case 'posts':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/post.png';
|
||||
break;
|
||||
case 'woocommerce':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/wc.png';
|
||||
break;
|
||||
case 'facebook':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/fb.png';
|
||||
break;
|
||||
case 'twitter':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/tw.png';
|
||||
break;
|
||||
case 'instagram':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/ig.png';
|
||||
break;
|
||||
case 'flickr':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/fr.png';
|
||||
break;
|
||||
case 'youtube':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/yt.png';
|
||||
break;
|
||||
case 'vimeo':
|
||||
$urlImageForView = RS_PLUGIN_URL.'public/assets/assets/sources/vm.png';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($bgt == 'image' || $bgt == 'vimeo' || $bgt == 'youtube' || $bgt == 'html5' || $bgt == 'streamvimeo' || $bgt == 'streamyoutube' || $bgt == 'streaminstagram'){
|
||||
$bg_style = ' ';
|
||||
if($slide->getParam('bg_fit', 'cover') == 'percentage'){
|
||||
$bg_style .= "background-size: ".$slide->getParam('bg_fit_x', '100').'% '.$slide->getParam('bg_fit_y', '100').'%;';
|
||||
}else{
|
||||
$bg_style .= "background-size: ".$slide->getParam('bg_fit', 'cover').";";
|
||||
}
|
||||
if($slide->getParam('bg_position', 'center center') == 'percentage'){
|
||||
$bg_style .= "background-position: ".intval($slide->getParam('bg_position_x', '0')).'% '.intval($slide->getParam('bg_position_y', '0')).'%;';
|
||||
}else{
|
||||
$bg_style .= "background-position: ".$slide->getParam('bg_position', 'center center').";";
|
||||
}
|
||||
$bg_style .= "background-repeat: ".$slide->getParam('bg_repeat', 'no-repeat').";";
|
||||
$bg_fullstyle =' style="background-image:url('.$urlImageForView.');'.$bg_style.'" ';
|
||||
}
|
||||
|
||||
if ($bgt == 'solid') $bg_fullstyle =' style="background-color:'.$slide->getParam('slide_bg_color', 'transparent').';" ';
|
||||
if ($bgt == 'trans') $bg_extraClass = 'mini-transparent';
|
||||
if ($slide->getParam('thumb_for_admin', 'off') == "on") $bg_fullstyle =' style="background-image:url('.$slide->getParam('slide_thumb','').');background-size:cover;background-position:center center" ';
|
||||
|
||||
$sliders_info[$sliderID][] = array( 'id' => $slide->getID(),
|
||||
'slider_type' => $slider_type,
|
||||
'title' => $slide->getTitle(),
|
||||
'slidertitle' => $title,
|
||||
'slideralias' => $alias,
|
||||
'sliderid' => $sliderID,
|
||||
'state' => $slide->getParam('state', 'published'),
|
||||
'slide_thumb' => $slide->getParam('slide_thumb', ''),
|
||||
'bg_fullstyle' => $bg_fullstyle,
|
||||
'bg_extraClass' => $bg_extraClass,
|
||||
'active_slide' => $active_slide
|
||||
);
|
||||
|
||||
if($active_slide == -1) $active_slide = -99; //do this so that we are hero, only the first slide will be active if no hero slide was yet set
|
||||
}
|
||||
}
|
||||
|
||||
$sl[$type][] = array('alias' => $alias, 'title' => $title, 'id' => $sliderID);
|
||||
}
|
||||
|
||||
if(!empty($sl)){
|
||||
foreach($sl as $type => $slider){
|
||||
$mtype = ($type == 'specific_posts') ? 'Specific Posts' : $type;
|
||||
$mtype = ($type == 'current_post') ? 'Current Post' : $type;
|
||||
echo '<option disabled="disabled">--- '.ucfirst(esc_attr($mtype)).' ---</option>';
|
||||
foreach($slider as $values){
|
||||
if($values['alias'] != 'false'){
|
||||
echo '<option data-sliderid="'.esc_attr($values['id']).'" data-slidertype="'.esc_attr($type).'" value="'.esc_attr($values['alias']).'">'.esc_attr($values['title']).'</option>'."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
<ul id="rs-shortcode-select-wrapper">
|
||||
<li class="rs-slider-modify-li rs-slider-modify-new-slider">
|
||||
<a href="<?php echo RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDER); ?>" target="_blank" class="button-primary revgreen" id="rs-create-predefined-slider"><span class="dashicons dashicons-plus"></span><span class="rs-slider-modify-title"><?php _e('Create Slider', 'revslider'); ?></span></a>
|
||||
</li>
|
||||
<?php
|
||||
if(!empty($sliders_info)){
|
||||
foreach($sliders_info as $type => $slider){
|
||||
foreach($slider as $values){
|
||||
?>
|
||||
<li id="slider_list_item_<?php echo $values['sliderid']; ?>" class="rs-slider-modify-li" data-sliderid="<?php echo esc_attr($values['sliderid']); ?>" data-slideralias="<?php echo esc_attr($values['slideralias']); ?>">
|
||||
<span class="mini-transparent mini-as-bg"></span>
|
||||
<div class="rs-slider-modify-container <?php echo $values['bg_extraClass']; ?>" <?php echo $values['bg_fullstyle']; ?>></div>
|
||||
<i class="slide-link-forward eg-icon-forward"></i>
|
||||
|
||||
<span class="rs-slider-modify-title">#<?php echo $values['sliderid'].' '.$values['slidertitle']; ?></span>
|
||||
</li>
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<span style="clear:both;width:100%;display:block"></span>
|
||||
|
||||
</ul>
|
||||
<span style="clear:both;width:100%;display:block"></span>
|
||||
<script type="text/javascript">
|
||||
var rev_sliders_info = jQuery.parseJSON(<?php echo RevSliderFunctions::jsonEncodeForClientSide($sliders_info); ?>);
|
||||
</script>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class RevSlider_TinyBox extends RevSliderTinyBox {}
|
||||
?>
|
||||
@@ -0,0 +1,151 @@
|
||||
<?php
|
||||
/**
|
||||
* @author ThemePunch <info@themepunch.com>
|
||||
* @link http://www.themepunch.com/
|
||||
* @copyright 2015 ThemePunch
|
||||
*/
|
||||
|
||||
if( !defined( 'ABSPATH') ) exit();
|
||||
|
||||
class RevSliderWidget extends WP_Widget {
|
||||
|
||||
public function __construct(){
|
||||
|
||||
// widget actual processes
|
||||
$widget_ops = array('classname' => 'widget_revslider', 'description' => __('Displays a revolution slider on the page','revslider') );
|
||||
parent::__construct('rev-slider-widget', __('Revolution Slider','revslider'), $widget_ops);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* the form
|
||||
*/
|
||||
public function form($instance) {
|
||||
try {
|
||||
$slider = new RevSlider();
|
||||
$arrSliders = $slider->getArrSlidersShort();
|
||||
}catch(Exception $e){}
|
||||
|
||||
if(empty($arrSliders)){
|
||||
echo __("No sliders found, Please create a slider",'revslider');
|
||||
}else{
|
||||
|
||||
$field = "rev_slider";
|
||||
$fieldPages = "rev_slider_pages";
|
||||
$fieldCheck = "rev_slider_homepage";
|
||||
$fieldTitle = "rev_slider_title";
|
||||
|
||||
$sliderID = RevSliderFunctions::getVal($instance, $field);
|
||||
$homepage = RevSliderFunctions::getVal($instance, $fieldCheck);
|
||||
$pagesValue = RevSliderFunctions::getVal($instance, $fieldPages);
|
||||
$title = RevSliderFunctions::getVal($instance, $fieldTitle);
|
||||
|
||||
$fieldID = $this->get_field_id( $field );
|
||||
$fieldName = $this->get_field_name( $field );
|
||||
|
||||
$select = RevSliderFunctions::getHTMLSelect($arrSliders,$sliderID,'name="'.$fieldName.'" id="'.$fieldID.'"',true);
|
||||
|
||||
$fieldID_check = $this->get_field_id( $fieldCheck );
|
||||
$fieldName_check = $this->get_field_name( $fieldCheck );
|
||||
$checked = "";
|
||||
if($homepage == "on")
|
||||
$checked = "checked='checked'";
|
||||
|
||||
$fieldPages_ID = $this->get_field_id( $fieldPages );
|
||||
$fieldPages_Name = $this->get_field_name( $fieldPages );
|
||||
|
||||
$fieldTitle_ID = $this->get_field_id( $fieldTitle );
|
||||
$fieldTitle_Name = $this->get_field_name( $fieldTitle );
|
||||
|
||||
?>
|
||||
<label for="<?php echo $fieldTitle_ID?>"><?php _e("Title",'revslider')?>:</label>
|
||||
<input type="text" name="<?php echo $fieldTitle_Name?>" id="<?php echo $fieldTitle_ID?>" value="<?php echo $title?>" class="widefat">
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php _e("Choose Slider",'revslider')?>: <?php echo $select?>
|
||||
<div style="padding-top:10px;"></div>
|
||||
|
||||
<label for="<?php echo $fieldID_check?>"><?php _e("Home Page Only",'revslider')?>:</label>
|
||||
<input type="checkbox" name="<?php echo $fieldName_check?>" id="<?php echo $fieldID_check?>" <?php echo $checked?> >
|
||||
<br><br>
|
||||
<label for="<?php echo $fieldPages_ID?>"><?php _e("Pages: (example: 2,10)",'revslider')?></label>
|
||||
<input type="text" name="<?php echo $fieldPages_Name?>" id="<?php echo $fieldPages_ID?>" value="<?php echo $pagesValue?>">
|
||||
|
||||
<div style="padding-top:10px;"></div>
|
||||
<?php
|
||||
} //else
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* update
|
||||
*/
|
||||
public function update($new_instance, $old_instance) {
|
||||
|
||||
return($new_instance);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* widget output
|
||||
*/
|
||||
public function widget($args, $instance) {
|
||||
|
||||
$sliderID = RevSliderFunctions::getVal($instance, "rev_slider");
|
||||
$title = RevSliderFunctions::getVal($instance, "rev_slider_title");
|
||||
|
||||
$homepageCheck = RevSliderFunctions::getVal($instance, "rev_slider_homepage");
|
||||
$homepage = "";
|
||||
if($homepageCheck == "on")
|
||||
$homepage = "homepage";
|
||||
|
||||
$pages = RevSliderFunctions::getVal($instance, "rev_slider_pages");
|
||||
if(!empty($pages)){
|
||||
if(!empty($homepage))
|
||||
$homepage .= ",";
|
||||
$homepage .= $pages;
|
||||
}
|
||||
|
||||
if(empty($sliderID))
|
||||
return(false);
|
||||
|
||||
$slider = new RevSliderSlider();
|
||||
$slider->initByID($sliderID);
|
||||
$disable_on_mobile = $slider->getParam("disable_on_mobile","off");
|
||||
if($disable_on_mobile == 'on'){
|
||||
$mobile = (strstr($_SERVER['HTTP_USER_AGENT'],'Android') || strstr($_SERVER['HTTP_USER_AGENT'],'webOS') || strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') ||strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad') || strstr($_SERVER['HTTP_USER_AGENT'],'Windows Phone') || wp_is_mobile()) ? true : false;
|
||||
if($mobile) return false;
|
||||
}
|
||||
|
||||
|
||||
//widget output
|
||||
$beforeWidget = RevSliderFunctions::getVal($args, "before_widget");
|
||||
$afterWidget = RevSliderFunctions::getVal($args, "after_widget");
|
||||
$beforeTitle = RevSliderFunctions::getVal($args, "before_title");
|
||||
$afterTitle = RevSliderFunctions::getVal($args, "after_title");
|
||||
|
||||
echo $beforeWidget;
|
||||
|
||||
if(!empty($title))
|
||||
echo $beforeTitle.$title.$afterTitle;
|
||||
|
||||
RevSliderOutput::putSlider($sliderID,$homepage);
|
||||
|
||||
add_action('wp_head', array($this,'writeCSS'));
|
||||
|
||||
echo $afterWidget;
|
||||
}
|
||||
|
||||
public function writeCSS(){
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* old classname extends new one (old classnames will be obsolete soon)
|
||||
* @since: 5.0
|
||||
**/
|
||||
class RevSlider_Widget extends RevSliderWidget {}
|
||||
?>
|
||||
Reference in new issue
Block a user