Version Description
Added
- Symlink directories on export
- Support sub directories on Backups page
- A cancel button on import confirm step
Fixed
- Support IE11
- Wrong blogs.dir URL replacement
- Wrong path network drive replacement (Windows)
- Text placeholders of first find/replace inputs on export
Changed
- Added loading indicator to feedback and report a problem forms
- Do not clear cache on export
- Skip files that contain new line on export
Download this release
Release Info
| Developer | bangelov |
| Plugin | |
| Version | 6.56 |
| Comparing to | |
| See all releases | |
Code changes from version 6.55 to 6.56
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- functions.php +30 -30
- lib/controller/class-ai1wm-import-controller.php +1 -1
- lib/controller/class-ai1wm-main-controller.php +2 -2
- lib/model/class-ai1wm-backups.php +19 -12
- lib/model/class-ai1wm-extensions.php +1 -1
- lib/model/class-ai1wm-feedback.php +3 -3
- lib/model/class-ai1wm-http.php +1 -1
- lib/model/class-ai1wm-report.php +2 -2
- lib/model/class-ai1wm-status.php +1 -1
- lib/model/export/class-ai1wm-export-config.php +0 -3
- lib/model/export/class-ai1wm-export-download.php +3 -3
- lib/model/export/class-ai1wm-export-enumerate.php +3 -0
- lib/vendor/servmask/archiver/class-ai1wm-archiver.php +33 -0
- lib/vendor/servmask/archiver/class-ai1wm-compressor.php +6 -6
- lib/vendor/servmask/archiver/class-ai1wm-extractor.php +16 -16
- lib/vendor/servmask/database/class-ai1wm-database-utility.php +1 -1
- lib/vendor/servmask/filter/class-ai1wm-recursive-newline-filter.php +32 -0
- lib/vendor/servmask/iterator/class-ai1wm-recursive-directory-iterator.php +12 -0
- lib/view/assets/css/backups.min.css +1 -1
- lib/view/assets/css/export.min.css +1 -1
- lib/view/assets/css/import.min.css +1 -1
- lib/view/assets/javascript/backups.min.js +266 -233
- lib/view/assets/javascript/export.min.js +296 -267
- lib/view/assets/javascript/import.min.js +1699 -1385
- lib/view/assets/javascript/updater.min.js +2 -2
- lib/view/backups/index.php +21 -17
- lib/view/common/leave-feedback.php +5 -2
- lib/view/common/report-problem.php +5 -2
- lib/view/export/advanced-settings.php +2 -2
- lib/view/export/export-buttons.php +1 -1
- lib/view/import/import-buttons.php +2 -2
- loader.php +8 -0
- readme.txt +21 -1
all-in-one-wp-migration.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
| 6 |
* Author: ServMask
|
| 7 |
* Author URI: https://servmask.com/
|
| 8 |
-
* Version: 6.
|
| 9 |
* Text Domain: all-in-one-wp-migration
|
| 10 |
* Domain Path: /languages
|
| 11 |
* Network: True
|
| 5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
| 6 |
* Author: ServMask
|
| 7 |
* Author URI: https://servmask.com/
|
| 8 |
+
* Version: 6.56
|
| 9 |
* Text Domain: all-in-one-wp-migration
|
| 10 |
* Domain Path: /languages
|
| 11 |
* Network: True
|
constants.php
CHANGED
|
@@ -31,7 +31,7 @@ define( 'AI1WM_DEBUG', false );
|
|
| 31 |
// ==================
|
| 32 |
// = Plugin Version =
|
| 33 |
// ==================
|
| 34 |
-
define( 'AI1WM_VERSION', '6.
|
| 35 |
|
| 36 |
// ===============
|
| 37 |
// = Plugin Name =
|
| 31 |
// ==================
|
| 32 |
// = Plugin Version =
|
| 33 |
// ==================
|
| 34 |
+
define( 'AI1WM_VERSION', '6.56' );
|
| 35 |
|
| 36 |
// ===============
|
| 37 |
// = Plugin Name =
|
functions.php
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
*/
|
| 32 |
function ai1wm_storage_path( $params ) {
|
| 33 |
if ( empty( $params['storage'] ) ) {
|
| 34 |
-
throw new Ai1wm_Storage_Exception( 'Unable to locate storage path' );
|
| 35 |
}
|
| 36 |
|
| 37 |
// Get storage path
|
|
@@ -44,17 +44,22 @@ function ai1wm_storage_path( $params ) {
|
|
| 44 |
}
|
| 45 |
|
| 46 |
/**
|
| 47 |
-
* Get
|
| 48 |
*
|
| 49 |
* @param array $params Request parameters
|
| 50 |
* @return string
|
| 51 |
*/
|
| 52 |
-
function
|
| 53 |
if ( empty( $params['archive'] ) ) {
|
| 54 |
-
throw new Ai1wm_Archive_Exception( 'Unable to locate archive path' );
|
| 55 |
}
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
|
| 60 |
/**
|
|
@@ -65,25 +70,20 @@ function ai1wm_backups_path( $params ) {
|
|
| 65 |
*/
|
| 66 |
function ai1wm_archive_path( $params ) {
|
| 67 |
if ( empty( $params['archive'] ) ) {
|
| 68 |
-
throw new
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
|
| 71 |
// Get archive path
|
| 72 |
-
if ( empty( $params['
|
| 73 |
-
return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR .
|
| 74 |
}
|
| 75 |
|
| 76 |
-
return
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
/**
|
| 80 |
-
* Get download absolute path
|
| 81 |
-
*
|
| 82 |
-
* @param array $params Request parameters
|
| 83 |
-
* @return string
|
| 84 |
-
*/
|
| 85 |
-
function ai1wm_download_path( $params ) {
|
| 86 |
-
return ai1wm_backups_path( $params ) . DIRECTORY_SEPARATOR . basename( $params['archive'] );
|
| 87 |
}
|
| 88 |
|
| 89 |
/**
|
|
@@ -190,13 +190,13 @@ function ai1wm_archive_name( $params ) {
|
|
| 190 |
}
|
| 191 |
|
| 192 |
/**
|
| 193 |
-
* Get
|
| 194 |
*
|
| 195 |
* @param array $params Request parameters
|
| 196 |
* @return string
|
| 197 |
*/
|
| 198 |
-
function
|
| 199 |
-
return AI1WM_BACKUPS_URL . '/' .
|
| 200 |
}
|
| 201 |
|
| 202 |
/**
|
|
@@ -210,13 +210,13 @@ function ai1wm_archive_bytes( $params ) {
|
|
| 210 |
}
|
| 211 |
|
| 212 |
/**
|
| 213 |
-
* Get
|
| 214 |
*
|
| 215 |
* @param array $params Request parameters
|
| 216 |
* @return integer
|
| 217 |
*/
|
| 218 |
-
function
|
| 219 |
-
return filesize(
|
| 220 |
}
|
| 221 |
|
| 222 |
/**
|
|
@@ -240,13 +240,13 @@ function ai1wm_archive_size( $params ) {
|
|
| 240 |
}
|
| 241 |
|
| 242 |
/**
|
| 243 |
-
* Get
|
| 244 |
*
|
| 245 |
* @param array $params Request parameters
|
| 246 |
* @return string
|
| 247 |
*/
|
| 248 |
-
function
|
| 249 |
-
return size_format( filesize(
|
| 250 |
}
|
| 251 |
|
| 252 |
/**
|
|
@@ -394,7 +394,7 @@ function ai1wm_files_path( $blog_id = null ) {
|
|
| 394 |
*/
|
| 395 |
function ai1wm_blogsdir_path( $blog_id = null ) {
|
| 396 |
if ( ai1wm_main_site( $blog_id ) ) {
|
| 397 |
-
return '/wp-content/
|
| 398 |
}
|
| 399 |
|
| 400 |
return "/wp-content/blogs.dir/{$blog_id}/files/";
|
|
@@ -408,7 +408,7 @@ function ai1wm_blogsdir_path( $blog_id = null ) {
|
|
| 408 |
*/
|
| 409 |
function ai1wm_blogsdir_url( $blog_id = null ) {
|
| 410 |
if ( ai1wm_main_site( $blog_id ) ) {
|
| 411 |
-
return get_site_url( $blog_id, '/wp-content/
|
| 412 |
}
|
| 413 |
|
| 414 |
return get_site_url( $blog_id, "/wp-content/blogs.dir/{$blog_id}/files/" );
|
| 31 |
*/
|
| 32 |
function ai1wm_storage_path( $params ) {
|
| 33 |
if ( empty( $params['storage'] ) ) {
|
| 34 |
+
throw new Ai1wm_Storage_Exception( __( 'Unable to locate storage path', AI1WM_PLUGIN_NAME ) );
|
| 35 |
}
|
| 36 |
|
| 37 |
// Get storage path
|
| 44 |
}
|
| 45 |
|
| 46 |
/**
|
| 47 |
+
* Get backup absolute path
|
| 48 |
*
|
| 49 |
* @param array $params Request parameters
|
| 50 |
* @return string
|
| 51 |
*/
|
| 52 |
+
function ai1wm_backup_path( $params ) {
|
| 53 |
if ( empty( $params['archive'] ) ) {
|
| 54 |
+
throw new Ai1wm_Archive_Exception( __( 'Unable to locate archive path', AI1WM_PLUGIN_NAME ) );
|
| 55 |
}
|
| 56 |
|
| 57 |
+
// Validate archive path
|
| 58 |
+
if ( validate_file( $params['archive'] ) !== 0 ) {
|
| 59 |
+
throw new Ai1wm_Archive_Exception( __( 'Invalid archive path', AI1WM_PLUGIN_NAME ) );
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
return AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . $params['archive'];
|
| 63 |
}
|
| 64 |
|
| 65 |
/**
|
| 70 |
*/
|
| 71 |
function ai1wm_archive_path( $params ) {
|
| 72 |
if ( empty( $params['archive'] ) ) {
|
| 73 |
+
throw new Ai1wm_Archive_Exception( __( 'Unable to locate archive path', AI1WM_PLUGIN_NAME ) );
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
// Validate archive path
|
| 77 |
+
if ( validate_file( $params['archive'] ) !== 0 ) {
|
| 78 |
+
throw new Ai1wm_Archive_Exception( __( 'Invalid archive path', AI1WM_PLUGIN_NAME ) );
|
| 79 |
}
|
| 80 |
|
| 81 |
// Get archive path
|
| 82 |
+
if ( empty( $params['ai1wm_manual_restore'] ) ) {
|
| 83 |
+
return ai1wm_storage_path( $params ) . DIRECTORY_SEPARATOR . $params['archive'];
|
| 84 |
}
|
| 85 |
|
| 86 |
+
return ai1wm_backup_path( $params );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
/**
|
| 190 |
}
|
| 191 |
|
| 192 |
/**
|
| 193 |
+
* Get backup URL address
|
| 194 |
*
|
| 195 |
* @param array $params Request parameters
|
| 196 |
* @return string
|
| 197 |
*/
|
| 198 |
+
function ai1wm_backup_url( $params ) {
|
| 199 |
+
return AI1WM_BACKUPS_URL . '/' . str_replace( DIRECTORY_SEPARATOR, '/', $params['archive'] );
|
| 200 |
}
|
| 201 |
|
| 202 |
/**
|
| 210 |
}
|
| 211 |
|
| 212 |
/**
|
| 213 |
+
* Get backup size in bytes
|
| 214 |
*
|
| 215 |
* @param array $params Request parameters
|
| 216 |
* @return integer
|
| 217 |
*/
|
| 218 |
+
function ai1wm_backup_bytes( $params ) {
|
| 219 |
+
return filesize( ai1wm_backup_path( $params ) );
|
| 220 |
}
|
| 221 |
|
| 222 |
/**
|
| 240 |
}
|
| 241 |
|
| 242 |
/**
|
| 243 |
+
* Get backup size as text
|
| 244 |
*
|
| 245 |
* @param array $params Request parameters
|
| 246 |
* @return string
|
| 247 |
*/
|
| 248 |
+
function ai1wm_backup_size( $params ) {
|
| 249 |
+
return size_format( filesize( ai1wm_backup_path( $params ) ) );
|
| 250 |
}
|
| 251 |
|
| 252 |
/**
|
| 394 |
*/
|
| 395 |
function ai1wm_blogsdir_path( $blog_id = null ) {
|
| 396 |
if ( ai1wm_main_site( $blog_id ) ) {
|
| 397 |
+
return '/wp-content/uploads/';
|
| 398 |
}
|
| 399 |
|
| 400 |
return "/wp-content/blogs.dir/{$blog_id}/files/";
|
| 408 |
*/
|
| 409 |
function ai1wm_blogsdir_url( $blog_id = null ) {
|
| 410 |
if ( ai1wm_main_site( $blog_id ) ) {
|
| 411 |
+
return get_site_url( $blog_id, '/wp-content/uploads/' );
|
| 412 |
}
|
| 413 |
|
| 414 |
return get_site_url( $blog_id, "/wp-content/blogs.dir/{$blog_id}/files/" );
|
lib/controller/class-ai1wm-import-controller.php
CHANGED
|
@@ -103,7 +103,7 @@ class Ai1wm_Import_Controller {
|
|
| 103 |
|
| 104 |
// Do request
|
| 105 |
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
|
| 106 |
-
if ( isset( $params['ai1wm_manual_import'] ) || isset( $params['
|
| 107 |
echo json_encode( $params );
|
| 108 |
exit;
|
| 109 |
}
|
| 103 |
|
| 104 |
// Do request
|
| 105 |
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
|
| 106 |
+
if ( isset( $params['ai1wm_manual_import'] ) || isset( $params['ai1wm_manual_restore'] ) ) {
|
| 107 |
echo json_encode( $params );
|
| 108 |
exit;
|
| 109 |
}
|
lib/controller/class-ai1wm-main-controller.php
CHANGED
|
@@ -145,7 +145,7 @@ class Ai1wm_Main_Controller {
|
|
| 145 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Compatibility::execute', 10 );
|
| 146 |
|
| 147 |
// Do not resolve URL address
|
| 148 |
-
if ( ! isset( $_REQUEST['ai1wm_manual_import'] ) && ! isset( $_REQUEST['
|
| 149 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Resolve::execute', 10 );
|
| 150 |
}
|
| 151 |
|
|
@@ -650,7 +650,7 @@ class Ai1wm_Main_Controller {
|
|
| 650 |
// Set username
|
| 651 |
if ( isset( $_SERVER['PHP_AUTH_USER'] ) ) {
|
| 652 |
update_option( AI1WM_AUTH_USER, $_SERVER['PHP_AUTH_USER'] );
|
| 653 |
-
}
|
| 654 |
update_option( AI1WM_AUTH_USER, $_SERVER['REMOTE_USER'] );
|
| 655 |
}
|
| 656 |
|
| 145 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Compatibility::execute', 10 );
|
| 146 |
|
| 147 |
// Do not resolve URL address
|
| 148 |
+
if ( ! isset( $_REQUEST['ai1wm_manual_import'] ) && ! isset( $_REQUEST['ai1wm_manual_restore'] ) ) {
|
| 149 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Resolve::execute', 10 );
|
| 150 |
}
|
| 151 |
|
| 650 |
// Set username
|
| 651 |
if ( isset( $_SERVER['PHP_AUTH_USER'] ) ) {
|
| 652 |
update_option( AI1WM_AUTH_USER, $_SERVER['PHP_AUTH_USER'] );
|
| 653 |
+
} elseif ( isset( $_SERVER['REMOTE_USER'] ) ) {
|
| 654 |
update_option( AI1WM_AUTH_USER, $_SERVER['REMOTE_USER'] );
|
| 655 |
}
|
| 656 |
|
lib/model/class-ai1wm-backups.php
CHANGED
|
@@ -33,30 +33,37 @@ class Ai1wm_Backups {
|
|
| 33 |
public function get_files() {
|
| 34 |
$backups = array();
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
// Get backup files
|
| 37 |
-
$iterator = new Ai1wm_Extension_Filter(
|
| 38 |
-
new DirectoryIterator( AI1WM_BACKUPS_PATH ),
|
| 39 |
-
array( 'wpress', 'bin' )
|
| 40 |
-
);
|
| 41 |
|
| 42 |
foreach ( $iterator as $item ) {
|
| 43 |
try {
|
| 44 |
if ( ai1wm_is_filesize_supported( $item->getPathname() ) ) {
|
| 45 |
$backups[] = array(
|
| 46 |
-
'
|
| 47 |
-
'
|
| 48 |
-
'
|
|
|
|
| 49 |
);
|
| 50 |
} else {
|
| 51 |
$backups[] = array(
|
| 52 |
-
'
|
| 53 |
-
'
|
|
|
|
| 54 |
'size' => null,
|
| 55 |
);
|
| 56 |
}
|
| 57 |
} catch ( Exception $e ) {
|
| 58 |
$backups[] = array(
|
| 59 |
-
'
|
|
|
|
| 60 |
'mtime' => null,
|
| 61 |
'size' => null,
|
| 62 |
);
|
|
@@ -76,8 +83,8 @@ class Ai1wm_Backups {
|
|
| 76 |
* @return boolean
|
| 77 |
*/
|
| 78 |
public function delete_file( $file ) {
|
| 79 |
-
if ( ( $
|
| 80 |
-
return @unlink(
|
| 81 |
}
|
| 82 |
}
|
| 83 |
|
| 33 |
public function get_files() {
|
| 34 |
$backups = array();
|
| 35 |
|
| 36 |
+
// Iterate over directory
|
| 37 |
+
$iterator = new Ai1wm_Recursive_Directory_Iterator( AI1WM_BACKUPS_PATH );
|
| 38 |
+
|
| 39 |
+
// Recursively iterate over directory
|
| 40 |
+
$iterator = new RecursiveIteratorIterator( $iterator, RecursiveIteratorIterator::CHILD_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD );
|
| 41 |
+
$iterator->setMaxDepth( 3 );
|
| 42 |
+
|
| 43 |
// Get backup files
|
| 44 |
+
$iterator = new Ai1wm_Extension_Filter( $iterator, array( 'wpress', 'bin' ) );
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
foreach ( $iterator as $item ) {
|
| 47 |
try {
|
| 48 |
if ( ai1wm_is_filesize_supported( $item->getPathname() ) ) {
|
| 49 |
$backups[] = array(
|
| 50 |
+
'path' => $iterator->getSubPath(),
|
| 51 |
+
'filename' => $iterator->getSubPathname(),
|
| 52 |
+
'mtime' => $iterator->getMTime(),
|
| 53 |
+
'size' => $iterator->getSize(),
|
| 54 |
);
|
| 55 |
} else {
|
| 56 |
$backups[] = array(
|
| 57 |
+
'path' => $iterator->getSubPath(),
|
| 58 |
+
'filename' => $iterator->getSubPathname(),
|
| 59 |
+
'mtime' => $iterator->getMTime(),
|
| 60 |
'size' => null,
|
| 61 |
);
|
| 62 |
}
|
| 63 |
} catch ( Exception $e ) {
|
| 64 |
$backups[] = array(
|
| 65 |
+
'path' => $iterator->getSubPath(),
|
| 66 |
+
'filename' => $iterator->getSubPathname(),
|
| 67 |
'mtime' => null,
|
| 68 |
'size' => null,
|
| 69 |
);
|
| 83 |
* @return boolean
|
| 84 |
*/
|
| 85 |
public function delete_file( $file ) {
|
| 86 |
+
if ( validate_file( $file ) === 0 ) {
|
| 87 |
+
return @unlink( ai1wm_backup_path( array( 'archive' => $file ) ) );
|
| 88 |
}
|
| 89 |
}
|
| 90 |
|
lib/model/class-ai1wm-extensions.php
CHANGED
|
@@ -76,7 +76,7 @@ class Ai1wm_Extensions {
|
|
| 76 |
'about' => AI1WMME_PLUGIN_ABOUT,
|
| 77 |
'basename' => AI1WMME_PLUGIN_BASENAME,
|
| 78 |
'version' => AI1WMME_VERSION,
|
| 79 |
-
'requires' => '3.
|
| 80 |
'short' => AI1WMME_PLUGIN_SHORT,
|
| 81 |
);
|
| 82 |
}
|
| 76 |
'about' => AI1WMME_PLUGIN_ABOUT,
|
| 77 |
'basename' => AI1WMME_PLUGIN_BASENAME,
|
| 78 |
'version' => AI1WMME_VERSION,
|
| 79 |
+
'requires' => '3.39',
|
| 80 |
'short' => AI1WMME_PLUGIN_SHORT,
|
| 81 |
);
|
| 82 |
}
|
lib/model/class-ai1wm-feedback.php
CHANGED
|
@@ -41,11 +41,11 @@ class Ai1wm_Feedback {
|
|
| 41 |
// Submit feedback to ServMask
|
| 42 |
if ( empty( $type ) ) {
|
| 43 |
$errors[] = __( 'Feedback type is invalid.', AI1WM_PLUGIN_NAME );
|
| 44 |
-
}
|
| 45 |
$errors[] = __( 'Your email is not valid.', AI1WM_PLUGIN_NAME );
|
| 46 |
-
}
|
| 47 |
$errors[] = __( 'Please enter comments in the text area.', AI1WM_PLUGIN_NAME );
|
| 48 |
-
}
|
| 49 |
$errors[] = __( 'Please accept feedback term conditions.', AI1WM_PLUGIN_NAME );
|
| 50 |
} else {
|
| 51 |
$response = wp_remote_post(
|
| 41 |
// Submit feedback to ServMask
|
| 42 |
if ( empty( $type ) ) {
|
| 43 |
$errors[] = __( 'Feedback type is invalid.', AI1WM_PLUGIN_NAME );
|
| 44 |
+
} elseif ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
| 45 |
$errors[] = __( 'Your email is not valid.', AI1WM_PLUGIN_NAME );
|
| 46 |
+
} elseif ( empty( $message ) ) {
|
| 47 |
$errors[] = __( 'Please enter comments in the text area.', AI1WM_PLUGIN_NAME );
|
| 48 |
+
} elseif ( empty( $terms ) ) {
|
| 49 |
$errors[] = __( 'Please accept feedback term conditions.', AI1WM_PLUGIN_NAME );
|
| 50 |
} else {
|
| 51 |
$response = wp_remote_post(
|
lib/model/class-ai1wm-http.php
CHANGED
|
@@ -82,7 +82,7 @@ class Ai1wm_Http {
|
|
| 82 |
// Set server IP address
|
| 83 |
if ( ! empty( $_SERVER['SERVER_ADDR'] ) ) {
|
| 84 |
$server = $_SERVER['SERVER_ADDR'];
|
| 85 |
-
}
|
| 86 |
$server = $_SERVER['LOCAL_ADDR'];
|
| 87 |
} else {
|
| 88 |
$server = '127.0.0.1';
|
| 82 |
// Set server IP address
|
| 83 |
if ( ! empty( $_SERVER['SERVER_ADDR'] ) ) {
|
| 84 |
$server = $_SERVER['SERVER_ADDR'];
|
| 85 |
+
} elseif ( ! empty( $_SERVER['LOCAL_ADDR'] ) ) {
|
| 86 |
$server = $_SERVER['LOCAL_ADDR'];
|
| 87 |
} else {
|
| 88 |
$server = '127.0.0.1';
|
lib/model/class-ai1wm-report.php
CHANGED
|
@@ -40,9 +40,9 @@ class Ai1wm_Report {
|
|
| 40 |
// Submit report to ServMask
|
| 41 |
if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
| 42 |
$errors[] = __( 'Your email is not valid.', AI1WM_PLUGIN_NAME );
|
| 43 |
-
}
|
| 44 |
$errors[] = __( 'Please enter comments in the text area.', AI1WM_PLUGIN_NAME );
|
| 45 |
-
}
|
| 46 |
$errors[] = __( 'Please accept report term conditions.', AI1WM_PLUGIN_NAME );
|
| 47 |
} else {
|
| 48 |
$response = wp_remote_post(
|
| 40 |
// Submit report to ServMask
|
| 41 |
if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
| 42 |
$errors[] = __( 'Your email is not valid.', AI1WM_PLUGIN_NAME );
|
| 43 |
+
} elseif ( empty( $message ) ) {
|
| 44 |
$errors[] = __( 'Please enter comments in the text area.', AI1WM_PLUGIN_NAME );
|
| 45 |
+
} elseif ( empty( $terms ) ) {
|
| 46 |
$errors[] = __( 'Please accept report term conditions.', AI1WM_PLUGIN_NAME );
|
| 47 |
} else {
|
| 48 |
$response = wp_remote_post(
|
lib/model/class-ai1wm-status.php
CHANGED
|
@@ -54,7 +54,7 @@ class Ai1wm_Status {
|
|
| 54 |
}
|
| 55 |
|
| 56 |
public static function log( $data = array() ) {
|
| 57 |
-
if ( isset( $_REQUEST['ai1wm_manual_export'] ) || isset( $_REQUEST['ai1wm_manual_import'] ) || isset( $_REQUEST['
|
| 58 |
update_option( AI1WM_STATUS, $data );
|
| 59 |
}
|
| 60 |
}
|
| 54 |
}
|
| 55 |
|
| 56 |
public static function log( $data = array() ) {
|
| 57 |
+
if ( isset( $_REQUEST['ai1wm_manual_export'] ) || isset( $_REQUEST['ai1wm_manual_import'] ) || isset( $_REQUEST['ai1wm_manual_restore'] ) ) {
|
| 58 |
update_option( AI1WM_STATUS, $data );
|
| 59 |
}
|
| 60 |
}
|
lib/model/export/class-ai1wm-export-config.php
CHANGED
|
@@ -31,9 +31,6 @@ class Ai1wm_Export_Config {
|
|
| 31 |
// Set progress
|
| 32 |
Ai1wm_Status::info( __( 'Adding configuration to archive...', AI1WM_PLUGIN_NAME ) );
|
| 33 |
|
| 34 |
-
// Flush WP cache
|
| 35 |
-
ai1wm_cache_flush();
|
| 36 |
-
|
| 37 |
// Get options
|
| 38 |
$options = wp_load_alloptions();
|
| 39 |
|
| 31 |
// Set progress
|
| 32 |
Ai1wm_Status::info( __( 'Adding configuration to archive...', AI1WM_PLUGIN_NAME ) );
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
// Get options
|
| 35 |
$options = wp_load_alloptions();
|
| 36 |
|
lib/model/export/class-ai1wm-export-download.php
CHANGED
|
@@ -37,7 +37,7 @@ class Ai1wm_Export_Download {
|
|
| 37 |
$archive->close( true );
|
| 38 |
|
| 39 |
// Rename archive file
|
| 40 |
-
if ( rename( ai1wm_archive_path( $params ),
|
| 41 |
|
| 42 |
$blog_id = null;
|
| 43 |
|
|
@@ -49,8 +49,8 @@ class Ai1wm_Export_Download {
|
|
| 49 |
}
|
| 50 |
|
| 51 |
// Set archive details
|
| 52 |
-
$link =
|
| 53 |
-
$size =
|
| 54 |
$name = ai1wm_site_name( $blog_id );
|
| 55 |
|
| 56 |
// Set progress
|
| 37 |
$archive->close( true );
|
| 38 |
|
| 39 |
// Rename archive file
|
| 40 |
+
if ( rename( ai1wm_archive_path( $params ), ai1wm_backup_path( $params ) ) ) {
|
| 41 |
|
| 42 |
$blog_id = null;
|
| 43 |
|
| 49 |
}
|
| 50 |
|
| 51 |
// Set archive details
|
| 52 |
+
$link = ai1wm_backup_url( $params );
|
| 53 |
+
$size = ai1wm_backup_size( $params );
|
| 54 |
$name = ai1wm_site_name( $blog_id );
|
| 55 |
|
| 56 |
// Set progress
|
lib/model/export/class-ai1wm-export-enumerate.php
CHANGED
|
@@ -110,6 +110,9 @@ class Ai1wm_Export_Enumerate {
|
|
| 110 |
// Iterate over content directory
|
| 111 |
$iterator = new Ai1wm_Recursive_Directory_Iterator( WP_CONTENT_DIR );
|
| 112 |
|
|
|
|
|
|
|
|
|
|
| 113 |
// Exclude uploads, plugins or themes
|
| 114 |
$iterator = new Ai1wm_Recursive_Exclude_Filter( $iterator, apply_filters( 'ai1wm_exclude_content_from_export', $exclude_filters ) );
|
| 115 |
|
| 110 |
// Iterate over content directory
|
| 111 |
$iterator = new Ai1wm_Recursive_Directory_Iterator( WP_CONTENT_DIR );
|
| 112 |
|
| 113 |
+
// Exclude new line file names
|
| 114 |
+
$iterator = new Ai1wm_Recursive_Newline_Filter( $iterator );
|
| 115 |
+
|
| 116 |
// Exclude uploads, plugins or themes
|
| 117 |
$iterator = new Ai1wm_Recursive_Exclude_Filter( $iterator, apply_filters( 'ai1wm_exclude_content_from_export', $exclude_filters ) );
|
| 118 |
|
lib/vendor/servmask/archiver/class-ai1wm-archiver.php
CHANGED
|
@@ -153,6 +153,39 @@ abstract class Ai1wm_Archiver {
|
|
| 153 |
}
|
| 154 |
}
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
/**
|
| 157 |
* Validate archive file
|
| 158 |
*
|
| 153 |
}
|
| 154 |
}
|
| 155 |
|
| 156 |
+
/**
|
| 157 |
+
* Replace forward slash with current directory separator
|
| 158 |
+
*
|
| 159 |
+
* @param string $path Path
|
| 160 |
+
*
|
| 161 |
+
* @return string
|
| 162 |
+
*/
|
| 163 |
+
protected function replace_forward_slash_with_directory_separator( $path ) {
|
| 164 |
+
return str_replace( '/', DIRECTORY_SEPARATOR, $path );
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
/**
|
| 168 |
+
* Replace current directory separator with forward slash
|
| 169 |
+
*
|
| 170 |
+
* @param string $path Path
|
| 171 |
+
*
|
| 172 |
+
* @return string
|
| 173 |
+
*/
|
| 174 |
+
protected function replace_directory_separator_with_forward_slash( $path ) {
|
| 175 |
+
return str_replace( DIRECTORY_SEPARATOR, '/', $path );
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
/**
|
| 179 |
+
* Escape Windows directory separator
|
| 180 |
+
*
|
| 181 |
+
* @param string $path Path
|
| 182 |
+
*
|
| 183 |
+
* @return string
|
| 184 |
+
*/
|
| 185 |
+
protected function escape_windows_directory_separator( $path ) {
|
| 186 |
+
return preg_replace( '/[\\\\]+/', '\\\\\\\\', $path );
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
/**
|
| 190 |
* Validate archive file
|
| 191 |
*
|
lib/vendor/servmask/archiver/class-ai1wm-compressor.php
CHANGED
|
@@ -53,11 +53,11 @@ class Ai1wm_Compressor extends Ai1wm_Archiver {
|
|
| 53 |
public function add_file( $file_name, $new_file_name = '', &$file_written = 0, &$file_offset = 0, $timeout = 0 ) {
|
| 54 |
$file_written = 0;
|
| 55 |
|
| 56 |
-
// Replace
|
| 57 |
-
$file_name =
|
| 58 |
|
| 59 |
-
//
|
| 60 |
-
$file_name =
|
| 61 |
|
| 62 |
// Flag to hold if file data has been processed
|
| 63 |
$completed = true;
|
|
@@ -177,8 +177,8 @@ class Ai1wm_Compressor extends Ai1wm_Archiver {
|
|
| 177 |
// Last time the file was modified
|
| 178 |
$date = $stat['mtime'];
|
| 179 |
|
| 180 |
-
// Replace
|
| 181 |
-
$path =
|
| 182 |
|
| 183 |
// Concatenate block format parts
|
| 184 |
$format = implode( '', $this->block_format );
|
| 53 |
public function add_file( $file_name, $new_file_name = '', &$file_written = 0, &$file_offset = 0, $timeout = 0 ) {
|
| 54 |
$file_written = 0;
|
| 55 |
|
| 56 |
+
// Replace forward slash with current directory separator in file name
|
| 57 |
+
$file_name = $this->replace_forward_slash_with_directory_separator( $file_name );
|
| 58 |
|
| 59 |
+
// Escape Windows directory separator in file name
|
| 60 |
+
$file_name = $this->escape_windows_directory_separator( $file_name );
|
| 61 |
|
| 62 |
// Flag to hold if file data has been processed
|
| 63 |
$completed = true;
|
| 177 |
// Last time the file was modified
|
| 178 |
$date = $stat['mtime'];
|
| 179 |
|
| 180 |
+
// Replace current directory separator with backward slash in file path
|
| 181 |
+
$path = $this->replace_directory_separator_with_forward_slash( $pathinfo['dirname'] );
|
| 182 |
|
| 183 |
// Concatenate block format parts
|
| 184 |
$format = implode( '', $this->block_format );
|
lib/vendor/servmask/archiver/class-ai1wm-extractor.php
CHANGED
|
@@ -164,8 +164,8 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
| 164 |
throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
|
| 165 |
}
|
| 166 |
|
| 167 |
-
// Replace
|
| 168 |
-
$location =
|
| 169 |
|
| 170 |
// Flag to hold if file data has been processed
|
| 171 |
$completed = true;
|
|
@@ -229,11 +229,11 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
| 229 |
}
|
| 230 |
}
|
| 231 |
|
| 232 |
-
//
|
| 233 |
-
$file_path =
|
| 234 |
|
| 235 |
-
//
|
| 236 |
-
$file_name =
|
| 237 |
|
| 238 |
// Check if location doesn't exist, then create it
|
| 239 |
if ( false === is_dir( $file_path ) ) {
|
|
@@ -279,8 +279,8 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
| 279 |
throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
|
| 280 |
}
|
| 281 |
|
| 282 |
-
// Replace
|
| 283 |
-
$location =
|
| 284 |
|
| 285 |
// Flag to hold if file data has been processed
|
| 286 |
$completed = true;
|
|
@@ -338,11 +338,11 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
| 338 |
// Do we have a match?
|
| 339 |
if ( $should_include_file === true ) {
|
| 340 |
|
| 341 |
-
//
|
| 342 |
-
$file_path =
|
| 343 |
|
| 344 |
-
//
|
| 345 |
-
$file_name =
|
| 346 |
|
| 347 |
// Check if location doesn't exist, then create it
|
| 348 |
if ( false === is_dir( $file_path ) ) {
|
|
@@ -511,11 +511,11 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
| 511 |
// Set file path
|
| 512 |
$data['path'] = ( $data['path'] === '.' ? '' : $data['path'] );
|
| 513 |
|
| 514 |
-
// Replace
|
| 515 |
-
$data['filename'] =
|
| 516 |
|
| 517 |
-
// Replace
|
| 518 |
-
$data['path'] =
|
| 519 |
}
|
| 520 |
|
| 521 |
return $data;
|
| 164 |
throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
|
| 165 |
}
|
| 166 |
|
| 167 |
+
// Replace forward slash with current directory separator in location
|
| 168 |
+
$location = $this->replace_forward_slash_with_directory_separator( $location );
|
| 169 |
|
| 170 |
// Flag to hold if file data has been processed
|
| 171 |
$completed = true;
|
| 229 |
}
|
| 230 |
}
|
| 231 |
|
| 232 |
+
// Escape Windows directory separator in file path
|
| 233 |
+
$file_path = $this->escape_windows_directory_separator( $location . DIRECTORY_SEPARATOR . $file_path );
|
| 234 |
|
| 235 |
+
// Escape Windows directory separator in file name
|
| 236 |
+
$file_name = $this->escape_windows_directory_separator( $location . DIRECTORY_SEPARATOR . $file_name );
|
| 237 |
|
| 238 |
// Check if location doesn't exist, then create it
|
| 239 |
if ( false === is_dir( $file_path ) ) {
|
| 279 |
throw new Ai1wm_Not_Directory_Exception( sprintf( 'Location is not a directory: %s', $location ) );
|
| 280 |
}
|
| 281 |
|
| 282 |
+
// Replace forward slash with current directory separator in location
|
| 283 |
+
$location = $this->replace_forward_slash_with_directory_separator( $location );
|
| 284 |
|
| 285 |
// Flag to hold if file data has been processed
|
| 286 |
$completed = true;
|
| 338 |
// Do we have a match?
|
| 339 |
if ( $should_include_file === true ) {
|
| 340 |
|
| 341 |
+
// Escape Windows directory separator in file path
|
| 342 |
+
$file_path = $this->escape_windows_directory_separator( $location . DIRECTORY_SEPARATOR . $file_path );
|
| 343 |
|
| 344 |
+
// Escape Windows directory separator in file name
|
| 345 |
+
$file_name = $this->escape_windows_directory_separator( $location . DIRECTORY_SEPARATOR . $file_name );
|
| 346 |
|
| 347 |
// Check if location doesn't exist, then create it
|
| 348 |
if ( false === is_dir( $file_path ) ) {
|
| 511 |
// Set file path
|
| 512 |
$data['path'] = ( $data['path'] === '.' ? '' : $data['path'] );
|
| 513 |
|
| 514 |
+
// Replace forward slash with current directory separator in file name
|
| 515 |
+
$data['filename'] = $this->replace_forward_slash_with_directory_separator( $data['filename'] );
|
| 516 |
|
| 517 |
+
// Replace forward slash with current directory separator in file path
|
| 518 |
+
$data['path'] = $this->replace_forward_slash_with_directory_separator( $data['path'] );
|
| 519 |
}
|
| 520 |
|
| 521 |
return $data;
|
lib/vendor/servmask/database/class-ai1wm-database-utility.php
CHANGED
|
@@ -59,7 +59,7 @@ class Ai1wm_Database_Utility {
|
|
| 59 |
// Some unserialized data cannot be re-serialized eg. SimpleXMLElements
|
| 60 |
if ( is_serialized( $data ) && ( $unserialized = @unserialize( $data ) ) !== false ) {
|
| 61 |
$data = self::replace_serialized_values( $from, $to, $unserialized, true );
|
| 62 |
-
}
|
| 63 |
$tmp = array();
|
| 64 |
foreach ( $data as $key => $value ) {
|
| 65 |
$tmp[ $key ] = self::replace_serialized_values( $from, $to, $value, false );
|
| 59 |
// Some unserialized data cannot be re-serialized eg. SimpleXMLElements
|
| 60 |
if ( is_serialized( $data ) && ( $unserialized = @unserialize( $data ) ) !== false ) {
|
| 61 |
$data = self::replace_serialized_values( $from, $to, $unserialized, true );
|
| 62 |
+
} elseif ( is_array( $data ) ) {
|
| 63 |
$tmp = array();
|
| 64 |
foreach ( $data as $key => $value ) {
|
| 65 |
$tmp[ $key ] = self::replace_serialized_values( $from, $to, $value, false );
|
lib/vendor/servmask/filter/class-ai1wm-recursive-newline-filter.php
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 4 |
+
*
|
| 5 |
+
* This program is free software: you can redistribute it and/or modify
|
| 6 |
+
* it under the terms of the GNU General Public License as published by
|
| 7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 8 |
+
* (at your option) any later version.
|
| 9 |
+
*
|
| 10 |
+
* This program is distributed in the hope that it will be useful,
|
| 11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 13 |
+
* GNU General Public License for more details.
|
| 14 |
+
*
|
| 15 |
+
* You should have received a copy of the GNU General Public License
|
| 16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 17 |
+
*
|
| 18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 24 |
+
*/
|
| 25 |
+
|
| 26 |
+
class Ai1wm_Recursive_Newline_Filter extends RecursiveFilterIterator {
|
| 27 |
+
|
| 28 |
+
public function accept() {
|
| 29 |
+
return strpos( $this->getInnerIterator()->getSubPathname(), "\n" ) === false &&
|
| 30 |
+
strpos( $this->getInnerIterator()->getSubPathname(), "\r" ) === false;
|
| 31 |
+
}
|
| 32 |
+
}
|
lib/vendor/servmask/iterator/class-ai1wm-recursive-directory-iterator.php
CHANGED
|
@@ -48,6 +48,18 @@ class Ai1wm_Recursive_Directory_Iterator extends RecursiveDirectoryIterator {
|
|
| 48 |
$this->skipdots();
|
| 49 |
}
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
protected function skipdots() {
|
| 52 |
while ( $this->isDot() ) {
|
| 53 |
parent::next();
|
| 48 |
$this->skipdots();
|
| 49 |
}
|
| 50 |
|
| 51 |
+
/**
|
| 52 |
+
* Returns whether current entry is a directory and not '.' or '..'
|
| 53 |
+
*
|
| 54 |
+
* Explicitly set allow links flag, because RecursiveDirectoryIterator::FOLLOW_SYMLINKS
|
| 55 |
+
* is not supported by <= PHP 5.3.0
|
| 56 |
+
*
|
| 57 |
+
* @return bool
|
| 58 |
+
*/
|
| 59 |
+
public function hasChildren( $allow_links = true ) {
|
| 60 |
+
return parent::hasChildren( $allow_links );
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
protected function skipdots() {
|
| 64 |
while ( $this->isDot() ) {
|
| 65 |
parent::next();
|
lib/view/assets/css/backups.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}#ai1wm-backup-progress,#ai1wm-backup-progress-bar{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;line-height:20px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:20px 0 0;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:left}.ai1wm-backups .ai1wm-column-info{text-align:right}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:36px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions a{margin-left:4px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}
|
| 1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}#ai1wm-backup-progress,#ai1wm-backup-progress-bar{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;line-height:20px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:1em 0 2em;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name,.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-backups .ai1wm-column-info{text-align:right}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:8px 6px;box-sizing:border-box;line-height:24px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions a{margin-left:4px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-backups-empty{line-height:2em}
|
lib/view/assets/css/export.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-query div input,.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-accordion ul{margin:0;padding:0;list-style:none}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{display:inline-block}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:82px!important;margin-top:8px}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right,.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-accordion ul,.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}.ai1wm-export-stats{margin-bottom:1em}#ai1wm-export-download{display:none;margin:0 0 2em}#ai1wm-export-download-stop{display:inline-block;margin:0 0 2em}#ai1wm-export-download.ai1wm-active{display:inline-block;-webkit-animation:ai1wm-fadein .5s;animation:ai1wm-fadein .5s}#ai1wm-export-download.ai1wm-emphasize{display:inline-block;-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}#ai1wm-export-download-size{display:block;color:#34495e}#ai1wm-queries{padding:0}
|
| 1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-query div input,.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-accordion ul{margin:0;padding:0;list-style:none}.ai1wm-accordion h4 small,.ai1wm-accordion ul li small{display:inline;float:none;width:auto}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg);display:inline-block}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:82px!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-accordion ul,.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:transform .1s ease-out;transition:transform .1s ease-out,-webkit-transform .1s ease-out}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}.ai1wm-export-stats{margin-bottom:1em}#ai1wm-export-download{display:none;margin:0 0 2em}#ai1wm-export-download-stop{display:inline-block;margin:0 0 2em}#ai1wm-export-download.ai1wm-active{display:inline-block;-webkit-animation:ai1wm-fadein .5s;animation:ai1wm-fadein .5s}#ai1wm-export-download.ai1wm-emphasize{display:inline-block;-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}#ai1wm-export-download-size{display:block;color:#34495e}#ai1wm-queries{padding:0}
|
lib/view/assets/css/import.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline,.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide,div.ai1wm-expandable input{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area>*{pointer-events:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file>input{position:absolute;-webkit-transform:translate(-51px,-6px);transform:translate(-51px,-6px);width:158px;height:29px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0}#ai1wm-import-file>input::-webkit-file-upload-button{cursor:pointer}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over.ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-import-form{position:relative}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init p{font-size:18px;color:#9e9e9e}#ai1wm-import-init p i{font-size:46px}#ai1wm-import-init div.ai1wm-button-import{pointer-events:all}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;text-align:center;width:0}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}
|
| 1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:0;margin:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:after,.ai1wm-divider:before{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}to{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-down:before,.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-right,.ai1wm-row{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines,.ai1wm-line{position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}.ai1wm-line-second,div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:0 0}.ai1wm-button-blue i,.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited{float:left;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:right}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline,.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide,div.ai1wm-expandable input{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:right}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-right:1em}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area>*{pointer-events:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file>input{position:absolute;-webkit-transform:translate(-51px,-6px);transform:translate(-51px,-6px);width:158px;height:29px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0}#ai1wm-import-file>input::-webkit-file-upload-button{cursor:pointer}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over.ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-import-form{position:relative}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init p{font-size:18px;color:#9e9e9e}#ai1wm-import-init p i{font-size:46px}#ai1wm-import-init div.ai1wm-button-import{pointer-events:all}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;text-align:center;width:0}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}
|
lib/view/assets/javascript/backups.min.js
CHANGED
|
@@ -60,11 +60,12 @@
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
-
/******/ (
|
| 67 |
-
|
|
|
|
| 68 |
/***/ (function(module, exports, __webpack_require__) {
|
| 69 |
|
| 70 |
"use strict";
|
|
@@ -145,225 +146,8 @@ module.exports = {
|
|
| 145 |
};
|
| 146 |
|
| 147 |
/***/ }),
|
| 148 |
-
/* 1 */
|
| 149 |
-
/***/ (function(module, exports, __webpack_require__) {
|
| 150 |
-
|
| 151 |
-
"use strict";
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
/**
|
| 155 |
-
* Copyright (C) 2014-2017 ServMask Inc.
|
| 156 |
-
*
|
| 157 |
-
* This program is free software: you can redistribute it and/or modify
|
| 158 |
-
* it under the terms of the GNU General Public License as published by
|
| 159 |
-
* the Free Software Foundation, either version 3 of the License, or
|
| 160 |
-
* (at your option) any later version.
|
| 161 |
-
*
|
| 162 |
-
* This program is distributed in the hope that it will be useful,
|
| 163 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 164 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 165 |
-
* GNU General Public License for more details.
|
| 166 |
-
*
|
| 167 |
-
* You should have received a copy of the GNU General Public License
|
| 168 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 169 |
-
*
|
| 170 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 171 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 172 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 173 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 174 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 175 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 176 |
-
*/
|
| 177 |
-
|
| 178 |
-
var Util = __webpack_require__(0);
|
| 179 |
-
|
| 180 |
-
jQuery(document).ready(function ($) {
|
| 181 |
-
'use strict';
|
| 182 |
-
|
| 183 |
-
$('#ai1wm-report-problem-button').click(function (e) {
|
| 184 |
-
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 185 |
-
|
| 186 |
-
e.preventDefault();
|
| 187 |
-
});
|
| 188 |
-
|
| 189 |
-
$('#ai1wm-report-cancel').click(function (e) {
|
| 190 |
-
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 191 |
-
|
| 192 |
-
e.preventDefault();
|
| 193 |
-
});
|
| 194 |
-
|
| 195 |
-
$('#ai1wm-report-submit').click(function () {
|
| 196 |
-
var email = $('.ai1wm-report-email').val();
|
| 197 |
-
var message = $('.ai1wm-report-message').val();
|
| 198 |
-
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 199 |
-
|
| 200 |
-
$.ajax({
|
| 201 |
-
url: ai1wm_report.ajax.url,
|
| 202 |
-
type: 'POST',
|
| 203 |
-
dataType: 'json',
|
| 204 |
-
async: false,
|
| 205 |
-
data: {
|
| 206 |
-
'secret_key': ai1wm_report.secret_key,
|
| 207 |
-
'ai1wm_email': email,
|
| 208 |
-
'ai1wm_message': message,
|
| 209 |
-
'ai1wm_terms': +terms
|
| 210 |
-
},
|
| 211 |
-
dataFilter: function dataFilter(data, type) {
|
| 212 |
-
return Util.json(data);
|
| 213 |
-
},
|
| 214 |
-
success: function success(data) {
|
| 215 |
-
if (data.errors.length > 0) {
|
| 216 |
-
// Reset previous messages
|
| 217 |
-
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
| 218 |
-
|
| 219 |
-
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 220 |
-
$.each(data.errors, function (key, value) {
|
| 221 |
-
errorMessage.append('<p>' + value + '</p>');
|
| 222 |
-
});
|
| 223 |
-
|
| 224 |
-
$('.ai1wm-report-problem-dialog').prepend(errorMessage);
|
| 225 |
-
} else {
|
| 226 |
-
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
|
| 227 |
-
$('.ai1wm-report-problem-dialog').html(successMessage);
|
| 228 |
-
|
| 229 |
-
// Hide message
|
| 230 |
-
setTimeout(function () {
|
| 231 |
-
$('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 232 |
-
}, 2000);
|
| 233 |
-
}
|
| 234 |
-
}
|
| 235 |
-
});
|
| 236 |
-
});
|
| 237 |
-
});
|
| 238 |
-
|
| 239 |
-
/***/ }),
|
| 240 |
-
/* 2 */
|
| 241 |
-
/***/ (function(module, exports, __webpack_require__) {
|
| 242 |
-
|
| 243 |
-
"use strict";
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
/**
|
| 247 |
-
* Copyright (C) 2014-2017 ServMask Inc.
|
| 248 |
-
*
|
| 249 |
-
* This program is free software: you can redistribute it and/or modify
|
| 250 |
-
* it under the terms of the GNU General Public License as published by
|
| 251 |
-
* the Free Software Foundation, either version 3 of the License, or
|
| 252 |
-
* (at your option) any later version.
|
| 253 |
-
*
|
| 254 |
-
* This program is distributed in the hope that it will be useful,
|
| 255 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 256 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 257 |
-
* GNU General Public License for more details.
|
| 258 |
-
*
|
| 259 |
-
* You should have received a copy of the GNU General Public License
|
| 260 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 261 |
-
*
|
| 262 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 263 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 264 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 265 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 266 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 267 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 268 |
-
*/
|
| 269 |
-
|
| 270 |
-
var Util = __webpack_require__(0);
|
| 271 |
-
|
| 272 |
-
jQuery(document).ready(function ($) {
|
| 273 |
-
'use strict';
|
| 274 |
-
|
| 275 |
-
// Reset feedback form
|
| 276 |
-
|
| 277 |
-
$('.ai1wm-feedback-type').attr('checked', false);
|
| 278 |
-
|
| 279 |
-
// Review
|
| 280 |
-
$('#ai1wm-feedback-type-link-1').click(function (e) {
|
| 281 |
-
var radio = $('#ai1wm-feedback-type-1');
|
| 282 |
-
if (radio.is(':checked')) {
|
| 283 |
-
radio.attr('checked', false);
|
| 284 |
-
e.preventDefault();
|
| 285 |
-
} else {
|
| 286 |
-
radio.attr('checked', true);
|
| 287 |
-
}
|
| 288 |
-
});
|
| 289 |
-
|
| 290 |
-
// Improvement
|
| 291 |
-
$('#ai1wm-feedback-type-2').click(function () {
|
| 292 |
-
// Hide other options
|
| 293 |
-
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
|
| 294 |
-
|
| 295 |
-
// change placeholder message
|
| 296 |
-
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
|
| 297 |
-
|
| 298 |
-
// Show feedback form
|
| 299 |
-
$('.ai1wm-feedback-form').fadeIn();
|
| 300 |
-
});
|
| 301 |
-
|
| 302 |
-
// Help
|
| 303 |
-
$('#ai1wm-feedback-type-3').click(function () {
|
| 304 |
-
// Hide other options
|
| 305 |
-
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
|
| 306 |
-
|
| 307 |
-
// change placeholder message
|
| 308 |
-
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
|
| 309 |
-
|
| 310 |
-
// Show feedback form
|
| 311 |
-
$('.ai1wm-feedback-form').fadeIn();
|
| 312 |
-
});
|
| 313 |
-
|
| 314 |
-
// Cancel feedback form
|
| 315 |
-
$('#ai1wm-feedback-cancel').click(function (e) {
|
| 316 |
-
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 317 |
-
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 318 |
-
});
|
| 319 |
-
e.preventDefault();
|
| 320 |
-
});
|
| 321 |
-
|
| 322 |
-
// Send feedback form
|
| 323 |
-
$('#ai1wm-feedback-submit').click(function () {
|
| 324 |
-
var type = $('.ai1wm-feedback-type:checked').val();
|
| 325 |
-
var email = $('.ai1wm-feedback-email').val();
|
| 326 |
-
var message = $('.ai1wm-feedback-message').val();
|
| 327 |
-
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 328 |
|
| 329 |
-
|
| 330 |
-
url: ai1wm_feedback.ajax.url,
|
| 331 |
-
type: 'POST',
|
| 332 |
-
dataType: 'json',
|
| 333 |
-
async: false,
|
| 334 |
-
data: {
|
| 335 |
-
'secret_key': ai1wm_feedback.secret_key,
|
| 336 |
-
'ai1wm_type': type,
|
| 337 |
-
'ai1wm_email': email,
|
| 338 |
-
'ai1wm_message': message,
|
| 339 |
-
'ai1wm_terms': +terms
|
| 340 |
-
},
|
| 341 |
-
dataFilter: function dataFilter(data, type) {
|
| 342 |
-
return Util.json(data);
|
| 343 |
-
},
|
| 344 |
-
success: function success(data) {
|
| 345 |
-
if (data.errors.length > 0) {
|
| 346 |
-
// Reset previous messages
|
| 347 |
-
$('.ai1wm-feedback .ai1wm-message').remove();
|
| 348 |
-
|
| 349 |
-
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 350 |
-
$.each(data.errors, function (key, value) {
|
| 351 |
-
errorMessage.append('<p>' + value + '</p>');
|
| 352 |
-
});
|
| 353 |
-
|
| 354 |
-
$('.ai1wm-feedback').prepend(errorMessage);
|
| 355 |
-
} else {
|
| 356 |
-
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
|
| 357 |
-
$('.ai1wm-feedback').html(successMessage);
|
| 358 |
-
}
|
| 359 |
-
}
|
| 360 |
-
});
|
| 361 |
-
});
|
| 362 |
-
});
|
| 363 |
-
|
| 364 |
-
/***/ }),
|
| 365 |
-
/* 3 */,
|
| 366 |
-
/* 4 */
|
| 367 |
/***/ (function(module, exports, __webpack_require__) {
|
| 368 |
|
| 369 |
"use strict";
|
|
@@ -394,7 +178,7 @@ jQuery(document).ready(function ($) {
|
|
| 394 |
*/
|
| 395 |
|
| 396 |
var Util = __webpack_require__(0),
|
| 397 |
-
Modal = __webpack_require__(
|
| 398 |
$ = jQuery;
|
| 399 |
|
| 400 |
var Import = function Import() {
|
|
@@ -723,7 +507,8 @@ Import.prototype.onStop = function (options) {
|
|
| 723 |
module.exports = Import;
|
| 724 |
|
| 725 |
/***/ }),
|
| 726 |
-
|
|
|
|
| 727 |
/***/ (function(module, exports, __webpack_require__) {
|
| 728 |
|
| 729 |
"use strict";
|
|
@@ -877,20 +662,29 @@ var Modal = function Modal() {
|
|
| 877 |
var header = $('<h1></h1>');
|
| 878 |
|
| 879 |
// Create paragraph to hold mesage
|
| 880 |
-
var message = $('<p></p>').html(params.message);
|
| 881 |
|
| 882 |
// Create action section
|
| 883 |
-
var action = $('<div></div>');
|
| 884 |
|
| 885 |
// Create warning
|
| 886 |
var warning = $('<span class="ai1wm-icon-notification"></span>');
|
| 887 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 888 |
// Create confirm button
|
| 889 |
-
var confirmButton = $('<button type="button" class="ai1wm-button-green">
|
| 890 |
$(this).attr('disabled', 'disabled');
|
| 891 |
self.onConfirm();
|
| 892 |
});
|
| 893 |
|
|
|
|
|
|
|
|
|
|
| 894 |
// Append confirm button
|
| 895 |
action.append(confirmButton);
|
| 896 |
|
|
@@ -1086,9 +880,8 @@ Modal.prototype.destroy = function () {
|
|
| 1086 |
module.exports = Modal;
|
| 1087 |
|
| 1088 |
/***/ }),
|
| 1089 |
-
|
| 1090 |
-
|
| 1091 |
-
/* 8 */
|
| 1092 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1093 |
|
| 1094 |
"use strict";
|
|
@@ -1118,10 +911,10 @@ module.exports = Modal;
|
|
| 1118 |
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1119 |
*/
|
| 1120 |
|
| 1121 |
-
var Report = __webpack_require__(
|
| 1122 |
-
Feedback = __webpack_require__(
|
| 1123 |
Util = __webpack_require__(0),
|
| 1124 |
-
Import = __webpack_require__(
|
| 1125 |
|
| 1126 |
jQuery(document).ready(function ($) {
|
| 1127 |
'use strict';
|
|
@@ -1181,5 +974,245 @@ jQuery(document).ready(function ($) {
|
|
| 1181 |
});
|
| 1182 |
});
|
| 1183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1184 |
/***/ })
|
| 1185 |
-
|
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 42);
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
+
/******/ ({
|
| 67 |
+
|
| 68 |
+
/***/ 0:
|
| 69 |
/***/ (function(module, exports, __webpack_require__) {
|
| 70 |
|
| 71 |
"use strict";
|
| 146 |
};
|
| 147 |
|
| 148 |
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
+
/***/ 18:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
/***/ (function(module, exports, __webpack_require__) {
|
| 152 |
|
| 153 |
"use strict";
|
| 178 |
*/
|
| 179 |
|
| 180 |
var Util = __webpack_require__(0),
|
| 181 |
+
Modal = __webpack_require__(19),
|
| 182 |
$ = jQuery;
|
| 183 |
|
| 184 |
var Import = function Import() {
|
| 507 |
module.exports = Import;
|
| 508 |
|
| 509 |
/***/ }),
|
| 510 |
+
|
| 511 |
+
/***/ 19:
|
| 512 |
/***/ (function(module, exports, __webpack_require__) {
|
| 513 |
|
| 514 |
"use strict";
|
| 662 |
var header = $('<h1></h1>');
|
| 663 |
|
| 664 |
// Create paragraph to hold mesage
|
| 665 |
+
var message = $('<p class="ai1wm-import-modal-content"></p>').html(params.message);
|
| 666 |
|
| 667 |
// Create action section
|
| 668 |
+
var action = $('<div class="ai1wm-import-modal-actions"></div>');
|
| 669 |
|
| 670 |
// Create warning
|
| 671 |
var warning = $('<span class="ai1wm-icon-notification"></span>');
|
| 672 |
|
| 673 |
+
// Create cancel button
|
| 674 |
+
var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
|
| 675 |
+
$(this).attr('disabled', 'disabled');
|
| 676 |
+
self.onStop();
|
| 677 |
+
});
|
| 678 |
+
|
| 679 |
// Create confirm button
|
| 680 |
+
var confirmButton = $('<button type="button" class="ai1wm-button-green">Proceed ></button>').on('click', function () {
|
| 681 |
$(this).attr('disabled', 'disabled');
|
| 682 |
self.onConfirm();
|
| 683 |
});
|
| 684 |
|
| 685 |
+
// Append cancel button
|
| 686 |
+
action.append(cancelButton);
|
| 687 |
+
|
| 688 |
// Append confirm button
|
| 689 |
action.append(confirmButton);
|
| 690 |
|
| 880 |
module.exports = Modal;
|
| 881 |
|
| 882 |
/***/ }),
|
| 883 |
+
|
| 884 |
+
/***/ 42:
|
|
|
|
| 885 |
/***/ (function(module, exports, __webpack_require__) {
|
| 886 |
|
| 887 |
"use strict";
|
| 911 |
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 912 |
*/
|
| 913 |
|
| 914 |
+
var Report = __webpack_require__(5),
|
| 915 |
+
Feedback = __webpack_require__(6),
|
| 916 |
Util = __webpack_require__(0),
|
| 917 |
+
Import = __webpack_require__(18);
|
| 918 |
|
| 919 |
jQuery(document).ready(function ($) {
|
| 920 |
'use strict';
|
| 974 |
});
|
| 975 |
});
|
| 976 |
|
| 977 |
+
/***/ }),
|
| 978 |
+
|
| 979 |
+
/***/ 5:
|
| 980 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 981 |
+
|
| 982 |
+
"use strict";
|
| 983 |
+
|
| 984 |
+
|
| 985 |
+
/**
|
| 986 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 987 |
+
*
|
| 988 |
+
* This program is free software: you can redistribute it and/or modify
|
| 989 |
+
* it under the terms of the GNU General Public License as published by
|
| 990 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 991 |
+
* (at your option) any later version.
|
| 992 |
+
*
|
| 993 |
+
* This program is distributed in the hope that it will be useful,
|
| 994 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 995 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 996 |
+
* GNU General Public License for more details.
|
| 997 |
+
*
|
| 998 |
+
* You should have received a copy of the GNU General Public License
|
| 999 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1000 |
+
*
|
| 1001 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1002 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1003 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1004 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1005 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1006 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1007 |
+
*/
|
| 1008 |
+
|
| 1009 |
+
var Util = __webpack_require__(0);
|
| 1010 |
+
|
| 1011 |
+
jQuery(document).ready(function ($) {
|
| 1012 |
+
'use strict';
|
| 1013 |
+
|
| 1014 |
+
$('#ai1wm-report-problem-button').click(function (e) {
|
| 1015 |
+
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1016 |
+
|
| 1017 |
+
e.preventDefault();
|
| 1018 |
+
});
|
| 1019 |
+
|
| 1020 |
+
$('#ai1wm-report-cancel').click(function (e) {
|
| 1021 |
+
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1022 |
+
|
| 1023 |
+
e.preventDefault();
|
| 1024 |
+
});
|
| 1025 |
+
|
| 1026 |
+
$('#ai1wm-report-submit').click(function (event) {
|
| 1027 |
+
event.preventDefault();
|
| 1028 |
+
|
| 1029 |
+
var submit_button = $(this);
|
| 1030 |
+
var spinner = $(submit_button).next();
|
| 1031 |
+
var email = $('.ai1wm-report-email').val();
|
| 1032 |
+
var message = $('.ai1wm-report-message').val();
|
| 1033 |
+
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 1034 |
+
|
| 1035 |
+
$(submit_button).attr('disabled', true);
|
| 1036 |
+
$(spinner).css('visibility', 'visible');
|
| 1037 |
+
|
| 1038 |
+
$.ajax({
|
| 1039 |
+
url: ai1wm_report.ajax.url,
|
| 1040 |
+
type: 'POST',
|
| 1041 |
+
dataType: 'json',
|
| 1042 |
+
async: true,
|
| 1043 |
+
data: {
|
| 1044 |
+
'secret_key': ai1wm_report.secret_key,
|
| 1045 |
+
'ai1wm_email': email,
|
| 1046 |
+
'ai1wm_message': message,
|
| 1047 |
+
'ai1wm_terms': +terms
|
| 1048 |
+
},
|
| 1049 |
+
dataFilter: function dataFilter(data, type) {
|
| 1050 |
+
return Util.json(data);
|
| 1051 |
+
},
|
| 1052 |
+
success: function success(data) {
|
| 1053 |
+
$(submit_button).attr('disabled', false);
|
| 1054 |
+
$(spinner).css('visibility', 'hidden');
|
| 1055 |
+
|
| 1056 |
+
if (data.errors.length > 0) {
|
| 1057 |
+
// Reset previous messages
|
| 1058 |
+
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
| 1059 |
+
|
| 1060 |
+
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 1061 |
+
$.each(data.errors, function (key, value) {
|
| 1062 |
+
errorMessage.append('<p>' + value + '</p>');
|
| 1063 |
+
});
|
| 1064 |
+
|
| 1065 |
+
$('.ai1wm-report-problem-dialog').prepend(errorMessage);
|
| 1066 |
+
} else {
|
| 1067 |
+
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
|
| 1068 |
+
$('.ai1wm-report-problem-dialog').html(successMessage);
|
| 1069 |
+
|
| 1070 |
+
// Hide message
|
| 1071 |
+
setTimeout(function () {
|
| 1072 |
+
$('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1073 |
+
}, 2000);
|
| 1074 |
+
}
|
| 1075 |
+
}
|
| 1076 |
+
});
|
| 1077 |
+
});
|
| 1078 |
+
});
|
| 1079 |
+
|
| 1080 |
+
/***/ }),
|
| 1081 |
+
|
| 1082 |
+
/***/ 6:
|
| 1083 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1084 |
+
|
| 1085 |
+
"use strict";
|
| 1086 |
+
|
| 1087 |
+
|
| 1088 |
+
/**
|
| 1089 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 1090 |
+
*
|
| 1091 |
+
* This program is free software: you can redistribute it and/or modify
|
| 1092 |
+
* it under the terms of the GNU General Public License as published by
|
| 1093 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 1094 |
+
* (at your option) any later version.
|
| 1095 |
+
*
|
| 1096 |
+
* This program is distributed in the hope that it will be useful,
|
| 1097 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1098 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1099 |
+
* GNU General Public License for more details.
|
| 1100 |
+
*
|
| 1101 |
+
* You should have received a copy of the GNU General Public License
|
| 1102 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1103 |
+
*
|
| 1104 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1105 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1106 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1107 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1108 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1109 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1110 |
+
*/
|
| 1111 |
+
|
| 1112 |
+
var Util = __webpack_require__(0);
|
| 1113 |
+
|
| 1114 |
+
jQuery(document).ready(function ($) {
|
| 1115 |
+
'use strict';
|
| 1116 |
+
|
| 1117 |
+
// Reset feedback form
|
| 1118 |
+
|
| 1119 |
+
$('.ai1wm-feedback-type').attr('checked', false);
|
| 1120 |
+
|
| 1121 |
+
// Review
|
| 1122 |
+
$('#ai1wm-feedback-type-link-1').click(function (e) {
|
| 1123 |
+
var radio = $('#ai1wm-feedback-type-1');
|
| 1124 |
+
if (radio.is(':checked')) {
|
| 1125 |
+
radio.attr('checked', false);
|
| 1126 |
+
e.preventDefault();
|
| 1127 |
+
} else {
|
| 1128 |
+
radio.attr('checked', true);
|
| 1129 |
+
}
|
| 1130 |
+
});
|
| 1131 |
+
|
| 1132 |
+
// Improvement
|
| 1133 |
+
$('#ai1wm-feedback-type-2').click(function () {
|
| 1134 |
+
// Hide other options
|
| 1135 |
+
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
|
| 1136 |
+
|
| 1137 |
+
// change placeholder message
|
| 1138 |
+
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
|
| 1139 |
+
|
| 1140 |
+
// Show feedback form
|
| 1141 |
+
$('.ai1wm-feedback-form').fadeIn();
|
| 1142 |
+
});
|
| 1143 |
+
|
| 1144 |
+
// Help
|
| 1145 |
+
$('#ai1wm-feedback-type-3').click(function () {
|
| 1146 |
+
// Hide other options
|
| 1147 |
+
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
|
| 1148 |
+
|
| 1149 |
+
// change placeholder message
|
| 1150 |
+
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
|
| 1151 |
+
|
| 1152 |
+
// Show feedback form
|
| 1153 |
+
$('.ai1wm-feedback-form').fadeIn();
|
| 1154 |
+
});
|
| 1155 |
+
|
| 1156 |
+
// Cancel feedback form
|
| 1157 |
+
$('#ai1wm-feedback-cancel').click(function (e) {
|
| 1158 |
+
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1159 |
+
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1160 |
+
});
|
| 1161 |
+
e.preventDefault();
|
| 1162 |
+
});
|
| 1163 |
+
|
| 1164 |
+
// Send feedback form
|
| 1165 |
+
$('#ai1wm-feedback-submit').click(function (event) {
|
| 1166 |
+
event.preventDefault();
|
| 1167 |
+
|
| 1168 |
+
var submit_button = $(this);
|
| 1169 |
+
var spinner = $(submit_button).next();
|
| 1170 |
+
var type = $('.ai1wm-feedback-type:checked').val();
|
| 1171 |
+
var email = $('.ai1wm-feedback-email').val();
|
| 1172 |
+
var message = $('.ai1wm-feedback-message').val();
|
| 1173 |
+
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 1174 |
+
|
| 1175 |
+
$(submit_button).attr('disabled', true);
|
| 1176 |
+
$(spinner).css('visibility', 'visible');
|
| 1177 |
+
|
| 1178 |
+
$.ajax({
|
| 1179 |
+
url: ai1wm_feedback.ajax.url,
|
| 1180 |
+
type: 'POST',
|
| 1181 |
+
dataType: 'json',
|
| 1182 |
+
async: true,
|
| 1183 |
+
data: {
|
| 1184 |
+
'secret_key': ai1wm_feedback.secret_key,
|
| 1185 |
+
'ai1wm_type': type,
|
| 1186 |
+
'ai1wm_email': email,
|
| 1187 |
+
'ai1wm_message': message,
|
| 1188 |
+
'ai1wm_terms': +terms
|
| 1189 |
+
},
|
| 1190 |
+
dataFilter: function dataFilter(data, type) {
|
| 1191 |
+
return Util.json(data);
|
| 1192 |
+
},
|
| 1193 |
+
success: function success(data) {
|
| 1194 |
+
$(submit_button).attr('disabled', false);
|
| 1195 |
+
$(spinner).css('visibility', 'hidden');
|
| 1196 |
+
|
| 1197 |
+
if (data.errors.length > 0) {
|
| 1198 |
+
// Reset previous messages
|
| 1199 |
+
$('.ai1wm-feedback .ai1wm-message').remove();
|
| 1200 |
+
|
| 1201 |
+
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 1202 |
+
$.each(data.errors, function (key, value) {
|
| 1203 |
+
errorMessage.append('<p>' + value + '</p>');
|
| 1204 |
+
});
|
| 1205 |
+
|
| 1206 |
+
$('.ai1wm-feedback').prepend(errorMessage);
|
| 1207 |
+
} else {
|
| 1208 |
+
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
|
| 1209 |
+
$('.ai1wm-feedback').html(successMessage);
|
| 1210 |
+
}
|
| 1211 |
+
}
|
| 1212 |
+
});
|
| 1213 |
+
});
|
| 1214 |
+
});
|
| 1215 |
+
|
| 1216 |
/***/ })
|
| 1217 |
+
|
| 1218 |
+
/******/ });
|
lib/view/assets/javascript/export.min.js
CHANGED
|
@@ -60,11 +60,12 @@
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
-
/******/ (
|
| 67 |
-
|
|
|
|
| 68 |
/***/ (function(module, exports, __webpack_require__) {
|
| 69 |
|
| 70 |
"use strict";
|
|
@@ -145,253 +146,8 @@ module.exports = {
|
|
| 145 |
};
|
| 146 |
|
| 147 |
/***/ }),
|
| 148 |
-
/* 1 */
|
| 149 |
-
/***/ (function(module, exports, __webpack_require__) {
|
| 150 |
-
|
| 151 |
-
"use strict";
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
/**
|
| 155 |
-
* Copyright (C) 2014-2017 ServMask Inc.
|
| 156 |
-
*
|
| 157 |
-
* This program is free software: you can redistribute it and/or modify
|
| 158 |
-
* it under the terms of the GNU General Public License as published by
|
| 159 |
-
* the Free Software Foundation, either version 3 of the License, or
|
| 160 |
-
* (at your option) any later version.
|
| 161 |
-
*
|
| 162 |
-
* This program is distributed in the hope that it will be useful,
|
| 163 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 164 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 165 |
-
* GNU General Public License for more details.
|
| 166 |
-
*
|
| 167 |
-
* You should have received a copy of the GNU General Public License
|
| 168 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 169 |
-
*
|
| 170 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 171 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 172 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 173 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 174 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 175 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 176 |
-
*/
|
| 177 |
-
|
| 178 |
-
var Util = __webpack_require__(0);
|
| 179 |
|
| 180 |
-
|
| 181 |
-
'use strict';
|
| 182 |
-
|
| 183 |
-
$('#ai1wm-report-problem-button').click(function (e) {
|
| 184 |
-
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 185 |
-
|
| 186 |
-
e.preventDefault();
|
| 187 |
-
});
|
| 188 |
-
|
| 189 |
-
$('#ai1wm-report-cancel').click(function (e) {
|
| 190 |
-
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 191 |
-
|
| 192 |
-
e.preventDefault();
|
| 193 |
-
});
|
| 194 |
-
|
| 195 |
-
$('#ai1wm-report-submit').click(function () {
|
| 196 |
-
var email = $('.ai1wm-report-email').val();
|
| 197 |
-
var message = $('.ai1wm-report-message').val();
|
| 198 |
-
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 199 |
-
|
| 200 |
-
$.ajax({
|
| 201 |
-
url: ai1wm_report.ajax.url,
|
| 202 |
-
type: 'POST',
|
| 203 |
-
dataType: 'json',
|
| 204 |
-
async: false,
|
| 205 |
-
data: {
|
| 206 |
-
'secret_key': ai1wm_report.secret_key,
|
| 207 |
-
'ai1wm_email': email,
|
| 208 |
-
'ai1wm_message': message,
|
| 209 |
-
'ai1wm_terms': +terms
|
| 210 |
-
},
|
| 211 |
-
dataFilter: function dataFilter(data, type) {
|
| 212 |
-
return Util.json(data);
|
| 213 |
-
},
|
| 214 |
-
success: function success(data) {
|
| 215 |
-
if (data.errors.length > 0) {
|
| 216 |
-
// Reset previous messages
|
| 217 |
-
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
| 218 |
-
|
| 219 |
-
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 220 |
-
$.each(data.errors, function (key, value) {
|
| 221 |
-
errorMessage.append('<p>' + value + '</p>');
|
| 222 |
-
});
|
| 223 |
-
|
| 224 |
-
$('.ai1wm-report-problem-dialog').prepend(errorMessage);
|
| 225 |
-
} else {
|
| 226 |
-
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
|
| 227 |
-
$('.ai1wm-report-problem-dialog').html(successMessage);
|
| 228 |
-
|
| 229 |
-
// Hide message
|
| 230 |
-
setTimeout(function () {
|
| 231 |
-
$('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 232 |
-
}, 2000);
|
| 233 |
-
}
|
| 234 |
-
}
|
| 235 |
-
});
|
| 236 |
-
});
|
| 237 |
-
});
|
| 238 |
-
|
| 239 |
-
/***/ }),
|
| 240 |
-
/* 2 */
|
| 241 |
-
/***/ (function(module, exports, __webpack_require__) {
|
| 242 |
-
|
| 243 |
-
"use strict";
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
/**
|
| 247 |
-
* Copyright (C) 2014-2017 ServMask Inc.
|
| 248 |
-
*
|
| 249 |
-
* This program is free software: you can redistribute it and/or modify
|
| 250 |
-
* it under the terms of the GNU General Public License as published by
|
| 251 |
-
* the Free Software Foundation, either version 3 of the License, or
|
| 252 |
-
* (at your option) any later version.
|
| 253 |
-
*
|
| 254 |
-
* This program is distributed in the hope that it will be useful,
|
| 255 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 256 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 257 |
-
* GNU General Public License for more details.
|
| 258 |
-
*
|
| 259 |
-
* You should have received a copy of the GNU General Public License
|
| 260 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 261 |
-
*
|
| 262 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 263 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 264 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 265 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 266 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 267 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 268 |
-
*/
|
| 269 |
-
|
| 270 |
-
var Util = __webpack_require__(0);
|
| 271 |
-
|
| 272 |
-
jQuery(document).ready(function ($) {
|
| 273 |
-
'use strict';
|
| 274 |
-
|
| 275 |
-
// Reset feedback form
|
| 276 |
-
|
| 277 |
-
$('.ai1wm-feedback-type').attr('checked', false);
|
| 278 |
-
|
| 279 |
-
// Review
|
| 280 |
-
$('#ai1wm-feedback-type-link-1').click(function (e) {
|
| 281 |
-
var radio = $('#ai1wm-feedback-type-1');
|
| 282 |
-
if (radio.is(':checked')) {
|
| 283 |
-
radio.attr('checked', false);
|
| 284 |
-
e.preventDefault();
|
| 285 |
-
} else {
|
| 286 |
-
radio.attr('checked', true);
|
| 287 |
-
}
|
| 288 |
-
});
|
| 289 |
-
|
| 290 |
-
// Improvement
|
| 291 |
-
$('#ai1wm-feedback-type-2').click(function () {
|
| 292 |
-
// Hide other options
|
| 293 |
-
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
|
| 294 |
-
|
| 295 |
-
// change placeholder message
|
| 296 |
-
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
|
| 297 |
-
|
| 298 |
-
// Show feedback form
|
| 299 |
-
$('.ai1wm-feedback-form').fadeIn();
|
| 300 |
-
});
|
| 301 |
-
|
| 302 |
-
// Help
|
| 303 |
-
$('#ai1wm-feedback-type-3').click(function () {
|
| 304 |
-
// Hide other options
|
| 305 |
-
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
|
| 306 |
-
|
| 307 |
-
// change placeholder message
|
| 308 |
-
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
|
| 309 |
-
|
| 310 |
-
// Show feedback form
|
| 311 |
-
$('.ai1wm-feedback-form').fadeIn();
|
| 312 |
-
});
|
| 313 |
-
|
| 314 |
-
// Cancel feedback form
|
| 315 |
-
$('#ai1wm-feedback-cancel').click(function (e) {
|
| 316 |
-
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 317 |
-
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 318 |
-
});
|
| 319 |
-
e.preventDefault();
|
| 320 |
-
});
|
| 321 |
-
|
| 322 |
-
// Send feedback form
|
| 323 |
-
$('#ai1wm-feedback-submit').click(function () {
|
| 324 |
-
var type = $('.ai1wm-feedback-type:checked').val();
|
| 325 |
-
var email = $('.ai1wm-feedback-email').val();
|
| 326 |
-
var message = $('.ai1wm-feedback-message').val();
|
| 327 |
-
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 328 |
-
|
| 329 |
-
$.ajax({
|
| 330 |
-
url: ai1wm_feedback.ajax.url,
|
| 331 |
-
type: 'POST',
|
| 332 |
-
dataType: 'json',
|
| 333 |
-
async: false,
|
| 334 |
-
data: {
|
| 335 |
-
'secret_key': ai1wm_feedback.secret_key,
|
| 336 |
-
'ai1wm_type': type,
|
| 337 |
-
'ai1wm_email': email,
|
| 338 |
-
'ai1wm_message': message,
|
| 339 |
-
'ai1wm_terms': +terms
|
| 340 |
-
},
|
| 341 |
-
dataFilter: function dataFilter(data, type) {
|
| 342 |
-
return Util.json(data);
|
| 343 |
-
},
|
| 344 |
-
success: function success(data) {
|
| 345 |
-
if (data.errors.length > 0) {
|
| 346 |
-
// Reset previous messages
|
| 347 |
-
$('.ai1wm-feedback .ai1wm-message').remove();
|
| 348 |
-
|
| 349 |
-
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 350 |
-
$.each(data.errors, function (key, value) {
|
| 351 |
-
errorMessage.append('<p>' + value + '</p>');
|
| 352 |
-
});
|
| 353 |
-
|
| 354 |
-
$('.ai1wm-feedback').prepend(errorMessage);
|
| 355 |
-
} else {
|
| 356 |
-
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
|
| 357 |
-
$('.ai1wm-feedback').html(successMessage);
|
| 358 |
-
}
|
| 359 |
-
}
|
| 360 |
-
});
|
| 361 |
-
});
|
| 362 |
-
});
|
| 363 |
-
|
| 364 |
-
/***/ }),
|
| 365 |
-
/* 3 */
|
| 366 |
-
/***/ (function(module, exports) {
|
| 367 |
-
|
| 368 |
-
var g;
|
| 369 |
-
|
| 370 |
-
// This works in non-strict mode
|
| 371 |
-
g = (function() {
|
| 372 |
-
return this;
|
| 373 |
-
})();
|
| 374 |
-
|
| 375 |
-
try {
|
| 376 |
-
// This works if eval is allowed (see CSP)
|
| 377 |
-
g = g || Function("return this")() || (1,eval)("this");
|
| 378 |
-
} catch(e) {
|
| 379 |
-
// This works if the window reference is available
|
| 380 |
-
if(typeof window === "object")
|
| 381 |
-
g = window;
|
| 382 |
-
}
|
| 383 |
-
|
| 384 |
-
// g can still be undefined, but nothing to do about it...
|
| 385 |
-
// We return undefined, instead of nothing here, so it's
|
| 386 |
-
// easier to handle this case. if(!global) { ...}
|
| 387 |
-
|
| 388 |
-
module.exports = g;
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
/***/ }),
|
| 392 |
-
/* 4 */,
|
| 393 |
-
/* 5 */,
|
| 394 |
-
/* 6 */
|
| 395 |
/***/ (function(module, exports, __webpack_require__) {
|
| 396 |
|
| 397 |
"use strict";
|
|
@@ -422,7 +178,7 @@ module.exports = g;
|
|
| 422 |
*/
|
| 423 |
|
| 424 |
var Util = __webpack_require__(0),
|
| 425 |
-
Dialog = __webpack_require__(
|
| 426 |
|
| 427 |
var Extensions = {
|
| 428 |
's3': 'Amazon S3 Extension',
|
|
@@ -486,7 +242,8 @@ jQuery(document).ready(function ($) {
|
|
| 486 |
});
|
| 487 |
|
| 488 |
/***/ }),
|
| 489 |
-
|
|
|
|
| 490 |
/***/ (function(module, exports, __webpack_require__) {
|
| 491 |
|
| 492 |
"use strict";
|
|
@@ -564,8 +321,8 @@ var Dialog = function Dialog(text) {
|
|
| 564 |
module.exports = Dialog;
|
| 565 |
|
| 566 |
/***/ }),
|
| 567 |
-
|
| 568 |
-
|
| 569 |
/***/ (function(module, exports, __webpack_require__) {
|
| 570 |
|
| 571 |
"use strict";
|
|
@@ -595,13 +352,13 @@ module.exports = Dialog;
|
|
| 595 |
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 596 |
*/
|
| 597 |
|
| 598 |
-
var Query = __webpack_require__(
|
| 599 |
-
FindReplace = __webpack_require__(
|
| 600 |
-
Report = __webpack_require__(
|
| 601 |
-
Feedback = __webpack_require__(
|
| 602 |
Util = __webpack_require__(0),
|
| 603 |
-
Deprecated = __webpack_require__(
|
| 604 |
-
Export = __webpack_require__(
|
| 605 |
|
| 606 |
jQuery(document).ready(function ($) {
|
| 607 |
'use strict';
|
|
@@ -632,14 +389,15 @@ jQuery(document).ready(function ($) {
|
|
| 632 |
$(this).parent().toggleClass('ai1wm-open');
|
| 633 |
});
|
| 634 |
|
| 635 |
-
$('.ai1wm-
|
| 636 |
});
|
| 637 |
|
| 638 |
global.Ai1wm = { Util: Util, Export: Export };
|
| 639 |
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
| 640 |
|
| 641 |
/***/ }),
|
| 642 |
-
|
|
|
|
| 643 |
/***/ (function(module, exports, __webpack_require__) {
|
| 644 |
|
| 645 |
"use strict";
|
|
@@ -691,7 +449,8 @@ global.Ai1wm = { Util: Util, Export: Export };
|
|
| 691 |
})(jQuery);
|
| 692 |
|
| 693 |
/***/ }),
|
| 694 |
-
|
|
|
|
| 695 |
/***/ (function(module, exports, __webpack_require__) {
|
| 696 |
|
| 697 |
"use strict";
|
|
@@ -755,7 +514,8 @@ global.Ai1wm = { Util: Util, Export: Export };
|
|
| 755 |
})(jQuery);
|
| 756 |
|
| 757 |
/***/ }),
|
| 758 |
-
|
|
|
|
| 759 |
/***/ (function(module, exports, __webpack_require__) {
|
| 760 |
|
| 761 |
"use strict";
|
|
@@ -786,7 +546,7 @@ global.Ai1wm = { Util: Util, Export: Export };
|
|
| 786 |
*/
|
| 787 |
|
| 788 |
var Util = __webpack_require__(0),
|
| 789 |
-
Modal = __webpack_require__(
|
| 790 |
$ = jQuery;
|
| 791 |
|
| 792 |
var Export = function Export() {
|
|
@@ -1006,7 +766,8 @@ Export.prototype.onStop = function (options) {
|
|
| 1006 |
module.exports = Export;
|
| 1007 |
|
| 1008 |
/***/ }),
|
| 1009 |
-
|
|
|
|
| 1010 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1011 |
|
| 1012 |
"use strict";
|
|
@@ -1247,5 +1008,273 @@ Modal.prototype.destroy = function () {
|
|
| 1247 |
|
| 1248 |
module.exports = Modal;
|
| 1249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1250 |
/***/ })
|
| 1251 |
-
|
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 43);
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
+
/******/ ({
|
| 67 |
+
|
| 68 |
+
/***/ 0:
|
| 69 |
/***/ (function(module, exports, __webpack_require__) {
|
| 70 |
|
| 71 |
"use strict";
|
| 146 |
};
|
| 147 |
|
| 148 |
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
+
/***/ 20:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
/***/ (function(module, exports, __webpack_require__) {
|
| 152 |
|
| 153 |
"use strict";
|
| 178 |
*/
|
| 179 |
|
| 180 |
var Util = __webpack_require__(0),
|
| 181 |
+
Dialog = __webpack_require__(21);
|
| 182 |
|
| 183 |
var Extensions = {
|
| 184 |
's3': 'Amazon S3 Extension',
|
| 242 |
});
|
| 243 |
|
| 244 |
/***/ }),
|
| 245 |
+
|
| 246 |
+
/***/ 21:
|
| 247 |
/***/ (function(module, exports, __webpack_require__) {
|
| 248 |
|
| 249 |
"use strict";
|
| 321 |
module.exports = Dialog;
|
| 322 |
|
| 323 |
/***/ }),
|
| 324 |
+
|
| 325 |
+
/***/ 43:
|
| 326 |
/***/ (function(module, exports, __webpack_require__) {
|
| 327 |
|
| 328 |
"use strict";
|
| 352 |
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 353 |
*/
|
| 354 |
|
| 355 |
+
var Query = __webpack_require__(44),
|
| 356 |
+
FindReplace = __webpack_require__(45),
|
| 357 |
+
Report = __webpack_require__(5),
|
| 358 |
+
Feedback = __webpack_require__(6),
|
| 359 |
Util = __webpack_require__(0),
|
| 360 |
+
Deprecated = __webpack_require__(20),
|
| 361 |
+
Export = __webpack_require__(46);
|
| 362 |
|
| 363 |
jQuery(document).ready(function ($) {
|
| 364 |
'use strict';
|
| 389 |
$(this).parent().toggleClass('ai1wm-open');
|
| 390 |
});
|
| 391 |
|
| 392 |
+
$('.ai1wm-query').ai1wm_query();
|
| 393 |
});
|
| 394 |
|
| 395 |
global.Ai1wm = { Util: Util, Export: Export };
|
| 396 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7)))
|
| 397 |
|
| 398 |
/***/ }),
|
| 399 |
+
|
| 400 |
+
/***/ 44:
|
| 401 |
/***/ (function(module, exports, __webpack_require__) {
|
| 402 |
|
| 403 |
"use strict";
|
| 449 |
})(jQuery);
|
| 450 |
|
| 451 |
/***/ }),
|
| 452 |
+
|
| 453 |
+
/***/ 45:
|
| 454 |
/***/ (function(module, exports, __webpack_require__) {
|
| 455 |
|
| 456 |
"use strict";
|
| 514 |
})(jQuery);
|
| 515 |
|
| 516 |
/***/ }),
|
| 517 |
+
|
| 518 |
+
/***/ 46:
|
| 519 |
/***/ (function(module, exports, __webpack_require__) {
|
| 520 |
|
| 521 |
"use strict";
|
| 546 |
*/
|
| 547 |
|
| 548 |
var Util = __webpack_require__(0),
|
| 549 |
+
Modal = __webpack_require__(47),
|
| 550 |
$ = jQuery;
|
| 551 |
|
| 552 |
var Export = function Export() {
|
| 766 |
module.exports = Export;
|
| 767 |
|
| 768 |
/***/ }),
|
| 769 |
+
|
| 770 |
+
/***/ 47:
|
| 771 |
/***/ (function(module, exports, __webpack_require__) {
|
| 772 |
|
| 773 |
"use strict";
|
| 1008 |
|
| 1009 |
module.exports = Modal;
|
| 1010 |
|
| 1011 |
+
/***/ }),
|
| 1012 |
+
|
| 1013 |
+
/***/ 5:
|
| 1014 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1015 |
+
|
| 1016 |
+
"use strict";
|
| 1017 |
+
|
| 1018 |
+
|
| 1019 |
+
/**
|
| 1020 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 1021 |
+
*
|
| 1022 |
+
* This program is free software: you can redistribute it and/or modify
|
| 1023 |
+
* it under the terms of the GNU General Public License as published by
|
| 1024 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 1025 |
+
* (at your option) any later version.
|
| 1026 |
+
*
|
| 1027 |
+
* This program is distributed in the hope that it will be useful,
|
| 1028 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1029 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1030 |
+
* GNU General Public License for more details.
|
| 1031 |
+
*
|
| 1032 |
+
* You should have received a copy of the GNU General Public License
|
| 1033 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1034 |
+
*
|
| 1035 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1036 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1037 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1038 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1039 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1040 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1041 |
+
*/
|
| 1042 |
+
|
| 1043 |
+
var Util = __webpack_require__(0);
|
| 1044 |
+
|
| 1045 |
+
jQuery(document).ready(function ($) {
|
| 1046 |
+
'use strict';
|
| 1047 |
+
|
| 1048 |
+
$('#ai1wm-report-problem-button').click(function (e) {
|
| 1049 |
+
$(this).next('.ai1wm-report-problem-dialog').toggleClass('ai1wm-report-active');
|
| 1050 |
+
|
| 1051 |
+
e.preventDefault();
|
| 1052 |
+
});
|
| 1053 |
+
|
| 1054 |
+
$('#ai1wm-report-cancel').click(function (e) {
|
| 1055 |
+
$(this).closest('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1056 |
+
|
| 1057 |
+
e.preventDefault();
|
| 1058 |
+
});
|
| 1059 |
+
|
| 1060 |
+
$('#ai1wm-report-submit').click(function (event) {
|
| 1061 |
+
event.preventDefault();
|
| 1062 |
+
|
| 1063 |
+
var submit_button = $(this);
|
| 1064 |
+
var spinner = $(submit_button).next();
|
| 1065 |
+
var email = $('.ai1wm-report-email').val();
|
| 1066 |
+
var message = $('.ai1wm-report-message').val();
|
| 1067 |
+
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 1068 |
+
|
| 1069 |
+
$(submit_button).attr('disabled', true);
|
| 1070 |
+
$(spinner).css('visibility', 'visible');
|
| 1071 |
+
|
| 1072 |
+
$.ajax({
|
| 1073 |
+
url: ai1wm_report.ajax.url,
|
| 1074 |
+
type: 'POST',
|
| 1075 |
+
dataType: 'json',
|
| 1076 |
+
async: true,
|
| 1077 |
+
data: {
|
| 1078 |
+
'secret_key': ai1wm_report.secret_key,
|
| 1079 |
+
'ai1wm_email': email,
|
| 1080 |
+
'ai1wm_message': message,
|
| 1081 |
+
'ai1wm_terms': +terms
|
| 1082 |
+
},
|
| 1083 |
+
dataFilter: function dataFilter(data, type) {
|
| 1084 |
+
return Util.json(data);
|
| 1085 |
+
},
|
| 1086 |
+
success: function success(data) {
|
| 1087 |
+
$(submit_button).attr('disabled', false);
|
| 1088 |
+
$(spinner).css('visibility', 'hidden');
|
| 1089 |
+
|
| 1090 |
+
if (data.errors.length > 0) {
|
| 1091 |
+
// Reset previous messages
|
| 1092 |
+
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
| 1093 |
+
|
| 1094 |
+
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 1095 |
+
$.each(data.errors, function (key, value) {
|
| 1096 |
+
errorMessage.append('<p>' + value + '</p>');
|
| 1097 |
+
});
|
| 1098 |
+
|
| 1099 |
+
$('.ai1wm-report-problem-dialog').prepend(errorMessage);
|
| 1100 |
+
} else {
|
| 1101 |
+
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your request!</p>');
|
| 1102 |
+
$('.ai1wm-report-problem-dialog').html(successMessage);
|
| 1103 |
+
|
| 1104 |
+
// Hide message
|
| 1105 |
+
setTimeout(function () {
|
| 1106 |
+
$('.ai1wm-report-problem-dialog').removeClass('ai1wm-report-active');
|
| 1107 |
+
}, 2000);
|
| 1108 |
+
}
|
| 1109 |
+
}
|
| 1110 |
+
});
|
| 1111 |
+
});
|
| 1112 |
+
});
|
| 1113 |
+
|
| 1114 |
+
/***/ }),
|
| 1115 |
+
|
| 1116 |
+
/***/ 6:
|
| 1117 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1118 |
+
|
| 1119 |
+
"use strict";
|
| 1120 |
+
|
| 1121 |
+
|
| 1122 |
+
/**
|
| 1123 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 1124 |
+
*
|
| 1125 |
+
* This program is free software: you can redistribute it and/or modify
|
| 1126 |
+
* it under the terms of the GNU General Public License as published by
|
| 1127 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 1128 |
+
* (at your option) any later version.
|
| 1129 |
+
*
|
| 1130 |
+
* This program is distributed in the hope that it will be useful,
|
| 1131 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1132 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1133 |
+
* GNU General Public License for more details.
|
| 1134 |
+
*
|
| 1135 |
+
* You should have received a copy of the GNU General Public License
|
| 1136 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1137 |
+
*
|
| 1138 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1139 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1140 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1141 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1142 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1143 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1144 |
+
*/
|
| 1145 |
+
|
| 1146 |
+
var Util = __webpack_require__(0);
|
| 1147 |
+
|
| 1148 |
+
jQuery(document).ready(function ($) {
|
| 1149 |
+
'use strict';
|
| 1150 |
+
|
| 1151 |
+
// Reset feedback form
|
| 1152 |
+
|
| 1153 |
+
$('.ai1wm-feedback-type').attr('checked', false);
|
| 1154 |
+
|
| 1155 |
+
// Review
|
| 1156 |
+
$('#ai1wm-feedback-type-link-1').click(function (e) {
|
| 1157 |
+
var radio = $('#ai1wm-feedback-type-1');
|
| 1158 |
+
if (radio.is(':checked')) {
|
| 1159 |
+
radio.attr('checked', false);
|
| 1160 |
+
e.preventDefault();
|
| 1161 |
+
} else {
|
| 1162 |
+
radio.attr('checked', true);
|
| 1163 |
+
}
|
| 1164 |
+
});
|
| 1165 |
+
|
| 1166 |
+
// Improvement
|
| 1167 |
+
$('#ai1wm-feedback-type-2').click(function () {
|
| 1168 |
+
// Hide other options
|
| 1169 |
+
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-3').closest('li').hide();
|
| 1170 |
+
|
| 1171 |
+
// change placeholder message
|
| 1172 |
+
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'Leave plugin developers any feedback here');
|
| 1173 |
+
|
| 1174 |
+
// Show feedback form
|
| 1175 |
+
$('.ai1wm-feedback-form').fadeIn();
|
| 1176 |
+
});
|
| 1177 |
+
|
| 1178 |
+
// Help
|
| 1179 |
+
$('#ai1wm-feedback-type-3').click(function () {
|
| 1180 |
+
// Hide other options
|
| 1181 |
+
$('#ai1wm-feedback-type-1, #ai1wm-feedback-type-2').closest('li').hide();
|
| 1182 |
+
|
| 1183 |
+
// change placeholder message
|
| 1184 |
+
$('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', 'How may we help you?');
|
| 1185 |
+
|
| 1186 |
+
// Show feedback form
|
| 1187 |
+
$('.ai1wm-feedback-form').fadeIn();
|
| 1188 |
+
});
|
| 1189 |
+
|
| 1190 |
+
// Cancel feedback form
|
| 1191 |
+
$('#ai1wm-feedback-cancel').click(function (e) {
|
| 1192 |
+
$('.ai1wm-feedback-form').fadeOut(function () {
|
| 1193 |
+
$('.ai1wm-feedback-type').attr('checked', false).closest('li').show();
|
| 1194 |
+
});
|
| 1195 |
+
e.preventDefault();
|
| 1196 |
+
});
|
| 1197 |
+
|
| 1198 |
+
// Send feedback form
|
| 1199 |
+
$('#ai1wm-feedback-submit').click(function (event) {
|
| 1200 |
+
event.preventDefault();
|
| 1201 |
+
|
| 1202 |
+
var submit_button = $(this);
|
| 1203 |
+
var spinner = $(submit_button).next();
|
| 1204 |
+
var type = $('.ai1wm-feedback-type:checked').val();
|
| 1205 |
+
var email = $('.ai1wm-feedback-email').val();
|
| 1206 |
+
var message = $('.ai1wm-feedback-message').val();
|
| 1207 |
+
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 1208 |
+
|
| 1209 |
+
$(submit_button).attr('disabled', true);
|
| 1210 |
+
$(spinner).css('visibility', 'visible');
|
| 1211 |
+
|
| 1212 |
+
$.ajax({
|
| 1213 |
+
url: ai1wm_feedback.ajax.url,
|
| 1214 |
+
type: 'POST',
|
| 1215 |
+
dataType: 'json',
|
| 1216 |
+
async: true,
|
| 1217 |
+
data: {
|
| 1218 |
+
'secret_key': ai1wm_feedback.secret_key,
|
| 1219 |
+
'ai1wm_type': type,
|
| 1220 |
+
'ai1wm_email': email,
|
| 1221 |
+
'ai1wm_message': message,
|
| 1222 |
+
'ai1wm_terms': +terms
|
| 1223 |
+
},
|
| 1224 |
+
dataFilter: function dataFilter(data, type) {
|
| 1225 |
+
return Util.json(data);
|
| 1226 |
+
},
|
| 1227 |
+
success: function success(data) {
|
| 1228 |
+
$(submit_button).attr('disabled', false);
|
| 1229 |
+
$(spinner).css('visibility', 'hidden');
|
| 1230 |
+
|
| 1231 |
+
if (data.errors.length > 0) {
|
| 1232 |
+
// Reset previous messages
|
| 1233 |
+
$('.ai1wm-feedback .ai1wm-message').remove();
|
| 1234 |
+
|
| 1235 |
+
var errorMessage = $('<div />').addClass('ai1wm-message ai1wm-error-message');
|
| 1236 |
+
$.each(data.errors, function (key, value) {
|
| 1237 |
+
errorMessage.append('<p>' + value + '</p>');
|
| 1238 |
+
});
|
| 1239 |
+
|
| 1240 |
+
$('.ai1wm-feedback').prepend(errorMessage);
|
| 1241 |
+
} else {
|
| 1242 |
+
var successMessage = $('<div />').addClass('ai1wm-message ai1wm-success-message').append('<p>Thanks for submitting your feedback!</p>');
|
| 1243 |
+
$('.ai1wm-feedback').html(successMessage);
|
| 1244 |
+
}
|
| 1245 |
+
}
|
| 1246 |
+
});
|
| 1247 |
+
});
|
| 1248 |
+
});
|
| 1249 |
+
|
| 1250 |
+
/***/ }),
|
| 1251 |
+
|
| 1252 |
+
/***/ 7:
|
| 1253 |
+
/***/ (function(module, exports) {
|
| 1254 |
+
|
| 1255 |
+
var g;
|
| 1256 |
+
|
| 1257 |
+
// This works in non-strict mode
|
| 1258 |
+
g = (function() {
|
| 1259 |
+
return this;
|
| 1260 |
+
})();
|
| 1261 |
+
|
| 1262 |
+
try {
|
| 1263 |
+
// This works if eval is allowed (see CSP)
|
| 1264 |
+
g = g || Function("return this")() || (1,eval)("this");
|
| 1265 |
+
} catch(e) {
|
| 1266 |
+
// This works if the window reference is available
|
| 1267 |
+
if(typeof window === "object")
|
| 1268 |
+
g = window;
|
| 1269 |
+
}
|
| 1270 |
+
|
| 1271 |
+
// g can still be undefined, but nothing to do about it...
|
| 1272 |
+
// We return undefined, instead of nothing here, so it's
|
| 1273 |
+
// easier to handle this case. if(!global) { ...}
|
| 1274 |
+
|
| 1275 |
+
module.exports = g;
|
| 1276 |
+
|
| 1277 |
+
|
| 1278 |
/***/ })
|
| 1279 |
+
|
| 1280 |
+
/******/ });
|
lib/view/assets/javascript/import.min.js
CHANGED
|
@@ -60,7 +60,7 @@
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
/******/ ([
|
|
@@ -148,6 +148,60 @@ module.exports = {
|
|
| 148 |
/* 1 */
|
| 149 |
/***/ (function(module, exports, __webpack_require__) {
|
| 150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
"use strict";
|
| 152 |
|
| 153 |
|
|
@@ -192,16 +246,23 @@ jQuery(document).ready(function ($) {
|
|
| 192 |
e.preventDefault();
|
| 193 |
});
|
| 194 |
|
| 195 |
-
$('#ai1wm-report-submit').click(function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
var email = $('.ai1wm-report-email').val();
|
| 197 |
var message = $('.ai1wm-report-message').val();
|
| 198 |
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 199 |
|
|
|
|
|
|
|
|
|
|
| 200 |
$.ajax({
|
| 201 |
url: ai1wm_report.ajax.url,
|
| 202 |
type: 'POST',
|
| 203 |
dataType: 'json',
|
| 204 |
-
async:
|
| 205 |
data: {
|
| 206 |
'secret_key': ai1wm_report.secret_key,
|
| 207 |
'ai1wm_email': email,
|
|
@@ -212,6 +273,9 @@ jQuery(document).ready(function ($) {
|
|
| 212 |
return Util.json(data);
|
| 213 |
},
|
| 214 |
success: function success(data) {
|
|
|
|
|
|
|
|
|
|
| 215 |
if (data.errors.length > 0) {
|
| 216 |
// Reset previous messages
|
| 217 |
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
|
@@ -237,7 +301,7 @@ jQuery(document).ready(function ($) {
|
|
| 237 |
});
|
| 238 |
|
| 239 |
/***/ }),
|
| 240 |
-
/*
|
| 241 |
/***/ (function(module, exports, __webpack_require__) {
|
| 242 |
|
| 243 |
"use strict";
|
|
@@ -320,17 +384,24 @@ jQuery(document).ready(function ($) {
|
|
| 320 |
});
|
| 321 |
|
| 322 |
// Send feedback form
|
| 323 |
-
$('#ai1wm-feedback-submit').click(function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 325 |
var email = $('.ai1wm-feedback-email').val();
|
| 326 |
var message = $('.ai1wm-feedback-message').val();
|
| 327 |
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 328 |
|
|
|
|
|
|
|
|
|
|
| 329 |
$.ajax({
|
| 330 |
url: ai1wm_feedback.ajax.url,
|
| 331 |
type: 'POST',
|
| 332 |
dataType: 'json',
|
| 333 |
-
async:
|
| 334 |
data: {
|
| 335 |
'secret_key': ai1wm_feedback.secret_key,
|
| 336 |
'ai1wm_type': type,
|
|
@@ -342,6 +413,9 @@ jQuery(document).ready(function ($) {
|
|
| 342 |
return Util.json(data);
|
| 343 |
},
|
| 344 |
success: function success(data) {
|
|
|
|
|
|
|
|
|
|
| 345 |
if (data.errors.length > 0) {
|
| 346 |
// Reset previous messages
|
| 347 |
$('.ai1wm-feedback .ai1wm-message').remove();
|
|
@@ -362,7 +436,7 @@ jQuery(document).ready(function ($) {
|
|
| 362 |
});
|
| 363 |
|
| 364 |
/***/ }),
|
| 365 |
-
/*
|
| 366 |
/***/ (function(module, exports) {
|
| 367 |
|
| 368 |
var g;
|
|
@@ -389,7 +463,157 @@ module.exports = g;
|
|
| 389 |
|
| 390 |
|
| 391 |
/***/ }),
|
| 392 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 393 |
/***/ (function(module, exports, __webpack_require__) {
|
| 394 |
|
| 395 |
"use strict";
|
|
@@ -420,7 +644,7 @@ module.exports = g;
|
|
| 420 |
*/
|
| 421 |
|
| 422 |
var Util = __webpack_require__(0),
|
| 423 |
-
Modal = __webpack_require__(
|
| 424 |
$ = jQuery;
|
| 425 |
|
| 426 |
var Import = function Import() {
|
|
@@ -749,7 +973,7 @@ Import.prototype.onStop = function (options) {
|
|
| 749 |
module.exports = Import;
|
| 750 |
|
| 751 |
/***/ }),
|
| 752 |
-
/*
|
| 753 |
/***/ (function(module, exports, __webpack_require__) {
|
| 754 |
|
| 755 |
"use strict";
|
|
@@ -903,20 +1127,29 @@ var Modal = function Modal() {
|
|
| 903 |
var header = $('<h1></h1>');
|
| 904 |
|
| 905 |
// Create paragraph to hold mesage
|
| 906 |
-
var message = $('<p></p>').html(params.message);
|
| 907 |
|
| 908 |
// Create action section
|
| 909 |
-
var action = $('<div></div>');
|
| 910 |
|
| 911 |
// Create warning
|
| 912 |
var warning = $('<span class="ai1wm-icon-notification"></span>');
|
| 913 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 914 |
// Create confirm button
|
| 915 |
-
var confirmButton = $('<button type="button" class="ai1wm-button-green">
|
| 916 |
$(this).attr('disabled', 'disabled');
|
| 917 |
self.onConfirm();
|
| 918 |
});
|
| 919 |
|
|
|
|
|
|
|
|
|
|
| 920 |
// Append confirm button
|
| 921 |
action.append(confirmButton);
|
| 922 |
|
|
@@ -1112,7 +1345,7 @@ Modal.prototype.destroy = function () {
|
|
| 1112 |
module.exports = Modal;
|
| 1113 |
|
| 1114 |
/***/ }),
|
| 1115 |
-
/*
|
| 1116 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1117 |
|
| 1118 |
"use strict";
|
|
@@ -1143,7 +1376,7 @@ module.exports = Modal;
|
|
| 1143 |
*/
|
| 1144 |
|
| 1145 |
var Util = __webpack_require__(0),
|
| 1146 |
-
Dialog = __webpack_require__(
|
| 1147 |
|
| 1148 |
var Extensions = {
|
| 1149 |
's3': 'Amazon S3 Extension',
|
|
@@ -1207,7 +1440,7 @@ jQuery(document).ready(function ($) {
|
|
| 1207 |
});
|
| 1208 |
|
| 1209 |
/***/ }),
|
| 1210 |
-
/*
|
| 1211 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1212 |
|
| 1213 |
"use strict";
|
|
@@ -1285,156 +1518,598 @@ var Dialog = function Dialog(text) {
|
|
| 1285 |
module.exports = Dialog;
|
| 1286 |
|
| 1287 |
/***/ }),
|
| 1288 |
-
/*
|
| 1289 |
-
/* 9 */,
|
| 1290 |
-
/* 10 */,
|
| 1291 |
-
/* 11 */,
|
| 1292 |
-
/* 12 */,
|
| 1293 |
-
/* 13 */,
|
| 1294 |
-
/* 14 */
|
| 1295 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1296 |
|
| 1297 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1299 |
|
| 1300 |
-
|
| 1301 |
-
|
| 1302 |
-
|
| 1303 |
-
|
| 1304 |
-
|
| 1305 |
-
|
| 1306 |
-
|
| 1307 |
-
|
| 1308 |
-
|
| 1309 |
-
|
| 1310 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1311 |
-
* GNU General Public License for more details.
|
| 1312 |
-
*
|
| 1313 |
-
* You should have received a copy of the GNU General Public License
|
| 1314 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1315 |
-
*
|
| 1316 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1317 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1318 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1319 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1320 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1321 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1322 |
-
*/
|
| 1323 |
|
| 1324 |
-
var Report = __webpack_require__(1),
|
| 1325 |
-
Feedback = __webpack_require__(2),
|
| 1326 |
-
Deprecated = __webpack_require__(6),
|
| 1327 |
-
FileUploader = __webpack_require__(15);
|
| 1328 |
|
| 1329 |
-
|
| 1330 |
-
|
|
|
|
| 1331 |
|
| 1332 |
-
|
| 1333 |
-
|
|
|
|
|
|
|
|
|
|
| 1334 |
|
| 1335 |
-
// Expands/Collapses Import from
|
| 1336 |
-
$('.ai1wm-expandable > div.ai1wm-button-main').on('click', function () {
|
| 1337 |
-
$(this).parent().toggleClass('ai1wm-open');
|
| 1338 |
-
});
|
| 1339 |
-
});
|
| 1340 |
|
| 1341 |
/***/ }),
|
| 1342 |
-
/*
|
| 1343 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1344 |
|
| 1345 |
-
|
| 1346 |
-
|
| 1347 |
-
|
| 1348 |
-
|
| 1349 |
-
|
| 1350 |
-
|
| 1351 |
-
|
| 1352 |
-
* it under the terms of the GNU General Public License as published by
|
| 1353 |
-
* the Free Software Foundation, either version 3 of the License, or
|
| 1354 |
-
* (at your option) any later version.
|
| 1355 |
-
*
|
| 1356 |
-
* This program is distributed in the hope that it will be useful,
|
| 1357 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1358 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1359 |
-
* GNU General Public License for more details.
|
| 1360 |
-
*
|
| 1361 |
-
* You should have received a copy of the GNU General Public License
|
| 1362 |
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1363 |
-
*
|
| 1364 |
-
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1365 |
-
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1366 |
-
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1367 |
-
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1368 |
-
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1369 |
-
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1370 |
-
*/
|
| 1371 |
|
| 1372 |
-
var Util = __webpack_require__(0),
|
| 1373 |
-
Import = __webpack_require__(4),
|
| 1374 |
-
$ = jQuery;
|
| 1375 |
|
| 1376 |
-
|
|
|
|
|
|
|
| 1377 |
|
| 1378 |
-
|
| 1379 |
-
|
| 1380 |
-
|
|
|
|
|
|
|
| 1381 |
};
|
| 1382 |
|
| 1383 |
-
FileUploader.prototype.init = function () {
|
| 1384 |
-
var _this = this;
|
| 1385 |
-
|
| 1386 |
-
var selectElement = $('#ai1wm-import-file');
|
| 1387 |
-
var dropElement = $('#ai1wm-drag-drop-area');
|
| 1388 |
|
| 1389 |
-
|
| 1390 |
-
|
| 1391 |
-
|
| 1392 |
-
var file = event.target.files.item(0);
|
| 1393 |
-
_this.setDefaultValues();
|
| 1394 |
-
_this.fileSize = file.size;
|
| 1395 |
-
try {
|
| 1396 |
-
_this.onFilesAdded(file);
|
| 1397 |
-
_this.onBeforeUpload(file);
|
| 1398 |
-
_this.upload(file);
|
| 1399 |
-
} catch (exception) {
|
| 1400 |
-
_this.onError(exception);
|
| 1401 |
-
}
|
| 1402 |
-
});
|
| 1403 |
|
| 1404 |
-
|
| 1405 |
-
|
| 1406 |
-
|
| 1407 |
-
|
| 1408 |
-
dropElement.on('dragover', function (event) {
|
| 1409 |
-
event.preventDefault();
|
| 1410 |
-
dropElement.addClass('ai1wm-drag-over');
|
| 1411 |
-
});
|
| 1412 |
-
dropElement.on('dragleave', function (event) {
|
| 1413 |
-
event.preventDefault();
|
| 1414 |
-
dropElement.removeClass('ai1wm-drag-over');
|
| 1415 |
-
});
|
| 1416 |
-
dropElement.on('drop', function (event) {
|
| 1417 |
-
event.preventDefault();
|
| 1418 |
-
_this.setDefaultValues();
|
| 1419 |
-
dropElement.removeClass('ai1wm-drag-over');
|
| 1420 |
-
var file = event.originalEvent.dataTransfer.files.item(0);
|
| 1421 |
-
_this.fileSize = file.size;
|
| 1422 |
-
try {
|
| 1423 |
-
_this.onFilesAdded(file);
|
| 1424 |
-
_this.onBeforeUpload(file);
|
| 1425 |
-
_this.upload(file);
|
| 1426 |
-
} catch (exception) {
|
| 1427 |
-
_this.onError(exception);
|
| 1428 |
-
}
|
| 1429 |
-
});
|
| 1430 |
};
|
| 1431 |
|
| 1432 |
-
FileUploader.prototype.upload = function (file, retries) {
|
| 1433 |
-
var _this2 = this;
|
| 1434 |
|
| 1435 |
-
|
|
|
|
|
|
|
| 1436 |
|
| 1437 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1438 |
var formData = this.getFormData(file, chunkSize);
|
| 1439 |
|
| 1440 |
fetch(ai1wm_uploader.url, {
|
|
@@ -1565,10 +2240,10 @@ FileUploader.prototype.onError = function (error) {
|
|
| 1565 |
module.exports = FileUploader;
|
| 1566 |
|
| 1567 |
global.Ai1wm = { Util: Util, Import: Import };
|
| 1568 |
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
| 1569 |
|
| 1570 |
/***/ }),
|
| 1571 |
-
/*
|
| 1572 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1573 |
|
| 1574 |
/* WEBPACK VAR INJECTION */(function(global, Promise) {/*** IMPORTS FROM imports-loader ***/
|
|
@@ -2040,1374 +2715,1013 @@ global.Ai1wm = { Util: Util, Import: Import };
|
|
| 2040 |
/*** EXPORTS FROM exports-loader ***/
|
| 2041 |
module.exports = global.fetch;
|
| 2042 |
}.call(global));
|
| 2043 |
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
| 2044 |
|
| 2045 |
/***/ }),
|
| 2046 |
-
/*
|
| 2047 |
/***/ (function(module, exports, __webpack_require__) {
|
| 2048 |
|
| 2049 |
-
/* WEBPACK VAR INJECTION */(function(global
|
| 2050 |
(function() {
|
| 2051 |
|
| 2052 |
-
|
| 2053 |
-
|
| 2054 |
-
|
| 2055 |
-
|
| 2056 |
-
|
| 2057 |
-
* @version 4.1.1
|
| 2058 |
-
*/
|
| 2059 |
-
|
| 2060 |
-
(function (global, factory) {
|
| 2061 |
-
true ? module.exports = factory() :
|
| 2062 |
-
typeof define === 'function' && define.amd ? define(factory) :
|
| 2063 |
-
(global.ES6Promise = factory());
|
| 2064 |
-
}(this, (function () { 'use strict';
|
| 2065 |
|
| 2066 |
-
function objectOrFunction(x) {
|
| 2067 |
-
var type = typeof x;
|
| 2068 |
-
return x !== null && (type === 'object' || type === 'function');
|
| 2069 |
-
}
|
| 2070 |
|
| 2071 |
-
|
| 2072 |
-
|
| 2073 |
-
}
|
| 2074 |
-
|
| 2075 |
-
var _isArray = undefined;
|
| 2076 |
-
if (Array.isArray) {
|
| 2077 |
-
_isArray = Array.isArray;
|
| 2078 |
-
} else {
|
| 2079 |
-
_isArray = function (x) {
|
| 2080 |
-
return Object.prototype.toString.call(x) === '[object Array]';
|
| 2081 |
-
};
|
| 2082 |
-
}
|
| 2083 |
-
|
| 2084 |
-
var isArray = _isArray;
|
| 2085 |
-
|
| 2086 |
-
var len = 0;
|
| 2087 |
-
var vertxNext = undefined;
|
| 2088 |
-
var customSchedulerFn = undefined;
|
| 2089 |
-
|
| 2090 |
-
var asap = function asap(callback, arg) {
|
| 2091 |
-
queue[len] = callback;
|
| 2092 |
-
queue[len + 1] = arg;
|
| 2093 |
-
len += 2;
|
| 2094 |
-
if (len === 2) {
|
| 2095 |
-
// If len is 2, that means that we need to schedule an async flush.
|
| 2096 |
-
// If additional callbacks are queued before the queue is flushed, they
|
| 2097 |
-
// will be processed by this flush that we are scheduling.
|
| 2098 |
-
if (customSchedulerFn) {
|
| 2099 |
-
customSchedulerFn(flush);
|
| 2100 |
-
} else {
|
| 2101 |
-
scheduleFlush();
|
| 2102 |
-
}
|
| 2103 |
-
}
|
| 2104 |
-
};
|
| 2105 |
-
|
| 2106 |
-
function setScheduler(scheduleFn) {
|
| 2107 |
-
customSchedulerFn = scheduleFn;
|
| 2108 |
-
}
|
| 2109 |
-
|
| 2110 |
-
function setAsap(asapFn) {
|
| 2111 |
-
asap = asapFn;
|
| 2112 |
-
}
|
| 2113 |
-
|
| 2114 |
-
var browserWindow = typeof window !== 'undefined' ? window : undefined;
|
| 2115 |
-
var browserGlobal = browserWindow || {};
|
| 2116 |
-
var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;
|
| 2117 |
-
var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && ({}).toString.call(process) === '[object process]';
|
| 2118 |
-
|
| 2119 |
-
// test for web worker but not in IE10
|
| 2120 |
-
var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';
|
| 2121 |
-
|
| 2122 |
-
// node
|
| 2123 |
-
function useNextTick() {
|
| 2124 |
-
// node version 0.10.x displays a deprecation warning when nextTick is used recursively
|
| 2125 |
-
// see https://github.com/cujojs/when/issues/410 for details
|
| 2126 |
-
return function () {
|
| 2127 |
-
return process.nextTick(flush);
|
| 2128 |
-
};
|
| 2129 |
-
}
|
| 2130 |
-
|
| 2131 |
-
// vertx
|
| 2132 |
-
function useVertxTimer() {
|
| 2133 |
-
if (typeof vertxNext !== 'undefined') {
|
| 2134 |
-
return function () {
|
| 2135 |
-
vertxNext(flush);
|
| 2136 |
-
};
|
| 2137 |
-
}
|
| 2138 |
-
|
| 2139 |
-
return useSetTimeout();
|
| 2140 |
-
}
|
| 2141 |
-
|
| 2142 |
-
function useMutationObserver() {
|
| 2143 |
-
var iterations = 0;
|
| 2144 |
-
var observer = new BrowserMutationObserver(flush);
|
| 2145 |
-
var node = document.createTextNode('');
|
| 2146 |
-
observer.observe(node, { characterData: true });
|
| 2147 |
-
|
| 2148 |
-
return function () {
|
| 2149 |
-
node.data = iterations = ++iterations % 2;
|
| 2150 |
-
};
|
| 2151 |
-
}
|
| 2152 |
-
|
| 2153 |
-
// web worker
|
| 2154 |
-
function useMessageChannel() {
|
| 2155 |
-
var channel = new MessageChannel();
|
| 2156 |
-
channel.port1.onmessage = flush;
|
| 2157 |
-
return function () {
|
| 2158 |
-
return channel.port2.postMessage(0);
|
| 2159 |
-
};
|
| 2160 |
-
}
|
| 2161 |
-
|
| 2162 |
-
function useSetTimeout() {
|
| 2163 |
-
// Store setTimeout reference so es6-promise will be unaffected by
|
| 2164 |
-
// other code modifying setTimeout (like sinon.useFakeTimers())
|
| 2165 |
-
var globalSetTimeout = setTimeout;
|
| 2166 |
-
return function () {
|
| 2167 |
-
return globalSetTimeout(flush, 1);
|
| 2168 |
-
};
|
| 2169 |
-
}
|
| 2170 |
-
|
| 2171 |
-
var queue = new Array(1000);
|
| 2172 |
-
function flush() {
|
| 2173 |
-
for (var i = 0; i < len; i += 2) {
|
| 2174 |
-
var callback = queue[i];
|
| 2175 |
-
var arg = queue[i + 1];
|
| 2176 |
-
|
| 2177 |
-
callback(arg);
|
| 2178 |
-
|
| 2179 |
-
queue[i] = undefined;
|
| 2180 |
-
queue[i + 1] = undefined;
|
| 2181 |
-
}
|
| 2182 |
-
|
| 2183 |
-
len = 0;
|
| 2184 |
-
}
|
| 2185 |
-
|
| 2186 |
-
function attemptVertx() {
|
| 2187 |
-
try {
|
| 2188 |
-
var r = require;
|
| 2189 |
-
var vertx = __webpack_require__(19);
|
| 2190 |
-
vertxNext = vertx.runOnLoop || vertx.runOnContext;
|
| 2191 |
-
return useVertxTimer();
|
| 2192 |
-
} catch (e) {
|
| 2193 |
-
return useSetTimeout();
|
| 2194 |
-
}
|
| 2195 |
-
}
|
| 2196 |
-
|
| 2197 |
-
var scheduleFlush = undefined;
|
| 2198 |
-
// Decide what async method to use to triggering processing of queued callbacks:
|
| 2199 |
-
if (isNode) {
|
| 2200 |
-
scheduleFlush = useNextTick();
|
| 2201 |
-
} else if (BrowserMutationObserver) {
|
| 2202 |
-
scheduleFlush = useMutationObserver();
|
| 2203 |
-
} else if (isWorker) {
|
| 2204 |
-
scheduleFlush = useMessageChannel();
|
| 2205 |
-
} else if (browserWindow === undefined && "function" === 'function') {
|
| 2206 |
-
scheduleFlush = attemptVertx();
|
| 2207 |
-
} else {
|
| 2208 |
-
scheduleFlush = useSetTimeout();
|
| 2209 |
-
}
|
| 2210 |
-
|
| 2211 |
-
function then(onFulfillment, onRejection) {
|
| 2212 |
-
var _arguments = arguments;
|
| 2213 |
-
|
| 2214 |
-
var parent = this;
|
| 2215 |
-
|
| 2216 |
-
var child = new this.constructor(noop);
|
| 2217 |
-
|
| 2218 |
-
if (child[PROMISE_ID] === undefined) {
|
| 2219 |
-
makePromise(child);
|
| 2220 |
-
}
|
| 2221 |
-
|
| 2222 |
-
var _state = parent._state;
|
| 2223 |
-
|
| 2224 |
-
if (_state) {
|
| 2225 |
-
(function () {
|
| 2226 |
-
var callback = _arguments[_state - 1];
|
| 2227 |
-
asap(function () {
|
| 2228 |
-
return invokeCallback(_state, child, callback, parent._result);
|
| 2229 |
-
});
|
| 2230 |
-
})();
|
| 2231 |
-
} else {
|
| 2232 |
-
subscribe(parent, child, onFulfillment, onRejection);
|
| 2233 |
-
}
|
| 2234 |
-
|
| 2235 |
-
return child;
|
| 2236 |
-
}
|
| 2237 |
-
|
| 2238 |
-
/**
|
| 2239 |
-
`Promise.resolve` returns a promise that will become resolved with the
|
| 2240 |
-
passed `value`. It is shorthand for the following:
|
| 2241 |
-
|
| 2242 |
-
```javascript
|
| 2243 |
-
let promise = new Promise(function(resolve, reject){
|
| 2244 |
-
resolve(1);
|
| 2245 |
-
});
|
| 2246 |
-
|
| 2247 |
-
promise.then(function(value){
|
| 2248 |
-
// value === 1
|
| 2249 |
-
});
|
| 2250 |
-
```
|
| 2251 |
-
|
| 2252 |
-
Instead of writing the above, your code now simply becomes the following:
|
| 2253 |
-
|
| 2254 |
-
```javascript
|
| 2255 |
-
let promise = Promise.resolve(1);
|
| 2256 |
-
|
| 2257 |
-
promise.then(function(value){
|
| 2258 |
-
// value === 1
|
| 2259 |
-
});
|
| 2260 |
-
```
|
| 2261 |
-
|
| 2262 |
-
@method resolve
|
| 2263 |
-
@static
|
| 2264 |
-
@param {Any} value value that the returned promise will be resolved with
|
| 2265 |
-
Useful for tooling.
|
| 2266 |
-
@return {Promise} a promise that will become fulfilled with the given
|
| 2267 |
-
`value`
|
| 2268 |
-
*/
|
| 2269 |
-
function resolve$1(object) {
|
| 2270 |
-
/*jshint validthis:true */
|
| 2271 |
-
var Constructor = this;
|
| 2272 |
-
|
| 2273 |
-
if (object && typeof object === 'object' && object.constructor === Constructor) {
|
| 2274 |
-
return object;
|
| 2275 |
-
}
|
| 2276 |
-
|
| 2277 |
-
var promise = new Constructor(noop);
|
| 2278 |
-
resolve(promise, object);
|
| 2279 |
-
return promise;
|
| 2280 |
-
}
|
| 2281 |
-
|
| 2282 |
-
var PROMISE_ID = Math.random().toString(36).substring(16);
|
| 2283 |
-
|
| 2284 |
-
function noop() {}
|
| 2285 |
-
|
| 2286 |
-
var PENDING = void 0;
|
| 2287 |
-
var FULFILLED = 1;
|
| 2288 |
-
var REJECTED = 2;
|
| 2289 |
-
|
| 2290 |
-
var GET_THEN_ERROR = new ErrorObject();
|
| 2291 |
-
|
| 2292 |
-
function selfFulfillment() {
|
| 2293 |
-
return new TypeError("You cannot resolve a promise with itself");
|
| 2294 |
-
}
|
| 2295 |
-
|
| 2296 |
-
function cannotReturnOwn() {
|
| 2297 |
-
return new TypeError('A promises callback cannot return that same promise.');
|
| 2298 |
-
}
|
| 2299 |
-
|
| 2300 |
-
function getThen(promise) {
|
| 2301 |
-
try {
|
| 2302 |
-
return promise.then;
|
| 2303 |
-
} catch (error) {
|
| 2304 |
-
GET_THEN_ERROR.error = error;
|
| 2305 |
-
return GET_THEN_ERROR;
|
| 2306 |
-
}
|
| 2307 |
-
}
|
| 2308 |
-
|
| 2309 |
-
function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {
|
| 2310 |
-
try {
|
| 2311 |
-
then$$1.call(value, fulfillmentHandler, rejectionHandler);
|
| 2312 |
-
} catch (e) {
|
| 2313 |
-
return e;
|
| 2314 |
-
}
|
| 2315 |
-
}
|
| 2316 |
-
|
| 2317 |
-
function handleForeignThenable(promise, thenable, then$$1) {
|
| 2318 |
-
asap(function (promise) {
|
| 2319 |
-
var sealed = false;
|
| 2320 |
-
var error = tryThen(then$$1, thenable, function (value) {
|
| 2321 |
-
if (sealed) {
|
| 2322 |
-
return;
|
| 2323 |
-
}
|
| 2324 |
-
sealed = true;
|
| 2325 |
-
if (thenable !== value) {
|
| 2326 |
-
resolve(promise, value);
|
| 2327 |
-
} else {
|
| 2328 |
-
fulfill(promise, value);
|
| 2329 |
-
}
|
| 2330 |
-
}, function (reason) {
|
| 2331 |
-
if (sealed) {
|
| 2332 |
-
return;
|
| 2333 |
-
}
|
| 2334 |
-
sealed = true;
|
| 2335 |
-
|
| 2336 |
-
reject(promise, reason);
|
| 2337 |
-
}, 'Settle: ' + (promise._label || ' unknown promise'));
|
| 2338 |
-
|
| 2339 |
-
if (!sealed && error) {
|
| 2340 |
-
sealed = true;
|
| 2341 |
-
reject(promise, error);
|
| 2342 |
-
}
|
| 2343 |
-
}, promise);
|
| 2344 |
-
}
|
| 2345 |
-
|
| 2346 |
-
function handleOwnThenable(promise, thenable) {
|
| 2347 |
-
if (thenable._state === FULFILLED) {
|
| 2348 |
-
fulfill(promise, thenable._result);
|
| 2349 |
-
} else if (thenable._state === REJECTED) {
|
| 2350 |
-
reject(promise, thenable._result);
|
| 2351 |
-
} else {
|
| 2352 |
-
subscribe(thenable, undefined, function (value) {
|
| 2353 |
-
return resolve(promise, value);
|
| 2354 |
-
}, function (reason) {
|
| 2355 |
-
return reject(promise, reason);
|
| 2356 |
-
});
|
| 2357 |
-
}
|
| 2358 |
-
}
|
| 2359 |
-
|
| 2360 |
-
function handleMaybeThenable(promise, maybeThenable, then$$1) {
|
| 2361 |
-
if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {
|
| 2362 |
-
handleOwnThenable(promise, maybeThenable);
|
| 2363 |
-
} else {
|
| 2364 |
-
if (then$$1 === GET_THEN_ERROR) {
|
| 2365 |
-
reject(promise, GET_THEN_ERROR.error);
|
| 2366 |
-
GET_THEN_ERROR.error = null;
|
| 2367 |
-
} else if (then$$1 === undefined) {
|
| 2368 |
-
fulfill(promise, maybeThenable);
|
| 2369 |
-
} else if (isFunction(then$$1)) {
|
| 2370 |
-
handleForeignThenable(promise, maybeThenable, then$$1);
|
| 2371 |
-
} else {
|
| 2372 |
-
fulfill(promise, maybeThenable);
|
| 2373 |
-
}
|
| 2374 |
-
}
|
| 2375 |
-
}
|
| 2376 |
-
|
| 2377 |
-
function resolve(promise, value) {
|
| 2378 |
-
if (promise === value) {
|
| 2379 |
-
reject(promise, selfFulfillment());
|
| 2380 |
-
} else if (objectOrFunction(value)) {
|
| 2381 |
-
handleMaybeThenable(promise, value, getThen(value));
|
| 2382 |
-
} else {
|
| 2383 |
-
fulfill(promise, value);
|
| 2384 |
-
}
|
| 2385 |
-
}
|
| 2386 |
-
|
| 2387 |
-
function publishRejection(promise) {
|
| 2388 |
-
if (promise._onerror) {
|
| 2389 |
-
promise._onerror(promise._result);
|
| 2390 |
-
}
|
| 2391 |
-
|
| 2392 |
-
publish(promise);
|
| 2393 |
-
}
|
| 2394 |
-
|
| 2395 |
-
function fulfill(promise, value) {
|
| 2396 |
-
if (promise._state !== PENDING) {
|
| 2397 |
-
return;
|
| 2398 |
-
}
|
| 2399 |
-
|
| 2400 |
-
promise._result = value;
|
| 2401 |
-
promise._state = FULFILLED;
|
| 2402 |
-
|
| 2403 |
-
if (promise._subscribers.length !== 0) {
|
| 2404 |
-
asap(publish, promise);
|
| 2405 |
-
}
|
| 2406 |
-
}
|
| 2407 |
-
|
| 2408 |
-
function reject(promise, reason) {
|
| 2409 |
-
if (promise._state !== PENDING) {
|
| 2410 |
-
return;
|
| 2411 |
-
}
|
| 2412 |
-
promise._state = REJECTED;
|
| 2413 |
-
promise._result = reason;
|
| 2414 |
-
|
| 2415 |
-
asap(publishRejection, promise);
|
| 2416 |
-
}
|
| 2417 |
-
|
| 2418 |
-
function subscribe(parent, child, onFulfillment, onRejection) {
|
| 2419 |
-
var _subscribers = parent._subscribers;
|
| 2420 |
-
var length = _subscribers.length;
|
| 2421 |
|
| 2422 |
-
|
|
|
|
|
|
|
| 2423 |
|
| 2424 |
-
|
| 2425 |
-
_subscribers[length + FULFILLED] = onFulfillment;
|
| 2426 |
-
_subscribers[length + REJECTED] = onRejection;
|
| 2427 |
|
| 2428 |
-
|
| 2429 |
-
|
| 2430 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2431 |
}
|
| 2432 |
|
| 2433 |
-
function publish(promise) {
|
| 2434 |
-
var subscribers = promise._subscribers;
|
| 2435 |
-
var settled = promise._state;
|
| 2436 |
-
|
| 2437 |
-
if (subscribers.length === 0) {
|
| 2438 |
-
return;
|
| 2439 |
-
}
|
| 2440 |
-
|
| 2441 |
-
var child = undefined,
|
| 2442 |
-
callback = undefined,
|
| 2443 |
-
detail = promise._result;
|
| 2444 |
-
|
| 2445 |
-
for (var i = 0; i < subscribers.length; i += 3) {
|
| 2446 |
-
child = subscribers[i];
|
| 2447 |
-
callback = subscribers[i + settled];
|
| 2448 |
|
| 2449 |
-
|
| 2450 |
-
|
| 2451 |
-
|
| 2452 |
-
callback(detail);
|
| 2453 |
-
}
|
| 2454 |
-
}
|
| 2455 |
-
|
| 2456 |
-
promise._subscribers.length = 0;
|
| 2457 |
-
}
|
| 2458 |
-
|
| 2459 |
-
function ErrorObject() {
|
| 2460 |
-
this.error = null;
|
| 2461 |
-
}
|
| 2462 |
|
| 2463 |
-
|
|
|
|
|
|
|
| 2464 |
|
| 2465 |
-
function tryCatch(callback, detail) {
|
| 2466 |
-
try {
|
| 2467 |
-
return callback(detail);
|
| 2468 |
-
} catch (e) {
|
| 2469 |
-
TRY_CATCH_ERROR.error = e;
|
| 2470 |
-
return TRY_CATCH_ERROR;
|
| 2471 |
-
}
|
| 2472 |
-
}
|
| 2473 |
|
| 2474 |
-
|
| 2475 |
-
|
| 2476 |
-
|
| 2477 |
-
error = undefined,
|
| 2478 |
-
succeeded = undefined,
|
| 2479 |
-
failed = undefined;
|
| 2480 |
|
| 2481 |
-
|
| 2482 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2483 |
|
| 2484 |
-
if (value === TRY_CATCH_ERROR) {
|
| 2485 |
-
failed = true;
|
| 2486 |
-
error = value.error;
|
| 2487 |
-
value.error = null;
|
| 2488 |
-
} else {
|
| 2489 |
-
succeeded = true;
|
| 2490 |
-
}
|
| 2491 |
|
| 2492 |
-
|
| 2493 |
-
|
| 2494 |
-
|
| 2495 |
-
}
|
| 2496 |
-
} else {
|
| 2497 |
-
value = detail;
|
| 2498 |
-
succeeded = true;
|
| 2499 |
-
}
|
| 2500 |
|
| 2501 |
-
|
| 2502 |
-
// noop
|
| 2503 |
-
} else if (hasCallback && succeeded) {
|
| 2504 |
-
resolve(promise, value);
|
| 2505 |
-
} else if (failed) {
|
| 2506 |
-
reject(promise, error);
|
| 2507 |
-
} else if (settled === FULFILLED) {
|
| 2508 |
-
fulfill(promise, value);
|
| 2509 |
-
} else if (settled === REJECTED) {
|
| 2510 |
-
reject(promise, value);
|
| 2511 |
-
}
|
| 2512 |
-
}
|
| 2513 |
|
| 2514 |
-
|
| 2515 |
-
|
| 2516 |
-
|
| 2517 |
-
|
| 2518 |
-
|
| 2519 |
-
|
| 2520 |
-
|
| 2521 |
-
|
| 2522 |
-
|
| 2523 |
-
|
| 2524 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2525 |
|
| 2526 |
-
var id = 0;
|
| 2527 |
-
function nextId() {
|
| 2528 |
-
return id++;
|
| 2529 |
-
}
|
| 2530 |
|
| 2531 |
-
|
| 2532 |
-
|
| 2533 |
-
|
| 2534 |
-
promise._result = undefined;
|
| 2535 |
-
promise._subscribers = [];
|
| 2536 |
-
}
|
| 2537 |
|
| 2538 |
-
|
| 2539 |
-
|
| 2540 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2541 |
|
| 2542 |
-
if (!this.promise[PROMISE_ID]) {
|
| 2543 |
-
makePromise(this.promise);
|
| 2544 |
-
}
|
| 2545 |
|
| 2546 |
-
|
| 2547 |
-
|
| 2548 |
-
|
| 2549 |
|
| 2550 |
-
|
| 2551 |
|
| 2552 |
-
|
| 2553 |
-
|
| 2554 |
-
|
| 2555 |
-
|
| 2556 |
-
this._enumerate(input);
|
| 2557 |
-
if (this._remaining === 0) {
|
| 2558 |
-
fulfill(this.promise, this._result);
|
| 2559 |
-
}
|
| 2560 |
-
}
|
| 2561 |
-
} else {
|
| 2562 |
-
reject(this.promise, validationError());
|
| 2563 |
-
}
|
| 2564 |
-
}
|
| 2565 |
|
| 2566 |
-
|
| 2567 |
-
|
| 2568 |
-
}
|
| 2569 |
|
| 2570 |
-
|
| 2571 |
-
|
| 2572 |
-
|
| 2573 |
-
}
|
| 2574 |
};
|
| 2575 |
|
| 2576 |
-
Enumerator$1.prototype._eachEntry = function (entry, i) {
|
| 2577 |
-
var c = this._instanceConstructor;
|
| 2578 |
-
var resolve$$1 = c.resolve;
|
| 2579 |
|
| 2580 |
-
|
| 2581 |
-
|
|
|
|
| 2582 |
|
| 2583 |
-
|
| 2584 |
-
|
| 2585 |
-
|
| 2586 |
-
|
| 2587 |
-
|
| 2588 |
-
|
| 2589 |
-
|
| 2590 |
-
|
| 2591 |
-
|
| 2592 |
-
|
| 2593 |
-
|
| 2594 |
-
|
| 2595 |
-
|
| 2596 |
-
|
| 2597 |
-
|
| 2598 |
-
|
| 2599 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2600 |
};
|
| 2601 |
|
| 2602 |
-
|
| 2603 |
-
var
|
| 2604 |
-
|
| 2605 |
-
|
| 2606 |
-
|
| 2607 |
-
|
| 2608 |
-
|
| 2609 |
-
|
| 2610 |
-
|
| 2611 |
-
|
| 2612 |
-
}
|
| 2613 |
-
}
|
| 2614 |
-
|
| 2615 |
-
if (this._remaining === 0) {
|
| 2616 |
-
fulfill(promise, this._result);
|
| 2617 |
-
}
|
| 2618 |
};
|
| 2619 |
|
| 2620 |
-
Enumerator$1.prototype._willSettleAt = function (promise, i) {
|
| 2621 |
-
var enumerator = this;
|
| 2622 |
|
| 2623 |
-
|
| 2624 |
-
|
| 2625 |
-
|
| 2626 |
-
|
| 2627 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2628 |
};
|
| 2629 |
|
| 2630 |
-
/**
|
| 2631 |
-
`Promise.all` accepts an array of promises, and returns a new promise which
|
| 2632 |
-
is fulfilled with an array of fulfillment values for the passed promises, or
|
| 2633 |
-
rejected with the reason of the first passed promise to be rejected. It casts all
|
| 2634 |
-
elements of the passed iterable to promises as it runs this algorithm.
|
| 2635 |
|
| 2636 |
-
|
|
|
|
|
|
|
| 2637 |
|
| 2638 |
-
|
| 2639 |
-
|
| 2640 |
-
|
| 2641 |
-
|
| 2642 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2643 |
|
| 2644 |
-
Promise.all(promises).then(function(array){
|
| 2645 |
-
// The array here would be [ 1, 2, 3 ];
|
| 2646 |
-
});
|
| 2647 |
-
```
|
| 2648 |
|
| 2649 |
-
|
| 2650 |
-
|
| 2651 |
-
|
| 2652 |
|
| 2653 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2654 |
|
| 2655 |
-
```javascript
|
| 2656 |
-
let promise1 = resolve(1);
|
| 2657 |
-
let promise2 = reject(new Error("2"));
|
| 2658 |
-
let promise3 = reject(new Error("3"));
|
| 2659 |
-
let promises = [ promise1, promise2, promise3 ];
|
| 2660 |
|
| 2661 |
-
|
| 2662 |
-
|
| 2663 |
-
|
| 2664 |
-
// error.message === "2"
|
| 2665 |
-
});
|
| 2666 |
-
```
|
| 2667 |
-
|
| 2668 |
-
@method all
|
| 2669 |
-
@static
|
| 2670 |
-
@param {Array} entries array of promises
|
| 2671 |
-
@param {String} label optional string for labeling the promise.
|
| 2672 |
-
Useful for tooling.
|
| 2673 |
-
@return {Promise} promise that is fulfilled when all `promises` have been
|
| 2674 |
-
fulfilled, or rejected if any of them become rejected.
|
| 2675 |
-
@static
|
| 2676 |
-
*/
|
| 2677 |
-
function all$1(entries) {
|
| 2678 |
-
return new Enumerator$1(this, entries).promise;
|
| 2679 |
-
}
|
| 2680 |
|
| 2681 |
-
|
| 2682 |
-
|
| 2683 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2684 |
|
| 2685 |
-
Example:
|
| 2686 |
|
| 2687 |
-
|
| 2688 |
-
|
| 2689 |
-
|
| 2690 |
-
resolve('promise 1');
|
| 2691 |
-
}, 200);
|
| 2692 |
-
});
|
| 2693 |
|
| 2694 |
-
|
| 2695 |
-
|
| 2696 |
-
|
| 2697 |
-
|
| 2698 |
-
|
|
|
|
|
|
|
| 2699 |
|
| 2700 |
-
Promise.race([promise1, promise2]).then(function(result){
|
| 2701 |
-
// result === 'promise 2' because it was resolved before promise1
|
| 2702 |
-
// was resolved.
|
| 2703 |
-
});
|
| 2704 |
-
```
|
| 2705 |
-
|
| 2706 |
-
`Promise.race` is deterministic in that only the state of the first
|
| 2707 |
-
settled promise matters. For example, even if other promises given to the
|
| 2708 |
-
`promises` array argument are resolved, but the first settled promise has
|
| 2709 |
-
become rejected before the other promises became fulfilled, the returned
|
| 2710 |
-
promise will become rejected:
|
| 2711 |
-
|
| 2712 |
-
```javascript
|
| 2713 |
-
let promise1 = new Promise(function(resolve, reject){
|
| 2714 |
-
setTimeout(function(){
|
| 2715 |
-
resolve('promise 1');
|
| 2716 |
-
}, 200);
|
| 2717 |
-
});
|
| 2718 |
|
| 2719 |
-
|
| 2720 |
-
|
| 2721 |
-
|
| 2722 |
-
}, 100);
|
| 2723 |
-
});
|
| 2724 |
|
| 2725 |
-
|
| 2726 |
-
|
| 2727 |
-
|
| 2728 |
-
|
| 2729 |
-
|
| 2730 |
-
|
| 2731 |
-
|
| 2732 |
-
|
| 2733 |
-
|
| 2734 |
-
|
| 2735 |
-
|
| 2736 |
-
|
| 2737 |
-
|
| 2738 |
-
|
| 2739 |
-
@method race
|
| 2740 |
-
@static
|
| 2741 |
-
@param {Array} promises array of promises to observe
|
| 2742 |
-
Useful for tooling.
|
| 2743 |
-
@return {Promise} a promise which settles in the same way as the first passed
|
| 2744 |
-
promise to settle.
|
| 2745 |
-
*/
|
| 2746 |
-
function race$1(entries) {
|
| 2747 |
-
/*jshint validthis:true */
|
| 2748 |
-
var Constructor = this;
|
| 2749 |
-
|
| 2750 |
-
if (!isArray(entries)) {
|
| 2751 |
-
return new Constructor(function (_, reject) {
|
| 2752 |
-
return reject(new TypeError('You must pass an array to race.'));
|
| 2753 |
-
});
|
| 2754 |
-
} else {
|
| 2755 |
-
return new Constructor(function (resolve, reject) {
|
| 2756 |
-
var length = entries.length;
|
| 2757 |
-
for (var i = 0; i < length; i++) {
|
| 2758 |
-
Constructor.resolve(entries[i]).then(resolve, reject);
|
| 2759 |
-
}
|
| 2760 |
-
});
|
| 2761 |
-
}
|
| 2762 |
-
}
|
| 2763 |
|
| 2764 |
-
/**
|
| 2765 |
-
`Promise.reject` returns a promise rejected with the passed `reason`.
|
| 2766 |
-
It is shorthand for the following:
|
| 2767 |
|
| 2768 |
-
|
| 2769 |
-
|
| 2770 |
-
|
| 2771 |
-
});
|
| 2772 |
|
| 2773 |
-
|
| 2774 |
-
|
| 2775 |
-
|
| 2776 |
-
|
| 2777 |
-
|
| 2778 |
-
```
|
| 2779 |
|
| 2780 |
-
Instead of writing the above, your code now simply becomes the following:
|
| 2781 |
|
| 2782 |
-
|
| 2783 |
-
|
|
|
|
| 2784 |
|
| 2785 |
-
|
| 2786 |
-
|
| 2787 |
-
|
| 2788 |
-
|
| 2789 |
-
|
| 2790 |
-
|
| 2791 |
-
|
| 2792 |
-
|
| 2793 |
-
|
| 2794 |
-
|
| 2795 |
-
|
| 2796 |
-
|
| 2797 |
-
|
| 2798 |
-
|
| 2799 |
-
|
| 2800 |
-
|
| 2801 |
-
|
| 2802 |
-
|
| 2803 |
-
|
| 2804 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2805 |
|
| 2806 |
-
|
| 2807 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2808 |
}
|
| 2809 |
|
| 2810 |
-
function needsNew() {
|
| 2811 |
-
throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
|
| 2812 |
-
}
|
| 2813 |
|
| 2814 |
-
|
| 2815 |
-
|
| 2816 |
-
|
| 2817 |
-
registers callbacks to receive either a promise's eventual value or the reason
|
| 2818 |
-
why the promise cannot be fulfilled.
|
| 2819 |
|
| 2820 |
-
|
| 2821 |
-
-----------
|
| 2822 |
|
| 2823 |
-
|
| 2824 |
-
|
| 2825 |
-
|
| 2826 |
-
|
| 2827 |
-
|
| 2828 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2829 |
|
| 2830 |
-
A promise can be in one of three states: pending, fulfilled, or rejected.
|
| 2831 |
|
| 2832 |
-
|
| 2833 |
-
|
| 2834 |
-
|
| 2835 |
|
| 2836 |
-
|
| 2837 |
-
|
| 2838 |
-
|
| 2839 |
-
|
| 2840 |
-
|
|
|
|
|
|
|
| 2841 |
|
| 2842 |
|
| 2843 |
-
|
| 2844 |
-
|
|
|
|
| 2845 |
|
| 2846 |
-
|
| 2847 |
-
|
| 2848 |
-
|
| 2849 |
-
resolve(value);
|
| 2850 |
|
| 2851 |
-
// on failure
|
| 2852 |
-
reject(reason);
|
| 2853 |
-
});
|
| 2854 |
|
| 2855 |
-
|
| 2856 |
-
|
| 2857 |
-
|
| 2858 |
-
|
| 2859 |
-
|
| 2860 |
-
|
| 2861 |
-
|
| 2862 |
-
|
| 2863 |
-
|
| 2864 |
-
|
| 2865 |
-
|
| 2866 |
-
|
| 2867 |
-
|
| 2868 |
-
|
| 2869 |
-
|
| 2870 |
-
|
| 2871 |
-
|
| 2872 |
-
|
| 2873 |
-
|
| 2874 |
-
|
| 2875 |
-
|
| 2876 |
-
|
| 2877 |
-
|
| 2878 |
-
|
| 2879 |
-
|
| 2880 |
-
|
| 2881 |
-
|
| 2882 |
-
|
| 2883 |
-
|
| 2884 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2885 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2886 |
}
|
| 2887 |
-
};
|
| 2888 |
-
|
| 2889 |
-
|
| 2890 |
-
|
| 2891 |
-
|
| 2892 |
-
// on fulfillment
|
| 2893 |
-
}, function(reason) {
|
| 2894 |
-
// on rejection
|
| 2895 |
});
|
| 2896 |
-
|
| 2897 |
-
|
| 2898 |
-
|
| 2899 |
-
|
| 2900 |
-
|
| 2901 |
-
|
| 2902 |
-
|
| 2903 |
-
|
| 2904 |
-
|
| 2905 |
-
|
| 2906 |
-
|
| 2907 |
-
|
| 2908 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2909 |
});
|
| 2910 |
-
|
| 2911 |
-
|
| 2912 |
-
|
| 2913 |
-
|
| 2914 |
-
|
| 2915 |
-
|
| 2916 |
-
|
| 2917 |
-
|
| 2918 |
-
|
| 2919 |
-
|
| 2920 |
-
|
| 2921 |
-
|
| 2922 |
-
|
| 2923 |
-
|
| 2924 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2925 |
}
|
| 2926 |
-
}
|
| 2927 |
|
| 2928 |
-
|
| 2929 |
-
|
| 2930 |
-
|
| 2931 |
-
Promise
|
| 2932 |
-
Promise
|
| 2933 |
-
|
| 2934 |
-
|
| 2935 |
-
|
| 2936 |
-
Promise$2.prototype = {
|
| 2937 |
-
constructor: Promise$2,
|
| 2938 |
-
|
| 2939 |
-
/**
|
| 2940 |
-
The primary way of interacting with a promise is through its `then` method,
|
| 2941 |
-
which registers callbacks to receive either a promise's eventual value or the
|
| 2942 |
-
reason why the promise cannot be fulfilled.
|
| 2943 |
-
|
| 2944 |
-
```js
|
| 2945 |
-
findUser().then(function(user){
|
| 2946 |
-
// user is available
|
| 2947 |
-
}, function(reason){
|
| 2948 |
-
// user is unavailable, and you are given the reason why
|
| 2949 |
-
});
|
| 2950 |
-
```
|
| 2951 |
-
|
| 2952 |
-
Chaining
|
| 2953 |
-
--------
|
| 2954 |
-
|
| 2955 |
-
The return value of `then` is itself a promise. This second, 'downstream'
|
| 2956 |
-
promise is resolved with the return value of the first promise's fulfillment
|
| 2957 |
-
or rejection handler, or rejected if the handler throws an exception.
|
| 2958 |
-
|
| 2959 |
-
```js
|
| 2960 |
-
findUser().then(function (user) {
|
| 2961 |
-
return user.name;
|
| 2962 |
-
}, function (reason) {
|
| 2963 |
-
return 'default name';
|
| 2964 |
-
}).then(function (userName) {
|
| 2965 |
-
// If `findUser` fulfilled, `userName` will be the user's name, otherwise it
|
| 2966 |
-
// will be `'default name'`
|
| 2967 |
-
});
|
| 2968 |
-
|
| 2969 |
-
findUser().then(function (user) {
|
| 2970 |
-
throw new Error('Found user, but still unhappy');
|
| 2971 |
-
}, function (reason) {
|
| 2972 |
-
throw new Error('`findUser` rejected and we're unhappy');
|
| 2973 |
-
}).then(function (value) {
|
| 2974 |
-
// never reached
|
| 2975 |
-
}, function (reason) {
|
| 2976 |
-
// if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.
|
| 2977 |
-
// If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.
|
| 2978 |
-
});
|
| 2979 |
-
```
|
| 2980 |
-
If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.
|
| 2981 |
-
|
| 2982 |
-
```js
|
| 2983 |
-
findUser().then(function (user) {
|
| 2984 |
-
throw new PedagogicalException('Upstream error');
|
| 2985 |
-
}).then(function (value) {
|
| 2986 |
-
// never reached
|
| 2987 |
-
}).then(function (value) {
|
| 2988 |
-
// never reached
|
| 2989 |
-
}, function (reason) {
|
| 2990 |
-
// The `PedgagocialException` is propagated all the way down to here
|
| 2991 |
-
});
|
| 2992 |
-
```
|
| 2993 |
-
|
| 2994 |
-
Assimilation
|
| 2995 |
-
------------
|
| 2996 |
-
|
| 2997 |
-
Sometimes the value you want to propagate to a downstream promise can only be
|
| 2998 |
-
retrieved asynchronously. This can be achieved by returning a promise in the
|
| 2999 |
-
fulfillment or rejection handler. The downstream promise will then be pending
|
| 3000 |
-
until the returned promise is settled. This is called *assimilation*.
|
| 3001 |
-
|
| 3002 |
-
```js
|
| 3003 |
-
findUser().then(function (user) {
|
| 3004 |
-
return findCommentsByAuthor(user);
|
| 3005 |
-
}).then(function (comments) {
|
| 3006 |
-
// The user's comments are now available
|
| 3007 |
-
});
|
| 3008 |
-
```
|
| 3009 |
-
|
| 3010 |
-
If the assimliated promise rejects, then the downstream promise will also reject.
|
| 3011 |
-
|
| 3012 |
-
```js
|
| 3013 |
-
findUser().then(function (user) {
|
| 3014 |
-
return findCommentsByAuthor(user);
|
| 3015 |
-
}).then(function (comments) {
|
| 3016 |
-
// If `findCommentsByAuthor` fulfills, we'll have the value here
|
| 3017 |
-
}, function (reason) {
|
| 3018 |
-
// If `findCommentsByAuthor` rejects, we'll have the reason here
|
| 3019 |
-
});
|
| 3020 |
-
```
|
| 3021 |
-
|
| 3022 |
-
Simple Example
|
| 3023 |
-
--------------
|
| 3024 |
-
|
| 3025 |
-
Synchronous Example
|
| 3026 |
-
|
| 3027 |
-
```javascript
|
| 3028 |
-
let result;
|
| 3029 |
-
|
| 3030 |
-
try {
|
| 3031 |
-
result = findResult();
|
| 3032 |
-
// success
|
| 3033 |
-
} catch(reason) {
|
| 3034 |
-
// failure
|
| 3035 |
-
}
|
| 3036 |
-
```
|
| 3037 |
-
|
| 3038 |
-
Errback Example
|
| 3039 |
-
|
| 3040 |
-
```js
|
| 3041 |
-
findResult(function(result, err){
|
| 3042 |
-
if (err) {
|
| 3043 |
-
// failure
|
| 3044 |
-
} else {
|
| 3045 |
-
// success
|
| 3046 |
-
}
|
| 3047 |
-
});
|
| 3048 |
-
```
|
| 3049 |
-
|
| 3050 |
-
Promise Example;
|
| 3051 |
-
|
| 3052 |
-
```javascript
|
| 3053 |
-
findResult().then(function(result){
|
| 3054 |
-
// success
|
| 3055 |
-
}, function(reason){
|
| 3056 |
-
// failure
|
| 3057 |
-
});
|
| 3058 |
-
```
|
| 3059 |
-
|
| 3060 |
-
Advanced Example
|
| 3061 |
-
--------------
|
| 3062 |
-
|
| 3063 |
-
Synchronous Example
|
| 3064 |
-
|
| 3065 |
-
```javascript
|
| 3066 |
-
let author, books;
|
| 3067 |
-
|
| 3068 |
try {
|
| 3069 |
-
|
| 3070 |
-
|
| 3071 |
-
|
| 3072 |
-
} catch(reason) {
|
| 3073 |
-
// failure
|
| 3074 |
-
}
|
| 3075 |
-
```
|
| 3076 |
-
|
| 3077 |
-
Errback Example
|
| 3078 |
-
|
| 3079 |
-
```js
|
| 3080 |
-
|
| 3081 |
-
function foundBooks(books) {
|
| 3082 |
-
|
| 3083 |
}
|
| 3084 |
-
|
| 3085 |
-
|
| 3086 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3087 |
}
|
| 3088 |
-
|
| 3089 |
-
|
| 3090 |
-
|
| 3091 |
-
|
| 3092 |
-
|
| 3093 |
-
|
| 3094 |
-
|
| 3095 |
-
|
| 3096 |
-
|
| 3097 |
-
|
| 3098 |
-
|
| 3099 |
-
|
| 3100 |
-
|
| 3101 |
-
|
| 3102 |
-
|
| 3103 |
-
|
| 3104 |
-
|
| 3105 |
-
|
| 3106 |
-
|
| 3107 |
-
|
| 3108 |
-
|
| 3109 |
-
|
| 3110 |
-
|
| 3111 |
-
|
| 3112 |
-
|
| 3113 |
-
|
| 3114 |
-
|
| 3115 |
-
|
| 3116 |
-
|
| 3117 |
-
|
| 3118 |
-
|
| 3119 |
-
|
| 3120 |
-
|
| 3121 |
-
|
| 3122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3123 |
});
|
| 3124 |
-
|
| 3125 |
-
|
| 3126 |
-
|
| 3127 |
-
|
| 3128 |
-
|
| 3129 |
-
|
| 3130 |
-
|
| 3131 |
-
|
| 3132 |
-
|
| 3133 |
-
|
| 3134 |
-
|
| 3135 |
-
|
| 3136 |
-
as the catch block of a try/catch statement.
|
| 3137 |
-
|
| 3138 |
-
```js
|
| 3139 |
-
function findAuthor(){
|
| 3140 |
-
throw new Error('couldn't find that author');
|
| 3141 |
-
}
|
| 3142 |
-
|
| 3143 |
-
// synchronous
|
| 3144 |
-
try {
|
| 3145 |
-
findAuthor();
|
| 3146 |
-
} catch(reason) {
|
| 3147 |
-
// something went wrong
|
| 3148 |
-
}
|
| 3149 |
-
|
| 3150 |
-
// async with promises
|
| 3151 |
-
findAuthor().catch(function(reason){
|
| 3152 |
-
// something went wrong
|
| 3153 |
});
|
| 3154 |
-
|
| 3155 |
-
|
| 3156 |
-
@method catch
|
| 3157 |
-
@param {Function} onRejection
|
| 3158 |
-
Useful for tooling.
|
| 3159 |
-
@return {Promise}
|
| 3160 |
-
*/
|
| 3161 |
-
'catch': function _catch(onRejection) {
|
| 3162 |
-
return this.then(null, onRejection);
|
| 3163 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3164 |
};
|
| 3165 |
|
| 3166 |
-
/*global self*/
|
| 3167 |
-
function polyfill$1() {
|
| 3168 |
-
var local = undefined;
|
| 3169 |
|
| 3170 |
-
|
| 3171 |
-
|
| 3172 |
-
|
| 3173 |
-
local = self;
|
| 3174 |
-
} else {
|
| 3175 |
-
try {
|
| 3176 |
-
local = Function('return this')();
|
| 3177 |
-
} catch (e) {
|
| 3178 |
-
throw new Error('polyfill failed because global object is unavailable in this environment');
|
| 3179 |
-
}
|
| 3180 |
-
}
|
| 3181 |
|
| 3182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3183 |
|
| 3184 |
-
if (P) {
|
| 3185 |
-
var promiseToString = null;
|
| 3186 |
-
try {
|
| 3187 |
-
promiseToString = Object.prototype.toString.call(P.resolve());
|
| 3188 |
-
} catch (e) {
|
| 3189 |
-
// silently ignored
|
| 3190 |
-
}
|
| 3191 |
|
| 3192 |
-
|
| 3193 |
-
|
| 3194 |
-
|
| 3195 |
-
}
|
| 3196 |
|
| 3197 |
-
|
| 3198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3199 |
|
| 3200 |
-
// Strange compat..
|
| 3201 |
-
Promise$2.polyfill = polyfill$1;
|
| 3202 |
-
Promise$2.Promise = Promise$2;
|
| 3203 |
|
| 3204 |
-
|
|
|
|
|
|
|
| 3205 |
|
| 3206 |
-
|
|
|
|
|
|
|
|
|
|
| 3207 |
|
| 3208 |
-
|
|
|
|
|
|
|
| 3209 |
|
| 3210 |
|
| 3211 |
-
|
| 3212 |
-
|
| 3213 |
-
|
| 3214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3215 |
|
| 3216 |
/***/ }),
|
| 3217 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3218 |
/***/ (function(module, exports) {
|
| 3219 |
|
| 3220 |
-
//
|
| 3221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3222 |
|
| 3223 |
-
// cached from whatever global is present so that test runners that stub it
|
| 3224 |
-
// don't break things. But we need to wrap it in a try catch in case it is
|
| 3225 |
-
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
| 3226 |
-
// function because try/catches deoptimize in certain engines.
|
| 3227 |
|
| 3228 |
-
|
| 3229 |
-
|
|
|
|
| 3230 |
|
| 3231 |
-
|
| 3232 |
-
|
| 3233 |
-
|
| 3234 |
-
|
| 3235 |
-
|
| 3236 |
-
|
| 3237 |
-
|
| 3238 |
-
|
| 3239 |
-
|
| 3240 |
-
|
| 3241 |
-
|
| 3242 |
-
|
| 3243 |
-
|
| 3244 |
-
|
| 3245 |
-
|
| 3246 |
-
|
| 3247 |
-
|
| 3248 |
-
|
| 3249 |
-
|
| 3250 |
-
|
| 3251 |
-
|
| 3252 |
-
|
| 3253 |
-
|
| 3254 |
-
|
| 3255 |
-
|
| 3256 |
-
}
|
| 3257 |
-
function runTimeout(fun) {
|
| 3258 |
-
if (cachedSetTimeout === setTimeout) {
|
| 3259 |
-
//normal enviroments in sane situations
|
| 3260 |
-
return setTimeout(fun, 0);
|
| 3261 |
-
}
|
| 3262 |
-
// if setTimeout wasn't available but was latter defined
|
| 3263 |
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
| 3264 |
-
cachedSetTimeout = setTimeout;
|
| 3265 |
-
return setTimeout(fun, 0);
|
| 3266 |
-
}
|
| 3267 |
-
try {
|
| 3268 |
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
| 3269 |
-
return cachedSetTimeout(fun, 0);
|
| 3270 |
-
} catch(e){
|
| 3271 |
-
try {
|
| 3272 |
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
| 3273 |
-
return cachedSetTimeout.call(null, fun, 0);
|
| 3274 |
-
} catch(e){
|
| 3275 |
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
| 3276 |
-
return cachedSetTimeout.call(this, fun, 0);
|
| 3277 |
-
}
|
| 3278 |
-
}
|
| 3279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3280 |
|
| 3281 |
-
|
| 3282 |
-
|
| 3283 |
-
if (
|
| 3284 |
-
|
| 3285 |
-
|
| 3286 |
-
|
| 3287 |
-
|
| 3288 |
-
|
| 3289 |
-
|
| 3290 |
-
return clearTimeout(marker);
|
| 3291 |
-
}
|
| 3292 |
-
try {
|
| 3293 |
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
| 3294 |
-
return cachedClearTimeout(marker);
|
| 3295 |
-
} catch (e){
|
| 3296 |
-
try {
|
| 3297 |
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
| 3298 |
-
return cachedClearTimeout.call(null, marker);
|
| 3299 |
-
} catch (e){
|
| 3300 |
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
| 3301 |
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
| 3302 |
-
return cachedClearTimeout.call(this, marker);
|
| 3303 |
-
}
|
| 3304 |
-
}
|
| 3305 |
|
| 3306 |
|
|
|
|
|
|
|
|
|
|
| 3307 |
|
| 3308 |
-
|
| 3309 |
-
|
| 3310 |
-
|
| 3311 |
-
|
| 3312 |
-
|
| 3313 |
-
|
| 3314 |
-
|
| 3315 |
-
if (!draining || !currentQueue) {
|
| 3316 |
-
return;
|
| 3317 |
-
}
|
| 3318 |
-
draining = false;
|
| 3319 |
-
if (currentQueue.length) {
|
| 3320 |
-
queue = currentQueue.concat(queue);
|
| 3321 |
-
} else {
|
| 3322 |
-
queueIndex = -1;
|
| 3323 |
-
}
|
| 3324 |
-
if (queue.length) {
|
| 3325 |
-
drainQueue();
|
| 3326 |
-
}
|
| 3327 |
-
}
|
| 3328 |
|
| 3329 |
-
function drainQueue() {
|
| 3330 |
-
if (draining) {
|
| 3331 |
-
return;
|
| 3332 |
-
}
|
| 3333 |
-
var timeout = runTimeout(cleanUpNextTick);
|
| 3334 |
-
draining = true;
|
| 3335 |
-
|
| 3336 |
-
var len = queue.length;
|
| 3337 |
-
while(len) {
|
| 3338 |
-
currentQueue = queue;
|
| 3339 |
-
queue = [];
|
| 3340 |
-
while (++queueIndex < len) {
|
| 3341 |
-
if (currentQueue) {
|
| 3342 |
-
currentQueue[queueIndex].run();
|
| 3343 |
-
}
|
| 3344 |
-
}
|
| 3345 |
-
queueIndex = -1;
|
| 3346 |
-
len = queue.length;
|
| 3347 |
-
}
|
| 3348 |
-
currentQueue = null;
|
| 3349 |
-
draining = false;
|
| 3350 |
-
runClearTimeout(timeout);
|
| 3351 |
-
}
|
| 3352 |
|
| 3353 |
-
|
| 3354 |
-
|
| 3355 |
-
|
| 3356 |
-
|
| 3357 |
-
|
| 3358 |
-
|
| 3359 |
-
|
| 3360 |
-
|
| 3361 |
-
|
| 3362 |
-
|
| 3363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3364 |
};
|
| 3365 |
|
| 3366 |
-
|
| 3367 |
-
|
| 3368 |
-
|
| 3369 |
-
|
| 3370 |
-
|
| 3371 |
-
|
| 3372 |
-
|
|
|
|
|
|
|
| 3373 |
};
|
| 3374 |
-
process.title = 'browser';
|
| 3375 |
-
process.browser = true;
|
| 3376 |
-
process.env = {};
|
| 3377 |
-
process.argv = [];
|
| 3378 |
-
process.version = ''; // empty string to avoid regexp issues
|
| 3379 |
-
process.versions = {};
|
| 3380 |
|
| 3381 |
-
function noop() {}
|
| 3382 |
|
| 3383 |
-
|
| 3384 |
-
|
| 3385 |
-
|
| 3386 |
-
process.off = noop;
|
| 3387 |
-
process.removeListener = noop;
|
| 3388 |
-
process.removeAllListeners = noop;
|
| 3389 |
-
process.emit = noop;
|
| 3390 |
-
process.prependListener = noop;
|
| 3391 |
-
process.prependOnceListener = noop;
|
| 3392 |
|
| 3393 |
-
|
| 3394 |
|
| 3395 |
-
|
| 3396 |
-
|
| 3397 |
-
|
|
|
|
| 3398 |
|
| 3399 |
-
|
| 3400 |
-
|
| 3401 |
-
|
|
|
|
|
|
|
|
|
|
| 3402 |
};
|
| 3403 |
-
process.umask = function() { return 0; };
|
| 3404 |
|
| 3405 |
|
| 3406 |
/***/ }),
|
| 3407 |
-
/*
|
| 3408 |
-
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3409 |
|
| 3410 |
-
/* (ignored) */
|
| 3411 |
|
| 3412 |
/***/ })
|
| 3413 |
/******/ ]);
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 48);
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
/******/ ([
|
| 148 |
/* 1 */
|
| 149 |
/***/ (function(module, exports, __webpack_require__) {
|
| 150 |
|
| 151 |
+
var store = __webpack_require__(30)('wks');
|
| 152 |
+
var uid = __webpack_require__(23);
|
| 153 |
+
var Symbol = __webpack_require__(2).Symbol;
|
| 154 |
+
var USE_SYMBOL = typeof Symbol == 'function';
|
| 155 |
+
|
| 156 |
+
var $exports = module.exports = function (name) {
|
| 157 |
+
return store[name] || (store[name] =
|
| 158 |
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
|
| 159 |
+
};
|
| 160 |
+
|
| 161 |
+
$exports.store = store;
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
/***/ }),
|
| 165 |
+
/* 2 */
|
| 166 |
+
/***/ (function(module, exports) {
|
| 167 |
+
|
| 168 |
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
| 169 |
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
| 170 |
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
| 171 |
+
// eslint-disable-next-line no-new-func
|
| 172 |
+
: Function('return this')();
|
| 173 |
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
/***/ }),
|
| 177 |
+
/* 3 */
|
| 178 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 179 |
+
|
| 180 |
+
var isObject = __webpack_require__(9);
|
| 181 |
+
module.exports = function (it) {
|
| 182 |
+
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
| 183 |
+
return it;
|
| 184 |
+
};
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
/***/ }),
|
| 188 |
+
/* 4 */
|
| 189 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 190 |
+
|
| 191 |
+
var dP = __webpack_require__(15);
|
| 192 |
+
var createDesc = __webpack_require__(32);
|
| 193 |
+
module.exports = __webpack_require__(10) ? function (object, key, value) {
|
| 194 |
+
return dP.f(object, key, createDesc(1, value));
|
| 195 |
+
} : function (object, key, value) {
|
| 196 |
+
object[key] = value;
|
| 197 |
+
return object;
|
| 198 |
+
};
|
| 199 |
+
|
| 200 |
+
|
| 201 |
+
/***/ }),
|
| 202 |
+
/* 5 */
|
| 203 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 204 |
+
|
| 205 |
"use strict";
|
| 206 |
|
| 207 |
|
| 246 |
e.preventDefault();
|
| 247 |
});
|
| 248 |
|
| 249 |
+
$('#ai1wm-report-submit').click(function (event) {
|
| 250 |
+
event.preventDefault();
|
| 251 |
+
|
| 252 |
+
var submit_button = $(this);
|
| 253 |
+
var spinner = $(submit_button).next();
|
| 254 |
var email = $('.ai1wm-report-email').val();
|
| 255 |
var message = $('.ai1wm-report-message').val();
|
| 256 |
var terms = $('.ai1wm-report-terms').is(':checked');
|
| 257 |
|
| 258 |
+
$(submit_button).attr('disabled', true);
|
| 259 |
+
$(spinner).css('visibility', 'visible');
|
| 260 |
+
|
| 261 |
$.ajax({
|
| 262 |
url: ai1wm_report.ajax.url,
|
| 263 |
type: 'POST',
|
| 264 |
dataType: 'json',
|
| 265 |
+
async: true,
|
| 266 |
data: {
|
| 267 |
'secret_key': ai1wm_report.secret_key,
|
| 268 |
'ai1wm_email': email,
|
| 273 |
return Util.json(data);
|
| 274 |
},
|
| 275 |
success: function success(data) {
|
| 276 |
+
$(submit_button).attr('disabled', false);
|
| 277 |
+
$(spinner).css('visibility', 'hidden');
|
| 278 |
+
|
| 279 |
if (data.errors.length > 0) {
|
| 280 |
// Reset previous messages
|
| 281 |
$('.ai1wm-report-problem-dialog .ai1wm-message').remove();
|
| 301 |
});
|
| 302 |
|
| 303 |
/***/ }),
|
| 304 |
+
/* 6 */
|
| 305 |
/***/ (function(module, exports, __webpack_require__) {
|
| 306 |
|
| 307 |
"use strict";
|
| 384 |
});
|
| 385 |
|
| 386 |
// Send feedback form
|
| 387 |
+
$('#ai1wm-feedback-submit').click(function (event) {
|
| 388 |
+
event.preventDefault();
|
| 389 |
+
|
| 390 |
+
var submit_button = $(this);
|
| 391 |
+
var spinner = $(submit_button).next();
|
| 392 |
var type = $('.ai1wm-feedback-type:checked').val();
|
| 393 |
var email = $('.ai1wm-feedback-email').val();
|
| 394 |
var message = $('.ai1wm-feedback-message').val();
|
| 395 |
var terms = $('.ai1wm-feedback-terms').is(':checked');
|
| 396 |
|
| 397 |
+
$(submit_button).attr('disabled', true);
|
| 398 |
+
$(spinner).css('visibility', 'visible');
|
| 399 |
+
|
| 400 |
$.ajax({
|
| 401 |
url: ai1wm_feedback.ajax.url,
|
| 402 |
type: 'POST',
|
| 403 |
dataType: 'json',
|
| 404 |
+
async: true,
|
| 405 |
data: {
|
| 406 |
'secret_key': ai1wm_feedback.secret_key,
|
| 407 |
'ai1wm_type': type,
|
| 413 |
return Util.json(data);
|
| 414 |
},
|
| 415 |
success: function success(data) {
|
| 416 |
+
$(submit_button).attr('disabled', false);
|
| 417 |
+
$(spinner).css('visibility', 'hidden');
|
| 418 |
+
|
| 419 |
if (data.errors.length > 0) {
|
| 420 |
// Reset previous messages
|
| 421 |
$('.ai1wm-feedback .ai1wm-message').remove();
|
| 436 |
});
|
| 437 |
|
| 438 |
/***/ }),
|
| 439 |
+
/* 7 */
|
| 440 |
/***/ (function(module, exports) {
|
| 441 |
|
| 442 |
var g;
|
| 463 |
|
| 464 |
|
| 465 |
/***/ }),
|
| 466 |
+
/* 8 */
|
| 467 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 468 |
+
|
| 469 |
+
var global = __webpack_require__(2);
|
| 470 |
+
var hide = __webpack_require__(4);
|
| 471 |
+
var has = __webpack_require__(11);
|
| 472 |
+
var SRC = __webpack_require__(23)('src');
|
| 473 |
+
var TO_STRING = 'toString';
|
| 474 |
+
var $toString = Function[TO_STRING];
|
| 475 |
+
var TPL = ('' + $toString).split(TO_STRING);
|
| 476 |
+
|
| 477 |
+
__webpack_require__(12).inspectSource = function (it) {
|
| 478 |
+
return $toString.call(it);
|
| 479 |
+
};
|
| 480 |
+
|
| 481 |
+
(module.exports = function (O, key, val, safe) {
|
| 482 |
+
var isFunction = typeof val == 'function';
|
| 483 |
+
if (isFunction) has(val, 'name') || hide(val, 'name', key);
|
| 484 |
+
if (O[key] === val) return;
|
| 485 |
+
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
| 486 |
+
if (O === global) {
|
| 487 |
+
O[key] = val;
|
| 488 |
+
} else if (!safe) {
|
| 489 |
+
delete O[key];
|
| 490 |
+
hide(O, key, val);
|
| 491 |
+
} else if (O[key]) {
|
| 492 |
+
O[key] = val;
|
| 493 |
+
} else {
|
| 494 |
+
hide(O, key, val);
|
| 495 |
+
}
|
| 496 |
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
| 497 |
+
})(Function.prototype, TO_STRING, function toString() {
|
| 498 |
+
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
| 499 |
+
});
|
| 500 |
+
|
| 501 |
+
|
| 502 |
+
/***/ }),
|
| 503 |
+
/* 9 */
|
| 504 |
+
/***/ (function(module, exports) {
|
| 505 |
+
|
| 506 |
+
module.exports = function (it) {
|
| 507 |
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
| 508 |
+
};
|
| 509 |
+
|
| 510 |
+
|
| 511 |
+
/***/ }),
|
| 512 |
+
/* 10 */
|
| 513 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 514 |
+
|
| 515 |
+
// Thank's IE8 for his funny defineProperty
|
| 516 |
+
module.exports = !__webpack_require__(31)(function () {
|
| 517 |
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
| 518 |
+
});
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
/***/ }),
|
| 522 |
+
/* 11 */
|
| 523 |
+
/***/ (function(module, exports) {
|
| 524 |
+
|
| 525 |
+
var hasOwnProperty = {}.hasOwnProperty;
|
| 526 |
+
module.exports = function (it, key) {
|
| 527 |
+
return hasOwnProperty.call(it, key);
|
| 528 |
+
};
|
| 529 |
+
|
| 530 |
+
|
| 531 |
+
/***/ }),
|
| 532 |
+
/* 12 */
|
| 533 |
+
/***/ (function(module, exports) {
|
| 534 |
+
|
| 535 |
+
var core = module.exports = { version: '2.5.1' };
|
| 536 |
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
| 537 |
+
|
| 538 |
+
|
| 539 |
+
/***/ }),
|
| 540 |
+
/* 13 */
|
| 541 |
+
/***/ (function(module, exports) {
|
| 542 |
+
|
| 543 |
+
module.exports = {};
|
| 544 |
+
|
| 545 |
+
|
| 546 |
+
/***/ }),
|
| 547 |
+
/* 14 */
|
| 548 |
+
/***/ (function(module, exports) {
|
| 549 |
+
|
| 550 |
+
var toString = {}.toString;
|
| 551 |
+
|
| 552 |
+
module.exports = function (it) {
|
| 553 |
+
return toString.call(it).slice(8, -1);
|
| 554 |
+
};
|
| 555 |
+
|
| 556 |
+
|
| 557 |
+
/***/ }),
|
| 558 |
+
/* 15 */
|
| 559 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 560 |
+
|
| 561 |
+
var anObject = __webpack_require__(3);
|
| 562 |
+
var IE8_DOM_DEFINE = __webpack_require__(53);
|
| 563 |
+
var toPrimitive = __webpack_require__(54);
|
| 564 |
+
var dP = Object.defineProperty;
|
| 565 |
+
|
| 566 |
+
exports.f = __webpack_require__(10) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
| 567 |
+
anObject(O);
|
| 568 |
+
P = toPrimitive(P, true);
|
| 569 |
+
anObject(Attributes);
|
| 570 |
+
if (IE8_DOM_DEFINE) try {
|
| 571 |
+
return dP(O, P, Attributes);
|
| 572 |
+
} catch (e) { /* empty */ }
|
| 573 |
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
| 574 |
+
if ('value' in Attributes) O[P] = Attributes.value;
|
| 575 |
+
return O;
|
| 576 |
+
};
|
| 577 |
+
|
| 578 |
+
|
| 579 |
+
/***/ }),
|
| 580 |
+
/* 16 */
|
| 581 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 582 |
+
|
| 583 |
+
// optional / simple context binding
|
| 584 |
+
var aFunction = __webpack_require__(17);
|
| 585 |
+
module.exports = function (fn, that, length) {
|
| 586 |
+
aFunction(fn);
|
| 587 |
+
if (that === undefined) return fn;
|
| 588 |
+
switch (length) {
|
| 589 |
+
case 1: return function (a) {
|
| 590 |
+
return fn.call(that, a);
|
| 591 |
+
};
|
| 592 |
+
case 2: return function (a, b) {
|
| 593 |
+
return fn.call(that, a, b);
|
| 594 |
+
};
|
| 595 |
+
case 3: return function (a, b, c) {
|
| 596 |
+
return fn.call(that, a, b, c);
|
| 597 |
+
};
|
| 598 |
+
}
|
| 599 |
+
return function (/* ...args */) {
|
| 600 |
+
return fn.apply(that, arguments);
|
| 601 |
+
};
|
| 602 |
+
};
|
| 603 |
+
|
| 604 |
+
|
| 605 |
+
/***/ }),
|
| 606 |
+
/* 17 */
|
| 607 |
+
/***/ (function(module, exports) {
|
| 608 |
+
|
| 609 |
+
module.exports = function (it) {
|
| 610 |
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
| 611 |
+
return it;
|
| 612 |
+
};
|
| 613 |
+
|
| 614 |
+
|
| 615 |
+
/***/ }),
|
| 616 |
+
/* 18 */
|
| 617 |
/***/ (function(module, exports, __webpack_require__) {
|
| 618 |
|
| 619 |
"use strict";
|
| 644 |
*/
|
| 645 |
|
| 646 |
var Util = __webpack_require__(0),
|
| 647 |
+
Modal = __webpack_require__(19),
|
| 648 |
$ = jQuery;
|
| 649 |
|
| 650 |
var Import = function Import() {
|
| 973 |
module.exports = Import;
|
| 974 |
|
| 975 |
/***/ }),
|
| 976 |
+
/* 19 */
|
| 977 |
/***/ (function(module, exports, __webpack_require__) {
|
| 978 |
|
| 979 |
"use strict";
|
| 1127 |
var header = $('<h1></h1>');
|
| 1128 |
|
| 1129 |
// Create paragraph to hold mesage
|
| 1130 |
+
var message = $('<p class="ai1wm-import-modal-content"></p>').html(params.message);
|
| 1131 |
|
| 1132 |
// Create action section
|
| 1133 |
+
var action = $('<div class="ai1wm-import-modal-actions"></div>');
|
| 1134 |
|
| 1135 |
// Create warning
|
| 1136 |
var warning = $('<span class="ai1wm-icon-notification"></span>');
|
| 1137 |
|
| 1138 |
+
// Create cancel button
|
| 1139 |
+
var cancelButton = $('<button type="button" class="ai1wm-button-gray">Cancel</button>').on('click', function () {
|
| 1140 |
+
$(this).attr('disabled', 'disabled');
|
| 1141 |
+
self.onStop();
|
| 1142 |
+
});
|
| 1143 |
+
|
| 1144 |
// Create confirm button
|
| 1145 |
+
var confirmButton = $('<button type="button" class="ai1wm-button-green">Proceed ></button>').on('click', function () {
|
| 1146 |
$(this).attr('disabled', 'disabled');
|
| 1147 |
self.onConfirm();
|
| 1148 |
});
|
| 1149 |
|
| 1150 |
+
// Append cancel button
|
| 1151 |
+
action.append(cancelButton);
|
| 1152 |
+
|
| 1153 |
// Append confirm button
|
| 1154 |
action.append(confirmButton);
|
| 1155 |
|
| 1345 |
module.exports = Modal;
|
| 1346 |
|
| 1347 |
/***/ }),
|
| 1348 |
+
/* 20 */
|
| 1349 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1350 |
|
| 1351 |
"use strict";
|
| 1376 |
*/
|
| 1377 |
|
| 1378 |
var Util = __webpack_require__(0),
|
| 1379 |
+
Dialog = __webpack_require__(21);
|
| 1380 |
|
| 1381 |
var Extensions = {
|
| 1382 |
's3': 'Amazon S3 Extension',
|
| 1440 |
});
|
| 1441 |
|
| 1442 |
/***/ }),
|
| 1443 |
+
/* 21 */
|
| 1444 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1445 |
|
| 1446 |
"use strict";
|
| 1518 |
module.exports = Dialog;
|
| 1519 |
|
| 1520 |
/***/ }),
|
| 1521 |
+
/* 22 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1522 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1523 |
|
| 1524 |
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
| 1525 |
+
var cof = __webpack_require__(14);
|
| 1526 |
+
var TAG = __webpack_require__(1)('toStringTag');
|
| 1527 |
+
// ES3 wrong here
|
| 1528 |
+
var ARG = cof(function () { return arguments; }()) == 'Arguments';
|
| 1529 |
|
| 1530 |
+
// fallback for IE11 Script Access Denied error
|
| 1531 |
+
var tryGet = function (it, key) {
|
| 1532 |
+
try {
|
| 1533 |
+
return it[key];
|
| 1534 |
+
} catch (e) { /* empty */ }
|
| 1535 |
+
};
|
| 1536 |
|
| 1537 |
+
module.exports = function (it) {
|
| 1538 |
+
var O, T, B;
|
| 1539 |
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
| 1540 |
+
// @@toStringTag case
|
| 1541 |
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
| 1542 |
+
// builtinTag case
|
| 1543 |
+
: ARG ? cof(O)
|
| 1544 |
+
// ES3 arguments fallback
|
| 1545 |
+
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
| 1546 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1547 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1548 |
|
| 1549 |
+
/***/ }),
|
| 1550 |
+
/* 23 */
|
| 1551 |
+
/***/ (function(module, exports) {
|
| 1552 |
|
| 1553 |
+
var id = 0;
|
| 1554 |
+
var px = Math.random();
|
| 1555 |
+
module.exports = function (key) {
|
| 1556 |
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
| 1557 |
+
};
|
| 1558 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1559 |
|
| 1560 |
/***/ }),
|
| 1561 |
+
/* 24 */
|
| 1562 |
/***/ (function(module, exports, __webpack_require__) {
|
| 1563 |
|
| 1564 |
+
var isObject = __webpack_require__(9);
|
| 1565 |
+
var document = __webpack_require__(2).document;
|
| 1566 |
+
// typeof document.createElement is 'object' in old IE
|
| 1567 |
+
var is = isObject(document) && isObject(document.createElement);
|
| 1568 |
+
module.exports = function (it) {
|
| 1569 |
+
return is ? document.createElement(it) : {};
|
| 1570 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1571 |
|
|
|
|
|
|
|
|
|
|
| 1572 |
|
| 1573 |
+
/***/ }),
|
| 1574 |
+
/* 25 */
|
| 1575 |
+
/***/ (function(module, exports) {
|
| 1576 |
|
| 1577 |
+
// 7.1.4 ToInteger
|
| 1578 |
+
var ceil = Math.ceil;
|
| 1579 |
+
var floor = Math.floor;
|
| 1580 |
+
module.exports = function (it) {
|
| 1581 |
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
| 1582 |
};
|
| 1583 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1584 |
|
| 1585 |
+
/***/ }),
|
| 1586 |
+
/* 26 */
|
| 1587 |
+
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1588 |
|
| 1589 |
+
// 7.2.1 RequireObjectCoercible(argument)
|
| 1590 |
+
module.exports = function (it) {
|
| 1591 |
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
| 1592 |
+
return it;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1593 |
};
|
| 1594 |
|
|
|
|
|
|
|
| 1595 |
|
| 1596 |
+
/***/ }),
|
| 1597 |
+
/* 27 */
|
| 1598 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1599 |
|
| 1600 |
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
| 1601 |
+
var IObject = __webpack_require__(61);
|
| 1602 |
+
var defined = __webpack_require__(26);
|
| 1603 |
+
module.exports = function (it) {
|
| 1604 |
+
return IObject(defined(it));
|
| 1605 |
+
};
|
| 1606 |
+
|
| 1607 |
+
|
| 1608 |
+
/***/ }),
|
| 1609 |
+
/* 28 */
|
| 1610 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1611 |
+
|
| 1612 |
+
var shared = __webpack_require__(30)('keys');
|
| 1613 |
+
var uid = __webpack_require__(23);
|
| 1614 |
+
module.exports = function (key) {
|
| 1615 |
+
return shared[key] || (shared[key] = uid(key));
|
| 1616 |
+
};
|
| 1617 |
+
|
| 1618 |
+
|
| 1619 |
+
/***/ }),
|
| 1620 |
+
/* 29 */
|
| 1621 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1622 |
+
|
| 1623 |
+
var def = __webpack_require__(15).f;
|
| 1624 |
+
var has = __webpack_require__(11);
|
| 1625 |
+
var TAG = __webpack_require__(1)('toStringTag');
|
| 1626 |
+
|
| 1627 |
+
module.exports = function (it, tag, stat) {
|
| 1628 |
+
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
| 1629 |
+
};
|
| 1630 |
+
|
| 1631 |
+
|
| 1632 |
+
/***/ }),
|
| 1633 |
+
/* 30 */
|
| 1634 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1635 |
+
|
| 1636 |
+
var global = __webpack_require__(2);
|
| 1637 |
+
var SHARED = '__core-js_shared__';
|
| 1638 |
+
var store = global[SHARED] || (global[SHARED] = {});
|
| 1639 |
+
module.exports = function (key) {
|
| 1640 |
+
return store[key] || (store[key] = {});
|
| 1641 |
+
};
|
| 1642 |
+
|
| 1643 |
+
|
| 1644 |
+
/***/ }),
|
| 1645 |
+
/* 31 */
|
| 1646 |
+
/***/ (function(module, exports) {
|
| 1647 |
+
|
| 1648 |
+
module.exports = function (exec) {
|
| 1649 |
+
try {
|
| 1650 |
+
return !!exec();
|
| 1651 |
+
} catch (e) {
|
| 1652 |
+
return true;
|
| 1653 |
+
}
|
| 1654 |
+
};
|
| 1655 |
+
|
| 1656 |
+
|
| 1657 |
+
/***/ }),
|
| 1658 |
+
/* 32 */
|
| 1659 |
+
/***/ (function(module, exports) {
|
| 1660 |
+
|
| 1661 |
+
module.exports = function (bitmap, value) {
|
| 1662 |
+
return {
|
| 1663 |
+
enumerable: !(bitmap & 1),
|
| 1664 |
+
configurable: !(bitmap & 2),
|
| 1665 |
+
writable: !(bitmap & 4),
|
| 1666 |
+
value: value
|
| 1667 |
+
};
|
| 1668 |
+
};
|
| 1669 |
+
|
| 1670 |
+
|
| 1671 |
+
/***/ }),
|
| 1672 |
+
/* 33 */
|
| 1673 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1674 |
+
|
| 1675 |
+
"use strict";
|
| 1676 |
+
|
| 1677 |
+
var LIBRARY = __webpack_require__(34);
|
| 1678 |
+
var $export = __webpack_require__(35);
|
| 1679 |
+
var redefine = __webpack_require__(8);
|
| 1680 |
+
var hide = __webpack_require__(4);
|
| 1681 |
+
var has = __webpack_require__(11);
|
| 1682 |
+
var Iterators = __webpack_require__(13);
|
| 1683 |
+
var $iterCreate = __webpack_require__(57);
|
| 1684 |
+
var setToStringTag = __webpack_require__(29);
|
| 1685 |
+
var getPrototypeOf = __webpack_require__(64);
|
| 1686 |
+
var ITERATOR = __webpack_require__(1)('iterator');
|
| 1687 |
+
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
| 1688 |
+
var FF_ITERATOR = '@@iterator';
|
| 1689 |
+
var KEYS = 'keys';
|
| 1690 |
+
var VALUES = 'values';
|
| 1691 |
+
|
| 1692 |
+
var returnThis = function () { return this; };
|
| 1693 |
+
|
| 1694 |
+
module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
| 1695 |
+
$iterCreate(Constructor, NAME, next);
|
| 1696 |
+
var getMethod = function (kind) {
|
| 1697 |
+
if (!BUGGY && kind in proto) return proto[kind];
|
| 1698 |
+
switch (kind) {
|
| 1699 |
+
case KEYS: return function keys() { return new Constructor(this, kind); };
|
| 1700 |
+
case VALUES: return function values() { return new Constructor(this, kind); };
|
| 1701 |
+
} return function entries() { return new Constructor(this, kind); };
|
| 1702 |
+
};
|
| 1703 |
+
var TAG = NAME + ' Iterator';
|
| 1704 |
+
var DEF_VALUES = DEFAULT == VALUES;
|
| 1705 |
+
var VALUES_BUG = false;
|
| 1706 |
+
var proto = Base.prototype;
|
| 1707 |
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
| 1708 |
+
var $default = $native || getMethod(DEFAULT);
|
| 1709 |
+
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
| 1710 |
+
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
| 1711 |
+
var methods, key, IteratorPrototype;
|
| 1712 |
+
// Fix native
|
| 1713 |
+
if ($anyNative) {
|
| 1714 |
+
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
|
| 1715 |
+
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
| 1716 |
+
// Set @@toStringTag to native iterators
|
| 1717 |
+
setToStringTag(IteratorPrototype, TAG, true);
|
| 1718 |
+
// fix for some old engines
|
| 1719 |
+
if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
|
| 1720 |
+
}
|
| 1721 |
+
}
|
| 1722 |
+
// fix Array#{values, @@iterator}.name in V8 / FF
|
| 1723 |
+
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
| 1724 |
+
VALUES_BUG = true;
|
| 1725 |
+
$default = function values() { return $native.call(this); };
|
| 1726 |
+
}
|
| 1727 |
+
// Define iterator
|
| 1728 |
+
if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
| 1729 |
+
hide(proto, ITERATOR, $default);
|
| 1730 |
+
}
|
| 1731 |
+
// Plug for library
|
| 1732 |
+
Iterators[NAME] = $default;
|
| 1733 |
+
Iterators[TAG] = returnThis;
|
| 1734 |
+
if (DEFAULT) {
|
| 1735 |
+
methods = {
|
| 1736 |
+
values: DEF_VALUES ? $default : getMethod(VALUES),
|
| 1737 |
+
keys: IS_SET ? $default : getMethod(KEYS),
|
| 1738 |
+
entries: $entries
|
| 1739 |
+
};
|
| 1740 |
+
if (FORCED) for (key in methods) {
|
| 1741 |
+
if (!(key in proto)) redefine(proto, key, methods[key]);
|
| 1742 |
+
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
| 1743 |
+
}
|
| 1744 |
+
return methods;
|
| 1745 |
+
};
|
| 1746 |
+
|
| 1747 |
+
|
| 1748 |
+
/***/ }),
|
| 1749 |
+
/* 34 */
|
| 1750 |
+
/***/ (function(module, exports) {
|
| 1751 |
+
|
| 1752 |
+
module.exports = false;
|
| 1753 |
+
|
| 1754 |
+
|
| 1755 |
+
/***/ }),
|
| 1756 |
+
/* 35 */
|
| 1757 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1758 |
+
|
| 1759 |
+
var global = __webpack_require__(2);
|
| 1760 |
+
var core = __webpack_require__(12);
|
| 1761 |
+
var hide = __webpack_require__(4);
|
| 1762 |
+
var redefine = __webpack_require__(8);
|
| 1763 |
+
var ctx = __webpack_require__(16);
|
| 1764 |
+
var PROTOTYPE = 'prototype';
|
| 1765 |
+
|
| 1766 |
+
var $export = function (type, name, source) {
|
| 1767 |
+
var IS_FORCED = type & $export.F;
|
| 1768 |
+
var IS_GLOBAL = type & $export.G;
|
| 1769 |
+
var IS_STATIC = type & $export.S;
|
| 1770 |
+
var IS_PROTO = type & $export.P;
|
| 1771 |
+
var IS_BIND = type & $export.B;
|
| 1772 |
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
|
| 1773 |
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
| 1774 |
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
| 1775 |
+
var key, own, out, exp;
|
| 1776 |
+
if (IS_GLOBAL) source = name;
|
| 1777 |
+
for (key in source) {
|
| 1778 |
+
// contains in native
|
| 1779 |
+
own = !IS_FORCED && target && target[key] !== undefined;
|
| 1780 |
+
// export native or passed
|
| 1781 |
+
out = (own ? target : source)[key];
|
| 1782 |
+
// bind timers to global for call from export context
|
| 1783 |
+
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
| 1784 |
+
// extend global
|
| 1785 |
+
if (target) redefine(target, key, out, type & $export.U);
|
| 1786 |
+
// export
|
| 1787 |
+
if (exports[key] != out) hide(exports, key, exp);
|
| 1788 |
+
if (IS_PROTO && expProto[key] != out) expProto[key] = out;
|
| 1789 |
+
}
|
| 1790 |
+
};
|
| 1791 |
+
global.core = core;
|
| 1792 |
+
// type bitmap
|
| 1793 |
+
$export.F = 1; // forced
|
| 1794 |
+
$export.G = 2; // global
|
| 1795 |
+
$export.S = 4; // static
|
| 1796 |
+
$export.P = 8; // proto
|
| 1797 |
+
$export.B = 16; // bind
|
| 1798 |
+
$export.W = 32; // wrap
|
| 1799 |
+
$export.U = 64; // safe
|
| 1800 |
+
$export.R = 128; // real proto method for `library`
|
| 1801 |
+
module.exports = $export;
|
| 1802 |
+
|
| 1803 |
+
|
| 1804 |
+
/***/ }),
|
| 1805 |
+
/* 36 */
|
| 1806 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1807 |
+
|
| 1808 |
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
| 1809 |
+
var $keys = __webpack_require__(60);
|
| 1810 |
+
var enumBugKeys = __webpack_require__(38);
|
| 1811 |
+
|
| 1812 |
+
module.exports = Object.keys || function keys(O) {
|
| 1813 |
+
return $keys(O, enumBugKeys);
|
| 1814 |
+
};
|
| 1815 |
+
|
| 1816 |
+
|
| 1817 |
+
/***/ }),
|
| 1818 |
+
/* 37 */
|
| 1819 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1820 |
+
|
| 1821 |
+
// 7.1.15 ToLength
|
| 1822 |
+
var toInteger = __webpack_require__(25);
|
| 1823 |
+
var min = Math.min;
|
| 1824 |
+
module.exports = function (it) {
|
| 1825 |
+
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
| 1826 |
+
};
|
| 1827 |
+
|
| 1828 |
+
|
| 1829 |
+
/***/ }),
|
| 1830 |
+
/* 38 */
|
| 1831 |
+
/***/ (function(module, exports) {
|
| 1832 |
+
|
| 1833 |
+
// IE 8- don't enum bug keys
|
| 1834 |
+
module.exports = (
|
| 1835 |
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
| 1836 |
+
).split(',');
|
| 1837 |
+
|
| 1838 |
+
|
| 1839 |
+
/***/ }),
|
| 1840 |
+
/* 39 */
|
| 1841 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1842 |
+
|
| 1843 |
+
var document = __webpack_require__(2).document;
|
| 1844 |
+
module.exports = document && document.documentElement;
|
| 1845 |
+
|
| 1846 |
+
|
| 1847 |
+
/***/ }),
|
| 1848 |
+
/* 40 */
|
| 1849 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1850 |
+
|
| 1851 |
+
var ctx = __webpack_require__(16);
|
| 1852 |
+
var invoke = __webpack_require__(77);
|
| 1853 |
+
var html = __webpack_require__(39);
|
| 1854 |
+
var cel = __webpack_require__(24);
|
| 1855 |
+
var global = __webpack_require__(2);
|
| 1856 |
+
var process = global.process;
|
| 1857 |
+
var setTask = global.setImmediate;
|
| 1858 |
+
var clearTask = global.clearImmediate;
|
| 1859 |
+
var MessageChannel = global.MessageChannel;
|
| 1860 |
+
var Dispatch = global.Dispatch;
|
| 1861 |
+
var counter = 0;
|
| 1862 |
+
var queue = {};
|
| 1863 |
+
var ONREADYSTATECHANGE = 'onreadystatechange';
|
| 1864 |
+
var defer, channel, port;
|
| 1865 |
+
var run = function () {
|
| 1866 |
+
var id = +this;
|
| 1867 |
+
// eslint-disable-next-line no-prototype-builtins
|
| 1868 |
+
if (queue.hasOwnProperty(id)) {
|
| 1869 |
+
var fn = queue[id];
|
| 1870 |
+
delete queue[id];
|
| 1871 |
+
fn();
|
| 1872 |
+
}
|
| 1873 |
+
};
|
| 1874 |
+
var listener = function (event) {
|
| 1875 |
+
run.call(event.data);
|
| 1876 |
+
};
|
| 1877 |
+
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
| 1878 |
+
if (!setTask || !clearTask) {
|
| 1879 |
+
setTask = function setImmediate(fn) {
|
| 1880 |
+
var args = [];
|
| 1881 |
+
var i = 1;
|
| 1882 |
+
while (arguments.length > i) args.push(arguments[i++]);
|
| 1883 |
+
queue[++counter] = function () {
|
| 1884 |
+
// eslint-disable-next-line no-new-func
|
| 1885 |
+
invoke(typeof fn == 'function' ? fn : Function(fn), args);
|
| 1886 |
+
};
|
| 1887 |
+
defer(counter);
|
| 1888 |
+
return counter;
|
| 1889 |
+
};
|
| 1890 |
+
clearTask = function clearImmediate(id) {
|
| 1891 |
+
delete queue[id];
|
| 1892 |
+
};
|
| 1893 |
+
// Node.js 0.8-
|
| 1894 |
+
if (__webpack_require__(14)(process) == 'process') {
|
| 1895 |
+
defer = function (id) {
|
| 1896 |
+
process.nextTick(ctx(run, id, 1));
|
| 1897 |
+
};
|
| 1898 |
+
// Sphere (JS game engine) Dispatch API
|
| 1899 |
+
} else if (Dispatch && Dispatch.now) {
|
| 1900 |
+
defer = function (id) {
|
| 1901 |
+
Dispatch.now(ctx(run, id, 1));
|
| 1902 |
+
};
|
| 1903 |
+
// Browsers with MessageChannel, includes WebWorkers
|
| 1904 |
+
} else if (MessageChannel) {
|
| 1905 |
+
channel = new MessageChannel();
|
| 1906 |
+
port = channel.port2;
|
| 1907 |
+
channel.port1.onmessage = listener;
|
| 1908 |
+
defer = ctx(port.postMessage, port, 1);
|
| 1909 |
+
// Browsers with postMessage, skip WebWorkers
|
| 1910 |
+
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
| 1911 |
+
} else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
|
| 1912 |
+
defer = function (id) {
|
| 1913 |
+
global.postMessage(id + '', '*');
|
| 1914 |
+
};
|
| 1915 |
+
global.addEventListener('message', listener, false);
|
| 1916 |
+
// IE8-
|
| 1917 |
+
} else if (ONREADYSTATECHANGE in cel('script')) {
|
| 1918 |
+
defer = function (id) {
|
| 1919 |
+
html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
|
| 1920 |
+
html.removeChild(this);
|
| 1921 |
+
run.call(id);
|
| 1922 |
+
};
|
| 1923 |
+
};
|
| 1924 |
+
// Rest old browsers
|
| 1925 |
+
} else {
|
| 1926 |
+
defer = function (id) {
|
| 1927 |
+
setTimeout(ctx(run, id, 1), 0);
|
| 1928 |
+
};
|
| 1929 |
+
}
|
| 1930 |
+
}
|
| 1931 |
+
module.exports = {
|
| 1932 |
+
set: setTask,
|
| 1933 |
+
clear: clearTask
|
| 1934 |
+
};
|
| 1935 |
+
|
| 1936 |
+
|
| 1937 |
+
/***/ }),
|
| 1938 |
+
/* 41 */
|
| 1939 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1940 |
+
|
| 1941 |
+
"use strict";
|
| 1942 |
+
|
| 1943 |
+
// 25.4.1.5 NewPromiseCapability(C)
|
| 1944 |
+
var aFunction = __webpack_require__(17);
|
| 1945 |
+
|
| 1946 |
+
function PromiseCapability(C) {
|
| 1947 |
+
var resolve, reject;
|
| 1948 |
+
this.promise = new C(function ($$resolve, $$reject) {
|
| 1949 |
+
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
| 1950 |
+
resolve = $$resolve;
|
| 1951 |
+
reject = $$reject;
|
| 1952 |
+
});
|
| 1953 |
+
this.resolve = aFunction(resolve);
|
| 1954 |
+
this.reject = aFunction(reject);
|
| 1955 |
+
}
|
| 1956 |
+
|
| 1957 |
+
module.exports.f = function (C) {
|
| 1958 |
+
return new PromiseCapability(C);
|
| 1959 |
+
};
|
| 1960 |
+
|
| 1961 |
+
|
| 1962 |
+
/***/ }),
|
| 1963 |
+
/* 42 */,
|
| 1964 |
+
/* 43 */,
|
| 1965 |
+
/* 44 */,
|
| 1966 |
+
/* 45 */,
|
| 1967 |
+
/* 46 */,
|
| 1968 |
+
/* 47 */,
|
| 1969 |
+
/* 48 */
|
| 1970 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 1971 |
+
|
| 1972 |
+
"use strict";
|
| 1973 |
+
|
| 1974 |
+
|
| 1975 |
+
/**
|
| 1976 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 1977 |
+
*
|
| 1978 |
+
* This program is free software: you can redistribute it and/or modify
|
| 1979 |
+
* it under the terms of the GNU General Public License as published by
|
| 1980 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 1981 |
+
* (at your option) any later version.
|
| 1982 |
+
*
|
| 1983 |
+
* This program is distributed in the hope that it will be useful,
|
| 1984 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 1985 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 1986 |
+
* GNU General Public License for more details.
|
| 1987 |
+
*
|
| 1988 |
+
* You should have received a copy of the GNU General Public License
|
| 1989 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 1990 |
+
*
|
| 1991 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 1992 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 1993 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 1994 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 1995 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 1996 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 1997 |
+
*/
|
| 1998 |
+
|
| 1999 |
+
var Report = __webpack_require__(5),
|
| 2000 |
+
Feedback = __webpack_require__(6),
|
| 2001 |
+
Deprecated = __webpack_require__(20),
|
| 2002 |
+
FileUploader = __webpack_require__(49);
|
| 2003 |
+
|
| 2004 |
+
jQuery(document).ready(function ($) {
|
| 2005 |
+
'use strict';
|
| 2006 |
+
|
| 2007 |
+
var uploader = new FileUploader();
|
| 2008 |
+
uploader.init();
|
| 2009 |
+
|
| 2010 |
+
// Expands/Collapses Import from
|
| 2011 |
+
$('.ai1wm-expandable > div.ai1wm-button-main').on('click', function () {
|
| 2012 |
+
$(this).parent().toggleClass('ai1wm-open');
|
| 2013 |
+
});
|
| 2014 |
+
});
|
| 2015 |
+
|
| 2016 |
+
/***/ }),
|
| 2017 |
+
/* 49 */
|
| 2018 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2019 |
+
|
| 2020 |
+
"use strict";
|
| 2021 |
+
/* WEBPACK VAR INJECTION */(function(fetch, global) {
|
| 2022 |
+
|
| 2023 |
+
/**
|
| 2024 |
+
* Copyright (C) 2014-2017 ServMask Inc.
|
| 2025 |
+
*
|
| 2026 |
+
* This program is free software: you can redistribute it and/or modify
|
| 2027 |
+
* it under the terms of the GNU General Public License as published by
|
| 2028 |
+
* the Free Software Foundation, either version 3 of the License, or
|
| 2029 |
+
* (at your option) any later version.
|
| 2030 |
+
*
|
| 2031 |
+
* This program is distributed in the hope that it will be useful,
|
| 2032 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 2033 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 2034 |
+
* GNU General Public License for more details.
|
| 2035 |
+
*
|
| 2036 |
+
* You should have received a copy of the GNU General Public License
|
| 2037 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 2038 |
+
*
|
| 2039 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
| 2040 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
| 2041 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
| 2042 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
| 2043 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
| 2044 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
| 2045 |
+
*/
|
| 2046 |
+
|
| 2047 |
+
var Util = __webpack_require__(0),
|
| 2048 |
+
Import = __webpack_require__(18),
|
| 2049 |
+
$ = jQuery;
|
| 2050 |
+
|
| 2051 |
+
var FileUploader = function FileUploader() {};
|
| 2052 |
+
|
| 2053 |
+
FileUploader.prototype.setDefaultValues = function () {
|
| 2054 |
+
this.model = new Import();
|
| 2055 |
+
this.stopUpload = false;
|
| 2056 |
+
};
|
| 2057 |
+
|
| 2058 |
+
FileUploader.prototype.init = function () {
|
| 2059 |
+
var _this = this;
|
| 2060 |
+
|
| 2061 |
+
var selectElement = $('#ai1wm-import-file');
|
| 2062 |
+
var dropElement = $('#ai1wm-drag-drop-area');
|
| 2063 |
+
|
| 2064 |
+
selectElement.on('change', function (event) {
|
| 2065 |
+
event.preventDefault();
|
| 2066 |
+
_this.setDefaultValues();
|
| 2067 |
+
var file = event.target.files.item(0);
|
| 2068 |
+
_this.setDefaultValues();
|
| 2069 |
+
_this.fileSize = file.size;
|
| 2070 |
+
try {
|
| 2071 |
+
_this.onFilesAdded(file);
|
| 2072 |
+
_this.onBeforeUpload(file);
|
| 2073 |
+
_this.upload(file);
|
| 2074 |
+
} catch (exception) {
|
| 2075 |
+
_this.onError(exception);
|
| 2076 |
+
}
|
| 2077 |
+
});
|
| 2078 |
+
|
| 2079 |
+
dropElement.on('dragenter', function (event) {
|
| 2080 |
+
event.preventDefault();
|
| 2081 |
+
dropElement.addClass('ai1wm-drag-over');
|
| 2082 |
+
});
|
| 2083 |
+
dropElement.on('dragover', function (event) {
|
| 2084 |
+
event.preventDefault();
|
| 2085 |
+
dropElement.addClass('ai1wm-drag-over');
|
| 2086 |
+
});
|
| 2087 |
+
dropElement.on('dragleave', function (event) {
|
| 2088 |
+
event.preventDefault();
|
| 2089 |
+
dropElement.removeClass('ai1wm-drag-over');
|
| 2090 |
+
});
|
| 2091 |
+
dropElement.on('drop', function (event) {
|
| 2092 |
+
event.preventDefault();
|
| 2093 |
+
_this.setDefaultValues();
|
| 2094 |
+
dropElement.removeClass('ai1wm-drag-over');
|
| 2095 |
+
var file = event.originalEvent.dataTransfer.files.item(0);
|
| 2096 |
+
_this.fileSize = file.size;
|
| 2097 |
+
try {
|
| 2098 |
+
_this.onFilesAdded(file);
|
| 2099 |
+
_this.onBeforeUpload(file);
|
| 2100 |
+
_this.upload(file);
|
| 2101 |
+
} catch (exception) {
|
| 2102 |
+
_this.onError(exception);
|
| 2103 |
+
}
|
| 2104 |
+
});
|
| 2105 |
+
};
|
| 2106 |
+
|
| 2107 |
+
FileUploader.prototype.upload = function (file, retries) {
|
| 2108 |
+
var _this2 = this;
|
| 2109 |
+
|
| 2110 |
+
var retries = retries || 0;
|
| 2111 |
+
|
| 2112 |
+
var chunkSize = file.size > ai1wm_uploader.chunk_size ? ai1wm_uploader.chunk_size : file.size;
|
| 2113 |
var formData = this.getFormData(file, chunkSize);
|
| 2114 |
|
| 2115 |
fetch(ai1wm_uploader.url, {
|
| 2240 |
module.exports = FileUploader;
|
| 2241 |
|
| 2242 |
global.Ai1wm = { Util: Util, Import: Import };
|
| 2243 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(50), __webpack_require__(7)))
|
| 2244 |
|
| 2245 |
/***/ }),
|
| 2246 |
+
/* 50 */
|
| 2247 |
/***/ (function(module, exports, __webpack_require__) {
|
| 2248 |
|
| 2249 |
/* WEBPACK VAR INJECTION */(function(global, Promise) {/*** IMPORTS FROM imports-loader ***/
|
| 2715 |
/*** EXPORTS FROM exports-loader ***/
|
| 2716 |
module.exports = global.fetch;
|
| 2717 |
}.call(global));
|
| 2718 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7), __webpack_require__(51)))
|
| 2719 |
|
| 2720 |
/***/ }),
|
| 2721 |
+
/* 51 */
|
| 2722 |
/***/ (function(module, exports, __webpack_require__) {
|
| 2723 |
|
| 2724 |
+
/* WEBPACK VAR INJECTION */(function(global) {/*** IMPORTS FROM imports-loader ***/
|
| 2725 |
(function() {
|
| 2726 |
|
| 2727 |
+
__webpack_require__(52);
|
| 2728 |
+
__webpack_require__(55);
|
| 2729 |
+
__webpack_require__(66);
|
| 2730 |
+
__webpack_require__(70);
|
| 2731 |
+
module.exports = __webpack_require__(12).Promise;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2732 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2733 |
|
| 2734 |
+
/*** EXPORTS FROM exports-loader ***/
|
| 2735 |
+
module.exports = global.Promise;
|
| 2736 |
+
}.call(global));
|
| 2737 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2738 |
|
| 2739 |
+
/***/ }),
|
| 2740 |
+
/* 52 */
|
| 2741 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2742 |
|
| 2743 |
+
"use strict";
|
|
|
|
|
|
|
| 2744 |
|
| 2745 |
+
// 19.1.3.6 Object.prototype.toString()
|
| 2746 |
+
var classof = __webpack_require__(22);
|
| 2747 |
+
var test = {};
|
| 2748 |
+
test[__webpack_require__(1)('toStringTag')] = 'z';
|
| 2749 |
+
if (test + '' != '[object z]') {
|
| 2750 |
+
__webpack_require__(8)(Object.prototype, 'toString', function toString() {
|
| 2751 |
+
return '[object ' + classof(this) + ']';
|
| 2752 |
+
}, true);
|
| 2753 |
}
|
| 2754 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2755 |
|
| 2756 |
+
/***/ }),
|
| 2757 |
+
/* 53 */
|
| 2758 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2759 |
|
| 2760 |
+
module.exports = !__webpack_require__(10) && !__webpack_require__(31)(function () {
|
| 2761 |
+
return Object.defineProperty(__webpack_require__(24)('div'), 'a', { get: function () { return 7; } }).a != 7;
|
| 2762 |
+
});
|
| 2763 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2764 |
|
| 2765 |
+
/***/ }),
|
| 2766 |
+
/* 54 */
|
| 2767 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
| 2768 |
|
| 2769 |
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
| 2770 |
+
var isObject = __webpack_require__(9);
|
| 2771 |
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
| 2772 |
+
// and the second argument - flag - preferred type is a string
|
| 2773 |
+
module.exports = function (it, S) {
|
| 2774 |
+
if (!isObject(it)) return it;
|
| 2775 |
+
var fn, val;
|
| 2776 |
+
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
| 2777 |
+
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
|
| 2778 |
+
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
| 2779 |
+
throw TypeError("Can't convert object to primitive value");
|
| 2780 |
+
};
|
| 2781 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2782 |
|
| 2783 |
+
/***/ }),
|
| 2784 |
+
/* 55 */
|
| 2785 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2786 |
|
| 2787 |
+
"use strict";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2788 |
|
| 2789 |
+
var $at = __webpack_require__(56)(true);
|
| 2790 |
+
|
| 2791 |
+
// 21.1.3.27 String.prototype[@@iterator]()
|
| 2792 |
+
__webpack_require__(33)(String, 'String', function (iterated) {
|
| 2793 |
+
this._t = String(iterated); // target
|
| 2794 |
+
this._i = 0; // next index
|
| 2795 |
+
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
| 2796 |
+
}, function () {
|
| 2797 |
+
var O = this._t;
|
| 2798 |
+
var index = this._i;
|
| 2799 |
+
var point;
|
| 2800 |
+
if (index >= O.length) return { value: undefined, done: true };
|
| 2801 |
+
point = $at(O, index);
|
| 2802 |
+
this._i += point.length;
|
| 2803 |
+
return { value: point, done: false };
|
| 2804 |
+
});
|
| 2805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2806 |
|
| 2807 |
+
/***/ }),
|
| 2808 |
+
/* 56 */
|
| 2809 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
| 2810 |
|
| 2811 |
+
var toInteger = __webpack_require__(25);
|
| 2812 |
+
var defined = __webpack_require__(26);
|
| 2813 |
+
// true -> String#at
|
| 2814 |
+
// false -> String#codePointAt
|
| 2815 |
+
module.exports = function (TO_STRING) {
|
| 2816 |
+
return function (that, pos) {
|
| 2817 |
+
var s = String(defined(that));
|
| 2818 |
+
var i = toInteger(pos);
|
| 2819 |
+
var l = s.length;
|
| 2820 |
+
var a, b;
|
| 2821 |
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
| 2822 |
+
a = s.charCodeAt(i);
|
| 2823 |
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
| 2824 |
+
? TO_STRING ? s.charAt(i) : a
|
| 2825 |
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
| 2826 |
+
};
|
| 2827 |
+
};
|
| 2828 |
|
|
|
|
|
|
|
|
|
|
| 2829 |
|
| 2830 |
+
/***/ }),
|
| 2831 |
+
/* 57 */
|
| 2832 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2833 |
|
| 2834 |
+
"use strict";
|
| 2835 |
|
| 2836 |
+
var create = __webpack_require__(58);
|
| 2837 |
+
var descriptor = __webpack_require__(32);
|
| 2838 |
+
var setToStringTag = __webpack_require__(29);
|
| 2839 |
+
var IteratorPrototype = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2840 |
|
| 2841 |
+
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
| 2842 |
+
__webpack_require__(4)(IteratorPrototype, __webpack_require__(1)('iterator'), function () { return this; });
|
|
|
|
| 2843 |
|
| 2844 |
+
module.exports = function (Constructor, NAME, next) {
|
| 2845 |
+
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
|
| 2846 |
+
setToStringTag(Constructor, NAME + ' Iterator');
|
|
|
|
| 2847 |
};
|
| 2848 |
|
|
|
|
|
|
|
|
|
|
| 2849 |
|
| 2850 |
+
/***/ }),
|
| 2851 |
+
/* 58 */
|
| 2852 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2853 |
|
| 2854 |
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
| 2855 |
+
var anObject = __webpack_require__(3);
|
| 2856 |
+
var dPs = __webpack_require__(59);
|
| 2857 |
+
var enumBugKeys = __webpack_require__(38);
|
| 2858 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
| 2859 |
+
var Empty = function () { /* empty */ };
|
| 2860 |
+
var PROTOTYPE = 'prototype';
|
| 2861 |
+
|
| 2862 |
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
| 2863 |
+
var createDict = function () {
|
| 2864 |
+
// Thrash, waste and sodomy: IE GC bug
|
| 2865 |
+
var iframe = __webpack_require__(24)('iframe');
|
| 2866 |
+
var i = enumBugKeys.length;
|
| 2867 |
+
var lt = '<';
|
| 2868 |
+
var gt = '>';
|
| 2869 |
+
var iframeDocument;
|
| 2870 |
+
iframe.style.display = 'none';
|
| 2871 |
+
__webpack_require__(39).appendChild(iframe);
|
| 2872 |
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
| 2873 |
+
// createDict = iframe.contentWindow.Object;
|
| 2874 |
+
// html.removeChild(iframe);
|
| 2875 |
+
iframeDocument = iframe.contentWindow.document;
|
| 2876 |
+
iframeDocument.open();
|
| 2877 |
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
| 2878 |
+
iframeDocument.close();
|
| 2879 |
+
createDict = iframeDocument.F;
|
| 2880 |
+
while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
|
| 2881 |
+
return createDict();
|
| 2882 |
};
|
| 2883 |
|
| 2884 |
+
module.exports = Object.create || function create(O, Properties) {
|
| 2885 |
+
var result;
|
| 2886 |
+
if (O !== null) {
|
| 2887 |
+
Empty[PROTOTYPE] = anObject(O);
|
| 2888 |
+
result = new Empty();
|
| 2889 |
+
Empty[PROTOTYPE] = null;
|
| 2890 |
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
| 2891 |
+
result[IE_PROTO] = O;
|
| 2892 |
+
} else result = createDict();
|
| 2893 |
+
return Properties === undefined ? result : dPs(result, Properties);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2894 |
};
|
| 2895 |
|
|
|
|
|
|
|
| 2896 |
|
| 2897 |
+
/***/ }),
|
| 2898 |
+
/* 59 */
|
| 2899 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2900 |
+
|
| 2901 |
+
var dP = __webpack_require__(15);
|
| 2902 |
+
var anObject = __webpack_require__(3);
|
| 2903 |
+
var getKeys = __webpack_require__(36);
|
| 2904 |
+
|
| 2905 |
+
module.exports = __webpack_require__(10) ? Object.defineProperties : function defineProperties(O, Properties) {
|
| 2906 |
+
anObject(O);
|
| 2907 |
+
var keys = getKeys(Properties);
|
| 2908 |
+
var length = keys.length;
|
| 2909 |
+
var i = 0;
|
| 2910 |
+
var P;
|
| 2911 |
+
while (length > i) dP.f(O, P = keys[i++], Properties[P]);
|
| 2912 |
+
return O;
|
| 2913 |
};
|
| 2914 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2915 |
|
| 2916 |
+
/***/ }),
|
| 2917 |
+
/* 60 */
|
| 2918 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2919 |
|
| 2920 |
+
var has = __webpack_require__(11);
|
| 2921 |
+
var toIObject = __webpack_require__(27);
|
| 2922 |
+
var arrayIndexOf = __webpack_require__(62)(false);
|
| 2923 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
| 2924 |
+
|
| 2925 |
+
module.exports = function (object, names) {
|
| 2926 |
+
var O = toIObject(object);
|
| 2927 |
+
var i = 0;
|
| 2928 |
+
var result = [];
|
| 2929 |
+
var key;
|
| 2930 |
+
for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
|
| 2931 |
+
// Don't enum bug & hidden keys
|
| 2932 |
+
while (names.length > i) if (has(O, key = names[i++])) {
|
| 2933 |
+
~arrayIndexOf(result, key) || result.push(key);
|
| 2934 |
+
}
|
| 2935 |
+
return result;
|
| 2936 |
+
};
|
| 2937 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2938 |
|
| 2939 |
+
/***/ }),
|
| 2940 |
+
/* 61 */
|
| 2941 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 2942 |
|
| 2943 |
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
| 2944 |
+
var cof = __webpack_require__(14);
|
| 2945 |
+
// eslint-disable-next-line no-prototype-builtins
|
| 2946 |
+
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
| 2947 |
+
return cof(it) == 'String' ? it.split('') : Object(it);
|
| 2948 |
+
};
|
| 2949 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2950 |
|
| 2951 |
+
/***/ }),
|
| 2952 |
+
/* 62 */
|
| 2953 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2954 |
|
| 2955 |
+
// false -> Array#indexOf
|
| 2956 |
+
// true -> Array#includes
|
| 2957 |
+
var toIObject = __webpack_require__(27);
|
| 2958 |
+
var toLength = __webpack_require__(37);
|
| 2959 |
+
var toAbsoluteIndex = __webpack_require__(63);
|
| 2960 |
+
module.exports = function (IS_INCLUDES) {
|
| 2961 |
+
return function ($this, el, fromIndex) {
|
| 2962 |
+
var O = toIObject($this);
|
| 2963 |
+
var length = toLength(O.length);
|
| 2964 |
+
var index = toAbsoluteIndex(fromIndex, length);
|
| 2965 |
+
var value;
|
| 2966 |
+
// Array#includes uses SameValueZero equality algorithm
|
| 2967 |
+
// eslint-disable-next-line no-self-compare
|
| 2968 |
+
if (IS_INCLUDES && el != el) while (length > index) {
|
| 2969 |
+
value = O[index++];
|
| 2970 |
+
// eslint-disable-next-line no-self-compare
|
| 2971 |
+
if (value != value) return true;
|
| 2972 |
+
// Array#indexOf ignores holes, Array#includes - not
|
| 2973 |
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
| 2974 |
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
| 2975 |
+
} return !IS_INCLUDES && -1;
|
| 2976 |
+
};
|
| 2977 |
+
};
|
| 2978 |
|
|
|
|
| 2979 |
|
| 2980 |
+
/***/ }),
|
| 2981 |
+
/* 63 */
|
| 2982 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
| 2983 |
|
| 2984 |
+
var toInteger = __webpack_require__(25);
|
| 2985 |
+
var max = Math.max;
|
| 2986 |
+
var min = Math.min;
|
| 2987 |
+
module.exports = function (index, length) {
|
| 2988 |
+
index = toInteger(index);
|
| 2989 |
+
return index < 0 ? max(index + length, 0) : min(index, length);
|
| 2990 |
+
};
|
| 2991 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2992 |
|
| 2993 |
+
/***/ }),
|
| 2994 |
+
/* 64 */
|
| 2995 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
| 2996 |
|
| 2997 |
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
| 2998 |
+
var has = __webpack_require__(11);
|
| 2999 |
+
var toObject = __webpack_require__(65);
|
| 3000 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
| 3001 |
+
var ObjectProto = Object.prototype;
|
| 3002 |
+
|
| 3003 |
+
module.exports = Object.getPrototypeOf || function (O) {
|
| 3004 |
+
O = toObject(O);
|
| 3005 |
+
if (has(O, IE_PROTO)) return O[IE_PROTO];
|
| 3006 |
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
| 3007 |
+
return O.constructor.prototype;
|
| 3008 |
+
} return O instanceof Object ? ObjectProto : null;
|
| 3009 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3010 |
|
|
|
|
|
|
|
|
|
|
| 3011 |
|
| 3012 |
+
/***/ }),
|
| 3013 |
+
/* 65 */
|
| 3014 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
| 3015 |
|
| 3016 |
+
// 7.1.13 ToObject(argument)
|
| 3017 |
+
var defined = __webpack_require__(26);
|
| 3018 |
+
module.exports = function (it) {
|
| 3019 |
+
return Object(defined(it));
|
| 3020 |
+
};
|
|
|
|
| 3021 |
|
|
|
|
| 3022 |
|
| 3023 |
+
/***/ }),
|
| 3024 |
+
/* 66 */
|
| 3025 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3026 |
|
| 3027 |
+
var $iterators = __webpack_require__(67);
|
| 3028 |
+
var getKeys = __webpack_require__(36);
|
| 3029 |
+
var redefine = __webpack_require__(8);
|
| 3030 |
+
var global = __webpack_require__(2);
|
| 3031 |
+
var hide = __webpack_require__(4);
|
| 3032 |
+
var Iterators = __webpack_require__(13);
|
| 3033 |
+
var wks = __webpack_require__(1);
|
| 3034 |
+
var ITERATOR = wks('iterator');
|
| 3035 |
+
var TO_STRING_TAG = wks('toStringTag');
|
| 3036 |
+
var ArrayValues = Iterators.Array;
|
| 3037 |
+
|
| 3038 |
+
var DOMIterables = {
|
| 3039 |
+
CSSRuleList: true, // TODO: Not spec compliant, should be false.
|
| 3040 |
+
CSSStyleDeclaration: false,
|
| 3041 |
+
CSSValueList: false,
|
| 3042 |
+
ClientRectList: false,
|
| 3043 |
+
DOMRectList: false,
|
| 3044 |
+
DOMStringList: false,
|
| 3045 |
+
DOMTokenList: true,
|
| 3046 |
+
DataTransferItemList: false,
|
| 3047 |
+
FileList: false,
|
| 3048 |
+
HTMLAllCollection: false,
|
| 3049 |
+
HTMLCollection: false,
|
| 3050 |
+
HTMLFormElement: false,
|
| 3051 |
+
HTMLSelectElement: false,
|
| 3052 |
+
MediaList: true, // TODO: Not spec compliant, should be false.
|
| 3053 |
+
MimeTypeArray: false,
|
| 3054 |
+
NamedNodeMap: false,
|
| 3055 |
+
NodeList: true,
|
| 3056 |
+
PaintRequestList: false,
|
| 3057 |
+
Plugin: false,
|
| 3058 |
+
PluginArray: false,
|
| 3059 |
+
SVGLengthList: false,
|
| 3060 |
+
SVGNumberList: false,
|
| 3061 |
+
SVGPathSegList: false,
|
| 3062 |
+
SVGPointList: false,
|
| 3063 |
+
SVGStringList: false,
|
| 3064 |
+
SVGTransformList: false,
|
| 3065 |
+
SourceBufferList: false,
|
| 3066 |
+
StyleSheetList: true, // TODO: Not spec compliant, should be false.
|
| 3067 |
+
TextTrackCueList: false,
|
| 3068 |
+
TextTrackList: false,
|
| 3069 |
+
TouchList: false
|
| 3070 |
+
};
|
| 3071 |
|
| 3072 |
+
for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
|
| 3073 |
+
var NAME = collections[i];
|
| 3074 |
+
var explicit = DOMIterables[NAME];
|
| 3075 |
+
var Collection = global[NAME];
|
| 3076 |
+
var proto = Collection && Collection.prototype;
|
| 3077 |
+
var key;
|
| 3078 |
+
if (proto) {
|
| 3079 |
+
if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
|
| 3080 |
+
if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
|
| 3081 |
+
Iterators[NAME] = ArrayValues;
|
| 3082 |
+
if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
|
| 3083 |
+
}
|
| 3084 |
}
|
| 3085 |
|
|
|
|
|
|
|
|
|
|
| 3086 |
|
| 3087 |
+
/***/ }),
|
| 3088 |
+
/* 67 */
|
| 3089 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
| 3090 |
|
| 3091 |
+
"use strict";
|
|
|
|
| 3092 |
|
| 3093 |
+
var addToUnscopables = __webpack_require__(68);
|
| 3094 |
+
var step = __webpack_require__(69);
|
| 3095 |
+
var Iterators = __webpack_require__(13);
|
| 3096 |
+
var toIObject = __webpack_require__(27);
|
| 3097 |
+
|
| 3098 |
+
// 22.1.3.4 Array.prototype.entries()
|
| 3099 |
+
// 22.1.3.13 Array.prototype.keys()
|
| 3100 |
+
// 22.1.3.29 Array.prototype.values()
|
| 3101 |
+
// 22.1.3.30 Array.prototype[@@iterator]()
|
| 3102 |
+
module.exports = __webpack_require__(33)(Array, 'Array', function (iterated, kind) {
|
| 3103 |
+
this._t = toIObject(iterated); // target
|
| 3104 |
+
this._i = 0; // next index
|
| 3105 |
+
this._k = kind; // kind
|
| 3106 |
+
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
|
| 3107 |
+
}, function () {
|
| 3108 |
+
var O = this._t;
|
| 3109 |
+
var kind = this._k;
|
| 3110 |
+
var index = this._i++;
|
| 3111 |
+
if (!O || index >= O.length) {
|
| 3112 |
+
this._t = undefined;
|
| 3113 |
+
return step(1);
|
| 3114 |
+
}
|
| 3115 |
+
if (kind == 'keys') return step(0, index);
|
| 3116 |
+
if (kind == 'values') return step(0, O[index]);
|
| 3117 |
+
return step(0, [index, O[index]]);
|
| 3118 |
+
}, 'values');
|
| 3119 |
+
|
| 3120 |
+
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
|
| 3121 |
+
Iterators.Arguments = Iterators.Array;
|
| 3122 |
+
|
| 3123 |
+
addToUnscopables('keys');
|
| 3124 |
+
addToUnscopables('values');
|
| 3125 |
+
addToUnscopables('entries');
|
| 3126 |
|
|
|
|
| 3127 |
|
| 3128 |
+
/***/ }),
|
| 3129 |
+
/* 68 */
|
| 3130 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3131 |
|
| 3132 |
+
// 22.1.3.31 Array.prototype[@@unscopables]
|
| 3133 |
+
var UNSCOPABLES = __webpack_require__(1)('unscopables');
|
| 3134 |
+
var ArrayProto = Array.prototype;
|
| 3135 |
+
if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(4)(ArrayProto, UNSCOPABLES, {});
|
| 3136 |
+
module.exports = function (key) {
|
| 3137 |
+
ArrayProto[UNSCOPABLES][key] = true;
|
| 3138 |
+
};
|
| 3139 |
|
| 3140 |
|
| 3141 |
+
/***/ }),
|
| 3142 |
+
/* 69 */
|
| 3143 |
+
/***/ (function(module, exports) {
|
| 3144 |
|
| 3145 |
+
module.exports = function (done, value) {
|
| 3146 |
+
return { value: value, done: !!done };
|
| 3147 |
+
};
|
|
|
|
| 3148 |
|
|
|
|
|
|
|
|
|
|
| 3149 |
|
| 3150 |
+
/***/ }),
|
| 3151 |
+
/* 70 */
|
| 3152 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3153 |
+
|
| 3154 |
+
"use strict";
|
| 3155 |
+
|
| 3156 |
+
var LIBRARY = __webpack_require__(34);
|
| 3157 |
+
var global = __webpack_require__(2);
|
| 3158 |
+
var ctx = __webpack_require__(16);
|
| 3159 |
+
var classof = __webpack_require__(22);
|
| 3160 |
+
var $export = __webpack_require__(35);
|
| 3161 |
+
var isObject = __webpack_require__(9);
|
| 3162 |
+
var aFunction = __webpack_require__(17);
|
| 3163 |
+
var anInstance = __webpack_require__(71);
|
| 3164 |
+
var forOf = __webpack_require__(72);
|
| 3165 |
+
var speciesConstructor = __webpack_require__(76);
|
| 3166 |
+
var task = __webpack_require__(40).set;
|
| 3167 |
+
var microtask = __webpack_require__(78)();
|
| 3168 |
+
var newPromiseCapabilityModule = __webpack_require__(41);
|
| 3169 |
+
var perform = __webpack_require__(79);
|
| 3170 |
+
var promiseResolve = __webpack_require__(80);
|
| 3171 |
+
var PROMISE = 'Promise';
|
| 3172 |
+
var TypeError = global.TypeError;
|
| 3173 |
+
var process = global.process;
|
| 3174 |
+
var $Promise = global[PROMISE];
|
| 3175 |
+
var isNode = classof(process) == 'process';
|
| 3176 |
+
var empty = function () { /* empty */ };
|
| 3177 |
+
var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
|
| 3178 |
+
var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
|
| 3179 |
+
|
| 3180 |
+
var USE_NATIVE = !!function () {
|
| 3181 |
+
try {
|
| 3182 |
+
// correct subclassing with @@species support
|
| 3183 |
+
var promise = $Promise.resolve(1);
|
| 3184 |
+
var FakePromise = (promise.constructor = {})[__webpack_require__(1)('species')] = function (exec) {
|
| 3185 |
+
exec(empty, empty);
|
| 3186 |
+
};
|
| 3187 |
+
// unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
| 3188 |
+
return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;
|
| 3189 |
+
} catch (e) { /* empty */ }
|
| 3190 |
+
}();
|
| 3191 |
+
|
| 3192 |
+
// helpers
|
| 3193 |
+
var isThenable = function (it) {
|
| 3194 |
+
var then;
|
| 3195 |
+
return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
|
| 3196 |
+
};
|
| 3197 |
+
var notify = function (promise, isReject) {
|
| 3198 |
+
if (promise._n) return;
|
| 3199 |
+
promise._n = true;
|
| 3200 |
+
var chain = promise._c;
|
| 3201 |
+
microtask(function () {
|
| 3202 |
+
var value = promise._v;
|
| 3203 |
+
var ok = promise._s == 1;
|
| 3204 |
+
var i = 0;
|
| 3205 |
+
var run = function (reaction) {
|
| 3206 |
+
var handler = ok ? reaction.ok : reaction.fail;
|
| 3207 |
+
var resolve = reaction.resolve;
|
| 3208 |
+
var reject = reaction.reject;
|
| 3209 |
+
var domain = reaction.domain;
|
| 3210 |
+
var result, then;
|
| 3211 |
+
try {
|
| 3212 |
+
if (handler) {
|
| 3213 |
+
if (!ok) {
|
| 3214 |
+
if (promise._h == 2) onHandleUnhandled(promise);
|
| 3215 |
+
promise._h = 1;
|
| 3216 |
+
}
|
| 3217 |
+
if (handler === true) result = value;
|
| 3218 |
+
else {
|
| 3219 |
+
if (domain) domain.enter();
|
| 3220 |
+
result = handler(value);
|
| 3221 |
+
if (domain) domain.exit();
|
| 3222 |
}
|
| 3223 |
+
if (result === reaction.promise) {
|
| 3224 |
+
reject(TypeError('Promise-chain cycle'));
|
| 3225 |
+
} else if (then = isThenable(result)) {
|
| 3226 |
+
then.call(result, resolve, reject);
|
| 3227 |
+
} else resolve(result);
|
| 3228 |
+
} else reject(value);
|
| 3229 |
+
} catch (e) {
|
| 3230 |
+
reject(e);
|
| 3231 |
+
}
|
| 3232 |
+
};
|
| 3233 |
+
while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
|
| 3234 |
+
promise._c = [];
|
| 3235 |
+
promise._n = false;
|
| 3236 |
+
if (isReject && !promise._h) onUnhandled(promise);
|
| 3237 |
+
});
|
| 3238 |
+
};
|
| 3239 |
+
var onUnhandled = function (promise) {
|
| 3240 |
+
task.call(global, function () {
|
| 3241 |
+
var value = promise._v;
|
| 3242 |
+
var unhandled = isUnhandled(promise);
|
| 3243 |
+
var result, handler, console;
|
| 3244 |
+
if (unhandled) {
|
| 3245 |
+
result = perform(function () {
|
| 3246 |
+
if (isNode) {
|
| 3247 |
+
process.emit('unhandledRejection', value, promise);
|
| 3248 |
+
} else if (handler = global.onunhandledrejection) {
|
| 3249 |
+
handler({ promise: promise, reason: value });
|
| 3250 |
+
} else if ((console = global.console) && console.error) {
|
| 3251 |
+
console.error('Unhandled promise rejection', value);
|
| 3252 |
}
|
| 3253 |
+
});
|
| 3254 |
+
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
| 3255 |
+
promise._h = isNode || isUnhandled(promise) ? 2 : 1;
|
| 3256 |
+
} promise._a = undefined;
|
| 3257 |
+
if (unhandled && result.e) throw result.v;
|
|
|
|
|
|
|
|
|
|
| 3258 |
});
|
| 3259 |
+
};
|
| 3260 |
+
var isUnhandled = function (promise) {
|
| 3261 |
+
if (promise._h == 1) return false;
|
| 3262 |
+
var chain = promise._a || promise._c;
|
| 3263 |
+
var i = 0;
|
| 3264 |
+
var reaction;
|
| 3265 |
+
while (chain.length > i) {
|
| 3266 |
+
reaction = chain[i++];
|
| 3267 |
+
if (reaction.fail || !isUnhandled(reaction.promise)) return false;
|
| 3268 |
+
} return true;
|
| 3269 |
+
};
|
| 3270 |
+
var onHandleUnhandled = function (promise) {
|
| 3271 |
+
task.call(global, function () {
|
| 3272 |
+
var handler;
|
| 3273 |
+
if (isNode) {
|
| 3274 |
+
process.emit('rejectionHandled', promise);
|
| 3275 |
+
} else if (handler = global.onrejectionhandled) {
|
| 3276 |
+
handler({ promise: promise, reason: promise._v });
|
| 3277 |
+
}
|
| 3278 |
});
|
| 3279 |
+
};
|
| 3280 |
+
var $reject = function (value) {
|
| 3281 |
+
var promise = this;
|
| 3282 |
+
if (promise._d) return;
|
| 3283 |
+
promise._d = true;
|
| 3284 |
+
promise = promise._w || promise; // unwrap
|
| 3285 |
+
promise._v = value;
|
| 3286 |
+
promise._s = 2;
|
| 3287 |
+
if (!promise._a) promise._a = promise._c.slice();
|
| 3288 |
+
notify(promise, true);
|
| 3289 |
+
};
|
| 3290 |
+
var $resolve = function (value) {
|
| 3291 |
+
var promise = this;
|
| 3292 |
+
var then;
|
| 3293 |
+
if (promise._d) return;
|
| 3294 |
+
promise._d = true;
|
| 3295 |
+
promise = promise._w || promise; // unwrap
|
| 3296 |
+
try {
|
| 3297 |
+
if (promise === value) throw TypeError("Promise can't be resolved itself");
|
| 3298 |
+
if (then = isThenable(value)) {
|
| 3299 |
+
microtask(function () {
|
| 3300 |
+
var wrapper = { _w: promise, _d: false }; // wrap
|
| 3301 |
+
try {
|
| 3302 |
+
then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
|
| 3303 |
+
} catch (e) {
|
| 3304 |
+
$reject.call(wrapper, e);
|
| 3305 |
+
}
|
| 3306 |
+
});
|
| 3307 |
+
} else {
|
| 3308 |
+
promise._v = value;
|
| 3309 |
+
promise._s = 1;
|
| 3310 |
+
notify(promise, false);
|
| 3311 |
+
}
|
| 3312 |
+
} catch (e) {
|
| 3313 |
+
$reject.call({ _w: promise, _d: false }, e); // wrap
|
| 3314 |
}
|
| 3315 |
+
};
|
| 3316 |
|
| 3317 |
+
// constructor polyfill
|
| 3318 |
+
if (!USE_NATIVE) {
|
| 3319 |
+
// 25.4.3.1 Promise(executor)
|
| 3320 |
+
$Promise = function Promise(executor) {
|
| 3321 |
+
anInstance(this, $Promise, PROMISE, '_h');
|
| 3322 |
+
aFunction(executor);
|
| 3323 |
+
Internal.call(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3324 |
try {
|
| 3325 |
+
executor(ctx($resolve, this, 1), ctx($reject, this, 1));
|
| 3326 |
+
} catch (err) {
|
| 3327 |
+
$reject.call(this, err);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3328 |
}
|
| 3329 |
+
};
|
| 3330 |
+
// eslint-disable-next-line no-unused-vars
|
| 3331 |
+
Internal = function Promise(executor) {
|
| 3332 |
+
this._c = []; // <- awaiting reactions
|
| 3333 |
+
this._a = undefined; // <- checked in isUnhandled reactions
|
| 3334 |
+
this._s = 0; // <- state
|
| 3335 |
+
this._d = false; // <- done
|
| 3336 |
+
this._v = undefined; // <- value
|
| 3337 |
+
this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
|
| 3338 |
+
this._n = false; // <- notify
|
| 3339 |
+
};
|
| 3340 |
+
Internal.prototype = __webpack_require__(81)($Promise.prototype, {
|
| 3341 |
+
// 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
|
| 3342 |
+
then: function then(onFulfilled, onRejected) {
|
| 3343 |
+
var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
|
| 3344 |
+
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
| 3345 |
+
reaction.fail = typeof onRejected == 'function' && onRejected;
|
| 3346 |
+
reaction.domain = isNode ? process.domain : undefined;
|
| 3347 |
+
this._c.push(reaction);
|
| 3348 |
+
if (this._a) this._a.push(reaction);
|
| 3349 |
+
if (this._s) notify(this, false);
|
| 3350 |
+
return reaction.promise;
|
| 3351 |
+
},
|
| 3352 |
+
// 25.4.5.1 Promise.prototype.catch(onRejected)
|
| 3353 |
+
'catch': function (onRejected) {
|
| 3354 |
+
return this.then(undefined, onRejected);
|
| 3355 |
}
|
| 3356 |
+
});
|
| 3357 |
+
OwnPromiseCapability = function () {
|
| 3358 |
+
var promise = new Internal();
|
| 3359 |
+
this.promise = promise;
|
| 3360 |
+
this.resolve = ctx($resolve, promise, 1);
|
| 3361 |
+
this.reject = ctx($reject, promise, 1);
|
| 3362 |
+
};
|
| 3363 |
+
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
| 3364 |
+
return C === $Promise || C === Wrapper
|
| 3365 |
+
? new OwnPromiseCapability(C)
|
| 3366 |
+
: newGenericPromiseCapability(C);
|
| 3367 |
+
};
|
| 3368 |
+
}
|
| 3369 |
+
|
| 3370 |
+
$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
|
| 3371 |
+
__webpack_require__(29)($Promise, PROMISE);
|
| 3372 |
+
__webpack_require__(82)(PROMISE);
|
| 3373 |
+
Wrapper = __webpack_require__(12)[PROMISE];
|
| 3374 |
+
|
| 3375 |
+
// statics
|
| 3376 |
+
$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
|
| 3377 |
+
// 25.4.4.5 Promise.reject(r)
|
| 3378 |
+
reject: function reject(r) {
|
| 3379 |
+
var capability = newPromiseCapability(this);
|
| 3380 |
+
var $$reject = capability.reject;
|
| 3381 |
+
$$reject(r);
|
| 3382 |
+
return capability.promise;
|
| 3383 |
+
}
|
| 3384 |
+
});
|
| 3385 |
+
$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
|
| 3386 |
+
// 25.4.4.6 Promise.resolve(x)
|
| 3387 |
+
resolve: function resolve(x) {
|
| 3388 |
+
return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
|
| 3389 |
+
}
|
| 3390 |
+
});
|
| 3391 |
+
$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(83)(function (iter) {
|
| 3392 |
+
$Promise.all(iter)['catch'](empty);
|
| 3393 |
+
})), PROMISE, {
|
| 3394 |
+
// 25.4.4.1 Promise.all(iterable)
|
| 3395 |
+
all: function all(iterable) {
|
| 3396 |
+
var C = this;
|
| 3397 |
+
var capability = newPromiseCapability(C);
|
| 3398 |
+
var resolve = capability.resolve;
|
| 3399 |
+
var reject = capability.reject;
|
| 3400 |
+
var result = perform(function () {
|
| 3401 |
+
var values = [];
|
| 3402 |
+
var index = 0;
|
| 3403 |
+
var remaining = 1;
|
| 3404 |
+
forOf(iterable, false, function (promise) {
|
| 3405 |
+
var $index = index++;
|
| 3406 |
+
var alreadyCalled = false;
|
| 3407 |
+
values.push(undefined);
|
| 3408 |
+
remaining++;
|
| 3409 |
+
C.resolve(promise).then(function (value) {
|
| 3410 |
+
if (alreadyCalled) return;
|
| 3411 |
+
alreadyCalled = true;
|
| 3412 |
+
values[$index] = value;
|
| 3413 |
+
--remaining || resolve(values);
|
| 3414 |
+
}, reject);
|
| 3415 |
+
});
|
| 3416 |
+
--remaining || resolve(values);
|
| 3417 |
});
|
| 3418 |
+
if (result.e) reject(result.v);
|
| 3419 |
+
return capability.promise;
|
| 3420 |
+
},
|
| 3421 |
+
// 25.4.4.4 Promise.race(iterable)
|
| 3422 |
+
race: function race(iterable) {
|
| 3423 |
+
var C = this;
|
| 3424 |
+
var capability = newPromiseCapability(C);
|
| 3425 |
+
var reject = capability.reject;
|
| 3426 |
+
var result = perform(function () {
|
| 3427 |
+
forOf(iterable, false, function (promise) {
|
| 3428 |
+
C.resolve(promise).then(capability.resolve, reject);
|
| 3429 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3430 |
});
|
| 3431 |
+
if (result.e) reject(result.v);
|
| 3432 |
+
return capability.promise;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3433 |
}
|
| 3434 |
+
});
|
| 3435 |
+
|
| 3436 |
+
|
| 3437 |
+
/***/ }),
|
| 3438 |
+
/* 71 */
|
| 3439 |
+
/***/ (function(module, exports) {
|
| 3440 |
+
|
| 3441 |
+
module.exports = function (it, Constructor, name, forbiddenField) {
|
| 3442 |
+
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
| 3443 |
+
throw TypeError(name + ': incorrect invocation!');
|
| 3444 |
+
} return it;
|
| 3445 |
};
|
| 3446 |
|
|
|
|
|
|
|
|
|
|
| 3447 |
|
| 3448 |
+
/***/ }),
|
| 3449 |
+
/* 72 */
|
| 3450 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3451 |
|
| 3452 |
+
var ctx = __webpack_require__(16);
|
| 3453 |
+
var call = __webpack_require__(73);
|
| 3454 |
+
var isArrayIter = __webpack_require__(74);
|
| 3455 |
+
var anObject = __webpack_require__(3);
|
| 3456 |
+
var toLength = __webpack_require__(37);
|
| 3457 |
+
var getIterFn = __webpack_require__(75);
|
| 3458 |
+
var BREAK = {};
|
| 3459 |
+
var RETURN = {};
|
| 3460 |
+
var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
|
| 3461 |
+
var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
|
| 3462 |
+
var f = ctx(fn, that, entries ? 2 : 1);
|
| 3463 |
+
var index = 0;
|
| 3464 |
+
var length, step, iterator, result;
|
| 3465 |
+
if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
|
| 3466 |
+
// fast case for arrays with default iterator
|
| 3467 |
+
if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
|
| 3468 |
+
result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
|
| 3469 |
+
if (result === BREAK || result === RETURN) return result;
|
| 3470 |
+
} else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
|
| 3471 |
+
result = call(iterator, f, step.value, entries);
|
| 3472 |
+
if (result === BREAK || result === RETURN) return result;
|
| 3473 |
+
}
|
| 3474 |
+
};
|
| 3475 |
+
exports.BREAK = BREAK;
|
| 3476 |
+
exports.RETURN = RETURN;
|
| 3477 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3478 |
|
| 3479 |
+
/***/ }),
|
| 3480 |
+
/* 73 */
|
| 3481 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
| 3482 |
|
| 3483 |
+
// call something on iterator step with safe closing on error
|
| 3484 |
+
var anObject = __webpack_require__(3);
|
| 3485 |
+
module.exports = function (iterator, fn, value, entries) {
|
| 3486 |
+
try {
|
| 3487 |
+
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
| 3488 |
+
// 7.4.6 IteratorClose(iterator, completion)
|
| 3489 |
+
} catch (e) {
|
| 3490 |
+
var ret = iterator['return'];
|
| 3491 |
+
if (ret !== undefined) anObject(ret.call(iterator));
|
| 3492 |
+
throw e;
|
| 3493 |
+
}
|
| 3494 |
+
};
|
| 3495 |
|
|
|
|
|
|
|
|
|
|
| 3496 |
|
| 3497 |
+
/***/ }),
|
| 3498 |
+
/* 74 */
|
| 3499 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3500 |
|
| 3501 |
+
// check on default Array iterator
|
| 3502 |
+
var Iterators = __webpack_require__(13);
|
| 3503 |
+
var ITERATOR = __webpack_require__(1)('iterator');
|
| 3504 |
+
var ArrayProto = Array.prototype;
|
| 3505 |
|
| 3506 |
+
module.exports = function (it) {
|
| 3507 |
+
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
| 3508 |
+
};
|
| 3509 |
|
| 3510 |
|
| 3511 |
+
/***/ }),
|
| 3512 |
+
/* 75 */
|
| 3513 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3514 |
+
|
| 3515 |
+
var classof = __webpack_require__(22);
|
| 3516 |
+
var ITERATOR = __webpack_require__(1)('iterator');
|
| 3517 |
+
var Iterators = __webpack_require__(13);
|
| 3518 |
+
module.exports = __webpack_require__(12).getIteratorMethod = function (it) {
|
| 3519 |
+
if (it != undefined) return it[ITERATOR]
|
| 3520 |
+
|| it['@@iterator']
|
| 3521 |
+
|| Iterators[classof(it)];
|
| 3522 |
+
};
|
| 3523 |
+
|
| 3524 |
|
| 3525 |
/***/ }),
|
| 3526 |
+
/* 76 */
|
| 3527 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3528 |
+
|
| 3529 |
+
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
| 3530 |
+
var anObject = __webpack_require__(3);
|
| 3531 |
+
var aFunction = __webpack_require__(17);
|
| 3532 |
+
var SPECIES = __webpack_require__(1)('species');
|
| 3533 |
+
module.exports = function (O, D) {
|
| 3534 |
+
var C = anObject(O).constructor;
|
| 3535 |
+
var S;
|
| 3536 |
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
|
| 3537 |
+
};
|
| 3538 |
+
|
| 3539 |
+
|
| 3540 |
+
/***/ }),
|
| 3541 |
+
/* 77 */
|
| 3542 |
/***/ (function(module, exports) {
|
| 3543 |
|
| 3544 |
+
// fast apply, http://jsperf.lnkit.com/fast-apply/5
|
| 3545 |
+
module.exports = function (fn, args, that) {
|
| 3546 |
+
var un = that === undefined;
|
| 3547 |
+
switch (args.length) {
|
| 3548 |
+
case 0: return un ? fn()
|
| 3549 |
+
: fn.call(that);
|
| 3550 |
+
case 1: return un ? fn(args[0])
|
| 3551 |
+
: fn.call(that, args[0]);
|
| 3552 |
+
case 2: return un ? fn(args[0], args[1])
|
| 3553 |
+
: fn.call(that, args[0], args[1]);
|
| 3554 |
+
case 3: return un ? fn(args[0], args[1], args[2])
|
| 3555 |
+
: fn.call(that, args[0], args[1], args[2]);
|
| 3556 |
+
case 4: return un ? fn(args[0], args[1], args[2], args[3])
|
| 3557 |
+
: fn.call(that, args[0], args[1], args[2], args[3]);
|
| 3558 |
+
} return fn.apply(that, args);
|
| 3559 |
+
};
|
| 3560 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3561 |
|
| 3562 |
+
/***/ }),
|
| 3563 |
+
/* 78 */
|
| 3564 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3565 |
|
| 3566 |
+
var global = __webpack_require__(2);
|
| 3567 |
+
var macrotask = __webpack_require__(40).set;
|
| 3568 |
+
var Observer = global.MutationObserver || global.WebKitMutationObserver;
|
| 3569 |
+
var process = global.process;
|
| 3570 |
+
var Promise = global.Promise;
|
| 3571 |
+
var isNode = __webpack_require__(14)(process) == 'process';
|
| 3572 |
+
|
| 3573 |
+
module.exports = function () {
|
| 3574 |
+
var head, last, notify;
|
| 3575 |
+
|
| 3576 |
+
var flush = function () {
|
| 3577 |
+
var parent, fn;
|
| 3578 |
+
if (isNode && (parent = process.domain)) parent.exit();
|
| 3579 |
+
while (head) {
|
| 3580 |
+
fn = head.fn;
|
| 3581 |
+
head = head.next;
|
| 3582 |
+
try {
|
| 3583 |
+
fn();
|
| 3584 |
+
} catch (e) {
|
| 3585 |
+
if (head) notify();
|
| 3586 |
+
else last = undefined;
|
| 3587 |
+
throw e;
|
| 3588 |
+
}
|
| 3589 |
+
} last = undefined;
|
| 3590 |
+
if (parent) parent.enter();
|
| 3591 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3592 |
|
| 3593 |
+
// Node.js
|
| 3594 |
+
if (isNode) {
|
| 3595 |
+
notify = function () {
|
| 3596 |
+
process.nextTick(flush);
|
| 3597 |
+
};
|
| 3598 |
+
// browsers with MutationObserver
|
| 3599 |
+
} else if (Observer) {
|
| 3600 |
+
var toggle = true;
|
| 3601 |
+
var node = document.createTextNode('');
|
| 3602 |
+
new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
|
| 3603 |
+
notify = function () {
|
| 3604 |
+
node.data = toggle = !toggle;
|
| 3605 |
+
};
|
| 3606 |
+
// environments with maybe non-completely correct, but existent Promise
|
| 3607 |
+
} else if (Promise && Promise.resolve) {
|
| 3608 |
+
var promise = Promise.resolve();
|
| 3609 |
+
notify = function () {
|
| 3610 |
+
promise.then(flush);
|
| 3611 |
+
};
|
| 3612 |
+
// for other environments - macrotask based on:
|
| 3613 |
+
// - setImmediate
|
| 3614 |
+
// - MessageChannel
|
| 3615 |
+
// - window.postMessag
|
| 3616 |
+
// - onreadystatechange
|
| 3617 |
+
// - setTimeout
|
| 3618 |
+
} else {
|
| 3619 |
+
notify = function () {
|
| 3620 |
+
// strange IE + webpack dev server bug - use .call(global)
|
| 3621 |
+
macrotask.call(global, flush);
|
| 3622 |
+
};
|
| 3623 |
+
}
|
| 3624 |
|
| 3625 |
+
return function (fn) {
|
| 3626 |
+
var task = { fn: fn, next: undefined };
|
| 3627 |
+
if (last) last.next = task;
|
| 3628 |
+
if (!head) {
|
| 3629 |
+
head = task;
|
| 3630 |
+
notify();
|
| 3631 |
+
} last = task;
|
| 3632 |
+
};
|
| 3633 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3634 |
|
| 3635 |
|
| 3636 |
+
/***/ }),
|
| 3637 |
+
/* 79 */
|
| 3638 |
+
/***/ (function(module, exports) {
|
| 3639 |
|
| 3640 |
+
module.exports = function (exec) {
|
| 3641 |
+
try {
|
| 3642 |
+
return { e: false, v: exec() };
|
| 3643 |
+
} catch (e) {
|
| 3644 |
+
return { e: true, v: e };
|
| 3645 |
+
}
|
| 3646 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3647 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3648 |
|
| 3649 |
+
/***/ }),
|
| 3650 |
+
/* 80 */
|
| 3651 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3652 |
+
|
| 3653 |
+
var anObject = __webpack_require__(3);
|
| 3654 |
+
var isObject = __webpack_require__(9);
|
| 3655 |
+
var newPromiseCapability = __webpack_require__(41);
|
| 3656 |
+
|
| 3657 |
+
module.exports = function (C, x) {
|
| 3658 |
+
anObject(C);
|
| 3659 |
+
if (isObject(x) && x.constructor === C) return x;
|
| 3660 |
+
var promiseCapability = newPromiseCapability.f(C);
|
| 3661 |
+
var resolve = promiseCapability.resolve;
|
| 3662 |
+
resolve(x);
|
| 3663 |
+
return promiseCapability.promise;
|
| 3664 |
};
|
| 3665 |
|
| 3666 |
+
|
| 3667 |
+
/***/ }),
|
| 3668 |
+
/* 81 */
|
| 3669 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3670 |
+
|
| 3671 |
+
var redefine = __webpack_require__(8);
|
| 3672 |
+
module.exports = function (target, src, safe) {
|
| 3673 |
+
for (var key in src) redefine(target, key, src[key], safe);
|
| 3674 |
+
return target;
|
| 3675 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3676 |
|
|
|
|
| 3677 |
|
| 3678 |
+
/***/ }),
|
| 3679 |
+
/* 82 */
|
| 3680 |
+
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3681 |
|
| 3682 |
+
"use strict";
|
| 3683 |
|
| 3684 |
+
var global = __webpack_require__(2);
|
| 3685 |
+
var dP = __webpack_require__(15);
|
| 3686 |
+
var DESCRIPTORS = __webpack_require__(10);
|
| 3687 |
+
var SPECIES = __webpack_require__(1)('species');
|
| 3688 |
|
| 3689 |
+
module.exports = function (KEY) {
|
| 3690 |
+
var C = global[KEY];
|
| 3691 |
+
if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
|
| 3692 |
+
configurable: true,
|
| 3693 |
+
get: function () { return this; }
|
| 3694 |
+
});
|
| 3695 |
};
|
|
|
|
| 3696 |
|
| 3697 |
|
| 3698 |
/***/ }),
|
| 3699 |
+
/* 83 */
|
| 3700 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 3701 |
+
|
| 3702 |
+
var ITERATOR = __webpack_require__(1)('iterator');
|
| 3703 |
+
var SAFE_CLOSING = false;
|
| 3704 |
+
|
| 3705 |
+
try {
|
| 3706 |
+
var riter = [7][ITERATOR]();
|
| 3707 |
+
riter['return'] = function () { SAFE_CLOSING = true; };
|
| 3708 |
+
// eslint-disable-next-line no-throw-literal
|
| 3709 |
+
Array.from(riter, function () { throw 2; });
|
| 3710 |
+
} catch (e) { /* empty */ }
|
| 3711 |
+
|
| 3712 |
+
module.exports = function (exec, skipClosing) {
|
| 3713 |
+
if (!skipClosing && !SAFE_CLOSING) return false;
|
| 3714 |
+
var safe = false;
|
| 3715 |
+
try {
|
| 3716 |
+
var arr = [7];
|
| 3717 |
+
var iter = arr[ITERATOR]();
|
| 3718 |
+
iter.next = function () { return { done: safe = true }; };
|
| 3719 |
+
arr[ITERATOR] = function () { return iter; };
|
| 3720 |
+
exec(arr);
|
| 3721 |
+
} catch (e) { /* empty */ }
|
| 3722 |
+
return safe;
|
| 3723 |
+
};
|
| 3724 |
|
|
|
|
| 3725 |
|
| 3726 |
/***/ })
|
| 3727 |
/******/ ]);
|
lib/view/assets/javascript/updater.min.js
CHANGED
|
@@ -60,12 +60,12 @@
|
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
/******/ ({
|
| 67 |
|
| 68 |
-
/***/
|
| 69 |
/***/ (function(module, exports, __webpack_require__) {
|
| 70 |
|
| 71 |
"use strict";
|
| 60 |
/******/ __webpack_require__.p = "";
|
| 61 |
/******/
|
| 62 |
/******/ // Load entry module and return exports
|
| 63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 84);
|
| 64 |
/******/ })
|
| 65 |
/************************************************************************/
|
| 66 |
/******/ ({
|
| 67 |
|
| 68 |
+
/***/ 84:
|
| 69 |
/***/ (function(module, exports, __webpack_require__) {
|
| 70 |
|
| 71 |
"use strict";
|
lib/view/backups/index.php
CHANGED
|
@@ -34,7 +34,7 @@
|
|
| 34 |
|
| 35 |
<form action="" method="post" id="ai1wm-backups-form" class="ai1wm-clear">
|
| 36 |
|
| 37 |
-
<?php if ( is_readable( AI1WM_BACKUPS_PATH ) && is_writable( AI1WM_BACKUPS_PATH ) ) :
|
| 38 |
<?php if ( $backups ) : ?>
|
| 39 |
<table class="ai1wm-backups">
|
| 40 |
<thead>
|
|
@@ -49,21 +49,26 @@
|
|
| 49 |
<?php foreach ( $backups as $backup ) : ?>
|
| 50 |
<tr>
|
| 51 |
<td class="ai1wm-column-name">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
<i class="ai1wm-icon-file-zip"></i>
|
| 53 |
-
<?php echo esc_html( $backup['filename'] ); ?>
|
| 54 |
</td>
|
| 55 |
<td class="ai1wm-column-date">
|
| 56 |
<?php echo human_time_diff( $backup['mtime'] ); ?> <?php _e( 'ago', AI1WM_PLUGIN_NAME ); ?>
|
| 57 |
</td>
|
| 58 |
<td class="ai1wm-column-size">
|
| 59 |
-
<?php if ( is_null( $backup['size'] ) ) :
|
| 60 |
<?php _e( '2GB+', AI1WM_PLUGIN_NAME ); ?>
|
| 61 |
<?php else : ?>
|
| 62 |
<?php echo size_format( $backup['size'], 2 ); ?>
|
| 63 |
<?php endif; ?>
|
| 64 |
</td>
|
| 65 |
<td class="ai1wm-column-actions ai1wm-backup-actions">
|
| 66 |
-
<a href="<?php echo
|
| 67 |
<i class="ai1wm-icon-arrow-down ai1wm-icon-alone"></i>
|
| 68 |
<span><?php _e( 'Download', AI1WM_PLUGIN_NAME ); ?></span>
|
| 69 |
</a>
|
|
@@ -80,20 +85,19 @@
|
|
| 80 |
<?php endforeach; ?>
|
| 81 |
</tbody>
|
| 82 |
</table>
|
| 83 |
-
<?php else : ?>
|
| 84 |
-
<div class="ai1wm-backups-empty">
|
| 85 |
-
<p><?php _e( 'There are no backups available at this time, why not create a new one?', AI1WM_PLUGIN_NAME ); ?></p>
|
| 86 |
-
<p>
|
| 87 |
-
<a href="<?php echo network_admin_url( 'admin.php?page=site-migration-export' ); ?>" class="ai1wm-button-green">
|
| 88 |
-
<i class="ai1wm-icon-export"></i>
|
| 89 |
-
<?php _e( 'Create backup', AI1WM_PLUGIN_NAME ); ?>
|
| 90 |
-
</a>
|
| 91 |
-
</p>
|
| 92 |
-
</div>
|
| 93 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
<?php else : ?>
|
| 95 |
-
<br />
|
| 96 |
-
<br />
|
| 97 |
<div class="ai1wm-clear ai1wm-message ai1wm-red-message">
|
| 98 |
<?php
|
| 99 |
printf(
|
|
@@ -110,7 +114,7 @@
|
|
| 110 |
|
| 111 |
<?php do_action( 'ai1wm_backups_left_end' ); ?>
|
| 112 |
|
| 113 |
-
<input type="hidden" name="
|
| 114 |
|
| 115 |
</form>
|
| 116 |
</div>
|
| 34 |
|
| 35 |
<form action="" method="post" id="ai1wm-backups-form" class="ai1wm-clear">
|
| 36 |
|
| 37 |
+
<?php if ( is_readable( AI1WM_BACKUPS_PATH ) && is_writable( AI1WM_BACKUPS_PATH ) ) : ?>
|
| 38 |
<?php if ( $backups ) : ?>
|
| 39 |
<table class="ai1wm-backups">
|
| 40 |
<thead>
|
| 49 |
<?php foreach ( $backups as $backup ) : ?>
|
| 50 |
<tr>
|
| 51 |
<td class="ai1wm-column-name">
|
| 52 |
+
<?php if ( $backup['path'] ) : ?>
|
| 53 |
+
<i class="ai1wm-icon-folder"></i>
|
| 54 |
+
<?php echo esc_html( $backup['path'] ); ?>
|
| 55 |
+
<br />
|
| 56 |
+
<?php endif; ?>
|
| 57 |
<i class="ai1wm-icon-file-zip"></i>
|
| 58 |
+
<?php echo esc_html( basename( $backup['filename'] ) ); ?>
|
| 59 |
</td>
|
| 60 |
<td class="ai1wm-column-date">
|
| 61 |
<?php echo human_time_diff( $backup['mtime'] ); ?> <?php _e( 'ago', AI1WM_PLUGIN_NAME ); ?>
|
| 62 |
</td>
|
| 63 |
<td class="ai1wm-column-size">
|
| 64 |
+
<?php if ( is_null( $backup['size'] ) ) : ?>
|
| 65 |
<?php _e( '2GB+', AI1WM_PLUGIN_NAME ); ?>
|
| 66 |
<?php else : ?>
|
| 67 |
<?php echo size_format( $backup['size'], 2 ); ?>
|
| 68 |
<?php endif; ?>
|
| 69 |
</td>
|
| 70 |
<td class="ai1wm-column-actions ai1wm-backup-actions">
|
| 71 |
+
<a href="<?php echo ai1wm_backup_url( array( 'archive' => esc_attr( $backup['filename'] ) ) ); ?>" class="ai1wm-button-green ai1wm-button-alone ai1wm-backup-download">
|
| 72 |
<i class="ai1wm-icon-arrow-down ai1wm-icon-alone"></i>
|
| 73 |
<span><?php _e( 'Download', AI1WM_PLUGIN_NAME ); ?></span>
|
| 74 |
</a>
|
| 85 |
<?php endforeach; ?>
|
| 86 |
</tbody>
|
| 87 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
<?php endif; ?>
|
| 89 |
+
<div class="ai1wm-backups-create">
|
| 90 |
+
<p class="ai1wm-backups-empty <?php echo $backups ? 'ai1wm-hide' : null; ?>">
|
| 91 |
+
<?php _e( 'There are no backups available at this time, why not create a new one?', AI1WM_PLUGIN_NAME ); ?>
|
| 92 |
+
</p>
|
| 93 |
+
<p>
|
| 94 |
+
<a href="<?php echo network_admin_url( 'admin.php?page=site-migration-export' ); ?>" class="ai1wm-button-green">
|
| 95 |
+
<i class="ai1wm-icon-export"></i>
|
| 96 |
+
<?php _e( 'Create backup', AI1WM_PLUGIN_NAME ); ?>
|
| 97 |
+
</a>
|
| 98 |
+
</p>
|
| 99 |
+
</div>
|
| 100 |
<?php else : ?>
|
|
|
|
|
|
|
| 101 |
<div class="ai1wm-clear ai1wm-message ai1wm-red-message">
|
| 102 |
<?php
|
| 103 |
printf(
|
| 114 |
|
| 115 |
<?php do_action( 'ai1wm_backups_left_end' ); ?>
|
| 116 |
|
| 117 |
+
<input type="hidden" name="ai1wm_manual_restore" value="1" />
|
| 118 |
|
| 119 |
</form>
|
| 120 |
</div>
|
lib/view/common/leave-feedback.php
CHANGED
|
@@ -38,11 +38,14 @@
|
|
| 38 |
</div>
|
| 39 |
<div class="ai1wm-field">
|
| 40 |
<div class="ai1wm-buttons">
|
| 41 |
-
<
|
|
|
|
|
|
|
| 42 |
<i class="ai1wm-icon-paperplane"></i>
|
| 43 |
<?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
|
| 44 |
</button>
|
| 45 |
-
<
|
|
|
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
</div>
|
| 38 |
</div>
|
| 39 |
<div class="ai1wm-field">
|
| 40 |
<div class="ai1wm-buttons">
|
| 41 |
+
<a class="ai1wm-feedback-cancel" id="ai1wm-feedback-cancel" href="#"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
|
| 42 |
+
|
| 43 |
+
<button type="submit" id="ai1wm-feedback-submit" class="ai1wm-button-blue ai1wm-form-submit">
|
| 44 |
<i class="ai1wm-icon-paperplane"></i>
|
| 45 |
<?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
|
| 46 |
</button>
|
| 47 |
+
<span class="spinner"></span>
|
| 48 |
+
<div class="ai1wm-clear"></div>
|
| 49 |
</div>
|
| 50 |
</div>
|
| 51 |
</div>
|
lib/view/common/report-problem.php
CHANGED
|
@@ -17,11 +17,14 @@
|
|
| 17 |
</div>
|
| 18 |
<div class="ai1wm-field">
|
| 19 |
<div class="ai1wm-buttons">
|
| 20 |
-
<
|
|
|
|
|
|
|
| 21 |
<i class="ai1wm-icon-paperplane"></i>
|
| 22 |
<?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
|
| 23 |
</button>
|
| 24 |
-
<
|
|
|
|
| 25 |
</div>
|
| 26 |
</div>
|
| 27 |
</div>
|
| 17 |
</div>
|
| 18 |
<div class="ai1wm-field">
|
| 19 |
<div class="ai1wm-buttons">
|
| 20 |
+
<a href="#" id="ai1wm-report-cancel" class="ai1wm-report-cancel"><?php _e( 'Cancel', AI1WM_PLUGIN_NAME ); ?></a>
|
| 21 |
+
|
| 22 |
+
<button type="submit" id="ai1wm-report-submit" class="ai1wm-button-blue ai1wm-form-submit">
|
| 23 |
<i class="ai1wm-icon-paperplane"></i>
|
| 24 |
<?php _e( 'Send', AI1WM_PLUGIN_NAME ); ?>
|
| 25 |
</button>
|
| 26 |
+
<span class="spinner"></span>
|
| 27 |
+
<div class="ai1wm-clear"></div>
|
| 28 |
</div>
|
| 29 |
</div>
|
| 30 |
</div>
|
lib/view/export/advanced-settings.php
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
</label>
|
| 32 |
</li>
|
| 33 |
|
| 34 |
-
<?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) :
|
| 35 |
<li>
|
| 36 |
<label for="ai1wm-no-inactive-themes">
|
| 37 |
<input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
|
|
@@ -56,7 +56,7 @@
|
|
| 56 |
</label>
|
| 57 |
</li>
|
| 58 |
|
| 59 |
-
<?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) :
|
| 60 |
<li>
|
| 61 |
<label for="ai1wm-no-inactive-plugins">
|
| 62 |
<input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
|
| 31 |
</label>
|
| 32 |
</li>
|
| 33 |
|
| 34 |
+
<?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) : ?>
|
| 35 |
<li>
|
| 36 |
<label for="ai1wm-no-inactive-themes">
|
| 37 |
<input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
|
| 56 |
</label>
|
| 57 |
</li>
|
| 58 |
|
| 59 |
+
<?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) : ?>
|
| 60 |
<li>
|
| 61 |
<label for="ai1wm-no-inactive-plugins">
|
| 62 |
<input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
|
lib/view/export/export-buttons.php
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
</span>
|
| 11 |
</div>
|
| 12 |
<ul class="ai1wm-dropdown-menu ai1wm-export-providers">
|
| 13 |
-
<?php foreach ( apply_filters( 'ai1wm_export_buttons', array() ) as $button ) :
|
| 14 |
<li>
|
| 15 |
<?php echo $button; ?>
|
| 16 |
</li>
|
| 10 |
</span>
|
| 11 |
</div>
|
| 12 |
<ul class="ai1wm-dropdown-menu ai1wm-export-providers">
|
| 13 |
+
<?php foreach ( apply_filters( 'ai1wm_export_buttons', array() ) as $button ) : ?>
|
| 14 |
<li>
|
| 15 |
<?php echo $button; ?>
|
| 16 |
</li>
|
lib/view/import/import-buttons.php
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
<?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ) :
|
| 2 |
<div class="ai1wm-import-messages"></div>
|
| 3 |
|
| 4 |
<div class="ai1wm-import-form">
|
|
@@ -33,7 +33,7 @@
|
|
| 33 |
|
| 34 |
<p>
|
| 35 |
<?php _e( 'Maximum upload file size:' ); ?>
|
| 36 |
-
<?php if ( ( $max_file_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) ) ) :
|
| 37 |
<span class="ai1wm-max-upload-size"><?php echo size_format( $max_file_size ); ?></span>
|
| 38 |
<span class="ai1wm-unlimited-import">
|
| 39 |
<a href="https://servmask.com/products/unlimited-extension" target="_blank" class="ai1wm-label">
|
| 1 |
+
<?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ) : ?>
|
| 2 |
<div class="ai1wm-import-messages"></div>
|
| 3 |
|
| 4 |
<div class="ai1wm-import-form">
|
| 33 |
|
| 34 |
<p>
|
| 35 |
<?php _e( 'Maximum upload file size:' ); ?>
|
| 36 |
+
<?php if ( ( $max_file_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) ) ) : ?>
|
| 37 |
<span class="ai1wm-max-upload-size"><?php echo size_format( $max_file_size ); ?></span>
|
| 38 |
<span class="ai1wm-unlimited-import">
|
| 39 |
<a href="https://servmask.com/products/unlimited-extension" target="_blank" class="ai1wm-label">
|
loader.php
CHANGED
|
@@ -106,6 +106,14 @@ require_once AI1WM_VENDOR_PATH .
|
|
| 106 |
DIRECTORY_SEPARATOR .
|
| 107 |
'class-ai1wm-recursive-exclude-filter.php';
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
require_once AI1WM_VENDOR_PATH .
|
| 110 |
DIRECTORY_SEPARATOR .
|
| 111 |
'servmask' .
|
| 106 |
DIRECTORY_SEPARATOR .
|
| 107 |
'class-ai1wm-recursive-exclude-filter.php';
|
| 108 |
|
| 109 |
+
require_once AI1WM_VENDOR_PATH .
|
| 110 |
+
DIRECTORY_SEPARATOR .
|
| 111 |
+
'servmask' .
|
| 112 |
+
DIRECTORY_SEPARATOR .
|
| 113 |
+
'filter' .
|
| 114 |
+
DIRECTORY_SEPARATOR .
|
| 115 |
+
'class-ai1wm-recursive-newline-filter.php';
|
| 116 |
+
|
| 117 |
require_once AI1WM_VENDOR_PATH .
|
| 118 |
DIRECTORY_SEPARATOR .
|
| 119 |
'servmask' .
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, pimjitsawang
|
|
| 3 |
Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 4.8
|
| 6 |
-
Stable tag: 6.
|
| 7 |
License: GPLv2 or later
|
| 8 |
|
| 9 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
|
@@ -90,6 +90,26 @@ Alternatively you can download the plugin using the download button on this page
|
|
| 90 |
3. Plugin Menu
|
| 91 |
|
| 92 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
= 6.55 =
|
| 94 |
**Added**
|
| 95 |
|
| 3 |
Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
|
| 4 |
Requires at least: 3.3
|
| 5 |
Tested up to: 4.8
|
| 6 |
+
Stable tag: 6.56
|
| 7 |
License: GPLv2 or later
|
| 8 |
|
| 9 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
| 90 |
3. Plugin Menu
|
| 91 |
|
| 92 |
== Changelog ==
|
| 93 |
+
= 6.56 =
|
| 94 |
+
**Added**
|
| 95 |
+
|
| 96 |
+
* Symlink directories on export
|
| 97 |
+
* Support sub directories on Backups page
|
| 98 |
+
* A cancel button on import confirm step
|
| 99 |
+
|
| 100 |
+
**Fixed**
|
| 101 |
+
|
| 102 |
+
* Support IE11
|
| 103 |
+
* Wrong blogs.dir URL replacement
|
| 104 |
+
* Wrong path network drive replacement (Windows)
|
| 105 |
+
* Text placeholders of first find/replace inputs on export
|
| 106 |
+
|
| 107 |
+
**Changed**
|
| 108 |
+
|
| 109 |
+
* Added loading indicator to feedback and report a problem forms
|
| 110 |
+
* Do not clear cache on export
|
| 111 |
+
* Skip files that contain new line on export
|
| 112 |
+
|
| 113 |
= 6.55 =
|
| 114 |
**Added**
|
| 115 |
|
